diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000000..f061be0e27d --- /dev/null +++ b/.gitignore @@ -0,0 +1,94 @@ +doc/all_Doxyfile +doc/auto_Doxyfile +doc/core_Doxyfile +doc/openscenegraph.doxyfile +doc/openthreads.doxyfile + +doc/OpenSceneGraphReferenceDocs/ +doc/OpenThreadsReferenceDocs/ + +cmake_uninstall.cmake + +include/OpenThreads/Config +include/OpenThreads/Version +include/osg/Config +include/osg/GL +include/osg/Version +include/osgQt/Version +src/osgQt/__ + +lib/ +bin/ + +*.pc +*.conf +CMakeCache.txt +CMakeFiles +CMakeScripts +Makefile +cmake_install.cmake +install_manifest*.txt + + +# Compiled Object files +*.slo +*.lo +*.o +*.obj + +# Precompiled Headers +*.gch +*.pch + +# Compiled Dynamic libraries +*.so +*.dylib +*.dll + +# Fortran module files +*.mod + +# Compiled Static libraries +*.lai +*.la +*.a +*.lib + +# Executables +*.exe +*.out +*.app + +# Platform Specifics - auto generated files +PlatformSpecifics/Windows/*.rc + +# Visual studio - project files +*.sln +*.suo +*.vcxproj +*.vcxproj.filters +*.vcxproj.user + +# Visual Studio - Build Results +[Dd]ebug/ +[Rr]elease/ +[Mm]in[Ss]ize[Rr]el/ +[Rr]el[Ww]ith[Dd]eb[Ii]nfo/ + +# Visual Studio - Browsing Database File +*.sdf +*.opensdf + +#osx xcode +DerivedData/ +*.DS_Store +*.build +*.xcodeproj + +#CPACK related files +CPackConfig-*.cmake +_CPack_Packages/ + +#packages +*.tar.gz +*.zip diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000000..56a730cb483 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,36 @@ +matrix: + fast_finish: true + include: + #Linux build + - os: linux + dist: trusty + language: cpp + env: + #- LLVM_VERSION=3.8 + sudo: false + cache: + apt: true + directories: + - $HOME/.ccache + compiler: + #- clang + - g++ + addons: + apt: + sources: + #- llvm-toolchain-precise-3.8 + - ubuntu-toolchain-r-test + packages: + #- clang-3.8 + - g++ + - cmake +# # OSX build +# - os: osx +# language: cpp + +script: + - mkdir build + - cd build + - travis_wait 60 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../product -DBUILD_OSG_EXAMPLES=ON .. + - make install -j3 + diff --git a/AUTHORS.txt b/AUTHORS.txt index 04d27767aff..aca5f64308e 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -1,11 +1,10 @@ -OpenSceneGraph Library 3.3.9 +OpenSceneGraph Library 3.4.1 -548 Contributors: +562 Contributors: Firstname Surname ----------------- Robert Osfield -Don Burns Stephan Huber Paul Martz Farshid Lashkari @@ -20,38 +19,41 @@ Eric Wing Cedric Pinson Brede Johansen Bob Kuehne +Wojciech Lewandowski Michael Platings Geoff Michel -Wojciech Lewandowski Eric Sokolowsky -David Callu Laurens Voerman +David Callu Colin McDonald Trajce Nikolov Tim Moore Martin Lavery Mattias Helsing -Tree Jason Beverage -Luigi Calori +Tree Pjotr Svetachov +Luigi Calori +Alberto Luaces Mike Wittman Jan Peciva Chris Hanson -Alberto Luaces Roland Smeenk Roger James Jeremy Moles +Jannik Heller J.P. Delport +Andy Skinner Magnus Kessler David Fries -Andy Skinner Tom Jolley Paul Melis Luc Frauciel Aurelien Albert Pavel Moloshtan Brad Christiansen +Torben Dannhauer +Terry Welsh Olaf Flebbe Mathieu Marache Lionel Lagarde @@ -61,36 +63,33 @@ Philip Lowman Per Fahlberg Norman Vine Chris Denham -Terry Welsh +Sherman Wilcox Serge Lages Romano Jos Magacho da Silva -Jannik Heller -Alberto Farre -Torben Dannhauer -Sherman Wilcox -Robert Michael Mourad Boufarguine +Alberto Farre +Glenn Waldron Andr Garneau Adrian Egli -Ruben Lopez +Sebastian Messerschmidt Randall Hopper +Kristofer Tingdahl Jan Ciger -Glenn Waldron -Sebastian Messerschmidt +Ruben Lopez +Robert Michael Gideon May Don Tidrow Stephane Lamoliatte Michael Gronager Martin Naylor -Kristofer Tingdahl Joakim Simonsson David Spilling Daniel Sjlie Bryan Thrall +Andreas Ekstrand Rafa Gaitan Mike Connell Fabien Lavignotte -Andreas Ekstrand Thomas Hogarth Riccardo Corsi Melchior Franz @@ -99,9 +98,9 @@ Johannes Baeuerle Neil Hughes Martin Beckett Marc Helbling +Jordi Torres Joran Jessurun Gino van den Bergen -Frederic Marmond David Guthrie Csaba Halasz Cory Riddell @@ -111,21 +110,21 @@ 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 Thibault Genessay Sasa Bistrovic -Ravi Mathur Ralf Habacker Neil Groves Mikhail Izmestev @@ -133,8 +132,10 @@ Markus Trenkwalder Loic Dachary Joseph Steel John Shue +Hartwig Wiesmann Brad Colbert -Bjrn Blissing +Ben Discoe +Vladimir Chebaev Vivek Rajan Uwe Woessner Tony Horrobin @@ -154,9 +155,9 @@ Martins Innus Maciej Krol Lilin Xiong Leandro Motta Barros +Julien Valentin Johan Nouvel Javier Taibo -Hartwig Wiesmann Donn Mielcarek Corbin Holtz Blasius Czink @@ -167,7 +168,6 @@ Rudolf Wiedemann Maria Ten Liang Aibin Katharina Plugge -Julien Valentin John Vidar Larring John Kelso John Ivar @@ -182,10 +182,9 @@ Bradley Anderegg Andreas Goebel Alok Priyadarshi Ali Botorabi -Alberto Barbati Alan Dickinson +Wee See Vladimir Shabanov -Vladimir Chebaev Tugkan Calapoglu Tim Daoust Sylvain Marie @@ -196,8 +195,10 @@ Ryan Pavlik Robert Milharcic Rene Molenaar Piotr Domagalski +Philippe Renon Phil Atkin Pawel Ksiezopolski +Patrick Neary Nathan Monteleone Miha Ravelj Miguel Escriva @@ -225,6 +226,7 @@ Fabio Mierlo Doug McCorkle Donald Cipperly Don Leich +Don Burns Dietmar Funck Colin Cochran Christian Ruzicka @@ -239,9 +241,9 @@ Andreas Henne Anders Backman Alexander Wiebel Alessandro Terenzi +Alberto Barbati Zach Deedler Yuzhong Shen -Wee See Warren Macchi Vincent Bourdier Terrex @@ -256,7 +258,6 @@ Raymond de Vries Ralf Kern Piotr Gwiazdowski Pierre Haritchabalet -Philippe Renon Perry Miller Paul Palumbo Paul Obermeier @@ -267,7 +268,6 @@ Morn Michael Mc Donnell Michael Henheffer Michael Guerrero -Maya Leonard Max Bandazian Mathias Fiedler Mathew May @@ -301,7 +301,6 @@ Giampaolo Vigan Gerrick Bivins George Tarantilis Ferdi Smit -Eric Buehler Eduardo Poyart Edgar Ellis Dmitry Marakasov @@ -317,6 +316,7 @@ Christian Kehl Bradley Baker Searles Brad Anderegg Aric Aumann +Anish Thomas Andrew Sampson Andrew Lorino Alexandre Amalric @@ -339,6 +339,8 @@ Valeriy Dubov Vaclav Bilek Tyge Lvset Troy Yee +Torben Dannahauer +Tony Vasile Tomas Hogarth Tomas Hnilica Todd Furlong @@ -361,6 +363,7 @@ Shane Arnott Sergey Kurdakov Sebastien Kuntz Ruth Lang +Ruben The Ruben Smelik Ross Anderson Ronny Krueger @@ -402,12 +405,14 @@ Oren Fromberg Oliver Neumann Ole-Morten Duesund Nicolas Brodu +Nick Thu Nick Black Mojtaba Fathi Mirko Viviani Mikkel Gjl Mike Krus Mike Garrity +Mick Thu Michal Durkovic Michael Schanne Michael Polak @@ -415,6 +420,8 @@ Michael Morrison Michael Logan Michael Kapelko Michael Bach Jensen +Maya Thu +Maya Leonard Max Rhiener Max Behensky Mauricio Hofmam @@ -431,9 +438,9 @@ Martin Beck Marius Kintel Mario Guimaraes Marcus Hein +Marco Thu Marco Sciabica Marco Lehmann -Maik Keller Lukas Diduch Louis Hamilton Likasz Izebski @@ -455,11 +462,14 @@ Juan Hernando Josh Portway Jonathan Greig John Tan +John Hedström John Grant +John Farrier John Donovan John Davis John Cummings John Argentieri +Joe Thompson Joan Abadie Jim Brooks Jeroen den Dekker @@ -478,8 +488,10 @@ Hartmut Seichter Gunter Huber Gregory Jaegy Graeme Harkness +Github It Gian Lorenzetto George Papagiannakis +Geoff Thu Galen Faidley Frida Schlaug Frederic Smith @@ -494,6 +506,8 @@ Ferdinand Cornelissen Fajran Iman Fabien Dachicourt Erik Johnson +Eric Thu +Eric Buehler Eduardo Alberto Edmond Gheury Ed Ralston @@ -509,6 +523,7 @@ Daniel Stien Dan Minor Csar L. B. Silveira Cyril Brulebois +Cory Slep Clment Bsch Clay Fowler Claus Steuer @@ -524,8 +539,8 @@ Carlos Garcea Bryce Eldridge Bruno Herbelin Brian Keener +Brede Thu Brandon Hamm -Bora Utka Bill Prendergast Bernardt Duvenhage Benoit Laniel @@ -535,7 +550,6 @@ Bart Gallet Axel Volley Arjun Ramamurthy Anthousis Andreadis -Anish Thomas Andy Preece Andrew Reyonolds Andreas Roth diff --git a/CMakeLists.txt b/CMakeLists.txt index 6719cbf9e32..74f7d32da1d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,15 +1,7 @@ set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE) set_property(GLOBAL PROPERTY USE_FOLDERS ON) -IF(WIN32) - CMAKE_MINIMUM_REQUIRED(VERSION 2.4.6 FATAL_ERROR) -ELSE(WIN32) - IF(APPLE) - CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0 FATAL_ERROR) - ELSE(APPLE) - CMAKE_MINIMUM_REQUIRED(VERSION 2.4.4 FATAL_ERROR) - ENDIF(APPLE) -ENDIF(WIN32) +CMAKE_MINIMUM_REQUIRED(VERSION 2.8.0 FATAL_ERROR) if(COMMAND cmake_policy) # Works around warnings libraries linked against that don't @@ -36,12 +28,6 @@ if(COMMAND cmake_policy) cmake_policy(SET CMP0008 OLD) endif() - # disable autolinking to qtmain as we have our own main() functions (new in Qt 5.1) - if(${CMAKE_MAJOR_VERSION} GREATER 2 OR - (${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} GREATER 8) OR - (${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 8 AND ${CMAKE_PATCH_VERSION} GREATER 10)) - cmake_policy(SET CMP0020 OLD) - endif() # nicer version check - but needs at least CMake 2.6.2? Worth upgrading the requirements? #if("${CMAKE_VERSION}" VERSION_GREATER 2.8.10) # or even easier (available in cmake-2.6) @@ -53,12 +39,12 @@ PROJECT(OpenSceneGraph) SET(OPENSCENEGRAPH_MAJOR_VERSION 3) SET(OPENSCENEGRAPH_MINOR_VERSION 4) -SET(OPENSCENEGRAPH_PATCH_VERSION 0) -SET(OPENSCENEGRAPH_SOVERSION 130) +SET(OPENSCENEGRAPH_PATCH_VERSION 2) +SET(OPENSCENEGRAPH_SOVERSION 133) # set to 0 when not a release candidate, non zero means that any generated -# svn tags will be treated as release candidates of given number -SET(OPENSCENEGRAPH_RELEASE_CANDIDATE 1) +# git tags will be treated as release candidates of given number +SET(OPENSCENEGRAPH_RELEASE_CANDIDATE 0) SET(OPENSCENEGRAPH_VERSION ${OPENSCENEGRAPH_MAJOR_VERSION}.${OPENSCENEGRAPH_MINOR_VERSION}.${OPENSCENEGRAPH_PATCH_VERSION}) @@ -114,27 +100,15 @@ IF(CMAKE_SYSTEM MATCHES IRIX) SET(CMAKE_THREAD_LIBS_INIT "" CACHE INTERNAL "") ENDIF() -OPTION(OSG_MAINTAINER "Enable OpenSceneGraph maintainer build methods, such as making svn branches, tags, updating ChangeLog." OFF) +OPTION(OSG_MAINTAINER "Enable OpenSceneGraph maintainer build methods, such as making git branches, tags, updating ChangeLog." OFF) IF (OSG_MAINTAINER) - SET(OPENSCENEGRAPH_SVN "trunk") - #SET(OPENSCENEGRAPH_SVN "branches") SET(OPENSCENEGRAPH_BRANCH OpenSceneGraph-${OPENSCENEGRAPH_MAJOR_VERSION}.${OPENSCENEGRAPH_MINOR_VERSION}) # # Provide target for tagging a release # - SET(SVNCOMMAND svn) - SET(SVNTRUNKDIR http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk) - SET(SVNTAGDIR http://svn.openscenegraph.org/osg/OpenSceneGraph/tags) - SET(SVNBRANCHDIR http://svn.openscenegraph.org/osg/OpenSceneGraph/branches) - - IF (OPENSCENEGRAPH_SVN STREQUAL "trunk") - SET(SVNSOURCEDIR ${SVNTRUNKDIR}) - ELSE() - SET(SVNSOURCEDIR ${SVNBRANCHDIR}/${OPENSCENEGRAPH_BRANCH}) - ENDIF() - + SET(GITCOMMAND git) IF (OPENSCENEGRAPH_RELEASE_CANDIDATE EQUAL 0) SET(RELEASE_NAME OpenSceneGraph-${OPENSCENEGRAPH_VERSION}) @@ -142,31 +116,38 @@ IF (OSG_MAINTAINER) SET(RELEASE_NAME OpenSceneGraph-${OPENSCENEGRAPH_VERSION}-rc${OPENSCENEGRAPH_RELEASE_CANDIDATE}) ENDIF() + SET(RELEASE_MESSAGE "Release ${RELEASE_NAME}") + SET(BRANCH_MESSAGE "Branch ${OPENSCENEGRAPH_BRANCH}") + ADD_CUSTOM_TARGET(tag-test - COMMAND echo ${SVNCOMMAND} copy ${SVNSOURCEDIR} ${SVNTAGDIR}/${RELEASE_NAME} -m "Release ${RELEASE_NAME}" + COMMAND echo ${GITCOMMAND} tag -a ${RELEASE_NAME} -m ${RELEASE_MESSAGE} + COMMAND echo ${GITCOMMAND} push origin ${RELEASE_NAME} ) ADD_CUSTOM_TARGET(tag-run - COMMAND ${SVNCOMMAND} copy ${SVNSOURCEDIR} ${SVNTAGDIR}/${RELEASE_NAME} -m "Release ${RELEASE_NAME}" + COMMAND ${GITCOMMAND} tag -a ${RELEASE_NAME} -m ${RELEASE_MESSAGE} + COMMAND ${GITCOMMAND} push origin ${RELEASE_NAME} ) ADD_CUSTOM_TARGET(branch-test - COMMAND echo ${SVNCOMMAND} copy ${SVNSOURCEDIR} ${SVNBRANCHDIR}/${OPENSCENEGRAPH_BRANCH} -m "Branch ${OPENSCENEGRAPH_BRANCH}" + COMMAND echo ${GITCOMMAND} branch ${OPENSCENEGRAPH_BRANCH} -m ${BRANCH_MESSAGE} + COMMAND echo ${GITCOMMAND} push origin ${OPENSCENEGRAPH_BRANCH} ) ADD_CUSTOM_TARGET(branch-run - COMMAND ${SVNCOMMAND} copy ${SVNSOURCEDIR} ${SVNBRANCHDIR}/${OPENSCENEGRAPH_BRANCH} -m "Branch ${OPENSCENEGRAPH_BRANCH}" + COMMAND ${GITCOMMAND} branch ${OPENSCENEGRAPH_BRANCH} -m ${BRANCH_MESSAGE} + COMMAND ${GITCOMMAND} push origin ${OPENSCENEGRAPH_BRANCH} ) # # Provide target for generating ChangeLog # - SET(GENERATELOGS svn2cl) + SET(GITLOGFORMAT "%aD%nChecked in by : %an%n%s%b%n") + SET(GENERATELOGS git log --pretty=format:${GITLOGFORMAT}) ADD_CUSTOM_TARGET(ChangeLog - COMMAND ${SVNCOMMAND} update - COMMAND ${GENERATELOGS} ${SVNSOURCEDIR} + COMMAND ${GENERATELOGS} > ChangeLog ) ENDIF(OSG_MAINTAINER) @@ -255,16 +236,15 @@ IF(UNIX AND NOT ANDROID) ENDIF() -INCLUDE_DIRECTORIES( - ${OpenSceneGraph_SOURCE_DIR}/include - ${OPENGL_INCLUDE_DIR} -) +INCLUDE_DIRECTORIES(${OpenSceneGraph_SOURCE_DIR}/include/) # Make the headers visible to everything IF(NOT ${PROJECT_BINARY_DIR} EQUAL ${PROJECT_SOURCE_DIR}) INCLUDE_DIRECTORIES(${PROJECT_BINARY_DIR}/include) ENDIF() +INCLUDE_DIRECTORIES(SYSTEM ${OPENGL_INCLUDE_DIR}) + # Common global definitions #ADD_DEFINITIONS(-D) # Platform specific definitions @@ -398,11 +378,12 @@ ENDIF() OPTION(OSG_DISABLE_MSVC_WARNINGS "Set to OFF to not disable MSVC warnings generated by OSG headers." ON) MARK_AS_ADVANCED(OSG_DISABLE_MSVC_WARNINGS) +OPTION(OSG_PROVIDE_READFILE "Set to ON for include/osgDB/ReadFile to provide the osgDB::read*File(() methods. " ON) OPTION(OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION "Set to ON to use the ref_ptr<> T* operator() output conversion. " ON) # Map the OPENGL_PROFILE to OSG_GL*_AVAILABLE settings -SET(OPENGL_PROFILE "GL2" CACHE STRING "OpenGL Profile to use, choose from GL2, GL3, GLES1, GLES2, GLES3") +SET(OPENGL_PROFILE "GL2" CACHE STRING "OpenGL Profile to use, choose from GL1, GL2, GL3, GLES1, GLES2, GLES3") IF ((OPENGL_PROFILE STREQUAL "GL1") OR (OPENGL_PROFILE STREQUAL "GL2")) OPTION(OSG_GL1_AVAILABLE "Set to OFF to disable use of OpenGL 1.x functions library." ON ) @@ -519,39 +500,39 @@ ELSE() ENDIF() IF (OSG_GL1_AVAILABLE) - SET(OSG_GL1_FEATURES "true") + SET(OSG_GL1_FEATURES 1) ELSE() - SET(OSG_GL1_FEATURES "false") + SET(OSG_GL1_FEATURES 0) ENDIF() IF (OSG_GL2_AVAILABLE) - SET(OSG_GL2_FEATURES "true") + SET(OSG_GL2_FEATURES 1) ELSE() - SET(OSG_GL2_FEATURES "false") + SET(OSG_GL2_FEATURES 0) ENDIF() IF (OSG_GL3_AVAILABLE) - SET(OSG_GL3_FEATURES "true") + SET(OSG_GL3_FEATURES 1) ELSE() - SET(OSG_GL3_FEATURES "false") + SET(OSG_GL3_FEATURES 0) ENDIF() IF (OSG_GLES1_AVAILABLE) - SET(OSG_GLES1_FEATURES "true") + SET(OSG_GLES1_FEATURES 1) ELSE() - SET(OSG_GLES1_FEATURES "false") + SET(OSG_GLES1_FEATURES 0) ENDIF() IF (OSG_GLES2_AVAILABLE) - SET(OSG_GLES2_FEATURES "true") + SET(OSG_GLES2_FEATURES 1) ELSE() - SET(OSG_GLES2_FEATURES "false") + SET(OSG_GLES2_FEATURES 0) ENDIF() IF (OSG_GLES3_AVAILABLE) - SET(OSG_GLES3_FEATURES "true") + SET(OSG_GLES3_FEATURES 1) ELSE() - SET(OSG_GLES3_FEATURES "false") + SET(OSG_GLES3_FEATURES 0) ENDIF() IF(ANDROID) @@ -574,12 +555,33 @@ ENDIF() ################################################################################ -# Set Config/OpenGL header file +# Set Config header file SET(OPENSCENEGRAPH_CONFIG_HEADER "${PROJECT_BINARY_DIR}/include/osg/Config") CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/src/osg/Config.in" "${OPENSCENEGRAPH_CONFIG_HEADER}") + +################################################################################ +# Set OpenGL header file + +INCLUDE (CheckCXXSourceCompiles) +#SET(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${OPENGL_INCLUDE_DIR}) + +check_cxx_source_compiles( + "${OPENGL_HEADER1} + ${OPENGL_HEADER2} + int main() { GLint64 test; return 0; }" + GL_HEADER_HAS_GLINT64 +) + +check_cxx_source_compiles( + "${OPENGL_HEADER1} + ${OPENGL_HEADER2} + int main() { GLuint64 test; return 0; }" + GL_HEADER_HAS_GLUINT64 +) + SET(OPENSCENEGRAPH_OPENGL_HEADER "${PROJECT_BINARY_DIR}/include/osg/GL") CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/src/osg/GL.in" "${OPENSCENEGRAPH_OPENGL_HEADER}") @@ -588,7 +590,7 @@ CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/src/osg/GL.in" ################################################################################ -# Set Vertsion header file +# Set Version header file SET(OPENSCENEGRAPH_VERSION_HEADER "${PROJECT_BINARY_DIR}/include/osg/Version") CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/src/osg/Version.in" @@ -661,7 +663,6 @@ ELSE() ENDIF() FIND_PACKAGE(ZeroConf) - FIND_PACKAGE(Boost) # used by LIBLAS FIND_PACKAGE(LIBLAS) IF (NOT(OSG_USE_LOCAL_LUA_SOURCE)) @@ -692,11 +693,11 @@ IF(OSG_USE_QT AND NOT ANDROID) IF (DESIRED_QT_VERSION) IF (DESIRED_QT_VERSION MATCHES 5) - FIND_PACKAGE(Qt5Widgets) + FIND_PACKAGE(Qt5Widgets) ELSEIF (DESIRED_QT_VERSION MATCHES 4) - FIND_PACKAGE(Qt4) + FIND_PACKAGE(Qt4) ELSE() - FIND_PACKAGE(Qt3) + FIND_PACKAGE(Qt3) ENDIF() ELSE() @@ -728,6 +729,13 @@ IF(OSG_USE_QT AND NOT ANDROID) #If we have found Qt5, let's try to top off by getting the webkit as well IF ( Qt5Widgets_FOUND ) FIND_PACKAGE(Qt5WebKitWidgets QUIET) + + IF(COMMAND cmake_policy) + IF(${CMAKE_MAJOR_VERSION} GREATER 2) + # Qt5 qt5_use_modules usage was causing "Policy CMP0043 is not set: Ignore COMPILE_DEFINITIONS_ properties." warnings + cmake_policy(SET CMP0043 NEW) + ENDIF() + ENDIF() ENDIF() ENDIF() diff --git a/CMakeModules/Find3rdPartyDependencies.cmake b/CMakeModules/Find3rdPartyDependencies.cmake index 29adf6ee046..6f42405ddc1 100644 --- a/CMakeModules/Find3rdPartyDependencies.cmake +++ b/CMakeModules/Find3rdPartyDependencies.cmake @@ -9,19 +9,19 @@ MACRO(FIND_DEPENDENCY DEPNAME INCLUDEFILE LIBRARY_NAMES_BASE SEARCHPATHLIST DEBU SET(MY_PATH_INCLUDE ) SET(MY_PATH_LIB ) - + FOREACH( MYPATH ${SEARCHPATHLIST} ) SET(MY_PATH_INCLUDE ${MY_PATH_INCLUDE} ${MYPATH}/include) SET(MY_PATH_LIB ${MY_PATH_LIB} ${MYPATH}/lib) ENDFOREACH( MYPATH ${SEARCHPATHLIST} ) - + FIND_PATH("${DEPNAME}_INCLUDE_DIR" ${INCLUDEFILE} ${MY_PATH_INCLUDE} NO_DEFAULT_PATH ) MARK_AS_ADVANCED("${DEPNAME}_INCLUDE_DIR") #MESSAGE( " ${DEPNAME}_INCLUDE_DIR --> ${${DEPNAME}_INCLUDE_DIR}<--") - + SET(LIBRARY_NAMES "") FOREACH(LIBNAME ${LIBRARY_NAMES_BASE}) LIST(APPEND LIBRARY_NAMES "${LIBNAME}${EXSUFFIX}") @@ -35,7 +35,7 @@ MACRO(FIND_DEPENDENCY DEPNAME INCLUDEFILE LIBRARY_NAMES_BASE SEARCHPATHLIST DEBU FOREACH(LIBNAME ${LIBRARY_NAMES_BASE}) LIST(APPEND LIBRARY_NAMES_DEBUG "${LIBNAME}${DEBUGSUFFIX}${EXSUFFIX}") ENDFOREACH(LIBNAME) - FIND_LIBRARY("${DEPNAME}_LIBRARY_DEBUG" + FIND_LIBRARY("${DEPNAME}_LIBRARY_DEBUG" NAMES ${LIBRARY_NAMES_DEBUG} PATHS ${MY_PATH_LIB} NO_DEFAULT_PATH @@ -49,7 +49,13 @@ MACRO(FIND_DEPENDENCY DEPNAME INCLUDEFILE LIBRARY_NAMES_BASE SEARCHPATHLIST DEBU MESSAGE("-- Warning Debug ${DEPNAME} not found, using: ${${DEPNAME}_LIBRARY}") SET(${DEPNAME}_LIBRARY_DEBUG "${${DEPNAME}_LIBRARY}") ENDIF(NOT ${DEPNAME}_LIBRARY_DEBUG) + + SET(${DEPNAME}_LIBRARIES debug ${${DEPNAME}_LIBRARY_DEBUG} optimized ${${DEPNAME}_LIBRARY} ) + ENDIF(${DEPNAME}_INCLUDE_DIR AND ${DEPNAME}_LIBRARY) + + + ENDMACRO(FIND_DEPENDENCY DEPNAME INCLUDEFILE LIBRARY_NAMES_BASE SEARCHPATHLIST DEBUGSUFFIX) @@ -58,21 +64,21 @@ ENDMACRO(FIND_DEPENDENCY DEPNAME INCLUDEFILE LIBRARY_NAMES_BASE SEARCHPATHLIST D ################################################################################################ MACRO(SEARCH_3RDPARTY OSG_3RDPARTY_BIN) - FIND_DEPENDENCY(TIFF tiff.h libtiff ${OSG_3RDPARTY_BIN} "D" "_i") - FIND_DEPENDENCY(FREETYPE ft2build.h "freetype;freetype2311MT;freetype234;freetype234MT;freetype235;freetype237;freetype238;freetype244;freetype250;" ${OSG_3RDPARTY_BIN} "d" "") + FIND_DEPENDENCY(TIFF tiff.h "libtiff;tiff" ${OSG_3RDPARTY_BIN} "D" "") + FIND_DEPENDENCY(FREETYPE ft2build.h "freetype;freetype2311MT;freetype234;freetype234MT;freetype235;freetype237;freetype238;freetype244;freetype250;freetype27;" ${OSG_3RDPARTY_BIN} "d" "") IF(FREETYPE_FOUND) - #forcing subsequent FindFreeType stuff to not search for other variables.... kind of a hack + #forcing subsequent FindFreeType stuff to not search for other variables.... kind of a hack SET(FREETYPE_INCLUDE_DIR_ft2build ${FREETYPE_INCLUDE_DIR} CACHE PATH "" FORCE) SET(FREETYPE_INCLUDE_DIR_freetype2 ${FREETYPE_INCLUDE_DIR} CACHE PATH "" FORCE) MARK_AS_ADVANCED(FREETYPE_INCLUDE_DIR_ft2build FREETYPE_INCLUDE_DIR_freetype2) SET(FREETYPE_INCLUDE_DIRS "${FREETYPE_INCLUDE_DIR_ft2build};${FREETYPE_INCLUDE_DIR_freetype2}") ENDIF(FREETYPE_FOUND) - FIND_DEPENDENCY(CURL curl/curl.h "libcurl;curllib" ${OSG_3RDPARTY_BIN} "D" "") + FIND_DEPENDENCY(CURL curl/curl.h "libcurl;curllib;libcurl_imp" ${OSG_3RDPARTY_BIN} "D" "") FIND_DEPENDENCY(JPEG jpeglib.h "libjpeg;jpeg" ${OSG_3RDPARTY_BIN} "D" "") FIND_DEPENDENCY(GDAL gdal.h "gdal;gdal16" ${OSG_3RDPARTY_BIN} "d" "_i") FIND_DEPENDENCY(GLUT GL/glut.h glut32 ${OSG_3RDPARTY_BIN} "D" "") IF(GLUT_FOUND) - #forcing subsequent FindGlut stuff to not search for other variables.... kind of a hack + #forcing subsequent FindGlut stuff to not search for other variables.... kind of a hack SET(GLUT_glut_LIBRARY ${GLUT_LIBRARY} CACHE FILEPATH "") MARK_AS_ADVANCED(GLUT_glut_LIBRARY) ENDIF(GLUT_FOUND) @@ -81,16 +87,18 @@ MACRO(SEARCH_3RDPARTY OSG_3RDPARTY_BIN) IF(ZLIB_FOUND) FIND_DEPENDENCY(PNG png.h "libpng;libpng13;libpng15;libpng16" ${OSG_3RDPARTY_BIN} "D" "") IF(PNG_FOUND) - #forcing subsequent FindPNG stuff to not search for other variables.... kind of a hack + #forcing subsequent FindPNG stuff to not search for other variables.... kind of a hack SET(PNG_PNG_INCLUDE_DIR ${PNG_INCLUDE_DIR} CACHE FILEPATH "") MARK_AS_ADVANCED(PNG_PNG_INCLUDE_DIR) ENDIF(PNG_FOUND) ENDIF(ZLIB_FOUND) - FIND_DEPENDENCY(LIBXML2 libxml2 "libxml2" ${OSG_3RDPARTY_BIN} "D" "") + + # CMakes default module to find libxml2 will not find the in + FIND_DEPENDENCY(LIBXML2 libxml/xpath.h "libxml2" ${OSG_3RDPARTY_BIN} "D" "") IF(LIBXML2_FOUND) - # The CMAKE find libxml module uses LIBXML2_LIBRARIES -> fill it.... kind of a hack - SET(LIBXML2_LIBRARIES ${LIBXML2_LIBRARY} CACHE FILEPATH "" FORCE) - SET(LIBXML2_XMLLINT_EXECUTABLE ${OSG_3RDPARTY_BIN}/bin/xmllint.exe CACHE FILEPATH "Path to xmllint executable" FORCE) + # The CMAKE find libxml module uses LIBXML2_LIBRARIES -> fill it.... kind of a hack + SET(LIBXML2_LIBRARIES ${LIBXML2_LIBRARY} CACHE FILEPATH "LibXML2 library for collada" FORCE) + # SET(LIBXML2_XMLLINT_EXECUTABLE ${OSG_3RDPARTY_BIN}/bin/xmllint.exe CACHE FILEPATH "Path to xmllint executable" FORCE) ENDIF(LIBXML2_FOUND) #FIND_DEPENDENCY(DEPNAME INCLUDEFILE LIBRARY_NAMES_BASE SEARCHPATHLIST DEBUGSUFFIX EXSUFFIX) FIND_Package(NVTT) @@ -104,7 +112,7 @@ ENDMACRO(SEARCH_3RDPARTY OSG_3RDPARTY_BIN) # this is code for handling optional 3RDPARTY usage ################################################################################################ -OPTION(USE_3RDPARTY_BIN "Set to ON to use Mike prebuilt dependencies situated side of OpenSceneGraph source. Use OFF for avoiding." ON) +OPTION(USE_3RDPARTY_BIN "Set to ON to use Mike or Torbens prebuilt dependencies situated side of OpenSceneGraph source. Use OFF for avoiding." ON) IF(USE_3RDPARTY_BIN) # Check Architecture @@ -132,7 +140,7 @@ IF(USE_3RDPARTY_BIN) SET(TEST_3RDPARTY_DIR "${PARENT_DIR}/3rdParty_win32binaries_vs90sp1") ENDIF() ENDIF(NOT EXISTS ${TEST_3RDPARTY_DIR}) - + SET(ACTUAL_3RDPARTY_DIR "${TEST_3RDPARTY_DIR}" CACHE PATH "Location of 3rdparty dependencies") SET(ACTUAL_3DPARTY_DIR "${ACTUAL_3RDPARTY_DIR}") # kept for backcompatibility IF(EXISTS ${ACTUAL_3RDPARTY_DIR}) diff --git a/CMakeModules/FindAVFoundation.cmake b/CMakeModules/FindAVFoundation.cmake index 63bc3817ccb..21ce76be0e1 100644 --- a/CMakeModules/FindAVFoundation.cmake +++ b/CMakeModules/FindAVFoundation.cmake @@ -30,7 +30,7 @@ ELSE() # AVFoundation exists since 10.7, but only 10.8 has all features necessary for OSG # so check the SDK-setting - IF(${OSG_OSX_SDK_NAME} STREQUAL "macosx10.8" OR ${OSG_OSX_SDK_NAME} STREQUAL "macosx10.9" OR ${OSG_OSX_SDK_NAME} STREQUAL "macosx10.10") + IF(${OSG_OSX_SDK_NAME} STREQUAL "macosx10.8" OR ${OSG_OSX_SDK_NAME} STREQUAL "macosx10.9" OR ${OSG_OSX_SDK_NAME} STREQUAL "macosx10.10" OR ${OSG_OSX_SDK_NAME} STREQUAL "macosx10.11") # nothing special here ;-) ELSE() MESSAGE("AVFoundation disabled for SDK < 10.8") diff --git a/CMakeModules/FindAsio.cmake b/CMakeModules/FindAsio.cmake index 29b255e2675..aca5f82d0be 100644 --- a/CMakeModules/FindAsio.cmake +++ b/CMakeModules/FindAsio.cmake @@ -1,9 +1,9 @@ # Locate ASIO-headers (http://think-async.com/Asio) # This module defines -# ASIO_FOUND, if false, do not try to link to gdal +# ASIO_FOUND, if false, do not try to link to gdal # ASIO_INCLUDE_DIR, where to find the headers # -# Created by Stephan Maximilian Huber +# Created by Stephan Maximilian Huber FIND_PATH(ASIO_INCLUDE_DIR NAMES @@ -14,7 +14,21 @@ FIND_PATH(ASIO_INCLUDE_DIR ) SET(ASIO_FOUND "NO") -FIND_PACKAGE( Boost 1.37 ) -IF(Boost_FOUND AND ASIO_INCLUDE_DIR) - SET(ASIO_FOUND "YES") +IF(ASIO_INCLUDE_DIR) + + set(ASIO_VERSION_H ${ASIO_INCLUDE_DIR}/asio/version.hpp) + file(STRINGS ${ASIO_VERSION_H} AsioVersionLine REGEX "^#define ASIO_VERSION ") + string(REGEX MATCHALL "[0-9]+" AsioHeaderVersionMatches "${AsioVersionLine}") + list(GET AsioHeaderVersionMatches 0 AsioHeaderVersion) + + # check version is less than 1.14.0 otherwise API changes break build + if (${AsioHeaderVersion} LESS "101400") + FIND_PACKAGE( Boost 1.37 ) + IF(Boost_FOUND) + SET(ASIO_FOUND "YES") + ENDIF() + else() + message("ASIO not compatible") + endif() + ENDIF() diff --git a/CMakeModules/FindCOLLADA.cmake b/CMakeModules/FindCOLLADA.cmake index 21ccc1f1563..c75391cfeac 100644 --- a/CMakeModules/FindCOLLADA.cmake +++ b/CMakeModules/FindCOLLADA.cmake @@ -28,6 +28,8 @@ IF(APPLE) SET(COLLADA_BUILDNAME "mac") ELSEIF(MINGW) SET(COLLADA_BUILDNAME "mingw") +ELSEIF(MSVC14) + SET(COLLADA_BUILDNAME "vc14") ELSEIF(MSVC12) SET(COLLADA_BUILDNAME "vc12") ELSEIF(MSVC11) @@ -53,10 +55,16 @@ FIND_PATH(COLLADA_INCLUDE_DIR dae.h /usr/local/include /usr/local/include/colladadom /usr/local/include/collada-dom + /usr/local/include/collada-dom2.4 + /usr/local/include/collada-dom2.2 /opt/local/include/collada-dom + /opt/local/include/collada-dom2.4 + /opt/local/include/collada-dom2.2 /usr/include/ /usr/include/colladadom /usr/include/collada-dom + /usr/include/collada-dom2.4 + /usr/include/collada-dom2.2 /sw/include # Fink /opt/local/include # DarwinPorts /opt/csw/include # Blastwave @@ -66,7 +74,7 @@ FIND_PATH(COLLADA_INCLUDE_DIR dae.h ) FIND_LIBRARY(COLLADA_DYNAMIC_LIBRARY - NAMES collada_dom collada14dom Collada14Dom libcollada14dom21 libcollada14dom22 collada-dom2.4-dp + NAMES collada_dom collada14dom Collada14Dom libcollada14dom21 libcollada14dom22 collada-dom2.4-dp collada-dom2.4-dp-vc120-mt PATHS ${COLLADA_DOM_ROOT}/build/${COLLADA_BUILDNAME}-1.4 ${COLLADA_DOM_ROOT} @@ -90,7 +98,7 @@ FIND_LIBRARY(COLLADA_DYNAMIC_LIBRARY ) FIND_LIBRARY(COLLADA_DYNAMIC_LIBRARY_DEBUG - NAMES collada_dom-d collada14dom-d Collada14Dom-d libcollada14dom21-d libcollada14dom22-d collada-dom2.4-dp-d + NAMES collada_dom-d collada14dom-d Collada14Dom-d libcollada14dom21-d libcollada14dom22-d collada-dom2.4-dp-d collada-dom2.4-dp-vc120-mt-d PATHS ${COLLADA_DOM_ROOT}/build/${COLLADA_BUILDNAME}-1.4-d ${COLLADA_DOM_ROOT} @@ -178,7 +186,16 @@ FIND_LIBRARY(COLLADA_STATIC_LIBRARY_DEBUG FIND_PACKAGE(ZLIB) IF (ZLIB_FOUND) - SET(COLLADA_ZLIB_LIBRARY "${ZLIB_LIBRARY}" CACHE FILEPATH "" FORCE) + IF (ZLIB_LIBRARY_RELEASE) + SET(COLLADA_ZLIB_LIBRARY "${ZLIB_LIBRARY_RELEASE}" CACHE FILEPATH "" FORCE) + ELSE(ZLIB_LIBRARY_RELEASE) + SET(COLLADA_ZLIB_LIBRARY "${ZLIB_LIBRARY}" CACHE FILEPATH "" FORCE) + ENDIF(ZLIB_LIBRARY_RELEASE) + IF (ZLIB_LIBRARY_DEBUG) + SET(COLLADA_ZLIB_LIBRARY_DEBUG "${ZLIB_LIBRARY_DEBUG}" CACHE FILEPATH "" FORCE) + ELSE(ZLIB_LIBRARY_DEBUG) + SET(COLLADA_ZLIB_LIBRARY_DEBUG "${COLLADA_ZLIB_LIBRARY}" CACHE FILEPATH "" FORCE) + ENDIF(ZLIB_LIBRARY_DEBUG) ELSE(ZLIB_FOUND) IF(WIN32) FIND_LIBRARY(COLLADA_ZLIB_LIBRARY @@ -244,7 +261,7 @@ FIND_LIBRARY(COLLADA_STATIC_LIBRARY_DEBUG ) FIND_LIBRARY(COLLADA_BOOST_FILESYSTEM_LIBRARY - NAMES libboost_filesystem boost_filesystem boost_filesystem-mt libboost_filesystem-${COLLADA_BUILDNAME}0-mt libboost_filesystem-${COLLADA_BUILDNAME}0-mt-1_54 libboost_filesystem-${COLLADA_BUILDNAME}0-mt-1_55 + NAMES libboost_filesystem boost_filesystem boost_filesystem-mt libboost_filesystem-${COLLADA_BUILDNAME}0-mt libboost_filesystem-${COLLADA_BUILDNAME}0-mt-1_54 libboost_filesystem-${COLLADA_BUILDNAME}0-mt-1_55 libboost_filesystem-${COLLADA_BUILDNAME}0-mt-1_58 boost_filesystem-${COLLADA_BUILDNAME}0-mt-1_62 PATHS ${COLLADA_DOM_ROOT}/external-libs/boost/lib/${COLLADA_BUILDNAME} ${COLLADA_DOM_ROOT}/external-libs/boost/lib/mingw @@ -252,7 +269,7 @@ FIND_LIBRARY(COLLADA_STATIC_LIBRARY_DEBUG ) FIND_LIBRARY(COLLADA_BOOST_FILESYSTEM_LIBRARY_DEBUG - NAMES libboost_filesystem-d boost_filesystem-d boost_filesystem-mt-d libboost_filesystem-${COLLADA_BUILDNAME}0-mt-gd libboost_filesystem-${COLLADA_BUILDNAME}0-mt-gd-1_54 libboost_filesystem-${COLLADA_BUILDNAME}0-mt-gd-1_55 + NAMES libboost_filesystem-d boost_filesystem-d boost_filesystem-mt-d libboost_filesystem-${COLLADA_BUILDNAME}0-mt-gd libboost_filesystem-${COLLADA_BUILDNAME}0-mt-gd-1_54 libboost_filesystem-${COLLADA_BUILDNAME}0-mt-gd-1_55 libboost_filesystem-${COLLADA_BUILDNAME}0-mt-gd-1_58 boost_filesystem-${COLLADA_BUILDNAME}0-mt-gd-1_62 PATHS ${COLLADA_DOM_ROOT}/external-libs/boost/lib/${COLLADA_BUILDNAME} ${COLLADA_DOM_ROOT}/external-libs/boost/lib/mingw @@ -260,7 +277,7 @@ FIND_LIBRARY(COLLADA_STATIC_LIBRARY_DEBUG ) FIND_LIBRARY(COLLADA_BOOST_SYSTEM_LIBRARY - NAMES libboost_system boost_system boost_system-mt libboost_system-${COLLADA_BUILDNAME}0-mt libboost_system-${COLLADA_BUILDNAME}0-mt-1_54 libboost_system-${COLLADA_BUILDNAME}0-mt-1_55 + NAMES libboost_system boost_system boost_system-mt libboost_system-${COLLADA_BUILDNAME}0-mt libboost_system-${COLLADA_BUILDNAME}0-mt-1_54 libboost_system-${COLLADA_BUILDNAME}0-mt-1_55 libboost_system-${COLLADA_BUILDNAME}0-mt-1_58 boost_system-${COLLADA_BUILDNAME}0-mt-1_62 PATHS ${COLLADA_DOM_ROOT}/external-libs/boost/lib/${COLLADA_BUILDNAME} ${COLLADA_DOM_ROOT}/external-libs/boost/lib/mingw @@ -268,7 +285,7 @@ FIND_LIBRARY(COLLADA_STATIC_LIBRARY_DEBUG ) FIND_LIBRARY(COLLADA_BOOST_SYSTEM_LIBRARY_DEBUG - NAMES libboost_system-d boost_system-d boost_system-mt-d libboost_system-${COLLADA_BUILDNAME}0-mt-gd libboost_system-${COLLADA_BUILDNAME}0-mt-gd-1_54 libboost_system-${COLLADA_BUILDNAME}0-mt-gd-1_55 + NAMES libboost_system-d boost_system-d boost_system-mt-d libboost_system-${COLLADA_BUILDNAME}0-mt-gd libboost_system-${COLLADA_BUILDNAME}0-mt-gd-1_54 libboost_system-${COLLADA_BUILDNAME}0-mt-gd-1_55 libboost_system-${COLLADA_BUILDNAME}0-mt-gd-1_58 boost_system-${COLLADA_BUILDNAME}0-mt-gd-1_62 PATHS ${COLLADA_DOM_ROOT}/external-libs/boost/lib/${COLLADA_BUILDNAME} ${COLLADA_DOM_ROOT}/external-libs/boost/lib/mingw diff --git a/CMakeModules/FindFBX.cmake b/CMakeModules/FindFBX.cmake index de3b5a644f5..68773568780 100644 --- a/CMakeModules/FindFBX.cmake +++ b/CMakeModules/FindFBX.cmake @@ -50,13 +50,13 @@ SET( FBX_SEARCH_PATHS $ENV{FBX_DIR} "$ENV{ProgramW6432}/Autodesk/FBX/FBX SDK/2015.1" "$ENV{PROGRAMFILES}/Autodesk/FBX/FBX SDK/2015.1" + "/Applications/Autodesk/FBX/FBX SDK/2015.1" /Applications/Autodesk/FBXSDK20151 "$ENV{ProgramW6432}/Autodesk/FBX/FBX SDK/2014.2" "$ENV{PROGRAMFILES}/Autodesk/FBX/FBX SDK/2014.2" + "/Applications/Autodesk/FBX/FBX SDK/2014.2" /Applications/Autodesk/FBXSDK20142 - /Applications/Autodesk/FBXSDK20141 ) -#I think the last line in the search path is an old typo, but let's search for 2014.1 anyway - LV # search for headers & debug/release libraries FIND_PATH(FBX_INCLUDE_DIR "fbxsdk.h" @@ -96,8 +96,9 @@ IF(NOT FBX_FOUND) SET( FBX_SEARCH_PATHS $ENV{FBX_DIR} - $ENV{ProgramW6432}/Autodesk/FBX/FBX SDK/2014.1 - $ENV{PROGRAMFILES}/Autodesk/FBX/FBX SDK/2014.1 + "$ENV{ProgramW6432}/Autodesk/FBX/FBX SDK/2014.1" + "$ENV{PROGRAMFILES}/Autodesk/FBX/FBX SDK/2014.1" + "/Applications/Autodesk/FBX/FBX SDK/2014.1" /Applications/Autodesk/FBXSDK20141 ) @@ -134,8 +135,9 @@ IF(NOT FBX_FOUND) SET( FBX_SEARCH_PATHS $ENV{FBX_DIR} - $ENV{ProgramW6432}/Autodesk/FBX/FBX SDK/2013.3 - $ENV{PROGRAMFILES}/Autodesk/FBX/FBX SDK/2013.3 + "$ENV{ProgramW6432}/Autodesk/FBX/FBX SDK/2013.3" + "$ENV{PROGRAMFILES}/Autodesk/FBX/FBX SDK/2013.3" + "/Applications/Autodesk/FBX/FBX SDK/2013.3" /Applications/Autodesk/FBXSDK20133 ) diff --git a/CMakeModules/FindFreetype.cmake b/CMakeModules/FindFreetype.cmake index 86c4a1c4f42..f24372b3413 100644 --- a/CMakeModules/FindFreetype.cmake +++ b/CMakeModules/FindFreetype.cmake @@ -1,141 +1,188 @@ -# - Locate FreeType library +#.rst: +# FindFreetype +# ------------ +# +# Locate FreeType library +# # This module defines -# FREETYPE_LIBRARY, the library to link against -# FREETYPE_FOUND, if false, do not try to link to FREETYPE -# FREETYPE_INCLUDE_DIRS, where to find headers. -# This is the concatenation of the paths: -# FREETYPE_INCLUDE_DIR_ft2build -# FREETYPE_INCLUDE_DIR_freetype2 -# -# $FREETYPE_DIR is an environment variable that would -# correspond to the ./configure --prefix=$FREETYPE_DIR -# used in building FREETYPE. -# Created by Eric Wing. - -# prefer FindFreetype from cmake distribution -if(EXISTS ${CMAKE_ROOT}/Modules/FindFreetype.cmake) - include(${CMAKE_ROOT}/Modules/FindFreetype.cmake) - - if(FREETYPE_FOUND) - return() - endif() -endif() +# +# :: +# +# FREETYPE_LIBRARIES, the library to link against +# FREETYPE_FOUND, if false, do not try to link to FREETYPE +# FREETYPE_INCLUDE_DIRS, where to find headers. +# FREETYPE_VERSION_STRING, the version of freetype found (since CMake 2.8.8) +# This is the concatenation of the paths: +# FREETYPE_INCLUDE_DIR_ft2build +# FREETYPE_INCLUDE_DIR_freetype2 +# +# +# +# $FREETYPE_DIR is an environment variable that would correspond to the +# ./configure --prefix=$FREETYPE_DIR used in building FREETYPE. + +#============================================================================= +# Copyright 2000-2016 Kitware, Inc. +# Copyright 2000-2011 Insight Software Consortium +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# +# * Neither the names of Kitware, Inc., the Insight Software Consortium, +# nor the names of their contributors may be used to endorse or promote +# products derived from this software without specific prior written +# permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +#============================================================================= + +# Created by Eric Wing. +# Modifications by Alexander Neundorf. +# This file has been renamed to "FindFreetype.cmake" instead of the correct +# "FindFreeType.cmake" in order to be compatible with the one from KDE4, Alex. -# Ugh, FreeType seems to use some #include trickery which +# Ugh, FreeType seems to use some #include trickery which # makes this harder than it should be. It looks like they # put ft2build.h in a common/easier-to-find location which -# then contains a #include to a more specific header in a +# then contains a #include to a more specific header in a # more specific location (#include ). -# Then from there, they need to set a bunch of #define's +# Then from there, they need to set a bunch of #define's # so you can do something like: # #include FT_FREETYPE_H -# Unfortunately, using CMake's mechanisms like INCLUDE_DIRECTORIES() +# Unfortunately, using CMake's mechanisms like include_directories() # wants explicit full paths and this trickery doesn't work too well. -# I'm going to attempt to cut out the middleman and hope +# I'm going to attempt to cut out the middleman and hope # everything still works. -FIND_PATH(FREETYPE_INCLUDE_DIR_ft2build ft2build.h - PATHS - $ENV{FREETYPE_DIR} - NO_DEFAULT_PATH - PATH_SUFFIXES include -) -FIND_PATH(FREETYPE_INCLUDE_DIR_ft2build ft2build.h - PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this. - NO_DEFAULT_PATH - PATH_SUFFIXES include -) -FIND_PATH(FREETYPE_INCLUDE_DIR_ft2build ft2build.h +# Adapted for OpenSceneGraph until the updates here for finding the debug Windows library freetyped are released with CMake + +set(FREETYPE_FIND_ARGS + HINTS + ENV FREETYPE_DIR PATHS - /usr/local - /usr - /usr/local/X11R6 - /usr/local/X11 - /usr/X11R6 - /usr/X11 - /sw - /opt/local - /opt/csw - /opt - /usr/freeware - PATH_SUFFIXES include include/freetype2 + /usr/X11R6 + /usr/local/X11R6 + /usr/local/X11 + /usr/freeware + ENV GTKMM_BASEPATH + [HKEY_CURRENT_USER\\SOFTWARE\\gtkmm\\2.4;Path] + [HKEY_LOCAL_MACHINE\\SOFTWARE\\gtkmm\\2.4;Path] ) -FIND_PATH(FREETYPE_INCLUDE_DIR_freetype2 freetype/config/ftheader.h - $ENV{FREETYPE_DIR}/include/freetype2 - NO_DEFAULT_PATH -) -FIND_PATH(FREETYPE_INCLUDE_DIR_freetype2 freetype/config/ftheader.h - PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this. - NO_DEFAULT_PATH - PATH_SUFFIXES include/freetype2 -) -FIND_PATH(FREETYPE_INCLUDE_DIR_freetype2 freetype/config/ftheader.h - /usr/local/include/freetype2 - /usr/include/freetype2 - /usr/local/X11R6/include/freetype2 - /usr/local/X11/include/freetype2 - /usr/X11R6/include/freetype2 - /usr/X11/include/freetype2 - /sw/include/freetype2 - /opt/local/include/freetype2 - /opt/csw/include/freetype2 - /opt/include/freetype2 - /usr/freeware/include/freetype2 +find_path( + FREETYPE_INCLUDE_DIR_ft2build + ft2build.h + ${FREETYPE_FIND_ARGS} + PATH_SUFFIXES + include/freetype2 + include + freetype2 ) -FIND_PATH(FREETYPE_INCLUDE_DIR_freetype2 config/ftheader.h - /usr/local/include/freetype2 - /usr/include/freetype2 - /usr/local/X11R6/include/freetype2 - /usr/local/X11/include/freetype2 - /usr/X11R6/include/freetype2 - /usr/X11/include/freetype2 - /sw/include/freetype2 - /opt/local/include/freetype2 - /opt/csw/include/freetype2 - /opt/include/freetype2 - /usr/freeware/include/freetype2 +find_path( + FREETYPE_INCLUDE_DIR_freetype2 + NAMES + freetype/config/ftheader.h + config/ftheader.h + ${FREETYPE_FIND_ARGS} + PATH_SUFFIXES + include/freetype2 + include + freetype2 ) -FIND_LIBRARY(FREETYPE_LIBRARY - NAMES freetype libfreetype freetype219 - PATHS - $ENV{FREETYPE_DIR} - NO_DEFAULT_PATH - PATH_SUFFIXES lib64 lib -) -FIND_LIBRARY(FREETYPE_LIBRARY - NAMES freetype libfreetype freetype219 - PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this. - NO_DEFAULT_PATH - PATH_SUFFIXES lib64 lib -) -FIND_LIBRARY(FREETYPE_LIBRARY - NAMES freetype libfreetype freetype219 - PATHS - /usr/local - /usr - /usr/local/X11R6 - /usr/local/X11 - /usr/X11R6 - /usr/X11 - /sw - /opt/local - /opt/csw - /opt - /usr/freeware - PATH_SUFFIXES lib64 lib -) +if(NOT FREETYPE_LIBRARY) + find_library(FREETYPE_LIBRARY_RELEASE + NAMES + freetype + libfreetype + freetype219 + ${FREETYPE_FIND_ARGS} + PATH_SUFFIXES + lib + ) + find_library(FREETYPE_LIBRARY_DEBUG + NAMES + freetyped + libfreetyped + freetype219d + ${FREETYPE_FIND_ARGS} + PATH_SUFFIXES + lib + ) + include(SelectLibraryConfigurations) #OSG Look in CMake Modules dir + select_library_configurations(FREETYPE) +endif() + +unset(FREETYPE_FIND_ARGS) + +# set the user variables +if(FREETYPE_INCLUDE_DIR_ft2build AND FREETYPE_INCLUDE_DIR_freetype2) + set(FREETYPE_INCLUDE_DIRS "${FREETYPE_INCLUDE_DIR_ft2build};${FREETYPE_INCLUDE_DIR_freetype2}") + list(REMOVE_DUPLICATES FREETYPE_INCLUDE_DIRS) +endif() +set(FREETYPE_LIBRARIES "${FREETYPE_LIBRARY}") -IF(FREETYPE_INCLUDE_DIR_ft2build AND FREETYPE_INCLUDE_DIR_freetype2) - SET(FREETYPE_INCLUDE_DIRS "${FREETYPE_INCLUDE_DIR_ft2build};${FREETYPE_INCLUDE_DIR_freetype2}") -ENDIF(FREETYPE_INCLUDE_DIR_ft2build AND FREETYPE_INCLUDE_DIR_freetype2) +if(EXISTS "${FREETYPE_INCLUDE_DIR_freetype2}/freetype/freetype.h") + set(FREETYPE_H "${FREETYPE_INCLUDE_DIR_freetype2}/freetype/freetype.h") +elseif(EXISTS "${FREETYPE_INCLUDE_DIR_freetype2}/freetype.h") + set(FREETYPE_H "${FREETYPE_INCLUDE_DIR_freetype2}/freetype.h") +endif() + +if(FREETYPE_INCLUDE_DIR_freetype2 AND FREETYPE_H) + file(STRINGS "${FREETYPE_H}" freetype_version_str + REGEX "^#[\t ]*define[\t ]+FREETYPE_(MAJOR|MINOR|PATCH)[\t ]+[0-9]+$") + + unset(FREETYPE_VERSION_STRING) + foreach(VPART MAJOR MINOR PATCH) + foreach(VLINE ${freetype_version_str}) + if(VLINE MATCHES "^#[\t ]*define[\t ]+FREETYPE_${VPART}[\t ]+([0-9]+)$") + set(FREETYPE_VERSION_PART "${CMAKE_MATCH_1}") + if(FREETYPE_VERSION_STRING) + set(FREETYPE_VERSION_STRING "${FREETYPE_VERSION_STRING}.${FREETYPE_VERSION_PART}") + else() + set(FREETYPE_VERSION_STRING "${FREETYPE_VERSION_PART}") + endif() + unset(FREETYPE_VERSION_PART) + endif() + endforeach() + endforeach() +endif() -SET(FREETYPE_FOUND "NO") -IF(FREETYPE_LIBRARY AND FREETYPE_INCLUDE_DIRS) - SET(FREETYPE_FOUND "YES") -ENDIF(FREETYPE_LIBRARY AND FREETYPE_INCLUDE_DIRS) +# handle the QUIETLY and REQUIRED arguments and set FREETYPE_FOUND to TRUE if +# all listed variables are TRUE +include(FindPackageHandleStandardArgs) #OSG Look in CMake Modules dir +find_package_handle_standard_args( + Freetype + REQUIRED_VARS + FREETYPE_LIBRARY + FREETYPE_INCLUDE_DIRS + VERSION_VAR + FREETYPE_VERSION_STRING +) +mark_as_advanced( + FREETYPE_INCLUDE_DIR_freetype2 + FREETYPE_INCLUDE_DIR_ft2build +) diff --git a/CMakeModules/FindGStreamer.cmake b/CMakeModules/FindGStreamer.cmake index 248da94f58a..3743d5a4fc8 100644 --- a/CMakeModules/FindGStreamer.cmake +++ b/CMakeModules/FindGStreamer.cmake @@ -83,18 +83,18 @@ else () find_package(PkgConfig) macro(FIND_GSTREAMER_COMPONENT _component_prefix _pkgconfig_name _header _library) - pkg_check_modules(PC_${_component_prefix} QUIET ${_pkgconfig_name}) - - find_path(${_component_prefix}_INCLUDE_DIRS - NAMES ${_header} - HINTS ${PC_${_component_prefix}_INCLUDE_DIRS} ${PC_${_component_prefix}_INCLUDEDIR} - PATH_SUFFIXES gstreamer-1.0 - ) - - find_library(${_component_prefix}_LIBRARIES - NAMES ${_library} - HINTS ${PC_${_component_prefix}_LIBRARY_DIRS} ${PC_${_component_prefix}_LIBDIR} - ) + pkg_check_modules(${_component_prefix} QUIET ${_pkgconfig_name}) + +# find_path(${_component_prefix}_INCLUDE_DIRS +# NAMES ${_header} +# HINTS ${PC_${_component_prefix}_INCLUDE_DIRS} ${PC_${_component_prefix}_INCLUDEDIR} +# PATH_SUFFIXES gstreamer-1.0 +# ) + +# find_library(${_component_prefix}_LIBRARIES +# NAMES ${_library} +# HINTS ${PC_${_component_prefix}_LIBRARY_DIRS} ${PC_${_component_prefix}_LIBDIR} +# ) endmacro() endif () diff --git a/CMakeModules/FindLIBLAS.cmake b/CMakeModules/FindLIBLAS.cmake index e293e2e7846..1715057bc6c 100644 --- a/CMakeModules/FindLIBLAS.cmake +++ b/CMakeModules/FindLIBLAS.cmake @@ -98,6 +98,10 @@ FIND_LIBLAS_LIBRARY(LIBLASC_LIBRARY las_c) set(LIBLAS_FOUND "NO") if(LIBLAS_LIBRARY AND LIBLASC_LIBRARY AND LIBLAS_INCLUDE_DIR) - set(LIBLAS_LIBRARIES ${LIBLAS_LIBRARY} ${LIBLASC_LIBRARY} ) - set(LIBLAS_FOUND "YES") + + FIND_PACKAGE(Boost) # used by LIBLAS + if(Boost_FOUND) + set(LIBLAS_LIBRARIES ${LIBLAS_LIBRARY} ${LIBLASC_LIBRARY} ) + set(LIBLAS_FOUND "YES") + endif() endif() diff --git a/CMakeModules/FindNVTT.cmake b/CMakeModules/FindNVTT.cmake index d82192a7a12..d0e7414acbd 100644 --- a/CMakeModules/FindNVTT.cmake +++ b/CMakeModules/FindNVTT.cmake @@ -16,7 +16,7 @@ FIND_PATH(NVTT_INCLUDE_DIR nvtt/nvtt.h ) # NVTT -FIND_LIBRARY(NVTT_LIBRARY +FIND_LIBRARY(NVTT_LIBRARY_RELEASE NAMES nvtt PATHS /usr/local @@ -37,7 +37,7 @@ FIND_LIBRARY(NVTT_LIBRARY_DEBUG ) # NVIMAGE -FIND_LIBRARY(NVIMAGE_LIBRARY +FIND_LIBRARY(NVIMAGE_LIBRARY_RELEASE NAMES nvimage PATHS /usr/local @@ -58,7 +58,7 @@ FIND_LIBRARY(NVIMAGE_LIBRARY_DEBUG ) # NVMATH -FIND_LIBRARY(NVMATH_LIBRARY +FIND_LIBRARY(NVMATH_LIBRARY_RELEASE NAMES nvmath PATHS /usr/local @@ -79,7 +79,7 @@ FIND_LIBRARY(NVMATH_LIBRARY_DEBUG ) # NVCORE -FIND_LIBRARY(NVCORE_LIBRARY +FIND_LIBRARY(NVCORE_LIBRARY_RELEASE NAMES nvcore PATHS /usr/local @@ -98,10 +98,114 @@ FIND_LIBRARY(NVCORE_LIBRARY_DEBUG PATH_SUFFIXES lib64 lib lib/shared lib/static lib64/static ) +# NVTHREAD +FIND_LIBRARY(NVTHREAD_LIBRARY_RELEASE + NAMES nvthread + PATHS + /usr/local + /usr + $ENV{NVTT_DIR} + ${3rdPartyRoot} + PATH_SUFFIXES lib64 lib lib/shared lib/static lib64/static +) +FIND_LIBRARY(NVTHREAD_LIBRARY_DEBUG + NAMES nvthread_d + PATHS + /usr/local + /usr + $ENV{NVTT_DIR} + ${3rdPartyRoot} + PATH_SUFFIXES lib64 lib lib/shared lib/static lib64/static +) + +# SQUISH +FIND_LIBRARY(NVSQUISH_LIBRARY_RELEASE + NAMES squish + PATHS + /usr/local + /usr + $ENV{NVTT_DIR} + ${3rdPartyRoot} + PATH_SUFFIXES lib64 lib lib/shared lib/static lib64/static +) +FIND_LIBRARY(NVSQUISH_LIBRARY_DEBUG + NAMES squish_d + PATHS + /usr/local + /usr + $ENV{NVTT_DIR} + ${3rdPartyRoot} + PATH_SUFFIXES lib64 lib lib/shared lib/static lib64/static +) + +# BC6H +FIND_LIBRARY(NVBC6H_LIBRARY_RELEASE + NAMES bc6h + PATHS + /usr/local + /usr + $ENV{NVTT_DIR} + ${3rdPartyRoot} + PATH_SUFFIXES lib64 lib lib/shared lib/static lib64/static +) +FIND_LIBRARY(NVBC6H_LIBRARY_DEBUG + NAMES bc6h_d + PATHS + /usr/local + /usr + $ENV{NVTT_DIR} + ${3rdPartyRoot} + PATH_SUFFIXES lib64 lib lib/shared lib/static lib64/static +) + +# BC7 +FIND_LIBRARY(NVBC7_LIBRARY_RELEASE + NAMES bc7 + PATHS + /usr/local + /usr + $ENV{NVTT_DIR} + ${3rdPartyRoot} + PATH_SUFFIXES lib64 lib lib/shared lib/static lib64/static +) +FIND_LIBRARY(NVBC7_LIBRARY_DEBUG + NAMES bc7_d + PATHS + /usr/local + /usr + $ENV{NVTT_DIR} + ${3rdPartyRoot} + PATH_SUFFIXES lib64 lib lib/shared lib/static lib64/static +) + +IF (WIN32) + SET(LIBS_TO_SETUP "NVTT" "NVCORE" "NVMATH" "NVIMAGE" "NVTHREAD" "NVBC7" "NVBC6H" "NVSQUISH") +ELSE() + SET(LIBS_TO_SETUP "NVTT" "NVCORE" "NVMATH" "NVIMAGE") +ENDIF() + +FOREACH(LIB ${LIBS_TO_SETUP}) + IF(${LIB}_LIBRARY_DEBUG) + SET(${LIB}_LIBRARIES optimized ${${LIB}_LIBRARY_RELEASE} debug ${${LIB}_LIBRARY_DEBUG}) + ELSE(${LIB}_LIBRARY_DEBUG) + SET(${LIB}_LIBRARY_DEBUG ${${LIB}_LIBRARY_RELEASE}) + SET(${LIB}_LIBRARIES optimized ${${LIB}_LIBRARY_RELEASE} debug ${${LIB}_LIBRARY_DEBUG}) + ENDIF(${LIB}_LIBRARY_DEBUG) +ENDFOREACH(LIB ${LIBS_TO_SETUP}) +SET(NVTT_LIBRARIES + ${NVTT_LIBRARIES} + ${NVCORE_LIBRARIES} + ${NVMATH_LIBRARIES} + ${NVIMAGE_LIBRARIES} + ${NVTHREAD_LIBRARIES} + ${NVBC7_LIBRARIES} + ${NVBC6H_LIBRARIES} + ${NVSQUISH_LIBRARIES} +) SET(NVTT_FOUND "NO") -IF(NVTT_LIBRARY AND NVTT_INCLUDE_DIR) - SET(NVTT_FOUND "YES") -ENDIF(NVTT_LIBRARY AND NVTT_INCLUDE_DIR) +IF(NVTT_LIBRARY_RELEASE AND NVTT_INCLUDE_DIR) + SET(NVTT_FOUND "YES" ) +ENDIF(NVTT_LIBRARY_RELEASE AND NVTT_INCLUDE_DIR) diff --git a/CMakeModules/ModuleInstall.cmake b/CMakeModules/ModuleInstall.cmake index d46c73329c2..be80fd1dbc6 100644 --- a/CMakeModules/ModuleInstall.cmake +++ b/CMakeModules/ModuleInstall.cmake @@ -32,6 +32,12 @@ INSTALL( ARCHIVE DESTINATION ${INSTALL_ARCHIVEDIR} COMPONENT libopenscenegraph-dev ) +IF(MSVC AND DYNAMIC_OPENSCENEGRAPH) + GET_TARGET_PROPERTY(PREFIX ${LIB_NAME} PREFIX) + INSTALL(FILES ${OUTPUT_BINDIR}/${PREFIX}${LIB_NAME}${CMAKE_RELWITHDEBINFO_POSTFIX}.pdb DESTINATION ${INSTALL_BINDIR} COMPONENT libopenscenegraph CONFIGURATIONS RelWithDebInfo) + INSTALL(FILES ${OUTPUT_BINDIR}/${PREFIX}${LIB_NAME}${CMAKE_DEBUG_POSTFIX}.pdb DESTINATION ${INSTALL_BINDIR} COMPONENT libopenscenegraph CONFIGURATIONS Debug) +ENDIF(MSVC AND DYNAMIC_OPENSCENEGRAPH) + IF(NOT OSG_COMPILE_FRAMEWORKS) INSTALL ( FILES ${TARGET_H} diff --git a/CMakeModules/OsgAndroidMacroUtils.cmake b/CMakeModules/OsgAndroidMacroUtils.cmake index ad577dbcf11..50c22e0f1f5 100644 --- a/CMakeModules/OsgAndroidMacroUtils.cmake +++ b/CMakeModules/OsgAndroidMacroUtils.cmake @@ -67,7 +67,7 @@ MACRO(ANDROID_3RD_PARTY) #JPEG ################################################ FIND_PATH(JPEG_INCLUDE_DIR Android.mk - ${CMAKE_SOURCE_DIR}/3rdparty/libjpeg + ${CMAKE_SOURCE_DIR}/3rdparty/libjpeg NO_CMAKE_FIND_ROOT_PATH ) #set(ENV{AND_OSG_LIB_NAMES} "$ENV{AND_OSG_LIB_NAMES} libjpeg") #set(ENV{AND_OSG_LIB_PATHS} "$ENV{AND_OSG_LIB_PATHS}include ${JPEG_INCLUDE_DIR}/Android.mk \n") @@ -82,7 +82,7 @@ MACRO(ANDROID_3RD_PARTY) #PNG ################################################ FIND_PATH(PNG_INCLUDE_DIR Android.mk - ${CMAKE_SOURCE_DIR}/3rdparty/libpng + ${CMAKE_SOURCE_DIR}/3rdparty/libpng NO_CMAKE_FIND_ROOT_PATH ) #set(ENV{AND_OSG_LIB_NAMES} "$ENV{AND_OSG_LIB_NAMES} libpng") #set(ENV{AND_OSG_LIB_PATHS} "$ENV{AND_OSG_LIB_PATHS}include ${PNG_INCLUDE_DIR}/Android.mk \n") @@ -97,7 +97,7 @@ MACRO(ANDROID_3RD_PARTY) #GIF ################################################ FIND_PATH(GIFLIB_INCLUDE_DIR Android.mk - ${CMAKE_SOURCE_DIR}/3rdparty/giflib + ${CMAKE_SOURCE_DIR}/3rdparty/giflib NO_CMAKE_FIND_ROOT_PATH ) #set(ENV{AND_OSG_LIB_NAMES} "$ENV{AND_OSG_LIB_NAMES} libgif") #set(ENV{AND_OSG_LIB_PATHS} "$ENV{AND_OSG_LIB_PATHS}include ${GIFLIB_INCLUDE_DIR}/Android.mk \n") @@ -112,7 +112,7 @@ MACRO(ANDROID_3RD_PARTY) #TIF ################################################ FIND_PATH(TIFF_INCLUDE_DIR Android.mk - ${CMAKE_SOURCE_DIR}/3rdparty/libtiff + ${CMAKE_SOURCE_DIR}/3rdparty/libtiff NO_CMAKE_FIND_ROOT_PATH ) #set(ENV{AND_OSG_LIB_NAMES} "$ENV{AND_OSG_LIB_NAMES} libtiff") #set(ENV{AND_OSG_LIB_PATHS} "$ENV{AND_OSG_LIB_PATHS}include ${TIFF_INCLUDE_DIR}/Android.mk \n") @@ -142,7 +142,7 @@ MACRO(ANDROID_3RD_PARTY) #CURL ################################################ FIND_PATH(CURL_DIR Android.mk - ${CMAKE_SOURCE_DIR}/3rdparty/curl + ${CMAKE_SOURCE_DIR}/3rdparty/curl NO_CMAKE_FIND_ROOT_PATH ) #set(ENV{AND_OSG_LIB_NAMES} "$ENV{AND_OSG_LIB_NAMES} libcurl") #set(ENV{AND_OSG_LIB_PATHS} "$ENV{AND_OSG_LIB_PATHS}include ${CURL_DIR}/Android.mk \n") @@ -159,11 +159,11 @@ MACRO(ANDROID_3RD_PARTY) #FREETYPE ################################################ FIND_PATH(FREETYPE_DIR Android.mk - ${CMAKE_SOURCE_DIR}/3rdparty/freetype + ${CMAKE_SOURCE_DIR}/3rdparty/freetype NO_CMAKE_FIND_ROOT_PATH ) #set(ENV{AND_OSG_LIB_NAMES} "$ENV{AND_OSG_LIB_NAMES} libft2") #set(ENV{AND_OSG_LIB_PATHS} "$ENV{AND_OSG_LIB_PATHS}include ${FREETYPE_DIR}/Android.mk \n") - set(FREETYPE_INCLUDE_DIRS "${FREETYPE_DIR}/include ${FREETYPE_DIR}/include/freetype/config") + set(FREETYPE_INCLUDE_DIRS ${FREETYPE_DIR}/include ${FREETYPE_DIR}/include/freetype/config) if(FREETYPE_DIR) message(STATUS "FREETYPE found ${FREETYPE_DIR}" ) set(FREETYPE_FOUND "Yes") @@ -175,7 +175,7 @@ MACRO(ANDROID_3RD_PARTY) #GDAL ################################################ FIND_PATH(GDAL_DIR gdal.h - ${CMAKE_SOURCE_DIR}/3rdparty/gdal/include + ${CMAKE_SOURCE_DIR}/3rdparty/gdal/include NO_CMAKE_FIND_ROOT_PATH ) set(GDAL_INCLUDE_DIR "${GDAL_DIR}") if(GDAL_DIR) diff --git a/CMakeModules/OsgMacroUtils.cmake b/CMakeModules/OsgMacroUtils.cmake index 0f3d6b38adb..120f7f602ca 100644 --- a/CMakeModules/OsgMacroUtils.cmake +++ b/CMakeModules/OsgMacroUtils.cmake @@ -43,7 +43,11 @@ SET(VALID_BUILDER_VERSION OFF) MACRO(LINK_WITH_VARIABLES TRGTNAME) FOREACH(varname ${ARGN}) IF(${varname}_DEBUG) - TARGET_LINK_LIBRARIES(${TRGTNAME} optimized "${${varname}}" debug "${${varname}_DEBUG}") + IF(${varname}_RELEASE) + TARGET_LINK_LIBRARIES(${TRGTNAME} optimized "${${varname}_RELEASE}" debug "${${varname}_DEBUG}") + ELSE(${varname}_RELEASE) + TARGET_LINK_LIBRARIES(${TRGTNAME} optimized "${${varname}}" debug "${${varname}_DEBUG}") + ENDIF(${varname}_RELEASE) ELSE(${varname}_DEBUG) TARGET_LINK_LIBRARIES(${TRGTNAME} "${${varname}}" ) ENDIF(${varname}_DEBUG) @@ -123,9 +127,9 @@ MACRO(SETUP_LINK_LIBRARIES) FOREACH(LINKLIB ${TARGET_ADDED_LIBRARIES}) SET(TO_INSERT TRUE) FOREACH (value ${TARGET_COMMON_LIBRARIES}) - IF (${value} STREQUAL ${LINKLIB}) + IF ("${value}" STREQUAL "${LINKLIB}") SET(TO_INSERT FALSE) - ENDIF (${value} STREQUAL ${LINKLIB}) + ENDIF ("${value}" STREQUAL "${LINKLIB}") ENDFOREACH (value ${TARGET_COMMON_LIBRARIES}) IF(TO_INSERT) LIST(APPEND TARGET_LIBRARIES ${LINKLIB}) @@ -326,6 +330,10 @@ MACRO(SETUP_PLUGIN PLUGIN_NAME) RUNTIME DESTINATION bin COMPONENT ${PACKAGE_COMPONENT} ARCHIVE DESTINATION lib/${OSG_PLUGINS} COMPONENT libopenscenegraph-dev LIBRARY DESTINATION bin/${OSG_PLUGINS} COMPONENT ${PACKAGE_COMPONENT}) + IF(MSVC AND DYNAMIC_OPENSCENEGRAPH) + INSTALL(FILES ${OUTPUT_BINDIR}/${OSG_PLUGINS}/${TARGET_TARGETNAME}${CMAKE_RELWITHDEBINFO_POSTFIX}.pdb DESTINATION bin/${OSG_PLUGINS} COMPONENT ${PACKAGE_COMPONENT} CONFIGURATIONS RelWithDebInfo) + INSTALL(FILES ${OUTPUT_BINDIR}/${OSG_PLUGINS}/${TARGET_TARGETNAME}${CMAKE_DEBUG_POSTFIX}.pdb DESTINATION bin/${OSG_PLUGINS} COMPONENT ${PACKAGE_COMPONENT} CONFIGURATIONS Debug) + ENDIF(MSVC AND DYNAMIC_OPENSCENEGRAPH) ELSE(WIN32) INSTALL(TARGETS ${TARGET_TARGETNAME} RUNTIME DESTINATION bin COMPONENT ${PACKAGE_COMPONENT} @@ -428,6 +436,10 @@ MACRO(SETUP_APPLICATION APPLICATION_NAME) INSTALL(TARGETS ${TARGET_TARGETNAME} RUNTIME DESTINATION bin BUNDLE DESTINATION bin) ELSE(APPLE) INSTALL(TARGETS ${TARGET_TARGETNAME} RUNTIME DESTINATION bin COMPONENT openscenegraph ) + IF(MSVC) + INSTALL(FILES ${CMAKE_BINARY_DIR}/bin/${TARGET_NAME}${CMAKE_RELWITHDEBINFO_POSTFIX}.pdb DESTINATION bin COMPONENT openscenegraph CONFIGURATIONS RelWithDebInfo) + INSTALL(FILES ${CMAKE_BINARY_DIR}/bin/${TARGET_NAME}${CMAKE_DEBUG_POSTFIX}.pdb DESTINATION bin COMPONENT openscenegraph CONFIGURATIONS Debug) + ENDIF(MSVC) ENDIF(APPLE) ENDMACRO(SETUP_APPLICATION) @@ -457,6 +469,10 @@ MACRO(SETUP_EXAMPLE EXAMPLE_NAME) INSTALL(TARGETS ${TARGET_TARGETNAME} RUNTIME DESTINATION share/OpenSceneGraph/bin BUNDLE DESTINATION share/OpenSceneGraph/bin ) ELSE(APPLE) INSTALL(TARGETS ${TARGET_TARGETNAME} RUNTIME DESTINATION share/OpenSceneGraph/bin COMPONENT openscenegraph-examples ) + IF(MSVC) + INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${TARGET_TARGETNAME}${CMAKE_RELWITHDEBINFO_POSTFIX}.pdb DESTINATION share/OpenSceneGraph/bin COMPONENT openscenegraph-examples CONFIGURATIONS RelWithDebInfo) + INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${TARGET_TARGETNAME}${CMAKE_DEBUG_POSTFIX}.pdb DESTINATION share/OpenSceneGraph/bin COMPONENT openscenegraph-examples CONFIGURATIONS Debug) + ENDIF(MSVC) ENDIF(APPLE) ENDMACRO(SETUP_EXAMPLE) diff --git a/ChangeLog b/ChangeLog index 347d4111a81..0186fa91423 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,131619 +1,67509 @@ -2015-07-02 08:57 robert +Mon, 28 Aug 2017 17:34:51 +0100 +Checked in by : Robert Osfield +Build fix - * src/osgPlugins/osgjs/JSON_Objects: Build fix +Mon, 28 Aug 2017 16:55:52 +0100 +Checked in by : Robert Osfield +Added back in 3.4.0 release entry -2015-07-02 08:52 robert +Mon, 28 Aug 2017 14:34:39 +0200 +Checked in by : Denys Koch +Fix flawed BoundingSphere inequality operator - * include/osg/GLDefines: Moved the defination of - GL_MAX_VARYING_COMPONENTS to GL_3_0 block to avoid warnings of - redefinition. +Mon, 28 Aug 2017 15:36:31 +0100 +Checked in by : Robert Osfield +Updates for 3.4.1 stable release -2015-07-01 05:32 robert +Thu, 24 Aug 2017 17:49:34 +0100 +Checked in by : Robert Osfield +Updated rc number to 3 or 3.4.1-rc3 - * ChangeLog: Updated ChangeLog +Thu, 24 Aug 2017 17:45:48 +0100 +Checked in by : Robert Osfield +Updated READE and ChangeLog -2015-07-01 05:10 robert +Wed, 23 Aug 2017 15:26:07 +0100 +Checked in by : Robert Osfield +Fixed underflow issue - * src/osgWrappers/deprecated-dotosg/osg/ClipControl.cpp, - src/osgWrappers/serializers/osg/ClipControl.cpp: From Mathias - Froehlich, added seriliazers for new osg::ClipControl +Tue, 22 Aug 2017 14:17:45 +0100 +Checked in by : Robert Osfield +Bimped SO version due to changes in Windows exports in osgDB::ifstream + ofstream. -2015-06-30 09:51 robert +Tue, 22 Aug 2017 12:19:40 +0100 +Checked in by : Robert Osfield +Updated RC number to 2 for 3.4.1-rc2 - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS files +Tue, 22 Aug 2017 12:18:29 +0100 +Checked in by : Robert Osfield +Updated ChangeLog + +Tue, 22 Aug 2017 11:58:49 +0100 +Checked in by : Robert Osfield +Added name typo fix -2015-06-30 09:11 robert +Tue, 22 Aug 2017 09:05:27 +0100 +Checked in by : Robert Osfield +Updated ChangeLog - * include/osg/ClipControl, include/osg/GLExtensions, - include/osg/StateAttribute, src/osg/CMakeLists.txt, - src/osg/ClipControl.cpp, src/osg/GLExtensions.cpp: From Mathias - Froehlich, "Attached a new state attribute implementing the - glClipControl that appeared with GL4.5." +Tue, 22 Aug 2017 09:04:49 +0100 +Checked in by : Robert Osfield +Added catch for controbutors list -2015-06-30 08:39 robert +Tue, 22 Aug 2017 08:03:33 +0100 +Checked in by : OpenSceneGraph git repository +Merge pull request #310 from OpenMW/merge_internalsizedformatsApplied sizedInternalFormats change to 3.4 branch - * src/osgViewer/Viewer.cpp: Quitened down debug for ViewConfig - argument parsing +Thu, 31 Mar 2016 17:12:28 +0100 +Checked in by : Robert Osfield +Reversed the order of some sizedInternalFormats enum entries to sync with the change in serach direction that was checked in as an earlier revision. -2015-06-30 08:38 robert +Mon, 21 Aug 2017 15:06:31 +0100 +Checked in by : Robert Osfield +Added handling of CPACK and automatically generated package files - * src/osgPlugins/ogr/ReaderWriterOGR.cpp: Build fix for GLDAL>=2 +Fri, 18 Aug 2017 16:26:12 +0100 +Checked in by : Robert Osfield +Removed unneccessary DrawArrays->setCount() that was causing a crash. -2015-06-26 09:40 robert +Fri, 18 Aug 2017 16:11:29 +0100 +Checked in by : Robert Osfield +Merged addition of "" around variablesfrom master. - * include/osg/Vec2f: From Christian Kehl, added Vec2::set(const - Vec2) method +Fri, 18 Aug 2017 16:01:31 +0100 +Checked in by : Raymond de Vries +Fix for better picking up 3rd party dependencies -2015-06-19 09:51 robert +Fri, 18 Aug 2017 08:08:28 +0100 +Checked in by : Robert Osfield +Fixed iterator comparison. - * src/osgUtil/RenderStage.cpp: From Jannik Heller, fixed - clearReferencesToDependentCameras() calls +Thu, 17 Aug 2017 08:53:58 +0100 +Checked in by : Robert Osfield +Adopted OSG_GL*_FEATURES usage of 0 and 1 in place of false and true to avoid VisualStudio 2012 build issues -2015-06-17 16:25 robert +Tue, 15 Aug 2017 15:42:22 +0100 +Checked in by : Uwe Woessner +Extension to the PLY plugin to read files with textures. - * src/osgUtil/GLObjectsVisitor.cpp: Fixed handling of use - GLObjectsVisitor for modifying scene graph state without - compiling to OpenGL so that the visitor can be run safely without - a graphics context being current. +Mon, 31 Jul 2017 16:47:10 +0100 +Checked in by : OpenSceneGraph git repository +Merge pull request #291 from eligovision/OpenSceneGraph-3.4_animationosgAnimation: classes UpdateVec2fUniform and UpdateVec4fUniform added -2015-06-16 17:18 robert +Sun, 30 Jul 2017 20:00:12 +0300 +Checked in by : konstantin.matveyev +[*] osgDB::OutputStream fix - * src/osgQt/CMakeLists.txt: Small tidy up to make script more - readable. +Sun, 30 Jul 2017 19:55:56 +0300 +Checked in by : konstantin.matveyev +[+] Two classes added: osgAnimation::UpdateVec2fUniform, osgAnimation::UpdateVec4fUniform -2015-06-16 17:17 robert +Mon, 31 Jul 2017 15:06:57 +0100 +Checked in by : OpenSceneGraph git repository +Merge pull request #289 from eligovision/OpenSceneGraph-3.4_appleIMAGEIO plugin tweak - * src/osgPlugins/qfont/CMakeLists.txt: Added QT_QTCORE_INCLUDE_DIR - entry to qfont plugin build to fix Qt4 build under Linux +Mon, 31 Jul 2017 15:05:26 +0100 +Checked in by : OpenSceneGraph git repository +Merge pull request #290 from eligovision/OpenSceneGraph-3.4_apple_iososgViewer::GraphicsWindowIOS fixes -2015-06-15 19:59 robert +Sun, 30 Jul 2017 20:03:56 +0300 +Checked in by : konstantin.matveyev +[*] imageio changed: more methods of storing image supported; tested on macOS (compatibility profile) and iOS(GLES2/3) - * include/osgQt/GraphicsWindowQt, - include/osgQt/QFontImplementation, - include/osgQt/QGraphicsViewAdapter, include/osgQt/QWebViewImage, - include/osgQt/QWidgetImage, src/osgQt/CMakeLists.txt, - src/osgQt/Version.in: From Jannik Heller, "I've added the check - for Qt version mismatches into osgQt as suggested in - http://forum.openscenegraph.org/viewtopic.php?t=14999. - - When an application is built with Qt4, but osgQt was built with - Qt5 (or vice versa), upon #includeing osgQt users will receive an - #error aborting the build. - - This at least provides a proper error message rather than a - crash, while we are working on better fixes for the problem." +Sun, 30 Jul 2017 19:58:56 +0300 +Checked in by : konstantin.matveyev +[*] osgViewer::GraphicsWindowIOS fixes -2015-06-15 13:51 robert +Mon, 31 Jul 2017 12:44:47 +0100 +Checked in by : Robert Osfield +Fixed indectation - * include/osg/GLDefines: Experiment with how to define GLsizeiptr. +Mon, 31 Jul 2017 12:42:15 +0100 +Checked in by : OpenSceneGraph git repository +Merge pull request #288 from eligovision/OpenSceneGraph-3.4_pragmaticpragma(tic) shader composing fixes in the State -2015-06-15 13:51 robert +Mon, 31 Jul 2017 00:53:24 +0300 +Checked in by : konstantin.matveyev +[**] pragma(tic) fix: 'defineMap.changed flag' condition changed in State::push/popDefineList - * CMakeLists.txt: Upated version number +Fri, 28 Jul 2017 17:57:02 +0100 +Checked in by : Robert Osfield +Updated AUTHORS and CHangeLog for 3.4.1-rc1 -2015-06-12 20:23 robert +Fri, 28 Jul 2017 17:43:34 +0100 +Checked in by : Robert Osfield +Updated 3.4 branch to 3.4.1-rc1 version - * include/OpenThreads/Exports: Removed old and unused windows code - path to avoid confusion +Fri, 5 Aug 2016 13:16:07 +0100 +Checked in by : James Turner +Attempt to fix broken DLL exports from osgDBOnly export the osgDB method implementations, instead of the entire +class, and hence avoid exporting symbols from the base class, which +then conflict with other compilation units when linking. -2015-06-12 11:28 robert +This avoids the need for /FORCE:MULTIPLE linker option with MSVC. - * ChangeLog: Updated ChangeLog +Thu, 27 Jul 2017 10:43:33 +0100 +Checked in by : Robert Osfield +Adopted FindFreetype.cmake from master -2015-06-12 08:04 robert +Wed, 26 Jul 2017 11:12:11 +0100 +Checked in by : Robert Osfield +Replaced State::_glExtensions initialization to be consistent with master, enabling sharing of GLExtension data structure. - * src/osgText/TextBase.cpp: From Farshid Lashkari, "I've modified - some setter methods of TextBase to avoid unnecessary calls to - computeGlyphRepresentation() if the value has not changed." +Wed, 26 Jul 2017 11:08:46 +0100 +Checked in by : Robert Osfield +Moved State::initializeExtensionProcs() nearer top of source file to make the position consistent with change in position in master, making it easier to diff between them. -2015-06-11 08:44 robert +Tue, 25 Jul 2017 15:58:27 +0100 +Checked in by : Robert Osfield +Merged GLExtension deletion mechanism from master to avoid GLEXtension being deleted when shared contexts are used and osg::State is deleted when a context is deleted. - * include/osg/GLDefines: Reverted the typdef GLfloat GLdouble for - Andoid as this was causing conflicts. +Tue, 25 Jul 2017 14:45:20 +0100 +Checked in by : OpenSceneGraph git repository +Merge pull request #272 from psyinf/msvc_static_buildMsvc static build -2015-06-10 18:22 robert +Fri, 21 Jul 2017 13:12:38 +0200 +Checked in by : Sebastian Messerschmidt +FIX: missing change in ENDIF - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS file for - 3.3.8 dev release +Fri, 21 Jul 2017 11:06:22 +0200 +Checked in by : Sebastian Messerschmidt +FIX: attempting to install pdb-files for static targets caused failing INSTALL -2015-06-10 16:48 robert +Mon, 17 Jul 2017 16:46:16 +0100 +Checked in by : Anna Sokol +Since version 2.5.1 freetype has supported the WOFF extension format. In the attached ReaderWriterFreeType.cpp file I added the following line: supportsExtension("woff","web open font format"); - * CMakeModules/FindOpenEXR.cmake: From Laurens Voerman, "attached - is a zip with the files: - - OpenSceneGraph\CMakeModules\FindOpenEXR.cmake - - I introduced a bug in the previous submission pointed out by - Dmitry Marakasov: - looking for IlmIlf instead of IlmImf (as the previous version did - - but using variable OPENEXR_IlmIlf_LIBRARY) - - For some reason google decided his message was spam, so I just - noticed it, and I reply to confirm his remarks and attach a full - file. - - " -2015-06-10 16:47 robert +Tue, 20 Jun 2017 09:35:49 +0100 +Checked in by : Robert Osfield +Pulled in .gitignore from master - * src/osg/GLExtensions.cpp, src/osg/Texture.cpp: From Colin - McDonald, "An earlier fix in OSG 3.2 has been inadvertently lost - in 3.3.x. The glGenerateMipMap function is part of the - GL_EXT_framebuffer_object extension. Just checking if the - function is present before using it for texture mipmaps is not - sufficient, as on remote X-windows displays the client side - capability may be different from the display server. This can - lead to mipmapped textures failing to render. I've restored a fbo - extension check. I've also tided up the GL version checking a - little." +Tue, 16 May 2017 15:40:10 +0100 +Checked in by : Robert Osfield +Backported GLES compatible shaders into ShaderGen -2015-06-10 10:00 robert +Tue, 16 May 2017 15:04:59 +0100 +Checked in by : Robert Osfield +Backported GL2/3, GLES2/3 compatible Text and StatsHandler shaders to OSG-3.4 - * src/osgGA/NodeTrackerManipulator.cpp: From Philippe Renon, "Fixed - potential divide by zero in NodeTrackerManipulator : The divide - by zero happens when throwing a NodeTrackerManipulator. - The infinite result trickles down and later causes NaN in - culling. - - The fix was to use getThrowScale() as done everywhere else." +Mon, 29 May 2017 12:20:31 +0100 +Checked in by : Robert Osfield +Added TimeMultiplier and LoopingMode to ImageSequence .osg serializer -2015-06-09 16:49 robert +Thu, 25 May 2017 13:29:42 +0100 +Checked in by : Robert Osfield +Improved the DrawElements selction - * CMakeLists.txt, include/osgDB/Serializer, - src/osgWrappers/serializers/osg/Camera.cpp: Added supoort for - osg::CullSettings/Camera::InheritanceMaskActionOnAttributeSetting - and InheritanceMask properties. +Thu, 25 May 2017 10:53:00 +0100 +Checked in by : Robert Osfield +Added handlng of Text with large number of characters -2015-06-09 12:51 robert +Thu, 25 May 2017 10:41:12 +0100 +Checked in by : Robert Osfield +Replaced osg::DrawElementeUInt usage for a more flexible DrawElements base class approach with the default set to DrawElementUShort to ensure compatibility with GLES2 implementes that don't support uint for glDrawElements. - * include/osg/GLDefines: Added namespace around typedef to avoid - conflict issues +Tue, 16 May 2017 12:32:41 +0100 +Checked in by : Robert Osfield +Addded a GLES2 compatible osgmovie shader -2015-06-09 10:49 robert +Wed, 10 May 2017 11:08:27 +0100 +Checked in by : OpenSceneGraph git repository +Merge pull request #251 from emminizer/OpenSceneGraph-3.4osgText::Glyph: Explicitly set GL_TEXTURE_MIN_FILTER to address disap… - * include/osg/Node, include/osg/NodeVisitor, include/osg/Object, - include/osg/StateAttribute, include/osg/Uniform, - src/osg/Callback.cpp: Introduce osg::Object::asNode(), - asNodeVisitor(), asStateAttribute() and asUniform() to replace - dynamic_cast<> usage in Callback.cpp. +Tue, 25 Apr 2017 07:22:16 -0400 +Checked in by : Daniel Emminizer +osgText::Glyph: Explicitly set GL_TEXTURE_MIN_FILTER to address disappearing glyphs on some Intel cards. -2015-06-09 09:44 robert +Mon, 24 Apr 2017 10:38:02 +0100 +Checked in by : Alexander Roan +GLExtenstions: fix checking of isFrameBufferObjectSupported flag for GLES2 - * examples/osghud/osghud.cpp: Added output of HUD scene graph to - hud.osgt and hud.osgb for testing purposes. +Tue, 18 Apr 2017 15:53:48 +0100 +Checked in by : Konstantin S. Matveyev +Fixes glyphs's MODELVIEW matrices (positions, scales etc.) if state.getUseModelViewAndProjectionUniforms() is true -2015-06-08 11:33 robert +Mon, 13 Mar 2017 14:27:08 +0000 +Checked in by : OpenSceneGraph git repository +Merge pull request #214 from LaurensVoerman/submit-3.4serializerParticlefix bug in osgb/osgt/osgx readerwriter osgParticle - * AUTHORS.txt, ChangeLog: Updated AUTHORS and ChangeLog for dev - release +Sat, 11 Mar 2017 11:38:18 +0000 +Checked in by : OpenSceneGraph git repository +Merge pull request #210 from scrawl/programfix_backportBackport state leak fix to 3.4 branch -2015-06-08 11:18 robert +Tue, 21 Feb 2017 21:55:05 +0100 +Checked in by : Nico Kruithof +Fixed typoosg_ModeViewMatrix -> osg_ModelViewMatrix - * include/osgDB/Options, src/osgDB/DatabasePager.cpp, - src/osgDB/Options.cpp: From Mike Connell, "Give ReadFileCallback - access to parent location : These small changes to the database - pager allow user code in the ReadFileCallback to safely determine - where the file being loaded is destined to be inserted into the - scenegraph. - " -2015-06-08 10:20 robert +Mon, 6 Mar 2017 15:33:22 +0100 +Checked in by : Laurens Voerman +fix bug in osgb/osgt/osgx readerwriter causing the osgParticle-SizeInterpolator and -ColorInterpolator to dissapear - * src/osgUtil/SceneView.cpp: Addressed race condition where - SceneView::setLightingMode() was setting a shread Master Camera's - StateSet. - -2015-06-07 11:13 robert +Wed, 21 Dec 2016 11:02:29 +0000 +Checked in by : Robert Osfield +Changed Program::apply() to Program::compileGLObjects() to avoid the Program::apply() setting of setLastAppliedProgramObjects for affect current state. - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Fixed setReferenceTime() bug where a * eather than the correct / - was being used. Bug and fix suggested Benjamin Richter. - -2015-06-04 09:35 robert +Wed, 8 Feb 2017 14:54:08 +0000 +Checked in by : OpenSceneGraph git repository +Merge pull request #199 from scrawl/statefix_backportBackport State fix to 3.4 branch - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Updated AUTHORS for dev release - -2015-06-04 09:13 robert - - * src/osg/Transform.cpp: From Jannik Heller, - Transform::computeBound() optimization. - -2015-06-04 09:05 robert - - * include/osgViewer/ViewerEventHandlers: From Jannik Heller, - Removed unused StatsHandler::_keyEventToggleVsync - -2015-06-04 09:00 robert - - * include/osgAnimation/UpdateUniform: From Jannik Heller, "In the - attachment you will find a build fix for the latest trunk. - osgAnimation failed to compile when using - OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION=OFF ." - -2015-06-03 10:28 robert - - * include/osgAnimation/UpdateUniform: Removed export that was - breaking windows build - -2015-06-03 09:14 robert - - * include/osgAnimation/UpdateUniform, - src/osgAnimation/CMakeLists.txt, - src/osgWrappers/serializers/osgAnimation/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateFloatUniform.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateMatrixfUniform.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateVec3fUniform.cpp: - From KOS, "New classes for osgAnimation presented: - UpdateFloatUniform, UpdateVec3fUniform and UpdateMatrixfUniform - (based on UpdateUniform template) - - - Classes operate like osgAnimation::UpdateMaterial for Material's - diffuse component, but change Uniform." - -2015-06-03 09:07 robert - - * examples/osggeometryshaders/osggeometryshaders.cpp, - examples/osgparametric/osgparametric.cpp, - examples/osgshaders/GL2Scene.cpp, - examples/osgsimpleshaders/osgsimpleshaders.cpp, - examples/osgtransformfeedback/osgtransformfeedback.cpp: From KOS, - build fix for osg::Uniform::Callback to osg::UniformCallback - change - -2015-06-03 09:06 robert - - * include/osg/Uniform: Added doxygen comment for typedef - -2015-06-03 08:38 robert - - * src/osgWrappers/serializers/osg/Uniform.cpp: Build fix for when - Uniform::Callback isn't defined - -2015-06-02 10:25 robert - - * src/osgWrappers/serializers/osg/UniformCallback.cpp: From - Konstantin Matveyev, serializer support for UniformCallback - -2015-06-02 09:33 robert - - * include/osg/Callback, include/osg/CopyOp, include/osg/Uniform, - src/osg/Callback.cpp, src/osg/CopyOp.cpp, src/osg/StateSet.cpp, - src/osg/Uniform.cpp, - src/osgWrappers/deprecated-dotosg/osg/Uniform.cpp, - src/osgWrappers/serializers/osg/LibraryWrapper.cpp: From - Konstantin Matveyev, "I've changed osg::Uniform::Callback to - osg::UniformCallback. - osg::UniformCallback inherits osg::Callback now. - - I don't really now if this class should be inside - osgWrappers/serializers - because StateAttributeCallback is not presented there, but i've - included it in the patch. - - - Please see archive in the attachment. - - - PS - DEEP_COPY_UNIFORMS works for me. - " - Note from Robert Osfield, added typedef UniformCallback Callback - for backwards compatibility. - -2015-06-02 09:18 robert - - * examples/osguniformbuffer/osguniformbuffer.cpp: Changed name of - UniformCallback to UniformBufferCallback to avoid conflict with - changes to come to the osg::Uniform::Callback -> - osg::UniformCallback. - -2015-06-01 13:40 robert - - * include/OpenThreads/Thread, include/osg/BoundsChecking, - include/osg/Geometry, include/osg/Image, include/osg/ImageUtils, - include/osg/Object, include/osg/TransferFunction, - include/osg/observer_ptr, include/osg/ref_ptr, - include/osgDB/ClassInterface, include/osgDB/ExternalFileWriter, - include/osgDB/ReaderWriter, include/osgGA/GUIActionAdapter, - include/osgManipulator/Dragger, - include/osgParticle/ConnectedParticleSystem, - include/osgShadow/ViewDependentShadowTechnique, - include/osgTerrain/TerrainTile, include/osgText/Glyph, - include/osgUI/Widget, include/osgUtil/SceneGraphBuilder, - include/osgWidget/Widget, - src/OpenThreads/pthreads/PThreadBarrier.cpp, - src/OpenThreads/pthreads/PThreadMutex.cpp, - src/OpenThreads/win32/Win32Thread.cpp, src/osg/ImageUtils.cpp, - src/osg/Sequence.cpp, src/osg/ShadowVolumeOccluder.cpp, - src/osg/TexGen.cpp, src/osg/Texture1D.cpp, src/osg/Texture2D.cpp, - src/osg/Texture2DArray.cpp, src/osg/Texture3D.cpp, - src/osg/TextureCubeMap.cpp, src/osg/TextureRectangle.cpp, - src/osg/Uniform.cpp, src/osgAnimation/RigGeometry.cpp, - src/osgDB/DynamicLibrary.cpp, src/osgDB/FileNameUtils.cpp, - src/osgDB/FileUtils.cpp, src/osgDB/Registry.cpp, - src/osgDB/XmlParser.cpp, src/osgManipulator/Dragger.cpp, - src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/Inventor/ConvertToInventor.cpp, - src/osgPlugins/QTKit/OSXCoreVideoTexture.cpp, - src/osgPlugins/ac/ac3d.cpp, - src/osgPlugins/avfoundation/OSXAVFoundationCoreVideoTexture.cpp, - src/osgPlugins/cfg/VisualChooser.cpp, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeReader.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/directshow/DirectShowTexture.cpp, - src/osgPlugins/dxf/DXFWriterNodeVisitor.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/gif/ReaderWriterGIF.cpp, - src/osgPlugins/gles/ReaderWriterGLES.cpp, - src/osgPlugins/ive/Material.cpp, - src/osgPlugins/jpeg/EXIF_Orientation.cpp, - src/osgPlugins/ktx/ReaderWriterKTX.cpp, - src/osgPlugins/las/ReaderWriterLAS.cpp, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/lwo/Object.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/ply/plyfile.cpp, - src/osgPlugins/ply/vertexData.cpp, - src/osgPlugins/pov/POVWriterNodeVisitor.cpp, - src/osgPlugins/quicktime/ReaderWriterQT.cpp, - src/osgPlugins/tiff/ReaderWriterTIFF.cpp, - src/osgPlugins/trans/ReaderWriterTRANS.cpp, - src/osgPlugins/txf/TXFFont.cpp, - src/osgPlugins/txp/TXPPagedLOD.cpp, - src/osgPlugins/txp/TileMapper.cpp, - src/osgPlugins/txp/trpage_geom.cpp, - src/osgPlugins/txp/trpage_readbuf.cpp, - src/osgPlugins/txp/trpage_warchive.cpp, - src/osgPlugins/zip/unzip.cpp, - src/osgPresentation/KeyEventHandler.cpp, - src/osgPresentation/PickEventHandler.cpp, - src/osgPresentation/SlideEventHandler.cpp, - src/osgShadow/ConvexPolyhedron.cpp, - src/osgShadow/MinimalShadowMap.cpp, src/osgShadow/ShadowMap.cpp, - src/osgShadow/StandardShadowMap.cpp, - src/osgShadow/ViewDependentShadowMap.cpp, - src/osgSim/InsertImpostorsVisitor.cpp, src/osgSim/Sector.cpp, - src/osgText/GlyphGeometry.cpp, src/osgText/TextBase.cpp, - src/osgUtil/DelaunayTriangulator.cpp, src/osgUtil/Optimizer.cpp, - src/osgUtil/RenderStage.cpp, src/osgUtil/Simplifier.cpp, - src/osgViewer/CompositeViewer.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/Viewer.cpp, - src/osgWidget/Box.cpp, src/osgWidget/StyleManager.cpp, - src/osgWidget/Window.cpp: From Albert Luaces, typo fixes. - -2015-06-01 13:11 robert - - * CMakeModules/FindSDL2.cmake, - applications/present3D/present3D.cpp, - examples/osgcluster/osgcluster.cpp, - examples/osgdepthpeeling/DePee.h, - examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp, - examples/osgparticleeffects/osgparticleeffects.cpp, - examples/osgscribe/osgscribe.cpp, - examples/osgtexture2D/osgtexture2D.cpp, - examples/osgunittests/UnitTestFramework.h, - examples/osgvolume/osgvolume.cpp, include/osg/GraphicsContext, - include/osg/StateAttribute, include/osg/Texture2DArray, - include/osg/Texture3D, include/osg/TextureCubeMap, - include/osg/Timer, include/osg/TransferFunction, - include/osg/Uniform, include/osgAnimation/RigTransformSoftware, - include/osgDB/DatabasePager, include/osgDB/ExternalFileWriter, - include/osgDB/Registry, include/osgSim/ScalarBar, - include/osgViewer/View, src/osg/BufferObject.cpp, - src/osg/GraphicsContext.cpp, src/osg/Notify.cpp, - src/osg/OperationThread.cpp, src/osg/Texture.cpp, - src/osg/dxtctool.h, src/osgDB/FileUtils.cpp, - src/osgDB/ImagePager.cpp, src/osgGA/StateSetManipulator.cpp, - src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/ac/ac3d.cpp, src/osgPlugins/cfg/RenderSurface.h, - src/osgPlugins/zip/unzip.cpp, src/osgPresentation/Timeout.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/IntersectVisitor.cpp, - src/osgUtil/RenderBin.cpp, src/osgUtil/SceneView.cpp: From Jannik - Heller, typo fixes - -2015-06-01 12:14 robert - - * src/osgParticle/ParticleProcessor.cpp: From Jannik Heller, "This - patch adds a missing initialization of - osgParticle::ParticleProcessor::_frameNumber in the copy - constructor. - I noticed this because valgrind was complaining about use of - uninitialized memory." - -2015-06-01 12:07 robert - - * include/osgDB/ObjectWrapper, src/osgDB/ObjectWrapper.cpp: From - Frashud Lashkari, "I was getting "Unsupported wrapper class..." - error messages when attempting to load osgb models simultaneously - from multiple threads. I believe the problem is caused by - un-synchronized access to the global osgDB::ObjectWrapperManager - class. I've attached a change that adds a mutex to the class and - uses it when accessing the internal wrapper/compress maps. This - appears to fix the issues I was having." - -2015-06-01 10:50 robert - - * include/osg/Texture, include/osg/Texture2D, src/osg/Texture.cpp, - src/osg/Texture1D.cpp, src/osg/Texture2D.cpp, - src/osg/Texture2DArray.cpp, src/osg/Texture2DMultisample.cpp, - src/osg/Texture3D.cpp, src/osg/TextureBuffer.cpp, - src/osg/TextureCubeMap.cpp, src/osg/TextureRectangle.cpp, - src/osgText/Glyph.cpp: From Jannik Heller, "I have added new - functions Texture::generateAndAssignTextureObject mirroring the - Texture::generateTextureObject functions. - - I have left the Texture::generateTextureObject functions intact - as I'm not sure if/how it's used outside the core OSG. If you - feel that compatibility isn't important in that area feel free to - drop it. - - While testing the build with - OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION=OFF I found a compile - error in GlyphGeometry.cpp that was entirely unrelated to the - changes I've made. The fix is included in the patch. - - There is one thing left to fix and that is - Texture2D::SubloadCallback: - - class OSG_EXPORT SubloadCallback : public Referenced - { - public: - .... - virtual TextureObject* generateTextureObject(const Texture2D& - texture, State& state) const - { - return osg::Texture::generateTextureObject(&texture, - state.getContextID(), GL_TEXTURE_2D); - } - ... - }" - - -2015-06-01 10:41 robert - - * src/osgText/GlyphGeometry.cpp: From Jannik Heller, build fix - -2015-05-29 07:52 robert - - * include/osg/BufferObject, src/osg/BufferObject.cpp: From Jannik - Heller, fix for race condition in orphanded BufferObject - handling. - -2015-05-26 17:24 robert - - * src/osgUtil/MeshOptimizers.cpp: From Colin McDonald, - "rc/osgUtl/MeshOptimizers.cpp won't compile on some systems due - to a missing std:: namespace prefix." - -2015-05-26 17:22 robert - - * src/osgUtil/SceneView.cpp: From Farshid Lashkari, "attached a - small change to osgUtil::SceneView that prevents unnecessary - calls to glClear when the split stereo separation is 0." - -2015-05-26 17:17 robert - - * src/osgDB/ClassInterface.cpp: From Thomas Hogarth, "Little fix - for ClassInterface::getSupportedProperties, before if you set - searchAssociates to false then it would return the same - BaseSerialiser::Type for every entry in the PropertyMap as i was - not being incremented on line 539. Fix attached." - -2015-05-26 17:12 robert - - * src/osgUtil/RenderStage.cpp: From We See, "I found a small bug in - osgUtil::RenderStage::draw() (osg 3.3.7), which crashes osg. The - problem was caused by an access to the object _camera without - checking whether the object is valid. So I changed the line: - - Code: - if (_cameraRequiresSetUp || - (_cameraAttachmentMapModifiedCount!=_camera->getAttachmentMapModifiedCount())) - - to - - Code: - if (_cameraRequiresSetUp || (_camera.valid() && - _cameraAttachmentMapModifiedCount!=_camera->getAttachmentMapModifiedCount())) - " - -2015-05-26 17:09 robert - - * src/osgUtil/CullVisitor.cpp: From Farshid Lashkari and Robert - Osfield, "a small change to the CullVisitor class, which will use - cloneType() on the root render stage when creating children - render stages. This allows us to pass a custom RenderStage object - to the SceneView and have it used for all sub-stages." - -2015-05-26 10:05 robert - - * examples/osgtext3D/TextNode.cpp, - examples/osgtext3D/osgtext3D.cpp, include/osgText/Style, - src/osgText/Glyph.cpp, src/osgText/GlyphGeometry.cpp, - src/osgText/GlyphGeometry.h, src/osgText/Style.cpp: Rewrote the - Text3D bevel implementation to automatically adjust bevel - thickness to avoid overalapping and erronous tesselation. - - Added osgText::Bevel::s/getRoundedConcaveJunctions(bool) to - control how the bevel should be tessellated around concave - junctions on the glyph boundary. - -2015-05-26 08:48 robert - - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Added use of ref_ptr<> - -2015-05-25 12:39 robert - - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Changed the EventQueue::frame() event generation to use the - generatePointerData/reprojectPointerData() methods in the same - way that other events are handled. - -2015-05-25 11:33 robert - - * include/osgGA/EventQueue, src/osgGA/EventQueue.cpp: Added - osgGA::GUIEventAdapter* returns from various EventQueue event - generation methods. +Wed, 29 Jun 2016 16:53:26 +0200 +Checked in by : Julien Valentin +fix in StateSet.cpp the State::DefineMap::changed flag is not resetted to false after currentDefines are updated -2015-05-21 14:11 robert +Tue, 24 Jan 2017 17:36:36 +0000 +Checked in by : Robert Osfield +Fixed linking bug caused by repeated Program::addShader()/removeShader() operations invalidating the internal attach/dettech lists. - * src/osgText/Text3D.cpp: Fixed memory error associated with - reading over the end of container due to an unbounded while loop. +Fri, 20 Jan 2017 17:31:09 +0000 +Checked in by : Robert Osfield +Quitened down verbose debug messages -2015-05-06 18:39 robert +Fri, 20 Jan 2017 17:06:55 +0000 +Checked in by : Robert Osfield +Quietened down some verbose debug messages - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Update ChangeLog and AUTHORS file +Thu, 19 Jan 2017 15:56:17 +0000 +Checked in by : Robert Osfield +Fixed indentation of comment -2015-05-05 11:05 robert +Wed, 4 Jan 2017 12:55:15 +0000 +Checked in by : Robert Osfield +Fixed unitialized variable access to premature calling of computeMatrix(). - * CMakeLists.txt: Changed the CMP0020 check to > 2.8.10 - Updated SO version number +Fri, 23 Dec 2016 17:16:16 +0000 +Checked in by : Robert Osfield +From Hartwig Wiesmann, "ScalarsToColors returns a wrong color in case a value larger max is passed to getColor" -2015-04-30 14:04 robert +Wed, 21 Dec 2016 17:02:05 +0000 +Checked in by : Robert Osfield +From Torben Dannhauer, build updates for NVTT. - * include/osg/GLDefines: From Christian Kehl, changes for making - osgAndroid working with GLES1 enabled +Wed, 21 Dec 2016 16:35:10 +0000 +Checked in by : Robert Osfield + From Torben Dannahauer, updates to track changes to Winddows 3rd party package -2015-04-30 13:59 robert +Wed, 21 Dec 2016 15:33:02 +0000 +Checked in by : Robert Osfield +From Torben Dannhauer, "When compiling OSG with DCMTK on windows, it throws an compiler error due to a missing ws2_32.lib in the linker settings." - * src/osgViewer/GraphicsWindowWin32.cpp: From Dmitriy Ogalcev, fix - for crash when calling setCursor from a non GUI thread +Wed, 21 Dec 2016 11:40:16 +0000 +Checked in by : Robert Osfield +From Andreas Ekstrand, "he attached ESRIShape.cpp contains a small fix in parsing of PointZ features, now correctly comparing with header content length which is defined in 16-bit words.This should have been fixed in my old submission from 2012 but was probably overlooked due to an alternative way of comparing to a fix number for this feature type. -2015-04-28 16:12 robert +Without this fix, the plugin will only read one PointZ feature even if multiple features exist." - * include/osgShadow/MinimalShadowMap, - src/osgShadow/MinimalShadowMap.cpp: Replaced attempt at passing - NULL Matrix with two specialized methods. -2015-04-27 19:31 robert +Wed, 21 Dec 2016 09:10:50 +0000 +Checked in by : Robert Osfield +Added StateSet::setGlobalDefaults() to fix bug when osgViewer has stats on but no scene graph assigned - * include/osg/LineSegment, src/osg/LineSegment.cpp: Renamed - LineSegment::intersect(BoundingSphere/Box, double/float&, - double/float&) methods to - LineSegment::intersectAndComputeRations(..) to avoid confusion - with the change in convention for - the old intersect(BoundingBox&, float/double&, float/double&) - method as it was inconsitent with the rest of the OSG including - the intersect(BoundingSphere) method in how the ratio for the - second intersection was measure from - original from the end - point, but now made consistent with other places in the OSG so be - based on ration from start to end of segment. +Mon, 31 Oct 2016 16:11:20 +0000 +Checked in by : Robert Osfield +Fixed handling of #define's that are used as functions -2015-04-23 14:44 robert +Wed, 30 Nov 2016 17:15:06 +0000 +Checked in by : Robert Osfield +Added GL_EXT_texture_border_clamp support for GLES - * src/osgText/GlyphGeometry.cpp: Refactoring GlyphGeometry Boundary - class to facilate better bevel overlap detection +Sat, 26 Nov 2016 01:09:13 +0100 +Checked in by : scrawl +Fix typo in StateSet::compileGLObjects, causing compilation of attributes to not be executed unless checkForGLErrors is true. -2015-04-23 12:58 robert +Wed, 23 Nov 2016 19:18:14 +0000 +Checked in by : Robert Osfield +Fixed crash in handling of osg::Callback attached as Drawable update callback. Added handling of osg::Callback as a Drawable cull callback - * examples/osgtext/osgtext.cpp: Comment out debug notification +Fri, 11 Nov 2016 17:16:40 +0000 +Checked in by : Robert Osfield +Added Dragger::applyAppropriateFrontFace(StateSet*) to make it easy to handle inverted matrices by toggling the FrontFace to sure the correct face is visible. -2015-04-23 09:49 robert +Fri, 11 Nov 2016 13:54:54 +0000 +Checked in by : Robert Osfield +Merge branch 'OpenSceneGraph-3.4' of https://github.com/openscenegraph/OpenSceneGraph into OpenSceneGraph-3.4 - * src/osgText/GlyphGeometry.cpp: Removed unused method +Fri, 11 Nov 2016 13:54:15 +0000 +Checked in by : Robert Osfield +Fixed handling of Locator's with negative extents -2015-04-22 14:25 robert +Thu, 3 Nov 2016 11:31:07 +0000 +Checked in by : Robert Osfield +Added check against binding type of array to decide whether it's appropriate to assign array to VBO. - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Giampaolo Vigano, - "please find attached a further fix for 3ds plugin: now - reflection map works also with transparent objects (I also - removed a redundant setting of BlendFunc)." +Wed, 12 Oct 2016 17:23:19 +0100 +Checked in by : Robert Osfield +Changed appending of \n to be to the version line. -2015-04-21 17:29 robert +Mon, 10 Oct 2016 11:21:28 +0100 +Checked in by : Robert Osfield +From Torben Dannhauer, added freetype27 (2.7) to search list - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/lib3ds/lib3ds_util.c: From Chris Denham, "I - found a couple of memory leaks in 3DS reader plugin and I have - attached corrected files. I have attached an example 3DS file I - used to test the leaks/fixes using osgviewer for trunk at rev - [14853] and the tagged version 3.2.1. - - The first leak is in the lib3ds module (yeah, I know that - probably should be corrected at http://code.google.com/p/lib3ds/ - but I'm assuming that as no commits have happened there since - 2011 that it may be better to fix the copy we have in the OSG of - that project) The leak is caused by lib3d's use of realloc(ptr, - 0) to free up memory allocations, but realloc, when ptr==NULL - returns malloc(0) rather than NULL and thus leaks a zero byte - allocation. The solution here was to adjust the - 'lib3ds_util_reserve_array' function so that it realloc is not - used to release a NULL pointer. - - The second leak is in ReaderWriter3DS.cpp and arises when any of - the created StateSet objects added to the StateSetMap don't - subsequently get applied to a Node. The solution here was just to - simply use the osg::ref_ptr around the raw StateSet pointer that - was used in the locally defined StateSetInfo struct." +Thu, 6 Oct 2016 17:15:25 +0200 +Checked in by : Laurens Voerman +remove CMAKE_BUILD_TYPE STREQUAL "Release" (cmake configure time varable) to select pdb install - select CONFIGURATIONS RelWithDebInfo Debug -2015-04-20 10:41 robert +Thu, 6 Oct 2016 14:21:07 +0200 +Checked in by : Laurens Voerman +fix bug in SmoothingVisitor tripped by bunny.ply - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Updated AUTHORS +Thu, 22 Sep 2016 14:33:03 +0100 +Checked in by : Robert Osfield +Replaced local static usage to avoid threading and mulit-context issues -2015-04-20 10:36 robert +Wed, 10 Aug 2016 14:12:27 +0100 +Checked in by : Anish Thomas +GLSL 1.3 support for vertex-attrib aliasing - * examples/osgmanipulator/osgmanipulator.cpp: Build fix +Mon, 15 Aug 2016 12:56:57 +0100 +Checked in by : Robert Osfield +Fixed handling in osgUtil::IncrementalCompileOperation/CompileSet/StateToCompile when the _markerObject is NULL. -2015-04-20 10:19 robert +Sun, 31 Jul 2016 14:57:11 +0100 +Checked in by : Robert Osfield +Merge branch 'OpenSceneGraph-3.4' of https://github.com/openscenegraph/OpenSceneGraph into OpenSceneGraph-3.4 - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: Build fix +Sun, 31 Jul 2016 14:00:30 +0100 +Checked in by : Robert Osfield +Added FT_LOAD_NO_HINTING -2015-04-20 09:39 robert +Tue, 28 Jun 2016 18:39:12 +0100 +Checked in by : Robert Osfield +Revert "corrected syntax error in src/osgPlugins/fbx/ReaderWriterFBX.cpp"This reverts commit 7a1324800ffe3e4ddd9d7fb475f0323da6fe2f43. - * src/osg/State.cpp: 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 +Sun, 31 Jul 2016 11:06:51 +0100 +Checked in by : Robert Osfield +Fixed build error reported on gcc 4.6.4/Ubuntu 12.04 32bit, issue #108 - * include/osgUtil/MeshOptimizers: From Tim Moore, "The - order_by_primitive_mode comparer was not providing a strict weak - ordering, which was causing a crash in the sort() call in - VertexAccessOrderVisitor::optimizeOrder (gcc 4.9, Fedora 21)." +Sun, 19 Jun 2016 21:07:37 +0700 +Checked in by : Thao Le +corrected syntax error in src/osgPlugins/fbx/ReaderWriterFBX.cpp -2015-04-17 14:36 robert +Fri, 10 Jun 2016 12:44:26 +0100 +Checked in by : Robert Osfield +Fixed invalidated iterator bug pick up by Coverity. - * CMakeLists.txt: Updated dev release number +Thu, 9 Jun 2016 14:33:05 +0100 +Checked in by : Robert Osfield +Copied over .travis.yml file to 3.4 branch to add build testing -2015-04-17 13:33 robert +Thu, 9 Jun 2016 14:10:02 +0100 +Checked in by : Mathieu MARACHE +Build fix for VS. - * include/osgManipulator/AntiSquish: Added implementations for the - libraryName and className for the AntiSquish node. - -2015-04-17 13:24 robert - - * src/osg/Node.cpp: Fixed CollectParentPaths visitor so that it - sets the setNodeMaskOverride(0xffffffff) to make sure all parents - are traversed to find parents, even ones that have their NodeMask - set to 0x0. - -2015-04-17 13:22 robert - - * examples/osgmanipulator/osgmanipulator.cpp: Added --test-NodeMask - option to test crash when a parent of osgmanipulator::AntiSquish - node has a NodeMask set to 0x0. - -2015-04-16 11:19 robert - - * src/osgPlugins/osgjs/json_stream: Changed MSVC version test to <= - to enable fallback for VS2010. - -2015-04-16 10:07 robert - - * src/osgManipulator/AntiSquish.cpp: Fixed crash when AntiSquish - node is the root of the scene graph. - -2015-04-15 18:34 robert - - * ChangeLog: Updated ChangeLog - -2015-04-15 18:05 robert - - * CMakeLists.txt: Updated version number of dev release - -2015-04-15 17:12 robert - - * src/osgPlugins/gles/LineIndexFunctor: Added missing const to find - VS2005 build - -2015-04-14 18:16 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: Added check for changes to - window size during GraphicsWindowWin32::init() to fix bug that - occurs when the window manage resizes the window automatically on - creation. - -2015-04-14 15:50 robert - - * src/osgPlugins/osgjs/JSON_Objects: From Philippe Renon, MingW - build fix - -2015-04-13 11:48 robert - - * examples/osgprerender/osgprerender.cpp, - examples/osgprerendercubemap/osgprerendercubemap.cpp, - include/osg/Camera, src/osgSim/ElevationSlice.cpp, - src/osgUtil/RenderStage.cpp, - src/osgWrappers/deprecated-dotosg/osg/Camera.cpp, - src/osgWrappers/serializers/osg/Camera.cpp: Fixed typo of - SEPARATE enums - -2015-04-13 10:43 robert - - * CMakeModules/FindFFmpeg.cmake, CMakeModules/OsgMacroUtils.cmake, - applications/osgconv/osgconv.cpp, - applications/osgversion/osgversion.cpp, - applications/present3D/Cluster.cpp, - applications/present3D/present3D.cpp, - examples/osg2cpp/osg2cpp.cpp, - examples/osganimationsolid/osganimationsolid.cpp, - examples/osganimationtimeline/osganimationtimeline.cpp, - examples/osgautocapture/osgautocapture.cpp, - examples/osgbillboard/osgbillboard.cpp, - examples/osgcamera/osgcamera.cpp, examples/osgclip/osgclip.cpp, - examples/osgcopy/osgcopy.cpp, - examples/osgdistortion/osgdistortion.cpp, - examples/osggeometry/osggeometry.cpp, - examples/osgparticleshader/osgparticleshader.cpp, - examples/osgreflect/osgreflect.cpp, - examples/osgshadercomposition/osgshadercomposition.cpp, - examples/osgtexture2DArray/osgtexture2DArray.cpp, - examples/osgtexture3D/osgtexture3D.cpp, - examples/osgwindows/osgwindows.cpp, include/OpenThreads/Thread, - include/osg/Billboard, include/osg/BoundingSphere, - include/osg/BufferIndexBinding, include/osg/BufferTemplate, - include/osg/ImageSequence, include/osg/ScriptEngine, - include/osg/Shader, include/osg/Shape, include/osg/State, - include/osg/StateSet, include/osg/ValueObject, - include/osgAnimation/Action, include/osgAnimation/RigGeometry, - include/osgDB/Callbacks, include/osgManipulator/Dragger, - include/osgPresentation/SlideEventHandler, - include/osgShadow/OccluderGeometry, - include/osgShadow/ViewDependentShadowMap, - include/osgUtil/Optimizer, include/osgWidget/EventInterface, - src/OpenThreads/pthreads/PThreadBarrierPrivateData.h, - src/osg/Referenced.cpp, src/osg/Shader.cpp, src/osg/State.cpp, - src/osg/Uniform.cpp, src/osgGA/CameraManipulator.cpp, - src/osgPlugins/txp/trpage_geom.h, - src/osgPlugins/txp/trpage_pparse.cpp, - src/osgPlugins/txp/trpage_write.h, - src/osgPresentation/SlideEventHandler.cpp, - src/osgShadow/ConvexPolyhedron.cpp, - src/osgShadow/DebugShadowMap.cpp, - src/osgShadow/ShadowTechnique.cpp, - src/osgShadow/ShadowVolume.cpp, - src/osgShadow/ViewDependentShadowMap.cpp, src/osgViewer/View.cpp, - src/osgWrappers/serializers/osgManipulator/Dragger.cpp: From - Jannik Heller, typo fixes - -2015-04-13 10:11 robert - - * CMakeLists.txt, README.txt, src/osg/GL.in, - src/osgPlugins/imageio/ReaderWriterImageIO.cpp, - src/osgViewer/GraphicsWindowIOS.mm: From Konstantin Matveyev, - "I've added GLES3 profile, which also enables GLES2 features - (OSG_GLES3_AVAILABLE=true => OSG_GLES2_AVAILABLE=true). - - If OSG_OPENGL_PROFILE="GLES3" => - GraphicsWindowIOS will create gles3 context. - If failed, GraphicsWindowIOS will create gles2 context. - Multisampling also working. - - " - -2015-04-13 09:50 robert - - * CMakeModules/FindOpenEXR.cmake, - src/osgPlugins/exr/CMakeLists.txt: From Laurens Voerman, I have - modified the FindOpenEXR.cmake to find the debug libraries, and - to define a variable - (OPENEXR_LIBRARIES_VARS) with the variable names that might have - a _DEBUG version defined. - -2015-04-13 08:55 robert - - * examples/osgmanipulator/osgmanipulator.cpp: Added passing of - command line arguments to viewer construction to allow one to - specify extra controls for the viewer such as window size etc. - -2015-04-09 18:42 robert - - * include/osgManipulator/AntiSquish, - src/osgManipulator/AntiSquish.cpp: Refactored - AntiSquish::computeUnSquishedMatrix() method to use the parent - node path of the AntiSquish node - to compute the required matrix rather than using the NodePath - provided by the NodeVistor. This is required - as in osg::computeLocalToWorld() usage case the NodeVisitor - pointer is NULL, so the correct matrix isn't possible to compute. - -2015-04-09 18:38 robert - - * examples/osgmanipulator/osgmanipulator.cpp: Added - WindowSizeHandler to osgmanipulator example - -2015-04-07 18:01 robert - - * applications/present3D/present3D.cpp, - examples/osgclip/osgclip.cpp, - examples/osgkeystone/osgkeystone.cpp, - examples/osgmemorytest/osgmemorytest.cpp, - examples/osgocclusionquery/osgocclusionquery.cpp, - examples/osgposter/PosterPrinter.cpp, - examples/osgshadercomposition/oldshadercomposition.cpp, - examples/osgshadercomposition/osgshadercomposition.cpp, - examples/osgtexture1D/osgtexture1D.cpp, - examples/osgtexture2D/osgtexture2D.cpp, - examples/osgtexture3D/osgtexture3D.cpp, - examples/osgtransferfunction/osgtransferfunction.cpp, - include/OpenThreads/Thread, include/osg/Array, - include/osg/Callback, include/osg/Camera, - include/osg/CullSettings, include/osg/CullingSet, - include/osg/DisplaySettings, include/osg/GLU, - include/osg/GraphicsContext, include/osg/Image, - include/osg/ImageUtils, include/osg/Object, include/osg/State, - include/osg/UserDataContainer, include/osg/View, - include/osgDB/ClassInterface, - include/osgManipulator/Scale2DDragger, - include/osgPresentation/PropertyManager, - include/osgSim/LightPointNode, include/osgUtil/IntersectVisitor, - include/osgUtil/IntersectionVisitor, - include/osgUtil/LineSegmentIntersector, - include/osgUtil/PositionalStateContainer, - include/osgUtil/RayIntersector, include/osgUtil/TriStripVisitor, - include/osgViewer/CompositeViewer, - include/osgViewer/GraphicsWindow, include/osgViewer/Keystone, - include/osgViewer/View, include/osgViewer/Viewer, - include/osgViewer/ViewerBase, include/osgWidget/PdfReader, - include/osgWidget/VncClient, include/osgWidget/Window, - src/OpenThreads/pthreads/PThread.cpp, src/osg/Image.cpp, - src/osg/LightSource.cpp, src/osg/OcclusionQueryNode.cpp, - src/osg/Texture1D.cpp, src/osg/Texture2D.cpp, - src/osg/Texture2DMultisample.cpp, src/osg/TextureRectangle.cpp, - src/osgAnimation/Bone.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/pic/ReaderWriterPIC.cpp, - src/osgPlugins/tga/ReaderWriterTGA.cpp, - src/osgPlugins/txp/trpage_geom.h, src/osgText/String.cpp, - src/osgUtil/SceneView.cpp, src/osgViewer/View.cpp: From Jannik - Heller, typo fixes - -2015-04-07 16:58 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Giampaolo Viganò, - "you can find in the attached ZIP archive a fix for 3ds plugin - transparent/diffuse textures and opacity maps and the support for - reflection map" - -2015-04-07 15:53 robert - - * applications/osgconv/osgconv.cpp, - examples/osganalysis/osganalysis.cpp: From Janik Heller, clean up - of drawable/node usage - -2015-04-07 15:52 robert - - * examples/osggpucull/ShapeToGeometry.cpp, - examples/osggpucull/ShapeToGeometry.h: Removed unused - ShapesToGeometriesVisitor. - -2015-04-07 15:49 robert - - * include/osgUtil/Optimizer, src/osgDB/SharedStateManager.cpp, - src/osgGA/StateSetManipulator.cpp, src/osgUtil/Optimizer.cpp: - Cleaned up handling of Drawables so it utilizes the Node - inheritance properly. - -2015-04-03 15:43 robert - - * src/osgPlugins/stl/ReaderWriterSTL.cpp: Build fix for VS2005. - -2015-04-03 13:34 robert - - * include/osg/ImageUtils: Improved the doxygen comment for the new - createImageWithOrientationConversion(..) function. - -2015-04-03 13:29 robert - - * src/osgPlugins/jpeg/ReaderWriterJPEG.cpp: Added automatic - rotation of jpeg image based on EXIF rotation information - provided in the header. - -2015-04-03 13:19 robert - - * include/osg/ImageUtils, src/osg/ImageUtils.cpp: Implemented an - osg::createImageWithOrientationConversion(...) method to aid for - changing orientation of images. - -2015-04-02 16:11 robert - - * src/osgPlugins/jpeg/CMakeLists.txt, - src/osgPlugins/jpeg/EXIF_Orientation.cpp, - src/osgPlugins/jpeg/EXIF_Orientation.h, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp: Added reading of - EXIF_Orientation tags when present in a jpeg file. - -2015-04-02 10:12 robert - - * src/osgPlugins/osgjs/JSON_Objects, - src/osgPlugins/osgjs/json_stream: From Wojciech Lewandowski, - Windows build fixes, "These are the tweaks I had to make. - JSON_Objects / json_stream headers attached. I am not sure how - these will behave on VS 2010. Someone with VS 2010 should test - it. Should be okay on VS 2008 and below + VS 2012 and above, - though." - -2015-04-01 09:37 robert - - * src/osg/Image.cpp: From Lionel Largarde, "fix for the - Image::computeNumberOfMipmapLevels method. The method did use the - float version of the log function and the / operator. - It works for most of the input sizes, but fails for 8192, - 32768... - For 8192, the method returns 13 instead of 14." - -2015-03-31 19:31 robert - - * src/osg/Texture2DArray.cpp: Fixed crash when using a subload - callback, where the _images array is empty by _images[0] was - still being accessed. - -2015-03-31 19:29 robert +Thu, 9 Jun 2016 12:08:47 +0100 +Checked in by : Robert Osfield +Rewrote Window::setNextFocusable() to address a bug in the management of the search iterator. Covertiy reported bug "Undefined behavior may result; the program may crash or subtly misbehave. In osgWidget::​Window::​setNextFocusable(): An invalid or past-the-end iterator is being used." - * examples/osgtexture2DArray/osgtexture2DArray.cpp: Added --subload - command line option and test subload callback for testing - purposes +Thu, 9 Jun 2016 11:41:14 +0100 +Checked in by : Robert Osfield +Fixed "Using invalid iterator" bug in getTile() methods, detected by Covertity. -2015-03-31 16:23 robert +Fri, 3 Jun 2016 17:57:04 +0100 +Checked in by : Julien Valentin +Fixed little bug in DrawArraysLength (instancing not supported). Corrected PrimitiveSet.cpp in order DrawArraysLength can be instanced. It's the only pr missing code if (_numInstances>=1) glDrawXXXInstanced(...,_numInstances); else glDrawXXX(); - * examples/osgdistortion/osgdistortion.cpp, include/osg/Camera, - src/osg/Camera.cpp: Introduced osg::Camera::resize(..) method and - associated enum thus: - - enum ResizeMask - { - RESIZE_VIEWPORT=1, - RESIZE_ATTACHMENTS=2, - RESIZE_PROJECTIONMATRIX=4, - RESIZE_DEFAULT=RESIZE_VIEWPORT|RESIZE_ATTACHMENTS - }; - - /** Resize, to the specified width and height, the viewport, - attachments and projection matrix according to the resizeMask - provided. - * Note, the adjustment of the projection matrix is done if the - RESIZE_PROJECTIONMATRIX mask to set and according to the rules - specified in the ProjectionResizePolicy. */ - void resize(int width, int height, int - resizeMask=RESIZE_DEFAULT); +Wed, 1 Jun 2016 12:49:55 +0100 +Checked in by : Robert Osfield +Fixed missing " -2015-03-31 15:08 robert +Wed, 1 Jun 2016 11:41:10 +0100 +Checked in by : Robert Osfield +Added macosx10.11 to the list of supported OSX SDK's - * examples/osgdistortion/osgdistortion.cpp, include/osg/Camera, - src/osg/Camera.cpp: Introduced Camera::resizeAttachments(int - width, int height) to resize all the Texture and Image assigned - the the Camera attachments. +Wed, 1 Jun 2016 11:25:31 +0100 +Checked in by : Robert Osfield +Added in extra search paths for FBX -2015-03-31 10:41 robert +Wed, 1 Jun 2016 10:32:35 +0100 +Checked in by : Andreas Cadhalpun +Replace deprecated FFmpeg API to fix build with ffmpeg-3.0.x - * examples/osgdistortion/osgdistortion.cpp: Refactor the RTT Camera - resize code into a seperate Callback method in prep for this all - being done by a single Camera API call. +Wed, 6 Mar 2013 09:38:48 +0100 +Checked in by : Stephan van Alste +Do not install non existant pdb file in release build mode -2015-03-31 10:36 robert +Tue, 12 Feb 2013 13:09:00 +0100 +Checked in by : Ralf Habacker +Install msvc debug files along with the binaries - * include/osg/Camera, include/osgUtil/RenderStage, - src/osg/Camera.cpp, src/osgUtil/RenderStage.cpp: Added - Camera::dirtyAttachmentMap(), - Camera::s/getAttachmentMapModified() value and usage of this in - RenderStage as a new mechanism - for telling the rendering backend to update itself to reflect new - values in the attachments such as new texture or image sizes. +Tue, 31 May 2016 16:14:51 +0100 +Checked in by : Ralf Habacker +Fixed bug not detecting unc pathes in osgDB::isAbsolutePath() -2015-03-23 11:36 robert +Tue, 31 May 2016 12:58:57 +0100 +Checked in by : Alberto Luaces +defines for building on Hurd and BSD kernels - * examples/osgtessellationshaders/osgtessellationshaders.cpp: Added - StatsHandler to osgtessellationshaders example to test out - rendering bug associated with stats rendering. +Tue, 31 May 2016 11:27:30 +0100 +Checked in by : Pjotr Svetachov +small optimization to the osgb/t serializers. -2015-03-20 17:58 robert +Mon, 30 May 2016 13:43:09 +0100 +Checked in by : Jannik Heller +Fixed typo of method name - * examples/osgdistortion/osgdistortion.cpp: Added event handle to - alter the RTT Camera's dimensions to follow the windows resizes. +Mon, 30 May 2016 12:41:25 +0100 +Checked in by : Tony Vasile +OpenFlight-plugin with Surface Material Codes. There is one additional field that may be required by an existing application in addition to the IR Code is the IR Material. I have a small fix to include the IR Material as the User Value -2015-03-20 15:49 robert +Thu, 26 May 2016 18:07:46 +0100 +Checked in by : Robert Osfield +From Wee See, "attached a small submission, which makes the option "readObjectRecordData" of OpenFlight-plugin working like documented in the Knowledge Base of OSG (52-using-the-openflight-plugin).Actually, if the option "readObjectRecordData" is set, ObjectRecordData will not be read and set. +With this submission, if the option "readObjectRecordData" is set, ObjectRecordData will be read and set." - * src/osgViewer/GraphicsWindowX11.cpp: Fixed resize dimensions of - X11 window -2015-03-20 11:48 robert +Thu, 26 May 2016 17:49:06 +0100 +Checked in by : Robert Osfield +From Philippe Renon and Robert Osfield, osgViewer::Viewer::checkNeedToDoFrame should return true when only the root node has an update callback.Note, from Robert, I took Philippe modifications to Viewer.cpp and reformated them slightly to avoid a double check against getSceneData()!=0 and then rolled +the changes out to CompositeViewer::checkNeedToDoFrame() to ensure that both implementations work the same. - * examples/osgviewerQt/osgviewerQt.cpp: From Jannik Heller, "Fix - for Qt4 multi-threaded crash. This patch adds the - AA_X11InitThreads flag to the QApplication setup, meaning QT will - call XInitThreads for us. This also bumps the required QT version - to 4.8+, because the AA_X11InitThreads flag was introduced in - that version. If that is not acceptable, we could add a - QT_VERSION >= 0x040800 guard, or manually call XInitThreads() - instead. Let me know what you think." -2015-03-19 10:49 robert +Tue, 24 May 2016 20:46:44 +0100 +Checked in by : Robert Osfield +Fixed RenderStageCache's handling of Observer functionality that was causing a crashing on exit in osgoit and osgprerender examples. - * examples/osgdistortion/osgdistortion.cpp: Added Texture wrap - setting to CLAMP_TO_EDGE to fix rendering problem when running - the default osgdistortion example +Fri, 6 May 2016 19:55:04 +0100 +Checked in by : Robert Osfield +Added GLES3 path for setting up with EGL -2015-03-17 18:10 robert +Fri, 6 May 2016 17:49:01 +0100 +Checked in by : Robert Osfield +Added 3.4 press release to NEWS.txt - * src/osgPlugins/osgjs/JSON_Objects.cpp: Fixed VisualStudio warning +Wed, 27 Apr 2016 08:40:35 +0100 +Checked in by : Robert Osfield +Added non const releaseGLObjects(osg::State* state) for backwards compatibility -2015-03-17 14:50 robert +Thu, 21 Apr 2016 14:07:22 +0100 +Checked in by : Robert Osfield +Fixed copy _readBuffer bug. - * src/osgWrappers/serializers/osg/ComputeBoundingBoxCallback.cpp, - src/osgWrappers/serializers/osg/ComputeBoundingSphereCallback.cpp, - src/osgWrappers/serializers/osg/LibraryWrapper.cpp, - src/osgWrappers/serializers/osg/UpdateCallback.cpp: From - Konstantin Matveyev, "Added ComputeBoundingBoxCallback, - ComputeBoundingSphereCallback and UpdateCallback implmenentations - to serializers" +Mon, 18 Apr 2016 20:46:45 +0100 +Checked in by : Robert Osfield +Fixed ShaderComposer::releaseGLObjects(State*) const method as it's const was missing. Rewrote the ShaderComposer::releaseGLObjects() const method to pass on the releaseGLObjects() calls to any associated Program or Shader objects. -2015-03-17 09:40 robert - - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS file for - dev release - -2015-03-17 09:09 robert - - * src/osgWrappers/serializers/osg/LibraryWrapper.cpp: Fixed library - wrapper - -2015-03-17 08:25 robert - - * src/osgWrappers/serializers/osg/LibraryWrapper.cpp: Added - ComputeBoundingSphereCallback reference +Thu, 14 Apr 2016 17:46:27 +0100 +Checked in by : Robert Osfield +From Vladimir Chebaev, fixed handling of outline orientiation -2015-03-17 08:24 robert +Thu, 14 Apr 2016 17:46:27 +0100 +Checked in by : Robert Osfield +From Vladimir Chebaev, fixed handling of outline orientiation - * src/osgWrappers/serializers/osg/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgAnimation/LibraryWrapper.cpp: From - Konstantin Matveyev, "More "LibraryWrapper" fixes for osg and - osgAnimation NodeKits - in the attachment (for 3.3.6 version :) - - Fixes: - - osg: - Unsupported associated class osg::UpdateCallback - (osg_Drawable_UpdateCallback); - ComputeBoundingBoxCallback - - osgAnimation: - Unsupported wrapper class - osgAnimation::RigComputeBoundingBoxCallback - " +Tue, 29 Mar 2016 20:24:05 +0100 +Checked in by : Robert Osfield +Changed the default value paramter to be consistent with the non templated version of StateSet::setTextureAttributeAndModes(..) -2015-03-17 08:19 robert +Thu, 31 Mar 2016 19:26:51 +0100 +Checked in by : Robert Osfield +Merge branch 'OpenSceneGraph-3.4' of https://github.com/openscenegraph/OpenSceneGraph into OpenSceneGraph-3.4 - * src/osgPlugins/osgjs/json_stream: Changed to using - osgDB::ofstream to work around Windows build issue +Thu, 31 Mar 2016 17:52:29 +0100 +Checked in by : Robert Osfield +added assignment of mipmap levels from source image. -2015-03-16 17:01 robert +Thu, 31 Mar 2016 17:52:29 +0100 +Checked in by : Robert Osfield +From Sherman Wilcox, added assignment of mipmap levels from source image. - * src/osgPlugins/osgjs/CMakeLists.txt: Removed unneccessary library - link line. +Fri, 11 Mar 2016 15:35:07 +0000 +Checked in by : Robert Osfield +From Jannik Heller, Wrong function call in setTextureAttributeAndModes "From I think that this piece of code in StateSet::setTextureAttributeAndModes is a copy&paste mistake: OSG_NOTICE<<"Warning: non texture attribute '"<className()<<"' passed to setTextureAttributeAndModes(unit,attr,value), "<push_back(0); + elems->push_back(1); + elems->push_back(2); - * src/osgGA/OrbitManipulator.cpp, - src/osgGA/StandardManipulator.cpp: From Jannik Heller, "I noticed - the rotation in the OrbitManipulator depends on the framerate. To - reproduce this issue, start the osganimate example, rotate the - model with the left mouse button, then let go of the mouse button - while still moving. You will notice that with V-Sync enabled, the - model rotates slower. - - The OrbitManipulator calculates a scale to counteract the - framerate dependency, but it turns out this scale wasn't used for - the rotation yet." - -2015-02-27 10:01 robert - - * CMakeLists.txt: Updated version number after dev release. - -2015-02-27 09:47 robert - - * ChangeLog, applications/osgversion/Contributors.cpp: Updated - ChangeLog and Contributors to fix trailing spaces - -2015-02-27 09:05 robert - - * src/osgPlugins/lua/lua-5.2.3/src/ldo.c, - src/osgPlugins/lua/lua-5.2.3/src/lgc.c, - src/osgPlugins/lua/lua-5.2.3/src/lparser.c, - src/osgPlugins/lua/lua-5.2.3/src/lstrlib.c: Fixed Windows - warnings - -2015-02-27 04:29 robert - - * examples/osgfpdepth/osgfpdepth.cpp, src/osg/State.cpp: Fixes for - warnings - -2015-02-26 20:15 robert - - * src/osgText/Text.cpp: Fixed build with auto ptr conversion - switched off - -2015-02-26 19:51 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Updated AUTHORS - -2015-02-26 19:14 robert - - * src/osg/Image.cpp: From Bradley Baker Searles, "We had someone - replace a DDS texture with a GL_RGB/GL_UNSIGNED_SHORT_5_6_6 - image, which would trigger a crash in Image.cpp while flipping - the mipmap chain. The code was trying to flip the mipmaps using - the rowStep for the full-size image (we have "dds_flip" set in - the osgDB::ReaderWriter::Options in the osgDB::Registry)." - -2015-02-26 18:06 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Bradley Baker - Searles, "Small patch attached to handle DDS flip when s=4. - Currently it will omit flipping and generate a warning: "Vertical - flip was skipped. Image dimensions have to be multiple of 4." - -2015-02-26 17:49 robert - - * include/osg/GLExtensions, src/osg/GLExtensions.cpp: From Julien - Valentin and Alberto Luaces, added support for transform feedback - extensions - -2015-02-26 17:18 robert - - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Update - AUTHORS file - -2015-02-26 14:16 robert - - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: Fixed typo - -2015-02-26 13:52 robert - - * AUTHORS.txt: Regenerated AUTHORS.txt to fix missing special - characters - -2015-02-25 19:59 robert - - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Updated - AUTHORS file - -2015-02-25 19:52 robert - - * ChangeLog: Updated ChangeLog - -2015-02-25 19:38 robert - - * src/osgPlugins/las/ReaderWriterLAS.cpp: From Aitor Moreno, - "Attached you will find the modified file without the lines which - raises the exception. " - -2015-02-25 19:31 robert - - * src/osgSim/ScalarBar.cpp: From Jamie Robertson, "I've been using - osgSim::ScalarBar to display fixed range color values (e.g. red - from 1-2, green from 3-4 etc), by setting the _numColors the same - as the number of actual colors in the ColorRange. - - Currently if you do this you get strange looking results as the - colors are calculated for values in the centre of each color - step, so if your steps are large, the colors are interpolated - sigificantly (see screen grab of red, green and blue colors for - illustration). - - I've attached a fix which just uses the original color values - whenever _numColors equals the number of actual defined colors in - the ColorRange. I doubt anyone would want interpolated colors in - these circumstances." + elems->push_back(2); + elems->push_back(3); + elems->push_back(0); + geom->addPrimitiveSet(elems); + geom->addPrimitiveSet(new DrawArrays(PrimitiveSet::QUADS,0,4)); -2015-02-25 19:25 robert +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. +" - * CMakeLists.txt, CMakeModules/FindGStreamer.cmake: From Dmitry - Marakasov, "While packaging osg-3.3.3 I've discovered that - gstreamer detection is - broken: - - -- Could NOT find GStreamer (missing: GSTREAMER_BASE_INCLUDE_DIRS - GSTREAMER_BASE_LIBRARIES GSTREAMER_GSTREAMER-APP_INCLUDE_DIRS - GSTREAMER_GSTREAMER-APP_LIBRARIES - GSTREAMER_GSTREAMER-PBUTILS_INCLUDE_DIRS - GSTREAMER_GSTREAMER-PBUTILS_LIBRARIES) (found version "1.4.5") - - though all required modules are installed. - - There are two problems: first, module names are spelled - incorrectly in root - CMakeLists.txt (e.g. gstreamer-app instead of app), so variables - expected - for them are e.g. GSTREAMER_GSTREAMER-APP_INCLUDE_DIRS instead of - GSTREAMER_APP_INCLUDE_DIRS. - - Second, gstreamer base component is detected as GSTREAMER while - checked - later as GSTREAMER_BASE. I've uncommented the detection as - GSTREAMER_BASE, but obviously that should be revisited and only - one - detection left. With this patch, gstreamer is detected properly - and - the plugins is successfully built and installed." - -2015-02-25 19:19 robert - - * examples/osgviewerQt/osgviewerQt.cpp: From Jonathan Greig, "I was - testing out the example and it works fine as a standalone - example, but I found that it didn't work as expected when adding - the class to some existing code I have to test it out. The osg - widget was appearing but it didn't appear to be updating. After - tweaking it to pass on the parent QWidget pointer from my code, - it worked as expected. I added the WindowFlags to the attached - file for good measure. If you look at the Qt Documentation for - QWidget ( http://doc.qt.io/qt-5/qwidget.html#QWidget ), you'll - see that is exactly where I got this from. When subclassing a - widget as such, you should allow the user to pass in the parent - at least, considering that has a major effect on how or if Qt may - clean up the memory." - -2015-02-25 18:56 robert - - * examples/osgfont/osgfont.cpp, examples/osgtext/osgtext.cpp, - include/osgText/Glyph, include/osgText/Text, - src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgQt/QFontImplementation.cpp, src/osgText/DefaultFont.cpp, - src/osgText/Glyph.cpp, src/osgText/Text.cpp, - src/osgWidget/Input.cpp: From Andreas Henne, Support for GL3 core - profile in osgText - -2015-02-25 16:59 robert - - * examples/osgtessellationshaders/osgtessellationshaders.cpp: From - Michael McDonnell, "I have changed the code so that the plus key - increases both the inner - and outer tessellation. The minus key decrease both the inner and - outer tessellation. You can still use the arrow keys to control - inner - and outer tessellation separately." - - From Robert Osfield, clean up the code to fix warnings and make - the coding style more consistent with the rest of the OSG. - -2015-02-25 14:55 robert - - * include/osgDB/Serializer, src/osgDB/InputStream.cpp, - src/osgDB/OutputStream.cpp: Fixed handling of NULL entries in - osg::Geometry TexCoordArrayList and VertexAttribArrayList. - -2015-02-24 11:06 robert - - * src/osgPlugins/lua/LuaScriptEngine.cpp: Fixed matrix setup. - -2015-02-23 20:28 robert - - * src/osg/TransferFunction.cpp: Fixed image allocation operations. - -2015-02-23 11:43 robert - - * src/osgWrappers/serializers/osg/Camera.cpp, - src/osgWrappers/serializers/osgText/TextBase.cpp: From Miha - Ravšelj and Robert Osfield, fix for serializer bug in - osgText::TextBase and osg::Camera - -2015-02-23 11:07 robert - - * src/osgViewer/StatsHandler.cpp: From Arjun Ramamurthy, fix for - use of StatsHandler in multipleviews/windows - -2015-02-20 15:12 robert - - * examples/osgterrain/osgterrain.cpp: Changed the toggle of defines - so that it works with assumed defaults now set up by the - GeometryPool so that when toggling it doesn't have a delay in - what the user would expect - -2015-02-20 15:04 robert - - * src/osgTerrain/shaders/terrain_displacement_mapping_CCC_frag.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_CC_frag.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_C_frag.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_flat_vert.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_frag.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_geom.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_vert.cpp: - Removed redudent shaders, and updated remaining shaders to match - OpenSceneGraph-Data/shaders - -2015-02-20 15:02 robert - * examples/osgterrain/osgterrain.cpp, include/osg/StateSet, - include/osgTerrain/GeometryPool, - src/osgFX/MultiTextureControl.cpp, - src/osgTerrain/GeometryPool.cpp, src/osgTerrain/Terrain.cpp: - First step of refactoring the osg::Program management in - osgTerrain::GeometryPool for better performance by placing - default osg::Program and shader defines on a single StateSet - below the osgTerrain::Terrain +Fri, 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-02-18 10:52 robert +To enable recent versions of the DOM to be found in their new install locations. - * include/osgTerrain/DisplacementMappingTechnique, - include/osgTerrain/Terrain, - src/osgTerrain/DisplacementMappingTechnique.cpp, - src/osgTerrain/Terrain.cpp: Moved osgTerrain::GeometryPool from - osgTerrain::DisplacementMappingTechnique to the - osgTerrain::Terrain -2015-02-18 10:23 robert +Thu, 18 Feb 2016 19:53:36 +0000 +Checked in by : Robert Osfield +Updated the AuthenticationDetails::HttpAuthentication enum to reflect current libcurl values - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Sebastian - Messerschmidt, "Attached you find a version of the - ReaderWriterDDS with info outputs set to OSG_INFO instead of - OSG_NOTICE. The old version spams the console for each loaded DDS - file." +Thu, 18 Feb 2016 10:57:19 +0000 +Checked in by : Robert Osfield +Replaced (long int) with more portable (GLint64) -2015-02-17 20:42 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." - * src/osg/StateSet.cpp: Added support for DefineList to - StateSet::merge(..) +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-02-17 19:40 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/OperationThread.cpp: From Stephan Wenglorz, "the attached - fix corrects a small bug in OperationThread::setDone(bool), - calling it had the opposite effect of what was intended, i.e. - setting done to false actually finished the thread. The effect - was that VPB threads would exit before starting osgdem when a - task had been enqueued, because they initially set done to - false." +Wed, 17 Feb 2016 17:36:10 +0000 +Checked in by : Robert Osfield +Fixed warning -2015-02-17 19:22 robert +Wed, 17 Feb 2016 17:08:07 +0000 +Checked in by : Robert Osfield +Commented out unused functions and variable. - * examples/osgterrain/osgterrain.cpp: Removed GL_ usage in defines +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-02-17 19:21 robert +Wed, 27 Jan 2016 10:06:33 +0000 +Checked in by : Robert Osfield +Fixed check against Drawable::isCullingActive().Removed old code intended to check the Geode parent of a Drawable to see if it's CullingActive is true as this was broken by the change osg::Drawable being derived from osg::Node rather than osg::Object. - * src/osgTerrain/GeometryPool.cpp: Removed commented out lines -2015-02-17 10:36 robert +Mon, 25 Jan 2016 19:38:44 +0000 +Checked in by : Robert Osfield +Added .gitignore to queiten down git status reports - * include/osg/Callback, include/osg/Object, - include/osg/ScriptEngine, include/osgDB/Serializer, - include/osgGA/EventHandler, include/osgGA/GUIEventHandler, - include/osgViewer/ViewerEventHandlers: Cleaned up warning - generated when compiling osgocculusviewer +Mon, 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-02-13 12:50 robert - * include/osg/Program, include/osg/State, src/osg/Shader.cpp, - src/osg/State.cpp: Improvements to the #pragma(tic) shader - composition support +Mon, 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-02-13 10:56 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." - * examples/osgshadercomposition/CMakeLists.txt, - examples/osgshadercomposition/oldshadercomposition.cpp, - examples/osgshadercomposition/osgshadercomposition.cpp: - Deprecated the old ShaderComposition example code so that it's - now only invoked if you add a --old to the osgshadercomposition - command line. - - Introduced a new shader composition example based on the new - #pragama and #define based GLSL shader/osg::StateSet::setDefine() - functionality now built into the core OSG. +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-02-13 07:45 robert +Thu, 21 Jan 2016 08:32:57 +0000 +Checked in by : Robert Osfield +Fixed typo View::setImagePager(..) template method - * src/osg/glu/libutil/mipmap.cpp: From Farshid Lashkari, "I've - attached a fix for some internal glu functions so that they use - size_t for computing allocation sizes instead of GLint. I - encountered some large images that were triggering integer - overflows with the current code." +Mon, 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-02-11 19:21 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. - * src/osgPlugins/ply/vertexData.cpp: Fixed warning +Tue, 19 Jan 2016 15:39:46 +0000 +Checked in by : Robert Osfield +From Ravi Mathur, OSX/Clang 7.0.0 build fix -2015-02-11 16:41 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/Shader.cpp: Added reassignment of the #version line to - the first entry in the source list. +osgPlugins/osgjs/JSON_Objects +osgPlugins/stl/ReaderWriterSTL.cpp. -2015-02-11 09:41 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/osg/GLDefines: Added GL #define for Windows build -2015-02-10 21:13 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 - * include/osg/GLDefines: Windows build fix -2015-02-10 18:01 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. - * include/osgDB/Serializer, src/osgDB/ObjectWrapper.cpp: Added - GL_LINES_ADJACENCY_EXT variants back into ObjectWraper to enable - backwards compatibility. +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-02-10 17:53 robert - * src/osgUtil/GLObjectsVisitor.cpp: Change for new Program API +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 -2015-02-10 17:20 robert - * examples/osgterrain/osgterrain.cpp, - include/osgTerrain/GeometryPool, src/osgTerrain/GeometryPool.cpp: - Added support for new #pragam(atic) shader composition to new - displacement mapping technique +Thu, 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 -2015-02-10 17:04 robert - * include/osg/BufferObject, include/osg/Drawable, - include/osg/GLDefines, include/osg/Geometry, - include/osg/PrimitiveSet, include/osg/Program, - include/osg/Shader, include/osg/State, include/osg/StateSet, - src/osg/Geometry.cpp, src/osg/Program.cpp, src/osg/Shader.cpp, - src/osg/State.cpp, src/osg/StateSet.cpp: Introduced new shader - composition approach that utilizes #pragma requires(), #pragma - import_defines() and #ifdef in GLSL to enable multiple different - versions of shaders based - on defines passed in from osg::StateSet::setDefine(..). +Mon, 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 -2015-02-04 15:11 robert - * include/osgGA/EventQueue, src/osgGA/EventQueue.cpp, - src/osgQt/GraphicsWindowQt.cpp, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowCocoa.mm, - src/osgViewer/GraphicsWindowIOS.mm, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp: Fixed typo. +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 -2015-02-03 16:36 robert - * include/osg/Shader: Removed unncessary _EXT +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 -2015-02-02 09:53 robert - * CMakeLists.txt, src/osgPlugins/CMakeLists.txt: Commented out the - experimental V8 and Python plugins as these plugins only existed - as a proof of concept test linkage with these dependenices, and - have no functionality beyond this. +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: -2015-01-27 15:07 robert + bool addChild(Node* child); // old method which can only be used with a Node* - * include/osg/GLDefines, include/osg/PrimitiveSet, - src/osgDB/ObjectWrapper.cpp: Replaced _EXT defines with GL-3.2 - versions + tempalte bool addChild(const osg::ref_ptr& child) { return addChild(child.get()); } // adapter template method -2015-01-23 17:15 robert +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. - * src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp: From Javier Taibo, - "I have found a "bug" in the new audio decoding code (actually I - think the bug is in ffmpeg, but anyway it should be wise to - protect the OSG plug-in about it). I am attaching a security - check in FFmpegDecoderAudio.cpp. - - If anybody is curious about the problem, it happens sometimes - when decoding an AAC audio stream. It eventually includes a PCE - block inside the AAC audio frame and then ffmpeg audio decoding - function signals a "new_frame" with 1024 samples, but a null - pointer instead of the audio data. It can be easily detected - because in these cases number of channels is 0. Maybe this is the - intended behaviour for ffmpeg, but I find it quite weird. - " - - " It seems that libav does not have a channels attribute in - AVFrame structure. This new version should do." -2015-01-23 13:51 robert - * include/osgFX/MultiTextureControl, - src/osgFX/MultiTextureControl.cpp, - src/osgWrappers/serializers/osgFX/MultiTextureControl.cpp: - Changed osgFX::MultiTextureControl so that it uses an - osg::FloatArray internally to enable sharing with osg::Uniform. +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15165 16af8721-9629-0410-8352-f15c8da7e697 -2015-01-23 13:50 robert - * examples/osgterrain/CMakeLists.txt, - examples/osgterrain/osgterrain.cpp: Added MultiTextureControl - event handling of shift 012 i.e. ')', '!', '"' and 'A' to toggle - full on for each of the respective or all texture units. +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 -2015-01-22 16:49 robert - * include/osg/GLDefines: Added #define GL_SEPARATE_ATTRIBS and - correcte GL_INTERLEAVED_ATTRIBS +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 -2015-01-22 16:41 robert - * src/osg/DisplaySettings.cpp: From Alexey Pavlov, "Export fix for - Windows platform" +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 -2015-01-22 15:08 robert - * include/osg/GLDefines: Added GL_INTERLEAVED_ATTRIBS for windows - build +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 -2015-01-22 15:07 robert - * examples/osgtransformfeedback/osgtransformfeedback.cpp: Fixed - warning - -2015-01-21 15:35 robert - - * include/osg/Texture, src/osg/PolygonMode.cpp, src/osg/State.cpp, - src/osg/Texture.cpp: From Andreas Henne, OpenGL core profile - fixes required for OSX. - -2015-01-21 11:09 robert - - * include/osgFX/MultiTextureControl, - src/osgFX/MultiTextureControl.cpp, - src/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/serializers/osgFX/MultiTextureControl.cpp: Added - TextureWeights uniform support and controls to - osgFX::MultiTextureControl to support usage with shaders. +Fri, 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 -2015-01-20 18:01 robert - * src/osgTerrain/GeometryPool.cpp: Re-enabled texturing and fixed - runtime warning +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 -2015-01-20 17:58 robert - * src/osgTerrain/GeometryPool.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_geom.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_vert.cpp: - Added hardwired geometry shaders +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 -2015-01-20 17:40 robert - - * src/osgTerrain/shaders/terrain_displacement_mapping_CCC_frag.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_CC_frag.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_C_frag.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_vert.cpp: - Updated shaders - -2015-01-20 15:23 robert - - * include/osgTerrain/GeometryPool: Added key - osgTerrain::GeometryPool methods virtual to make it easier to - override the shaders - -2015-01-20 11:24 robert - - * src/osg/State.cpp: Changed the reset of the GLExtensions::Set() - in the State destructor so that it checks to see if the local - _glExtensions pointer has been set up and taken ownership of the - GLExtensions::Set() value - -2015-01-19 11:29 robert - - * include/osgTerrain/GeometryPool, src/osgTerrain/GeometryPool.cpp: - Added GeometryPool::s/getUseGeometryShader() hint, and - OSG_TERRAIN_USE_GEOMETRY_SHADER env var for setting the default - value. -2015-01-16 11:03 robert +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: - * include/osgTerrain/GeometryPool, src/osgTerrain/GeometryPool.cpp: - Added support for using geometry shaders to align the quad - diagonals with the local terrain + 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-01-12 10:31 robert +Toggling the vertex buffer objects off then on again actually touches not only the arrays controlled by DEEP_COPY_ARRAYS, but also the PrimitiveSets which are controlled by DEEP_COPY_PRIMITIVES. This means if the user has copyflags of only DEEP_COPY_ARRAYS, we are modifying arrays that belong to the original const Geometry& we are copying from. I believe this shouldn't be allowed to happen because we are using a const& specifier for the original Geometry. - * include/osgTerrain/GeometryPool, src/osgTerrain/GeometryPool.cpp: - Added a local Vec3Array cache to the HeightFieldDrawable to - facilitate efficient intersection testing +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-01-12 10:30 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. +" - * include/osg/PrimitiveSet, include/osg/TemplatePrimitiveFunctor, - include/osg/TriangleFunctor: Added ability to populate a local - vertex cache for when one computes final vertex position in a - vertex shader but still want to the Primitive functors to work - with the transformed positions. -2015-01-07 14:14 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15128 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeModules/FindFFmpeg.cmake, - src/osgPlugins/ffmpeg/CMakeLists.txt, - src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp, - src/osgPlugins/ffmpeg/FFmpegHeaders.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.hpp, - src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: From Javier Taibo, - "I have found that since version 1.1, FFMPEG changed the way - audio streams are retrieved, from packed to planar format. SDL - interprets packed audio, as is used in the osgmovie example. To - make the audio work when the OSGffmpeg plug-in is compiled - against recent FFMPEG versions, FFmpegDecoderAudio must check for - planar formats and in these cases request the samples as packed. - This way all works as before. It can be checked with osgmovie - example application. - - $ osgmovie --audio movie.avi.ffmpeg - FFmpegImageStream::open audio failed, audio stream will be - disabled: unknown audio format - - With the attached FFmpegDecoderAudio.cpp, audio sounds correctly. - - I am also attaching a modified version of FindFFmpeg.cmake that - allows to set as FFMPEG_DIR the ffmpeg compiled in the source - directory structure. It should not break anything as it only adds - some additional search paths. - " - -2015-01-07 10:36 robert - - * src/osg/Image.cpp: From Farshid Lashkari, "small change to - osg::Image::readImageFromCurrentTexture to allow reading data - from compressed cubemap textures." - -2015-01-06 17:23 robert - - * include/osg/TextureBuffer, src/osg/StateSet.cpp, - src/osg/TextureBuffer.cpp: Cleaned up GL_TEXTURE_BUFFER_*ARB - usage as include/osg/GLDefines now provides the non ARB variants - -2015-01-06 17:12 robert - - * examples/CMakeLists.txt, examples/osgtransformfeedback, - examples/osgtransformfeedback/CMakeLists.txt, - examples/osgtransformfeedback/osgtransformfeedback.cpp, - include/osg/GLExtensions, include/osg/Program, - src/osg/GLExtensions.cpp, src/osg/Program.cpp, - src/osg/StateSet.cpp, - src/osgWrappers/serializers/osg/Program.cpp: From Julien - Valentin, "To sum up changes, I had: - -some extensions in GLExtensions - - GL_TEXTURE_BUFFER as target in osg::StateSet - - a VBO based transform feed back example - " - -2015-01-06 17:09 robert - - * CMakeLists.txt: Updates SO_VERSION in prep for API modifications - since the 3.3.3 dev release - -2015-01-06 14:55 robert - - * src/osgVolume/Property.cpp: From Julien Valentin, added missing - initializer - -2015-01-06 14:41 robert - - * src/osgWrappers/serializers/osgVolume/VolumeTechnique.cpp: From - Julien Valentin, typo fix - -2015-01-05 17:39 robert - - * src/osgPlugins/stl/ReaderWriterSTL.cpp: From Jason Beverage, - "Here is a fix to the STL plugin that fixes build errors - introduced in the last commit. It's just a simple addition of the - stdint.h header." - -2014-12-24 11:56 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Updated ChangeLog and AUTHORS - -2014-12-24 11:43 robert - - * CMakeModules/FindCOLLADA.cmake: Removed debug message - -2014-12-24 11:25 robert - - * src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/obj.cpp, src/osgPlugins/obj/obj.h: From Marc - Helbling, Clément Léger, Aurélien Chatelain, Paul Cheyrou-Lagrèze - : - "a last submission for the obj plugin - * supports vertex color definition after vertex position by - Clément Léger - * supports zbrush vertex color definition (as #MRGB comment) by - Aurélien Chatelain - * adds a noReverseFace option to not mess with face definition by - Aurélien Chatelain - * makes material parsing case insensitive (by Paul - Cheyrou-Lagrèze and me) - * makes the plugin resilient to faulty vertex uv/normal - definition (i.e. when a too big index is referenced) by Aurélien - hatelain - " - -2014-12-24 11:02 robert - - * src/osgPlugins/ply/plyfile.cpp, - src/osgPlugins/ply/vertexData.cpp, - src/osgPlugins/ply/vertexData.h: From Aurélien Chatelain, "adds - support for - * quad primitives - * face definition with the "vertex_index" label (previously only - "vertex_indices" was supported) - * replaces normal computation by the SmoothingVisitor to avoid - code duplication - " - - Submitted by Marc Helbling. -2014-12-24 10:55 robert +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) - * include/osgUtil/MeshOptimizers, src/osgUtil/MeshOptimizers.cpp, - src/osgUtil/SmoothingVisitor.cpp: From Aurélien Chatelain, "the - smoothing visitor did not handle shared arrays. It may leads to - bad geometry arrays when a shared array is involved in the scene. - This submission adds shared array duplication (and moves the - SharedArrayOptimizer declaration in MeshOptimizer to make it - callable from the SmoothingVisitor)." - - Submitted by Marc Helbling. - Edited by Robet Osfield to retain the usual OSG coding style. +This bug is present since svn rev 8663 (just before 2.6.0 release) -2014-12-24 10:47 robert - * src/osgPlugins/stl/ReaderWriterSTL.cpp: From Aurélien Chatelain, - "updates the STL plugin: - * fixes vertex color support - * adds 'magics' color definition - * cleans options to make the plugin more consistent with other - plugins - * adds options to not tristrip geometries" - - Submitted by Marc Helbling. +attached is a zip with the files: -2014-12-24 10:14 robert +OpenSceneGraph\include\osgDB\ImagePager - * src/osgTerrain/GeometryPool.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_CCC_frag.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_CC_frag.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_C_frag.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_flat_vert.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_frag.cpp: - Aded shaders for various combinations of layers. -2014-12-24 10:13 robert - * include/osgDB/ReadFile: Added - osgDB::readShaderFileWithFallback(..) convinience functions to - make it easier to set up reading external shader files with a - built in fallback. +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." -2014-12-23 14:20 robert - * src/osgPlugins/dae/daeRGeometry.cpp: Added support for reading - Vec3 colour arrays +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15126 16af8721-9629-0410-8352-f15c8da7e697 -2014-12-23 12:10 robert - * CMakeModules/FindCOLLADA.cmake, - src/osgPlugins/dae/CMakeLists.txt, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeRSceneObjects.cpp, - src/osgPlugins/dae/daeRTransforms.cpp, - src/osgPlugins/dae/daeReader.cpp, src/osgPlugins/dae/daeReader.h, - src/osgPlugins/dae/daeWAnimations.cpp, - src/osgPlugins/dae/daeWMaterials.cpp, - src/osgPlugins/dae/daeWSceneObjects.cpp, - src/osgPlugins/dae/daeWTransforms.cpp, - src/osgPlugins/dae/daeWriter.h, - src/osgPlugins/dae/domSourceReader.h: Changes to allow the - COLLADA plugin to compile against the latest COLLADA DOM version - 2.4 as well as retaining compatibility with the old 2.2 DOM. - -2014-12-22 10:35 robert - - * CMakeLists.txt: Added comment about using - -DCMAKE_DISABLE_FINDPACKAGE_* command line. - -2014-12-22 09:50 robert - - * include/osg/ref_ptr: Added doxygen comment for - ref_ptr<>::release(). +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 -2014-12-22 09:49 robert +due to different handling of the extentions in osg 3.4 and up. - * CMakeLists.txt: Updated version number after dev release +attached is a zip with the files: -2014-12-19 11:00 robert +OpenSceneGraph\applications\osgconv\osgconv.cpp - * src/osg/DisplaySettings.cpp, src/osgPlugins/dae/daeReader.h: - Windows build error and warning fixes -2014-12-19 10:25 robert - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS file for - dev release - -2014-12-19 08:27 robert - - * CMakeModules/FindGLIB.cmake: Added if () block to avoid script - variables set to NOT-Found being used in searching - -2014-12-19 08:25 robert - - * CMakeModules/FindLIBLAS.cmake: Fixed script warnings - -2014-12-18 17:47 robert - - * CMakeLists.txt, CMakeModules/FindLIBLAS.cmake, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/las, - src/osgPlugins/las/CMakeLists.txt, - src/osgPlugins/las/ReaderWriterLAS.cpp: From Aitor Moreno, LAS - plugin - depends upon boost and liblas and liblas-c - -2014-12-18 16:52 robert - - * PlatformSpecifics/Android/Application.mk.master.in: From Adrian - Clark, build fix for recent Android NDK using the old Android - build approach. - -2014-12-18 15:59 robert - - * CMakeLists.txt: From Mattias Helsing, "CMake have release 3.0 and - 3.1 and we have some bad checks for cmake - major version when settings cmake policies in CMakeLists.txt. - This fixes it" - -2014-12-18 11:36 robert +This file is valid for svn branch and stable3.4." - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Updated - AUTHORS -2014-12-18 11:19 robert - * ChangeLog: Updated ChangeLog in prep for dev release -2014-12-18 11:09 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15123 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgmovie/CMakeLists.txt: Fixed warning -2014-12-18 10:59 robert +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; - * include/osg/DisplaySettings, src/osg/DisplaySettings.cpp: Added - DisplaySettings::s/getNvOptimusEnablement() and - OSG_NvOptimusEnablement env var control to control the setting of - the NvOptimusEnablement variable + dirtyDisplayList(); -2014-12-18 09:24 robert + if (_useVertexBufferObjects) + { + for(ArrayList::iterator itr = _vertexAttribList.begin(); + itr != _vertexAttribList.end(); + ++itr) + { +if(itr->get())//ADDED + addVertexBufferObjectIfRequired(itr->get()); + } + } +} +" - * src/osgPlugins/fbx/ReaderWriterFBX.cpp: From Sukender, "Added - options to the FBX writer: an ascii/binary switch, and the - ability to select FBX version as the SDK handles it (Ex: - "FBX201300"). - - This allows the user to achieve backward compatibility, and debug - format issues using text output." - -2014-12-18 09:03 robert - - * CMakeModules/FindGStreamer.cmake: From Mattias Helsing, "The - addition of the GStreamer cmake find script broke my build - because - cmake vars weren't passed correctly to find_package_handler_args, - so - while the find script didn't find a single required GStreamer lib - or - include path it still reported GSTREAMER_FOUND=TRUE (and then - tried to - compile the new plugin). This fixes it and correctly reports - missing - components." - -2014-12-17 19:21 robert - - * CMakeLists.txt, CMakeModules/FindSDL2.cmake, - examples/osgmovie/CMakeLists.txt, examples/osgmovie/osgmovie.cpp: - Added support for using SDL2 to the osgmovie to enable it to - handle floating point audio formats - -2014-12-17 19:20 robert - - * CMakeModules/FindFFmpeg.cmake, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp: From Javier Taibo, - " I have found that since version 1.1, FFMPEG changed the way - audio streams are retrieved, from packed to planar format. SDL - interprets packed audio, as is used in the osgmovie example. To - make the audio work when the OSGffmpeg plug-in is compiled - against recent FFMPEG versions, FFmpegDecoderAudio must check for - planar formats and in these cases request the samples as packed. - This way all works as before. It can be checked with osgmovie - example application. - - $ osgmovie --audio movie.avi.ffmpeg - FFmpegImageStream::open audio failed, audio stream will be - disabled: unknown audio format - - With the attached FFmpegDecoderAudio.cpp, audio sounds correctly. - - I am also attaching a modified version of FindFFmpeg.cmake that - allows to set as FFMPEG_DIR the ffmpeg compiled in the source - directory structure. It should not break anything as it only adds - some additional search paths. - - " - - Note from Robert Osfield, I have found in testing that audio - quality is not good for planar floating point formats, even with - adding support for SDL2 to the osgmovie example. I haven't yet - tracked down the cause of these audio problems or a solution. - -2014-12-17 10:19 robert - - * src/osgPlugins/fbx/ReaderWriterFBX.cpp: From Sukender, "FBX - writer was writing an empty file when the scene had a root node - being a Geode. - This was caused be the change in Drawable (now derived from Node) - and Geode (now derived from Group). - This fix simply sticks with previous behaviour. Another change - could be to adapt WriterNodeVisitor. - " - -2014-12-16 17:37 robert - - * src/osgPlugins/gstreamer/GStreamerImageStream.cpp: Fixed warnings - and memmory leaks - -2014-12-16 17:15 robert - - * src/osgPlugins/gstreamer/CMakeLists.txt, - src/osgPlugins/gstreamer/GStreamerImageStream.cpp: Fixed warnings - -2014-12-16 17:08 robert - - * src/osgPlugins/gstreamer/GStreamerImageStream.cpp, - src/osgPlugins/gstreamer/GStreamerImageStream.hpp: Improved - handling of invalid/unhandled files - Added support for ImageStream::LoopigMode variable - Fixed memory leak associtied with restarting videos - Changed Image::setData() to Image::dirty() to avoid resetting - data - -2014-12-16 11:20 robert - - * CMakeLists.txt, CMakeModules/FindGLIB.cmake, - CMakeModules/FindGStreamer.cmake, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/gstreamer, - src/osgPlugins/gstreamer/CMakeLists.txt, - src/osgPlugins/gstreamer/GStreamerImageStream.cpp, - src/osgPlugins/gstreamer/GStreamerImageStream.hpp, - src/osgPlugins/gstreamer/ReaderWriterGStreamer.cpp: From Julen - Garcia, "Here there is a small plugin I use to play video files. - It is based on GStreamer http://gstreamer.freedesktop.org and I - have used the FFmpeg plugin as inspiration." - - From Robert Osfield, fixed handled of row widths so that they are - padded to a 4 byte boundary as certain row widths were being - rendered incorrectly. - -2014-12-16 09:34 robert - - * include/osg/TriangleLinePointIndexFunctor, - include/osgUtil/MeshOptimizers, src/osgUtil/MeshOptimizers.cpp: - From Marc Helbling, "please find enclosed a submission that - should improve the VertexAccessOrderVisitor (pre-transform) - optimizer: - * it sorts primitives to keep "more complex" primitives first; - maybe you'll prefer to have this as an option (but usually it - should make more sense to pre-transform triangles before e.g. - lines) - * currently, the visitor rely on TriangleIndexFunctor and does - not take care of points and lines (see - https://github.com/openscenegraph/osg/blob/master/include/osg/TriangleIndexFunctor#L124-130). - This can lead to issues e.g. if you store the wireframe lines - along with some triangles: the triangles will be reindexed but - not the line. I've therefore added - osg/include/TriangleLinePointIndexFunctor to index triangles, - lines and points and derived VertexReorder from this class. - * to avoid issues, shared arrays are duplicated. However, in some - cases (e.g. an UV channel shared in the geometry only) this is - not required. I'm adding a SharedArrayOptimizer to optimize this: - it looks for duplicated UVs before the array duplication and - deduplicate arrays after. - " - -2014-12-15 17:15 robert - - * include/osgUtil/TriStripVisitor, src/osgUtil/TriStripVisitor.cpp: - From Marc Helbling, "please find the mergeTriangleStrip code - merged in osgUtil::TriStripVisitor. - I've removed the references to DrawArrays as we should no longer - produce any. - - Note that: - * as the name suggest, it only works for triangle strips but - could probably be easily extended to quads - * the resulting primitive is not highly optimized; we could - probably sort the strips in order to minimize the number of - primitive restart - * as we may merge DrawElementsUInt and DrawElementUShort, the - code will only generate DrawElementsUInt" - -2014-12-10 18:23 robert - - * examples/osgSSBO/osgSSBO.cpp: Build fix - -2014-12-10 13:05 robert - - * include/osg/GLExtensions, src/osg/GLExtensions.cpp: Added OpenGL - Transform Feedback extensions. - -2014-12-10 12:23 robert - - * examples/CMakeLists.txt, examples/osgSSBO, - examples/osgSSBO/CMakeLists.txt, examples/osgSSBO/osgSSBO.cpp, - include/osg/BufferIndexBinding, include/osg/BufferObject, - include/osg/StateAttribute, src/osg/BufferIndexBinding.cpp, - src/osg/BufferObject.cpp: From Marcus Hein, Added support for - OpenGL SSBO and SSBB via osg::ShaderStorageBufferObject and - osg::ShaderStorageBufferBinding to core OSG library, and added - new osgSSBO example - -2014-12-10 11:44 robert - - * include/osg/GLDefines: Added GLDefines header - -2014-12-10 11:29 robert - - * src/osgPlugins/dae/daeRMaterials.cpp: From Farshid Lashkari, "The - Collada loader would crash while processing textures on certain - files. I've attached the fix." - -2014-12-10 10:44 robert - - * examples/osgshaderterrain/osgshaderterrain.cpp, - include/osg/GL2Extensions, src/osg/CMakeLists.txt, - src/osg/GL2Extensions.cpp, src/osgAnimation/RigGeometry.cpp, - src/osgDB/ObjectWrapper.cpp: Removed old GL2Extensions class, - replacing it with a typedef to GL2Extensions - Removed old includes to include/osg/GL2Extensions - -2014-12-10 10:38 robert - - * examples/osgfpdepth/osgfpdepth.cpp, - examples/osgmultitexture/osgmultitexture.cpp, - examples/osgoit/DepthPeeling.cpp, - examples/osgscreencapture/osgscreencapture.cpp, - examples/osgvertexprogram/osgvertexprogram.cpp, - include/osg/BufferObject, include/osg/FrameBufferObject, - include/osg/GL2Extensions, include/osg/GLExtensions, - include/osg/PatchParameter, include/osg/PrimitiveSet, - include/osg/Program, include/osg/Shader, include/osg/State, - include/osg/Texture, include/osg/TextureBuffer, - include/osg/Uniform, include/osgViewer/Renderer, - src/osg/ArrayDispatchers.cpp, src/osg/BlendColor.cpp, - src/osg/BlendEquation.cpp, src/osg/BlendEquationi.cpp, - src/osg/BlendFunc.cpp, src/osg/BlendFunci.cpp, - src/osg/BufferObject.cpp, src/osg/CMakeLists.txt, - src/osg/Capability.cpp, src/osg/ClampColor.cpp, - src/osg/ColorMaski.cpp, src/osg/FragmentProgram.cpp, - src/osg/FrameBufferObject.cpp, src/osg/GLExtensions.cpp, - src/osg/Geometry.cpp, src/osg/GraphicsContext.cpp, - src/osg/Image.cpp, src/osg/Multisample.cpp, - src/osg/OcclusionQueryNode.cpp, src/osg/PatchParameter.cpp, - src/osg/Point.cpp, src/osg/PointSprite.cpp, - src/osg/PrimitiveRestartIndex.cpp, src/osg/Program.cpp, - src/osg/SampleMaski.cpp, src/osg/Shader.cpp, src/osg/State.cpp, - src/osg/Stencil.cpp, src/osg/StencilTwoSided.cpp, - src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2DArray.cpp, src/osg/Texture2DMultisample.cpp, - src/osg/Texture3D.cpp, src/osg/TextureBuffer.cpp, - src/osg/TextureCubeMap.cpp, src/osg/TextureRectangle.cpp, - src/osg/Uniform.cpp, src/osg/VertexAttribDivisor.cpp, - src/osg/VertexProgram.cpp, src/osgFX/SpecularHighlights.cpp, - src/osgParticle/PrecipitationEffect.cpp, src/osgText/Glyph.cpp, - src/osgUtil/GLObjectsVisitor.cpp, src/osgUtil/RenderStage.cpp, - src/osgViewer/Renderer.cpp, - src/osgViewer/ScreenCaptureHandler.cpp, - src/osgViewer/StatsHandler.cpp: Moved GL2Extensions functionality - into the include/osg/GLExtensions header and new GLExtensions - object. - Moved the #defines into new include/osg/GLDefines - Converted all GL2Extensions usage to GLExtensions usage - -2014-12-10 09:11 robert - - * include/osg/GLExtensions: Streamlined the extension functions - -2014-12-09 21:33 robert - - * include/osg/GL2Extensions: Added #ifdef's around GLsync typedef - -2014-12-09 20:09 robert - - * include/osg/GL2Extensions, include/osg/GraphicsContext, - include/osg/Texture, include/osg/Texture3D, src/osg/Texture.cpp: - Windows build fixes - -2014-12-09 19:31 robert - - * runexamples.bat: Added new examples to runexamples.bat script - -2014-12-09 19:22 robert - - * src/osg/Capability.cpp: Quietened down debug messages - -2014-12-09 19:20 robert - - * examples/CMakeLists.txt, examples/osgblenddrawbuffers, - examples/osgblenddrawbuffers/CMakeLists.txt, - examples/osgblenddrawbuffers/osgblenddrawbuffers.cpp: From Wand - Rui, "I've rewritten the osgblenddrawbuffers example to use the - new BlendFunci and Capability classes. Hope it will tell others - how to make use of the new functionality and why they are - important in modern MRT-based applications." - -2014-12-09 18:30 robert - - * examples/osgfpdepth/osgfpdepth.cpp, - examples/osgoit/DepthPeeling.cpp, include/osg/FrameBufferObject, - include/osg/GL2Extensions, include/osg/GraphicsContext, - src/osg/BufferObject.cpp, src/osg/FrameBufferObject.cpp, - src/osg/GL2Extensions.cpp, src/osg/GraphicsContext.cpp, - src/osg/OcclusionQueryNode.cpp, src/osg/Texture.cpp, - src/osg/Texture3D.cpp, src/osg/TextureRectangle.cpp, - src/osgUtil/RenderStage.cpp: Moved FBO Extensions into - GL2Extensions. - -2014-12-09 14:58 robert - - * include/osg/PrimitiveRestartIndex: Removed no longer used - Extension definition - -2014-12-09 14:57 robert - - * include/osg/ClampColor, include/osg/ColorMaski, - include/osg/GL2Extensions, include/osg/Multisample, - include/osg/Point, include/osg/PointSprite, - include/osg/PrimitiveRestartIndex, include/osg/Stencil, - src/osg/ClampColor.cpp, src/osg/ColorMaski.cpp, - src/osg/GL2Extensions.cpp, src/osg/Multisample.cpp, - src/osg/Point.cpp, src/osg/PointSprite.cpp, - src/osg/PrimitiveRestartIndex.cpp: Moved local Extensions structs - into GL2Extensions - -2014-12-09 11:14 robert - - * include/osg/GL2Extensions, include/osg/Stencil, - include/osg/StencilTwoSided, src/osg/GL2Extensions.cpp, - src/osg/Stencil.cpp, src/osg/StencilTwoSided.cpp: Moveved - Stencil/StencilTwoSided::Extensions into GL2Extensions - -2014-12-09 10:37 robert - - * include/osg/BlendColor, include/osg/BlendEquation, - include/osg/Capability, include/osg/GL2Extensions, - src/osg/BlendColor.cpp, src/osg/BlendEquation.cpp, - src/osg/BlendEquationi.cpp, src/osg/Capability.cpp, - src/osg/GL2Extensions.cpp: Moved local Extensions objects to - GL2Extensions +and -2014-12-09 10:05 robert +"The bug i ran into is a crash reading osgt Geometry with null vertexattribs. +The only thing i added is a not nul check on array passed to setVertexAttribArrayList." - * examples/osgmultitexture/osgmultitexture.cpp, - include/osg/GL2Extensions, include/osg/Texture, - include/osg/Texture2DArray, include/osg/Texture3D, - src/osg/GL2Extensions.cpp, src/osg/Image.cpp, - src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2DArray.cpp, src/osg/Texture2DMultisample.cpp, - src/osg/Texture3D.cpp, src/osg/TextureBuffer.cpp, - src/osg/TextureRectangle.cpp, src/osgText/Glyph.cpp: Moved - Texture*::Extensions functionality into GL2Extensions -2014-12-08 16:08 robert - * examples/osgvertexprogram/osgvertexprogram.cpp, - include/osg/FragmentProgram, include/osg/GL2Extensions, - include/osg/VertexProgram, src/osg/FragmentProgram.cpp, - src/osg/GL2Extensions.cpp, src/osg/VertexProgram.cpp: MOved - VertexProgram and FragmentProgram::Extensions into GL2Extensions. -2014-12-08 11:08 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15122 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgUtil/CullVisitor.cpp: Fixed memory leak in - RenderStageCache. -2014-12-07 17:31 robert +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 - * examples/osgcubemap/osgcubemap.cpp, include/osg/GL2Extensions, - include/osg/SampleMaski, src/osg/GL2Extensions.cpp, - src/osg/SampleMaski.cpp: MOved SampleMaski::Extensions into - osg::GL2Extensions -2014-12-05 20:05 robert +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 - * include/osg/GL2Extensions, include/osg/TextureCubeMap, - src/osg/GL2Extensions.cpp, src/osg/TextureCubeMap.cpp, - src/osgFX/SpecularHighlights.cpp: Moved TextureCubeMap::Extension - functionality into GL2Extensions -2014-12-05 17:26 robert +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 - * include/osg/Drawable, include/osg/GL2Extensions, - include/osg/State, include/osgViewer/Renderer, - src/osg/ArrayDispatchers.cpp, src/osg/Drawable.cpp, - src/osg/GL2Extensions.cpp, src/osg/OcclusionQueryNode.cpp, - src/osg/State.cpp, src/osg/TextureRectangle.cpp, - src/osgParticle/PrecipitationEffect.cpp, - src/osgViewer/Renderer.cpp, src/osgViewer/StatsHandler.cpp: Moved - osg::Drawable::Extensions into osg::GL2Extensions - -2014-12-05 10:37 robert - - * examples/osgshaderterrain/osgshaderterrain.cpp, - examples/osgtransferfunction/TransferFunctionWidget.h, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/lua-5.2.3/src/lauxlib.c, - src/osgPlugins/lua/lua-5.2.3/src/lcode.c: Fixed windows build - warnings -2014-12-05 09:52 robert +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 - * src/osg/BufferObject.cpp: Windows build fix -2014-12-05 08:58 robert +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 - * include/osg/BufferObject, include/osg/Drawable, - include/osg/GL2Extensions, src/osg/Drawable.cpp: From the - GLintptr + GLsizeiptr defintions to GL2Extensions header -2014-12-04 19:03 robert +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 - * include/osg/BlendFunc, include/osg/GL2Extensions, - src/osg/BlendFunc.cpp, src/osg/BlendFunci.cpp, - src/osg/GL2Extensions.cpp: Moved osg::BlenFunc::Extensions into - osg::GL2Extensions -2014-12-04 18:13 robert +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 - * examples/osgscreencapture/osgscreencapture.cpp, - include/osg/BufferObject, include/osg/GL2Extensions, - include/osg/TextureBuffer, src/osg/BufferIndexBinding.cpp, - src/osg/BufferObject.cpp, src/osg/GL2Extensions.cpp, - src/osg/Geometry.cpp, src/osgViewer/ScreenCaptureHandler.cpp: - Moved GLBufferObject::Extensions structure into - osg::GL2Extensions -2014-12-04 18:12 robert +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 - * examples/osgscreencapture/osgscreencapture.cpp: Removed redundent - spaces -2014-12-04 17:12 robert +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 - * include/osg/GL2Extensions, src/osg/GL2Extensions.cpp: Added - glMemoryBarrier, glMapBufferRange and glBindBufferBase to - GL2Extensions -2014-12-04 16:28 robert +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 - * src/osg/VertexAttribDivisor.cpp, - src/osgUtil/GLObjectsVisitor.cpp: Moved old - GL2Extensions::Get(..) usage across to new - osg::State::get() usage -2014-12-04 16:22 robert +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 - * examples/osgshaderterrain/osgshaderterrain.cpp, - include/osg/GL2Extensions, include/osg/State, - src/osg/FrameBufferObject.cpp, src/osg/GL2Extensions.cpp, - src/osg/PatchParameter.cpp, src/osg/Program.cpp, - src/osg/Shader.cpp, src/osg/State.cpp: Ported GL2Extentions - across to using the new GL extensions approach - cutting code - count by 3000 lines! -2014-12-04 15:10 robert +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 - * src/osgDB/DatabasePager.cpp, - src/osgUtil/IncrementalCompileOperation.cpp: Build fix for when - ref_ptr<> auto conversion is disabled -2014-12-03 17:31 robert +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 - * examples/osgmultiplerendertargets/osgmultiplerendertargets.cpp, - include/osg/Capability, include/osg/StateAttribute, - src/osg/CMakeLists.txt, src/osg/Capability.cpp: Added - osg::Capability and Cabibilityi base classes to wrap up - glEnable/glDisable + glEnablei/glDisablei functionality, with - osg::Enablei and osg::Disablei concrete implementations. -2014-12-02 17:12 robert +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 - * include/osg/BlendEquation, include/osg/BlendEquationi, - include/osg/BlendFunc, include/osg/BlendFunci, - include/osg/ColorMaski, src/osg/BlendEquation.cpp, - src/osg/BlendEquationi.cpp, src/osg/BlendFunc.cpp, - src/osg/BlendFunci.cpp, src/osg/CMakeLists.txt, - src/osg/ColorMaski.cpp, - src/osgWrappers/serializers/osg/BlendEquationi.cpp, - src/osgWrappers/serializers/osg/BlendFunci.cpp, - src/osgWrappers/serializers/osg/ColorMaski.cpp: Added - osg::BlendFunci, osg::BlendEquationi and osg::ColorMaski - StateAttrirbutes that wrap the glBlendFunci, glBlendEquationi and - glColorMaski functions -2014-12-02 15:37 robert +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 - * include/osg/BlendEquation, include/osg/BlendFunc, - src/osg/BlendEquation.cpp, src/osg/BlendFunc.cpp: Moved - BlendEquation across to using the new GL extension setup - approach. -2014-12-02 15:21 robert +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 - * examples/osgblendequation/osgblendequation.cpp: Fixed typo -2014-12-02 11:10 robert +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 - * include/osg/BlendFunc, include/osg/State, src/osg/BlendFunc.cpp: - Added a template get and get_exisiting method into osg::State - that implements a new mechanism for managing OpenGL extensions. - - Refactored the BendFunc::Extensions usage to simplify it - utilizing the new osg::State extension mechanism. -2014-11-28 16:20 robert +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 - * PlatformSpecifics/Android/android.toolchain.cmake: From Rafa - Gaitan, "I'm attaching also a new version of the toolchain with - support for the r10c ndk. This fixes some CMake Warnings and - allows to use the toolchain in macosx." -2014-11-28 16:10 robert +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 - * CMakeLists.txt, include/OpenThreads/Version, include/osg/Version, - src/OpenThreads/CMakeLists.txt, src/osg/CMakeLists.txt: Removed - include/osg/Version and include/OpenThreads/Version headers as - these are autogenerated. - - Changed the paths for the OpenThreads/osg Version headers to be - placed in the PROJECT_BINARY_DIR. -2014-11-28 10:54 robert +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 - * include/osg/BufferObject, include/osgDB/ConvertUTF, - src/OpenThreads/pthreads/PThread.cpp, src/osg/GLExtensions.cpp: - Standardized on defined(__ANDROID__) -2014-11-28 10:52 robert +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 - * src/osgPlugins/lua/lua-5.2.3/src/llex.c, - src/osgPlugins/lua/lua-5.2.3/src/luaconf.h: Added - getlocaledecpoint() workaround for Android build of lua plugin -2014-11-27 15:54 robert +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 - * src/osgTerrain/GeometryPool.cpp, src/osgTerrain/shaders, - src/osgTerrain/shaders/terrain_displacement_mapping_frag.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_vert.cpp: - Added in source shaders -2014-11-27 15:39 robert +Thu, 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 - * src/osgTerrain/GeometryPool.cpp: Changed the name of shader files -2014-11-26 20:40 robert +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 - * src/osg/CMakeLists.txt: From Jason Beverage, "It looks like the - Callback header got accidentally removed from the CMakeLists.txt - in the submission yesterday for the geometry instancing example." -2014-11-26 19:05 robert +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 - * include/osgTerrain/DisplacementMappingTechnique, - include/osgTerrain/GeometryPool: Windows build fix -2014-11-26 17:08 robert +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. - * applications/present3D/deprecated/Cluster.h: Fixed warnings + -2014-11-26 17:04 robert - - * src/osgQt/GraphicsWindowQt.cpp: Fixed warnings - -2014-11-26 16:29 robert - - * src/osgPlugins/ffmpeg/CMakeLists.txt: Fixed deprecated warnings - -2014-11-26 16:15 robert - - * src/osgPlugins/pdf/CMakeLists.txt: Fixed warning - -2014-11-26 16:04 robert - - * examples/osgcluster/osgcluster.cpp: Fixed warnings. - -2014-11-26 16:00 robert - - * src/osgPlugins/lwo/Object.cpp: Fixed warning - -2014-11-26 15:59 robert - - * src/osgWrappers/deprecated-dotosg/osg/StateSet.cpp: Fixed warning - -2014-11-26 14:06 robert - - * src/osgWrappers/serializers/osgTerrain/DisplacementMappingTechnique.cpp: - Added osgTerrain::DisplacementMappingTechnique serializer - -2014-11-26 14:04 robert - - * examples/osgterrain/CMakeLists.txt, - examples/osgterrain/ShaderTerrain.cpp, - examples/osgterrain/ShaderTerrain.h, - examples/osgterrain/osgterrain.cpp, - include/osgTerrain/DisplacementMappingTechnique, - include/osgTerrain/GeometryPool, src/osgTerrain/CMakeLists.txt, - src/osgTerrain/DisplacementMappingTechnique.cpp, - src/osgTerrain/GeometryPool.cpp: Renamed ShaderTerrain to - DisplacementMappingTechnique and moved it from the osgterrain - example testbed into the osgTerrain NodeKit - -2014-11-26 13:36 robert - - * examples/osgterrain/ShaderTerrain.cpp, - examples/osgterrain/ShaderTerrain.h, - include/osgTerrain/GeometryPool, src/osgTerrain/CMakeLists.txt, - src/osgTerrain/GeometryPool.cpp: Moved osgTerrain::GeometryPool - from osgterrain example into osgTerrain NodeKit - -2014-11-25 14:37 robert - - * src/osg/CMakeLists.txt: Removed GL header as it's already - included via the ${OPENSCENEGRAPH_OPENGL_HEADER} entry. - -2014-11-25 10:58 robert - - * examples/CMakeLists.txt, examples/osggpucull, - examples/osggpucull/AggregateGeometryVisitor.cpp, - examples/osggpucull/AggregateGeometryVisitor.h, - examples/osggpucull/CMakeLists.txt, - examples/osggpucull/DrawIndirectPrimitiveSet.cpp, - examples/osggpucull/DrawIndirectPrimitiveSet.h, - examples/osggpucull/GpuCullShaders.h, - examples/osggpucull/ShapeToGeometry.cpp, - examples/osggpucull/ShapeToGeometry.h, - examples/osggpucull/osggpucull.cpp, include/osg/BufferTemplate, - src/osg/CMakeLists.txt: From PawelKsiezopolski, "This submission - contains a new example for OSG : a geometry instancing rendering - algorithm consisting of two consequent phases : - - - first phase is a GLSL shader performing object culling and LOD - picking ( a culling shader ). - Every culled object is represented as GL_POINT in the input - osg::Geometry. - The output of the culling shader is a set of object LODs that - need to be rendered. - The output is stored in texture buffer objects. No pixel is drawn - to the screen - because GL_RASTERIZER_DISCARD mode is used. - - - second phase draws osg::Geometry containing merged LODs using - glDrawArraysIndirect() - function. Information about quantity of instances to render, its - positions and other - parameters is sourced from texture buffer objects filled in the - first phase. - - The example uses various OpenGL 4.2 features such as texture - buffer objects, - atomic counters, image units and functions defined in - GL_ARB_shader_image_load_store - extension to achieve its goal and thus will not work on graphic - cards with older OpenGL - versions. - - The example was tested on Linux and Windows with NVidia 570 and - 580 cards. - The tests on AMD cards were not conducted ( due to lack of it ). - The tests were performed using OSG revision 14088. - - The main advantages of this rendering method : - - instanced rendering capable of drawing thousands of different - objects with - almost no CPU intervention ( cull and draw times are close to 0 - ms ). - - input objects may be sourced from any OSG graph ( for example - - information about - object points may be stored in a PagedLOD graph. This way we may - cover the whole - countries with trees, buildings and other objects ). - Furthermore if we create osgDB plugins that generate data on the - fly, we may - generate information for every grass blade for that country. - - every object may have its own parameters and thus may be - distinct from other objects - of the same type. - - relatively low memory footprint ( single object information is - stored in a few - vertex attributes ). - - no GPU->CPU roundtrip typical for such methods ( method uses - atomic counters - and glDrawArraysIndirect() function instead of OpenGL queries. - This way - information about quantity of rendered objects never goes back to - CPU. - The typical GPU->CPU roundtrip cost is about 2 ms ). - - this example also shows how to render dynamic objects ( objects - that may change - its position ) with moving parts ( like car wheels or airplane - propellers ) . - The obvious extension to that dynamic method would be the - animated crowd rendering. - - rendered objects may be easily replaced ( there is no need to - process the whole - OSG graphs, because these graphs store only positional - information ). - - The main disadvantages of a method : - - the maximum quantity of objects to render must be known - beforehand - ( because texture buffer objects holding data between phases have - constant size ). - - OSG statistics are flawed ( they don't know anymore how many - objects are drawn ). - - osgUtil::Intersection does not work - - Example application may be used to make some performance tests, - so below you - will find some extended parameter description : - --skip-dynamic - skip rendering of dynamic objects if you only - want to - observe static object statistics - --skip-static - the same for static objects - --dynamic-area-size - size of the area for dynamic rendering. - Default = 1000 meters - ( square 1000m x 1000m ). Along with density defines - how many dynamic objects is there in the example. - --static-area-size - the same for static objects. Default = 2000 - meters - ( square 2000m x 2000m ). - - Example application defines some parameters (density, LOD ranges, - object's triangle count). - You may manipulate its values using below described modifiers: - --density-modifier - density modifier in percent. Default = 100%. - Density ( along with LOD ranges ) defines maximum - quantity of rendered objects. registerType() function - accepts maximum density ( in objects per square kilometer ) - as its parameter. - --lod-modifier - defines the LOD ranges. Default = 100%. - --triangle-modifier - defines the number of triangles in finally - rendered objects. - Default = 100 %. - --instances-per-cell - for static rendering the application - builds OSG graph using - InstanceCell class ( this class is a modified version of Cell - class - from osgforest example - it builds simple quadtree from a list - of static instances ). This parameter defines maximum number - of instances in a single osg::Group in quadtree. - If, for example, you modify it to value=100, you will see - really big cull time in OSG statistics ( because resulting - tree generated by InstanceCell will be very deep ). - Default value = 4096 . - --export-objects - write object geometries and quadtree of - instances to osgt files - for later analysis. - --use-multi-draw - use glMultiDrawArraysIndirect() instead of - glDrawArraysIndirect() in a - draw shader. Thanks to this we may render all ( different ) - objects - using only one draw call. Requires OpenGL version 4.3 and some - more - work from me, because now it does not work ( probably I - implemented - it wrong, or Windows NVidia driver has errors, because it hangs - the apllication at the moment ). - - This application is inspired by Daniel Rákos work : "GPU based - dynamic geometry LOD" that - may be found under this address : - http://rastergrid.com/blog/2010/10/gpu-based-dynamic-geometry-lod/ - There are however some differences : - - Daniel Rákos uses GL queries to count objects to render, while - this example - uses atomic counters ( no GPU->CPU roundtrip ) - - this example does not use transform feedback buffers to store - intermediate data - ( it uses texture buffer objects instead ). - - I use only the vertex shader to cull objects, whereas Daniel - Rákos uses vertex shader - and geometry shader ( because only geometry shader can send more - than one primitive - to transform feedback buffers ). - - objects in the example are drawn using glDrawArraysIndirect() - function, - instead of glDrawElementsInstanced(). - - Finally there are some things to consider/discuss : - - the whole algorithm exploits nice OpenGL feature that any GL - buffer - may be bound as any type of buffer ( in our example a buffer is - once bound - as a texture buffer object, and later is bound as - GL_DRAW_INDIRECT_BUFFER ). - osg::TextureBuffer class has one handy method to do that trick ( - bindBufferAs() ), - and new primitive sets use osg::TextureBuffer as input. - For now I added new primitive sets to example ( - DrawArraysIndirect and - MultiDrawArraysIndirect defined in - examples/osggpucull/DrawIndirectPrimitiveSet.h ), - but if Robert will accept its current implementations ( I mean - - primitive - sets that have osg::TextureBuffer in constructor ), I may add it - to - osg/include/PrimitiveSet header. - - I used BufferTemplate class writen and published by Aurelien in - submission forum - some time ago. For some reason this class never got into - osg/include, but is - really needed during creation of UBOs, TBOs, and possibly SSBOs - in the future. - I added std::vector specialization to that template class. - - I needed to create similar osg::Geometries with variable number - of vertices - ( to create different LODs in my example ). For this reason I've - written - some code allowing me to create osg::Geometries from osg::Shape - descendants. - This code may be found in ShapeToGeometry.* files. Examples of - use are in - osggpucull.cpp . The question is : should this code stay in - example, or should - it be moved to osgUtil ? - - this remark is important for NVidia cards on Linux and Windows - : if - you have "Sync to VBlank" turned ON in nvidia-settings and you - want to see - real GPU times in OSG statistics window, you must set the power - management - settings to "Prefer maximum performance", because when "Adaptive - mode" is used, - the graphic card's clock may be slowed down by the driver during - program execution - ( On Linux when OpenGL application starts in adaptive mode, clock - should work - as fast as possible, but after one minute of program execution, - the clock slows down ). - This happens when GPU time in OSG statistics window is shorter - than 3 ms. - " - -2014-11-25 10:33 robert - - * src/osgUtil/TriStripVisitor.cpp: Removed DrawArrays optimization - to simplify the code and open the door to adding primitive - combining. - -2014-11-25 10:11 robert - - * src/osg/State.cpp: Commented out - State::setUpVertexAttribAlias(..) debug message. - -2014-11-24 15:19 robert - - * CMakeLists.txt, CMakeModules/FindAVFoundation.cmake, - CMakeModules/FindQuickTime.cmake, - src/osgViewer/PixelBufferCocoa.mm: From Jan Klimke, "i noticed, - that there are a couple of additional flaws when building osg for - Mac OS X 10.10 Yosemite. - - The mac os sdk version is recognized by the current CMAKE script - as 10.1 instead of 10.10 since it cuts the version string from - the 4th place. I introduced a more reliable version checking - based on splitting the returned version code into MAJOR MINOR and - PATCH parts and reassemble the OSG sdk version afterwards. - - I replaced the existing CMake code against the following - (returning now version 10.10 as expected): - - # Determine the canonical name of the selected Platform SDK - EXECUTE_PROCESS(COMMAND "/usr/bin/sw_vers" "-productVersion" - OUTPUT_VARIABLE OSG_OSX_SDK_NAME - OUTPUT_STRIP_TRAILING_WHITESPACE) - STRING(REPLACE "." ";" MACOS_VERSION_LIST ${OSG_OSX_SDK_NAME}) - LIST(GET MACOS_VERSION_LIST 0 MACOS_VERSION_MAJOR) - LIST(GET MACOS_VERSION_LIST 1 MACOS_VERSION_MINOR) - LIST(GET MACOS_VERSION_LIST 2 MACOS_VERSION_PATCH) - - SET(OSG_OSX_SDK_NAME - "macosx${MACOS_VERSION_MAJOR}.${MACOS_VERSION_MINOR}") - - Also i added the check for the new Version to some more find - scripts. - - Additionally the nil object in Objective C now seems to be - equivalent with a null_ptr that cannot be passed as GLInt - anymore. So i switched this in the PixelBufferCocoa.mm to pass a - zero instead of nil. - " - -2014-11-24 14:54 robert - - * include/osg/StateAttribute, include/osg/VertexAttribDivisor, - src/osg/CMakeLists.txt, src/osg/VertexAttribDivisor.cpp, - src/osgWrappers/serializers/osg/VertexAttribDivisor.cpp: Added - VertexAttribDivisor class to wrap up glVertexAttribDivisor - function - -2014-11-24 14:09 robert - - * examples/osgsimplegl3/osgsimplegl3.cpp: Fixed osgsimplegl3 - example's set up of the main camera. - -2014-11-24 14:01 robert - - * include/osg/State, src/osg/State.cpp: Added numTextureUnits - parameter to the osg::State::resetVertexAttributeAlias(bool, - unit) method, and set the default to 8. - -2014-11-21 20:16 robert - - * src/osgDB/CMakeLists.txt, src/osgDB/FileUtils.cpp: From Alberto - Luaces,"the current code uses the preprocessor for generating the - plugin path in - a way that when CMAKE_INSTALL_PREFIX contains something along the - lines - of - - /usr/x86_64-linux-gnu/ - - it gets substituted as - - /usr/x86_64-1-gnu/ - - that is, the string is preprocessed again, thereby making changes - to - anything that matches any defined symbol, as "linux" in this - example - (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763816). - - Quoting that path directly in CMake scripts solves that problem. - " - -2014-11-21 20:15 robert - - * include/osg/Image: Added comment clarifying how - Image::getColor(..) out of 0..1 range texcoords are handled - now - clamped to edge. - -2014-11-21 17:22 robert - - * src/osg/Image.cpp: Implemented a clamp to edge policy for the - Image::g/setColor(color, texcoord). - -2014-11-21 17:17 robert - - * src/osg/CopyOp.cpp: Added testing for Drawables in the - CopyOp::operator(Node*) to replicate the old functionality. - -2014-11-21 16:27 robert - - * include/osg/Image, src/osg/Image.cpp: From Sebastian - Messerschmidt, "Added setColor function to modify an image based - on texture coordinates, parallel to the getColor functionality." - -2014-11-21 14:46 robert - - * examples/osgterrain/osgterrain.cpp: Added --db-affinit cpuNum - option to osgterrain example to illustrate how to set the thead - affinity of the DatabasePager threads. - -2014-11-21 10:44 robert - - * include/osg/Texture2DMultisample: From Sebastian Messerschmidt, - "Attached you find a change adding a getNumSamples() function to - retrieve the value set via setNumSamples." - -2014-11-21 10:37 robert - - * CMakeLists.txt, CMakeModules/ModuleInstall.cmake, - CMakeModules/OsgMacroUtils.cmake, - PlatformSpecifics/Android/android.toolchain.cmake, - src/CMakeLists.txt, src/OpenThreads/pthreads/CMakeLists.txt, - src/osgWrappers/serializers/osg/LibraryWrapper.cpp: From Rafa - Gaitan, "I finally had some time to change the build system for - Android using a Toolchain, which, I think, will be easier to - maintain and uses cmake standard system to build it. - - My changes: - ------------------- - - I changed the cmake files and added a toolchain for building - OSG in Android. The toolchain is based on the one used at OpenCV. - For building OSG for android you just need to do: - - mkdir build_android_static_gles2 && cd build_android_static_gles2 - cmake .. -DANDROID_NDK= - -DCMAKE_TOOLCHAIN_FILE=../PlatformSpecifics/Android/android.toolchain.cmake - -DOPENGL_PROFILE="GLES2" - -DDYNAMIC_OPENTHREADS=OFF - -DDYNAMIC_OPENSCENEGRAPH=OFF - -DANDROID_NATIVE_API_LEVEL=15 # optional - -DANDROID_ABI=armeabim #optional - -DCMAKE_INSTALL_PREFIX= #optional - make -j 8 - make install - - The OPENGL_PROFILE works as expected, changing it to "GLES1" it - builds and links OSG using GLES1. - The DYNAMIC_OPENTHREADS/DYNAMIC_OPENSCENEGRAPH parameters also - allows to build the dynamic libraries - - - I also added some build fixes for android related to the - texture formats and added some missing USE_OSG_SERIALIZER_WRAPPER - in the osg serializer library to support loading osgb files in - static." - -2014-11-21 10:21 robert - - * CMakeModules/CheckAtomicOps.cmake: From Björn Blissing, fix for - ambiguous defines in Atomic.cpp when compiling with MinGW and GCC - -2014-11-20 17:37 robert - - * include/osg/Texture: From Claus Steuer, "XCode 6, IOs 8.1 SDK - Compile fix : There are some undefined texture formats when - compiling osg for IOs 8.1 with XCode 6 and OpenGLES2 enabled." - -2014-11-20 17:00 robert - - * include/osg/State: From Pjotr Svetachov, "I was experimenting - with VBO's to try to get them on par with display - lists when drawing lots of batches and noticed that my program - generated a lot of unneeded glClientActiveTexture calls. Digging - deeper I found out it came from State::disableTexCoordPointer - where - the function would call glClientActiveTexture but not - glDisableClientState because the geometry didn't have texture - coordinates for that channel. This is because in our scene there - are - some geometries that have move than one uv channels making - State::_texCoordArrayList grow. Then the method - State::applyDisablingOfVertexAttributes() will call - disableTexCoordPointer multiple times. - - I rearrange the method a little to combat this. Now the logic has - the - same ordering as disableTexCoordPointersAboveAndIncluding which - already combats this." - -2014-11-20 16:38 robert - - * src/osgPlugins/obj/ReaderWriterOBJ.cpp: From Farshid Lashkari, - "The obj loader was overriding the existing database path list - with the file path of the model, instead of prepending the file - path to the path list. The latter seems to be more common - behavior for most of the existing loader plugins. Also, the local - options weren't actually being used when processing the scene - graph for textures. I've attached the fix for both issues." - -2014-11-20 10:52 robert - - * src/osgPlugins/Inventor/ConvertFromInventor.cpp: From Marc - Helbling, "here is a trivial fix in the Inventor plugin. In one - code path, the pointer validity is checked after dereferencing a - pointer that can be null (image->valid()) instead of calling - ref_ptr::valid (image.valid())." - -2014-11-20 10:45 robert - - * src/osgUtil/MeshOptimizers.cpp: From Marc Helbling, "I've come - across scenes that contains geometries with initialized but empty - vertex arrays and primitives and that would make some optimizers - crash. - - The submission therefore only contains a test on the size of the - vertex array for the VertexCacheMissVisitor and the - VertexAccessOrderVisitor visitors." - -2014-11-20 10:05 robert - - * src/osg/Texture.cpp: From Christian Ruzicka, "while testing this - commit on our OSG 3.2 version, I observed that the changes for - ETC2 brake ETC1 support. Attached you'll find the changes to get - ETC1 running again" - -2014-11-20 09:55 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Sukender, "Fix for - 3DS reader, which may read wrong triangles. Actually, indices may - suffer a 'short int' overflow, in two places." - -2014-11-20 09:41 robert - - * src/osg/Texture2DArray.cpp: Fixed segfalt in Texture2DArray copy - constructor where it would apply images to an uninitialzed - vector. - -2014-11-20 09:32 robert +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." - * src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.h, - src/osgPlugins/fbx/fbxRMesh.cpp: From Marc Helbling, "patch - adding support for ambient material in the FBX plugin. It's a - straightfoward adaptation of the emissive support and has been - tested on a proprietary model." -2014-11-20 09:21 robert - * src/osgPlugins/gif/ReaderWriterGIF.cpp: From Pjotr Svetachov, fix - for build breakage with giflib 5.0. -2014-11-20 08:26 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15042 16af8721-9629-0410-8352-f15c8da7e697 - * README.txt: From Per Nordqvist, "The README.txt is still somewhat - confusing so I have updated it" -2014-11-19 17:45 robert +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 - * README.txt, configure: Removed configure script as it's no longer - required as cmake . will now default to Release -2014-11-19 17:42 robert +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 - * CMakeLists.txt: Added CMake script to set the default - CMAKE_BUILD_TYPE to Release. Approach taken from simgear. -2014-11-19 17:29 robert +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. - * ChangeLog, applications/osgversion/Contributors.cpp: Fixed - Contributors names +I also needed to remove quotes from this line in order for headers to be found: -2014-11-19 17:10 robert +set(FREETYPE_INCLUDE_DIRS "${FREETYPE_DIR}/include +${FREETYPE_DIR}/include/freetype/config") - * src/osgPlugins/gif/ReaderWriterGIF.cpp: From Clement Boesch, "Fix - remaining bit of Giflib5 usage" +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." -2014-11-19 11:37 robert - * src/osgWrappers/deprecated-dotosg/osg/ProxyNode.cpp: From Laurens - Voerman, "I found a new way to crach the osgviewer: - osgviewer "ProxyNode { FileNameList { cow.osgt } num_children 1 - }".osgs - - The proxy node reader wrongly assumes options to be non NULL. - - fixed in attached zip: - src\osgWrappers\deprecated-dotosg\osg\ProxyNode.cpp - - applies to both the 3.2 branch and svn trunk" +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15037 16af8721-9629-0410-8352-f15c8da7e697 -2014-11-19 11:30 robert - * examples/osgQtWidgets/osgQtWidgets.cpp, - include/osgQt/QGraphicsViewAdapter, include/osgQt/QWebViewImage, - include/osgQt/QWidgetImage, src/osgQt/QGraphicsViewAdapter.cpp, - src/osgQt/QWidgetImage.cpp, - src/osgViewer/ViewerEventHandlers.cpp: From Wang Rui, "The - submission includes some fixes for osgQt library and osgQtWidgets - example: (1) QTextEdit now works with mouse/drag events, (2) - scrollbars will change when OSG window is resizing, (3) improve - rendering efficiency of QGraphicsViewAdapter so that it works - with complex Qt UI, (4) add new setBackgroundWidget() method to - indicate a 'background widget', which will ignore mouse/key - events on it and pass them to the 3D scene." +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. -2014-11-19 10:43 robert +"glxinfo | grep s3tc" gives: + GL_S3_s3tc - * examples/osgterrain/ShaderTerrain.cpp: Changed the way that the - cell size is passed to the shader +Note, if I install the package "libtxc-dxtn-s2tc0", I get in addition: -2014-11-19 09:33 robert +glxinfo | grep s3tc + GL_EXT_texture_compression_s3tc + GL_S3_s3tc - * src/osg/Texture.cpp: From James Turner, "Converting the loops to - forward versions fixed the issue. The problem is size_t is - unsigned; at the limit condition it doesn’t go negative but wraps - around to 0xffffffffffffffff …. and boom." +However, S3TC compressed textures worked correctly within the OSG even without libtxc-dxtn-s2tc0 installed. -2014-11-17 15:43 robert +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." - * src/osgPlugins/exr/ReaderWriterEXR.cpp: Fixed typo -2014-11-17 09:19 robert - * src/osgDB/ObjectCache.cpp: Fixed typo in comment +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15034 16af8721-9629-0410-8352-f15c8da7e697 -2014-11-14 17:44 robert - * examples/osgterrain/ShaderTerrain.cpp: Added use of - GL_TRIANGLE_STRIP to cut down the size of the primitive indices - required. +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 -2014-11-14 16:47 robert - * examples/osgterrain/ShaderTerrain.cpp: Implemented skirt - functionality +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 -2014-11-13 09:40 robert - * include/osgDB/DatabasePager, include/osgDB/ObjectCache, - include/osgDB/Options, src/osgDB/DatabasePager.cpp, - src/osgDB/ObjectCache.cpp, src/osgDB/Options.cpp, - src/osgDB/Registry.cpp: Refactored the handling of use of the - osgDB::ObjectCache in the DatabasePager to use a local thread - specific ObjectCache to handle new additions and - then have these additions merged with the main Registry - ObjectCache during the main loop. +Fri, 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 -2014-11-11 18:28 robert - * include/osgDB/ObjectCache, include/osgDB/Registry, - src/osgDB/CMakeLists.txt, src/osgDB/ObjectCache.cpp, - src/osgDB/Registry.cpp: Moved implementation of ObjectCache - functionality out of Registry into a dedicated osgDB::ObjectCache - class. +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 -2014-11-10 16:04 robert - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: To - handle thread safe paging and use of the osgDB::Registry - ObjectCache, moved the handling of cache into - osgDB::DatabasePager. - -2014-11-06 10:44 robert - - * src/osgDB/InputStream.cpp: From Pjotr Svetachov, "I tried your - fix and it exposed a bug in my fix :) - The problem is that the readObjectFields method will add the - object to the _identifierMap. So all the other instances of that - image in the same file will be replaced by the created dummy - object. In my fix this was an dummy image and I didn't notice it - in our scene's, probably because it covered a small part of an - object. In your fix the dummy object was not an image and that - leads to a crash when something tries to use it as an image. I - have attached a small fix for this bug. - - " - -2014-11-06 10:40 robert - - * include/osg/Object, include/osgDB/DatabasePager, - include/osgUtil/IncrementalCompileOperation, - src/osgDB/DatabasePager.cpp, src/osgDB/InputStream.cpp, - src/osgUtil/IncrementalCompileOperation.cpp: Introduced use of - MarkerObject to IncrmentalCompileOperation/DatabasePager as a way - of marking objects that have already been processed and compiled, - thus avoid potential threading conflicts when paged subgraphs are - reused. - -2014-11-05 16:08 robert - - * include/osgDB/InputStream, src/osgDB/InputStream.cpp: Added - handling of the reading of field properties to a dummy object for - cached images to avoid threading issues associated with reusing - and modifying an active object. - -2014-11-05 13:38 robert - - * src/osg/OperationThread.cpp: Reinstated the original mechanism - for OperationThread::cancel() that co-operatively releases - blocks/barriers to make sure the thread is able to exit - correctly. - -2014-11-04 20:07 robert - - * examples/osgterrain/ShaderTerrain.cpp, - examples/osgterrain/ShaderTerrain.h: Improvements to the - ShaderTerrain experiemental terrain rendering technique. - -2014-11-04 20:07 robert - - * src/osgTerrain/TerrainTile.cpp: Changed TerrainTile::setDirty() - to use children needing update traversal mechanism to address - threadng issues. - -2014-11-04 20:06 robert - - * src/OpenThreads/pthreads/PThread.cpp, - src/OpenThreads/pthreads/PThreadPrivateData.h: Change isRunning - variable to an Atomic to address possible race condition - asscoiated with reading and writing to the variable from - different threads. - -2014-11-04 16:29 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp: Build fixes for - ffmpeg LIBAVCODEC_VERSION_MAJOR >= 56 - -2014-11-04 11:18 robert - - * src/osgViewer/ViewerBase.cpp: Added an InitRegistry static - intiialization and destrucion static to help control the order of - construction and destruction of the osgDB::Registry. - -2014-11-04 10:46 robert - - * examples/osgQtBrowser/osgQtBrowser.cpp, - examples/osgunittests/MultiThreadRead.cpp, - examples/osgunittests/osgunittests.cpp, - examples/osguserstats/osguserstats.cpp, - examples/osgviewerMFC/MFC_OSG.cpp, include/osg/OperationThread, - src/OpenThreads/pthreads/PThread.cpp, - src/OpenThreads/qt/QtThread.cpp, - src/OpenThreads/sproc/SprocThread.c++, - src/OpenThreads/win32/Win32Thread.cpp, - src/osg/OperationThread.cpp, src/osgDB/DatabasePager.cpp, - src/osgDB/ImagePager.cpp, src/osgPlugins/cfg/RenderSurface.cpp, - src/osgPlugins/gif/ReaderWriterGIF.cpp, - src/osgPlugins/quicktime/QuicktimeImageStream.cpp, - src/osgPlugins/vnc/ReaderWriterVNC.cpp: Replaced use of - while(isRunning()) { YieldCurrentThread(); } style loops with use - of join() to avoid false positives being reported by valgrind - when using the helgrind tool for thread debugging. - -2014-10-21 15:08 robert - - * examples/osgterrain/CMakeLists.txt, - examples/osgterrain/ShaderTerrain.cpp, - examples/osgterrain/ShaderTerrain.h, - examples/osgterrain/osgterrain.cpp, - src/osgTerrain/TerrainTile.cpp: Added experimental - osgTerrain::ShaderTerrain TerrainTechnique to osgterrain example - to flesh out new shader based displacement mapping approach to - osgTerrain databases. - - Requires shader files place in OpenSceneGraph-Data/shaders from - OpenSceneGraph-Data's svn/trunk to function. - - Run osgterrain example with --shader command line option to - select displacement mapping shader approach. - -2014-10-21 14:47 robert - - * applications/osgviewer/osgviewer.cpp: Removed --sync related code - as it's now integrated into osg::DisplaySettings and osgViewer - -2014-10-21 14:46 robert - - * include/osg/DisplaySettings, include/osg/GraphicsContext, - src/osg/DisplaySettings.cpp, src/osg/GraphicsContext.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Added osg::SyncSwapBuffersCallback to include/osg/GraphicsContext - and support for enabling it to include/osg/DisplaySettings, and - to the Viewer/CompositeViewer::realize() methods. - - To enable the sync of swap buffers set the env var - OSG_SYNC_SWAP_BUFFERS to ON or 1, to switch off set to OFF or 0. - - One can also use the --sync command line option for application - that pass on command line options to the - osg::DisplaySettings::instance(). - -2014-10-21 08:27 robert +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 - * src/osg/StateSet.cpp: Removed checks against Drawable as these - are no longer required. - -2014-09-17 17:40 robert - - * src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h, - src/osgPlugins/lua/ReaderWriterLua.cpp: Added support for writing - the file path of a script to the lua package.path to help with - loading scripts within lua. - -2014-09-16 17:40 robert - - * examples/osgvolume/osgvolume.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/tf/ReaderWriterTF.cpp: Changed osgvolume example - to use the new tf plugin rather than having local code for - reading transfer function - -2014-09-16 11:00 robert - - * src/osgPlugins/tf/ReaderWriterTF.cpp: Added write support - -2014-09-15 17:53 robert - * src/osgDB/Registry.cpp, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/tf, src/osgPlugins/tf/CMakeLists.txt, - src/osgPlugins/tf/ReaderWriterTF.cpp: Added .tf & .tf-255 plugin - for reading ascii 1D transfer functon files in support for volume - rendering. +Thu, 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 -2014-09-12 14:16 robert - * include/osgUI/TabWidget, src/osgUI/TabWidget.cpp: Added basic - frame rendering for TabWidget +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 -2014-09-10 17:03 robert - * include/osgUI/AlignmentSettings, src/osgUI/AlignmentSettings.cpp, - src/osgUI/TabWidget.cpp: Improved the alignment and sizing of - TabWidget tab headers - -2014-09-10 11:59 robert - - * src/osgUI/TabWidget.cpp: Implemented the selection of tabs by - clicking, using mouse wheel or arrow keys. +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 -2014-09-09 16:12 robert +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 - * src/osgUI/Dialog.cpp, src/osgUI/TabWidget.cpp: Improved the - handling of the dialog title text -2014-09-09 15:14 robert +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 - * include/osgUI/Callbacks, src/osgUI/Callbacks.cpp, - src/osgUI/Dialog.cpp, src/osgUI/Widget.cpp: Moved the diaglog - title bar widgets into the Widget::GraphicsSubgraph map to avoid - them poluting the Dialog's children list and to prevent them from - being serialized. -2014-09-09 13:37 robert +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 - * include/osgUI/TabWidget, include/osgUI/Widget, - src/osgUI/ComboBox.cpp, src/osgUI/Dialog.cpp, - src/osgUI/Label.cpp, src/osgUI/LineEdit.cpp, src/osgUI/Popup.cpp, - src/osgUI/PushButton.cpp, src/osgUI/Style.cpp, - src/osgUI/TabWidget.cpp, src/osgUI/Widget.cpp, - src/osgWrappers/serializers/osgUI/Tab.cpp, - src/osgWrappers/serializers/osgUI/Widget.cpp: Introduced - Widget::WidgetStateSet to help localize the StateSet set up by - Widget implementations from being serialized or - affecting what end users apply via the standard - Node::s/getStateSet(). - - Further work on TabWidget. -2014-09-08 08:53 robert +Wed, 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 - * examples/osgtransferfunction/TransferFunctionWidget.cpp: Build - fix -2014-09-05 16:04 robert +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 - * include/osgUI/TabWidget, src/osgUI/CMakeLists.txt, - src/osgUI/TabWidget.cpp, - src/osgWrappers/serializers/osgUI/Tab.cpp, - src/osgWrappers/serializers/osgUI/TabWidget.cpp: Added shell of - new osgUI::TabWidget class -2014-09-05 11:05 robert +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 - * include/osgDB/ObjectWrapper, include/osgDB/Serializer, - src/osgDB/ObjectWrapper.cpp, - src/osgWrappers/serializers/osgVolume/VolumeSettings.cpp: - Introduced support for specifying whether a serializer supports - different types of usage - one or more of READ_WRITE_PROPERTY, - GET_PROPERTY and SET_PROPERTY. -2014-09-03 15:54 robert +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 - * include/osgVolume/VolumeSettings, - src/osgPresentation/deprecated/SlideShowConstructor.cpp, - src/osgVolume/VolumeSettings.cpp, - src/osgWrappers/serializers/osgVolume/VolumeSettings.cpp: Added - setting of the IsoSurfaceProperty in VolumeSettings -2014-09-03 12:28 robert +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 - * include/osgUI/Callbacks, src/osgUI/Callbacks.cpp, - src/osgUI/Dialog.cpp, src/osgUI/PushButton.cpp: Added close - button on Dialog title bar -2014-09-02 17:01 robert +Tue, 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 - * include/osgUI/ComboBox, src/osgUI/ComboBox.cpp: Refactored the - handling of ComboBox item picking to make it faster and more - reliable -2014-09-02 10:00 robert +Tue, 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 - * src/osgUI/ComboBox.cpp: Improved handling of ComboBox popup - toggling -2014-09-02 09:14 robert +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 - * src/osgUI/Callbacks.cpp, src/osgUI/Widget.cpp: Added support for - scaling widgets via the scoll wheel. -2014-09-02 08:41 robert +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 - * src/osgGA/KeySwitchMatrixManipulator.cpp: Removed debugging - message -2014-09-01 19:13 robert +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 - * include/osgUI/Callbacks, include/osgUI/Widget, - src/osgUI/CMakeLists.txt, src/osgUI/Callbacks.cpp, - src/osgUI/Dialog.cpp, src/osgUI/LineEdit.cpp, - src/osgUI/Widget.cpp: Added DragCallback class to help dialog - dragging support. - Introduced a new - Widget::computeExtentsPositionInLocalCoordinates() method that - intersects with a ray through mouse pointer and the extents of - the widget. -2014-08-28 15:11 robert +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 - * src/osgVolume/MultipassTechnique.cpp: Improved support for - controlling the ShadingModel via the VolumeSettings object -2014-08-28 09:42 robert +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 - * src/osgPresentation/deprecated/SlideShowConstructor.cpp, - src/osgVolume/Property.cpp: Improved handling of VolumeSettings -2014-08-27 15:08 robert +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." - * src/osgPresentation/deprecated/SlideShowConstructor.cpp, - src/osgUI/Widget.cpp, src/osgVolume/Property.cpp, - src/osgWrappers/serializers/osgVolume/SampleRatioProperty.cpp: - Changed the osgUI behaviour so that events are set to be handled - by Widgets that have focus even if they don't directly use them. +CMakeModules/FindGStreamer.cmake -2014-08-27 15:07 robert - * src/osg/NodeVisitor.cpp: Changed the - NodeVisitor::apply(Drawable&) to call apply(Node&) +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@14983 16af8721-9629-0410-8352-f15c8da7e697 -2014-08-27 09:25 robert - * include/osgDB/Serializer, - src/osgWrappers/serializers/osgVolume/VolumeSettings.cpp: Added - support for getting osgVolumre::Property::ModifieCount +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 -2014-08-25 16:56 robert - * include/osgDB/Serializer, include/osgVolume/Property, - include/osgVolume/VolumeSettings, src/osgVolume/Property.cpp, - src/osgWrappers/serializers/osgVolume/Property.cpp, - src/osgWrappers/serializers/osgVolume/VolumeSettings.cpp: Added - Property::getModifiedCount() + dirty() to help with tracking - changes. Added VolumeSettings serializers for Property objects +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 -2014-08-25 13:43 robert - * include/osg/StateSet, src/osg/NodeVisitor.cpp, - src/osg/StateSet.cpp: Changed StateSet::ParentList from - vector to vector to reflect that Drawable is now - a Node. +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 -2014-08-22 19:00 robert - * include/osgUI/Style, src/osgUI/Popup.cpp, src/osgUI/Style.cpp: - Improved handling of setting of the depth of the UI. +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 -2014-08-20 14:15 robert - * src/osgUI/Style.cpp: Reordered method implemenations to make it - easier to compare similar methods +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 -2014-08-19 16:58 robert - * src/osgPresentation/deprecated/SlideShowConstructor.cpp: Added - toggling on/off of the VolumeSettings ui via the 'E' key. +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 -2014-08-19 16:37 robert - - * src/osgPresentation/deprecated/SlideShowConstructor.cpp: Updated - VolumeSettings.lua reference to use ui prefix to work with the - new OpenSceneGraph-Data/ui/VolumeSettings.lua file. - -2014-08-19 09:27 robert - - * src/osgPlugins/md2/ReaderWriterMD2.cpp: Fixed MD2 danglng pointer - crash. - -2014-08-19 09:00 robert - - * examples/osgcallback/osgcallback.cpp: Fixed build - -2014-08-19 08:57 robert - - * src/osgUI/Style.cpp: Fixed build - -2014-08-14 19:00 robert - - * include/osgUI/ComboBox, src/osgUI/ComboBox.cpp, - src/osgWrappers/serializers/osgUI/ComboBox.cpp: Added support for - ComboBox::currentIndexChanged*(uint) callback API. - -2014-08-13 09:24 robert - - * src/osgPresentation/deprecated/SlideShowConstructor.cpp: Resert - default value to 1.0 - -2014-08-08 16:42 robert - - * src/osgPlugins/txp/ReaderWriterTXP.cpp: From Ryan Kawicki, "There - is an issue where the model insets of a terrex terrain are being - removed during the loading process. The issue is described below. - - - the issue here is that the plugin is removing group nodes if - that group node only has one child. becuase transforms are also - group nodes, there were cases when the transform would have only - one child under it and would cause it to remove the translation - portion. this would cause all the vertex data to be loaded around - the last matrix operation, which in our case was the origin - (0,0,0). - - We work off of OSG 2.8.1 but see that this has not been addressed - on latest yet. I’ve tested this against 2.8.1 and have cleanly - applied it to my local repository off of latest." - -2014-08-08 16:34 robert - - * src/osgUtil/RenderStage.cpp: From Tim George, "Currently there is - a problem with using a camera with a viewport with a non 0 offset - and also using an FBO. The problem is that only area made up of - the viewports width and height is drawn based on an offset of 0,0 - instead of using the viewports offset. - - It is caused by line 991 in RenderStage.cpp: - - - Code: - fbo_ext->glBlitFramebuffer( - 0, 0, static_cast(_viewport->width()), - static_cast(_viewport->height()), - 0, 0, static_cast(_viewport->width()), - static_cast(_viewport->height()), - blitMask, GL_NEAREST); - - - - which is not taking into account the viewport x and y when - performing the blit. It probably should be: - - - Code: - fbo_ext->glBlitFramebuffer( - static_cast(_viewport->x()), - static_cast(_viewport->y()), - static_cast(_viewport->width()) + - static_cast(_viewport->x()), - static_cast(_viewport->height()) + - static_cast(_viewport->y()), - static_cast(_viewport->x()), - static_cast(_viewport->y()), - static_cast(_viewport->width()) + - static_cast(_viewport->x()), - static_cast(_viewport->height()) + - static_cast(_viewport->y()), - blitMask, GL_NEAREST); - " - - Note from Robert Osfield, made small tweak to above on merge, - changing the width+x to x+width to make it read more naturally. - -2014-08-08 16:09 robert - - * src/osgUtil/MeshOptimizers.cpp: From Marc Helbling, "please find - a fix for the vertex pretransform visitor - (VertexAccessOrderVisitor). - The issue with current code is that arrays are collected *before* - duplicating shared arrays which leads to arrays that are - correctly duplicated but that are not reordered. - - Also the submitted patch contains a small cleaning in - GeometryArrayGathrer as the _useDrawElements variable is not - used; it is only set in the GeometryArrayGathrer constructor and - VertexAccessOrderVisitor already checks that primitives have - indexed type." - -2014-08-08 15:45 robert - - * include/osg/Node: From Glen Waldron, "Node: patch for - remove*Callback() methods to resolve a crash" - -2014-08-08 09:28 robert - - * CMakeLists.txt, include/osg/Texture: Changes to support building - against ANDROID under OSX. - -2014-08-05 18:32 robert - - * include/osg/Callback, include/osgUI/LineEdit, - include/osgUI/Validator, src/osgUI/CMakeLists.txt, - src/osgUI/LineEdit.cpp, src/osgUI/Validator.cpp, - src/osgWrappers/serializers/osgUI/DoubleValidator.cpp, - src/osgWrappers/serializers/osgUI/IntValidator.cpp, - src/osgWrappers/serializers/osgUI/LineEdit.cpp, - src/osgWrappers/serializers/osgUI/Validator.cpp: Implemented - osgUI::Validator, IntValidator and DoubleValidator classes that - manage validation/specialization of LineEdit widgets to work with - just integer or double values. - -2014-08-01 13:07 robert - - * include/osgUI/LineEdit, src/osgUI/LineEdit.cpp: Implemented - callbacks for validate(), textChanged() and returnPressed() - -2014-08-01 10:57 robert - - * src/osgUI/ComboBox.cpp, src/osgUI/LineEdit.cpp, - src/osgUI/PushButton.cpp, src/osgUI/Widget.cpp: Moved - responsiblity for checking current event focus onto - Widget::handleImplementations(). - - Added support for closing CombinBox popup when the mouse is - clicked outside the popup or combobox widget. - -2014-07-31 18:29 robert - - * include/osg/NodeVisitor, src/osgUI/Widget.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/IntersectVisitor.cpp, - src/osgUtil/IntersectionVisitor.cpp, - src/osgUtil/UpdateVisitor.cpp, - src/osgWrappers/serializers/osg/NodeVisitor.cpp: Added - NodeVisitor::INTERSECTION_VISITOR VisitorType - -2014-07-30 12:48 robert - - * include/osgUI/Style, src/osgUI/ComboBox.cpp, - src/osgUI/Dialog.cpp, src/osgUI/Popup.cpp, src/osgUI/Style.cpp: - Fixed rendering of Popups - -2014-07-30 12:47 robert - - * CMakeLists.txt: Update SO version to account for new changes to - osg::StateSet and osgUI - -2014-07-30 12:47 robert - * include/osg/StateSet, include/osg/Version, - include/osgUtil/CullVisitor, - src/osgWrappers/serializers/osg/StateSet.cpp: Added - StateSet::RenderBinMode::PROTECTED_RENDERBIN_DETAILS and - OVERRIDE_PROTECTED_RENDERBIN_DETAILS options. +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 -2014-07-29 15:50 robert - * include/osgUI/ComboBox, src/osgUI/ComboBox.cpp: Added preliminary - icon to ComboBox. +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 -2014-07-29 15:50 robert - * src/osgUI/LineEdit.cpp: Fixed debug comment +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 -2014-07-29 15:50 robert - * include/osgUI/Style, src/osgUI/Style.cpp: Implemented prelimary - icon support allowing UI widget to place image and model based - icons on widgets +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 -2014-07-29 15:47 robert - * src/osgUtil/Optimizer.cpp: Added catch for NULL Transform - pointers getting into the _transformMap. +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 -2014-07-28 16:19 robert - * include/osg/ComputeBoundsVisitor, - src/osg/ComputeBoundsVisitor.cpp: Added handling of Drawables - added directly to scene graph without Geode decorating them. +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 -2014-07-24 14:14 robert - * include/osgUI/LineEdit, src/osgUI/LineEdit.cpp, - src/osgUI/PushButton.cpp: Added support for changing background - colour of LineEdit widget when focus changes +Tue, 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 -2014-07-24 13:25 robert - * src/osgUI/ComboBox.cpp, src/osgUI/Dialog.cpp, - src/osgUI/LineEdit.cpp, src/osgUI/PushButton.cpp: Refined the - colouring of widget to be more in sync with the defaults used in - Qt. - -2014-07-23 16:36 robert - - * include/osgVolume/VolumeSettings, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgVolume/VolumeSettings.cpp, - src/osgWrappers/serializers/osgVolume/VolumeSettings.cpp: Added - VolumeSettings::Filename property. - -2014-07-23 15:57 robert - - * src/osgUI/Style.cpp: Changed the default text colour to black - -2014-07-23 14:50 robert - - * src/osgPlugins/lua/LuaScriptEngine.cpp: Added writeFile support - -2014-07-23 10:49 robert - - * src/osgPlugins/lua/LuaScriptEngine.cpp: Added - Node:getNumParents() and Node:getParent(index) support - -2014-07-22 16:02 robert - - * CMakeLists.txt, include/osg/State, include/osg/Version, - src/osg/State.cpp, src/osgUtil/SceneView.cpp: Removed - State::AppliedProgramObjectSet container and Obsever usage from - osg::State to address threading bug crash. - - The State::AppliedProgramObjectSet wasn't ever being used - actively in the current rev of the OSG so populating and clearing - was no longer neccessary, allowing the code to be removed - completely. - -2014-07-21 16:36 robert - - * applications/osgviewer/osgviewer.cpp, include/osg/Types, - src/osgPlugins/ktx/ReaderWriterKTX.h, - src/osgPlugins/osg/BinaryStreamOperator.h, - src/osgPlugins/pvr/ReaderWriterPVR.cpp: Centralized the calling - of #include and VS fallback into include/osg/Types - header - -2014-07-21 14:32 robert - - * src/osgUtil/CullVisitor.cpp: From Pjotr Svetachov, "I think I - spotted some unneeded ref_ptrs in the cullvisitor. The call - pushModelViewMatrix or pushProjectionMatrix will already keep the - reference when adding it to the MatrixStack. In - CullVisitor::apply - methods for the billboard and the camera you already take a - pointer - instead of a ref_ptr." - -2014-07-21 13:45 robert - - * src/osgText/Glyph.cpp: Added setting of glPixelStore before - glTexSubImage2D call. - -2014-07-21 13:43 robert - - * src/osgText/Glyph.cpp: From Jaap Gas, "I want to submit a bugfix - for a crash occurring in osgText/Glyph.cpp if - the scene tree contains (large) 2D textures from images with - STRIDE. - - ============================================================================ - #0 0x00007fffe8ea4350 in __memmove_ssse3 () from /lib64/libc.so.6 - #1 0x00007fffe52ced76 in ?? () from - /usr/lib64/libnvidia-glcore.so.310.44 - #2 0x00007fffe52d8e86 in ?? () from - /usr/lib64/libnvidia-glcore.so.310.44 - #3 0x00007fffe53dd8be in ?? () from - /usr/lib64/libnvidia-glcore.so.310.44 - #4 0x00007fffe53c2643 in ?? () from - /usr/lib64/libnvidia-glcore.so.310.44 - #5 0x00007fffe53c7fdd in ?? () from - /usr/lib64/libnvidia-glcore.so.310.44 - #6 0x00007fffe53cbabf in ?? () from - /usr/lib64/libnvidia-glcore.so.310.44 - #7 0x00007fffe53cc1fa in ?? () from - /usr/lib64/libnvidia-glcore.so.310.44 - #8 0x00007ffff30092fd in osgText::GlyphTexture::apply - (this=0x1bb8cf0, state= - ...) - at - /d43/jaap/dev/jaapOSG/build/OpenSceneGraph3.3.1/src/osgText/Glyph.cpp:234 - #9 0x00007ffff56c30b6 in osg::State::applyAttributeOnTexUnit - (this=0x125f180, - unit=0, attribute=0x1bb8cf0, as=...) - at - /d43/jaap/dev/jaapOSG/build/OpenSceneGraph3.3.1/include/osg/State:1713 - #10 0x00007ffff56c2f3f in osg::State::applyTextureAttribute - (this=0x125f180, - unit=0, attribute=0x1bb8cf0) - at - /d43/jaap/dev/jaapOSG/build/OpenSceneGraph3.3.1/include/osg/State:411 - #11 0x00007ffff30204da in osgText::Text::drawTextWithBackdrop - (this=0x1baed70, - state=..., colorMultiplier=...) - ============================================================================== - - The crash disappears if I either (1) disable the use of images - with stride - in the (public) osgGeo-library, or (2) add the following bugfix - to Glyph.cpp. - This combination gives me the confidence that I understand where - this problem - originates from, without trying to understand the full OpenGL - details. - - =============================================================================== - @@ -221,7 +223,12 @@ - imageData[i] = 0; - } - - + glPixelStorei(GL_UNPACK_ALIGNMENT,1); - - + #if !defined(OSG_GLES1_AVAILABLE) && - !defined(OSG_GLES2_AVAILABLE) - + glPixelStorei(GL_UNPACK_ROW_LENGTH,getTextureWidth()); - + #endif - + - // allocate the texture memory. - glTexImage2D( GL_TEXTURE_2D, 0, GL_ALPHA, - getTextureWidth(), getTextureHeight(), 0, - ================================================================================ - - I have copied (and adapted) the added lines above from the same - source file, - where they were used in front of a similar call to - glTexSubImage2D(.) around - line 515. - " - -2014-07-21 12:21 robert - - * src/osgPresentation/CMakeLists.txt, - src/osgPresentation/deprecated/SlideShowConstructor.cpp: Initial - work on integtasting osgUI into Present3D - -2014-07-21 12:18 robert - - * include/osg/NodeVisitor: Fixed indentation - -2014-07-21 09:35 robert - - * src/osgUI/Style.cpp: Added debug messages - -2014-07-18 17:17 robert - - * src/osgWrappers/serializers/CMakeLists.txt, - src/osgWrappers/serializers/osg/NodeVisitor.cpp, - src/osgWrappers/serializers/osgGA/EventVisitor.cpp, - src/osgWrappers/serializers/osgUtil, - src/osgWrappers/serializers/osgUtil/CMakeLists.txt, - src/osgWrappers/serializers/osgUtil/CullVisitor.cpp, - src/osgWrappers/serializers/osgUtil/UpdateVisitor.cpp: Added - serailizer support for NodeVisitor, UpdateVisitor, CullVisitor - and EventVisitor - -2014-07-14 15:59 robert - - * examples/osgpresentation/osgpresentation.cpp, - include/osgDB/Callbacks, include/osgDB/ReadFile, - include/osgDB/ReaderWriter, include/osgDB/Registry, - include/osgDB/WriteFile, src/osgDB/Callbacks.cpp, - src/osgDB/ReadFile.cpp, src/osgDB/ReaderWriter.cpp, - src/osgDB/Registry.cpp, src/osgDB/WriteFile.cpp, - src/osgPlugins/V8/ReaderWriterV8.cpp, - src/osgPlugins/lua/ReaderWriterLua.cpp, - src/osgPlugins/python/ReaderWriterPython.cpp: Added - readScript/writeScript methods to ReaderWriter - -2014-07-14 14:09 robert - - * CMakeLists.txt, examples/osgpresentation/osgpresentation.cpp, - include/osg/Version, include/osgDB/ClassInterface, - include/osgDB/PropertyInterface, src/osgDB/CMakeLists.txt, - src/osgDB/ClassInterface.cpp, src/osgDB/PropertyInterface.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h: Renamed - osgDB::PropertyInterface to osgDB::ClassInterface to better - reflect it's functionality - -2014-07-04 16:45 robert - - * include/osgPresentation/deprecated/SlideShowConstructor, - include/osgVolume/Property, include/osgVolume/VolumeSettings, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp, - src/osgVolume/Property.cpp, src/osgVolume/VolumeSettings.cpp: - Added preliminary support for writing VolumeSettings to disk from - within Present3D in response to pressing and releasing 'Ctrl-S'. - -2014-07-03 16:36 robert - - * src/osgVolume/Shaders/volume_accumulateSamples_iso_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_mip_frag.cpp: - Updated iso and mip shaders from OpenSceneGraph-Data. - -2014-07-03 13:06 robert - - * src/osgPlugins/osc/OscSendingDevice.cpp, - src/osgPresentation/deprecated/PropertyManager.cpp: Added virtual - destructors +Mon, 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 -2014-07-03 13:05 robert - * src/osgPlugins/osc/OscSendingDevice.cpp: Fixed line endings +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(). -2014-07-03 13:01 robert - * include/osgPresentation/deprecated/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp: Changed - enum usage to use the new osgVolume::VolumeSettings versions and - added support for reading a VolumeSettings file. +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@14945 16af8721-9629-0410-8352-f15c8da7e697 -2014-07-03 10:01 robert - * include/osgVolume/VolumeSettings, - src/osgVolume/VolumeSettings.cpp: Refactor VolumeSettings so that - it's subclassed from osgVolume::Property +Mon, 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 -2014-07-02 16:26 robert - * include/osgVolume/VolumeSettings, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgVolume/CMakeLists.txt, src/osgVolume/VolumeSettings.cpp, - src/osgWrappers/serializers/osgVolume/VolumeSettings.cpp: Added - osgVolume::VolumeSettings object +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 -2014-07-02 15:34 robert - * examples/osgvolume/osgvolume.cpp: Changed the default image - output format to .osgb as .dds isn't able to represent signed - byte, short and int data correctly. +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 -2014-07-02 14:14 robert - * src/osgPlugins/osg/ReaderWriterOSG2.cpp: fixed handlng of file - type of nested files within a .osgx, .osgt and .osgb file. +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 -2014-07-02 10:25 robert - * include/osgViewer/ViewerEventHandlers: From Laurens Voerman, - "just like ClusterCullingCallback (fixed in r14322) visual studio - likes an explicit implementation of run() for - InteractiveImageHandler. - - The warning is (14 times): - include\osgViewer/ViewerEventHandlers(542): warning C4250: - 'osgViewer::InteractiveImageHandler' : inherits - 'osgGA::EventHandler::osgGA::EventHandler::run' via dominance - (src\osgViewer\StatsHandler.cpp) - include\osgGA/EventHandler(45) : see declaration of - 'osgGA::EventHandler::run' - - - attached a zipped version of - include\osgViewer\ViewerEventHandlers" +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 -2014-07-01 07:31 robert - * applications/osgviewer/osgviewer.cpp: Added #include - to address compile issue on some Linux distro's. +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 -2014-06-30 15:31 robert - * examples/osgvolume/osgvolume.cpp: Add dds no flip on write option - to prevent output of .dds volume from being flipped by the dds - plugin. +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 -2014-06-30 13:24 robert - * src/osgPlugins/3ds/WriterNodeVisitor.cpp: REmoved debug cout +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 -2014-06-30 10:13 robert - * include/osgUtil/StateGraph: From Mikhail Izmestev, "Attached fix - to avoid vector reallocs on push_back in - StateGraph::moveStateGraph." +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 -2014-06-30 09:12 robert - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS file +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 -2014-06-30 08:56 robert - * CMakeLists.txt, include/osg/Version: Updated version number +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 -2014-06-30 08:46 robert - * include/osg/Image: From Pjotr Svetachov, "Here is a small fix for - a overflow when editing large 3d volume data." +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 -2014-06-30 08:20 robert - * src/osgPlugins/svg/ReaderWriterSVG.cpp: Removed space from - #include. +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 -2014-06-30 07:37 robert - * src/osgPlugins/svg/ReaderWriterSVG.cpp: From Alexander - Sinditskiy, build fix to allow building against versions older - than librsvg-2.36.2 +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 -2014-06-28 06:22 robert - * include/osg/ClusterCullingCallback: Replaced using - NodeCallback::run with explict run() implementation. +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 -2014-06-27 15:57 robert - * src/osgPlugins/ive/DataOutputStream.cpp: From Pjotr Svetachov, "I - made a small change to DataOutputStream.cpp which makes saving - Geodes possible again. This is only half a fix as it only will - save a Drawable that is part of a Geode. But this change does not - require a version bump of the .ive format. I tried it with a few - datasets we have here with the 3.2 stable branch and the trunk - with this patch and there was no difference in the .ive files - that were produced." +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 -2014-06-27 15:55 robert - * src/osgUtil/DelaunayTriangulator.cpp: Removed unused method. +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 -2014-06-27 15:48 robert - * src/osgUtil/Tessellator.cpp: From Laurens Voerman, "attached is a - modified version of src/osgUtil/Tessellator.cpp - current code checks for a Nullpointer and on notify level info or - above will inform you with a crash, by dereferencing it." +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 -2014-06-27 15:39 robert - * AUTHORS.txt: Updated AUTHORS file +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 -2014-06-27 15:38 robert - * src/osg/ApplicationUsage.cpp: Added an OSG_INIT_SINGLETON_PROXY - to make sure that the ApplicationUsage singleton gets intialized - before usage. - -2014-06-27 15:36 robert - - * AUTHORS.txt: Updated AUTHORS file - -2014-06-27 15:30 robert - - * include/osg/Camera, src/osg/GraphicsContext.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Added a render order sort to the list of Cameras being tested by - the *Viewer::generatePointerData(..) method to ensure that the - highest Camera gets focus. +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. -2014-06-26 15:54 robert +This at least provides a proper error message rather than a crash, while we are working on better fixes for the problem." - * ChangeLog: Update ChangeLog for dev release -2014-06-26 14:16 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14918 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/KdTree, include/osg/NodeVisitor, src/osg/KdTree.cpp: - Revised KdTreeBuilder so that is used the new - apply(osg::Geometry&) method rather than expanding an osg::Geode. -2014-06-26 11:49 robert - - * src/osg/Sequence.cpp: From Sebastian Messerschmidt, "I've applied - a simple fix for the backward animation support in osg::Sequence. - It will simply use the sign of the speed set in the getNextValue. - Attached file is against trunk." - -2014-06-26 11:11 robert - - * src/osgDB/Registry.cpp: From Lauren Voerman, "In order to speed - up loading large scenes (especially from network disk) I added - code to our viewer to setup multiple database-pagers and request - the files trough a database-request: - databasePager->setUpThreads(16, 1); - - We experienced problems with multiple databasepagers loading - files in parallel, when two threads start to load the same file - (usually a texture referenced by multiple models). The second - thread to add the file to the cache (sometimes) manages to do so - while the refcount from the cached object still is zero, causing - the object loaded to be destroyed. - Sometimes the second thread manages to ref() the object before - Referenced::signalObserversAndDelete does the final recount - check, causing a warning: - "Warning Referenced::signalObserversAndDelete(,,) doing delete - with _refCount=1" - - With a deleted object added to the scenegraph we get some - undesired results, I think the program only crashes if the object - was a Node, and just has some untextured surfaces if it was a - texture, but I'm not completely sure. - - Attached is a modified version of the Registry.cpp, returning the - object in cache and let the duplicate loaded object to be - destroyed. - - A more efficient option would be to add some sort of blocking - entry to the objectcache to stop the second thread from reading - the file, and just wait until the first thread added it to the - cache. If you think that's worthwile we would be happy to - implement that version. A bit tricky to implement and test, - that's why I submit a simple version that stops my program from - crashing." - -2014-06-26 11:09 robert - - * src/osgDB/Registry.cpp: Removed erroneous character - -2014-06-26 10:53 robert - - * src/osgText/Text3D.cpp, src/osgText/TextBase.cpp: From Farshid - Lashkari, - "I noticed that Text3D objects would change there z alignment - depending on the alignment mode. I'm not sure if this was - intentional or just a simple mistake. My expectation was that the - front of the object would always stay aligned to the 0 z-plane, - regardless of the alignment mode. I've attached an updated - version that retains a consistent z-alignment." - "I just now noticed another issue with Text3D objects. It was not - properly computing the bounding box when non-axis aligned - rotations were being applied. In this case all corners of the - bounding box need to be transformed in order to get the correct - containing box. I've attached the updated file." - "The incorrect bounding box problem also applies to regular Text - objects. I've attached the fix for that as well as the original - Text3D fix." - -2014-06-26 10:45 robert - - * include/osgAnimation/Interpolator, - src/osgAnimation/StackedTransform.cpp, - src/osgAnimation/UpdateBone.cpp: From Pjotr Svetachov, "For a - scene with a lot of animated agents I did some small - optimizations to reduce cpu overhead: - 1) Avoid a load-hit-store in UpdateBone. - b->getMatrixInBoneSpace() - returns the same matrix that was just stored with b->setMatrix() - 2) Avoid calling element->isIdentity() for the whole transform - stack - (can be expensive is element is a matrix) - 3) Make the key frame interpolator use binary search instead of a - linear one. This is very noticeable in scenes where some geometry - has - long repeating animations that start at the same time, you will - see - the update time grow then reset and grow again." - -2014-06-26 10:24 robert - - * src/osg/ImageSequence.cpp: From Laurens Voerman, "while debugging - ImageSequence I had a crash, due to the very large frametimes - caused by halting the program. The problem is that when the frame - time exceeds the length of the entire image sequence, a looping - sequence will try to read it's _imageDataList beyond its size. - fix attached for src/osg/ImageSequence.cpp" - -2014-06-26 10:05 robert - - * src/osgPlugins/ive/ImageSequence.cpp, - src/osgWrappers/deprecated-dotosg/osg/ImageSequence.cpp, - src/osgWrappers/serializers/osg/ImageSequence.cpp: From Laurens - Voerman, "while testing databasepager stuff I noticed that the - various loaders (osg/ive/osgx) do not pass the current options to - the imagePager, therefore the images cannot be found if not in - the global OSG_FILE_PATH. Attached is a fix, containing modified - versions of - - From Robert Osfield, add check to only apply Options object when - a valid Option object is assigned. - -2014-06-26 09:38 robert - - * src/osgPlugins/ply/plyfile.cpp: From Farshid Lashkari, "I've - attached a small fix for the ply loader to support Windows style - line endings when reading the header." - -2014-06-26 09:33 robert - - * src/osgPlugins/osg/BinaryStreamOperator.h, - src/osgPlugins/osga/OSGA_Archive.cpp: From Aurelien Albert, "This - submission fix all my problems with reading / writing "osgb" - files inside "osga" archive with final archive size > 2 Go, with - Windows OS (didn't tested with Linux)" - -2014-06-25 16:05 robert - - * src/osgDB/Registry.cpp: From Riccardo Corsi, "there's an - inconsistency between the behavior of the method and the - debug message it prints out on the console. - - Around line 1040 of Registry.cpp (see code below) the method - returns - "simpleFileName" but prints about returning "filename". - - In attachment the modified file, based on osg 3.2.0 - ricky - - - - if(fileExists(simpleFileName)) - { - OSG_DEBUG << "FindFileInPath(" << filename << "): returning " << - filename << std::endl; - return simpleFileName; - } - - " - -2014-06-25 15:55 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.h: From Auelien Albert, "I'm - working on an application which use 3ds file format as input and - use the name of the material to "map" specific data with 3d - geometry. - - The osg 3ds plugin modify the exported materials name in the same - way it modifies the node names. - - I've added an option to preserve originals materials names, with - the assurance of unique material names are preserved." - -2014-06-25 15:47 robert - - * src/osg/CollectOccludersVisitor.cpp: Refactored the way that hole - are pruned from the occluder hole list. - -2014-06-25 11:07 robert - - * applications/osgconv/osgconv.cpp: From Laurens Voerman, "a minor - patch for osgconv to make sure the helptext is printed if you run - "osgconv -h" with OSG_NOTIFY_LEVEL set too low. - applys to both trunk and stable branch." - -2014-06-25 10:45 robert - - * src/osgUtil/StateGraph.cpp: From Mikhail Izmestev, "Attached fix - to avoid vector usage in StateGraph::prune and reduce heap - allocations." - - Notes from Robert Osfield, ammended the erase so that it - explictly increments the iterator before the erase call. - -2014-06-25 09:58 robert - - * src/osg/Texture.cpp: changed debug message to use OSG_DEBUG - -2014-06-25 09:57 robert - - * include/osg/Texture, src/osg/Texture.cpp: From Alexander - Sinditskiy, "My changes added support for gltexstorrage2d for - texture2d. - - Initially I described issue in message: - http://forum.openscenegraph.org/viewtopic.php?t=13820 - It solves issue with compiling texture using ico from image with - mipmaps - - I added enviroment variable OSG_GL_TEXTURE_STORAGE_ENABLE to - control usage of glTexStorage2d. Initially it is disabled. - - It used only if image have mipmaps. - - Another issue is converting from internalFormat + type to sized - internal format. I created sizedInternalFormats[] struct where - sized internal formats are ordered from worse->best. - also this struct have commented lines. Commented formats are - listed in - http://www.opengl.org/wiki/GLAPI/glTexStorage2D - but looks like not using in osg." - - Note from Robert Osfield. Changed the env var control to - OSG_GL_TEXTURE_STORAGE and made it's value true by default when - the feature is supported by the OpenGL driver. To disable to - use of glTexStorage2D use OSG_GL_TEXTURE_STORAGE="OFF" or - "DISABLE" - -2014-06-25 08:21 robert - - * include/osg/Math: From Björn Blissing, "I found a minor error in - documentation in include/osg/Math. - Function: absolute() had the same description as the function - minimum() - - I removed the erroneous text." - -2014-06-25 08:18 robert - - * src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp: From Björn - Blissing, "Fix to support correct shininess and transparency in - FBX plugin" +Mon, 15 Jun 2015 13:51:29 +0000 +Checked in by : Robert Osfield +Experiment with how to define GLsizeiptr.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14917 16af8721-9629-0410-8352-f15c8da7e697 -2014-06-24 19:57 robert - * src/osgDB/ObjectWrapper.cpp: From Pjotr Svetachov, "There were - some modes missing when exporting to .ogst so I added them." +Mon, 15 Jun 2015 13:51:09 +0000 +Checked in by : Robert Osfield +Upated version numbergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14916 16af8721-9629-0410-8352-f15c8da7e697 -2014-06-24 14:58 robert - * src/osgPlugins/osg/ReaderWriterOSG2.cpp: From Farshid Lashkari, - "I've attached a small for the osg ReaderWriter. It was - performing a case sensitive comparison to the file extension to - determine whether to write the file in ascii or binary. This - meant that if the filename was "model.OSGT" it would be treated - as binary, instead of ascii. I've updated the plugin to ignore - case." +Fri, 12 Jun 2015 20:23:15 +0000 +Checked in by : Robert Osfield +Removed old and unused windows code path to avoid confusiongit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14915 16af8721-9629-0410-8352-f15c8da7e697 -2014-06-24 11:24 robert - * src/osgUtil/Optimizer.cpp: Merged fix to merge geometries. +Fri, 12 Jun 2015 11:28:54 +0000 +Checked in by : Robert Osfield +Updated ChangeLoggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14913 16af8721-9629-0410-8352-f15c8da7e697 -2014-06-23 12:02 robert - * src/osg/Callback.cpp: Fixed nested callback calling. +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 -2014-06-16 16:16 robert - * src/osgUtil/Optimizer.cpp: Fixed check against totaly number of - vertices +Thu, 11 Jun 2015 08:44:26 +0000 +Checked in by : Robert Osfield +Reverted the typdef GLfloat GLdouble for Andoid as this was causing conflicts.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14910 16af8721-9629-0410-8352-f15c8da7e697 -2014-06-16 08:54 robert - * src/osgPlugins/osg/BinaryStreamOperator.h: From Aurelien Albert, - "I've got some issues using osgb files within an big osga archive - (file size > 2Go). - - Issue is described here : - http://forum.openscenegraph.org/viewtopic.php?t=13914 - - Here is a fix, using "std::streampos" standard type for stream - positions up to 64bits. - " +Wed, 10 Jun 2015 18:22:09 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and AUTHORS file for 3.3.8 dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14909 16af8721-9629-0410-8352-f15c8da7e697 -2014-06-13 17:17 robert - - * include/osgUI/ColorPalette, src/osgUI/CMakeLists.txt, - src/osgUI/ColorPalette.cpp, - src/osgWrappers/serializers/osgUI/ColorPalette.cpp: Added - osgUI::ColorPalette class - -2014-06-13 17:16 robert - - * include/osgUI/AlignmentSettings: Fixed typo in parameter name - -2014-06-12 16:00 robert - - * src/osgViewer/GraphicsWindowX11.cpp: Removed generation of scroll - event on the X11 button release event as X11 was generating both - a pair of press/release events for a single scroll when movement. - -2014-06-12 15:24 robert - - * src/osg/State.cpp: Added if () blocks to - State::convertVertexShaderSourceToOsgBuiltIns() to ensure that - only parts of the shader than need replacing are replaced. - -2014-06-12 14:12 robert - - * src/osgUI/ComboBox.cpp: Improved positioning of combo box popup - items - -2014-06-12 14:05 robert - - * src/osgUI/ComboBox.cpp, src/osgUI/Style.cpp: Added frame support - to ComboBox. - - Improved the alingment support for text - -2014-06-11 16:31 robert - - * src/osgUI/Style.cpp: Added handling of AligmentSettings of Text - layout - -2014-06-11 10:55 robert - - * include/osgUI/Widget, src/osgUI/ComboBox.cpp, - src/osgUI/Popup.cpp, src/osgUI/Style.cpp, src/osgUI/Widget.cpp: - Implemented more robust intersection handling for mouse - interactions. Wired up even handling of ComboBox popup. - -2014-06-10 08:50 robert - - * include/osg/Drawable: Added using Callback::run() method to - Drawable::CullCallback - -2014-06-09 13:46 robert - - * include/osgGA/EventVisitor: Fixed handling of Drawable callbacks - and NumChildrenRequiringEventTraversal - -2014-06-06 15:05 robert - - * include/osg/NodeVisitor, include/osgViewer/ViewerEventHandlers: - Removed redudent NodeVisitor::s/getUserData() as osg::Object - provide this. - - Added using run entry to InteractiveImageHandler to quieten - warning - -2014-06-06 09:12 robert - - * include/osg/ClusterCullingCallback: Added using - NodeCallback::run() to avoid warnings - -2014-06-06 09:01 robert - - * include/osg/Callback, include/osg/StateSet: Added missing - OSG_EXPORT - -2014-06-05 16:26 robert - - * examples/osgfpdepth/osgfpdepth.cpp, - examples/osgposter/PosterPrinter.h, - examples/osgvertexprogram/osgvertexprogram.cpp, - include/osg/AnimationPath, include/osg/Callback, - include/osg/ClusterCullingCallback, include/osg/CopyOp, - include/osg/Drawable, include/osg/Node, include/osg/NodeCallback, - include/osg/NodeTrackerCallback, include/osg/ScriptEngine, - include/osg/StateAttribute, include/osg/StateAttributeCallback, - include/osg/StateSet, include/osgAnimation/Skeleton, - include/osgAnimation/UpdateMatrixTransform, - include/osgGA/EventHandler, include/osgGA/EventVisitor, - include/osgGA/GUIEventHandler, - include/osgPresentation/deprecated/AnimationMaterial, - include/osgPresentation/deprecated/PropertyManager, - include/osgShadow/MinimalDrawBoundsShadowMap, - include/osgUtil/CullVisitor, include/osgUtil/TransformCallback, - include/osgUtil/UpdateVisitor, - include/osgViewer/ViewerEventHandlers, - include/osgVolume/Property, src/osg/CMakeLists.txt, - src/osg/Callback.cpp, src/osg/CopyOp.cpp, src/osg/Drawable.cpp, - src/osg/Node.cpp, src/osg/NodeCallback.cpp, - src/osg/ScriptEngine.cpp, src/osg/StateAttribute.cpp, - src/osg/StateSet.cpp, src/osgAnimation/AnimationManagerBase.cpp, - src/osgAnimation/LinkVisitor.cpp, - src/osgAnimation/StatsHandler.cpp, - src/osgGA/CameraManipulator.cpp, - src/osgGA/FirstPersonManipulator.cpp, - src/osgGA/FlightManipulator.cpp, - src/osgGA/MultiTouchTrackballManipulator.cpp, - src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/OrbitManipulator.cpp, - src/osgGA/StandardManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, - src/osgGA/TrackballManipulator.cpp, - src/osgPlugins/bvh/ReaderWriterBVH.cpp, - src/osgPlugins/dae/daeRAnimations.cpp, - src/osgPlugins/dae/daeRTransforms.cpp, - src/osgPlugins/dae/daeReader.h, - src/osgPlugins/dae/daeWAnimations.cpp, - src/osgPlugins/dae/daeWTransforms.cpp, - src/osgPlugins/dae/daeWriter.h, src/osgPlugins/txp/TXPNode.h, - src/osgUtil/CullVisitor.cpp, src/osgUtil/SceneView.cpp, - src/osgWrappers/deprecated-dotosg/osg/NodeCallback.cpp, - src/osgWrappers/serializers/osg/Callback.cpp, - src/osgWrappers/serializers/osg/Drawable.cpp, - src/osgWrappers/serializers/osg/Node.cpp, - src/osgWrappers/serializers/osg/NodeCallback.cpp: Refactored - Callback system in osg::Node, osg::Drawable, osg::StateSet and - osg::StateAttribute to use a new osg::Callback base class. - -2014-06-04 08:59 robert - - * src/osgVolume/Shaders/volume_accumulateSamples_lit_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_lit_tf_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_mip_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_standard_frag.cpp, - src/osgVolume/Shaders/volume_multipass_vert.cpp: Updated shaders - from OpenSceneGraph-Data sources - -2014-06-03 15:05 robert - - * examples/osgcallback/osgcallback.cpp: From Pjotr Sventachov and - Robert Osfield, added callback unit test to osgcallback example, - to use test run osgcallback --test, if everything is functioning - then test1 to test7 messages should be reported to the console. - -2014-06-03 09:52 robert - - * examples/osgkeyboardmouse/osgkeyboardmouse.cpp, - examples/osgparticleeffects/osgparticleeffects.cpp, - include/osg/Node, src/osg/Node.cpp, - src/osgPlugins/txp/TXPParser.cpp, src/osgUtil/Optimizer.cpp: - Reverted change of Node::ParentList from being a vector - back to a vector - -2014-06-03 09:23 robert - - * include/osg/Drawable, include/osg/Geode, src/osg/Billboard.cpp, - src/osg/Geode.cpp, src/osg/Group.cpp, - src/osgPlugins/pov/POVWriterNodeVisitor.cpp, - src/osgShadow/DebugShadowMap.cpp, src/osgSim/ScalarBar.cpp, - src/osgSim/SphereSegment.cpp, src/osgUtil/Optimizer.cpp: Refactor - osg::Geode to subclass from osg::Group and reuse the NodeList - children container - -2014-06-02 16:20 robert - - * CMakeLists.txt, include/osg/BoundingSphere, include/osg/Drawable, - include/osg/Node, include/osg/Plane, include/osg/Polytope, - src/osg/Config.in, src/osg/Node.cpp: Removed OSG_USE_BOUND and - associated osg::Bound adapter class to avoid problems with - BoundingBox::expandBy/expandByRadius() implementation choosing a - null BoundingBox from - the osg::Bound class causing crashes. - -2014-06-02 08:13 robert - - * CMakeLists.txt: From Roni Zanolli, build fix for iPhone - -2014-05-30 16:44 robert - - * include/osgUI/Style, src/osgUI/Dialog.cpp, - src/osgUI/LineEdit.cpp, src/osgUI/Popup.cpp, - src/osgUI/PushButton.cpp, src/osgUI/Style.cpp: Implemented basic - frame graphic - -2014-05-29 15:21 robert - - * src/osgUI/ComboBox.cpp, src/osgUI/Popup.cpp: Futher work on - ComboBox/Popup - -2014-05-29 10:51 robert - - * include/osgUI/ComboBox, src/osgUI/ComboBox.cpp: Added beginnings - of ComboBox popup functionality. - -2014-05-28 10:18 robert - - * include/osgUI/Style, src/osgUI/Style.cpp: Added cached Depth and - ColorMask to reduce the amount of duplicate state in the osgUI - subgraph -2014-05-28 10:06 robert +Wed, 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 - * include/osgDB/Serializer, include/osgUI/Style, - include/osgUI/Widget, src/osgUI/ComboBox.cpp, - src/osgUI/Dialog.cpp, src/osgUI/Label.cpp, - src/osgUI/LineEdit.cpp, src/osgUI/Popup.cpp, - src/osgUI/PushButton.cpp, src/osgUI/Style.cpp, - src/osgUI/Widget.cpp, - src/osgWrappers/serializers/osg/TransferFunction1D.cpp, - src/osgWrappers/serializers/osgUI/Widget.cpp: Replaced - Widget::GraphicsSubgraph with GraphicsSubgraphMap to allow finer - control of when the rendering subgraphs are done. +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) -2014-05-27 14:14 robert +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. - * src/osgUI/Label.cpp, src/osgUI/Style.cpp: Improved handling of - text +" -2014-05-26 16:32 robert - * include/osgUI/Dialog, include/osgUI/Popup, src/osgUI/Dialog.cpp, - src/osgUI/Popup.cpp, - src/osgWrappers/serializers/osgUI/Dialog.cpp, - src/osgWrappers/serializers/osgUI/Popup.cpp: Removed - Dialog/Popup::open/close() methods as they are replaced by the - setVisible() method +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14908 16af8721-9629-0410-8352-f15c8da7e697 -2014-05-26 16:27 robert - * include/osgUI/Dialog, src/osgUI/Dialog.cpp, src/osgUI/Popup.cpp, - src/osgUI/Widget.cpp: Implemented Widger::Visible and Enabled - usage +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 -2014-05-26 16:15 robert - * include/osgUI/Widget, src/osgUI/Widget.cpp, - src/osgWrappers/serializers/osgUI/Widget.cpp: Added Visible and - Enalbed properties to Widget +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." -2014-05-26 16:15 robert - * src/osgUI/ComboBox.cpp: Fixed missing initilaizer +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14905 16af8721-9629-0410-8352-f15c8da7e697 -2014-05-26 15:58 robert - * src/osgWrappers/serializers/osgUI/Item.cpp: Added item serializer +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 -2014-05-23 18:59 robert - * include/osgUI/Style, src/osgUI/ComboBox.cpp, - src/osgUI/Dialog.cpp, src/osgUI/LineEdit.cpp, - src/osgUI/Popup.cpp, src/osgUI/PushButton.cpp, - src/osgUI/Style.cpp: Implemented clipping of widget to the - widgets extents. +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 -2014-05-23 15:00 robert - * applications/osgversion/Contributors.cpp, include/osgUI/Style, - src/osgUI/Dialog.cpp, src/osgUI/Popup.cpp, - src/osgUI/PushButton.cpp, src/osgUI/Style.cpp: Implemented scheme - for making sure nested widgest overdraw parent widgets graphics +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 -2014-05-23 15:00 robert - * src/osgWrappers/serializers/osgUI/Dialog.cpp, - src/osgWrappers/serializers/osgUI/Popup.cpp: Added wrappers for - open and close methods +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 -2014-05-22 10:02 robert - * include/osgUI/Widget, src/osgUI/ComboBox.cpp, - src/osgUI/Dialog.cpp, src/osgUI/LineEdit.cpp, - src/osgUI/Popup.cpp, src/osgUI/PushButton.cpp, - src/osgUI/Widget.cpp, - src/osgWrappers/serializers/osgUI/Widget.cpp: Added - osgUI::Widget::set/getGraphicsSubgraph() to hold the subgraph - that does the rendering portion of widgets +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 -2014-05-21 16:15 robert - * include/osgDB/ObjectWrapper, include/osgDB/Serializer, - include/osgUI/PushButton, src/osgUI/PushButton.cpp, - src/osgWrappers/serializers/osgUI/PushButton.cpp, - src/osgWrappers/serializers/osgUI/Widget.cpp: Addd method - implementation in serializers +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 -2014-05-21 10:17 robert - * src/osgUI/PushButton.cpp, src/osgUI/Widget.cpp: Fixed handling of - traverse +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 -2014-05-21 09:45 robert - * include/osgUI/Widget, src/osgUI/Widget.cpp: Improved handling of - callback object to open the door to use of general - osg::CallbackObject as mechnisms for something simialr to Qt's - signal/slot mechanism. +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 -2014-05-21 09:07 robert - * include/osg/ScriptEngine: Added osg::runNamedCallbackObjects(..) - convinience method for run all named osg::CallbackObjects - attached to an osg::Object +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 -2014-05-21 09:06 robert - * include/osg/Drawable, src/osg/Drawable.cpp: Renamed callbacks to - avoid overlap with Node callbacks +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 -2014-05-20 16:09 robert - * include/osg/Drawable, include/osgUtil/UpdateVisitor: Moved the - _boundingSphere set method into the update section of the - Drawable::getBoundingBox() method - - Added an UpdateVisitor::apply(Drawable&) implementation. +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 -2014-05-20 15:34 robert - * include/osg/Drawable: From Pjotr Svetachov, "I stumbled on a - little bug with the new drawables. I was distributing points data - into different drawables that I used in a LOD later. When - simplifying the system to not use geodes anymore I came upon the - following bug: - If Drawable::getBoundingBox would compute an invalid bounding box - (if it was for example empty) it would make a bounding sphere - with a infinite radius which counts as a valid sphere in osg. - - Attached is a small fix." +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 -2014-05-20 08:35 robert - * include/osgUI/LineEdit, src/osgUI/Dialog.cpp, - src/osgUI/LineEdit.cpp: Improved the handling of updating of text +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 -2014-05-20 08:35 robert - * include/osgUI/Popup, src/osgUI/CMakeLists.txt, - src/osgUI/Popup.cpp, src/osgWrappers/serializers/osgUI/Popup.cpp: - Added shell of Popup class +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." -2014-05-20 08:34 robert - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Added check against whether an event has been handled or not - before actioning escape/quit. +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14890 16af8721-9629-0410-8352-f15c8da7e697 -2014-05-19 10:11 robert - * include/osgUI/Dialog, src/osgUI/CMakeLists.txt, - src/osgUI/Dialog.cpp, - src/osgWrappers/serializers/osgUI/Dialog.cpp: Add shell of Dialog - class +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 -2014-05-19 09:30 robert - * src/osgUI/ComboBox.cpp: Added handling of up/down key to ComboBox +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 -2014-05-16 19:24 robert - * include/osgUI/ComboBox, include/osgUI/PushButton, - src/osgUI/CMakeLists.txt, src/osgUI/ComboBox.cpp, - src/osgUI/PushButton.cpp, - src/osgWrappers/serializers/osgUI/ComboBox.cpp: Added initial cut - of ComboBox +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 -2014-05-16 10:38 robert - * include/osgUI/Label, include/osgUI/LineEdit, - include/osgUI/PushButton, src/osgUI/CMakeLists.txt, - src/osgUI/Label.cpp, src/osgUI/LineEdit.cpp, - src/osgUI/PushButton.cpp, src/osgUI/Style.cpp, - src/osgUI/Widget.cpp, - src/osgWrappers/serializers/osgUI/PushButton.cpp: Added initial - shell of PushButton implementation - -2014-05-15 16:30 robert +Tue, 2 Jun 2015 10:25:13 +0000 +Checked in by : Robert Osfield +From Konstantin Matveyev, serializer support for UniformCallbackgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14886 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgUtil/IntersectVisitor, - include/osgUtil/IntersectionVisitor, - src/osgUtil/IntersectVisitor.cpp, - src/osgUtil/IntersectionVisitor.cpp: Added support for - intesecting Drawable that are attached directly to the scene - graph without an osg::Geode - -2014-05-15 14:57 robert - - * src/osg/Notify.cpp: From Sebastian Messerschmidt, "There was some - small error due to MS non-conformity handling comments - correctly." - -2014-05-15 14:45 robert - - * include/osgUI/Export, src/osgUI/CMakeLists.txt: From Pjotr - Svetachov, build fixes for VisualStudio - -2014-05-15 13:34 robert - - * src/osgUI/CMakeLists.txt: Added osgGA dependency - -2014-05-15 13:22 robert - - * include/osg/Plane: Placed the #include within #ifdef - OSG_USE_BOUND to prevent unncessary inclusion of Node header when - OSG_USE_BOUND is false. - -2014-05-15 09:26 robert - - * include/osg/Drawable, include/osg/Geometry, include/osg/Node, - src/osg/Group.cpp: Added Node::asDrawable() and - Node::asGeometry() methods to provide a low cost way of casting a - node to Drawable and Geoemtry. - - Changed the Group::computeBound() method so that it takes account - of the a Drawable's BoundingBox. - -2014-05-14 16:52 robert - - * include/osg/Drawable, src/osgUtil/CullVisitor.cpp: Fixed the - bounding sphere computation and handling of Drawable as the root - of the scene graph - -2014-05-14 16:01 robert - - * examples/osgdepthpeeling/DePee.cpp, examples/osghud/osghud.cpp, - examples/osgoit/HeatMap.cpp, - examples/osgposter/PosterPrinter.cpp, - examples/osgqfont/osgqfont.cpp, examples/osgtext/osgtext.cpp, - include/osg/CullingSet, include/osg/Drawable, include/osg/Node, - src/osg/Billboard.cpp, src/osg/ComputeBoundsVisitor.cpp, - src/osg/Geode.cpp, src/osg/Group.cpp, src/osg/KdTree.cpp, - src/osg/Switch.cpp, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/fbx/WriterCompareTriangle.cpp, - src/osgPlugins/txp/TXPParser.cpp, - src/osgPresentation/deprecated/PickEventHandler.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp, - src/osgShadow/MinimalCullBoundsShadowMap.cpp, - src/osgShadow/ViewDependentShadowMap.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/IntersectVisitor.cpp, - src/osgUtil/LineSegmentIntersector.cpp, - src/osgUtil/Optimizer.cpp, src/osgUtil/RayIntersector.cpp, - src/osgViewer/HelpHandler.cpp, src/osgViewer/StatsHandler.cpp, - src/osgWidget/Label.cpp: Further work on Bound - class/Node::getBound() and Drawable::getBound() and usage in OSG - codebase - -2014-05-14 16:00 robert - - * src/osgViewer/config/WoWVxDisplay.cpp: Cleaned up code - -2014-05-14 10:19 robert - - * CMakeLists.txt, examples/osgforest/osgforest.cpp, - examples/osgkeyboardmouse/osgkeyboardmouse.cpp, - examples/osgoit/HeatMap.cpp, - examples/osgparticleeffects/osgparticleeffects.cpp, - examples/osgteapot/osgteapot.cpp, include/osg/CullingSet, - include/osg/DrawPixels, include/osg/Drawable, include/osg/Node, - include/osg/Plane, include/osg/Polytope, - include/osg/ShapeDrawable, include/osgParticle/ParticleSystem, - include/osgShadow/OccluderGeometry, - include/osgSim/ImpostorSprite, include/osgText/Text3D, - include/osgText/TextBase, src/osg/Config.in, - src/osg/DrawPixels.cpp, src/osg/Drawable.cpp, src/osg/Group.cpp, - src/osg/ShapeDrawable.cpp, src/osg/Switch.cpp, - src/osgAnimation/RigGeometry.cpp, - src/osgParticle/ParticleSystem.cpp, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgShadow/OccluderGeometry.cpp, - src/osgSim/ImpostorSprite.cpp, src/osgSim/LightPointDrawable.cpp, - src/osgSim/LightPointDrawable.h, src/osgSim/OverlayNode.cpp, - src/osgSim/SphereSegment.cpp, src/osgText/Text3D.cpp, - src/osgText/TextBase.cpp, src/osgUtil/PlaneIntersector.cpp, - src/osgUtil/PolytopeIntersector.cpp: - -2014-05-13 08:43 robert - - * include/osg/Group, include/osg/Node, src/osg/Group.cpp, - src/osg/Node.cpp, src/osgPlugins/txp/TXPParser.cpp, - src/osgUtil/Optimizer.cpp: Changed the Node::ParentList to be a - list of osg::Node rather than osg::Group, and added addChild, - removeChild, replaceChild virtual method to Node to enable code - to user code compile with minimal modifications to account for - the new change to the Node ParentList. - -2014-05-12 12:10 robert - - * include/osg/Drawable, include/osg/Geode, include/osg/Geometry, - include/osg/NodeVisitor, include/osgUtil/CullVisitor, - include/osgUtil/IncrementalCompileOperation, - src/osg/Drawable.cpp, src/osg/Geode.cpp, src/osg/NodeVisitor.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/GLObjectsVisitor.cpp, - src/osgUtil/IncrementalCompileOperation.cpp, - src/osgUtil/Statistics.cpp: From Farshid Lashkari, "As discussed, - I've added the ability to handle Drawable objects within the - NodeVisitor class. Here is an overview of the changes: - - - Added apply(Drawable) and apply(Geometry) to NodeVisitor - - - Added accept(NodeVisitor) method to Drawable/Geometry - - - Added traverse(NodeVisitor) to Geode which calls - accept(NodeVisitor) on all Drawables - - - Updated CullVisitor to use new apply(Drawable) to handle - drawables. The apply(Billboard) method still manually handles the - drawables since it is depends on the billboard settings. I needed - to disable the traverse within billboard to prevent duplicate - traversal of drawables. - - - Update other osgUtil node visitors (GLObjectsVisitor, - IncrementalCompileOperation, ..) to use new apply(Drawable) - method. - " - -2014-05-12 11:27 robert - - * examples/osgtransferfunction/CMakeLists.txt, - examples/osgtransferfunction/TransferFunctionWidget.h, - include/osgUI, include/osgUI/AlignmentSettings, - include/osgUI/Export, include/osgUI/FrameSettings, - include/osgUI/Label, include/osgUI/LineEdit, include/osgUI/Style, - include/osgUI/TextSettings, include/osgUI/Widget, - src/CMakeLists.txt, src/osgUI, src/osgUI/AlignmentSettings.cpp, - src/osgUI/CMakeLists.txt, src/osgUI/FrameSettings.cpp, - src/osgUI/Label.cpp, src/osgUI/LineEdit.cpp, src/osgUI/Style.cpp, - src/osgUI/TextSettings.cpp, src/osgUI/Widget.cpp, - src/osgWrappers/serializers/CMakeLists.txt, - src/osgWrappers/serializers/osgUI, - src/osgWrappers/serializers/osgUI/AlignmentSettings.cpp, - src/osgWrappers/serializers/osgUI/CMakeLists.txt, - src/osgWrappers/serializers/osgUI/FrameSettings.cpp, - src/osgWrappers/serializers/osgUI/Label.cpp, - src/osgWrappers/serializers/osgUI/LineEdit.cpp, - src/osgWrappers/serializers/osgUI/TextSettings.cpp, - src/osgWrappers/serializers/osgUI/Widget.cpp: Added beginnings of - new osgUI library, a replacement for osgWidget that works fully - in 3D/stereo and is scriptable. - -2014-05-06 16:38 robert - - * src/OpenThreads/pthreads/PThread.cpp: Replaced obsolete __linux - usage. - -2014-05-06 09:43 robert - - * CMakeLists.txt: From Stephan Huber, "Xcode changed the default - std-lib-implementation again. Now it’s GNU++98 instead of C++11. - I adapted the cMakeList.txt files accordingly to add this new - option so we can set it explicitly and link against - 3rdparty-c++-libs." - -2014-05-06 08:37 robert - - * CMakeModules/FindQuickTime.cmake: From Stephan Huber, "Please - revert the change to FindQuickTime.cmake as this breaks - compilation for IOS and possibly OS X." - -2014-05-02 09:12 robert - - * src/osgPlugins/dae/daeRMaterials.cpp: From Farshid Lashkari, "fix - for the Collada loader where it would access a null string in - some cases" - -2014-05-02 09:11 robert - - * src/OpenThreads/win32/Win32Thread.cpp: From Ali Botorabi, - "recently I ran into a problem with Microsoft's Appverifier while - using OpenThreads on win32 platform. The Appverifier complained - about an invalid thread handle during starting of a new thread. - After looking closer into the problem it seemed that indeed a - potential root of problem may be in the thread startup code. See - the line below in Win32Thread.cpp (line number 347): - - pd->tid.set( - (void*)_beginthreadex(NULL,static_cast(pd->stackSize),ThreadPrivateActions::StartThread,static_cast(this),0,&ID)); - - the method "pd->tid.set" sets the thread id, however via the - startup function "ThreadPrivateActions::StartThread" that thread - id is used (see further down the call hierarchy the line "int - status = SetThreadPriority( pd->tid.get(), prio);". - - Until now I never ran into any problem in debug or release - builds, though. It seems that furtunately the tid.set method was - executed always before the tid.get method in the startup code. - However, this may make trouble in the furture. A simple solution - is the following: just replace the line above with following two - lines: - - pd->tid.set( - (void*)_beginthreadex(NULL,static_cast(pd->stackSize),ThreadPrivateActions::StartThread,static_cast(this),CREATE_SUSPENDED,&ID)); - ResumeThread(pd->tid.get()); - - - The trick is just starting the thread in suspended mode so the - StartThread function does not get executed and we can safely - store the tid by pd->tid.set. Then start the Thread by calling - ResumeThread." - -2014-05-01 15:50 robert - - * CMakeLists.txt: From Stephan Huber, fix for OSX build - -2014-04-30 13:19 robert - - * CMakeLists.txt, include/osg/GL, src/osg/CMakeLists.txt, - src/osg/GL.in, src/osg/OpenGL.in: Renamed the new - include/osg/OpenGL automatically configured header file to - include/osg/GL replacing the original hand built GL header - -2014-04-30 11:51 robert - - * include/osgDB/PropertyInterface: From Sebastian Messerschmidt, - "attached is the compile/linker fix for multiple definitions of - getTypeEnum when compiling the Lua with VisualStudio and - potentially other compilers. - " - -2014-04-29 15:14 robert - - * include/osgAnimation/RigGeometry, - src/osgAnimation/RigGeometry.cpp, - src/osgWrappers/serializers/osg/ComputeBoundingBoxCallback.cpp, - src/osgWrappers/serializers/osg/UpdateCallback.cpp, - src/osgWrappers/serializers/osgAnimation/RigComputeBoundingBoxCallback.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateVertex.cpp: From - Pjotr Svetachov, "have added some missing serializers for - RigGeomery. Withouth them I - ran into two issues. - - At first you get a bunch of warnings that - osg::ComputeBoundCallback - and osg::UpdateCallback were unsupported wrapper classes when - converting fbx models with skeletal animation to osg(t/b). - - The second issue was that when reading, the readers fail to read - the - ComputeBoundCallback and UpdateCallback and set them to NULL - which - messes up the RigGeometry. - - Because a RigGeometry makes his own classes in the constructor it - might be preferable to not write them at all, because now those - classes are being made two times when reading a RigGeometry. But - after - thinking about this that would place too much limits on them (you - won't be able to share or name them and save that information or - make - a new inherited class from them and write that one) So I ended up - thinking the best way was to just write the files. - " - -2014-04-29 13:41 robert - - * include/osgDB/OutputStream: From Pjotr Svetachov, "Today I found - a bug in the IutputStream class when saving array - attributes in vec3b format. It looks like my compiler takes the - wrong - overload and outputs integers instead of characters. The problem - is - that vec3b is of type signed char and that is not the same as - char ( - see - http://stackoverflow.com/questions/436513/char-signed-char-char-unsigned-char - ) and visual studio 2013 will promote it to integer when choosing - an - overload. - It looks like that the InputStream class already takes care of - this - issue (if it didn't it would have read everything ok and I would - have - not even stumbled upon this bug. :) )" - -2014-04-29 12:19 robert - - * CMakeModules/FindFLTK.cmake, CMakeModules/FindFreetype.cmake, - CMakeModules/FindGDAL.cmake, CMakeModules/FindJasper.cmake, - CMakeModules/FindOpenThreads.cmake, - CMakeModules/FindQuickTime.cmake, CMakeModules/FindZLIB.cmake: - From Mattias Helsing, "I finally got to fix the cmake Modules - that have duplicates in later - version of cmake. See attached submission. I have tested the ones - that - I compile myself (GDAL, Freetype, ZLIB) on ubuntu 12.04 with - cmake-2.8.7." - -2014-04-29 12:18 robert - - * CMakeLists.txt, CMakeModules/FindGLCORE.cmake, - CMakeModules/OsgMacroUtils.cmake: From Paul Martz, "There is no - standard place for gl/glcorearb.h on Windows. Previously, the - only way to get OSG to build for core profile was to append an - additional include directory ("/I") onto the CFLAGS variables - This submission adds a FindGLCORE.cmake script so that the path - to gl/glcorearb.h can be specified with a variable, GLCORE_ROOT, - either in CMake or the environment. - - Currently this submission is Windows-only. I don't think OSX or - Linux require any help in locating gl/glcorearb.h. But if they - do, this submission can be easily modified. - - Files: - - "CMakeLists.txt" is the top-level file. - - FindGLCORE.cmake" and "OsgMacroUtils.cmake" go in CMakeModules. - " - -2014-04-28 14:58 robert - - * src/osg/Image.cpp: From Pjotr Svetachov, "I had the osgvolume - example crash on me when loading large volume - datasets due to an overflow in image.cpp after a unneeded cast - from - unsigned int to int. Here is a small fix." - -2014-04-28 14:57 robert - - * src/osgDB/FileUtils.cpp: From Jason Beverage, "Here is a fix for - a small race condition in osgDB::makeDirectory. It attempts to - create all the directories in the given path and stops attempting - to make directories when one of them fails. I've added a check to - see if the failure occurred b/c the directory was created by - another thread or process. - - We were running into issues occasionally in osgEarth where - multiple threads were writing out files like /1/2/3.jpg and - /1/3/4.jpg. Both threads would try to create the /1 directory and - only one of them would succeed. So the first thread would write - out the full /1/2/3.jpg while the second thread wouldn't create - the /1/3 directory b/c /1 was already created and the writing of - /1/3/4.jpg would fail. - " - -2014-04-28 11:53 robert - - * src/osgSim/SphereSegment.cpp: Fixed type error - -2014-04-25 08:57 robert - - * applications/osgviewer/osgviewer.cpp, src/osg/CMakeLists.txt, - src/osgViewer/Renderer.cpp: From Pjotr Svetachov, "For me - osgviewer.cpp and Renderer.cpp were not compiling (visual studio - 2013 with profile GL2) because they were still using GLuintEXT. - So I changed that, see the attached files. - - I also noticed that the generated OpenGL header were not copied - to the installation directory so my own application could not - find it." - -2014-04-25 08:56 robert - - * CMakeLists.txt: Reordered the configuiration file blocks to make - it more understandable - -2014-04-25 08:18 robert - - * CMakeLists.txt: From Paul Martz, fixed placement of OpenGL header - so that it gets generated and placed in the build directory as - per the Config file - -2014-04-24 17:26 robert - - * src/osgPlugins/dae/daeRMaterials.cpp: From Farshid Lashkari, - "I've attached a small fix to the Collada loader which prevents a - null pointer access in some cases." - -2014-04-24 17:23 robert - - * src/osg/Texture2DArray.cpp: From Lionel Lagarde, "In the ::apply - method, when the image data need to be re-uploaded, the - Texture2DArray checks if the TextureObject can be re-used. The - test was made using the constant 1 instead of the real texture - depth, so the TextureObject was never re-used." - -2014-04-24 17:14 robert - - * examples/osgviewerQt/osgviewerQt.cpp, - include/osgGA/GUIEventAdapter, include/osgQt/GraphicsWindowQt, - src/osgGA/GUIEventAdapter.cpp, - src/osgGA/MultiTouchTrackballManipulator.cpp, - src/osgQt/GraphicsWindowQt.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: From - Kristofer Tingdahl, "I and my team have gone over the code again, - and we feel that we are comfortable in our current proposal for - change. It goes deeper than it did before, and I explain why: - - There was code in the osgViewer/Viewer.cpp and - osgViewer/CompositeViewer.cpp that transformed the Y-coordinates - of an event. The code in the composite viewer did however miss - the touch-data of the event. I thought that it should really be - the GUIEventAdapter that should know about this, and hence I - added the - GUIEventAdapter::setMouseYOrientationAndUpdateCoords which is - re-computing the coordinates. First I simply added a boolean to - the setMouseYOrientation function: - - setMouseYOrientation( MouseYOrientation, bool updatecooreds=false - ); - - but then the serializer complained. - - This function is called from both the Viewer and the - CompositeViewer. We have not tested from the viewer, but I cannot - see it would not work from visual inspection. - - The other change is in - MultiTouchTrackballManipulator::handleMultiTouchDrag. I have - removed the normalisation. The reason for that is that it - normalised into screen coordinates from 0,0 to 1,1. The problem - with that is that if you have a pinch event and you keep the - distance say 300 pixels between your fingers, these 300 pixels - represent 0.20 of the screen in the horizontal domain, but 0.3 of - the screen in the vertical domain. A rotation of the - pinch-fingers will hence result in a zoom in, as the normalised - distance is changing between them. - - A consequence of this is that I have changed the pan-code to use - the same algorithm as the middle-mouse-pan. - - The rest of it is very similar from previous revision, and there - has been some fine-tuning here and there. - - " - -2014-04-24 10:49 robert - - * CMakeModules/FindGDAL.cmake: From Mattias Helsing, "Seems I was - only half right given what you asked for. CMP0017 only - says that modules that are found and ran from cmake modules dir - should - prefer cmake-provided modules. find_package() and include() still - look - in CMAKE_MODULE_PATH first. - - After some investigating I've come up with a proposal examplified - in - the attached FindGDAL.cmake script. It simply calls the cmake - provided - FindGDAL.cmake if it exists and returns if it succeeds in finding - GDAL - using that, otherwise continue with our local cmake code. - Pro: Wont clutter our root CMakeLists.txt - Con: If we begin to write more advanced Findxxx modules (using - COMPONENTS, REQUIRED etc.) we may have to revise this scheme. - " - -2014-04-24 10:38 robert - - * src/osgSim/SphereSegment.cpp: Fixed reference invalidation bug. - -2014-04-24 07:22 robert - - * CMakeLists.txt: Fixed typo in OPENSCENEGRAPH_OPENGL_HEADER name - -2014-04-24 07:20 robert - - * include/osg/OpenGL: Removed header as this CMake generated - configuration file is not required to be part of svn repository - -2014-04-23 19:30 robert - - * include/osg/OpenGL, src/osg/OpenGL.in: Added src/osg/OpenGL.in - configuration file and include/osg/OpenGL header files - -2014-04-23 09:08 robert - - * CMakeLists.txt, applications/osgviewer/osgviewer.cpp, - examples/CMakeLists.txt, include/osg/Drawable, include/osg/GL, - include/osg/State, include/osgQt/GraphicsWindowQt, - include/osgQt/QGraphicsViewAdapter, include/osgQt/QWidgetImage, - src/osg/Config.in, src/osg/Drawable.cpp, src/osg/State.cpp, - src/osgQt/GraphicsWindowQt.cpp: Introduced new scheme for setting - up which version of OpenGL/OpenGL ES the OSG is compiled for. - - To select standard OpenGL 1/2 build with full backwards and - forwards comtability use: - - ./configure - make - - OR - - ./configure -DOPENGL_PROFILE=GL2 - - To select OpenGL 3 core profile build using GL3/gl3.h header: - - ./configure -DOPENGL_PROFILE=GL3 - - To select OpenGL Arb core profile build using GL/glcorearb.h - header: - - ./configure -DOPENGL_PROFILE=GLCORE - - To select OpenGL ES 1.1 profile use: - - ./configure -DOPENGL_PROFILE=GLES1 - - To select OpenGL ES 2 profile use: - - ./configure -DOPENGL_PROFILE=GLES2 - - - Using OPENGL_PROFILE will select all the appropriate features - required so no other settings in cmake will need to be adjusted. - The new configuration options are stored in the - include/osg/OpenGL header that deprecates the old include/osg/GL - header. - -2014-04-14 16:16 robert - - * include/osgManipulator/TranslatePlaneDragger: Fixed comment - -2014-04-13 16:04 robert - - * CMakeLists.txt, CMakeModules/FindFreeType.cmake, - CMakeModules/FindFreetype.cmake: Renamed FindFreeType.cmake to - FindFreetype.cmake to enable CMake build to pick up on CMake's - own FindFreetype.cmake when it's available. - -2014-04-09 17:40 robert - - * CMakeModules/FindFBX.cmake, - src/osgPlugins/fbx/ReaderWriterFBX.cpp: From Paul - Cheyrou-Lagreze, "Attached is fix/feature for FBX osgplugins - against latest trunk: - - - ReaderWriterFBX.cpp: add "z up scene axis" support: FBX - provides facility to convert model scene axis during conversion. - Currently fbx plugin convert axis to fbx:opengl axis system - (which is arbitrarily at Y up, as opengl is in reality axis - agnostic) and sometimes what is needed is Z up so added an option - for Z up conversion - - - FindFBX.cmake: add support for latest fbx sdk ( 2014.2 )" - -2014-04-09 17:20 robert - - * src/osgPlugins/fbx/CMakeLists.txt: Disabled warnings to address - issues in FBX headers that generate lots of warnings that we - can't fix. - -2014-04-08 19:42 robert - - * CMakeModules/FindFreeType.cmake: Added extra search paths to add - compatibility with Kubuntu/Ubuntu 14.04 now locaton for freetype - -2014-04-08 17:45 robert - - * ChangeLog, applications/osgversion/Contributors.cpp: Updated - ChangeLog and fixed Contributors list - -2014-04-08 12:00 robert - - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Remo Eichenberger, - "I have extended the TIFF plugin that allows you to write LZW or - JPEG compressed TIFF's. Options are: - - tiff_compression = lzw | jpeg" - -2014-04-08 11:48 robert - - * include/osgGA/GUIActionAdapter: From Sebastian Messerschmidt, "n - the trunk version the osgGA::GUIActionAdapter has additional - functions for lineIntersection which use osgGA::GUIEventAdapter&, - but the class declaration is neither forwarded, nor is the header - included. - Using the trunk together with osgEarth 2.5 will fail to build, - due to the missing type. - - Attached is the file forward declaring osgGA::GUIEventAdapter." - -2014-04-08 11:17 robert - - * src/osgWrappers/serializers/osgAnimation/Animation.cpp: From - Pjotr Svetachov, "We had a small problem converting skeleton - animations from fbx to osgt - format. Turned out that the serializer didn't handle bone names - with - spaces very well (the 3ds studio max biped for instance has - spaces by - default). Here is a small fix for the problem." - -2014-04-08 11:08 robert - - * src/osgPlugins/obj/obj.cpp: From Pjotr Svetachov, previous obj - "commit broke compilation under visual studio 2013. To use - std::not1 you need to include the functional header. Here is a - fix." - -2014-04-07 15:04 robert - - * include/osg/BoundingBox, include/osg/BoundingSphere: Fixed build - when using of double BoundingBox/BoundingSphere - -2014-04-07 14:17 robert - - * src/osgPlugins/obj/obj.cpp: From Jan Peciva, "I am sending four - fixes to obj plugin: - - - materialName used to be not stripped of whitespace, making - number of models - fail to load materials; now fixed - - stripping was considering spaces only, thus models using tabs - had problems - to load correctly; fixed - - fixed references to textures; they did not performed conversion - to native - directory separators - - make d (dissolve) takes precedence over Tr (transparency); - there seems to be - a confusion about the Tr item - some claiming 1 to be opaque and - 0 - transparent, while number of models uses exactly the opposite. d - (dissolve), - if present in the model, does not suffer from this confusion, - thus using it - instead fixes the problem for many many models. - - I put many comments to the file concerning d and Tr item as - others may further - investigate. Let me know in the case of any problems." - -2014-04-07 14:11 robert - - * src/OpenThreads/pthreads/PThread.cpp: From Marcel Pursche, "The - problem is that when OpenThreads is build with the Linux pthreads - implementation all threads inherit the processor affinity from - their parent thread. - This behavior is also described in the pthreads man page - (http://man7.org/linux/man-pages/man3/pthread_create.3.html): - - > - > Linux-specific details - > The new thread inherits copies of the calling thread's - capability - > sets (see capabilities(7)) and CPU affinity mask (see - > sched_setaffinity(2)). - > - - To prevent this behaviour I wrote a patch that explicitly sets - the affinity mask to all cores of the system, if no specific - affinity was defined with PThread::setProcessorAffinity(unsigned - int) . - - Thank you! - " - -2014-04-07 14:03 robert - - * src/osgPlugins/3ds/lib3ds/lib3ds.h, - src/osgPlugins/3ds/lib3ds/lib3ds_chunktable.c, - src/osgPlugins/3ds/lib3ds/lib3ds_impl.h, - src/osgPlugins/3ds/lib3ds/lib3ds_material.c: From Bjorn Blessing, - "I got bored of the constant reports of “missing chunk 0xA08A” - when reading 3ds-files. After a bit of research I discovered that - this property is related to the advanced transparency settings - for the material in 3D studio. In this case the falloff - parameter. These controls affect the opacity falloff of a - transparent material. And the property chooses whether falloff is - in or out. I have added the property to the file reader BUT no - changes are made to make this property propagate into the - osgMaterial. But at least we get rid of this annoying error - message." - -2014-04-07 13:52 robert - - * src/osgUtil/RayIntersector.cpp: From Bjorn Hein, "please find - attached a small fix for RayIntersector.cpp. - - * Changes are made against trunk - * Reason: crashes when using specific constructor from - RayIntersector - * Info: Line 42: added in constructor - RayIntersector::RayIntersector(const Vec3d& start, const Vec3d& - direction) missing initialisation of _parent - " - -2014-04-07 13:48 robert - - * include/osg/GL2Extensions: From Paul Martz, "We discussed the - issue of GL_RED_SNORM and GL_RG_SNORM some time ago, but the - issue was never completely resolved. Please see the attached - submission to fix the issue. - - osg/GL2Extensions was incorrectly defining GL_RED_SNORM and - GL_RG_SNORM as part of the definitions for OpenGL v3.1. However, - a quick review of the 3.1 spec indicates that these are not part - of the 3.1 standard. - - My attached change moves these definitions out of the #ifndef - GL_VERSION_3_1 conditional block, and defines them conditionally - if not already defined. This allows the DDS plugin to build for - GL3. - " - -2014-04-04 11:25 robert - - * src/osgVolume/Shaders/volume_accumulateSamples_iso_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_iso_tf_frag.cpp: - Fixed iso surface shaders - -2014-04-01 18:56 robert - - * src/osgVolume/Property.cpp: Improved the setting of sample - density/ratio so that they are consistent - -2014-04-01 18:33 robert - - * include/osgVolume/MultipassTechnique, - src/osgVolume/MultipassTechnique.cpp, src/osgVolume/Property.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_iso_tf_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_lit_tf_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_mip_tf_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_standard_tf_frag.cpp, - src/osgVolume/Shaders/volume_compute_ray_color_frag.cpp, - src/osgVolume/VolumeScene.cpp: Fixed handling of volume tiles - with a region. - -2014-03-27 12:47 robert - - * include/osgVolume/MultipassTechnique, - include/osgVolume/VolumeTechnique, - src/osgVolume/MultipassTechnique.cpp, src/osgVolume/Property.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_iso_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_iso_tf_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_lit_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_lit_tf_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_mip_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_mip_tf_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_standard_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_standard_tf_frag.cpp, - src/osgVolume/Shaders/volume_compute_ray_color_frag.cpp, - src/osgVolume/Shaders/volume_multipass_cube_and_hull_frag.cpp, - src/osgVolume/Shaders/volume_multipass_cube_frag.cpp, - src/osgVolume/Shaders/volume_multipass_frag.cpp, - src/osgVolume/Shaders/volume_multipass_hull_frag.cpp, - src/osgVolume/VolumeScene.cpp: Added cube and hull rendering - support - -2014-03-19 17:56 robert - - * include/osgVolume/MultipassTechnique, - include/osgVolume/VolumeScene, include/osgVolume/VolumeTechnique, - src/osgVolume/MultipassTechnique.cpp, - src/osgVolume/VolumeScene.cpp: Restructured the handling of - TileData to make it more extensible and flexible. - -2014-03-18 18:14 robert - - * include/osgPresentation/deprecated/SlideShowConstructor, - include/osgVolume/Property, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp, - src/osgVolume/MultipassTechnique.cpp, src/osgVolume/Property.cpp: - Addd ExteriorTransparencyFactorProperty for support of upcomming - functionality of rendering a cube volume with a hull volume - inside it. - -2014-03-17 15:54 robert - - * include/osgPresentation/deprecated/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp, - src/osgVolume/MultipassTechnique.cpp: Added support for animating - volume hulls. - -2014-03-13 14:02 robert - - * src/osgPlugins/RestHttpDevice/RestHttpDevice.cpp: From Stephan - Huber, "attached is a fix for the rest-http-plugin which should - fix the font-issue reported by Phil. The old implementation did - forward all requests to the internal http-server via user-events. - This prevented error-reporting for missing files, as the request - was accidentally handled by the plugin. As a request for missing - font-file succeeds and returned an empty file, the curl-plugin - hands the data happily to the freetype-plugin which failed trying - to load an empty font-file, obviously. - - My fix was to rename the standard request handler to a - specialized user-event-handler which handles only requests for - "/user-event“ - - So fonts should work on iOS when loaded remotely, even when a - local file is available and with the resthttp-plugin serving the - presentation. - " - -2014-03-13 13:59 robert - - * src/osgPlugins/CMakeLists.txt: From Stephan Huber, fix for - building lua plugin from local source - -2014-03-13 10:28 robert - - * include/osgPresentation/deprecated/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp: Added - support for directly invoking scripts using and - to enable scripts to interact with each other. - -2014-03-12 11:01 robert - - * src/osgGA/Widget.cpp, - src/osgPresentation/deprecated/SlideEventHandler.cpp, - src/osgWrappers/serializers/osgPresentation/PresentationInterface.cpp: - Improved support for passing events between scripts and Present3D - application - -2014-03-11 10:52 robert - - * include/osgPresentation/PresentationInterface, - src/osgPresentation/CMakeLists.txt, - src/osgPresentation/PresentationInterface.cpp, - src/osgWrappers/serializers/osgPresentation/PresentationInterface.cpp: - Added PresentationInterface class to make it more convinient to - access the current presentation from scripting languages - -2014-03-10 19:08 robert - - * include/osgPresentation/deprecated/SlideEventHandler, - src/osgPresentation/deprecated/SlideEventHandler.cpp: Added - scripting support for JumpData, KeyPosition, HomePosition and - parts of SlideEventHandler that enable dispatching of user - created events. - -2014-03-07 11:09 robert - - * src/osgGA/Widget.cpp, src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h, - src/osgWrappers/serializers/osg/Switch.cpp: Added ability to - replace callback objects via lua scripts to allow one to override - callbacks. - - Added fallback for osgGA::Widget::Extents. - -2014-03-06 10:27 robert - - * include/osgDB/OutputStream, src/osg/Image.cpp, - src/osgDB/InputStream.cpp, src/osgDB/OutputStream.cpp, - src/osgDB/PropertyInterface.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgWrappers/serializers/osg/Image.cpp: Added support for - osg::Image to the lua plugin. - -2014-03-04 13:36 robert - - * src/osgPlugins/lua/LuaScriptEngine.cpp: Implement add, set and - get methods for StateSet. - -2014-03-04 13:35 robert - - * include/osgDB/PropertyInterface, src/osgDB/PropertyInterface.cpp: - Relaxed the handling of Image objects -2014-03-04 13:34 robert +Tue, 2 Jun 2015 09:33:22 +0000 +Checked in by : Robert Osfield +From Konstantin Matveyev, "I've changed osg::Uniform::Callback to osg::UniformCallback. osg::UniformCallback inherits osg::Callback now.I don't really now if this class should be inside osgWrappers/serializers +because StateAttributeCallback is not presented there, but i've included it in the patch. - * src/osgWrappers/serializers/osg/StateSet.cpp: Fixed handling of - OverrideValue -2014-02-28 17:38 robert +Please see archive in the attachment. - * src/osgPlugins/p3d/ReaderWriterP3D.cpp: From Stephan Huber, fix - for handling font paths on a local machine when other files have - been source from a remote machine. -2014-02-27 10:02 robert +PS +DEEP_COPY_UNIFORMS works for me. +" +Note from Robert Osfield, added typedef UniformCallback Callback for backwards compatibility. - * include/osgDB/Serializer, src/osgPlugins/lua/LuaScriptEngine.cpp: - Added MapReverseIterator implementation. -2014-02-26 18:18 robert - * include/osgDB/Serializer, src/osgPlugins/lua/LuaScriptEngine.cpp: - Added MapIteratorObject and support for it in the lua plugin to - provide map iterator functionality. +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14885 16af8721-9629-0410-8352-f15c8da7e697 -2014-02-26 11:01 robert - * include/osgDB/Serializer, src/osgPlugins/lua/LuaScriptEngine.cpp: - Added Map serializer size() method and support for it in the lua - plugin. Renamed functions in lua plugin to be more consistent. +Tue, 2 Jun 2015 09:18:19 +0000 +Checked in by : Robert Osfield +Changed name of UniformCallback to UniformBufferCallback to avoid conflict with changes to come to the osg::Uniform::Callback -> osg::UniformCallback.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14884 16af8721-9629-0410-8352-f15c8da7e697 -2014-02-26 08:26 robert - * include/osg/TransferFunction, include/osg/UserDataContainer, - include/osgDB/PropertyInterface, include/osgDB/Serializer, - src/osgDB/PropertyInterface.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h, - src/osgWrappers/serializers/osg/TransferFunction1D.cpp: Added - support for vector and map containers in osgDB::Serailizer's and - lua plugin. +Mon, 1 Jun 2015 13:40:20 +0000 +Checked in by : Robert Osfield +From Albert Luaces, typo fixes.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14883 16af8721-9629-0410-8352-f15c8da7e697 -2014-02-24 10:19 robert - * CMakeLists.txt, include/osg/Geometry, include/osg/Version, - include/osgDB/InputStream, include/osgDB/OutputStream, - include/osgDB/PropertyInterface, include/osgDB/Serializer, - src/osg/Geometry.cpp, src/osgDB/OutputStream.cpp, - src/osgDB/PropertyInterface.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h, - src/osgWrappers/serializers/osg/Array.cpp, - src/osgWrappers/serializers/osg/Geometry.cpp, - src/osgWrappers/serializers/osg/PrimitiveSet.cpp: Added Vector - serialization and support in lua plugin top enable script users - to set/get vector properties such as osg::Array, - osg::PrimitiveSet and children lists. +Mon, 1 Jun 2015 13:11:49 +0000 +Checked in by : Robert Osfield +From Jannik Heller, typo fixesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14882 16af8721-9629-0410-8352-f15c8da7e697 -2014-02-13 18:52 robert - * src/osg/PrimitiveSet.cpp, src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h, - src/osgWrappers/serializers/osg/PrimitiveSet.cpp: Fixed handling - of enums in Lua plugin. - - Fixed computation of getNumPrimitives() so that it returns 0 when - PrimitiveSet is zero. - - Added missing properties to PrimitiveSet serializers +Mon, 1 Jun 2015 12:14:53 +0000 +Checked in by : Robert Osfield +From Jannik Heller, "This patch adds a missing initialization of osgParticle::ParticleProcessor::_frameNumber in the copy constructor. I noticed this because valgrind was complaining about use of uninitialized memory."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14881 16af8721-9629-0410-8352-f15c8da7e697 -2014-02-13 11:01 robert - * include/osg/PrimitiveSet, - src/osgWrappers/serializers/osg/Array.cpp, - src/osgWrappers/serializers/osg/PrimitiveSet.cpp: Added inital - cut of PrimitiveSetSet wrappers to scripting +Mon, 1 Jun 2015 12:07:04 +0000 +Checked in by : Robert Osfield +From Frashud Lashkari, "I was getting "Unsupported wrapper class..." error messages when attempting to load osgb models simultaneously from multiple threads. I believe the problem is caused by un-synchronized access to the global osgDB::ObjectWrapperManager class. I've attached a change that adds a mutex to the class and uses it when accessing the internal wrapper/compress maps. This appears to fix the issues I was having."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14880 16af8721-9629-0410-8352-f15c8da7e697 -2014-02-12 18:10 robert - * src/osgWrappers/serializers/osg/Array.cpp: Added full range of - Array subclasses to wrappers +Mon, 1 Jun 2015 10:50:44 +0000 +Checked in by : Robert Osfield +From Jannik Heller, "I have added new functions Texture::generateAndAssignTextureObject mirroring the Texture::generateTextureObject functions.I have left the Texture::generateTextureObject functions intact as I'm not sure if/how it's used outside the core OSG. If you feel that compatibility isn't important in that area feel free to drop it. -2014-02-12 18:03 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. - * include/osgDB/Serializer, src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgWrappers/serializers/osg/Array.cpp: Added initial support - for wrapping osg::Array in a way that can be used via scripting. +There is one thing left to fix and that is Texture2D::SubloadCallback: -2014-02-11 18:18 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); + } + ... + }" + - * include/osgDB/PropertyInterface: Fixed handling of assignment of - User Object's that replace existing Object with the specified - propertyName. -2014-02-11 18:07 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14879 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/UserDataContainer, include/osgDB/PropertyInterface, - src/osgDB/PropertyInterface.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp: Improved support for - setting/getting properties via the osg::UserDataContainer. -2014-02-11 10:56 robert +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 - * src/osgDB/PropertyInterface.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp: Quitened down debug - messages -2014-02-11 09:43 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 - * src/osgPlugins/lua/LuaScriptEngine.cpp: Changed implementation of - enums to use strings as lua type to make it easier to do - comparisons and track values -2014-02-10 18:07 robert +Tue, 26 May 2015 17:24:48 +0000 +Checked in by : Robert Osfield +From Colin McDonald, "rc/osgUtl/MeshOptimizers.cpp won't compile on some systems due to a missing std:: namespace prefix."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14876 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgGA/Widget.cpp, - src/osgWrappers/serializers/osgGA/Widget.cpp: Implemented - Widget::handle, handleImplementation, traverse and - travseImplementation() wrappers to enable them to be extended via - scripting -2014-02-10 16:44 robert +Tue, 26 May 2015 17:22:05 +0000 +Checked in by : Robert Osfield +From Farshid Lashkari, "attached a small change to osgUtil::SceneView that prevents unnecessary calls to glClear when the split stereo separation is 0."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14875 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/BoundingBox, include/osg/BoundingSphere, - include/osg/ValueObject, include/osgDB/InputStream, - include/osgDB/OutputStream, include/osgDB/PropertyInterface, - include/osgDB/Serializer, include/osgGA/Widget, - src/osgDB/InputStream.cpp, src/osgDB/OutputStream.cpp, - src/osgDB/PropertyInterface.cpp, src/osgGA/Widget.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h, - src/osgWrappers/serializers/osgGA/Widget.cpp: Added support for - serailizing and scripting BoundingBox and BoundingSphere objects - -2014-02-08 17:53 robert - - * include/osgDB/Serializer, src/osgDB/PropertyInterface.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgWrappers/serializers/osgGA/Widget.cpp: Fixed handling of - setting member variables via the Serializers when the value is - the default. - - Added support for more features of the osgDB::Widget class. - - Fixed handling of boolean values in the Lua plugin - -2014-02-08 10:39 robert - - * include/osgDB/PropertyInterface, include/osgDB/Serializer, - src/osgPlugins/lua/LuaScriptEngine.cpp: Added support for enum's - in the Lua script integration - -2014-02-08 10:38 robert - - * include/osgGA/Widget: Fixed export - -2014-02-07 16:06 robert - - * src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/ReaderWriterLua.cpp, - src/osgWrappers/serializers/osgGA/Widget.cpp: Fixed handling of - returns when invoking a script, removed some debug messages, - added a warning message when detecting erronous types. - - Added FocusBehaviour enum to osgGA::Widget serialization - -2014-02-07 10:46 robert - - * include/osgGA/Widget, src/osgWrappers/serializers/osg/Group.cpp, - src/osgWrappers/serializers/osgGA/Widget.cpp: Added initial - Widget wrapper - -2014-02-06 17:32 robert - - * examples/osgtransferfunction/CMakeLists.txt, - examples/osgtransferfunction/TransferFunctionWidget.h, - examples/osgtransferfunction/Widget.cpp, - examples/osgtransferfunction/Widget.h, - include/osgGA/GUIActionAdapter, include/osgGA/Widget, - src/osgGA/CMakeLists.txt, src/osgGA/Widget.cpp: Moved - experimental Widget class to osgGA - Add computeIntersections() to the osgGA::GUIActionAdapter base - class to enable intersection tests without needing to directly - link to osgViewer. - -2014-02-06 17:04 robert - - * examples/osgtransferfunction/TransferFunctionWidget.cpp, - examples/osgtransferfunction/TransferFunctionWidget.h, - examples/osgtransferfunction/Widget.cpp, - examples/osgtransferfunction/Widget.h, - examples/osgtransferfunction/osgtransferfunction.cpp: Added - osg::CallbackObject suport to the experiment Widget base class to - enable script language extension of widgets - -2014-02-06 11:25 robert - - * include/osgDB/PropertyInterface, src/osgDB/PropertyInterface.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h: Added support for casting - objects to allow one to access a parent classes methods. - -2014-02-05 11:08 robert - - * src/osgPresentation/deprecated/SlideShowConstructor.cpp: Tweaked - the detection of when the position transform for the hull is - required. - -2014-02-05 11:07 robert - - * include/osgPresentation/deprecated/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp: Added - support for a tag that can be used within tag. - -2014-02-05 11:04 robert - - * src/osgDB/XmlParser.cpp: Improved the white space trimming - -2014-02-04 16:49 robert - - * CMakeLists.txt, - examples/osgtransferfunction/osgtransferfunction.cpp, - src/osgPlugins/lua/CMakeLists.txt, src/osgPlugins/lua/lua-5.2.3, - src/osgPlugins/lua/lua-5.2.3/Makefile, - src/osgPlugins/lua/lua-5.2.3/README, - src/osgPlugins/lua/lua-5.2.3/doc, - src/osgPlugins/lua/lua-5.2.3/doc/contents.html, - src/osgPlugins/lua/lua-5.2.3/doc/logo.gif, - src/osgPlugins/lua/lua-5.2.3/doc/lua.1, - src/osgPlugins/lua/lua-5.2.3/doc/lua.css, - src/osgPlugins/lua/lua-5.2.3/doc/luac.1, - src/osgPlugins/lua/lua-5.2.3/doc/manual.css, - src/osgPlugins/lua/lua-5.2.3/doc/manual.html, - src/osgPlugins/lua/lua-5.2.3/doc/osi-certified-72x60.png, - src/osgPlugins/lua/lua-5.2.3/doc/readme.html, - src/osgPlugins/lua/lua-5.2.3/src, - src/osgPlugins/lua/lua-5.2.3/src/Makefile, - src/osgPlugins/lua/lua-5.2.3/src/lapi.c, - src/osgPlugins/lua/lua-5.2.3/src/lapi.h, - src/osgPlugins/lua/lua-5.2.3/src/lauxlib.c, - src/osgPlugins/lua/lua-5.2.3/src/lauxlib.h, - src/osgPlugins/lua/lua-5.2.3/src/lbaselib.c, - src/osgPlugins/lua/lua-5.2.3/src/lbitlib.c, - src/osgPlugins/lua/lua-5.2.3/src/lcode.c, - src/osgPlugins/lua/lua-5.2.3/src/lcode.h, - src/osgPlugins/lua/lua-5.2.3/src/lcorolib.c, - src/osgPlugins/lua/lua-5.2.3/src/lctype.c, - src/osgPlugins/lua/lua-5.2.3/src/lctype.h, - src/osgPlugins/lua/lua-5.2.3/src/ldblib.c, - src/osgPlugins/lua/lua-5.2.3/src/ldebug.c, - src/osgPlugins/lua/lua-5.2.3/src/ldebug.h, - src/osgPlugins/lua/lua-5.2.3/src/ldo.c, - src/osgPlugins/lua/lua-5.2.3/src/ldo.h, - src/osgPlugins/lua/lua-5.2.3/src/ldump.c, - src/osgPlugins/lua/lua-5.2.3/src/lfunc.c, - src/osgPlugins/lua/lua-5.2.3/src/lfunc.h, - src/osgPlugins/lua/lua-5.2.3/src/lgc.c, - src/osgPlugins/lua/lua-5.2.3/src/lgc.h, - src/osgPlugins/lua/lua-5.2.3/src/linit.c, - src/osgPlugins/lua/lua-5.2.3/src/liolib.c, - src/osgPlugins/lua/lua-5.2.3/src/llex.c, - src/osgPlugins/lua/lua-5.2.3/src/llex.h, - src/osgPlugins/lua/lua-5.2.3/src/llimits.h, - src/osgPlugins/lua/lua-5.2.3/src/lmathlib.c, - src/osgPlugins/lua/lua-5.2.3/src/lmem.c, - src/osgPlugins/lua/lua-5.2.3/src/lmem.h, - src/osgPlugins/lua/lua-5.2.3/src/loadlib.c, - src/osgPlugins/lua/lua-5.2.3/src/lobject.c, - src/osgPlugins/lua/lua-5.2.3/src/lobject.h, - src/osgPlugins/lua/lua-5.2.3/src/lopcodes.c, - src/osgPlugins/lua/lua-5.2.3/src/lopcodes.h, - src/osgPlugins/lua/lua-5.2.3/src/loslib.c, - src/osgPlugins/lua/lua-5.2.3/src/lparser.c, - src/osgPlugins/lua/lua-5.2.3/src/lparser.h, - src/osgPlugins/lua/lua-5.2.3/src/lstate.c, - src/osgPlugins/lua/lua-5.2.3/src/lstate.h, - src/osgPlugins/lua/lua-5.2.3/src/lstring.c, - src/osgPlugins/lua/lua-5.2.3/src/lstring.h, - src/osgPlugins/lua/lua-5.2.3/src/lstrlib.c, - src/osgPlugins/lua/lua-5.2.3/src/ltable.c, - src/osgPlugins/lua/lua-5.2.3/src/ltable.h, - src/osgPlugins/lua/lua-5.2.3/src/ltablib.c, - src/osgPlugins/lua/lua-5.2.3/src/ltm.c, - src/osgPlugins/lua/lua-5.2.3/src/ltm.h, - src/osgPlugins/lua/lua-5.2.3/src/lua.c, - src/osgPlugins/lua/lua-5.2.3/src/lua.h, - src/osgPlugins/lua/lua-5.2.3/src/lua.hpp, - src/osgPlugins/lua/lua-5.2.3/src/luac.c, - src/osgPlugins/lua/lua-5.2.3/src/luaconf.h, - src/osgPlugins/lua/lua-5.2.3/src/lualib.h, - src/osgPlugins/lua/lua-5.2.3/src/lundump.c, - src/osgPlugins/lua/lua-5.2.3/src/lundump.h, - src/osgPlugins/lua/lua-5.2.3/src/lvm.c, - src/osgPlugins/lua/lua-5.2.3/src/lvm.h, - src/osgPlugins/lua/lua-5.2.3/src/lzio.c, - src/osgPlugins/lua/lua-5.2.3/src/lzio.h: Added lua-5.2.3 as - source code so it can be optinally built as part of the lua - plugin, making it possible to work out of the box across all - platforms with needing lua as an external dependency. - - Added the Cmake option OSG_USE_LOCAL_LUA_SOURCE to control - whether to build and use the Lua source code in the lua plugin, - or look for lua as an external dependency. - -2014-02-04 16:46 robert - - * src/osgPlugins/p3d/ReaderWriterP3D.cpp: Added test code for - nesting a within a volume tag. - -2014-02-04 11:24 robert - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/lua/CMakeLists.txt: - From Stephan Huber, added support for compile source code of lua - with the lua plugin - -2014-02-03 15:35 robert - - * src/osgVolume/Shaders/volume_tf_mip_frag.cpp: Fixed error in the - computation of tex coords of Maximum Intensity Projection + - Transfer Function rendering. - -2014-01-31 19:18 robert - - * src/osgText/Glyph.cpp: Replaced C cast to long with a - static_cast() to avoid a build error under Mingw 64. - -2014-01-31 16:20 robert - - * examples/osgpresentation/osgpresentation.cpp, - include/osg/ScriptEngine, src/osg/ScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp: Added - osg::CallbackObject to be used to extend C++ class from scripting - languages by providing callback objects assigned to the - osg::Object UserDataContainer, with the CallbackObject's Name - used to map the "method" provided by the CallbackObject. The - CallbackObject is implemented by the script engine to provide the - neccessary glue to invoking the script with the appropriate input - parameters and handling the output parameters. - - To the Lua plugin added support for assigned lua functions to C++ - osg::Objects via the new osg::CallbackObject mechanism. To invoke - the scripts function from C++ one must get the CallbackObject and - call run on it. - - Renamed ScriptCallback to ScriptNodeCallback to avoid possibly - confusion between osg::CallbackObject and the ScriptNodeCallback. - -2014-01-29 11:01 robert - - * ChangeLog: Updated ChangeLog - -2014-01-28 16:49 robert - - * include/osgGA/MultiTouchTrackballManipulator: From Kristofer - Tingdahl, made method virtual - -2014-01-28 16:48 robert - - * CMakeModules/OsgMacroUtils.cmake: Fixed MingW build's handling of - debug d postfix. - -2014-01-28 15:28 robert - - * src/osgPlugins/cfg/ConfigParser.cpp: Removed the invocation of - gcc on all platforms - -2014-01-28 11:01 robert - - * examples/osgscalarbar/osgscalarbar.cpp, src/osgSim/ScalarBar.cpp: - From Kristofer Tingdahl, "the vertical bar is upside down, and - hence not as the documentation says it should be. This is - corrected with this patch" - - From Robert Osfield, changed the example so that the vertical and - horizon scalar bars are rotated to the XZ plane so you can see - them with the default viewer's camera orientation. - Tweaked the positioning of title text of vertic scalar bar to - avoid overlap of text. - -2014-01-27 15:43 robert - - * include/osgViewer/api/Win32/GraphicsWindowWin32: Removed - unimplemented method - -2014-01-24 17:31 robert - - * src/osg/Geometry.cpp: From Laurens Voerman, "I experienced a - crash in Geometry::fixDeprecatedData(), on certain files, and - brought the problem down to a very simple test file, attached as - test3.zip. - - There are two problems: - 1> for DrawElementsUShortPrimitiveType (and UInt) the - source_pindex still equals -1 and causes a crash - in DrawElementsUBytePrimitiveType source_pindex is incremented, - and in DrawElementsU(Short/Int)PrimitiveType primitiveNum is - incremented, but never used - - 2> The drawelements need to be rewritten as the vertices are - reordered. - - created a patch for osg stable branch(r14038): attached as - Geometry-osg-3.2.zip - and for svn brach(r14044): attached as Geometry_osg_svn.zip" - -2014-01-24 17:06 robert - - * src/osg/FrameBufferObject.cpp: From Aurelien Albert, "In the - "apply" method of osg::FrameBufferObject, the draw buffers are - always enabled, even if the target is only "READ_FRAMEBUFFER". - - This can lead to inconsistency if you bind a framebuffer with - multiple attachments in DRAW mode and then a framebuffer with - different attachment count in READ mode (for example to manually - "blit" from a FBo to another). - - On some ATI cards (at least RADEON HD) this also leads to an - "incomplete " FBO status - - I've added a test to enable drawbuffers only if target is "DRAW" - or "READ_DRAW", this solves my problems on ATI cards." - -2014-01-24 16:45 robert - - * src/osg/KdTree.cpp: From Michael Schanne, "small fix for a - duplicate OR operand in KdTree.cpp." - -2014-01-24 16:28 robert - - * CMakeModules/FindCOLLADA.cmake: From Torben Dannahuer, "modified - findcollada.cmake which can now detect Boost 1.55 libraries, - which are used by Collada in my 3rdParty package" - -2014-01-24 16:24 robert - - * src/osgPlugins/dxf/dxfEntity.cpp, src/osgPlugins/txf/TXFFont.cpp: - From Torben Dannhauer, VisualStudio 2013 build fixes - -2014-01-24 16:19 robert - - * examples/osgscalarbar/osgscalarbar.cpp, src/osgSim/ScalarBar.cpp: - From Kristofer, "The osgSim::ScalarBar has a problem in that if - the scalarbar has a color in one end that co-incides with the - background color, one cannot see where the scalarbar ends. With - this patch, we add a line around the perimiter of the bar to mark - it. - - Secondly, we thought the text-annotation missed ticks that mark - out precisely where on the bar the texts relate to, so we added - that as well." - -2014-01-24 16:01 robert - - * src/osgPlugins/ply/plyfile.cpp: From Marc Helbling, "I am sending - a small fix in the PLY pseudo-loader; the extension was checked - in plyfile.cpp thus preventing the loading of any .PLY file - (extension in uppercase). The extension filtering is already - handled by ReaderWriter::acceptsExtension in a case unsensitive - way." - -2014-01-24 15:40 robert - - * src/osgQt/GraphicsWindowQt.cpp, - src/osgQt/QGraphicsViewAdapter.cpp, - src/osgShadow/ViewDependentShadowMap.cpp, - src/osgVolume/VolumeScene.cpp, - src/osgWrappers/deprecated-dotosg/osg/StateSet.cpp: Fixed - warnings - -2014-01-24 14:26 robert - - * src/osgPlugins/cfg/ReaderWriterCFG.cpp: Changed the handling of - single window configurations so that simply reuse the - View::getCamera() instead of creating a slave. - -2014-01-24 12:01 robert - - * include/osg/Texture2DArray, include/osg/Texture2DMultisample: - Added a getModeUsage() method that prevents any mode being - automatically associated with these Texture types that are only - usable using non fixed function pipeline. - -2014-01-24 11:37 robert - - * src/osgViewer/Viewer.cpp: Fixed crash when reading a viewer - configuration file where the EventVisitor was being re-assigned - but left a dangling pointer - -2014-01-24 10:10 robert - - * src/osgPlugins/osc/OscSendingDevice.cpp, - src/osgPresentation/deprecated/PickEventHandler.cpp: From Stephan - Huber, "attached is a new zip containing two small fixes: - * forwarded touch-events do have a correct input-range from 0 .. - 1 - * I refactored sending touch-events per osc so the receiver can - detect a TOUCH_ENDED better" - -2014-01-23 19:55 robert - - * src/osgPlugins/3ds/WriterCompareTriangle.cpp, - src/osgPlugins/3ds/WriterCompareTriangle.h, - src/osgPlugins/3ds/lib3ds/lib3ds_file.c, - src/osgPlugins/dxf/ReaderWriterDXF.cpp, - src/osgPlugins/lwo/lwo2parser.h, src/osgPlugins/zip/unzip.cpp, - src/osgWrappers/deprecated-dotosg/osg/Texture.cpp: Fixed warnings - -2014-01-23 16:48 robert - - * include/osg/ComputeBoundsVisitor, - src/osg/ComputeBoundsVisitor.cpp: From Kristofer Tingdahl,"we - have a bunch of classes that inherit osg::Node, and they create - their own, internal geometry which is passed into the render - bucket at the cull-traversal. Last week, we realised that these - classes are not accounted for when doing an ComputeBoundVisitor- - traversal, as there is no specialization in ComputeBoundVisitor - for them. - - One solution is naturally to create a new class that would - inherit the osg::ComputeBoundVisitor, and use that. I don't like - that idea as the ComputeBoundVisitor does actually have what I - need - it is only hidden in a protected function. - - I am therefor suggesting a slight generalization of the - ComputeBoundVisitor with the attached patch, which is tested. - - The patch has two parts: - we add applyBBox() so that one can use that in a customized - traverse-function and add a bbox to the visitor. I considered - calling this function expandByBBox(), but I though applyBBox was - better. - The MatrixStack is made available to the outside world. That - enables a traverse-function to do whatever it wishes. - I do actually only need one of the two, as I can implement what I - wish either way, but adding getMatrixStack() will make more - generic expansions possible. - " - - From Robert Osfield, changed the name of the new applyBBox(..) - method to applyBoundingBox(..) to keep it's naming more - consistent with the rest of the OSG. - -2014-01-23 15:37 robert - - * applications/present3D/deprecated/present3D.cpp, - examples/osgviewerIPhone/iphoneViewerAppDelegate.mm, - include/osgGA/GUIEventAdapter, - include/osgPresentation/deprecated/SlideEventHandler, - src/osgGA/GUIEventAdapter.cpp, - src/osgGA/MultiTouchTrackballManipulator.cpp, - src/osgPlugins/osc/OscReceivingDevice.cpp, - src/osgPlugins/osc/OscSendingDevice.cpp, - src/osgPlugins/osc/OscSendingDevice.hpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/deprecated/KeyEventHandler.cpp, - src/osgPresentation/deprecated/PickEventHandler.cpp, - src/osgViewer/GraphicsWindowCocoa.mm, - src/osgViewer/GraphicsWindowIOS.mm, src/osgViewer/Viewer.cpp: - From Stephan Huber, "attached are some fixes to the osc-plugin - and the touch-implementations for iOS and os x and other small - bugfixes. These fixes will normalize the orientation of the touch - points, and transmitting the touch points over osc via the - TUIO-protocol works now more robustly between two - osg-applications. - - I added a new tag to p3d called forward_touch_event_to_device and - renamed the existing forward_event_to_device to - forward_mouse_event_to_device. This new tag will transmit touches - to the virtual trackpad as touch events. I added the - MultitouchTrackball to the p3d-app so zooming and moving a model - remotely should now work, if you use - forward_touch_event_to_device. I kept (and fixed) - forward_mouse_event_to_device for background compatibility, so - old presentations works as in previous versions, without the - ability to zoom + scale. of course. - - forward_touch_event_to_device needs some more testing, (e.g. with - image-streams and keystone, afaik there’s no support for - touch-events...) but for a first version it works nice. - " - -2014-01-23 10:56 robert - - * src/osgVolume/VolumeTechnique.cpp: Removed debug message - -2014-01-23 10:50 robert - - * src/osgVolume/Property.cpp: Changed the TransprencyProperty range - to 0 to 2.0 to enable forcing opaque qualities on fragments - -2014-01-23 10:11 robert - - * src/osgDB/ObjectWrapper.cpp: Cleaned up debug message. - -2014-01-23 10:09 robert - - * CMakeLists.txt, examples/osgviewerQt/osgviewerQt.cpp: Cleaned up - the Qt find package, and made changed the default threading model - to SingleThreaded when using Qt5 to avoid crash due to - regresssion since Qt4. - -2014-01-23 09:41 robert - - * src/osgUtil/GLObjectsVisitor.cpp: Added clean up of osg::Program - that are applied by the GLObjectsVisitor, which addresses a state - leak that creates GL error once the main scene graph is rendered. - -2014-01-23 07:59 robert - - * src/osg/StateSet.cpp: Added GL_TEXTURE_2D_MULTISAMPLE to texture - mode list. - -2014-01-22 17:29 robert - - * include/osgViewer/api/Win32/GraphicsWindowWin32: Made protected - methods virtual to allow subclassing to customize more aspects of - the window setup. - -2014-01-22 16:29 robert - - * src/osgPlugins/p3d/ReaderWriterP3D.cpp: Refactored .p3d loader to - make it less strict about the tag, property and value strings - when matching them to supported values. - - Examples of supported matches are: - - and will be treated the same - WHITE and White will be - treated the same - and , will all be - treated the same - -2014-01-22 11:25 robert - - * src/osgPlugins/p3d/ReaderWriterP3D.cpp: Added support for - sampleRatio and sampleRatioWhenMoving properties - -2014-01-21 18:58 robert - * examples/osgtransferfunction/TransferFunctionWidget.cpp: Build - fixes for when ref_ptr<> automatic type conversion is turned off - -2014-01-21 18:48 robert - - * include/osgPresentation/deprecated/SlideShowConstructor, - src/osgPresentation/deprecated/PickEventHandler.cpp, - src/osgPresentation/deprecated/SlideEventHandler.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp: Added - support for osgVolue::SampleRatioProperty. Fixed build errors - when compiling with ref_ptr<> automatic type conversion. - -2014-01-21 18:31 robert - - * src/osgVolume/MultipassTechnique.cpp, - src/osgVolume/RayTracedTechnique.cpp, - src/osgVolume/VolumeScene.cpp: Build fixes for when ref_ptr<> has - no auto type conversion - -2014-01-21 17:27 robert - - * src/osgGA/MultiTouchTrackballManipulator.cpp: Fixed build error - -2014-01-21 17:00 robert - - * src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp: Fixed build - error due to typo. - -2014-01-20 17:23 robert - - * src/osgVolume/MultipassTechnique.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_iso_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_iso_tf_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_lit_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_lit_tf_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_mip_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_mip_tf_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_standard_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_standard_tf_frag.cpp, - src/osgVolume/Shaders/volume_compute_ray_color_frag.cpp, - src/osgVolume/Shaders/volume_multipass_frag.cpp, - src/osgVolume/Shaders/volume_multipass_vert.cpp: Integrated - multipass volume rendering shaders from OpenSceneGraph-Data - -2014-01-20 17:03 robert - - * examples/osg2cpp/osg2cpp.cpp: Changed the default directory for - the output files to be the current working directory, - with the --write-to-source-file-directory added to allow one to - have the original behaviour - of writing to the same directory as the original source file. - -2014-01-20 16:21 robert - - * include/osgVolume/MultipassTechnique, - src/osgVolume/MultipassTechnique.cpp: Removed nolonger used code - paths - -2014-01-20 15:54 robert - - * src/osgVolume/MultipassTechnique.cpp: Disable depth test for - rendering of hull backface - -2014-01-20 15:10 robert - - * include/osg/GL: From Stephan Huber, "recent commits regarding - GLuint64EXT broke the build for GLES1 and GLES2. Attached you’ll - find a fix which hopefully work for every platform." - -2014-01-20 11:00 robert - - * include/osgManipulator/AntiSquish, - src/osgManipulator/AntiSquish.cpp: From Kristofer Tingdahl, - reimplement of AntiSquish node to avoid the use of an update - callback. - - From Robert Osfield, small ammendments to clean up header. - -2014-01-20 10:40 robert - - * include/osgQt/GraphicsWindowQt, src/osgQt/GraphicsWindowQt.cpp: - From Roni Zanolli,Added use of Qt's new devicePixelRatio() method - to assist with handling the upscalling of resolution on iPhone - for "retina" displays. - - From Robert Osfield, changed Roni's code to use a #define - GETDEVICEPIXELRATIO to access the versioned Qt devicePixelRatio() - method to avoid duplication of the Qt version checking. - -2014-01-17 18:20 robert - - * src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp: Fixed warning - -2014-01-17 18:20 robert - - * src/osgDB/CMakeLists.txt: From Stephan Huber, fix for OSX build - issue - -2014-01-17 14:02 robert - - * src/osgQt/CMakeLists.txt: From Kristoger Tingdahl, "the patch I - sent to src/osgQt/CMakeModules.txt did not do the work on - windows. I have fixed that, and also made it more generic so - there is no special handling of qt5.2, but all qt5 are the same. - - I have tested this on: - - mac/qt5.2 - linux/qt5.2 - windows/qt5.2, and - mac/qt5.1 - - All platforms perform as expected. - - The previous fix removed the -f flag to the moc-pre-processor, - but on windows, it turned out that -f "osgQt/QGraphicsViewer" was - needed. - - This becomes an include-statement in the file generated by moc - which is needed for compiling it. I ask you consider this patch - for the trunk and the 3.2 branch. - - - Secondly, I wonder if it would be possible to apply my patch for - FindRSVG.cmake from 22nd November in the 3.2 branch. - - In short, the version of librsvg must be equal or higher to 2.35: - - PKG_CHECK_MODULES(RSVG librsvg-2.0>=2.35) - " - -2014-01-17 13:59 robert - - * include/osgGA/EventHandler, include/osgGA/GUIEventHandler: From - Jordi Torres, "We have a code using gcc with -Wextra flag and - using OSG as a third party library. It does not compile when - importing failing in EventHandler and - GUIEventHandler: - - .... - - GUIEventHandler: In copy constructor - 'osgGA::GUIEventHandler::GUIEventHandler(const - osgGA::GUIEventHandler&, const osg::CopyOp&)': - - /include/osgGA/GUIEventHandler:56:9: error: base class 'class - osg::Object' should be explicitly initialized in the copy - constructor [-Werror=extra] - - It seems the diamond problem: - - A = osg::Object - / \ - / \--> Virtual inheritance - B C - \ / - \ / - D = EventHandler - | - | - E = GUIEventHandler - - The most derived class(E) handles the instantiation of A - (osg::Object), but all have to be responsible in case they are - the ones instantiated. - - - In case A is not initialized in the copy constructor of derived - classes the default constructor will be called, which seems a - bug. - - I've added osg::Object to the initalization list of EventHandler - and GUIEventHandler copy constructors, because both classes are - instantiables. - " - -2014-01-17 13:54 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: From Jordi Torres, - "Fixed a typo in ReaderWriterCURL::ReaderWriterCURL() changed - Psuedo for Pseudo." - -2014-01-17 12:40 robert - - * src/osgVolume/VolumeScene.cpp: Fixed handling of background - colours. - -2014-01-16 17:26 robert - - * src/osgVolume/MultipassTechnique.cpp, - src/osgVolume/VolumeScene.cpp: Removed old redundent TexGen - usage. - -2014-01-16 17:17 robert - - * include/osgPresentation/deprecated/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp: Added - hull="hul-filename" property support to tag that can - used thus: - - - CardiacCT - - -2014-01-16 16:08 robert - - * include/osgVolume/MultipassTechnique, - include/osgVolume/VolumeScene, - src/osgVolume/MultipassTechnique.cpp, - src/osgVolume/VolumeScene.cpp: Added support for controlling the - extents of the volume rendering by nesting the hull underneath - VolumeTile. Currently only supported by the new - osgVolume::MultipassTechnique +Tue, 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 -2014-01-09 11:13 robert - * include/osg/GL: From Paul Martz, build fix for Windows GL3 build +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())) -2014-01-09 09:41 robert +to - * include/osgVolume/VolumeScene, src/osgVolume/VolumeScene.cpp: - Added per TileData RTT Camera in prep for rendering backface of - volume to a depth texture +Code: +if (_cameraRequiresSetUp || (_camera.valid() && _cameraAttachmentMapModifiedCount!=_camera->getAttachmentMapModifiedCount())) +" -2014-01-08 15:56 robert - * src/osgVolume/VolumeScene.cpp: Changed near/far values to use - CullVisitor::value_type and use std::numeric_limits<>. +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14873 16af8721-9629-0410-8352-f15c8da7e697 -2014-01-08 10:33 robert - * src/osgPlugins/dae/daeRMaterials.cpp: From Farshid Lashkari, - "I've attached a fix for the Collada loader that prevents a crash - with some files containing textures. I also converted an - OSG_NOTICE to OSG_INFO to be consistent with other log messages - within the loader." +Tue, 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 -2014-01-08 10:31 robert - * src/osgPlugins/dae/daeRMaterials.cpp: Removed more odd characters +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. -2014-01-08 10:28 robert - * src/osgPlugins/dae/daeRMaterials.cpp: Removed more odd characters +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14871 16af8721-9629-0410-8352-f15c8da7e697 -2014-01-08 10:24 robert - * src/osgPlugins/dae/daeRMaterials.cpp: Removed odd characters +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 -2014-01-08 10:16 robert - * include/osgManipulator/AntiSquish: Moved destructor to protected +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 -2014-01-07 19:06 robert - * include/osg/GL: Refined the GLint64 definitions +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 -2014-01-07 18:32 robert - * include/osg/Drawable, include/osg/State: Removed duplicated - instances of GLint64EXT declarations +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 -2014-01-07 16:43 robert - * CMakeModules/FindAsio.cmake, CMakeModules/FindZeroConf.cmake: - Removed execute properties via svn propdel svn:executable file +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 -2014-01-07 16:29 robert - * src/osgPlugins/dae/daeWTransforms.cpp: From Farshid Lashkari, - "I've attached a small change to the DAE writer to support - writing out unknown transform types. It will essentially treat it - as a matrix transform, using the the local to world matrix - value." +Tue, 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 -2014-01-07 16:18 robert - * include/OpenThreads/Version, src/OpenThreads/CMakeLists.txt: - Bumped SO_VERSION number of OpenThreads to avoid conflicts with - Debian SO_VERSION bump +Thu, 30 Apr 2015 14:04:51 +0000 +Checked in by : Robert Osfield +From Christian Kehl, changes for making osgAndroid working with GLES1 enabledgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14862 16af8721-9629-0410-8352-f15c8da7e697 -2014-01-07 16:15 robert - * examples/osgcomputeshaders/osgcomputeshaders.cpp: From Sebastian - Messerschmidt, "Original shader was not running on various NVidia - cards due to old syntax in shader." +Thu, 30 Apr 2015 13:59:24 +0000 +Checked in by : Robert Osfield +From Dmitriy Ogalcev, fix for crash when calling setCursor from a non GUI threadgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14861 16af8721-9629-0410-8352-f15c8da7e697 -2014-01-07 11:01 robert - * include/osg/State: Added State::getMaxTextureCoords() and - State::getMaxTextureUnits() inline methods. +Tue, 28 Apr 2015 16:12:57 +0000 +Checked in by : Robert Osfield +Replaced attempt at passing NULL Matrix with two specialized methods.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14860 16af8721-9629-0410-8352-f15c8da7e697 -2014-01-06 17:19 robert - * src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgWrappers/serializers/osg/Switch.cpp: Added support for - Switch::set/getValue() +Mon, 27 Apr 2015 19:31:13 +0000 +Checked in by : Robert Osfield +Renamed LineSegment::intersect(BoundingSphere/Box, double/float&, double/float&) methods to LineSegment::intersectAndComputeRations(..) to avoid confusion with the change in convention for the old intersect(BoundingBox&, float/double&, float/double&) method as it was inconsitent with the rest of the OSG including the intersect(BoundingSphere) method in how the ratio for the second intersection was measure from - original from the end point, but now made consistent with other places in the OSG so be based on ration from start to end of segment.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14859 16af8721-9629-0410-8352-f15c8da7e697 -2014-01-06 16:58 robert - * src/osgWrappers/serializers/osg/Geode.cpp, - src/osgWrappers/serializers/osg/Group.cpp: Added - Group::setChild(..) and Geode::setDrawable(..) MethodObjects +Thu, 23 Apr 2015 14:44:06 +0000 +Checked in by : Robert Osfield +Refactoring GlyphGeometry Boundary class to facilate better bevel overlap detectiongit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14858 16af8721-9629-0410-8352-f15c8da7e697 -2014-01-06 15:46 robert - * src/osgPlugins/lua/GeodeMethods.cpp, - src/osgPlugins/lua/GroupMethods.cpp, - src/osgPlugins/lua/MethodObject.cpp, - src/osgPlugins/lua/MethodObject.h: Removed the prototype - MethodObject classes +Thu, 23 Apr 2015 12:58:27 +0000 +Checked in by : Robert Osfield +Comment out debug notificationgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14857 16af8721-9629-0410-8352-f15c8da7e697 -2014-01-06 15:45 robert - * include/osgDB/ObjectWrapper, include/osgDB/PropertyInterface, - src/osgDB/ObjectWrapper.cpp, src/osgDB/PropertyInterface.cpp, - src/osgPlugins/lua/CMakeLists.txt, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h, - src/osgPlugins/lua/MethodObject.h, - src/osgWrappers/serializers/osg/Geode.cpp, - src/osgWrappers/serializers/osg/Group.cpp: Moved - osgDB::MethodObject from lua plugin into osgDB, added support for - running methods via the osgDB::PropertyInterface class. - - Updated lua plugin to use new osgDB::PropertyInterface to run - methods. - - Added addChild/removeChild() etc to Group.cpp, and - addDrawable/removeDrawable() etc. to Geode.cpp serializers. - -2014-01-06 10:23 robert - - * CMakeModules/FindOSG.cmake: Renamed the OSGSIM cmake variable to - OSGSIM_LIBRARY to be consistent with the rest of the variables. - -2014-01-03 14:36 robert - - * src/osgPlugins/V8/V8ScriptEngine.cpp, - src/osgPlugins/V8/V8ScriptEngine.h, - src/osgPlugins/python/PythonScriptEngine.cpp, - src/osgPlugins/python/PythonScriptEngine.h: Fixed build of V8 and - Python plugins - -2013-12-25 17:36 robert - - * examples/osgpresentation/osgpresentation.cpp, - include/osg/ScriptEngine, include/osg/ValueObject, - src/osg/ScriptEngine.cpp, src/osgPlugins/lua/CMakeLists.txt, - src/osgPlugins/lua/GeodeMethods.cpp, - src/osgPlugins/lua/GroupMethods.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h, - src/osgPlugins/lua/MethodObject.cpp, - src/osgPlugins/lua/MethodObject.h, - src/osgPlugins/lua/ReaderWriterLua.cpp: Preliminary support for - wrapping methods in the lua script plugin. - -2013-12-20 09:57 robert - - * include/osgPresentation/deprecated/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp: Added - tag to .p3d to allow one to provide multiple ways to - render children within a layer. - -2013-12-19 17:13 robert - - * src/osgQt/CMakeLists.txt: From Kristofer Tingdahl, "the syntax of - the moc executable has changed between 5.1.1 and 5.2.0 versions - of qt (see below). The difference is that the argument has - become mandatory after the -f option. - - Hence, moc will complain when osg throws in a -f without anything - after it. Hence I propose removing the -f on Qt5 builds. I have - tested building without -f on both qt520 and qt511, and that - works well. - - The attached src/osgQt/CMakeLists.txt that can be patched into - 3.2 safely. For the trunk, I would consider dropping the check on - the version, and simply remove the option on qt5. I have tested - that on qt5.1.1, and that worked fine. Question is however if it - works on qt5.0. Probably it does, so the question is simplicity - of CMakeList.txt vs safety." - -2013-12-19 15:10 robert - - * CMakeLists.txt: From Sylvain Marie, When compiling OSG for the - iOS simulator, providing both -miphoneos-version-min and - -mios-simulator-version-min doesn’t please clang (tested on OS X - 10.9.0 with Xcode 5.0.1). - Here is a small change (against commit - da597ab16945c572a2ad2f4f26fcef38ed21b074) in the CMakeLists.txt - to avoid this situation. - -2013-12-19 13:53 robert - - * src/osgPlugins/lua/LuaScriptEngine.cpp: From Michal Durkovic, - "I’m building current trunk on Mac OS X 10.9 and have encountered - this error during linking of osgdb_lua plugin: - - - - Undefined symbols for architecture x86_64: - - "lua::LuaScriptEngine::pushValue(osg::Quat const&) const", - referenced from: - - PushStackValueVisitor::apply(osg::Quat const&) in - LuaScriptEngine.o - - "lua::LuaScriptEngine::pushValue(osg::Plane const&) const", - referenced from: - - PushStackValueVisitor::apply(osg::Plane const&) in - LuaScriptEngine.o - - ld: symbol(s) not found for architecture x86_64 - - clang: error: linker command failed with exit code 1 (use -v to - see invocation) - - - - Looks like LuaScriptEngine was missing implementation of those 2 - member functions. Fixed src/osgPlugins/lua/LuaScriptEngine.cpp - file in attachment. - - " - -2013-12-19 13:49 robert - - * applications/present3D/deprecated/present3D.cpp, - include/osgPresentation/deprecated/SlideEventHandler, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/deprecated/PickEventHandler.cpp, - src/osgPresentation/deprecated/SlideEventHandler.cpp: From - Stephan Hunber, "attached you’ll find some changes to osg/p3d: - - * a new command-line-option to present3d and a new option to the - p3d-plugin to suppress any found tags - * a new command-line-option to present3d to forward mouse-events - via osgGA::Device (defaults to off) so we can test the - interface-files with present3d better - * I added a new attribute forward_to_devices for click_to_event - to forward the event to all attached devices instead of handling - the event locally. This will fix the annoyance with the new - interface-files when toggling polygon-mode or switching light - on/off. - - Here’s an example: - - 0x72 - " - -2013-12-19 13:44 robert - - * src/osgDB/CMakeLists.txt, src/osgDB/FileUtils.cpp, - src/osgViewer/DarwinUtils.h, src/osgViewer/DarwinUtils.mm: From - Stephan Hunber, "I found some time and ported osgDB::FileUtils - and DarwinUtils across new apis to fix the warnings about - deprecated api-usage. - - * osgDB::FileUtils uses now the Cocoa-API to determine the paths - of the application-support-folder - * DarwinUtils uses now modern functions of the quartz-api to get - and set screen-resolutions. Removed some of the osg-deprecated - stuff. - " - -2013-12-19 10:02 robert - - * include/osgPresentation/deprecated/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp: - Implemented support for calling scripts from with Present3D. - -2013-12-17 12:18 robert - - * include/osgPresentation/deprecated/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp: Added - support for new osgVolume::MultiPassTechnique to Present3D. To - use add property renderer="MultiPass": - - MyVolumeData - -2013-12-17 10:52 robert - - * src/osgVolume/MultipassTechnique.cpp: Added experimental image 3d - downsample function. - -2013-12-16 11:28 robert - - * include/osg/Texture, src/osg/Texture.cpp: Removed the unused - Texture::Extensions::numTextureUnits() - -2013-12-13 12:38 robert - - * examples/osgvolume/osgvolume.cpp, - include/osgVolume/MultipassTechnique, src/osg/Program.cpp, - src/osgVolume/MultipassTechnique.cpp, src/osgVolume/Property.cpp: - Implemented ability to switch between different shaders with new - MultipassTechnique - -2013-12-12 09:53 robert - - * examples/osgvolume/osgvolume.cpp, include/osgVolume/Property, - include/osgVolume/RayTracedTechnique, - include/osgVolume/VolumeTechnique, - src/osgVolume/MultipassTechnique.cpp, src/osgVolume/Property.cpp, - src/osgVolume/RayTracedTechnique.cpp, - src/osgVolume/VolumeTechnique.cpp: Added SampleRatioWhenMoving - property and support to new osgVolume::MultipassTechnique. - -2013-12-12 09:51 robert - - * src/osgViewer/Renderer.cpp: Applied unquie - CullVisitor::Identifier rather than reusing the cloned one. - -2013-12-11 17:20 robert - - * src/osgUtil/LineSegmentIntersector.cpp: Changed epsilon to 1e-5 - to address picking problems with planaer objects - -2013-12-11 12:00 robert - - * examples/osgvolume/osgvolume.cpp, - src/osgVolume/MultipassTechnique.cpp: Added initial support for - 1D transfer functions to MultipassTechnique - -2013-12-10 13:38 robert - - * include/osgVolume/VolumeScene, src/osgVolume/VolumeScene.cpp: - Added support for handling viewports with offset origins, and - with it split stereo. - -2013-12-10 10:43 robert - - * examples/osgvolume/osgvolume.cpp, include/osgVolume/Property, - src/osgVolume/MultipassTechnique.cpp, src/osgVolume/Property.cpp: - Introduced SampleRatioValueProperty for more intuitive control of - how many samples to take when volume rendering - -2013-12-09 10:39 robert - - * src/osgVolume/MultipassTechnique.cpp, - src/osgVolume/VolumeScene.cpp: Improvements to new - MultipassTechnique - -2013-12-06 19:31 robert - - * examples/osgvolume/osgvolume.cpp, include/osgUtil/CullVisitor, - include/osgVolume/Locator, include/osgVolume/VolumeScene, - src/osgVolume/Locator.cpp, src/osgVolume/MultipassTechnique.cpp, - src/osgVolume/RayTracedTechnique.cpp, - src/osgVolume/VolumeScene.cpp: Further work on new - MultipassTechnique/VolumeScene. - -2013-12-06 09:35 robert - - * src/osgPlugins/freetype/FreeTypeFont.cpp: From Mike Krus, compile - fix to enable compiling across a wider set of versions. - -2013-11-26 19:03 robert - - * include/osgVolume/VolumeScene, - src/osgVolume/MultipassTechnique.cpp, - src/osgVolume/VolumeScene.cpp: Added support for using shaders to - render the RTT textures with depth - -2013-11-26 10:38 robert - - * include/osgDB/ReadFile, src/osgVolume/RayTracedTechnique.cpp: - Replaced readShaderFile() usage to readRefShaderFile() - -2013-11-25 17:36 robert - - * examples/osgvolume/osgvolume.cpp, include/osgVolume/VolumeScene, - src/osgVolume/VolumeScene.cpp: Added initial render to texture - functionality into osgVolume::VolumeScene - -2013-11-22 10:27 robert - - * src/osg/glu/libutil/mipmap.cpp, - src/osgGA/MultiTouchTrackballManipulator.cpp, - src/osgShadow/DebugShadowMap.cpp, - src/osgViewer/ViewerEventHandlers.cpp: Warning fixes - -2013-11-22 09:48 robert - - * CMakeModules/FindRSVG.cmake, include/osg/ValueObject: From - Kristofer Tingdahl, Build fix for svg plugin that makes sure the - version of librsvg is at sufficient, and fixed a missing virtual - destructor warning. - -2013-11-22 09:38 robert - - * include/osg/ScriptEngine, include/osgPresentation/Cursor, - include/osgPresentation/deprecated/Timeout, - include/osgShadow/ShadowSettings, include/osgViewer/Keystone, - src/osg/glu/libutil/error.cpp, src/osgPresentation/Group.cpp, - src/osgViewer/config/WoWVxDisplay.cpp: Removed trailing spaces, - added missing return to last lines - -2013-11-21 18:17 robert - - * examples/osgvolume/osgvolume.cpp, - include/osgVolume/MultipassTechnique, - include/osgVolume/VolumeScene, src/osgVolume/CMakeLists.txt, - src/osgVolume/MultipassTechnique.cpp, - src/osgVolume/VolumeScene.cpp: Added new osgVolume::VolumeScene - and osgVolume::MultipassTechnique class shells that will be - filled out to provide multi-pass volume rendering that handles - mixing of - 3D meshes with volume rendering and segmentation of volumes via a - user defined hull mesh. - -2013-11-21 14:21 robert - - * include/osgGA/GUIEventHandler, src/osgGA/GUIEventHandler.cpp: - From Stephan Huber, "CLang / LLVM on OS X seems to have a problem - compiling the osgGA-serializer. (It was reported before on the - list, but the error is hard to track as it shows up only - sometimes) - - I fixed the compile-error with a dedicated destructor of - osgGA::GUIEventHandler" - -2013-11-21 14:08 robert - - * src/osgDB/InputStream.cpp, src/osgPlugins/ive/Image.cpp: From - Farshid Lashkari, " recently encountered an issue attempting to - load an IVE file generated by an older version of OSG. The file - contained dxt1 compressed image data with mipmaps. The loaded - model would cause crashes when passing the mipmap data to - glCompressedTexImage2D. It seems that the size of the data array - within the IVE file did not match the computed size from - Image::getTotalSizeInBytesIncludingMipmaps(). This essentially - made the mipmap offsets invalid within the Image object. - - I'm not sure if the IVE was simply generated incorrectly, or if - the Image::getTotalSizeInBytesIncludingMipmaps() was modified - since the file was generated. Either way, I added a simple check - in the IVE loader so that it clears the mipmap offsets if the - actual data size does not match the computed data size. This - seems like a safe fallback since the mipmap data can be - automatically generated, and it fixes the problem in my case. - - Also, while looking into this issue, I noticed that the - osgDB::InputStream class applies the serialized image allocation - mode. However, since the serializer is allocating the image data - itself, it seems like it should force the allocation mode to - USE_NEW_DELETE. - " - -2013-11-21 13:59 robert - - * src/osgDB/InputStream.cpp, src/osgPlugins/ive/Image.cpp: From - Farshid Lashkari, "I recently encountered an issue attempting to - load an IVE file generated by an older version of OSG. The file - contained dxt1 compressed image data with mipmaps. The loaded - model would cause crashes when passing the mipmap data to - glCompressedTexImage2D. It seems that the size of the data array - within the IVE file did not match the computed size from - Image::getTotalSizeInBytesIncludingMipmaps(). This essentially - made the mipmap offsets invalid within the Image object. - - I'm not sure if the IVE was simply generated incorrectly, or if - the Image::getTotalSizeInBytesIncludingMipmaps() was modified - since the file was generated. Either way, I added a simple check - in the IVE loader so that it clears the mipmap offsets if the - actual data size does not match the computed data size. This - seems like a safe fallback since the mipmap data can be - automatically generated, and it fixes the problem in my case. - - Also, while looking into this issue, I noticed that the - osgDB::InputStream class applies the serialized image allocation - mode. However, since the serializer is allocating the image data - itself, it seems like it should force the allocation mode to - USE_NEW_DELETE. - " - -2013-11-21 11:02 robert - - * src/osgText/Glyph.cpp: Converted std::max to osg::maximum to fix - VS2013 build error - -2013-11-21 10:31 robert - - * include/osg/Geometry, src/osg/Geometry.cpp: Added - Geometry::drawVertexArraysomplemetation(..) and - drawPrimitivesImplemenation(..) methods that are called from - drawImplementation(..). These new vertex methods - allow subclasses from osg::Geometry to specialize the vertex - array setup or how the primitives are dispatched to OpenGL. - -2013-11-18 14:21 robert - - * CMakeModules/CheckAtomicOps.cmake, - examples/osgviewerIPhone/iphoneViewerAppDelegate.h, - src/osgViewer/GraphicsWindowIOS.mm: From Stephan Huber, "minor - ios-fixes/-enhancements - - * force _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC for IOS device + - simulator as the test does not pick the right implementation - * fixed a small compile-bug for iphone-example - * added a check to prevent multiple realization of a - GraphicsWindowIOS-object - " - -2013-11-18 13:31 robert - - * include/osg/Image: From Stephan Huber, compile fix for OpenGL ES - on iOS. - -2013-11-18 13:25 robert - - * examples/osgmultitouch/osgmultitouch.cpp, - examples/osgoscdevice/osgoscdevice.cpp, - include/osgGA/GUIEventAdapter, - include/osgGA/MultiTouchTrackballManipulator, - src/osgGA/MultiTouchTrackballManipulator.cpp, - src/osgPlugins/osc/OscReceivingDevice.cpp, - src/osgPlugins/osc/OscReceivingDevice.hpp, - src/osgPlugins/osc/OscSendingDevice.cpp, - src/osgPlugins/osc/OscSendingDevice.hpp, - src/osgPlugins/osc/ReaderWriterOscDevice.cpp, - src/osgViewer/GraphicsWindowCocoa.mm: From Stephan Huber, * - GUIEventAdapter: add support for getting normalized touch points - * MultiTouchTrackball: some code cleanup and support for - normalized touch-points - * oscdevice: receiving and sending multi-touch-events via the - Cursor2D-profile from TUIO - * added some documentation - -2013-11-18 12:46 robert - - * examples/osgtransferfunction/CMakeLists.txt, - examples/osgtransferfunction/TransferFunctionWidget.cpp, - examples/osgtransferfunction/TransferFunctionWidget.h, - examples/osgtransferfunction/Widget.cpp, - examples/osgtransferfunction/Widget.h, - examples/osgtransferfunction/osgtransferfunction.cpp: Added - panning and zooming functionality to transfer function UI - prototype code. - -2013-11-18 12:45 robert - - * include/osg/BoundingBox: Added BoundingBox::contains(const - vec_type& v, value_type epsilon) method with new epsilon - parameter to make it easier to test for containment in the - presence of numerical errors - -2013-11-15 16:15 robert - - * include/osgGA/CameraManipulator, include/osgGA/Event, - include/osgGA/GUIEventAdapter, - include/osgGA/KeySwitchMatrixManipulator, src/osgGA/Event.cpp, - src/osgGA/GUIEventAdapter.cpp, - src/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgGA/StandardManipulator.cpp: Moved Handled propety from - GUIEventAdapter to Event base class. - - Added CameraManipulator::finishAnimation() method to allow - application code to stop any animation/throw of manipulators. - -2013-11-12 14:21 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Restored the - rescaleToZeroToOneRange() to address rendering issues. - -2013-11-11 10:55 robert - - * src/osgPresentation/deprecated/SlideShowConstructor.cpp: Removed - unused variables +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 -2013-11-08 12:28 robert - * examples/osgoscdevice/osgoscdevice.cpp, - src/osgPlugins/RestHttpDevice/RestHttpDevice.cpp, - src/osgPlugins/ZeroConfDevice/ReaderWriterZeroConfDevice.cpp, - src/osgPlugins/osc/OscReceivingDevice.cpp, - src/osgPlugins/osc/OscReceivingDevice.hpp, - src/osgPlugins/osc/OscSendingDevice.cpp, - src/osgPlugins/osc/OscSendingDevice.hpp: From Stepan Huber, - "attached are my changes for the osc, zeroconf and - resthttp-plugin to use the new event-class. I refactored the - osgoscdevice-example so that it’s working again. " - -2013-11-08 12:26 robert - - * examples/osgtransferfunction/osgtransferfunction.cpp: Added - support for assinging and display transfer functions - -2013-11-08 12:25 robert - - * src/osgUtil/LineSegmentIntersector.cpp: Quietened down debug - messages - -2013-11-07 12:37 robert - - * src/osgViewer/Viewer.cpp: Changed the LineSegmentIntersector to - RayIntersector to provide more reliable intersections with flat - meshes. - -2013-11-07 12:35 robert - - * include/osgUtil/IntersectionVisitor, - src/osgUtil/LineSegmentIntersector.cpp, - src/osgUtil/RayIntersector.cpp: Added - osgUtil::Intersector::PrecisionHint member and set it's default - to USE_DOUBLE_COMPUTATIONS, and implemented support for use - double or float maths internally in LineSegmentIntersector and - RayIntersector classes - -2013-11-06 09:50 robert - - * examples/osgtransferfunction/osgtransferfunction.cpp: Re-enabled - the disable of the transfer function - -2013-11-06 09:49 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: Fixed handling of - web cams - -2013-11-06 09:23 robert +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 - * examples/osgvolume/osgvolume.cpp, include/osg/ImageUtils, - include/osg/io_utils, src/osg/ImageUtils.cpp, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgVolume/Layer.cpp: Introduced a cast(T) method into the - ImageUtils template functor to allow code reading images to - handle casting from source data to a form that a user can use - more conviently -2013-11-06 09:20 robert +Tue, 21 Apr 2015 17:29:15 +0000 +Checked in by : Robert Osfield +From Chris Denham, "I found a couple of memory leaks in 3DS reader plugin and I have attached corrected files. I have attached an example 3DS file I used to test the leaks/fixes using osgviewer for trunk at rev [14853] and the tagged version 3.2.1.The first leak is in the lib3ds module (yeah, I know that probably should be corrected at http://code.google.com/p/lib3ds/ but I'm assuming that as no commits have happened there since 2011 that it may be better to fix the copy we have in the OSG of that project) The leak is caused by lib3d's use of realloc(ptr, 0) to free up memory allocations, but realloc, when ptr==NULL returns malloc(0) rather than NULL and thus leaks a zero byte allocation. The solution here was to adjust the 'lib3ds_util_reserve_array' function so that it realloc is not used to release a NULL pointer. - * src/osgPlugins/ffmpeg/FFmpegDecoder.cpp: Restructed the call to - avformat_open_input to provide more information. +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." -2013-11-05 15:23 robert - * src/osg/Texture.cpp: Fixed typo -2013-11-01 14:40 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14854 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeLists.txt, CMakeModules/OsgMacroUtils.cmake: From Stephan - Huber, "Build Problem with osgGA at MacOS with Xcode - 5"..."attached you'll find a possible solution for the issue. - This will add a new option to cmake called - OSG_CXX_LANGUAGE_STANDARD which defaults to C++11. If you set it - to C++98 it will setup the project accordingly." -2013-10-28 17:46 robert +Mon, 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 - * examples/CMakeLists.txt, examples/osgtransferfunction, - examples/osgtransferfunction/CMakeLists.txt, - examples/osgtransferfunction/osgtransferfunction.cpp: Added - initial shell of new osgtransferfunction example that will be - tested bed for upcomming transfer function editing UI. -2013-10-28 12:03 robert +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 - * include/osg/Image, include/osg/Texture, src/osg/Image.cpp, - src/osg/Texture.cpp, src/osgDB/ObjectWrapper.cpp: From Likasz - Izebski, "added support for etc2/eac compression" -2013-10-25 15:47 robert +Mon, 20 Apr 2015 10:19:04 +0000 +Checked in by : Robert Osfield +Build fixgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14849 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgViewer/Keystone.cpp: Added explict setting of the - PolygonMode to over the distion mesh being toggled to wireframe. -2013-10-25 14:54 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 - * applications/present3D/deprecated/Cluster.cpp, - applications/present3D/deprecated/PointsEventHandler.cpp, - applications/present3D/deprecated/PointsEventHandler.h, - applications/present3D/deprecated/ShowEventHandler.cpp, - applications/present3D/deprecated/ShowEventHandler.h, - examples/osganimationtimeline/osganimationtimeline.cpp, - examples/osgcluster/osgcluster.cpp, - include/osgGA/CameraManipulator, include/osgGA/Device, - include/osgGA/Event, include/osgGA/EventHandler, - include/osgGA/EventQueue, include/osgGA/EventVisitor, - include/osgGA/GUIEventAdapter, include/osgGA/GUIEventHandler, - include/osgPresentation/deprecated/KeyEventHandler, - include/osgPresentation/deprecated/PickEventHandler, - include/osgPresentation/deprecated/SlideEventHandler, - include/osgViewer/View, src/osgDB/PropertyInterface.cpp, - src/osgGA/CMakeLists.txt, src/osgGA/Device.cpp, - src/osgGA/Event.cpp, src/osgGA/EventHandler.cpp, - src/osgGA/EventQueue.cpp, src/osgGA/EventVisitor.cpp, - src/osgGA/GUIEventAdapter.cpp, src/osgGA/GUIEventHandler.cpp, - src/osgManipulator/Dragger.cpp, src/osgPresentation/Cursor.cpp, - src/osgPresentation/deprecated/KeyEventHandler.cpp, - src/osgPresentation/deprecated/PickEventHandler.cpp, - src/osgPresentation/deprecated/SlideEventHandler.cpp, - src/osgPresentation/deprecated/Timeout.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: Introduce new osgGA::Event and - osgGA::EventHandler base classes that the old GUIEventAdapter and - GUIEventHandler now subclass from. - - The new osgGA::Event is written to support more generic events - than the original GUIEventAdapter which are written for keyboard - and mouse events. -2013-10-25 14:46 robert +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 - * CMakeLists.txt: Remoed -fpermissive -2013-10-25 09: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 - * src/osgWrappers/serializers/osg/Geometry.cpp: Fixed warning - -2013-10-24 20:22 robert - - * examples/osghangglide/terrain.cpp: Fixed warning - -2013-10-24 19:56 robert - - * src/osgPlugins/pdf/ReaderWriterPDF.cpp: Removed depreated glib - call - -2013-10-24 19:32 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Fixed FileInfo self - intialization bug - -2013-10-24 17:43 robert - - * src/osgManipulator/ScaleAxisDragger.cpp, - src/osgManipulator/TrackballDragger.cpp, - src/osgManipulator/TranslateAxisDragger.cpp: Fixed build problems - with the OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION off - -2013-10-24 12:15 robert - - * applications/present3D/deprecated/present3D.cpp: From Stephan - Huber, "attached you’ll find a small enhancement for present3d. - Now you can get advanced help via —help-all etc (similar to - osgviewer)" - -2013-10-24 10:10 robert - - * src/osgViewer/DarwinUtils.h, src/osgViewer/DarwinUtils.mm, - src/osgViewer/GraphicsWindowCocoa.mm: From Stephan Huber, add - support for controlling the OSXMenubarBehavior set by - DisplaySettings. - -2013-10-24 09:06 robert - * src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h: Cleaned up - addChild/getChild/setChild/getNumChildren methods and added - readNodeFile, readImageFile and readObjectFile functions +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 -2013-10-23 16:17 robert - * src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/ReaderWriterLua.cpp: Added support for - Group::addChild/setChild/getChild/getNumChildren. +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 -2013-10-22 19:12 robert - * include/osg/DisplaySettings, include/osg/GraphicsContext, - src/osg/DisplaySettings.cpp, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/Viewer.cpp: Merged changes to DisplaySettings from - Stephan Huber in prep for controlling the menu hiding behaviour - under OSX. - - Added new WindowSystemInterface::setDisplaySettings() method to - provide a mechanism for passing settings onto the - WindowSystemInterface so it can then set up the system - appropriately. - - Added assignment of the DisplaySettings to the - WindowSystemInterface in Viewer/ComppsiteViewer::realize(). - -2013-10-22 18:58 robert - - * src/osg/Texture.cpp: Preliminary remapping of internalFormat for - GL3 core profile - -2013-10-22 16:28 robert - - * src/osgPlugins/svg/ReaderWriterSVG.cpp: Fixed warnings - -2013-10-22 11:32 robert - - * src/osgPlugins/osg/ReaderWriterOSG2.cpp: From Colin McDonald, - "The osgt/osgb file formats output a scenegraph node with the - type - set to "SCENE" in the file header. But if the file is stored and - then extracted again from an osga archive this header info is - lost, - and the resulting file is just an "OBJECT". Possibly other plugin - operations would have the same effect. The osgt/osgb plugin won't - then return the scenegraph contents. - - I have updated the osgt/osgb plugin to return a node from an - "OBJECT" - file." +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 -2013-10-22 11:26 robert - * src/osgPlugins/osga/OSGA_Archive.cpp: From Colin McDonald, "The - osgb file reader uses seek to position within the file. - But the nested stream implementation for osga archive files - doesn't - support seeking. So osgb files can't currently be used in an osga - archive e.g. if osgdem is used to output a osgb format database - it - can't be packaged in an archive file, in the same manner that ive - files could. - - I've added seek support to the osga nested stream - implementation." +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 -2013-10-22 11:18 robert - * src/osg/State.cpp: Fixed handling of osg::Program so that it's - not overriden by shader composition when enabled +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 -2013-10-21 16:35 robert - * include/osg/ShaderComposer, include/osg/State, - src/osg/GraphicsContext.cpp, src/osg/ShaderComposer.cpp, - src/osg/State.cpp: Added State::releaseGLObjects() and - ShaderComposer::releaseGLObjects() to avoid problems with cleanup - of graphics context - -2013-10-21 09:54 robert +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 - * src/osgPlugins/imageio/ReaderWriterImageIO.cpp, - src/osgPlugins/vtf/ReaderWriterVTF.cpp, - src/osgPlugins/x/directx.cpp: Build fixes for clang - -2013-10-18 09:57 robert - - * src/osgPlugins/dae/daeReader.cpp: From Farshid Lashkari, - "previously discussed change to the dae loader which applies the - node ID as a "dae_node_id" user value." - -2013-10-18 08:37 robert - - * include/osg/Node: From Vladimir Chebeav, fix for removal of - nested callbacks - -2013-10-18 07:55 robert - - * src/osgPlugins/fbx/fbxRLight.cpp: From Konstantin Matveyev, - "Multiple light fix in FBX-importer" - -2013-10-18 07:52 robert - - * src/osgWrappers/serializers/osg/LibraryWrapper.cpp: From Colin - McDonald, "Some missing updates to the serializer static build - support." - -2013-10-18 07:31 robert - - * examples/osgmanipulator/osgmanipulator.cpp, - include/osgManipulator/ScaleAxisDragger, - include/osgManipulator/TrackballDragger, - include/osgManipulator/TranslateAxisDragger, - src/osgManipulator/ScaleAxisDragger.cpp, - src/osgManipulator/TrackballDragger.cpp, - src/osgManipulator/TranslateAxisDragger.cpp, - src/osgWrappers/serializers/osgManipulator/ScaleAxisDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TrackballDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TranslateAxisDragger.cpp: - From Andreas Henne, "in my application I use the - TrackballDragger, the ScaleAxisDragger and the - TranslateAxisDragger. Unfortunately these draggers are very thin - and they do not provide methods to change their visual - appearance. Another problem that I noticed is that lighting on - the cones and boxes of the TranslateAxisDragger and - ScaleAxisDragger is incorrect when the draggers are scaled due to - not normalized normals. This small patch adresses these problems, - providing methods to make the draggers thicker. I have attached a - zip archive containing the corresponding files and also a - modified osgManipulator example that makes use of the - modifications. I don't want to retain any copyright." - -2013-10-17 18:29 robert - - * src/osg/Program.cpp: Fix for error in getting the uniform block - max name length, fix suggested by Christopher Fennell. - -2013-10-17 14:02 robert - - * examples/osgviewerCocoa/CMakeLists.txt, - examples/osgviewerCocoa/main.m, examples/osgviewerCocoa/main.mm: - From Stephan Huber, build fix - -2013-10-10 20:43 robert - - * include/osgDB/Serializer, src/osgDB/PropertyInterface.cpp: Added - set/get to the ImageSerializer and removed some redudent comments - -2013-10-10 20:42 robert - - * src/osgAnimation/RigTransformHardware.cpp: From Pjotr Svetachov, - "With the new osg::Geometry the binding for arrays now default to - undefined. This breaks previously working code in - osgAnimation::RigTransformHardware where the arrays got an - undefined bounding and because of this the bone indices and - weights were not loaded by the shader. Here is a little patch to - fix this." - -2013-10-10 14:45 robert - - * include/osg/AudioStream, include/osg/CollectOccludersVisitor: - From Laurens Voerman, compile fix for VisualStudio - -2013-10-10 14:41 robert - - * CMakeModules/FindLua52.cmake: Laurens Voerman, "my cmake - (2.8.10.2 generating for Visual Studio 11 Win64) doesn't like - include(${CMAKE_MODULE_PATH}/FindPackageHandleStandardArgs.cmake) - in CMakeModules/FindLua52.cmake - changing to a more common - include(FindPackageHandleStandardArgs) - solves my problem." - -2013-10-10 09:28 robert - - * include/osgDB/Serializer, src/osgDB/PropertyInterface.cpp: Added - get/set method to Serializer to allow pointer passing without - going through InputStream/OutputStream. - -2013-10-09 15:32 robert - - * include/osgDB/PropertyInterface, src/osgDB/PropertyInterface.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h, - src/osgPlugins/lua/ReaderWriterLua.cpp: Implemented preliminary - readNode/readImage support in the lua plugin allow a lua script - to create a scene graph as return it. - -2013-10-07 10:05 robert - - * CMakeLists.txt, CMakeModules/FindAVFoundation.cmake, - CMakeModules/OsgMacroUtils.cmake, - examples/osgviewerIPhone/CMakeLists.txt, - examples/osgviewerIPhone/iphoneViewerAppDelegate.h, - examples/osgviewerIPhone/iphoneViewerAppDelegate.mm, - examples/osgviewerIPhone/osgPlugins.h, - src/osgPlugins/RestHttpDevice/RestHttpDevice.cpp, - src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp, - src/osgPlugins/ZeroConfDevice/AutoDiscoveryBonjourImpl.mm, - src/osgPlugins/avfoundation/CMakeLists.txt, - src/osgPlugins/osc/OscSendingDevice.cpp, - src/osgViewer/GraphicsWindowCocoa.mm, - src/osgViewer/GraphicsWindowIOS.mm: From Stephan Huber, "attached - you’ll find a bunch of fixes + enhancements for iOS and OS X - based on current trunk. I incorporated + tested the submission - from Colin Cochran, so his submission is not needed anymore. - - * fixed a bug with multi-touch and touch-id-generation on iOS and - OS X. (will fix a bug reported by Colin Cochran, without ditching - the existing logic) - * removed unnecessary warning-flagss when generating - xcode-projects via cmake, will enable the usage of - OSG_AGGRESSIVE_WARNING_FLAGS - * added support for 10.9 (OS X) - * new cmake-variable: IPHONE_VERSION_MIN, this will set the - deployment-target (previously hard-coded) If you set the - IPHONE_VERSION_MIN to something like 7.0 osg gets compiled also - for 64bit (amd64) - * cmake defaults now to the clang compiler if IPHONE_VERSION_MIN - > 4.2 - * cmake now sets some xcode-settings so the compiler uses the - c++98-standard (clang defaults to c++11, w/o this I got a lot of - linking errors) - * removed include-dir for avfoundation-plugin as not needed on - OSX/IOS. - * enhanced the ios-example, will now show multitouch-information - on a hud (similar to the osgmultitouch-example), and more - importantly, will compile + link out of the box - * small enhancements for the osc-device-plugin (send only one msg - for MOVE/DRAG, even if multiple msgs/event is enabled) - * better memory-handling for the zeroconf-plugin - * fixed a possible bug in the rest-http-plugin when receiving - mouse-events. - * incorporated a fix from Colin Cochran "forwarded touch events - are not transformed into the GL UIView“ - " - -2013-10-07 09:33 robert - - * CMakeModules/FindAVFoundation.cmake, - CMakeModules/OsgMacroUtils.cmake: Cleaned up line endings - -2013-10-04 20:42 robert - - * CMakeLists.txt, src/osgPlugins/lua/LuaScriptEngine.cpp: Added - support for automatically select Lua 5.2 is it's available, then - falling back to checking for Lua 5.1 otherwise. - -2013-10-04 19:48 robert - - * src/osgPlugins/lua/LuaScriptEngine.cpp: Moved code across to use - lua_userdata to manage pointer to osg::Object that is - ref()/unref() - -2013-10-04 16:30 robert - - * CMakeModules/FindLua52.cmake, - examples/osgpresentation/osgpresentation.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h: Added support for Lua 5.2 - and osg::Object creation from within Lua scripts. - -2013-10-04 16:29 robert - - * include/osgDB/PropertyInterface, src/osgDB/PropertyInterface.cpp: - Added createObject() interface - -2013-10-04 16:28 robert - - * CMakeLists.txt, include/osg/Version: Updated version number after - 3.3.0 dev release - -2013-10-03 16:20 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Fixed errors in Contributors list - -2013-10-03 08:45 robert - - * include/osgUtil/IntersectionVisitor, - include/osgUtil/LineSegmentIntersector, - include/osgUtil/RayIntersector, src/osgUtil/CMakeLists.txt, - src/osgUtil/LineSegmentIntersector.cpp, - src/osgUtil/RayIntersector.cpp: From Jan Peciva, RayIntersector - implementation - -2013-10-02 13:59 robert - - * include/osgDB/ObjectWrapper, src/osgDB/InputStream.cpp, - src/osgDB/ObjectWrapper.cpp: From Colin McDonald and Robert - Osfield, "When a serializer shared library is loaded it registers - all of - the wrappers it contains. The registration creates a prototype - object for all of the wrapped classes. For some of the - higher-level - classes this can be a bit heavy. - - I noticed a problem with a model which required a single class - from - osgSim. When osgdb_serializers_osgsim.so was loaded it registered - wrappers and created prototype objects for all of the osgSim - classes, - including osgSim::ScalarBar. The constructor for that class - creates - several drawables, and loads arial.ttf using the freetype plugin. - I - don't need that, and don't even ship the font or plugin with my - application, resulting in an unexplained warning message loading - the model. - - I've modified the ObjectWrapper class to defer the prototype - object - creation until if & when actually required." - -2013-10-02 11:29 robert - - * src/osgPlugins/osc/osc/OscHostEndianness.h: From Dmitry - Marakasov, "These are FreeBSD bits for - src/osgPlugins/osc/osc/OscHostEndianness.h, - required to build newever OSG on this OS. Also corrects file name - in the error message - I was confused not to find - OSCHostEndianness.h - after I've got this error. - - Tested by successfully building OSG 3.2.0 with this patch on - FreeBSD - 9.1." - -2013-10-02 11:28 robert - - * include/osg/State: Re-ordered the public/protected sections to - keep the public section all together - -2013-10-02 11:09 robert - - * src/osgPlugins/stl/ReaderWriterSTL.cpp: From Björn Hein, "it - seems that for generating "per vertex normals" as stated in the - comment, two of them are missing. This results in wrong display - of - STL-files regarding normals. Following simple fix seems to work: - - Index: ReaderWriterSTL.cpp - =================================================================== - --- ReaderWriterSTL.cpp (Revision 13797) - +++ ReaderWriterSTL.cpp (Arbeitskopie) - @@ -108,6 +108,8 @@ - ++itr) - { - perVertexNormals->push_back(*itr); - + perVertexNormals->push_back(*itr); - + perVertexNormals->push_back(*itr); - } - - geom->setNormalArray(perVertexNormals.get(), - osg::Array::BIND_PER_VERTEX); - " - -2013-10-01 19:34 robert - - * src/osgPresentation/Cursor.cpp, src/osgPresentation/Image.cpp, - src/osgPresentation/Movie.cpp: Fixed build with no automatic - ref_ptr<> conversion - -2013-10-01 19:31 robert - - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Updated - AUTHORS files - -2013-10-01 19:00 robert - - * ChangeLog: Updated ChangeLog in prep for dev release - -2013-10-01 17:01 robert - - * include/osg/State: From Aurelien Albert, "I'm working with OSG - and a customer low-level OpenGL library. - - To make easier "lazy apply" on the customer OpenGL shaders, the - easiest way was to add an accessor to current OSG state's - UniformMap. - - I've also added accessors for modes and texture, since it could - be usefull in the same way. - - All methods are const, so I think there is no side-effects." - -2013-10-01 16:20 robert - - * src/osgAnimation/LinkVisitor.cpp, - src/osgAnimation/RigGeometry.cpp: From Björn Blissing, "I propose - making the following outputs a little bit more silent. In my mind - it would suffice with OSG_DEBUG (compared to OSG_NOTICE) for - these information messages." - -2013-10-01 09:37 robert - - * src/osgPlugins/Inventor/ConvertFromInventor.cpp: From Christopher - Baker, submitted by Alberto Luacas, "there is a bug report in the - Ubuntu tracker that points to a bug when - loading multiple VRML files in parallel. Christopher R. Baker has - detected this bug and crafted a patch. In addition, libcoin has - to be - also built with the "--enable-threadsafe" option. - - I copy here his report, extracted from - (https://bugs.launchpad.net/ubuntu/+source/openscenegraph/+bug/1211993) - and attach his fix. All credit is due to him: - - « - There are three instances of a classical method-local-static - multithreaded initialization bug in the Inventor plugin for OSG - that - trigger various memory faults when reading multiple VRML files in - parallel via osgDB::readNodeFile. These bugs are of the form: - - static std::map myHandyMap; - static bool once = true; - if(once) { ...fill myHandyMap; once = false } - ... use myHandyMap; - - To repeat: try loading multiple VRML files from multiple threads. - The - liklihood of the bug depends on many factors, but my application, - which - parallel-loads some dozens of small (<100K) VRML files on - startup, - triggers this problem 25% of the time or more. - - The attached patch (inventor-plugin-multithread.patch) rectifies - this - problem by: - - 1 - Inheriting MyHandyMap from std::map, then - 2 - Moving the map initialization into the derived constructor, - which - 3 - Is intrinsically protected from multithread issues by g++ - (and is - part of the C++ standard), unless you pass - -fno-threadsafe-statics, - which is strongly discouraged by the man page. - » - " - -2013-10-01 09:11 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Adrien Grandemange, - "On Windows 7 and 8, mouse messages are generated in addition to - touch messages, which leads to duplicate PUSH, DRAG and RELEASE - events in OSG. Besides, the mouse and touch messages referring to - the same user input are not necessarily sent at the same time, - due to gesture translation done by Windows by default, such as - double-tap => double-click and long-push => right-click. - The delay between the 2 types of messages is more noticeable on - Windows 8 and leads to serious disruptions in our application. - - Mouse messages generated by touch input are only present for - legacy support. I think they should be filtered out by OSG (real - click events originating from a physical mouse will of course - still go through). - - This is what this patch does, according to this suggestion: - http://msdn.microsoft.com/en-us/library/dd693088%28v=VS.85%29.aspx - (third issue in this page)." - -2013-10-01 09:05 robert - - * src/osg/PointSprite.cpp: From Thomas Hogarth, "Attached is a - small build fix for PointSprite when compiling under GLES2 - (r13788) - - GL_POINT_SPRITE_OES does not exist in GLES2, instead you just - draw using GL_POINTS then use gl_PointSize in a vertex shader to - set the size." - -2013-09-30 18:32 robert - - * src/osgPlugins/avfoundation/CMakeLists.txt, - src/osgPlugins/avfoundation/OSXAVFoundationCoreVideoTexture.cpp, - src/osgPlugins/avfoundation/OSXAVFoundationCoreVideoTexture.h, - src/osgPlugins/avfoundation/OSXAvFoundationCoreVideoTexture.cpp, - src/osgPlugins/avfoundation/OSXAvFoundationCoreVideoTexture.h: - From Jeffrey Kinross, "I ran into an issue with case sensitivity - on OS X and the OSXAVFoundation code. - In CMakeList.txt there is a case sensitivity issue which a fix - was posted by Robert Osfield in the users forum. - - I also had to rename the files OSXAvFoundationCoreVideoTexture.h - and OSXAvFoundationCoreVideoTexture.cpp to - OSXAVFoundationCoreVideoTexture.h and - OSXAVFoundationCoreVideoTexture.cpp - - Finally in OSXAvFoundationCoreVideoTexture.cpp the include - OSXAVFoundationVideo.H was updated to OSXAVFoundationVideo.h" - -2013-09-30 18:15 robert - - * src/osg/StateSet.cpp: From Farshid Lashkari, "I have a scene that - makes heavy use of the StateSet::compare method and my profiler - showed that a lot of time was being spent inside it. I made a - small change to the method so that it performs a quick size - comparison between the attribute/mode lists and bin mode before - iterating through all the attributes. This made a noticeable - improvement in my scene. I've attached the change." - -2013-09-30 10:28 robert - - * src/osgUtil/LineSegmentIntersector.cpp: - -2013-09-27 18:43 robert - - * src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h: Unified Vec/Plane/Quat - handling code. - -2013-09-27 13:04 robert - - * examples/osgpresentation/osgpresentation.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h: Added support for getting - Vec* and Matrix objects from Lua stack and assigning them as OSG - object properties. - -2013-09-26 17:27 robert - - * examples/osgpresentation/osgpresentation.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h: Initial cut of setting and - getting osg::Object properties within Lua scripts - -2013-09-24 15:17 robert - - * examples/osgpresentation/osgpresentation.cpp, - include/osg/ScriptEngine, src/osg/ScriptEngine.cpp, - src/osgPlugins/V8/V8ScriptEngine.cpp, - src/osgPlugins/V8/V8ScriptEngine.h, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h, - src/osgPlugins/python/PythonScriptEngine.cpp, - src/osgPlugins/python/PythonScriptEngine.h, - src/osgUtil/CullVisitor.cpp: Added support for passing parameters - in and out of scripts. - - Implemented support for osg::ValueObject in LuaScriptEngine. - -2013-09-24 15:08 robert - - * examples/osgsidebyside/osgsidebyside.cpp, - include/osg/NodeVisitor, src/osg/KdTree.cpp, - src/osg/NodeVisitor.cpp: Changed NodeVisitor so that is - subclasses from osg::Object rather than osg::Referenced to enable - it to be used with serialization and scripting - -2013-09-24 08:56 robert - - * include/osgUtil/LineSegmentIntersector: Removed redundent spaces - -2013-09-23 14:10 robert - - * examples/osgpresentation/osgpresentation.cpp: Added test for - osgGA::GUIEventAdapter - -2013-09-20 15:43 robert - - * src/osgVolume/VolumeTile.cpp: Removed unnceccesary - setNumChildrenRequiringUpdateTraversal from VolumeTile - constructor. - -2013-09-20 10:44 robert - - * examples/osgpresentation/osgpresentation.cpp, - src/osgDB/PropertyInterface.cpp: Added initial cut of white and - black lists - -2013-09-20 10:25 robert - - * include/osg/Object: Added compoundClassName() convinience method - to standardize the generation of the compoundClassName. - -2013-09-20 10:04 robert - - * examples/osgpresentation/osgpresentation.cpp, - include/osgDB/PropertyInterface, src/osgDB/PropertyInterface.cpp: - Added type maps to help with querrying supported type names - -2013-09-19 16:19 robert - - * examples/osgpresentation/CMakeLists.txt, - examples/osgpresentation/osgpresentation.cpp, - include/osgDB/ObjectWrapper, include/osgDB/PropertyInterface, - src/osgDB/CMakeLists.txt, src/osgDB/InputStream.cpp, - src/osgDB/ObjectWrapper.cpp, src/osgDB/OutputStream.cpp, - src/osgDB/PropertyInterface.cpp: Introduce - osgDB::PropetyInterface class that provided a generic interface - for get/setting properties on scene graph objects, utilizing the - osgDB serializers to do - the actual interface query and set/gets. - -2013-09-19 16:18 robert - - * include/osgPresentation/Group: Removed unneccessary return - -2013-09-11 15:44 robert - - * include/osgDB/DataTypes, include/osgDB/ObjectWrapper, - include/osgDB/Serializer, src/osgDB/InputStream.cpp, - src/osgDB/ObjectWrapper.cpp, src/osgDB/OutputStream.cpp: Added - access methods to Serializer to help with using wrappers for - other purposes such as script integration. - - Added Vec*i and Vec*ui support to serializers - -2013-09-10 15:17 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Giuseppe Donvito, - "I'm using OSG 320 and I need to flush a DDS 3D texture on disk. - I found a bug on DDS ReaderWriter that generates a false positive - on a guard for the size check on writing operation. This is due - to a wrong imageSize computation that uses - img->getImageSizeInBytes() method instead of - img->getTotalSizeInBytes(), that actually ignores the r() - dimension, contrariwise taken into account by the function - ComputeImageSizeInBytes() later. - - The line 1062 on file ReaderWriterDDS.cpp should be fixed with: - [code]unsigned int imageSize = img->getTotalSizeInBytes();[/code] - " - -2013-09-10 13:29 robert - - * include/osgUtil/SceneView: From Giuseppe Donvito, Fixed typo of - "CLEAR_GLOBAL_STATESET = 0x16," to indended - "CLEAR_GLOBAL_STATESET = "0x10". - -2013-09-10 09:23 robert - - * include/osgPresentation/Layer, - include/osgPresentation/Presentation, - include/osgPresentation/Section, include/osgPresentation/Show, - include/osgPresentation/Slide, src/osgPlugins/mdl/MDLReader.cpp, - src/osgPresentation/CMakeLists.txt, - src/osgPresentation/Layer.cpp, - src/osgPresentation/Presentation.cpp, - src/osgPresentation/Section.cpp, src/osgPresentation/Show.cpp, - src/osgPresentation/Slide.cpp, - src/osgWrappers/serializers/osgPresentation/Show.cpp: Added - osgPresentation::Show node and implementations with basic - property reporting for various internal nodes of presentation - graph - -2013-09-09 16:02 robert - - * src/osgPlugins/python/CMakeLists.txt: From Wang Rui, "The Python - header will look for its libraries using "#pragma - comment(lib,"python32_d.lib")" for MSVC. So user-specified - libraries will not really be set for the osgdb_python plugin. - This small fix may help locate the Python libraries after putting - the CMakeLists.txt into src/osgPlugins/python - - " - -2013-09-09 14:58 robert - - * src/osg/PointSprite.cpp: From Colin Cochran, OES support for - point sprites - -2013-09-09 13:33 robert - - * src/osg/FrameBufferObject.cpp, src/osg/Texture.cpp: From Colin - McDonald, "Add test for GL_EXT_framebuffer_object extension : osg - uses osg::FBOExtensions to check if Frame Buffer Objects are - available. But this just checks if the fbo functions can be - called. - It doesn't check if the OpenGL renderer supports fbos. For - indirect - rendering on linux the client side capability may be different - from - the display server, which can lead to mipmapped textures failing - to - render. I've added a fbo extension check. - " - -2013-09-09 12:44 robert - - * CMakeModules/FindAVFoundation.cmake: From Ulrich Hertlein, "Patch - for FindAVFoundation to work with OS X 10.9" - -2013-09-09 12:37 robert - - * examples/osgviewerMFC/MFC_OSG.cpp: From Wang Rui, "Some - developers report that the osgviewerMFC example is broken in 3.2, - in which depth test is not enabled by default so all models - loaded look awkward. I submit this patch to make it work again. I - haven't gone deep to check why previous example goes wrong in - newer version but I believe the problem was because the newly - created camera object missed some important global statesets - before set as the main camera." - -2013-09-09 12:33 robert - - * examples/osgmultiplemovies/CMakeLists.txt, - src/osgPlugins/osg/CMakeLists.txt: From Laurens Voerman, "two - minor fixes, both in a CMakeList.txt file, - - 1> osgmultiplemovies example does not use SDL so needs no link to - SDL - - 2> Added header files to "Plugins osg" project, so visual studio - can find the source of - OSG_WARN << "AsciiInputIterator::readProperty(): Unmatched - property " - " - -2013-09-06 09:35 robert - - * examples/osgpresentation/osgpresentation.cpp, - include/osgPresentation/Audio, include/osgPresentation/Image, - include/osgPresentation/Model, include/osgPresentation/Movie, - include/osgPresentation/Volume, src/osgPresentation/Audio.cpp, - src/osgPresentation/CMakeLists.txt, - src/osgPresentation/Image.cpp, src/osgPresentation/Movie.cpp, - src/osgPresentation/Volume.cpp: Initial cut of - Audio/Volume/Movie/Image presentation objects - -2013-09-05 10:23 robert - - * include/osgUtil/SceneView, src/osg/Uniform.cpp, - src/osgDB/OutputStream.cpp, src/osgPlugins/lws/SceneLoader.cpp: - From Colin McDonald, "Attached are some fixes to build osg using - the Solaris Studio compiler. - I've also checked the modified files still build ok with other - compilers (Linux gcc, Windows Visual Studio). - - osgDB/OutputStream.cpp and osgPlugins/lws/SceneLoader.cpp require - stdlib.h for atoi use. - - In osg/Uniform.cpp the compiler complains that base_class is - unknown - unless I add a class name qualifier. - - Not a build fix, but I spotted a typo in osgUtil/SceneView." - -2013-09-05 10:08 robert - - * src/osgWrappers/serializers/osg/PagedLOD.cpp: From Laurens - Voerman, "like the "Bug in ProxyNode serializer" Farshid Lashkari - found (svn submit 13754) the PagedLOD serializer attempts to read - begin and and brackets. - Fix is identical (don't read brackets when num_chidren is zero) - and applies both to trunk and 3.2 branch." - -2013-09-05 10:04 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegParameters.cpp: Fixed warnings - -2013-09-05 08:42 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoder.cpp: From Alberto Luaces, - "current versions of ffmpeg render «url_feof» macro as obsolete. - The fix - is very simple and it is contained in the attached file." - -2013-09-05 08:22 robert - - * src/osgPresentation/Model.cpp: Added missing Model.cpp - -2013-09-04 17:27 robert - - * examples/osgpresentation/osgpresentation.cpp: Moved the property - test from the model to presentation to test out the property - inheritance scheme - -2013-09-04 16:25 robert - - * examples/osgpresentation/osgpresentation.cpp, - include/osgPresentation/Action, include/osgPresentation/Model, - src/osgPresentation/Action.cpp, - src/osgPresentation/CMakeLists.txt: Added PrintProperties visitor - -2013-09-04 15:39 robert - * examples/osgpresentation/osgpresentation.cpp, - include/osgPresentation/Action, src/osgPresentation/Action.cpp: - Added PrintPropertiesAction to osgPresentation - -2013-09-04 10:33 robert - - * examples/osgpresentation/osgpresentation.cpp, - include/osgPresentation/Action, include/osgPresentation/Audio, - include/osgPresentation/Element, include/osgPresentation/Group, - include/osgPresentation/Image, include/osgPresentation/Layer, - include/osgPresentation/Model, include/osgPresentation/Movie, - include/osgPresentation/Presentation, - include/osgPresentation/Section, include/osgPresentation/Slide, - include/osgPresentation/Text, include/osgPresentation/Volume, - src/osgPresentation/Action.cpp, - src/osgPresentation/CMakeLists.txt, - src/osgPresentation/Element.cpp, src/osgPresentation/Group.cpp, - src/osgPresentation/Text.cpp: Added Action class NodeVisitor that - supports osgPresentation nodes. +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 -2013-09-03 15:50 robert - * examples/osgpresentation/CMakeLists.txt, - examples/osgpresentation/osgpresentation.cpp, - src/osgPresentation/Text.cpp: Added test for - osgPresentatation::Group::getSupportedProperties() +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 -2013-09-03 10:17 robert - * include/osgPresentation/Element, include/osgPresentation/Group, - include/osgPresentation/Text, src/osgPresentation/CMakeLists.txt, - src/osgPresentation/Element.cpp, src/osgPresentation/Group.cpp, - src/osgPresentation/Text.cpp: Added beginings of Text - implementation +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 -2013-09-02 10:56 robert - * src/osgWrappers/serializers/osg/ProxyNode.cpp: From Farshid - Lashkari, "The ProxyNode serializer was not correctly reading the - "Children" field. It conditionally writes the begin/end brackets, - depending on whether it has children. However, during input it - unconditionally attempts to read the begin/end brackets. I've - modified the code to only read the brackets if it has children." +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 -2013-09-02 10:56 robert - * include/osgUtil/IntersectionVisitor, - src/osgUtil/LineSegmentIntersector.cpp: Refactored the use of - epsilon in the clamping of the start/end points of the - LineSegmentIntersector to better handle numerical precision - issues. +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 -2013-09-02 09:12 robert - * src/osgAnimation/StackedTransform.cpp: Fixed double copy in - StackedTransform copy constructor +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 -2013-09-02 08:29 robert - * examples/osgpresentation/osgpresentation.cpp: Added IO test for - new osgPresentation nodes +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. -2013-09-01 17:24 robert +" - * include/osgPresentation/Audio, include/osgPresentation/Element, - include/osgPresentation/Image, include/osgPresentation/Layer, - include/osgPresentation/Model, include/osgPresentation/Movie, - include/osgPresentation/Presentation, - include/osgPresentation/Slide, include/osgPresentation/Text, - include/osgPresentation/Volume, - src/osgPresentation/CMakeLists.txt, - src/osgWrappers/serializers/osgPresentation/Audio.cpp, - src/osgWrappers/serializers/osgPresentation/Image.cpp, - src/osgWrappers/serializers/osgPresentation/Model.cpp, - src/osgWrappers/serializers/osgPresentation/Movie.cpp, - src/osgWrappers/serializers/osgPresentation/Text.cpp, - src/osgWrappers/serializers/osgPresentation/Volume.cpp: Added - Audio, Image, Movie, Model and Volume class to osgPresentation. - -2013-08-23 16:47 robert - - * applications/osgviewer/osgviewer.cpp: Fixed build - -2013-08-23 11:42 robert - - * src/osgPlugins/p3d/ReaderWriterP3D.cpp: Added color property to - FontData parsing - -2013-08-22 13:39 robert - - * src/osgVolume/Locator.cpp: Quitened down debug message - -2013-08-22 12:37 robert - - * src/osgPlugins/p3d/ReaderWriterPaths.cpp, - src/osgPresentation/deprecated/SlideEventHandler.cpp: Removed - debug messages - -2013-08-22 12:07 robert - - * src/osgPlugins/p3d/ReaderWriterP3D.cpp: Quitened down debug - message - -2013-08-22 11:18 robert - - * applications/present3D/deprecated/present3D.cpp: Quitened down - debug message - -2013-08-22 10:09 robert - - * src/osgPresentation/deprecated/SlideShowConstructor.cpp: Added - warning when model file has not be found - -2013-08-22 10:05 robert - - * src/osgPresentation/deprecated/SlideEventHandler.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp: Reduced - debug message level, and added a notify message for when an image - isn't loaded - -2013-08-22 07:49 robert - - * examples/osgpresentation/osgpresentation.cpp, - src/osgWrappers/serializers/osgPresentation/Element.cpp, - src/osgWrappers/serializers/osgPresentation/Group.cpp, - src/osgWrappers/serializers/osgPresentation/Layer.cpp, - src/osgWrappers/serializers/osgPresentation/Presentation.cpp, - src/osgWrappers/serializers/osgPresentation/Section.cpp, - src/osgWrappers/serializers/osgPresentation/Slide.cpp: Added test - for serializers and fixed serializers - -2013-08-21 19:54 robert - - * include/osgPresentation/Element, include/osgPresentation/Group, - include/osgPresentation/Layer, - include/osgPresentation/Presentation, - include/osgPresentation/Section, include/osgPresentation/Slide, - src/osgPresentation/CMakeLists.txt, - src/osgWrappers/serializers/CMakeLists.txt, - src/osgWrappers/serializers/osgPresentation, - src/osgWrappers/serializers/osgPresentation/CMakeLists.txt, - src/osgWrappers/serializers/osgPresentation/Element.cpp, - src/osgWrappers/serializers/osgPresentation/Group.cpp, - src/osgWrappers/serializers/osgPresentation/Layer.cpp, - src/osgWrappers/serializers/osgPresentation/Presentation.cpp, - src/osgWrappers/serializers/osgPresentation/Section.cpp, - src/osgWrappers/serializers/osgPresentation/Slide.cpp: Added - initial classes for present3D refactor - -2013-08-18 18:10 robert - - * applications/present3D/deprecated/ExportHTML.h, - applications/present3D/deprecated/ReadShowFile.cpp, - applications/present3D/deprecated/present3D.cpp, - include/osgPresentation/AnimationMaterial, - include/osgPresentation/CompileSlideCallback, - include/osgPresentation/KeyEventHandler, - include/osgPresentation/PickEventHandler, - include/osgPresentation/PropertyManager, - include/osgPresentation/SlideEventHandler, - include/osgPresentation/SlideShowConstructor, - include/osgPresentation/Timeout, - include/osgPresentation/deprecated, - include/osgPresentation/deprecated/AnimationMaterial, - include/osgPresentation/deprecated/CompileSlideCallback, - include/osgPresentation/deprecated/KeyEventHandler, - include/osgPresentation/deprecated/PickEventHandler, - include/osgPresentation/deprecated/PropertyManager, - include/osgPresentation/deprecated/SlideEventHandler, - include/osgPresentation/deprecated/SlideShowConstructor, - include/osgPresentation/deprecated/Timeout, - src/osgPlugins/osc/OscReceivingDevice.cpp, - src/osgPlugins/osc/ReaderWriterOscDevice.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/ReaderWriterPaths.cpp, - src/osgPresentation/AnimationMaterial.cpp, - src/osgPresentation/CMakeLists.txt, - src/osgPresentation/CompileSlideCallback.cpp, - src/osgPresentation/KeyEventHandler.cpp, - src/osgPresentation/PickEventHandler.cpp, - src/osgPresentation/PropertyManager.cpp, - src/osgPresentation/SlideEventHandler.cpp, - src/osgPresentation/SlideShowConstructor.cpp, - src/osgPresentation/Timeout.cpp, src/osgPresentation/deprecated, - src/osgPresentation/deprecated/AnimationMaterial.cpp, - src/osgPresentation/deprecated/CompileSlideCallback.cpp, - src/osgPresentation/deprecated/KeyEventHandler.cpp, - src/osgPresentation/deprecated/PickEventHandler.cpp, - src/osgPresentation/deprecated/PropertyManager.cpp, - src/osgPresentation/deprecated/SlideEventHandler.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp, - src/osgPresentation/deprecated/Timeout.cpp: Moved old - osgPresentation source files to osgPresentation/deprecated - subdirectory. - -2013-08-18 16:59 robert - - * applications/present3D/CMakeLists.txt, - applications/present3D/Cluster.cpp, - applications/present3D/Cluster.h, - applications/present3D/ExportHTML.cpp, - applications/present3D/ExportHTML.h, - applications/present3D/PointsEventHandler.cpp, - applications/present3D/PointsEventHandler.h, - applications/present3D/ReadShowFile.cpp, - applications/present3D/ReadShowFile.h, - applications/present3D/SDLIntegration.cpp, - applications/present3D/SDLIntegration.h, - applications/present3D/ShowEventHandler.cpp, - applications/present3D/ShowEventHandler.h, - applications/present3D/SpellChecker.cpp, - applications/present3D/SpellChecker.h, - applications/present3D/deprecated, - applications/present3D/deprecated/Cluster.cpp, - applications/present3D/deprecated/Cluster.h, - applications/present3D/deprecated/ExportHTML.cpp, - applications/present3D/deprecated/ExportHTML.h, - applications/present3D/deprecated/PointsEventHandler.cpp, - applications/present3D/deprecated/PointsEventHandler.h, - applications/present3D/deprecated/ReadShowFile.cpp, - applications/present3D/deprecated/ReadShowFile.h, - applications/present3D/deprecated/SDLIntegration.cpp, - applications/present3D/deprecated/SDLIntegration.h, - applications/present3D/deprecated/ShowEventHandler.cpp, - applications/present3D/deprecated/ShowEventHandler.h, - applications/present3D/deprecated/SpellChecker.cpp, - applications/present3D/deprecated/SpellChecker.h, - applications/present3D/deprecated/present3D.cpp, - applications/present3D/present3D.cpp: Moved old present3D sources - into local deprecated directory to clean up the main present3D - source directory for future refactored present3D - -2013-08-09 16:51 robert - - * CMakeLists.txt, examples/osgpresentation/CMakeLists.txt, - examples/osgpresentation/osgpresentation.cpp, - include/osg/CameraNode, include/osg/ScriptEngine, - src/osg/CMakeLists.txt, src/osg/ScriptEngine.cpp, - src/osgDB/Registry.cpp, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/V8, src/osgPlugins/V8/CMakeLists.txt, - src/osgPlugins/V8/ReaderWriterV8.cpp, - src/osgPlugins/V8/V8ScriptEngine.cpp, - src/osgPlugins/V8/V8ScriptEngine.h, src/osgPlugins/lua, - src/osgPlugins/lua/CMakeLists.txt, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h, - src/osgPlugins/lua/ReaderWriterLua.cpp, src/osgPlugins/python, - src/osgPlugins/python/CMakeLists.txt, - src/osgPlugins/python/PythonScriptEngine.cpp, - src/osgPlugins/python/PythonScriptEngine.h, - src/osgPlugins/python/ReaderWriterPython.cpp: Added initial cut - of basic scripting support, introducing an osg::Script object to - wrap up the individual scripts, osg::ScriptCallback for assigning - a Script as node callback and an osg::ScriptEngine base class - that plugins implement to provided support for specific scripting - languages. - - Provided are lua, python and V8 (for javascript) plugins that - just open up enough of a link to the respective libs to run a - script, there is no scene graph <-> script communication in - current implementation. - -2013-08-09 11:00 robert - - * src/osg/CMakeLists.txt: Removed CameraNode reference - -2013-08-09 07:46 robert - - * applications/present3D/present3D.cpp: Removed unused includes - -2013-08-09 07:38 robert - - * applications/present3D/present3D.cpp: Removed old cursor code - -2013-08-08 17:21 robert - - * src/osgPresentation/Cursor.cpp: Added translucent version of - cushion which isn't depth tested to enable one to see the cursor - even when it's behind other objects - -2013-08-08 16:49 robert - - * applications/present3D/present3D.cpp, - include/osgPresentation/Cursor, - src/osgPresentation/CMakeLists.txt, - src/osgPresentation/Cursor.cpp: Added osgPresentation::Cursor - class to wrap up 3D cursor in the scene functionality - -2013-08-07 17:08 robert - - * CMakeModules/FindV8.cmake, examples/CMakeLists.txt, - examples/osgpresentation, - examples/osgpresentation/CMakeLists.txt, - examples/osgpresentation/osgpresentation.cpp: Added - osgpresentation example as a test bed for new osgPresentation - object model. - - First cut of example test bed is to test how easy it is to build - against Lua, V8 and Python for purposes of running embedded - scripts. - -2013-08-05 12:00 robert - - * src/osg/State.cpp: From Aurelien Albert, "I've go some problem - with the method "State_Utils::replace" : if the original_phrase - is empty, it leads to an infinite loop. - - Here is a path to prevent this." - -2013-08-01 17:38 robert - - * include/osgUtil/IntersectionVisitor: Added missing initializer - for _epsilon - -2013-08-01 11:25 robert - - * src/osgUtil/DelaunayTriangulator.cpp: From Anish Thomas, added - catch for to an empty DrawElementsUInt creation. - -2013-08-01 10:38 robert - - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS file - -2013-08-01 10:28 robert - - * src/osgPlugins/shp/ESRIShapeReaderWriter.cpp, - src/osgPlugins/shp/XBaseParser.cpp, - src/osgPlugins/shp/XBaseParser.h: From Ulrich Hertlein, "Based on - the exchange on osg-users I went ahead and reworked - shp/XBaseParser to avoid - weird behaviour (closing stdin) and leaking file descriptors, as - well as some const-ness." -2013-08-01 10:04 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14831 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/OpenFlight/PrimaryRecords.cpp: From Sebastian - Messerschmidt, "Seems like your re-factoring didn't really - produces the correct results. - You can check with the tester2.flt provided earlier and check - with the result image. - I double checked this with OpenFlight creator, and it seems the - yaw is broken. - - With my initial quaternion version is seems correct and if I - change the - - - float cos_yaw = cosf(osg::inDegrees(yaw)); - float sin_yaw = sinf(osg::inDegrees(yaw)); - - to be - float cos_yaw = cosf(osg::inDegrees(-yaw)); - float sin_yaw = sinf(osg::inDegrees(-yaw)); - - it seems to work as well." -2013-08-01 10:00 robert +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 - * src/osg/Geometry.cpp: From Tom Jolley, "I found a couple more - bugs after closely looking at the small piece of deprecated - geometry in my model. There were problems with more than one - primitive in a couple places. The first was the number of - vertices were not being accumulated for DrawArraysPrimitiveType - (caused another crash). The second is I had to move target_vindex - and source_pindex before the PrimitiveSetList loop so they don't - get reset on the next primitive (otherwise you end up with a lot - of zeros in per vertex lists)." -2013-08-01 07:19 robert +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 - * include/osg/RenderInfo, src/osgUtil/RenderBin.cpp: Added - osg::RenderInfo::pushRenderBin()/popRenderBin() and - RenderInfo::getRenderBinStack() and getCameraStack() access - methods for getting access to the current RenderBin/RenderStage. -2013-07-31 13:11 robert +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 - * include/osgUtil/IntersectionVisitor, - src/osgUtil/LineSegmentIntersector.cpp: Added - Intersector::get/setEpsilon(double) to allow users to control - what epsilon is used by the LineSegmentIntersector when doing - testing of itersections with bounding boxes -2013-07-31 07:11 robert +Thu, 9 Apr 2015 18:38:53 +0000 +Checked in by : Robert Osfield +Added WindowSizeHandler to osgmanipulator examplegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14827 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/FrameBufferObject: From Aurelien Albert, "Here is the - code to get access to OpenGL handle of an osg::FrameBufferObject" -2013-07-31 06:56 robert +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 - * src/osg/Geometry.cpp: From Tom Jolly, "I ran across this error - reading one of our older files. An iterator was being changed - inside a loop that caused a crash." -2013-07-31 06:42 robert +Tue, 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 - * src/osg/State.cpp: From Sergey Kurdakov, fixed GLES2 invalid - enumerant warning by disabling the check against - GL_MAX_TEXTURE_COORDS under GLES. -2013-07-30 06:39 robert +Tue, 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 - * applications/present3D/present3D.cpp: Changed default cull mask - to match the left cull mask so that mono rendering of - presentations with left/right stereo images/movies works fine. -2013-07-30 06:36 robert +Tue, 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 - * applications/present3D/present3D.cpp: Removed trailing spaces -2013-07-30 06:12 robert +Tue, 7 Apr 2015 15:49:06 +0000 +Checked in by : Robert Osfield +Cleaned up handling of Drawables so it utilizes the Node inheritance properly.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14822 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeLists.txt: Merged from OSG-3.2 branch the removal of check - for Asio under Windows -2013-07-24 17:30 robert +Fri, 3 Apr 2015 15:43:34 +0000 +Checked in by : Robert Osfield +Build fix for VS2005.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14821 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/DisplaySettings.cpp: Changed default of serialize draw to - off -2013-07-24 14:24 robert +Fri, 3 Apr 2015 13:34:13 +0000 +Checked in by : Robert Osfield +Improved the doxygen comment for the new createImageWithOrientationConversion(..) function.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14820 16af8721-9629-0410-8352-f15c8da7e697 - * AUTHORS.txt, NEWS.txt, README.txt: Pulled in READE, NEWS and - AUTHORS changes from OSG-3.2 branch. -2013-07-24 13:02 robert +Fri, 3 Apr 2015 13:29:31 +0000 +Checked in by : Robert Osfield +Added automatic rotation of jpeg image based on EXIF rotation information provided in the header.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14819 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/GL2Extensions, src/osg/FrameBufferObject.cpp: Added - GL2Extensions::isDrawBuffersSupported() and usage of this in - FrameBufferObject.cpp to prevent crash under GLES2 when users - attempt to use MRT when it's not supported -2013-07-24 12:51 robert +Fri, 3 Apr 2015 13:19:32 +0000 +Checked in by : Robert Osfield +Implemented an osg::createImageWithOrientationConversion(...) method to aid for changing orientation of images.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14818 16af8721-9629-0410-8352-f15c8da7e697 - * NEWS.txt: Updated NEWS from OSG-3.2 branch -2013-07-24 12:48 robert +Thu, 2 Apr 2015 16:11:22 +0000 +Checked in by : Robert Osfield +Added reading of EXIF_Orientation tags when present in a jpeg file.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14817 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/Program.cpp: Fixed warning -2013-07-24 12:25 robert +Thu, 2 Apr 2015 10:12:22 +0000 +Checked in by : Robert Osfield +From Wojciech Lewandowski, Windows build fixes, "These are the tweaks I had to make. JSON_Objects / json_stream headers attached. I am not sure how these will behave on VS 2010. Someone with VS 2010 should test it. Should be okay on VS 2008 and below + VS 2012 and above, though."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14816 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeLists.txt, include/osg/Version: Updated SO version for post - 3.2 era. -2013-07-24 12:17 robert +Wed, 1 Apr 2015 09:37:44 +0000 +Checked in by : Robert Osfield +From Lionel Largarde, "fix for the Image::computeNumberOfMipmapLevels method. The method did use the float version of the log function and the / operator. It works for most of the input sizes, but fails for 8192, 32768... For 8192, the method returns 13 instead of 14."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14814 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgWidget/EventInterface: Added getCallbacks() methods -2013-07-23 18:11 robert +Tue, 31 Mar 2015 19:31:34 +0000 +Checked in by : Robert Osfield +Fixed crash when using a subload callback, where the _images array is empty by _images[0] was still being accessed.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14813 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp: From Rocco Martino, - build fix for compiling against ffmpeg/trunk -2013-07-23 15:28 robert +Tue, 31 Mar 2015 19:29:02 +0000 +Checked in by : Robert Osfield +Added --subload command line option and test subload callback for testing purposesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14812 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/osc/CMakeLists.txt: Added NOT ANDROID to force use - of posix API when building for Android under Windows -2013-07-23 10:24 robert +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 + }; - * src/osg/Node.cpp: Added lazy setting of the UserDataContainer to - avoid unncessarily create a UserDataContain when an empty - description list is passed to Node::setDescriptions(..) + /** 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); -2013-07-23 09:54 robert - * src/osgPlugins/shp/XBaseParser.cpp: Fixed crash when open(..) - returns an error. -2013-07-23 05:25 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14811 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeModules/Find3rdPartyDependencies.cmake, - CMakeModules/FindCOLLADA.cmake, CMakeModules/FindNVTT.cmake: From - Torben Dannhauer, "Please find attached further changes to make - library auto detection - functional again for some libraries: - - Find3rdPa..: Fix to find libxml2 - FindCollada: Rearranged to handle different MSVC versions more - effective. - This file is already prepared for the upcoming VS 2013. - FindNVTT: introduced management of debug libraries (also auto - detected). - " -2013-07-22 13:31 robert +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 - * src/osgPlugins/dae/daeWGeometry.cpp: From Andreas Ekstrand, - "Attached is a small modification of the Collada writer that - protects from crashes due to valArray being NULL in some - situations." -2013-07-22 10:15 robert +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 - * include/osg/FrameBufferObject, include/osg/StateAttribute: Added - FRAME_BUFFER_OBJECT enum -2013-07-22 10:15 robert +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 - * include/OpenThreads/Version: Updated OpenThreads version -2013-07-19 21:05 robert +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 - * src/osgViewer/GraphicsWindowIOS.mm: From Christian Ruzicka, "with - the current touch implementation on iOS the touches are not - forwarded to parent views because the base implementation is not - called. Also see the "Best Practices" in the iOS documentation - for event handling: - - http://developer.apple.com/library/ios/#documentation/EventHandling/Conceptual/EventHandlingiPhoneOS/multitouch_background/multitouch_background.html - - "If you handle events in a subclass of any other UIKit responder - class: - - You do not have to implement all of the event handling methods. - - In the methods you do implement, be sure to call the superclass - implementation. For example, [super touchesBegan:touches - withEvent:event]." - - I added the missing lines and tested it with OSG 3.1.9 and iOS - SDK 6.1." -2013-07-19 20:59 robert +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 - * src/osg/Geometry.cpp: Added default setting of BIND_PER_VERTEX - when applying Geometry::setTexCoordArray() -2013-07-19 17:00 robert +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 - * src/OpenThreads/CMakeLists.txt: Updated OpenThreads version to be - in sync with OSG version -2013-07-19 14:55 robert +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 - * CMakeLists.txt, include/osg/Version: Updated version number for - svn/trunk to 3.3.0 for all new feature development -2013-07-19 14:07 robert +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 - * AUTHORS.txt: Updated AUTHORS file for new 3.2 branch -2013-07-19 14:06 robert +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 - * CMakeLists.txt, include/osg/Version: Updated version number to - 3.2.0-rc1 in prep for create the 3.2 branch, and 3.2.0-rc1 -2013-07-19 10:31 robert +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 - * AUTHORS.txt, ChangeLog: Update ChangeLog and AUTHORS files for - 3.1.10 dev release -2013-07-19 10:17 robert +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 - * CMakeLists.txt, include/osg/Version: Updater version for 3.1.10 - dev release -2013-07-19 10:11 robert +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 - * examples/osgviewerQt/osgviewerQt.cpp: Removed #if 0 #endif block - -2013-07-19 09:43 robert - - * examples/osgviewerQt/osgviewerQt.cpp: Fixed problem with the - osgviewerQt code override the default View::Camera without - setting it's default state on it's StateSet like View does by - default. - -2013-07-19 06:56 robert - - * include/osgFX/Registry: From Johannes Scholz, "as we need to - dynamically add and remove Effects to and from our Application, I - created a small patch for osgFX/Registry to add the - osgFX::Registry::removeEffect(effect*) method and extended - osgFX::Registry::Proxy to call removeEffect upon its - destruction." - -2013-07-19 06:39 robert - - * src/osgPlugins/osc/osc/OscHostEndianness.h, - src/osgViewer/CMakeLists.txt: From Wang Rui, "A very small - clerical error in the src/osgViewer/CMakeLists.txt makes - MinGW/Cygwin builds fail. Now it is fixed and now OSG works well - again with Cygwin. :-) The OSC plugin also needs a small fix to - compile with Cygwin, as attached file - src/osgPlugins/osc/osc/OscHostEndianness.h shows." - -2013-07-19 06:20 robert - - * include/osgUtil/SceneView, include/osgViewer/GraphicsWindow: From - Mathieu Marache, "we found that events where not caught when - running in ON_DEMAND frame scheme : GraphicsWindow::checkEvents() - always return false and GraphicsWindowQt doesn't overload it. - - here is a simple fix that will return if the list is empty or not - and will match the comment in checkEvents() - -2013-07-18 20:17 robert - - * src/osg/Image.cpp: Added a dirty() call to Image::setData(..) - -2013-07-18 16:29 robert - - * CMakeModules/Find3rdPartyDependencies.cmake: From Torben - Dannhauer, "after being absent for more than 12 month, I'm very - pleased to present my - new 3rdparty package (V8). - - This package is compiled with Visual Studio 2012 Update 3. Some - community - members complained that these package is very large (indeed), so - I - introduced 2 versions: - - The small version contains the dependencies for several image - file formats - ( tiff, png, gif, jpeg), as well as zlib, minizip, curl, - freetype, glut, - gdal and openSSL - - The full version will include all libraries which were include - in the - previous releases of my 3rd party package. - - Some of the included libraries are released in newer versions, so - I adapted - the attached CMake module to find these renamed files. - - I hope you can merge this minor changes soon, since I plan to - publish the - small 3rdparty package today. - " - -2013-07-18 16:27 robert - - * include/osg/GL2Extensions: From Lionel Lagarde, "The extension - name is misspelled. It conflicts with GLEW." - -2013-07-02 19:24 robert - - * AUTHORS.txt, ChangeLog: Updated AUTHORS and ChangeLog for 3.1.9 - dev release - -2013-07-02 14:35 robert - - * CMakeLists.txt: From Laurens Voerman, "With fstream inheritaince - now removed the warning can be enabled again." - -2013-07-02 14:17 robert - - * src/osgPlugins/ive/Geometry.cpp: From Laurens Voerman, "some of - my ive files now generate a warning: - Warning, can't assign attribute binding as no has been array - assigned to set binding for. - - I think those are ive's with bumpmaps, but I have not checked - yet. The problem is in - OpenSceneGraph\src\osgPlugins\ive\Geometry.cpp - where the code tries to set Normalize and Binding for a missing - Array. - I think that code can safely be skipped, considering the write - function has a hardcoded write when the array is missing. - (introduced in svn rev 13488) - - modified file (OpenSceneGraph\src\osgPlugins\ive\Geometry.cpp) - attached in Zip" - -2013-07-02 14:02 robert - - * src/osgPlugins/osg/BinaryStreamOperator.h: From Laurens Voerman, - "Recent changes cause a few warnings in MSVC 2012 - svn 13587 From David Callu, warning fixes and removal of spaces - at end of lines. - - this can be fixed by adding a space before the comment opening - /*. - full modified file - (openscenegraph\src\osgplugins\osg\BinaryStreamOperator.h) - attached in zip - - Regards, Laurens. - - - openscenegraph\src\osgplugins\osg\BinaryStreamOperator.h(71): - warning C4138: '*/' found outside of comment - (OpenSceneGraph\src\osgPlugins\osg\ReaderWriterOSG2.cpp) - openscenegraph\src\osgplugins\osg\BinaryStreamOperator.h(73): - warning C4138: '*/' found outside of comment - (OpenSceneGraph\src\osgPlugins\osg\ReaderWriterOSG2.cpp) - openscenegraph\src\osgplugins\osg\BinaryStreamOperator.h(211): - warning C4138: '*/' found outside of comment - (OpenSceneGraph\src\osgPlugins\osg\ReaderWriterOSG2.cpp) - openscenegraph\src\osgplugins\osg\BinaryStreamOperator.h(213): - warning C4138: '*/' found outside of comment - (OpenSceneGraph\src\osgPlugins\osg\ReaderWriterOSG2.cpp)" - -2013-07-02 13:45 robert - - * src/osg/State.cpp: Restructed handling of the - _currentShaderCompositionUniformList in State::apply() and - State::apply(const StateSet*) so that it can be used even when - shader composition isn't enabled. - -2013-07-02 10:32 robert - - * include/osg/Program, src/osg/Program.cpp: From Aurelien Albert, - "Recently I had to integrate a client OpenGL library with OSG. - For textures and other StateAttribute I've done that by - subclassing osg::StateAttribute and this works well. - - But for glPrograms, in order to get all osg's uniform management - system to work, I had to subclass - osg::program::PerContextProgram. - - Here is a modified version of this class, which add some - "virtual" method to allow easy subclassing." - -2013-07-02 09:44 robert - - * include/osg/Array: From Pjotr Svetachov, "The binding of arrays - is always set to BIND_UNDEFINED when using the array constructor - because the binding parameter is ignored. Here is a fix." - -2013-07-02 09:27 robert - - * include/osgUtil/SceneView, src/osgUtil/SceneView.cpp: Added - SceneView::Options enum enetries APPLY_GLOBAL_DEFAULTS and - CLEAR_GLOBAL_STATESET to control whether a - _globalStateSet->clear() and _globalStateSet->setGlobalDefaults() - should be called. - - osgViewer::Renderer doesn't use these enum settings so now no - longer has a calls StateSet::clear() or - StateSet::setGlobalDefaults() on the osg::Camera's StateSet. - Previously these were being - called and breaking the ability to attached state to Camera's - StateSet. - -2013-07-01 16:15 robert - - * src/osg/Array.cpp: From Pjotr Svetachov, "In a submission on June - 27th a lot of new array types were added. This modified the - osg::Array::Type enum. Because of this s_ArrayNames array in - Array.cpp is now not in sync. This can lead to corrupt exports or - crashes when writing .osg files because the change added new - types in the middle of the enum instead of at the end. - - Attached is a new Array.cpp to reflect the new array types." - -2013-07-01 12:16 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Updated AUTHORS, ChangeLog for dev release - -2013-07-01 10:22 robert - - * include/osg/Array: Removed BIND_INSTANCE_DIVISOR as they don't - yet have any implementation backend to support them. - -2013-07-01 09:12 robert - - * CMakeModules/FindFBX.cmake: From David Callu, "Here a fix for - FindFBX.cmake - - under linux, library name to look for must be fbxsdk instead of - libfbxsdk." - -2013-07-01 09:10 robert - - * CMakeLists.txt: From David Callu, "Here a CMakeLists.txt modified - with OSG_AGGRESSIVE_WARNING_FLAGS defined when Clang compilator - is used" - -2013-07-01 09:09 robert - - * src/osg/glu/libutil/mipmap.cpp: Fixed debug build compile problem - -2013-07-01 08:21 robert - - * include/OpenThreads/Exports, include/osg/Export, - src/OpenThreads/pthreads/PThread.cpp, src/osg/PrimitiveSet.cpp, - src/osg/Referenced.cpp, src/osgDB/ConvertUTF.cpp, - src/osgShadow/ConvexPolyhedron.cpp, - src/osgShadow/DebugShadowMap.cpp, src/osgWidget/Input.cpp, - src/osgWidget/Lua.cpp, src/osgWidget/Python.cpp: Reverted the - usage of OSG_UNUSED and OT_UNUSED as in hindsight these should - never have been merged. Adding code to quieten - inappropriate warnings is a bad programming practice and does not - desrve a place in the OSG code base. - -2013-06-28 15:44 robert - - * src/osgPlugins/png/ReaderWriterPNG.cpp: From John Kaniarz, "This - patch modifies ReaderWriterPNG.cpp to - 1. Check the bit depth of the passed Image and return an error if - not 8 or 16. (not fully featured, but still an improvement over - hard coded 8bit for everything) - 2. Endian swap 16bit image data when on a little endian - architecture. - " - -2013-06-28 14:47 robert - - * applications/osgviewer/osgviewer.cpp: From Alberto Luaces, - "Documentation for -p and --speed options in osgviewer" - -2013-06-28 14:38 robert - - * src/osg/ImageUtils.cpp: From Marcel Pursche, fixed checking of - destination dimensions in osg::copyImage. - -2013-06-28 14:32 robert - - * src/osgPlugins/ive/IveVersion.h, - src/osgPlugins/ive/ProxyNode.cpp: From Lilin Xiong, "When writing - proxyNode to ive file, we forget "LoadingExternalReferenceMode ". - Add some code to fix this. - - if (out->getVersion() >= VERSION_0045) - { - out->writeInt(getLoadingExternalReferenceMode()); - } - - if (in->getVersion() >= VERSION_0045) - { - setLoadExternalReferenceFiles( - (osg::ProxyNode::LoadingExternalReferenceMode)in->readInt() ); - } - " - -2013-06-28 14:21 robert - - * include/osgUtil/DelaunayTriangulator, - src/osgUtil/DelaunayTriangulator.cpp: From Gill Peacegood, "fix - for a memory leak in the DelaunayConstraint class" - -2013-06-28 14:08 robert - - * include/osg/BufferObject: From Laurens Voerman, "the current - version of BufferObject causes a huge amount of warnings in - Visual Studio 2012 like: - - OpenSceneGraph/include\osg/BufferObject(701): warning C4138: '*/' - found outside of comment - (E:\osg\osgSvn\OpenSceneGraph\src\osg\Array.cpp) - - adding a space before /* fixes the problem - void removeClient(osg::Object * /*client*/) { --_numClients; } - " - -2013-06-28 14:07 robert - - * src/osg/GraphicsContext.cpp: Fixed handling of - DISPLAY=127.0.0.1:2 usage. - -2013-06-28 13:43 robert - - * include/osg/PrimitiveRestartIndex, include/osg/StateAttribute, - src/osg/CMakeLists.txt, src/osg/PrimitiveRestartIndex.cpp, - src/osgWrappers/serializers/osg/PrimitiveRestartIndex.cpp: From - Aurelien Albert, Added support for glPrimitiveRestartIndex. - - "The idea of this new OpenGL feature is : - - - set RestartIndex = "n" - - draw elements strip - -> when the index is "n", the strip is "stopped" and restarted - - It's very usefull for drawing tiles with a single strip and a - "restart" at the end of each row. - - The idea a an OSG StateAttribute is : - - Usually we use to build geometry from code, because software - modelers rarely support it (and 3d file formats doesn't support - it) : - - -RootNode <= "PrimitiveRestartIndex=0" // So now, we know that - our restart index is 0 for all drawables under this node - | - - Drawable 1 : triangles => as usual - | - - Drawable 2 : triangles strip => as usual - | - - Drawable 3 : triangles strip + "GL_PRIMITIVE_RESTART" mode = ON - => use the restart index - | - - Drawable 4 : triangles strip + "GL_PRIMITIVE_RESTART" mode = ON - => use the restart index - | - - Drawable 5 : triangles strip => as usual - - - With a StateAttribute, it's easy for the developper to say "0 - will be my restart index for all this object" and then activate - the mode only on some nodes. - - The main problem is if you set and restart index value which is - not included in the vertex array (for exemple set restart index = - 100 but you have only 50 vertex). There is no problem with - OpenGL, but some OSG algorithms will try to access the - vertex[100] and will segfault. - - To solve this, I think there is two ways : - - 1/ add restart index in osg::PrimitiveSet and use this value in - all algorithms. It's a lot of work, maybe dangerous, and it - concern only a few situations : developpers who use this - extension should be aware of advanced OpenGL (and OSG) data - management - - 2/ use a StateAttribute, and choose a "correct" restart index. In - my applications, I always use "0" as a restart index and - duplicate the first vertex (vertex[0] = vertex[1]). So there is - no difference for OpenGL and all OSG algorithms works properly. - " - -2013-06-28 12:45 robert - - * src/osg/ShapeDrawable.cpp: Added handling of an odd number rows - in the capsule rendering and primitive calculation. - -2013-06-28 12:00 robert - - * include/OpenThreads/Exports, include/osg/BufferObject, - include/osg/Export, include/osg/ImageStream, - include/osg/TextureBuffer, include/osg/ValueObject, - include/osgAnimation/Action, - include/osgAnimation/AnimationUpdateCallback, - include/osgAnimation/MorphGeometry, - include/osgDB/DatabaseRevisions, include/osgGA/GUIEventAdapter, - include/osgManipulator/Constraint, - include/osgParticle/DomainOperator, - include/osgQt/QFontImplementation, include/osgSim/ShapeAttribute, - include/osgText/Font, include/osgVolume/Locator, - src/OpenThreads/pthreads/PThread.cpp, src/osg/BufferObject.cpp, - src/osg/GraphicsCostEstimator.cpp, src/osg/KdTree.cpp, - src/osg/Notify.cpp, src/osg/PrimitiveSet.cpp, - src/osg/Referenced.cpp, src/osg/Shader.cpp, - src/osg/ShaderAttribute.cpp, src/osg/Texture.cpp, - src/osg/glu/libtess/dict.cpp, src/osg/glu/libtess/memalloc.cpp, - src/osg/glu/libutil/mipmap.cpp, - src/osgAnimation/AnimationManagerBase.cpp, - src/osgAnimation/Skeleton.cpp, - src/osgAnimation/StackedMatrixElement.cpp, - src/osgAnimation/StackedQuaternionElement.cpp, - src/osgAnimation/StackedRotateAxisElement.cpp, - src/osgAnimation/StackedScaleElement.cpp, - src/osgAnimation/StackedTransform.cpp, - src/osgAnimation/StackedTranslateElement.cpp, - src/osgAnimation/StatsHandler.cpp, src/osgDB/ConvertUTF.cpp, - src/osgDB/DatabasePager.cpp, src/osgDB/DatabaseRevisions.cpp, - src/osgDB/ImagePager.cpp, src/osgDB/Registry.cpp, - src/osgDB/XmlParser.cpp, src/osgGA/CameraManipulator.cpp, - src/osgGA/Device.cpp, src/osgGA/FirstPersonManipulator.cpp, - src/osgGA/FlightManipulator.cpp, - src/osgGA/MultiTouchTrackballManipulator.cpp, - src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/OrbitManipulator.cpp, - src/osgGA/StandardManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, - src/osgGA/TrackballManipulator.cpp, - src/osgParticle/SinkOperator.cpp, - src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgPlugins/osg/BinaryStreamOperator.h, - src/osgPlugins/osg/XmlStreamOperator.h, - src/osgPresentation/KeyEventHandler.cpp, - src/osgPresentation/PropertyManager.cpp, - src/osgPresentation/SlideEventHandler.cpp, - src/osgPresentation/SlideShowConstructor.cpp, - src/osgQt/GraphicsWindowQt.cpp, - src/osgQt/QFontImplementation.cpp, src/osgQt/QWidgetImage.cpp, - src/osgShadow/ConvexPolyhedron.cpp, - src/osgShadow/DebugShadowMap.cpp, - src/osgShadow/MinimalShadowMap.cpp, - src/osgShadow/ViewDependentShadowMap.cpp, - src/osgTerrain/Layer.cpp, src/osgTerrain/TerrainTechnique.cpp, - src/osgText/DefaultFont.h, src/osgText/Style.cpp, - src/osgUtil/CullVisitor.cpp, - src/osgUtil/DelaunayTriangulator.cpp, - src/osgUtil/PolytopeIntersector.cpp, - src/osgUtil/SceneGraphBuilder.cpp, - src/osgUtil/SmoothingVisitor.cpp, src/osgUtil/Tessellator.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Keystone.cpp, - src/osgViewer/PixelBufferX11.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/ScreenCaptureHandler.cpp, src/osgViewer/Viewer.cpp, - src/osgVolume/FixedFunctionTechnique.cpp, - src/osgVolume/Layer.cpp, src/osgVolume/Locator.cpp, - src/osgVolume/RayTracedTechnique.cpp, src/osgWidget/Browser.cpp, - src/osgWidget/Canvas.cpp, src/osgWidget/Frame.cpp, - src/osgWidget/Input.cpp, src/osgWidget/Lua.cpp, - src/osgWidget/Python.cpp, src/osgWidget/StyleManager.cpp, - src/osgWidget/ViewerEventHandlers.cpp, src/osgWidget/Window.cpp, - src/osgWidget/WindowManager.cpp: From David Callu, warning fixes - and removal of spaces at end of lines. - -2013-06-28 10:59 robert - - * include/osgViewer/config/WoWVxDisplay: From David Callu, "in - osgViewer::WoWVxDisplay::WoWVxDisplay(unsigned int type=20, - unsigned int screenNum=0) - screenNum is unused. - - fix attached. - " - -2013-06-28 10:51 robert - - * include/osg/State, src/osg/Geometry.cpp, src/osg/State.cpp: From - David Callu, added support for glVertexAttribLPointer and - glVertexAttribIPointer, utilized via - osg::Array::setPreserveDataType(true); - -2013-06-28 08:57 robert - - * include/osgDB/DataTypes, include/osgDB/InputStream, - include/osgDB/OutputStream, include/osgDB/Serializer, - src/osgDB/InputStream.cpp, src/osgDB/ObjectWrapper.cpp, - src/osgDB/OutputStream.cpp: From David Callu, serializer support - for new Vec* and Vec*Array classes - -2013-06-28 08:11 robert - - * src/osg/Geometry.cpp: - -2013-06-27 17:37 robert - - * include/osg/Array, include/osg/Vec2ub, include/osg/Vec2us, - include/osg/Vec3ub, include/osg/Vec3us, include/osg/Vec4us, - src/osg/CMakeLists.txt: From David Callu, "Added Vec3ub, Vec3us, - Vec4us, Vec2ub and Vec2us classes" - -2013-06-27 16:44 robert - - * include/osg/BufferObject, src/osg/BufferObject.cpp, - src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2D.cpp, src/osg/Texture2DArray.cpp, - src/osg/Texture3D.cpp, src/osg/TextureBuffer.cpp, - src/osg/TextureCubeMap.cpp, src/osg/TextureRectangle.cpp: From - Lionel Lagarde, "Support for paging and shared PBO" - - "The attached file contains: - - a per-context read counter in GLBufferObject::BufferEntry - - a global client counter in BufferData - - the glue between Texture* and Image client counter - " - -2013-06-27 15:18 robert - - * include/osg/State, src/osg/GLBeginEndAdapter.cpp, - src/osg/Geometry.cpp, src/osg/State.cpp: From Aurelien Albert, - added passing on of the gl array normalize to OpenGL when uses - vertex attribute aliasing. - -2013-06-27 14:46 robert - - * include/osg/Array, include/osg/Geometry, src/osg/Geometry.cpp, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/VertexPaletteManager.cpp, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp, - src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeWGeometry.cpp, - src/osgPlugins/dxf/DXFWriterNodeVisitor.cpp, - src/osgPlugins/normals/Normals.cpp, - src/osgPlugins/normals/Normals.h, - src/osgPlugins/obj/OBJWriterNodeVisitor.cpp, - src/osgPlugins/vrml/ConvertToVRML.cpp, - src/osgWrappers/serializers/osg/Geometry.cpp: Replaced - deprecatated osg::Geometry::get*Binding() calls. - -2013-06-27 13:37 robert - - * src/osgDB/Input.cpp: Added Geometry::containsDeprecatedData() / - fixDeprecatedData() - -2013-06-27 10:58 robert - - * src/osgUtil/MeshOptimizers.cpp, src/osgUtil/Optimizer.cpp, - src/osgUtil/Simplifier.cpp, src/osgUtil/SmoothingVisitor.cpp, - src/osgUtil/TangentSpaceGenerator.cpp, - src/osgUtil/Tessellator.cpp, src/osgUtil/TriStripVisitor.cpp: - Removed deprecated usage of osg::Geometry::get*Binding() - -2013-06-27 09:59 robert - - * examples/osganimationeasemotion/osganimationeasemotion.cpp, - examples/osganimationskinning/osganimationskinning.cpp, - examples/osganimationsolid/osganimationsolid.cpp, - examples/osganimationviewer/AnimtkViewer.cpp, - examples/osgphotoalbum/ImageReaderWriter.cpp, - examples/osgphotoalbum/osgphotoalbum.cpp: Replaced deprecated - osg::Geometry::set*Binding() usage. - -2013-06-27 09:54 robert - - * applications/osgconv/osgconv.cpp: Replaced deprecated - osg::Geometry::set*Binding() usage - -2013-06-27 09:54 robert - - * examples/osganimate/osganimate.cpp, - examples/osganimationnode/osganimationnode.cpp, - examples/osgautotransform/osgautotransform.cpp, - examples/osgbillboard/osgbillboard.cpp, - examples/osgdelaunay/osgdelaunay.cpp, - examples/osgdepthpartition/osgdepthpartition.cpp, - examples/osgdepthpeeling/DePee.cpp, - examples/osgdepthpeeling/Utility.cpp, - examples/osgdistortion/osgdistortion.cpp, - examples/osgforest/osgforest.cpp, - examples/osgfxbrowser/Frame.cpp, - examples/osggameoflife/GameOfLifePass.cpp, - examples/osggameoflife/osggameoflife.cpp, - examples/osggeometry/osggeometry.cpp, - examples/osggeometryshaders/osggeometryshaders.cpp, - examples/osggpx/osggpx.cpp, examples/osghangglide/base.cpp, - examples/osghangglide/sky.cpp, examples/osghangglide/terrain.cpp, - examples/osghangglide/trees.cpp, examples/osghud/osghud.cpp, - examples/osglight/osglight.cpp, examples/osglogo/osglogo.cpp, - examples/osgmultiplemovies/osgmultiplemovies.cpp, - examples/osgmultiplerendertargets/osgmultiplerendertargets.cpp, - examples/osgoccluder/osgoccluder.cpp, - examples/osgoit/DepthPeeling.cpp, examples/osgoit/HeatMap.cpp, - examples/osgoscdevice/osgoscdevice.cpp, - examples/osgpick/osgpick.cpp, examples/osgplanets/osgplanets.cpp, - examples/osgpointsprite/osgpointsprite.cpp, - examples/osgprerender/osgprerender.cpp, - examples/osgreflect/osgreflect.cpp, - examples/osgshaderterrain/osgshaderterrain.cpp, - examples/osgshadow/IslandScene.cpp, - examples/osgshadow/osgshadow.cpp, - examples/osgsharedarray/osgsharedarray.cpp, - examples/osgspacewarp/osgspacewarp.cpp, - examples/osgspheresegment/osgspheresegment.cpp, - examples/osgstereoimage/osgstereoimage.cpp, - examples/osgstereomatch/StereoMultipass.cpp, - examples/osgstereomatch/osgstereomatch.cpp, - examples/osgtessellate/osgtessellate.cpp, - examples/osgtexture2D/osgtexture2D.cpp, - examples/osgtexture3D/osgtexture3D.cpp, - examples/osgtexturerectangle/osgtexturerectangle.cpp, - examples/osgthirdpersonview/osgthirdpersonview.cpp, - examples/osgvertexattributes/osgvertexattributes.cpp: Replaced - deprecated osg::Geometry::set*Binding() usage. - -2013-06-27 08:44 robert - - * src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/mdl/VTXReader.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/shp/ESRIShapeParser.cpp, - src/osgPlugins/txp/TXPParser.cpp: Replaced deprecated - osg::Geometry::set*Binding() usage - -2013-06-27 08:30 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/ac/ac3d.cpp, src/osgPlugins/bsp/VBSPGeometry.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/lwo/Surface.cpp, src/osgPlugins/lwo/old_Lwo2.cpp, - src/osgPlugins/ply/vertexData.cpp, - src/osgPlugins/trk/ReaderWriterTRK.cpp: Replaced deprecated - Geometry::set*Binding() - -2013-06-26 18:06 robert - - * src/osgSim/ScalarBar.cpp, - src/osgVolume/FixedFunctionTechnique.cpp, - src/osgVolume/RayTracedTechnique.cpp, src/osgWidget/Widget.cpp: - Replaced deprecated Geometry::set*Binding() usage - -2013-06-26 17:58 robert - - * src/osgAnimation/RigGeometry.cpp, src/osgViewer/Keystone.cpp, - src/osgViewer/StatsHandler.cpp, - src/osgViewer/config/PanoramicSphericalDisplay.cpp, - src/osgViewer/config/SphericalDisplay.cpp: Removed deprecated - Geometry::set*Binding() usage - -2013-06-26 17:54 robert - - * include/osg/Array: Added osg::getBinding(osg::Array* array) - convinience function that returns the Array::getBinding() is the - array is not NULL, otherwise returns BIND_OFF. - -2013-06-26 17:45 robert - - * src/osgTerrain/GeometryTechnique.cpp, - src/osgText/GlyphGeometry.cpp, src/osgUtil/SmoothingVisitor.cpp: - Replaced deprecated osg::Geometry::set*Binding() usage - -2013-06-26 17:44 robert - - * src/osgPlugins/3dc/ReaderWriter3DC.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, src/osgPlugins/dxf/scene.h, - src/osgPlugins/lwo/Converter.cpp, - src/osgPlugins/normals/Normals.cpp, - src/osgPlugins/stl/ReaderWriterSTL.cpp, - src/osgPlugins/vrml/Primitives.cpp, - src/osgPlugins/x/ReaderWriterDirectX.cpp: Replaced deprecated - osg::Geometry::set*Binding() calls. - -2013-06-26 16:16 robert - - * src/osg/Geometry.cpp, src/osg/Image.cpp, - src/osg/OcclusionQueryNode.cpp, - src/osgAnimation/RigTransformSoftware.cpp, - src/osgAnimation/StatsHandler.cpp, - src/osgManipulator/RotateCylinderDragger.cpp, - src/osgManipulator/TabPlaneDragger.cpp, - src/osgManipulator/TrackballDragger.cpp, - src/osgManipulator/TranslatePlaneDragger.cpp, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgShadow/ConvexPolyhedron.cpp, src/osgSim/OverlayNode.cpp, - src/osgUtil/SceneGraphBuilder.cpp: From Sebastian Messerschmidt, - "I've taken some time and refactored some places where the old - set*Binding were used." - -2013-06-26 13:00 robert - - * include/osg/State, src/osg/State.cpp: From Aurelien Albert, "This - submission allow the user to specify how to setup - VertexAttributeAliasing. - - I think this is necessary on OpenGL 3.2+ since this is no more - "default" locations in the OpenGL specs. - - The default behaviour stay the same. - - There is a few new methods on osg::State : - - - resetVertexAttributeAlias : reset all vertex alias to osg's - default ones - - set**Alias : set a vertex attribute alias configuration - - setAttributeBindingList : set the attribute binding list (allow - to specify an empty list if you're using "layout" qualifier in - glsl code to specify the bindings. This save some CPU - operations)" - -2013-06-26 12:59 robert - - * include/osg/ArrayDispatchers: Removed unused methods - -2013-06-26 12:33 robert - - * src/osg/ArrayDispatchers.cpp: Removed spaces from end of line - -2013-06-26 12:33 robert - - * src/osg/ArrayDispatchers.cpp: Fixed bug in - TemplateTargetAttributeDispatch that was causing a crash with the - osgsimplegl3 example - -2013-06-26 09:04 robert - - * src/osgUtil/MeshOptimizers.cpp: From Pjotr Svetachov and Robert - Osfield, "the index mesh and vertex pre-transform optimizers can - rearrange or change the size of arrays assigned to a geometry. - This leads to crashes or corrupt geometry when using shared - arrays. - - Attached a fix that duplicates shared geometry arrays." - -2013-06-26 08:53 robert - - * src/osgPlugins/fbx/WriterNodeVisitor.cpp: Removed - Geometry::fixDeprecatedData() as it won't work on const Geometry - -2013-06-26 07:08 robert - - * src/osgSim/ScalarBar.cpp: From Mathias Froehlich, "The attached - file replaces the deprecated geometry use in osgSim. - The per primitive use is changed to full per vertex arrays." - -2013-06-25 16:19 robert - - * include/osg/Geometry: Removed #include as it's - nolonger required in the header - -2013-06-25 16:10 robert - - * CMakeLists.txt, examples/osgdelaunay/osgdelaunay.cpp, - examples/osgimpostor/osgimpostor.cpp, - examples/osgocclusionquery/osgocclusionquery.cpp, - include/osg/Geometry, src/osg/Config.in, src/osg/Geometry.cpp, - src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/Inventor/ConvertFromInventor.h, - src/osgPlugins/Inventor/ConvertToInventor.cpp, - src/osgPlugins/Inventor/ConvertToInventor.h, - src/osgPlugins/dae/daeWGeometry.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/Geometry.cpp, src/osgPlugins/ive/Geometry.h, - src/osgPlugins/md2/ReaderWriterMD2.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.h, - src/osgPlugins/vrml/IndexedFaceSet.cpp, - src/osgPlugins/vrml/Primitives.cpp, src/osgSim/ScalarBar.cpp, - src/osgWrappers/deprecated-dotosg/osg/Geometry.cpp: With - assistance from Sukender, moved the depreacted osg::Geometry - vertex indices and AttributeBinding definitions out into a - separated namespace/class so to use - deprecated features you should now use deprecated_osg::Geometry - in place of osg::Geometry. - -2013-06-25 11:13 robert - - * examples/osgoit/CMakeLists.txt, examples/osgoit/DepthPeeling.cpp, - examples/osgoit/DepthPeeling.h, examples/osgoit/HeatMap.cpp, - examples/osgoit/HeatMap.h, examples/osgoit/osgoit.cpp: From - Christian Buchner, "Here is a strongly overhauled version of the - original osgoit ("order independent transparency") by Mathias - Fröhlich. I called this version myosgoit. It looks very nice, - just build and run it! - - This version adds: - - - an encapsulation of the entire Depth Peeling procedure into a - class (not currently a scene graph node) for easier integration - in other projects. - - - compositing with opaque (solid) geometry is possible and the - opaque model is only rendered once. This needs to performs some - depth buffer blitting between FBOs. - - - mix and match with GLSL shaders in the transparent objects is - possible, as demonstrated with a 3D heat map intersecting an - opaque truck model. - - - Some Drawbacks: - - - the display framebuffer does not receive any depth information - from the compositing camera. This could be fixed by compositing - with a GLSL shader and writing to FragDepth." - - From Robert Osfield, ported the code to work under Linux and - without the automatic ref_ptr to C* conversion. - -2013-06-25 09:52 robert - - * doc/Doxyfiles/all_Doxyfile, doc/Doxyfiles/auto_Doxyfile, - doc/Doxyfiles/auto_Mainpage, doc/Doxyfiles/core_Doxyfile, - doc/Doxyfiles/doxyfile.cmake, - doc/Doxyfiles/openthreads.doxyfile.cmake: From Alberto Luacas, - "current Doxygen warns against the use of obsolete fields: - DETAILS_AT_TOP, SHOW_DIRECTORIES, HTML_ALIGN_MEMBERS. - - I have removed those in the configuration files." - -2013-06-24 12:51 robert - - * src/osgPlugins/lws/SceneLoader.cpp, - src/osgPlugins/lws/SceneLoader.h: From Cedric Pinson, "I fixed a - little issue with the lightwave scene loader. On the version 5 - there are id on the command LoadObjectLayer in the scene file and - of this version the current code use this field as a part of the - filename, and it fails because the file is not found. - I just added a field version_ to read it at the beginning and - added extra code to check it and read the extra field if needed - and read the good filename" - -2013-06-24 12:31 robert - - * src/osgViewer/GraphicsWindowIOS.mm: From Christian Ruzicka, "when - MSAA is activated on iOS, the stencil attachment is not added - (Stencil buffer is not working at all). Attached are the needed - changes to make MSAA + stencil working on iOS. - - Tested with OSG 3.1.7 and iOS SDK 6.1." - -2013-06-24 12:30 robert - - * CMakeLists.txt, include/osg/Version: Updatd SO_VERSION to reflect - changes in ABI from merging submissions. - -2013-06-24 12:27 robert - - * include/osg/Geometry: From Sukender, "I recently pulled from the - GIT mirror and found that - "OSG_USE_DEPRECATED_GEOMETRY_METHODS=OFF" hides a little mistake: - there is a "#include " inside the "osg" namespace, in - inlude/osg/Geometry. - " - -2013-06-24 11:40 robert - - * src/osgPlugins/ply/ReaderWriterPLY.cpp: From Mourad Boufarguine, - "Attached is a fix for the ply reader to use the output of - osgDB::findDataFile. - - " - -2013-06-24 11:39 robert - - * src/osgPlugins/dxf/DXFWriterNodeVisitor.cpp: From Luc Frauciel, - "You'll find attached a modification of DXWriter to support - Material color: - If a material is present, the diffuse color is affected to - current layer." - -2013-06-24 11:14 robert - - * include/osgUtil/IncrementalCompileOperation, - src/osgUtil/IncrementalCompileOperation.cpp: From Lars Nillson, - "The change in this submission is to take care of the setting - given by a call to - setMaximumNumOfObjectsToCompilePerFrame(…). - - - Sometimes if you give a low number, more than the expected number - of objects are compiled." - -2013-06-24 11:03 robert - - * src/osgAnimation/LinkVisitor.cpp, - src/osgDB/SharedStateManager.cpp, - src/osgUtil/GLObjectsVisitor.cpp, - src/osgUtil/IncrementalCompileOperation.cpp, - src/osgUtil/Optimizer.cpp: Convert usage to use const versions of - containers - -2013-06-24 09:59 robert - - * CMakeLists.txt: From Frederic Morin, "Current behaviour uses - SDKSettings.plist to determine osx version but - this file is only available when XCode is installed. - - This version works also when Command Line Tools for XCode are - installed (minimum build env for osx without XCode) - - See https://github.com/openscenegraph/osg/pull/8 for patch - details - Patch: https://github.com/openscenegraph/osg/pull/8/files" - -2013-06-24 09:51 robert - - * include/osg/FrameBufferObject, include/osg/Image, - src/osg/Image.cpp: From Farshid Lashkari, "I've attached a small - patch that extends the Image::readImageFromCurrentTexture method - to support more depth texture pixel formats (16, 24, 32, 32F). In - order to compile, I moved some depth pixel format definitions - from FrameBufferObject to Image. - " - -2013-06-24 09:31 robert - - * include/osgDB/Registry: From Christian Noon, "Got a simple patch - for correcting a problem with the USE_COMPRESSOR_WRAPPER() macro - in the osgDB::Registry. The problem is that the wrapper - declaration doesn't match the one defined in the - REGISTER_COMPRESSOR() method in the osgDB::ObjectWrapper method. - This patch fixes the wrapper declaration so they both match - properly. I ran into this problem using compressed files in an - iOS application where all the libraries and plugins need to be - built statically." - -2013-06-24 09:12 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp: From Nick Black, - "Hey there! avcodec_open() has been deprecated for some time, and - indeed has - been removed in the most recent versions of libavcodec/ffmpeg. - You're - already using avcodec_open2() elsewhere, but one appears to have - been - missed. The change is trivial: - - [skynet](0) $ svn diff - Index: src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp - =================================================================== - --- src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp (revision 13355) - +++ src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp (working copy) - @@ -109,7 +109,7 @@ - // m_context->flags |= CODEC_FLAG_TRUNCATED; - - // Open codec - - if (avcodec_open(m_context, p_codec) < 0) - + if (avcodec_open2(m_context, p_codec, NULL) < 0) - throw std::runtime_error("avcodec_open() failed"); - } - - [skynet](0) $ - - I've applied similar changes this year to many other packages, - including - cheese, blender, linphone, ad nauseam. It's been tested by - verifying that - with my patch, OSG builds against the newest libavcodec and - ffmpeg, whereas - otherwise it does not. - - The modified src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp is - attached. It - originates in svn trunk revision 13355. Thanks!" - -2013-06-24 09:02 robert - - * include/osgDB/InputStream, include/osgDB/OutputStream, - src/osgDB/InputStream.cpp, src/osgDB/OutputStream.cpp: Introduced - typedef's to make the code more readble and maintanable - -2013-06-24 08:48 robert - - * include/osgDB/InputStream, include/osgDB/ObjectWrapper, - include/osgDB/OutputStream, include/osgDB/StreamOperator, - src/osgDB/InputStream.cpp, src/osgDB/ObjectWrapper.cpp, - src/osgDB/OutputStream.cpp, - src/osgPlugins/osg/BinaryStreamOperator.h: From Wang Rui, "The - file attached includes two new features for the serialization IO - functionality. First, custom serializer version control should - work now, just by defining a new REGISTER_CUSTOM_OBJECT_WRAPPER - macro. For example: - - // A custom class - namespace CustomDomain { - - class MyGroup : public osg::Group - { - public: - META_Node( CustomDomain, MyGroup ); - - void setMyName( const std::string& n ); - const std::string& getMyName() const; - - void setMyID( int id ); - int getMyID() const; - - ... - }; - - } - - // The serialization wrapper using a custom domain name - REGISTER_CUSTOM_OBJECT_WRAPPER( MyDomain, - CustomDomain_MyGroup, - new CustomDomain::MyGroup, - CustomDomain::MyGroup, - "osg::Object osg::Node osg::Group CustomDomain::MyGroup" ) - { - ADD_STRING_SERIALIZER( MyName, std::string() ); - { - UPDATE_TO_VERSION_SCOPED( 1 ); // Updated for a new domain - version - ADD_INT_SERIALIZER( MyID, 0 ); - } - } - - Save the class instance as follows: - osgDB::writeNodeFile( *myGroup, "serializer_test.osgt", new - osgDB::Options("CustomDomains=MyDomain:1") ); - - The output file will include the domain version definition and - all the class data, and can be read back. We can also force - setting the domain version by the CustomDomains option while - reading the saved files. If we save the class instance without - any options, MyID will be ignored because the default domain - version is 0. - - This may help third-party libraries like osgEarth to maintain - their own serializers without regarding to the OSG soversion - changes. - - Another feature added is a more robust binary format, which in - fact adds a size-offset at each block's beginning. When there are - problems or unsupported data types while reading, we can now - directly jump to the block end indicated by the offset value. So - a .osgb file will automatically ignore bad data and read remains - as normal (at present it will fail at all). This feature will not - break the backward compatibility, and can be disabled by setting - "RobustBinaryFormat=false" while writing out. - - Hope these changes can work smoothly with present and future - community projects. Maybe we should also consider have an - osgserializer example to test and demonstrate all things we can - do now." - -2013-06-24 08:22 robert - - * src/osgWrappers/serializers/osg/Geometry.cpp: From Wang Rui, - "Sorry for my very slow response because of some personal issues. - I found that new Geometry serializers can't work with old .osgb - files. The modified FastPathHint serializer doesn't correctly - read from the stream and thus jumbles following inputs. The file - attached can be placed in osgWrappers/serializers/osg to fix that - problem. - - " - -2013-06-24 08:19 robert - - * src/osgPlugins/ffmpeg/CMakeLists.txt: From Wang Rui, "The - osgdb_ffmpeg plugin may not work with latest ffmpeg windows sdk - and will say "The procedure entry point xxx could not be located - in xxx.dll" instead. The following link describes the reason - (maybe a certain optimization problem of the VS compiler): - http://forum.videolan.org/viewtopic.php?f=32&t=98097 - - After adding the /OPT:NOREF, the problem has gone. - - " - -2013-06-24 08:18 robert - - * src/osgUtil/TangentSpaceGenerator.cpp: From Farshid Lashkari, "In - many game engines it is common to set the W component of the - tangent vector to -1 if the UVs are mirrored and 1 if not. I've - updated the osgUtil::TangentSpaceGenerator class to do the same." - -2013-06-21 19:35 robert - - * CMakeLists.txt, include/osg/Version: Updated version number after - dev release - -2013-06-21 19:35 robert - - * CMakeLists.txt: Removed spaces from end of lines - -2013-06-21 14:37 robert - - * src/osgUtil/tristripper/src/tri_stripper.cpp: Fixed author name - error introduced by xxdiff - -2013-06-21 14:30 robert - - * AUTHORS.txt: Reapplied AUTHORS changes - -2013-06-21 14:29 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Update ChangeLog and AUTHORS.txt for release - -2013-06-21 14:17 robert - - * src/osgPlugins/dae/daeWGeometry.cpp: Removed unneccessary - handling of BIND_PER_PRIMITIVE on output code - -2013-06-21 13:59 robert - - * include/osgUtil/RenderStage, src/osgUtil/RenderStage.cpp: From - Pjotr Svetachov, introduced use of osg::observer_ptr - in place of osg::Camera* - -2013-06-21 13:41 robert - - * src/osgPlugins/imageio/ReaderWriterImageIO.cpp: From Stephan - Huber, "attached you'll find the missing - readObject-implementations for the imageio-plugin as suggested by - Remo Eichenberger." - -2013-06-21 12:10 robert - - * src/osgPlugins/fbx/fbxRMesh.cpp: From Laurens Voerman, build fix - -2013-06-21 10:59 robert - - * src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeWGeometry.cpp: Build fixes for new - osg::Geometry -2013-06-21 10:14 robert +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 - * src/osgPlugins/dae/daeRGeometry.cpp: Converted - osg::Geometry::ArrayData usage across to osg::Array. -2013-06-21 10:03 robert +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: - * src/osgViewer/View.cpp: From Laurens Voerman, "I just tested - openGL quadbuffered stereo with the osgviewer, the mouse works - again, so does the keystonecorrection, but the right-eye render - to texture camera appears not to clear it's color buffer. - I found the problem in src\osgViewer\View.cpp, fix attached." +osg: +Unsupported associated class osg::UpdateCallback (osg_Drawable_UpdateCallback); +ComputeBoundingBoxCallback -2013-06-21 09:53 robert +osgAnimation: +Unsupported wrapper class osgAnimation::RigComputeBoundingBoxCallback +" - * CMakeModules/FindCOLLADA.cmake: From Mathieu Marache, I needed to - modify the FindCOLLADA.cmake to enable its compilation under - macosx. -2013-06-21 09:47 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14795 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/fbx/fbxRMesh.cpp: Converted ArrayData usage across - to set*Array() usage with new binding parameter -2013-06-21 09:43 robert +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 - * examples/osggeometry/osggeometry.cpp, include/osg/Geometry, - src/osg/Geometry.cpp: Added new osg::Array::Binding parameter to - osg::Geometry::set*Array(osg::Array* array, osg::Array::Binding - binding=osg::Array::BIND_UNDEFINED) methods to make it easier for - the user - to set the binding without the need to call the deprecated - osg::Geometry::set*Binding(osg::Geometry::AttributeBinding) -2013-06-21 09:40 robert +Mon, 16 Mar 2015 17:01:57 +0000 +Checked in by : Robert Osfield +Removed unneccessary library link line.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14793 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osggeometry/osggeometry.cpp: Removed spaces at ends of - lines -2013-06-21 09:17 robert +Mon, 16 Mar 2015 14:16:52 +0000 +Checked in by : Robert Osfield +Removed the using namespace std and replaced with local std:: to make the code clearergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14792 16af8721-9629-0410-8352-f15c8da7e697 - * applications/present3D/Cluster.cpp, src/osgDB/FileUtils.cpp: From - FrancoisTigeot, "OpenSceneGraph 3.0.1 doesn't build out of the - box on DragonFly and needs - a few modifications to these files: - - applications/present3D/Cluster.cpp - - src/osgDB/FileUtils.cpp - - The changes are needed to fix a few platform specific things such - as the - absence of stat64, int/socklen_t differences, etc... and are in - the same - line as Linux, Apple and FreeBSD specific checks. - - I have attached the modified files; the original patches to 3.0.1 - are - also visible here if you find it more convenient: - http://dl.wolfpond.org/dports/graphics.osg/dragonfly/patch-applications_present3D_Cluster.cpp - http://dl.wolfpond.org/dports/graphics.osg/dragonfly/patch-src_osgDB_FileUtils.cpp - - With these changes, osg 3.0.1 is able to be built and packaged on - DragonFly - whereas it previously failed to compile." -2013-06-21 08:56 robert +Mon, 16 Mar 2015 12:13:44 +0000 +Checked in by : Robert Osfield +Refactored the command line setup to enable better control of set up. Added WindowSizeHandler to allow for adjustment of window size.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14791 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgViewer/GraphicsWindowX11.cpp: From Matthias Helsing, "Here - is the changed source to prefer using _NET_WM_STATE_ABOVE but - fall back to XRaiseWindow should the Atoms not be supported. I'm - not sure how many might be using the raiseWindow feature but I - needed it for a splash on Ubuntu 12.04." -2013-06-21 08:37 robert +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 - * src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/png/ReaderWriterPNG.cpp: From Farshid Lashkari, - "I've updated the dds, png, and jpeg plugins to support writing - images with the GL_DEPTH_COMPONENT pixel format. They will simply - treat it the same as the GL_LUMINANCE pixel format." -2013-06-21 08:03 robert - - * CMakeLists.txt: From Jan Ciger, " I have put there in the comment - a nicer way of doing version - checks, but that needs at least CMake 2.6.2." - -2013-06-20 16:44 robert - - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp, - src/osgViewer/config/SingleWindow.cpp: Fixed the handling the - mouse min/max ranges of slave Cameras that have a parent Camera - with a viewport. - -2013-06-20 15:48 robert - - * src/osgViewer/config/SingleWindow.cpp: Temporarily commented out - call to view.assignStereoOrKeystoneToCamera() for implementing - stereo as this was causing problem in trackball manipulation - -2013-06-20 15:18 robert - - * src/osg/Geometry.cpp: Added local namespace for util functions, - and fixed the return type of checkDeprecatedData() - -2013-06-20 12:15 robert - - * include/osgParticle/Particle: From Vladimir Chebaev, "I worked - with osg::Particle and see that this class has setter - osgParticle::setTextureTileRange and has no getters for startTile - and endTile. This can be very uncomfortable. - I attached file with two getters." - -2013-06-20 10:59 robert - - * src/osg/State.cpp: Commented out verbose debug messages for - shader composition - -2013-06-20 10:42 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Updated ChangeLog and AUTHORS file - -2013-06-20 10:05 robert - - * src/osgQt/GraphicsWindowQt.cpp: From Juan Manuel Alvarez, "When - handling keyboard events on osgQt, if a key is kept pressed, - multiple sequences of KEYDOWN -> KEYUP events are fired. - - This is because Qt auto repeats keyboard events, so multiple - calls are made to GLWidget::keyPressEvent and - GLWidget::keyReleaseEvent by Qt, and subsequently translated to - OSG events. - - The way to solve this is ignoring key released auto repeated - events (see - http://qt-project.org/doc/qt-4.8/qkeyevent.html#isAutoRepeat), so - multiple KEYDOWN events are fired, but only one KEYUP. - - I attach a modified osgQt/GraphicsWindowQt.cpp with this change." - -2013-06-20 09:30 robert - - * include/osgQt/GraphicsWindowQt: From Jan Ciger, compilation fix - for Qt 5.0.2 - -2013-06-20 09:27 robert - - * src/osgPlugins/ive/DataInputStream.cpp: From Laurens Voerman, - build fix for VS. - -2013-06-19 17:28 robert - - * examples/osgoscdevice/CMakeLists.txt, - examples/osgoscdevice/osgoscdevice.cpp: Removed svn:executable - property. - -2013-06-19 17:26 robert - - * src/osgPlugins/ZeroConfDevice/AutoDiscovery.cpp, - src/osgPlugins/ZeroConfDevice/AutoDiscovery.h, - src/osgPlugins/ZeroConfDevice/AutoDiscoveryBonjourImpl.h, - src/osgPlugins/ZeroConfDevice/AutoDiscoveryWinImpl.cpp, - src/osgPlugins/ZeroConfDevice/AutoDiscoveryWinImpl.h, - src/osgPlugins/ZeroConfDevice/CMakeLists.txt, - src/osgPlugins/ZeroConfDevice/ReaderWriterZeroConfDevice.cpp, - src/osgPlugins/ZeroConfDevice/mdns_win/ClientCommon.c, - src/osgPlugins/ZeroConfDevice/mdns_win/ClientCommon.h, - src/osgPlugins/ZeroConfDevice/mdns_win/dns-sd.c, - src/osgPlugins/ZeroConfDevice/mdns_win/dns_sd.h: Removed - svn:executable property - -2013-06-19 17:25 robert - - * src/osgPlugins/RestHttpDevice/CMakeLists.txt, - src/osgPlugins/RestHttpDevice/ReaderWriterRestHttpDevice.cpp, - src/osgPlugins/RestHttpDevice/RestHttpDevice.cpp, - src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp, - src/osgPlugins/RestHttpDevice/connection.cpp, - src/osgPlugins/RestHttpDevice/connection.hpp, - src/osgPlugins/RestHttpDevice/header.hpp, - src/osgPlugins/RestHttpDevice/io_service_pool.cpp, - src/osgPlugins/RestHttpDevice/io_service_pool.hpp, - src/osgPlugins/RestHttpDevice/mime_types.cpp, - src/osgPlugins/RestHttpDevice/mime_types.hpp, - src/osgPlugins/RestHttpDevice/reply.cpp, - src/osgPlugins/RestHttpDevice/reply.hpp, - src/osgPlugins/RestHttpDevice/request.hpp, - src/osgPlugins/RestHttpDevice/request_handler.cpp, - src/osgPlugins/RestHttpDevice/request_handler.hpp, - src/osgPlugins/RestHttpDevice/request_parser.cpp, - src/osgPlugins/RestHttpDevice/request_parser.hpp, - src/osgPlugins/RestHttpDevice/server.cpp, - src/osgPlugins/RestHttpDevice/server.hpp, - src/osgPlugins/osc/CMakeLists.txt, - src/osgPlugins/osc/OscReceivingDevice.cpp, - src/osgPlugins/osc/OscReceivingDevice.hpp, - src/osgPlugins/osc/OscSendingDevice.cpp, - src/osgPlugins/osc/OscSendingDevice.hpp, - src/osgPlugins/osc/ReaderWriterOscDevice.cpp: Removed - svn:executable property. - -2013-06-19 16:24 robert - - * examples/osgdelaunay/osgdelaunay.cpp, - examples/osgocclusionquery/osgocclusionquery.cpp, - include/osg/Geometry, src/osg/Geometry.cpp, - src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/normals/Normals.cpp, - src/osgPlugins/obj/OBJWriterNodeVisitor.cpp, - src/osgPlugins/stl/ReaderWriterSTL.cpp, - src/osgPlugins/vrml/ConvertToVRML.cpp, src/osgSim/ScalarBar.cpp, - src/osgUtil/MeshOptimizers.cpp, src/osgUtil/Tessellator.cpp, - src/osgUtil/TriStripVisitor.cpp, - src/osgWrappers/serializers/osg/Geometry.cpp: Cleaned up usage of - BIND_PER_PRIMITIVE where possible. - -2013-06-19 12:32 robert - - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp: From Magnus - Kessler, typo fixes to doxygen docs and comments - -2013-06-19 12:28 robert - - * src/osgUtil/tristripper/src/tri_stripper.cpp: From Magnus - Kessler, "gcc-4.8 flagged this: - - src/osgUtil/tristripper/src/tri_stripper.cpp:375:40: warning: - typedef - ‘tri_node_iter’ locally defined but not used - [-Wunused-local-typedefs] - typedef triangle_graph::node_iterator tri_node_iter; - ^ - --- - src/osgUtil/tristripper/src/tri_stripper.cpp | 1 - - 1 file changed, 1 deletion(-) - - diff --git a/src/osgUtil/tristripper/src/tri_stripper.cpp - b/src/osgUtil/tristripper/src/tri_stripper.cpp - index 2f5a7f3..3396881 100644 - --- a/src/osgUtil/tristripper/src/tri_stripper.cpp - +++ b/src/osgUtil/tristripper/src/tri_stripper.cpp - @@ -372,7 +372,6 @@ inline tri_stripper::const_link_iterator - tri_stripper::BackLinkToNeighbour(const - - void tri_stripper::MarkTriAsTaken(const size_t i) - { - - typedef triangle_graph::node_iterator tri_node_iter; - typedef triangle_graph::out_arc_iterator tri_link_iter; - - // Mark the triangle node" - -2013-06-19 12:27 robert - - * src/osgUtil/tristripper/include/detail/cache_simulator.h, - src/osgUtil/tristripper/include/detail/connectivity_graph.h, - src/osgUtil/tristripper/include/detail/graph_array.h, - src/osgUtil/tristripper/include/detail/heap_array.h, - src/osgUtil/tristripper/include/detail/policy.h, - src/osgUtil/tristripper/include/detail/types.h, - src/osgUtil/tristripper/include/tri_stripper.h, - src/osgUtil/tristripper/src/connectivity_graph.cpp, - src/osgUtil/tristripper/src/policy.cpp, - src/osgUtil/tristripper/src/tri_stripper.cpp: Converted tabs to - four spaces - -2013-06-19 12:19 robert - - * include/osg/GL: From Jan Ciger, "I have found a problem when - building OSG with Qt 5 support. Qt has the - following in the qopengl.h header: - - # include - # ifndef GL_DOUBLE - # define GL_DOUBLE GL_FLOAT - # endif - # ifndef GLdouble - typedef GLfloat GLdouble; - # endif - - Unfortunately, when building for normal OpenGL (not GL/ES!) on - Windows - with MSVC2012, GLdouble is not defined (it is not a macro but - typedef) - and the code above produces a conflicting definition, making the - compile fail. I am attaching a bit hackish workaround for this - problem - in osg/GL " - -2013-06-19 10:56 robert - - * examples/osgcomputeshaders/osgcomputeshaders.cpp, - examples/osgimpostor/osgimpostor.cpp, src/osg/Geometry.cpp, - src/osgPlugins/Inventor/ConvertToInventor.cpp, - src/osgPlugins/ive/Geometry.cpp, - src/osgPlugins/md2/ReaderWriterMD2.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/vrml/IndexedFaceSet.cpp, - src/osgPlugins/vrml/Primitives.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.h, - src/osgWrappers/deprecated-dotosg/osg/Geometry.cpp, - src/osgWrappers/serializers/osg/Geometry.cpp: Build fixes for new - deprecated osg::Geometry functions - -2013-06-18 19:09 robert - - * examples/osgimpostor/osgimpostor.cpp, src/osg/Geometry.cpp, - src/osgPlugins/Inventor/ConvertToInventor.cpp, - src/osgPlugins/ive/Geometry.cpp, - src/osgPlugins/md2/ReaderWriterMD2.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.h, - src/osgWrappers/deprecated-dotosg/osg/Geometry.cpp: Added #define - OSG_USE_DEPRECATED_GEOMETRY_METHODS usage into code to allow code - to compile enen when CMake configuration has set the #define to - off in include/osg/Config. - -2013-06-18 17:49 robert - - * src/osgPlugins/ac/ac3d.cpp: Moved the assignment of the normal - binding to after the setNormalArray call - -2013-06-18 17:48 robert - - * src/osgPlugins/pfb/ConvertFromPerformer.cpp: Moved the - Geometry::set*Binding to after the set*Array() to prevent - problems when using the deprecated functionality. - -2013-06-18 15:54 robert - - * src/osg/Geometry.cpp: Removed BIND_PER_PRIMITIVE reference - -2013-06-18 15:03 robert - - * src/osgWrappers/deprecated-dotosg/osg/Geometry.cpp: Moved the set - binding and normalize for VertexAttrib to after the VertexAttrib - array assignment - -2013-06-18 14:52 robert - - * include/osg/Array, include/osg/Geometry: Changed header guard - back to original, and removed deprecated enum - -2013-06-18 14:22 robert - - * src/osgPlugins/ive/Geometry.cpp: Fixed order of binding. - -2013-06-18 11:49 robert - - * include/osg/GeometryNew, src/osg/GeometryNew.cpp: Removed - experiment GeometryNew as it's no longer required. - -2013-06-18 11:18 robert - - * CMakeLists.txt, applications/osgfilecache/osgfilecache.cpp, - examples/osganimationhardware/osganimationhardware.cpp, - examples/osggeometry/osggeometry.cpp, - examples/osgimpostor/osgimpostor.cpp, - examples/osgsharedarray/osgsharedarray.cpp, include/osg/Array, - include/osg/ArrayDispatchers, include/osg/Geometry, - src/osg/ArrayDispatchers.cpp, src/osg/CMakeLists.txt, - src/osg/Config.in, src/osg/Geode.cpp, src/osg/Geometry.cpp, - src/osg/GraphicsCostEstimator.cpp, - src/osgAnimation/MorphGeometry.cpp, - src/osgAnimation/RigGeometry.cpp, - src/osgAnimation/RigTransformHardware.cpp, - src/osgFX/BumpMapping.cpp, src/osgPlugins/ac/Geode.cpp, - src/osgPlugins/ive/Geometry.cpp, - src/osgPlugins/pov/POVWriterNodeVisitor.cpp, - src/osgUtil/EdgeCollector.cpp, src/osgUtil/MeshOptimizers.cpp, - src/osgUtil/Optimizer.cpp, src/osgUtil/RenderBin.cpp, - src/osgUtil/Simplifier.cpp, src/osgUtil/SmoothingVisitor.cpp, - src/osgUtil/Statistics.cpp, - src/osgUtil/TangentSpaceGenerator.cpp, - src/osgUtil/Tessellator.cpp, src/osgUtil/TriStripVisitor.cpp, - src/osgWrappers/deprecated-dotosg/osg/Geometry.cpp, - src/osgWrappers/serializers/osg/Geode.cpp, - src/osgWrappers/serializers/osg/Geometry.cpp: Clean up up - osg::Geometry, removing long deprecated support for array indices - and BIND_PER_PRIMITIVE binding that forced OpenGL slow paths. - osg::Geometry is now smaller and only supports OpenGL fasts - paths. - New methods osg::Geometry::containsDeprecatedData() and - osg::Geometry::fixDeprecatedData() provide a means for converting - geometries that still use the array indices and - BIND_PER_PRIMITIVE across to complient - versions. - - Cleaned up the rest of the OSG where use of array indices and - BIND_PER_PRIMITIVE were accessed or used. - -2013-06-14 09:43 robert - - * src/osgText/TextBase.cpp: Fixed TextBase::computeBound() so it - take into account all corners of the text box thus ensuring - proper handling of rotated text - -2013-06-12 12:49 robert - - * include/osgDB/fstream, src/osgDB/fstream.cpp, - src/osgPlugins/osga/OSGA_Archive.cpp, - src/osgPlugins/osga/OSGA_Archive.h: From Martin Naylor, replace - osgDB::fstream with an osgDB::open() call. - -2013-06-11 10:52 robert - - * examples/osgtessellationshaders/osgtessellationshaders.cpp, - include/osg/PatchParameter, include/osg/Program, - include/osg/StateAttribute, src/osg/CMakeLists.txt, - src/osg/PatchParameter.cpp, src/osg/Program.cpp, - src/osgWrappers/serializers/osg/PatchParameter.cpp: Introduced - new osg::PatchParameter StateAttribute class to wrap up - glPatchParameter associated state. - Note, osg::Program::setParameter(GL_PATCH_VERTICES,num); is - nolonger support and should be replaced by using the new - PatchParameter class. - -2013-06-11 10:49 robert - - * examples/osgtessellationshaders/osgtessellationshaders.cpp: Fixed - indentation - -2013-06-11 09:05 robert - - * include/osgDB/ReaderWriter, src/osgDB/Registry.cpp: Refactored - the way the ReadResult/WriteResult lists are handled, with them - now being sorted so that the Read/WriteResult with highest - numerical value ReadStatus/WriteStatus is returned. - Changed the enum order of ReadStatus/WriteStatus to ensure that - the more relevant errors are last and with the highest numerical - value - -2013-06-10 14:34 robert - - * CMakeLists.txt, examples/CMakeLists.txt, - examples/osgQtBrowser/CMakeLists.txt, - examples/osgQtBrowser/osgQtBrowser.cpp, - examples/osgQtWidgets/CMakeLists.txt, - examples/osgQtWidgets/osgQtWidgets.cpp, - examples/osgqfont/CMakeLists.txt, examples/osgqfont/osgqfont.cpp, - examples/osgviewerQt/CMakeLists.txt, - examples/osgviewerQt/osgviewerQt.cpp, - include/osgQt/GraphicsWindowQt, - include/osgQt/QGraphicsViewAdapter, include/osgQt/QWebViewImage, - src/CMakeLists.txt, src/OpenThreads/CMakeLists.txt, - src/OpenThreads/qt/CMakeLists.txt, - src/OpenThreads/qt/QtConditionPrivateData.h, - src/OpenThreads/qt/QtMutexPrivateData.h, - src/OpenThreads/qt/QtThread.cpp, - src/OpenThreads/qt/QtThreadPrivateData.h, - src/osgQt/CMakeLists.txt, src/osgQt/GraphicsWindowQt.cpp, - src/osgQt/QFontImplementation.cpp, - src/osgQt/QGraphicsViewAdapter.cpp, src/osgQt/QWidgetImage.cpp: - From Kristofer Tingdahl, with additions from Riccardo Corsi and - Robert Milharcic, support for Qt5 build - -2013-06-10 10:37 robert - - * include/osg/NodeCallback: Fixed remove and add callback so they - properly handle nested callbacks - -2013-06-07 10:54 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Marcin Prus, "I - don't know if you seen my second reply to your information about - merging my Image and dds plugin changes. I found one problem in - your latest submit. In ReaderWriterDDS::ComputeImageSizeInBytes - pixelFormat and pixelType are not passed into - osg::Image::computeImageSizeInBytes. - - It's - return osg::Image::computeImageSizeInBytes(width, height, depth, - packing, slice_packing, image_packing); - but I think it should be - return osg::Image::computeImageSizeInBytes(width, height, depth, - pixelFormat, pixelType, packing, slice_packing, image_packing);" - -2013-06-07 10:52 robert - - * examples/osgsharedarray/osgsharedarray.cpp: From Mathias - Froehlich, "attached is a change to osgsharedarray to move - completely to the fast geometry - path. Also the arrays are moved back to static storage since this - is the data - that is actually referenced in draw. So the change moving this - onto the stack - that happend somewhere before broke this." - -2013-06-06 08:23 robert - - * src/osgViewer/Renderer.cpp: Replaced OpenThreads::Mutex with a - OpenThreads::ReentrantMutex to allow draw callbacks to use - Renderer. - -2013-06-05 07:55 robert - - * include/osg/Array: Reorder member variables to ensure better - packing in memory. - -2013-06-05 07:27 robert - - * include/osg/Array, include/osg/GeometryNew, - src/osg/GeometryNew.cpp: Moved the Array::AttribDivisor into the - Array::Binding enum to avoid conflicts in settings between - Binding and AttribDivisor. - - Removed the vertify bindings/shared arrays handling from - GeometryNew - -2013-06-04 19:04 robert - - * include/osg/Array, include/osg/ArrayDispatchers, - include/osg/GeometryNew, src/osg/ArrayDispatchers.cpp, - src/osg/GeometryNew.cpp: Updates to GeometryNew, Array and - ArraDispatchers to clean up GeometryNew so that is no longer uses - ArrayData. - -2013-06-04 14:55 robert - - * include/osg/Array: Added s/getNormalize(), - s/getPreserveDataType(), s/getAttribDivisor() and s/getBinding() - to osg::Array base class in preperation for refactor of - osg::Geometry and introduction of new features. - -2013-06-04 14:43 robert - - * examples/CMakeLists.txt, examples/osggeodemo: Removed now - redundent osggeodemo - -2013-06-04 13:29 robert - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/geo: Removed geo - plugin as the modelling tool it was assocaited is long defunct. - -2013-06-04 10:06 robert - - * examples/osgoscdevice/osgoscdevice.cpp, - examples/osgphotoalbum/osgphotoalbum.cpp, - examples/osgpick/osgpick.cpp: Cleaned up BIND_PER_PRIMITIVE and - array indice usage - -2013-06-04 09:32 robert - - * examples/osggeometry/osggeometry.cpp, include/osg/GeometryNew, - src/osg/CMakeLists.txt, src/osg/GeometryNew.cpp: Introduced - GeometryNew which is a cleaned up version of Geometry that - removes support for array indices. - GeometryNew is only temporary and will be renamed to Geometry on - the completion of refactoring work and feedback from community. - Ported osggeometry across to use GeometryNew. - -2013-06-04 09:29 robert - - * examples/osganimate/osganimate.cpp: Removed deprecated usage of - osg::Geometry indices and BIND_PER_PRIMITIVE - -2013-06-03 15:10 robert - - * include/osg/Texture, src/osg/Texture.cpp, - src/osgWrappers/serializers/osg/Texture.cpp: From Aurelien - Albert, Added support for texture swizzle. - -2013-06-03 14:38 robert - - * CMakeLists.txt, include/osg/Version: Updated version and - so_version in prep for 3.1.8 developer release - -2013-06-03 14:27 robert - - * CMakeModules/FindFBX.cmake, - src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/ReaderWriterFBX.h, - src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.h, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.h, - src/osgPlugins/fbx/fbxRAnimation.cpp, - src/osgPlugins/fbx/fbxRCamera.cpp, - src/osgPlugins/fbx/fbxRLight.cpp, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRNode.cpp, - src/osgPlugins/fbx/fbxReader.h: From Laurens Voerman, "Autodesk - released a new version of their FBX Software Development Kit (web - page - http://usa.autodesk.com/adsk/servlet/pc/item?siteID=123112&id=10775847). - The API has changed quite a bit, so lots of changes had to be - made in the osg readerwriter. The preious version of the FBX SDK - (2013.3) already deprecated a lot of the names and functions. The - code I submit now still compiles against 2013.3 (possibly needs a - #define FBX_NEW_API). Not sure if that's useful, but it might - ease the transition." - -2013-06-03 14:04 robert - - * src/osgPlugins/gif/ReaderWriterGIF.cpp: From Laurens Voerman, - "while updating dependencies I found a problem with libgif 5 from - http://sourceforge.net/projects/giflib/ - a change in version 5.0.0 required a call to the fuction - "DGifOpen" to pass an int ref for an error code. - My fix ignores the error, just fixes the compile." - -2013-06-03 14:01 robert - - * src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/fbxRLight.cpp: From Sergey Polischuk, "this - patch fixes light id in gl modes for osg::LightSource's readed - from fbx (previously all lightsources were setting GL_LIGHT0 - mode, while osg::Lights were using different id's), and enables - GL_LIGHT# on root node for all lights contained in model - " - -2013-06-03 13:13 robert - - * include/osgDB/InputStream, include/osgDB/OutputStream, - include/osgDB/Serializer, src/osgDB/InputStream.cpp: Added Vec*b, - Vec4ub, Vec*s, Vec*i, Vec*ui serializers - -2013-06-03 12:19 robert - - * src/osg/CMakeLists.txt: Added Vec2i, Vec2ui, Vec3i, Vec3ui, Vec4i - and Vec4ui headers to CMake header list - -2013-06-03 11:38 robert - - * include/osg/Vec2i, include/osg/Vec2ui, include/osg/Vec3i, - include/osg/Vec3ui, include/osg/Vec4i, include/osg/Vec4ui: From - Art Tevs, int and uint Vec classes - -2013-06-03 09:19 robert - - * include/osg/GL2Extensions, src/osg/GL2Extensions.cpp: From - Aurelien Albert, "This submission is made against trunk version - and add the loading of "glVertexAttribDivisor" extension." - -2013-05-31 10:28 robert - - * CMakeLists.txt: From Laurens Voerman, "I made some changes to the - top level CMakeLists.txt that might be usefull to other - visualstudio users. - 1> Disable project grouping for VCExpress users: the version I - proposed previously in - Re: [osg-submissions] Cmake patch to support folders in IDE (29 - Feb 2012) - - 2> Remove FIND_PACKAGE(OpenAL): not used in any project - - 3> add /wd4250 for Visual Studio 2012: - suppress the errors caused by a microsoft fix for a bugfix. - ref: "Warning messages VS2012..." on osg-users (30 May 2012) - " - -2013-05-31 10:23 robert - - * include/osgGA/GUIEventAdapter: From Ulrich Hertlein, "attached is - a patch that fixes another clang++ compiler warning when - returning - std::vector::size() as 'unsigned int'. - " - -2013-05-30 09:07 robert - - * src/osgPlugins/nvtt/NVTTImageProcessor.cpp: From Wang Rui, "The - osgdb_nvtt plugin needs to be updated to work with the latest - NVTT library, which changes the interface slightly (adding a new - pure virtual method endImage()). I've modified the source file - and attached it here." - -2013-05-28 19:16 robert - - * src/osgViewer/config/PanoramicSphericalDisplay.cpp, - src/osgViewer/config/PanormaicSphericalDisplay.cpp: Renamed - PanoramicSphericalDisplay.cpp to fix a typo - -2013-05-28 16:39 robert - - * ChangeLog, applications/osgversion/Contributors.cpp: Updated - ChangeLog and Contributors list - -2013-05-28 15:43 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Farshid Lashkari, - "The logic for handling opacity maps in the 3ds reader seems to - be incorrect. It checks whether the diffuse texture contains - transparency, instead of the opacity texture. If the diffuse does - not contain an alpha channel it outputs the warning: - - The plugin does not support images without alpha channel for - opacity - - This seems to indicate that the check for alpha should be against - the opacity map. I've attached the updated file. - - " - -2013-05-28 15:40 robert - - * src/osg/State.cpp: From Michael Bach Jensen and Robert Osfield, - "As discussed - (http://forum.openscenegraph.org/viewtopic.php?t=12027) here is - my submission :-) - - The following change to State.cpp fixes the case where textures - in a stateset along with a compute shader program did not make - those textures available to the shader, since it got evaluated - before the texture bind(s)." - - Note from Robert, Michael only change State::apply(StateSet*) so - I also applied the same reversal in apply of texutre modes/state - into the State::apply() method for consistency. - -2013-05-28 15:18 robert - - * src/osgPlugins/ive/Text.cpp: Replaced the initialization of the - strarray to use reseve instead of a initial size provided in the - constructor as this was leading to a bug in output. - -2013-05-28 14:40 robert - - * include/osgShadow/ViewDependentShadowMap: Fixed date typo - -2013-05-28 14:35 robert - - * src/osg/State.cpp: From Farshid Lashkari, "I just started looking - into the shader composition feature. I enabled shader composition - on the osg::State object and noticed a 6x increase in draw time. - I figured that the default composer might have performance - issues, so I created a custom ShaderComposer that overrides - "getOrCreateProgram" and does nothing. This still resulted in a - performance drop. - - I looked into the "State::applyShaderComposition" method and - noticed that it will print debug information to the osg::INFO - stream. I commented that line out and the performance drop was - gone. - - I'm not sure if the printing was accidentally left in or is meant - to be enabled. I've modified the function to only call the print - function if INFO logging is enabled. I've attached the change." - -2013-05-28 14:14 robert - - * examples/osgphotoalbum/ImageReaderWriter.cpp, include/osg/Image, - src/osg/Image.cpp, src/osgPlugins/dds/ReaderWriterDDS.cpp: From - Marcin Prus and Robert Osfield, moved the key parts of the .dds - plugins computeRowWidthInBytes implementation into the - osg::Image::computeImageSizeInBytes(..) to - address bugs in the computation of image size. - -2013-05-28 11:47 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Sukender, "Added - ".dds" file deletion on writing failure." - -2013-05-28 11:46 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Sukender, "Added - vertical flipping to the writer depending on the - Image::getOrigin() value (= flip the image when - Image::BOTTOM_LEFT). Most of the time this will not change DDS - writing (= no v-flip), as it seems images are rarely - "BOTTOM_LEFT". To skip this behaviour, the "ddsNoAutoFlipWrite" - option was added. - I also moved a few lines of code about "dds_flip" option, and - made options reading more like in other ReaderWriters." - -2013-05-28 11:44 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Diane Delallée & - Sukender, "Added some support of non-modulus-4 dimensions in - S3TC-DXTC images (previous implementation seem just not to handle - these properly). - - Added missing packing value on S3TC images. Images are coded - with 4x4 blocs, whatever the image size. So there is an - horizontal packing of 4 pixels (2 bytes in DXT1, 4 bytes in - DXT2-5). - - Added crash guard against writing corrupted S3TC images. - Notes: - - What is missing is a support of "lines packing" in osg::Image - (see code comments). - - S3TC-DXTC vertical flipping crashes (access violation) with - some unusual dimensions (see code). I could not implement missing - cases, so I added guards to avoid crashing." - -2013-05-28 11:25 robert - - * src/osg/Image.cpp, src/osg/dxtctool.cpp, src/osg/dxtctool.h: From - Diane Delallée and Sukender, "1. Image.cpp - Failure to perform a vertical flip on S3TC-DXTC now simply leaves - the original image instead of corrupting it. - Image.cpp was sometimes performing a "normal" (= for uncompressed - images) vertical flip on S3TC-DXTC images, producing weird - results. - Actually, code was trying a "DXTC vertical flip" and relied on - the result to call a "normal vertical flip". But when the "DXTC - v-flip" encounters an error, this is is not necessarily because - the image is not S3TC (ex: unhandled image dimensions)! - So now the code simply does "if dxtc, then flip_dxtc; else - flip_normal;". - - Note from Robert Osfield, moved the isDXT function into the - dxt_tool file and namespace. - -2013-05-28 10:46 robert - - * src/osgPlugins/OpenFlight/PrimaryRecords.cpp: Fixed the - computation of the spot light direction. - -2013-05-28 09:20 robert - - * src/osgViewer/View.cpp: Fixed View::setUpViewInWindow() parameter - -2013-05-28 08:38 robert - - * src/osg/GLExtensions.cpp: Added an OSG_INIT_SINGLETON_PROXY(..) - to initialize the static s_GLExtensionDisableString variable - -2013-05-27 09:10 robert - - * AUTHORS.txt: Updated AUTHORS file - -2013-05-27 09:07 robert - - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Updated - AUTHORS file - -2013-05-27 09:05 robert - - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS file - -2013-05-27 08:13 robert - - * examples/osgforest/osgforest.cpp: From Martin Naylor, "I am - receiving 1 build error whilst building the SVN, its in osgforest - as follows: - - error C2065: 'GL_RGBA32F' : undeclared identifier - - Shoudlnt that be GL_RGBA32F_ARB as defined in texture header? - - Attached is the easy fix :)." +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 -2013-05-27 08:10 robert - * include/osg/Camera, src/osgUtil/SceneView.cpp: Moved quad buffer - definitions into include/osg/Camera +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 -2013-05-26 10:44 robert +USE_SERIALIZER_WRAPPER(Callback) +" - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Updated - AUTHORS file -2013-05-26 10:27 robert - * ChangeLog: Updated ChangeLog +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14786 16af8721-9629-0410-8352-f15c8da7e697 -2013-05-25 10:09 robert - * src/osgUtil/TangentSpaceGenerator.cpp: From Farshid Lashkari, " - small update to TangentSpaceGenerator to support QUAD_STRIP - primitive types." +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 -2013-05-24 17:16 robert - * src/osg/Uniform.cpp, src/osgViewer/Scene.cpp: Resrtuctured the - use of static's in the Uniform::getNameID() method to avoid - problems under Android. +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. -2013-05-24 17:06 robert +Tested with Visual Studio Express 2013 on 64bit windows 7" - * examples/osgAndroidExampleGLES1/jni/osgNativeLib.cpp, - examples/osgAndroidExampleGLES2/jni/osgNativeLib.cpp: From Jordi - Torres, "We must use JNI_FALSE instead of false in JNI code. - Otherwise the examples will not compile. This patch should be - applied to osgAndroidExampleGLES1/jni and - osgAndroidExampleGLES2/jni. the osgNativeLib.cpp is the same. " -2013-05-24 09:43 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14782 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Removed redudent code -2013-05-24 09:35 robert +Thu, 12 Mar 2015 13:41:00 +0000 +Checked in by : Robert Osfield +From Mattias Helsing, add copyright notice from other osgjs header to the json_stream headergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14781 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgGA/Device, include/osgGA/EventQueue, - include/osgViewer/CompositeViewer, - include/osgViewer/GraphicsWindow, include/osgViewer/View, - include/osgViewer/Viewer, include/osgViewer/ViewerBase, - include/osgViewer/api/Carbon/GraphicsWindowCarbon, - include/osgViewer/api/Cocoa/GraphicsWindowCocoa, - include/osgViewer/api/IOS/GraphicsWindowIOS, - include/osgViewer/api/Win32/GraphicsWindowWin32, - include/osgViewer/api/X11/GraphicsWindowX11, - src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp, - src/osgPlugins/ZeroConfDevice/ReaderWriterZeroConfDevice.cpp, - src/osgPlugins/osc/OscReceivingDevice.hpp, - src/osgPlugins/sdl/JoystickDevice.cpp, - src/osgPlugins/sdl/JoystickDevice.h, - src/osgViewer/CompositeViewer.cpp, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowCocoa.mm, - src/osgViewer/GraphicsWindowIOS.mm, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/Viewer.cpp: - Fixed panning bug, when using RUN_ON_DEMAND, that resulted in the - camera being thrown off towards infinity. - - The solution for to refactor the way that events are checked so I - add a bool return type to checkEvents() method across - osgViewer::GraphcisWindow, osgGA::Devive and - osgViewer::Viewer/CompositeViewer classes -2013-05-23 18:29 robert - - * src/osgParticle/ParticleSystem.cpp: Added repolation of the - _deadparts stack which would otherwise been invalidatd by the - depth sort of particles. - -2013-05-23 15:55 robert - - * examples/osgforest/osgforest.cpp: From Pawel Ksiezopolski, Added - example of using osg::TextureBuffer + GLSL to render forest. - -2013-05-23 14:14 robert - - * CMakeLists.txt: From David Fries, "This updates the - CMakeLists.txt instructions for the commands - to make the doxygen documentation." - -2013-05-23 12:29 robert - - * src/osgPlugins/vnc/ReaderWriterVNC.cpp: Refactored the idle - mechanism to fix problems with the vnc thread going idle when it - shouldn't have. - -2013-05-23 10:25 robert - - * src/osgWidget/PdfReader.cpp, src/osgWidget/VncClient.cpp: Added - assigned of the InteractiveImageHandler as a cull callback to - enable the interactive image to know when it's being actively - used as part of rendering a frame. - -2013-05-22 15:48 robert - - * src/osgViewer/View.cpp: Quitened down debug messages - -2013-05-22 13:16 robert - - * src/osg/ShaderAttribute.cpp: Removed debug messages - -2013-05-22 13:09 robert - - * src/osgPlugins/vnc/CMakeLists.txt: From Nico Kruithof, "For the - VNC server, it seems that the wrong include path is used. - - Instead of - INCLUDE_DIRECTORIES(${LIBVNCCLIENT_INCLUDE_DIR}) - the CMake variable - INCLUDE_DIRECTORIES(${LIBVNCSERVER_INCLUDE_DIR}) - should be used. - - Attached is a fix for src/osgPlugins/vnc/CMakeLists.txt" - -2013-05-22 12:49 robert - - * include/osg/BufferObject, include/osg/TextureBuffer, - src/osg/BufferObject.cpp, src/osg/CMakeLists.txt, - src/osg/TextureBuffer.cpp: From Pawel Ksiezopolski, first email: - "This submission adds texture buffer object ( defined in - GL_ARB_texture_buffer_object extension ) to the osg::Texture* - family. - - TextureBuffer objects may use osg::Texture::bindToImageUnit(), so - GLSL shaders are able to use not only texelFetch() function , but - also functions defined in GL_ARB_shader_image_load_store - extension : imageLoad(), imageStore(), imageAtomicAdd() etc." - - second email: "After a while I found that - osg::Texture::applyTexParameters() used with TextureBuffer may - cause some OpenGL errors ( applying texture filters and wraps to - TextureBuffer makes no sense ) so I fixed it." - -2013-05-22 11:06 robert - - * src/osgWrappers/serializers/osgAnimation/RigGeometry.cpp: From - Jan Ciger, "Here is a little patch to fix a bug in the - InfluenceMap serialization. The names of the maps weren't quoted - properly and therefore it was breaking loading of rigged models - exported from e.g. Blender. Also names that contained spaces - wouldn't have been parsed properly. " - -2013-05-22 10:28 robert - - * CMakeLists.txt: From David Callu, "ust a simple IF ENDIF mismatch - in last commit (I use git so no available SVN commit number ) : - - CMake Warning (dev) in CMakeLists.txt: - A logical block opening on the line - - /home/ledocc/work/perso/osg_Workspace/osg/CMakeLists.txt:823 (IF) - - closes on the line - - /home/ledocc/work/perso/osg_Workspace/osg/CMakeLists.txt:893 - (ENDIF) - - with mis-matching arguments. - - I remove ENDIF argument, it is no longer needed by cmake" - -2013-05-21 17:41 robert - - * src/osg/State.cpp: From Farshid Lashkari, "I'm working on a - custom ShaderComposer and I need access to the full StateSetStack - of the State object within the getOrCreateProgram() method. The - problem is that "State::apply(const StateSet* dstate)" does not - add the specified stateset to the stack. I'm not sure if this was - intentional, but I've updated the function to push/pop the - stateset. - - I hope the change seems reasonable. I searched the entire code - base for code that accesses the StateSetStack, and noticed - RenderBin and RenderStage use it. However, I don't think that - code would ever be called from within the State::apply() - function, so I'm fairly confident the change should be safe." - -2013-05-21 10:22 robert - - * CMakeLists.txt, src/osgDB/CMakeLists.txt, - src/osgViewer/CMakeLists.txt: From Valeriy Dubov, fix for Android - build under OSX - -2013-05-21 09:48 robert - - * src/osgManipulator/Dragger.cpp: From Alexander Sinditskiy, "I - just noticed that Dragger allways handle events even when - handle(const PointerInfo&, const osgGA::GUIEventAdapter&, - osgGA::GUIActionAdapter&) - returns false.I think it is not correct...i think handled should - be changed only when it is really handled." - -2013-05-21 09:44 robert - - * src/osgViewer/View.cpp, - src/osgViewer/config/AcrossAllScreens.cpp, - src/osgViewer/config/SingleWindow.cpp: Added use of SingleWindow - for when only one screen is used - -2013-05-20 19:24 robert - - * examples/osgkeystone/osgkeystone.cpp, include/osgViewer/View, - include/osgViewer/config/SingleWindow, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgViewer/config/SingleScreen.cpp, - src/osgViewer/config/SingleWindow.cpp, - src/osgWrappers/serializers/osgViewer/SingleWindow.cpp: - Refactored the support for stereo and keystone RTT setup so that - it can be applied to an existing Camera. - -2013-05-20 14:17 robert - - * include/osgViewer/config/SingleWindow, - src/osgViewer/config/SingleWindow.cpp, - src/osgWrappers/serializers/osgViewer/SingleWindow.cpp: Added - support for controlling border and override redirect to the - SingleWindow View::Config - -2013-05-20 10:23 robert - - * src/osgViewer/View.cpp: Added a dedicated RTT texture for each of - the left and right eyes when doing ANAGLYPHIC stereo to avoid - issues with scene graphs containing ClearNode's such as when - using in Present3D - -2013-05-16 15:52 robert - - * src/osgViewer/View.cpp: Added support for setting the left/right - cull masks - -2013-05-16 14:51 robert - - * src/osg/DisplaySettings.cpp: Changed the default of - OSG_SPLIT_STEREO_AUTO_ADJUST_ASPECT_RATIO to OFF - -2013-05-16 14:11 robert - - * src/osgViewer/View.cpp: Fixed stereo offsets of HORIZONTAL_SPLIT - and VERTICAL_SPLIT stereo modes - -2013-05-16 14:07 robert - - * examples/osgkeystone/osgkeystone.cpp: Reverted back to changes - before experiements with ViewConfig - -2013-05-16 10:28 robert - - * src/osgViewer/Viewer.cpp: Cleaned up the WoWVxDisplay command - line parsing - -2013-05-16 10:11 robert - - * examples/osgkeystone/osgkeystone.cpp, include/osgViewer/Config, - include/osgViewer/View, - include/osgViewer/config/AcrossAllScreens, - include/osgViewer/config/PanoramicSphericalDisplay, - include/osgViewer/config/SingleScreen, - include/osgViewer/config/SingleWindow, - include/osgViewer/config/SphericalDisplay, - include/osgViewer/config/WoWVxDisplay, - src/osgViewer/CMakeLists.txt, src/osgViewer/Config.cpp, - src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp, - src/osgWrappers/serializers/osgViewer/Config.cpp, - src/osgWrappers/serializers/osgViewer/PanoramicSphericalDisplay.cpp, - src/osgWrappers/serializers/osgViewer/SingleScreen.cpp, - src/osgWrappers/serializers/osgViewer/SingleWindow.cpp, - src/osgWrappers/serializers/osgViewer/SphericalDisplay.cpp, - src/osgWrappers/serializers/osgViewer/WoWVxDisplay.cpp: Renamed - osgViewer::Config osgViewer::ViewConfig and moved it's - declaration into include/osgViewer. - -2013-05-16 09:08 robert - - * examples/osgkeystone/osgkeystone.cpp, - include/osgViewer/config/PanoramicSphericalDisplay, - include/osgViewer/config/WoWVxDisplay, - src/osgViewer/config/PanormaicSphericalDisplay.cpp, - src/osgViewer/config/WoWVxDisplay.cpp, - src/osgWrappers/serializers/osgViewer/WoWVxDisplay.cpp: Added - WoWVxDisplay view config - -2013-05-15 16:15 robert - - * examples/osgkeystone/osgkeystone.cpp, include/osgViewer/Config, - include/osgViewer/config, - include/osgViewer/config/AcrossAllScreens, - include/osgViewer/config/PanoramicSphericalDisplay, - include/osgViewer/config/SingleScreen, - include/osgViewer/config/SingleWindow, - include/osgViewer/config/SphericalDisplay, - src/osgViewer/CMakeLists.txt, src/osgViewer/Config.cpp, - src/osgViewer/config, src/osgViewer/config/AcrossAllScreens.cpp, - src/osgViewer/config/PanormaicSphericalDisplay.cpp, - src/osgViewer/config/SingleScreen.cpp, - src/osgViewer/config/SingleWindow.cpp, - src/osgViewer/config/SphericalDisplay.cpp, - src/osgWrappers/serializers/osgViewer/AcrossAllScreens.cpp, - src/osgWrappers/serializers/osgViewer/PanoramicSphericalDisplay.cpp, - src/osgWrappers/serializers/osgViewer/SingleScreen.cpp, - src/osgWrappers/serializers/osgViewer/SingleWindow.cpp, - src/osgWrappers/serializers/osgViewer/SphericalDisplay.cpp, - src/osgWrappers/serializers/osgViewer/ViewAcrossAllScreens.cpp, - src/osgWrappers/serializers/osgViewer/ViewInWindow.cpp: Created a - dedicated include/osgViewer/config and src/osgViewer/config - directories to place all the Config classes. - -2013-05-15 12:50 robert - - * src/osgViewer/Viewer.cpp: Added support for osgViewer::Config in - osgViewer::Viewer command line parsing - -2013-05-15 11:31 robert - - * include/osgViewer/Config, src/osgViewer/CMakeLists.txt, - src/osgViewer/Config.cpp, src/osgViewer/Keystone.cpp, - src/osgWrappers/serializers/CMakeLists.txt, - src/osgWrappers/serializers/osgViewer, - src/osgWrappers/serializers/osgViewer/CMakeLists.txt, - src/osgWrappers/serializers/osgViewer/Config.cpp, - src/osgWrappers/serializers/osgViewer/Keystone.cpp, - src/osgWrappers/serializers/osgViewer/ViewAcrossAllScreens.cpp, - src/osgWrappers/serializers/osgViewer/ViewInWindow.cpp: - Introduced osgViewer::Config base class and beginnigs of various - Config implementations. - Introduced osgViewer serializers plugin for serialization support - for osgViewer::Config implementations and Keystone - -2013-05-14 16:23 robert - - * src/osg/Notify.cpp: From Lionel Lagarde, "When a function do: - - OSG_DEBUG << "Hello world!\n"; - - the underlying stream is not automatically flushed. It is flushed - if endl is queued instead of \n: - - OSG_DEBUG << "Hello world!" << std::endl; - - - The notify macros do: - stream->setCurrentSeverity(severity); - return *stream; - - So, if a function do: - - OSG_DEBUG << "This is a debug message\n"; - OSG_NOTICE << "This is a notice message" << std::endl; - - the debug message will be classified as a notice message. - - It is a problem when the application uses a NotifyHandler. The - notify - method of the handler is called with: - - severity = NOTICE - message = "This is a debug message\nThis is a notice message" - - The attached Notify.cpp contains an automatic flush of the stream - when - the current severity changes. - - " - -2013-05-14 16:18 robert - - * include/osg/GL2Extensions: From Michael Kapelko, "The provided - patch (against SVN revision 13380) adds missing constness to - returning calls (without it the user code does not compile)." - -2013-05-14 16:15 robert - - * src/osgPlugins/tga/ReaderWriterTGA.cpp: From Farshid Lashkari, - "The tga image loader was not properly reading in 16-bit images. - Fix is attached." - -2013-05-14 16:12 robert - - * include/osg/BufferObject, include/osg/Geode, include/osg/LOD, - include/osg/PagedLOD, include/osg/Program, include/osg/Shader, - include/osg/StateSet, include/osg/Texture, include/osg/Uniform, - include/osgDB/DatabasePager, include/osgDB/ImagePager, - include/osgDB/Options, include/osgDB/Serializer, - include/osgGA/GUIEventAdapter, include/osgTerrain/Layer, - include/osgTerrain/TerrainTile: From Ulrich Hertlein, "Attached - is a patch that introduces 'static_cast' on some - instances where - the code returns '.size()' of a std::vector. This caused some - warnings when using clang++ - on OS X." - -2013-05-14 13:35 robert +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 - * ChangeLog: Updated ChangeLog -2013-05-14 13:34 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 - * CMakeLists.txt, include/osg/Version: Updated version after dev - release -2013-05-13 13:12 robert +Wed, 11 Mar 2015 17:36:45 +0000 +Checked in by : Robert Osfield +From Laurens Voerman, "The current version will not compile with SDL version 2, error OpenSceneGraph\src\osgPlugins\sdl\JoystickDevice.cpp(42): error C2664: 'const char *SDL_JoystickName(SDL_Joystick *)' : cannot convert argument 1 from 'int' to 'SDL_Joystick *' due to changes in the SDL api.Tested with Visual Studio Express 2013; SDL 2.0.1" - * include/osgUtil/LineSegmentIntersector: Added OSGUTIL_EXPORT for - Windows build -2013-05-13 12:08 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14776 16af8721-9629-0410-8352-f15c8da7e697 - * AUTHORS.txt: Updated version number for dev release -2013-05-13 11:59 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. - * ChangeLog: Updated ChangeLog for dev release - -2013-05-13 11:51 robert - - * CMakeLists.txt: Updated links to svn repository - -2013-05-13 11:02 robert - - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Keystone.cpp, - src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp: Fixed build for - when automatic type conversion isn't enabled for ref_ptr<> - -2013-05-13 09:53 robert - - * src/osgViewer/View.cpp: Fixed the render order to the Render To - Texture cameras used in stereo keystoning. - -2013-05-13 09:49 robert - - * src/osgViewer/Keystone.cpp, src/osgViewer/View.cpp: Improved the - use of the Keystone's defined in the DisplaySettings object. - -2013-05-13 09:18 robert - - * examples/osgkeystone/osgkeystone.cpp, include/osgViewer/View, - src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp: Added to - Viewer::realize() automatic setup using Keystone when available - and enabled, and when no other window setup has been selected. -2013-05-10 17:59 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14775 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgkeystone/osgkeystone.cpp, - include/osg/DisplaySettings, src/osg/DisplaySettings.cpp: Added - DisplaySettings::KeystoneHint flag that can be set via - --keystone-on and --keystone-off command line parameters, and the - OSG_KEYSTONE env var -2013-05-10 16:06 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 - * examples/osgkeystone/osgkeystone.cpp, include/osgViewer/Keystone, - src/osgViewer/Keystone.cpp: Added keystone file handling -2013-05-10 11:56 robert +Tue, 10 Mar 2015 18:15:02 +0000 +Checked in by : Robert Osfield +Work in progress to allow osg::Texture2DArray to be set up with a single osg::Image containing 3D image data.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14773 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgkeystone/osgkeystone.cpp, - src/osg/DisplaySettings.cpp: Added --keystone command - line support into DisplaySettings, and added OSG_KEYSTONE_FILES - env var support into osg::DisplaySettings. -2013-05-10 10:00 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 - * examples/osgkeystone/osgkeystone.cpp, include/osgViewer/Keystone, - include/osgViewer/View, src/osgViewer/View.cpp: Moved Keystone - support from osgkeystone example into osgViewer::View -2013-05-09 15:18 robert +Mon, 9 Mar 2015 11:27:26 +0000 +Checked in by : Robert Osfield +From Cedric Pinson, gles and osgjs plugins that support conversion of OSG loaded models into a form that can be used with osgjs JavaScript librarygit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14770 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgkeystone/CMakeLists.txt, - examples/osgkeystone/osgkeystone.cpp, - include/osg/DisplaySettings, include/osgViewer/Keystone, - src/osgViewer/CMakeLists.txt, src/osgViewer/Keystone.cpp: Moved - Keystone class into osgViewer library. -2013-05-07 14:43 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 - * examples/osgkeystone/osgkeystone.cpp: Cleaned up event handler - and namespaces in prep for integrating keystone functionality - into osgViewer -2013-05-07 13:34 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 - * examples/osgkeystone/osgkeystone.cpp: Added keystone support for - left eye, right eye and quad buffer stereo -2013-05-07 11:13 robert +Thu, 5 Mar 2015 19:26:08 +0000 +Checked in by : Robert Osfield +Updated ChangeLog for dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14765 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgkeystone/osgkeystone.cpp: Added keystone setup to - vertical split stereo suport and cleaned up the horizontal split - stereo code -2013-05-03 20:12 robert +Thu, 5 Mar 2015 10:53:28 +0000 +Checked in by : Robert Osfield +Added check for newline at end of version line, and of it's not add a '\n'git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14761 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgGA/EventQueue.cpp: Commented out debug output -2013-05-03 19:26 robert +Wed, 4 Mar 2015 18:39:04 +0000 +Checked in by : Robert Osfield +Updated SO_VERSION after changes to osgPresentationgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14760 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgcompositeviewer/osgcompositeviewer.cpp, - examples/osgkeystone/osgkeystone.cpp, - examples/osglauncher/osglauncher.cpp, - examples/osgmovie/osgmovie.cpp, - examples/osgmultiplemovies/osgmultiplemovies.cpp, - examples/osgoccluder/osgoccluder.cpp, - examples/osgoscdevice/osgoscdevice.cpp, - examples/osgparticleeffects/osgparticleeffects.cpp, - examples/osgpick/osgpick.cpp, - examples/osgwidgetbox/osgwidgetbox.cpp, include/osgGA/EventQueue, - include/osgGA/GUIEventAdapter, - include/osgUtil/LineSegmentIntersector, - include/osgViewer/CompositeViewer, include/osgViewer/View, - include/osgViewer/Viewer, include/osgViewer/ViewerEventHandlers, - src/osgGA/EventQueue.cpp, src/osgGA/GUIEventAdapter.cpp, - src/osgManipulator/Dragger.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/PickEventHandler.cpp, - src/osgQt/GraphicsWindowQt.cpp, - src/osgUtil/LineSegmentIntersector.cpp, - src/osgViewer/CompositeViewer.cpp, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowCocoa.mm, - src/osgViewer/GraphicsWindowIOS.mm, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgViewer/ViewerEventHandlers.cpp, - src/osgWidget/ViewerEventHandlers.cpp, src/osgWidget/Widget.cpp, - src/osgWidget/WindowManager.cpp: Introduced new scheme for - handling mouse events with osgViewer. The new scheme enables - robust event handling even when using distortion correction - render to texture Cameras. -2013-04-26 10:00 robert +Wed, 4 Mar 2015 18:36:44 +0000 +Checked in by : Robert Osfield +Restructed the osgPresentation and present3D directories back to the structure that was present in OSG-3.2git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14759 16af8721-9629-0410-8352-f15c8da7e697 - * README.txt: As a test of new repository updated date in - README.txt -2013-04-18 17:02 robert +Wed, 4 Mar 2015 17:42:30 +0000 +Checked in by : Robert Osfield +Removed the experiemental osgPresentation classes. These are only partially functional and not appropriate for the stable OSG-3.4 releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14758 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgkeystone/osgkeystone.cpp: Refactored Keystone setup - as a step toward integrating Keystone correction with stereo -2013-04-18 09:47 robert +Tue, 3 Mar 2015 15:26:15 +0000 +Checked in by : Robert Osfield +Updated AUTHORS for 3.3.5 dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14756 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgkeystone/osgkeystone.cpp, include/osgUtil/SceneView, - src/osgUtil/SceneView.cpp, src/osgViewer/Renderer.cpp: - Implemented stereo support into osgkeystone as a testbed for - moving stereo support from SceneView into osgViewer -2013-04-17 11:04 robert +Tue, 3 Mar 2015 14:59:37 +0000 +Checked in by : Robert Osfield +Fixed ClusterCullingCallback parser problem due to osg::Callback not being included in inheritance listgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14755 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgkeystone/osgkeystone.cpp: Implemented initial cut of - anaglyphic stereo -2013-04-16 09:26 robert +Tue, 3 Mar 2015 12:56:09 +0000 +Checked in by : Robert Osfield +Restructed the checks in the CollectLowestTransformsVisitor::removeTransforms() to avoid benign case being flagged as warning.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14753 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgWidget/EventInterface: Changed point to osg::ref_ptr<> - to prevent memory leaks. -2013-04-15 14:21 robert +Tue, 3 Mar 2015 12:03:23 +0000 +Checked in by : Robert Osfield +From Miha Ravselj, "Regarding previous submission it was only partial solution. After further testing I found similar bug also in ClearNode serializer.//GLbitfield mask = GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT; +This line was problematic since it produced incorrect result when let's say COLOR flag is serialized +it should be null as in Camera serializer or in a proposed BitFlagsSerializer - * include/osg/DisplaySettings, include/osg/Viewport, - include/osgUtil/SceneView, include/osgViewer/Renderer, - src/osg/DisplaySettings.cpp, src/osgUtil/SceneView.cpp, - src/osgViewer/Renderer.cpp: Preperation for adding stereo support - direclty into osgViewer. -2013-04-12 13:01 robert +This line of code caused that whenever only GL_COLOR_BUFFER_BIT bit was written and on value read GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT was restored instead of GL_COLOR_BUFFER_BIT only. - * examples/osgkeystone/osgkeystone.cpp: Added support for - enable/disabling the keystone editing using the Ctrl-g key to - toggle the UI and grid on/off. +//GLbitfield mask = 0; //this resolves the issue same as in camera +Also same bit-wise comparison bug was also present in write method. +------------------------------------------------------------------------------------- -2013-04-12 09:05 robert +As you can see there are total 3 bit mask serializers in OSG and all 3 had bugs so I decided to add ADD_BITFLAGS_SERIALIZER and replace USER serializers in osg::Camera, osg::ClearNode and osgText::TextBase. I have made sure that bitflags serializer does not break backwards-compatibility since it uses same code as user serializer does in all 3 cases. (see tester.cpp on how compatibility test was performed)" - * examples/osgkeystone/osgkeystone.cpp: Moved keystone event - handler onto the keystone distortion Camera. -2013-04-12 08:52 robert - * examples/osgkeystone/osgkeystone.cpp: Refactoed the grid - rendering so that it's now implemented as part of the distortion - mesh pass, leaving the main scene graph alone. +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14752 16af8721-9629-0410-8352-f15c8da7e697 -2013-04-11 17:12 robert - * examples/osgkeystone/osgkeystone.cpp: Add support for a finer - grained mesh on the distortion mesh for higher quality results. +Tue, 3 Mar 2015 12:00:52 +0000 +Checked in by : Robert Osfield +Re-organized the #ifdef's to avoid usage of glPolyginMode under GLESgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14751 16af8721-9629-0410-8352-f15c8da7e697 -2013-04-11 16:07 robert - * examples/osgkeystone/osgkeystone.cpp: Moved the keystone geometry - computation into a Keystone::compute3DPositions(..) method +Mon, 2 Mar 2015 14:38:17 +0000 +Checked in by : Robert Osfield +Updated SO_VERSION to take account of API changes in osgDBgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14749 16af8721-9629-0410-8352-f15c8da7e697 -2013-04-10 16:36 robert - * examples/osgkeystone/osgkeystone.cpp: Removed old experimental - keystone code to clean up the example +Mon, 2 Mar 2015 12:11:43 +0000 +Checked in by : Robert Osfield +From Johannes Scholz, "Attached you find a patch for osgDB::OutputStream and osgDB::InputStream to include osg::Image::data() using Base64 encoding inside the ASCII OSGT, if WriteImageHint=IncludeData is set, only."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14748 16af8721-9629-0410-8352-f15c8da7e697 -2013-03-28 10:46 robert - * examples/osgkeystone/osgkeystone.cpp: Changed the way that the - keystone geometry is calculated. +Mon, 2 Mar 2015 12:09:25 +0000 +Checked in by : Robert Osfield +From Michael McDonnel, "The tessellation shader example has a small bug.The middle of the geometry is clipped as soon as it is tessellated. The clipping is probably caused by rounding errors because it is only in one spot. The clipping disappears when the camera is moved, and reappears when it is moved back. Expanding the the bounding box fixed the clipping bug."Tweaked by Robert Osfield to expand it to a -1 to 1 unit box. +Actual clipping bug is not due to rounding errors but the shaders creating vertices outside the bounding box of the original input vertices -2013-03-27 16:29 robert - * examples/osgkeystone/osgkeystone.cpp: Added keypad control of - corner points +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14747 16af8721-9629-0410-8352-f15c8da7e697 -2013-03-26 17:03 robert - * src/osg/Shader.cpp: Moved local variable into local scope to - avoid it being created when not used. +Sun, 1 Mar 2015 15:20:37 +0000 +Checked in by : Robert Osfield +Fixed StateSet::Define names to match OpenSceneGraph-Data/shaders.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14745 16af8721-9629-0410-8352-f15c8da7e697 -2013-03-26 16:47 robert - * examples/osgkeystone/osgkeystone.cpp: Introduced shearing of the - image +Sun, 1 Mar 2015 11:08:58 +0000 +Checked in by : Robert Osfield +From Jannik Heller, "I noticed the rotation in the OrbitManipulator depends on the framerate. To reproduce this issue, start the osganimate example, rotate the model with the left mouse button, then let go of the mouse button while still moving. You will notice that with V-Sync enabled, the model rotates slower.The OrbitManipulator calculates a scale to counteract the framerate dependency, but it turns out this scale wasn't used for the rotation yet." -2013-03-26 11:00 robert - * examples/osgkeystone/osgkeystone.cpp: Improved the setup of the - keystone distortion correction mesh. +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14744 16af8721-9629-0410-8352-f15c8da7e697 -2013-03-21 16:42 robert - * AUTHORS.txt, CMakeLists.txt, ChangeLog, include/osg/Version: - Updated developer release number +Fri, 27 Feb 2015 10:01:56 +0000 +Checked in by : Robert Osfield +Updated version number after dev release.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14740 16af8721-9629-0410-8352-f15c8da7e697 -2013-03-21 16:22 robert - * include/osg/State: Added check against - isVertexBufferObjectSupported() in set*Pointer() methods +Fri, 27 Feb 2015 09:47:58 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and Contributors to fix trailing spacesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14738 16af8721-9629-0410-8352-f15c8da7e697 -2013-03-21 11:35 robert - * examples/osgkeystone/osgkeystone.cpp: Added keystone grid to aid - editing +Fri, 27 Feb 2015 09:05:04 +0000 +Checked in by : Robert Osfield +Fixed Windows warningsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14737 16af8721-9629-0410-8352-f15c8da7e697 -2013-03-20 14:03 robert - * examples/osgkeystone/osgkeystone.cpp: Added arrow key support. - Added support for using ctrl and shift keys to modulate how - senstive the mouse and key movement is when modifying the - keystone parameters. +Fri, 27 Feb 2015 04:29:30 +0000 +Checked in by : Robert Osfield +Fixes for warningsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14736 16af8721-9629-0410-8352-f15c8da7e697 -2013-03-19 16:43 robert - * examples/osgkeystone/osgkeystone.cpp: Improve corner point - tracking/keystone computation +Thu, 26 Feb 2015 20:15:36 +0000 +Checked in by : Robert Osfield +Fixed build with auto ptr conversion switched offgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14735 16af8721-9629-0410-8352-f15c8da7e697 -2013-03-19 12:44 robert - * examples/osgkeystone/osgkeystone.cpp: Added event handle for - interactive setting of keystone variables +Thu, 26 Feb 2015 19:51:56 +0000 +Checked in by : Robert Osfield +Updated AUTHORSgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14733 16af8721-9629-0410-8352-f15c8da7e697 -2013-03-15 17:35 robert - * examples/osgkeystone/osgkeystone.cpp: Experiments with modifying - the projection matrix to provide keystoning. +Thu, 26 Feb 2015 19:14:28 +0000 +Checked in by : Robert Osfield +From Bradley Baker Searles, "We had someone replace a DDS texture with a GL_RGB/GL_UNSIGNED_SHORT_5_6_6 image, which would trigger a crash in Image.cpp while flipping the mipmap chain. The code was trying to flip the mipmaps using the rowStep for the full-size image (we have "dds_flip" set in the osgDB::ReaderWriter::Options in the osgDB::Registry)."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14732 16af8721-9629-0410-8352-f15c8da7e697 -2013-03-14 16:24 robert - * examples/CMakeLists.txt, examples/osgkeystone, - examples/osgkeystone/CMakeLists.txt, - examples/osgkeystone/osgkeystone.cpp: Initial skeleton of new - osgkeystone example +Thu, 26 Feb 2015 18:06:06 +0000 +Checked in by : Robert Osfield +From Bradley Baker Searles, "Small patch attached to handle DDS flip when s=4. Currently it will omit flipping and generate a warning: "Vertical flip was skipped. Image dimensions have to be multiple of 4."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14729 16af8721-9629-0410-8352-f15c8da7e697 -2013-03-11 17:16 robert - * src/osg/Group.cpp: From Aurelien Albert, "There is a little bug - in the osg::Group::insertChild method : - - If the index is more than the size of _children vector, the new - child is pushed at the end of the vector, but the index value is - unmodified, so an incorrect value is passed to the - "childInserted" method." +Thu, 26 Feb 2015 17:49:36 +0000 +Checked in by : Robert Osfield +From Julien Valentin and Alberto Luaces, added support for transform feedback extensionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14728 16af8721-9629-0410-8352-f15c8da7e697 -2013-02-22 17:42 robert - * src/osgSim/LightPointNode.cpp: From Chris Hanson, " Adds missing - copy for _bbox member variable to copy constructor: - - LightPointNode::LightPointNode(const LightPointNode& lpn,const - osg::CopyOp& copyop): - osg::Node(lpn,copyop), - _bbox(lpn._bbox), - _lightPointList(lpn._lightPointList), - _minPixelSize(lpn._minPixelSize), - _maxPixelSize(lpn._maxPixelSize), - _maxVisibleDistance2(lpn._maxVisibleDistance2), - _lightSystem(lpn._lightSystem), - _pointSprites(lpn._pointSprites) - { - } - - - Lacking this causes _bbox to be uninitialized after LOD changes - when paged databases refer to shared subgraphs. - - " - -2013-02-13 16:29 robert - - * include/osg/SampleMaski, include/osg/StateAttribute, - src/osg/CMakeLists.txt, src/osg/SampleMaski.cpp, - src/osgWrappers/serializers/osg/SampleMaski.cpp: From Lukasz - Izdebski,"added support for gl_SampleMaski." - -2013-02-13 16:03 robert - - * PlatformSpecifics/Android/AndroidManifest.xml.master.in: From - Jordi Torres, "This error occurs when compiling current OSG with - the NDK >=r8c: - - android-ndk-r8d/build/gmsl/__ - gmsl:512: *** non-numeric second argument to `wordlist' function: - ''. Stop. - - This is discussed in this thread[1]. - The solution is to add to - the manifest as the OSG library will only run in devices with - Android>=2.2 (Froyo) with API level 8 [2]. - - The fix does not affect to older sdk's. - - Thanks to Jan Ciger for spotting the bug and find a possible - solution. " - -2013-02-12 15:44 robert - - * include/osg/Math: From Jordi Torres, Android build fix - -2013-02-12 15:40 robert - - * src/osgPlugins/osc/osc/OscHostEndianness.h: From Jordi Torres, - fix for Android build - -2013-02-12 15:18 robert - - * src/osgPlugins/osc/OscSendingDevice.cpp, - src/osgPlugins/osc/ReaderWriterOscDevice.cpp: From Stephan Huber, - fixed bug in setting _numMessagesPerEvent and added more debug - information - -2013-02-07 19:16 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Mike Connell, "3 - smaller fixes for the 3DS loader (against trunk) - - 1. Respect "noMatrixTransforms" option for matrices attached to - meshes, not only those attached to nodes - - 2. traverse_nodes variable did the exact opposite of it's - description. - - 3. Always try to load referenced textures, even if we can't find - the files (in order to the the registry's ReadFileCallback have a - stab at it) - " - -2013-02-07 11:10 robert - - * src/osgDB/InputStream.cpp, src/osgDB/OutputStream.cpp: From - Lukasz Izdebski , "I added write and read numInstances in - PrimitiveSet." - -2013-02-07 11:08 robert - - * CMakeLists.txt, include/osg/Version: Updated SO version in prep - for serialization foramt change - -2013-02-07 08:46 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Updated AUTHORS list - -2013-02-06 16:04 robert - - * src/osgPlugins/OpenFlight/Document.cpp, - src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: From Wee See, - Support for importing OpenFlight Surface Material Codes using - osg::Object::UserValue. Notes from Wee See: - - See attached my ported code, which fulfills: - - - using of setUserValue()/getUserValue() - - user-value will be attached to Geode or Drawable - - actually 3 values will be added: SMC (surface), FID (feature) - and IRC (IRcolor). Its UserValue-names are < UA:SMC >, < UA:FID > - and < UA:IRC > (without spaces!) - - user-value will be attached to Geode or Drawable - - has an option (named preserveNonOsgAttrsAsUserData) for control - whether the UserValues should be attached (Default: no UserValues - will be attached) - - Reading out this values is very simple. Here is an example - (uservalue-name without spaces!): - - signed short smc; - if (myGeode.getUserValue("< UA:SMC >", smc)) - { - doSomethingWithTheGeodeAndItsSmc(myGeode, smc); - } - else - { - // geode has no SMC - } - -2013-02-06 14:50 robert - - * include/osg/State: From Aurelien Albert, "This line,I use the - "useVertexAttributeAliasing" mode in my application, and color - arrays are not normalized, so shaders get [0.0-255.0] values - instead of [0.0-1.0] values. - This patch fix this." - - and those below, will be ignored - ---- - - M include/osg/State - -2013-02-06 14:49 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp: Added TODO note - about RGB -> RGBA - -2013-02-06 12:46 robert - - * CMakeModules/FindFFmpeg.cmake, - src/osgPlugins/ffmpeg/CMakeLists.txt, - src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegHeaders.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegParameters.cpp, - src/osgPlugins/ffmpeg/FFmpegParameters.hpp, - src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: From David Longest, - "I have updated the FFmpeg plugin to support the 1.0 release - version of FFmpeg. The files attached were modified in order to - facilitate the update. Below are the details for all changes - made. - - - - Header update - - FindFFmpeg.cmake has been changed in order to support the new - header include format for FFmpeg. In the 1.0 release, a new file - had been added with the name “time.h” in the avutil library. The - previous method of adding includes caused conflicts with the ANSI - C “time.h” file. Now the include directive will only use the main - include folder. All files using the old include format have been - updated to reflect the change. - - - - Added __STDC_CONSTANT_MACROS define to CMakeLists.txt - - Since there is no guarantee that FFmpegHeaders.hpp will be - included before stdint.h is included, the define has been moved - from FFmpegHeaders.hpp to be part of the CMakeLists.txt for the - FFmpeg plugin. This will allow the define to work on all - compilers regardless of include order. - - - - Replaced AVFormatParameters with AVDictionary - - AVFormatParameters is no longer supported in FFmpeg and has been - replaced with a key/value map of strings for each setting. - FFmpegParameters and FFmpegDecoder has been updated to reflect - this. - - - - Replaced av_open_input_file with avformat_open_input - - FFmpeg now opens files using avformat_open_input. Since the - av_open_input_file method is deprecated, the FFmpegDecoder class - has been updated to reflect this change. - - - - Added custom AVIOContext field to options - - Since some formats and inputs may not be supported by FFmpeg, I - have added a new parameter that allows a user to allocate their - own AVIOContext. This class will allow for creating a read, seek, - and write callback if they desire. - - - - Checking for start_time validity - - It is possible for some file formats to not provide a start_time - to FFmpeg. This would cause stuttering in the video since the - clocks class would be incorrect. - - - - Removed findVideoStream and findAudioStream - - The new FFmpeg release already has a function that will find the - best audio and video stream. The code has been replaced with this - function. - - - - Updated error reporting - - Some functions would not log an error when opening a file or - modifying a file failed. New logs have been added as well as a - function to convert error numbers to their string descriptions. - - - - decode_video has been replaced - - The old decode_video function would remove extra data that some - decoders use in order to properly decode a packet. Now - av_codec_decode_video2 has replaced that function. - - - - Picture format changed from RGBA32 to RGB24 - - Since most video will not contain an alpha channel, using a 24 - bit texture will use less memory." - -2013-02-06 12:02 robert - - * include/osg/Math: Simplified include/osg/Math to use Standard C++ - maths headers - and - -2013-02-06 11:16 robert - - * examples/osgdepthpeeling/Utility.cpp: Fixed warning - -2013-02-06 09:20 robert - - * src/osgPlugins/osc/osc/OscOutboundPacketStream.h: From Stephan - Huber, fixed for Windows 64bit build - -2013-02-05 18:22 robert - - * examples/osgoscdevice/osgoscdevice.cpp, - src/osg/ImageSequence.cpp, src/osgDB/Registry.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/trk/ReaderWriterTRK.cpp, - src/osgPresentation/PickEventHandler.cpp, - src/osgPresentation/SlideShowConstructor.cpp, - src/osgUtil/Optimizer.cpp: Added .get()'s to fix compilation when - ref_ptr<> type conversion is disabled - -2013-02-04 16:25 robert - - * ChangeLog: Updated ChangeLog - -2013-02-04 14:42 robert - - * CMakeLists.txt, include/osg/Version: Updated version number after - 3.1.4 developer release - -2013-02-04 13:28 robert - - * CMakeLists.txt: From Jordi Torres, "The info about cdash reports - was outdated. Now it points to the right URL. - BTW I have checked it out and the cdash server is working ok - again. " - -2013-02-04 13:28 robert - - * src/osgViewer/GraphicsWindowX11.cpp: Fixed warning - -2013-02-04 13:27 robert - - * src/osgPlugins/txp/trpage_managers.cpp, - src/osgPlugins/txp/trpage_material.cpp, - src/osgPlugins/txp/trpage_model.cpp: Fixed warnings - -2013-02-04 13:11 robert - - * src/osgPlugins/txp/ReaderWriterTXP.cpp: Fixed warning - -2013-02-04 12:50 robert - - * src/osgPlugins/osc/ip/posix/NetworkingUtils.cpp, - src/osgPlugins/osc/ip/posix/UdpSocket.cpp: Fixed warning and - converted tabs to four spaces - -2013-02-04 12:38 robert - - * src/osgPlugins/logo/ReaderWriterLOGO.cpp: Fixed warnings - -2013-02-04 12:01 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Fixed warning - -2013-01-31 16:26 robert - - * include/osg/Texture, src/osg/Image.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/exr/ReaderWriterEXR.cpp, - src/osgPlugins/vtf/ReaderWriterVTF.cpp: Standardized use of - GL_HALF_FLOAT_NV and GL_HALF_FLOAT_ARB to GL_HALF_FLOAT - -2013-01-31 11:09 robert - - * examples/osgoscdevice/osgoscdevice.cpp, - src/osgPlugins/osc/OscReceivingDevice.cpp, - src/osgPlugins/osc/OscReceivingDevice.hpp, - src/osgPlugins/osc/OscSendingDevice.cpp, - src/osgPlugins/osc/OscSendingDevice.hpp, - src/osgPlugins/osc/ReaderWriterOscDevice.cpp: From Stephan Huber, - introduction of message id scheme were osc messages are sent with - an unique id, and can be dispatched multiple times to workaround - network packet losses. +Thu, 26 Feb 2015 17:18:31 +0000 +Checked in by : Robert Osfield +Update AUTHORS filegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14727 16af8721-9629-0410-8352-f15c8da7e697 -2013-01-30 11:31 robert - * src/osgPresentation/Timeout.cpp: Added handling of movies into - Timeout +Thu, 26 Feb 2015 14:16:22 +0000 +Checked in by : Robert Osfield +Fixed typogit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14725 16af8721-9629-0410-8352-f15c8da7e697 -2013-01-30 10:49 robert - * src/osgPresentation/Timeout.cpp: Added disabling of the traversal - of the Timeout in update when the timout is not displayed and - disabled traversal by the SlideEventHandler. +Thu, 26 Feb 2015 13:52:12 +0000 +Checked in by : Robert Osfield +Regenerated AUTHORS.txt to fix missing special charactersgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14724 16af8721-9629-0410-8352-f15c8da7e697 -2013-01-30 10:40 robert - * src/osgAnimation/MorphGeometry.cpp: Fixed the erronous header so - that it is OSGPL like the rest of the osgAnimation. +Wed, 25 Feb 2015 19:59:01 +0000 +Checked in by : Robert Osfield +Updated AUTHORS filegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14723 16af8721-9629-0410-8352-f15c8da7e697 -2013-01-30 10:21 robert - * src/osgPresentation/SlideShowConstructor.cpp: From Stephan Huber, - "As I have not all referenced image-data, SlideShowConstructor - crashed on my end. Attached is a fix for that crash." +Wed, 25 Feb 2015 19:52:00 +0000 +Checked in by : Robert Osfield +Updated ChangeLoggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14722 16af8721-9629-0410-8352-f15c8da7e697 -2013-01-28 14:56 robert - * src/osgDB/InputStream.cpp, src/osgDB/OutputStream.cpp: From Wang - Rui, "I've fixed the bug of writing/reading scenes including the - ImageSequence serializer. Current trunk version will fail when - handing image sequences because it forces to set className to - "osg::Image" in InputStream.cpp. I have to read a value saved in - file instead so I must add a hardhanded version checking for - backward compatibility. - - Now we can work with ImageSequence objects, in both osgt and osgb - files." +Wed, 25 Feb 2015 19:38:43 +0000 +Checked in by : Robert Osfield +From Aitor Moreno, "Attached you will find the modified file without the lines which raises the exception. "git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14721 16af8721-9629-0410-8352-f15c8da7e697 -2013-01-28 14:30 robert - - * include/osg/CullStack, include/osg/CullingSet: From Laurens - Voerman, "I have implemented and tested (on windows only) your - suggestion for resetCullingMask(), it's far less intrusive than - my previous submission. - attached are the changes to current svn (28 Jan 2013 / rev - :13312). - " - -2013-01-25 16:54 robert - - * CMakeLists.txt: From Thomas Hogarth, "Attached are two minor - modifications to the master CMakeLists.txt file. - - It now points to sdk version 6.0 (I do intend to make this - configurable my command line) - - It also added a search for libtiff to Apple builds mainly for use - with osg earth." - -2013-01-25 11:54 robert - - * examples/CMakeLists.txt, examples/osgcomputeshaders, - examples/osgcomputeshaders/CMakeLists.txt, - examples/osgcomputeshaders/osgcomputeshaders.cpp, - include/osg/GL2Extensions, include/osg/Program, - include/osg/Shader, include/osg/Texture, - src/osg/GL2Extensions.cpp, src/osg/Program.cpp, - src/osg/Shader.cpp, src/osg/ShaderComposer.cpp, - src/osg/Texture.cpp, src/osgPlugins/glsl/ReaderWriterGLSL.cpp, - src/osgWrappers/serializers/osg/Program.cpp, - src/osgWrappers/serializers/osg/Shader.cpp, - src/osgWrappers/serializers/osg/Texture.cpp: From Wang Rui, "In - the attached files I've added the Compute Shader support for OSG, - as well as serializer updates and a new osgcomputeshaders - example. My submission also include a setComputeGroups() function - in Program for setting compute-shader work groups, and a - bindToImageUnit() function in Texture for binding textures as - image variables in shaders. - - All code are tested on Windows 7 + NVIDIA GFX 570 with the latest - GeForce 310.70 Driver (BETA), which could support OpenGL 4.3. - - Compute shader information can be found at - "http://www.opengl.org/registry/specs/ARB/compute_shader.txt" - " - -2013-01-25 11:08 robert - - * include/osg/GL2Extensions: From Lukasz Izdebski, "Adding this GL - mode makes possibly to use this GL Modes (added in core OpenGL - 3.2) in Windows." - -2013-01-25 10:36 robert - - * examples/osghangglide/trees.cpp: Fixed compile warning - -2013-01-25 10:24 robert - - * src/osgPresentation/SlideEventHandler.cpp, - src/osgPresentation/Timeout.cpp: Added debug message for Timout - -2013-01-24 18:48 robert - - * include/osg/CollectOccludersVisitor, - include/osg/ComputeBoundsVisitor, include/osg/KdTree, - include/osg/NodeVisitor, include/osgAnimation/BoneMapVisitor, - include/osgAnimation/LinkVisitor, - include/osgDB/SharedStateManager, include/osgGA/EventVisitor, - include/osgSim/InsertImpostorsVisitor, - include/osgUtil/CullVisitor, - include/osgUtil/DisplayRequirementsVisitor, - include/osgUtil/DrawElementTypeSimplifier, - include/osgUtil/GLObjectsVisitor, - include/osgUtil/IntersectVisitor, - include/osgUtil/IntersectionVisitor, include/osgUtil/Simplifier, - include/osgUtil/Statistics, include/osgUtil/UpdateVisitor: Fixed - usage of META_NodeVisitor so it doesn't include "" - -2013-01-23 17:38 robert - - * include/osgViewer/Renderer, src/osgViewer/Renderer.cpp, - src/osgViewer/ViewerBase.cpp: From Pjotr Svetachov, "when you - restart threading - with startThreading/stopThreading the _drawQueue and - _availableQueue - are not reset properly. This can lead to a deadlock when - threading is - started again. So before threading is started again the queues - must be - reset. This deadlock is also reported earlier by someone else in - here: - http://forum.openscenegraph.org/viewtopic.php?p=43415#43415" - -2013-01-23 17:37 robert - - * src/osgUtil/Optimizer.cpp: From Pjotr Svetachov, "small bug which - I have found in the - FlattenStaticTransformsDuplicatingSharedSubgraphsVisitor: the - visitor - will replace part of the tree when visiting the nodes but it does - not - update the current node path to reflect this. If you then have - multiple nested transform nodes it will usually crash and - sometimes it - won't crash but the resulting mesh will miss some nodes." - -2013-01-23 16:27 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Mathias Froehlich, - "I have extended the dds loader by some newer DX10 texture - formats. Especially - the float texture formats. - I need a few of these formats somewhere but have extended - everything that I - found plausible and was easy to find a GL texture type/format - for. - For some float32 type of texture the files the implementation - seem to work fine. - The rest lacks testing. - The writer side is not implemented." - -2013-01-23 16:22 robert - - * include/osg/GL2Extensions, include/osg/Texture: From Wang Rui - with edits from Robert Osfield, additional GLenums for cross - platform build - -2013-01-23 15:54 robert - - * src/osgUtil/IncrementalCompileOperation.cpp: From Lionel Lagarde, - fixed typo bug - -2013-01-23 11:50 robert - - * src/osgPlugins/rgb/ReaderWriterRGB.cpp: Removed redundent code - block - -2013-01-23 11:45 robert - - * src/osgPlugins/rgb/ReaderWriterRGB.cpp: From Lukasz Izdebski, "I - found problem with rgb plugin. - Internal format of rgb image is wrongly set ( diffrent then in - other images type plugin ), because of that using rgb images in - osg::Texture2DArray causes a bug." - -2013-01-23 11:20 robert - - * src/osgViewer/Renderer.cpp: From Mathias Froehlich, "Attached is - a patch that includes the stereo cameras in - Renderer::*etCameraRequiresSetUp. - - I am not sure if the getter needs to be changed, but this is - currently - included for consistency." - -2013-01-22 16:53 robert - - * src/osgPlugins/avfoundation/OSXAVFoundationVideo.mm: From - Alessandro Terenzi, "I've modified the avfoundation plugin to - copy the preferredTransform matrix into the UserData property of - the corresponding imagestream: by doing so, we can realize if the - video should be transformed when applied as a texture (this - should be the case, for instance, when we record a movie using an - iOS device with any orientation different than 'landscape - left')." - -2013-01-22 16:13 robert - - * src/osgPlugins/p3d/ReaderWriterP3D.cpp: Added and - functionality to .p3d functionality. - -2013-01-22 10:33 robert - - * src/osgUtil/Optimizer.cpp: Added extra check against whether node - needs to be traversed in update and event traversals to prevent - osgPresentation::Timeout being classified as a node that can be - removed. - -2013-01-18 17:11 robert - - * include/osg/NodeVisitor, include/osgDB/ImagePager, - src/osg/ImageSequence.cpp, src/osgDB/ImagePager.cpp: Added - Options support to ImageSequence LOAD_* functionality - -2013-01-18 16:30 robert - - * CMakeLists.txt, include/osg/Version: Update SO_VERSION to reflect - new API changes - -2013-01-18 16:21 robert - - * include/osg/ImageSequence, src/osg/ImageSequence.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgWrappers/deprecated-dotosg/osg/ImageSequence.cpp, - src/osgWrappers/serializers/osg/ImageSequence.cpp: Added - LOAD_AND_RETAIN_IN_UPDATE_TRAVERSAL and - LOAD_AND_DISCARD_IN_UPDATE_TRAVERSAL ImageSequence::Mode's to - allow for ImageSequence usage without using background paging - threads, instead loading all the images on demand in the update - traversal. - -2013-01-17 13:51 robert - - * include/osgPresentation/Timeout, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/Timeout.cpp: Added - and support to to allow the - different timeout statges to be broadcast. - -2013-01-17 11:57 robert - - * src/osgPresentation/Timeout.cpp: Changed the defaults of the - Timeout to be DBL_MAX by default. - -2013-01-17 11:48 robert - - * include/osgPresentation/Timeout, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/Timeout.cpp: Completed support, to - use it with p3d use it along the lines: - - - - Test - - 3.0 - 5.0 - A - S - D - - w - t - Images/lz.rgb - - - - cow.osg - - - -2013-01-17 09:51 robert - - * include/osgPresentation/SlideShowConstructor, - include/osgPresentation/Timeout, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp, - src/osgPresentation/Timeout.cpp: Added support for - to Timeout support. - -2013-01-16 16:13 robert - - * include/osgPresentation/SlideShowConstructor, - include/osgPresentation/Timeout, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp, - src/osgPresentation/Timeout.cpp: Implemented basic Timeout - display and timing codes - -2013-01-15 11:31 robert - - * include/osgPresentation/Timeout, - src/osgPresentation/CMakeLists.txt, - src/osgPresentation/Timeout.cpp: Added shell of Timeout class - -2013-01-11 11:30 robert - - * include/osgPresentation/PropertyManager, - include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added movie volume - animation control to and tags to be used - in the form: - - - - 0.20 - - - - - 0.0 - - - 1.0 - - - 1.0 - - - 0.0 - - - - - big_buck_bunny_1080p_stereo.ogg - - - -2013-01-10 19:55 robert - - * include/osgPresentation/SlideEventHandler, - src/osgPresentation/SlideEventHandler.cpp: Added support for - properties that works in - conjunction with the start="time" property support checked in in - previous submission, - together these control the delay, start position and stop - position of movies. - -2013-01-10 14:37 robert - - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideEventHandler.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added support for - property that tells a video to start - specificied number of sections into a video. - -2013-01-10 10:53 robert - - * src/osgPlugins/QTKit/OSXQTKitVideo.mm, - src/osgPlugins/avfoundation/OSXAVFoundationVideo.mm: From Stephan - Huber, "thanks for your input, unfortunately I could not get it - working with packing, but setting the row-length works now. Seems - I had it wrong the first time. - - Attached are both files. This should fix the video-bug mentioned - on the dlf-wiki. - - " - -2013-01-09 16:29 robert - - * src/osgPlugins/p3d/ReaderWriterP3D.cpp: Changed the named colours - back to having a alpha value of 1.0 to avoid problems with text - not appearing. - -2013-01-09 16:03 robert - - * applications/present3D/present3D.cpp: Added reset of the - cursorFileName when hideCursor is activated to prevent the custom - cursor being enabled. - -2013-01-08 10:21 robert - - * src/osgPresentation/KeyEventHandler.cpp: Added case for - FORWARD_EVENT to address warning - -2013-01-07 15:03 robert - - * src/osgPlugins/dae/daeReader.cpp: From Aurelien Albert, "I get a - compile error on Windows VS2008 wih new DAE plugin, here is a fix - : - - - _document = _dae->openFromMemory(fileURI, buffer.data()); - - "data" method is unknow for std::vector with VS2008 - - I've replaced it with : - - _document = _dae->openFromMemory(fileURI, &buffer[0]); - " - -2013-01-07 12:41 robert - - * applications/present3D/present3D.cpp: Added support for - --show-cursor and --hide-cursor command line options, and - P3D_SHOW_CURSOR env var that can be set to YES or NO. - -2013-01-07 12:17 robert - - * applications/present3D/present3D.cpp, - include/osgPresentation/PickEventHandler, - include/osgPresentation/SlideEventHandler, - include/osgViewer/api/IOS/GraphicsWindowIOS, - src/osgDB/Registry.cpp, src/osgGA/EventQueue.cpp, - src/osgPlugins/QTKit/OSXQTKitVideo.mm, - src/osgPlugins/RestHttpDevice/RestHttpDevice.cpp, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/osc/OscReceivingDevice.cpp, - src/osgPlugins/osc/OscSendingDevice.cpp, - src/osgPlugins/osc/OscSendingDevice.hpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/PickEventHandler.cpp, - src/osgViewer/CompositeViewer.cpp, - src/osgViewer/GraphicsWindowIOS.mm, src/osgViewer/Viewer.cpp: - From Stephan Huber, "* osgGA: fixed a small bug regarding - emulating mouse-events from touch-events - * resthttp/osc: encapsulate RequestHandler-classes in their own - namespaces to prevent class-name-lookup-errors in the - debugger/code (had some weird crashes) - * QTKit: fixed a compile-bug for gcc and blocks - * osgPresentation: click_to_* will fire on RELEASE, only if the - drawable received a PUSH beforehand - * p3d/osgPresentation: implemented - "forward_mouse_event_to_device"-tag, which will forward - mouse-events to all registered devices of a viewer, if an - intersection occurs. The mouse-coordinates get reprojected - * present3d: all devices get registered with the viewer - * osgViewer: only devices which are capable of receiving events - are queried for new events. - * GraphicWindowIOS: added a flag to GraphicWindowIOS::WindowData - to set up a retained backing buffer (defaults to false) This will - enable read-back of the render-buffer with glReadPixels even - after the renderbuffer got presented - * curl: added an optimized check for file-existance, now only the - headers are requested and checked, instead of reading the whole - file and handle it with a ReaderWriter - * p3d: fixed a bug, where the existence of a local file may - prevent the remote loading of a file with the same name. - - " - -2012-12-20 16:16 robert - - * applications/present3D/present3D.cpp: Made - UpdateVisitor::TravesalMode default to TRAVERSE_ACTIVE_CHILDREN - -2012-12-20 12:14 robert - - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added region="$xmin - $ymin $zmin $xmax $ymax $zmax" support to tag, along with - animation support via the support. - -2012-12-19 17:14 robert - - * src/osgPlugins/trk/ReaderWriterTRK.cpp: Removed lighting of trk - lines - -2012-12-19 12:38 robert - - * src/osgPlugins/trk/ReaderWriterTRK.cpp: Changed the colour - calculation and added gl_ClipVertex to enable clipping. - -2012-12-18 11:20 robert - - * include/osgPresentation/SlideShowConstructor: Removed erroneous - region setting - -2012-12-18 09:49 robert - - * src/osgViewer/GraphicsWindowIOS.mm: From Juergen Rensen, "This is - a fix for the latest SVN version (rev 13269). The - ‘destroyFrameBuffer’ method in ‘GraphicsWindowIOS.mm’ had - ‘glDeleteFramebuffersOES’ calls for the stencil buffer, MSAA - render buffer and MSAA depth buffer instead of - ‘glDeleteRenderbuffersOES’. The fix changes the mismatched calls - to ‘glDeleteRenderbuffersOES’. - - - - The impact of the bug was a memory leak that would affect - multi-sampling iOS apps that allow for device rotation or window - resizing in general. For our app, the leak ranged from ca. 10 MB - to 40 MB per device rotation, depending on device, for the MSAA - buffers. I have not been able to confirm impact for the stencil - buffer. " - -2012-12-17 15:58 robert - - * applications/present3D/present3D.cpp, - examples/osgframerenderer/CaptureSettings.cpp, - examples/osgframerenderer/CaptureSettings.h, - examples/osgframerenderer/osgframerenderer.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added support for - RGBA colour buffer in osgframerenderer using the --rgba command - line option (--rgb selects the standard non colour frame buffer - which is the default). - -2012-12-16 17:10 robert - - * examples/osgframerenderer/osgframerenderer.cpp: Added handling of - aspect ratio for vertical/horizontal split stereo. - -2012-12-14 16:31 robert - - * src/osgViewer/GraphicsWindowIOS.mm: From Stephan Hunber, "* now - you can create a transparent opengl-view (see - GraphicWindowIOS::WindowData) - * changes of the view's bound are reported via osg's event-system - more reliably - - " - -2012-12-14 16:30 robert - - * CMakeLists.txt, include/osg/Version: Updated SO version - -2012-12-13 17:35 robert - - * include/osg/Image: From Lionel Lagarde, "Here is a correction on - the PixelBufferObject getter methods of Image. - - The set method modify the buffer object of the BufferData while - the get method returned the buffer object of the Image. - - I've also removed the _bufferObject member of Image (not used - anymore)." - --This line, Lionel Lagardeand those below, will be ignored-- - - M include/osg/Image - -2012-12-13 16:23 robert - - * src/osgPlugins/trk/ReaderWriterTRK.cpp: Added colouring and - lighting of track using shader - -2012-12-11 17:45 robert - - * src/osg/ImageUtils.cpp: Fixed handling of image colour space - conversion when pixel format changes - -2012-12-11 17:27 robert - - * src/osg/ImageUtils.cpp: Added automatic conversion of RGB to RGBA - when doing REPLACE_ALPHA_WITH_LUMINANCE colour space conversion. - -2012-12-11 10:44 robert - - * src/osgPlugins/trk/ReaderWriterTRK.cpp: Disabled lighting and set - the colour to white - -2012-12-11 09:55 robert - - * src/osgPlugins/trk/ReaderWriterTRK.cpp: First cut of generating - lines from .trk data - -2012-12-10 11:11 robert - - * examples/osgframerenderer/CameraProperty.cpp: Added setting of - the fusion distance. - -2012-12-08 16:11 robert - - * examples/osgframerenderer/CaptureSettings.cpp, - examples/osgframerenderer/CaptureSettings.h, - examples/osgframerenderer/osgframerenderer.cpp: Added --flip and - --no-flip command line options to enable/disable a vertical flip - of the captured image before writing out to disk. - -2012-12-07 19:05 robert - - * applications/present3D/present3D.cpp, include/osgDB/ReaderWriter, - include/osgDB/Registry, src/osgDB/ReaderWriter.cpp, - src/osgDB/Registry.cpp, - src/osgPlugins/ZeroConfDevice/ReaderWriterZeroConfDevice.cpp, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/curl/ReaderWriterCURL.h, - src/osgPlugins/p3d/ReaderWriterP3D.cpp: From Stephan Huber, - "attached you'll find a zip containing some bug-fixes and some - refactored + new code. - - * ZeroConfDevice does now return FILE_NOT_HANDLED instead of - FILE_NOT_FOUND - * present3D supports multiple devices per env-var P3D_DEVICE, - separate multiple device with a space - - I refactored parts the p3d-plugin, the curl-plugin and parts of - Registry and ReaderWriter. Currently the p3d-plugin tries to open - all remote files with the help of the curl-plugin. - - I added a new method to Registry called - getReaderWriterForProtocolAndExtension. which will return a - ReaderWriter which is capable in handling the remote file for the - given protocol and extension. If no readerwriter is found for the - given extension, a list is built of all readerwriters supporting - the given protocol and this list is checked for support of - wildcards (extension = "*"). If anything matches it get returned. - - I added this principle also to the Registry, so now it's possible - to register a generic ReaderWriter which can handle all filetypes - for a given protocol, similar what curl is doing. All you have to - do is to load the plugin at startup. The curl-fallback is still - in place. - - With these changes it is now possible to reference a movie inside - a presentation without a server-address, read the presentation - (with curl) and stream the movie with the correct plugin (e.g. - QTKit) - - " - -2012-12-07 19:04 robert - - * include/osg/Endian: Added template swapBytes method - -2012-12-07 13:59 robert - - * examples/osgframerenderer/CameraProperty.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added naming of - root of presentation and used this in the setup of the position - of the camera. - -2012-12-07 12:47 robert - - * examples/osgframerenderer/CameraProperty.cpp, - examples/osgframerenderer/osgframerenderer.cpp: Fixed handling of - window size/projection matrix - -2012-12-07 10:19 robert - - * src/osgPresentation/SlideShowConstructor.cpp: From Stephan Huber, - attached is a fix for the bug of present3D not loading fonts - across http. I pass SlideShowConstructor's options-object to - readFontFile when constructing any text-objects so freetype can - pick up the font-data from the curl-plugin. It works fine now on - my end. - -2012-12-06 19:09 robert - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/trk, - src/osgPlugins/trk/CMakeLists.txt, - src/osgPlugins/trk/ReaderWriterTRK.cpp: Intial shell of .trk - plugin - -2012-12-06 18:12 robert - - * src/osgPlugins/ZeroConfDevice/CMakeLists.txt: From Stephan Huber, - build fix - -2012-12-06 14:42 robert - - * src/osgPlugins/ZeroConfDevice/ReaderWriterZeroConfDevice.cpp: - Added default value for initialization of port number - -2012-12-06 11:36 robert - - * applications/present3D/present3D.cpp: Fixed typo - -2012-12-06 11:36 robert - - * examples/osgframerenderer/osgframerenderer.cpp: Added creation of - directory path for ouput if one is required - -2012-12-06 08:02 robert - - * src/osgPlugins/ZeroConfDevice, - src/osgPlugins/ZeroConfDevice/AutoDiscovery.cpp, - src/osgPlugins/ZeroConfDevice/AutoDiscovery.h, - src/osgPlugins/ZeroConfDevice/AutoDiscoveryBonjourImpl.h, - src/osgPlugins/ZeroConfDevice/AutoDiscoveryBonjourImpl.mm, - src/osgPlugins/ZeroConfDevice/AutoDiscoveryWinImpl.cpp, - src/osgPlugins/ZeroConfDevice/AutoDiscoveryWinImpl.h, - src/osgPlugins/ZeroConfDevice/CMakeLists.txt, - src/osgPlugins/ZeroConfDevice/ReaderWriterZeroConfDevice.cpp, - src/osgPlugins/ZeroConfDevice/mdns_win, - src/osgPlugins/ZeroConfDevice/mdns_win/ClientCommon.c, - src/osgPlugins/ZeroConfDevice/mdns_win/ClientCommon.h, - src/osgPlugins/ZeroConfDevice/mdns_win/dns-sd.c, - src/osgPlugins/ZeroConfDevice/mdns_win/dns_sd.h: From Stephan - Huber, ZerConfDevice plugin for Windows and Apple - -2012-12-05 17:15 robert - - * CMakeLists.txt, CMakeModules/FindAVFoundation.cmake, - CMakeModules/FindQuickTime.cmake, - CMakeModules/FindZeroConf.cmake, - applications/present3D/present3D.cpp, - examples/osgoscdevice/osgoscdevice.cpp, - include/osgViewer/api/IOS/GraphicsWindowIOS, - src/osg/Geometry.cpp, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/QTKit/OSXCoreVideoTexture.cpp, - src/osgPlugins/QTKit/OSXCoreVideoTexture.h, - src/osgPlugins/RestHttpDevice/RestHttpDevice.cpp, - src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp, - src/osgPlugins/RestHttpDevice/connection.cpp, - src/osgPlugins/RestHttpDevice/request_handler.cpp, - src/osgPlugins/RestHttpDevice/server.cpp, - src/osgPlugins/avfoundation/CMakeLists.txt, - src/osgPlugins/avfoundation/OSXAVFoundationVideo.h, - src/osgPlugins/avfoundation/OSXAVFoundationVideo.mm, - src/osgPlugins/avfoundation/OSXAvFoundationCoreVideoTexture.cpp, - src/osgPlugins/avfoundation/OSXAvFoundationCoreVideoTexture.h, - src/osgPlugins/avfoundation/ReaderWriterAVFoundation.cpp, - src/osgPlugins/imageio/CMakeLists.txt, - src/osgPlugins/imageio/ReaderWriterImageIO.cpp, - src/osgPlugins/imageio/ReaderWriterImageIO_IOS.cpp, - src/osgPresentation/SlideShowConstructor.cpp: From Stephan Huber, - "* imageio: removed ReaderWriterImageIO_IOS.cpp, refactored - ReaderWriterImageIO to work on OS X and IOS - * avfoundation: added support for IOS (CoreVideo-support is still - in development, works only for SDK >= 6.0, set IPHONE_SDKVER in - cMake accordingly) - * zeroconf: added ZeroConf-device-plugin (Mac/Win only, linux - implementation missing) to advertise and discover services via - ZeroConf/Bonjour, on windows you'll need the Bonjour SDK from - Apple - * osgosc: modified the example to demonstrate the usage of the - ZeroConf-plugin (start the example with the command-line-argument - --zeroconf) - * SlideShowConstructor: enable/disable CoreVideo via a - environment variable (P3D_ENABLE_CORE_VIDEO) - * RestHttp: mouse-motion-events get interpolated - * RestHttp: unhandled http-requests get sent as an user-event to - the event-queue, all arguments get attached as user-values to the - event - * modified some CMakeModules to work correctly when compiling for - IOS - * fixed a compile-error for IOS in GraphicsWindowIOS - * some minor bugfixes" - -2012-12-05 11:41 robert - - * examples/osgframerenderer/CaptureSettings.cpp, - examples/osgframerenderer/CaptureSettings.h, - examples/osgframerenderer/osgframerenderer.cpp: Added - --screen-distance , --screen-height and - --screen-width command line support and associated - settings to the configuration file. - -2012-12-05 10:13 robert - - * include/osg/ApplicationUsage, src/osg/ApplicationUsage.cpp, - src/osgViewer/HelpHandler.cpp, - src/osgViewer/ScreenCaptureHandler.cpp, - src/osgViewer/StatsHandler.cpp, - src/osgViewer/ViewerEventHandlers.cpp: Moved the expansion of the - key codes into ApplicationUsage so that help is only generated - for non zero keycodes. - -2012-12-04 19:02 robert - - * examples/osgframerenderer/CameraProperty.cpp: Fixed default - camera position - -2012-12-04 18:51 robert - - * examples/osgframerenderer/osgframerenderer.cpp: Changed the -w - and -h options to --width and --height respectively. - -2012-12-04 18:30 robert - - * examples/osgframerenderer/osgframerenderer.cpp: Cleaned up - command line usage - -2012-12-04 18:28 robert - - * examples/osgframerenderer/osgframerenderer.cpp: Tidied up command - line docs. - -2012-12-04 18:21 robert - - * examples/osgframerenderer/CaptureSettings.cpp, - examples/osgframerenderer/CaptureSettings.h, - examples/osgframerenderer/osgframerenderer.cpp: Tidied up - CaptureSettings and added command line docs - -2012-12-04 12:47 robert - - * examples/osgframerenderer/CMakeLists.txt, - examples/osgframerenderer/CameraProperty.cpp, - examples/osgframerenderer/CameraProperty.h, - examples/osgframerenderer/CaptureSettings.h, - examples/osgframerenderer/osgframerenderer.cpp: Added - CameraProperty and associated command line parameters for - controlling camera position and animation. - - --center x y z - --eye x y z - --up x y z - --rotation-center x y z - --rotation-axis x y z - --rotation-speed degreesPerSecond - - -2012-12-04 09:11 robert - - * src/osgViewer/ScreenCaptureHandler.cpp: Added missing break; - -2012-12-03 16:49 robert - - * src/osgPresentation/SlideShowConstructor.cpp: From Stephan Huber, - "I've found a bug in SlideShowConstructor::findFileAndRecordPath - which does return an empty string if the file was not found, and - this empty string got added to the fileNames-vector, so the - curl-plugin tried to load only an empty file-name, the - directory-prefix. I fixed findFileAndRecordPath, so it returns - the unmodified filename, which can then be loaded by the - curl-plugin. Please review my fix, as I am not sure if it has any - side effects, as I know the code not that well. - - The file includes another small compile-fix when using - float-matrices." - -2012-12-03 11:31 robert - - * examples/osgframerenderer/CMakeLists.txt, - examples/osgframerenderer/gscframerenderer.cpp, - examples/osgframerenderer/osgframerenderer.cpp: Renamed souce - file - -2012-12-03 10:10 robert - - * src/osgShadow/ViewDependentShadowMap.cpp: From Wang Rui, "I've - found a very covert bug in current VDSM implementation. It makes - the computation of positional texgen incorrect if the shadow - scene is under one or more child cameras with view/proj offsets. - Using current stage instead will fix it." - -2012-12-03 09:50 robert - - * include/osg/Uniform: Fixed error in Unfiform set method - -2012-12-03 09:35 robert - - * src/osgPlugins/osc/CMakeLists.txt: Added include of osc plugin - directory to help with Windows build - -2012-12-02 11:45 robert - * include/osgPresentation/PropertyManager: From Wang Rui, build fix - -2012-11-30 20:03 robert - - * src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideEventHandler.cpp: Fixed crash when no - CameraManipulator is assigned to the viewer +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). -2012-11-30 16:52 robert +I've attached a fix which just uses the original color values whenever _numColors equals the number of actual defined colors in the ColorRange. I doubt anyone would want interpolated colors in these circumstances." - * applications/present3D/present3D.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp: Added support for 0x and - numeric defintion of keys to be used with - functionality. -2012-11-30 15:43 robert - - * include/osgPresentation/PropertyManager, - src/osgPresentation/PropertyManager.cpp, - src/osgPresentation/SlideEventHandler.cpp: Added support for - pausing and restart the property_animation. - -2012-11-30 14:21 robert - - * include/osgPresentation/PropertyManager, - include/osgPresentation/SlideShowConstructor, - include/osgVolume/Property, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/PropertyManager.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added xml defined - property/property animation to .p3d format for - propeties: - - alpha="$alphaname" - cutoff="$cutoffname" - region="$minx $miny $minz $maxx $maxy $maxz" - sampleDensity="$densityname" - sampleDensityWhenMoving="$densityname" - - -2012-11-28 13:28 robert - - * src/osgPlugins/osc/OscReceivingDevice.cpp, - src/osgPlugins/osc/OscReceivingDevice.hpp, - src/osgPlugins/osc/OscSendingDevice.cpp, - src/osgPlugins/osc/OscSendingDevice.hpp: From Stephan Huber, New - OscSendingDevice and OscReceivingDevice classes - -2012-11-28 10:43 robert - - * applications/present3D/present3D.cpp, examples/CMakeLists.txt, - examples/osgoscdevice, examples/osgoscdevice/CMakeLists.txt, - examples/osgoscdevice/osgoscdevice.cpp, include/osgGA/Device, - src/osgGA/Device.cpp, src/osgPlugins/osc/CMakeLists.txt, - src/osgPlugins/osc/OscDevice.cpp, - src/osgPlugins/osc/OscDevice.hpp, - src/osgPlugins/osc/OscProxyEventHandler.cpp, - src/osgPlugins/osc/OscProxyEventHandler.hpp, - src/osgPlugins/osc/ReaderWriterOscDevice.cpp, - src/osgPlugins/osc/ip/posix/UdpSocket.cpp: From Stephan Huber, - added event sending support into osgGA::Device along with - implementation on this into the osc plugin. Added osgoscdevice - example to demonstate this in action. - -2012-11-27 16:00 robert - - * src/osgPlugins/p3d/ReaderWriterP3D.cpp: Added support for - tag for , and scope to - compliment the scope of -2012-11-27 15:09 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14720 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgPresentation/PropertyManager, - include/osgPresentation/SlideEventHandler, - include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/PropertyManager.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added preliminary - support for - -2012-11-22 15:13 robert - - * src/osg/ImageSequence.cpp, - src/osgPlugins/osc/ip/posix/UdpSocket.cpp: From Stephan Huber, - "Attached you'll find a new ImageSequence.cpp which will fix an - issue I had when moving the mouse cursor over the left - window-border, as the index becomes negative. And I added a - UdpSocket.cpp-file with more debuggin-output via some sprinkled - printf-calls. " - -2012-11-22 11:55 robert - - * src/osgPlugins/osc/CMakeLists.txt, - src/osgPlugins/osc/osc/OscHostEndianness.h: Simplified CMakeLists - and adjusted OscHostEndianness to automatically detect the endian - at compile time - -2012-11-22 11:47 robert - - * src/osgPlugins/osc/CMakeLists.txt, - src/osgPlugins/osc/OscDevice.cpp, - src/osgPlugins/osc/OscProxyEventHandler.cpp, - src/osgPlugins/osc/OscProxyEventHandler.hpp: From Stephan Huber, - updates to explictly set the HOST Endian using Cmake - -2012-11-22 09:49 robert - - * applications/osgarchive/osgarchive.cpp, - src/osgPlugins/osga/OSGA_Archive.cpp: Added explict handling of - osg::Image, osg::HeightField, osg::Shader and osg::Node when - doing writes to the archive. - -2012-11-21 15:19 robert - - * src/osgPlugins/osc/OscDevice.cpp, - src/osgPlugins/osc/OscDevice.hpp: From Stephan Huber, further - work on osc plugin - -2012-11-21 14:27 robert - - * src/osg/Uniform.cpp, src/osgDB/Registry.cpp: Moved static for - local to global scope in Uniform.cpp and removed the local static - usage in Registry.cpp - -2012-11-21 13:38 robert - - * include/osgDB/Input, include/osgDB/Registry, - src/osgWrappers/deprecated-dotosg/osg/AnimationPath.cpp, - src/osgWrappers/deprecated-dotosg/osg/CoordinateSystemNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/Drawable.cpp, - src/osgWrappers/deprecated-dotosg/osg/Node.cpp, - src/osgWrappers/deprecated-dotosg/osg/NodeCallback.cpp, - src/osgWrappers/deprecated-dotosg/osg/OccluderNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/StateAttribute.cpp, - src/osgWrappers/deprecated-dotosg/osg/StateSet.cpp, - src/osgWrappers/deprecated-dotosg/osg/Uniform.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_ObjectRecordData.cpp: - Refactored osgDB::Input::readObjectOfType to use a template, and - updated associated wrappers to avoid using local static's - -2012-11-20 18:41 robert - - * src/osgPlugins/osc/CMakeLists.txt: From Paul Martz, fix for - Windows build - -2012-11-20 13:01 robert - - * src/osgPlugins/osc/CMakeLists.txt: From Stephan Huber, added - missing windows dependency - -2012-11-20 10:37 robert - - * src/osgPlugins/osc/CMakeLists.txt: Added ws2_32 library to Win32 - build - -2012-11-19 11:25 robert - - * applications/present3D/present3D.cpp, - examples/osgframerenderer/EventProperty.cpp, - examples/osgframerenderer/gscframerenderer.cpp, - examples/osgmultiplemovies/osgmultiplemovies.cpp, - include/osg/ImageUtils, - src/osgPresentation/SlideShowConstructor.cpp: From Paul Martz, - build fixes - -2012-11-19 10:48 robert - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/osc, - src/osgPlugins/osc/CMakeLists.txt, - src/osgPlugins/osc/OscDevice.cpp, - src/osgPlugins/osc/OscDevice.hpp, - src/osgPlugins/osc/OscProxyEventHandler.cpp, - src/osgPlugins/osc/OscProxyEventHandler.hpp, - src/osgPlugins/osc/ReaderWriterOscDevice.cpp, - src/osgPlugins/osc/ip, src/osgPlugins/osc/ip/IpEndpointName.cpp, - src/osgPlugins/osc/ip/IpEndpointName.h, - src/osgPlugins/osc/ip/NetworkingUtils.h, - src/osgPlugins/osc/ip/PacketListener.h, - src/osgPlugins/osc/ip/TimerListener.h, - src/osgPlugins/osc/ip/UdpSocket.h, src/osgPlugins/osc/ip/posix, - src/osgPlugins/osc/ip/posix/NetworkingUtils.cpp, - src/osgPlugins/osc/ip/posix/UdpSocket.cpp, - src/osgPlugins/osc/ip/win32, - src/osgPlugins/osc/ip/win32/NetworkingUtils.cpp, - src/osgPlugins/osc/ip/win32/UdpSocket.cpp, - src/osgPlugins/osc/osc, - src/osgPlugins/osc/osc/MessageMappingOscPacketListener.h, - src/osgPlugins/osc/osc/OscException.h, - src/osgPlugins/osc/osc/OscHostEndianness.h, - src/osgPlugins/osc/osc/OscOutboundPacketStream.cpp, - src/osgPlugins/osc/osc/OscOutboundPacketStream.h, - src/osgPlugins/osc/osc/OscPacketListener.h, - src/osgPlugins/osc/osc/OscPrintReceivedElements.cpp, - src/osgPlugins/osc/osc/OscPrintReceivedElements.h, - src/osgPlugins/osc/osc/OscReceivedElements.cpp, - src/osgPlugins/osc/osc/OscReceivedElements.h, - src/osgPlugins/osc/osc/OscTypes.cpp, - src/osgPlugins/osc/osc/OscTypes.h: Frm Stephan Huber, osc plugin - that supports send and recieving events via UDP packets. - -2012-11-16 15:40 robert - - * include/osgPresentation/PropertyManager, - src/osgPresentation/PropertyManager.cpp: Added first cut - implememtation of PropertyAnimation class - -2012-11-15 12:11 robert - - * include/osgPresentation/PropertyManager, - src/osgPresentation/CMakeLists.txt, - src/osgPresentation/PropertyManager.cpp, - src/osgPresentation/SlideEventHandler.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Moved - PropertyManager related classes out from SlideEventHandler into - their own dedicated header/source file. - -2012-11-13 16:15 robert - - * applications/present3D/present3D.cpp: Added support for - P3D_UPDATE env var for setting the UpdateVisitor::TRAVERSAL_MODE. - Accepted settings are "active", "Active", "ACTIVE", or "all", - "All", "ALL". - -2012-11-13 15:26 robert - - * applications/present3D/present3D.cpp: Added --update-active and - --update-all command line options that set the - UpdateVisitor::TraversalMode to TRAVERSE_ACTIVE_CHILDREN and - TRAVERSE_ALL_CHILDREN respecively. - -2012-11-13 14:22 robert - - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added support for - to allow user definition - of when to enable OpenGL blending for an image or not. - -2012-11-13 13:52 robert - - * src/osgPlugins/RestHttpDevice/RestHttpDevice.cpp, - src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp: From Stephan - Huber, fixed warning - -2012-11-13 13:32 robert - - * examples/osgvolume/osgvolume.cpp, include/osg/ImageUtils, - include/osgPresentation/SlideShowConstructor, - src/osg/ImageUtils.cpp, src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Changed COLOUR to - COLOR to be consistent with OpenGL spelling - -2012-11-13 13:16 robert - - * examples/osgvolume/osgvolume.cpp, include/osg/Image, - include/osg/ImageUtils, - include/osgPresentation/SlideShowConstructor, src/osg/Image.cpp, - src/osg/ImageUtils.cpp, src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Moved colour space - conversion of volumes from the osgvolume example into - osg/ImageUtils and added support for - colorSpaceConversion="MODULATE_ALPHA_BY_LUMINANCE","MODULATE_ALPHA_BY_COLOUR","REPLACE_ALPHA_WITH_LUMINANCE" - and "REPLACE_RGB_WITH_LUMINANCE" to .p3d tag - -2012-11-13 11:45 robert - - * include/osgDB/ImagePager, src/osgDB/ImagePager.cpp, - src/osgViewer/ViewerBase.cpp: Added first step to adding pruning - of expired image requests. - -2012-11-13 11:20 robert - - * src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp, - src/osgViewer/View.cpp: From Stephan Huber, introduced - syncornization of osgGA::Device - -2012-11-12 16:46 robert - - * src/osgPresentation/PickEventHandler.cpp, - src/osgPresentation/SlideEventHandler.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Cleaned up reported - of events and added assigned of tag region properities - when using the wildcard definition of the volume. - -2012-11-12 15:26 robert - - * examples/CMakeLists.txt, examples/osgframerenderer, - examples/osgframerenderer/CMakeLists.txt, - examples/osgframerenderer/CameraPathProperty.cpp, - examples/osgframerenderer/CameraPathProperty.h, - examples/osgframerenderer/CaptureSettings.cpp, - examples/osgframerenderer/CaptureSettings.h, - examples/osgframerenderer/EventProperty.cpp, - examples/osgframerenderer/EventProperty.h, - examples/osgframerenderer/UpdateProperty.cpp, - examples/osgframerenderer/UpdateProperty.h, - examples/osgframerenderer/gscframerenderer.cpp: Added - osgframerenderer example -2012-11-12 10:36 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") - * include/osgPresentation/SlideEventHandler: Changed the default - settings to fix a jump problems +though all required modules are installed. -2012-11-10 12:12 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. - * include/osgPresentation/KeyEventHandler, - src/osgPresentation/KeyEventHandler.cpp: Added missing files in - support of key_jump and key_run tags +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." -2012-11-09 21:32 robert - * include/osgPresentation/PickEventHandler, - include/osgPresentation/SlideEventHandler, - include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/CMakeLists.txt, - src/osgPresentation/PickEventHandler.cpp, - src/osgPresentation/SlideEventHandler.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added support for - naming slides and layers with slide_name and layer_name - properties respectively. - Added support for creating events based on key presses using a - and tags. +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14719 16af8721-9629-0410-8352-f15c8da7e697 -2012-11-09 21:23 robert - * src/osgUtil/Optimizer.cpp: Added Node::getName() and - getUserDataContainer() to check to see if an node can be removed - or not. - -2012-11-08 17:19 robert - - * include/osgViewer/api/Win32/GraphicsWindowWin32, - src/osgViewer/GraphicsWindowWin32.cpp: From Alexander Sinditskiy, - "I found issue with capturing mouse buttons. - This issue can be reproduced: - 1. Create osgViewer window, - 2. Push right&left mouse buttons on the osgViewer window, - 3. Move mouse out of window, and release right&left mouse - buttons. - - osgViewer window handle only first mouse release, as result - window thinks that we did not released second mouse button. - - I attached fix for this issue." - -2012-11-08 15:45 robert - - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added support for - - -2012-11-08 15:28 robert - - * applications/present3D/present3D.cpp: Changed the way the mouse - position is update to handle the remote device control. - -2012-11-08 14:15 robert +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 - * src/osg/ImageSequence.cpp: Added check to avoid doing update when - the imagesequence is empty. -2012-11-08 11:19 robert - - * examples/osgimagesequence/osgimagesequence.cpp, - include/osg/ImageSequence, include/osg/NodeVisitor, - include/osg/PagedLOD, include/osgDB/ImagePager, - src/osg/ImageSequence.cpp, src/osgDB/ImagePager.cpp, - src/osgDB/Registry.cpp, src/osgPlugins/ive/ImageSequence.cpp, - src/osgPresentation/SlideShowConstructor.cpp, - src/osgWrappers/deprecated-dotosg/osg/ImageSequence.cpp, - src/osgWrappers/serializers/osg/ImageSequence.cpp: Refactored - ImageSequence to better handle random access usage. - -2012-11-06 17:49 robert - - * examples/osgmultiplemovies/osgmultiplemovies.cpp: Tweaked - casts/types to fix build under Linux - -2012-11-06 14:25 robert - - * examples/osgmultiplemovies/osgmultiplemovies.cpp: Added f - qualifer to 1.0 to fix build problem under MSVS - -2012-11-06 11:18 robert - - * src/osgPlugins/imageio/ReaderWriterImageIO.cpp: From Stephan - Huber, improved performance by using native apple functions for - flipping image - -2012-11-05 17:22 robert - - * src/osgPlugins/imageio/ReaderWriterImageIO.cpp: From Stephan - Huber, "Attached you'll find a fix for the image-io-plugin to - handle out-of-memory situations more gracefully as before (don't - crash)" - -2012-11-05 12:21 robert - - * src/osg/ImageSequence.cpp: Quitened down debug output - -2012-11-05 12:03 robert - - * src/osgPlugins/QTKit/OSXQTKitVideo.mm, - src/osgPlugins/RestHttpDevice/RestHttpDevice.cpp, - src/osgPlugins/RestHttpDevice/connection.cpp, - src/osgPlugins/RestHttpDevice/connection.hpp, - src/osgPlugins/RestHttpDevice/server.cpp, - src/osgPlugins/imageio/ReaderWriterImageIO.cpp: From Stephan - Huber, updated to debug output to RestHttpDevice and tweaks to - ImageIO and QTKit plugins - -2012-11-05 09:36 robert - - * examples/osgmultiplemovies/osgmultiplemovies.cpp: Added static - cast to float to avoid compile error under MSV - -2012-11-01 18:06 robert - - * src/osgUtil/IntersectionVisitor.cpp: From David Longest, "When - drawing, a transform with an absolute reference frame will ignore - the - calculated model / view matrices up to that point. The - IntersectionVisitor would instead keep the - view matrices calculated up to that point even though the - Transform class will throw out the - calculated model matrix via “computeLocalToWorldMatrix.” - - The change I made will push an identity matrix as the view matrix - when running into a transform - with an absolute reference frame and will pop the matrix off - after the traverse. - - To test this, I created a camera with a perspective view and - added a transform with some geometry - in it. Afterwards, I set the transform’s reference frame to - ABSOLUTE_RF and spun the camera around - using the trackball manipulator. When trying to pick with a - LineSegmentIntersector, it would not - pick the geometry in the transform with the reference frame set - to ABSOLUTE_RF." - -2012-11-01 16:11 robert - - * src/osgPresentation/SlideEventHandler.cpp: Changed the - PropertyEventCallback to only respond to mouse releated events. - -2012-11-01 14:29 robert - - * src/osg/ImageSequence.cpp: - -2012-10-31 17:06 robert - - * applications/present3D/present3D.cpp: Added reading of the - P3D_DEVICE env var for setting up the --device entry. - -2012-10-31 16:07 robert - - * include/osgPresentation/SlideEventHandler, - include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideEventHandler.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added event and - update callbacks to pass up changes to the mouse position to the - ImageSequence::seek() to control which images is selected based - on mouse x position - -2012-10-30 12:31 robert - - * CMakeLists.txt, CMakeModules/FindAsio.cmake, - applications/osgviewer/osgviewer.cpp, - applications/present3D/present3D.cpp, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/RestHttpDevice, - src/osgPlugins/RestHttpDevice/CMakeLists.txt, - src/osgPlugins/RestHttpDevice/ReaderWriterRestHttpDevice.cpp, - src/osgPlugins/RestHttpDevice/RestHttpDevice.cpp, - src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp, - src/osgPlugins/RestHttpDevice/connection.cpp, - src/osgPlugins/RestHttpDevice/connection.hpp, - src/osgPlugins/RestHttpDevice/header.hpp, - src/osgPlugins/RestHttpDevice/io_service_pool.cpp, - src/osgPlugins/RestHttpDevice/io_service_pool.hpp, - src/osgPlugins/RestHttpDevice/mime_types.cpp, - src/osgPlugins/RestHttpDevice/mime_types.hpp, - src/osgPlugins/RestHttpDevice/reply.cpp, - src/osgPlugins/RestHttpDevice/reply.hpp, - src/osgPlugins/RestHttpDevice/request.hpp, - src/osgPlugins/RestHttpDevice/request_handler.cpp, - src/osgPlugins/RestHttpDevice/request_handler.hpp, - src/osgPlugins/RestHttpDevice/request_parser.cpp, - src/osgPlugins/RestHttpDevice/request_parser.hpp, - src/osgPlugins/RestHttpDevice/server.cpp, - src/osgPlugins/RestHttpDevice/server.hpp: From Stephan Huber, - RestHttpDevice plugin for support of remote application control - via Rest http. - -2012-10-29 15:58 robert - - * include/osgPresentation/SlideEventHandler, - include/osgPresentation/SlideShowConstructor, - src/osg/ImageSequence.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideEventHandler.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Intial work towards - support an interaction tag in Present3D. - -2012-10-26 15:31 robert - - * src/osgPlugins/ktx/ReaderWriterKTX.h: From Luc Frauciel, "Compile - Fix - KTX plugin with Visual Studio, not defined under - MSVC" - -2012-10-24 16:10 robert - - * src/osgPresentation/PickEventHandler.cpp: Fixed bug in - click_to_run feature where events would be handled by hidden - labels - -2012-10-24 10:43 robert - - * include/osg/ImageStream, - src/osgPlugins/QTKit/OSXCoreVideoTexture.cpp, - src/osgPlugins/QTKit/OSXQTKitVideo.h, - src/osgPlugins/QTKit/OSXQTKitVideo.mm, - src/osgPlugins/QTKit/ReaderWriterQTKit.cpp, - src/osgPlugins/avfoundation/OSXAVFoundationVideo.h, - src/osgPlugins/avfoundation/OSXAVFoundationVideo.mm, - src/osgPlugins/avfoundation/ReaderWriterAVFoundation.cpp, - src/osgPlugins/imageio/ReaderWriterImageIO.cpp, - src/osgPresentation/SlideShowConstructor.cpp: From Stephan Huber, - "attached you'll find the latest versions of the QTKit + the - AVFoundation-plugin, some changes to osgPresentation and a small - enhancement für ImageIO. - - I fixed some bugs and did some more tests with both of the - video-plugins. I integrated CoreVideo with osgPresentation, - ImageStream has a new virtual method called createSuitableTexture - which returns NULL for default implementations. Specialized - implementations like the QTKit-plugin return a CoreVideo-texture. - I refactored the code in SlideShowConstructor::createTexturedQuad - to use a texture returned from - ImageStream::createSuitableTexture. - - I did not use osgDB::readObjectFile to get the texture-object, as - a lot of image-related code in SlideShowConstructor had to be - refactored to use a texture. My changes are minimal and should - not break existing code. - - There's one minor issue with CoreVideo in general: As the - implementation is asynchronous, there might be no texture - available, when first showing the video the first frame. I am a - bit unsure how to tackle this problem, any input on this is - appreciated. - - Back to the AVFoundation-plugin: the current implementation does - not support CoreVideo as the QTKit-plugin supports it. There's no - way to get decoded frames from AVFoundation stored on the GPU, - which is kind of sad. I added some support for CoreVideo to - transfer decoded frames back to the GPU, but in my testings the - performance was worse than using the normal approach using - glTexSubImage. This is why I disabled CoreVideo for AVFoundation. - You can still request a CoreVideoTexture via readObjectFile, - though. - " - -2012-10-23 16:15 robert - - * include/osgDB/ReadFile, include/osgGA/Device, - include/osgViewer/View, include/osgViewer/ViewerBase, - src/osgGA/CMakeLists.txt, src/osgGA/Device.cpp, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/sdl, - src/osgPlugins/sdl/CMakeLists.txt, - src/osgPlugins/sdl/JoystickDevice.cpp, - src/osgPlugins/sdl/JoystickDevice.h, - src/osgPlugins/sdl/ReaderWriterSDL.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: Added osgGA::Device class for - integration of both physical and virtual devices. - - Added template readFile(..) function to make it more convinient - to cast to a specific object type. - - Added support for osgGA::Device to osgViewer. - - Added sdl plugin to provides very basic joystick osgGA::Device - integration. - -2012-10-22 16:21 robert - - * src/osg/Uniform.cpp: Added mutex lock to - Uniform::addParent()/removeParent(). - -2012-10-12 14:51 robert - - * src/osgWrappers/serializers/CMakeLists.txt, - src/osgWrappers/serializers/osgGA, - src/osgWrappers/serializers/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/serializers/osgGA/CMakeLists.txt, - src/osgWrappers/serializers/osgGA/DriveManipulator.cpp, - src/osgWrappers/serializers/osgGA/FlightManipulator.cpp, - src/osgWrappers/serializers/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/serializers/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/serializers/osgGA/MultiTouchTrackballManipulator.cpp, - src/osgWrappers/serializers/osgGA/StateSetManipulator.cpp, - src/osgWrappers/serializers/osgGA/TerrainManipulator.cpp, - src/osgWrappers/serializers/osgGA/TouchData.cpp, - src/osgWrappers/serializers/osgGA/TrackballManipulator.cpp, - src/osgWrappers/serializers/osgGA/UFOManipulator.cpp: Added - serializers for osgGA - -2012-10-09 16:14 robert - - * src/osg/ImageSequence.cpp: Removed the insert of requests in the - ImageSequence::_filesRequested data structure so that it always - requests files, leaving it up the ImagePager to decide to track - duplicates - -2012-10-09 16:05 robert - - * include/osgDB/ObjectWrapper, include/osgDB/Serializer, - src/osgWrappers/serializers/osg/Node.cpp, - src/osgWrappers/serializers/osg/Object.cpp, - src/osgWrappers/serializers/osg/PagedLOD.cpp, - src/osgWrappers/serializers/osgText/Text3D.cpp, - src/osgWrappers/serializers/osgVolume/Locator.cpp, - src/osgWrappers/serializers/osgVolume/VolumeTile.cpp: From Wang - Rui, "I modified the Serializer header to add a - UPDATE_TO_VERSION_SCOPED - macro, which could set version within brackets and reset it after - that. All related serializers are also modified so that the - backward-compatibility bug reported by Farshid can be fixed. - " - - From Robert Osfield, removed the use of osg::Referenced and - creating the proxy object on the heap. - -2012-10-08 16:14 robert - - * src/osgDB/XmlParser.cpp: From Wang Rui, "I've added CDATA tag - support to XmlParser so that we can keep user - data (e.g., GLSL shader texts) in XML files without parsing them. - This - will be necessary for the coming-soon effect compositor - submission. - :-)" - -2012-10-08 16:12 robert - - * examples/osgmultiplemovies/osgmultiplemovies.cpp: Added a - static_cast to avoid build issues under Windows - -2012-10-08 16:03 robert - - * examples/osgmultiplemovies/osgmultiplemovies.cpp: Fixed warning - -2012-10-08 15:10 robert - - * src/osgPlugins/3ds/lib3ds/lib3ds_io.c: From Aurelein Albert, - "Under some Visual Studio configuration, I get compile error on - "lib3ds_io.c" due to use of these kind of conversion : - - b[1] = uint8_t((w & 0xFF00) >> 8); - - I replaced it with : - - b[1] = (uint8_t)((w & 0xFF00) >> 8); - - And it compiles fine - " - -2012-10-08 12:00 robert - - * src/osgPlugins/imageio/ReaderWriterImageIO.cpp: From Gill - Peacegood, "In the attached file I have changed the colour space - used for writing images to match the one used for reading images. - Also this color space does not make subtle changes to the - original colours which i think is probably what most people - intend when writing an image and is more consistent with other - plugins. - - The effect is that an image that is written does not have a - noticeably different colour when it is read back." - -2012-10-08 11:54 robert - - * src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/ReaderWriterDAE.h, - src/osgPlugins/dae/daeReader.cpp, src/osgPlugins/dae/daeReader.h: - From Oren Fromberg, "" - --This line, and thosAttached is an update to - ReaderWriterDAE.cpp/h and daeReader.cpp/h that implements - - osgDB::ReaderWriter::ReadResult - - ReaderWriterDAE::readNode (std::istream&, const - osgDB::ReaderWriter::Options*) - - This virtual function had never been implemented in - ReaderWriterDAE. I implemented this function because the DAE - plugin could not load files from other ReaderWriter derived - objects that use protocol handlers. - - I have updated function declarations in the header to have - identical signatures with the base class declarations that - include the default parameter. - - - readNode (std::istream&, …) is nearly identical to readNode(const - std::string &, …) except it uses a new private function to - convert the file from standard input: - - bool daeReader::convert( std::istream& fin ) - - When this function is called fileURI is the string “from - std::istream” to make the user aware where the file is coming - from. Then instead of calling - - _dae->open(fileURI) - - we call - - _dae->openFromMemory(fileURI, buffer.data()) - - Where buffer.data() is a pointer to the dae file text in memory. - - - Other changes include private functions to clear caches and to - consolidate redundant code that appears between the two convert - functions. - - - e below, will be ignored-- - - M src/osgPlugins/dae/ReaderWriterDAE.cpp - M src/osgPlugins/dae/daeReader.cpp - M src/osgPlugins/dae/ReaderWriterDAE.h - M src/osgPlugins/dae/daeReader.h - -2012-10-08 11:10 robert - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/ktx, - src/osgPlugins/ktx/CMakeLists.txt, - src/osgPlugins/ktx/ReaderWriterKTX.cpp, - src/osgPlugins/ktx/ReaderWriterKTX.h: From James Athey, "I've - attached a new osgDB ReaderWriter that can read Khronos Texture - Files - (KTX). The KTX file format is straightforward and designed to be - easy to - use in OpenGL. - - http://www.khronos.org/opengles/sdk/tools/KTX/file_format_spec/ - http://www.khronos.org/opengles/sdk/tools/KTX/ - - The attached plugin can read: - - * 1D, 2D, and 3D textures - * uncompressed and compressed images - * mipmapped and non-mipmapped textures - * little-endian and big-endian files - * textures from files as well as seekable istream objects - - It does not handle: - - * array textures (not supported by the ReaderWriter API) - * cubemap textures (not supported by the ReaderWriter API) - * the "KTXorientation" key-value pair; support could be added - later (see - the file format spec for more information) - * non-seekable istream objects (would require more complicated - memory - management) - " - -2012-10-05 16:31 robert - - * include/osgGA/GUIEventAdapter: Made TouchData and osg::Object to - aid with serialization. - -2012-10-05 10:37 robert - - * src/osg/ImageSequence.cpp, src/osgDB/ImagePager.cpp: Improved - ImageSequence's handling of seek() and added a simply hack to - ImagePager to prevent the number of requests accumulating. - -2012-10-05 10:35 robert - - * examples/osgimagesequence/osgimagesequence.cpp: From Stephan - Huber and Robert Osfield, addded interactive setting of the - ImageSequence::seek() based on the mouse x position. - -2012-10-05 10:07 robert - - * include/osgGA/GUIEventAdapter: Added set methods to assist with - serialization support - -2012-10-04 13:45 robert - - * CMakeModules/FindQuickTime.cmake, src/osgDB/CMakeLists.txt, - src/osgDB/Registry.cpp: From Stephan Huber, "attached you'll find - a fix for Registry.cpp not using the QTKit-plugin for - video-files. W/o this fix you had to preload the plugin to open - movie-files." - -2012-10-02 14:07 robert - - * CMakeLists.txt, CMakeModules/FindAVFoundation.cmake, - CMakeModules/FindCoreMedia.cmake, - CMakeModules/FindQuartzCore.cmake, examples/CMakeLists.txt, - examples/osgmultiplemovies, - examples/osgmultiplemovies/CMakeLists.txt, - examples/osgmultiplemovies/osgmultiplemovies.cpp, - include/osg/Image, include/osg/ImageStream, src/osg/Image.cpp, - src/osg/Referenced.cpp, src/osgDB/CMakeLists.txt, - src/osgDB/Registry.cpp, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/QTKit/CMakeLists.txt, - src/osgPlugins/QTKit/OSXCoreVideoAdapter.h, - src/osgPlugins/QTKit/OSXCoreVideoAdapter.mm, - src/osgPlugins/QTKit/OSXCoreVideoTexture.cpp, - src/osgPlugins/QTKit/OSXCoreVideoTexture.h, - src/osgPlugins/QTKit/OSXQTKitVideo.h, - src/osgPlugins/QTKit/OSXQTKitVideo.mm, - src/osgPlugins/QTKit/ReaderWriterQTKit.cpp, - src/osgPlugins/QTKit/VideoFrameDispatcher.cpp, - src/osgPlugins/QTKit/VideoFrameDispatcher.h, - src/osgPlugins/avfoundation, - src/osgPlugins/avfoundation/CMakeLists.txt, - src/osgPlugins/avfoundation/OSXAVFoundationVideo.h, - src/osgPlugins/avfoundation/OSXAVFoundationVideo.mm, - src/osgPlugins/avfoundation/OSXAvFoundationCoreVideoTexture.cpp, - src/osgPlugins/avfoundation/OSXAvFoundationCoreVideoTexture.h, - src/osgPlugins/avfoundation/ReaderWriterAVFoundation.cpp: From - Stephan Huber, OSX and iOS Video support via a QTKit plugin from - OSX 10.7 and before, and an AVFoundation plugin for iOS and - OSX10.8 and later. - -2012-09-28 16:36 robert - - * src/osgViewer/ViewerBase.cpp: From Leigh Stivers, "We had this - problem which shows up with nVidia's latest Quadro driver, 305.93 - - and older drivers when the nVidia's setting "Thread - Optimization" was turned on, running Windows 7. The symptom, is - that after creating a first view and using it, and then creating - a second view, the first view will never render anything but - black. - - What happens is this: - A view is created, and then the viewers thread is created and - runs. - The setReleaseContextAtEndOfFrameHint is true. - To create a second view, the viewer is setDone(true), and we wait - for the thread exit. - - At this point, inside the ViewerBase::RenderingTraversals code, - there are places where it reads "if(_done) return;" - - The problem, is that it won't reach the code that will - releaseContext(). - - Apparently, this driver won't let any other thread to - makeCurrent(), if another thread (dead or not) has ownership. So - when the Viewers is re-started, the first view won't be able to - use the gc. - - The change attached (against rev 13153) corrects this." - -2012-09-27 08:34 robert - - * src/osg/FrameBufferObject.cpp, - src/osgViewer/GraphicsWindowIOS.mm: From Thomas Hogarth, "Apple - have decided in their eternal wisdom to do away with separate - depth and stencil buffers on iOS from version 5 and above. - - Attached are changes to GraphicsWindowIOS.mm to support setting - up the new buffer type when compiling for iOS5, - also attached is a small change to FrameBufferObject.cpp to - report support for packed depth stencil via the - GL_OES_packed_depth_stencil extension. - - For anyone reading this you can attach a packed depth stencil to - your FBO like so - - _rttCamera->attach( osg::Camera::PACKED_DEPTH_STENCIL_BUFFER, - GL_DEPTH24_STENCIL8_EXT ); - - Luckily GL_DEPTH24_STENCIL8_EXT happens to have the same value as - iOSs GL_DEPTH24_STENCIL8_OES" - -2012-09-26 08:42 robert - - * include/osg/GL: From Paul Martz, "This change to include/osg/GL - correctly includes the OpenGL header on OSX 10.7 when building - OSG trunk for GL3. It also adds some CPP defines for - compatibility." - -2012-09-25 11:04 robert - - * include/osgManipulator/Dragger: Changed dispatch to virtual - -2012-09-24 10:10 robert - - * src/osgPlugins/png/ReaderWriterPNG.cpp: From Frederic Bouvier, - "fix PNG write for images with bits per components different than - 8 that was hard coded." - -2012-09-20 14:06 robert - - * src/osgPlugins/dxf/scene.h: From Aurelien Albert, "In the DXF - plugin, DXF layers are decoded and each layer is added in a - separate group, which is very usefull to retrieve a layer or - display a list of all layers in the aplication. - - But the layers are not always children of the "model root" node : - there can be a matrix transform between "model root" and "layers - parent", so I've added the name "Layers" on the node which - contains all layers to easily retrieve the layers groups from - application code." - -2012-09-20 14:03 robert - - * include/osg/GL2Extensions: From Luc Frauciel, Added sRGB - FrameBuffer string - -2012-09-20 11:27 robert - - * include/osgManipulator/Constraint: From Vladimir Cheaev, " - I worked with a osg::Constraint and found strange part of code: - class OSGMANIPULATOR_EXPORT Constraint : public osg::Referenced - { - public: - ... - virtual bool constrain(ScaleUniformCommand& command) const { - return constrain((MotionCommand&)command); } - virtual bool constrain(const Rotate3DCommand& command) { return - constrain((MotionCommand&)command); } - ... - - If i use osgManipulator::Rotate3DCommand then method - Rotate3DCommand::accept(const Constraint& constraint) calls - Constraint::constrain(MotionCommand&) instead Constraint:: - constrain(const Rotate3DCommand&). - - If you replace - virtual bool constrain(const Rotate3DCommand& command) { return - constrain((MotionCommand&)command); } - on to - virtual bool constrain(Rotate3DCommand& command) const { return - constrain((MotionCommand&)command); } - then all works correctly. - " - -2012-09-20 11:18 robert - - * include/osg/GLBeginEndAdapter, src/osg/ArrayDispatchers.cpp, - src/osg/GLBeginEndAdapter.cpp: From Farshid Lashkari, Added - GLBeginEndAdapter::reset(), and _overallNormalAssigned, - _overallColorAssigned flags to avoid the GLBeginEndAdapter - adapter setting colour and normals when none has been assigned. - -2012-09-20 11:16 robert - - * src/osgViewer/CMakeLists.txt: From Ulrich Hertlein, "attached is - a patch to src/osgViewer/CMakeLists.txt that inverts the logic of - when to use - Cocoa and when to use the old Carbon interface for the windowing - system. - - The old code had to be modified for every new OS X release to - default to Cocoa. - The new code uses Carbon for <= OS X 10.4 and Cocoa on everything - else." - -2012-09-20 11:14 robert - - * include/osgDB/ImagePager, src/osgDB/ImagePager.cpp: Added - ReadQueue::size() method to help with debugging. - -2012-09-12 16:35 robert - - * examples/osgimagesequence/osgimagesequence.cpp: Added handling of - directory names in osgimagesequence commandline. - - From Stephan Huber, added support for controlling the - ImageSequence seek position via mouse x position, toggled on/off - via 'i' key. - -2012-09-12 16:02 robert - - * include/osgDB/FileNameUtils, include/osgDB/FileUtils, - src/osgDB/FileUtils.cpp: Added osgDB::getSortedDirectoryContents - and osgDB::FileNameComparator to help with sorting directory - contents into alphabetic and numerical order. - -2012-09-12 11:09 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Converted sorting - of directory contents across to use the new - osgDB::FileNameComparator and osgDB::getSortedDirectoryContents() - -2012-09-10 08:24 robert - - * CMakeLists.txt, include/osg/Version: Updated version after 3.1.3 - dev release - -2012-09-07 17:04 robert - - * ChangeLog: Updated ChangeLog for 3.1.3 dev release - -2012-09-07 14:55 robert - - * include/osg/Image: From Wojciech Lewandowski, "With current trunk - I had an error while compiling osg/Image.cpp for IOS simulator / - GLES2. Symbol GL_RGBA16 was missing. Adding #define GL_RGBA16 - 0x805B to Image header solves the problem. " - -2012-09-07 09:31 robert - - * src/osgViewer/Viewer.cpp: Added setting of the input range of the - event state based on the master cameras viewport. - -2012-09-07 08:33 robert - - * src/osgGA/KeySwitchMatrixManipulator.cpp: Added check so not - intialization is down when you select the current camera - manipulator - -2012-09-06 13:53 robert - - * src/osgPlugins/vrml/ReaderWriterVRML2.cpp: From Piotr Domagalski, - "I've added reading of node names ('DEF' element) to the VRML - reading plugin. The changes were based on trunk's version of the - plugin." - -2012-09-06 13:48 robert - - * src/osgPlugins/stl/ReaderWriterSTL.cpp: From Piotr Domagalski, - "I've rewritten some bits of the STL plugin in order to support - ASCII STL files with multiple named solids (reading and writing). - The names are also used as OSG nodes names. - - - Also, a 'dontSaveNormals' was added. It allows to ignore - normals when writing an STL file. For example, it is useful for - me when writing an STL file for CFD simulations. - - - Some comments and code formatting were improved (to be - consistent with the formatting already used in the plugin). - - - With 'separateFiles' option files are now named fooX.stl - instead of foo.stlX - - The changes have been tested on various STL, both ASCII and - binary found on the net. The change was based on the trunk - branch." - - From Robert Osfield, changed assert in Piotr's code to a runtime - check warning report. - -2012-09-06 10:52 robert - - * include/OpenThreads/Atomic: From Piotr Domagalski, "Currently, - code using OpenSceneGraph doesn't build with clang due to the way - __sync_bool_compare_and_swap() is used in OpenThreads/Atomic - header file. - - I tested it with clang 3.1 and it seems that clang is enforcing - the use of the same type for all parameters in this builtin. - Looking at the function declaration [1] - - bool __sync_bool_compare_and_swap (type *ptr, type oldval type - newval, ...) - - it seems to be doing the right thing: here the same type is used - for *ptr, oldval and newval. - - [1] - http://gcc.gnu.org/onlinedocs/gcc/_005f_005fsync-Builtins.html#g_t_005f_005fsync-Builtins - " - -2012-09-06 10:32 robert - - * examples/CMakeLists.txt: From Fredric Bouvier, fix to CMake build - selection of FLTK - -2012-09-05 21:03 robert - - * examples/osgviewerFOX/FOX_OSG.cpp, - examples/osgviewerWX/osgviewerWX.cpp, - include/osg/GraphicsContext, include/osgViewer/GraphicsWindow, - include/osgViewer/api/Carbon/GraphicsWindowCarbon, - include/osgViewer/api/Carbon/PixelBufferCarbon, - include/osgViewer/api/Cocoa/GraphicsWindowCocoa, - include/osgViewer/api/Cocoa/PixelBufferCocoa, - include/osgViewer/api/IOS/GraphicsWindowIOS, - include/osgViewer/api/X11/GraphicsWindowX11, - src/osgQt/GraphicsWindowQt.cpp, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowCocoa.mm, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp, - src/osgViewer/PixelBufferCarbon.cpp, - src/osgViewer/PixelBufferCocoa.mm, - src/osgViewer/PixelBufferWin32.cpp, - src/osgViewer/PixelBufferX11.cpp: From Colin McDonald and Robert - Osfield, converted Traits::sharedContext from GraphicsContext* to - osg:observer_ptr to prevent dangling pointer - issues. - -2012-09-05 13:51 robert - - * src/osgUtil/RenderBin.cpp: Fixed inappropriate comment - -2012-09-05 13:48 robert - - * include/osg/Object, src/osgUtil/RenderBin.cpp, - src/osgViewer/Scene.cpp: Moved the OSG_INIT_SINGLETON_PROXY macro - into include/osg/Object to make it more generally useful and - added it's usage into the RenderBinPrototypeList initialization. - -2012-09-05 10:27 robert - - * CMakeLists.txt: From Thomas Hogarth, "I submitted a change for - the IOS CMake system a few weeks back which hasn't made it into - the trunk. I've just made the modifications again against the - latest trunk and have attached the file - - It basically accounts for the fact that XCode has changed it's - default install location. - - " - -2012-09-05 10:24 robert - - * src/osgPlugins/shp/ESRIShape.cpp: From Andreas Ekstrand, The - attached ESRIShape.cpp contains fixes for comparing calculated - byte sizes with the content length from the record header. - According to the ESRI Shape documentation - (http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf), the - content length is specified in 16 bit words, which is why I have - multiplied it by 2 when comparing to byte sizes. Note that the - comparison in line 813 is made with a fix number of 16-bit words - so it hasn't been changed. - - This fixes problems with PolygonZ records where the previous code - was reading past the end of the record since it thought it had M - values even if it didn't. I suspect the problem that James - McGlone had back in 2006 was the same but reversed, when he tried - to simply comment out the check, which was a (correctly) refused - submission."" - -2012-09-05 10:19 robert - - * src/osg/ShapeDrawable.cpp: From Nico Kruithof, "There is a small - typo in the ShapeDrawable code for a sphere. There was a - gl.Begin(GL_QUAD_STRIP) that was never closed, nor used. - - " - -2012-09-05 09:30 robert - - * CMakeLists.txt, include/osg/Version: Updated SO version number to - avoid collision with new additions to serializers - -2012-09-05 09:08 robert - - * src/osg/Image.cpp: Added GL_RGBA8 and GL_RGBA16 entries to the - Image::computePixelFormat() and improved he readability of the - method by inserting line spacing. - -2012-09-05 08:48 robert - - * CMakeLists.txt: From Ulrich Hertlein, "fixes a typo and adds - support for OS X 10.8" - -2012-09-05 08:42 robert - - * include/osg/Geometry: Added deprecated note to indices entry. +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 -2012-09-04 08:21 robert - - * src/osgDB/FileCache.cpp: From Brad Christiansen, changed OSG_INFO - to OSG_DEBUG to quieten down volume of messages in INFO -2012-09-03 15:19 robert - - * src/osgPlugins/nvtt/NVTTImageProcessor.cpp: From Brad - Christiansen, "fix for the NVTTImageProcessor. When the code was - updated in revision 12912 a couple of typos where made. These - cause a crash when compressing transparent images and mangled - colours when compressing rgb images. " +Wed, 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. -2012-09-03 09:08 robert - * include/osg/GL2Extensions: Adjusted the #define's to help GLES2 - build +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14716 16af8721-9629-0410-8352-f15c8da7e697 -2012-09-03 08:30 robert - * src/osgDB/ReadFile.cpp: From Lilin Xiong, " there is a small bug - in osgDB::readNodeFiles(std::vector& fileList,const - Options* options) in file ReadFile.cpp line 85: - osg::Node *node = osgDB::readNodeFile( *itr , - Registry::instance()->getOptions() ); - It should be: - osg::Node *node = osgDB::readNodeFile( *itr , options );" +Wed, 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 -2012-08-31 16:00 robert - * src/osgTerrain/Terrain.cpp: Added a fix for a multi-threading bug - that occured when TerrainTiles were accessed via the - Terrain::_updateTerrainTileSet that were being deleted at the - same time by the DatabasePager thread. +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 -2012-08-29 16:48 robert - * src/osgWrappers/serializers/osg/Program.cpp: From Wang Rui, "This - patch fixes a problem of the osg::Program serializers that can't - save/load GeometryInputType data correctly. The bug is initially - found - by John Kelso." +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 -2012-08-24 15:05 robert - * include/osgDB/Serializer: From Johannes Scholz, fix for writing - out of hexidecimal numbers +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 -2012-08-23 15:06 robert - * src/osg/BufferObject.cpp: Fixed bug in - GLBufferObjectSet::discardAllDeletedGLBufferObjects() and - GLBufferObjectSet::flushDeletedGLBufferObjects(double - currentTime, double& availableTime) - where the NumberActiveGLBufferObjects was errneously being - incremented by numDiscarded. - - M osg/BufferObject.cpp +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 -2012-08-22 16:39 robert - * include/osg/GLObjects: Fixed typo +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 -2012-08-21 09:45 robert - * src/osgViewer/CompositeViewer.cpp: Added check against the Camera - NodeMask to decide whether it's appropriate to test for events on - that camera. +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 -2012-08-15 12:40 robert - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ShadowSettings, - src/osgShadow/ShadowSettings.cpp, - src/osgShadow/ViewDependentShadowMap.cpp: Added - ShadowSettings::s/getMaximumShadowMapDistance(double) property, - usage of these property in ViewDependentShadowMap, - and setting of it with --max-shadow-distance in the - osgshadow example. +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 -2012-08-14 20:15 robert - * include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Added a mutex to - protect the removal and addition of Uniform and Program to - StateSet to avoid parents being invalidated when multi-threading. +Wed, 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 -2012-08-03 16:14 robert - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ShadowSettings, - src/osgShadow/ShadowSettings.cpp, - src/osgShadow/ViewDependentShadowMap.cpp: Introduced - --near-far-mode into osgshadow and - ShadowSettings::setComputeNearFarModeOverride(..) to allow user - control of how the cull traversal is optimized for computing the - depth range of the shadow map. +Wed, 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 -2012-08-03 15:23 robert - * examples/osgshadow/osgshadow.cpp: Removed the erronous creation - of a local ShadowSettings object +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 -2012-07-24 09:05 robert - * src/osg/Texture.cpp: Added FireGL to prefernce list for use - glGenerateMipMap +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 -2012-07-23 08:15 robert - * src/osgPresentation/SlideShowConstructor.cpp: Fixed build +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 -2012-07-12 16:41 robert - * include/osg/Texture, src/osg/Texture.cpp: Introduced - Texture::Extensions::s/getPreferGenerateMipmapSGISForPowerOfTwo() - flag that defaults to false for Radeon, true elsewhere. - This is used to workaround mipmapping bugs with ATI/AMD cards. +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 -2012-07-11 14:36 robert - * src/osgShadow/ShadowSettings.cpp: Fixed indentation +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 -2012-07-11 08:39 robert - * include/osgGA/OrbitManipulator: Fixed parameter default value to - avoid warning +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 -2012-07-10 16:20 robert - * src/osgShadow/ViewDependentShadowMap.cpp: Replaced use of now - deprecated methods. +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. -2012-07-10 16:11 robert - * src/osgShadow/ViewDependentShadowMap.cpp: Enabled the use the - getReceivesShadowTraversalMask(). +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14692 16af8721-9629-0410-8352-f15c8da7e697 -2012-07-10 16:11 robert - * examples/osgshadow/osgshadow.cpp: Changed settings of masks to - use ShadowSettings. +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 -2012-07-10 15:50 robert - * include/osgShadow/ShadowSettings, - include/osgShadow/ShadowedScene, - src/osgShadow/ShadowSettings.cpp, - src/osgShadow/ShadowedScene.cpp: Moved mask settings into - ShadowSettings +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 -2012-07-09 17:49 robert - * include/osgGA/CameraManipulator, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Changed updateCamera(Camera*) to updateCamera(Camera&) to make it - clear that a valid Camera object should be passed in. +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 -2012-07-09 17:32 robert - * include/osgGA/CameraManipulator, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: From - Riccardo Corsi, introduced CameraManipulator::updateCamera() - method that allows more Camera properties to be controlled by the - CameraManipulator. +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 -2012-06-25 16:31 robert - * src/osgViewer/Scene.cpp: Refactored the way that the static Scene - cache is managed by moving all the functionality into a - SceneSingleton +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 -2012-06-22 16:21 robert - * src/osg/Notify.cpp: Restructed the way that the global notify - variables are initialized to avoid problems with multi-threaded - initialization of these variables. +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 -2012-06-16 09:08 robert - * src/osgPresentation/SlideShowConstructor.cpp: Fixed spelling of - FileNameComparator +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 -2012-06-15 09:04 robert - * src/osgViewer/Viewer.cpp: Moved the frame() event into the event - traversal after then events and their state have been - accumulated. +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 -2012-06-12 20:15 robert - * src/osgPresentation/SlideShowConstructor.cpp: Added - FileNameComparator to sort the filenames in an ImageSequence into - alphanumerical order so that it can handle the numerical ordering - found in screenshot numbered sets of files +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 -2012-06-12 18:29 robert - * src/osgDB/ImagePager.cpp: Enabled 6 ImageThreads in the - ImagePager +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 -2012-06-12 10:31 robert - * src/osg/ImageStream.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Commented out the - disabling of use of PBO's in ImageStream, and disabled the use - ClientStoreHint in Present3D. +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 -2012-06-11 19:54 robert - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added support for - setting the paging_mode property to PRE_LOAD_ALL_IMAGES, - PAGE_AND_RETAIN_IMAGES or PAGE_AND_DICARD_IMAGE for - osg::ImageStream, - with PAGE_AND_DICARD_IMAGE set as the default. +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 -2012-06-08 10:26 robert - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added ImageStream - support to and tags in .p3d +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 -2012-06-08 04:18 robert - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added - osg::ImageSequence support into - osgPresentation::SlideShowConstructor and the associated - tag in .p3d. +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. +" -2012-06-07 10:08 robert +" It seems that libav does not have a channels attribute in AVFrame structure. This new version should do." - * examples/osgimagesequence/osgimagesequence.cpp: Added --fps - support -2012-05-31 14:45 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14676 16af8721-9629-0410-8352-f15c8da7e697 - * applications/osgviewer/osgviewer.cpp: Added typdef for Win32 -2012-05-25 16:07 robert +Fri, 23 Jan 2015 13:51:09 +0000 +Checked in by : Robert Osfield +Changed osgFX::MultiTextureControl so that it uses an osg::FloatArray internally to enable sharing with osg::Uniform.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14675 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgWrappers/serializers/osg/Uniform.cpp: From Wang Rui, "A - very small but maybe fatal problem was found when I saved models - with shader and uniforms (with new double types support) to osgb - format and tried to read it again. The application will crash - here. And the serializer file should be slightly changed to fix - it. Please replace the original file in - osgWrappers/serializers/osg/Uniform.cpp." -2012-05-25 15:32 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 - * include/osgManipulator/Dragger, src/osgManipulator/Dragger.cpp: - Added Dragger::get/setActivationMouseButtonMask(uint). -2012-05-25 08:56 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 - * include/osgManipulator/TabPlaneDragger, - src/osgManipulator/TabPlaneDragger.cpp: From Jaap Glas, "Added a - default parameter to the following constructor in TabPlaneDragger - and TabPlaneDragger.cpp: - - TabPlaneDragger(float handleScaleFactor=20.0f); - - The reason for this is that the default OSG tab sizes are way - bigger than - those we used in our application so far. And since - handleScaleFactor_ - is already a (constant) class member, I see no objection against - making - it user defined." -2012-05-24 18:15 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 - * applications/osgviewer/osgviewer.cpp, - src/osgManipulator/Dragger.cpp: From Jaap Gas, added missing - break, and missing removeDraggerCallback. -2012-05-21 09:12 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 - * CMakeLists.txt: Removed -ftree-vectorize from OSX 10.7 build to - avoid warning when building with clang. -2012-05-02 14:13 robert +Thu, 22 Jan 2015 15:07:50 +0000 +Checked in by : Robert Osfield +Fixed warninggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14670 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgshadow/osgshadow.cpp: Removed trailing spaces -2012-05-02 13:58 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 - * include/osg/Math: Fixed for including cmath before osg/Math. -2012-04-27 09:43 robert +Wed, 21 Jan 2015 11:09:29 +0000 +Checked in by : Robert Osfield +Added TextureWeights uniform support and controls to osgFX::MultiTextureControl to support usage with shaders.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14668 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/Uniform: Added using base_class::set to the - Matrix*Template class to enable the set() method from the base - class to be used. -2012-04-26 10:07 robert +Tue, 20 Jan 2015 18:01:10 +0000 +Checked in by : Robert Osfield +Re-enabled texturing and fixed runtime warninggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14667 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgautocapture/osgautocapture.cpp: From Christophe - Herreman, Added viewer.setCameraManipulator( - keyswitchManipulator.get() ) to fix problem with master Camera - not being updated -2012-04-20 10:01 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 - * src/osgPlugins/ac/ac3d.cpp: From Mathias Froehlich,"Attached is a - change to the ac3d model loader as of rev 11498, that uses - indexed draws instead of plain array draws to save some amount of - main memory. - Draw performance does not change with the nvidia binary blob as - well as with - the open source drivers." -2012-04-20 09:53 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 - * src/osgPlugins/glsl/ReaderWriterGLSL.cpp: From John Kaniarz, - "Here's a patch to add new extensions for tessellation shaders to - the GLSL - plugin." "I went with .tctrl and .teval for the shader - extensions." -2012-04-20 09:40 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 - * examples/osgtessellationshaders/osgtessellationshaders.cpp: Ran - dos2unx on file -2012-04-20 09:38 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 - * examples/CMakeLists.txt, examples/osgtessellationshaders, - examples/osgtessellationshaders/CMakeLists.txt, - examples/osgtessellationshaders/osgtessellationshaders.cpp: From - John Kaniarz, "Here is an example of using tessellation shaders - in osg. With permission from the author, I adapted it from this - tutorial: - http://prideout.net/blog/?p=48" -2012-04-19 14:58 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 - * include/osg/GL2Extensions: Restructed how the GL_SAMPLER_* - #define's are placed to avoid build problems under GLES. -2012-04-19 14:34 robert +Fri, 16 Jan 2015 11:03:11 +0000 +Checked in by : Robert Osfield +Added support for using geometry shaders to align the quad diagonals with the local terraingit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14658 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgDB/FileUtils.cpp: Changed #ifdef __IPHONE_4_0 to #if - defined(__IPHONE_4_0) to fix error that Clang compile warning - highlighted -2012-04-19 13:18 robert +Mon, 12 Jan 2015 10:31:58 +0000 +Checked in by : Robert Osfield +Added a local Vec3Array cache to the HeightFieldDrawable to facilitate efficient intersection testinggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14656 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/dae/daeRGeometry.cpp: Fixed build with - OSG_USE_REF_PTR_IMPLICIT_OUTPUT set to OFF. - -2012-04-19 10:27 robert - - * include/osg/Uniform: From David Callu, "Here the fix for - Matrix{2,3,4}x{2,3,4}{fd} defined in Uniform header. - - My previous patch for Atomic Counter Uniform provide new template - implementation - of Matrix{2,3,4}x{2,3,4}{fd}. This new implementation use - Column-Major Matrix. - Original code define matrix as Row-Major matrix like other Matrix - in OSG, and - my matrix implementation break compatibility with previous code. - For example osg_normalMatrix define in osg::State report by - Roland Hill. - Thanks to Paul Martz to spot me when the bug appear." - -2012-04-19 10:10 robert - - * src/osg/Program.cpp: Added missing getUniformBlocks implmentation - -2012-04-19 09:50 robert - - * CMakeLists.txt, CMakeModules/OsgAndroidMacroUtils.cmake, - PlatformSpecifics/Android/Android.mk.modules.in, - PlatformSpecifics/Android/Application.mk.master.in: From Jorge - Izquierdo Ciges, "Mostly small changes to add more compile - options, and shared linking (still testing that capability, but - this enables on a compile basis if the user wants). Robert, when - you give the Ok I'll update/rewrite the Android section in the - old/new wiki you'll say where is better. Mostly to be clear for - the future users what options can configure and what are their - purpose." - -2012-04-18 10:16 robert - - * src/osg/Texture.cpp: Refactored the handling of GLES adaptations - of the 1,2,3,4 internal formats and added handling of GL_RGB8_OES - and GL_RGBA8_OES. - -2012-04-18 09:56 robert - - * include/osg/GLBeginEndAdapter, src/osg/ArrayDispatchers.cpp: From - Mathias Froehlich, "Attached is a change to the slow path - geometry dispatch tables that allows the - use of 3 component float color vectors." - -2012-04-18 09:51 robert - - * examples/osgtexture2D/osgtexture2D.cpp: From Martin Naylor, "I - have been experiencing a crash in the example osgtexture2D. - Not sure why my system seems to be so sensitive to these - problems. - - But attached is a fix which seems to stabilise the example. - Note: it only seems to crash intermittently when spinning the - object with - your mouse. - - So I assume this is a threading issue because of the data - variance missing - in some of the text node setups in the example. - " - -2012-04-18 09:50 robert - - * CMakeLists.txt, include/osg/Version: Updated version number - -2012-04-06 11:29 robert - - * src/osg/Program.cpp: From Martin Naylor, "Please find attached a - fix for the STD library(tested under Windowsx64 - VS2008) when atomiccounter is found but not used." - -2012-04-06 10:42 robert - - * include/osg/Uniform, src/osg/Uniform.cpp: From Ulrich Hertlein, - Fix for MatrixTemplate compile errors - -2012-04-05 13:53 robert - - * include/osgDB/DataTypes, include/osgDB/InputStream, - include/osgDB/OutputStream, include/osgDB/Serializer, - src/osgDB/InputStream.cpp, src/osgDB/OutputStream.cpp, - src/osgWrappers/serializers/osg/AnimationPath.cpp, - src/osgWrappers/serializers/osg/Billboard.cpp, - src/osgWrappers/serializers/osg/Camera.cpp, - src/osgWrappers/serializers/osg/CompositeShape.cpp, - src/osgWrappers/serializers/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/serializers/osg/Drawable.cpp, - src/osgWrappers/serializers/osg/FragmentProgram.cpp, - src/osgWrappers/serializers/osg/Geode.cpp, - src/osgWrappers/serializers/osg/Geometry.cpp, - src/osgWrappers/serializers/osg/Group.cpp, - src/osgWrappers/serializers/osg/ImageSequence.cpp, - src/osgWrappers/serializers/osg/LOD.cpp, - src/osgWrappers/serializers/osg/Material.cpp, - src/osgWrappers/serializers/osg/Node.cpp, - src/osgWrappers/serializers/osg/Object.cpp, - src/osgWrappers/serializers/osg/PagedLOD.cpp, - src/osgWrappers/serializers/osg/PolygonMode.cpp, - src/osgWrappers/serializers/osg/PolygonStipple.cpp, - src/osgWrappers/serializers/osg/Program.cpp, - src/osgWrappers/serializers/osg/ProxyNode.cpp, - src/osgWrappers/serializers/osg/Shader.cpp, - src/osgWrappers/serializers/osg/ShaderBinary.cpp, - src/osgWrappers/serializers/osg/StateSet.cpp, - src/osgWrappers/serializers/osg/StencilTwoSided.cpp, - src/osgWrappers/serializers/osg/Texture2DArray.cpp, - src/osgWrappers/serializers/osg/TextureCubeMap.cpp, - src/osgWrappers/serializers/osg/TransferFunction1D.cpp, - src/osgWrappers/serializers/osg/UserDataContainer.cpp, - src/osgWrappers/serializers/osg/VertexProgram.cpp, - src/osgWrappers/serializers/osgAnimation/Animation.cpp, - src/osgWrappers/serializers/osgAnimation/AnimationManagerBase.cpp, - src/osgWrappers/serializers/osgAnimation/MorphGeometry.cpp, - src/osgWrappers/serializers/osgAnimation/RigGeometry.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateMatrixTransform.cpp, - src/osgWrappers/serializers/osgFX/MultiTextureControl.cpp, - src/osgWrappers/serializers/osgManipulator/CompositeDragger.cpp, - src/osgWrappers/serializers/osgManipulator/Dragger.cpp, - src/osgWrappers/serializers/osgParticle/CompositePlacer.cpp, - src/osgWrappers/serializers/osgParticle/DomainOperator.cpp, - src/osgWrappers/serializers/osgParticle/ModularProgram.cpp, - src/osgWrappers/serializers/osgParticle/MultiSegmentPlacer.cpp, - src/osgWrappers/serializers/osgParticle/Particle.cpp, - src/osgWrappers/serializers/osgParticle/ParticleEffect.cpp, - src/osgWrappers/serializers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/serializers/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/serializers/osgSim/BlinkSequence.cpp, - src/osgWrappers/serializers/osgSim/LightPointNode.cpp, - src/osgWrappers/serializers/osgSim/MultiSwitch.cpp, - src/osgWrappers/serializers/osgSim/ObjectRecordData.cpp, - src/osgWrappers/serializers/osgSim/ScalarBar.cpp, - src/osgWrappers/serializers/osgSim/ShapeAttributeList.cpp, - src/osgWrappers/serializers/osgTerrain/CompositeLayer.cpp, - src/osgWrappers/serializers/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/serializers/osgTerrain/ImageLayer.cpp, - src/osgWrappers/serializers/osgTerrain/TerrainTile.cpp, - src/osgWrappers/serializers/osgText/Text.cpp, - src/osgWrappers/serializers/osgVolume/CompositeLayer.cpp, - src/osgWrappers/serializers/osgVolume/CompositeProperty.cpp, - src/osgWrappers/serializers/osgVolume/Locator.cpp: From Wang Rui, - "I'd like to submit the changes that will put ObjectProperty and - ObjectMark variables into the InputStream/OutputStream class - instead of static ones. This should avoid the threading problem - and won't repeatedly reallocate memory for the properties. Some - of the wrappers will be slightly modified to use the property - variable stored in the InputStream/OutputStream as well." - -2012-03-30 17:08 robert - - * AUTHORS.txt: Update AUTHORS for release - -2012-03-30 16:58 robert - - * ChangeLog: Updated ChangeLog for dev release - -2012-03-30 10:10 robert - - * src/osgPlugins/OpenFlight/PaletteRecords.cpp: Added check to - avoid accessing pointer past the end of the string. - -2012-03-29 15:08 robert - - * include/osg/DeleteHandler, include/osg/Image, - include/osg/Observer, include/osg/ProxyNode, - include/osg/Texture3D, include/osgGA/FlightManipulator, - include/osgGA/GUIActionAdapter, - include/osgGA/KeySwitchMatrixManipulator, - include/osgSim/MultiSwitch, include/osgUtil/SceneView, - include/osgViewer/View, src/osgPlugins/osg/ReaderWriterOSG.cpp: - From Magnus Kessler, typo and documentation fixes - -2012-03-29 14:58 robert - - * src/osgPlugins/ply/vertexData.cpp, - src/osgPlugins/ply/vertexData.h: From Cedric Pinson, "I Updated - the ply plugin to support alpha color in files. Plus I updated it - to use by default an alpha of 1.0 instead of 0 when no alpha is - specified. - Last changes is to divide byte color by 255.0 instead of 256.0." - -2012-03-29 09:57 robert - - * include/osg/AnimationPath: From Magnus Kessler, "remove - unecessary conversion from float in double precision method" - -2012-03-29 09:43 robert - - * examples/CMakeLists.txt, examples/osgatomiccounter, - examples/osgatomiccounter/CMakeLists.txt, - examples/osgatomiccounter/osgatomiccounter.cpp, - include/osg/BufferIndexBinding, include/osg/BufferObject, - include/osg/GL2Extensions, include/osg/StateAttribute, - include/osg/Uniform, src/osg/BufferIndexBinding.cpp, - src/osg/BufferObject.cpp, src/osg/GL2Extensions.cpp, - src/osg/Program.cpp, src/osg/Uniform.cpp, - src/osgPlugins/ive/Uniform.cpp, - src/osgWrappers/deprecated-dotosg/osg/Uniform.cpp, - src/osgWrappers/serializers/osg/Uniform.cpp: From David Callu, - "Here an update of osg::Uniform : - - add non square matrix - - add double - - add all uniform type available in OpenGL 4.2 - - backward compatibility for Matrixd to set/get an float uniform - matrix - - update of IVE / Wrapper ReadWriter - - implementation of AtomicCounterBuffer based on BufferIndexBinding - - add example that use AtomicCounterBuffer and show rendering order - of fragments, - original idea from geeks3d.com." - -2012-03-29 08:27 robert - - * include/osg/Image, src/osg/Image.cpp: Added int packing parameter - to Image::readPixels(..) - -2012-03-23 16:09 robert - - * examples/CMakeLists.txt: Removed trailing spaces - -2012-03-23 11:32 robert - - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS for 3.1.2 - dev release - -2012-03-23 11:20 robert - - * src/osgPlugins/dae/daeRGeometry.cpp: Fixed potential memory leak - -2012-03-23 11:16 robert - - * src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeReader.h: From Luc Frauciel, "I've - encoutered a nasty group of dae which are incompatible with dae - plugins (and probably collada schema ) in 4 different ways : - - 1) they use direct link to texture - - -> this is already handle by current plugin : OK - - 2) they defined colors with only 3 color components - - -> it leads to a crash when trying to acces to the fourth - component - I fixed that - - 3) they contain empty primitive lists - - -> reading is ok, but osgviewer crashes when trying to display - the geometries - The reason is that osg assume that DrawElementsare never empty - (blunt acces to DrawElements.front() in PrimitiveSet.cpp) - I corrected this (on the plugin side), but I wonder : - Is it the responsability of plugins to create non empty - DrawElements, or of osg core not to crash when they occur ? - If the responsability is on the osg core side, I can submit a - patch to PrimitiveSet.cpp regarding that aspect. - - 4) they use a material binding scheme not supported by the plugin - - ->I've implemented a mechanism to handle this binding scheme - - You will also find in the patch an example of these evil dae and - comments on the offending elements. - They seems to be produced by ComputaMaps (www.computamaps.com) - They load well in Google Earth - " - -2012-03-23 10:24 robert - - * src/OpenThreads/common/Atomic.cpp: From Ulrich Hertlein, "as - discussed on osg-users there is an issue with clang++ on OS X and - iOS that results in - the following error: - - Users/stephan/Documents/Projekte/cefix/cefix/ios/../../libs/ios/include/OpenThreads/Atomic:244:48: - error: cannot initialize a parameter of type 'void *' with an - lvalue of - type 'const void *const' - return __sync_bool_compare_and_swap(&_ptr, ptrOld, ptrNew); - - This can be solved by a cast to '(void*)ptrOld'. This should be - benign since both - 'ptrOld' and 'ptrNew' are only read and the cast is in fact in - place for all other - implementations as well. - - On OS X the cast compiles cleanly on both g++ - (i686-apple-darwin11-llvm-g++-4.2 (GCC) - 4.2.1) and clang++ (Apple clang version 3.1 - (tags/Apple/clang-318.0.54)). - " - -2012-03-23 10:21 robert - - * CMakeLists.txt, src/osgViewer/CMakeLists.txt: As per Ulrich - Hertlrein's suggestion, changed APPLE_PLATFORM_SDK_CANONICAL_NAME - to OSG_OSX_SDK_NAME. - -2012-03-23 10:18 robert - - * CMakeLists.txt, src/osgViewer/CMakeLists.txt: From Erik den - Dekker, " - IF(${CMAKE_OSX_SYSROOT} STREQUAL - "/Developer/SDKs/MacOSX10.7.sdk") - ... - - ELSEIF(${CMAKE_OSX_SYSROOT} STREQUAL - "/Developer/SDKs/MacOSX10.5.sdk" OR ${CMAKE_OSX_SYSROOT} STREQUAL - "/Developer/SDKs/MacOSX10.6.sdk") - - ... - - ELSEIF(EXISTS /Developer/SDKs/MacOSX10.4u.sdk) - ... - - ELSE() - - ... - - ENDIF() - - - Which is fragile because XCode could be installed into another - directory than /Developer. (In case XCode is not installed into - the /Developer directory CMake can automatically resolve the path - via command line utility ${CMAKE_XCODE_SELECT} --print-path) - - This issue bites me currently because the latest XCode (Version - 4.3.1 - 4E1019) installed through the Mac App Store is per - default installed in "/Applications/Xcode.app/Contents/Developer" - and hence the 10.7 SDK in - "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk" - - Searching the web to find the proper way to determine the version - of the Platform SDK programmatically, I found no standard way. I - came up with 2 options myself: - - 1) Parse the path string to extract the version number - - 2) Read a value from the SDKSettings.plist found in the root of - each SDK (e.g., "defaults read - ${CMAKE_OSX_ROOT}/SDKSettings.plist CanonicalName" gives - "macosx10.7") - - I implemented the last option and verified that at least the - following Mac OS SDKs (10.3.9, 10.4, 10.5, 10.6, 10.7) support - this method. It also looks reasonably future proof. An additional - benefit of this method is that it also seems to be compatible - with iOS and iOS Simulator SDKs (at least for version 5.1, but I - assume this also applies to older versions). This is interesting - because the CMake infrastructure to build OSG for iOS currently - still contains similar hard-coded paths and even requires you to - manually change the cmake file to build for another iOS SDK - version. In the near future I hope to address these issues, but I - haven't been able to try this yet." - -2012-03-21 17:36 robert - - * include/OpenThreads/Barrier, include/OpenThreads/Block, - include/OpenThreads/Condition, include/OpenThreads/Exports, - include/OpenThreads/Mutex, include/OpenThreads/ReadWriteMutex, - include/OpenThreads/ReentrantMutex, - include/OpenThreads/ScopedLock, include/OpenThreads/Thread, - include/osg/AlphaFunc, include/osg/AnimationPath, - include/osg/ApplicationUsage, include/osg/ArgumentParser, - include/osg/Array, include/osg/ArrayDispatchers, - include/osg/AudioStream, include/osg/Billboard, - include/osg/BlendColor, include/osg/BlendEquation, - include/osg/BlendFunc, include/osg/BoundingBox, - include/osg/BoundingSphere, include/osg/BoundsChecking, - include/osg/BufferIndexBinding, include/osg/BufferObject, - include/osg/Camera, include/osg/CameraNode, - include/osg/CameraView, include/osg/ClampColor, - include/osg/ClearNode, include/osg/ClipNode, - include/osg/ClipPlane, include/osg/ClusterCullingCallback, - include/osg/CollectOccludersVisitor, include/osg/ColorMask, - include/osg/ColorMatrix, include/osg/ComputeBoundsVisitor, - include/osg/ConvexPlanarOccluder, - include/osg/ConvexPlanarPolygon, - include/osg/CoordinateSystemNode, include/osg/CopyOp, - include/osg/CullFace, include/osg/CullSettings, - include/osg/CullStack, include/osg/CullingSet, - include/osg/DeleteHandler, include/osg/Depth, - include/osg/DisplaySettings, include/osg/DrawPixels, - include/osg/Drawable, include/osg/Endian, include/osg/Export, - include/osg/Fog, include/osg/FragmentProgram, - include/osg/FrameBufferObject, include/osg/FrameStamp, - include/osg/FrontFace, include/osg/GL, include/osg/GL2Extensions, - include/osg/GLBeginEndAdapter, include/osg/GLExtensions, - include/osg/GLObjects, include/osg/GLU, include/osg/Geode, - include/osg/Geometry, include/osg/GraphicsContext, - include/osg/GraphicsThread, include/osg/Group, include/osg/Hint, - include/osg/Image, include/osg/ImageSequence, - include/osg/ImageStream, include/osg/ImageUtils, - include/osg/KdTree, include/osg/LOD, include/osg/Light, - include/osg/LightModel, include/osg/LightSource, - include/osg/LineSegment, include/osg/LineStipple, - include/osg/LineWidth, include/osg/LogicOp, include/osg/Material, - include/osg/Math, include/osg/Matrix, - include/osg/MatrixTransform, include/osg/Matrixd, - include/osg/Matrixf, include/osg/MixinVector, - include/osg/Multisample, include/osg/Node, - include/osg/NodeCallback, include/osg/NodeTrackerCallback, - include/osg/NodeVisitor, include/osg/Notify, include/osg/Object, - include/osg/OccluderNode, include/osg/OcclusionQueryNode, - include/osg/OperationThread, include/osg/PagedLOD, - include/osg/Plane, include/osg/Point, include/osg/PointSprite, - include/osg/PolygonMode, include/osg/PolygonOffset, - include/osg/PolygonStipple, include/osg/Polytope, - include/osg/PositionAttitudeTransform, include/osg/PrimitiveSet, - include/osg/Projection, include/osg/ProxyNode, include/osg/Quat, - include/osg/Referenced, include/osg/RenderInfo, - include/osg/Scissor, include/osg/Sequence, - include/osg/ShadeModel, include/osg/Shader, - include/osg/ShaderAttribute, include/osg/ShadowVolumeOccluder, - include/osg/Shape, include/osg/ShapeDrawable, include/osg/State, - include/osg/StateAttribute, include/osg/StateAttributeCallback, - include/osg/StateSet, include/osg/Stats, - include/osg/StencilTwoSided, include/osg/Switch, - include/osg/TexEnv, include/osg/TexEnvCombine, - include/osg/TexEnvFilter, include/osg/TexGen, - include/osg/TexGenNode, include/osg/TexMat, include/osg/Texture, - include/osg/Texture1D, include/osg/Texture2D, - include/osg/Texture2DArray, include/osg/Texture2DMultisample, - include/osg/Texture3D, include/osg/TextureCubeMap, - include/osg/TextureRectangle, include/osg/Timer, - include/osg/TransferFunction, include/osg/Transform, - include/osg/TriangleFunctor, include/osg/TriangleIndexFunctor, - include/osg/Uniform, include/osg/UserDataContainer, - include/osg/ValueObject, include/osg/Vec2, include/osg/Vec2b, - include/osg/Vec2d, include/osg/Vec2f, include/osg/Vec2s, - include/osg/Vec3, include/osg/Vec3b, include/osg/Vec3d, - include/osg/Vec3f, include/osg/Vec3s, include/osg/Vec4, - include/osg/Vec4b, include/osg/Vec4d, include/osg/Vec4f, - include/osg/Vec4s, include/osg/Vec4ub, include/osg/VertexProgram, - include/osg/View, include/osg/Viewport, - include/osg/buffered_value, include/osg/fast_back_stack, - include/osg/io_utils, include/osg/observer_ptr, - include/osg/ref_ptr, include/osgAnimation/Action, - include/osgAnimation/ActionAnimation, - include/osgAnimation/ActionBlendIn, - include/osgAnimation/ActionBlendOut, - include/osgAnimation/ActionCallback, - include/osgAnimation/ActionStripAnimation, - include/osgAnimation/ActionVisitor, - include/osgAnimation/Animation, - include/osgAnimation/AnimationManagerBase, - include/osgAnimation/AnimationUpdateCallback, - include/osgAnimation/BasicAnimationManager, - include/osgAnimation/Bone, include/osgAnimation/BoneMapVisitor, - include/osgAnimation/Channel, include/osgAnimation/CubicBezier, - include/osgAnimation/EaseMotion, include/osgAnimation/Export, - include/osgAnimation/FrameAction, - include/osgAnimation/Interpolator, include/osgAnimation/Keyframe, - include/osgAnimation/LinkVisitor, - include/osgAnimation/MorphGeometry, - include/osgAnimation/RigGeometry, - include/osgAnimation/RigTransform, - include/osgAnimation/RigTransformHardware, - include/osgAnimation/RigTransformSoftware, - include/osgAnimation/Sampler, include/osgAnimation/Skeleton, - include/osgAnimation/StackedMatrixElement, - include/osgAnimation/StackedQuaternionElement, - include/osgAnimation/StackedRotateAxisElement, - include/osgAnimation/StackedScaleElement, - include/osgAnimation/StackedTransform, - include/osgAnimation/StackedTransformElement, - include/osgAnimation/StackedTranslateElement, - include/osgAnimation/StatsHandler, - include/osgAnimation/StatsVisitor, include/osgAnimation/Target, - include/osgAnimation/Timeline, - include/osgAnimation/TimelineAnimationManager, - include/osgAnimation/UpdateBone, - include/osgAnimation/UpdateMaterial, - include/osgAnimation/UpdateMatrixTransform, - include/osgAnimation/Vec3Packed, - include/osgAnimation/VertexInfluence, include/osgDB/Archive, - include/osgDB/AuthenticationMap, include/osgDB/Callbacks, - include/osgDB/ConvertUTF, include/osgDB/DataTypes, - include/osgDB/DatabasePager, include/osgDB/DatabaseRevisions, - include/osgDB/DotOsgWrapper, include/osgDB/DynamicLibrary, - include/osgDB/Export, include/osgDB/ExternalFileWriter, - include/osgDB/FileCache, include/osgDB/FileNameUtils, - include/osgDB/FileUtils, include/osgDB/ImageOptions, - include/osgDB/ImagePager, include/osgDB/ImageProcessor, - include/osgDB/Input, include/osgDB/InputStream, - include/osgDB/ObjectWrapper, include/osgDB/Options, - include/osgDB/Output, include/osgDB/OutputStream, - include/osgDB/ParameterOutput, include/osgDB/PluginQuery, - include/osgDB/ReadFile, include/osgDB/ReaderWriter, - include/osgDB/Registry, include/osgDB/Serializer, - include/osgDB/SharedStateManager, include/osgDB/StreamOperator, - include/osgDB/Version, include/osgDB/WriteFile, - include/osgDB/XmlParser, include/osgDB/fstream, - include/osgFX/AnisotropicLighting, include/osgFX/BumpMapping, - include/osgFX/Cartoon, include/osgFX/Effect, - include/osgFX/Export, include/osgFX/MultiTextureControl, - include/osgFX/Registry, include/osgFX/Scribe, - include/osgFX/SpecularHighlights, include/osgFX/Technique, - include/osgFX/Validator, include/osgFX/Version, - include/osgGA/AnimationPathManipulator, - include/osgGA/CameraViewSwitchManipulator, - include/osgGA/EventQueue, include/osgGA/EventVisitor, - include/osgGA/Export, include/osgGA/GUIActionAdapter, - include/osgGA/GUIEventAdapter, include/osgGA/GUIEventHandler, - include/osgGA/MultiTouchTrackballManipulator, - include/osgGA/SphericalManipulator, - include/osgGA/StateSetManipulator, include/osgGA/UFOManipulator, - include/osgGA/Version, include/osgManipulator/AntiSquish, - include/osgManipulator/Command, include/osgManipulator/Dragger, - include/osgManipulator/Projector, include/osgManipulator/Version, - include/osgParticle/AccelOperator, - include/osgParticle/AngularAccelOperator, - include/osgParticle/AngularDampingOperator, - include/osgParticle/BounceOperator, - include/osgParticle/BoxPlacer, - include/osgParticle/CenteredPlacer, - include/osgParticle/CompositePlacer, - include/osgParticle/ConnectedParticleSystem, - include/osgParticle/ConstantRateCounter, - include/osgParticle/Counter, include/osgParticle/DampingOperator, - include/osgParticle/DomainOperator, include/osgParticle/Emitter, - include/osgParticle/ExplosionDebrisEffect, - include/osgParticle/ExplosionEffect, - include/osgParticle/ExplosionOperator, - include/osgParticle/Export, include/osgParticle/FireEffect, - include/osgParticle/FluidFrictionOperator, - include/osgParticle/FluidProgram, - include/osgParticle/ForceOperator, - include/osgParticle/Interpolator, - include/osgParticle/LinearInterpolator, - include/osgParticle/ModularEmitter, - include/osgParticle/ModularProgram, - include/osgParticle/MultiSegmentPlacer, - include/osgParticle/Operator, include/osgParticle/OrbitOperator, - include/osgParticle/Particle, include/osgParticle/ParticleEffect, - include/osgParticle/ParticleProcessor, - include/osgParticle/ParticleSystem, - include/osgParticle/ParticleSystemUpdater, - include/osgParticle/Placer, include/osgParticle/PointPlacer, - include/osgParticle/PrecipitationEffect, - include/osgParticle/Program, include/osgParticle/RadialShooter, - include/osgParticle/RandomRateCounter, - include/osgParticle/SectorPlacer, - include/osgParticle/SegmentPlacer, include/osgParticle/Shooter, - include/osgParticle/SinkOperator, - include/osgParticle/SmokeEffect, - include/osgParticle/SmokeTrailEffect, - include/osgParticle/VariableRateCounter, - include/osgParticle/Version, include/osgParticle/range, - include/osgPresentation/AnimationMaterial, - include/osgPresentation/CompileSlideCallback, - include/osgPresentation/Export, - include/osgPresentation/PickEventHandler, - include/osgPresentation/SlideEventHandler, - include/osgPresentation/SlideShowConstructor, - include/osgQt/Export, include/osgQt/GraphicsWindowQt, - include/osgQt/QFontImplementation, include/osgQt/QWidgetImage, - include/osgShadow/ConvexPolyhedron, - include/osgShadow/DebugShadowMap, include/osgShadow/Export, - include/osgShadow/LightSpacePerspectiveShadowMap, - include/osgShadow/MinimalCullBoundsShadowMap, - include/osgShadow/MinimalDrawBoundsShadowMap, - include/osgShadow/MinimalShadowMap, - include/osgShadow/OccluderGeometry, - include/osgShadow/ParallelSplitShadowMap, - include/osgShadow/ProjectionShadowMap, - include/osgShadow/ShadowMap, include/osgShadow/ShadowSettings, - include/osgShadow/ShadowTechnique, - include/osgShadow/ShadowTexture, include/osgShadow/ShadowVolume, - include/osgShadow/ShadowedScene, include/osgShadow/SoftShadowMap, - include/osgShadow/StandardShadowMap, include/osgShadow/Version, - include/osgShadow/ViewDependentShadowMap, - include/osgShadow/ViewDependentShadowTechnique, - include/osgSim/BlinkSequence, include/osgSim/ColorRange, - include/osgSim/DOFTransform, include/osgSim/ElevationSlice, - include/osgSim/Export, include/osgSim/GeographicLocation, - include/osgSim/HeightAboveTerrain, include/osgSim/Impostor, - include/osgSim/ImpostorSprite, - include/osgSim/InsertImpostorsVisitor, include/osgSim/LightPoint, - include/osgSim/LightPointNode, include/osgSim/LightPointSystem, - include/osgSim/LineOfSight, include/osgSim/MultiSwitch, - include/osgSim/ObjectRecordData, include/osgSim/OverlayNode, - include/osgSim/ScalarBar, include/osgSim/Sector, - include/osgSim/ShapeAttribute, include/osgSim/SphereSegment, - include/osgSim/Version, include/osgSim/VisibilityGroup, - include/osgTerrain/Export, include/osgTerrain/GeometryTechnique, - include/osgTerrain/Layer, include/osgTerrain/Locator, - include/osgTerrain/Terrain, include/osgTerrain/TerrainTechnique, - include/osgTerrain/TerrainTile, - include/osgTerrain/ValidDataOperator, include/osgTerrain/Version, - include/osgText/Export, include/osgText/FadeText, - include/osgText/Font, include/osgText/Glyph, - include/osgText/KerningType, include/osgText/String, - include/osgText/Text, include/osgText/TextBase, - include/osgText/Version, include/osgUtil/ConvertVec, - include/osgUtil/CubeMapGenerator, include/osgUtil/CullVisitor, - include/osgUtil/DelaunayTriangulator, - include/osgUtil/DisplayRequirementsVisitor, - include/osgUtil/DrawElementTypeSimplifier, - include/osgUtil/EdgeCollector, include/osgUtil/Export, - include/osgUtil/GLObjectsVisitor, - include/osgUtil/HalfWayMapGenerator, - include/osgUtil/HighlightMapGenerator, - include/osgUtil/IncrementalCompileOperation, - include/osgUtil/IntersectVisitor, include/osgUtil/MeshOptimizers, - include/osgUtil/OperationArrayFunctor, include/osgUtil/Optimizer, - include/osgUtil/PerlinNoise, - include/osgUtil/PositionalStateContainer, - include/osgUtil/PrintVisitor, - include/osgUtil/ReflectionMapGenerator, - include/osgUtil/RenderBin, include/osgUtil/RenderLeaf, - include/osgUtil/RenderStage, - include/osgUtil/ReversePrimitiveFunctor, - include/osgUtil/SceneGraphBuilder, include/osgUtil/SceneView, - include/osgUtil/ShaderGen, include/osgUtil/Simplifier, - include/osgUtil/SmoothingVisitor, include/osgUtil/StateGraph, - include/osgUtil/TangentSpaceGenerator, - include/osgUtil/Tessellator, - include/osgUtil/TransformAttributeFunctor, - include/osgUtil/TransformCallback, - include/osgUtil/TriStripVisitor, include/osgUtil/UpdateVisitor, - include/osgUtil/Version, include/osgViewer/CompositeViewer, - include/osgViewer/Export, include/osgViewer/Renderer, - include/osgViewer/Scene, include/osgViewer/Version, - include/osgViewer/View, include/osgViewer/Viewer, - include/osgViewer/ViewerBase, - include/osgViewer/ViewerEventHandlers, include/osgVolume/Export, - include/osgVolume/FixedFunctionTechnique, - include/osgVolume/Layer, include/osgVolume/Locator, - include/osgVolume/RayTracedTechnique, include/osgVolume/Version, - include/osgVolume/Volume, include/osgVolume/VolumeTechnique, - include/osgVolume/VolumeTile, include/osgWidget/Box, - include/osgWidget/Browser, include/osgWidget/Canvas, - include/osgWidget/EventInterface, include/osgWidget/Export, - include/osgWidget/Frame, include/osgWidget/Lua, - include/osgWidget/PdfReader, include/osgWidget/Python, - include/osgWidget/ScriptEngine, include/osgWidget/StyleInterface, - include/osgWidget/StyleManager, include/osgWidget/Table, - include/osgWidget/Types, include/osgWidget/UIObjectParent, - include/osgWidget/Util, include/osgWidget/ViewerEventHandlers, - include/osgWidget/VncClient, include/osgWidget/Widget, - include/osgWidget/Window, include/osgWidget/WindowManager, - src/osg/AlphaFunc.cpp, src/osg/AnimationPath.cpp, - src/osg/ApplicationUsage.cpp, src/osg/ArgumentParser.cpp, - src/osg/Array.cpp, src/osg/ArrayDispatchers.cpp, - src/osg/AudioStream.cpp, src/osg/AutoTransform.cpp, - src/osg/Billboard.cpp, src/osg/BlendColor.cpp, - src/osg/BlendEquation.cpp, src/osg/BlendFunc.cpp, - src/osg/BufferIndexBinding.cpp, src/osg/BufferObject.cpp, - src/osg/CameraView.cpp, src/osg/ClampColor.cpp, - src/osg/ClearNode.cpp, src/osg/ClipNode.cpp, - src/osg/ClipPlane.cpp, src/osg/ClusterCullingCallback.cpp, - src/osg/CollectOccludersVisitor.cpp, src/osg/ColorMask.cpp, - src/osg/ColorMatrix.cpp, src/osg/ComputeBoundsVisitor.cpp, - src/osg/ConvexPlanarOccluder.cpp, - src/osg/ConvexPlanarPolygon.cpp, - src/osg/CoordinateSystemNode.cpp, src/osg/CopyOp.cpp, - src/osg/CullFace.cpp, src/osg/CullSettings.cpp, - src/osg/CullStack.cpp, src/osg/CullingSet.cpp, - src/osg/DeleteHandler.cpp, src/osg/Depth.cpp, - src/osg/DisplaySettings.cpp, src/osg/DrawPixels.cpp, - src/osg/Drawable.cpp, src/osg/Fog.cpp, - src/osg/FragmentProgram.cpp, src/osg/FrameBufferObject.cpp, - src/osg/FrameStamp.cpp, src/osg/FrontFace.cpp, - src/osg/GL2Extensions.cpp, src/osg/GLBeginEndAdapter.cpp, - src/osg/GLExtensions.cpp, src/osg/GLObjects.cpp, - src/osg/GLStaticLibrary.cpp, src/osg/Geode.cpp, - src/osg/Geometry.cpp, src/osg/GraphicsContext.cpp, - src/osg/GraphicsThread.cpp, src/osg/Group.cpp, src/osg/Hint.cpp, - src/osg/Image.cpp, src/osg/ImageSequence.cpp, - src/osg/ImageStream.cpp, src/osg/ImageUtils.cpp, - src/osg/KdTree.cpp, src/osg/LOD.cpp, src/osg/Light.cpp, - src/osg/LightModel.cpp, src/osg/LightSource.cpp, - src/osg/LineSegment.cpp, src/osg/LineStipple.cpp, - src/osg/LineWidth.cpp, src/osg/LogicOp.cpp, src/osg/Material.cpp, - src/osg/Math.cpp, src/osg/MatrixDecomposition.cpp, - src/osg/MatrixTransform.cpp, src/osg/Matrix_implementation.cpp, - src/osg/Matrixd.cpp, src/osg/Matrixf.cpp, - src/osg/Multisample.cpp, src/osg/Node.cpp, - src/osg/NodeCallback.cpp, src/osg/NodeTrackerCallback.cpp, - src/osg/NodeVisitor.cpp, src/osg/Notify.cpp, src/osg/Object.cpp, - src/osg/OccluderNode.cpp, src/osg/OcclusionQueryNode.cpp, - src/osg/OperationThread.cpp, src/osg/PagedLOD.cpp, - src/osg/Point.cpp, src/osg/PointSprite.cpp, - src/osg/PolygonMode.cpp, src/osg/PolygonOffset.cpp, - src/osg/PolygonStipple.cpp, - src/osg/PositionAttitudeTransform.cpp, src/osg/PrimitiveSet.cpp, - src/osg/Program.cpp, src/osg/Projection.cpp, - src/osg/ProxyNode.cpp, src/osg/Quat.cpp, src/osg/Referenced.cpp, - src/osg/Scissor.cpp, src/osg/Sequence.cpp, - src/osg/ShadeModel.cpp, src/osg/Shader.cpp, - src/osg/ShadowVolumeOccluder.cpp, src/osg/Shape.cpp, - src/osg/ShapeDrawable.cpp, src/osg/State.cpp, - src/osg/StateAttribute.cpp, src/osg/StateSet.cpp, - src/osg/Stats.cpp, src/osg/StencilTwoSided.cpp, - src/osg/Switch.cpp, src/osg/TexEnv.cpp, - src/osg/TexEnvCombine.cpp, src/osg/TexEnvFilter.cpp, - src/osg/TexGen.cpp, src/osg/TexGenNode.cpp, src/osg/TexMat.cpp, - src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2D.cpp, src/osg/Texture2DArray.cpp, - src/osg/Texture2DMultisample.cpp, src/osg/Texture3D.cpp, - src/osg/TextureCubeMap.cpp, src/osg/TextureRectangle.cpp, - src/osg/Timer.cpp, src/osg/Transform.cpp, src/osg/Uniform.cpp, - src/osg/UserDataContainer.cpp, src/osg/Version.cpp, - src/osg/VertexProgram.cpp, src/osg/View.cpp, - src/osg/Viewport.cpp, src/osg/dxtctool.cpp, - src/osgAnimation/Action.cpp, - src/osgAnimation/ActionAnimation.cpp, - src/osgAnimation/ActionBlendIn.cpp, - src/osgAnimation/ActionBlendOut.cpp, - src/osgAnimation/ActionCallback.cpp, - src/osgAnimation/ActionStripAnimation.cpp, - src/osgAnimation/ActionVisitor.cpp, - src/osgAnimation/Animation.cpp, - src/osgAnimation/AnimationManagerBase.cpp, - src/osgAnimation/BasicAnimationManager.cpp, - src/osgAnimation/Bone.cpp, src/osgAnimation/BoneMapVisitor.cpp, - src/osgAnimation/Channel.cpp, src/osgAnimation/LinkVisitor.cpp, - src/osgAnimation/MorphGeometry.cpp, - src/osgAnimation/RigGeometry.cpp, - src/osgAnimation/RigTransformHardware.cpp, - src/osgAnimation/RigTransformSoftware.cpp, - src/osgAnimation/Skeleton.cpp, - src/osgAnimation/StackedMatrixElement.cpp, - src/osgAnimation/StackedQuaternionElement.cpp, - src/osgAnimation/StackedRotateAxisElement.cpp, - src/osgAnimation/StackedScaleElement.cpp, - src/osgAnimation/StackedTransform.cpp, - src/osgAnimation/StackedTranslateElement.cpp, - src/osgAnimation/StatsHandler.cpp, - src/osgAnimation/StatsVisitor.cpp, src/osgAnimation/Target.cpp, - src/osgAnimation/Timeline.cpp, - src/osgAnimation/TimelineAnimationManager.cpp, - src/osgAnimation/UpdateBone.cpp, - src/osgAnimation/UpdateMaterial.cpp, - src/osgAnimation/UpdateMatrixTransform.cpp, - src/osgAnimation/VertexInfluence.cpp, src/osgDB/Archive.cpp, - src/osgDB/AuthenticationMap.cpp, src/osgDB/Callbacks.cpp, - src/osgDB/Compressors.cpp, src/osgDB/ConvertUTF.cpp, - src/osgDB/DatabasePager.cpp, src/osgDB/DatabaseRevisions.cpp, - src/osgDB/DotOsgWrapper.cpp, src/osgDB/ExternalFileWriter.cpp, - src/osgDB/Field.cpp, src/osgDB/FieldReader.cpp, - src/osgDB/FieldReaderIterator.cpp, src/osgDB/FileCache.cpp, - src/osgDB/FileNameUtils.cpp, src/osgDB/FileUtils.cpp, - src/osgDB/ImageOptions.cpp, src/osgDB/ImagePager.cpp, - src/osgDB/Input.cpp, src/osgDB/InputStream.cpp, - src/osgDB/MimeTypes.cpp, src/osgDB/ObjectWrapper.cpp, - src/osgDB/Options.cpp, src/osgDB/Output.cpp, - src/osgDB/OutputStream.cpp, src/osgDB/PluginQuery.cpp, - src/osgDB/ReadFile.cpp, src/osgDB/ReaderWriter.cpp, - src/osgDB/Registry.cpp, src/osgDB/SharedStateManager.cpp, - src/osgDB/Version.cpp, src/osgDB/WriteFile.cpp, - src/osgDB/XmlParser.cpp, src/osgDB/fstream.cpp, - src/osgFX/AnisotropicLighting.cpp, src/osgFX/BumpMapping.cpp, - src/osgFX/Cartoon.cpp, src/osgFX/MultiTextureControl.cpp, - src/osgFX/Registry.cpp, src/osgFX/SpecularHighlights.cpp, - src/osgFX/Technique.cpp, src/osgFX/Version.cpp, - src/osgGA/AnimationPathManipulator.cpp, - src/osgGA/CameraViewSwitchManipulator.cpp, - src/osgGA/DriveManipulator.cpp, src/osgGA/EventQueue.cpp, - src/osgGA/EventVisitor.cpp, src/osgGA/GUIEventAdapter.cpp, - src/osgGA/GUIEventHandler.cpp, - src/osgGA/MultiTouchTrackballManipulator.cpp, - src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/OrbitManipulator.cpp, - src/osgGA/SphericalManipulator.cpp, - src/osgGA/StandardManipulator.cpp, - src/osgGA/StateSetManipulator.cpp, src/osgGA/UFOManipulator.cpp, - src/osgGA/Version.cpp, src/osgManipulator/AntiSquish.cpp, - src/osgManipulator/Dragger.cpp, src/osgManipulator/Projector.cpp, - src/osgManipulator/RotateCylinderDragger.cpp, - src/osgManipulator/RotateSphereDragger.cpp, - src/osgManipulator/Scale1DDragger.cpp, - src/osgManipulator/Scale2DDragger.cpp, - src/osgManipulator/ScaleAxisDragger.cpp, - src/osgManipulator/TabBoxDragger.cpp, - src/osgManipulator/TabBoxTrackballDragger.cpp, - src/osgManipulator/TabPlaneDragger.cpp, - src/osgManipulator/TabPlaneTrackballDragger.cpp, - src/osgManipulator/TrackballDragger.cpp, - src/osgManipulator/Translate1DDragger.cpp, - src/osgManipulator/Translate2DDragger.cpp, - src/osgManipulator/TranslateAxisDragger.cpp, - src/osgManipulator/TranslatePlaneDragger.cpp, - src/osgManipulator/Version.cpp, - src/osgParticle/BounceOperator.cpp, - src/osgParticle/ConnectedParticleSystem.cpp, - src/osgParticle/DomainOperator.cpp, src/osgParticle/Emitter.cpp, - src/osgParticle/ExplosionDebrisEffect.cpp, - src/osgParticle/ExplosionEffect.cpp, - src/osgParticle/FireEffect.cpp, - src/osgParticle/FluidFrictionOperator.cpp, - src/osgParticle/FluidProgram.cpp, - src/osgParticle/ModularEmitter.cpp, - src/osgParticle/ModularProgram.cpp, - src/osgParticle/MultiSegmentPlacer.cpp, - src/osgParticle/Particle.cpp, src/osgParticle/ParticleEffect.cpp, - src/osgParticle/ParticleProcessor.cpp, - src/osgParticle/ParticleSystem.cpp, - src/osgParticle/ParticleSystemUpdater.cpp, - src/osgParticle/PrecipitationEffect.cpp, - src/osgParticle/SinkOperator.cpp, - src/osgParticle/SmokeEffect.cpp, - src/osgParticle/SmokeTrailEffect.cpp, - src/osgParticle/Version.cpp, - src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/WriterCompareTriangle.cpp, - src/osgPlugins/3ds/WriterCompareTriangle.h, - src/osgPlugins/3ds/WriterNodeVisitor.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.h, - src/osgPlugins/Inventor/ConvertToInventor.cpp, - src/osgPlugins/Inventor/ConvertToInventor.h, - src/osgPlugins/Inventor/PendulumCallback.h, - src/osgPlugins/Inventor/ShuttleCallback.h, - src/osgPlugins/OpenFlight/AncillaryRecords.cpp, - src/osgPlugins/OpenFlight/AttrData.cpp, - src/osgPlugins/OpenFlight/AttrData.h, - src/osgPlugins/OpenFlight/ControlRecords.cpp, - src/osgPlugins/OpenFlight/DataInputStream.cpp, - src/osgPlugins/OpenFlight/DataInputStream.h, - src/osgPlugins/OpenFlight/DataOutputStream.cpp, - src/osgPlugins/OpenFlight/DataOutputStream.h, - src/osgPlugins/OpenFlight/Document.cpp, - src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/ExportOptions.cpp, - src/osgPlugins/OpenFlight/ExportOptions.h, - src/osgPlugins/OpenFlight/FltExportVisitor.cpp, - src/osgPlugins/OpenFlight/FltExportVisitor.h, - src/osgPlugins/OpenFlight/FltWriteResult.h, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/LightPointRecords.cpp, - src/osgPlugins/OpenFlight/LightSourcePaletteManager.cpp, - src/osgPlugins/OpenFlight/LightSourcePaletteManager.h, - src/osgPlugins/OpenFlight/MaterialPaletteManager.cpp, - src/osgPlugins/OpenFlight/MaterialPaletteManager.h, - src/osgPlugins/OpenFlight/Opcodes.h, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/OpenFlight/Pools.cpp, - src/osgPlugins/OpenFlight/Pools.h, - src/osgPlugins/OpenFlight/PrimaryRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/OpenFlight/Record.cpp, - src/osgPlugins/OpenFlight/Record.h, - src/osgPlugins/OpenFlight/RecordInputStream.cpp, - src/osgPlugins/OpenFlight/RecordInputStream.h, - src/osgPlugins/OpenFlight/Registry.cpp, - src/osgPlugins/OpenFlight/Registry.h, - src/osgPlugins/OpenFlight/ReservedRecords.cpp, - src/osgPlugins/OpenFlight/RoadRecords.cpp, - src/osgPlugins/OpenFlight/TexturePaletteManager.cpp, - src/osgPlugins/OpenFlight/TexturePaletteManager.h, - src/osgPlugins/OpenFlight/Types.h, - src/osgPlugins/OpenFlight/Utils.h, - src/osgPlugins/OpenFlight/Vertex.cpp, - src/osgPlugins/OpenFlight/Vertex.h, - src/osgPlugins/OpenFlight/VertexPaletteManager.cpp, - src/osgPlugins/OpenFlight/VertexPaletteManager.h, - src/osgPlugins/OpenFlight/VertexRecords.cpp, - src/osgPlugins/OpenFlight/expAncillaryRecords.cpp, - src/osgPlugins/OpenFlight/expControlRecords.cpp, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp, - src/osgPlugins/OpenFlight/expPrimaryRecords.cpp, - src/osgPlugins/ac/Geode.cpp, src/osgPlugins/ac/ac3d.cpp, - src/osgPlugins/bmp/ReaderWriterBMP.cpp, - src/osgPlugins/bsp/BITSET.cpp, src/osgPlugins/bsp/BITSET.h, - src/osgPlugins/bsp/Q3BSPLoad.cpp, src/osgPlugins/bsp/Q3BSPLoad.h, - src/osgPlugins/bsp/Q3BSPReader.cpp, - src/osgPlugins/bsp/Q3BSPReader.h, - src/osgPlugins/bsp/ReaderWriterBSP.cpp, - src/osgPlugins/bsp/ReaderWriterBSP.h, - src/osgPlugins/bsp/VBSPData.cpp, src/osgPlugins/bsp/VBSPData.h, - src/osgPlugins/bsp/VBSPEntity.cpp, - src/osgPlugins/bsp/VBSPGeometry.cpp, - src/osgPlugins/bsp/VBSPReader.cpp, - src/osgPlugins/bsp/VBSPReader.h, - src/osgPlugins/bvh/ReaderWriterBVH.cpp, - src/osgPlugins/cfg/Camera.cpp, src/osgPlugins/cfg/Camera.h, - src/osgPlugins/cfg/CameraConfig.cpp, - src/osgPlugins/cfg/CameraConfig.h, - src/osgPlugins/cfg/ConfigLexer.cpp, - src/osgPlugins/cfg/ConfigParser.cpp, - src/osgPlugins/cfg/ReaderWriterCFG.cpp, - src/osgPlugins/cfg/RenderSurface.cpp, - src/osgPlugins/cfg/RenderSurface.h, - src/osgPlugins/cfg/VisualChooser.cpp, - src/osgPlugins/cfg/VisualChooser.h, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/curl/ReaderWriterCURL.h, - src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/daeRAnimations.cpp, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeRSceneObjects.cpp, - src/osgPlugins/dae/daeReader.cpp, src/osgPlugins/dae/daeReader.h, - src/osgPlugins/dae/daeWGeometry.cpp, - src/osgPlugins/dae/daeWMaterials.cpp, - src/osgPlugins/dae/daeWSceneObjects.cpp, - src/osgPlugins/dae/daeWriter.cpp, - src/osgPlugins/dae/domSourceReader.cpp, - src/osgPlugins/dae/domSourceReader.h, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgPlugins/directshow/DirectShowTexture.cpp, - src/osgPlugins/directshow/ReaderWriterDirectShow.cpp, - src/osgPlugins/dot/BaseDotVisitor.cpp, - src/osgPlugins/dot/BaseDotVisitor.h, - src/osgPlugins/dot/ReaderWriterDOT.cpp, - src/osgPlugins/dot/SimpleDotVisitor.cpp, - src/osgPlugins/dot/SimpleDotVisitor.h, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/dxf/DXFWriterNodeVisitor.cpp, - src/osgPlugins/dxf/DXFWriterNodeVisitor.h, - src/osgPlugins/dxf/ReaderWriterDXF.cpp, - src/osgPlugins/dxf/aci.cpp, src/osgPlugins/dxf/aci.h, - src/osgPlugins/dxf/codeValue.h, src/osgPlugins/dxf/dxfBlock.cpp, - src/osgPlugins/dxf/dxfBlock.h, src/osgPlugins/dxf/dxfDataTypes.h, - src/osgPlugins/dxf/dxfEntity.cpp, src/osgPlugins/dxf/dxfEntity.h, - src/osgPlugins/dxf/dxfFile.cpp, src/osgPlugins/dxf/dxfFile.h, - src/osgPlugins/dxf/dxfReader.cpp, src/osgPlugins/dxf/dxfReader.h, - src/osgPlugins/dxf/dxfSection.cpp, - src/osgPlugins/dxf/dxfSection.h, - src/osgPlugins/dxf/dxfSectionBase.h, - src/osgPlugins/dxf/dxfTable.cpp, src/osgPlugins/dxf/dxfTable.h, - src/osgPlugins/dxf/scene.cpp, src/osgPlugins/dxf/scene.h, - src/osgPlugins/exr/ReaderWriterEXR.cpp, - src/osgPlugins/fbx/WriterCompareTriangle.cpp, - src/osgPlugins/fbx/WriterCompareTriangle.h, - src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.h, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, - src/osgPlugins/fbx/fbxRAnimation.cpp, - src/osgPlugins/fbx/fbxRMesh.cpp, - src/osgPlugins/ffmpeg/FFmpegAudioStream.cpp, - src/osgPlugins/ffmpeg/FFmpegClocks.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegParameters.cpp, - src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp, - src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h, - src/osgPlugins/freetype/FreeTypeLibrary.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.h, - src/osgPlugins/gdal/DataSetLayer.cpp, - src/osgPlugins/gdal/DataSetLayer.h, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp, - src/osgPlugins/geo/ClipRegion.cpp, - src/osgPlugins/geo/ClipRegion.h, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/geo/geoActions.cpp, src/osgPlugins/geo/geoCore.h, - src/osgPlugins/geo/geoFormat.h, src/osgPlugins/geo/geoTypes.h, - src/osgPlugins/geo/geoUnits.h, src/osgPlugins/geo/geoVersion.h, - src/osgPlugins/geo/osgGeoAction.h, - src/osgPlugins/geo/osgGeoAnimation.h, - src/osgPlugins/geo/osgGeoNodes.h, - src/osgPlugins/geo/osgGeoStructs.h, - src/osgPlugins/gif/ReaderWriterGIF.cpp, - src/osgPlugins/glsl/ReaderWriterGLSL.cpp, - src/osgPlugins/gta/ReaderWriterGTA.cpp, - src/osgPlugins/gz/ReaderWriterGZ.cpp, - src/osgPlugins/hdr/ReaderWriterHDR.cpp, - src/osgPlugins/hdr/hdrloader.cpp, - src/osgPlugins/hdr/hdrwriter.cpp, src/osgPlugins/hdr/hdrwriter.h, - src/osgPlugins/imageio/ReaderWriterImageIO.cpp, - src/osgPlugins/imageio/ReaderWriterImageIO_IOS.cpp, - src/osgPlugins/ive/AnimationPathCallback.cpp, - src/osgPlugins/ive/AutoTransform.cpp, - src/osgPlugins/ive/BlinkSequence.cpp, - src/osgPlugins/ive/Camera.cpp, src/osgPlugins/ive/CameraView.cpp, - src/osgPlugins/ive/ClipPlane.cpp, - src/osgPlugins/ive/ClusterCullingCallback.cpp, - src/osgPlugins/ive/CompositeLayer.cpp, - src/osgPlugins/ive/ConvexPlanarPolygon.h, - src/osgPlugins/ive/DOFTransform.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/DataTypeSize.h, - src/osgPlugins/ive/DrawArrayLengths.cpp, - src/osgPlugins/ive/DrawElementsUInt.cpp, - src/osgPlugins/ive/DrawElementsUShort.cpp, - src/osgPlugins/ive/Drawable.cpp, src/osgPlugins/ive/Effect.cpp, - src/osgPlugins/ive/EllipsoidModel.cpp, - src/osgPlugins/ive/Exception.h, src/osgPlugins/ive/FadeText.cpp, - src/osgPlugins/ive/Fog.cpp, src/osgPlugins/ive/Geode.cpp, - src/osgPlugins/ive/Geometry.cpp, src/osgPlugins/ive/Group.cpp, - src/osgPlugins/ive/HeightFieldLayer.cpp, - src/osgPlugins/ive/HeightFieldLayer.h, - src/osgPlugins/ive/Image.cpp, src/osgPlugins/ive/ImageLayer.cpp, - src/osgPlugins/ive/ImageLayer.h, - src/osgPlugins/ive/ImageSequence.cpp, - src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/Layer.cpp, - src/osgPlugins/ive/Layer.h, src/osgPlugins/ive/LightPoint.cpp, - src/osgPlugins/ive/LightPointNode.cpp, - src/osgPlugins/ive/Locator.cpp, src/osgPlugins/ive/Locator.h, - src/osgPlugins/ive/Material.cpp, - src/osgPlugins/ive/Multisample.cpp, src/osgPlugins/ive/Node.cpp, - src/osgPlugins/ive/Object.cpp, src/osgPlugins/ive/PagedLOD.cpp, - src/osgPlugins/ive/PositionAttitudeTransform.cpp, - src/osgPlugins/ive/PrimitiveSet.cpp, - src/osgPlugins/ive/Program.cpp, src/osgPlugins/ive/ProxyNode.cpp, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/ive/Sequence.cpp, src/osgPlugins/ive/Shader.cpp, - src/osgPlugins/ive/Shape.cpp, - src/osgPlugins/ive/ShapeAttributeList.cpp, - src/osgPlugins/ive/ShapeAttributeList.h, - src/osgPlugins/ive/ShapeDrawable.cpp, - src/osgPlugins/ive/StateSet.cpp, src/osgPlugins/ive/Stencil.cpp, - src/osgPlugins/ive/StencilTwoSided.cpp, - src/osgPlugins/ive/SwitchLayer.cpp, - src/osgPlugins/ive/Terrain.cpp, src/osgPlugins/ive/Terrain.h, - src/osgPlugins/ive/TerrainTile.cpp, - src/osgPlugins/ive/TerrainTile.h, - src/osgPlugins/ive/TexEnvCombine.cpp, - src/osgPlugins/ive/TexGen.cpp, src/osgPlugins/ive/TexMat.cpp, - src/osgPlugins/ive/Text.cpp, src/osgPlugins/ive/Text3D.cpp, - src/osgPlugins/ive/Texture.cpp, src/osgPlugins/ive/Texture1D.cpp, - src/osgPlugins/ive/Texture2D.cpp, - src/osgPlugins/ive/Texture2DArray.h, - src/osgPlugins/ive/Texture3D.cpp, - src/osgPlugins/ive/TextureCubeMap.cpp, - src/osgPlugins/ive/TextureCubeMap.h, - src/osgPlugins/ive/TextureRectangle.cpp, - src/osgPlugins/ive/Uniform.cpp, src/osgPlugins/ive/Volume.cpp, - src/osgPlugins/ive/Volume.h, - src/osgPlugins/ive/VolumeCompositeLayer.cpp, - src/osgPlugins/ive/VolumeCompositeProperty.cpp, - src/osgPlugins/ive/VolumeCompositeProperty.h, - src/osgPlugins/ive/VolumeImageLayer.cpp, - src/osgPlugins/ive/VolumeImageLayer.h, - src/osgPlugins/ive/VolumeLayer.cpp, - src/osgPlugins/ive/VolumeLayer.h, - src/osgPlugins/ive/VolumeLocator.cpp, - src/osgPlugins/ive/VolumeLocator.h, - src/osgPlugins/ive/VolumeProperty.h, - src/osgPlugins/ive/VolumeScalarProperty.cpp, - src/osgPlugins/ive/VolumeScalarProperty.h, - src/osgPlugins/ive/VolumeSwitchProperty.cpp, - src/osgPlugins/ive/VolumeSwitchProperty.h, - src/osgPlugins/ive/VolumeTile.cpp, - src/osgPlugins/ive/VolumeTile.h, - src/osgPlugins/ive/VolumeTransferFunctionProperty.cpp, - src/osgPlugins/ive/VolumeTransferFunctionProperty.h, - src/osgPlugins/jp2/ReaderWriterJP2.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/lwo/Block.cpp, src/osgPlugins/lwo/Block.h, - src/osgPlugins/lwo/Converter.cpp, src/osgPlugins/lwo/Converter.h, - src/osgPlugins/lwo/Layer.h, src/osgPlugins/lwo/Object.cpp, - src/osgPlugins/lwo/Object.h, src/osgPlugins/lwo/Polygon.h, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/lwo/Surface.cpp, - src/osgPlugins/lwo/Tessellator.cpp, src/osgPlugins/lwo/Unit.cpp, - src/osgPlugins/lwo/iffparser.h, src/osgPlugins/lwo/lwo2chunks.h, - src/osgPlugins/lwo/lwo2parser.h, src/osgPlugins/lwo/lwo2read.h, - src/osgPlugins/lwo/lwo2types.h, src/osgPlugins/lwo/old_Lwo2.cpp, - src/osgPlugins/lwo/old_Lwo2.h, - src/osgPlugins/lwo/old_Lwo2Layer.cpp, - src/osgPlugins/lwo/old_Lwo2Layer.h, - src/osgPlugins/lwo/old_lw.cpp, src/osgPlugins/lwo/old_lw.h, - src/osgPlugins/lws/ReaderWriterLWS.cpp, - src/osgPlugins/lws/SceneLoader.cpp, - src/osgPlugins/lws/SceneLoader.h, - src/osgPlugins/md2/ReaderWriterMD2.cpp, - src/osgPlugins/md2/anorms.h, src/osgPlugins/mdl/MDLReader.cpp, - src/osgPlugins/mdl/ReaderWriterMDL.cpp, - src/osgPlugins/mdl/ReaderWriterMDL.h, - src/osgPlugins/mdl/VTXReader.cpp, - src/osgPlugins/mdl/VVDReader.cpp, - src/osgPlugins/normals/Normals.cpp, - src/osgPlugins/normals/Normals.h, - src/osgPlugins/normals/ReaderWriterNormals.cpp, - src/osgPlugins/obj/OBJWriterNodeVisitor.cpp, - src/osgPlugins/obj/OBJWriterNodeVisitor.h, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/obj.cpp, src/osgPlugins/obj/obj.h, - src/osgPlugins/ogr/ReaderWriterOGR.cpp, - src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgPlugins/osg/BinaryStreamOperator.h, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osg/ReaderWriterOSG2.cpp, - src/osgPlugins/osg/XmlStreamOperator.h, - src/osgPlugins/osga/OSGA_Archive.cpp, - src/osgPlugins/osga/OSGA_Archive.h, - src/osgPlugins/osga/ReaderWriterOSGA.cpp, - src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/ReaderWriterPaths.cpp, - src/osgPlugins/pdf/ReaderWriterPDF.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/pic/ReaderWriterPIC.cpp, - src/osgPlugins/ply/ReaderWriterPLY.cpp, src/osgPlugins/ply/ply.h, - src/osgPlugins/ply/plyfile.cpp, src/osgPlugins/ply/typedefs.h, - src/osgPlugins/ply/vertexData.cpp, - src/osgPlugins/ply/vertexData.h, - src/osgPlugins/png/ReaderWriterPNG.cpp, - src/osgPlugins/pnm/ReaderWriterPNM.cpp, - src/osgPlugins/pvr/ReaderWriterPVR.cpp, - src/osgPlugins/qfont/ReaderQFont.cpp, - src/osgPlugins/quicktime/MovieData.cpp, - src/osgPlugins/quicktime/MovieData.h, - src/osgPlugins/quicktime/QTImportExport.cpp, - src/osgPlugins/quicktime/QTImportExport.h, - src/osgPlugins/quicktime/QTLiveUtils.cpp, - src/osgPlugins/quicktime/QTLiveUtils.h, - src/osgPlugins/quicktime/QTUtils.h, - src/osgPlugins/quicktime/QuicktimeImageStream.cpp, - src/osgPlugins/quicktime/QuicktimeImageStream.h, - src/osgPlugins/quicktime/QuicktimeLiveImageStream.cpp, - src/osgPlugins/quicktime/ReaderWriterQT.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp, - src/osgPlugins/rot/ReaderWriterROT.cpp, - src/osgPlugins/scale/ReaderWriterSCALE.cpp, - src/osgPlugins/shadow/ReaderWriterOsgShadow.cpp, - src/osgPlugins/shp/ESRIShape.cpp, src/osgPlugins/shp/ESRIShape.h, - src/osgPlugins/shp/ESRIShapeParser.cpp, - src/osgPlugins/shp/ESRIShapeParser.h, - src/osgPlugins/shp/ESRIShapeReaderWriter.cpp, - src/osgPlugins/shp/XBaseParser.cpp, - src/osgPlugins/shp/XBaseParser.h, - src/osgPlugins/stl/ReaderWriterSTL.cpp, - src/osgPlugins/svg/ReaderWriterSVG.cpp, - src/osgPlugins/terrain/ReaderWriterOsgTerrain.cpp, - src/osgPlugins/tga/ReaderWriterTGA.cpp, - src/osgPlugins/tgz/ReaderWriterTGZ.cpp, - src/osgPlugins/tiff/ReaderWriterTIFF.cpp, - src/osgPlugins/trans/ReaderWriterTRANS.cpp, - src/osgPlugins/txf/ReaderWriterTXF.cpp, - src/osgPlugins/txf/TXFFont.cpp, src/osgPlugins/txf/TXFFont.h, - src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/ReaderWriterTXP.h, - src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/txp/TXPArchive.h, src/osgPlugins/txp/TXPIO.cpp, - src/osgPlugins/txp/TXPNode.cpp, src/osgPlugins/txp/TXPNode.h, - src/osgPlugins/txp/TXPPageManager.cpp, - src/osgPlugins/txp/TXPPageManager.h, - src/osgPlugins/txp/TXPPagedLOD.cpp, - src/osgPlugins/txp/TXPPagedLOD.h, - src/osgPlugins/txp/TXPParser.cpp, - src/osgPlugins/txp/TXPSeamLOD.cpp, - src/osgPlugins/txp/TXPSeamLOD.h, - src/osgPlugins/txp/TileMapper.cpp, - src/osgPlugins/txp/TileMapper.h, - src/osgPlugins/txp/trpage_compat.cpp, - src/osgPlugins/txp/trpage_geom.h, - src/osgPlugins/txp/trpage_header.cpp, - src/osgPlugins/txp/trpage_io.h, - src/osgPlugins/txp/trpage_label.cpp, - src/osgPlugins/txp/trpage_light.cpp, - src/osgPlugins/txp/trpage_managers.cpp, - src/osgPlugins/txp/trpage_managers.h, - src/osgPlugins/txp/trpage_material.cpp, - src/osgPlugins/txp/trpage_model.cpp, - src/osgPlugins/txp/trpage_nodes.cpp, - src/osgPlugins/txp/trpage_parse.cpp, - src/osgPlugins/txp/trpage_pparse.cpp, - src/osgPlugins/txp/trpage_range.cpp, - src/osgPlugins/txp/trpage_rarchive.cpp, - src/osgPlugins/txp/trpage_read.h, - src/osgPlugins/txp/trpage_readbuf.cpp, - src/osgPlugins/txp/trpage_scene.cpp, - src/osgPlugins/txp/trpage_swap.cpp, - src/osgPlugins/txp/trpage_tile.cpp, - src/osgPlugins/txp/trpage_warchive.cpp, - src/osgPlugins/txp/trpage_write.h, - src/osgPlugins/txp/trpage_writebuf.cpp, - src/osgPlugins/view/ReaderWriterOsgViewer.cpp, - src/osgPlugins/vnc/ReaderWriterVNC.cpp, - src/osgPlugins/vrml/ConvertToVRML.cpp, - src/osgPlugins/vrml/ConvertToVRML.h, - src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.h, - src/osgPlugins/vtf/ReaderWriterVTF.cpp, - src/osgPlugins/x/ReaderWriterDirectX.cpp, - src/osgPlugins/x/mesh.cpp, - src/osgPlugins/xine/ReaderWriterXine.cpp, - src/osgPlugins/zip/ReaderWriterZIP.cpp, - src/osgPlugins/zip/ZipArchive.cpp, src/osgPlugins/zip/unzip.cpp, - src/osgPlugins/zip/unzip.h, - src/osgPresentation/AnimationMaterial.cpp, - src/osgPresentation/CompileSlideCallback.cpp, - src/osgPresentation/PickEventHandler.cpp, - src/osgPresentation/SlideEventHandler.cpp, - src/osgPresentation/SlideShowConstructor.cpp, - src/osgQt/GraphicsWindowQt.cpp, - src/osgQt/QFontImplementation.cpp, - src/osgQt/QGraphicsViewAdapter.cpp, - src/osgShadow/ConvexPolyhedron.cpp, - src/osgShadow/DebugShadowMap.cpp, - src/osgShadow/LightSpacePerspectiveShadowMap.cpp, - src/osgShadow/MinimalCullBoundsShadowMap.cpp, - src/osgShadow/MinimalDrawBoundsShadowMap.cpp, - src/osgShadow/MinimalShadowMap.cpp, - src/osgShadow/OccluderGeometry.cpp, - src/osgShadow/ParallelSplitShadowMap.cpp, - src/osgShadow/ShadowMap.cpp, src/osgShadow/ShadowTechnique.cpp, - src/osgShadow/ShadowTexture.cpp, src/osgShadow/ShadowVolume.cpp, - src/osgShadow/ShadowedScene.cpp, - src/osgShadow/StandardShadowMap.cpp, src/osgShadow/Version.cpp, - src/osgShadow/ViewDependentShadowMap.cpp, - src/osgShadow/ViewDependentShadowTechnique.cpp, - src/osgSim/BlinkSequence.cpp, src/osgSim/DOFTransform.cpp, - src/osgSim/ElevationSlice.cpp, src/osgSim/HeightAboveTerrain.cpp, - src/osgSim/Impostor.cpp, src/osgSim/ImpostorSprite.cpp, - src/osgSim/InsertImpostorsVisitor.cpp, src/osgSim/LightPoint.cpp, - src/osgSim/LightPointDrawable.cpp, src/osgSim/LightPointNode.cpp, - src/osgSim/LightPointSpriteDrawable.cpp, - src/osgSim/LineOfSight.cpp, src/osgSim/MultiSwitch.cpp, - src/osgSim/OverlayNode.cpp, src/osgSim/ScalarBar.cpp, - src/osgSim/Sector.cpp, src/osgSim/ShapeAttribute.cpp, - src/osgSim/SphereSegment.cpp, src/osgSim/Version.cpp, - src/osgSim/VisibilityGroup.cpp, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Layer.cpp, - src/osgTerrain/Locator.cpp, src/osgTerrain/Terrain.cpp, - src/osgTerrain/TerrainTechnique.cpp, - src/osgTerrain/TerrainTile.cpp, src/osgTerrain/Version.cpp, - src/osgText/DefaultFont.cpp, src/osgText/FadeText.cpp, - src/osgText/Font.cpp, src/osgText/Glyph.cpp, - src/osgText/GlyphGeometry.cpp, src/osgText/String.cpp, - src/osgText/Text.cpp, src/osgText/Text3D.cpp, - src/osgText/TextBase.cpp, src/osgText/Version.cpp, - src/osgUtil/CubeMapGenerator.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/DelaunayTriangulator.cpp, - src/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgUtil/DrawElementTypeSimplifier.cpp, - src/osgUtil/EdgeCollector.cpp, src/osgUtil/GLObjectsVisitor.cpp, - src/osgUtil/HalfWayMapGenerator.cpp, - src/osgUtil/HighlightMapGenerator.cpp, - src/osgUtil/IncrementalCompileOperation.cpp, - src/osgUtil/IntersectVisitor.cpp, - src/osgUtil/IntersectionVisitor.cpp, - src/osgUtil/MeshOptimizers.cpp, src/osgUtil/Optimizer.cpp, - src/osgUtil/PerlinNoise.cpp, - src/osgUtil/PositionalStateContainer.cpp, - src/osgUtil/PrintVisitor.cpp, src/osgUtil/RenderBin.cpp, - src/osgUtil/RenderLeaf.cpp, src/osgUtil/RenderStage.cpp, - src/osgUtil/ReversePrimitiveFunctor.cpp, - src/osgUtil/SceneGraphBuilder.cpp, src/osgUtil/SceneView.cpp, - src/osgUtil/ShaderGen.cpp, src/osgUtil/Simplifier.cpp, - src/osgUtil/SmoothingVisitor.cpp, src/osgUtil/StateGraph.cpp, - src/osgUtil/TangentSpaceGenerator.cpp, - src/osgUtil/Tessellator.cpp, - src/osgUtil/TransformAttributeFunctor.cpp, - src/osgUtil/TransformCallback.cpp, - src/osgUtil/TriStripVisitor.cpp, src/osgUtil/UpdateVisitor.cpp, - src/osgUtil/Version.cpp, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp, - src/osgViewer/HelpHandler.cpp, - src/osgViewer/PixelBufferCarbon.cpp, - src/osgViewer/PixelBufferWin32.cpp, - src/osgViewer/PixelBufferX11.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/Scene.cpp, src/osgViewer/StatsHandler.cpp, - src/osgViewer/Version.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgViewer/ViewerEventHandlers.cpp, - src/osgVolume/FixedFunctionTechnique.cpp, - src/osgVolume/Locator.cpp, src/osgVolume/Property.cpp, - src/osgVolume/RayTracedTechnique.cpp, src/osgVolume/Version.cpp, - src/osgVolume/Volume.cpp, src/osgVolume/VolumeTechnique.cpp, - src/osgVolume/VolumeTile.cpp, src/osgWidget/Box.cpp, - src/osgWidget/Browser.cpp, src/osgWidget/Canvas.cpp, - src/osgWidget/Frame.cpp, src/osgWidget/Input.cpp, - src/osgWidget/Lua.cpp, src/osgWidget/PdfReader.cpp, - src/osgWidget/StyleManager.cpp, src/osgWidget/Table.cpp, - src/osgWidget/Util.cpp, src/osgWidget/ViewerEventHandlers.cpp, - src/osgWidget/VncClient.cpp, src/osgWidget/Widget.cpp, - src/osgWidget/Window.cpp, src/osgWidget/WindowManager.cpp, - src/osgWrappers/deprecated-dotosg/osg/AnimationPath.cpp, - src/osgWrappers/deprecated-dotosg/osg/AutoTransform.cpp, - src/osgWrappers/deprecated-dotosg/osg/Billboard.cpp, - src/osgWrappers/deprecated-dotosg/osg/Camera.cpp, - src/osgWrappers/deprecated-dotosg/osg/CameraView.cpp, - src/osgWrappers/deprecated-dotosg/osg/Capsule.cpp, - src/osgWrappers/deprecated-dotosg/osg/ClearNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/ClusterCullingCallback.cpp, - src/osgWrappers/deprecated-dotosg/osg/CompositeShape.cpp, - src/osgWrappers/deprecated-dotosg/osg/Cone.cpp, - src/osgWrappers/deprecated-dotosg/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/deprecated-dotosg/osg/CoordinateSystemNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/Cylinder.cpp, - src/osgWrappers/deprecated-dotosg/osg/Depth.cpp, - src/osgWrappers/deprecated-dotosg/osg/Drawable.cpp, - src/osgWrappers/deprecated-dotosg/osg/FragmentProgram.cpp, - src/osgWrappers/deprecated-dotosg/osg/Geode.cpp, - src/osgWrappers/deprecated-dotosg/osg/Geometry.cpp, - src/osgWrappers/deprecated-dotosg/osg/HeightField.cpp, - src/osgWrappers/deprecated-dotosg/osg/Image.cpp, - src/osgWrappers/deprecated-dotosg/osg/ImageSequence.cpp, - src/osgWrappers/deprecated-dotosg/osg/LOD.cpp, - src/osgWrappers/deprecated-dotosg/osg/Light.cpp, - src/osgWrappers/deprecated-dotosg/osg/LightModel.cpp, - src/osgWrappers/deprecated-dotosg/osg/LightSource.cpp, - src/osgWrappers/deprecated-dotosg/osg/LineStipple.cpp, - src/osgWrappers/deprecated-dotosg/osg/Material.cpp, - src/osgWrappers/deprecated-dotosg/osg/Matrix.cpp, - src/osgWrappers/deprecated-dotosg/osg/MatrixTransform.cpp, - src/osgWrappers/deprecated-dotosg/osg/Node.cpp, - src/osgWrappers/deprecated-dotosg/osg/Object.cpp, - src/osgWrappers/deprecated-dotosg/osg/OccluderNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/OcclusionQueryNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/PagedLOD.cpp, - src/osgWrappers/deprecated-dotosg/osg/PositionAttitudeTransform.cpp, - src/osgWrappers/deprecated-dotosg/osg/Program.cpp, - src/osgWrappers/deprecated-dotosg/osg/Projection.cpp, - src/osgWrappers/deprecated-dotosg/osg/ProxyNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/Sequence.cpp, - src/osgWrappers/deprecated-dotosg/osg/Shader.cpp, - src/osgWrappers/deprecated-dotosg/osg/ShapeDrawable.cpp, - src/osgWrappers/deprecated-dotosg/osg/Sphere.cpp, - src/osgWrappers/deprecated-dotosg/osg/StateAttribute.cpp, - src/osgWrappers/deprecated-dotosg/osg/StateSet.cpp, - src/osgWrappers/deprecated-dotosg/osg/Stencil.cpp, - src/osgWrappers/deprecated-dotosg/osg/Switch.cpp, - src/osgWrappers/deprecated-dotosg/osg/TexEnv.cpp, - src/osgWrappers/deprecated-dotosg/osg/TexEnvCombine.cpp, - src/osgWrappers/deprecated-dotosg/osg/TexEnvFilter.cpp, - src/osgWrappers/deprecated-dotosg/osg/TexGen.cpp, - src/osgWrappers/deprecated-dotosg/osg/TexGenNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/TexMat.cpp, - src/osgWrappers/deprecated-dotosg/osg/Texture.cpp, - src/osgWrappers/deprecated-dotosg/osg/Texture1D.cpp, - src/osgWrappers/deprecated-dotosg/osg/Texture2D.cpp, - src/osgWrappers/deprecated-dotosg/osg/Texture3D.cpp, - src/osgWrappers/deprecated-dotosg/osg/TextureCubeMap.cpp, - src/osgWrappers/deprecated-dotosg/osg/TextureRectangle.cpp, - src/osgWrappers/deprecated-dotosg/osg/TransferFunction.cpp, - src/osgWrappers/deprecated-dotosg/osg/Uniform.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/Matrix.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/ReaderWriter.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/StackedTransform.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/UpdateMaterial.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/UpdateMatrixTransform.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_AnisotropicLighting.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_BumpMapping.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_Cartoon.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_MultiTextureControl.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_Scribe.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_SpecularHighlights.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_AngularDampingOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_BounceOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_BoxPlacer.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ConstantRateCounter.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_DampingOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_DomainOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_Emitter.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ExplosionOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_FluidFrictionOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_FluidProgram.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ModularEmitter.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_MultiSegmentPlacer.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_OrbitOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_Particle.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ParticleEffect.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ParticleProcessor.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ParticleSystem.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ParticleSystemUpdater.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_RadialShooter.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_SectorPlacer.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_SinkOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_VariableRateCounter.cpp, - src/osgWrappers/deprecated-dotosg/osgShadow/ShadowedScene.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_DOFTransform.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_MultiSwitch.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_Sector.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_ShapeAttribute.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/CompositeLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/HeightFieldLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/ImageLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/Layer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/Locator.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/SwitchLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/TerrainTile.cpp, - src/osgWrappers/deprecated-dotosg/osgText/IO_Text.cpp, - src/osgWrappers/deprecated-dotosg/osgText/IO_Text3D.cpp, - src/osgWrappers/deprecated-dotosg/osgText/IO_TextBase.cpp, - src/osgWrappers/deprecated-dotosg/osgViewer/CompositeViewer.cpp, - src/osgWrappers/deprecated-dotosg/osgViewer/View.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/CompositeProperty.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/ImageLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/ScalarProperty.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/SwitchProperty.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/Volume.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/VolumeTile.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Box.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/EmbeddedWindow.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Frame.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Input.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Label.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Table.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Widget.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/WindowManager.cpp, - src/osgWrappers/serializers/osg/AlphaFunc.cpp, - src/osgWrappers/serializers/osg/AnimationPath.cpp, - src/osgWrappers/serializers/osg/AutoTransform.cpp, - src/osgWrappers/serializers/osg/Billboard.cpp, - src/osgWrappers/serializers/osg/BlendEquation.cpp, - src/osgWrappers/serializers/osg/Camera.cpp, - src/osgWrappers/serializers/osg/CameraView.cpp, - src/osgWrappers/serializers/osg/ClipNode.cpp, - src/osgWrappers/serializers/osg/Depth.cpp, - src/osgWrappers/serializers/osg/Fog.cpp, - src/osgWrappers/serializers/osg/Geometry.cpp, - src/osgWrappers/serializers/osg/HeightField.cpp, - src/osgWrappers/serializers/osg/ImageSequence.cpp, - src/osgWrappers/serializers/osg/ImageStream.cpp, - src/osgWrappers/serializers/osg/LOD.cpp, - src/osgWrappers/serializers/osg/LightModel.cpp, - src/osgWrappers/serializers/osg/LightSource.cpp, - src/osgWrappers/serializers/osg/Material.cpp, - src/osgWrappers/serializers/osg/Multisample.cpp, - src/osgWrappers/serializers/osg/Node.cpp, - src/osgWrappers/serializers/osg/Object.cpp, - src/osgWrappers/serializers/osg/PagedLOD.cpp, - src/osgWrappers/serializers/osg/PolygonMode.cpp, - src/osgWrappers/serializers/osg/ProxyNode.cpp, - src/osgWrappers/serializers/osg/Sequence.cpp, - src/osgWrappers/serializers/osg/Shader.cpp, - src/osgWrappers/serializers/osg/StateSet.cpp, - src/osgWrappers/serializers/osg/Stencil.cpp, - src/osgWrappers/serializers/osg/TessellationHints.cpp, - src/osgWrappers/serializers/osg/TexEnv.cpp, - src/osgWrappers/serializers/osg/TexGen.cpp, - src/osgWrappers/serializers/osg/TexGenNode.cpp, - src/osgWrappers/serializers/osg/Texture.cpp, - src/osgWrappers/serializers/osg/TextureCubeMap.cpp, - src/osgWrappers/serializers/osg/Uniform.cpp, - src/osgWrappers/serializers/osg/ValueObject.cpp, - src/osgWrappers/serializers/osgAnimation/Animation.cpp, - src/osgWrappers/serializers/osgAnimation/MorphGeometry.cpp, - src/osgWrappers/serializers/osgAnimation/RigGeometry.cpp, - src/osgWrappers/serializers/osgManipulator/Dragger.cpp, - src/osgWrappers/serializers/osgParticle/DomainOperator.cpp, - src/osgWrappers/serializers/osgParticle/Particle.cpp, - src/osgWrappers/serializers/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/serializers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/serializers/osgParticle/SinkOperator.cpp, - src/osgWrappers/serializers/osgShadow/MinimalShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/ShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/ShadowVolume.cpp, - src/osgWrappers/serializers/osgShadow/StandardShadowMap.cpp, - src/osgWrappers/serializers/osgSim/DOFTransform.cpp, - src/osgWrappers/serializers/osgSim/LightPointNode.cpp, - src/osgWrappers/serializers/osgSim/MultiSwitch.cpp, - src/osgWrappers/serializers/osgSim/OverlayNode.cpp, - src/osgWrappers/serializers/osgSim/ScalarBar.cpp, - src/osgWrappers/serializers/osgTerrain/ImageLayer.cpp, - src/osgWrappers/serializers/osgTerrain/Layer.cpp, - src/osgWrappers/serializers/osgTerrain/Locator.cpp, - src/osgWrappers/serializers/osgTerrain/TerrainTile.cpp, - src/osgWrappers/serializers/osgText/Text.cpp, - src/osgWrappers/serializers/osgText/TextBase.cpp, - src/osgWrappers/serializers/osgVolume/ScalarProperty.cpp, - src/osgWrappers/serializers/osgVolume/VolumeTile.cpp: Ran script - to remove trailing spaces and tabs - -2012-03-21 16:02 robert - - * include/osg/GL: For all OSG_GL*_FEATURE #defines changed 1's to - true and 0's to false. - -2012-03-21 14:08 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From David Callu, "just a - typo fix that break the compilation under windows" - -2012-03-21 11:36 robert - - * include/osg/GraphicsContext, src/osg/GraphicsContext.cpp, - src/osgViewer/GraphicsWindowWin32.cpp: Added - Traits::getContextVersion(uint,uint) - -2012-03-21 11:26 robert - - * CMakeLists.txt, include/osg/Version: Updated version number - -2012-03-20 12:01 robert - - * src/osgViewer/PixelBufferCocoa.mm: Removed inappropriate warning - -2012-03-20 11:18 robert - - * src/osgPlugins/dxf/dxfEntity.cpp: Replaced && with & to address - error in handling bitmask - -2012-03-19 09:49 robert - - * src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/StencilTwoSided.cpp, - src/osgPlugins/ive/StencilTwoSided.h: From Lukasz Izdebski, Added - StencilTwoSided support to ive plugin - -2012-03-16 13:22 robert - - * src/osgPlugins/ive/LOD.cpp: Fixed the order of setting of - CenterMode - -2012-03-14 16:42 robert - - * src/osgShadow/ViewDependentShadowMap.cpp: From Wang Rui, "I'd - like to submit a slightly modified version of the - ViewDependentShadowMap. It includes two fixes: one is in - ComputeLightSpaceBounds::update(), which changes the statement - "if (v.z()<0.0f)" to "if (v.z()<-1.0f)" as clipping space - coordinates should be transformed to [-1, 1] and should not be - discarded unless they go beyond the range; the other is in - ViewDependentShadowMap::computeShadowCameraSettings(), in which I - changed the line: - viewMatrix.makeLookAt(frustum.center+positionedLight.lightDir*zMin, - frustum.center, lightUp); - to - viewMatrix.makeLookAt(frustum.center+positionedLight.lightDir*zMin, - frustum.center+positionedLight.lightDir*zMax, lightUp); - - The reason I've done such a change is that for huge scenes like a - city on the earth, the values of frustum.center can be extremely - large, but zMin may be very small (e.g., when model depth in - light coords equals the model radius by chance) in some cases so - the result of (eye - center) might jiggle while moving around the - shadow scene and thus make the shadow map suddenly disappear some - time. The small change here also considers the effect of zMax to - avoid such problems. - - " - -2012-03-12 14:22 robert - - * src/osgViewer/Scene.cpp: Moved static initializers into global - scope to prevent problems with using exit(). - -2012-03-11 22:05 cedricpinson - - * include/osgAnimation/StackedMatrixElement, - include/osgAnimation/StackedQuaternionElement, - include/osgAnimation/StackedRotateAxisElement, - include/osgAnimation/StackedScaleElement, - include/osgAnimation/StackedTransform, - include/osgAnimation/StackedTransformElement, - include/osgAnimation/StackedTranslateElement, - src/osgAnimation/StackedMatrixElement.cpp, - src/osgAnimation/StackedQuaternionElement.cpp, - src/osgAnimation/StackedRotateAxisElement.cpp, - src/osgAnimation/StackedScaleElement.cpp, - src/osgAnimation/StackedTransform.cpp, - src/osgAnimation/StackedTranslateElement.cpp: Changed - osgAnimation::StackedTransform::update(t). It can now be used for - custom usage - -2012-03-09 13:16 robert - - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS file for - 3.1.1 dev release - -2012-03-09 10:20 robert - - * ChangeLog, include/osgManipulator/Projector, - include/osgManipulator/RotateCylinderDragger, - src/osgManipulator/Projector.cpp, - src/osgManipulator/RotateCylinderDragger.cpp: From Chuck - Seberino, "Attached are modified versions of - RotateCylinderDragger and Projector files that clean up the use - of _onCylinder / isProjectionOnCylinder(). - - I have also made changes to the RotateCylinderDragger to provide - a cylinder ring with a thickness. It is totally optional, but - IMHO makes the default behavior work better than a solid cylinder - (which typically obscures the geometry you are trying to drag). - Gives it a bit more to grab, especially in the case where - eyepoint and cylinder axis are near parallel. - " - -2012-03-08 16:33 robert - - * CMakeLists.txt, ChangeLog, include/osg/Version: Updated version - number for 3.1.1 dev release - -2012-03-08 16:05 robert - - * include/osg/Image, src/osg/Image.cpp: From Farshid Lashkari, - "I've added support for reading contents of cubemap textures to - the osg::Image::readImageFromCurrentTexture method. I added a new - parameter to the method for specifying which face of the cubemap - to read." - -2012-03-07 09:32 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Olaf Flebbe, - "Appended now a bugfixed proposition for the Win7 Multitouch - Support. - - Now examples/osgmultitouch really works ;-) - - Based on yesterdays trunk. - - * It should now work with all Visual Studio Versions. - * WIN_VER is left as-is - * I added the missing declarations from a recent SDK, if not - supplied by the SDK - * If someone chooses to update WIN_VER, the declarations should - not break. - * All API Calls are runtime detected. - * No CMake Variable, Support is enabled automatically ." - -2012-03-06 10:35 robert - - * src/osgUtil/Optimizer.cpp: From Guillaume Millet, "Please find a - small fix to avoid crash of texture Atlas builder in case of - textures with NULL image. - - If an object is comming with texture and NULL image, the texture - atlas builder crash when sorting textures according to texture - height. - The fix is to skip textures with NULL image when inserting - textures in the builder texture list. - " - -2012-03-06 10:33 robert - - * src/osgParticle/PrecipitationEffect.cpp: From Farshild Laskari, - "The vertex shader for the point stateset of PrecipitationEffect - was not properly computing the clip vertex. It needed to apply a - modelview transformation to the clip vertex. Attached is the - fix." - -2012-03-06 10:29 robert - - * examples/CMakeLists.txt, examples/osgsimpleshaders, - examples/osgsimpleshaders/CMakeLists.txt, - examples/osgsimpleshaders/osgsimpleshaders.cpp: From Christian - Buchner, "The attached openscenegraph example is much simpler - than - osgshaders.cpp and demonstrates the use of GLSL vertex and - fragment - shaders with a simple animation callback. I found the - osgshaders.cpp - too complex to serve as a starting point for GLSL programming" - -2012-03-06 10:08 robert - - * include/osgManipulator/Projector, - src/osgManipulator/Projector.cpp: From Chuck Seberino, "Here is a - fix for the RotateCylinderDragger. This patch fixes the case - where the picking direction is close to the cylinder axis. The - current behavior is this: - - * If the eyepoint and cylinder axis are close to parallel (given - some tolerance), then it uses a plane perpendicular to the - cylinder axis. - * Otherwise it uses a plane parallel to the cylinder axis - oriented towards the eyepoint (previous behavior). This gives - decent behavior and is the only path that was taken in the - previous code. I kept with previous behavior and that allowed a - good bit of code to be removed, simplifying things. There is now - no need for the _onCylinder flag, but since there is a public - accessor, I wasn't sure how to handle it for backwards - compatibility, so I left it in. NOTE - there is no default - initialized value, so if it is kept in, it should be set to - 'false' to keep same behavior as before. I am not quite sure how - the _onCylinder case was supposed to behave as even forcing that - path gave undesirable behavior, even with carefully controlled - dragging. - " - -2012-03-06 10:06 robert - - * examples/osgmanipulator/osgmanipulator.cpp: Added - RotateCylinderDragger and RotateSphereDragger to list of - manipulators for testing purposes - -2012-03-05 14:17 robert - - * examples/osgsimplegl3/osgsimplegl3.cpp: From Paul Martz, "Just a - minor update and typo fix. - " - -2012-03-01 11:33 robert - - * src/osgPlugins/dxf/DXFWriterNodeVisitor.cpp, - src/osgPlugins/dxf/DXFWriterNodeVisitor.h: From Luc Frauciel, - "I've modified dxf writer : - - - correction to writeFace : the fourth point was defined with an - incorrect code - (http://www.autodesk.com/techpubs/autocad/acad2000/dxf/3dface_dxf_06.htm) - - if no layer name was found, an empty string was used, with is - incorrect according to dxf specifications and was rejected by - Autodesk DWG TrueView - - the plugin was writting polygons and triangles as LINE, as if - PolygonMode GL_LINE was active, and didn't use 3DFACE primitive. - I changed this behaviour to write 3DFACE as default, and LINE - when PolygonMode GL_LINE is active. - when reading back the file with osg, the result is now consistent - with the source - - Tested with osg plugin, FME (Safe software), Autodesk DWG - TrueView - " - -2012-03-01 11:03 robert - - * src/osgPlugins/3ds/WriterNodeVisitor.cpp: From Luc Frauciel, "In - 3ds plugin, asGeometry() is used on a drawable but the resulting - pointer is not tested for nullity. - It leads to a crash when writing osgText::Text or Shapes" - -2012-03-01 10:38 robert - - * include/osg/Program: From David Callu, "I found a bug in - osg::Program. - - in osg::Program::PerContextProgram : - - typedef std::vector - LastAppliedUniformList; - should be - typedef std::map - LastAppliedUniformList; - - Intel driver can use index uniform value > 200000. - With a std::vector, this index uniform value generate an out of - memory error - - Nothing in OpenGL or GLSL specification define index uniform - value rules. - And all other implementation that deal with uniform index in - osg::Program - use a std::map. - This fix could have a little performance impact but this is the - cost - to pay to work with - all driver." - -2012-03-01 10:14 robert - - * include/osg/Program: Removed redudent spaces at ends of lines - -2012-02-29 14:01 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Updated ChangeLog and AUTHORS for dev release - -2012-02-29 10:22 robert - - * include/osgDB/InputStream, include/osgDB/StreamOperator, - src/osgDB/InputStream.cpp, src/osgDB/StreamOperator.cpp, - src/osgPlugins/osg/BinaryStreamOperator.h: Improved the handling - of endian swap of osg::Array - -2012-02-29 10:22 robert - - * src/osgPlugins/zip/ZipArchive.cpp, - src/osgPlugins/zip/ZipArchive.h: From Glenn Waldron, "Attached - are modifications to ZipArchive to make it safe for - mutli-threaded access. - Here's a summary: - - * Uses a separate ZIP file handle per thread - * Maintains a single shared (read-only) index, created the first - time through - * Stress-tested with the DatabasePager using 24 threads under - osgEarth - - I also updated the member variables to use OSG's - leading-underscore convention." - -2012-02-28 12:03 robert - - * src/osgUtil/Optimizer.cpp: From Guillaume Millet, "When using the - texture Atlas builder, it will convert from REPEAT to - CLAMP all textures using only texcoord between [-0.001 1.001] to - give a - chance to create an Atlas. - If the atlas creation failed for other reason (texture size, only - one - compatible texture, ...) the texture remain modified in CLAMP - mode. - - But if you use texcoords between [0.0 1.0] using CLAMP mode - instead - REPEAT it is not safe because you will have a blend to the border - color - at extremities. - If we want to have exactly the same rendering after changing mode - from - REPEAT to CLAMP we should use the CLAMP_TO_EDGE mode instead of - CLAMP to - avoid blending to border color at extremities. - - Please find as attachment the proposed patch against latest svn - version. - " - -2012-02-28 11:37 robert - - * include/osg/Matrixd, include/osg/Matrixf, - src/osg/Matrix_implementation.cpp, - src/osgShadow/ViewDependentShadowMap.cpp: Added build problem - with using float Matrix. - -2012-02-28 10:21 robert - - * src/osgViewer/GraphicsWindowIOS.mm: From Thomas Hogarth, build - fix for IOS build - -2012-02-27 09:50 robert - - * src/osgPlugins/obj/ReaderWriterOBJ.cpp: Added - fin.imbue(std::locale::classic()); to avoid problems with parsing - of .obj files - -2012-02-24 21:07 robert - - * include/osgDB/InputStream, include/osgDB/StreamOperator, - src/osgDB/InputStream.cpp, - src/osgPlugins/osg/BinaryStreamOperator.h, - src/osgPlugins/osg/ReaderWriterOSG2.cpp: Added s/getByteSwap to - teh InputStreamOperator base class and use of this method in the - InputStream::start(InputStreamOperator*) method to ensure the - bytes are swapped consistently. - -2012-02-24 12:15 robert - - * src/osgText/Glyph.cpp: Added support for using glGenerateMipmap - instead of GL_GENERATE_MIPMAP_SGIS on GLES2 - -2012-02-24 11:43 robert - - * src/osgPlugins/osg/BinaryStreamOperator.h, - src/osgPlugins/osg/ReaderWriterOSG2.cpp: Added support for - checking the possible endian reversal the OSG_HEADER_LOW and - OSG_HEADER_HIGH when reading binary files written out from - systems that have a different endian to the system reading it. - -2012-02-24 10:56 robert - - * examples/CMakeLists.txt: Cleaned up CMake warning - -2012-02-23 17:51 robert - - * src/osgText/Text.cpp: Moved the - - state.applyTextureMode(0,GL_TEXTURE_2D,osg::StateAttribute::ON); - - into the #if defined(OSG_GL_FIXED_FUNCTION_AVAILABLE) block to - solve problems under GLES and GL3.x/GL4.x - -2012-02-23 15:55 robert - - * src/osgDB/Registry.cpp: From Mathieu Marache, "I was trying to - play with the configuratiion files from the data but - couldn't load them with osgviewer's -c CLI switch, this - correction - should make the alias work :-) - " - -2012-02-22 10:50 robert - - * src/osgPlugins/fbx/fbxRAnimation.cpp: From Sergey Polischuk, "In - and Out control points were computed incorrectly for some - animation channels with cubic bezier interpolation" - -2012-02-22 10:46 robert - - * include/osgDB/InputStream, src/osgDB/InputStream.cpp: From Miha - Ravsel, "While trying to create my custom serializer class, i - created some dummy data which accidentally popped-up bug in - InputStream readObjectFields function. - - Bug description: - Let's say we have class A - namespace Bug - { - class A : public osg::Object - { - public: - //... - typedef std::vector > AList; - - protected: - AList _alist; - //... - } - } - - REGISTER_OBJECT_WRAPPER( A, - new Bug::A, - Bug::A, - "osg::Object Bug::A" ) - { - ADD_LIST_SERIALIZER(A,Bug::A::AList); - } - - - Bug: - We create say 3 instances of class A: A1,A2,A3 and then we add A2 - and A3 and A1 as child instances of A1 so we get next structure: - A1 - |- A2,A3,A1 - - we call osgDB::writeObjectFile(A1,"/data/a.osgt") -> saved - correctly( third element in list is saved as unique id that - references parentClass - - now we call - A1 = osgDB::readObjectFile("/data/a.osgt"); - - Everything is deserialized correctely except last element in list - which should be same instance as parent A1. - - The attached code resolves this issue by passing UniqueID in - readObjectFields method and saving object in _identifierMap as - soon as we have valid object instance so we can make reference to - parent object from any child instance. - " - -2012-02-21 17:20 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: From - Paul Martz, "The attached fixes a few issues that are present - when ref_ptr implicit casting is disabled." - -2012-02-21 11:30 robert - - * CMakeLists.txt, src/osgDB/CMakeLists.txt, - src/osgViewer/CMakeLists.txt: From Olaf Flebbe, "Macos X cleanup: - I added AFAIK proper defaults for several Macos X Version API - targets. - - * In order to determine which defaults to apply, consult the - CMAKE_OSX_SYSROOT variable pointing to the used SDK, not the pure - existence of an SDK. - - * Defaults are now: - 10.7: Support Intel 32 and 64 Bit Cocoa with imageio picture - reader - 10.6 + 10.5: Support Cocoa with imageio on Intel and PowerPC - 10.4: Carbon, Quicktime and PowerPC - - Now OSG compiles out of the box for MacOSX 10.7. , tested with - gcc and clang with FlightGear." - -2012-02-21 11:13 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Chris Denham, - "ReaderWriter3DS smoothing group handling corrections" - -2012-02-21 10:42 robert - - * src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeWSceneObjects.cpp: Fixed warnings - -2012-02-21 10:38 robert - - * src/osg/Image.cpp, src/osg/Texture.cpp, - src/osg/Texture2DArray.cpp, src/osg/Texture3D.cpp, - src/osg/TextureRectangle.cpp, src/osgText/Glyph.cpp: Fixed - erroneous use #if !defined(OSG_GLES1_FEATURES) && - !defined(OSG_GLES2_FEATURES) which should have been #if - !defined(OSG_GLES1_AVAILABLE) && !defined(OSG_GLES2_AVAILABLE) - -2012-02-20 16:00 robert - - * src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeReader.h: From Luc Frauciel, "When dae - plugin is used with daeUseSequencedTextureUnitsoption, the - transparency processing is done with the wrong texture unit - I've remplaced the unused parameter diffuseColorName by the - diffuseTextureUnit effectively used." - -2012-02-20 12:36 robert - - * src/osgPlugins/bmp/ReaderWriterBMP.cpp: From Alexander - Sinditskiy, "Fix loading small monochrome bmp images" - -2012-02-20 12:33 robert - - * include/osgDB/DatabasePager: From Dietmar Funck, "in order to use - a customized database thread it's necessary to use a customized - database pager, which creates such customized database threads, - too. - I think the best way to achieve this is to overwrite the - DatabasePager::addDatabaseThread() method within the customized - database pager. However this method is not 'virtual' yet, so I - propose to make the method 'virtual'." - -2012-02-20 12:23 robert - - * src/osgDB/Registry.cpp: From Farshid Lashkari, "I've attached a - small optimization to - osgDB::Registry::removeExpiredObjectsInCache that removes the - expired items while iterating over the cache, instead of saving - to a temporary vector and then removing." - -2012-02-20 12:18 robert - - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: From - Riccardo Corsi, Added passing of EventVisitor pointer to event - handlers. - -2012-02-20 12:12 robert - - * src/osgPlugins/hdr/ReaderWriterHDR.cpp: From Riccardo Corsi, - "please find attached a small patch for HDR plugin, - which simply set by default the internal pixel format to - GL_RGB32F_ARB where appropriate. - - In the current version there's a comment saying that the plugin - set it to GL_RGB8 (even when reading from float) to support old - graphics cards, - but the comment dates back to 2004... - What's more I believe that it's correct to expect a floating - texture format if you're loading an hdr image. - It was quite troublesome for us to discover why our background - image wasn't showing hdr data... - - In case you accept the submission, I've removed the comment as it - would be misleading to leave it there." - -2012-02-20 12:03 robert - - * include/osg/Image, src/osg/Image.cpp, src/osg/Texture2D.cpp: From - Johannes Baeurele, "The osg::Image class now contains a - 'supportsTextureSubloading()' method that is used inside the - Texture2D::apply method. For now it only checks for the etc1 - format in which case it returns 'false'. All other formats lead - to a return value of 'true'. - - Without the change the application does not work properly. First - I get the notification that an OpenGL error occured. After some - more of this error messages I see broken textures on the screen. - With the changes attached to this message my application works as - intended." - - Note from Robert Osfield, changed the - Image::supportsTextureSubloading() to be const and to be - implemented in the .cpp rather than inline. - -2012-02-17 16:51 robert - - * examples/osg2cpp/osg2cpp.cpp: From Kim Bale, "The application - description for osg2cpp was cut and pasted from osgconv and not - changed. - - I've added a more relevant description." - -2012-02-17 16:45 robert - - * CMakeLists.txt, CMakeModules/FindGTA.cmake, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/gta, - src/osgPlugins/gta/CMakeLists.txt, - src/osgPlugins/gta/ReaderWriterGTA.cpp: From Martin Lambers, "It - adds a new ReaderWriter plugin for the GTA file format - (http://gta.nongnu.org). This allows to read and write floating - point - image data. Unlike other formats, GTA also allows very good - compression - ratios for floating point data. The compression method can be - selected - with the COMPRESSION option of the plugin. - " - -2012-02-17 16:13 robert - - * src/osgPlugins/CMakeLists.txt: Added usage of - OSG_CPP_EXCEPTIONS_AVAILABLE for plugins that use - std::exceptions. - -2012-02-10 17:24 robert - - * src/osgViewer/GraphicsWindowIOS.mm, src/osgViewer/IOSUtils.mm: - From Stephan Huber, " - Here's another small submission for IOS, which adds unique ids to - the - touchpoints, so the ids stay the same during a touch-sequence. - - (and some minor code enhancements)" - -2012-02-10 17:20 robert - - * src/osg/glu/libutil/mipmap.cpp: From Colin McDonald, "Upgrading - to OpenSceneGraph 3.0.1, texture mip mapping stopped - working on some junk low-end graphics cards which I still have to - support. They worked ok with osg 2.8 and earlier. - - The problem turned out to be with gl proxy textures, which are - unreliable on those devices. Proxy textures are used by the glu - mipmap build routines to determine if a texture size is - supported. The external glu library had a nice fallback - behaviour, so that if proxy textures didn't work then the mipmap - texture was still created. But in the work on the new embedded - glu routines that fallback behaviour has been inadvertently - lost. I have restored the fallback in - src/osg/glu/libutil/mipmap.cpp. It doesn't add any extra - complexity." - -2012-02-10 16:12 robert - - * src/osgGA/FirstPersonManipulator.cpp: From Domenico Mangieri, - "Implementation for MoveRight and MoveUp methods in - FirstPersonManipulator is missing. - - I'm using the manipulator, so I added it." - -2012-02-10 15:57 robert - - * include/osg/Image, src/osg/Image.cpp, src/osg/Texture.cpp, - src/osg/Texture2DArray.cpp, src/osg/Texture3D.cpp, - src/osg/TextureRectangle.cpp, src/osgText/Glyph.cpp: From Stephan - Huber, attached you'll find a compile fix for the new introduced - rowlength-feature on IOS/OpenGL ES builds - -2012-02-09 18:10 robert - - * include/osgUtil/Tessellator: From Luc Frauciel, "osgUtil - Tessellator : beginTessellation() made virtual to allow - configuration of tessellation: - - The initialisation of glu low level tessellator is done in - osgUtil::Tessellator::beginTessellation() - This function is not virtual, preventing any customization of the - tesselation. - In particular, there in an option in glu tesselator that force - the generated primitives to be triangles and that I'd like to use - (GLU_TESS_EDGE_FLAG). - " - -2012-02-09 17:52 robert - - * applications/osgfilecache/osgfilecache.cpp, - src/osgDB/FileCache.cpp: From Torben Dannhauer, "Modification to - osgfilecache: Now source data can also be local.: - - find attached my modifications to osgfilecache. - - It now allows also the caching of LOCAL terrain databases. In - combination with the extends and level cmd parameter it allows to - extract parts of terrain databases and write it in a new "Sub - database". - I also modified osgDB::FileCache to create correct filenames if - the data source is local." - -2012-02-09 17:45 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Updated ChangeLog, AUTHORS and Contriburos.cpp files - -2012-02-09 16:42 robert - - * src/osgPlugins/xine/video_out_rgb.c: From Martin von Gagern, "The - xine osg plugin won't compile against xine-lib-1.2.0: - - OpenSceneGraph-3.0.1/src/osgPlugins/xine/video_out_rgb.c:2772:25: - error: ?video_driver_class_t? has no member named - ?get_identifier? - OpenSceneGraph-3.0.1/src/osgPlugins/xine/video_out_rgb.c:2773:25: - error: ?video_driver_class_t? has no member named - ?get_description? - - This has been reported on Gentoo: https://bugs.gentoo.org/397643 - The relevant commit to the xine-lib repository is - http://anonscm.debian.org/hg/xine-lib/xine-lib-1.2/diff/806b590a4d38/src/xine-engine/video_out.h - - This change addresses the issue. I'm sending the full modified - file as - an attachment. It is based on the 3.0.1 release of OSG. I'll also - paste - a diff below. You will find a colorized view in the Gentoo - bugzilla. - - The xine-lib API changed in the following way: the identifier and - description members are now "const char*" strings instead of - "char* - (*)(video_driver_class_t*)" getter function. As the functions in - the osg - plugin will always simply return a string literal, without - accessing - their argument, it is safe to simply call them with a NULL - argument and - use the returned string. This makes it easy to support both API - versions. When you drop support for older xine one day, you might - want - to move the string literals to the assignment, getting rid of the - functions in the process. - - The modified code compiles for me. I'm not sure how to test it, - as I've - only got OSG around in order to build (and hopefully one day even - use) - Flightgear. - - I'm assigning my copyright in this change to the osg project - leads. - " - -2012-02-09 15:54 robert - - * src/osg/State.cpp: From Olaf Flebbe, "there are two ocurrences - where pointer to bool is mixed with bool. Fixes warnings on - MacOSX with llvm. - - diff --git a/src/osg/State.cpp b/src/osg/State.cpp - index 0b88d63..2137bbd 100644 - --- a/src/osg/State.cpp - +++ b/src/osg/State.cpp - @@ -109,7 +109,7 @@ State::State(): - } - } - - - _abortRenderingPtr = false; - + _abortRenderingPtr = NULL; - - _checkGLErrors = ONCE_PER_FRAME; - - @@ -689,7 +689,7 @@ bool - State::getLastAppliedTextureMode(unsigned int unit,Stat - - const StateAttribute* - State::getLastAppliedTextureAttribute(unsigned int unit,S - { - - if (unit>=_textureAttributeMapList.size()) return false; - + if (unit>=_textureAttributeMapList.size()) return NULL; - return - getLastAppliedAttribute(_textureAttributeMapList[unit],type,member); - } - - " - -2012-02-09 15:51 robert - - * examples/CMakeLists.txt, examples/osgsimplegl3, - examples/osgsimplegl3/CMakeLists.txt, - examples/osgsimplegl3/osgsimplegl3.cpp: From Paul Martz, a simple - GL3 example - -2012-02-09 15:08 robert - - * src/osgText/TextBase.cpp: From Colin McDonald, "The bounding box - returned by getBound() for Text which is not - auto-rotated (e.g. HUD text) is not always correct, because it - doesn't take account of the base line offsets added by the - various alignment options such as CENTER_TOP, CENTER_BOTTOM etc. - - The attached src/osgText/TextBase.cpp fixes the problem." - -2012-02-09 14:40 robert - - * src/osgPlugins/osg/ReaderWriterOSG2.cpp: From Colin McDonald, fix - for Solaris build. - -2012-02-09 14:33 robert - - * src/osgText/Text.cpp, src/osgText/Text3D.cpp: From Filip Arlet,"I - ran into problem with osg::Text _BASE_LINE alignment. It didn't - account line spacing. Btw. same problem in 3D text - - Changed _offset from: -_characterHeight*(_lineCount-1) - to: -_characterHeight*(1.0 + _lineSpacing)*(_lineCount-1)" - -2012-02-09 14:28 robert - - * include/osgDB/FileUtils, src/osgDB/FileUtils.cpp, - src/osgDB/Registry.cpp: Added back in support for checking the - current working directory by default, but now do the check - after the Options and Registry DataFilePathLists have been - checked, which will allow users to better control - over where files are searched for. - -2012-02-09 14:11 robert - - * src/osgPlugins/dae/daeRTransforms.cpp: From Chris Denham, "This - is a submission to fix a problem with use of mode - GL_RESCALE_NORMAL for geometries below a scaling transform which - is not equal in X, Y & Z components. In this case, the 'slow' - method of mode GL_NORMALIZE should be used to perform the - normalization. - - I have attached a correction to daeRTransforms.cpp based on trunk - at [12892] which corrects this problem. - - This is the changed section: - - Code: - if (scale.x() == scale.y() && scale.y() == scale.z()) - { - // This mode may be quicker than GL_NORMALIZE, but ONLY works if - x, y & z components of scale are the same. - ss->setMode(GL_RESCALE_NORMAL, - osg::StateAttribute::ON|osg::StateAttribute::OVERRIDE); - } - else - { - // This mode may be slower than GL_RESCALE_NORMAL, but does work - if x, y & z components of scale are not the same. - ss->setMode(GL_NORMALIZE, - osg::StateAttribute::ON|osg::StateAttribute::OVERRIDE); - }" - -2012-02-09 12:50 robert - - * src/osgDB/Registry.cpp: From Thorsten Brehm, "attached update - changes OSG's src/osgDB/Registry.cpp, so it doesn't - (accidentally) resolve relative paths against the current working - directory when searching for resources. So far, such paths were - always resolved against the cwd first. - - I guess the previous behaviour of giving the cwd precedence over - any path configured in the "database path list" (osgDB::Options) - wasn't intentional. Otherwise, if it was intentional after all, - it'd be good to add another feature instead, to make this - configurable - e.g. a flag in osgDB::Options to disable this, if - an application doesn't want the cwd being considered. - " - - Note from Robert Osfield, this submission will change the default - behaviour of searching for files so can potentially break - existing applications as it - won't search the current working direction unless it's included - in the DataFilePathList entry in the Options or Registy. I'll add - a follow - up submission to add back in this feature. - -2012-02-08 17:12 robert - - * src/osgPlugins/cfg/CMakeLists.txt: From Hartmut Seichter, - "attached a revised CMakeLists.txt file for Android that avoids - the problems with a ARM gcc bug that appears in the NDK. It only - overrides the optimization level for one file. As it resides only - in the cfg parser this should not have side effects on - performance." - -2012-02-08 10:50 robert - - * CMakeLists.txt: From Paul Martz, "This change clarifies the - description for OSG_GL_VERTEX_ARRAY_FUNCS_AVAILABLE." - -2012-02-08 10:06 robert - - * include/osgUtil/PolytopeIntersector, - src/osgUtil/PolytopeIntersector.cpp: From Leandro Motto Barros, - - "I've made a few changes to osgUtil::PolytopeIntersector so that - it - actually uses double precision floating point numbers everywhere - (as - long as OSG_USE_FLOAT_PLANE is not defined). - - I needed double precision intersections in a project I am working - on. - These changes fixed the problems I was having -- this is all - testing I - have done. - - Notice that I have changed - osgUtil::PolytopeIntersector::Intersection's members to use - doubles - (osg::Vec3d, instead of osg::Vec3). I could have added #ifdef's - there - too, but I think it is better to not change the types of stuff in - the - public interface depending on some preprocessor definition. - - The modified files are attached. A diff also follows, for those - who like it." - - With the following changes from Robert Osfield: - - "I've just reviewed your changes and have just tweaked them a - little to - streamline them. What I have done in the PolytopeIntersector - header - is add: - - typedef osg::Plane::Vec3_type Vec3_type; - - And then use this typedef in the definition of the vertices - rather - then Vec3d as you did. Next changes were to - PolytopeInteresector.cpp - where to the PolytopeIntersectorUtils defintions of the - Vec3_type, and - value_type which now simply read: - - typedef osg::Plane::Vec3_type Vec3_type; - typedef Vec3_type::value_type value_type; - - This way I was able to complete avoid any if def's and have - essential - the same implementation as you achieved. Changes now checked into - svn/trunk." - -2012-02-08 09:34 robert - - * src/osgQt/GraphicsWindowQt.cpp: From Claus Scheiblauer, "in - GraphicsWindowQt.cpp the GLWidget::keyReleaseEvent was - implemented slightly different to the GLWidget::keyPressEvent, - which caused the cursor keys values to be not correctly mapped - from an QKeyEvent value to an osg key value when releasing a - cursor key." - -2012-02-07 16:14 robert - - * src/osg/UserDataContainer.cpp, src/osgDB/Registry.cpp: Fixed - build issues when compile with - OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF. - -2012-02-07 12:37 robert - - * src/osg/Image.cpp: From Alexander Irion, "Added missing format - GL_ALPHA to Image::computeFormatDataType()." - -2012-02-07 12:02 robert - - * src/osg/Texture.cpp: From Johannes Baeuerle, "The first problem - is wrong value of the block size of etc1 textures in the - getCompressedSize call in Texture.cpp. With the current block - size of 16 the target application crashes with a - GL_INVALID_VALUE. The reason is that the calculated size passed - to OpenGL does not match the size of the passed data(data - pointer,texture width,texture height,spec of etc1). - With a block size of 8 in the getCompressedSize call this error - dissapears." - -2012-02-07 11:43 robert - - * CMakeModules/FindCOLLADA.cmake: From Nico Kruithof, "I found that - Collada wasn't found correctly with visual studio 2010." - -2012-02-07 11:41 robert - - * include/osgQt/GraphicsWindowQt: From Marius Kintel, - "GraphicsWindowQt::WindowData no longer requires the parent - widget of a graphics window to be of type GLWidget." - -2012-02-07 11:29 robert - - * include/osgUtil/Tessellator, src/osgUtil/Tessellator.cpp: From - David Fries, "Of the two ways to use the Tessellator object, only - retessellatePolygons was applying the winding and boundary - option. - Moved the gluTessProperty calls into beginTessellation(). - - There's a comment typo fix, removing an unused VertexPointList - typedef, and allocates one _tobj instead of one per tesellation. - Protections were added to check that _tobj was allocated in the - few - remaining places it wasn't being checked. - - --- - On a side note, I would like to avoid the 'new Vec3d' in - Tessellator::addVertex for each call to - gluTessVertex(tess, location, data). - The RedBook leaves it ambiguous if the location pointer must - remain valid after gluTessVertex or not. - http://www.opengl.org/sdk/docs/man/xhtml/gluTessVertex.xml - says that changing location is not safe, so being conservative, - I'll - leave it as is, even though the Mesa GLU library copies the data - not - the pointer, so it is currently safe." - -2012-02-07 11:21 robert - - * src/osg/Billboard.cpp: From Lionel Lagarde, "The setNormal method - of osg::Billboard has side effects (it calls updateCache and - update the normal to Z rotation matrix). When cloning billboards, - copying the normal vector is not enough. In the correction, the - copy constructor calls setNormal to update the internal members." - -2012-02-07 10:57 robert - - * src/osgViewer/StatsHandler.cpp: From Wojciech Lewandowski, "This - is a one line modification of StatsHandler.cpp to work correctly - while dumping states to console when ViewerStats - getEarliesFrameNumber() and getLatestFrameNumber() return zeroes. - If that happened in current version, printing loop was iterating - between 0 and 0xFFFF FFFF indices and that was hanging our - system. - " - -2012-02-07 10:51 robert - - * src/osgGA/OrbitManipulator.cpp: From Tamer Fahmy, Fix for bug - when scrolling down and using render on demand. - - "Currently issuing a mouse scroll DOWN event would stop updating - animations in progress. - - The fix consists of changing the line - us.requestContinuousUpdate( false ); - to: - us.requestContinuousUpdate( isAnimating() || _thrown ); - - in OrbitManipulator::handleMouseWheel() as has been done for the - GUIEventAdapter::SCROLL_UP case a couple of lines earlier or in - src/osgGA/FirstPersonManipulator.cpp." - -2012-02-07 10:40 robert - - * src/osg/UserDataContainer.cpp: From Rudolf Wiedemann, "the file - attached fixes the incomplete implementation of - "osg::DefaultUserDataContainer"'s copy constructor. - Copying user objects was missing." - - Note from Robert Osfield, in submission changed - _objectList.push_back((*itr)->clone(copyop)); - to - _objectList.push_back(copyop(*itr)); - -2012-02-07 10:33 robert - - * src/osgPlugins/jp2/ReaderWriterJP2.cpp: From Sukender, "I just - fixed using UTF8 paths in JP2 readerwriter under Windows. - Jpeg2000 plugin could not handle UTF8 paths as it was using an - Japser open() function which seems to be based on the standard - fopen(). The fix simply opens the file beforehand and only gives - a FILE* to the Jasper lib (and then closes the file, of course). - " - -2012-02-06 13:45 robert - - * src/osgUtil/Optimizer.cpp: From Mathias Froehlich, "In - Optimizer.cpp a nodes update callback is checked twice and the - cull - callback is checked never for the decision of a node being - redundant. - The change replaces one of the update callback tests with a cull - callback - test." - -2012-02-06 13:40 robert - - * include/osgViewer/ViewerEventHandlers, - src/osgViewer/StatsHandler.cpp: From Mathias Froehlich, "Attached - is a change to the stats handler so that the aspect ratio of the - viewer stats coordinates always stay about 1:1 to the pixels. - This helps for more readable stats with very wide windows for - example." - -2012-02-06 13:35 robert - - * src/osgText/DefaultFont.cpp: From Mathias Froehlich, "The - attached change to the default font makes the baseline correctly - working - and makes the glyphs aspect ratio match their 12x8 bitmaps. - I am not exactly sure about osgTexts current internals but it - matches the - changes that happened lately to the txf font. - " - -2012-02-06 13:29 robert - - * src/osgPlugins/dot/BaseDotVisitor.cpp: From Cory Riddell, "I've - been using the dot plugin and found that our application which - sets - the global locale was generating bad dot files. Specifically, the - node - numbers had comma separators in them (like 1,234 rather than - 1234). - - The attached file simply forces the stringstreams used to build - up the - dot file to use the "C" locale." - -2012-02-06 13:27 robert - - * src/osgWrappers/serializers/osg/ProxyNode.cpp: From Robert - Milharcic, "In attached file I implemented LOAD_IMMEDIATELY mode - for new osg ProxyNode wrapper. Current version of proxynode - loading uses DatabasePager for both - modes(DEFER_LOADING_TO_DATABASE_PAGER and LOAD_IMMEDIATELY). - - Immediate loading of external references begins after ProxyNode - has been deserialized in ProxyNodeFinishedObjectReadCallback." - -2012-02-06 12:42 robert - - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Paul Palumbo, - "This change seems to fix a problem reading 32-bit Floating point - tiff images. Without this fix, I'm only getting half my image - displayed in "osgviewer --image"." - -2012-02-06 12:38 robert - - * src/osgPlugins/svg/ReaderWriterSVG.cpp: From Jason Beverage, - "Attached is a patch to the SVG plugin to use - cairo_surface_destroy - instead of free. This was causing a crash on Windows. - " - -2012-02-06 12:36 robert - - * include/osgUtil/Statistics, src/osgUtil/Statistics.cpp: From Jan - Peciva, "attaching improved StatsVisitor. Changes: - - apply() and reset() methods made virtual to allow overriding - - added apply(StateSet&) to make more easier to gather - StateAttribute - statistics in user-derived classes - " - -2012-02-06 12:29 robert - - * include/osgUtil/Statistics, src/osgUtil/Statistics.cpp: Fixed - indendation and line endings - -2012-02-06 12:06 robert - - * include/osg/PagedLOD, src/osg/PagedLOD.cpp: From Brad - Christiansen, "The attached files add the ability to control when - a paged child becomes eligible for expiry based on time and/or - elapsed frames. - - - - I found that some of the items that had been paged in were being - expired on the first frame that they were not visible (as the - cache was full). This resulted in excessive paging every time the - view was moved. With the following changes I could only allow - children to be expired if they had not been used for e.g. 30 - seconds or 60 frames." - -2012-02-06 12:05 robert - - * examples/osgsharedarray/osgsharedarray.cpp: Fixed silly compiler - warning that was being produced in error. - -2012-02-06 11:17 robert - - * src/osgText/Glyph.cpp: From Alexander Sinditskiy, "looks like - GlyphGeometries _glyphGeometries; should be removed because - Glyph3D have the same named local variable." - -2012-02-03 15:15 robert - - * src/osgViewer/GraphicsWindowCocoa.mm: From Stephan Huber, - "attached you'll find a first version of multi-touch-support for - OS X (>= - 10.6), which will forward all multi-touch events from a trackpad - to the - corresponding osgGA-event-structures. - - The support is switched off per default, but you can enable - multi-touch - support via a new flag for GraphicsWindowCocoa::WindowData or - directly - via the GraphicsWindowCocoa-class. - - After switching multi-touch-support on, all mouse-events from the - trackpad get ignored, otherwise you'll have multiple events for - the same - pointer which is very confusing (as the trackpad reports absolute - movement, and as a mouse relative movement). - - I think this is not a problem, as multi-touch-input is a - completely - different beast as a mouse, so you'll have to code your own - event-handlers anyway. - - While coding this stuff, I asked myself if we should refactor - GUIEventAdapter/EventQueue and assign a specific event-type for - touch-input instead of using PUSH/DRAG/RELEASE. This will make it - clearer how to use the code, but will break the mouse-emulation - for the - first touch-point and with that all existing manipulators. What - do you - think? I am happy to code the proposed changes. - - Additionally I created a small (and ugly) example osgmultitouch - which - makes use of the osgGA::MultiTouchTrackballManipulator, shows all - touch-points on a HUD and demonstrates how to get the touchpoints - from - an osgGA::GUIEventAdapter. - - There's even a small example video here: - http://vimeo.com/31611842" - -2012-02-03 14:25 robert - - * examples/CMakeLists.txt, examples/osgmultitouch, - examples/osgmultitouch/CMakeLists.txt, - examples/osgmultitouch/osgmultitouch.cpp, - include/osgGA/EventQueue, - include/osgViewer/api/Cocoa/GraphicsWindowCocoa, - src/osgGA/EventQueue.cpp: From Stephan Huber, "attached you'll - find a first version of multi-touch-support for OS X (>= - 10.6), which will forward all multi-touch events from a trackpad - to the - corresponding osgGA-event-structures. - - The support is switched off per default, but you can enable - multi-touch - support via a new flag for GraphicsWindowCocoa::WindowData or - directly - via the GraphicsWindowCocoa-class. - - After switching multi-touch-support on, all mouse-events from the - trackpad get ignored, otherwise you'll have multiple events for - the same - pointer which is very confusing (as the trackpad reports absolute - movement, and as a mouse relative movement). - - I think this is not a problem, as multi-touch-input is a - completely - different beast as a mouse, so you'll have to code your own - event-handlers anyway. - - While coding this stuff, I asked myself if we should refactor - GUIEventAdapter/EventQueue and assign a specific event-type for - touch-input instead of using PUSH/DRAG/RELEASE. This will make it - clearer how to use the code, but will break the mouse-emulation - for the - first touch-point and with that all existing manipulators. What - do you - think? I am happy to code the proposed changes. - - Additionally I created a small (and ugly) example osgmultitouch - which - makes use of the osgGA::MultiTouchTrackballManipulator, shows all - touch-points on a HUD and demonstrates how to get the touchpoints - from - an osgGA::GUIEventAdapter. - - There's even a small example video here: - http://vimeo.com/31611842" - -2012-02-03 11:10 robert - - * include/osgDB/Registry, src/osgDB/Registry.cpp: Improved handling - of archives - -2012-02-03 11:09 robert - - * src/osgPlugins/glsl/ReaderWriterGLSL.cpp, - src/osgWrappers/deprecated-dotosg/osg/Shader.cpp: From Terry - Welsh, improved support for handling archives - -2012-02-01 17:42 robert - - * src/osg/GraphicsContext.cpp: From Colin McDonald, "I have an - application with multiple windows. They share GL objects - between the contexts, using the GraphicsContext::Traits - sharedContext - and setting the same contextID. - - When one of these shared contexts is closed, - GraphicsContext::close - deletes all GLObjects for that contextID, regardless of the fact - that - they are shared. This means that all of the other contexts - sharing the - objects have to recompile them. - - The attached tweak makes GraphicsContext::close a bit less brutal - for - shared contexts. I have also changed a misleading diagnostic - message. - " - -2012-02-01 17:38 robert - - * src/osgPlugins/fbx/ReaderWriterFBX.h: From Luc Frauciel, "FBX - plugin was locked on version 2012.1 of FBX SDK which is not - available anymore on Autodesk website. - This patch allows version of FBX >= 2012.1, which includes - current one : 2012.2 - " - -2012-02-01 17:16 robert - - * examples/osgmanipulator/osgmanipulator.cpp: Renamed selection to - transform to make it clear to understand what is being done. - -2012-02-01 17:10 robert - - * examples/osgmanipulator/osgmanipulator.cpp: Added example usage - of teh new DraggerTransforCallback's HandleCommandMask which is - tied to the TabPlaneDragger example. - -2012-02-01 13:55 robert - - * include/osgManipulator/Dragger, src/osgManipulator/Dragger.cpp: - Added DraggerTransformCallback::HandleCommandMask to - DraggerTransformCallback to allow applications to select which - commands they want the dragger callback to respond to why - updating the transform. - -2012-01-31 10:56 robert - - * examples/osgmanipulator/osgmanipulator.cpp, - include/osgManipulator/Command, - include/osgManipulator/Constraint, - include/osgManipulator/Dragger, - src/osgManipulator/Constraint.cpp, - src/osgManipulator/Dragger.cpp: Improved the handling of - osgManipulator::Constraint, DraggerCallbacks and Command so that - they now use a Visitor Pattern - to ensure the correct methods on constraints and callbaks are - called for each Command. Also fixed the handling of - Constraints when applied to composite Draggers. - -2012-01-30 12:26 robert - - * examples/osgmanipulator/osgmanipulator.cpp: Added support for - Scale1DDragger, Scale2DDragger and TranslatePlaneDragger to - --dragger command line option - -2012-01-27 09:49 robert - - * CMakeModules/FindOSG.cmake: From Kristofer Tingdahl, Added - missing core OSG libraries. - -2012-01-26 18:03 robert - - * src/osgViewer/GraphicsWindowCocoa.mm: From Stephan Huber, "a - recent submission added a 10.6-feature to GraphicsWindowCocoa. I - added - some ifdefs around, so it compiles again with 10.5 SDK" - -2012-01-26 14:26 robert - - * src/osgGA/EventQueue.cpp: Quietend down debug message - -2012-01-26 13:08 robert - - * src/osgViewer/GraphicsWindowX11.cpp: From J.P. Delport, "when - switching from windowed mode to fullscreen (with the 'f' key) in - X11, no RESIZE event is generated. This confuses handlers that - perform some processing on the RESIZE event, e.g. the - InteractiveImageHandler. - - To reproduce the problem I attach a minimally modified osgviewer - that just prints resize events. You can check what's printed in - the console when you go fullscreen and windowed a few times. - - The attached version of GraphicsWindowX11 fixes the problem for - me, but I'm not sure this is the right approach. Maybe you can - see a fix for the problem clearer. - - The only place where the RESIZE event is generated in - GraphicsWindowX11 is in CheckEvents and it then depends on the - ConfigureNotify message. For some reason, either ConfigureNotify - is not sent when going fullscreen or the traits already reflect - the latest window size." - -2012-01-25 17:37 robert - - * src/osgViewer/ViewerEventHandlers.cpp: From J.P. Delport, "this - fall-through had me scratching my head for a while... - - It made InteractiveImageHandler eat keypresses outside its - image." - -2012-01-25 17:35 robert - - * src/osgViewer/GraphicsWindowX11.cpp: From J.P. Delport, - "GraphicsWindowX11 typo, I believe X/Y's should match." - -2012-01-25 17:31 robert - - * src/osg/State.cpp: From Luc Frauciel, "Ati FirePro is as much - crippled as other Ati drivers. - This patch add "FirePro" to the black list of renderers in - State.cpp / initializeExtensionProcs - - It allows to avoid an OpenGL error on Viewer initialization. - Tested on FirePro M7740 / Windows7 x64 Driver 8.85.7.2" - -2012-01-25 15:38 robert - - * applications/present3D/present3D.cpp: Changed the - KeyEventToggleTexturing to 'e' to avoid conflict with 't' used - for transparency. - -2012-01-24 17:57 robert - - * applications/present3D/present3D.cpp: Made the cursor state - protected. - -2012-01-24 17:49 robert - - * src/osgViewer/GraphicsWindowCocoa.mm: From Tobias Ottenweller, - "this is a fix for the problem where all input freezes for a - quarter second when calling requestWarpPointer under Mac OS X - (described here: - http://forum.openscenegraph.org/viewtopic.php?t=3933 ). - - I used the latest version available via subversion. - - My fix is using some API only available on 10.4 and later. I used - some preprocessor statements to gain compatibility with 10.3 and - earlier using (now) deprecated API. - - Only tested on OS X Lion (10.7). Please do some testing as well - since I'm fairly new to OpenSceneGraph. Someone should also test - the code for 10.3 and earlier." - -2012-01-24 17:47 robert - - * src/osgViewer/GraphicsWindowCocoa.mm: Fixed indentation and - spaces at ends of lines. - -2012-01-24 17:40 robert - - * include/osg/ClipNode: From Paulk Martz, "Looks like the - ClipNode::setReferenceFrame comment block came from LightSource. - Fixing the comment block to refer to ClipNode instead of light - source." - -2012-01-24 17:38 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Chris Denham, fixed - type of parameters to ensure they are longs where appropriate. - -2012-01-24 17:30 robert - - * include/osgViewer/ViewerBase, src/osgViewer/ViewerBase.cpp: Moved - setEndBarrierOperation(..) implementation into .cpp and added - support for stoppig and starting threading if required. - -2012-01-24 17:21 robert - - * include/osgViewer/ViewerBase, src/osgViewer/ViewerBase.cpp: From - Paul Martz, Added ViewerBase::s/getEndBarrierOperation(..) method - to allow user control of how viewers are sync'd. - -2012-01-24 15:44 robert - - * src/osgPlugins/imageio/ReaderWriterImageIO.cpp: Fixed compile - error - -2012-01-24 14:34 robert - - * examples/osgphotoalbum/PhotoArchive.cpp, - examples/osgscreencapture/osgscreencapture.cpp, - examples/osgtexture2D/osgtexture2D.cpp, include/osg/Array, - include/osg/BufferObject, include/osg/Image, - include/osg/PrimitiveSet, src/osg/BufferObject.cpp, - src/osg/DrawPixels.cpp, src/osg/Image.cpp, src/osg/Texture.cpp, - src/osg/Texture1D.cpp, src/osg/Texture2DArray.cpp, - src/osg/Texture3D.cpp, src/osg/TextureRectangle.cpp, - src/osgDB/OutputStream.cpp, - src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/Inventor/ReaderWriterIV.cpp, - src/osgPlugins/bmp/ReaderWriterBMP.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/exr/ReaderWriterEXR.cpp, - src/osgPlugins/hdr/hdrwriter.cpp, src/osgPlugins/hdr/hdrwriter.h, - src/osgPlugins/imageio/ReaderWriterImageIO.cpp, - src/osgPlugins/ive/Image.cpp, - src/osgPlugins/jp2/ReaderWriterJP2.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/nvtt/NVTTImageProcessor.cpp, - src/osgPlugins/pov/ReaderWriterPOV.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp, - src/osgPlugins/tga/ReaderWriterTGA.cpp, - src/osgPlugins/xine/ReaderWriterXine.cpp, src/osgText/Glyph.cpp: - Added support for using GL_UNPACK_ROW_LENGTH in conjunction with - texture's + osg::Image via new RowLength - parameter in osg::Image. To support this Image::setData(..) now - has a new optional rowLength parameter which - defaults to 0, which provides the original behaviour, - Image::setRowLength(int) and int Image::getRowLength() are also - provided. - - With the introduction of RowLength support in osg::Image it is - now possible to create a sub image where - the t size of the image are smaller than the row length, useful - for when you have a large image on the CPU - and which to use a small portion of it on the GPU. However, when - these sub images are created the data - within the image is no longer contiguous so data access can no - longer assume that all the data is in - one block. The new method Image::isDataContiguous() enables the - user to check whether the data is contiguous, - and if not one can either access the data row by row using - Image::data(column,row,image) accessor, or use the - new Image::DataIterator for stepping through each block on memory - assocatied with the image. - - To support the possibility of non contiguous osg::Image usage of - image objects has had to be updated to - check DataContiguous and handle the case or use access via the - DataIerator or by row by row. To achieve - this a relatively large number of files has had to be modified, - in particular the texture classes and - image plugins that doing writing. - -2012-01-24 14:27 robert - - * include/osgPresentation/SlideShowConstructor, - src/osgPresentation/SlideShowConstructor.cpp: Refactored the - click_to_run implementation to avoid bug associated with running - the first click_to_run entry in a layer when - subsequent click to run's are called. - -2012-01-23 18:48 robert - - * src/osgPlugins/quicktime/MovieData.cpp, - src/osgPlugins/quicktime/MovieData.h, - src/osgPlugins/quicktime/QuicktimeImageStream.cpp, - src/osgPlugins/quicktime/QuicktimeImageStream.h: Changed float - QuicktimeImageStream::getCurrentTime() to double - QuicktimeImageStream::getCurrentTime() to keep it consistent with - the type of the virtual function ImageStream::getCurrentTime(), - and with this fixing a compile and runtime error. - - Changed time variables all to use doubles rather than float to be - consist with the change to getCurrentTime(). - -2012-01-05 14:07 robert - - * src/osgPlugins/ffmpeg/FFmpegHeaders.hpp: From Alberto Luacus, - "The ffmpeg plugin fails to compile with the upcoming libav 0.8 - because - the required header mathematics.h is not being included - explicitly. - - I have just included it, and verified that this also works with - current - version 0.7, since the header is also available there." - -2012-01-03 15:59 robert - - * src/osgPresentation/SlideEventHandler.cpp: Fixed the return value - of SlideEventHandler::selectLayer() so that the 'n' now works - correctly. - -2012-01-02 16:54 robert - - * src/osg/Sequence.cpp: From Farshid Lashkari, "Attached is a - simple fix to osg::Sequence that allows it to load properly with - the serializer formats (osgt/osgb). The problem was that the - internal _nrepsRemain member was not being initialized properly - if the number of repeats was equal to the default value of -1. - When the number of repeats is explicitly set using - setNumRepeats(), _nrepsRemain is set to the same value. However, - in the constructor of osg::Sequence, it was not being initialized - to the same value as _nreps. This fix simply changes the initial - value of _nrepsRemain to the same as _nreps." - -2012-01-02 16:38 robert - - * include/osgDB/Registry, src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/curl/ReaderWriterCURL.h: From Chris Denham, - Implementation of write functions in CURL plugin - -2011-12-23 17:40 robert - - * src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/VertexRecords.cpp: From Paul Martz and - David Glenn, - - "From David Glenn and Paul Martz. This change adds support for - the NO_COLOR bit in the Vertex records' flags field. If NO_COLOR - is set, and PACKED_COLOR is not set, the code will now properly - default to using the face color at those vertices. See the - osg-users thread "Open Flight characteristic not reflected in the - current OSG" for more info." - - and - - "In consultation with David Glenn, it appears we needed to change - a second file to correct how OpenFlight handles transparency when - vertices have NO_COLOR. " - -2011-12-23 17:34 robert - - * include/osgTerrain/Terrain, src/osgTerrain/Terrain.cpp: Gunnar - Holm, "After upgrading from 2.8.3 to 3.0.1 we experienced a lock - in the Mutex - functionality when using Terrain::setVerticalScale. This was - caused by - the following call sequence resulting in a lockup: - - void Terrain::setVerticalScale(float scale) - CALLS dirtyRegisteredTiles(); - - - void Terrain::dirtyRegisteredTiles(int dirtyMask) - SETS LOCK OpenThreads::ScopedLock - lock(_mutex); - and CALLS (on every tile) setDirtyMask(dirtyMask); - - - void TerrainTile::setDirtyMask(int dirtyMask) - CALLS _terrain->updateTerrainTileOnNextFrame(this); - - - void Terrain::updateTerrainTileOnNextFrame(TerrainTile* - terrainTile) - SETS LOCK OpenThreads::ScopedLock - lock(_mutex); - ******* PROBLEM - since lock has already been set! ******** - - - The suggested fix submitted changes from using Mutex to - ReentrantMutex. - " - -2011-12-23 17:21 robert - - * include/osgManipulator/Dragger, src/osgManipulator/Dragger.cpp: - From Aurelien Albert, "I made a modification in the Dragger class - : - - You can now set a "intersection mask" and it will be used when - looking for intersections. - - So you can now easily "hide" some objects from manipulators." - -2011-12-23 17:16 robert - - * src/osgPlugins/directshow/DirectShowTexture, - src/osgPlugins/directshow/DirectShowTexture.cpp: From Brad - Christiansen, "I have added an implementation for set/getVolume - in the direct show plug-in." - -2011-12-23 17:15 robert - - * src/osg/ClusterCullingCallback.cpp: From Glenn Waldron, "Attached - is a change to ClusterCullingCallback to make it work properly - under an RTT camera with an INHERIT_VIEWPOINT reference frame." - -2011-12-23 16:57 robert - - * src/osgViewer/GraphicsWindowCocoa.mm: From James Turner, "Testing - FlightGear with Cocoa osgViewer, encountered some problems with - hiding / re-showing the cursor. Attached version fixes this, by - tracking the current cursor value, and ensuring we don't nest - calls to [NSCursor hide] or [NSCursor unhide]." - -2011-12-23 16:29 robert - - * src/osgPlugins/mdl/MDLReader.cpp: From Ulrich Hertlein, "attached - is a patch for osgPlugins/mdl/MDLReader.cpp that improves its - functionality on - Unix filesystems. It also includes code cleanups/refactoring." - -2011-12-23 16:27 robert - - * include/osg/ImageStream, - src/osgPlugins/directshow/DirectShowTexture, - src/osgPlugins/directshow/DirectShowTexture.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.hpp: From Brad - Christiansen, "Attached are some small changes to the ImageStream - interface and the DirectShow and FFMPEG plugins to provide the - current time being displayed in the image stream. - I don’t have access to an OSX or Linux dev machine to make the - changes required to the quick time plugin. This plugin will just - default to returning 0." - -2011-12-23 16:14 robert - - * include/osg/Node, include/osg/Referenced: From Ulrich Hertlein, - typo fixes - -2011-12-23 12:42 robert - - * src/osgDB/OutputStream.cpp: Added handling of an empty filename - when writing out an image file. -2011-12-19 16:18 robert +Mon, 12 Jan 2015 10:30:50 +0000 +Checked in by : Robert Osfield +Added ability to populate a local vertex cache for when one computes final vertex position in a vertex shader but still want to the Primitive functors to work with the transformed positions.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14655 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/ImageUtils.cpp: Removed inappropriate static usage -2011-12-19 09:37 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 - * include/osg/ImageUtils, src/osg/ImageUtils.cpp, - src/osgParticle/PrecipitationEffect.cpp: Moved the - createSpotLightImage function into include/osg/ImageUtils + With the attached FFmpegDecoderAudio.cpp, audio sounds correctly. -2011-12-19 09:09 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. +" - * examples/osgshadow/osgshadow.cpp: Added --num-sm and - --parallel-split and --cascaded command line options to set the - appriopriate ViewDependentShadowMap settings. -2011-12-13 21:14 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14654 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgshaders/CMakeLists.txt, - examples/osgshaders/GL2Scene.cpp, examples/osgshaders/Noise.cpp, - examples/osgshaders/Noise.h: Moved osgshaders example across to - use the new osgUtil::PerlinNoise example -2011-12-13 21:12 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 - * include/osgUtil/PerlinNoise, src/osgUtil/CMakeLists.txt, - src/osgUtil/PerlinNoise.cpp: Created new PerlinNoise class from - the Noise.h+Noise.cpp code in the osgshaders example. -2011-11-30 19:14 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 - * examples/CMakeLists.txt: Fixed build under Tiny Core. -2011-11-25 12:48 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 - * src/osgShadow/ViewDependentShadowMap.cpp: To fix problems in - tight bound computation of the shadow map made the - ComputeLightSpaceBounds usage always used when the - CastShadowMask is active. Changed the ComputeLightSpaceBounds to - use just VIEW_FRUSTUM_CULLING. -2011-11-25 09:24 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 - * src/osgShadow/ViewDependentShadowMap.cpp: From Jean-Sebastien - Guay, fix for handling texture unit >= 8 and negative LigthNum. -2011-11-22 21:55 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 - * include/osgShadow/ShadowSettings, - include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ShadowSettings.cpp, - src/osgShadow/ViewDependentShadowMap.cpp: Added prelimanary - support for parallel split shadow maps into - ViewDependentShadowMap. -2011-11-18 08:20 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 - * examples/osgforest/osgforest.cpp: From Trajce Nikolov, "Here is - extended version of the osgforest example - technique with - geometry shader added, was doing it for a project so I thought - might be useful to update the example as well - " -2011-11-18 08:15 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 - * examples/osgforest/osgforest.cpp: Fixed indentation -2011-11-17 18:45 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 - * applications/present3D/present3D.cpp: Added .get() to fix build -2011-11-11 10:36 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 - * src/osgVolume/Shaders/volume_frag.cpp, - src/osgVolume/Shaders/volume_iso_frag.cpp, - src/osgVolume/Shaders/volume_lit_frag.cpp, - src/osgVolume/Shaders/volume_lit_tf_frag.cpp, - src/osgVolume/Shaders/volume_mip_frag.cpp, - src/osgVolume/Shaders/volume_tf_frag.cpp, - src/osgVolume/Shaders/volume_tf_iso_frag.cpp, - src/osgVolume/Shaders/volume_tf_mip_frag.cpp, - src/osgVolume/Shaders/volume_vert.cpp: Updated built in volume - shaders to honour the osg::Matierial setting -2011-11-11 10:25 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 - * src/osgVolume/RayTracedTechnique.cpp: Enabled blending for the - iso surface rendering to enable fade in/fade out of volume. -2011-11-10 15:50 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. - * src/osgVolume/Property.cpp: Added handling of - osgGA::GUIEventAdapter::getMouseYOrientation() in the orientation - of mouse y position. - - Added updating of properties on both mouse move/drag and keydown. -2011-11-07 14:36 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14640 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/Math: Added a check against OSX 10.6 to enable better - selection of when to provide custom cosf etc. definition. - This change has been introduced to address recurcsion problems in - 10.7 in the ac3d plugin. -2011-11-04 12:50 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. - * applications/present3D/ReadShowFile.cpp, - applications/present3D/present3D.cpp, - include/osgPresentation/SlideEventHandler, - src/osgPresentation/SlideEventHandler.cpp: Implement presentation - update feature that reloads the presentation on pressing 'u'. -2011-11-04 12:47 robert - * src/osgViewer/CompositeViewer.cpp, - src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/Viewer.cpp: - Improved the handling of setStartTick() being called mid app, - such as when idirectly called when doing a - Viewer::setSceneData(). - Improved the setting the the initial event state. -2011-11-04 12:45 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14639 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgGA/EventQueue, src/osgGA/EventQueue.cpp: Improved - handling of resetting of the EventQueue::startTick(). -2011-11-04 12:44 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. - * include/osgDB/Registry, src/osgDB/Registry.cpp: Added - removeFromObjectCache method. -2011-11-02 10:57 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14638 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgDB/Registry.cpp: Add check to filter out the return of - FILE_NOT_FOUND from archive results to prevent these from - prematurely exiting the Registry::read(..) method - bofore it loads plugins to try and load requested file. -2011-11-01 16:13 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 - * applications/present3D/present3D.cpp: Replaced the use of PrtScrn - with 'm' for taking screenshots, replaced the use of 'm' with 'M' - for taking movies. -2011-11-01 13:41 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 - * src/osgViewer/GraphicsWindowIOS.mm: From Stephan Huber, "A recent - commit - (https://github.com/openscenegraph/osg/commit/41e23f466d0749d0d9db7ca0b0ada996432a1ee1) - for GraphicWindowsIOS.mm broke the compilation for OpenGL ES 1.x - as - GL_DEPTH_COMPONENT32_OES is not defined for 1.x. I added a - #define-guard." -2011-11-01 13:36 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 - * applications/present3D/present3D.cpp: Added screen capture - handler to present3D, with the PrtScn button used for a single - frame capture and 'm' for continuous frame capture. - The --screenshot filename command line option can be used to - configure the name of the screen capture. -2011-11-01 11:08 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 - * src/osgVolume/Property.cpp: Added setting of the - sampleDensityWhenMovingProperty at the same time as when setting - the sampleDensityProperty -2011-11-01 10:30 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 - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Fixed the use - DCM_SeriesDescription -2011-11-01 10:27 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 - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Improved the handling - of multiple datasets being read at once, with all the images in a - series being group according to Series UID and SeriesDescription - and orientation. -2011-10-31 15:29 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 - * src/osgViewer/CompositeViewer.cpp: Adding missing checks against - View's Camera and SceneData for any update callbacks that need - calling. -2011-10-28 11:00 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 - * src/osgPlugins/cfg/ReaderWriterCFG.cpp: Changed the notification - level to INFO. -2011-10-28 11:00 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 - * src/osg/GraphicsContext.cpp: Changed the setting of - Traits::sampleBuffers so that it's set to 1 when - DisplaySettings::getMultiSamples() is set to a non zero value. -2011-10-28 10:36 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 - * src/osgPlugins/cfg/ReaderWriterCFG.cpp: Changed the default for - SampleBuffers to be 1 when set. -2011-10-28 09:45 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 - * src/osg/GraphicsContext.cpp: Removed OSX codepath for setting the - depth value to 32 as this turned out to be unneccesary. -2011-10-28 09:11 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 - * src/osgPlugins/cfg/ReaderWriterCFG.cpp, - src/osgPlugins/cfg/VisualChooser.cpp: Changed the default depth - to 24. -2011-10-27 16:33 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 - * src/osgVolume/Shaders/volume_iso_frag.cpp, - src/osgVolume/Shaders/volume_lit_frag.cpp, - src/osgVolume/Shaders/volume_lit_tf_frag.cpp, - src/osgVolume/Shaders/volume_tf_iso_frag.cpp, - src/osgVolume/Shaders/volume_vert.cpp: Updated volume shaders to - use the GL_LIGHT 0 values to control the direction of the light - source -2011-10-27 13:11 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 - * src/osgPresentation/SlideEventHandler.cpp: Reimplement the light - direction controls so that they now work correctly with - osgViewer::Viewer. - - Improved the computation of the light direction from - non-dimensional mouse coords so that they now project onto a - hemisphere making - the interaction more intuitive. -2011-10-27 09:24 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 - * src/osgDB/XmlParser.cpp: Added support for ignore returns as - white space. -2011-10-27 08: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 - * src/osgPlugins/vnc/ReaderWriterVNC.cpp: Added support for - American spelling of swap and add supportOptions(..) - documentation for the new options. -2011-10-26 14:25 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 - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/vnc/ReaderWriterVNC.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added support into - the .p3d format for specifying the osgDB::Options::OptionString - via the . - - Added support into .vnc plugin for passing in the keywords - "swap", "RGB", "RGBA", "BGR", "BGRA" as OptionString values to - allow .p3d presentations to control - whether the pixelformat should be swapped or set to a specific - format. -2011-10-26 12:48 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 - * applications/present3D/present3D.cpp, - include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added password - support into present3D's vnc support via the tag usage : hostname -2011-10-26 12:29 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." - * examples/osgvnc/osgvnc.cpp, - src/osgPlugins/vnc/ReaderWriterVNC.cpp: Added password support - into osgvnc example and vnc plugin -2011-10-26 09:34 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14613 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/vnc/ReaderWriterVNC.cpp: Implement a simply - attempt at detecting when the pixel format needs to be swapped. -2011-10-25 15:55 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 - * src/osgViewer/GraphicsWindowIOS.mm: Added support for 32bit depth - buffer -2011-10-25 15:31 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 - * src/osg/GraphicsContext.cpp: Added hack of using a 32bit depth - buffer default setting for Traits when compiling under Apple. -2011-10-24 13:40 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 - * applications/present3D/present3D.cpp: Moved switching off of the - cursor till after the slide event handler has had a chance to - switch off the scene. + With the attached FFmpegDecoderAudio.cpp, audio sounds correctly. -2011-10-24 11:09 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. - * src/osgPresentation/SlideEventHandler.cpp: Fixed handling of - slide with no layers. +" -2011-10-22 09:02 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. - * include/osgDB/DataTypes, include/osgDB/StreamOperator, - src/osgDB/CMakeLists.txt, src/osgDB/StreamOperator.cpp: Fixed - build of StreamOperator -2011-10-21 15:39 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14609 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/GLBeginEndAdapter, src/osg/ArrayDispatchers.cpp: - Fixed handling of Vec3dArray in - GLBeginEdnAdapter/ArrayDispatchers. -2011-10-21 11:00 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 - * src/osgPresentation/SlideShowConstructor.cpp: Added support for - using negative scale_x, scale_y and scale_z values in the - tag to allow presentations to flip the imagery -2011-10-21 10:59 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 - * include/osg/Image, src/osg/Image.cpp: Added flipDepth() method -2011-10-21 09:31 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 - * src/osgPresentation/SlideShowConstructor.cpp: Fixed handling of - scale.x, scale.y and scale.z paramters so that all of them now - take an effect. -2011-10-20 16:49 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 - * src/osgWrappers/deprecated-dotosg/osgVolume/PropertyAdjustmentCallback.cpp, - src/osgWrappers/serializers/osgVolume/Locator.cpp, - src/osgWrappers/serializers/osgVolume/PropertyAdjustmentCallback.cpp, - src/osgWrappers/serializers/osgVolume/VolumeTile.cpp: Fixed - handling of reading/writing of osgVolume::VolumeTile tiles -2011-10-20 16:35 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. - * include/osgDB/StreamOperator, src/osgDB/InputStream.cpp, - src/osgPlugins/osg/BinaryStreamOperator.h: Added support for - calling throwException() from InputIterator and added a check for - negative string sizes. -2011-10-20 11:50 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14604 16af8721-9629-0410-8352-f15c8da7e697 - * examples/CMakeLists.txt: Added check against build type to avoid - the build of the osgviewerWX example with debug build as this - fails with unresolved symbols within the internals of WxWidgets. -2011-10-20 10:52 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 - * CMakeLists.txt: From Ulrich Hertlein, fixed build problem due to - cmake_policy CMP0017 being only available from cmake-2.8.4, added - guard to prevent build problems -2011-10-20 09:23 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" - * CMakeLists.txt: Improved handling of recent Cmake versions -2011-10-20 08:59 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14602 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgvolume/osgvolume.cpp: Fixed typo in command line - output, and add an explanation message for when createTexture3D - fails to create an osg::Image from a list of input osg::Image. -2011-10-17 15:39 robert +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 - * src/osgShadow/ViewDependentShadowMap.cpp: Fixed typo -2011-10-17 14:41 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 - * include/osgUtil/CullVisitor, src/osgUtil/CullVisitor.cpp: - Improvements to the compute near/far -2011-10-17 14:40 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 - * include/osgShadow/ShadowSettings, - src/osgShadow/ShadowSettings.cpp, - src/osgShadow/ViewDependentShadowMap.cpp: Improvements to - osgShadow::ViewDependentShadowMap and ShadowSettings -2011-10-17 11:12 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 - * examples/osgshadow/osgshadow.cpp: Quitened down debug message -2011-10-17 10:25 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 - * examples/osgshadow/osgshadow.cpp: From Jean-Sebastien Guay, add - --mapres size option to ViewDependentShadowMap settings. -2011-10-03 15:57 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 - * src/osgShadow/ViewDependentShadowMap.cpp: Add catch for when - shadows are enabled between the update and draw traversals. -2011-10-03 15:25 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 - * src/osgShadow/ViewDependentShadowMap.cpp: From Jean-Sebastien - Guay, changed the border colour for the shadow map to be 1 rather - the 0 used for debugging so that areas outside the shadow map - default to being unshadowed rather than shadowed. - changed the shadow map texture assigment to StateSet so that it - doesn't use OVERRIDE, enabling subgraphs to use the same texture - unit for other textures if they so required. - tidied up indentation. -2011-10-03 14:57 robert +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 - * src/osgPlugins/freetype/FreeTypeFont.cpp: Changed getVertical(..) - so it uses the same coord scale as the getGlyph -2011-10-03 14:56 robert +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 - * src/osgShadow/ViewDependentShadowMap.cpp: Fixed handling of - ShadowSetting LightNum -2011-10-03 10:36 robert +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 - * include/osgText/Font, src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h: Added - Font::getVertical(float& ascender, float& descender) methods. -2011-09-28 11:52 robert +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 - * src/osgUtil/Tessellator.cpp: Added catch for NaN vertices that - were being generated by osgText, these NaN vertices were causing - glu tesselation functions to crash. -2011-09-28 10:54 robert +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 - * src/osgShadow/ViewDependentShadowMap.cpp: Added computation of - the extents, in light space, of the shadow maps RenderStage - contents and use of this to produce a tighter bound light space - projection. -2011-09-20 11:46 robert +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 - * src/osgPresentation/PickEventHandler.cpp: Added a half second - sleep after calling system command when the command is run in the - background so - that this command has a chance to run and open a window before - the calling present3D moves on to the next frame. -2011-09-20 10:59 robert +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 - * src/osgPlugins/p3d/ReaderWriterP3D.cpp: Added better error - reporting and handling when tag contents are not valid. -2011-09-20 10:01 robert +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 - * src/osgDB/XmlParser.cpp: Added handling of tag and - "" options. -2011-09-19 10:42 robert +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 - * src/osgViewer/GraphicsWindowCocoa.mm: From Ulrich Hertlein, - "attached is a patch that cleans up compiler warnings and common - functionality." -2011-09-19 10:39 robert +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 - * src/osgViewer/GraphicsWindowWin32.cpp: From Wojciech Lewandowski, - "There was a bug in reading modifier keys when focus to - GraphicsWindowWin32 was restored. Handler of WM_SETFOCUS was - reading pressed keys and sending WM_KEYDOWN messages to fill - initial keyboard state. But WM_KEYDOWN messages sent had 0 on - lParam and adaptKey method computing state of modifier mask was - using lParam to find which modifier keys are down. Obviously when - lParam was 0 it was not recording proper modifier masks. - - This patch fixes this code sending proper lParam and also makes - sure LEFT_CONTROL will be not confused with RIGHT_CONTROL." - -2011-09-19 10:34 robert - - * include/osg/LOD, include/osg/ProxyNode, src/osg/LOD.cpp, - src/osg/ProxyNode.cpp, src/osgPlugins/dae/daeWSceneObjects.cpp, - src/osgWrappers/serializers/osg/LOD.cpp, - src/osgWrappers/serializers/osg/ProxyNode.cpp: From Luc Frauciel, - "You'll find attached a new option that allow, when using LOD in - USER_DEFINED_CENTER mode to expand the radius of the node by the - radius of loaded objets. - Motivation ; - When using PagedLODs, you don't always know the real size of - loaded children, - If it occurs that they are out of predefined bounds, picking on - the parts that are out of bound will fail - They also can be culled out too soon. - The problem often occurs with long object (roads). - I've modified LOD and ProxyNode to include this option." - - and later email: - - "Attached the UNION_OF_BOUNDING_SPHERE_AND_USER_DEFINED version - There are impacts on some serializers (dae, osgWrapper). - I haven't modified deprecated osg, since it's deprecated" - -2011-09-19 10:12 robert - - * src/osg/Program.cpp: Added removal of [..] from names returned - from glGetActiveUniform results to avoid issues with name lookups - when the driver add the [..] for uniform arrays. - -2011-09-19 09:44 robert - - * src/osgPlugins/revisions/ReaderWriterRevisions.cpp: Copya and - Paste Anti-Pattern strikes again! Renamed FreeType usage to - Revisions to correct previous mistake when copying and modifying - the ReaderWriter. - -2011-09-14 10:45 robert - - * examples/osgviewerWX/osgviewerWX.cpp: Fixed memory leak - -2011-09-14 10:22 robert - - * include/osg/Node: Added missing forward declaration - -2011-09-14 10:02 robert - - * include/osg/Camera, include/osg/Node: Added asCamera() methods - into osg::Camera and osg::Node - -2011-09-14 09:49 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegHeaders.hpp: From Laurens Voerman, - "attached is a zipped - OpenSceneGraph\src\osgPlugins\ffmpeg\FFmpegDecoderAudio.cpp - - It solves a wrong sample format being set for audiostreams type - S32 and F32, for the - enum AVSampleFormat (in include/avutil/samplefmt.h) doesn't match - enum SampleFormat (in include/osg/AudioStream) for anything but - SAMPLE_FORMAT_U8 and SAMPLE_FORMAT_S16 - " - - and follow up that address versioning issue - - "I can find the change, avutil version 50.38.0 introduced a new - header file: - libavutil/samplefmt.h - older versions use - libavcodec/avcodec.h - with the sampleformats without AV_ - - an intermideate fix with the FF_API_OLD_SAMPLE_FMT is removed - from ffmpeg 0.8.3 so - I think this is the correct fix: - - #if LIBAVUTIL_VERSION_INT < AV_VERSION_INT(50,38,0) - #define AV_SAMPLE_FMT_NONE SAMPLE_FMT_NONE - #define AV_SAMPLE_FMT_U8 SAMPLE_FMT_U8 - #define AV_SAMPLE_FMT_S16 SAMPLE_FMT_S16 - #define AV_SAMPLE_FMT_S32 SAMPLE_FMT_S32 - #define AV_SAMPLE_FMT_FLT SAMPLE_FMT_FLT - #define AV_SAMPLE_FMT_DBL SAMPLE_FMT_DBL - #define AV_SAMPLE_FMT_NB SAMPLE_FMT_NB - #endif - " - -2011-09-13 13:38 robert - - * include/osg/OcclusionQueryNode, src/osg/OcclusionQueryNode.cpp: - From Morten Hauknes, "I have been using the - getLastVisiblePixelCount on pre 3.0 osg. I believe maybe this was - a private function that we made public in our side. I use(d) this - method to make a simple algorithm to tell how much visible an - object was in percent. - - So with the 3.0 api change we propose the following change: - - put OSG_EXPORT on the QueryGeometry class so that we get access - to the getNumPixels method. - - Create a function called getQueryGeometry that returns a casted - _queryGeode->getDrawable(). Or a function called getQueryGeode - that returns _queryGeode." - -2011-09-13 13:33 robert - - * examples/CMakeLists.txt: From Jean-Sebastien Guay, removed - unneccessary BUILD_QT_EXAMPLES cmake option - -2011-09-13 11:48 robert - - * src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgPlugins/osg/ReaderWriterOSG2.cpp, - src/osgPlugins/osg/XmlStreamOperator.h: From Sukender, "I just - fount that writing double precision values (eg. Vec3dArray for - vertices) works with .osg but not .osgt/.osgx. So here is the fix - (SVN trunk r12712). I suppose .osgb works as expected on this - point and did not change anything. - So, as for .osg, if you add "precision 16" (for instance) to the - optionString, then you'll get double precision vertices written - correctly. - " - -2011-09-13 11:09 robert - - * include/osg/GraphicsContext, include/osgQt/GraphicsWindowQt, - src/osgQt/GraphicsWindowQt.cpp: From Robert Milharcic, "This will - hopefully fix some issues with osgQt, more precisely with - GLWidget event handling. There are at least two current GL - context braking events, QEvent::Hide and QEvent::ParentChange. - When running in a multithreaded mode they both try to change - current GL context in a wrong thread (main GUI thread). The - QEvent::ParentChange is also problematic when running in a single - threaded model because Qt is going to release current contex then - delete it, and then it will create new one, and as a result the - osg will continue to render to an invalid deleted context. This - changes workaround above problems by deferring execution of the - problematic evens. These events has to be enqueued and executed - later. The enqueued event processing is currently done right - after swap in a swapBuffersImplementation of GraphicsWindowQt - while code is running in a render thread by calling QGLWidget - handler directly. In principle the deferred events queue should - be executed while in GUI thread but I couldn't find any reliable - way to do this, that is without risking a deadlock. For now it is - assumed, Qt is not going to execute any GUI thread only - operations inside the QGLWidget handler." - -2011-09-13 10:15 robert - - * src/osgUtil/CullVisitor.cpp: From Farshid Lashkari, " - The osgUtil::CullVisitor class will display an OSG_INFO - notification when attempting to clamp the projection matrix with - invalid near/var values. This usually appears when the scene - graph is empty or all objects are culled. I don't think this - scenario warrants having this message appear every frame. It - makes it very difficult to debug other issues when this - notification floods the output window. - - I'd prefer to have the notification removed, but there might be - legitimate cases where you want this displayed. Instead, I just - disabled the output if the near/far values are equal to FLT_MAX - (their initial values). This should at least prevent the - notification for the common case where everything was culled." - -2011-09-13 09:59 robert - - * include/osg/CullSettings, include/osg/CullingSet, - src/osg/CullingSet.cpp: From Paul Martz, "Here's my proposed - change regarding the osg-users post "small feature culling - threshold". I've updated the comments and brought the default - values into agreement, but didn't bother to add the environment - variable support." - -2011-09-13 09:53 robert - - * CMakeLists.txt: From Jean-Sebastien Guay, "I added a simple - setting in OSG's CMakeLists.txt to be able to disable building - anything related to Qt. It just skips the FindPackage(...) for - Qt3 and Qt4, so since they are not found nothing related to Qt - will be generated by CMake. The default is to build the Qt - related stuff, so current behavior is unchanged." - -2011-09-13 09:46 robert - - * src/osg/Image.cpp: From Sukender, "I added a tiny check to avoid - an integer divide-by-zero, when image is invalid (ie. all values - are 0)." - -2011-09-13 09:43 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Sukender, "I added a - crash-guard against corrupted 3DS files, having faces indexes out - of the range of existing vertices." - -2011-09-13 09:21 robert - - * src/osgText/Text.cpp: From Farshild Lashkari, "Attached is a - simple patch that avoids the depth write pass in - Text::renderWithDelayedDepthWrites if the current osg::State - object has GL_DEPTH_TEST disabled." - -2011-09-13 09:17 robert - - * src/osgDB/FileUtils.cpp: Reverted Paul Idstein warning fix as - this was breaking the build - -2011-09-12 16:24 robert - - * src/osgViewer/DarwinUtils.mm: From Ulrich Hertlein, Added some - error checks and memory cleanup. - -2011-09-12 16:20 robert - - * src/osgViewer/DarwinUtils.mm: From Stephan Huber, fixed build for - OSX 10.6 and earlier - -2011-09-12 16:17 robert - - * include/osg/BufferObject: From Johannes Baeuerle, opptimization - of ES support of osg/BufferObject - -2011-09-12 12:38 robert - - * include/osgViewer/ViewerEventHandlers: From Bjorn Blissing, - "Found a minor (probably a copy & paste) bug in - ViewerEventHandlers. - Line 251: - int getKeyEventWindowedResolutionDown() const { return - _keyEventWindowedResolutionUp; } - - Should be replaced with: - int getKeyEventWindowedResolutionDown() const { return - _keyEventWindowedResolutionDown; }" - -2011-09-12 12:26 robert - - * src/osgUtil/DelaunayTriangulator.cpp: From Luc Frauciel, "When - osgUtil::DelaunayTriangulator triangulate() function ends with no - triangle generated, it crashes. - This patch fixes that" - -2011-09-12 12:14 robert - - * include/osgUtil/SceneView, include/osgViewer/View: From Magnus - Kessler, documentation fixes - -2011-09-12 12:04 robert - - * include/osg/GraphicsContext: Improved the clarity of doxygen - comments - -2011-09-12 11:51 robert - - * include/osgUtil/SceneView: Fixed typos in the documentation - -2011-09-12 11:28 robert - - * src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeRSceneObjects.cpp, - src/osgPlugins/dae/daeReader.cpp: From Cedric Pinson, from three - submissions: - - "Here a patch that correct like the previous assign collada - material name - to stateset." - - and - - "I changed how the collada reader set object name in osg. Current - implementation use collada ID to setup name. with this patch I - use - collada name to setup name in osg object and if collada provide - no name - I use as fallback ID. I am not sure we want this fallback. - - The motivation of this change is that when an artist set names to - its - objects and export to collada, I am not able to use those names - in osg - to retrieve the node." - - and - - "Here the update of the file that fix the light id stuff" -2011-09-12 11:24 robert +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 - * src/osgViewer/DarwinUtils.mm: From Bob Kuehne, build fix for OSX - 10.7 SDK. -2011-09-12 11:24 robert +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 - * src/osgDB/FileUtils.cpp, - src/osgPlugins/imageio/ReaderWriterImageIO.cpp: From Paul - Idstein, warning fixes for OSX 10.7 -2011-09-12 10:52 robert +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 - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/View.cpp: From - Magnus Kessler, typo fixes -2011-09-12 10:47 robert +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 - * examples/osgviewerMFC/MFC_OSG.cpp, - examples/osgviewerMFC/MFC_OSG.h, - examples/osgviewerMFC/MFC_OSG_MDIView.cpp, - examples/osgviewerMFC/MFC_OSG_MDIView.h: From Wang Rui, "I've - encountered a strange problem that osgviewerMFC doesn't work well - with the StatsHandler. When the 's' key is pressed, the rendering - window will be halted. I tried solving the problem by commenting - a - line in CMFC_OSG_MDIView::OnKeyDown() and it seems to work now. - - Another improvement here is to use a thread class derived from - OpenThreads to replace the old _beginthread(). It helps a lot in - keeping a high frame rate when you open more than one MDI child - windows. And the application using OpenThreads in my opinion will - be - more compatible and portable." -2011-09-12 10:46 robert +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 - * CMakeLists.txt, include/osg/Version: Updated SO version number to - 90 to allow for recent changes to the ABI, and to set the base - for the 3.1.0 series. -2011-09-12 10:43 robert +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 - * include/osg/ValueObject: From Sukender, "I added private - constructors to osg::ValueObject & TemplatedValueObject, to avoid - allocation on the stack and ugly things like: - TemplatedValueObject value(....); - container->addUserObject(value);" -2011-09-07 20:05 robert +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 - * include/osgShadow/ShadowSettings, - src/osgShadow/ShadowSettings.cpp, - src/osgShadow/ViewDependentShadowMap.cpp: Added handling the - ShadowSettings::LightNum for selecting which light to use. -2011-09-07 16:26 robert +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 - * src/osgShadow/ViewDependentShadowMap.cpp: Added handling of the - case when RenderLeaf::_modelview matrix is NULL, such as when - LightPointNode is used in the scene graph. -2011-09-07 15:55 robert +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 - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ShadowSettings, - include/osgShadow/ShadowTechnique, - include/osgShadow/ShadowedScene, - include/osgShadow/ViewDependentShadowMap, - src/osgShadow/CMakeLists.txt, src/osgShadow/ShadowSettings.cpp, - src/osgShadow/ShadowedScene.cpp, - src/osgShadow/ViewDependentShadowMap.cpp: Moved - ViewDependetShadowMap parameter settings into a dedicated - ShadowSettings object in prep for making it possible to scale the - API to handle multiple lights and multiple shadow maps per light. -2011-09-06 17:26 robert +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 - * src/osgShadow/ViewDependentShadowMap.cpp: Added setting of the - shadow map Camera's name to "ShadowCamera" to improve integration - with osgOcean. -2011-09-06 14:13 robert +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 - * examples/osgshadow/osgshadow.cpp: Added optimization of the - mutliple cessna shadow model to address peformance issues when - rendering 100 cessna's. -2011-09-06 11:42 robert +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 - * examples/osgshadow/osgshadow.cpp: Added -5 model option using - Wang Rui's test demo as a base -2011-09-06 11:11 robert +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 - * examples/osgshadow/IslandScene.cpp: Fixed the heights of the - trees and houses -2011-09-06 10:12 robert +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 - * include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Added - s/getPerspectiveShadowMapCutOffAngle() and use of this when - setting up light space to avoid sigularaties when - the light and view directions are co-incident. -2011-09-05 12:36 robert +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 - * include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Added support for - setting whether ViewDependentShadowMap should provide it's own - vertex and fragment shaders. -2011-09-05 12:27 robert +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 - * examples/osgshadow/CMakeLists.txt, - examples/osgshadow/IslandScene.cpp: Replaced use of ShapeDrawable - with osgTerrain for the terrain tile -2011-09-02 10:16 robert +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 - * include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Added - s/getTextureSize() method for setting the shadow map texture - size. -2011-09-02 07:46 robert +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 - * src/osgShadow/ViewDependentShadowMap.cpp: Disabled the use of the - ReceivesShadowTraversalMask() mask -2011-09-01 18:49 robert +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 - * src/osgShadow/ViewDependentShadowMap.cpp: Added test line for - COMPUTE_NEAR_USING_PRIMITIVES -2011-09-01 18:48 robert +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 - * include/osg/CullSettings, include/osgUtil/CullVisitor, - src/osgUtil/CullVisitor.cpp: Added fine grained computation of - the far plane when using the COMPUTE_NEAR_FAR_USING_PRIMITIVES - ComputeNearFarMode. - Added COMPUTE_NEAR_FAR_USING_PRIMITIVES option that provides the - original functionality where only the near plane - is computed in a fine grained way, with the far plane being - computed simply from bound volumes. -2011-08-29 16:01 robert +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 - * src/osgShadow/ViewDependentShadowMap.cpp: From Tony Horrobin, - build fix -2011-08-29 10:26 robert +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. - * include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Added fallback base - texture -2011-08-29 09:59 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14560 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Added support for - setting the MinimumShadowMapNearFarRatio. -2011-08-26 15:40 robert +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 - * src/osgShadow/ViewDependentShadowMap.cpp: Fixed bug in computaton - of the min/max x/z ratios. -2011-08-26 15:36 robert +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. - * examples/osgshadow/osgshadow.cpp: Added names to models to help - with debugging. -2011-08-26 10:52 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14557 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgShadow/ShadowedScene, - include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ShadowedScene.cpp, - src/osgShadow/ViewDependentShadowMap.cpp: Added - releaseGLObjects/resizeGLObjectBuffers support -2011-08-25 17:21 robert +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 - * include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Improved the handling - of depth partitioning and orthographic datasets -2011-08-25 15:39 robert +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 - * examples/osgshadow/osgshadow.cpp: Added event handling for - toggling on/off the light source animation. -2011-08-24 19:38 robert +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 - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Added support for user - defined setting of the shadow texture unit -2011-08-24 13:57 robert +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 - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Changed new - ViewDependentShadowMap to default to a perspective shadow map - with automatic detection of a spot light/perspetive light - projection - matrix to prevent inappropriate usage of perspective shadow map. -2011-08-24 12:32 robert +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 - * src/osgShadow/ViewDependentShadowMap.cpp: Imorovements to the new - perspective/lispsm style shadow implementation. -2011-08-24 12:31 robert +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 - * src/osgUtil/CullVisitor.cpp: Quitened down and fixed warning -2011-08-19 12:42 robert +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 - * include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Quitended down debug - messages and added passing of RenderStage to LispSM code -2011-08-19 10:43 robert +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 - * src/osgShadow/ViewDependentShadowMap.cpp: Improved the LispSM - computation -2011-08-19 10:43 robert +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 - * src/osgUtil/CullVisitor.cpp: Changed the local variable near/far - type -2011-08-17 17:06 robert +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 - * src/osgShadow/ViewDependentShadowMap.cpp: Added back in control - of the backface culling. -2011-08-17 16:09 robert +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 - * include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: intermin check-in of - work on new LispSM implementation -2011-08-15 14:37 robert +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 - * src/osg/FrameStamp.cpp: Added missing assignement of - _simulationTime. -2011-08-13 19:09 robert +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 - * src/osgShadow/ViewDependentShadowMap.cpp: From Paul Martz, - "Recent changes to osgShadow on trunk were apparently not yet - tested with ref_ptr implicit casting disabled. Attached is a fix. - " -2011-08-12 20:29 robert +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 - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Added public interface - for selecting use of perspective and light space perspective - shadow maps. Implementation - of backends not implemented yet so will follow. -2011-08-12 14:53 robert +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 - * include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Implemented first pass - at shaders for new ViewDepedentShadow map class -2011-08-09 15:57 robert +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 - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Implemented - ViewDependentShadowMap::setDebugDraw(bool) to allow osgshadow to - enable/disable the debug display via the - standard --debugHUD option. -2011-08-09 15:20 robert +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 - * src/osgShadow/ViewDependentShadowMap.cpp: Changed RTT Camera to - use depth. -2011-08-09 13:39 robert +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) - * include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Implemented caching of - Camera, Texture and TexGen + SET(OSG_OSX_SDK_NAME "macosx${MACOS_VERSION_MAJOR}.${MACOS_VERSION_MINOR}") -2011-08-09 06:54 robert +Also i added the check for the new Version to some more find scripts. - * include/osgShadow/ViewDependentShadowMap, - include/osgUtil/StateGraph, - src/osgShadow/ViewDependentShadowMap.cpp: Added replacement of - the placeholder StateSet in the StateGraph with custom StateSet - implemented just for the - needs of that particular frame. +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. +" -2011-08-08 17:00 robert - * include/osg/Polytope, include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Further work on basic - ViewDependentShadowMaps, adding implementation of RTT camera and - texgen setup. +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14527 16af8721-9629-0410-8352-f15c8da7e697 -2011-08-07 15:54 robert - * examples/osgshadow/osgshadow.cpp: From Jean-Sebestien Guay and - Robert Osfield, mixture of two sets of change - one from JS that - adds more controls for specifying positional and spot lights, and - from RO adding support for the new ViewDepedentShadowMap +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 -2011-08-07 15:51 robert - * include/osgShadow/ViewDependentShadowMap, - src/osgShadow/CMakeLists.txt, - src/osgShadow/ViewDependentShadowMap.cpp: Preliminary work on new - ViewDependentShadowMap base class +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 -2011-07-29 11:22 robert - * src/osgShadow/StandardShadowMap.cpp: Commented out the - colorAmbientEmissive += gl_FrontLightProduct[0].ambient; line - from the fragment shader as it was - causing problems with the shadowed region being sporadically lit - when using a spotlight. +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 -2011-07-29 07:42 robert - * src/osgViewer/ViewerEventHandlers.cpp: Fixed comment on end - barrier position. +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/ -2011-07-28 16:40 robert +it gets substituted as - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Improved handling of - the scaling of dicom imagery. +/usr/x86_64-1-gnu/ -2011-07-28 12:07 robert +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). - * src/osgViewer/GraphicsWindowX11.cpp: Refectored the EGL setup so - that it's honours the Traits values. +Quoting that path directly in CMake scripts solves that problem. +" -2011-07-28 11:05 robert - * src/osg/Texture.cpp, src/osgWrappers/serializers/osg/Texture.cpp: - Reverted the change to the default setting of - _resizeNonPowerOfTwoHint back to true for all platforms to ensure - the - same behaivour across platforms, something that can be achieved - now thanks to the integrated GLU library. - - Corrected the default of the ResizeNonPowerOfTwoHint to true to - reflect the actual default setting set by the - Texture default constructor. +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14522 16af8721-9629-0410-8352-f15c8da7e697 -2011-07-28 08:19 robert - * src/osgDB/ObjectWrapper.cpp: From Johannes Baeuerle, "in the file - src/osgDB/ObjectWrapper.cpp, where the GlobalLookupTable for gl - enums for serialization purposes is defined, some of the - compressed texture formats are missing. I added enums for the pvr - and etc formats." +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 -2011-07-28 07:46 robert - * src/osgViewer/View.cpp: From Jason Beverage, "Here is a small fix - for getCameraContainingPosition. getXMin was - being used in a case where getYMin should be used instead." - +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 -2011-07-25 17:07 robert - * src/osgViewer/Renderer.cpp: Fixed stats bug where not all stats - fields were being collected by the cull_draw() method used in the - SingleThreaded and CullDrawThreadPerContext threading models. +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 -2011-07-22 09:27 robert - * src/osg/Texture.cpp: From Alexander Irion, "Texture borders are - not supported in ES. - - _isTextureBorderClampSupported is set to "TRUE" in Texture.cpp, - because of the version number check (GL VERSION >= 1.3). - - This leads to an invalid enum error, when GL_TEXTURE_BORDER_COLOR - is tried to set. - " - -2011-07-22 08:25 robert - - * src/osgViewer/ViewerEventHandlers.cpp: In the - RecordCameraPathhandler fixed the handling of pressing 'Z' before - 'z' which was causing the view - to be reset to 0,0,0 by AnimationPathManipualtor with an empty - AnimationPath. +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 -2011-07-21 09:55 robert - * applications/osgversion/Contributors.cpp: Fixed typo +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 -2011-07-21 09:07 robert - * src/osgPlugins/vrml/ReaderWriterVRML2.cpp: From Mathias - Froehlich, "I have attached an updated version of the VRML2 - loader. - That change is the result of the '[osgPlugins] VRML plugin - - "file" url' - discussion on osg-users. - - The attached change avoids rewriting file names into some kind of - file urls - and then use the url for opening an fstream. Instead just use the - given file - name to open the stream. - Also this change adds some Notify output for the error paths. - " - -2011-07-21 08:52 robert - - * CMakeModules/FindFBX.cmake: From Wang Rui, "This fixes a small - problem in the FindFBX file. In CMake scripts, - VS2010 is not marked as MSVC100 but MSVC10. And CMake defines - MSVC_VERSION instead of MSVC_VER to indicate the version number. - The - modification can find fbx sdk for VS2010 automatically now. - " - -2011-07-20 10:17 robert - - * src/osgQt/GraphicsWindowQt.cpp: From Claus Scheiblauer, fixed - handling of horizontal mouse wheel events. - -2011-07-20 09:10 robert - - * src/osgText/TextBase.cpp: Introduced workaround for problem of - text that is scaled in screen coords, but hasn't been rendered - yet - so doesn't have knowledge of screen space yet, so assume that - scaling is 1 rather than 0 as was previously - assumed in the previous handling of screen space text. - -2011-07-18 12:41 robert - - * include/osgSim/ElevationSlice, include/osgSim/HeightAboveTerrain, - include/osgSim/LineOfSight: Added doxygen comments explaining - read file callback functionality. - -2011-07-18 09:40 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Changed the - HAVE_CONFIG_H guard so that it uses #ifndef _MSC_VER rather than - _WIN32 to avoid problems with Mingw and Cygwin builds of DCMTK. - -2011-07-17 16:24 robert - - * applications/osgarchive/osgarchive.cpp, - applications/osgfilecache/osgfilecache.cpp, - applications/present3D/Cluster.cpp, - examples/osganalysis/osganalysis.cpp, - examples/osgpagedlod/osgpagedlod.cpp, - examples/osgparticleeffects/osgparticleeffects.cpp, - examples/osgwidgetmenu/osgwidgetmenu.cpp, - src/osgPlugins/ogr/ReaderWriterOGR.cpp, - src/osgPlugins/quicktime/ReaderWriterQT.cpp, - src/osgPlugins/stl/ReaderWriterSTL.cpp, - src/osgPlugins/txp/trpage_header.cpp: From Alberto Luacas, typo - fixes - -2011-07-17 10:30 robert - - * src/osgPlugins/osg/AsciiStreamOperator.h: From Wang Rui, improved - the handling of the _preReadString within the readWrappedString - method by factoring the - reading of the next character into a dedicated getCharacter(..) - method. - -2011-07-15 10:24 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegParameters.cpp: From Wang Rui, "I've - found that the latest ffmpeg made some functions and macros - deprecated, which led to compilation errors in the OSG plugin. I - tried - fixing them and tested with the version ffmpeg-git-5d4fd1d - (ffmpeg - version > 0.8, libavcodec = 53.7.0) under Windows. - " - -2011-07-15 10:22 cedricpinson - - * include/osgAnimation/Sampler: Fix crash in osgAnimation when - keyframe container are empty - -2011-07-15 09:47 robert +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 - * include/osg/ValueObject: From Sukender, Fix for compile errors - "public: static char const * const - osg::ValueObjectClassNameTrait< xxx >::s_className" already - defined in xxx.obj" - -2011-07-15 09:14 robert - - * src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgWrappers/serializers/osgSim/LightPointNode.cpp, - src/osgWrappers/serializers/osgSim/MultiSwitch.cpp: From Wang - Rui,"The files attached should be separately put into the - directories - src/osgPlugins/osg and src/osgWrappers/serializers/osgSim. They - fix a - serious infinite loop problem that may be caused by the stream - buffer - mechanism under Windows and some osgSim wrapper bugs pointed by - Andreas. I've asked the community to help test them and hope now - we - can solve these recent .osgt file reading issues." -2011-07-15 08:43 robert +Fri, 21 Nov 2014 10:37:33 +0000 +Checked in by : Robert Osfield +From Rafa Gaitan, "I finally had some time to change the build system for Android using a Toolchain, which, I think, will be easier to maintain and uses cmake standard system to build it.My changes: +------------------- +- I changed the cmake files and added a toolchain for building OSG in Android. The toolchain is based on the one used at OpenCV. For building OSG for android you just need to do: - * src/osgPlugins/Inventor/ConvertToInventor.h: From Ryan Pavlik, - "Fix inventor state copy constructor. - - Clang warning: - In file included from - src/osgPlugins/Inventor/ConvertToInventor.cpp:80: - src/osgPlugins/Inventor/ConvertToInventor.h:117:71: warning: - field is uninitialized when used here [-Wuninitialized] - osgTexGenS(s.osgTexGenS), osgTexGenT(s.osgTexGenT), - osgTexGen(osgTexGen), - ^" + mkdir build_android_static_gles2 && cd build_android_static_gles2 + cmake .. -DANDROID_NDK= + -DCMAKE_TOOLCHAIN_FILE=../PlatformSpecifics/Android/android.toolchain.cmake + -DOPENGL_PROFILE="GLES2" + -DDYNAMIC_OPENTHREADS=OFF + -DDYNAMIC_OPENSCENEGRAPH=OFF + -DANDROID_NATIVE_API_LEVEL=15 # optional + -DANDROID_ABI=armeabim #optional + -DCMAKE_INSTALL_PREFIX= #optional +make -j 8 +make install -2011-07-15 08:32 robert + The OPENGL_PROFILE works as expected, changing it to "GLES1" it builds and links OSG using GLES1. + The DYNAMIC_OPENTHREADS/DYNAMIC_OPENSCENEGRAPH parameters also allows to build the dynamic libraries - * src/osgPlugins/imageio/ReaderWriterImageIO_IOS.cpp: From Philip - Lamp, submitted by Stephan Huber, "Modify the - ReaderWriteImageIO_IOS to correctly handle relative paths - when reading from a file. This means that no longer do all image - files - have to live at the root of the Resources folder inside the app - bundle, - but can now be organized inside folders. Also improved error - handling - and fixed a potential leak of a CGColorSpaceRef each once per - image load." +- I also added some build fixes for android related to the texture formats and added some missing USE_OSG_SERIALIZER_WRAPPER in the osg serializer library to support loading osgb files in static." -2011-07-15 08:16 robert - * src/osgPlugins/imageio/ReaderWriterImageIO.cpp, - src/osgPlugins/imageio/ReaderWriterImageIO_IOS.cpp: Converted - tabs to four spaces +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14514 16af8721-9629-0410-8352-f15c8da7e697 -2011-06-28 07:54 robert - * NEWS.txt, README.txt, applications/osgversion/Contributors.cpp: - Merged the OSG-3.0 branch versions of into svn/trunk. +Fri, 21 Nov 2014 10:21:46 +0000 +Checked in by : Robert Osfield +From Björn Blissing, fix for ambiguous defines in Atomic.cpp when compiling with MinGW and GCCgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14513 16af8721-9629-0410-8352-f15c8da7e697 -2011-06-28 07:23 robert - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Added #if lib curl - version check around #include as this header was - deprecated and now - removed entirely from libcurl-7.21.7. +Thu, 20 Nov 2014 17:37:52 +0000 +Checked in by : Robert Osfield +From Claus Steuer, "XCode 6, IOs 8.1 SDK Compile fix : There are some undefined texture formats when compiling osg for IOs 8.1 with XCode 6 and OpenGLES2 enabled."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14510 16af8721-9629-0410-8352-f15c8da7e697 -2011-06-28 07:22 robert - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Wang Rui, "I've - found a small problem which causes crashes in the 3ds plugin - while trying to load a model. The fix here will ensure that the - texture map is valid and everything could work well then." +Thu, 20 Nov 2014 17:00:14 +0000 +Checked in by : Robert Osfield +From Pjotr Svetachov, "I was experimenting with VBO's to try to get them on par with display lists when drawing lots of batches and noticed that my program generated a lot of unneeded glClientActiveTexture calls. Digging deeper I found out it came from State::disableTexCoordPointer where the function would call glClientActiveTexture but not glDisableClientState because the geometry didn't have texture coordinates for that channel. This is because in our scene there are some geometries that have move than one uv channels making State::_texCoordArrayList grow. Then the method State::applyDisablingOfVertexAttributes() will call disableTexCoordPointer multiple times.I rearrange the method a little to combat this. Now the logic has the +same ordering as disableTexCoordPointersAboveAndIncluding which +already combats this." -2011-06-27 21:33 robert - * src/osgPlugins/osg/AsciiStreamOperator.h: Tweaked the comments +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14508 16af8721-9629-0410-8352-f15c8da7e697 -2011-06-27 21:32 robert - * src/osgPlugins/osg/AsciiStreamOperator.h: From Jean-Sebestien - Guay, workaround for bug under windows with the seek - implementation when handling ascii files with unix file endings. +Thu, 20 Nov 2014 16:38:23 +0000 +Checked in by : Robert Osfield +From Farshid Lashkari, "The obj loader was overriding the existing database path list with the file path of the model, instead of prepending the file path to the path list. The latter seems to be more common behavior for most of the existing loader plugins. Also, the local options weren't actually being used when processing the scene graph for textures. I've attached the fix for both issues."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14507 16af8721-9629-0410-8352-f15c8da7e697 -2011-06-27 15:43 robert - * NEWS.txt, applications/osgversion/Contributors.cpp: Updated NEWS - and fixed typo in Contributors. +Thu, 20 Nov 2014 10:52:24 +0000 +Checked in by : Robert Osfield +From Marc Helbling, "here is a trivial fix in the Inventor plugin. In one code path, the pointer validity is checked after dereferencing a pointer that can be null (image->valid()) instead of calling ref_ptr::valid (image.valid())."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14505 16af8721-9629-0410-8352-f15c8da7e697 -2011-06-27 10:20 robert - * include/osg/State: Fixed typo +Thu, 20 Nov 2014 10:45:05 +0000 +Checked in by : Robert Osfield +From Marc Helbling, "I've come across scenes that contains geometries with initialized but empty vertex arrays and primitives and that would make some optimizers crash.The submission therefore only contains a test on the size of the vertex array for the VertexCacheMissVisitor and the VertexAccessOrderVisitor visitors." -2011-06-27 10:19 robert - * include/osg/State: Improved the setContextID doxygen comment. +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14503 16af8721-9629-0410-8352-f15c8da7e697 -2011-06-25 20:51 robert - - * src/osgPlugins/pnm/ReaderWriterPNM.cpp: From Andreas Eskland, "I - found that a binary PNM file couldn't be read by the PNM plugin - in the 3.0 branch. Attached is a small fix in - ReaderWriterPNM.cpp, simply opening the file in binary mode." - -2011-06-25 11:00 robert - - * src/osg/Texture.cpp: Fixed memory growth issue when using - Texture2D::SubloadCallbacks that don't set the TextureObjects - sizes. - -2011-06-25 07:07 robert - - * examples/osganimationskinning/osganimationskinning.cpp: Tightened - up float usage. - -2011-06-24 19:17 robert - - * examples/osganimationskinning/osganimationskinning.cpp: Tightened - up the float/double usage - -2011-06-24 16:15 robert - - * src/osgPlugins/3ds/WriterNodeVisitor.cpp, - src/osgPlugins/ac/Geode.cpp: Removed redundent assert and - associated variables to fix warnings. - -2011-06-24 15:04 robert - - * src/osgPlugins/osga/OSGA_Archive.cpp: Implemented missing - writeShader - -2011-06-24 13:35 robert - - * src/osgSim/ShapeAttribute.cpp: From Martin Innus, fixed erroneous - change of INTEGER to UNKNOWN, reverting back to INTEGER. - -2011-06-24 12:40 robert - - * include/osgDB/Archive, include/osgDB/Registry, - src/osgDB/Registry.cpp, src/osgPlugins/osga/OSGA_Archive.cpp, - src/osgPlugins/osga/OSGA_Archive.h, - src/osgPlugins/zip/ZipArchive.cpp, - src/osgPlugins/zip/ZipArchive.h: Implemented missing - Archive::readShader/writeShader, and added searching of the - archive list in Registr::read() so that files - that are stored in the archives can be found. -2011-06-24 08:32 robert +Thu, 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 - * include/osgSim/ShapeAttribute, src/osgSim/ShapeAttribute.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_ShapeAttribute.cpp: - From Ulrich Hertlein, "While we're on osgSim/ShapeAttribute, - here's a fix that fixes the 'UNKNOW' typo and some - doxygen" - -2011-06-24 08:13 robert - - * src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgPlugins/osg/XmlStreamOperator.h: From Wang Rui, "I've - modified the code to handle -1.#IND and other kinds of infinite - values. Please see the attachments for details" - -2011-06-24 08:05 robert - - * include/osgSim/ShapeAttribute: Added operator ==, != and < to fix - VS build -2011-06-23 19:58 robert +Thu, 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 - * include/osgAnimation/Skeleton, - src/OpenThreads/pthreads/PThread.cpp, - src/osgAnimation/Skeleton.cpp, src/osgDB/ExternalFileWriter.cpp, - src/osgManipulator/Dragger.cpp: Fixed warnings generated by - clang, - - src/osgAnimation/Skeleton.cpp:25:87: warning: addition of default - argument on redeclaration makes this constructor a copy - constructor [-Wdefault-arg-special-member] - Skeleton::UpdateSkeleton::UpdateSkeleton(const UpdateSkeleton& - us, const osg::CopyOp& copyop= osg::CopyOp::SHALLOW_COPY) : - osg::Object(us, copyop), osg::NodeCallback(us, copyop) - - /src/OpenThreads/pthreads/PThread.cpp:1024:15: warning: - comparison of unsigned expression < 0 is always false - [-Wtautological-compare] - if (cpunum<0) return -1; - - src/osgDB/ExternalFileWriter.cpp:221:122: warning: expression - result unused [-Wunused-value] - _objects.insert(ObjectsSet::value_type(&obj, - ObjectData(absoluteDestinationPath, relativeDestinationPath, - written))).first; - - src/osgManipulator/Dragger.cpp:175:18: warning: using the result - of an assignment as a condition without parentheses - [-Wparentheses] - if (*itr = constraint) return; - - src/osgManipulator/Dragger.cpp:187:18: warning: using the result - of an assignment as a condition without parentheses - [-Wparentheses] - if (*itr = constraint) - -2011-06-23 18:24 robert - - * src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/ac/Geode.cpp, src/osgViewer/GraphicsWindowX11.cpp: - Warning fixes for: - - OpenSceneGraph/src/osgPlugins/Inventor/ConvertFromInventor.cpp: - In member function ?virtual SbBool - SoVRMLImageTextureOsg::readInstance(SoInput*, short unsigned - int)?: - OpenSceneGraph/src/osgPlugins/Inventor/ConvertFromInventor.cpp:1264:16: - warning: variable ?retval? set but not used - [-Wunused-but-set-variable] - OpenSceneGraph/src/osgPlugins/ac/Geode.cpp: In member function - ?void ac3d::Geode::ProcessGeometry(std::ostream&, unsigned int)?: - OpenSceneGraph/src/osgPlugins/ac/Geode.cpp:806:35: warning: - variable ?fRep_s? set but not used [-Wunused-but-set-variable] - OpenSceneGraph/src/osgPlugins/ac/Geode.cpp:806:43: warning: - variable ?fRep_t? set but not used [-Wunused-but-set-variable] - OpenSceneGraph/src/osgPlugins/ac/Geode.cpp:807:35: warning: - variable ?fOffset_s? set but not used [-Wunused-but-set-variable] - OpenSceneGraph/src/osgPlugins/ac/Geode.cpp:807:46: warning: - variable ?fOffset_t? set but not used [-Wunused-but-set-variable] - OpenSceneGraph/src/osgViewer/GraphicsWindowX11.cpp: In member - function ?virtual void - osgViewer::GraphicsWindowX11::checkEvents()?: - OpenSceneGraph/src/osgViewer/GraphicsWindowX11.cpp:1181:10: - warning: variable ?destroyWindowRequested? set but not used - [-Wunused-but-set-variable] - -2011-06-23 16:36 robert - - * include/osg/OcclusionQueryNode, include/osgViewer/Viewer, - src/osg/OcclusionQueryNode.cpp, src/osgViewer/Viewer.cpp: Fixed - virtual method mismtaches between subclasses and parent classes. - -2011-06-23 15:42 robert - - * include/osgSim/ShapeAttribute: From Ulrich Hertlein, build fix - for OSX. - -2011-06-23 15:37 robert - - * src/osgPlugins/zip/ReaderWriterZIP.cpp: Added better handling of - archives in ReaderWriterZip::readNode() so that if there is no - master file definition it - loads all the available nodes in the zip archive and returns an - osg::Group containing all the nodes if there is more - than one, or just returns the node if there is just one. Also - implemented this functionality for ReaderWriterZip::readImage(). - -2011-06-23 12:24 robert - - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Fixed typo - in name - -2011-06-23 11:27 robert - - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS file - -2011-06-23 11:26 robert - - * applications/osgversion/Contributors.cpp: Fixed name typo - -2011-06-23 11:09 robert - - * include/osgGA/GUIEventHandler, include/osgManipulator/Dragger, - include/osgSim/ShapeAttribute, src/osgPlugins/zip/unzip.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgViewer/ViewerBase.cpp: Fixed - warnings. - - OpenSceneGraph/src/osgGA/NodeTrackerManipulator.cpp:32:1: - warning: base class ?class osg::Object? should be explicitly - initialized in the copy constructor - OpenSceneGraph/src/osgGA/TerrainManipulator.cpp:31:1: warning: - base class ?class osg::Object? should be explicitly initialized - in the copy constructor - OpenSceneGraph/include/osgSim/ShapeAttribute:99:9: warning: base - class ?class std::vector? should be - explicitly initialized in the copy constructor - OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: - missing initializer for member ?unz_s::gi? - OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: - missing initializer for member ?unz_s::byte_before_the_zipfile? - OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: - missing initializer for member ?unz_s::num_file? - OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: - missing initializer for member ?unz_s::pos_in_central_dir? - OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: - missing initializer for member ?unz_s::current_file_ok? - OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: - missing initializer for member ?unz_s::central_pos? - OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: - missing initializer for member ?unz_s::size_central_dir? - OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: - missing initializer for member ?unz_s::offset_central_dir? - OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: - missing initializer for member ?unz_s::cur_file_info? - OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: - missing initializer for member ?unz_s::cur_file_info_internal? - OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: - missing initializer for member ?unz_s::pfile_in_zip_read? - OpenSceneGraph/src/osgViewer/CompositeViewer.cpp:30:1: warning: - base class ?class osg::Object? should be explicitly initialized - in the copy constructor - OpenSceneGraph/src/osgViewer/View.cpp:159:1: warning: base class - ?class osg::Object? should be explicitly initialized in the copy - constructor - OpenSceneGraph/src/osgViewer/Viewer.cpp:196:1: warning: base - class ?class osg::Object? should be explicitly initialized in the - copy constructor - OpenSceneGraph/src/osgViewer/Viewer.cpp:196:1: warning: base - class ?class osgViewer::ViewerBase? should be explicitly - initialized in the copy constructor - OpenSceneGraph/include/osgManipulator/Dragger:47:9: warning: base - class ?class osg::Object? should be explicitly initialized in the - copy constructor - -2011-06-23 09:26 robert - - * include/osg/Array, include/osgAnimation/Interpolator, - src/osgPlugins/lwo/lwo2parser.h: From Ryan Pavlik, "I have - successfully compiled OpenSceneGraph trunk using the Clang - compiler (using a recent trunk build of llvm and clang, haven't - tested an older release). The attached files contain the change - shown in the diff below, which was required to finish the build - with Clang. It fixes an issue with two-phase name lookup - - there's more information here - http://blog.llvm.org/2009/12/dreaded-two-phase-name-lookup.html - " - -2011-06-23 09:22 robert - - * src/osg/glu/libutil/mipmap.cpp: From Dimi Christopoulos, "I - attach a fixed version of mipmap.cpp which produced a lot of - warning on my gcc - compiler." - -2011-06-23 07:13 robert - - * src/osgPlugins/lwo/lwo2parser.h: Converted tabs to four spaces - -2011-06-22 16:18 robert - - * CMakeModules/FindCOLLADA.cmake: From Magnus Kessler, "I have - recently installed the latest version of collada-dom on Linux, - and - found that the include path has changed. By default, collada-dom - now installs - its header files under /usr/local/include/collada-dom - or/usr/include/collada- - dom. The attached FindCollada.cmake has been updated to look for - these - locations in addition to the previous candidate locations." - -2011-06-22 12:30 robert - - * applications/present3D/present3D.cpp, - examples/osgdistortion/osgdistortion.cpp, - examples/osgposter/osgposter.cpp, - examples/osgtext3D/TextNode.cpp, - examples/osgthreadedterrain/osgthreadedterrain.cpp, - examples/osgvolume/osgvolume.cpp, - examples/osgwidgetcanvas/osgwidgetcanvas.cpp, - src/osg/ShapeDrawable.cpp, src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, - src/osgParticle/FluidProgram.cpp, - src/osgPlugins/Inventor/ConvertToInventor.cpp, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/ac/Geode.cpp, src/osgPlugins/cfg/ConfigParser.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/hdr/hdrloader.cpp, - src/osgPlugins/ive/ShapeAttributeList.cpp, - src/osgPlugins/jp2/ReaderWriterJP2.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/pvr/ReaderWriterPVR.cpp, - src/osgPlugins/txp/trpage_geom.cpp, - src/osgPlugins/txp/trpage_material.cpp, - src/osgPlugins/txp/trpage_rarchive.cpp, - src/osgPlugins/vtf/ReaderWriterVTF.cpp, - src/osgPlugins/zip/ZipArchive.cpp, src/osgPlugins/zip/unzip.cpp, - src/osgQt/QGraphicsViewAdapter.cpp, - src/osgShadow/ParallelSplitShadowMap.cpp, - src/osgTerrain/GeometryTechnique.cpp, src/osgText/FadeText.cpp, - src/osgText/Text.cpp, src/osgUtil/DelaunayTriangulator.cpp, - src/osgUtil/RenderStage.cpp, src/osgViewer/View.cpp, - src/osgVolume/FixedFunctionTechnique.cpp: Resolved warnings - reported by g++ 4.6's -Wunused-but-set-variable. - - Warnings were: - - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osg/ShapeDrawable.cpp: - In member function ‘void - PrimitiveShapeVisitor::createHalfSphere(unsigned int, unsigned - int, float, int, float, const Matrix&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osg/ShapeDrawable.cpp:1409:11: - warning: variable ‘nzBase’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osg/ShapeDrawable.cpp:1410:11: - warning: variable ‘nRatioBase’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/DelaunayTriangulator.cpp: - In function ‘osgUtil::Triangle_list - osgUtil::fillHole(osg::Vec3Array*, std::vector >)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/DelaunayTriangulator.cpp:569:27: - warning: variable ‘ptest’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/DelaunayTriangulator.cpp: - In member function ‘bool - osgUtil::DelaunayTriangulator::triangulate()’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/DelaunayTriangulator.cpp:979:45: - warning: variable ‘curp’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/RenderStage.cpp: - In member function ‘void - osgUtil::RenderStage::runCameraSetUp(osg::RenderInfo&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/RenderStage.cpp:631:18: - warning: variable ‘stencilAttached’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/FadeText.cpp: - In member function ‘void FadeTextPolytopeData::buildPolytope()’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/FadeText.cpp:74:20: - warning: variable ‘edge23’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/FadeText.cpp:75:20: - warning: variable ‘edge30’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/Text.cpp: - In member function ‘void - osgText::Text::computeBackdropPositions(unsigned int) const’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/Text.cpp:747:10: - warning: variable ‘is_valid_size’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/NodeTrackerManipulator.cpp: - In member function ‘virtual bool - osgGA::NodeTrackerManipulator::performMovementLeftMouseButton(double, - double, double)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/NodeTrackerManipulator.cpp:257:21: - warning: variable ‘lookVector’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/NodeTrackerManipulator.cpp:259:21: - warning: variable ‘upVector’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/TerrainManipulator.cpp: - In member function ‘virtual bool - osgGA::TerrainManipulator::performMovementMiddleMouseButton(double, - double, double)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/TerrainManipulator.cpp:217:11: - warning: variable ‘lookVector’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/TerrainManipulator.cpp:219:11: - warning: variable ‘upVector’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgVolume/FixedFunctionTechnique.cpp: - In member function ‘virtual void - osgVolume::FixedFunctionTechnique::init()’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgVolume/FixedFunctionTechnique.cpp:124:30: - warning: variable ‘tf’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgParticle/FluidProgram.cpp: - In member function ‘virtual void - osgParticle::FluidProgram::execute(double)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgParticle/FluidProgram.cpp:38:23: - warning: variable ‘velBefore’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgShadow/ParallelSplitShadowMap.cpp: - In member function ‘virtual void - osgShadow::ParallelSplitShadowMap::cull(osgUtil::CullVisitor&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgShadow/ParallelSplitShadowMap.cpp:593:22: - warning: variable ‘bb’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgTerrain/GeometryTechnique.cpp: - In member function ‘virtual void - osgTerrain::GeometryTechnique::generateGeometry(osgTerrain::GeometryTechnique::BufferData&, - osgTerrain::Locator*, const osg::Vec3d&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgTerrain/GeometryTechnique.cpp:777:12: - warning: variable ‘i_sampleFactor’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgTerrain/GeometryTechnique.cpp:778:12: - warning: variable ‘j_sampleFactor’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/dds/ReaderWriterDDS.cpp: - In function ‘osg::Image* ReadDDSFile(std::istream&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/dds/ReaderWriterDDS.cpp:314:10: - warning: variable ‘is3dImage’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/dds/ReaderWriterDDS.cpp: - In function ‘bool WriteDDSFile(const osg::Image*, - std::ostream&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/dds/ReaderWriterDDS.cpp:721:10: - warning: variable ‘is3dImage’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/hdr/hdrloader.cpp: - In static member function ‘static bool HDRLoader::load(const - char*, bool, HDRLoaderResult&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/hdr/hdrloader.cpp:101:10: - warning: variable ‘cmd’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/vtf/ReaderWriterVTF.cpp: - In function ‘osg::Image* ReadVTFFile(std::istream&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/vtf/ReaderWriterVTF.cpp:360:23: - warning: variable ‘base’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/jp2/ReaderWriterJP2.cpp: - In function ‘int putdata(jas_stream_t*, jas_image_t*, int)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/jp2/ReaderWriterJP2.cpp:41:13: - warning: variable ‘linelen’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/Inventor/ConvertToInventor.cpp: - In member function ‘void ConvertToInventor::processGeometry(const - osg::Geometry*, ConvertToInventor::InventorState*)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/Inventor/ConvertToInventor.cpp:1639:10: - warning: variable ‘ok’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/Inventor/ConvertFromInventor.cpp: - In member function ‘virtual SbBool - SoVRMLImageTextureOsg::readInstance(SoInput*, short unsigned - int)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/Inventor/ConvertFromInventor.cpp:1264:16: - warning: variable ‘retval’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/GeometryRecords.cpp: - In member function ‘virtual void - flt::Face::readRecord(flt::RecordInputStream&, flt::Document&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/GeometryRecords.cpp:369:19: - warning: variable ‘secondaryPackedColor’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/GeometryRecords.cpp: - In member function ‘virtual void - flt::Mesh::readRecord(flt::RecordInputStream&, flt::Document&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/GeometryRecords.cpp:942:19: - warning: variable ‘secondaryPackedColor’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: - In member function ‘virtual osgDB::ReaderWriter::ReadResult - FLTReaderWriter::readNode(std::istream&, const Options*) const’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp:427:40: - warning: variable ‘pos’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ive/ShapeAttributeList.cpp: - In member function ‘void - ive::ShapeAttributeList::write(ive::DataOutputStream*)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ive/ShapeAttributeList.cpp:31:48: - warning: variable ‘it’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp: - In member function ‘void - ac3d::Geode::ProcessGeometry(std::ostream&, unsigned int)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:806:35: - warning: variable ‘fRep_s’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:806:43: - warning: variable ‘fRep_t’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:807:35: - warning: variable ‘fOffset_s’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:807:46: - warning: variable ‘fOffset_t’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:932:38: - warning: variable ‘primLength’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_geom.cpp: - In member function ‘virtual bool - trpgGeometry::Write(trpgWriteBuffer&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_geom.cpp:615:19: - warning: variable ‘u’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_material.cpp: - In member function ‘int trpgMatTable::AddMaterial(const - trpgMaterial&, bool)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_material.cpp:103:10: - warning: variable ‘spaceInTable’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_rarchive.cpp: - In member function ‘virtual bool - trpgr_Archive::ReadHeader(bool)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_rarchive.cpp:261:14: - warning: variable ‘headerHasTexTable’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/unzip.cpp: - In member function ‘ZRESULT TUnzip::Get(int, ZIPENTRY*)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/unzip.cpp:4055:8: - warning: variable ‘hidden’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/unzip.cpp:4055:22: - warning: variable ‘system’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/unzip.cpp:4055:36: - warning: variable ‘archive’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/ZipArchive.cpp: - In member function ‘virtual bool - ZipArchive::getFileNames(osgDB::Archive::FileNameList&) const’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/ZipArchive.cpp:91:37: - warning: variable ‘iterEnd’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/pvr/ReaderWriterPVR.cpp: - In member function ‘osgDB::ReaderWriter::ReadResult - ReaderWriterPVR::readPVRStream(std::istream&) const’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/pvr/ReaderWriterPVR.cpp:155:14: - warning: variable ‘hasAlpha’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp: - In function ‘osg::Geometry* - create3DSphericalDisplayDistortionMesh(const Vec3&, const Vec3&, - const Vec3&, double, double, osg::Image*, const Matrix&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp:737:15: - warning: variable ‘cursor’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp: - In function ‘osg::Geometry* - createParoramicSphericalDisplayDistortionMesh(const Vec3&, const - Vec3&, const Vec3&, double, double, osg::Image*, const Matrix&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp:1130:19: - warning: variable ‘cursor’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp:1118:15: - warning: variable ‘dx’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/GraphicsWindowX11.cpp: - In member function ‘virtual void - osgViewer::GraphicsWindowX11::checkEvents()’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/GraphicsWindowX11.cpp:1181:10: - warning: variable ‘destroyWindowRequested’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/cfg/ConfigParser.cpp: - In member function ‘bool - osgProducer::CameraConfig::parseFile(const string&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/cfg/ConfigParser.cpp:2247:13: - warning: variable ‘result’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgQt/QGraphicsViewAdapter.cpp: - In member function ‘bool - osgQt::QGraphicsViewAdapter::handlePointerEvent(int, int, int)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgQt/QGraphicsViewAdapter.cpp:344:17: - warning: variable ‘viewportGeometry’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp: - In function ‘osg::Node* createDistortionSubgraph(osg::Node*, - const Vec4&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp:125:19: - warning: variable ‘cursor’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp:126:19: - warning: variable ‘texcoord’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp: - In function ‘osg::Geometry* createDomeDistortionMesh(const Vec3&, - const Vec3&, const Vec3&, osg::ArgumentParser&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp:358:15: - warning: variable ‘cursor’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgposter/osgposter.cpp: - In function ‘int main(int, char**)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgposter/osgposter.cpp:253:31: - warning: variable ‘outputTiles’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgthreadedterrain/osgthreadedterrain.cpp: - In function ‘int main(int, char**)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgthreadedterrain/osgthreadedterrain.cpp:669:10: - warning: variable ‘readParameter’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgtext3D/TextNode.cpp: - In member function ‘virtual void - osgText::Layout::layout(osgText::TextNode&) const’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgtext3D/TextNode.cpp:80:11: - warning: variable ‘characterHeightScale’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgvolume/osgvolume.cpp: - In function ‘int main(int, char**)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgvolume/osgvolume.cpp:678:38: - warning: variable ‘internalFormatMode’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgwidgetcanvas/osgwidgetcanvas.cpp: - In function ‘bool windowMouseOver(osgWidget::Event&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgwidgetcanvas/osgwidgetcanvas.cpp:27:24: - warning: variable ‘xy’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgwidgetcanvas/osgwidgetcanvas.cpp: - In function ‘bool widgetMouseOver(osgWidget::Event&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgwidgetcanvas/osgwidgetcanvas.cpp:35:24: - warning: variable ‘xy’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/p3d/ReaderWriterP3D.cpp: - In member function ‘osg::Node* - ReaderWriterP3DXML::parseXmlGraph(osgDB::XmlNode*, bool, - osgDB::Options*) const’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/p3d/ReaderWriterP3D.cpp:2121:10: - warning: variable ‘readSlide’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/applications/present3D/present3D.cpp: - In function ‘int main(int, char**)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/applications/present3D/present3D.cpp:639:10: - warning: variable ‘sizesSpecified’ set but not used - [-Wunused-but-set-variable] - -2011-06-22 09:12 robert - - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Fixed regression in --run-on-demand feature - -2011-06-21 17:26 robert - - * src/osg/glu/libutil/mipmap.cpp: Removed assert() that always - evaluated to true. - -2011-06-21 13:01 robert - - * CMakeModules/Find3rdPartyDependencies.cmake: From Torben - Dannhauer, "originally I posted the addendum of 'freetype244MT', - but that was wrong. - I updated it to the correct addendum of 'freetype244' yesterday, - but supposedly that was not forwarded to you by the - forum-to-mail-gateway. - - Find attached the corrected CMake module. " - -2011-06-21 10:15 robert - - * ChangeLog: Updated ChangeLog - -2011-06-21 09:54 robert - - * src/osgPlugins/fbx/WriterCompareTriangle.h, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.h: Added returns to - end of files - -2011-06-21 09:54 robert - - * src/osgPlugins/fbx/WriterCompareTriangle.cpp: Added return to end - of file - -2011-06-21 09:53 robert - - * src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, - src/osgPlugins/fbx/fbxRLight.cpp, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRNode.cpp: - Conveted tabs to four spaces and added a return to end of file - -2011-06-21 09:29 mplatings - - * src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, - src/osgPlugins/fbx/fbxRLight.cpp, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRNode.cpp: - Fixed redundant "enumeration not handled in switch" warnings. - Fixed a warning about a comparison between different enums - - EUnifiedMappingType was being compared with EMappingType. In - general the FBX SDK is moving away from Get & Set functions to - giving direct access to properties, so I have changed - GetMappingType() to CurrentMappingType.Get() - -2011-06-21 09:00 robert - - * src/osg/glu/libtess/tess.h: Disabled VisualStudio warning warning - C4611: interaction between '_setjmp' and C++ object destruction - is non-portable - -2011-06-20 19:15 robert - - * examples/osgphotoalbum/PhotoArchive.cpp, - src/osgDB/InputStream.cpp, src/osgDB/OutputStream.cpp, - src/osgPlugins/Inventor/ConvertToInventor.cpp, - src/osgPlugins/Inventor/ReaderWriterIV.cpp, - src/osgPlugins/cfg/CameraConfig.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.cpp, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/geo/osgGeoNodes.h, - src/osgPlugins/md2/ReaderWriterMD2.cpp, - src/osgPlugins/pic/ReaderWriterPIC.cpp, - src/osgPlugins/ply/plyfile.cpp, - src/osgPlugins/pvr/ReaderWriterPVR.cpp, - src/osgPlugins/shp/ESRIShapeParser.cpp, - src/osgPlugins/shp/XBaseParser.cpp, src/osgPlugins/zip/unzip.cpp, - src/osgShadow/MinimalCullBoundsShadowMap.cpp, - src/osgViewer/ScreenCaptureHandler.cpp, - src/osgVolume/Locator.cpp, src/osgVolume/RayTracedTechnique.cpp, - src/osgWrappers/serializers/osg/ShaderBinary.cpp: Fixed a range - of issues reported by cppcheck: - - [examples/osgphotoalbum/PhotoArchive.cpp:56]: (error) Memory - leak: fileIndentifier - [examples/osgphotoalbum/PhotoArchive.cpp:257]: (error) - Deallocating a deallocated pointer: newData - [examples/osgphotoalbum/PhotoArchive.cpp:318]: (error) - Deallocating a deallocated pointer: newData - [src/osg/ImageUtils.cpp:116]: (portability) Extra qualification - 'osg::' unnecessary and considered an error by many compilers. - [src/osg/ImageUtils.cpp:307]: (portability) Extra qualification - 'osg::' unnecessary and considered an error by many compilers. - [src/osg/ImageUtils.cpp:312]: (portability) Extra qualification - 'osg::' unnecessary and considered an error by many compilers. - [src/osg/ImageUtils.cpp:367]: (portability) Extra qualification - 'osg::' unnecessary and considered an error by many compilers. - [src/osg/ImageUtils.cpp:399]: (portability) Extra qualification - 'osg::' unnecessary and considered an error by many compilers. - [src/osg/ImageUtils.cpp:400]: (portability) Extra qualification - 'osg::' unnecessary and considered an error by many compilers. - [src/osg/ImageUtils.cpp:482]: (portability) Extra qualification - 'osg::' unnecessary and considered an error by many compilers. - [src/osg/ImageUtils.cpp:483]: (portability) Extra qualification - 'osg::' unnecessary and considered an error by many compilers. - [src/osg/ImageUtils.cpp:484]: (portability) Extra qualification - 'osg::' unnecessary and considered an error by many compilers. - [src/osg/ImageUtils.cpp:519]: (portability) Extra qualification - 'osg::' unnecessary and considered an error by many compilers. - [src/osg/ImageUtils.cpp:536]: (portability) Extra qualification - 'osg::' unnecessary and considered an error by many compilers. - [src/osg/OcclusionQueryNode.cpp:71]: (portability) Extra - qualification 'osg::' unnecessary and considered an error by many - compilers. - [src/osg/OcclusionQueryNode.cpp:74]: (portability) Extra - qualification 'osg::' unnecessary and considered an error by many - compilers. - [src/osg/OcclusionQueryNode.cpp:77]: (portability) Extra - qualification 'osg::' unnecessary and considered an error by many - compilers. - [src/osg/OcclusionQueryNode.cpp:82]: (portability) Extra - qualification 'osg::' unnecessary and considered an error by many - compilers. - [src/osg/OcclusionQueryNode.cpp:102]: (portability) Extra - qualification 'osg::' unnecessary and considered an error by many - compilers. - [src/osg/OcclusionQueryNode.cpp:107]: (portability) Extra - qualification 'osg::' unnecessary and considered an error by many - compilers. - [src/osg/OcclusionQueryNode.cpp:599]: (portability) Extra - qualification 'osg::' unnecessary and considered an error by many - compilers. - [src/osg/OcclusionQueryNode.cpp:600]: (portability) Extra - qualification 'osg::' unnecessary and considered an error by many - compilers. - [src/osg/OcclusionQueryNode.cpp:601]: (portability) Extra - qualification 'osg::' unnecessary and considered an error by many - compilers. - [src/osg/OcclusionQueryNode.cpp:602]: (portability) Extra - qualification 'osg::' unnecessary and considered an error by many - compilers. - [src/osg/OcclusionQueryNode.cpp:603]: (portability) Extra - qualification 'osg::' unnecessary and considered an error by many - compilers. - [src/osg/OcclusionQueryNode.cpp:604]: (portability) Extra - qualification 'osg::' unnecessary and considered an error by many - compilers. - [src/osg/OcclusionQueryNode.cpp:605]: (portability) Extra - qualification 'osg::' unnecessary and considered an error by many - compilers. - [src/osg/OcclusionQueryNode.cpp:606]: (portability) Extra - qualification 'osg::' unnecessary and considered an error by many - compilers. - [src/osgDB/ExternalFileWriter.cpp:134]: (portability) Extra - qualification 'osgDB::' unnecessary and considered an error by - many compilers. - [src/osgDB/ExternalFileWriter.cpp:135]: (portability) Extra - qualification 'osgDB::' unnecessary and considered an error by - many compilers. - [src/osgDB/ExternalFileWriter.cpp:136]: (portability) Extra - qualification 'osgDB::' unnecessary and considered an error by - many compilers. - [src/osgDB/ExternalFileWriter.cpp:137]: (portability) Extra - qualification 'osgDB::' unnecessary and considered an error by - many compilers. - [src/osgDB/ExternalFileWriter.cpp:139]: (portability) Extra - qualification 'osgDB::' unnecessary and considered an error by - many compilers. - [src/osgDB/ExternalFileWriter.cpp:177]: (portability) Extra - qualification 'osgDB::' unnecessary and considered an error by - many compilers. - [src/osgDB/ExternalFileWriter.cpp:178]: (portability) Extra - qualification 'osgDB::' unnecessary and considered an error by - many compilers. - [src/osgDB/ExternalFileWriter.cpp:195]: (portability) Extra - qualification 'osgDB::' unnecessary and considered an error by - many compilers. - [src/osgDB/ExternalFileWriter.cpp:198]: (portability) Extra - qualification 'osgDB::' unnecessary and considered an error by - many compilers. - [src/osgDB/ExternalFileWriter.cpp:203]: (portability) Extra - qualification 'osgDB::' unnecessary and considered an error by - many compilers. - [src/osgDB/ExternalFileWriter.cpp:205]: (portability) Extra - qualification 'osgDB::' unnecessary and considered an error by - many compilers. - [src/osgDB/ExternalFileWriter.cpp:253]: (portability) Extra - qualification 'osgDB::' unnecessary and considered an error by - many compilers. - [src/osgDB/InputStream.cpp:553]: (error) Memory leak: data - [src/osgDB/OutputStream.cpp:393]: (error) Memory leak: data - [src/osgPlugins/Inventor/ConvertToInventor.cpp:656]: (error) - Mismatching allocation and deallocation: tmpArray - [src/osgPlugins/Inventor/ReaderWriterIV.cpp:237]: (error) Common - realloc mistake: 'buf' nulled but not freed upon failure - [src/osgPlugins/OpenFlight/expGeometryRecords.cpp:167]: - (portability) Extra qualification 'flt::' unnecessary and - considered an error by many compilers. - [src/osgPlugins/OpenFlight/expGeometryRecords.cpp:373]: - (portability) Extra qualification 'flt::' unnecessary and - considered an error by many compilers. - [src/osgPlugins/cfg/CameraConfig.cpp:635]: (error) Unusual - pointer arithmetic - [src/osgPlugins/freetype/FreeTypeLibrary.cpp:122]: (error) Memory - leak: buffer - [src/osgPlugins/geo/ReaderWriterGEO.cpp:210]: (error) Possible - null pointer dereference: gfd - otherwise it is redundant to - check if gfd is null at line 211 - [src/osgPlugins/geo/ReaderWriterGEO.cpp:227]: (error) Possible - null pointer dereference: gfd - otherwise it is redundant to - check if gfd is null at line 228 - [src/osgPlugins/geo/ReaderWriterGEO.cpp:903]: (error) Possible - null pointer dereference: gfd - otherwise it is redundant to - check if gfd is null at line 904 - [src/osgPlugins/geo/osgGeoNodes.h:180]: (error) Memory leak: - geoHeaderGeo::intVars - [src/osgPlugins/geo/osgGeoNodes.h:181]: (error) Memory leak: - geoHeaderGeo::useVars - [src/osgPlugins/geo/osgGeoNodes.h:182]: (error) Memory leak: - geoHeaderGeo::extVars - [src/osgPlugins/md2/ReaderWriterMD2.cpp:180]: (error) Memory - leak: mapbase - [src/osgPlugins/md2/ReaderWriterMD2.cpp:166]: (error) Resource - leak: file_fd - [src/osgPlugins/pic/ReaderWriterPIC.cpp:152]: (error) Mismatching - allocation and deallocation: tmpbuf - [src/osgPlugins/pic/ReaderWriterPIC.cpp:153]: (error) Mismatching - allocation and deallocation: buffer - [src/osgPlugins/ply/plyfile.cpp:843]: (error) Memory leak: - plyfile - [src/osgPlugins/pvr/ReaderWriterPVR.cpp:179]: (error) Memory - leak: imageData - [src/osgPlugins/shp/ESRIShapeParser.cpp:29]: (error) Resource - leak: fd - [src/osgPlugins/shp/XBaseParser.cpp:96]: (error) Resource leak: - fd - [src/osgPlugins/zip/unzip.cpp:3158]: (error) Possible null - pointer dereference: s - otherwise it is redundant to check if s - is null at line 3159 - [src/osgPlugins/zip/unzip.cpp:4155]: (error) Dangerous usage of - 'rd' (strncpy doesn't always 0-terminate it) - [src/osgShadow/MinimalCullBoundsShadowMap.cpp:334]: (error) - Possible null pointer dereference: rl - otherwise it is redundant - to check if rl is null at line 331 - [src/osgViewer/ScreenCaptureHandler.cpp:617]: (error) Possible - null pointer dereference: camera - otherwise it is redundant to - check if camera is null at line 611 - [src/osgViewer/ScreenCaptureHandler.cpp:632]: (error) Possible - null pointer dereference: camera - otherwise it is redundant to - check if camera is null at line 626 - [src/osgVolume/Locator.cpp:209]: (error) Dangerous iterator usage - after erase()-method. - [src/osgVolume/RayTracedTechnique.cpp:274]: (error) Possible null - pointer dereference: imageLayer - otherwise it is redundant to - check if imageLayer is null at line 259 - [src/osgVolume/RayTracedTechnique.cpp:275]: (error) Possible null - pointer dereference: imageLayer - otherwise it is redundant to - check if imageLayer is null at line 259 - [src/osgWrappers/serializers/osg/ShaderBinary.cpp:28]: (error) - Mismatching allocation and deallocation: data - -2011-06-20 14:09 robert - - * src/osg/ImageUtils.cpp, src/osg/OcclusionQueryNode.cpp, - src/osgDB/ExternalFileWriter.cpp, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp: Removed - unneccesary namespace qualifiers, and issue picked out by - cppcheck. - -2011-06-20 12:36 robert - - * src/osgPlugins/bmp/ReaderWriterBMP.cpp, - src/osgPlugins/png/ReaderWriterPNG.cpp, - src/osgPlugins/tga/ReaderWriterTGA.cpp: From Farshid Lashkari, - BGR write support for BMP, PNG and TGA - -2011-06-20 11:25 robert - - * src/osgViewer/GraphicsWindowX11.cpp: Added catch for window - manager doesn't set the window size to full screen. - -2011-06-20 09:28 robert - - * src/osgViewer/GraphicsWindowX11.cpp: Added check against - Traits::overrideRedirct to prevent the fullscreen workaround - being run when overrideRedirect - is on as overrideRedirect switches off the window managers - ability to manage the fullscreen so the problem doesn't - need working around. - -2011-06-20 09:22 robert - - * src/osgViewer/GraphicsWindowX11.cpp: Introduced a workaround for - fullscreen toggle issues under modern X11 window managers. - -2011-06-20 09:20 robert - - * src/osgViewer/ViewerEventHandlers.cpp: Added sleep before window - resizing to make it less likely that the previous frames - rendering traversal is still - running when the window(s) is resized, something that creates - what looks like a glitch in rendering. - -2011-06-19 19:16 robert - - * CMakeModules/Find3rdPartyDependencies.cmake: From Torben - Dannhauer, "Just in time for OSG 3.0 I will present an updated - 3rdParty package for VS2008 , which includes some updated - libraries (libcurl, freetype, jpeg). It also provides now all - debug databases (*.pdb), so all the annoying compile warnings - about missing .pdb files are gone. - - I extended the CMAKE module to find the new library." -2011-06-17 16:55 robert +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 - * CMakeLists.txt, include/osg/Version: Updated version to 3.1.0 in - prep for the first developer release for 3.x series -2011-06-17 12:57 robert +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 - * src/osgPlugins/ffmpeg/FFmpegParameters.cpp: Added extern "C" to - fix build issues under OSX -2011-06-17 12:31 robert +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 - * ChangeLog, NEWS.txt, README.txt: Updated ChangeLog, NEWS and - READE for 3.0.0-rc1 -2011-06-17 11:47 robert +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 - * include/OpenThreads/Version: Updated version number -2011-06-17 11:47 robert +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 - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Fixed - Jorge Izquierdo name. -2011-06-17 11:02 robert +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 - * src/OpenThreads/CMakeLists.txt: Updated OpenThreads version - number for stable release -2011-06-17 10:35 robert +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 - * applications/present3D/CMakeLists.txt: Tempory fix for static - build of Present3D which disables the use of ffmpeg when - compiling static, will need to - look into unresolved symbols assoiated with FFMPEG at a later - date. -2011-06-17 09:20 robert +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 - * AUTHORS.txt: Updated AUTHORS file for 3.0.0-rc1 -2011-06-17 09:19 robert +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. - * ChangeLog: Updated ChangeLog +fixed in attached zip: +src\osgWrappers\deprecated-dotosg\osg\ProxyNode.cpp -2011-06-17 09:05 robert +applies to both the 3.2 branch and svn trunk" - * src/osg/StencilTwoSided.cpp: From Jan Peciva, "sending updated - version of StencilTwoSided. - It supports now even GL_ATI_separate_stencil extension and there - are more - OSG_INFOs to see, which API is used." -2011-06-17 09:02 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14484 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeLists.txt, include/osg/Version: Updated version number of - 3.0.0-rc1 -2011-06-17 08:47 robert +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 - * src/osgUtil/RenderStage.cpp: Added GLES version checks to prevent - build problems under GLES1 and GLES2 -2011-06-17 08:42 robert +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 - * src/osgPlugins/ffmpeg/FFmpegParameters.cpp: Refined the version - checking -2011-06-17 08:41 robert +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 - * src/osgPlugins/ffmpeg/FFmpegHeaders.hpp, - src/osgPlugins/ffmpeg/FFmpegParameters.cpp: Build fix -2011-06-17 08:26 robert +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 - * src/osgViewer/GraphicsWindowCocoa.mm: From Ulrich Hertlein, "the - OS X/Cocoa implementation logs some debug junk on every key - stroke. The attached - patch removes this." -2011-06-17 08:15 robert +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 - * CMakeLists.txt: From Jorge Ciges, "This is one of those bugs that - you don't find until you try to compile under another pc that - doesn't have Cmake 2.8." -2011-06-17 06:22 robert +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 - * src/osgPlugins/ffmpeg/FFmpegHeaders.hpp, - src/osgPlugins/ffmpeg/FFmpegParameters.cpp: Fixed warning -2011-06-17 06:09 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 - * src/osgPlugins/dae/daeReader.cpp: Fixed warnings -2011-06-17 05:57 robert +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 - * src/osg/glu/libtess/tess.h, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp: Added disabling of - VisualStudio warning C4324 : structure was padded due to - __declspec(align()) -2011-06-16 18:43 robert +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 - * src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.h: Fixed warnings. -2011-06-16 18:25 robert +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 - * src/osgWrappers/deprecated-dotosg/osg/Texture.cpp, - src/osgWrappers/serializers/osg/Texture.cpp: Added support for - new InternalTextureFormatModes -2011-06-16 18:12 robert - - * src/osgDB/ExternalFileWriter.cpp: Added wider file extension - support to ExternalFileWriter::generateObjectName +Thu, 6 Nov 2014 10:44:27 +0000 +Checked in by : Robert Osfield +From Pjotr Svetachov, "I tried your fix and it exposed a bug in my fix :) The problem is that the readObjectFields method will add the object to the _identifierMap. So all the other instances of that image in the same file will be replaced by the created dummy object. In my fix this was an dummy image and I didn't notice it in our scene's, probably because it covered a small part of an object. In your fix the dummy object was not an image and that leads to a crash when something tries to use it as an image. I have attached a small fix for this bug." -2011-06-16 16:02 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Farshid Lashkari, - "Attached is a small patch that adds support for writing BGR - images to the DDS plugin." - -2011-06-16 16:00 robert - - * src/OpenThreads/qt/CMakeLists.txt: From John Cummings, "While - testing recent OSG developer releases and the subversion trunk, I - have noticed that on my 64-bit Linux machines, all of the OSG - libraries - get installed into the "lib64" directory as I would expect. - However, the - OpenThreads library gets installed into the "lib" directory when - selecting "Build OpenThreads with Qt threading support." That is, - with - the BUILD_OPENTHREADS_WITH_QT set to ON. - - I am attaching the a fix for this issue in the file: - - src/OpenThreads/qt/CMakeLists.txt - - It simply adds ${LIB_POSTFIX} to the destination as in done with - all - other CMakeLists.txt with libraries in OSG. I have tested it on - both - 32-bit and 64-bit Linux." - -2011-06-16 15:57 robert - - * examples/osgcluster/receiver.cpp, - src/OpenThreads/win32/Win32Thread.cpp, - src/osgPlugins/shp/ESRIShape.cpp, src/osgPlugins/zip/unzip.cpp: - Windows warning fixes - -2011-06-16 13:00 robert - - * src/osgPlugins/txp/trpage_compat.cpp, - src/osgPlugins/txp/trpage_geom.h, - src/osgPlugins/txp/trpage_label.cpp, - src/osgPlugins/txp/trpage_managers.cpp, - src/osgPlugins/txp/trpage_managers.h, - src/osgPlugins/txp/trpage_material.cpp, - src/osgPlugins/txp/trpage_nodes.cpp, - src/osgPlugins/txp/trpage_parse.cpp, - src/osgPlugins/txp/trpage_read.h, - src/osgPlugins/txp/trpage_readbuf.cpp, - src/osgPlugins/txp/trpage_warchive.cpp: Fixed indentation issues - -2011-06-16 10:05 robert - - * src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/TXPArchive.h, src/osgPlugins/txp/TXPNode.cpp, - src/osgPlugins/txp/trpage_compat.cpp, - src/osgPlugins/txp/trpage_geom.h, - src/osgPlugins/txp/trpage_managers.cpp, - src/osgPlugins/txp/trpage_managers.h, - src/osgPlugins/txp/trpage_material.cpp, - src/osgPlugins/txp/trpage_model.cpp, - src/osgPlugins/txp/trpage_parse.cpp, - src/osgPlugins/txp/trpage_print.h, - src/osgPlugins/txp/trpage_range.cpp, - src/osgPlugins/txp/trpage_warchive.cpp, - src/osgPlugins/txp/trpage_write.h: Improved indentation. - -2011-06-16 08:59 robert - - * src/osgPlugins/txp/TileMapper.cpp, - src/osgPlugins/txp/TileMapper.h, src/osgPlugins/txp/trdll.h, - src/osgPlugins/txp/trpage_basic.cpp, - src/osgPlugins/txp/trpage_compat.cpp, - src/osgPlugins/txp/trpage_compat.h, - src/osgPlugins/txp/trpage_geom.cpp, - src/osgPlugins/txp/trpage_geom.h, - src/osgPlugins/txp/trpage_header.cpp, - src/osgPlugins/txp/trpage_io.h, - src/osgPlugins/txp/trpage_label.cpp, - src/osgPlugins/txp/trpage_light.cpp, - src/osgPlugins/txp/trpage_main.cpp, - src/osgPlugins/txp/trpage_managers.cpp, - src/osgPlugins/txp/trpage_managers.h, - src/osgPlugins/txp/trpage_material.cpp, - src/osgPlugins/txp/trpage_model.cpp, - src/osgPlugins/txp/trpage_nodes.cpp, - src/osgPlugins/txp/trpage_parse.cpp, - src/osgPlugins/txp/trpage_pparse.cpp, - src/osgPlugins/txp/trpage_range.cpp, - src/osgPlugins/txp/trpage_read.h, - src/osgPlugins/txp/trpage_scene.cpp, - src/osgPlugins/txp/trpage_scene.h, - src/osgPlugins/txp/trpage_swap.h, - src/osgPlugins/txp/trpage_sys.h, - src/osgPlugins/txp/trpage_tile.cpp, - src/osgPlugins/txp/trpage_util.cpp, - src/osgPlugins/txp/trpage_util.h, - src/osgPlugins/txp/trpage_write.h: Replaced tabs with four spaces - -2011-06-16 08:46 robert - - * CMakeModules/FindOurDCMTK.cmake: From Jean-Christophe Lombardo, - "On Fedora 14, dcmtk libs are under /usr/lib/dcmtk. I've added a - PATH_SUFFIX to take that into account" - -2011-06-15 18:31 robert - - * include/osgUtil/IncrementalCompileOperation, - src/osgUtil/IncrementalCompileOperation.cpp: Improved the - handling of compiling vs flushing deleted objects - -2011-06-15 17:00 robert - - * src/osgViewer/GraphicsWindowCocoa.mm: Changed the key handling - code to use EventQueue::getTime() rather then the theEvent - timestamp. - -2011-06-15 09:36 robert - - * src/osgUtil/RenderStage.cpp: Fixed blitting of FBO's with - multiple render targets. - -2011-06-15 09:35 robert - - * examples/osgmultiplerendertargets/osgmultiplerendertargets.cpp: - From Anthousis Andreadis, added multiple sampling test for - multiple rendering targets which is activated by the --ms command - line option. - -2011-06-14 18:10 robert - - * CMakeModules/FindAndroidNDK.cmake: From Jorge Ciges, "Update to - FindAndroidNDK to make it use the latest Ndk (r5c) automatically. - - That fixes compatibilities with some 2.1 devices. And it looks - like all goes well." - -2011-06-14 16:54 robert - - * examples/osganimate/osganimate.cpp, - examples/osgblendequation/osgblendequation.cpp, - examples/osgcallback/osgcallback.cpp, - examples/osgcamera/osgcamera.cpp, examples/osgcatch/osgcatch.cpp, - examples/osgclip/osgclip.cpp, - examples/osgcompositeviewer/osgcompositeviewer.cpp, - examples/osgcopy/osgcopy.cpp, examples/osgcubemap/osgcubemap.cpp, - examples/osgdirectinput/osgdirectinput.cpp, - examples/osgdistortion/osgdistortion.cpp, - examples/osgdrawinstanced/osgdrawinstanced.cpp, - examples/osgfxbrowser/osgfxbrowser.cpp, - examples/osggeometry/osggeometry.cpp, examples/osghud/osghud.cpp, - examples/osgkeyboardmouse/osgkeyboardmouse.cpp, - examples/osglight/osglight.cpp, - examples/osglogicop/osglogicop.cpp, - examples/osgmotionblur/osgmotionblur.cpp, - examples/osgmultitexture/osgmultitexture.cpp, - examples/osgoccluder/osgoccluder.cpp, - examples/osgoutline/osgoutline.cpp, - examples/osgparticleeffects/osgparticleeffects.cpp, - examples/osgphotoalbum/osgphotoalbum.cpp, - examples/osgpick/osgpick.cpp, examples/osgposter/osgposter.cpp, - examples/osgprerender/osgprerender.cpp, - examples/osgreflect/osgreflect.cpp, - examples/osgscribe/osgscribe.cpp, - examples/osgsequence/osgsequence.cpp, - examples/osgshadow/osgshadow.cpp, - examples/osgsidebyside/osgsidebyside.cpp, - examples/osgsimplifier/osgsimplifier.cpp, - examples/osgsimulation/osgsimulation.cpp, - examples/osgspheresegment/osgspheresegment.cpp, - examples/osgspotlight/osgspotlight.cpp, - examples/osgstereoimage/osgstereoimage.cpp, - examples/osgtexture1D/osgtexture1D.cpp, - examples/osgthirdpersonview/osgthirdpersonview.cpp, - examples/osgunittests/FileNameUtils.cpp, - examples/osgunittests/MultiThreadRead.cpp, - examples/osgviewerFOX/FOX_OSG_MDIView.cpp, - examples/osgviewerQt/osgviewerQt.cpp, - examples/osgwidgetbox/osgwidgetbox.cpp, - examples/osgwidgetmenu/osgwidgetmenu.cpp, - examples/osgwidgetmessagebox/osgwidgetmessagebox.cpp, - examples/osgwidgetprogress/osgwidgetprogress.cpp, - examples/osgwidgetwindow/osgwidgetwindow.cpp, - examples/osgwindows/osgwindows.cpp, runexamples.bat: Replaced - .osg with .osgt file usage - -2011-06-14 16:50 robert - - * examples/osgocclusionquery/osgocclusionquery.cpp: Improved the - handling of command line parameters - -2011-06-14 15:55 robert - - * CMakeLists.txt, include/osg/Version: Updated version - -2011-06-14 15:48 robert - - * include/osg/State, src/osg/State.cpp: Added support - osg::State::drawQuad(..) for number of vertices in quads to uint - range rather than just ushort range. - -2011-06-14 12:44 robert - - * include/osgGA/EventQueue, src/osgGA/EventQueue.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Fixed issue with events having a negative delta of time between - them. - -2011-06-14 10:15 robert - - * include/osg/BufferObject, src/osg/BufferObject.cpp: Added - GLBufferObject::computeBufferAlignment(..) method to enable - buffer entries to be aligned along specified buffer alignment - boundaries, currently defaulting to 4. - -2011-06-14 09:16 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Stephan Huber, - "attached you'll find a fix for the non-working - useCursor()-method for - Windows. With the old code you can switch off the cursor, but not - back on." - -2011-06-14 09:11 robert - - * include/osgViewer/api/IOS/GraphicsWindowIOS, - src/osgPlugins/imageio/ReaderWriterImageIO_IOS.cpp, - src/osgViewer/GraphicsWindowIOS.mm, src/osgViewer/IOSUtils.h, - src/osgViewer/IOSUtils.mm: Removed executable permission. - -2011-06-14 09:01 robert - - * CMakeModules/FindQTKit.cmake, CMakeModules/FindQuickTime.cmake: - From Stephan Huber, "attached you'll find some tweaks for the - FindQuicktime and - > FindQTKit-cmake-plugins, so they get disabled for ios-builds." - -2011-06-13 15:20 robert - - * src/osgDB/FileUtils.cpp: Fixed wild card search when wild card - filename includes a path. - -2011-06-13 08:52 robert - - * src/osgText/Style.cpp: From Jeremy Moles, fixed style == - operator. - -2011-06-13 08:45 robert - - * src/osg/ImageUtils.cpp: From Stephan Huber, build fix for IOS - -2011-06-10 11:42 robert - - * include/osg/ValueObject: Added handling of s/gUserValue() - directly on a UserDataContainer. - -2011-06-09 14:20 robert - - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS file for - 2.9.16 dev release - -2011-06-09 14:11 robert - - * examples/osgAndroidExampleGLES1, - examples/osgAndroidExampleGLES1/AndroidManifest.xml, - examples/osgAndroidExampleGLES1/assets, - examples/osgAndroidExampleGLES1/default.properties, - examples/osgAndroidExampleGLES1/jni, - examples/osgAndroidExampleGLES1/jni/Android.mk, - examples/osgAndroidExampleGLES1/jni/Application.mk, - examples/osgAndroidExampleGLES1/jni/OsgAndroidNotifyHandler.cpp, - examples/osgAndroidExampleGLES1/jni/OsgAndroidNotifyHandler.hpp, - examples/osgAndroidExampleGLES1/jni/OsgMainApp.cpp, - examples/osgAndroidExampleGLES1/jni/OsgMainApp.hpp, - examples/osgAndroidExampleGLES1/jni/osgNativeLib.cpp, - examples/osgAndroidExampleGLES1/proguard.cfg, - examples/osgAndroidExampleGLES1/res, - examples/osgAndroidExampleGLES1/res/drawable-hdpi, - examples/osgAndroidExampleGLES1/res/drawable-hdpi/osg.png, - examples/osgAndroidExampleGLES1/res/drawable-hdpi/web_browser.png, - examples/osgAndroidExampleGLES1/res/drawable-ldpi, - examples/osgAndroidExampleGLES1/res/drawable-ldpi/osg.png, - examples/osgAndroidExampleGLES1/res/drawable-mdpi, - examples/osgAndroidExampleGLES1/res/drawable-mdpi/osg.png, - examples/osgAndroidExampleGLES1/res/layout, - examples/osgAndroidExampleGLES1/res/layout/dialog_text_entry.xml, - examples/osgAndroidExampleGLES1/res/layout/main.xml, - examples/osgAndroidExampleGLES1/res/layout/ui_layout_gles.xml, - examples/osgAndroidExampleGLES1/res/menu, - examples/osgAndroidExampleGLES1/res/menu/appmenu.xml, - examples/osgAndroidExampleGLES1/res/values, - examples/osgAndroidExampleGLES1/res/values/strings.xml, - examples/osgAndroidExampleGLES1/src, - examples/osgAndroidExampleGLES1/src/osg, - examples/osgAndroidExampleGLES1/src/osg/AndroidExample, - examples/osgAndroidExampleGLES1/src/osg/AndroidExample/ColorPickerDialog.java, - examples/osgAndroidExampleGLES1/src/osg/AndroidExample/EGLview.java, - examples/osgAndroidExampleGLES1/src/osg/AndroidExample/osgNativeLib.java, - examples/osgAndroidExampleGLES1/src/osg/AndroidExample/osgViewer.java, - examples/osgAndroidExampleGLES2, - examples/osgAndroidExampleGLES2/AndroidManifest.xml, - examples/osgAndroidExampleGLES2/assets, - examples/osgAndroidExampleGLES2/default.properties, - examples/osgAndroidExampleGLES2/jni, - examples/osgAndroidExampleGLES2/jni/Android.mk, - examples/osgAndroidExampleGLES2/jni/Application.mk, - examples/osgAndroidExampleGLES2/jni/OsgAndroidNotifyHandler.cpp, - examples/osgAndroidExampleGLES2/jni/OsgAndroidNotifyHandler.hpp, - examples/osgAndroidExampleGLES2/jni/OsgMainApp.cpp, - examples/osgAndroidExampleGLES2/jni/OsgMainApp.hpp, - examples/osgAndroidExampleGLES2/jni/osgNativeLib.cpp, - examples/osgAndroidExampleGLES2/proguard.cfg, - examples/osgAndroidExampleGLES2/res, - examples/osgAndroidExampleGLES2/res/drawable-hdpi, - examples/osgAndroidExampleGLES2/res/drawable-hdpi/osg.png, - examples/osgAndroidExampleGLES2/res/drawable-hdpi/web_browser.png, - examples/osgAndroidExampleGLES2/res/drawable-ldpi, - examples/osgAndroidExampleGLES2/res/drawable-ldpi/osg.png, - examples/osgAndroidExampleGLES2/res/drawable-mdpi, - examples/osgAndroidExampleGLES2/res/drawable-mdpi/osg.png, - examples/osgAndroidExampleGLES2/res/layout, - examples/osgAndroidExampleGLES2/res/layout/dialog_text_entry.xml, - examples/osgAndroidExampleGLES2/res/layout/main.xml, - examples/osgAndroidExampleGLES2/res/layout/ui_layout_gles.xml, - examples/osgAndroidExampleGLES2/res/menu, - examples/osgAndroidExampleGLES2/res/menu/appmenu.xml, - examples/osgAndroidExampleGLES2/res/values, - examples/osgAndroidExampleGLES2/res/values/strings.xml, - examples/osgAndroidExampleGLES2/src, - examples/osgAndroidExampleGLES2/src/osg, - examples/osgAndroidExampleGLES2/src/osg/AndroidExample, - examples/osgAndroidExampleGLES2/src/osg/AndroidExample/ColorPickerDialog.java, - examples/osgAndroidExampleGLES2/src/osg/AndroidExample/EGLview.java, - examples/osgAndroidExampleGLES2/src/osg/AndroidExample/osgNativeLib.java, - examples/osgAndroidExampleGLES2/src/osg/AndroidExample/osgViewer.java: - From Jorge Ciges, "two clean example viewers (GLES1/2) that - permit load models withouth recompiling by options in the menu - and some basic options. basic options. - - As Rafa and I told you earlier this can't be integrated in the - CMAKE chain. It needs to be compiled by the user out of the OSG - standard compilation. It could be stored in the examples. That - way users will not come here asking for the examples. - - Main characteristics are: - - -Menu with loading and unloading by path. - -Return to home view - -Keyboard capabilities with manipilator switch and basic state - changing. - -Change color screen. - -Osg log bypassed to LogCat (This comes practically straight from - Marcin Hajder example I've only added personal TAG) - -Earmbi / Earmbi V7 - -Install to SD (if the device supports the feature) - - And that's all. Now I'm looking to fix the environmental mapping - with true GLES (it does not work well in Android) I will try to - make it in time for 3.0. The other work that i'm studying Dynamic - build with Android but that will need a lot of time to test. - -2011-06-09 12:57 robert - - * examples/osguserdata/osguserdata.cpp, include/osg/Node, - include/osg/Object, include/osg/UserDataContainer, - include/osg/ValueObject, src/osg/Node.cpp, src/osg/Object.cpp, - src/osg/UserDataContainer.cpp, - src/osgWrappers/serializers/osg/Object.cpp, - src/osgWrappers/serializers/osg/UserDataContainer.cpp: Refactored - the UserDataContainer so that the osg::UserDataContainer is now a - pure virtual base class, - with a osg::DefaultUserDataContainer subclassed from this. The - user object access methods have now all - been moved from osg::Object into the UserDataContainer class, - except for the set/getUserData() methods - that are left in osg::Object for backwards compatibility, and the - description list access methods have - been moved back into osg::Node. - - main UserObject access methods are now all def - -2011-06-09 11:07 robert - - * src/osgPlugins/vrml/ReaderWriterVRML2.cpp: From Mathias - Froehlich, "the attached patch adds an additional null pointer - check" - -2011-06-09 11:05 robert - - * src/osgUtil/TangentSpaceGenerator.cpp: From Mathias Froehlich, - "The attached patch adds the polygon primitive to the - TangentSpace computation. - As far as I understand, this should just work for the polygon as - well as with - the tristrip primitive. - " - -2011-06-09 10:48 robert - - * examples/osgvolume/osgvolume.cpp, - include/osgPresentation/SlideShowConstructor: Changed the - defaults volume setting to not enable the SampleDensityWhenMoving - property. - -2011-06-08 17:45 robert - - * examples/osgvolume/osgvolume.cpp: Cleaned up example to use the - new ImageUtils functions for creating a 3D image from a list of - images. - -2011-06-08 16:10 robert - - * examples/osgvolume/osgvolume.cpp, include/osg/ImageUtils, - src/osg/ImageUtils.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added support for - creating a 3D Image from an image list. - - Added support for reading a list of images in the Present3D - tag. - -2011-06-08 09:28 robert - - * examples/osguserdata/osguserdata.cpp: Removed OSG_EXPORT - -2011-06-08 09:24 robert - - * src/osgViewer/View.cpp: Introduced a less conservative near - ratio. - -2011-06-08 09:24 robert - - * examples/osgdepthpartition/CMakeLists.txt, - examples/osgdepthpartition/DepthPartitionNode.cpp, - examples/osgdepthpartition/DepthPartitionNode.h, - examples/osgdepthpartition/DistanceAccumulator.cpp, - examples/osgdepthpartition/DistanceAccumulator.h, - examples/osgdepthpartition/osgdepthpartition.cpp: Simplified the - osgdepthpartion example to use the - osgView::View::setUpDepthPartition(..) feature - -2011-06-07 20:24 robert - - * src/osgPresentation/SlideShowConstructor.cpp: Added support for - reading .osg, .osgb, .osgx, .osgt and .ive models that contain - volumes from within the volume tag. - -2011-06-07 16:17 robert - * examples/osgvolume/osgvolume.cpp, - src/osgWrappers/serializers/osgVolume/SampleDensityProperty.cpp: - Added support for .osgt, .osgb and .osgx plugins to osgvolume - example +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14471 16af8721-9629-0410-8352-f15c8da7e697 -2011-06-07 15:33 robert - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS file for - release +Thu, 6 Nov 2014 10:40:54 +0000 +Checked in by : Robert Osfield +Introduced use of MarkerObject to IncrmentalCompileOperation/DatabasePager as a way of marking objects that have already been processed and compiled, thus avoid potential threading conflicts when paged subgraphs are reused.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14470 16af8721-9629-0410-8352-f15c8da7e697 -2011-06-07 14:28 robert - * src/osgPlugins/fbx/WriterNodeVisitor.cpp: From Sukender, "Lastest - change (update to FBX 2012.1) introduced a regression. It didn't - take materials' order into consideration. The line - lMaterialLayer->GetDirectArray().SetAt(it->second.getIndex(), - lMaterial); - has been replaced by - _curFbxNode->AddMaterial(lMaterial); - because KFbxLayerElementMaterial::GetDirectArray() is now private - and we can't access to it. - However, pushing back the material at the end of the vector is - wrong. - We can use the (now) public attribute - KFbxLayerElementMaterial::mDirectArray, as in this submission. - " +Wed, 5 Nov 2014 16:08:42 +0000 +Checked in by : Robert Osfield +Added handling of the reading of field properties to a dummy object for cached images to avoid threading issues associated with reusing and modifying an active object.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14469 16af8721-9629-0410-8352-f15c8da7e697 -2011-06-07 14:26 robert - * examples/osguserdata/osguserdata.cpp, include/osg/Object, - src/osgPlugins/zip/ZipArchive.cpp, - src/osgQt/GraphicsWindowQt.cpp: From Mathias Froehlich, build - fixes for legacy unix systems +Wed, 5 Nov 2014 13:38:50 +0000 +Checked in by : Robert Osfield +Reinstated the original mechanism for OperationThread::cancel() that co-operatively releases blocks/barriers to make sure the thread is able to exit correctly.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14468 16af8721-9629-0410-8352-f15c8da7e697 -2011-06-07 13:02 robert - * examples/osguserdata/osguserdata.cpp, include/osg/Object, - include/osg/UserDataContainer, src/osg/CMakeLists.txt, - src/osg/Object.cpp, src/osg/UserDataContainer.cpp, - src/osgWrappers/serializers/osg/Node.cpp, - src/osgWrappers/serializers/osg/Object.cpp, - src/osgWrappers/serializers/osg/UserDataContainer.cpp: Added - ability to subclass from osg::Object to provide custom user data - functionality. A new UserDataContainer provides the - default implementation of the user data functionality. +Tue, 4 Nov 2014 20:07:40 +0000 +Checked in by : Robert Osfield +Improvements to the ShaderTerrain experiemental terrain rendering technique.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14466 16af8721-9629-0410-8352-f15c8da7e697 -2011-06-07 09:28 robert - * src/osg/Object.cpp: Added the return of the index position of the - added UserObject +Tue, 4 Nov 2014 20:07:15 +0000 +Checked in by : Robert Osfield +Changed TerrainTile::setDirty() to use children needing update traversal mechanism to address threadng issues.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14465 16af8721-9629-0410-8352-f15c8da7e697 -2011-06-07 08:53 robert - * include/osg/Object, src/osg/Object.cpp: Added support for - searching for user objects from a given startPosition in the - UserDataContainer object. +Tue, 4 Nov 2014 20:06:05 +0000 +Checked in by : Robert Osfield +Change isRunning variable to an Atomic to address possible race condition asscoiated with reading and writing to the variable from different threads.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14464 16af8721-9629-0410-8352-f15c8da7e697 -2011-06-06 11:48 robert - * src/osgPlugins/imageio/ReaderWriterImageIO_IOS.cpp: From Frida - Schlaug, "Imageio for ios had a poorly implemented function for - reading from streams (always returning null). In this patch I - copied some code from the non-ios imageio file and adjusted it to - work on ios. " +Tue, 4 Nov 2014 16:29:30 +0000 +Checked in by : Robert Osfield +Build fixes for ffmpeg LIBAVCODEC_VERSION_MAJOR >= 56git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14462 16af8721-9629-0410-8352-f15c8da7e697 -2011-06-06 11:45 robert - * PlatformSpecifics/Android/Android.mk.modules.in: From Jorge - Ciges, Minor tweaks in Android makefiles that make possible to - compile for armeabi v7 with neon +Tue, 4 Nov 2014 11:18:42 +0000 +Checked in by : Robert Osfield +Added an InitRegistry static intiialization and destrucion static to help control the order of construction and destruction of the osgDB::Registry.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14461 16af8721-9629-0410-8352-f15c8da7e697 -2011-06-06 11:44 robert - * PlatformSpecifics/Android/Application.mk.master.in: From Jorge - Ciges, Minor tweaks in Android makefiles that make possible to - compile for armeabi v7 with neon +Tue, 4 Nov 2014 10:46:59 +0000 +Checked in by : Robert Osfield +Replaced use of while(isRunning()) { YieldCurrentThread(); } style loops with use of join() to avoid false positives being reported by valgrind when using the helgrind tool for thread debugging.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14460 16af8721-9629-0410-8352-f15c8da7e697 -2011-06-03 15:58 robert - * examples/osgvolume/osgvolume.cpp: Added support for --tf-255 - transfer function files +Tue, 21 Oct 2014 15:08:44 +0000 +Checked in by : Robert Osfield +Added experimental osgTerrain::ShaderTerrain TerrainTechnique to osgterrain example to flesh out new shader based displacement mapping approach to osgTerrain databases.Requires shader files place in OpenSceneGraph-Data/shaders from OpenSceneGraph-Data's svn/trunk to function. -2011-06-03 13:47 robert +Run osgterrain example with --shader command line option to select displacement mapping shader approach. - * src/osgPresentation/SlideShowConstructor.cpp: Added support for - using the sampleDensityWhenMoving tag with all techniques -2011-06-02 22:49 robert - * src/osg/Object.cpp: Added extra check to make sure that - _userDataContainer was available before copying it +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14458 16af8721-9629-0410-8352-f15c8da7e697 -2011-06-02 22:07 robert - * include/osgDB/Serializer: Add new macro's to help with - serialization of new user objects +Tue, 21 Oct 2014 14:47:43 +0000 +Checked in by : Robert Osfield +Removed --sync related code as it's now integrated into osg::DisplaySettings and osgViewergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14457 16af8721-9629-0410-8352-f15c8da7e697 -2011-06-02 22:06 robert - * examples/CMakeLists.txt, examples/osguserdata, - examples/osguserdata/CMakeLists.txt, - examples/osguserdata/osguserdata.cpp: Added new osguserdata - example as a guide to the new user object API and as a testbed +Tue, 21 Oct 2014 14:46:12 +0000 +Checked in by : Robert Osfield +Added osg::SyncSwapBuffersCallback to include/osg/GraphicsContext and support for enabling it to include/osg/DisplaySettings, and to the Viewer/CompositeViewer::realize() methods.To enable the sync of swap buffers set the env var OSG_SYNC_SWAP_BUFFERS to ON or 1, to switch off set to OFF or 0. -2011-06-02 22:05 robert +One can also use the --sync command line option for application that pass on command line options to the osg::DisplaySettings::instance(). - * src/osgWrappers/serializers/osg/Object.cpp, - src/osgWrappers/serializers/osg/ValueObject.cpp: Added support - for new osg::Object user objects. -2011-06-02 22:04 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14456 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/CopyOp, include/osg/Node, include/osg/Object, - include/osg/ValueObject, src/osg/Drawable.cpp, src/osg/Node.cpp, - src/osg/Object.cpp: Introduced new user object support into - osg::Object that allows assignment of a list of user objects to - an osg::Object. - - Refactored original UserData and Descriptions strings to be - managed alongside the new user object suppport within - a single osg::Object::UserDataContainer. -2011-06-02 21:32 robert +Tue, 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 - * include/osg/Version: Updated version -2011-06-02 20:38 robert +Wed, 17 Sep 2014 17:40:07 +0000 +Checked in by : Robert Osfield +Added support for writing the file path of a script to the lua package.path to help with loading scripts within lua.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14451 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgWrappers/serializers/osg/Group.cpp: Added ref_ptr<> usage - to avoid possible memory leak. -2011-06-02 14:42 robert +Tue, 16 Sep 2014 17:40:13 +0000 +Checked in by : Robert Osfield +Changed osgvolume example to use the new tf plugin rather than having local code for reading transfer functiongit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14450 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeLists.txt: Updated version and so number for next dev - release -2011-05-30 15:43 robert +Tue, 16 Sep 2014 11:00:01 +0000 +Checked in by : Robert Osfield +Added write supportgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14449 16af8721-9629-0410-8352-f15c8da7e697 - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Updated AUTHORS and ChangeLog for 2.9.15 dev release -2011-05-30 13:02 robert +Mon, 15 Sep 2014 17:53:44 +0000 +Checked in by : Robert Osfield +Added .tf & .tf-255 plugin for reading ascii 1D transfer functon files in support for volume rendering.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14448 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Dimi Christop, - build fix for RHEL 4. -2011-05-30 09:26 robert +Fri, 12 Sep 2014 14:16:08 +0000 +Checked in by : Robert Osfield +Added basic frame rendering for TabWidgetgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14446 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgViewer/GraphicsWindowX11.cpp: Added closing of the - _eventDisplay on failure of initializing the context properly. -2011-05-30 09:25 robert +Wed, 10 Sep 2014 17:03:27 +0000 +Checked in by : Robert Osfield +Improved the alignment and sizing of TabWidget tab headersgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14445 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/GraphicsContext.cpp: Fixed X11 related crash that occured - when GraphicsWindow::setCursor was called right after - viewer.realize(); - The fix was to simply move the setting of the thread that has - done the makeCurrent to right before the makeCurrent() - rather than right after. -2011-05-30 08:26 robert +Wed, 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 - * CMakeModules/Find3rdPartyDependencies.cmake: From Wang Rui, "The - submission fixes the spelling bug we discussed in osg-users. It - replaces the variable ACTUAL_3DPARTY_DIR to ACTUAL_3RDPARTY_DIR - with - back compatibility. Please find it in attachment. - " -2011-05-30 08:24 robert +Tue, 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 - * src/osgText/TextBase.cpp: From Terry Welsh, "I was having a small - culling problem with osgText... new TextBase.cpp that fixes it." -2011-05-27 16:04 robert +Tue, 9 Sep 2014 15:14:35 +0000 +Checked in by : Robert Osfield +Moved the diaglog title bar widgets into the Widget::GraphicsSubgraph map to avoid them poluting the Dialog's children list and to prevent them from being serialized.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14441 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgViewer/GraphicsWindowX11.cpp: Reverted part of revision - r12294 that introduced threading related problems under X11 due - to checking the _display - Display member variable assigned to the graphics thread from the - main thread. -2011-05-27 11:22 robert +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. - * applications/osgconv/OrientationConverter.cpp, - applications/osgconv/OrientationConverter.h, - applications/osgconv/osgconv.cpp: From Ryan Pavlik, "Existing - osgconv behavior is to transform the model bounding sphere center - to the world origin before performing transformations specified - on the command line, and translating back after rotation and - scaling unless an alternate translation is specified. This patch - adds a setting to the OrientationConverter class in osgconv to - disable this extra transformation, which has the effect of - applying specified transforms with respect to the input world - coordinate system, rather than to the center of the bounding - sphere. It also adds a command line argument "--use-world-frame" - to enable this behavior. When this command line argument is not - passed, behavior is unchanged from before the patch. The usage - text has been updated to reflect this additional option, and the - comments in OrientationConverter are also updated." - - Note from Robert Osfield, tweaked the OrientationConverter.cpp a - little to improve readability. -2011-05-27 11:18 robert - - * applications/osgconv/OrientationConverter.h: Fixed indentation - -2011-05-27 11:07 robert - - * examples/osg2cpp/osg2cpp.cpp: Fixed the searchAndReplace function - so that it correctly skips over the newly inserted replacement - strings. - -2011-05-27 09:08 robert - - * CMakeLists.txt, CMakeModules/OsgCPack.cmake: From Jean-Sebastien - Guay, "I like the recent addition that adds folders in the - solution tree to better organize the numerous examples, - libraries, plugins etc. - - I added two folders that were missing IMHO: packaging and - documentation. - " - -2011-05-27 09:05 robert - - * src/osgPlugins/pnm/ReaderWriterPNM.cpp: From Eric Sokolowsky, - "Attached is an updated PNM plugin for inclusion in both the - trunk and for release version 2.8.5. The attached file fixes - numerous bugs in reading 8-bit and 16-bit images, including - loading the images upside-down. This file also incorporates trunk - patch r12220 which updated the plugin for reading and writing - images through streams instead of C-style FILE I/O." - - Note from Robert Osfield, previous revision was in error due to - an incomplete merge, this revision completes the job. - -2011-05-27 09:00 robert - - * src/osgUtil/TriStripVisitor.cpp: From Laurens Voerman, "While - working on the osg exporter for 3dsmax I found a bug in the - TriStripVisitor. I created a small example (attached), and a - modified version of - src\osgUtil\TriStripVisitor.cpp where the problem is removed." - -2011-05-27 08:55 robert - - * src/osgPlugins/pnm/ReaderWriterPNM.cpp: From Eric Sokolowsky, - "Attached is an updated PNM plugin for inclusion in both the - trunk and for release version 2.8.5. The attached file fixes - numerous bugs in reading 8-bit and 16-bit images, including - loading the images upside-down. This file also incorporates trunk - patch r12220 which updated the plugin for reading and writing - images through streams instead of C-style FILE I/O." - -2011-05-27 08:22 robert - - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: Reverted Bryce Eldrige - submission. - -2011-05-26 16:52 robert - - * include/osg/Math, src/osg/GL2Extensions.cpp, - src/osg/GLExtensions.cpp, src/osg/Math.cpp: Form Jorge Ciges, - improved GL version detection code. - -2011-05-26 16:34 robert - - * src/osgDB/OutputStream.cpp: From Dietmar Funck, "I've noticed an - issue when writing arrays of type Vec2D and Vec3D to a .osgb - file. A number is written to the output stream to identify the - array type. In case of Vec2D and Vec3D arrays Vec4D is written as - array type - I guess this is a copy and paste mistake. - Writing the correct array types fixes the issue - in my case it - fixes writing and afterwards reading geometry instances." - -2011-05-26 16:26 robert - - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Bryce Eldridge, - "Here is an update for the TIFF plugin that includes the - following features when writing out TIFF files: - - - Support for writing unsigned 16-bit images (GL_UNSIGNED_SHORT) - - Code to parse the options string for the following options: - -- Flag to turn off the compression. The PACKBITS compression - type causes issues for me with some programs on Windows (Picasa - for example). - -- Options to set the XRESOLUTION and YRESOLUTION tags (DPI) in - the TIFF file. - - Existing behavior (PACKBITS compression, DPI tags left at - default) is preserved if the options string is not set. - " - -2011-05-26 16:19 robert - - * src/osgPlugins/3ds/WriterNodeVisitor.cpp: Fixed default setting - of texture_no_tile to match the flags seet in lib3ds_material.cpp - initialize_texture_map(..). - -2011-05-26 16:16 robert - - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Oliver Neumann, - - "I checked your solution and found one missing point which makes - it still produce the tif error: - The very first seek_set on the empty stream with zero offset." - - "This means that the empty stream is seeked again resulting in - the fail bit to be set. Your code does not check this case, - furthermore you use t_off instead of std::ostream::streampos for - the tellp() calls. In this special case (empty stream) tellp() - returns -1 which is cast to 0xFFFFFFFFFF as t_off is unsigned. I - suggest this addition to your code (within the switch statement)" - -2011-05-26 16:13 robert - - * examples/osgmanipulator/osgmanipulator.cpp: Fixed indentation - -2011-05-26 15:47 robert - - * src/osg/BufferObject.cpp: Fixed handling of changes in gl buffer - object size so that when a gl buffer object is resized all the - buffer data - is recompiled. - -2011-05-25 12:41 robert - - * src/osgPlugins/zip/ZipArchive.cpp, - src/osgPlugins/zip/ZipArchive.h: From Bradley Anderegg, "Ok, I am - re-submitting this with the changes we discussed. That is, there - is a default implementation of - osgDB::Archive::getDirectoryContents() that uses getFileNames(), - and the osgDB::ArchiveExtended header was removed as it is now - unnecessary. - - Here is a quick list of the modified files: - - Archive - getDirectoryContents() no longer pure virtual - Archive.cpp - default getDirectoryContents() implementation - unzip.cpp - modified to fix a bug where the same file will not - load twice in a row - ZipArchive.h / ZipArchive.cpp - extends osgDB::Archive and - provides support for random access loading within a .zip file - ReaderWriterZip.cpp - modified to use the ZipArchive class" - -2011-05-25 09:34 robert - - * ChangeLog: Updated ChangeLog - -2011-05-25 09:34 robert - - * CMakeLists.txt, src/osgViewer/CMakeLists.txt: From Olaf Flebbe, - fixes for OSX AGL build - -2011-05-25 09:13 robert - - * src/osgPlugins/osga/OSGA_Archive.cpp, - src/osgPlugins/osga/OSGA_Archive.h: Removed now redundent local - implementation of getDirectoryContexts() - -2011-05-25 09:04 robert - - * include/osgDB/Archive, src/osg/Texture2D.cpp, - src/osgDB/Archive.cpp, src/osgPlugins/zip/CMakeLists.txt, - src/osgPlugins/zip/ReaderWriterZIP.cpp, - src/osgPlugins/zip/unzip.cpp: From Bradley Anderegg, "Ok, I am - re-submitting this with the changes we discussed. That is, there - is a default implementation of - osgDB::Archive::getDirectoryContents() that uses getFileNames(), - and the osgDB::ArchiveExtended header was removed as it is now - unnecessary. - - Here is a quick list of the modified files: - - Archive - getDirectoryContents() no longer pure virtual - Archive.cpp - default getDirectoryContents() implementation - unzip.cpp - modified to fix a bug where the same file will not - load twice in a row - ZipArchive.h / ZipArchive.cpp - extends osgDB::Archive and - provides support for random access loading within a .zip file - ReaderWriterZip.cpp - modified to use the ZipArchive class" - -2011-05-24 13:05 robert - - * src/osgViewer/CMakeLists.txt: From Olaf Flebbe, "build out-of-the - box on MacOSX. The default windowing system is carbon and it - needs the AGL OpenGL Windowing binding framework, which is - missing. osgViewer does not link therefore. Cocoa does not use - AGL. - - The fix adds the AGL Framework to the Carbon link line for - osgViewer" - -2011-05-24 10:20 robert - - * src/osg/GL2Extensions.cpp: Fixed Coverity issues. - - CID 11669: Uninitialized pointer field (UNINIT_CTOR) - Non-static class member _glAttachShader is not initialized in - this constructor nor in any functions that it calls. - Non-static class member _glBindAttribLocation is not initialized - in this constructor nor in any functions that it calls. - ... - - - CID 11699: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _areTessellationShadersSupported is not - initialized in this constructor nor in any functions that it - calls. - -2011-05-24 10:19 robert - - * src/osg/KdTree.cpp: Fixed Coverity issue. - - CID 12328: Resource leak (RESOURCE_LEAK) - Calling allocation function "osg::KdTree::cloneType() const". - (The virtual call resolves to "osg::Object * - osg::KdTree::cloneType() const".) [show details] - Failing to save storage allocated by - "this->_kdTreePrototype->cloneType()" leaks it. - -2011-05-24 10:18 robert - - * src/osg/Image.cpp: Fixed Coverity issue. - - CID 11692: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _allocationMode is not initialized in - this constructor nor in any functions that it calls. - -2011-05-24 10:18 robert - - * src/osg/GLBeginEndAdapter.cpp: Fixed Coverity issue. - - CID 11668: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _primitiveMode is not initialized in this - constructor nor in any functions that it calls. - -2011-05-24 10:16 robert - - * src/osg/Geometry.cpp: Fixed 3 Coverity issues. - - CID 11697: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _type is not initialized in this - constructor nor in any functions that it calls. - - CID 11698: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _type is not initialized in this - constructor nor in any functions that it calls. - - CID 12329: Resource leak (RESOURCE_LEAK) - Calling allocation function "osg::Object::clone(osg::CopyOp const - &) const". (The virtual call resolves to "osg::Object * - GDALPlugin::DataSetLayer::clone(osg::CopyOp const &) const".) - [show details] - Failing to save storage allocated by - "this->getVertexArray()->clone(struct osg::CopyOp const(128U))" - leaks it. - -2011-05-24 10:15 robert - - * src/osg/FrameStamp.cpp: Fixed Coverity issue. - - CID 11696: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _simulationTime is not initialized in - this constructor nor in any functions that it calls. - -2011-05-24 10:15 robert - - * src/osg/FrameBufferObject.cpp: Fixed Coverity issue. - - CID 11695: Uninitialized pointer field (UNINIT_CTOR) - Non-static class member _ximpl is not initialized in this - constructor nor in any functions that it calls. - -2011-05-24 10:14 robert - - * src/osg/Drawable.cpp: Fixed Coverity issue. - - CID 11694: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _isARBOcclusionQuerySupported is not - initialized in this constructor nor in any functions that it - calls. - -2011-05-24 10:14 robert - - * include/osg/Drawable: Fixed Coverity issue. - - CID 11666: Uninitialized pointer field (UNINIT_CTOR) - Non-static class member _glMultiTexCoord1dv is not initialized in - this constructor nor in any functions that it calls. - Non-static class member _glVertexAttrib1dv is not initialized in - this constructor nor in any functions that it calls. - -2011-05-24 10:13 robert - - * src/osg/BufferObject.cpp: Fixed Coverity issue. - - CID 11691: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _isPBOSupported is not initialized in - this constructor nor in any functions that it calls. - Non-static class member _isUniformBufferObjectSupported is not - initialized in this constructor nor in any functions that it - calls. - -2011-05-24 10:08 robert - - * src/osgQt/GraphicsWindowQt.cpp: Fixed build error - -2011-05-23 16:58 robert - - * src/osgPlugins/txp/trpage_warchive.cpp, - src/osgPlugins/txp/trpage_write.h: Removed unused numX, numY - member variables, and added initializer for firstHeaderWrite. - -2011-05-23 08:17 robert - - * include/osgUtil/CullVisitor: Added - CullVisitor::setCalculatedNearPlane() and - setCalculatedFarPlane(() methods to enable 3rd party code to - manage the compute of the near/far planes. - -2011-05-19 13:25 robert - - * src/osgGA/FirstPersonManipulator.cpp: Uppded the default - acceleration as it was too slow for reasonable sized models - -2011-05-17 12:57 robert - - * src/osgDB/ExternalFileWriter.cpp: From Sukender, "There was a - stupid parameter inversion in ExternalFileWriter.cpp. - Sorry for this. Here is the fix." - -2011-05-17 09:21 robert - - * src/osgQt/GraphicsWindowQt.cpp: From Wang Rui, added close button - hint - -2011-05-16 12:44 robert - - * include/osgViewer/api/IOS/GraphicsWindowIOS, - src/osgViewer/GraphicsWindowIOS.mm: From Stephan Huber, "proposed - changes allows the user to add a osgGraphicsWindowIOS as an - UIView, respecting the sizes via GraphicsContext::Traits. - This helps users, who want to integrate osg into an existing - ios-app - with multiple UIViews. Additinally a view-controller gets only - created - if needed, set IGNORE_ORIENTATION via the WindowData-struct. - " - -2011-05-16 10:07 robert - - * src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/ReaderWriterDAE.h, - src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeReader.cpp, src/osgPlugins/dae/daeReader.h, - src/osgPlugins/dae/daeWAnimations.cpp, - src/osgPlugins/dae/daeWGeometry.cpp, - src/osgPlugins/dae/daeWMaterials.cpp, - src/osgPlugins/dae/daeWSceneObjects.cpp, - src/osgPlugins/dae/daeWTransforms.cpp, - src/osgPlugins/dae/daeWriter.cpp, src/osgPlugins/dae/daeWriter.h: - From Sukender, I wrapped my change about non-empty texture units - in an off-by-default option, so that it doesn't break any - existing code. But AFAIK, other readers (except OSGx) generate - contiguous texture units, so I guess this option to be useful for - users. - - Other changes in this sumbission include the added ability to - tessellate polygons in Collada reader, with appropriate options. - - No tessellation - - Tessellate as triangle fan (previous behaviour, kept as default - for backward-compatibility) - - Full tessellation - - I also put auto_ptr<> for RAII of DAE structure (as discussed), - and moved reader options in a structure, as for the writer. - - Code also make use of osgDB::ExternalFileWriter I submitted, so - please merge this submission after the PluginImageWriter one. - -2011-05-16 09:17 robert - - * examples/osgviewerQt/CMakeLists.txt, - examples/osgviewerQt/osgviewerQt.cpp, - examples/osgviewerQt/osgviewerQtContext.cpp: Renamed example from - osgviewerQtContext to osgviewerQt. - -2011-05-16 09:16 robert - - * examples/osgqfont/osgqfont.cpp: Updated example to use new - GraphicsWindowQt::getGLWidget() method instead of deprecated - getGraphWidget() method - -2011-05-16 09:15 robert - - * examples/osgviewerQt/osgviewerQtContext.cpp: Added support for - setting threading model from command line and changed default - threading model to - CullDrawThreadPerContext. New command line options are: - - osgviewerQtContext --SingleThreaded - osgviewerQtContext --CullDrawThreadPerContext - osgviewerQtContext --DrawThreadPerContext - osgviewerQtContext --CullDrawThreadPerContext - -2011-05-16 09:06 robert - - * include/osgQt/GraphicsWindowQt, src/osgQt/GraphicsWindowQt.cpp: - From Jan Peciva, I have improved GraphicsWindowQt: - - - renamed osgQt::GraphWidget to osgQt::GLWidget - as it better fits to Qt naming (osgQt::GLWidget is derived from - QGLWidget - while recent GraphWidget... it is unclear, maybe QGraphicsView, - QGraphicsScene,....) - - added the code to properly manage ON_DEMAND rendering scheme - (involves osgQt::setViewer() and internal HeartBeat class) - - added forward key events functionality. It allows to not eat - the key events - by GLWidget, but it forwards them to Qt processing as well. - - destroying GLWidget before GraphicsWindowQt and vice versa does - not crash - the application - - it is possible to request particular QGLFormat in GLWidget - constructor - - added QtWindowingSystem class - - multithread OSG rendering improvements/fixes - - -- - - From Robert Osfield, added back in getGraphWidget() method for - backwards compatibility. - -2011-05-16 08:59 robert - - * include/osgQt/GraphicsWindowQt, src/osgQt/GraphicsWindowQt.cpp: - Fixed traling spaces - -2011-05-16 08:50 robert - - * include/osgDB/InputStream, include/osgDB/OutputStream: From Rafa - Gata, I've been playing around with serializers in order to use - it as a - "generic" property mechanism for osg::Object. - - The main problem I have found is that InputStream and - OutputStream - only takes the stream when you call start method, and in that - case it - attaches to the stream buffer some stuff, useful for files but - not for - runtime/gui usage. I have added a simple setInputIterator and - setOutputIterator to the classes so now you can easily serialize - values without version and other stuff. - - Writing matrix: - osgDB::OutputStream os(0); - std::stringstream sstream; - os.setOutputIterator(new AsciiOutputIterator(&sstream)); - os << matrix; - std::string value = sstream.str(); - - Reading matrix: - osgDB::InputStream is(0); - std::stringstream sstream(value); - is.setInputIterator(new AsciiInputIterator(&sstream)); - osg::Matrixf mat2; - is >> mat2; - - From Robert Osfield, added doxygen comments to clarify the role - of the methods. - -2011-05-15 08:27 robert - - * src/osgPlugins/fbx/WriterNodeVisitor.cpp: From Wang Rui, build - fix - -2011-05-13 19:19 robert - - * CMakeLists.txt, include/osg/Version: Updated SO version as the - osgText and osgQt libraries API have changed, albeit only by a - small amount. - -2011-05-13 19:08 robert - - * include/osgQt/QFontImplementation, include/osgText/Font, - include/osgText/Glyph, src/osgPlugins/freetype/FreeTypeFont.h, - src/osgPlugins/txf/TXFFont.h, src/osgQt/QFontImplementation.cpp, - src/osgText/DefaultFont.cpp, src/osgText/DefaultFont.h, - src/osgText/Font.cpp, src/osgText/Glyph.cpp: Fixed handling of - Font implementations that don't handle multiple font resolutions. - -2011-05-13 11:20 robert - - * src/osgPlugins/txf/TXFFont.cpp: Improved the size, advance and - bearing settings - -2011-05-12 18:52 robert - - * include/osg/View, src/osgPlugins/dicom/ReaderWriterDICOM.cpp: - Warning and build fixes - -2011-05-12 18:40 robert - - * include/osg/GraphicsCostEstimator: Added newline to end of file - -2011-05-12 14:07 robert - - * src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.h: From Sukender, ported - across to use the new osgDB::ExternalFileWriter - -2011-05-12 13:27 robert - - * include/osgDB/ExternalFileWriter, include/osgDB/FileNameUtils, - src/osgDB/CMakeLists.txt, src/osgDB/ExternalFileWriter.cpp, - src/osgDB/FileNameUtils.cpp: From Sukender, new - ExternalFileWriter helper class that helps the management of - writing out external files to disk - avoid writing out of duplicates. - -2011-05-12 13:12 robert - - * include/osgUtil/TransformAttributeFunctor, - src/osgUtil/TransformAttributeFunctor.cpp: From Sukender, "Here - is a tiny fix which adds missing virtual methods in - osgUtil::TransformAttributeFunctor, to handle Vec3d." - -2011-05-12 13:08 robert - - * include/osgAnimation/RigTransform: Removed unused parameter - -2011-05-12 12:28 robert - - * examples/osg2cpp/osg2cpp.cpp: From Wang Rui, "A Chinese engineer - (named Beilei Geng) reports a possible bug in the - osg2cpp application to me today. The conversion result may become - incorrect if there are quotation marks ( " ) in the shader file, - which - will mostly appear in comment lines. - - Replace all " into \" before writing to cpp files will solve the - problem, as the attached file shows." - -2011-05-12 11:45 robert - - * src/CMakeLists.txt: From Rene Molenaar, "I have found a problem - regarding manifest in the plugins, - see - http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/src/CMakeLists.txt - the option OSG_MSVC_GENERATE_PLUGINS_AND_WRAPPERS_MANIFESTS is - set to ON only after the subdirectories are added, - this causes /MANIFEST:NO while the option is ON after the first - configure, generate. - - if this option is moved (i.e. above the ADD_SUBDIRECTORY - statement) results are as expected. - - attached you will find the correct CMakeLists.txt - " - -2011-05-12 10:28 robert - - * include/osgQt/QFontImplementation: Removed redundent method - -2011-05-12 10:10 robert - - * src/osgPlugins/txf/TXFFont.cpp, src/osgPlugins/txf/TXFFont.h: - Added setting of size. - -2011-05-09 10:54 robert - - * src/osgSim/ImpostorSprite.cpp: Fixed Coverity reported issue. - - CID 11812: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _lastFrameUsed is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _s is not initialized in this constructor - nor in any functions that it calls. - Non-static class member _t is not initialized in this constructor - nor in any functions that it calls. - -2011-05-09 10:54 robert - - * src/osgSim/LightPointDrawable.cpp: Fixed Coverity reported issue. - - CID 11813: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _endian is not initialized in this - constructor nor in any functions that it calls. - -2011-05-09 10:53 robert - - * src/osgSim/OverlayNode.cpp: Fixed Coverity reported issue. - - CID 11814: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _updateCamera is not initialized in this - constructor nor in any functions that it calls. - -2011-05-09 10:53 robert - - * include/osgSim/Sector: Fixed Coverity reported issue. - - CID 11815: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _cosMaxElevation is not initialized in - this constructor nor in any functions that it calls. - Non-static class member _cosMaxFadeElevation is not initialized - in this constructor nor in any functions that it calls. - Non-static class member _cosMinElevation is not initialized in - this constructor nor in any functions that it calls. - Non-static class member _cosMinFadeElevation is not initialized - in this constructor nor in any functions that it calls. - -2011-05-09 10:52 robert - - * src/osgSim/SphereSegment.cpp: Fixed 6 Coverity reported issues. - - CID 11820: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _azAngle is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _elevAngle is not initialized in this - constructor nor in any functions that it calls. - - CID 11819: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _BoundaryAngle is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _planeOrientation is not initialized in - this constructor nor in any functions that it calls. - - CID 11818: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _BoundaryAngle is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _planeOrientation is not initialized in - this constructor nor in any functions that it calls. - - CID 11817: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _distance is not initialized in this - constructor nor in any functions that it calls. - - CID 11817: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _distance is not initialized in this - constructor nor in any functions that it calls. - - CID 11816: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _leftRightSurfaces is not initialized in - this constructor nor in any functions that it calls. - -2011-05-09 10:51 robert - - * src/osgUtil/CullVisitor.cpp: Fixed 2 Coverty reported issues. - - CID 11821: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _traversalNumber is not initialized in - this constructor nor in any functions that it calls. - - CID 11822: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _traversalNumber is not initialized in - this constructor nor in any functions that it calls. - -2011-05-08 12:06 robert - - * CMakeLists.txt, include/osg/Version: Updated version number to - 2.9.15 after dev release - -2011-05-08 11:57 robert - - * AUTHORS.txt: Updated AUTHORS for 2.9.14 dev release - -2011-05-08 11:56 robert - - * ChangeLog: Update ChangeLog - -2011-05-06 16:46 robert - - * include/osgDB/Registry, src/osgDB/Registry.cpp: Added - osg::ref_ptr - osgDB::Registry::getRefFromArchiveCache() and - osg::ref_ptr - osgDB::Registry::getRefFromObjectCache(). - -2011-05-06 12:32 robert - - * include/osgUtil/SceneGraphBuilder: Removed trailing spaces - -2011-05-06 12:30 robert - - * include/osgUtil/PolytopeIntersector: Fixed Coverity reported - issue. - - CID 11828: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member distance is not initialized in this - constructor nor in any functions that it calls. - Non-static class member maxDistance is not initialized in this - constructor nor in any functions that it calls. - Non-static class member numIntersectionPoints is not initialized - in this constructor nor in any functions that it calls. - Non-static class member primitiveIndex is not initialized in this - constructor nor in any functions that it calls. - -2011-05-06 12:30 robert - - * include/osgVolume/Property: Moved constructor implementation into - .cpp - -2011-05-06 12:27 robert - - * src/osgVolume/Property.cpp: Fixed Coverity reported issue. - - CID 11838: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _alphaFuncKey is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _cyleBackwardKey is not initialized in - this constructor nor in any functions that it calls. - Non-static class member _cyleForwardKey is not initialized in - this constructor nor in any functions that it calls. - Non-static class member _sampleDensityKey is not initialized in - this constructor nor in any functions that it calls. - Non-static class member _transparencyKey is not initialized in - this constructor nor in any functions that it calls. - Non-static class member _updateAlphaCutOff is not initialized in - this constructor nor in any functions that it calls. - Non-static class member _updateSampleDensity is not initialized - in this constructor nor in any functions that it calls. - Non-static class member _updateTransparency is not initialized in - this constructor nor in any functions that it calls. - -2011-05-06 12:26 robert - - * src/osgUtil/PolytopeIntersector.cpp: Fixed Coverity reported - issue. - - CID 11827: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _plane_mask is not initialized in this - constructor nor in any functions that it calls. - -2011-05-06 12:25 robert - - * src/osgUtil/PlaneIntersector.cpp: Fixed Coverity reported issue. - - CID 11826: Uninitialized scalar field (UNINIT_CTOR) - Class member declaration for _recordHeightsAsAttributes. - -2011-05-06 12:25 robert - - * src/osgUtil/Simplifier.cpp: Fixed Coverity reported issue. - - CID 11830: Uninitialized pointer field (UNINIT_CTOR) - Non-static class member _geometry is not initialized in this - constructor nor in any functions that it calls. - -2011-05-06 12:24 robert - - * src/osgUtil/IntersectVisitor.cpp: Fixed Coverity reported issue. - - CID 11825: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _primitiveIndex is not initialized in - this constructor nor in any functions that it calls. - Non-static class member _ratio is not initialized in this - constructor nor in any functions that it calls. - - CID 11824: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _hit is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _index is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _length is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _ratio is not initialized in this - constructor nor in any functions that it calls. - -2011-05-06 12:23 robert - - * src/osgUtil/SceneGraphBuilder.cpp: Fixed Coverity reported issue. - - CID 11829: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _primitiveMode is not initialized in this - constructor nor in any functions that it calls. - -2011-05-06 12:22 robert - - * include/osgViewer/ViewerEventHandlers: Fixed Coverity reported - issue. - - CID 11836: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _fullscreen is not initialized in this - constructor nor in any functions that it calls. - -2011-05-06 12:22 robert - - * src/osgViewer/PixelBufferWin32.cpp: Fixed Coverity reported - issue. - - CID 11831: Uninitialized pointer field (UNINIT_CTOR) - Non-static class member _context is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _dc is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _handle is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _instance is not initialized in this - constructor nor in any functions that it calls. - -2011-05-06 12:21 robert - - * src/osgViewer/View.cpp: Fixed Coverity reported issue. - - CID 11835: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _startTick is not initialized in this - constructor nor in any functions that it calls. - -2011-05-06 12:20 robert - - * src/osgViewer/StatsHandler.cpp: Fixed Coverity reported issues. - - CID 11834: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _tickLastUpdated is not initialized in - this constructor nor in any functions that it calls. - Non-static class member _tmpText is not initialized in this - constructor nor in any functions that it calls. - - CID 11833: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _tmpText is not initialized in this - constructor nor in any functions that it calls. - -2011-05-06 10:30 robert - - * include/osgParticle/ExplosionOperator: Fixed Coverity reported - issues. - - CID 11843: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _inexp is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _outexp is not initialized in this - constructor nor in any functions that it calls. - - CID 11842: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _inexp is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _outexp is not initialized in this - constructor nor in any functions that it calls. - -2011-05-06 10:29 robert - - * include/osgWidget/WindowManager, src/osgWidget/Frame.cpp, - src/osgWidget/Window.cpp, src/osgWidget/WindowManager.cpp: Fixed - Coverity reported issues. - - - WindowManager.cpp - CID 11841: Uninitialized pointer field (UNINIT_CTOR) - Non-static class member _lastEvent is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _lastPush is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _view is not initialized in this - constructor nor in any functions that it calls. - - Frame.cpp - CID 11840: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _flags is not initialized in this - constructor nor in any functions that it calls. - - Window.cpp - CID 11839: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _index is not initialized in this - constructor nor in any functions that it calls. - -2011-05-06 10:28 robert - - * src/osgPlugins/dw/ReaderWriterDW.cpp: Fixed Coverity reported - issue - - CID 11441: Non-array delete for scalars (DELETE_ARRAY) - "_dwobj::readOpenings(_iobuf *, int)" allocates "obj.fc1". [show - details] - - "_dwobj::~_dwobj()" uses delete on "obj.fc1" which is an array. - It should be deleted with operator delete[]. [show details] - -2011-05-06 10:27 robert - - * src/osgPlugins/geo/ReaderWriterGEO.cpp: Fixed Covertiy reported - issues. - CID 11394: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new osg::IntArray". - Assigning: "this->colorindices" = "new osg::IntArray". - The constructor allocates field "colorindices" of "struct - vertexInfo" but there is no destructor. - - CID 11395: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new osg::IntArray". - Assigning: "this->coordindices" = "new osg::IntArray". - The constructor allocates field "coordindices" of "struct - vertexInfo" but there is no destructor. - - CID 11396: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new osg::IntArray". - Assigning: "this->normindices" = "new osg::IntArray". - The constructor allocates field "normindices" of "struct - vertexInfo" but there is no destructor. - - CID 11397: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new osg::IntArray". - Assigning: "this->txindices" = "new osg::IntArray". - The constructor allocates field "txindices" of "struct - vertexInfo" but there is no destructor. - - CID 11398: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new osg::Vec2Array". - Assigning: "this->txcoords" = "new osg::Vec2Array". - The constructor allocates field "txcoords" of "struct vertexInfo" - but there is no destructor. - - CID 11399: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new osg::Vec3Array". - Assigning: "this->norms" = "new osg::Vec3Array". - The constructor allocates field "norms" of "struct vertexInfo" - but there is no destructor. - - CID 11400: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new osg::Vec3Array". - Assigning: "this->coords" = "new osg::Vec3Array". - The constructor allocates field "coords" of "struct vertexInfo" - but there is no destructor. - - CID 11401: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new osg::Vec4Array". - Assigning: "this->colors" = "new osg::Vec4Array". - The constructor allocates field "colors" of "struct vertexInfo" - but there is no destructor. - - CID 11402: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new osg::Vec4Array". - Assigning: "this->polycols" = "new osg::Vec4Array". - The constructor allocates field "polycols" of "struct vertexInfo" - but there is no destructor. - -2011-05-06 09:26 robert - - * CMakeLists.txt, include/osg/Version: Updated SO version number - for dev release - -2011-05-06 09:22 robert - - * applications/present3D/Cluster.h, - applications/present3D/present3D.cpp: Fixed Coverity reported - issue. - - CID 11388: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new char[numBytes]". - Assigning: "this->_startPtr" = "new char[numBytes]". - The constructor allocates field "_startPtr" of "struct - DataConverter" but there is no destructor. - Assigning: "this->_currentPtr" = "new char[numBytes]". - The constructor allocates field "_currentPtr" of "struct - DataConverter" but there is no destructor. - -2011-05-06 09:21 robert - - * src/osg/Texture.cpp: Fixed Coverity reported issue. - - CID 12263: Missing break in switch (MISSING_BREAK) - This case (value 8) is not terminated by a 'break' statement. - - CID 12262: Missing break in switch (MISSING_BREAK) - This case (value 7) is not terminated by a 'break' statement. - - CID 12261: Missing break in switch (MISSING_BREAK) - This case (value 6) is not terminated by a 'break' statement. - -2011-05-06 09:21 robert - - * include/osg/PrimitiveSet: Fixed Coverity reported issues. - - CID 10392: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _maxIndex is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _minIndex is not initialized in this - constructor nor in any functions that it calls. - - CID 10454: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _maxIndex is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _minIndex is not initialized in this - constructor nor in any functions that it calls. - - CID 10505: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _maxIndex is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _minIndex is not initialized in this - constructor nor in any functions that it calls. - - CID 10919: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _maxIndex is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _minIndex is not initialized in this - constructor nor in any functions that it calls. - - CID 10920: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _maxIndex is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _minIndex is not initialized in this - constructor nor in any functions that it calls. - -2011-05-06 09:20 robert - - * src/osgPlugins/bsp/VBSPData.h, src/osgPlugins/bsp/VBSPReader.cpp, - src/osgPlugins/bsp/VBSPReader.h: Fixed Coverity reported issues. - - CID 11389: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new bsp::VBSPData". - Assigning: "this->bsp_data" = "new bsp::VBSPData". - The constructor allocates field "bsp_data" of "struct - bsp::VBSPReader" but the destructor and whatever functions it - calls do not free it. - -2011-05-06 09:19 robert - - * src/osgPlugins/dw/ReaderWriterDW.cpp: Fixed Coverity reported - issues by using ref_ptr<> for object. - - ID 11390: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new osg::Vec3Array". - Assigning: "this->vertices" = "new osg::Vec3Array". - The constructor allocates field "vertices" of "struct prims" but - the destructor and whatever functions it calls do not free it. - - CID 11391: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new osg::Vec3Array". - Assigning: "this->normals" = "new osg::Vec3Array". - The constructor allocates field "normals" of "struct prims" but - the destructor and whatever functions it calls do not free it. - - CID 11392: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new osg::Vec3Array". - Assigning: "this->txc" = "new osg::Vec3Array". - The constructor allocates field "txc" of "struct prims" but the - destructor and whatever functions it calls do not free it. - - CID 11393: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new osg::Vec3Array". - Assigning: "this->txcoords" = "new osg::Vec3Array". - The constructor allocates field "txcoords" of "struct prims" but - the destructor and whatever functions it calls do not free it. - - CID 11747: Uninitialized pointer field (UNINIT_CTOR) - Non-static class member gset is not initialized in this - constructor nor in any functions that it calls. - -2011-05-06 09:00 robert - - * include/osgDB/Serializer: Fixed build problem - -2011-05-05 12:40 robert - - * src/osgPlugins/dae/daeWriter.cpp: Fixed Coverity reported issue. - - CID 11845: Structurally dead code (UNREACHABLE) - This code cannot be reached: ".basic_string("");". - -2011-05-05 12:39 robert - - * src/osgPlugins/gif/ReaderWriterGIF.cpp: Fixed Coverity reported - issue. - - CID 11855: Use after free (USE_AFTER_FREE) - "operator delete[](void *)" frees "buffer". - -2011-05-05 12:38 robert - - * src/osgPlugins/3ds/lib3ds/lib3ds_node.c: Fixed Coverity reported - issue. This fix addresses a memory leak. - - CID 11847: Unused pointer value (UNUSED_VALUE) - Pointer "node" returned by "lib3ds_node_new(LIB3DS_NODE_CAMERA)" - is never used. - -2011-05-05 12:37 robert - - * include/osgDB/Serializer: Fixed Coverity reported issue. - - CID 11844: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _defaultValue is not initialized in this - constructor nor in any functions that it calls. - Index: ../include/osgDB/Serializer - -2011-05-05 11:31 robert - - * src/osgPlugins/dae/daeRGeometry.cpp: Fixed warning - -2011-05-05 11:27 robert - - * src/osgPlugins/dae/daeRMaterials.cpp: Fixed Coverity reported - issue. - - CID 11864: Wrapper object use after free (WRAPPER_ESCAPE) - Assigning: "szFilename" = "path.c_str()", which extracts wrapped - state from local "path". - -2011-05-05 10:31 robert - - * src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/geo/geoActions.cpp: Fixed 4 Coverity reported - issues - - CID 11851: Unused pointer value (UNUSED_VALUE) - Pointer "gfd" returned by "gr->getField(26)" is never used. - - CID 11850: Unused pointer value (UNUSED_VALUE) - Pointer "gfd" returned by "gr->getField(80)" is never used. - - CID 11849: Unused pointer value (UNUSED_VALUE) - Pointer "gfd" returned by "gr->getField(3)" is never used. - - CID 11848: Unused pointer value (UNUSED_VALUE) - Pointer "gfd" returned by "grec->getField(3)" is never used. - -2011-05-05 10:28 robert - - * applications/osgconv/osgconv.cpp: Fixed typo - -2011-05-04 16:36 robert - - * src/osgUtil/tristripper/include/public_types.h: From Mathias - Froehlich, build fix for gcc 4.6 - -2011-05-04 16:01 robert - - * include/osgViewer/ViewerEventHandlers, - include/osgViewer/api/Cocoa/GraphicsWindowCocoa, - src/osgViewer/GraphicsWindowCocoa.mm, - src/osgViewer/ViewerEventHandlers.cpp: From Stephan Huber, - "attached you'll find a small enhancement for GraphicsWindowCocoa - to - implement the recently introduced setSyncToVBlank-method. - - Additionally I added a ToggleSyncToVBlank-eventhandler to - osgViewer. I - used it to test the code, perhaps you'll find it useful and - include it - in the distribution." - -2011-05-04 09:53 robert - - * src/osgVolume/CMakeLists.txt, src/osgWidget/CMakeLists.txt: - Removed unncessary references to FREETYPE - -2011-05-04 09:48 robert - - * CMakeModules/FindFBX.cmake: From Michael Platings, fix for build - with cmake 2.6.x - -2011-05-03 12:43 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: Added OSGVIEWER_EXPORT - -2011-05-03 10:14 robert - - * src/osgViewer/GraphicsWindowX11.cpp: Added missing break; - -2011-05-03 09:58 robert - - * CMakeModules/FindFBX.cmake: From Michael Platings, "I've updated - the FBX plugin to use the latest FBX SDK (2012.1). Please apply - the attached .cmake which finds the correct SDK headers & - libraries." - -2011-05-03 09:11 mplatings - - * src/osgPlugins/fbx/CMakeLists.txt, - src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/ReaderWriterFBX.h, - src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.h, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.h, - src/osgPlugins/fbx/fbxRAnimation.cpp, - src/osgPlugins/fbx/fbxRCamera.cpp, - src/osgPlugins/fbx/fbxRLight.cpp, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRNode.cpp, - src/osgPlugins/fbx/fbxReader.h: Updated to use FBX SDK 2012.1 - -2011-04-29 16:50 robert - - * src/osgPlugins/osga/OSGA_Archive.cpp: Improved the handling of - different combinations of slashes and dirNames. - -2011-04-29 16:34 robert - - * include/osgDB/Archive, src/osgPlugins/osga/OSGA_Archive.cpp, - src/osgPlugins/osga/OSGA_Archive.h: Added following methods to - osgDB::Archive in support of work by Fradley Anderegg on .zip - archive support: - - /** Get the file name which represents the archived file.*/ - virtual std::string getArchiveFileName() const = 0; - - /** return type of file. */ - virtual FileType getFileType(const std::string& filename) const = - 0; - - /** return the contents of a directory. - * returns an empty array on any error.*/ - virtual DirectoryContents getDirectoryContents(const std::string& - dirName) const = 0; - - Added implementations of these new methods into - src/osgPlugins/osga/OSGA_Archive.h - src/osgPlugins/osga/OSGA_Archive.cpp - -2011-04-29 14:31 robert - - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: Refactored the - libtiffOStreamSeekProc function so that it extendeds the stream - when the - requested file position is beyond the current end of the stream. - This fix addresses - a bug that occurred when writting to a streamstream. - -2011-04-29 09:16 robert - - * ChangeLog: Update ChangeLog - -2011-04-28 16:33 robert - - * include/osg/Object, src/osg/CopyOp.cpp: Fixed Coverity reported - issue. - - CID 11447: Unchecked dynamic_cast (FORWARD_NULL) - Dynamic cast to pointer "dynamic_cast (nc->clone(this))" can return null. - Assigning null: "first" = "dynamic_cast (nc->clone(this))". - - The clone() implementation is written using macro's so that it - always returns the type of Object - being cloned so it's normally safe to assume that a - dynamic_cast<> will always return a valid pointer as long - as the new T that involves creates a valid object. However, if - the class being cloned doesn't correctly - implement the clone() method then their potential for the - dynamic_cast to fail and will return a NULL and will - result in a memory leak of the object of paraent class that the - clone would have defaulted to. - - I've tightened up the CopyOp.cpp code to check the return type - and added better handling of the clone in the - osg::clone() methods so thay don't have any potential mememory - leaks and report warnings to OSG_WARN when - problems are encountered. It may be more apporpriate to throw an - exception so will need to ponder this - issue further. - -2011-04-28 10:23 robert - - * src/osg/ApplicationUsage.cpp: Fixed Coverity reported issue. - - CID 11403: Logically dead code (DEADCODE) - After this line, the value of "needspace" is equal to 0. - Assigning: "needspace" = "false". - - Technically the report is correct, but the code is just debugging - code that was there just in case - the code needed to be reviewed. This code is long since through - it's debugging stage so the code - is no longer really worth keeping so I've removed it for - cleanness sake. - -2011-04-28 10:23 robert - - * src/osg/ArrayDispatchers.cpp: Fixed Coverity reported issue. - - ID 11667: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _useVertexAttribAlias is not initialized - in this constructor nor in any functions that it calls. - - Member variable should have been initialized but this varaible - will have always been initialized in later code - before it was used anyway so wouldn't have resulted in a runtime - bug. - -2011-04-28 10:22 robert - - * src/osg/BufferObject.cpp: Fixed Coverity reported issue. - - CID 11414: Logically dead code (DEADCODE) - After this line, the value of "vboMemory" is equal to 0. - Assigning: "vboMemory" = "NULL". - - Another case of debugging code paths being picked out. I have - chosen to just delete these paths as the code - looks to be working fine and less code is better than more code - when it comes to maintenance. - -2011-04-27 16:37 robert - - * src/OpenThreads/win32/Win32BarrierPrivateData.h, - src/OpenThreads/win32/Win32ThreadBarrier.cpp: Fixed Coverity - reported issue. Issue is benign as all the member variables are - initialized in after construction, - but I've moved this initialization into the constructor to make - the code more managable. - - CID 11686: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member cnt is not initialized in this - constructor nor in any functions that it calls. - Non-static class member maxcnt is not initialized in this - constructor nor in any functions that it calls. - Non-static class member phase is not initialized in this - constructor nor in any functions that it calls. - -2011-04-27 16:35 robert - - * src/OpenThreads/win32/Win32Thread.cpp, - src/OpenThreads/win32/Win32ThreadPrivateData.h: Fixed 2 Coverity - reported issues. Both issues are benign, but I've addressed then - as with the changes the - code is clean and more mantainable. - - CID 11676: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member cancelMode is not initialized in this - constructor nor in any functions that it calls. - Non-static class member cpunum is not initialized in this - constructor nor in any functions that it calls. - Non-static class member detached is not initialized in this - constructor nor in any functions that it calls. - Non-static class member isRunning is not initialized in this - constructor nor in any functions that it calls. - Non-static class member stackSize is not initialized in this - constructor nor in any functions that it calls. - Non-static class member threadPolicy is not initialized in this - constructor nor in any functions that it calls. - Non-static class member threadPriority is not initialized in this - constructor nor in any functions that it calls. - Non-static class member uniqueId is not initialized in this - constructor nor in any functions that it calls. - - CID 11564: Unsigned compared against 0 (NO_EFFECT) - This less-than-zero comparison of an unsigned value is never - true. "cpunum < 0U". - -2011-04-27 16:06 robert - - * src/osg/DisplaySettings.cpp: Fixed Coverity reported issue. - - CID 11677: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _minimumNumberAccumAlphaBits is not - initialized in this constructor nor in any functions that it - calls. - Non-static class member _minimumNumberAccumBlueBits is not - initialized in this constructor nor in any functions that it - calls. - Non-static class member _minimumNumberAccumGreenBits is not - initialized in this constructor nor in any functions that it - calls. - Non-static class member _minimumNumberAccumRedBits is not - initialized in this constructor nor in any functions that it - calls. - -2011-04-27 16:06 robert - - * src/osg/BufferObject.cpp: Fixed Coverity reported issue. - - CID 11690: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _frameLastUsed is not initialized in this - constructor nor in any functions that it calls. - -2011-04-27 16:05 robert - - * src/osg/BlendColor.cpp: Fixed Coverity reported issue. - - CID 11689: Uninitialized pointer field (UNINIT_CTOR) - Non-static class member _glBlendColor is not initialized in this - constructor nor in any functions that it calls. - -2011-04-27 16:05 robert - - * src/osg/AutoTransform.cpp: Fixed 2 Coverity reported issues. - - CID 11681: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _previousHeight is not initialized in - this constructor nor in any functions that it calls. - Non-static class member _previousWidth is not initialized in this - constructor nor in any functions that it calls. - - CID 11688: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _previousHeight is not initialized in - this constructor nor in any functions that it calls. - Non-static class member _previousWidth is not initialized in this - constructor nor in any functions that it calls. - -2011-04-27 16:04 robert - - * src/osg/ArrayDispatchers.cpp: Fixed Coverity reported issue, in - this case it's a unused member variable so could just be deleted. - - CID 11687: Uninitialized pointer field (UNINIT_CTOR) - Non-static class member _glBeginEndAdapter is not initialized in - this constructor nor in any functions that it calls. - -2011-04-27 16:03 robert - - * src/osgShadow/ParallelSplitShadowMap.cpp: Fixed 3 Coverity - reported issues. CID 11622 is a bit of false positive as for - valid settings no leak would happen. - - CID 11810: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _setMaxFarDistance is not initialized in - this constructor nor in any functions that it calls. - - CID 11811: Uninitialized pointer field (UNINIT_CTOR) - Non-static class member _displayTexturesGroupingNode is not - initialized in this constructor nor in any functions that it - calls. - - CID 11622: Resource leak (RESOURCE_LEAK) - Calling allocation function "operator new(unsigned long long)". - Variable "" is not freed or pointed-to in - function "osg::StateSet::StateSet()". [show details] - Assigning: "sharedStateSet" = storage returned from "new - osg::StateSet". - 282 osg::StateSet* sharedStateSet = new osg::StateSet; - Variable "sharedStateSet" is not freed or pointed-to in function - "osg::Object::setDataVariance(osg::Object::DataVariance)". [show - details] - -2011-04-27 16:02 robert - - * src/osg/Texture.cpp: Fixed Coverity reported issue. - - CID 11588: Resource leak (RESOURCE_LEAK) - Calling allocation function "operator new[](unsigned long long)". - Assigning: "dataPtr" = storage returned from "new unsigned - char[newTotalSize]". - -2011-04-27 16:01 robert - - * src/osg/Geometry.cpp: Fixed 2 Coverity reported issues. - - Following are both false positives as the the scope they are in - will always assign the object to a ref counted - structure. I've modified the code to use ref_ptr<> to just make - it clear that it's underscope, although - this is not strictly neccessary as the code is OK, I introduced - this for clarity and robustness in - presence of exceptions. - - CID 11586: Resource leak (RESOURCE_LEAK) - Calling allocation function "operator new(unsigned long long)". - Variable "" is not freed or pointed-to in - function "osg::VertexBufferObject::VertexBufferObject()". [show - details] - Assigning: "vbo" = storage returned from "new - osg::VertexBufferObject". - - - CID 11587: Resource leak (RESOURCE_LEAK) - Calling allocation function "operator new(unsigned long long)". - Variable "" is not freed or pointed-to in - function "osg::ElementBufferObject::ElementBufferObject()". [show - details] - Assigning: "ebo" = storage returned from "new - osg::ElementBufferObject". - -2011-04-27 16:00 robert - - * src/osgPlugins/ply/plyfile.cpp: Fixed Coverity reported issue. - - CID 11636: Allocation size mismatch (SIZECHECK) - "my_alloc(sizeof (struct PlyProperty) /*36*/ * elem->nprops, - 1292, "..\\..\\..\\..\\src\\osgPlugins\\ply\\plyfile.cpp")" - allocates memory. [show details] - Allocating a multiple of 36 bytes to pointer "other->props", - which needs 8 bytes. - -2011-04-26 19:31 robert - - * src/osg/Geometry.cpp: Fixed 1 Coverity Low Impact issue "Unused - pointer value (UNUSED_VALUE) - Pointer "indices" returned by - "this->_vertexAttribList[0ULL].indices.get()" is never used." - - Report highlighted the fact that later code wasn't using the - indices variable when it should have been, so - potentially a higher impact that the severity suggested by - Coverity. - -2011-04-26 19:29 robert - - * src/osgPlugins/geo/ReaderWriterGEO.cpp: Fixed 3 Coverity Low - Impact performance issues relating to "Big parameter passed by - value". - -2011-04-26 15:24 robert - - * CMakeLists.txt, include/osg/Version: Updated version after 2.9.13 - dev release - -2011-04-26 14:55 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Updated ChangeLog and AUTHORS for 2.9.13 dev release - -2011-04-26 12:07 robert - - * examples/osgwidgetaddremove/osgwidgetaddremove.cpp, - examples/osgwidgetmenu/osgwidgetmenu.cpp: From Mattias Helsing, - "Fixes two of the osgWidget examples that were broken due to - changed - virtual function prototypes in osgWidget/EventInterface" - -2011-04-26 12:05 robert - - * include/osgViewer/api/Cocoa/GraphicsWindowCocoa, - src/osgViewer/GraphicsWindowCocoa.mm: From Craig Bosma,"Please - find attached a fix for shared contexts on OS X, with the Cocoa - backend. The NSOpenGLContext* _context member of - GraphicsHandleCocoa was never set on successfully creation, so - even if the dynamic_cast to GraphicsHandleCocoa succeeds, we get - a bogus (NULL) pointer on retrieving the actual NSOpenGLContext* - (line 1013). - - This should fix the problem, as well as cause GraphicsWindowCocoa - to report the correct name "GraphicsWindowCarbon" -> - "GraphicsWindowCocoa". - " - -2011-04-26 11:51 robert - - * src/osgDB/OutputStream.cpp: From Farshid Lashkari, "I believe - their is small error in how OutputStream handles the - WriteImageHint. In the "writeImage" method, it converts the - WriteImageHint to an internal "decision" flag. During this - conversion, it seems to be swapping the behavior for - WRITE_EXTERNAL_FILE and WRITE_USE_EXTERNAL. I've attached what I - believe to be the correct conversion." - -2011-04-21 17:16 robert - - * CMakeModules/OsgMacroUtils.cmake, src/osgViewer/CMakeLists.txt: - From Mattias Helsing, "Fixes installation of the osgViewer - headers that got broken with rev - 12208 and 12231. - - The windowing system specific headers under - include/osgViewer/api/ are again installed under - include/osgViewer/api/ - - Works in recent ubuntu with cmake-2.8.4 and msvc2010 with - cmake-2.8.2" - -2011-04-21 17:04 robert - - * include/osg/Texture, src/osg/Image.cpp, src/osg/Texture.cpp, - src/osgPlugins/pvr/ReaderWriterPVR.cpp: From Johannes Baeuerele, - "I have extended the pvr reader plugin to support etc1 - compression(GL_ETC1_RGB8_OES). The changes attached to this - submission are based on today's trunk. - - The pvr format which can be used as a wrapper for different - compressed and uncompressed formats supports this compression - algorithm. The original pvr compression uses the pvrtc format. - The handling of pvrtc is already implemented in the pvr plugin. - PVR provides wrapper functionality for some formats, e.g. etc or - even dxt/dds. - - Our target system (gles2) is able to use the etc compression - format. With minor changes in the submitted files, there is no - need to write a separate plugin. However the original pvr texture - compression formats are not supported on our target, which is the - reason for this extension. - - The changes mainly consist in the definition on new enum values - in the classes and headers of ReaderWriterPVR,Image and Texture. - I also found some locations where the handling of the original - pvr textures was not implemented. These are also part of this - submission." - -2011-04-21 13:34 robert - - * include/osg/GraphicsContext, include/osgViewer/GraphicsWindow, - include/osgViewer/api/Win32/GraphicsWindowWin32, - src/osg/GraphicsContext.cpp, - src/osgViewer/GraphicsWindowWin32.cpp: From Marius Heise, "here - is a patch that implements Win32 HW-synced swapping using - wglJoinSwapGroupNV, wglBindSwapBarrierNV and the existing traits. - It was tested with multiple ATI FirePro S400 cards. - - I also fixed the vsync implementation introduced with rev.11357 - that was crashing with the Windows Error #170. So I removed your - temporary /* */ around the vsync condition..." - -2011-04-21 13:01 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Fred Smith, - "GraphicsWindowWin32::setWindow currently creates a context with - no regards to the Traits, like createWindow does. - - That is, it calls ::wglCreateContext to create a context, not the - member method createContextImplementation(), which takes into an - account the Traits. - - In my situation, this prevents a GL 3.x context from being - created. - " - -2011-04-21 12:53 robert - - * CMakeLists.txt, CMakeModules/OsgAndroidMacroUtils.cmake, - include/osg/GL, src/osg/GL2Extensions.cpp, - src/osg/GLExtensions.cpp: From Jorge Ciges, "1rst - Changes in - Cmake: They make possible "make install" with the android - building. - - 2nd - Script to use a 3rd party directory with basic libraries: - libjpeg,libpng,libtiff,giflib,freetype,curl,gdal. - - 3rd - Change in the GLES library loading for Android. That should - make GLES2 work properly. - - 4rth- Included two defines RGB8_OES and RGBA8_OES as a substitute - in GLES for RGB8 and RGBA8 - - 5th - OpenGL and GLSL version identification changed to recognize - GLES versions properly - " - -2011-04-21 12:12 robert - - * src/osgPlugins/dae/daeRMaterials.cpp: From Cedric Pinson, "I have - tried some model that produces crashes in the dae plugin because - of empty node: - - if (GetFloat4Param(cot->getParam()->getRef(), f4)) {...} - - in the model I have tested cot->getParam()->getRef() return 0x0 - and make - it crahes inside GetFloat4Param. - - I have added a test before calling GetFloat4Param - if (cot->getParam()->getRef() != 0 && - GetFloat4Param(cot->getParam()->getRef(), f4)) {...} - " - -2011-04-21 12:06 robert - - * include/osgViewer/api/IOS/GraphicsWindowIOS, - src/osgViewer/GraphicsWindowIOS.mm: From Tomas Hogarth, "Attached - are the complete changed files GraphicsWindowIOS and - GraphicsWindowIOS.mm. The change is in regard to the ability to - adapt to device orientation. We did just have a bool indicating - the window would adapt to all orientations. I have changed this - to a bit mask allowing the user to specify individual - orientations or combinations. - - enum DeviceOrientation{ - - PORTRAIT_ORIENTATION = 1<<0, - - PORTRAIT_UPSIDEDOWN_ORIENTATION = 1<<1, - - LANDSCAPE_LEFT_ORIENTATION = 1<<2, - - LANDSCAPE_RIGHT_ORIENTATION = 1<<3, - - ALL_ORIENTATIONS = PORTRAIT_ORIENTATION | - PORTRAIT_UPSIDEDOWN_ORIENTATION | LANDSCAPE_LEFT_ORIENTATION | - LANDSCAPE_RIGHT_ORIENTATION - - }; - - typedef unsigned int DeviceOrientationFlags; - - The main motivation for this is to easily allow the user to - specifiy that the device is in a horizontal orientation rather - then having to rotate the view matrix. All flags have been tested - individually as well as in combinations. The default is - ALL_ORIENTATIONS to keep the exiting functionality for anyone who - hasn't specified WindowData for their context traits. - " - -2011-04-20 19:20 robert - - * include/osgDB/FileNameUtils, src/osgDB/FileNameUtils.cpp: From - Sukender, Here is a tiny update to FileNameUtils. It brings - getPathRoot() and isAbsolutePath() to the public side of the lib. - -2011-04-20 17:15 robert - - * src/osgPlugins/jpeg/ReaderWriterJPEG.cpp: From Guillaume Taze, - "This is a fix for the error popups which appeared when reading a - corrupted file on windows. Errors are redirected to std::err - instead." - - Note from Robert Osfield, changed jpeg error report output from - stderr to standard OSG notification system using OSG_WARN. - -2011-04-20 11:45 robert - - * include/osg/FrameBufferObject, include/osgUtil/RenderBin, - include/osgUtil/RenderStage, src/osg/FrameBufferObject.cpp, - src/osg/GLObjects.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/RenderBin.cpp, src/osgUtil/RenderStage.cpp: Added - releaseGLObjects(State*) support into osg::FrameBufferObject, - osg::RenderBin and osg::RenderStage - to ensure proper clean up of FBO's on closing a graphics context. - -2011-04-19 14:19 robert - - * src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: From Magnus - Kessler, "A few minor fixes in the documentation strings of - ReaderWriterFLT.cpp" - -2011-04-19 14:11 robert - - * include/osgDB/Registry, src/osgDB/Registry.cpp: From Bradley - Anderegg, "The first change just exposes the archive extension - list so that - external applications can determine if an archive extension is - valid. - - The second change is a bug fix in Registry::read(const - ReadFunctor&) - where if you pass in valid options they get wiped out after the - archive - is loaded but before being passed along to the plugin." - -2011-04-19 13:32 robert - - * examples/osgspotlight/osgspotlight.cpp: From Paul Martz, "To - summarize the fix: OpenGL eye coords are negative outside - Cartesian quadrant 1. As a result, the center of projection is - eye coord (0,0), which (when used as st tex coords) looks up the - lower left corner of the texture. However, in projective - texturing, you usually want eye coord (0,0) to look up the center - of the texture. Accomplishing this mapping requires not just a - lookat and perspective transform, but also a translate and - scale." - -2011-04-19 12:01 robert - - * include/osgViewer/GraphicsWindow, include/osgViewer/ViewerBase, - src/osgViewer/CMakeLists.txt, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/GraphicsWindow.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/Viewer.cpp, - src/osgViewer/ViewerBase.cpp: From Jan Peciva, "please find - attached proposed fix for ON_DEMAND rendering. The biggest issue - was - that the windows did not act on repaint request (WM_PAINT, - EXPOSE,...) - - Detailed explanation: - - I implemented requestRedraw using the push approach (not using - GraphicsWindow::_requestRedraw flag that I was considering) as - there may be - multiple viewers reading the flag and fighting to reset it after - the paint - request, while some viewers may not spot the request to redraw - - I made windows call GraphicsWindow::requestRedraw when they - receive - appropriate message (WM_PAINT, EXPOSE, RESIZE,...) - - There were issues on Linux that windows did not want to close - using x - button. Resolved by moving the test for DeleteWindow event from - swapBuffersImplementation() to GraphicsWindowX11::checkEvents(). - The difficulty - was that DeleteWindow event is not coming using _eventDisplay, - but through - _display. - - The last difficulty was that it is necessary to call - ViewerBase::checkWindowStatus() to set _done to true when all - windows are - closed. This did not happened recently in ON_DEMAND run scheme. I - put the call - to checkWindowStatus() to eventTraversal. - " - -2011-04-19 11:46 robert - - * include/osgViewer/GraphicsWindow, include/osgViewer/ViewerBase, - src/osgViewer/CompositeViewer.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp, - src/osgViewer/ViewerBase.cpp: Removed spaces from end of lines - -2011-04-19 11:40 robert - - * CMakeLists.txt, CMakeModules/CheckAtomicOps.cmake, - CMakeModules/FindAndroidNDK.cmake, - CMakeModules/FindCoreVideo.cmake, - CMakeModules/FindDirectInput.cmake, - CMakeModules/FindDirectShow.cmake, CMakeModules/FindFBX.cmake, - CMakeModules/FindFFmpeg.cmake, CMakeModules/FindFOX.cmake, - CMakeModules/FindGDAL.cmake, CMakeModules/FindGtkGl.cmake, - CMakeModules/FindLibVNCServer.cmake, CMakeModules/FindNVTT.cmake, - CMakeModules/FindOSG.cmake, CMakeModules/FindOpenEXR.cmake, - CMakeModules/FindOurDCMTK.cmake, - CMakeModules/FindPoppler-glib.cmake, - CMakeModules/FindQTKit.cmake, CMakeModules/FindRSVG.cmake, - CMakeModules/OsgAndroidMacroUtils.cmake, - CMakeModules/OsgCPack.cmake, - CMakeModules/OsgCPackConfig.cmake.in, - CMakeModules/OsgDetermineCompiler.cmake, - CMakeModules/clean_directories, CTestConfig.cmake, - PlatformSpecifics/Android/Android.mk.master.in, - PlatformSpecifics/Android/Android.mk.modules.in, - PlatformSpecifics/Android/Android.mk.serializers.in, - PlatformSpecifics/Android/Android.mk.src.in, - PlatformSpecifics/Android/AndroidManifest.xml.master.in, - PlatformSpecifics/Android/Application.mk.master.in, - PlatformSpecifics/Windows/OpenSceneGraphVersionInfo.rc.in, - PlatformSpecifics/Windows/OpenThreadsVersionInfo.rc.in, - PlatformSpecifics/Windows/VisualStudio_Syntax_Highlighting.txt, - applications/osgfilecache/CMakeLists.txt, - applications/osgfilecache/osgfilecache.cpp, - applications/osgversion/Contributors.cpp, - applications/present3D/CMakeLists.txt, - applications/present3D/Cluster.cpp, - applications/present3D/Cluster.h, - applications/present3D/ExportHTML.cpp, - applications/present3D/ExportHTML.h, - applications/present3D/PointsEventHandler.cpp, - applications/present3D/PointsEventHandler.h, - applications/present3D/ReadShowFile.cpp, - applications/present3D/ReadShowFile.h, - applications/present3D/SDLIntegration.cpp, - applications/present3D/SDLIntegration.h, - applications/present3D/ShowEventHandler.cpp, - applications/present3D/ShowEventHandler.h, - applications/present3D/SpellChecker.cpp, - applications/present3D/SpellChecker.h, - applications/present3D/present3D.cpp, configure, - doc/Doxyfiles/doxyfile.cmake, - doc/Doxyfiles/openthreads.doxyfile.cmake, - examples/osg2cpp/CMakeLists.txt, examples/osg2cpp/osg2cpp.cpp, - examples/osgQtBrowser/CMakeLists.txt, - examples/osgQtBrowser/osgQtBrowser.cpp, - examples/osgQtWidgets/CMakeLists.txt, - examples/osgQtWidgets/osgQtWidgets.cpp, - examples/osganalysis/CMakeLists.txt, - examples/osganalysis/osganalysis.cpp, - examples/osganimationeasemotion/CMakeLists.txt, - examples/osganimationeasemotion/osganimationeasemotion.cpp, - examples/osganimationhardware/CMakeLists.txt, - examples/osganimationhardware/osganimationhardware.cpp, - examples/osganimationmakepath/CMakeLists.txt, - examples/osganimationmakepath/osganimationmakepath.cpp, - examples/osganimationmorph/CMakeLists.txt, - examples/osganimationmorph/osganimationmorph.cpp, - examples/osganimationnode/CMakeLists.txt, - examples/osganimationnode/osganimationnode.cpp, - examples/osganimationskinning/CMakeLists.txt, - examples/osganimationskinning/osganimationskinning.cpp, - examples/osganimationsolid/CMakeLists.txt, - examples/osganimationsolid/osganimationsolid.cpp, - examples/osganimationtimeline/CMakeLists.txt, - examples/osganimationtimeline/osganimationtimeline.cpp, - examples/osganimationviewer/AnimtkViewer, - examples/osganimationviewer/AnimtkViewer.cpp, - examples/osganimationviewer/AnimtkViewerGUI, - examples/osganimationviewer/AnimtkViewerGUI.cpp, - examples/osganimationviewer/AnimtkViewerKeyHandler, - examples/osganimationviewer/AnimtkViewerKeyHandler.cpp, - examples/osganimationviewer/CMakeLists.txt, - examples/osgautocapture/CMakeLists.txt, - examples/osgautocapture/osgautocapture.cpp, - examples/osgcluster/CMakeLists.txt, - examples/osgdatabaserevisions/CMakeLists.txt, - examples/osgdatabaserevisions/osgdatabaserevisions.cpp, - examples/osgdepthpeeling/CMakeLists.txt, - examples/osgdepthpeeling/DePee.cpp, - examples/osgdepthpeeling/DePee.h, - examples/osgdepthpeeling/DePeePass.cpp, - examples/osgdepthpeeling/DePeePass.h, - examples/osgdepthpeeling/Utility.cpp, - examples/osgdepthpeeling/Utility.h, - examples/osgdepthpeeling/osgdepthpeeling.cpp, - examples/osgdirectinput/CMakeLists.txt, - examples/osgdirectinput/DirectInputRegistry, - examples/osgdirectinput/DirectInputRegistry.cpp, - examples/osgdirectinput/osgdirectinput.cpp, - examples/osgdrawinstanced/CMakeLists.txt, - examples/osgdrawinstanced/osgdrawinstanced.cpp, - examples/osgfont/CMakeLists.txt, examples/osgfont/osgfont.cpp, - examples/osgfpdepth/CMakeLists.txt, - examples/osgfpdepth/osgfpdepth.cpp, - examples/osggameoflife/CMakeLists.txt, - examples/osggameoflife/GameOfLifePass.cpp, - examples/osggameoflife/GameOfLifePass.h, - examples/osggameoflife/osggameoflife.cpp, - examples/osggeometryshaders/CMakeLists.txt, - examples/osggeometryshaders/osggeometryshaders.cpp, - examples/osggpx/CMakeLists.txt, examples/osggpx/osggpx.cpp, - examples/osggraphicscost/CMakeLists.txt, - examples/osggraphicscost/osggraphicscost.cpp, - examples/osgimagesequence/CMakeLists.txt, - examples/osgimagesequence/osgimagesequence.cpp, - examples/osgkdtree/CMakeLists.txt, - examples/osgkdtree/osgkdtree.cpp, - examples/osgmemorytest/CMakeLists.txt, - examples/osgmemorytest/osgmemorytest.cpp, - examples/osgmultiplerendertargets/CMakeLists.txt, - examples/osgmultiplerendertargets/osgmultiplerendertargets.cpp, - examples/osgmultitexturecontrol/CMakeLists.txt, - examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp, - examples/osgmultiviewpaging/CMakeLists.txt, - examples/osgmultiviewpaging/osgmultiviewpaging.cpp, - examples/osgocclusionquery/CMakeLists.txt, - examples/osgocclusionquery/osgocclusionquery.cpp, - examples/osgoit/CMakeLists.txt, examples/osgoit/osgoit.cpp, - examples/osgoutline/CMakeLists.txt, - examples/osgoutline/osgoutline.cpp, - examples/osgpackeddepthstencil/CMakeLists.txt, - examples/osgpackeddepthstencil/osgpackeddepthstencil.cpp, - examples/osgparticleshader/CMakeLists.txt, - examples/osgparticleshader/osgparticleshader.cpp, - examples/osgpdf/CMakeLists.txt, examples/osgpdf/osgpdf.cpp, - examples/osgposter/CMakeLists.txt, - examples/osgposter/PosterPrinter.cpp, - examples/osgposter/PosterPrinter.h, - examples/osgposter/osgposter.cpp, - examples/osgqfont/CMakeLists.txt, examples/osgqfont/osgqfont.cpp, - examples/osgrobot/CMakeLists.txt, examples/osgrobot/osgrobot.cpp, - examples/osgscreencapture/CMakeLists.txt, - examples/osgscreencapture/osgscreencapture.cpp, - examples/osgshadercomposition/CMakeLists.txt, - examples/osgshadercomposition/osgshadercomposition.cpp, - examples/osgshadergen/CMakeLists.txt, - examples/osgshadergen/osgshadergen.cpp, - examples/osgshadow/IslandScene.cpp, - examples/osgshadow/IslandScene.h, - examples/osgshadow/terrain_coords.h, - examples/osgsharedarray/CMakeLists.txt, - examples/osgsharedarray/osgsharedarray.cpp, - examples/osgsidebyside/CMakeLists.txt, - examples/osgsidebyside/osgsidebyside.cpp, - examples/osgstaticviewer/osgstaticviewer.cpp, - examples/osgstereomatch/CMakeLists.txt, - examples/osgstereomatch/README.txt, - examples/osgstereomatch/StereoMultipass.cpp, - examples/osgstereomatch/StereoMultipass.h, - examples/osgstereomatch/StereoPass.cpp, - examples/osgstereomatch/StereoPass.h, - examples/osgstereomatch/osgstereomatch.cpp, - examples/osgterrain/CMakeLists.txt, - examples/osgterrain/osgterrain.cpp, - examples/osgtext3D/CMakeLists.txt, - examples/osgtext3D/TextNode.cpp, examples/osgtext3D/TextNode.h, - examples/osgtext3D/osgtext3D.cpp, - examples/osgtext3D/osgtext3D_orig.cpp, - examples/osgtext3D/osgtext3D_test.cpp, - examples/osgtexturecompression/CMakeLists.txt, - examples/osgtexturecompression/osgtexturecompression.cpp, - examples/osgthirdpersonview/CMakeLists.txt, - examples/osgthirdpersonview/osgthirdpersonview.cpp, - examples/osgthreadedterrain/osgthreadedterrain.cpp, - examples/osguniformbuffer/CMakeLists.txt, - examples/osguniformbuffer/osguniformbuffer.cpp, - examples/osgunittests/FileNameUtils.cpp, - examples/osgunittests/MultiThreadRead.cpp, - examples/osgunittests/MultiThreadRead.h, - examples/osguserstats/CMakeLists.txt, - examples/osguserstats/osguserstats.cpp, - examples/osgvertexattributes/CMakeLists.txt, - examples/osgvertexattributes/osgvertexattributes.cpp, - examples/osgviewerCocoa/CMakeLists.txt, - examples/osgviewerCocoa/English.lproj/Localizable.strings, - examples/osgviewerCocoa/English.lproj/MainMenu.nib/classes.nib, - examples/osgviewerCocoa/English.lproj/MainMenu.nib/info.nib, - examples/osgviewerCocoa/ViewerCocoa.h, - examples/osgviewerCocoa/ViewerCocoa.mm, - examples/osgviewerFOX/CMakeLists.txt, - examples/osgviewerFOX/FOX_OSG.cpp, - examples/osgviewerFOX/FOX_OSG.h, - examples/osgviewerFOX/FOX_OSG_MDIView.cpp, - examples/osgviewerFOX/FOX_OSG_MDIView.h, - examples/osgviewerFOX/osgviewerFOX.cpp, - examples/osgviewerFOX/osgviewerFOX.h, - examples/osgviewerGTK/CMakeLists.txt, - examples/osgviewerGTK/osggtkdrawingarea.cpp, - examples/osgviewerGTK/osggtkdrawingarea.h, - examples/osgviewerGTK/osgviewerGTK.cpp, - examples/osgviewerIPhone/CMakeLists.txt, - examples/osgviewerIPhone/iphoneViewerAppDelegate.h, - examples/osgviewerIPhone/iphoneViewerAppDelegate.mm, - examples/osgviewerIPhone/main.m, - examples/osgviewerIPhone/osgIPhoneViewer-Info.plist, - examples/osgviewerIPhone/osgPlugins.h, - examples/osgviewerMFC/ChildFrm.cpp, - examples/osgviewerMFC/ChildFrm.h, - examples/osgviewerMFC/MFC_OSG.cpp, - examples/osgviewerMFC/MFC_OSG.h, - examples/osgviewerMFC/MFC_OSG_MDI.cpp, - examples/osgviewerMFC/MFC_OSG_MDI.h, - examples/osgviewerMFC/MFC_OSG_MDI.rc, - examples/osgviewerMFC/MFC_OSG_MDIDoc.cpp, - examples/osgviewerMFC/MFC_OSG_MDIDoc.h, - examples/osgviewerMFC/MFC_OSG_MDIView.cpp, - examples/osgviewerMFC/MFC_OSG_MDIView.h, - examples/osgviewerMFC/MainFrm.cpp, - examples/osgviewerMFC/MainFrm.h, - examples/osgviewerMFC/ReadMe.txt, - examples/osgviewerMFC/Resource.h, - examples/osgviewerMFC/res/MFC_OSG_MDI.rc2, - examples/osgviewerMFC/stdafx.cpp, examples/osgviewerMFC/stdafx.h, - examples/osgviewerQt/CMakeLists.txt, - examples/osgviewerQt/osgviewerQtContext.cpp, - examples/osgviewerWX/osgviewerWX.cpp, - examples/osgviewerWX/osgviewerWX.h, - examples/osgvirtualprogram/CMakeLists.txt, - examples/osgvirtualprogram/CreateAdvancedHierachy.cpp, - examples/osgvirtualprogram/CreateSimpleHierachy.cpp, - examples/osgvirtualprogram/VirtualProgram.cpp, - examples/osgvirtualprogram/VirtualProgram.h, - examples/osgvirtualprogram/osgvirtualprogram.cpp, - examples/osgvnc/CMakeLists.txt, examples/osgvnc/osgvnc.cpp, - examples/osgwidgetaddremove/CMakeLists.txt, - examples/osgwidgetaddremove/osgwidgetaddremove.cpp, - examples/osgwidgetbox/CMakeLists.txt, - examples/osgwidgetbox/osgwidgetbox.cpp, - examples/osgwidgetcanvas/CMakeLists.txt, - examples/osgwidgetcanvas/osgwidgetcanvas.cpp, - examples/osgwidgetframe/CMakeLists.txt, - examples/osgwidgetframe/osgwidgetframe.cpp, - examples/osgwidgetinput/CMakeLists.txt, - examples/osgwidgetinput/osgwidgetinput.cpp, - examples/osgwidgetlabel/CMakeLists.txt, - examples/osgwidgetlabel/osgwidgetlabel.cpp, - examples/osgwidgetmenu/CMakeLists.txt, - examples/osgwidgetmenu/osgwidgetmenu.cpp, - examples/osgwidgetmessagebox/CMakeLists.txt, - examples/osgwidgetmessagebox/osgwidgetmessagebox.cpp, - examples/osgwidgetnotebook/CMakeLists.txt, - examples/osgwidgetnotebook/osgwidgetnotebook.cpp, - examples/osgwidgetperformance/CMakeLists.txt, - examples/osgwidgetperformance/osgwidgetperformance.cpp, - examples/osgwidgetprogress/CMakeLists.txt, - examples/osgwidgetprogress/osgwidgetprogress.cpp, - examples/osgwidgetscrolled/CMakeLists.txt, - examples/osgwidgetscrolled/osgwidgetscrolled.cpp, - examples/osgwidgetshader/CMakeLists.txt, - examples/osgwidgetshader/osgwidgetshader.cpp, - examples/osgwidgetstyled/CMakeLists.txt, - examples/osgwidgetstyled/osgwidgetstyled.cpp, - examples/osgwidgettable/CMakeLists.txt, - examples/osgwidgettable/osgwidgettable.cpp, - examples/osgwidgetwindow/CMakeLists.txt, - examples/osgwidgetwindow/osgwidgetwindow.cpp, - include/osg/Version, include/osgViewer/Renderer, - include/osgViewer/ViewerBase, - include/osgViewer/ViewerEventHandlers, - include/osgViewer/api/Carbon/GraphicsHandleCarbon, - include/osgViewer/api/Carbon/PixelBufferCarbon, - include/osgViewer/api/Cocoa/GraphicsHandleCocoa, - include/osgViewer/api/Cocoa/GraphicsWindowCocoa, - include/osgViewer/api/Cocoa/PixelBufferCocoa, - include/osgViewer/api/IOS/GraphicsWindowIOS, - include/osgViewer/api/Win32/GraphicsHandleWin32, - include/osgViewer/api/Win32/PixelBufferWin32, - include/osgViewer/api/X11/GraphicsHandleX11, - include/osgViewer/api/X11/PixelBufferX11, - include/osgVolume/Export, - include/osgVolume/FixedFunctionTechnique, - include/osgVolume/Layer, include/osgVolume/Locator, - include/osgVolume/Property, include/osgVolume/RayTracedTechnique, - include/osgVolume/Version, include/osgVolume/Volume, - include/osgVolume/VolumeTechnique, include/osgVolume/VolumeTile, - include/osgWidget/Box, include/osgWidget/Browser, - include/osgWidget/Canvas, include/osgWidget/EventInterface, - include/osgWidget/Export, include/osgWidget/Frame, - include/osgWidget/Input, include/osgWidget/Label, - include/osgWidget/Lua, include/osgWidget/PdfReader, - include/osgWidget/Python, include/osgWidget/ScriptEngine, - include/osgWidget/StyleInterface, include/osgWidget/StyleManager, - include/osgWidget/Table, include/osgWidget/Types, - include/osgWidget/UIObjectParent, include/osgWidget/Util, - include/osgWidget/Version, include/osgWidget/ViewerEventHandlers, - include/osgWidget/VncClient, include/osgWidget/Widget, - include/osgWidget/Window, include/osgWidget/WindowManager, - packaging/ld.so.conf.d/openscenegraph.conf.in, - packaging/pkgconfig/openscenegraph-osg.pc.in, - packaging/pkgconfig/openscenegraph-osgAnimation.pc.in, - packaging/pkgconfig/openscenegraph-osgDB.pc.in, - packaging/pkgconfig/openscenegraph-osgFX.pc.in, - packaging/pkgconfig/openscenegraph-osgGA.pc.in, - packaging/pkgconfig/openscenegraph-osgManipulator.pc.in, - packaging/pkgconfig/openscenegraph-osgParticle.pc.in, - packaging/pkgconfig/openscenegraph-osgQt.pc.in, - packaging/pkgconfig/openscenegraph-osgShadow.pc.in, - packaging/pkgconfig/openscenegraph-osgSim.pc.in, - packaging/pkgconfig/openscenegraph-osgTerrain.pc.in, - packaging/pkgconfig/openscenegraph-osgText.pc.in, - packaging/pkgconfig/openscenegraph-osgUtil.pc.in, - packaging/pkgconfig/openscenegraph-osgViewer.pc.in, - packaging/pkgconfig/openscenegraph-osgVolume.pc.in, - packaging/pkgconfig/openscenegraph-osgWidget.pc.in, - packaging/pkgconfig/openscenegraph.pc.in, - packaging/pkgconfig/openthreads.pc.in, - src/OpenThreads/CMakeLists.txt, - src/OpenThreads/common/Atomic.cpp, - src/OpenThreads/common/Config.in, - src/OpenThreads/common/Version.cpp, - src/OpenThreads/common/Version.in, - src/OpenThreads/pthreads/CMakeLists.txt, - src/OpenThreads/qt/CMakeLists.txt, - src/OpenThreads/qt/QtBarrier.cpp, - src/OpenThreads/qt/QtBarrierPrivateData.h, - src/OpenThreads/qt/QtCondition.cpp, - src/OpenThreads/qt/QtConditionPrivateData.h, - src/OpenThreads/qt/QtMutex.cpp, - src/OpenThreads/qt/QtMutexPrivateData.h, - src/OpenThreads/qt/QtThread.cpp, - src/OpenThreads/qt/QtThreadPrivateData.h, - src/OpenThreads/sproc/CMakeLists.txt, - src/OpenThreads/win32/CMakeLists.txt, - src/osg/ArrayDispatchers.cpp, src/osg/AudioStream.cpp, - src/osg/BufferIndexBinding.cpp, src/osg/ComputeBoundsVisitor.cpp, - src/osg/Config.in, src/osg/GL2Extensions.cpp, - src/osg/GLBeginEndAdapter.cpp, src/osg/GLObjects.cpp, - src/osg/GLStaticLibrary.cpp, src/osg/GLStaticLibrary.h, - src/osg/GraphicsCostEstimator.cpp, src/osg/Hint.cpp, - src/osg/ImageSequence.cpp, src/osg/ImageUtils.cpp, - src/osg/KdTree.cpp, src/osg/Math.cpp, src/osg/Observer.cpp, - src/osg/ObserverNodePath.cpp, src/osg/OcclusionQueryNode.cpp, - src/osg/OperationThread.cpp, src/osg/ShaderAttribute.cpp, - src/osg/ShaderComposer.cpp, src/osg/Texture2DArray.cpp, - src/osg/Texture2DMultisample.cpp, src/osg/TransferFunction.cpp, - src/osg/Version.in, src/osg/glu/libtess/README, - src/osg/glu/libtess/alg-outline, src/osg/glu/libtess/dict-list.h, - src/osg/glu/libtess/dict.cpp, src/osg/glu/libtess/dict.h, - src/osg/glu/libtess/geom.cpp, src/osg/glu/libtess/geom.h, - src/osg/glu/libtess/memalloc.cpp, src/osg/glu/libtess/memalloc.h, - src/osg/glu/libtess/mesh.cpp, src/osg/glu/libtess/mesh.h, - src/osg/glu/libtess/normal.cpp, src/osg/glu/libtess/normal.h, - src/osg/glu/libtess/priorityq-heap.cpp, - src/osg/glu/libtess/priorityq-heap.h, - src/osg/glu/libtess/priorityq-sort.h, - src/osg/glu/libtess/priorityq.cpp, - src/osg/glu/libtess/priorityq.h, src/osg/glu/libtess/render.cpp, - src/osg/glu/libtess/render.h, src/osg/glu/libtess/sweep.cpp, - src/osg/glu/libtess/sweep.h, src/osg/glu/libtess/tess.cpp, - src/osg/glu/libtess/tess.h, src/osg/glu/libtess/tessmono.cpp, - src/osg/glu/libtess/tessmono.h, src/osg/glu/libutil/error.cpp, - src/osg/glu/libutil/mipmap.cpp, src/osgAnimation/Action.cpp, - src/osgAnimation/ActionAnimation.cpp, - src/osgAnimation/ActionBlendIn.cpp, - src/osgAnimation/ActionBlendOut.cpp, - src/osgAnimation/ActionCallback.cpp, - src/osgAnimation/ActionStripAnimation.cpp, - src/osgAnimation/ActionVisitor.cpp, - src/osgAnimation/Animation.cpp, - src/osgAnimation/AnimationManagerBase.cpp, - src/osgAnimation/BasicAnimationManager.cpp, - src/osgAnimation/Bone.cpp, src/osgAnimation/BoneMapVisitor.cpp, - src/osgAnimation/CMakeLists.txt, src/osgAnimation/Channel.cpp, - src/osgAnimation/LinkVisitor.cpp, - src/osgAnimation/MorphGeometry.cpp, - src/osgAnimation/RigGeometry.cpp, - src/osgAnimation/RigTransformHardware.cpp, - src/osgAnimation/RigTransformSoftware.cpp, - src/osgAnimation/Skeleton.cpp, - src/osgAnimation/StackedMatrixElement.cpp, - src/osgAnimation/StackedQuaternionElement.cpp, - src/osgAnimation/StackedRotateAxisElement.cpp, - src/osgAnimation/StackedScaleElement.cpp, - src/osgAnimation/StackedTransform.cpp, - src/osgAnimation/StackedTranslateElement.cpp, - src/osgAnimation/StatsHandler.cpp, - src/osgAnimation/StatsVisitor.cpp, src/osgAnimation/Target.cpp, - src/osgAnimation/Timeline.cpp, - src/osgAnimation/TimelineAnimationManager.cpp, - src/osgAnimation/UpdateBone.cpp, - src/osgAnimation/UpdateMaterial.cpp, - src/osgAnimation/UpdateMatrixTransform.cpp, - src/osgAnimation/VertexInfluence.cpp, - src/osgDB/AuthenticationMap.cpp, src/osgDB/Callbacks.cpp, - src/osgDB/Compressors.cpp, src/osgDB/ConvertUTF.cpp, - src/osgDB/DatabaseRevisions.cpp, src/osgDB/FileCache.cpp, - src/osgDB/ImagePager.cpp, src/osgDB/InputStream.cpp, - src/osgDB/MimeTypes.cpp, src/osgDB/ObjectWrapper.cpp, - src/osgDB/Options.cpp, src/osgDB/OutputStream.cpp, - src/osgDB/PluginQuery.cpp, src/osgDB/XmlParser.cpp, - src/osgDB/fstream.cpp, src/osgFX/Outline.cpp, - src/osgFX/Version.cpp, src/osgGA/CameraViewSwitchManipulator.cpp, - src/osgGA/FirstPersonManipulator.cpp, - src/osgGA/MultiTouchTrackballManipulator.cpp, - src/osgGA/OrbitManipulator.cpp, - src/osgGA/SphericalManipulator.cpp, - src/osgGA/StandardManipulator.cpp, - src/osgManipulator/TabBoxTrackballDragger.cpp, - src/osgManipulator/Version.cpp, - src/osgParticle/BounceOperator.cpp, - src/osgParticle/DomainOperator.cpp, - src/osgParticle/SinkOperator.cpp, - src/osgPlugins/3ds/WriterCompareTriangle.cpp, - src/osgPlugins/3ds/WriterCompareTriangle.h, - src/osgPlugins/3ds/WriterNodeVisitor.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.h, - src/osgPlugins/3ds/lib3ds/AUTHORS, - src/osgPlugins/3ds/lib3ds/COPYING, - src/osgPlugins/3ds/lib3ds/README, - src/osgPlugins/3ds/lib3ds/lib3ds.h, - src/osgPlugins/3ds/lib3ds/lib3ds_atmosphere.c, - src/osgPlugins/3ds/lib3ds/lib3ds_background.c, - src/osgPlugins/3ds/lib3ds/lib3ds_camera.c, - src/osgPlugins/3ds/lib3ds/lib3ds_chunk.c, - src/osgPlugins/3ds/lib3ds/lib3ds_chunktable.c, - src/osgPlugins/3ds/lib3ds/lib3ds_file.c, - src/osgPlugins/3ds/lib3ds/lib3ds_impl.h, - src/osgPlugins/3ds/lib3ds/lib3ds_io.c, - src/osgPlugins/3ds/lib3ds/lib3ds_light.c, - src/osgPlugins/3ds/lib3ds/lib3ds_material.c, - src/osgPlugins/3ds/lib3ds/lib3ds_math.c, - src/osgPlugins/3ds/lib3ds/lib3ds_matrix.c, - src/osgPlugins/3ds/lib3ds/lib3ds_mesh.c, - src/osgPlugins/3ds/lib3ds/lib3ds_node.c, - src/osgPlugins/3ds/lib3ds/lib3ds_quat.c, - src/osgPlugins/3ds/lib3ds/lib3ds_shadow.c, - src/osgPlugins/3ds/lib3ds/lib3ds_track.c, - src/osgPlugins/3ds/lib3ds/lib3ds_util.c, - src/osgPlugins/3ds/lib3ds/lib3ds_vector.c, - src/osgPlugins/3ds/lib3ds/lib3ds_viewport.c, - src/osgPlugins/Inventor/ConvertToInventor.cpp, - src/osgPlugins/Inventor/ConvertToInventor.h, - src/osgPlugins/Inventor/README.txt, - src/osgPlugins/OpenFlight/DataOutputStream.cpp, - src/osgPlugins/OpenFlight/DataOutputStream.h, - src/osgPlugins/OpenFlight/ExportOptions.cpp, - src/osgPlugins/OpenFlight/ExportOptions.h, - src/osgPlugins/OpenFlight/FltExportVisitor.cpp, - src/osgPlugins/OpenFlight/FltExportVisitor.h, - src/osgPlugins/OpenFlight/FltWriteResult.h, - src/osgPlugins/OpenFlight/LightSourcePaletteManager.cpp, - src/osgPlugins/OpenFlight/LightSourcePaletteManager.h, - src/osgPlugins/OpenFlight/MaterialPaletteManager.cpp, - src/osgPlugins/OpenFlight/MaterialPaletteManager.h, - src/osgPlugins/OpenFlight/Opcodes.h, - src/osgPlugins/OpenFlight/TexturePaletteManager.cpp, - src/osgPlugins/OpenFlight/TexturePaletteManager.h, - src/osgPlugins/OpenFlight/Types.h, - src/osgPlugins/OpenFlight/Utils.h, - src/osgPlugins/OpenFlight/VertexPaletteManager.cpp, - src/osgPlugins/OpenFlight/VertexPaletteManager.h, - src/osgPlugins/OpenFlight/expAncillaryRecords.cpp, - src/osgPlugins/OpenFlight/expControlRecords.cpp, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp, - src/osgPlugins/OpenFlight/expPrimaryRecords.cpp, - src/osgPlugins/QTKit/CMakeLists.txt, - src/osgPlugins/QTKit/ReaderWriterQTKit.mm, - src/osgPlugins/bsp/CMakeLists.txt, - src/osgPlugins/bsp/Q3BSPReader.cpp, - src/osgPlugins/bsp/Q3BSPReader.h, - src/osgPlugins/bsp/VBSPData.cpp, src/osgPlugins/bsp/VBSPData.h, - src/osgPlugins/bsp/VBSPEntity.cpp, - src/osgPlugins/bsp/VBSPEntity.h, - src/osgPlugins/bsp/VBSPGeometry.cpp, - src/osgPlugins/bsp/VBSPGeometry.h, - src/osgPlugins/bsp/VBSPReader.cpp, - src/osgPlugins/bsp/VBSPReader.h, - src/osgPlugins/bsp/VBSP_README.txt, - src/osgPlugins/bvh/CMakeLists.txt, - src/osgPlugins/bvh/ReaderWriterBVH.cpp, - src/osgPlugins/cfg/CMakeLists.txt, src/osgPlugins/cfg/Camera.cpp, - src/osgPlugins/cfg/Camera.h, src/osgPlugins/cfg/CameraConfig.cpp, - src/osgPlugins/cfg/CameraConfig.h, - src/osgPlugins/cfg/ConfigLexer.cpp, - src/osgPlugins/cfg/ConfigLexer.l, - src/osgPlugins/cfg/ConfigParser.cpp, - src/osgPlugins/cfg/ConfigParser.h, - src/osgPlugins/cfg/ConfigParser.y, - src/osgPlugins/cfg/FlexLexer.h, - src/osgPlugins/cfg/ReaderWriterCFG.cpp, - src/osgPlugins/cfg/RenderSurface.cpp, - src/osgPlugins/cfg/RenderSurface.h, - src/osgPlugins/cfg/VisualChooser.cpp, - src/osgPlugins/cfg/VisualChooser.h, - src/osgPlugins/curl/CMakeLists.txt, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/curl/ReaderWriterCURL.h, - src/osgPlugins/dae/ReaderWriterDAE.h, - src/osgPlugins/dae/daeRAnimations.cpp, - src/osgPlugins/dae/daeRSkinning.cpp, - src/osgPlugins/dae/daeWAnimations.cpp, - src/osgPlugins/dicom/CMakeLists.txt, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgPlugins/directshow/CMakeLists.txt, - src/osgPlugins/directshow/DirectShowTexture, - src/osgPlugins/directshow/DirectShowTexture.cpp, - src/osgPlugins/directshow/ReaderWriterDirectShow.cpp, - src/osgPlugins/dot/BaseDotVisitor.cpp, - src/osgPlugins/dot/BaseDotVisitor.h, - src/osgPlugins/dot/CMakeLists.txt, - src/osgPlugins/dot/ReaderWriterDOT.cpp, - src/osgPlugins/dot/SimpleDotVisitor.cpp, - src/osgPlugins/dot/SimpleDotVisitor.h, - src/osgPlugins/dxf/DXFWriterNodeVisitor.cpp, - src/osgPlugins/dxf/DXFWriterNodeVisitor.h, - src/osgPlugins/exr/CMakeLists.txt, - src/osgPlugins/exr/ReaderWriterEXR.cpp, - src/osgPlugins/fbx/CMakeLists.txt, - src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/ReaderWriterFBX.h, - src/osgPlugins/fbx/WriterCompareTriangle.cpp, - src/osgPlugins/fbx/WriterCompareTriangle.h, - src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.h, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.h, - src/osgPlugins/fbx/fbxRAnimation.cpp, - src/osgPlugins/fbx/fbxRCamera.cpp, - src/osgPlugins/fbx/fbxRLight.cpp, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRNode.cpp, - src/osgPlugins/fbx/fbxReader.h, - src/osgPlugins/ffmpeg/BoundedMessageQueue.hpp, - src/osgPlugins/ffmpeg/CMakeLists.txt, - src/osgPlugins/ffmpeg/FFmpegAudioStream.cpp, - src/osgPlugins/ffmpeg/FFmpegAudioStream.hpp, - src/osgPlugins/ffmpeg/FFmpegClocks.cpp, - src/osgPlugins/ffmpeg/FFmpegClocks.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp, - src/osgPlugins/ffmpeg/FFmpegHeaders.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.hpp, - src/osgPlugins/ffmpeg/FFmpegPacket.hpp, - src/osgPlugins/ffmpeg/FFmpegParameters.cpp, - src/osgPlugins/ffmpeg/FFmpegParameters.hpp, - src/osgPlugins/ffmpeg/MessageQueue.hpp, - src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp, - src/osgPlugins/gdal/CMakeLists.txt, - src/osgPlugins/gdal/DataSetLayer.cpp, - src/osgPlugins/gdal/DataSetLayer.h, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp, - src/osgPlugins/glsl/CMakeLists.txt, - src/osgPlugins/glsl/ReaderWriterGLSL.cpp, - src/osgPlugins/gz/CMakeLists.txt, - src/osgPlugins/gz/ReaderWriterGZ.cpp, - src/osgPlugins/hdr/hdrwriter.cpp, src/osgPlugins/hdr/hdrwriter.h, - src/osgPlugins/imageio/CMakeLists.txt, - src/osgPlugins/imageio/ReaderWriterImageIO.cpp, - src/osgPlugins/imageio/ReaderWriterImageIO_IOS.cpp, - src/osgPlugins/ive/AnisotropicLighting.cpp, - src/osgPlugins/ive/AnisotropicLighting.h, - src/osgPlugins/ive/BlendEquation.cpp, - src/osgPlugins/ive/BlendEquation.h, - src/osgPlugins/ive/BumpMapping.cpp, - src/osgPlugins/ive/BumpMapping.h, src/osgPlugins/ive/Cartoon.cpp, - src/osgPlugins/ive/Cartoon.h, - src/osgPlugins/ive/CompositeLayer.cpp, - src/osgPlugins/ive/CompositeLayer.h, - src/osgPlugins/ive/Effect.cpp, src/osgPlugins/ive/Effect.h, - src/osgPlugins/ive/FadeText.cpp, src/osgPlugins/ive/FadeText.h, - src/osgPlugins/ive/Fog.cpp, src/osgPlugins/ive/Fog.h, - src/osgPlugins/ive/HeightFieldLayer.cpp, - src/osgPlugins/ive/HeightFieldLayer.h, - src/osgPlugins/ive/ImageLayer.cpp, - src/osgPlugins/ive/ImageLayer.h, - src/osgPlugins/ive/ImageSequence.cpp, - src/osgPlugins/ive/ImageSequence.h, src/osgPlugins/ive/Layer.cpp, - src/osgPlugins/ive/Layer.h, src/osgPlugins/ive/LineStipple.cpp, - src/osgPlugins/ive/LineStipple.h, src/osgPlugins/ive/Locator.cpp, - src/osgPlugins/ive/Locator.h, src/osgPlugins/ive/Multisample.cpp, - src/osgPlugins/ive/Multisample.h, - src/osgPlugins/ive/OcclusionQueryNode.cpp, - src/osgPlugins/ive/OcclusionQueryNode.h, - src/osgPlugins/ive/PolygonStipple.cpp, - src/osgPlugins/ive/PolygonStipple.h, - src/osgPlugins/ive/Scribe.cpp, src/osgPlugins/ive/Scribe.h, - src/osgPlugins/ive/ShapeAttributeList.cpp, - src/osgPlugins/ive/ShapeAttributeList.h, - src/osgPlugins/ive/SpecularHighlights.cpp, - src/osgPlugins/ive/SpecularHighlights.h, - src/osgPlugins/ive/SwitchLayer.cpp, - src/osgPlugins/ive/SwitchLayer.h, src/osgPlugins/ive/Terrain.cpp, - src/osgPlugins/ive/Terrain.h, src/osgPlugins/ive/TerrainTile.cpp, - src/osgPlugins/ive/TerrainTile.h, src/osgPlugins/ive/Text3D.cpp, - src/osgPlugins/ive/Text3D.h, - src/osgPlugins/ive/Texture2DArray.cpp, - src/osgPlugins/ive/Texture2DArray.h, - src/osgPlugins/ive/Volume.cpp, src/osgPlugins/ive/Volume.h, - src/osgPlugins/ive/VolumeCompositeLayer.cpp, - src/osgPlugins/ive/VolumeCompositeLayer.h, - src/osgPlugins/ive/VolumeCompositeProperty.cpp, - src/osgPlugins/ive/VolumeCompositeProperty.h, - src/osgPlugins/ive/VolumeImageLayer.cpp, - src/osgPlugins/ive/VolumeImageLayer.h, - src/osgPlugins/ive/VolumeLayer.cpp, - src/osgPlugins/ive/VolumeLayer.h, - src/osgPlugins/ive/VolumeLocator.cpp, - src/osgPlugins/ive/VolumeLocator.h, - src/osgPlugins/ive/VolumeProperty.h, - src/osgPlugins/ive/VolumePropertyAdjustmentCallback.cpp, - src/osgPlugins/ive/VolumePropertyAdjustmentCallback.h, - src/osgPlugins/ive/VolumeScalarProperty.cpp, - src/osgPlugins/ive/VolumeScalarProperty.h, - src/osgPlugins/ive/VolumeSwitchProperty.cpp, - src/osgPlugins/ive/VolumeSwitchProperty.h, - src/osgPlugins/ive/VolumeTile.cpp, - src/osgPlugins/ive/VolumeTile.h, - src/osgPlugins/ive/VolumeTransferFunctionProperty.cpp, - src/osgPlugins/ive/VolumeTransferFunctionProperty.h, - src/osgPlugins/mdl/BodyPart.cpp, src/osgPlugins/mdl/BodyPart.h, - src/osgPlugins/mdl/CMakeLists.txt, - src/osgPlugins/mdl/MDLLimits.h, src/osgPlugins/mdl/MDLReader.cpp, - src/osgPlugins/mdl/MDLReader.h, src/osgPlugins/mdl/MDLRoot.cpp, - src/osgPlugins/mdl/MDLRoot.h, src/osgPlugins/mdl/MDL_README.txt, - src/osgPlugins/mdl/Mesh.cpp, src/osgPlugins/mdl/Mesh.h, - src/osgPlugins/mdl/Model.cpp, src/osgPlugins/mdl/Model.h, - src/osgPlugins/mdl/ReaderWriterMDL.cpp, - src/osgPlugins/mdl/ReaderWriterMDL.h, - src/osgPlugins/mdl/VTXReader.cpp, src/osgPlugins/mdl/VTXReader.h, - src/osgPlugins/mdl/VVDReader.cpp, src/osgPlugins/mdl/VVDReader.h, - src/osgPlugins/nvtt/CMakeLists.txt, - src/osgPlugins/nvtt/NVTTImageProcessor.cpp, - src/osgPlugins/obj/OBJWriterNodeVisitor.cpp, - src/osgPlugins/obj/OBJWriterNodeVisitor.h, - src/osgPlugins/ogr/CMakeLists.txt, - src/osgPlugins/ogr/ReaderWriterOGR.cpp, - src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgPlugins/osg/BinaryStreamOperator.h, - src/osgPlugins/osg/ReaderWriterOSG2.cpp, - src/osgPlugins/osg/XmlStreamOperator.h, - src/osgPlugins/p3d/CMakeLists.txt, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/ReaderWriterPaths.cpp, - src/osgPlugins/pdf/CMakeLists.txt, - src/osgPlugins/pdf/ReaderWriterPDF.cpp, - src/osgPlugins/ply/CMakeLists.txt, - src/osgPlugins/ply/ReaderWriterPLY.cpp, src/osgPlugins/ply/ply.h, - src/osgPlugins/ply/plyfile.cpp, src/osgPlugins/ply/typedefs.h, - src/osgPlugins/ply/vertexData.cpp, - src/osgPlugins/ply/vertexData.h, - src/osgPlugins/pov/CMakeLists.txt, - src/osgPlugins/pov/POVWriterNodeVisitor.cpp, - src/osgPlugins/pov/POVWriterNodeVisitor.h, - src/osgPlugins/pov/ReaderWriterPOV.cpp, - src/osgPlugins/pov/ReaderWriterPOV.h, - src/osgPlugins/pvr/CMakeLists.txt, - src/osgPlugins/pvr/ReaderWriterPVR.cpp, - src/osgPlugins/qfont/CMakeLists.txt, - src/osgPlugins/qfont/ReaderQFont.cpp, - src/osgPlugins/quicktime/QTImportExport.cpp, - src/osgPlugins/quicktime/QTImportExport.h, - src/osgPlugins/quicktime/QTLiveUtils.cpp, - src/osgPlugins/quicktime/QTLiveUtils.h, - src/osgPlugins/quicktime/QuicktimeLiveImageStream.cpp, - src/osgPlugins/quicktime/QuicktimeLiveImageStream.h, - src/osgPlugins/revisions/CMakeLists.txt, - src/osgPlugins/revisions/ReaderWriterRevisions.cpp, - src/osgPlugins/shp/ESRIType.h, - src/osgPlugins/shp/XBaseParser.cpp, - src/osgPlugins/shp/XBaseParser.h, - src/osgPlugins/svg/CMakeLists.txt, - src/osgPlugins/svg/ReaderWriterSVG.cpp, - src/osgPlugins/terrain/CMakeLists.txt, - src/osgPlugins/terrain/ReaderWriterOsgTerrain.cpp, - src/osgPlugins/view/ReaderWriterOsgViewer.cpp, - src/osgPlugins/vnc/CMakeLists.txt, - src/osgPlugins/vnc/ReaderWriterVNC.cpp, - src/osgPlugins/vrml/ConvertToVRML.cpp, - src/osgPlugins/vrml/ConvertToVRML.h, - src/osgPlugins/vrml/IndexedFaceSet.cpp, - src/osgPlugins/vrml/Primitives.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.h, - src/osgPlugins/vtf/CMakeLists.txt, - src/osgPlugins/vtf/ReaderWriterVTF.cpp, - src/osgPlugins/zip/unzip.cpp, src/osgPlugins/zip/unzip.h, - src/osgPresentation/AnimationMaterial.cpp, - src/osgPresentation/CMakeLists.txt, - src/osgPresentation/CompileSlideCallback.cpp, - src/osgPresentation/PickEventHandler.cpp, - src/osgPresentation/SlideEventHandler.cpp, - src/osgPresentation/SlideShowConstructor.cpp, - src/osgQt/CMakeLists.txt, src/osgQt/GraphicsWindowQt.cpp, - src/osgQt/QFontImplementation.cpp, - src/osgQt/QGraphicsViewAdapter.cpp, src/osgQt/QWidgetImage.cpp, - src/osgShadow/ConvexPolyhedron.cpp, - src/osgShadow/DebugShadowMap.cpp, - src/osgShadow/LightSpacePerspectiveShadowMap.cpp, - src/osgShadow/MinimalCullBoundsShadowMap.cpp, - src/osgShadow/MinimalDrawBoundsShadowMap.cpp, - src/osgShadow/MinimalShadowMap.cpp, - src/osgShadow/ParallelSplitShadowMap.cpp, - src/osgShadow/SoftShadowMap.cpp, - src/osgShadow/StandardShadowMap.cpp, - src/osgShadow/ViewDependentShadowTechnique.cpp, - src/osgSim/ShapeAttribute.cpp, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Layer.cpp, - src/osgTerrain/Locator.cpp, src/osgTerrain/Terrain.cpp, - src/osgText/Glyph.cpp, src/osgText/GlyphGeometry.cpp, - src/osgText/GlyphGeometry.h, src/osgText/Style.cpp, - src/osgText/Text3D.cpp, src/osgText/TextBase.cpp, - src/osgUtil/DrawElementTypeSimplifier.cpp, - src/osgUtil/EdgeCollector.cpp, - src/osgUtil/IncrementalCompileOperation.cpp, - src/osgUtil/MeshOptimizers.cpp, src/osgUtil/PrintVisitor.cpp, - src/osgUtil/ReversePrimitiveFunctor.cpp, - src/osgUtil/SceneGraphBuilder.cpp, src/osgUtil/ShaderGen.cpp, - src/osgUtil/tristripper/include/detail/cache_simulator.h, - src/osgUtil/tristripper/include/detail/connectivity_graph.h, - src/osgUtil/tristripper/include/detail/graph_array.h, - src/osgUtil/tristripper/include/detail/heap_array.h, - src/osgUtil/tristripper/include/detail/policy.h, - src/osgUtil/tristripper/include/detail/types.h, - src/osgUtil/tristripper/include/public_types.h, - src/osgUtil/tristripper/include/tri_stripper.h, - src/osgUtil/tristripper/src/connectivity_graph.cpp, - src/osgUtil/tristripper/src/policy.cpp, - src/osgUtil/tristripper/src/tri_stripper.cpp, - src/osgViewer/DarwinUtils.h, src/osgViewer/DarwinUtils.mm, - src/osgViewer/GraphicsWindowCocoa.mm, - src/osgViewer/GraphicsWindowIOS.mm, src/osgViewer/IOSUtils.h, - src/osgViewer/IOSUtils.mm, src/osgViewer/PixelBufferCarbon.cpp, - src/osgViewer/PixelBufferCocoa.mm, - src/osgViewer/PixelBufferWin32.cpp, - src/osgViewer/PixelBufferX11.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/ScreenCaptureHandler.cpp, - src/osgViewer/ViewerBase.cpp, - src/osgViewer/ViewerEventHandlers.cpp, - src/osgVolume/CMakeLists.txt, - src/osgVolume/FixedFunctionTechnique.cpp, - src/osgVolume/Layer.cpp, src/osgVolume/Locator.cpp, - src/osgVolume/Property.cpp, src/osgVolume/RayTracedTechnique.cpp, - src/osgVolume/Shaders/volume_frag.cpp, - src/osgVolume/Shaders/volume_iso_frag.cpp, - src/osgVolume/Shaders/volume_lit_frag.cpp, - src/osgVolume/Shaders/volume_lit_tf_frag.cpp, - src/osgVolume/Shaders/volume_mip_frag.cpp, - src/osgVolume/Shaders/volume_tf_frag.cpp, - src/osgVolume/Shaders/volume_tf_iso_frag.cpp, - src/osgVolume/Shaders/volume_tf_mip_frag.cpp, - src/osgVolume/Shaders/volume_vert.cpp, src/osgVolume/Version.cpp, - src/osgVolume/Volume.cpp, src/osgVolume/VolumeTechnique.cpp, - src/osgVolume/VolumeTile.cpp, src/osgWidget/Box.cpp, - src/osgWidget/Browser.cpp, src/osgWidget/CMakeLists.txt, - src/osgWidget/Canvas.cpp, src/osgWidget/Frame.cpp, - src/osgWidget/Input.cpp, src/osgWidget/Label.cpp, - src/osgWidget/Lua.cpp, src/osgWidget/PdfReader.cpp, - src/osgWidget/Python.cpp, src/osgWidget/StyleManager.cpp, - src/osgWidget/Table.cpp, src/osgWidget/Util.cpp, - src/osgWidget/Version.cpp, src/osgWidget/ViewerEventHandlers.cpp, - src/osgWidget/VncClient.cpp, src/osgWidget/Widget.cpp, - src/osgWidget/Window.cpp, src/osgWidget/WindowManager.cpp, - src/osgWrappers/deprecated-dotosg/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osg/BlendEquation.cpp, - src/osgWrappers/deprecated-dotosg/osg/Box.cpp, - src/osgWrappers/deprecated-dotosg/osg/Capsule.cpp, - src/osgWrappers/deprecated-dotosg/osg/CompositeShape.cpp, - src/osgWrappers/deprecated-dotosg/osg/Cone.cpp, - src/osgWrappers/deprecated-dotosg/osg/Cylinder.cpp, - src/osgWrappers/deprecated-dotosg/osg/HeightField.cpp, - src/osgWrappers/deprecated-dotosg/osg/ImageSequence.cpp, - src/osgWrappers/deprecated-dotosg/osg/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osg/OcclusionQueryNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/Sphere.cpp, - src/osgWrappers/deprecated-dotosg/osg/StateAttribute.cpp, - src/osgWrappers/deprecated-dotosg/osg/TransferFunction.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgAnimation/Matrix.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/Matrix.h, - src/osgWrappers/deprecated-dotosg/osgAnimation/ReaderWriter.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/StackedTransform.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/UpdateMaterial.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/UpdateMatrixTransform.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_Outline.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_AngularDampingOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_BounceOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_DampingOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_DomainOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ExplosionOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_FluidProgram.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_OrbitOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_SinkOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgShadow/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_ObjectRecordData.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_OverlayNode.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_ShapeAttribute.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgTerrain/CompositeLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/HeightFieldLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/ImageLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/Layer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/Locator.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/SwitchLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/Terrain.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/TerrainTile.cpp, - src/osgWrappers/deprecated-dotosg/osgText/IO_Text3D.cpp, - src/osgWrappers/deprecated-dotosg/osgText/IO_TextBase.cpp, - src/osgWrappers/deprecated-dotosg/osgText/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgViewer/CompositeViewer.cpp, - src/osgWrappers/deprecated-dotosg/osgViewer/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgViewer/View.cpp, - src/osgWrappers/deprecated-dotosg/osgViewer/Viewer.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgVolume/CompositeProperty.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/FixedFunctionTechnique.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/ImageLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/Layer.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/Locator.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/Property.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/PropertyAdjustmentCallback.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/RayTracedTechnique.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/ScalarProperty.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/SwitchProperty.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/TransferFunctionProperty.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/Volume.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/VolumeTile.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Box.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgWidget/EmbeddedWindow.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Frame.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Input.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Label.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Table.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Widget.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/WindowManager.cpp, - src/osgWrappers/serializers/CMakeLists.txt, - src/osgWrappers/serializers/osg/AlphaFunc.cpp, - src/osgWrappers/serializers/osg/AnimationPath.cpp, - src/osgWrappers/serializers/osg/AnimationPathCallback.cpp, - src/osgWrappers/serializers/osg/AudioSink.cpp, - src/osgWrappers/serializers/osg/AudioStream.cpp, - src/osgWrappers/serializers/osg/AutoTransform.cpp, - src/osgWrappers/serializers/osg/Billboard.cpp, - src/osgWrappers/serializers/osg/BlendColor.cpp, - src/osgWrappers/serializers/osg/BlendEquation.cpp, - src/osgWrappers/serializers/osg/BlendFunc.cpp, - src/osgWrappers/serializers/osg/Box.cpp, - src/osgWrappers/serializers/osg/CMakeLists.txt, - src/osgWrappers/serializers/osg/Camera.cpp, - src/osgWrappers/serializers/osg/CameraView.cpp, - src/osgWrappers/serializers/osg/Capsule.cpp, - src/osgWrappers/serializers/osg/ClampColor.cpp, - src/osgWrappers/serializers/osg/ClearNode.cpp, - src/osgWrappers/serializers/osg/ClipNode.cpp, - src/osgWrappers/serializers/osg/ClipPlane.cpp, - src/osgWrappers/serializers/osg/ClusterCullingCallback.cpp, - src/osgWrappers/serializers/osg/ColorMask.cpp, - src/osgWrappers/serializers/osg/ColorMatrix.cpp, - src/osgWrappers/serializers/osg/CompositeShape.cpp, - src/osgWrappers/serializers/osg/Cone.cpp, - src/osgWrappers/serializers/osg/ConvexHull.cpp, - src/osgWrappers/serializers/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/serializers/osg/CoordinateSystemNode.cpp, - src/osgWrappers/serializers/osg/CullFace.cpp, - src/osgWrappers/serializers/osg/Cylinder.cpp, - src/osgWrappers/serializers/osg/Depth.cpp, - src/osgWrappers/serializers/osg/DrawPixels.cpp, - src/osgWrappers/serializers/osg/Drawable.cpp, - src/osgWrappers/serializers/osg/EllipsoidModel.cpp, - src/osgWrappers/serializers/osg/Fog.cpp, - src/osgWrappers/serializers/osg/FragmentProgram.cpp, - src/osgWrappers/serializers/osg/FrontFace.cpp, - src/osgWrappers/serializers/osg/Geode.cpp, - src/osgWrappers/serializers/osg/Geometry.cpp, - src/osgWrappers/serializers/osg/Group.cpp, - src/osgWrappers/serializers/osg/HeightField.cpp, - src/osgWrappers/serializers/osg/Hint.cpp, - src/osgWrappers/serializers/osg/Image.cpp, - src/osgWrappers/serializers/osg/ImageSequence.cpp, - src/osgWrappers/serializers/osg/ImageStream.cpp, - src/osgWrappers/serializers/osg/LOD.cpp, - src/osgWrappers/serializers/osg/LibraryWrapper.cpp, - src/osgWrappers/serializers/osg/Light.cpp, - src/osgWrappers/serializers/osg/LightModel.cpp, - src/osgWrappers/serializers/osg/LightSource.cpp, - src/osgWrappers/serializers/osg/LineStipple.cpp, - src/osgWrappers/serializers/osg/LineWidth.cpp, - src/osgWrappers/serializers/osg/LogicOp.cpp, - src/osgWrappers/serializers/osg/Material.cpp, - src/osgWrappers/serializers/osg/MatrixTransform.cpp, - src/osgWrappers/serializers/osg/Multisample.cpp, - src/osgWrappers/serializers/osg/Node.cpp, - src/osgWrappers/serializers/osg/NodeCallback.cpp, - src/osgWrappers/serializers/osg/NodeTrackerCallback.cpp, - src/osgWrappers/serializers/osg/Object.cpp, - src/osgWrappers/serializers/osg/OccluderNode.cpp, - src/osgWrappers/serializers/osg/OcclusionQueryNode.cpp, - src/osgWrappers/serializers/osg/PagedLOD.cpp, - src/osgWrappers/serializers/osg/Point.cpp, - src/osgWrappers/serializers/osg/PointSprite.cpp, - src/osgWrappers/serializers/osg/PolygonMode.cpp, - src/osgWrappers/serializers/osg/PolygonOffset.cpp, - src/osgWrappers/serializers/osg/PolygonStipple.cpp, - src/osgWrappers/serializers/osg/PositionAttitudeTransform.cpp, - src/osgWrappers/serializers/osg/Program.cpp, - src/osgWrappers/serializers/osg/Projection.cpp, - src/osgWrappers/serializers/osg/ProxyNode.cpp, - src/osgWrappers/serializers/osg/Scissor.cpp, - src/osgWrappers/serializers/osg/Sequence.cpp, - src/osgWrappers/serializers/osg/ShadeModel.cpp, - src/osgWrappers/serializers/osg/Shader.cpp, - src/osgWrappers/serializers/osg/ShaderBinary.cpp, - src/osgWrappers/serializers/osg/Shape.cpp, - src/osgWrappers/serializers/osg/ShapeDrawable.cpp, - src/osgWrappers/serializers/osg/Sphere.cpp, - src/osgWrappers/serializers/osg/StateAttribute.cpp, - src/osgWrappers/serializers/osg/StateSet.cpp, - src/osgWrappers/serializers/osg/Stencil.cpp, - src/osgWrappers/serializers/osg/StencilTwoSided.cpp, - src/osgWrappers/serializers/osg/Switch.cpp, - src/osgWrappers/serializers/osg/TessellationHints.cpp, - src/osgWrappers/serializers/osg/TexEnv.cpp, - src/osgWrappers/serializers/osg/TexEnvCombine.cpp, - src/osgWrappers/serializers/osg/TexEnvFilter.cpp, - src/osgWrappers/serializers/osg/TexGen.cpp, - src/osgWrappers/serializers/osg/TexGenNode.cpp, - src/osgWrappers/serializers/osg/TexMat.cpp, - src/osgWrappers/serializers/osg/Texture.cpp, - src/osgWrappers/serializers/osg/Texture1D.cpp, - src/osgWrappers/serializers/osg/Texture2D.cpp, - src/osgWrappers/serializers/osg/Texture2DArray.cpp, - src/osgWrappers/serializers/osg/Texture3D.cpp, - src/osgWrappers/serializers/osg/TextureCubeMap.cpp, - src/osgWrappers/serializers/osg/TextureRectangle.cpp, - src/osgWrappers/serializers/osg/TransferFunction.cpp, - src/osgWrappers/serializers/osg/TransferFunction1D.cpp, - src/osgWrappers/serializers/osg/Transform.cpp, - src/osgWrappers/serializers/osg/TriangleMesh.cpp, - src/osgWrappers/serializers/osg/Uniform.cpp, - src/osgWrappers/serializers/osg/VertexProgram.cpp, - src/osgWrappers/serializers/osg/Viewport.cpp, - src/osgWrappers/serializers/osgAnimation/Action.cpp, - src/osgWrappers/serializers/osgAnimation/ActionAnimation.cpp, - src/osgWrappers/serializers/osgAnimation/ActionBlendIn.cpp, - src/osgWrappers/serializers/osgAnimation/ActionBlendOut.cpp, - src/osgWrappers/serializers/osgAnimation/ActionStripAnimation.cpp, - src/osgWrappers/serializers/osgAnimation/Animation.cpp, - src/osgWrappers/serializers/osgAnimation/AnimationManagerBase.cpp, - src/osgWrappers/serializers/osgAnimation/BasicAnimationManager.cpp, - src/osgWrappers/serializers/osgAnimation/Bone.cpp, - src/osgWrappers/serializers/osgAnimation/CMakeLists.txt, - src/osgWrappers/serializers/osgAnimation/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgAnimation/MorphGeometry.cpp, - src/osgWrappers/serializers/osgAnimation/RigGeometry.cpp, - src/osgWrappers/serializers/osgAnimation/Skeleton.cpp, - src/osgWrappers/serializers/osgAnimation/StackedMatrixElement.cpp, - src/osgWrappers/serializers/osgAnimation/StackedQuaternionElement.cpp, - src/osgWrappers/serializers/osgAnimation/StackedRotateAxisElement.cpp, - src/osgWrappers/serializers/osgAnimation/StackedScaleElement.cpp, - src/osgWrappers/serializers/osgAnimation/StackedTransformElement.cpp, - src/osgWrappers/serializers/osgAnimation/StackedTranslateElement.cpp, - src/osgWrappers/serializers/osgAnimation/Timeline.cpp, - src/osgWrappers/serializers/osgAnimation/TimelineAnimationManager.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateBone.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateMaterial.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateMatrixTransform.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateMorph.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateSkeleton.cpp, - src/osgWrappers/serializers/osgFX/AnisotropicLighting.cpp, - src/osgWrappers/serializers/osgFX/BumpMapping.cpp, - src/osgWrappers/serializers/osgFX/CMakeLists.txt, - src/osgWrappers/serializers/osgFX/Cartoon.cpp, - src/osgWrappers/serializers/osgFX/Effect.cpp, - src/osgWrappers/serializers/osgFX/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgFX/MultiTextureControl.cpp, - src/osgWrappers/serializers/osgFX/Outline.cpp, - src/osgWrappers/serializers/osgFX/Scribe.cpp, - src/osgWrappers/serializers/osgFX/SpecularHighlights.cpp, - src/osgWrappers/serializers/osgManipulator/AntiSquish.cpp, - src/osgWrappers/serializers/osgManipulator/CMakeLists.txt, - src/osgWrappers/serializers/osgManipulator/CompositeDragger.cpp, - src/osgWrappers/serializers/osgManipulator/Dragger.cpp, - src/osgWrappers/serializers/osgManipulator/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgManipulator/RotateCylinderDragger.cpp, - src/osgWrappers/serializers/osgManipulator/RotateSphereDragger.cpp, - src/osgWrappers/serializers/osgManipulator/Scale1DDragger.cpp, - src/osgWrappers/serializers/osgManipulator/Scale2DDragger.cpp, - src/osgWrappers/serializers/osgManipulator/ScaleAxisDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TabBoxDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TabBoxTrackballDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TabPlaneDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TabPlaneTrackballDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TrackballDragger.cpp, - src/osgWrappers/serializers/osgManipulator/Translate1DDragger.cpp, - src/osgWrappers/serializers/osgManipulator/Translate2DDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TranslateAxisDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TranslatePlaneDragger.cpp, - src/osgWrappers/serializers/osgParticle/AccelOperator.cpp, - src/osgWrappers/serializers/osgParticle/AngularAccelOperator.cpp, - src/osgWrappers/serializers/osgParticle/AngularDampingOperator.cpp, - src/osgWrappers/serializers/osgParticle/BounceOperator.cpp, - src/osgWrappers/serializers/osgParticle/BoxPlacer.cpp, - src/osgWrappers/serializers/osgParticle/CMakeLists.txt, - src/osgWrappers/serializers/osgParticle/CenteredPlacer.cpp, - src/osgWrappers/serializers/osgParticle/CompositePlacer.cpp, - src/osgWrappers/serializers/osgParticle/ConnectedParticleSystem.cpp, - src/osgWrappers/serializers/osgParticle/ConstantRateCounter.cpp, - src/osgWrappers/serializers/osgParticle/Counter.cpp, - src/osgWrappers/serializers/osgParticle/DampingOperator.cpp, - src/osgWrappers/serializers/osgParticle/DomainOperator.cpp, - src/osgWrappers/serializers/osgParticle/Emitter.cpp, - src/osgWrappers/serializers/osgParticle/ExplosionDebrisEffect.cpp, - src/osgWrappers/serializers/osgParticle/ExplosionEffect.cpp, - src/osgWrappers/serializers/osgParticle/ExplosionOperator.cpp, - src/osgWrappers/serializers/osgParticle/FireEffect.cpp, - src/osgWrappers/serializers/osgParticle/FluidFrictionOperator.cpp, - src/osgWrappers/serializers/osgParticle/FluidProgram.cpp, - src/osgWrappers/serializers/osgParticle/ForceOperator.cpp, - src/osgWrappers/serializers/osgParticle/Interpolator.cpp, - src/osgWrappers/serializers/osgParticle/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgParticle/LinearInterpolator.cpp, - src/osgWrappers/serializers/osgParticle/ModularEmitter.cpp, - src/osgWrappers/serializers/osgParticle/ModularProgram.cpp, - src/osgWrappers/serializers/osgParticle/MultiSegmentPlacer.cpp, - src/osgWrappers/serializers/osgParticle/Operator.cpp, - src/osgWrappers/serializers/osgParticle/OrbitOperator.cpp, - src/osgWrappers/serializers/osgParticle/Particle.cpp, - src/osgWrappers/serializers/osgParticle/ParticleEffect.cpp, - src/osgWrappers/serializers/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/serializers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/serializers/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/serializers/osgParticle/Placer.cpp, - src/osgWrappers/serializers/osgParticle/PointPlacer.cpp, - src/osgWrappers/serializers/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/serializers/osgParticle/Program.cpp, - src/osgWrappers/serializers/osgParticle/RadialShooter.cpp, - src/osgWrappers/serializers/osgParticle/RandomRateCounter.cpp, - src/osgWrappers/serializers/osgParticle/SectorPlacer.cpp, - src/osgWrappers/serializers/osgParticle/SegmentPlacer.cpp, - src/osgWrappers/serializers/osgParticle/Shooter.cpp, - src/osgWrappers/serializers/osgParticle/SinkOperator.cpp, - src/osgWrappers/serializers/osgParticle/SmokeEffect.cpp, - src/osgWrappers/serializers/osgParticle/SmokeTrailEffect.cpp, - src/osgWrappers/serializers/osgParticle/VariableRateCounter.cpp, - src/osgWrappers/serializers/osgShadow/CMakeLists.txt, - src/osgWrappers/serializers/osgShadow/DebugShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgShadow/LightSpacePerspectiveShadowMapCB.cpp, - src/osgWrappers/serializers/osgShadow/LightSpacePerspectiveShadowMapDB.cpp, - src/osgWrappers/serializers/osgShadow/LightSpacePerspectiveShadowMapVB.cpp, - src/osgWrappers/serializers/osgShadow/MinimalCullBoundsShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/MinimalDrawBoundsShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/MinimalShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/ShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/ShadowTechnique.cpp, - src/osgWrappers/serializers/osgShadow/ShadowTexture.cpp, - src/osgWrappers/serializers/osgShadow/ShadowVolume.cpp, - src/osgWrappers/serializers/osgShadow/ShadowedScene.cpp, - src/osgWrappers/serializers/osgShadow/SoftShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/StandardShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/ViewDependentShadowTechnique.cpp, - src/osgWrappers/serializers/osgSim/AzimElevationSector.cpp, - src/osgWrappers/serializers/osgSim/AzimSector.cpp, - src/osgWrappers/serializers/osgSim/BlinkSequence.cpp, - src/osgWrappers/serializers/osgSim/CMakeLists.txt, - src/osgWrappers/serializers/osgSim/ConeSector.cpp, - src/osgWrappers/serializers/osgSim/DOFTransform.cpp, - src/osgWrappers/serializers/osgSim/DirectionalSector.cpp, - src/osgWrappers/serializers/osgSim/ElevationSector.cpp, - src/osgWrappers/serializers/osgSim/Impostor.cpp, - src/osgWrappers/serializers/osgSim/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgSim/LightPointNode.cpp, - src/osgWrappers/serializers/osgSim/LightPointSystem.cpp, - src/osgWrappers/serializers/osgSim/MultiSwitch.cpp, - src/osgWrappers/serializers/osgSim/ObjectRecordData.cpp, - src/osgWrappers/serializers/osgSim/OverlayNode.cpp, - src/osgWrappers/serializers/osgSim/ScalarBar.cpp, - src/osgWrappers/serializers/osgSim/Sector.cpp, - src/osgWrappers/serializers/osgSim/SequenceGroup.cpp, - src/osgWrappers/serializers/osgSim/ShapeAttributeList.cpp, - src/osgWrappers/serializers/osgSim/SphereSegment.cpp, - src/osgWrappers/serializers/osgSim/VisibilityGroup.cpp, - src/osgWrappers/serializers/osgTerrain/CMakeLists.txt, - src/osgWrappers/serializers/osgTerrain/CompositeLayer.cpp, - src/osgWrappers/serializers/osgTerrain/ContourLayer.cpp, - src/osgWrappers/serializers/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/serializers/osgTerrain/HeightFieldLayer.cpp, - src/osgWrappers/serializers/osgTerrain/ImageLayer.cpp, - src/osgWrappers/serializers/osgTerrain/Layer.cpp, - src/osgWrappers/serializers/osgTerrain/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgTerrain/Locator.cpp, - src/osgWrappers/serializers/osgTerrain/ProxyLayer.cpp, - src/osgWrappers/serializers/osgTerrain/SwitchLayer.cpp, - src/osgWrappers/serializers/osgTerrain/Terrain.cpp, - src/osgWrappers/serializers/osgTerrain/TerrainTechnique.cpp, - src/osgWrappers/serializers/osgTerrain/TerrainTile.cpp, - src/osgWrappers/serializers/osgText/CMakeLists.txt, - src/osgWrappers/serializers/osgText/FadeText.cpp, - src/osgWrappers/serializers/osgText/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgText/Text.cpp, - src/osgWrappers/serializers/osgText/Text3D.cpp, - src/osgWrappers/serializers/osgText/TextBase.cpp, - src/osgWrappers/serializers/osgVolume/AlphaFuncProperty.cpp, - src/osgWrappers/serializers/osgVolume/CMakeLists.txt, - src/osgWrappers/serializers/osgVolume/CompositeLayer.cpp, - src/osgWrappers/serializers/osgVolume/CompositeProperty.cpp, - src/osgWrappers/serializers/osgVolume/FixedFunctionTechnique.cpp, - src/osgWrappers/serializers/osgVolume/ImageDetails.cpp, - src/osgWrappers/serializers/osgVolume/ImageLayer.cpp, - src/osgWrappers/serializers/osgVolume/IsoSurfaceProperty.cpp, - src/osgWrappers/serializers/osgVolume/Layer.cpp, - src/osgWrappers/serializers/osgVolume/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgVolume/LightingProperty.cpp, - src/osgWrappers/serializers/osgVolume/Locator.cpp, - src/osgWrappers/serializers/osgVolume/MaximumIntensityProjectionProperty.cpp, - src/osgWrappers/serializers/osgVolume/Property.cpp, - src/osgWrappers/serializers/osgVolume/PropertyAdjustmentCallback.cpp, - src/osgWrappers/serializers/osgVolume/RayTracedTechnique.cpp, - src/osgWrappers/serializers/osgVolume/SampleDensityProperty.cpp, - src/osgWrappers/serializers/osgVolume/ScalarProperty.cpp, - src/osgWrappers/serializers/osgVolume/SwitchProperty.cpp, - src/osgWrappers/serializers/osgVolume/TransferFunctionProperty.cpp, - src/osgWrappers/serializers/osgVolume/TransparencyProperty.cpp, - src/osgWrappers/serializers/osgVolume/Volume.cpp, - src/osgWrappers/serializers/osgVolume/VolumeTechnique.cpp, - src/osgWrappers/serializers/osgVolume/VolumeTile.cpp: Ran svn - propset -R svn:eol-style native . on the OpenSceneGraph - -2011-04-19 09:54 robert - - * src/osgText/TextBase.cpp: Improved the handling of unitialized - bounding box - -2011-04-19 09:53 robert - - * examples/osgtext/osgtext.cpp: Cleaned up example - -2011-04-18 12:58 robert - - * CMakeLists.txt: Updated SO version number - -2011-04-18 12:35 robert - - * include/osg/Version, include/osgUtil/IncrementalCompileOperation, - src/osgUtil/IncrementalCompileOperation.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Added IncrementalCompileOperation::compileAllForNextFrame(uint) - method and supporting - functionality that tell the IncrementalCompileOperation to - compile all pending objects during next draw traversal, - for specified number of frames. - -2011-04-14 15:47 robert - - * README.txt: From Stephan Huber, "attached you'll find some - enhancements for the iphone-part of the readme." - -2011-04-14 15:45 robert - - * applications/osgconv/osgconv.cpp: From Magnus Kessler, "The - standard width for the windows cmd and terminals on many Unix - systems is - 80 columns. I reorganized some of the help strings to make the - output of - - osgconv --help --all - - fit to 80 columns. This avoids difficult to read line breaks - added by the - terminal program itself." - -2011-04-14 15:22 robert - - * src/osg/Image.cpp, src/osg/dxtctool.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp: Cleaned up DXT1 support - -2011-04-14 15:21 robert - - * CMakeLists.txt: Added IF (WIN32) around OSG_USE_UTF8_FILENAME - -2011-04-14 10:44 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: Added osgDB::Option - string entries: - - supportsOption("dds_dxt1_rgb","set the pixel format of DXT1 - encoded images to be RGB"); - supportsOption("dds_dxt1_rgba","set the pixel format of DXT1 - encoded images to be RGBA"); - supportsOption("dds_dxt1_detect_rgba","For DXT1 encode images set - the pixel format according to presence of transparent pixels."); - - And set the default not to modify and detect the RGB or RGBA - pixel format for DXT images. - -2011-04-14 09:16 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: Added setting of the - internal texture format - -2011-04-13 19:28 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: quitened down debug - output - -2011-04-13 19:26 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: Introduced new code for - detecting DXT1 images catogoriesed as RGB that actually have a 1 - bit alpha, - therefore re-interpreting these as RGBA. +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14440 16af8721-9629-0410-8352-f15c8da7e697 -2011-04-13 10:44 robert - * src/osg/Image.cpp, src/osg/dxtctool.cpp, src/osg/dxtctool.h: - Added handling of DXT1 in osg::Image::isImageTranslucent() +Mon, 8 Sep 2014 08:53:23 +0000 +Checked in by : Robert Osfield +Build fixgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14439 16af8721-9629-0410-8352-f15c8da7e697 -2011-04-11 19:11 robert - * include/osg/Texture, src/osg/Texture.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/nvtt/NVTTImageProcessor.cpp: Added support for - explitly requesting DXT1a and DXT1c compression +Fri, 5 Sep 2014 16:04:11 +0000 +Checked in by : Robert Osfield +Added shell of new osgUI::TabWidget classgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14438 16af8721-9629-0410-8352-f15c8da7e697 -2011-04-04 10:16 robert - * src/osgViewer/GraphicsWindowCocoa.mm: From Stephan Huber, - "Attached you'll find a fixed - GraphicsWindowCocoa-implementation which should fix the reported - bugs. - - the osgkeyboard-example works now, but not the numbers of the - keypad, as - they hilight only for KEY_KP_Left, KEY_KP_Right, KEY_KP_Up, - KEY_KP_DOWN - etc and not for KEY_KP_0 - KEY_KP_9." +Fri, 5 Sep 2014 11:05:43 +0000 +Checked in by : Robert Osfield +Introduced support for specifying whether a serializer supports different types of usage - one or more of READ_WRITE_PROPERTY, GET_PROPERTY and SET_PROPERTY.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14437 16af8721-9629-0410-8352-f15c8da7e697 -2011-03-31 14:57 robert - * CMakeModules/CheckAtomicOps.cmake: Added - OPENTHREADS_ATOMIC_USE_MUTEX Cmake options that allows you to - override the default detection - of atomic implementatition, making it possible to force the use - of Mutex for OpenThreads::Atomic, - and as a consequence for use of Mutex for Referenced::ref/unref() - counting. +Wed, 3 Sep 2014 15:54:47 +0000 +Checked in by : Robert Osfield +Added setting of the IsoSurfaceProperty in VolumeSettingsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14436 16af8721-9629-0410-8352-f15c8da7e697 -2011-03-30 15:15 robert - * include/osgDB/DatabasePager, src/osg/PagedLOD.cpp, - src/osgDB/DatabasePager.cpp: From Tim Moore, - Fixes to race in DatabasePager where a parent PagedLOD - of newly loaded subgraph has been expired. - - Clean up of visitor naming to make it clearer what role it has. +Wed, 3 Sep 2014 12:28:04 +0000 +Checked in by : Robert Osfield +Added close button on Dialog title bargit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14435 16af8721-9629-0410-8352-f15c8da7e697 -2011-03-23 14:01 robert - * src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp, - src/osgPlugins/xine/ReaderWriterXine.cpp: Added m4v as a handled - movie file extension +Tue, 2 Sep 2014 17:01:44 +0000 +Checked in by : Robert Osfield +Refactored the handling of ComboBox item picking to make it faster and more reliablegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14433 16af8721-9629-0410-8352-f15c8da7e697 -2011-03-21 21:28 robert - * CMakeModules/FindOurDCMTK.cmake: Added dciimage library to DCMTK - libs +Tue, 2 Sep 2014 10:00:33 +0000 +Checked in by : Robert Osfield +Improved handling of ComboBox popup togglinggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14432 16af8721-9629-0410-8352-f15c8da7e697 -2011-03-21 21:28 robert - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Improved handling of - RGB data. +Tue, 2 Sep 2014 09:14:08 +0000 +Checked in by : Robert Osfield +Added support for scaling widgets via the scoll wheel.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14431 16af8721-9629-0410-8352-f15c8da7e697 -2011-03-19 16:25 robert - * src/osgPresentation/SlideShowConstructor.cpp: Added .get() to fix - build +Tue, 2 Sep 2014 08:41:31 +0000 +Checked in by : Robert Osfield +Removed debugging messagegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14430 16af8721-9629-0410-8352-f15c8da7e697 -2011-03-18 12:21 robert - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Adde an - isFileADicom(..) method to enable the loader to automatically - identifier dicom files without making any assumptions about the - file extension +Mon, 1 Sep 2014 19:13:35 +0000 +Checked in by : Robert Osfield +Added DragCallback class to help dialog dragging support. Introduced a new Widget::computeExtentsPositionInLocalCoordinates() method that intersects with a ray through mouse pointer and the extents of the widget.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14429 16af8721-9629-0410-8352-f15c8da7e697 -2011-03-18 11:23 robert - * CMakeModules/FindOurDCMTK.cmake: Added extra DCMTK libraries to - search and link line to enable build against new DCMTK-3.6.0 - release +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 -2011-03-17 17:33 robert - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added support for - new SampleDensityWhenMovingProperty into .p3d format, with it - default to 0.02. - - One can override this value via the - sampleDensityWhenMoving="value" property in the volume tag, i.e. - - CardiacCT - - To switch the feature off set the value to 0, i.e. - - CardiacCT +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 -2011-03-17 15:37 robert - * examples/osgvolume/osgvolume.cpp, include/osgVolume/Property, - include/osgVolume/RayTracedTechnique, src/osgVolume/Property.cpp, - src/osgVolume/RayTracedTechnique.cpp: Added - SampleDensityWhenMovingProperty to control LOD property of - osgVolume. +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 -2011-03-17 13:56 robert - * include/osgVolume/RayTracedTechnique, - src/osgVolume/RayTracedTechnique.cpp: Changed the view movement - detection code so that it uses the - new CullVisitor::Identifier to indentifier cull traversals, - this enables the code to properly detect movement when - osgViewer::Renderer uses double buffering of SceneView. +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 -2011-03-17 13:54 robert - * src/osgViewer/Renderer.cpp: Added set up of - CulLVisitor::Identifier so that the double buffered - SceneView/CullVisitor - share the same Identifier. +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 -2011-03-17 13:54 robert - * include/osgUtil/CullVisitor, src/osgUtil/CullVisitor.cpp: Added - CullVisitor::Identifier to help with cull operations that require - a consistent identifier for - cull traveresals when osgViewer::Renderer uses double buffering. +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 -2011-03-17 11:49 robert - * include/osgVolume/RayTracedTechnique, - src/osgVolume/RayTracedTechnique.cpp: First cut at LOD support in - RayTracedTechnique, which lowers the number of samples taken when - the view of the volume is changing. +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 -2011-03-16 13:48 robert - * CMakeModules/Find3rdPartyDependencies.cmake: From Torben - Dannhauer, "adds an additional library name of libpng ( libpng15 - ) to search fo" +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 -2011-03-16 13:41 robert - * CMakeLists.txt: From Alan Dickinson,"I tested out my changes - against the trunk and everything worked fine... except I noticed - that the CMAKE_BUILD_POSTFIX is set incorrectly for a undefined - or blank BUILD_TYPE. - - So here is the one line change to the CMakeLists.txt to rectify - this omission." +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 -2011-03-16 10:51 robert - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added hud and - billboard support to image, stereo_image, pdf, browser and vnc - image placement +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 -2011-03-15 19:54 robert - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added support hud - property for title, bullets and paragraph tags +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 -2011-03-15 14:04 robert - * src/osgPlugins/3ds/WriterNodeVisitor.cpp: From Sukender, "Fixed a - case where getUniqueName() does not work properly" +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 -2011-03-15 14:02 robert - * CMakeModules/Find3rdPartyDependencies.cmake: From Torben - Dannhauer, update to reflect addition of NVTT to Windows - 3rdPartyPackage +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 -2011-03-15 13:53 robert - * src/osg/Texture2DArray.cpp: Added checked against GL version - number for enabled _isTexture3DSupported. +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 -2011-03-15 13:40 robert - * src/osgUtil/PolytopeIntersector.cpp: Fixed warning +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 -2011-03-15 13:30 robert - * include/osg/View: Added OSG_EXPORT to declaration of View::Slave. +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 -2011-03-15 12:48 robert - * src/osgText/TextBase.cpp: Re-enabled the fallback compute of - bounding volume. +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). -2011-03-15 12:26 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." - * src/osgPresentation/SlideShowConstructor.cpp: Fixed updating of - text position when PositionData.position is not modified by tag - but other elements of PositionData are - such as when - billboarding -2011-03-14 21:36 robert - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Implemented - billboard="on" option for image, bullet and paragraph tags - -2011-03-14 11:29 robert - - * src/osgPlugins/p3d/ReaderWriterP3D.cpp: Added support for placing - comments at end of each line. - -2011-03-14 10:07 robert - - * include/osgUtil/IntersectionVisitor, - include/osgUtil/LineSegmentIntersector, - include/osgUtil/PlaneIntersector, - include/osgUtil/PolytopeIntersector, - src/osgUtil/LineSegmentIntersector.cpp, - src/osgUtil/PlaneIntersector.cpp, - src/osgUtil/PolytopeIntersector.cpp: From Farshid Lashkari, - "Another update. I added a LIMIT_NEAREST enum which implements - your previous suggestion of rejecting bounding volumes further - from the nearest existing intersection. I only implemented this - for LineSegmentIntersector. I'd appreciate it if you could double - check the math I added to LineSegmentIntersector::intersects() - for checking if the bounding sphere is further away. The results - of this are promising. I'm getting noticeable performance - increase for line intersections with scenes containing many - drawables. - " - -2011-03-14 09:59 robert - - * src/osgViewer/View.cpp: From Torben Dannhauer, warning fix for a - false positive warning generated by VS about "not all control - pathes return a value". - -2011-03-11 17:20 robert - - * include/osgUtil/IntersectionVisitor, - include/osgUtil/LineSegmentIntersector, - include/osgUtil/PlaneIntersector, - include/osgUtil/PolytopeIntersector, - src/osgUtil/LineSegmentIntersector.cpp, - src/osgUtil/PlaneIntersector.cpp, - src/osgUtil/PolytopeIntersector.cpp: From Farshid Lashkari, - removal of redundent spaces at the end of lines. - -2011-03-11 16:31 robert - - * src/osgQt/GraphicsWindowQt.cpp: From Benjamin Wasty and David - Guthrie, "currently, non-alpha-numeric keys are not recognized - (except as modifiers) in osgQt, so I added the mapping code from - my Qt integration to GraphicsWindowQt (which is based on Delta3D - code from David Guthrie - he gave me permission to submit it - under OSGPL)." - -2011-03-11 11:25 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.h: From Sukender, "Added - support for texcoords scale and offset (UV scaling and offset in - Lib3DS Materials), for texture unit 0." - -2011-03-11 11:20 robert - - * src/osgDB/FileUtils.cpp: Fixed the case insenstive search under - unices - -2011-03-11 10:24 robert - - * CMakeModules/ModuleInstall.cmake, - CMakeModules/OsgMacroUtils.cmake, src/osgViewer/CMakeLists.txt: - From Mourad Boufarguine, - "There is a redundant cmake code at the end of osgViewer cmake - script. The install command is issued in SETUP_LIBRARY macro." - "I spotted this when i tried a make install on the android port - :) I saw some weird copy commands of osgViewer headers. - I managed to get all osg headers copied to - cmake_install_prefix/include upon make install, but i can't (yet) - get the libraries to be copied to cmake_install_prefix/lib (see - attached files)" - -2011-03-11 10:18 robert - - * CMakeLists.txt, CMakeModules/OsgCPackConfig.cmake.in, - packaging/ld.so.conf.d/openscenegraph.conf.in, - packaging/pkgconfig/openscenegraph-osg.pc.in, - packaging/pkgconfig/openscenegraph-osgAnimation.pc.in, - packaging/pkgconfig/openscenegraph-osgDB.pc.in, - packaging/pkgconfig/openscenegraph-osgFX.pc.in, - packaging/pkgconfig/openscenegraph-osgGA.pc.in, - packaging/pkgconfig/openscenegraph-osgManipulator.pc.in, - packaging/pkgconfig/openscenegraph-osgParticle.pc.in, - packaging/pkgconfig/openscenegraph-osgQt.pc.in, - packaging/pkgconfig/openscenegraph-osgShadow.pc.in, - packaging/pkgconfig/openscenegraph-osgSim.pc.in, - packaging/pkgconfig/openscenegraph-osgTerrain.pc.in, - packaging/pkgconfig/openscenegraph-osgText.pc.in, - packaging/pkgconfig/openscenegraph-osgUtil.pc.in, - packaging/pkgconfig/openscenegraph-osgViewer.pc.in, - packaging/pkgconfig/openscenegraph-osgVolume.pc.in, - packaging/pkgconfig/openscenegraph-osgWidget.pc.in, - packaging/pkgconfig/openscenegraph.pc.in, - packaging/pkgconfig/openthreads.pc.in: From Alan Dickinson, "I - modified the CPack and CMake files to utilze the - CMAKE_INSTALL_PREFIX when building RPM packages. - - I also modified the CMake and pkgconfig files to append the - _POSTFIX extenstion based on the CMAKE_BUILD_TYPE. - - Additionally I fixed - packaging/ld.so.conf.d/openscenegraph.conf.in to add a '/' - betweeen the arguments since the CMAKE_INSTALL_PREFIX can't end - with a '/'. - " - -2011-03-10 14:53 robert - - * src/osgViewer/CMakeLists.txt: From Mourad Boufarguine, "I gave - osg android port a try on Windows using cygwin, and it worked - like a charm (only a tiny problem with osgViewer, when cross - compiling for android using cygwin, the windows path in - osgViewer/CMakeLists.txt is used rather than the android one, fix - attached). - " - -2011-03-10 14:44 robert - - * CMakeModules/OsgMacroUtils.cmake, - src/OpenThreads/win32/CMakeLists.txt: From Mourad Boufarguine, "I - gave projects folders in VS a try, it works for applications, - plugins and examples but not for the osg core libraries. - Attached OsgMacroUtils.cmake is a tiny fix for this. OpenThreads - is addressed seperately." - -2011-03-10 10:56 robert - - * CMakeModules/cmake_uninstall.cmake.in: From Rafa Gaitan, - "Attached the fix to remove the symlinks created with make - install." - -2011-03-10 10:52 robert - - * src/osgDB/FileNameUtils.cpp: From Michael Platings, "I'm guessing - that the stack corruption was caused by calling GetFullPathNameW - with the nBufferLength argument as the number of bytes in the - buffer, rather than the number of characters. I've attached code - that uses GetFullPathNameW et al. with _countof() rather than - sizeof() and this works fine." - -2011-03-09 17:35 robert - - * src/osg/GraphicsCostEstimator.cpp, - src/osgUtil/IncrementalCompileOperation.cpp: Quitened down timing - stats - -2011-03-09 16:30 robert - - * src/osg/Shader.cpp: From Johannes Baeuerle, fix for memory leak - -2011-03-09 15:55 robert - - * src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/Inventor/ReaderWriterIV.cpp: From Jan Peciva, - "please, find attached updates to Inventor plugin: - - - improved transparency - - do not treat 32-bit textures as transparent textures unless - they really - contain transparent pixels - - error messages forwarded to osg::notify" - -2011-03-09 14:44 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.cpp: From Sukender, "1. Made - code a bit more readable/cleaner. - 2. Removed unecessary code. Also made sure the images names are - not truncated in the middle of an UTF8 character. You'll find - there a function called utf8TruncateBytes(), which may be moved - in core OSG (osgDB/ConvertUTF I guess). Feel free to do it if you - feel it that way. - " - -2011-03-09 14:15 robert - - * include/osgAnimation/Export, include/osgDB/Export, - include/osgGA/Export, include/osgParticle/Export, - include/osgPresentation/Export, include/osgQt/Export, - include/osgShadow/Export, include/osgSim/Export, - include/osgTerrain/Export, include/osgText/Export, - include/osgUtil/Export, include/osgViewer/Export, - include/osgVolume/Export, include/osgWidget/Export: From Piotr - Gwiazdowski, "So there's config setting OSG_DISABLE_MSVC_WARNINGS - which should - disable pragmas that turn off specific warnings for MSVC. - Unfortunately it's presence is only checked in osg/Export header, - making other Export headers disable warnings no matter what, - which is - kind of incoherent. - - My fix adds #include to every Export header. I've - also - unified checking whether to disable warnings to current - osg/Export - way: - #if defined(_MSC_VER) && defined(OSG_DISABLE_MSVC_WARNINGS). - - Attachment contains all changed Export files in their original - locations." - -2011-03-09 13:10 robert - - * src/osgPlugins/pnm/ReaderWriterPNM.cpp: From Eric Sokolowsky, "I - have updated the pnm plugin to use streams instead of C-style - I/O. Attached is src/osgPlugins/pnm/ReaderWriterPNM.cpp" - -2011-03-09 13:05 robert - - * CMakeLists.txt, CMakeModules/OsgMacroUtils.cmake: From Tassilo - Glander,"I patched the cmake configuration to support folders, - which are really handy to organize the many projects in the OSG - solution into examples, applications and core libs in the IDE. - This feature has been introduced to cmake in 2.8.3, on older - versions it should be ignored silently. I tested on Visual Studio - 2008 with cmake 2.8.3 and 2.8.4. - - See the screenshots for comparison [img]osg_solution.png[/img] - - This needs few changes: - - activate on global cmakelist.txt: - - [code]set_property(GLOBAL PROPERTY USE_FOLDERS On)[/code] - - set appropriate folder names for project type in - osgMacroUtils.cmake: - - [code]SET_TARGET_PROPERTIES(${CORELIB_NAME} PROPERTIES FOLDER - "OSG Core")[/code] - - similar for examples, applications" - -2011-03-09 12:29 robert - - * src/osgWidget/StyleManager.cpp: From Piotr Gwiazdowski, "Recently - I've been having some trouble with osgWidget::StyleManager - (I'll omit osgWidget namespace from now on). It seems to me that - there - are some inconsistency in the code. In Style there are multiple - applyStyle method overloads, applying style for different - widgets/windows built-in in osgWidget. Plus you can do overrides. - It's - good so far. - - The problem lies in StyleManager::_applyStyleToObject (which - calls - _coearceAndApply, which calls _applySpecificStyle, which calls - Style::applyStyle). With current implementation Style::applyStyle - variants for Input, Window, Frame::Corner, Frame::Border, - Window::EmbeddedWindow are never called, because their classes' - names - are omitted in methods' if/else if block, making it impossible to - use - styles with most than half of built-in widget/window types. - - My fix simply adds couple else if blocks, making each - Style::applyStyle variant callable. By the way, I think that next - update should add Style::applyStyle overload for Table class and - add - proper className overloads for Input and Window." - -2011-03-09 12:15 robert - - * src/osgPlugins/jp2/ReaderWriterJP2.cpp: Removed the repeated - called to jas_init() and jas_image_clearfmts() calls to make it - possible to use the reading multi-threaded - -2011-03-09 11:22 robert - - * src/osgUtil/RenderStage.cpp: From Dietmar Funck, "I've noticed an - issue with osgUtil::RenderStage::runCameraSetUp() if the number - of buffer attachments of the camera decreases according to - privous calls. - This happens because RenderStage::_bufferAttachmentMap is updated - only for the number of buffers the camera has when runCameraSetUp - is called. - For example if there were 4 attachments and now only 3, only the - first three elements of _bufferAttachmentMap are changed. The - fourth is just as before - however it shouldn't be there. - - Calling _bufferAttachmentMap.clear() before resolves this - problem. - " - -2011-03-09 11:15 robert - - * CMakeModules/FindCOLLADA.cmake: From Cedric Pinson, "I have just - adjusted the FindCOLLADA function to let it find library on - gnu/linux." - -2011-03-09 11:13 robert - - * src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/ReaderWriterDAE.h, - src/osgPlugins/dae/daeRMaterials.cpp: From Sukender, "I fixed the - writing but never thought about the reading part... - Here is the fix for reading path containing %23 (= '#') - characters." - -2011-03-09 11:06 robert - - * CMakeLists.txt, include/osg/Version: Updated versions for next - OSG dev release - -2011-03-09 10:35 robert - - * examples/osgQtBrowser/osgQtBrowser.cpp, - examples/osgQtWidgets/osgQtWidgets.cpp: Changed the use of a - viewer thread to be off by default because it was causing the - application to crash when any users input was recieved - -2011-03-08 17:05 robert - - * src/osgViewer/CMakeLists.txt: Fixed error in X11 string name - -2011-03-08 16:35 robert - - * CMakeLists.txt, CMakeModules/FindAndroidNDK.cmake, - CMakeModules/OsgAndroidMacroUtils.cmake, - CMakeModules/OsgMacroUtils.cmake, PlatformSpecifics/Android, - PlatformSpecifics/Android/Android.mk.master.in, - PlatformSpecifics/Android/Android.mk.modules.in, - PlatformSpecifics/Android/Android.mk.serializers.in, - PlatformSpecifics/Android/Android.mk.src.in, - PlatformSpecifics/Android/AndroidManifest.xml.master.in, - PlatformSpecifics/Android/Application.mk.master.in, - examples/CMakeLists.txt, include/osg/BufferObject, - include/osgDB/ConvertUTF, src/CMakeLists.txt, - src/OpenThreads/CMakeLists.txt, - src/OpenThreads/pthreads/CMakeLists.txt, - src/OpenThreads/pthreads/PThread.cpp, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/bsp/BITSET.cpp, - src/osgQt/CMakeLists.txt, src/osgViewer/CMakeLists.txt: From Rafa - Gaitan and Jorge Izquierdo, build support for Android NDK. - - "- In order to build against GLES1 we execute: - $ mkdir build_android_gles1 - $ cd build_android_gles1 - $ cmake .. -DOSG_BUILD_PLATFORM_ANDROID=ON - -DDYNAMIC_OPENTHREADS=OFF - -DDYNAMIC_OPENSCENEGRAPH=OFF -DANDROID_NDK=/ - -DOSG_GLES1_AVAILABLE=ON -DOSG_GL1_AVAILABLE=OFF - -DOSG_GL2_AVAILABLE=OFF -DOSG_GL_DISPLAYLISTS_AVAILABLE=OFF -DJ=2 - -DOSG_CPP_EXCEPTIONS_AVAILABLE=OFF - $ make - If all is correct you will have and static OSG inside: - build_android_gles1/bin/ndk/local/armeabi. - - - GLES2 is not tested/proved, but I think it could be possible - build - it with the correct cmake flags. - - The flag -DJ=2 is used to pass to the ndk-build the number of - processors to speed up the building. - - make install is not yet supported." - -2011-03-08 15:31 robert - - * src/OpenThreads/pthreads/PThreadBarrier.cpp, - src/OpenThreads/pthreads/PThreadCondition.cpp, - src/OpenThreads/pthreads/PThreadMutex.cpp: Fixed indentation - -2011-03-08 13:51 robert - - * CMakeModules/ModuleInstall.cmake, - CMakeModules/OsgMacroUtils.cmake, src/osg/CMakeLists.txt, - src/osgAnimation/CMakeLists.txt, src/osgDB/CMakeLists.txt, - src/osgFX/CMakeLists.txt, src/osgGA/CMakeLists.txt, - src/osgManipulator/CMakeLists.txt, - src/osgParticle/CMakeLists.txt, - src/osgPresentation/CMakeLists.txt, src/osgQt/CMakeLists.txt, - src/osgShadow/CMakeLists.txt, src/osgSim/CMakeLists.txt, - src/osgTerrain/CMakeLists.txt, src/osgText/CMakeLists.txt, - src/osgUtil/CMakeLists.txt, src/osgViewer/CMakeLists.txt, - src/osgVolume/CMakeLists.txt, src/osgWidget/CMakeLists.txt: From - Rafa Gaitan, "I have added the macro SETUP_LIBRARY, similar to - SETUP_PLUGIN or - SETUP_EXE, in order to have a unique entry point to build the - libraries. With this changes the android integration will be less - painful (currently is a big IF(ANDROID) for each CMakeLists.txt) - and - more maintainable in the future. I hope next submissions will be - for - supporting android from my colleague Jorge. - " - -2011-03-07 14:42 robert - - * examples/osgshadow/osgshadow.cpp: Added comments - -2011-03-07 13:45 robert - - * src/OpenThreads/pthreads/CMakeLists.txt, - src/OpenThreads/pthreads/PThread.c++, - src/OpenThreads/pthreads/PThread.cpp, - src/OpenThreads/pthreads/PThreadBarrier.c++, - src/OpenThreads/pthreads/PThreadBarrier.cpp, - src/OpenThreads/pthreads/PThreadCondition.c++, - src/OpenThreads/pthreads/PThreadCondition.cpp, - src/OpenThreads/pthreads/PThreadMutex.c++, - src/OpenThreads/pthreads/PThreadMutex.cpp: Changed all .c++ to - .cpp's - -2011-03-07 12:35 robert - - * examples/osgtext3D/osgtext3D.cpp: Added --color r g b a, - --wall-color r g b a, --back-color r g b a options for setting - the colours of faces via materials. - and --image filename, --wall-image filename, --back-image - filename options to set the textures used, note, texcoords are - not currently set up so texels used will be 0,0. - -2011-03-07 12:33 robert - - * include/osgText/Text3D, src/osgText/Text3D.cpp: Enabled the - settng/getting of the Text3D's WallStateSet and BackStateSet - along with use of these in the rendering implementation - to allow separate colour and other state to be assigned to the - front, wall and back faces. - -2011-03-03 15:52 robert - - * examples/osgshadow/osgshadow.cpp, include/osgViewer/View, - src/osgViewer/View.cpp: Moved intial cut of depth partition - support into osgViewer::View via two new methods: - - /** Convenience method for setting up multiple slave cameras that - depth partition the specified camera.*/ - bool setUpDepthPartitionForCamera(osg::Camera* cameraToPartition, - DepthPartitionSettings* dps=0); - - /** Convenience method for setting up multiple slave cameras that - depth partition each of the view's active cameras.*/ - bool setUpDepthPartition(DepthPartitionSettings* dsp=0); - -2011-03-03 12:33 robert - - * examples/osgshadow/osgshadow.cpp: Introduced a new more generic - function for settings up the depth partitioning of viewer - cameras. - -2011-03-02 16:40 robert - - * examples/osgshadow/osgshadow.cpp: Build fix +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14407 16af8721-9629-0410-8352-f15c8da7e697 -2011-03-02 16:24 robert - * src/osgShadow/LightSpacePerspectiveShadowMap.cpp: Made parameter - a little easier to adjust and commented out verbose debug info +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: -2011-03-02 16:09 robert - * examples/osgshadow/osgshadow.cpp: Implemented first cut of more - flexible depth partitioning code. +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); -2011-03-01 16:21 robert - * examples/osgshadow/osgshadow.cpp: Fixed typo -2011-03-01 15:04 robert +which is not taking into account the viewport x and y when performing the blit. It probably should be: - * examples/osgshadow/osgshadow.cpp: Added support for passing the - --depth-partition distance, throw to the depth partition slave - camera setup. -2011-03-01 14:50 robert +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); +" - * examples/osgshadow/osgshadow.cpp: Added experiment depth - partioning support in the form of an slave camera configuration. +Note from Robert Osfield, made small tweak to above on merge, changing the width+x to x+width to make it read more naturally. -2011-03-01 14:48 robert - * include/osg/View, src/osg/View.cpp: Added support for an - View::Slave::UpdateSlaveCallback -2011-02-26 16:04 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14405 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp: Fixed handling of write - and reading of straight Node objects in the scene graph. -2011-02-26 15:52 robert +Fri, 8 Aug 2014 16:09:39 +0000 +Checked in by : Robert Osfield +From Marc Helbling, "please find a fix for the vertex pretransform visitor (VertexAccessOrderVisitor). The issue with current code is that arrays are collected *before* duplicating shared arrays which leads to arrays that are correctly duplicated but that are not reordered.Also the submitted patch contains a small cleaning in GeometryArrayGathrer as the _useDrawElements variable is not used; it is only set in the GeometryArrayGathrer constructor and VertexAccessOrderVisitor already checks that primitives have indexed type." - * src/osgPlugins/ive/DataOutputStream.cpp: Changed the handling of - unkown nodes on write so that the code now ignores the non - supported nodes allows the overall write to continue. -2011-02-24 11:54 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14403 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/TrapezoidalShadowMap, - src/osgShadow/CMakeLists.txt, - src/osgShadow/TrapezoidalShadowMap.cpp: Removed - TrapezoidalShadowMap due to discovery of patent on algorithm. -2011-02-23 22:52 cedricpinson +Fri, 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 - * src/osgAnimation/Action.cpp: Cedric Pinson: Fix divide by zero - when Action has 0 frames, and add a warning message because it - means something wrong on input data -2011-02-23 16:49 robert +Fri, 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 - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Fixed typo -2011-02-23 16:46 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 - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/TrapezoidalShadowMap, - src/osgShadow/CMakeLists.txt, - src/osgShadow/TrapezoidalShadowMap.cpp: From Wojciech - Lewandowski, intial cut at new TrapezoidalShadowMap - ShadowTechnique -2011-02-23 16:45 robert +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 - * include/osgShadow/DebugShadowMap, - include/osgShadow/LightSpacePerspectiveShadowMap, - include/osgShadow/MinimalCullBoundsShadowMap, - include/osgShadow/MinimalDrawBoundsShadowMap, - include/osgShadow/MinimalShadowMap, - include/osgShadow/ProjectionShadowMap, - include/osgShadow/StandardShadowMap, - include/osgShadow/ViewDependentShadowTechnique, - src/osgShadow/DebugShadowMap.cpp, - src/osgShadow/LightSpacePerspectiveShadowMap.cpp, - src/osgShadow/MinimalShadowMap.cpp, - src/osgShadow/StandardShadowMap.cpp: From Wojciech Lewandowski, - various tweaks to osgShadow shadow mapping classes to improve - consistency and enable more debug info output -2011-02-23 14:09 robert +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. - * src/osgVolume/Property.cpp: Inverted the orientation of the 't' - transparency control so that it's full on at the bottom of the - screen, and full transparent at the bottom. -2011-02-23 13:56 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14396 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgvolume/osgvolume.cpp: Added support for negative - --xMultipler, --yMultiple and --zMultiplier values -2011-02-23 12:48 robert +Thu, 31 Jul 2014 18:29:31 +0000 +Checked in by : Robert Osfield +Added NodeVisitor::INTERSECTION_VISITOR VisitorTypegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14395 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgvolume/osgvolume.cpp: Added support for positive - values of --xMultiple --yMultiplier and - --zMultiplier -2011-02-23 12:13 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 - * examples/osgvolume/osgvolume.cpp: Changed the default number of - components for a RGB to 4 so it appears as an RGBA -2011-02-23 11:43 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 - * examples/osgvolume/osgvolume.cpp: Added error reporting for old - options -2011-02-23 11:28 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 - * examples/osgvolume/osgvolume.cpp: Added -n option -2011-02-23 10:37 robert +Tue, 29 Jul 2014 15:50:55 +0000 +Checked in by : Robert Osfield +Added preliminary icon to ComboBox.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14391 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgvolume/osgvolume.cpp: Added extra check for GL_BGR - and GL_BGRA formats and messages describing image format loaded -2011-02-22 14:21 robert +Tue, 29 Jul 2014 15:50:37 +0000 +Checked in by : Robert Osfield +Fixed debug commentgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14390 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgShadow/LightSpacePerspectiveShadowMap.cpp: Added test code - to explore problems with LightSpacePerspectiveShadowMap - implementation handling of different datasets and camera - settings. -2011-02-22 11:59 robert +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 - * examples/osgvolume/osgvolume.cpp: Added support for GL_BGR and - GL_BGRA pixel formats -2011-02-22 10:53 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 - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Changed the handling - of erroneous dicom files so that the loading of a directory of - dicom files is not abondonded when one or more erroneous files - are encountered. -2011-02-21 12:29 robert +Mon, 28 Jul 2014 16:19:44 +0000 +Checked in by : Robert Osfield +Added handling of Drawables added directly to scene graph without Geode decorating them.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14386 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgText/Text3D.cpp: Added computePositions() call to - Text3D::resizeGLObjectsBuffers(uint) -2011-02-21 10:02 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 - * src/osgPlugins/ive/CMakeLists.txt: Added missing Terrain.h - reference - -2011-02-20 09:57 robert - - * src/osgShadow/LightSpacePerspectiveShadowMap.cpp: Fixed build of - various LiSPSM algorithms -2011-02-20 09:55 robert - - * examples/osgshadow/osgshadow.cpp: Added --fov and --light-pos and - --light-dir command line parameters - -2011-02-18 11:04 mplatings - - * src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.h, - src/osgPlugins/fbx/fbxRMesh.cpp: Disabled the RGB components of - the opacity texture - -2011-02-14 16:24 robert - - * src/osgPlugins/dae/daeWriter.cpp, src/osgPlugins/dae/daeWriter.h: - From Philipp Svehla, "We’ve added support for users to override - the default values for child elements in asset tags (for the - collada writer). This support was added for the following child - elements: - - - contributor - - - author - - - authoring_tool - - - comments - - - copyright - - - source_data - - - created - - - keywords - - - modified - - - revision - - - subject - - - title - - - unit - - - name - - - meter - - - up_axis - - - - With this support, users are able to include additional - information in their models. Additionally, tools such as sketchup - that support asset tags use the values appropriately within their - imported models." - -2011-02-14 16:09 robert - - * src/osgPlugins/dxf/scene.cpp, src/osgPlugins/dxf/scene.h: From - Tim Moore, "This patch fixes some performance problems with the - DXF loader. It removes some unnecessary copies of vertex - coordinates (which were causing an exponential explosion). It - also replaces BIND_PER_PRIMITIVE normals with BIND_PER_VERTEX so - that the resulting geometry will be on the fast path." - -2011-02-14 16:05 robert - - * include/osgDB/Options: Added copyop parameter to cloneOptions() - method - -2011-02-14 15:59 robert - - * include/osgDB/Options: From Tim Moore, "The non-virtual - cloneOptions() method, which is now used by DatabasePager, breaks - derived classes of osgDB::Options. This patch uses the clone() - method to clone Options." - -2011-02-14 15:43 robert - - * CMakeModules/FindJasper.cmake: From Sukender, "Here is an minor - update for Jasper finder. It adds debug cache value for - Windows/MSVC builds, and adds search paths." - -2011-02-14 15:04 robert - - * src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/Inventor/ConvertFromInventor.h, - src/osgPlugins/Inventor/ReaderWriterIV.cpp: From Jan Peciva, - "Improvements: - - Use OSG routines to load images instead of simage library - (removes - dependency on 3rdParty simage library). Applies to Coin Inventor - clone only. - " - -2011-02-14 15:01 robert - - * include/osg/Program, src/osg/Program.cpp: Moved ProgramBinary - into osg::Program scope - -2011-02-14 14:16 robert - - * src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/daeRGeometry.cpp: From Sukender, "Here are two - sumbissions for DAE. - - 1. daeRGeometry.cpp (rev 12132). A tiny sumbission which fixes a - quite important bug: a parameter was forgotten in Collada - ReaderWriter, and texture coordinates could not be loaded - properly. So: - " - Added missing paramter when calling createGeometryData(). Fixes - missing texture coordinates (in "bind_vertex_input"). - " - - 2. ReaderWriterDAE.cpp (rev 12132): - " - Added "baseImageDir" as a plugin string data, in order to - manually specify base directory to use when relativising image - file names. This is used to properly write files, when images are - not located in a subdirectory (like "../images" for some - software). - " - -2011-02-14 13:54 robert - - * src/osgWrappers/serializers/osg/ShaderBinary.cpp: From Johannes - Bauerle, "I experienced problems using binary shaders in osgt - files (=the osg-serializer plugins). At runtime std::bad_alloc - errors were thrown when using binary shaders. - - The reason is that the .osgt text files do not provide size - information about the contained binary shader hence leading to a - bad allocation when reading the shader data, probably size 0 ? - The reader method in the responsible serializer class - (serializers/osg/BinaryShader) is correct and does not need to be - changed as it queries the size as expected. The writer method - supports two paths(binary output .osgb and text output - .osgt/.osgx). Only the text path is affected as the binary path - writes the size. - - I extended the writer in the text path by the size information. - The results before and after the fix are shown below: - - Erroneous code for binary shader in osgt file before fix: - - Data { - 0a - 0d - 0 - ... - } - - Corrected code for binary shader in osgt file after fix: - - Data 524 { - 0a - 0d - 0 - ... - } - - After my fix the the thrown error disappeared." - -2011-02-14 13:50 robert - - * src/osg/Shader.cpp: From Jahannes Bauerle, "l discovered that the - shader class(/src/osg/Shader.cpp) shows wrong behavior when using - binary shaders . When shader objects are compared the reference - pointer behind the _shaderBinary member is not included in the - comparison. - - I included binary shaders into an osgt model file. These shaders - only consists of the binary shader code, I did not supply the - text version additionally. When loading the model the - osg::Optimizer threw away all shaders except the first one. In - the current trunk version of the file two shader objects are - identical despite differing _shaderBinary members as the compare - method of the Shader class does not include the comparison of - that member. - - The fix in this submission adds the check for identity of the - referenced binary shaders to the shader class. - - When comparing two shader objects with text source shaders the - new lines of comparison are not even executed as the comparison - returns false in the previous lines when the text shaders differ. - - With this fix I get expected behavior, the Optimizer handles the - different shaders correctly." - -2011-02-14 12:55 robert - - * src/osg/GraphicsCostEstimator.cpp: Set debug message to INFO - -2011-02-14 12:54 robert - - * include/osg/GL2Extensions, include/osg/Program, - include/osg/StateSet, src/osg/GL2Extensions.cpp, - src/osg/Program.cpp: From Michael Platings, I've added initial - support to osg for glGetProgramBinary and glProgramBinary. This - means that shader programs can now be cached to disk and later - reloaded, which is much faster than linking shaders from source - code. This should mean significantly shorter load times for - people who use lots of combinations of shaders. - -2011-02-14 12:14 robert - - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Fixed typo - -2011-02-11 12:11 robert - - * examples/osgshadow/osgshadow.cpp: From Jean-Sebastien Guay, event - handler for controlling the field of view of the viewer's camera - using 0, - and = keys. - -2011-02-11 11:08 robert - - * ChangeLog: Update ChangeLog - -2011-02-11 09:18 robert - - * src/osgGA/NodeTrackerManipulator.cpp: Added check against the - NodePath being empty. - -2011-02-10 14:24 robert - - * src/osgUtil/IncrementalCompileOperation.cpp: Tweak to output - details - -2011-02-10 14:09 robert +Thu, 24 Jul 2014 13:25:49 +0000 +Checked in by : Robert Osfield +Refined the colouring of widget to be more in sync with the defaults used in Qt.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14384 16af8721-9629-0410-8352-f15c8da7e697 - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Updated - AUTHORS and Contributors.cpp files -2011-02-10 12:23 robert +Wed, 23 Jul 2014 16:36:17 +0000 +Checked in by : Robert Osfield +Added VolumeSettings::Filename property.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14383 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/ffmpeg/FFmpegHeaders.hpp: From Martin von Gagern, - build fix for latest ffmpeg changes -2011-02-08 14:36 robert +Wed, 23 Jul 2014 15:57:35 +0000 +Checked in by : Robert Osfield +Changed the default text colour to blackgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14382 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/Texture.cpp: Added const -2011-02-07 14:19 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 - * include/osg/BufferObject, - include/osgUtil/IncrementalCompileOperation, - src/osg/BufferObject.cpp, src/osg/Texture.cpp, - src/osgUtil/IncrementalCompileOperation.cpp: Implementated - experimental reuse of PBO's after download -2011-02-04 12:43 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 - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Added - support for enabling the assignment of PixelBufferObjects to - loaded Images to aid the download of images to the GPU. - Feature can be enabled/disabled (default) by setting the env : - - OSG_ASSIGN_PBO_TO_IMAGES to ON or OFF -2011-02-04 10:27 robert +Tue, 22 Jul 2014 16:02:33 +0000 +Checked in by : Robert Osfield +Removed State::AppliedProgramObjectSet container and Obsever usage from osg::State to address threading bug crash.The State::AppliedProgramObjectSet wasn't ever being used actively in the current rev of the OSG so populating and clearing was no longer neccessary, allowing the code to be removed completely. - * src/osgViewer/GraphicsWindowX11.cpp: Added support for getting - the current screen refresh rate using the XrandR extension. - -2011-02-03 17:07 robert - - * include/osgGA/NodeTrackerManipulator, - src/osgGA/NodeTrackerManipulator.cpp: Refactored - NodeTrackerManipulator to use osg::ObserverNodePath rather than - it's only local equivilant. - -2011-02-03 14:27 robert - - * src/osg/State.cpp: Added call to - GraphicsCostEstimator::calibrate. - -2011-02-03 12:42 robert - - * include/osg/State, include/osgUtil/IncrementalCompileOperation, - src/osg/State.cpp, src/osgUtil/IncrementalCompileOperation.cpp: - Moved GraphicsCostEstimator ref pointer into osg::State - -2011-02-03 12:22 robert - - * examples/osggraphicscost/osggraphicscost.cpp, - include/osg/GraphicsCostEstimator, - include/osgUtil/GraphicsCostEstimator, - include/osgUtil/IncrementalCompileOperation, - src/osg/CMakeLists.txt, src/osg/GraphicsCostEstimator.cpp, - src/osgUtil/CMakeLists.txt, - src/osgUtil/GraphicsCostEstimator.cpp, - src/osgUtil/IncrementalCompileOperation.cpp: Moved - GraphicsCostEstimator from osgUtil into core OSG library - -2011-02-02 17:23 robert - - * examples/osgqfont/osgqfont.cpp: From Jean-Sebastien Guay, build - fix - -2011-02-02 16:44 mplatings - - * src/osgPlugins/fbx/ReaderWriterFBX.h: Updated information about - the FBX SDK version - -2011-02-01 18:12 robert - - * src/osgUtil/MeshOptimizers.cpp: From Sukender, "Vertices in - DOUBLE PRECISION were not handled by Remapper classes. I added - missing virtual methods." - -2011-02-01 12:18 robert - - * src/osgDB/DatabasePager.cpp: Fixed the setting of the Drawable - modes - -2011-02-01 12:18 robert - - * include/osgUtil/IncrementalCompileOperation, - src/osgUtil/GraphicsCostEstimator.cpp, - src/osgUtil/IncrementalCompileOperation.cpp: Added experimental - timing and PBO usage into ICO+GCE classes - -2011-02-01 12:17 robert - - * src/osg/BufferObject.cpp: Fixed bug in PixelBufferObject - constructor for the case when a null Image is passed in to it. - Added extra checks for NULL buffer data. - -2011-01-31 11:40 robert - - * include/osg/ArrayDispatchers, include/osg/AudioStream, - include/osg/BufferIndexBinding, include/osg/ComputeBoundsVisitor, - include/osg/GLBeginEndAdapter, include/osg/GLObjects, - include/osg/Hint, include/osg/ImageSequence, - include/osg/ImageUtils, include/osg/KdTree, - include/osg/MixinVector, include/osg/Observer, - include/osg/ObserverNodePath, include/osg/OcclusionQueryNode, - include/osg/OperationThread, include/osg/ShaderAttribute, - include/osg/ShaderComposer, include/osg/StateAttributeCallback, - include/osg/TemplatePrimitiveFunctor, include/osg/Texture2DArray, - include/osg/Texture2DMultisample, include/osg/TransferFunction, - include/osgAnimation/Action, - include/osgAnimation/ActionAnimation, - include/osgAnimation/ActionBlendIn, - include/osgAnimation/ActionBlendOut, - include/osgAnimation/ActionCallback, - include/osgAnimation/ActionStripAnimation, - include/osgAnimation/ActionVisitor, - include/osgAnimation/Animation, - include/osgAnimation/AnimationManagerBase, - include/osgAnimation/AnimationUpdateCallback, - include/osgAnimation/BasicAnimationManager, - include/osgAnimation/Bone, include/osgAnimation/BoneMapVisitor, - include/osgAnimation/Channel, include/osgAnimation/CubicBezier, - include/osgAnimation/EaseMotion, include/osgAnimation/Export, - include/osgAnimation/FrameAction, - include/osgAnimation/Interpolator, include/osgAnimation/Keyframe, - include/osgAnimation/LinkVisitor, - include/osgAnimation/MorphGeometry, - include/osgAnimation/RigGeometry, - include/osgAnimation/RigTransform, - include/osgAnimation/RigTransformHardware, - include/osgAnimation/RigTransformSoftware, - include/osgAnimation/Sampler, include/osgAnimation/Skeleton, - include/osgAnimation/StackedMatrixElement, - include/osgAnimation/StackedQuaternionElement, - include/osgAnimation/StackedRotateAxisElement, - include/osgAnimation/StackedScaleElement, - include/osgAnimation/StackedTransform, - include/osgAnimation/StackedTransformElement, - include/osgAnimation/StackedTranslateElement, - include/osgAnimation/StatsHandler, - include/osgAnimation/StatsVisitor, include/osgAnimation/Target, - include/osgAnimation/Timeline, - include/osgAnimation/TimelineAnimationManager, - include/osgAnimation/UpdateBone, - include/osgAnimation/UpdateMaterial, - include/osgAnimation/UpdateMatrixTransform, - include/osgAnimation/Vec3Packed, - include/osgAnimation/VertexInfluence, - include/osgDB/AuthenticationMap, include/osgDB/Callbacks, - include/osgDB/ConvertUTF, include/osgDB/DataTypes, - include/osgDB/DatabaseRevisions, include/osgDB/FileCache, - include/osgDB/ImagePager, include/osgDB/ImageProcessor, - include/osgDB/InputStream, include/osgDB/ObjectWrapper, - include/osgDB/Options, include/osgDB/OutputStream, - include/osgDB/PluginQuery, include/osgDB/Serializer, - include/osgDB/StreamOperator, include/osgDB/XmlParser, - include/osgDB/fstream, include/osgFX/Outline, - include/osgFX/Version, include/osgGA/CameraViewSwitchManipulator, - include/osgGA/FirstPersonManipulator, - include/osgGA/MultiTouchTrackballManipulator, - include/osgGA/OrbitManipulator, - include/osgGA/SphericalManipulator, - include/osgGA/StandardManipulator, - include/osgManipulator/TabBoxTrackballDragger, - include/osgManipulator/Version, - include/osgParticle/AngularDampingOperator, - include/osgParticle/BounceOperator, - include/osgParticle/CompositePlacer, - include/osgParticle/DampingOperator, - include/osgParticle/DomainOperator, - include/osgParticle/ExplosionOperator, - include/osgParticle/OrbitOperator, - include/osgParticle/SinkOperator, - include/osgPresentation/AnimationMaterial, - include/osgPresentation/CompileSlideCallback, - include/osgPresentation/Export, - include/osgPresentation/PickEventHandler, - include/osgPresentation/SlideEventHandler, - include/osgPresentation/SlideShowConstructor, - include/osgQt/Export, include/osgQt/GraphicsWindowQt, - include/osgQt/QFontImplementation, - include/osgQt/QGraphicsViewAdapter, include/osgQt/QWebViewImage, - include/osgQt/QWidgetImage, include/osgShadow/ConvexPolyhedron, - include/osgShadow/DebugShadowMap, - include/osgShadow/LightSpacePerspectiveShadowMap, - include/osgShadow/MinimalCullBoundsShadowMap, - include/osgShadow/MinimalDrawBoundsShadowMap, - include/osgShadow/MinimalShadowMap, - include/osgShadow/ParallelSplitShadowMap, - include/osgShadow/ProjectionShadowMap, - include/osgShadow/SoftShadowMap, - include/osgShadow/StandardShadowMap, - include/osgShadow/ViewDependentShadowTechnique, - include/osgSim/ObjectRecordData, include/osgSim/ShapeAttribute, - include/osgTerrain/GeometryTechnique, include/osgTerrain/Layer, - include/osgTerrain/Locator, include/osgTerrain/Terrain, - include/osgTerrain/ValidDataOperator, include/osgText/Font3D, - include/osgText/Glyph, include/osgText/KerningType, - include/osgText/Style, include/osgText/Text3D, - include/osgText/TextBase, include/osgUtil/ConvertVec, - include/osgUtil/DrawElementTypeSimplifier, - include/osgUtil/EdgeCollector, - include/osgUtil/GraphicsCostEstimator, - include/osgUtil/IncrementalCompileOperation, - include/osgUtil/MeshOptimizers, - include/osgUtil/OperationArrayFunctor, - include/osgUtil/PrintVisitor, - include/osgUtil/ReversePrimitiveFunctor, - include/osgUtil/SceneGraphBuilder, include/osgUtil/ShaderGen: - Ran: - svn propset svn:eol-style native include/*/* - svn propset svn:keywords "Author Date Id Revision" include/*/* - -2011-01-31 11:35 robert - - * include/OpenThreads/Atomic, include/OpenThreads/Block, - include/OpenThreads/ReadWriteMutex, - include/OpenThreads/ReentrantMutex, include/OpenThreads/Version: - svn propset svn:keywords "Author Date Id Revision" - include/OpenThreads/* - -2011-01-31 10:41 robert - - * include/OpenThreads/Atomic, include/OpenThreads/Block, - include/OpenThreads/ReadWriteMutex, - include/OpenThreads/ReentrantMutex, include/OpenThreads/Version: - Set eol-style to native. - -2011-01-28 14:24 robert - - * src/osgUtil/IncrementalCompileOperation.cpp: Temporarily disabled - the cost estimate code for the 2.9.11 release - -2011-01-28 13:54 robert - - * src/osgViewer/GraphicsWindowCocoa.mm: From Ulrich Hertlein, "I - adapted the Cocoa implementation so that it reports the - unmodified key - and the modified key as requested. Can other OS X developers - please test - the attached file, to make sure it works for everybody? - - I fixed the problem with the caps-lock-key, too." - -2011-01-28 12:34 robert - - * src/osgText/DefaultFont.cpp: Fixed size of default font - -2011-01-28 11:07 robert - - * src/osgPlugins/dae/daeWriter.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.cpp: From Per Fahlberg, - warning fixes - -2011-01-28 10:59 robert - - * examples/CMakeLists.txt, examples/osgqfont, - examples/osgqfont/CMakeLists.txt, examples/osgqfont/osgqfont.cpp: - From Mathias Froehlich, "Driven by the last qfontimplementation - changes, I realized, that I never - contributed my testcase/demo for the original implementation. - This attached change is similar to osgtext but uses the - QFontImplementation in - a Qt based viewer. - With that, it should be easier for all of us to test changes in - qfontimplementation" - -2011-01-28 10:53 robert - - * src/osgPlugins/dae/domSourceReader.h: From Ulrich Hertlien, "the - changes from r12126 (see below) in dae/domSourceReader.h cause - compiler errors on OS X - with gcc-4.2.1: - - In file included from - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/daeRAnimations.cpp:3: - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:43: - error: - explicit specialization in non-namespace scope 'class - osgDAE::domSourceReader' - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:45: - error: - explicit specialization in non-namespace scope 'class - osgDAE::domSourceReader' - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:47: - error: - explicit specialization in non-namespace scope 'class - osgDAE::domSourceReader' - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:49: - error: - explicit specialization in non-namespace scope 'class - osgDAE::domSourceReader' - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:51: - error: - explicit specialization in non-namespace scope 'class - osgDAE::domSourceReader' - ... - - The attached file fixes this." - -2011-01-28 10:50 robert - - * examples/osganalysis/osganalysis.cpp, - include/osgViewer/api/IOS/GraphicsWindowIOS: From Mourad - Boufarguine, "This is a tiny fix for some typos in osg code." - -2011-01-27 18:49 robert - - * src/osgQt/GraphicsWindowQt.cpp: From Andreas Roth, "simple fix to - support quad buffer stereo in osgQt" - -2011-01-27 17:14 robert - - * src/osgWidget/Window.cpp: From Eric Buehler, "I believe that the - osgWidget::Window::HA_CENTER alignment should be center aligned - rather than by the origin, as the osgWidget::Window::VA_TOP - causes. - - The current setAnchorHorizontal() command doesn't center the - center of the object, it just center's the object's origin. The - following change to osgWidget::Window::update() will correct that - behavior so that it is consistent with setAnchorVertical() - behavior. - " - -2011-01-27 17:12 robert - - * src/osgDB/FileNameUtils.cpp, - src/osgPlugins/dae/daeRAnimations.cpp, - src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeWGeometry.cpp, - src/osgPlugins/dae/daeWMaterials.cpp, - src/osgPlugins/dae/domSourceReader.h: From Sukender, "I found the - bug I was chasing! Here is my "twin" submission, from latest - trunk rev: 12124. - - 1. DAE submission: - DAE plugin now correctly writes images URI in Collada file, when - images are used twice. - I also greatly improved readability and maintenability of - geometry reading (mainly daeRGeometry.cpp), by factorizing code, - templatizing it (for double/single precision), and removing ugly - macros. - - 2. osgDB submission: - I updated osgDB::getPathRelative(): it is now far more readable, - it handles more cases (especially when you want to relativise - "a/c" from "a/b", which results in "../c"), and I added comments - to make it clearer to maintain." - -2011-01-27 16:23 robert - - * examples/osgkeyboard/osgkeyboard.cpp, include/osgGA/EventQueue, - include/osgGA/GUIEventAdapter, - include/osgViewer/api/Win32/GraphicsWindowWin32, - include/osgViewer/api/X11/GraphicsWindowX11, - src/osgGA/EventQueue.cpp, src/osgGA/GUIEventAdapter.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp: From Alexander Sinditskiy, - "reason of this changes described in - http://forum.openscenegraph.org/viewtopic.php?t=7596 - - and another problem is: - example osgkeyboard is not work (keys not highlight) if user have - 2 keyboard layout native and english and current user layout is - native - - I try to explain my changes - - we need something that is identify key without modifier keys and - layout -> this is UnmodifedKey - - I think osg must have its own UnmodifiedKeys table. Code must be - run same on different platforms. This can de guaranteed by - UnmodifiedKeys table. - - Mikhail Izmestev helped me. He implemented VirtualKey changes in - GraphicsWindowX11" - -2011-01-27 09:41 robert - - * examples/osgviewerIPhone/iphoneViewerAppDelegate.h, - examples/osgviewerIPhone/iphoneViewerAppDelegate.mm, - examples/osgviewerIPhone/main.m, - examples/osgviewerIPhone/osgIPhoneViewer-Info.plist, - examples/osgviewerIPhone/osgPlugins.h: Removed the executable - property from source files - -2011-01-26 18:47 robert - - * include/osgUtil/GraphicsCostEstimator, - src/osgUtil/GraphicsCostEstimator.cpp, - src/osgUtil/IncrementalCompileOperation.cpp: Implement first pass - at texture compile estimation - -2011-01-26 16:47 robert - - * include/osgUtil/IncrementalCompileOperation, - src/osgUtil/IncrementalCompileOperation.cpp: Replaced - CompileStats with GraphicsCostEstimator - -2011-01-26 16:46 robert - - * src/osg/glu/libutil/mipmap.cpp: From Mourad Biyfarguine, "This is - a fix to some 'potentially uninitialized local variable' warnings - in src/osg/glu/libutil/mipmap.cpp." - -2011-01-26 16:45 robert - - * include/osgDB/StreamOperator, - src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgPlugins/osg/XmlStreamOperator.h: From Mathias Froehlich, - build fix for Solaris - -2011-01-26 16:10 robert - - * src/osgQt/QFontImplementation.cpp: From Wang Rui, "I've found a - problem when using QFont (osgQt/QFontImplementation.cpp) - to read fonts: only the first character of a whole text is - correctly - shown and others are disappeared. I haven't got into the font - implementation so can't explain why this happened and how it - should - work under other platforms, but it seems to be fixed by - specifying - width and height of the glyph object. The source file is attached - for - future developments. At present it just works for my own project. - :-) - " - -2011-01-26 12:51 robert - - * examples/osggraphicscost/osggraphicscost.cpp, - include/osgUtil/GraphicsCostEstimator, - src/osgUtil/CMakeLists.txt, - src/osgUtil/GraphicsCostEstimator.cpp: Moved - GraphicsCostEstimator into osgUtil. - -2011-01-26 12:07 robert - - * examples/osggraphicscost/osggraphicscost.cpp: Implemented first - pass at geometry cost estimation. - -2011-01-25 16:48 robert - - * src/osgPlugins/fbx/WriterCompareTriangle.cpp, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.h, - src/osgPlugins/fbx/fbxRAnimation.cpp, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRNode.cpp, - src/osgPlugins/fbx/fbxReader.h: Fixed warnings - -2011-01-25 11:11 robert - - * examples/osggraphicscost/osggraphicscost.cpp: Further work on - GraphicsCostEstimator classes - -2011-01-24 21:12 robert - - * include/osg/BufferObject, src/osgDB/DatabasePager.cpp, - src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgPlugins/osg/XmlStreamOperator.h, - src/osgViewer/CMakeLists.txt: From Mathias Froehlich, build fixes - -2011-01-24 20:45 robert - - * examples/CMakeLists.txt, examples/osggraphicscost, - examples/osggraphicscost/CMakeLists.txt, - examples/osggraphicscost/osggraphicscost.cpp: Added - osggraphicscost example as a base of for developing and testing - the new osgUtil::GraphicsCostEsimator class. - -2011-01-24 11:45 cedricpinson - - * src/osgAnimation/Animation.cpp: From Michael Platings, Fix - animation duration when adding channel to animation - -2011-01-21 14:11 robert - - * src/osgPlugins/dae/ReaderWriterDAE.cpp: Added #include to fix - build - -2011-01-21 13:40 robert - - * src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/ReaderWriterDAE.h, - src/osgPlugins/dae/daeWAnimations.cpp, - src/osgPlugins/dae/daeWMaterials.cpp, - src/osgPlugins/dae/daeWriter.cpp, src/osgPlugins/dae/daeWriter.h: - From Sukender, " - DAE plugin was linking ORIGINAL images in the Collada file, using - image->getName() as a path (even if images were modified in - memory!). As the behaviour was not the one of other plugins (3DS, - FBX, and such), I made the plugin relativise images filenames (as - those plugins) and write the image which is in memory. However, - in order to avoid removing features, I kept the previous - behaviour but moved it in an option. Here are the options of the - plugin I changed: - - daeForceTexture was unclear in this new context and removed in - favor of two new options - - daeLinkOriginalTexturesNoForce: Writes reference to the - original image if found, instead of writing the image in memory - - daeLinkOriginalTexturesForce: Writes reference to the original - image even if not found, instead of writing the image in memory - Of course, if you specify no option, images are written as for - other plugins. - - Other thing I changed is the UTF8 support as I told you in a - previous conversation. Now there is a simple option, - "daeNamesUseCodepage", which makes all names except filenames - (materials, animation, geometries...) be considered as encoded - using current codepage. If so, they'll be converted to UTF8 when - writing; else they are written directly. Of course, filenames - follow OSG_USE_UTF8_FILENAME as usual. - - I did " - -2011-01-21 12:17 mplatings - - * src/osgPlugins/fbx/WriterNodeVisitor.cpp: From Sukender: I had to - call code from the FBX plugin (to relativise paths). I thus - extracted it from FBX and moved it in osgDB (FileNameUtils) - -2011-01-21 11:46 robert - - * include/osgDB/FileNameUtils, src/osgDB/FileNameUtils.cpp: From - Sukender, getPathRelative() method. - -2011-01-20 12:34 robert - - * include/osgDB/DatabasePager: Added export to see if it address - Mingw link problems - -2011-01-20 12:32 robert - - * include/osg/OperationThread, src/osg/OperationThread.cpp: From - Matthew Johnson-Roberson, "Small fix for operation thread to - protect the access to _operations vector by functions - getNumOperationsInQueue() and empty(). It is simply an addition - of OpenThreads::ScopedLock - lock(_operationsMutex); - to protect against accessing while writing which was segfaulting - in VPB - specifically in void ThreadPool::run(osg::Operation* op) - in the waiting loop - - while (_operationQueue->getNumOperationsInQueue() >= - _maxNumberOfOperationsInQueue) - " - -2011-01-20 12:27 robert - - * include/osgDB/ImageProcessor: From Per Fahlberg, warning fixes - -2011-01-20 12:23 robert - - * src/osgPlugins/ply/vertexData.cpp, - src/osgPlugins/ply/vertexData.h: From Simon Julier, "I have been - using the ply plugin to read files created by bundler and pmvs2 - (http://grail.cs.washington.edu/software/pmvs/). This program - generates models in the form of vertices only. However, the - existing ply reader implementation was not able to handle the - models generated in a satisfactory manner for two reasons: - - 1. It did not support normals applied to individual vertices. - 2. It would only support red / green / blue colour triples, but - the pmvs models are generated with diffuse colours. (The PLY - format, http://local.wasp.uwa.edu.au/~pbourke/dataformats/ply/, - lists specular and ambient colour forms as well.) - - To partially overcome these limitations, please find attached - modified versions of - - src/osgPlugins/ply/vertexData.cpp - src/osgPlugins/ply/vertexData.h - - The changes I've made are: - - 1. I have changed the boolean hasColor flag to a vertexField - (which is a boolean operation on an enum) to indicate what fields - are present in the ply file. (This is required because Turk's ply - reader spits out warnings for every line where you try to read - fields which do not exist.) - 2. I have modified the code to apply valid normals to either - triangles or vertices. - 3. I have kludged in "support" for the various colour variants. - Specifically, all the colour specified can be read from the file. - However, they are all applied in the same way (namely as a colour - array, bound to each vertex)." - -2011-01-19 10:57 robert - - * CMakeModules/FindOpenEXR.cmake, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/exr/CMakeLists.txt: From Simon Julier, "I ran - across linking errors with osgdb_exr. Specifically, I found it - was necessary to link against libImlIlf, libImlThread, libHalf, - libIex and libzip. - - I have attached a patch, against the trunk from 13:30 today, - which consists of the following: - - 1. CMakeModules/FindOpenEXR.cmake: Look for libIlmThread and - libIex as well. 2. src/osgPlugins/CMakeList.txt: Only include the - exr subdirectory if both the OpenEXR and zip libraries were - found. 3. src/osgPlugins/exr/CMakeLists.txt: Add ZIP_LIBRARY to - TARGET_EXTERNAL_LIBRARIES." - -2011-01-19 10:38 robert - - * src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/ReaderWriterDAE.h: From Sukender, normalized - option names - -2011-01-19 10:31 robert - - * src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/daeRAnimations.cpp, - src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeRSkinning.cpp, - src/osgPlugins/dae/daeReader.cpp, src/osgPlugins/dae/daeReader.h, - src/osgPlugins/dae/daeWGeometry.cpp, - src/osgPlugins/dae/daeWriter.cpp, src/osgPlugins/dae/daeWriter.h, - src/osgPlugins/dae/domSourceReader.cpp, - src/osgPlugins/dae/domSourceReader.h: From Sukender, "Added - ability for writer to read from Vec3/4d/f. Plugin now warns if it - finds another type of data" - -2011-01-19 09:53 robert - - * src/osgPlugins/dae/daeWSceneObjects.cpp, - src/osgPlugins/dae/daeWTransforms.cpp, - src/osgPlugins/dae/daeWriter.cpp, src/osgPlugins/dae/daeWriter.h: - From Sukender, "Factorized the depth loop ("while ( lastDepth >= - _nodePath.size() )...") into a method called - updateCurrentDaeNode(). Added missing calls into - apply(osg::LightSource &) and daeWriter::apply(osg::Camera &) and - daeWriter::apply(osg::CameraView &)" - -2011-01-19 09:36 robert - - * src/osgPlugins/dae/ReaderWriterDAE.cpp: From Sukender, "Fixed - ReaderWriterDAE::ConvertFilePathToColladaCompatibleURI(): It now - handles paths containing '#' character as expected." - -2011-01-19 09:34 robert - - * src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/ReaderWriterDAE.h: From Sukender and Robert - Osfield, clean up of options - -2011-01-18 16:14 robert - - * include/osgDB/OutputStream: From Michael Platings, "I've attached - a fix for a subtle bug that causes animations (and quite possibly - other things) to be serialized incorrectly. - - For the following code: - - #define MYMACRO(NAME) myOutputStream << #NAME; - MYMACRO(Group) - - you would expect that "Group" would be output. However, as there - are many overloaded operator<< functions, none of which take a - const char* argument, the function that's actually called is - operator<<(bool). Hence what actually gets output is "TRUE". - An actual example of this is in - serializers\osgAnimation\Animation.cpp, WRITE_CHANNEL_FUNC2. - - So the simple solution to this is to add operator<<(const char*), - attached. - " - -2011-01-18 15:00 robert - - * src/osgViewer/ViewerEventHandlers.cpp: Moved the StateSet query - and texcoord settings to within the if (vertices) block to avoid - an attempt to dereferences geometry->getStateSet() when non - Geometry drawable is intersected. - -2011-01-18 11:20 robert - - * src/osgUtil/IncrementalCompileOperation.cpp: Fixed CompileSet so - it returns true when there is nothing to compile at all. - -2011-01-18 09:54 robert - - * src/osgDB/DatabasePager.cpp: Build fix - -2011-01-17 17:17 robert - - * include/osgUtil/IncrementalCompileOperation, - src/osgDB/DatabasePager.cpp, - src/osgUtil/IncrementalCompileOperation.cpp: Implemented better - coupling of DatabasePager and IcrementalCompileOperation, - removing functional duplication and opening the door to dynamic - enabling/disabling - of pre compile based on load. - -2011-01-17 09:10 robert - - * include/osg/StateSet: Added getNum methods - -2011-01-15 18:12 robert - - * examples/osganalysis/osganalysis.cpp: First steps on the path to - integrating ImageProcessor - -2011-01-14 14:30 robert - - * src/osgPlugins/OpenFlight/Document.cpp, - src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: From Guy - Volckaert, "Changes to the openflight plugin to support replacing - double sided polygons by 2 opposite facing polygons. This is - sometimes required to resolved lighting and intersection issues. - A new import option was was added to activate this feature called - "replaceDoubleSidedPolys". - - -2011-01-14 13:31 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Sukender, "- Lowered - one notify level (it's now coherent with the "if" just above)" - -2011-01-14 12:08 robert - - * examples/osgmanipulator/osgmanipulator.cpp: From Wang Rui, "I'd - like to submit a small new feature to the osgmanipulator example - which could fix the dragger size in screen, so that no matter how - we - zoom in/out the camera, the dragger will never be scaled. - - This is what 3D graphics software like 3dsmax and maya behave, - which - helps users select and manipulate draggers more easily. - - You may turn on the feature with the new --fixedDraggerSize - argument: - - # osgmanipulator.exe --fixedDraggerSize --dragger - TranslateAxisDragger - cessna.osg - " - -2011-01-14 12:03 robert - - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Sukender, "TIFF - plugin now outputs messages coming from libtiff. - " - -2011-01-14 11:49 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Sukender, "Small - submission: - 3DS reader now takes care to not create Texture2D - duplicates" - -2011-01-14 11:46 robert - - * src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.h: Fixed for build with non - autoatic ref_ptr<> to C pointer conversion - -2011-01-14 11:00 robert - - * include/osgDB/InputStream, src/osgDB/InputStream.cpp, - src/osgWrappers/serializers/osgTerrain/ImageLayer.cpp: From Brad - Christiansen, "Attached is a fix which implements the lazy - loading of optional layers (if requested) in the new osgb/osgt - formats." - -2011-01-13 18:49 robert - - * CMakeLists.txt, include/osg/Version: Updated so version number - -2011-01-13 18:05 robert - - * src/osgDB/CMakeLists.txt: From Tim Moore, added missing - ImageProcessor header reference - -2011-01-13 14:59 robert - - * CMakeLists.txt, CMakeModules/FindNVTT.cmake, - include/osgDB/ImageProcessor, include/osgDB/Registry, - src/osgDB/Registry.cpp, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/nvtt, src/osgPlugins/nvtt/CMakeLists.txt, - src/osgPlugins/nvtt/NVTTImageProcessor.cpp: Added ImageProcessor - interface class and plugin mechnanism for ImageProcessor - implementations to osgDB::Registry. - - Add NVidiaTextureTools based plugin that provides an - ImageProcessor implementation within an nvtt plugin. - -2011-01-12 19:29 robert - - * examples/osgposter/PosterPrinter.cpp, include/osg/Node, - include/osg/NodeVisitor, include/osgDB/DatabasePager, - include/osgDB/InputStream, include/osgDB/Options, - include/osgTerrain/Terrain, src/osg/PagedLOD.cpp, - src/osg/ProxyNode.cpp, src/osgDB/DatabasePager.cpp, - src/osgDB/Options.cpp, src/osgPlugins/ive/TerrainTile.cpp, - src/osgPlugins/txp/TXPPagedLOD.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/TerrainTile.cpp, - src/osgWrappers/serializers/osgTerrain/TerrainTile.cpp: - Refactored the way that the DatabasePager passes the Terrain - decorator node onto the TerrainTile. - - The DatabasePager now passes the Terrain pointer into the - ReaderWriter's via osgDB::Options object, - rather than pushing a NodePath containing the Terrain onto - NodeVisitor. This - change means that the DatabasePager nolonger needs to observer - the whole NodePath and - will be lighter and quicker for it. - - The change also means that ReadFileCallback can now run custom - NodeVisitor's on the scene graph without - having to worry about TerrainTile's constructing scene graphs - prior to the Terrain being assigned. - - Also changed is the NodeVisitor::DatabaseRequestHandler which now - requires a NodePath to the node that you wish - to add to rather than just the pointer to the node you wish to - add to. This is more robust when handling scenes - with multiple parental paths, whereas previously errors could - have occurred due to the default of picking the first - available parental path. This change means that subclasses of - DatabasePager will need to be updated to use this new - function entry point. - -2011-01-12 17:39 robert - - * include/osgViewer/api/X11/GraphicsWindowX11: Fixed comment - -2011-01-11 17:29 robert - - * src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.h: From Sukender, "FBX - plugin did not relay the osgDB::ReaderWriter::Options* when - writing images (the writeImage() call). Now it does." - -2011-01-11 17:29 robert - - * src/osgPlugins/fbx/WriterCompareTriangle.cpp, - src/osgPlugins/fbx/WriterCompareTriangle.h, - src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.h, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, - src/osgPlugins/fbx/fbxRAnimation.cpp, - src/osgPlugins/fbx/fbxRNode.cpp, src/osgPlugins/fbx/fbxReader.h: - Changed dos endings to unix line endings - -2011-01-11 17:23 robert - - * src/osgManipulator/AntiSquish.cpp: From Mikhail Izmestev, - "Current osgManipulator::AntiSquishCallback stops update - traversal of childrens." - -2011-01-11 17:20 robert - - * include/osgGA/StandardManipulator: From Wojciech Lewandowski, "We - encountered a problem when we tried overloading - StandardManipulator class. Linker was unable to find - StandardManipulator::AnimationData methods. Prefixing - AnimationData with OSGGA_EXPORT removed the issue. - - Fixed header is attached." - -2011-01-11 17:18 robert - - * include/osg/State: From Chris Hanson, "As an extension to this - excellent work: - http://forum.openscenegraph.org/viewtopic.php?t=7285 - - This file adds the same string API wrapper to the State object - for other older apps that - track Uniforms by string. The original comment about performance - is preserved." - -2011-01-11 17:05 robert - - * src/osg/State.cpp: Changed debug messages to INFO - -2011-01-11 17:04 robert - - * src/osg/State.cpp: From Glenn Waldron, "Attached is a fix to - State::convertVertexShaderSourceToOsgBuiltIns. The method was - incorrectly inserting new declarations before a GLSL "#version" - directive, which must always be the first line in a shader. This - patch detects the #version directive and ensures that new - declarations are inserted after it. - - Attached is the modified State.cpp file. - - I have also attached a sample transcript, showing the new code - working properly. I ran it against osgEarth's shaders and it - works as expected. - - " - -2011-01-11 16:58 robert - - * include/osgViewer/Renderer, src/osgViewer/Renderer.cpp: From Tim - Moore, "This patch fixes a race condition in - Renderer::ThreadSafeQueue that was causing some notifications of - available SceneView objects to be missed. I saw a very noticeable - performance problem (60 fps -> 8 fps) in DrawThreadPerContext - mode in an osgEarth application before this patch. I had high - hopes that this change might fix the much-discussed multiple GPU - problem; no such luck, but I think the root cause of that is - probably a similar threading issue." - -2011-01-11 16:18 robert - - * src/osgPlugins/3ds/lib3ds/lib3ds_io.c: From Guy Volckaert, - warning fixes - -2011-01-11 11:39 robert - - * examples/osgtext3D/TextNode.cpp, - examples/osgtext3D/osgtext3D.cpp: Added more flexible testing of - Text3D - -2011-01-11 11:39 robert - - * include/osgText/Glyph, include/osgText/Text, - include/osgText/TextBase, - src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h, src/osgText/Glyph.cpp, - src/osgText/Text.cpp, src/osgText/Text3D.cpp, - src/osgText/TextBase.cpp: Unified more of the 2D and 3D text - setup, fixed bugs in Text3D setup - which address the problems of black 3D text and the kerning - causing problems with font positioning. - -2011-01-10 13:28 robert - - * src/osg/ApplicationUsage.cpp: Improved the handling of - application argument output when the options are very long. - -2011-01-05 11:43 robert - - * src/osgText/GlyphGeometry.cpp: Added check for invalid face size - to prevent a crash - -2011-01-04 10:21 robert - - * src/osg/Geometry.cpp: Added extra checks to - osg::Geometry::verifyArrays(std::ostream&) - -2011-01-03 19:41 robert - - * applications/osgfilecache/osgfilecache.cpp, include/osg/Geometry, - src/osg/Geometry.cpp: Added - osg::Geometry::verifyArray(std::ostream&) method to enable checks - to be done on osg::Geometry to see if the arrays - are big enough to handle the primitives used in the geometry. - - Added usage of verifyArray into osgfilecache so that it reports - any problems on reading files in paged database. - -2010-12-24 19:47 robert - - * src/osgWidget/Input.cpp: Added iterator include - -2010-12-24 19:19 robert - - * include/osgUtil/IncrementalCompileOperation, - src/osgUtil/IncrementalCompileOperation.cpp: Refactored - IncrementalCompileOperation to make it more flexible. - -2010-12-23 13:11 robert - - * src/osg/NodeVisitor.cpp, src/osgDB/DatabasePager.cpp, - src/osgPlugins/3ds/lib3ds/lib3ds_track.c: Fixed warnings - -2010-12-23 10:45 robert - - * src/OpenThreads/win32/Makefile, - src/OpenThreads/win32/OpenThreads.mak: Deleted old makefile files - that are no longer required now we have CMake - -2010-12-23 10:07 robert - - * CMakeModules/FindCOLLADA.cmake: From Per Fahlberg, "The - FindCOLLADA.cmake module failed to find the static libs for the - latest collada dom, attached is the fixed file." - -2010-12-23 10:05 robert - - * src/OpenThreads/win32/CMakeLists.txt, - src/OpenThreads/win32/OpenThreads.mak, - src/OpenThreads/win32/Win32Condition.h: From Ulrich Hertlein - (applied by Robert Osfield), "OpenThreads/win32/Win32Condition.h - is not used anymore and could be removed from the - repository and win32/OpenThreads.mak and win32/CMakeLists.txt." - -2010-12-23 09:59 robert - - * examples/osgterrain/osgterrain.cpp: From Jean-Sebastien, "In my - auto-build today there are 3 errors caused by using a ref_ptr - in a function taking a T* when building without the implicit - conversion." - -2010-12-22 20:11 robert - - * CMakeLists.txt, - examples/osganimationmakepath/osganimationmakepath.cpp, - examples/osganimationnode/osganimationnode.cpp, - examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp, - examples/osgposter/PosterPrinter.cpp, - examples/osgposter/PosterPrinter.h, - examples/osguserstats/osguserstats.cpp, - include/osg/DeleteHandler, include/osg/FrameStamp, - include/osg/NodeVisitor, include/osg/OcclusionQueryNode, - include/osg/PagedLOD, include/osg/Stats, include/osg/Version, - include/osgDB/DatabasePager, - include/osgParticle/ParticleProcessor, - include/osgParticle/ParticleSystem, - include/osgParticle/ParticleSystemUpdater, - include/osgPresentation/CompileSlideCallback, - include/osgQt/QGraphicsViewAdapter, include/osgSim/DOFTransform, - include/osgSim/ImpostorSprite, include/osgUtil/TransformCallback, - include/osgViewer/Renderer, src/osg/DeleteHandler.cpp, - src/osg/OcclusionQueryNode.cpp, src/osg/PagedLOD.cpp, - src/osg/Stats.cpp, src/osgAnimation/StatsHandler.cpp, - src/osgDB/DatabasePager.cpp, - src/osgParticle/ParticleProcessor.cpp, - src/osgPlugins/Inventor/PendulumCallback.cpp, - src/osgPlugins/Inventor/PendulumCallback.h, - src/osgPlugins/Inventor/ShuttleCallback.cpp, - src/osgPlugins/Inventor/ShuttleCallback.h, - src/osgPlugins/txp/TXPPagedLOD.cpp, - src/osgQt/QGraphicsViewAdapter.cpp, src/osgSim/DOFTransform.cpp, - src/osgSim/ImpostorSprite.cpp, src/osgText/Text.cpp, - src/osgUtil/SceneView.cpp, src/osgUtil/TransformCallback.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/StatsHandler.cpp, src/osgViewer/Viewer.cpp, - src/osgViewer/ViewerBase.cpp, - src/osgWrappers/serializers/osg/OcclusionQueryNode.cpp, - src/osgWrappers/serializers/osg/PagedLOD.cpp: Converted - FrameStamp::g/setFrameNumber from int to uint - -2010-12-21 12:54 robert - - * src/osgDB/DatabasePager.cpp: From Tim Moore, Dereference the - databaseRequest while the queue is locked. This prevents the - request from being - deleted at an unpredictable time within - addLoadedDataToSceneGraph. - -2010-12-21 12:51 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Introduced a local - reference to the appropriate EasyCurl object to avoid seperate - getEasyCurl() incurring a mutex lock overhead. - -2010-12-21 10:23 robert - - * src/OpenThreads/pthreads/PThread.c++: Improved indentation to - make it more readable and consistent with OSG. - -2010-12-21 09:36 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Cleaned - up the frame number increment. - -2010-12-21 09:12 robert - - * src/osgPlugins/OpenFlight/expGeometryRecords.cpp: From Paul - Martz, Fix for "in expGeometryRecords.cpp lines 813-820, we write - the UV list data incorrectly. According to the FLT spec, the data - should be grouped per-vertex, not per-layer. - - We should have: - UV for vertex 0, layer 1 - UV for vertex 0, layer 2 - UV for vertex 1, layer 1 - UV for vertex 1, layer 2 - ...etc... - - Instead, we have this: - UV for vertex 0, layer 1 - UV for vertex 1, layer 1 - ...etc... - UV for vertex 0, layer 2 - UV for vertex 1, layer 2 - ...etc..." - -2010-12-20 17:04 robert - - * src/osgUtil/CullVisitor.cpp: From Andy Skinner, "In this file - I’ve changed TriangleFunctor to TemplatePrimitiveFunctor, and - added operator() methods for: - - · points (just look at points in frustum) - - · lines (simple line clip—replace the external point) - - · quadrilaterals (call operator() for triangles twice)" - -2010-12-20 16:23 robert - - * src/osgWrappers/deprecated-dotosg/osg/Geometry.cpp: From Andy - Skinner, "We use a shared array for our OpenSceneGraph arrays, - and the existing (deprecated) OSG plugin casts the Array to - IntArray and FloatArray and the like. Because our arrays don’t - use FloatArray, this crashes for us. - - - - Attached is src/osgWrappers/deprecated-dotosg/osg/Geometry.cpp. - It gets the data pointer out and casts it to a pointer to the - element type, rather than casting the array object itself. This - seems to work." - -2010-12-20 12:17 robert - - * include/osg/GL: Moved the GL3 include to within the code block - that handles GL1/GL2 - -2010-12-20 12:03 robert - - * examples/osganimationmorph/osganimationmorph.cpp: Fixed memory - leak by introducing use of ref_ptr<> - -2010-12-20 12:02 robert - - * examples/osganimationmorph/osganimationmorph.cpp: From Kim - Seokhwan, "Error fix in - example/osganimationmorph/osganimationmorph.cpp - - in this file, - function, - osg::Geometry* getShape(const std::string& name) - (line 51) - - tries to use null pointer when model is not provided. - I added simple comment in attached file." -2010-12-20 10:49 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14377 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/TXPArchive.cpp: From Trajce Nikolov, Fixes to - avoid cracks in older archives, tested with archives 2.0, 2.1, - 2.2 . -2010-12-19 13:25 robert +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 - * src/osgPlugins/txp/TXPNode.cpp, - src/osgPlugins/txp/TileMapper.cpp, - src/osgPlugins/txp/TileMapper.h: From Trajce Nicklov, "I went - thru the TileMapper today very carefuly and I remove all the - tileStack approach - it made everything simplier and I think more - proper. Cleaned the code as well. It was tested on huge archive - with many lods as well with variable lods. Fix attached." -2010-12-17 13:43 robert - - * src/osg/BufferObject.cpp, src/osg/Texture.cpp: From Tim Moore, - fix for race conditions in takeOrGenerate() methods - -2010-12-17 11:46 robert - - * src/osg/glu/libtess/normal.cpp, src/osg/glu/libtess/tess.h, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp, - src/osgPlugins/vrml/ConvertToVRML.cpp: Fixed warnings - -2010-12-17 11:19 robert - - * applications/osgviewer/osgviewer.cpp: Added --speed - command line parameter to osgviewer to enable control of the - speed that animation paths are played back at. - -2010-12-17 10:59 robert - - * src/osg/BufferObject.cpp, src/osg/Texture.cpp: Fixed the - GLBufferObjectSet::deleteAllGLBufferObjets() and - TextureObjectSet::deletaAllTextureObjects() methods - and improved the checkConsistency() usage so it's now possible to - switch if off completed from being compiled in. - -2010-12-15 19:44 robert - - * include/osg/Texture, src/osg/BufferObject.cpp, - src/osg/Texture.cpp: Fixed the size computation +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 -2010-12-15 16:30 robert - * include/osg/Texture: Removed no longer used static member - variables +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 -2010-12-15 12:34 robert - * src/osg/BufferObject.cpp, src/osg/Texture.cpp: Improvements to - GLBufferObject and TextureObject pools +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=...) +============================================================================== -2010-12-14 20:22 robert +The crash disappears if I either (1) disable the use of images with stride +in the (public) osgGeo-library, or (2) add the following bugfix to Glyph.cpp. +This combination gives me the confidence that I understand where this problem +originates from, without trying to understand the full OpenGL details. - * src/osg/BufferObject.cpp, src/osg/Texture.cpp: Added report of - ration of current size to max target size for buffer. +=============================================================================== +@@ -221,7 +223,12 @@ + imageData[i] = 0; + } -2010-12-14 20:07 robert ++ glPixelStorei(GL_UNPACK_ALIGNMENT,1); - * examples/osganalysis/osganalysis.cpp: Added --speed option and - output of buffer object and texture object pool stats at the end - of the animation path. ++ #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, +================================================================================ -2010-12-14 20:07 robert +I have copied (and adapted) the added lines above from the same source file, +where they were used in front of a similar call to glTexSubImage2D(.) around +line 515. +" - * include/osgGA/AnimationPathManipulator, - src/osgGA/AnimationPathManipulator.cpp: Added - AnimationCompletedCallback, s/getTimeScale and s/getTimeOffset() - method to enable finer control of AnimationPathManipulator. -2010-12-14 19:29 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14372 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osganalysis/osganalysis.cpp, include/osg/BufferObject, - include/osg/Texture, src/osg/BufferObject.cpp, - src/osg/Texture.cpp: Added methods for checking sizes of various - buffer object/texture object pool sizes. -2010-12-14 15:28 robert +Mon, 21 Jul 2014 12:21:42 +0000 +Checked in by : Robert Osfield +Initial work on integtasting osgUI into Present3Dgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14370 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/Texture, src/osg/Texture.cpp, - src/osgDB/DatabasePager.cpp: Removed redundent - MinimumNumberOfTextureObjectsToRetainInCache static variable -2010-12-14 14:32 robert +Mon, 21 Jul 2014 12:18:43 +0000 +Checked in by : Robert Osfield +Fixed indentationgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14369 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osganalysis/osganalysis.cpp: Improved the parsing of - output filename -2010-12-14 13:43 robert +Mon, 21 Jul 2014 09:35:00 +0000 +Checked in by : Robert Osfield +Added debug messagesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14368 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osganalysis/osganalysis.cpp: Added - GLBufferObjectManager::reportStats() -2010-12-14 10:42 robert +Fri, 18 Jul 2014 17:17:01 +0000 +Checked in by : Robert Osfield +Added serailizer support for NodeVisitor, UpdateVisitor, CullVisitor and EventVisitorgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14367 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeModules/OsgCPack.cmake, - CMakeModules/OsgCPackConfig.cmake.in: From Alan Dickenson, "I - modified the CPack CMake files to provide the ability to easily - create packages of the OpenSceneGraph components. - - I modified the OsgCPackConfig.cmake.in and OsgCPack.cmake files - to expose access to select the package generator mechanism - through cmake CPACK_GENERATOR option. The user can specify the - type of package generator (i.e. rpms. deb, NSIS, tar, zip, etc) - that they would like to use from the CPack supported - packages/installation methods. - - I also changed the CPACK_PACKAGE_FILE_NAME to use - OSG_PACKAGE_FILE_NAME which contains the name of each component - so all of the component packages can be generated without - renaming the files. - - This should make it even easier to create distribution packages - for the various linux, windows and mac distribution methods - supported by CPack." -2010-12-14 08:58 robert +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 - * src/osgPlugins/CMakeLists.txt: Moved Performer and Inventor - plugins into block protected to only compile when not using GLES. -2010-12-14 08:53 robert +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 - * examples/osgposter/osgposter.cpp: From Wang Rui, "A modified - version is attached. The blank while generating is in fact - used to avoid dual update traversals of the scene, which is not - allowed in my application (but I forgot the reason ;-) Now the - blank - problem will disappear. - - Inactive mode is also available, using the --inactive mode and - --camera-eye and --camera-hpr to set camera position: - - ./osgposter --output-poster --poster output.bmp --tilesize 800 - 600 - --finalsize 8000 6000 cow.osg --inactive --camera-eye 0 0 20 - " - -2010-12-13 17:54 robert - - * examples/CMakeLists.txt, examples/osgviewerQt, - examples/osgviewerQtContext: Renamed osgviewerQtContext to - osgviewerQt, and removed deprecated examples from CMakeLists.txt - -2010-12-13 17:50 robert - - * examples/osgviewerQT, examples/osgviewerQtWidget: Moved - osgviewerQT and osgviewQtWidget to deprecated as - osgviewerQtContext will no be the main Qt example - -2010-12-13 17:50 robert - - * examples/osgbrowser: Moved osgbrowser into svn/trunk. - -2010-12-13 17:49 robert - - * examples/osgcegui: Move osgcegui into deprecated - -2010-12-13 17:37 robert - - * CMakeModules/FindXUL.cmake: Have moved FindXUL.cmake to - deprecated - -2010-12-13 17:36 robert - - * CMakeLists.txt, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/gecko: Have moved gecko plugin to deprecated - -2010-12-13 17:09 robert - - * include/osg/BufferObject, src/osg/BufferObject.cpp: Added - resizeGLObjectBuffers(uint) and relaseGLObjects(State*) to - BufferData. - -2010-12-13 16:25 robert - - * examples/osgviewerQtContext/CMakeLists.txt, - examples/osgviewerQtContext/GraphicsWindowQt, - examples/osgviewerQtContext/GraphicsWindowQt.cpp, - examples/osgviewerQtContext/osgviewerQtContext.cpp, - include/osgQt/GraphicsWindowQt, src/osgQt/CMakeLists.txt, - src/osgQt/GraphicsWindowQt.cpp: Moved GraphicsWindowQt from - osgviewerQtContext into osgQt. - -2010-12-13 13:41 robert - - * examples/osgposter/PosterPrinter.cpp, - examples/osgposter/PosterPrinter.h: Fixed warnings - -2010-12-13 13:37 robert - - * examples/CMakeLists.txt, examples/osgposter, - examples/osgposter/CMakeLists.txt, - examples/osgposter/PosterPrinter.cpp, - examples/osgposter/PosterPrinter.h, - examples/osgposter/osgposter.cpp: From Wang Rui, "Attachment is - an example of rendering 3D scenes to high resolution screenshots. - - I uses a queue of Camera objects to do offscreen rendering with - the Camera::attach() function. The entire picture is split into - many tiles and it will take a few seconds while attaching and - detaching cameras with tiles. You may select to output every tile - as an image file, or combine them together to create a large - poster, for example, a 12800 x 9600 image. - - Start the program like this: - - ./osgposter --output-poster --poster output.bmp --tilesize 800 - 600 --finalsize 8000 6000 cow.osg - - Adjust the scene camera to a suitable position and press 'p' or - 'P' on the keyboard. Wait until sub-cameras dispatching is - finished. And the poster file will be created while closing - window. A 8000 x 6000 output.bmp will be created to show a - fine-printed cow. :) - - The command below may also help: - - ./osgposter --help - " - -2010-12-13 12:16 robert - - * include/osgDB/SharedStateManager, src/osgDB/Registry.cpp, - src/osgDB/SharedStateManager.cpp, - src/osgPlugins/glsl/ReaderWriterGLSL.cpp: Form Richard Schmidt, - "The following features were added: - - * the glsl plugin now supports processing #includes. The file - extension sets the shader type. - - * the registry releases gl objects of the shared state manager - " - -2010-12-13 11:34 robert - - * CMakeLists.txt, CMakeModules/FindDirectInput.cmake, - examples/CMakeLists.txt, examples/osgdirectinput, - examples/osgdirectinput/CMakeLists.txt, - examples/osgdirectinput/DirectInputRegistry, - examples/osgdirectinput/DirectInputRegistry.cpp, - examples/osgdirectinput/osgdirectinput.cpp: From Wang Rui, "I - implemented a customized viewer event traversal here to read - state - changes from the DirectInput devices and add events to the event - queue. I've tested with the keyboard and joystick supports. - Because of - only having a very old 6-button gamepad, I can't do more - experiments. - Hope this will bring more ideas to those who face similar - problems, - especially simulation game designers. :) - - I didn't map all DirectInput key values to GUIEventAdapter key - symbols. Users may add more in the buildKeyMap() function freely. - The - mouse handling operations are also ignored, but will be easily - improved in the same way of creating keyboard and joystick - devices. - - Please add a line: - - FIND_PACKAGE(DirectInput) - - in the CMakeLists of root directory. And in the - examples/CMakeLists.txt: - - IF(DIRECTINPUT_FOUND) - ADD_SUBDIRECTORY(osgdirectinput) - ENDIF(DIRECTINPUT_FOUND) - - DirectX SDK 2009 is used here, but an older version like DX8 - should - also work in my opinion. - " - -2010-12-13 10:46 robert - - * examples/osgviewerWX/osgviewerWX.cpp, - examples/osgviewerWX/osgviewerWX.h: From Eduardo Poyart, "The - attached patch fixes a race condition that caused OSG to try to - render the scene before the window is realized. It works ok in my - osgviewerWX-derived application under Linux." - -2010-12-12 10:00 robert - - * src/osgViewer/GraphicsWindowX11.cpp: Added TODO notes - -2010-12-12 09:58 robert - - * src/osg/DisplaySettings.cpp: From Wojciech Lewandowski, added - docs on Swap Method env vars and command line options - -2010-12-12 09:52 robert - - * src/osgPlugins/txp/TileMapper.cpp: From Trajce Nikolov, "attached - is a fix for the txp loader (in TileMapper). The code was giving - wrong parent tile ids using the stack - I implemented differnt - approach for that" - -2010-12-12 09:40 robert - - * src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: From David Fries, - "The ffmpeg lockmanager was introduced in ffmpeg 52 30 1, but - later backported to 52 20 1, so add that to the version check - in ReaderWriterFFmpeg.cpp." - -2010-12-12 09:37 robert - - * src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/ReaderWriterTXP.h: From David Fries, "Avoid a - terrapage crash with outstanding - requests to a removed archive file. - ReaderWriterTXP::getArchiveName - will create an archive if it doesn't exist. This is causing a - crash - if the terrain is removed and there are outstanding database - requests - in the database pager. The request will create a new archive, and - as - the archive is newly create doesn't have the materials etc to - support - the subtile that was just loaded. To fix the problem - getArchiveName - will only return existing archives. createArchiveName was added - to - create archives. - " - -2010-12-12 09:22 robert - - * include/osg/Program: From Wojciech Lewandowski, "As suggested I - have added missing method to PerContextProgram. Tested with our - programs. - - I see that we should expect some performance penalty for using - this method. It won’t be painful in my current case because I - have only a few animated characters. But I suspect some day I - will have to fix osgCal to use int UniformIds natively for larger - crowds." - -2010-12-12 08:56 robert - - * src/osgUtil/SmoothingVisitor.cpp: From Wang Rui, "I've found a - possible bug in the new SmoothingVisitor implementation - (with a great 'crease angle' feature), which will crash if the - normal - array is already set but without BIND_PER_VERTEX. I just believe - that - we should reallocate the normal array in these cases, as the old - implementation does. - " - -2010-12-12 08:54 robert - - * include/osg/TriangleIndexFunctor: Introuced a local typedef of - the index array type to keep the functor parameters consistent - -2010-12-11 15:12 robert - - * src/osgPlugins/gdal/ReaderWriterGDAL.cpp: From Cedric Pinson, - "Here a small fix about gdal plugin used to read dem file, if you - dont - setup the log level to INFO it does not work. It's because of - this line: - OSG_INFO << " GetGeoTransform == "<< - dataset->GetGeoTransform(geoTransform)<<" - - I have just put the function outside of an stream stuff, and it - works. - It's possible we have other code like that in other plugins, I - guess - it's a side effect of the MACRO stuff about notification." - -2010-12-10 15:27 robert - - * include/osgDB/DatabasePager, include/osgDB/Registry, - include/osgUtil/IncrementalCompileOperation, - include/osgUtil/SceneView, include/osgViewer/Renderer, - src/osgDB/DatabasePager.cpp, - src/osgUtil/IncrementalCompileOperation.cpp, - src/osgUtil/SceneView.cpp, src/osgViewer/Renderer.cpp: Refactor - of DatabasePage/IncrementalCompileOperation to use the - IncrementalCompileOperator for compiling objects - -2010-12-10 13:22 robert - - * applications/osgfilecache/osgfilecache.cpp, - examples/osgautocapture/osgautocapture.cpp, - src/osgPlugins/mdl/VTXReader.cpp: Build fixes to keep up with - changes in head inclusions/API in osgDB - -2010-12-09 12:16 robert - - * examples/osgterrain/osgterrain.cpp: Added handling of - CoordinateSystemNode when they decorate a loaded model, copying - the contents of the CoordinateSystemNode across to the Terrain - node - -2010-12-08 11:01 robert - - * CMakeLists.txt, include/osg/Version: Updated version number for - 2.9.11 dev release - -2010-12-08 10:34 robert - - * include/osgTerrain/Layer, include/osgTerrain/Terrain, - src/osgTerrain/Layer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/HeightFieldLayer.cpp: - From Ulrich Hertlein, "attached are patches to osgTerrain that - fix some typos and add a bit of documentation. - " - -2010-12-08 09:54 robert - - * src/osgDB/ObjectWrapper.cpp: Added protection against the - Registry from being deleted prior to the proxy objects - unregistering themselves - -2010-12-08 09:52 robert - - * src/osgDB/DatabasePager.cpp: Fixes for benign threading memory - contentions. - -2010-12-06 10:35 robert - - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp: Renamed YES - and NO enums with more description names that don't overlap with - iOS #define's - -2010-12-03 19:04 robert - - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS for release - -2010-12-03 17:50 robert - - * src/osgText/Text.cpp: From Johannes Bauerle, "When trying to use - the osgText functionality in an osg application built without - support for the fixed function pipeline I got a lot of warning - messages about invalid calls. - I found two indirect calls to the glTexEnv in the file Text.cpp: - - state.applyTextureAttribute(0,getActiveFont()->getTexEnv()); - - In the attached fix I surrounded these calls with #ifdef's - checking for OSG_GL_FIXED_FUNCTION_AVAILABLE to ensure that the - above function is only called when the fixed function pipeline is - available. - " - -2010-12-03 17:20 robert - - * src/osg/Texture2D.cpp: Removed redundent call. - -2010-12-03 14:24 robert - - * src/osg/Texture2D.cpp: Commented out debug message - -2010-12-03 14:18 robert - - * include/osg/Texture2D, src/osg/Texture2D.cpp: Introduced bool - Texture2D::textureObjectValid(State) and bool - SubloadCallback::textureObjectValid(Texture2D&,State&) method to - make it tell Texture2D::apply() whether the texture object is - still valid or whether it's no longed valid for the any changes - to the image attached to the Texture - -2010-12-02 14:20 robert - - * CMakeLists.txt, examples/osgviewerIPhone/CMakeLists.txt, - src/osgDB/CMakeLists.txt, src/osgPlugins/freetype/CMakeLists.txt, - src/osgPlugins/imageio/CMakeLists.txt, - src/osgViewer/CMakeLists.txt: From Ulrich Hertlein, "Attached; - here's a summary of the changes: - - CMakeLists.txt - -- don't look for GL when compiling for iOS (device or - simulator), look for OGLES instead - -- use architecture i386 for simulator - -- removed iphoneos-version-min for simulator - - - examples/osgviewerIPhone/CMakeLists.txt - -- added build dependencies for osgdb_osg, osgdb_freetype, - osgdb_imageio - -- added framework QuartzCore link dependency - - - src/osgDB/CMakeLists.txt - -- don't link against Carbon on iOS (device or simulator) - - - src/osgPlugins/freetype/CMakeLists.txt - -- don't link against OpenGL on iOS device or simulator - - - src/osgViewer/CMakeLists.txt - -- link against OpenGLES on iOS (device or simulator) - - - src/osgPlugins/imageio/CMakeLists.txt - -- compile ReaderWriterImageIO_IOS.cpp as Objective-C++ - - " - -2010-12-02 14:13 robert - - * applications/present3D/CMakeLists.txt, - examples/osgQtWidgets/osgQtWidgets.cpp, - examples/osgcluster/CMakeLists.txt, - examples/osgmultiviewpaging/osgmultiviewpaging.cpp, - examples/osgtext3D/TextNode.cpp, include/osg/State, - include/osgText/Style, src/OpenThreads/pthreads/PThread.c++, - src/osgGA/MultiTouchTrackballManipulator.cpp, - src/osgPlugins/3ds/lib3ds/lib3ds_impl.h, - src/osgPlugins/pvr/ReaderWriterPVR.cpp, - src/osgUtil/IncrementalCompileOperation.cpp, - src/osgWidget/Input.cpp: From Mathias Froehlich, "Attached are - most of the fixes that are required to build osg on solaris and - hpux. I have skipped irix this time as irix is too dead to keep - osg building - there. - - As usual, solaris does not like member templates in stl - containers. - Some headers missing and link problems due to missing libraries." - -2010-12-02 14:01 robert - - * examples/osgmultiviewpaging/osgmultiviewpaging.cpp: Ran dos2unix - to fix line endings - -2010-12-02 13:53 robert - - * src/osgDB/DatabasePager.cpp: From Brad Christiansen, commented - out debug messages - -2010-12-02 09:39 robert - - * src/osgViewer/PixelBufferWin32.cpp: Removed redudent - makeCurrentImplementation() that was causing a crash in - osgscreencapture. - -2010-12-01 20:14 robert - - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Updated - AUTHORS and Contributors.cpp to reflect new ChangeLog correctly - -2010-12-01 19:49 robert - - * examples/CMakeLists.txt: From Jason Daly, "OK, I dug a bit into - the CMake scripts and found a fairly obvious solution to the - QtWebkit issue on RHEL 6 (see my other message on osg-users). I - just moved the osgQtWidgets example in examples/CMakeLists.txt - under the check for QtWebKit. - - Fix is attached:" - -2010-12-01 14:03 robert - - * ChangeLog: Updated ChangeLog - -2010-12-01 13:33 robert - - * src/osg/Texture2D.cpp: From Fabien Lavignotte, "I use - Texture2D::copyTexImage2D to generate some textures at each frame - on a PagedLOD databases. - There was some performance problems after a long run, because - textures created with copyTexImage2D were not reused. - After investigation, there is a problem with the Texture Pool - when a texture object is created with an empty profile, and then - move after creation to TextureObjectSet with good profile using - setAllocated method. - I have just changed a little bit the code of - Texture2D::copyTexImage2D, to generate the texture object with - the good profile at the start." - -2010-11-30 16:22 robert - - * src/osgWrappers/serializers/osg/Texture2DArray.cpp: From "Matthew - Roberso, I've attached a small fix to the - src/osgWrappers/serializers/osg/Texture2DArray.cpp against the - svn head r11965 it simply calls setTextureDepth before attempting - to load the individual textures into the array. Currently without - that the loading fails with the following printout "Warning: - Texture2DArray::setImage(..) failed, the given layer number is - bigger then the size of the texture array." and the texture array - is empty if loaded from an osga/b." - -2010-11-30 14:36 robert - - * src/osgPlugins/osg/ReaderWriterOSG2.cpp: Fixed the readObject - method so it could handle reading from a file contains any valid - type of osg::Object - -2010-11-30 12:34 robert - - * src/osgDB/InputStream.cpp: Added passing of existingObj parameter - -2010-11-30 11:34 robert - - * src/osgPlugins/imageio/CMakeLists.txt: From Stephan Huber, - compile fix for iOS - -2010-11-30 09:26 robert - - * README.txt, examples/CMakeLists.txt, - examples/osgviewerIPhone/CMakeLists.txt, - include/osgViewer/api/IOS/GraphicsWindowIOS, - src/osgDB/CMakeLists.txt: From Ulrich Hertlein and Stephan Huber, - improves to iOS build - -2010-11-30 08:12 robert - - * include/osg/BufferIndexBinding, include/osg/BufferObject: From - Wang Rui, Compile fixes - -2010-11-29 17:43 robert - - * examples/CMakeLists.txt, examples/osguniformbuffer, - examples/osguniformbuffer/CMakeLists.txt, - examples/osguniformbuffer/osguniformbuffer.cpp, - include/osg/BufferIndexBinding, include/osg/BufferObject, - include/osg/GL2Extensions, include/osg/Program, - include/osg/StateAttribute, src/osg/BufferIndexBinding.cpp, - src/osg/BufferObject.cpp, src/osg/CMakeLists.txt, - src/osg/GL2Extensions.cpp, src/osg/Program.cpp: From Tim Moore, - "Here is initial support for uniform buffer objects. The binding - between a buffer object and an indexed target is implemented as a - new StateAttribute, UniformBufferBinding. I've included an - example program based on the code in the - ARB_uniform_buffer_object specification. - - A few things remain to do: - * The binding between a uniform block in a shader program and a - buffer indexed target number is fixed, like a vertex attribute - binding. This is too restrictive because that binding can be - changed without relinking the program. This mapping should be - done by name in the same way that uniform values are handled - i.e., like a pseudo state attribute; - - * There's no direct way yet to query for the offset of uniforms - in uniform block, so only the std140 layout is really usable. A - helper class that implemented the std140 rules would be quite - helpful for setting up uniform blocks without having to link a - program first; - - * There's no direct support for querying parameters such as the - maximum block length, minimum offset alignment, etc. Having that - information available outside of the draw thread would make - certain instancing techniques easier to implement." - -2010-11-29 09:32 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Removed - deperecated variables that are no longer used. - -2010-11-26 18:19 robert - - * CMakeLists.txt, README.txt, examples/CMakeLists.txt, - examples/osgviewerIPhone, - examples/osgviewerIPhone/CMakeLists.txt, - examples/osgviewerIPhone/iphoneViewerAppDelegate.h, - examples/osgviewerIPhone/iphoneViewerAppDelegate.mm, - examples/osgviewerIPhone/main.m, - examples/osgviewerIPhone/osgIPhoneViewer-Info.plist, - examples/osgviewerIPhone/osgPlugins.h, include/osgViewer/api/IOS, - include/osgViewer/api/IOS/GraphicsWindowIOS, - src/osgPlugins/imageio/ReaderWriterImageIO_IOS.cpp, - src/osgViewer/CMakeLists.txt, src/osgViewer/GraphicsWindowIOS.mm, - src/osgViewer/IOSUtils.h, src/osgViewer/IOSUtils.mm: From Tomas - Holgarth and Stephan Huber, " - attached you'll find the second part of the IOS-submission. It - contains - - * GraphicsWindowIOS, which supports external and "retina" - displays, - multisample-buffers (for IOS > 4.0) and multi-touch-events - * an ios-specific implementation of the imageio-plugin - * an iphone-viewer example - * cMake support for creating a xcode-project - * an updated ReadMe-file describing the necessary steps to get a - working xcode-project-file from CMake - - Please credit Thomas Hogarth and Stephan Huber for these changes. - - This brings the ios-support in line with the git-fork on github. - It - needs some more testing and some more love, the cmake-process is - still a - little complicated. - - You'll need a special version of the freetype lib compiled for - IOS, - there's one bundled in the OpenFrameworks-distribution, which can - be used." - - Notes, from Robert Osfield, modified CMakeLists.txt files so that - the IOS specific paths are within IF(APPLE) blocks. - -2010-11-26 17:37 robert - - * src/osgPlugins/OpenFlight/FltExportVisitor.h, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp: From Katharina - Plugge, fix for regression in handling of multitexturing. - -2010-11-26 17:35 robert - - * include/osgSim/MultiSwitch, - src/osgPlugins/OpenFlight/AncillaryRecords.cpp, - src/osgPlugins/OpenFlight/PrimaryRecords.cpp, - src/osgPlugins/OpenFlight/Record.h, src/osgSim/MultiSwitch.cpp: - From Eduardo Poyart, OSG patch: made it read ancillary - IndexedStrings into MultiSwitch - -2010-11-26 17:32 robert - - * ChangeLog: Updated ChangeLog - -2010-11-26 13:54 robert - - * include/osg/Object, include/osg/Uniform, src/osg/Uniform.cpp: - From Marin Platings and Robert Osfield, fix of Uniform unique ID - by making osg::Object::setName() virtual. - -2010-11-26 12:44 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Martin Beck, " - recently we noticed a little mistake for 3DS files using - instances of the same meshs: Every groupnode gets the same name - instead of the (correct) instance name of the object. The fix - only consists of two additional lines which check whether an - instance_name is given for the object and then uses this one - instead of the node name." - -2010-11-26 12:23 robert - - * src/osgWrappers/serializers/osg/AnimationPath.cpp: From Fabien - Lavignotte, "There was a small bug when using the new serializer - with AnimationPath. The serializer assumes NO_LOOPING is the - defaut for LoopMode, but in fact it is LOOP. - The new serializer avoids to write default values in text mode, - so the loop mode is not always correctly set." - - -2010-11-26 12:22 robert - - * include/osgDB/Serializer: Removed debug messages - -2010-11-26 10:31 robert - - * examples/osganalysis/osganalysis.cpp: From Magnus Kessler, "Typo - in usage string of examples/osganalysis - - please specifies -> please specify" - -2010-11-25 16:06 robert - - * include/osg/GL, include/osg/GraphicsContext, - src/osg/FrameBufferObject.cpp, src/osg/GraphicsContext.cpp, - src/osg/Texture.cpp, src/osgDB/FileUtils.cpp, - src/osgUtil/RenderStage.cpp: From Thomas Hogarth and Stephan - Huber, "attached you'll find part one of iphone-support. It - includes - - * support for NPOT-textures on IOS - * support for FBOs (only renderToTexture for now) on IOS (should - work - for other OpenGL ES 1/2 targets, too) - * FileUtils-support for IOS" - -2010-11-25 13:00 robert - - * src/osgViewer/Renderer.cpp: From Tim Moore, fix to stats timing - -2010-11-25 12:30 robert - - * include/osg/Program, include/osg/State, include/osg/Uniform, - src/osg/Program.cpp, src/osg/Uniform.cpp: From Michael Platings, - To address performance bottleneck that occurs when using large - number of uniforms introduced a name to uniqued ID scheme for - Uniforms so comparisons can be done on a uint rather than a - string. - -2010-11-25 12:07 robert - - * include/osg/Image, include/osg/Observer, - include/osgTerrain/TerrainTechnique: From Hartwig Wiesmann, "in - the files Image, Observer and TerrainTechnique unused parameters - exist resulting in a couple of compiler warnings (depending on - the compiler settings though). - The attached patches comment out the unused parameter names. - " - -2010-11-25 11:59 robert - - * applications/osgconv/osgconv.cpp: From Magnus Kessler, - "applications/osgconv: fix typo in tool options - - transprent -> transparent" - -2010-11-25 11:40 robert - - * src/osgTerrain/Terrain.cpp: Removed default assignement of - GeometryTechnique as the TerrainTechniquePrototype. - -2010-11-24 20:26 robert - - * src/osgDB/ObjectWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osg/Geometry.cpp, - src/osgWrappers/serializers/osg/Shader.cpp: From Wang Rui, "I'd - like to provide a quick updates of the new tessellation shader - serializers and dotosgwrappers. It includes reading/writing - supports - for the two new shader types and the GL_PATCHES enum. The - setParameterfv() method is not wrapped at present because it is - still - not finished. - - Enum serialziers don't require back-compatibility checks if only - add/remove enum items, so I'm not going to use the new - UPDATE_TO_VERSION macro this time." - -2010-11-24 20:20 robert - - * examples/osgtext3D/TextNode.h, src/osgText/GlyphGeometry.cpp, - src/osgText/GlyphGeometry.h: From Jean-Sebastien Guay, build - fixes for windows. - -2010-11-24 17:01 robert - - * src/osg/State.cpp: Added workaround for AMD/ATI driver bug - -2010-11-24 10:38 robert - - * include/osg/Drawable, src/osgViewer/Renderer.cpp, - src/osgViewer/StatsHandler.cpp: From Tim Moore, Fix for drivers - that don't properly support timer extensions. - - "" - -2010-11-24 10:09 robert - - * include/osgShadow/MinimalShadowMap, - include/osgShadow/ProjectionShadowMap, - src/osgShadow/ConvexPolyhedron.cpp, - src/osgShadow/DebugShadowMap.cpp, - src/osgShadow/MinimalCullBoundsShadowMap.cpp, - src/osgShadow/MinimalDrawBoundsShadowMap.cpp, - src/osgShadow/MinimalShadowMap.cpp: From Wojciech Lewandowski, - "1: fix for a issue with MinimalShadowMap and - LightSpacePerspectiveShadowMapVB techniques ignoring - minLightMargin parameter. - 2: minor tweak for a DebugHUD drawn improperly case when multiple - slave views shared one window. It now uses slave view viewport to - correctly position DebugHUD. - 3: deactivated ConvexPolyhedron notifications (they were - accidentaly activated when you replaced osg::notify calls with - OSG_NOTIFY macro). These warnings are useful only for shadow map - developer working on shadow volume optimizations. So there is no - sense in having them active all the time." - -2010-11-23 17:33 robert - - * examples/osgtext3D/CMakeLists.txt, - examples/osgtext3D/TextNode.cpp, examples/osgtext3D/TextNode.h, - examples/osgtext3D/osgtext3D.cpp, include/osgText/TextNode, - src/osgText/CMakeLists.txt, src/osgText/Glyph.cpp, - src/osgText/GlyphGeometry.h, src/osgText/TextNode.cpp: Moved - TextNode from osgText into example/osgtext3D in prep for 3.0 - -2010-11-23 14:50 robert - - * include/osg/GL2Extensions, include/osg/PrimitiveSet, - include/osg/Program, include/osg/Shader, - src/osg/GL2Extensions.cpp, src/osg/PrimitiveSet.cpp, - src/osg/Program.cpp, src/osg/Shader.cpp, - src/osg/ShaderComposer.cpp: From Holger Helmich, Tessellation - shader support - -2010-11-23 11:11 robert - - * src/osgShadow/ParallelSplitShadowMap.cpp: From David Callu, "Here - a fix for pssm. - - Problem 1 : - With GLSL, multi pass to apply each shadow map is not required. - - - Problem 2 : - GLSL code use "shadow2DProj" build-in function to look up in - shadow texture. - Projection is orthogonal so "shadow2D" build-in function is - sufficient. - - Problem 3: - Bad calcul in - osgShadow::ParallelSplitShadowMap::calculateLightViewProjectionFormFrustum(..) - provide some visual error in specific configuration. - - - to reproduce pssm_bug.jpg, you need to add a light direction in - osgshadow.cpp example (done in joint osgshadow.cpp file) - then "osgshadow --noUpdate --pssm --maxFarDist 500 --minNearSplit - 500 --mapcount 6 --debug-color model_test.3ds" - - - As you can see in pssm_bug.jpg and pssm_fix.jpg, performance is - really better when Problem 1 is fixed. - " - -2010-11-22 19:38 robert - - * examples/osganalysis/osganalysis.cpp, - include/osgGA/GUIEventAdapter, - include/osgParticle/CompositePlacer, - src/osgGA/MultiTouchTrackballManipulator.cpp: Build fixes for - building OSG with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set - to OFF - -2010-11-22 19:18 robert - - * src/osgPlugins/freetype/FreeTypeFont.cpp: Fixed typo - -2010-11-22 17:39 robert - - * CMakeModules/FindFBX.cmake: From Michael Platings, "the attached - cmake file recognises the latest version of the FBX SDK, and now - works correctly on 64 bit Windows." - -2010-11-22 17:37 robert - - * src/osg/Geometry.cpp, src/osgDB/DatabasePager.cpp, - src/osgDB/ObjectWrapper.cpp, - src/osgUtil/IncrementalCompileOperation.cpp: From Michael - Platings, "the build is broken if you have the - OSG_REF_PTR_IMPLICIT_OUTPUT_CONVERSION turned off - the attached - files fix this." - -2010-11-22 17:30 robert - - * include/osgGA/EventQueue, include/osgGA/GUIEventAdapter, - include/osgGA/MultiTouchTrackballManipulator, - src/osgGA/CMakeLists.txt, src/osgGA/EventQueue.cpp, - src/osgGA/GUIEventAdapter.cpp, - src/osgGA/MultiTouchTrackballManipulator.cpp: From Stephan Huber, - "attached you'll find a proposal for handling multi-touch-events - with - osgGA. My approach is to bundle all touchpoints into one custom - data - structure which is attached to an GUIEventAdapter. - - The current approach simulates a moving mouse for the first - touch-point, - so basic manipulators do work, sort of. - - I created a MultiTouchTrackballManipulator-class, one touch-point - does - rotate the view, two touch-points pan and zoom the view as known - from - the iphone or other similar multi-touch-devices. A double-tap - (similar - to a double-click) resets the manipulator to its home-position. - - The multi-touch-trackball-implementation is not the best, see it - as a - first starting point. (there's a demo-video at - http://vimeo.com/15017377 )" - -2010-11-22 15:52 robert - - * src/osg/Geometry.cpp: Fixed indentation - -2010-11-22 11:31 robert - - * src/osgPlugins/vrml/ReaderWriterVRML2.h: From Johan Nouvel, "I've - attached ReaderWriterVRML2.h. It is the same as the previous one, - I've just add supportsOption() calls." - -2010-11-22 11:22 robert - - * applications/osgarchive/osgarchive.cpp, - applications/osgfilecache/osgfilecache.cpp, - applications/osgviewer/osgviewer.cpp, - examples/osgcegui/osgcegui.cpp, - examples/osgdatabaserevisions/osgdatabaserevisions.cpp, - examples/osgscreencapture/osgscreencapture.cpp, - examples/osgshadergen/osgshadergen.cpp, - examples/osguserstats/osguserstats.cpp, - include/osg/GL2Extensions, include/osg/Program, - include/osg/Shader, include/osg/Uniform, - include/osgDB/PluginQuery, src/osg/GL2Extensions.cpp, - src/osg/GLStaticLibrary.cpp, src/osg/GLStaticLibrary.h, - src/osg/Shader.cpp, src/osg/StateAttribute.cpp, - src/osg/Uniform.cpp, src/osgDB/PluginQuery.cpp, - src/osgPlugins/cfg/ReaderWriterCFG.cpp, - src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/rot/ReaderWriterROT.cpp, - src/osgPlugins/scale/ReaderWriterSCALE.cpp, - src/osgPlugins/shadow/ReaderWriterOsgShadow.cpp, - src/osgPlugins/trans/ReaderWriterTRANS.cpp, - src/osgPlugins/view/ReaderWriterOsgViewer.cpp: Fixed typo of - commercial -2010-11-22 10:41 robert +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 - * src/osgText/Font.cpp: From Hartwig Wiesmann, fix to font search - path under OSX. -2010-11-22 10:37 robert +Thu, 3 Jul 2014 16:36:02 +0000 +Checked in by : Robert Osfield +Updated iso and mip shaders from OpenSceneGraph-Data.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14358 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeModules/FindCOLLADA.cmake: From Brad Christiansen, "Attached - is a very small change to allow the Collada libs for VS 2010 to - be found automatically." -2010-11-19 18:26 robert +Thu, 3 Jul 2014 13:06:23 +0000 +Checked in by : Robert Osfield +Added virtual destructorsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14351 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/OpenFlight/FltExportVisitor.h, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp: From Katherina - Plugge, "if using multitexturing and converting osg files to - OpenFlight texture coordinates get corrupted. The texture - coordinates for slot 1 and following are not computed correctly - (see thread - http://forum.openscenegraph.org/viewtopic.php?t=6993). - - The attached files solve the problem. - " - -2010-11-19 18:07 robert - - * include/osg/Plane: From Sukender, fix for precision of - Plane::asVec4() - -2010-11-19 17:47 robert - - * src/osgUtil/IncrementalCompileOperation.cpp: Commented out debug - output - -2010-11-19 17:47 robert - - * CMakeLists.txt: Update SOVERSION - -2010-11-19 09:57 robert - - * src/osgWrappers/deprecated-dotosg/osgText/IO_Text.cpp, - src/osgWrappers/deprecated-dotosg/osgText/IO_TextBase.cpp, - src/osgWrappers/serializers/osgText/Text3D.cpp: Update Text - wrappers to handle new Color member - -2010-11-19 09:57 robert - - * include/osg/Version: Updated SO version to reflect changes in API - of osgText - -2010-11-18 17:59 robert - - * include/osgText/Text, include/osgText/TextBase, - src/osgText/Text.cpp, src/osgText/Text3D.cpp, - src/osgText/TextBase.cpp: Moved text color into TextBase, added - support for colour into Text3D - -2010-11-18 17:18 robert - - * src/osgPlugins/freetype/FreeTypeFont.cpp: Added resetting of the - freetype size when getting Glyph3D glyph's as otherwise use of 2D - and 3D Text would cause incorrect text sizing. - -2010-11-18 12:03 robert - - * src/osg/Texture.cpp: Improved handling of pending orphaned - texture objects and max texture pool size. - -2010-11-17 14:06 robert - - * src/osg/State.cpp: From Jean-Sebastien Guay, Changed debug info - in State::frameCompleted() to OSG_INFO - -2010-11-17 10:19 robert - - * examples/osganalysis/osganalysis.cpp: Added texture pool handler - to print out results from texture pool - -2010-11-17 10:16 robert - - * examples/osgtext3D/osgtext3D.cpp: Added quite size test. - -2010-11-15 17:21 robert - - * src/osgGA/CMakeLists.txt: From Sherman Wilcox, "added the - following to the ADD_LIBRARY - list -- ${OPENSCENEGRAPH_VERSIONINFO_RC}" - -2010-11-12 11:04 robert - - * src/osgPlugins/Inventor/ConvertFromInventor.cpp: Fixed warnings - -2010-11-12 09:48 robert - - * src/osgText/Font.cpp, src/osgViewer/Scene.cpp: Fixed crash on - intialization of static applications by moving the static mutexes - inside singleton methods. - -2010-11-11 16:51 robert - - * CMakeLists.txt, CMakeModules/FindFLTK.cmake, - CMakeModules/FindGtkGl.cmake, - CMakeModules/FindPoppler-glib.cmake, CMakeModules/FindRSVG.cmake, - applications/present3D/CMakeLists.txt, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/pdf/CMakeLists.txt: - Moved finding of RSVG, Poppler-glib and GtkGl out into their own - Find*.cmake modules to enable easier specialization. - -2010-11-11 11:47 robert - - * applications/present3D/CMakeLists.txt, - applications/present3D/present3D.cpp, - examples/osgstaticviewer/CMakeLists.txt, - examples/osgstaticviewer/osgstaticviewer.cpp, - include/osgDB/Registry, include/osgDB/Serializer, - src/osgDB/ObjectWrapper.cpp, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgWrappers/deprecated-dotosg/osg/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgShadow/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgText/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgViewer/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/LibraryWrapper.cpp, - src/osgWrappers/serializers/osg/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgAnimation/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgFX/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgManipulator/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgParticle/CompositePlacer.cpp, - src/osgWrappers/serializers/osgParticle/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgShadow/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgSim/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgTerrain/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgText/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgVolume/LibraryWrapper.cpp: From - Wang Rui, "I've finally completed the static build support for - dotosg wrapper and - serialization libraries. My submission mainly includes: - 1. Add two new macros USE_DOTOSGWRAPPER_LIBRARY and - USE_SERIALIZER_WRAPPER_LIBRARY. Applications using static OSG - must - include corresponding static-link libraries and use these two - macros - to predefine native format wrappers. Please see osgstaticviewer - and - present3D in the attachment for details. - - 2. Add a LibraryWrapper.cpp file in each - osgWrappers/deprecated-dotosg/... and osgWrappers/serializers/... - subfolder, which calls all USE_...WRAPPERS macros inside. The - LibraryWrapper file is automatically generated by the - wrapper_includer.cpp (with some slight fixes), which is also - attached - for your reference. The deprecated-dotosg/osgAnimation is not - included - because it doesn't us REGISTER_DOTOSGWRAPPER to define its - wrappers. - - 3. Modify the ReaderWriterOSG.cpp to prevent calling - loadWrappers() - when static build. - - 4. An uncorrelated fix to Serializer and ObjectWrapper.cpp, which - ensures version variables of serialziers are initialized, and - serializers out-of-version are not written to model files. - " - -2010-11-11 10:53 robert - - * include/osg/State: From Wang Rui, "The latest modification of - osg/State uses the GLuint64EXT type, which - belongs to GL_EXT_timer_query and should be decalared to avoid - compiling errors if the extension is not supported. I've attached - this - small fix." - -2010-11-11 10:42 robert - - * src/osgPlugins/directshow/DirectShowTexture.cpp: From Mark - Sciabica, "It's not Windows API calls that are causing the - problem. It's a new - templated constructor of std::pair not being able to - automatically - convert 0 to a pointer. Rather than use preprocessor checks and - #defines, I think a cleaner solution is to cast the std::pair - arguments - to the appropriate types to help the compiler out. I attached an - updated - version of the file implementing this." - -2010-11-10 16:58 robert - - * include/osg/Drawable, include/osg/GraphicsContext, - include/osg/State, include/osgViewer/Renderer, - src/osg/Drawable.cpp, src/osg/GraphicsContext.cpp, - src/osg/GraphicsThread.cpp, src/osg/State.cpp, - src/osgViewer/Renderer.cpp: From Tim More and Robert Osfield, - implementation of ARB_timer_query based GPU timing stats - syncronization. - - Initial email from Tim : "I've implemented using a timestamp, - available with ARB_timer_query and OpenGL 3.3, to gather GPU - stats. This is nice because it can accurately fix the GPU draw - time with respect to the other times on the stats graph, rather - than having to estimate the wall time of the end of GPU drawing. - This also prevents anomalies like the GPU phase starting before - the draw phase..." - Changes to Tim's submission by Robert: Removal of need for swap - buffer callback in ViewerBase.cpp, by - integrating a osg::State::frameCompleted() method that does the - stats timing collection. Introduction of a - GraphicsContext::swapBuffersCallbackOrImplementation() method - that calls the State::frameCompleted() and - the swap buffers callback or the swapImplementation as required. - -2010-11-10 12:50 robert - - * src/osg/Image.cpp: From Mourad Boufarguine, "This is a small fix - to osg::createGeodeForImage to adapt Tex coords to image origin. - - " - -2010-11-09 17:17 robert - - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Added traversal of salve camera subgraphs when the slave camera - doesn't share it's scene graph wiht the View's master scene - graph. - -2010-11-09 15:48 robert - - * src/osgPlugins/gif/ReaderWriterGIF.cpp: From Wang Rui with small - tweak from Robert Osfield, fix of memory leak in gif plugin when - using GifImageStream - -2010-11-09 14:57 robert - - * applications/present3D/CMakeLists.txt, - applications/present3D/present3D.cpp: From Wang Rui, "I'm now - testing static building of OSG and found a possible bug in the - present3D application. As static-link present3d should depend on - freetype, png, pdf and some other plugins, any mis-compiling of - these - plugins will make present3d fail to be built. Some lirbaries like - poppler and cairo are not popular under Windows, so it is very - common - that we don't have osgdb_pdf compiled and thus get errors when - building present3d. I've modified the CMakeLists and - present3d.cpp to - avoid this problem." - -2010-11-09 14:39 robert - - * CMakeLists.txt, CMakeModules/OsgMacroUtils.cmake: From Sukender, - "As discussed in osg-users, I found output directories with CMake - >= 2.8.1 are wrong under MSVC (As Chuck said, it's to be related - to CMake, and not MSVC). - - But I also found rev. 11354 (from Wang Rui) added a change in - OsgMacroUtils which adresses a similar issue: Wang told the - "../../bin" prefix wasn't working. However I think the fix isn't - correct because it checks the MSVC version instead of the CMake - version. Here is my fix, against latest trunk (root - CMakeLists.txt, and CMakeModules/OsgMacroUtils.cmake). - - Tests I made: - | Unix Makefiles | MSVC 9 | MSVC 10 x64 - --------------------------------------------------- - CMake 2.4 | | OK | N/A - CMake 2.6.4 | | OK | N/A - CMake 2.8.0 | | OK | broken support? - CMake 2.8.2 | | OK | OK - " - -2010-11-09 13:23 robert - - * include/osgDB/ObjectWrapper, include/osgDB/Serializer, - src/osgDB/ObjectWrapper.cpp: Refactored the versioning of - serializers so it now uses a _firstVersion and _lastVersion make - it possible - to specify what range of versions support each serializer. - -2010-11-09 12:41 robert - - * include/osgDB/InputStream, include/osgDB/ObjectWrapper, - include/osgDB/Registry, include/osgDB/Serializer, - src/osgDB/InputStream.cpp, src/osgDB/ObjectWrapper.cpp, - src/osgDB/OutputStream.cpp: From Wang Rui, "I'd like to submit my - latest modification of the serialization IO - functionalities. It includes two main parts: a version checking - macro - for handling backward-compatiblity since 3.0, and enhencement of - current schema mechanism. I also change the option handling - process to - use getPluginStringData(), and add new USE_SERIALIZER_WRAPPER - macro in - the Registry header to allow for static-link usage as well. - - The enhencement of schema machanism just tells the type of each - serializer while outputting them, such as: - osg::Group = Children:1 - - The meaning of the number can be found in the osgDB/Serializer - header, - BaseSerializer::Type enum. It may help 3rdparty utilities - understand - the structure of the wrapper and do some reflection work in the - future. - - The new macro UPDATE_TO_VERSION can help indicate the InputStream - (no - affect on the writer) that a serializer is added/removed since - certain - OSG version. An example wrapper file is also attached. The - Geode_modified.cpp is based on the serializers/osg/Geode.cpp file - (hey, don't merge it :-), but assumes that a new user serializer - 'Test' is added since version 65 (that is, the OSG_SOVERSION): - - REGISTER_OBJECT_WRAPPER( Geode, ... ) - { - ADD_USER_SERIALIZER( Drawables ); // origin ones - - UPDATE_TO_VERSION( 65 ) - { - ADD_USER_SERIALIZER( Test ); // a serializer added from version - 65 - } - } - - All kinds of ADD_... macros following UPDATE_TO_VERSION will - automatically apply the updated version. The braces here are only - for - typesetting! - While reading an osgt/osgb/osgx file, OSG will now check if the - file - version (recorded as the writer's soversion, instead of previous - meaningless "#Version 2") is equal or greater than Test's - version, and - try reading it, or just ignore it if file version is lesser. - - And we also have the REMOVE_SERIALIZER macro will mark a named - serializer as removed in some version, with which all files - generated - by further versions will just ignore it: - - UPDATE_TO_VERSION( 70 ) - { - REMOVE_SERIALIZER( Test ); - } - - This means that from version 70, the serializer Test is removed - (but - not actually erased from the list) and should not be read - anymore. If - the read file version is less than 70 (and equal or greater than - 65), - Test will still be handled when reading; otherwise it will be - ignored - to keep compatiblity on different OSG versions. - " - -2010-11-08 15:49 robert - - * src/osgPlugins/vrml/CMakeLists.txt, - src/osgPlugins/vrml/ConvertToVRML.cpp, - src/osgPlugins/vrml/ConvertToVRML.h, - src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.h: From Johan Nouvel, "Some - times ago, I have coded an osg to vrml2 writer. Today, I have - updated our writer to osg 2.9.9. - As it works (for our needs at least) I've done and attached a - tar.gz file for the VRML2 plugin with a new part to write a VRML2 - file from an osg one. - - The read part is the same as in osg 2.9.9. - - The write part code is in convertToVRML.cpp and .h files. It - works for some osg nodes (group, geode, matrixTransform, - positionAttitudeTransform and geometry). Textures are converted - to jpeg (if not translucent) or png (if translucent). - There are some options that could be given to the writer (with -O - switch) : - - convertTextures=0 to copy textures without converting them to - jpeg or png - convertTextures=-1 do not copy textures, keep them in their - original format and location - convertTextures=-2 do not use textures, parse only geometry - convertTextures=-3 (default) convert textures to jpeg or png - ones. - - textureUnit=X in case of multiple textures, X= texture unit to - use (default value=0) - - directoryTexture=aPath when texture will be copied, it will be in - this directory, not in the current one." - -2010-11-08 12:28 robert - - * examples/CMakeLists.txt, examples/osguserstats, - examples/osguserstats/CMakeLists.txt, - examples/osguserstats/osguserstats.cpp, - include/osgViewer/ViewerEventHandlers, - src/osgViewer/StatsHandler.cpp: From Jean-Sebastien Guay, "As - promised, here is the fix for the background size. I also added - another instance variable _lineHeight to clean up the code a bit - more. - - Also I've done the osguserstats example. I've kept the "toy - example" that was in the modified osgviewer.cpp I had sent you, - because they show different uses of custom stats lines (a value - displayed directly, a value without bars and a value with bars - and graph). I also added a function and a thread that will sleep - for a given number of milliseconds and record this time in the - stats. I think it clearly shows how to record the time some - processing takes and add that to the stats graph, whether the - processing takes place on the same thread as the viewer or on - another thread. - - BTW, feel free to modify the colors I've given to each user stats - line... I'm not very artistic. :-) - - I've also added more doc comments to the addUserStats() method in - ViewerEventHandlers, so hopefully the arguments are clear and the - way to get the results you want is also clear. Maybe I went - overboard, but the function makes some assumptions that may not - be obvious and has many arguments, so I preferred to be - explicit." - -2010-11-05 17:31 robert - - * src/osg/GLExtensions.cpp: From David Fries and Robert Osfield, - fix for handling remote GLX server that declares GL 3.0 support - but doesn't actually implement it correctly. - -2010-11-05 17:24 robert - - * include/osg/AutoTransform, src/osg/AutoTransform.cpp: From Javier - Taibo, "ere is the new code with Billboard "rotate around axis" - functionality. - - A new AutoRotateMode was added. I named it ROTATE_TO_AXIS to be - consistent with the other AutoRotateModes, even though it changes - from - how is called in Billboard (AXIAL_ROT). - - Setters and getters for rotation axis and normal were also added - to the - AutoTransform class interface. - - The implementation is mainly a copy-paste from Billboard code. - " - -2010-11-05 17:09 robert - - * src/osgPlugins/gz/ReaderWriterGZ.cpp: From Alexander Irion, - "Please find another bugfix for the ReaderWriterGZ. This time, - the writing did not work for me - the created output file could - not be deflated by zip. - " - -2010-11-05 17:07 robert - - * src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: From Ulrich - Hertlein, "attached is a tiny cleanup for ReaderWriterFFmpeg that - provides more accurate descriptions - for some extensions and also adds 'm2ts' for MPEG-2 transport - streams. - " - -2010-11-05 17:04 robert - - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp: From - Sukender, "1. More handled cases in MergeGeometryVisitor - - Algorithm doesn't try to merge double and single precision - arrays together - - Algorithm doesn't try to merge incompatible geometries (ex: one - with "vertices + texoords", and another with only vertices) - - 2. Better TextureAtlasBuilder - Algorithm is still sub-optimal, but it now tries to fill more - blanks, using "unused space in the current line". - (Don't know if I already submitted it, but I guess not) - One day, someone should try to find a good solution to this - NP-problem... For instance : - http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.140.200&rep=rep1&type=pdf - " - -2010-11-05 11:21 robert - - * CMakeModules/FindGDAL.cmake: From Peter Bear, "Attached is a fix - for the detection of GDAL 1.7.0. The previous CMake file only - supported up to 1.6, this fix supports 1.7." - -2010-11-05 10:29 robert - - * src/osgPlugins/gz/ReaderWriterGZ.cpp: From Alaxandre Irion, - "Trying to load the attached texture file "texture.dds.gz" fails - and causes the following warning on the console: - - ReadDDSFile warning: couldn't read mipmapData - - The issue is caused, when the last block of data is read from the - file (less than chunk size of 16384 bytes). The read operation in - ReaderWriterGZ::read() then sets the eof and fail bit in the - stream and the lines - - if (fin.fail()) - { - (void)inflateEnd(&strm); - return false; - } - - causes the reading to be aborted with the last read data not - beeing inflated. - - Please find the attached fix for this problem." - -2010-11-05 09:12 robert - - * src/osgPlugins/pvr/ReaderWriterPVR.cpp: From Wang Rui, "Attached - is a fix to the latest PVR plugin to make it compile under - MSVC. I've added definition to uint_32 and replaced std::max() - with - osg::maximum(), because it is not supported by some VisualStudio - versions." - -2010-11-04 17:53 robert - - * include/osg/Texture, src/osg/Texture.cpp: From Fabien Lavingotte - and Robert Osfield, Fixed handling of texture pool size when - TextureObject::setAllocate(..) is called. - -2010-11-04 15:24 robert - - * examples/osganimationsolid/osganimationsolid.cpp: From Jan - Klimke, "I did recently some work understanding the osgAnimation - classes. Here the osganimationsolid example seems not to be very - helpful at the moment. There are basically no comments in it and - additionally there is a second animation defined which was simply - not working (wrong channel type for angle animation). I added - some comments and fixed the example to contain 2 working - animations by now. I think this could help others who are trying - to understand the osgAnimation plugin. - - " - -2010-11-04 13:53 robert - - * src/osgPlugins/directshow/CMakeLists.txt, - src/osgPlugins/directshow/DirectShowTexture.cpp: From Jason - Beverage, "Here is a small change to the DirectShow plugin to - support finding the - video and sound pins by type rather than searching for them by - name - since the names of the pins can change based on what kind of file - you - are opening. This also removes the need for an explicit check to - see - if the file is a .wmv file. - - Also changes to the directshow plugin's CMakeLists.txt. - It is not necessary to link against d3dx9 to build the plugin. - " - -2010-11-04 11:39 robert - - * include/osgParticle/RandomRateCounter: From Sukender, "I replaced - std::min() with osg::minimum() in RandomRateCounter, to avoid - including the STL header (Or else it doesn't compile under MSVC - 10)." - -2010-11-04 11:05 robert - - * src/osg/FrameBufferObject.cpp: From David Callu, fix in - FrameBufferObject when using Texture2Darray and GeometryShader. - -2010-11-04 11:02 robert - - * include/osg/Texture, src/osg/Image.cpp, src/osg/Texture.cpp, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/pvr, - src/osgPlugins/pvr/CMakeLists.txt, - src/osgPlugins/pvr/ReaderWriterPVR.cpp: From Per Fahlberg, "I - have added support for PowerVR texture compression. osg::Texture - and osg::Image have been modified to support the texture formats - and I have added a plugin to load pvr files. All modified files - are in the attached zip. " - -2010-11-03 10:37 robert - - * src/osgPlugins/ffmpeg/CMakeLists.txt, - src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.hpp, - src/osgPlugins/ffmpeg/FFmpegParameters.cpp, - src/osgPlugins/ffmpeg/FFmpegParameters.hpp, - src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: From Wang Rui, - "additional FFmpegParameters class in the ffmpeg plugin for - setting parameters before opening the video file, which benefits - from getPluginStringData() as shown in the ReaderWriter - implementation. - - Now we can use ffmpeg to render webcam video (using the vfwcap - device) under Windows: - - osgmovie 0 -e ffmpeg -O "format=vfwcap frame_rate=25" - - The number 0 just indicates a default device number in ffmpeg. - - I think this can work under Linux, too, and should be a bit - better than comparing the filename with a '/dev/' string. Just - type: - - ./osgmovie /dev/yourcam -e ffmpeg -O "format=video4linux2 - frame_rate=30 size=320x240"" - -2010-11-03 10:37 robert - - * include/osgDB/Options, src/osgDB/Options.cpp: From Wang Rui, "a - new parsePluginStringData() method in the osgDB::Options class - which will be automatically executed to parse option string to - the string data map" - -2010-11-03 10:04 robert - - * include/osgViewer/ViewerEventHandlers, - src/osgViewer/StatsHandler.cpp: From Jean-Sebastien Guay, "For a - long time now I've wanted to be able to add custom values into - the stats handler's graph. Here is my proposal of how I'd do - this. It's surely not perfect and I'm open to suggestions, but - I've already made more changes than I wanted to in order to be - able to implement this... - - The user calls statsHandler->addUserStatsLine() providing: - - - the label they want for that line in the graph - - the text and bar colors they want in the graph - - the stats names they want queried (one for time taken, one for - begin and one for end time) and a few settings for how these will - be displayed. - - Then all they have to do is call - viewer->getViewerStats()->setAttribute(framenumber, name, value) - for their three attributes each frame and they'll have their - stats in the graph. - - They can also give only a time taken attribute (or some other - numerical value they want printed, which can be averaged or not), - or only begin+end attributes, and the graph will accordingly - display only the (average or not) numerical value or only the - bars. - - Along the way I cleaned up the existing code a bit: - - * Each time the setUpScene() or createCameraTimeStats() methods - added a line to the graph, they did pretty much the same thing, - so I moved that into a separate method called - createTimeStatsLine() which is called by setUpScene() and - createCameraTimeStats(). - - * I moved the font, characterSize, startBlocks and leftPos - variables to member variables, since they were being passed - around everywhere but were set only once at the beginning. - - * The geode on which stats lines are added is also kept in a - member variable, and createCameraTimeStats() adds the per-camera - lines to this geode instead of returning a new Group with a new - Geode. This further reduces the number of variables the - createCameraTimeStats() method needs as input. - - " - -2010-11-03 09:51 robert - - * src/osgViewer/StatsHandler.cpp: From Jean-Sebastien Guay, "For a - while now I've been bugged (pun) by a problem in the stats graph - I submitted a long time ago. When it scrolled, sometimes it would - scroll too little, leading to an empty space at the left that - would grow as time went by. I was in that code today for - something else so I fixed it. - " - -2010-11-03 09:28 robert - - * examples/osgautocapture/osgautocapture.cpp, - src/osg/FragmentProgram.cpp, src/osg/GLExtensions.cpp, - src/osg/Shader.cpp, src/osg/State.cpp, src/osg/Texture.cpp, - src/osg/Texture2DArray.cpp, src/osg/Texture3D.cpp, - src/osg/VertexProgram.cpp: From David Fries, "Fix remote X11 - crash querying GL_NUM_EXTENSIONS - - In osg::isGLExtensionOrVersionSupported in - src/osg/GLExtensions.cpp when - using indirect X11 rendering, - glGetIntegerv( GL_NUM_EXTENSIONS, &numExt ); - is leaving numExt uninitilized causing the following glGetStringi - to - return NULL when the extension number isn't present. Passing NULL - to - std::string() then crashes. This is with the following nVidia - driver. - OpenGL version string: 3.3.0 NVIDIA 256.35 - - I went ahead and initialized some of the other variables before - glGetInitegerv in other files as well. I don't know for sure - which ones can fail, so I don't know which are strictly required. - " - -2010-11-02 14:00 robert - - * src/osgPlugins/vrml/ReaderWriterVRML2.cpp: From Chuck Seberino, - "Here is a minor fix for the vrml plugin when building with - Visual Studio 2010. 2010 has updated STL/TR1 libraries that - create a naming conflict with the current source. The fix is to - remove the 'using boost::next' line and use the fully-qualified - boost::next to get rid of the ambiguity. Here is the patch and - attached changes." - -2010-11-02 12:15 robert - - * include/osgTerrain/Terrain, src/osgTerrain/GeometryTechnique.cpp, - src/osgTerrain/Terrain.cpp: From Brad Christiansen and Robert - Osfield, "I have added the new function as suggested. The change - was made against trunk from an hour or so ago. I haven't tested - the performance yet (and probably won't get a chance till next - week) but I have checked my terrains still work. I defaulted the - equalization to off as I thought this was best until we can look - into why there is the performance hit. - ", note from Robert, tweaked the names and enabled the code path. - -2010-11-02 11:44 robert - - * src/osg/BufferObject.cpp: From Mikhail Izmestev, "There is bug in - GLBufferObject::compileBuffer when changed not first buffer - entry, then generated - new wrong offset. - " - -2010-11-02 11:27 robert - - * src/osgPlugins/osg/ReaderWriterOSG2.cpp: Fixed function name - -2010-11-02 11:19 robert - - * src/osgWrappers/deprecated-dotosg/osgParticle/IO_Particle.cpp: - From Javier Taibo, " In current SVN code, when exporting an - osgParticle::Particle object to the .osg file format, it crashes - if no drawable was set in the particle. - - In the attached file - (src/osgWrappers/deprecated-dotosg/osgParticle/IO_Particle.cpp) I - have added a check for the existence of the drawable before - writing it to the file. - " - -2010-11-01 17:19 robert - - * src/osg/ArgumentParser.cpp: From John Ivar Haugland & Robert - Osfield, fix for bug in VisualStudio where it adds an redundent - '/n' on the end of the command line arguments for no reason. - -2010-11-01 17:05 robert - - * include/osg/Geometry, src/osg/Geometry.cpp: From Alexander Irion, - "When a osg::Geometry node is loaded from a ".osgb" file, there - is no element buffer object created for the primitives element - indices, although _useVertexBufferObjects is enabled. This bug - decreases the rendering performance." - -2010-11-01 17:02 robert - - * src/osgPlugins/3ds/WriterNodeVisitor.cpp: From Sukender, fix for - incorrect for loop test. - -2010-11-01 13:57 robert - - * src/osg/Matrix_implementation.cpp: From Jan Peciva, "attaching - Matrix_implementation fix for two problems: - - - using m.getPerspective( fovy, tmp, tmp, tmp ) to get only FOV - does not work. - The reason is that getPerspective is taking tmp as reference - - thus all the three variables points to the same memory location. - Then, zNear (third parameter) is used inside the method, while - zNear content was spoiled by zFar that was written to the same - place, resulting in fovy set to nan. I consider that it is the - right of programmers to use 3 times tmp as parameter and I fixed - the code in the method. I have done the same for getFrustum and - getLookAt. - - - I fixed makeFrustum to accept infinite zFar. (Some graphics - techniques like shadow volumes require placing zFar to infinity - to avoid visual artifacts.)" - - Note from Robert Osfield, change the local near & far variable - names to temp_near and temp_far MS Visual Studio has a record of - using near and far names. - -2010-11-01 11:06 robert - - * examples/osgvolume/osgvolume.cpp, include/osgDB/FileUtils, - src/osgDB/FileUtils.cpp: From Jean-Sebastien Guay, osgDB - functions to expand wildcards - required to aid windows consule - usage as this doesn't not automatically expand * usage. -2010-11-01 10:52 robert +Thu, 3 Jul 2014 13:05:09 +0000 +Checked in by : Robert Osfield +Fixed line endingsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14350 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgDB/FileNameUtils, src/osgDB/FileNameUtils.cpp: From - Jean-Sebastien Guay and Robert Osfield, cleaned up the way that - unix/windows file separators are managed. - -2010-11-01 10:31 robert - - * examples/osghud/CMakeLists.txt, include/osg/Shape: From Mathias - Goldau, "Added very brief documentation when to use the triangle - mesh class. I - generated the make doc_openscenegraph target to verify that this - change does - not break something. - " - -2010-10-29 15:18 robert - - * src/osgManipulator/Dragger.cpp: From Mikhail Izmestev, "I have - discovered problem with draggers from osgManipulator in HUD. - - This problem caused because osgManipulator::Dragger uses matrices - of top camera instead last - absolute Camera in NodePath. - - I attached modified osgManipulator/Dragger.cpp file, where added - code for finding last absolute - camera. With this changes draggers works in HUD. - - Example for demonstrate this problem you can find in osg-users - list [1]. - - Mikhail. - - [1] - http://thread.gmane.org/gmane.comp.graphics.openscenegraph.user/62636 - " -2010-10-29 09:56 robert +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 - * src/osgPlugins/tiff/CMakeLists.txt: From Sherman Wilcox, "there's - a bug in the cmake file for the tiff plugin. See - attached. The problem was that the output files were not properly - setting the debug/release libs due to this cmake bug. What - occurred was - the release lib was set in all configurations." -2010-10-29 09:35 robert +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 - * examples/osganalysis/osganalysis.cpp: -2010-10-29 08:33 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 - * src/osgViewer/CMakeLists.txt: Added X11_X11_LIB to LIB_EXTRA_LIBS - when build X11 version of osgViewer to enable use of Mesa's - GLES/EGL implementation -2010-10-29 08:31 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 - * src/osg/glu/libutil/error.cpp: Fixed warning -2010-10-28 15: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 - * src/osg/Geometry.cpp: Commented out unused ElapsedTimer -2010-10-28 14:04 robert +Wed, 2 Jul 2014 10:25:29 +0000 +Checked in by : Robert Osfield +From Laurens Voerman, "just like ClusterCullingCallback (fixed in r14322) visual studio likes an explicit implementation of run() for InteractiveImageHandler.The warning is (14 times): +include\osgViewer/ViewerEventHandlers(542): warning C4250: 'osgViewer::InteractiveImageHandler' : inherits 'osgGA::EventHandler::osgGA::EventHandler::run' via dominance (src\osgViewer\StatsHandler.cpp) + include\osgGA/EventHandler(45) : see declaration of 'osgGA::EventHandler::run' - * src/osgWrappers/serializers/osg/Geometry.cpp, - src/osgWrappers/serializers/osgTerrain/TerrainTile.cpp: Added use - ObjectWrapper's FinishObjectReadCallback to fix - VertexBufferObject handling in osg::Geometry - and a call to the TileLoaded callback in osgTerrain. -2010-10-28 14:04 robert +attached a zipped version of include\osgViewer\ViewerEventHandlers" - * include/osgDB/ObjectWrapper, src/osgDB/ObjectWrapper.cpp: Added - FinishedObjectReadCallback to ObjectWrapper which allows - wrappers to register their own handling of post processing of - objects once they have been read. -2010-10-28 14:01 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14343 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/CopyOp, src/osg/Geometry.cpp: Added handling of - vertex buffer objects into osg::Geometry copy constructor. -2010-10-28 14:01 robert +Tue, 1 Jul 2014 07:31:46 +0000 +Checked in by : Robert Osfield +Added #include to address compile issue on some Linux distro's.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14341 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/ive/Geometry.cpp: Improved code style consistency -2010-10-28 14:00 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 - * src/osgUtil/IncrementalCompileOperation.cpp: Quitened down debug - messages -2010-10-27 13:49 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 - * include/osgText/Text: Fixed getEnableDepthWrites() naming. -2010-10-26 14:59 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 - * examples/osganalysis/osganalysis.cpp: Added command line options: - - --tristripper - --no-tristripper - --smoother - --no-smoother - - --remove-duplicate-vertices / --rdv - --optimize-vertex-cache / --ovc - --optimize-vertex-order / --ovo -2010-10-25 13:42 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 - * examples/osganalysis/osganalysis.cpp, include/osgUtil/Statistics, - src/osgUtil/IncrementalCompileOperation.cpp, - src/osgViewer/Renderer.cpp, src/osgViewer/StatsHandler.cpp: Added - number of primitive sets to on screen stats -2010-10-23 09:51 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 - * examples/osganalysis/osganalysis.cpp: Added -o postfile option to - allow the output of processed files - - Disabled tri-stripping when simplifing to fix performance issue - that introduces. -2010-10-22 16:44 robert +Mon, 30 Jun 2014 08:46:54 +0000 +Checked in by : Robert Osfield +From Pjotr Svetachov, "Here is a small fix for a overflow when editing large 3d volume data."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14329 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osganalysis/osganalysis.cpp: Added StateSetManipulator - usage -2010-10-22 16: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 - * examples/osganalysis/osganalysis.cpp: Added support for enable - VBO's and doing simplification. -2010-10-22 12:28 robert +Mon, 30 Jun 2014 07:37:06 +0000 +Checked in by : Robert Osfield +From Alexander Sinditskiy, build fix to allow building against versions older than librsvg-2.36.2git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14323 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osganalysis/osganalysis.cpp: Cleaned up main loop, so - it's more readable, seperating out the paging and non paging - implementations -2010-10-22 12:19 robert +Sat, 28 Jun 2014 06:22:47 +0000 +Checked in by : Robert Osfield +Replaced using NodeCallback::run with explict run() implementation.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14322 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osganalysis/osganalysis.cpp, - include/osgUtil/IncrementalCompileOperation, - src/osgUtil/IncrementalCompileOperation.cpp: Added paging support - to osganalysis example -2010-10-21 16:29 robert +Fri, 27 Jun 2014 15:57:34 +0000 +Checked in by : Robert Osfield +From Pjotr Svetachov, "I made a small change to DataOutputStream.cpp which makes saving Geodes possible again. This is only half a fix as it only will save a Drawable that is part of a Geode. But this change does not require a version bump of the .ive format. I tried it with a few datasets we have here with the 3.2 stable branch and the trunk with this patch and there was no difference in the .ive files that were produced."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14319 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/Image, include/osgDB/DatabasePager, - include/osgUtil/IncrementalCompileOperation, - src/osg/Geometry.cpp, src/osg/Image.cpp, - src/osgDB/DatabasePager.cpp, src/osgUtil/GLObjectsVisitor.cpp, - src/osgUtil/IncrementalCompileOperation.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Integrated IncementalCompileOperation into DatabasePager. - - Improved various facilities in IncrementalCompileOperation. -2010-10-21 16:28 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 - * examples/CMakeLists.txt, examples/osganalysis, - examples/osganalysis/CMakeLists.txt, - examples/osganalysis/osganalysis.cpp: Added new osganalysis - example as a testbed for profiling peformance of various aspects - of OSG/OpenGL and scene graphs. -2010-10-14 18:16 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 - * include/osgDB/DatabasePager, include/osgDB/SharedStateManager, - include/osgUtil/IncrementalCompileOperation, - src/osgDB/CMakeLists.txt, src/osgDB/DatabasePager.cpp, - src/osgDB/SharedStateManager.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgViewer/ViewerBase.cpp: - Introduction of IncrementalCompileOperation support to - DatabasePager. -2010-10-14 13:35 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 - * include/osg/Texture2D, src/osg/Texture2D.cpp: Introduced - SubloadCallback::generatdTextureObject() method. -2010-10-14 12:20 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 - * src/OpenThreads/qt/QtThreadPrivateData.h: From Wang Rui, warning - fix. -2010-10-14 11:10 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 - * include/osg/GLU, src/osg/glu/libtess/tess.h: From Brad - Christiansen, fix function entry points under Windows to address - crash -2010-10-14 09:31 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 - * src/OpenThreads/CMakeLists.txt, src/OpenThreads/qt, - src/OpenThreads/qt/CMakeLists.txt, - src/OpenThreads/qt/QtBarrier.cpp, - src/OpenThreads/qt/QtBarrierPrivateData.h, - src/OpenThreads/qt/QtCondition.cpp, - src/OpenThreads/qt/QtConditionPrivateData.h, - src/OpenThreads/qt/QtMutex.cpp, - src/OpenThreads/qt/QtMutexPrivateData.h, - src/OpenThreads/qt/QtThread.cpp, - src/OpenThreads/qt/QtThreadPrivateData.h: From Wang Rui, QT based - OpenThreads implementation -2010-10-13 15:03 robert +Thu, 26 Jun 2014 15:54:47 +0000 +Checked in by : Robert Osfield +Update ChangeLog for dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14306 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgUtil/IncrementalCompileOperation, - src/osgUtil/IncrementalCompileOperation.cpp: Added support for - using a custom osg::Geometry that attempts to force the OpenGL - driver - to download the texture object to graphics card. - - Calling - IncrementalCompileOperation::assignForceTextureDownloadGeometry() - assigns a geometry - to the job. -2010-10-09 11:51 robert +Thu, 26 Jun 2014 14:16:11 +0000 +Checked in by : Robert Osfield +Revised KdTreeBuilder so that is used the new apply(osg::Geometry&) method rather than expanding an osg::Geode.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14303 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/glu/libutil/mipmap.cpp: Changed the _ARB cube map defines - to non ARB versions. -2010-10-09 11:27 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 - * include/osg/TextureCubeMap: Removed redudent set up of GL_ - cubemap defines as these are now also in include/osg/Texture -2010-10-08 18:53 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" - * src/osgText/Text.cpp: Tempory fix for regression due to remove of - glPushAttrib/glPopAttrib +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. -2010-10-08 18:13 robert +Attached is a modified version of the Registry.cpp, returning the object in cache and let the duplicate loaded object to be destroyed. - * examples/CMakeLists.txt: Disabled the build of Qt examples when - building against GLES1 & 2 as Qt GL includes OpenGL headers - itself that cause conflict. +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." -2010-10-08 17:13 robert - * examples/CMakeLists.txt, - examples/osgviewerQtContext/GraphicsWindowQt, - src/osg/glu/libutil/error.cpp, src/osg/glu/libutil/mipmap.cpp, - src/osgText/Text.cpp, - src/osgWrappers/serializers/osgSim/OverlayNode.cpp: Build fixes - for GLES1, GLES2 and GL3 -2010-10-08 11:20 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14300 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/GLU, include/osg/Texture3D, src/osg/Texture3D.cpp, - src/osg/glu/libutil/mipmap.cpp: Refactored the Texture3D - extension setup in osg::Texture3D and gluBuild3DMipmaps and - gluBuild3DMipmapLevels. -2010-10-07 11:53 robert +Thu, 26 Jun 2014 11:09:46 +0000 +Checked in by : Robert Osfield +Removed erroneous charactergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14298 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgphotoalbum/PhotoArchive.cpp, - examples/osgtexture3D/osgtexture3D.cpp, include/osg/GLU, - include/osgUtil/Tessellator, src/osg/Image.cpp, - src/osg/glu/libtess/tess.cpp, src/osg/glu/libtess/tess.h, - src/osg/glu/libutil/error.cpp, src/osg/glu/libutil/mipmap.cpp, - src/osgPlugins/lwo/Tessellator.cpp, src/osgText/Glyph.cpp: - Introduced osg namespace to new local GLU functions -2010-10-07 10:51 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 - * examples/osgphotoalbum/PhotoArchive.cpp, include/osg/GLU, - include/osg/Image, src/osg/Image.cpp, src/osg/Texture.cpp, - src/osg/glu/libutil/mipmap.cpp: Introduced new gluScaleImage - function that uses a PixelStorageModes structure to pass in - details on image packing, - rather than relying upon glGet's to get the values. -2010-10-06 19:09 robert - - * src/osg/glu/libutil/mipmap.cpp: Added #define GL_PROXY_TEXTURE_3D - -2010-10-06 18:51 robert - - * src/osg/glu/libutil/mipmap.cpp: Fixed warning - -2010-10-06 18:37 robert - - * src/osg/glu/libutil/mipmap.cpp: Changed tabs to 8 spaces - -2010-10-06 18:34 robert - - * src/osg/glu/libutil/mipmap.cpp: From Jean-Sebastien Guay and - Robert Osfield, build fix for Windows - -2010-10-06 18:29 robert - - * include/osg/Texture3D: Added #define for Windows build - -2010-10-06 17:19 robert - - * src/osg/glu/libtess/tess.h, src/osg/glu/libutil/mipmap.cpp: Added - #define GLAPIENTRY to attempt to resolve some Windows build - issues - -2010-10-06 16:36 robert - - * include/osg/Image, src/osg/glu/libutil/error.cpp, - src/osg/glu/libutil/mipmap.cpp: Added #define's and local - include to fix Windows GL 1.1 build against - -2010-10-06 16:29 robert - - * include/osg/GLU: From Jean-Sebasien Guay, fix windows compile - error - -2010-10-06 15:33 robert - - * src/osg/CMakeLists.txt: Removed gluois.h reference - -2010-10-06 15:14 robert - - * src/osg/CMakeLists.txt, src/osg/glu/libtess/geom.cpp, - src/osg/glu/libtess/gluos.h, src/osg/glu/libtess/mesh.cpp, - src/osg/glu/libtess/normal.cpp, - src/osg/glu/libtess/priorityq.cpp, - src/osg/glu/libtess/render.cpp, src/osg/glu/libtess/sweep.cpp, - src/osg/glu/libtess/tess.cpp, src/osg/glu/libtess/tessmono.cpp, - src/osg/glu/libutil/error.cpp, src/osg/glu/libutil/glue.cpp, - src/osg/glu/libutil/gluint.h, src/osg/glu/libutil/gluos.h, - src/osg/glu/libutil/mipmap.cpp: Removed usage gluos.h and - redundent gluint.h - -2010-10-06 14:44 robert - - * CMakeLists.txt, CMakeModules/OsgMacroUtils.cmake, - examples/CMakeLists.txt, include/osg/GLExtensions, - include/osg/GLU, include/osgUtil/SceneGraphBuilder, - include/osgUtil/Tessellator, src/osg/CMakeLists.txt, - src/osg/Config.in, src/osg/GLExtensions.cpp, src/osg/Image.cpp, - src/osg/State.cpp, src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/glu, src/osg/glu/libtess, src/osg/glu/libtess/README, - src/osg/glu/libtess/alg-outline, src/osg/glu/libtess/dict-list.h, - src/osg/glu/libtess/dict.cpp, src/osg/glu/libtess/dict.h, - src/osg/glu/libtess/geom.cpp, src/osg/glu/libtess/geom.h, - src/osg/glu/libtess/gluos.h, src/osg/glu/libtess/memalloc.cpp, - src/osg/glu/libtess/memalloc.h, src/osg/glu/libtess/mesh.cpp, - src/osg/glu/libtess/mesh.h, src/osg/glu/libtess/normal.cpp, - src/osg/glu/libtess/normal.h, - src/osg/glu/libtess/priorityq-heap.cpp, - src/osg/glu/libtess/priorityq-heap.h, - src/osg/glu/libtess/priorityq-sort.h, - src/osg/glu/libtess/priorityq.cpp, - src/osg/glu/libtess/priorityq.h, src/osg/glu/libtess/render.cpp, - src/osg/glu/libtess/render.h, src/osg/glu/libtess/sweep.cpp, - src/osg/glu/libtess/sweep.h, src/osg/glu/libtess/tess.cpp, - src/osg/glu/libtess/tess.h, src/osg/glu/libtess/tessmono.cpp, - src/osg/glu/libtess/tessmono.h, src/osg/glu/libutil, - src/osg/glu/libutil/error.cpp, src/osg/glu/libutil/glue.cpp, - src/osg/glu/libutil/gluint.h, src/osg/glu/libutil/gluos.h, - src/osg/glu/libutil/mipmap.cpp, src/osgPlugins/CMakeLists.txt, - src/osgText/Glyph.cpp, src/osgUtil/Tessellator.cpp: Copied - libutil and libtess implementations in form Mesa 7.9/src/glu into - the src/osg/glu, - changed extensions from .c to .cpp and got compiling as C files - as part of the osg core library. - - Updated and cleaned up the rest of the OSG to use the new - internal GLU. - -2010-10-04 15:23 robert - - * include/osgDB/DataTypes, include/osgDB/InputStream, - include/osgDB/Serializer, src/osgDB/InputStream.cpp, - src/osgDB/OutputStream.cpp: Improved the handling of matrices in - serialization so that it's more reliable, - change was to use doubles for reading and writing matrices - regardless of type of Matrix - being serialized. - - Change does break backwards compatibility though, so code - path supporting original format has been left in for the - time being. However, this code is not reliable enough and - is over complicated compared to the simplified handling. Once - the new code has been bedded down for a while I'll remove this - code block. - -2010-10-04 11:29 robert - - * src/osg/Referenced.cpp: From Stephan Huber, "just a follow-up: I - looked at the code of osg/Referenced.cpp and notice - a discrepancy in getOrCreateObserverSet. For the atomic- and - mutex-codepaths the newly created observerset gets manually - ref'ed, but - not in the codepath used when OPENTHREADS_ATOMIC_USE_MUTEX is - defined. I - added the manual ref and tadaaa, the crash went away." - -2010-10-04 11:24 robert - - * src/osgParticle/Particle.cpp: Added glMultMatrixf path for GLES1 - -2010-10-04 11:19 robert - - * examples/osgvolume/osgvolume.cpp: Added checks for NULL images to - prevent crashes when no valid images are created - -2010-10-01 18:02 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Wojciech Lewandowski, - "As promised I prepared a patch to expose WGL_SWAP_METHOD / - PFD_SWAP_METHOD selection via GraphicsContext::Traits. Since - Traits don't define any enums (I guess to be simple to use) I - tried to keep it that way and have added two boolean values: - swapCopy & swapExchange. It is somewhat similar approach to GDI - PixelFormatDescription were both options can be present together. - Feel free to replace it with enum if you find it more - appropriate. - - I also uderstand that there is a need to select system wide - default method and have also modified DisplaySettings to contain - swapMethod parameter. Swap method in Traits uses value set in - DisplaySettings as default. Proper environment and command line - args were added. Its possible to define default DeisplaySettings - swap method in standard way via system flags or with comand line. - - Env Vars: - OSG_SWAP_METHOD = DEFAULT | COPY | EXCHANGE - or Command Line: - --swap-method DEFAULT | COPY | EXCHANGE - - I also added handling of WM_ERASEBKGND in GraphicsWindowWin32. It - may be unneccessary but code should be safer this way than - without handling it. I have placed a comment explaining the - reason above the change. - - Changes were made against today trunk. - - PS. I tested only Windows code. I briefly checked X11 & Cocoa - files but have not noticed SwapMethod to be used there. - " - -2010-10-01 17:07 robert - - * include/osgDB/Serializer: - -2010-10-01 15:58 robert - - * src/osg/DisplaySettings.cpp: From Magnes Kessler, "Attached are - some fixes for the environment variable help strings in - DisplaySettings. They contain spelling fixes and an attempt to - use consistent - expressions throughout." - -2010-10-01 15:37 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: From - Wojciech Lewandowski,"These are our changes to DatabasePager. To - check if parent PLOD is registered, I resurrected - PagedLODList::containsPagedLOD() method. This method was - available some time ago, but got removed and was not currently - present in trunk. To add this method I had to also modify the - DatabasePager header. " - -2010-09-30 16:57 robert - - * examples/osgvirtualprogram/VirtualProgram.h, - include/osg/BlendColor, include/osg/BlendEquation, - include/osg/BlendFunc, include/osg/ClampColor, - include/osg/ClipPlane, include/osg/ColorMask, - include/osg/ColorMatrix, include/osg/CullFace, include/osg/Depth, - include/osg/Fog, include/osg/FragmentProgram, - include/osg/FrontFace, include/osg/Hint, include/osg/Light, - include/osg/LightModel, include/osg/LogicOp, - include/osg/Multisample, include/osg/Point, include/osg/Scissor, - include/osg/Stencil, include/osg/TexEnvFilter, - include/osg/VertexProgram, include/osg/Viewport, - include/osgFX/Validator, src/osg/PointSprite.cpp, - src/osg/PolygonStipple.cpp, src/osg/Program.cpp, - src/osg/StencilTwoSided.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2D.cpp, src/osg/Texture2DArray.cpp, - src/osg/Texture2DMultisample.cpp, src/osg/Texture3D.cpp, - src/osg/TextureCubeMap.cpp, src/osg/TextureRectangle.cpp, - src/osgPlugins/cfg/VisualChooser.cpp: From Magnus Kessler, "After - a closer look at this particular issue, I used some grep and sed - magic - to fix all occurrences of "macro's" and "paramter". - " - -2010-09-30 16:31 robert - - * src/osgPlugins/ive/Image.cpp: From Craig Bosma, "Attached is an - updated Image.cpp that fixes a very specific - compatability regression that was introduced almost 2 years ago - in - r8834. The IVE version number was bumped to 32 because of the - change - in binary layout, but the guard for reading/writing the new field - was - checked against 31. Of course this only causes a problem (as for - us) - when you've produced IVE files at version 31, which no longer - load (or - crash) when loaded by newer OSG/IVE versions." - -2010-09-30 16:03 robert - - * include/osgDB/Serializer: From Chuck Seberino, "Here is a small - optimization in osgDB/Serializer that only uses a single accessor - call when retrieving serializable values during writing. This is - a sizable win for some of my code since the getter() methods are - non-trivial. I also removed some explicit namespace qualifiers to - be consistent with the rest of the codebase." - -2010-09-30 14:25 robert - - * include/osg/DisplaySettings, include/osg/GraphicsContext, - src/osg/DisplaySettings.cpp, src/osg/GraphicsContext.cpp: From - WojciechLewandowski, Added DispaySettings::SwapMethod and support - for it in GraphicsContext::Traits - -2010-09-30 09:40 robert - - * src/osgPlugins/QTKit/ReaderWriterQTKit.mm: From Stephan Huber, - fixed build under OSX 10.5. - -2010-09-30 09:34 robert - - * include/osgDB/XmlParser, src/osgDB/XmlParser.cpp, - src/osgPlugins/osg/XmlStreamOperator.h: From Wang Rui, "I've - fixed the problem that osgx format doesn't read the Font property - and wrapped string correctly. The first problem happened because - the matchString() made a mistake in comparing two strings with - the same start but different size. The second just needs complete - rewriting of writeWrappedString() and readWrappedString() in - src/osgPlugins/osg/XmlStreamOperator.h - - I also fixed a possible bug in osgDB::XmlParser that doesn't - handle control characters (like " to ") when reading node - attributes, because the writeWrappedString() and - readWrappedString() now depend heavily on control characters. An - additional improvement is that osgx now supports comments." - -2010-09-29 13:21 robert - - * src/osgText/Text3D.cpp: Fixed Text3D's handling of character - aspect ratio. - -2010-09-29 12:45 robert - - * examples/osgtext3D/osgtext3D_orig.cpp, include/osgText/Text3D, - include/osgText/TextBase, src/osgText/Text.cpp, - src/osgText/Text3D.cpp, src/osgText/TextBase.cpp: Moved handling - of character aspect ratio into osgText::Style. - -2010-09-29 12:38 robert - - * examples/osgtext/osgtext.cpp: Added command line option for - writing out the scene graph to file. - -2010-09-29 11:34 robert - - * include/osgText/Text, include/osgText/Text3D, - include/osgText/TextBase, src/osgText/Text.cpp, - src/osgText/Text3D.cpp, src/osgText/TextBase.cpp, - src/osgWrappers/deprecated-dotosg/osgText/IO_Text.cpp, - src/osgWrappers/deprecated-dotosg/osgText/IO_Text3D.cpp, - src/osgWrappers/deprecated-dotosg/osgText/IO_TextBase.cpp, - src/osgWrappers/serializers/osgText/Text.cpp, - src/osgWrappers/serializers/osgText/Text3D.cpp, - src/osgWrappers/serializers/osgText/TextBase.cpp: Moved - set/getFont from Text/Text3D into TextBase - -2010-09-29 11:09 robert - - * include/osgText/Font, src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h, src/osgText/Text3D.cpp, - src/osgText/TextNode.cpp: Removed getScale() parameter from - osgText::Font - -2010-09-29 10:54 robert - - * src/osg/CullSettings.cpp: Fixed type of numberical constant - -2010-09-27 17:11 robert - - * include/osgText/Text3D, src/osgText/Glyph.cpp, - src/osgText/GlyphGeometry.cpp, src/osgText/Text3D.cpp: Moved - Text3D across to using Style for character thickness. - Quitened down debug messages in 3D text geometry creation. - Improved the Text3D implementation of the new 3D text geometry. - -2010-09-27 16:18 robert - - * examples/osgtext3D/osgtext3D_orig.cpp, include/osgText/Glyph, - include/osgText/Text3D, src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgText/Glyph.cpp, src/osgText/GlyphGeometry.cpp, - src/osgText/GlyphGeometry.h, src/osgText/Text3D.cpp: Added - support for osgText::Style into osgText::Text3D. - Refactored Text3D implementation to use new GlyphGeometry class. - Implemented GlyphGeometry backend and cleaned up Glyph3D - interface. - -2010-09-27 09:58 robert - - * src/osgPresentation/SlideShowConstructor.cpp: Changed the reading - of animation paths so that it's always done without using the - osgDB object cache. - This fixes a bug of reusing the animination path in an P3D file. - -2010-09-26 11:02 robert - - * include/osgText/Glyph: Added include to fix compile - error - -2010-09-24 14:53 robert - - * include/osg/AlphaFunc, include/osg/AnimationPath, - include/osg/ArgumentParser, include/osg/TexEnv, - include/osg/TexEnvFilter, include/osg/TexGen, - include/osg/TexGenNode, include/osg/TexMat, include/osg/Texture, - include/osg/Texture1D, include/osg/Texture2D, - include/osg/Texture2DArray, include/osg/Texture3D, - include/osg/TextureCubeMap, include/osg/Timer, - include/osg/TransferFunction, include/osg/Vec2f, - include/osg/Vec3s, include/osg/VertexProgram, - include/osg/Viewport: From Alexander Wiebel, "I did some spell - checking in my spare time. Here come 20 files." - -2010-09-24 14:40 robert - - * include/osg/GLObjects: From Jean-Sebastien Guay, "Changeset 10833 - renames discardAllDeletedGLObjects() to discardAllGLObjects() in - src/osg/GLObjects.cpp, but the declaration of the function in - include/osg/GLObjects remained. So an app using an old version of - OSG that called this function would now fail with a linker error - instead of a compile error as it should. - - Removed the declaration. Also fixed a small typo in the following - doxygen comment." - -2010-09-24 14:38 robert - - * CMakeLists.txt, include/osg/Version, include/osg/io_utils: From - Mikhail Izmestev, "This patch fixes operator >> used with - std::istream without std::ios::skipws flag. This allow using - boost::lexical_cast with osg vectors types, because boost's - lexical_cast disable std::ios::skipws flag of std::istream before - using operator >>. - " - -2010-09-24 12:59 robert - - * CMakeLists.txt, CMakeModules/FindCoreVideo.cmake, - CMakeModules/FindQTKit.cmake, src/osgDB/Registry.cpp, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/QTKit, - src/osgPlugins/QTKit/CMakeLists.txt, - src/osgPlugins/QTKit/ReaderWriterQTKit.mm: From Eric Wing, QTKit - plugin for reading movies under OSX using QTKit + CoreVideo - -2010-09-24 12:57 robert - - * include/osgText/Font, include/osgText/Glyph, - include/osgText/Style, include/osgText/TextNode, - src/osgText/CMakeLists.txt, src/osgText/Glyph.cpp, - src/osgText/Style.cpp, src/osgText/TextNode.cpp: Moved Style and - Bevel classes out into their own include/osgText/Style header. - - Introduced GlyphGeometry class for handling the geometry data for - rendering 3D text - -2010-09-23 16:12 robert - - * include/osgDB/InputStream, include/osgDB/OutputStream, - src/osgDB/InputStream.cpp, src/osgDB/OutputStream.cpp: Refactored - the handling of readImage/writeImage/readObject/writeObject to - avoid double setting of unique ID's, fixing the problem in - reading/writing files with images - -2010-09-22 09:50 robert - - * include/osgText/Font3D: Added deprecated notices. - -2010-09-21 11:40 robert - - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS file for - release - -2010-09-21 10:28 robert - - * include/osgViewer/api/Cocoa/GraphicsWindowCocoa, - src/osgViewer/GraphicsWindowCocoa.mm: From David Guthrie, "The - cocoa version of the window for Mac OS X doesn't implement the - requestWarpPointer function, but it turns out that the code from - the Carbon version of the window is the same because it uses the - windowing interface, so it this version, based on 2.8.3 - GraphicsWindowCocoa, I copied the function over. The trunk - version it also missing the function and the code looks to be - very similar, so I assume it will transfer simply enough. - " - -2010-09-20 16:04 robert - - * src/osgPlugins/imageio/ReaderWriterImageIO.cpp: From Per - Fahlberg, "imageio was not spelled correctly when registering the - plugin, attached is a fixed version of ReaderWriterImageIO.cpp." - -2010-09-20 11:50 robert - - * examples/osgparticleshader/osgparticleshader.cpp, - include/osgParticle/ParticleProcessor, - include/osgParticle/ParticleSystemUpdater, - src/osgParticle/ParticleProcessor.cpp, - src/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ParticleSystemUpdater.cpp, - src/osgWrappers/serializers/osgParticle/ParticleSystemUpdater.cpp: - From Wang Rui, reverted changes to osgPartcile that caused - problems with osgparticleeffects. - -2010-09-20 11:02 robert - - * src/osgPlugins/3ds/WriterNodeVisitor.cpp: From Ulrich Hertlein, - "attached is a fix that addresses these compiler warnings from - the 64-bit OS X build: - - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp: - In - function ?std::string getFileName(const std::string&)?: - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp:88: - warning: comparison is always false due to limited range of data - type - - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp: - In - function ?bool is83(const std::string&)?: - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp:102: - warning: comparison is always false due to limited range of data - type - - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp: - In - function ?bool is3DSpath(const std::string&, bool)?: - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp:118: - warning: comparison is always false due to limited range of data - type - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp:121: - warning: comparison is always true due to limited range of data - type - - The code was using 'unsigned int' in places where it should've - used 'size_t' for correct - comparison with 'std::string::npos' (which is size_t). - " - -2010-09-17 15:41 robert - - * CMakeModules/FindCOLLADA.cmake: From Mathieu Marache, "This - modified version of FindCOLLADA finds it correctly when installed - with macports - as in 'port install collada-dom'" - -2010-09-17 15:39 robert - - * include/osgParticle/RandomRateCounter: Add clamping of the - maximum number of particles per frame to avoid too many particles - being introduced at once when the particle system comes back on - screen. - -2010-09-17 14:26 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Updated ChangeLog, AUTHORS for 2.9.9 dev release - -2010-09-17 13:33 robert - - * examples/osgtext3D/osgtext3D.cpp, - examples/osgtext3D/osgtext3D_test.cpp, - src/osgPlugins/pov/POVWriterNodeVisitor.cpp, - src/osgText/GlyphGeometry.cpp, src/osgText/Text3D.cpp: Build - fixes for when OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION is - disabled - -2010-09-17 13:09 robert - - * include/osgViewer/api/Win32/GraphicsWindowWin32, - src/osgViewer/GraphicsWindowWin32.cpp: Reverted changes from - Vivien Delage as there were some regressions discovered. Will - need to revist this code to deal with bugs that Vivien was - tackling. - -2010-09-17 11:20 robert - - * examples/osgoutline/osgoutline.cpp: From Ulrich Hertlein, "I've - added a command line switch '--testOcclusion' that enables - display of other models in - front and behind the outlined object." - -2010-09-16 13:04 robert - - * src/osgPlugins/quicktime/QTLiveUtils.cpp, - src/osgPlugins/quicktime/QuicktimeLiveImageStream.cpp: From - Magnus Kessler, "Changes to the quicktime plugin to remove unused - variables and an unused - static function." - -2010-09-16 10:33 robert - - * include/osg/Vec2b, include/osg/Vec2d, include/osg/Vec2f, - include/osg/Vec2s, include/osg/Vec3b, include/osg/Vec3d, - include/osg/Vec3f, include/osg/Vec3s, include/osg/Vec4b, - include/osg/Vec4d, include/osg/Vec4f, include/osg/Vec4s, - include/osg/Vec4ub: From Alexander Wiebel, "I came across some - functions in Vec* that I thought could benefit from some - doxygen documentation. Additionally, I made the comment on - value_type more - meaningful (in my opinion)." - -2010-09-16 09:49 robert - - * include/osg/Camera, include/osgGA/DriveManipulator: From Magnus - Kessler, "I'm resubmitting a slightly different version of the - changes you left out for - osg/Camera. The ::glName issue masked the fact that the "(..)" - isn't handled - well in doxygen and leads to "(." in the generated files. - - I'm also submitting a minor documentation fix to - osgGA/DriveManipulator to get - it out of my patch queue ;)" - -2010-09-16 09:09 robert - - * include/osgText/Text, src/osgText/Text.cpp: From March Sciabica, - "Here is the solution I coded up over the weekend. For improved - performance option, I added a flag to control whether the depth - writing - pass is performed. - - Since text is alpha-blended when rendering, it is placed in the - transparent bin and rendered back to front. Writing to the depth - buffer - should therefore be unnecessary. Indeed, rendering something - behind text - (or any blended object) after that object is drawn will give - incorrect - results whether the depth buffer is written or not. I therefore - think it - is safe to keep this option off by default. Users can turn it on - for any - special needs they have. - - I did not fix the existing backdrop implementations to work with - the new - code since this new method of rendering intrinsically handles - backdrops - correctly. Its results are more accurate than all of the existing - backdrop implementations. Its only downside is that it requires - two - passes if depth buffer updates are desired, whereas DEPTH_RANGE - and - POLYGON_OFFSET achieve their (less accurate) results in one pass. - The - NO_DEPTH_BUFFER method also only uses one pass, but it disables - depth - tests and not depth writes so will have serious problems if - anything is - drawn in front of the text before OR after the text is drawn. - - Given the better all-around behavior of the new method, I believe - the - other backdrop implementations can be safely removed. Code that - adjusts - the backdrop implementation will of course be broken if the - member - functions are removed. For this reason I left them in, but set - the new - rendering method as the default backdrop implementation. At the - very - least I think the old backdrop implementations should be - deprecated and - removed at a later date. - " - - Note from Robert Osfield, testing this submission with osgtext I - found that the - text would not render correctly when different text labels were - overlapping - in deth and screen space. I change _enableDepthWrites to default - to true and - found the that which artifacts still occurred around the alpha - blended edges - the artifacts where better than issue with occlusion of nearer - pixels that was - happening with _enableDepthWrites set to false.I therefore set - the - _enableDepthWrites to true as I feel it's the lesser of the two - artefacts. - -2010-09-16 08:46 robert - - * src/osgDB/OutputStream.cpp: From Mathias Fielder, "i found an - issue with the serializer writing shared arrays. At - OutputStream::writeArray(), if the currently latest array is - shared the full array content will be written. - The following code snippet will reproduce this issue: - - - Code: - - osg::Vec2 vec(0.f, 0.f); - osg::Array* sharedArray = new osg::Vec2Array(1, & vec); - - // create 2 geometries sharing same array - osg::Geometry* geom0 = new osg::Geometry; - osg::Geometry* geom1 = new osg::Geometry; - geom0->setVertexArray(sharedArray); - geom1->setVertexArray(sharedArray); - - osg::ref_ptr geode = new osg::Geode; - geode->addDrawable(geom0); - geode->addDrawable(geom1); - - std::stringstream buffer; - - // write node - osg::ref_ptr options = new - osgDB::Options("Ascii"); - osgDB::ReaderWriter* rw = - osgDB::Registry::instance()->getReaderWriterForExtension("osgt"); - osgDB::ReaderWriter::WriteResult wr = rw->writeNode(*geode, - buffer, options.get()); - - // print result; array will be written twice with full content, - though with same ID - std::cout << buffer.str() << std::endl; - - // trying to read back node will print warnings about unmatched - properties - osgDB::ReaderWriter::ReadResult rr = rw->readNode(buffer, - options.get()); - - - - - To fix this i made a change in OutputStream::writeArray(). - I think the same issue applies to OutputStream::writeObject(). So - i made the same change there. - " - -2010-09-15 13:24 robert - - * src/osgPlugins/dxf/dxfEntity.cpp: From Paul de Repentigny, - Commented out section of code that didn't work properly - -2010-09-15 13:04 robert - - * examples/osgparticleshader/osgparticleshader.cpp: Fixed warning - -2010-09-15 12:50 robert - - * applications/present3D/present3D.cpp: From Magnus Kessler, "Fix a - small typo in present3D usage string" - -2010-09-15 12:00 robert - - * CMakeLists.txt, examples/osggeometry/osggeometry.cpp, - examples/osgoccluder/osgoccluder.cpp, include/osg/Camera, - include/osg/CameraView, include/osg/GraphicsContext, - include/osg/OccluderNode, include/osg/Referenced, - include/osg/observer_ptr, include/osgDB/ReaderWriter, - include/osgViewer/CompositeViewer, include/osgWidget/Browser: - From Magnus Kessler, "Attached are a number of files where I have - tried to fix up some of the - documentation. I have accumulated them over some time, but - rebased onto the - subversion trunk." - -2010-09-15 11:36 robert - - * src/osgPlugins/txp/TXPPagedLOD.cpp: From Laura Cerritelli, "I - modified TXPPagedLOD::traverse to prevent the terrain from - inappropriately unloading the higher level of detail tiles. It - wasn?t updating the frame number of the tile or the range it was - traversing, causing PagedLOD::removeExpiredChildren to always - consider the range expired." - -2010-09-15 11:32 robert - - * src/osgDB/SharedStateManager.cpp: From Wang Rui, "I've fixed some - pen-slips in SharedStateManager.cpp, which writing the - last few examples for my to-be-finished book. I also do a minor - fix to - the share() method to make it work for geodes, too." - -2010-09-15 11:27 robert - - * include/osg/OcclusionQueryNode, src/osg/OcclusionQueryNode.cpp: - From Lukasz Izdebski, "I made some changes in OcclusionQueryNode - file. - I move declaration of classes TestResult, QueryGeometry from cpp - to header file and made a void createSupportNodes() a virtual - method. - - Now is possible to inherit from class OcclusionQueryNode." - -2010-09-15 11:10 robert - - * src/osgPlugins/3ds/WriterNodeVisitor.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.h: Renamed file3ds and - options member variables to _file3ds and _options to avoid - confusion and keep the code consistent with the rest of the - class/OSG. - - Added _option parameter to writeImageFile(..) call. - -2010-09-15 10:50 robert - - * src/osgFX/Outline.cpp: From Todd Furlong, "I made a couple of - changes to the osgFX::Outline class (SVN patch attached). I had a - couple of issues with it that I was trying to resolve: - - 1. When an outline object was occluded by another object, the - backfacing wireframe was exposed. To fix that, I removed the - disabling of GL_DEPTH_TEST. - - 2. In some cases, the outline color was the same color as the - geometry being drawn instead of the specified color. I'm not sure - I have completely fixed this issue, but I did make some changes - to match up to how we do a scribe effect." - -2010-09-15 10:24 robert - - * src/osgDB/Registry.cpp, src/osgPlugins/curl/ReaderWriterCURL.cpp: - Added https, ftp and ftps to list of supported server protocols, - and add ability for curl plugin to ignore the need for a server - address when .curl extension is used. - -2010-09-15 09:56 robert - - * include/osg/Stencil, include/osg/StencilTwoSided, - src/osg/Stencil.cpp, src/osg/StencilTwoSided.cpp: From Jan - Peciva, "please, find attached improved Stencil and - StencilTwoSided classes. - - Goals: - - to handle INCR_WRAP values nicely if not supported by OpenGL - (old hardware) - - to support two side stenciling of OpenGL 2.0. Current - implementation does not work on ATI as it uses Nvidia extension. - - Ready for commit: - - Stencil and Stencil.cpp - please, review them - - Ready with "hack": - - StencilTwoSided.cpp: please, see the line 113 in apply(): - - glEnable(GL_STENCIL_TEST_TWO_SIDE); - - This line used to be in getModeUsage() as - - usage.usesMode(GL_STENCIL_TEST_TWO_SIDE); - - but it produces OpenGL errors on ATI as it is unknown value there - (it is Nvidia extension). - Problems with my "glEnable" solution: - - it enables two side stenciling forever, and it will disturb any - other single-side stenciling in the scene graph. - " - -2010-09-15 09:24 robert - - * include/osgParticle/BoxPlacer, - include/osgParticle/CompositePlacer, - include/osgParticle/MultiSegmentPlacer, - include/osgParticle/Particle, include/osgParticle/Placer, - include/osgParticle/SectorPlacer, - include/osgParticle/SegmentPlacer, src/osgParticle/Particle.cpp, - src/osgParticle/ParticleSystem.cpp: From Wang Rui, "I've changed - it back to _alive, _current_size and _current_alpha, and placed - them one by one for setTexCoordPointer() to use. - - All size() methods are now renamed to volume(). At present only - the CompositePlacer will use it for randomly choose a place - according to the volumes of all children. - " - -2010-09-14 15:47 robert - - * examples/CMakeLists.txt, examples/osgparticleshader, - examples/osgparticleshader/CMakeLists.txt, - examples/osgparticleshader/osgparticleshader.cpp, - include/osgParticle/AngularDampingOperator, - include/osgParticle/BounceOperator, - include/osgParticle/BoxPlacer, - include/osgParticle/CompositePlacer, - include/osgParticle/DampingOperator, - include/osgParticle/DomainOperator, - include/osgParticle/ExplosionOperator, - include/osgParticle/MultiSegmentPlacer, - include/osgParticle/Operator, include/osgParticle/OrbitOperator, - include/osgParticle/Particle, - include/osgParticle/ParticleProcessor, - include/osgParticle/ParticleSystem, - include/osgParticle/ParticleSystemUpdater, - include/osgParticle/Placer, include/osgParticle/SectorPlacer, - include/osgParticle/SegmentPlacer, - include/osgParticle/SinkOperator, - src/osgParticle/BounceOperator.cpp, - src/osgParticle/CMakeLists.txt, - src/osgParticle/DomainOperator.cpp, - src/osgParticle/ModularProgram.cpp, src/osgParticle/Particle.cpp, - src/osgParticle/ParticleProcessor.cpp, - src/osgParticle/ParticleSystem.cpp, - src/osgParticle/ParticleSystemUpdater.cpp, - src/osgParticle/SinkOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_AngularDampingOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_BounceOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_DampingOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_DomainOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ExplosionOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_OrbitOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_Particle.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ParticleSystem.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ParticleSystemUpdater.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_SinkOperator.cpp, - src/osgWrappers/serializers/osgParticle/AngularDampingOperator.cpp, - src/osgWrappers/serializers/osgParticle/BounceOperator.cpp, - src/osgWrappers/serializers/osgParticle/DampingOperator.cpp, - src/osgWrappers/serializers/osgParticle/DomainOperator.cpp, - src/osgWrappers/serializers/osgParticle/ExplosionOperator.cpp, - src/osgWrappers/serializers/osgParticle/OrbitOperator.cpp, - src/osgWrappers/serializers/osgParticle/Particle.cpp, - src/osgWrappers/serializers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/serializers/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/serializers/osgParticle/SinkOperator.cpp: Form - Wang Rui, "An initial GLSL shader support of rendering particles. - Only the POINT - type is supported at present. The attached osgparticleshader.cpp - will - show how it works. It can also be placed in the examples folder. - But I - just wonder how this example co-exists with another two - (osgparticle - and osgparticleeffect)? - - Member variables in Particle, including _alive, _current_size and - _current_alpha, are now merged into one Vec3 variable. Then we - can - make use of the set...Pointer() methods to treat them as vertex - attribtues in GLSL. User interfaces are not changed. - - Additional methods of ParticleSystem are introduced, including - setDefaultAttributesUsingShaders(), setSortMode() and - setVisibilityDistance(). You can see how they work in - osgparticleshader.cpp. - - Additional user-defined particle type is introduced. Set the - particle - type to USER and attach a drawable to the template. Be careful - because - of possible huge memory consumption. It is highly suggested to - use - display lists here. - - The ParticleSystemUpdater can accepts ParticleSystem objects as - child - drawables now. I myself think it is a little simpler in - structure, - than creating a new geode for each particle system. Of course, - the - latter is still compatible, and can be used to transform entire - particles in the world. - - New particle operators: bounce, sink, damping, orbit and - explosion. - The bounce and sink opeartors both use a concept of domains, and - can - simulate a very basic collision of particles and objects. - - New composite placer. It contains a set of placers and emit - particles - from them randomly. The added virtual method size() of each - placer - will help determine the probability of generating. - - New virtual method operateParticles() for the Operator class. It - actually calls operate() for each particle, but can be overrode - to use - speedup techniques like SSE, or even shaders in the future. - - Partly fix a floating error of 'delta time' in emitter, program - and - updaters. Previously they keep the _t0 variable seperately and - compute - different copies of dt by themseleves, which makes some - operators, - especially the BounceOperator, work incorrectly (because the dt - in - operators and updaters are slightly different). Now a - getDeltaTime() - method is maintained in ParticleSystem, and will return the - unique dt - value (passing by reference) for use. This makes thing better, - but - still very few unexpected behavours at present... - - All dotosg and serialzier wrappers for functionalities above are - provided. - - ... - - According to some simple tests, the new shader support is - slightly - efficient than ordinary glBegin()/end(). That means, I haven't - got a - big improvement at present. I think the bottlenack here seems to - be - the cull traversal time. Because operators go through the - particle - list again and again (for example, the fountain in the shader - example - requires 4 operators working all the time). - - A really ideal solution here is to implement the particle - operators in - shaders, too, and copy the results back to particle attributes. - The - concept of GPGPU is good for implementing this. But in my - opinion, the - Camera class seems to be too heavy for realizing such - functionality in - a particle system. Myabe a light-weight ComputeDrawable class is - enough for receiving data as textures and outputting the results - to - the FBO render buffer. What do you think then? - - The floating error of emitters - (http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2009-May/028435.html) - is not solved this time. But what I think is worth testing is - that we - could directly compute the node path from the emitter to the - particle - system rather than multiplying the worldToLocal and LocalToWorld - matrices. I'll try this idea later. - " - -2010-09-14 13:19 robert - - * include/osg/Texture, src/osg/Image.cpp, src/osg/Texture.cpp, - src/osg/Texture1D.cpp, src/osg/Texture2D.cpp, - src/osg/Texture2DArray.cpp, src/osg/Texture3D.cpp, - src/osg/TextureCubeMap.cpp, src/osg/TextureRectangle.cpp: From - Ulrich Hertlein, "not sure how severe this is but I believe - there's a bug in - Texture.cpp:applyTexImage2D_subload: - - - unsigned char* data = = (unsigned char*)image->data(); - if (needImageRescale) { - // allocates rescale buffer - data = new unsigned char[newTotalSize]; - - // calls gluScaleImage into the data buffer - } - - const unsigned char* dataPtr = image->data(); - // subloads 'dataPtr' - - // deletes 'data' - - - In effect, the scaled data would never be used. - - I've also replaced bits of duplicate code in - Texture1D/2D/2DArray/3D/Cubemap/Rectangle - that checks if the texture image can/should be unref'd with - common functionality in - Texture.cpp. - - " - -2010-09-14 13:19 robert - - * include/osg/Image: Moved GL_RED and associated GL defines that - aren't defined by GLES into the include/osg/Image to aid - portability. - -2010-09-09 16:49 robert - - * include/osgDB/DataTypes, include/osgWidget/Input, - src/osgPlugins/osg/BinaryStreamOperator.h, - src/osgWidget/Input.cpp, src/osgWidget/WindowManager.cpp: From - Jean-Sebastien Guay, "osgWidget::WindowManager did nothing in its - keyUp event, and in particular didn't call any callbacks. Since I - wanted to have callbacks on keyUp, I copied what it does on - keyDown, which works for me. I could have just used keyDown and - saved myself the trouble, but you know me... :-) - - osgWidget::Input: - - [Functional changes] - - Previously, the field would be filled with spaces up to its max - length, and typing would just replace the spaces. Also, there was - a _textLength variable that kept track of the real length of text - in the field, since the osgText::Text's length just reflected the - length of spaces+text entered. This was not great, as you could - still select the spaces with the mouse and it just feels hacky. - So I changed it to only contain the text entered, no spaces, and - _textLength was removed since it's now redundant (the - osgText::Text's length is used instead). - - Fixed the selection size which (visually only) showed one more - character selected than what was really selected. - - Fixed selection by dragging the mouse, it would sometimes not - select the last character of the string. - - Cursor will now accurately reflect whether insert mode is - activated (block cursor) or we're in normal mode (line cursor) - like in most editors. - - Implemented Ctrl-X (cut) - - Added a new clear() method that allows the field to be emptied - correctly. Useful for a command line interface, for example - (hint, hint). - - Mouse and keyboard event handler methods would always return - false, which meant selecting with the mouse would also rotate the - trackball, and typing an 's' would turn on stats. - - [Code cleanup] - - Renamed the (local) _selectionMin and _selectionMax variables - which are used in a lot of places, as the underscores would lead - to think they were members. Either I called them - selection{Min|Max} or delete{Min|Max} where it made more sense. - - Fixed some indenting which was at 3 spaces (inconsistently), - I'm sure I didn't catch all the lines where this was the case - though. - - Put spaces between variable, operator and value where missing, - especially in for()s. Again I only did this where I made changes, - there are probably others left. - - The result is that delete, backspace, Ctrl-X, Ctrl-C, Ctrl-V, and - typing behaviour should now be consistent with text editor - conventions, whether insert mode is enabled or not. I hope. :-) - - Note, there's a nasty const_cast in there. Why isn't - osgText::Font::getGlyph() declared const? - - Also, as a note, the current implementation of cut, copy and - paste (in addition to being Windows only, yuck) gets and puts the - data into an std::string, thus if the osgText::String in the - field contains unicode characters I think it won't work - correctly. Perhaps someone could implement a proper clipboard - class that would be cross-platform and support osgText::String - (more precisely other languages like Chinese) correctly? Cut, - copy and paste are not critical to what I'm doing so I won't - invest the time to do that, but I just thought I'd mention it. - " - -2010-09-09 10:44 robert - - * CMakeModules/FindCOLLADA.cmake, - include/osgViewer/api/Win32/GraphicsWindowWin32, - src/osgViewer/GraphicsWindowWin32.cpp: From Torben Dannhauer, "I - extended the attached CMAKE module to search for the collada - libraries of my VS2008 3rdParty package if no other library is - found. - - No CMAKE should recognize all libraries of the VS2008 3rdParty - Package." - -2010-09-09 10:17 robert - - * src/osgPlugins/dxf/dxfEntity.cpp: From Joachim Pouderoux, "Please - find attached a very small fix for the DXF reader. The bug made - OSG - crash with some files. - Actually, itr was incremented into the loop and after the test - with - nlist.end(). - Then, the unreferencing of itr when nlist is equals to - nlist.end() caused - the crash." - -2010-09-09 10:14 robert - - * src/osgPlugins/ogr/ReaderWriterOGR.cpp: From Joachim Pouderoux, - "I have added the support for wkbMultiPolygon & - wkbMultiPolygon25D in the OGR - plugin (it was mysteriously missing and no prevent warning - messages was - print)." - -2010-09-09 10:09 robert - - * src/osgPlugins/x/mesh.cpp: From Tassilo Glander, "I want to - submit a fix for the plugin to load .x model files (Direct X). - - The current version crashes when encountering global materials, - as also reported in the forum by the author of the plugin. - - The problem in mesh.cpp (app. ln 247) is, that references to - global materials that are given in curly brackets {} are not - supported by the reader. However, curly brackets seem to be - common, according to Bourke. Unfortunately, I found no - specification. However, also the DirectX model viewer that comes - with the DirectX-SDK (August 2009) expects curly brackets and - refuses models without them. - - My fix checks 2 more cases ("{ aMaterial }" -> 3 tokens and - "{aMaterial}" -> 1 token), and extracts the material name for the - lookup. I don't know if this is the most elegant solution, but - the tokenizer seems to split based on white spaces. - - You can reproduce the bug with the attached model (box.x), which - loads fine in other tools, such as 3DSmax, DeepExploration or the - DirectX model viewer. When I remove the curly brackets at the - reference of "myGlobalMaterial", it loads in osgviewer, but is - not standard conform. - " - -2010-09-09 10:03 robert - - * include/osgUtil/Statistics, src/osgUtil/RenderBin.cpp, - src/osgUtil/Statistics.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/StatsHandler.cpp: From Roland Smeenk, "this - submission adds a "Fast Drawable" line to the camera scene - statistics. - It shows the total number of sorted and unsorted drawables that - use the fastpath for rendering." - -2010-09-09 09:47 robert - - * examples/osgQtWidgets/osgQtWidgets.cpp, - include/osgViewer/ViewerEventHandlers, - src/osgViewer/ViewerEventHandlers.cpp: From Jean-Sebastien Guay, - "I've added a second ctor where no argument is optional, and - documented that it's meant to be used when the InteractiveImage - is going to be used in a fullscreen HUD. - " - -2010-09-09 09:05 robert - - * src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: Added version check - for av_lockmgr_register support. - -2010-09-09 08:47 robert - - * src/osgUtil/IntersectionVisitor.cpp: From Nathan Monteleone and - Robert Osfield, - - submission email from Nathan: "I discovered a problem with - POINT_ROT_EYE billboards in IntersectionVisitor: because we pass - in just the model matrix to Billboard::computeBillboardMatrix, - the billboard gets the wrong up vector. It really needs to take - the view matrix into account to get the correct up vector. - - This version of IntersectionVisitor.cpp is made against today's - SVN. It corrects the problem by computing the billboard matrix - using the complete modelview, and then multiplies by the inverse - of the view matrix before pushing onto IntersectionVisitor's - model stack. The only code I changed is in apply(Billboard&)." - - notes from Robert, refactored the matrix multiplication code and - the use of RefMatrix to make Nathan's changes more efficient. - -2010-09-08 11:02 robert - - * src/osgPlugins/freetype/FreeTypeFont.cpp, src/osgText/Font.cpp, - src/osgText/Glyph.cpp, src/osgText/Text3D.cpp, - src/osgUtil/SmoothingVisitor.cpp: Cleaned up debug info, and - changed Text3D across to using GL_NORMALIZE instead of - GL_RESCALE_NORMAL. - -2010-09-08 10:46 robert - - * src/osgUtil/SmoothingVisitor.cpp: Added support for honouring - PrimitiveSet names in new smoothing algorithm - -2010-09-08 08:09 robert - - * include/osgText/TextNode, src/osgText/CMakeLists.txt: From - Jean-Sebastien Guay, build fixes for Windows - -2010-09-07 19:55 robert - - * examples/osgtext3D/CMakeLists.txt, - examples/osgtext3D/GlyphGeometry.cpp, - examples/osgtext3D/GlyphGeometry.h, - examples/osgtext3D/TextNode.cpp, examples/osgtext3D/TextNode.h: - Removed files that have been moved into osgText. - -2010-09-07 18:20 robert - - * include/osgText/Glyph, src/osgText/Glyph.cpp: Moved Glyph and - Glyph3D out of Font header/source file into their own - header/source file. - -2010-09-07 18:18 robert - - * examples/osgtext3D/CMakeLists.txt, - examples/osgtext3D/GlyphGeometry.cpp, - examples/osgtext3D/GlyphGeometry.h, - examples/osgtext3D/TextNode.cpp, - examples/osgtext3D/osgtext3D.cpp, include/osgText/Font, - include/osgText/TextNode, - src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/txf/TXFFont.cpp, - src/osgQt/QFontImplementation.cpp, src/osgText/CMakeLists.txt, - src/osgText/DefaultFont.cpp, src/osgText/Font.cpp, - src/osgText/GlyphGeometry.cpp, src/osgText/GlyphGeometry.h, - src/osgText/TextNode.cpp: Moved TextNode into osgText. - - Cleaned up freetype plugin so it no longer does tesselation - - instead Glyph and TextNode do this. - -2010-09-06 15:43 robert - - * examples/osgtext3D/GlyphGeometry.cpp, - examples/osgtext3D/GlyphGeometry.h, - examples/osgtext3D/TextNode.cpp, - examples/osgtext3D/osgtext3D.cpp, include/osgText/Text3D, - src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h, src/osgText/Font.cpp, - src/osgText/Text3D.cpp, - src/osgWrappers/serializers/osgText/Text3D.cpp: Further work on - new 3D text support - -2010-09-03 15:03 robert - - * examples/osgtext3D/TextNode.cpp, examples/osgtext3D/TextNode.h, - examples/osgtext3D/osgtext3D.cpp: Added basic wiring up of - TextTechnique to 3D glyph code - -2010-09-03 09:10 robert - - * src/osgPlugins/freetype/CMakeLists.txt, - src/osgPlugins/freetype/FreeTypeFont3D.cpp, - src/osgPlugins/freetype/FreeTypeFont3D.h, src/osgText/Font3D.cpp: - Removed now redundent Font3D files - -2010-09-03 09:08 robert - - * include/osgQt/QFontImplementation, include/osgText/Font, - include/osgText/Font3D, include/osgText/Text3D, - src/osgPlugins/freetype/CMakeLists.txt, - src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h, - src/osgPlugins/freetype/FreeTypeLibrary.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.h, - src/osgPlugins/freetype/ReaderWriterFreeType.cpp, - src/osgPlugins/txf/TXFFont.cpp, src/osgPlugins/txf/TXFFont.h, - src/osgQt/QFontImplementation.cpp, src/osgText/CMakeLists.txt, - src/osgText/DefaultFont.cpp, src/osgText/DefaultFont.h, - src/osgText/Font.cpp, src/osgText/Font3D.cpp, - src/osgText/Text.cpp, src/osgText/Text3D.cpp: Refactored to use a - typedef of Font to Font3D rather than have a separate Font3D - class - -2010-09-03 08:26 robert - - * examples/osgtext3D/CMakeLists.txt, - examples/osgtext3D/GlyphGeometry.cpp, - examples/osgtext3D/GlyphGeometry.h, - examples/osgtext3D/TextNode.cpp, examples/osgtext3D/TextNode.h, - examples/osgtext3D/osgtext3D.cpp, - include/osgQt/QFontImplementation, include/osgText/Font, - include/osgText/Font3D, include/osgText/Text, - include/osgText/Text3D, src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h, - src/osgPlugins/freetype/FreeTypeFont3D.cpp, - src/osgPlugins/freetype/FreeTypeFont3D.h, - src/osgPlugins/txf/TXFFont.cpp, src/osgPlugins/txf/TXFFont.h, - src/osgQt/QFontImplementation.cpp, src/osgText/DefaultFont.cpp, - src/osgText/DefaultFont.h, src/osgText/Font.cpp, - src/osgText/Font3D.cpp, src/osgText/Text.cpp, - src/osgText/Text3D.cpp, src/osgText/TextBase.cpp, - src/osgWidget/Input.cpp: Refactored osgText::Font so that it now - supports both 2D and 3D glyphs. - - Added TextNode.h and TextNode.cpp to examples/osgtext3D in prep - for introducing the new node to osgText library - -2010-09-02 07:55 robert - - * src/osg/Texture.cpp: Added to Text::resizeGLObjectBuffers(uint) - the follow: - - _textureObjectBuffer.resize(maxSize); - _texParametersDirtyList.resize(maxSize); - -2010-08-25 16:59 robert - - * src/osgUtil/SmoothingVisitor.cpp: Implemented a greedy triangle - associate technique to minimize the number of duplicate vertices - required to produce crease angles. - -2010-08-25 14:34 robert - - * examples/osgtext3D/osgtext3D.cpp: Changed --flat to --flat-shaded - to avoid conflict with oiginal --flat ratio control. - -2010-08-25 11:07 robert - - * examples/osgtext3D/osgtext3D.cpp: Cleaned up main and introduced - --samples , --flat, --smooth command line controls. - - Add StatsHandler to viewer to enable review of different settings - on number vertices/triangles. - -2010-08-25 11:06 robert - - * include/osgText/Font3D, - src/osgPlugins/freetype/FreeTypeFont3D.cpp, - src/osgPlugins/freetype/FreeTypeFont3D.h, src/osgText/Font3D.cpp: - Added support for controlling the number of curves samples to - generate on Glyph3D's. Set via - Font3D::setNumberCurveSamples(num). - -2010-08-24 16:08 robert - - * examples/osgtext3D/GlyphGeometry.cpp, - examples/osgtext3D/osgtext3D.cpp: Implemented the shell geometry - code - -2010-08-24 16:06 robert - - * src/osgUtil/RenderBin.cpp: Added "SORT_BACK_TO_FRONT" and - "SORT_FRONT_TO_BACK" RenderBin's to default prototype list - -2010-08-24 14:22 robert - - * examples/osgtext3D/CMakeLists.txt, - examples/osgtext3D/GlyphGeometry.cpp, - examples/osgtext3D/GlyphGeometry.h, - examples/osgtext3D/osgtext3D.cpp: Refactored 3d text geometry - creation code so that the text is all placed in one - osg::Geometry. - -2010-08-20 10:24 robert - - * src/osgUtil/SmoothingVisitor.cpp: Fixed bug in handling large - osg::Geometry. - -2010-08-19 16:24 robert - - * examples/osgtext3D/osgtext3D.cpp: Implemented generation of - front, back and bevel geometries to complete the 3d glyphs. - -2010-08-18 11:14 robert - - * src/osgUtil/SmoothingVisitor.cpp: Improved the detection of - problem vetices and associated triangles - -2010-08-17 19:48 robert - - * src/osgUtil/Tessellator.cpp: Fixed indentation - -2010-08-17 19:48 robert - - * src/osgUtil/SmoothingVisitor.cpp: Implemented basic duplication - of points that sit on sharp edges. - -2010-08-17 13:25 mplatings +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 - * src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/fbxRMesh.cpp: From Donn Mielcarek: - The fbx plugin won't compile using gcc 4.3.2. I made the - following - minor changes: - - 1. WriterNodeVisitor.cpp needed limits.h added to the headers. - - 2. gcc does not allow structures to be defined inside of - functions, so - I moved the definition of PolygonRef out of the function to a - global - scope (right above the function readMesh). - - I also removed a bunch of embedded carriage returns -2010-08-17 13:10 robert +Thu, 26 Jun 2014 10:24:41 +0000 +Checked in by : Robert Osfield +From Laurens Voerman, "while debugging ImageSequence I had a crash, due to the very large frametimes caused by halting the program. The problem is that when the frame time exceeds the length of the entire image sequence, a looping sequence will try to read it's _imageDataList beyond its size. fix attached for src/osg/ImageSequence.cpp"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14293 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgWrappers/deprecated-dotosg/osg/Texture.cpp: Added support - for RGTC1 and RGTC2 enums - -2010-08-16 15:02 robert - - * src/osg/ClipNode.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgText/Text.cpp: From Guillaume Taze, "Here are some bugs - fix : - - - missing copy attribute _referenceFrame in ClipNode in copy - constructor - - checked iterators against the end in osgText - - close codec context in ffmpeg plugin to avoid memory leak - - " - -2010-08-16 14:54 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Maria Ten, - "Importing 3ds files with a texture for the diffuse component and - other one for opacity does not work with the osg 3ds plugin. In - the attached file, there is a fix to solve this issue but it does - not support textures without alpha channel in the opacity - component (like black and white textures used in 3ds max to - achieve the transparency). There is attached a test 3ds file too. - " - -2010-08-16 14:39 robert - - * src/osgPlugins/tga/ReaderWriterTGA.cpp: From Wang Rui, - "Attachment is the implementation of the writing operation of the - TGA - format. I wrote it just for one of my client. At present it only - outputs uncompressed RGBA images, but the OSG community can go - deeper - at any time." - -2010-08-16 14:24 robert - - * src/osgPlugins/obj/ReaderWriterOBJ.cpp: Added material setName. - -2010-08-16 14:14 robert - - * src/osgWrappers/serializers/osg/Texture.cpp: Added support for - USE_RGBT1_COMPRESSION and USE_RGBT2_COMPRESSION - -2010-08-16 14:11 robert - - * include/osg/Texture, src/osg/Image.cpp, src/osg/Texture.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp: From Lukasz Izdebski, - "Texture: added support for GL_EXT_texture_compression_rgtc, I - added support (read and write ) for BC4 BC5 Block Compression to - dds file format." - -2010-08-16 11:03 robert - - * include/osgGA/FirstPersonManipulator, - include/osgGA/OrbitManipulator, - include/osgGA/StandardManipulator, - src/osgGA/FirstPersonManipulator.cpp, - src/osgGA/OrbitManipulator.cpp, - src/osgGA/StandardManipulator.cpp, - src/osgGA/TerrainManipulator.cpp: Changed setTransformation(eye, - center, up) paramter ordering to match gluLookAt conventions. - -2010-08-16 10:11 robert - - * src/osgParticle/Particle.cpp: From Bradley Anderegg, "I fixed a - problem with a stack overflow error in Particle.cpp. When the - hexagon particle renders it does a glPushMatrix with no matching - glPopMatrix, I simply added a glPopMatrix at the end of the - rendering code." - -2010-08-16 09:35 robert - - * include/osg/PrimitiveSet: From Alexander Wiebel, "Documentation - of PrimitiveSet" - -2010-08-09 17:02 robert - - * include/osg/ImageStream, src/osgPlugins/ffmpeg/FFmpegDecoder.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.hpp, - src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: From David Fries, - merge from a series of related submission emails: - - "enable thread locking in libavcodec - - This is required for a multithreaded application using ffmpeg - from - another thread." - - "Prevent the audio from videos from hanging on exit if they are - paused. - The video decoder already has similar logic." - - "Add a way to retrieve the creation time for MPEG-4 files." - - "fmpeg, improve wait for close logic - - Both audio and video destructors have been succesfully using the - logic, - if(isRunning()) - { - m_exit = true; - join(); - } - since it was introduced, - - but the close routines are using, - m_exit = true; - if(isRunning() && waitForThreadToExit) - { - while(isRunning()) { OpenThreads::Thread::YieldCurrentThread(); } - } - which not only is it doing an unnecessary busy wait, but it - doesn't - guaranteed that the other thread has terminated, just that it has - progressed far enough that OpenThreads has set the thread status - as - not running. Like the destructor set the m_exit after checking - isRunning() to avoid the race condition of not getting to join() - because the thread was running, but isRunning() returns false. - - Now that FFmpeg*close is fixed, call it from the destructor as - well - to have that code in only one location." - -2010-08-09 16:19 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Aded - option for doing a glFlush() after compiling texture objects, - with a dedicated compile thread default to issuing the glFlush. - -2010-08-09 16:14 robert - - * include/osgUtil/DelaunayTriangulator: Cleaned up the inline - methods - -2010-08-08 15:45 robert - - * src/osgViewer/GraphicsWindowCocoa.mm: From Stephan Huber, - "attached you'll find a small enhancement for - GraphicsWindowCocoa, so - osgViewer behaves smarter, when the computer will reboot or - shutdown. In - older versions the reboot/shutdown got cancelled by - GraphicsWindowCocoa, - now it behaves more system conform. - " - -2010-08-08 15:44 robert - - * include/osg/observer_ptr: Removed the erroneous subclassing from - osg::Observer - -2010-08-08 15:34 robert - - * src/osg/Program.cpp: From Farshid Lashkari, "This patch simply - reduces some messages output in osg::Program from NOTICE to INFO, - since they are not important for most users." - -2010-08-08 15:32 robert - - * src/osg/Texture.cpp: From Cedric Pinson, "I used the lod of the - texture manager to track the instance, and it - seems that the number of current active texture is wrong. It's - because - of the line in - Texture::TextureObjectSet::flushDeletedTextureObjects - - _parent->getNumberActiveTextureObjects() += numDeleted;" - -2010-08-04 08:35 cedricpinson - - * src/osgAnimation/RigTransformHardware.cpp: From Rob Smith, makes - hardware skinning use of the existing stateset - -2010-07-31 10:33 robert - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/pov, - src/osgPlugins/pov/CMakeLists.txt, - src/osgPlugins/pov/POVWriterNodeVisitor.cpp, - src/osgPlugins/pov/POVWriterNodeVisitor.h, - src/osgPlugins/pov/ReaderWriterPOV.cpp, - src/osgPlugins/pov/ReaderWriterPOV.h: From Jan Peciva, "I am - sending pov plugin for exporting scene to POV-Ray format. - POV-Ray is photorealistic ray tracer." - -2010-07-31 10:22 robert - - * include/osg/Observer: From Jeremy Moles, "The version of GCC I - use (4.4.3-4ubuntu5) gives the following warning - about the Observer header: - - /home/cubicool/local/include/osg/Observer: In copy constructor - ?osg::ObserverSet::ObserverSet(const osg::ObserverSet&)?: - /home/cubicool/local/include/osg/Observer:66: warning: base class - ?class - osg::Referenced? should be explicitly initialized in the copy - constructor - - I've been fixing this by hand by using the attached Observer - header; it - does exactly what the warning requests. Purely cosmetic, I - believe, but - other than that OSG seems to compile w/ -W -Wall just fine." - -2010-07-31 10:20 robert - - * src/osg/TextureRectangle.cpp: From Farshid Lashkari, "I noticed - that some of my applications output the following notification - message: - - no PixelBufferObject 00000000, 00000000 pbo=00000000 - - It's kind of annoying since there is nothing actually wrong. The - message is generated from TextureRectangle::applyTexImage_subload - when it fails to create a pbo, even if the Image object is not - even requesting to use a pbo. This message is not generated by - all the other code in TextureRectangle.cpp & Texture.cpp that - also attempts to create pbo's. I've modified TextureRectangle.cpp - to remove this message, so it is at least consistent with the - other code." - -2010-07-31 10:18 robert - - * src/osgPlugins/dae/daeRMaterials.cpp: From Warren Macchi, "While - tracing texture artifacts with the 2.9.8 dev release we - uncovered what looks like a type in the "src\osgPlugins\dae\ - daeRMaterials.cpp" file. Line 1094 reads: - - ^^^ - parameters.filter_min = getFilterMode(sampler->getMagfilter()-> - getValue(), false); - - whereas it should read - - ^^^ - parameters.filter_mag = getFilterMode(sampler->getMagfilter()-> - getValue(), false); - " - -2010-07-31 10:17 robert - - * src/osgTerrain/Terrain.cpp: From Brad Christiansen, "To build OSG - using Visual Studio 2010 Terrain.cpp requires #include - . This is a very common fix when using 2010 due to - changes in Microsoft STL. - " - -2010-07-31 09:21 robert - - * src/osgPlugins/txp/TXPParser.h: Fixed build - -2010-07-31 09:04 robert - - * src/osgPlugins/txp/TXPParser.h: From Ryan Kawicki, "I found a - memory leak within the Terrex plugin. - - Out application has the ability to switch to different types of - terrains on the fly. This problem only exists in this type of - situation. - - The TXPArchive is held by the ReadWriterTXP class. When the - TXPNode, which is the top level node, is released from memory, - the archive associated to that TXPNode is also released. The - issue is that the reference count on the TXPArchive never gets to - zero. - - The reason why the reference count never gets to zero is because - the TXPParse, which is owned by the TXPArchive, stores a ref_ptr - to the TXPArchive. You can then see why this becomes a problem. - The TXPParser's ref_ptr cannot be unreferenced since the - TXPArchive has not released the TXPParser. - - Since the TXPParser is fully contained within the TXPArchive, I - don't see the reason to have the TXPParser have a ref_ptr to the - TXPArchive. I've made this change locally and have had no - problems and our memory leak has been fixed. - " - -2010-07-31 09:03 robert - - * src/osgPlugins/txp/TXPParser.h: From Ryan Kawicki, fixed - indentation - -2010-07-31 08:57 robert - - * CMakeModules/ModuleInstall.cmake, - src/OpenThreads/pthreads/CMakeLists.txt: From Stephan Huber, - "changed the CmakeFiles for OpenThreads and the - osg-frameworks, so they are versioned by - OPENSCENEGRAPH_SOVERSION. " - - And from a later email: - - "Attached you'll find a fixed version of ModulInstall.cmake. - Hopefully it - works for old CMake-versions. I removed the offending line, and - the - compile went fine on my end." - -2010-07-31 08:56 robert - - * src/osgUtil/SmoothingVisitor.cpp: Added output of triangles at - problem vertices - -2010-07-30 19:39 robert - - * examples/osgtext3D/osgtext3D.cpp, - include/osgUtil/SmoothingVisitor, - src/osgUtil/SmoothingVisitor.cpp: Beginning of crease angle - support for SmoothingVisitor to all it duplicate vertices are - creases - thus enabling separate normals for triangles adjacent to the - creases. - -2010-07-30 16:06 robert - - * include/osgParticle/Emitter, include/osgParticle/ModularEmitter, - src/osgParticle/ModularEmitter.cpp: Changed emit() to - emitParticles() to avoid collision with Qt. - -2010-07-29 16:09 robert - - * src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgPlugins/osg/ReaderWriterOSG2.cpp: From Wang Rui, fixes to - handling of indentation. - -2010-07-26 11:12 robert - - * examples/osgtext3D/osgtext3D.cpp: Added bevel geometry - -2010-07-26 11:06 robert - - * examples/osgtext3D/osgtext3D.cpp: Clean up boudnary code - -2010-07-26 08:41 robert - - * src/osgWrappers/serializers/osgTerrain/TerrainTile.cpp: Added a - os< 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 - * CMakeLists.txt, include/osg/Version: Updated version number for - next dev release -2010-06-21 10:19 robert +Wed, 25 Jun 2014 16:05:56 +0000 +Checked in by : Robert Osfield +From Riccardo Corsi, "there's an inconsistency between the behavior of the method and the debug message it prints out on the console.Around line 1040 of Registry.cpp (see code below) the method returns +"simpleFileName" but prints about returning "filename". - * src/osgQt/CMakeLists.txt: 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." +In attachment the modified file, based on osg 3.2.0 +ricky -2010-06-18 16:07 robert - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS file for - 2.9.8 release + +if(fileExists(simpleFileName)) +{ + OSG_DEBUG << "FindFileInPath(" << filename << "): returning " << +filename << std::endl; + return simpleFileName; +} + +" -2010-06-18 15:48 robert - * src/osgViewer/View.cpp: From Laurens Voerman, "While reading the - code for setUpViewFor3DSphericalDisplay I noticed that the top - face of the cube map uses Draw/Read buffer GL_BACK, while all - other faces are using the GL_FRONT buffer. This because the - buffer variable is hidden by a new buffer at lower scope. - Removing the local variable tested (win32 and linux64) and works - fine." +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14285 16af8721-9629-0410-8352-f15c8da7e697 -2010-06-18 15:46 robert - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Updated - AUTHORS +Wed, 25 Jun 2014 15:55:21 +0000 +Checked in by : Robert Osfield +From Auelien Albert, "I'm working on an application which use 3ds file format as input and use the name of the material to "map" specific data with 3d geometry.The osg 3ds plugin modify the exported materials name in the same way it modifies the node names. -2010-06-18 15:16 robert +I've added an option to preserve originals materials names, with the assurance of unique material names are preserved." - * ChangeLog: Updated ChangeLog -2010-06-18 14:53 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14283 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp: Added checks against windows - being realized before doing warp pointer -2010-06-18 09:48 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 - * src/osgDB/DatabasePager.cpp: #if 0'd out debugging timing code - for detecting deadlocks -2010-06-18 09:07 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 - * src/osgPlugins/osg/ReaderWriterOSG2.cpp, - src/osgTerrain/Terrain.cpp: Build fixes for when - OSG_USE_REF_PTR_IMPLICIT_OUTPUT is set to OFF -2010-06-17 15:23 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. - * src/osgGA/FirstPersonManipulator.cpp, - src/osgGA/OrbitManipulator.cpp: Fixed warnings -2010-06-17 14:36 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14277 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgcluster/osgcluster.cpp: From Nguyen Van Truong, - introduced the use of the ScratchPad when distributing the master - killed message -2010-06-17 14:28 robert +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 - * examples/osgcluster/osgcluster.cpp: From Nguyen Van Truong, fix - for passing of events to slaves -2010-06-17 14:18 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 - * examples/osgcluster/osgcluster.cpp: Added event handling +I added enviroment variable OSG_GL_TEXTURE_STORAGE_ENABLE to control usage of glTexStorage2d. Initially it is disabled. -2010-06-17 11:07 robert +It used only if image have mipmaps. - * src/osgGA/NodeTrackerManipulator.cpp: From Brad Christiansen, "I - tried building the latest (as of Sunday) SVN version of OSG using - Visual Studio 2010 and it failed due to a missing include. The - build completed successfully by adding #include to - nodeTrackerManipulator.cpp, which is attached." +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." -2010-06-17 11:03 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" - * src/osgDB/DynamicLibrary.cpp: From Farshid Lashkari, "I've made a - small modification to osgDB::DynamicLibrary so it can load UTF-8 - filenames on Windows." -2010-06-17 11:01 robert - * src/osgPlugins/Inventor/ConvertFromInventor.cpp: From Jim - Vaughan, "The attached file fixes a bug in the Inventor loader - that causes texture images to have r with a value of zero. - - The bug caused the image data to not get copied, size the size - was calculated to be zero. This caused crashes during rendering." +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14275 16af8721-9629-0410-8352-f15c8da7e697 -2010-06-16 16:49 robert - * applications/present3D/ReadShowFile.cpp: Fixed bug where - PropertyAdjustmentCallback was being added multiple times. - -2010-06-16 15:56 robert - - * include/osgGA/StandardManipulator: Changed the default behaviour - of computeHomePosition so that it uses the bounding sphere of the - model rather than computing the bounding box. - -2010-06-16 15:56 robert - - * src/osgGA/CameraManipulator.cpp: Added better handling of when - the bounding box computation fails to return a valid bounding - box. - -2010-06-16 15:54 robert - - * src/osgWrappers/introspection/osg/Vec3d.cpp, - src/osgWrappers/introspection/osgDB/DatabasePager.cpp, - src/osgWrappers/introspection/osgViewer/ViewerEventHandlers.cpp: - Updated wrappers - -2010-06-16 15:53 robert - - * src/osgDB/DatabasePager.cpp: Added reporting of possible deadlock - of paging thread - -2010-06-16 12:46 robert - - * src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Terrain.cpp: - Re-organized the access of the mutex in Terrain to avoid - deadlocks, and temporarily switched off the update of the - neightbouring tile boundaries within the - GeometryTechnique::generateGeometry method, again to avoid - deadlocks. - -2010-06-16 08:13 robert - - * include/osgDB/DatabasePager: Added timing code for helping detect - deadlocks in the paging threads - -2010-06-16 08:09 robert - - * src/osgDB/DatabasePager.cpp: Re-enabled call to - ShareStateManager. - -2010-06-15 13:57 robert - - * examples/CMakeLists.txt, examples/osgQtWidgets, - examples/osgQtWidgets/CMakeLists.txt, - examples/osgQtWidgets/osgQtWidgets.cpp, - include/osgQt/QGraphicsViewAdapter, include/osgQt/QWidgetImage, - include/osgViewer/ViewerEventHandlers, - src/osgQt/QGraphicsViewAdapter.cpp, src/osgQt/QWidgetImage.cpp, - src/osgViewer/ViewerEventHandlers.cpp: From Jean-Sebastien Guay, - "I've been working in the last few days - to get QWidgetImage to a point where it can fill a need we have: - to be - able to use Qt to make HUDs and to display widgets over / inside - an OSG - scene. - - --------------- - Current results - --------------- - I've attached what I have at this point. The modified - QWidgetImage + - QGraphicsViewAdapter classes can be rendered fullscreen (i.e. the - Qt - QGraphicsView's size follows the size of the OSG window) or on a - quad in - the scene as before. It will let events go through to OSG if no - widget - is under the mouse when they happen (useful when used as a HUD - with - transparent parts - a click-focus scheme could be added later - too). It - also supercedes Martin Scheffler's submission because it adds a - getter/setter for the QGraphicsViewAdapter's background color - (and the - user can set their widget to be transparent using - widget->setAttribute(Qt::WA_TranslucentBackground) themselves). - - The included osgQtBrowser example has been modified to serve as a - test - bed for these changes. It has lots more command line arguments - than - before, some of which can be removed eventually (once things are - tested). Note that it may be interesting to change its name or - split it - into two examples. Though if things go well, the specific - QWebViewImage - class can be removed completely and we can consolidate to using - QWidgetImage everywhere, and then a single example to demonstrate - it - would make more sense, albeit not named osgQtBrowser... You can - try this - path by using the --useWidgetImage --useBrowser command line - arguments - - this results in an equivalent setup to QWebViewImage, but using - QWidgetImage, and doesn't work completely yet for some unknown - reason, - see below. - - ---------------- - Remaining issues - ---------------- - There are a few issues left to fix, and for these I request the - community's assistance. They are not blockers for me, and with my - limited Qt experience I don't feel like I'm getting any closer to - fixing - them, so if someone else could pitch in and see what they can - find, it - would be appreciated. It would be really nice to get them fixed, - that - way we'd really have a first-class integration of Qt widgets in - an OSG - scene. The issues are noted in the osgQtBrowser.cpp source file, - but - here they are too: - - ------------------------------------------------------------------- - QWidgetImage still has some issues, some examples are: - - 1. Editing in the QTextEdit doesn't work. Also when started with - --useBrowser, editing in the search field on YouTube doesn't - work. But that same search field when using QWebViewImage - works... And editing in the text field in the pop-up getInteger - dialog works too. All these cases use QGraphicsViewAdapter - under the hood, so why do some work and others don't? - - a) osgQtBrowser --useWidgetImage [--fullscreen] (optional) - b) Try to click in the QTextEdit and type, or to select text - and drag-and-drop it somewhere else in the QTextEdit. These - don't work. - c) osgQtBrowser --useWidgetImage --sanityCheck - d) Try the operations in b), they all work. - e) osgQtBrowser --useWidgetImage --useBrowser [--fullscreen] - f) Try to click in the search field and type, it doesn't work. - g) osgQtBrowser - h) Try the operation in f), it works. - - 2. Operations on floating windows (--numFloatingWindows 1 or - more). - Moving by dragging the titlebar, clicking the close button, - resizing them, none of these work. I wonder if it's because the - OS manages those functions (they're functions of the window - decorations) so we need to do something special for that? But - in --sanityCheck mode they work. - - a) osgQtBrowser --useWidgetImage --numFloatingWindows 1 - [--fullscreen] - b) Try to drag the floating window, click the close button, or - drag its sides to resize it. None of these work. - c) osgQtBrowser --useWidgetImage --numFloatingWindows 1 - --sanityCheck - d) Try the operations in b), all they work. - e) osgQtBrowser --useWidgetImage [--fullscreen] - f) Click the button so that the getInteger() dialog is - displayed, then try to move that dialog or close it with the - close button, these don't work. - g) osgQtBrowser --useWidgetImage --sanityCheck - h) Try the operation in f), it works. - - 3. (Minor) The QGraphicsView's scrollbars don't appear when - using QWidgetImage or QWebViewImage. QGraphicsView is a - QAbstractScrollArea and it should display scrollbars as soon as - the scene is too large to fit the view. - - a) osgQtBrowser --useWidgetImage --fullscreen - b) Resize the OSG window so it's smaller than the QTextEdit. - Scrollbars should appear but don't. - c) osgQtBrowser --useWidgetImage --sanityCheck - d) Try the operation in b), scrollbars appear. Even if you have - floating windows (by clicking the button or by adding - --numFloatingWindows 1) and move them outside the view, - scrollbars appear too. You can't test that case in OSG for - now because of problem 2 above, but that's pretty cool. - - 4. (Minor) In sanity check mode, the widget added to the - QGraphicsView is centered. With QGraphicsViewAdapter, it is not. - - a) osgQtBrowser --useWidgetImage [--fullscreen] - b) The QTextEdit and button are not in the center of the image - generated by the QGraphicsViewAdapter. - c) osgQtBrowser --useWidgetImage --sanityCheck - d) The QTextEdit and button are in the center of the - QGraphicsView. - ------------------------------------------------------------------- - - As you can see I've put specific repro steps there too, so it's - clear - what I mean by a given problem. The --sanityCheck mode is useful - to see - what should happen in a "normal" Qt app that demonstrates the - same - situation, so hopefully we can get to a point where it behaves - the same - with --sanityCheck and without." - -2010-06-15 10:02 robert - - * include/osgDB/InputStream, src/osgDB/InputStream.cpp: From Cedric - Pinson, "Here a fix about a leak in InputStream::decompress - - I changed - _in->setStream( new std::stringstream(data) ); - to - _dataDecompress = new std::stringstream(data); - _in->setStream( _dataDecompress ); - - Then when the destructor is of InputStream is called I delete the - dataDecompress stringstream. - " - -2010-06-15 09:14 robert - - * CMakeModules/FindFBX.cmake, src/osgPlugins/fbx/CMakeLists.txt: - From Michael Platings, "Hi Bob, thanks for the CMake fixes. I'm - not sure what the purpose of the capitalisation changes was so - I've reverted that (a) to make diff-ing easier and (b) because - all-caps is consistent with all the other OSG CMake files. Aside - from that the changes seem fine. - I don't understand the changes to ReaderWriterFBX.cpp - (i) - strings.h isn't a standard header, (ii) the ISO-conformant form - is _strnicmp (with the underscore). Does the existing code not - compile for you? If not we'll have to do some #ifdef nastiness." - -2010-06-15 09:09 mplatings - - * src/osgPlugins/fbx/ReaderWriterFBX.cpp: Changed _strnicmp to - strncasecmp for non-Windows builds - -2010-06-14 16:41 robert - - * src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/Inventor/ConvertFromInventor.h: From Tan Dunning - and Jan Peciva, Jan's email : "I created a new submission, based - on Tan's two changes, including further naming functionality that - includes: - - geode and geometry naming - - shaders and osg::Program name - - as these nodes did not receive names before. Some code cleaning - included as well." - -2010-06-14 16:30 robert - - * examples/osgspheresegment/osgspheresegment.cpp: From Luc - Frauciel, added extra test case accessible via -t 7. - -2010-06-14 16:27 robert - - * src/osgSim/SphereSegment.cpp: Introduced the use of atan2 in - place of asin/acos for reliability and simplicity - -2010-06-14 15:58 robert - - * src/osgDB/Registry.cpp: From Laurens Voerman, "while debugging a - file loader I noticed a missed check here." - -2010-06-14 15:28 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Jean-Sebastien Guay, - "Currently, if a GraphicsWindowWin32 is created with - traits->useCursor = false, it still shows the cursor. An app must - call gw->useCursor(false) after having created the context as a - workaround, but I think what we ask for in the traits should be - honored... Attached is a simple fix for this. - - I have no idea when this stopped working. It worked before in our - 2.6.0-based apps but after the upgrade to 2.8.3 it doesn't - anymore. - " - -2010-06-14 15:25 robert - - * examples/osgviewerMFC/MFC_OSG.cpp: From Wang Rui, "For a long - time, the osgviewerMFC example uses addSlave() to setup the - graphics context and link it with a slave camera. I don't know - the - reason we perform like that, which will cause a problem that the - GUIEventHandler may not obtain correct window coordinates because - the - main camera will use a default input range to receive events from - the - slave camera's graphics context. It is also weird to see the - addSlave() used in non-cluster applications, which beginners will - be - confused with. - - I've make a slightly modification to the osgviewerMFC example to - make - it work without setting slave cameras. I've tested with the MDI - framework and everything seems fine." - -2010-06-14 15:22 robert - - * src/osgUtil/IncrementalCompileOperation.cpp: From Stephan Huber, - "the IncrementalCompileOperation-class throws away compiled - compile-sets, - when no compileCompletedCallback is set. Attached you'll find a - simple - fix for this bug." - -2010-06-14 15:21 robert - - * src/osg/Program.cpp: From Jan Peciva, change information about - failed shader compilation/linking/validation to OSG_WARN. - -2010-06-14 15:20 robert - - * include/osg/BlendFunc, include/osg/Vec3d, - include/osgGA/OrbitManipulator, - include/osgGA/StandardManipulator, - src/osgGA/FirstPersonManipulator.cpp, - src/osgGA/FlightManipulator.cpp, src/osgGA/OrbitManipulator.cpp, - src/osgGA/StandardManipulator.cpp, - src/osgGA/TerrainManipulator.cpp: From Jan Peciva, additional - comments, and standarisation of throw and handling of mouse - wheel. - -2010-06-11 09:39 robert - - * src/osgWrappers/introspection/osgDB/DatabasePager.cpp: Updated - wrappers +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." -2010-06-09 15:05 robert - * src/osgPlugins/osg/AsciiStreamOperator.h: Removed debug messages +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14273 16af8721-9629-0410-8352-f15c8da7e697 -2010-06-09 13:54 robert - * src/osgPlugins/osg/AsciiStreamOperator.h: Fixed reading of - wrapped strings that contain multiple " within the string - -2010-06-09 13:09 cedricpinson - - * include/osgAnimation/Interpolator: From Michael Platings, The - attached file fixes 2 issues: - 1) some time values were passed as floats, reducing accuracy. - 2) comparisons done between doubles and floats gave different - results so time < endtime evaluated to false the first time it - was checked (with doubles), and true the second time it was - checked (with time having been converted to a float). This - consequently resulted in an array-out-of-bounds crash - -2010-06-09 13:08 cedricpinson - - * src/osgAnimation/Animation.cpp: From Michael Platings - I attach a simple fix that makes osgAnimation animations loop - correctly when their duration is different from the original - duration. - -2010-06-09 11:24 robert - - * src/osgPlugins/osg/ReaderWriterOSG.cpp: Added missing - loadWrappers - -2010-06-09 10:01 robert - - * include/osgDB/Serializer: From Wang Rui, "Henry and Brendan just - found a small bug of the ListSerializer which - will cause the writing of osg::Switch incorrectly. The original - thread - was posted on osg-users. I would like to follow the suggestion of - Brendan and add a std::endl before the END_BRACKET in - ListSerializer::write(). - " - -2010-06-09 09:12 mplatings - - * src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.h, - src/osgPlugins/fbx/fbxRMesh.cpp: From Alessandro Terenzi: - previously the plugin ignored UV scaling values eventually stored - in the FBX file, now they are read and set for each supported - texture map (not considering reflection maps). - - From Michael Platings: fixed UVs for files that don't explicitly - reference the name of a UV channel. - -2010-06-08 17:32 mplatings - - * src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/ReaderWriterFBX.h, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.h, - src/osgPlugins/fbx/fbxRAnimation.cpp, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRNode.cpp, - src/osgPlugins/fbx/fbxReader.h: Added support for Euler angles - and step/linear/cubic-bezier interpolation. - -2010-06-08 11:53 robert - - * src/osgPlugins/osg/ReaderWriterOSG2.cpp: Added ref_ptr<> to avoid - memory leak - -2010-06-07 17:08 robert - - * src/osgDB/DatabasePager.cpp: Added insertion of children found by - the CountPagedLODsVisitor into the childrenRemoved list to make - sure that they are caught - and then removed correctly from the PagedLODLists. +Wed, 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 -2010-06-07 15:25 mplatings - * src/osgPlugins/fbx/fbxRNode.cpp: Added more NURBS types to - triangulate. +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 -2010-06-07 11:28 robert - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Added - size() and swap() methods to provide a thread safe way to keep - track of size of a RequestQueue/ReadQueue. +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 -2010-06-07 09:05 robert - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Added - removeNodes method to prune any nodes that are going to be - deleted from the PagedLODLists. +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 -2010-06-07 08:36 shuber - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project +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 -2010-06-04 19:50 mplatings - * src/osgPlugins/fbx/CMakeLists.txt, - src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/ReaderWriterFBX.h, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.h, - src/osgPlugins/fbx/fbxRAnimation.cpp, - src/osgPlugins/fbx/fbxRAnimation.h, - src/osgPlugins/fbx/fbxRCamera.cpp, - src/osgPlugins/fbx/fbxRCamera.h, - src/osgPlugins/fbx/fbxRLight.cpp, src/osgPlugins/fbx/fbxRLight.h, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRMesh.h, - src/osgPlugins/fbx/fbxRNode.cpp, src/osgPlugins/fbx/fbxRNode.h, - src/osgPlugins/fbx/fbxReader.h: From Alessandro Terenzi: - modifications for supporting opacity, reflective and emissive - maps beyond the already supported diffuse map in the FBX plugin. - A problem with transparency has also been fixed: objects were - transparent wrt themselves but were opaque wrt to other objects. - Finally I added the support for "mixing factors" of diffuse, - reflective and opacity textures/values. - - From Michael Platings: added "LightmapTextures" plugin option - that changes the way textures are interpreted so Alessandro's - models appear correctly. Also refactored to put many functions in - one class to avoid passing around too many arguments to - functions. - -2010-06-04 11:04 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project - -2010-06-03 16:24 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Fixed - double registeration bug. - -2010-06-03 16:02 robert - - * src/osgDB/DatabasePager.cpp, src/osgPlugins/vrml/LICENSE.txt, - src/osgViewer/DarwinUtils.h, src/osgViewer/DarwinUtils.mm, - src/osgViewer/GraphicsWindowCocoa.mm, - src/osgViewer/PixelBufferCocoa.mm: Fixed permissions - -2010-06-03 16:01 robert - - * src/OpenThreads/sproc/SharedArena.c++, - src/OpenThreads/sproc/SharedArena.h, - src/OpenThreads/sproc/SprocBarrier.c++, - src/OpenThreads/sproc/SprocBarrierPrivateData.h, - src/OpenThreads/sproc/SprocCondition.c++, - src/OpenThreads/sproc/SprocConditionPrivateData.h, - src/OpenThreads/sproc/SprocMutex.c++, - src/OpenThreads/sproc/SprocMutexPrivateData.h, - src/OpenThreads/sproc/SprocThread.c++, - src/OpenThreads/sproc/SprocThreadPrivateActions.h, - src/OpenThreads/sproc/SprocThreadPrivateData.h: Fixed permissions - -2010-06-03 16:00 robert - - * src/OpenThreads/pthreads/GNUmakefile, - src/OpenThreads/sproc/GNUmakefile, - src/OpenThreads/win32/GNUmakefile, - src/OpenThreads/win32/OpenThreads.dsp, - src/OpenThreads/win32/OpenThreads.dsw: Removed redundent - makefiles - -2010-06-03 15:09 robert - - * src/osgShadow/SoftShadowMap.cpp: Fixed permissions - -2010-06-03 15:07 robert - - * include/osgViewer/api/Cocoa/GraphicsWindowCocoa, - include/osgViewer/api/Cocoa/PixelBufferCocoa: Fixed permissions - -2010-06-03 15:04 robert - - * examples/osgpointsprite/osgpointsprite.cpp: Fixed permissions - -2010-06-03 14:14 robert - - * examples/osgmultiviewpaging/osgmultiviewpaging.cpp, - include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: - Refactored the PagedLODList implementation so that it's now done - via a base class that enables different implementations to be - easily tried. Initial concrete PagedLODList is the - SetBasedPagedLODList. - -2010-06-02 18:09 robert - - * include/osgQt/QWebViewImage: Added #include - -2010-06-02 15:07 robert - - * src/osg/FrameBufferObject.cpp: Added check for presence of - extension. - -2010-06-02 13:29 robert - - * src/osg/FrameBufferObject.cpp: Removed glFramebufferTexture from - list of required extension function - -2010-06-02 12:14 robert - - * src/osgWrappers/introspection/OpenThreads/Atomic.cpp, - src/osgWrappers/introspection/OpenThreads/Barrier.cpp, - src/osgWrappers/introspection/OpenThreads/Block.cpp, - src/osgWrappers/introspection/OpenThreads/Condition.cpp, - src/osgWrappers/introspection/OpenThreads/Mutex.cpp, - src/osgWrappers/introspection/OpenThreads/ReadWriteMutex.cpp, - src/osgWrappers/introspection/OpenThreads/ReentrantMutex.cpp, - src/osgWrappers/introspection/OpenThreads/Thread.cpp, - src/osgWrappers/introspection/genwrapper.conf, - src/osgWrappers/introspection/osg/AlphaFunc.cpp, - src/osgWrappers/introspection/osg/AnimationPath.cpp, - src/osgWrappers/introspection/osg/ApplicationUsage.cpp, - src/osgWrappers/introspection/osg/ArgumentParser.cpp, - src/osgWrappers/introspection/osg/Array.cpp, - src/osgWrappers/introspection/osg/ArrayDispatchers.cpp, - src/osgWrappers/introspection/osg/AudioStream.cpp, - src/osgWrappers/introspection/osg/AutoTransform.cpp, - src/osgWrappers/introspection/osg/Billboard.cpp, - src/osgWrappers/introspection/osg/BlendColor.cpp, - src/osgWrappers/introspection/osg/BlendEquation.cpp, - src/osgWrappers/introspection/osg/BlendFunc.cpp, - src/osgWrappers/introspection/osg/BufferObject.cpp, - src/osgWrappers/introspection/osg/Camera.cpp, - src/osgWrappers/introspection/osg/CameraNode.cpp, - src/osgWrappers/introspection/osg/CameraView.cpp, - src/osgWrappers/introspection/osg/ClampColor.cpp, - src/osgWrappers/introspection/osg/ClearNode.cpp, - src/osgWrappers/introspection/osg/ClipNode.cpp, - src/osgWrappers/introspection/osg/ClipPlane.cpp, - src/osgWrappers/introspection/osg/ClusterCullingCallback.cpp, - src/osgWrappers/introspection/osg/CollectOccludersVisitor.cpp, - src/osgWrappers/introspection/osg/ColorMask.cpp, - src/osgWrappers/introspection/osg/ColorMatrix.cpp, - src/osgWrappers/introspection/osg/ComputeBoundsVisitor.cpp, - src/osgWrappers/introspection/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/introspection/osg/ConvexPlanarPolygon.cpp, - src/osgWrappers/introspection/osg/CoordinateSystemNode.cpp, - src/osgWrappers/introspection/osg/CopyOp.cpp, - src/osgWrappers/introspection/osg/CullFace.cpp, - src/osgWrappers/introspection/osg/CullSettings.cpp, - src/osgWrappers/introspection/osg/CullStack.cpp, - src/osgWrappers/introspection/osg/CullingSet.cpp, - src/osgWrappers/introspection/osg/DeleteHandler.cpp, - src/osgWrappers/introspection/osg/Depth.cpp, - src/osgWrappers/introspection/osg/DisplaySettings.cpp, - src/osgWrappers/introspection/osg/DrawPixels.cpp, - src/osgWrappers/introspection/osg/Drawable.cpp, - src/osgWrappers/introspection/osg/Endian.cpp, - src/osgWrappers/introspection/osg/Fog.cpp, - src/osgWrappers/introspection/osg/FragmentProgram.cpp, - src/osgWrappers/introspection/osg/FrameBufferObject.cpp, - src/osgWrappers/introspection/osg/FrameStamp.cpp, - src/osgWrappers/introspection/osg/FrontFace.cpp, - src/osgWrappers/introspection/osg/GL2Extensions.cpp, - src/osgWrappers/introspection/osg/GLBeginEndAdapter.cpp, - src/osgWrappers/introspection/osg/Geode.cpp, - src/osgWrappers/introspection/osg/Geometry.cpp, - src/osgWrappers/introspection/osg/GraphicsContext.cpp, - src/osgWrappers/introspection/osg/GraphicsThread.cpp, - src/osgWrappers/introspection/osg/Group.cpp, - src/osgWrappers/introspection/osg/Hint.cpp, - src/osgWrappers/introspection/osg/Image.cpp, - src/osgWrappers/introspection/osg/ImageSequence.cpp, - src/osgWrappers/introspection/osg/ImageStream.cpp, - src/osgWrappers/introspection/osg/KdTree.cpp, - src/osgWrappers/introspection/osg/LOD.cpp, - src/osgWrappers/introspection/osg/Light.cpp, - src/osgWrappers/introspection/osg/LightModel.cpp, - src/osgWrappers/introspection/osg/LightSource.cpp, - src/osgWrappers/introspection/osg/LineSegment.cpp, - src/osgWrappers/introspection/osg/LineStipple.cpp, - src/osgWrappers/introspection/osg/LineWidth.cpp, - src/osgWrappers/introspection/osg/LogicOp.cpp, - src/osgWrappers/introspection/osg/Material.cpp, - src/osgWrappers/introspection/osg/Matrix.cpp, - src/osgWrappers/introspection/osg/MatrixTransform.cpp, - src/osgWrappers/introspection/osg/Matrixd.cpp, - src/osgWrappers/introspection/osg/Matrixf.cpp, - src/osgWrappers/introspection/osg/Multisample.cpp, - src/osgWrappers/introspection/osg/Node.cpp, - src/osgWrappers/introspection/osg/NodeCallback.cpp, - src/osgWrappers/introspection/osg/NodeTrackerCallback.cpp, - src/osgWrappers/introspection/osg/NodeVisitor.cpp, - src/osgWrappers/introspection/osg/Notify.cpp, - src/osgWrappers/introspection/osg/Object.cpp, - src/osgWrappers/introspection/osg/Observer.cpp, - src/osgWrappers/introspection/osg/ObserverNodePath.cpp, - src/osgWrappers/introspection/osg/OccluderNode.cpp, - src/osgWrappers/introspection/osg/OcclusionQueryNode.cpp, - src/osgWrappers/introspection/osg/OperationThread.cpp, - src/osgWrappers/introspection/osg/PagedLOD.cpp, - src/osgWrappers/introspection/osg/Point.cpp, - src/osgWrappers/introspection/osg/PointSprite.cpp, - src/osgWrappers/introspection/osg/PolygonMode.cpp, - src/osgWrappers/introspection/osg/PolygonOffset.cpp, - src/osgWrappers/introspection/osg/PolygonStipple.cpp, - src/osgWrappers/introspection/osg/Polytope.cpp, - src/osgWrappers/introspection/osg/PositionAttitudeTransform.cpp, - src/osgWrappers/introspection/osg/PrimitiveSet.cpp, - src/osgWrappers/introspection/osg/Program.cpp, - src/osgWrappers/introspection/osg/Projection.cpp, - src/osgWrappers/introspection/osg/ProxyNode.cpp, - src/osgWrappers/introspection/osg/Referenced.cpp, - src/osgWrappers/introspection/osg/RenderInfo.cpp, - src/osgWrappers/introspection/osg/Scissor.cpp, - src/osgWrappers/introspection/osg/Sequence.cpp, - src/osgWrappers/introspection/osg/ShadeModel.cpp, - src/osgWrappers/introspection/osg/Shader.cpp, - src/osgWrappers/introspection/osg/ShadowVolumeOccluder.cpp, - src/osgWrappers/introspection/osg/Shape.cpp, - src/osgWrappers/introspection/osg/ShapeDrawable.cpp, - src/osgWrappers/introspection/osg/State.cpp, - src/osgWrappers/introspection/osg/StateAttribute.cpp, - src/osgWrappers/introspection/osg/StateAttributeCallback.cpp, - src/osgWrappers/introspection/osg/StateSet.cpp, - src/osgWrappers/introspection/osg/Stats.cpp, - src/osgWrappers/introspection/osg/Stencil.cpp, - src/osgWrappers/introspection/osg/StencilTwoSided.cpp, - src/osgWrappers/introspection/osg/Switch.cpp, - src/osgWrappers/introspection/osg/TexEnv.cpp, - src/osgWrappers/introspection/osg/TexEnvCombine.cpp, - src/osgWrappers/introspection/osg/TexEnvFilter.cpp, - src/osgWrappers/introspection/osg/TexGen.cpp, - src/osgWrappers/introspection/osg/TexGenNode.cpp, - src/osgWrappers/introspection/osg/TexMat.cpp, - src/osgWrappers/introspection/osg/Texture.cpp, - src/osgWrappers/introspection/osg/Texture1D.cpp, - src/osgWrappers/introspection/osg/Texture2D.cpp, - src/osgWrappers/introspection/osg/Texture2DArray.cpp, - src/osgWrappers/introspection/osg/Texture3D.cpp, - src/osgWrappers/introspection/osg/TextureCubeMap.cpp, - src/osgWrappers/introspection/osg/TextureRectangle.cpp, - src/osgWrappers/introspection/osg/Timer.cpp, - src/osgWrappers/introspection/osg/TransferFunction.cpp, - src/osgWrappers/introspection/osg/Transform.cpp, - src/osgWrappers/introspection/osg/Uniform.cpp, - src/osgWrappers/introspection/osg/Vec2.cpp, - src/osgWrappers/introspection/osg/Vec2s.cpp, - src/osgWrappers/introspection/osg/Vec3.cpp, - src/osgWrappers/introspection/osg/Vec3s.cpp, - src/osgWrappers/introspection/osg/Vec4.cpp, - src/osgWrappers/introspection/osg/Vec4s.cpp, - src/osgWrappers/introspection/osg/VertexProgram.cpp, - src/osgWrappers/introspection/osg/View.cpp, - src/osgWrappers/introspection/osg/Viewport.cpp, - src/osgWrappers/introspection/osgAnimation/Action.cpp, - src/osgWrappers/introspection/osgAnimation/ActionAnimation.cpp, - src/osgWrappers/introspection/osgAnimation/ActionBlendIn.cpp, - src/osgWrappers/introspection/osgAnimation/ActionBlendOut.cpp, - src/osgWrappers/introspection/osgAnimation/ActionCallback.cpp, - src/osgWrappers/introspection/osgAnimation/ActionStripAnimation.cpp, - src/osgWrappers/introspection/osgAnimation/ActionVisitor.cpp, - src/osgWrappers/introspection/osgAnimation/Animation.cpp, - src/osgWrappers/introspection/osgAnimation/AnimationManagerBase.cpp, - src/osgWrappers/introspection/osgAnimation/AnimationUpdateCallback.cpp, - src/osgWrappers/introspection/osgAnimation/BasicAnimationManager.cpp, - src/osgWrappers/introspection/osgAnimation/Bone.cpp, - src/osgWrappers/introspection/osgAnimation/BoneMapVisitor.cpp, - src/osgWrappers/introspection/osgAnimation/Channel.cpp, - src/osgWrappers/introspection/osgAnimation/CubicBezier.cpp, - src/osgWrappers/introspection/osgAnimation/EaseMotion.cpp, - src/osgWrappers/introspection/osgAnimation/FrameAction.cpp, - src/osgWrappers/introspection/osgAnimation/Interpolator.cpp, - src/osgWrappers/introspection/osgAnimation/Keyframe.cpp, - src/osgWrappers/introspection/osgAnimation/LinkVisitor.cpp, - src/osgWrappers/introspection/osgAnimation/MorphGeometry.cpp, - src/osgWrappers/introspection/osgAnimation/RigGeometry.cpp, - src/osgWrappers/introspection/osgAnimation/RigTransform.cpp, - src/osgWrappers/introspection/osgAnimation/RigTransformHardware.cpp, - src/osgWrappers/introspection/osgAnimation/RigTransformSoftware.cpp, - src/osgWrappers/introspection/osgAnimation/Sampler.cpp, - src/osgWrappers/introspection/osgAnimation/Skeleton.cpp, - src/osgWrappers/introspection/osgAnimation/StackedMatrixElement.cpp, - src/osgWrappers/introspection/osgAnimation/StackedQuaternionElement.cpp, - src/osgWrappers/introspection/osgAnimation/StackedRotateAxisElement.cpp, - src/osgWrappers/introspection/osgAnimation/StackedScaleElement.cpp, - src/osgWrappers/introspection/osgAnimation/StackedTransform.cpp, - src/osgWrappers/introspection/osgAnimation/StackedTransformElement.cpp, - src/osgWrappers/introspection/osgAnimation/StackedTranslateElement.cpp, - src/osgWrappers/introspection/osgAnimation/StatsHandler.cpp, - src/osgWrappers/introspection/osgAnimation/StatsVisitor.cpp, - src/osgWrappers/introspection/osgAnimation/Target.cpp, - src/osgWrappers/introspection/osgAnimation/Timeline.cpp, - src/osgWrappers/introspection/osgAnimation/TimelineAnimationManager.cpp, - src/osgWrappers/introspection/osgAnimation/UpdateBone.cpp, - src/osgWrappers/introspection/osgAnimation/UpdateMaterial.cpp, - src/osgWrappers/introspection/osgAnimation/UpdateMatrixTransform.cpp, - src/osgWrappers/introspection/osgAnimation/Vec3Packed.cpp, - src/osgWrappers/introspection/osgAnimation/VertexInfluence.cpp, - src/osgWrappers/introspection/osgDB/Archive.cpp, - src/osgWrappers/introspection/osgDB/AuthenticationMap.cpp, - src/osgWrappers/introspection/osgDB/Callbacks.cpp, - src/osgWrappers/introspection/osgDB/DatabasePager.cpp, - src/osgWrappers/introspection/osgDB/DatabaseRevisions.cpp, - src/osgWrappers/introspection/osgDB/DotOsgWrapper.cpp, - src/osgWrappers/introspection/osgDB/DynamicLibrary.cpp, - src/osgWrappers/introspection/osgDB/FileCache.cpp, - src/osgWrappers/introspection/osgDB/FileUtils.cpp, - src/osgWrappers/introspection/osgDB/ImageOptions.cpp, - src/osgWrappers/introspection/osgDB/ImagePager.cpp, - src/osgWrappers/introspection/osgDB/Input.cpp, - src/osgWrappers/introspection/osgDB/ObjectWrapper.cpp, - src/osgWrappers/introspection/osgDB/Options.cpp, - src/osgWrappers/introspection/osgDB/Output.cpp, - src/osgWrappers/introspection/osgDB/ParameterOutput.cpp, - src/osgWrappers/introspection/osgDB/PluginQuery.cpp, - src/osgWrappers/introspection/osgDB/Registry.cpp, - src/osgWrappers/introspection/osgDB/SharedStateManager.cpp, - src/osgWrappers/introspection/osgDB/XmlParser.cpp, - src/osgWrappers/introspection/osgFX/AnisotropicLighting.cpp, - src/osgWrappers/introspection/osgFX/BumpMapping.cpp, - src/osgWrappers/introspection/osgFX/Cartoon.cpp, - src/osgWrappers/introspection/osgFX/Effect.cpp, - src/osgWrappers/introspection/osgFX/MultiTextureControl.cpp, - src/osgWrappers/introspection/osgFX/Outline.cpp, - src/osgWrappers/introspection/osgFX/Registry.cpp, - src/osgWrappers/introspection/osgFX/Scribe.cpp, - src/osgWrappers/introspection/osgFX/SpecularHighlights.cpp, - src/osgWrappers/introspection/osgFX/Technique.cpp, - src/osgWrappers/introspection/osgFX/Validator.cpp, - src/osgWrappers/introspection/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/introspection/osgGA/CameraManipulator.cpp, - src/osgWrappers/introspection/osgGA/CameraViewSwitchManipulator.cpp, - src/osgWrappers/introspection/osgGA/DriveManipulator.cpp, - src/osgWrappers/introspection/osgGA/EventQueue.cpp, - src/osgWrappers/introspection/osgGA/EventVisitor.cpp, - src/osgWrappers/introspection/osgGA/FlightManipulator.cpp, - src/osgWrappers/introspection/osgGA/GUIActionAdapter.cpp, - src/osgWrappers/introspection/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/introspection/osgGA/GUIEventHandler.cpp, - src/osgWrappers/introspection/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/introspection/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/introspection/osgGA/SphericalManipulator.cpp, - src/osgWrappers/introspection/osgGA/StateSetManipulator.cpp, - src/osgWrappers/introspection/osgGA/TerrainManipulator.cpp, - src/osgWrappers/introspection/osgGA/TrackballManipulator.cpp, - src/osgWrappers/introspection/osgGA/UFOManipulator.cpp, - src/osgWrappers/introspection/osgManipulator/AntiSquish.cpp, - src/osgWrappers/introspection/osgManipulator/Command.cpp, - src/osgWrappers/introspection/osgManipulator/CommandManager.cpp, - src/osgWrappers/introspection/osgManipulator/Constraint.cpp, - src/osgWrappers/introspection/osgManipulator/Dragger.cpp, - src/osgWrappers/introspection/osgManipulator/Projector.cpp, - src/osgWrappers/introspection/osgManipulator/RotateCylinderDragger.cpp, - src/osgWrappers/introspection/osgManipulator/RotateSphereDragger.cpp, - src/osgWrappers/introspection/osgManipulator/Scale1DDragger.cpp, - src/osgWrappers/introspection/osgManipulator/Scale2DDragger.cpp, - src/osgWrappers/introspection/osgManipulator/ScaleAxisDragger.cpp, - src/osgWrappers/introspection/osgManipulator/Selection.cpp, - src/osgWrappers/introspection/osgManipulator/TabBoxDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TabBoxTrackballDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TabPlaneDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TabPlaneTrackballDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TrackballDragger.cpp, - src/osgWrappers/introspection/osgManipulator/Translate1DDragger.cpp, - src/osgWrappers/introspection/osgManipulator/Translate2DDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TranslateAxisDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TranslatePlaneDragger.cpp, - src/osgWrappers/introspection/osgParticle/AccelOperator.cpp, - src/osgWrappers/introspection/osgParticle/AngularAccelOperator.cpp, - src/osgWrappers/introspection/osgParticle/BoxPlacer.cpp, - src/osgWrappers/introspection/osgParticle/CenteredPlacer.cpp, - src/osgWrappers/introspection/osgParticle/ConnectedParticleSystem.cpp, - src/osgWrappers/introspection/osgParticle/ConstantRateCounter.cpp, - src/osgWrappers/introspection/osgParticle/Counter.cpp, - src/osgWrappers/introspection/osgParticle/Emitter.cpp, - src/osgWrappers/introspection/osgParticle/ExplosionDebrisEffect.cpp, - src/osgWrappers/introspection/osgParticle/ExplosionEffect.cpp, - src/osgWrappers/introspection/osgParticle/FireEffect.cpp, - src/osgWrappers/introspection/osgParticle/ForceOperator.cpp, - src/osgWrappers/introspection/osgParticle/Interpolator.cpp, - src/osgWrappers/introspection/osgParticle/LinearInterpolator.cpp, - src/osgWrappers/introspection/osgParticle/ModularEmitter.cpp, - src/osgWrappers/introspection/osgParticle/ModularProgram.cpp, - src/osgWrappers/introspection/osgParticle/MultiSegmentPlacer.cpp, - src/osgWrappers/introspection/osgParticle/Operator.cpp, - src/osgWrappers/introspection/osgParticle/Particle.cpp, - src/osgWrappers/introspection/osgParticle/ParticleEffect.cpp, - src/osgWrappers/introspection/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/introspection/osgParticle/ParticleSystem.cpp, - src/osgWrappers/introspection/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/introspection/osgParticle/Placer.cpp, - src/osgWrappers/introspection/osgParticle/PointPlacer.cpp, - src/osgWrappers/introspection/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/introspection/osgParticle/Program.cpp, - src/osgWrappers/introspection/osgParticle/RadialShooter.cpp, - src/osgWrappers/introspection/osgParticle/RandomRateCounter.cpp, - src/osgWrappers/introspection/osgParticle/SectorPlacer.cpp, - src/osgWrappers/introspection/osgParticle/SegmentPlacer.cpp, - src/osgWrappers/introspection/osgParticle/Shooter.cpp, - src/osgWrappers/introspection/osgParticle/SmokeEffect.cpp, - src/osgWrappers/introspection/osgParticle/SmokeTrailEffect.cpp, - src/osgWrappers/introspection/osgParticle/VariableRateCounter.cpp, - src/osgWrappers/introspection/osgParticle/range.cpp, - src/osgWrappers/introspection/osgPresentation/AnimationMaterial.cpp, - src/osgWrappers/introspection/osgPresentation/CompileSlideCallback.cpp, - src/osgWrappers/introspection/osgPresentation/PickEventHandler.cpp, - src/osgWrappers/introspection/osgPresentation/SlideEventHandler.cpp, - src/osgWrappers/introspection/osgPresentation/SlideShowConstructor.cpp, - src/osgWrappers/introspection/osgShadow/ConvexPolyhedron.cpp, - src/osgWrappers/introspection/osgShadow/DebugShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/LightSpacePerspectiveShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/MinimalCullBoundsShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/MinimalDrawBoundsShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/MinimalShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/OccluderGeometry.cpp, - src/osgWrappers/introspection/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/ShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/ShadowTechnique.cpp, - src/osgWrappers/introspection/osgShadow/ShadowTexture.cpp, - src/osgWrappers/introspection/osgShadow/ShadowVolume.cpp, - src/osgWrappers/introspection/osgShadow/ShadowedScene.cpp, - src/osgWrappers/introspection/osgShadow/SoftShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/StandardShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/ViewDependentShadowTechnique.cpp, - src/osgWrappers/introspection/osgSim/BlinkSequence.cpp, - src/osgWrappers/introspection/osgSim/ColorRange.cpp, - src/osgWrappers/introspection/osgSim/DOFTransform.cpp, - src/osgWrappers/introspection/osgSim/ElevationSlice.cpp, - src/osgWrappers/introspection/osgSim/GeographicLocation.cpp, - src/osgWrappers/introspection/osgSim/HeightAboveTerrain.cpp, - src/osgWrappers/introspection/osgSim/Impostor.cpp, - src/osgWrappers/introspection/osgSim/ImpostorSprite.cpp, - src/osgWrappers/introspection/osgSim/InsertImpostorsVisitor.cpp, - src/osgWrappers/introspection/osgSim/LightPoint.cpp, - src/osgWrappers/introspection/osgSim/LightPointNode.cpp, - src/osgWrappers/introspection/osgSim/LightPointSystem.cpp, - src/osgWrappers/introspection/osgSim/LineOfSight.cpp, - src/osgWrappers/introspection/osgSim/MultiSwitch.cpp, - src/osgWrappers/introspection/osgSim/ObjectRecordData.cpp, - src/osgWrappers/introspection/osgSim/OverlayNode.cpp, - src/osgWrappers/introspection/osgSim/ScalarBar.cpp, - src/osgWrappers/introspection/osgSim/ScalarsToColors.cpp, - src/osgWrappers/introspection/osgSim/Sector.cpp, - src/osgWrappers/introspection/osgSim/ShapeAttribute.cpp, - src/osgWrappers/introspection/osgSim/SphereSegment.cpp, - src/osgWrappers/introspection/osgSim/VisibilityGroup.cpp, - src/osgWrappers/introspection/osgTerrain/Export.cpp, - src/osgWrappers/introspection/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/introspection/osgTerrain/Layer.cpp, - src/osgWrappers/introspection/osgTerrain/Locator.cpp, - src/osgWrappers/introspection/osgTerrain/Terrain.cpp, - src/osgWrappers/introspection/osgTerrain/TerrainTechnique.cpp, - src/osgWrappers/introspection/osgTerrain/TerrainTile.cpp, - src/osgWrappers/introspection/osgTerrain/ValidDataOperator.cpp, - src/osgWrappers/introspection/osgText/Export.cpp, - src/osgWrappers/introspection/osgText/FadeText.cpp, - src/osgWrappers/introspection/osgText/Font.cpp, - src/osgWrappers/introspection/osgText/Font3D.cpp, - src/osgWrappers/introspection/osgText/KerningType.cpp, - src/osgWrappers/introspection/osgText/String.cpp, - src/osgWrappers/introspection/osgText/Text.cpp, - src/osgWrappers/introspection/osgText/Text3D.cpp, - src/osgWrappers/introspection/osgText/TextBase.cpp, - src/osgWrappers/introspection/osgUtil/ConvertVec.cpp, - src/osgWrappers/introspection/osgUtil/CubeMapGenerator.cpp, - src/osgWrappers/introspection/osgUtil/CullVisitor.cpp, - src/osgWrappers/introspection/osgUtil/DelaunayTriangulator.cpp, - src/osgWrappers/introspection/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgWrappers/introspection/osgUtil/DrawElementTypeSimplifier.cpp, - src/osgWrappers/introspection/osgUtil/EdgeCollector.cpp, - src/osgWrappers/introspection/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/introspection/osgUtil/HalfWayMapGenerator.cpp, - src/osgWrappers/introspection/osgUtil/HighlightMapGenerator.cpp, - src/osgWrappers/introspection/osgUtil/IncrementalCompileOperation.cpp, - src/osgWrappers/introspection/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/introspection/osgUtil/IntersectionVisitor.cpp, - src/osgWrappers/introspection/osgUtil/LineSegmentIntersector.cpp, - src/osgWrappers/introspection/osgUtil/OperationArrayFunctor.cpp, - src/osgWrappers/introspection/osgUtil/Optimizer.cpp, - src/osgWrappers/introspection/osgUtil/PlaneIntersector.cpp, - src/osgWrappers/introspection/osgUtil/PolytopeIntersector.cpp, - src/osgWrappers/introspection/osgUtil/PositionalStateContainer.cpp, - src/osgWrappers/introspection/osgUtil/ReflectionMapGenerator.cpp, - src/osgWrappers/introspection/osgUtil/RenderBin.cpp, - src/osgWrappers/introspection/osgUtil/RenderStage.cpp, - src/osgWrappers/introspection/osgUtil/ReversePrimitiveFunctor.cpp, - src/osgWrappers/introspection/osgUtil/SceneGraphBuilder.cpp, - src/osgWrappers/introspection/osgUtil/SceneView.cpp, - src/osgWrappers/introspection/osgUtil/ShaderGen.cpp, - src/osgWrappers/introspection/osgUtil/Simplifier.cpp, - src/osgWrappers/introspection/osgUtil/SmoothingVisitor.cpp, - src/osgWrappers/introspection/osgUtil/StateGraph.cpp, - src/osgWrappers/introspection/osgUtil/Statistics.cpp, - src/osgWrappers/introspection/osgUtil/TangentSpaceGenerator.cpp, - src/osgWrappers/introspection/osgUtil/Tessellator.cpp, - src/osgWrappers/introspection/osgUtil/TransformAttributeFunctor.cpp, - src/osgWrappers/introspection/osgUtil/TransformCallback.cpp, - src/osgWrappers/introspection/osgUtil/TriStripVisitor.cpp, - src/osgWrappers/introspection/osgUtil/UpdateVisitor.cpp, - src/osgWrappers/introspection/osgViewer/CompositeViewer.cpp, - src/osgWrappers/introspection/osgViewer/GraphicsWindow.cpp, - src/osgWrappers/introspection/osgViewer/Renderer.cpp, - src/osgWrappers/introspection/osgViewer/Scene.cpp, - src/osgWrappers/introspection/osgViewer/View.cpp, - src/osgWrappers/introspection/osgViewer/Viewer.cpp, - src/osgWrappers/introspection/osgViewer/ViewerEventHandlers.cpp, - src/osgWrappers/introspection/osgViewer/api/Carbon/GraphicsHandleCarbon.cpp, - src/osgWrappers/introspection/osgViewer/api/Cocoa/GraphicsHandleCocoa.cpp, - src/osgWrappers/introspection/osgViewer/api/Win32/GraphicsHandleWin32.cpp, - src/osgWrappers/introspection/osgViewer/api/Win32/PixelBufferWin32.cpp, - src/osgWrappers/introspection/osgViewer/api/X11/GraphicsHandleX11.cpp, - src/osgWrappers/introspection/osgViewer/api/X11/PixelBufferX11.cpp, - src/osgWrappers/introspection/osgVolume/Export.cpp, - src/osgWrappers/introspection/osgVolume/FixedFunctionTechnique.cpp, - src/osgWrappers/introspection/osgVolume/Layer.cpp, - src/osgWrappers/introspection/osgVolume/Locator.cpp, - src/osgWrappers/introspection/osgVolume/Property.cpp, - src/osgWrappers/introspection/osgVolume/RayTracedTechnique.cpp, - src/osgWrappers/introspection/osgVolume/Volume.cpp, - src/osgWrappers/introspection/osgVolume/VolumeTechnique.cpp, - src/osgWrappers/introspection/osgVolume/VolumeTile.cpp, - src/osgWrappers/introspection/osgWidget/Box.cpp, - src/osgWrappers/introspection/osgWidget/Browser.cpp, - src/osgWrappers/introspection/osgWidget/Canvas.cpp, - src/osgWrappers/introspection/osgWidget/EventInterface.cpp, - src/osgWrappers/introspection/osgWidget/Frame.cpp, - src/osgWrappers/introspection/osgWidget/Input.cpp, - src/osgWrappers/introspection/osgWidget/Label.cpp, - src/osgWrappers/introspection/osgWidget/Lua.cpp, - src/osgWrappers/introspection/osgWidget/PdfReader.cpp, - src/osgWrappers/introspection/osgWidget/Python.cpp, - src/osgWrappers/introspection/osgWidget/ScriptEngine.cpp, - src/osgWrappers/introspection/osgWidget/StyleInterface.cpp, - src/osgWrappers/introspection/osgWidget/StyleManager.cpp, - src/osgWrappers/introspection/osgWidget/Table.cpp, - src/osgWrappers/introspection/osgWidget/Types.cpp, - src/osgWrappers/introspection/osgWidget/ViewerEventHandlers.cpp, - src/osgWrappers/introspection/osgWidget/VncClient.cpp, - src/osgWrappers/introspection/osgWidget/Widget.cpp, - src/osgWrappers/introspection/osgWidget/Window.cpp, - src/osgWrappers/introspection/osgWidget/WindowManager.cpp: - Updated wrappers to handle the new - ref_ptr::ref_ptr(observer_ptr&> constructor. - -2010-06-01 18:20 robert - - * include/osg/FrameBufferObject, src/osg/FrameBufferObject.cpp: - Changed types from unsigned int to int's to address warnings, and - changed the extension requirements so the GLES2 builds with FBO's - where supported - -2010-06-01 15:20 robert - - * src/osgAnimation/MorphGeometry.cpp: From Michael Platings, - "MorphGeometry fix: this fixes a crash found by Alessandro - Terenzi" - -2010-06-01 14:12 robert - - * include/osg/Camera, include/osg/FrameBufferObject, - src/osg/Camera.cpp, src/osg/FrameBufferObject.cpp: From Frederic - Bouvier, "here is my proposal. It is supposed to be used like - this : - - osg::Camera* c = createCamera(); - c->attach( osg::Camera::COLOR_BUFFER0, texture3d, 0, - osg::Camera::FACE_CONTROLLED_BY_GEOMETRY_SHADER ); - - it works also for cubemap textures and 2d texture arrays - " - -2010-06-01 13:33 robert - - * include/osg/State, src/osg/State.cpp, src/osgText/Text3D.cpp: - From Michael Platings, introduced - osg::State::applyModelViewMaitrx(const osg::Matrix& matrix) - method and associated osg::State::_modelViewCache to enable - osgText::Text3D to be refactored in away that avoids - creating/destroying matrices - -2010-06-01 13:32 robert - - * include/osgQt/Export, include/osgQt/QGraphicsViewAdapter, - include/osgQt/QWebViewImage, include/osgQt/QWidgetImage: Added - newline to fix warnings - -2010-06-01 11:51 robert - - * src/osgPlugins/rgb/ReaderWriterRGB.cpp: From Mathias Froehlich, - "While tracking some valgrind problems in flightgear, I found a - remaining off by - one error in the rgb loader. - - Previously we limited the current line to the image with + 1. - With that change - it is correctly limited to the width of the image. - Also flightgear seems to run nice with that change. - " - -2010-06-01 11:28 robert - - * include/osg/ref_ptr, src/osgDB/DatabasePager.cpp: From Tim Moore, - "This is a patch that allows a ref_ptr to be constructed using an - observer_ptr argument, which is locked. This is shorthand for - declaring the ref_ptr and then passing it to - observer_ptr::lock(). - - " +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 -2010-06-01 11:23 robert - * include/osgQt/QGraphicsViewAdapter: Removed unneccessary QWebKit - includes +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 -2010-06-01 09:23 robert +Here is a fix, using "std::streampos" standard type for stream positions up to 64bits. +" - * include/osg/Notify: From Wang Rui, "The Notify header doesn't - include the OSG_ALWAYS macro, which is used - in the quicktime plugin. The file attached is to fix that small - problem." -2010-06-01 09:21 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14261 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/Observer, include/osg/RenderInfo: From Tim Moore, - fixed typo and removed redundent include -2010-05-31 17:16 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 - * src/osgWrappers/introspection/osg/Fog.cpp: Updated wrappers -2010-05-31 16:53 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 - * include/osg/Fog, src/osg/Fog.cpp, - src/osgWrappers/serializers/osg/Fog.cpp: From Torben Dannhauer, - "I added radial fog functionality be using the OpenGL extension - 'GL_NV_fog_distance'." -2010-05-31 15:52 robert +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 - * src/osgGA/EventQueue.cpp: From Xin Li, "use std::list::splice to - replace std::list::insert and std::list::clear - - it may use the constant time to move all the items in the - '_eventQueue' to 'events', and reduce the mutex holding time" -2010-05-31 15:51 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 - * examples/osggpx/osggpx.cpp: Added support for a wider range of - gpx files -2010-05-28 17:17 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 - * include/osg/Notify: Added OSG_DEBUG_DP macro -2010-05-28 17:17 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 - * src/osgPlugins/pdf/ReaderWriterPDF.cpp: Converted osg::notify to - OSG_INFO etc. -2010-05-28 17:16 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14252 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/imageio/ReaderWriterImageIO.cpp: Converted - osg::notify to OSG_INFO etc. -2010-05-28 17:15 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 - * src/osgPlugins/gdal/DataSetLayer.cpp, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp: Converted osg::notify - to OSG_INFO etc. -2010-05-28 17:14 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 - * src/osgPlugins/txf/TXFFont.cpp: Converted osg::notify to OSG_INFO - etc. -2010-05-28 17:14 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 - * src/osgPlugins/bmp/ReaderWriterBMP.cpp: Converted osg::notify to - OSG_INFO etc. -2010-05-28 17:14 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 - * src/osgPlugins/mdl/MDLReader.cpp, - src/osgPlugins/mdl/VTXReader.cpp, - src/osgPlugins/mdl/VVDReader.cpp: Converted osg::notify to - OSG_INFO etc. -2010-05-28 17:13 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 - * src/osgPlugins/zip/ReaderWriterZIP.cpp: Converted osg::notify to - OSG_INFO etc. -2010-05-28 17:13 robert - * src/osgPlugins/xine/ReaderWriterXine.cpp: Converted osg::notify - to OSG_INFO etc. -2010-05-28 17:12 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14247 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/x/ReaderWriterDirectX.cpp, - src/osgPlugins/x/directx.cpp, src/osgPlugins/x/mesh.cpp: - Converted osg::notify to OSG_INFO etc. -2010-05-28 17:12 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 - * src/osgPlugins/vtf/ReaderWriterVTF.cpp: Converted osg::notify to - OSG_INFO etc. -2010-05-28 17:11 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 - * src/osgPlugins/vnc/ReaderWriterVNC.cpp: Converted osg::notify to - OSG_INFO etc. -2010-05-28 17:11 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 - * src/osgPlugins/view/ReaderWriterOsgViewer.cpp: Converted - osg::notify to OSG_INFO etc. -2010-05-28 17:10 robert +Wed, 4 Jun 2014 08:59:31 +0000 +Checked in by : Robert Osfield +Updated shaders from OpenSceneGraph-Data sources - * src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/txp/TXPNode.cpp, src/osgPlugins/txp/TXPParser.cpp: - Converted osg::notify to OSG_INFO etc. +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. -2010-05-28 17:10 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 - * src/osgPlugins/trans/ReaderWriterTRANS.cpp: Converted osg::notify - to OSG_INFO etc. +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 -2010-05-28 17:10 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. - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: Converted osg::notify - to OSG_INFO etc. +Mon, 2 Jun 2014 08:13:39 +0000 +Checked in by : Robert Osfield +From Roni Zanolli, build fix for iPhone -2010-05-28 17:09 robert +Fri, 30 May 2014 16:44:36 +0000 +Checked in by : Robert Osfield +Implemented basic frame graphic - * src/osgPlugins/tgz/ReaderWriterTGZ.cpp: Converted osg::notify to - OSG_INFO etc. +Thu, 29 May 2014 15:21:42 +0000 +Checked in by : Robert Osfield +Futher work on ComboBox/Popup -2010-05-28 17:09 robert +Thu, 29 May 2014 10:51:26 +0000 +Checked in by : Robert Osfield +Added beginnings of ComboBox popup functionality. - * src/osgPlugins/terrain/ReaderWriterOsgTerrain.cpp: Converted - osg::notify to OSG_INFO etc. +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 -2010-05-28 17:08 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. - * src/osgPlugins/stl/ReaderWriterSTL.cpp: Converted osg::notify to - OSG_INFO etc. +Tue, 27 May 2014 14:14:51 +0000 +Checked in by : Robert Osfield +Improved handling of text -2010-05-28 17:08 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 - * src/osgPlugins/shp/ESRIShapeParser.cpp, - src/osgPlugins/shp/ESRIShapeReaderWriter.cpp, - src/osgPlugins/shp/XBaseParser.cpp: Converted osg::notify to - OSG_INFO etc. +Mon, 26 May 2014 16:27:33 +0000 +Checked in by : Robert Osfield +Implemented Widger::Visible and Enabled usage -2010-05-28 17:07 robert +Mon, 26 May 2014 16:15:33 +0000 +Checked in by : Robert Osfield +Added Visible and Enalbed properties to Widget - * src/osgPlugins/shadow/ReaderWriterOsgShadow.cpp: Converted - osg::notify to OSG_INFO etc. +Mon, 26 May 2014 16:15:12 +0000 +Checked in by : Robert Osfield +Fixed missing initilaizer -2010-05-28 17:07 robert +Mon, 26 May 2014 15:58:18 +0000 +Checked in by : Robert Osfield +Added item serializer - * src/osgPlugins/scale/ReaderWriterSCALE.cpp: Converted osg::notify - to OSG_INFO etc. +Fri, 23 May 2014 18:59:16 +0000 +Checked in by : Robert Osfield +Implemented clipping of widget to the widgets extents. -2010-05-28 17:07 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 - * src/osgPlugins/rot/ReaderWriterROT.cpp: Converted osg::notify to - OSG_INFO etc. +Fri, 23 May 2014 15:00:09 +0000 +Checked in by : Robert Osfield +Added wrappers for open and close methods -2010-05-28 17:06 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 - * src/osgPlugins/rgb/ReaderWriterRGB.cpp: Converted osg::notify to - OSG_INFO etc. +Wed, 21 May 2014 16:15:02 +0000 +Checked in by : Robert Osfield +Addd method implementation in serializers -2010-05-28 17:06 robert +Wed, 21 May 2014 10:17:31 +0000 +Checked in by : Robert Osfield +Fixed handling of traverse - * src/osgPlugins/revisions/ReaderWriterRevisions.cpp: Converted - osg::notify to OSG_INFO etc. +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. -2010-05-28 17:05 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 - * src/osgPlugins/quicktime/MovieData.cpp, - src/osgPlugins/quicktime/MovieData.h, - src/osgPlugins/quicktime/QTLiveUtils.cpp, - src/osgPlugins/quicktime/QuicktimeImageStream.cpp, - src/osgPlugins/quicktime/QuicktimeLiveImageStream.cpp, - src/osgPlugins/quicktime/ReaderWriterQT.cpp: Converted - osg::notify to OSG_INFO etc. +Wed, 21 May 2014 09:06:17 +0000 +Checked in by : Robert Osfield +Renamed callbacks to avoid overlap with Node callbacks -2010-05-28 16:54 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. - * src/osgPlugins/qfont/ReaderQFont.cpp: Converted osg::notify to - OSG_INFO etc. -2010-05-28 16:54 robert - * src/osgPlugins/pnm/ReaderWriterPNM.cpp: Converted osg::notify to - OSG_INFO etc. +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." -2010-05-28 16:53 robert - * src/osgPlugins/png/ReaderWriterPNG.cpp: Converted osg::notify to - OSG_INFO etc. -2010-05-28 16:52 robert +Tue, 20 May 2014 08:35:39 +0000 +Checked in by : Robert Osfield +Improved the handling of updating of text - * src/osgPlugins/ply/typedefs.h: Converted osg::notify to OSG_INFO - etc. +Tue, 20 May 2014 08:35:19 +0000 +Checked in by : Robert Osfield +Added shell of Popup class -2010-05-28 16:51 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. - * src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/pfb/ReaderWriterPFB.cpp: Converted osg::notify to - OSG_INFO etc. +Mon, 19 May 2014 10:11:50 +0000 +Checked in by : Robert Osfield +Add shell of Dialog class -2010-05-28 16:50 robert +Mon, 19 May 2014 09:30:36 +0000 +Checked in by : Robert Osfield +Added handling of up/down key to ComboBox - * src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp: Converted - osg::notify to OSG_INFO etc. +Fri, 16 May 2014 19:24:58 +0000 +Checked in by : Robert Osfield +Added initial cut of ComboBox -2010-05-28 16:50 robert +Fri, 16 May 2014 10:38:40 +0000 +Checked in by : Robert Osfield +Added initial shell of PushButton implementation - * src/osgPlugins/osga/OSGA_Archive.cpp: Converted osg::notify to - OSG_INFO etc. +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 -2010-05-28 16:49 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." - * src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgPlugins/osg/XmlStreamOperator.h: Converted osg::notify to - OSG_INFO etc. +Thu, 15 May 2014 14:45:28 +0000 +Checked in by : Robert Osfield +From Pjotr Svetachov, build fixes for VisualStudio -2010-05-28 16:49 robert +Thu, 15 May 2014 13:34:50 +0000 +Checked in by : Robert Osfield +Added osgGA dependency - * src/osgPlugins/ogr/ReaderWriterOGR.cpp: Converted osg::notify to - OSG_INFO etc. +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. -2010-05-28 16:48 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. - * src/osgPlugins/normals/Normals.cpp, - src/osgPlugins/normals/ReaderWriterNormals.cpp: Converted - osg::notify to OSG_INFO etc. -2010-05-28 16:48 robert - * src/osgPlugins/md2/ReaderWriterMD2.cpp: Converted osg::notify to - OSG_INFO etc. +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 -2010-05-28 16:47 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 - * src/osgPlugins/lwo/Block.cpp, src/osgPlugins/lwo/Converter.cpp, - src/osgPlugins/lwo/Object.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/lwo/Surface.cpp, src/osgPlugins/lwo/VertexMap.cpp, - src/osgPlugins/lwo/old_Lwo2.cpp, - src/osgPlugins/lwo/old_Lwo2Layer.cpp: Converted osg::notify to - OSG_INFO etc. +Wed, 14 May 2014 16:00:08 +0000 +Checked in by : Robert Osfield +Cleaned up code -2010-05-28 16:45 robert +Wed, 14 May 2014 10:19:43 +0000 +Checked in by : Robert Osfield - * src/osgPlugins/logo/ReaderWriterLOGO.cpp: Converted osg::notify - to OSG_INFO etc. -2010-05-28 16:44 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. - * src/osgPlugins/jp2/ReaderWriterJP2.cpp: Converted osg::notify to - OSG_INFO etc. +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 -2010-05-28 16:44 robert +- Added accept(NodeVisitor) method to Drawable/Geometry - * src/osgPlugins/lws/SceneLoader.cpp: Converted osg::notify to - OSG_INFO etc. +- Added traverse(NodeVisitor) to Geode which calls accept(NodeVisitor) on all Drawables -2010-05-28 16:42 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. - * src/osgPlugins/gecko/ReaderWriterUBrowser.cpp, - src/osgPlugins/gecko/UBrowser.cpp, - src/osgPlugins/gecko/UBrowser.h: Converted osg::notify to - OSG_INFO etc. +- Update other osgUtil node visitors (GLObjectsVisitor, IncrementalCompileOperation, ..) to use new apply(Drawable) method. +" -2010-05-28 16:42 robert - * src/osgPlugins/gz/ReaderWriterGZ.cpp: Converted osg::notify to - OSG_INFO etc. -2010-05-28 16:41 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. - * src/osgPlugins/gif/ReaderWriterGIF.cpp: Converted osg::notify to - OSG_INFO etc. +Tue, 6 May 2014 16:38:57 +0000 +Checked in by : Robert Osfield +Replaced obsolete __linux usage. -2010-05-28 16:41 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." - * src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/geo/osgGeoStructs.h: Converted osg::notify to - OSG_INFO etc. +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." -2010-05-28 16:39 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" - * src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont3D.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.cpp, - src/osgPlugins/freetype/ReaderWriterFreeType.cpp: Converted - osg::notify to OSG_INFO etc. +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)); -2010-05-28 16:39 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);". - * src/osgPlugins/ffmpeg/FFmpegAudioStream.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: Converted - osg::notify to OSG_INFO etc. +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: -2010-05-28 16:38 robert + pd->tid.set( (void*)_beginthreadex(NULL,static_cast(pd->stackSize),ThreadPrivateActions::StartThread,static_cast(this),CREATE_SUSPENDED,&ID)); + ResumeThread(pd->tid.get()); - * src/osgPlugins/exr/ReaderWriterEXR.cpp: Converted osg::notify to - OSG_INFO etc. -2010-05-28 16:38 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." - * src/osgPlugins/dxf/DXFWriterNodeVisitor.cpp: Converted - osg::notify to OSG_INFO etc. -2010-05-28 16:37 robert - * src/osgPlugins/dw/ReaderWriterDW.cpp: Converted osg::notify to - OSG_INFO etc. +Thu, 1 May 2014 15:50:14 +0000 +Checked in by : Robert Osfield +From Stephan Huber, fix for OSX build -2010-05-28 16:37 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 - * src/osgPlugins/directshow/DirectShowTexture.cpp, - src/osgPlugins/directshow/ReaderWriterDirectShow.cpp: Converted - osg::notify to OSG_INFO etc. +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. " -2010-05-28 16:32 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). - * src/osgPlugins/dds/ReaderWriterDDS.cpp: Converted osg::notify to - OSG_INFO etc. +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. -2010-05-28 16:32 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. +" - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Converted osg::notify - to OSG_INFO etc. -2010-05-28 16:31 robert - * src/osgPlugins/cfg/ReaderWriterCFG.cpp: Converted osg::notify to - OSG_INFO etc. +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. :) )" -2010-05-28 16:31 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." - * src/osgPlugins/bvh/ReaderWriterBVH.cpp: Converted osg::notify to - OSG_INFO etc. +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. -2010-05-28 16:30 robert +Files: + - "CMakeLists.txt" is the top-level file. + - FindGLCORE.cmake" and "OsgMacroUtils.cmake" go in CMakeModules. +" - * src/osgPlugins/bsp/VBSPEntity.cpp, - src/osgPlugins/bsp/VBSPReader.cpp: Converted osg::notify to - OSG_INFO etc. -2010-05-28 16:30 robert - * src/osgPlugins/ac/ac3d.cpp: Converted osg::notify to OSG_INFO - etc. +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." -2010-05-28 16:29 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. +" - * src/osgPlugins/3dc/ReaderWriter3DC.cpp, - src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/WriterCompareTriangle.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.cpp: Converted osg::notify - to OSG_INFO etc. -2010-05-28 16:28 robert - * src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/ReaderWriterPaths.cpp: Converted osg::notify - to OSG_INFO etc. +Mon, 28 Apr 2014 11:53:58 +0000 +Checked in by : Robert Osfield +Fixed type error -2010-05-28 16:28 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." - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Converted osg::notify - to use info -2010-05-28 16:27 robert - * src/osgPlugins/obj/OBJWriterNodeVisitor.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/obj.cpp: Converted osg::notify to OSG_INFO +Fri, 25 Apr 2014 08:56:53 +0000 +Checked in by : Robert Osfield +Reordered the configuiration file blocks to make it more understandable -2010-05-28 16:27 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 - * src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/Image.cpp, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/ive/TerrainTile.cpp, - src/osgPlugins/ive/Uniform.cpp: Converted osg::notify to OSG_INFO - etc. +Thu, 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." -2010-05-28 16:26 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." - * src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/WriterCompareTriangle.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/fbxRCamera.cpp, - src/osgPlugins/fbx/fbxRNode.cpp: Converted osg::notify to - OSG_INFO etc. +Thu, 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: -2010-05-28 16:25 robert +setMouseYOrientation( MouseYOrientation, bool updatecooreds=false ); - * src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/Inventor/ConvertToInventor.cpp, - src/osgPlugins/Inventor/ReaderWriterIV.cpp: Converted osg::notify - to OSG_INFO etc. +but then the serializer complained. -2010-05-28 16:24 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. - * src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/daeRAnimations.cpp, - src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeRSceneObjects.cpp, - src/osgPlugins/dae/daeRSkinning.cpp, - src/osgPlugins/dae/daeRTransforms.cpp, - src/osgPlugins/dae/daeReader.cpp, - src/osgPlugins/dae/daeWAnimations.cpp, - src/osgPlugins/dae/daeWGeometry.cpp, - src/osgPlugins/dae/daeWMaterials.cpp, - src/osgPlugins/dae/daeWSceneObjects.cpp, - src/osgPlugins/dae/daeWTransforms.cpp, - src/osgPlugins/dae/daeWriter.cpp, src/osgPlugins/dae/daeWriter.h, - src/osgPlugins/dae/domSourceReader.cpp, - src/osgPlugins/dae/domSourceReader.h: Converted osg::notify to - OSG_INFO - -2010-05-28 16:22 robert - - * src/osgPlugins/OpenFlight/Document.cpp, - src/osgPlugins/OpenFlight/ExportOptions.cpp, - src/osgPlugins/OpenFlight/FltExportVisitor.cpp, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/MaterialPaletteManager.cpp, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/OpenFlight/PrimaryRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/OpenFlight/RecordInputStream.cpp, - src/osgPlugins/OpenFlight/Registry.cpp, - src/osgPlugins/OpenFlight/VertexPaletteManager.cpp, - src/osgPlugins/OpenFlight/VertexRecords.cpp, - src/osgPlugins/OpenFlight/expAncillaryRecords.cpp, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp, - src/osgPlugins/OpenFlight/expPrimaryRecords.cpp: Converted - osg::notify to OSG_INFO etc. - -2010-05-28 16:10 robert - - * src/osgQt/QGraphicsViewAdapter.cpp: Conversion of osg::notify to - OSG_INFO etc. - -2010-05-28 16:09 robert - - * src/osgSim/ElevationSlice.cpp, src/osgSim/HeightAboveTerrain.cpp, - src/osgSim/Impostor.cpp, src/osgSim/ImpostorSprite.cpp, - src/osgSim/LightPointDrawable.cpp, src/osgSim/LightPointNode.cpp, - src/osgSim/LightPointSpriteDrawable.cpp, - src/osgSim/LineOfSight.cpp, src/osgSim/OverlayNode.cpp, - src/osgSim/SphereSegment.cpp, src/osgSim/VisibilityGroup.cpp: - Converted osg::notify to OSG_INFO etc. - -2010-05-28 16:08 robert - - * src/osgPresentation/AnimationMaterial.cpp, - src/osgPresentation/PickEventHandler.cpp, - src/osgPresentation/SlideEventHandler.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Converted - osg::notify to OSG_INFO etc. - -2010-05-28 16:07 robert - - * src/osgWidget/Browser.cpp, src/osgWidget/Frame.cpp: Converted - osg::notify to OSG_INFO - -2010-05-28 16:07 robert - - * src/osgAnimation/ActionBlendIn.cpp, - src/osgAnimation/ActionBlendOut.cpp, - src/osgAnimation/ActionVisitor.cpp, - src/osgAnimation/LinkVisitor.cpp, - src/osgAnimation/MorphGeometry.cpp, - src/osgAnimation/RigGeometry.cpp, - src/osgAnimation/RigTransformHardware.cpp, - src/osgAnimation/RigTransformSoftware.cpp, - src/osgAnimation/Skeleton.cpp, src/osgAnimation/StatsHandler.cpp, - src/osgAnimation/Timeline.cpp, src/osgAnimation/UpdateBone.cpp, - src/osgAnimation/UpdateMaterial.cpp, - src/osgAnimation/UpdateMatrixTransform.cpp, - src/osgAnimation/VertexInfluence.cpp: Converted osg::notify to - OSG_INFO etc. - -2010-05-28 16:06 robert - - * src/osgManipulator/Constraint.cpp, - src/osgManipulator/Dragger.cpp, src/osgManipulator/Projector.cpp: - Converted osg::notify to OSG_INFO etc. - -2010-05-28 16:05 robert - - * src/osgParticle/ConnectedParticleSystem.cpp, - src/osgParticle/FluidProgram.cpp, - src/osgParticle/ModularEmitter.cpp, - src/osgParticle/MultiSegmentPlacer.cpp, - src/osgParticle/Particle.cpp, - src/osgParticle/ParticleProcessor.cpp, - src/osgParticle/ParticleSystem.cpp, - src/osgParticle/ParticleSystemUpdater.cpp, - src/osgParticle/PrecipitationEffect.cpp: Converted osg::notify to - OSG_INFO etc. - -2010-05-28 16:04 robert - - * src/osgFX/AnisotropicLighting.cpp, src/osgFX/BumpMapping.cpp, - src/osgFX/Effect.cpp, src/osgFX/SpecularHighlights.cpp, - src/osgFX/Validator.cpp: Convertex osg::notify to OSG_INFO etc. - -2010-05-28 16:04 robert - - * src/osgVolume/FixedFunctionTechnique.cpp, - src/osgVolume/Layer.cpp, src/osgVolume/Locator.cpp, - src/osgVolume/Property.cpp, src/osgVolume/RayTracedTechnique.cpp, - src/osgVolume/Volume.cpp, src/osgVolume/VolumeTechnique.cpp, - src/osgVolume/VolumeTile.cpp: Converted osg::notify to OSG_INFO - etc. - -2010-05-28 16:03 robert - - * src/osgTerrain/Layer.cpp, src/osgTerrain/TerrainTechnique.cpp, - src/osgTerrain/TerrainTile.cpp: Conversion of osg::notify to - OSG_INFO etc. - -2010-05-28 16:03 robert - - * src/osgShadow/ConvexPolyhedron.cpp, - src/osgShadow/MinimalShadowMap.cpp, - src/osgShadow/OccluderGeometry.cpp, - src/osgShadow/ParallelSplitShadowMap.cpp, - src/osgShadow/ShadowTechnique.cpp, - src/osgShadow/ShadowVolume.cpp: Converted osg::notify to OSG_INFO - etc. - -2010-05-28 16:00 robert - - * src/osgText/DefaultFont.cpp, src/osgText/FadeText.cpp, - src/osgText/Font.cpp, src/osgText/Font3D.cpp, - src/osgText/String.cpp, src/osgText/Text.cpp: converted - osg::notify to OSG_INFO etc. - -2010-05-28 15:56 robert - - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/DarwinUtils.mm, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowCocoa.mm, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp, - src/osgViewer/PixelBufferCarbon.cpp, - src/osgViewer/PixelBufferCocoa.mm, - src/osgViewer/PixelBufferWin32.cpp, - src/osgViewer/PixelBufferX11.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/ScreenCaptureHandler.cpp, - src/osgViewer/StatsHandler.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgViewer/ViewerBase.cpp, - src/osgViewer/ViewerEventHandlers.cpp: conversion of osg::notify - to OSG_INFO etc. - -2010-05-28 15:53 robert - - * src/osgGA/AnimationPathManipulator.cpp, - src/osgGA/CameraViewSwitchManipulator.cpp, - src/osgGA/DriveManipulator.cpp, src/osgGA/FlightManipulator.cpp, - src/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/SphericalManipulator.cpp, - src/osgGA/StandardManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, src/osgGA/UFOManipulator.cpp: - Conversion of osg::notify to OSG_INFO. - -2010-05-28 15:52 robert - - * src/osgDB/Archive.cpp, src/osgDB/Compressors.cpp, - src/osgDB/ConvertUTF.cpp, src/osgDB/DatabaseRevisions.cpp, - src/osgDB/DotOsgWrapper.cpp, src/osgDB/DynamicLibrary.cpp, - src/osgDB/FileCache.cpp, src/osgDB/FileUtils.cpp, - src/osgDB/ImagePager.cpp, src/osgDB/InputStream.cpp, - src/osgDB/ObjectWrapper.cpp, src/osgDB/Output.cpp, - src/osgDB/OutputStream.cpp, src/osgDB/ReadFile.cpp, - src/osgDB/Registry.cpp, src/osgDB/WriteFile.cpp, - src/osgDB/XmlParser.cpp: Conversion of osg::notify to OSG_INFO - etc. - -2010-05-28 15:51 robert - - * src/osgUtil/CullVisitor.cpp, - src/osgUtil/DelaunayTriangulator.cpp, - src/osgUtil/EdgeCollector.cpp, src/osgUtil/GLObjectsVisitor.cpp, - src/osgUtil/IncrementalCompileOperation.cpp, - src/osgUtil/IntersectVisitor.cpp, - src/osgUtil/IntersectionVisitor.cpp, - src/osgUtil/LineSegmentIntersector.cpp, - src/osgUtil/MeshOptimizers.cpp, src/osgUtil/Optimizer.cpp, - src/osgUtil/PlaneIntersector.cpp, src/osgUtil/RenderBin.cpp, - src/osgUtil/RenderLeaf.cpp, src/osgUtil/RenderStage.cpp, - src/osgUtil/ReversePrimitiveFunctor.cpp, - src/osgUtil/SceneGraphBuilder.cpp, src/osgUtil/SceneView.cpp, - src/osgUtil/ShaderGen.cpp, src/osgUtil/Simplifier.cpp, - src/osgUtil/TangentSpaceGenerator.cpp, - src/osgUtil/Tessellator.cpp, src/osgUtil/TriStripVisitor.cpp: - Conversion of osg::notify to OSG_INFO etc. - -2010-05-28 15:47 robert - - * src/osg/AlphaFunc.cpp, src/osg/ArrayDispatchers.cpp, - src/osg/BlendColor.cpp, src/osg/BlendEquation.cpp, - src/osg/BlendFunc.cpp, src/osg/BufferObject.cpp, - src/osg/Camera.cpp, src/osg/ClampColor.cpp, - src/osg/ClipPlane.cpp, src/osg/ClusterCullingCallback.cpp, - src/osg/CullSettings.cpp, src/osg/DisplaySettings.cpp, - src/osg/DrawPixels.cpp, src/osg/Drawable.cpp, - src/osg/FragmentProgram.cpp, src/osg/FrameBufferObject.cpp, - src/osg/GL2Extensions.cpp, src/osg/GLExtensions.cpp, - src/osg/Geode.cpp, src/osg/Geometry.cpp, - src/osg/GraphicsContext.cpp, src/osg/Group.cpp, - src/osg/Image.cpp, src/osg/ImageSequence.cpp, - src/osg/ImageUtils.cpp, src/osg/KdTree.cpp, src/osg/Light.cpp, - src/osg/LightModel.cpp, src/osg/LineStipple.cpp, - src/osg/LogicOp.cpp, src/osg/Material.cpp, src/osg/Math.cpp, - src/osg/Multisample.cpp, src/osg/NodeTrackerCallback.cpp, - src/osg/OcclusionQueryNode.cpp, src/osg/OperationThread.cpp, - src/osg/Point.cpp, src/osg/PointSprite.cpp, - src/osg/PolygonMode.cpp, src/osg/PolygonOffset.cpp, - src/osg/PolygonStipple.cpp, src/osg/Program.cpp, - src/osg/Quat.cpp, src/osg/Sequence.cpp, src/osg/ShadeModel.cpp, - src/osg/Shader.cpp, src/osg/ShapeDrawable.cpp, src/osg/State.cpp, - src/osg/StateAttribute.cpp, src/osg/StateSet.cpp, - src/osg/Stats.cpp, src/osg/StencilTwoSided.cpp, - src/osg/TexEnvCombine.cpp, src/osg/TexGen.cpp, - src/osg/TexMat.cpp, src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2D.cpp, src/osg/Texture2DArray.cpp, - src/osg/Texture3D.cpp, src/osg/TextureCubeMap.cpp, - src/osg/TextureRectangle.cpp, src/osg/Timer.cpp, - src/osg/TransferFunction.cpp, src/osg/Uniform.cpp, - src/osg/VertexProgram.cpp, src/osg/View.cpp: Convesion of - osg::notify to OSG_INFO etc. - -2010-05-28 09:12 robert - - * src/osgViewer/View.cpp: Changed debug info to use DEBUG_INFO - -2010-05-28 08:57 robert - - * examples/osgfpdepth/osgfpdepth.cpp, include/osg/observer_ptr, - src/osg/ObserverNodePath.cpp, src/osgDB/DatabasePager.cpp, - src/osgWrappers/introspection/osgDB/DatabasePager.cpp, - src/osgWrappers/introspection/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/introspection/osgWidget/Widget.cpp, - src/osgWrappers/introspection/osgWidget/Window.cpp: Changed the - ref_ptr observer_ptr<>::lock() method to be - bool observer_ptr<>::lock(ref_ptr&) to avoid the temporary - ref_ptr<>'s - being created and destroyed on the stack along with the - associated ref/unref() operations - -2010-05-27 18:46 robert - - * src/osgDB/DatabasePager.cpp: Refactored the expiry and PagedLOD - counting so that it's now done in single - CountPagedLODsVisitor::removeExpiredChildrenAndCountPagedLODs - method - -2010-05-27 15:54 robert - - * examples/osghangglide/GliderManipulator.h, - examples/osgimpostor/TestManipulator.h, - include/osgGA/AnimationPathManipulator, - include/osgGA/CameraManipulator, - include/osgGA/CameraViewSwitchManipulator, - include/osgGA/DriveManipulator, - include/osgGA/KeySwitchMatrixManipulator, - include/osgGA/MatrixManipulator, - include/osgGA/SphericalManipulator, - include/osgGA/StandardManipulator, include/osgGA/UFOManipulator, - include/osgViewer/View, include/osgViewer/ViewerBase, - include/osgViewer/ViewerEventHandlers, src/osgGA/CMakeLists.txt, - src/osgGA/CameraManipulator.cpp, - src/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgGA/MatrixManipulator.cpp, - src/osgGA/StandardManipulator.cpp, src/osgViewer/View.cpp, - src/osgViewer/ViewerEventHandlers.cpp, - src/osgWidget/ViewerEventHandlers.cpp, - src/osgWrappers/introspection/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/introspection/osgGA/CameraManipulator.cpp, - src/osgWrappers/introspection/osgGA/CameraViewSwitchManipulator.cpp, - src/osgWrappers/introspection/osgGA/DriveManipulator.cpp, - src/osgWrappers/introspection/osgGA/FlightManipulator.cpp, - src/osgWrappers/introspection/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/introspection/osgGA/MatrixManipulator.cpp, - src/osgWrappers/introspection/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/introspection/osgGA/SphericalManipulator.cpp, - src/osgWrappers/introspection/osgGA/TerrainManipulator.cpp, - src/osgWrappers/introspection/osgGA/UFOManipulator.cpp, - src/osgWrappers/introspection/osgTerrain/Terrain.cpp, - src/osgWrappers/introspection/osgViewer/View.cpp: Renamed - osgGA::MatrixManipualtor to osgGA::CameraManipulator so its name - better reflects it's function - -2010-05-27 14:35 robert - - * CMakeModules/FindFFmpeg.cmake: From Michael Platings, "Minor - ffmpeg build fix, Replaced - IF (${FFMPEG_STDINT_INCLUDE_DIR}) - with - IF (FFMPEG_STDINT_INCLUDE_DIR)" - -2010-05-27 13:59 robert - - * applications/osgviewer/osgviewer.cpp, - include/osgGA/FirstPersonManipulator, - include/osgGA/FlightManipulator, - include/osgGA/NodeTrackerManipulator, - include/osgGA/OrbitManipulator, - include/osgGA/StandardManipulator, - include/osgGA/TerrainManipulator, - include/osgGA/TrackballManipulator, - src/osgGA/FirstPersonManipulator.cpp, - src/osgGA/FlightManipulator.cpp, - src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/OrbitManipulator.cpp, - src/osgGA/StandardManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, - src/osgGA/TrackballManipulator.cpp: From Jan Pecvia, improvements - to manipulators and added new manipulator to osgviewer - -2010-05-27 13:58 robert - - * include/osgTerrain/Terrain, src/osgTerrain/Terrain.cpp: Moved - across to using more flexible dirtyMark when dirtying tiles - -2010-05-26 16:10 robert - - * src/osgTerrain/GeometryTechnique.cpp: Re-enabled boundary - equalization support. - -2010-05-26 08:34 robert - - * src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/TerrainManipulator.cpp: Fixed warnings - -2010-05-25 17:02 robert - - * src/osgGA/FlightManipulator.cpp, src/osgGA/OrbitManipulator.cpp, - src/osgGA/StandardManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, - src/osgGA/TrackballManipulator.cpp: Fixed 3 space indenting - -2010-05-25 17:02 robert - - * include/osgGA/FirstPersonManipulator, - include/osgGA/FlightManipulator, - include/osgGA/KeySwitchMatrixManipulator, - include/osgGA/MatrixManipulator, include/osgGA/OrbitManipulator, - include/osgGA/StandardManipulator, - include/osgGA/TrackballManipulator: Fixed 3 space indenting in - headers. - -2010-05-25 16:27 robert - - * include/osgGA/StandardManipulator, - src/osgWrappers/introspection/osgGA/DriveManipulator.cpp, - src/osgWrappers/introspection/osgGA/FlightManipulator.cpp, - src/osgWrappers/introspection/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/introspection/osgGA/MatrixManipulator.cpp, - src/osgWrappers/introspection/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/introspection/osgGA/SphericalManipulator.cpp, - src/osgWrappers/introspection/osgGA/TerrainManipulator.cpp, - src/osgWrappers/introspection/osgGA/TrackballManipulator.cpp, - src/osgWrappers/introspection/osgGA/UFOManipulator.cpp: Updated - wrappers - -2010-05-25 15:52 robert - - * include/osgQt/QWebViewImage: Removed export - -2010-05-25 12:05 robert - - * include/osgGA/FirstPersonManipulator, - include/osgGA/FlightManipulator, - include/osgGA/KeySwitchMatrixManipulator, - include/osgGA/MatrixManipulator, - include/osgGA/NodeTrackerManipulator, - include/osgGA/OrbitManipulator, - include/osgGA/StandardManipulator, - include/osgGA/TerrainManipulator, - include/osgGA/TrackballManipulator, include/osgGA/UFOManipulator, - src/osg/ObserverNodePath.cpp, src/osgGA/CMakeLists.txt, - src/osgGA/DriveManipulator.cpp, - src/osgGA/FirstPersonManipulator.cpp, - src/osgGA/FlightManipulator.cpp, - src/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgGA/MatrixManipulator.cpp, - src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/OrbitManipulator.cpp, - src/osgGA/SphericalManipulator.cpp, - src/osgGA/StandardManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, - src/osgGA/TrackballManipulator.cpp, src/osgGA/UFOManipulator.cpp: - From Jan Perciva with changes from Robert Osfield, "I am - submitting improved osgGA camera manipulators. - Changes: - - new mouse wheel zoom/movement/center functionality - - ability to fix vertical axis (important for CAD) - - possibility to specify values as absolute values or relative to - model size - - kind of backward compatibility by flags passed to constructor - - and much more - - restructuring classes to use kind of hierarchy and standard way - of event processing (handle methods). This way, there is much - more code reusability and it is more easy to develop new kinds of - manipulators. - - Briefly, the new architecture keeps MatrixManipulator as base - abstract class. StandardManipulator is the feature-rich standard - manipulator with two main descendant classes: OrbitManipulator - and FirstPersonManipulator. OrbitManipulator is base class for - all trackball style manipulators, based on center, rotation and - distance from center. FirstPersonManipulator is base for walk or - fly style manipulators, using position and rotation for camera - manipulation. - " - - Changes by Robert: Replaced osg::Vec3 by osg::Vec3d, introduced - DEFAULT_SETTINGS enum and usage. Added frame time member - variables in prep for improving throw animation when vysync is - off. - -2010-05-24 14:16 robert - - * src/osgDB/DatabasePager.cpp: Quitened down debug output - -2010-05-24 09:44 robert - - * src/osgWrappers/introspection/osg/Image.cpp, - src/osgWrappers/introspection/osg/Plane.cpp: Updated wrappers - -2010-05-22 15:45 robert - - * include/osg/Image, include/osgQt/QWebViewImage, - include/osgQt/QWidgetImage, src/CMakeLists.txt, - src/osgQt/CMakeLists.txt, src/osgQt/QGraphicsViewAdapter.cpp, - src/osgQt/QWebViewImage.cpp, src/osgQt/QWidgetImage.cpp: - Refactored osgQt so that QWebViewImage is now entirely - implementated in the header, and osgQt itself no longer compiles - it, - leaving it to only applications that require it to include the - header and it's implementation and with ith the QWebKit - dependency. - -2010-05-21 09:56 robert - - * src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/ive/Texture2DArray.cpp, - src/osgPlugins/ive/Texture2DArray.h: From Wojciech Lewandowski, - "Reading and Writing of Texture2DArrays for IVE format." - -2010-05-21 09:34 robert - - * examples/osgthreadedterrain/osgthreadedterrain.cpp, - src/osg/Texture2DArray.cpp: From Wojciech Lewandowski, "Support - for compressed texture arrays + mipmaps + auto mipmap generation. - Changes vs OSG trunk. Thanks to Ricardo Corsi I was able to add - last time tweaks and remove few issues. This version was so well - tested that it has to be posted for inclusion into OSG ;-) - " - -2010-05-21 09:23 robert - - * src/osgTerrain/GeometryTechnique.cpp: From Hartwig Wiesmann, - fixed setup of texture coordinates for applying a contour layer. - -2010-05-21 09:00 robert - - * src/osg/Referenced.cpp: Fixed warning - -2010-05-20 17:02 robert - - * include/osg/Plane: From Hartwig Wiesmann, "I have added some - doxygen documentation to the plane class. - " - -2010-05-20 17:00 robert - - * src/osg/Referenced.cpp: From Terry Welsh, added missing - static_cast in Referenced.cpp - -2010-05-20 15:25 robert - - * src/osgWrappers/introspection/osg/Observer.cpp, - src/osgWrappers/introspection/osgDB/DatabasePager.cpp, - src/osgWrappers/introspection/osgWidget/Widget.cpp, - src/osgWrappers/introspection/osgWidget/Window.cpp: Updated - wrappers - -2010-05-20 13:38 robert - - * include/osg/Observer, include/osg/Referenced, - include/osg/observer_ptr, src/osg/Observer.cpp, - src/osg/Referenced.cpp: Introduced a alternative implementation - of observer_ptr<> that uses ObserverSet rather than an local - WeakReference object. - -2010-05-19 16:43 robert - - * src/osg/GLStaticLibrary.cpp: From Alok Priyadarshi, build fix for - gcc. - -2010-05-19 13:40 robert - - * src/osg/GLStaticLibrary.cpp: Introduction an ADD_FUNCTION macro - to simply the set up of the static function mappings - -2010-05-19 13:14 robert - - * include/osg/observer_ptr: From Tim Moore, fix for deadlock - -2010-05-19 08:22 robert - - * include/osg/observer_ptr: Fixed warning - -2010-05-19 08:08 robert - - * include/osg/observer_ptr: From Martin Naylor, "Please find - attached the modified observer_ptr include for fixing a compiler - issue for Windows and VS2008." - -2010-05-18 18:01 robert - - * include/osg/observer_ptr: From Tim Moore, typo fix. - -2010-05-18 17:58 robert - - * src/osgDB/DatabasePager.cpp: Fixed typo - -2010-05-18 15:33 robert - - * src/osgDB/DatabasePager.cpp: Added better invalidation of the - inactive and active PageLOD lists when children are invalidated - when parents are removed. - -2010-05-18 11:00 robert - - * include/osgSim/BlinkSequence, include/osgSim/ColorRange, - include/osgSim/DOFTransform, include/osgSim/LightPointNode, - include/osgSim/ScalarBar, include/osgSim/SphereSegment, - src/osgSim/ScalarBar.cpp, - src/osgWrappers/introspection/osgSim/BlinkSequence.cpp, - src/osgWrappers/introspection/osgSim/ColorRange.cpp, - src/osgWrappers/introspection/osgSim/DOFTransform.cpp, - src/osgWrappers/introspection/osgSim/LightPointNode.cpp, - src/osgWrappers/introspection/osgSim/ScalarBar.cpp, - src/osgWrappers/introspection/osgSim/SphereSegment.cpp, - src/osgWrappers/introspection/osgVolume/Property.cpp, - src/osgWrappers/serializers/CMakeLists.txt, - src/osgWrappers/serializers/osgSim, - src/osgWrappers/serializers/osgSim/AzimElevationSector.cpp, - src/osgWrappers/serializers/osgSim/AzimSector.cpp, - src/osgWrappers/serializers/osgSim/BlinkSequence.cpp, - src/osgWrappers/serializers/osgSim/CMakeLists.txt, - src/osgWrappers/serializers/osgSim/ConeSector.cpp, - src/osgWrappers/serializers/osgSim/DOFTransform.cpp, - src/osgWrappers/serializers/osgSim/DirectionalSector.cpp, - src/osgWrappers/serializers/osgSim/ElevationSector.cpp, - src/osgWrappers/serializers/osgSim/Impostor.cpp, - src/osgWrappers/serializers/osgSim/LightPointNode.cpp, - src/osgWrappers/serializers/osgSim/LightPointSystem.cpp, - src/osgWrappers/serializers/osgSim/MultiSwitch.cpp, - src/osgWrappers/serializers/osgSim/ObjectRecordData.cpp, - src/osgWrappers/serializers/osgSim/OverlayNode.cpp, - src/osgWrappers/serializers/osgSim/ScalarBar.cpp, - src/osgWrappers/serializers/osgSim/Sector.cpp, - src/osgWrappers/serializers/osgSim/SequenceGroup.cpp, - src/osgWrappers/serializers/osgSim/ShapeAttributeList.cpp, - src/osgWrappers/serializers/osgSim/SphereSegment.cpp, - src/osgWrappers/serializers/osgSim/VisibilityGroup.cpp, - src/osgWrappers/serializers/osgVolume, - src/osgWrappers/serializers/osgVolume/AlphaFuncProperty.cpp, - src/osgWrappers/serializers/osgVolume/CMakeLists.txt, - src/osgWrappers/serializers/osgVolume/CompositeLayer.cpp, - src/osgWrappers/serializers/osgVolume/CompositeProperty.cpp, - src/osgWrappers/serializers/osgVolume/FixedFunctionTechnique.cpp, - src/osgWrappers/serializers/osgVolume/ImageDetails.cpp, - src/osgWrappers/serializers/osgVolume/ImageLayer.cpp, - src/osgWrappers/serializers/osgVolume/IsoSurfaceProperty.cpp, - src/osgWrappers/serializers/osgVolume/Layer.cpp, - src/osgWrappers/serializers/osgVolume/LightingProperty.cpp, - src/osgWrappers/serializers/osgVolume/Locator.cpp, - src/osgWrappers/serializers/osgVolume/MaximumIntensityProjectionProperty.cpp, - src/osgWrappers/serializers/osgVolume/Property.cpp, - src/osgWrappers/serializers/osgVolume/PropertyAdjustmentCallback.cpp, - src/osgWrappers/serializers/osgVolume/RayTracedTechnique.cpp, - src/osgWrappers/serializers/osgVolume/SampleDensityProperty.cpp, - src/osgWrappers/serializers/osgVolume/ScalarProperty.cpp, - src/osgWrappers/serializers/osgVolume/SwitchProperty.cpp, - src/osgWrappers/serializers/osgVolume/TransferFunctionProperty.cpp, - src/osgWrappers/serializers/osgVolume/TransparencyProperty.cpp, - src/osgWrappers/serializers/osgVolume/Volume.cpp, - src/osgWrappers/serializers/osgVolume/VolumeTechnique.cpp, - src/osgWrappers/serializers/osgVolume/VolumeTile.cpp: From Wang - Rui, serializers for osgSim and osgVolume - -2010-05-18 10:12 robert - - * include/osgVolume/Property, - src/osgPlugins/ive/VolumePropertyAdjustmentCallback.cpp: Fixed - typos in method names - -2010-05-17 18:37 robert - - * include/osg/Observer, include/osg/observer_ptr, - src/osgWrappers/introspection/genwrapper.conf, - src/osgWrappers/introspection/osg/Observer.cpp, - src/osgWrappers/introspection/osg/ObserverNodePath.cpp, - src/osgWrappers/introspection/osg/Referenced.cpp, - src/osgWrappers/introspection/osg/State.cpp, - src/osgWrappers/introspection/osg/observer_ptr.cpp, - src/osgWrappers/introspection/osgDB/DatabasePager.cpp, - src/osgWrappers/introspection/osgTerrain/TerrainTechnique.cpp, - src/osgWrappers/introspection/osgWidget/Widget.cpp, - src/osgWrappers/introspection/osgWidget/Window.cpp: Updated - wrappers - -2010-05-17 14:43 robert - - * include/osg/Referenced, include/osg/observer_ptr: From Tim Moore, - improved doxygen comments - -2010-05-17 14:21 robert - - * include/osg/Observer, include/osg/Referenced, - include/osg/observer_ptr, src/osg/Observer.cpp, - src/osg/Referenced.cpp: Removed signalUnreffed interface - -2010-05-17 09:03 robert - - * include/osg/Referenced, include/osg/observer_ptr, - src/osg/Referenced.cpp: From Tim Moore, refactore - WeakReference/Referenced to avoid signalling the observers when - do a unref_nodelete. - -2010-05-17 08:29 robert - - * src/osg/GLExtensions.cpp: Re-ordered the inclusion of platform - specific headers to fix compile error under Windows - -2010-05-14 19:47 robert - - * src/osg/CMakeLists.txt, src/osg/GLExtensions.cpp, - src/osg/GLStaticLibrary.cpp, src/osg/GLStaticLibrary.h, - src/osg/Notify.cpp: From Alok Priyadarshi, support for statically - linking to GLES2.lib - -2010-05-14 12:24 robert - - * include/osg/Observer, include/osg/ObserverNodePath, - include/osgDB/DatabasePager, src/osg/ObserverNodePath.cpp, - src/osgDB/DatabasePager.cpp: Refactored Observer/ObserverNodePath - and DatabasePager to improve their robustness. - -2010-05-14 12:14 robert - - * include/osg/Referenced, include/osg/observer_ptr, - src/osg/Referenced.cpp: From Tim Moore, new more robust - observer_ptr<> implementation - -2010-05-13 11:01 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/bsp/Q3BSPLoad.cpp, - src/osgPlugins/bvh/ReaderWriterBVH.cpp, - src/osgPlugins/dot/ReaderWriterDOT.cpp, - src/osgPlugins/exr/ReaderWriterEXR.cpp, - src/osgPlugins/gif/ReaderWriterGIF.cpp, - src/osgPlugins/gz/ReaderWriterGZ.cpp, - src/osgPlugins/imageio/ReaderWriterImageIO.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/mdl/MDLReader.cpp, - src/osgPlugins/p3d/ReaderWriterPaths.cpp, - src/osgPlugins/ply/plyfile.cpp, - src/osgPlugins/png/ReaderWriterPNG.cpp, - src/osgPlugins/quicktime/ReaderWriterQT.cpp, - src/osgPlugins/revisions/ReaderWriterRevisions.cpp, - src/osgPlugins/stl/ReaderWriterSTL.cpp, - src/osgPlugins/tiff/ReaderWriterTIFF.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgPlugins/vtf/ReaderWriterVTF.cpp, - src/osgPlugins/zip/ReaderWriterZIP.cpp: From Farshid Lashkari, "I - modified some plugins to use the osgDB file stream functions in - order to support UTF-8 encoded filenames." - -2010-05-13 10:01 robert - - * src/osg/StateSet.cpp, src/osgUtil/RenderBin.cpp, - src/osgViewer/StatsHandler.cpp: From Gunter Huber, fixes for - better GLES2 support - -2010-05-12 20:02 robert - - * include/osgDB/InputStream, include/osgDB/OutputStream, - src/osgDB/InputStream.cpp, src/osgDB/OutputStream.cpp, - src/osgPlugins/osg/ReaderWriterOSG2.cpp: From Wang Rui, "I'd like - to submit my inbuilt schema data support of - the OutputStream/InputStream implementations, which was just - finished - last weekend with a few tests on Windows and Ubuntu. Hope it - could - work and get more feedbacks soon. - - I've added a new option "SchemaData" to the osg2 plugin. - Developers - may test the new feature with the command line: - - # osgconv cow.osg cow.osgb -O SchemaData - - It will record all serializer properties used in the scene graph, - at - the beginning of the generated file. And when osgviewer and user - applications is going to read the osgb file, the inbuilt data - will be - automatically read and applied first, to keep backwards - compatibility - partly. This will not affect osgb files generated with older - versions. - " - -2010-05-12 15:11 robert - - * src/osg/Referenced.cpp: From Mathias Froehlich, fixed memory leak - when using OpenThread::Mutex based reference counting. - -2010-05-12 14:34 robert - - * src/osgTerrain/GeometryTechnique.cpp: Removed inappropriate code - which was causing a memory leak. This code was clearly a copy and - paste error. The mistake was spotted by Robin Bourianes, with - code changes made by Robert Osfield. - -2010-05-12 11:58 robert - - * include/osgWidget/PdfReader, - src/osgPlugins/pdf/ReaderWriterPDF.cpp: Improved the - indentation/replaced tabs - -2010-05-12 11:44 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.cpp: From Sukender, "Here is - a tiny fix about texture wrap mode not being written correctly in - 3DS files." - -2010-05-12 11:41 robert - - * src/osgViewer/PixelBufferCarbon.cpp: From Stephan Huber, - "attached you'll find a fix for a crash when closeImplementation - gets - called more than once." - -2010-05-12 11:37 robert - - * examples/osgautocapture/osgautocapture.cpp, - examples/osgfpdepth/osgfpdepth.cpp, - examples/osgviewerQT/QOSGWidget.cpp, - examples/osgviewerQtContext/osgviewerQtContext.cpp, - examples/osgviewerQtWidget/QOSGWidget.cpp, include/osg/Camera, - include/osgShadow/ParallelSplitShadowMap, - src/osgPlugins/osg/XmlStreamOperator.h: Fixes for building OSG - with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF. - - Fixed copy and paste error in - Camera::getImplicitBufferAttachmentResolveMask(). - -2010-05-12 08:54 mplatings - - * src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.h: From Martins Innus: The - current fbx writer doesn't seem to support BIND_PER_VERTEX for - normals. If you have this type of geometry it, exports the the - first normal in the array over the whole primitive set. I don't - know that the attached change should be applied as is, since I - don't know enough about DrawArrays and Draw Elements to know if - the indices for the vertices and normals are guaranteed to be the - same. I tried it on a couple models and that seemed to be the - case. The alternative is to have the logic down in - setControlPointAndNormalsAndUV and set the normals there with the - "vertexIndex" if the binding type is per vertex. Not sure what is - cleaner. - -2010-05-11 17:02 mplatings - - * src/osgPlugins/fbx/WriterNodeVisitor.cpp: From Martins Innus: - allow the fbx exporter to reference textures correctly if the - stateset is applied to the Geode instead of Geometry - -2010-05-11 09:08 mplatings - - * src/osgPlugins/fbx/fbxMaterialToOsgStateSet.h: Fix from Martins - Innus for error: extra qualification 'FbxMaterialToOsgStateSet::' - on member 'FbxMaterialToOsgStateSet' - -2010-04-30 20:04 robert - - * src/osgWrappers/introspection/osg/BufferObject.cpp, - src/osgWrappers/introspection/osgDB/XmlParser.cpp: updated - wrappers - -2010-04-30 19:42 robert - - * applications/present3D/SpellChecker.cpp, - applications/present3D/SpellChecker.h, - applications/present3D/present3D.cpp: Added support for stripping - all by text nodes from a p3d xml file, and merging of an original - and stripped p3d xml file for the purpose of using external - editors to fix spelling mistakes - -2010-04-30 19:41 robert - - * include/osgDB/XmlParser, src/osgDB/XmlParser.cpp: Added proper - support for writing out Xml graph - -2010-04-30 19:41 robert - - * include/osg/BufferObject, include/osg/Texture2DMultisample: Fixed - warnings - -2010-04-30 15:51 robert - - * applications/present3D/CMakeLists.txt, - applications/present3D/SpellChecker.cpp, - applications/present3D/SpellChecker.h, - applications/present3D/present3D.cpp: Added beginnings of spell - checking support - -2010-04-30 12:22 robert - - * examples/CMakeLists.txt, examples/osgviewerQtContext, - examples/osgviewerQtContext/CMakeLists.txt, - examples/osgviewerQtContext/GraphicsWindowQt, - examples/osgviewerQtContext/GraphicsWindowQt.cpp, - examples/osgviewerQtContext/osgviewerQtContext.cpp: From Wang - Rui, "I've just made another OSG+Qt (GUI) examples to demonstrate - how to create OSG views, add them to a CompositeViewer, and add - corresponding widgets to Qt layouts or as popup windows. The - example inherits a GraphicsWindowQt from the GraphicsWindow base - class and implements most of the virtual methods. A QGLWidget is - created at the same time to perform keyboards and mouse events, - who is also added as the main widget's child. - - The new example, named osgviewerQtContext (because of deriving - from GraphicsContext), works fine on Windows XP SP3 and Qt 4.5.0, - with 4 widgets in QGridLayout and a popup window and 60Hz frame - rate. I haven't tested it on Unix/Linux and Mac OSX yet. So any - feedback from these platforms is appreciated. I wish this example - be a useful complement to current osgviewerQt and - osgviewerQtWidgets ones. :) - - Some unfinished functionalities: inheritedWindowData, - sharedContext, and more tests needed." - -2010-04-30 11:48 robert - - * include/osg/DisplaySettings, src/osg/DisplaySettings.cpp, - src/osgViewer/Renderer.cpp, src/osgViewer/View.cpp, - src/osgWrappers/introspection/osg/DisplaySettings.cpp: Changed - DisplaySetting::instance() to return a ref_ptr<>& rathern than a - raw C pointer to enable apps to delete the singleton or assign - their own. - -2010-04-30 10:52 robert - - * src/osgViewer/GraphicsWindowX11.cpp: Added free of _visualInfo if - it's already been allocated - -2010-04-30 10:51 robert - - * src/osg/Referenced.cpp: Changed debug messages to use printf to - avoid issues with using notify at startup and exit. - -2010-04-30 10:50 robert - - * src/osgPresentation/SlideShowConstructor.cpp: Added support for - using dot graphs directly in the token - -2010-04-29 15:23 robert - - * src/OpenThreads/pthreads/CMakeLists.txt: From Bernardt Duvenhage: - "I noticed that in 'src/OpenThreads/pthreads/CMakeLists.txt' a - '!' has been written instead of 'NOT' within an if statement - expression. - - IF(!OSG_COMPILE_FRAMEWORKS) ... - vs. - IF(NOT OSG_COMPILE_FRAMEWORKS) ... - - This has the effect of always compiling OpenThreads as a - framework under OSX. The CMakeLists.txt that I use to be able to - compile the non-framework version of OpenThreads is attached. I - simply replaced the '!' replaced by a 'NOT' and added a MESSAGE - to notify me when the .framework will be compiled." - -2010-04-29 11:59 robert - - * CMakeModules/FindFBX.cmake: From Michael Platings, "I've updated - the FBX plugin to use the latest version of the FBX SDK. I've - checked in the plugin files myself, but I need you to check in - this change to FindFBX.cmake to change the SDK directory." - -2010-04-29 09:46 robert - - * examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp: Fixed - handling of Terrain/CoordinateSystem node so that the code now - handles the fact that Terrain now subclasses from - CoordinateSystemNode. - -2010-04-28 22:08 robert - - * src/osgWrappers/introspection/genwrapper.conf, - src/osgWrappers/introspection/osg/FrameBufferObject.cpp, - src/osgWrappers/introspection/osg/PrimitiveSet.cpp, - src/osgWrappers/introspection/osgManipulator/RotateCylinderDragger.cpp, - src/osgWrappers/introspection/osgManipulator/RotateSphereDragger.cpp, - src/osgWrappers/introspection/osgManipulator/Scale1DDragger.cpp, - src/osgWrappers/introspection/osgManipulator/Scale2DDragger.cpp, - src/osgWrappers/introspection/osgManipulator/ScaleAxisDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TabBoxDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TabBoxTrackballDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TabPlaneDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TabPlaneTrackballDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TrackballDragger.cpp, - src/osgWrappers/introspection/osgManipulator/Translate1DDragger.cpp, - src/osgWrappers/introspection/osgManipulator/Translate2DDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TranslateAxisDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TranslatePlaneDragger.cpp, - src/osgWrappers/introspection/osgPresentation/SlideShowConstructor.cpp: - Updated wrappers - -2010-04-28 21:22 robert - - * CMakeLists.txt, include/osg/BlendColor, - include/osg/BlendEquation, include/osg/BlendFunc, - include/osg/BufferObject, include/osg/ClampColor, - include/osg/Drawable, include/osg/FragmentProgram, - include/osg/FrameBufferObject, include/osg/GL, - include/osg/GL2Extensions, include/osg/GLU, - include/osg/Multisample, include/osg/Point, include/osg/State, - include/osg/StencilTwoSided, include/osg/Texture, - include/osg/Texture2DArray, include/osg/Texture3D, - include/osg/VertexProgram, src/osg/ArrayDispatchers.cpp, - src/osg/Config.in, src/osg/GLExtensions.cpp, - src/osg/Texture1D.cpp, src/osgViewer/GraphicsWindowWin32.cpp: - From Alok Priyadarshi, "1. Replaced APIENTRY to GL_APIENTRY which - is used by OpenGL ES - headers. For desktop GL GL_APIENTRY has been defined as - APIENTRY." - -2010-04-28 21:10 robert - - * include/osg/PrimitiveSet, - src/osgWrappers/deprecated-dotosg/osg/Geometry.cpp: Fixed typo - -2010-04-28 20:33 robert - - * include/osg/Notify, src/osgGA/KeySwitchMatrixManipulator.cpp: - From Wang Rui, "Two small bugs were just found when I was writing - examples for my book - in process: a wrong definition of the OSG_FATAL macro, and wrong - logic - inside the KeySwitchMatrixManipulator::getDistance() function. I - believe both were slips." - -2010-04-28 20:21 robert - - * src/osgDB/FileNameUtils.cpp: From Farshid Lashkari, "There's a - subtle bug in osgDB::getFileExtension where it returns an - incorrect value if the filename does not contain an extension but - a sub-directory contains a dot character. I've modified the - function so that it checks for this case." - -2010-04-28 20:16 robert - - * include/osgManipulator/AntiSquish, include/osgManipulator/Export, - include/osgManipulator/RotateCylinderDragger, - include/osgManipulator/RotateSphereDragger, - include/osgManipulator/Scale1DDragger, - include/osgManipulator/Scale2DDragger, - include/osgManipulator/Translate1DDragger, - include/osgManipulator/Translate2DDragger, - src/osgWrappers/serializers/CMakeLists.txt, - src/osgWrappers/serializers/osgManipulator, - src/osgWrappers/serializers/osgManipulator/AntiSquish.cpp, - src/osgWrappers/serializers/osgManipulator/CMakeLists.txt, - src/osgWrappers/serializers/osgManipulator/CompositeDragger.cpp, - src/osgWrappers/serializers/osgManipulator/Dragger.cpp, - src/osgWrappers/serializers/osgManipulator/RotateCylinderDragger.cpp, - src/osgWrappers/serializers/osgManipulator/RotateSphereDragger.cpp, - src/osgWrappers/serializers/osgManipulator/Scale1DDragger.cpp, - src/osgWrappers/serializers/osgManipulator/Scale2DDragger.cpp, - src/osgWrappers/serializers/osgManipulator/ScaleAxisDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TabBoxDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TabBoxTrackballDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TabPlaneDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TabPlaneTrackballDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TrackballDragger.cpp, - src/osgWrappers/serializers/osgManipulator/Translate1DDragger.cpp, - src/osgWrappers/serializers/osgManipulator/Translate2DDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TranslateAxisDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TranslatePlaneDragger.cpp, - src/osgWrappers/serializers/osgTerrain/Terrain.cpp: From Wang - Rui, "The osgManipulator serializers are ready now. I need to - modify the - META_OSGMANIPULATOR_Object macro to ensure these classes could - work - with their wrappers, and a few naming styles should be changed as - well. Fortunately everything seems to compile fine under Windows - and - my new Ubuntu system. - - And I finally find the problem of the - serializers/osgTerrain/Terrain.cpp, it just missed an - "osg::Group" - before "osg::CoordinateSystemNode" indicator. With the small fix - attached now VPB could generate terrain with osgt/osgb formats." - -2010-04-28 20:10 robert - - * src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgTerrain/GeometryTechnique.cpp: From John Ivar Haugland and - Michael Platings, - JIV:"I deleted a line from the ReaderWriterDAE.cpp file that was - introduced in rev 11341. I got a crash on this line when the - options pointer was NULL." - MP:"Good spot John. The next line is also unnecessary and can be - removed as well (attached, plus some minor code beautifying)" - -2010-04-28 18:53 robert - - * include/osgPresentation/SlideShowConstructor, - src/osgPresentation/SlideShowConstructor.cpp: Added support for - passing options to the .dot plugin - -2010-04-28 18:52 robert - - * src/osgPlugins/dot/BaseDotVisitor.cpp, - src/osgPlugins/dot/BaseDotVisitor.h, - src/osgPlugins/dot/ReaderWriterDOT.cpp: Added support for passing - in an options string to control the orientation of the generated - graph - -2010-04-28 17:29 robert - - * applications/present3D/ReadShowFile.cpp, - applications/present3D/ReadShowFile.h, - applications/present3D/present3D.cpp: Introduced the use of - ref_ptr<> in read show methods - -2010-04-28 17:18 robert - - * applications/present3D/ReaderWriterP3D.cpp, - applications/present3D/ReaderWriterPaths.cpp: Removed redundent - files - -2010-04-28 14:56 robert - - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added support for - using graphviz dot for graphics visualization via - filename token. - -2010-04-28 14:55 robert - - * src/osgPlugins/ive/ReaderWriterIVE.cpp: Fixed typo - -2010-04-28 14:55 robert - - * src/osgPlugins/dot/SimpleDotVisitor.cpp: Added colours and - different style to drawable and statesets - -2010-04-28 14:05 mplatings - - * src/osgPlugins/fbx/fbxRNode.cpp: No longer removes redundant - nodes because node structure may be important. - -2010-04-28 10:15 robert - - * src/osgPlugins/xine/ReaderWriterXine.cpp: Replaced afprintf usage - with std::string to fix memory leak and improve portability of - code. - -2010-04-26 10:07 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated xcode-project - -2010-04-23 16:35 robert - - * include/osg/State: From Roland Smeenk and Robert Osfield, - improvements to the indentation of comments. - -2010-04-23 09:29 robert - - * src/osg/TransferFunction.cpp: From Hatwig Wiesmann, - "osg::TransferFunction1D::assignToImage may assign NaN values to - the image in case an underflow inside the method occurs. This - underflow can be reproduced by the following call sequence: - - osg::TransferFunction1D* tf(new osg::TransferFunction1D()); - - tf->allocate(18); - tf->setColor(-10000,osg::Vec4( 1.0, 1.0, 1.0,1.0)); - tf->setColor(-1e-6,osg::Vec4( 1.0, 1.0, 1.0,1.0)); - tf->setColor( 0,osg::Vec4( 0.0, 0.0, 1.0,1.0)); - - Remark: The value -1e-6 may be added (falsely) because of a - rounding error. - - The attached fix prevents assigning NaN values to the image. - " - -2010-04-23 08:58 robert - - * examples/osgfpdepth/osgfpdepth.cpp: Fixed warnings - -2010-04-23 08:55 robert - - * src/osgWrappers/serializers/osgAnimation/Animation.cpp, - src/osgWrappers/serializers/osgAnimation/AnimationManagerBase.cpp, - src/osgWrappers/serializers/osgAnimation/MorphGeometry.cpp, - src/osgWrappers/serializers/osgAnimation/RigGeometry.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateMatrixTransform.cpp, - src/osgWrappers/serializers/osgFX/MultiTextureControl.cpp: From - Mourad Boufarguine, "This submissions fixes the problem of the - difference of std::*::size_type between 32bit and 64 bit - platforms. It wraps the reading and writing of std::*::size_type - values using the osgDB::InputStream::readSize and - osgDB::OutputStream::writeSize methods." - -2010-04-22 17:02 robert - - * include/osg/FrameBufferObject, include/osg/Texture, - include/osg/Texture2DMultisample, src/osg/CMakeLists.txt, - src/osg/FrameBufferObject.cpp, src/osg/Texture.cpp, - src/osg/Texture2DMultisample.cpp, src/osgUtil/RenderStage.cpp: - From Marcin Hajder, "This submission contains - Texture2DMultisample osg implementation. - - Texture2DMultismaple as name suggests provides means to directly - access subsamples of rendered FBO target. (GLSL 1.5 texelFetch - call). - - Recently I was working on deferred renderer with OSG, during that - I noticed there is no support for multisampled textures - (GL_ARB_texture_multisample extension). After consultations with - Paul Martz and Wojtek Lewandowski I added Texture2DMultisample - class and made few necessary changes around - osg::FrameBufferObject, osg::Texture and osgUtil::RenderStage - classes." - - and from follow email: - - "Fixed. According to ARB_texture_multisample extension - specification multisample textures don't need TexParameters since - they can only be fetched with texelFetch." - -2010-04-22 16:08 robert - - * src/osgDB/ConvertUTF.cpp: From Farshid Lashkari, "I've attached a - small fix so that osgDB::convertStringFromUTF8toCurrentCodePage - actually performs the conversion onto the destination string." - -2010-04-22 16:01 robert - - * src/OpenThreads/win32/CMakeLists.txt, - src/OpenThreads/win32/HandleHolder.h, - src/OpenThreads/win32/Win32BarrierPrivateData.h, - src/OpenThreads/win32/Win32Condition.h, - src/OpenThreads/win32/Win32ConditionPrivateData.h, - src/OpenThreads/win32/Win32MutexPrivateData.h, - src/OpenThreads/win32/Win32ThreadPrivateData.h, - src/osg/GLExtensions.cpp, - src/osgWrappers/introspection/osgViewer/GraphicsWindow.cpp, - src/osgWrappers/introspection/osgViewer/ViewerEventHandlers.cpp: - From Alok Priyadashi, "The attached patch fixes - - compile errors on windows when compiled with UNICODE flag - - warnings for duplicate WIN32_LEAN_AND_MEAN. I think this should - better fixed by adding WIN32_LEAN_AND_MEAN to vcproj preprocessor - list." - -2010-04-22 13:07 robert - - * src/osgWrappers/serializers/osg/Object.cpp: From John Ivar - Haugland, "I have added the serializer for UserData in - osg::Object. See the attached modified file: - src\osgWrappers\serializers\osg\Object.cpp" - -2010-04-22 11:20 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Updated ChangeLog, and AUTHORS files - -2010-04-22 10:13 robert - - * examples/osgfpdepth/osgfpdepth.cpp: From Tim Moore, added check - to whether validConfigs is empty. - -2010-04-22 08:59 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: Added a temporary /* */ - around the check against _traits->vsync to avoid the errors - reported with the current usage of RestoreContext for setting the - vsync. - -2010-04-22 07:32 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Torben Dannhauer, - fixed typo - -2010-04-21 17:16 robert - - * include/osgViewer/GraphicsWindow, - include/osgViewer/ViewerEventHandlers, - include/osgViewer/api/Carbon/GraphicsWindowCarbon, - include/osgViewer/api/Win32/GraphicsWindowWin32, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/Viewer.cpp: - From Ulrich Hertlien with little bits from Robert Osfield and - Chris Hanson, added provisionl support for controlling sync to - vblank. - -2010-04-21 16:44 robert - - * src/osgViewer/StatsHandler.cpp: Changed "Sorted" label to "Sorted - Drawables" - -2010-04-21 16:37 robert - - * examples/osgfpdepth/osgfpdepth.cpp, - include/osg/FrameBufferObject: From Mourad Boufarguine, "When - compiling the example on VS9, the compiler complain about - undefined GL_DEPTH_COMPONENT32F and GL_DEPTH_COMPONENT32F_NV. So - I added them to include/osg/FrameBufferObject. The example builds - fine and is working for me without crashs unless it is ran - whithout argument. I added couple of lines to check for arguments - number and print the example usage when needed." - -2010-04-20 16:27 robert - - * CMakeModules/OsgMacroUtils.cmake: From Wang Rui, "The OSG book - I'm working on will focus on helping beginners build - latest OSG source code with Visual Studio 2010 express, without - setting too many options and without facing unexpected errors. - But at - present, the compilation process will fail because the INSTALL - project - 'cannot find' generated DLLs while copying files. I have looked - into - the build directory and found that the places of generated file - folders were just different from previous VS versions. In this - case, - the old hack in OsgMacroUtils.cmake may become invalid: - - MACRO(HANDLE_MSVC_DLL) - #this is a hack... the build place is set to lib/ by LIBARARY_OUTPUT_PATH equal to OUTPUT_LIBDIR - #the .lib will be crated in ../ so going straight in lib by - the IMPORT_PREFIX property - #because we want dll placed in OUTPUT_BINDIR ie the bin folder - sibling of lib, we can use ../../bin to go there, - ... - ELSE(NOT MSVC_IDE) - SET_TARGET_PROPERTIES(${LIB_NAME} PROPERTIES PREFIX - "../../bin/${LIB_PREFIX}${LIB_SOVERSION}-" IMPORT_PREFIX "../") - ENDIF(NOT MSVC_IDE) - ENDMACRO(HANDLE_MSVC_DLL) - - Here the prefix "../../bin" may need to be fixed. I just modified - it to: - - IF(MSVC_VERSION LESS 1600) - SET_TARGET_PROPERTIES(${LIB_NAME} PROPERTIES PREFIX - "../../bin/${LIB_PREFIX}${LIB_SOVERSION}-" IMPORT_PREFIX "../") - ENDIF() - - It should keep compatible with old MSVC versions. There are - similar - fixes in the SETUP_PLUGIN and SETUP_EXE macros. I haven't tested - them - on more platforms. - " - -2010-04-20 13:52 robert - - * src/osgGA/GUIEventHandler.cpp: From Serge Lages, "Currently if - multiple event callbacks are nested on one node, only the first - will be called. The proposed fix checks if there is a nested - callback." - -2010-04-20 13:34 robert - - * src/osgPlugins/3ds/lib3ds/lib3ds_file.c: Implemented Colin - MacDonald's recommended change of "unsigned short" to "unsigned" - to solve big endian problem under Solaris. - Also added comment to highlight the oddity of the mixing of types - in the associated lib3ds code. - -2010-04-20 11:38 robert - - * src/osgPlugins/vnc/ReaderWriterVNC.cpp: Replaced tabs with four - spaces - -2010-04-20 11:34 robert - - * src/osgWrappers/introspection/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/SoftShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/StandardShadowMap.cpp, - src/osgWrappers/introspection/osgUtil/RenderStage.cpp, - src/osgWrappers/introspection/osgUtil/Statistics.cpp, - src/osgWrappers/introspection/osgViewer/Renderer.cpp: UPdated - wrappers - -2010-04-20 11:23 robert - - * src/osgPlugins/curl/CMakeLists.txt: From Jason Beverage, "Here is - a fix to the curl plugin CMake to allow it to link against the - CURL_LIBRARY_DEBUG and ZLIB_LIBRARY_DEBUG. Previously it linked - the - debug version against the release libs, which was causing a hang - when - running in debug mode on Windows." - -2010-04-20 11:13 robert - - * src/osgUtil/SceneView.cpp: From Farshid Lashkari, "Anaglyphic - stereo does not seem to work properly when performing pre-render - stages. I believe the reason is that the pre-render stages are - performed with the last applied color mask, which is cyan. I've - fixed this by resetting the color mask before performing the - pre-render stages." - -2010-04-20 11:05 robert - - * src/osgViewer/StatsHandler.cpp: Fixed the background quad size to - fit all the camera stats labels - -2010-04-20 10:59 robert - - * include/osgUtil/Statistics, src/osgUtil/RenderBin.cpp, - src/osgUtil/Statistics.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/StatsHandler.cpp: From Tim Moore, "I noticed that - the "Materials" statistic in the camera scene stats display - seemed to be identical to the number of drawables. In fact, it - displays the nummat member of osgUtil::Statistics, but that - variable has nothing to do with materials. nummat tracks the - number of matrices associated with Drawable objects in a - RenderBin; as I understand it, Drawables pretty much always have - a model-view matrix tied to them in RenderBins, so this statistic - doesn't seem very useful. So, I added statistics for the number - of StateGraph objects in RenderBins and also for the number of - Drawables in the "fine grain ordering" of RenderBins. The latter - corresponds to the number of Drawables in the scene that are - sorted by some criteria other than graphics state; usually that - is distance for semi-transparent objects, though it could be - traversal order. These two statistics give an idea of the number - of graphic state changes happening in a visible scene: each - StateGraph implies a state change, and there could be a change - for each sorted object too. You can also subtract the number of - sorted Drawables from the total number of Drawables and get an - idea of how many Drawables are being drawn for each StateGraph. - " - -2010-04-20 10:35 robert - - * include/osgShadow/ParallelSplitShadowMap, - src/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/ParallelSplitShadowMap.cpp: - Changed the AbmientBias type from Vec2d to Vec2 as use of double - is inappropriate. - -2010-04-20 10:29 robert - - * include/osgDB/Serializer, include/osgShadow/DebugShadowMap, - include/osgShadow/MinimalShadowMap, - include/osgShadow/ParallelSplitShadowMap, - include/osgShadow/SoftShadowMap, - include/osgShadow/StandardShadowMap, - src/osgPlugins/3ds/lib3ds/lib3ds_file.c, - src/osgShadow/ParallelSplitShadowMap.cpp, - src/osgShadow/SoftShadowMap.cpp, - src/osgWrappers/serializers/CMakeLists.txt, - src/osgWrappers/serializers/osgFX, - src/osgWrappers/serializers/osgFX/AnisotropicLighting.cpp, - src/osgWrappers/serializers/osgFX/BumpMapping.cpp, - src/osgWrappers/serializers/osgFX/CMakeLists.txt, - src/osgWrappers/serializers/osgFX/Cartoon.cpp, - src/osgWrappers/serializers/osgFX/Effect.cpp, - src/osgWrappers/serializers/osgFX/MultiTextureControl.cpp, - src/osgWrappers/serializers/osgFX/Outline.cpp, - src/osgWrappers/serializers/osgFX/Scribe.cpp, - src/osgWrappers/serializers/osgFX/SpecularHighlights.cpp, - src/osgWrappers/serializers/osgShadow, - src/osgWrappers/serializers/osgShadow/CMakeLists.txt, - src/osgWrappers/serializers/osgShadow/DebugShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/LightSpacePerspectiveShadowMapCB.cpp, - src/osgWrappers/serializers/osgShadow/LightSpacePerspectiveShadowMapDB.cpp, - src/osgWrappers/serializers/osgShadow/LightSpacePerspectiveShadowMapVB.cpp, - src/osgWrappers/serializers/osgShadow/MinimalCullBoundsShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/MinimalDrawBoundsShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/MinimalShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/ShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/ShadowTechnique.cpp, - src/osgWrappers/serializers/osgShadow/ShadowTexture.cpp, - src/osgWrappers/serializers/osgShadow/ShadowVolume.cpp, - src/osgWrappers/serializers/osgShadow/ShadowedScene.cpp, - src/osgWrappers/serializers/osgShadow/SoftShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/StandardShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/ViewDependentShadowTechnique.cpp: - From Wang Rui, "The new osgShadow and osgFX serializers are - attached, and some - modifications of the osgShadow header naming styles as well. The - osgDB::Serializer header is also changed to add new Vec2 - serializer - macros because of the needs of osgShadow classes. It should - compile - fine on both Windows and Linux. But I have only done a few tests - to - generate .osgb, .osgt and .osgx formats with these new wrappers." - -2010-04-20 09:48 robert - - * src/osgPlugins/dae/daeWriter.h: From Mourad Boufarguine, "This - submission fixes osgDAE::toString(*) unresolved external symbols - compile errors (on VS)." - -2010-04-19 14:49 robert - - * include/osgUtil/RenderStage, src/osgUtil/CullVisitor.cpp, - src/osgUtil/RenderStage.cpp, src/osgUtil/SceneView.cpp: From - Farshid Lashkari, "I noticed that - osg::State::getInitialViewMatrix returns the monocular view - matrix when rendering in stereo. I've made some changes to - osgUtil::RenderStage & SceneView so that it will return the - correct view matrix depending on which eye is currently being - rendered." & "I made a small change to the previous patch so that - osg::State::getInitialViewMatrix works correctly with pre/post - render stages as well." - -2010-04-19 13:44 robert - - * CMakeLists.txt, CMakeModules/ModuleInstall.cmake, - src/OpenThreads/pthreads/CMakeLists.txt, - src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/ReaderWriterDAE.h, - src/osgPlugins/dae/daeWMaterials.cpp, - src/osgPlugins/dae/daeWriter.cpp, src/osgPlugins/dae/daeWriter.h, - src/osgViewer/CMakeLists.txt: From Stephan Huber and Mathieu - Marache, "attached you'll find framework support for os x via - cmake. Please credit - Mathieu Marache, he added the last missing piece to this puzzle. - - I think it is safe to commit these changes to trunk, as the - traditional - way via dylibs should work as before. - - Here's some more info how to get frameworks: - - With these modifications it is possible to compile frameworks on - OS X, - when you set the Cmake-option OSG_COMPILE_FRAMEWORKS to true. If - you - want to embed the frameworks in your app-bundle make sure to set - OSG_COMPILE_FRAMEWORKS_INSTALL_NAME_DIR accordingly. - - You'll have to build the install-target of the generated - xcode-projects - as this sets the install_name_dirs of the frameworks and - plugins." - -2010-04-19 12:09 robert - - * include/osgDB/Serializer, - src/osgWrappers/serializers/osg/LineStipple.cpp, - src/osgWrappers/serializers/osg/Texture.cpp: From Martins - Innus,"Here's a fix to allow the serializer to compile on the Mac - 10.4 SDK. The definition of GLint seems to be different accross - the SDKs. Its defined as "long" in 10.4. I have no idea if this - is the correct way to go about this, but it compiles on my end." - -2010-04-19 11:43 robert - - * examples/CMakeLists.txt, examples/osgfpdepth, - examples/osgfpdepth/CMakeLists.txt, - examples/osgfpdepth/osgfpdepth.cpp, - include/osg/FrameBufferObject, include/osgViewer/Renderer, - src/osg/FrameBufferObject.cpp, src/osgUtil/RenderStage.cpp, - src/osgViewer/Renderer.cpp: From Tim Moore, "This contains a - couple of fixes to support changing FrameBufferObject - configurations on the fly; the user changes the camera - attachments and calls Renderer::setCameraRequiresSetUp(). The - major part of this submission is a comprehensive example of - setting up floating point depth buffers. The user can change the - near plane value and cycle through the available combinations of - depth format and multisample buffer formats." - -2010-04-19 10:35 robert - - * examples/osganimationmorph/osganimationmorph.cpp, - examples/osganimationsolid/osganimationsolid.cpp, - include/osgAnimation/Action, include/osgAnimation/Animation, - include/osgAnimation/AnimationManagerBase, - include/osgAnimation/StackedRotateAxisElement, - include/osgDB/ObjectWrapper, include/osgDB/Serializer, - src/osgAnimation/AnimationManagerBase.cpp, - src/osgAnimation/StackedRotateAxisElement.cpp, - src/osgPlugins/osg/XmlStreamOperator.h, - src/osgWrappers/deprecated-dotosg/osgAnimation/ReaderWriter.cpp, - src/osgWrappers/introspection/osgAnimation/Action.cpp, - src/osgWrappers/introspection/osgAnimation/ActionStripAnimation.cpp, - src/osgWrappers/introspection/osgAnimation/Animation.cpp, - src/osgWrappers/introspection/osgAnimation/AnimationManagerBase.cpp, - src/osgWrappers/introspection/osgAnimation/StackedRotateAxisElement.cpp, - src/osgWrappers/serializers/CMakeLists.txt, - src/osgWrappers/serializers/osg/Geometry.cpp, - src/osgWrappers/serializers/osgAnimation, - src/osgWrappers/serializers/osgAnimation/Action.cpp, - src/osgWrappers/serializers/osgAnimation/ActionAnimation.cpp, - src/osgWrappers/serializers/osgAnimation/ActionBlendIn.cpp, - src/osgWrappers/serializers/osgAnimation/ActionBlendOut.cpp, - src/osgWrappers/serializers/osgAnimation/ActionStripAnimation.cpp, - src/osgWrappers/serializers/osgAnimation/Animation.cpp, - src/osgWrappers/serializers/osgAnimation/AnimationManagerBase.cpp, - src/osgWrappers/serializers/osgAnimation/BasicAnimationManager.cpp, - src/osgWrappers/serializers/osgAnimation/Bone.cpp, - src/osgWrappers/serializers/osgAnimation/CMakeLists.txt, - src/osgWrappers/serializers/osgAnimation/MorphGeometry.cpp, - src/osgWrappers/serializers/osgAnimation/RigGeometry.cpp, - src/osgWrappers/serializers/osgAnimation/Skeleton.cpp, - src/osgWrappers/serializers/osgAnimation/StackedMatrixElement.cpp, - src/osgWrappers/serializers/osgAnimation/StackedQuaternionElement.cpp, - src/osgWrappers/serializers/osgAnimation/StackedRotateAxisElement.cpp, - src/osgWrappers/serializers/osgAnimation/StackedScaleElement.cpp, - src/osgWrappers/serializers/osgAnimation/StackedTransformElement.cpp, - src/osgWrappers/serializers/osgAnimation/StackedTranslateElement.cpp, - src/osgWrappers/serializers/osgAnimation/Timeline.cpp, - src/osgWrappers/serializers/osgAnimation/TimelineAnimationManager.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateBone.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateMaterial.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateMatrixTransform.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateMorph.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateSkeleton.cpp: From - Wang Rui, "Attached is the osgAnimation wrappers for serialize IO - operations. A - few headers and the osgAnimation sources are also modified to - make - everything goes well, including: - - A new REGISTER_OBJECT_WRAPPER2 macro to wrap classes like - Skeleton::UpdateSkeleton. - A bug fix in the Seralizer header which avoids setting default - values - to objects. - Naming style fixes in osgAnimation headers and sources, also in - the - deprecated dotosg wrappers. - A bug fix for the XML support, to write char values correctly. - A small change in the osg::Geometry wrapper to ignore the - InternalGeometry property, which is used by the MorphGeometry and - should not be set by user applications. - - The avatar.osg, nathan.osg and robot.osg data files all work fine - with - serializers, with some 'unsupported wrapper' warnings when - converting. - I'm thinking of removing these warnings by disabling related - property - serializers (ComputeBoundingBoxCallback and - Drawable::UpdateCallback), - which are seldom recorded by users. - - By the way, I still wonder how would we handle the C4121 problem, - discussed some days before. The /Zp compile option is set to 16 - in the - attached cmake script file. And is there a better solution now?" - -2010-04-19 09:39 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.h, - src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.h: From Paul Martz, fixes - for static build - -2010-04-19 08:41 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project - -2010-04-15 18:40 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/lib3ds/lib3ds.h, - src/osgPlugins/3ds/lib3ds/lib3ds_io.c: From Colin McDonald, "The - new 3ds plugin isn't working at all on big-endian machines, due - to - a byte order issue. - - The problem is that osg::SwapBytes code has been copied from the - old - plugin to the new one, but the latest lib3ds also incorporates - code to - handle byte ordering in read & writing. So the net result is that - the - swap is done twice. - - The solution is simply to remove the custom osg code, and use the - stock lib3ds code. The attached files are against today's - revision - 11331. I've tested on Sparc & Intel. - " - -2010-04-15 18:38 robert - - * src/osgPlugins/3ds/lib3ds/lib3ds.h, - src/osgPlugins/3ds/lib3ds/lib3ds_impl.h: Ran dos2unix on header - files - -2010-04-15 18:38 robert - - * src/osgPlugins/3ds/lib3ds/lib3ds_atmosphere.c, - src/osgPlugins/3ds/lib3ds/lib3ds_background.c, - src/osgPlugins/3ds/lib3ds/lib3ds_camera.c, - src/osgPlugins/3ds/lib3ds/lib3ds_chunk.c, - src/osgPlugins/3ds/lib3ds/lib3ds_chunktable.c, - src/osgPlugins/3ds/lib3ds/lib3ds_file.c, - src/osgPlugins/3ds/lib3ds/lib3ds_io.c, - src/osgPlugins/3ds/lib3ds/lib3ds_light.c, - src/osgPlugins/3ds/lib3ds/lib3ds_material.c, - src/osgPlugins/3ds/lib3ds/lib3ds_math.c, - src/osgPlugins/3ds/lib3ds/lib3ds_matrix.c, - src/osgPlugins/3ds/lib3ds/lib3ds_mesh.c, - src/osgPlugins/3ds/lib3ds/lib3ds_node.c, - src/osgPlugins/3ds/lib3ds/lib3ds_quat.c, - src/osgPlugins/3ds/lib3ds/lib3ds_shadow.c, - src/osgPlugins/3ds/lib3ds/lib3ds_track.c, - src/osgPlugins/3ds/lib3ds/lib3ds_util.c, - src/osgPlugins/3ds/lib3ds/lib3ds_vector.c, - src/osgPlugins/3ds/lib3ds/lib3ds_viewport.c: Ran dos2unix on - lib3ds files - -2010-04-15 12:51 robert - - * src/osgDB/DatabasePager.cpp: From J.P. Delport, Fix for invalid - iterator dereference in DatabasePager. - -2010-04-15 11:49 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.h: From Sukender, "After - discussion with Paul Martz, here is a fix for 3DS reader/writer - (on rev. 11315) + some changes. Changelog: - - - Fixed handling of MatrixTransforms (still doesn't support other - Transforms types). Fixes things for OSG, DeepExploration, - 3DSMax... - - Added support for writing double precision vertices by - converting them. - - Added base code for future compatibility option (3rd-party apps - that don't read animation data). See "DISABLE_3DS_ANIMATION" - compile flag." - -2010-04-15 11:45 robert - - * src/osgDB/DatabasePager.cpp: From Jason Beverage, "Here is a - small fix to the DatabasePager to fix a crash if you were - running with the OSG_NOTIFY_LEVEL set to INFO. - - An iterator was being erased, and then referenced to display a - message. Just changed it to display the message first, then - erase." - -2010-04-15 11:41 robert - - * src/osg/GL2Extensions.cpp, src/osg/Program.cpp, - src/osg/Shader.cpp: From Chris Hanson, build fixes for Solaris-64 - -2010-04-15 11:40 robert - - * src/osgPlugins/3ds/WriterNodeVisitor.cpp: Changed std::pair - declaration to ListTriangle::value_type to avoid Solaris compile - errors - -2010-04-15 11:02 robert - - * src/osgDB/DatabasePager.cpp, src/osgViewer/ViewerBase.cpp: - Removed the setting of the DatabasePager thread affinity, and - moved the setting of the DatabasePager thread priotity to after - the creation of the threads - -2010-04-14 16:43 mplatings - - * src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/ReaderWriterFBX.h, - src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/fbxRAnimation.cpp, - src/osgPlugins/fbx/fbxRAnimation.h, - src/osgPlugins/fbx/fbxRCamera.h, src/osgPlugins/fbx/fbxRLight.h, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRMesh.h, - src/osgPlugins/fbx/fbxRNode.cpp, src/osgPlugins/fbx/fbxRNode.h: - Updated the plugin to be compatible with version 2011.2 of the - FBX SDK - -2010-04-14 13:39 robert - - * src/osgViewer/ViewerBase.cpp: Added minimum frame delay of - 1/100th second when using - on demand rendering to avoid creating a CPU lock. - -2010-04-14 10:43 robert - - * src/osgWrappers/introspection/osg/BufferObject.cpp, - src/osgWrappers/introspection/osgDB/Options.cpp: Updated wrappers - -2010-04-13 18:42 robert - - * include/osg/BufferObject: Added BufferData::ModifiedCallback to - provide a mechanism for tracking when a osg::Image::dirty() has - been called to signify that an image has been modified. - -2010-04-13 14:50 mplatings - - * src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/WriterCompareTriangle.cpp, - src/osgPlugins/fbx/WriterCompareTriangle.h, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRMesh.h, - src/osgPlugins/fbx/fbxRNode.cpp, src/osgPlugins/fbx/fbxRNode.h: - Added support for double precision geometry - -2010-04-13 13:06 robert - - * include/osgDB/Options, src/osgDB/Options.cpp: From Michael - Platings with tweaks from Robert Osfield, added - Options::s/getPrecisionHint(..) to allow apps to hint to plugins - about how to handle double precision geometry data. - -2010-04-13 09:42 robert - - * include/osg/observer_ptr, include/osgDB/StreamOperator: Fixed - warnings - -2010-04-13 09:42 robert - - * src/osgWrappers/introspection/osgTerrain/TerrainTile.cpp: updated - wrappers - -2010-04-12 16:35 mplatings - - * src/osgPlugins/fbx/fbxRAnimation.cpp, - src/osgPlugins/fbx/fbxRMesh.cpp: osgAnimation now stores times as - doubles - -2010-04-12 15:04 mplatings - - * src/osgPlugins/fbx/CMakeLists.txt, - src/osgPlugins/fbx/ReaderWriterFBX.h, - src/osgPlugins/fbx/WriterCompareTriangle.cpp, - src/osgPlugins/fbx/WriterCompareTriangle.h, - src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.h: From Sukender: Fixed FBX - writer: now handles double precision arrays (vertices, normals, - texcoords) - -2010-04-09 08:52 robert - - * include/osgTerrain/TerrainTile, - src/osgTerrain/GeometryTechnique.cpp: Added corner dirty options - to TerrainTechnique, added experimental code paths in - GeometryTechnique for accounting for neighbouring corner tiles - - optionally compiled out in this check-in. - - Changed the normal computation in GeometryTechnique so that it - doesn't include diagonals, thus avoid normal jumps at corners. +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. -2010-04-03 16:26 robert +A consequence of this is that I have changed the pan-code to use the same algorithm as the middle-mouse-pan. - * src/osgWrappers/introspection/osgDB/DatabasePager.cpp, - src/osgWrappers/introspection/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/introspection/osgTerrain/Terrain.cpp, - src/osgWrappers/introspection/osgTerrain/TerrainTechnique.cpp, - src/osgWrappers/introspection/osgTerrain/TerrainTile.cpp: Updated - wrappers +The rest of it is very similar from previous revision, and there has been some fine-tuning here and there. -2010-04-03 16:21 robert - - * include/osgTerrain/GeometryTechnique, include/osgTerrain/Terrain, - include/osgTerrain/TerrainTechnique, - include/osgTerrain/TerrainTile, - src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/ReadWrite.h, src/osgPlugins/ive/Terrain.cpp, - src/osgPlugins/ive/Terrain.h, src/osgPlugins/ive/TerrainTile.cpp, - src/osgPlugins/ive/TerrainTile.h, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Terrain.cpp, - src/osgTerrain/TerrainTechnique.cpp, - src/osgTerrain/TerrainTile.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/Terrain.cpp, - src/osgWrappers/serializers/osgTerrain/Terrain.cpp: Change - Terrain so that it subclassed from CoordinateSystemNode. - - Implemented new update scheme of GeometryTechnique to avoid - potential threading issues. - - Added Terrain support to .ive. - -2010-04-01 21:18 robert - - * include/osgTerrain/TerrainTechnique, - src/osgWrappers/introspection/osgTerrain/TerrainTechnique.cpp: - Removed getNeighbours() method to avoid problems with - introspection wrappers - -2010-04-01 21:15 robert - - * src/osgWrappers/introspection/genwrapper.conf, - src/osgWrappers/introspection/osgTerrain/TerrainTechnique.cpp: - Removed TerrainNeightbours class from wrapping to avoid - associated build errors - -2010-04-01 21:06 robert - - * include/osgTerrain/GeometryTechnique, include/osgTerrain/Terrain, - include/osgTerrain/TerrainTechnique, - include/osgTerrain/TerrainTile, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Terrain.cpp, - src/osgTerrain/TerrainTechnique.cpp, - src/osgTerrain/TerrainTile.cpp, - src/osgWrappers/introspection/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/introspection/osgTerrain/Terrain.cpp, - src/osgWrappers/introspection/osgTerrain/TerrainTechnique.cpp, - src/osgWrappers/introspection/osgTerrain/TerrainTile.cpp: Added - support for boundary equalization to GeometryTechnique - -2010-04-01 21:04 robert - - * examples/osgterrain/osgterrain.cpp: Added window size event - handler - -2010-03-29 08:49 robert - - * examples/osgterrain/osgterrain.cpp: Added TerainHandler event - handler to provide 'v'/'V' and 'r'/'R' key controls for change - vertical scale and sample ratio respectively. - -2010-03-26 11:09 robert - - * src/osgViewer/StatsHandler.cpp: From Jean-Sebastien Guay, "When - the StatsHandler tries to find a context to add itself to, it - will first look for a GraphicsWindow, and if none is found it - will look for a GraphicsContext. This enables apps that do all - their rendering to offscreen contexts (pbuffer) to still use the - StatsHandler." - -2010-03-26 11:07 robert - - * src/osgWrappers/introspection/osgAnimation/Animation.cpp, - src/osgWrappers/introspection/osgAnimation/Channel.cpp, - src/osgWrappers/introspection/osgAnimation/Keyframe.cpp, - src/osgWrappers/introspection/osgAnimation/Sampler.cpp, - src/osgWrappers/introspection/osgTerrain/Layer.cpp: Updated - wrappers - -2010-03-26 09:01 robert - - * CMakeLists.txt: From Jim Brooks, fix for FreeBSD build where - FIND_LIBRARY(DL_LIBRARY..) return NOT_FOUND. - -2010-03-25 20:20 cedricpinson - - * src/osgAnimation/Animation.cpp: Fix compile issue t = fmod(t, - (float)_duration); - -2010-03-25 17:50 cedricpinson - - * include/osgAnimation/Animation, include/osgAnimation/Channel, - include/osgAnimation/Keyframe, include/osgAnimation/Sampler, - include/osgAnimation/Target, src/osgAnimation/Animation.cpp: - Change time type from float to double in osgAnimation - -2010-03-25 14:19 robert - - * src/osgPlugins/vrml/Primitives.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.h: From Mathias Froehlich, - "I added some features to the vrml plugin. - - The plugin can now handle embeded PixelTexture fields in addition - to the - already implemented ImageTexture fields. - - Fixed a bug with texture repeat being applied to the wrong - texture dimension. - - Added handling for IndexedLineSet geometries." - -2010-03-25 14:14 robert - - * include/osgViewer/api/Cocoa/GraphicsWindowCocoa, - src/osgViewer/GraphicsWindowCocoa.mm: From Stephan Huber, - "attached you'll find a small enhancement for - GraphicsWindowCocoa. My - submision adds a getter for the pixel-format. I need this for - some - custom software so I can integrate CoreVideo-playback with osg. - " +" -2010-03-25 14:12 robert - * examples/osganimationeasemotion/osganimationeasemotion.cpp: Fixed - warning -2010-03-25 11:11 robert +Thu, 24 Apr 2014 10:49:57 +0000 +Checked in by : Robert Osfield +From Mattias Helsing, "Seems I was only half right given what you asked for. CMP0017 only says that modules that are found and ran from cmake modules dir should prefer cmake-provided modules. find_package() and include() still look in CMAKE_MODULE_PATH first.After some investigating I've come up with a proposal examplified in +the attached FindGDAL.cmake script. It simply calls the cmake provided +FindGDAL.cmake if it exists and returns if it succeeds in finding GDAL +using that, otherwise continue with our local cmake code. +Pro: Wont clutter our root CMakeLists.txt +Con: If we begin to write more advanced Findxxx modules (using +COMPONENTS, REQUIRED etc.) we may have to revise this scheme. +" - * include/osgTerrain/Layer, src/osgTerrain/GeometryTechnique.cpp: - Introduced the use of linear interpolation of evelvations when - sampling -2010-03-24 17:12 robert - * src/OpenThreads/pthreads/CMakeLists.txt: Added a compile test for - pthread_setaffinity_np to workaround problem with the FreeBSD - pthread lib containing the function but the pthread.h header not - containing it. +Thu, 24 Apr 2014 10:38:58 +0000 +Checked in by : Robert Osfield +Fixed reference invalidation bug. -2010-03-24 14:27 robert +Thu, 24 Apr 2014 07:22:55 +0000 +Checked in by : Robert Osfield +Fixed typo in OPENSCENEGRAPH_OPENGL_HEADER name - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: - Refactored the way that the RequestQueue's are pruned and highest - prioty items taken from them so the operation is - now O(n) rather than O(nlogn) where n is the number of requests. - The refactoring also cleans up the access of the - request lists so that the code is more readable/maintainable. +Thu, 24 Apr 2014 07:20:44 +0000 +Checked in by : Robert Osfield +Removed header as this CMake generated configuration file is not required to be part of svn repository -2010-03-23 12:41 robert +Wed, 23 Apr 2014 19:30:33 +0000 +Checked in by : Robert Osfield +Added src/osg/OpenGL.in configuration file and include/osg/OpenGL header files - * src/osgWrappers/introspection/osgDB/DatabasePager.cpp: Updated - wrappers +Wed, 23 Apr 2014 09:08:26 +0000 +Checked in by : Robert Osfield +Introduced new scheme for setting up which version of OpenGL/OpenGL ES the OSG is compiled for.To select standard OpenGL 1/2 build with full backwards and forwards comtability use: -2010-03-22 17:55 robert + ./configure + make - * src/osgPlugins/dae/daeRAnimations.cpp, - src/osgPlugins/dae/daeReader.h: From Michael Platings, "the - attached files fix the DAE importer for animations that don't - contain channels for all X, Y and Z components, as exported by - SoftImage." +OR -2010-03-22 14:32 robert + ./configure -DOPENGL_PROFILE=GL2 - * src/osgViewer/DarwinUtils.h: Changed private: to protected: to - fix build issue under OSX +To select OpenGL 3 core profile build using GL3/gl3.h header: -2010-03-22 13:13 robert + ./configure -DOPENGL_PROFILE=GL3 - * src/osgPlugins/gz/ReaderWriterGZ.cpp: From Chuck Seberino, "have - a fix for the reading code in - trunk/src/osgPlugins/gz/ReaderWriterGZ.cpp. It seems that the - std::istream::readsome method on windows is a no-op (for files. - After much head scratching and research I was able to figure out - what was going on. I am submitting a fix to replace readsome with - read() and gcount(). This change is for all platforms. The - previous implementation works fine under linux and OSX, so if you - would rather keep things the way they are you can just #ifdef for - non-WIN32. - - I also added openmode flags to the ifstream constructor, since - they were needed to get proper reading as well as a typo fix." +To select OpenGL Arb core profile build using GL/glcorearb.h header: -2010-03-22 12:50 robert + ./configure -DOPENGL_PROFILE=GLCORE - * src/osg/Notify.cpp: From Farshid Lashkari, "I noticed that - osg::notify does not output to stderr when using either FATAL or - WARN severity levels. There is code in - osg::StandardNotifyHandler::notify that will use stderr based on - the severity level, but it is disabled by an #if 0. I'm assuming - this was a mistake and have re-enabled the code. - - Many IDEs will capture the output of processes and highlight - stderr messages in red. After upgrading from OSG 1.2, I was - noticing that none of the error messages were being highlighted, - which I find quite useful." +To select OpenGL ES 1.1 profile use: -2010-03-22 10:43 shuber + ./configure -DOPENGL_PROFILE=GLES1 - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated xcode-project +To select OpenGL ES 2 profile use: -2010-03-20 09:45 robert + ./configure -DOPENGL_PROFILE=GLES2 - * src/osgViewer/GraphicsWindowCarbon.cpp: From Ulrich Hertlein, - changed init() call to _init(). -2010-03-19 20:12 mplatings +Using OPENGL_PROFILE will select all the appropriate features required so no other settings in cmake will need to be adjusted. +The new configuration options are stored in the include/osg/OpenGL header that deprecates the old include/osg/GL header. - * src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRMesh.h, - src/osgPlugins/fbx/fbxRNode.cpp, src/osgPlugins/fbx/fbxRNode.h: - Workaround for files exported from SoftImage that don't tag - skeleton nodes correctly. -2010-03-19 18:28 mplatings - * src/osgPlugins/fbx/CMakeLists.txt: From Paul Martz: This is a fix - to get the FBX plugin to compile on OS X -2010-03-19 17:09 robert +Mon, 14 Apr 2014 16:16:08 +0000 +Checked in by : Robert Osfield +Fixed comment - * src/osgTerrain/GeometryTechnique.cpp: Added a minimum tiles size - of 16 to prevent down sampling from being overly aggressive. +Sun, 13 Apr 2014 16:04:27 +0000 +Checked in by : Robert Osfield +Renamed FindFreeType.cmake to FindFreetype.cmake to enable CMake build to pick up on CMake's own FindFreetype.cmake when it's available. -2010-03-19 16:31 robert +Wed, 9 Apr 2014 17:40:27 +0000 +Checked in by : Robert Osfield +From Paul Cheyrou-Lagreze, "Attached is fix/feature for FBX osgplugins against latest trunk:- ReaderWriterFBX.cpp: add "z up scene axis" support: FBX provides facility to convert model scene axis during conversion. Currently fbx plugin convert axis to fbx:opengl axis system (which is arbitrarily at Y up, as opengl is in reality axis agnostic) and sometimes what is needed is Z up so added an option for Z up conversion - * examples/CMakeLists.txt, examples/osgterrain, - examples/osgterrain/CMakeLists.txt, - examples/osgterrain/osgterrain.cpp: Added new osgterrain example - that is simplified to just basic setup and control osgTerrain - nodes, leaving the osgthreadedterrain as the more complex - example. +- FindFBX.cmake: add support for latest fbx sdk ( 2014.2 )" -2010-03-19 16:30 robert - * examples/osgthreadedterrain/CMakeLists.txt, - examples/osgthreadedterrain/osgterrain.cpp, - examples/osgthreadedterrain/osgthreadedterrain.cpp: Renamed - source file -2010-03-19 14:55 robert +Wed, 9 Apr 2014 17:20:26 +0000 +Checked in by : Robert Osfield +Disabled warnings to address issues in FBX headers that generate lots of warnings that we can't fix. - * examples/CMakeLists.txt, examples/osgterrain, - examples/osgthreadedterrain: Renamed osgterrain to - osgthreadedterrain to better reflect it's functionality. +Tue, 8 Apr 2014 19:42:05 +0000 +Checked in by : Robert Osfield +Added extra search paths to add compatibility with Kubuntu/Ubuntu 14.04 now locaton for freetype -2010-03-19 10:19 mplatings +Tue, 8 Apr 2014 17:45:21 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and fixed Contributors list - * src/osgPlugins/fbx/ReaderWriterFBX.cpp: Fixed an infinite loop - when loading a malformed file. +Tue, 8 Apr 2014 12:00:52 +0000 +Checked in by : Robert Osfield +From Remo Eichenberger, "I have extended the TIFF plugin that allows you to write LZW or JPEG compressed TIFF's. Options are:tiff_compression = lzw | jpeg" -2010-03-18 19:02 mplatings - * src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.h: Workaround for - models with inverted transparency -2010-03-18 17:10 robert +Tue, 8 Apr 2014 11:48:34 +0000 +Checked in by : Robert Osfield +From Sebastian Messerschmidt, "n the trunk version the osgGA::GUIActionAdapter has additional functions for lineIntersection which use osgGA::GUIEventAdapter&, but the class declaration is neither forwarded, nor is the header included. Using the trunk together with osgEarth 2.5 will fail to build, due to the missing type.Attached is the file forward declaring osgGA::GUIEventAdapter." - * examples/osgfont/osgfont.cpp, examples/osgtext/osgtext.cpp: Added - StateSet event handler to osgfont and osgtext to aid with - debugging -2010-03-18 15:04 robert - * src/osgTerrain/GeometryTechnique.cpp: Added in a test of using - the utility classes in include/osgUtil/MeshOptimizers to see if - they could improve peformance. - - Tests shown poorer performance with the code enabled so for now - the code is #if 0 #endif'd out, and just left in place for future - testing. +Tue, 8 Apr 2014 11:17:59 +0000 +Checked in by : Robert Osfield +From Pjotr Svetachov, "We had a small problem converting skeleton animations from fbx to osgt format. Turned out that the serializer didn't handle bone names with spaces very well (the 3ds studio max biped for instance has spaces by default). Here is a small fix for the problem." -2010-03-18 14:41 robert +Tue, 8 Apr 2014 11:08:05 +0000 +Checked in by : Robert Osfield +From Pjotr Svetachov, previous obj "commit broke compilation under visual studio 2013. To use std::not1 you need to include the functional header. Here is a fix." - * src/osgText/Font.cpp: Removed the sizeAdjustment code as it was - leading to incorrect tex coord generation and clipping of the - left handside - of the text glyphs. +Mon, 7 Apr 2014 15:04:34 +0000 +Checked in by : Robert Osfield +Fixed build when using of double BoundingBox/BoundingSphere -2010-03-17 14:36 robert +Mon, 7 Apr 2014 14:17:57 +0000 +Checked in by : Robert Osfield +From Jan Peciva, "I am sending four fixes to obj plugin:- materialName used to be not stripped of whitespace, making number of models +fail to load materials; now fixed +- stripping was considering spaces only, thus models using tabs had problems +to load correctly; fixed +- fixed references to textures; they did not performed conversion to native +directory separators +- make d (dissolve) takes precedence over Tr (transparency); there seems to be +a confusion about the Tr item - some claiming 1 to be opaque and 0 +transparent, while number of models uses exactly the opposite. d (dissolve), +if present in the model, does not suffer from this confusion, thus using it +instead fixes the problem for many many models. - * CMakeLists.txt, CMakeModules/FindGDAL.cmake: From J.P. Delport, - "attached an updated FindGDAL that finds 1.6.0 version in Debian - unstable. Could also be added to VPB. - - Also some misc spelling fixes in CMakeLists.txt" +I put many comments to the file concerning d and Tr item as others may further +investigate. Let me know in the case of any problems." -2010-03-17 14:32 robert - * src/osgPlugins/ply/vertexData.cpp: From Glenn Waldron, "The PLY - plugin only works for a file that includes both vertices and - faces. This patch adds support for PLY files that include only - vertices (a point cloud)." -2010-03-17 11:35 robert - - * src/osgDB/DatabasePager.cpp: disabled timing debug info - -2010-03-17 10:33 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project - -2010-03-16 18:53 robert - - * src/osgWrappers/introspection/osgTerrain/Terrain.cpp, - src/osgWrappers/introspection/osgTerrain/TerrainTile.cpp: Updated - wrappers - -2010-03-16 18:44 robert - - * include/osgDB/Serializer, src/osgPlugins/ive/IveVersion.h, - src/osgPlugins/ive/TerrainTile.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/Terrain.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/TerrainTile.cpp, - src/osgWrappers/introspection/osgTerrain/TerrainTile.cpp, - src/osgWrappers/serializers/osgTerrain/Terrain.cpp, - src/osgWrappers/serializers/osgTerrain/TerrainTile.cpp: Updated - various serialization support for .osg, .osgt/b/x and .ive. - -2010-03-16 18:43 robert - - * include/osgTerrain/Terrain, include/osgTerrain/TerrainTile, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Terrain.cpp, - src/osgTerrain/TerrainTile.cpp: Added BlendingPolicy support into - osgTerrain::Terrain. - -2010-03-16 12:05 robert - - * include/osgTerrain/TerrainTile, - src/osgTerrain/GeometryTechnique.cpp, - src/osgTerrain/TerrainTile.cpp: Added - osgTerrain::TerrainTile::set/getBlendingPolicy(BlendingPolicy) to - enable control over whether the tile should have blending enabled - on it. - -2010-03-15 20:09 robert - - * include/osg/Texture: Fixed recursive call due to missing _ - -2010-03-15 15:10 robert - - * src/osgDB/Registry.cpp: From Jean-Sebastien Guay, "This small - one-line change allows us to load a geometry shader with the - extension .geom with osgDB::readShaderFile() which will return an - osg::Shader* with the type already set to GEOMETRY. Very - convenient. :-) - - This was already possible for .frag and .vert so there's no - reason why it shouldn't be possible for .geom. - - I also changed the alignment of some extension aliases so the - file looks a bit better now, but it's up to you if you want to - merge that or not. - " - -2010-03-15 15:01 robert - - * CMakeLists.txt: From Farshid Lashkari, "I noticed that CMake - forces a high stack size by default for all MSVC projects. This - can cause problems for applications that use a lot of threads. - I've added a new option MSVC_USE_DEFAULT_STACK_SIZE that will - remove the explicit stack size and use the default MSVC size. - Apparently this was only necessary for very old versions of MSVC - but it's still around. I would argue that this option should be - on by default, but I've left it off for now. - - " - -2010-03-15 14:47 robert - - * src/osgViewer/Viewer.cpp: From Wang Rui, - "Here is a small fix in the eventTraversal() function of both - viewer - and composite viewer class. - - if (getCameraWithFocus()) - { - if (getCameraWithFocus()!=getCamera()) // Newly added - { - osg::Viewport* viewport = getCameraWithFocus()->getViewport(); - osg::Matrix localCameraVPW = - getCameraWithFocus()->getViewMatrix() * - getCameraWithFocus()->getProjectionMatrix(); - if (viewport) localCameraVPW *= viewport->computeWindowMatrix(); - - osg::Matrix matrix( osg::Matrix::inverse(localCameraVPW) * - masterCameraVPW ); - - osg::Vec3d new_coord = osg::Vec3d(x,y,0.0) * matrix; - - x = new_coord.x(); - y = new_coord.y(); - } - ... - } - - I put an additional conditional statement here to ensure that - _cameraWithCamera and _camera are different, otherwise it's no - need to - calculate the transition matrix from main camera to focus camera. - The - excess calculations of 'matrix' and 'new_coord' may cause - floating-point error and return a slightly wrong result other - than an - identity matrix. It seems OK in most cases but will be still pain - when - there is little difference between two mouse moving events. " - -2010-03-15 10:32 robert - - * src/osgWrappers/introspection/osgUtil/Optimizer.cpp, - src/osgWrappers/introspection/osgUtil/RenderBin.cpp: Updated - wrappers - -2010-03-15 10:32 robert - - * include/osg/Texture, src/osg/Texture.cpp: Refactored - Texture::Extensions to simplify it and make it more efficient. - -2010-03-14 08:56 robert - - * src/osgPlugins/osg/ReaderWriterOSG2.cpp: Added return into - ReaderWriterOSG2::prepareReading(..) to prevent bug associated - with result being discarded. - -2010-03-13 11:28 robert - - * src/osgViewer/DarwinUtils.h, src/osgViewer/DarwinUtils.mm, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowCocoa.mm: Refactored the - initialization of OSX windowing settings so that it's done on - demand rather than on startup. - -2010-03-12 09:32 robert - - * src/osgUtil/MeshOptimizers.cpp: Added initializer - -2010-03-12 09:10 robert - - * src/osgUtil/MeshOptimizers.cpp: Changed ssize_t to int to fix - windows build error - -2010-03-11 18:15 robert - - * include/osgUtil/MeshOptimizers, include/osgUtil/Optimizer, - src/osgUtil/CMakeLists.txt, src/osgUtil/MeshOptimizers.cpp, - src/osgUtil/Optimizer.cpp: From Time Moore, "This submission - implements 3 optimizations for meshes. INDEX_MESH turns - DrawArrays style geometry into DrawElements, uniquifying the - vertices in the process. This is useful for certain loaders, like - ac3d, which just spit out DrawArrays. VERTEX_POSTTRANSFORM and - VERTEX_PRETRANSFORM optimize mesh triangle and vertex order for - the caches on a modern GPU, using Tom Forsyth's algorithm. I - describe this and the big difference it makes (38% improvement on - a very large mesh) in my blog, - http://shiny-dynamics.blogspot.com/2010/03/vertex-cache-optimization-for-osg.html." - -2010-03-11 16:53 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/WriterCompareTriangle.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.h: From Sukender, "I had - some conflicts when updating but they seem resolved now. Attached - files (four files) are against rev. 11200. Changelog: - - Replaced exceptions with assert() or OSG_NOTIFY - - Replaced osg::notify() with OSG_NOTIFY - - Changed braces and tabs to fit OSG coding convention - - Cleaned a few things in code (names, added deallocations upon - error)" - -2010-03-11 16:46 robert - - * include/osgUtil/RenderBin, src/osg/DisplaySettings.cpp, - src/osg/Geometry.cpp, src/osgUtil/RenderBin.cpp: Clean up of - initialization of statics/use of getenv - -2010-03-11 14:48 robert - - * include/osg/Shader: Added export for PerContextShader. - -2010-03-11 10:24 robert - - * src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osg/ReaderWriterOSG2.cpp: Cleaned up the - registration of wrappers so that they are done on demand. - -2010-03-11 10:17 robert - - * examples/osgunittests/FileNameUtils.cpp: Fixed warning - -2010-03-10 17:23 robert - - * CMakeModules/Find3rdPartyDependencies.cmake: From David - Fries,"This improves the out of box detection of the 3rd party - libraries for - Windows. If the 3rdparty directory isn't available it will use - the - directory names subversion uses such as - 3rdParty_win32binaries_vs71 - 3rdParty_win32binaries_vs80sp1 3rdParty_win32binaries_vs90sp1. - That - helps when as we are building both vs71 and vs80, and probably - vs90 in - the future at the same time in addition to not having to rename - the - directory once it is downloaded. It also adds the _i suffix to - match - some of the libraries. - " - -2010-03-10 17:19 robert - - * CMakeLists.txt, CMakeModules/FindOSG.cmake, - CMakeModules/OsgMacroUtils.cmake, src/osgDB/CMakeLists.txt, - src/osgDB/Registry.cpp: From David Fries,"We are needing to - compile Debug, Release, and MinSizeWithDebInfo, but - currently only Debug appends "d" so the Release and - MinSizeWithDebInfo - (and MinSizeRel) all produce the same filenames. This set of - changes - lets each build type have a cmake defined string appended, - defaulting - to Release none, Debug d, RelWithDebInfo rd, MinSizeRel s. But a - user - still can have Release, RelWithDebInfo, and MinSizeRel to produce - the - same filenames. It does so by setting the preprocessor define - OSG_LIBRARY_POSTFIX in src/osgDB/CMakeLists.txt to one of the - previously defined cmake variables CMAKE_DEBUG_POSTFIX - CMAKE_RELEASE_POSTFIX CMAKE_RELWITHDEBINFO_POSTFIX - CMAKE_MINSIZEREL_POSTFIX. This method cuts down on the #ifdef - _DEBUG - #else preprocessor directives in Registry.cpp as the extension is - always passed in OSG_LIBRARY_POSTFIX. That and __MINGW32__ didn't - have the _DEBUG check which looks like a bug." - -2010-03-10 16:31 robert - - * src/osgPlugins/dae/daeRGeometry.cpp: From Roger James, "Here is a - small stability fix to the dae reader which seems to have dropped - out of the latest version." - -2010-03-10 16:31 robert - - * include/osg/Version: Updated version - -2010-03-10 16:05 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/WriterCompareTriangle.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.h: From Sukender, "I've - fixed positions for 3DS writer. Points in 3DS must be in world - coordinates and I added what was missing. - And by refactoring a bit of code, I may have fixed some StateSets - related bugs (was ignoring StateSets for osg::Groups). - I also added support for Billboard's points, so now "osgconv - lz.osg lz.3ds" has an acceptable output. However, there is no - rotation depending on billboards' axis, hence the notice - "Warning: 3DS writer is incomplete for Billboards (rotation not - implemented).". You may want to remove this notice (or lower the - notify severity) if you feel 3DS doesn't have to handle such - rotations. - The attached archive contains 3 files from 3DS plugin, against - rev. 11162. - - Please note there is still the textures issue for cow.osg. I - guess it's because it's not a "flat, dummy and standard" texture - in slot 0... That is to say the only thing the writer can handle - at the moment. I guess I won't address this soon. - " - and - - "I've detected and fixed another bug in 3DS writer: support for - automatic splitting of meshes having >65k faces/points was buggy - (was deleting faces). - Here is my four 3DS modified files (in a ZIP), against rev. - 11193, including previous fixes AND Stephan's fix about relative - filenames." - -2010-03-10 14:44 robert - - * src/osgWrappers/introspection/osgDB/ReaderWriter.cpp: Updated - wrappers - -2010-03-10 14:29 robert - - * CMakeLists.txt: Update SO version number to 66 to skip over 65 - value planned to 2.8.3 - -2010-03-10 14:28 robert - - * include/osgDB/ReaderWriter, src/osgDB/DatabasePager.cpp, - src/osgDB/ReadFile.cpp: From Vincent Bourdier, addition of out of - memory read result. - -2010-03-10 13:48 robert - - * include/osgDB/InputStream, include/osgDB/OutputStream, - include/osgDB/StreamOperator, src/osgDB/InputStream.cpp, - src/osgDB/OutputStream.cpp, - src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgPlugins/osg/BinaryStreamOperator.h, - src/osgPlugins/osg/ReaderWriterOSG2.cpp, - src/osgPlugins/osg/XmlStreamOperator.h: From Wang Rui, "I've - initially added the XML support of the new native osg format, - using osgDB::XmlParser. The extension for XML-formatted scenes is - .osgx, corresponding to .osgb for binary and .osgt for ascii. It - could - either be rendered in osgviewer or edited by common web browsers - and - xml editors because of a range of changes to fit the XML syntax. - For - example, the recorded class names are slight modified, from - 'osg::Geode' to 'osg--Geode'. - - To quickly get an XML file: - # ./osgconv cow.osg cow.osgx - - The StreamOperator header, InputStreram and OutputStream classes - are - modified to be more portable for triple ascii/binary/XML formats. - I - also fixed a bug in readImage()/writeImage() to share image - objects if - needed. - - The ReaderWriterOSG2 class now supports all three formats and - reading/writing scene objects (not nodes or images), thanks to - Torben's advice before. - " - -2010-03-10 13:37 robert - - * src/osgDB/InputStream.cpp: From John Ivar Haugland, "This is a - fix to InputStream.cpp. (revision 11114) . I have attached the - modified file. - - The options where not passed on to the image reader plugins when - reading the new osg2 format files, so I added the options to the - osgDB.:readImageFile function call. - - " - -2010-03-10 13:24 robert - - * include/osgQt/QWidgetImage, src/osgQt/CMakeLists.txt, - src/osgQt/QGraphicsViewAdapter.cpp, src/osgQt/QWidgetImage.cpp: - From Wang Rui, QWidgetImage class that enables QWidgets to be - used as an interactive osg::Image that can be assigned to - textures. - -2010-03-10 12:56 robert - - * src/osgWrappers/deprecated-dotosg/CMakeLists.txt, - src/osgWrappers/serializers/CMakeLists.txt: From Laurens Voerman, - "as I work in Visual Studio, the introduction of the new osg2 - reader/writer gave me a confusing project list, especially the - three projects named "Plugins osg". The attached patch changes - the project names to "Plugins osg depricated xxx" and "Plugins - osg serializer xxx" therefore keeping them close together in the - Solution Explorer. - " - -2010-03-10 12:13 robert - - * examples/osgunittests/CMakeLists.txt, - examples/osgunittests/FileNameUtils.cpp, - examples/osgunittests/osgunittests.cpp: Added tests of various - FileNameUtils functions, tests invoked by osgunittests filenames - -2010-03-10 12:04 robert - - * src/osgDB/FileNameUtils.cpp: Refactored the find_last_of to - simplify it. - -2010-03-10 11:40 robert - - * include/osgDB/FileNameUtils, src/osgDB/FileNameUtils.cpp: From - Sukender, "Here is my proposal. I fixed what Paul said, added - some doxygen comments, added the function I told about, and - removed the two "find('/')"-like calls to use only one." - -2010-03-10 11:09 robert - - * CMakeLists.txt: From Nico Krulthof and Jori Torres, additions for - detecting OSX 10.6 SDK and setting variable defaults accordingly. - -2010-03-10 11:01 robert - - * CMakeModules/FindQuickTime.cmake: Based on a suggestion from - Chuck Seberino, have added a section for testing of 64bit build - under OSX and disable the use of quicktime when the build - includes 64bit. - -2010-03-10 10:32 robert - - * src/osgUtil/tristripper/include/detail/graph_array.h, - src/osgUtil/tristripper/include/detail/policy.h: From Laurens - Voerman, "my compiler (VC Express 9) gives some warnings (see - below) about not being able to generate an assignment operator. - As those assignment operators are not used and problably should - never be used, I solved this by creating an private (empty) - assingment operator. - " - - From Robert Osfield, added "return *this;" to Laurens's addition - to prevent them generating a warning under gcc... - -2010-03-10 10:10 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Stephan Huber, - "attached you'll find a small bugfix for the 3ds-reader. It - allows - reading files with relative paths again. (Hard to explain, easy - to see - in the diff)" - -2010-03-10 09:37 robert - - * include/OpenThreads/Version, src/OpenThreads/CMakeLists.txt, - src/OpenThreads/common/Version.in: Added automatic updating of - the OpenThreads version number from the CMake version numbers - -2010-03-09 15:16 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: fixed xcode project again +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)). +> -2010-03-08 10:20 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) . - * src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp: Added extra ffmpeg - version check +Thank you! +" -2010-03-05 16:17 robert - * include/osgShadow/MinimalShadowMap, - src/osgShadow/MinimalShadowMap.cpp: From Wojcoech Lewandowski, - "Attched are aimShadowCastingCamera() call changes, I have - described in former post. Basically now MinimalShadowMap - overrides first variant and keeps second. So both variants of - aimShadowCastingCamera are clearly defined in - MinimalShadowMap::ViewData scope. This way compilers have no - problem and code looks less obscure. Changes made against the - trunk." - -2010-03-05 16:08 robert - - * src/osgPlugins/ac/ac3d.cpp: From Mathias Froehlich, "Not so long - time ago, there was a complaint about the ac3d plugin not - honoring - absolute filenames for the texture images. - - The attached change should fix this by at first looking at the - absolute file - name to load a texture and then, if that fails, strip away any - paths to try - that again with the bare file name. - The change also fixes a possible exception that could be - triggered by an out - of bounds std::string access which is now avoided by using - functions from - osgDB/FileUtils. - - The change is based on rev 11161." - -2010-03-05 16:07 robert - - * src/osgWidget/Input.cpp: Fixed warning - -2010-03-05 16:04 robert - - * src/osgPlugins/3ds/lib3ds/lib3ds_io.c: Fixed usage of - osg::swapBytes to properly pass in pointer to data that needs - swapping. - -2010-03-05 15:46 robert - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/qfont, - src/osgPlugins/qfont/CMakeLists.txt, - src/osgPlugins/qfont/ReaderQFont.cpp, src/osgText/Font.cpp: From - Mathias Froehlich, "If you want to have that qfont plugin loader, - this is the updated - implementation which uses osgQt and includes the changes to make - fonts load - without a file on disk." - -2010-03-05 15:36 robert - - * src/osgDB/FileNameUtils.cpp: Replaced find_first_of with find - -2010-03-05 15:17 robert - - * src/osgDB/FileNameUtils.cpp: Replaced find_first_of with find. - -2010-03-05 15:10 robert - - * src/osgDB/FileNameUtils.cpp: From Sukender, "Here is a tiny fix - for getNameLessExtension(). It does now check for the presence of - slashes ('/' and '\') to avoid changing the string when having a - dot in a directory. - Old behaviour: "abc.d/filename_no_ext" -> "abc" - New behaviour: "abc.d/filename_no_ext" -> "abc.d/filename_no_ext" - - Attached file is against rev. 11158." -2010-03-05 15:08 robert +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." - * examples/osgQtBrowser/CMakeLists.txt, src/osgQt/CMakeLists.txt: - Fixes for warning from qt headers +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 +" -2010-03-05 15:07 robert - * examples/osgQtBrowser/QGraphicsViewAdapter.cpp, - examples/osgQtBrowser/QGraphicsViewAdapter.h, - examples/osgQtBrowser/QWebViewImage.cpp, - examples/osgQtBrowser/QWebViewImage.h: Removed files that are now - part of osgQt -2010-03-05 15:05 shuber +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. - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project +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. +" -2010-03-05 15:04 robert - * src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp: Fixed warnings -2010-03-05 12:55 robert +Fri, 4 Apr 2014 11:25:51 +0000 +Checked in by : Robert Osfield +Fixed iso surface shaders - * include/osg/CullSettings, include/osg/CullingSet, - include/osgGA/GUIEventAdapter, - include/osgPresentation/SlideEventHandler, - include/osgSim/ObjectRecordData, include/osgSim/SphereSegment, - include/osgUtil/ShaderGen, src/osgSim/SphereSegment.cpp, - src/osgUtil/ShaderGen.cpp, - src/osgWrappers/introspection/osg/CullSettings.cpp, - src/osgWrappers/introspection/osg/CullingSet.cpp, - src/osgWrappers/introspection/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/introspection/osgPresentation/SlideEventHandler.cpp, - src/osgWrappers/introspection/osgSim/ObjectRecordData.cpp, - src/osgWrappers/introspection/osgSim/SphereSegment.cpp, - src/osgWrappers/introspection/osgUtil/ShaderGen.cpp: Replaced use - of unsigned int/enum mask combinations with int/enum mask - combinations to avoid the need for casting enums to unsigned - ints, - and to avoid associated warnings. - - Update wrappers to reflect these changes. +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 -2010-03-05 12:53 robert +Tue, 1 Apr 2014 18:33:02 +0000 +Checked in by : Robert Osfield +Fixed handling of volume tiles with a region. - * CMakeLists.txt, include/osg/Version: Updated version and - soversion numbers +Thu, 27 Mar 2014 12:47:44 +0000 +Checked in by : Robert Osfield +Added cube and hull rendering support -2010-03-05 12:43 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. - * CMakeModules/OsgMacroUtils.cmake, - examples/osgQtBrowser/CMakeLists.txt, - examples/osgviewerQT/CMakeLists.txt, - examples/osgviewerQtWidget/CMakeLists.txt, - src/osgQt/CMakeLists.txt: From Mourad Boufarguine, "Some others - modified CMake scripts : - - - OsgMacroUtils.cmake, SETUP_LINK_LIBRARIES macro : allow linking - with debug/release external libraries - - osgQt/CMakeLists.txt : fix the linking to Qt librairies + - linking to debug Qt librairies if found - - examples/ qt examples : linking to debug Qt librairies if - found" +Tue, 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. -2010-03-05 11:30 robert +Mon, 17 Mar 2014 15:54:52 +0000 +Checked in by : Robert Osfield +Added support for animating volume hulls. - * include/osg/Shader, src/osgWrappers/introspection/osg/Shader.cpp, - src/osgWrappers/introspection/osgDB/DatabasePager.cpp: Change - Shader::getPCS(..) from protected to public scope to enable - isCompiled() method to be accessible in applications. - - Updated wrappers +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“ -2010-03-05 11:21 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. +" - * examples/osggpx/osggpx.cpp: Added an "-a" speed averager option - and a "-o filename" output option. -2010-03-05 11:19 robert - * src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: Changed - Options::setDatabasePath(..) usage to - getDatabasePathList().push_front() to paths set by Options to be - picked up. +Thu, 13 Mar 2014 13:59:34 +0000 +Checked in by : Robert Osfield +From Stephan Huber, fix for building lua plugin from local source -2010-03-05 10:58 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. - * src/osgPlugins/txp/trpage_swap.cpp: Fixed warning +Wed, 12 Mar 2014 11:01:09 +0000 +Checked in by : Robert Osfield +Improved support for passing events between scripts and Present3D application -2010-03-05 10:50 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 - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Fixed warning +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. -2010-03-05 10:48 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. - * src/osgPlugins/zip/unzip.cpp: Fixed warning -2010-03-04 20:45 robert - * CMakeLists.txt: From Mourad Boufarguine, "The attached CMakeLists - allows building osgQt in case BUILD_OSG_EXAMPLES is set to off. - - " +Thu, 6 Mar 2014 10:27:26 +0000 +Checked in by : Robert Osfield +Added support for osg::Image to the lua plugin. -2010-03-04 17:01 mplatings +Tue, 4 Mar 2014 13:36:13 +0000 +Checked in by : Robert Osfield +Implement add, set and get methods for StateSet. - * src/osgPlugins/fbx/fbxRMesh.cpp: Added BlendFunc for transparent - materials +Tue, 4 Mar 2014 13:35:27 +0000 +Checked in by : Robert Osfield +Relaxed the handling of Image objects -2010-03-04 16:27 mplatings +Tue, 4 Mar 2014 13:34:23 +0000 +Checked in by : Robert Osfield +Fixed handling of OverrideValue - * src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRMesh.h, - src/osgPlugins/fbx/fbxRNode.cpp, src/osgPlugins/fbx/fbxRNode.h: - Fix for some FBX files with multiple meshes bound to a bone. +Fri, 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. -2010-03-04 13:03 robert +Thu, 27 Feb 2014 10:02:55 +0000 +Checked in by : Robert Osfield +Added MapReverseIterator implementation. - * src/osgPlugins/dae/daeRGeometry.cpp: Fixed warnings +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. -2010-03-04 12:59 robert +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. - * src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeRSkinning.cpp: From Michael Platings, "Here - are a couple more fixes on top of what you've already done." (in - reply to fixes submission from Roland Smeenk). +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. -2010-03-04 12:57 robert +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. - * src/osgPlugins/dae/daeRAnimations.cpp, - src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeRSkinning.cpp, - src/osgPlugins/dae/daeRTransforms.cpp, - src/osgPlugins/dae/daeWGeometry.cpp: From Roland Smeenk, "I took - a quick look at the warnings and they contain nothing serious. - Attached you will find updates of the files to hopefully solve - the warnings (in VS2005 only one warning occured). In addition I - fixed a tiny bug that caused a crash with one of my test files." +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. -2010-03-04 12:43 robert +Added missing properties to PrimitiveSet serializers - * include/osgQt/QFontImplementation, src/osgQt/CMakeLists.txt, - src/osgQt/QFontImplementation.cpp: From Mathias Froehlich, - Integration of osgText::Font with QFont to enable use of Qt fonts - and selectors in osgText. -2010-03-04 12:18 robert - * include/osgQt/Export: Added Export for new osgQt lib +Thu, 13 Feb 2014 11:01:36 +0000 +Checked in by : Robert Osfield +Added inital cut of PrimitiveSetSet wrappers to scripting -2010-03-04 12:15 robert +Wed, 12 Feb 2014 18:10:52 +0000 +Checked in by : Robert Osfield +Added full range of Array subclasses to wrappers - * examples/osgQtBrowser/CMakeLists.txt, - examples/osgQtBrowser/osgQtBrowser.cpp, include/osgQt, - include/osgQt/QGraphicsViewAdapter, include/osgQt/QWebViewImage, - src/CMakeLists.txt, src/osgDB/DatabasePager.cpp, src/osgQt, - src/osgQt/CMakeLists.txt, src/osgQt/QGraphicsViewAdapter.cpp, - src/osgQt/QWebViewImage.cpp: Moved QWebViewImage and - QGraphicsViewAdapter into new osgQt utility library. +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. -2010-03-04 12:14 robert +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. - * src/osgViewer/Scene.cpp: Removed now redundent call to register - PagedLODs +Tue, 11 Feb 2014 18:07:37 +0000 +Checked in by : Robert Osfield +Improved support for setting/getting properties via the osg::UserDataContainer. -2010-03-04 11:45 robert +Tue, 11 Feb 2014 10:56:51 +0000 +Checked in by : Robert Osfield +Quitened down debug messages - * src/osgPlugins/net: Removed old net plugin that is nolonger used. - This plugin can be found in the deprecated/src/osgPlugins/net - respository +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 -2010-03-03 17:24 robert +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 - * src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRNode.cpp: - Ran dos2unix of files to fix issues with file endings +Mon, 10 Feb 2014 16:44:13 +0000 +Checked in by : Robert Osfield +Added support for serailizing and scripting BoundingBox and BoundingSphere objects -2010-03-03 16:40 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: - Refactored DatabasePager so that it nolonger takes - ref_ptr, but instead uses a custom version of - observer_ptr<>. - This change should make it possible to delete PagedLOD's - independantly from the DatabasePager, and also prevent issues of - consistency of the pager when subgraphs when are cached elsewhere - in the application such as in the Registry filecache. - -2010-03-03 16:37 robert - - * src/osgShadow/ShadowTechnique.cpp: Fixed warning - -2010-03-03 16:14 mplatings - - * src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRMesh.h, - src/osgPlugins/fbx/fbxRNode.cpp, src/osgPlugins/fbx/fbxRNode.h: - -2010-03-03 10:11 robert - - * examples/osgviewerQT/QOSGWidget.cpp: From Martin Beckett, "I - tested DJ's fix to stop flicker on Windows + Qt viewer on 2.6.7 - - It solves the problem on XP and Win7 on Qt 4.5 and 4.62 - It isn't necessary on Linux (ubuntu 8.10/9.04 Qt 4.5/4.6.2) but - doesn't cause any harm. - But I have #ifdef'ed it with WIN32. I can't test it on 64bit - windows (not sure if x64 defines WIN32?)" - -2010-03-02 18:18 mplatings - - * src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRMesh.h, - src/osgPlugins/fbx/fbxRNode.cpp, src/osgPlugins/fbx/fbxRNode.h: - -2010-03-01 13:10 robert - - * src/osgWrappers/introspection/osgShadow/ShadowTechnique.cpp: - Updated wrappers - -2010-03-01 13:00 robert - - * include/osgShadow/ShadowTechnique, src/osgShadow/ShadowMap.cpp, - src/osgShadow/ShadowTechnique.cpp, - src/osgShadow/ShadowTexture.cpp: Added a - ShadowTechnique::computeOrthogonalVector(const osg::Vec3& - direction) const method for helping compute an appropriate - up vector to setViewMatrixAsLookAt(..) codes in osgShadow. This - will addresses previous issues that occured when look vectors - co-incided with the hard coded up vectors. - -2010-03-01 11:52 robert - - * include/osgShadow/DebugShadowMap, - src/osgShadow/ConvexPolyhedron.cpp, - src/osgShadow/DebugShadowMap.cpp, - src/osgShadow/MinimalShadowMap.cpp, - src/osgShadow/StandardShadowMap.cpp: From Wojciech Lewandowski, - "Here comes a list of small fixes in StandardShadowMap and - derived classes affecting LispSM techniques. Changes made against - SVN trunk. - - Fixes in StandardShadowMap.cpp & MinimalShadowMap.cpp were made - for spotlight issues. There were cases when further located - spotlights were not shadowing properly. - - Small tweak in DebugShadowMap & StandardShadowMap.cpp to not - limit shadow maps to texture2D (which should also allow texture2D - arrays and cube maps). I simply replaced ptr to osg::Texture2D - with pointer to osg::Texture. Interpretation of this member could - be now changed with change of shaders in derived classes. This - may be useful for guys who override LispSM or - MinimalBoundsShadowMaps techniques. Could be useful for - implementation of PerspectiveCascadedShadowMaps technique for - example. - - ConvexPolyhedron.cpp & DebugShadowMap.cpp contain debug HUD - tweaks. - - Change in ConvexPolyhedron.cpp overcomes the regression problem - with color per primitive binding which caused that shadow volume - outlines stopped to draw. I simply changed PER_PRIMITIVE to - PER_PRIMITIVE_SET and it works again. - - Other adition is dump method I added to DebugShadowMap which can - be used in shadow debugging mode to dump current frame shadow - volumes & scene to osg file. It could be then loaded into viewer - and freely examined from different angles (which is difficult - inside the application if shadow adopts to view and projection). - " - -2010-03-01 11:29 robert - - * CMakeLists.txt: From Mourad Boufarguine, "With the present - CMakeLists, the directory ${PROJECT_BINARY_DIR}/include is added - to the include path before ${OpenSceneGraph_SOURCE_DIR}/include. - This causes problems whenever a header file is changed when - updating OSG, because cpp files are build against the old header - files contained in ${PROJECT_BINARY_DIR}/include rather than the - new ones in ${OpenSceneGraph_SOURCE_DIR}/include. Inverting the - order of the two drectories in the include path solves the - problem. - - Attached is the modified CMakeLists.txt." - -2010-02-26 21:31 robert - - * src/osgWrappers/introspection/genwrapper.conf, - src/osgWrappers/introspection/osg/Array.cpp: Updated wrappers - -2010-02-26 16:02 robert - - * src/osgWrappers/introspection/osg/Array.cpp: updated wrappers - -2010-02-26 15:54 robert - - * include/osgDB/Serializer: Added spaces between < > template parts - of macros to prevent compile problems when templates as use as - macro parameters - -2010-02-26 15:40 robert - - * src/osgUtil/Optimizer.cpp: From Paul Martz, "Regarding the - osg-users thread "mergeGeodes crash", I'm submitting this for - consideration as a fix for the problem with the - FlattenStaticTransformsVisitor. It seems that the additional - nested loop over the Transform's parent was not needed. I'm not - sure why it was there, and if it really was unnecessary, then it - has probably been resulting in many redundant Nodes for quite - some time. Perhaps this fix will result in a cull- and draw-time - performance boost." - - From Robert Osfield, added copying of the UserData and - Descriptions from the transform to the new group. - -2010-02-26 15:01 robert - - * src/osgPlugins/directshow/DirectShowTexture.cpp: From Raymon de - Vries, "I've made a small change to DirectShowTexture.cpp: in the - options for the directshow plugin it is possible to specify the - capture device by number. For instance: - options->setPluginStringData("captureVideoDevice", "0"); - - Lines added in getDevice() are: - int deviceId = atoi(name.c_str()); - if(deviceId >= 0 && deviceId < (int)_listDevice.size()) - return _listDevice[deviceId]; - - This makes it easy to use a capture device without knowing it's - name. Attached is the whole file against rev 11044" - -2010-02-26 14:41 robert - - * include/osg/Array, include/osg/Matrixf, - src/osgPlugins/dae/CMakeLists.txt, - src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/ReaderWriterDAE.h, - src/osgPlugins/dae/daeRAnimations.cpp, - src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeRSceneObjects.cpp, - src/osgPlugins/dae/daeRSkinning.cpp, - src/osgPlugins/dae/daeRTransforms.cpp, - src/osgPlugins/dae/daeReader.cpp, src/osgPlugins/dae/daeReader.h, - src/osgPlugins/dae/daeWAnimations.cpp, - src/osgPlugins/dae/daeWGeometry.cpp, - src/osgPlugins/dae/daeWMaterials.cpp, - src/osgPlugins/dae/daeWSceneObjects.cpp, - src/osgPlugins/dae/daeWTransforms.cpp, - src/osgPlugins/dae/daeWriter.cpp, src/osgPlugins/dae/daeWriter.h, - src/osgPlugins/dae/domSourceReader.cpp, - src/osgPlugins/dae/domSourceReader.h: From Michael Platings, - "Here's the all-new, all-dancing DAE plugin, with support for - reading - osgAnimation. It's been tested with the majority of the samples - in the - COLLADA test repository and works with all of them either as well - as, or - better than, the version of the plugin currently in SVN. - - Known issue: vertex animation (AKA morphing) doesn't work at - present, - but that's a relatively unpopular method of animating so it's not - high - on my priority list." - - Follow up email: - "I've been informed that the previous DAE submission didn't build - on - unix, so here's the submission again with the fixes. Thanks to - Gregory Potdevin and Benjamin Bozou. - Also, my apologies to Roland for not crediting his part in making - DAE - animation happen, my work was indeed built on top of his work. - Thanks - also to Marius Heise and of course Cedric Pinson." - - Changes by Robert Osfield, fixed compile issues when compile - without C* automatic conversion enabled in ref_ptr<> - and constructor initialization fixes to address some warnings - under gcc. - -2010-02-26 14:36 robert - - * src/osgWrappers/introspection/osg/ObserverNodePath.cpp, - src/osgWrappers/introspection/osg/OcclusionQueryNode.cpp: Updated - wrappers - -2010-02-26 10:13 robert - - * include/osg/OcclusionQueryNode, src/osg/OcclusionQueryNode.cpp, - src/osgUtil/CullVisitor.cpp: From Paul Martz, "The changes are - very similar to Magne's, except they now take the near plane into - account. The changes are: - - * Change OcclusionQueryNode::getPassed to take a NodeVisitor - rather than the distance from BS center to the eye point. Change - where CullVisitor calls this method to use the new parameters. - * getPassed now exits early and returns true to avoid blinking / - blink-in of geometry for the first frame or for out-of-range LOD - children coming back into view. - * getPassed now considers the distance from the near plane to the - bounding sphere (rather than eye point to bounding sphere) when - determining if the viewer is "inside" the bounding sphere or - not." - -2010-02-26 10:03 robert - - * src/osg/GLExtensions.cpp: From Paul Martz, "Summary: GL3 - deprecates "glGetString(GL_EXTENSIONS)". In GL3, individual - extension strings are queried by looping over GL_NUM_EXTENSIONS - and calling "glGetStringi(GL_EXTENSIONS,)". - - The fix is basically as follows: - if( GL3 ) - Query indexed extension strings. - else - Query the old way. - - The "else" branch is re-indented but otherwise shouldn't contain - any changes." - - From Robert Osfield, added #if !defined(OSG_GLES1_AVAILABLE) && - !defined(OSG_GLES2_AVAILABLE) to new block to prevent it - being compiled under GLES where no glGetStringi exists. - -2010-02-26 09:48 robert - - * src/osg/GLExtensions.cpp: From Paul Martz, "Summary: GL3 - deprecates "glGetString(GL_EXTENSIONS)". In GL3, individual - extension strings are queried by looping over GL_NUM_EXTENSIONS - and calling "glGetStringi(GL_EXTENSIONS,)". - - The fix is basically as follows: - if( GL3 ) - Query indexed extension strings. - else - Query the old way. - - The "else" branch is re-indented but otherwise shouldn't contain - any changes." - -2010-02-26 09:40 robert - - * examples/osgcallback/osgcallback.cpp: From Chris Hanson, comment - fix - -2010-02-26 09:33 robert - - * src/osgPlugins/3ds/WriterNodeVisitor.cpp: From Sukender, "I tried - a tiny change in is83() function and had no crash (under - Windows). "osgconv cow.osg cow.3ds" exports a black cow and - "osgconv lz.osg lz.3ds" exports tree(s) at (0,0,0)... I guess - there are still things to do about non-zero-index textures and - multiple instanciation of a node, but at least it doesn't crash." - -2010-02-26 09:23 robert - - * src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/ReaderWriterTXP.h, - src/osgPlugins/txp/TXPNode.cpp, src/osgPlugins/txp/TXPNode.h, - src/osgPlugins/txp/TXPParser.h: From Ryan Kawicki, "I guess I - missed these during my testing, but if the database pager has - outstanding requests while the application is shutting down, the - archive can become invalidated through unsafe calls to - ReaderWriterTXP::getArchive. I've made this function return a - ref_ptr and change other locations to as needed to conform to the - change. I've tested this and no more crashes. - - Following files from revision 11057 have been attached." - -2010-02-26 08:55 robert - - * src/osgPlugins/png/ReaderWriterPNG.cpp: From Philip Lownman, "The - libpng project decided to rename png_set_gray_1_2_4_to_8() to - png_set_expand_gray_1_2_4_to_8() with the 1.2.9 release. This - submission fixes builds of the OSG against versions of libpng < - 1.2.9 - that don't have the new symbol available. This affects platforms - like - Red Hat Enterprise Linux 4 which come with libpng 1.2.7." - -2010-02-25 18:17 robert - - * src/osgText/Text.cpp, src/osgText/Text3D.cpp: From Terry Welsh, - "As discussed on the osg-users list, I have implemented these - rules in - Text and Text3D: - - 1. A new line should be started after a line's last hyphen or - before - its last whitespace. - 2. If no suitable place to break a line is found, just start new - line - after the last character that fits on the line. - 3. Whitespace should be removed from the beginning of the new - line - (already worked in Text, but not in Text3D). - - Line wrapping looks a lot better now with no more lone periods - appearing at the beginning of lines. - - Also, right-justified text is more accurate now (slashes would - hang - off the end of lines before). With this new code I spotted one - instance where a hyphen stuck out too far, but in general it - looks - better. Centered text was not perfect before and still isn't, but - I - can't see any significant increase or decrease in quality. The - casual - observer would probably never notice a problem. - - Also fixed a whitespace problem in Text3D. Not all whitespace was - being removed from the beginning of lines. Now it is all being - removed in the same manner as in Text." - -2010-02-25 18:05 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Erik Johnson, "There - is an issue on win32 if the application hides the cursor using - GraphicsWindowWin32::useCursor(false). The cursor has a habit of - re-showing itself. - - To reproduce, on win32: - - -Run osgViewer in a windowed mode, with the cursor off, as such: - osgViewer::Viewer::Windows windows; - viewer.getWindows(windows); - for(osgViewer::Viewer::Windows::iterator itr = windows.begin(); - itr != windows.end(); - ++itr) - { - (*itr)->useCursor( false ); - } - - -Quickly move the cursor into the window (cursor it should be - hidden) - -Resize the window by dragging the border (notice the cursor - changes to "resize" cursor) - -Move the cursor back to the inside of the window (notice the - cursor is not hidden anymore) - - The attached SVN patch will set the cursor to a "NoCursor" during - useCursor(false). This correctly stores the no cursor state, so - it can be rejuvenated after a future cursor change. This patch - also fixes a couple instances where a hidden cursor should show - itself, like when it's on the title bar, or the window close - button." - -2010-02-25 18:03 robert - - * include/osg/NodeVisitor: From Chris Hanson, comment fix. - -2010-02-25 18:01 robert - - * src/osgPlugins/directshow/DirectShowTexture.cpp: From Trajce - Nikolov, "attached is some fix for the directshow plugin. Cleans - up the build warnings as well makes the code a bit safer" - -2010-02-25 17:58 robert - - * examples/CMakeLists.txt, examples/osganimationeasemotion, - examples/osganimationeasemotion/CMakeLists.txt, - examples/osganimationeasemotion/osganimationeasemotion.cpp: From - Jeremy Moles, submitted by Cedric Pinson "Here an new example - from Jeremy Moles that demonstrate EaseMotion from - osgAnimation, i have updated EaseMotion with new type, so for - users of - EaseMotion just have look, it's a great example." - -2010-02-25 17:53 robert - - * include/osgDB/InputStream, include/osgDB/OutputStream, - src/osgDB/InputStream.cpp, src/osgDB/OutputStream.cpp, - src/osgWrappers/serializers/CMakeLists.txt, - src/osgWrappers/serializers/osg/PagedLOD.cpp, - src/osgWrappers/serializers/osgTerrain, - src/osgWrappers/serializers/osgTerrain/CMakeLists.txt, - src/osgWrappers/serializers/osgTerrain/CompositeLayer.cpp, - src/osgWrappers/serializers/osgTerrain/ContourLayer.cpp, - src/osgWrappers/serializers/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/serializers/osgTerrain/HeightFieldLayer.cpp, - src/osgWrappers/serializers/osgTerrain/ImageLayer.cpp, - src/osgWrappers/serializers/osgTerrain/Layer.cpp, - src/osgWrappers/serializers/osgTerrain/Locator.cpp, - src/osgWrappers/serializers/osgTerrain/ProxyLayer.cpp, - src/osgWrappers/serializers/osgTerrain/SwitchLayer.cpp, - src/osgWrappers/serializers/osgTerrain/Terrain.cpp, - src/osgWrappers/serializers/osgTerrain/TerrainTechnique.cpp, - src/osgWrappers/serializers/osgTerrain/TerrainTile.cpp: From Wang - Rui, "Attached is the osgTerrain wrappers, based on the latest - SVN version - of OSG. I modified the osgDB::InputStream and OutputStream and - the - PagedLOD wrapper as well. Now all seems to work fine with paged - scenes. I've tested with the puget terrain data and the osgdem - application from VPB: - # osgdem --xx 10 --yy 10 -t ps_texture_4k.tif --xx 10 --yy 10 -d - ps_height_4k.tif -l 8 -v 0.1 -o puget.osgb - - As the ive plugin does, The PagedLOD wrapper now automatically - add the - latest file path to PagedLODs' databasePath member, to help them - find - correct child positions. I also changed the image storage - strategy of - the OutputStream class, to store them inline by default. The osgt - extension should also work, in case the image files are also - written - to the disk. - " - -2010-02-25 17:18 robert - - * src/osg/Texture.cpp: From J.P. Delport: "by some strange - circumstance I've stumbled across the following problem: - - I create a compositeviewer with two views that share a context. - One view is deleted. - Texture::TextureObjectSet::discardAllTextureObjects is called, - but this does not reset _tail. Now the texture object is again - created and addToBack is called from - Texture::TextureObjectSet::takeOrGenerate. In addToBack (line - 612) _tail is now not 0 (although the list should be empty) and a - loop is created from the texture object to itself. Then when the - second view is deleted, - Texture::TextureObjectSet::deleteAllTextureObjects loops forever. - Setting _tail to 0 fixes it for me (see attached)." - -2010-02-25 17:13 robert - - * src/osgPlugins/dxf/dxfFile.cpp: From Simon Buckley, "Attached is - a small change to the file src\osgPlugins\dxf\dxfFile.cpp that - allows the dxf reader to skip comments in a dxf file. I found - with the existing version and a test file I had that the loader - failed when comments were present. I made a very minor change to - allow "999" comment codes to be skipped rather than causing load - failure." +Sat, 8 Feb 2014 17:53:51 +0000 +Checked in by : Robert Osfield +Fixed handling of setting member variables via the Serializers when the value is the default.Added support for more features of the osgDB::Widget class. -2010-02-25 17:07 robert +Fixed handling of boolean values in the Lua plugin - * include/osgDB/ConvertUTF, src/osgDB/ConvertUTF.cpp: From Michael - Platings, "There is a function, - convertStringFromCurrentCodePageToUTF8() that would be useful - outside the FBX plugin so it belongs in osgDB. I've attached - ConvertUTF and ConvertUTF.cpp with the function added for you to - commit at your convenience. - " -2010-02-24 10:52 mplatings - * src/osgPlugins/fbx/ReaderWriterFBX.cpp: -2010-02-24 10:25 mplatings +Sat, 8 Feb 2014 10:39:20 +0000 +Checked in by : Robert Osfield +Added support for enum's in the Lua script integration - * src/osgPlugins/fbx/CMakeLists.txt, - src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/ReaderWriterFBX.h, - src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.h, - src/osgPlugins/fbx/fbxRAnimation.cpp, - src/osgPlugins/fbx/fbxRAnimation.h, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRMesh.h, - src/osgPlugins/fbx/fbxRNode.cpp, src/osgPlugins/fbx/fbxRNode.h: +Sat, 8 Feb 2014 10:38:51 +0000 +Checked in by : Robert Osfield +Fixed export -2010-02-24 10:12 mplatings +Fri, 7 Feb 2014 16:06:57 +0000 +Checked in by : Robert Osfield +Fixed handling of returns when invoking a script, removed some debug messages, added a warning message when detecting erronous types.Added FocusBehaviour enum to osgGA::Widget serialization - * src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp: -2010-02-24 10:02 mplatings - * src/osgPlugins/fbx/fbxMaterialToOsgStateSet.h: -2010-02-22 17:41 robert +Fri, 7 Feb 2014 10:46:16 +0000 +Checked in by : Robert Osfield +Added initial Widget wrapper - * include/osg/ObserverNodePath: Added an empty() method +Thu, 6 Feb 2014 17:32:41 +0000 +Checked in by : Robert Osfield +Moved experimental Widget class to osgGA Add computeIntersections() to the osgGA::GUIActionAdapter base class to enable intersection tests without needing to directly link to osgViewer. -2010-02-22 10:43 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 - * AUTHORS.txt: Updated authors file +Thu, 6 Feb 2014 11:25:37 +0000 +Checked in by : Robert Osfield +Added support for casting objects to allow one to access a parent classes methods. -2010-02-22 10:36 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. - * ChangeLog: Updated wrappers +Wed, 5 Feb 2014 11:07:03 +0000 +Checked in by : Robert Osfield +Added support for a tag that can be used within tag. -2010-02-22 10:10 robert +Wed, 5 Feb 2014 11:04:29 +0000 +Checked in by : Robert Osfield +Improved the white space trimming - * CMakeModules/FindFFmpeg.cmake: Fixed STDINT_INCLUDE path +Tue, 4 Feb 2014 16:49:13 +0000 +Checked in by : Robert Osfield +Added lua-5.2.3 as source code so it can be optinally built as part of the lua plugin, making it possible to work out of the box across all platforms with needing lua as an external dependency.Added the Cmake option OSG_USE_LOCAL_LUA_SOURCE to control whether to build and use the Lua source code in the lua plugin, or look for lua as an external dependency. -2010-02-22 09:50 robert - * include/osgWidget/Input, src/osgWidget/Input.cpp: From Trajce - Nicklov, fixes to warnings -2010-02-22 08:48 robert +Tue, 4 Feb 2014 16:46:33 +0000 +Checked in by : Robert Osfield +Added test code for nesting a within a volume tag. - * src/osgDB/ObjectWrapper.cpp: Seperated out the #define of - GL_PERSPECTIVE_CORRECTION_HINT to fix GL3 build +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 -2010-02-22 08:39 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. - * include/osg/observer_ptr: Added missing _ptr = rp._ptr to - constructor. +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. -2010-02-20 17:36 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. - * include/osgViewer/View, src/osgViewer/View.cpp: Converted View - across to use ObserverNodePath. +Renamed ScriptCallback to ScriptNodeCallback to avoid possibly confusion between osg::CallbackObject and the ScriptNodeCallback. -2010-02-19 21:03 robert - * src/osgDB/ObjectWrapper.cpp: Build fixes for GLES2 -2010-02-19 20:58 robert - * examples/osgautocapture/osgautocapture.cpp: Fixed GLES1/GLES2 - build +Wed, 29 Jan 2014 11:01:24 +0000 +Checked in by : Robert Osfield +Updated ChangeLog -2010-02-19 20:43 robert +Tue, 28 Jan 2014 16:49:20 +0000 +Checked in by : Robert Osfield +From Kristofer Tingdahl, made method virtual - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: Added include of - osg/FrameBufferObject to fix GLES1/GLES2 build issue +Tue, 28 Jan 2014 16:48:47 +0000 +Checked in by : Robert Osfield +Fixed MingW build's handling of debug d postfix. -2010-02-19 20:40 robert +Tue, 28 Jan 2014 15:28:17 +0000 +Checked in by : Robert Osfield +Removed the invocation of gcc on all platforms - * src/osgDB/ObjectWrapper.cpp: Build fix for GLES1 and GLES2 +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. -2010-02-19 20:18 robert - * include/osg/Observer, src/osg/Observer.cpp: Moved implementation - of Observer destructor and constructor from header into .cpp to - avoid possible issues with imports/exports under Windows build. -2010-02-19 20:14 robert - * include/osg/Drawable: Added check against OSG_GL3_AVAILABLE to - avoid issues with GL3 build under linux -2010-02-19 20:11 robert +Mon, 27 Jan 2014 15:43:36 +0000 +Checked in by : Robert Osfield +Removed unimplemented method - * src/osg/ColorMatrix.cpp, src/osg/Fog.cpp, src/osg/TexEnv.cpp, - src/osg/TexEnvFilter.cpp: Added #include , convert - osg::notify usage to OSG_NOTICE +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 -2010-02-19 19:50 robert +2> The drawelements need to be rewritten as the vertices are reordered. - * include/osg/observer_ptr: Clean up observer_ptr<> and removed the - eronous casting of ptr in objectDeleted. +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" -2010-02-19 19:00 robert - * src/osgWrappers/introspection/osgViewer/CompositeViewer.cpp: - Updated wrappers -2010-02-19 18:56 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). - * include/osgViewer/CompositeViewer: Removed the uncessary - subclassing from osg::Object as this base class is already - pullled via ViewerBase +On some ATI cards (at least RADEON HD) this also leads to an "incomplete " FBO status -2010-02-19 16:04 robert +I've added a test to enable drawbuffers only if target is "DRAW" or "READ_DRAW", this solves my problems on ATI cards." - * include/osg/observer_ptr: Added mutex lock to destructor. -2010-02-19 15:41 robert - * include/osg/observer_ptr: Replaced local mutex with - getObserverMutex(). -2010-02-19 14:30 robert +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." - * include/osgPresentation/AnimationMaterial, - include/osgUtil/IncrementalCompileOperation: From Fabien - Lavignotte, "In order to compile on Windows with Wrappers ON, - some exports are still missing on - osgPresentation::AnimationMaterialCallback and - osgUtil::IncrementalCompileOperation::CompileSet." +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" -2010-02-19 14:05 robert +Fri, 24 Jan 2014 16:24:59 +0000 +Checked in by : Robert Osfield +From Torben Dannhauer, VisualStudio 2013 build fixes - * include/osgDB/Registry, - src/osgWrappers/introspection/osgDB/Registry.cpp: Removed no - longer defined methods and updated wrappers +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." -2010-02-19 09:32 robert - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Updated - contributors list for 2.9.7 release -2010-02-19 09:21 robert +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." - * ChangeLog: Updated ChangeLog +Fri, 24 Jan 2014 15:40:18 +0000 +Checked in by : Robert Osfield +Fixed warnings -2010-02-19 09:02 robert +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. - * include/osg/ObserverNodePath, src/osg/Observer.cpp, - src/osg/Referenced.cpp: Added an InitGlobalMutexes to enforce - early construction and hence late destruction of singleton - mutexes. +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. -2010-02-18 22:53 robert +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 - * include/osg/Observer: Added newline. +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" -2010-02-18 22:20 robert +Thu, 23 Jan 2014 19:55:37 +0000 +Checked in by : Robert Osfield +Fixed warnings - * src/OpenThreads/win32/Win32Mutex.cpp: From Mourad Boufarguine, - fixed typo. +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. -2010-02-18 22:17 robert +I am therefor suggesting a slight generalization of the ComputeBoundVisitor with the attached patch, which is tested. - * src/osgWrappers/introspection/OpenThreads/Mutex.cpp, - src/osgWrappers/introspection/OpenThreads/ReentrantMutex.cpp, - src/osgWrappers/introspection/osgDB/DatabasePager.cpp, - src/osgWrappers/introspection/osgViewer/Scene.cpp, - src/osgWrappers/introspection/osgWidget/EventInterface.cpp: - Updated wrappers +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. +" -2010-02-18 22:17 robert +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. - * src/osgWrappers/introspection/osg/Observer.cpp, - src/osgWrappers/introspection/osg/ObserverNodePath.cpp, - src/osgWrappers/introspection/osg/Referenced.cpp: Updated - wrappers -2010-02-18 21:24 robert - * src/OpenThreads/CMakeLists.txt: Updated version number of - OpenThreads to reflect recent changes -2010-02-18 21:21 robert +Thu, 23 Jan 2014 15:37:48 +0000 +Checked in by : Robert Osfield +From Stephan Huber, "attached are some fixes to the osc-plugin and the touch-implementations for iOS and os x and other small bugfixes. These fixes will normalize the orientation of the touch points, and transmitting the touch points over osc via the TUIO-protocol works now more robustly between two osg-applications.I added a new tag to p3d called forward_touch_event_to_device and renamed the existing forward_event_to_device to forward_mouse_event_to_device. This new tag will transmit touches to the virtual trackpad as touch events. I added the MultitouchTrackball to the p3d-app so zooming and moving a model remotely should now work, if you use forward_touch_event_to_device. I kept (and fixed) forward_mouse_event_to_device for background compatibility, so old presentations works as in previous versions, without the ability to zoom + scale. of course. - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: - Completed usage of ObserverNodePath to fix longstanding crash - that occurred when nodes in parental chain of a newly loaded node - had been deleted. +forward_touch_event_to_device needs some more testing, (e.g. with image-streams and keystone, afaik there’s no support for touch-events...) but for a first version it works nice. +" -2010-02-18 21:21 robert - * include/osg/Observer, include/osg/ObserverNodePath, - include/osg/Referenced, src/osg/CMakeLists.txt, - src/osg/Observer.cpp, src/osg/ObserverNodePath.cpp, - src/osg/Referenced.cpp: Refactored the osg::Referenced - observerset code so that it now uses a dedicated ObserverSet - class, - which utilises a global recursive mutex that is dedicated to - manage Observer and ObserverSet. - - The new global mutex for observers avoids problems with deadlocks - that were occurring previously when - an osg::Refenced object was being deleted at the same time as on - osg::ObserverNodePath. -2010-02-18 21:18 robert +Thu, 23 Jan 2014 10:56:17 +0000 +Checked in by : Robert Osfield +Removed debug message - * include/osg/RenderInfo, include/osg/State: Replaced use of - observer_ptr<> with straight C pointer to avoid thrashing of an - observer_ptr<> every frame. - - Changed include to point to new Observer header +Thu, 23 Jan 2014 10:50:55 +0000 +Checked in by : Robert Osfield +Changed the TransprencyProperty range to 0 to 2.0 to enable forcing opaque qualities on fragments -2010-02-18 21:17 robert +Thu, 23 Jan 2014 10:11:15 +0000 +Checked in by : Robert Osfield +Cleaned up debug message. - * include/osgWidget/EventInterface: Added className() to assist - with debugging +Thu, 23 Jan 2014 10:09:53 +0000 +Checked in by : Robert Osfield +Cleaned up the Qt find package, and made changed the default threading model to SingleThreaded when using Qt5 to avoid crash due to regresssion since Qt4. -2010-02-18 21:15 robert +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. - * src/osgGA/AnimationPathManipulator.cpp: Changed controls for - changing animation speed to '(' and ')' to avoid overlap with - window resize handler. +Thu, 23 Jan 2014 07:59:46 +0000 +Checked in by : Robert Osfield +Added GL_TEXTURE_2D_MULTISAMPLE to texture mode list. -2010-02-18 20:14 robert +Wed, 22 Jan 2014 17:29:44 +0000 +Checked in by : Robert Osfield +Made protected methods virtual to allow subclassing to customize more aspects of the window setup. - * include/OpenThreads/Mutex, include/OpenThreads/ReentrantMutex, - src/OpenThreads/pthreads/PThreadMutex.c++, - src/OpenThreads/sproc/SprocMutex.c++, - src/OpenThreads/win32/Win32Mutex.cpp: Refactored the - ReentrantMutex support so that it utilises the underling thread - implementation for recusive mutex support. +Wed, 22 Jan 2014 16:29:45 +0000 +Checked in by : Robert Osfield +Refactored .p3d loader to make it less strict about the tag, property and value strings when matching them to supported values.Examples of supported matches are: -2010-02-18 09:00 robert + and will be treated the same + WHITE and White will be treated the same + and , will all be treated the same - * include/osg/ObserverNodePath: Added new setNodePathTo() method -2010-02-17 10:09 robert - * src/osg/ObserverNodePath.cpp, src/osg/Referenced.cpp: Fixed - double addition of source node when doing - ObserverNodPath::setNodePathTo() - - Fixed comment in Referenced.cpp -2010-02-16 17:38 robert +Wed, 22 Jan 2014 11:25:54 +0000 +Checked in by : Robert Osfield +Added support for sampleRatio and sampleRatioWhenMoving properties - * include/osgDB/DatabasePager, - include/osgShadow/ViewDependentShadowTechnique, - include/osgViewer/Scene: Added className() implementation to help - wiht debugging. +Tue, 21 Jan 2014 18:58:52 +0000 +Checked in by : Robert Osfield +Build fixes for when ref_ptr<> automatic type conversion is turned off -2010-02-16 14:05 robert - - * include/osg/observer_ptr: Fixed crash - -2010-02-16 11:10 robert - - * include/osg/observer_ptr: Threads safety fixes based on - suggestions from Tim Moore. - -2010-02-16 08:53 robert - - * src/osgWrappers/introspection/osgAnimation/EaseMotion.cpp: - Updated wrappers - -2010-02-15 23:47 cedricpinson - - * include/osgAnimation/EaseMotion: From Jeremy Moles, add new - EaseMotion and add example osganimationeasemotion to demonstrate - them - -2010-02-15 20:15 robert - - * src/osgWrappers/introspection/osg/NodeTrackerCallback.cpp, - src/osgWrappers/introspection/osg/Observer.cpp, - src/osgWrappers/introspection/osg/ObserverNodePath.cpp, - src/osgWrappers/introspection/osg/Referenced.cpp, - src/osgWrappers/introspection/osg/State.cpp, - src/osgWrappers/introspection/osg/Timer.cpp, - src/osgWrappers/introspection/osg/observer_ptr.cpp, - src/osgWrappers/introspection/osgDB/DatabasePager.cpp, - src/osgWrappers/introspection/osgDB/DotOsgWrapper.cpp, - src/osgWrappers/introspection/osgDB/PluginQuery.cpp, - src/osgWrappers/introspection/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/introspection/osgWidget/Widget.cpp, - src/osgWrappers/introspection/osgWidget/Window.cpp: Upadted - wrappers - -2010-02-15 20:15 robert - - * include/osg/NodeTrackerCallback, include/osgGA/DriveManipulator, - include/osgGA/FlightManipulator, - include/osgGA/NodeTrackerManipulator, - include/osgGA/SphericalManipulator, - include/osgGA/TerrainManipulator, - include/osgGA/TrackballManipulator, include/osgGA/UFOManipulator, - src/osg/NodeTrackerCallback.cpp, - src/osgGA/NodeTrackerManipulator.cpp: Refactor various - NodeTracker and MatrixManipulator classes to use the - osg::ObserverNodePath and osg::oberserver_ptr<> classes - -2010-02-15 20:14 robert - - * include/osg/ObserverNodePath, src/osg/CMakeLists.txt, - src/osg/ObserverNodePath.cpp: Introduced new - osg::ObserverNodePath class that robustly manages a NodePath in a - thread safe manner, - making it easier for users to track a NodePath even when nodes in - the path get deleted. - -2010-02-15 20:12 robert - - * include/osg/Observer, include/osg/Referenced, - include/osg/observer_ptr, src/osg/Referenced.cpp: Refactored the - osg::Observer to introduce a new bool - Observer::objectUnreferenced(void*) method that adds - the extra capability of making it possible for Observers to - assume ownership of a object that would otherwsie be deleted. - - Added a thread safe ref_ptr observer_ptr::lock() method for - robust access to an observed object. This - makes observer_ptr<> more equivilant to boosts weak_ptr. - -2010-02-15 11:36 robert - - * include/osg/Notify: Added osg:: qualifyer to OSG_NOTIFY macro - -2010-02-12 11:45 robert - - * CMakeLists.txt, include/osg/Notify, src/osg/Config.in, - src/osg/Notify.cpp: Introduced OSG_WARN, OSG_NOTICE, OSG_INFO, - OSG_DEBUG convinience macros that map to OSG_NOTIFY(osg::WARN) - etc. - - Introduced the OSG_NOTIFY_DISABLE Cmake variable + - include/osg/Config #define to control whether the OpenSceneGraph - build - should disable the notification system completely. By setting - OSG_NOTIFY_DISABLE to ON in CMake and then rebuilding the - the OSG you can get a slightly smaller (~1%) and more slightly - efficient library which can be good for shipping applications, - but with downside of reduced ability to detect runtime problems - and their causes. - -2010-02-11 11:56 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/WriterCompareTriangle.cpp, - src/osgPlugins/3ds/WriterCompareTriangle.h, - src/osgPlugins/3ds/WriterNodeVisitor.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.h: From Sukender, "- Added - support for extended filenames (=not 8.3) for images: reads - without crashing, optionnally write extended filenames (correctly - truncate names if option is OFF). Write option is OFF by default. - - Improved identifiers generation in duplicate name handling (was - limited to 1000 name collisions, which can be very short for some - usages). - - Set all read/write operations use a custom log function that - will redirect lib3DS log to osg::notify() (was only used for - streams) - - Removed custom code (now uses osgDB::getFilePath()) - - Added missing supportsOption() calls - - Cleaned a few minor things" - -2010-02-11 11:17 robert - - * CMakeLists.txt, src/osg/CMakeLists.txt, src/osgDB/CMakeLists.txt: - From Alberto Luaces, "he new GNU linker, "gold", is going to - replace soon the current ld in - almost all Linux distributions. Although it is 100% compatible - with ld, - by default it gives an error if a library has unresolved symbols - at link - time, that is, it has set -Wl,--no-undefined by default. Debian - folks - have found that libosg.so and libosgDB.so use some functions - belonging - to libdl.so {dlsym,dlopen,dlclose,dlerror} without linking to it. - - My changes link those two libraries to libdl.so explicitly in the - same - way it is already done for libm.so and librt.so." - -2010-02-11 11:13 robert - - * src/osgDB/CMakeLists.txt: From Wang Rui, "Just a minor fix of the - src/osgDB/CMakeLists.txt, change: - - SET(COMPRESSION_LIBRARIES ${ZLIB_LIBRARY}) - ... - LINK_EXTERNAL(${LIB_NAME} ${OSGDB_PLATFORM_SPECIFIC_LIBRARIES}) - - to - - SET(COMPRESSION_LIBRARIES ZLIB_LIBRARY) - ... - LINK_EXTERNAL(${LIB_NAME} ${OSGDB_PLATFORM_SPECIFIC_LIBRARIES} - ${COMPRESSION_LIBRARIES}) - LINK_WITH_VARIABLES(${LIB_NAME} ${COMPRESSION_LIBRARIES}) - - - I notice that the LINK_EXTERNAL macro won't distinguish between - debug - and release dependences, which means that osgDB will use the - release - version of zlib for all build configurations. Under Win32, this - will - cause a manifest problem: all applications using osgDB may - complain - "failed to start because msvcr80.dll was not found" or similar - messages. - - This change will make it back to normal." - -2010-02-11 11:06 robert - - * src/osg/GLBeginEndAdapter.cpp: Fixed the rotation of normals - -2010-02-11 09:13 robert - - * src/osgDB/InputStream.cpp, src/osgDB/OutputStream.cpp: Added - futher use of readSize/writeSize. - -2010-02-10 19:36 robert - - * src/osgWrappers/serializers/osg/AnimationPath.cpp, - src/osgWrappers/serializers/osg/Billboard.cpp, - src/osgWrappers/serializers/osg/Camera.cpp, - src/osgWrappers/serializers/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/serializers/osg/FragmentProgram.cpp, - src/osgWrappers/serializers/osg/Geometry.cpp, - src/osgWrappers/serializers/osg/ImageSequence.cpp, - src/osgWrappers/serializers/osg/LOD.cpp, - src/osgWrappers/serializers/osg/Node.cpp, - src/osgWrappers/serializers/osg/Program.cpp, - src/osgWrappers/serializers/osg/Shader.cpp, - src/osgWrappers/serializers/osg/StateSet.cpp, - src/osgWrappers/serializers/osg/TransferFunction1D.cpp, - src/osgWrappers/serializers/osg/VertexProgram.cpp: replaced - reading and writing of std::container.size() using - InputStream::readSize() and OutputStream::writeSize() to make - the type writing more explictly tied to the size type, with use - of unsigned int as the default size. This approach - ensures that we get the same results under 32 and 64bit builds. - -2010-02-10 17:03 robert - - * include/osgDB/InputStream, include/osgDB/OutputStream, - src/osgDB/InputStream.cpp, src/osgDB/OutputStream.cpp: Added - OutputStream::writeSize and InputStream::readSize methods to help - out with ensure that 32bit and 64bit builds all - use the same 32bit type for sizes. - -2010-02-10 16:23 robert - - * include/osgDB/DotOsgWrapper, src/osgDB/DotOsgWrapper.cpp: Fixed - automatic loading of plugins - -2010-02-10 15:18 robert - - * src/osgViewer/PixelBufferWin32.cpp: Changed NOTIFY to OSG_NOTIFY - -2010-02-10 12:48 robert - - * include/osg/Notify: Fixed typo - -2010-02-10 12:44 robert - - * include/osg/Notify, src/osg/BufferObject.cpp, src/osg/Camera.cpp, - src/osg/CullSettings.cpp, src/osg/GL2Extensions.cpp, - src/osg/GLExtensions.cpp, src/osg/GraphicsContext.cpp, - src/osg/OperationThread.cpp, src/osg/State.cpp, src/osg/View.cpp, - src/osgDB/DatabasePager.cpp, src/osgDB/DynamicLibrary.cpp, - src/osgDB/FileCache.cpp, src/osgDB/FileUtils.cpp, - src/osgDB/Registry.cpp, src/osgGA/DriveManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/Image.cpp, src/osgPlugins/ive/Uniform.cpp, - src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osg/ReaderWriterOSG2.cpp, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Layer.cpp, - src/osgTerrain/TerrainTechnique.cpp, - src/osgTerrain/TerrainTile.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/Optimizer.cpp, src/osgUtil/RenderStage.cpp, - src/osgViewer/CompositeViewer.cpp, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/StatsHandler.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgViewer/ViewerBase.cpp, - src/osgViewer/ViewerEventHandlers.cpp: Convert NOTIFY to - OSG_NOTIFY to avoid problems with polution of users apps with the - NOTIFY macro - -2010-02-10 11:21 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Added - pruning of requests that haven't been reissued since the last - frame. - -2010-02-09 19:30 robert - - * src/osgDB/FileCache.cpp: Added enabling of threadsafe ref/unref - in FileCache. - -2010-02-09 18:24 robert - - * src/osg/BufferObject.cpp, src/osg/Camera.cpp, - src/osg/CullSettings.cpp, src/osg/GL2Extensions.cpp, - src/osg/GLExtensions.cpp, src/osg/GraphicsContext.cpp, - src/osg/OperationThread.cpp, src/osg/State.cpp, src/osg/View.cpp, - src/osgDB/DatabasePager.cpp, src/osgDB/DynamicLibrary.cpp, - src/osgDB/FileCache.cpp, src/osgDB/FileUtils.cpp, - src/osgDB/Registry.cpp, src/osgGA/DriveManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/Image.cpp, src/osgPlugins/ive/Uniform.cpp, - src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osg/ReaderWriterOSG2.cpp, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Layer.cpp, - src/osgTerrain/TerrainTechnique.cpp, - src/osgTerrain/TerrainTile.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/Optimizer.cpp, src/osgUtil/RenderStage.cpp, - src/osgViewer/CompositeViewer.cpp, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp, - src/osgViewer/PixelBufferWin32.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/StatsHandler.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgViewer/ViewerBase.cpp, - src/osgViewer/ViewerEventHandlers.cpp: Converted osg::notify - usage to NOTIFY - -2010-02-09 17:39 robert - - * include/osg/Notify: Introduced NOTIFY macro to help out with - avoiding using of streams with notification level is below the - user defined cutoff. This addition has been introduced to help - out with avoid threading performance issues with the Microsoft - ostream implementation. - -2010-02-09 17:38 robert - - * include/osg/Timer: Added extra elaspedTime_*() methods to help - with reporting times in milliseconds etc. - -2010-02-04 10:20 robert - - * include/osgDB/ObjectWrapper, src/osgDB/ObjectWrapper.cpp: From - Wang Rui, "I also did a small fix to the ObjectWrapper header, to - add a - OSGDB_EXPORT macro to RegisterCompressorProxy, and modified the - findCompressor() method to look for custom compressors in - libraries - such like osgdb_compressor_name.so, which was described in the - wiki - page chapter 2.4." - -2010-02-03 09:35 robert - - * src/osgDB/ObjectWrapper.cpp: Added #define for GL3 build - -2010-02-03 09:35 robert - - * include/osg/Fog, include/osg/Point, - src/osgWrappers/serializers/osg/Camera.cpp, - src/osgWrappers/serializers/osg/ClearNode.cpp: Added #defines for - GL3 build - -2010-02-02 11:16 robert - - * src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/ReaderWriterTXP.h, - src/osgPlugins/txp/TXPNode.cpp: From Ryan Kawicki, added removal - of TXPArchive from ReaderWriterTXP when the TXPNode destructs to - fix memory consumption issue relating to leaving unused archives - in memory. - -2010-02-02 11:02 robert - - * src/osgPlugins/txp/ReaderWriterTXP.cpp: Fixed indentation. - -2010-02-01 10:04 robert - - * src/osgPlugins/quicktime/MovieData.cpp: From Serge Lages, build - fix - -2010-01-31 18:24 robert - - * include/osgDB/Serializer, src/osgAnimation/StackedTransform.cpp, - src/osgAnimation/UpdateMatrixTransform.cpp, - src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/UpdateMatrixTransform.cpp: - Build fixes for build without ref_ptr<> automatic type conversion - -2010-01-31 18:23 robert - - * CMakeModules/FindInventor.cmake: From Jan Peciva, improvements to - Inventor find operation - -2010-01-31 12:55 robert - - * src/osgPlugins/Inventor/CMakeLists.txt, - src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/Inventor/ConvertFromInventor.h, - src/osgPlugins/Inventor/ConvertToInventor.cpp, - src/osgPlugins/Inventor/GroupSoLOD.cpp, - src/osgPlugins/Inventor/GroupSoLOD.h, - src/osgPlugins/Inventor/PendulumCallback.cpp, - src/osgPlugins/Inventor/README.txt, - src/osgPlugins/Inventor/ReaderWriterIV.cpp, - src/osgPlugins/Inventor/ReaderWriterIV.h, - src/osgPlugins/Inventor/ShuttleCallback.cpp: From Jan Peciva, "I - am sending improved version of Inventor plugin. Attaching just - modified files, while GroupSoLOD.h and .cpp was deleted. Please, - delete - it from repository, it is not used any longer and I doubt if it - is - probably not used for anything meaningful for a while. In the new - code, - there is no GroupSoLOD. Please, delete it. - - I am using new plugin version for about 1.5 month so I consider - it - stable by myself. - - List of changes: - - rewritten Inventor state stack - - shaders support - - light attenuation support - - support for reading from stream (readNode(std::istream& fin, - options)) - - improved grouping node handling (SoSeparator, SoGroup,...) - - fixed transformation bug when two SoShapes/Drawables with - different transformations are placed bellow one grouping node - - introduced preprocessing to handle more advanced usage schemes - of SoLOD and SoSwitch nodes - - unused code clean up - - improved notify messages - - animation callbacks fixes - - FindInventor.cmake improved finding routines, support for Coin3 - and Coin4" - -2010-01-29 17:20 robert - - * include/osgTerrain/GeometryTechnique, - src/osgWrappers/introspection/osgTerrain/GeometryTechnique.cpp: - Changed GeometryTechnique::private to protected, updated wrappers - -2010-01-29 14:55 robert - - * src/osgWidget/Input.cpp: From Trajce Nikolov, bug fixes - -2010-01-29 11:58 robert - - * src/osgWrappers/serializers/osgText/TextBase.cpp: Removed - redudent string; - -2010-01-29 11:35 robert - - * src/osgWrappers/serializers/CMakeLists.txt, - src/osgWrappers/serializers/osg/PagedLOD.cpp, - src/osgWrappers/serializers/osg/ProxyNode.cpp, - src/osgWrappers/serializers/osgText, - src/osgWrappers/serializers/osgText/CMakeLists.txt, - src/osgWrappers/serializers/osgText/FadeText.cpp, - src/osgWrappers/serializers/osgText/Text.cpp, - src/osgWrappers/serializers/osgText/Text3D.cpp, - src/osgWrappers/serializers/osgText/TextBase.cpp: From Wang Rui, - osgText serializers and support for PagedLOD+ProxyNode - -2010-01-28 12:10 robert - - * src/osgWrappers/introspection/osgDB/ObjectWrapper.cpp: Updated - wrappers - -2010-01-28 11:47 robert - - * src/osgWrappers/introspection/osgAnimation/Assert.cpp, - src/osgWrappers/introspection/osgAnimation/FindParentAnimationManagerVisitor.cpp, - src/osgWrappers/introspection/osgAnimation/Sampler.cpp, - src/osgWrappers/introspection/osgDB/FileUtils.cpp, - src/osgWrappers/introspection/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/introspection/osgParticle/ParticleSystem.cpp, - src/osgWrappers/introspection/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/introspection/osgWidget/Input.cpp: Updated - wrappers - -2010-01-28 11:44 robert - - * src/osgWrappers/introspection/genwrapper.conf: Fixed typo - -2010-01-28 10:59 robert - - * src/osgPlugins/exr/ReaderWriterEXR.cpp: From Martin Lambers, "Fix - static linking with EXR plugin on MinGW" - -2010-01-28 10:45 robert - - * include/osgDB/FileUtils, src/osgDB/FileUtils.cpp: Fom Sukender, - "Added copyFile() and comments in FileUtils." - - From Robert Osfield, build fix for linux/gcc and reformating to - keep coding style consistent with rest of OSG - -2010-01-28 08:59 robert - - * src/osgWrappers/serializers/osg/AlphaFunc.cpp, - src/osgWrappers/serializers/osg/AnimationPath.cpp, - src/osgWrappers/serializers/osg/AnimationPathCallback.cpp, - src/osgWrappers/serializers/osg/AudioSink.cpp, - src/osgWrappers/serializers/osg/AudioStream.cpp, - src/osgWrappers/serializers/osg/AutoTransform.cpp, - src/osgWrappers/serializers/osg/Billboard.cpp, - src/osgWrappers/serializers/osg/BlendColor.cpp, - src/osgWrappers/serializers/osg/BlendEquation.cpp, - src/osgWrappers/serializers/osg/BlendFunc.cpp, - src/osgWrappers/serializers/osg/Box.cpp, - src/osgWrappers/serializers/osg/Camera.cpp, - src/osgWrappers/serializers/osg/CameraView.cpp, - src/osgWrappers/serializers/osg/Capsule.cpp, - src/osgWrappers/serializers/osg/ClampColor.cpp, - src/osgWrappers/serializers/osg/ClearNode.cpp, - src/osgWrappers/serializers/osg/ClipNode.cpp, - src/osgWrappers/serializers/osg/ClipPlane.cpp, - src/osgWrappers/serializers/osg/ClusterCullingCallback.cpp, - src/osgWrappers/serializers/osg/ColorMask.cpp, - src/osgWrappers/serializers/osg/ColorMatrix.cpp, - src/osgWrappers/serializers/osg/CompositeShape.cpp, - src/osgWrappers/serializers/osg/Cone.cpp, - src/osgWrappers/serializers/osg/ConvexHull.cpp, - src/osgWrappers/serializers/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/serializers/osg/CoordinateSystemNode.cpp, - src/osgWrappers/serializers/osg/CullFace.cpp, - src/osgWrappers/serializers/osg/Cylinder.cpp, - src/osgWrappers/serializers/osg/Depth.cpp, - src/osgWrappers/serializers/osg/DrawPixels.cpp, - src/osgWrappers/serializers/osg/Drawable.cpp, - src/osgWrappers/serializers/osg/EllipsoidModel.cpp, - src/osgWrappers/serializers/osg/Fog.cpp, - src/osgWrappers/serializers/osg/FragmentProgram.cpp, - src/osgWrappers/serializers/osg/FrontFace.cpp, - src/osgWrappers/serializers/osg/Geode.cpp, - src/osgWrappers/serializers/osg/Geometry.cpp, - src/osgWrappers/serializers/osg/Group.cpp, - src/osgWrappers/serializers/osg/HeightField.cpp, - src/osgWrappers/serializers/osg/Hint.cpp, - src/osgWrappers/serializers/osg/Image.cpp, - src/osgWrappers/serializers/osg/ImageSequence.cpp, - src/osgWrappers/serializers/osg/ImageStream.cpp, - src/osgWrappers/serializers/osg/LOD.cpp, - src/osgWrappers/serializers/osg/Light.cpp, - src/osgWrappers/serializers/osg/LightModel.cpp, - src/osgWrappers/serializers/osg/LightSource.cpp, - src/osgWrappers/serializers/osg/LineStipple.cpp, - src/osgWrappers/serializers/osg/LineWidth.cpp, - src/osgWrappers/serializers/osg/LogicOp.cpp, - src/osgWrappers/serializers/osg/Material.cpp, - src/osgWrappers/serializers/osg/MatrixTransform.cpp, - src/osgWrappers/serializers/osg/Multisample.cpp, - src/osgWrappers/serializers/osg/Node.cpp, - src/osgWrappers/serializers/osg/NodeCallback.cpp, - src/osgWrappers/serializers/osg/NodeTrackerCallback.cpp, - src/osgWrappers/serializers/osg/Object.cpp, - src/osgWrappers/serializers/osg/OccluderNode.cpp, - src/osgWrappers/serializers/osg/OcclusionQueryNode.cpp, - src/osgWrappers/serializers/osg/PagedLOD.cpp, - src/osgWrappers/serializers/osg/Point.cpp, - src/osgWrappers/serializers/osg/PointSprite.cpp, - src/osgWrappers/serializers/osg/PolygonMode.cpp, - src/osgWrappers/serializers/osg/PolygonOffset.cpp, - src/osgWrappers/serializers/osg/PolygonStipple.cpp, - src/osgWrappers/serializers/osg/PositionAttitudeTransform.cpp, - src/osgWrappers/serializers/osg/Program.cpp, - src/osgWrappers/serializers/osg/Projection.cpp, - src/osgWrappers/serializers/osg/ProxyNode.cpp, - src/osgWrappers/serializers/osg/Scissor.cpp, - src/osgWrappers/serializers/osg/Sequence.cpp, - src/osgWrappers/serializers/osg/ShadeModel.cpp, - src/osgWrappers/serializers/osg/Shader.cpp, - src/osgWrappers/serializers/osg/ShaderBinary.cpp, - src/osgWrappers/serializers/osg/Shape.cpp, - src/osgWrappers/serializers/osg/ShapeDrawable.cpp, - src/osgWrappers/serializers/osg/Sphere.cpp, - src/osgWrappers/serializers/osg/StateAttribute.cpp, - src/osgWrappers/serializers/osg/StateSet.cpp, - src/osgWrappers/serializers/osg/Stencil.cpp, - src/osgWrappers/serializers/osg/StencilTwoSided.cpp, - src/osgWrappers/serializers/osg/Switch.cpp, - src/osgWrappers/serializers/osg/TessellationHints.cpp, - src/osgWrappers/serializers/osg/TexEnv.cpp, - src/osgWrappers/serializers/osg/TexEnvCombine.cpp, - src/osgWrappers/serializers/osg/TexEnvFilter.cpp, - src/osgWrappers/serializers/osg/TexGen.cpp, - src/osgWrappers/serializers/osg/TexGenNode.cpp, - src/osgWrappers/serializers/osg/TexMat.cpp, - src/osgWrappers/serializers/osg/Texture.cpp, - src/osgWrappers/serializers/osg/Texture1D.cpp, - src/osgWrappers/serializers/osg/Texture2D.cpp, - src/osgWrappers/serializers/osg/Texture2DArray.cpp, - src/osgWrappers/serializers/osg/Texture3D.cpp, - src/osgWrappers/serializers/osg/TextureCubeMap.cpp, - src/osgWrappers/serializers/osg/TextureRectangle.cpp, - src/osgWrappers/serializers/osg/TransferFunction.cpp, - src/osgWrappers/serializers/osg/TransferFunction1D.cpp, - src/osgWrappers/serializers/osg/Transform.cpp, - src/osgWrappers/serializers/osg/TriangleMesh.cpp, - src/osgWrappers/serializers/osg/Uniform.cpp, - src/osgWrappers/serializers/osg/VertexProgram.cpp, - src/osgWrappers/serializers/osg/Viewport.cpp: Added files back in - with the execution bit correctly disabled. - -2010-01-28 08:58 robert - - * src/osgWrappers/serializers/osg/AlphaFunc.cpp, - src/osgWrappers/serializers/osg/AnimationPath.cpp, - src/osgWrappers/serializers/osg/AnimationPathCallback.cpp, - src/osgWrappers/serializers/osg/AudioSink.cpp, - src/osgWrappers/serializers/osg/AudioStream.cpp, - src/osgWrappers/serializers/osg/AutoTransform.cpp, - src/osgWrappers/serializers/osg/Billboard.cpp, - src/osgWrappers/serializers/osg/BlendColor.cpp, - src/osgWrappers/serializers/osg/BlendEquation.cpp, - src/osgWrappers/serializers/osg/BlendFunc.cpp, - src/osgWrappers/serializers/osg/Box.cpp, - src/osgWrappers/serializers/osg/Camera.cpp, - src/osgWrappers/serializers/osg/CameraView.cpp, - src/osgWrappers/serializers/osg/Capsule.cpp, - src/osgWrappers/serializers/osg/ClampColor.cpp, - src/osgWrappers/serializers/osg/ClearNode.cpp, - src/osgWrappers/serializers/osg/ClipNode.cpp, - src/osgWrappers/serializers/osg/ClipPlane.cpp, - src/osgWrappers/serializers/osg/ClusterCullingCallback.cpp, - src/osgWrappers/serializers/osg/ColorMask.cpp, - src/osgWrappers/serializers/osg/ColorMatrix.cpp, - src/osgWrappers/serializers/osg/CompositeShape.cpp, - src/osgWrappers/serializers/osg/Cone.cpp, - src/osgWrappers/serializers/osg/ConvexHull.cpp, - src/osgWrappers/serializers/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/serializers/osg/CoordinateSystemNode.cpp, - src/osgWrappers/serializers/osg/CullFace.cpp, - src/osgWrappers/serializers/osg/Cylinder.cpp, - src/osgWrappers/serializers/osg/Depth.cpp, - src/osgWrappers/serializers/osg/DrawPixels.cpp, - src/osgWrappers/serializers/osg/Drawable.cpp, - src/osgWrappers/serializers/osg/EllipsoidModel.cpp, - src/osgWrappers/serializers/osg/Fog.cpp, - src/osgWrappers/serializers/osg/FragmentProgram.cpp, - src/osgWrappers/serializers/osg/FrontFace.cpp, - src/osgWrappers/serializers/osg/Geode.cpp, - src/osgWrappers/serializers/osg/Geometry.cpp, - src/osgWrappers/serializers/osg/Group.cpp, - src/osgWrappers/serializers/osg/HeightField.cpp, - src/osgWrappers/serializers/osg/Hint.cpp, - src/osgWrappers/serializers/osg/Image.cpp, - src/osgWrappers/serializers/osg/ImageSequence.cpp, - src/osgWrappers/serializers/osg/ImageStream.cpp, - src/osgWrappers/serializers/osg/LOD.cpp, - src/osgWrappers/serializers/osg/Light.cpp, - src/osgWrappers/serializers/osg/LightModel.cpp, - src/osgWrappers/serializers/osg/LightSource.cpp, - src/osgWrappers/serializers/osg/LineStipple.cpp, - src/osgWrappers/serializers/osg/LineWidth.cpp, - src/osgWrappers/serializers/osg/LogicOp.cpp, - src/osgWrappers/serializers/osg/Material.cpp, - src/osgWrappers/serializers/osg/MatrixTransform.cpp, - src/osgWrappers/serializers/osg/Multisample.cpp, - src/osgWrappers/serializers/osg/Node.cpp, - src/osgWrappers/serializers/osg/NodeCallback.cpp, - src/osgWrappers/serializers/osg/NodeTrackerCallback.cpp, - src/osgWrappers/serializers/osg/Object.cpp, - src/osgWrappers/serializers/osg/OccluderNode.cpp, - src/osgWrappers/serializers/osg/OcclusionQueryNode.cpp, - src/osgWrappers/serializers/osg/PagedLOD.cpp, - src/osgWrappers/serializers/osg/Point.cpp, - src/osgWrappers/serializers/osg/PointSprite.cpp, - src/osgWrappers/serializers/osg/PolygonMode.cpp, - src/osgWrappers/serializers/osg/PolygonOffset.cpp, - src/osgWrappers/serializers/osg/PolygonStipple.cpp, - src/osgWrappers/serializers/osg/PositionAttitudeTransform.cpp, - src/osgWrappers/serializers/osg/Program.cpp, - src/osgWrappers/serializers/osg/Projection.cpp, - src/osgWrappers/serializers/osg/ProxyNode.cpp, - src/osgWrappers/serializers/osg/Scissor.cpp, - src/osgWrappers/serializers/osg/Sequence.cpp, - src/osgWrappers/serializers/osg/ShadeModel.cpp, - src/osgWrappers/serializers/osg/Shader.cpp, - src/osgWrappers/serializers/osg/ShaderBinary.cpp, - src/osgWrappers/serializers/osg/Shape.cpp, - src/osgWrappers/serializers/osg/ShapeDrawable.cpp, - src/osgWrappers/serializers/osg/Sphere.cpp, - src/osgWrappers/serializers/osg/StateAttribute.cpp, - src/osgWrappers/serializers/osg/StateSet.cpp, - src/osgWrappers/serializers/osg/Stencil.cpp, - src/osgWrappers/serializers/osg/StencilTwoSided.cpp, - src/osgWrappers/serializers/osg/Switch.cpp, - src/osgWrappers/serializers/osg/TessellationHints.cpp, - src/osgWrappers/serializers/osg/TexEnv.cpp, - src/osgWrappers/serializers/osg/TexEnvCombine.cpp, - src/osgWrappers/serializers/osg/TexEnvFilter.cpp, - src/osgWrappers/serializers/osg/TexGen.cpp, - src/osgWrappers/serializers/osg/TexGenNode.cpp, - src/osgWrappers/serializers/osg/TexMat.cpp, - src/osgWrappers/serializers/osg/Texture.cpp, - src/osgWrappers/serializers/osg/Texture1D.cpp, - src/osgWrappers/serializers/osg/Texture2D.cpp, - src/osgWrappers/serializers/osg/Texture2DArray.cpp, - src/osgWrappers/serializers/osg/Texture3D.cpp, - src/osgWrappers/serializers/osg/TextureCubeMap.cpp, - src/osgWrappers/serializers/osg/TextureRectangle.cpp, - src/osgWrappers/serializers/osg/TransferFunction.cpp, - src/osgWrappers/serializers/osg/TransferFunction1D.cpp, - src/osgWrappers/serializers/osg/Transform.cpp, - src/osgWrappers/serializers/osg/TriangleMesh.cpp, - src/osgWrappers/serializers/osg/Uniform.cpp, - src/osgWrappers/serializers/osg/VertexProgram.cpp, - src/osgWrappers/serializers/osg/Viewport.cpp: Removed files as - they all have the incorrectly have the execution bit enabled, - will add back in with this fixed. - -2010-01-28 08:53 robert - - * src/osgWrappers/serializers/osgParticle, - src/osgWrappers/serializers/osgParticle/AccelOperator.cpp, - src/osgWrappers/serializers/osgParticle/AngularAccelOperator.cpp, - src/osgWrappers/serializers/osgParticle/BoxPlacer.cpp, - src/osgWrappers/serializers/osgParticle/CMakeLists.txt, - src/osgWrappers/serializers/osgParticle/CenteredPlacer.cpp, - src/osgWrappers/serializers/osgParticle/ConnectedParticleSystem.cpp, - src/osgWrappers/serializers/osgParticle/ConstantRateCounter.cpp, - src/osgWrappers/serializers/osgParticle/Counter.cpp, - src/osgWrappers/serializers/osgParticle/Emitter.cpp, - src/osgWrappers/serializers/osgParticle/ExplosionDebrisEffect.cpp, - src/osgWrappers/serializers/osgParticle/ExplosionEffect.cpp, - src/osgWrappers/serializers/osgParticle/FireEffect.cpp, - src/osgWrappers/serializers/osgParticle/FluidFrictionOperator.cpp, - src/osgWrappers/serializers/osgParticle/FluidProgram.cpp, - src/osgWrappers/serializers/osgParticle/ForceOperator.cpp, - src/osgWrappers/serializers/osgParticle/Interpolator.cpp, - src/osgWrappers/serializers/osgParticle/LinearInterpolator.cpp, - src/osgWrappers/serializers/osgParticle/ModularEmitter.cpp, - src/osgWrappers/serializers/osgParticle/ModularProgram.cpp, - src/osgWrappers/serializers/osgParticle/MultiSegmentPlacer.cpp, - src/osgWrappers/serializers/osgParticle/Operator.cpp, - src/osgWrappers/serializers/osgParticle/Particle.cpp, - src/osgWrappers/serializers/osgParticle/ParticleEffect.cpp, - src/osgWrappers/serializers/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/serializers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/serializers/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/serializers/osgParticle/Placer.cpp, - src/osgWrappers/serializers/osgParticle/PointPlacer.cpp, - src/osgWrappers/serializers/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/serializers/osgParticle/Program.cpp, - src/osgWrappers/serializers/osgParticle/RadialShooter.cpp, - src/osgWrappers/serializers/osgParticle/RandomRateCounter.cpp, - src/osgWrappers/serializers/osgParticle/SectorPlacer.cpp, - src/osgWrappers/serializers/osgParticle/SegmentPlacer.cpp, - src/osgWrappers/serializers/osgParticle/Shooter.cpp, - src/osgWrappers/serializers/osgParticle/SmokeEffect.cpp, - src/osgWrappers/serializers/osgParticle/SmokeTrailEffect.cpp, - src/osgWrappers/serializers/osgParticle/VariableRateCounter.cpp: - From Wang Rui, added osgParticle serializers - -2010-01-27 17:12 robert - - * src/osgPlugins/quicktime/MovieData.cpp: From Serge Lages, "Here - is a fix for the Quicktime plugin, with the previous version, the - size for some videos was not correct, using GetMovieBoundsRgn - instead of GetMovieBox returns the real movie size. - " - -2010-01-27 17:09 robert - - * include/osgDB/InputStream, include/osgDB/OutputStream, - include/osgDB/Serializer, include/osgDB/StreamOperator, - include/osgParticle/ParticleProcessor, - include/osgParticle/ParticleSystem, - include/osgParticle/PrecipitationEffect, - src/osgDB/InputStream.cpp, src/osgDB/ObjectWrapper.cpp, - src/osgDB/OutputStream.cpp, - src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgPlugins/osg/BinaryStreamOperator.h, - src/osgPlugins/osg/ReaderWriterOSG2.cpp, - src/osgWrappers/serializers/CMakeLists.txt, - src/osgWrappers/serializers/osg/BlendFunc.cpp, - src/osgWrappers/serializers/osg/Drawable.cpp, - src/osgWrappers/serializers/osg/HeightField.cpp, - src/osgWrappers/serializers/osg/Node.cpp, - src/osgWrappers/serializers/osg/TextureCubeMap.cpp: From Wang - Rui, "Changes: - - 1. Rewrite the reading/writing exception handlers to work like - the ive - plugin exceptions. - 2. Write a header writing/checking function in - ReaderWriterOSG2.cpp, - which may help decide if the stream is ascii or binary. The - readInputIterator() function will return null pointer if the - input - file is nither osgb nor osgt format, which indicates that the old - .osg - format could be used here, in case we've merged the two plugins - together. - 3. Add a new ForceReadingImage option in the InputStream, which - will - allocate an empty image object with the filename if specifed - external - image file is missed. It may be useful for format converting in - some - cases. - 4. Add new osgParticle wrappers, as well as some modification to - the - osgParticle headers, for instance, change isEnabled() to - getEnabled(). - 5. Some fixes to the osg serialization wrappers." - -2010-01-27 16:31 robert - - * include/osgWidget/Input, src/osgWidget/Input.cpp: From Trajce - Nikolov, improvements to osgWidget::Input including selection - support - -2010-01-27 15:53 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project - -2010-01-27 15:37 cedricpinson - - * include/osgAnimation/Assert, - include/osgAnimation/FindParentAnimationManagerVisitor, - include/osgAnimation/VertexInfluence, - src/osgAnimation/CMakeLists.txt, - src/osgAnimation/FindParentAnimationManagerVisitor.cpp, - src/osgAnimation/RigTransformSoftware.cpp: From Cedric Pinson, - remove unused file, fix crash for old files - -2010-01-27 15:00 robert - - * src/osgWrappers/introspection/genwrapper.conf, - src/osgWrappers/introspection/osgAnimation/Channel.cpp, - src/osgWrappers/introspection/osgAnimation/Interpolator.cpp, - src/osgWrappers/introspection/osgAnimation/Keyframe.cpp, - src/osgWrappers/introspection/osgAnimation/Sampler.cpp, - src/osgWrappers/introspection/osgAnimation/StackedTransform.cpp, - src/osgWrappers/introspection/osgAnimation/Target.cpp: Updated - wrappers - -2010-01-27 13:12 robert - - * src/osgWrappers/introspection/osgAnimation/AnimationUpdateCallback.cpp, - src/osgWrappers/introspection/osgAnimation/StackedMatrixElement.cpp, - src/osgWrappers/introspection/osgAnimation/StackedQuaternionElement.cpp, - src/osgWrappers/introspection/osgAnimation/StackedRotateAxisElement.cpp, - src/osgWrappers/introspection/osgAnimation/StackedScaleElement.cpp, - src/osgWrappers/introspection/osgAnimation/StackedTransform.cpp, - src/osgWrappers/introspection/osgAnimation/StackedTransformElement.cpp, - src/osgWrappers/introspection/osgAnimation/StackedTranslateElement.cpp, - src/osgWrappers/introspection/osgAnimation/UpdateBone.cpp, - src/osgWrappers/introspection/osgAnimation/UpdateMaterial.cpp, - src/osgWrappers/introspection/osgAnimation/UpdateMatrixTransform.cpp: - Updated wrappers - -2010-01-27 13:12 robert - - * src/osgWrappers/introspection/osgAnimation/Bone.cpp, - src/osgWrappers/introspection/osgAnimation/BoneMapVisitor.cpp, - src/osgWrappers/introspection/osgAnimation/Channel.cpp, - src/osgWrappers/introspection/osgAnimation/ComputeBindMatrixVisitor.cpp, - src/osgWrappers/introspection/osgAnimation/Interpolator.cpp, - src/osgWrappers/introspection/osgAnimation/Keyframe.cpp, - src/osgWrappers/introspection/osgAnimation/RigGeometry.cpp, - src/osgWrappers/introspection/osgAnimation/RigTransform.cpp, - src/osgWrappers/introspection/osgAnimation/RigTransformHardware.cpp, - src/osgWrappers/introspection/osgAnimation/RigTransformSoftware.cpp, - src/osgWrappers/introspection/osgAnimation/Sampler.cpp, - src/osgWrappers/introspection/osgAnimation/Skeleton.cpp, - src/osgWrappers/introspection/osgAnimation/Target.cpp, - src/osgWrappers/introspection/osgAnimation/UpdateCallback.cpp: - Updated wrappers - -2010-01-27 12:24 robert - - * examples/osganimationhardware/osganimationhardware.cpp, - examples/osganimationskinning/osganimationskinning.cpp, - examples/osganimationsolid/osganimationsolid.cpp, - include/osgAnimation/AnimationUpdateCallback, - include/osgAnimation/Bone, include/osgAnimation/BoneMapVisitor, - include/osgAnimation/Channel, - include/osgAnimation/ComputeBindMatrixVisitor, - include/osgAnimation/CubicBezier, - include/osgAnimation/EaseMotion, - include/osgAnimation/Interpolator, include/osgAnimation/Keyframe, - include/osgAnimation/MorphGeometry, - include/osgAnimation/RigGeometry, - include/osgAnimation/RigTransform, - include/osgAnimation/RigTransformHardware, - include/osgAnimation/RigTransformSoftware, - include/osgAnimation/Sampler, include/osgAnimation/Skeleton, - include/osgAnimation/StackedMatrixElement, - include/osgAnimation/StackedQuaternionElement, - include/osgAnimation/StackedRotateAxisElement, - include/osgAnimation/StackedScaleElement, - include/osgAnimation/StackedTransform, - include/osgAnimation/StackedTransformElement, - include/osgAnimation/StackedTranslateElement, - include/osgAnimation/Target, include/osgAnimation/UpdateBone, - include/osgAnimation/UpdateCallback, - include/osgAnimation/UpdateMaterial, - include/osgAnimation/UpdateMatrixTransform, - src/osgAnimation/Action.cpp, src/osgAnimation/Animation.cpp, - src/osgAnimation/AnimationManagerBase.cpp, - src/osgAnimation/BasicAnimationManager.cpp, - src/osgAnimation/Bone.cpp, src/osgAnimation/BoneMapVisitor.cpp, - src/osgAnimation/CMakeLists.txt, - src/osgAnimation/LinkVisitor.cpp, - src/osgAnimation/MorphGeometry.cpp, - src/osgAnimation/RigGeometry.cpp, - src/osgAnimation/RigTransformHardware.cpp, - src/osgAnimation/RigTransformSoftware.cpp, - src/osgAnimation/Skeleton.cpp, - src/osgAnimation/StackedMatrixElement.cpp, - src/osgAnimation/StackedQuaternionElement.cpp, - src/osgAnimation/StackedRotateAxisElement.cpp, - src/osgAnimation/StackedScaleElement.cpp, - src/osgAnimation/StackedTransform.cpp, - src/osgAnimation/StackedTranslateElement.cpp, - src/osgAnimation/StatsHandler.cpp, src/osgAnimation/Timeline.cpp, - src/osgAnimation/UpdateBone.cpp, - src/osgAnimation/UpdateCallback.cpp, - src/osgAnimation/UpdateMaterial.cpp, - src/osgAnimation/UpdateMatrixTransform.cpp, - src/osgAnimation/VertexInfluence.cpp, - src/osgPlugins/bvh/ReaderWriterBVH.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgAnimation/Matrix.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/Matrix.h, - src/osgWrappers/deprecated-dotosg/osgAnimation/ReaderWriter.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/StackedTransform.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/UpdateMaterial.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/UpdateMatrixTransform.cpp: - From Cedric Pinson, "Here a list of changes: - Bone now inherit from MatrixTransform. It simplify a lot the - update of - Bone matrix. It helps to have the bone system more generic. eg - it's now - possible to have animation data with precomputed bind matrix. The - other - benefit, is now the collada plugin will be able to use - osgAnimation to - display skinned mesh. Michael Plating did a great work to improve - this - aspect, he is working on the collada plugin and should be able to - submit - a new version soon. - The RigGeometry has been refactored so now it works when you save - and - reload RigGeometry because the source is not touched anymore. The - benefit with this update is that it should be now possible to use - a - MorphGeometry as source for a RigGeometry. - - The bad news is that the format has changed, so i have rebuild - osg-data - related to osgAnimation data, updated the blender exporter to - export to - the new format. - The fbx plugin could be touched about this commit, i dont compile - it so - i can't give more information about it. - The bvh plugin has been updated by Wang rui so this one is fixed - with - the new code of osgAnimation. - The examples has been updated to work with the new code too... - - The example osg-data/example.osg should be remove, it's an old - example - that does not work. - - For people using blender the blender exporter up to date is here: - http://hg.plopbyte.net/osgexport2/ - it will be merge to http://hg.plopbyte.net/osgexport/ as soon as - the - modification will be push in the trunk. - " - -2010-01-26 17:07 robert - - * src/osgWrappers/introspection/osgWidget/Input.cpp: Updated - wrappers - -2010-01-26 17:04 robert - - * src/osgViewer/PixelBufferWin32.cpp, - src/osgViewer/PixelBufferX11.cpp: From Laurens Voerman, "Wile - working with pbuffers I noticed that the Win32 implementation - uses the attribute WGL_PBUFFER_LARGEST_ARB. - - > quote from - http://www.opengl.org/registry/specs/ARB/wgl_pbuffer.txt - > The following attributes are supported by wglCreatePbufferARB: - > - > WGL_PBUFFER_LARGEST_ARB If this attribute is set to a - > non-zero value, the largest - > available pbuffer is allocated - > when the allocation of the pbuffer - > would otherwise fail due to - > insufficient resources. The width - > or height of the allocated pbuffer - > never exceeds and , - > respectively. Use wglQueryPbufferARB - > to retrieve the dimensions of the - > allocated pbuffer. - - It notifies the user when the size is not as requested, but I - could find no way for the program to detect this. I've added two - lines to write the new size back into the _traits, I think this - is appropriate, but I am not absolutely sure. - - In PixelBufferX11 was no support, so I've added - GLX_LARGEST_PBUFFER(_SGIX) support, with the same writeback to - the _trais. - - - I have tested the GLX_LARGEST_PBUFFER version on linux and the - WGL_PBUFFER_LARGEST_ARB with windows, all tested with the - modified autocapture I just submitted. - - - "autocapture --pbuffer --window 100 100 18192 18192 - cow.osg.\[0,0,-22.7\].trans" - gives me a 4096x4096 image on my windows machine, - and a 8192x8192 image on linux." - -2010-01-26 16:59 robert - - * include/osgWidget/Input, src/osgWidget/Input.cpp: From Trajce - Nikolov, various improvements of the workings of - osgWidget::Input. - -2010-01-26 16:50 robert - - * include/osg/ImageUtils: From Juan Hernando, fixed typo in - handling of RGBA and BGRA data - -2010-01-26 16:48 robert - - * examples/osgautocapture/osgautocapture.cpp: Added .get() to fix - build - -2010-01-26 16:41 robert - - * src/osgWrappers/introspection/osgViewer/View.cpp: Updated - wrappers - -2010-01-26 16:30 robert - - * include/osgDB/Serializer, - src/osgWrappers/serializers/osg/StateSet.cpp: From Tony Horrobin, - "This fix just makes a couple of calls to ref_ptr<>::get() to - satisfy the compiler. - - The changes make the build successful under Windows 7/VC2005 and - Ubuntu 9.10 with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set - to OFF. - " - -2010-01-26 15:37 robert - - * examples/osgQtBrowser/CMakeLists.txt: From Laurence Muller, - "attached the CMakeList.txt to fix the issue described in: - http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2010-January/037792.html - - Issue: - osgQtBrowser fails to compile because it can not find the QTCore - header files - - Fix: - Add the QT_QTCORE_INCLUDE_DIR to the CMakeList.txt file - - Patch: - ...\OpenSceneGraphSVN\examples\osgQtBrowser\CMakeLists.txt - change (line 17): INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR} ) - to (line 17): INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR} - ${QT_QTCORE_INCLUDE_DIR}) - " - -2010-01-26 15:08 robert - - * include/osgViewer/View, src/osgViewer/View.cpp: From Jan Peciva, - "I am sending one more improvement (separately from Inventor - plugin). - I found very useful to have a control whether - osgView::setCameraManipulator does or does not reset camera to - home position. - - I extended method signature as follows: - void setCameraManipulator(osgGA::MatrixManipulator* manipulator, - bool resetPosition = true); - - keeping the current usage intact (default parameter), while - enabling user to disable the position reset. That can be useful - in the situation when manipulator position was already loaded, - for example from a file (user specification), or defined any - other way, while we do not want to be reset to home position. - Other usability is usage of two manipulators in a modeling - program (orbiting around the model, walking on the model) and - changing between them while we want to preserve the position of a - camera in the change. Games may benefit from it as well when we - change from user-defined helicopter manipulator to soldier - manipulator because the user escaped the helicopter. The camera - will change manipulator but the position is expected to be kept - in the transition (provided that user makes the state transition - between the two manipulators himself). - " - -2010-01-26 14:57 robert - - * include/osgViewer/View, src/osgViewer/View.cpp: Removal of - redundant spaces at ends of lines - -2010-01-26 14:54 robert - - * src/osgWrappers/introspection/osg/KdTree.cpp: updated wrappers - -2010-01-26 13:05 robert - - * include/osg/KdTree, src/osg/KdTree.cpp: From Lars Nilsson, - "Attached is a small program doing intersection calculations, - both with and without KdTree. The geometry is a TRIANGLE_STRIP - consisting of five vertices, all with the same rather high - Z-value. If the intersection calculation uses KdTree, it fails. - When I changed osg::Vec3 to osg::Vec3d in a few places in - osg::KdTree it finds the correct intersection point." - - From Robert Osfield, I didn't merge the change of parameter type - of IntersectKdTree::intersect() as the internal maths is all done - in Vec3s. Keeping Vec3 here hasn't effected the test results. - -2010-01-26 11:37 robert - - * examples/osgautocapture/osgautocapture.cpp: From Laurens - Voerman,"ttached is a updated version for - examples\osgautocapture\osgautocapture.cpp - - -fixed a bug with --active command line option not rendering - -added --pbuffer command line option - -changed very confusing #ifdef 0 - -added OSG_GLES GL_RGB readPixels support if available - (UNTESTED)" - -2010-01-26 11:16 robert - - * src/osgUtil/SceneView.cpp: From Laurens Voerman, "I've removed an - underscore in - OpenSceneGraph/src/osgUtil/SceneView.cpp - introduced in svn - 10915 (5 Jan 2010): "Added support for call root Camera - CullCallbacks" - - - - It causes a segfault in osgViewer based apps on our linux system - (OSG_STEREO=ON OSG_STEREO_MODE=QUAD_BUFFER) - - Problem does not show when OSG_STEREO=OFF. - - - < 976 else _cullVisitor->traverse(*_camera); - > 976 else cullVisitor->traverse(*_camera); - - Looks like a typo, and removing the _ does fix the problem." - -2010-01-26 10:37 robert - - * include/osgDB/DotOsgWrapper: Changed doxygen comments to signal - deprecation of this old IO classes - -2010-01-25 18:08 robert - - * include/osgDB/DotOsgWrapper: Removed inapprorpiate OSGDB_EXPORT - -2010-01-25 17:07 robert - - * include/osgDB/DotOsgWrapper, include/osgDB/Registry, - src/osgDB/DotOsgWrapper.cpp, src/osgDB/Input.cpp, - src/osgDB/Output.cpp, src/osgDB/Registry.cpp, - src/osgWrappers/introspection/osgDB/DotOsgWrapper.cpp, - src/osgWrappers/introspection/osgDB/Registry.cpp: Refactored the - DotOsgWrapper support in osgDB::Registry so it's now provided by - the osgDB::DeprecatedDotOsgWrapperManager. - -2010-01-25 15:25 robert - - * src/osgWrappers/introspection/genwrapper.conf, - src/osgWrappers/introspection/osgDB/DotOsgWrapper.cpp, - src/osgWrappers/introspection/osgDB/Input.cpp, - src/osgWrappers/introspection/osgDB/Registry.cpp, - src/osgWrappers/introspection/osgUtil/SceneView.cpp: Updated - wrappers - -2010-01-25 15:24 robert - - * include/osgDB/Field, include/osgDB/FieldReader, - include/osgDB/FieldReaderIterator, include/osgDB/Input, - include/osgDB/Output, include/osgWidget/StyleManager, - src/osgDB/CMakeLists.txt, src/osgDB/Field.cpp, - src/osgDB/FieldReader.cpp, src/osgDB/FieldReaderIterator.cpp: - Moved the declaration of osgDB::Field, FieldReader and - FieldReaderIterator into include/osg/Input to centralise all the - deprecated .osg parsing code into one place. - -2010-01-25 12:48 robert - - * src/osgWrappers/introspection/osgDB/Field.cpp, - src/osgWrappers/introspection/osgDB/FieldReader.cpp, - src/osgWrappers/introspection/osgDB/FieldReaderIterator.cpp: - Removed deprecated classes - -2010-01-25 11:40 robert - - * include/osgDB/StreamOperator: Added back in StreamOperation with - executation bit disabled - -2010-01-25 11:39 robert - - * include/osgDB/StreamOperator: Temporily removed StreamOperation - as it had execution bit enable for it. - -2010-01-25 11:03 robert - - * include/osgDB/DataTypes, include/osgDB/InputStream, - include/osgDB/ObjectWrapper, include/osgDB/OutputStream, - include/osgDB/Serializer, include/osgDB/StreamOperator, - src/osgDB/CMakeLists.txt, src/osgDB/InputStream.cpp, - src/osgDB/OutputStream.cpp, - src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgPlugins/osg/BinaryStreamOperator.h, - src/osgPlugins/osg/ReaderWriterOSG2.cpp: From Wang Rui, - refactored the InputStream/OutputStream operations so that the - binar/ascii foramts are implemented via subclasses. - -2010-01-22 20:47 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Added - RequestQueue destructor and DatabaseRequest::invalidate() and - valid() methods to allow the - destruction of RequestQueue to remove any pointers held in - DatabaseRequest attached to the scene graph, and to - prevent their subsequent use in cases where the scene graph is - attached to a new DatabasePager. - -2010-01-22 20:35 robert - - * src/osg/BufferObject.cpp: Seting the notifcation level of debug - message to INFO. - -2010-01-22 16:13 robert - - * src/osgPlugins/freetype/CMakeLists.txt, - src/osgPlugins/freetype/FreeTypeFont3D.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.cpp: Reverted fixes for - Mingw as they break OSX build - -2010-01-22 15:16 robert - - * include/osgDB/ObjectWrapper, include/osgDB/Registry, - src/osgDB/InputStream.cpp, src/osgDB/ObjectWrapper.cpp, - src/osgDB/OutputStream.cpp, src/osgDB/Registry.cpp: Renamed - ObjectRegistry to ObjectWrapperManager, and replaced it's - instance() method usage with assigning a ObjectWrapperManager - to the osgDB::Registry. Added a - osgDB::Registry::getObjectWrapperManager() for access of this - object wrapper manager. This - change centralises the singleton management in osgDB. - - Merged the osgDB::GlobalLookUpTable functionality into - ObjectWrapperManger to keep down the number of singletons in use. - -2010-01-21 16:26 robert - - * include/osgDB/ObjectWrapper, src/osgDB/ObjectWrapper.cpp: Added - extra export for windows build - -2010-01-21 16:07 robert - - * src/osgDB/ObjectWrapper.cpp: Added extra includes to bring in - their local definitions of OpenGL enums that don't exist across - all GL versions - -2010-01-21 13:17 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project - -2010-01-21 10:24 robert - - * include/osgUtil/SceneView, src/osgUtil/SceneView.cpp, - src/osgViewer/Renderer.cpp: Added support for passing on slave - Camera's StateSet's to the rendering backend. - -2010-01-21 09:25 robert - - * include/osgDB/DotOsgWrapper, include/osgDB/InputStream, - include/osgDB/ObjectWrapper, include/osgDB/OutputStream: From - Wang Rui, added exports for windows build - -2010-01-20 20:13 robert - - * include/osgDB/DataTypes, include/osgDB/DotOsgWrapper, - include/osgDB/InputStream, include/osgDB/ObjectWrapper, - include/osgDB/OutputStream, include/osgDB/Registry, - include/osgDB/Serializer, src/CMakeLists.txt, - src/osgDB/CMakeLists.txt, src/osgDB/Compressors.cpp, - src/osgDB/DotOsgWrapper.cpp, src/osgDB/InputStream.cpp, - src/osgDB/ObjectWrapper.cpp, src/osgDB/OutputStream.cpp, - src/osgDB/Registry.cpp, src/osgPlugins/osg/CMakeLists.txt, - src/osgPlugins/osg/ReaderWriterOSG2.cpp, - src/osgWrappers/serializers/CMakeLists.txt, - src/osgWrappers/serializers/osg/AlphaFunc.cpp, - src/osgWrappers/serializers/osg/AnimationPath.cpp, - src/osgWrappers/serializers/osg/AnimationPathCallback.cpp, - src/osgWrappers/serializers/osg/AudioSink.cpp, - src/osgWrappers/serializers/osg/AudioStream.cpp, - src/osgWrappers/serializers/osg/AutoTransform.cpp, - src/osgWrappers/serializers/osg/Billboard.cpp, - src/osgWrappers/serializers/osg/BlendColor.cpp, - src/osgWrappers/serializers/osg/BlendEquation.cpp, - src/osgWrappers/serializers/osg/BlendFunc.cpp, - src/osgWrappers/serializers/osg/Box.cpp, - src/osgWrappers/serializers/osg/CMakeLists.txt, - src/osgWrappers/serializers/osg/Camera.cpp, - src/osgWrappers/serializers/osg/CameraView.cpp, - src/osgWrappers/serializers/osg/Capsule.cpp, - src/osgWrappers/serializers/osg/ClampColor.cpp, - src/osgWrappers/serializers/osg/ClearNode.cpp, - src/osgWrappers/serializers/osg/ClipNode.cpp, - src/osgWrappers/serializers/osg/ClipPlane.cpp, - src/osgWrappers/serializers/osg/ClusterCullingCallback.cpp, - src/osgWrappers/serializers/osg/ColorMask.cpp, - src/osgWrappers/serializers/osg/ColorMatrix.cpp, - src/osgWrappers/serializers/osg/CompositeShape.cpp, - src/osgWrappers/serializers/osg/Cone.cpp, - src/osgWrappers/serializers/osg/ConvexHull.cpp, - src/osgWrappers/serializers/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/serializers/osg/CoordinateSystemNode.cpp, - src/osgWrappers/serializers/osg/CullFace.cpp, - src/osgWrappers/serializers/osg/Cylinder.cpp, - src/osgWrappers/serializers/osg/Depth.cpp, - src/osgWrappers/serializers/osg/DrawPixels.cpp, - src/osgWrappers/serializers/osg/Drawable.cpp, - src/osgWrappers/serializers/osg/EllipsoidModel.cpp, - src/osgWrappers/serializers/osg/Fog.cpp, - src/osgWrappers/serializers/osg/FragmentProgram.cpp, - src/osgWrappers/serializers/osg/FrontFace.cpp, - src/osgWrappers/serializers/osg/Geode.cpp, - src/osgWrappers/serializers/osg/Geometry.cpp, - src/osgWrappers/serializers/osg/Group.cpp, - src/osgWrappers/serializers/osg/HeightField.cpp, - src/osgWrappers/serializers/osg/Hint.cpp, - src/osgWrappers/serializers/osg/Image.cpp, - src/osgWrappers/serializers/osg/ImageSequence.cpp, - src/osgWrappers/serializers/osg/ImageStream.cpp, - src/osgWrappers/serializers/osg/LOD.cpp, - src/osgWrappers/serializers/osg/Light.cpp, - src/osgWrappers/serializers/osg/LightModel.cpp, - src/osgWrappers/serializers/osg/LightSource.cpp, - src/osgWrappers/serializers/osg/LineStipple.cpp, - src/osgWrappers/serializers/osg/LineWidth.cpp, - src/osgWrappers/serializers/osg/LogicOp.cpp, - src/osgWrappers/serializers/osg/Material.cpp, - src/osgWrappers/serializers/osg/MatrixTransform.cpp, - src/osgWrappers/serializers/osg/Multisample.cpp, - src/osgWrappers/serializers/osg/Node.cpp, - src/osgWrappers/serializers/osg/NodeCallback.cpp, - src/osgWrappers/serializers/osg/NodeTrackerCallback.cpp, - src/osgWrappers/serializers/osg/Object.cpp, - src/osgWrappers/serializers/osg/OccluderNode.cpp, - src/osgWrappers/serializers/osg/OcclusionQueryNode.cpp, - src/osgWrappers/serializers/osg/PagedLOD.cpp, - src/osgWrappers/serializers/osg/Point.cpp, - src/osgWrappers/serializers/osg/PointSprite.cpp, - src/osgWrappers/serializers/osg/PolygonMode.cpp, - src/osgWrappers/serializers/osg/PolygonOffset.cpp, - src/osgWrappers/serializers/osg/PolygonStipple.cpp, - src/osgWrappers/serializers/osg/PositionAttitudeTransform.cpp, - src/osgWrappers/serializers/osg/Program.cpp, - src/osgWrappers/serializers/osg/Projection.cpp, - src/osgWrappers/serializers/osg/ProxyNode.cpp, - src/osgWrappers/serializers/osg/Scissor.cpp, - src/osgWrappers/serializers/osg/Sequence.cpp, - src/osgWrappers/serializers/osg/ShadeModel.cpp, - src/osgWrappers/serializers/osg/Shader.cpp, - src/osgWrappers/serializers/osg/ShaderBinary.cpp, - src/osgWrappers/serializers/osg/Shape.cpp, - src/osgWrappers/serializers/osg/ShapeDrawable.cpp, - src/osgWrappers/serializers/osg/Sphere.cpp, - src/osgWrappers/serializers/osg/StateAttribute.cpp, - src/osgWrappers/serializers/osg/StateSet.cpp, - src/osgWrappers/serializers/osg/Stencil.cpp, - src/osgWrappers/serializers/osg/StencilTwoSided.cpp, - src/osgWrappers/serializers/osg/Switch.cpp, - src/osgWrappers/serializers/osg/TessellationHints.cpp, - src/osgWrappers/serializers/osg/TexEnv.cpp, - src/osgWrappers/serializers/osg/TexEnvCombine.cpp, - src/osgWrappers/serializers/osg/TexEnvFilter.cpp, - src/osgWrappers/serializers/osg/TexGen.cpp, - src/osgWrappers/serializers/osg/TexGenNode.cpp, - src/osgWrappers/serializers/osg/TexMat.cpp, - src/osgWrappers/serializers/osg/Texture.cpp, - src/osgWrappers/serializers/osg/Texture1D.cpp, - src/osgWrappers/serializers/osg/Texture2D.cpp, - src/osgWrappers/serializers/osg/Texture2DArray.cpp, - src/osgWrappers/serializers/osg/Texture3D.cpp, - src/osgWrappers/serializers/osg/TextureCubeMap.cpp, - src/osgWrappers/serializers/osg/TextureRectangle.cpp, - src/osgWrappers/serializers/osg/TransferFunction.cpp, - src/osgWrappers/serializers/osg/TransferFunction1D.cpp, - src/osgWrappers/serializers/osg/Transform.cpp, - src/osgWrappers/serializers/osg/TriangleMesh.cpp, - src/osgWrappers/serializers/osg/Uniform.cpp, - src/osgWrappers/serializers/osg/VertexProgram.cpp, - src/osgWrappers/serializers/osg/Viewport.cpp: From Wang Rui, new - native binary/ascii format infrastructure and wrappers. - - From Robert Osfield, refactor of Wang Rui's original osg2 into 3 - parts - parts placed into osgDB, the ReaderWriter placed into - src/osg/Plugin/osg and wrappers into - src/osgWrappers/serializers/osg - -2010-01-20 10:35 robert - - * src/osgWrappers/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osg/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgAnimation/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgFX/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgParticle/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgShadow/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgSim/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgTerrain/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgText/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgViewer/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgVolume/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgWidget/CMakeLists.txt, - src/osgWrappers/serializers, src/osgWrappers/serializers/osg: - Introduced file globbing to deprecated-dotosg directories and - added new serializers direcotory in prep for new serializers - -2010-01-19 13:31 robert - - * src/osgWrappers/deprecated-dotosg/osg/AnimationPath.cpp, - src/osgWrappers/deprecated-dotosg/osg/TransferFunction.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_AnisotropicLighting.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_BumpMapping.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_Cartoon.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_Effect.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_MultiTextureControl.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_Outline.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_Scribe.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_SpecularHighlights.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_AccelOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_AngularAccelOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_BoxPlacer.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_CenteredPlacer.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ConnectedParticleSystem.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ConstantRateCounter.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_Emitter.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ExplosionDebrisEffect.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ExplosionEffect.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_FireEffect.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_FluidFrictionOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_FluidProgram.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ForceOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_LinearInterpolator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ModularEmitter.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ModularProgram.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_MultiSegmentPlacer.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ParticleEffect.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ParticleProcessor.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ParticleSystem.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ParticleSystemUpdater.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_PointPlacer.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_Program.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_RadialShooter.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_RandomRateCounter.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_SectorPlacer.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_SegmentPlacer.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_SmokeEffect.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_SmokeTrailEffect.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_VariableRateCounter.cpp, - src/osgWrappers/deprecated-dotosg/osgShadow/ShadowMap.cpp, - src/osgWrappers/deprecated-dotosg/osgShadow/ShadowTechnique.cpp, - src/osgWrappers/deprecated-dotosg/osgShadow/ShadowTexture.cpp, - src/osgWrappers/deprecated-dotosg/osgShadow/ShadowVolume.cpp, - src/osgWrappers/deprecated-dotosg/osgShadow/ShadowedScene.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_BlinkSequence.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_DOFTransform.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_Impostor.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_LightPointNode.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_MultiSwitch.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_ObjectRecordData.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_OverlayNode.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_Sector.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_ShapeAttribute.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_VisibilityGroup.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/CompositeLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/HeightFieldLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/ImageLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/Layer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/Locator.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/SwitchLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/TerrainTile.cpp, - src/osgWrappers/deprecated-dotosg/osgText/IO_Text.cpp, - src/osgWrappers/deprecated-dotosg/osgText/IO_Text3D.cpp, - src/osgWrappers/deprecated-dotosg/osgText/IO_TextBase.cpp, - src/osgWrappers/deprecated-dotosg/osgViewer/CompositeViewer.cpp, - src/osgWrappers/deprecated-dotosg/osgViewer/View.cpp, - src/osgWrappers/deprecated-dotosg/osgViewer/Viewer.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/CompositeProperty.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/FixedFunctionTechnique.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/ImageLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/Layer.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/Locator.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/Property.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/PropertyAdjustmentCallback.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/RayTracedTechnique.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/ScalarProperty.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/SwitchProperty.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/TransferFunctionProperty.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/Volume.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/VolumeTile.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Box.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/EmbeddedWindow.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Frame.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Input.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Label.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Table.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Widget.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/WindowManager.cpp: - Replaced osgDB::RegisterDotOsgWrapperProxy usage with - REGISTER_DOTOSGWRAPPER proxy to aid static linking - -2010-01-19 12:36 robert - - * src/osgWrappers/deprecated-dotosg/CMakeLists.txt: Added - CmakeList.txt for new wrapper plugins - -2010-01-19 12:26 robert - - * src/osgDB/Registry.cpp, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/osg/AlphaFunc.cpp, - src/osgPlugins/osg/AnimationPath.cpp, - src/osgPlugins/osg/AutoTransform.cpp, - src/osgPlugins/osg/Billboard.cpp, - src/osgPlugins/osg/BlendColor.cpp, - src/osgPlugins/osg/BlendEquation.cpp, - src/osgPlugins/osg/BlendFunc.cpp, src/osgPlugins/osg/Box.cpp, - src/osgPlugins/osg/CMakeLists.txt, src/osgPlugins/osg/Camera.cpp, - src/osgPlugins/osg/CameraView.cpp, - src/osgPlugins/osg/Capsule.cpp, src/osgPlugins/osg/ClearNode.cpp, - src/osgPlugins/osg/ClipNode.cpp, - src/osgPlugins/osg/ClipPlane.cpp, - src/osgPlugins/osg/ClusterCullingCallback.cpp, - src/osgPlugins/osg/ColorMask.cpp, - src/osgPlugins/osg/ColorMatrix.cpp, - src/osgPlugins/osg/CompositeShape.cpp, - src/osgPlugins/osg/Cone.cpp, - src/osgPlugins/osg/ConvexPlanarOccluder.cpp, - src/osgPlugins/osg/CoordinateSystemNode.cpp, - src/osgPlugins/osg/CullFace.cpp, src/osgPlugins/osg/Cylinder.cpp, - src/osgPlugins/osg/Depth.cpp, src/osgPlugins/osg/Drawable.cpp, - src/osgPlugins/osg/EllipsoidModel.cpp, - src/osgPlugins/osg/Fog.cpp, - src/osgPlugins/osg/FragmentProgram.cpp, - src/osgPlugins/osg/FrontFace.cpp, src/osgPlugins/osg/Geode.cpp, - src/osgPlugins/osg/Geometry.cpp, src/osgPlugins/osg/Group.cpp, - src/osgPlugins/osg/HeightField.cpp, src/osgPlugins/osg/Image.cpp, - src/osgPlugins/osg/ImageSequence.cpp, src/osgPlugins/osg/LOD.cpp, - src/osgPlugins/osg/Light.cpp, src/osgPlugins/osg/LightModel.cpp, - src/osgPlugins/osg/LightSource.cpp, - src/osgPlugins/osg/LineStipple.cpp, - src/osgPlugins/osg/LineWidth.cpp, - src/osgPlugins/osg/Material.cpp, src/osgPlugins/osg/Matrix.cpp, - src/osgPlugins/osg/Matrix.h, - src/osgPlugins/osg/MatrixTransform.cpp, - src/osgPlugins/osg/Node.cpp, src/osgPlugins/osg/NodeCallback.cpp, - src/osgPlugins/osg/Object.cpp, - src/osgPlugins/osg/OccluderNode.cpp, - src/osgPlugins/osg/OcclusionQueryNode.cpp, - src/osgPlugins/osg/PagedLOD.cpp, src/osgPlugins/osg/Point.cpp, - src/osgPlugins/osg/PointSprite.cpp, - src/osgPlugins/osg/PolygonMode.cpp, - src/osgPlugins/osg/PolygonOffset.cpp, - src/osgPlugins/osg/PositionAttitudeTransform.cpp, - src/osgPlugins/osg/Program.cpp, - src/osgPlugins/osg/Projection.cpp, - src/osgPlugins/osg/ProxyNode.cpp, src/osgPlugins/osg/README, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osg/Scissor.cpp, src/osgPlugins/osg/Sequence.cpp, - src/osgPlugins/osg/ShadeModel.cpp, src/osgPlugins/osg/Shader.cpp, - src/osgPlugins/osg/ShapeDrawable.cpp, - src/osgPlugins/osg/Sphere.cpp, - src/osgPlugins/osg/StateAttribute.cpp, - src/osgPlugins/osg/StateSet.cpp, src/osgPlugins/osg/Stencil.cpp, - src/osgPlugins/osg/Switch.cpp, - src/osgPlugins/osg/TessellationHints.cpp, - src/osgPlugins/osg/TexEnv.cpp, - src/osgPlugins/osg/TexEnvCombine.cpp, - src/osgPlugins/osg/TexEnvFilter.cpp, - src/osgPlugins/osg/TexGen.cpp, src/osgPlugins/osg/TexGenNode.cpp, - src/osgPlugins/osg/TexMat.cpp, src/osgPlugins/osg/Texture.cpp, - src/osgPlugins/osg/Texture1D.cpp, - src/osgPlugins/osg/Texture2D.cpp, - src/osgPlugins/osg/Texture3D.cpp, - src/osgPlugins/osg/TextureCubeMap.cpp, - src/osgPlugins/osg/TextureRectangle.cpp, - src/osgPlugins/osg/TransferFunction.cpp, - src/osgPlugins/osg/Transform.cpp, src/osgPlugins/osg/Uniform.cpp, - src/osgPlugins/osg/VertexProgram.cpp, - src/osgPlugins/osg/Viewport.cpp, src/osgPlugins/osgAnimation, - src/osgPlugins/osgFX, src/osgPlugins/osgParticle, - src/osgPlugins/osgShadow, src/osgPlugins/osgSim, - src/osgPlugins/osgTerrain, src/osgPlugins/osgText, - src/osgPlugins/osgViewer, src/osgPlugins/osgVolume, - src/osgPlugins/osgWidget, src/osgPlugins/shadow, - src/osgPlugins/shadow/CMakeLists.txt, - src/osgPlugins/shadow/ReaderWriterOsgShadow.cpp, - src/osgPlugins/terrain, src/osgPlugins/terrain/CMakeLists.txt, - src/osgPlugins/terrain/CompositeLayer.cpp, - src/osgPlugins/terrain/GeometryTechnique.cpp, - src/osgPlugins/terrain/HeightFieldLayer.cpp, - src/osgPlugins/terrain/ImageLayer.cpp, - src/osgPlugins/terrain/Layer.cpp, - src/osgPlugins/terrain/Locator.cpp, - src/osgPlugins/terrain/SwitchLayer.cpp, - src/osgPlugins/terrain/Terrain.cpp, - src/osgPlugins/terrain/TerrainTile.cpp, src/osgPlugins/view, - src/osgPlugins/view/CMakeLists.txt, - src/osgPlugins/view/CompositeViewer.cpp, - src/osgPlugins/view/View.cpp, src/osgPlugins/view/Viewer.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation, - src/osgWrappers/deprecated-dotosg/osgFX, - src/osgWrappers/deprecated-dotosg/osgParticle, - src/osgWrappers/deprecated-dotosg/osgShadow, - src/osgWrappers/deprecated-dotosg/osgShadow/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgShadow/ReaderWriterOsgShadow.cpp, - src/osgWrappers/deprecated-dotosg/osgSim, - src/osgWrappers/deprecated-dotosg/osgTerrain, - src/osgWrappers/deprecated-dotosg/osgTerrain/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgTerrain/ReaderWriterOsgTerrain.cpp, - src/osgWrappers/deprecated-dotosg/osgText, - src/osgWrappers/deprecated-dotosg/osgViewer, - src/osgWrappers/deprecated-dotosg/osgViewer/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgViewer/ReaderWriterOsgViewer.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume, - src/osgWrappers/deprecated-dotosg/osgWidget: Refactored the old - style .osg plugin support so that the DotOsgWrappers are placed - in their own dedicated plugins found in - src/osgWrappers/deprecated_osg - -2010-01-19 12:24 robert - - * CMakeLists.txt: Inserted /introspection/ into path of - osgIntrospection wrappers - -2010-01-19 10:31 robert - - * src/CMakeLists.txt, src/osgWrappers/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg, - src/osgWrappers/deprecated-dotosg/osg, - src/osgWrappers/deprecated-dotosg/osg/AlphaFunc.cpp, - src/osgWrappers/deprecated-dotosg/osg/AnimationPath.cpp, - src/osgWrappers/deprecated-dotosg/osg/AutoTransform.cpp, - src/osgWrappers/deprecated-dotosg/osg/Billboard.cpp, - src/osgWrappers/deprecated-dotosg/osg/BlendColor.cpp, - src/osgWrappers/deprecated-dotosg/osg/BlendEquation.cpp, - src/osgWrappers/deprecated-dotosg/osg/BlendFunc.cpp, - src/osgWrappers/deprecated-dotosg/osg/Box.cpp, - src/osgWrappers/deprecated-dotosg/osg/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osg/Camera.cpp, - src/osgWrappers/deprecated-dotosg/osg/CameraView.cpp, - src/osgWrappers/deprecated-dotosg/osg/Capsule.cpp, - src/osgWrappers/deprecated-dotosg/osg/ClearNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/ClipNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/ClipPlane.cpp, - src/osgWrappers/deprecated-dotosg/osg/ClusterCullingCallback.cpp, - src/osgWrappers/deprecated-dotosg/osg/ColorMask.cpp, - src/osgWrappers/deprecated-dotosg/osg/ColorMatrix.cpp, - src/osgWrappers/deprecated-dotosg/osg/CompositeShape.cpp, - src/osgWrappers/deprecated-dotosg/osg/Cone.cpp, - src/osgWrappers/deprecated-dotosg/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/deprecated-dotosg/osg/CoordinateSystemNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/CullFace.cpp, - src/osgWrappers/deprecated-dotosg/osg/Cylinder.cpp, - src/osgWrappers/deprecated-dotosg/osg/Depth.cpp, - src/osgWrappers/deprecated-dotosg/osg/Drawable.cpp, - src/osgWrappers/deprecated-dotosg/osg/EllipsoidModel.cpp, - src/osgWrappers/deprecated-dotosg/osg/Fog.cpp, - src/osgWrappers/deprecated-dotosg/osg/FragmentProgram.cpp, - src/osgWrappers/deprecated-dotosg/osg/FrontFace.cpp, - src/osgWrappers/deprecated-dotosg/osg/Geode.cpp, - src/osgWrappers/deprecated-dotosg/osg/Geometry.cpp, - src/osgWrappers/deprecated-dotosg/osg/Group.cpp, - src/osgWrappers/deprecated-dotosg/osg/HeightField.cpp, - src/osgWrappers/deprecated-dotosg/osg/Image.cpp, - src/osgWrappers/deprecated-dotosg/osg/ImageSequence.cpp, - src/osgWrappers/deprecated-dotosg/osg/LOD.cpp, - src/osgWrappers/deprecated-dotosg/osg/Light.cpp, - src/osgWrappers/deprecated-dotosg/osg/LightModel.cpp, - src/osgWrappers/deprecated-dotosg/osg/LightSource.cpp, - src/osgWrappers/deprecated-dotosg/osg/LineStipple.cpp, - src/osgWrappers/deprecated-dotosg/osg/LineWidth.cpp, - src/osgWrappers/deprecated-dotosg/osg/Material.cpp, - src/osgWrappers/deprecated-dotosg/osg/Matrix.cpp, - src/osgWrappers/deprecated-dotosg/osg/Matrix.h, - src/osgWrappers/deprecated-dotosg/osg/MatrixTransform.cpp, - src/osgWrappers/deprecated-dotosg/osg/Node.cpp, - src/osgWrappers/deprecated-dotosg/osg/NodeCallback.cpp, - src/osgWrappers/deprecated-dotosg/osg/Object.cpp, - src/osgWrappers/deprecated-dotosg/osg/OccluderNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/OcclusionQueryNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/PagedLOD.cpp, - src/osgWrappers/deprecated-dotosg/osg/Point.cpp, - src/osgWrappers/deprecated-dotosg/osg/PointSprite.cpp, - src/osgWrappers/deprecated-dotosg/osg/PolygonMode.cpp, - src/osgWrappers/deprecated-dotosg/osg/PolygonOffset.cpp, - src/osgWrappers/deprecated-dotosg/osg/PositionAttitudeTransform.cpp, - src/osgWrappers/deprecated-dotosg/osg/Program.cpp, - src/osgWrappers/deprecated-dotosg/osg/Projection.cpp, - src/osgWrappers/deprecated-dotosg/osg/ProxyNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/Scissor.cpp, - src/osgWrappers/deprecated-dotosg/osg/Sequence.cpp, - src/osgWrappers/deprecated-dotosg/osg/ShadeModel.cpp, - src/osgWrappers/deprecated-dotosg/osg/Shader.cpp, - src/osgWrappers/deprecated-dotosg/osg/ShapeDrawable.cpp, - src/osgWrappers/deprecated-dotosg/osg/Sphere.cpp, - src/osgWrappers/deprecated-dotosg/osg/StateAttribute.cpp, - src/osgWrappers/deprecated-dotosg/osg/StateSet.cpp, - src/osgWrappers/deprecated-dotosg/osg/Stencil.cpp, - src/osgWrappers/deprecated-dotosg/osg/Switch.cpp, - src/osgWrappers/deprecated-dotosg/osg/TessellationHints.cpp, - src/osgWrappers/deprecated-dotosg/osg/TexEnv.cpp, - src/osgWrappers/deprecated-dotosg/osg/TexEnvCombine.cpp, - src/osgWrappers/deprecated-dotosg/osg/TexEnvFilter.cpp, - src/osgWrappers/deprecated-dotosg/osg/TexGen.cpp, - src/osgWrappers/deprecated-dotosg/osg/TexGenNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/TexMat.cpp, - src/osgWrappers/deprecated-dotosg/osg/Texture.cpp, - src/osgWrappers/deprecated-dotosg/osg/Texture1D.cpp, - src/osgWrappers/deprecated-dotosg/osg/Texture2D.cpp, - src/osgWrappers/deprecated-dotosg/osg/Texture3D.cpp, - src/osgWrappers/deprecated-dotosg/osg/TextureCubeMap.cpp, - src/osgWrappers/deprecated-dotosg/osg/TextureRectangle.cpp, - src/osgWrappers/deprecated-dotosg/osg/TransferFunction.cpp, - src/osgWrappers/deprecated-dotosg/osg/Transform.cpp, - src/osgWrappers/deprecated-dotosg/osg/Uniform.cpp, - src/osgWrappers/deprecated-dotosg/osg/VertexProgram.cpp, - src/osgWrappers/deprecated-dotosg/osg/Viewport.cpp: Added - deprecated-dot/osg directory from the contents of the - src/osgPlugins/osg and CMakeLists.txt in prep for creating the - plugin mechanism for .osg support - -2010-01-19 09:54 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode projects - -2010-01-18 20:49 robert - - * src/osgWrappers/CMakeLists.txt: Added introspection directory - -2010-01-18 19:56 robert - - * src/osgWrappers/introspection/CMakeLists.txt, - src/osgWrappers/introspection/OpenThreads, - src/osgWrappers/introspection/OpenThreads/Atomic.cpp, - src/osgWrappers/introspection/OpenThreads/Barrier.cpp, - src/osgWrappers/introspection/OpenThreads/Block.cpp, - src/osgWrappers/introspection/OpenThreads/Condition.cpp, - src/osgWrappers/introspection/OpenThreads/Mutex.cpp, - src/osgWrappers/introspection/OpenThreads/ReadWriteMutex.cpp, - src/osgWrappers/introspection/OpenThreads/ReentrantMutex.cpp, - src/osgWrappers/introspection/OpenThreads/Thread.cpp, - src/osgWrappers/introspection/osg, - src/osgWrappers/introspection/osg/AlphaFunc.cpp, - src/osgWrappers/introspection/osg/AnimationPath.cpp, - src/osgWrappers/introspection/osg/ApplicationUsage.cpp, - src/osgWrappers/introspection/osg/ArgumentParser.cpp, - src/osgWrappers/introspection/osg/Array.cpp, - src/osgWrappers/introspection/osg/ArrayDispatchers.cpp, - src/osgWrappers/introspection/osg/AudioStream.cpp, - src/osgWrappers/introspection/osg/AutoTransform.cpp, - src/osgWrappers/introspection/osg/Billboard.cpp, - src/osgWrappers/introspection/osg/BlendColor.cpp, - src/osgWrappers/introspection/osg/BlendEquation.cpp, - src/osgWrappers/introspection/osg/BlendFunc.cpp, - src/osgWrappers/introspection/osg/BoundingBox.cpp, - src/osgWrappers/introspection/osg/BoundingSphere.cpp, - src/osgWrappers/introspection/osg/BufferObject.cpp, - src/osgWrappers/introspection/osg/Camera.cpp, - src/osgWrappers/introspection/osg/CameraNode.cpp, - src/osgWrappers/introspection/osg/CameraView.cpp, - src/osgWrappers/introspection/osg/ClampColor.cpp, - src/osgWrappers/introspection/osg/ClearNode.cpp, - src/osgWrappers/introspection/osg/ClipNode.cpp, - src/osgWrappers/introspection/osg/ClipPlane.cpp, - src/osgWrappers/introspection/osg/ClusterCullingCallback.cpp, - src/osgWrappers/introspection/osg/CollectOccludersVisitor.cpp, - src/osgWrappers/introspection/osg/ColorMask.cpp, - src/osgWrappers/introspection/osg/ColorMatrix.cpp, - src/osgWrappers/introspection/osg/ComputeBoundsVisitor.cpp, - src/osgWrappers/introspection/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/introspection/osg/ConvexPlanarPolygon.cpp, - src/osgWrappers/introspection/osg/CoordinateSystemNode.cpp, - src/osgWrappers/introspection/osg/CopyOp.cpp, - src/osgWrappers/introspection/osg/CullFace.cpp, - src/osgWrappers/introspection/osg/CullSettings.cpp, - src/osgWrappers/introspection/osg/CullStack.cpp, - src/osgWrappers/introspection/osg/CullingSet.cpp, - src/osgWrappers/introspection/osg/DeleteHandler.cpp, - src/osgWrappers/introspection/osg/Depth.cpp, - src/osgWrappers/introspection/osg/DisplaySettings.cpp, - src/osgWrappers/introspection/osg/DrawPixels.cpp, - src/osgWrappers/introspection/osg/Drawable.cpp, - src/osgWrappers/introspection/osg/Endian.cpp, - src/osgWrappers/introspection/osg/Fog.cpp, - src/osgWrappers/introspection/osg/FragmentProgram.cpp, - src/osgWrappers/introspection/osg/FrameBufferObject.cpp, - src/osgWrappers/introspection/osg/FrameStamp.cpp, - src/osgWrappers/introspection/osg/FrontFace.cpp, - src/osgWrappers/introspection/osg/GL2Extensions.cpp, - src/osgWrappers/introspection/osg/GLBeginEndAdapter.cpp, - src/osgWrappers/introspection/osg/Geode.cpp, - src/osgWrappers/introspection/osg/Geometry.cpp, - src/osgWrappers/introspection/osg/GraphicsContext.cpp, - src/osgWrappers/introspection/osg/GraphicsThread.cpp, - src/osgWrappers/introspection/osg/Group.cpp, - src/osgWrappers/introspection/osg/Hint.cpp, - src/osgWrappers/introspection/osg/Image.cpp, - src/osgWrappers/introspection/osg/ImageSequence.cpp, - src/osgWrappers/introspection/osg/ImageStream.cpp, - src/osgWrappers/introspection/osg/KdTree.cpp, - src/osgWrappers/introspection/osg/LOD.cpp, - src/osgWrappers/introspection/osg/Light.cpp, - src/osgWrappers/introspection/osg/LightModel.cpp, - src/osgWrappers/introspection/osg/LightSource.cpp, - src/osgWrappers/introspection/osg/LineSegment.cpp, - src/osgWrappers/introspection/osg/LineStipple.cpp, - src/osgWrappers/introspection/osg/LineWidth.cpp, - src/osgWrappers/introspection/osg/LogicOp.cpp, - src/osgWrappers/introspection/osg/Material.cpp, - src/osgWrappers/introspection/osg/Matrix.cpp, - src/osgWrappers/introspection/osg/MatrixTransform.cpp, - src/osgWrappers/introspection/osg/Matrixd.cpp, - src/osgWrappers/introspection/osg/Matrixf.cpp, - src/osgWrappers/introspection/osg/Multisample.cpp, - src/osgWrappers/introspection/osg/Node.cpp, - src/osgWrappers/introspection/osg/NodeCallback.cpp, - src/osgWrappers/introspection/osg/NodeTrackerCallback.cpp, - src/osgWrappers/introspection/osg/NodeVisitor.cpp, - src/osgWrappers/introspection/osg/Notify.cpp, - src/osgWrappers/introspection/osg/Object.cpp, - src/osgWrappers/introspection/osg/OccluderNode.cpp, - src/osgWrappers/introspection/osg/OcclusionQueryNode.cpp, - src/osgWrappers/introspection/osg/OperationThread.cpp, - src/osgWrappers/introspection/osg/PagedLOD.cpp, - src/osgWrappers/introspection/osg/Plane.cpp, - src/osgWrappers/introspection/osg/Point.cpp, - src/osgWrappers/introspection/osg/PointSprite.cpp, - src/osgWrappers/introspection/osg/PolygonMode.cpp, - src/osgWrappers/introspection/osg/PolygonOffset.cpp, - src/osgWrappers/introspection/osg/PolygonStipple.cpp, - src/osgWrappers/introspection/osg/Polytope.cpp, - src/osgWrappers/introspection/osg/PositionAttitudeTransform.cpp, - src/osgWrappers/introspection/osg/PrimitiveSet.cpp, - src/osgWrappers/introspection/osg/Program.cpp, - src/osgWrappers/introspection/osg/Projection.cpp, - src/osgWrappers/introspection/osg/ProxyNode.cpp, - src/osgWrappers/introspection/osg/Quat.cpp, - src/osgWrappers/introspection/osg/Referenced.cpp, - src/osgWrappers/introspection/osg/RenderInfo.cpp, - src/osgWrappers/introspection/osg/Scissor.cpp, - src/osgWrappers/introspection/osg/Sequence.cpp, - src/osgWrappers/introspection/osg/ShadeModel.cpp, - src/osgWrappers/introspection/osg/Shader.cpp, - src/osgWrappers/introspection/osg/ShadowVolumeOccluder.cpp, - src/osgWrappers/introspection/osg/Shape.cpp, - src/osgWrappers/introspection/osg/ShapeDrawable.cpp, - src/osgWrappers/introspection/osg/State.cpp, - src/osgWrappers/introspection/osg/StateAttribute.cpp, - src/osgWrappers/introspection/osg/StateAttributeCallback.cpp, - src/osgWrappers/introspection/osg/StateSet.cpp, - src/osgWrappers/introspection/osg/Stats.cpp, - src/osgWrappers/introspection/osg/Stencil.cpp, - src/osgWrappers/introspection/osg/StencilTwoSided.cpp, - src/osgWrappers/introspection/osg/Switch.cpp, - src/osgWrappers/introspection/osg/TexEnv.cpp, - src/osgWrappers/introspection/osg/TexEnvCombine.cpp, - src/osgWrappers/introspection/osg/TexEnvFilter.cpp, - src/osgWrappers/introspection/osg/TexGen.cpp, - src/osgWrappers/introspection/osg/TexGenNode.cpp, - src/osgWrappers/introspection/osg/TexMat.cpp, - src/osgWrappers/introspection/osg/Texture.cpp, - src/osgWrappers/introspection/osg/Texture1D.cpp, - src/osgWrappers/introspection/osg/Texture2D.cpp, - src/osgWrappers/introspection/osg/Texture2DArray.cpp, - src/osgWrappers/introspection/osg/Texture3D.cpp, - src/osgWrappers/introspection/osg/TextureCubeMap.cpp, - src/osgWrappers/introspection/osg/TextureRectangle.cpp, - src/osgWrappers/introspection/osg/Timer.cpp, - src/osgWrappers/introspection/osg/TransferFunction.cpp, - src/osgWrappers/introspection/osg/Transform.cpp, - src/osgWrappers/introspection/osg/Uniform.cpp, - src/osgWrappers/introspection/osg/Vec2.cpp, - src/osgWrappers/introspection/osg/Vec2b.cpp, - src/osgWrappers/introspection/osg/Vec2d.cpp, - src/osgWrappers/introspection/osg/Vec2f.cpp, - src/osgWrappers/introspection/osg/Vec2s.cpp, - src/osgWrappers/introspection/osg/Vec3.cpp, - src/osgWrappers/introspection/osg/Vec3b.cpp, - src/osgWrappers/introspection/osg/Vec3d.cpp, - src/osgWrappers/introspection/osg/Vec3f.cpp, - src/osgWrappers/introspection/osg/Vec3s.cpp, - src/osgWrappers/introspection/osg/Vec4.cpp, - src/osgWrappers/introspection/osg/Vec4b.cpp, - src/osgWrappers/introspection/osg/Vec4d.cpp, - src/osgWrappers/introspection/osg/Vec4f.cpp, - src/osgWrappers/introspection/osg/Vec4s.cpp, - src/osgWrappers/introspection/osg/Vec4ub.cpp, - src/osgWrappers/introspection/osg/VertexProgram.cpp, - src/osgWrappers/introspection/osg/View.cpp, - src/osgWrappers/introspection/osg/Viewport.cpp, - src/osgWrappers/introspection/osg/observer_ptr.cpp, - src/osgWrappers/introspection/osgAnimation, - src/osgWrappers/introspection/osgAnimation/Action.cpp, - src/osgWrappers/introspection/osgAnimation/ActionAnimation.cpp, - src/osgWrappers/introspection/osgAnimation/ActionBlendIn.cpp, - src/osgWrappers/introspection/osgAnimation/ActionBlendOut.cpp, - src/osgWrappers/introspection/osgAnimation/ActionCallback.cpp, - src/osgWrappers/introspection/osgAnimation/ActionStripAnimation.cpp, - src/osgWrappers/introspection/osgAnimation/ActionVisitor.cpp, - src/osgWrappers/introspection/osgAnimation/Animation.cpp, - src/osgWrappers/introspection/osgAnimation/AnimationManagerBase.cpp, - src/osgWrappers/introspection/osgAnimation/Assert.cpp, - src/osgWrappers/introspection/osgAnimation/BasicAnimationManager.cpp, - src/osgWrappers/introspection/osgAnimation/Bone.cpp, - src/osgWrappers/introspection/osgAnimation/BoneMapVisitor.cpp, - src/osgWrappers/introspection/osgAnimation/Channel.cpp, - src/osgWrappers/introspection/osgAnimation/ComputeBindMatrixVisitor.cpp, - src/osgWrappers/introspection/osgAnimation/CubicBezier.cpp, - src/osgWrappers/introspection/osgAnimation/EaseMotion.cpp, - src/osgWrappers/introspection/osgAnimation/FindParentAnimationManagerVisitor.cpp, - src/osgWrappers/introspection/osgAnimation/FrameAction.cpp, - src/osgWrappers/introspection/osgAnimation/Interpolator.cpp, - src/osgWrappers/introspection/osgAnimation/Keyframe.cpp, - src/osgWrappers/introspection/osgAnimation/LinkVisitor.cpp, - src/osgWrappers/introspection/osgAnimation/MorphGeometry.cpp, - src/osgWrappers/introspection/osgAnimation/RigGeometry.cpp, - src/osgWrappers/introspection/osgAnimation/RigTransform.cpp, - src/osgWrappers/introspection/osgAnimation/RigTransformHardware.cpp, - src/osgWrappers/introspection/osgAnimation/RigTransformSoftware.cpp, - src/osgWrappers/introspection/osgAnimation/Sampler.cpp, - src/osgWrappers/introspection/osgAnimation/Skeleton.cpp, - src/osgWrappers/introspection/osgAnimation/StatsHandler.cpp, - src/osgWrappers/introspection/osgAnimation/StatsVisitor.cpp, - src/osgWrappers/introspection/osgAnimation/Target.cpp, - src/osgWrappers/introspection/osgAnimation/Timeline.cpp, - src/osgWrappers/introspection/osgAnimation/TimelineAnimationManager.cpp, - src/osgWrappers/introspection/osgAnimation/UpdateCallback.cpp, - src/osgWrappers/introspection/osgAnimation/Vec3Packed.cpp, - src/osgWrappers/introspection/osgAnimation/VertexInfluence.cpp, - src/osgWrappers/introspection/osgDB, - src/osgWrappers/introspection/osgDB/Archive.cpp, - src/osgWrappers/introspection/osgDB/AuthenticationMap.cpp, - src/osgWrappers/introspection/osgDB/Callbacks.cpp, - src/osgWrappers/introspection/osgDB/DatabasePager.cpp, - src/osgWrappers/introspection/osgDB/DatabaseRevisions.cpp, - src/osgWrappers/introspection/osgDB/DotOsgWrapper.cpp, - src/osgWrappers/introspection/osgDB/DynamicLibrary.cpp, - src/osgWrappers/introspection/osgDB/Field.cpp, - src/osgWrappers/introspection/osgDB/FieldReader.cpp, - src/osgWrappers/introspection/osgDB/FieldReaderIterator.cpp, - src/osgWrappers/introspection/osgDB/FileCache.cpp, - src/osgWrappers/introspection/osgDB/FileUtils.cpp, - src/osgWrappers/introspection/osgDB/ImageOptions.cpp, - src/osgWrappers/introspection/osgDB/ImagePager.cpp, - src/osgWrappers/introspection/osgDB/Input.cpp, - src/osgWrappers/introspection/osgDB/Options.cpp, - src/osgWrappers/introspection/osgDB/Output.cpp, - src/osgWrappers/introspection/osgDB/ParameterOutput.cpp, - src/osgWrappers/introspection/osgDB/PluginQuery.cpp, - src/osgWrappers/introspection/osgDB/ReaderWriter.cpp, - src/osgWrappers/introspection/osgDB/Registry.cpp, - src/osgWrappers/introspection/osgDB/SharedStateManager.cpp, - src/osgWrappers/introspection/osgDB/XmlParser.cpp, - src/osgWrappers/introspection/osgFX, - src/osgWrappers/introspection/osgFX/AnisotropicLighting.cpp, - src/osgWrappers/introspection/osgFX/BumpMapping.cpp, - src/osgWrappers/introspection/osgFX/Cartoon.cpp, - src/osgWrappers/introspection/osgFX/Effect.cpp, - src/osgWrappers/introspection/osgFX/MultiTextureControl.cpp, - src/osgWrappers/introspection/osgFX/Outline.cpp, - src/osgWrappers/introspection/osgFX/Registry.cpp, - src/osgWrappers/introspection/osgFX/Scribe.cpp, - src/osgWrappers/introspection/osgFX/SpecularHighlights.cpp, - src/osgWrappers/introspection/osgFX/Technique.cpp, - src/osgWrappers/introspection/osgFX/Validator.cpp, - src/osgWrappers/introspection/osgGA, - src/osgWrappers/introspection/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/introspection/osgGA/CameraViewSwitchManipulator.cpp, - src/osgWrappers/introspection/osgGA/DriveManipulator.cpp, - src/osgWrappers/introspection/osgGA/EventQueue.cpp, - src/osgWrappers/introspection/osgGA/EventVisitor.cpp, - src/osgWrappers/introspection/osgGA/FlightManipulator.cpp, - src/osgWrappers/introspection/osgGA/GUIActionAdapter.cpp, - src/osgWrappers/introspection/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/introspection/osgGA/GUIEventHandler.cpp, - src/osgWrappers/introspection/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/introspection/osgGA/MatrixManipulator.cpp, - src/osgWrappers/introspection/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/introspection/osgGA/SphericalManipulator.cpp, - src/osgWrappers/introspection/osgGA/StateSetManipulator.cpp, - src/osgWrappers/introspection/osgGA/TerrainManipulator.cpp, - src/osgWrappers/introspection/osgGA/TrackballManipulator.cpp, - src/osgWrappers/introspection/osgGA/UFOManipulator.cpp, - src/osgWrappers/introspection/osgManipulator, - src/osgWrappers/introspection/osgManipulator/AntiSquish.cpp, - src/osgWrappers/introspection/osgManipulator/Command.cpp, - src/osgWrappers/introspection/osgManipulator/CommandManager.cpp, - src/osgWrappers/introspection/osgManipulator/Constraint.cpp, - src/osgWrappers/introspection/osgManipulator/Dragger.cpp, - src/osgWrappers/introspection/osgManipulator/Projector.cpp, - src/osgWrappers/introspection/osgManipulator/RotateCylinderDragger.cpp, - src/osgWrappers/introspection/osgManipulator/RotateSphereDragger.cpp, - src/osgWrappers/introspection/osgManipulator/Scale1DDragger.cpp, - src/osgWrappers/introspection/osgManipulator/Scale2DDragger.cpp, - src/osgWrappers/introspection/osgManipulator/ScaleAxisDragger.cpp, - src/osgWrappers/introspection/osgManipulator/Selection.cpp, - src/osgWrappers/introspection/osgManipulator/TabBoxDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TabBoxTrackballDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TabPlaneDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TabPlaneTrackballDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TrackballDragger.cpp, - src/osgWrappers/introspection/osgManipulator/Translate1DDragger.cpp, - src/osgWrappers/introspection/osgManipulator/Translate2DDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TranslateAxisDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TranslatePlaneDragger.cpp, - src/osgWrappers/introspection/osgParticle, - src/osgWrappers/introspection/osgParticle/AccelOperator.cpp, - src/osgWrappers/introspection/osgParticle/AngularAccelOperator.cpp, - src/osgWrappers/introspection/osgParticle/BoxPlacer.cpp, - src/osgWrappers/introspection/osgParticle/CenteredPlacer.cpp, - src/osgWrappers/introspection/osgParticle/ConnectedParticleSystem.cpp, - src/osgWrappers/introspection/osgParticle/ConstantRateCounter.cpp, - src/osgWrappers/introspection/osgParticle/Counter.cpp, - src/osgWrappers/introspection/osgParticle/Emitter.cpp, - src/osgWrappers/introspection/osgParticle/ExplosionDebrisEffect.cpp, - src/osgWrappers/introspection/osgParticle/ExplosionEffect.cpp, - src/osgWrappers/introspection/osgParticle/FireEffect.cpp, - src/osgWrappers/introspection/osgParticle/ForceOperator.cpp, - src/osgWrappers/introspection/osgParticle/Interpolator.cpp, - src/osgWrappers/introspection/osgParticle/LinearInterpolator.cpp, - src/osgWrappers/introspection/osgParticle/ModularEmitter.cpp, - src/osgWrappers/introspection/osgParticle/ModularProgram.cpp, - src/osgWrappers/introspection/osgParticle/MultiSegmentPlacer.cpp, - src/osgWrappers/introspection/osgParticle/Operator.cpp, - src/osgWrappers/introspection/osgParticle/Particle.cpp, - src/osgWrappers/introspection/osgParticle/ParticleEffect.cpp, - src/osgWrappers/introspection/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/introspection/osgParticle/ParticleSystem.cpp, - src/osgWrappers/introspection/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/introspection/osgParticle/Placer.cpp, - src/osgWrappers/introspection/osgParticle/PointPlacer.cpp, - src/osgWrappers/introspection/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/introspection/osgParticle/Program.cpp, - src/osgWrappers/introspection/osgParticle/RadialShooter.cpp, - src/osgWrappers/introspection/osgParticle/RandomRateCounter.cpp, - src/osgWrappers/introspection/osgParticle/SectorPlacer.cpp, - src/osgWrappers/introspection/osgParticle/SegmentPlacer.cpp, - src/osgWrappers/introspection/osgParticle/Shooter.cpp, - src/osgWrappers/introspection/osgParticle/SmokeEffect.cpp, - src/osgWrappers/introspection/osgParticle/SmokeTrailEffect.cpp, - src/osgWrappers/introspection/osgParticle/VariableRateCounter.cpp, - src/osgWrappers/introspection/osgParticle/range.cpp, - src/osgWrappers/introspection/osgPresentation, - src/osgWrappers/introspection/osgPresentation/AnimationMaterial.cpp, - src/osgWrappers/introspection/osgPresentation/CompileSlideCallback.cpp, - src/osgWrappers/introspection/osgPresentation/PickEventHandler.cpp, - src/osgWrappers/introspection/osgPresentation/SlideEventHandler.cpp, - src/osgWrappers/introspection/osgPresentation/SlideShowConstructor.cpp, - src/osgWrappers/introspection/osgShadow, - src/osgWrappers/introspection/osgShadow/ConvexPolyhedron.cpp, - src/osgWrappers/introspection/osgShadow/DebugShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/LightSpacePerspectiveShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/MinimalCullBoundsShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/MinimalDrawBoundsShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/MinimalShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/OccluderGeometry.cpp, - src/osgWrappers/introspection/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/ShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/ShadowTechnique.cpp, - src/osgWrappers/introspection/osgShadow/ShadowTexture.cpp, - src/osgWrappers/introspection/osgShadow/ShadowVolume.cpp, - src/osgWrappers/introspection/osgShadow/ShadowedScene.cpp, - src/osgWrappers/introspection/osgShadow/SoftShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/StandardShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/ViewDependentShadowTechnique.cpp, - src/osgWrappers/introspection/osgSim, - src/osgWrappers/introspection/osgSim/BlinkSequence.cpp, - src/osgWrappers/introspection/osgSim/ColorRange.cpp, - src/osgWrappers/introspection/osgSim/DOFTransform.cpp, - src/osgWrappers/introspection/osgSim/ElevationSlice.cpp, - src/osgWrappers/introspection/osgSim/GeographicLocation.cpp, - src/osgWrappers/introspection/osgSim/HeightAboveTerrain.cpp, - src/osgWrappers/introspection/osgSim/Impostor.cpp, - src/osgWrappers/introspection/osgSim/ImpostorSprite.cpp, - src/osgWrappers/introspection/osgSim/InsertImpostorsVisitor.cpp, - src/osgWrappers/introspection/osgSim/LightPoint.cpp, - src/osgWrappers/introspection/osgSim/LightPointNode.cpp, - src/osgWrappers/introspection/osgSim/LightPointSystem.cpp, - src/osgWrappers/introspection/osgSim/LineOfSight.cpp, - src/osgWrappers/introspection/osgSim/MultiSwitch.cpp, - src/osgWrappers/introspection/osgSim/ObjectRecordData.cpp, - src/osgWrappers/introspection/osgSim/OverlayNode.cpp, - src/osgWrappers/introspection/osgSim/ScalarBar.cpp, - src/osgWrappers/introspection/osgSim/ScalarsToColors.cpp, - src/osgWrappers/introspection/osgSim/Sector.cpp, - src/osgWrappers/introspection/osgSim/ShapeAttribute.cpp, - src/osgWrappers/introspection/osgSim/SphereSegment.cpp, - src/osgWrappers/introspection/osgSim/VisibilityGroup.cpp, - src/osgWrappers/introspection/osgTerrain, - src/osgWrappers/introspection/osgTerrain/Export.cpp, - src/osgWrappers/introspection/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/introspection/osgTerrain/Layer.cpp, - src/osgWrappers/introspection/osgTerrain/Locator.cpp, - src/osgWrappers/introspection/osgTerrain/Terrain.cpp, - src/osgWrappers/introspection/osgTerrain/TerrainTechnique.cpp, - src/osgWrappers/introspection/osgTerrain/TerrainTile.cpp, - src/osgWrappers/introspection/osgTerrain/ValidDataOperator.cpp, - src/osgWrappers/introspection/osgText, - src/osgWrappers/introspection/osgText/Export.cpp, - src/osgWrappers/introspection/osgText/FadeText.cpp, - src/osgWrappers/introspection/osgText/Font.cpp, - src/osgWrappers/introspection/osgText/Font3D.cpp, - src/osgWrappers/introspection/osgText/KerningType.cpp, - src/osgWrappers/introspection/osgText/String.cpp, - src/osgWrappers/introspection/osgText/Text.cpp, - src/osgWrappers/introspection/osgText/Text3D.cpp, - src/osgWrappers/introspection/osgText/TextBase.cpp, - src/osgWrappers/introspection/osgUtil, - src/osgWrappers/introspection/osgUtil/ConvertVec.cpp, - src/osgWrappers/introspection/osgUtil/CubeMapGenerator.cpp, - src/osgWrappers/introspection/osgUtil/CullVisitor.cpp, - src/osgWrappers/introspection/osgUtil/DelaunayTriangulator.cpp, - src/osgWrappers/introspection/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgWrappers/introspection/osgUtil/DrawElementTypeSimplifier.cpp, - src/osgWrappers/introspection/osgUtil/EdgeCollector.cpp, - src/osgWrappers/introspection/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/introspection/osgUtil/HalfWayMapGenerator.cpp, - src/osgWrappers/introspection/osgUtil/HighlightMapGenerator.cpp, - src/osgWrappers/introspection/osgUtil/IncrementalCompileOperation.cpp, - src/osgWrappers/introspection/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/introspection/osgUtil/IntersectionVisitor.cpp, - src/osgWrappers/introspection/osgUtil/LineSegmentIntersector.cpp, - src/osgWrappers/introspection/osgUtil/OperationArrayFunctor.cpp, - src/osgWrappers/introspection/osgUtil/Optimizer.cpp, - src/osgWrappers/introspection/osgUtil/PlaneIntersector.cpp, - src/osgWrappers/introspection/osgUtil/PolytopeIntersector.cpp, - src/osgWrappers/introspection/osgUtil/PositionalStateContainer.cpp, - src/osgWrappers/introspection/osgUtil/ReflectionMapGenerator.cpp, - src/osgWrappers/introspection/osgUtil/RenderBin.cpp, - src/osgWrappers/introspection/osgUtil/RenderLeaf.cpp, - src/osgWrappers/introspection/osgUtil/RenderStage.cpp, - src/osgWrappers/introspection/osgUtil/ReversePrimitiveFunctor.cpp, - src/osgWrappers/introspection/osgUtil/SceneGraphBuilder.cpp, - src/osgWrappers/introspection/osgUtil/SceneView.cpp, - src/osgWrappers/introspection/osgUtil/ShaderGen.cpp, - src/osgWrappers/introspection/osgUtil/Simplifier.cpp, - src/osgWrappers/introspection/osgUtil/SmoothingVisitor.cpp, - src/osgWrappers/introspection/osgUtil/StateGraph.cpp, - src/osgWrappers/introspection/osgUtil/Statistics.cpp, - src/osgWrappers/introspection/osgUtil/TangentSpaceGenerator.cpp, - src/osgWrappers/introspection/osgUtil/Tessellator.cpp, - src/osgWrappers/introspection/osgUtil/TransformAttributeFunctor.cpp, - src/osgWrappers/introspection/osgUtil/TransformCallback.cpp, - src/osgWrappers/introspection/osgUtil/TriStripVisitor.cpp, - src/osgWrappers/introspection/osgUtil/UpdateVisitor.cpp, - src/osgWrappers/introspection/osgViewer, - src/osgWrappers/introspection/osgViewer/CompositeViewer.cpp, - src/osgWrappers/introspection/osgViewer/GraphicsWindow.cpp, - src/osgWrappers/introspection/osgViewer/Renderer.cpp, - src/osgWrappers/introspection/osgViewer/Scene.cpp, - src/osgWrappers/introspection/osgViewer/View.cpp, - src/osgWrappers/introspection/osgViewer/Viewer.cpp, - src/osgWrappers/introspection/osgViewer/ViewerBase.cpp, - src/osgWrappers/introspection/osgViewer/ViewerEventHandlers.cpp, - src/osgWrappers/introspection/osgViewer/api, - src/osgWrappers/introspection/osgViewer/api/Carbon, - src/osgWrappers/introspection/osgViewer/api/Carbon/GraphicsHandleCarbon.cpp, - src/osgWrappers/introspection/osgViewer/api/Cocoa, - src/osgWrappers/introspection/osgViewer/api/Cocoa/GraphicsHandleCocoa.cpp, - src/osgWrappers/introspection/osgViewer/api/Win32, - src/osgWrappers/introspection/osgViewer/api/Win32/GraphicsHandleWin32.cpp, - src/osgWrappers/introspection/osgViewer/api/Win32/PixelBufferWin32.cpp, - src/osgWrappers/introspection/osgViewer/api/X11, - src/osgWrappers/introspection/osgViewer/api/X11/GraphicsHandleX11.cpp, - src/osgWrappers/introspection/osgViewer/api/X11/PixelBufferX11.cpp, - src/osgWrappers/introspection/osgVolume, - src/osgWrappers/introspection/osgVolume/Export.cpp, - src/osgWrappers/introspection/osgVolume/FixedFunctionTechnique.cpp, - src/osgWrappers/introspection/osgVolume/Layer.cpp, - src/osgWrappers/introspection/osgVolume/Locator.cpp, - src/osgWrappers/introspection/osgVolume/Property.cpp, - src/osgWrappers/introspection/osgVolume/RayTracedTechnique.cpp, - src/osgWrappers/introspection/osgVolume/Volume.cpp, - src/osgWrappers/introspection/osgVolume/VolumeTechnique.cpp, - src/osgWrappers/introspection/osgVolume/VolumeTile.cpp, - src/osgWrappers/introspection/osgWidget, - src/osgWrappers/introspection/osgWidget/Box.cpp, - src/osgWrappers/introspection/osgWidget/Browser.cpp, - src/osgWrappers/introspection/osgWidget/Canvas.cpp, - src/osgWrappers/introspection/osgWidget/EventInterface.cpp, - src/osgWrappers/introspection/osgWidget/Frame.cpp, - src/osgWrappers/introspection/osgWidget/Input.cpp, - src/osgWrappers/introspection/osgWidget/Label.cpp, - src/osgWrappers/introspection/osgWidget/Lua.cpp, - src/osgWrappers/introspection/osgWidget/PdfReader.cpp, - src/osgWrappers/introspection/osgWidget/Python.cpp, - src/osgWrappers/introspection/osgWidget/ScriptEngine.cpp, - src/osgWrappers/introspection/osgWidget/StyleInterface.cpp, - src/osgWrappers/introspection/osgWidget/StyleManager.cpp, - src/osgWrappers/introspection/osgWidget/Table.cpp, - src/osgWrappers/introspection/osgWidget/Types.cpp, - src/osgWrappers/introspection/osgWidget/ViewerEventHandlers.cpp, - src/osgWrappers/introspection/osgWidget/VncClient.cpp, - src/osgWrappers/introspection/osgWidget/Widget.cpp, - src/osgWrappers/introspection/osgWidget/Window.cpp, - src/osgWrappers/introspection/osgWidget/WindowManager.cpp: - Regenerated introspection wrappers in their new location - -2010-01-18 19:43 robert - - * src/osgWrappers/CMakeLists.txt, - src/osgWrappers/Doxyfile.template, src/osgWrappers/OpenThreads, - src/osgWrappers/genwrapper.conf, src/osgWrappers/introspection, - src/osgWrappers/introspection/CMakeLists.txt, - src/osgWrappers/introspection/Doxyfile.template, - src/osgWrappers/introspection/genwrapper.conf, - src/osgWrappers/osg, src/osgWrappers/osgAnimation, - src/osgWrappers/osgDB, src/osgWrappers/osgFX, - src/osgWrappers/osgGA, src/osgWrappers/osgManipulator, - src/osgWrappers/osgParticle, src/osgWrappers/osgShadow, - src/osgWrappers/osgSim, src/osgWrappers/osgTerrain, - src/osgWrappers/osgText, src/osgWrappers/osgUtil, - src/osgWrappers/osgViewer, src/osgWrappers/osgVolume, - src/osgWrappers/osgWidget: Cleaned out all wrappers as will be - moving them all into src/osgWrappers/introspection directory, and - use genwrapper to generate the new ones - -2010-01-18 16:39 robert - - * src/osgPlugins/txp/TXPNode.cpp: Added #include for - Mingw build - -2010-01-18 16:38 robert - - * src/osgPlugins/freetype/CMakeLists.txt, - src/osgPlugins/freetype/FreeTypeFont3D.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.cpp: Restructure the - includes of freetype - -2010-01-18 14:27 robert - - * examples/CMakeLists.txt, examples/osgmovie/CMakeLists.txt, - examples/osgviewerSDL/CMakeLists.txt, - src/osgPlugins/curl/CMakeLists.txt, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/png/ReaderWriterPNG.cpp: From Jean-Sebastien Guay, - build fixes for Mingw - -2010-01-18 13:00 robert - - * src/osgWrappers/osg/AudioStream.cpp: Updated wrappers - -2010-01-18 12:43 robert - - * include/osg/AudioStream, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.hpp: From Serge Lages, - "Here is a patch to allow setting an audio volume with the - AudioSink interface, I've also modified the ffmpeg plugin code to - implement the ImageStream's setVolume method with its AudioSink." - -2010-01-15 15:34 robert - - * include/osgDB/Serializer, src/osgDB/CMakeLists.txt, - src/osgWrappers/osgDB/Serializer.cpp: Removed the old style - Serializer, moving it back into VirtuaLPlanetBuilder to make way - for the new Serializer that exists in support for the new - binary/ascii format. - -2010-01-14 15:15 robert - - * include/osgText/Font, src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/txf/TXFFont.cpp, src/osgText/DefaultFont.cpp, - src/osgText/Font.cpp, src/osgWrappers/osgText/Font.cpp: Added - setting of the charcode during construction of - osgText::Font::Glyph() - -2010-01-14 15:15 robert - - * include/osg/Version: Updated so version - -2010-01-13 18:50 robert - - * CMakeLists.txt: Updated rev number for 2.9.7 dev release as ABI - compatibility has been broken - -2010-01-13 18:50 robert - - * src/osgPlugins/osg/Texture.cpp, - src/osgWrappers/osg/BufferObject.cpp: Updated wrappers and - supported shadow texture formats +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. -2010-01-13 18:46 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 - * include/osg/BufferObject, src/osg/BufferObject.cpp: For backwards - compatiblity add a staic void - BufferObject::deleteBufferObject(unsigned int contextID,GLuint - globj) method. +Tue, 21 Jan 2014 17:27:21 +0000 +Checked in by : Robert Osfield +Fixed build error -2010-01-13 14:57 robert +Tue, 21 Jan 2014 17:00:56 +0000 +Checked in by : Robert Osfield +Fixed build error due to typo. - * src/osgWrappers/osgManipulator/Dragger.cpp: Updated wrappers +Mon, 20 Jan 2014 17:23:11 +0000 +Checked in by : Robert Osfield +Integrated multipass volume rendering shaders from OpenSceneGraph-Data -2010-01-13 14:16 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. - * include/osgManipulator/Dragger: Moved dispatch/recieve methods - into public scope to allow easier custom usage. +Mon, 20 Jan 2014 16:21:24 +0000 +Checked in by : Robert Osfield +Removed nolonger used code paths -2010-01-13 13:31 robert +Mon, 20 Jan 2014 15:54:48 +0000 +Checked in by : Robert Osfield +Disable depth test for rendering of hull backface - * src/osgWrappers/osg/Sequence.cpp: Updated wrappers +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." -2010-01-13 13:30 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. - * src/osgPlugins/ive/Sequence.cpp, src/osgPlugins/osg/Sequence.cpp: - Changed get methods to new style ones. -2010-01-13 13:30 robert - * include/osg/Sequence, include/osg/Texture1D: From Wang Rui, - "Attached are two simple modifications of osg::Sequence and - osg::Texture1D classes, for the reason of implementing the I/O - serialization feature. In the Sequence header, I've added some - more - convenient functions: setTimeList/getTimeList, - setLoopMode/getLoopMode, setBegin/getBegin, setEnd/getEnd, - setSpeed/getSpeed and setNumRepeats/getNumRepeats. - - In the Texture1D header, fixed: - - inline void setTextureWidth(int width) const ... - - to: - - inline void setTextureWidth(int width) ..." - - Notes from Robert Osfield, have gone a little further with these - changes and have removed some of the original get methods that - were out of step with the way the rest of the OSG manages the - set/get property pairs. +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. -2010-01-13 13:09 robert - * examples/osggpx/osggpx.cpp, examples/osgoutline/osgoutline.cpp: - Added missing .get()'s -2010-01-13 11:45 robert +Fri, 17 Jan 2014 18:20:39 +0000 +Checked in by : Robert Osfield +Fixed warning - * src/osgFX/Outline.cpp: Added missing .get() to fix build when - compiling with no automatic type convention in ref_ptr<> +Fri, 17 Jan 2014 18:20:28 +0000 +Checked in by : Robert Osfield +From Stephan Huber, fix for OSX build issue -2010-01-13 10:46 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: - * src/osgGA/StateSetManipulator.cpp: From Sukender, warning fix. +mac/qt5.2 +linux/qt5.2 +windows/qt5.2, and +mac/qt5.1 -2010-01-12 11:12 robert +All platforms perform as expected. - * src/osgPlugins/3ds/WriterNodeVisitor.h: Convert dos line endings +The previous fix removed the -f flag to the moc-pre-processor, but on windows, it turned out that -f "osgQt/QGraphicsViewer" was needed. -2010-01-12 10:00 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. - * src/osgWrappers/osgDB/XmlParser.cpp: Updated wrappers -2010-01-11 17:36 robert +Secondly, I wonder if it would be possible to apply my patch for FindRSVG.cmake from 22nd November in the 3.2 branch. - * include/osgDB/XmlParser, src/osgDB/XmlParser.cpp: From - Jean-Sebastien Guay, "OK, so here are new changes. - - 1. The node type will be set to ATOM on read of type tags. - 2. GROUP and NODE are now written using the same code (and not - just duplicated code). Also NODE will not be written as an ATOM - if it has no children or contents, so you need to set the type to - ATOM if you want the style. - 3. You had put the write of "/>" for ATOM after the "return - true", so it had no effect... Moved to before the return. - 4. ATOM did not write its properties correctly, fixed. - 5. As an added bonus, I made the write() method indent the output - so it's more readable. It brings a small public interface change - but the indent argument has a default value so client code - doesn't need to change (if there even is any). - 6. Another added bonus, I've simplified the write() method a bit - by factoring out the write for children and properties into - protected methods." - -2010-01-11 17:27 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: Added missing .get() - -2010-01-11 16:09 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Sukender, introduced - usage of ref_ptr<> and local scoped_array to address more robust - memory management. - -2010-01-11 16:03 robert - - * src/osgPlugins/jp2/ReaderWriterJP2.cpp: Added desctructor with - jas_cleanup(). - -2010-01-11 14:28 robert - - * src/osgPlugins/jp2/ReaderWriterJP2.cpp: From Laurens Voerman,"the - current ReaderWriterJP2 has all the code for writing jp2 files - (jpeg 2000), but the writing fails on my windows machine - (jasper-1.900.1) because the ID for the "jp2" extention is - requested before the jas_init() call. (bug introduced in svn 7645 - - 10 dec 2007)" - -2010-01-11 14:04 robert - - * src/osgPlugins/3ds/WriterNodeVisitor.cpp: From Sukender, "a small - fix about using non 3-charcacters long file extensions (such as - "jpeg", to be converted to "jpg")." - -2010-01-08 11:47 robert - - * src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osgWidget/Frame.cpp: Updated wrappers - -2010-01-08 11:40 robert - - * include/osgWidget/Frame, src/osgWidget/Frame.cpp: From - Jean-Sebastien Guay, "was testing an osgWidget-based test app I - have and noticed that I couldn't move the windows/frames around - on the screen anymore. Turns out that the virtual methods' - interface changed in the EventInterface base class, the third - argument to mouseDrag() is now const, but it was not changed in - the derived classes, so it still compiled but the derived-class - version was not being called because its arguments differed. - - Here are the changes that fix it. - " - -2010-01-08 11:37 robert - - * src/osgShadow/StandardShadowMap.cpp: From Marius Heise, - "osgShadow was using single precision variables for light - positioning and orientation. This was causing precision problems - (shadow jumping) with big databases (eg. geocentric created vpb). - This patch fixes this by using double precision variables for - light positioning and orientation. It works for all algorithms - dreived form osgShadow::StandardShadowMap. - " - -2010-01-08 11:32 robert - - * include/osg/Texture, src/osg/Image.cpp, - src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/Texture.cpp, - src/osgPlugins/osg/Texture.cpp, - src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Rob Radtke, "I - recently ran into some issues trying to save/load a scene graph - as a .ive file. The problems came about because the scene graph - contained depth textures in it. I have attached a patch (against - the current revision: 10919) that fixes the issues that I - encountered. Both attachments contain the same patch--one is a - .zip file that contains the modified files and the other is a - text patch file. Here is a summary of the changes I made: - - 1) Add getShadowComparison() accessor function to osg::Texture - class - 2) Modify ReaderWriterTiff::writeTifStream() and _readColor() (in - Image.cpp) to handle pixelFormat==GL_DEPTH_COMPONENT as if it - were GL_LUMINANCE - 3) Modify the Texture classes of the ive and osg plug-ins so that - they save/load the following Texture members: - _use_shadow_comparison, _shadow_compare_func and - _shadow_texture_mode - " - -2010-01-08 11:16 robert - - * src/osg/OcclusionQueryNode.cpp: From Paul Martz, - "OcclusionQueryNode was incorrectly marking itself as DYNAMIC, so - I removed that code. And I also found some uses of dynamic_cast - that could be changed to static_cast. - " - -2010-01-08 10:52 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.cpp: From Sukender, - "ReaderWriter3DS.cpp fixes: - - Fixed creation of useless intermediate nodes - - WriterNodeVisitor.cpp fixes: - - Fixed naming of textures (path and extension) - " - - Note from Robert Osfield, this submission also came with changes - to use of ref_ptr<> and removal of delete[]'s, but these were not - merged as they didn't actually fix any memory leaks, and in once - instance introduced one. - -2010-01-08 10:12 robert - - * src/osgFX/Outline.cpp: Added newline at end of file to fix - warning - -2010-01-07 19:13 robert - - * src/osgDB/XmlParser.cpp: Fixed writing out of ATOM. - -2010-01-07 19:08 robert - - * src/osgDB/XmlParser.cpp: From Jean-Sebastien Guay, fix to - handling of xml node with contents by not children - -2010-01-07 17:36 robert - - * src/osgDB/XmlParser.cpp: From Jean-Sebastien Guay, fixed handling - of < tag /> xml syntax - -2010-01-07 17:20 robert - - * include/OpenThreads/Atomic: From Chuck Seberino, (submitted by - Stephan Huber) Chuck's original message : "I have a patch to - submit that fixes the following error when building against OSX - 10.6.2." - -2010-01-07 16:49 robert - - * include/osg/State, src/osg/State.cpp, - src/osgWrappers/osg/State.cpp: From Lilith Bryant, "As discussed - previously on the users list. Fixes the redundant calls to - glActiveTexture on every State::apply after more than one - texunits have been - used. - - This is against 2.9.6 (I think SVN head is the same) - - Quick Synopsis: - - New functions: - - State::applyModeOnTexUnit - State::applyAttributeOnTexUnit - State::applyModeMapOnTexUnit - State::applyAttributeMapOnTexUnit - State::applyModeListOnTexUnit - State::applyAttributeListOnTexUnit - - All copies of the normal versions, but they also set the active - tex unit if - absolutely necessary (i.e. only if they call something OpenGL). - - State::apply (*2) - State::applyTextureAttribute - - Changed to call the above functions and no longer call - setActiveTextureUnit - themselves. - - State::setActiveTextureUnit - - Made inline, so the benefit of having applyModeOnTexUnit (etc) - inline - is retained. - " - -2010-01-07 14:35 robert - - * examples/osgmovie/osgmovie.cpp, include/osg/AudioStream, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgWrappers/osg/AudioStream.cpp: Added virtual pause() method - into osg::AudioSink to support pausing of a movie thread and it's - associated audio. - - Updated osgmovie plugin to use the pause support. - -2010-01-07 12:14 robert - - * include/osg/Image, include/osg/ImageSequence, src/osg/Image.cpp, - src/osg/ImageSequence.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2D.cpp, src/osg/Texture2DArray.cpp, - src/osg/Texture3D.cpp, src/osg/TextureCubeMap.cpp, - src/osg/TextureRectangle.cpp, src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/ImageSequence.cpp: Refactored the way that - osg::Image/ImageSequence manages the update callback that needs - to be attached to Textures to make it possible to use the - Image::update() mechansim in other subclasses from osg::Image. - To enable the automatic attachment of the required update - callback to call osg::Image::update(..) subclasses from - osg::Image will - need to implement the osg::Image::requestUpdateCall() and return - true, and implement the osg::Image::update(NodeVisitor*) method - to recieve the update call during the update traversal. - -2010-01-07 10:01 robert - - * examples/osganimationhardware/osganimationhardware.cpp: Fixed - warnings +In short, the version of librsvg must be equal or higher to 2.35: -2010-01-07 09:45 robert +PKG_CHECK_MODULES(RSVG librsvg-2.0>=2.35) +" - * src/osgPlugins/directshow/ReaderWriterDirectShow.cpp: From Serge - Lages, "Here is a modified fix. It doesn't break the other patch - for this plugin as they are for different files. I've only added - the file formats handled by default with DirectShow (based on its - Wikipedia page)." -2010-01-07 09:43 robert - * src/osgDB/XmlParser.cpp: Imporoved spacing +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:.... -2010-01-07 09:11 robert +GUIEventHandler: In copy constructor 'osgGA::GUIEventHandler::GUIEventHandler(const osgGA::GUIEventHandler&, const osg::CopyOp&)': - * src/osgDB/XmlParser.cpp: Reordered the readAllDataIntoBuffer() to - avoid bug in failing on all calls to readXmlParser(..) +/include/osgGA/GUIEventHandler:56:9: error: base class 'class osg::Object' should be explicitly initialized in the copy constructor [-Werror=extra] -2010-01-06 15:43 robert +It seems the diamond problem: - * src/osgWrappers/osgAnimation/RigTransformHardware.cpp: Updated - wrappers + A = osg::Object + / \ + / \--> Virtual inheritance +B C + \ / + \ / + D = EventHandler + | + | + E = GUIEventHandler -2010-01-06 10:41 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. - * include/osgAnimation/RigTransformHardware: Fixed type of index to - int. -2010-01-05 20:03 robert +In case A is not initialized in the copy constructor of derived classes the default constructor will be called, which seems a bug. - * include/osgIntrospection/Value: Replaced nullptr with - isNullPointer +I've added osg::Object to the initalization list of EventHandler and GUIEventHandler copy constructors, because both classes are instantiables. + " -2010-01-05 11:15 robert - * src/osgWrappers/osgAnimation/RigTransformHardware.cpp, - src/osgWrappers/osgAnimation/RigTransformSoftware.cpp, - src/osgWrappers/osgAnimation/Skinning.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/osgGA/MatrixManipulator.cpp, - src/osgWrappers/osgGA/SphericalManipulator.cpp, - src/osgWrappers/osgGA/TerrainManipulator.cpp, - src/osgWrappers/osgGA/TrackballManipulator.cpp: Updated wrappers -2010-01-05 11:15 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." - * src/osgUtil/SceneView.cpp: Added support for call root Camera - CullCallbacks +Fri, 17 Jan 2014 12:40:58 +0000 +Checked in by : Robert Osfield +Fixed handling of background colours. -2010-01-05 11:10 robert +Thu, 16 Jan 2014 17:26:35 +0000 +Checked in by : Robert Osfield +Removed old redundent TexGen usage. - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: Fixed indentation +Thu, 16 Jan 2014 17:17:37 +0000 +Checked in by : Robert Osfield +Added hull="hul-filename" property support to tag that can used thus: + CardiacCT + -2010-01-05 11:09 robert - * include/osgGA/KeySwitchMatrixManipulator, - include/osgGA/MatrixManipulator, - include/osgGA/TerrainManipulator, - src/osgGA/KeySwitchMatrixManipulator.cpp: Added set/getDistance() - method -2010-01-04 15:54 shuber - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode-project +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 -2009-12-22 14:09 cedricpinson +Thu, 9 Jan 2014 11:13:09 +0000 +Checked in by : Robert Osfield +From Paul Martz, build fix for Windows GL3 build - * include/osgAnimation/Skinning, src/osgAnimation/Timeline.cpp: - From Cedric Pinson, remove unused file Skinning, cleanup file - Timeline.cpp +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 -2009-12-16 15:48 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<>. - * include/osgDB/ReaderWriter: Moved the supports*() method into - public scope to allow external injection of supported formats. - Added docs to clearly state this type of inject is not generally - supported by ReaderWriters. +Wed, 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." -2009-12-16 15:12 robert +Wed, 8 Jan 2014 10:31:36 +0000 +Checked in by : Robert Osfield +Removed more odd characters - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS.txt to mark - the point in time that the OpenSceneGraph gained it's 400th - contributor! +Wed, 8 Jan 2014 10:28:24 +0000 +Checked in by : Robert Osfield +Removed more odd characters -2009-12-16 15:05 robert +Wed, 8 Jan 2014 10:24:43 +0000 +Checked in by : Robert Osfield +Removed odd characters - * src/osgPlugins/dae/daeRGeometry.cpp: From Lilith Bryant, "This - patch fixes a regression (introduced in @ rev 9228), where simple - .dae files, that have no material assignments, will cause a crash - on load. - - In particular, the case when the "instance_geometry" element has - no "bind_material" sub-element. This is valid, according to the - official collada 1.4.1 specification." +Wed, 8 Jan 2014 10:16:39 +0000 +Checked in by : Robert Osfield +Moved destructor to protected -2009-12-16 12:17 robert +Tue, 7 Jan 2014 19:06:44 +0000 +Checked in by : Robert Osfield +Refined the GLint64 definitions - * src/osg/Texture.cpp: Removed old texture object manage code. +Tue, 7 Jan 2014 18:32:45 +0000 +Checked in by : Robert Osfield +Removed duplicated instances of GLint64EXT declarations -2009-12-15 17:25 robert +Tue, 7 Jan 2014 16:43:07 +0000 +Checked in by : Robert Osfield +Removed execute properties via svn propdel svn:executable file - * src/osgGA/StateSetManipulator.cpp: From Sukender, warning fix +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." -2009-12-15 15:55 shuber +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 - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode-project +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." -2009-12-15 14:45 robert +Tue, 7 Jan 2014 11:01:32 +0000 +Checked in by : Robert Osfield +Added State::getMaxTextureCoords() and State::getMaxTextureUnits() inline methods. - * examples/osgparametric/osgparametric.cpp: Fixed compile warnings +Mon, 6 Jan 2014 17:19:21 +0000 +Checked in by : Robert Osfield +Added support for Switch::set/getValue() -2009-12-15 14:44 robert +Mon, 6 Jan 2014 16:58:07 +0000 +Checked in by : Robert Osfield +Added Group::setChild(..) and Geode::setDrawable(..) MethodObjects - * src/osgFX/Outline.cpp, src/osgGA/StateSetManipulator.cpp: Fixed - compile warnings +Mon, 6 Jan 2014 15:46:36 +0000 +Checked in by : Robert Osfield +Removed the prototype MethodObject classes -2009-12-15 14:40 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. - * src/osgUtil/SceneView.cpp: Fixed warning +Added addChild/removeChild() etc to Group.cpp, and addDrawable/removeDrawable() etc. to Geode.cpp serializers. -2009-12-15 12:37 robert - * src/osgUtil/CMakeLists.txt, src/osgUtil/TriStripVisitor.cpp, - src/osgUtil/TriStrip_graph_array.h, - src/osgUtil/TriStrip_heap_array.h, - src/osgUtil/TriStrip_tri_stripper.cpp, - src/osgUtil/TriStrip_tri_stripper.h, src/osgUtil/tristripper, - src/osgUtil/tristripper/include, - src/osgUtil/tristripper/include/detail, - src/osgUtil/tristripper/include/detail/cache_simulator.h, - src/osgUtil/tristripper/include/detail/connectivity_graph.h, - src/osgUtil/tristripper/include/detail/graph_array.h, - src/osgUtil/tristripper/include/detail/heap_array.h, - src/osgUtil/tristripper/include/detail/policy.h, - src/osgUtil/tristripper/include/detail/types.h, - src/osgUtil/tristripper/include/public_types.h, - src/osgUtil/tristripper/include/tri_stripper.h, - src/osgUtil/tristripper/src, - src/osgUtil/tristripper/src/connectivity_graph.cpp, - src/osgUtil/tristripper/src/policy.cpp, - src/osgUtil/tristripper/src/tri_stripper.cpp: From Tanguy Fautre - and Robert Osfield, updated tristripper code to use the latest - tristripper_r94 code. -2009-12-15 11:47 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. - * CMakeLists.txt, include/osg/Version: Updated version to 2.9.7 in - prep for next dev release +Fri, 3 Jan 2014 14:36:58 +0000 +Checked in by : Robert Osfield +Fixed build of V8 and Python plugins -2009-12-15 11:27 robert +Wed, 25 Dec 2013 17:36:32 +0000 +Checked in by : Robert Osfield +Preliminary support for wrapping methods in the lua script plugin. - * src/osgPlugins/ffmpeg/FFmpegClocks.cpp, - src/osgPlugins/ffmpeg/FFmpegClocks.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp: From Julen Garcia, - "So here is the code with a proper audio sync (at least in my - computer)" +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. -2009-12-15 09:16 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. - * src/osgPlugins/quicktime/MovieData.cpp, - src/osgPlugins/quicktime/QTImportExport.cpp, - src/osgPlugins/quicktime/QuicktimeLiveImageStream.cpp: Changed - GL_BGRA_EXT to GL_BGRA and added include of include/osg/Image to - make sure define is declared +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." -2009-12-14 13:42 robert - * include/osg/GraphicsContext, src/osg/GraphicsContext.cpp, - src/osgWrappers/osg/GraphicsContext.cpp: Renamed - osg::GraphicsContext::OperationQueue typedef to - GraphicsOperationQueue to avoid naming conflict with - osg::OperationQueue -2009-12-14 12:50 robert +Thu, 19 Dec 2013 15:10:28 +0000 +Checked in by : Robert Osfield +From Sylvain Marie, When compiling OSG for the iOS simulator, providing both -miphoneos-version-min and -mios-simulator-version-min doesn’t please clang (tested on OS X 10.9.0 with Xcode 5.0.1). Here is a small change (against commit da597ab16945c572a2ad2f4f26fcef38ed21b074) in the CMakeLists.txt to avoid this situation. - * examples/CMakeLists.txt: Added checked against QT webkit being - available +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: -2009-12-14 12:49 robert + "lua::LuaScriptEngine::pushValue(osg::Quat const&) const", referenced from: - * examples/osgQtBrowser/QGraphicsViewAdapter.cpp, - examples/osgQtBrowser/QGraphicsViewAdapter.h: Fixed warnings + PushStackValueVisitor::apply(osg::Quat const&) in LuaScriptEngine.o -2009-12-10 17:52 robert + "lua::LuaScriptEngine::pushValue(osg::Plane const&) const", referenced from: - * include/osgViewer/api/Cocoa/GraphicsHandleCocoa, - include/osgViewer/api/Cocoa/GraphicsWindowCocoa, - include/osgViewer/api/Cocoa/PixelBufferCocoa, - src/osgViewer/CMakeLists.txt, - src/osgViewer/GraphicsWindowCocoa.mm, - src/osgViewer/PixelBufferCocoa.mm: From Stephan Huber, "attached - you'll find the missing GraphicsHandleCocoa-implementation." + PushStackValueVisitor::apply(osg::Plane const&) in LuaScriptEngine.o -2009-12-10 12:58 robert +ld: symbol(s) not found for architecture x86_64 - * ChangeLog, README.txt: Updated ChangeLog and README.txt for 2.9.6 - dev release +clang: error: linker command failed with exit code 1 (use -v to see invocation) -2009-12-10 12:14 robert - * AUTHORS.txt: Updated AUTHORS file for 2.9.6 dev release -2009-12-10 12:13 robert +Looks like LuaScriptEngine was missing implementation of those 2 member functions. Fixed src/osgPlugins/lua/LuaScriptEngine.cpp file in attachment. - * applications/osgversion/Contributors.cpp: Updated Contributors - list to workaround typos in ChangeLog +" -2009-12-10 11:46 robert - * ChangeLog: Updated ChangeLog -2009-12-10 11:30 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. - * src/osgWrappers/osgAnimation/Timeline.cpp: Updated wrappers +Here’s an example: -2009-12-10 11:30 robert +0x72 +" - * src/osgPlugins/ive/DataOutputStream.h: From Stephan Huber, " I am - getting a warning that the class DataOutputStream has virtual - methods but no virtual d'tor, so I added the keyword virtual to - the destructor." -2009-12-10 11:16 robert - * src/osgText/Text3D.cpp: Fixed bug in positioning of 3d text - characters +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. +" -2009-12-09 23:42 cedricpinson - * src/osgAnimation/Timeline.cpp: From Cedric Pinson, add missing - file -2009-12-09 18:45 cedricpinson +Thu, 19 Dec 2013 10:02:16 +0000 +Checked in by : Robert Osfield +Implemented support for calling scripts from with Present3D. - * include/osgAnimation/AnimationManagerBase, - include/osgAnimation/Interpolator, - include/osgAnimation/RigTransformSoftware, - include/osgAnimation/Timeline, - include/osgAnimation/TimelineAnimationManager, - src/osgAnimation/RigGeometry.cpp, - src/osgAnimation/TimelineAnimationManager.cpp, - src/osgAnimation/UpdateCallback.cpp: From Cedric Pinson, - Add check in RigTransformSoftware if bones are null - Indent TimelineAnimationManager - Add check for NaN in UpdateCallback.cpp - Fix TimelineAnimationManager clear target (a refactore of - Timeline is require for futur) - Fix Computation of bounding box for RigGeometry +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 -2009-12-09 14:34 robert - * src/osgWrappers/osg/Drawable.cpp, - src/osgWrappers/osg/Geometry.cpp, src/osgWrappers/osg/Image.cpp: - Updated wrappers -2009-12-09 13:55 robert - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Fixed - support for compiling VBO's +Tue, 17 Dec 2013 10:52:50 +0000 +Checked in by : Robert Osfield +Added experimental image 3d downsample function. -2009-12-09 13:51 robert +Mon, 16 Dec 2013 11:28:10 +0000 +Checked in by : Robert Osfield +Removed the unused Texture::Extensions::numTextureUnits() - * include/osg/Drawable, include/osg/Geometry, src/osg/Drawable.cpp, - src/osg/Geometry.cpp: Added a Geometry::compileGLObjects() to - handle compilation of VBO + EBO's. +Fri, 13 Dec 2013 12:38:01 +0000 +Checked in by : Robert Osfield +Implemented ability to switch between different shaders with new MultipassTechnique -2009-12-09 13:13 robert +Thu, 12 Dec 2013 09:53:24 +0000 +Checked in by : Robert Osfield +Added SampleRatioWhenMoving property and support to new osgVolume::MultipassTechnique. - * include/osgFX/Outline: From Ulrich Hertlein, removed email - address +Thu, 12 Dec 2013 09:51:30 +0000 +Checked in by : Robert Osfield +Applied unquie CullVisitor::Identifier rather than reusing the cloned one. -2009-12-09 10:18 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 - * src/osgPlugins/osgFX/CMakeLists.txt, - src/osgPlugins/osgFX/IO_Outline.cpp: From Ulrich Hertlein, .osg - support for osgFX::Outline +Wed, 11 Dec 2013 12:00:27 +0000 +Checked in by : Robert Osfield +Added initial support for 1D transfer functions to MultipassTechnique -2009-12-09 09:37 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. - * src/osgFX/Outline.cpp: Compile fixes for GLES +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 -2009-12-09 09:36 robert +Mon, 9 Dec 2013 10:39:01 +0000 +Checked in by : Robert Osfield +Improvements to new MultipassTechnique - * include/osgFX/Outline: From Robert Milharcic, added missing - OSGFX_EXPORT +Fri, 6 Dec 2013 19:31:12 +0000 +Checked in by : Robert Osfield +Further work on new MultipassTechnique/VolumeScene. -2009-12-08 17:41 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. - * examples/CMakeLists.txt, examples/osgfxbrowser/osgfxbrowser.cpp, - examples/osgoutline, examples/osgoutline/CMakeLists.txt, - examples/osgoutline/osgoutline.cpp, include/osgFX/Outline, - runexamples.bat, src/osgFX/CMakeLists.txt, src/osgFX/Outline.cpp: - From Ulrich Hertlein, "attached is a stencil buffer-based - constant-width outline f/x with example. I've also modified - osgfxbrowser to setup the stencil buffer accordingly." +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 -2009-12-08 17:41 robert +Tue, 26 Nov 2013 10:38:35 +0000 +Checked in by : Robert Osfield +Replaced readShaderFile() usage to readRefShaderFile() - * include/osg/GL: From Thomas Halgarth, mods for Iphone GL headers +Mon, 25 Nov 2013 17:36:17 +0000 +Checked in by : Robert Osfield +Added initial render to texture functionality into osgVolume::VolumeScene -2009-12-08 17:33 robert +Fri, 22 Nov 2013 10:27:15 +0000 +Checked in by : Robert Osfield +Warning fixes - * src/osg/Texture1D.cpp, src/osg/Texture2DArray.cpp, - src/osg/Texture3D.cpp, src/osg/TextureCubeMap.cpp, - src/osg/TextureRectangle.cpp: Added check for image compatibility - with existing texture object, releasing the existing texture - object in cases when the new image size/pixel format is not - compatible. +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. -2009-12-08 17:25 robert +Fri, 22 Nov 2013 09:38:50 +0000 +Checked in by : Robert Osfield +Removed trailing spaces, added missing return to last lines - * include/osg/Image, src/osg/Image.cpp: From Sukender, "I - experienced as some users before: I tried to rescale an image - without a valid rendering context... And had problems to - unserstand what the "GL_OUT_OF_MEMORY" meant! So I added a few - comments for future users." +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. -2009-12-08 16:58 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" - * src/osg/Texture2D.cpp: Fixed typo -2009-12-08 16:02 robert - * src/osg/Texture2D.cpp: From Fabien Lavignotte, "i have a problem - with my application, i am currently playing with - Texture2D::SubloadCallback to optimize my image data transfer, - and also avoid double buffering when using a drawing thread. - There is a small bug with your change and SubloadCallback, the - texture object is destroy at each call of Texture2D::apply - because the modified count is never updated when using - SubloadCallback. - I have made a small fix to avoid that, see attachement." - - From Robert Osfield, added an if (_image.valid()) before the - getModified() that Fabien added to avoid problems when no _image - is assigned but an subload callback is. - -2009-12-08 15:39 robert - - * src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/ImageSequence.cpp: Updated wrappers - -2009-12-08 15:38 robert - - * include/osg/Image: Added virtual declaration for a range of - osg::Image method to allow easier customization. - -2009-12-08 14:40 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project - -2009-12-08 14:25 robert - - * src/osg/Texture2D.cpp: Added catch for changes in image pixel - format and dimensions so that the texture object is released when - the image changes enough to warrant a new texture object. - -2009-12-07 16:45 robert - - * src/osgUtil/GLObjectsVisitor.cpp: Re-order the setting of the - VBO's - -2009-12-07 12:35 robert - - * include/osgViewer/api/Cocoa/PixelBufferCocoa: Converted tabs to - four spaces - -2009-12-05 10:13 robert - - * src/osgWrappers/osgAnimation/StatsHandler.cpp: Updated wrappers - -2009-12-05 10:02 robert - - * include/osgAnimation/StatsHandler: Removed unimplemented - updateGraph method - -2009-12-04 17:25 robert - - * src/osgPlugins/imageio/ReaderWriterImageIO.cpp: From Tatsuhiro - Nishioka, "> The workaround/solution was to add a block of code - at the end of the - > loader to un-premultiply the alpha (now in the codebase). - - Applying the code brightens the semi-transparent portion, but the - black edges are still there (same on both osgviewer and - FlightGear). - Therefore I believe that the alpha channel is completely ignored - (on png, gif, tiff, etc...). I tweaked and tweaked and finally - got a workaround. - - Please commit the enclosed file to fix these issues. - - My workaround is a bit tricky (and some lines are even weird for - me), but it resolves the black edges. - These workarounds also work on GIF, TIFF, TGA, and PSD as long as - I've tested so far. - - Please read this for more info on this issue: - http://macflightgear.sourceforge.net/home/development-notes/devnote-dec-02-2009 - http://macflightgear.sourceforge.net/home/development-notes/devnote-dec-03-2009 - - I'm very happy if some of you guys find a better means of solving - the black edges. - - " - -2009-12-04 17:24 robert - - * src/osgPlugins/imageio/ReaderWriterImageIO.cpp: Converted tabs to - four space - -2009-12-04 11:31 robert - - * src/osgPlugins/3ds/AUTHORS, src/osgPlugins/3ds/CMakeLists.txt, - src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/WriterCompareTriangle.cpp, - src/osgPlugins/3ds/WriterCompareTriangle.h, - src/osgPlugins/3ds/WriterNodeVisitor.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.h, - src/osgPlugins/3ds/atmosphere.cpp, - src/osgPlugins/3ds/atmosphere.h, - src/osgPlugins/3ds/background.cpp, - src/osgPlugins/3ds/background.h, src/osgPlugins/3ds/camera.cpp, - src/osgPlugins/3ds/camera.h, src/osgPlugins/3ds/chunk.cpp, - src/osgPlugins/3ds/chunk.h, src/osgPlugins/3ds/chunktable.h, - src/osgPlugins/3ds/config.h, src/osgPlugins/3ds/ease.cpp, - src/osgPlugins/3ds/ease.h, src/osgPlugins/3ds/file.cpp, - src/osgPlugins/3ds/file.h, src/osgPlugins/3ds/lib3ds, - src/osgPlugins/3ds/lib3ds/AUTHORS, - src/osgPlugins/3ds/lib3ds/COPYING, - src/osgPlugins/3ds/lib3ds/README, - src/osgPlugins/3ds/lib3ds/lib3ds.h, - src/osgPlugins/3ds/lib3ds/lib3ds_atmosphere.c, - src/osgPlugins/3ds/lib3ds/lib3ds_background.c, - src/osgPlugins/3ds/lib3ds/lib3ds_camera.c, - src/osgPlugins/3ds/lib3ds/lib3ds_chunk.c, - src/osgPlugins/3ds/lib3ds/lib3ds_chunktable.c, - src/osgPlugins/3ds/lib3ds/lib3ds_file.c, - src/osgPlugins/3ds/lib3ds/lib3ds_impl.h, - src/osgPlugins/3ds/lib3ds/lib3ds_io.c, - src/osgPlugins/3ds/lib3ds/lib3ds_light.c, - src/osgPlugins/3ds/lib3ds/lib3ds_material.c, - src/osgPlugins/3ds/lib3ds/lib3ds_math.c, - src/osgPlugins/3ds/lib3ds/lib3ds_matrix.c, - src/osgPlugins/3ds/lib3ds/lib3ds_mesh.c, - src/osgPlugins/3ds/lib3ds/lib3ds_node.c, - src/osgPlugins/3ds/lib3ds/lib3ds_quat.c, - src/osgPlugins/3ds/lib3ds/lib3ds_shadow.c, - src/osgPlugins/3ds/lib3ds/lib3ds_track.c, - src/osgPlugins/3ds/lib3ds/lib3ds_util.c, - src/osgPlugins/3ds/lib3ds/lib3ds_vector.c, - src/osgPlugins/3ds/lib3ds/lib3ds_viewport.c, - src/osgPlugins/3ds/lib3ds_float.cpp, - src/osgPlugins/3ds/lib3ds_float.h, src/osgPlugins/3ds/light.cpp, - src/osgPlugins/3ds/light.h, src/osgPlugins/3ds/material.cpp, - src/osgPlugins/3ds/material.h, src/osgPlugins/3ds/matrix.cpp, - src/osgPlugins/3ds/matrix.h, src/osgPlugins/3ds/mesh.cpp, - src/osgPlugins/3ds/mesh.h, src/osgPlugins/3ds/node.cpp, - src/osgPlugins/3ds/node.h, src/osgPlugins/3ds/quat.cpp, - src/osgPlugins/3ds/quat.h, src/osgPlugins/3ds/readwrite.cpp, - src/osgPlugins/3ds/readwrite.h, src/osgPlugins/3ds/shadow.cpp, - src/osgPlugins/3ds/shadow.h, src/osgPlugins/3ds/tcb.cpp, - src/osgPlugins/3ds/tcb.h, src/osgPlugins/3ds/tracks.cpp, - src/osgPlugins/3ds/tracks.h, src/osgPlugins/3ds/types.h, - src/osgPlugins/3ds/vector.cpp, src/osgPlugins/3ds/vector.h, - src/osgPlugins/3ds/viewport.cpp, src/osgPlugins/3ds/viewport.h: - From Sukender, - "Here is our freshly baked 3DS reader/writer (named 'v0.5' to - differentiate from previous one). Changes are against trunk rev. - 10819. - Short changelog (from rev 10819): - - Added 3DS writer - - Sync'd with latest lib3DS - - Added options, especially "flattenMatrixTransforms" to get the - "old" behaviour (else the reader correctly maps to OSG the - transforms from the 3DS file). - - What should be done: - - Check with pivot points, with and without - "flattenMatrixTransforms" option. - - We ran tests on it, but we can never be 100% sure there is no - bug. Testing from the community would of course be helpful." - -2009-12-04 09:57 robert - - * src/osgShadow/SoftShadowMap.cpp: From Mathieu Marache, "I - replaced the Vec4 by a float and used only the x component of the - shadow2DProj . This works on my apple box." - -2009-12-02 18:58 robert - - * src/osgPlugins/ffmpeg/FFmpegClocks.cpp, - src/osgPlugins/ffmpeg/FFmpegClocks.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.hpp: From Julen - Garcia,"I've been lately working also with the ffmpeg plugin and - I implemented pause(), seek() and getReferenceTime(). I think - that I have solved the internal clock issues (maybe not in the - most elegant way :?" - -2009-12-02 14:58 robert - - * src/CMakeLists.txt, src/osgPlugins/CMakeLists.txt, - src/osgWrappers/CMakeLists.txt: From Farshid Lashkari, "I had to - make a few small changes to some cmake files to enable the - OSG_MSVC_GENERATE_PLUGINS_AND_WRAPPERS_MANIFESTS option for - Visual Studio 2008." - -2009-12-02 14:21 robert - - * include/osgGA/SphericalManipulator, - src/osgGA/SphericalManipulator.cpp: From Nico Kruithof, "Attached - is a patch that makes the spherical manipulator frame rate - independent. This is similar to what Lee did for the trackball - manipulator a couple of months ago." - -2009-12-02 12:37 robert - - * src/osg/BufferObject.cpp: Quitened down debug info - -2009-12-02 12:37 robert - - * examples/CMakeLists.txt, examples/osggpx, - examples/osggpx/CMakeLists.txt, examples/osggpx/osggpx.cpp: Added - osggpx example to demonstate how to use the XmlParser and create - line models. - - To use : - - osggpx myterrainmodel.ive -t mytrack.gpx - -2009-12-01 19:40 robert - - * src/osgDB/XmlParser.cpp: Quiten down debugging message - -2009-11-30 13:44 robert - - * src/osgWrappers/osg/CullSettings.cpp: Updated wrappers - -2009-11-27 18:14 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Attempted compile - fix. - -2009-11-27 16:47 robert - - * src/osgSim/OverlayNode.cpp: From Christian Ehrlicher, "during - profiling my program I found out that there's a lot of memory - (de)allocation going on in OverlayNode::cut(). - - So instead creating inner-loop variables 'distances' and - 'newVertices' - every time, I moved the creation out of the loop and just do a - clear() + - reserve() inside the loop. This allows std::vector<> to reuse the - old - memory instead allocating new when the new size <= oldsize." - -2009-11-27 15:48 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Jason Daly, "The DDS - reader test for DXT1 images with 1-bit alpha wasn't thorough - enough. It performed the first check (color_0 <= color_1), but it - didn't actually scan the texel block to see if the transparent - color (0x03) was there. As a result, DXT1 files without any alpha - were getting switched to RGBA format (instead of being left just - RGB). - - The attached code fixes this problem." - -2009-11-27 15:39 robert - - * examples/osg2cpp/osg2cpp.cpp: From Jean-Sebastien Guay, - Explanation: - - Currently osg2cpp removes "\n" line endings to replace them with - a textual equivalent ("\\n") in order for the string representing - the shader to contain line endings in the string. But if the file - that was read contained Windows line endings ("\r\n"), the - resulting file looked really weird (the \r were left there and - editors interpreted that as an additional newline). Also, I can - imagine that if the shader file that was read had Mac line - endings ("\r") then the output shader would all end up in one - long line since there are no "\n"... - - What I've done: - - I've added a search and replace of "\r\n" to "\n", and then "\r" - to "\n" (note that the order is important). - - I've also changed the filename handling so that the output file - will be put in the same directory as the input file in case it - was specified with a path. Previous functionality is retained for - files specified with the filename only."" - -2009-11-27 15:35 robert - - * src/osgPlugins/pdf/ReaderWriterPDF.cpp: From Wang Rui, "I just - successfully built the pdf plugin on Windows XP and MSVC and - fixed a small bug then: - - ReaderWriterPDF.cpp, line 133, change: - - std::string uri = std::string("file:") + foundFile; - - to: - - #if defined(WIN32) && !defined(__CYGWIN__) - std::string uri = std::string("file:///") + foundFile; - #else - std::string uri = std::string("file:") + foundFile; - #endif - - - That's because glib accepts "file:///C:\\data\\file.pdf" as URIs - on - Windows, as well as "file:/home/data/file.pdf" on Unix, but - "file:C:\\data\\file.pdf" is not recognized. - - Now I could read my Chinese translation of OSGQSG with osgpdf. - :P" - -2009-11-27 15:32 robert - - * include/osg/Camera, include/osg/CullSettings, src/osg/Camera.cpp, - src/osgUtil/CullVisitor.cpp: From Paul Martz, "This change - address the following issue: an app opens a Viewer on a - multidisplay system, configured to setUpViewAcrossAllDisplays, - with a non-default clear mask. In this case, OSG failed to - propagate the clear mask to the slave Cameras, resulting in the - clear mask being ignored. To fix this issue, this revision adds a - new CullSettings::VariablesMask bit, CLEAR_MASK, to explicitly - control inheritance of the clear mask. This bit is set by - default, which means that the clear mask now inherits by default, - whereas previously it did not." - -2009-11-27 12:21 robert - - * src/osgDB/FileUtils.cpp: From Chris Denham, "I discovered what - seems to be a missing call to FreeLibrary for osgDB.dll The - result of this is that it prevents me from dynamically unloading - my DLL (which uses OSG). This is because initialisation of the - osg::Registry instance results in a call to GetModuleHandleEx (to - get the filename of the DLL). This call to GetModuleHandleEx - increments the module refcount, but there was no matching call to - FreeLibrary for the returned handle. Unlike the old - GetModuleHandle function, GetModuleHandle does (by default) - increment the refcount. - - I have added the missing call to FreeLibrary in - osgDB::FileUtils., and now my the runtime unload of MY dll is - working properly. It has also cured some related problems I was - having with memory leak checks being reported. - - I have attached a fix to osgDB/FileUtils.cpp based on version - 2.9.5 svn revision 10374 - " - -2009-11-27 12:17 robert - - * src/osgPlugins/dot/ReaderWriterDOT.cpp: From Cory Riddell, "Small - edit to ReaderWriterDOT.cpp. It wasn't checking the file - extension - and so, if the .dot plugin was loaded, it would happily handle - any file - name extension. - - To reproduce the bug, first save a scene to a dot file (to load - the dot - plugin), then try to write the scene to an osg file. If you look - at the - osg file, you will see that it is a dot file." - -2009-11-27 11:48 robert - - * src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/Texture.cpp: Updated wrappers - -2009-11-27 11:43 robert - - * include/osg/BufferObject, src/osg/BufferObject.cpp, - src/osg/Texture.cpp: Implement - deleteAllTextureObject/BufferObjects functionality. - - Cleaned up warnings. - -2009-11-26 12:33 robert - - * include/osg/BufferObject, include/osg/GLObjects, - include/osg/Texture, src/osg/BufferObject.cpp, - src/osg/GLObjects.cpp, src/osg/GraphicsContext.cpp, - src/osg/Texture.cpp: Introduced preliminary - osg::deleteAllGLObjects() and osg::discardAllGLObjects() - functions and associated support into Texture and BufferObjects - -2009-11-26 10:12 robert - - * examples/osgcamera/osgcamera.cpp: Added check for Geometry - pointer being valid - -2009-11-25 16:31 robert - - * examples/osgcamera/osgcamera.cpp: For testing purposes added code - path and options for testing viewer creation in series, including - with enabling of VBO's. Options are: - - osgcamera -r 5 --vbo cow.osg - - Which repeats construction of the viewer 5 times in a row, and - enables VBO, and on each repeat a new model is loaded. - - osgcamera -r 2 --vbo --shared cow.osg - - Which repeats construction of the viewer 2 times in a row, and - enables VBO, and on each loads the model once and shares it - between each instance of the viewer. - -2009-11-25 16:20 robert - - * examples/osgcamera/osgcamera.cpp: Added support for repeating - viewer construction - -2009-11-25 11:31 robert - - * examples/CMakeLists.txt, examples/osgmultiviewpaging, - examples/osgmultiviewpaging/CMakeLists.txt, - examples/osgmultiviewpaging/osgmultiviewpaging.cpp: From Sergey - Leontyev, example for testing of DatabasePaging and CompositeView - usage - -2009-11-24 15:26 robert - - * src/osgWrappers/osgParticle/Particle.cpp: Updated wrappers - -2009-11-24 15:00 robert - - * examples/osgparticle/osgparticle.cpp, - include/osgParticle/Particle, src/osgParticle/Particle.cpp: From - Martin Scheffler, "osgParticle: method to set start and end tile - for particle texture (for animated particles). I also updated - examples/osgParticle to show the feature. - The texture in data/Images should be copied to osg-data. I - created the texture myself with the help of an explosion - generator, so no license issues there. - " - -2009-11-24 14:32 robert - - * src/osgUtil/SceneView.cpp: From Farshid Lashkari, - "I've attached a small fix to osgUtil::SceneView so that is uses - a scissor test when clearing the stencil buffer for stencil based - stereo." - - and - - "I've added another small change for stencil based stereo, so - please use this newer version. This newer version simplifies the - calls to glOrtho and glRecti when drawing the stipple pattern. - This change also happens to fix an issue where the stencil stereo - would not work with certain viewport settings. I'm not exactly - sure why this was happening, it might be a graphics driver issue, - but either way I think the changes should be fine." - -2009-11-24 14:22 robert - - * src/osgViewer/PixelBufferWin32.cpp: From Lilin Xiong, "when using - stlport5.3 (vc 2003) , this line cann't be compiled: - _instances[0] = new WGLExtensions; - change to: - _instances[HGLRC(0)] = new WGLExtensions;" - -2009-11-24 14:20 robert - - * src/osgWrappers/osgText/Text.cpp: Updated wrappers - -2009-11-24 14:12 robert - - * include/osgText/Text, src/osgText/Text.cpp: From Terry Welsh, "As - I mentioned here - http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg33967.html - , interpolating through HSV space gives a rainbow color effect - which - does not mimic the simple RGB color interpolation that OpenGL - does. - It's overkill and causes unexpected visual artifacts. In the - attached - files I've removed the conversion to HSV so that interpolation - happens - in RGB space." - -2009-11-24 13:28 robert - - * include/osg/Vec2d, include/osg/Vec2f, include/osg/Vec2s, - include/osg/Vec3d, include/osg/Vec3f, include/osg/Vec3s, - include/osg/Vec4d, include/osg/Vec4f, include/osg/Vec4s: Rewrote - the Vec *= Vec and Vec /= Vec implementations using inline Vec - componentMultiply(Vec,Vec) and Vec componentDivide(Vec,Vec) to - avoid confusion about the what the operation does. - -2009-11-24 13:24 robert - - * include/osg/Texture, src/osg/Texture.cpp: From Wojciech - Lewandowski, "I have extended a list of texture targets that can - be used with shadow comparison. These targets are avaialble in in - OpenGL 3.x shadow sampler variants. Changes are based on current - SVN." - -2009-11-23 11:00 robert - - * src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/osgTerrain/ImageLayer.cpp: From Chris Hanson, " - Add support for "OutputTextureFiles" option to IVE plugin to - permit creation of external - .dds texture files from internally-embedded textures during IVE - writes." - - From Robert Osfield, fixed a bug in the above submission, and - changed the way that the filename of the file is passed into - DataOutputStream to avoid issues with the .ive's plugins ability - to read from istreams. - -2009-11-23 10:19 robert - - * include/osgDB/FileUtils, src/osgDB/FileNameUtils.cpp, - src/osgDB/FileUtils.cpp: From Chris Hanson, " Add support for - requesting and setting the current directory (a la getcwd/chdir) - via a - C++-friendly string-class API. - - Prevent osgDB::concatPaths from faulting if the supplied "left" - path string is empty." - -2009-11-23 10:01 robert - - * include/osg/Vec2d, include/osg/Vec2f, include/osg/Vec3d, - include/osg/Vec3f, include/osg/Vec4d, include/osg/Vec4f: From - Chris Hanson, " Adds support for Vec /= Vec and Vec *= Vec - operators to Vec2/Vec3/Vec4 double and float - classes." - -2009-11-23 09:54 robert - - * include/osg/Version: Updated version - -2009-11-23 09:53 robert - - * src/osg/Version.in: From Paul Martz, typo fixes - -2009-11-22 17:27 robert - - * include/osgViewer/api/Win32/GraphicsWindowWin32: Added missing - createContextImplementation(). - -2009-11-21 16:41 robert - - * include/osgViewer/api/Carbon/GraphicsHandleCarbon, - include/osgViewer/api/Carbon/GraphicsWindowCarbon, - include/osgViewer/api/Carbon/PixelBufferCarbon, - include/osgViewer/api/Win32/GraphicsHandleWin32, - include/osgViewer/api/Win32/GraphicsWindowWin32, - include/osgViewer/api/Win32/PixelBufferWin32, - include/osgViewer/api/X11/GraphicsHandleX11, - include/osgViewer/api/X11/GraphicsWindowX11, - include/osgViewer/api/X11/PixelBufferX11, - src/osgViewer/CMakeLists.txt, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp, - src/osgViewer/PixelBufferCarbon.cpp, - src/osgViewer/PixelBufferWin32.cpp, - src/osgViewer/PixelBufferX11.cpp, - src/osgViewer/ScreenCaptureHandler.cpp: From Colin MacDonald, "In - my application I have a custom graphics context class, derived - from - osg::GraphicsContext, in order to give good integration with the - application's GUI toolkit. This works really well. - - However, I need to share OpenGL texture resources with the - standard - osgViewer GraphicsContext implementations, in particular the - PixelBuffers. This is essential for my application to conserve - graphics - memory on low-end hardware. Currently the standard osg - implementations - will not share resources with another derived - osg::GraphicsContext, - other than the pre-defined osgViewer classes e.g. PixelBufferX11 - is - hardcoded to only share resources with GraphicsWindowX11 and - PixelBufferX11 objects, and no other osg::GraphicsContext object. - - To address this in the cleanest way I could think of, I have - moved the - OpenGL handle variables for each platform into a small utility - class, - e.g. GraphicsHandleX11 for unix. Then GraphicsWindowX11, - PixelBufferX11 - and any other derived osg::GraphicsContext class can inherit from - GraphicsHandleX11 to share OpenGL resources. - - I have updated the X11, Win32 and Carbon implementations to use - this. - The changes are minor. I haven't touched the Cocoa implmentation - as - I'm not familiar with it at all and couldn't test it - it will - work - unchanged. - - Without this I had some horrible hacks in my application, this - greatly - simplifies things for me. It also simplifies the osgViewer - implementations slightly. Perhaps it may help with other users' - desires to share resources with external graphics contexts, as - was - discussed on the user list recently." - - Notes from Robert Osfield, adapted Colin's submission to work - with the new EGL related changes. - -2009-11-20 14:51 robert - - * include/osgDB/ReadFile, src/osgDB/ReadFile.cpp: From Chris - Hanson, " Remove vestigial (and because it was undocumented, - potentially harmful) code to ignore - filenames starting with a dash "-" character from the - (std::vector&) version - of osgDB::readNodeFiles. Handling of argument strings is properly - implemented in the - osgDB::readNodeFiles(osg::ArgumentParser& arguments,const - Options* options) - variant, which most code uses. The (std::vector&) - version is only called by - the osgconv utility, which does its own argument handling and - stripping prior to calling - readNodeFiles(). - - Also, documented this behaviour in the header comments. - - I believe this code removal is a meritful change because leavign - the code in causes an - unexpected and undocumented behaviour (ignoring any filename - starting with a dash) that - could bite users in the future. This behaviour is not needed for - existing functionality - because existing code uses other APIs to handle dash-prefixed - arguments anyway. - - " - -2009-11-20 14:40 robert - - * src/osgViewer/Scene.cpp: Moved the ImagePager update to before - the main scene graph update traversal - -2009-11-20 14:39 robert - - * src/osgViewer/Scene.cpp: From Wang Rui, "I've made a small fix to - osgViewer/Scene.cpp, which is already attached. I would like to - explain what I've done and why. - - In Scene::updateSceneGraph(), change: - - if (getSceneData()) - { - updateVisitor.setImageRequestHandler(getImagePager()); - getSceneData()->accept(updateVisitor); - } - if (getDatabasePager()) - { - // synchronize changes required by the DatabasePager thread to - the scene graph - getDatabasePager()->updateSceneGraph((*updateVisitor.getFrameStamp())); - } - - to - - if (getDatabasePager()) - { - // synchronize changes required by the DatabasePager thread to - the scene graph - getDatabasePager()->updateSceneGraph((*updateVisitor.getFrameStamp())); - } - if (getSceneData()) - { - updateVisitor.setImageRequestHandler(getImagePager()); - getSceneData()->accept(updateVisitor); - } - - That is, just swap the positions of two 'if () {...}' segments. - - While working on a paged terrain, I need to collect every newly - allocated PagedLODs and make them temporarily unrenderable in the - next frame, which are all done in a update callback. But I found - that these PagedLODs will always be shown before collecting them, - because of the unsuitable sequence in Scene::updateSceneGraph(). - DatabasePager is synchronized AFTER the user updating traversal, - that is, user cannot IMMEDIATELY find out changes made by - DatabasePager. - " - -2009-11-20 14:31 robert - - * examples/osgmovie/osgmovie.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.hpp: From Rafa Gaitan, - "Current ffmpeg plugin didn't support pause and seek, I have - added this - functionality and I also modified osgmovie example to support - "seek"." - - Note from Robert Osfield, changes osgmovie to use '>' for the - seek as '+' was already used in a separate submission that had - been merged. - -2009-11-20 14:15 robert - - * src/osgWrappers/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/osgTerrain/TerrainTechnique.cpp, - src/osgWrappers/osgTerrain/TerrainTile.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers - -2009-11-20 12:32 robert - - * src/osgUtil/SceneView.cpp: From Farshid Lashkari, "I noticed that - the code for rendering vertical interlace, horizontal interlace, - and checkerboard stereo are practically identical, except for the - stipple pattern. I combined the code blocks for rendering the 3 - stereo modes into a single block. I also fixed a small issue with - retrieving stats in checkerboard stereo mode." - -2009-11-20 11:46 robert - - * src/osgPlugins/xine/video_out_rgb.c: From David Callu, "I have a - Segfault with xine plugin, when I load a video, then delete the - XineStreamImage, - then reload a video and finally delete the second - XineStreamImage. - - In src/osgPlugins/xine/video_out_rgb.c, many code is ASM code, - and 'clear()' function is one of them. - If OSG is compiled without the flag COMPILE_ASSEMBLY (default - behaviours) the clear() function is an empty - function and allocated memory is never initialized to 0. So a - structure which contain pointer haven't its pointer set to NULL. - And when we need to delete this pointer, all go bad. - - I join the fixed file." - -2009-11-20 11:43 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Colin McDonald, - "Reading from a stream the 3ds plugin crashes if the options are - null." - -2009-11-20 11:39 robert - - * src/osg/GraphicsContext.cpp: From Himar Carmona, " this - submission resolves an issue regarding the setup of a slave - camera with an (incorrect) coding style. Sharing the same - instance of osg::Viewport with a camera and a slave camera causes - incorrect rescaling in GraphicsContext::resizedImplementation, - due to the viewport being rescaled twice (once per camera). - Though viewports sharing is not intentional, it can be done with - the current version of OSG and be a potential pitfall for anyone. - - As Robert pointed out, i opted for modifying the resize code - where the break is to minimize code changes, avoiding the - duplicate resize of the viewport with the use of a vector and a - search for duplicates. Not very elegant (avoiding an effect of a - cause), another approach could be ripping out the method - osg::Camera::setViewport(osg::Viewport*) which is more inline - with Roberts rationale behind not to share viewports between - cameras and left only its overloaded method - setViewport(x,y,width,height). But this approach need some - refactoring due to the intense use of the method. Notice also - that the resize works well without this change if no sharing - occurs, and the user of the method can opt for always call - setViewport with a new instance. - " - - Note from Robert Osfield, changed this submission to use an - std::set rather than an std::vector<> as it keeps the - code a bit cleaner and more compact. - -2009-11-20 11:25 robert - - * src/osgViewer/GraphicsWindowX11.cpp: From Stewart Andreason, - "When I open the Window Attributes (in WindowManager in X on - linux) I am unable to save any changes to the attributes in the - resource database, because the osg window does not have a class - defined. The Window Specification and Save buttons are greyed - out. - - For example, when running FlightGear, I want the window to always - have no title, so it opens full-screen without using the - --full-screen option, which would prevent other windows from - moving above the osg window. - - I am attaching a patch I made to fix this problem." - -2009-11-20 11:18 robert - - * CMakeModules/FindOSG.cmake: From Nico Kruithof, "This patch makes - sure that FindOSG.cmake finds OSG when it is compiled - as a 64 bit library, as the libraries are installed in the lib64 - directory and not lib" - -2009-11-20 11:08 robert - - * include/osgTerrain/GeometryTechnique, - include/osgTerrain/TerrainTechnique, - include/osgTerrain/TerrainTile, - src/osgTerrain/GeometryTechnique.cpp, - src/osgTerrain/TerrainTile.cpp: From Jason Beverage, "I posted a - question on osg users about resources not being properly released - when using osgTerrain databases and multiple viewers are used a - few weeks ago and I've found that at least part of the problem - comes down to the fact that the nodes that are traversed by the - GeometryTechnique are never actually added to the scene graph, - and thus don't have releaseGLObjects called on them. I'm - submitting a few changes that takes care of this by allowing the - TerrainTechnique to provide a releaseGLObjects implementation. - I've applied these changes in osgEarth and this example program - no longer crashes on the second run, although I get corrupt - geometry (see attached shot) which could be down to a driver - issue. If I increment the context ID for the second viewer, I no - longer get the corrupt geometry. - - The attached changes are against OpenSceneGraph 2.8.2. - - //Sample program. Run against an osgEarth or VPB database based - on osgTerrain. - #include - #include - - int main(int argc, char** argv) - { - osg::ArgumentParser arguments(&argc,argv); - - osgViewer::Viewer* viewer = new osgViewer::Viewer(); - viewer->setUpViewInWindow(100, - 100,500,500); - osg::ref_ptr loadedModel = - osgDB::readNodeFiles(arguments); - viewer->setSceneData( loadedModel.get() ); - viewer->run(); - delete viewer; - - viewer = new osgViewer::Viewer(); - viewer->setUpViewInWindow(100,100,500,500); - loadedModel = osgDB::readNodeFiles(arguments); - viewer->setSceneData( loadedModel.get() ); - viewer->run(); - delete viewer; - }" - -2009-11-20 10:56 robert - - * src/osgPlugins/svg/ReaderWriterSVG.cpp: From Jeremy Moles, - "Somehow, the SVG reader plugin has gone all this time without - actually - being able to accurately provide the cool stuff that SVG is good - for. :) - There is a one-line bug on line 68 in the - src/osgPlugins/svg/ReaderWriterSVG.cpp file where you can set the - width - in the Options string, but not the height." - -2009-11-20 10:54 robert - - * examples/osgmovie/osgmovie.cpp: From Cedric Pinson, "here an - update of osgmovie example with the following features: - - play and pause now stop and play all streams given in the - command line - (not only the first) - - add key + - to increase decrease the speed of all streams - - add key o to display all stream frame rate - " - -2009-11-20 10:48 robert - - * CMakeLists.txt, CMakeModules/FindDirectShow.cmake, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/directshow, - src/osgPlugins/directshow/CMakeLists.txt, - src/osgPlugins/directshow/DirectShowTexture, - src/osgPlugins/directshow/DirectShowTexture.cpp, - src/osgPlugins/directshow/ReaderWriterDirectShow.cpp: From Cedric - Pinson, "Here an update of the directshow plugin. It fixes issues - with - synchronization, improve capture device support. - - here how to use it to display a capture device: - - osg::Options* options = new osg::Options; - options->setPluginStringData("captureWantedWidth", "800"); - options->setPluginStringData("captureWantedHeight", "600"); - options->setPluginStringData("captureWantedFps", "30"); - options->setPluginStringData("captureVideoDevice", "USB Video - Device" ); - options->setPluginStringData("captureSoundDevice", ""); - then - osgDB::readImageFile("capture.directshow", options) - you can use a graphedit application to list devices available in - directshow. - - - for classic avi file you just need to do a - osgDB::readImageFile("file.avi.directshow"); - You will need of course to install the codec needed by directshow - to - read the avi files. - - I recommand this tool http://avicodec.duby.info/, that check - which - video/sound codec is needed to play an avi file. - - - You can test it with the osgmovie example. - " - -2009-11-20 10:27 robert - - * include/osgDB/Output, src/OpenThreads/pthreads/PThread.c++: From - David Fries, "I was trying to create a lot of threads under 32 - bit Linux, but could - only create 376, then the program would hang. - 376 * 8MB stack per thread = 3008 MB - The stack size allocated per thread blew the process address - stack. - To get more threads you have to specify a smaller per thread - stack, - but while the Thread::start says it will limit the stack size to - the - smallest allowable stack size, it won't let it be smaller than - the - default. I included the limits.h header to use PTHREAD_STACK_MIN - as - the minimum stack size. - - As for the deadlock, if the pthread_create failed, the new thread - doesn't exist and doesn't call threadStartedBlock.release(), so - the - existing thread deadlocks on threadStartedBlock.block(). Only - block - if the thread was started." - -2009-11-20 09:05 robert - - * src/osgPlugins/fbx/fbxRMesh.cpp: Added #include - - -2009-11-20 09:03 robert - - * src/osgPlugins/vrml/ReaderWriterVRML2.h: From Jan Ciger, removal - of declaration of now undefined method. - -2009-11-19 17:42 robert - - * src/osgManipulator/Dragger.cpp: From Stephan Huber, "attached - you'll find a bugfix for removeTransformUpdating and another - similar remove-method. - - The old code removed an element from a vector, which invalidates - the - iterator of the loop This resulted in a crash on certain - platforms. Now - the erasing is done the right way without invalidating the - iterator." - -2009-11-19 17:27 robert - - * include/osg/Texture: From Lilin Xiong, added missing OSG_EXPORT - -2009-11-19 17:22 robert - - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: From - Vincent Gadoury, "In osgViewer::Viewer and - osgViewer::CompositveViewer, the DOUBLECLICK event type was not - considered as a "pointer event" and thus was receiving the event - state coordinates and button mask. As a result, a double-click - event always had a button mask not including the double-clicked - button, even if double-click event is a "button push" event. - - The modification consists only in including - osgGA::GUIEventAdapter::DOUBLECLICK in the list of "pointerEvent" - events. - - Test done to reproduce the problem and check the fix: in any osg - application or example with an HandleInput function, break on - events with a double-click event type. Without the changes, the - event's buttonMask does not contain the double-clicked button. - With the changes, it does. - - Only simple tests (running some examples and playing with the - mouse) were done to check that the changes do not break anything, - since double-click is not used thoroughly in OSG. - - Modification done against current SVN Trunk version (r10753). - - As this is a fix, I do not wish to keep my copyright on this - submission and assign it over to the project lead. - " - -2009-11-19 17:18 robert - - * src/OpenThreads/pthreads/PThread.c++: From Donn Mielcarek, "I'm - surprised this hasn't come up before, but the function - Thread::setProcessorAffinity - always returns -1, even if the call is successful. I added return - statements to each of the function calls." - -2009-11-19 17:17 robert - - * src/OpenThreads/pthreads/PThread.c++: Fixed tabs - -2009-11-19 16:53 robert - - * include/OpenThreads/Atomic: Fixed spacing - -2009-11-19 16:45 robert - - * src/osgPlugins/quicktime/ReaderWriterQT.cpp: From Nico Krulthof, - remove double qualifier of ReaderWriterQT constructor/destructor. - -2009-11-19 16:43 robert - - * CMakeLists.txt: Changed the placement of the autogenerated - Version file so it drops into the in source directory. - -2009-11-19 16:39 robert - - * src/osgUtil/RenderStage.cpp: From Wojciech Lewandowski, refactor - to FBO setup to use the osg::Camera implicit buffer attachements. - -2009-11-19 16:06 robert - - * src/osgPlugins/vrml/IndexedFaceSet.cpp, - src/osgPlugins/vrml/Primitives.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.h: From Jan Ciger, build - fixes to work with OpenVRML 0.18.3. - - Tweaks to this submission from Robert Osfield to fix missing - elements in submission. - -2009-11-19 12:54 robert - - * src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/obj.cpp: From Ulrich Hertlein, "ttached are - some tweaks to the Obj loader that allows a program supplied - osgDB::Options object to be passed through the code. This allows - for caching to be used with images. - - The patched loader also complains more loudly if a material - library file wasn't found or if a referenced material wasn't - found in the material library." - -2009-11-19 12:39 robert - - * src/osg/Texture.cpp: From Tugkan Calapoglu, "we started to have - problems with textures after a recent svn update. I - was able to follow the problem until following addition to - Texture.cpp: - - // GLES doesn't cope with internal formats of 1,2,3 and 4 so map - them to - the appropriate equivilants. - - if (_internalFormat==1) _internalFormat = GL_ALPHA; - if (_internalFormat==2) _internalFormat = GL_LUMINANCE_ALPHA; - if (_internalFormat==3) _internalFormat = GL_RGB; - if (_internalFormat==4) _internalFormat = GL_RGBA; - - - The problem is that internal format "1" corresponds to - GL_LUMINANCE, not - GL_ALPHA. I double checked this from the Red Book. Fixed version - is - attached to the email." - -2009-11-19 12:01 robert - - * include/osgViewer/ViewerEventHandlers, - src/osgViewer/ScreenCaptureHandler.cpp: From Jean-Sebastien Guay, - "I've made a change to the ScreenCaptureHandler's - addCallbackToViewer method, so that it iterates over - GraphicsContexts instead of GraphicsWindows. When the viewer has - a pbuffer (for offscreen rendering without a window) then it - wouldn't add the WindowCaptureCallback to that context since it - wasn't in the list returned by ViewerBase::getWindows(). And - anyways, I originally wrote the code, and I didn't see any reason - why I did it with windows instead of contexts... - - I've needed to run a recorded simulation offscreen and save it to - a sequence of images, and the ScreenCaptureHandler seemed to be - the simplest way to do that, and with this change it's possible. - - - Another change: I've also added the ability to specify continuous - capture of all frames, or a certain number of frames. - ScreenCaptureHandler now has a setFramesToCapture(int) method. - The argument will be interpreted as: - - 0 : don't capture - <0 : capture continuously - >0 : capture that number of frames then stop - - I also added startCapture() and stopCapture() methods so that - user code can start capturing (either continuously or the given - number of frames) at a given point in their program. - setFramesToCapture() won't start capturing, you have to call - startCapture() afterwards. The handler also now has another key - to toggle continuous capture (defaults to 'C'). - - Note that continuous capture will of course only work if the - CaptureOperation writes to different files (for example, a - WriteToFile with SEQUENTIAL_NUMBER mode) or does something - different each time... Otherwise it will just overwrite of - course. :-) - - I've also taken the chance to refactor the addCallbackToViewer() - method a bit too, since finding the right camera is needed in two - places now. - - I've tested all cases (I think). If you want to try, in - osgviewer.cpp and replace the line - - // add the screen capture handler - viewer.addEventHandler(new osgViewer::ScreenCaptureHandler); - - with - - // add the screen capture handler - osgViewer::ScreenCaptureHandler* captureHandler = new - osgViewer::ScreenCaptureHandler( - new osgViewer::ScreenCaptureHandler::WriteToFile( - "screenshot", "jpg", - osgViewer::ScreenCaptureHandler::WriteToFile::SEQUENTIAL_NUMBER), - -1); - viewer.addEventHandler(captureHandler); - captureHandler->startCapture(); - - And vary the "-1" (put 0, 10, 50) and then use the 'c' and 'C' - keys and see how it reacts. - " - -2009-11-19 11:54 robert - - * include/osgViewer/ViewerEventHandlers: Fixed spaces at ends of - lines - -2009-11-19 11:44 robert - - * CMakeLists.txt, CMakeModules/FindFBX.cmake, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/fbx, - src/osgPlugins/fbx/CMakeLists.txt, - src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/ReaderWriterFBX.h, - src/osgPlugins/fbx/fbxRAnimation.cpp, - src/osgPlugins/fbx/fbxRAnimation.h, - src/osgPlugins/fbx/fbxRCamera.cpp, - src/osgPlugins/fbx/fbxRCamera.h, - src/osgPlugins/fbx/fbxRLight.cpp, src/osgPlugins/fbx/fbxRLight.h, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRMesh.h, - src/osgPlugins/fbx/fbxRNode.cpp, src/osgPlugins/fbx/fbxRNode.h, - src/osgWrappers/osgWidget/EventInterface.cpp, - src/osgWrappers/osgWidget/Widget.cpp: From Michael Platings, - "This plugin adds support for the Autodesk FBX file format. It - imports animations, including skeletal and morph animations, - hence all my previous submissions to osgAnimation. The plugin - won't build without the changes made in the "osgAnimation small - additions" submission (14th August). - The plugin requires the FBX SDK to be installed, available from - http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=6837478" - -2009-11-19 11:30 robert - - * examples/osgwidgetbox/osgwidgetbox.cpp, - include/osgWidget/EventInterface: Form Roland Smeenk, "Attached - is a small change to the osgWidget::EventInterface so it matches - the NotifyWidget and NullWidget interface (added const). Due to - this mismatch these widgets never received events. - - I also changed the osgwidgetbox example so the ColorWidget is - receiving events again." - -2009-11-19 11:21 robert - - * examples/osgviewerWX/osgviewerWX.cpp, - examples/osgviewerWX/osgviewerWX.h: From J.P. Delport, "simple - addition to make the scroll wheel work in the example." - -2009-11-19 11:16 robert - - * src/osgUtil/DelaunayTriangulator.cpp: From Fabien Lavignotte, "I - have used the osgUtil::DelaunayTriangulator to insert roads into - a - terrain. The triangulator is quite tricky to use properly but - works - quite well, constraint triangulation is not an easy task... I - have - encounter some crash during the development that the following - patch - fix. - The two fixes are : - - Fix in removeVerticesInside() : needs to take into account - UByte and - UShort version of DrawElements to avoid a crash later - - Fix a crash in triangulate() : detect degenerate adjacency case - to - exit early form the adjacent triangle traversal loop to avoid a - crash - later" - -2009-11-19 10:47 robert - - * examples/osgintrospection/CMakeLists.txt, - examples/osgintrospection/osgintrospection.cpp: Fixed build - -2009-11-19 10:12 robert - - * src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/DisplaySettings.cpp, - src/osgWrappers/osg/State.cpp: Updated wrappers - -2009-11-19 10:10 robert - - * include/osg/Camera, include/osg/DisplaySettings, - src/osg/Camera.cpp, src/osg/DisplaySettings.cpp: From Wojciech - Lewandowski, "Building on earlier Paul's submission "[osg-users] - Main branch MSFBO support change", I have added implicit buffer - mask variables to DisplaySettings for setting global defaults for - Camera FBOs. These mask variables are named after variables in - Camera class. In Paul's submission they were named - _renderBufferMask & _resolveBufferMask but I renamed them to - _implicitBufferAttachmentRenderMask & - _implicitBufferAttachmentResolveMask. DisplaySettings - implementation includes reading of environment vars and command - line options. Setters and getters follow typical OSG naming - convention. I also updated names of ImplictBufferAttachment enum - bits to match changed naming scheme. - - DisplaySettings now define COLOR and DEPTH as defaults for - implicit buffers. Consequently Camera by default uses the same - defaults through USE_DISPLAY_SETTINGS_MASK. However, particular - Camera mask can be easily overriden through - Camera::setImplicitBufferAttachmentMask method. I hope, that in - this way we can have global control over implicit buffer - defaults, and we can still retain fine grained control at Camera - level. - - I have also replaced original unsigned ints used to store masks - to signed ints because complier resolves enums as signed integer - (I got a number of warnings with unsigned int)." - -2009-11-18 18:19 robert - - * src/osg/CMakeLists.txt: Removed include/osg/Config as it was - causing problem with Windows build - -2009-11-18 16:24 robert - - * CMakeLists.txt, include/osg/Version, src/osg/CMakeLists.txt, - src/osg/Config.in, src/osg/Version.in: Moved the set of - include/osg/Version into Cmake - -2009-11-18 14:08 robert - - * src/osgPlugins/obj/ReaderWriterOBJ.cpp: From Lee Butler, "The - attached ZIP file contains a modified OBJ file format reader - which - makes smoothing optional for verticies which do not have a normal - associated with them in the OBJ input file. The previous behavior - was - to always smooth at all verticies which did not have surface - normals. - In this new implementation smoothing is on by default to be - compatible - with previous behavior. The user can now specify the - "generateFacetNormals" - option to the reader to use facet normals for verticies where the - OBJ - file does not specify a normal." - - Note from Robert Osfield, changed "noSmoothing" naming used by - Lee to "generateFacetNormals". - -2009-11-18 13:00 robert - - * CMakeLists.txt, src/osg/CMakeLists.txt, src/osg/Timer.cpp: From - Pau Garcia i Quiles, "On Linux/Unix, when you change the system - time (for instance, using - settimeofday), OSG animations will freeze your application - because - osg::Timer uses gettimeofday internally on non-Win32 platforms. - This - is wrong and should be replace with times(2) or clock_gettime(2). - - The attached patch fixes the issue in a binary-compatible way by - using - clock_gettime when it's available, and falling back to - gettimeofday - when it's not." - -2009-11-18 12:50 robert - - * include/osg/State: Fixed primCount default value - -2009-11-18 12:15 robert - - * CMakeLists.txt, applications/present3D/Cluster.cpp, - examples/osgQtBrowser/QGraphicsViewAdapter.cpp, - examples/osgautocapture/CMakeLists.txt, - examples/osgcluster/broadcaster.cpp, - examples/osgintrospection/osgintrospection.cpp, include/osg/Math, - include/osgPresentation/AnimationMaterial, - src/osgDB/DynamicLibrary.cpp, src/osgDB/Registry.cpp, - src/osgPlugins/dxf/DXFWriterNodeVisitor.h, - src/osgSim/LightPointNode.cpp, src/osgUtil/ShaderGen.cpp: From - Mathias Froechlich, "Attached the collected fixes I needed to - compile with all of them. - Most notable the __hpux define stuff. The __hpux__ variant seems - to be not - defined which resulted in a compile error at this time. - Consequently I have - replaced all occurances of __hpux__ with __hpux. And huge - surprise: now osg - plugins are found and loaded correctly ... - The next notable one is the MSVC_IDE fix which makes the nmake - Makefiles cmake - generator target behave like the ide one. Showed up because I - started to do - scripted builds with nmake instead of devenv... - The rest is the usual bunch of stuff that just happens during - normal - coding ..." - -2009-11-18 11:26 robert - - * src/osgWrappers/osg/DisplaySettings.cpp, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/Shader.cpp, src/osgWrappers/osg/State.cpp, - src/osgWrappers/osgAnimation/Action.cpp, - src/osgWrappers/osgAnimation/ActionVisitor.cpp, - src/osgWrappers/osgAnimation/Bone.cpp, - src/osgWrappers/osgAnimation/MorphGeometry.cpp, - src/osgWrappers/osgAnimation/RigGeometry.cpp, - src/osgWrappers/osgAnimation/Skeleton.cpp, - src/osgWrappers/osgAnimation/Skinning.cpp, - src/osgWrappers/osgAnimation/StatsVisitor.cpp, - src/osgWrappers/osgAnimation/UpdateCallback.cpp, - src/osgWrappers/osgText/Font.cpp: Updated wrappers - -2009-11-18 11:25 robert - - * include/osg/Shader, src/osg/Shader.cpp: Added - osg::ShaderBinary::readShaderBinaryFile(..) static method - -2009-11-17 15:54 robert - - * src/osg/State.cpp, src/osg/StateSet.cpp, - src/osgUtil/SceneView.cpp: Moved across to use - OSG_FIXED_FUNCTION_AVAILABLE - -2009-11-17 14:06 robert - - * include/osg/AudioStream, include/osg/NodeTrackerCallback, - include/osgGA/NodeTrackerManipulator, include/osgWidget/Util, - src/osg/GraphicsContext.cpp, src/osg/Notify.cpp, - src/osgAnimation/StatsHandler.cpp, src/osgDB/DatabasePager.cpp, - src/osgPlugins/OpenFlight/expPrimaryRecords.cpp, - src/osgPresentation/PickEventHandler.cpp, - src/osgShadow/ConvexPolyhedron.cpp, src/osgText/String.cpp, - src/osgUtil/DelaunayTriangulator.cpp, - src/osgUtil/IncrementalCompileOperation.cpp, - src/osgUtil/Optimizer.cpp, src/osgUtil/SceneView.cpp, - src/osgUtil/Simplifier.cpp, src/osgUtil/TriStripVisitor.cpp, - src/osgUtil/TriStrip_graph_array.h, - src/osgUtil/TriStrip_tri_stripper.h, src/osgViewer/View.cpp, - src/osgWidget/Box.cpp: , and - includes required for QNX compiler - -2009-11-17 12:55 robert - - * CMakeLists.txt, examples/CMakeLists.txt, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/png/CMakeLists.txt, - src/osgPlugins/png/ReaderWriterPNG.cpp: Added - OSG_CPP_EXCEPTIONS_AVAILABLE cmake option to enable optional - build of plugins and examples that required C++ exceptions - -2009-11-17 12:54 robert - - * src/osgPlugins/ive/AlphaFunc.cpp, - src/osgPlugins/ive/AnimationPath.cpp, - src/osgPlugins/ive/AnimationPathCallback.cpp, - src/osgPlugins/ive/AnisotropicLighting.cpp, - src/osgPlugins/ive/AutoTransform.cpp, - src/osgPlugins/ive/AzimElevationSector.cpp, - src/osgPlugins/ive/AzimSector.cpp, - src/osgPlugins/ive/Billboard.cpp, - src/osgPlugins/ive/BlendColor.cpp, - src/osgPlugins/ive/BlendEquation.cpp, - src/osgPlugins/ive/BlendFunc.cpp, - src/osgPlugins/ive/BlinkSequence.cpp, - src/osgPlugins/ive/BumpMapping.cpp, - src/osgPlugins/ive/Camera.cpp, src/osgPlugins/ive/CameraView.cpp, - src/osgPlugins/ive/Cartoon.cpp, src/osgPlugins/ive/ClipNode.cpp, - src/osgPlugins/ive/ClipPlane.cpp, - src/osgPlugins/ive/ClusterCullingCallback.cpp, - src/osgPlugins/ive/ColorMask.cpp, - src/osgPlugins/ive/CompositeLayer.cpp, - src/osgPlugins/ive/ConeSector.cpp, - src/osgPlugins/ive/ConvexPlanarOccluder.cpp, - src/osgPlugins/ive/ConvexPlanarPolygon.cpp, - src/osgPlugins/ive/CoordinateSystemNode.cpp, - src/osgPlugins/ive/CullFace.cpp, - src/osgPlugins/ive/DOFTransform.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/Depth.cpp, - src/osgPlugins/ive/DirectionalSector.cpp, - src/osgPlugins/ive/DrawArrayLengths.cpp, - src/osgPlugins/ive/DrawArrays.cpp, - src/osgPlugins/ive/DrawElementsUByte.cpp, - src/osgPlugins/ive/DrawElementsUInt.cpp, - src/osgPlugins/ive/DrawElementsUShort.cpp, - src/osgPlugins/ive/Drawable.cpp, src/osgPlugins/ive/Effect.cpp, - src/osgPlugins/ive/ElevationSector.cpp, - src/osgPlugins/ive/EllipsoidModel.cpp, - src/osgPlugins/ive/Exception.h, src/osgPlugins/ive/FadeText.cpp, - src/osgPlugins/ive/Fog.cpp, - src/osgPlugins/ive/FragmentProgram.cpp, - src/osgPlugins/ive/FrontFace.cpp, src/osgPlugins/ive/Geode.cpp, - src/osgPlugins/ive/Geometry.cpp, src/osgPlugins/ive/Group.cpp, - src/osgPlugins/ive/HeightFieldLayer.cpp, - src/osgPlugins/ive/Image.cpp, src/osgPlugins/ive/ImageLayer.cpp, - src/osgPlugins/ive/ImageSequence.cpp, - src/osgPlugins/ive/Impostor.cpp, src/osgPlugins/ive/LOD.cpp, - src/osgPlugins/ive/Layer.cpp, src/osgPlugins/ive/Light.cpp, - src/osgPlugins/ive/LightModel.cpp, - src/osgPlugins/ive/LightPoint.cpp, - src/osgPlugins/ive/LightPointNode.cpp, - src/osgPlugins/ive/LightSource.cpp, - src/osgPlugins/ive/LineStipple.cpp, - src/osgPlugins/ive/LineWidth.cpp, src/osgPlugins/ive/Locator.cpp, - src/osgPlugins/ive/Material.cpp, - src/osgPlugins/ive/MatrixTransform.cpp, - src/osgPlugins/ive/MultiSwitch.cpp, - src/osgPlugins/ive/MultiTextureControl.cpp, - src/osgPlugins/ive/Multisample.cpp, src/osgPlugins/ive/Node.cpp, - src/osgPlugins/ive/Object.cpp, - src/osgPlugins/ive/OccluderNode.cpp, - src/osgPlugins/ive/OcclusionQueryNode.cpp, - src/osgPlugins/ive/PagedLOD.cpp, src/osgPlugins/ive/Point.cpp, - src/osgPlugins/ive/PointSprite.cpp, - src/osgPlugins/ive/PolygonMode.cpp, - src/osgPlugins/ive/PolygonOffset.cpp, - src/osgPlugins/ive/PolygonStipple.cpp, - src/osgPlugins/ive/PositionAttitudeTransform.cpp, - src/osgPlugins/ive/PrimitiveSet.cpp, - src/osgPlugins/ive/Program.cpp, src/osgPlugins/ive/ProxyNode.cpp, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/ive/Scissor.cpp, src/osgPlugins/ive/Scribe.cpp, - src/osgPlugins/ive/Sequence.cpp, - src/osgPlugins/ive/ShadeModel.cpp, src/osgPlugins/ive/Shader.cpp, - src/osgPlugins/ive/Shape.cpp, - src/osgPlugins/ive/ShapeAttributeList.cpp, - src/osgPlugins/ive/ShapeDrawable.cpp, - src/osgPlugins/ive/SpecularHighlights.cpp, - src/osgPlugins/ive/StateSet.cpp, src/osgPlugins/ive/Stencil.cpp, - src/osgPlugins/ive/Switch.cpp, - src/osgPlugins/ive/SwitchLayer.cpp, - src/osgPlugins/ive/TerrainTile.cpp, - src/osgPlugins/ive/TexEnv.cpp, - src/osgPlugins/ive/TexEnvCombine.cpp, - src/osgPlugins/ive/TexGen.cpp, src/osgPlugins/ive/TexGenNode.cpp, - src/osgPlugins/ive/TexMat.cpp, src/osgPlugins/ive/Text.cpp, - src/osgPlugins/ive/Text3D.cpp, src/osgPlugins/ive/Texture.cpp, - src/osgPlugins/ive/Texture1D.cpp, - src/osgPlugins/ive/Texture2D.cpp, - src/osgPlugins/ive/Texture3D.cpp, - src/osgPlugins/ive/TextureCubeMap.cpp, - src/osgPlugins/ive/TextureRectangle.cpp, - src/osgPlugins/ive/Transform.cpp, src/osgPlugins/ive/Uniform.cpp, - src/osgPlugins/ive/VertexProgram.cpp, - src/osgPlugins/ive/Viewport.cpp, - src/osgPlugins/ive/VisibilityGroup.cpp, - src/osgPlugins/ive/Volume.cpp, - src/osgPlugins/ive/VolumeCompositeLayer.cpp, - src/osgPlugins/ive/VolumeCompositeProperty.cpp, - src/osgPlugins/ive/VolumeImageLayer.cpp, - src/osgPlugins/ive/VolumeLayer.cpp, - src/osgPlugins/ive/VolumeLocator.cpp, - src/osgPlugins/ive/VolumePropertyAdjustmentCallback.cpp, - src/osgPlugins/ive/VolumeScalarProperty.cpp, - src/osgPlugins/ive/VolumeSwitchProperty.cpp, - src/osgPlugins/ive/VolumeTile.cpp, - src/osgPlugins/ive/VolumeTransferFunctionProperty.cpp: Converted - .ive plugin from using C++ exceptions to using a local - equivelant, enabling the build on embedded systems. - -2009-11-17 11:36 robert - - * src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp: Removed usage of - throw - -2009-11-16 17:50 robert - - * src/osg/Shader.cpp: Fixed Shader constructor - -2009-11-16 16:09 robert - - * src/osgPlugins/stl/ReaderWriterSTL.cpp: Replaced catch usage - -2009-11-16 15:47 robert - - * src/osgPlugins/ac/ac3d.cpp: Removed catch - -2009-11-16 15:17 robert - - * src/osgUtil/TriStrip_graph_array.h, - src/osgUtil/TriStrip_heap_array.h, - src/osgUtil/TriStrip_tri_stripper.cpp: Removed throw. - -2009-11-16 14:58 robert - - * src/osg/BufferObject.cpp, src/osg/Texture.cpp: Removed throw. - -2009-11-16 14:47 robert - - * src/osg/BufferObject.cpp, src/osg/Image.cpp, src/osg/Texture.cpp, - src/osgUtil/TriStripVisitor.cpp, - src/osgUtil/TriStrip_tri_stripper.cpp, - src/osgUtil/TriStrip_tri_stripper.h: Removed usaged of throw and - catch to enable better compatibility with embedded systems that - don't support C++ exceptions efficiently. - -2009-11-16 12:32 robert - - * include/osg/Shader, src/osg/Shader.cpp: Added new - osg::ShaderBinary class, and support for it in osg::Shader. - -2009-11-13 13:52 robert - - * examples/osganimationhardware/osganimationhardware.cpp: From - Cedric Pinson, "After fixing Skeleton, i introduce a compile - issue in - osganimationhardware example - I added a #include to fix it - " - -2009-11-13 13:42 robert - - * src/osg/ArrayDispatchers.cpp: Moved the GLBeginEndAdapter support - out of the blocks of the "#if - defined(OSG_GL_VERTEX_FUNCS_AVAILABLE) && - !defined(OSG_GLES1_AVAILABLE)" guarded blocks. - - Fixed the number of components being passed as - GLBeginEndAdatper::TexCoord*fv. - -2009-11-13 13:39 cedricpinson +Thu, 21 Nov 2013 14:08:01 +0000 +Checked in by : Robert Osfield +From Farshid Lashkari, " recently encountered an issue attempting to load an IVE file generated by an older version of OSG. The file contained dxt1 compressed image data with mipmaps. The loaded model would cause crashes when passing the mipmap data to glCompressedTexImage2D. It seems that the size of the data array within the IVE file did not match the computed size from Image::getTotalSizeInBytesIncludingMipmaps(). This essentially made the mipmap offsets invalid within the Image object.I'm not sure if the IVE was simply generated incorrectly, or if the Image::getTotalSizeInBytesIncludingMipmaps() was modified since the file was generated. Either way, I added a simple check in the IVE loader so that it clears the mipmap offsets if the actual data size does not match the computed data size. This seems like a safe fallback since the mipmap data can be automatically generated, and it fixes the problem in my case. - * include/osgAnimation/Skeleton, src/osgAnimation/Skeleton.cpp: - From Cedric Pinson, Fix Skeleton to compute correctly bind - matrix, fix compile issue on osganimationhardware after fixing - Skeleton +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. +" -2009-11-13 13:25 robert - * src/osg/Geometry.cpp: Added optional finer grained checks for GL - errors within Geometry::drawImplementation() to help track down - GL errors. - - Turned off the vertex attribute aliasing in ArrayDispatchers when - the GLBeginEndAdapter is used. -2009-11-13 12:51 robert +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. - * src/osgViewer/View.cpp: Added dummy StateSet at top of scene - graph when using ShaderGen to copy with subgrahs that contain no - StateSet +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. +" -2009-11-13 10:03 robert - * include/osgViewer/api/Win32/GraphicsWindowWin32, - src/osgViewer/GraphicsWindowWin32.cpp: From Paul Martz, osgViewer - Win32 GL3 context creation support -2009-11-13 09:56 robert +Thu, 21 Nov 2013 11:02:08 +0000 +Checked in by : Robert Osfield +Converted std::max to osg::maximum to fix VS2013 build error - * include/osg/GraphicsContext, include/osg/Texture: Added missing - export +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. -2009-11-12 19:39 robert +Mon, 18 Nov 2013 14:21:06 +0000 +Checked in by : Robert Osfield +From Stephan Huber, "minor ios-fixes/-enhancements* force _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC for IOS device + simulator as the test does not pick the right implementation +* fixed a small compile-bug for iphone-example +* added a check to prevent multiple realization of a GraphicsWindowIOS-object +" - * src/osg/Texture.cpp: Introduced the usage of - GL_MAX_TEXTURE_IMAGE_UNITS where support in place of the check of - GL_MAX_TEXTURE_UNITS. -2009-11-12 14:35 robert - * include/osg/GLBeginEndAdapter, src/osg/GLBeginEndAdapter.cpp, - src/osg/PrimitiveSet.cpp, src/osg/StateSet.cpp, - src/osg/Texture.cpp: Adapted GLBeginEndAdapter to use - state.drawQuad(..) rather than use it's local GL_QUADS emulation. - - Fixed to osg::Texture for GLES support. - - Added automatic GLenum mode mappings in osg::PrimitiveSet to - provide a fallback for non support glDrawArray/glDrawElement - modes. - - Added finer gained error checking during StateSet::compile(). +Mon, 18 Nov 2013 13:31:44 +0000 +Checked in by : Robert Osfield +From Stephan Huber, compile fix for OpenGL ES on iOS. -2009-11-12 12:19 robert +Mon, 18 Nov 2013 13:25:55 +0000 +Checked in by : Robert Osfield +From Stephan Huber, * GUIEventAdapter: add support for getting normalized touch points * MultiTouchTrackball: some code cleanup and support for normalized touch-points * oscdevice: receiving and sending multi-touch-events via the Cursor2D-profile from TUIO * added some documentation - * src/osgText/Text.cpp: Introdced usage of State::drawQuads +Mon, 18 Nov 2013 12:46:00 +0000 +Checked in by : Robert Osfield +Added panning and zooming functionality to transfer function UI prototype code. -2009-11-12 12:18 robert +Mon, 18 Nov 2013 12:45:04 +0000 +Checked in by : Robert Osfield +Added BoundingBox::contains(const vec_type& v, value_type epsilon) method with new epsilon parameter to make it easier to test for containment in the presence of numerical errors - * include/osg/State, src/osg/State.cpp: Introduced new - State::drawQuads(..) convinience method to help out with mapping - GL 1.x style calls to GLES2.0 compatible calls. +Fri, 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. -2009-11-12 12:14 robert - * src/osg/GLBeginEndAdapter.cpp: Fixed winding of GL_QUADS mapping -2009-11-12 12:07 robert - * examples/osggeometry/osggeometry.cpp: Improved compatibility with - GLES2 +Tue, 12 Nov 2013 14:21:00 +0000 +Checked in by : Robert Osfield +Restored the rescaleToZeroToOneRange() to address rendering issues. -2009-11-11 15:25 robert +Mon, 11 Nov 2013 10:55:51 +0000 +Checked in by : Robert Osfield +Removed unused variables - * include/osg/DisplaySettings, include/osg/GraphicsContext, - src/osg/DisplaySettings.cpp, src/osg/GraphicsContext.cpp, - src/osgViewer/View.cpp: Added glContexVersion, glContextFlags and - glContextProfileMask members to osg::GraphicsContext::Traits to - support GL3 graphics context creation. - - Moved the handling of DisplaySettings into Traits constructor. - - Added support for s/getGLContextVersion(), s/getGLContextFlags() - and s/getGLContextProfileMask() to osg::DisplaySettings. - - Added command line and env var support for setting the - GLContextVersion, GLContextFlags and GLContextProfileMask to - osg::DisplaySettings. +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. " -2009-11-11 12:04 robert +Fri, 8 Nov 2013 12:26:14 +0000 +Checked in by : Robert Osfield +Added support for assinging and display transfer functions - * src/osg/FrameBufferObject.cpp: From Paul Martz, enabled - packed_depth_stencil support for GL3 +Fri, 8 Nov 2013 12:25:35 +0000 +Checked in by : Robert Osfield +Quietened down debug messages -2009-11-11 09:15 robert +Thu, 7 Nov 2013 12:37:10 +0000 +Checked in by : Robert Osfield +Changed the LineSegmentIntersector to RayIntersector to provide more reliable intersections with flat meshes. - * src/osg/GLExtensions.cpp: Merged runtime fix for Win32 OpenGLES - build that avoids usage of wglGetProcAddress. +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 -2009-11-10 19:16 robert +Wed, 6 Nov 2013 09:50:16 +0000 +Checked in by : Robert Osfield +Re-enabled the disable of the transfer function - * src/osg/BlendColor.cpp, src/osg/BlendEquation.cpp, - src/osg/BlendFunc.cpp, src/osg/BufferObject.cpp, - src/osg/ClampColor.cpp, src/osg/Drawable.cpp, - src/osg/Multisample.cpp, src/osg/Point.cpp, src/osg/Texture.cpp, - src/osg/Texture2DArray.cpp, src/osg/Texture3D.cpp: Added - OSG_GLES2_FEATURES and OSG_GL3_FEATURES usage where appropriate +Wed, 6 Nov 2013 09:49:51 +0000 +Checked in by : Robert Osfield +Fixed handling of web cams -2009-11-10 17:01 robert +Wed, 6 Nov 2013 09:23:21 +0000 +Checked in by : Robert Osfield +Introduced a cast(T) method into the ImageUtils template functor to allow code reading images to handle casting from source data to a form that a user can use more conviently - * include/osg/FrameBufferObject, include/osg/GL, - src/osg/FrameBufferObject.cpp, src/osg/GL2Extensions.cpp, - src/osg/GLExtensions.cpp, src/osg/PointSprite.cpp, - src/osg/State.cpp, src/osg/Texture.cpp, - src/osg/TextureCubeMap.cpp, src/osg/TextureRectangle.cpp, - src/osgUtil/RenderStage.cpp: Introduced OSG_GL*_FEATURES macros - defined in include/GL that are set to 0 or 1 according to what - the assocoated version of GL is compiled against. - - Removed EXT postfix of FrameBufferObject functions, and added - support for checking non EXT versions frame buffer object GL - functions. - - Introduced usage of OSG_GL*_FEATURES to avoid some #if #else - #endif code blocks. - - Using a submissions from Paul Martz as a guide added perliminary - GL3 support to a range of OSG classes +Wed, 6 Nov 2013 09:20:35 +0000 +Checked in by : Robert Osfield +Restructed the call to avformat_open_input to provide more information. -2009-11-10 14:59 robert +Tue, 5 Nov 2013 15:23:32 +0000 +Checked in by : Robert Osfield +Fixed typo - * src/osgViewer/GraphicsWindowX11.cpp: Removed debug message +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." -2009-11-10 14:31 shuber +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. - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project +Mon, 28 Oct 2013 12:03:55 +0000 +Checked in by : Robert Osfield +From Likasz Izebski, "added support for etc2/eac compression" -2009-11-10 12:03 robert +Fri, 25 Oct 2013 15:47:41 +0000 +Checked in by : Robert Osfield +Added explict setting of the PolygonMode to over the distion mesh being toggled to wireframe. - * examples/osgvertexattributes/osgvertexattributes.cpp: Changed - default enabling of vertex attribute mapping +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. -2009-11-10 12:02 robert - * src/osg/Texture2D.cpp: Removed redundant include of GLU -2009-11-10 12:01 robert +Fri, 25 Oct 2013 14:46:37 +0000 +Checked in by : Robert Osfield +Remoed -fpermissive - * examples/osgshape/osgshape.cpp: Added enabling of lighting, and - disabling of mipmapping to help out testing of GLES2 target +Fri, 25 Oct 2013 09:02:39 +0000 +Checked in by : Robert Osfield +Fixed warning -2009-11-10 11:36 robert +Thu, 24 Oct 2013 20:22:13 +0000 +Checked in by : Robert Osfield +Fixed warning - * include/osg/GLBeginEndAdapter, src/osg/GLBeginEndAdapter.cpp: - Added support for mapping GL_QUADS, GL_QUAD_STRIP and GL_POLYGONS - to GL_TRIANGLE equivalents. +Thu, 24 Oct 2013 19:56:04 +0000 +Checked in by : Robert Osfield +Removed depreated glib call -2009-11-10 11:34 robert +Thu, 24 Oct 2013 19:32:00 +0000 +Checked in by : Robert Osfield +Fixed FileInfo self intialization bug - * src/osgViewer/View.cpp: Added the default usage of - ShaderGenVisitor to help with GLES2 testing. +Thu, 24 Oct 2013 17:43:02 +0000 +Checked in by : Robert Osfield +Fixed build problems with the OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION off -2009-11-10 11:34 robert +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)" - * src/osgViewer/Renderer.cpp: Added state.checkGLErrors() calls to - help in debugging of GLES 2 port +Thu, 24 Oct 2013 10:10:16 +0000 +Checked in by : Robert Osfield +From Stephan Huber, add support for controlling the OSXMenubarBehavior set by DisplaySettings. -2009-11-10 11:28 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 - * src/osgUtil/ShaderGen.cpp: Added disabling of modes that aren't - supported with GLES2 +Wed, 23 Oct 2013 16:17:26 +0000 +Checked in by : Robert Osfield +Added support for Group::addChild/setChild/getChild/getNumChildren. -2009-11-09 11:36 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. - * src/osg/State.cpp, src/osgUtil/RenderStage.cpp: Added GL token - mappings for standard GL errors numbers for when no GLU is - available +Added assignment of the DisplaySettings to the WindowSystemInterface in Viewer/ComppsiteViewer::realize(). -2009-11-06 18:06 robert - * src/osg/Texture.cpp: Added remapping of internal texture formats - to GL_RGBA etc when just the number of components is used i.e. - - 1 -> GL_ALPHA, - 2 -> GL_LUMINANCE_ALPHA - 3 -> GL_RGB - 4 -> GL_RGBA -2009-11-06 16:51 robert +Tue, 22 Oct 2013 18:58:15 +0000 +Checked in by : Robert Osfield +Preliminary remapping of internalFormat for GL3 core profile - * examples/osgvertexattributes/osgvertexattributes.cpp: Added - simple textured scene graph test accessible using --texture or -t - command line options. +Tue, 22 Oct 2013 16:28:20 +0000 +Checked in by : Robert Osfield +Fixed warnings -2009-11-06 16:09 robert +Tue, 22 Oct 2013 11:32:21 +0000 +Checked in by : Robert Osfield +From Colin McDonald, "The osgt/osgb file formats output a scenegraph node with the type set to "SCENE" in the file header. But if the file is stored and then extracted again from an osga archive this header info is lost, and the resulting file is just an "OBJECT". Possibly other plugin operations would have the same effect. The osgt/osgb plugin won't then return the scenegraph contents.I have updated the osgt/osgb plugin to return a node from an "OBJECT" +file." - * src/osg/Texture1D.cpp, src/osg/Texture2D.cpp, - src/osg/Texture2DArray.cpp, src/osg/Texture3D.cpp, - src/osg/TextureCubeMap.cpp, src/osg/TextureRectangle.cpp, - src/osgUtil/SceneView.cpp: Fixed build with no automatic - conversion of ref_ptr<> to C pointer -2009-11-06 16:09 robert - * examples/osganimationhardware/osganimationhardware.cpp: Fixed - build +Tue, 22 Oct 2013 11:26:45 +0000 +Checked in by : Robert Osfield +From Colin McDonald, "The osgb file reader uses seek to position within the file. But the nested stream implementation for osga archive files doesn't support seeking. So osgb files can't currently be used in an osga archive e.g. if osgdem is used to output a osgb format database it can't be packaged in an archive file, in the same manner that ive files could.I've added seek support to the osga nested stream implementation." -2009-11-06 13:53 robert - * src/osg/GLExtensions.cpp: Added dlsymb settting for QNX -2009-11-06 10:38 robert +Tue, 22 Oct 2013 11:18:28 +0000 +Checked in by : Robert Osfield +Fixed handling of osg::Program so that it's not overriden by shader composition when enabled - * src/osgViewer/GraphicsWindowX11.cpp: Cleaned up the EGL context - config set up. +Mon, 21 Oct 2013 16:35:12 +0000 +Checked in by : Robert Osfield +Added State::releaseGLObjects() and ShaderComposer::releaseGLObjects() to avoid problems with cleanup of graphics context -2009-11-06 10:31 robert +Mon, 21 Oct 2013 09:54:41 +0000 +Checked in by : Robert Osfield +Build fixes for clang - * src/osgViewer/GraphicsWindowX11.cpp: Added EGL error checking and - changed the egl context configuration settings +Fri, 18 Oct 2013 09:57:49 +0000 +Checked in by : Robert Osfield +From Farshid Lashkari, "previously discussed change to the dae loader which applies the node ID as a "dae_node_id" user value." -2009-11-05 09:28 robert +Fri, 18 Oct 2013 08:37:18 +0000 +Checked in by : Robert Osfield +From Vladimir Chebeav, fix for removal of nested callbacks - * src/osg/ArrayDispatchers.cpp: Added APIENTRY into - glColor*/glNormal* calls and specialized the calls to just GLES1 +Fri, 18 Oct 2013 07:55:26 +0000 +Checked in by : Robert Osfield +From Konstantin Matveyev, "Multiple light fix in FBX-importer" -2009-11-04 17:26 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." - * examples/CMakeLists.txt, include/osg/GL, - src/osg/ArrayDispatchers.cpp: Moved glColor/glNormal definitions - for GLES1.x from include/osg/GL to src/osg/ArrayDispatchers.cpp - to avoid import/export issues on functions. - - Fixed typo of GLES1 in disabling the build of OpenGL1.x/2.x - specific examples +Fri, 18 Oct 2013 07:31:22 +0000 +Checked in by : Robert Osfield +From Andreas Henne, "in my application I use the TrackballDragger, the ScaleAxisDragger and the TranslateAxisDragger. Unfortunately these draggers are very thin and they do not provide methods to change their visual appearance. Another problem that I noticed is that lighting on the cones and boxes of the TranslateAxisDragger and ScaleAxisDragger is incorrect when the draggers are scaled due to not normalized normals. This small patch adresses these problems, providing methods to make the draggers thicker. I have attached a zip archive containing the corresponding files and also a modified osgManipulator example that makes use of the modifications. I don't want to retain any copyright." -2009-11-04 12:17 robert +Thu, 17 Oct 2013 18:29:39 +0000 +Checked in by : Robert Osfield +Fix for error in getting the uniform block max name length, fix suggested by Christopher Fennell. - * src/osg/State.cpp: Reduced the number of aliased attributes to - fit within the basic 8 attribute location available on basic - GLES2 implementations +Thu, 17 Oct 2013 14:02:15 +0000 +Checked in by : Robert Osfield +From Stephan Huber, build fix -2009-11-04 12:14 robert +Thu, 10 Oct 2013 20:43:03 +0000 +Checked in by : Robert Osfield +Added set/get to the ImageSerializer and removed some redudent comments - * src/osg/Notify.cpp: Changed notify to output warnings and - normally messages to std::out +Thu, 10 Oct 2013 20:42:24 +0000 +Checked in by : Robert Osfield +From Pjotr Svetachov, "With the new osg::Geometry the binding for arrays now default to undefined. This breaks previously working code in osgAnimation::RigTransformHardware where the arrays got an undefined bounding and because of this the bone indices and weights were not loaded by the shader. Here is a little patch to fix this." -2009-11-04 11:03 robert +Thu, 10 Oct 2013 14:45:57 +0000 +Checked in by : Robert Osfield +From Laurens Voerman, compile fix for VisualStudio - * examples/osgvertexattributes/osgvertexattributes.cpp: Added - --simple option and associated set up of a very simple geometry - and shader scene graph +Thu, 10 Oct 2013 14:41:41 +0000 +Checked in by : Robert Osfield +Laurens Voerman, "my cmake (2.8.10.2 generating for Visual Studio 11 Win64) doesn't like include(${CMAKE_MODULE_PATH}/FindPackageHandleStandardArgs.cmake) in CMakeModules/FindLua52.cmake changing to a more common include(FindPackageHandleStandardArgs) solves my problem." -2009-11-04 11:02 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. - * src/osg/State.cpp: Enabled the vertex aliasing and - projection/modelview uniform setting by default for GLES2 and GL3 - targets +Wed, 9 Oct 2013 15:32:56 +0000 +Checked in by : Robert Osfield +Implemented preliminary readNode/readImage support in the lua plugin allow a lua script to create a scene graph as return it. -2009-11-03 16:49 robert +Mon, 7 Oct 2013 10:05:09 +0000 +Checked in by : Robert Osfield +From Stephan Huber, "attached you’ll find a bunch of fixes + enhancements for iOS and OS X based on current trunk. I incorporated + tested the submission from Colin Cochran, so his submission is not needed anymore.* fixed a bug with multi-touch and touch-id-generation on iOS and OS X. (will fix a bug reported by Colin Cochran, without ditching the existing logic) +* removed unnecessary warning-flagss when generating xcode-projects via cmake, will enable the usage of OSG_AGGRESSIVE_WARNING_FLAGS +* added support for 10.9 (OS X) +* new cmake-variable: IPHONE_VERSION_MIN, this will set the deployment-target (previously hard-coded) If you set the IPHONE_VERSION_MIN to something like 7.0 osg gets compiled also for 64bit (amd64) +* cmake defaults now to the clang compiler if IPHONE_VERSION_MIN > 4.2 +* cmake now sets some xcode-settings so the compiler uses the c++98-standard (clang defaults to c++11, w/o this I got a lot of linking errors) +* removed include-dir for avfoundation-plugin as not needed on OSX/IOS. +* enhanced the ios-example, will now show multitouch-information on a hud (similar to the osgmultitouch-example), and more importantly, will compile + link out of the box +* small enhancements for the osc-device-plugin (send only one msg for MOVE/DRAG, even if multiple msgs/event is enabled) +* better memory-handling for the zeroconf-plugin +* fixed a possible bug in the rest-http-plugin when receiving mouse-events. +* incorporated a fix from Colin Cochran "forwarded touch events are not transformed into the GL UIView“ +" - * examples/CMakeLists.txt: Disabled osgteaport for GLES1, GLES2 and - GL3 builds -2009-11-03 16:48 robert - * examples/osgforest/osgforest.cpp: Replaced glColor4fv call with - osg::State::Color(..) +Mon, 7 Oct 2013 09:33:46 +0000 +Checked in by : Robert Osfield +Cleaned up line endings -2009-11-03 16:34 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. - * applications/present3D/present3D.cpp, include/osg/ClampColor, - include/osg/GL, include/osg/TexGen, src/osg/Image.cpp, - src/osg/Texture.cpp, src/osg/TextureRectangle.cpp, - src/osgDB/DatabasePager.cpp, src/osgFX/AnisotropicLighting.cpp, - src/osgParticle/ParticleSystem.cpp, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/osg/StateSet.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp, - src/osgSim/LightPointDrawable.cpp, - src/osgSim/LightPointSpriteDrawable.cpp, src/osgText/Text.cpp, - src/osgText/Text3D.cpp, src/osgUtil/RenderStage.cpp, - src/osgUtil/SceneView.cpp, src/osgViewer/GraphicsWindowWin32.cpp: - From Paul Martz, changes for compiling against OpenGL 3.x +Fri, 4 Oct 2013 19:48:03 +0000 +Checked in by : Robert Osfield +Moved code across to use lua_userdata to manage pointer to osg::Object that is ref()/unref() -2009-11-03 15:22 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. - * examples/CMakeLists.txt: Disabled the build of plugins that - aren't supported under GLES. +Fri, 4 Oct 2013 16:29:45 +0000 +Checked in by : Robert Osfield +Added createObject() interface -2009-11-03 11:10 robert +Fri, 4 Oct 2013 16:28:49 +0000 +Checked in by : Robert Osfield +Updated version number after 3.3.0 dev release - * src/osg/GL2Extensions.cpp, src/osg/GLExtensions.cpp, - src/osg/Geometry.cpp, src/osg/StateSet.cpp, - src/osgUtil/SceneView.cpp: Fixed handling of GL function pointer - setup for GLES1/GLES2 targets - - Dropped the fixed function pipeline defaults from StateSet and - SceneView. +Thu, 3 Oct 2013 16:20:29 +0000 +Checked in by : Robert Osfield +Fixed errors in Contributors list -2009-11-01 09:51 robert - - * src/osgUtil/SceneView.cpp: Disable the default LightModel for - GLES1 and GLES2 targets +Thu, 3 Oct 2013 08:45:57 +0000 +Checked in by : Robert Osfield +From Jan Peciva, RayIntersector implementation -2009-11-01 09:04 robert +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. - * examples/osgautocapture/osgautocapture.cpp, - include/osgViewer/api/X11/GraphicsWindowX11, src/osg/Image.cpp, - src/osgViewer/GraphicsWindowX11.cpp: Fixed compile issue with - Image.cpp and osgautocapture.cpp under GLES. - - Fixed handling of EGLDisplay in EGL paths of GraphicsWindowX11 +I've modified the ObjectWrapper class to defer the prototype object +creation until if & when actually required." -2009-10-31 14:44 robert - - * src/osgViewer/PixelBufferX11.cpp: Fixed compile problem due to - name change of getGLXContext to getContext - -2009-10-30 17:16 robert - - * src/osgViewer/GraphicsWindowX11.cpp: Fixed build under GLES2 - -2009-10-30 15:17 robert - - * CMakeLists.txt, CMakeModules/OsgMacroUtils.cmake, - include/osg/ClipPlane, include/osg/GL2Extensions, - include/osg/Light, include/osg/Transform, - include/osgViewer/api/X11/GraphicsWindowX11, - include/osgViewer/api/X11/PixelBufferX11, - src/osgPlugins/osg/StateSet.cpp, - src/osgPlugins/scale/ReaderWriterSCALE.cpp, src/osgText/Font.cpp, - src/osgViewer/CMakeLists.txt, - src/osgViewer/GraphicsWindowX11.cpp, - src/osgViewer/PixelBufferX11.cpp: Added EGL support into build - system for GLES1 + GLES2. - - Added EGL support into GraphicsWindowX11. - -2009-10-30 15:16 robert - - * examples/osgautocapture/osgautocapture.cpp: Fixed for GLES1 build - -2009-10-29 16:09 cedricpinson - - * include/osgAnimation/Action, - include/osgAnimation/TimelineAnimationManager, - include/osgAnimation/UpdateCallback, - src/osgAnimation/ActionVisitor.cpp, - src/osgAnimation/StatsHandler.cpp, - src/osgAnimation/StatsVisitor.cpp: From Cedric Pinson, Fix - warning in osgAnimation, UpdateCallback. Fix bug removing - callback in Action. Fix warning Stats - -2009-10-29 09:54 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode projects - -2009-10-28 20:31 robert - - * applications/osgconv/OrientationConverter.cpp, - applications/present3D/present3D.cpp, - include/osg/FrameBufferObject, include/osg/PolygonOffset, - include/osg/Texture, - include/osgPresentation/SlideShowConstructor, - include/osgText/Font, src/osg/Image.cpp, src/osg/Texture.cpp, - src/osgFX/AnisotropicLighting.cpp, src/osgFX/Scribe.cpp, - src/osgFX/SpecularHighlights.cpp, - src/osgGA/StateSetManipulator.cpp, - src/osgManipulator/TrackballDragger.cpp, - src/osgParticle/ParticleSystem.cpp, - src/osgParticle/PrecipitationEffect.cpp, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/bsp/Q3BSPReader.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/hdr/ReaderWriterHDR.cpp, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/osg/StateSet.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp, - src/osgShadow/OccluderGeometry.cpp, src/osgShadow/ShadowMap.cpp, - src/osgShadow/SoftShadowMap.cpp, - src/osgShadow/StandardShadowMap.cpp, - src/osgSim/LightPointDrawable.cpp, - src/osgSim/LightPointSpriteDrawable.cpp, src/osgText/Font.cpp, - src/osgText/Text.cpp, src/osgText/Text3D.cpp, - src/osgUtil/RenderStage.cpp, src/osgUtil/SceneView.cpp, - src/osgUtil/ShaderGen.cpp, src/osgViewer/CMakeLists.txt, - src/osgViewer/ScreenCaptureHandler.cpp: Ported osgUtil, osgDB, - osgGA, NodeKits and plugins to compile against OpenGL ES 1.1 and - OpenGL ES 2.0. - -2009-10-28 13:31 robert - - * examples/CMakeLists.txt, examples/osganimationhardware, - examples/osganimationhardware/CMakeLists.txt, - examples/osganimationhardware/osganimationhardware.cpp, - examples/osganimationskinning/osganimationskinning.cpp, - examples/osganimationtimeline/osganimationtimeline.cpp: From - Cedric Pinson, updates to osganimation example to keep in sync - with changes with osgAnimation, and introduction of a hardware - skinning example - -2009-10-27 19:17 robert - - * src/osgDB/DatabasePager.cpp: Fixed build aginst GLES1 and GLES2 - -2009-10-27 18:07 robert - - * include/osg/GL, src/osg/Depth.cpp, src/osg/State.cpp: Fixed build - on OpenGLES-1.1 and OpenGLES-2.0 targets - -2009-10-27 15:37 cedricpinson - - * include/osgAnimation/Action, - include/osgAnimation/ActionAnimation, - include/osgAnimation/ActionBlendIn, - include/osgAnimation/ActionBlendOut, - include/osgAnimation/ActionStripAnimation, - include/osgAnimation/ActionVisitor, - include/osgAnimation/RigGeometry, - include/osgAnimation/RigTransform, - include/osgAnimation/RigTransformHardware, - include/osgAnimation/RigTransformSoftware, - include/osgAnimation/StatsVisitor, include/osgAnimation/Timeline, - include/osgAnimation/VertexInfluence, - src/osgAnimation/Action.cpp, - src/osgAnimation/ActionAnimation.cpp, - src/osgAnimation/ActionBlendIn.cpp, - src/osgAnimation/ActionBlendOut.cpp, - src/osgAnimation/ActionStripAnimation.cpp, - src/osgAnimation/ActionVisitor.cpp, src/osgAnimation/Bone.cpp, - src/osgAnimation/CMakeLists.txt, - src/osgAnimation/RigGeometry.cpp, - src/osgAnimation/RigTransformHardware.cpp, - src/osgAnimation/RigTransformSoftware.cpp, - src/osgAnimation/StatsVisitor.cpp, - src/osgAnimation/VertexInfluence.cpp: From Cedric Pinson, The - following commit include: - * Refactore of RigGeometry to support hardware skinning - * Refactore of Timeline to split Action in differents files - * Add example how to use hardware skinning - -2009-10-27 10:51 shuber - - * Xcode/OpenSceneGraph/config/osg/Config: From Stephan Huber: added - missing #define - -2009-10-25 11:52 robert - - * CMakeLists.txt, include/osg/AlphaFunc, - include/osg/ArrayDispatchers, include/osg/ClipPlane, - include/osg/Fog, include/osg/GL, include/osg/GL2Extensions, - include/osg/Light, include/osg/LineStipple, include/osg/LogicOp, - include/osg/Material, include/osg/Point, include/osg/PolygonMode, - include/osg/PolygonOffset, include/osg/PolygonStipple, - include/osg/ShadeModel, include/osg/State, include/osg/TexEnv, - include/osg/TexEnvCombine, include/osg/TexGen, - include/osg/Texture, include/osg/Texture1D, include/osg/Uniform, - src/osg/ArrayDispatchers.cpp, src/osg/ClipPlane.cpp, - src/osg/ColorMatrix.cpp, src/osg/Config.in, src/osg/Fog.cpp, - src/osg/Hint.cpp, src/osg/Image.cpp, src/osg/LightModel.cpp, - src/osg/Material.cpp, src/osg/State.cpp, src/osg/StateSet.cpp, - src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/TextureRectangle.cpp: Introduced usage of - OSG_GLES*_AVAILABLE macros to headers and .cpp's to enable - building against OpenGL ES 1.x and 2.x headers - -2009-10-25 11:46 robert - - * src/osgWrappers/osg/State.cpp: Updated wrappers - -2009-10-23 20:35 cedricpinson - - * include/osgAnimation/UpdateCallback, - src/osgAnimation/UpdateCallback.cpp: From Cedric Pinson, Simplify - update callback api in osgAnimation, the decision to link is on - the manager or user - -2009-10-23 17:27 robert - - * src/osg/Geometry.cpp: Added missing unbinds of VBO and EBO's to - Geometry::drawImplementation(..), fixing crash in - osganimationtimeline when stats were enabled - -2009-10-23 16:51 robert - - * include/osg/GL: Added includes for OpenGL ES1 and ES2. - -2009-10-23 13:19 robert - - * CMakeLists.txt, include/osg/Drawable, src/osg/AlphaFunc.cpp, - src/osg/ClipPlane.cpp, src/osg/ColorMatrix.cpp, - src/osg/DrawPixels.cpp, src/osg/Drawable.cpp, src/osg/Fog.cpp, - src/osg/FragmentProgram.cpp, src/osg/GLObjects.cpp, - src/osg/Light.cpp, src/osg/LightModel.cpp, - src/osg/LineStipple.cpp, src/osg/LogicOp.cpp, - src/osg/Material.cpp, src/osg/Point.cpp, src/osg/PointSprite.cpp, - src/osg/PolygonMode.cpp, src/osg/PolygonStipple.cpp, - src/osg/ShadeModel.cpp, src/osg/TexEnv.cpp, - src/osg/TexEnvCombine.cpp, src/osg/TexEnvFilter.cpp, - src/osg/TexGen.cpp, src/osg/TexMat.cpp, - src/osg/VertexProgram.cpp: Added CMake support for specifying - what OpenGL target and features that the OpenSceneGraph build - should use. - - Added use of the new Cmake generated #define's for optionally - compiling parts of the OpenSceneGraph's OpenGL support for the - various OpenGL targets - -2009-10-23 12:28 robert - * src/osgWrappers/osg/GLBeginEndAdapter.cpp: Updated wrappers -2009-10-23 12:24 robert +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." - * src/osg/Geometry.cpp: Fixed bug in dispatching per primitive - attributes -2009-10-23 12:22 robert - * include/osg/GLBeginEndAdapter, src/osg/ArrayDispatchers.cpp: - Added support for Vec4ubArray colour arrays +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 -2009-10-23 09:24 robert +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); + } - * src/osg/Geometry.cpp: Fixed handling of - Geometry::_internalOptimizedGeometry in the - Geometry::drawImplementation(..) + geom->setNormalArray(perVertexNormals.get(), +osg::Array::BIND_PER_VERTEX); +" -2009-10-23 08:21 shuber - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/config/osg/Config: From Stephan Huber: - updated XCode project, sensible default config-file -2009-10-22 14:40 robert +Tue, 1 Oct 2013 19:34:21 +0000 +Checked in by : Robert Osfield +Fixed build with no automatic ref_ptr<> conversion - * include/osg/GLBeginEndAdapter: Added #define for GL_TEXTURE0 as - MS gl.h header is still stuck in the nineties.... +Tue, 1 Oct 2013 19:31:48 +0000 +Checked in by : Robert Osfield +Updated AUTHORS files -2009-10-22 12:56 robert +Tue, 1 Oct 2013 19:00:02 +0000 +Checked in by : Robert Osfield +Updated ChangeLog in prep for dev release - * include/osg/GLBeginEndAdapter, - src/osgWrappers/osg/GLBeginEndAdapter.cpp, - src/osgWrappers/osg/Geometry.cpp, - src/osgWrappers/osgAnimation/AnimationManagerBase.cpp, - src/osgWrappers/osgAnimation/VertexInfluence.cpp: Fixed typo and - updated wrappers +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. -2009-10-22 12:41 robert +I've also added accessors for modes and texture, since it could be usefull in the same way. - * include/osg/Drawable: From Stephan Huber, compile fix to OSX. +All methods are const, so I think there is no side-effects." -2009-10-22 12:06 robert - * CMakeLists.txt, src/osg/Config.in: Introduced Cmake generated - #defines relevant to optionally compile parts of the OSG for - different OpenGL targets -2009-10-22 12:04 robert +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." - * include/osg/Geometry: Removed, now inappropriate, references to - glBegin/glEnd. +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: -2009-10-22 12:03 robert +« +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: - * src/osgWrappers/osg/CopyOp.cpp, - src/osgWrappers/osg/ImageSequence.cpp, - src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/StateAttributeCallback.cpp, - src/osgWrappers/osgAnimation/UpdateCallback.cpp: Updated wrappers +static std::map myHandyMap; +static bool once = true; +if(once) { ...fill myHandyMap; once = false } +... use myHandyMap; -2009-10-22 12:01 robert +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. - * include/osg/StateAttributeCallback: From Cedric Pinson, new - StateAttributeCallback replacing StateAttribute::Callback +The attached patch (inventor-plugin-multithread.patch) rectifies this +problem by: -2009-10-22 10:33 robert +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. +» +" - * include/osg/CopyOp, include/osg/ImageSequence, - include/osg/StateAttribute, include/osgAnimation/UpdateCallback, - src/osg/CMakeLists.txt, src/osg/CopyOp.cpp, - src/osg/StateAttribute.cpp, src/osg/StateSet.cpp, - src/osgAnimation/UpdateCallback.cpp, - src/osgPlugins/osg/StateAttribute.cpp: From Cedric Pinson, "Here - a patch to be able to clone stateattribute, in order to do that i - moved the StateAttribute::Callback structure to a file - StateAttributeCallback with the same behavior as NodeCallback. - " -2009-10-22 10:29 robert - * src/osg/Geometry.cpp: Removed old and now redundent code paths +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). -2009-10-22 09:08 robert +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)." - * src/osgWrappers/osg/ArrayDispatchers.cpp, - src/osgWrappers/osg/GLBeginEndAdapter.cpp, - src/osgWrappers/osgParticle/Particle.cpp: Updated wrappers -2009-10-22 08:51 robert - * include/osg/GLBeginEndAdapter, src/osg/ArrayDispatchers.cpp, - src/osg/GLBeginEndAdapter.cpp: Fixed type of - GLBeginEndAdapter::MultiTexCoord*() and VertexAttrib*(), and - fixed the internal offsets used in MultiTexCoord so it properly - used the mapping texture_unit = target - GL_TEXTURE0 +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." -2009-10-22 08:28 shuber - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project -2009-10-21 16:42 robert +Mon, 30 Sep 2013 18:32:41 +0000 +Checked in by : Robert Osfield +From Jeffrey Kinross, "I ran into an issue with case sensitivity on OS X and the OSXAVFoundation code. In CMakeList.txt there is a case sensitivity issue which a fix was posted by Robert Osfield in the users forum.I also had to rename the files OSXAvFoundationCoreVideoTexture.h and OSXAvFoundationCoreVideoTexture.cpp to OSXAVFoundationCoreVideoTexture.h and OSXAVFoundationCoreVideoTexture.cpp - * include/osg/GLBeginEndAdapter: Added Translatef, Scalef, Rotatef - methods, and fixed Color4f method. +Finally in OSXAvFoundationCoreVideoTexture.cpp the include OSXAVFoundationVideo.H was updated to OSXAVFoundationVideo.h" -2009-10-21 16:41 robert - * applications/osgviewer/osgviewer.cpp: Removed redundent spaces -2009-10-21 16:40 robert +Mon, 30 Sep 2013 18:15:51 +0000 +Checked in by : Robert Osfield +From Farshid Lashkari, "I have a scene that makes heavy use of the StateSet::compare method and my profiler showed that a lot of time was being spent inside it. I made a small change to the method so that it performs a quick size comparison between the attribute/mode lists and bin mode before iterating through all the attributes. This made a noticeable improvement in my scene. I've attached the change." - * include/osgParticle/Particle, - src/osgParticle/ConnectedParticleSystem.cpp, - src/osgParticle/Particle.cpp, src/osgParticle/ParticleSystem.cpp: - Removed remaining glBegin/glEnd usage +Mon, 30 Sep 2013 10:28:14 +0000 +Checked in by : Robert Osfield -2009-10-21 16:31 robert - * src/osgText/Text.cpp, src/osgText/Text3D.cpp: Conveted osgText - across to using GLBeginEndAdapter instead og glBegin/glEnd +Fri, 27 Sep 2013 18:43:35 +0000 +Checked in by : Robert Osfield +Unified Vec/Plane/Quat handling code. -2009-10-21 16:16 robert +Fri, 27 Sep 2013 13:04:04 +0000 +Checked in by : Robert Osfield +Added support for getting Vec* and Matrix objects from Lua stack and assigning them as OSG object properties. - * src/osgSim/ImpostorSprite.cpp, src/osgSim/SphereSegment.cpp: - Converted all glBegin/glEnd code across to using - osg::GLBeginEndAdapter +Thu, 26 Sep 2013 17:27:49 +0000 +Checked in by : Robert Osfield +Initial cut of setting and getting osg::Object properties within Lua scripts -2009-10-21 15:48 robert +Tue, 24 Sep 2013 15:17:42 +0000 +Checked in by : Robert Osfield +Added support for passing parameters in and out of scripts.Implemented support for osg::ValueObject in LuaScriptEngine. - * examples/osgparticle/osgparticle.cpp: Added stats handler to - track performance effects of new GLBeginEndAdapter usage -2009-10-21 15:45 cedricpinson - * include/osgAnimation/AnimationManagerBase, - include/osgAnimation/Channel, include/osgAnimation/Skeleton, - include/osgAnimation/Skinning, - include/osgAnimation/VertexInfluence, - src/osgAnimation/Animation.cpp, - src/osgAnimation/AnimationManagerBase.cpp, - src/osgAnimation/Bone.cpp, src/osgAnimation/StatsHandler.cpp, - src/osgAnimation/Timeline.cpp, - src/osgAnimation/VertexInfluence.cpp: From Cedric Pinson, this - commit contains the following change: - * Change ref_ptr to observer_ptr to avoid cross reference and - leak in Skinning - * Set invalidate to true to re run the check visitor in Skeleton - * Shallow copy Sampler in channel copy constructor - * Add accessor in VertexInfluence - * Remove dead code in Timeline.cpp - * Dont force linking in Bone::UpdateBone, the decision is done by - the user or the manager - * Add offset in timeline stats to display each manager on the - screen - * Add a flag in animation manager base to enable or not automatic - link when modifying the manager +Tue, 24 Sep 2013 15:08:23 +0000 +Checked in by : Robert Osfield +Changed NodeVisitor so that is subclasses from osg::Object rather than osg::Referenced to enable it to be used with serialization and scripting -2009-10-21 14:14 robert +Tue, 24 Sep 2013 08:56:47 +0000 +Checked in by : Robert Osfield +Removed redundent spaces - * examples/osgvertexattributes/osgvertexattributes.cpp: Added stats - handler +Mon, 23 Sep 2013 14:10:36 +0000 +Checked in by : Robert Osfield +Added test for osgGA::GUIEventAdapter -2009-10-21 14:11 robert +Fri, 20 Sep 2013 15:43:24 +0000 +Checked in by : Robert Osfield +Removed unnceccesary setNumChildrenRequiringUpdateTraversal from VolumeTile constructor. - * src/osg/Geometry.cpp: Removed the disabling of display lists in - osg::Geometry to bring it back to it's original behaviour +Fri, 20 Sep 2013 10:44:24 +0000 +Checked in by : Robert Osfield +Added initial cut of white and black lists -2009-10-21 14:09 robert +Fri, 20 Sep 2013 10:25:23 +0000 +Checked in by : Robert Osfield +Added compoundClassName() convinience method to standardize the generation of the compoundClassName. - * include/osg/ArrayDispatchers, include/osg/State, - src/osg/ArrayDispatchers.cpp, src/osg/Geometry.cpp, - src/osgWrappers/genwrapper.conf, src/osgWrappers/osg/State.cpp: - Added support for automatic vertex aliasing to new - ArrayDispatchers, and updated wrappers +Fri, 20 Sep 2013 10:04:50 +0000 +Checked in by : Robert Osfield +Added type maps to help with querrying supported type names -2009-10-21 11:18 robert +Thu, 19 Sep 2013 16:19:32 +0000 +Checked in by : Robert Osfield +Introduce osgDB::PropetyInterface class that provided a generic interface for get/setting properties on scene graph objects, utilizing the osgDB serializers to do the actual interface query and set/gets. - * include/osg/ArrayDispatchers, include/osg/Drawable, - include/osg/State, src/osg/ArrayDispatchers.cpp, - src/osg/Geometry.cpp, src/osg/State.cpp: Moved the - ArrayDispatchers management so that osg::State now has a - ArrayDispatchers object that any osg::Geometry can reuse, - and optimized the implementation to reduce the CPU overhead. +Thu, 19 Sep 2013 16:18:20 +0000 +Checked in by : Robert Osfield +Removed unneccessary return -2009-10-20 22:14 robert +Wed, 11 Sep 2013 15:44:08 +0000 +Checked in by : Robert Osfield +Added access methods to Serializer to help with using wrappers for other purposes such as script integration.Added Vec*i and Vec*ui support to serializers - * src/osgWrappers/genwrapper.conf, src/osgWrappers/osg/State.cpp: - Updated wrappers -2009-10-20 19:34 robert - * include/osg/Array, include/osg/ArrayDispatchers, - include/osg/Drawable, include/osg/GLBeginEndAdapter, - include/osg/State, runexamples.bat, src/osg/ArrayDispatchers.cpp, - src/osg/CMakeLists.txt, src/osg/Drawable.cpp, - src/osg/GLBeginEndAdapter.cpp, src/osg/Geometry.cpp: Refactored - osg::Geometry::drawImplementation(..) to use new - osg::ArrayDispatchers that encapsulate the task - of dispatch osg::Array data as OpenGL attributes. - +Tue, 10 Sep 2013 15:17:59 +0000 +Checked in by : Robert Osfield +From Giuseppe Donvito, "I'm using OSG 320 and I need to flush a DDS 3D texture on disk. I found a bug on DDS ReaderWriter that generates a false positive on a guard for the size check on writing operation. This is due to a wrong imageSize computation that uses img->getImageSizeInBytes() method instead of img->getTotalSizeInBytes(), that actually ignores the r() dimension, contrariwise taken into account by the function ComputeImageSizeInBytes() later.The line 1062 on file ReaderWriterDDS.cpp should be fixed with: +[code]unsigned int imageSize = img->getTotalSizeInBytes();[/code] +" -2009-10-20 13:15 robert - * src/osg/State.cpp: Fixed typo of osg_ModelViewMatrix -2009-10-19 11:06 shuber +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". - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project - -2009-10-19 08:58 robert - - * src/osg/State.cpp: Fixed computation of osg_NormalMatrix +Tue, 10 Sep 2013 09:23:30 +0000 +Checked in by : Robert Osfield +Added osgPresentation::Show node and implementations with basic property reporting for various internal nodes of presentation graph -2009-10-17 19:22 robert +Mon, 9 Sep 2013 16:02:32 +0000 +Checked in by : Robert Osfield +From Wang Rui, "The Python header will look for its libraries using "#pragma comment(lib,"python32_d.lib")" for MSVC. So user-specified libraries will not really be set for the osgdb_python plugin. This small fix may help locate the Python libraries after putting the CMakeLists.txt into src/osgPlugins/python" - * include/osg/GLBeginEndAdapter, src/osg/GLBeginEndAdapter.cpp: - Added support for multitexturing and vertex attributes to - GLBeginEndAdapter - -2009-10-17 11:14 robert - - * include/osg/GLBeginEndAdapter, src/osg/State.cpp: Fixed VS - warning - -2009-10-16 18:50 robert - - * src/osgWrappers/genwrapper.conf, src/osgWrappers/osg/State.cpp: - Updated wrappers - -2009-10-16 17:22 robert - - * examples/osgcatch/osgcatch.cpp, src/osgWrappers/osg/Program.cpp, - src/osgWrappers/osg/Shader.cpp, src/osgWrappers/osg/State.cpp: - Updated wrappers - -2009-10-16 16:26 robert - - * examples/osgvertexattributes/osgvertexattributes.cpp, - include/osg/GLBeginEndAdapter, include/osg/Program, - include/osg/Shader, include/osg/State, src/osg/BufferObject.cpp, - src/osg/CMakeLists.txt, src/osg/GLBeginEndAdapter.cpp, - src/osg/Geometry.cpp, src/osg/Program.cpp, src/osg/Shader.cpp, - src/osg/ShapeDrawable.cpp, src/osg/State.cpp, - src/osgUtil/SceneGraphBuilder.cpp: Ported osg::Geometry across to - supporting the aliasing of vertex, color and normal etc. calls to - Vertex Attributes. - - Added support for automatic aliasing of vertex, normal, color - etc. arrays to Vertex Attribute equivelants. - - Added new osg::GLBeginEndAdapter class for runtime conversion - from glBegin/glEnd codes to vertex arrray equivelants. - - Added automatic shader source conversion from gl_ to osg_ - builtins. -2009-10-11 06:05 robert - * examples/osgvertexattributes/osgvertexattributes.cpp, - include/osg/State, src/osg/State.cpp, src/osgUtil/RenderLeaf.cpp, - src/osgWrappers/osg/State.cpp: Made the use of the new projection - and modelview matrix uniforms optional - -2009-10-11 05:52 robert - - * include/osg/PrimitiveSet: From Paul Martz, "A recent change to - add the new geometry shader primitive types has broken the build - on Windows. On Windows, those types are declared in the header - GL2Extensions, but the PrimitiveSet header (which uses those - types) fails to include that header, causing compile errors. - - Attached is a version of PrimitiveSet that includes - GL2Extensions." - -2009-10-10 14:50 robert - - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Updated - Contributors list to fix for typo's in the ChangeLog, and updated - the AUTHORS file for 2.9.6. - -2009-10-10 11:28 robert +Mon, 9 Sep 2013 14:58:25 +0000 +Checked in by : Robert Osfield +From Colin Cochran, OES support for point sprites - * ChangeLog, applications/osgversion/Contributors.cpp, - src/osgWrappers/osgWidget/Label.cpp: Updated ChangeLog, wrappers - and Contributors lists - -2009-10-10 11:26 robert - - * CMakeModules/FindCOLLADA.cmake: From Simon Julier, "Please find - attached FindCOLLADA.cmake with a patch for a framework naming - issue for Mac platforms. - - The collada dom Makefiles actually build a framework called - Collada14Dom.framework (debug: Collada14Dom-d.framework). The - current CMake rules, however, only look for collada14dom. - Normally, the difference in case wouldn't matter but the rule - fails on case sensitive HPFS partitions. - " - -2009-10-10 11:06 robert - - * include/osgWidget/Label, src/osgWidget/Label.cpp: From Cesar L.B. - Silveira, "I have written these few lines of code which allow - setting the label - of an osgWidget::Label with an osgText::String. I had to do this - on a - project I'm working on, because I needed UTF-8 strings on my - labels, - and using setLabel with std::string was not working. - " - -2009-10-10 11:00 robert - - * src/OpenThreads/win32/Win32Thread.cpp, - src/OpenThreads/win32/Win32ThreadPrivateData.h: From Mathias - Froehlich, "Tha attached change adapt previous attemps to get our - application using osg - through microsofts application verifier. The current change - should work a - little better ... - The change is based on rev 10605." - -2009-10-10 10:58 robert - - * src/osgViewer/StatsHandler.cpp: From Mathias Froehlich, "This - change eliminate an orphan stats block that sticks somewhere in - the - screen stats display." - -2009-10-10 10:54 robert - - * src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osg/State.cpp: Updated wrappers - -2009-10-10 10:07 robert - - * src/osg/Drawable.cpp: From David Fries, "The Extensions object - was calling _gl_get_query_objectui64v but - checking _gl_get_query_objectuiv_arb which is a different - function - pointer. Changed to check the function being called. - - This is against the subversion trunk." - -2009-10-10 10:00 robert - - * src/osgPlugins/zip/ReaderWriterZIP.cpp: From Chris Denham, "I - discovered a memory leak in the ZIP plugin, which was caused by a - missing call to CloseZip. - I attach a modified ReaderWriterZIP.cpp (based on version 2.9.5 - revision 10374). - This includes a little bit of code tidying, but the only - functional change is a test of the return value of OpenZip and - the addition of a call to CloseZip." - -2009-10-10 09:53 robert - - * examples/osgshadercompositor/CreateAdvancedHierachy.cpp, - examples/osgshadercompositor/CreateSimpleHierachy.cpp, - examples/osgshadercompositor/VirtualProgram.cpp, - examples/osgshadercompositor/osgshadercompositor.cpp: From - Wojciech Lewandowski, "ref_ptr usage changes made on 9th of June - broke VirtualProgram used in osgShaderCompositor example. Taking - the opportunity I modified the code a little to use earth sphere - as default model. Cow.osg used previously was not looking good in - advanced example. I also changed default to advanced example, - because its more informative with labels describing virtual - programs used to render the objects." - -2009-10-10 09:45 robert - - * src/osgPlugins/osg/StateSet.cpp: From Stephane Lamoliatte, "Here - is a patch wich add two missing GL modes in the osg plug'in." - -2009-10-10 09:44 robert - - * include/osg/PrimitiveSet: To fix warning removed unncessary , - from end to enum list. - -2009-10-10 09:41 robert - - * include/osg/PrimitiveSet, - src/osgPlugins/glsl/ReaderWriterGLSL.cpp, - src/osgPlugins/osg/Geometry.cpp: From Stephane Lamoliatte, "Here - is a patch wich improves the support for geometry shaders in - OpenSceneGraph. - It adds new PrimitiveSet constants for the specific geometry - shader primitive types : - - LINES_ADJACENCY - - LINE_STRIP_ADJACENCY - - TRIANGLES_ADJACENCY - - TRIANGLE_STRIP_ADJACENCY - It also adds some missing features to the glsl reader plug'in. - " +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. " -2009-10-10 09:38 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" - * CMakeModules/FindCOLLADA.cmake: From Roger James, "When you - merged my last set of changes into FindCOLLADA.cmake you omitted - the changes to find the DOM22 libraries. Collada 1.4 DOM 2.2 - seems to work OK for me on windows platforms. I have attached the - changes again if you want to apply them." +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." -2009-10-10 09:35 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 - * examples/osganimationtimeline/osganimationtimeline.cpp: From - Cedric Pinson, "Here an update of osganimationtimeline example, - the callback did not - follow the callback api, i updated to fix this, then the callback - are - called correctly." +2> Added header files to "Plugins osg" project, so visual studio can find the source of + OSG_WARN << "AsciiInputIterator::readProperty(): Unmatched property " +" -2009-10-10 09:26 robert - * src/osgWidget/Window.cpp: From Jean-Sebastien Guay, - "osgWidget::Window::setWindow() calls parented() (which does an - addChild()) on the new window, but it does not call unparented() - (which does a removeChild()) on the old window before. So it - works fine if there was no window previously, but if an app - creates new windows and calls setWindow() to replace the previous - one, they will all add up instead and be on top of each other... - - This is fixed in the file attached." -2009-10-10 09:23 robert - * src/osgPlugins/imageio/ReaderWriterImageIO.cpp: From Bob Kuehne, - "imageio plugin fix, mac os x : remove double-qualified ctor - - illegal syntax under gcc 4.2.1" +Fri, 6 Sep 2013 09:35:56 +0000 +Checked in by : Robert Osfield +Initial cut of Audio/Volume/Movie/Image presentation objects -2009-10-10 09:20 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. - * src/osgViewer/DarwinUtils.mm: From Bob Kuehne, "fix for - 10.6/darwin: this fix changes what i believe to be a typo in the - os x darwinutils file from ID to id, the proper objective-c name - for a type." +In osg/Uniform.cpp the compiler complains that base_class is unknown +unless I add a class name qualifier. -2009-10-09 13:39 robert +Not a build fix, but I spotted a typo in osgUtil/SceneView." - * examples/osgvertexattributes/osgvertexattributes.cpp, - include/osg/State, src/osg/Geometry.cpp, src/osg/State.cpp, - src/osgUtil/RenderLeaf.cpp: Introduced new uniforms for tracking - the modelview and project matrices in shaders using non - built-ins. -2009-10-09 10:39 robert - * examples/osgvertexattributes/osgvertexattributes.cpp: Added use - of binding of vertex attributes to names +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." -2009-10-08 16:23 robert +Thu, 5 Sep 2013 10:04:56 +0000 +Checked in by : Robert Osfield +Fixed warnings - * examples/osgvertexattributes/osgvertexattributes.cpp: Added - remapping of gl_ and ftransform() variables to osg_ equivalents. +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." -2009-10-08 15:58 robert +Thu, 5 Sep 2013 08:22:27 +0000 +Checked in by : Robert Osfield +Added missing Model.cpp - * examples/osgvertexattributes/osgvertexattributes.cpp: Implemented - remapping of gl_ builtins vertex attributes to osg_ equivlants. +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 -2009-10-08 14:29 robert +Wed, 4 Sep 2013 16:25:18 +0000 +Checked in by : Robert Osfield +Added PrintProperties visitor - * examples/CMakeLists.txt, examples/osgvertexattributes, - examples/osgvertexattributes/CMakeLists.txt, - examples/osgvertexattributes/osgvertexattributes.cpp: New - osgvertexattributes example designed to test conversion of fixed - function scene graphs to use vertex shaders - and vertex attributes. +Wed, 4 Sep 2013 15:39:17 +0000 +Checked in by : Robert Osfield +Added PrintPropertiesAction to osgPresentation -2009-10-08 14:13 shuber +Wed, 4 Sep 2013 10:33:11 +0000 +Checked in by : Robert Osfield +Added Action class NodeVisitor that supports osgPresentation nodes. - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/config/osg/Config: From Stephan Huber: - updated XCode project +Tue, 3 Sep 2013 15:50:28 +0000 +Checked in by : Robert Osfield +Added test for osgPresentatation::Group::getSupportedProperties() -2009-10-08 13:33 robert +Tue, 3 Sep 2013 10:17:06 +0000 +Checked in by : Robert Osfield +Added beginings of Text implementation - * src/osg/Geometry.cpp: Fixed vertex attribute access bug +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." -2009-10-08 10:44 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. - * src/osg/BufferObject.cpp, src/osg/State.cpp, src/osg/Texture.cpp: - Quitened down debug messages +Mon, 2 Sep 2013 09:12:24 +0000 +Checked in by : Robert Osfield +Fixed double copy in StackedTransform copy constructor -2009-10-08 09:27 robert +Mon, 2 Sep 2013 08:29:09 +0000 +Checked in by : Robert Osfield +Added IO test for new osgPresentation nodes - * include/osgUtil/SceneGraphBuilder, include/osgUtil/Tessellator: - Cleaned up the #define's for when GLU is not available +Sun, 1 Sep 2013 17:24:35 +0000 +Checked in by : Robert Osfield +Added Audio, Image, Movie, Model and Volume class to osgPresentation. -2009-10-08 07:54 robert +Fri, 23 Aug 2013 16:47:27 +0000 +Checked in by : Robert Osfield +Fixed build - * src/osg/BufferObject.cpp: Fixed warning +Fri, 23 Aug 2013 11:42:52 +0000 +Checked in by : Robert Osfield +Added color property to FontData parsing -2009-10-07 19:42 robert +Thu, 22 Aug 2013 13:39:36 +0000 +Checked in by : Robert Osfield +Quitened down debug message - * CMakeLists.txt, examples/CMakeLists.txt, include/osg/GLU, - include/osgUtil/SceneGraphBuilder, include/osgUtil/Tessellator, - src/osg/Config.in, src/osg/GLExtensions.cpp, src/osg/Image.cpp, - src/osg/State.cpp, src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osgPlugins/CMakeLists.txt, src/osgText/Font.cpp, - src/osgUtil/RenderStage.cpp, src/osgUtil/Tessellator.cpp: - Introduced optional build against the GLU library, using optional - compile paths to enable/disable GLU related function. - - To toggle the use of the GLU library adjust the OSG_GLU_AVAILABLE - variable via ccmake . or CMakeSetup. +Thu, 22 Aug 2013 12:37:49 +0000 +Checked in by : Robert Osfield +Removed debug messages -2009-10-07 18:50 robert +Thu, 22 Aug 2013 12:07:55 +0000 +Checked in by : Robert Osfield +Quitened down debug message - * src/osg/Texture.cpp: Fixed handling of rescale of image +Thu, 22 Aug 2013 11:18:45 +0000 +Checked in by : Robert Osfield +Quitened down debug message -2009-10-07 13:02 robert +Thu, 22 Aug 2013 10:09:21 +0000 +Checked in by : Robert Osfield +Added warning when model file has not be found - * src/osg/BufferObject.cpp, src/osg/Texture.cpp: Fixed setUsage - typo in PixelDataBufferObject, and fixed data pointer management - in Texture::applyTexImage2D_subload(). +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 -2009-10-07 12:54 robert +Thu, 22 Aug 2013 07:49:22 +0000 +Checked in by : Robert Osfield +Added test for serializers and fixed serializers - * src/osg/BufferObject.cpp: From J.P. Delport, fixed bug caused by - a typo in PixelBufferObject constructor +Wed, 21 Aug 2013 19:54:03 +0000 +Checked in by : Robert Osfield +Added initial classes for present3D refactor -2009-10-07 09:39 robert +Sun, 18 Aug 2013 18:10:39 +0000 +Checked in by : Robert Osfield +Moved old osgPresentation source files to osgPresentation/deprecated subdirectory. - * include/osg/BufferObject, src/osg/BufferObject.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/Texture.cpp: Fixed warnigns +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 -2009-10-06 13:42 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. - * include/osg/BufferObject, include/osg/Texture, - src/osg/BufferObject.cpp, src/osg/Texture.cpp, - src/osg/Texture1D.cpp, src/osg/Texture2DArray.cpp, - src/osg/Texture3D.cpp, src/osg/TextureCubeMap.cpp, - src/osg/TextureRectangle.cpp: Fixed the TextureObject's + - GLBufferObject reassignment to a new set. - - Disabled the unref after apply for a Texture classes when the - texture pool is enabled -2009-10-06 09:28 robert - * src/osg/Geometry.cpp: Refactored the ::getOrCreate*Object() - methods to clean them up and fix a bug in the - getOrCreateElementsBuffers method. +Fri, 9 Aug 2013 11:00:55 +0000 +Checked in by : Robert Osfield +Removed CameraNode reference -2009-10-05 13:41 robert +Fri, 9 Aug 2013 07:46:22 +0000 +Checked in by : Robert Osfield +Removed unused includes - * src/osg/ShapeDrawable.cpp: From Andreas Goebel, fix to bug in - ShapeDrawable::accept(PrimitiveFunctor) implementation for - cylinder +Fri, 9 Aug 2013 07:38:32 +0000 +Checked in by : Robert Osfield +Removed old cursor code -2009-10-04 08:52 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 - * include/osg/BufferObject: Added missing export +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 -2009-10-03 15:10 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. - * src/osgUtil/SceneView.cpp: Removed erroneous inclusion of extra - GLBufferObjectManager qualifier that broke Windows build -2009-10-03 09:25 robert - * include/osg/BufferObject, include/osg/DisplaySettings, - include/osg/State, include/osg/Texture, src/osg/BufferObject.cpp, - src/osg/DisplaySettings.cpp, src/osg/GLObjects.cpp, - src/osg/State.cpp, src/osg/Texture.cpp, - src/osgUtil/SceneView.cpp, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/StatsHandler.cpp, src/osgViewer/Viewer.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/DisplaySettings.cpp, - src/osgWrappers/osg/State.cpp: Introduced new GLBufferObject pool - for managing the memory footprint taken up by VertexBufferObejct, - ElementBufferObject and PixelBufferObject. +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." -2009-10-01 20:19 robert - * examples/osgparametric/osgparametric.cpp, - examples/osgscreencapture/osgscreencapture.cpp, - include/osg/Array, include/osg/BufferObject, include/osg/Image, - include/osg/PrimitiveSet, include/osg/State, - src/osg/BufferObject.cpp, src/osg/GLObjects.cpp, - src/osg/Geometry.cpp, src/osg/Image.cpp, - src/osg/PrimitiveSet.cpp, src/osg/Texture.cpp, - src/osg/TextureRectangle.cpp, - src/osgPlugins/ive/DrawElementsUByte.cpp, - src/osgPlugins/ive/DrawElementsUInt.cpp, - src/osgPlugins/ive/DrawElementsUShort.cpp, - src/osgViewer/ScreenCaptureHandler.cpp, - src/osgWrappers/genwrapper.conf, src/osgWrappers/osg/Array.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osg/State.cpp: Introduced new BufferObject design - + implementation in preperation of implementing a pool system for - buffer objects -2009-10-01 17:08 cedricpinson +Thu, 1 Aug 2013 17:38:34 +0000 +Checked in by : Robert Osfield +Added missing initializer for _epsilon - * include/osgAnimation/Target, src/osgAnimation/MorphGeometry.cpp: - From Michael Platings, In Target, the default constructor is - explicitly called on _target. This is necessary for FloatTarget - and DoubleTarget so that _target is initialised to 0, otherwise - you get a junk value. In MorphGeometry.cpp, UpdateMorph::link now - links channels of the same index to the same target. Previously a - new FloatTarget was created for each channel, so multiple - animations didn't work. +Thu, 1 Aug 2013 11:25:02 +0000 +Checked in by : Robert Osfield +From Anish Thomas, added catch for to an empty DrawElementsUInt creation. -2009-09-27 15:21 robert +Thu, 1 Aug 2013 10:38:02 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and AUTHORS file - * src/osg/Texture.cpp: Fixed warning about max texture size being - smaller than the currently used texture pool size +Thu, 1 Aug 2013 10:28:12 +0000 +Checked in by : Robert Osfield +From Ulrich Hertlein, "Based on the exchange on osg-users I went ahead and reworked shp/XBaseParser to avoid weird behaviour (closing stdin) and leaking file descriptors, as well as some const-ness." -2009-09-27 15:14 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 - * include/osg/Texture, src/osg/Texture.cpp, - src/osgWrappers/osg/Texture.cpp: Added handling of resetting of - the texture object format - -2009-09-27 14:38 robert - - * src/osg/Texture1D.cpp, src/osg/Texture2DArray.cpp, - src/osg/Texture3D.cpp, src/osg/TextureCubeMap.cpp, - src/osg/TextureRectangle.cpp: Added status collection to full - range of texture classes - -2009-09-26 16:28 robert - - * src/osg/Texture.cpp, src/osg/Texture2D.cpp, - src/osgUtil/SceneView.cpp, src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osg/Timer.cpp: Improved the computation of the - TextureProfile _size value, fixed the computation up of the - miplevels - -2009-09-25 18:05 robert - - * include/osg/Texture, include/osg/Timer, src/osg/Texture.cpp, - src/osg/Texture2D.cpp, src/osgUtil/SceneView.cpp: Added stats - collection to new Texture Pool code, and improved TexturePool - implementation. - - The Texture Pool can be enabled by setting the env var - OSG_TEXTURE_POOL_SIZE=size_in_bytes. - Note, setting a size of 1 will result in the TexturePool - allocating the minimum number of - textures it can without having to reuse TextureObjects from - within the same frame. - -2009-09-25 18:03 robert - - * include/osgAnimation/UpdateCallback: Fixed warning -2009-09-24 10:11 robert - - * src/osgVolume/RayTracedTechnique.cpp: Added return at end of to - fix warning - -2009-09-23 15:16 robert - - * include/osg/Texture, include/osg/Version: From Jean-Sebastien - Guay, fixed Widows build and updated the SO version - -2009-09-23 14:54 robert - - * src/osg/State.cpp, src/osgUtil/SceneView.cpp: Moved setting of - TexturePoolSize into State. - -2009-09-23 13:51 robert - - * include/osg/Texture, src/osg/Texture.cpp, - src/osgUtil/SceneView.cpp, src/osgWrappers/osg/Texture.cpp: - Introduced memory pool size management +float cos_yaw = cosf(osg::inDegrees(yaw)); +float sin_yaw = sinf(osg::inDegrees(yaw)); -2009-09-22 18:45 robert +to be +float cos_yaw = cosf(osg::inDegrees(-yaw)); +float sin_yaw = sinf(osg::inDegrees(-yaw)); - * include/osg/DisplaySettings, include/osg/State, - include/osg/Texture, src/osg/DisplaySettings.cpp, - src/osg/FrameBufferObject.cpp, src/osg/State.cpp, - src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2D.cpp, src/osg/Texture2DArray.cpp, - src/osg/Texture3D.cpp, src/osg/TextureCubeMap.cpp, - src/osg/TextureRectangle.cpp, src/osgText/Font.cpp, - src/osgUtil/SceneView.cpp, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/Renderer.cpp, src/osgViewer/Viewer.cpp, - src/osgWrappers/osg/DisplaySettings.cpp, - src/osgWrappers/osg/State.cpp, src/osgWrappers/osg/Texture.cpp: - Preliminary work on support for a texture object pool that is - designed to help manage resources down the GPU more tightly. +it seems to work as well." -2009-09-20 09:26 robert - * src/osgPlugins/dicom/CMakeLists.txt: Change win32 external - library to wsock32.lib -2009-09-19 09:18 robert - * src/osgPlugins/dicom/CMakeLists.txt: Added Ws2_32.lib to link of - dicom plugin under Win32 +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)." -2009-09-17 13:40 robert +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. - * examples/CMakeLists.txt, examples/osgQtBrowser, - examples/osgQtBrowser/CMakeLists.txt, - examples/osgQtBrowser/QGraphicsViewAdapter.cpp, - examples/osgQtBrowser/QGraphicsViewAdapter.h, - examples/osgQtBrowser/QWebViewImage.cpp, - examples/osgQtBrowser/QWebViewImage.h, - examples/osgQtBrowser/osgQtBrowser.cpp: Introduced new - osgQtBrowser example. +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 -2009-09-14 16:07 robert +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" - * src/osgWrappers/osgAnimation/Action.cpp, - src/osgWrappers/osgAnimation/ActionCallback.cpp, - src/osgWrappers/osgAnimation/ActionVisitor.cpp, - src/osgWrappers/osgAnimation/AnimationManager.cpp, - src/osgWrappers/osgAnimation/AnimationManagerBase.cpp, - src/osgWrappers/osgAnimation/BoneMapVisitor.cpp, - src/osgWrappers/osgAnimation/Channel.cpp, - src/osgWrappers/osgAnimation/ComputeBindMatrixVisitor.cpp, - src/osgWrappers/osgAnimation/FindParentAnimationManagerVisitor.cpp, - src/osgWrappers/osgAnimation/FrameAction.cpp, - src/osgWrappers/osgAnimation/StatsHandler.cpp, - src/osgWrappers/osgAnimation/StatsVisitor.cpp, - src/osgWrappers/osgAnimation/Target.cpp, - src/osgWrappers/osgAnimation/removed.gw: Updated wrappers +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." -2009-09-11 13:08 robert +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. - * src/osg/TransferFunction.cpp, - src/osgVolume/RayTracedTechnique.cpp: Fixed bug in interpolation - of colour values +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. -2009-09-10 16:39 robert +Tue, 30 Jul 2013 06:36:49 +0000 +Checked in by : Robert Osfield +Removed trailing spaces - * src/osgPlugins/p3d/ReaderWriterP3D.cpp: Added tf-255 option to - volume tag +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 -2009-09-09 18:13 cedricpinson +Wed, 24 Jul 2013 17:30:46 +0000 +Checked in by : Robert Osfield +Changed default of serialize draw to off - * include/osgAnimation/Channel: From Cedric Pinson, Fix - createKeyframeContainerFromTargetValue to recreate its sampler - from scratch to not change keyframe container of another sampler +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. -2009-09-09 15:22 robert +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 - * src/osgVolume/Layer.cpp: Added reset of the ImageDetails values - of TexelOffset and TexelScale. +Wed, 24 Jul 2013 12:51:13 +0000 +Checked in by : Robert Osfield +Updated NEWS from OSG-3.2 branch -2009-09-09 13:31 robert +Wed, 24 Jul 2013 12:48:59 +0000 +Checked in by : Robert Osfield +Fixed warning - * src/osgPlugins/osgVolume/ImageLayer.cpp: Added support for using - the ImageDetails to fill in the Locator and TexelScale/Offset - values in the ImageLayer +Wed, 24 Jul 2013 12:25:18 +0000 +Checked in by : Robert Osfield +Updated SO version for post 3.2 era. -2009-09-09 13:23 robert +Wed, 24 Jul 2013 12:17:06 +0000 +Checked in by : Robert Osfield +Added getCallbacks() methods - * applications/present3D/present3D.cpp: Added support for "--output - filename.osg" command line option to avoid debugging of generated - presentations +Tue, 23 Jul 2013 18:11:35 +0000 +Checked in by : Robert Osfield +From Rocco Martino, build fix for compiling against ffmpeg/trunk -2009-09-09 09:54 cedricpinson +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 - * include/osgAnimation/AnimationManager, - src/osgAnimation/AnimationManager.cpp: From Cedric Pinson, remove - unsused files include/osgAnimation/AnimationManager and - src/osgAnimation/AnimationManager.cpp +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(..) -2009-09-09 09:52 cedricpinson +Tue, 23 Jul 2013 09:54:25 +0000 +Checked in by : Robert Osfield +Fixed crash when open(..) returns an error. - * include/osgAnimation/AnimationManagerBase, - include/osgAnimation/Channel, include/osgAnimation/CubicBezier, - include/osgAnimation/Target, - src/osgAnimation/AnimationManagerBase.cpp, - src/osgAnimation/BasicAnimationManager.cpp, - src/osgAnimation/CMakeLists.txt, - src/osgAnimation/TimelineAnimationManager.cpp: From Michael - Platings, I have removed Target::normalize() as calling it was - incorrect - the interpolation is already done in such a way that - the Target's value is always normalized. - Finally, I have fixed TemplateTarget::lerp() as it was - giving incorrect results when interpolating between some small - rotations. - From Cedric Pinson, i renamed the method in channel to be more - general. Adjusted the CubicBezier key constructor to use a single - value as input. +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). +" -2009-09-08 15:36 robert - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgVolume/RayTracedTechnique.cpp: Tweaked debugging info -2009-09-08 15:36 robert - * src/osgPresentation/SlideShowConstructor.cpp: Fixed the set up of - osgVolume::ImageLayer scale and offset. - -2009-09-07 12:51 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Added filter for - .filename files - -2009-09-07 12:21 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - updated XCode project +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." -2009-09-07 10:54 robert +Mon, 22 Jul 2013 10:15:59 +0000 +Checked in by : Robert Osfield +Added FRAME_BUFFER_OBJECT enum - * src/osgPresentation/SlideShowConstructor.cpp: Updated volume - setup code to use the new ImageDetails structure. - -2009-09-07 10:50 robert - - * src/osgVolume/RayTracedTechnique.cpp: Added check for null - masterLocator +Mon, 22 Jul 2013 10:15:44 +0000 +Checked in by : Robert Osfield +Updated OpenThreads version -2009-09-07 08:30 robert +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 - * src/osgVolume/RayTracedTechnique.cpp: Fixed assingment of - layerLocator +"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]." -2009-09-04 09:11 robert +I added the missing lines and tested it with OSG 3.1.9 and iOS SDK 6.1." - * examples/osgbrowser/osgbrowser.cpp: Fixed empty lines -2009-09-03 14:39 robert - * src/osgVolume/Layer.cpp, src/osgVolume/RayTracedTechnique.cpp, - src/osgVolume/Shaders/volume_lit_tf_frag.cpp, - src/osgVolume/Shaders/volume_tf_frag.cpp, - src/osgVolume/Shaders/volume_tf_iso_frag.cpp, - src/osgVolume/Shaders/volume_tf_mip_frag.cpp: Added scaling of - shader transfer function input values to honour original dicom - input values -2009-09-03 13:40 robert +Fri, 19 Jul 2013 20:59:09 +0000 +Checked in by : Robert Osfield +Added default setting of BIND_PER_VERTEX when applying Geometry::setTexCoordArray() - * examples/osgvolume/osgvolume.cpp, include/osgVolume/Layer, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgVolume/Layer.cpp, src/osgVolume/RayTracedTechnique.cpp, - src/osgWrappers/osgVolume/Layer.cpp: Renamed the - osgVolume::Layer/ImageDetails parameters RescaleIntercept and - RescaleSlope to more general TexelOffset and TexelScale, and - changed type to Vec4. - - Refactored the transfer function set up in RayTracedTechnique to - prepare for new scale and offset uniforms. - - Updated wrappers - -2009-09-01 10:48 robert - - * examples/osgvolume/osgvolume.cpp, include/osgVolume/Layer, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgVolume/Layer.cpp: Added support for recording the - RescaleIntecept and RescaleSlope from the dicome files and - passing these values onto osgVolume::ImageLayer - -2009-08-31 15:10 robert - - * src/osgWrappers/osgAnimation/Animation.cpp, - src/osgWrappers/osgAnimation/AnimationManagerBase.cpp, - src/osgWrappers/osgAnimation/Bone.cpp, - src/osgWrappers/osgAnimation/Channel.cpp, - src/osgWrappers/osgAnimation/LinkVisitor.cpp, - src/osgWrappers/osgAnimation/Target.cpp, - src/osgWrappers/osgAnimation/Timeline.cpp, - src/osgWrappers/osgAnimation/UpdateCallback.cpp: Updated wrappers - -2009-08-31 10:37 cedricpinson - - * include/osgAnimation/BoneMapVisitor, - include/osgAnimation/ComputeBindMatrixVisitor, - include/osgAnimation/FindParentAnimationManagerVisitor, - src/osgAnimation/BoneMapVisitor.cpp, - src/osgAnimation/FindParentAnimationManagerVisitor.cpp: From - Cedric Pinson, add missing files - -2009-08-31 09:40 cedricpinson - - * include/osgAnimation/Action, include/osgAnimation/ActionVisitor, - include/osgAnimation/Bone, include/osgAnimation/LinkVisitor, - include/osgAnimation/Target, src/osgAnimation/Action.cpp, - src/osgAnimation/ActionVisitor.cpp, src/osgAnimation/Bone.cpp, - src/osgAnimation/CMakeLists.txt, src/osgAnimation/Target.cpp, - src/osgAnimation/Timeline.cpp, - src/osgAnimation/UpdateCallback.cpp: From Cedric Pinson, The - following modification are - Update Timeline.cpp to add current layer to the ActionVisitor, - use correctly the priority - Add accessors in Action.cpp to retrieve protected data - Split files and rename them to classname - Change de default color of UpdateMaterial to FFOOFF to detect - unset value - Add accessors in LinkVisitor instead of accessing data directly - Update osganimationtimeline example to fit the api callback - -2009-08-27 19:25 robert - - * src/osgTerrain/Locator.cpp, src/osgVolume/Locator.cpp: Fixed the - compute of the extents/bounding sphere - -2009-08-27 16:42 robert - - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added support to - .p3d format's volume tag for the properties: - - region="xmin ymin zmin xmax ymax zmax" - alpha="float_value" - cutoff="float_value" - sampleDenstiy="float_value" - -2009-08-27 16:21 cedricpinson - - * include/osgAnimation/Bone, include/osgAnimation/Skeleton, - src/osgAnimation/Bone.cpp, src/osgAnimation/Skeleton.cpp: From - Michael Platings, I've moved the matrix updating from - UpdateSkeleton to UpdateBone. UpdateSkeleton now merely checks - that Bones appear before other children and issues a warning if - this isn't the case - -2009-08-26 16:39 cedricpinson - - * include/osgAnimation/AnimationManagerBase, - include/osgAnimation/UpdateCallback, - src/osgAnimation/AnimationManagerBase.cpp: From Michael Platings, - I've just added a few simple accessors I found necessary - -2009-08-26 09:24 cedricpinson - - * include/osgAnimation/Animation, include/osgAnimation/Channel, - include/osgAnimation/Target, src/osgAnimation/Animation.cpp, - src/osgAnimation/BasicAnimationManager.cpp, - src/osgAnimation/Channel.cpp, src/osgAnimation/MorphGeometry.cpp, - src/osgAnimation/Target.cpp, - src/osgPlugins/osgAnimation/ReaderWriter.cpp: From Michael - Platings, - - Animations with equal priority are now weighted correctly - relative to each other - - (minor) Channels no longer store their weight as the only time - it's used is in update() when Animation can pass in the weight - directly - From Cedric Pinson, - - I adjusted the quaternion blending to keep the commutativy - property - -2009-08-22 17:13 robert - - * include/osg/Object: From Michael Platings, "the DAE importer was - crashing when calling osg::Object::setName with a null pointer - argument. Rather than trying to fix all the places this might - happen and probably missing a few, I thought it would be better - to trivially validate the input in setName. With this fix if - setName is called with a null pointer then the name is cleared." - -2009-08-21 13:55 robert - - * src/osgWrappers/genwrapper.conf, - src/osgWrappers/osgAnimation/Channel.cpp, - src/osgWrappers/osgAnimation/Interpolator.cpp: Fixed osgAnimation - wrappers - -2009-08-21 12:53 robert - - * src/osgWrappers/osgWidget/WindowManager.cpp: Updated wrappers - -2009-08-21 11:31 robert - - * include/osgAnimation/Interpolator: From Magnus Kessler, "At the - end of the void function - osg::Animation::TemplateStepInterpolator::getValue the code tries - to return - the result rather than assigning it to the result parameter - reference. - - The following patch fixes this." - -2009-08-21 10:18 robert - - * src/osgPresentation/SlideShowConstructor.cpp: Fixed handling of - double precision bounding sphere type. - -2009-08-21 09:54 robert - - * include/osgWidget/WindowManager: From Stephane Lamoliatte, "I - just add the a missing getView() function to the WindowManager." - -2009-08-21 09:43 robert - - * src/osgShadow/ShadowVolume.cpp: From Wojciech Lewandowski, part - of the FBO attachment submission +Fri, 19 Jul 2013 17:00:24 +0000 +Checked in by : Robert Osfield +Updated OpenThreads version to be in sync with OSG version -2009-08-21 09:42 robert +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 - * src/osgWrappers/osg/CoordinateSystemNode.cpp, - src/osgWrappers/osg/CullSettings.cpp, - src/osgWrappers/osgDB/XmlParser.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp: Updated wrappers +Fri, 19 Jul 2013 14:07:17 +0000 +Checked in by : Robert Osfield +Updated AUTHORS file for new 3.2 branch -2009-08-21 09:34 robert +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 - * include/osg/Camera, include/osg/CullSettings, - include/osgUtil/RenderStage, src/osg/Camera.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/RenderStage.cpp, - src/osgUtil/SceneView.cpp: From Wojciech Lewandowski, support for - FBO's without colour or depth attachments. - - Note from Robert Osfield, I've temporarily re-enabled the old - focing of of color and depth attachment to avoid regressions on - some OpenGL driver. We'll revist this once - we have a mechanism for controlling this override at runtime. - - #define FORCE_COLOR_ATTACHMENT 1 - #define FORCE_DEPTH_ATTACHMENT 1 +Fri, 19 Jul 2013 10:31:45 +0000 +Checked in by : Robert Osfield +Update ChangeLog and AUTHORS files for 3.1.10 dev release -2009-08-20 16:39 robert +Fri, 19 Jul 2013 10:17:26 +0000 +Checked in by : Robert Osfield +Updater version for 3.1.10 dev release - * include/osgAnimation/Interpolator: From Magnus Kessler, - "osgAnimation/Interpolator includes itself. The following patch - removes the - superfluous include" +Fri, 19 Jul 2013 10:11:42 +0000 +Checked in by : Robert Osfield +Removed #if 0 #endif block -2009-08-20 16:05 robert +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. - * src/osgViewer/GraphicsWindowX11.cpp: From Tom Moore, "Parens were - being returned when the bracket keys were typed. The fix - is easy and the original code looks like a typo" +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." -2009-08-20 15:32 robert +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." - * src/osgDB/ReaderWriter.cpp: From Colin McDonald, "This file - didn't build when OSG_USE_UTF8_FILENAME was on" +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() -2009-08-20 15:20 robert - * src/osgPlugins/dxf/DXFWriterNodeVisitor.cpp, - src/osgPlugins/obj/OBJWriterNodeVisitor.cpp: From Colin McDonald, - "There is a duplicate class definition in the obj & dxf plugins - trunk, - causing static builds to fail." -2009-08-20 14:59 robert - * src/osgPlugins/bsp/VBSPReader.cpp, - src/osgPlugins/mdl/MDLReader.cpp: From Colin McDonald, "The bsp & - mdl plugins have calls to atof() without including the - associated header. This breaks the build on my Solaris - setup. - - Rather than adding the missing include, I have changed - the - atof() calls to osg::asciiToDouble(). This is the same as was - done - throughout the other plugins recently, for locale independance. - - I've attached updates to the svn trunk, the fix is also - appropriate for - the 2.8.* branch." -2009-08-20 14:59 robert +Thu, 18 Jul 2013 20:17:48 +0000 +Checked in by : Robert Osfield +Added a dirty() call to Image::setData(..) - * src/osgPlugins/ffmpeg/FFmpegImageStream.cpp: Added check against - a minimual video size of 10x10 to prevent problems with swscale - reporting errors and crashing on small video dimensionsline, and - those below, will be ignored-- - - M ffmpeg/FFmpegImageStream.cpp +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. -2009-08-20 14:20 robert +Some of the included libraries are released in newer versions, so I adapted +the attached CMake module to find these renamed files. - * applications/present3D/present3D.cpp: Improved the custom cursor - code and release and compute settings +I hope you can merge this minor changes soon, since I plan to publish the +small 3rdparty package today. +" -2009-08-20 14:19 robert - * include/osg/CoordinateSystemNode: From Ronald van Maarseveen and - Robert Osfield, changed compute of up vector and localToWorld - transform so that it takes in to account the geographic latitude. -2009-08-19 15:36 robert +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." - * examples/osgvolume/osgvolume.cpp: Fixed typo +Tue, 2 Jul 2013 19:24:10 +0000 +Checked in by : Robert Osfield +Updated AUTHORS and ChangeLog for 3.1.9 dev release -2009-08-19 15:36 robert +Tue, 2 Jul 2013 14:35:29 +0000 +Checked in by : Robert Osfield +From Laurens Voerman, "With fstream inheritaince now removed the warning can be enabled again." - * include/osgDB/XmlParser, src/osgDB/XmlParser.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp: Added support for - trimming the contents of parsed Xml graph +Tue, 2 Jul 2013 14:17:44 +0000 +Checked in by : Robert Osfield +From Laurens Voerman, "some of my ive files now generate a warning: Warning, can't assign attribute binding as no has been array assigned to set binding for.I think those are ive's with bumpmaps, but I have not checked yet. The problem is in +OpenSceneGraph\src\osgPlugins\ive\Geometry.cpp +where the code tries to set Normalize and Binding for a missing Array. +I think that code can safely be skipped, considering the write function has a hardcoded write when the array is missing. (introduced in svn rev 13488) -2009-08-18 13:38 robert +modified file (OpenSceneGraph\src\osgPlugins\ive\Geometry.cpp) attached in Zip" - * src/osgDB/XmlParser.cpp: Added tabs to treatment as white space - to skyWhiteSpace() -2009-08-17 16:07 robert - * src/osgDB/XmlParser.cpp: Added check for space in option name - parsing +Tue, 2 Jul 2013 14:02:06 +0000 +Checked in by : Robert Osfield +From Laurens Voerman, "Recent changes cause a few warnings in MSVC 2012 svn 13587 From David Callu, warning fixes and removal of spaces at end of lines.this can be fixed by adding a space before the comment opening /*. +full modified file (openscenegraph\src\osgplugins\osg\BinaryStreamOperator.h) attached in zip -2009-08-17 15:46 robert +Regards, Laurens. - * src/osgPresentation/SlideShowConstructor.cpp: Added support for - the TabBoxTrackballDragger -2009-08-17 15:45 robert +openscenegraph\src\osgplugins\osg\BinaryStreamOperator.h(71): warning C4138: '*/' found outside of comment (OpenSceneGraph\src\osgPlugins\osg\ReaderWriterOSG2.cpp) +openscenegraph\src\osgplugins\osg\BinaryStreamOperator.h(73): warning C4138: '*/' found outside of comment (OpenSceneGraph\src\osgPlugins\osg\ReaderWriterOSG2.cpp) +openscenegraph\src\osgplugins\osg\BinaryStreamOperator.h(211): warning C4138: '*/' found outside of comment (OpenSceneGraph\src\osgPlugins\osg\ReaderWriterOSG2.cpp) +openscenegraph\src\osgplugins\osg\BinaryStreamOperator.h(213): warning C4138: '*/' found outside of comment (OpenSceneGraph\src\osgPlugins\osg\ReaderWriterOSG2.cpp)" - * src/osgPresentation/SlideEventHandler.cpp: Changed the autorun - keys to 'g' for go, and 'h' for halt. -2009-08-17 15:24 robert - * src/osgWrappers/osgAnimation/Channel.cpp, - src/osgWrappers/osgAnimation/Interpolator.cpp, - src/osgWrappers/osgAnimation/Sampler.cpp: Updated wrappers +Tue, 2 Jul 2013 13:45:23 +0000 +Checked in by : Robert Osfield +Restructed handling of the _currentShaderCompositionUniformList in State::apply() and State::apply(const StateSet*) so that it can be used even when shader composition isn't enabled. -2009-08-17 15:22 robert +Tue, 2 Jul 2013 10:32:53 +0000 +Checked in by : Robert Osfield +From Aurelien Albert, "Recently I had to integrate a client OpenGL library with OSG. For textures and other StateAttribute I've done that by subclassing osg::StateAttribute and this works well.But for glPrograms, in order to get all osg's uniform management system to work, I had to subclass osg::program::PerContextProgram. - * src/osg/GLExtensions.cpp: Moved static string initialization into - singleton method +Here is a modified version of this class, which add some "virtual" method to allow easy subclassing." -2009-08-06 12:40 cedricpinson - * include/osgAnimation/Bone, include/osgAnimation/Channel, - include/osgAnimation/Interpolator, include/osgAnimation/Sampler, - src/osgAnimation/UpdateCallback.cpp: From Michael Platings, - Changes to allow osgAnimation::*CubicBezierChannel to be used - Added TemplateStepInterpolator class -2009-08-06 10:57 robert +Tue, 2 Jul 2013 09:44:46 +0000 +Checked in by : Robert Osfield +From Pjotr Svetachov, "The binding of arrays is always set to BIND_UNDEFINED when using the array constructor because the binding parameter is ignored. Here is a fix." - * applications/present3D/present3D.cpp: Added a viewer.frame() call - prior to the useCursor(false) calls to avoid a threading crash - under X11 +Tue, 2 Jul 2013 09:27:14 +0000 +Checked in by : Robert Osfield +Added SceneView::Options enum enetries APPLY_GLOBAL_DEFAULTS and CLEAR_GLOBAL_STATESET to control whether a _globalStateSet->clear() and _globalStateSet->setGlobalDefaults() should be called.osgViewer::Renderer doesn't use these enum settings so now no longer has a calls StateSet::clear() or StateSet::setGlobalDefaults() on the osg::Camera's StateSet. Previously these were being +called and breaking the ability to attached state to Camera's StateSet. -2009-08-06 10:06 robert - * applications/present3D/present3D.cpp: Fixed custom cursor support -2009-08-05 17:01 robert - * src/osgPlugins/p3d/ReaderWriterP3D.cpp: Added support for - selecting the TabBoxTrackballDragger using - dragger="trackball-box" +Mon, 1 Jul 2013 16:15:25 +0000 +Checked in by : Robert Osfield +From Pjotr Svetachov, "In a submission on June 27th a lot of new array types were added. This modified the osg::Array::Type enum. Because of this s_ArrayNames array in Array.cpp is now not in sync. This can lead to corrupt exports or crashes when writing .osg files because the change added new types in the middle of the enum instead of at the end.Attached is a new Array.cpp to reflect the new array types." -2009-08-05 16:02 robert - * examples/osgmanipulator/osgmanipulator.cpp, - include/osgManipulator/TabBoxTrackballDragger, - src/osgManipulator/CMakeLists.txt, - src/osgManipulator/TabBoxTrackballDragger.cpp: Introduced - TabBoxTrackballDragger -2009-08-05 14:37 robert +Mon, 1 Jul 2013 12:16:32 +0000 +Checked in by : Robert Osfield +Updated AUTHORS, ChangeLog for dev release - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/CMakeLists.txt, - src/osgPresentation/SlideShowConstructor.cpp: Added support for - volume tags with properties: - - dragger="box" or dragger="trackball" - - and - - technique="light" or technique="isosurface" or technique="iso" or - technique="mip" - - and - - tf="transferfunctionfile.tf" - - i.e. - - CardiacCT - CardiacCT - CardiacCT +Mon, 1 Jul 2013 10:22:34 +0000 +Checked in by : Robert Osfield +Removed BIND_INSTANCE_DIVISOR as they don't yet have any implementation backend to support them. -2009-08-05 12:51 robert +Mon, 1 Jul 2013 09:12:11 +0000 +Checked in by : Robert Osfield +From David Callu, "Here a fix for FindFBX.cmakeunder linux, library name to look for must be fbxsdk instead of libfbxsdk." - * src/osgWrappers/genwrapper.conf, - src/osgWrappers/osgAnimation/Bone.cpp, - src/osgWrappers/osgAnimation/LinkVisitor.cpp, - src/osgWrappers/osgAnimation/MorphGeometry.cpp, - src/osgWrappers/osgAnimation/UpdateCallback.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgViewer/Scene.cpp: Updated wrappers - -2009-08-05 11:06 robert - - * include/osgDB/Registry, include/osgViewer/Scene, - src/osgDB/DatabasePager.cpp, src/osgDB/Registry.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Scene.cpp, - src/osgViewer/Viewer.cpp: Moved the updating and expiry of the - Registry object cache from DatabasePager into - osgViewer::Viewer/CompositeViewer. - -2009-08-04 16:19 robert - - * applications/present3D/present3D.cpp: Updated the Present3D - version number - -2009-08-03 09:48 cedricpinson - - * include/osgAnimation/Bone, include/osgAnimation/LinkVisitor, - include/osgAnimation/MorphGeometry, - include/osgAnimation/UpdateCallback, src/osgAnimation/Bone.cpp, - src/osgAnimation/LinkVisitor.cpp, - src/osgAnimation/MorphGeometry.cpp, - src/osgAnimation/UpdateCallback.cpp, - src/osgPlugins/osgAnimation/ReaderWriter.cpp: From Cedric Pinson, - Add UpdateMaterial callback to animate material\nUpdate - LinkVisitor to traverse stateset\nUpdate ReaderWriter to read - osgAnimation::UpdateMaterial Callback\nUpdate nathan.osg data - file to demonstrate the MaterialAnimation - -2009-07-28 06:00 robert - - * include/osg/Node: Tweak of NodeMask docs - -2009-07-28 06:00 robert - - * src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/Text.cpp, - src/osgPlugins/osgText/IO_TextBase.cpp: From Terry Welsh, .osg - and .ive support for new Text boxes - -2009-07-27 15:39 robert - - * src/osgPlugins/p3d/ReaderWriterP3D.cpp: Fixed bug in handling of - stereo image pairs - -2009-07-24 15:55 robert - - * src/osgWrappers/osgText/Text.cpp, - src/osgWrappers/osgText/TextBase.cpp: Updated wrappers - -2009-07-24 15:30 robert - - * include/osg/Node: From Lee Butler and Robert Osfield, doxygen - comment explaining role of NodeMask - -2009-07-24 15:09 robert - - * src/osgPlugins/bsp/VBSPGeometry.cpp, - src/osgPlugins/bsp/VBSPGeometry.h, - src/osgPlugins/bsp/VBSPReader.cpp: From Jason Daly, "This set of - changes reworks the BSP plugin to use TexEnvCombine instead of a - GLSL program for doing the texture blending on displaced terrain - geometry. After working with it a while, I found this method to - be more scene graph friendly (at least until Wojtek gets his - VirtualProgram scheme working ;-) ) - - Note that this technique will require ARB_texture_env_crossbar - (or NV_texture_env_combine4), as it mixes two textures in the - first texture unit, and just does the lighting in the second. I - doubt this will be a problem for any card that can already handle - GLSL programs, though." - -2009-07-24 15:04 robert - - * src/osgGA/SphericalManipulator.cpp: From Cory Riddell, "The - spherical manipulator uses a middle drag event for panning. It - was - panning for left-right drags, but was zooming for up-down drags. - I - changed it to pan both directions as I believe that is the - correct - behaviour. If the original combination pan-zoom behaviour was - intentional, please let me know." - -2009-07-24 14:59 robert - - * include/osgText/Text, include/osgText/TextBase, - src/osgText/Text.cpp, src/osgText/TextBase.cpp: From Terry Welsh, - "Okay, here are the mods I wrote for drawing a filled bounding - box - behind osgText::Text. I made it so the box would get drawn using - whichever BackdropImplementation was selected. However, I did not - implement STENCIL_BUFFER. In that case it defaults to drawing the - bounding box using POLYGON_OFFSET instead. - - Also made it so the BOUNDINGBOX and FILLEDBOUNDINGBOX are drawn - with a - settable color and margin size. - - While I was at it I tightened up the values applied with - DEPTH_RANGE - and POLYGON_OFFSET, not just for drawing the bounding box but - also for - drawing backdrop text (these values must be coupled since the - bounding - box has to be drawn deeper in Z than the backdrop text). The - values - in use before seemed like overkill and I was seeing some - z-clipping - with my background scenery in the case of DEPTH_RANGE. If there - was a - good reason for the large values please let me know...." - -2009-07-24 14:45 robert - - * include/osg/ApplicationUsage, include/osg/Camera, - include/osg/Shape, include/osgAnimation/MorphGeometry, - include/osgTerrain/Locator, include/osgTerrain/Terrain, - include/osgTerrain/TerrainTile, src/osg/Shape.cpp, - src/osg/ShapeDrawable.cpp, - src/osgPlugins/3dc/ReaderWriter3DC.cpp, - src/osgPlugins/scale/ReaderWriterSCALE.cpp, - src/osgSim/LightPointNode.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/RenderBin.cpp: From Chris Hanson, typo and comment - clean ups - -2009-07-24 14:45 robert - - * src/osgWrappers/osg/ApplicationUsage.cpp, - src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/CoordinateSystemNode.cpp, - src/osgWrappers/osg/Shape.cpp, - src/osgWrappers/osgAnimation/AnimationManagerBase.cpp, - src/osgWrappers/osgAnimation/LinkVisitor.cpp, - src/osgWrappers/osgAnimation/MorphGeometry.cpp, - src/osgWrappers/osgTerrain/Locator.cpp, - src/osgWrappers/osgTerrain/TerrainTile.cpp: Updated wrappers - -2009-07-24 14:25 robert - - * include/osg/CoordinateSystemNode: From Chris Hanson, added - EllipsoidModel::isWGS84() method and clean up on comments. - -2009-07-24 12:12 robert - - * CTestConfig.cmake: From Jean-Sebastien Guay, updated CTestConfig - to point to new cdash.openscenegraph.org site - -2009-07-23 15:25 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - updated XCode project - -2009-07-23 12:42 cedricpinson - - * include/osgAnimation/AnimationManagerBase, - include/osgAnimation/LinkVisitor, - src/osgAnimation/AnimationManagerBase.cpp, - src/osgAnimation/CMakeLists.txt, - src/osgAnimation/LinkVisitor.cpp: From Cedric Pinson, Store the - linkvisitor to be able to configure it by user, like changing the - nodemaskoverride, or use a custom LinkVisitor - -2009-07-17 07:47 robert - - * src/osgPlugins/jpeg/ReaderWriterJPEG.cpp: From J.P. Delport, - "attached a modified jpeg plugin that allows writing of grayscale - images." -2009-07-16 12:09 robert - * src/osgPlugins/OpenFlight/FltExportVisitor.cpp: From Fabien - Lavignotte,"When exporting some models to OpenFlight, i found a - crash if the texture - unit does not contain a TexEnv object. - Here's the small fix, just a test on the pointer." +Mon, 1 Jul 2013 09:10:11 +0000 +Checked in by : Robert Osfield +From David Callu, "Here a CMakeLists.txt modified with OSG_AGGRESSIVE_WARNING_FLAGS defined when Clang compilator is used" -2009-07-16 12:04 robert +Mon, 1 Jul 2013 09:09:49 +0000 +Checked in by : Robert Osfield +Fixed debug build compile problem - * src/osgWidget/Window.cpp: From Stephan Lamoliatte, "The vertical - anchor is inverted in the osgWidget::Window::update function. - Here is a small patch to fix that." +Mon, 1 Jul 2013 08:21:13 +0000 +Checked in by : Robert Osfield +Reverted the usage of OSG_UNUSED and OT_UNUSED as in hindsight these should never have been merged. Adding code to quieten inappropriate warnings is a bad programming practice and does not desrve a place in the OSG code base. -2009-07-16 11:49 robert +Fri, 28 Jun 2013 15:44:04 +0000 +Checked in by : Robert Osfield +From John Kaniarz, "This patch modifies ReaderWriterPNG.cpp to 1. Check the bit depth of the passed Image and return an error if not 8 or 16. (not fully featured, but still an improvement over hard coded 8bit for everything) 2. Endian swap 16bit image data when on a little endian architecture. " - * examples/osganimationtimeline/osganimationtimeline.cpp: From - Cedric Pinson, fix crash without error messages if the example - does find the nathan.osg file. +Fri, 28 Jun 2013 14:47:02 +0000 +Checked in by : Robert Osfield +From Alberto Luaces, "Documentation for -p and --speed options in osgviewer" -2009-07-16 11:48 robert +Fri, 28 Jun 2013 14:38:45 +0000 +Checked in by : Robert Osfield +From Marcel Pursche, fixed checking of destination dimensions in osg::copyImage. - * applications/present3D/ReadShowFile.cpp: Fixed build +Fri, 28 Jun 2013 14:32:12 +0000 +Checked in by : Robert Osfield +From Lilin Xiong, "When writing proxyNode to ive file, we forget "LoadingExternalReferenceMode ". Add some code to fix this.if (out->getVersion() >= VERSION_0045) +{ + out->writeInt(getLoadingExternalReferenceMode()); +} -2009-07-16 11:35 robert +if (in->getVersion() >= VERSION_0045) +{ + setLoadExternalReferenceFiles( (osg::ProxyNode::LoadingExternalReferenceMode)in->readInt() ); +} +" - * src/osgPlugins/bsp/VBSPReader.cpp: Fixed build. -2009-07-16 11:26 robert - * src/osgPlugins/mdl/MDLReader.cpp: Added .get() to fix build +Fri, 28 Jun 2013 14:21:43 +0000 +Checked in by : Robert Osfield +From Gill Peacegood, "fix for a memory leak in the DelaunayConstraint class" -2009-07-16 11:21 robert +Fri, 28 Jun 2013 14:08:36 +0000 +Checked in by : Robert Osfield +From Laurens Voerman, "the current version of BufferObject causes a huge amount of warnings in Visual Studio 2012 like:OpenSceneGraph/include\osg/BufferObject(701): warning C4138: '*/' found outside of comment (E:\osg\osgSvn\OpenSceneGraph\src\osg\Array.cpp) - * src/osgPlugins/bsp/VBSPEntity.cpp, - src/osgPlugins/bsp/VBSPEntity.h, - src/osgPlugins/bsp/VBSPGeometry.cpp, - src/osgPlugins/bsp/VBSPReader.cpp, - src/osgPlugins/mdl/MDLReader.cpp, - src/osgPlugins/mdl/MDL_README.txt: From Jason Daly, "These are - some fixes to the mdl and bsp plugins to handle transparency and - lighting better, plus a few other tweaks." +adding a space before /* fixes the problem + void removeClient(osg::Object * /*client*/) { --_numClients; } +" -2009-07-16 11:06 robert - * src/osgUtil/Optimizer.cpp: From Colin MacDonald,"The Optimizer - Merge Geometry visitor is always merging geometries, - even if they have had DataVariance DYNAMIC explicitly specified. - Then - when an application attempts to dynamically update the geometry - in the - frame loop the primitive sets and data arrays are no longer as - expected, leading to display and/or memory corruption. - - Attached is a simple fix. " - - Note from Robert Osfield, tweaked Colin's changes to that it use - != DYNAMIC as the the test rather than == STATIC. -2009-07-16 10:56 robert +Fri, 28 Jun 2013 14:07:31 +0000 +Checked in by : Robert Osfield +Fixed handling of DISPLAY=127.0.0.1:2 usage. - * src/osgWrappers/osg/PagedLOD.cpp: Updated wrappers +Fri, 28 Jun 2013 13:43:46 +0000 +Checked in by : Robert Osfield +From Aurelien Albert, Added support for glPrimitiveRestartIndex."The idea of this new OpenGL feature is : -2009-07-16 10:13 robert +- set RestartIndex = "n" +- draw elements strip + -> when the index is "n", the strip is "stopped" and restarted - * include/osg/PagedLOD, src/osg/PagedLOD.cpp, - src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/PagedLOD.cpp, - src/osgPlugins/osg/PagedLOD.cpp: Added the ability to turn off - the external paging in of PagedLOD children. +It's very usefull for drawing tiles with a single strip and a "restart" at the end of each row. -2009-07-16 10:13 robert +The idea a an OSG StateAttribute is : - * applications/osgversion/Contributors.cpp: Updated Contributors - mapping +Usually we use to build geometry from code, because software modelers rarely support it (and 3d file formats doesn't support it) : -2009-07-16 10:12 robert +-RootNode <= "PrimitiveRestartIndex=0" // So now, we know that our restart index is 0 for all drawables under this node +| +- Drawable 1 : triangles => as usual +| +- Drawable 2 : triangles strip => as usual +| +- Drawable 3 : triangles strip + "GL_PRIMITIVE_RESTART" mode = ON => use the restart index +| +- Drawable 4 : triangles strip + "GL_PRIMITIVE_RESTART" mode = ON => use the restart index +| +- Drawable 5 : triangles strip => as usual - * applications/present3D/ReadShowFile.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp: Added support for using - PagedLOD to managing loading of presentation preview and then the - main presentation in the background paging thread -2009-07-15 20:52 cedricpinson +With a StateAttribute, it's easy for the developper to say "0 will be my restart index for all this object" and then activate the mode only on some nodes. - * include/osgAnimation/ActionCallback: From Cedric Pinson, add - accessors to osgAnimation ActionCallback +The main problem is if you set and restart index value which is not included in the vertex array (for exemple set restart index = 100 but you have only 50 vertex). There is no problem with OpenGL, but some OSG algorithms will try to access the vertex[100] and will segfault. -2009-07-15 17:01 robert +To solve this, I think there is two ways : - * applications/present3D/present3D.cpp: Added alias from xml to p3d - to ensure backwards compatibility with old present3D files with - the.xml extenstion +1/ add restart index in osg::PrimitiveSet and use this value in all algorithms. It's a lot of work, maybe dangerous, and it concern only a few situations : developpers who use this extension should be aware of advanced OpenGL (and OSG) data management -2009-07-15 15:28 robert +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. +" - * src/osgDB/DatabasePager.cpp: Quitened down debug info. -2009-07-14 13:32 robert - * src/osgPlugins/stl/ReaderWriterSTL.cpp: Cleaned up indenting -2009-07-14 13:30 robert +Fri, 28 Jun 2013 12:45:39 +0000 +Checked in by : Robert Osfield +Added handling of an odd number rows in the capsule rendering and primitive calculation. - * src/osgPlugins/stl/ReaderWriterSTL.cpp: Converted code to use - osg::asciiToFloat() instead of relying upong the C libraries - sscanf to read floats as the C library is locale sensitive. +Fri, 28 Jun 2013 12:00:43 +0000 +Checked in by : Robert Osfield +From David Callu, warning fixes and removal of spaces at end of lines. -2009-07-14 12:22 robert - - * src/osgPlugins/logo/ReaderWriterLOGO.cpp: From Alexandre Amalric, - "I'm using osg svn version 2.9.5 and I've apparently found a bug - in osgPlugin logo. - - When using more than one view logosCullCallback function is - called without checking context ID from the cull visitor is equal - to logo _contextID variable. It involves updating logo's viewport - with different sizes. - So I made a fix well working, at least the way I use the plugin." - - Note, from Robert Osfield, changed code to return true to signal - culling of logo when being applied to a window that it wasn't - assigned to. - -2009-07-14 11:19 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Moved the getting of - the ReaderWriter to do the actual model loading to later so that - it only gets invoked when required. - -2009-07-14 11:18 robert - - * src/osgPlugins/gz/ReaderWriterGZ.cpp: Quietened down debug - messages, and added early return when filename contains server - address. - -2009-07-14 10:37 robert - - * src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.h: Refactored the setup of - the reading of the wrl file by allow reading from istreams, as - well as nesting of filepaths using a local osgDB::Options to - prevent threading issues. - - Also fixed crash in parsing of the vrml data structures that - occurred when no vrml material was assigned. - -2009-07-14 10:35 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Quitened down debug - messages - -2009-07-14 10:04 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Fixed the handling of - compressed files - -2009-07-13 16:39 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Cory Riddel based on - suggestion from Robert Osfield, "I've been running with your - suggested changes for a few days now and it - has been working perfectly. I'm still not entirely clear why - adding a - slave/subgraph causes the problem." - -2009-07-13 16:14 robert - - * src/OpenThreads/pthreads/PThreadBarrier.c++: From David Fries, - "Comparing the win32 barrier to the pthread barrier, win32 puts - the - while in an else clause. When if is true the phase changes and - the - while condition will always by false, so might as well put the - while - in the else to skip the check. There's also a benefit to having - the - code logic similar between platforms. - " - -2009-07-13 16:05 robert - - * src/OpenThreads/win32/Win32ConditionPrivateData.h: From David - Fries, "Here is a fix for a deadlock seen under Windows using - OpenThreads - Barrier operations. The error is with atomic operations in the - win32 condition implementation. The attached sample program will - reliably trigger with as few as three threads and a dual core - system, - though sometimes it will take 65,000 iterations. - - 2.8.1 was the base for these changes - - Win32ConditionPrivateData.h - Win32ConditionPrivateData::wait does two operations to decrement - waiters_ then read, when InterlockedDecrement decrements and - returns - the value in one operation. The two operations allows another - thread - to also decrement with both getting 0 for an answer. - - Win32ConditionPrivateData::broadcast is using waiters_ directly - instead of using the w value read earlier, if it was safe to use - waiters_ directly there would be no need for InterlockedGet or w. - - overview of deadlock in barrier with three threads - one thread in broadcast, 2 threads in wait, - release semaphore 2, waits on waiters_done_ - both threads wake, decrement waiters_, get 0 for w, - - one calls set waiters_done_, - broadcast thread comes out of waiters_done_, - other thread calls waiters_done_, (which leaves waiters_done_ in - the - signaled state) - - broadcast thread returns releases mutex, other threads get - mutex and also return, - next barrier, first two threads enter wait, one goes to - broadcast, release - semaphore 2, skips waiters_done_ as it had been released last - time - returns, processes, enters the barrier for the next barrier - operation - and waits, - three threads are now in wait, two have the previous barrier - phase, - one the current phase, there's one count left in the semaphore - which a - thread gets, returns, enters the barrier as a waiter, sleeps, and - the - deadlock is completed" - -2009-07-13 08:30 robert - - * include/osgViewer/api/Cocoa/GraphicsWindowCocoa, - src/osgViewer/GraphicsWindowCocoa.mm: From Stephan Huber, - "ttached you'll find a small fix for the - GraphicsWindowCocoa-implementation, which enhances multithreaded - stability, it ensures that modifications to the size of an - openglcontext - is done only from one thread. - " - -2009-07-12 15:44 robert - - * applications/osgviewer/osgviewer.cpp: Reverted erronous check-in - (which was r10454) - -2009-07-03 19:16 robert - - * applications/osgviewer/osgviewer.cpp, - examples/osgmanipulator/osgmanipulator.cpp, - examples/osgvolume/osgvolume.cpp, include/osgManipulator/Dragger, - src/osgManipulator/Dragger.cpp, - src/osgPlugins/ffmpeg/CMakeLists.txt, - src/osgVolume/RayTracedTechnique.cpp, - src/osgWrappers/osgManipulator/Dragger.cpp: Added - Dragger::s/getActivationModKeyMask(..) and - Dragger::s/getActivationKeyEvent(...) methods to make it possible - to have draggers that only respond when you press a specified - modified key or standard key. - - Changed the optional dragger in osgvolume to require the shift - key to be pressed for the dragger to become active. - -2009-07-03 19:07 robert - - * src/osgPlugins/dicom/CMakeLists.txt: From and incorported the - addition from Paul Fotheringham, addition of define - VCL_CAN_STATIC_CONST_INIT_FLOAT to be zero to solve build error - under Linux - - From Robert Osfield, general cleaned up ITK side to - CMakeList.txt. - - - -2009-07-03 18:58 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: To the ITK code path - added support for handling a whole directory of dicom files. - -2009-07-03 10:33 robert - - * CMakeLists.txt, include/osg/Version: Updated version numbers for - 2.9.6 release - -2009-07-03 10:27 robert - - * src/osgWrappers/osgManipulator/Dragger.cpp, - src/osgWrappers/osgManipulator/RotateCylinderDragger.cpp, - src/osgWrappers/osgManipulator/RotateSphereDragger.cpp, - src/osgWrappers/osgManipulator/Scale1DDragger.cpp, - src/osgWrappers/osgManipulator/Scale2DDragger.cpp, - src/osgWrappers/osgManipulator/ScaleAxisDragger.cpp, - src/osgWrappers/osgManipulator/TabBoxDragger.cpp, - src/osgWrappers/osgManipulator/TabPlaneTrackballDragger.cpp, - src/osgWrappers/osgManipulator/TrackballDragger.cpp, - src/osgWrappers/osgManipulator/Translate1DDragger.cpp, - src/osgWrappers/osgManipulator/Translate2DDragger.cpp, - src/osgWrappers/osgManipulator/TranslateAxisDragger.cpp, - src/osgWrappers/osgManipulator/TranslatePlaneDragger.cpp, - src/osgWrappers/osgVolume/Locator.cpp: Updated wrappers - -2009-07-03 05:54 robert - - * examples/osgvolume/osgvolume.cpp: Added TrackballDragger code - path - -2009-07-03 05:54 robert - - * include/osgVolume/Locator: Added callback to locator in support - of interactive updating of the volume extents - -2009-07-03 05:52 robert - - * include/osgManipulator/Dragger: Added setUpGeometry to Dragger - base class to make it easier to use draggers interchangably. - -2009-07-03 05:25 robert - - * src/osgVolume/Locator.cpp, src/osgVolume/RayTracedTechnique.cpp: - Introduced a Locator callback and associated usage of this - callback to provide interactive updating of the volume bounds - -2009-07-02 18:50 robert - - * examples/osgvolume/CMakeLists.txt, - examples/osgvolume/osgvolume.cpp: Added support for a "-m" option - that adds a tab box manipulator to allow positioning and resizing - of the rendered volume - -2009-07-02 18:49 robert - - * include/osgVolume/RayTracedTechnique, - src/osgManipulator/Dragger.cpp, - src/osgVolume/RayTracedTechnique.cpp, - src/osgVolume/Shaders/volume_frag.cpp, - src/osgVolume/Shaders/volume_iso_frag.cpp, - src/osgVolume/Shaders/volume_lit_frag.cpp, - src/osgVolume/Shaders/volume_lit_tf_frag.cpp, - src/osgVolume/Shaders/volume_mip_frag.cpp, - src/osgVolume/Shaders/volume_tf_frag.cpp, - src/osgVolume/Shaders/volume_tf_iso_frag.cpp, - src/osgVolume/Shaders/volume_tf_mip_frag.cpp, - src/osgVolume/Shaders/volume_vert.cpp: Refactored - RayTracedTechnique to allow the position of the rendered part of - the volume to be decoupled from the image data. - -2009-07-01 15:39 robert - - * src/osgPlugins/OpenFlight/ExportOptions.cpp: From Byran Thrall, - "The OpenFlight plugin doesn't handle unrecognized options or - extra - whitespace in all cases, causing it to crash." - -2009-07-01 14:50 robert - - * examples/osgmanipulator/osgmanipulator.cpp: Removed old - references to CommandManager - -2009-07-01 14:49 robert - - * include/osgManipulator/CommandManager: Added constructor and - destructor body - -2009-07-01 14:04 robert - - * src/osgPresentation/CMakeLists.txt: Added osgGA to the dependency - list - -2009-07-01 14:01 robert - - * examples/osgmanipulator/osgmanipulator.cpp, - include/osgManipulator/Command, - include/osgManipulator/CommandManager, - include/osgManipulator/Dragger, include/osgManipulator/Export, - include/osgManipulator/Selection, - src/osgManipulator/CMakeLists.txt, - src/osgManipulator/Command.cpp, - src/osgManipulator/CommandManager.cpp, - src/osgManipulator/Constraint.cpp, - src/osgManipulator/Dragger.cpp, src/osgManipulator/Selection.cpp, - src/osgWrappers/osgManipulator/Command.cpp, - src/osgWrappers/osgManipulator/CommandManager.cpp, - src/osgWrappers/osgManipulator/Dragger.cpp, - src/osgWrappers/osgManipulator/Selection.cpp: Completed refactor - of osgManipulator, key changes are: - - Selection is now just a typedef of osg::MatrixTransform, and is - deprecated - - CommandManager is shell class that just sets values directly on - Dragger, and is deprecated - - Dragger now has list of DraggerCallback that takes over the roll - of tracking changes to the Dragger, and - allows users to track the dragger in any way they wish. - - Dragger now has a convinience method making MatrixTransforms - track a dragger. - - Selection and CommandManager are no longer required for use of - osgManipulator and are kept around for backwards compatibility. - -2009-07-01 09:30 cedricpinson - - * src/osgAnimation/Action.cpp: From Cedric Pinson, i miss to commit - the file that contains the osgAnimation::StripAnimation::traverse - -2009-06-30 13:00 robert - - * include/osgManipulator/Command, - include/osgManipulator/CommandManager, - src/osgManipulator/Command.cpp, - src/osgManipulator/CommandManager.cpp, - src/osgManipulator/Dragger.cpp, - src/osgWrappers/osgManipulator/Command.cpp, - src/osgWrappers/osgManipulator/CommandManager.cpp: Simplified - Command and CommandManager - -2009-06-30 12:41 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/osgPresentation-Info.plist: From Stephan - Huber: updated XCode project, included osgPresentation - -2009-06-30 11:55 cedricpinson - - * include/osgAnimation/Action, include/osgAnimation/ActionVisitor, - src/osgAnimation/ActionVisitor.cpp, - src/osgAnimation/StatsHandler.cpp, - src/osgAnimation/StatsVisitor.cpp: From Cedric Pinson, Traverse - StripAction instead of applying, this fix the execution of - FrameCallback in BlendIn, BlendOut and AnimationAction\nFix - warning of osgAnimation::StatsHandler\nFix crash when running - example osganimationtimeline without nathan.osg in OSG_FILE_PATH - or with bad file - -2009-06-30 11:39 robert - - * examples/osgmanipulator/osgmanipulator.cpp, - include/osgManipulator/CommandManager, - include/osgManipulator/Constraint, - include/osgManipulator/Dragger, include/osgManipulator/Selection, - src/osgManipulator/CommandManager.cpp, - src/osgManipulator/Constraint.cpp, - src/osgManipulator/Dragger.cpp, - src/osgManipulator/RotateCylinderDragger.cpp, - src/osgManipulator/RotateSphereDragger.cpp, - src/osgManipulator/Scale1DDragger.cpp, - src/osgManipulator/Scale2DDragger.cpp, - src/osgManipulator/Translate1DDragger.cpp, - src/osgManipulator/Translate2DDragger.cpp, - src/osgWrappers/osgManipulator/Dragger.cpp, - src/osgWrappers/osgManipulator/Selection.cpp: Refactored - osgManipulator so that CommandManager is no longer required, - instead Dragger directly manages Constaints and associate - Selections. - -2009-06-30 07:33 robert - - * src/osgWrappers/osgAnimation/Animation.cpp, - src/osgWrappers/osgAnimation/Channel.cpp, - src/osgWrappers/osgDB/Options.cpp, - src/osgWrappers/osgGA/SphericalManipulator.cpp, - src/osgWrappers/osgManipulator/Constraint.cpp, - src/osgWrappers/osgManipulator/Dragger.cpp: Updated wrappers - -2009-06-29 21:32 robert - - * examples/osgmanipulator/osgmanipulator.cpp, - include/osgManipulator/AntiSquish, - include/osgManipulator/Constraint, - include/osgManipulator/Dragger, include/osgPresentation/Export, - src/osgManipulator/CMakeLists.txt, - src/osgManipulator/CommandManager.cpp, - src/osgManipulator/Dragger.cpp: Introduced event handling - directly into osgManipulator::Dragger to allow it be used with a - global event handler passing in events. - -2009-06-26 16:52 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Changed the - definition of HAVE_CONFIG_H so that it's only defined when on a - now windows system, so to allow the dcmtk/osconfig.h to include - the correct header on unix vs widows. - -2009-06-26 16:39 robert - - * CMakeModules/FindOurDCMTK.cmake, - src/osgPlugins/dicom/CMakeLists.txt: Added search in - /usr/local/dicom for dcmtk. - -2009-06-26 08:16 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoder.cpp: Fixed warning - -2009-06-26 08:14 robert - - * src/osgDB/DatabasePager.cpp: Fixed warning - -2009-06-25 18:31 robert - - * include/osgGA/TrackballManipulator, - src/osgGA/TrackballManipulator.cpp: Simplified throw rate code, - and add throw rate compensation into zoom in/out code. - -2009-06-25 18:11 robert - - * include/osgGA/TrackballManipulator, - src/osgGA/TrackballManipulator.cpp: From Lee Bulter, "I noticed - that when "throwing" things the rate of motion once thrown was - dependent on the complexity of the geometry. For complex scenes - this - meant that it looked like you were "throwing" the display into - molasses. - For simple geometry things get over-excited once thrown. - - The fix is to factor in the frame rendering time to the - caluclated - motion. I've implemented this for rotation and panning. - - Now when things are thrown they maintain a rate very close to - what was - happening when the mouse button was released." - -2009-06-25 18:03 robert - - * src/osgPresentation/CMakeLists.txt: Fixed library definition - -2009-06-25 16:12 robert - - * src/osgViewer/DarwinUtils.mm, - src/osgViewer/GraphicsWindowCocoa.mm: From Stephan Huber, fixes - to Cocoa support - -2009-06-25 16:07 robert - - * applications/present3D/ReaderWriterP3D.cpp, - src/osg/ArgumentParser.cpp, src/osg/CullSettings.cpp, - src/osg/DisplaySettings.cpp, src/osgDB/DatabasePager.cpp, - src/osgGA/DriveManipulator.cpp, - src/osgPlugins/bsp/VBSPEntity.cpp, - src/osgPlugins/cfg/ConfigParser.cpp, - src/osgPlugins/cfg/ConfigParser.y, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/normals/ReaderWriterNormals.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/ply/plyfile.cpp, - src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/TXPParser.cpp, - src/osgUtil/IncrementalCompileOperation.cpp, - src/osgViewer/ViewerBase.cpp, - src/osgViewer/ViewerEventHandlers.cpp: From Mathias Froehlich, - "We are currently getting issues with locale settings and some - osg plugins. - Therefore I have changed all the occurances of atof by - asciiToFloat or - asciiToDouble. - - I believe that it is safe to do so at least for all the plugins. - Included here are also asciiToFloat conversion of environment - variables. One - might argue that these should be locale dependent. But IMO these - should be - set and interpreted by osg independent of the current locale. - " +Fri, 28 Jun 2013 10:59:01 +0000 +Checked in by : Robert Osfield +From David Callu, "in osgViewer::WoWVxDisplay::WoWVxDisplay(unsigned int type=20, unsigned int screenNum=0) screenNum is unused.fix attached. +" -2009-06-25 16:02 robert - * CMakeModules/FindFFmpeg.cmake, - src/osgPlugins/ffmpeg/CMakeLists.txt, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp: Fixed warnings and - refactored FindFFmpeg.cmake and ffmpeg plugin CMakeLists.txt - scripts to better handle different instation combinations -2009-06-25 13:31 robert +Fri, 28 Jun 2013 10:51:22 +0000 +Checked in by : Robert Osfield +From David Callu, added support for glVertexAttribLPointer and glVertexAttribIPointer, utilized via osg::Array::setPreserveDataType(true); - * src/osgPlugins/cfg/ConfigParser.y: Converted tabs to spaces +Fri, 28 Jun 2013 08:57:42 +0000 +Checked in by : Robert Osfield +From David Callu, serializer support for new Vec* and Vec*Array classes -2009-06-25 13:26 robert +Fri, 28 Jun 2013 08:11:46 +0000 +Checked in by : Robert Osfield - * include/osg/Endian: From Mathias Froehlich, "Fix possible problem - with aliasing rules.. and fix a gcc warning :)Use a union to - determine if we are on a little endian or big endian machine." - -2009-06-25 13:13 robert - - * src/osg/Texture.cpp: From Mathias Froehlich, "put texturemanager - into osg namespace." - -2009-06-25 13:10 robert - - * src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: From Serge Lages, - "Here is a little fix for the FFmpeg plugin. Previously the path - computed by osgDB::findDataFile was not used, preventing loading - files from directories inside the data path list." - -2009-06-25 13:00 robert - - * src/osgDB/DatabasePager.cpp: From Ulrich Hertlein, "please find - attached some typo fixes in DatabasePager and a tweak to only - print the addLoadedDataToSceneGraph stats when some work was - actually done." - -2009-06-25 09:14 robert - - * include/osgGA/SphericalManipulator, - src/osgGA/SphericalManipulator.cpp: From Cory Riddell, "I added - an _allowThrow boolean along with a getter and setter to the - spherical manipulator. The default value is true. - - This is very similar to the flag in trackball." - -2009-06-25 08:53 robert - - * src/osgPresentation/CMakeLists.txt: Added osgFX depedency - -2009-06-25 08:52 robert - - * src/osgPresentation/CMakeLists.txt: Added osgVolume dependency - -2009-06-25 08:23 robert - - * include/osgPresentation/Export: Added export - -2009-06-25 07:42 robert - - * src/osgPresentation/CMakeLists.txt: Added CMakeLists.txt for - osgPresentation - -2009-06-24 17:37 robert - - * src/osgPlugins/gdal/ReaderWriterGDAL.cpp, - src/osgPlugins/imageio/ReaderWriterImageIO.cpp, - src/osgPlugins/ogr/ReaderWriterOGR.cpp, - src/osgPlugins/vnc/ReaderWriterVNC.cpp: Added use of - REGISTER_OGRPLUGIN to enable static linking of plugins - -2009-06-24 17:34 robert - - * applications/present3D/CMakeLists.txt, - applications/present3D/present3D.cpp: Added ffmpeg and pdf to - static build - -2009-06-24 17:33 robert - * src/osgPlugins/pdf/ReaderWriterPDF.cpp: Added support for static - compilation of pdf plugin +Thu, 27 Jun 2013 17:37:03 +0000 +Checked in by : Robert Osfield +From David Callu, "Added Vec3ub, Vec3us, Vec4us, Vec2ub and Vec2us classes" -2009-06-24 16:45 robert +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 +" - * CMakeModules/FindFFmpeg.cmake: Fixed non windows path -2009-06-24 16:14 robert - * applications/present3D/CMakeLists.txt: Renamed the temporary - application name of present3D-osg to present3D. +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. -2009-06-24 16:03 robert +Thu, 27 Jun 2013 14:46:16 +0000 +Checked in by : Robert Osfield +Replaced deprecatated osg::Geometry::get*Binding() calls. - * applications/present3D/AnimationMaterial.cpp, - applications/present3D/AnimationMaterial.h, - applications/present3D/CMakeLists.txt, - applications/present3D/CompileSlideCallback.cpp, - applications/present3D/CompileSlideCallback.h, - applications/present3D/ExportHTML.h, - applications/present3D/PickEventHandler.cpp, - applications/present3D/PickEventHandler.h, - applications/present3D/ReadShowFile.cpp, - applications/present3D/ReaderWriterP3D.cpp, - applications/present3D/ReaderWriterPaths.cpp, - applications/present3D/SlideEventHandler.cpp, - applications/present3D/SlideEventHandler.h, - applications/present3D/SlideShowConstructor.cpp, - applications/present3D/SlideShowConstructor.h, - applications/present3D/present3D.cpp, include/osgDB/Options, - include/osgPresentation, - include/osgPresentation/AnimationMaterial, - include/osgPresentation/CompileSlideCallback, - include/osgPresentation/PickEventHandler, - include/osgPresentation/SlideEventHandler, - include/osgPresentation/SlideShowConstructor, src/CMakeLists.txt, - src/osgPlugins/p3d/AnimationMaterial.cpp, - src/osgPlugins/p3d/AnimationMaterial.h, - src/osgPlugins/p3d/CMakeLists.txt, - src/osgPlugins/p3d/CompileSlideCallback.cpp, - src/osgPlugins/p3d/CompileSlideCallback.h, - src/osgPlugins/p3d/PickEventHandler.cpp, - src/osgPlugins/p3d/PickEventHandler.h, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/ReaderWriterPaths.cpp, - src/osgPlugins/p3d/SlideEventHandler.cpp, - src/osgPlugins/p3d/SlideEventHandler.h, - src/osgPlugins/p3d/SlideShowConstructor.cpp, - src/osgPlugins/p3d/SlideShowConstructor.h, src/osgPresentation, - src/osgPresentation/AnimationMaterial.cpp, - src/osgPresentation/CompileSlideCallback.cpp, - src/osgPresentation/PickEventHandler.cpp, - src/osgPresentation/SlideEventHandler.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Refactored - preset3D/p3d plugin so that common scene graph extensions and - classes now live in a separate osgPresenttation NodeKit. +Thu, 27 Jun 2013 13:37:26 +0000 +Checked in by : Robert Osfield +Added Geometry::containsDeprecatedData() / fixDeprecatedData() -2009-06-24 10:26 robert +Thu, 27 Jun 2013 10:58:26 +0000 +Checked in by : Robert Osfield +Removed deprecated usage of osg::Geometry::get*Binding() - * CMakeModules/FindFFmpeg.cmake, src/osgPlugins/pdf/CMakeLists.txt: - Refactored the FFmpeg find script and the pdd CMakeLists.txt to - improve the automatic detection of the required facilities +Thu, 27 Jun 2013 09:59:33 +0000 +Checked in by : Robert Osfield +Replaced deprecated osg::Geometry::set*Binding() usage. -2009-06-24 10:10 cedricpinson +Thu, 27 Jun 2013 09:54:45 +0000 +Checked in by : Robert Osfield +Replaced deprecated osg::Geometry::set*Binding() usage - * include/osgAnimation/ActionCallback, - src/osgAnimation/ActionCallback.cpp, - src/osgAnimation/StatsVisitor.cpp, src/osgAnimation/Timeline.cpp: - From Cedric Pinson, Fix the drop of the first frame of action - when adding action with addActionNow\nReport stats only for - active animations\nAdd priority to RunAction callback - -2009-06-23 12:59 cedricpinson - - * src/osgAnimation/Animation.cpp: From Cedric Pinson, Fix clone - operation for osgAnimation::Animation - -2009-06-23 11:33 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoder.hpp: Fixed warning - -2009-06-23 10:53 robert - - * CMakeModules/FindFFmpeg.cmake, - src/osgPlugins/ffmpeg/CMakeLists.txt: Added explict search for - stdint.h - -2009-06-22 18:04 cedricpinson - - * src/osgAnimation/UpdateCallback.cpp: From Cedric Pinson, fix - clone for UpdateTransform - -2009-06-22 16:08 robert - - * applications/present3D/CMakeLists.txt, - applications/present3D/present3D.cpp: Added support for reading - from http and obj files in the static build of Present3D - -2009-06-22 16:02 robert - - * src/osgPlugins/txp/trpage_swap.cpp: Fixed swap size - -2009-06-22 14:24 cedricpinson - - * include/osgAnimation/Animation, - include/osgAnimation/AnimationManagerBase, - include/osgAnimation/Channel, include/osgAnimation/Skeleton, - src/osgAnimation/Animation.cpp, - src/osgAnimation/AnimationManagerBase.cpp, - src/osgAnimation/Bone.cpp, src/osgAnimation/Channel.cpp, - src/osgAnimation/Timeline.cpp, - src/osgAnimation/UpdateCallback.cpp: From Cedric Pinson, fix - constructors for cloning osgAnimation objects - -2009-06-22 13:08 robert - - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Updated - authors for 2.9.5 release - -2009-06-22 12:46 robert - - * ChangeLog, applications/osgversion/Contributors.cpp: Update - ChangeLog and contributors - -2009-06-21 17:28 robert - - * src/osgPlugins/osg/StateSet.cpp: Added mutex lock to iniGLNames - to prevent threading problems during initialization - -2009-06-20 17:03 robert - - * applications/CMakeLists.txt, - applications/present3D/CMakeLists.txt, - applications/present3D/ReaderWriterP3D.cpp, - applications/present3D/ReaderWriterPaths.cpp, - applications/present3D/present3D.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/ReaderWriterPaths.cpp: Added support for - initial cut of static build of Present3D. - -2009-06-20 11:35 robert - - * src/osgText/TextBase.cpp: From Farshid Lashkari, "I found a bug - in the osgText library in version 1.2 that I believe still exists - in the latest version. - - I found that changing the alignment of a text object does not - work properly if the text contains newline characters. I've - attached a simple test case that shows the problem. If I set the - text AFTER setting the alignment, everything works fine. But if I - set the text BEFORE setting the alignment then the text is - displayed incorrectly. - - The fix is very simple. Instead of calling computePositions() in - TextBase::setAlignment(), it calls computeGlyphRepresentation(). - I've attached the modified TextBase.cpp." - -2009-06-20 08:18 robert - - * src/osgWrappers/osgParticle/Particle.cpp: Updated wrappers - -2009-06-19 14:14 robert - - * src/osgPlugins/obj/obj.cpp: From Gino van den Bergen, "AFAICS, - OSG's OBJ loader correctly handles backslash-newlines that are - used for continuation of lines. However, I recently ran into a - problem with OBJs that where converted from another source using - Right Hemisphere Deep Exploration. In these OBJs newlines are - escaped in the following way: - - f 15939/9999/16177 15941/10000/16178 15940/10001/16179\ - 15938/10002/16180 - - In the OBJ loader the newline would be interpreted as follows - - f 15939/9999/16177 15941/10000/16178 - 15940/10001/1617915938/10002/16180 - - However, for correctly loading the model it should be interpreted - as - - f 15939/9999/16177 15941/10000/16178 15940/10001/16179 - 15938/10002/16180 - - Thus, the escaped newline should be interpreted as a space. - - I tried to lookup what the correct interpretation for a - backslash-newline was in the OBJ spec but did not find anything - useful. Nevertheless, my suggestion would be to adopt replacing - the escaped newline by a space in order to avoid problems as - stated above. I cannot imagine a meaningful usage of a newline - within a numerical literal so I do not foresee cases where - replacing a backslash-newline by a space would be harmful. The - fixed obj.cpp is zipped and attached to this mail." - -2009-06-19 13:53 robert - - * src/osg/Shader.cpp: Changed the debug output so that the code - path is not run unless it's needed - -2009-06-19 13:50 robert - - * src/osg/Shader.cpp: From Jean-Sebastian Guay and Robert Osfield, - added line numbers to debug shader output - -2009-06-19 13:09 robert - - * include/osgParticle/Particle: From Tom Jolly, "A new compiler and - a new warning. - - Enclosed is include/osgParticle/Particle. I removed the const - from the - return type of getSTexCoord. I also changed the name on the next - function to getTTexCoord so it is consistent with getSTexCoord. - If you - prefer to change getSTexCoord to getSCoord you will need to - change it in - ConnectedParticleSystem.cpp." - -2009-06-19 11:55 robert - - * include/osg/Texture, src/osg/Texture.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp: From Wojciech - Lewandowski, "Here are my changes: - - - osg::Texture sets GL_MAX_TEXTURE_LEVEL if image uses fewer - mipmaps than - number from computeNumberOfMipmaps (and it works!) - - DDS fix to read only available mipmaps - - DDS fixes to read / save 3D textures with mipmaps ( packing == - 1 is - required) - - Few cosmetic DDS modifications and comments to make code - cleaner (I hope) - - Added _isTextureMaxLevelSupported variable to texture extensions. - It - could be removed if OSG requires OpenGL version 1.2 by default. - - Added simple ComputeImageSizeInBytes function in DDSReaderWrites. - In - my opinion it would be better if similar static method was - defined for - Image. Then it could be used not only in DDS but other modules as - well (I - noticed that Texture/Texture2D do similar computations). - - Also attached is an example test.osg model with DDS without last - mipmaps to - demonstrate the problem. When loaded into Viewer with current - code and moved - far away, so that cube occupies 4 pixels, cube becomes red due to - the issue - I described in earlier post. When you patch DDS reader writer - with attched - code but no osg::Texture yet, cube becomes blank (at least on my - Windows/NVidia) When you also merge osg::Texture patch cube will - look right - and mipmaps will be correct." - -2009-06-19 11:31 robert - - * examples/CMakeLists.txt, examples/osgviewerQtWidget, - examples/osgviewerQtWidget/CMakeLists.txt, - examples/osgviewerQtWidget/CompositeViewerQOSG.cpp, - examples/osgviewerQtWidget/CompositeViewerQOSG.h, - examples/osgviewerQtWidget/QOSGWidget.cpp, - examples/osgviewerQtWidget/QOSGWidget.h, - examples/osgviewerQtWidget/README, - examples/osgviewerQtWidget/main.cpp, - examples/osgviewerQtWidget/qosgwidget.pro, - examples/osgviewerQtWidget/testMainWin.cpp, - examples/osgviewerQtWidget/testMainWin.h, - examples/osgviewerQtWidget/testMainWin.ui, - examples/osgviewerQtWidget/testOutboardWin.cpp, - examples/osgviewerQtWidget/testOutboardWin.h, - examples/osgviewerQtWidget/testOutboardWin.ui: From Don Liech, - Qt/OSG integration example - -2009-06-19 11:16 robert - - * src/osgWrappers/osg/CopyOp.cpp, - src/osgWrappers/osgDB/DatabaseRevisions.cpp: Updated wrappers - -2009-06-19 11:04 robert - - * include/osgDB/DatabaseRevisions, src/osgDB/DatabaseRevisions.cpp: - Added append() method - -2009-06-19 11:00 robert - - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Added clears to various vectors being passed in to get*() - methods. - -2009-06-19 10:55 robert - - * src/osgViewer/Viewer.cpp: From Cory Riddell, "I added a line to - clear the threads vector prior to populating it in - Viewer::getAllThreads(). This is consistent with what happens in - Viewer::getOperationThreads()." - -2009-06-18 10:01 robert - - * include/osg/CopyOp, src/osg/CopyOp.cpp, src/osg/Node.cpp: From - Cedric Pinson and Robert Osfield, addition of NodeCallbacks to - osg::CopyOp and osg::Node copy constructor. - -2009-06-18 08:29 robert - - * include/osgAnimation/Action: Added exports - -2009-06-18 08:22 robert - - * src/osgWrappers/osgDB/DatabaseRevisions.cpp: Updated wrappers - -2009-06-18 08:18 robert - - * src/osgManipulator/AntiSquish.cpp: From Rene Molenaar, "The bug - is as described above: - - "The dragger's corner tabs are no longer in the corners." - - this fix places the cornertabs back in the corners. - (the manipulator does not make sense otherwise)." - -2009-06-17 16:54 robert - - * include/osgAnimation/ActionVisitor, - include/osgAnimation/Timeline, include/osgDB/DatabaseRevisions, - src/osgAnimation/ActionVisitor.cpp: Replaced forward declarations - -2009-06-17 16:54 robert - - * src/osgDB/Registry.cpp: Added ".added", ".modified" and - ".removed" alias to .revisions plugin - -2009-06-17 15:12 robert - - * src/osgWrappers/Doxyfile.template, - src/osgWrappers/osgDB/DatabaseRevisions.cpp: Updated wrappers - -2009-06-17 15:12 robert - - * include/osgDB/DatabaseRevisions, src/osgDB/DatabaseRevisions.cpp: - Made method names consistent with each other - -2009-06-17 11:00 robert - - * packaging/pkgconfig/openscenegraph-osgAnimation.pc.in, - src/osgAnimation/CMakeLists.txt, - src/osgAnimation/StatsHandler.cpp: From Alberto Luaces, "the new - changes in osgAnimation showed some errors on the Cygwin - platform: - - 1 - osgAnimation/StatsHandler includes , but on Cygwin - only std::isnan - is defined that way. I changed it to as it is done in - the rest of - the OSG. - - 2 - Pulling some osgViewer headers from the same file in - osgAnimation makes - the former a new dependency. Thus, I got errors at osgAnimation - linking time. - I wonder why nobody noticed this on other platforms. I have - updated the - CMakeLists.txt file in order to link to the needed libraries, and - - 3 - I have updated the openscenegraph-osgAnimation.pc.in file - accordingly." - -2009-06-17 10:39 robert - - * applications/present3D/ReaderWriterP3D.cpp, - applications/present3D/ReaderWriterPaths.cpp, - examples/osgshadercompositor/VirtualProgram.cpp, - examples/osgterrain/osgterrain.cpp, - include/osgAnimation/StatsVisitor, - include/osgDB/DatabaseRevisions, src/osgAnimation/Action.cpp, - src/osgAnimation/ActionVisitor.cpp, - src/osgAnimation/StatsHandler.cpp, src/osgAnimation/Timeline.cpp, - src/osgPlugins/dae/daeReader.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/ReaderWriterPaths.cpp, - src/osgPlugins/revisions/ReaderWriterRevisions.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.h, - src/osgPlugins/zip/ReaderWriterZIP.cpp: Changed build - OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION to ON and then fixed - all the resulting build errors. - -2009-06-17 08:56 robert - - * include/osg/DisplaySettings: Fixed error in - DisplaySettings::setNumOfHttpDatabaseThreadsHint - -2009-06-16 13:02 robert - - * src/osgWrappers/Doxyfile.template, - src/osgWrappers/osgAnimation/Bone.cpp, - src/osgWrappers/osgAnimation/Timeline.cpp: Updated wrappers - -2009-06-16 12:32 cedricpinson - - * src/osgAnimation/Action.cpp, src/osgAnimation/StatsHandler.cpp: - From Cedric Pinson, Fix osgAnimation warning and errors - -2009-06-16 12:22 cedricpinson - - * src/osgAnimation/Bone.cpp: From Cedric Pinson, Fix osgAnimation - warning and errors for Bone.cpp - -2009-06-16 10:20 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project - -2009-06-15 14:48 cedricpinson - - * include/osgAnimation/Action, include/osgAnimation/ActionCallback, - include/osgAnimation/ActionVisitor, include/osgAnimation/Bone, - include/osgAnimation/FrameAction, - include/osgAnimation/RigGeometry, - include/osgAnimation/StatsHandler, - include/osgAnimation/StatsVisitor, include/osgAnimation/Target, - include/osgAnimation/Timeline, src/osgAnimation/Action.cpp, - src/osgAnimation/ActionCallback.cpp, - src/osgAnimation/ActionVisitor.cpp, - src/osgAnimation/Animation.cpp, src/osgAnimation/CMakeLists.txt, - src/osgAnimation/StatsHandler.cpp, - src/osgAnimation/StatsVisitor.cpp, src/osgAnimation/Timeline.cpp: - From Cedric Pinson, split timeline classes in differents files, - cleanup and add a statshandler to visualize current action in - timeline - -2009-06-14 23:30 cedricpinson - - * include/osgAnimation/Bone, include/osgAnimation/Target, - src/osgAnimation/Bone.cpp: From Cedric Pinson, fix copy - constructor for clone operation for Bone, add a missing - contructor with quaternion for Target - -2009-06-12 10:37 robert - - * src/osgWrappers/osg/BlendEquation.cpp, - src/osgWrappers/osg/ProxyNode.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp, - src/osgWrappers/osgUtil/SceneView.cpp: Updated wrappers - -2009-06-12 10:08 robert - - * include/osg/ProxyNode, src/osg/ProxyNode.cpp: From Mathias - Froehlich, "attached is a change to the ProxyNode that also - includes ProxyNode local - database options like recently added to PagedLOD. - - Also there is a change to the traverse method: - The previous ProxyNode checks the VisitorType to be a - CULL_VISITOR and the - presence of a request handler to submit a database request. - In contrast to that PagedLOD uses the request handler if it is - there - even if - the visitor type is not a cull visitor. - The change removes the cull visitor test from the ProxyNode so - that it behaves - like the PagedLOD. - I believe that the presence of a request handler in a visitor - might be - sufficient to trigger the requests as this is done in the - PagedLOD anyway. - - Based on rev 10332." - -2009-06-12 10:00 robert - - * src/osgViewer/DarwinUtils.mm, - src/osgViewer/GraphicsWindowCocoa.mm: From Stephan Huber, "here - are some small fixes/enahncements for the cocoa backend to allow - proper functioning when running the osgViewer run-loop in a - secondary - thread (e.g. when embedding GraphicsWindowCocoa-windows in a full - blown - cocoa application). - - OS X is picky when you want to change the user-interface from - another - thread than the main thread, not all UI stuff is thread-safe. So - now - window closes and showing / hiding the menu bar is done in the - main - thread via Cocoa's performSelectorOnMainThread-mechanism. - - These changes don't affect the normal osgViewer usage pattern." - -2009-06-12 09:57 robert - - * src/osgPlugins/osg/ProxyNode.cpp: From Laurens Voerman, "there - seems to be a bug in the proxynode writer introduced in svn rev - 10330. It craches on a null pointer for options (on my windows - system). - Fixed version of the file "src\osgPlugins\osg\ProxyNode.cpp" - attached, based on svn rev 10332." - -2009-06-12 09:48 robert - - * src/osg/Texture2DArray.cpp: From Konstantin Sinitsyn, "I've fixed - bug with loading of compressed texture to texture array!" - -2009-06-12 09:41 robert - - * CMakeModules/FindCOLLADA.cmake, - src/osgPlugins/dae/CMakeLists.txt: From Roger James and Robert - Osfield, clean up of COLLADA CMake support - -2009-06-12 09:11 robert - - * ChangeLog: Updated ChangeLog - -2009-06-11 15:13 robert - - * src/osgParticle/PrecipitationEffect.cpp: Fixed copy constructor - -2009-06-11 14:56 robert - - * include/osgParticle/PrecipitationEffect, - src/osgParticle/PrecipitationEffect.cpp: Replaced frame delta - computation that was originally based on a local static variable, - replacing it with member variable to tracking the previous frame - time. This fixes a bug in the wind computation when multiple - PrecipitaionEffects are in the scene. - -2009-06-10 09:24 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/curl/ReaderWriterCURL.h: From Emmanuel Roche, - "I've updated the CURL plugin to support the CURL_CONNECTTIMEOUT - and CURL_TIMEOUT options. - - Those two additional options can now be set using the - Options::setOptionsString() function (just like the already - existing OSG_CURL_PROXY & OSG_CURL_PROXYPORT options). - - This is a convient solution to limit the freezing effect one may - face in case the targeted server is down or too slow. - - I successfully compiled and used this updated version on Windows - in my application. - - And by default those settings are not set (so no change in the - behavior if you don't need them). - " - -2009-06-09 08:43 robert - - * src/osgPlugins/ive/ProxyNode.cpp, - src/osgPlugins/osg/ProxyNode.cpp: From Gustav Happalahti, fixed - filename usage - -2009-06-08 16:50 robert - - * applications/osgconv/osgconv.cpp, include/osgDB/Output, - src/osgDB/Output.cpp, src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/ProxyNode.cpp, - src/osgPlugins/osg/ProxyNode.cpp, - src/osgPlugins/osg/ReaderWriterOSG.cpp, src/osgViewer/Viewer.cpp: - From Gustav Haapalahti and Robert Osfield, - - First Submission email from Gustav: - "This submission adds a --cache option to osgconv and osgviewer - that enables setObjectCacheHint(osgDB::Options::CACHE_ALL); It - greatly reduces memory usage when a .osg file has lots of - external references with ProxyNode:s that points to the same - file. - - Options are also added to the osg plugin. The code was already - mostly implemented but there was no way to change the options. - includeExternalReferences - writeExternalReferenceFiles - A counter is added to keep track if an external file has already - been written down to avoid writing the same file over and over - again. If it has already been written once then it is not written - again. - The counter is added to the Output class in osgDB. - " - - Second Submission email from Gustav: - "This is a continuation to my previous submission. - I noticed that the same problem that I fixed in ProxyNode.cpp for - the osg plugin (external files being written over and over again) - also existed in the ive plugin. I attached a submission where the - ive plugin remembers which external files that have already been - written and do not write them again." - - - Changes to the above done by Robert Osfield, - - changed command line parameter to --enable-object-cache - changed set/get methods in osgDB::Output and - ive/DataOutputStream.cpp to be s/getExternalFileWritten(const - std::string&) - cleaned up set up of osgDB::Options. - -2009-06-08 14:06 robert - - * src/osgPlugins/dxf/CMakeLists.txt, - src/osgPlugins/dxf/DXFWriterNodeVisitor.cpp, - src/osgPlugins/dxf/DXFWriterNodeVisitor.h, - src/osgPlugins/dxf/ReaderWriterDXF.cpp: Martin Beckett, "Here's a - first attempt at a DXF writer plugin - - At the moment it outputs DXF for whatever geometry is contained - in the node it would be nice to draw the model as it is rendered - (points/lines/surface) - - If people could also test against other apps that need to read - DXF, the format is a bit of a black art and not all importers - support all features so it might need some options to tweak the - output. - - It has some rather clever colour lookup stuff to match real - colours against the limited DXF palette. I cracked the code of - the Autocad indexed colours!" - -2009-06-08 13:51 robert - - * src/osg/FrameBufferObject.cpp: From Mathias Froehlich, "Without - this change packed depth stencil attachments are only supported - if the - GL_EXT_framebuffer_blit extension is available. This is due to - the early - return from the constructor if this is missing. - As far as I read the standard extension documents, this blit call - is not - required to have packed depth stencil fbos. - The change fixes this and allows packed stencil attachments on - machines - without the multisample blit command." - -2009-06-08 13:47 robert - - * src/osgPlugins/ive/BlendEquation.cpp, - src/osgPlugins/ive/IveVersion.h, - src/osgPlugins/osg/BlendEquation.cpp: Addded .ive and .osg - support for new GL_EXT_blend_equation_separate properties in - osg::BlendEquation - -2009-06-08 13:46 robert - - * include/osg/BlendEquation, src/osg/BlendEquation.cpp: From - Konstantin Sinitsyn, support for GL_EXT_blend_equation_separate - extension like in osg::BlendEquation. - -2009-06-08 12:50 robert - - * examples/osgunittests/osgunittests.cpp: Added basic - Matrix::decompose() test, based on a test progrem wrttien by Paul - Obermeier - -2009-06-08 12:44 robert - - * include/osgUtil/RenderStage: Fixed doc message - -2009-06-08 11:12 robert - - * src/osgSim/Sector.cpp: From Lionel Lagarde, "this correction - makes the intensity interpolated in the correct direction when - the angle is between _cosFadeAngle and _cosAngle." - -2009-06-08 10:54 robert - - * src/osgDB/DynamicLibrary.cpp: Fixed warning - -2009-06-08 10:27 robert - - * src/osgDB/Registry.cpp: Changed the file search path so it - returns an empty string when the filename contains a server - address. - -2009-06-08 09:47 robert - - * src/osgPlugins/vrml/ReaderWriterVRML2.cpp: From Johan Nouvel, fix - to handling of transparent textured objects. - - Tweak from Robert Osfield, commented out disabling of depth write - as this is not appropriate by default. - -2009-06-05 19:05 robert - - * include/osgUtil/RenderStage, include/osgUtil/SceneView, - src/osgSim/LightPointNode.cpp, src/osgUtil/RenderStage.cpp, - src/osgUtil/SceneView.cpp, src/osgViewer/Renderer.cpp: Added - collateReferencesToDependentCameras() and - clearReferencesToDependentCameras() methods into RenderStage and - SceneView, and use - of these methods in src/osgViewer/Renderer.cpp to make sure that - the draw thread keeps references to all in scene graph Cameras - that are being used by the drawing threads, to keep the Camera's - alive even when the main thread removes these Cameras from the - scene graph. +Thu, 27 Jun 2013 09:54:12 +0000 +Checked in by : Robert Osfield +Replaced deprecated osg::Geometry::set*Binding() usage. -2009-06-05 11:48 robert +Thu, 27 Jun 2013 08:44:15 +0000 +Checked in by : Robert Osfield +Replaced deprecated osg::Geometry::set*Binding() usage - * include/osg/Referenced, src/osgUtil/RenderBin.cpp: Added - depends_on template and usage in RenderBin to help with static - variable destruction ordering +Thu, 27 Jun 2013 08:30:51 +0000 +Checked in by : Robert Osfield +Replaced deprecated Geometry::set*Binding() -2009-06-05 10:42 robert +Wed, 26 Jun 2013 18:06:09 +0000 +Checked in by : Robert Osfield +Replaced deprecated Geometry::set*Binding() usage - * src/osgDB/DatabaseRevisions.cpp: Fixed warning +Wed, 26 Jun 2013 17:58:57 +0000 +Checked in by : Robert Osfield +Removed deprecated Geometry::set*Binding() usage -2009-06-04 14:37 robert +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. - * src/osgWrappers/osgDB/DatabaseRevisions.cpp: Updated wrappers +Wed, 26 Jun 2013 17:45:19 +0000 +Checked in by : Robert Osfield +Replaced deprecated osg::Geometry::set*Binding() usage -2009-06-04 14:07 robert +Wed, 26 Jun 2013 17:44:30 +0000 +Checked in by : Robert Osfield +Replaced deprecated osg::Geometry::set*Binding() calls. - * ChangeLog, - examples/osgdatabaserevisions/osgdatabaserevisions.cpp, - include/osgDB/DatabaseRevisions, include/osgDB/FileCache, - src/osgDB/DatabaseRevisions.cpp, src/osgDB/FileCache.cpp, - src/osgPlugins/revisions/ReaderWriterRevisions.cpp: Implemented - updating of revision files as new data is writing to the - FileCache +Wed, 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." -2009-06-02 16:58 robert +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. - * examples/CMakeLists.txt, examples/osgdatabaserevisions, - examples/osgdatabaserevisions/CMakeLists.txt, - examples/osgdatabaserevisions/osgdatabaserevisions.cpp: Added - osgdatabaserevisions example to server as a testbed for new - osgDB::DatabaseRevisions functionality +The default behaviour stay the same. -2009-06-02 16:54 robert +There is a few new methods on osg::State : - * include/osgDB/DatabaseRevisions, include/osgDB/FileCache, - src/osgDB/DatabaseRevisions.cpp, src/osgDB/FileCache.cpp, - src/osgPlugins/revisions/ReaderWriterRevisions.cpp: Implemented - DatabasePath in DatabaseBase revision classes +- 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)" -2009-06-02 08:56 robert - * src/osgViewer/GraphicsWindowX11.cpp: 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, 26 Jun 2013 12:59:40 +0000 +Checked in by : Robert Osfield +Removed unused methods - * src/osg/Texture2D.cpp: Moved assigned of texture object to - _textureObjectBuffer to earlier in Texture2D::apply() to prevent - problems with non power of two texture mipmap generation. +Wed, 26 Jun 2013 12:33:40 +0000 +Checked in by : Robert Osfield +Removed spaces from end of line -2009-06-01 11:22 robert +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 - * src/osgUtil/GLObjectsVisitor.cpp: From Wojciech Lewandowski, - Fixed handling of empty Program. +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." -2009-06-01 11:08 robert - * src/osg/Transform.cpp: From Emmanuel Roche, "I've also updated - the computeBound() method from the osg::Transform class : this - method was using float based temporary variables and thus the - double precision is lost here. I've changed that to use the - generic types osg::BoundingSphere::vec_type and - osg::BoundingSphere::value_type instead." -2009-06-01 11:07 robert - * src/osgPlugins/dae/daeWriter.cpp, src/osgPlugins/dae/daeWriter.h: - From Emmanuel Roche, "I'm joining an updated version of the file - daeWritter.cpp and daeWriter.h for the collada plugin compatible - with the usage of double precision BoundingSphere & BoundingBox. - The only change is the addition of the template specialization - for osg::Vec3d object (until now only the specialization for - osg::Vec3 was defined, I replaced that with osg::Vec3f to be more - "precise")." -2009-05-30 07:39 robert +Wed, 26 Jun 2013 08:53:56 +0000 +Checked in by : Robert Osfield +Removed Geometry::fixDeprecatedData() as it won't work on const Geometry - * src/osgWrappers/osgDB/DatabaseRevisions.cpp: Updated wrappers +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." -2009-05-29 18:24 robert +Tue, 25 Jun 2013 16:19:00 +0000 +Checked in by : Robert Osfield +Removed #include as it's nolonger required in the header - * include/osgDB/DatabaseRevisions, src/osgDB/DatabaseRevisions.cpp, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/revisions, - src/osgPlugins/revisions/CMakeLists.txt, - src/osgPlugins/revisions/ReaderWriterRevisions.cpp: Added - revisions plugin in support of paged database revisions. +Tue, 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. -2009-05-29 09:39 shuber +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: - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project +- an encapsulation of the entire Depth Peeling procedure into a class (not currently a scene graph node) for easier integration in other projects. -2009-05-29 08:46 robert +- 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. - * src/osgWrappers/osgDB/DatabaseRevisions.cpp: Updated wrappers +- mix and match with GLSL shaders in the transparent objects is possible, as demonstrated with a 3D heat map intersecting an opaque truck model. -2009-05-29 08:24 robert - * examples/osgshadercompositor/CreateSimpleHierachy.cpp, - examples/osgshadercompositor/VirtualProgram.cpp, - examples/osgshadercompositor/osgshadercompositor.cpp: Ran dos2unx - of files +Some Drawbacks: -2009-05-29 08:24 robert +- 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." - * include/osgDB/DatabaseRevisions, include/osgDB/FileCache, - src/osgDB/CMakeLists.txt, src/osgDB/DatabaseRevisions.cpp, - src/osgDB/FileCache.cpp: Introduced first iterations of - DatabaseRevision classes for managing the revisioning of http - hosted databases +From Robert Osfield, ported the code to work under Linux and without the automatic ref_ptr to C* conversion. -2009-05-28 16:46 robert - * src/osgPlugins/vrml/IndexedFaceSet.cpp: Fixed warning -2009-05-28 14:15 robert - * src/osgViewer/GraphicsWindowX11.cpp: From Mathias Froehlich, - "This frees some memory that is allocated by the X11 functions." -2009-05-28 14:12 robert +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." - * src/osgGA/SphericalManipulator.cpp: Fixed unitialized variable -2009-05-28 14:09 robert - * src/osgViewer/GraphicsWindowCocoa.mm: From Stephan Huber, - "attached you'll find a small fix for GrphicsWindowCocoa. There - was a bug - with certain key-strokes, which led to a crash." -2009-05-28 13:40 robert +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" - * examples/osgshadercompositor/CreateAdvancedHierachy.cpp: From - Wojciech Lewandowski, "I suppose this error is caused by using 4 - component tex coord in texture2D call. I always forget about - adding .xy swizzle at the end of tex coord. I have attached code - (hopefully fixed). My NVidia seems to ignore such errors. Cannot - test it myself. Simple example works because I actually use - textture2Dproj there." +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." -2009-05-28 13:29 robert - * src/osgPlugins/OpenFlight/AncillaryRecords.cpp, - src/osgPlugins/OpenFlight/ControlRecords.cpp, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/LightPointRecords.cpp, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/OpenFlight/PrimaryRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/OpenFlight/Registry.h, - src/osgPlugins/OpenFlight/ReservedRecords.cpp, - src/osgPlugins/OpenFlight/RoadRecords.cpp, - src/osgPlugins/OpenFlight/VertexRecords.cpp: From Gregory Jaegy - and Robert Osfield, added support for static linking of - OpenFlight plugin -2009-05-28 13:26 robert +Mon, 24 Jun 2013 12:30:08 +0000 +Checked in by : Robert Osfield +Updatd SO_VERSION to reflect changes in ABI from merging submissions. - * examples/osgstaticviewer/osgstaticviewer.cpp: Fixed warnings +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. " -2009-05-28 12:25 robert +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." - * src/osgPlugins/zip/ReaderWriterZIP.cpp: From Neil Hughes, "Two - changes here... - - 1. I've implemented an option controlled route by which users can - still access the old method of extracting the zip content to the - local filesystem. This is in response to Ulrich's comments about - zip files encorporating files other than those that OSG knows - about, but which an application may require. - - To access this the user makes the following call on their options - object that they pass to the reader. Without it, the plugin will - extract by default to memory. - - local_opt->setPluginStrData("zipextract","filesystem"); - - - 2. The second change is that I've moved the declaration of one of - the variables to within the numitems loop so that if loading of a - specific file within the zip fails, subsequent files still load - correctly. This was the issue that Ulrich raised." -2009-05-28 08:25 robert - * src/osgWrappers/osgUtil/RenderBin.cpp, - src/osgWrappers/osgUtil/RenderLeaf.cpp: Updated wrappers +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." -2009-05-27 13:02 robert +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." - * examples/osgshadercompositor/CMakeLists.txt, - examples/osgshadercompositor/osgshadercompositor.cpp, - examples/osgshadercompositor/osgvirtualprogram.cpp: Renamed - application osgvirtualprogram to osgshadercompostior to better - reflect it function -2009-05-27 13:00 robert - * examples/CMakeLists.txt, examples/osgshadercompositor, - examples/osgvirtualprogram: Renamed osgvirtualprogram to - osgshadercompositor to better reflect it's function +Mon, 24 Jun 2013 11:03:59 +0000 +Checked in by : Robert Osfield +Convert usage to use const versions of containers -2009-05-27 12:11 robert - - * src/osgUtil/RenderStage.cpp: Fixed glStencilMask setting. - -2009-05-27 09:54 robert - - * include/osgUtil/CullVisitor, include/osgUtil/RenderBin, - include/osgUtil/RenderLeaf, src/osgUtil/CullVisitor.cpp, - src/osgUtil/RenderBin.cpp: Added support for - RenderBin::SortMode::TRAVERSAL_ORDER to enable rendering of scene - graph drawables in the order that they were traversed in. - -2009-05-27 09:45 robert - - * examples/osgvirtualprogram/CreateSimpleHierachy.cpp: Fixed - warning - -2009-05-26 14:22 robert - - * CMakeModules/FindOpenVRML.cmake, - src/osgPlugins/vrml/IndexedFaceSet.cpp, - src/osgPlugins/vrml/Primitives.cpp, - src/osgPlugins/vrml/README.txt, - src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.h: From Jan Ciger, "I am - attaching the updated VRML plugin, as promised. This version - works - with OpenVRML 0.17.12 and Boost 1.38. Other versions may work - too, but I - didn't test that." - -2009-05-26 11:00 robert - - * src/osgPlugins/x/ReaderWriterDirectX.cpp, - src/osgPlugins/x/directx.cpp, src/osgPlugins/x/directx.h, - src/osgPlugins/x/mesh.cpp, src/osgPlugins/x/mesh.h, - src/osgPlugins/x/types.cpp, src/osgPlugins/x/types.h: From Ulrich - Hertlein, "please find a patch for the DirectX loader to use - std::istreams. This will make it usable with the zip plugin." - -2009-05-26 10:10 robert - - * examples/osgvirtualprogram/CreateAdvancedHierachy.cpp, - examples/osgvirtualprogram/VirtualProgram.cpp, - examples/osgvirtualprogram/VirtualProgram.h: Fixed warnings - -2009-05-25 16:34 robert - - * src/osgViewer/GraphicsWindowX11.cpp: Refactored the - GraphicsWindowX11::adaptKey() implementation so that it always - uses the reampX11Key(ks) method, and for the mapping to handle - case correctly. - -2009-05-25 13:02 robert - - * examples/CMakeLists.txt, examples/osgvirtualprogram, - examples/osgvirtualprogram/CMakeLists.txt, - examples/osgvirtualprogram/CreateAdvancedHierachy.cpp, - examples/osgvirtualprogram/CreateSimpleHierachy.cpp, - examples/osgvirtualprogram/VirtualProgram.cpp, - examples/osgvirtualprogram/VirtualProgram.h, - examples/osgvirtualprogram/osgvirtualprogram.cpp: From Wojciech - Lewandowski, VirtualProgram example that illustrates how one can - create a custom system for composing shaders within the scene - graph. - -2009-05-25 12:07 robert - - * src/osgWrappers/osgAnimation/Timeline.cpp: Updated wrappers +Mon, 24 Jun 2013 09:59:22 +0000 +Checked in by : Robert Osfield +From Frederic Morin, "Current behaviour uses SDKSettings.plist to determine osx version but this file is only available when XCode is installed.This version works also when Command Line Tools for XCode are +installed (minimum build env for osx without XCode) -2009-05-25 12:04 robert +See https://github.com/openscenegraph/osg/pull/8 for patch details +Patch: https://github.com/openscenegraph/osg/pull/8/files" - * include/osgAnimation/Timeline: Changed Status enums to - ActionStatus and TimelineStatus to avoid X11 problems -2009-05-25 11:16 robert - * src/osgParticle/ParticleSystemUpdater.cpp: Added initializer of - ParticleSystemUpdater::_frameNumber +Mon, 24 Jun 2013 09:51:30 +0000 +Checked in by : Robert Osfield +From Farshid Lashkari, "I've attached a small patch that extends the Image::readImageFromCurrentTexture method to support more depth texture pixel formats (16, 24, 32, 32F). In order to compile, I moved some depth pixel format definitions from FrameBufferObject to Image. " -2009-05-25 11:12 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." - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Wojciech - Lewandowski, "Two fixes for LUMINANCE and ALPHA_LUMINACE pixel - formats written into DDS file. Component masks were incorrect. I - tested results with ultimate DDS compatibitlity tester ie - Microsoft DirectX Texture tool ;-). I have also added comment - with warning about possible problems when writing other than 8 - bit component pixel formats. - " +Mon, 24 Jun 2013 09:12:58 +0000 +Checked in by : Robert Osfield +From Nick Black, "Hey there! avcodec_open() has been deprecated for some time, and indeed has been removed in the most recent versions of libavcodec/ffmpeg. You're already using avcodec_open2() elsewhere, but one appears to have been missed. The change is trivial:[skynet](0) $ svn diff +Index: src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp +=================================================================== +--- src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp (revision 13355) ++++ src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp (working copy) +@@ -109,7 +109,7 @@ + // m_context->flags |= CODEC_FLAG_TRUNCATED; -2009-05-25 10:46 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"); + } - * src/osg/Notify.cpp: From Colin McDonald, "The latest osg::notify - is crashing at initialisation on Solaris, due to - constructor issues: - - Within the NullStream & NotifyStream classes the base class - objects - (ostream) were being initialised before the class member _buffer - objects - which they referenced, causing a crash. - - I had to move the file scope g_NullStream & g_NotifyStream - initialisation - into a function to get them to work. - - Also there was a missing osg:: qualifier on getNotifyHandler." +[skynet](0) $ -2009-05-22 08:31 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. - * CMakeLists.txt: From Alberto Luacas, added new pkg-cofig files +The modified src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp is attached. It +originates in svn trunk revision 13355. Thanks!" -2009-05-22 07:52 robert - * packaging/pkgconfig/openscenegraph-osg.pc.in, - packaging/pkgconfig/openscenegraph-osgAnimation.pc.in, - packaging/pkgconfig/openscenegraph-osgDB.pc.in, - packaging/pkgconfig/openscenegraph-osgFX.pc.in, - packaging/pkgconfig/openscenegraph-osgGA.pc.in, - packaging/pkgconfig/openscenegraph-osgIntrospection.pc.in, - packaging/pkgconfig/openscenegraph-osgManipulator.pc.in, - packaging/pkgconfig/openscenegraph-osgParticle.pc.in, - packaging/pkgconfig/openscenegraph-osgShadow.pc.in, - packaging/pkgconfig/openscenegraph-osgSim.pc.in, - packaging/pkgconfig/openscenegraph-osgTerrain.pc.in, - packaging/pkgconfig/openscenegraph-osgText.pc.in, - packaging/pkgconfig/openscenegraph-osgUtil.pc.in, - packaging/pkgconfig/openscenegraph-osgViewer.pc.in, - packaging/pkgconfig/openscenegraph-osgVolume.pc.in, - packaging/pkgconfig/openscenegraph-osgWidget.pc.in: From Alberto - Luacas, separate pkg-config .pc files -2009-05-21 16:33 robert +Mon, 24 Jun 2013 09:02:32 +0000 +Checked in by : Robert Osfield +Introduced typedef's to make the code more readble and maintanable - * src/osg/GraphicsContext.cpp: Fixed handling of case where the - master and the slave camera are placed on the same - GraphisContext, or when the master camera and slave camera are - assigned to different Camers. Note normally one doesn't mix - master with GraphicsContexts and slave cameras so neither case is - common. +Mon, 24 Jun 2013 08:48:55 +0000 +Checked in by : Robert Osfield +From Wang Rui, "The file attached includes two new features for the serialization IO functionality. First, custom serializer version control should work now, just by defining a new REGISTER_CUSTOM_OBJECT_WRAPPER macro. For example:// A custom class +namespace CustomDomain { -2009-05-21 08:37 robert +class MyGroup : public osg::Group +{ +public: + META_Node( CustomDomain, MyGroup ); - * src/osgPlugins/zip/unzip.cpp: Added a default value to avoid - warning + void setMyName( const std::string& n ); + const std::string& getMyName() const; -2009-05-20 12:14 robert + void setMyID( int id ); + int getMyID() const; - * src/osgPlugins/zip/unzip.cpp: Fixed warnings + ... +}; -2009-05-20 12:06 robert +} - * src/osgPlugins/zip/unzip.cpp: Fixed warnings +// The serialization wrapper using a custom domain name +REGISTER_CUSTOM_OBJECT_WRAPPER( MyDomain, + CustomDomain_MyGroup, + new CustomDomain::MyGroup, + CustomDomain::MyGroup, + "osg::Object osg::Node osg::Group CustomDomain::MyGroup" ) +{ + ADD_STRING_SERIALIZER( MyName, std::string() ); + { + UPDATE_TO_VERSION_SCOPED( 1 ); // Updated for a new domain version + ADD_INT_SERIALIZER( MyID, 0 ); + } +} -2009-05-20 11:14 robert +Save the class instance as follows: +osgDB::writeNodeFile( *myGroup, "serializer_test.osgt", new osgDB::Options("CustomDomains=MyDomain:1") ); - * src/osgWrappers/osgGA/SphericalManipulator.cpp, - src/osgWrappers/osgGA/TerrainManipulator.cpp: Updated wrappers +The output file will include the domain version definition and all the class data, and can be read back. We can also force setting the domain version by the CustomDomains option while reading the saved files. If we save the class instance without any options, MyID will be ignored because the default domain version is 0. -2009-05-20 11:08 robert +This may help third-party libraries like osgEarth to maintain their own serializers without regarding to the OSG soversion changes. - * include/osgGA/TerrainManipulator, - src/osgGA/TerrainManipulator.cpp: Changed TerrainManipulator to - use HEADING rather than AZIM to keep it consistent with - SphericalManipulator +Another feature added is a more robust binary format, which in fact adds a size-offset at each block's beginning. When there are problems or unsupported data types while reading, we can now directly jump to the block end indicated by the offset value. So a .osgb file will automatically ignore bad data and read remains as normal (at present it will fail at all). This feature will not break the backward compatibility, and can be disabled by setting "RobustBinaryFormat=false" while writing out. -2009-05-20 10:58 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." - * include/osgGA/SphericalManipulator, - src/osgGA/SphericalManipulator.cpp: Converted - SphericalManipulator to use Elevation and Heading rather than - Zenith and Azimuth. -2009-05-19 16:12 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - updated XCode-project -2009-05-19 15:11 robert +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." - * examples/osghud/osghud.cpp: Fixed typo -2009-05-19 15:10 robert - * src/osgWrappers/osg/Notify.cpp, src/osgWrappers/osg/Vec2b.cpp, - src/osgWrappers/osg/Vec3b.cpp, src/osgWrappers/osg/Vec4b.cpp, - src/osgWrappers/osg/Vec4ub.cpp, - src/osgWrappers/osgGA/SphericalManipulator.cpp: Updated wrappers +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. -2009-05-19 14:03 robert - - * include/osgGA/MatrixManipulator: From Martin Beckett, "In - MatrixManipulator can we have computeHomePosition() use _homeUp - rather than the hardcoded (0,0,1). - This makes it possible to redefine the viewing direction of - 'home' in the other manipulator - so home in a GIS app could be a - plan view. - Since _homeUp is set to (0,0,1) and no current code changes it - there shouldn't be any difference for current users." +" -2009-05-19 12:25 robert - * src/osgDB/ReaderWriter.cpp: Attempt to fix Cygwin build failure -2009-05-19 12:21 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." - * applications/osgviewer/osgviewer.cpp, - include/osgGA/SphericalManipulator, - src/osgGA/SphericalManipulator.cpp: Changed the default home - position so that it's consistent with other OSG manipulators. - Added setter of properties of the SphericalManipualtor, moved - across to using doubles internally - -2009-05-19 11:18 robert - - * include/osgGA/SphericalManipulator, src/osgGA/CMakeLists.txt, - src/osgGA/SphericalManipulator.cpp: From Mojtaba Fathi, "I've - developed a new manipulator which uses azimuth and zenith angles - to rotate scene and so avoids Roll angle rotation, such that - scene is always seen as Z upward." - -2009-05-19 10:45 robert - - * src/osgViewer/GraphicsWindowCocoa.mm: From Stephan Huber, "when - using windownames and switching between fullscreen and windowed - mode GraphicsWindowCocoa crashes. Attached you'll find a fix for - that bug. - " - -2009-05-19 10:42 robert - - * src/osgPlugins/zip/unzip.h: From Stephan Huber, replaced #include - with #include to fix build under OSX - -2009-05-19 10:35 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - updated XCode-project - -2009-05-19 09:26 robert - - * src/osgPlugins/zip/CMakeLists.txt, - src/osgPlugins/zip/ReaderWriterZIP.cpp, - src/osgPlugins/zip/unzip.cpp, src/osgPlugins/zip/unzip.h: From - Neil Hughes, intergrated support for uncompressing zip files in - memory and from istreams (enabling reading from http). - -2009-05-18 15:46 robert - - * src/osgUtil/RenderStage.cpp: Added enable of clear stencil and - depth mask to ensure that stencil and depth buffers are always - cleared when required - -2009-05-18 15:21 robert - - * src/osgPlugins/dae/CMakeLists.txt, - src/osgPlugins/dae/daeRSceneObjects.cpp, - src/osgPlugins/dae/daeReader.cpp, src/osgPlugins/dae/daeReader.h, - src/osgPlugins/dae/daeWGeometry.cpp, - src/osgPlugins/dae/daeWMaterials.cpp, - src/osgPlugins/dae/daeWSceneObjects.cpp, - src/osgPlugins/dae/daeWriter.cpp: From Roland Smeenk, "Attached - you will find some changes to the dae plugin to improve light - support. - - -Changed the addition of lights to add the lightsource directly - into the scenegraph (instead of below a switch node) - -All added lights are enabled in the root stateset and replace - the head- or skylight. - (if no lights are available the head- or skylight will remain - active) - -Ambient in osg::LightModel is zeroed out. All ambient now comes - from separate ambient only light sources. - -Lights can now be written properly - -Replaced strings by constants defined in the Collada DOM" - -2009-05-18 13:01 robert - - * src/osgDB/FileCache.cpp: Quietened down debug messages - -2009-05-18 12:54 robert - - * src/osgTerrain/Layer.cpp: From Ross Anderson, "Symptom: The - computation of TerrainTiles containing only image layers (no - elevation layer) is incorrect. The resulting bounding sphere will - always have a radius of zero. - - The fix is to remove the call to bs.expandBy(v) and compute the - radius directly. I believe this call was intended to be - bs.expandRadiusBy(v), but it is superfluous when the radius is - computed directly." - -2009-05-18 12:04 robert - - * include/osg/Notify, src/osg/Notify.cpp: From Maciej Krol,"With - advent of GUI applications in OSG there is a growing need to - redirect notification messages to third party systems. For - example windows applications do not have console output, it would - be appropriate to redirect notifications to GUI widget or debug - output. I have revamped notification system to fit this need. New - notification stream is using NotifyHandler as a message sink. - Handler is called whenever stream is synchronized (i.e. after - < WARN - - WinDebugNotifyHandler, windows users can redirect notifications - to windows debug output, notifications can be viewed in output - window of the debugger i.e. MSVC or DebugView - (http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx) - (see screenshot). - - I have seen on osg-users that some people do - std::cerr.rdbuf(otherStream.rdbuf()) to redirect notifications. - This trick will no longer work since osg::notify() returns - internal osg::NotifyStream not std::cout or std::cerr. You can - use osg::notify().rdbuf(otherStream.rdbuf()) to do this instead. - - Additionally I've made some minor fixes: - - Minor imrovements to osg::notify documentation - - NullStream could crash by deleting stream buffer other than - default NullStreamBuffer in the destructor i.e. after - osg::notify(osg::DEBUG_FP).rdbuf(otherStream.rdbuf())" - -2009-05-18 10:37 robert - - * include/osg/BoundingSphere, include/osg/Vec2b, include/osg/Vec3b, - include/osg/Vec4b, include/osg/Vec4ub: From Paul Obermeier, - "Please find enclosed some changed OSG header files. - The changes are more or less just beautifications - (when looked at them from the C++ view), but make - wrapping OSG with SWIG easier. - I have tested the changes with both 2.8.1-rc4 and the - current head and would appreciate to incorporate the - changes in both branches. - - Here is a description of the changes: - - osg/BoundingSphere: - Use the following typedef (like used in BoundingBox) - typedef typename VT::value_type value_type; - instead of - typedef typename vec_type::value_type value_type; - - SWIG reports errors on the latter construct. - Also makes it consistent with BoundingBox. - - - osg/Vec4ub: - Consistent use of "value_type" throughout the file. - - - osg/Vec?b: - Consistent use of "value_type" throughout the files. - - Also changed - typedef char value_type; - to - typedef signed char value_type; - - In the case of a simple "char", SWIG assumes a string. - Using "signed char" instead of "char" does not change - the behaviour of the class. - " - -2009-05-18 10:28 robert - - * include/osg/Version, include/osgDB/Options, - include/osgDB/Registry: Minor tweaks to avoid warnings when - generating wrappers/doxygen documentation - -2009-05-18 10:17 robert - - * CMakeModules/FindCOLLADA.cmake, CMakeModules/FindFFmpeg.cmake, - CMakeModules/FindFLTK.cmake, CMakeModules/FindFOX.cmake, - CMakeModules/FindGIFLIB.cmake, CMakeModules/FindJasper.cmake, - CMakeModules/FindLibVNCServer.cmake, - CMakeModules/FindOpenEXR.cmake, CMakeModules/FindOpenVRML.cmake, - CMakeModules/FindPerformer.cmake, CMakeModules/FindXUL.cmake, - CMakeModules/FindXine.cmake, CMakeModules/FindZLIB.cmake: From - Philip Lowman, removed inappropriate references to OSG_ in 3rd - party libs searches - -2009-05-18 09:34 robert - - * src/osgWrappers/osgGA/GUIEventAdapter.cpp: Updated wrappers - -2009-05-15 15:49 robert - - * applications/present3D/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp: From Jean-Sebastien Guay, - build fixes form Windows - -2009-05-15 15:10 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Added checks against - libcurl version to decide what features are used or not - -2009-05-15 12:31 robert - - * src/osgPlugins/ive/ReaderWriterIVE.cpp: Removed debugging code - block - -2009-05-15 12:22 robert - - * src/OpenThreads/pthreads/PThread.c++, - src/OpenThreads/sproc/SprocThread.c++, - src/OpenThreads/win32/Win32Thread.cpp: Removed redundant errno - declaration that was cause build problems under RedHat 3.2. - - Removed redundant version declarations. - -2009-05-15 07:50 robert - - * src/osgDB/ReaderWriter.cpp: From Martin Beckett, "n bool - ReaderWriter::fileExists(const std::string& filename, const - Options* /*options*/) const - - Windows doesn't define F_OK and access() is in io.h, rather than - stdio.h - These are fixed in FileUtils.cpp, so I copied the fix from there - - might be better to move this to FileUtils header and include it - here and in FileUtils.cpp?" - -2009-05-14 16:24 robert - - * applications/osgversion/CMakeLists.txt, - applications/osgversion/Contributors.cpp, - applications/osgversion/osgversion.cpp: Moved the compilation of - Contributors list to separate source file, and made it an - optional compile based on whether you are a maintainer or not. - -2009-05-14 16:08 robert - - * include/osgGA/GUIEventAdapter, src/osgGA/GUIEventAdapter.cpp: - From Ulrich Hertlein, "please find attached a patch for - TrackballManipulator to fix zooming using the MBP touchpad. The - old code would always zoom-in even when using the gesture to - zoom-out. - - Also attached are some code and documentation cleanups for - GUIEventAdapter that collect related values (e.g. scrolling, - tablet pen) in a struct. - " - -2009-05-14 16:06 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Added setting of full - filename to options as "filename" entry. - -2009-05-14 15:45 robert - - * src/osgGA/TrackballManipulator.cpp: From Ulrich Hertlein, "please - find attached a patch for TrackballManipulator to fix zooming - using the MBP touchpad. The old code would always zoom-in even - when using the gesture to zoom-out. - - Also attached are some code and documentation cleanups for - GUIEventAdapter that collect related values (e.g. scrolling, - tablet pen) in a struct. - " - -2009-05-14 15:34 robert - - * include/osgViewer/api/Cocoa/GraphicsWindowCocoa, - src/osgViewer/DarwinUtils.h, src/osgViewer/DarwinUtils.mm, - src/osgViewer/GraphicsWindowCocoa.mm: From Stephan Huber, - "attached you'll find some bugfixes and enhancements for the - Cocoa - implementation of GraoicsWindowCocoa: - - Enhancements/Bugfixes: - - + now it's possible to integrate osgViewer better into existing - cocoa-applications: - * create one or more NSOpenGLView(s) and add these to your - window(s) - * create one or more NSWindows - * disable the integrated event-polling of osgViewer, and let the - work be - done by Cocoa / NSApplicationRun. You'll have to run the - osgViewer's - runloop in a separate thread - - + missing menu-event-handling implemented - - + added NSAutoReleasePools where necessary, this fixes some - memory-leaks - + fixed some crashes and thread-issues" - -2009-05-14 13:40 robert - - * applications/present3D/CMakeLists.txt, - applications/present3D/PickEventHandler.cpp, - applications/present3D/ReaderWriterP3D.cpp, - applications/present3D/ReaderWriterPaths.cpp, - applications/present3D/SlideEventHandler.cpp, - applications/present3D/SlideShowConstructor.cpp, - applications/present3D/SlideShowConstructor.h: Integrated support - for relative paths, and http hosted presentations - -2009-05-14 13:30 robert - - * src/osgPlugins/p3d/PickEventHandler.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/SlideShowConstructor.cpp: Replaced tabs with - spaces - -2009-05-14 13:16 robert - - * src/osgPlugins/p3d/SlideEventHandler.cpp, - src/osgPlugins/p3d/SlideShowConstructor.h: Changed tabs to spaces - -2009-05-14 13:10 robert - - * src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/ReaderWriterPaths.cpp, - src/osgPlugins/p3d/SlideShowConstructor.cpp: Changed debug - message to INFO notication level - -2009-05-14 13:05 robert - - * src/osgPlugins/p3d/CMakeLists.txt, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/ReaderWriterPaths.cpp, - src/osgPlugins/p3d/SlideShowConstructor.cpp, - src/osgPlugins/p3d/SlideShowConstructor.h: Added support for read - the various animaton materials/paths from http +Fri, 21 Jun 2013 19:35:56 +0000 +Checked in by : Robert Osfield +Updated version number after dev release -2009-05-14 09:44 robert +Fri, 21 Jun 2013 19:35:26 +0000 +Checked in by : Robert Osfield +Removed spaces from end of lines - * src/osgWrappers/osg/State.cpp, src/osgWrappers/osgDB/Options.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgDB/XmlParser.cpp: Updated wrappers +Fri, 21 Jun 2013 14:37:35 +0000 +Checked in by : Robert Osfield +Fixed author name error introduced by xxdiff -2009-05-13 19:48 robert +Fri, 21 Jun 2013 14:30:45 +0000 +Checked in by : Robert Osfield +Reapplied AUTHORS changes - * src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/SlideShowConstructor.cpp, - src/osgPlugins/p3d/SlideShowConstructor.h: Added support for - reading presentations and content via http, with support of the - FileCache when available. +Fri, 21 Jun 2013 14:29:00 +0000 +Checked in by : Robert Osfield +Update ChangeLog and AUTHORS.txt for release -2009-05-13 19:47 robert +Fri, 21 Jun 2013 14:17:42 +0000 +Checked in by : Robert Osfield +Removed unneccessary handling of BIND_PER_PRIMITIVE on output code - * src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/curl/ReaderWriterCURL.h: Added intial cut at - fileExists() implement using libcurl. Note, current implement - loads the whole file and then discards it so is very - in-efficient. This implementation will soon be replaced. +Fri, 21 Jun 2013 13:59:18 +0000 +Checked in by : Robert Osfield +From Pjotr Svetachov, introduced use of osg::observer_ptr in place of osg::Camera* -2009-05-13 19:46 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." - * include/osgDB/Options, include/osgDB/ReaderWriter, - src/osgDB/ReaderWriter.cpp: Added ReaderWriter::fileExists() - method to help enable querrying of existing of files on servers - using the curl plugin +Fri, 21 Jun 2013 12:10:44 +0000 +Checked in by : Robert Osfield +From Laurens Voerman, build fix -2009-05-13 19:44 robert +Fri, 21 Jun 2013 10:59:03 +0000 +Checked in by : Robert Osfield +Build fixes for new osg::Geometry - * include/osgDB/FileCache, src/osgDB/FileCache.cpp: Added support - for Object, Image, HeightField and Shaders in FileCache +Fri, 21 Jun 2013 10:14:18 +0000 +Checked in by : Robert Osfield +Converted osg::Geometry::ArrayData usage across to osg::Array. -2009-05-13 15:05 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." - * include/osgDB/XmlParser, src/osgDB/XmlParser.cpp: Fixed handling - of space after = in options set up. +Fri, 21 Jun 2013 09:53:57 +0000 +Checked in by : Robert Osfield +From Mathieu Marache, I needed to modify the FindCOLLADA.cmake to enable its compilation under macosx. -2009-05-13 08:40 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 - * examples/osgmovie/osgmovie.cpp: Rearranged static SDL callback so - that it's after the SDL.h header. +Fri, 21 Jun 2013 09:43:15 +0000 +Checked in by : Robert Osfield +Added new osg::Array::Binding parameter to osg::Geometry::set*Array(osg::Array* array, osg::Array::Binding binding=osg::Array::BIND_UNDEFINED) methods to make it easier for the user to set the binding without the need to call the deprecated osg::Geometry::set*Binding(osg::Geometry::AttributeBinding) -2009-05-13 08:33 robert +Fri, 21 Jun 2013 09:40:43 +0000 +Checked in by : Robert Osfield +Removed spaces at ends of lines - * src/OpenThreads/win32/Win32Thread.cpp: From Thibault Genessay, - "On Windows, when a process tries to spawn one too many thread, - _beginthreadex() fails but OpenThreads still waits on the startup - Block before returning to the caller of - OpenThreads::Thread::start(). - This causes a deadlock. The return value of _beginthreadex() is - actually checked, but after the call to - OpenThreads::Block::block() so - it is basically useless. - - Attached is a fix to move the check for the return value of - _beginthreadex() before the call to block(), so that start() can - return to the caller with a non-zero error code. This solves the - problem for me." +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. -2009-05-12 16:26 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 - * examples/osgmovie/osgmovie.cpp: Removed SDL header +With these changes, osg 3.0.1 is able to be built and packaged on DragonFly +whereas it previously failed to compile." -2009-05-12 13:24 robert - * examples/osgmovie/osgmovie.cpp: Re-ordered SDL class to try and - avoid OSX issues with _main. -2009-05-12 12:27 robert - * examples/osgmovie/osgmovie.cpp: Attempt to fix OSX missing _main - symbol error +Fri, 21 Jun 2013 08:56:24 +0000 +Checked in by : Robert Osfield +From Matthias Helsing, "Here is the changed source to prefer using _NET_WM_STATE_ABOVE but fall back to XRaiseWindow should the Atoms not be supported. I'm not sure how many might be using the raiseWindow feature but I needed it for a splash on Ubuntu 12.04." -2009-05-12 11:54 cedricpinson +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." - * src/osgAnimation/MorphGeometry.cpp, - src/osgPlugins/osgAnimation/ReaderWriter.cpp: from Maciej - Krol:\nFixes for OSG_USE_PTR_IMPLICIT_OUTPUT_CONVERSION = OFF +Fri, 21 Jun 2013 08:03:56 +0000 +Checked in by : Robert Osfield +From Jan Ciger, " I have put there in the comment a nicer way of doing version checks, but that needs at least CMake 2.6.2." -2009-05-12 10:45 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. - * src/osgWidget/WindowManager.cpp: From Fajran Iman Rusadi, fixed - error in window index management when children add insert or - removed. +Thu, 20 Jun 2013 15:48:14 +0000 +Checked in by : Robert Osfield +Temporarily commented out call to view.assignStereoOrKeystoneToCamera() for implementing stereo as this was causing problem in trackball manipulation -2009-05-12 08:56 shuber +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() - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: - updated XCode project to reflect current trunk - -2009-05-12 05:58 robert - - * src/osgDB/Callbacks.cpp: Added return to end of file to prevent - warning - -2009-05-12 05:49 robert - - * include/osg/State: Moved getAttributeVec into public: to allow - 3rd party code to access without having to subclass - -2009-05-11 16:38 robert - - * src/osgWrappers/osgDB/Callbacks.cpp: Updated wrappers - -2009-05-11 16:38 robert - - * include/osgDB/Callbacks, include/osgDB/Options, - src/osgDB/CMakeLists.txt, src/osgDB/Callbacks.cpp, - src/osgDB/Options.cpp, src/osgWrappers/osgDB/Options.cpp, - src/osgWrappers/osgDB/Registry.cpp: Moved - ReadFile/WriteFile/FindFile/FileLocationCallbacks from - include/osg/Options into their own Callbacks header/source file. - -2009-05-11 14:11 robert - - * src/osgDB/DatabasePager.cpp: Commented out debug messages - -2009-05-11 13:03 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: - updated XCode project to reflect current trunk - -2009-05-11 11:39 robert +Thu, 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." - * CMakeLists.txt, include/osg/NodeVisitor, include/osg/PagedLOD, - include/osgDB/DatabasePager, include/osgDB/FileCache, - include/osgDB/Options, include/osgDB/Registry, - src/osg/PagedLOD.cpp, src/osgDB/DatabasePager.cpp, - src/osgDB/FileCache.cpp, src/osgDB/Options.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osg/PagedLOD.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/Options.cpp, - src/osgWrappers/osgDB/Registry.cpp: Moved - Registry::ReadFileCallback + WriteFileCallback, and - osgDB::ReaderWriter::Options into their own separate Options file - and into the osgDB namespace. - - Introduced a new callback osgDB::FindFileCallback that overrides - the default behavior of findDataFile/findLibraryFile. - - Introduced support for assigning ReaderWriter::Options directory - to PagedLOD. - - Introduced new osgDB::FileLocationCallback for assistancing the - DatabasePager to know when a file is hosted on a local or remote - file system. - -2009-05-11 11:08 robert - - * include/osg/Version: Added OSG_MIN_VERSION_REQUIRED, - OSG_VERSION_LESS_THAN, OSG_VERSION_LESS_OR_EQUAL, - OSG_VERSION_GREATER_THAN, OSG_VERSION_GREATER_OR_EQUAL macros to - help out with management of feature usage in 3rd party libs and - applications +Thu, 20 Jun 2013 10:59:00 +0000 +Checked in by : Robert Osfield +Commented out verbose debug messages for shader composition -2009-05-09 08:54 robert +Thu, 20 Jun 2013 10:42:24 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and AUTHORS file - * include/osgDB/Options, src/osgDB/Options.cpp: Moved Options copy - constructor to .cpp +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. -2009-05-09 08:49 robert +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. - * include/osgDB/Archive, include/osgDB/DatabasePager, - include/osgDB/FileCache, include/osgDB/FileUtils, - include/osgDB/ImageOptions, include/osgDB/ImagePager, - include/osgDB/Input, include/osgDB/Options, include/osgDB/Output, - include/osgDB/ReadFile, include/osgDB/ReaderWriter, - include/osgDB/Registry, include/osgDB/WriteFile, - include/osgDB/XmlParser, include/osgVolume/Layer, - src/osg/Shader.cpp, src/osgDB/Archive.cpp, - src/osgDB/CMakeLists.txt, src/osgDB/DatabasePager.cpp, - src/osgDB/FileCache.cpp, src/osgDB/FileUtils.cpp, - src/osgDB/Options.cpp, src/osgDB/Output.cpp, - src/osgDB/ReadFile.cpp, src/osgDB/ReaderWriter.cpp, - src/osgDB/Registry.cpp, src/osgDB/WriteFile.cpp, - src/osgDB/XmlParser.cpp, src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/ExportOptions.h, - src/osgPlugins/ive/PagedLOD.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgWrappers/genwrapper.conf, - src/osgWrappers/osg/BoundingSphere.cpp, - src/osgWrappers/osgDB/Archive.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/FileUtils.cpp, - src/osgWrappers/osgDB/ImageOptions.cpp, - src/osgWrappers/osgDB/Input.cpp, - src/osgWrappers/osgDB/Options.cpp, - src/osgWrappers/osgDB/Output.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgDB/Registry.cpp: Refactored the - Registry::ReadFileCallback, WriteFileCallback and - ReaderWriter::Options to they are now defined in their own header - and in the osgDB namespace. - - Introduced a new FindFileCallback to Registry to compliement the - existing ReadFileCallback and WriteFileCallback. - - Added support for assign Find, Read and WriteFileCallbacks to - osdDB::Options to enable plugins/applications to override the - callbacks just for that - read/write call and any nested file operations - -2009-05-08 12:53 robert - - * src/osgUtil/CullVisitor.cpp: Removed redudent check against - frustum.getCurrentMask() - -2009-05-08 12:38 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: Changed 0 initializer to - InheritCursor - -2009-05-08 12:34 robert - - * src/osgPlugins/p3d/CMakeLists.txt: Added osgGA and osgText to - dependency list - -2009-05-08 12:32 robert - - * src/osgPlugins/p3d/CMakeLists.txt: Added osgText dependency - -2009-05-08 09:29 robert - - * CMakeLists.txt, applications/present3D/CMakeLists.txt: Cleaned up - set up of SDL. - -2009-05-08 08:34 robert - - * src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/SlideShowConstructor.cpp, - src/osgPlugins/p3d/SlideShowConstructor.h: Added support for - pushing handling relative paths set internally in the - presentation file. - - Added setting of env vars defined in presentation file. - -2009-05-08 07:50 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: Fixed unitialized variable - -2009-05-08 07:46 robert - - * src/osgPlugins/ffmpeg/FFmpegClocks.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp: From Jean-Sebastien - Guay, changed the timing control for when no audio layer is - supplied. - -2009-05-07 18:32 robert - - * src/osgPlugins/osgVolume/ImageLayer.cpp, - src/osgPlugins/osgVolume/Layer.cpp: Moved property code from - ImageLayer into Layer where it belongs - -2009-05-07 18:30 robert - - * include/osg/Polytope: Changed setting of stack back assigned to - push_back to fix bug with cull mask management. - -2009-05-07 14:53 robert - - * src/osg/GraphicsContext.cpp: Fixed handling of resize of - ABSOLUTE_RF slave cameras - -2009-05-07 13:30 robert - - * include/osgViewer/api/Win32/GraphicsWindowWin32, - src/osgViewer/GraphicsWindowWin32.cpp: From Frederic Bouvier, - SetCursor fixes from GraphicsWindowWin32, - - Original email from Frederic at start of thread: - "he patch attached, made from r10068, fix two things, in other of - importance : - - - the selected cursor is never shown ( second change in file ). - Only the left arrow is always displayed. - - remove the arbitrary ( in my sense ) limitation that the user - cannot choose a cursor with the same shape that one used when - resizing the window. This limitation doesn't exist for X11, and - we have a diverging behaviour there ( first change in file ). - Flightgear use the LeftRightCursor in look around mode." - - Follow up email from Frederic (with changes that finally made it - into this check in: - "I've just tested Mark's suggestion and it works perfectly, even - when the - cursor goes to the border then come back inside the window. - But his patch doesn't seem to be based on the last revision of - the - files, or at least not on the trunk, and there are more changes - than - expected in them, including some loss from the previous patches. - The patch attached is based on r10068 of - src/osgViewer/GraphicsWindowWin32.cpp and r10067 of - include/osgViewer/api/Win32/GraphicsWindowWin32" - -2009-05-07 13:23 robert - - * src/osgDB/Registry.cpp: From Stephan Huber, "while debugging a - problem in finding plugins on OS X I discovered, that - the conditional directives for setting the prepend-string in - createLibraryNameForExtension were not in effect, because of the - mixture - of different #ifdef styles. - - I removed the conditional part for __APPLE__ completely to be - more - standard-conform with other platforms (plugins should be located - in - osgPlugins-X.X.X/). Because of the wrong syntax of the - conditional - compile the old code was not used anyway -- so no functional - change. - " - -2009-05-07 13:21 robert - - * src/osgPlugins/ply/vertexData.cpp: From MAthias Froehlich, - "Attached is a compile fix I need on Suse 11.1 for a successful - compile. - Just avoid uint8_t typed values in - src/osgPlugins/ply/vertexData.cpp - if they are not needed for a particular reason ..." - -2009-05-07 13:15 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Chris Denham, "For - me, on Windows, I also get a slew of these warnings when I move - the window off screen. - So, might be a bit fiddly to try and prevent frame update in all - situations that SwapBuffers retuns false. - I wondered if we could address this issue by only reporting the - error if GetLastError is also non zero. Works for me! - The value returned by GetLastError is zero when SwapBuffers is - called for a minimized or off screen window, so we could just add - a check for this. - Just say the word, and I'll post my modified - GraphicsWindowWin32.cpp to the submissions list. ;-) - Cheers. - Chris. - - e.g. - - //------------- OSG- 2..8 ---------- - void GraphicsWindowWin32::swapBuffersImplementation() - { - if (!_realized) return; - if (!::SwapBuffers(_hdc)) - { - reportErrorForScreen("GraphicsWindowWin32::swapBuffersImplementation() - - Unable to swap display buffers", _traits->screenNum, - ::GetLastError()); - } - } - //------------- Modification to remove redundant warnings - ---------- - void GraphicsWindowWin32::swapBuffersImplementation() - { - if (!_realized) return; - if (!::SwapBuffers(_hdc) && ::GetLastError() != 0) - { - reportErrorForScreen("GraphicsWindowWin32::swapBuffersImplementation() - - Unable to swap display buffers", _traits->screenNum, - ::GetLastError()); - } - } - " - -2009-05-07 12:55 robert - - * CMakeLists.txt: From Michael Platings, added VisualStidio - specific option for disabling iterator checking. - -2009-05-07 09:40 robert - - * src/osgPlugins/pdf/CMakeLists.txt: Fixed typo of - POPPLER_LIBRARY_DIRS - -2009-05-07 09:16 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: - updated XCode project to reflect current trunk - -2009-05-07 09:07 robert - - * src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/VolumeTransferFunctionProperty.cpp: Added - support for osgVolume::TransferFunctionProperty - -2009-05-06 13:47 robert - - * src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/Node.cpp, - src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/ive/VolumeCompositeProperty.cpp, - src/osgPlugins/ive/VolumeCompositeProperty.h, - src/osgPlugins/ive/VolumeLayer.cpp, - src/osgPlugins/ive/VolumeProperty.h, - src/osgPlugins/ive/VolumePropertyAdjustmentCallback.cpp, - src/osgPlugins/ive/VolumePropertyAdjustmentCallback.h, - src/osgPlugins/ive/VolumeScalarProperty.cpp, - src/osgPlugins/ive/VolumeScalarProperty.h, - src/osgPlugins/ive/VolumeSwitchProperty.cpp, - src/osgPlugins/ive/VolumeSwitchProperty.h, - src/osgPlugins/ive/VolumeTransferFunctionProperty.cpp, - src/osgPlugins/ive/VolumeTransferFunctionProperty.h: Added .ive - reading/writing support for osgVolume::Property classes - -2009-05-05 18:34 robert - - * src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/ive/Volume.cpp, src/osgPlugins/ive/Volume.h, - src/osgPlugins/ive/VolumeCompositeLayer.cpp, - src/osgPlugins/ive/VolumeCompositeLayer.h, - src/osgPlugins/ive/VolumeImageLayer.cpp, - src/osgPlugins/ive/VolumeImageLayer.h, - src/osgPlugins/ive/VolumeLayer.cpp, - src/osgPlugins/ive/VolumeLayer.h, - src/osgPlugins/ive/VolumeLocator.cpp, - src/osgPlugins/ive/VolumeLocator.h, - src/osgPlugins/ive/VolumeTile.cpp, - src/osgPlugins/ive/VolumeTile.h: Added initial cut at support for - osgVolume in .ive format. - -2009-05-05 12:46 robert - - * src/osgVolume/RayTracedTechnique.cpp: Changed debug message from - NOTICE to INFO - -2009-05-05 12:18 robert - - * src/osgPlugins/osgVolume/ImageLayer.cpp: Fixed support for - reading imagery relative to the .osg being loaded - -2009-05-05 11:05 robert - - * src/osgVolume/FixedFunctionTechnique.cpp: Added checks to prevent - crash when no imagery is applied - -2009-05-05 11:03 robert - - * src/osgVolume/RayTracedTechnique.cpp: Added checks to prevent - crashes when no imagery is assigend to volume - -2009-05-05 10:27 robert - - * applications/present3D/present3D.cpp: Added selection of first - slide - -2009-05-03 18:51 robert - - * applications/present3D/Cluster.cpp, - applications/present3D/SlideEventHandler.cpp, - applications/present3D/SlideEventHandler.h, - src/osgPlugins/p3d/SlideEventHandler.cpp, - src/osgPlugins/p3d/SlideEventHandler.h: Warning fixes - -2009-05-02 07:50 robert - - * applications/present3D/Cluster.cpp, - applications/present3D/SlideEventHandler.cpp, - applications/present3D/SlideEventHandler.h: Warning fixes - -2009-05-01 10:24 robert - - * include/osgDB/XmlParser: Added export for windows build - -2009-05-01 08:49 robert - - * src/osgDB/FileUtils.cpp: From Michael Platings, compile fix for - the following problem report on osg-users: - - "the latest SVN revision cannot be build under Windows if - ?OSG_USE_UTF8_FILENAME? config option is enabled. The error - occurs in ?FileUtils.cpp? file, line 663, since there is no - UNICODE-capable version of the ?GetProcAddress? function. The - ?OSGDB_WINDOWS_FUNCT_STRING? makro is defined as follows in that - case - - - - #define OSGDB_WINDOWS_FUNCT_STRING(x) L ## #x L"W" - - - - Thus the second parameter cannot be converted from wchar_t to - LPCSTR. Should we convert the second parameter from wchar_t* to - LPCSTR or use the same definition for the - ?OSGDB_WINDOWS_FUNCT_STRING? makro in both cases? - - - - The second error occurs in the same file, line 669. The second - parameter for the ?pGetModuleHandleEx? function should be defined - as wchar_t, but it?s defined as ?static char static_variable? in - the line 667." - -2009-05-01 08:20 robert - - * src/osgPlugins/3ds/readwrite.cpp: Fixed warning + bug - -2009-05-01 08:10 robert - - * applications/present3D/CMakeLists.txt: Added ws2_32 dependency - -2009-04-30 13:13 robert - - * src/osgViewer/View.cpp: Added check against the validity of - ViewerBase to make sure that a null pointer isn't dereferenced. - -2009-04-30 08:50 robert - - * applications/present3D/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp: Added support for reading - from streams - -2009-04-30 08:27 robert - - * applications/present3D/CMakeLists.txt, include/osgDB/XmlParser, - src/osgDB/XmlParser.cpp: Build fixes - -2009-04-29 20:55 robert - - * src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/SlideEventHandler.cpp, - src/osgPlugins/p3d/SlideEventHandler.h: Re-instated the code to - allow event handler to run in standard viewers like osgviewer - -2009-04-29 20:30 robert - - * CMakeLists.txt, applications/CMakeLists.txt, - applications/present3D/CMakeLists.txt, - applications/present3D/ReadShowFile.cpp, - applications/present3D/ReaderWriterP3D.cpp, - applications/present3D/ReaderWriterXML.cpp, - include/osgDB/XmlParser, src/osgDB/CMakeLists.txt, - src/osgDB/DynamicLibrary.cpp, src/osgDB/XmlParser.cpp, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/p3d/CMakeLists.txt, - src/osgPlugins/p3d/PickEventHandler.cpp, - src/osgPlugins/p3d/PickEventHandler.h, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/SlideEventHandler.cpp, - src/osgPlugins/p3d/SlideEventHandler.h, - src/osgPlugins/p3d/SlideShowConstructor.cpp, - src/osgPlugins/p3d/SlideShowConstructor.h, - src/osgWrappers/osgDB/XmlParser.cpp: Created a simple XmlNode - parser class for reading of basic xml files, such as used by - present3D. - - Converted Present3D across from using libxml2 to using the new - osgDB::XmlNode/XmlNode::Input classes from Xml Parsing. - This changes removes the dependency on libxml2, and allows the - present3D application and p3d to work on all platforms. - -2009-04-28 15:50 robert - - * src/osgPlugins/p3d/CMakeLists.txt: Added osgFX to dependencies - -2009-04-28 15:48 robert - - * src/osgPlugins/p3d/CMakeLists.txt: Added osgViewer as a - dependency - -2009-04-28 14:26 robert - - * src/osgVolume/RayTracedTechnique.cpp, - src/osgVolume/Shaders/volume_iso_frag.cpp: Enabled blending to - all but iso surface shader. - - Changed the alpha value of the iso surface colour to 1.0 - -2009-04-28 14:03 robert - - * applications/present3D/ExportHTML.cpp, - applications/present3D/ExportHTML.h, - applications/present3D/PickEventHandler.cpp, - applications/present3D/PickEventHandler.h, - applications/present3D/ReadShowFile.cpp, - applications/present3D/ReaderWriterXML.cpp, - applications/present3D/SlideEventHandler.cpp, - applications/present3D/SlideEventHandler.h, - applications/present3D/SlideShowConstructor.cpp, - applications/present3D/SlideShowConstructor.h, - applications/present3D/present3D.cpp: Reorganised placement of - classes associated with scene graph. - - Warning clean up. - -2009-04-28 11:57 robert - - * applications/CMakeLists.txt, applications/present3D, - applications/present3D/AnimationMaterial.cpp, - applications/present3D/AnimationMaterial.h, - applications/present3D/CMakeLists.txt, - applications/present3D/Cluster.cpp, - applications/present3D/Cluster.h, - applications/present3D/CompileSlideCallback.cpp, - applications/present3D/CompileSlideCallback.h, - applications/present3D/ExportHTML.cpp, - applications/present3D/ExportHTML.h, - applications/present3D/PickEventHandler.cpp, - applications/present3D/PickEventHandler.h, - applications/present3D/PointsEventHandler.cpp, - applications/present3D/PointsEventHandler.h, - applications/present3D/ReadShowFile.cpp, - applications/present3D/ReadShowFile.h, - applications/present3D/ReaderWriterXML.cpp, - applications/present3D/SDLIntegration.cpp, - applications/present3D/SDLIntegration.h, - applications/present3D/ShowEventHandler.cpp, - applications/present3D/ShowEventHandler.h, - applications/present3D/SlideEventHandler.cpp, - applications/present3D/SlideEventHandler.h, - applications/present3D/SlideShowConstructor.cpp, - applications/present3D/SlideShowConstructor.h, - applications/present3D/present3D.cpp: Moved present3D from own - repository into core OSG. - -2009-04-27 16:32 robert - - * src/osg/GLExtensions.cpp: Fixed typo - -2009-04-27 15:45 robert - - * src/osgPlugins/p3d/SlideShowConstructor.cpp: Added detection of - active alpha channel. - -2009-04-27 13:54 robert - - * src/osgPlugins/p3d/SlideEventHandler.cpp, - src/osgPlugins/p3d/SlideEventHandler.h: Further improvements in - p3d plugin - -2009-04-27 11:02 robert - - * CMakeLists.txt, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/p3d, src/osgPlugins/p3d/AnimationMaterial.cpp, - src/osgPlugins/p3d/AnimationMaterial.h, - src/osgPlugins/p3d/CMakeLists.txt, - src/osgPlugins/p3d/CompileSlideCallback.cpp, - src/osgPlugins/p3d/CompileSlideCallback.h, - src/osgPlugins/p3d/PickEventHandler.cpp, - src/osgPlugins/p3d/PickEventHandler.h, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/SlideEventHandler.cpp, - src/osgPlugins/p3d/SlideEventHandler.h, - src/osgPlugins/p3d/SlideShowConstructor.cpp, - src/osgPlugins/p3d/SlideShowConstructor.h: Introduced first cut - of Present3D integration with the core OSG with the introduction - of a .p3d plugin. +I attach a modified osgQt/GraphicsWindowQt.cpp with this change." -2009-04-27 06:26 robert - * src/osg/GLExtensions.cpp: Attempt to fix mingw warnings -2009-04-25 21:44 robert +Thu, 20 Jun 2013 09:30:31 +0000 +Checked in by : Robert Osfield +From Jan Ciger, compilation fix for Qt 5.0.2 - * src/osgViewer/ViewerBase.cpp: Fixed warning +Thu, 20 Jun 2013 09:27:50 +0000 +Checked in by : Robert Osfield +From Laurens Voerman, build fix for VS. -2009-04-24 20:37 robert +Wed, 19 Jun 2013 17:28:28 +0000 +Checked in by : Robert Osfield +Removed svn:executable property. - * AUTHORS.txt, ChangeLog, applications/osgversion/osgversion.cpp: - Updated ChangeLog and AUTHORS for 2.9.4 dev release +Wed, 19 Jun 2013 17:26:59 +0000 +Checked in by : Robert Osfield +Removed svn:executable property -2009-04-24 20:14 robert +Wed, 19 Jun 2013 17:25:55 +0000 +Checked in by : Robert Osfield +Removed svn:executable property. - * src/osgWrappers/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/Viewer.cpp, - src/osgWrappers/osgViewer/ViewerBase.cpp: Updated wrappers +Wed, 19 Jun 2013 16:24:59 +0000 +Checked in by : Robert Osfield +Cleaned up usage of BIND_PER_PRIMITIVE where possible. -2009-04-24 18:37 robert +Wed, 19 Jun 2013 12:32:40 +0000 +Checked in by : Robert Osfield +From Magnus Kessler, typo fixes to doxygen docs and comments - * src/osgViewer/Viewer.cpp: Added checking of need to update. +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(-) -2009-04-24 17:51 robert +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 - * include/osgUtil/IntersectVisitor: Added suggestion of - IntersectionVisitor instead. + 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; -2009-04-24 17:49 robert + // Mark the triangle node" - * include/osgUtil/IntersectVisitor: Changed doxygen docs to say - deprecated -2009-04-24 16:20 robert - * include/osgViewer/CompositeViewer, include/osgViewer/View, - include/osgViewer/Viewer, include/osgViewer/ViewerBase, - src/osgViewer/CompositeViewer.cpp, - src/osgViewer/StatsHandler.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgViewer/ViewerBase.cpp, - src/osgViewer/ViewerEventHandlers.cpp: Introduce new run frame - rate management support to allow control of maximum frame rate - and to support on demand rendering of frames +Wed, 19 Jun 2013 12:27:28 +0000 +Checked in by : Robert Osfield +Converted tabs to four spaces -2009-04-24 11:53 robert +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 - * ChangeLog: Updated ChangeLog +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 " -2009-04-24 11:23 robert - * src/osgWrappers/osg/TextureRectangle.cpp: Updated wrappers -2009-04-24 11:01 robert +Wed, 19 Jun 2013 10:56:31 +0000 +Checked in by : Robert Osfield +Build fixes for new deprecated osg::Geometry functions - * src/osgUtil/CullVisitor.cpp: From Mathias Froehlich, "change adds - some code to also print the NodePath when a NaN is - detected in the CullVisitor. - May be this gives a bit more of a hint when this happens." +Tue, 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. -2009-04-24 10:54 robert +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 - * src/osgPlugins/mdl/VTXReader.cpp: From Jason Daly, "Currently, - the .mdl plugin loads vertices in the native DirectX order, which - is the reverse of OpenGL order. This means that the back faces - are currently rendered as front faces, and vice versa. - - This fix reverses the vertex order and sets up proper OpenGL - facing. I didn't notice this problem until I started using the - plug-in in my own code (osgviewer seems to not enable backface - culling)." +Tue, 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. -2009-04-24 09:07 robert +Tue, 18 Jun 2013 15:54:38 +0000 +Checked in by : Robert Osfield +Removed BIND_PER_PRIMITIVE reference - * include/osg/TextureRectangle, src/osg/Texture.cpp, - src/osg/TextureRectangle.cpp: From Mathias Froehlich, Changed - osg::TextureRectangle to use osg::Texutre::applyTexParameters() - to take advantage of texture shadow extension settings for - texture rectangle +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 -2009-04-23 13:42 robert +Tue, 18 Jun 2013 14:52:26 +0000 +Checked in by : Robert Osfield +Changed header guard back to original, and removed deprecated enum - * src/osgPlugins/3ds/readwrite.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ply/plyfile.cpp, src/osgPlugins/ply/vertexData.h: - Warning fixes +Tue, 18 Jun 2013 14:22:43 +0000 +Checked in by : Robert Osfield +Fixed order of binding. -2009-04-23 10:24 robert +Tue, 18 Jun 2013 11:49:03 +0000 +Checked in by : Robert Osfield +Removed experiment GeometryNew as it's no longer required. - * src/osgPlugins/OpenFlight/Document.cpp, - src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/GeometryRecords.cpp: Refactored the - subsurface PolygonOffset code so that it uses sensible values and - also moves management of the PolygonOffset and Depth attribute - objects into the Document object rather than using static vars. +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. -2009-04-23 10:23 robert - * src/osg/PolygonOffset.cpp: Removed specific ATI path in - PolygonOffset as it doesn't look to be neccessary with present - ATI hardware/drivers -2009-04-22 18:22 robert +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 - * src/osgPlugins/ffmpeg/CMakeLists.txt: Quitened down warnings - generated by ffmpeg headers by remove -pedantic from - CMAKE_CXX_FLAGS +Wed, 12 Jun 2013 12:49:18 +0000 +Checked in by : Robert Osfield +From Martin Naylor, replace osgDB::fstream with an osgDB::open() call. -2009-04-22 16:50 robert +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. - * src/osgPlugins/dxf/dxfEntity.cpp: Fixed warning +Tue, 11 Jun 2013 10:49:57 +0000 +Checked in by : Robert Osfield +Fixed indentation -2009-04-22 16:47 robert +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 - * src/osgPlugins/ply/ply.h: Warning fixes +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 -2009-04-22 16:42 robert +Mon, 10 Jun 2013 10:37:08 +0000 +Checked in by : Robert Osfield +Fixed remove and add callback so they properly handle nested callbacks - * src/osgPlugins/ply/ply.h, src/osgPlugins/ply/vertexData.cpp: - Warning fixes +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);" -2009-04-22 16:41 robert - * src/osgUtil/ShaderGen.cpp: Warning fix -2009-04-22 16:33 robert +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." - * CMakeLists.txt, include/osg/Version: Updated version numbers in - prep for 2.9.4 dev release +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. -2009-04-22 15:46 robert +Wed, 5 Jun 2013 07:55:05 +0000 +Checked in by : Robert Osfield +Reorder member variables to ensure better packing in memory. - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/atmosphere.cpp, - src/osgPlugins/3ds/atmosphere.h, - src/osgPlugins/3ds/background.cpp, - src/osgPlugins/3ds/background.h, src/osgPlugins/3ds/camera.cpp, - src/osgPlugins/3ds/camera.h, src/osgPlugins/3ds/chunk.cpp, - src/osgPlugins/3ds/chunk.h, src/osgPlugins/3ds/file.cpp, - src/osgPlugins/3ds/file.h, src/osgPlugins/3ds/light.cpp, - src/osgPlugins/3ds/light.h, src/osgPlugins/3ds/material.cpp, - src/osgPlugins/3ds/material.h, src/osgPlugins/3ds/mesh.cpp, - src/osgPlugins/3ds/mesh.h, src/osgPlugins/3ds/node.cpp, - src/osgPlugins/3ds/node.h, src/osgPlugins/3ds/readwrite.cpp, - src/osgPlugins/3ds/readwrite.h, src/osgPlugins/3ds/shadow.cpp, - src/osgPlugins/3ds/shadow.h, src/osgPlugins/3ds/tcb.cpp, - src/osgPlugins/3ds/tcb.h, src/osgPlugins/3ds/tracks.cpp, - src/osgPlugins/3ds/tracks.h, src/osgPlugins/3ds/viewport.cpp, - src/osgPlugins/3ds/viewport.h: From Neil Hughes, converted across - to use istream for reading data from file to enable reading .3ds - files over http (use OSG's libcurl plugin). - - From Robert Osfield, ammendments of the above to better support - reading of files from local directories. +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 -2009-04-22 13:50 robert - * applications/osgversion/osgversion.cpp: From Erik den Dekker, "I - revamped osgversion, which resulted (I think) in cleaner code. - The only functional change was giving my brother the original - credits he deserved. Name changed from 'Jeoen den Dekker' to - 'Jeroen den Dekker'." -2009-04-22 13:09 robert +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. - * src/osgPlugins/dae/daeWriter.h: From Bob Kuehne, "fix for failing - collada builds on osx due to not being able to stringstreamify - osg::Vec3 without io_utils included." +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. -2009-04-22 13:07 robert +Tue, 4 Jun 2013 14:43:19 +0000 +Checked in by : Robert Osfield +Removed now redundent osggeodemo - * include/osg/TexGenNode, src/osg/TexGenNode.cpp, - src/osgWrappers/osgViewer/GraphicsWindow.cpp: From Mathias - Froehlich, "attached is a change to TexGenNode rev 10060 that - removes a private member - variable that is only initialized and copied by never used - seriously. - " +Tue, 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. -2009-04-22 12:52 robert +Tue, 4 Jun 2013 10:06:19 +0000 +Checked in by : Robert Osfield +Cleaned up BIND_PER_PRIMITIVE and array indice usage - * examples/osghangglide/osghangglide.cpp, - examples/osghangglide/tank.cpp: From Chris Hanson, spelling and - grammer fixes +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. -2009-04-22 11:22 robert +Tue, 4 Jun 2013 09:29:37 +0000 +Checked in by : Robert Osfield +Removed deprecated usage of osg::Geometry indices and BIND_PER_PRIMITIVE - * src/osgViewer/GraphicsWindowX11.cpp: Added hand cursor - implementation +Mon, 3 Jun 2013 15:10:53 +0000 +Checked in by : Robert Osfield +From Aurelien Albert, Added support for texture swizzle. -2009-04-22 11:20 robert +Mon, 3 Jun 2013 14:38:23 +0000 +Checked in by : Robert Osfield +Updated version and so_version in prep for 3.1.8 developer release - * include/osgViewer/GraphicsWindow, - src/osgViewer/GraphicsWindowWin32.cpp: From Neil Hughes, "Please - find attached two files that I've amended to add the IDC_HAND - cursor for the windows platform." +Mon, 3 Jun 2013 14:27:14 +0000 +Checked in by : Robert Osfield +From Laurens Voerman, "Autodesk released a new version of their FBX Software Development Kit (web page http://usa.autodesk.com/adsk/servlet/pc/item?siteID=123112&id=10775847). The API has changed quite a bit, so lots of changes had to be made in the osg readerwriter. The preious version of the FBX SDK (2013.3) already deprecated a lot of the names and functions. The code I submit now still compiles against 2013.3 (possibly needs a #define FBX_NEW_API). Not sure if that's useful, but it might ease the transition." -2009-04-22 11:12 robert +Mon, 3 Jun 2013 14:04:02 +0000 +Checked in by : Robert Osfield +From Laurens Voerman, "while updating dependencies I found a problem with libgif 5 from http://sourceforge.net/projects/giflib/ a change in version 5.0.0 required a call to the fuction "DGifOpen" to pass an int ref for an error code. My fix ignores the error, just fixes the compile." - * include/osgViewer/api/Win32/GraphicsWindowWin32, - src/osgViewer/GraphicsWindowWin32.cpp: From Peter Amstutz, "Here - is a simple change to osgViewer::GraphicsWindowWin32 to add a - flag to WindowData to specify that the graphics window should not - install an event handler of its own, per this discussion thread: - - http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg23734.html - - The change is source compatible with current osg code and will - not affect current users, it simply adds an additional parameter - to the GraphicsWindowWin32::WindowData struct constructor and - defaults to the current behavior. - - Attached are the files - "include/osgViewer/api/Win32/GraphicsWindowWin32" and - "src/osgViewer/GraphicsWindowWin32.cpp" with my changes, based on - svn revision 10045. In addition, I have provided an svn patch - file with the same changes for your convenience. - - I have discussed the matter with my supervisor, and agreed that - my company makes no copyright claim over this extremely trivial - change (or to put it another way, we assign copyright to the open - scene graph community.)" +Mon, 3 Jun 2013 14:01:13 +0000 +Checked in by : Robert Osfield +From Sergey Polischuk, "this patch fixes light id in gl modes for osg::LightSource's readed from fbx (previously all lightsources were setting GL_LIGHT0 mode, while osg::Lights were using different id's), and enables GL_LIGHT# on root node for all lights contained in model " -2009-04-22 11:00 robert +Mon, 3 Jun 2013 13:13:18 +0000 +Checked in by : Robert Osfield +Added Vec*b, Vec4ub, Vec*s, Vec*i, Vec*ui serializers - * examples/osgtexture1D/osgtexture1D.cpp: From Eduardo Alberto - Hernández Muñoz, change to using TexGenNode for setting up tex - coordinates +Mon, 3 Jun 2013 12:19:06 +0000 +Checked in by : Robert Osfield +Added Vec2i, Vec2ui, Vec3i, Vec3ui, Vec4i and Vec4ui headers to CMake header list -2009-04-22 10:54 robert +Mon, 3 Jun 2013 11:38:20 +0000 +Checked in by : Robert Osfield +From Art Tevs, int and uint Vec classes - * examples/osgmanipulator/osgmanipulator.cpp, - examples/osgscreencapture/osgscreencapture.cpp: From Paul Martz, - "Looks like the people who created these two examples were a bit - careless with cut and paste." +Mon, 3 Jun 2013 09:19:46 +0000 +Checked in by : Robert Osfield +From Aurelien Albert, "This submission is made against trunk version and add the loading of "glVertexAttribDivisor" extension." -2009-04-22 10:47 robert +Fri, 31 May 2013 10:28:39 +0000 +Checked in by : Robert Osfield +From Laurens Voerman, "I made some changes to the top level CMakeLists.txt that might be usefull to other visualstudio users. 1> Disable project grouping for VCExpress users: the version I proposed previously in Re: [osg-submissions] Cmake patch to support folders in IDE (29 Feb 2012)2> Remove FIND_PACKAGE(OpenAL): not used in any project - * src/osg/Image.cpp: From Eric Sokolowsky, "src/osg/Image.cpp is - missing the GL_RGBA8 image type when calculating the number of - components in an image. It is added here." +3> add /wd4250 for Visual Studio 2012: + suppress the errors caused by a microsoft fix for a bugfix. + ref: "Warning messages VS2012..." on osg-users (30 May 2012) +" -2009-04-22 10:46 robert - * include/osg/Array: Changed parameter for T* to const T*. -2009-04-21 14:27 robert +Fri, 31 May 2013 10:23:49 +0000 +Checked in by : Robert Osfield +From Ulrich Hertlein, "attached is a patch that fixes another clang++ compiler warning when returning std::vector::size() as 'unsigned int'. " - * CMakeLists.txt: From Eric Sokolowsky, "I found that the current - CMakeLists.txt doesn't set the debugging flags correctly on OSX - when using cmake to generate Xcode projects. This change has the - potential to affect all platforms, so it should be tested." +Thu, 30 May 2013 09:07:46 +0000 +Checked in by : Robert Osfield +From Wang Rui, "The osgdb_nvtt plugin needs to be updated to work with the latest NVTT library, which changes the interface slightly (adding a new pure virtual method endImage()). I've modified the source file and attached it here." -2009-04-21 14:15 robert +Tue, 28 May 2013 19:16:59 +0000 +Checked in by : Robert Osfield +Renamed PanoramicSphericalDisplay.cpp to fix a typo - * src/osgPlugins/curl/ReaderWriterCURL.cpp: From Neil Hughes, "here - is an update to ReaderWriterCurl that makes use of the amended - ReaderWriter definition to pass some plugin string data via the - options object." +Tue, 28 May 2013 16:39:48 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and Contributors list -2009-04-21 12:02 robert +Tue, 28 May 2013 15:43:12 +0000 +Checked in by : Robert Osfield +From Farshid Lashkari, "The logic for handling opacity maps in the 3ds reader seems to be incorrect. It checks whether the diffuse texture contains transparency, instead of the opacity texture. If the diffuse does not contain an alpha channel it outputs the warning:The plugin does not support images without alpha channel for opacity - * src/osgWrappers/osgAnimation/MorphGeometry.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp: Updated wrappers +This seems to indicate that the check for alpha should be against the opacity map. I've attached the updated file. -2009-04-21 11:48 robert +" - * include/osgDB/ReaderWriter: From Neil Hughes, "please find - attached a new version of the ReaderWriter header file. This has - additional functions to mimic the setPluginData functions for - string data." -2009-04-21 10:46 robert - * include/osgAnimation/MorphGeometry: From Chris Hanson, "Fixed - case of morphTarget argument in Doxygen comments." +Tue, 28 May 2013 15:40:28 +0000 +Checked in by : Robert Osfield +From Michael Bach Jensen and Robert Osfield, "As discussed (http://forum.openscenegraph.org/viewtopic.php?t=12027) here is my submission :-)The following change to State.cpp fixes the case where textures in a stateset along with a compute shader program did not make those textures available to the shader, since it got evaluated before the texture bind(s)." -2009-04-21 10:13 robert +Note from Robert, Michael only change State::apply(StateSet*) so I also applied the same reversal in apply of texutre modes/state into the State::apply() method for consistency. - * src/osgDB/DatabasePager.cpp: Fixed handling of case of no - graphics contexts being assigned -2009-04-20 19:05 robert - * src/osgPlugins/ffmpeg/FFmpegHeaders.hpp: Removed #ifdef WIN32 - around #include to fix build under Mandrake build. -2009-04-17 14:15 shuber - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: small fix for Xcode-project / 32bit Carbon - target +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. -2009-04-13 12:26 shuber +Tue, 28 May 2013 14:40:36 +0000 +Checked in by : Robert Osfield +Fixed date typo - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode-project so it builds the - curl-plugin +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. -2009-04-13 09:41 robert +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." - * src/osgPlugins/ply/typedefs.h: Replaced #idef WIN32 with _MSC_VER - to try and fix build errors under mingw -2009-04-13 09:35 robert - * src/osgPlugins/ply/plyfile.cpp, src/osgPlugins/ply/typedefs.h, - src/osgPlugins/ply/vertexData.cpp: From Santosh Gaikwad, "I have - added the exception handling in ply loader. All exceptions I am - catching in VertexData::readPlyFile() and made sure that - application will not crash or exit if any exception occurred. I - am returning NULL from VertexData::readPlyFile() if any exception - occurred. - " +Tue, 28 May 2013 14:14:45 +0000 +Checked in by : Robert Osfield +From Marcin Prus and Robert Osfield, moved the key parts of the .dds plugins computeRowWidthInBytes implementation into the osg::Image::computeImageSizeInBytes(..) to address bugs in the computation of image size. -2009-04-12 18:54 robert +Tue, 28 May 2013 11:47:08 +0000 +Checked in by : Robert Osfield +From Sukender, "Added ".dds" file deletion on writing failure." - * CMakeLists.txt, ChangeLog: Fixed ChangeLog generation so that it - only includes svn/trunk or relevant branch rather than whole svn - repository. - - Updated ChangeLog +Tue, 28 May 2013 11:46:01 +0000 +Checked in by : Robert Osfield +From Sukender, "Added vertical flipping to the writer depending on the Image::getOrigin() value (= flip the image when Image::BOTTOM_LEFT). Most of the time this will not change DDS writing (= no v-flip), as it seems images are rarely "BOTTOM_LEFT". To skip this behaviour, the "ddsNoAutoFlipWrite" option was added. I also moved a few lines of code about "dds_flip" option, and made options reading more like in other ReaderWriters." -2009-04-11 07:12 robert +Tue, 28 May 2013 11:44:36 +0000 +Checked in by : Robert Osfield +From Diane Delallée & Sukender, "Added some support of non-modulus-4 dimensions in S3TC-DXTC images (previous implementation seem just not to handle these properly). - Added missing packing value on S3TC images. Images are coded with 4x4 blocs, whatever the image size. So there is an horizontal packing of 4 pixels (2 bytes in DXT1, 4 bytes in DXT2-5). - Added crash guard against writing corrupted S3TC images. Notes: - What is missing is a support of "lines packing" in osg::Image (see code comments). - S3TC-DXTC vertical flipping crashes (access violation) with some unusual dimensions (see code). I could not implement missing cases, so I added guards to avoid crashing." - * AUTHORS.txt, ChangeLog, applications/osgversion/osgversion.cpp: - Updated ChangeLog and AUTHORS for 2.9.3 dev release +Tue, 28 May 2013 11:25:13 +0000 +Checked in by : Robert Osfield +From Diane Delallée and Sukender, "1. Image.cpp Failure to perform a vertical flip on S3TC-DXTC now simply leaves the original image instead of corrupting it. Image.cpp was sometimes performing a "normal" (= for uncompressed images) vertical flip on S3TC-DXTC images, producing weird results. Actually, code was trying a "DXTC vertical flip" and relied on the result to call a "normal vertical flip". But when the "DXTC v-flip" encounters an error, this is is not necessarily because the image is not S3TC (ex: unhandled image dimensions)! So now the code simply does "if dxtc, then flip_dxtc; else flip_normal;".Note from Robert Osfield, moved the isDXT function into the dxt_tool file and namespace. -2009-04-11 06:25 robert - * src/osgWrappers/osgAnimation/Bone.cpp: updated wrappers -2009-04-11 06:16 robert - * src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegHeaders.hpp, - src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: From Jean Sebastien - Guay, added error reporting handling of wider range of video - formats. +Tue, 28 May 2013 10:46:47 +0000 +Checked in by : Robert Osfield +Fixed the computation of the spot light direction. -2009-04-10 15:30 cedricpinson +Tue, 28 May 2013 09:20:48 +0000 +Checked in by : Robert Osfield +Fixed View::setUpViewInWindow() parameter - * include/osgAnimation/Bone, include/osgAnimation/Timeline, - include/osgAnimation/VertexInfluence, - src/osgAnimation/Timeline.cpp: From Cedric Pinson, remove unsused - method in Bone class\nadd namespace osgAnimation for Timeline - constructors\nadd OSGANIMATION_EXPORT on VertexInfluence and - Timeline class +Tue, 28 May 2013 08:38:09 +0000 +Checked in by : Robert Osfield +Added an OSG_INIT_SINGLETON_PROXY(..) to initialize the static s_GLExtensionDisableString variable -2009-04-10 14:11 robert +Mon, 27 May 2013 09:10:18 +0000 +Checked in by : Robert Osfield +Updated AUTHORS file - * src/osgDB/FileUtils.cpp: Added VS checks around code block from - Mark Sciabica that broke the mingw build +Mon, 27 May 2013 09:07:53 +0000 +Checked in by : Robert Osfield +Updated AUTHORS file -2009-04-10 11:19 robert +Mon, 27 May 2013 09:05:14 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and AUTHORS file - * examples/osgdepthpartition/osgdepthpartition.cpp: Fixed build - error by replacing M_PI with osg::PI. +Mon, 27 May 2013 08:13:23 +0000 +Checked in by : Robert Osfield +From Martin Naylor, "I am receiving 1 build error whilst building the SVN, its in osgforest as follows:error C2065: 'GL_RGBA32F' : undeclared identifier -2009-04-10 11:00 robert +Shoudlnt that be GL_RGBA32F_ARB as defined in texture header? - * CMakeLists.txt, include/osg/Version, - include/osgManipulator/CommandManager, - src/osgWrappers/osgManipulator/CommandManager.cpp: Updated - version info for 2.9.3 dev release, fixed typo and updated - wrappers +Attached is the easy fix :)." -2009-04-10 10:07 robert - * include/osgManipulator/CommandManager, - src/osgManipulator/CommandManager.cpp, - src/osgWrappers/osgManipulator/CommandManager.cpp: Added typedef - and updated wrappers -2009-04-10 09:56 robert +Mon, 27 May 2013 08:10:42 +0000 +Checked in by : Robert Osfield +Moved quad buffer definitions into include/osg/Camera - * include/osgManipulator/CommandManager, - src/osgManipulator/CommandManager.cpp: From Romain Charbit, - "added a getConnectedSelections(Dragger&) method, so we can get - which selections are connected to a dragger without make our own - multimap, copying the existing _draggerSelectionMap (which is - protected with no accessors) ." +Sun, 26 May 2013 10:44:11 +0000 +Checked in by : Robert Osfield +Updated AUTHORS file -2009-04-10 09:37 robert +Sun, 26 May 2013 10:27:07 +0000 +Checked in by : Robert Osfield +Updated ChangeLog - * LICENSE.txt: From J.P. Delport, tweak to fix spelling and grammer +Sat, 25 May 2013 10:09:23 +0000 +Checked in by : Robert Osfield +From Farshid Lashkari, " small update to TangentSpaceGenerator to support QUAD_STRIP primitive types." -2009-04-10 09:16 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. - * src/osgPlugins/ply/ply.h, src/osgPlugins/ply/plyfile.cpp: From - Santosh Gaikwad, warning fixes +Fri, 24 May 2013 17:06:08 +0000 +Checked in by : Robert Osfield +From Jordi Torres, "We must use JNI_FALSE instead of false in JNI code. Otherwise the examples will not compile. This patch should be applied to osgAndroidExampleGLES1/jni and osgAndroidExampleGLES2/jni. the osgNativeLib.cpp is the same. " -2009-04-09 18:27 robert +Fri, 24 May 2013 09:43:08 +0000 +Checked in by : Robert Osfield +Removed redudent code - * src/osgPlugins/CMakeLists.txt: Added ply entry +Fri, 24 May 2013 09:35:58 +0000 +Checked in by : Robert Osfield +Fixed panning bug, when using RUN_ON_DEMAND, that resulted in the camera being thrown off towards infinity.The solution for to refactor the way that events are checked so I add a bool return type to checkEvents() method across osgViewer::GraphcisWindow, osgGA::Devive and osgViewer::Viewer/CompositeViewer classes -2009-04-09 18:26 robert - * src/osgPlugins/ply, src/osgPlugins/ply/CMakeLists.txt, - src/osgPlugins/ply/ReaderWriterPLY.cpp, src/osgPlugins/ply/ply.h, - src/osgPlugins/ply/plyfile.cpp, src/osgPlugins/ply/typedefs.h, - src/osgPlugins/ply/vertexData.cpp, - src/osgPlugins/ply/vertexData.h: From Santosh Gaikwad, ply - plugin, based on Equalizer and other LGPL compatible sources. - - "Attached is the osg-plugin for reading ply ( Stanford Triangle - Format ) file. I have written the plugin according to OSG - standard and have also added cmake build system. The plugin is - working fine on both Linux and Windows and should behave - similarly on other OS as well." - - "I developed this plugin while working on a project based on - Equalizer. So VertexData which I am using is taken from equalizer - and modified to make them work as separate OSG plugin. - Before contributing this plugin to OSG community, I asked project - manager of Equalizer project Stefen regarding potential licensing - issues and this is what he has said - - "The kd-Tree (VertexBuffer*) is LGPL-licensed, and the base ply - loader (ply*) is BSD. As long as you leave the copyright notices - intact, there is no issue." - - so I think using these files in OSG should not be a problem. - - As far as author of ReaderWriterPLY.cpp is concerned I am the - author. I am working for Darshan3d which is a subsidiary of - VizExperts thats why I have put VizExperts copyright." - -2009-04-09 16:40 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: - updated XCode project to reflect current trunk - -2009-04-09 16:31 robert - - * src/osgPlugins/3dc/ReaderWriter3DC.cpp: From Martin Beckett, "I - have fixed up the 3DC reader to handle any field separator so it - can read x,y,z files and added ability to write a 3DC file." - - From Robert Osfield, refactor of the above code to retain a bit - more of the original funcionality, and to avoid the need to hand - maintained XCode projects from being updated. - -2009-04-09 15:56 robert - - * CMakeModules/OsgCPack.cmake: From Mattias Helsing, "" - * Use the CPack ZIP generator on windows (WIN32) - * Reformatted according to Philip Lowman's recent submissions" - -2009-04-09 15:55 robert - - * src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgGA/TrackballManipulator.cpp: Updated wrappers - -2009-04-09 15:34 robert - - * src/osgViewer/PixelBufferCarbon.cpp: From Stephan Huber, - "attached you'll find a small fix for PixelBufferCarbon - preventing it to - be compiled for 64bit. This is the easiest solution for the old - deprecated xcode project." - -2009-04-09 15:33 robert - - * src/osgViewer/PixelBufferCarbon.cpp: Converted tabs to four - spaces - -2009-04-09 14:41 robert - - * src/osgUtil/RenderStage.cpp: From Paul Martz, typo fix - -2009-04-09 14:38 robert - - * src/osg/ShapeDrawable.cpp: From Jean-Sebastien Guay, "When - creating a cylinder without a bottom or a top (in the traits, - createBottom=false and createTop=false), the cylinder could still - be picked by picking its (non-existent) bottom or top. This is - because the PrimitiveShapeFunctor does not consider the traits - when returning the cylinder's geometry for the picking test, and - always returns geometry for the whole cylinder, with bottom, top - and body. - - I have attached a fixed file where the traits are checked in the - PrimitiveShapeFunctor where appropriate. They are checked for - Box, Cone Capsule and Cylinder. These just mirror the checks that - were already done in the DrawShapeVisitor. - - (another instance where if the ShapeDrawable had just been - osg::Geometry, there wouldn't have been a problem... :-) ) - - I also fixed a small typo in the file in two places - ("implementated" --> "implemented")." - -2009-04-09 14:31 robert - - * include/osgGA/TrackballManipulator, - src/osgGA/TrackballManipulator.cpp: From Cory Riddell, "I added - an _allowThrow bool and get / set accessors to - TrackballManipulator. The purpose of this is to disable throwing - when - you release the mouse button while moving the mouse. The default - settings is true (ie, allow throw). The two source files are - attached. - " - -2009-04-09 14:25 robert - - * examples/osgdepthpartition/DistanceAccumulator.cpp, - examples/osgdepthpartition/osgdepthpartition.cpp: From Ravi - Mathur, "OK I have been away for a looong time, but still - occasionally watching from a distance, and saw the bug people - have reported about the DepthPartitionNode not handling scaled - models properly. - - I believe this is now fixed ... I have attached the new - DistanceAccumulator.cpp, along with a modified example file that - uses a PositionAttitudeTransform to draw the Earth's orbit around - the Sun." - -2009-04-09 14:00 robert - - * include/osgDB/Registry, src/osgDB/CMakeLists.txt, - src/osgDB/MimeTypes.cpp, src/osgDB/Registry.cpp, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/curl/ReaderWriterCURL.h: From Glenn Waldron, "Here - is a first cut at the mime-type support we discussed a little - while ago - (http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg23098.html) - - Background: when you access a file over HTTP, you cannot rely on - a file extension being present; instead the file's mime-type is - conveyed in the HTTP Content-Type response header. This facility - adds a mime-type-to-extension map to the registry to handle this. - - There are two new osgDB::Registry functions which are pretty - self-explanatory: - - void addMimeTypeExtensionMapping( mime-type, extension ) - ReaderWriter* getReaderWriterForMimeType( mime-type ) - - I also added the file osgDB/MimeTypes.cpp which houses a - hard-coded list of built-in types. I took the list from here - (http://www.webmaster-toolkit.com/mime-types.shtml) and then - pared it down to include mostly image and video types, editing - them to map to existing plugins where possible. - - In addition, I updated the CURL plugin to a) install a set of - built-in mime-type mappings, and b) use them to look up an - extension in the event that the target filename does not have an - extension. - - Here is a test case. This URL pulls down a JPEG (without a file - extension): - osgviewer --image - "http://us.maps3.yimg.com/aerial.maps.yimg.com/ximg?v=1.8&s=256&t=a&r=1&x=0&y=0&z=2" - " - -2009-04-09 09:25 robert - - * CMakeLists.txt: From Jean-Sebastien Guay, "As I discussed in the - thread "Windows 7 beta: "The binary is not a valid Windows - image."" on osg-users, I needed to add the /DYNAMICBASE linker - option for executables to link properly in release mode on - Windows 7 beta. - - http://article.gmane.org/gmane.comp.graphics.openscenegraph.user/42400 - - Since this is a workaround for a bug in a beta OS (which may or - may not be fixed, since it's mentioned in their release notes so - they may just leave it as it is) I've marked the option as - advanced, default to OFF, and clearly documented it as being - useful for Windows 7 only. I'd like to be able to test for - Windows 7 directly instead of the blanket IF(WIN32), but I can't - figure out if this is possible in CMake. - - Here's the modified CMakeLists.txt. It's a small change, with low - impact, but will be useful to others who test out this OS and - when it comes out. Note that I'm not familiar with this option in - general, and didn't get any feedback to my questions in the - above-mentioned thread, one of which was: Could we just add this - option to all builds? What is the impact? That's still unclear to - me, but without it OSG executables don't build, and the article I - linked didn't seem to present any ill effects to enabling the - option." - -2009-04-09 09:23 robert - - * CMakeModules/CheckAtomicOps.cmake, - CMakeModules/ModuleInstall.cmake, CMakeModules/OsgCPack.cmake, - CMakeModules/OsgDetermineCompiler.cmake, - CMakeModules/UtilityMacros.cmake, - CMakeModules/cmake_uninstall.cmake.in, - src/osgPlugins/3dc/CMakeLists.txt, - src/osgPlugins/3ds/CMakeLists.txt, - src/osgPlugins/OpenFlight/CMakeLists.txt, - src/osgPlugins/ac/CMakeLists.txt, - src/osgPlugins/bmp/CMakeLists.txt, - src/osgPlugins/bvh/CMakeLists.txt, - src/osgPlugins/curl/CMakeLists.txt, - src/osgPlugins/dae/CMakeLists.txt, - src/osgPlugins/dds/CMakeLists.txt, - src/osgPlugins/dicom/CMakeLists.txt, - src/osgPlugins/dot/CMakeLists.txt, - src/osgPlugins/dw/CMakeLists.txt, - src/osgPlugins/ffmpeg/CMakeLists.txt, - src/osgPlugins/freetype/CMakeLists.txt, - src/osgPlugins/gecko/CMakeLists.txt, - src/osgPlugins/geo/CMakeLists.txt, - src/osgPlugins/gif/CMakeLists.txt, - src/osgPlugins/glsl/CMakeLists.txt, - src/osgPlugins/gz/CMakeLists.txt, - src/osgPlugins/hdr/CMakeLists.txt, - src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/jp2/CMakeLists.txt, - src/osgPlugins/jpeg/CMakeLists.txt, - src/osgPlugins/logo/CMakeLists.txt, - src/osgPlugins/lws/CMakeLists.txt, - src/osgPlugins/md2/CMakeLists.txt, - src/osgPlugins/net/CMakeLists.txt, - src/osgPlugins/obj/CMakeLists.txt, - src/osgPlugins/osg/CMakeLists.txt, - src/osgPlugins/osgFX/CMakeLists.txt, - src/osgPlugins/osgParticle/CMakeLists.txt, - src/osgPlugins/osgTerrain/CMakeLists.txt, - src/osgPlugins/osgText/CMakeLists.txt, - src/osgPlugins/osgWidget/CMakeLists.txt, - src/osgPlugins/osga/CMakeLists.txt, - src/osgPlugins/osgtgz/CMakeLists.txt, - src/osgPlugins/pfb/CMakeLists.txt, - src/osgPlugins/pic/CMakeLists.txt, - src/osgPlugins/png/CMakeLists.txt, - src/osgPlugins/quicktime/CMakeLists.txt, - src/osgPlugins/rgb/CMakeLists.txt, - src/osgPlugins/rot/CMakeLists.txt, - src/osgPlugins/scale/CMakeLists.txt, - src/osgPlugins/shp/CMakeLists.txt, - src/osgPlugins/stl/CMakeLists.txt, - src/osgPlugins/svg/CMakeLists.txt, - src/osgPlugins/tga/CMakeLists.txt, - src/osgPlugins/tgz/CMakeLists.txt, - src/osgPlugins/trans/CMakeLists.txt, - src/osgPlugins/txp/CMakeLists.txt, - src/osgPlugins/vnc/CMakeLists.txt, - src/osgPlugins/vrml/CMakeLists.txt, - src/osgPlugins/vtf/CMakeLists.txt, - src/osgPlugins/x/CMakeLists.txt, - src/osgPlugins/xine/CMakeLists.txt, - src/osgPlugins/zip/CMakeLists.txt: From Philip Lowman, clean up - of CMake files - -2009-04-08 14:16 robert - - * src/osgViewer/CompositeViewer.cpp: From Eric Sokolowsky, " - The osgViewer::CompositeViewer had partial support for Producer - Camera - config files, but it was not working completely. Here is the - completed - implementation. File: src/osgViewer/CompositeViewer.cpp. - " - -2009-04-08 14:08 robert - - * examples/osgviewerMFC/MFC_OSG.cpp: From Cory Riddell, fix for - aspect ratio - -2009-04-08 14:06 robert - - * include/osgDB/Registry, src/osgDB/Registry.cpp: From James - Killian, "refactored the management of the object cache - enabling/disabling" - -2009-04-08 13:40 robert - - * src/osgViewer/CMakeLists.txt: From Eric - Sokolowsky,"libosgViewerd.so was not being built properly because - it was being - linked with system libraries using LINK_INTERNAL instead of - LINK_EXTERNAL. This caused it to try to link with libXrandrd - instead of - libXrandr, which failed. Attached is the fixed CMakeLists.txt." - -2009-04-08 13:21 robert - - * src/osgPlugins/dxf/ReaderWriterDXF.cpp, - src/osgPlugins/dxf/dxfEntity.cpp, src/osgPlugins/dxf/dxfEntity.h: - From Mike Connell, "Here are some small fixes that allow you to - specify the allowable deviation when creating polylines from arcs - and circles in DXF files. Changes are against 2.8.0 - - It adds two options: - - Accuracy(x) - ensures the polyline will be within x units from - the ideal arc/curve - ImproveAccuracyOnly - do not use the given accuracy 'x', if it - would result in a worse curve than with the previous (2.8.0) - implementation for a particular arc/curve. - - As an added bonus there was a small bug in the existing - implementation whereby the primitives were line strips but the - vertices generated were actually suitable for GL_LINES, so the - improved accuracy doesn't even have to come at a performance cost - :-)" - -2009-04-08 13:16 robert - - * src/osgViewer/CompositeViewer.cpp: From Eric Sokolowky, - ""Running" was spelled "Ruinning", which is hardly the same." - -2009-04-08 13:11 robert - - * src/osgDB/CMakeLists.txt, src/osgDB/FileUtils.cpp: From Marc - Sciabica, made searching of the install path for plugins option, - and added the dll path to the search path under Windows - -2009-04-08 13:03 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoder.cpp: Reduced the default live - video feed size to accomodate reading from the Minoru stereo - wecam. - -2009-04-08 12:32 robert - - * src/osg/Program.cpp, src/osg/StateSet.cpp: From Simon Carmody, - "Patches for compare and copy of Programs and related state - -Added copying of shaders and attributes in osg::Program copy - constructor. - -Changed StateSet::compare function to compare Uniforms and their - override values. Previously it compared a RefUniformPair." - -2009-04-08 10:48 robert - - * src/osgUtil/Optimizer.cpp: From Glenn Waldron, "Attached is a - patch for osgUtil::Optimizer. If you run the - SpatializeGroupsVisitor on a scene graph containing Geodes, - StateSets attached to Geodes can be lost. - - The problem is in SpatializeGroupsVisitor::divide(osg::Geode*, - unsigned int) where the code creates a new Group and divides up - the input Geode into one Geode per Drawable. - - I fixed the problem by assigning the Geode's stateset to the new - parent group. - - To replicate the bug, see attached osg/dds files: - - osgviewer b.osg -- model renders correctly - set OSG_OPTIMIZER="SPATIALIZE_GROUPS" - osgviewer b.osg -- textures are missing." -2009-04-08 10:44 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. - * src/osgPlugins/x/ReaderWriterDirectX.cpp, - src/osgPlugins/x/directx.cpp: From Aric Aumann, added options for - controlling the swap of the left/right handed coordinate system +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. -2009-04-08 10:32 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." - * examples/osgviewerQT/AdapterWidget.cpp: From Martin Beckett, - added mouse wheel support +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. -2009-04-07 10:13 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. - * src/osg/Drawable.cpp: Added better handling of use of VBO's in - compileGLObjects() +Wed, 22 May 2013 15:48:42 +0000 +Checked in by : Robert Osfield +Quitened down debug messages -2009-04-07 10:12 robert - - * src/osgWrappers/osgAnimation/EaseMotion.cpp: Updated wrappers - -2009-04-07 08:43 shuber - - * Xcode/OSX_OSG_README.rtf, - Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/config/osg/Config, Xcode/OpenThreads, - Xcode/Xcode_OSG_Instructions.rtf: From Stephan Huber: - removed OpenThreads-folder (as OpenThreads is part of - OpenSceneGraph now), updated the Readmes regarding 64bit - compilation and updated the XCode-project to match the current - svn-trunk. - -2009-04-07 08:40 cedricpinson - - * include/osgAnimation/EaseMotion: From Serge Lages, Elastic added - to EaseMotion - -2009-04-06 12:28 robert +Wed, 22 May 2013 13:16:44 +0000 +Checked in by : Robert Osfield +Removed debug messages - * src/osgTerrain/GeometryTechnique.cpp: Added disabling of - mipmapping for non power of two textures +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. -2009-04-06 11:22 robert +Attached is a fix for src/osgPlugins/vnc/CMakeLists.txt" - * src/osgTerrain/GeometryTechnique.cpp: Added check against null - colour layer to prevent a crash when a null colour layer is - assigned -2009-04-03 10:47 robert - * src/osgTerrain/GeometryTechnique.cpp: Displayed display lists to - prevent frame drops when compiling large geometry tiles +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." -2009-04-03 09:54 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." - * examples/osgdrawinstanced/osgdrawinstanced.cpp: Tweaks to shader - to fix warnings on with ATI drivers -2009-04-02 08:44 robert - * src/osg/DisplaySettings.cpp: Added OSG_MULTI_SAMPLES env var for - setting the default DisplaySettings NumMultiSamples value -2009-03-30 09: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. " - * examples/osgstereoimage/osgstereoimage.cpp: Added shader to - convert images into greyscale when rendering in anaglyphic +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 -2009-03-26 17:24 robert + /home/ledocc/work/perso/osg_Workspace/osg/CMakeLists.txt:823 (IF) - * examples/CMakeLists.txt, examples/osgtexturecompression, - examples/osgtexturecompression/CMakeLists.txt, - examples/osgtexturecompression/osgtexturecompression.cpp: Added - osgtexturecompression example to demonstate the quality - difference between - different compression techniques. - -2009-03-25 11:17 robert + closes on the line - * include/osg/PrimitiveSet, - src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp: Added new virtual - reseveElements, setElement, getElment and addElement methods to - DrawElements - to make is easier to write code that can work on - DrawElementUByte, UShort or UInt. - - Changed the osgTerrain::GeometryTechnique so that it - automatically chooses - the use of DrawElementUShort or DrawElementsUInt accordining to - the size of the tile. + /home/ledocc/work/perso/osg_Workspace/osg/CMakeLists.txt:893 (ENDIF) -2009-03-24 23:25 robert + with mis-matching arguments. - * src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: Added support for - adding .ffmpeg to filenames to force selection of ffmpeg plugin +I remove ENDIF argument, it is no longer needed by cmake" -2009-03-24 23:17 robert - * examples/osgstereoimage/osgstereoimage.cpp: Added support for - image streams -2009-03-24 11:08 robert +Tue, 21 May 2013 17:41:07 +0000 +Checked in by : Robert Osfield +From Farshid Lashkari, "I'm working on a custom ShaderComposer and I need access to the full StateSetStack of the State object within the getOrCreateProgram() method. The problem is that "State::apply(const StateSet* dstate)" does not add the specified stateset to the stack. I'm not sure if this was intentional, but I've updated the function to push/pop the stateset.I hope the change seems reasonable. I searched the entire code base for code that accesses the StateSetStack, and noticed RenderBin and RenderStage use it. However, I don't think that code would ever be called from within the State::apply() function, so I'm fairly confident the change should be safe." - * src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: From Ulrich - Hertlein, "I got the following type error from gcc 4.0.1 on OS X - 10.5.6: - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp: - In member function \u2018int - osgFFmpeg::FFmpegDecoderVideo::convert(AVPicture*, int, - AVPicture*, int, int, int)\u2019: - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp:245: - error: invalid conversion from \u2018int\u2019 to - \u2018PixelFormat\u2019 - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp:245: - error: initializing argument 3 of \u2018SwsContext* - sws_getContext(int, int, PixelFormat, int, int, PixelFormat, int, - SwsFilter*, SwsFilter*, double*)\u2019 - - It expects 'src_pix_fmt' and 'dst_pix_fmt' to be of type - 'PixelFormat' rather than int. The attached cast fixes this (for - me). - - I've also added Matroska video to the list of supported - extensions" -2009-03-23 20:47 robert - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - AUTHORS.txt for 2.9.2 dev release +Tue, 21 May 2013 10:22:54 +0000 +Checked in by : Robert Osfield +From Valeriy Dubov, fix for Android build under OSX -2009-03-23 20:44 robert +Tue, 21 May 2013 09:48:16 +0000 +Checked in by : Robert Osfield +From Alexander Sinditskiy, "I just noticed that Dragger allways handle events even when handle(const PointerInfo&, const osgGA::GUIEventAdapter&, osgGA::GUIActionAdapter&) returns false.I think it is not correct...i think handled should be changed only when it is really handled." - * ChangeLog: Updated ChangeLog for 2.9.2 dev release +Tue, 21 May 2013 09:44:26 +0000 +Checked in by : Robert Osfield +Added use of SingleWindow for when only one screen is used -2009-03-23 20:25 robert - - * src/osgPlugins/x/ReaderWriterDirectX.cpp: From Aric Aumann, fixed - handling of null texture coordinates - -2009-03-23 17:08 robert - - * src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/PolygonStipple.cpp, - src/osgPlugins/ive/PolygonStipple.h, - src/osgPlugins/ive/ReadWrite.h: From Luc Frauciel, You'll find - attached a modification in ive plugin for POLYGONSTIPPLE - read/write. - -2009-03-23 16:45 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp: From Wang Rui, - "Attached is a very small fix for the ffmpeg plugin, to build it - without compiling errors on MSVC. The ffmpeg win32 pre-built - tarball is downloaded at http://ffmpeg.arrozcru.org/builds/. - Tested on Windows XP SP3 and Visual Studio 9, but don't know if - it still workable for Unix and Mac users. :) - - Please look at the .diff files for details. I have already - enjoyed the latest Chinese *big* movie "Red Cliff" with the fixed - ffmpeg plugin and osgmovie. :D" - -2009-03-23 16:31 robert - - * src/osgPlugins/OpenFlight/FltExportVisitor.cpp: From Csaba - Halasz, "I have modified FltExportVisitor to use _MSC_VER instead - of _WIN32 in - the condition around a #pragma warning that is specific to visual - studio as _WIN32 is also defined for mingw compile but the - #pragma is - not applicable there." - -2009-03-23 16:28 robert - - * src/OpenThreads/win32/Win32ConditionPrivateData.h: From Csaba - Halasz, "IIRC the C++ standard says members will be initialized - in declaration - order, and not in the order they are listed in the constructor. - To - avoid possible trouble, gcc warns about this. Attached - modification - fixes the initializer order to silence this warning." - -2009-03-23 16:25 robert - - * src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeReader.h: From Michael Platings, "Changed - some pointers to ref_ptr which fixed the leak - " - -2009-03-23 16:21 robert - - * src/OpenThreads/win32/Win32Thread.cpp, - src/OpenThreads/win32/Win32ThreadBarrier.cpp: From Csaba Halasz, - "I have removed some unnecessary semicolons that mingw build - warns about." - -2009-03-23 16:15 robert - - * src/osgDB/Registry.cpp: From Eric Sokolowsky, "The attached - Registry.cpp fixes OSG under OSX when a library suffix string is - used, as is selected by default with cmake. - " - -2009-03-23 16:13 robert - - * src/osgPlugins/dae/CMakeLists.txt: From Michale Platings, "Minor - change to include ReaderWriterDAE.h" - -2009-03-23 16:11 robert - - * CMakeModules/FindCOLLADA.cmake: From Michael Platings, "I've - changed this file so CMake automatically chooses the correct - directories & libs out of vc8,vc9,mac,mingw - Tested with Visual Studio 9 2008" - -2009-03-23 16:07 robert - - * examples/osganimationmorph/osganimationmorph.cpp: From Roland - Smeenk, "Here's a small simplification of the osganimationmorph - example. Only one morphtarget needs to be added to the - MorphGeometry since it already has a base geometry. The animation - will morph between the base geometry and the first target. - - " - -2009-03-23 16:05 robert - - * applications/CMakeLists.txt, - applications/osgarchive/CMakeLists.txt, - applications/osgconv/CMakeLists.txt, - applications/osgfilecache/CMakeLists.txt, - applications/osgviewer/CMakeLists.txt: From Philip Lowman, - "Mainly removing comments like "This file is automatically - generated" (glad that never happened!)" - -2009-03-23 16:01 robert - - * src/CMakeLists.txt, src/OpenThreads/CMakeLists.txt, - src/OpenThreads/pthreads/CMakeLists.txt, - src/OpenThreads/sproc/CMakeLists.txt, - src/OpenThreads/win32/CMakeLists.txt, src/osg/CMakeLists.txt, - src/osgAnimation/CMakeLists.txt, src/osgDB/CMakeLists.txt, - src/osgFX/CMakeLists.txt, src/osgGA/CMakeLists.txt, - src/osgIntrospection/CMakeLists.txt, - src/osgManipulator/CMakeLists.txt, - src/osgParticle/CMakeLists.txt, src/osgPlugins/CMakeLists.txt, - src/osgShadow/CMakeLists.txt, src/osgSim/CMakeLists.txt, - src/osgTerrain/CMakeLists.txt, src/osgText/CMakeLists.txt, - src/osgUtil/CMakeLists.txt, src/osgViewer/CMakeLists.txt, - src/osgVolume/CMakeLists.txt, src/osgWidget/CMakeLists.txt, - src/osgWrappers/CMakeLists.txt: From Philip Lowman, "Here's the - promised cleanup of the OSG's CMakeLists.txt files for the src/ - folder. I'll submit the others separately. - - Also, there was also a small bug in osgDB's CMakeLists.txt that - was causing an error when I tested with CMake 2.4.4. - - IF(${OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX} STREQUAL "quicktime") - was changed to - IF(OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX STREQUAL "quicktime") - " +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. -2009-03-23 15:48 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 - * CMakeModules/FindFFmpeg.cmake, - src/osgPlugins/ffmpeg/CMakeLists.txt: From David Callu, clean up - of FindFFmpeg include paths +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 -2009-03-23 15:47 robert +Thu, 16 May 2013 15:52:29 +0000 +Checked in by : Robert Osfield +Added support for setting the left/right cull masks - * include/osgDB/DatabasePager: From Csaba Halasz, "here is another - division by zero fix, this should be simpler ;) - It caused problem if the stats display was popped up before the - pager - had anything to do." +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 -2009-03-23 15:38 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 - * include/osgUtil/PrintVisitor: Cleaned up interface +Thu, 16 May 2013 14:07:35 +0000 +Checked in by : Robert Osfield +Reverted back to changes before experiements with ViewConfig -2009-03-23 15:38 robert +Thu, 16 May 2013 10:28:01 +0000 +Checked in by : Robert Osfield +Cleaned up the WoWVxDisplay command line parsing - * src/osgWrappers/genwrapper.conf: Updated wrapper conf to avoid - generating wrappers for PrintVisitor +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. -2009-03-23 15:21 robert +Thu, 16 May 2013 09:08:27 +0000 +Checked in by : Robert Osfield +Added WoWVxDisplay view config - * CMakeLists.txt, include/osg/Version: Bumped version numbers in - prep for 2.7.2 dev release +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. -2009-03-23 15:10 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 - * src/osgWrappers/osgUtil/ShaderGen.cpp: Added ShaderGen wrapper +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 -2009-03-23 15:04 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"; - * src/osgWrappers/osgUtil/PrintVisitor.cpp: Removed PrintVisitor as - it was causing problems with wrapper building. +the underlying stream is not automatically flushed. It is flushed +if endl is queued instead of \n: -2009-03-23 13:51 robert +OSG_DEBUG << "Hello world!" << std::endl; - * src/osg/Notify.cpp: From Eric Sokolowsky, "osgviewer (and all - other OSG-based utilities) fails to provide help for the - OSG_NOTIFY_LEVEL environment variable. This submission fixes that - problem." -2009-03-23 11:53 robert +The notify macros do: +stream->setCurrentSeverity(severity); +return *stream; - * examples/CMakeLists.txt, examples/osgshadergen, - examples/osgshadergen/CMakeLists.txt, - examples/osgshadergen/osgshadergen.cpp, - include/osgUtil/ShaderGen, src/osgUtil/CMakeLists.txt, - src/osgUtil/ShaderGen.cpp: From Maciej Krol, "As promised to - Roland I assembled simple shader generator. ShaderGenVisitor - converts accumulated fixed function pipeline state sets to ones - with shader programs. Generated state sets are attached to - geometries and stored in ShaderGenCache for reuse. - - Very simple cases of state configuration are supported (all the - ones I really need): - - single per pixel not attenuated non spot light source ON/OFF - - exp2 fog ON/OFF - - diffuse texture in rgb + optional specular gloss in alpha - (Texture unit 0) ON/OFF - - normal map texture (Texture unit 1 and Tangent in - VertexAttribArray 6) ON/OFF - - blending and alpha testing (not in shader pipeline) - - To view fixed function pipeline files and paged databases simply - run >osgshadergen myfile.osg" +So, if a function do: -2009-03-19 11:36 robert +OSG_DEBUG << "This is a debug message\n"; +OSG_NOTICE << "This is a notice message" << std::endl; - * src/osgWrappers/osgUtil/PrintVisitor.cpp: UPdated wrappers +the debug message will be classified as a notice message. -2009-03-19 11:11 robert - - * include/osgUtil/PrintVisitor, src/osgUtil/CMakeLists.txt, - src/osgUtil/CullVisitor.cpp, src/osgUtil/PrintVisitor.cpp: - Inroduced simple PrintVisitor class for helping debug scene graph - structures - -2009-03-19 10:56 robert - - * src/osgPlugins/freetype/CMakeLists.txt: Fixed spacing - -2009-03-19 10:55 robert +It is a problem when the application uses a NotifyHandler. The notify +method of the handler is called with: - * src/osgPlugins/ive/ReaderWriterIVE.cpp: Added compressed to list - of supported options +severity = NOTICE +message = "This is a debug message\nThis is a notice message" -2009-03-19 10:55 robert +The attached Notify.cpp contains an automatic flush of the stream when +the current severity changes. - * src/osgPlugins/ive/TerrainTile.cpp: Added debug message - (commented out for now.) +" -2009-03-19 10:27 robert - * src/osgPlugins/osgTerrain/CMakeLists.txt, - src/osgPlugins/osgTerrain/Terrain.cpp: Added osgTerrain::Terrain - support to the .osg format -2009-03-14 15:40 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)." - * src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp: From Adrian Egli, - build fix for Win32 FFmpeg +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." -2009-03-13 15:56 robert - - * src/osgPlugins/quicktime/MovieData.cpp, - src/osgPlugins/quicktime/MovieData.h, - src/osgPlugins/quicktime/QTUtils.cpp, - src/osgPlugins/quicktime/QTUtils.h, - src/osgPlugins/quicktime/ReaderWriterQT.cpp: From Stephan Huber, - clean up of Quicktime plugin - -2009-03-13 13:25 robert - - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Update - AUTHORS file - -2009-03-13 11:56 robert - - * ChangeLog: Updated ChangeLog - -2009-03-13 11:06 robert - - * examples/osganimationmorph/osganimationmorph.cpp, - examples/osgmovie/osgmovie.cpp: Warning fixes - -2009-03-13 11:01 robert - - * src/osgParticle/FluidProgram.cpp: Fixed for division by zero - issue. - -2009-03-13 10:40 robert - - * src/osgPlugins/glsl/ReaderWriterGLSL.cpp: From Bryan Thrall, "The - attached ReaderWriterGLSL.cpp conveniently sets the shader type - when - the filename extension is "vert" or "frag" but still lets this be - overridden by the Options (for those crazy people who store their - fragment shaders in .vert files :) )." - -2009-03-12 17:54 robert - - * src/osgDB/CMakeLists.txt: From Frank Midgley, "I tried running - osgconv --formats yesterday on OS X and got no results. Turns out - the changes discussed in the "osgDB::listAllAvailablePlugins - win32 fix" thread back in Sep '08 broke this. The - OSG_PLUGIN_EXTENSION macro is being defined in - src/osgDB/CMakeLists.txt from CMAKE_SHARED_LIBRARY_SUFFIX which - is "dylib" on OS X. The problem is that all of the plug-ins are - setup in OsgMacroUtils.cmake with: - - ADD_LIBRARY(${TARGET_TARGETNAME} MODULE ${TARGET_SRC} - ${TARGET_H}) - - which gives them .so extensions. Since ".so" != ".dylib" - osgDB::listAllAvailablePlugins finds no plug-ins. I believe the - correct solution is to use CMAKE_SHARED_MODULE_SUFFIX instead. - This builds and runs correctly on OS X but I have not tested on - other platforms. - - Attached is an updated src/osgDB/CMakeLists.txt based on rev - 9915. The change is at line 108. To validate: build and then run - bin/osgconv --formats. You should get many screenfuls of plug-in - features, extensions and options." - -2009-03-12 17:47 robert - - * src/osgUtil/Optimizer.cpp: From Konstantin Sinitsyn, "At this - moment, I just introducing to OSG. When I reviewing optimizer - code, I find a mistake in - Optimizer::RemoveLoadedProxyNodesVisitor, as it seems. This - optimizer removes proxy nodes that fully loaded and in some cases - attach their childs to parrents directly (without creating of - group). I dont understand how this works, because if proxy node - doesn't have any attributes such as name, description, node mask - and any callbacks, then new group does not created to hold proxy - node childs. And code below trying to attach their children to - all parents but seems like only first child beeing attached to - all parents correctly. - - " - -2009-03-12 17:26 robert - - * src/osg/GraphicsThread.cpp: Introduced a releaseAllOperation - after completeion of OperationThread::run() to enable CUDA - integration (in osgCuda) to be able to free up its resources. - Code drawn from a submission from Mick. - -2009-03-12 17:12 robert - - * src/osgWrappers/Doxyfile.template, - src/osgWrappers/osg/AudioStream.cpp, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/ImageStream.cpp, - src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osgDB/PluginQuery.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgGA/TrackballManipulator.cpp, - src/osgWrappers/osgManipulator/Dragger.cpp, - src/osgWrappers/osgManipulator/RotateCylinderDragger.cpp, - src/osgWrappers/osgManipulator/RotateSphereDragger.cpp, - src/osgWrappers/osgManipulator/Scale1DDragger.cpp, - src/osgWrappers/osgManipulator/Scale2DDragger.cpp, - src/osgWrappers/osgManipulator/ScaleAxisDragger.cpp, - src/osgWrappers/osgManipulator/Selection.cpp, - src/osgWrappers/osgManipulator/TabBoxDragger.cpp, - src/osgWrappers/osgManipulator/TabPlaneDragger.cpp, - src/osgWrappers/osgManipulator/TabPlaneTrackballDragger.cpp, - src/osgWrappers/osgManipulator/TrackballDragger.cpp, - src/osgWrappers/osgManipulator/Translate1DDragger.cpp, - src/osgWrappers/osgManipulator/Translate2DDragger.cpp, - src/osgWrappers/osgManipulator/TranslateAxisDragger.cpp, - src/osgWrappers/osgManipulator/TranslatePlaneDragger.cpp, - src/osgWrappers/osgText/Font3D.cpp, - src/osgWrappers/osgText/Text3D.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp, - src/osgWrappers/osgUtil/Statistics.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/ViewerBase.cpp: Updated wrappers - -2009-03-12 15:21 robert - - * examples/osgterrain/osgterrain.cpp, - include/osgUtil/GLObjectsVisitor, - include/osgUtil/IncrementalCompileOperation, - include/osgViewer/ViewerBase, src/osgUtil/CMakeLists.txt, - src/osgUtil/GLObjectsVisitor.cpp, - src/osgUtil/IncrementalCompileOperation.cpp, - src/osgUtil/RenderBin.cpp: Moved IncrementalCompileOperation out - of include-src/osgUtil/GLObjectVisitor into their own files. - - Added support to IncrementCompileOperation for controlling how - much time is alloted to compilation and flush - -2009-03-12 15:18 robert - - * include/osg/GraphicsContext, src/osg/GraphicsContext.cpp: Added - support for tracking the time since the last clear() call to - enable other - classes to be able to find out how long the current graphics - frame has been running. - -2009-03-12 10:12 robert - - * include/OpenThreads/ReentrantMutex: From Michael Platings, "I've - been looking at the discussion from 2006 ("[osg-users] - osgDB/Reentrant Mutex not threadsafe ?") about this, and having - looked closely at OpenThreads::ReentrantMutex it's still not - thread safe in the following situation: - - In my example case, there are 2 threads - one is a worker thread - created by OpenThreads::Thread. The other thread is the main - thread i.e. the thread that is intrinsically created when you - execute the application. The crucial problem is that for the main - thread, OpenThreads::Thread::CurrentThread() will return null. - - I'll demonstrate this by breaking ReentrantMutex::lock() into - sub-statements: - - 1.) if - (_threadHoldingMutex==OpenThreads::Thread::CurrentThread()) - - 2.) if (_lockCount>0){ - - 3.) - OpenThreads::ScopedLock - lock(_lockCountMutex); - ++_lockCount; - return 0; - - 4.) - int result = Mutex::lock(); - if (result==0) - { - OpenThreads::ScopedLock - lock(_lockCountMutex); - - 5.) - _threadHoldingMutex = OpenThreads::Thread::CurrentThread(); - _lockCount = 1; - return result; - - - An error will occur in the following case: - 1) The worker thread calls lock(), it gets to the start of - statement 5. - 2) The main thread calls lock(). Statement 1 is evaluated as true - as _threadHoldingMutex is null, and - OpenThreads::Thread::CurrentThread() returns null. - 3) The worker thread executes statement 5. - 4) The main thread executes statement 2 and evaluates it as true, - because the worker thread has set _lockCount to 1. The main - thread executes statement 3, and now can access the mutexed-data - at the same time as the worker thread! - - The simple solution to this is to always protect access to - _lockCount and _threadHoldingMutex using _lockCountMutex. I have - done this in the file I am submitting." - -2009-03-11 18:13 robert - - * examples/osgmovie/osgmovie.cpp: Changed audio playing so that it - only happens for a single movie to avoid - problems with audio stalling. - -2009-03-11 17:57 robert - - * examples/osgmovie/osgmovie.cpp, include/osg/Image: Added docs on - getPixelAspectRatio and corrected usage of getPixelAspection in - osgmovie.cpp - -2009-03-11 17:39 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp: changed debug info - to output to INFO instaed of NOTICE. - -2009-03-11 15:43 robert - - * examples/osgmovie/osgmovie.cpp: Added handling of - Image::isImageTranslucent(), when it is enabling blending. - Added handling of Image::getPixelAspectRatio() in geometry - sizing. - Added scaling of the projection matrix to ensure that aspect - ratio is honoured with running in fullscreen mode - -2009-03-11 15:12 robert - - * include/osg/AudioStream, include/osg/Image, - include/osg/ImageStream, src/osg/Image.cpp, - src/osgPlugins/ffmpeg/FFmpegAudioStream.cpp, - src/osgPlugins/ffmpeg/FFmpegAudioStream.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.hpp: From Tanguy Fautre, - - Clean up of the FFmpeg plugin's class API/AudioStream API. - Implementation of isImageTransparent(). - Implementation of Image:g/setPixelAspectRatio() - -2009-03-11 14:18 robert - - * include/osgViewer/View, src/osgViewer/View.cpp: Added - View::removeEventHandler(..) method and added check into - addEventHandler() to prevent handlers being added twice. - -2009-03-11 14:08 robert - - * CMakeLists.txt: From Philip Lowman, "At a cost of bumping the - required version to CMake 2.4.4 (released all the way back on - November 21, 2006)... this cmake script patch - - 1. Makes IF/ELSE/ENDIF code blocks easier to read by replacing - code like this: - - IF(FOO) - MESSAGE("FOO is true") - ELSE(FOO) - MESSAGE(" ??? ELSE(FOO)??? ") - ENDIF(FOO) - - with this: - - IF(FOO) - MESSAGE("FOO is true") - ELSE() - MESSAGE("FOO is clearly false") - ENDIF() - - 2. Also adds an ELSEIF() where it makes sense to do so (safe to - use as of CMake 2.4.4)" - -2009-03-11 13:27 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Neil Hughes, "I've - spent the past four days playing with PNG files on 3DS objects, - and I think I may have come across a small issue with the 3DS - loader. - - At the company where I work we model literally thousands of 3DS - models for all types of objects. Most don't have transparent - textures applied to them, but a few do. The issue is that a - texture may have an alpha channel defined, yet its 3DS material - definition is not marked as being an alpha source, or - transparent. This can happen for any number of modelling reasons - (so I'm told) but the net effect is that when a 3DS object is - loaded with such a material applied, the stateset creation for - the 3DS geometry omits to add the GL_BLEND attribute as neither - of the conditions that it currently tests for are satisfied under - this scenario. - - However, one thing that is apparently an indication of - transparency/alpha information that we do make use of when - modelling, but that the 3DS reader omits to test, is that we - assign to the transparent texture to the opacity_map of the 3DS - material structure. - - Now, having discussed with our modellers the theory behind the - opacity map, it seems that it is safe to say that if an opacity - map is specified, then the reader should really apply the - GL_BLEND attribute as it is an indication of some form of - blending being required between materials. - - With this in mind, I have made a minor change to the function - createStateSet below, from the ReaderWriter3DS.cpp file, that - checks for an opacity map having been specified, and in such a - scenario the GL_BLEND attribute is applied to the geometry. This - fixed our issue, and thought it might be helpful to others." - -2009-03-11 13:08 robert - - * include/osg/Texture: From Mathias Froehlich, "small addition to - osg::Texture to include all possible depth test variants for - the shadow depth comparison." - -2009-03-11 12:55 robert - - * include/osgViewer/api/Carbon/GraphicsWindowCarbon, - include/osgViewer/api/Carbon/PixelBufferCarbon: From Stephan - Huber, files were are missed by Robert in check in of changes to - GraphicsWindowCarbon.cpp - -2009-03-11 12:08 robert - - * src/osgUtil/Optimizer.cpp: From Lionel Lagarde, "the attachment - contains a correction of the Optimizer::MergeGeometryVisitor. - When 2 geometries are merged, the primitive sets of the second - geometry - are copied to the first geometry. - - The primitive sets were copied with a std::insert into the first - geometry - primitive set vector. It doesn't work when the geometry is using - VBOs (because - the element buffer object of the primitive set is not updated). - - The correction replaces - - lhs.getPrimitiveSetList().insert( - lhs.getPrimitiveSetList().end(), - rhs.getPrimitiveSetList().begin(), - rhs.getPrimitiveSetList().end() ); - - by - for( primItr=rhs.getPrimitiveSetList().begin(); - primItr!=rhs.getPrimitiveSetList().end(); - ++primItr ) - { - lhs.addPrimitiveSet(primItr->get()); - }" - -2009-03-11 11:58 robert - - * src/osg/Geometry.cpp: Fixed crash due to - Geometry::copyToAndOptimize(..) not handling cases where indices - are present, but no arrays are assocaited with them. - -2009-03-11 11:29 robert - - * include/osgManipulator/Dragger, - include/osgManipulator/RotateCylinderDragger, - include/osgManipulator/RotateSphereDragger, - include/osgManipulator/Scale1DDragger, - include/osgManipulator/Scale2DDragger, - include/osgManipulator/ScaleAxisDragger, - include/osgManipulator/Selection, - include/osgManipulator/TabBoxDragger, - include/osgManipulator/TabPlaneDragger, - include/osgManipulator/TabPlaneTrackballDragger, - include/osgManipulator/TrackballDragger, - include/osgManipulator/Translate1DDragger, - include/osgManipulator/Translate2DDragger, - include/osgManipulator/TranslateAxisDragger, - include/osgManipulator/TranslatePlaneDragger: From David Callu, - "osgManipulator Object have not META_Object macro call in class - definition. - > I add META_OSGMANIPULATOR_Object macro which define className, - libraryName, - > isSameKindAs methods. - > Clone method is not appropriate for osgManipulator Object." - -2009-03-11 11:00 robert - - * src/osg/Drawable.cpp, src/osg/Node.cpp: From Lionel Lagarde, "The - copy constructor of the nodes and the drawables do : - - Node::Node(Node &node, copyop) : - _stateSet(copyop(node.getStateSet()), - - It doesn't call the setStateSet method of osg::Node (or - osg::Drawable). So the parent - list of the state set is not updated with the new node - (drawable)." - -2009-03-11 10:50 robert - - * include/osgGA/TrackballManipulator, - src/osgGA/TrackballManipulator.cpp: From Martin Beckett, added - get/setScrollWheelZoomDelta() support for controlling the mouse - scroll wheel zoom delta. - -2009-03-11 10:34 robert - - * src/osgViewer/DarwinUtils.h, src/osgViewer/DarwinUtils.mm, - src/osgViewer/GraphicsWindowCocoa.mm: Converted tabs to four - spaces - -2009-03-11 10:34 robert - - * src/osgViewer/GraphicsWindowCarbon.cpp: From Stephan Huber, - "refactored the code and moved - some stuff out into DarwinUtils.h/.mm so both implementations can - share - some of the code. There's even a bugfix for GraphicsWindowCarbon, - which - fixes some issues with multiple windows on different screens." - -2009-03-10 17:51 robert - - * src/osg/Referenced.cpp: From Mathias Froehlich, "an other topic - pointed out by some Microsoft verification tool: - On destruction of some static variables, the global referenced - mutex is used - to lock access to the parent lists of state attributes, nodes and - so on. - This even happens past the mutex is already destroyed. - - This change to Referenced.cpp revision 9851 uses the same - technique like the - DeleteHandlerPointer already in Referenced.cpp to return an zero - pointer for - the global referenced lock if it is already destroyed." - -2009-03-10 17:47 robert - - * src/osgViewer/View.cpp: From Konstantin Matveyev, submitted by - Valery Bickov: - - "There is error in WoW shader, you can see it by this simple - example: - osgviewer cessna.osg --wowvx-42 --clear-color 0,0,0 - - Clear color may be choosed any with at least one component equals - to 0 - or 1. In my case I see weird blinking between normal image and - image - with depth map at right side on the screen." - -2009-03-10 17:39 robert - - * src/osgGA/TrackballManipulator.cpp: From Martin Beckett, - "Modified osgGA::TrackballManipulator so that - osgGA::GUIEventAdapter::SCROLL performs a zoom. - Arbitrarily zooms 10% in/out for each click." - - Note from Robert Osfield, flipped the orienation of the zoom to - make the right mouse key zoom and the scroll wheel work in the - same direction. - -2009-03-10 17:27 robert - - * include/osgDB/ReaderWriter, src/osgDB/ReaderWriter.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp, - src/osgPlugins/gecko/ReaderWriterUBrowser.cpp, - src/osgPlugins/gecko/UBrowser.cpp, - src/osgPlugins/ogr/ReaderWriterOGR.cpp, - src/osgPlugins/stl/ReaderWriterSTL.cpp, - src/osgWidget/Browser.cpp: Completed support for automatic - detection of plugin features. - - Cleaned up debug out of various plugins to ensure a clean osgconv - --formats. - -2009-03-10 17:13 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: quitened down debug - info - -2009-03-10 16:52 robert - - * include/osg/Image: Made bool isImageTranslucent() const virtual - to allow subclasses to provide their own implementation - -2009-03-10 15:00 robert - - * include/osgDB/PluginQuery, include/osgDB/ReaderWriter, - src/osgDB/PluginQuery.cpp, src/osgDB/ReaderWriter.cpp: From Ralf - Habacker, "The appended patch fixes this issue by adding a - virtual method named supportedFeatures() to the class - ReaderWriter, which could be overriden by a specific plugin to - adjust the set of features. - Single features are implemented as bits asother enums in - ReaderWriter class already does, so that combinations are - possible and fast comparison operations are possible - - By default all features are enabled. - - I have added this virtual method to the dot plugin to get an idea - how to use these features. - - With this patch osgconv --formats shows an additional line - 'features' for each plugin" - -2009-03-10 14:15 robert - - * include/osg/Geometry, include/osgUtil/Optimizer, - include/osgUtil/Statistics, src/osgUtil/Optimizer.cpp, - src/osgUtil/Statistics.cpp, src/osgViewer/ViewerBase.cpp: From - Roland Smeenk, "While working on the Collada plugin I noticed - that all geometry created by the dae reader result in slow path - geometry. - Because there already exists the option to convert slow path - geometry to the fast path by computing an internal fast path - alternative, I added a new optimizer option that automatically - does this. To check the results I also made some changes to the - statistics gathering and rendering. - - Somewhat unrelated, but also part of the optimizer I disabled - removal of CameraView nodes during RemoveRedundantNodes - optimization. - As discussed on the ML, CameraViews were removed from the - scenegraph. This solves that issue. - - Summary: - -Geometry::areFastPathsUsed now also looks at - internalOptimizedGeometry - -Added Optimize option to make all slow path geometry compute - their internal fast path alternative - -Added fast geometry counter to the statistics - -Disabled removel of CameraViews in optimizer - " - -2009-03-10 13:46 robert - - * src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: Added copyright + - fixed typo - -2009-03-10 12:21 robert - - * include/osgDB/FileNameUtils, include/osgDB/Registry, - src/osgDB/FileNameUtils.cpp, src/osgDB/ReaderWriter.cpp, - src/osgDB/Registry.cpp: From Stephan Huber, - "Attached you'll find a proposal for using different - protocols. The idea behind the new code is: - - 1.) plugins/apps register protocols which they can handle. This - is done - via osgDB::Registry::registerProtocol(aProtocolName). Plugins - register - supported protocols as usual via - ReaderWriter::supportsProtocol(..), the - Registry is updated accordingly. - - 2.) osgDB::containsServerAddress checks first for an appearance - of "://" - in the filename and then checks the protocol against the set of - registered protocols via - Registry::isProtocolRegistered(aProtocollName) - - 3.) the other getServer*-functions changed as well, there's even - a - getServerProtocol-function - - - With these changes filenames/Urls get routed to loaded plugins - even with - different protocols than 'http'." - -2009-03-10 11:14 robert - - * include/osg/GLU, include/osg/Math: From Martin Spott, compile - fixes for IBM AIX. - -2009-03-10 10:56 robert - - * include/osgText/Font3D, include/osgText/Text3D, - src/osgDB/Registry.cpp, - src/osgPlugins/freetype/FreeTypeFont3D.cpp, - src/osgPlugins/freetype/ReaderWriterFreeType.cpp, - src/osgText/Font3D.cpp, src/osgText/Text3D.cpp: From David Callu, - "Problem: - osgText::Text and osgText::Text3D use the same font file. - The first really load the file and obtain an osgText::Font - object, - the second use the cache created during the first load of the - font file, and so obtain an osgText::Font object instead of - osgText::Font3D object. To obtain an osgText::Font3D object, - osgText::Text3D call osgDB::readObjectFile(...) with an option - to specify the plugin we want an osgText::Font3D instead of - osgText::Font. - - Generalised Problem: - In osgDB::Registry, loaded file cache is referenced by the name - of this file, so if I load a file with some options, and the - cache - already contain object for this filename, I obtain an object - potentially not loaded with my options. - - Behaviours: - Cache management is delegate to osgDB::Registry, but cache - coherence (load a file with option then reuse it, deactivate the - cache when load a specific file or don't cached the loaded file) - is user's responsibility. - - Text3D solution: - Postfix the font file name by .text3d or something similar and - then have the freetype plugin return - osgText::Font3D when it detects this. - This operation is done by osgText::readFont3DFile() which unsure - the filename have .text3d as extension. - This is totaly transparent for user, and backward compatible. - - - BTW, I fix the bug about the Normal of 3D text. Currently, the - front and wall face have - the same normal (0,0,1) in the Text3D object coordinate. Now the - wall face have its own - normal array computed by the plugin. - - BTW 2, I implement - - void Text3D::accept(osg::Drawable::ConstAttributeFunctor& af) - const - - void Text3D::accept(osg::PrimitiveFunctor& pf) const - so now statistics are well reported. - " - -2009-03-10 10:30 robert - - * src/osgDB/CMakeLists.txt, src/osgDB/Registry.cpp, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/imageio, - src/osgPlugins/imageio/CMakeLists.txt, - src/osgPlugins/imageio/ReaderWriterImageIO.cpp: From Eric Wing - and Stephan Huber, ImageIO code originally wrote by Eric Wing, - and then later conveted into an OSG plugin by Stephan Huber. - -2009-03-10 10:13 robert - - * include/osgViewer/api/Cocoa, - include/osgViewer/api/Cocoa/GraphicsWindowCocoa, - include/osgViewer/api/Cocoa/PixelBufferCocoa, - src/osgViewer/CMakeLists.txt, src/osgViewer/DarwinUtils.h, - src/osgViewer/DarwinUtils.mm, - src/osgViewer/GraphicsWindowCocoa.mm, - src/osgViewer/PixelBufferCocoa.mm: From Stephan Huber, support - for Cocoa windowing under OSX. - -2009-03-09 23:11 robert - - * include/osgAnimation/Timeline, src/osgWrappers/CMakeLists.txt, - src/osgWrappers/genwrapper.conf, - src/osgWrappers/osgAnimation/Animation.cpp, - src/osgWrappers/osgAnimation/Channel.cpp, - src/osgWrappers/osgAnimation/CubicBezier.cpp, - src/osgWrappers/osgAnimation/Interpolator.cpp, - src/osgWrappers/osgAnimation/Keyframe.cpp, - src/osgWrappers/osgAnimation/MorphGeometry.cpp, - src/osgWrappers/osgAnimation/Target.cpp, - src/osgWrappers/osgAnimation/Timeline.cpp: Fixed osgWrappers for - osgAnimation library - -2009-03-09 17:38 robert - - * examples/CMakeLists.txt, examples/osganimationmorph, - examples/osganimationmorph/CMakeLists.txt, - examples/osganimationmorph/osganimationmorph.cpp, - include/osgAnimation/Animation, include/osgAnimation/CubicBezier, - include/osgAnimation/Keyframe, include/osgAnimation/LinkVisitor, - include/osgAnimation/MorphGeometry, - include/osgAnimation/Skeleton, - src/osgAnimation/AnimationManagerBase.cpp, - src/osgAnimation/BasicAnimationManager.cpp, - src/osgAnimation/Bone.cpp, src/osgAnimation/CMakeLists.txt, - src/osgAnimation/MorphGeometry.cpp, - src/osgAnimation/Skeleton.cpp, - src/osgPlugins/osgAnimation/ReaderWriter.cpp: From Roland Smeenk - & Cedric Pinson, - - "Summary of changes: - From Roland - -Added MorphGeometry - -Bone Bindmatrix is only calculated if needed - -osgAnimation plugin now supports all available channel types - (before only linear vec3 or quat channels) - -osgAnimation plugin now supports MorphGeometry - -osgAnimation plugin now supports animation and channel weights, - animation playmode, duration and starttime - -removed osgAnimationManager.cpp from CMakeList - - From Cedric - -fixed the last_update field (it was only updated at the first - update) in BasicAnimationManager.cpp - - Refactore some part of MorphGeometry minor changes - - Add osganimationmorph as example - " - -2009-03-09 16:53 robert - - * include/osgUtil/GLObjectsVisitor, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp: Tweaked API to get - wrappers to build - -2009-03-09 16:17 robert - - * src/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/osgViewer/ViewerBase.cpp: Updated wrappers - -2009-03-09 14:56 robert - - * include/osgUtil/GLObjectsVisitor, - src/osgUtil/GLObjectsVisitor.cpp: Further work on - IncrementalCompileOperation - -2009-03-08 16:48 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp: Fixed thread exit - problems +Tue, 14 May 2013 16:12:21 +0000 +Checked in by : Robert Osfield +From Ulrich Hertlein, "Attached is a patch that introduces 'static_cast' on some instances where the code returns '.size()' of a std::vector. This caused some warnings when using clang++ on OS X." -2009-03-08 12:00 robert +Tue, 14 May 2013 13:35:10 +0000 +Checked in by : Robert Osfield +Updated ChangeLog - * examples/osgterrain/osgterrain.cpp, - include/osgUtil/GLObjectsVisitor, include/osgViewer/ViewerBase, - src/osg/GraphicsContext.cpp, src/osgUtil/GLObjectsVisitor.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp, - src/osgViewer/ViewerBase.cpp: Preliminary work on general purpose - incremental compile support in osgViewer. +Tue, 14 May 2013 13:34:54 +0000 +Checked in by : Robert Osfield +Updated version after dev release -2009-03-05 15:31 robert +Mon, 13 May 2013 13:12:13 +0000 +Checked in by : Robert Osfield +Added OSGUTIL_EXPORT for Windows build - * CMakeLists.txt, include/osg/Version, - src/osgWrappers/osg/AudioStream.cpp, - src/osgWrappers/osg/ImageStream.cpp: Updated wrappers and dev - release version numbers +Mon, 13 May 2013 12:08:05 +0000 +Checked in by : Robert Osfield +Updated version number for dev release -2009-03-05 14:33 robert +Mon, 13 May 2013 11:59:34 +0000 +Checked in by : Robert Osfield +Updated ChangeLog for dev release - * CMakeModules/FindFFmpeg.cmake: Cleaned up FindFFmpeg.cmake +Mon, 13 May 2013 11:51:44 +0000 +Checked in by : Robert Osfield +Updated links to svn repository -2009-03-05 10:57 robert +Mon, 13 May 2013 11:02:40 +0000 +Checked in by : Robert Osfield +Fixed build for when automatic type conversion isn't enabled for ref_ptr<> - * src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegHeaders.hpp, - src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: Added quick proof - of concept for live video streaming under linux +Mon, 13 May 2013 09:53:54 +0000 +Checked in by : Robert Osfield +Fixed the render order to the Render To Texture cameras used in stereo keystoning. -2009-03-04 16:35 robert +Mon, 13 May 2013 09:49:54 +0000 +Checked in by : Robert Osfield +Improved the use of the Keystone's defined in the DisplaySettings object. - * CMakeModules/FindFFmpeg.cmake: Added search for headers in ffmpeg - directory +Mon, 13 May 2013 09:18:37 +0000 +Checked in by : Robert Osfield +Added to Viewer::realize() automatic setup using Keystone when available and enabled, and when no other window setup has been selected. -2009-03-04 16:16 robert +Fri, 10 May 2013 17:59:07 +0000 +Checked in by : Robert Osfield +Added DisplaySettings::KeystoneHint flag that can be set via --keystone-on and --keystone-off command line parameters, and the OSG_KEYSTONE env var - * CMakeModules/FindFFmpeg.cmake: From Jean-Sebastien Guay, added - non pkg-config based ffmpeg search scheme. +Fri, 10 May 2013 16:06:10 +0000 +Checked in by : Robert Osfield +Added keystone file handling -2009-03-04 16:15 robert +Fri, 10 May 2013 11:56:09 +0000 +Checked in by : Robert Osfield +Added --keystone command line support into DisplaySettings, and added OSG_KEYSTONE_FILES env var support into osg::DisplaySettings. - * include/osg/Referenced: Fixed indentation +Fri, 10 May 2013 10:00:38 +0000 +Checked in by : Robert Osfield +Moved Keystone support from osgkeystone example into osgViewer::View -2009-03-04 16:03 robert +Thu, 9 May 2013 15:18:14 +0000 +Checked in by : Robert Osfield +Moved Keystone class into osgViewer library. - * src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp: Removed boost - reference and cleaned up debug output +Tue, 7 May 2013 14:43:36 +0000 +Checked in by : Robert Osfield +Cleaned up event handler and namespaces in prep for integrating keystone functionality into osgViewer -2009-03-04 14:49 robert +Tue, 7 May 2013 13:34:47 +0000 +Checked in by : Robert Osfield +Added keystone support for left eye, right eye and quad buffer stereo - * src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp: Introduced double - buffering of video stream to avoid tearing of image. - - Removed swapBufers call and image y inversion. +Tue, 7 May 2013 11:13:50 +0000 +Checked in by : Robert Osfield +Added keystone setup to vertical split stereo suport and cleaned up the horizontal split stereo code -2009-03-04 13:24 robert +Fri, 3 May 2013 20:12:15 +0000 +Checked in by : Robert Osfield +Commented out debug output - * src/osgDB/ReadFile.cpp: Added handling of ImageStream Origin to - make sure the movie always appears the correct way up. +Fri, 3 May 2013 19:26:27 +0000 +Checked in by : Robert Osfield +Introduced new scheme for handling mouse events with osgViewer. The new scheme enables robust event handling even when using distortion correction render to texture Cameras. -2009-03-04 11:59 robert +Fri, 26 Apr 2013 10:00:16 +0000 +Checked in by : Robert Osfield +As a test of new repository updated date in README.txt - * src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp: Fixes to non - swscale code path +Thu, 18 Apr 2013 17:02:57 +0000 +Checked in by : Robert Osfield +Refactored Keystone setup as a step toward integrating Keystone correction with stereo -2009-03-04 11:46 robert +Thu, 18 Apr 2013 09:47:28 +0000 +Checked in by : Robert Osfield +Implemented stereo support into osgkeystone as a testbed for moving stereo support from SceneView into osgViewer - * src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp: Fixed img_convert - usage +Wed, 17 Apr 2013 11:04:12 +0000 +Checked in by : Robert Osfield +Implemented initial cut of anaglyphic stereo -2009-03-04 11:06 robert +Tue, 16 Apr 2013 09:26:40 +0000 +Checked in by : Robert Osfield +Changed point to osg::ref_ptr<> to prevent memory leaks. - * src/osgPlugins/CMakeLists.txt: Removed reference to OpenAL plugin +Mon, 15 Apr 2013 14:21:32 +0000 +Checked in by : Robert Osfield +Preperation for adding stereo support direclty into osgViewer. -2009-03-04 11:05 robert +Fri, 12 Apr 2013 13:01:51 +0000 +Checked in by : Robert Osfield +Added support for enable/disabling the keystone editing using the Ctrl-g key to toggle the UI and grid on/off. - * CMakeModules/FindFFmpeg.cmake, - src/osgPlugins/ffmpeg/CMakeLists.txt, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp, - src/osgPlugins/ffmpeg/FFmpegHeaders.hpp, - src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: Added support for - using libswscale +Fri, 12 Apr 2013 09:05:11 +0000 +Checked in by : Robert Osfield +Moved keystone event handler onto the keystone distortion Camera. -2009-03-03 20:59 robert +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. - * examples/osgmovie/osgmovie.cpp: Added SDL audio path +Thu, 11 Apr 2013 17:12:32 +0000 +Checked in by : Robert Osfield +Add support for a finer grained mesh on the distortion mesh for higher quality results. -2009-03-03 20:49 robert +Thu, 11 Apr 2013 16:07:49 +0000 +Checked in by : Robert Osfield +Moved the keystone geometry computation into a Keystone::compute3DPositions(..) method - * src/osgPlugins/ffmpeg/FFmpegAudioStream.cpp: Improved the clean - up ordering +Wed, 10 Apr 2013 16:36:49 +0000 +Checked in by : Robert Osfield +Removed old experimental keystone code to clean up the example -2009-03-03 17:37 robert +Thu, 28 Mar 2013 10:46:24 +0000 +Checked in by : Robert Osfield +Changed the way that the keystone geometry is calculated. - * examples/osgmovie/CMakeLists.txt, examples/osgmovie/osgmovie.cpp: - Added SDL audio support for reading from ffmpeg movies +Wed, 27 Mar 2013 16:29:01 +0000 +Checked in by : Robert Osfield +Added keypad control of corner points -2009-03-03 17:28 shuber +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. - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated xcode project, added AudioStream to - project +Tue, 26 Mar 2013 16:47:52 +0000 +Checked in by : Robert Osfield +Introduced shearing of the image -2009-03-03 16:51 robert +Tue, 26 Mar 2013 11:00:05 +0000 +Checked in by : Robert Osfield +Improved the setup of the keystone distortion correction mesh. - * CMakeLists.txt, examples/osgmovie/CMakeLists.txt, - examples/osgmovie/osgmovie.cpp, include/osg/AudioStream, - src/osg/AudioStream.cpp, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/ffmpeg/CMakeLists.txt, - src/osgPlugins/ffmpeg/FFmpegAudioStream.cpp, - src/osgPlugins/ffmpeg/FFmpegAudioStream.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.hpp: Introduce - FFmpegAudioStream implementation +Thu, 21 Mar 2013 16:42:09 +0000 +Checked in by : Robert Osfield +Updated developer release number -2009-03-03 14:59 robert +Thu, 21 Mar 2013 16:22:30 +0000 +Checked in by : Robert Osfield +Added check against isVertexBufferObjectSupported() in set*Pointer() methods - * src/osgPlugins/ffmpeg/FFmpegImageStream.hpp: Removed redudent - export +Thu, 21 Mar 2013 11:35:21 +0000 +Checked in by : Robert Osfield +Added keystone grid to aid editing -2009-03-03 11:52 robert +Wed, 20 Mar 2013 14:03:28 +0000 +Checked in by : Robert Osfield +Added arrow key support. Added support for using ctrl and shift keys to modulate how senstive the mouse and key movement is when modifying the keystone parameters. - * src/osgPlugins/ffmpeg/CMakeLists.txt: Added LINK_DIRECTORIES +Tue, 19 Mar 2013 16:43:27 +0000 +Checked in by : Robert Osfield +Improve corner point tracking/keystone computation -2009-03-03 11:25 robert +Tue, 19 Mar 2013 12:44:03 +0000 +Checked in by : Robert Osfield +Added event handle for interactive setting of keystone variables - * src/osgPlugins/ffmpeg/CMakeLists.txt: Fixed include list +Fri, 15 Mar 2013 17:35:43 +0000 +Checked in by : Robert Osfield +Experiments with modifying the projection matrix to provide keystoning. -2009-03-03 10:53 robert +Thu, 14 Mar 2013 16:24:22 +0000 +Checked in by : Robert Osfield +Initial skeleton of new osgkeystone example - * CMakeModules/FindFFmpeg.cmake, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp: From Ulrich - Hertlein, build fixes for OSX. - -2009-03-03 09:50 robert - - * src/osgPlugins/ffmpeg/CMakeLists.txt: Added ffmpeg to include - search paths +Mon, 11 Mar 2013 17:16:32 +0000 +Checked in by : Robert Osfield +From Aurelien Albert, "There is a little bug in the osg::Group::insertChild method :If the index is more than the size of _children vector, the new child is pushed at the end of the vector, but the index value is unmodified, so an incorrect value is passed to the "childInserted" method." -2009-03-03 09:49 robert - * src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: Added ogg to - accepted formats - -2009-03-02 16:01 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp: Added extern for - img_convert to get round disappeance of the declaration from - headers. - -2009-03-02 10:49 robert - - * src/OpenThreads/win32/Win32Thread.cpp, - src/OpenThreads/win32/Win32ThreadPrivateData.h: From Mathias - Froehlich, "An other one: - The TLS Varialbe is accessed before it is initialized. - Attached is a change to rev 9791." - -2009-03-02 09:56 robert - - * examples/osgcluster/broadcaster.cpp: From Petr Salinger, fix for - build under GNU/kFreeBSD. - -2009-02-27 20:16 robert - - * include/osg/AudioStream, include/osg/ImageStream, - src/osg/AudioStream.cpp, src/osg/CMakeLists.txt, - src/osg/ImageStream.cpp, - src/osgPlugins/ffmpeg/AudioSinkInterface.hpp, - src/osgPlugins/ffmpeg/CMakeLists.txt, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp, - src/osgPlugins/ffmpeg/FFmpegHeaders.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.hpp, - src/osgPlugins/ffmpeg/FFmpegSampleFormat.hpp: Introduced - osg::AudioStream class to help manage audio streams coming in - from movie reading plugins - -2009-02-27 17:00 robert - - * src/osgPlugins/ffmpeg/AudioSinkInterface.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.hpp: Ported across from - using boost pointers, and prepped for integration of audio - interface into core OSG - -2009-02-27 11:11 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Roland Smeenk, - "Attached is a small bug fix for the redundant messages that are - created in OSG applications on windows. - GraphicsWindowWin32::setCursor is called every frame from the - WM_NCHITTEST message. This will result in a call to - ::SetCursor(_currentCursor) every frame, which again causes a - WM_MOUSEMOVE to occur. The fix exits - GraphicsWindowWin32::setCursor if the requested cursor already is - the current cursor. - - " - -2009-02-27 10:47 robert - - * src/osgUtil/RenderStage.cpp: From Atr Tevs, - - first email: - "in the current implementation of - osgUtil::RenderStage::drawInner() method, there is some wrong - assumptions made. The problem is, that whenever one does use - multisampling functionality, the Blit operation (which suppose to - copy the content of multisampled FBO into the usual one) doesn't - perform well in some cases. - - I've attached a corrected version of the RenderStage. It do just - add one line, which enables the multisampled FBO as a readable - just before the usual FBO is set as writable. With these - corrections the Blit operation performs now correct and allows - using of multisampled rendering results further." - - second email: - "There was a problem when blitting the multisampled FBO with - internal formats. The default internal format of color buffered - multisample FBO was GL_RGBA. This has converted the color values - whenever the FBO content was copied. I've added couple of lines, - which do just enable the multisampled FBO internal format in - respect to the attached color texture's internal format. This - makes it possible to blit even float valued texture, so make HDR - with multisampling possible ;)" - -2009-02-26 22:09 robert - - * CMakeModules/Find3rdPartyDependencies.cmake: From Mattias - Helsing, "I added FORCE to set cmake vars - FREETYPE_INCLUDE_DIR_ft2build and - FREETYPE_INCLUDE_DIR_freetype2. - The error case was that during first cmake run (unspecified - ACTUAL_3RDPARTY_DIR) FindFreeType set these to xxx-NOTFOUND. - After - specifying ACTUAL_3RDPARTY_DIR, Find3rdPartyDependencies warn't - able - to change these (without FORCE). - - I also added freetype237 to the library search list since it is - what's - in my binary dependencies for vc90" - -2009-02-26 10:48 robert - - * CMakeModules/Find3rdPartyDependencies.cmake: Addded setting of - FREETYPE_INCLUDE_DIRS to Find3rdPartyDependencies.cmake - -2009-02-25 20:52 robert - - * src/osgPlugins/ffmpeg/CMakeLists.txt, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp: Tweaks to handle - more modern version of ffmpeg compiled form source. - -2009-02-25 16:05 robert - - * CMakeLists.txt, CMakeModules/FindFFmpeg.cmake, - src/osgPlugins/CMakeLists.txt: Added Cmake support for new ffmpeg - plugin - -2009-02-25 16:04 robert - - * src/osgPlugins/ffmpeg, - src/osgPlugins/ffmpeg/AudioSinkInterface.hpp, - src/osgPlugins/ffmpeg/BoundedMessageQueue.hpp, - src/osgPlugins/ffmpeg/CMakeLists.txt, - src/osgPlugins/ffmpeg/FFmpegClocks.cpp, - src/osgPlugins/ffmpeg/FFmpegClocks.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp, - src/osgPlugins/ffmpeg/FFmpegHeaders.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.hpp, - src/osgPlugins/ffmpeg/FFmpegPacket.hpp, - src/osgPlugins/ffmpeg/FFmpegSampleFormat.hpp, - src/osgPlugins/ffmpeg/MessageQueue.hpp, - src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: From Tanguy Fautre - (Aris Technologies), ffmpeg plugin - -2009-02-23 10:50 robert - - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - version info for 2.9.0 release - -2009-02-23 10:41 robert - - * ChangeLog: Updated ChangeLog for 2.9.0 dev release - -2009-02-23 09:54 robert - - * src/osgPlugins/ogr/ReaderWriterOGR.cpp: From Ralf Habacker & - Robert Osfield, fixed handling of file name string of the - form"PG:host=localhost user=postgres dbname=osm - tables=public.planet_osm_line". The patch also routes gdal debug - and error message to the related osg::notify debug port - this is - usefull for debugging ogr plugin. - -2009-02-20 16:27 robert - - * applications/osgarchive/osgarchive.cpp: From Mathieu Marache, "I - was trying to use the archive output of osgdem without success - when - I eventually found out that it was now disabled (the mailing list - archive tells me it is because of multithreaded write issues with - vpn). I then decided to use osgarchive to make it myself from the - generated output. However if one of the insert parameters is a - directory, it won't be able to find them. The attached versions - corrects this." - -2009-02-20 15:47 robert - - * applications/osgconv/osgconv.cpp: From Maciej Krol, "Small - improvement in --compressed option of osgconv. For non IVE output - files compressed images are written into directory of output file - as DDS. - " + "Further improvement for conversion to IVE format. Compressed - DDS files are written for IVE output when noTexturesInIVEFile - option is defined i.e. osgconv --compressed -O - noTexturesInIVEFile dir1/input.osg dir2/output.ive will write - images into dir2." - -2009-02-20 13:58 robert - - * CMakeModules/OsgMacroUtils.cmake: Added VisualStudio versioning - info to plugins - -2009-02-20 11:53 robert - - * examples/osganimationviewer/AnimtkViewer.cpp, - src/osg/DisplaySettings.cpp: From Bryan Thrall, "Attached files - fix typos, from svn 9791: - - DisplaySettings.cpp: OSG_COMPIlE_CONTEXTS -> OSG_COMPILE_CONTEXTS - AnimtkViewer.cpp: is a 3d poker game client -> is an example for - viewing - osgAnimation animations" - -2009-02-20 11:51 robert - - * src/osgPlugins/dxf/dxfEntity.cpp, src/osgPlugins/dxf/dxfEntity.h, - src/osgPlugins/dxf/scene.cpp, src/osgPlugins/dxf/scene.h: From - Martin Beckett, "I have added support for DXF POINTS to the dxf - reader plugin - It's really just a cut-paste job from the existing LINE support. - - The current dxf plugin architecture isn't very efficient, - especially if you - are loading large point clouds (LIDAR) - eg. it makes multiple lookups of the layer name for each vertex. - I don't know if I can improve this for the general case or if I - have to add a - special large point cloud dxf reader." - -2009-02-20 11:30 robert - - * src/osgPlugins/dxf/dxfEntity.cpp: From Himar Carmona, "When - reading a DXF file, the reader breaks at a debug assertion at - vector (it breaks on release version). Inspecting the code show - that the cause could be in dxfEntity.cpp. - - It seems that the problem is an offending "short" used in a for - loop, where it should be "int" or "long". It causes an index out - of range error. " - -2009-02-19 19:05 robert - - * src/osgUtil/RenderStage.cpp: From Bob Kuehne and Robert Osfield, - email from Bob : "this fix quashes fbo warnings when the fbo - status is 'complete', aka 'ok'. - ", which was then ammended by Robert replacing crytic value - 0x8CD5 with GL_FRAMEBUFFER_COMPLETE_EXT and added brackets to - make code clearer. - -2009-02-19 17:34 robert - - * src/osgPlugins/hdr/hdrloader.cpp: Fixed bug in checking if - numRead values. - -2009-02-19 16:58 robert - - * examples/osgforest/osgforest.cpp: From Christian Buchner, "I am - hereby amending the osgforest sample with some code (functionally - equivalent to the GLSL shaders sample) that displays the forest - with - shaders on Intel 945 GM hardware. This card supports OpenGL 1.4 - and - ARB_fragment/vertex_program only. - - I would be pleased if this change made it into the official set - of - examples, as it illustrates the use of ARB shaders quite nicely. - I did - not find any other example covering this topic." - -2009-02-19 16:29 robert - - * src/osg/State.cpp: From Tanguy Fautre, "This fixes the OSG - crashes reported by - http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2009-February/023499.html - - - - It\u2019s a one line change against OSG 2.8.0 (see line 196). - I\u2019ve already tested the change, and confirmed it\u2019s - fixing the crashes described above." - -2009-02-19 15:57 robert - - * src/osg/PrimitiveSet.cpp: From Ruben Smelik, "I've found a - (copy-paste?) error in PrimitiveSet.cpp regarding instanced - drawing. For DrawElementsUInt and DrawElementsUShort the type - argument of glDrawElementsInstanced was set as GL_BYTE instead of - GL_UNSIGNED_INT and GL_UNSIGNED_SHORT. I've attached the fixed - source file (based on the current SVN head version)." - -2009-02-19 15:15 robert - - * src/OpenThreads/CMakeLists.txt: From Mattias Helsing, "Here is a - fix for the "Unspecified" package. The openthreads pkgconfig - file is made part of libopenthreads-dev component. - - Attached is the modded cmakelists.txt for src/OpenThreads/ - " - -2009-02-19 14:24 robert - - * AUTHORS.txt, CMakeLists.txt, ChangeLog, NEWS.txt, README.txt, - examples/osgviewerQT/QOSGWidget.cpp, - examples/osgvolume/osgvolume.cpp, include/osgDB/fstream, - include/osgIntrospection/Export, include/osgWidget/Export, - src/osgVolume/Shaders/volume_iso_frag.cpp: Merged in various - changes from the OSG-2.8 to being svn/trunk up to date. - -2009-02-11 20:26 robert - - * applications/osgversion/osgversion.cpp: Fixed typo - -2009-02-11 20:02 robert - - * src/osgWrappers/OpenThreads/Thread.cpp, - src/osgWrappers/osg/AlphaFunc.cpp, - src/osgWrappers/osg/AnimationPath.cpp, - src/osgWrappers/osg/ApplicationUsage.cpp, - src/osgWrappers/osg/ArgumentParser.cpp, - src/osgWrappers/osg/Billboard.cpp, - src/osgWrappers/osg/BlendColor.cpp, - src/osgWrappers/osg/BlendEquation.cpp, - src/osgWrappers/osg/BlendFunc.cpp, - src/osgWrappers/osg/BoundingBox.cpp, - src/osgWrappers/osg/BoundingSphere.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/ClampColor.cpp, - src/osgWrappers/osg/ClipNode.cpp, - src/osgWrappers/osg/ClipPlane.cpp, - src/osgWrappers/osg/ClusterCullingCallback.cpp, - src/osgWrappers/osg/CollectOccludersVisitor.cpp, - src/osgWrappers/osg/ColorMask.cpp, - src/osgWrappers/osg/ColorMatrix.cpp, - src/osgWrappers/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/osg/CoordinateSystemNode.cpp, - src/osgWrappers/osg/CopyOp.cpp, src/osgWrappers/osg/CullFace.cpp, - src/osgWrappers/osg/CullSettings.cpp, - src/osgWrappers/osg/CullingSet.cpp, - src/osgWrappers/osg/Depth.cpp, - src/osgWrappers/osg/DisplaySettings.cpp, - src/osgWrappers/osg/DrawPixels.cpp, - src/osgWrappers/osg/Drawable.cpp, src/osgWrappers/osg/Fog.cpp, - src/osgWrappers/osg/FragmentProgram.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osg/FrontFace.cpp, - src/osgWrappers/osg/GL2Extensions.cpp, - src/osgWrappers/osg/Geometry.cpp, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/Group.cpp, src/osgWrappers/osg/Hint.cpp, - src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/ImageSequence.cpp, - src/osgWrappers/osg/ImageStream.cpp, - src/osgWrappers/osg/KdTree.cpp, src/osgWrappers/osg/LOD.cpp, - src/osgWrappers/osg/Light.cpp, - src/osgWrappers/osg/LightModel.cpp, - src/osgWrappers/osg/LineStipple.cpp, - src/osgWrappers/osg/LineWidth.cpp, - src/osgWrappers/osg/LogicOp.cpp, - src/osgWrappers/osg/Material.cpp, - src/osgWrappers/osg/Multisample.cpp, - src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/NodeCallback.cpp, - src/osgWrappers/osg/OcclusionQueryNode.cpp, - src/osgWrappers/osg/PagedLOD.cpp, src/osgWrappers/osg/Point.cpp, - src/osgWrappers/osg/PointSprite.cpp, - src/osgWrappers/osg/PolygonMode.cpp, - src/osgWrappers/osg/PolygonOffset.cpp, - src/osgWrappers/osg/PolygonStipple.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osg/Program.cpp, - src/osgWrappers/osg/ProxyNode.cpp, - src/osgWrappers/osg/Scissor.cpp, - src/osgWrappers/osg/Sequence.cpp, - src/osgWrappers/osg/ShadeModel.cpp, - src/osgWrappers/osg/Shader.cpp, src/osgWrappers/osg/Shape.cpp, - src/osgWrappers/osg/ShapeDrawable.cpp, - src/osgWrappers/osg/State.cpp, - src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/StateSet.cpp, - src/osgWrappers/osg/Stencil.cpp, - src/osgWrappers/osg/StencilTwoSided.cpp, - src/osgWrappers/osg/Switch.cpp, src/osgWrappers/osg/TexEnv.cpp, - src/osgWrappers/osg/TexEnvCombine.cpp, - src/osgWrappers/osg/TexEnvFilter.cpp, - src/osgWrappers/osg/TexGen.cpp, src/osgWrappers/osg/TexMat.cpp, - src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osg/Texture1D.cpp, - src/osgWrappers/osg/Texture2D.cpp, - src/osgWrappers/osg/Texture2DArray.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/TextureCubeMap.cpp, - src/osgWrappers/osg/TextureRectangle.cpp, - src/osgWrappers/osg/TransferFunction.cpp, - src/osgWrappers/osg/Uniform.cpp, - src/osgWrappers/osg/VertexProgram.cpp, - src/osgWrappers/osg/View.cpp, src/osgWrappers/osg/Viewport.cpp, - src/osgWrappers/osgAnimation/Animation.cpp, - src/osgWrappers/osgAnimation/AnimationManager.cpp, - src/osgWrappers/osgAnimation/BasicAnimationManager.cpp, - src/osgWrappers/osgAnimation/Bone.cpp, - src/osgWrappers/osgAnimation/Channel.cpp, - src/osgWrappers/osgAnimation/CubicBezier.cpp, - src/osgWrappers/osgAnimation/EaseMotion.cpp, - src/osgWrappers/osgAnimation/Interpolator.cpp, - src/osgWrappers/osgAnimation/Keyframe.cpp, - src/osgWrappers/osgAnimation/RigGeometry.cpp, - src/osgWrappers/osgAnimation/Skeleton.cpp, - src/osgWrappers/osgAnimation/Target.cpp, - src/osgWrappers/osgAnimation/Timeline.cpp, - src/osgWrappers/osgAnimation/TimelineAnimationManager.cpp, - src/osgWrappers/osgAnimation/UpdateCallback.cpp, - src/osgWrappers/osgAnimation/VertexInfluence.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/DotOsgWrapper.cpp, - src/osgWrappers/osgDB/DynamicLibrary.cpp, - src/osgWrappers/osgDB/FileUtils.cpp, - src/osgWrappers/osgDB/ImageOptions.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgFX/Registry.cpp, - src/osgWrappers/osgFX/Validator.cpp, - src/osgWrappers/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/osgGA/DriveManipulator.cpp, - src/osgWrappers/osgGA/FlightManipulator.cpp, - src/osgWrappers/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/osgGA/GUIEventHandler.cpp, - src/osgWrappers/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/osgParticle/AccelOperator.cpp, - src/osgWrappers/osgParticle/AngularAccelOperator.cpp, - src/osgWrappers/osgParticle/BoxPlacer.cpp, - src/osgWrappers/osgParticle/ConnectedParticleSystem.cpp, - src/osgWrappers/osgParticle/ConstantRateCounter.cpp, - src/osgWrappers/osgParticle/ForceOperator.cpp, - src/osgWrappers/osgParticle/LinearInterpolator.cpp, - src/osgWrappers/osgParticle/MultiSegmentPlacer.cpp, - src/osgWrappers/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/osgParticle/PointPlacer.cpp, - src/osgWrappers/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/osgParticle/RadialShooter.cpp, - src/osgWrappers/osgParticle/RandomRateCounter.cpp, - src/osgWrappers/osgParticle/SectorPlacer.cpp, - src/osgWrappers/osgParticle/SegmentPlacer.cpp, - src/osgWrappers/osgShadow/DebugShadowMap.cpp, - src/osgWrappers/osgShadow/LightSpacePerspectiveShadowMap.cpp, - src/osgWrappers/osgShadow/MinimalCullBoundsShadowMap.cpp, - src/osgWrappers/osgShadow/MinimalDrawBoundsShadowMap.cpp, - src/osgWrappers/osgShadow/MinimalShadowMap.cpp, - src/osgWrappers/osgShadow/OccluderGeometry.cpp, - src/osgWrappers/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/osgShadow/ShadowMap.cpp, - src/osgWrappers/osgShadow/ShadowTechnique.cpp, - src/osgWrappers/osgShadow/ShadowTexture.cpp, - src/osgWrappers/osgShadow/ShadowVolume.cpp, - src/osgWrappers/osgShadow/ShadowedScene.cpp, - src/osgWrappers/osgShadow/SoftShadowMap.cpp, - src/osgWrappers/osgShadow/StandardShadowMap.cpp, - src/osgWrappers/osgShadow/ViewDependentShadowTechnique.cpp, - src/osgWrappers/osgSim/BlinkSequence.cpp, - src/osgWrappers/osgSim/DOFTransform.cpp, - src/osgWrappers/osgSim/Impostor.cpp, - src/osgWrappers/osgSim/LightPointNode.cpp, - src/osgWrappers/osgSim/LightPointSystem.cpp, - src/osgWrappers/osgSim/MultiSwitch.cpp, - src/osgWrappers/osgSim/ObjectRecordData.cpp, - src/osgWrappers/osgSim/OverlayNode.cpp, - src/osgWrappers/osgSim/ScalarBar.cpp, - src/osgWrappers/osgSim/Sector.cpp, - src/osgWrappers/osgSim/ShapeAttribute.cpp, - src/osgWrappers/osgSim/SphereSegment.cpp, - src/osgWrappers/osgSim/VisibilityGroup.cpp, - src/osgWrappers/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/osgTerrain/Layer.cpp, - src/osgWrappers/osgTerrain/Locator.cpp, - src/osgWrappers/osgTerrain/Terrain.cpp, - src/osgWrappers/osgTerrain/TerrainTechnique.cpp, - src/osgWrappers/osgTerrain/TerrainTile.cpp, - src/osgWrappers/osgText/FadeText.cpp, - src/osgWrappers/osgText/KerningType.cpp, - src/osgWrappers/osgText/String.cpp, - src/osgWrappers/osgText/Text.cpp, - src/osgWrappers/osgText/Text3D.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/DelaunayTriangulator.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgUtil/RenderBin.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp, - src/osgWrappers/osgUtil/SceneView.cpp, - src/osgWrappers/osgUtil/Simplifier.cpp, - src/osgWrappers/osgUtil/Statistics.cpp, - src/osgWrappers/osgUtil/Tessellator.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/GraphicsWindow.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp, - src/osgWrappers/osgViewer/ViewerBase.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp, - src/osgWrappers/osgVolume/FixedFunctionTechnique.cpp, - src/osgWrappers/osgVolume/Layer.cpp, - src/osgWrappers/osgVolume/Locator.cpp, - src/osgWrappers/osgVolume/Property.cpp, - src/osgWrappers/osgVolume/RayTracedTechnique.cpp, - src/osgWrappers/osgVolume/Volume.cpp, - src/osgWrappers/osgVolume/VolumeTechnique.cpp, - src/osgWrappers/osgVolume/VolumeTile.cpp, - src/osgWrappers/osgWidget/Browser.cpp, - src/osgWrappers/osgWidget/Frame.cpp, - src/osgWrappers/osgWidget/Label.cpp, - src/osgWrappers/osgWidget/StyleManager.cpp, - src/osgWrappers/osgWidget/ViewerEventHandlers.cpp, - src/osgWrappers/osgWidget/Widget.cpp, - src/osgWrappers/osgWidget/Window.cpp: Updated wrappers - -2009-02-11 19:55 robert - - * src/osgWrappers/Doxyfile.template, - src/osgWrappers/genwrapper.conf: Updated wrappers to works with - doxygen 1.5.8 output. - -2009-02-11 17:21 robert - - * CMakeLists.txt: Disabled the use of aggressive warnings under OSX - as the default. - -2009-02-11 17:14 robert - - * src/osgPlugins/quicktime/QTImportExport.cpp, - src/osgPlugins/quicktime/QTUtils.cpp, - src/osgPlugins/quicktime/QTUtils.h, - src/osgPlugins/quicktime/ReaderWriterQT.cpp: From Riccardo Corsi, - "in attach you'll find a patch to cleanup a little bit the - (de)initialization code of QuickTime environment from the - quickTime pluging. - It basically removes the static init() and exit() functions,and - move them inside the observer class (the one that cleans - everything up when the last media is unloaded). - - It also add an extra check to clean up on exit if the QuickTime - env is initialized, but no media is succesfully loaded / written - (it might happens with streaming resources). - - I tested it under WinXP with zero, one and multiple videos. - - Stephan reads in copy: could you kindly check if everything runs - smooth under OSX as well? Also, have you got a chance to test it - with streaming media? - " - -2009-02-11 13:33 robert - - * doc/Doxyfiles/all_Doxyfile, doc/Doxyfiles/auto_Mainpage, - doc/Doxyfiles/core_Doxyfile, doc/Doxyfiles/doxyfile.cmake, - doc/Doxyfiles/openthreads.doxyfile.cmake, - src/osgWrappers/Doxyfile.template: From Sukender, changed doxygen - verbosity to quite - -2009-02-11 12:10 robert - - * src/OpenThreads/sproc/SprocThread.c++: Added brackets around - (unsigned int) to avoid IRIX compile error. - -2009-02-11 10:41 robert - - * include/osg/BoundingBox, include/osgAnimation/Vec3Packed, - include/osgTerrain/Terrain, - include/osgUtil/DrawElementTypeSimplifier, - include/osgWidget/Browser: Fixes for doxgen warnings - -2009-02-11 09:14 robert - - * CMakeModules/FindCOLLADA.cmake, - src/osgPlugins/dae/daeRMaterials.cpp: From Roland Smeenk, - "Attached are two small fixes: - -I changed the SET of COLLADA_BOOST_INCLUDE_DIR to use findpath, - so users may override this setting if they choose not to build - against to precompiled boost libraries delivered with the Collada - DOM. - - -Changed daeRMaterials.cpp to prevent a compiler warning about a - potentially uninitialized variable." - -2009-02-10 20:31 robert - - * CMakeLists.txt, src/osgPlugins/cfg/ConfigParser.cpp: Merged - warning fix from OSG-2.8 branch: - - svn merge -r 9755:9756 - http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.8 - -2009-02-10 20:09 robert - - * src/osgDB/DynamicLibrary.cpp: Changed notication level to INFO, - merged changed from OSG-2.8 branch using: - - svn merge -r 9751:9752 - http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.8 - -2009-02-10 19:25 robert - - * CMakeModules/FindCOLLADA.cmake, - src/osgPlugins/dae/CMakeLists.txt: From Roger James and Robert - Osfield, fixes and reorganization to better support Windows - dyanmic library build - -2009-02-10 18:56 robert - - * src/osgPlugins/osgParticle/IO_FluidProgram.cpp: From Pierre - Haritchabalet, "In IO_FluidProgram.cpp, - FluidProgram_readLocalData() function is wrong. When density - parameter is read, the function "setFluidViscosity()" is called - instead of "setFluidDensity()". - This patch fixes osg plug'in FluidProgram_readLocalData. " - -2009-02-10 18:51 robert - - * examples/osgvolume/osgvolume.cpp, include/osgVolume/Layer, - include/osgVolume/VolumeTile, src/osgVolume/Layer.cpp, - src/osgVolume/VolumeTile.cpp, - src/osgWrappers/osgVolume/Layer.cpp: Merged fixes to osgVolume's - handling of ImageSequence animated volumes, merge command: - - svn merge -r 9746:9747 - http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.8 - -2009-02-10 14:01 robert - - * PlatformSpecifics/Windows/OpenSceneGraphVersionInfo.rc.in, - PlatformSpecifics/Windows/OpenThreadsVersionInfo.rc.in: From - Roger James, fixes for VS build handling of new VS versioning - support - -2009-02-10 13:37 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: From Jason Beverage, - "I've added a small change to the CURL plugin that allows support - for HTTP redirects." - -2009-02-10 13:25 robert - - * CMakeModules/FindZLIB.cmake: From Miguel Escriva,"OSG 2.8.0-rc4 - don't found zlib in Windows. - - Here you will find a patch. " -2009-02-10 11:44 robert +Fri, 22 Feb 2013 17:42:47 +0000 +Checked in by : Robert Osfield +From Chris Hanson, " Adds missing copy for _bbox member variable to copy constructor:LightPointNode::LightPointNode(const LightPointNode& lpn,const osg::CopyOp& copyop): + osg::Node(lpn,copyop), + _bbox(lpn._bbox), + _lightPointList(lpn._lightPointList), + _minPixelSize(lpn._minPixelSize), + _maxPixelSize(lpn._maxPixelSize), + _maxVisibleDistance2(lpn._maxVisibleDistance2), + _lightSystem(lpn._lightSystem), + _pointSprites(lpn._pointSprites) +{ +} - * CMakeLists.txt, CMakeModules/FindCOLLADA.cmake, - src/osgPlugins/dae/CMakeLists.txt: From Roland Smeenk and Robert - Osfiled, tweaks to the Collada finding/linking to improve support - for Collada DOM 2.1 + 2.2 across platforms. -2009-02-09 22:56 robert + Lacking this causes _bbox to be uninitialized after LOD changes when paged databases refer to shared subgraphs. - * examples/osganimationskinning/osganimationskinning.cpp, - include/osgAnimation/RigGeometry, include/osgAnimation/Timeline, - src/osgWrappers/osgAnimation/RigGeometry.cpp, - src/osgWrappers/osgAnimation/Timeline.cpp: From Fabien - Lavignotte, "Here is some various small fixes i have done while - playing with - osgAnimation. - - Animation : removed the _name attribute that is never used. - - BasicAnimationManager : fix a crash on Windows with the example - osganimationviewer. The _lastUpdate attribute was not initialized - when - using copy constructor. - - CMakeLists.txt : add RigGeometry to the headers list" - -2009-02-09 22:33 robert - - * src/osgDB/DatabasePager.cpp: Fixed to - DatabasePager::getRequestsInProgress(), merged from: - - svn merge -r 9734:9735 - http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.8 - -2009-02-09 22:12 robert - - * src/osgWrappers/genwrapper.conf, - src/osgWrappers/osgParticle/ParticleSystem.cpp: Merged from - OSG-2.8 branch the suppression of the wrapping of the - ScopeLock - -2009-02-09 21:48 robert - - * src/osgPlugins/osg/ReaderWriterOSG.cpp: From Bryan Thrall, "The - .osg plugin doesn't seem to support an option to write shader - files - separately, so it always inlines them in the .osg file (as far as - I can - tell). This change adds that ability. " - -2009-02-09 21:42 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Ralf Habacker, fix to - memory leak in GraphicsWindowWin32.cpp. Merged from OSG-2.8 - branch using svn command: - - svn merge -r 9726:9727 - http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.8 - -2009-02-09 21:38 robert - - * include/osgParticle/ParticleSystem, - src/osgParticle/ConnectedParticleSystem.cpp, - src/osgParticle/ParticleProcessor.cpp, - src/osgParticle/ParticleSystem.cpp, - src/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/osgParticle/ParticleSystem.cpp: Merged from - OSG-2.8 branch changes to the use of ReadWriteMutex to Mutex in - osgParticle::ParticleSystem. - - svn command: - - svn merge -r 9725:9726 - http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.8 - -2009-02-09 13:49 shuber - - * Xcode/OpenSceneGraph/config/OpenThreads/Config: From Stephan - Huber: fixed local Config file needed for xcode-project - -2009-02-09 11:15 robert - - * NEWS.txt: From Paul Melis, syncing improvements made to wiki - version of NEWS for 2.8 - -2009-02-09 11:13 robert - - * src/osgDB/Registry.cpp: Removed redundent #pragma - -2009-02-09 10:00 robert - - * src/osgWrappers/osgAnimation/Animation.cpp: Updated wrappers - -2009-02-09 09:41 robert - - * include/osgAnimation/Animation: From Cedric Pinson, removed - virtual inheritance from osgAnimation::Animation - -2009-02-08 19:30 robert - - * src/osgText/Text.cpp: Fixed handling of a series of \n in the - text string so that the correct line spacing is maintained. - -2009-02-08 15:56 robert - - * examples/osgcompositeviewer/osgcompositeviewer.cpp, - examples/osgfont/osgfont.cpp, examples/osgmovie/osgmovie.cpp, - examples/osgocclusionquery/osgocclusionquery.cpp, - src/osgDB/DynamicLibrary.cpp: From Paul Melis, "While trying out - the osgbrowser example (where I had forgotten to update - LD_LIBRARY_PATH so the XUL libs would be found) I noticed that - although - the gecko plugin was found it could not be loaded. But this did - not - trigger any visible warning/error message (at least not without - INFO - notify level). Would you mind if we change the notify level for a - dlerror() to WARNING? This will also make it more explicit for - the case - when a plugin isn't actually found, which seems to come up a lot - for - novice users (e.g. no freetype on win32, so no freetype plugin, - etc). - Also, the current error message is misleading ("Warning: Could - not FIND - plugin to ...") because the it's not always a case of not finding - the - plugin. I slightly enhanced the situation of not finding a plugin - versus - finding it but not being able to load it. - - Here's also a few fixes to some of the examples: - - osgfont: make usage help line more in line with the actual - behaviour - - osgcompositeviewer: complain when no model file was provided - - osgmovie: don't include quicktime-dependent feature on Linux - - osgocclussionquery: comment addition (as I was surprised that - lines - were being drawn in a function called createRandomTriangles())" - -2009-02-07 11:30 robert - - * src/osgUtil/Optimizer.cpp: Merged from OSG-2.8 branch, fix to - handle of StateSet attached to transforms being removed by the - FlattentStaticTransformVisitor - -2009-02-06 15:49 robert - - * CMakeLists.txt, include/osg/Version: Bumped version number of - svn/trunk to 2.9.0 - -2009-02-06 15:39 robert - - * include/osg/Export: Added a couple more pragma's to resolve final - Windows warnings - -2009-02-06 15:38 robert - - * CMakeModules/FindOurDCMTK.cmake, CMakeModules/FindXUL.cmake: From - Paul Melis & Robert Osfeild, improvements to find scripts to - better handle diffrent installation combinations - -2009-02-06 15:17 robert - - * examples/osg2cpp/osg2cpp.cpp, - examples/osganimationtimeline/osganimationtimeline.cpp, - examples/osganimationviewer/AnimtkViewerKeyHandler.cpp, - examples/osgcluster/broadcaster.cpp, - examples/osgcluster/osgcluster.cpp, - examples/osggeodemo/osggeodemo.cpp, - examples/osgmemorytest/osgmemorytest.cpp, - examples/osgmultitexture/osgmultitexture.cpp: From Gary Quinn, - spelling fixes - -2009-02-06 14:19 robert - - * src/OpenThreads/CMakeLists.txt: Fixed path to version resource - input file - -2009-02-06 14:13 robert - - * PlatformSpecifics/Windows/osgShell.bat: From Gary Quin + Robert - Osfield, clean up of old batch file - -2009-02-06 12:15 robert - - * src/osgPlugins/lwo/lwo2read.h: Fixed data copy bug - -2009-02-06 10:35 robert - - * src/osg/Image.cpp, src/osg/State.cpp, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgPlugins/osgVolume/ImageLayer.cpp, - src/osgUtil/RenderStage.cpp: From Alberto Luaces, "here are some - minor fixes to notify warnings were the std::hex modifier was - used but never restored to the decimal notation. That made OSG - print messages - like the following after some notifications: - - Warning: detected OpenGL error 'invalid value' after - RenderBin::draw(,) - RenderStage::drawInner(,) FBO status= 0x8cd5 - [...] - Scaling image 'brick_side.JPG' from (1b4,24f) to (200,200) <--- - Values in hex - because of previous error. - [...]" - -2009-02-06 08:46 robert - - * CMakeLists.txt, - PlatformSpecifics/Windows/OpenSceneGraphVersionInfo.rc.in, - PlatformSpecifics/Windows/OpenThreadsVersionInfo.rc.in, - PlatformSpecifics/Windows/VersionInfo.rc.in, - src/OpenThreads/CMakeLists.txt, - src/OpenThreads/win32/CMakeLists.txt: Added support for VS - versioning of OpenThreads - -2009-02-05 15:22 robert - - * include/osgAnimation/Animation, - include/osgAnimation/BasicAnimationManager, - src/osgAnimation/BasicAnimationManager.cpp, - src/osgAnimation/CMakeLists.txt: From Fabian Lavignotte, "Here is - some various small fixes i have done while playing with - osgAnimation. - - Animation : removed the _name attribute that is never used. - - BasicAnimationManager : fix a crash on Windows with the example - osganimationviewer. The _lastUpdate attribute was not initialized - when - using copy constructor. - - CMakeLists.txt : add RigGeometry to the headers list" +" -2009-02-05 14:56 robert - * CMakeLists.txt: Changed version to only be run for Visual Studio -2009-02-05 14:55 robert +Wed, 13 Feb 2013 16:29:03 +0000 +Checked in by : Robert Osfield +From Lukasz Izdebski,"added support for gl_SampleMaski." - * CMakeLists.txt, PlatformSpecifics/Windows/VersionInfo.rc.in, - src/osg/CMakeLists.txt, src/osgAnimation/CMakeLists.txt, - src/osgDB/CMakeLists.txt, src/osgFX/CMakeLists.txt, - src/osgGA/CMakeLists.txt, src/osgIntrospection/CMakeLists.txt, - src/osgManipulator/CMakeLists.txt, - src/osgParticle/CMakeLists.txt, src/osgShadow/CMakeLists.txt, - src/osgSim/CMakeLists.txt, src/osgTerrain/CMakeLists.txt, - src/osgText/CMakeLists.txt, src/osgUtil/CMakeLists.txt, - src/osgViewer/CMakeLists.txt, src/osgVolume/CMakeLists.txt, - src/osgWidget/CMakeLists.txt: From Sherman Wilcox, added VS - versioning information into libs +Wed, 13 Feb 2013 16:03:35 +0000 +Checked in by : Robert Osfield +From Jordi Torres, "This error occurs when compiling current OSG with the NDK >=r8c:android-ndk-r8d/build/gmsl/__ +gmsl:512: *** non-numeric second argument to `wordlist' function: ''. Stop. -2009-02-05 14:54 robert +This is discussed in this thread[1]. +The solution is to add to the manifest as the OSG library will only run in devices with Android>=2.2 (Froyo) with API level 8 [2]. - * include/osgTerrain/TerrainTile, include/osgVolume/VolumeTile, - src/osgTerrain/TerrainTile.cpp, src/osgVolume/VolumeTile.cpp: - Added exports, and moved constructors into .cpp. +The fix does not affect to older sdk's. -2009-02-05 14:42 robert +Thanks to Jan Ciger for spotting the bug and find a possible solution. " - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Added initializer and - fixed indentation -2009-02-05 14:35 robert - * src/osgPlugins/gecko/CMakeLists.txt, - src/osgPlugins/xine/CMakeLists.txt: Suppress gcc warnings emitted - by external headers +Tue, 12 Feb 2013 15:44:52 +0000 +Checked in by : Robert Osfield +From Jordi Torres, Android build fix -2009-02-05 12:21 robert +Tue, 12 Feb 2013 15:40:21 +0000 +Checked in by : Robert Osfield +From Jordi Torres, fix for Android build - * examples/osgviewerQT/QOSGWidget.cpp: From Morne Pistorius, - "Attached is a modified version of the QOSGWidget example that - shows - the workaround we discussed for adding/removing views in a - composite - viewer at runtime. A dummy view is added to the viewer to always - keep - it live. - - Also, I added a #define to the Qt event relay methods to not - override - them on a Windows system. This fixes the bug where duplicate - events - are being sent and making it impossible to throw the trackball." +Tue, 12 Feb 2013 15:18:06 +0000 +Checked in by : Robert Osfield +From Stephan Huber, fixed bug in setting _numMessagesPerEvent and added more debug information -2009-02-05 12:03 robert +Thu, 7 Feb 2013 19:16:07 +0000 +Checked in by : Robert Osfield +From Mike Connell, "3 smaller fixes for the 3DS loader (against trunk)1. Respect "noMatrixTransforms" option for matrices attached to meshes, not only those attached to nodes - * examples/osgviewerQT/QOSGWidget.cpp: Warning fixes +2. traverse_nodes variable did the exact opposite of it's description. -2009-02-05 11:10 robert +3. Always try to load referenced textures, even if we can't find the files (in order to the the registry's ReadFileCallback have a stab at it) +" - * CMakeLists.txt, include/osg/Export: Added VS and gcc warning - suppression to clean up a few last stubborn warnings -2009-02-05 10:14 robert - * examples/osglauncher/osglauncher.cpp, - examples/osgviewerGLUT/osgviewerGLUT.cpp, - src/osgPlugins/cfg/ConfigLexer.cpp, - src/osgUtil/TriStrip_graph_array.h: From Jean-Sebastien Guay, - warning fixes +Thu, 7 Feb 2013 11:10:24 +0000 +Checked in by : Robert Osfield +From Lukasz Izdebski , "I added write and read numInstances in PrimitiveSet." -2009-02-04 16:12 shuber +Thu, 7 Feb 2013 11:08:34 +0000 +Checked in by : Robert Osfield +Updated SO version in prep for serialization foramt change - * Xcode/OpenSceneGraph/config/OpenThreads/Config: From Stephan - Huber: fix for local config-file used by the deprecated - XCode-project +Thu, 7 Feb 2013 08:46:44 +0000 +Checked in by : Robert Osfield +Updated AUTHORS list -2009-02-04 13:51 robert +Wed, 6 Feb 2013 16:04:13 +0000 +Checked in by : Robert Osfield +From Wee See, Support for importing OpenFlight Surface Material Codes using osg::Object::UserValue. Notes from Wee See:See attached my ported code, which fulfills: - * include/osgVolume/Property, include/osgWidget/WindowManager, - src/osgWrappers/osgVolume/Property.cpp: Form Paul Melis, spelling - fixes +- using of setUserValue()/getUserValue() +- user-value will be attached to Geode or Drawable +- actually 3 values will be added: SMC (surface), FID (feature) and IRC (IRcolor). Its UserValue-names are < UA:SMC >, < UA:FID > and < UA:IRC > (without spaces!) +- user-value will be attached to Geode or Drawable +- has an option (named preserveNonOsgAttrsAsUserData) for control whether the UserValues should be attached (Default: no UserValues will be attached) -2009-02-04 12:59 robert +Reading out this values is very simple. Here is an example (uservalue-name without spaces!): - * CMakeLists.txt: Set the release candidate to 1. +signed short smc; +if (myGeode.getUserValue("< UA:SMC >", smc)) +{ + doSomethingWithTheGeodeAndItsSmc(myGeode, smc); +} +else +{ + // geode has no SMC +} -2009-02-04 12:54 robert - * NEWS.txt: Updated news to keep in sync with online news entry -2009-02-04 12:50 robert - * AUTHORS.txt: Updated AUTHORS file for 2.8 branch. +Wed, 6 Feb 2013 14:50:37 +0000 +Checked in by : Robert Osfield +From Aurelien Albert, "This line,I use the "useVertexAttributeAliasing" mode in my application, and color arrays are not normalized, so shaders get [0.0-255.0] values instead of [0.0-1.0] values. This patch fix this."and those below, will be ignored +---- -2009-02-04 12:31 robert +M include/osg/State - * NEWS.txt, README.txt: Updated NEWS and README for 2.8 branch -2009-02-04 11:35 robert - * include/osg/Image, src/osg/Image.cpp, - src/osgWrappers/osg/Image.cpp: Fixed the constness of osg::Image* - pointer +Wed, 6 Feb 2013 14:49:48 +0000 +Checked in by : Robert Osfield +Added TODO note about RGB -> RGBA -2009-02-04 09:03 robert +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 - * src/OpenThreads/common/Atomic.cpp: Removed cast, to quieten VS - warnings. Confirm change with original author Mathias Froehlich. +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. -2009-02-03 20:26 robert - * include/osgIntrospection/Export, - include/osgIntrospection/TypedMethodInfo: Clean up warning - disable code -2009-02-03 20:17 robert +Added __STDC_CONSTANT_MACROS define to CMakeLists.txt - * examples/osgviewerGLUT/osgviewerGLUT.cpp: Disabled warning +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. -2009-02-03 17:14 robert - * src/osg/MatrixDecomposition.cpp: Fixed warning -2009-02-03 17:11 robert +Replaced AVFormatParameters with AVDictionary - * src/osgUtil/Simplifier.cpp: Fixed warning +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. -2009-02-03 15:28 robert - * examples/osgcluster/broadcaster.cpp, - examples/osgcluster/osgcluster.cpp, - examples/osgcluster/receiver.cpp, - examples/osgimagesequence/osgimagesequence.cpp, - examples/osgmovie/osgmovie.cpp, - examples/osgunittests/UnitTestFramework.cpp, - examples/osgunittests/UnitTestFramework.h, - include/osgIntrospection/Reflector, - include/osgIntrospection/TypedConstructorInfo, - include/osgIntrospection/TypedMethodInfo, - src/OpenThreads/win32/Win32Thread.cpp, - src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/cfg/ConfigLexer.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/lwo/lwo2types.h, - src/osgPlugins/obj/OBJWriterNodeVisitor.cpp, - src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/TXPIO.cpp, src/osgPlugins/txp/TXPParser.cpp, - src/osgPlugins/txp/trpage_material.cpp, - src/osgUtil/Simplifier.cpp, src/osgUtil/TriStrip_tri_stripper.h: - Warning fixes -2009-02-03 12:47 robert +Replaced av_open_input_file with avformat_open_input - * examples/osgtexture2D/osgtexture2D.cpp: Added - setDataVariance(DYNAMIC) to text label as it's being updated - dynamically +FFmpeg now opens files using avformat_open_input. Since the av_open_input_file method is deprecated, the FFmpegDecoder class has been updated to reflect this change. -2009-02-03 11:54 robert - * include/osgIntrospection/TypedMethodInfo: Added local disabling - the the VS C4121 "alignment of a member was sensitive to packing" - warning -2009-02-03 11:07 robert +Added custom AVIOContext field to options - * src/osgWidget/Input.cpp: Fixed warning +Since some formats and inputs may not be supported by FFmpeg, I have added a new parameter that allows a user to allocate their own AVIOContext. This class will allow for creating a read, seek, and write callback if they desire. -2009-02-03 11:05 robert - * CMakeLists.txt: Added disabling of "warning: format not a string - literal, argument types not checked" under FreeBSD as these - errors are being generated from std library ostream - implementation. -2009-02-03 11:04 robert +Checking for start_time validity - * include/osgViewer/ViewerEventHandlers: Added explict - initialization of osg::Object contstructor to fix warning +It is possible for some file formats to not provide a start_time to FFmpeg. This would cause stuttering in the video since the clocks class would be incorrect. -2009-02-02 20:42 robert - * src/osgWrappers/osg/TransferFunction.cpp: Updated wrappers -2009-02-02 20:35 robert +Removed findVideoStream and findAudioStream - * include/osgIntrospection/Attributes, - include/osgIntrospection/ConstructorInfo, - include/osgIntrospection/MethodInfo, - include/osgIntrospection/ParameterInfo, - include/osgIntrospection/PropertyInfo, - include/osgIntrospection/Value, src/osg/ShapeDrawable.cpp, - src/osg/Transform.cpp, src/osgDB/DatabasePager.cpp, - src/osgSim/SphereSegment.cpp, src/osgText/String.cpp, - src/osgUtil/CullVisitor.cpp, - src/osgUtil/DelaunayTriangulator.cpp, - src/osgUtil/EdgeCollector.cpp, src/osgUtil/IntersectVisitor.cpp, - src/osgUtil/LineSegmentIntersector.cpp, - src/osgUtil/Simplifier.cpp, src/osgUtil/TriStripVisitor.cpp, - src/osgUtil/TriStrip_graph_array.h, - src/osgViewer/PixelBufferWin32.cpp: Warnings fixes for VS. +The new FFmpeg release already has a function that will find the best audio and video stream. The code has been replaced with this function. -2009-02-02 20:34 robert - * src/osgViewer/CMakeLists.txt: Attempt to appease both FreeBSD - CMAke 2.6.2 + Linux CMake 2.4.8 builds -2009-02-02 18:55 robert +Updated error reporting - * src/osgAnimation/Timeline.cpp: From Cedric Pinson, warning fix. +Some functions would not log an error when opening a file or modifying a file failed. New logs have been added as well as a function to convert error numbers to their string descriptions. -2009-02-02 17:46 robert - * src/osg/MatrixDecomposition.cpp: Added initializer for local Quat - definition -2009-02-02 17:32 robert +decode_video has been replaced - * include/osgViewer/ViewerEventHandlers: Added explict intializiers - of base classes +The old decode_video function would remove extra data that some decoders use in order to properly decode a packet. Now av_codec_decode_video2 has replaced that function. -2009-02-02 17:16 robert - * CMakeModules/FindOSG.cmake: Added /lib64 to search paths. -2009-02-02 17:15 robert +Picture format changed from RGBA32 to RGB24 - * include/osgViewer/ViewerEventHandlers, - src/osgViewer/StatsHandler.cpp: Improved handling of stats - projection size +Since most video will not contain an alpha channel, using a 24 bit texture will use less memory." -2009-02-02 16:56 robert - * src/osgPlugins/logo/ReaderWriterLOGO.cpp: From Stephan Huber, - build fix for OSX XCode build -2009-02-02 15:04 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 - * include/osg/Version: Fixed version +Wed, 6 Feb 2013 11:16:29 +0000 +Checked in by : Robert Osfield +Fixed warning -2009-02-02 14:55 robert +Wed, 6 Feb 2013 09:20:10 +0000 +Checked in by : Robert Osfield +From Stephan Huber, fixed for Windows 64bit build - * CMakeLists.txt, include/OpenThreads/Version, include/osg/Version, - src/OpenThreads/CMakeLists.txt: Updated OpenThreads and - OpenSceneGraph version ready for OSG-2.8 branch. +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 -2009-02-02 14:51 robert +Mon, 4 Feb 2013 16:25:52 +0000 +Checked in by : Robert Osfield +Updated ChangeLog - * src/osgPlugins/osgAnimation/ReaderWriter.cpp: From Cedric Pinson, - "Here an update of the osgAnimation ReaderWriter, it add other - NodeCallback that could be attached to a node with Bone." +Mon, 4 Feb 2013 14:42:44 +0000 +Checked in by : Robert Osfield +Updated version number after 3.1.4 developer release -2009-02-02 14:50 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. " - * src/osgPlugins/osgParticle/IO_FluidFrictionOperator.cpp: From - Pierre Haritchablaet, "The wind vector of - osgParticle::FluidFrictionOperator has not been written and read - in IO_FluidFrictionOperator. This patch fixes osg plug'in - FluidFrictionOperator_readLocalData and - FluidFrictionOperator_writeLocalData." +Mon, 4 Feb 2013 13:28:05 +0000 +Checked in by : Robert Osfield +Fixed warning -2009-02-02 14:43 robert +Mon, 4 Feb 2013 13:27:46 +0000 +Checked in by : Robert Osfield +Fixed warnings - * examples/osgterrain/osgterrain.cpp, - examples/osgvolume/osgvolume.cpp, include/osg/TransferFunction, - include/osgTerrain/Layer, src/osg/TransferFunction.cpp, - src/osgPlugins/osg/TransferFunction.cpp, - src/osgPlugins/osgTerrain/TerrainTile.cpp, - src/osgPlugins/osgVolume/VolumeTile.cpp, - src/osgTerrain/Layer.cpp, src/osgViewer/CMakeLists.txt, - src/osgVolume/Layer.cpp, - src/osgWrappers/osg/TransferFunction.cpp: Refactored - osg::TransferFunction1D to use an std::map internally which is - kept in sync with the actual osg::Image that is passed to the - GPU. - - Added .osg support for osg::TransferFunction1D. - - Updated wrappers +Mon, 4 Feb 2013 13:11:13 +0000 +Checked in by : Robert Osfield +Fixed warning -2009-02-02 09:23 robert +Mon, 4 Feb 2013 12:50:51 +0000 +Checked in by : Robert Osfield +Fixed warning and converted tabs to four spaces - * include/osg/Node: From Sukender, add check against NULL parameter - value +Mon, 4 Feb 2013 12:38:08 +0000 +Checked in by : Robert Osfield +Fixed warnings -2009-02-01 12:38 robert +Mon, 4 Feb 2013 12:01:26 +0000 +Checked in by : Robert Osfield +Fixed warning - * include/osg/TransferFunction, src/osg/TransferFunction.cpp, - src/osgPlugins/osg/CMakeLists.txt, - src/osgPlugins/osg/TransferFunction.cpp, - src/osgPlugins/osgVolume/TransferFunctionProperty.cpp: Ground - work for full .osg support for osg::TransferFunction* +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 -2009-01-31 21:46 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. - * NEWS.txt: Updated NEWS +Wed, 30 Jan 2013 11:31:27 +0000 +Checked in by : Robert Osfield +Added handling of movies into Timeout -2009-01-31 21:46 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. - * src/osgPlugins/osgVolume/CMakeLists.txt, - src/osgPlugins/osgVolume/TransferFunctionProperty.cpp: Added - initial placeholder for .osg support for - osgVolume::TransferFunctionProperty +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. -2009-01-31 21:45 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." - * examples/osgvolume/osgvolume.cpp: Fixed handling of - TransferFunctionProperty. +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." -2009-01-31 10:21 robert - * src/osgViewer/CMakeLists.txt: Rejigged the Xrandr include -2009-01-30 18:56 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). " - * src/osgVolume/Shaders/volume_frag.cpp, - src/osgVolume/Shaders/volume_iso_frag.cpp, - src/osgVolume/Shaders/volume_lit_frag.cpp, - src/osgVolume/Shaders/volume_lit_tf_frag.cpp, - src/osgVolume/Shaders/volume_mip_frag.cpp, - src/osgVolume/Shaders/volume_tf_frag.cpp, - src/osgVolume/Shaders/volume_tf_iso_frag.cpp, - src/osgVolume/Shaders/volume_tf_mip_frag.cpp: Improved shaders to - better handle region of constant values when doing normal - generation +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) -2009-01-30 17:10 robert +It also added a search for libtiff to Apple builds mainly for use with osg earth." - * src/osgVolume/RayTracedTechnique.cpp, - src/osgVolume/Shaders/volume_iso_frag.cpp, - src/osgVolume/Shaders/volume_tf_iso_frag.cpp: Updated iso surface - shaders -2009-01-30 16:45 robert - * src/osgVolume/Shaders/volume_iso_frag.cpp: Added support for - discard fragment that don't generate an iso surface intersect +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. -2009-01-30 15:04 robert +Compute shader information can be found at "http://www.opengl.org/registry/specs/ARB/compute_shader.txt" +" - * src/osg/TransferFunction.cpp: From Paul Melis, "I think - TransferFunction needs to call _image->dirty() in two places in - response to an assign() of new transfer map values. - Here's an updated file, which seems to work here. - " -2009-01-30 14:54 robert - * src/osgPlugins/osgParticle/IO_ParticleEffect.cpp: From Lionel - Lagarde, "this correct how the ParticleEffect are serialized : - - the texture file name is taken from the TextFileName field - - the texture file name is written using writeString - " -2009-01-30 13:05 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." - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Update - AUTHORS for release +Fri, 25 Jan 2013 10:36:42 +0000 +Checked in by : Robert Osfield +Fixed compile warning -2009-01-30 12:17 robert +Fri, 25 Jan 2013 10:24:11 +0000 +Checked in by : Robert Osfield +Added debug message for Timout - * ChangeLog: Updated ChangeLog for 2.7.9 release +Thu, 24 Jan 2013 18:48:34 +0000 +Checked in by : Robert Osfield +Fixed usage of META_NodeVisitor so it doesn't include "" -2009-01-30 12:09 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" - * src/osgViewer/StatsHandler.cpp: Fixed size of background of frame - stats so that it's the correct width of the window +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." -2009-01-30 11:40 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." - * src/osgWrappers/osgVolume/Property.cpp: Updated wrappers +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 -2009-01-30 10:55 robert +Wed, 23 Jan 2013 15:54:20 +0000 +Checked in by : Robert Osfield +From Lionel Lagarde, fixed typo bug - * NEWS.txt, include/osg/Array, include/osg/Drawable, - include/osg/Geometry, include/osg/Group, include/osg/Image, - include/osg/KdTree, include/osg/Node, - include/osg/OperationThread, include/osg/PrimitiveSet, - include/osg/Program, include/osg/Shape, include/osg/State, - include/osg/StateAttribute, include/osg/StateSet, - include/osg/Stats, include/osg/View, include/osgVolume/Property: - Fixed warnings, updated NEWS +Wed, 23 Jan 2013 11:50:45 +0000 +Checked in by : Robert Osfield +Removed redundent code block -2009-01-29 20:40 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." - * src/osgPlugins/osgVolume/CMakeLists.txt, - src/osgPlugins/osgVolume/PropertyAdjustmentCallback.cpp: Added - support for osgVolume::ProperyAdjustmentCallback +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." -2009-01-29 20:34 robert - * src/osgPlugins/osgVolume/CMakeLists.txt, - src/osgPlugins/osgVolume/CompositeProperty.cpp, - src/osgPlugins/osgVolume/ImageLayer.cpp, - src/osgPlugins/osgVolume/Property.cpp, - src/osgPlugins/osgVolume/ScalarProperty.cpp, - src/osgPlugins/osgVolume/SwitchProperty.cpp: Added support for - osgVolume::Property classes -2009-01-29 17:19 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')." - * src/osgPlugins/osgVolume/ImageLayer.cpp, - src/osgPlugins/osgVolume/VolumeTile.cpp: Fixed handling of files - with event callbacks on them. +Tue, 22 Jan 2013 16:13:59 +0000 +Checked in by : Robert Osfield +Added and functionality to .p3d functionality. -2009-01-29 16:38 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. - * examples/osgcluster/CMakeLists.txt: From Jean-Sebastien Guay, - added missing windows socket library +Fri, 18 Jan 2013 17:11:49 +0000 +Checked in by : Robert Osfield +Added Options support to ImageSequence LOAD_* functionality -2009-01-29 15:37 robert +Fri, 18 Jan 2013 16:30:55 +0000 +Checked in by : Robert Osfield +Update SO_VERSION to reflect new API changes - * CMakeModules/FindOSG.cmake: Updated FindOSG.cmake from the - version used by Present3D as this is more up to date. +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. -2009-01-29 15:32 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. - * ChangeLog: Update ChangeLog +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. -2009-01-29 15:07 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 + + - * NEWS.txt: Updated news -2009-01-29 14:41 robert - * src/osgViewer/ViewerBase.cpp: Fixed the sumation of the the - unique number of primtivesets and vertices in the scene Stats - collect -2009-01-29 14:35 robert +Thu, 17 Jan 2013 09:51:15 +0000 +Checked in by : Robert Osfield +Added support for to Timeout support. - * examples/osgcluster/CMakeLists.txt: Added CMakeLists.txt for - osgcluster +Wed, 16 Jan 2013 16:13:30 +0000 +Checked in by : Robert Osfield +Implemented basic Timeout display and timing codes -2009-01-29 14:00 robert +Tue, 15 Jan 2013 11:31:44 +0000 +Checked in by : Robert Osfield +Added shell of Timeout class - * NEWS.txt: First cut of NEWS for 2.8 release +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 + -2009-01-29 13:29 robert + + + 0.0 + + + 1.0 + + + 1.0 + + + 0.0 + + - * CMakeLists.txt: Restructed the reporting of the libpath message - so that it only appears the first time it's required + + big_buck_bunny_1080p_stereo.ogg + + -2009-01-29 13:17 robert - * examples/CMakeLists.txt: Added osgcluster example into build - system -2009-01-29 11:18 robert - * src/osgPlugins/bsp/VBSPReader.cpp, - src/osgPlugins/vtf/ReaderWriterVTF.cpp: From Jason Daly, - "Somehow, one of the shaders in the bsp plugin started behaving - incorrectly between the original submission and now. I suspect it - has to do with a typo in the setup of the shader that was fixed - at some point, or it happened during the recent warnings purge. - In any case, I had to invert the usage of a parameter in the - shader to make it behave properly again. - - - The vtf plugin wasn't working in Windows due to OS differences in - the byte-packing of the header structure (on Windows, the big - block read was causing a buffer overrun). I fixed this by reading - the structure from the file field by field. It's now happy on - both Linux and Windows." +Thu, 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. -2009-01-29 11:03 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. - * src/osgPlugins/Inventor/ConvertFromInventor.cpp: Fixed warning +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. -2009-01-29 10:43 robert +" - * CMakeLists.txt: Revised the message about install path. -2009-01-29 10:22 robert - * src/osgAnimation/CMakeLists.txt: Added missing entry in build for - AnimationManager.cpp +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. -2009-01-29 09:28 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. - * src/osgUtil/SceneView.cpp: Improved the handling of toggling of - GL_LIGHTi modes when SceneView::setLightingMode() is toggled - on/off. +Tue, 8 Jan 2013 10:21:13 +0000 +Checked in by : Robert Osfield +Added case for FORWARD_EVENT to address warning -2009-01-29 09:27 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()); - * src/osgPlugins/OpenFlight/expPrimaryRecords.cpp: Replaced -1 with - ~0u to fix warning due to being written to a UInt field. Note, - OpenFlight spec says -1, which is clearly an error in the spec, - so we've had to guess at ~0u being an appropriate value. +"data" method is unknow for std::vector with VS2008 -2009-01-29 09:24 robert +I've replaced it with : - * examples/osgvolume/osgvolume.cpp: Removed now redundent shader - files. - - Fixed the adding of transfer function property. + _document = _dae->openFromMemory(fileURI, &buffer[0]); +" -2009-01-28 16:48 robert - * examples/osgvolume/volume_frag.cpp, - examples/osgvolume/volume_iso_frag.cpp, - examples/osgvolume/volume_mip_frag.cpp, - examples/osgvolume/volume_n_frag.cpp, - examples/osgvolume/volume_tf_frag.cpp, - examples/osgvolume/volume_tf_iso_frag.cpp, - examples/osgvolume/volume_tf_mip_frag.cpp, - examples/osgvolume/volume_tf_n_frag.cpp, - examples/osgvolume/volume_vert.cpp: Removed old shader files -2009-01-28 16:44 robert +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. - * src/osgWidget/Window.cpp, src/osgWidget/WindowManager.cpp: - Removed comments. +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." -2009-01-28 15:23 robert - * src/osgWrappers/osg/CullStack.cpp: Updated wrappers -2009-01-28 15:15 robert +Thu, 20 Dec 2012 16:16:07 +0000 +Checked in by : Robert Osfield +Made UpdateVisitor::TravesalMode default to TRAVERSE_ACTIVE_CHILDREN - * include/osg/CullStack: Moved push/popCulling set it public scope. +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. -2009-01-28 13:45 robert +Wed, 19 Dec 2012 17:14:29 +0000 +Checked in by : Robert Osfield +Removed lighting of trk lines - * src/osgViewer/StatsHandler.cpp: From Paul Melis, "1) Changes the - order of the camera stats slightly, to be more in line with - the view stats - 2) Uses a slightly smaller block for view statistics" +Wed, 19 Dec 2012 12:38:17 +0000 +Checked in by : Robert Osfield +Changed the colour calculation and added gl_ClipVertex to enable clipping. -2009-01-28 12:55 robert +Tue, 18 Dec 2012 11:20:20 +0000 +Checked in by : Robert Osfield +Removed erroneous region setting - * CMakeLists.txt: From Mathias Froehlich, fixed typo. - -2009-01-28 12:51 robert - - * src/osgPlugins/OpenFlight/PrimaryRecords.cpp, - src/osgPlugins/osgSim/IO_ObjectRecordData.cpp: Fixed warnings - -2009-01-28 12:45 robert - - * src/osgWidget/Window.cpp, src/osgWidget/WindowManager.cpp: Fixed - of warnings - -2009-01-28 12:28 robert - - * src/osgPlugins/3ds/readwrite.cpp, src/osgPlugins/bsp/BITSET.cpp: - Fixed warnings - -2009-01-28 12:02 robert - - * CMakeLists.txt: Temporarily disabled VS warning C4100 to enable - use to home in on the useful warnings that could do with - resolving. - -2009-01-28 11:59 robert - - * src/osgAnimation/Animation.cpp, src/osgWidget/Input.cpp: From - Mathias Froehlich, "I have today built svn trunk on HP-UX and - Solaris8. - I had to do two small changes to src/osgWidget/Input.cpp and - src/osgAnimation/Animation.cpp mainly because of name lookup - problems. - " +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. " -2009-01-28 11:16 robert - - * src/osgParticle/FluidFrictionOperator.cpp: From Lionel Lagarde, - removed accounting of local to world transform on the force - vector as the particle velocity should already been in world - coords. Fixing this addresses a bug where particles accelerated - out of the scene rather than slowing down. - -2009-01-28 10:06 robert - - * src/osgViewer/View.cpp, src/osgViewer/ViewerBase.cpp: Added check - against existing of a valid Stats object in - ViewerBase::renderinTraverls() to prevent crash. - - Added default View Stats into src/osgViewer/View.cpp to enable - stats to be collected for views - -2009-01-28 09:42 robert - - * CMakeLists.txt, packaging/ld.so.conf.d, - packaging/ld.so.conf.d/openscenegraph.conf.in: From Mattias - Helsing, "this is a semi-submission based on what you and others - have been - talking about in the LIB_POSTFIX thread. It is a bit verbose - perhaps - and the message I emit during the make install step flashes by - and - gets burried under all "installing..." and/or "up-to-date..." - messages. I have posted on the cmake mail list on ways to do this - better. - - The submission adds: - * message to user during configuration that s/he's eventually - going o - install to ${CMAKE_INSTALL_PREFIX}lib${LIB_POSTFIX} - * if system has /etc/ld.so.conf.d and it is a dir generates - packaging/ld.so.conf.d/openscenegraph.conf and creates a custom - target - for installing it (target must be run explicitly of course). User - is - notified of this during configuration (may not be necessary) - * emit a message during installation that libraries are put in - . This message unfortunately gets emitted to soon - for - the user to see it - - * I added "COMPONENT libopenscenegraph-dev" to the pkgconfig.pc's - install command - * Moved the section with OSG_CONFIG_HAS_BEEN_RUN_BEFORE as close - to - the end of CMakeLists.txt as I dared. This is the intent of this - construct I think." - -2009-01-28 09:31 robert - - * examples/osgcompositeviewer/osgcompositeviewer.cpp, - src/osgViewer/StatsHandler.cpp: From Paul Melis, "Here is an - updated osgViewer::StatsHandler. It has the following changes: - - The text and dark background rectangles are now correctly - placed, and - slightly resized here and there. - - All counters (vertices, etc) now use a fixed formatting with 0 - digits - precision, to prevent the text from being shown in scientific - notation - when the number get large (e.g. 6.34344e+6). I tested with a - scene - containing roughly 4 million vertices, to make sure its stats - would - display correctly. - - I also made slight changes to osgcompositeviewer (attached) to - aid in - testing the stats display, specifically displaying of camera and - view - names." - -2009-01-28 09:26 robert - - * examples/osgcompositeviewer/osgcompositeviewer.cpp: From Paul - Melis, remove redundent spaces - -2009-01-28 09:24 robert - - * src/osgViewer/StatsHandler.cpp: From Paul Melis, removed - redundent spacing. - -2009-01-28 09:23 robert - - * include/osgUtil/SceneView, src/osgUtil/SceneView.cpp: Fixed the - handling of setLightingMode and inheritCullSettings so that it - properly manages the GL_LIGHTING mode - -2009-01-28 09:21 robert - - * include/osg/Shape, src/osg/Shape.cpp: From Patrick Hartling, "I - encountered a bug related to RTTI for subclasses of osg::Shape. - The - circumstances under which this bug occur are rather specific, but - the - basic problem occurs when one translation unit other than - libosg.so - constructs an object that is a subclass of osg::Shape and another - translation unit other than libosg.so tries to perform a - dynamic_cast or - other RTTI-based operation on that object. Under these - circumstances, - the RTTI operation will fail. In my case, the translation units - involved - were an application and osgdb_ive.so. The application constructed - a - scene graph that included instantiations of subclasses of - osg::Shape. - Depending on how the user ran the application, it would write the - scene - graph to an IVE file using osgDB::writeNodeFile(). The - dynamic_cast - operations in DataOutputStream::writeShape() would fail on the - first - subclass of osg::Shape that was encountered. This is because - there were - two different RTTI data objects for all osg::Shape subclasses - being - compared: one in the application and one in osgdb_ive.so. - - The fix for this is simple. We must ensure that at least one - member - function of each of the subclasses of the polymorphic type - osg::Shape is - compiled into libosg.so so that there is exactly one RTTI object - for - that type in libosg.so. Then, all code linking against libosg.so - will - use that single RTTI object. The following message from a list - archive - sort of explains the issue and the solution: - - http://aspn.activestate.com/ASPN/Mail/Message/1688156 - - While the posting has to do with Boost.Python, the problem - applies to - C++ libraries in general." - -2009-01-28 09:06 robert - - * src/osgPlugins/cfg/RenderSurface.cpp: Added back in intializers - for RenderSurface. - -2009-01-27 15:35 robert - - * packaging/pkgconfig/openscenegraph.pc, - packaging/pkgconfig/openthreads.pc: Removed .pc files as they are - now automatically generated with the correct values by Cmake from - the openthreads.pc.in and openscenegraph.pc.in files. - -2009-01-27 15:34 robert - - * CMakeLists.txt, src/OpenThreads/CMakeLists.txt: From Alberto - Luaces, "I have modified CMakeLists.txt in order to make CMake - fill the existent - openscenegraph.pc and openthreads.pc files with OSG's - installation values. - Then I install those files into the expected path for pkg-config - (this can - also be modified through PKG_CONFIG_PATH environment variable). - Therefore - those of us who are using pkg-config for linking can easily - select which - version of OSG we want to use." - -2009-01-27 15:34 robert - - * packaging/pkgconfig/openscenegraph.pc, - packaging/pkgconfig/openscenegraph.pc.in, - packaging/pkgconfig/openthreads.pc, - packaging/pkgconfig/openthreads.pc.in: From Alberto Luaces, "I - have modified CMakeLists.txt in order to make CMake fill the - existent - openscenegraph.pc and openthreads.pc files with OSG's - installation values. - Then I install those files into the expected path for pkg-config - (this can - also be modified through PKG_CONFIG_PATH environment variable). - Therefore - those of us who are using pkg-config for linking can easily - select which - version of OSG we want to use." - -2009-01-27 15:14 robert - - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Jason Beverage, - "Here is a small fix that enables writing 16 bit short images in - the tiff plugin. - " - -2009-01-27 14:11 robert - - * include/osgShadow/DebugShadowMap, - include/osgShadow/MinimalDrawBoundsShadowMap, - src/osgShadow/DebugShadowMap.cpp: Converted viewer camera - references to use observer_ptr<> rather than ref_ptr<> or C - pointers to avoid issues with circular references/dangling - pointers. - -2009-01-27 13:23 robert - - * include/osg/View, include/osgViewer/CompositeViewer, - include/osgViewer/Viewer, include/osgViewer/ViewerBase, - src/osgViewer/CompositeViewer.cpp, - src/osgViewer/StatsHandler.cpp, src/osgViewer/Viewer.cpp, - src/osgViewer/ViewerBase.cpp, src/osgWrappers/osg/View.cpp, - src/osgWrappers/osgUtil/Statistics.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/Viewer.cpp, - src/osgWrappers/osgViewer/ViewerBase.cpp: Refactored the view - stats. - -2009-01-27 09:09 robert - - * src/osg/State.cpp: Commented out debug message - -2009-01-26 21:23 robert - - * include/osgUtil/Statistics, src/osgViewer/Renderer.cpp, - src/osgViewer/StatsHandler.cpp: Ported onscreen camera stats - across to using thread safe stats collection -2009-01-26 19:22 robert - * configure: Added passing of command line args to cmake +Mon, 17 Dec 2012 15:58:57 +0000 +Checked in by : Robert Osfield +Added support for RGBA colour buffer in osgframerenderer using the --rgba command line option (--rgb selects the standard non colour frame buffer which is the default). -2009-01-26 16:55 robert +Sun, 16 Dec 2012 17:10:37 +0000 +Checked in by : Robert Osfield +Added handling of aspect ratio for vertical/horizontal split stereo. - * src/osgPlugins/logo/ReaderWriterLOGO.cpp: Converted across to - using ref_ptr<> to avoid memory leak/dangling pointer issues. +Fri, 14 Dec 2012 16:31:07 +0000 +Checked in by : Robert Osfield +From Stephan Hunber, "* now you can create a transparent opengl-view (see GraphicWindowIOS::WindowData) * changes of the view's bound are reported via osg's event-system more reliably" -2009-01-26 15:16 robert - * include/osg/Referenced, include/osg/State, - src/osg/Referenced.cpp, src/osg/State.cpp, - src/osgWrappers/osg/State.cpp: Fixed effective leak in - Program::PerContextProgram caused by previously osg::State - keeping a set of std::ref_ptr without - ever pruning this list. - The fix was to convert the osg::State to use C pointers for the - set of applied PerContexProgram objects, and use the osg::Oberver - mechanism to avoid dangling pointers for being maintained in - osg::State. - -2009-01-26 13:48 robert - - * src/osgViewer/CMakeLists.txt: Moved the XRANDR include into - LIB_PRIVATE_HEADERS to avoid FreeBSD build problem -2009-01-26 10:52 robert - - * src/osgWrappers/osgAnimation/AnimationManager.cpp: Updated - wrappers +Fri, 14 Dec 2012 16:30:28 +0000 +Checked in by : Robert Osfield +Updated SO version -2009-01-26 10:35 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. - * src/osgDB/DatabasePager.cpp: From Rick Appleton, "In - DatabasePager.cpp I believe there's a copy-paste ommission. A - little bit further down the file where the Drawables are compiled - the code is similar to how I have fixed the code here for the - StateSets. If the DatabasePager thread is supposed to pre-compile - things, it will call the compileGLObjects such that compileAll - will be true. However, when compiling StateSets compileAll isn't - currently checked." +I've also removed the _bufferObject member of Image (not used anymore)." +--This line, Lionel Lagardeand those below, will be ignored-- -2009-01-24 10:02 robert +M include/osg/Image - * include/osgAnimation/AnimationManager: Changed META_NodeVisitor - usage to META_Object as it's more appropriate. -2009-01-24 10:00 robert - * include/osgAnimation/AnimationManager: From Stephan Huber, "OS X - failed to compile AnimationManager because of - the useage of META_Node-macro, but AnimationManager is inherited - from - NodeVisitor, so I changed the Macro to META_NodeVisitor" +Thu, 13 Dec 2012 16:23:38 +0000 +Checked in by : Robert Osfield +Added colouring and lighting of track using shader -2009-01-23 23:04 shuber +Tue, 11 Dec 2012 17:45:20 +0000 +Checked in by : Robert Osfield +Fixed handling of image colour space conversion when pixel format changes - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project +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. -2009-01-23 15:52 robert - - * src/osgPlugins/dae/daeRMaterials.cpp: From Roland Smeenk, - "attached is a small crash fix for the case that a texture is - used for transparency without the availability of a diffuse - texture." - -2009-01-23 15:50 robert - - * include/osgShadow/DebugShadowMap, include/osgShadow/ShadowMap, - src/osgShadow/DebugShadowMap.cpp, src/osgShadow/ShadowMap.cpp: - Added forward declaration of callbacks to headers to avoid - scoping issues of classes with same names. - -2009-01-23 15:12 robert +Tue, 11 Dec 2012 10:44:00 +0000 +Checked in by : Robert Osfield +Disabled lighting and set the colour to white - * include/osg/Export, src/osg/AutoTransform.cpp, - src/osg/KdTree.cpp, src/osg/Texture.cpp, - src/osgPlugins/bsp/VBSPData.cpp, - src/osgPlugins/bsp/VBSPGeometry.cpp: Warning fixes for VS, and - removal of associated warning disables - -2009-01-23 15:02 robert - - * src/osgPlugins/shp/ESRIShape.cpp: Added workaround for silly - posix read deprecation warning under VS. - -2009-01-23 14:00 robert - - * include/osg/Export: Removed unneccesary warning disables - -2009-01-23 11:52 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Added range of visual - rendering properties to readNode's creation of - VolumeTile/ImageLayer. - -2009-01-23 10:29 robert - - * src/OpenThreads/win32/Win32Thread.cpp, - src/OpenThreads/win32/Win32ThreadPrivateData.h: From Mattias - Froehlich, "To pass the Microsoft application verifier we have - tried to get osgviewer - working with that thing. - This is what was missing so far: - - Make win32 threads behave like the posix implementation when - setting thread - cpu affinity. That includes avoid setting thread affininty on a - non running - thread. Set that once it is running." - -2009-01-23 09:24 robert - - * include/osgVolume/Property, src/osgVolume/VolumeTile.cpp: From - Lionel Lagarde, "here is a correction on - osgVolume/Property - added OSGVOLUME_EXPORT to PropertyAdjustmentCallback - - osgVolume/VolumeTile.cpp - in copy constructor, removed ';' on if - (volumeTile.getVolumeTechnique())" - - -2009-01-23 09:22 robert - - * src/osgDB/DatabasePager.cpp: Upped notification level of timing - stats - -2009-01-21 19:28 robert - - * src/osgWrappers/osgAnimation/Bone.cpp: Updated wrappers - -2009-01-21 19:02 robert - - * examples/osganimationskinning/osganimationskinning.cpp, - examples/osganimationviewer/AnimtkViewer.cpp, - include/osgAnimation/Bone, include/osgAnimation/Interpolator, - include/osgAnimation/Sampler, include/osgAnimation/Skinning, - src/osgAnimation/RigGeometry.cpp, src/osgAnimation/Skeleton.cpp: - From Cedric Pinson, "updated osgAnimation with the trunk here the - update: - - examples/osganimationviewer/AnimtkViewer.cpp: - - add option to display bone (--drawbone) - - dont crash if the file does not contains a - AnimationManagerBase, display the content only - - examples/osganimationviewer/AnimtkViewerGUI.cpp: - - adjust the path of image for the gui - - include/osgAnimation/Interpolator: - - add warn message instead of old assert - - include/osgAnimation/Bone: - src/osgAnimation/Skeleton.cpp: - - change a method name to fit better with what it does. - setMatrixInSkeletonSpace instead of setBoneInSkeletonSpace - - include/osgAnimation/Skinning: - src/osgAnimation/RigGeometry.cpp: - - add patch from Fabien Lavignotte to compute normal correctly - - include/osgAnimation/Sampler: - - adjust behviour without assert, return 0 instead of crashing - " - -2009-01-21 19:01 robert - - * examples/osgdrawinstanced/osgdrawinstanced.cpp, - examples/osgvolume/osgvolume.cpp: Fixed compile errors for when - ref_ptr<> auto conversion is disabled - -2009-01-21 18:47 robert - - * src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeReader.cpp, src/osgPlugins/dae/daeReader.h: - From Roger James, The changes are as follows:- - - 1. Support for ambient occlusion maps. - 2. A fix for the incorrect handling of normals on all geometries. - The optimizer usually fixed this bug so it probably was not - noticed very often. - 3. A new option flag on the reader. "StrictTransparency" - // Process transparent and transparency settings according to a - strict interpretation of the spec - // See https://collada.org/public_forum/viewtopic.php?f=12&t=1210 - otherwise - // Jump through various hoops to accomodate the multiplicity of - different ways - // that various people have interpreted the specification - 4. Handling of texures in the transparent channel. This is - allowed provided that they are the same texture that is specified - in the diffuse channel. Accomodating a different texture would - require use of programmable pipeline functionality which I have - tried to avoid. - 5. Handling of elements. - "" - -2009-01-21 18:34 robert - - * CMakeLists.txt, CMakeModules/OsgCPack.cmake, - CMakeModules/OsgCPackConfig.cmake.in, - CMakeModules/OsgDetermineCompiler.cmake: From Mattias Helsing, - "got some feedback from J-S on the packaging so I have changed - the - name of the top folder in each package to OpenSceneGraph-x.y.z - - Noone else has had an opinion on whether compiler and it's - version - should be part of the package filename on their platform/setup so - I'll - leave it as is. That is - No action is taken for compilers other - than - msvc but one can easily add this information to the cmake cache - regardless of platform. - " - -2009-01-21 18:23 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/ac/ac3d.cpp, src/osgPlugins/bsp/Q3BSPReader.cpp, - src/osgPlugins/bsp/VBSPReader.cpp, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/lwo/Surface.cpp, src/osgPlugins/lwo/old_Lwo2.cpp, - src/osgPlugins/md2/ReaderWriterMD2.cpp, - src/osgPlugins/mdl/MDLReader.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/osgViewer/View.cpp, - src/osgPlugins/osgVolume/ImageLayer.cpp, - src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgPlugins/x/ReaderWriterDirectX.cpp: Replaced - readImageFile() usage with readRefImageFile() to prevent - threading issues with caching of imagery in the osgDB::Registry - cache. - -2009-01-21 17:10 robert - - * src/osgDB/Registry.cpp: From Jason Beverage, "I realized today - that there is an issue with the Registry changes I submitted to - allow plugins to have the first go at URLs. - - The code works fine as is if the format plugin is not already - loaded in memory. - - If a plugin is already in memory, say the PNG plugin for example, - then a call to readImageFile("http://server.com/image.png") will - return FILE_NOT_FOUND because osgDB::findDataFile will not be - able to locate the file. So the Registry::read method is - returning before the CURL plugin is given a chance to download - the file. - - I've made a few changes to the Registry to not return - FILE_NOT_FOUND if the filename contains a URL that fix the - issue." - -2009-01-21 14:37 robert - - * src/osgText/Text.cpp: From Sherman Wilcox, "Minor change to the - glPushAttrib(...) call in - renderWithStencilBuffer(...) - added GL_STENCIL_BUFFER_BIT" - -2009-01-21 14:27 robert - - * examples/osgvolume/osgvolume.cpp, - include/osgVolume/RayTracedTechnique, - include/osgVolume/ShaderTechnique, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgPlugins/osgVolume/CMakeLists.txt, - src/osgPlugins/osgVolume/RayTracedTechnique.cpp, - src/osgPlugins/osgVolume/ShaderTechnique.cpp, - src/osgVolume/CMakeLists.txt, - src/osgVolume/RayTracedTechnique.cpp, - src/osgVolume/ShaderTechnique.cpp, - src/osgWrappers/osgVolume/RayTracedTechnique.cpp, - src/osgWrappers/osgVolume/ShaderTechnique.cpp: Renamed - ShaderTechnique to RayTracedTechnique - -2009-01-21 12:06 robert - - * examples/osgvolume/osgvolume.cpp, src/osgVolume/Property.cpp: - Cleaned up osgvolume - -2009-01-21 11:46 robert - - * examples/osgvolume/osgvolume.cpp, include/osgVolume/Property, - src/osgVolume/Property.cpp, - src/osgWrappers/osgVolume/Property.cpp: Introduced the ability to - switch between different visual properties in osgVolume - -2009-01-20 17:53 robert - - * src/osgWrappers/genwrapper.conf, - src/osgWrappers/osgVolume/Property.cpp: Updated wrappers - -2009-01-20 17:41 robert - - * examples/osgvolume/osgvolume.cpp, include/osgVolume/Property, - src/osgVolume/CMakeLists.txt, src/osgVolume/Layer.cpp, - src/osgVolume/Property.cpp, src/osgVolume/ShaderTechnique.cpp, - src/osgVolume/Shaders/volume_lit_frag.cpp, - src/osgVolume/Shaders/volume_lit_tf_frag.cpp: Moved - PropertyAdjustmentCallback from osgvolume.cpp into osgVolume. - - Updated lighting shaders. - -2009-01-20 15:30 robert - - * src/osgVolume/Shaders/volume_lit.cpp, - src/osgVolume/Shaders/volume_lit_tf.cpp: Removed redundent shader - files - -2009-01-20 15:29 robert - - * src/osgVolume/ShaderTechnique.cpp, - src/osgVolume/Shaders/volume_lit.cpp, - src/osgVolume/Shaders/volume_lit_frag.cpp, - src/osgVolume/Shaders/volume_lit_tf.cpp, - src/osgVolume/Shaders/volume_lit_tf_frag.cpp: Added lighting - based shaders - -2009-01-20 15:06 robert - - * examples/osgvolume/osgvolume.cpp: Added event key variables - -2009-01-20 13:50 robert - - * examples/osgvolume/osgvolume.cpp, include/osgVolume/Property, - src/osgVolume/Property.cpp, src/osgVolume/ShaderTechnique.cpp, - src/osgVolume/Shaders/volume_frag.cpp, - src/osgVolume/Shaders/volume_iso_frag.cpp, - src/osgVolume/Shaders/volume_mip_frag.cpp, - src/osgVolume/Shaders/volume_n_frag.cpp, - src/osgVolume/Shaders/volume_tf_frag.cpp, - src/osgVolume/Shaders/volume_tf_iso_frag.cpp, - src/osgVolume/Shaders/volume_tf_mip_frag.cpp, - src/osgVolume/Shaders/volume_tf_n_frag.cpp: Added support for - SampleDensityProperty and TransparencyProperty - -2009-01-20 12:39 robert - - * examples/osgvolume/osgvolume.cpp, include/osgVolume/Property, - src/osgVolume/FixedFunctionTechnique.cpp, - src/osgVolume/Property.cpp, src/osgVolume/ShaderTechnique.cpp, - src/osgVolume/Shaders/volume_frag.cpp, - src/osgVolume/Shaders/volume_mip_frag.cpp, - src/osgVolume/Shaders/volume_n_frag.cpp, - src/osgVolume/Shaders/volume_tf_frag.cpp, - src/osgVolume/Shaders/volume_tf_mip_frag.cpp, - src/osgVolume/Shaders/volume_tf_n_frag.cpp: Added AlphaFunc - support into osgVolume::AlphaFuncProperty. - -2009-01-20 11:34 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Fixed compile error - when using ITK - -2009-01-17 17:23 robert - - * examples/osgvolume/osgvolume.cpp: Updated event callback to be - able to update iso surface value. +Tue, 11 Dec 2012 09:55:48 +0000 +Checked in by : Robert Osfield +First cut of generating lines from .trk data -2009-01-17 17:23 robert - - * src/osgVolume/ShaderTechnique.cpp, - src/osgVolume/Shaders/volume_iso_frag.cpp, - src/osgVolume/Shaders/volume_tf_iso_frag.cpp: Updated Uniform - name for controlling IsoSurfaceValue - -2009-01-17 16:00 robert - - * src/osgWrappers/osgVolume/FixedFunctionTechnique.cpp, - src/osgWrappers/osgVolume/Layer.cpp, - src/osgWrappers/osgVolume/Property.cpp, - src/osgWrappers/osgVolume/VolumeTile.cpp: Updated wrappers +Mon, 10 Dec 2012 11:11:19 +0000 +Checked in by : Robert Osfield +Added setting of the fusion distance. -2009-01-16 17:59 robert +Sat, 8 Dec 2012 16:11:00 +0000 +Checked in by : Robert Osfield +Added --flip and --no-flip command line options to enable/disable a vertical flip of the captured image before writing out to disk. - * examples/osgvolume/osgvolume.cpp, include/osgVolume/Layer, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgVolume/Layer.cpp, src/osgVolume/ShaderTechnique.cpp: - Removed old volume rendering scene graph code from osgvolume - example. - - Moved createNormalMapTexture and applyTransferFunction functions - from osgvolume example into include/osgVolume/Layer. - -2009-01-16 16:21 robert - - * include/osgVolume/FixedFunctionTechnique, - src/osgVolume/FixedFunctionTechnique.cpp, - src/osgVolume/ShaderTechnique.cpp: Completed firt pass - implementation FixedFunction and ShaderTechnique. - -2009-01-16 11:27 robert - - * examples/osgvolume/osgvolume.cpp, - include/osgVolume/FixedFunctionTechnique, - include/osgVolume/Property, - src/osgVolume/FixedFunctionTechnique.cpp, - src/osgVolume/Property.cpp: Moved basics of fixed function - pipeline implementation from osgvolume example into osgVolume - -2009-01-16 10:34 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Added default use of - osgVolume::ShaderTechnique - -2009-01-16 10:23 robert - - * examples/osgvolume/osgvolume.cpp, include/osgVolume/Layer, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgPlugins/osgVolume/ImageLayer.cpp, src/osgVolume/Layer.cpp: - Introduced ImageLayer computeMinMax + rescaling methods, and use - of rescaleToZeroToOneRange by default. - -2009-01-15 15:57 robert - - * examples/osgvolume/osgvolume.cpp, include/osgVolume/Layer, - include/osgVolume/Property, include/osgVolume/VolumeTile, - src/osgVolume/Layer.cpp, src/osgVolume/Property.cpp, - src/osgVolume/ShaderTechnique.cpp, src/osgVolume/VolumeTile.cpp: - Introduce osgVolume::PropertVisitor, and IsoSurface, - MaximumImageProjection, Ligting and AlphaFunc Properties - -2009-01-15 10:44 robert - - * include/osg/Camera, src/osg/Camera.cpp, - src/osgWrappers/osgTerrain/Terrain.cpp, - src/osgWrappers/osgVolume/Volume.cpp, - src/osgWrappers/osgVolume/VolumeTile.cpp: Removal of rendundant - characters from Camera and Camera.cpp. - - Updated wrappers - -2009-01-15 10:36 robert - - * include/osg/Camera, src/osg/Camera.cpp: From Rudolf Wiedemann, - "attached is the osg::Camera class (based on revision 9493), - where - methods - getProjectionMatrixAsOrtho() - getProjectionMatrixAsFrustum() - getProjectionMatrixAsPerspective() - getViewMatrixAsLookAt() (2x) - are now const, as they only call const methods of osg::Matrixf/d. - " - -2009-01-14 20:43 robert - - * include/osgTerrain/Terrain, include/osgVolume/Volume, - src/osgPlugins/osgVolume/Volume.cpp: Changed setVolumeTechnique - to setVolumeTechniquePrototype() - -2009-01-14 20:38 robert - - * include/osgVolume/Volume, include/osgVolume/VolumeTile, - src/osgVolume/ShaderTechnique.cpp: Added VolumeTechnique to - Volume - -2009-01-14 20:32 robert - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/osgVolume, - src/osgPlugins/osgVolume/CMakeLists.txt, - src/osgPlugins/osgVolume/FixedFunctionTechnique.cpp, - src/osgPlugins/osgVolume/ImageLayer.cpp, - src/osgPlugins/osgVolume/Layer.cpp, - src/osgPlugins/osgVolume/Locator.cpp, - src/osgPlugins/osgVolume/ShaderTechnique.cpp, - src/osgPlugins/osgVolume/Volume.cpp, - src/osgPlugins/osgVolume/VolumeTile.cpp: Added osgVolume .osg - plugin - -2009-01-14 15:16 robert - - * examples/osgvolume/osgvolume.cpp, include/osgVolume/Export, - include/osgVolume/FixedFunctionTechnique, - include/osgVolume/Layer, include/osgVolume/Locator, - include/osgVolume/Property, include/osgVolume/ShaderTechnique, - include/osgVolume/Version, include/osgVolume/Volume, - include/osgVolume/VolumeTechnique, include/osgVolume/VolumeTile, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgVolume/CMakeLists.txt, src/osgVolume/Layer.cpp, - src/osgVolume/Locator.cpp, src/osgVolume/Property.cpp, - src/osgVolume/ShaderTechnique.cpp, src/osgVolume/Version.cpp, - src/osgVolume/Volume.cpp, src/osgVolume/VolumeTechnique.cpp, - src/osgVolume/VolumeTile.cpp, - src/osgWrappers/osgVolume/FixedFunctionTechnique.cpp, - src/osgWrappers/osgVolume/Layer.cpp, - src/osgWrappers/osgVolume/Property.cpp, - src/osgWrappers/osgVolume/ShaderTechnique.cpp, - src/osgWrappers/osgVolume/VolumeTile.cpp: Introduced - osgVolume::Property, CompositePropery and TransferFunctionPropety - classes - -2009-01-14 10:32 robert - - * src/osgPlugins/OpenFlight/PaletteRecords.cpp: From Lionel - Lagarde, "The last field of the LightPointAppearancePalette is - only valid for > 15.8 version of - the format." - -2009-01-13 17:51 robert - - * src/osgVolume/ShaderTechnique.cpp: Integrated state setup code - from osgvolume.cpp example into ShaderTechnique path. - -2009-01-13 17:20 robert - - * examples/osgvolume/osgvolume.cpp, - include/osgVolume/FixedFunctionTechnique, - include/osgVolume/ShaderTechnique, include/osgVolume/VolumeTile, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgVolume/CMakeLists.txt, - src/osgVolume/FixedFunctionTechnique.cpp, - src/osgVolume/Layer.cpp, src/osgVolume/ShaderTechnique.cpp, - src/osgVolume/Shaders, src/osgVolume/Shaders/volume_frag.cpp, - src/osgVolume/Shaders/volume_iso_frag.cpp, - src/osgVolume/Shaders/volume_mip_frag.cpp, - src/osgVolume/Shaders/volume_n_frag.cpp, - src/osgVolume/Shaders/volume_tf_frag.cpp, - src/osgVolume/Shaders/volume_tf_iso_frag.cpp, - src/osgVolume/Shaders/volume_tf_mip_frag.cpp, - src/osgVolume/Shaders/volume_tf_n_frag.cpp, - src/osgVolume/Shaders/volume_vert.cpp, - src/osgVolume/VolumeTile.cpp: Introduced class interfaces for - FixedFunctionTechnique and ShaderTechnique volume rendering - techniques. - -2009-01-13 10:15 robert - - * src/osgPlugins/CMakeLists.txt: Added ZLIB_FOUND to dicom - qualification - -2009-01-13 10:12 robert - - * src/osgPlugins/dicom/CMakeLists.txt: Added a / in front of the - ${DCMTK_ROOT_INCLUDE_DIR} to workaround a CMake bug that ignores - /usr/local/include directories. - - Added ZLIB to include line. - -2009-01-12 17:41 robert - - * src/osgPlugins/dicom/CMakeLists.txt: Added test message - -2009-01-12 16:37 robert - - * CMakeModules/FindOurDCMTK.cmake, - src/osgPlugins/dicom/CMakeLists.txt, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Further tweak to - include paths - -2009-01-12 16:10 robert - - * CMakeModules/FindOurDCMTK.cmake, - src/osgPlugins/dicom/CMakeLists.txt, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Restructured the - include paths - -2009-01-12 13:12 robert - - * examples/osgvolume/osgvolume.cpp: Changed to use ref_ptr<> for - scene model to avoid crash - -2009-01-12 11:34 robert - - * CMakeLists.txt, CMakeModules/OsgCPack.cmake, - CMakeModules/OsgCPackConfig.cmake.in: From Mattias Helsing, "'ve - finally finished the rework of the packaging support. It is - streamlined for tgz and has most of the features that Robert, J-S - and - Sukender requested in december. I have an idea of how to discover - the - vc80 sp1 or not but haven't had time to implement. The script is - completely reworked and now doesn't include cmakes' bundled - CPack.cmake script at all. In summary: - - * filenames are - ---[-compiler]-.tar.gz, - ex. libopenscenegraph-2.7.9-Linux-i386-Release.tar.gz, - libopenthreads-dev-2.7.9-win32-x86-vc80sp1-Debug.tar.gz - - * targets (projects in msvs) are generated for each specified - component, a target that packages everything that is installed - (openscenegraph-all) and there's a target for running all other - packaging targets (Package ALL on msvs, package_ALL in unix - makefiles). - - * It is possible to set the compiler in ccmake (cmake-gui, - whatever you use) - - * the top folder in packages is the same for all packages - (OpenSceneGraph-x.y) - - * the packaging support is limited with cmake-2.6.0 and not as - dynamic. With cmake-2.6.1 and later building the gdal plugin (for - example) will create a package_libopenscenegraph-gdal target. - With - cmake-2.6.0 only the ones that are always built - (libopenscenegraph, - libopenscenegraph-dev, openscenegraph, libopenthreads, - libopenthreads-dev - - * i found a better way to decide whether cpack is available to - guard - the BUiLD_OSG_PACKAGES option" - -2009-01-09 19:53 robert - - * CMakeLists.txt: From Mattias Helsing, "Following reports by - Alberto and Simon this submission reenables usage - of cmake-2.6.0. As a side note I just installed cmake from the - ubuntu - repositories and got cmake-2.6.0-4ubuntu2 and this one produced - the - currect CMAKE_CXX_FLAGS_RELEASE (-O3 -DNDEBUG). This CMakeLists - is - tested on linux with cmake versions 2.4.8, 2.6.0, 2.6.2 and - 2.6.0-4ubuntu2 - - * Added quotes around CMAKE_CXX_FLAGS var to help cmake-2.6.0 - pick up - that it really is a string value - - * Removed quotes around values that we set in - OSG_AGGRESIVE_WARNING_FLAGS. This makes - OSG_AGGRESIVE_WARING_FLAGS be - of LIST type so the foreach constructs can behave as I planned." - -2009-01-09 15:57 robert - - * examples/osganimationskinning/osganimationskinning.cpp: Fixed - warning - -2009-01-09 15:55 robert - - * src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeRSceneObjects.cpp, - src/osgPlugins/dae/daeReader.cpp, src/osgPlugins/dae/daeReader.h, - src/osgPlugins/dae/daeWGeometry.cpp, - src/osgPlugins/dae/daeWriter.cpp: Fixed warnings - -2009-01-09 15:25 robert - - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Updated version number for - next dev release - -2009-01-09 15:19 robert - - * examples/osgvolume/osgvolume.cpp, include/osg/ImageUtils, - include/osgVolume/ImageUtils, include/osgVolume/Locator, - include/osgVolume/VolumeTile, src/osg/CMakeLists.txt, - src/osg/ImageUtils.cpp, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgPlugins/pdf/CMakeLists.txt, - src/osgPlugins/pdf/ReaderWriterPDF.cpp, - src/osgVolume/CMakeLists.txt, src/osgVolume/ImageUtils.cpp, - src/osgVolume/VolumeTile.cpp, - src/osgWrappers/osgVolume/Locator.cpp, - src/osgWrappers/osgVolume/VolumeTile.cpp: Moved - osgVolume::ImageUtils to osg::ImageUtils, updated wrappers, and - started moving osgvolume example across to create osgVolume - subgraphs - -2009-01-09 15:11 robert - - * src/osgPlugins/bsp/ReaderWriterBSP.cpp: Fix of warning reported - on CDash - -2009-01-09 15:09 robert - - * src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/PixelBufferWin32.cpp: Fixed warnings reported on - CDash - -2009-01-09 12:21 robert - - * src/osgPlugins/dae/daeWTransforms.cpp: From Roland Smeenk, - "Attached is a fix for the Collada plugin. A - PositionAttitudeTransform wrote its place elements in the wrong - order." - -2009-01-09 12:17 robert - - * applications/osgfilecache/osgfilecache.cpp, - include/osgDB/FileUtils, src/osgDB/ConvertUTF.cpp, - src/osgDB/DatabasePager.cpp, src/osgDB/FileUtils.cpp, - src/osgDB/Registry.cpp, src/osgParticle/PrecipitationEffect.cpp, - src/osgPlugins/ac/ac3d.cpp, src/osgPlugins/bsp/VBSPEntity.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/md2/ReaderWriterMD2.cpp, - src/osgPlugins/normals/ReaderWriterNormals.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/osg/Texture.cpp, - src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp, - src/osgPlugins/pnm/ReaderWriterPNM.cpp, - src/osgPlugins/tgz/ReaderWriterTGZ.cpp, - src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/zip/ReaderWriterZIP.cpp, - src/osgShadow/ConvexPolyhedron.cpp, src/osgViewer/Viewer.cpp, - src/osgWidget/Util.cpp: From Andy Skinner, fixes for Solaris - build - -2009-01-08 14:52 robert - - * examples/osganimationskinning/osganimationskinning.cpp: From - Cedric Pinson, "Here the updated osganimationskinning.cpp that - works as before" - -2009-01-08 12:47 robert - - * examples/osggeometryshaders/osggeometryshaders.cpp: Added missing - *. - -2009-01-08 11:35 robert - - * CMakeLists.txt: Commented out the warning disabling block - -2009-01-08 11:28 robert - - * CMakeLists.txt: From Mattias Helsing, added back in missing wd - entries. - -2009-01-08 11:26 robert - - * CMakeLists.txt: From Mattias Helsing, "With msvc90 on vista and - cmake-2.6.2 i had to rearrange the blocks - that set aggressive warnings in CMAKE_CXX_FLAGS and the on that - processes the source tree(s) or the newly set flags wouldn't take - effect until second consecutive configure. - - I also replaced the internally cached variables that managed the - aggresive warnings with explicit adding and removing of flags in - CXX_FLAGS - - For apple we first required min cmake version 2.6.0 and then had - code - warning about using 2.4.x" - -2009-01-08 11:19 robert - - * include/osg/GLExtensions, src/osg/State.cpp: Added checked from - the ARG version of glDraw*Instanced(). - -2009-01-08 11:18 robert - - * src/osgWrappers/osgAnimation/modified.gw: Removed inappropriate - file - -2009-01-08 11:16 robert - - * include/OpenThreads/Atomic: From Andy Skinner, "I added a - const_cast for a call to atomic_cas_ptr, which takes a void* and - has been given a const void* const." - -2009-01-08 11:15 robert - - * include/OpenThreads/Atomic: From Blasius Czink, "It seems there - is no atomic_xor_uint_nv(). I - attached a changed version of the Atomic header where a mutex - fallback - is used for "xor" on solaris." - -2009-01-08 10:34 robert - - * CMakeLists.txt, include/osg/Export: Moved supression of VS - warning C4706 from the include/osg/Export header into the CMake - options list. Added suppression of C4127 as well. - -2009-01-07 15:35 robert - - * include/osg/NodeVisitor: Fixed assingment operator - -2009-01-07 15:33 robert - - * include/osg/Export: Added supression VS warning "C4706: - assignment within conditional expression" thanks gets spat out - even for perfectly valid if ((variable=expression)) {} usage. - -2009-01-07 14:49 robert - - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/View.cpp: Added - handling of when a View isn't yet assigned to a Viewer to avoid - associated crash - -2009-01-07 13:16 robert - - * src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osgAnimation/Bone.cpp, - src/osgWrappers/osgAnimation/Timeline.cpp, - src/osgWrappers/osgAnimation/VertexInfluence.cpp, - src/osgWrappers/osgAnimation/modified.gw, - src/osgWrappers/osgTerrain/Layer.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers - -2009-01-07 12:27 robert - - * src/osg/Geometry.cpp, src/osg/GraphicsThread.cpp, - src/osg/Hint.cpp, src/osg/KdTree.cpp, - src/osg/MatrixDecomposition.cpp, src/osg/OcclusionQueryNode.cpp, - src/osgDB/DatabasePager.cpp, src/osgDB/ImagePager.cpp, - src/osgDB/Registry.cpp, - src/osgGA/CameraViewSwitchManipulator.cpp: Fixed warnings - -2009-01-07 11:24 robert - - * examples/osganimationmakepath/osganimationmakepath.cpp, - examples/osganimationnode/osganimationnode.cpp, - examples/osganimationskinning/osganimationskinning.cpp, - examples/osganimationsolid/osganimationsolid.cpp, - examples/osganimationtimeline/osganimationtimeline.cpp, - examples/osganimationviewer/AnimtkViewerGUI.cpp, - examples/osganimationviewer/AnimtkViewerKeyHandler.cpp, - examples/osgdrawinstanced/osgdrawinstanced.cpp, - examples/osggeometryshaders/osggeometryshaders.cpp, - examples/osghud/osghud.cpp, - examples/osgimagesequence/osgimagesequence.cpp, - examples/osgmemorytest/osgmemorytest.cpp, - examples/osgterrain/osgterrain.cpp, - examples/osgunittests/UnitTestFramework.h, - src/OpenThreads/win32/Win32Thread.cpp, src/osg/dxtctool.h, - src/osgDB/DynamicLibrary.cpp, src/osgDB/FileUtils.cpp, - src/osgGA/CameraViewSwitchManipulator.cpp, - src/osgGA/TrackballManipulator.cpp, src/osgGA/UFOManipulator.cpp, - src/osgManipulator/RotateCylinderDragger.cpp, - src/osgManipulator/RotateSphereDragger.cpp, - src/osgManipulator/Scale1DDragger.cpp, - src/osgManipulator/Scale2DDragger.cpp, - src/osgManipulator/Translate1DDragger.cpp, - src/osgManipulator/Translate2DDragger.cpp, - src/osgPlugins/OpenFlight/FltExportVisitor.h, - src/osgPlugins/OpenFlight/LightSourcePaletteManager.h, - src/osgPlugins/OpenFlight/MaterialPaletteManager.h, - src/osgPlugins/OpenFlight/TexturePaletteManager.h, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/hdr/ReaderWriterHDR.cpp, - src/osgPlugins/lwo/iffparser.h, src/osgPlugins/lwo/lwo2parser.h, - src/osgPlugins/mdl/MDLReader.cpp, - src/osgPlugins/obj/OBJWriterNodeVisitor.h, - src/osgPlugins/txp/TXPParser.cpp, - src/osgPlugins/txp/TileMapper.cpp, - src/osgUtil/TriStrip_tri_stripper.h, - src/osgViewer/PixelBufferWin32.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: Fixed warnings - -2009-01-07 10:32 robert - - * include/OpenThreads/ReadWriteMutex, - include/osg/TemplatePrimitiveFunctor, include/osgAnimation/Bone, - include/osgAnimation/Timeline, - include/osgAnimation/VertexInfluence, - include/osgDB/ParameterOutput, - include/osgGA/CameraViewSwitchManipulator, - include/osgSim/ObjectRecordData, include/osgSim/OverlayNode, - include/osgTerrain/Layer, include/osgTerrain/ValidDataOperator, - include/osgViewer/ViewerEventHandlers, include/osgVolume/Locator, - include/osgWidget/Browser, include/osgWidget/EventInterface: - Fixed warnings - -2009-01-07 09:49 robert - - * include/osg/NodeVisitor: Added a protected = operator - -2009-01-06 19:09 robert - - * examples/osganimationskinning/osganimationskinning.cpp, - include/osgAnimation/Assert, include/osgAnimation/Channel, - include/osgAnimation/Interpolator, include/osgAnimation/Sampler, - include/osgAnimation/Skinning, - src/osgAnimation/AnimationManager.cpp, - src/osgAnimation/AnimationManagerBase.cpp, - src/osgAnimation/BasicAnimationManager.cpp: Removed the usage of - assert to prevent associated compile warnings and to clean up - code - -2009-01-06 19:08 robert - - * examples/osganimationviewer/AnimtkViewerGUI.cpp: Updated path to - reflect where the new button images are located. - -2009-01-06 16:45 robert - - * examples/osgviewerQT/QOSGWidget.cpp: From Don Leich, "Here are a - couple of fixes for the file examples/osgviewerQT/QOSGWidget.cpp - to - address some OS X issues. Most of these fixes were previously - submitted by Julian Scheid. However, this patch however should - not break the example for non-OS X builds and has been tested on - 64-bit Linux as well as Mac OS X 10.5. - - o The value returned by QWidget::winId() is not usable as input - for - WindowData under OS X the way it is for both Windows and Unix. - Julian's fix - for this uses the Carbon API. Since the fix for X11 in unknown, - it is now - assumed that OSG has been built with - OSG_WINDOWING_SYSTEM='Carbon' for this - example to work at all when running under OS X. - - o The CompositeViewer version would hang on exit with the - original timer start - argument. Changing the argument value to match the non-composite - version - seemed to cure the hanging. - - o Julian's patch altered the setGeometry position to 30/30 in - order to see any - window decorations. I did not have this problem, but left his - changes intact. - - o The non-composite viewer needed it's camera initialization - defered until - after the ViewerQOSG's Qt base class had been initialized. - Otherwise, the view - did not cover the entire window. - " - -2009-01-06 16:35 robert - - * src/osgPlugins/Inventor/ConvertFromInventor.cpp: From Ewe - Woesnner, "the Inventor loader crashes when a texture could not - be loaded. - - Please find attached a small fix which solves this issue." - -2009-01-06 16:16 robert - - * src/osgWidget/Input.cpp, src/osgWidget/WindowManager.cpp: From - Sergey Leontyev, "Some minor(but important) bug fixes for - osgWidget: - - - - 1. In WindowManager.cpp childRemoved method the second parameter - "end" is misleading and - - should be named "numChildren" instead. It represents how many - children to remove. As a result, the method was implemented - incorrectly and failed to remove UI objects. So I fixed it. - - - - replaced this: - - - - void WindowManager::childRemoved(unsigned int start, unsigned int - end) { - while(start < end) { - Window* window = getByIndex(start); - - if(!window) continue; - - if(_remove(window)) { - window->_index = -1; - - window->unmanaged(this); - } - - start++; - } - } - - - - with this: - - void WindowManager::childRemoved(unsigned int start, unsigned int - numChildren) { - for (unsigned int i = start; i < start+numChildren; i++) - { - Window* window = getByIndex(i); - - if(!window) continue; - - if(_remove(window)) { - window->_index = -1; - - window->unmanaged(this); - } - } - } - - - - 2. in Input.cpp - - - - The cursor in Input did not get positioned correctly, probably as - a left over from the TOP LEFT origin system which is now BOTTOM - LEFT. - - in method positioned() - - replaced this: - - _cursor->setOrigin(x + xoffset + 1.0f, y - _cursor->getHeight() + - 1.0f); - - - - with this: - - _cursor->setOrigin(x + xoffset + 1.0f, y + 1.0f); - - - - Now it is placed correctly. - - " - -2009-01-06 15:41 robert - - * src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osg/State.cpp, src/osgWrappers/osg/Timer.cpp: - Updated wrappers - -2009-01-06 15:11 robert - - * examples/CMakeLists.txt, examples/osgdrawinstanced, - examples/osgdrawinstanced/CMakeLists.txt, - examples/osgdrawinstanced/osgdrawinstanced.cpp: From Paul Martz, - example demonstating new draw instanced primitive funcitonality. - -2009-01-06 14:55 robert - - * include/osg/PrimitiveSet, include/osg/State, - src/osg/PrimitiveSet.cpp, src/osg/State.cpp, - src/osgPlugins/ive/IveVersion.h, - src/osgPlugins/ive/PrimitiveSet.cpp, - src/osgPlugins/osg/Geometry.cpp: Added support for primitive - instancing - -2009-01-05 18:07 robert - - * CMakeLists.txt: From Jean-Sebastien Guay, changed VS aggressive - warnings setting to just /W4. - -2009-01-05 17:52 robert - - * examples/osgviewerQT/QOSGWidget.cpp: From Don Leich, build fix - for OSX. - -2009-01-05 17:35 robert - - * src/osgDB/Registry.cpp: From Jason Beverage, "I thought about the - issue I was having with the CURL plugin automatically trying to - download all filenames with URL's rather than passing the full - URL to the plugin. It turns out the solution was pretty simple. - - I've made a small change to Registry.cpp that puts the CURL logic - AFTER the URL has been passed to the plugin rather than assuming - all URL's need to be downloaded by the CURL plugin. This way, - plugins can have first crack at the URL's, and if they don't - handle it the previous CURL behavior kicks in." - -2009-01-05 17:06 robert - - * examples/osgpoints/osgpoints.cpp: From Paul Martz, added --points - option for forcing points rendering of polygonal models - -2009-01-05 16:53 robert - - * include/osgGA/CameraViewSwitchManipulator, - src/osgGA/CMakeLists.txt, - src/osgGA/CameraViewSwitchManipulator.cpp, - src/osgPlugins/dae/daeRSceneObjects.cpp, - src/osgPlugins/dae/daeWSceneObjects.cpp, - src/osgPlugins/dae/daeWriter.h: From Roland Smeenk, "Attached you - will find an improved Collada plugin to properly support - camera's. - A Collada camera will be added to the scenegraph as - osg::CameraView. This allows the user to create a set of - predefined camera viewpoints. I also added a new - MatrixManipulator to osgGA called CameraViewSwitchManipulator and - added usage of this to the osgviewer example. This manipulator - allows switching between the predefined camera viewpoints. The - current design limition I ran into is that a MatrixManipulator - only manipulates the ViewMatrix, but for this particular - manipulator I also want to update the projectionMatrix of the - camera when switching to a new viewpoint. This is not implemented - because I don't know what would be the best way to design it. Any - ideas? - - Furthermore Collada also supports orthographic camera's, where an - osg::CameraView only supports a perspective camera. Would it be - useful to create a CameraView with customizable optics for this?" - -2009-01-05 12:21 robert - - * src/osgWrappers/osgVolume/Layer.cpp, - src/osgWrappers/osgVolume/Locator.cpp, - src/osgWrappers/osgWidget/Label.cpp: Updated wrappers - -2009-01-05 11:58 robert - - * include/osg/Timer: From Paul Martz, Correction to Timer method - comment. - -2009-01-05 11:31 robert - - * include/osgWidget/Label: From Cedric Pinson, added non const - getText() method - -2009-01-05 11:26 robert - - * include/osg/BoundingSphere, include/osgTerrain/Locator, - include/osgVolume/Layer, include/osgVolume/Locator, - src/osgTerrain/Locator.cpp, src/osgVolume/CMakeLists.txt, - src/osgVolume/Layer.cpp, src/osgVolume/Locator.cpp: Introduced - osgVolume::Layer and Locator classes mirrroring similar classes - in osgTerrain. - -2009-01-05 10:13 robert - - * CMakeLists.txt: Change the aggressive warning level under VS to - /W3 - -2008-12-24 11:05 robert - - * src/osgPlugins/vtf/ReaderWriterVTF.cpp: Fixed warning - -2008-12-24 10:30 robert - - * src/osgPlugins/bsp/VBSPEntity.cpp, - src/osgPlugins/bsp/VBSPGeometry.cpp, - src/osgPlugins/bsp/VBSPReader.cpp: Fixed warnings - -2008-12-22 21:17 robert - - * CMakeLists.txt: Made aggressive warnings the default. - -2008-12-22 21:16 robert - - * src/osgPlugins/mdl/BodyPart.cpp, - src/osgPlugins/mdl/MDLReader.cpp, src/osgPlugins/mdl/MDLRoot.cpp, - src/osgPlugins/mdl/Model.cpp, src/osgPlugins/mdl/VTXReader.cpp, - src/osgPlugins/mdl/VVDReader.cpp: Fixed warnings - -2008-12-22 18:30 robert - - * src/osgPlugins/mdl/MDLReader.h, src/osgPlugins/mdl/VVDReader.h: - Build fix - -2008-12-22 08:26 robert - - * applications/osgconv/osgconv.cpp: From Paul Martz, "Typing - "osgconv" alone displays the --help family of options, as it - should, but it also displays info about --formats and --plugins, - which seems out of place because no other options are mentioned - here. - - The code changes osgconv so that "osgconv --help" displays help - info about --formats and --plugins, plus it also displays - documentation for --format and --plugin, which were previously - missing." - -2008-12-21 20:42 robert - - * include/osgVolume/VolumeTile, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgVolume/VolumeTile.cpp, - src/osgWrappers/osgVolume/VolumeTile.cpp: Changed - VolumeTile::setImage(Image*) to setImage(uint i, Image*) to allow - multiple images to be attached to single tile - -2008-12-21 20:24 robert - - * CMakeLists.txt: From Mattias Helsing, "Replace the IF(POLICY - CMP0008) with an absolute version check for - cmake > 2.6.0. - The POLICY keyword is only valid starting with cmake-2.4.7 so - using it - broke cmake 2.4.5/6 support." - -2008-12-20 20:55 robert - - * include/osgVolume/Brick, include/osgVolume/Volume, - include/osgVolume/VolumeTechnique, include/osgVolume/VolumeTile, - src/osgPlugins/dicom/CMakeLists.txt, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgVolume/Brick.cpp, src/osgVolume/CMakeLists.txt, - src/osgVolume/Volume.cpp, src/osgVolume/VolumeTechnique.cpp, - src/osgVolume/VolumeTile.cpp, - src/osgWrappers/osgVolume/Brick.cpp, - src/osgWrappers/osgVolume/Volume.cpp, - src/osgWrappers/osgVolume/VolumeTechnique.cpp, - src/osgWrappers/osgVolume/VolumeTile.cpp: Renamed - osgVolume::Brick to osgVolume::VolumeTile - -2008-12-20 20:30 robert - - * src/osgPlugins/bsp/Q3BSPReader.cpp: Changed the scale from 0.03 - to 0.0254 as the Q3 bsp files are in inches. - -2008-12-20 13:35 robert - - * src/osgDB/FileUtils.cpp, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/bsp/CMakeLists.txt, - src/osgPlugins/bsp/ReaderWriterBSP.cpp, - src/osgPlugins/bsp/ReaderWriterVTF.cpp, - src/osgPlugins/bsp/VBSPData.cpp, src/osgPlugins/bsp/VBSPData.h, - src/osgPlugins/bsp/VBSPEntity.cpp, - src/osgPlugins/bsp/VBSPEntity.h, - src/osgPlugins/bsp/VBSPGeometry.cpp, - src/osgPlugins/bsp/VBSPGeometry.h, - src/osgPlugins/bsp/VBSPReader.cpp, - src/osgPlugins/bsp/VBSPReader.h, - src/osgPlugins/bsp/VBSP_README.txt, src/osgPlugins/mdl, - src/osgPlugins/mdl/BodyPart.cpp, src/osgPlugins/mdl/BodyPart.h, - src/osgPlugins/mdl/CMakeLists.txt, - src/osgPlugins/mdl/MDLLimits.h, src/osgPlugins/mdl/MDLReader.cpp, - src/osgPlugins/mdl/MDLReader.h, src/osgPlugins/mdl/MDLRoot.cpp, - src/osgPlugins/mdl/MDLRoot.h, src/osgPlugins/mdl/MDL_README.txt, - src/osgPlugins/mdl/Mesh.cpp, src/osgPlugins/mdl/Mesh.h, - src/osgPlugins/mdl/Model.cpp, src/osgPlugins/mdl/Model.h, - src/osgPlugins/mdl/ReaderWriterMDL.cpp, - src/osgPlugins/mdl/ReaderWriterMDL.h, - src/osgPlugins/mdl/VTXReader.cpp, src/osgPlugins/mdl/VTXReader.h, - src/osgPlugins/mdl/VVDReader.cpp, src/osgPlugins/mdl/VVDReader.h, - src/osgPlugins/vtf, src/osgPlugins/vtf/CMakeLists.txt, - src/osgPlugins/vtf/ReaderWriterVTF.cpp: From Jason Daly, "'ve - been busy working on the Source engine plugins. There are several - contributions in this submission: - - osgDB/FileUtils.cpp: - Needed this extra code to allow a true case-insensitive search. - This is because the HL2 map and model files are often sloppy with - case. For example, the file might look for - materials/models/alyx/alyx_sheet.vtf, but the file is actually in - materials/Models/Alyx/alyx_sheet.vtf. In case-insensitive mode, - the new code recursively disassembles the path and checks each - path element without regard to case. In case-sensitive mode, the - code behaves exactly as it used to. The new code is also mostly - skipped on Windows because of the case-insensitive file system. - Previously, I did all of this with custom search code in the .bsp - plugin, but this allows the user to tailor the search using - OSGFILEPATH. There are some instructions in the plugins' README - files about this. - - osgPlugins/mdl: - This is a new plug-in for Half-Life 2 models (as opposed to - maps). This allows you to load Source models individually, as - well as allowing the .bsp plugin to load models (props) that are - embedded into maps. Mdl files can contain simple object (crates, - barrels, bottles), as well as fully articulated characters with - skeletal animations. Currently, it can load the simple objects. - It can also load the characters, but it can't load the skeletons - or animations. - - osgPlugins/bsp: - This contains all of the changes needed to load props along with - the basic map geometry. There are also - several bugs fixed. - - osgPlugins/vtf: - This is the loader for Valve's texture format. Previously, we had - agreed to put this in with the bsp plugin, but I didn't think of - the .mdl plugin at that time. It's conceivable that a user might - want to load models individually (not as part of a map), so the - vtf reader does have to be separate. I also fixed a rather - significant bug. - - I tested all of this code on RHEL 5.2 (32-bit), and Fedora 9 - (64-bit). I'll be testing on Windows soon. - - I also attached a simple .mdl file, along with it's associated - files and textures. Just extract the tarball into it's own - directory, set your OSGFILEPATH to point at that directory, and - load the model like this: - - osgviewer models/props_junk/gascan001a.mdl" - -2008-12-20 12:52 robert - - * src/osgViewer/CMakeLists.txt: Added OPTIONAL into - INCLUDE(FindPkgConfig) - -2008-12-19 19:04 robert - - * ChangeLog: Updated ChangeLog for 2.7.8 dev release - -2008-12-19 18:37 robert - - * applications/CMakeLists.txt: Added osgversion into dynamic build - path - -2008-12-19 18:02 robert - - * src/osgViewer/View.cpp: Removed debug message - -2008-12-19 17:50 robert - - * include/osgViewer/View, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgWrappers/osgViewer/View.cpp: - Moved main setSceneData methods in - osgViewer::View::setSceneData() - -2008-12-19 17:15 robert - - * src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers - -2008-12-19 17:15 robert - - * include/osgViewer/ViewerEventHandlers, - src/osgViewer/ScreenCaptureHandler.cpp: From Jean-Sebastein Guay, - I recently had to reimplement screen capture functionality into - our framework (which was broken since the switch from OSG 1.2 to - 2.2 over a year and a half ago). I used the ScreenCaptureHandler - which I had contributed right before OSG 2.6 shipped, bit I had - to trigger the screen capture programatically instead of by a key - press in some cases, so I added a convenience method to do that. - - It's a minimal change, it just calls an already existing - protected method. It was trivial to subclass the handler to do it - in our code, but pushing the change into OSG makes sense as it's - generally useful to have it in the handler itself. - - I also noticed that the handle() method was overridden from - osgGA::GUIEventHandler but wasn't marked virtual. It wasn't - intended that subclasses not be able to override it in turn, so - I've added the keyword."" - -2008-12-19 16:59 robert - - * src/osgPlugins/gz/ReaderWriterGZ.cpp: Fixed warning - -2008-12-19 16:35 robert - - * src/osgPlugins/Inventor/ConvertToInventor.cpp: Fixed compile - error during debug build - -2008-12-19 16:13 robert - - * examples/osgprecipitation/osgprecipitation.cpp: Added support for - user defined clipping of the precipitation effect, to test use: - - osgpreciptation lz.osg --clip 20 - - -2008-12-19 16:12 robert - - * src/osgParticle/PrecipitationEffect.cpp: Added setting of the - gl_ClipVertex to enable clip planes to affect preciptation - -2008-12-19 15:29 robert +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 - * include/osg/ClipNode, src/osg/ClipNode.cpp, - src/osgPlugins/ive/ClipNode.cpp, src/osgPlugins/ive/IveVersion.h, - src/osgPlugins/osg/ClipNode.cpp, src/osgUtil/CullVisitor.cpp, - src/osgWrappers/osg/ClipNode.cpp: Added - ClipNode::set/getReferenceFrame(); +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. -2008-12-19 14:30 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. - * src/osgText/CMakeLists.txt: Removed MATH_LIBRARY and FREETYPE - library reference. +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. -2008-12-19 12:58 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) - * include/osgSim/SphereSegment, include/osgWidget/Widget: Fixed - warning & error +" -2008-12-19 12:50 robert - * applications/osgviewer/osgviewer.cpp: Reverted previous check-in - to osgviewer.cpp as this was an accididental check-in with the - code only in testing state, not appropriate to be checked-in. -2008-12-19 12:46 robert +Fri, 7 Dec 2012 19:04:49 +0000 +Checked in by : Robert Osfield +Added template swapBytes method - * include/osg/CopyOp: Fixed warning +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. -2008-12-19 12:29 robert +Fri, 7 Dec 2012 12:47:42 +0000 +Checked in by : Robert Osfield +Fixed handling of window size/projection matrix - * src/osgShadow/StandardShadowMap.cpp: Fixed warning +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. -2008-12-19 12:28 robert +Thu, 6 Dec 2012 19:09:17 +0000 +Checked in by : Robert Osfield +Intial shell of .trk plugin - * examples/osgshadow/osgshadow.cpp: Added StandardShadowMap to list - to test cases +Thu, 6 Dec 2012 18:12:00 +0000 +Checked in by : Robert Osfield +From Stephan Huber, build fix -2008-12-19 11:36 robert +Thu, 6 Dec 2012 14:42:36 +0000 +Checked in by : Robert Osfield +Added default value for initialization of port number - * applications/osgviewer/osgviewer.cpp, - src/osgWrappers/genwrapper.conf, - src/osgWrappers/osg/GL2Extensions.cpp, - src/osgWrappers/osg/StencilTwoSided.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/VertexProgram.cpp, - src/osgWrappers/osgAnimation/modified.gw: Updated wrappers - -2008-12-19 11:04 robert - - * CMakeLists.txt, doc/Doxyfiles/doxyfile.cmake: From Mattias - Helsing, " - * Removed processing of include/OpenThreads in the OpenSceneGraph - refman - * Clears the mark_as_advanced property of the BUILD_DOCUMENTATION - cmake variable (so it gets visible in simple view). - " - -2008-12-19 10:20 robert - - * include/osgUtil/SceneView, src/osgWrappers/Doxyfile.template, - src/osgWrappers/osg/CollectOccludersVisitor.cpp, - src/osgWrappers/osg/ComputeBoundsVisitor.cpp, - src/osgWrappers/osg/GL2Extensions.cpp, - src/osgWrappers/osg/Image.cpp, src/osgWrappers/osg/KdTree.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osg/StencilTwoSided.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/VertexProgram.cpp, - src/osgWrappers/osgAnimation/Bone.cpp, - src/osgWrappers/osgAnimation/LinkVisitor.cpp, - src/osgWrappers/osgAnimation/RigGeometry.cpp, - src/osgWrappers/osgAnimation/modified.gw, - src/osgWrappers/osgDB/SharedStateManager.cpp, - src/osgWrappers/osgGA/EventVisitor.cpp, - src/osgWrappers/osgSim/InsertImpostorsVisitor.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgWrappers/osgUtil/DrawElementTypeSimplifier.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgUtil/IntersectionVisitor.cpp, - src/osgWrappers/osgUtil/Simplifier.cpp, - src/osgWrappers/osgUtil/Statistics.cpp, - src/osgWrappers/osgUtil/UpdateVisitor.cpp: Updated wrappers +Thu, 6 Dec 2012 11:36:35 +0000 +Checked in by : Robert Osfield +Fixed typo -2008-12-18 17:40 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 - * src/osgParticle/ParticleSystem.cpp: Fixed typo +Thu, 6 Dec 2012 08:02:08 +0000 +Checked in by : Robert Osfield +From Stephan Huber, ZerConfDevice plugin for Windows and Apple -2008-12-18 17:09 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" - * CMakeLists.txt: From Bob Kuehne, "minor tweak to the cmake root - file to handle debug correctly on os x." +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. -2008-12-18 17:01 robert - - * src/osgParticle/Particle.cpp, src/osgParticle/ParticleSystem.cpp: - Refactored the handling of particle rotation - -2008-12-18 16:10 robert - - * src/osgPlugins/gecko/llembeddedbrowser.cpp, - src/osgPlugins/gecko/llembeddedbrowserwindow.cpp, - src/osgPlugins/gecko/llmozlib2.h: Fixed warnings - -2008-12-18 15:49 robert - - * src/osgPlugins/3ds/readwrite.cpp, - src/osgPlugins/3ds/viewport.cpp, src/osgPlugins/ac/ac3d.cpp, - src/osgPlugins/bsp/VBSPGeometry.cpp, - src/osgPlugins/bsp/VBSPReader.cpp, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/dxf/dxfEntity.h, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/lwo/lwo2read.h, src/osgPlugins/lwo/old_Lwo2.cpp, - src/osgPlugins/lwo/old_Lwo2.h, src/osgPlugins/lwo/old_lw.cpp, - src/osgPlugins/md2/ReaderWriterMD2.cpp, - src/osgPlugins/ogr/ReaderWriterOGR.cpp, - src/osgPlugins/osgShadow/ShadowMap.cpp, - src/osgPlugins/osgShadow/ShadowTechnique.cpp, - src/osgPlugins/osgShadow/ShadowTexture.cpp, - src/osgPlugins/osgShadow/ShadowVolume.cpp, - src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp, - src/osgPlugins/pdf/ReaderWriterPDF.cpp, - src/osgPlugins/shp/ESRIShape.cpp, - src/osgPlugins/tgz/ReaderWriterTGZ.cpp, - src/osgPlugins/vnc/ReaderWriterVNC.cpp, - src/osgPlugins/xine/ReaderWriterXine.cpp, - src/osgPlugins/zip/ReaderWriterZIP.cpp: Fixed warnings - -2008-12-18 14:18 robert - - * src/osgText/CMakeLists.txt: Added MATH_LIBRARY to link list - -2008-12-18 13:56 robert - - * examples/osganimationmakepath/osganimationmakepath.cpp, - examples/osganimationviewer/AnimtkViewerKeyHandler, - examples/osgimagesequence/osgimagesequence.cpp, - examples/osglauncher/osglauncher.cpp, - examples/osgmemorytest/osgmemorytest.cpp, - examples/osgmovie/osgmovie.cpp, - examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp, - examples/osgocclusionquery/osgocclusionquery.cpp, - examples/osgshadow/IslandScene.cpp, - examples/osgsidebyside/osgsidebyside.cpp, - examples/osgunittests/MultiThreadRead.cpp, - examples/osgvolume/osgvolume.cpp, - examples/osgwidgetstyled/osgwidgetstyled.cpp, - examples/osgwidgetwindow/osgwidgetwindow.cpp: Fixed warnings - -2008-12-18 13:23 robert - - * src/osgPlugins/Inventor/ConvertToInventor.cpp, - src/osgPlugins/Inventor/ConvertToInventor.h: Fixed warnings - -2008-12-18 12:29 robert - - * src/osgPlugins/cfg/ConfigParser.cpp: Fixed warning - -2008-12-18 12:27 robert - - * src/osgPlugins/txp/TXPArchive.cpp: Quitened down debug messages - -2008-12-18 12:26 robert - - * src/osgPlugins/txp/TXPPagedLOD.cpp, - src/osgPlugins/txp/trpage_material.cpp, - src/osgPlugins/txp/trpage_model.cpp, - src/osgPlugins/txp/trpage_print.cpp, - src/osgPlugins/txp/trpage_range.cpp: Fixed warnings +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. -2008-12-18 12:25 robert +Tue, 4 Dec 2012 19:02:45 +0000 +Checked in by : Robert Osfield +Fixed default camera position - * src/osgUtil/Optimizer.cpp: Quitened down debug message +Tue, 4 Dec 2012 18:51:21 +0000 +Checked in by : Robert Osfield +Changed the -w and -h options to --width and --height respectively. -2008-12-18 11:54 robert +Tue, 4 Dec 2012 18:30:33 +0000 +Checked in by : Robert Osfield +Cleaned up command line usage - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgPlugins/gif/ReaderWriterGIF.cpp, - src/osgPlugins/osg/ImageSequence.cpp, - src/osgPlugins/osg/StateAttribute.cpp, - src/osgPlugins/osg/StateSet.cpp, src/osgPlugins/osg/Uniform.cpp, - src/osgPlugins/osgViewer/CompositeViewer.cpp, - src/osgPlugins/osgViewer/View.cpp, - src/osgPlugins/osgViewer/Viewer.cpp, src/osgVolume/Brick.cpp: - Fixed warnings - -2008-12-18 11:06 robert - - * include/osg/Image, include/osgAnimation/EaseMotion, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/osgWidget/Box.cpp, - src/osgPlugins/osgWidget/EmbeddedWindow.cpp, - src/osgPlugins/osgWidget/Frame.cpp, - src/osgPlugins/osgWidget/Input.cpp, - src/osgPlugins/osgWidget/Label.cpp, - src/osgPlugins/osgWidget/Table.cpp, - src/osgPlugins/osgWidget/Widget.cpp, - src/osgPlugins/osgWidget/WindowManager.cpp, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Locator.cpp, - src/osgTerrain/TerrainTile.cpp: Fixed warnings - -2008-12-17 22:52 robert - - * src/osg/PagedLOD.cpp, src/osgDB/DatabasePager.cpp, - src/osgParticle/ParticleSystem.cpp: Improved the effectiveness of - the new max target number PageLOD's - -2008-12-17 17:23 robert - - * examples/osgmultiplerendertargets/osgmultiplerendertargets.cpp: - From J.P Delport, "I changed the default HDR mode to the ARB - format and put in comments for some other possible modes. - - Some other comment cleanups too." - -2008-12-17 17:11 robert - - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/ScreenCaptureHandler.cpp, - src/osgViewer/StatsHandler.cpp, src/osgViewer/View.cpp: Fixed - warnings - -2008-12-17 16:58 robert - - * src/osgDB/DatabasePager.cpp: Fixed inactive PagedLOD removal code - -2008-12-17 16:13 robert +Tue, 4 Dec 2012 18:28:28 +0000 +Checked in by : Robert Osfield +Tidied up command line docs. - * include/osg/StencilTwoSided, include/osg/Texture3D, - src/osg/StencilTwoSided.cpp, src/osg/Texture.cpp, - src/osg/Texture1D.cpp, src/osg/Texture3D.cpp, - src/osgPlugins/ive/HeightFieldLayer.cpp: Fixed warnings - -2008-12-17 16:02 robert - - * src/osgPlugins/OpenFlight/FltExportVisitor.cpp, - src/osgPlugins/OpenFlight/LightPointRecords.cpp, - src/osgPlugins/OpenFlight/LightSourcePaletteManager.cpp, - src/osgPlugins/OpenFlight/MaterialPaletteManager.cpp, - src/osgPlugins/OpenFlight/TexturePaletteManager.cpp, - src/osgPlugins/OpenFlight/TexturePaletteManager.h, - src/osgPlugins/OpenFlight/VertexPaletteManager.cpp, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp, - src/osgPlugins/OpenFlight/expPrimaryRecords.cpp: Fixed warnings - -2008-12-17 15:36 robert - - * src/osgPlugins/hdr/hdrloader.cpp: Fixed warnings - -2008-12-17 15:32 robert - - * include/osg/GLExtensions, include/osg/VertexProgram, - include/osgAnimation/Timeline, include/osgWidget/PdfReader, - src/osg/GLExtensions.cpp, src/osg/State.cpp, - src/osg/VertexProgram.cpp, src/osgPlugins/hdr/hdrloader.cpp, - src/osgWidget/Input.cpp: Fixed warnings - -2008-12-17 14:56 robert - - * src/osgPlugins/cfg/CameraConfig.h, - src/osgPlugins/cfg/ConfigLexer.cpp, - src/osgPlugins/cfg/ConfigParser.cpp: Fixed warnings - -2008-12-17 13:14 robert - - * include/osg/GL2Extensions, src/osg/GL2Extensions.cpp: Warning - fixes - -2008-12-17 12:13 robert - - * include/osg/CollectOccludersVisitor, - include/osg/ComputeBoundsVisitor, include/osg/KdTree, - include/osg/NodeVisitor, include/osgAnimation/Bone, - include/osgAnimation/LinkVisitor, - include/osgAnimation/RigGeometry, - include/osgDB/SharedStateManager, include/osgGA/EventVisitor, - include/osgSim/InsertImpostorsVisitor, - include/osgUtil/CullVisitor, - include/osgUtil/DisplayRequirementsVisitor, - include/osgUtil/DrawElementTypeSimplifier, - include/osgUtil/GLObjectsVisitor, - include/osgUtil/IntersectVisitor, - include/osgUtil/IntersectionVisitor, include/osgUtil/Simplifier, - include/osgUtil/Statistics, include/osgUtil/UpdateVisitor, - src/osg/Transform.cpp, src/osgDB/DatabasePager.cpp, - src/osgFX/BumpMapping.cpp, src/osgGA/NodeTrackerManipulator.cpp, - src/osgManipulator/Selection.cpp, - src/osgShadow/OccluderGeometry.cpp, src/osgSim/SphereSegment.cpp, - src/osgViewer/View.cpp: Introduce NodeVisitor::className and - libraryName() - -2008-12-17 11:00 robert - - * include/osg/GraphicsContext, include/osgAnimation/Sampler, - include/osgIntrospection/ConstructorInfo, - include/osgIntrospection/MethodInfo, - include/osgIntrospection/PropertyInfo, - include/osgShadow/MinimalDrawBoundsShadowMap, src/osg/Camera.cpp, - src/osg/OcclusionQueryNode.cpp, - src/osgIntrospection/ConstructorInfo.cpp, - src/osgIntrospection/MethodInfo.cpp, - src/osgIntrospection/PropertyInfo.cpp, - src/osgShadow/ConvexPolyhedron.cpp, - src/osgShadow/DebugShadowMap.cpp, - src/osgShadow/MinimalCullBoundsShadowMap.cpp, - src/osgShadow/MinimalDrawBoundsShadowMap.cpp, - src/osgTerrain/Layer.cpp, src/osgText/Font.cpp, - src/osgText/String.cpp: Warning fixes - -2008-12-17 10:34 robert - - * src/osgPlugins/bsp/ReaderWriterVTF.cpp, - src/osgPlugins/bsp/VBSPReader.cpp, - src/osgPlugins/curl/ReaderWriterCURL.cpp: From Sekender, fixed - warnins - -2008-12-17 10:33 robert - - * src/osgPlugins/bmp/ReaderWriterBMP.cpp: Fixed warnings - -2008-12-17 10:01 robert - - * include/osgAnimation/Skeleton: From Jean-Sebastien Guay, added - missing export - -2008-12-16 21:16 robert - - * include/osgWidget/EventInterface, src/osgWrappers/osgAnimation, - src/osgWrappers/osgAnimation/Animation.cpp, - src/osgWrappers/osgAnimation/AnimationManager.cpp, - src/osgWrappers/osgAnimation/AnimationManagerBase.cpp, - src/osgWrappers/osgAnimation/Assert.cpp, - src/osgWrappers/osgAnimation/BasicAnimationManager.cpp, - src/osgWrappers/osgAnimation/Bone.cpp, - src/osgWrappers/osgAnimation/Channel.cpp, - src/osgWrappers/osgAnimation/CubicBezier.cpp, - src/osgWrappers/osgAnimation/EaseMotion.cpp, - src/osgWrappers/osgAnimation/Interpolator.cpp, - src/osgWrappers/osgAnimation/Keyframe.cpp, - src/osgWrappers/osgAnimation/LinkVisitor.cpp, - src/osgWrappers/osgAnimation/RigGeometry.cpp, - src/osgWrappers/osgAnimation/Sampler.cpp, - src/osgWrappers/osgAnimation/Skeleton.cpp, - src/osgWrappers/osgAnimation/Skinning.cpp, - src/osgWrappers/osgAnimation/Target.cpp, - src/osgWrappers/osgAnimation/Timeline.cpp, - src/osgWrappers/osgAnimation/TimelineAnimationManager.cpp, - src/osgWrappers/osgAnimation/UpdateCallback.cpp, - src/osgWrappers/osgAnimation/Vec3Packed.cpp, - src/osgWrappers/osgAnimation/VertexInfluence.cpp, - src/osgWrappers/osgAnimation/modified.gw, - src/osgWrappers/osgAnimation/removed.gw, - src/osgWrappers/osgWidget/PdfReader.cpp, - src/osgWrappers/osgWidget/VncClient.cpp: Updated wrappers - -2008-12-16 20:49 robert - - * examples/osganimationtimeline/osganimationtimeline.cpp, - src/osgPlugins/bvh/ReaderWriterBVH.cpp: Build fixes for when the - implict ref_ptr<> cast is not enabled - -2008-12-16 20:29 robert - - * examples/osganimationmakepath/osganimationmakepath.cpp, - examples/osganimationskinning/osganimationskinning.cpp, - examples/osganimationsolid/osganimationsolid.cpp, - examples/osganimationtimeline/osganimationtimeline.cpp, - examples/osganimationviewer/AnimtkViewer, - examples/osganimationviewer/AnimtkViewer.cpp, - examples/osganimationviewer/AnimtkViewerGUI, - examples/osganimationviewer/AnimtkViewerGUI.cpp, - examples/osgwidgetbox/osgwidgetbox.cpp, - examples/osgwidgetcanvas/osgwidgetcanvas.cpp, - examples/osgwidgetmessagebox/osgwidgetmessagebox.cpp, - examples/osgwidgetprogress/osgwidgetprogress.cpp, - examples/osgwidgetstyled/osgwidgetstyled.cpp, - examples/osgwidgettable/osgwidgettable.cpp, - examples/osgwidgetwindow/osgwidgetwindow.cpp, - include/osgAnimation/AnimationManagerBase, - include/osgAnimation/BasicAnimationManager, - include/osgAnimation/Bone, include/osgAnimation/EaseMotion, - include/osgAnimation/RigGeometry, include/osgAnimation/Skeleton, - include/osgAnimation/Skinning, include/osgAnimation/Timeline, - include/osgAnimation/TimelineAnimationManager, - include/osgWidget/EventInterface, - src/osgAnimation/AnimationManagerBase.cpp, - src/osgAnimation/BasicAnimationManager.cpp, - src/osgAnimation/Bone.cpp, src/osgAnimation/CMakeLists.txt, - src/osgAnimation/RigGeometry.cpp, src/osgAnimation/Skeleton.cpp, - src/osgAnimation/Timeline.cpp, - src/osgAnimation/TimelineAnimationManager.cpp, - src/osgAnimation/UpdateCallback.cpp, - src/osgPlugins/bvh/ReaderWriterBVH.cpp, - src/osgPlugins/osgAnimation/ReaderWriter.cpp: From Cedric Pinson - and Jeremey Moles, Changes to OpenSceneGraph-osgWidget-dev - branch. - - Notes from Robert Osfield, Merged changes to - OpenSceneGraph-osgWidget-dev r9367 (prior to my botched attempt - at merged svn/trunk into the branch). - -2008-12-16 19:49 robert - - * src/osgViewer/GraphicsWindowCarbon.cpp: From Bob Kuehne, build - fixes. - -2008-12-16 16:36 robert - - * CMakeLists.txt, include/OpenThreads/Version, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc, - src/OpenThreads/CMakeLists.txt: Updated version numbers for 2.8.8 - dev release - -2008-12-16 15:58 robert - - * src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgTerrain/Terrain.cpp, - src/osgWrappers/osgTerrain/TerrainTile.cpp: Updated wrappers - -2008-12-16 15:21 robert - - * src/OpenThreads/win32/Win32Mutex.cpp: From Mathias Froehilch, " - On OpenThreads win32 implementation we unconditionally unlock a - mutex in the - destructor. That happens even if the mutex was not locked before. - When running a osg application within microsofts application - verifier, that - software checks tells me that we should not unlock an unlocked - mutex. - - When I look at the posix threads mutex implementation, which does - no unlock in - the destructor and where it is illegal to destroy a locked mutex, - I conclude - that it is not needed for an OpenThreads::Mutex to do that unlock - in the - win32 Mutex destructor. - - Thus this patch based on rev 9358 removes that additional unlock - in the win32 - mutex implementations destructor." - -2008-12-16 15:08 robert - - * include/osg/GraphicsContext, src/osgViewer/CMakeLists.txt, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp: From Sukender and Robert - Osfield, introduced GraphicsContext::ScreenSettings & - WindowingSystemInterface::enumerateScreenSettings. - -2008-12-16 12:38 robert - - * src/osg/BufferObject.cpp: From Peter Hrenka, "Fix counting number - of new arrays and avoid - building free-list when not needed (saves - a handfull of mallocs/frees). - " - -2008-12-16 12:23 robert - - * src/osgPlugins/txp/trpage_geom.h, - src/osgPlugins/txp/trpage_print.cpp: Fixed warnings - -2008-12-16 12:20 robert - - * src/osgPlugins/cfg/ConfigParser.cpp: Fixed warnings - -2008-12-16 11:43 robert - - * CMakeLists.txt, CMakeModules/OsgCPack.cmake, - doc/Doxyfiles/all_Doxyfile, doc/Doxyfiles/auto_Doxyfile, - doc/Doxyfiles/core_Doxyfile, doc/Doxyfiles/custom_Footer.html, - doc/Doxyfiles/doxyfile.cmake, - doc/Doxyfiles/openthreads.doxyfile.cmake, - src/OpenThreads/pthreads/CMakeLists.txt, - src/OpenThreads/sproc/CMakeLists.txt: From Mattias Helsing,"Added - doc/Doxyfiles/openthreads.doxyfile.cmake - Updated all doxyfiles under doc/Doxyfiles. They are now all - processed - by cmake but make targets are only generated for - OpenSceneGraphReferenceDocs and OpenThreadsReferenceDocs. The - others - can be run with doxygen directly in /doc. - Fixed a copy-paste in openthreads sproc and pthreads CMakeLists - Added the osg logo to the html footers - Added possibility to get generation of chm files. - - CMakeLists (toplevel): - Added install of osg and ot reference docs. This also generates - packaging targets of openscenegraph-doc and openthreads-doc if - you - have packaging enabled - Removed the unused USING_OP_OT_TRIPLE_SET since there was no way - of - enabling it anyway - Removed BUILD_REF_DOCS. IMO it was redundant - - BUILD_DOCUMENTATION - does the same thing and we get that anyway from including - Documentation.cmake. - OsgCPack.cmake: - Removed generation of PACKAGE_SRC for msvc - Added special handling for -doc packaging targets - they don't - require - system, architecture or compiler" - -2008-12-15 22:18 robert - - * include/osgTerrain/Terrain, include/osgTerrain/TerrainTile, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Terrain.cpp, - src/osgTerrain/TerrainTile.cpp: Added support for a - Terrain::s/getTerrainTechniquePrototype() - -2008-12-15 20:38 robert - - * src/osgViewer/GraphicsWindowCarbon.cpp: From Tatsuhiro Nishioka, - "I found a bug in GraphicsWindowCarbon. - GraphicsWindowCarbon::requestWarpPointer() places the mouse - pointer in a (global?) display coordination, but it must be in a - local window coordination. This problem is critical because the - mouse cursor can go off a window especially when you place the - window on the secondary screen. - - Attached is the file to fix this problem. - - I tested this modified file with the following situations (on - FlightGear) and all works fine. - - two windows on two screens (each has one window). - - two windows on two screens (secondary screen has all windows). - - two windows on two screens (primary screen has all windows). - - In all scenarios, warp requests (by right-click the mouse) - successfully moves the mouse pointer to the center of the main - window, - and it is what it's supposed to be in the flightgear." - -2008-12-15 20:32 robert - - * applications/CMakeLists.txt: Limited the static build to just - osversion and osgstaticviewer - -2008-12-15 19:37 robert - - * include/osg/GLExtensions, src/osg/GLExtensions.cpp, - src/osg/Texture.cpp: Aded - osg::isGLExtensionOrVersionSupported(uint contextID, char* - extensionName, float minVersionRequired) method that - returns true if (the extension string is supported or GL version - is greater than or equal to a specified version) and - non extension disable is used. This makes it possible to disable - extensions that are now - available as parts of the core OpenGL spec. - - Updated Texture.cpp is use this method. - -2008-12-15 16:46 robert - - * src/osg/StateAttribute.cpp, src/osg/StateSet.cpp, - src/osg/Uniform.cpp: From Paul Martz, "I'm not sure why this - message was added, but it doesn't appear to merit INFO verbosity. - Changing this from INFO to DEBUG_FP." - -2008-12-15 16:42 robert - - * src/osg/BufferObject.cpp: From Peter Hrenka, "I implemented a - free list reallocation scheme in - VertexBufferObject::compileBuffer(). - - The offsets of newly added Arrays were not properly - calculated. This submission tries to find a - matching empty slot when the total size of - the VBO has not changed (e.g. when an array - is replaced by another array of the same size). - - - This fixes the overwriting issue that I showed in my posting - "Bug in VertexBufferObject::compileBuffer" on OSG-Users. - " - -2008-12-15 16:41 robert - - * src/osgDB/DatabasePager.cpp: Reduced the default number - _targetMaximumNumberOfPageLOD to 300 to keep the memory - consumption on large databases a bit lower. - -2008-12-15 16:10 robert - - * include/osgDB/DatabasePager: Added deprecated messages to get/set - methods of outgoing expiry schemes. - -2008-12-15 14:07 robert - - * CMakeLists.txt, CMakeModules/OsgCPack.cmake, - src/osgWrappers/CMakeLists.txt: From Mathias Helsing, "Cpack - support submission with: - - Better package naming. example - openscenegraph-core-2.7.7-Linux-i386.tar.gz on my ubuntu laptop - and - openscenegraph-core.2.7.7-win32-x86-vc80.tar.gz on winxp. - - CMakers will not get options for selecting compression format. - TGZ - goes for all platforms (on win32 I use 7zip) - - The wrappers is now given the COMPONENT name - libopenscenegraph-wrappers. Feel free to change the name. - - On windows with visual studio the OsgCPack script make some - efforts to - discover the compiler used but support is a bit poor so I've - given - CMake acces to OSG_CPACK_COMPILER to provide some mean to name - the - compiler. - - stop - - The platform part is taken from CMAKE_SYSTEM_NAME and for windows - I - change this to win32 or win64 based on CMAKE_CL_64. This might - not be - necessary if the arch part has that information. This information - is - taken from CMAKE_SYSTEM_PROCESSOR. I only have 32bit here so if - some - of you could uncomment line 15,16 in OsgCPack.cmake and report - what - cmake report it would be nice. I'm especially interested anything - but - win32 and linux32" - -2008-12-15 13:56 robert - - * src/osgDB/DatabasePager.cpp: Made the folowing changes to make - the DatabasePager more restrained in its memory consumption, and - to improve the speed of merging of tiles (at the potential cost - of extra frame drops). - - Set Made DatabasePager TargetMaximumNumberOfPageLOD technique the - be the default with a default target number of PagedLOD of 500. - - Set DatabasePager DoPreCompile to OFF by default. - -2008-12-15 12:16 robert - - * include/osg/Image, src/osgWrappers/osg/Image.cpp: Removed - buildMipmaps method that had no implementation. - -2008-12-12 22:28 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project - -2008-12-12 19:19 robert - - * AUTHORS.txt, README.txt, applications/osgversion/osgversion.cpp: - Updated AUTHORS and READER for 2.7.7 dev release - -2008-12-12 19:12 robert - - * ChangeLog: Updated change log - -2008-12-12 18:47 robert - - * CMakeLists.txt, ChangeLog, - examples/osgphotoalbum/PhotoArchive.cpp, - examples/osgscreencapture/osgscreencapture.cpp, - include/osg/Referenced, include/osgDB/ConvertUTF, - include/osgDB/DotOsgWrapper, include/osgDB/Field, - include/osgDB/FieldReader, include/osgDB/FileUtils, - include/osgSim/ShapeAttribute, src/osg/Referenced.cpp, - src/osgDB/ConvertUTF.cpp, src/osgDB/DatabasePager.cpp, - src/osgDB/Field.cpp, src/osgDB/FileUtils.cpp, - src/osgDB/Output.cpp, src/osgPlugins/3dc/ReaderWriter3DC.cpp, - src/osgPlugins/bsp/Q3BSPReader.cpp, - src/osgPlugins/bsp/VBSPReader.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/geo/osgGeoStructs.h, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/lwo/old_Lwo2.cpp, src/osgPlugins/obj/obj.cpp, - src/osgPlugins/osg/AlphaFunc.cpp, - src/osgPlugins/osg/BlendEquation.cpp, - src/osgPlugins/osg/BlendFunc.cpp, src/osgPlugins/osg/Camera.cpp, - src/osgPlugins/osg/ColorMask.cpp, src/osgPlugins/osg/Depth.cpp, - src/osgPlugins/osg/Fog.cpp, src/osgPlugins/osg/Geometry.cpp, - src/osgPlugins/osg/Sequence.cpp, src/osgPlugins/osg/StateSet.cpp, - src/osgPlugins/osg/Stencil.cpp, src/osgPlugins/osg/TexEnv.cpp, - src/osgPlugins/osg/TexEnvCombine.cpp, - src/osgPlugins/osg/TexGen.cpp, src/osgPlugins/osg/Texture.cpp, - src/osgPlugins/osgTerrain/Layer.cpp, - src/osgPlugins/pnm/ReaderWriterPNM.cpp, - src/osgPlugins/stl/ReaderWriterSTL.cpp, - src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgShadow/ConvexPolyhedron.cpp, - src/osgSim/ShapeAttribute.cpp, src/osgText/Font.cpp, - src/osgViewer/ScreenCaptureHandler.cpp, src/osgViewer/Viewer.cpp: - Where possible moved redundent C header includes from headers to - source files - -2008-12-12 14:54 robert - - * CMakeModules/ModuleInstall.cmake, - CMakeModules/OsgMacroUtils.cmake, src/osgViewer/CMakeLists.txt: - Changed the libopenscenegraph-core to be part of - libopenscenegraph, and - changed libopenscenegraph-examples to be part of - openscenegraph-examples - -2008-12-12 14:16 robert - - * src/osgWrappers/osgGA/StateSetManipulator.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers - -2008-12-12 13:41 robert - - * include/osgGA/StateSetManipulator, - include/osgViewer/ViewerEventHandlers, - src/osgViewer/ViewerEventHandlers.cpp: From Ulrich Hertlein, Typo - fixes + "optional parameter to RecordCameraPathHandler to control - the frame rate for record/playback. Default is 25.0, the - environment variable takes preference if set." - -2008-12-12 11:01 robert - - * CMakeLists.txt, CMakeModules/ModuleInstall.cmake, - CMakeModules/OsgCPack.cmake, - CMakeModules/OsgCPackConfig.cmake.in, - CMakeModules/OsgMacroUtils.cmake, - src/OpenThreads/pthreads/CMakeLists.txt, - src/OpenThreads/sproc/CMakeLists.txt, - src/OpenThreads/win32/CMakeLists.txt, - src/osgPlugins/Inventor/CMakeLists.txt, - src/osgPlugins/dae/CMakeLists.txt, - src/osgPlugins/gdal/CMakeLists.txt, - src/osgPlugins/gecko/CMakeLists.txt, - src/osgPlugins/pdf/CMakeLists.txt, - src/osgPlugins/svg/CMakeLists.txt, - src/osgPlugins/vnc/CMakeLists.txt, - src/osgPlugins/vrml/CMakeLists.txt, src/osgViewer/CMakeLists.txt: - From Mattias Helsing, "I have developed the earlier cpack example - a bit. Perhaps you could - consider these initial cpack support scripts. It is hidden behind - a - BUILD_PACKAGES option so won't affect the normal user. The - submission - 1) set the COMPONENT attribute on all cmake install commands. - COMPONENT names are according to - http://www.openscenegraph.org/projects/osg/wiki/Community/Packaging - - 2) provide cmake script and a template for creating CPack - configuration files. It will generate target for creating - packages - with everything that gets "installed" (make package on unx, - project - PACKAGE in MSVC) plus targets for generating one package per - COMPONENT - (i.e. libopenscenegraph-core etc.). - - I have temporariliy uploaded some examples to - http://www.openscenegraph.org/projects/osg/wiki/Community/People/MattiasHelsing - - If this submission makes it into svn we can develop it to - generate - rpms, installers for windows and mac (I know at least J-S don't - like - these but there may be others who do ;) and even DEBs (not sure - if we - can make them "ubuntu-ready" but they eventually may - at least - we - could put a deb on the website)" - -2008-12-12 10:20 robert - - * src/osgWrappers/osg/Geode.cpp, src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/Node.cpp, src/osgWrappers/osg/Switch.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgWidget/Browser.cpp: Updated wrappers - -2008-12-12 10:19 robert - - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Updated version number for - 2.7.7 release - -2008-12-11 17:00 robert - - * applications/CMakeLists.txt, examples/CMakeLists.txt, - src/osgPlugins/CMakeLists.txt, src/osgWrappers/CMakeLists.txt: - From Mattias Helsing, "When building osg static on Windows the - _declspec's wasn't escaped for - applications, examples or wrappers. Attached are the CMakeLists I - had - to change to make these compile. - " - -2008-12-10 17:08 robert - - * src/osgPlugins/osg/Node.cpp: Cleaned up layout - -2008-12-10 16:26 robert - - * examples/osgstaticviewer/osgstaticviewer.cpp, - include/osgDB/Registry, src/osgPlugins/osg/AlphaFunc.cpp, - src/osgPlugins/osg/AnimationPath.cpp, - src/osgPlugins/osg/AutoTransform.cpp, - src/osgPlugins/osg/Billboard.cpp, - src/osgPlugins/osg/BlendColor.cpp, - src/osgPlugins/osg/BlendEquation.cpp, - src/osgPlugins/osg/BlendFunc.cpp, src/osgPlugins/osg/Box.cpp, - src/osgPlugins/osg/CMakeLists.txt, src/osgPlugins/osg/Camera.cpp, - src/osgPlugins/osg/CameraView.cpp, - src/osgPlugins/osg/Capsule.cpp, src/osgPlugins/osg/ClearNode.cpp, - src/osgPlugins/osg/ClipNode.cpp, - src/osgPlugins/osg/ClipPlane.cpp, - src/osgPlugins/osg/ClusterCullingCallback.cpp, - src/osgPlugins/osg/ColorMask.cpp, - src/osgPlugins/osg/ColorMatrix.cpp, - src/osgPlugins/osg/CompositeShape.cpp, - src/osgPlugins/osg/Cone.cpp, - src/osgPlugins/osg/ConvexPlanarOccluder.cpp, - src/osgPlugins/osg/CoordinateSystemNode.cpp, - src/osgPlugins/osg/CullFace.cpp, src/osgPlugins/osg/Cylinder.cpp, - src/osgPlugins/osg/Depth.cpp, src/osgPlugins/osg/Drawable.cpp, - src/osgPlugins/osg/EllipsoidModel.cpp, - src/osgPlugins/osg/Fog.cpp, - src/osgPlugins/osg/FragmentProgram.cpp, - src/osgPlugins/osg/FrontFace.cpp, src/osgPlugins/osg/Geode.cpp, - src/osgPlugins/osg/Geometry.cpp, src/osgPlugins/osg/Group.cpp, - src/osgPlugins/osg/HeightField.cpp, src/osgPlugins/osg/Image.cpp, - src/osgPlugins/osg/ImageSequence.cpp, src/osgPlugins/osg/LOD.cpp, - src/osgPlugins/osg/Light.cpp, src/osgPlugins/osg/LightModel.cpp, - src/osgPlugins/osg/LightSource.cpp, - src/osgPlugins/osg/LineStipple.cpp, - src/osgPlugins/osg/LineWidth.cpp, - src/osgPlugins/osg/Material.cpp, - src/osgPlugins/osg/MatrixTransform.cpp, - src/osgPlugins/osg/Node.cpp, src/osgPlugins/osg/NodeCallback.cpp, - src/osgPlugins/osg/Object.cpp, - src/osgPlugins/osg/OccluderNode.cpp, - src/osgPlugins/osg/OcclusionQueryNode.cpp, - src/osgPlugins/osg/PagedLOD.cpp, src/osgPlugins/osg/Point.cpp, - src/osgPlugins/osg/PointSprite.cpp, - src/osgPlugins/osg/PolygonMode.cpp, - src/osgPlugins/osg/PolygonOffset.cpp, - src/osgPlugins/osg/PositionAttitudeTransform.cpp, - src/osgPlugins/osg/Program.cpp, - src/osgPlugins/osg/Projection.cpp, - src/osgPlugins/osg/ProxyNode.cpp, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osg/Scissor.cpp, src/osgPlugins/osg/Sequence.cpp, - src/osgPlugins/osg/ShadeModel.cpp, src/osgPlugins/osg/Shader.cpp, - src/osgPlugins/osg/Shape.cpp, - src/osgPlugins/osg/ShapeDrawable.cpp, - src/osgPlugins/osg/Sphere.cpp, - src/osgPlugins/osg/StateAttribute.cpp, - src/osgPlugins/osg/StateSet.cpp, src/osgPlugins/osg/Stencil.cpp, - src/osgPlugins/osg/Switch.cpp, - src/osgPlugins/osg/TessellationHints.cpp, - src/osgPlugins/osg/TexEnv.cpp, - src/osgPlugins/osg/TexEnvCombine.cpp, - src/osgPlugins/osg/TexEnvFilter.cpp, - src/osgPlugins/osg/TexGen.cpp, src/osgPlugins/osg/TexGenNode.cpp, - src/osgPlugins/osg/TexMat.cpp, src/osgPlugins/osg/Texture.cpp, - src/osgPlugins/osg/Texture1D.cpp, - src/osgPlugins/osg/Texture2D.cpp, - src/osgPlugins/osg/Texture3D.cpp, - src/osgPlugins/osg/TextureCubeMap.cpp, - src/osgPlugins/osg/TextureRectangle.cpp, - src/osgPlugins/osg/Transform.cpp, src/osgPlugins/osg/Uniform.cpp, - src/osgPlugins/osg/VertexProgram.cpp, - src/osgPlugins/osg/Viewport.cpp: Added mechanism for registering - proxy objects in the .osg plugin in a way that is compatible with - static linking. - -2008-12-10 15:01 robert - - * src/osgUtil/Optimizer.cpp: Removed #if 0'd out reference to osgDB - -2008-12-10 12:50 robert - - * examples/osgstaticviewer/CMakeLists.txt: Fixed link line - -2008-12-10 11:12 robert - - * include/osgViewer/View, src/osgViewer/View.cpp: Refactored - computeIntersections() float x,float y, const osg::NodePath& - nodePath. - -2008-12-10 10:13 robert - - * src/osgPlugins/OpenFlight/VertexPaletteManager.cpp: From Andreas - Goebel, (submitted by Paul Martz) "A fix for the FLT exporter. - This change adds support for normals with OVERALL binding (and - improves support for normals with PER_PRIMITIVE binding -- still - not correct, but at least it doesn't index off the end of the - array anymore)." - -2008-12-10 10:10 robert - - * src/osgSim/Sector.cpp: From Marcin Prus, "some time ago there was - an optimization fix including change in - DirectionalSector::computeMatrix(). - Rotation matrices were replaced with quaternions but incorrect - contructor was used. There was a call to Quat(angle, xAxis, - yAxis, zAxis ) but there is no such constructor in Quat class to - create quaternion for rotation. As a result we got this values - being written into quaternion directly. - - I've replaced Quat contructor calls with the ones creating - rotation quaternions Quat( angle, Vec3( axis ) )." - -2008-12-10 09:34 robert - - * src/osgVolume/ImageUtils.cpp: Added return - -2008-12-09 16:43 robert - - * include/osg/Node: From Sukender, added missing inline keywords - -2008-12-09 14:07 robert - - * src/osgPlugins/gecko/UBrowser.cpp, - src/osgPlugins/gecko/UBrowser.h, src/osgWidget/Browser.cpp: Fixed - cull callback usage to ensure that the lazy updating of the - browser image functions automatically. - -2008-12-09 11:05 robert - - * examples/osgbrowser/osgbrowser.cpp, examples/osgpdf/osgpdf.cpp, - examples/osgvnc/osgvnc.cpp, include/osgWidget/Browser, - include/osgWidget/PdfReader, include/osgWidget/VncClient, - src/osgPlugins/gecko/ReaderWriterUBrowser.cpp, - src/osgPlugins/vnc/ReaderWriterVNC.cpp, - src/osgWidget/Browser.cpp, src/osgWidget/PdfReader.cpp, - src/osgWidget/VncClient.cpp: Cleaned up osgWidget::VncClient and - osgWidget::Browser so that their implementations are all more - consitent with the osgWidget::PdfReader. - -2008-12-09 09:26 robert - - * examples/osgpdf/osgpdf.cpp, examples/osgvnc/CMakeLists.txt, - examples/osgvnc/osgvnc.cpp, include/osgWidget/PdfReader, - src/osgPlugins/pdf/CMakeLists.txt, - src/osgPlugins/pdf/ReaderWriterPDF.cpp, - src/osgViewer/ViewerEventHandlers.cpp, - src/osgWidget/PdfReader.cpp: Added support for setting background - colour of Pdf document. - -2008-12-09 09:25 robert - - * include/osgVolume/ImageUtils, src/osgVolume/ImageUtils.cpp: Added - setImageToColour function - -2008-12-09 09:24 robert - - * include/osg/Geode, include/osg/Node, include/osg/Switch: Added - asSwitch and asGeode convinience methods to Node - -2008-12-07 17:37 robert - - * include/osgWidget/PdfReader, - src/osgPlugins/pdf/ReaderWriterPDF.cpp: Added ability to - customize keyboard events for controlling - osgWidget::PdfImage/PdfReader - -2008-12-07 17:02 robert - - * examples/CMakeLists.txt, examples/osgpdf/CMakeLists.txt, - examples/osgpdf/osgpdf.cpp, examples/osgvnc/osgvnc.cpp, - examples/osgwidgetscrolled/CMakeLists.txt, include/osg/Image, - include/osgViewer/ViewerEventHandlers, - include/osgWidget/PdfReader, include/osgWidget/VncClient, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/gecko/UBrowser.cpp, - src/osgPlugins/gecko/UBrowser.h, src/osgPlugins/pdf, - src/osgPlugins/pdf/CMakeLists.txt, - src/osgPlugins/pdf/ReaderWriterPDF.cpp, - src/osgPlugins/vnc/CMakeLists.txt, - src/osgPlugins/vnc/ReaderWriterVNC.cpp, - src/osgViewer/ViewerEventHandlers.cpp, - src/osgWidget/CMakeLists.txt, src/osgWidget/PdfReader.cpp, - src/osgWidget/VncClient.cpp: Intoduce new osgWidget::PdfReader - and osgWidget::VncClient front ends to osgWidget, - with new pdf plugin and updated vnc plugin that now support these - front ends. - - Updated osgpdf and osgvnc examples to new these new interfaces. - -2008-12-06 11:03 robert - - * src/osgPlugins/bvh/ReaderWriterBVH.cpp: Fixed build problem - -2008-12-05 16:41 robert - - * include/osg/Image: Added GL_ABGR_EXT to fix windows build - -2008-12-04 10:27 robert - - * src/osgPlugins/bsp/CMakeLists.txt, - src/osgPlugins/bsp/ReaderWriterVTF.cpp: From Jason Daly, added - support for reading Valve's texture format files - -2008-12-03 14:13 robert - - * include/osg/Node: From Sukender, (Benoit Neil) "adding a few - convinience methods to osg::Node (ouch!). Just tell me if you - find them useful: - - /** Convinience method that sets the update callback of the node - if it doesn't exist, or nest it into the existing one. */ - void addUpdateCallback(NodeCallback* nc); - - /** Convinience method that removes a given callback from a node, - even if that callback is nested. There is no error return in case - the given callback is not found. */ - void removeUpdateCallback(NodeCallback* nc); - - ... and the same for Event and Cull callbacks methods." - -2008-12-03 12:09 robert - - * src/osg/Image.cpp: From Ferdi Smit, "Image.cpp didn't handle the - integer data types correctly in the function: - - unsigned int Image::computeNumComponents(GLenum pixelFormat) - - so I added these types to the switch statement: - - case(GL_RED_INTEGER_EXT): return 1; - case(GL_GREEN_INTEGER_EXT): return 1; - case(GL_BLUE_INTEGER_EXT): return 1; - case(GL_ALPHA_INTEGER_EXT): return 1; - case(GL_RGB_INTEGER_EXT): return 3; - case(GL_RGBA_INTEGER_EXT): return 4; - case(GL_BGR_INTEGER_EXT): return 3; - case(GL_BGRA_INTEGER_EXT): return 4; - case(GL_LUMINANCE_INTEGER_EXT): return 1; - case(GL_LUMINANCE_ALPHA_INTEGER_EXT): return 2; - - That's all... now it computes the number of components and, thus, - the image size - correctly." - -2008-12-02 10:42 robert - - * CMakeModules/FindCOLLADA.cmake, - src/osgPlugins/dae/CMakeLists.txt: Revised the DYNAMIC vs STATIC - library setup of COLLADA. - -2008-12-02 09:00 robert - - * src/osg/BufferObject.cpp: From Jean-Sebastien Guay, build fix - -2008-12-01 15:46 robert - - * include/osg/Image, src/osgWrappers/osg/Image.cpp: Fixed wrappers - -2008-12-01 14:07 robert - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/bvh, - src/osgPlugins/bvh/CMakeLists.txt, - src/osgPlugins/bvh/ReaderWriterBVH.cpp: From Wang Rui, - "Attachment is a plugin reading Biovision hierarchical files - (.BVH) to generate character motion animations. BVH format is - widely used by Character Studio of 3dsmax, MotionBuilder and - other softwares, also supported by most motion capture devices. - The plugin is based on the latest osgAnimation library of OSG - 2.7.6 and will return a osgAnimation::AnimationManager pointer if - using readNodeFile() to load it. - - Source and CMake files are: - - CMakeLists.txt - ReaderWriterBVH.cpp - - Also there are 3 example BVH files. The first two are captured - from motions of human beings - maybe a kung-fu master here. - PLEASE use command below to see the results: - - # osgviewer example1.bvh -O solids - - This will demonstrate the animating of a skeleton and render - bones as solid boxes. Note that the motion assumes XOZ is the - ground and has an offset from the center, so we should adjust our - view to get best effects. - - You may also use "-O contours" to render bones as lines. The - viewer shows nothing if without any options because - osgAnimation::Bone does not render itself. User may add - customized models to each named bones as osganimationskinning - does to make uses of this plugin in their own applications. - - I was wondering to support a BvhNode in my osgModeling peoject - before, but soon found it better be a plugin for animation. A - problem is, how to bind real geometry models to the skeleton. - Maybe we could have a bindingToNode() visitor in future to find - geodes matching names of bones and add them as bones' children." - -2008-12-01 13:47 robert - - * src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/Image.cpp: Updated wrappers - -2008-12-01 13:28 robert - - * include/osg/BufferObject, src/osg/BufferObject.cpp: From Art - Tevs, "here is a submission of an additional class of - PixelBufferObejct, which implements more general way of handling - with PBOs. Current osg implementation of PBO does use an attached - osg::Image to copy data from. This is somehow only one way of - using it and doesn't provide full functionality of PBOs. - - -------------------------------------------- - Descripton: - - The patch does provide a new class PixelDataBufferObject which is - capable of allocating memory on the GPU side (PBO memory) of - arbitrary size. The memory can then further be used to be enabled - into read mode (GL_PIXEL_UNPACK_BUFFER_ARB) or in write mode - (GL_PIXEL_PACK_BUFFER_ARB). Enabling the buffer into write mode - will force the driver to write data from bounded textures into - that buffer (i.e. glGetTexImage). Using buffer in read mode give - you the possibility to read data from the buffer into a texture - with e.g. glTexSubImage or other instuctions. Hence no data is - copied over the CPU (host memory), all the operations are done in - the GPU memory. - - - -------------------------------------------- - Compatibility: - - The new class require the unbindBuffer method from the base class - BufferObject to be virtual, which shouldn't break any - functionality of already existing classes. Except of this the new - class is fully orthogonal to existing one, hence can be safely - added into already existing osg system. - - -------------------------------------------- - Testing: - - The new class was tested in the current svn version of osgPPU. I - am using the new class to copy data from textures into the PBO - and hence provide them to CUDA kernels. Also reading the results - back from CUDA is implemented using the provided patch. The given - patch gives a possibility of easy interoperability between CUDA - and osg (osgPPU ;) ) - - - -------------------------------------------- - I think in general it is a better way to derive the - PixelBufferObject class from PixelDataBufferObject, since the - second one is a generalization of the first one. However this - could break the current functionality, hence I haven't - implemented it in such a way. However I would push that on a - stack of wished osg 3.x features, since this will reflect the - OpenGL PBO functionality through the classes better. - " - -2008-12-01 11:19 robert - - * src/osgAnimation/CMakeLists.txt: Added OpenThreads to link lists - -2008-11-30 16:33 robert - - * src/osgPlugins/exr/CMakeLists.txt: Changed OPENEXR_LIBRARY to - OPENEXR_LIBRARIES to pick up on Ulrich's changes to the - FindOpenEXR.cmake - -2008-11-30 16:33 robert - - * CMakeModules/FindLibVNCServer.cmake, - CMakeModules/FindOpenEXR.cmake, CMakeModules/FindZLIB.cmake: From - Ulrich Hertlien, "'m was getting a build failure from the OpenEXR - reader on Mac OS X. It was complaining about undefined references - to half::convert(int). I believe this is because the EXR plugin - doesn't explicitly link against the Half library. - - Attached is a modified FindOpenEXR.cmake module that locates - IlmIlf and Half, as well as a modified exr/CMakeLists.txt that - picks up this change. - - Also attached are some typo fixes for CMakeModules. - - Cheers," - -2008-11-30 15:56 robert - - * include/osg/Image, src/osg/Image.cpp: From Art Tevs, "here are a - small extension to the osg::Image class, which do computes data - type from the given format, i.e. (GL_RGB32F_ARB -> GL_FLOAT). The - method is very usefull to find out which data type a texture or - an image have based on the internal/pixel format." - -2008-11-29 12:16 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/osgversion.cpp: - Updated ChangeLog, and AUTHORS lists for 2.7.6 dev release - -2008-11-29 11:35 robert - - * examples/osgwidgetmessagebox/osgwidgetmessagebox.cpp: Build fix - for when implicit conversion in ref_ptr<> is switched off. - -2008-11-29 11:10 robert - - * include/osgAnimation/Timeline: Fixed build for when ref_ptr<> - impicit cast is not built - -2008-11-28 17:18 robert - - * include/osgAnimation/Timeline: Removed cmath include as it was - causing build problems under Cgwin - -2008-11-28 14:37 robert - - * examples/CMakeLists.txt: Added new examples - -2008-11-28 14:37 robert - - * examples/osganimationnode/CMakeLists.txt, - examples/osganimationnode/osganimationnode.cpp: From Cedric - Pinson, updates to osganimation examples. - - Merged by Robert Osfield, from OpenSceneGraph-osgWidget-dev - -2008-11-28 14:36 robert - - * examples/osgwidgetaddremove/osgwidgetaddremove.cpp, - examples/osgwidgetbox/osgwidgetbox.cpp, - examples/osgwidgetcanvas/osgwidgetcanvas.cpp, - examples/osgwidgetframe/osgwidgetframe.cpp, - examples/osgwidgetinput/osgwidgetinput.cpp, - examples/osgwidgetlabel/osgwidgetlabel.cpp, - examples/osgwidgetmenu/CMakeLists.txt, - examples/osgwidgetmenu/osgwidgetmenu.cpp, - examples/osgwidgetmessagebox, - examples/osgwidgetmessagebox/CMakeLists.txt, - examples/osgwidgetmessagebox/osgwidgetmessagebox.cpp, - examples/osgwidgetnotebook/osgwidgetnotebook.cpp, - examples/osgwidgetperformance, - examples/osgwidgetperformance/CMakeLists.txt, - examples/osgwidgetperformance/osgwidgetperformance.cpp, - examples/osgwidgetprogress, - examples/osgwidgetprogress/CMakeLists.txt, - examples/osgwidgetprogress/osgwidgetprogress.cpp, - examples/osgwidgetscrolled/osgwidgetscrolled.cpp, - examples/osgwidgettable/osgwidgettable.cpp, - examples/osgwidgetwindow/osgwidgetwindow.cpp: From Jeremy Moles, - updates to osgwidget examples. - - Merged by Robert Osfield from OpenSceneGraph-osgWidget-dev - -2008-11-28 14:35 robert - - * src/osgWrappers/osgWidget/Box.cpp, - src/osgWrappers/osgWidget/Canvas.cpp, - src/osgWrappers/osgWidget/EventInterface.cpp, - src/osgWrappers/osgWidget/Frame.cpp, - src/osgWrappers/osgWidget/Input.cpp, - src/osgWrappers/osgWidget/Label.cpp, - src/osgWrappers/osgWidget/ViewerEventHandlers.cpp, - src/osgWrappers/osgWidget/Widget.cpp, - src/osgWrappers/osgWidget/Window.cpp, - src/osgWrappers/osgWidget/WindowManager.cpp: Updated wrappers - -2008-11-28 14:35 robert - - * include/osgWidget/Box, include/osgWidget/Browser, - include/osgWidget/Canvas, include/osgWidget/EventInterface, - include/osgWidget/Export, include/osgWidget/Frame, - include/osgWidget/Input, include/osgWidget/Label, - include/osgWidget/Lua, include/osgWidget/Python, - include/osgWidget/ScriptEngine, include/osgWidget/StyleInterface, - include/osgWidget/StyleManager, include/osgWidget/Table, - include/osgWidget/Types, include/osgWidget/UIObjectParent, - include/osgWidget/Util, include/osgWidget/Version, - include/osgWidget/ViewerEventHandlers, include/osgWidget/Widget, - include/osgWidget/Window, include/osgWidget/WindowManager, - src/osgWidget/Box.cpp, src/osgWidget/Browser.cpp, - src/osgWidget/Canvas.cpp, src/osgWidget/Frame.cpp, - src/osgWidget/Input.cpp, src/osgWidget/Label.cpp, - src/osgWidget/Lua.cpp, src/osgWidget/Python.cpp, - src/osgWidget/StyleManager.cpp, src/osgWidget/Table.cpp, - src/osgWidget/Util.cpp, src/osgWidget/ViewerEventHandlers.cpp, - src/osgWidget/Widget.cpp, src/osgWidget/Window.cpp, - src/osgWidget/WindowManager.cpp: From Jeremy Moles, updates to - osgWidget - - Merged my Robert Osfield from OpenSceneGraph-osgWidget-dev. - -2008-11-28 14:34 robert - - * include/osgAnimation/Bone, include/osgAnimation/EaseMotion, - include/osgAnimation/Skinning, include/osgAnimation/Timeline, - include/osgAnimation/VertexInfluence, - src/osgAnimation/UpdateCallback.cpp: From Cedric Pinson, updates - toosgAnimation. - - Merged by Robert Osfield, from OpenSceneGraph-osgWidget-dev. - -2008-11-27 17:31 robert - - * src/osgPlugins/curl/CMakeLists.txt: From Cedric Pinson, "updated - the CMakelist.txt of curl plugin to compile with the static - library of curl. - I added the external dependency wldap32" - -2008-11-27 17:30 robert - - * CMakeLists.txt, include/osg/Version: Updated SO version number - for 2.5.6 release - -2008-11-27 17:29 robert - - * ChangeLog: Updated ChangeLog - -2008-11-27 16:58 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/config/OpenThreads/Config, - Xcode/OpenSceneGraph/osgAnimation-Info.plist, - Xcode/OpenSceneGraph/osgVolume-Info.plist, - Xcode/OpenSceneGraph/osganimationviewer-Info.plist: From Stephan - Huber: - updated XCode project, added osgAnimation framework + one example - using it (osganimationviewer). - Added _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC to local - OpenThreads/Config when compiling for the 10.5 SDK. - Some minor fixes on some of the configurations/targets - -2008-11-27 14:05 robert - - * src/osgPlugins/bsp/VBSPReader.h: Changed unsigned long to - unsigned int to avoid 64bit portability issue. - -2008-11-27 09:45 robert - - * examples/osgautocapture/osgautocapture.cpp: From Jean-Sebastien - Guay, "osgautocapture uses M_PI to convert degrees to radians, - which didn't compile on Win32. Switched to using - osg::DegreesToRadians. Also removed the "convert to radians" - comment on each line, as the code clearly conveys this without - needing a comment now." - -2008-11-27 09:36 robert - - * src/osgPlugins/CMakeLists.txt: Enabled the build of exr plugin - -2008-11-27 09:36 robert - - * src/osgPlugins/exr/ReaderWriterEXR.cpp: Build fixes - -2008-11-27 09:33 robert - - * src/osgPlugins/exr/ReaderWriterEXR.cpp: Removed the use of = - operator. - -2008-11-26 16:40 robert - - * src/osgWrappers/genwrapper.conf, - src/osgWrappers/osg/BoundingBox.cpp, - src/osgWrappers/osg/BoundingSphere.cpp: Updated wrappers - -2008-11-26 16:39 robert - - * include/osg/BoundingBox, include/osg/BoundingSphere, - src/osg/BoundingBox.cpp, src/osg/BoundingSphere.cpp, - src/osg/CMakeLists.txt: From Tim Moore, "Double precision - versions of BoundingBox and BoundingSphere are useful for doing - computations in world coordinates, especially when working with a - geocentric scene. By default, these classes are built using - floats, so templated versions fill a need. I've used the double - precision templates to fix some problems with - ViewDependentShadow, which will follow shortly. - " - -2008-11-26 16:00 robert - - * src/osgWrappers/genwrapper.conf: added workaround of compile - issues with templated version of BoundingBox - -2008-11-26 13:18 robert - - * src/osgWrappers/osgDB/DatabasePager.cpp: Updated wrappers - -2008-11-26 12:50 robert - - * src/osg/Sequence.cpp: From Andy Preece, - - "To reproduce the bug: - - 1. Create a template osg::Sequence node (and underlying geometry) - but do not attach the node to the current active scenegraph. - 2. At some point during the rendering loop (perhaps on a - keystroke) clone the sequence node (I use the call: - - dynamic_cast(templateNode -> clone( osg::CopyOp( - (osg::CopyOp::CopyFlags)osg::CopyOp::DEEP_COPY_NODES ) ) ) - - 3. Set the cloned sequence node duration to a value that makes - the animation run slower (i.e. 2.0). - 4. Start the cloned sequence (using setMode()). - 5. Repeat steps 2 \u2013 4 and observe that the cloned sequences - do not run slow but run as fast, appearing to ignore the duration - that has been set on them. - - - - Looking at the \u2018good documentation\u2019 (2.4 source code), - I see that _start is being set to _now (osg::Sequence::setMode(), - line 192). Should this not _start not be set to -1.0?" - -2008-11-26 12:35 robert - - * CMakeLists.txt, CMakeModules/FindOpenEXR.cmake: Added searching - for OpenEXR - -2008-11-26 12:35 robert - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/exr, - src/osgPlugins/exr/CMakeLists.txt, - src/osgPlugins/exr/ReaderWriterEXR.cpp: From Ragnar Hammarqvist, - "I wrote an EXR image plug-in to osg, I would like to contribute - this plug-in to the osg project if you find it useful. - - The plug-in is a wrapper around open-exr (http://www.openexr.com) - that consists of two projects, ilmbase-1.0.1 and openexr-1.6.1. - - I have only tested it on windows XP 32 machine. So there might be - some work making it work on other platforms. - - The plug-in supports writing and reading EXR files. When writing - it can use the data type GL_HALF_FLOAT_ARB(se ilmbase-1.0.1) and - GL_FLOAT. When reading the data type always becomes - GL_HALF_FLOAT_ARB. It supports textures with three and four - channels. - - When reading an exr file it automatically removes Alfa channel if - it didn't store any information." - - -- - - From Robert Osfield, started work on ported it to other - platforms, but could fix some problems relating to error: - - ?Imf::OStream::OStream(const Imf::OStream&)? is private - - I'm checking in now so that others can have a bash at completing - the port. - -2008-11-26 12:07 robert - - * CMakeModules/FindCOLLADA.cmake, CMakeModules/FindGDAL.cmake: From - Gino van den Bergen, "The FindGDAL.cmake seems to be broken in - OSG 2.6.1 for locating gdal.h through enviroment variable - GDAL_DIR. - - Also, I've modified the FindCOLLADA.cmake to locate the current - 2.1 versions of the COLLADA DOM in the build directories under - VC8. I've also added a COLLADA_LIBRARY_DEBUG spec. Other flavors - may be added depending on compiler version and DOM version." - -2008-11-26 11:45 robert - - * src/osgPlugins/stl/ReaderWriterSTL.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp: From BjornHein, - "attached a proposal for an extension for the the stl-File - ReaderWriter. It allows saving of an osg node tree as stl file in - ASCII-Format. - - Standard is to generate one stl file. - - With an additional option it is possible to write one file per - Geode. This option is not very "useful" for typical application, - I use it for separating and conversion of geometric data. So it - could be removed if considered to special." - -2008-11-26 11:23 robert - - * examples/CMakeLists.txt, examples/osgautocapture, - examples/osgautocapture/CMakeLists.txt, - examples/osgautocapture/osgautocapture.cpp: From John Vidar - Larring, osgautocapture example that captures an image from a - paged database by frame loop to the paging is complete, then - takes a snapshot. - -2008-11-26 11:12 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Added - DatabasePager::getRequestsInProgress() that return true if there - are still tiles to load. - - Added DatabasePager::setTargetMaximumNumberOfPageLOD(..) that - sets the target number of PagedLOD to try and maintain - -2008-11-25 16:24 robert - - * include/osg/ref_ptr: From Piotr Rak, "added bool conversion for - ref_ptr, when no implicit conversion to T* is used." - -2008-11-25 15:57 robert - - * examples/osgpackeddepthstencil/osgpackeddepthstencil.cpp: Fix for - build with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION off - -2008-11-25 15:38 robert - - * include/osgAnimation/Timeline: Fixed build for when - OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION is off - -2008-11-25 14:40 robert - - * src/osgWrappers/osg/Uniform.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp: Updated wrappers - -2008-11-25 14:31 robert - - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp: From Joakim - Simmonsson, fix for handling of billboards in - FLATTEN_STATIC_TRANSFORMS_DUPLICATING_SHARED_SUBGRAPHS - -2008-11-25 14:15 robert - - * src/osgPlugins/osg/Uniform.cpp: Added support for unsigned int - uniforms - -2008-11-25 14:15 robert - - * include/osg/Uniform, src/osg/Uniform.cpp: From Ferdi Smit, added - support for unsigned int typed uniforms - -2008-11-25 13:45 robert - - * src/osgPlugins/x/types.cpp: From Urlich Hertlein, "Attached is a - patched version that replaces calls to atof() with - osg::asciiToFloat()." - -2008-11-25 12:22 robert - - * src/osgPlugins/bsp/VBSPGeometry.cpp, - src/osgPlugins/bsp/VBSPReader.cpp, - src/osgPlugins/bsp/VBSPReader.h: Fixed warning and some - unitialized variables. - -2008-11-25 11:09 robert - - * src/osgPlugins/dae/daeRMaterials.cpp: Fixed warning - -2008-11-25 10:57 robert - - * examples/osgpackeddepthstencil/osgpackeddepthstencil.cpp, - include/osg/FrameBufferObject, src/osg/Camera.cpp, - src/osgUtil/RenderStage.cpp: From Jaromir Vitek, "In attachment - are another fixes for using packed depth+stencil (PDS). - - * When used PDS RenderStage::runCameraSetUp sets flag that FBO - has already stencil,depth buffer attached. Prevents adding next - depth buffer. - * Sets correct traits for p-buffer if used PDS and something goes - wrong with FBO setup or p-buffer is used directly. - * Adds warning to camera if user add depth/stencil already - attached through PDS. - * Sets blitMask when use blit to resolve buffer. - - There is also new example with using multisampled FBO." - -2008-11-24 16:32 robert - - * CMakeLists.txt, include/osg/Export, src/osg/Config.in: From - Wojciech Lewandowski, "I have restored MSVC disabled warnings in - osg/Export. Difference is they are now disabled only when - OSG_DISABLE_MSVC_WARNINGS macro is defined. This macro is set - through CMake options and autogenerated in osg/Config. Simon - suggested that it would be cool if we had more control over - selected warnings. I tried to learn how to make selection of - individual warning numbers possible, but had to gave up as my - cmake skills were not sufficient. The only way I saw this - possible would be adding one define for each MSVC warning number. - But many definitions seemed too be to much clutter for osg/Config - file so I rejected thar idea. For this it would be cool if - autogenerated Config entries could more powerful than simple - #define/#undef flags. Maybe Cmake gurus know how to do it. - - I have not reverted added Compiler options. I assume that one may - want to have warnings enabled for the application but may not - want to see them while OSG libraries and examples compile. - - Modified files: - - osg/Export - now explicitly includes osg/Config to make sure - OSG_DISABLE_MSVC_WARNINGS is read - osg/Config.in - declares OSG_DISABLE_MSVC_WARNINGS flag to be - added to autogenerated osg/Config - CMakeLists.txt - declares OSG_DISABLE_MSVC_WARNINGS as option - with default ON setting - " - -2008-11-24 16:26 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Marco Jez, "The DDS - plugin currently prints too many NOTICE messages that, given - their nature and frequency, should really be demoted to INFO or - DEBUG severity. Fix is attached." - -2008-11-24 16:09 robert - - * include/osgAnimation/Timeline: From Alberto Luaces, removed - #include as it was cause a build problem under Cygwin. - -2008-11-24 16:02 robert - - * examples/osgsidebyside/osgsidebyside.cpp: Improved the set of the - master + slave cameras - -2008-11-24 15:27 robert - - * src/osgPlugins/dae/daeWriter.cpp: From Rolad Smeenk, "Forgot a - call to uniqify when generating an Id based on osg::Node name." - -2008-11-24 14:37 robert - - * examples/CMakeLists.txt, examples/osgsidebyside, - examples/osgsidebyside/CMakeLists.txt, - examples/osgsidebyside/osgsidebyside.cpp: From Roland Smeenk, - "This application can be used for testing plugins that can both - read and write a certain file format. It will display the - original file next to the written and reread file. - - Example: - osgsidebyside -o cow.dae cow.osg - - This example will read cow.osg, write cow.dae, read cow.dae and - display cow.osg on the left side and cow.dae on the right side of - the view. - - Possible interactions: - KEY_UP Speedup DOF animation - KEY_DOWN SlowDown DOF animation - KEY_RIGHT Toggle all MultiSwitches" - - -2008-11-24 14:26 robert - - * src/osgPlugins/dae/CMakeLists.txt, - src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeRSceneObjects.cpp, - src/osgPlugins/dae/daeRTransforms.cpp, - src/osgPlugins/dae/daeReader.cpp, src/osgPlugins/dae/daeReader.h, - src/osgPlugins/dae/daeWGeometry.cpp, - src/osgPlugins/dae/daeWMaterials.cpp, - src/osgPlugins/dae/daeWSceneObjects.cpp, - src/osgPlugins/dae/daeWTransforms.cpp, - src/osgPlugins/dae/daeWriter.cpp, src/osgPlugins/dae/daeWriter.h: - From Roland Smeenk, "Overview of the Collada/dae plugin changes - - New features - +Read and write of osg::LOD, osg::Switch, osgSim::Sequence, - osgim::MultiSwitch and osgSim::DOFTransform data in - +Read and write of osg::Node description data in - +Plugin option "NoExtras" to prevent writing of data and - only traverse the active children when saving - - Changes/additions - +instanced_geometry and instanced_controller are now loaded in a - single Geode with multiple Geometries instead of multiple geodes - with a single Geometry - +Changed all calls to the deprecated createAndPlace() to the new - add() methods - +All transformation elements , , , - , , are now concatenated properly in to a - single MatrixTransform. - Previously this was not done in order as required by Collada and - and not all elements were included. - +Complete skew matrix creation - +Automatically add GL_RESCALE_NORMAL if scale is non-identity - +Blinn shininess remapping to [0,128] when in range [0,1] - +Changes to CMake file to make it compile on Windows - +Coding style and code documentation - - Bug fixes - +Transparent texture writing fixed - +Fixed bug in using osg node name as collada node ID - +Fixed usage of double sided faces in GOOGLEEARTH extra - +Not adding blendfunc and blendcolor when opaque - - TODO/Wishlist - -solve differences in drawables, DAE reader should place multiple - collation elements into multiple primitivesets in a single - geometry where possible (only when same material) - -solve differences in matrices - -multitexture support - -skinned mesh and generic animations using osgAnimation - -profile_GLSL based on COLLADA OpenGL Effects Viewer - http://ati.amd.com/developer/rendermonkey/downloads.html - -handling more to more closely mimic the intended - lighting" - -2008-11-24 13:50 robert - - * src/osg/GLExtensions.cpp: Replaced usage atof to asciiToFloat. - -2008-11-24 13:19 robert - - * src/osg/GL2Extensions.cpp, src/osg/GLExtensions.cpp, - src/osg/TexEnvFilter.cpp, src/osg/Texture.cpp: Converted OpenGL - version number code to using osg::asciiToFloat to avoid issues - with conversion using locale senstive atof function - -2008-11-24 11:39 robert - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/bsp/CMakeLists.txt, - src/osgPlugins/bsp/Q3BSPLoad.cpp, src/osgPlugins/bsp/Q3BSPLoad.h, - src/osgPlugins/bsp/Q3BSPReader.cpp, - src/osgPlugins/bsp/Q3BSPReader.h, - src/osgPlugins/bsp/ReaderWriterBSP.cpp, - src/osgPlugins/bsp/ReaderWriterBSP.h, - src/osgPlugins/bsp/VBSPGeometry.cpp, - src/osgPlugins/bsp/VBSPGeometry.h, - src/osgPlugins/bsp/VBSPReader.cpp, - src/osgPlugins/bsp/VBSPReader.h, - src/osgPlugins/bsp/VBSP_README.txt: From Jason Daly, "This is a - plugin (two, actually) that will allow OSG to load .bsp map files - from Valve's Source Engine games (Half-Life 2, etc.). One plugin - (called "vbsp" to distinguish it from the Quake 3 bsp loader) - reads the .bsp file itself, and the other ("vtf") reads the - texture files. - - The set up for this to work is a bit more complex than most - files, since the engine expects all files to be in a certain - place, and it tends to mix case a lot. I tried to explain - everything in the VBSP_README.txt file." - - This plugin has been integrated with the pre-exisiting bsp - plugin. - -2008-11-24 10:28 robert - - * src/osgPlugins/bsp/BSPLoad.cpp, src/osgPlugins/bsp/BSPLoad.h, - src/osgPlugins/bsp/Q3BSPLoad.cpp, src/osgPlugins/bsp/Q3BSPLoad.h, - src/osgPlugins/bsp/ReaderWriterBSP.cpp, - src/osgPlugins/bsp/ReaderWriterBSP.h, - src/osgPlugins/bsp/ReaderWriterQ3BSP.cpp, - src/osgPlugins/bsp/ReaderWriterQ3BSP.h: Renamig of files in prep - of merge of valve bsp support - -2008-11-24 10:16 robert - - * src/osgViewer/GraphicsWindowX11.cpp: From Tim Moore, "the - GraphicsWindowX11 code was not correctly calling - GraphicsContext::resized when the window was not mapped with the - requested geometry." - -2008-11-24 10:13 robert - - * examples/osgvnc/osgvnc.cpp, src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers - -2008-11-23 17:28 robert - - * src/osgPlugins/vnc/ReaderWriterVNC.cpp: Added mechnism for - tracking when a VncImage is inactive or not. - -2008-11-23 15:51 robert - - * examples/osgbrowser/osgbrowser.cpp, include/osg/Image, - include/osgViewer/ViewerEventHandlers, - src/osgPlugins/gecko/ReaderWriterUBrowser.cpp, - src/osgPlugins/gecko/UBrowser.cpp, - src/osgPlugins/gecko/UBrowser.h, - src/osgViewer/ViewerEventHandlers.cpp: Added mechanism for - tracking when interactive images are being rendered to - enable their backends to only rendered them when they are - actively being rendered - in the OpenGL window. - -2008-11-23 11:35 robert - - * include/osg/Math, include/osgDB/Field, src/osg/CMakeLists.txt, - src/osg/Math.cpp, src/osgDB/Field.cpp: Introduce - osg::asciiToDouble/asciiToFloat function. - -2008-11-23 10:20 robert - - * src/osgPlugins/bmp/ReaderWriterBMP.cpp: From Ulrich Hertlein, "I - noticed some regression in the BMP loader - some 8-bit (paletted) - files wouldn't load anymore but simply crash. - - After taking a look at the current state of the BMP loader I - decided it might be worth a shot at reimplementing that part. For - example: the current loader doesn't properly handle 1- and 4-bit - files, incorrectly loads 16-bit files as intensity-alpha (they - are RGB555), is full of dead code, and generally not in very good - shape. - - Attached is my re-implementation for review. - - I've checked it against the test images from - http://wvnvaxa.wvnet.edu/vmswww/bmp.html and models that use BMP - files. - " - -2008-11-23 09:57 robert - - * include/osgAnimation/Timeline: From Paul Martz, added missing - export - -2008-11-22 14:30 robert - - * examples/CMakeLists.txt, src/CMakeLists.txt, - src/osgPlugins/CMakeLists.txt: Removed the optional build for - osgWidget and plugins as these are options that are appropriate - for building all the time - -2008-11-22 12:14 robert - - * examples/CMakeLists.txt, examples/osganimationmakepath, - examples/osganimationnode, examples/osganimationskinning, - examples/osganimationsolid, examples/osganimationtimeline, - examples/osganimationviewer, include/osgAnimation, - src/CMakeLists.txt, src/osgAnimation, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/osgAnimation: From - Cedric Pinson, Pulled in osgAnimation from - OpenSceneGraph-osgWidget-dev into svn/trunk. - -2008-11-21 18:16 robert - - * src/osgViewer/CompositeViewer.cpp: From Danny Valente, submitted - bu Jean-Sebastien Guay, "Some context: In the past I submitted a - fix to osgViewer::CompositeViewer where events would get wrong - input ranges. Later, you made a change to set the eventState's - current graphics context to the current graphics context. - However, there's a problem in the sequence of events. Here's the - recap (doing a graphical diff with the attached file will show - this clearly): - - Before: - - 1. if the camera is not a slave camera - 1.1 set the eventState's graphics context to the current context. - 2. if the current master view is not the view which has the focus - 2.1 set the current master view to be the view which has the - focus - 2.2 use the new master view's eventState instead of the old one - - Now as you can see from this sequence, the graphics context is - set on the eventState before switching to the view which has - focus (and thus using another eventState). So the new eventState, - in the case we need to switch views, will contain an old graphics - context, not the correct one. - - Just inversing these steps fixes the problem: - - 1. if the current master view is not the view which has the focus - 1.1 set the current master view to be the view which has the - focus - 1.2 use the new master view's eventState instead of the old one - 2. if the camera is not a slave camera - 2.1 set the eventState's graphics context to the current context. - - Now, the eventState will refer to the correct graphics context in - both cases. - - Attached is a fixed CompositeViewer.cpp (based on today's SVN) - which does this. Note that some other things are done in the 1. - and 2. cases, but they have no influence on each other so they - can just be swapped without problems. - " - -2008-11-21 17:44 robert - - * src/osgViewer/Renderer.cpp: Added handling of View::LightingMode - -2008-11-21 17:10 robert - - * src/osgPlugins/gecko/UBrowser.h: Build fix - -2008-11-21 16:09 robert - - * include/osgWidget/Browser, src/osgWidget/Browser.cpp: Added - exports - -2008-11-21 13:23 robert - - * src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/obj.cpp, src/osgPlugins/obj/obj.h: From David - Spilling, better support for multitexture in obj loader. - -2008-11-21 12:38 robert - - * examples/CMakeLists.txt, examples/osgpackeddepthstencil, - examples/osgpackeddepthstencil/CMakeLists.txt, - examples/osgpackeddepthstencil/osgpackeddepthstencil.cpp: From - Jaromir Vitek, osgpackeddepthstencil example as a test case. - -2008-11-21 12:31 robert - - * src/osgWrappers/osgParticle/ParticleSystemUpdater.cpp: Updated - wrappers - -2008-11-21 12:30 robert - - * include/osgParticle/ParticleSystemUpdater, - src/osgParticle/ParticleSystemUpdater.cpp: Made the - ParticleSystemUpdate::addParticleSystem, removeParticleSystem, - replaceParticleSystem and setParticleSystem methods all virtual - to allow them to be overriden. - -2008-11-21 12:15 robert - - * src/osgDB/FileUtils.cpp, src/osgViewer/GraphicsWindowWin32.cpp: - From Mario Valle, "Attached two small correction to remove the - following warnings from MINGW build." - -2008-11-21 12:10 robert - - * include/osgDB/ReaderWriter: From Jason Beverage, "The _pluginData - member variable is not properly copied when using the copy - constructor for ReaderWriter::Options." - -2008-11-21 12:05 robert - - * src/osgPlugins/ive/DataInputStream.cpp: From Joakim Simonsson, - fixed warning. - -2008-11-21 11:52 robert - - * src/osgUtil/Tessellator.cpp: From Gordon Tomlinson, "Find - enclosed fix for a leak in the Tessellator::reset(), were the new - verts were not being deleted, only the container was - - We have confirmed the leak while running things through Purify," - - Small code tweaks by Robert Osfield to streamline the code. - -2008-11-21 11:27 robert - - * src/osgWrappers/osg/DisplaySettings.cpp, - src/osgWrappers/osgManipulator/AntiSquish.cpp, - src/osgWrappers/osgManipulator/Command.cpp, - src/osgWrappers/osgManipulator/Dragger.cpp, - src/osgWrappers/osgManipulator/Projector.cpp, - src/osgWrappers/osgManipulator/Scale1DDragger.cpp, - src/osgWrappers/osgManipulator/Scale2DDragger.cpp, - src/osgWrappers/osgManipulator/Translate1DDragger.cpp: Updated - wrappers - -2008-11-21 11:23 robert - - * include/osgManipulator/AntiSquish, - include/osgManipulator/Command, include/osgManipulator/Dragger, - include/osgManipulator/Projector, - include/osgManipulator/RotateCylinderDragger, - include/osgManipulator/RotateSphereDragger, - include/osgManipulator/Scale1DDragger, - include/osgManipulator/Scale2DDragger, - include/osgManipulator/Translate1DDragger, - include/osgManipulator/Translate2DDragger, - src/osgManipulator/AntiSquish.cpp, - src/osgManipulator/Command.cpp, - src/osgManipulator/Constraint.cpp, - src/osgManipulator/Dragger.cpp, src/osgManipulator/Projector.cpp, - src/osgManipulator/RotateCylinderDragger.cpp, - src/osgManipulator/RotateSphereDragger.cpp, - src/osgManipulator/Scale1DDragger.cpp, - src/osgManipulator/Scale2DDragger.cpp, - src/osgManipulator/Translate1DDragger.cpp, - src/osgManipulator/Translate2DDragger.cpp: From Serge Lages, - "Here you can find some modifications to osgManipulator to work - with double values instead of floats. Indeed I faced problems - with the osgManipulator library when working with Earth based - scenes, it was impossible to drag objects in a precise way if - they were too far from the center of the scene." - -2008-11-21 11:09 robert - - * include/osgManipulator/AntiSquish, - include/osgManipulator/Command, include/osgManipulator/Projector, - include/osgManipulator/RotateCylinderDragger, - include/osgManipulator/RotateSphereDragger, - include/osgManipulator/Scale1DDragger, - include/osgManipulator/Scale2DDragger, - include/osgManipulator/ScaleAxisDragger, - include/osgManipulator/Selection, - include/osgManipulator/Translate1DDragger, - include/osgManipulator/Translate2DDragger, - include/osgManipulator/TranslateAxisDragger, - src/osgManipulator/Command.cpp, - src/osgManipulator/RotateCylinderDragger.cpp, - src/osgManipulator/RotateSphereDragger.cpp, - src/osgManipulator/Scale1DDragger.cpp, - src/osgManipulator/Scale2DDragger.cpp, - src/osgManipulator/TabPlaneDragger.cpp, - src/osgManipulator/Translate2DDragger.cpp: Replaced tabs - -2008-11-21 10:27 robert - - * src/osgViewer/StatsHandler.cpp: Added handling of case when there - is so scene graph attached to a view. - -2008-11-20 17:27 robert - - * src/osgPlugins/Inventor/ConvertFromInventor.cpp: From Jim - Vaughan, "I found a bug in the code I sent you last month. It was - working for SoVRMLTransform nodes, but - SOTransform nodes are not in the IV scenegraph the way I thought - they were. The attached file - contains a fix for this." - -2008-11-20 13:07 robert - - * src/osgPlugins/gecko/CMakeLists.txt, - src/osgPlugins/gecko/ReaderWriterUBrowser.cpp: Added readNodeFile - support the gecko plugin. - -2008-11-20 12:03 robert - - * include/osg/DisplaySettings, src/osg/DisplaySettings.cpp: Added - DisplaySettings::s/getApplication() to help with gecko plugin - initialization when it requires the application name - -2008-11-20 11:47 robert - - * src/osgWrappers/osgWidget/Browser.cpp: Updated wrappers - -2008-11-20 11:28 robert - - * examples/CMakeLists.txt, examples/osgbrowser/CMakeLists.txt, - examples/osgbrowser/ReaderWriterUBrowser.cpp, - examples/osgbrowser/UBrowser.cpp, examples/osgbrowser/UBrowser.h, - examples/osgbrowser/llembeddedbrowser.cpp, - examples/osgbrowser/llembeddedbrowser.h, - examples/osgbrowser/llembeddedbrowserwindow.cpp, - examples/osgbrowser/llembeddedbrowserwindow.h, - examples/osgbrowser/llmozlib2.cpp, - examples/osgbrowser/llmozlib2.h, - examples/osgbrowser/nsProfileDirServiceProvider.cpp, - examples/osgbrowser/nsProfileDirServiceProvider.h, - examples/osgbrowser/nsProfileLock.h, - examples/osgbrowser/nsProfileStringTypes.h, - examples/osgbrowser/osgbrowser.cpp, include/osgWidget/Browser, - src/osgWidget/Browser.cpp: Clean up osgbrowser after moving - browser implementation into gecko plugin - -2008-11-20 11:27 robert - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/gecko, - src/osgPlugins/gecko/CMakeLists.txt, - src/osgPlugins/gecko/ReaderWriterUBrowser.cpp, - src/osgPlugins/gecko/UBrowser.cpp, - src/osgPlugins/gecko/UBrowser.h, - src/osgPlugins/gecko/llembeddedbrowser.cpp, - src/osgPlugins/gecko/llembeddedbrowser.h, - src/osgPlugins/gecko/llembeddedbrowserwindow.cpp, - src/osgPlugins/gecko/llembeddedbrowserwindow.h, - src/osgPlugins/gecko/llmozlib2.cpp, - src/osgPlugins/gecko/llmozlib2.h, - src/osgPlugins/gecko/nsProfileDirServiceProvider.cpp, - src/osgPlugins/gecko/nsProfileDirServiceProvider.h, - src/osgPlugins/gecko/nsProfileLock.h, - src/osgPlugins/gecko/nsProfileStringTypes.h: Moved browser code - from osgbrowser example into gecko plugin to make the browser - functionality accessible to other OSG applications - -2008-11-19 20:34 robert - - * include/osgViewer/ViewerBase: Reverted Kyle Centers mistaken - patch that removed a _currentContext->valid() that was actually - required. - -2008-11-19 17:16 robert - - * examples/osgbrowser/Browser.cpp, examples/osgbrowser/Browser.h, - examples/osgbrowser/CMakeLists.txt, - examples/osgbrowser/UBrowser.h, - examples/osgwidgetmenu/CMakeLists.txt, include/osgWidget/Browser, - src/osgWidget/Browser.cpp, src/osgWidget/CMakeLists.txt: Moved - Browser.h and Browser.cpp from osgbrowser into osgWidget. - -2008-11-19 17:04 robert - - * CMakeModules/FindXUL.cmake: Added XUL_DIR searching +Tue, 4 Dec 2012 18:21:53 +0000 +Checked in by : Robert Osfield +Tidied up CaptureSettings and added command line docs -2008-11-19 17:02 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 + - * examples/osgbrowser/UBrowser.cpp: Fixed component directory path - handling. -2008-11-19 16:58 robert - * examples/osgbrowser/Browser.cpp, examples/osgbrowser/Browser.h, - examples/osgbrowser/CMakeLists.txt, - examples/osgbrowser/ReaderWriterUBrowser.cpp, - examples/osgbrowser/UBrowser.cpp, examples/osgbrowser/UBrowser.h, - examples/osgbrowser/osgbrowser.cpp: Refactored browser classes so - that there is now a base class and reader writer. +Tue, 4 Dec 2012 09:11:17 +0000 +Checked in by : Robert Osfield +Added missing break; -2008-11-18 23:38 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." - * CMakeLists.txt, CMakeModules/FindXUL.cmake, - examples/CMakeLists.txt, examples/osgbrowser/CMakeLists.txt, - src/osgWrappers/osg/GraphicsThread.cpp: Changed osgbrowser - example to use a local CMakeModules/FindXUL.cmake script, - and specialization of GTK dependencies to only non Windows/OSX - platforms. -2008-11-18 17:20 robert - * examples/osgbrowser/llembeddedbrowserwindow.cpp, - examples/osgbrowser/osgbrowser.cpp: Removed debug output +Mon, 3 Dec 2012 11:31:13 +0000 +Checked in by : Robert Osfield +Renamed souce file -2008-11-18 15:18 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." - * include/osg/GraphicsThread: Added optional bool keep to - BarrierOperation to make it more resuable +Mon, 3 Dec 2012 09:50:41 +0000 +Checked in by : Robert Osfield +Fixed error in Unfiform set method -2008-11-18 14:46 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 - * examples/osgbrowser/osgbrowser.cpp: Moved update functionality - into from UBrowserImage into update. +Sun, 2 Dec 2012 11:45:57 +0000 +Checked in by : Robert Osfield +From Wang Rui, build fix -2008-11-18 13:36 robert +Fri, 30 Nov 2012 20:03:31 +0000 +Checked in by : Robert Osfield +Fixed crash when no CameraManipulator is assigned to the viewer - * examples/osgbrowser/osgbrowser.cpp: Added support for running all - ubrowser operataions in a background thread. - -2008-11-17 19:15 robert - - * examples/osgbrowser/osgbrowser.cpp: Fixed key mapping - -2008-11-17 17:58 robert - - * examples/osgbrowser/osgbrowser.cpp: Refactored the UBrowser - functionality so a UBrowserThread singlton class takes - over more responsibility of integratation with llmozlib. +Fri, 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. -2008-11-17 15:53 robert +Fri, 30 Nov 2012 15:43:31 +0000 +Checked in by : Robert Osfield +Added support for pausing and restart the property_animation. - * examples/CMakeLists.txt, examples/osgbrowser/CMakeLists.txt: - Removed dependency on GLUT. +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" + -2008-11-17 15:49 robert - * examples/osgbrowser/osgbrowser.cpp: Ported example to using OSG - objects for rendering rather than GLUT -2008-11-17 10:36 robert +Wed, 28 Nov 2012 13:28:20 +0000 +Checked in by : Robert Osfield +From Stephan Huber, New OscSendingDevice and OscReceivingDevice classes - * examples/osgbrowser/CMakeLists.txt, - examples/osgbrowser/llembeddedbrowser.cpp, - examples/osgbrowser/llembeddedbrowser.h, - examples/osgbrowser/llembeddedbrowserwindow.cpp, - examples/osgbrowser/llembeddedbrowserwindow.h, - examples/osgbrowser/llmozlib2.cpp, - examples/osgbrowser/llmozlib2.h, - examples/osgbrowser/nsProfileDirServiceProvider.cpp, - examples/osgbrowser/nsProfileDirServiceProvider.h, - examples/osgbrowser/nsProfileLock.h, - examples/osgbrowser/nsProfileStringTypes.h, - examples/osgbrowser/osgbrowser.cpp: Introduced xulrunner - extensions from llmozlib2, and got things working under linux +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. -2008-11-14 20:50 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 - * CMakeLists.txt, src/osgDB/CMakeLists.txt: From Philip Lowman, "If - you change CMAKE_INSTALL_PREFIX in the cache editor after - building the OSG, it causes the entire project to rebuild (at - least with the CMake makefile generator due to changing - preprocessor definitions applied across all targets). - - I suggest moving the definition of OSG_DEFAULT_LIBRARY_PATH - (which is responsible for this global rebuild) into - osgDB/CMakeLists.txt which is the only library in the code where - this definition is (and is likely ever to be) used. This way if - the user changes it, only osgDB will rebuild." +Tue, 27 Nov 2012 15:09:44 +0000 +Checked in by : Robert Osfield +Added preliminary support for -2008-11-14 20:31 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. " - * include/osgDB/ConvertUTF: Added definition of std::wstring as a - work around to a lack of wstring under Cygwin. +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 -2008-11-14 18:22 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 - * CMakeLists.txt, include/osg/Export: From Simon Hammett, moved VS - #prgama warning disabling from include/osg/Export to - CMakeList.txt. +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. -2008-11-14 18:15 robert +Wed, 21 Nov 2012 15:19:58 +0000 +Checked in by : Robert Osfield +From Stephan Huber, further work on osc plugin - * src/osgPlugins/cfg/CameraConfig.cpp: Removed reduncent #includes +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 -2008-11-14 17:03 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 - * CMakeLists.txt, include/osgViewer/api/Win32/GraphicsWindowWin32, - src/osgViewer/CMakeLists.txt, - src/osgViewer/GraphicsWindowWin32.cpp: From Wojciech Lewandowski, - "Attached are modifications to GraphicsWindowWin32. By default - workaround is - set to off. But could be activated/decativated via CMake as well - as system - environment variable. I also modified - src\osgViewer\CMakeLists.txt to turn - off this workaround by default as suggested." +Tue, 20 Nov 2012 18:41:30 +0000 +Checked in by : Robert Osfield +From Paul Martz, fix for Windows build -2008-11-14 16:54 robert +Tue, 20 Nov 2012 13:01:57 +0000 +Checked in by : Robert Osfield +From Stephan Huber, added missing windows dependency - * examples/CMakeLists.txt: Added GTK and GLUT guards to osgbrowser - include +Tue, 20 Nov 2012 10:37:42 +0000 +Checked in by : Robert Osfield +Added ws2_32 library to Win32 build -2008-11-14 16:48 robert +Mon, 19 Nov 2012 11:25:52 +0000 +Checked in by : Robert Osfield +From Paul Martz, build fixes - * examples/osgbrowser/CMakeLists.txt, - examples/osgbrowser/llembeddedbrowser.cpp, - examples/osgbrowser/llembeddedbrowserwindow.cpp, - examples/osgbrowser/llembeddedbrowserwindow.h, - examples/osgbrowser/llmozlib2.cpp, - examples/osgbrowser/osgbrowser.cpp: Further work on experiment - llmozlib/geko based embedded web browser +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. -2008-11-13 15:35 robert +Fri, 16 Nov 2012 15:40:41 +0000 +Checked in by : Robert Osfield +Added first cut implememtation of PropertyAnimation class - * CMakeLists.txt, examples/CMakeLists.txt, examples/osgbrowser, - examples/osgbrowser/CMakeLists.txt, - examples/osgbrowser/llembeddedbrowser.cpp, - examples/osgbrowser/llembeddedbrowser.h, - examples/osgbrowser/llembeddedbrowserwindow.cpp, - examples/osgbrowser/llembeddedbrowserwindow.h, - examples/osgbrowser/llmozlib2.cpp, - examples/osgbrowser/llmozlib2.h, - examples/osgbrowser/osgbrowser.cpp: An "attempt" at using - LLMozLib sources as a base for a gecko based embedded browser. +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. -2008-11-13 10:49 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". - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Updated version number in - prep for 2.5.6 dev release +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. -2008-11-12 22:54 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. - * CMakeLists.txt, examples/osgpdf/CMakeLists.txt: Moved - Poppler-glib check into root CMakeList.txt +Tue, 13 Nov 2012 13:52:33 +0000 +Checked in by : Robert Osfield +From Stephan Huber, fixed warning -2008-11-12 14:57 robert +Tue, 13 Nov 2012 13:32:01 +0000 +Checked in by : Robert Osfield +Changed COLOUR to COLOR to be consistent with OpenGL spelling - * examples/osgpdf/osgpdf.cpp: Improved filepath handling, and - increased the image resolution for better rendering quality +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 -2008-11-12 14:21 robert +Tue, 13 Nov 2012 11:45:20 +0000 +Checked in by : Robert Osfield +Added first step to adding pruning of expired image requests. - * examples/CMakeLists.txt, examples/osgpdf, - examples/osgpdf/CMakeLists.txt, examples/osgpdf/osgpdf.cpp: - Introduced new osgpdf example that use Cario + Poppler libraries - to provide a means of rendering a pdf document to an osg::Image. +Tue, 13 Nov 2012 11:20:36 +0000 +Checked in by : Robert Osfield +From Stephan Huber, introduced syncornization of osgGA::Device -2008-11-12 14:20 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. - * src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp: Updated wrappers +Mon, 12 Nov 2012 15:26:30 +0000 +Checked in by : Robert Osfield +Added osgframerenderer example -2008-11-12 10:30 robert +Mon, 12 Nov 2012 10:36:21 +0000 +Checked in by : Robert Osfield +Changed the default settings to fix a jump problems - * examples/osgmemorytest/osgmemorytest.cpp: Added - osgViewerGetVersion() into context creation code as a means of - forcing windows to link in osgViewer properly. +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 -2008-11-11 17:59 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. - * examples/osgmemorytest/osgmemorytest.cpp: Improved naming +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. -2008-11-11 17:30 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. - * examples/osgmemorytest/osgmemorytest.cpp: Tweaked comment +I attached fix for this issue." -2008-11-11 17:29 robert - * examples/osgmemorytest/osgmemorytest.cpp: Added default fallback - of a window context is none is otherwise specified. -2008-11-11 16:59 robert +Thu, 8 Nov 2012 15:45:23 +0000 +Checked in by : Robert Osfield +Added support for - * examples/osgmemorytest/osgmemorytest.cpp: Added command line - argument docs and support for -h/--help command line options +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. -2008-11-11 16:59 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. - * src/osg/ArgumentParser.cpp: Removed the redundent prepending of - application name. +Thu, 8 Nov 2012 11:19:31 +0000 +Checked in by : Robert Osfield +Refactored ImageSequence to better handle random access usage. -2008-11-11 16:21 robert +Tue, 6 Nov 2012 17:49:32 +0000 +Checked in by : Robert Osfield +Tweaked casts/types to fix build under Linux - * examples/osgmemorytest/osgmemorytest.cpp: Added timing stats +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 -2008-11-11 16:13 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 - * examples/osgmemorytest/osgmemorytest.cpp: Added --geometry, - --geometry-vbo and --geometry-va command line options and - associated geometry test codes +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)" -2008-11-11 15:00 robert +Mon, 5 Nov 2012 12:21:34 +0000 +Checked in by : Robert Osfield +Quitened down debug output - * examples/osgmemorytest/osgmemorytest.cpp: Added --delay - option that is run between each OpenGL object - apply, defaults to 0 +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 -2008-11-11 12:50 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 - * examples/osgmemorytest/osgmemorytest.cpp: Added support for fbo - testing. +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. -2008-11-10 20:06 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." - * examples/CMakeLists.txt, examples/osgmemorytest, - examples/osgmemorytest/CMakeLists.txt, - examples/osgmemorytest/osgmemorytest.cpp: First cut of - osgmemorytest example that is written to allocate many - windows/pbuffer/GL objects as test of how many objects can be - allocated on a machine. -2008-11-10 13:56 robert - * src/osgPlugins/CMakeLists.txt: Added commented out flt entry for - compiling the old deprecated flight plugin (useful for testing - purposes). -2008-11-10 13:48 robert +Thu, 1 Nov 2012 16:11:13 +0000 +Checked in by : Robert Osfield +Changed the PropertyEventCallback to only respond to mouse releated events. - * src/osgPlugins/OpenFlight/FltExportVisitor.cpp, - src/osgPlugins/OpenFlight/FltExportVisitor.h: Fix to traversal of - children of an LOD - based on a suggestion from Katharina Plugge. +Thu, 1 Nov 2012 14:29:26 +0000 +Checked in by : Robert Osfield -2008-11-09 11:56 robert - * examples/osgprerender/osgprerender.cpp, - src/osgPlugins/ive/Camera.cpp, src/osgPlugins/ive/IveVersion.h, - src/osgPlugins/osg/Camera.cpp: Added support for - Camera::PACKED_DEPTH_STENCIL_BUFFER to .osg and .ive formats +Wed, 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. -2008-11-09 11:55 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 - * include/osg/Camera, include/osg/FrameBufferObject, - src/osg/FrameBufferObject.cpp: From Jaromir Vitek, "patch - contains extension to fbo and camera. Camera can attach new - render buffer for depth and stencil logical buffer in packed - form." +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. -2008-11-08 17:53 robert +Mon, 29 Oct 2012 15:58:02 +0000 +Checked in by : Robert Osfield +Intial work towards support an interaction tag in Present3D. - * examples/osgrobot/osgrobot.cpp: From Jean-Sebastien Guay, - replaced M_PI with osg::PI. +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" -2008-11-07 18:02 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 - * AUTHORS.txt, ChangeLog: Updated ChangeLog for 2.7.5 release +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. -2008-11-07 17:40 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. - * src/osgViewer/ViewerBase.cpp: From Csaba Halasz, fix for hang - when running in CullThreadPerCameraDrawThreadPerContext threading - model. - -2008-11-07 17:23 robert - - * include/osgViewer/Renderer, src/osgViewer/Renderer.cpp: Fixed - typo +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. -2008-11-07 17:07 robert - - * include/osgDB/ConvertUTF: Fixed build under gcc 4.3.2 - -2008-11-07 16:26 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/osgversion.cpp: - Updated ChangeLog and version number for 2.7.5 release - -2008-11-07 16:14 robert - - * src/osgWrappers/genwrapper.conf: Removed fstream for wrapper due - to problems with wrapping. - -2008-11-07 16:03 robert - - * src/osgWrappers/osgDB/fstream.cpp: Removed due to problems with - build - -2008-11-07 15:38 robert - - * src/osgWrappers/osgDB/fstream.cpp: Updated wrappers - -2008-11-07 15:08 robert - - * CMakeLists.txt, applications/osgversion/CMakeLists.txt, - applications/osgversion/osgversion.cpp, - examples/osg2cpp/osg2cpp.cpp, - examples/osgdepthpeeling/Utility.cpp, - examples/osglauncher/osglauncher.cpp, - examples/osgphotoalbum/PhotoArchive.cpp, - examples/osgsimulation/osgsimulation.cpp, - examples/osgstereoimage/osgstereoimage.cpp, - examples/osgterrain/osgterrain.cpp, - examples/osgunittests/UnitTestFramework.h, - examples/osgvolume/osgvolume.cpp, include/osgDB/ConvertUTF, - include/osgDB/FileUtils, include/osgDB/Output, - include/osgDB/fstream, include/osgViewer/ViewerEventHandlers, - src/osg/Config.in, src/osgDB/CMakeLists.txt, - src/osgDB/ConvertUTF.cpp, src/osgDB/FileUtils.cpp, - src/osgDB/Output.cpp, src/osgDB/Registry.cpp, - src/osgDB/fstream.cpp, src/osgGA/AnimationPathManipulator.cpp, - src/osgPlugins/3dc/ReaderWriter3DC.cpp, - src/osgPlugins/3ds/file.cpp, - src/osgPlugins/OpenFlight/FltExportVisitor.cpp, - src/osgPlugins/OpenFlight/FltExportVisitor.h, - src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/OpenFlight/VertexPaletteManager.cpp, - src/osgPlugins/OpenFlight/VertexPaletteManager.h, - src/osgPlugins/ac/ac3d.cpp, - src/osgPlugins/bmp/ReaderWriterBMP.cpp, - src/osgPlugins/cfg/CameraConfig.cpp, - src/osgPlugins/cfg/CameraConfig.h, - src/osgPlugins/cfg/ConfigParser.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/dxf/dxfReader.h, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/glsl/ReaderWriterGLSL.cpp, - src/osgPlugins/hdr/ReaderWriterHDR.cpp, - src/osgPlugins/hdr/hdrloader.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/lwo/Converter.cpp, src/osgPlugins/lwo/old_Lwo2.h, - src/osgPlugins/lwo/old_lw.cpp, - src/osgPlugins/lws/SceneLoader.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/obj.cpp, - src/osgPlugins/osg/FragmentProgram.cpp, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osg/VertexProgram.cpp, - src/osgPlugins/osgTerrain/ReaderWriterOsgTerrain.cpp, - src/osgPlugins/osgViewer/ReaderWriterOsgViewer.cpp, - src/osgPlugins/osga/OSGA_Archive.h, - src/osgPlugins/pic/ReaderWriterPIC.cpp, - src/osgPlugins/pnm/ReaderWriterPNM.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp, - src/osgPlugins/shp/ESRIShapeReaderWriter.cpp, - src/osgPlugins/stl/ReaderWriterSTL.cpp, - src/osgPlugins/tga/ReaderWriterTGA.cpp, - src/osgPlugins/txf/ReaderWriterTXF.cpp, - src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/txp/trpage_print.cpp, - src/osgPlugins/txp/trpage_rarchive.cpp, - src/osgPlugins/txp/trpage_readbuf.cpp, - src/osgPlugins/txp/trpage_warchive.cpp, - src/osgPlugins/txp/trpage_writebuf.cpp, - src/osgPlugins/x/directx.cpp, - src/osgViewer/ViewerEventHandlers.cpp, src/osgWidget/Python.cpp: - From Michael Platings, Converted std::fstream/ifstream/ofstream - to osgDB::fstream/ifstream/ofstream and - fopen to osgDB::fopen to facilitate support for wide character - filenames using UT8 encoding. - -2008-11-07 15:01 robert - - * src/osgPlugins/txp/trpage_rarchive.cpp, - src/osgPlugins/txp/trpage_readbuf.cpp, - src/osgPlugins/txp/trpage_warchive.cpp, - src/osgPlugins/txp/trpage_writebuf.cpp: Converted tabs to four - spaces - -2008-11-07 13:18 robert - - * include/osg/ConvexPlanarPolygon: From Tim Moore, removed - redundent forward declartion of BoundingBox and BoundingSphere - -2008-11-07 10:23 robert - - * include/osgViewer/api/Carbon/GraphicsWindowCarbon, - src/osgViewer/GraphicsWindowCarbon.cpp: From Martins Innus, "Here - is a fix to add requestWarpPointer for OS X. It seems to work for - me, I just took what osgProducer had. These are updated files to - 2.7.3" - -2008-11-06 16:48 robert - - * src/osgShadow/StandardShadowMap.cpp: Changed to using stdio.h. - -2008-11-06 14:56 robert - - * src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers - -2008-11-06 14:46 robert - - * include/osg/FrameBufferObject, src/osg/FrameBufferObject.cpp: - Fixed constness of getTexture/getRenderBuffer() const and added - non cost version. - -2008-11-06 14:29 robert - - * include/osg/FrameBufferObject, src/osg/FrameBufferObject.cpp: - From Michael Platings, "I've added functions to get the - texture, renderbuffer and other properties from a - FrameBufferAttachment." - -2008-11-06 14:17 robert - - * include/osgViewer/ViewerBase: From Kyle Centers, removed - redundent check to _currentContext.valid(). - -2008-11-06 14:04 robert - - * include/osgShadow/DebugShadowMap, - include/osgShadow/MinimalCullBoundsShadowMap, - include/osgShadow/MinimalDrawBoundsShadowMap, - include/osgShadow/MinimalShadowMap, - include/osgShadow/ProjectionShadowMap, - include/osgShadow/StandardShadowMap, - include/osgShadow/ViewDependentShadowTechnique: From Csaba - Halasz, adding missing export directives +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. +" -2008-11-06 13:57 robert - * src/osgViewer/CompositeViewer.cpp: From Thomas Wedner, "use - osgViewer::CompositeViewer with several views. All views share - parts of their scene graphs. Within these common part some nodes - have - event handlers which use the action adapter argument to the event - handler to determinate which view received the event. - Here is the problem, osgViewer::CompositeViewer::eventTraversal - sets - the action adapter field in the EventVisitor always to the last - view - which received an event, instead of using the view which actually - received the event, so determination of the correct view does not - work. - I looked at the code a bit, and moved the code for setting the - action - adapter to a IMO better place" -2008-11-06 13:40 robert +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. - * examples/CMakeLists.txt: From Ulrich Hertleinm "cmake 2.6 is - having trouble on Mac OS X because example/CMakeLists.txt addes - subdirectory osgviewerGLUT twice. I took the liberty to remove - the second occurrence. - " +Added support for osgGA::Device to osgViewer. -2008-11-06 13:38 robert +Added sdl plugin to provides very basic joystick osgGA::Device integration. - * src/osgUtil/IntersectionVisitor.cpp: Fixed - IntersectionVisitor::accept(Camera) handling of relative Cameras. -2008-11-06 13:36 robert - * examples/osgpick/osgpick.cpp: From Chris Denham, added transform - to cube to test picking fixes -2008-11-05 16:06 robert - * examples/osgmovie/osgmovie.cpp: Removed redundent static - ImageStream pointer +Mon, 22 Oct 2012 16:21:04 +0000 +Checked in by : Robert Osfield +Added mutex lock to Uniform::addParent()/removeParent(). -2008-11-05 15:59 robert +Fri, 12 Oct 2012 14:51:08 +0000 +Checked in by : Robert Osfield +Added serializers for osgGA - * examples/osgvolume/osgvolume.cpp: Added --no-rescale, --rescale - (default) and --shift-min-to-zero command line options for - controlling how the pixel data is managed. +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 -2008-11-05 15:04 robert +Tue, 9 Oct 2012 16:05:50 +0000 +Checked in by : Robert Osfield +From Wang Rui, "I modified the Serializer header to add a UPDATE_TO_VERSION_SCOPED macro, which could set version within brackets and reset it after that. All related serializers are also modified so that the backward-compatibility bug reported by Farshid can be fixed. "From Robert Osfield, removed the use of osg::Referenced and creating the proxy object on the heap. - * examples/osgvolume/osgvolume.cpp: Added - --replace-rgb-with-luminance option -2008-11-05 15:04 robert - * src/osgVolume/ImageUtils.cpp: Added support for different pixel - formats and datatypes in copyImage() method +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. :-)" -2008-11-05 11:56 robert +Mon, 8 Oct 2012 16:12:59 +0000 +Checked in by : Robert Osfield +Added a static_cast to avoid build issues under Windows - * src/osg/ArgumentParser.cpp, src/osg/DisplaySettings.cpp: Fixed - return value of ArgumentParser::find() for when the search string - is not found, the correct value is now -1. +Mon, 8 Oct 2012 16:03:16 +0000 +Checked in by : Robert Osfield +Fixed warning -2008-11-05 10:29 robert +Mon, 8 Oct 2012 15:10:56 +0000 +Checked in by : Robert Osfield +From Aurelein Albert, "Under some Visual Studio configuration, I get compile error on "lib3ds_io.c" due to use of these kind of conversion : b[1] = uint8_t((w & 0xFF00) >> 8); - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Added extra data - types info to debug message +I replaced it with : -2008-11-05 10:27 robert + b[1] = (uint8_t)((w & 0xFF00) >> 8); - * src/OpenThreads/pthreads/PThread.c++: Added Thread::Init() to - CurrentThread +And it compiles fine +" -2008-11-04 16:31 robert - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Compiled fix for gcc - 4.3.2 -2008-11-04 12:57 robert +Mon, 8 Oct 2012 12:00:53 +0000 +Checked in by : Robert Osfield +From Gill Peacegood, "In the attached file I have changed the colour space used for writing images to match the one used for reading images. Also this color space does not make subtle changes to the original colours which i think is probably what most people intend when writing an image and is more consistent with other plugins.The effect is that an image that is written does not have a noticeably different colour when it is read back." - * examples/osgvolume/osgvolume.cpp: Fixed --images commandline - parsing -2008-11-03 16:55 robert - * src/osgPlugins/vnc/ReaderWriterVNC.cpp: Added GPL copyright - notice +Mon, 8 Oct 2012 11:54:40 +0000 +Checked in by : Robert Osfield +From Oren Fromberg, "" --This line, and thosAttached is an update to ReaderWriterDAE.cpp/h and daeReader.cpp/h that implementsosgDB::ReaderWriter::ReadResult -2008-11-03 16:31 robert +ReaderWriterDAE::readNode (std::istream&, const osgDB::ReaderWriter::Options*) - * src/osgViewer/ViewerEventHandlers.cpp: Added handling of texture - matrices and texture rectangles in InteractiveImageHandler +This virtual function had never been implemented in ReaderWriterDAE. I implemented this function because the DAE plugin could not load files from other ReaderWriter derived objects that use protocol handlers. -2008-11-03 15:58 robert +I have updated function declarations in the header to have identical signatures with the base class declarations that include the default parameter. - * examples/osgvnc/CMakeLists.txt, examples/osgvnc/osgvnc.cpp: - Refactored osgvnc example to utilise the new vnc plugin -2008-11-03 15:57 robert +readNode (std::istream&, …) is nearly identical to readNode(const std::string &, …) except it uses a new private function to convert the file from standard input: - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/vnc, - src/osgPlugins/vnc/CMakeLists.txt, - src/osgPlugins/vnc/ReaderWriterVNC.cpp: Added vnc plugin. +bool daeReader::convert( std::istream& fin ) -2008-11-03 15:08 robert +When this function is called fileURI is the string “from std::istream” to make the user aware where the file is coming from. Then instead of calling - * include/osg/Image, include/osgViewer/ViewerEventHandlers, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp, - src/osgViewer/ViewerEventHandlers.cpp: Added sendPointerEvent and - sendKeyEvent virtual methods to osg::Image to - facilitate the subclassing of Image providing interactive - behaviours so as - used in the vnc interactive VncImage class. - - osgViewer::InteractiveImageHandler provides an event handler that - convertes osgGA - mouse and keyboard events into the coordinate frame of an image - based on ray intersection with geometry in - the associated subgraph. - - Changed the ordering of events processing in Viewer and - CompositeViewer to allow - scene graph event handlers to take precidence over viewer event - handlers and camera manipulators +_dae->open(fileURI) -2008-11-03 15:03 robert +we call - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Changed version number to - 2.7.5 in prep for dev release +_dae->openFromMemory(fileURI, buffer.data()) -2008-11-03 10:17 robert +Where buffer.data() is a pointer to the dae file text in memory. - * src/osgPlugins/tiff/CMakeLists.txt: Changed Tiff plugin to link - to TIFF_LIBRARIES to handle case where JPEG and ZLIB are - dependencies. -2008-10-31 16:48 robert +Other changes include private functions to clear caches and to consolidate redundant code that appears between the two convert functions. - * examples/osgvnc/osgvnc.cpp: Wrapped up the various client - streaming methods + thread into VncImage classes. -2008-10-31 13:59 robert +e below, will be ignored-- - * examples/osgvnc/CMakeLists.txt, examples/osgvnc/osgvnc.cpp: - Implemented keyboard and mouse dispatch from vnc client to vnc - server. +M src/osgPlugins/dae/ReaderWriterDAE.cpp +M src/osgPlugins/dae/daeReader.cpp +M src/osgPlugins/dae/ReaderWriterDAE.h +M src/osgPlugins/dae/daeReader.h -2008-10-31 12:03 robert - * CMakeLists.txt, CMakeModules/FindLibVNCServer.cmake, - examples/CMakeLists.txt, examples/osgforest/osgforest.cpp, - examples/osgvnc, examples/osgvnc/CMakeLists.txt, - examples/osgvnc/osgvnc.cpp: Added very basic osgvnc example that - uses the LibVNCServer client libries for implementing a vnc - client - as an osg::Image with the vnc data stream going to it. -2008-10-30 13:05 robert +Mon, 8 Oct 2012 11:10:25 +0000 +Checked in by : Robert Osfield +From James Athey, "I've attached a new osgDB ReaderWriter that can read Khronos Texture Files (KTX). The KTX file format is straightforward and designed to be easy to use in OpenGL.http://www.khronos.org/opengles/sdk/tools/KTX/file_format_spec/ +http://www.khronos.org/opengles/sdk/tools/KTX/ - * include/osgDB/Registry, src/osgDB/Registry.cpp, - src/osgWrappers/osgDB/Registry.cpp: Removed renduent - osgDB::Registry DatabasePager methods +The attached plugin can read: -2008-10-29 12:04 robert +* 1D, 2D, and 3D textures +* uncompressed and compressed images +* mipmapped and non-mipmapped textures +* little-endian and big-endian files +* textures from files as well as seekable istream objects - * AUTHORS.txt, ChangeLog, README.txt: Updated ChangeLog, - AUTHORS.txt and README.txt for 2.4.7 release +It does not handle: -2008-10-29 11:51 robert +* array textures (not supported by the ReaderWriter API) +* cubemap textures (not supported by the ReaderWriter API) +* the "KTXorientation" key-value pair; support could be added later (see +the file format spec for more information) +* non-seekable istream objects (would require more complicated memory +management) +" - * CMakeModules/CheckAtomicOps.cmake: From Blasius Czink, "changed - the CHECK_CXX_SOURCE_RUNS macro slightly to avoid the compile - problems due to bugged "intrin.h". In such a case the mutex - fallback will be used (see attached file)." - -2008-10-29 11:15 robert - * src/OpenThreads/sproc/SprocThread.c++: Warning fixes +Fri, 5 Oct 2012 16:31:23 +0000 +Checked in by : Robert Osfield +Made TouchData and osg::Object to aid with serialization. -2008-10-29 11:09 robert +Fri, 5 Oct 2012 10:37:36 +0000 +Checked in by : Robert Osfield +Improved ImageSequence's handling of seek() and added a simply hack to ImagePager to prevent the number of requests accumulating. - * src/osgWidget/Input.cpp, src/osgWidget/Label.cpp: Added missing - implementations +Fri, 5 Oct 2012 10:35:06 +0000 +Checked in by : Robert Osfield +From Stephan Huber and Robert Osfield, addded interactive setting of the ImageSequence::seek() based on the mouse x position. -2008-10-29 10:56 robert +Fri, 5 Oct 2012 10:07:09 +0000 +Checked in by : Robert Osfield +Added set methods to assist with serialization support - * AUTHORS.txt, ChangeLog, applications/osgversion/osgversion.cpp: - Updated ChangeLog and AUTHORS.txt for 2.7.4 release +Thu, 4 Oct 2012 13:45:54 +0000 +Checked in by : Robert Osfield +From Stephan Huber, "attached you'll find a fix for Registry.cpp not using the QTKit-plugin for video-files. W/o this fix you had to preload the plugin to open movie-files." -2008-10-29 10:38 robert +Tue, 2 Oct 2012 14:07:12 +0000 +Checked in by : Robert Osfield +From Stephan Huber, OSX and iOS Video support via a QTKit plugin from OSX 10.7 and before, and an AVFoundation plugin for iOS and OSX10.8 and later. - * src/osgWrappers/osg/Texture2DArray.cpp: Updated wrappers +Fri, 28 Sep 2012 16:36:42 +0000 +Checked in by : Robert Osfield +From Leigh Stivers, "We had this problem which shows up with nVidia's latest Quadro driver, 305.93 - and older drivers when the nVidia's setting "Thread Optimization" was turned on, running Windows 7. The symptom, is that after creating a first view and using it, and then creating a second view, the first view will never render anything but black.What happens is this: +A view is created, and then the viewers thread is created and runs. +The setReleaseContextAtEndOfFrameHint is true. +To create a second view, the viewer is setDone(true), and we wait for the thread exit. -2008-10-29 10:25 robert +At this point, inside the ViewerBase::RenderingTraversals code, there are places where it reads "if(_done) return;" - * examples/osgviewerQT/QOSGWidget.cpp: From Lukas Diduch, added a - multithread compsite viewer path, accessible using: - - osgviewerQT --MTCompositeViewer --QOSGWidget cow.osg +The problem, is that it won't reach the code that will releaseContext(). -2008-10-29 10:12 robert +Apparently, this driver won't let any other thread to makeCurrent(), if another thread (dead or not) has ownership. So when the Viewers is re-started, the first view won't be able to use the gc. - * examples/osgrobot/osgrobot.cpp: From James Moliere, fixed display - of axis +The change attached (against rev 13153) corrects this." -2008-10-28 17:28 robert - * src/osgPlugins/ive/DataInputStream.cpp: From Lionel Lagrade, - "I've replaced readsome by read+gcount." - - From Robert Osfeld, added throw on uncompress error. -2008-10-27 19:59 robert +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. - * examples/osgpick/osgpick.cpp: From Chris Denham, changed nested - Camera intersection test so that it requires the command line - --relative-camera-scene to enable it +For anyone reading this you can attach a packed depth stencil to your FBO like so -2008-10-27 17:42 robert +_rttCamera->attach( osg::Camera::PACKED_DEPTH_STENCIL_BUFFER, GL_DEPTH24_STENCIL8_EXT ); - * src/osgDB/DatabasePager.cpp: Added --help-env docs for - OSG_MAX_PAGEDLOD +Luckily GL_DEPTH24_STENCIL8_EXT happens to have the same value as iOSs GL_DEPTH24_STENCIL8_OES" -2008-10-27 17:11 robert - * src/osgPlugins/OpenFlight/AncillaryRecords.cpp: Merged in comment - split code from the old flt plugin so that FLT comments string - with returns - in them are put into separate description entries. - -2008-10-27 17:09 robert - - * src/osgViewer/StatsHandler.cpp: From Wojciech Lewandowski, "I am - sending a really minor fix for StatsHandler::reset method. We - dynamically add and remove slave cameras in our application. - StatsHandler does not automatically adapt to this situation, and - we call StatsHandler::reset to force it to update number of - cameras and their graphs. Unfortunately, if stats were already - drawn, reset would not remove former graph drawables and they - would remain frozen below new stats. This update fixes it. - " - -2008-10-27 16:16 robert - - * examples/osgpick/osgpick.cpp: From Chris Denham, default scene - that tests the use of in scene graph Camera which has a - RELATIVE_RF ReferenceFrame. - -2008-10-27 16:06 robert - - * src/osgUtil/IntersectionVisitor.cpp: From Chris Denham, fixed - support of in scene graph osg::Camera's with ReferenceFrame of - RELATIVE_RF. - -2008-10-27 15:26 robert - - * src/osgPlugins/OpenFlight/expPrimaryRecords.cpp: From Katharina - Plugge, "I found a bug in the OpenFlight-Plugin. When exporting - to OpenFlight it could happen that palettes of an external - reference like the texture palette are set wrong, because they - are overwritten by parent settings (userData), which actually do - not refer to palette entries respectively ParentPools (happens - for example if a Transform is parent of a ProxyNode). The static - cast from userData to ParentPools should therefore be a dynamic - cast. - --------------------------- - - function FltExportVisitor::writeExternalReference( const - osg::ProxyNode& proxy ): - - Line 423 in file expPrimaryRecords.cpp has to be changed from - - const ParentPools* pp = static_cast(proxy.getUserData() ); - - to - - const ParentPools* pp = dynamic_cast(proxy.getUserData() ); - " - -2008-10-27 13:09 robert - - * include/osg/FrameBufferObject, include/osg/Texture2DArray, - include/osgShadow/ParallelSplitShadowMap, - include/osgShadow/ViewDependentShadowTechnique, - src/osg/ApplicationUsage.cpp, src/osg/FrameBufferObject.cpp, - src/osg/ImageSequence.cpp, src/osg/KdTree.cpp, - src/osg/ShapeDrawable.cpp, src/osg/Texture.cpp, - src/osg/Texture2DArray.cpp, src/osg/Texture3D.cpp, - src/osgDB/DatabasePager.cpp, src/osgShadow/MinimalShadowMap.cpp, - src/osgShadow/ParallelSplitShadowMap.cpp, - src/osgShadow/ShadowMap.cpp, src/osgShadow/StandardShadowMap.cpp, - src/osgUtil/RenderStage.cpp, src/osgUtil/SceneGraphBuilder.cpp, - src/osgUtil/SceneView.cpp, src/osgUtil/Tessellator.cpp: Various - warning fixes - -2008-10-27 11:49 robert - - * src/osgWrappers/osgDB/DatabasePager.cpp: Updated wrappers - -2008-10-27 11:08 robert - - * src/osgPlugins/ac/ac3d.cpp: From Mathias Froehlich, "This change - is a result of a recent thread on osg-users. - The semantic change that went into the ac loader with the past - patch was - incorrect wrt the document describing the behaviour of ac files - and - inconsistent with what ac3d itself displays for that files. - This attached change reverts the behaviour to the original one. - The - infrastructure to change this is left in place. - The change is based on rev 9045." - -2008-10-27 10:42 robert - - * CMakeModules/CheckAtomicOps.cmake, include/OpenThreads/Atomic, - include/OpenThreads/Exports, src/OpenThreads/CMakeLists.txt, - src/OpenThreads/common/Atomic.cpp, - src/OpenThreads/common/Config.in, - src/OpenThreads/win32/Win32BarrierPrivateData.h, - src/OpenThreads/win32/Win32ConditionPrivateData.h: From Blasius - Czink, "Among other things I added support for atomic operations - on BSD-like systems and additional methods (for "and", "or", - "xor"). - " - - and a later post the same osg-submissions thread: - - "it's been a while since I have made the changes but I think it - was due to problems with static builds of OpenThreads on windows. - I was using - OpenThreads in a communication/synchronisation library (without - OpenSceneGraph). It seems I forgot to post a small change in the - CMakeLists file of OpenThreads. If a user turns - DYNAMIC_OPENTHREADS to OFF (static build) OT_LIBRARY_STATIC will - be defined in the Config. - Without these changes a windows user will always end up with a - "__declspec(dllexport)" or "__declspec(dllimport)" which is a - problem for static builds." - - And another post from Blasius on this topic: - - "I tested with VS2005 and VS2008. For 32 bit everything works as - expected. For x64 and VS2008 I could successfully do the - cmake-configure and then the compilation but I had occasional - crashes of cmTryCompileExec.exe (during the cmake-configure - phase) which seems to be a cmake bug. With VS2005 and 64bit cmake - does not set _OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED although - the interlocked functionality should be there. If I place the - source snippet from the CHECK_CXX_SOURCE_RUNS macro to a separate - sourcefile I can compile and run the resulting executable - successfully. Forcing OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED - (on VS2005/x64) reveals a bug in "intrin.h" which seems to be - fixed in VS2008 but not in VS2005. - - In case anyone is interested the lines: - __MACHINEI(unsigned char _interlockedbittestandset(long *a, long - b)) - __MACHINEI(unsigned char _interlockedbittestandreset(long *a, - long b)) - __MACHINEX64(unsigned char _interlockedbittestandset64(__int64 - *a, __int64 b)) - __MACHINEX64(unsigned char _interlockedbittestandreset64(__int64 - *a, __int64 b)) - - should be changed to: - __MACHINEI(unsigned char _interlockedbittestandset(long volatile - *a, long b)) - __MACHINEI(unsigned char _interlockedbittestandreset(long - volatile *a, long b)) - __MACHINEX64(unsigned char _interlockedbittestandset64(__int64 - volatile *a, __int64 b)) - __MACHINEX64(unsigned char _interlockedbittestandreset64(__int64 - volatile *a, __int64 b)) - - The worst thing that can happen is that interlocked funtionality - is not detected during cmake-configure and the mutex fallback is - used. - Which reminds me another small glitch in the Atomic header so I - attached a corrected version. - - - - Why is the OT_LIBRARY_STATIC added to the config file? It is not - needed anywhere. - - OT_LIBRARY_STATIC is needed if you are doing static-builds on - Windows. See my previous post on that. - " - -2008-10-27 10:40 robert - - * examples/osglogo/osglogo.cpp: Fixed positioning of wings - -2008-10-27 09:48 robert - - * CMakeModules/OsgMacroUtils.cmake: From Mathieu Marache, "I came - across a bug when building OpenSceneGraph with - MSVC_VERSIONED_DLL, NMake makefiles and CMake 2.6.2. - The compilation fails because it tries to copy - ot11-OpenThreads.lib to - OpenThreads.lib which is valid for the 2.4.x era of CMake but not - anymore in 2.6.x era. - The provided file from the CMakeModules directory adds a tests on - the - CMake version and corrects this. Works for me now." - -2008-10-27 09:44 robert - - * src/osgPlugins/obj/ReaderWriterOBJ.cpp: From Alberto Lucas, fixed - typo - -2008-10-26 22:22 robert - - * include/osg/DisplaySettings, include/osgDB/DatabasePager, - src/osg/BufferObject.cpp, src/osg/DisplaySettings.cpp, - src/osgDB/DatabasePager.cpp, - src/osgWrappers/osg/DisplaySettings.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp: Improved the support for - no pre compile, and configuring the number of threads in the - DatabasePager. - -2008-10-26 22:21 robert - - * src/osgPlugins/ive/ReaderWriterIVE.cpp: Improved the error - reporting - -2008-10-25 13:17 robert - - * src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/Inventor/ConvertFromInventor.h: From Jim Vaughan, - - - Matrix transform nodes were stripped out, and the - vertices and normals of each node were - transposed by the modelling matrix. My change preserves - the matrix transform nodes, so that - models can still be articulated by changing the matrices. - - - Lights were copied from the COIN scenegraph to the OSG - scenegraph, but they were not associated - with a LightSource node. My change for this creates a - Group and adds a LightSource for each Light. - - - If VRML textures have names, the name is now copied to - - -- - - Form Robert Osfild, changed SbString to std::string usage - - - M Inventor/ConvertFromInventor.h - M Inventor/ConvertFromInventor.cpp - -2008-10-24 11:38 robert - - * src/osgPlugins/obj/ReaderWriterOBJ.cpp: From Alberto Luaces, "it - seems a copy-paste error is present on the OBJ loader when - parsing the - options given by the user. "noTesselateLargePolygons" is being - activated - instead of "noTriStripPolygons". I'm attaching the fixed file." - -2008-10-24 10:02 robert - - * src/osgPlugins/osgParticle/IO_Program.cpp: Fixed typo - -2008-10-24 09:59 robert - - * src/osgPlugins/osgParticle/IO_FluidProgram.cpp, - src/osgPlugins/osgParticle/IO_ModularProgram.cpp, - src/osgPlugins/osgParticle/IO_Program.cpp: Add osgParticle:: - qualifiers in front of Program entries to avoid issues when - combining osg::Program and osgParticle::Program in a single app - -2008-10-24 09:49 robert - - * src/osgDB/DatabasePager.cpp: Changed timing stats to osg::INFO - level - -2008-10-24 08:09 robert - - * src/osg/Referenced.cpp: Removed debugging test. - -2008-10-23 16:33 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp: Introduced new method of - management the number of PagedLOD active, by using - a capping the number of PagedLOD to a sepcified maximum, with - pruning of inactive - PagedLOD when the total number of inactive and active PagedLOD - goes above the maximum. - - To enable the mode set the env var OSG_MAX_PAGEDLOD to a value - something like 1000. - -2008-10-21 16:39 robert - - * src/osgPlugins/dae/daeWTransforms.cpp: From Panagiotis - Koutsourakis, "We are using Open Scene Graph for an application - and we need COLLADA - support. While testing the pluggin we found a small bug and we - are - submitting a patch. - - The first attachment is a small program that creates a scene with - two - pyramids, transformed by two instances of - osg::PositionAttitudeTransform. One of them is rotated 90 degrees - in - the X axis, and the scene is exported both in the native OSG - (.osg) - and COLLADA (.dae) formats. In the first case the rotated pyramid - is - displayed correctly whereas in the second the pyramid seems not - to be - rotated. - - In the COLLADA 1.4.1 specification (found at - http://www.khronos.org/collada/) it is specified that - "The element contains a list of four floating-point - values - [...] followed by an angle in degrees" but the plugin seems to - write - the value in radians. - - The problem seems to be in the method daeWriter::apply() that - seems to - be writing the angle value in radians to the COLLADA file. The - patch - can be found in the second attachment and is simply a call to - RadiansToDegrees wrapped around the angle. - " - -2008-10-21 16:32 robert - - * src/osgShadow/StandardShadowMap.cpp: From Wojciech Lewandowski, - "I made a minor tweak in StandardShadowMap.cpp. As agreed with - J-S I have added AlphaFunc/AlphaTest to shadow camera stateset to - make sure transparent objects will not cast blocky solid - shadows." - -2008-10-21 16:31 robert - - * src/osgGA/UFOManipulator.cpp: From Chris Denham, "However, just - spotted another inconsistency between UFOManipulator::getMatrix() - and UFOManipulator::getInverseMatrix() - It assumes that inverse(_inverseMatrix * _offset) = _offset * - _matrix - This is only true when _offset=identity, so I think it should be - inverse(_offset) * _matrix - This inconsistency can cause problems when switching from UFO to - other manipulators, because the UFO:Manipulator::getMatrix - function is not necessarily returning a correct inverse of the - currently set ModelViewTransform. - It was tempting to change the name of the _offset member to - _inverseOffset, or to maintain both variables, but in the end - went for the minimal change." - -2008-10-21 16:27 robert - - * src/osgPlugins/jpeg/ReaderWriterJPEG.cpp: From Per Fahlberg, "I - ran into a problem when using another library that implemented - the same functions as the osg jpeg plugin, i guess they both - originated from the same example code :) As a solution I added a - namespace in ReaderWriterJPEG.cpp around the functions. - " - -2008-10-21 15:51 robert - - * src/osgPlugins/OpenFlight/GeometryRecords.cpp: #if'd out an - premature StateSet optimization that was causing problems with - datasets that mixed multi-texture coord geometry with single - texture coord geometries in a single scene graph. - -2008-10-21 09:50 robert - - * src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/Referenced.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgTerrain/Layer.cpp: Updated wrappers - -2008-10-20 16:24 robert - - * applications/osgfilecache/osgfilecache.cpp, - include/osgDB/DatabasePager, include/osgDB/FileCache, - include/osgDB/Registry, src/osgDB/CMakeLists.txt, - src/osgDB/DatabasePager.cpp, src/osgDB/FileCache.cpp, - src/osgDB/ReadFile.cpp, src/osgDB/Registry.cpp: Introduce - osgDB::FileCache, and updated osgfilecache and DatabasePager to - use it. - -2008-10-20 08:43 robert - - * examples/osgterrain/osgterrain.cpp, include/osg/GraphicsContext, - include/osgTerrain/Layer, src/osg/Image.cpp, src/osg/Texture.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/DataTypeSize.h, - src/osgPlugins/ive/HeightFieldLayer.cpp, - src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/Layer.cpp, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/osgTerrain/Layer.cpp, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Layer.cpp: - Introduced support for controlling mipmapping of - osgTerrain::ImageLayer and compression of - osgTerrain::HeightFieldLayer. - -2008-10-17 09:16 robert - - * include/osgWidget/UIObjectParent: From Paul Melis, fixed typo - -2008-10-15 10:07 robert - - * src/osgGA/UFOManipulator.cpp: From Chris Denham, "I noticed that - UFOManipulator _matrix and _inverseMatrix may be inconsistently - set due to typo in - UFOManipulator::home(). - I assume the intention is that _matrix and _inverseMatrix are - kept consistent, so corrected file attached. - - ///////////// OSG 2.6 ////////////////// - _inverseMatrix.makeLookAt( _homeEye, _homeCenter, _homeUp ); - _matrix.invert( _matrix ); - ///////////// after typo correction ///////////////// - _inverseMatrix.makeLookAt( _homeEye, _homeCenter, _homeUp ); - _matrix.invert( _inverseMatrix ); - ///////////////////////////////////////" - -2008-10-14 17:20 robert - - * src/osgPlugins/curl/CMakeLists.txt, - src/osgPlugins/gz/CMakeLists.txt, - src/osgPlugins/ive/CMakeLists.txt: Changed erroneous - ZLIB_INCLUDE_DIRS to ZLIB_INCLUDE_DIR - -2008-10-14 16:57 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: From Jason Beverage, - "Here is a small change to the CURL plugin to distinguish between - a 400 level error and a 500 level error. - - If a 400 level error occurs, a FILE_NOT_FOUND ReadResult is - appropriate. - - If a 500 level error occurs (such a 503, Service unavailable), - the application might want to try to load the file again in a few - seconds/minutes. This submission returns ERROR_IN_READING_FILE if - a 500 level error occurs so that clients can easily distinguish - between the errors. - - The actual error code is also added to the "message" of the - ReadResult so if a client needs more information, they can just - parse the message to retrieve the error code." - -2008-10-14 16:44 robert - - * examples/osgrobot/osgrobot.cpp: Converted M_PI* usage across to - osg::PI - -2008-10-14 16:35 robert - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/dot, - src/osgPlugins/dot/BaseDotVisitor.cpp, - src/osgPlugins/dot/BaseDotVisitor.h, - src/osgPlugins/dot/CMakeLists.txt, - src/osgPlugins/dot/ReaderWriterDOT.cpp, - src/osgPlugins/dot/SimpleDotVisitor.cpp, - src/osgPlugins/dot/SimpleDotVisitor.h: From Ricard Schmidt, dot - writer plugin. - -2008-10-14 15:24 robert - - * examples/CMakeLists.txt, examples/osgrobot, - examples/osgrobot/CMakeLists.txt, examples/osgrobot/osgrobot.cpp: - From James Moliere, - " The code below is to show how a heirarchy of objects can be - made within a scenegraph. - In other words, how there can be a parent/child relationship - between objects such - that when a parent is rotated or translated, the children move is - respect to it's - parent movement. A robotic arm is used in this example because - this is what I'm - using OSG for." - -2008-10-14 15:10 robert - - * examples/osggameoflife/CMakeLists.txt: Removed - geomoflife_frag.cpp experiement from CMakeList.txt file - -2008-10-14 14:58 robert - - * examples/CMakeLists.txt, examples/osggameoflife, - examples/osggameoflife/CMakeLists.txt, - examples/osggameoflife/GameOfLifePass.cpp, - examples/osggameoflife/GameOfLifePass.h, - examples/osggameoflife/osggameoflife.cpp: From J.P Delport, game - of life example that demonstrates ping pong render to texture - rendering - -2008-10-14 14:37 robert - * src/osgPlugins/curl/CMakeLists.txt, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/curl/ReaderWriterCURL.h, - src/osgPlugins/gz/ReaderWriterGZ.cpp, - src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/IveVersion.h, - src/osgPlugins/ive/ReaderWriterIVE.cpp: Added zlib support to - curl and ive plugins +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." -2008-10-14 14:36 robert +Tue, 25 Sep 2012 11:04:11 +0000 +Checked in by : Robert Osfield +Changed dispatch to virtual - * src/osgDB/Registry.cpp: Added debug timing code +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." -2008-10-14 14:27 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." - * include/OpenThreads/ScopedLock, include/osg/Referenced, - src/osg/Drawable.cpp, src/osg/Node.cpp, src/osg/Referenced.cpp, - src/osg/StateAttribute.cpp, src/osg/StateSet.cpp: Added a - Refrenced::getGlobalReferencedMutex, and - OpenThreads::ScopedPointerLock() and use of this in - add/removeParent() codes - to avoid threading problems when using atomic ref counting. -2008-10-14 14:25 robert - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc, - packaging/pkgconfig/openthreads.pc: UPdated version numbers +Thu, 20 Sep 2012 14:03:47 +0000 +Checked in by : Robert Osfield +From Luc Frauciel, Added sRGB FrameBuffer string -2008-10-10 12:01 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&). - * src/osgPlugins/gz/ReaderWriterGZ.cpp: Moved compress/uncompress - code across to using gzip compatible methods +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. +" -2008-10-09 18:46 robert - * src/osgPlugins/gz, src/osgPlugins/gz/CMakeLists.txt, - src/osgPlugins/gz/ReaderWriterGZ.cpp: Added initial cut of gz - compress/uncompress plugin -2008-10-09 17:02 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. - * CMakeLists.txt, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/osg/ReaderWriterOSG.cpp: Initial cut of zlib based - compress/uncompress plugin +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." -2008-10-09 13:16 shuber - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/osgVolume-Info.plist, - Xcode/OpenSceneGraph/osgWidget-Info.plist, - Xcode/OpenSceneGraph/osgmanipulatorexample-Info.plist, - Xcode/OpenSceneGraph/osgvolume-Info.plist, - Xcode/OpenSceneGraph/osgvolumeApplication-Info.plist: From - Stephan Huber: updated XCode-project, added osgVolume-lib -2008-10-09 08:52 robert +Thu, 20 Sep 2012 11:14:10 +0000 +Checked in by : Robert Osfield +Added ReadQueue::size() method to help with debugging. - * src/osgGA/AnimationPathManipulator.cpp: Fixed the frame rate - reporting so that it handles the case when animation is slowed or - speeded up +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. -2008-10-08 13:19 robert - * README.txt: Updated date -2008-10-08 13:18 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. - * AUTHORS.txt, ChangeLog, applications/osgversion/osgversion.cpp: - Updated ChangeLog and AUTHORS.txt for 2.7.3 dev release +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() -2008-10-08 12:54 robert +Mon, 10 Sep 2012 08:24:49 +0000 +Checked in by : Robert Osfield +Updated version after 3.1.3 dev release - * src/osgWrappers/osg/Texture1D.cpp, - src/osgWrappers/osg/Texture3D.cpp: Updated wrappers +Fri, 7 Sep 2012 17:04:31 +0000 +Checked in by : Robert Osfield +Updated ChangeLog for 3.1.3 dev release -2008-10-08 12:29 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. " - * include/osgShadow/MinimalDrawBoundsShadowMap, - include/osgShadow/StandardShadowMap: Added friend struct ViewData - to try and avoid compile issues under HP-UX +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. -2008-10-08 11:30 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 - * include/osg/Texture1D, include/osg/Texture3D, - src/osg/Texture1D.cpp, src/osg/Texture3D.cpp: Added - Texture1D(Image*) and Texture3D(Image*) constructors +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." -2008-10-08 10:55 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. - * src/osgShadow/ConvexPolyhedron.cpp: Replaced std::vector::insert - with std::copy + back_inserter to avoid member template problems - with sunos. +- Some comments and code formatting were improved (to be consistent with the formatting already used in the plugin). -2008-10-08 10:10 robert +- With 'separateFiles' option files are now named fooX.stl instead of foo.stlX - * include/osgWidget/Util, src/osgViewer/StatsHandler.cpp: From - Mathias Froehlich, fixes for HP-UX, SGI and Solaris build +The changes have been tested on various STL, both ASCII and binary found on the net. The change was based on the trunk branch." -2008-10-07 15:59 robert +From Robert Osfield, changed assert in Piotr's code to a runtime check warning report. - * CMakeLists.txt, src/osg/CMakeLists.txt: Moved - OSG_FORCE_QUERY_RESULT_AVAILABLE_BEFORE_RETRIEVAL into - src/osg/CMakeLists.txt -2008-10-07 15:58 robert - * src/osgViewer/StatsHandler.cpp: Made line graph solid (alpha = - 1.0) -2008-10-07 15:41 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] - * src/osgManipulator/Dragger.cpp: From Jean-Sebastien Guay and - Robert Osfield, added setDataVariance(osg::DYNAMIC) to avoid - problems to optimization. +bool __sync_bool_compare_and_swap (type *ptr, type oldval type newval, ...) -2008-10-07 15:21 robert +it seems to be doing the right thing: here the same type is used for *ptr, oldval and newval. - * src/osgPlugins/dxf/CMakeLists.txt: Added osgText to link line +[1] http://gcc.gnu.org/onlinedocs/gcc/_005f_005fsync-Builtins.html#g_t_005f_005fsync-Builtins +" -2008-10-07 15:19 robert - * src/osgShadow/ShadowTexture.cpp: Restoring Roger's original 2.0 - factor as on review the later orthographic projection code - doesn't require the position to be far out from the center to - simulate an infinite light. -2008-10-07 15:16 robert +Thu, 6 Sep 2012 10:32:07 +0000 +Checked in by : Robert Osfield +From Fredric Bouvier, fix to CMake build selection of FLTK - * src/osgShadow/ShadowTexture.cpp: From Roger James, "The light - position is incorrectly calculated for shadow casting scenes - whose bounding box centre is not the origin. This is a one line - fix. - " - -2008-10-07 14:36 robert - - * src/osgViewer/CMakeLists.txt, - src/osgViewer/GraphicsWindowWin32.cpp: From Wojciech Lewandowski - and Robert Osfield, add CMake build option for controlling the - Windows/NVidia multi-monitor workaround. - -2008-10-07 14:25 robert - - * src/osgWrappers/osgGA/UFOManipulator.cpp: Updated wrappers - -2008-10-07 14:19 robert - - * include/osgGA/UFOManipulator, - src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, src/osgGA/UFOManipulator.cpp: - Replaced IntersectVisitor usage with IntersectionVisitor +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. -2008-10-07 14:01 robert +Wed, 5 Sep 2012 13:51:34 +0000 +Checked in by : Robert Osfield +Fixed inappropriate comment - * examples/osgforest/osgforest.cpp, - examples/osgoccluder/osgoccluder.cpp, - examples/osgparticleeffects/osgparticleeffects.cpp, - examples/osgshaderterrain/osgshaderterrain.cpp, - examples/osgspheresegment/osgspheresegment.cpp: Replaced usage of - depreacted IntersectVisitor with IntersectionVisitor +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. -2008-10-07 13:37 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. - * src/osgViewer/StatsHandler.cpp: From Jean-Sebastirn Guay, - "Inspired by the latest additions to the StatsHandler, here is my - own addition. It's a graph that helps show the variation of the - various stats over time. It's clearer than just having bars for - the last 10 frames or so, IMHO, since 10 frames go by pretty - fast... - - The graph is displayed "under" (behind) the normal bar chart you - get when you press 's' twice. It doesn't hide the normal stats, - you can still read them without any trouble, and that way, it - doesn't take any more screen space. It starts from the left, and - will scroll left when there is enough data to fill the screen - width. The graph lines have the same colors we're used to (except - I made the event color a bit bluer, so it's not exactly the same - as the update color). A screen shot is attached. - - The lines get a bit confused when they're all overlapping at the - bottom of the graph, but I think that's the least of our concerns - (if they're all at the bottom of the graph - except FPS of course - - then great!). - - The only thing I'm not very keen about is that to make things - simple, I clamp the values to a given maximum. Right now, the - maximums I have set are: - - * Frame rate: 100 fps (people have 60, 75, 85Hz refresh rates, so - there's no one right value, but I think 100 is OK) - * Stats: 0.016 seconds (what you need to get 60Hz minimum) - - This could be changed so that the scale of the graph changes - according to the maximum value in the last screenful of the graph - instead of clamping values. We would then need to display the - scale for each value on the side of the graph, because if the - scale changes, you need to know what it is at this moment. - - I tried to make things easy to change, so for example if you - don't like that the graph is in the same space as the normal - stats bars, it's easy to move it anywhere else, and make it have - other dimensions. The maximums and colors are also easy to - change. - - The impact on performance should be minimal, since it's one - vertex per graph line that's added per frame, and vertices are - removed when they scroll off the screen, so you'll never have - more than say 1280 * (3 + ncameras) vertices on the screen at one - time. No polygons, I used line strips. The scrolling is done with - a MatrixTransform." - -2008-10-07 13:06 robert - - * src/osgPlugins/dxf/dxfEntity.cpp, src/osgPlugins/dxf/dxfEntity.h, - src/osgPlugins/dxf/scene.cpp, src/osgPlugins/dxf/scene.h: From - Colin McDonald, "Attached is an update to the dxf plugin which - adds rudimentary support for - text entities. - " - -2008-10-07 12:31 robert - - * include/osgShadow/MinimalShadowMap, src/osgDB/DatabasePager.cpp, - src/osgPlugins/osga/OSGA_Archive.cpp, - src/osgSim/LightPointNode.cpp, src/osgVolume/ImageUtils.cpp: From - Mathias Froehlich, build fixes - -2008-10-07 11:35 robert - - * include/osg/PagedLOD, include/osgDB/DatabasePager, - src/osg/PagedLOD.cpp, src/osgDB/DatabasePager.cpp, - src/osgWrappers/osg/PagedLOD.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp: Added the ability to - release OpenGL objects in PagedLOD subgrphs that are no longer - being rendered. - -2008-10-06 17:15 robert - - * src/osgWrappers/osg/ImageSequence.cpp, - src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osgDB/ImagePager.cpp, - src/osgWrappers/osgDB/PluginQuery.cpp: Updated wrappers - -2008-10-06 17:03 robert - - * examples/osgimagesequence/osgimagesequence.cpp: Improved the - ImageSequence::setLength() settting. - -2008-10-06 17:02 robert - - * include/osgDB/ImagePager, src/osgDB/ImagePager.cpp: Updated to - reflect changes in NodeVistor::ImageRequestHandler. - -2008-10-06 17:02 robert - - * include/osg/ImageSequence, include/osg/ImageStream, - include/osg/NodeVisitor, src/osg/ImageSequence.cpp: Refactored - ImageSequence to provided a cleaner and more robust - implementation - -2008-10-06 14:18 robert - - * include/osgShadow/DebugShadowMap, - include/osgShadow/MinimalShadowMap, - src/osgShadow/DebugShadowMap.cpp, - src/osgShadow/MinimalDrawBoundsShadowMap.cpp, - src/osgShadow/MinimalShadowMap.cpp, - src/osgShadow/StandardShadowMap.cpp: From Wojciech Lewandowski, - build fixes for handling Matrix::value_type == float - -2008-10-06 14:15 robert - - * include/osgShadow/DebugShadowMap, - include/osgShadow/MinimalShadowMap, - include/osgShadow/ProjectionShadowMap, - include/osgShadow/StandardShadowMap, - include/osgShadow/ViewDependentShadowTechnique: Ran dos2unix - -2008-10-06 09:39 robert - - * src/osgTerrain/Locator.cpp: From Glenn Waldron, - "osgTerrain::Locator::setTransformAsExtents() does not update the - _inverse member. Fix attached. - " - -2008-10-06 08:58 robert - - * src/osgShadow/ConvexPolyhedron.cpp, - src/osgShadow/DebugShadowMap.cpp, - src/osgShadow/LightSpacePerspectiveShadowMap.cpp, - src/osgShadow/MinimalDrawBoundsShadowMap.cpp, - src/osgShadow/MinimalShadowMap.cpp, - src/osgShadow/StandardShadowMap.cpp, - src/osgShadow/ViewDependentShadowTechnique.cpp: Converted tabs to - four spaces - -2008-10-06 08:53 robert - - * include/osgShadow/ConvexPolyhedron, - include/osgShadow/DebugShadowMap, - include/osgShadow/LightSpacePerspectiveShadowMap, - include/osgShadow/MinimalCullBoundsShadowMap, - include/osgShadow/MinimalDrawBoundsShadowMap, - include/osgShadow/MinimalShadowMap, - include/osgShadow/ProjectionShadowMap, - include/osgShadow/StandardShadowMap, - include/osgShadow/ViewDependentShadowTechnique: Ran dos2unix on - headers - -2008-10-06 08:53 robert - - * src/osgShadow/ConvexPolyhedron.cpp, - src/osgShadow/DebugShadowMap.cpp, - src/osgShadow/LightSpacePerspectiveShadowMap.cpp, - src/osgShadow/MinimalCullBoundsShadowMap.cpp, - src/osgShadow/MinimalDrawBoundsShadowMap.cpp, - src/osgShadow/MinimalShadowMap.cpp, - src/osgShadow/StandardShadowMap.cpp, - src/osgShadow/ViewDependentShadowTechnique.cpp: Ran dos2unix on - new shadow implemenations - -2008-10-06 08:48 robert - - * src/osgTerrain/Terrain.cpp: From Jason Beverage, "Attached is a - fix for getTile in the Terrain class. It should be checking for - itr == _terrainTileMap.end() instead of itr != - _terrainTileMap.end()." - -2008-10-03 16:57 robert - - * include/osg/ref_ptr: Added include to take advantage - of OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION - -2008-10-03 15:36 robert - - * CMakeLists.txt, src/osg/Config.in: Moved the - OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION definition into the - Config.in rather use of -D define - -2008-10-03 15:15 robert - - * src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers - -2008-10-03 15:15 robert - - * CMakeLists.txt: Added optional compile of the new ref_ptr<>:T* - operator() output conversion operator, controlled via a CMake - option OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION. - -2008-10-03 15:13 robert - - * include/osg/ref_ptr: From Neil Groves, addition on a T* implicit - output conversion method and removal of comparison methods that - are replaced by the single conversion method. - - From Robert Osfield, optional compilation of above. - -2008-10-03 13:38 robert - - * src/osgUtil/Simplifier.cpp: Compile fix required when using - ref_ptr<> implicit output conversion - -2008-10-03 13:34 robert - - * include/osg/Referenced: From Neil Groves, added - intrusive_ptr_add_ref and intrusive_ptr_release methods to enable - usage of boost::intrusive_ptr<> with osg::Referenced objects. - -2008-10-03 11:04 robert - - * src/osgPlugins/ive/PagedLOD.cpp: From Bryan Thrall, fixed typos - in exception strings. - -2008-10-03 11:02 robert - - * src/osg/OcclusionQueryNode.cpp: From Paul Martz, "I had to make - Yet Another tweak to the workaround for the occlusion query issue - on NVIDIA cards. Testing indicates that this produces stable - results. I checked this in to the 2.6 branch as revision 8965. - Please include this on the trunk" - -2008-10-03 09:55 robert - - * include/osg/ref_ptr: From Neil Groves, "Frequently I would like - code that has a signature like: void foo(osg::ref_ptr - node) to work for osg::ref_ptr, - osg::ref_ptr etc. The behaviour of osg::ref_ptr does - not mimic the behaviour of a raw pointer in this regard. - - To facilitate this possibility I have added a template copy - constructor and a template assignment operator. These work for - safe conversions like those in my previous example, but fail as - desired for non-safe conversions since the template instantiation - fails during the raw pointer copy/assignment. - - The lack of this facility has appreciably handicapped development - of generic algorithms applied to the scene graph, and I believe - that this alteration will be welcomed by most of the community. - If there are issues with antiquated compilers not supporting - template member functions then perhaps a small piece of - conditional compilation is in order. - - I have made the change using the latest release version (2.6) as - the base. The full file is attached. - - I have not tested building the osg wrappers and the script - binding code. I have tested the legal and illegal conversions of - both copying and assignment to ensure that behave as expected on - MSVC7.1, MSVC8, MSVC9, GCC 4.3." - -2008-10-03 09:22 robert - - * src/osgPlugins/quicktime/ReaderWriterQT.cpp: From Tatsuhiro - Nishioka, submissions posted by Stephan Huber, "attached you'll - find a modified ReaderWriterQT.cpp-file where I removed the - support for rgb(a)-files. - Quicktime supports only files with 3/4-channels rgba-files and - not 1/2-channels rgb-files. - - This submission is from Tatsuhiro Nishioka, here's his original - quote: - - When FlightGear crashes, the error message - "GraphicsImportGetNaturalBounds failed" shows up. By adding - printf - debug, I found the error was -8969: codecBadDataErr when loading - a - gray-scaled (2 channels) rgba files even though the file can be - loaded - with Gimp and osgViewer properly. - - So I made an investigation on this problem and found an - interesting - thing. This error occurs only when non-rgb files are loaded - before rgb - files. The reason is that rgba files can be handled by both - osgdb_rgb.so and osgdb_qt.so, but the error happens only when - osgdb_qt.so try to load a gray-scaled rgba file. - - When a program is about to load an rgba file, osgdb_rgb.so is - loaded - and it handles the rgba file properly. In contrast, when a - gray-scaled - rgb file is being loaded after a non-rgb file (say png) is - already - loaded by osgdb_qt.so, osgdb_qt.so tries to load the file instead - of - osgdb_rgb, which causes the error above. - - Anyway, the bad thing is that QuickTime cannot handle gray-scaled - rgb - files properly. The solution for this is not to let osgdb_qt - handle - rgb files since osgdb_rgb can handle these properly. - - " - -2008-10-03 09:19 robert - - * include/osgViewer/CompositeViewer, - src/osgViewer/CompositeViewer.cpp: From Stephan Huber, removed - now redundent setEventQueue method - -2008-10-03 09:02 robert - - * include/osgViewer/ViewerEventHandlers, - src/osgViewer/StatsHandler.cpp: From Roland Smeenk, A year ago - Stephan Maximilian Huber sent in a submission with enhanced - statistics. Because I was interested in the scene statistics of - his submission I tried to merge his changes with the current CVS - head. I made a few changes to the way the statistics are - displayed. Attached you will find the new StatsHandler and a - screenshot of the statistics in the compositeviewer example. - - This code will add two extra statistics options: - -Camera scene statistics, stats for the scene after culling - (updated at 10 Hz) - -View scene statistics, stats for the complete scene (updated at - 5 Hz) - - Each camera and each view will expand the statistics to the - right. - - I also added the requests and objects to compile of the - databasepager to the databasepager statistics."" - -2008-10-03 08:35 robert - - * src/osgPlugins/ac/ac3d.cpp: From Mathias Froehlich, Wr.t AC3D - Texture clamping "I had a quick look at the problem. - Attached is a change that is able to provide shared textures for - the clamp and - the repeat case. - So this appears to be the best fix I guess ... - - Also it additionaly shares the TexEnv StateAttribute in a whole - ac3d model." - -2008-10-03 08:33 robert - - * include/osgSim/DOFTransform: Added missing dirtyBound() calls - -2008-10-02 15:45 robert - - * examples/osgvolume/osgvolume.cpp, - examples/osgvolume/volume_iso_frag.cpp, - examples/osgvolume/volume_tf_iso_frag.cpp, - include/osgVolume/ImageUtils, src/osgDB/Registry.cpp, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgVolume/ImageUtils.cpp: Various improvements to the dicom - loader to be able to handle a broader range of dicom files - -2008-09-29 18:30 robert - - * examples/osgvolume/osgvolume.cpp, - examples/osgvolume/volume_frag.cpp, - examples/osgvolume/volume_tf_frag.cpp, - examples/osgvolume/volume_tf_iso_frag.cpp: Updated shaders - -2008-09-29 17:00 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Improved the dicom - plugins handling of different slice positions - -2008-09-29 13:22 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Turned off the yaw - mode on the FlightManipilator to make it easier to navigate in - volumes - -2008-09-29 11:00 robert - - * CMakeLists.txt, CTestConfig.cmake: From Mathieu Marache, support - for CDash - -2008-09-29 10:59 robert +" - * src/osgDB/Registry.cpp: From Erik den Dekker, "I received a - compiler warning in osgDB::registry::readObjectOfType while - compiling SVN trunk with MSVC 2008. - - ..\..\..\..\src\osgDB\Registry.cpp(910) : warning C4806: '==' : - unsafe operation: no value of type 'bool' promoted to type - 'osgDB::Registry::LoadStatus' can equal the given constant - - A quick review of the code revealed a piece of code that was - clearly wrong, possibly due to a copy-and-paste error. - - " -2008-09-29 10:56 robert - * examples/osgvolume/osgvolume.cpp: Added support for using - ImageSequence to animate volumes +Wed, 5 Sep 2012 10:24:10 +0000 +Checked in by : Robert Osfield +From Andreas Ekstrand, The attached ESRIShape.cpp contains fixes for comparing calculated byte sizes with the content length from the record header. According to the ESRI Shape documentation (http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf), the content length is specified in 16 bit words, which is why I have multiplied it by 2 when comparing to byte sizes. Note that the comparison in line 813 is made with a fix number of 16-bit words so it hasn't been changed.This fixes problems with PolygonZ records where the previous code was reading past the end of the record since it thought it had M values even if it didn't. I suspect the problem that James McGlone had back in 2006 was the same but reversed, when he tried to simply comment out the check, which was a (correctly) refused submission."" -2008-09-28 15:16 robert - * examples/osgvolume/osgvolume.cpp, - examples/osgvolume/volume_iso_frag.cpp, - examples/osgvolume/volume_tf_iso_frag.cpp: Improved the - isosurface shaders, and mde GLSL usage the default -2008-09-26 15:47 robert +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." - * examples/osgvolume/osgvolume.cpp, - examples/osgvolume/volume_tf_iso_frag.cpp: Improved GLSL - isosurface support when using a transfer function -2008-09-26 14:50 robert - * examples/osgvolume/osgvolume.cpp: Added setting of various - filters and setResizeNonPowerOfTwoHint(false) on normals maps - etc. +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 -2008-09-26 13:51 robert +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. - * examples/osgunittests/osgunittests.cpp: Added docs for - read-threads command line options +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" -2008-09-26 13:51 robert +Wed, 5 Sep 2012 08:42:14 +0000 +Checked in by : Robert Osfield +Added deprecated note to indices entry. - * include/osgDB/Registry, src/osgDB/Registry.cpp: Changed - loadLibrary so that it retusn a LoadStatus variable to enable - calling - codes to differentiate between whether a library is already - loaded, or is newly loaded +Tue, 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 -2008-09-26 11:29 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. " - * examples/osgvolume/osgvolume.cpp, - examples/osgvolume/volume_iso_frag.cpp, - examples/osgvolume/volume_mip_frag.cpp, - examples/osgvolume/volume_tf_iso_frag.cpp, - examples/osgvolume/volume_tf_mip_frag.cpp: Added --isosurface and - --mip paths into osgvolume example, and added associted shaders +Mon, 3 Sep 2012 09:08:16 +0000 +Checked in by : Robert Osfield +Adjusted the #define's to help GLES2 build -2008-09-26 11:19 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 );" - * examples/osgshadow/IslandScene.cpp: From Mathias Froehlich, "for - the rand functions stdlib.h is required ..." +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. -2008-09-26 10:59 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." - * src/osgDB/DatabasePager.cpp: From Lionel Lagarde, "Here is a - correction on DatabasePager::FindCompileableGLObjectsVisitor - - The apply(osg::Drawable *) method doesn't update the _drawableSet - and - the isCompiled test was inversed." +Fri, 24 Aug 2012 15:05:03 +0000 +Checked in by : Robert Osfield +From Johannes Scholz, fix for writing out of hexidecimal numbers -2008-09-26 10:43 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 - * src/osgPlugins/obj/obj.cpp: From Fabio Mierlo, "n the lines 428 - and 430 of obj.cpp file from release 2.6.0, the parser - use only the first 7 characters to compare the string - "map_opacity " - and to copy the followed parameter, but the string have 12 - characters." -2008-09-25 15:20 robert - * CMakeLists.txt: From Mathieu Marache, added support for CDash +Wed, 22 Aug 2012 16:39:47 +0000 +Checked in by : Robert Osfield +Fixed typo -2008-09-25 15:19 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. - * include/osg/TransferFunction: Removed unused methods +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. -2008-09-25 15:04 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. - * src/osgWrappers/osg/TransferFunction.cpp: Updated wrappers +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. -2008-09-25 14:41 robert +Fri, 3 Aug 2012 15:23:44 +0000 +Checked in by : Robert Osfield +Removed the erronous creation of a local ShadowSettings object - * examples/CMakeLists.txt: Added osg2cpp example into build +Tue, 24 Jul 2012 09:05:04 +0000 +Checked in by : Robert Osfield +Added FireGL to prefernce list for use glGenerateMipMap -2008-09-25 14:41 robert +Mon, 23 Jul 2012 08:15:57 +0000 +Checked in by : Robert Osfield +Fixed build - * include/osgDB/ReadFile: Added convinience methods for parse - shader source files +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. -2008-09-25 14:39 robert +Wed, 11 Jul 2012 14:36:14 +0000 +Checked in by : Robert Osfield +Fixed indentation - * examples/osg2cpp, examples/osg2cpp/CMakeLists.txt, - examples/osg2cpp/osg2cpp.cpp: Created new osg2cpp utility that - creates .cpp files from source shaders that can be included - directly in application code, see osgvolume for an example. +Wed, 11 Jul 2012 08:39:11 +0000 +Checked in by : Robert Osfield +Fixed parameter default value to avoid warning -2008-09-25 14:39 robert +Tue, 10 Jul 2012 16:20:32 +0000 +Checked in by : Robert Osfield +Replaced use of now deprecated methods. - * examples/osgvolume/osgvolume.cpp, - examples/osgvolume/volume_frag.cpp, - examples/osgvolume/volume_n_frag.cpp, - examples/osgvolume/volume_tf_frag.cpp, - examples/osgvolume/volume_tf_n_frag.cpp, - examples/osgvolume/volume_vert.cpp: Moved shaders into .cpp, with - the shaders created by the new osg2cpp utility +Tue, 10 Jul 2012 16:11:40 +0000 +Checked in by : Robert Osfield +Enabled the use the getReceivesShadowTraversalMask(). -2008-09-25 10:21 robert +Tue, 10 Jul 2012 16:11:15 +0000 +Checked in by : Robert Osfield +Changed settings of masks to use ShadowSettings. - * src/osgDB/Registry.cpp, src/osgPlugins/glsl/ReaderWriterGLSL.cpp: - Added .vert and .frag to list of accepted extension in the GLSL - plugin +Tue, 10 Jul 2012 15:50:46 +0000 +Checked in by : Robert Osfield +Moved mask settings into ShadowSettings -2008-09-24 16:03 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. - * examples/osgunittests/MultiThreadRead.cpp: From Jean-Sebastian - Guay, fixed windows build +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. -2008-09-24 16:00 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 - * src/osgPlugins/quicktime/ReaderWriterQT.cpp: From Riccardo Corsi, - Added 3gp file extension to supported list in quicktime plugin +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. -2008-09-24 15:59 robert +Sat, 16 Jun 2012 09:08:05 +0000 +Checked in by : Robert Osfield +Fixed spelling of FileNameComparator - * src/osgDB/Registry.cpp: Added 3gp extension alias for quicktime +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. -2008-09-24 10:45 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 - * examples/osgvolume/osgvolume.cpp: Added shader based transfer - function, enabled via --gpu-tf +Tue, 12 Jun 2012 18:29:03 +0000 +Checked in by : Robert Osfield +Enabled 6 ImageThreads in the ImagePager -2008-09-24 10:20 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. - * examples/osgvolume/osgvolume.cpp: Fixed transfer function parsing +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. -2008-09-23 17:29 robert +Fri, 8 Jun 2012 10:26:23 +0000 +Checked in by : Robert Osfield +Added ImageStream support to and tags in .p3d - * include/osgDB/Registry, src/osgDB/Registry.cpp: Added mutex usage - to protect access to plugin and readerwriter containers +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. -2008-09-23 15:41 robert +Thu, 7 Jun 2012 10:08:42 +0000 +Checked in by : Robert Osfield +Added --fps support - * examples/osgunittests/MultiThreadRead.cpp, - examples/osgunittests/MultiThreadRead.h, - examples/osgunittests/osgunittests.cpp: Added "serialize" and - plugin "preload" options in the "read-threads" code path. +Thu, 31 May 2012 14:45:24 +0000 +Checked in by : Robert Osfield +Added typdef for Win32 -2008-09-23 13:58 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." - * examples/osgunittests/CMakeLists.txt, - examples/osgunittests/MultiThreadRead.cpp, - examples/osgunittests/MultiThreadRead.h, - examples/osgunittests/osgunittests.cpp: Added read-threads - command line and read thread test back end +Fri, 25 May 2012 15:32:51 +0000 +Checked in by : Robert Osfield +Added Dragger::get/setActivationMouseButtonMask(uint). -2008-09-23 09:59 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); - * examples/osgshadow/CMakeLists.txt, - examples/osgshadow/IslandScene.cpp, - examples/osgshadow/IslandScene.h, - examples/osgshadow/osgshadow.cpp, - examples/osgshadow/terrain_coords.h: From Wojciech Lweandowski, - added support for noew LispSM shadow technique (use --lispsm on - CmdLine) and added IslandScene database (use -4 on CmdLine). +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." -2008-09-22 17:24 robert - * examples/osgvolume/osgvolume.cpp: Added support for reading raw - data and transfer function from a volume header -2008-09-22 16:18 robert +Thu, 24 May 2012 18:15:44 +0000 +Checked in by : Robert Osfield +From Jaap Gas, added missing break, and missing removeDraggerCallback. - * examples/osgimagesequence/osgimagesequence.cpp: Added - --page-and-discard, --page-and-retain, --preload and --length - command line options +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. -2008-09-22 16:17 robert +Wed, 2 May 2012 14:13:29 +0000 +Checked in by : Robert Osfield +Removed trailing spaces - * src/osg/ImageSequence.cpp: Fixed typo +Wed, 2 May 2012 13:58:34 +0000 +Checked in by : Robert Osfield +Fixed for including cmath before osg/Math. -2008-09-22 15:56 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. - * examples/osgimagesequence/osgimagesequence.cpp: Added stats - handler +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 -2008-09-22 15:01 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." - * src/osg/ImageStream.cpp, src/osg/OperationThread.cpp, - src/osgVolume/CMakeLists.txt: From Ulrich Hertlein, fixes for OSX - build +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." -2008-09-22 14:58 robert +Fri, 20 Apr 2012 09:40:29 +0000 +Checked in by : Robert Osfield +Ran dos2unx on file - * CMakeLists.txt: Changed OSG_DEBUG_POSTFIX to use ADDQUOTES in the - .cpp rather than trying to add quotes via CMakeLists.txt +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" -2008-09-22 14:55 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. - * src/osgDB/CMakeLists.txt, src/osgDB/PluginQuery.cpp, - src/osgDB/Registry.cpp: From Ralf Habacker and Robert Osfield, - added search for plugins with OS specific file plugin extensions +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 -2008-09-22 14:46 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. - * include/osgDB/FileNameUtils, src/osgDB/FileNameUtils.cpp: Added - getExtensionIncludingDot to provide more efficient handling of - extensions +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." -2008-09-22 13:16 robert - * CMakeLists.txt, include/osg/Object, src/osgDB/FileUtils.cpp: - Changed the macro usage so that the quotes are now added inside - the .cpp -2008-09-22 11:13 robert +Thu, 19 Apr 2012 10:10:26 +0000 +Checked in by : Robert Osfield +Added missing getUniformBlocks implmentation - * src/osgPlugins/dicom/CMakeLists.txt, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Added readNode - implementation that creates an osgVolume::Volume for the - specified dicom file. +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." -2008-09-21 11:12 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. - * src/osgWrappers/osgTerrain/TerrainTile.cpp, - src/osgWrappers/osgVolume/Brick.cpp, - src/osgWrappers/osgVolume/Volume.cpp, - src/osgWrappers/osgVolume/VolumeTechnique.cpp: Added Volume - wrappers, and updated terrain wrappers +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." -2008-09-21 11:05 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. - * include/osgVolume/Brick, include/osgVolume/Volume, - include/osgVolume/VolumeTechnique, src/osgVolume/Brick.cpp, - src/osgVolume/CMakeLists.txt, src/osgVolume/Volume.cpp, - src/osgVolume/VolumeTechnique.cpp: Create initial class - placeholders for main volume rendering classes +So I assume this is a threading issue because of the data variance missing +in some of the text node setups in the example. +" -2008-09-20 15:43 robert - * include/osgTerrain/TerrainTile, - src/osgPlugins/ive/TerrainTile.cpp: Change TileID::layer to - TileID::level -2008-09-20 10:34 robert +Wed, 18 Apr 2012 09:50:23 +0000 +Checked in by : Robert Osfield +Updated version number - * src/osgUtil/SceneView.cpp: From Chris Denham, changed - gluGetErrorString to using osg::State::checkGLErrors() to avoid - null pointer dereference +Fri, 6 Apr 2012 11:29:29 +0000 +Checked in by : Robert Osfield +From Martin Naylor, "Please find attached a fix for the STD library(tested under Windowsx64 VS2008) when atomiccounter is found but not used." -2008-09-20 10:09 robert +Fri, 6 Apr 2012 10:42:17 +0000 +Checked in by : Robert Osfield +From Ulrich Hertlein, Fix for MatrixTemplate compile errors - * src/osg/StateSet.cpp: From Mathias Froehlich, added catch for - GL_COLOR_MATERIAL mode being set. +Thu, 5 Apr 2012 13:53:47 +0000 +Checked in by : Robert Osfield +From Wang Rui, "I'd like to submit the changes that will put ObjectProperty and ObjectMark variables into the InputStream/OutputStream class instead of static ones. This should avoid the threading problem and won't repeatedly reallocate memory for the properties. Some of the wrappers will be slightly modified to use the property variable stored in the InputStream/OutputStream as well." -2008-09-20 10:05 robert +Fri, 30 Mar 2012 17:08:21 +0000 +Checked in by : Robert Osfield +Update AUTHORS for release - * src/osg/GLExtensions.cpp: From John Vida Larring, "If an - application initializes osgViewer::GraphicsWindowEmbedded() but - never gets around to do any rendering before the application is - closed, the result with be a crash (SIGABRT/std::logic_error) in - osg::getGLVersionNumber(). - - The fix was to check whether glGetString( GL_VERSION ) returned a - null pointer (Ref. svn diff below). The altered - src/osg/GLExtensions.cpp is zipped and attached to this email." +Fri, 30 Mar 2012 16:58:24 +0000 +Checked in by : Robert Osfield +Updated ChangeLog for dev release -2008-09-19 19:51 robert +Fri, 30 Mar 2012 10:10:27 +0000 +Checked in by : Robert Osfield +Added check to avoid accessing pointer past the end of the string. - * src/osgWrappers/genwrapper.conf, - src/osgWrappers/osgShadow/ConvexPolyhedron.cpp, - src/osgWrappers/osgShadow/DebugShadowMap.cpp, - src/osgWrappers/osgShadow/LightSpacePerspectiveShadowMap.cpp, - src/osgWrappers/osgShadow/MinimalCullBoundsShadowMap.cpp, - src/osgWrappers/osgShadow/MinimalDrawBoundsShadowMap.cpp, - src/osgWrappers/osgShadow/MinimalShadowMap.cpp, - src/osgWrappers/osgShadow/StandardShadowMap.cpp, - src/osgWrappers/osgShadow/ViewDependentShadowTechnique.cpp: Added - wrapper support for new osgShadow classes +Thu, 29 Mar 2012 15:08:15 +0000 +Checked in by : Robert Osfield +From Magnus Kessler, typo and documentation fixes -2008-09-19 19:51 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." - * include/osgShadow/ConvexPolyhedron, - include/osgShadow/DebugShadowMap, - include/osgShadow/LightSpacePerspectiveShadowMap, - include/osgShadow/MinimalCullBoundsShadowMap, - include/osgShadow/MinimalDrawBoundsShadowMap, - include/osgShadow/MinimalShadowMap, - include/osgShadow/ProjectionShadowMap, - include/osgShadow/StandardShadowMap, - include/osgShadow/ViewDependentShadowTechnique, - src/osgShadow/CMakeLists.txt, src/osgShadow/ConvexPolyhedron.cpp, - src/osgShadow/DebugShadowMap.cpp, - src/osgShadow/LightSpacePerspectiveShadowMap.cpp, - src/osgShadow/MinimalCullBoundsShadowMap.cpp, - src/osgShadow/MinimalDrawBoundsShadowMap.cpp, - src/osgShadow/MinimalShadowMap.cpp, - src/osgShadow/StandardShadowMap.cpp, - src/osgShadow/ViewDependentShadowTechnique.cpp: From Wojciech - Lewandowski, a range of new ShadowMap implementations include - View Dependent Shadow Maps - LispSM - - From Robert Osfield, refactored Wojciech's submission to - integrated with osgShadow and use coding sytle more consistent - with rest of OSG. - -2008-09-19 12:49 robert - - * CMakeLists.txt, src/osgDB/FileUtils.cpp: From Mathias Froehlich, - added support for search in the installed directories for plugins - -2008-09-19 08:16 robert - - * src/osgPlugins/OpenFlight/FltExportVisitor.cpp: From Richard - Schmidt, fixed the handling of user data so that it uses - ref_ptr<> to avoid data getting deleted. - -2008-09-18 16:48 robert - - * ChangeLog: Updated ChangeLog - -2008-09-18 16:03 robert - - * src/osgWrappers/osgDB/Serializer.cpp: Added Serializer wrappers - -2008-09-18 15:50 robert - - * include/osgDB/Serializer, src/osgDB/CMakeLists.txt: Moved - Serializer header from VPB into osgDB. - -2008-09-18 15:44 robert - - * src/osgWrappers/osgShadow/ShadowMap.cpp, - src/osgWrappers/osgShadow/SoftShadowMap.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/Viewer.cpp, - src/osgWrappers/osgViewer/ViewerBase.cpp: Updated wrappers - -2008-09-18 15:18 robert - - * include/osgViewer/CompositeViewer, include/osgViewer/Viewer, - include/osgViewer/ViewerBase, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/Viewer.cpp, src/osgViewer/ViewerBase.cpp: - refactored the getWindows(..) and getContexts(..) methods so that - they produce - consistent ordering based on the order Camera/slave camera - ordering. - -2008-09-18 15:16 robert - - * src/osgText/Font.cpp: From Mathias Froehlich, "Attached one - namespace/scope lookup problem which shows up on irix." - -2008-09-18 14:48 robert - - * include/osgShadow/ShadowMap, include/osgShadow/SoftShadowMap, - src/osgShadow/SoftShadowMap.cpp: From Christopher Blaesius, - "Soft shadow mapping is basically the same as hard shadow mapping - beside that - it uses a different fragment shader. - So for me it makes sense that osgShadow::SoftShadowMap is derived - from - osgShadow::ShadowMap, this makes it easier to maintain the two - classes. - Additional SoftShadowMap also provides the same Debug methods as - ShadowMap." - -2008-09-18 13:54 robert - - * src/osgWrappers/osg/AnimationPath.cpp: Updated wrappers - -2008-09-18 13:54 robert - - * include/osg/AnimationPath: From Alan Dickinson, change methods to - virtual. - -2008-09-18 13:18 robert - - * src/osgPlugins/OpenFlight/ExportOptions.cpp: From John - Argentieri, added missing _stripTextureFilePath( false ) - initializer. - -2008-09-18 13:09 robert - - * src/osgShadow/ShadowMap.cpp: From Chris Denham, added missing - ccopy of polyOffset in copy constructor - -2008-09-18 13:05 robert - - * src/osgShadow/ShadowMap.cpp: From Chris Denham, " - I think I may have discovered a bug in osgShadow/ShadowMap.cpp - that results in incomplete shadows being generated. - The problem seems to caused by an incorrect interpretation of the - spot light cutoff angle. The valid ranges for spot cutoff are - 0-90 and 180, i.e half the 'field of view' for the spotlight. - Whereas the shadow map code seems to assume the the spot cutoff - is equal to the field of view. This results in the shadows - generated by the spotlight getting clipped at half the spot - cutoff angle. - - I have fixed this in my copy of ShadowMap.cpp: - =============================== - //Original code from OSG 2.6: - if(selectLight->getSpotCutoff() < 180.0f) // spotlight, then we - don't need the bounding box - { - osg::Vec3 position(lightpos.x(), lightpos.y(), lightpos.z()); - float spotAngle = selectLight->getSpotCutoff(); - _camera->setProjectionMatrixAsPerspective(spotAngle, 1.0, 0.1, - 1000.0); - - _camera->setViewMatrixAsLookAt(position,position+lightDir,osg::Vec3(0.0f,1.0f,0.0f)); - } - =============================== - // My modifications: - float fov = selectLight->getSpotCutoff() * 2; - if(fov < 180.0f) // spotlight, then we don't need the bounding - box - { - osg::Vec3 position(lightpos.x(), lightpos.y(), lightpos.z()); - _camera->setProjectionMatrixAsPerspective(fov, 1.0, 0.1, 1000.0); - - _camera->setViewMatrixAsLookAt(position,position+lightDir,osg::Vec3(0.0f,1.0f,0.0f)); - } - - This change seems correct for spot cutoff in the range 0, 90, but - since OpenGL doesn't claim to support cutoffs >90 && <180, I'm - not sure how shadow map should deal with those cases, but - ignoring spot cut off greater than 90 here seems reasonable to - me. - " - -2008-09-18 12:57 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Ralf Habacker, "the - appended patch fixes the problem reported on - http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2008-January/006110.html. - " - - - > Using QOSGWidget - QWidget + osgViewer creating the graphics - context. - > - > Windows Error #2000: [Screen #0] - GraphicsWindowWin32::setWindow() - Unable - > to create OpenGL rendering context. Reason: The pixel format is - invalid. - > - > - > - > And then the following fate error pops up: - > - > - > - > The instruction at "0x014c7ef1" referenced memory at - "0x000000a4", The - > memory could not be "read". - > - > Click on Ok to terminate the program - > - > Click on CANCEL to debug the program - > - > - -2008-09-18 12:50 robert - - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Robert Osfield and - Christophe Loustaunau, fixes for support for 16bit and 32bit tiff - images - -2008-09-18 10:52 robert - - * examples/osgmultiplerendertargets/osgmultiplerendertargets.cpp, - src/osgDB/FieldReader.cpp: From Mathias Froehlich, "I did some - performance test runs with the development gcc-4.4 version. - To make it compiel with future gcc's we sppear to need the - attached missing - includes ..." - -2008-09-18 10:49 robert - - * src/osgPlugins/osgSim/CMakeLists.txt, - src/osgPlugins/osgSim/IO_OverlayNode.cpp: From Mathieu Marache, - "This is an addition for osgSim reader/writer for the osg ascii - file format adding osgSim::OverlayNode support. " - -2008-09-18 10:39 robert - - * src/osgParticle/ModularEmitter.cpp: From Tim Moore, "his - submission fixes a bug when the ModularEmitter and ParticleSystem - are in different frames of reference. Specifically, it supports - the case where the ParticleSystem is not in the world frame. One - way this can come up is if your world coordinate system is - Earth-centric; the float coordinates of particles don't have - enough precision to avoid terrible jitter and other rendering - artifacts, so it's convenient to root the particle systems in a - local Z-up coordinate system that gets moved around from time to - time. - " - - Tweak from Robert Osfield, converted code to use new - Drawable::getWorldMatrices method - -2008-09-18 10:38 robert - - * include/osg/Drawable, include/osg/Node, src/osg/Drawable.cpp, - src/osg/Node.cpp, src/osgWrappers/osg/Drawable.cpp, - src/osgWrappers/osg/Node.cpp: Improved the constness of - parameters the Node::getWorldMatrices(..) method. - - Added Drawable::getWorldMatrices(const Node*) method. - -2008-09-17 20:02 robert - - * src/osgPlugins/ogr/ReaderWriterOGR.cpp: From Rob Bloemkool, "This - is a submission for src/osgPlugins/ogr/ReaderWriterOGR.cpp - - adds display of options when using osgconv --formats. - - adds useGroupPerFeature option to have each feature in a - separate group. Usage: OSG_OPTIMIZER=OFF osgconv -e ogr -O - addGroupPerFeature - " - -2008-09-17 19:51 robert - - * src/osgUtil/SceneView.cpp: From Ewe Woessner, "I looked at the - Anaglyphic stereo implementation in SceneView.cpp and think I - spotted some copy-paste bugs. - - osg::ColorMask* leftColorMask = _renderStageLeft->getColorMask(); - if (!leftColorMask) - { - leftColorMask = new osg::ColorMask(); - _renderStageLeft->setColorMask(leftColorMask); - ^^^^ here it said right, I think this should be Left. - } - - - // ensure that right eye color planes are active. - osg::ColorMask* rightColorMask = - _renderStageRight->getColorMask(); - ^^^^ similar here, I think this should be right - if (!rightColorMask) - { - rightColorMask = new osg::ColorMask(); - _renderStageRight->setColorMask(rightColorMask); - } - - and i further removed an unnecessary setColorMask." - -2008-09-17 19:25 robert - - * CMakeLists.txt, CMakeModules/OsgMacroUtils.cmake: From Mattias - Helsing, - - CMakeLists.txt changes: "I installed latest Cmake(2.6.1) on a new - machine and got a CMP008 - warning from cmake. This fix set up osg to use the old behaviour - which - have worked before. We might set this to NEW but I need to do - more - testing first. I'l be able to test this on winxp with msvc80/90 - and - ubuntu hardy with gcc-4.2. - - quote from cmake cvs log - policy CMP0008 to decides how to treat full path libraries that - do not - appear to be valid library file names. Such libraries worked by - accident in the VS IDE and Xcode generators with CMake 2.4 and - below." - - - OsgMarcroUtils.cmake changes: "On Philips suggestion truncated a - redundant if/else construction in - OsgMacroUtils to avoid developer warnings in cmake-2.6.1 - concerning - cmake policy CMP0008 which allows full paths to libraries only - with - valid library names - " - -2008-09-17 18:56 robert - - * CMakeLists.txt, src/osgDB/Registry.cpp: From Alberto Luaces, - "Cygwin's cmake build adds a "d" postfix to the plugins installed - in debug - mode. Nevertheless, the code doesn't acknowledge that, so I had - problems with - debug versions of the library not being able to open their - plugins whereas - the release versions worked fine. - - I have made the same changes in Registry.cpp that are available - for the rest - of platforms appending that "d" to their plugins. I have also - updated the - CMakeLists.txt file to get "_DEBUG" defined at compilation time. - I have - copied the already existent conditional block because of cmake's - bizarre - operator precedence. Since Cygwin defines both CYGWIN and WIN32, - the - following would suffice: - - IF(CYGWIN OR UNIX AND NOT WIN32 AND NOT APPLE) - - Sadly, it actually doesn't work, so I wrote a new conditional - block just for - Cygwin. I could join the two blocks when the parentheses support - is added in - newer versions of cmake." - -2008-09-17 18:54 robert - - * src/osgShadow/ParallelSplitShadowMap.cpp: From Adrian Egli, "i - came around reviewing my code, and found now finally a solution - to remove the polygon offset issue. as we all know the polygon - offset has a different behaviour on different GPU system (ATI, - NVidia) and this make the use of - polygon offset complicate. so i looked for a solution to remove - this offset. - - i changed the shader, also the filtering (default: on) use now a - correct 3x3 filter: - 1 0 1 - 0 2 0 - 1 0 1 - - div: 6 - - of course a better one would be - 1 2 1 - 2 4 2 - 1 2 1 - - div: 16 - but this isn't as performant as the simple filter above is. - because we need only 5 texture lookups instead of 9, and the - result is still good, if you wish we can add a enum to change the - pcf filter type once, if there is a need. - - - testet on NVidia Quatro 570M and on ATI Radeon X1600 - - " - -2008-09-17 18:51 robert - - * src/osgShadow/ParallelSplitShadowMap.cpp: From Adrian Egli, "I - changed the PSSM shadow map implementation, if we have filtered - turned on, it should be now correct. The implementation is more - robut on different scene. i tested it on NVIDIA card against a - park scene, a chess board and a terrain. - unfort. i couldn't test it on any ATI system. may there will be - still another problem there. if there are still some artefacts. - we should try out better fZOffSet value - " - -2008-09-17 18:42 robert - - * src/osg/GraphicsContext.cpp: From Bill Prendergast, "Found a typo - in CameraRenderOrderSortOp in osg/GraphicsContext.cpp - (V2.6.0 and prior) as noted below: - - struct CameraRenderOrderSortOp - { - inline bool operator() (const Camera* lhs,const Camera* rhs) - const - { - if (lhs->getRenderOrder()getRenderOrder()) return true; - if (rhs->getRenderOrder()getRenderOrder()) return false; - ---> return lhs->getRenderOrderNum()getRenderOrderNum(); - ^^^ ^^^ - } - }; - - Corrected code attached." - -2008-09-17 17:25 robert - - * examples/osggeometryshaders/osggeometryshaders.cpp: From - Christophe Loustaunau," - I have found some errors on the example osgGeometryShaders. It's - about the varying in the geometry shader. - take a look at the varying vec4 v_color. - In the vertex shader, v_color is initialized to gl_vertex - then in the geometry shader v_color is initialized to - gl_PositionIn[0] - and in the fragment shader v_color is used as the fragment color. - - Try to initialized v_color to vec4(1.0, 0.0, 0.0, 1.0) in the - vertex shader and comment the line : - " v_color = v;\n" in the geometry shader, and you will see the - lines as black ! - - It's because you have to use keywords in and out. - - extract from : - http://www.opengl.org/registry/specs/EXT/geometry_shader4.txt : - - in - for function parameters passed into a function or for input - varying - variables (geometry only) - - out - for function parameters passed back out of a function, but - not - initialized for use when passed in. Also for output varying - variables - (geometry only). - - Then for a geometry shader, a varying must be an array : - extract from : - http://www.opengl.org/registry/specs/EXT/geometry_shader4.txt : - - Since a geometry shader operates on primitives, each input - varying variable needs to be - declared as an array. Each element of such an array corresponds - to a - vertex of the primitive being processed. If the varying variable - is - declared as a scalar or matrix in the vertex shader, it will be a - one-dimensional array in the geometry shader. Each array can - optionally - have a size declared. If a size is not specified, it inferred by - the - linker and depends on the value of the input primitive type. - - - Here is a patch based on the svn version of osg that correct - that. - " - -2008-09-17 17:13 robert - - * src/osgWidget/WindowManager.cpp: From Max Bandazian, "Lines - 302-305 of WindowManager.cpp seem to have a parenthesizing error - - the code is - if( - (!win || win->getVisibilityMode() == Window::VM_PARTIAL) && - !win->isPointerXYWithinVisible(x, y) - ) continue; - - But it probably should be - - if (!win || (win->getVisibilityMode() == Window::VM_PARTIAL) && - !win->isPointerXYWithinVisible(x, y))) - continue; - - The effect of the bug is to segfault if a non-osgWidgets::Window - node hasn't been excluded from picking via NodeMask." - -2008-09-17 17:07 robert - - * src/osgWrappers/osg/Matrixd.cpp, src/osgWrappers/osg/Matrixf.cpp: - Updated wrappers - -2008-09-17 16:14 robert - - * examples/osgdepthpeeling/osgdepthpeeling.cpp, - examples/osghangglide/osghangglide.cpp, - examples/osglogo/osglogo.cpp, - examples/osgsimulation/osgsimulation.cpp, - examples/osgunittests/UnitTests_osg.cpp, - examples/osgvertexprogram/osgvertexprogram.cpp, - include/osg/AnimationPath, include/osg/Matrixd, - include/osg/Matrixf, src/osg/AutoTransform.cpp, - src/osg/CameraView.cpp, src/osg/Matrix_implementation.cpp, - src/osg/PositionAttitudeTransform.cpp, - src/osgManipulator/AntiSquish.cpp, - src/osgParticle/PrecipitationEffect.cpp, - src/osgSim/DOFTransform.cpp, src/osgSim/Sector.cpp, - src/osgText/Text.cpp, src/osgText/Text3D.cpp, - src/osgUtil/SceneGraphBuilder.cpp, src/osgViewer/View.cpp: From - Mathias Froehlich, "This is a generic optimization that does not - depend on any cpu or instruction - set. - - The optimization is based on the observation that matrix matrix - multiplication - with a dense matrix 4x4 is 4^3 Operations whereas multiplication - with a - transform, or scale matrix is only 4^2 operations. Which is a - gain of a - *FACTOR*4* for these special cases. - The change implements these special cases, provides a unit test - for these - implementation and converts uses of the expensiver dense matrix - matrix - routine with the specialized versions. - - Depending on the transform nodes in the scenegraph this change - gives a - noticable improovement. - For example the osgforest code using the MatrixTransform is about - 20% slower - than the same codepath using the PositionAttitudeTransform - instead of the - MatrixTransform with this patch applied. - - If I remember right, the sse type optimizations did *not* provide - a factor 4 - improovement. Also these changes are totally independent of any - cpu or - instruction set architecture. So I would prefer to have this - current kind of - change instead of some hand coded and cpu dependent assembly - stuff. If we - need that hand tuned stuff, these can go on top of this changes - which must - provide than hand optimized additional variants for the - specialized versions - to give a even better result in the end. - - An other change included here is a change to rotation matrix from - quaterion - code. There is a sqrt call which couold be optimized away. Since - we divide in - effect by sqrt(length)*sqrt(length) which is just length ... - " - -2008-09-17 14:23 robert - - * examples/osgwidgetlabel/osgwidgetlabel.cpp, - examples/osgwidgetwindow/osgwidgetwindow.cpp: Updated osgwidget - examples to use the new osg::clone() methods - -2008-09-17 14:23 robert - - * src/osgWrappers/genwrapper.conf, - src/osgWrappers/osgWidget/Box.cpp, - src/osgWrappers/osgWidget/Canvas.cpp, - src/osgWrappers/osgWidget/EventInterface.cpp, - src/osgWrappers/osgWidget/Frame.cpp, - src/osgWrappers/osgWidget/Label.cpp, - src/osgWrappers/osgWidget/Table.cpp, - src/osgWrappers/osgWidget/ViewerEventHandlers.cpp, - src/osgWrappers/osgWidget/Widget.cpp, - src/osgWrappers/osgWidget/Window.cpp, - src/osgWrappers/osgWidget/WindowManager.cpp: Updated wrappers of - osgWidget - -2008-09-17 14:21 robert - - * include/osgWidget/Box, include/osgWidget/Canvas, - include/osgWidget/EventInterface, include/osgWidget/Frame, - include/osgWidget/Label, include/osgWidget/Table, - include/osgWidget/UIObjectParent, - include/osgWidget/ViewerEventHandlers, include/osgWidget/Widget, - include/osgWidget/Window: Tweaks to facilitate osgWrapper build - -2008-09-17 14:21 robert - - * include/osg/Object: Introduce new templated clone(..) methods - that return the correct type of object cloned. - -2008-09-17 11:43 robert - - * CMakeModules/FindOurDCMTK.cmake, - src/osgPlugins/dicom/CMakeLists.txt: Added support for finding - DCMTK-3.5.4 installed lib/include placement - -2008-09-16 18:41 robert - - * doc/Doxyfiles/all_Doxyfile, doc/Doxyfiles/auto_Doxyfile, - doc/Doxyfiles/core_Doxyfile, doc/Doxyfiles/custom_Footer.html, - doc/Doxyfiles/doxyfile.cmake, src/osgWrappers/CMakeLists.txt, - src/osgWrappers/osg/Geometry.cpp, - src/osgWrappers/osgTerrain/Layer.cpp, src/osgWrappers/osgVolume, - src/osgWrappers/osgVolume/Export.cpp: Added osgVolume to docs and - wrappers - -2008-09-16 15:32 robert - - * examples/osgvolume/CMakeLists.txt, - examples/osgvolume/osgvolume.cpp, include/osgVolume, - include/osgVolume/Export, include/osgVolume/ImageUtils, - include/osgVolume/Version, src/CMakeLists.txt, src/osgVolume, - src/osgVolume/CMakeLists.txt, src/osgVolume/ImageUtils.cpp, - src/osgVolume/Version.cpp: Introduced beginings of osgVolume - NodeKit. - -2008-09-16 15:31 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Complted the first - pass at the DCMTK based dicom loader +Thu, 29 Mar 2012 09:57:47 +0000 +Checked in by : Robert Osfield +From Magnus Kessler, "remove unecessary conversion from float in double precision method" -2008-09-16 09:31 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 - * examples/osgmovie/osgmovie.cpp: Change the GLSL textureRec and - texture2D parameters to use .st to make sure they only use 2D - coords. - - Add setResizeNonPowerOfTwoHint to false for Texture2D. +add example that use AtomicCounterBuffer and show rendering order of fragments, +original idea from geeks3d.com." -2008-09-15 19:59 robert - * CMakeLists.txt, CMakeModules/FindOurDCMTK.cmake, - examples/osgvolume/osgvolume.cpp, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/dicom/CMakeLists.txt, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Added optional usage - of DCMTK in the dicom plugin -2008-09-15 11:27 robert +Thu, 29 Mar 2012 08:27:21 +0000 +Checked in by : Robert Osfield +Added int packing parameter to Image::readPixels(..) - * include/osgTerrain/Layer: From Ralf Habacker, removed redundent - SwitchLayer::clear() +Fri, 23 Mar 2012 16:09:30 +0000 +Checked in by : Robert Osfield +Removed trailing spaces -2008-09-14 10:31 robert +Fri, 23 Mar 2012 11:32:10 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and AUTHORS for 3.1.2 dev release - * include/osg/Geometry, src/osg/Geometry.cpp, - src/osgUtil/Simplifier.cpp: Introduced - Geometry::containsSharedArrays() and - Geometry::duplicateSharedArrays() to - support a fix to the osgUtil::Simplifier that couldn't handle - shared arrays +Fri, 23 Mar 2012 11:20:17 +0000 +Checked in by : Robert Osfield +Fixed potential memory leak -2008-09-13 13:38 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 - * examples/osgvolume/osgvolume.cpp: Added reading of whole - directories of images +-> this is already handle by current plugin : OK -2008-09-13 09:09 robert +2) they defined colors with only 3 color components - * include/osg/TransferFunction, src/osg/TransferFunction.cpp, - src/osgWrappers/osg/TransferFunction.cpp: Introduced - TransferFunction1D::assign(ValueMap&). +-> it leads to a crash when trying to acces to the fourth component + I fixed that -2008-09-12 15:41 robert +3) they contain empty primitive lists - * examples/osgvolume/osgvolume.cpp: Removed use of ints and reading - from gl_FragColor in shader +-> reading is ok, but osgviewer crashes when trying to display the geometries +The reason is that osg assume that DrawElementsare never empty (blunt acces to DrawElements.front() in PrimitiveSet.cpp) +I corrected this (on the plugin side), but I wonder : +Is it the responsability of plugins to create non empty DrawElements, or of osg core not to crash when they occur ? +If the responsability is on the osg core side, I can submit a patch to PrimitiveSet.cpp regarding that aspect. -2008-09-11 16:11 robert +4) they use a material binding scheme not supported by the plugin - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Updated version numbers in - prep for up comming dev release +->I've implemented a mechanism to handle this binding scheme -2008-09-11 16:06 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 +" - * CMakeLists.txt, ChangeLog: Added an svn update into the make - ChangeLog entry. -2008-09-11 16:01 robert - * src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osgTerrain/Layer.cpp, - src/osgWrappers/osgTerrain/TerrainTile.cpp: Updated wrappers +Fri, 23 Mar 2012 10:24:50 +0000 +Checked in by : Robert Osfield +From Ulrich Hertlein, "as discussed on osg-users there is an issue with clang++ on OS X and iOS that results in the following error:Users/stephan/Documents/Projekte/cefix/cefix/ios/../../libs/ios/include/OpenThreads/Atomic:244:48: +error: cannot initialize a parameter of type 'void *' with an lvalue of +type 'const void *const' + return __sync_bool_compare_and_swap(&_ptr, ptrOld, ptrNew); -2008-09-11 14:28 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. - * include/osgTerrain/Layer, src/osgTerrain/Layer.cpp, - src/osgTerrain/TerrainTile.cpp: Refinements to SwitchLayer and - WhiteListTileLoadedCallback +On OS X the cast compiles cleanly on both g++ (i686-apple-darwin11-llvm-g++-4.2 (GCC) +4.2.1) and clang++ (Apple clang version 3.1 (tags/Apple/clang-318.0.54)). +" -2008-09-11 14:27 robert - * src/osgTerrain/GeometryTechnique.cpp: Added support for - SwitchLayer into GeometryTechnique -2008-09-11 13:21 robert +Fri, 23 Mar 2012 10:21:51 +0000 +Checked in by : Robert Osfield +As per Ulrich Hertlrein's suggestion, changed APPLE_PLATFORM_SDK_CANONICAL_NAME to OSG_OSX_SDK_NAME. - * examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp, - include/osgTerrain/Layer, include/osgTerrain/TerrainTile, - src/osgTerrain/TerrainTile.cpp: Introduced - osgTerrain::WhiteListTileLoadedCallback for the management of - options terrain layers +Fri, 23 Mar 2012 10:18:27 +0000 +Checked in by : Robert Osfield +From Erik den Dekker, " IF(${CMAKE_OSX_SYSROOT} STREQUAL "/Developer/SDKs/MacOSX10.7.sdk") ... ELSEIF(${CMAKE_OSX_SYSROOT} STREQUAL "/Developer/SDKs/MacOSX10.5.sdk" OR ${CMAKE_OSX_SYSROOT} STREQUAL "/Developer/SDKs/MacOSX10.6.sdk") -2008-09-11 10:40 robert +... - * examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp: First - cut of WhiteListTileLoadedCallback +ELSEIF(EXISTS /Developer/SDKs/MacOSX10.4u.sdk) +... -2008-09-11 09:26 robert + ELSE() - * src/osg/Image.cpp: Changed the createGeodeFromImage code to use - the non power of two extension, and disabled mipmapping +... -2008-09-11 09:05 robert + ENDIF() - * examples/osgimagesequence/osgimagesequence.cpp: Added support for - reading source image file names from the command line. -2008-09-10 18:11 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) - * examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp, - include/osgTerrain/TerrainTile, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/ImageLayer.cpp, - src/osgPlugins/ive/TerrainTile.cpp, - src/osgPlugins/osgTerrain/ImageLayer.cpp, - src/osgPlugins/osgTerrain/TerrainTile.cpp, - src/osgTerrain/TerrainTile.cpp: Introduced - TerrainTile::TileLoadedCallback +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" -2008-09-10 16:17 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: - * src/osgPlugins/osgTerrain/ImageLayer.cpp: Removed unneccessary - compound name usage +1) Parse the path string to extract the version number -2008-09-10 11:38 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") - * src/osgPlugins/ive/DataOutputStream.cpp: Removed debugging output +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." -2008-09-10 11:28 robert - * src/osgPlugins/osgTerrain/ImageLayer.cpp: Changed the image - reading so that it leverages the osgDB::Input::readImage() method - to ensure that it picks up on any local paths set on the Input - object. -2008-09-10 11:27 robert +Wed, 21 Mar 2012 17:36:20 +0000 +Checked in by : Robert Osfield +Ran script to remove trailing spaces and tabs - * src/osgPlugins/osg/ReaderWriterOSG.cpp: Changed the path - management so that the node path is prepended on the database - path list, rather than replacing it. +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. -2008-09-10 11:27 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" - * examples/osgimagesequence/osgimagesequence.cpp: Added playing of - the imagesequence on creation of the imagesequence +Wed, 21 Mar 2012 11:36:54 +0000 +Checked in by : Robert Osfield +Added Traits::getContextVersion(uint,uint) -2008-09-10 11:26 robert +Wed, 21 Mar 2012 11:26:09 +0000 +Checked in by : Robert Osfield +Updated version number - * include/osg/Image, src/osg/Image.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/Image.cpp, src/osgPlugins/ive/ImageLayer.cpp, - src/osgPlugins/ive/IveVersion.h, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/ive/TextureCubeMap.cpp: Added - osg::Image::set/getWriteHint() that allows images themselves to - control how - they are written to disk, either inline or as an external file. - Added support for - this in the .ive plugin. Default of WriteHint is NO_PREFERNCE, in - which case it's - up to the reader/writer to decide. +Tue, 20 Mar 2012 12:01:02 +0000 +Checked in by : Robert Osfield +Removed inappropriate warning -2008-09-04 17:30 robert +Tue, 20 Mar 2012 11:18:45 +0000 +Checked in by : Robert Osfield +Replaced && with & to address error in handling bitmask - * src/osg/ImageSequence.cpp: Fix for when looping is is disabled +Mon, 19 Mar 2012 09:49:41 +0000 +Checked in by : Robert Osfield +From Lukasz Izdebski, Added StencilTwoSided support to ive plugin -2008-09-04 14:23 shuber +Fri, 16 Mar 2012 13:22:20 +0000 +Checked in by : Robert Osfield +Fixed the order of setting of CenterMode - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode-project +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. -2008-09-02 16:13 robert +" - * src/osgDB/Registry.cpp, src/osgPlugins/xine/ReaderWriterXine.cpp: - Added acceptance of .ogv extensions in xine-lib plugin -2008-09-02 12:55 robert - * include/osgTerrain/Layer: Added setSetName/getSetName() methods +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(). -2008-09-01 16:28 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 - * ChangeLog: Update ChangeLog +Fri, 9 Mar 2012 13:16:39 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and AUTHORS file for 3.1.1 dev release -2008-09-01 15:29 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. +" - * src/osgPlugins/ive/ShapeAttributeList.cpp: Replaced uint with - unsigned int -2008-09-01 15:27 robert - * CMakeLists.txt: Introduced a OSG_MAINTAINER section of cmake - build to help support making tags and branches +Thu, 8 Mar 2012 16:33:44 +0000 +Checked in by : Robert Osfield +Updated version number for 3.1.1 dev release -2008-09-01 14:05 robert +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." - * src/osgWrappers/osgWidget/Window.cpp: Updated wrappers +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 ;-) -2008-09-01 14:03 robert +Based on yesterdays trunk. - * include/osgWidget/Window, src/osgWidget/Window.cpp: Changed curr - and min to current and minimum respectively, to avoid compile - problems under Windows +* 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 ." -2008-09-01 12:40 robert - * src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/Object.cpp, - src/osgPlugins/ive/ReadWrite.h: Implemented support for - ShapeAttributeList, used John Vidar Larring's initial - submission as a base, but implementing the user data - functionality in a different - way to facilitate more flexible user data support -2008-09-01 12:39 robert +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. +" - * src/osgPlugins/ive/ShapeAttributeList.cpp, - src/osgPlugins/ive/ShapeAttributeList.h: From John Vidar Larring, - initial cut of .ive support for ShapeAttributeList user data -2008-09-01 11:09 robert - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Updated version for 2.7.2 - dev release +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." -2008-09-01 10:49 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" - * src/osgWrappers/osgSim/ShapeAttribute.cpp, - src/osgWrappers/osgTerrain/Layer.cpp: Updated wrappers +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. +" -2008-09-01 10:48 robert - * include/osgSim/ShapeAttribute: Added call to free in setValue - methods to prevent potential memory leak -2008-09-01 10:46 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 - * include/osgSim/ShapeAttribute: From Mathias Froehilch,"Current - include/osgSim/ShapeAttribute also misses string.h include - because of - strdup. - Attached is the changed file." +Mon, 5 Mar 2012 14:17:01 +0000 +Checked in by : Robert Osfield +From Paul Martz, "Just a minor update and typo fix. " -2008-09-01 10:22 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 - * src/osgUtil/SceneView.cpp: From He Sicong, "I found a bug here in - VERTICAL_SPLIT stereo type: - The vertical separation not actually displayed as it is set. So - some - display the up and down stereo images style will not be correct. - Someone may forget to change the "Horizontal" to "Vertical" after - copying and pasting the code from above HORIZONTAL_SPLIT code - segment. - I've attached the file. By replacing the incorrect "Horizontal" - to - "Vertical", the bug is gone. - " +Tested with osg plugin, FME (Safe software), Autodesk DWG TrueView +" -2008-09-01 10:19 robert - * examples/osgviewerGTK/osgviewerGTK.cpp: Removed std:: from in - front of strcmp and added a string.h -2008-09-01 10:06 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" - * include/osgSim/ShapeAttribute, - src/osgViewer/ViewerEventHandlers.cpp: From Wojciech Lewandowski, - "Most recent changes to CameraPathEventHandler change path - writing method. Now control points are written on the fly. But - default stream precision is not adjusted as it used to and - remains set to 6 digits (at least with VS 2008) so larger - coordinates like positions on Earth Ellipsoid loose lots of - fidelity. This patch fixes this issue. - " +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 : -2008-09-01 09:57 robert +typedef std::vector LastAppliedUniformList; +should be +typedef std::map LastAppliedUniformList; - * include/osg/Texture3D, include/osgTerrain/Layer: Build fixes for - Windows +Intel driver can use index uniform value > 200000. +With a std::vector, this index uniform value generate an out of memory error -2008-08-29 09:28 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." - * include/osgTerrain/Layer, src/osgTerrain/Layer.cpp: Added - CompositeLayer::addLayer(setname,filename) convinience function - -2008-08-29 09:26 robert - - * src/osgPlugins/quicktime/QTUtils.cpp: From Michael Guerrero, - "I've attached the files with the new addition of the "registered - = true" - flag set." - -2008-08-28 16:15 robert - - * include/osgTerrain/Layer, src/osgPlugins/ive/CompositeLayer.cpp, - src/osgPlugins/ive/SwitchLayer.cpp, - src/osgPlugins/osgTerrain/CompositeLayer.cpp, - src/osgPlugins/osgTerrain/HeightFieldLayer.cpp, - src/osgPlugins/osgTerrain/ImageLayer.cpp, - src/osgPlugins/osgTerrain/SwitchLayer.cpp, - src/osgTerrain/Layer.cpp: Introduce the concept of layer set - name, using the osg::Object::s/getName() to store - the setname, and using a compound string (set:setname:filename) - in place of standard filename when reading and writing - files. - -2008-08-28 09:43 robert - - * include/osg/AutoTransform, src/osg/AutoTransform.cpp, - src/osgWrappers/osg/AutoTransform.cpp, - src/osgWrappers/osgTerrain/Layer.cpp: Converted AutoTransform to - use doubles. - -2008-08-27 10:13 robert - - * include/osgTerrain/Layer, src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/Layer.cpp, src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/ive/SwitchLayer.cpp, - src/osgPlugins/ive/SwitchLayer.h, - src/osgPlugins/osgTerrain/CMakeLists.txt, - src/osgPlugins/osgTerrain/SwitchLayer.cpp, - src/osgTerrain/Layer.cpp: Introduced SwitchLayer which will form - the basis of provided support for varients - -2008-08-26 17:40 robert - - * examples/osgvolume/osgvolume.cpp, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Improved the GLSL - implementation. - -2008-08-26 12:55 robert - - * AUTHORS.txt, CMakeLists.txt, ChangeLog, README.txt: Added - ChangeLog target for updating the ChangeLog, and updated the - ChangeLog and AUTHORS files - -2008-08-26 12:05 robert - - * CMakeLists.txt, genwrapper.conf, - src/osgWrappers/Doxyfile.template, - src/osgWrappers/genwrapper.conf: Added wrapper build target for - generating the osgWrappers - -2008-08-26 09:39 robert - - * src/osgText/TextBase.cpp: Added provisional block in - computePositions() - -2008-08-26 08:41 robert - - * src/osgPlugins/quicktime/QTUtils.h: From Ulrich Hertlein, - attached is a small fix for a mismatched function signature - -2008-08-25 16:44 robert - - * CMakeLists.txt, ChangeLog, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Updated version number for - 2.7.1 release, and added - OSG_FORCE_QUERY_RESULT_AVAILABLE_BEFORE_RETRIEVAL Cmake option - that enables the occlusion query workaround for an OpenGL driver - crash - -2008-08-25 16:43 robert - - * src/osg/OcclusionQueryNode.cpp: From Doug McCorkle, via Paul - Martz who writes : "Summary: Some platforms/configurations cause - application crashes if the - occlusion query result is not ready for retrieval when the app - tries to - retrieve it. This fix adds an application-level wait loop to - ensure the - result is ready for retrieval. This code is not compiled by - default; add "-D - FORCE_QUERY_RESULT_AVAILABLE_BEFORE_RETRIEVAL" to get this code. - - Full, gory details, to the best of my recollection: - - The conditions under which we encountered this issue are as - follows: 64-bit - processor, Mac/Linux OS, multiple NVIDIA GPUs, multiple - concurrent draw - threads, VRJuggler/SceneView-based viewer, and a scene graph - containing - OcclusionQueryNodes. Todd wrote a small test program that - produces an almost - instant crash in this environment. We verified the crash does not - occur in a - similar environment with a 32-bit processor, but we have not yet - tested on - Windows and have not yet tested with osgViewer. - - The OpenGL spec states clearly that, if an occlusion query result - is not yet - ready, an app can go ahead and attempt to retrieve it, and OpenGL - will - simply block until the result is ready. Indeed, this is how - OcclusionQueryNode is written, and this has worked fine on - several platforms - and configurations until Todd's test program. - - By trial and error and dumb luck, we were able to workaround the - crash by - inserting a wait loop that forces the app to only retrieve the - query after - OpenGL says it is available. As this should not be required - (OpenGL should - do this implicitly, and more efficiently), the wait loop code is - not - compiled by default. Developers requiring this work around must - explicitly - add "-D FORCE_QUERY_RESULT_AVAILABLE_BEFORE_RETRIEVAL" to the - compile - options to include the wait loop." - -2008-08-25 15:57 robert - - * src/osgPlugins/ive/AnisotropicLighting.cpp, - src/osgPlugins/ive/AnisotropicLighting.h, - src/osgPlugins/ive/BumpMapping.cpp, - src/osgPlugins/ive/BumpMapping.h, - src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/Cartoon.cpp, src/osgPlugins/ive/Cartoon.h, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/Effect.cpp, src/osgPlugins/ive/Effect.h, - src/osgPlugins/ive/ReadWrite.h, src/osgPlugins/ive/Scribe.cpp, - src/osgPlugins/ive/Scribe.h, - src/osgPlugins/ive/SpecularHighlights.cpp, - src/osgPlugins/ive/SpecularHighlights.h: From Liang Aibin, added - support for : - osgFX::Effect - osgFX::AnisotropicLighting - osgFX::BumpMapping - osgFX::Cartoon - osgFX::Scribe - osgFX::SpecularHighlights. - -2008-08-25 15:37 robert - - * src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp: From Liang Aibin, - removed redundent spaces - -2008-08-25 15:20 robert - - * src/osgPlugins/quicktime/MovieData.cpp, - src/osgPlugins/quicktime/MovieData.h, - src/osgPlugins/quicktime/QTUtils.cpp: From Michael Guerrero, - Fixed crash that occurred when openning an new movie file after - all previous movie ImageStream had been closed. Also add a - missing close of the movie file. - -2008-08-25 15:03 robert - - * src/osgPlugins/OpenFlight/FltExportVisitor.cpp: From Paul Martz, - "This change fixes a problem with PAT nodes during FLT export." - - Note, Paul Martz has merged this patch into OpenSceneGraph-2.6. - -2008-08-25 14:59 robert - - * src/osgPlugins/osg/CMakeLists.txt, - src/osgPlugins/osg/StateAttribute.cpp: From Guillaume Chouvenc, - "I have added the file StateAttribute.cpp in src/osgPlugins/osg - to support the reading and writing of StateAttribute Callback - in osg files. - " - -2008-08-25 14:54 robert - - * src/osgPlugins/osg/StateSet.cpp, src/osgPlugins/osg/Uniform.cpp: - From Guillaume Chouvenc, "I have modified Uniform.cpp and - StateSet.cpp in src/osgPlugins/osg - to support the reading and writing of Uniform Callback and - StateSet Callback in osg files." - -2008-08-25 11:37 robert - - * examples/osgvolume/osgvolume.cpp: Added testing of max texture - size using a realize operation - -2008-08-25 10:38 robert - - * examples/osgvolume/osgvolume.cpp: Added support for event handler - for non shader path, enable alpha func - -2008-08-25 10:38 robert - - * src/osg/StateSet.cpp: Removed debug info - -2008-08-25 10:20 robert - - * src/osg/ClipNode.cpp, src/osg/LightSource.cpp, - src/osg/StateSet.cpp, src/osg/TexGenNode.cpp: Moved _stateset = - new StateSet instances to setStateSet(new StateSet) to make - sure the wiring up of the StateSet parents is done consistently - -2008-08-25 09:53 robert - - * examples/osgvolume/osgvolume.cpp: Added command line arguments to - Viewer constructor, and added meaningful error message when no 3d - image is provided - -2008-08-22 16:39 robert - - * CMakeLists.txt, src/osgDB/Registry.cpp, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/dicom, - src/osgPlugins/dicom/CMakeLists.txt, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Introduced initial - cut of a dicom loader, which uses ITK to do the loading. - -2008-08-22 16:37 robert - - * src/osg/KdTree.cpp: Added warning message - -2008-08-22 16:35 robert - - * examples/osgvolume/osgvolume.cpp: Added support for reading the - image transform from UserData in the form of a Matrix. - -2008-08-19 17:41 robert - - * src/osg/KdTree.cpp: Added checked against an empty _kdNodes list - before commensing with intersection - -2008-08-18 15:08 robert - - * examples/osgvolume/osgvolume.cpp: Added --mip command line option - which enables Maximum Intensity Projection filtering - -2008-08-18 15:06 robert - - * src/osgPlugins/ive/BlendEquation.cpp, - src/osgPlugins/ive/BlendEquation.h, - src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/ReadWrite.h: Added .ive support for - BlendEquation - -2008-08-18 14:49 robert - - * src/osgPlugins/osg/BlendEquation.cpp, - src/osgPlugins/osg/CMakeLists.txt: Added BlendEquation .osg - support - -2008-08-18 12:39 robert - - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - AUTHORS file for 2.7.0 release - -2008-08-18 11:55 robert - - * ChangeLog: Updated ChangeLog for 2.7.0 release - -2008-08-18 11:48 robert - - * src/osgWrappers/osgWidget/StyleManager.cpp: Updated wrappers - -2008-08-18 11:21 robert - - * include/osgWidget/StyleManager, src/osgWidget/StyleManager.cpp: - From Sergey Leontyev, "1. In StyleManager - - - - when applying styles to a Label element the code below runs in a - infinite loop. - - The reason for this is that nothing increments the Reader "r" in - the case when applying a style to label, - - so I advance the reader when no match was found. - - ( To replicate the error apply style to any label) - - - - replaced this: - - while(!r.eof()) if(_styles[style]->applyStyle(t, r)) inc = true; - - - - with this: - - while(!r.eof()) - - { - - if(_styles[style]->applyStyle(t, r)) - - inc = true; - - else - - r.advanceOverCurrentFieldOrBlock(); - - } - - - - - - I tested it and it works well for me, I did not find any problems - with it. - - - - - - 2. Added style support for Canvas element, event though there is - no styles to apply yet. - - It is usefull for someone who inherits from Canvas class to - develop another element. - - If applyStyle(Canvas) does not exist - - there is no way to apply style to the element that inherited from - Canvas element. - - - - Added virtual - - bool applyStyle(Canvas). - - - - and in added call to apply style if the Object is of type Canvas: - - StyleManager::_applyStyleToObject(osg::Object* obj, const - std::string& style) { - - ... - - - - else if(!std::string("Canvas").compare(c)) - - return _coerceAndApply(obj,style,c); - - " - -2008-08-18 11:17 robert - - * src/osgWidget/Box.cpp, src/osgWidget/Canvas.cpp, - src/osgWidget/Frame.cpp, src/osgWidget/Input.cpp, - src/osgWidget/Label.cpp, src/osgWidget/Lua.cpp, - src/osgWidget/Python.cpp, src/osgWidget/StyleManager.cpp, - src/osgWidget/Table.cpp, src/osgWidget/Util.cpp, - src/osgWidget/Version.cpp, src/osgWidget/ViewerEventHandlers.cpp, - src/osgWidget/Widget.cpp, src/osgWidget/Window.cpp, - src/osgWidget/WindowManager.cpp: Ran fixtabs to enforce four - space tabs - -2008-08-18 11:00 robert - - * doc/Doxyfiles/doxyfile.cmake, include/osg/AnimationPath, - include/osg/Camera, include/osgUtil/CullVisitor, - include/osgWidget/StyleInterface, - src/osgWrappers/osg/PagedLOD.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/ImagePager.cpp, - src/osgWrappers/osgViewer/GraphicsWindow.cpp: From Erik van - Dekker, - - "I made several modifications: - - - - * The cause of my errors was that my OSG source directory path - contains spaces. To fix this issue I wrapped all paths with - quotes, as stated in doxygen documentation. - - - - * I also received some warning messages about deprecated doxygen - settings, which I fixed by updating the doxygen file, i.e. - running \u2018doxygen \u2013u doxygen.cmake\u2018. By running - this command deprecated doxygen options are removed, some option - comments have changed and quite some options have been added (I - kept their default settings unless mentioned). - - - - * I was surprised to find that the doxygen OUTPUT_DIRECTORY was - set to \u201c${OpenSceneGraph_SOURCE_DIR}/doc\u201d, which does - not seem appropriate for out of source builds; I changed this to - \u201c${OpenSceneGraph_BINARY_DIR}/doc\u201d. (On the other hand, - maybe a cmake selectable option should be given to the user?) - - - - * Fixed two warnings I received about unexpected - end-of-list-markers in \u2018osg\AnimationPath and - \u2018osgUtil\CullVisitor due to excess trailing points in - comments. - - - - * Fixed a warning in osgWidget\StyleInterface due to an #include - directive (strangely) placed inside a namespace. - - - - * Fixed a warning in osg\Camera due to the META_Object macro that - confused doxygen. Adding a semi-colon fixed this. - - - - * Removed auto_Mainpage from the INCLUDE option, because I am - positive that this file does not belong there; It never generated - useful documentation anyway. - - - - * I added the OSG version number environment variable to the - PROJECT_NUMBER option so that the version number is now shown on - the main page of generated documentation (e.g. index.html). - - - - * Changed option FULL_PATH_NAMES to YES, but made sure - STRIP_FROM_PATH stripped the absolute path until the include dir. - This fixed an issue that created mangled names for identical - filenames in different directories. E.g. osg/Export and - osgDB/Export are now correctly named. - - - - * Changed option SHOW_DIRECTORIES to yes, which is a case of - preference I guess. - - " - -2008-08-18 10:47 robert - - * include/osg/ShapeDrawable: Removed todo entry - -2008-08-17 16:52 robert - - * include/osg/PagedLOD, include/osgDB/DatabasePager, - include/osgDB/ImagePager, src/osg/PagedLOD.cpp, - src/osgDB/DatabasePager.cpp, src/osgDB/ImagePager.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: From - Maceij Krol, "I have implement frame based expiration of PagedLOD - children. - - New attribute DatabasePager::_expiryFrames sets number of frames - a PagedLOD child is kept in memory. The attribute is set with - DatabasePager::setExpiryFrames method or OSG_EXPIRY_FRAMES - environmental variable. - - New attribute PagedLOD::PerRangeData::_ - frameNumber contains frame number of last cull traversal. - - Children of PagedLOD are expired when time _AND_ number of frames - since last cull traversal exceed OSG_EXPIRY_DELAY _AND_ - OSG_EXPIRY_FRAMES respectively. By default OSG_EXPIRY_FRAMES = 1 - which means that nodes from last cull/rendering - traversal will not be expired even if last cull time exceeds - OSG_EXPIRY_DELAY. Setting OSG_EXPIRY_FRAMES = 0 revokes previous - behaviour of PagedLOD. - - Setting OSG_EXPIRY_FRAMES > 0 fixes problems of children - reloading in lazy rendering applications. Required behaviour is - achieved by manipulating OSG_EXPIRY_DELAY and OSG_EXPIRY_FRAMES - together. - - Two interface changes are made: - - DatabasePager::updateSceneGraph(double currentFrameTime) is - replaced by DatabasePager::updateSceneGraph(const osg::FrameStamp - &frameStamp). The previous method is in #if 0 clause in the - header file. Robert, decide if You want to include it. - - PagedLOD::removeExpiredChildren(double expiryTime, NodeList - &removedChildren) is deprecated (warning is printed), when - subclassing use PagedLOD::removeExpiredChildren(double - expiryTime, int expiryFrame, NodeList &removedChildren) instead. - " - -2008-08-17 16:45 robert - - * src/osgSim/OverlayNode.cpp: From Jason Beverage, "I've got a few - machines that OSG incorrectly believes support - FRAME_BUFFER_OBJECTS so I am manually trying to set the - renderTargetImplementation to PIXEL_BUFFER or PIXEL_BUFFER_RTT. I - noticed that this call wasn't setting the camera's overlay data - properly because the setRenderTargetImplementation simply calls - init() which only does anything for - OBJECT_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY. Any subsequent calls - to getOverlayData will simply return the cached OverlayData - instead of setting it up. - - My fix updates the camera's render target implementation for all - OverlayData objects in the OverlayDataMap." - -2008-08-15 17:35 robert - - * src/osgUtil/RenderStage.cpp: From Paul Palumbo, "Fixes a typo in - coverage antialiasing code... Without this fix, get incorrect - antialiasing results. " - -2008-08-15 17:32 robert - - * include/osgViewer/GraphicsWindow, - include/osgViewer/api/Win32/GraphicsWindowWin32, - include/osgViewer/api/X11/GraphicsWindowX11, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp: From Jutta Sauer, "We added - a raise window method to GraphicsWindow. And added two - implementations for Win32 and X11. - - " - -2008-08-15 17:26 robert - - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Updated version numbers in - prep for next dev release - -2008-08-15 17:25 robert - - * src/osgUtil/SceneView.cpp: From Frashid Larshkari, "I modified - the vertical/horizontal interlace stereo modes so that they - use the osg::State::applyMode for enabling/disabling certain - while - rendering the stencil mask. Previously some of these calls were - overriding the scene graph states because the global state was - not - aware of this change. - - " - -2008-08-15 17:18 robert - - * src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/Program.cpp: - Added support for geometry shader attributes - -2008-08-15 16:43 robert - - * src/osgPlugins/osg/Program.cpp: From Stephane Lamoliatte, "I - added the osg::Program parameters support for the osg plug'in. - Now we could correctly configure geometry shaders in osg files." - - Notes from Robert Osfield, renamed the names of the parameters to - be less GL centric and more human readable. - -2008-08-15 16:21 robert - - * examples/osgimagesequence/osgimagesequence.cpp, - include/osg/ImageSequence, src/osg/ImageSequence.cpp, - src/osgPlugins/ive/ImageSequence.cpp, - src/osgPlugins/osg/ImageSequence.cpp, - src/osgWrappers/osg/ImageSequence.cpp: Changed - osg::ImageSequence::set/getDuration to set/getLength() to be in - keeping with the - osg::ImageStream's getLength(). - -2008-08-15 13:07 robert - - * examples/osgmovie/osgmovie.cpp: Fixed the name of _playToggle -2008-08-15 13:06 robert - * src/osgWrappers/osg/ImageSequence.cpp, - src/osgWrappers/osg/ImageStream.cpp, - src/osgWrappers/osgUtil/IntersectionVisitor.cpp: Updated wrappers +Thu, 1 Mar 2012 10:14:55 +0000 +Checked in by : Robert Osfield +Removed redudent spaces at ends of lines -2008-08-15 12:45 robert +Wed, 29 Feb 2012 14:01:44 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and AUTHORS for dev release - * examples/osgimagesequence/osgimagesequence.cpp, - include/osg/ImageSequence, include/osg/ImageStream, - src/osg/ImageSequence.cpp: Further work on osg::ImageSequence, - improving pause functionality, and introducing new seek(double - time) method +Wed, 29 Feb 2012 10:22:56 +0000 +Checked in by : Robert Osfield +Improved the handling of endian swap of osg::Array -2008-08-14 16:29 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 - * include/osg/ImageSequence, src/osg/ImageSequence.cpp: Added - initial looping and pause play support +I also updated the member variables to use OSG's leading-underscore convention." -2008-08-14 16:28 robert - * examples/osgimagesequence/osgimagesequence.cpp: Added event - handler to toggling looping and play/pause -2008-08-14 14:22 robert +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. - * include/osgUtil/IntersectionVisitor, - src/osgUtil/IntersectionVisitor.cpp: Implemented a reference eye - point and associated methods in support of intersecting - billboards +Please find as attachment the proposed patch against latest svn version. +" -2008-08-05 20:05 robert - * README.txt: From Eric Sokolowski, added OSX release notes to - READEME -2008-08-05 20:05 robert +Tue, 28 Feb 2012 11:37:09 +0000 +Checked in by : Robert Osfield +Added build problem with using float Matrix. - * doc/Doxyfiles/auto_Doxyfile, doc/Doxyfiles/core_Doxyfile, - doc/Doxyfiles/doxyfile.cmake: Added osgWidget to doc building +Tue, 28 Feb 2012 10:21:21 +0000 +Checked in by : Robert Osfield +From Thomas Hogarth, build fix for IOS build -2008-08-05 19:17 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 - * include/osgFX/Export, include/osgIntrospection/Export, - include/osgManipulator/Export, include/osgParticle/Export, - include/osgShadow/Export, include/osgSim/Export, - include/osgTerrain/Export, include/osgText/Export, - include/osgWidget/Export: Improved the doxygen docs over the - various namespaces +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. -2008-08-05 16:05 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 - * CMakeLists.txt: From Eric Sokolowki, disabled default build of - 64bit under OSX to prevent build problems +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. -2008-08-05 15:27 robert +Fri, 24 Feb 2012 10:56:48 +0000 +Checked in by : Robert Osfield +Cleaned up CMake warning - * AUTHORS.txt, NEWS.txt, applications/osgversion/osgversion.cpp: - Merged from OpenSceneGraph-2.6 branch +Thu, 23 Feb 2012 17:51:40 +0000 +Checked in by : Robert Osfield +Moved the state.applyTextureMode(0,GL_TEXTURE_2D,osg::StateAttribute::ON); -2008-08-05 15:11 robert +into the #if defined(OSG_GL_FIXED_FUNCTION_AVAILABLE) block to solve problems under GLES and GL3.x/GL4.x - * src/osg/Notify.cpp: Added NullStream class that automatically - creates and delete the NullStreamBuffer, thus fixing a memory - leak -2008-08-05 15:06 robert - * src/osgViewer/CMakeLists.txt: From Eric Sokolowski, "Fixed the - build of the osgViewer library to get GL/glx.h from the right - place, when building on OSX with X11" -2008-08-05 11:17 robert +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 :-) " - * CMakeLists.txt, include/osg/AutoTransform, include/osg/Version, - include/osgShadow/ParallelSplitShadowMap, - src/osgPlugins/ive/AutoTransform.cpp, - src/osgPlugins/osg/AutoTransform.cpp, - src/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/osg/AutoTransform.cpp: Merged changes to - OpenSceneGraph-2.6 into trunk using : - - svn merge -r 8729:8734 - http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.6 - . +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" -2008-08-04 20:48 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; - * packaging/pkgconfig/openscenegraph.pc: Added -losgWidget to the - list of libs +protected: + AList _alist; + //... +} +} -2008-08-04 17:08 robert +REGISTER_OBJECT_WRAPPER( A, + new Bug::A, + Bug::A, + "osg::Object Bug::A" ) +{ + ADD_LIST_SERIALIZER(A,Bug::A::AList); +} - * include/osg/GLExtensions: From Sherman Wilcox, "Minor change to - bool setGLExtensionFuncPtr(T& t, const char* str1) and - setGLExtensionFuncPtr(T& t, const char* str1, const char* str2) - - functions returned false even on success." -2008-08-04 15:09 robert +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 - * AUTHORS.txt: Updated AUTHORS file +we call osgDB::writeObjectFile(A1,"/data/a.osgt") -> saved correctly( third element in list is saved as unique id that references parentClass -2008-08-04 15:08 robert +now we call +A1 = osgDB::readObjectFile("/data/a.osgt"); - * ChangeLog: Updated ChangeLog +Everything is deserialized correctely except last element in list which should be same instance as parent A1. -2008-08-04 15:08 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. +" - * NEWS.txt: Updated news for 2.6.0 release rc2 -2008-08-04 14:01 robert - * include/osg/FrameBufferObject: From Philip Lowman, workaround of - Centos 5's missing definition of GL_MAX_SAMPLES_EXT. +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." -2008-08-04 12:47 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. - * src/osgParticle/PrecipitationEffect.cpp: Moved initial drawable - setup to within the mutex locked section to avoid multi-threaded - crash on startup. +* 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 -2008-08-04 12:27 robert +Now OSG compiles out of the box for MacOSX 10.7. , tested with gcc and clang with FlightGear." - * src/osg/Texture3D.cpp: Removed debug info -2008-08-04 09:05 robert - * src/osgPlugins/quicktime/QTImportExport.cpp: From Ulrich - Hertlien, "attached is a patch to - src/osgPlugins/quicktime/QTImportExport.cpp that fixes loading - images using the quicktime loader. Also fixes some minor bugs - like uninitialized variables and incorrect deletes. - - I'm a bit puzzled why this didn't pop up for more people as it's - quite severe: basically the filename was never set!"" +Tue, 21 Feb 2012 11:13:25 +0000 +Checked in by : Robert Osfield +From Chris Denham, "ReaderWriter3DS smoothing group handling corrections" -2008-08-04 08:45 robert +Tue, 21 Feb 2012 10:42:59 +0000 +Checked in by : Robert Osfield +Fixed warnings - * src/osgUtil/LineSegmentIntersector.cpp: Added a small epsilon - expansion of the bounding box being clipped/intersected against, - to avoid numberic errors causing problems. +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) -2008-08-03 20:35 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." - * src/osgGA/TerrainManipulator.cpp: Improved the terrain - intersection code so that it produces more stable terrain - movements. +Mon, 20 Feb 2012 12:36:53 +0000 +Checked in by : Robert Osfield +From Alexander Sinditskiy, "Fix loading small monochrome bmp images" -2008-08-03 16:57 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'." - * include/osgUtil/Optimizer, - include/osgViewer/api/Win32/GraphicsWindowWin32, - include/osgWidget/Window, - src/OpenThreads/win32/Win32ConditionPrivateData.h, - src/OpenThreads/win32/Win32Thread.cpp, src/osgUtil/Optimizer.cpp, - src/osgViewer/GraphicsWindowWin32.cpp: merged 2.6 branch changes - back into trunk using : svn merge -r 8699:8706 - http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.6 - . +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." -2008-08-03 16:48 robert +Mon, 20 Feb 2012 12:18:50 +0000 +Checked in by : Robert Osfield +From Riccardo Corsi, Added passing of EventVisitor pointer to event handlers. - * src/osg/KdTree.cpp: Moved bb expansion out of loop. +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... -2008-07-25 21:09 robert +In case you accept the submission, I've removed the comment as it would be misleading to leave it there." - * AUTHORS.txt, ChangeLog, applications/osgversion/osgversion.cpp: - Updated ChangeLog and AUTHORS.txt file for relese candidate -2008-07-25 21:01 robert - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Updated version numbers to - 2.6.0 +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." -2008-07-25 21:00 robert +Note from Robert Osfield, changed the Image::supportsTextureSubloading() to be const and to be implemented in the .cpp rather than inline. - * NEWS.txt, README.txt: Updated REAME and NEWS for 2.6 branch -2008-07-25 20:50 robert - * src/osgWidget/StyleManager.cpp, src/osgWidget/Widget.cpp: Updated - wrappers +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." -2008-07-25 20:50 robert - * examples/osgwidgetcanvas/osgwidgetcanvas.cpp, - examples/osgwidgetshader/osgwidgetshader.cpp, - include/osgWidget/EventInterface, include/osgWidget/StyleManager, - include/osgWidget/Widget, include/osgWidget/Window, - include/osgWidget/WindowManager, - src/osgWrappers/osgWidget/EventInterface.cpp, - src/osgWrappers/osgWidget/StyleManager.cpp, - src/osgWrappers/osgWidget/Widget.cpp, - src/osgWrappers/osgWidget/Window.cpp, - src/osgWrappers/osgWidget/WindowManager.cpp: Renamed enums in - osgWidget from ALLCAPITALS to normal OSG conventional of - AllCapital -2008-07-25 20:49 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. " - * src/osgWrappers/osgDB/PluginQuery.cpp: Added PluginQuery function - to wrappers +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. -2008-07-25 20:04 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)" - * include/osgWidget/Box, include/osgWidget/Canvas, - include/osgWidget/EventInterface, include/osgWidget/Export, - include/osgWidget/Frame, include/osgWidget/Input, - include/osgWidget/Label, include/osgWidget/Lua, - include/osgWidget/Python, include/osgWidget/ScriptEngine, - include/osgWidget/StyleInterface, include/osgWidget/StyleManager, - include/osgWidget/Table, include/osgWidget/Types, - include/osgWidget/UIObjectParent, include/osgWidget/Util, - include/osgWidget/ViewerEventHandlers, include/osgWidget/Widget, - include/osgWidget/Window, include/osgWidget/WindowManager, - src/osgWrappers/osgWidget/StyleManager.cpp, - src/osgWrappers/osgWidget/ViewerEventHandlers.cpp: Added OSGPL - Copyright notices - -2008-07-25 19:57 robert - - * include/osgWidget/Box, include/osgWidget/Canvas, - include/osgWidget/EventInterface, include/osgWidget/Frame, - include/osgWidget/Input, include/osgWidget/Label, - include/osgWidget/Lua, include/osgWidget/Python, - include/osgWidget/ScriptEngine, include/osgWidget/StyleInterface, - include/osgWidget/StyleManager, include/osgWidget/Table, - include/osgWidget/UIObjectParent, include/osgWidget/Util, - include/osgWidget/ViewerEventHandlers, include/osgWidget/Widget, - include/osgWidget/Window, include/osgWidget/WindowManager: - Restructured classes to better fit with style of the rest of the - OSG. -2008-07-25 19:53 robert - * include/osgDB/PluginQuery: Added include to help wrapper building +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." -2008-07-25 18:44 robert - * src/osg/ImageSequence.cpp: Improved handling of - PAGE_AND_RETAIN_IMAGES -2008-07-25 17:42 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." - * include/osg/ImageSequence, src/osg/ImageSequence.cpp, - src/osgPlugins/ive/ImageSequence.cpp, - src/osgWrappers/osg/ImageSequence.cpp, - src/osgWrappers/osg/Node.cpp: Reverted back to using - std::list -2008-07-25 16:23 robert - * src/osg/ImageSequence.cpp, src/osgPlugins/osg/ImageSequence.cpp: - Added Mode support +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 -2008-07-25 16:11 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). +" - * include/osg/ImageSequence, include/osg/NodeVisitor, - include/osgDB/ImagePager, src/osg/ImageSequence.cpp, - src/osgDB/ImagePager.cpp, src/osgWrappers/osg/ImageSequence.cpp, - src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osgDB/ImagePager.cpp: Updated wrappers, and - further refined the ImageSequence API -2008-07-25 15:45 robert - * src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/obj.cpp, src/osgPlugins/obj/obj.h: From Ulrich - Hertlein, "as I hinted at on osg-users in the "obj loader: map_* - only reads last component" thread, this submission broke - material/texture loading for some files I have that specify - texture matrix scaling. - - The following link shows a very comprehensive list of .mtl file - options: - http://local.wasp.uwa.edu.au/~pbourke/dataformats/mtl/ - - Attached is a patch that should fix spacey filenames and optional - texture scale/offset. I have tested it with files I have that I - modified to contain spaces in the texture filenames." +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. -2008-07-25 15:38 shuber +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." - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/osgimagesequence-Info.plist, - Xcode/OpenSceneGraph/osgwidgetmenu-Info.plist: From Stephan - Huber: updated XCode-project -2008-07-25 13:45 robert - * include/osg/ImageSequence, include/osgDB/ImagePager, - src/osg/ImageSequence.cpp, src/osgDB/ImagePager.cpp, - src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/ImageSequence.cpp, - src/osgPlugins/ive/ImageSequence.h, - src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/ive/Texture1D.cpp, - src/osgPlugins/ive/Texture2D.cpp, - src/osgPlugins/ive/Texture3D.cpp, - src/osgPlugins/ive/TextureCubeMap.cpp, - src/osgPlugins/ive/TextureRectangle.cpp: Added ImageSequence to - .ive plugin, added support for multiple ImageThreads in - osgDB::ImagePager +Thu, 9 Feb 2012 17:45:23 +0000 +Checked in by : Robert Osfield +Updated ChangeLog, AUTHORS and Contriburos.cpp files -2008-07-25 10:18 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? - * applications/osgconv/CMakeLists.txt, - applications/osgconv/PluginQuery.cpp, - applications/osgconv/PluginQuery.h, - applications/osgconv/osgconv.cpp, include/osgDB/PluginQuery, - src/osgDB/CMakeLists.txt, src/osgDB/PluginQuery.cpp: Moved - PluginQuery from osgconv into osgDB +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 -2008-07-25 10:18 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. - * src/osgPlugins/freetype/ReaderWriterFreeType.cpp: Added extension - docs +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. -2008-07-25 09:46 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. - * src/osgPlugins/shp/ESRIShapeReaderWriter.cpp: Added option docs +I'm assigning my copyright in this change to the osg project leads. +" -2008-07-24 17:38 robert - * applications/osgconv/PluginQuery.cpp: Added missing returns -2008-07-24 13:25 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(): + } + } - * src/osgPlugins/ive/ReaderWriterIVE.cpp: From Paul Martz, "Not - sure about the descriptions, so I left those blank. But at least - "osgconv --formats" will display the .ive options now." +- _abortRenderingPtr = false; ++ _abortRenderingPtr = NULL; -2008-07-24 12:48 robert + _checkGLErrors = ONCE_PER_FRAME; - * src/osgWrappers/osgUtil/CullVisitor.cpp: Updated wrappers +@@ -689,7 +689,7 @@ bool State::getLastAppliedTextureMode(unsigned int unit,Stat -2008-07-24 12:47 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); + } - * include/osgUtil/CullVisitor: Added - getCurrentCamera/getCurrentRenderStage methods +" -2008-07-24 12:18 robert - * src/osgUtil/CullVisitor.cpp: Added a getCurrentRenderStage() and - getCurrentCamera() convninience methods, and - converted the CullVisitor::apply(OcclusionQueryNode&) - implementation to use the - new getCurrentCamera method. -2008-07-24 12:06 robert +Thu, 9 Feb 2012 15:51:20 +0000 +Checked in by : Robert Osfield +From Paul Martz, a simple GL3 example - * applications/osgconv/PluginQuery.cpp: Improved the feedback for - when a plugin isn't available. +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." -2008-07-24 12:01 robert - * src/osgPlugins/obj/ReaderWriterOBJ.cpp: Added supportOptions() - entry docs -2008-07-24 12:01 robert +Thu, 9 Feb 2012 14:40:07 +0000 +Checked in by : Robert Osfield +From Colin McDonald, fix for Solaris build. - * applications/osgconv/PluginQuery.cpp, - applications/osgconv/PluginQuery.h, - applications/osgconv/osgconv.cpp: Added --format extname and - --plugin pluginname extensions, and improved formating +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)" -2008-07-24 11:22 robert - * src/osgPlugins/obj/obj.cpp: From Bob Kuehne, "fix for filenames - that have spaces within their name." - - Note form Robert, changed std::cout to osg::notify(osg::INFO) -2008-07-23 22:19 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. - * genwrapper.conf, src/osgWrappers/osgSim/OverlayNode.cpp: Updated - wrappers +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. -2008-07-23 22:19 robert +This is the changed section: - * include/osgSim/OverlayNode, src/osgSim/OverlayNode.cpp: - Refactored OverlayData so that its possible to subclass - OverlayNode/OverlayData. +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); + }" -2008-07-23 21:52 robert - * src/osgWrappers/osg/ImageSequence.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osgDB/ImagePager.cpp: Added wrappers -2008-07-23 21:49 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. +" - * include/osgDB/ImagePager, src/osgDB/ImagePager.cpp: Moved helper - classes into Protected section +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. -2008-07-23 21:25 robert - * src/osg/OcclusionQueryNode.cpp, src/osgUtil/CullVisitor.cpp: From - Paul Martz, typo fixes -2008-07-23 19:06 robert - * src/osgPlugins/svg/ReaderWriterSVG.cpp: Applied filename fix - suggested by Andrew Bettison. +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." -2008-07-23 19:04 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." - * include/osg/ImageSequence, include/osg/NodeVisitor, - include/osgDB/ImagePager, src/osg/ImageSequence.cpp, - src/osgDB/ImagePager.cpp: Implemented ImagePager internals +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). -2008-07-23 15:42 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. - * include/osg/PolygonMode, src/osg/PolygonMode.cpp: Fixed - unitialized variable +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. -2008-07-22 20:20 robert +The modified files are attached. A diff also follows, for those who like it." - * include/osg/ImageSequence, src/osg/ImageSequence.cpp: Further - work on ImageSequence +With the following changes from Robert Osfield: -2008-07-22 16:44 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: - * examples/osgimagesequence/osgimagesequence.cpp, - include/osg/ImageSequence, src/osg/ImageSequence.cpp, - src/osgPlugins/osg/ImageSequence.cpp: Added support for pruning - old images, recording the Duration in the .osg file, and -o - filename output support in osgimagesequence. + typedef osg::Plane::Vec3_type Vec3_type; -2008-07-22 15:58 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: - * examples/osgmovie/osgmovie.cpp: Improved position when multiple - videos are provided + typedef osg::Plane::Vec3_type Vec3_type; + typedef Vec3_type::value_type value_type; -2008-07-22 15: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." - * src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/Texture.cpp: Updated wrappers -2008-07-22 14:47 robert - * examples/osgimagesequence/osgimagesequence.cpp, - src/osg/ImageSequence.cpp, src/osg/Texture.cpp, - src/osgPlugins/osg/ImageSequence.cpp, - src/osgPlugins/osg/TextureCubeMap.cpp: Fixed handling of - TextureCubeMap's with mipmapped/ImageSequence/PBO's. -2008-07-22 12:40 robert - * src/osgPlugins/osg/ImageSequence.cpp, - src/osgPlugins/osg/Texture1D.cpp, - src/osgPlugins/osg/Texture2D.cpp, - src/osgPlugins/osg/Texture3D.cpp, - src/osgPlugins/osg/TextureCubeMap.cpp, - src/osgPlugins/osg/TextureRectangle.cpp: Added ImageSequence IO - support in Texture classes +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." -2008-07-22 12:28 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. - * include/osg/ImageSequence, include/osg/StateAttribute, - include/osg/Texture, src/osg/ImageSequence.cpp, - src/osg/Texture1D.cpp, src/osg/Texture2D.cpp, - src/osg/Texture2DArray.cpp, src/osg/Texture3D.cpp, - src/osg/TextureCubeMap.cpp, src/osg/TextureRectangle.cpp: Added - support for ImageSequence to all Texture classes +Tue, 7 Feb 2012 12:37:48 +0000 +Checked in by : Robert Osfield +From Alexander Irion, "Added missing format GL_ALPHA to Image::computeFormatDataType()." -2008-07-22 10:13 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." - * src/osgUtil/Optimizer.cpp: Disabled the setting of - Texture::setUnrefImageOnApply(true) when the imagery is - an ImageStream. +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." -2008-07-22 09:02 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." - * src/osgWidget/WindowManager.cpp: From Mario Valle, "The attached - osgWidget source solves three compilation warnings on VC 7.1 on - WindowsXP (OSG 2.5.5). - BTW the construct is absolutely legal C++, but VC 7.1 has a - different idea..." +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. -2008-07-21 23:42 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." - * include/osgViewer/ViewerEventHandlers, - src/osgViewer/ScreenCaptureHandler.cpp, - src/osgWrappers/osgUtil/Tessellator.cpp, - src/osgWrappers/osgUtil/TriStripVisitor.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Moved - osgViewer::ScreenCaptureHandler's WindowCaptureCallback from head - into .cpp - to clean up headers and avoid wrapper build issues. - - Updated wrappers -2008-07-21 22:38 robert - * include/osgUtil/TriStripVisitor: Removed the reducent non const - get methods +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." -2008-07-21 21:28 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. " - * applications/osgviewer/osgviewer.cpp, - include/osgViewer/ViewerEventHandlers, - src/osgViewer/ScreenCaptureHandler.cpp: From Jean-Sebastien Guay, - "Changes attached so that the CaptureOperation is passed in the - constructor of the ScreenCaptureHandler (default 0 = default - CaptureOperation). This way, you can do: - - viewer.addEventHandler(new osgViewer::ScreenCaptureHandler( - new osgViewer::WriteToFileCaptureOperation("filename", "jpg"))); - - and the filename will be what you want. The - WriteToFileCaptureOperation will add the context ID and the file - number (if in SEQUENTIAL_NUMBER mode) to the file name. - - (The attached also clarifies some notify messages, and corrects - the comment when adding the handler in osgviewer.cpp) - - I also remembered, the current architecture could allow a - different CaptureOperation for each context, but currently the - API only allows setting one CaptureOperation for all contexts. - This could be improved if need be. - - " +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. -2008-07-21 21:20 robert +The fix consists of changing the line + us.requestContinuousUpdate( false ); +to: + us.requestContinuousUpdate( isAnimating() || _thrown ); - * include/osgUtil/Tessellator, include/osgUtil/TriStripVisitor: - From Ruth Lang, "using osg version 2.5.5 and compiling my program - under OpenSUSE 11.0 - with gcc (version 4.3.1) I got the following error message in - include/osgUtil/TriStripVisitor and Tessellator - - error: type qualifiers ignored on function return type - - The errors belong all to a INLINE function definition. Find - attached my - modified version." +in OrbitManipulator::handleMouseWheel() as has been done for the +GUIEventAdapter::SCROLL_UP case a couple of lines earlier or in +src/osgGA/FirstPersonManipulator.cpp." -2008-07-21 21:17 robert - * src/osgPlugins/lwo/Surface.cpp, src/osgPlugins/lwo/Surface.h: - From Mario Valle, signed/unsgined warning fix -2008-07-21 21:00 robert - * examples/osgimagesequence/osgimagesequence.cpp, - include/osg/Image, include/osg/ImageSequence, - include/osg/NodeVisitor, include/osgDB/ImagePager, - src/osg/ImageSequence.cpp, src/osgDB/ImagePager.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/Viewer.cpp, src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/NodeVisitor.cpp: Further work on - osg::ImageSequence/osgDB::ImagePager -2008-07-21 20:44 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)); - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Upated version number for - dev release -2008-07-21 19:23 robert - * src/osgPlugins/OpenFlight/Record.cpp, - src/osgPlugins/OpenFlight/Record.h: Moved the ~Record body into - the .cpp to avoid a MipsPro compile error (due to a compiler bug) +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). " -2008-07-21 17:45 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." - * src/osgDB/ImagePager.cpp: Added call to - OpenThreads::Thread::cancel(); +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." -2008-07-21 17:39 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. " - * src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osgDB/Registry.cpp: Updated wrappers +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." -2008-07-21 17:28 robert - * examples/osgimagesequence/osgimagesequence.cpp, - include/osg/Image, include/osg/ImageSequence, - include/osg/ImageStream, src/osg/ImageSequence.cpp, - src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/ImageStream.cpp: Added basic image sequencing -2008-07-21 17:27 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." - * include/osgDB/Registry: Added non const getAuthenticationMap(). -2008-07-21 16:17 robert - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: Moved the if (!buffer) - check to infront of the memory initialization +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"." -2008-07-21 15:05 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. " - * examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp: Added - --login http authentication. +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 " -2008-07-21 15:04 robert +Mon, 6 Feb 2012 12:29:29 +0000 +Checked in by : Robert Osfield +Fixed indendation and line endings - * applications/osgviewer/osgviewer.cpp: Added --login url username - password http authentication option +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." -2008-07-21 10:57 robert - * examples/CMakeLists.txt, examples/osgimagesequence, - examples/osgimagesequence/CMakeLists.txt, - examples/osgimagesequence/osgimagesequence.cpp, - include/osg/ImageSequence, src/osg/ImageSequence.cpp: Initial cut - of osgimagesequence example -2008-07-21 10:48 shuber +Mon, 6 Feb 2012 12:05:36 +0000 +Checked in by : Robert Osfield +Fixed silly compiler warning that was being produced in error. - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/osgwidgetmenu-Info.plist: From Stephan - Huber: updated XCode-project +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." -2008-07-21 10:10 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. - * include/osgDB/ImagePager, src/osgDB/ImagePager.cpp, - src/osgWrappers/osg/ImageStream.cpp, - src/osgWrappers/osgViewer/Scene.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Added - ImagePager first cut, and updated wrappers +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). -2008-07-21 09:55 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. - * src/osgPlugins/osg/CMakeLists.txt, - src/osgPlugins/osg/ImageSequence.cpp: Added first cut of - ImageStream IO wrapper +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. -2008-07-21 09:47 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. - * include/osgViewer/Scene, include/osgViewer/View, - src/osgDB/CMakeLists.txt, src/osgDB/DatabasePager.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Scene.cpp, - src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp: First cut of - osgDB::ImagePager for updating osg::ImageSequence +There's even a small example video here: http://vimeo.com/31611842" -2008-07-21 09:46 robert - * include/osg/ImageSequence, include/osg/ImageStream, - src/osg/CMakeLists.txt, src/osg/ImageSequence.cpp: First cut of - osg::ImageSequence class -2008-07-18 21:17 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. - * src/osgWidget/CMakeLists.txt: From Adrain Elgi, added osgGA to - link list +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). -2008-07-18 11:39 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. - * src/osgDB/Field.cpp: Introduce a custom atof function that always - assumes data comes in form 10.10 with - the full stop used as a decimal place. +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. -2008-07-17 16:12 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. - * applications/osgviewer/osgviewer.cpp, - include/osgViewer/ViewerEventHandlers, - src/osgViewer/CMakeLists.txt, - src/osgViewer/ScreenCaptureHandler.cpp: From Jean-Sebastien Guay - and Robert Osfiled, osgViewer::ScreenCaptureHandler for - taking screenshots +There's even a small example video here: http://vimeo.com/31611842" -2008-07-17 14:25 robert - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - version and AUTHORS.txt for 2.5.5 release -2008-07-17 14:18 robert +Fri, 3 Feb 2012 11:10:17 +0000 +Checked in by : Robert Osfield +Improved handling of archives - * README.txt: Updated ChangeLog for 2.5.5 release +Fri, 3 Feb 2012 11:09:45 +0000 +Checked in by : Robert Osfield +From Terry Welsh, improved support for handling archives -2008-07-17 14:13 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. - * src/osgWrappers/osg/View.cpp, - src/osgWrappers/osgViewer/ViewerBase.cpp: Updated wrappers +The attached tweak makes GraphicsContext::close a bit less brutal for +shared contexts. I have also changed a misleading diagnostic message. +" -2008-07-17 13:51 robert - * include/osg/View, include/osgViewer/ViewerBase, src/osg/View.cpp, - src/osgPlugins/normals/Normals.cpp, - src/osgPlugins/normals/ReaderWriterNormals.cpp, - src/osgPlugins/stl/ReaderWriterSTL.cpp, - src/osgPlugins/x/ReaderWriterDirectX.cpp: From Ulrich Hertlein, - "attached are some minor tweaks: - - - fixed typos in osgViewer/ViewerBase - - const-ness in include/osg/View findSlaveIndexForCamera - - supported options for STL reader, fixed return values to - reflect proper errors - - supported options for DirectX reader, fixed return values - - normals pseudo-loader: scaling normals to a const (but - variable) fraction of the bounding sphere radius - " -2008-07-17 13:32 robert +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 " - * ChangeLog: Updated ChangeLog +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. -2008-07-17 13:23 shuber +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. - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project +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. -2008-07-17 12:26 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. - * src/osgWrappers/osgDB/AuthenticationMap.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgDB/Registry.cpp: Updated wrappers +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 -2008-07-17 12:13 robert +Fri, 27 Jan 2012 09:49:06 +0000 +Checked in by : Robert Osfield +From Kristofer Tingdahl, Added missing core OSG libraries. - * include/osgDB/AuthenticationMap, include/osgDB/ReaderWriter, - src/osgDB/AuthenticationMap.cpp, src/osgDB/CMakeLists.txt, - src/osgDB/ReaderWriter.cpp: Moved - AuthenticalMap/AuthenticationDetails out in their own files +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" -2008-07-17 11:55 robert +Thu, 26 Jan 2012 14:26:59 +0000 +Checked in by : Robert Osfield +Quietend down debug message - * include/osgDB/ReaderWriter, include/osgDB/Registry, - src/osgDB/ReaderWriter.cpp, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/curl/ReaderWriterCURL.h: Added - osgDB::AuthenticationMap/Details to osgDB and curl plugin to add - the ability - to authenticate http transfers +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. -2008-07-16 19:07 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. - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - Removed net plugin for Xcode projects +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." -2008-07-16 16:19 robert - * src/osgDB/Registry.cpp, src/osgPlugins/CMakeLists.txt: Moved .net - plugin out into Deprecated section of osg svn repostitory -2008-07-16 16:19 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." - * src/osgWidget/WindowManager.cpp: Fixed path to font -2008-07-16 16:05 robert - * src/osgFX/Cartoon.cpp: Set the default setting of LineWidth to - 2.0 to ensure that old default behavior - is maintained. +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." -2008-07-16 16:04 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" - * src/osgFX/Cartoon.cpp: From Vincent Bourdier, removed line with - setWidth(2.0) as this code prevents - user settings of line with. -2008-07-16 15:58 robert - * src/osgFX/MultiTextureControl.cpp: Cleaned up the updateStateSet - code +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. -2008-07-16 15:58 robert +Tue, 24 Jan 2012 17:57:01 +0000 +Checked in by : Robert Osfield +Made the cursor state protected. - * examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp: - Refactored the MultiTextureControl node callback so that the - update is now - done as an update callback, with the elevation aquired via a cull - callback +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. -2008-07-16 13:29 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. - * src/osgWrappers/osg/KdTree.cpp: Updated wrappers +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." -2008-07-16 13:26 robert - * include/osg/KdTree, src/osg/KdTree.cpp: Changed int's to unsigned - int's to avoid warnings -2008-07-16 13:23 robert +Tue, 24 Jan 2012 17:47:04 +0000 +Checked in by : Robert Osfield +Fixed indentation and spaces at ends of lines. - * src/osg/Texture1D.cpp, src/osg/Texture2D.cpp, - src/osg/Texture2DArray.cpp, src/osg/Texture3D.cpp, - src/osg/TextureCubeMap.cpp, src/osg/TextureRectangle.cpp: Moved - the _textureObjectBuffer assignment to after the imagery has been - download to avoid crashes under multi-threaded compile of texture - objects (was causing a crash with 3D Textures, but is something - that would happen with other Texture types as well.) +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." -2008-07-16 12:53 shuber +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. - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/osgWidget.plist: From Stephan Huber: updated - XCode-project, included osgWidget-Framework +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. -2008-07-16 11:40 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. - * src/osg/KdTree.cpp: Removed a division by precomputing the - associated values +Tue, 24 Jan 2012 15:44:58 +0000 +Checked in by : Robert Osfield +Fixed compile error -2008-07-15 22:30 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. - * examples/osgwidgetaddremove/osgwidgetaddremove.cpp, - examples/osgwidgetframe/osgwidgetframe.cpp, - examples/osgwidgetinput/osgwidgetinput.cpp, - examples/osgwidgetlabel/osgwidgetlabel.cpp, - examples/osgwidgetmenu/osgwidgetmenu.cpp, - examples/osgwidgetnotebook/osgwidgetnotebook.cpp, - examples/osgwidgetscrolled/osgwidgetscrolled.cpp, - examples/osgwidgetshader/osgwidgetshader.cpp: From Jeremy Moles, - Updated file references to reflect new data in - OpenSceneGraph-Data +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. -2008-07-15 22:13 robert - * src/osgWrappers/osgWidget, src/osgWrappers/osgWidget/Box.cpp, - src/osgWrappers/osgWidget/Canvas.cpp, - src/osgWrappers/osgWidget/EventInterface.cpp, - src/osgWrappers/osgWidget/Export.cpp, - src/osgWrappers/osgWidget/Frame.cpp, - src/osgWrappers/osgWidget/Input.cpp, - src/osgWrappers/osgWidget/Label.cpp, - src/osgWrappers/osgWidget/Lua.cpp, - src/osgWrappers/osgWidget/Python.cpp, - src/osgWrappers/osgWidget/ScriptEngine.cpp, - src/osgWrappers/osgWidget/StyleInterface.cpp, - src/osgWrappers/osgWidget/StyleManager.cpp, - src/osgWrappers/osgWidget/Table.cpp, - src/osgWrappers/osgWidget/Types.cpp, - src/osgWrappers/osgWidget/ViewerEventHandlers.cpp, - src/osgWrappers/osgWidget/Widget.cpp, - src/osgWrappers/osgWidget/Window.cpp, - src/osgWrappers/osgWidget/WindowManager.cpp: Added osgWidget - wrappers -2008-07-15 22:03 robert - * examples/osgwidgetaddremove/osgwidgetaddremove.cpp, - examples/osgwidgetframe/osgwidgetframe.cpp, - examples/osgwidgetinput/osgwidgetinput.cpp, - examples/osgwidgetlabel/osgwidgetlabel.cpp, - examples/osgwidgetmenu/osgwidgetmenu.cpp, - examples/osgwidgetnotebook/osgwidgetnotebook.cpp, - examples/osgwidgetscrolled/osgwidgetscrolled.cpp, - examples/osgwidgetshader/osgwidgetshader.cpp: Converted tabs to - four spaces - -2008-07-15 21:28 robert - - * src/osg/KdTree.cpp: Fixed typo - -2008-07-15 20:30 robert - - * include/osgWidget/Widget, include/osgWidget/Window: Moved the - private sections int protected to allow subclasses acces to all - methods/members. - Moved public section to top of the class definition to make it - more consistent with the rest of the OSG. - -2008-07-15 19:42 robert - - * src/osgPlugins/osgWidget/CMakeLists.txt: Fixed name of lib - -2008-07-15 19:28 robert - - * src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: Changed IMPORT to - "Import option", and "EXPORT:" to "Export option:" in - supportsOptions() docs make it a little more friendly and - understandable - -2008-07-15 19:26 robert - - * src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: From Paul Martz, - "Here's documentation for the export options of the FLT plugin. I - also labeled the import options as such." - -2008-07-15 19:24 robert - - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Updated version number to - 2.5.5 in prep for dev release - -2008-07-15 19:24 robert - - * include/osgWidget/Version, src/osgWidget/Version.cpp: Changed the - version setup code to be consistent with the rest of the OSG - -2008-07-15 19:23 robert - - * examples/CMakeLists.txt, examples/osgwidgetversion: Removed now - redundent example - -2008-07-15 19:02 robert - - * src/osgPlugins/vrml/CMakeLists.txt: From Gino van den Bergen, - "The VRML plugin in the current 2.5.4 release will not compile - under VC8.0 when the project file is generated using CMake 2.6. - The attached CMakeLists.txt will fix this problem. The file - replaces the CMakeLists.txt file in src/osgPlugins/vrml. - NB: It is assumed that the antlr and regex libs are located in - $(OPENVRML_DIR)/lib. - " - -2008-07-15 18:53 robert - - * examples/osgwidgetaddremove/CMakeLists.txt, - examples/osgwidgetbox/CMakeLists.txt, - examples/osgwidgetcanvas/CMakeLists.txt, - examples/osgwidgetframe/CMakeLists.txt, - examples/osgwidgetinput/CMakeLists.txt, - examples/osgwidgetlabel/CMakeLists.txt, - examples/osgwidgetmenu/CMakeLists.txt, - examples/osgwidgetnotebook/CMakeLists.txt, - examples/osgwidgetscrolled/CMakeLists.txt, - examples/osgwidgetshader/CMakeLists.txt, - examples/osgwidgetstyled/CMakeLists.txt, - examples/osgwidgettable/CMakeLists.txt, - examples/osgwidgetversion/CMakeLists.txt, - examples/osgwidgetwindow/CMakeLists.txt: From Jean-Sebastian - Guay, "Here are the CMakeLists.txt files for the osgWidget - examples, changed to use SETUP_EXAMPLE like the other examples." - -2008-07-15 18:12 robert - - * examples/CMakeLists.txt: Fixed typo - -2008-07-15 17:21 robert - - * examples/CMakeLists.txt, examples/osgwidgetaddremove, - examples/osgwidgetaddremove/CMakeLists.txt, - examples/osgwidgetaddremove/osgwidgetaddremove.cpp, - examples/osgwidgetbox, examples/osgwidgetbox/CMakeLists.txt, - examples/osgwidgetbox/osgwidgetbox.cpp, examples/osgwidgetcanvas, - examples/osgwidgetcanvas/CMakeLists.txt, - examples/osgwidgetcanvas/osgwidgetcanvas.cpp, - examples/osgwidgetframe, examples/osgwidgetframe/CMakeLists.txt, - examples/osgwidgetframe/osgwidgetframe.cpp, - examples/osgwidgetinput, examples/osgwidgetinput/CMakeLists.txt, - examples/osgwidgetinput/osgwidgetinput.cpp, - examples/osgwidgetlabel, examples/osgwidgetlabel/CMakeLists.txt, - examples/osgwidgetlabel/osgwidgetlabel.cpp, - examples/osgwidgetmenu, examples/osgwidgetmenu/CMakeLists.txt, - examples/osgwidgetmenu/osgwidgetmenu.cpp, - examples/osgwidgetnotebook, - examples/osgwidgetnotebook/CMakeLists.txt, - examples/osgwidgetnotebook/osgwidgetnotebook.cpp, - examples/osgwidgetscrolled, - examples/osgwidgetscrolled/CMakeLists.txt, - examples/osgwidgetscrolled/osgwidgetscrolled.cpp, - examples/osgwidgetshader, - examples/osgwidgetshader/CMakeLists.txt, - examples/osgwidgetshader/osgwidgetshader.cpp, - examples/osgwidgetstyled, - examples/osgwidgetstyled/CMakeLists.txt, - examples/osgwidgetstyled/osgwidgetstyled.cpp, - examples/osgwidgettable, examples/osgwidgettable/CMakeLists.txt, - examples/osgwidgettable/osgwidgettable.cpp, - examples/osgwidgetversion, - examples/osgwidgetversion/CMakeLists.txt, - examples/osgwidgetversion/osgwidgetversion.cpp, - examples/osgwidgetwindow, - examples/osgwidgetwindow/CMakeLists.txt, - examples/osgwidgetwindow/osgwidgetwindow.cpp, include/osgWidget, - include/osgWidget/Box, include/osgWidget/Canvas, - include/osgWidget/EventInterface, include/osgWidget/Export, - include/osgWidget/Frame, include/osgWidget/Input, - include/osgWidget/Label, include/osgWidget/Lua, - include/osgWidget/Python, include/osgWidget/ScriptEngine, - include/osgWidget/StyleInterface, include/osgWidget/StyleManager, - include/osgWidget/Table, include/osgWidget/Types, - include/osgWidget/UIObjectParent, include/osgWidget/Util, - include/osgWidget/Version, include/osgWidget/ViewerEventHandlers, - include/osgWidget/Widget, include/osgWidget/Window, - include/osgWidget/WindowManager, src/CMakeLists.txt, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/osgWidget, - src/osgPlugins/osgWidget/Box.cpp, - src/osgPlugins/osgWidget/CMakeLists.txt, - src/osgPlugins/osgWidget/EmbeddedWindow.cpp, - src/osgPlugins/osgWidget/Frame.cpp, - src/osgPlugins/osgWidget/Input.cpp, - src/osgPlugins/osgWidget/Label.cpp, - src/osgPlugins/osgWidget/Table.cpp, - src/osgPlugins/osgWidget/Widget.cpp, - src/osgPlugins/osgWidget/WindowManager.cpp, src/osgWidget, - src/osgWidget/Box.cpp, src/osgWidget/CMakeLists.txt, - src/osgWidget/Canvas.cpp, src/osgWidget/Frame.cpp, - src/osgWidget/Input.cpp, src/osgWidget/Label.cpp, - src/osgWidget/Lua.cpp, src/osgWidget/Python.cpp, - src/osgWidget/StyleManager.cpp, src/osgWidget/Table.cpp, - src/osgWidget/Util.cpp, src/osgWidget/Version.cpp, - src/osgWidget/ViewerEventHandlers.cpp, src/osgWidget/Widget.cpp, - src/osgWidget/Window.cpp, src/osgWidget/WindowManager.cpp: From - Jeremy Moles, import of the osgWidget NodeKit, sourced from the - original http://osgwidget.googlecode.com/svn/trunk - - Notes from Robert Osfield, I've merged osgWidget trunk, and - added/changed CMakeLists.txt file to make it suitable for - inclusion in the core OSG, and moved imagery/scripts/shaders out - into OpenSceneGraph-Data - -2008-07-15 14:24 robert - - * src/osgWrappers/osg/FrameBufferObject.cpp: Updated wrappers - -2008-07-15 14:24 robert - - * include/osg/FrameBufferObject, src/osg/FrameBufferObject.cpp: - From Art Trevs, Removed GLeunm version setAttachment() to avoid - ambigiuity with - whether to enable MRT. - -2008-07-15 14:15 robert - - * include/osgDB/Archive, src/osgDB/Archive.cpp: Renamed - Archive::ArchiveStatus to ReaderWriter::ArchiveStatus - -2008-07-15 10:45 robert - - * src/osgWrappers/osgDB/Archive.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgDB/Registry.cpp: Updated wrappers - -2008-07-15 09:55 robert - - * include/osgDB/ReaderWriter, include/osgDB/Registry, - src/osgShadow/ShadowVolume.cpp: Missing check-ins - -2008-07-14 20:22 robert - - * applications/osgconv/PluginQuery.cpp, - applications/osgconv/PluginQuery.h, - applications/osgconv/osgconv.cpp: Added --plugins and --formats - query support into osgconv to help with querying the - available plugins and the file formats/protocols they support - -2008-07-14 20:11 robert - - * src/osgPlugins/ac/ac3d.cpp: Added missing ac3d - supportsExtensions() constructor - -2008-07-14 08:48 robert - - * applications/osgconv/CMakeLists.txt, - applications/osgconv/PluginQuery.cpp, - applications/osgconv/PluginQuery.h, - applications/osgconv/osgconv.cpp: Added initial cut at plugin - query code - -2008-07-13 22:18 robert - - * src/osgDB/ReaderWriter.cpp, - src/osgPlugins/3dc/ReaderWriter3DC.cpp, - src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/Inventor/ReaderWriterIV.cpp, - src/osgPlugins/Inventor/ReaderWriterIV.h, - src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/bmp/ReaderWriterBMP.cpp, - src/osgPlugins/bsp/ReaderWriterQ3BSP.cpp, - src/osgPlugins/cfg/ReaderWriterCFG.cpp, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/dae/ReaderWriterDAE.h, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/dxf/ReaderWriterDXF.cpp, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/gif/ReaderWriterGIF.cpp, - src/osgPlugins/glsl/ReaderWriterGLSL.cpp, - src/osgPlugins/hdr/ReaderWriterHDR.cpp, - src/osgPlugins/jp2/ReaderWriterJP2.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/lws/ReaderWriterLWS.cpp, - src/osgPlugins/md2/ReaderWriterMD2.cpp, - src/osgPlugins/net/ReaderWriterNET.cpp, - src/osgPlugins/normals/ReaderWriterNormals.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/ogr/ReaderWriterOGR.cpp, - src/osgPlugins/osgShadow/ReaderWriterOsgShadow.cpp, - src/osgPlugins/osgTerrain/ReaderWriterOsgTerrain.cpp, - src/osgPlugins/osgViewer/ReaderWriterOsgViewer.cpp, - src/osgPlugins/osga/ReaderWriterOSGA.cpp, - src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp, - src/osgPlugins/pfb/ReaderWriterPFB.cpp, - src/osgPlugins/pic/ReaderWriterPIC.cpp, - src/osgPlugins/png/ReaderWriterPNG.cpp, - src/osgPlugins/pnm/ReaderWriterPNM.cpp, - src/osgPlugins/quicktime/ReaderWriterQT.cpp, - src/osgPlugins/rot/ReaderWriterROT.cpp, - src/osgPlugins/scale/ReaderWriterSCALE.cpp, - src/osgPlugins/stl/ReaderWriterSTL.cpp, - src/osgPlugins/svg/ReaderWriterSVG.cpp, - src/osgPlugins/tga/ReaderWriterTGA.cpp, - src/osgPlugins/tgz/ReaderWriterTGZ.cpp, - src/osgPlugins/tiff/ReaderWriterTIFF.cpp, - src/osgPlugins/trans/ReaderWriterTRANS.cpp, - src/osgPlugins/txf/ReaderWriterTXF.cpp, - src/osgPlugins/txp/ReaderWriterTXP.h, - src/osgPlugins/vrml/ReaderWriterVRML2.h, - src/osgPlugins/x/ReaderWriterDirectX.cpp, - src/osgPlugins/xine/ReaderWriterXine.cpp, - src/osgPlugins/zip/ReaderWriterZIP.cpp: Converted plugins to use - the new supportsExtension()/supportsOptions/supportsProtocl() - methods - to help enable better querying of supported features - -2008-07-13 15:24 robert - - * include/osgDB/FileNameUtils, include/osgDB/ReaderWriter, - src/osgDB/FileNameUtils.cpp, src/osgDB/ReaderWriter.cpp, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp: Added new ReaderWriter - methods for recording what protocols, extensions and options are - support by ReaderWriters - -2008-07-13 12:34 robert - - * src/osgPlugins/osg/CMakeLists.txt: From Paul Martz, removed - uneccessary libraries from link line - -2008-07-12 17:44 robert - - * README.txt: Updated date for 2.5.4 release - -2008-07-12 17:30 robert - - * include/osg/KdTree: Added an OSG_EXPORT - -2008-07-12 16:11 robert - - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - Authors for dev release - -2008-07-12 15:29 robert - - * ChangeLog: Updated ChangeLog for dev release - -2008-07-12 12:00 robert - - * src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/obj.cpp: From Doug McCorkle, "Attached is - patch that corrects/improves the following issues with the OBJ - loader: - - 1. Added options to control wether the osgUtil::Tessellator or - osgUtil::TriStripVisitor are run. By default they still run just - as before. - 2. Added support for the Emissive material. The data was being - read from the mtl file but was never being applied to the model. - 3. This is the main bug addressed, when a model is read in with - an alpha value specified like: - - newmtl Material__8 - Ns 24 - d 0.33 - illum 2 - Kd 0.204 0.204 0.204 - Ks 0 0 0 - Ka 0.153 0.153 0.153 - - where the alpha value is d. The loader would then overwrite the - alpha value when reading the diffuse, specular, and ambient - colors. I have changed all the material color readers to only set - the values they read and to use the default colors specified in - the constructor of the obj class. With these changes, the obj - reader now handles opacity correctly if the alpha value is - specified before the material colo" - -2008-07-12 11:19 robert - - * examples/osgkdtree/CMakeLists.txt, - examples/osgkdtree/fixeddivision.cpp, - examples/osgkdtree/fixeddivision.h, - examples/osgkdtree/osgkdtree.cpp, - examples/osgkdtree/variabledivision.cpp, - examples/osgkdtree/variabledivision.h: Cleaned up osgkdtree - example - -2008-07-11 20:01 robert - - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Updated version numbers - for dev release - -2008-07-11 19:52 robert - - * examples/osgmanipulator/osgmanipulator.cpp: From Adrain Egli, "i - added a default scene with 7 different draggers attached. it's - more easy to test the draggers." - -2008-07-11 19:43 robert - - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Christophe - Loustaunau, "For our application, we need to write tiff file in - floats. I have change a little bit the readerWritterTiff : - It check the data type of the image ( img.getDataType() ) and if - it's GL_FLOAT :It save the tiff with float values. - Otherwise it does the same thing as before." - -2008-07-11 19:23 robert - - * src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp: From Liang Aibin, " In - lastest svn version of OSG, the .ive plugin missing osg::Light, - it - does not process I/O for osg::Light. Now I have fixed it as - follows: - - 2. In DataInputStream.cpp, I add support code in - DataInputStream::readStateAttribute - for osg::Light. - - 3. In DataOutputStream.cpp, I add support code in - DataOutputStream::writeStateAttribute - for osg::Light. - " - -2008-07-11 17:46 robert - - * src/osgPlugins/OpenFlight/Opcodes.h, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: From Joakim - Simmonson, - "Opcodes.h: - * Added INVALID_OP as -1 in the Opcodes enum. Note that - INVALID_OP is not an actual opcode defined in the OpenFlight - format. The purpose of INVALID_OP is to mark an opcode variable - as invalid or uninitialized. - - ReaderWriterFLT.cpp: - * The header node is returned if it exists, even if the file does - not contain a node hierarchy. The old behaviour returned a - ERROR_IN_READING_FILE error. - * Changed opcodes initialized to -1 to the new enum value - INVALID_OP." - -2008-07-11 17:41 robert - - * src/osgPlugins/OpenFlight/AncillaryRecords.cpp, - src/osgPlugins/OpenFlight/Document.cpp, - src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/ExportOptions.cpp, - src/osgPlugins/OpenFlight/FltExportVisitor.cpp, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/OpenFlight/Pools.h, - src/osgPlugins/OpenFlight/PrimaryRecords.cpp, - src/osgPlugins/OpenFlight/RecordInputStream.cpp, - src/osgPlugins/OpenFlight/VertexPaletteManager.cpp, - src/osgPlugins/OpenFlight/VertexRecords.cpp, - src/osgPlugins/OpenFlight/expAncillaryRecords.cpp, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp, - src/osgPlugins/OpenFlight/expPrimaryRecords.cpp: From Joakim - Simmonsson, fixed various spelling typos in comments +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. -2008-07-11 17:35 robert +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(). - * src/osgPlugins/ac/ac3d.cpp: From Mathias Froehlich, "Due to the - recent data variance changes/discussion: - Change the ac3d loader that can as such only deliver static - models to set the - data variance to static for the returned model. - " -2008-07-11 17:07 robert - * src/osgGA/DriveManipulator.cpp: Increased the buffer and fixed - the buffer calculation when moving backwards into objects -2008-07-11 16:51 robert +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." - * src/osgUtil/LineSegmentIntersector.cpp: Updated KdTree code to - refect new cleaned up API -2008-07-11 16:50 robert - * src/osgViewer/View.cpp: Tweaked the KdTree intersection - performance testing code block +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. -2008-07-11 16:48 robert +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." - * src/osgWrappers/osg/KdTree.cpp: Updated wrappers +Mon, 2 Jan 2012 16:38:01 +0000 +Checked in by : Robert Osfield +From Chris Denham, Implementation of write functions in CURL plugin -2008-07-11 16:48 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." - * include/osg/KdTree, src/osg/KdTree.cpp: Moved the building and - intersecting of the KdTree into the .cpp, and cleaned up - the header to ready it for wider usage +and -2008-07-10 15: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. " - * include/osg/KdTree, src/osg/KdTree.cpp: Streamlined KdTree - implementation -2008-07-09 19:43 robert - * src/osgWrappers/osg/KdTree.cpp, - src/osgWrappers/osgUtil/IntersectionVisitor.cpp: Updated wrappers -2008-07-09 19:42 robert - * src/osg/KdTree.cpp: Cleaned up KdTree implementation +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(); -2008-07-09 19:41 robert - * include/osg/KdTree: Reordered KdLeaf/KdNode so that the first - element to be accessed is first in the data structure +void Terrain::dirtyRegisteredTiles(int dirtyMask) + SETS LOCK OpenThreads::ScopedLock lock(_mutex); + and CALLS (on every tile) setDirtyMask(dirtyMask); -2008-07-09 19:40 robert - * include/osgUtil/IntersectionVisitor, - src/osgUtil/IntersectionVisitor.cpp, - src/osgUtil/LineSegmentIntersector.cpp: Introduced code for doing - dummy test traversals - used for benchmarking KdTree code. +void TerrainTile::setDirtyMask(int dirtyMask) + CALLS _terrain->updateTerrainTileOnNextFrame(this); -2008-07-09 19:28 robert - * examples/osgpick/osgpick.cpp: Added range of camera manipulators - and a center of screen test intersection that - is insticated by pressing 'c' key +void Terrain::updateTerrainTileOnNextFrame(TerrainTile* terrainTile) + SETS LOCK OpenThreads::ScopedLock lock(_mutex); +******* PROBLEM - since lock has already been set! ******** -2008-07-09 19:26 robert - * src/osgViewer/View.cpp: Introduce a intersecion performance - testing code path, #if def'd out for now. +The suggested fix submitted changes from using Mutex to ReentrantMutex. +" -2008-07-09 12:37 robert - * src/osgWrappers/osg/KdTree.cpp: Updated wrappers -2008-07-08 18:02 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. - * include/osgUtil/IntersectionVisitor: Fixed set method +So you can now easily "hide" some objects from manipulators." -2008-07-08 17:35 robert - * include/osgUtil/IntersectionVisitor, - src/osgUtil/IntersectionVisitor.cpp, - src/osgUtil/LineSegmentIntersector.cpp: Added optional control of - whether to use KdTrees for intersections -2008-07-07 20:27 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." - * include/osg/KdTree, src/osg/KdTree.cpp, - src/osgUtil/LineSegmentIntersector.cpp: Implement hierachy - culling in KdTree::intersect(..) +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." -2008-07-07 14:27 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]." - * src/osgUtil/LineSegmentIntersector.cpp: Improved the handling of - KdTree intersections +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." -2008-07-07 13:21 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." - * include/osg/KdTree, src/osg/KdTree.cpp, - src/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/osg/KdTree.cpp: Implemented intial KdTree - triangle intersection code, but without culling implemented +Fri, 23 Dec 2011 16:14:51 +0000 +Checked in by : Robert Osfield +From Ulrich Hertlein, typo fixes -2008-07-07 10:46 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. - * src/osgDB/DatabasePager.cpp: Added KdTreeBuilder calls into - FindCompileableGLObjectsVisitor, and an alternative - path that explictly calls the KdTreeBuilde when required in cases - when no pre compile of GL objects is required. +Mon, 19 Dec 2011 16:18:18 +0000 +Checked in by : Robert Osfield +Removed inappropriate static usage -2008-07-07 09:40 robert +Mon, 19 Dec 2011 09:37:57 +0000 +Checked in by : Robert Osfield +Moved the createSpotLightImage function into include/osg/ImageUtils - * include/osg/KdTree, src/osg/KdTree.cpp: Changed types to avoid - warnings under Windows +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. -2008-07-06 18:27 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 - * include/osg/KdTree, include/osgDB/DatabasePager, - include/osgDB/Registry, src/osg/KdTree.cpp, - src/osgDB/DatabasePager.cpp, src/osgDB/Registry.cpp, - src/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/osg/Geometry.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgGA/DriveManipulator.cpp, - src/osgWrappers/osgGA/TerrainManipulator.cpp, - src/osgWrappers/osgUtil/LineSegmentIntersector.cpp: Changed the - DatabasePager so that it bypasses the Registry::readNode() method - and calls - readNodeImplementation() directly to avoid calling the - KdTreeBuilder. - - Updated wrappers. +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. -2008-07-06 12:14 robert +Wed, 30 Nov 2011 19:14:14 +0000 +Checked in by : Robert Osfield +Fixed build under Tiny Core. - * examples/osgkdtree/variabledivision.h, include/osg/KdTree, - src/osg/KdTree.cpp: Moved KdTree build code into osg::KdTree +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. -2008-07-05 17:29 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. - * src/osgUtil/LineSegmentIntersector.cpp: Added handling of - co-incident start and end points. +Tue, 22 Nov 2011 21:55:30 +0000 +Checked in by : Robert Osfield +Added prelimanary support for parallel split shadow maps into ViewDependentShadowMap. -2008-07-05 16:39 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 " - * include/osgGA/DriveManipulator, include/osgGA/TerrainManipulator, - src/osgGA/DriveManipulator.cpp, src/osgGA/TerrainManipulator.cpp: - Ported intersection code to use new - osgUtil::LineSegmentIntersector/IntersectionVisitor. +Fri, 18 Nov 2011 08:15:36 +0000 +Checked in by : Robert Osfield +Fixed indentation -2008-07-04 19:16 robert +Thu, 17 Nov 2011 18:45:18 +0000 +Checked in by : Robert Osfield +Added .get() to fix build - * include/osgGA/TerrainManipulator, src/osg/KdTree.cpp, - src/osgGA/TerrainManipulator.cpp: Converted TerrainManipulator to - use osgUtil::InterectionVisitor rather than the - old IntersectVisitor +Fri, 11 Nov 2011 10:36:17 +0000 +Checked in by : Robert Osfield +Updated built in volume shaders to honour the osg::Matierial setting -2008-07-04 17:02 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. - * src/osgUtil/LineSegmentIntersector.cpp: Added KdTree intersection - support into LineSegmentIntersector +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. -2008-07-04 15:57 robert - * examples/osgkdtree/osgkdtree.cpp, include/osg/KdTree, - include/osgDB/ReaderWriter, include/osgDB/Registry, - src/osg/CMakeLists.txt, src/osg/KdTree.cpp, - src/osgDB/Registry.cpp, src/osgTerrain/GeometryTechnique.cpp: - Added prelimnary KdTree data structure and automatic kdtree build - support - into osgDB::Registry/osgTerrain so that newly created subgraphs - can have - KdTree built on all osg::Geometry automatically on load/creation. -2008-07-04 11:51 robert +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. - * include/osg/Geometry: Moved vertex indicies method into a single - block with deprecated doc lines +Fri, 4 Nov 2011 12:50:05 +0000 +Checked in by : Robert Osfield +Implement presentation update feature that reloads the presentation on pressing 'u'. -2008-07-03 17:18 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. - * examples/osgkdtree/variabledivision.cpp, - examples/osgkdtree/variabledivision.h: Introduced bounding boxes - to KDLeaf and KDNode structs +Fri, 4 Nov 2011 12:45:32 +0000 +Checked in by : Robert Osfield +Improved handling of resetting of the EventQueue::startTick(). -2008-07-03 15:49 robert +Fri, 4 Nov 2011 12:44:01 +0000 +Checked in by : Robert Osfield +Added removeFromObjectCache method. - * examples/osgkdtree/CMakeLists.txt, - examples/osgkdtree/osgkdtree.cpp, - examples/osgkdtree/variabledivision.cpp, - examples/osgkdtree/variabledivision.h: Added new data structure + - build algorithm that places triangles into leaves - without being shared, but with varying the boundaries of leaves - so that they - may overlap. +Wed, 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. -2008-07-03 15:01 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. - * src/osg/BufferObject.cpp: From Mario Valle, "xed the following - warning on Linux 64 bits Athlon: - - /users/mvalle/OSG/OpenSceneGraph/src/osg/BufferObject.cpp: In - member function `virtual void - osg::ElementBufferObject::compileBuffer(osg::State&) const': - /users/mvalle/OSG/OpenSceneGraph/src/osg/BufferObject.cpp:600: - warning: cast to pointer from integer of different size" +Tue, 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." -2008-07-03 14:59 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. - * src/osg/BufferObject.cpp: From Mario Valle, removed extraneous - spaces +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 -2008-07-03 11:23 robert +Tue, 1 Nov 2011 10:30:18 +0000 +Checked in by : Robert Osfield +Fixed the use DCM_SeriesDescription - * examples/osgkdtree/fixeddivision.h: Added header guards +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. -2008-07-03 11:22 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. - * examples/osgkdtree/CMakeLists.txt, - examples/osgkdtree/fixeddivision.cpp, - examples/osgkdtree/fixeddivision.h, - examples/osgkdtree/osgkdtree.cpp: Refactored example so that the - example will be able to run different kdtree data - strucutres/algorithms. +Fri, 28 Oct 2011 11:00:55 +0000 +Checked in by : Robert Osfield +Changed the notification level to INFO. -2008-07-03 11:07 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. - * CMakeLists.txt: From Eric Sokolowsky, "The check for Leopard to - build 4-way binaries by default was broken. Here is an updated - CMakeLists.txt file to fix the problem." +Fri, 28 Oct 2011 10:36:29 +0000 +Checked in by : Robert Osfield +Changed the default for SampleBuffers to be 1 when set. -2008-07-03 10:24 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. - * examples/osgkdtree/osgkdtree.cpp: Implement an experiemental - triangle kdtree building support +Fri, 28 Oct 2011 09:11:21 +0000 +Checked in by : Robert Osfield +Changed the default depth to 24. -2008-07-03 10:03 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 - * src/osgText/FadeText.cpp: Set the DataVariance on FadeText to - DYNAMIC to reflect their nature +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. -2008-07-02 10:00 robert - * src/osgWrappers/osgDB/SharedStateManager.cpp: Updated wrappers -2008-07-02 09:25 robert - * include/osgDB/SharedStateManager, - src/osgDB/SharedStateManager.cpp: Introduced support for - UNSCPECIFIED and STATIC DataVariance of StateSet/Textures +Thu, 27 Oct 2011 09:24:34 +0000 +Checked in by : Robert Osfield +Added support for ignore returns as white space. -2008-07-01 19:04 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. - * src/osgPlugins/bmp/ReaderWriterBMP.cpp: From Colin McDonald, - "There is a problem reading bmp files containing a colour - palette, - due to an incorrect scan line length calculation. Attached is a - fix, - and a little bmp file which demonstrates the problem." +Wed, 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. -2008-07-01 18:37 robert - * src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/FadeText.cpp, src/osgPlugins/ive/FadeText.h, - src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/ive/Text.cpp, src/osgPlugins/ive/Text3D.cpp, - src/osgPlugins/ive/Text3D.h: From Lilin Xiong, "I change ive - plugin a little for osgText inout, so the ive plugin supports - backdrop setting, - and Text3D, FadeText inout : - - 1. in DataInputStream.cpp, add 1286--1293 lines; - 2. in Text.cpp, add some code for text's Backdrop setting; - 3. in IveVersion.h, add line 39, increase the VERSION to - VERSION_028(line 41) - 4. in ReadWrite.h, add line 146,147 - 5. add file FadeText.h, FadeText.cpp, Text3D.h, Text3D.cpp." -2008-07-01 13:56 robert - * examples/osgkdtree/osgkdtree.cpp: Added Vec3Array arrange pointer - to avoid dynamic cast -2008-07-01 09:40 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 - * CMakeModules/CheckAtomicOps.cmake, src/osg/Referenced.cpp: From - Mathias Froehlich, "It appears not to be sufficient to set a - cmake variable to get a define in - such a config file. Instead set that variable to 1. Also included - a small compile fix, that appears to be required than ..." +Wed, 26 Oct 2011 12:29:38 +0000 +Checked in by : Robert Osfield +Added password support into osgvnc example and vnc plugin -2008-06-30 16:53 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. - * src/osgUtil/RenderStage.cpp: Added guards against FBO not being - supported/setup +Tue, 25 Oct 2011 15:55:33 +0000 +Checked in by : Robert Osfield +Added support for 32bit depth buffer -2008-06-29 13:41 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. - * README.txt: Updated README date for 2.5.3 dev release +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. -2008-06-29 12:22 robert +Mon, 24 Oct 2011 11:09:35 +0000 +Checked in by : Robert Osfield +Fixed handling of slide with no layers. - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp: Changed the - Optimizer::StateVisitor so that it can individually decide - whether - to optimize away duplicate state with dynamic, static and - unspecified DataVarience. By default - the code now optimizes away duplicate state with either static - and unspecied state, previously - it was just handling static state. +Sat, 22 Oct 2011 09:02:18 +0000 +Checked in by : Robert Osfield +Fixed build of StreamOperator -2008-06-28 16:59 robert +Fri, 21 Oct 2011 15:39:51 +0000 +Checked in by : Robert Osfield +Fixed handling of Vec3dArray in GLBeginEdnAdapter/ArrayDispatchers. - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/ViewerBase.cpp: - Added realize of new graphics contexts to handle new views being - added with - unrealized windows - -2008-06-27 19:40 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Changed - back to use an std::vector<> rather than a std::list for - RequestQueue to - avoid member template problems under Solaris. - -2008-06-27 18:59 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: - Refactored the sort of the requestQueue so that there is single - code path for doing the sort. - -2008-06-27 16:47 robert - - * CMakeModules/CheckAtomicOps.cmake, src/osg/Image.cpp: From - Mathias Froehlich, "Update to the configure check for msvc 7.1. - MemoryBarrier() is used in the implementation, so it should be - checked. - This in effect disables the faster atomic ops on msvc 7.1 and - older, even if - only the MemoryBarrier() call is missing. But it ensures for the - fist cut - that it will build everywhere. If somebody cares for msvc 7.1 - enough and has - one for testing installed, he might provide the apropriate - defines to guard - that MemoryBarrier() call. - - I tested that msvc8 32/64bit still passes the configure tests and - compiles. - " - -2008-06-27 12:44 robert - - * include/osg/MixinVector, include/osg/Shape: Simplified the - MixinVector class so that it no longer supports custom - allocators, - instead just uses std::vector<>'s default allocators. - -2008-06-27 12:35 robert - - * include/osg/NodeVisitor, src/osg/NodeVisitor.cpp: Moved the - apply(&) default implementations from the header into the - NodeVisitor.cpp, - and changed the casts to use static_cast<>. - -2008-06-27 11:47 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - from Stephan Huber: updated XCode project - -2008-06-27 10:17 robert - - * include/osgShadow/ParallelSplitShadowMap, - include/osgUtil/Optimizer: From Andre Normann, "with version - 8504, I am not able to compile osgwrappers under Windows, because - there are some DLL export macros missing. I fixed it and put the - files in the attached zip file. - " - -2008-06-26 19:51 robert - - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - authors and osgversion - -2008-06-26 19:47 robert - - * ChangeLog: Updated ChangeLog - -2008-06-26 19:21 robert - - * genwrapper.conf, src/osgWrappers/OpenThreads/Atomic.cpp, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp: Updated wrappers - -2008-06-26 18:34 robert - - * src/osgUtil/IntersectionVisitor.cpp: From Paul Martz, "The method - IntersectionVisitor::apply(osg::PagedLOD&) appears to attempt to - identify a "highest res" child of the PagedLOD and only allow - intersection on that child. The implementation appears to be - flawed in two cases: - - 1) The "highest res" child is assumed to be the child with index - "getNumFileNames()-1" or "getNumChildren()-1". As a result, - PagedLODs that do not sort children from furthest to nearest will - intersect with the wrong child. (see attached "case1.osg" to - reproduce this problem.) - - 2) The code assumes there is only one highest res child. As a - result. PagedLODs with multiple children at the same highest res - range can only intersect one of those children. ("case2.osg" - demonstrates this issue; you can only pick the quad on the - right.) - - I've attached a modified IntersectionVisitor.cpp that attempts to - resolve these issues. It identifies a highest res range based on - the range mode, then continues traversal on all valid children - corresponding to that range description. Only in the case of a - malformed PagedLOD does the code fall back to getting the last - child in the list. - " - -2008-06-26 18:06 robert - - * src/osgParticle/ExplosionDebrisEffect.cpp, - src/osgParticle/ExplosionEffect.cpp, - src/osgParticle/FireEffect.cpp, - src/osgParticle/ParticleEffect.cpp, - src/osgParticle/SmokeEffect.cpp, - src/osgParticle/SmokeTrailEffect.cpp: From Morten Haukness, "When - cloning effects osg crashes because the copy constructur tries to - run av pure virtual method (setUpEmitterAndProgram). The right - thing to do when cloning an effect is to run the inherited - version og buildEffect and setUpEmitterAndProgram. - - " - -2008-06-26 16:45 robert - - * src/osg/GraphicsContext.cpp: Changed the removeCamera() method so - that it now actively calls releaseGLObjects() - on all children of a camera that aren't shared with other cameras - on that context. - - This change fixes problems with allocating and deleting views. - -2008-06-26 15:06 robert - - * src/OpenThreads/sproc/CMakeLists.txt, - src/OpenThreads/win32/CMakeLists.txt: From Mathias Froehlich, - updated CMakeLists.txt to build the Atomic.cpp - -2008-06-26 13:09 robert - - * CMakeLists.txt: From Eric Sokolowski, added enforcement of CMake - 2.6.0 under OSX. - -2008-06-26 13:08 robert - - * examples/osgviewerCocoa/CMakeLists.txt: From Eric Sokolowski, - Cmake support for osgviewerCocoa - -2008-06-26 12:08 robert - - * include/osg/CullSettings, src/osg/OcclusionQueryNode.cpp, - src/osgUtil/IntersectionVisitor.cpp: From Mathias Froehlich, - build fixes for various unices - -2008-06-26 10:33 robert - - * src/OpenThreads/common/Config.in, src/osg/Config.in: From Mathias - Froehlich, added do not edit comments to Config.in so that the - autogenerated - Config files have an appropriate warning notice - -2008-06-26 10:27 robert - - * CMakeModules/CheckAtomicOps.cmake, include/OpenThreads/Atomic, - include/osg/Referenced, src/OpenThreads/common/Atomic.cpp, - src/OpenThreads/pthreads/CMakeLists.txt, src/osg/Referenced.cpp: - From Mathias Froechlich, "Attached is a change to that atomic - stuff to move the win32, msvc - implementation of the atomic increment and decrement into a - implementation - file. - This way inlining and compiler optimization can no longer happen - for these - implementations, but it fixes compilation on win32 msvc targets. - I expect - that this is still faster than with with mutexes. - - Also the i386 gcc target gets atomic operations with this patch. - By using an - implementation file we can guarantee that we have the right - compiler flags - available." - -2008-06-23 15:11 robert - - * include/osgDB/ReaderWriter: Fixed pedantic warning - -2008-06-23 14:51 robert - - * CMakeModules/CheckAtomicOps.cmake, include/OpenThreads/Atomic: - From Mathias Froehlich, "fixed win32/win64 configure check and - win32/win64 - atomic related compile failures with msvs2005. Attached changes - to make win32 - really use the atomic stuff. There are pointer typecast problems - and some - historic alignment restrictions that I just took from a previous - similar - implementation of mine without looking deep enough. " - -2008-06-23 11:14 robert - - * CMakeLists.txt: From Mathieu Marache, "Suibject: CMakeList - ADD_DEFINITION for CMAKE_DEBUG_POSTFIX broken - I needed a -DCMAKE_DEBUG_POSTFIX="d" not a - -D"CMAKE_DEBUG_POSTFIX=d". - - This corrects the build for the CMake 2.4 and 2.6 series - - The error was in compiling osgDB/Registry.cpp - " - -2008-06-23 10:18 robert - - * CMakeLists.txt, src/OpenThreads/CMakeLists.txt: Commented out the - explict install of the Config files as including these files into - the header list allows the normal Cmake install support to - install them. - -2008-06-23 09:57 robert - - * CMakeLists.txt, CMakeModules/OsgMacroUtils.cmake, - examples/CMakeLists.txt, examples/osgviewerCocoa/ViewerCocoa.mm, - src/osgPlugins/freetype/CMakeLists.txt: From Eric Sokolowsky, "I - have made a number of changes intended to get a few things - working better on OSX. However, since I'm still pretty new at Mac - development and cmake I'm not entirely certain that the changes I - have made are benign on other platforms. I have tested these - changes on Leopard with CMake 2.6 generating Xcode 3.0 projects, - compiling on ppc and i386 for 10.5 and 10.4, and on Linux - (CentOS) and everything still seems to work ok. Here are the - changes I made (against OSG svn as of this afternoon): - - - Added osgviewerCocoa example to APPLE builds - - Fixed corrupt Xcode project generation with CMake 2.6 dealing - with ADD_DEFINITIONS and CMake Policy CMP0005 on Leopard - - Resolved CMP0006 warning for examples and programs by setting - BUNDLE DESTINATION to same as RUNTIME DESTINATION with CMake 2.6 - - Fixed freetype plugin on Leopard to avoid OpenGL linking - problem - - Figured out how to use a custom Info.plist included in the - project (see osgviewerCocoa application CMakeLists.txt)" +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 -2008-06-23 08:06 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/config, - Xcode/OpenSceneGraph/config/OpenThreads, - Xcode/OpenSceneGraph/config/OpenThreads/Config, - Xcode/OpenSceneGraph/config/osg, - Xcode/OpenSceneGraph/config/osg/Config: From Stephan Huber: added - missing config files and updated xcode-project +Fri, 21 Oct 2011 10:59:42 +0000 +Checked in by : Robert Osfield +Added flipDepth() method -2008-06-21 17:56 robert - - * src/osgPlugins/cfg/ReaderWriterCFG.cpp, - src/osgViewer/GraphicsWindowX11.cpp: Quietened down debug info - -2008-06-21 17:50 robert +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. - * include/osg/GraphicsContext, - src/osgPlugins/cfg/ReaderWriterCFG.cpp, - src/osgViewer/GraphicsWindowX11.cpp: Added support for X11's - overrideRedirect functionality - -2008-06-21 11:34 robert - - * examples/osgviewerCocoa/Info.plist, - examples/osgviewerCocoa/ViewerCocoa.h, - examples/osgviewerCocoa/ViewerCocoa.mm: Converted tabs to four - spaces - -2008-06-20 19:52 robert - - * CMakeLists.txt, src/OpenThreads/CMakeLists.txt, - src/osg/CMakeLists.txt: Changed the include/osg/Config and - include/OpenThreads/Config references to use the assocaited CMake - variable for these headers - -2008-06-20 19:51 robert - - * ChangeLog: Updated ChangeLog - -2008-06-20 17:32 robert - - * src/osg/CMakeLists.txt: From Terry Welsh, added missing - MixinVector header - -2008-06-20 16:57 robert - - * src/osgViewer/CMakeLists.txt: Added OSG_WINDOWING_SYSTEM cmake - option string to allow toggling between X11 and Carbon under OSX. - -2008-06-20 15:50 robert - - * CMakeLists.txt, include/osg/BoundingBox, - include/osg/BoundingSphere, include/osg/Matrix, - include/osg/Plane, src/osg/CMakeLists.txt, src/osg/Config.in: - From Mathias Froehlich, moved optional config variables into - include/osg/Config file that - is automatically created by cmake according to its own settings. +Thu, 20 Oct 2011 16:49:08 +0000 +Checked in by : Robert Osfield +Fixed handling of reading/writing of osgVolume::VolumeTile tiles -2008-06-20 15:49 robert +Thu, 20 Oct 2011 16:35:50 +0000 +Checked in by : Robert Osfield +Added support for calling throwException() from InputIterator and added a check for negative string sizes. - * ChangeLog: Updated ChangeLog +Thu, 20 Oct 2011 11:50:04 +0000 +Checked in by : Robert Osfield +Added check against build type to avoid the build of the osgviewerWX example with debug build as this fails with unresolved symbols within the internals of WxWidgets. -2008-06-20 15:28 robert +Thu, 20 Oct 2011 10:52:32 +0000 +Checked in by : Robert Osfield +From Ulrich Hertlein, fixed build problem due to cmake_policy CMP0017 being only available from cmake-2.8.4, added guard to prevent build problems - * src/osgPlugins/Inventor/ConvertToInventor.cpp: Changed const - double* to const Matrix::value_type* to ensure changes in Matrix - type don't break the build +Thu, 20 Oct 2011 09:23:26 +0000 +Checked in by : Robert Osfield +Improved handling of recent Cmake versions -2008-06-20 13:16 robert +Thu, 20 Oct 2011 08:59:47 +0000 +Checked in by : Robert Osfield +Fixed typo in command line output, and add an explanation message for when createTexture3D fails to create an osg::Image from a list of input osg::Image. - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp: From Terry - Welsh, new flatten static transforms visitor that duplicates - subgraphs that are shared beneath differnt static transforms - - From Robert Osfield, made a range of changes to Terry's visitor - integrating it into osgUtil::Optimizer and - changing the code to use a style more like the rest of the OSG. - -2008-06-20 11:16 robert - - * CMakeLists.txt: From Mathias Froehlich, made the include of bin - directory for include/OpenThreads/Config only used when doing out - of source builds - -2008-06-20 11:11 robert - - * CMakeLists.txt, include/OpenThreads/Version, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc, - packaging/pkgconfig/openthreads.pc, - src/OpenThreads/CMakeLists.txt: Updated version numbers for dev - releases - -2008-06-20 10:46 robert - - * src/osgSim/ShapeAttribute.cpp: From Mathias Froehlich, "Fixes a - compile of src/osgSim/ShapeAttribute.cpp on suse 10.2." +Mon, 17 Oct 2011 15:39:46 +0000 +Checked in by : Robert Osfield +Fixed typo -2008-06-20 09:46 robert +Mon, 17 Oct 2011 14:41:49 +0000 +Checked in by : Robert Osfield +Improvements to the compute near/far - * include/OpenThreads/Atomic: From Melchior Franz, fixed typo on - variable name - -2008-06-20 09:42 robert - - * CMakeLists.txt: From Mathias Froehlich, add search path to enable - out of source builds to find include/OpenThreads/Config. - -2008-06-19 20:42 robert - - * genwrapper.conf, src/osgWrappers/osg/Array.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/osgUtil/SceneView.cpp: Updated wrappers - -2008-06-19 20:38 robert - - * include/osg/Array, include/osg/MixinVector, - include/osg/PrimitiveSet: From Neil Groves, - - "I have taken the liberty of updating a few files so that there - is no longer any derivation from std::vector. I have done this by - adding a new file osg/MixinVector and by updating only two - others: osg/PrimitiveSet and osg/Array. You will notice that this - actually removes what is acknowledged as a \u2018hack\u2019 in - osg/PrimitiveSet. - - With the original code I did manage to find memory leaks with - some compiler options on VC 8 and 9, as well as Intel compiler. I - determined the leak existence by instrumenting the destructor - code, and by use of a garbage collector as a leak detector (in a - similar manner to the Firefox project). Hence in contrast to what - I said originally, it is exhibiting symptoms on at least some - platforms. - - Since I am trying to be a good OSG citizen I got out my editor - and started hacking! I have built and tested on Linux (Ubuntu) - with GCC 4.x and Windows VC 8 SP1. It appears that nothing is - broken, and that I\u2019m using less memory J" - -2008-06-19 17:35 robert - - * src/osgDB/Registry.cpp: From Mathieu Marache, "submission for - inclusion to support mpg and avi files when using the quicktime - plugin on windows" - -2008-06-19 17:30 robert - - * include/osg/Referenced, src/osg/Referenced.cpp: From Mathias - Froehlich, added support for using OpenThreads::Atomic for thread - safe ref/unref. - -2008-06-19 14:57 robert - - * src/osgPlugins/ive/LineStipple.cpp, - src/osgPlugins/ive/LineStipple.h: from Andrew Bettison, - LineStipple support for .ive - -2008-06-19 14:45 robert - - * include/osgShadow/ParallelSplitShadowMap, - src/osgShadow/ParallelSplitShadowMap.cpp: From Adrian Egli, - "Improvements to the PSSM implementation" - -2008-06-19 14:35 robert - - * src/osgPlugins/OpenFlight/MaterialPaletteManager.cpp, - src/osgPlugins/OpenFlight/PaletteRecords.cpp: From Rudolf - Weidemann, "in the OpenFlight format materials can have editable - names. - In the OSG OpenFlight plugin these names are ignored when - reading, and - empty strings are written. - - As we need these names in the OSG scene graph by our application, - I - changed the plugin code, so the names are now stored in class - "osg::Material" (derived from "osg::Object") by - material->setName(); - (see "PaletteRecords.cpp, line 195) when reading the file, and - written - to file by - dos.writeString( m.Material->getName(), 12 ); - (see MaterialPaletteManager.cpp, line 80). - - As these names otherwise get lost when reading an OpenFlight file - and - writing it again e.g. by - osgconv example.flt converted_example.flt - these changes make the plugin more complete. - - The changes were made to OSG revision 8425, and were tested by - osgconv example.flt converted_example.flt - comparing the material palettes of both files inside Multigen - Creator." - -2008-06-19 14:29 robert - - * include/osgUtil/SceneView, src/osgUtil/SceneView.cpp: From - Farshid Lashkari, "I noticed some problems when setting up - CameraNodes that inherit - viewport settings in stereo mode. It seems that the - SceneView::cull() - method will pass the full size viewport to the left/right - cullvisitors, instead of the modified stereo viewport. I made - quite a - few changes to SceneView to fix the issue. The - SceneView::cullStage() - method will now receive the viewport as an argument, instead of - using - the global viewport. The SceneView::cull() method will pass the - modifed viewport to cullStage when rendering in stereo. - - There are 2 new private methods computeLeftEyeViewport() and - computeRightEyeViewport() that will compute the stereo viewports. - I - also modified the draw() function so it applies the correct - viewport - to the prerender stages. These changes are only necessary for - horizontal/vertical split stereo." - -2008-06-19 14:14 robert - - * src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/ReadWrite.h: From Andrew Bettison, "Attached - are changes for src/osgPlugins/ive (version 2.4.0) that implement - LineStipple read/write support for the ive file format." - -2008-06-19 13:49 robert - - * examples/osgviewerWX/osgviewerWX.cpp, - examples/osgviewerWX/osgviewerWX.h: From Paul Melis, "Here is a - reworked version of the osgviewerWX example. It changes the - GraphicsWindowWX to only inherit from osgViewer::GraphicsWindow - and adds a standalone widget, called OSGCanvas, that derives from - wxGLCanvas. This solves a problem with the GraphicsWindowWX - instance being destructed twice (see "Crash in osgviewerWX" of - June 12th on osg-users). At program exit, the main frame deletes - all of its children widgets and therefore calls - GraphicsWindowWX's destructor, bypassing OSG's reference - counting. The GraphicsWindowWX instance is then later destructed - a second time when the reference held by osg::Camera goes to - zero. This bug isn't exposed by the example directly, but if - people are going to use the example as a basis (like the poster - in the mentioned thread) they very likely will run into this - problem. - " - -2008-06-19 13:28 robert - - * genwrapper.conf, include/OpenThreads/Atomic, - src/osgWrappers/OpenThreads/Atomic.cpp: Updated wrappers to fix - OpenThreads::Atomic build issues. - -2008-06-19 12:02 robert - - * include/osgUtil/CullVisitor: From Michael Platings, fixed typo - error in renderbin assignment - -2008-06-19 11:58 robert - - * include/osg/Program: In Program::PerContextProgram changed const - Uniform* to osg::ref_ptr to avoid the possibility - of a uniform being deleted - and another being created and assigned at the same address which - previously confused the uniform tracking code and introduced a - bug. - -2008-06-19 11:09 robert - - * include/osg/StateSet, include/osgUtil/CullVisitor, - src/osg/StateSet.cpp, src/osgUtil/CullVisitor.cpp, - src/osgWrappers/osg/StateSet.cpp: From Michael Platings and - Robert Osfield, added support for controlling, - via StateSet::setNestedRenderBin(bool) whether the new RenderBin - should be nested - with the existing RenderBin, or be nested with the enclosing - RenderStage. - -2008-06-18 20:27 robert - - * src/osgWrappers/osg/FrameBufferObject.cpp: Updated wrappers - -2008-06-18 20:24 robert - - * include/osg/FrameBufferObject, src/osg/FrameBufferObject.cpp: - From Michael Platings, implemented check against max number of - supported samples to ensure that the number of samples is safely - capped to what the hardware is capable of, avoiding GL errors and - graceful fallback - -2008-06-18 20:17 robert - - * src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/Fog.cpp, src/osgPlugins/ive/Fog.h, - src/osgPlugins/ive/ReadWrite.h, src/osgPlugins/osg/Fog.cpp: From - Liang Aibin: - - "1. Location: \src\osgPlugins\osg\Fog.cpp - Reason: ".osg" writter plugins output incorrected string for - osg::Fog's Mode. - How to Fix: - Line 138 in Fog.cpp: case(Fog::LINEAR): return "NERVER"; - Change to: case(Fog::LINEAR): return "LINEAR"; - 2. Location: \src\osgPlugins\ive\ - Reason: ".ive" writter plugins missing to process "osg::Fog". - How to Fix: - (1). Line 86 in ReadWrite.h: - Add: #define IVEFOG 0x00001133 - (2). In CMakeLists.txt - "SET(TARGET_SRC" section Add: Fog.cpp - "SET(TARGET_H" section Add: Fog.h - (3). In DataInputStream.cpp - Line 54,Add: #include "Fog.h" - Line 1185,Add: else if(attributeID == IVEFOG){ - attribute = new osg::Fog(); - ((ive::Fog*)(attribute))->read(this); - } - (4). In DataOutputStream.cpp - Line 57,Add: #include "Fog.h" - Line 832,Add: // This is a Fog - else if(dynamic_cast(attribute)){ - ((ive::Fog*)(attribute))->write(this); - } - (5). Add newly created ive::Fog Object in Fog.h and Fog.cpp. - " - -2008-06-18 16:46 robert - - * src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp: Updated wrappers - -2008-06-18 16:45 robert - - * include/osgDB/Output, src/osgDB/Output.cpp: Added a - wrapString(const char*) which automatically handles null strings. - -2008-06-18 16:28 robert - - * src/osgSim/ShapeAttribute.cpp: Convert string handling to use - strdup and free rather then awkward new char[] - code paths +Mon, 17 Oct 2011 14:40:29 +0000 +Checked in by : Robert Osfield +Improvements to osgShadow::ViewDependentShadowMap and ShadowSettings -2008-06-18 14:21 robert +Mon, 17 Oct 2011 11:12:05 +0000 +Checked in by : Robert Osfield +Quitened down debug message - * examples/osgprerender/osgprerender.cpp: Added --fbo-samples value - and --color-samples value command line paramters for enabling fbo - multisampling +Mon, 17 Oct 2011 10:25:28 +0000 +Checked in by : Robert Osfield +From Jean-Sebastien Guay, add --mapres size option to ViewDependentShadowMap settings. -2008-06-18 14:09 robert +Mon, 3 Oct 2011 15:57:06 +0000 +Checked in by : Robert Osfield +Add catch for when shadows are enabled between the update and draw traversals. - * include/osg/Camera, include/osg/FrameBufferObject, - include/osgUtil/RenderStage, src/osg/Camera.cpp, - src/osg/FrameBufferObject.cpp, src/osgUtil/RenderStage.cpp: From - Michael Platings and Paul Palumbo, multi-sample FBO support +Mon, 3 Oct 2011 15:25:16 +0000 +Checked in by : Robert Osfield +From Jean-Sebastien Guay, changed the border colour for the shadow map to be 1 rather the 0 used for debugging so that areas outside the shadow map default to being unshadowed rather than shadowed. changed the shadow map texture assigment to StateSet so that it doesn't use OVERRIDE, enabling subgraphs to use the same texture unit for other textures if they so required. tidied up indentation. -2008-06-18 12:01 robert +Mon, 3 Oct 2011 14:57:39 +0000 +Checked in by : Robert Osfield +Changed getVertical(..) so it uses the same coord scale as the getGlyph - * src/osg/Uniform.cpp: From Jean-Sebastien Guay, "When copying a - node that had uniforms on it, the copy constructor of - osg::Uniform would not copy the array of the original uniform - (either _intArray or _floatArray) because none had been allocated - and the copy constructor checks that *both* this's array and - rhs's array are valid. - - I added a call to allocateDataArray() if rhs has (at least) one - valid array, which should allocate the right array according to - the type. Since the type was copied from rhs, it should create - the same array as rhs has, so then it should copy the data in the - following lines. - " +Mon, 3 Oct 2011 14:56:38 +0000 +Checked in by : Robert Osfield +Fixed handling of ShadowSetting LightNum -2008-06-18 11:56 robert +Mon, 3 Oct 2011 10:36:18 +0000 +Checked in by : Robert Osfield +Added Font::getVertical(float& ascender, float& descender) methods. - * src/osgPlugins/lwo/Surface.cpp: From Bob Kuehne, "added - multi-texture support (alpha/trans images)" +Wed, 28 Sep 2011 11:52:27 +0000 +Checked in by : Robert Osfield +Added catch for NaN vertices that were being generated by osgText, these NaN vertices were causing glu tesselation functions to crash. -2008-06-18 11:51 robert +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. - * src/osgWrappers/osgText/Text3D.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers - -2008-06-18 11:13 robert - - * include/osgViewer/ViewerEventHandlers, - src/osgViewer/ViewerEventHandlers.cpp: From Bob Kuehne, "this - submission extends the osgViewer::RecordCameraPathHandler to have - an optionally-enabled auto-incrementing filename. default - behavior is still the same, but there's one new method to enable - autoincrementing filenames." - - From Robert Osfield, modified the above so that the number - increments come after the filename rather than before. +Tue, 20 Sep 2011 11:46:45 +0000 +Checked in by : Robert Osfield +Added a half second sleep after calling system command when the command is run in the background so that this command has a chance to run and open a window before the calling present3D moves on to the next frame. -2008-06-18 10:51 robert +Tue, 20 Sep 2011 10:59:18 +0000 +Checked in by : Robert Osfield +Added better error reporting and handling when tag contents are not valid. - * src/osgPlugins/vrml/IndexedFaceSet.cpp, - src/osgPlugins/vrml/Primitives.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.h: From Gino van den - Bergen, "Added support for vrml primitive caching" +Tue, 20 Sep 2011 10:01:07 +0000 +Checked in by : Robert Osfield +Added handling of tag and "" options. -2008-06-18 10:46 robert +Mon, 19 Sep 2011 10:42:54 +0000 +Checked in by : Robert Osfield +From Ulrich Hertlein, "attached is a patch that cleans up compiler warnings and common functionality." - * include/osgText/Text3D, src/osgText/Text3D.cpp: From David Callu, - "fixed bounding box bug" +Mon, 19 Sep 2011 10:39:19 +0000 +Checked in by : Robert Osfield +From Wojciech Lewandowski, "There was a bug in reading modifier keys when focus to GraphicsWindowWin32 was restored. Handler of WM_SETFOCUS was reading pressed keys and sending WM_KEYDOWN messages to fill initial keyboard state. But WM_KEYDOWN messages sent had 0 on lParam and adaptKey method computing state of modifier mask was using lParam to find which modifier keys are down. Obviously when lParam was 0 it was not recording proper modifier masks.This patch fixes this code sending proper lParam and also makes sure LEFT_CONTROL will be not confused with RIGHT_CONTROL." -2008-06-17 17:43 robert - * CMakeModules/CheckAtomicOps.cmake, include/OpenThreads/Atomic, - src/OpenThreads/CMakeLists.txt, src/OpenThreads/common/Config.in: - From Mathias Froehlich, OpenThreads::Atomic support -2008-06-16 20:22 robert +Mon, 19 Sep 2011 10:34:31 +0000 +Checked in by : Robert Osfield +From Luc Frauciel, "You'll find attached a new option that allow, when using LOD in USER_DEFINED_CENTER mode to expand the radius of the node by the radius of loaded objets. Motivation ; When using PagedLODs, you don't always know the real size of loaded children, If it occurs that they are out of predefined bounds, picking on the parts that are out of bound will fail They also can be culled out too soon. The problem often occurs with long object (roads). I've modified LOD and ProxyNode to include this option."and later email: - * include/osg/Camera, src/osg/Camera.cpp, src/osg/View.cpp, - src/osgWrappers/osg/Camera.cpp: Added overriding of - CullSettings::inheritCullSettings() into osg::Camera to - properly inherit the clear colour. +"Attached the UNION_OF_BOUNDING_SPHERE_AND_USER_DEFINED version +There are impacts on some serializers (dae, osgWrapper). +I haven't modified deprecated osg, since it's deprecated" -2008-06-16 16:06 robert - * include/osgDB/DatabasePager: Changed class to struct -2008-06-16 13:20 robert +Mon, 19 Sep 2011 10:12:53 +0000 +Checked in by : Robert Osfield +Added removal of [..] from names returned from glGetActiveUniform results to avoid issues with name lookups when the driver add the [..] for uniform arrays. - * src/osgPlugins/txp/TXPNode.cpp, src/osgPlugins/txp/TXPNode.h: - Added mutex to serialize access to the trpager +Mon, 19 Sep 2011 09:44:29 +0000 +Checked in by : Robert Osfield +Copya and Paste Anti-Pattern strikes again! Renamed FreeType usage to Revisions to correct previous mistake when copying and modifying the ReaderWriter. -2008-06-16 09:32 robert +Wed, 14 Sep 2011 10:45:11 +0000 +Checked in by : Robert Osfield +Fixed memory leak - * include/osgDB/DatabasePager: Checking in missing header changes +Wed, 14 Sep 2011 10:22:04 +0000 +Checked in by : Robert Osfield +Added missing forward declaration -2008-06-12 16:33 robert +Wed, 14 Sep 2011 10:02:11 +0000 +Checked in by : Robert Osfield +Added asCamera() methods into osg::Camera and osg::Node - * src/osgDB/DatabasePager.cpp: Refactored the management of the - request queues so that the appropraite mutex is locked when - DatabaseRequest objects are modified +Wed, 14 Sep 2011 09:49:28 +0000 +Checked in by : Robert Osfield +From Laurens Voerman, "attached is a zipped OpenSceneGraph\src\osgPlugins\ffmpeg\FFmpegDecoderAudio.cppIt solves a wrong sample format being set for audiostreams type S32 and F32, for the +enum AVSampleFormat (in include/avutil/samplefmt.h) doesn't match +enum SampleFormat (in include/osg/AudioStream) for anything but +SAMPLE_FORMAT_U8 and SAMPLE_FORMAT_S16 +" -2008-06-06 19:57 robert +and follow up that address versioning issue - * AUTHORS.txt, README.txt, src/osgWrappers/osg/Shape.cpp: Updated - wrappers, authors and readme for 2.5.2 dev release +"I can find the change, avutil version 50.38.0 introduced a new header file: +libavutil/samplefmt.h +older versions use +libavcodec/avcodec.h +with the sampleformats without AV_ -2008-06-06 19:41 robert +an intermideate fix with the FF_API_OLD_SAMPLE_FMT is removed from ffmpeg 0.8.3 so +I think this is the correct fix: - * ChangeLog: Updated ChangeLog +#if LIBAVUTIL_VERSION_INT < AV_VERSION_INT(50,38,0) +#define AV_SAMPLE_FMT_NONE SAMPLE_FMT_NONE +#define AV_SAMPLE_FMT_U8 SAMPLE_FMT_U8 +#define AV_SAMPLE_FMT_S16 SAMPLE_FMT_S16 +#define AV_SAMPLE_FMT_S32 SAMPLE_FMT_S32 +#define AV_SAMPLE_FMT_FLT SAMPLE_FMT_FLT +#define AV_SAMPLE_FMT_DBL SAMPLE_FMT_DBL +#define AV_SAMPLE_FMT_NB SAMPLE_FMT_NB +#endif +" -2008-06-06 17:45 robert - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Updated versions for 2.5.2 - dev release -2008-06-06 16:45 robert - * examples/osgscreencapture/CMakeLists.txt: From Jean-Sebastien - Guay, "The new osgscreencapture example was being installed to - bin instead of to share/OpenSceneGraph/bin, this is because the - CMakeLists.txt used SETUP_APPLICATION instead of SETUP_EXAMPLE. - Corrected CMakeLists.txt attached. - " -2008-06-06 16:41 robert - * src/osgPlugins/osg/PagedLOD.cpp: From Stephane Lamoliatte, "fix - to reading of DatabasePath property" +Tue, 13 Sep 2011 13:38:26 +0000 +Checked in by : Robert Osfield +From Morten Hauknes, "I have been using the getLastVisiblePixelCount on pre 3.0 osg. I believe maybe this was a private function that we made public in our side. I use(d) this method to make a simple algorithm to tell how much visible an object was in percent.So with the 3.0 api change we propose the following change: +- put OSG_EXPORT on the QueryGeometry class so that we get access to the getNumPixels method. +- Create a function called getQueryGeometry that returns a casted _queryGeode->getDrawable(). Or a function called getQueryGeode that returns _queryGeode." -2008-06-06 16:28 robert - * src/osgUtil/IntersectionVisitor.cpp: From Glenn Waldron, "I'm - using an IntersectionVisitor with a PagedLOD database, employing - a ReadCallback to allow the intersector to traverse the paged - nodes. I discovered that if the visitor is unable (for any - reason) to load a subtile via the ReadCallback, the intersection - fails. However, I had the requirement to "fall back" on the - lower-resolution parent tile and settle for that intersection. - - This was easy to implement simply by overriding - IntersectionVisitor::apply(PagedLOD). My question is: Are there - any opinions on whether this should be the default behavior? If - it makes sense, I will submit the change; if not, no worries." -2008-06-06 16:25 robert +Tue, 13 Sep 2011 13:33:41 +0000 +Checked in by : Robert Osfield +From Jean-Sebastien Guay, removed unneccessary BUILD_QT_EXAMPLES cmake option - * include/osgText/Text3D: From Paul Melis, "Here's an updated - include/osgText/Text3D that forces recomputation of the glyph - repr when the character depth is updated, also when the rendering - mode is set. - This caused a Text3D object read from a .osg file to not have the - correct depth." +Tue, 13 Sep 2011 11:48:06 +0000 +Checked in by : Robert Osfield +From Sukender, "I just fount that writing double precision values (eg. Vec3dArray for vertices) works with .osg but not .osgt/.osgx. So here is the fix (SVN trunk r12712). I suppose .osgb works as expected on this point and did not change anything. So, as for .osg, if you add "precision 16" (for instance) to the optionString, then you'll get double precision vertices written correctly. " -2008-06-06 14:59 robert +Tue, 13 Sep 2011 11:09:39 +0000 +Checked in by : Robert Osfield +From Robert Milharcic, "This will hopefully fix some issues with osgQt, more precisely with GLWidget event handling. There are at least two current GL context braking events, QEvent::Hide and QEvent::ParentChange. When running in a multithreaded mode they both try to change current GL context in a wrong thread (main GUI thread). The QEvent::ParentChange is also problematic when running in a single threaded model because Qt is going to release current contex then delete it, and then it will create new one, and as a result the osg will continue to render to an invalid deleted context. This changes workaround above problems by deferring execution of the problematic evens. These events has to be enqueued and executed later. The enqueued event processing is currently done right after swap in a swapBuffersImplementation of GraphicsWindowQt while code is running in a render thread by calling QGLWidget handler directly. In principle the deferred events queue should be executed while in GUI thread but I couldn't find any reliable way to do this, that is without risking a deadlock. For now it is assumed, Qt is not going to execute any GUI thread only operations inside the QGLWidget handler." - * src/osgPlugins/logo/ReaderWriterLOGO.cpp: From Mathieu Marache, - "I have made the logo plugin work again (a simple copy and paste - problem) and added the path of the logo file (if not empty) to - the data file path in order to be able to find images - relatively." +Tue, 13 Sep 2011 10:15:07 +0000 +Checked in by : Robert Osfield +From Farshid Lashkari, " The osgUtil::CullVisitor class will display an OSG_INFO notification when attempting to clamp the projection matrix with invalid near/var values. This usually appears when the scene graph is empty or all objects are culled. I don't think this scenario warrants having this message appear every frame. It makes it very difficult to debug other issues when this notification floods the output window.I'd prefer to have the notification removed, but there might be legitimate cases where you want this displayed. Instead, I just disabled the output if the near/far values are equal to FLT_MAX (their initial values). This should at least prevent the notification for the common case where everything was culled." -2008-06-06 14:10 robert - * examples/osgkdtree/osgkdtree.cpp: Cleaned up implementation to - only use simple structure -2008-06-06 13:21 robert +Tue, 13 Sep 2011 09:59:21 +0000 +Checked in by : Robert Osfield +From Paul Martz, "Here's my proposed change regarding the osg-users post "small feature culling threshold". I've updated the comments and brought the default values into agreement, but didn't bother to add the environment variable support." - * include/osgUtil/SceneView, src/osgUtil/SceneView.cpp: Renamed - _rendergraph to _stateGraph to better reflect its function +Tue, 13 Sep 2011 09:53:34 +0000 +Checked in by : Robert Osfield +From Jean-Sebastien Guay, "I added a simple setting in OSG's CMakeLists.txt to be able to disable building anything related to Qt. It just skips the FindPackage(...) for Qt3 and Qt4, so since they are not found nothing related to Qt will be generated by CMake. The default is to build the Qt related stuff, so current behavior is unchanged." -2008-06-06 13:21 robert +Tue, 13 Sep 2011 09:46:22 +0000 +Checked in by : Robert Osfield +From Sukender, "I added a tiny check to avoid an integer divide-by-zero, when image is invalid (ie. all values are 0)." - * examples/osgkdtree/osgkdtree.cpp: Introduce a lower overhead data - structure for leaves. +Tue, 13 Sep 2011 09:43:45 +0000 +Checked in by : Robert Osfield +From Sukender, "I added a crash-guard against corrupted 3DS files, having faces indexes out of the range of existing vertices." -2008-06-06 10:51 robert +Tue, 13 Sep 2011 09:21:07 +0000 +Checked in by : Robert Osfield +From Farshild Lashkari, "Attached is a simple patch that avoids the depth write pass in Text::renderWithDelayedDepthWrites if the current osg::State object has GL_DEPTH_TEST disabled." - * examples/osgkdtree/osgkdtree.cpp: Added update traversal to run - prior to doing kdtree build to make sure that - costs in build osgTerrain databases isn't incurred during the - build traversal. +Tue, 13 Sep 2011 09:17:21 +0000 +Checked in by : Robert Osfield +Reverted Paul Idstein warning fix as this was breaking the build -2008-06-06 09:08 robert +Mon, 12 Sep 2011 16:24:08 +0000 +Checked in by : Robert Osfield +From Ulrich Hertlein, Added some error checks and memory cleanup. - * src/osgViewer/ViewerBase.cpp: Quitened down the release context - message +Mon, 12 Sep 2011 16:20:45 +0000 +Checked in by : Robert Osfield +From Stephan Huber, fixed build for OSX 10.6 and earlier -2008-06-06 08:42 robert +Mon, 12 Sep 2011 16:17:33 +0000 +Checked in by : Robert Osfield +From Johannes Baeuerle, opptimization of ES support of osg/BufferObject - * include/osgDB/DatabasePager: Added OSGDB_EXPORT +Mon, 12 Sep 2011 12:38:41 +0000 +Checked in by : Robert Osfield +From Bjorn Blissing, "Found a minor (probably a copy & paste) bug in ViewerEventHandlers. Line 251: int getKeyEventWindowedResolutionDown() const { return _keyEventWindowedResolutionUp; }Should be replaced with: +int getKeyEventWindowedResolutionDown() const { return _keyEventWindowedResolutionDown; }" -2008-06-05 18:52 robert - * examples/osgkdtree/osgkdtree.cpp: Added timing code -2008-06-05 17:28 robert +Mon, 12 Sep 2011 12:26:55 +0000 +Checked in by : Robert Osfield +From Luc Frauciel, "When osgUtil::DelaunayTriangulator triangulate() function ends with no triangle generated, it crashes. This patch fixes that" - * examples/osgkdtree/osgkdtree.cpp: Basic implementation of kdtree - generation based on vertices +Mon, 12 Sep 2011 12:14:17 +0000 +Checked in by : Robert Osfield +From Magnus Kessler, documentation fixes -2008-06-05 13:46 robert +Mon, 12 Sep 2011 12:04:46 +0000 +Checked in by : Robert Osfield +Improved the clarity of doxygen comments - * include/osg/Shape: Added accep(Shape&) +Mon, 12 Sep 2011 11:51:14 +0000 +Checked in by : Robert Osfield +Fixed typos in the documentation -2008-06-04 17:59 robert +Mon, 12 Sep 2011 11:28:14 +0000 +Checked in by : Robert Osfield +From Cedric Pinson, from three submissions:"Here a patch that correct like the previous assign collada material name +to stateset." - * examples/osgkdtree/osgkdtree.cpp: Further work on fleshing out - basic classes +and -2008-06-04 16:53 robert +"I changed how the collada reader set object name in osg. Current +implementation use collada ID to setup name. with this patch I use +collada name to setup name in osg object and if collada provide no name +I use as fallback ID. I am not sure we want this fallback. - * src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/osgViewer/ViewerBase.cpp: Updated wrappers +The motivation of this change is that when an artist set names to its +objects and export to collada, I am not able to use those names in osg +to retrieve the node." -2008-06-04 16:46 robert +and - * include/osgViewer/ViewerBase, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/Viewer.cpp, src/osgViewer/ViewerBase.cpp: Added - support for optionally calling releaseContext at the end of each - renderinTraversals() to help with cases where uses are driving - multiple - contexts from mulitple viewers in a single threaded frame loop. +"Here the update of the file that fix the light id stuff" -2008-06-03 17:29 robert - * examples/osgkdtree/osgkdtree.cpp: Fleshed out some basic kd-tree - data structures. -2008-06-03 16:13 robert - * examples/CMakeLists.txt, examples/osgkdtree, - examples/osgkdtree/CMakeLists.txt, - examples/osgkdtree/osgkdtree.cpp: First cut of osgkdtree example, - this will be used as a base of the development of - native kdtree support to help speed up intersection testing. +Mon, 12 Sep 2011 11:24:52 +0000 +Checked in by : Robert Osfield +From Bob Kuehne, build fix for OSX 10.7 SDK. -2008-06-03 15:49 robert +Mon, 12 Sep 2011 11:24:24 +0000 +Checked in by : Robert Osfield +From Paul Idstein, warning fixes for OSX 10.7 - * src/osgDB/DatabasePager.cpp: Added missing updateBlock() +Mon, 12 Sep 2011 10:52:16 +0000 +Checked in by : Robert Osfield +From Magnus Kessler, typo fixes -2008-06-03 13:07 robert +Mon, 12 Sep 2011 10:47:59 +0000 +Checked in by : Robert Osfield +From Wang Rui, "I've encountered a strange problem that osgviewerMFC doesn't work well with the StatsHandler. When the 's' key is pressed, the rendering window will be halted. I tried solving the problem by commenting a line in CMFC_OSG_MDIView::OnKeyDown() and it seems to work now.Another improvement here is to use a thread class derived from +OpenThreads to replace the old _beginthread(). It helps a lot in +keeping a high frame rate when you open more than one MDI child +windows. And the application using OpenThreads in my opinion will be +more compatible and portable." - * src/osgPlugins/txp/trpage_print.cpp, - src/osgPlugins/txp/trpage_print.h: From Mario Valle, fixed - warnings -2008-06-03 13:06 robert - * src/osgPlugins/txp/trpage_print.cpp, - src/osgPlugins/txp/trpage_print.h: Ran merge to get rid of tabs +Mon, 12 Sep 2011 10:46:42 +0000 +Checked in by : Robert Osfield +Updated SO version number to 90 to allow for recent changes to the ABI, and to set the base for the 3.1.0 series. -2008-06-03 11: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);" - * src/osg/Notify.cpp: From Marco Lehmann and Robert Osfield, this - fix was implemented by Robert but - is based on suggested fix from Marco for fixing a crash due to - lack of - thread safety in std::ofstream("/dev/null"); The fix is to use a - custom stream - buffer that just discards all data. The implementation is also - twice as fast - as the old /dev/null based approach. +Wed, 7 Sep 2011 20:05:25 +0000 +Checked in by : Robert Osfield +Added handling the ShadowSettings::LightNum for selecting which light to use. -2008-06-03 11:28 robert +Wed, 7 Sep 2011 16:26:57 +0000 +Checked in by : Robert Osfield +Added handling of the case when RenderLeaf::_modelview matrix is NULL, such as when LightPointNode is used in the scene graph. - * examples/osgunittests/osgunittests.cpp: Added unit test to smoke - out a thread issue with using ofstream("/dev/null") inside - osg::notify() +Wed, 7 Sep 2011 15:55:54 +0000 +Checked in by : Robert Osfield +Moved ViewDependetShadowMap parameter settings into a dedicated ShadowSettings object in prep for making it possible to scale the API to handle multiple lights and multiple shadow maps per light. -2008-06-02 17:34 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. - * include/osgGA/EventQueue, include/osgGA/GUIEventAdapter, - include/osgViewer/GraphicsWindow, include/osgViewer/View, - src/osgGA/GUIEventAdapter.cpp, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/View.cpp: - Added support for assigning GraphicsContext to individual - GUIEventAdapter events, - and use of this within osgViewer::View to better track the - sources of events. +Tue, 6 Sep 2011 14:13:13 +0000 +Checked in by : Robert Osfield +Added optimization of the mutliple cessna shadow model to address peformance issues when rendering 100 cessna's. -2008-05-31 08:47 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 - * CMakeLists.txt: Changed FIND_PACKAGE(PkgConfig) to - INCLUDE(FindPkgConfig OPTIONAL) as per - suggestion from Philip Lowman. +Tue, 6 Sep 2011 11:11:38 +0000 +Checked in by : Robert Osfield +Fixed the heights of the trees and houses -2008-05-30 21:23 robert +Tue, 6 Sep 2011 10:12:45 +0000 +Checked in by : Robert Osfield +Added s/getPerspectiveShadowMapCutOffAngle() and use of this when setting up light space to avoid sigularaties when the light and view directions are co-incident. - * AUTHORS.txt, README.txt, applications/osgversion/osgversion.cpp: - Updated authors and version file for 2.5.1 dev release +Mon, 5 Sep 2011 12:36:47 +0000 +Checked in by : Robert Osfield +Added support for setting whether ViewDependentShadowMap should provide it's own vertex and fragment shaders. -2008-05-30 21:12 robert +Mon, 5 Sep 2011 12:27:20 +0000 +Checked in by : Robert Osfield +Replaced use of ShapeDrawable with osgTerrain for the terrain tile - * ChangeLog: Updated ChangeLog +Fri, 2 Sep 2011 10:16:16 +0000 +Checked in by : Robert Osfield +Added s/getTextureSize() method for setting the shadow map texture size. -2008-05-30 21:08 robert +Fri, 2 Sep 2011 07:46:08 +0000 +Checked in by : Robert Osfield +Disabled the use of the ReceivesShadowTraversalMask() mask - * CMakeLists.txt: Added version check on FIND_PACKAGE(PkgConfig) to - attempt to fix build with older versions of CMake +Thu, 1 Sep 2011 18:49:33 +0000 +Checked in by : Robert Osfield +Added test line for COMPUTE_NEAR_USING_PRIMITIVES -2008-05-30 20:15 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. - * include/osg/Camera: Added applyMaskAction(CLEAR_COLOR) to - Camera::setClearColor() to enable proper inheritance +Mon, 29 Aug 2011 16:01:02 +0000 +Checked in by : Robert Osfield +From Tony Horrobin, build fix -2008-05-30 17:03 robert +Mon, 29 Aug 2011 10:26:05 +0000 +Checked in by : Robert Osfield +Added fallback base texture - * ChangeLog: Updated ChangeLog +Mon, 29 Aug 2011 09:59:47 +0000 +Checked in by : Robert Osfield +Added support for setting the MinimumShadowMapNearFarRatio. -2008-05-30 16:53 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. - * CMakeLists.txt: From Jean-Sebastien Guay, "This is a fix for the - warning we've been discussing on osg-users. CMake 2.6.0 allows - quotes to be unescaped in strings in ADD_DEFINITIONS statements, - where we had to escape them before (CMake 2.4.x). Setting CMake - policy CMP0005 to OLD removes the warning for 2.6.0, and the - quotes are still escaped, so it still works with 2.4.x. - " +Fri, 26 Aug 2011 15:36:33 +0000 +Checked in by : Robert Osfield +Added names to models to help with debugging. -2008-05-30 12:59 robert +Fri, 26 Aug 2011 10:52:25 +0000 +Checked in by : Robert Osfield +Added releaseGLObjects/resizeGLObjectBuffers support - * src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/Layer.cpp, - src/osgPlugins/ive/Layer.h, src/osgPlugins/ive/ReadWrite.h: From - Luc Frauciel, Added support for osgTerrain::ValidDataOperator. - - From Robert Osfield, added versioning to the above. +Thu, 25 Aug 2011 17:21:38 +0000 +Checked in by : Robert Osfield +Improved the handling of depth partitioning and orthographic datasets -2008-05-30 11:44 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. - * packaging/pkgconfig/openscenegraph.pc: Updated packgage number - for 2.5.1 developer release +Wed, 24 Aug 2011 19:38:58 +0000 +Checked in by : Robert Osfield +Added support for user defined setting of the shadow texture unit -2008-05-30 11:43 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. - * include/osg/PagedLOD, include/osgDB/DatabasePager, - src/osg/PagedLOD.cpp, src/osgDB/DatabasePager.cpp: Fixed cirular - reference in DatabaseRequest +Wed, 24 Aug 2011 12:32:03 +0000 +Checked in by : Robert Osfield +Imorovements to the new perspective/lispsm style shadow implementation. -2008-05-29 13:54 robert +Wed, 24 Aug 2011 12:31:35 +0000 +Checked in by : Robert Osfield +Quitened down and fixed warning - * include/osg/Texture, src/osgWrappers/osg/Texture.cpp: Moved enum - to public scope and rebuilt wrappers to fix wrapper build error +Fri, 19 Aug 2011 12:42:51 +0000 +Checked in by : Robert Osfield +Quitended down debug messages and added passing of RenderStage to LispSM code -2008-05-29 11:45 robert - - * src/osgPlugins/OpenFlight/PrimaryRecords.cpp: Added code to catch - erroneous Dof axis settings - -2008-05-29 11:13 robert - - * src/osgUtil/CullVisitor.cpp: Improved the NaN depth detection - within CullVisitor and debug output. - -2008-05-29 11:09 robert - - * src/osgUtil/CullVisitor.cpp, src/osgUtil/RenderBin.cpp: Improved - the NaN error detection and reporting. - -2008-05-28 17:56 robert - - * src/osgUtil/RenderBin.cpp: Added catch for NaN depth values - -2008-05-28 16:14 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Wojiech Lewandowski, - Workaround for wglMakeCurrent bug in NVidia drivers by - calling wglMakeCurrent twice. - - This bug has been reported to NVidia, confirmed and fixed by - NVidia but awaits verifiaction and release if a driver which - fixes this bug. - -2008-05-28 14:37 robert - - * src/osgWrappers/osgShadow/ParallelSplitShadowMap.cpp: Updated - wrappers - -2008-05-28 14:11 robert - - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ParallelSplitShadowMap, - src/osgShadow/ParallelSplitShadowMap.cpp: From Adrian Egli, - improvements to ParallelSplitShadowMap implementation - -2008-05-28 13:51 robert - - * src/osgPlugins/png/ReaderWriterPNG.cpp: From Thibault Genessay, - "The PNG plugin crashes when you try to read a malformed file - (attached - is an example). This can happen in circumstances that are not - manageable by the OSG itself (e.g. 3rd party buggy program) but - one - would expect the plugin to be able to recover by returning - ReadResult::ERROR_IN_READING_FILE. - - libpng provides two callbacks for warnings and errors - those are - currently unused. By default, they point to function that call - exit() - or something similar (the default error callback never returns). - This - patch registers the callbacks using libpng's mechanisms, makes - the - warning callback emit an osg::notify(osg::WARN) message and the - error - callback throw an error. The reading process is enclosed in a - try...catch block. Upon error, the memory is freed and - ReadResult::ERROR_IN_READING_FILE is returned. - " - -2008-05-28 13:45 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Thibault Genessay, - "On Windows, when setting a cursor through - osgViewer::GraphicsWindow::setCursor() the new cursor type is - recorded - but not applied until windows sends another WM_SETCURSOR message. - This - delays the application of the cursor to the next mouse event. - - The attached file fixes this by setting the new cursor with a - call to - ::SetCursor() immediately. - " - -2008-05-28 13:01 robert - - * src/osg/Texture.cpp: From Michael Platings, "Yes it's definitely - a driver problem - I submitted a bug report to - nvidia 6 months ago and the issue is still "in progress". I've - given up - waiting for them! - - Platform - various Intel Windows XP SP2 PCs with various nvidia - cards - including GeForce 8800 GTS and Quadro FX 4500, and various driver - versions including the latest WHQL 175.16. - - I investigated your concerns about glGenerateMipmapEXT being - slower than - GL_GENERATE_MIPMAP_SGIS, and for power-of-two textures, to my - surprise - it is. For a 512*512 texture, glGenerateMipmapEXT takes on - average 10ms, - while GL_GENERATE_MIPMAP_SGIS takes on average 6ms. Therefore I - have - modified the code to only use glGenerateMipmapEXT if the texture - has a - non-power-of-two width or height. I am resubmitting all the files - previously submitted (only "Texture.cpp" has significant changes - since - my previous submission, I've also replaced tabs with spaces in - "Texture"). - " - -2008-05-28 12:49 robert - - * CMakeLists.txt, CMakeModules/OsgMacroUtils.cmake, - src/osgDB/Registry.cpp: From Mathieu Marache, - - first post: - - "I had the problem that debug and release version of the plugins - had the same name under linux. These minors modification to - Registry and the CMake support files enable to have both Release - and Debug version of the plugins to coexist and be found by there - respective runtimes." - - follow up post: - - "I've gone ahead and added a preprocessor directive with the - editable CMAKE_DEBUG_POSTFIX. I modified Registry.cpp to take - this new preprocessor directive called OSG_DEBUG_POSTFIX while - looking for libraries in Debug mode for the windows (msvc) and - the linux platforms. - - MinGW, cygwin and Apple are still left out this proposal." - - - Notes from Robert Osfield, completed the work in change d entries - to use OSG_DEBUG_POSTFIX - -2008-05-28 11:58 robert - - * src/osgWrappers/osg/Texture.cpp: Updated wrappers - -2008-05-28 11:19 robert - - * include/osg/Texture, src/osg/Texture.cpp, src/osg/Texture2D.cpp, - src/osg/TextureCubeMap.cpp: From Michael Platings, "On nvidia - cards mipmap generation for non-power-of-two textures with - GL_GENERATE_MIPMAP_SGIS is very slow (over half a second for a - 720*576 - texture). However, glGenerateMipmapEXT() performs well (16ms for - the - same texture), so I have modified the attached files to use - Texture::generateMipmap() if glGenerateMipmapEXT is supported, - instead - of enabling & disabling GL_GENERATE_MIPMAP_SGIS." - - Notes, from Robert Osfield, I've tested the out of the previous - path using - GL_GENERATE_MIPMAP_SGIS and non power of two textures on NVidia - 7800GT and - Nvidia linux drivers with the image size 720x576 and only get - compile times - of 56ms, so the above half second speed looks to be a driver bug. - With - Muchael's changes the cost goes done to less than 5ms, so it's - certainly - an effective change, even given that Michael's poor expereiences - with - GL_GENERATE_MIP_SGIS do look to be a driver bug. - -2008-05-27 20:53 robert - - * src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/TXPIO.cpp, src/osgPlugins/txp/TXPNode.cpp, - src/osgPlugins/txp/TXPNode.h, src/osgPlugins/txp/TXPPagedLOD.cpp, - src/osgPlugins/txp/TXPParser.cpp: From Brad Anderegg, "This - submission fixes two bugs and helps some performance problems we - have been having with txp databases. - - - - The first bug is that the terrain tiles will page out to a lower - LOD when they are right in front of you. The issue appears to be - with the blacklisting heuristic which forces a tile to LOD 1, - commenting out the usage of blacklisting with the LOD Nodes fixes - our problem. This code change was made to line 29 of - TXPPageLOD.cpp. - - - - The second bug we were experiencing is that the database reader - options never make it through to the archive loader. The use case - for us appeared when the FID codes for the terrain were no longer - on the materials. As it turns out the archive was being created - twice, once by TXPNode and once by the ReaderWriterTXP on - getArchive() so the options never actually got set on the archive - that was being loaded. The fix is to first create the archive by - calling getArchive on the ReaderWriterTXP, which stores it in a - map for reference later, and then passing that archive into the - TXPNode for it to set its internal member. With this code change - we only create one archive (not sure what creating two did) and - our options flags get set properly on the database. - - - - The changes made are in TXPNode.h line 72 where the TXPArchive is - now passed in. In the TXPNode.cpp the loadArchive(TXPArchive*) - was changed to have the default behavior if NULL is passed in, if - an archive is passed in then it does not load it since all the - loading is done in the ReaderWriterTXP::getArchive(). The only - other place that loadArchive is called is in TXPIO.cpp where a - modification was made to pass in NULL which will have the same - behavior as it used to. The last change is the little block of - code starting on line 57 of ReaderWriterTXP.cpp, this was changed - so that it first calls getArchive() which caches the archives in - a map does some loading stuff and returns a pointer to it which - is then passed in as a parameter to TXPNode::loadArchive(). - - - - The performance changes were made to TXPParser.cpp line 163 where - we use to osgUtil::Optimizer on the node before passing it off, - and on line 1456 we changed the geometry to use display lists. - These small changes actually made drastic performance increases - for us, as much as 1000% on certain laptops. - - - - As far as testing goes, we have tested these changes with at - least 5 txp databases on a variety of different computers - including Mac OS and Linux. The base version used is 2.4." - -2008-05-27 17:42 robert - - * CMakeLists.txt: From Cedric Pinson, "By default it's the normal - behaviour, it means it's "d" extension for debug library and - executable. But if you want to change that you can. - The reason is if you want to build an application that use a - library that use openscenegraph you have to build the full chain - in debug or in release. - On windows you have no choice, but on linux you can link with - both version without rebuilding everything ... - - The patch consist only to change the line on one line - SET(CMAKE_DEBUG_POSTFIX "d") - with - SET(CMAKE_DEBUG_POSTFIX "d" CACHE STRING "add a postfix, usually - d on windows")" - -2008-05-27 17:32 robert - - * src/osgSim/Sector.cpp: From Lars Nilson, bug fix to - Sector::computeMatrix() - -2008-05-27 16:32 robert - - * src/osgDB/FieldReader.cpp, src/osgDB/Output.cpp: Added handling - of \ within srings by using \\ - -2008-05-27 15:42 robert - - * src/osgWrappers/osg/Texture2DArray.cpp, - src/osgWrappers/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/osgTerrain/Terrain.cpp, - src/osgWrappers/osgTerrain/TerrainTechnique.cpp, - src/osgWrappers/osgTerrain/TerrainTile.cpp: Updated wrappers - -2008-05-27 15:30 robert - - * include/osgTerrain/GeometryTechnique, - include/osgTerrain/TerrainTechnique, - include/osgTerrain/TerrainTile, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Terrain.cpp, - src/osgTerrain/TerrainTechnique.cpp, - src/osgTerrain/TerrainTile.cpp: Reorginized the - TerrainTile/TerrainTechnique dirty mechanism so that TerrainTile - now holds the dirty flag and enables/disables event traversal in - response dirty - being set/unset. This allows terrain to be automatically updated - in response - to Terrain scale and sample ratio changes. - -2008-05-27 15:28 robert - - * examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp: - Introduced a TerrainHandler that adjust the sameple ratio and - vertical scale - of terrain interactively using the 'r','R' and 'v','V' keys - respecitvely. - -2008-05-27 13:11 robert - - * include/osgTerrain/Terrain, src/osgTerrain/GeometryTechnique.cpp, - src/osgTerrain/Terrain.cpp: From John Vidar Larring, "Added - vertical scale as a property of osgTerrain::Terrain. Lets you - configure vertical scale when initializing the terrain model. - E.g: - - osgTerrain::Terrain* terrain = - findTopMostNodeOfType(model.get()); - if (!terrain) - { - terrain = new osgTerrain::Terrain; - terrain->addChild(model.get()); - terrain->setVerticalScale(2.0f); - model = terrain; - } - viewerWindow->setSceneData(model.get()); - " - -2008-05-27 12:07 robert - - * CMakeLists.txt, include/osg/Version: Updated version numbers in - prep for 2.5.1 release - -2008-05-27 12:06 robert - - * src/osgPlugins/vrml/CMakeLists.txt, - src/osgPlugins/vrml/IndexedFaceSet.cpp, - src/osgPlugins/vrml/Primitives.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.h: From Gino van den - Bergen, "I've refactored the single ReadedWriterVRML2.cpp into - multiple files. The reason for doing this was to break up the - horribly long function - - osg::ref_ptr - ReaderWriterVRML2::convertFromVRML(openvrml::node *obj) - - The fixes are: - - * Added the source's parent directory as search directory for - image files. - * The material properties are now set in the stateset of the - Geode rather than the Geometry. This will allow geometries to be - reused with different material properties in future updates. - - NB: I planned for a caching scheme in which multiple occurences - of the same primitive (e.g., Cylinders with radius 0.8 and height - 1.2), would use the same Geometry object. Unfortunately, my - planning moved me to other areas, but I might still finish the - caching scheme in a quiet hour. For the time being I decided it - would be a good thing to already submit my current changes. - " - -2008-05-27 11:13 robert - - * src/osgViewer/PixelBufferX11.cpp: From Mathias Froehlich, - "Included a fix for my past pbuffer change. The version test fo - 'need at least - glx 1.1' was broken, even if no implementation had yet a chance - to trigger - that :) - - Attached a fix for that broken test. - Based on rev 8358" - -2008-05-27 11:07 robert - - * src/osgPlugins/osg/LineStipple.cpp: From Andrew Bettison, - "Problem: the LineStipple pattern when read from an OSG node file - is always 0xFFFF, even though specified otherwise in the OSG - file. - - Cause: possibly a copy/paste typo in - src/osgPlugins/osg/LineStipple.cc, line 61: - if (fr[0].matchWord("functionMask") && fr[1].getUInt(mask)) - - Solution: change to: - if (fr[0].matchWord("pattern") && fr[1].getUInt(mask))" - -2008-05-27 11:04 robert - - * src/osgUtil/GLObjectsVisitor.cpp: From Stephane Lamoliatte, "Here - is a patch that fix the strange bug describe on the osg-user - group. - Finally it seems to not come from the empty geode. The origin of - the problem seems to be the uniform initialization during the - building of the program which call a glUseProgram. - If your scene never display the node that contains the shader and - if there is no other shader on the scene, this "glUseProgram" is - the only one that is called during your simulation. So, this - shader is applied on all the scene. - - I fix this bug by switching off the shader (by calling - glUseProgram(0) ) during the compilation of a state which does - not contain the shader. - " - -2008-05-27 10:50 robert - - * src/osgPlugins/gif/ReaderWriterGIF.cpp: From Wang Rui, "I have - just done some changes on the classic osgdb_gif plugin (based on - OSG 2.5.0). I wish our developers may use the newly written GIF - reading plugin to attach animate GIF files as textures now! In my - opinion, a GIF is much smaller than AVI and MOVs, and much more - efficient sometimes. - - Changes includes: - 1. A new GifImageStream class (inherit from osg::ImageStream and - OpenThreads::Thread) have already been added to implement - different operations of a GIF movie, such like playing, pausing, - rewinding, setting time and so on. - 2. Some small changes to decode_row() and gif_read_stream(), - which make the transparency of GIF images correctly. - 3. Just a few changes to the ReaderWriterGIF::readGIFStream() - function, which ensure that animate GIFs are loaded by - GifImageStream (and the function returns GifImageStream objects) - and static GIFs unchanged (still use the old method and returns - osg::Image objects!). - - Attachments are the cpp file and an animate GIF file for further - test. Just rebuild the osgdb_gif project and use osgviewer or - osgmovie to view it. - The plugin has been tested on Windows and Arch Linux." - -2008-05-26 22:36 robert - - * CMakeLists.txt, CMakeModules/Find3rdPartyDependencies.cmake, - CMakeModules/OsgMacroUtils.cmake, - src/OpenThreads/pthreads/CMakeLists.txt, - src/osgPlugins/CMakeLists.txt: From Philip Lowman, post 1: - - "Here is a collection of changes which should fix issues building - the OSG with CMake 2.6.0 (along with some other changes) - - CMakeLists.txt: - * Set CMP0003 to supress warning about linking against -lpthread - (which is a - non-absolute library location). (CMake 2.6.x fix) - * Modified the WIN32_USE_MP and a couple of other Visual Studio - specific flags - to be in an IF(MSVC) block (minor tweak to reduce exposing this - stuff on MinGW builds) - * Includes my second set of glu tesselator autodetection changes - that you - seemed to want but haven't committed yet. - - src/OpenThreads/pthreads/CMakeLists.txt: - * Eliminates warning when compiling on Linux about spaces in link - line (CMake 2.6.x fix) - - CMakeModules/OsgMacroUtils.cmake: - * Tweaks to make the macros behave properly under CMake 2.6.0 - (doesn't change behavior under CMake 2.4.x) - - CMakeModules/Find3rdPartyDependencies.cmake: - * Adds the NO_DEFAULT_PATH option to all of the search options so - that things in C:\Program Files\OpenSceneGraph aren't accidently - picked up during configure time and instead only things in the - "3rdParty" folder are discovered. (general bugfix) - " - - post 2: - "Ok, hold the presses. I just discovered that for some odd reason - the osgdb_* plugins under Linux aren't getting put under the - osgPlugins-2.5.0 folder. Not exactly sure why this broke, the - folder was there, just empty. I'll have to look into it this - evening." - - post 3: - - "Fixed, was caused by the switch to - CMAKE_LIBRARY_OUTPUT_DIRECTORY and some code in - osgPlugins/CMakeLists.txt that effectively overrides - LIBRARY_OUTPUT_PATH on non-MSVC compilers to dump the plugins in - the plugins folder. I tweaked it to override - CMAKE_LIBRARY_OUTPUT_DIRECTORY as well. Seems to work fine." - -2008-05-26 22:34 robert - - * src/osgPlugins/dae/daeWGeometry.cpp: From Paul Martz, "When - exporting a DrawArrays PrimitiveSet, the DAE plugin computes an - incorrect nbVerticesPerPoly if the first index is not zero. The - issue can be reproduced easily with: - osgconv cessna.osg cessna.dae - - Examination of the resulting .dae file reveals several - out-of-range tristrip indices; viewing the .dae file in osgviewer - causes a crash when OSG tries to lookup those indices. - - Attached resolves this issue." - -2008-05-26 21:53 robert - - * include/osg/Texture2DArray, src/osg/Texture2DArray.cpp: From Art - Tevs, "I've attached a patch for the Texture2DArray which solves - problems of loading image data into the texture array. So here - are a small description: - - - Solves issues of loading image data into the texture memory - - Print a warning if images are of different dimensions or have - different internal formats (GL specification requires images to - be the same) - - - Patch is tested and seems to work fine. It shouldn't break any - other functionality. It should go into include/osg and src/osg - " - -2008-05-26 21:44 robert - - * include/osg/CullSettings: Fixed copyright notice typo - -2008-05-26 21:33 robert - - * src/osg/StateSet.cpp: From Paul Martz, "The attached code changes - StateSet::merge() so that it copies RenderBin data such as the - rendering hint and RenderBin details from rhs into "this", only - if "this" has RenderBin mode set to INHERIT. - - It replaces a comment by you indicating something along these - lines should be done. To me, this seems like the right thing to - do." - -2008-05-26 21:32 robert - - * src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeWMaterials.cpp: From Gino, "According to - the 1.4.1 COLLADA spec (2nd ed) the standard behavior for - fx_sampler_wrap_common is as follows - - CLAMP ->GL_CLAMP_TO_EDGE - NONE->GL_CLAMP_TO_BORDER - - The current 2.5.0 daePlugin assumes the following binding - - CLAMP ->GL_CLAMP - NONE->GL_REPEAT - - Notably the GL_CLAMP binding will result in visible black seams - on input files that use otherwise matching textures. Replacing - GL_CLAMP by GL_CLAMP_TO_EDGE solves this problem. I've updated - both the read and write functions. - " - -2008-05-26 21:18 robert - - * CMakeLists.txt: From Philip Lowman, "I changed the test name to - be a little easier to understand and defaulted Linux & Windows - builds to false and to skip the compile check as you desired. - " - -2008-05-26 21:10 robert - - * src/osgWrappers/osg/AnimationPath.cpp: Updated wrappers - -2008-05-26 21:09 robert - - * examples/osgviewerWX/osgviewerWX.cpp, - examples/osgviewerWX/osgviewerWX.h: From Paul Melis, "Here is an - update to the osgviewerWX example. Keyboard events were not - always received because the GraphicsWindowWX wasn't receiving - focus. It now receives focus when the mouse enters the window. - * I split the mouse handling from a monolithic method to separate - ones, slightly cleaner than a whole bunch of if()'s, especially - with another case of the mouse entering the canvas. - * I changed the EVT_KEY_DOWN handler to an EVT_CHAR handler, - although that now makes the up and down handler assymetric. The - new down-handler returns translated key codes, so when you press - the S key (without anything else), it actually returns 's' and - not 'S' as the EVT_KEY_DOWN did. This means that statistics can - be called up in the viewer window, while the example previously - only printed a "Stats output:" line to the console. I'm not truly - happy that the up handler returns _untranslated_ key codes. But - solving this completely would probably mean adding some table - that translated from wxWidgets' untranslated key codes to OSG's - internal ones. This might be interesting to add, as anyone using - OSG + wxWidgets in any serious manner would also have to add - this. - * I commented out the evt.Skip()'s in the keyboard handlers as - these would only be necessary if there were some key events that - are not handled. But currently all key events are simply - forwarded. - * I changed the handling of a mouse drag to a more general mouse - move" +Fri, 19 Aug 2011 10:43:38 +0000 +Checked in by : Robert Osfield +Improved the LispSM computation -2008-05-26 21:04 robert +Fri, 19 Aug 2011 10:43:15 +0000 +Checked in by : Robert Osfield +Changed the local variable near/far type - * src/osgPlugins/OpenFlight/FltWriteResult.h: From Colin McDonald, - "I had to tighten a declaration in OpenFlight/FltWriteResult.h, - as the Solaris SunStudio 11 compiler was being picky and wouldn't - compile." +Wed, 17 Aug 2011 17:06:55 +0000 +Checked in by : Robert Osfield +Added back in control of the backface culling. -2008-05-26 20:46 robert +Wed, 17 Aug 2011 16:09:17 +0000 +Checked in by : Robert Osfield +intermin check-in of work on new LispSM implementation - * src/osgViewer/ViewerBase.cpp: Added debug block to output the - location of the master camera for each View in a Viewer. +Mon, 15 Aug 2011 14:37:16 +0000 +Checked in by : Robert Osfield +Added missing assignement of _simulationTime. -2008-05-26 17:30 robert +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. " - * include/osg/AnimationPath, include/osgViewer/ViewerEventHandlers, - src/osg/AnimationPath.cpp, src/osgViewer/ViewerEventHandlers.cpp: - Added continuous recording of the animation path to the - RecordAnimationPathHandler +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. -2008-05-26 16:25 robert +Fri, 12 Aug 2011 14:53:40 +0000 +Checked in by : Robert Osfield +Implemented first pass at shaders for new ViewDepedentShadow map class - * examples/osgscreencapture/osgscreencapture.cpp: Introduce - --pbuffer-only width height option, and added fps reporting to - stats output +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. -2008-05-26 15:41 robert +Tue, 9 Aug 2011 15:20:25 +0000 +Checked in by : Robert Osfield +Changed RTT Camera to use depth. - * examples/osgscreencapture/osgscreencapture.cpp: Added basic - --pbuffer width height support +Tue, 9 Aug 2011 13:39:57 +0000 +Checked in by : Robert Osfield +Implemented caching of Camera, Texture and TexGen -2008-05-26 14:30 robert +Tue, 9 Aug 2011 06:54:44 +0000 +Checked in by : Robert Osfield +Added replacement of the placeholder StateSet in the StateGraph with custom StateSet implemented just for the needs of that particular frame. - * examples/osgscreencapture/osgscreencapture.cpp: Added better - stats reporting +Mon, 8 Aug 2011 17:00:55 +0000 +Checked in by : Robert Osfield +Further work on basic ViewDependentShadowMaps, adding implementation of RTT camera and texgen setup. -2008-05-26 12:01 robert +Sun, 7 Aug 2011 15:54:21 +0000 +Checked in by : Robert Osfield +From Jean-Sebestien Guay and Robert Osfield, mixture of two sets of change - one from JS that adds more controls for specifying positional and spot lights, and from RO adding support for the new ViewDepedentShadowMap - * examples/osgscreencapture/osgscreencapture.cpp: Added feedback of - pixel format chosen for read back +Sun, 7 Aug 2011 15:51:54 +0000 +Checked in by : Robert Osfield +Preliminary work on new ViewDependentShadowMap base class -2008-05-26 11:59 robert +Fri, 29 Jul 2011 11:22:32 +0000 +Checked in by : Robert Osfield +Commented out the colorAmbientEmissive += gl_FrontLightProduct[0].ambient; line from the fragment shader as it was causing problems with the shadowed region being sporadically lit when using a spotlight. - * examples/osgscreencapture/osgscreencapture.cpp: Added automatic - selection of the pixel type according to the window type +Fri, 29 Jul 2011 07:42:55 +0000 +Checked in by : Robert Osfield +Fixed comment on end barrier position. -2008-05-26 11:53 robert +Thu, 28 Jul 2011 16:40:28 +0000 +Checked in by : Robert Osfield +Improved handling of the scaling of dicom imagery. - * examples/osgscreencapture/osgscreencapture.cpp: Added option for - doing triple buffering, and set the default read format - to GL_RGBA +Thu, 28 Jul 2011 12:07:22 +0000 +Checked in by : Robert Osfield +Refectored the EGL setup so that it's honours the Traits values. -2008-05-25 22:06 robert +Thu, 28 Jul 2011 11:05:10 +0000 +Checked in by : Robert Osfield +Reverted the change to the default setting of _resizeNonPowerOfTwoHint back to true for all platforms to ensure the same behaivour across platforms, something that can be achieved now thanks to the integrated GLU library.Corrected the default of the ResizeNonPowerOfTwoHint to true to reflect the actual default setting set by the +Texture default constructor. - * examples/osgscreencapture/osgscreencapture.cpp: Switch to using - an inital draw callback when use --start-frame -2008-05-25 21:52 robert - * examples/osgscreencapture/osgscreencapture.cpp: Added option for - setting whether the front or back buffer should be read using - --front and --back command line options. +Thu, 28 Jul 2011 08:19:29 +0000 +Checked in by : Robert Osfield +From Johannes Baeuerle, "in the file src/osgDB/ObjectWrapper.cpp, where the GlobalLookupTable for gl enums for serialization purposes is defined, some of the compressed texture formats are missing. I added enums for the pvr and etc formats." -2008-05-25 21:35 robert +Thu, 28 Jul 2011 07:46:05 +0000 +Checked in by : Robert Osfield +From Jason Beverage, "Here is a small fix for getCameraContainingPosition. getXMin was being used in a case where getYMin should be used instead." - * examples/osgscreencapture/osgscreencapture.cpp: Added option for - controlling whether the front buffer is read at the start of the - frame or the back buffer at the end of the frame. +Mon, 25 Jul 2011 17:07:56 +0000 +Checked in by : Robert Osfield +Fixed stats bug where not all stats fields were being collected by the cull_draw() method used in the SingleThreaded and CullDrawThreadPerContext threading models. -2008-05-25 11:21 robert +Fri, 22 Jul 2011 09:27:41 +0000 +Checked in by : Robert Osfield +From Alexander Irion, "Texture borders are not supported in ES._isTextureBorderClampSupported is set to "TRUE" in Texture.cpp, because of the version number check (GL VERSION >= 1.3). - * CMakeLists.txt: Added check for pkg-config so that build only use - related package checks when - it's supported +This leads to an invalid enum error, when GL_TEXTURE_BORDER_COLOR is tried to set. +" -2008-05-24 11:05 robert - * include/osg/BufferObject, include/osg/Camera: Added #define's for - PixelBufferObject extensions. - - Added docs for Camera::DrawCallback -2008-05-24 09:24 robert +Fri, 22 Jul 2011 08:25:29 +0000 +Checked in by : Robert Osfield +In the RecordCameraPathhandler fixed the handling of pressing 'Z' before 'z' which was causing the view to be reset to 0,0,0 by AnimationPathManipualtor with an empty AnimationPath. - * src/osgUtil/CullVisitor.cpp: Added RenderStage::setClear*() - methods from Camera::getClear*() sources +Thu, 21 Jul 2011 09:55:03 +0000 +Checked in by : Robert Osfield +Fixed typo -2008-05-24 08:13 robert +Thu, 21 Jul 2011 09:07:22 +0000 +Checked in by : Robert Osfield +From Mathias Froehlich, "I have attached an updated version of the VRML2 loader. That change is the result of the '[osgPlugins] VRML plugin - "file" url' discussion on osg-users.The attached change avoids rewriting file names into some kind of file urls +and then use the url for opening an fstream. Instead just use the given file +name to open the stream. +Also this change adds some Notify output for the error paths. +" - * examples/osgscreencapture/osgscreencapture.cpp: Changed default - format to GL_BGR -2008-05-23 16:26 robert - * examples/osgscreencapture/osgscreencapture.cpp: Added single - buffered and double buffered PBO support, and --no-pbo, - --single-pbo and --double-pbo command line parameters +Thu, 21 Jul 2011 08:52:02 +0000 +Checked in by : Robert Osfield +From Wang Rui, "This fixes a small problem in the FindFBX file. In CMake scripts, VS2010 is not marked as MSVC100 but MSVC10. And CMake defines MSVC_VERSION instead of MSVC_VER to indicate the version number. The modification can find fbx sdk for VS2010 automatically now. " -2008-05-22 17:50 robert +Wed, 20 Jul 2011 10:17:19 +0000 +Checked in by : Robert Osfield +From Claus Scheiblauer, fixed handling of horizontal mouse wheel events. - * examples/osgscreencapture/osgscreencapture.cpp: Added basic - glReadPixels code +Wed, 20 Jul 2011 09:10:32 +0000 +Checked in by : Robert Osfield +Introduced workaround for problem of text that is scaled in screen coords, but hasn't been rendered yet so doesn't have knowledge of screen space yet, so assume that scaling is 1 rather than 0 as was previously assumed in the previous handling of screen space text. -2008-05-22 15:43 robert +Mon, 18 Jul 2011 12:41:22 +0000 +Checked in by : Robert Osfield +Added doxygen comments explaining read file callback functionality. - * examples/osgscreencapture/osgscreencapture.cpp: Added camera - final callback attachment code. +Mon, 18 Jul 2011 09:40:58 +0000 +Checked in by : Robert Osfield +Changed the HAVE_CONFIG_H guard so that it uses #ifndef _MSC_VER rather than _WIN32 to avoid problems with Mingw and Cygwin builds of DCMTK. -2008-05-22 13:11 robert +Sun, 17 Jul 2011 16:24:47 +0000 +Checked in by : Robert Osfield +From Alberto Luacas, typo fixes - * examples/osgscreencapture/osgscreencapture.cpp, - examples/osgscreencapture/osgscreenscapture.cpp: Fixed name of - source file +Sun, 17 Jul 2011 10:30:40 +0000 +Checked in by : Robert Osfield +From Wang Rui, improved the handling of the _preReadString within the readWrappedString method by factoring the reading of the next character into a dedicated getCharacter(..) method. -2008-05-22 13:10 robert +Fri, 15 Jul 2011 10:24:23 +0000 +Checked in by : Robert Osfield +From Wang Rui, "I've found that the latest ffmpeg made some functions and macros deprecated, which led to compilation errors in the OSG plugin. I tried fixing them and tested with the version ffmpeg-git-5d4fd1d (ffmpeg version > 0.8, libavcodec = 53.7.0) under Windows. " - * examples/CMakeLists.txt, examples/osgscreencapture, - examples/osgscreencapture/CMakeLists.txt, - examples/osgscreencapture/osgscreenscapture.cpp: Added new - osgscreencapture example folder, implementation to follow +Fri, 15 Jul 2011 10:22:44 +0000 +Checked in by : Cedric Pinson +Fix crash in osgAnimation when keyframe container are empty -2008-05-22 12:38 robert +Fri, 15 Jul 2011 09:47:34 +0000 +Checked in by : Robert Osfield +From Sukender, Fix for compile errors "public: static char const * const osg::ValueObjectClassNameTrait< xxx >::s_className" already defined in xxx.obj" - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: - Reorginaized the DatabaseQueue's to avoid warnings under Windows +Fri, 15 Jul 2011 09:14:16 +0000 +Checked in by : Robert Osfield +From Wang Rui,"The files attached should be separately put into the directories src/osgPlugins/osg and src/osgWrappers/serializers/osgSim. They fix a serious infinite loop problem that may be caused by the stream buffer mechanism under Windows and some osgSim wrapper bugs pointed by Andreas. I've asked the community to help test them and hope now we can solve these recent .osgt file reading issues." -2008-05-22 11:21 robert +Fri, 15 Jul 2011 08:43:47 +0000 +Checked in by : Robert Osfield +From Ryan Pavlik, "Fix inventor state copy constructor. Clang warning: + In file included from src/osgPlugins/Inventor/ConvertToInventor.cpp:80: + src/osgPlugins/Inventor/ConvertToInventor.h:117:71: warning: field is uninitialized when used here [-Wuninitialized] + osgTexGenS(s.osgTexGenS), osgTexGenT(s.osgTexGenT), osgTexGen(osgTexGen), + ^" - * src/osgDB/DatabasePager.cpp: Fixed warning by adding in missing - return -2008-05-22 08:31 robert - * src/osgPlugins/curl/ReaderWriterCURL.h: Checking in missed header +Fri, 15 Jul 2011 08:32:04 +0000 +Checked in by : Robert Osfield +From Philip Lamp, submitted by Stephan Huber, "Modify the ReaderWriteImageIO_IOS to correctly handle relative paths when reading from a file. This means that no longer do all image files have to live at the root of the Resources folder inside the app bundle, but can now be organized inside folders. Also improved error handling and fixed a potential leak of a CGColorSpaceRef each once per image load." -2008-05-21 21:09 robert +Fri, 15 Jul 2011 08:16:58 +0000 +Checked in by : Robert Osfield +Converted tabs to four spaces - * include/osg/NodeVisitor, include/osg/PagedLOD, - include/osg/ProxyNode, include/osgDB/DatabasePager, - include/osgDB/ReaderWriter, src/osg/PagedLOD.cpp, - src/osg/ProxyNode.cpp, src/osgDB/DatabasePager.cpp, - src/osgDB/Registry.cpp, src/osgPlugins/curl/CMakeLists.txt, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/osg/PagedLOD.cpp, - src/osgPlugins/txp/TXPPagedLOD.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp, - src/osgViewer/ViewerBase.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osg/PagedLOD.cpp, - src/osgWrappers/osg/ProxyNode.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp: Refactored DatabasePager - and related classes to introduce support for - multi-threaded paging, where the Pager manages threads of reading - local - and http files via seperate threads. This makes it possible to - smoothly - browse large databases where parts of the data are locally cached - while - others are on a remote server. Previously with this type of - dataset - the pager would stall all paging while http requests were being - served, - even when parts of the models are still loadable virtue of being - in the - local cache. - - Also as part of the refactoring the DatabaseRequest are now - stored in the - ProxyNode/PagedLOD nodes to facilitate quite updating in the cull - traversal, - with the new code avoiding mutex locks and searches. Previous on - big - databases the overhead involved in make database requests could - accumulate - to a point where it'd cause the cull traversal to break frame. - The overhead - now is negligable. - - Finally OSG_FILE_CACHE support has been moved from the curl - plugin into - the DatabasePager. Eventually this functionality will be moved - out into - osgDB for more general usage. - -2008-05-20 09:28 robert - - * src/osgViewer/Renderer.cpp: Moved the compile to after the - updateSceneView - -2008-05-14 20:22 robert - - * src/osgWrappers/osgDB/ReaderWriter.cpp: Updated wrappers - -2008-05-14 17:03 robert - - * include/osgDB/ReaderWriter, src/osgDB/DatabasePager.cpp, - src/osgPlugins/curl/ReaderWriterCURL.cpp: Introduced preliminary - support for asynchronous file read requests, - - ReaderWriter::ReadResult now has a FILE_REQUEST enum. - ReaderWriter::Options now has a s/getAsynchronousFileReadHint() - parameter methods. - - libcurl based plugin now detects enabing of the - AsynchronousFileReadHint, but - as yet does not handle async requests - handling everything - syncronously. - - DatabasePager now by default will enable AsynchronousFileReadHint - for http - based file requests - - -2008-05-14 14:59 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Moved the cache file - writing into StreamObject so that the cache file is only - created once data is being read. - -2008-05-14 13:16 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Introduced a thread - safe map which manages a single EasyCurl object per thread. - -2008-05-14 12:47 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Refactor curl usage so - that a new EasyCurl class wraps up the curl handle and - reading from curl. - -2008-05-13 18:28 robert - - * applications/osgfilecache/osgfilecache.cpp: Fixed lat/long - ordering - -2008-05-13 17:27 robert - - * applications/osgfilecache/osgfilecache.cpp: Added support for -e - level minX minY maxX maxY extents controls - -2008-05-13 14:08 robert - - * src/osgDB/ReadFile.cpp: Added --file-cache directoryname command - line option support to readNodeFiles(ArgumentParser&) - to make it easier to specify a local file cache, in place of the - default OSG_FILE_CACHE - env var. - -2008-05-13 12:36 robert - - * applications/osgfilecache/osgfilecache.cpp: Further work on - computing of lat/long range of PagedLOD subgraphs - -2008-05-13 10:56 robert - - * src/osgPlugins/dae/ReaderWriterDAE.cpp: From Steven Thomas, - "Subject: Collada fix - There was a problem converting a file to Collada by using osgconv - like this: - - osgconv file.osg file.dae - - You would get an error message: - - I/O error : Permission denied - I/O error : Permission denied - error : xmlNewTextWriterFilename : out of memory! - Error: daeLIBXMLPlugin::write(file://cessna.dae) failed - Warning: Error in writing to "cessna.dae". - - This was due to some bad URI processing code in the Collada - plugin. The attached file fixes this by using the Collada DOM's - URI processing functions. After this change the file will convert - successfully in the local directory. - " +Tue, 28 Jun 2011 07:54:00 +0000 +Checked in by : Robert Osfield +Merged the OSG-3.0 branch versions of into svn/trunk. -2008-05-12 16:59 robert +Tue, 28 Jun 2011 07:23:52 +0000 +Checked in by : Robert Osfield +Added #if lib curl version check around #include as this header was deprecated and now removed entirely from libcurl-7.21.7. - * applications/osgfilecache/CMakeLists.txt, - applications/osgfilecache/osgfilecache.cpp: Added signal handling - code, and prelimary lat/long computation +Tue, 28 Jun 2011 07:22:09 +0000 +Checked in by : Robert Osfield +From Wang Rui, "I've found a small problem which causes crashes in the 3ds plugin while trying to load a model. The fix here will ensure that the texture map is valid and everything could work well then." -2008-05-12 15:42 robert +Mon, 27 Jun 2011 21:33:38 +0000 +Checked in by : Robert Osfield +Tweaked the comments - * src/osgViewer/ViewerBase.cpp: Added missing getBound() method - -2008-05-12 12:16 robert - - * ChangeLog, src/osgWrappers/osg/ApplicationUsage.cpp, - src/osgWrappers/osg/ArgumentParser.cpp, - src/osgWrappers/osgViewer/Renderer.cpp: Update ChangeLog and - wrappers for 2.5.0 dev release - -2008-05-12 12:16 robert - - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - AUTHORS for 2.5.0 release - -2008-05-12 11:39 robert - - * src/osgUtil/RenderStage.cpp: From Mathias Froehlich, Fixed - FrameBufferObject attachement code to handle cases - where no texture or image is attached +Mon, 27 Jun 2011 21:32:20 +0000 +Checked in by : Robert Osfield +From Jean-Sebestien Guay, workaround for bug under windows with the seek implementation when handling ascii files with unix file endings. -2008-05-12 11:01 robert +Mon, 27 Jun 2011 15:43:33 +0000 +Checked in by : Robert Osfield +Updated NEWS and fixed typo in Contributors. - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Updated version number for - 2.5.0 dev release +Mon, 27 Jun 2011 10:20:37 +0000 +Checked in by : Robert Osfield +Fixed typo -2008-05-12 10:55 robert +Mon, 27 Jun 2011 10:19:44 +0000 +Checked in by : Robert Osfield +Improved the setContextID doxygen comment. - * applications/osgviewer/osgviewer.cpp, - include/osg/ApplicationUsage, include/osg/ArgumentParser, - src/osg/ArgumentParser.cpp, src/osgViewer/Viewer.cpp: From Eric - Sokolowski and Robert Osfield, moved command line option usage - setup - from osgviewer example into osg::ArgumentParser and - osgViewer::Viewer to make - them more universally available. +Sat, 25 Jun 2011 20:51:58 +0000 +Checked in by : Robert Osfield +From Andreas Eskland, "I found that a binary PNM file couldn't be read by the PNM plugin in the 3.0 branch. Attached is a small fix in ReaderWriterPNM.cpp, simply opening the file in binary mode." -2008-05-12 10:18 robert +Sat, 25 Jun 2011 11:00:33 +0000 +Checked in by : Robert Osfield +Fixed memory growth issue when using Texture2D::SubloadCallbacks that don't set the TextureObjects sizes. - * src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/obj.cpp, src/osgPlugins/obj/obj.h: From Bob - Kuehne, "* add easy multiple texture targets support for obj by - refactoring texture - load into it's own method. - - * use new method from step 1 to load 'map_opacity' textures from - .mtl files" +Sat, 25 Jun 2011 07:07:16 +0000 +Checked in by : Robert Osfield +Tightened up float usage. -2008-05-12 10:16 robert +Fri, 24 Jun 2011 19:17:25 +0000 +Checked in by : Robert Osfield +Tightened up the float/double usage - * include/osg/Hint: From Mathias Froehlich, fixed typo - -2008-05-11 14:26 robert - - * src/osgPlugins/CMakeLists.txt: Added CARIO_FOUND into svg plugins - checks - -2008-05-11 14:23 robert - - * CMakeLists.txt, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/svg, src/osgPlugins/svg/CMakeLists.txt, - src/osgPlugins/svg/ReaderWriterSVG.cpp: From Miguel Escriva, Here - you will find a SVG Image Reader. It renders a SVG file as an - osg::Image using cairo and rsvg. - -2008-05-10 17:25 robert - - * src/osgPlugins/OpenFlight/FltExportVisitor.cpp, - src/osgPlugins/OpenFlight/FltExportVisitor.h, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp: From Paul - Martz, "This change adds support for osg::Billboards to the - OpenFlight exporter. - - It might seem odd that the change actually removes the stub - apply(Billboard&) method, but it turns out Billboards are easily - supported in subordinate routines of the existing apply(Geode&) - method with s dynamic_cast, so there's no need for a separate - apply(Billboard&)." - -2008-05-10 17:23 robert - - * src/osgPlugins/3dc/ReaderWriter3DC.cpp, - src/osgPlugins/freetype/ReaderWriterFreeType.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp: From Paul Martz, - "Another round of plugin enhancements. - - 3DC: Output now uses osg::notify. - JPEG: Now returns correct error code for empty input file. - FreeType: Prevent possible crash if Options is NULL." - -2008-05-10 17:04 robert - - * include/osgViewer/Renderer, src/osgViewer/Renderer.cpp, - src/osgViewer/View.cpp, src/osgViewer/ViewerBase.cpp: Moved - compile setup from osgViewer::ViewerBase into osgViewer::Renderer - to - avoid threading issues associated with compile running in a - parallel with - update/cull on the first frame. - - Also added automatic recompile when a new SceneData is applied to - a View. - -2008-05-09 17:22 robert - - * applications/osgfilecache/osgfilecache.cpp: Added --file-cache - command line option to compliment -c - -2008-05-09 17:08 robert - - * applications/CMakeLists.txt, applications/osgfilecache, - applications/osgfilecache/CMakeLists.txt, - applications/osgfilecache/osgfilecache.cpp: Initial cut of file - cache population app - -2008-05-09 11:54 robert - - * src/osg/Program.cpp: From Art Trevs, set the _geometryVerticesOut - to default to 1 as a workaround - for OpenGL driver bug that incorrectly reports a warning when - value is 0. - -2008-05-09 11:27 robert - - * src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/pnm/ReaderWriterPNM.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp: From Paul Martz, - "Attached are some minor plugin fixes. PNM, RGB, and JPEG would - all crash if attempting to read an empty file, and FLT would go - into an infinite loop. All are fixed with this change. - - I also fixed some return values for a couple of these, changing - FILE_NOT_HANDLED to ERROR_IN_READING_FILE where appropriate." - -2008-05-09 10:27 robert - - * examples/osgviewerGTK/osggtkdrawingarea.cpp, - examples/osgviewerGTK/osggtkdrawingarea.h, - examples/osgviewerGTK/osgviewerGTK.cpp: From Jeremy Moles, fixed - window resize problem - -2008-05-08 17:02 robert - - * src/osg/BoundingSphere.cpp: Added missing check against handling - invalid bounding sphere's - -2008-05-08 16:48 robert - - * src/osgPlugins/Inventor/ConvertToInventor.cpp: From Eric - Sokolowsky, "I found one compilation error in OSG 2.4 in the - Inventor plugin, where one node (SoTextureCoordinate3) was - assumed to be available in all versions of Inventor but is - actually only available in Coin. The use of the node is now - protected by #ifdef __COIN__ constructs. The attachment is based - on OSG 2.4, not SVN." - -2008-05-08 16:45 robert - - * include/osgViewer/api/X11/GraphicsWindowX11, - src/osgViewer/GraphicsWindowX11.cpp: From Melchior Franz, "In KDE - I switch desktops with Super-Tab, and occasionally I - get an excess Tab key report when switching back to an OSG - application (usually FlightGear :-). Although KDE has consumed - the Tab, it's sometimes still in the XKeymapEvent's key_vector, - and followed by a Tab KeyRelease event. - - Avoid this artifact by - - asking for a "fresh" keymap (via XQueryKeymap()), rather than - using the unreliable(?) XKeymapEvent's key_vector, and by - - flushing all key events on focus-in (to avoid the KeyRelease) - - After Super-press, Tab-press, Super-release, Tab-release (note - the wrong release order!) I still get an extra Tab event. But - this is not surprising and not exactly wrong either. Also it's - hard to avoid, as we can't see what happened to the keyboard - before we regained focus. - - Files changed: - src/osgViewer/GraphicsWindowX11.cpp - include/osgViewer/api/X11/GraphicsWindowX11" - -2008-05-08 16:39 robert - - * CMakeLists.txt, examples/CMakeLists.txt, examples/osgviewerGTK, - examples/osgviewerGTK/CMakeLists.txt, - examples/osgviewerGTK/osggtkdrawingarea.cpp, - examples/osgviewerGTK/osggtkdrawingarea.h, - examples/osgviewerGTK/osgviewerGTK.cpp: From Jeremy Moles, - osgviewerGTK example - -2008-05-08 15:17 robert - - * src/osgPlugins/shp/ESRIShape.cpp, src/osgPlugins/shp/ESRIShape.h: - From Sebastien Messerschmidt, "attached you'll find a patch for - the shp-plugin. - I've spotted huge memory leaks int ShapeParser and fixed them. - Also, there was a missing destructor (PolygonM) and a missing - member initialization (PolygonZ) - Would be nice if someone could test the changes. - - To release the memory just if no reading error happened (and - therefore the arrays would be valid) I've added an macro to - release and reset the pointers at once. I'm not using macros - myself very often as I don't like them, but I think it doesn't - hurt in this code. - - " - -2008-05-08 15:14 robert - - * ChangeLog, applications/osgversion/osgversion.cpp: Updated - ChangeLog and osgversion to catch Raymond de Vries name correctly - -2008-05-08 14:00 robert - - * src/osgParticle/PrecipitationEffect.cpp: From Raymond de Vries, - "This fix tests the right variable before it is allocated. - Fortunately, until now it tested another variable - (_particleSizeUniform, which is, at that moment, not allocated as - well) and everything went ok. So it does not fix a crash or so, - it is a matter of correct code. - - Line 353 is changed from - - if (!_particleSizeUniform) - - to - - if (!_particleColorUniform) - " - -2008-05-08 13:56 robert - - * src/osgPlugins/OpenFlight/FltExportVisitor.cpp, - src/osgPlugins/OpenFlight/FltExportVisitor.h, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp: From Paul - Martz, "As I discovered prior to the 2.4 release, the FLT export - geometry backend was using some old turn-on code, originally - written just to enable other development but not intended for - actual release. Sadly, my OSG training commitments prevented me - from fixing this prior to 2.4. - - In essence, the FLT exporter was emitting a full set of Mesh - records each time it encountered a PrimitiveSet. - - Attached is a fix. The code now emits the Mesh set up records, - then iterates over all PrimitiveSets and emits a Mesh Primitive - record per PrimitiveSet. - - It also loops over PrimitiveSets twice, first writing Face - records according to the mode, the writing Mesh records (again - according to the mode). - - The final change included here is support for GL_POINTS as - single-vertex Face records. - - Billboards are still to come." - -2008-05-08 13:46 robert - - * src/osgWrappers/osg/Camera.cpp: Updated wrappers - -2008-05-08 13:22 robert - - * include/osg/Camera: From Roland Smeenk, "Small typo and - implementation fix for setInitialDrawCallback." - -2008-05-08 12:55 robert - - * CMakeLists.txt: From Philip Lowman, "Attached is a patch to the - toplevel CMakeLists.txt which adds an automated test for - OSG_GLU_TESS_CALLBACK_TRIPLEDOT. This should help ease initial - configuration on OS X systems." - -2008-05-08 12:36 robert - - * CMakeModules/FindCOLLADA.cmake, - src/osgPlugins/dae/CMakeLists.txt, - src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeWMaterials.cpp, - src/osgPlugins/dae/daeWriter.cpp: From Garrett Potts and Robert - Osfield, changes to build against Collada DOM 2.x - -2008-05-08 09:16 robert - - * include/osgUtil/SceneView: Updated the doxygen docs to explain - the deprecated status of SceneView - -2008-05-07 17:06 robert - - * src/osgPlugins/cfg/ReaderWriterCFG.cpp: Commented out checking of - DISPLAY env var - -2008-05-07 14:32 robert - - * src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osgUtil/LineSegmentIntersector.cpp, - src/osgWrappers/osgViewer/View.cpp: Updated wrappers - -2008-05-07 14:30 robert - - * include/osgDB/ReaderWriter: From Bob Kuehne, Added doxygen docs - clarification of ReadResult enum values - -2008-05-07 14:24 robert +Fri, 24 Jun 2011 16:15:47 +0000 +Checked in by : Robert Osfield +Removed redundent assert and associated variables to fix warnings. - * include/osgIntrospection/ReflectionMacros: From Donald Cipperly, - "This is a fix to eliminate >> errors in VS 7.1" +Fri, 24 Jun 2011 15:04:16 +0000 +Checked in by : Robert Osfield +Implemented missing writeShader -2008-05-07 14:17 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. - * include/osgViewer/View, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: From Miguel Escriva, "Attached to this - mail you will find some files to work with the Philips WOWvx - displays. - - It's implemented in the same way that 3D Spherical Display and - Panoramic Spherical Display. - - You can test it running: - osgviewer --wowvx-20 cow.osg - osgviewer --wowvx-42 cow.osg - depending on the size of your Philips WOWvx display (20" or 42") - - Other arguments you can use to control the 3D effect are: - - --wow-content - This value defines the kind of content that can be: - 0: No depth - 1: Signage - 2: Movie - 3: CGI - 4: Still - - --wow-factor - Percentage of the display recommended depth value. Default 64, - Range [0-255] - - --wow-offset - Amount of range behind the screen. Default 128, Range [0-255] - 0: Range is shifted in the direction of the viewer. - 128: Range is equally divided in front and behind the screen. - 255: Range is shifted away from the viewer. - " +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. -2008-05-07 13:49 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" - * include/osgUtil/LineSegmentIntersector: From Terry Welsh, fixed - typo of getEnd() +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" -2008-05-07 13:46 robert +Fri, 24 Jun 2011 08:05:54 +0000 +Checked in by : Robert Osfield +Added operator ==, != and < to fix VS build - * examples/CMakeLists.txt, examples/osgfont, - examples/osgfont/CMakeLists.txt, examples/osgfont/osgfont.cpp: - From Jeremy Moles,"Here's a small example I us to test text - rendering in osgWidget; I - figured it might be helpful to folks in OSG who need to do the - same. - " +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) -2008-05-07 13:42 robert +/src/OpenThreads/pthreads/PThread.cpp:1024:15: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] + if (cpunum<0) return -1; - * src/osg/Texture3D.cpp: From Farshid Lashkari, "I've added - hardware mipmap support to Texture3D." +src/osgDB/ExternalFileWriter.cpp:221:122: warning: expression result unused [-Wunused-value] + _objects.insert(ObjectsSet::value_type(&obj, ObjectData(absoluteDestinationPath, relativeDestinationPath, written))).first; -2008-05-07 11:59 robert +src/osgManipulator/Dragger.cpp:175:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] + if (*itr = constraint) return; - * include/osg/Camera: Added doxygen comments for attach +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." -2008-04-26 11:13 robert +Fri, 17 Jun 2011 09:02:22 +0000 +Checked in by : Robert Osfield +Updated version number of 3.0.0-rc1 - * packaging/pkgconfig/openscenegraph.pc, - packaging/pkgconfig/openthreads.pc: Updated package numbers for - OSG-2.4, OT-2.2.1 release +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 -2008-04-25 13:10 robert +Fri, 17 Jun 2011 08:42:54 +0000 +Checked in by : Robert Osfield +Refined the version checking - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Update - AUTHORS file for 2.4 release +Fri, 17 Jun 2011 08:41:56 +0000 +Checked in by : Robert Osfield +Build fix -2008-04-25 12:58 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." - * ChangeLog: Updated ChangeLog for 2.4 release +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." -2008-04-25 12:40 robert +Fri, 17 Jun 2011 06:22:01 +0000 +Checked in by : Robert Osfield +Fixed warning - * NEWS.txt, README.txt: Update NEWS and README to 2.4 stable - release +Fri, 17 Jun 2011 06:09:25 +0000 +Checked in by : Robert Osfield +Fixed warnings -2008-04-25 09:46 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()) - * CMakeLists.txt, include/osg/Version: Updated Version number for - 2.4 stable release +Thu, 16 Jun 2011 18:43:58 +0000 +Checked in by : Robert Osfield +Fixed warnings. -2008-04-25 09:35 robert +Thu, 16 Jun 2011 18:25:46 +0000 +Checked in by : Robert Osfield +Added support for new InternalTextureFormatModes - * include/osg/BoundingBox: From Stephane Lamoliatte, "Here is the - fix of a very little typed error in BoundingBox : I replace - "doulbe" by "double"." +Thu, 16 Jun 2011 18:12:55 +0000 +Checked in by : Robert Osfield +Added wider file extension support to ExternalFileWriter::generateObjectName -2008-04-25 08:34 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." - * src/osgTerrain/GeometryTechnique.cpp: Added cast to avoid warning +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: -2008-04-24 16:50 robert +src/OpenThreads/qt/CMakeLists.txt - * NEWS.txt: Updated date of 2.4 release +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." -2008-04-24 16:49 robert - * AUTHORS.txt: Updated AUTHORS file for release -2008-04-24 16:48 robert +Thu, 16 Jun 2011 15:57:40 +0000 +Checked in by : Robert Osfield +Windows warning fixes - * ChangeLog: Updated ChangeLog for 2.3.11 release +Thu, 16 Jun 2011 13:00:28 +0000 +Checked in by : Robert Osfield +Fixed indentation issues -2008-04-24 16:24 robert +Thu, 16 Jun 2011 10:05:49 +0000 +Checked in by : Robert Osfield +Improved indentation. - * examples/osgprerender/osgprerender.cpp: From Wojchiech - Lewandowski, add missing setDataVariance(DYNAMIC) and extra event - handlers +Thu, 16 Jun 2011 08:59:48 +0000 +Checked in by : Robert Osfield +Replaced tabs with four spaces -2008-04-24 14:46 robert +Thu, 16 Jun 2011 08:46:30 +0000 +Checked in by : Robert Osfield +From Jean-Christophe Lombardo, "On Fedora 14, dcmtk libs are under /usr/lib/dcmtk. I've added a PATH_SUFFIX to take that into account" - * src/osgDB/CMakeLists.txt, src/osgDB/Registry.cpp: From Colin - Dunlop, added alias for .live to quicktime plugin mapping. +Wed, 15 Jun 2011 18:31:11 +0000 +Checked in by : Robert Osfield +Improved the handling of compiling vs flushing deleted objects -2008-04-24 11:34 robert +Wed, 15 Jun 2011 17:00:44 +0000 +Checked in by : Robert Osfield +Changed the key handling code to use EventQueue::getTime() rather then the theEvent timestamp. - * src/OpenThreads/pthreads/CMakeLists.txt, src/osg/CMakeLists.txt, - src/osgDB/CMakeLists.txt, src/osgFX/CMakeLists.txt, - src/osgGA/CMakeLists.txt, src/osgIntrospection/CMakeLists.txt, - src/osgManipulator/CMakeLists.txt, - src/osgParticle/CMakeLists.txt, src/osgShadow/CMakeLists.txt, - src/osgSim/CMakeLists.txt, src/osgTerrain/CMakeLists.txt, - src/osgText/CMakeLists.txt, src/osgUtil/CMakeLists.txt, - src/osgViewer/CMakeLists.txt: Reverted the changes for ill fated - tweaks for Apple build +Wed, 15 Jun 2011 09:36:34 +0000 +Checked in by : Robert Osfield +Fixed blitting of FBO's with multiple render targets. -2008-04-24 10:09 robert +Wed, 15 Jun 2011 09:35:25 +0000 +Checked in by : Robert Osfield +From Anthousis Andreadis, added multiple sampling test for multiple rendering targets which is activated by the --ms command line option. - * CMakeModules/Find3rdPartyDependencies.cmake: From Mattias - Helsing, "I just made Find3rdPartyDependencies search for curllib - if it can't - find libcurl. Mike's 3rdParty only has curllib. - - I realize now that the in appended file I have earlier removed - searching for freetype219 since I have it but it will break the - build - of osg." +Tue, 14 Jun 2011 18:10:27 +0000 +Checked in by : Robert Osfield +From Jorge Ciges, "Update to FindAndroidNDK to make it use the latest Ndk (r5c) automatically.That fixes compatibilities with some 2.1 devices. And it looks like all goes well." -2008-04-23 21:07 robert - * AUTHORS.txt: Updated authors file for 2.3.11 release -2008-04-23 21:07 robert +Tue, 14 Jun 2011 16:54:20 +0000 +Checked in by : Robert Osfield +Replaced .osg with .osgt file usage - * ChangeLog: Updated ChangeLog +Tue, 14 Jun 2011 16:50:40 +0000 +Checked in by : Robert Osfield +Improved the handling of command line parameters -2008-04-23 20:54 robert +Tue, 14 Jun 2011 15:55:36 +0000 +Checked in by : Robert Osfield +Updated version - * CMakeLists.txt, include/osg/Version: Updated version number - 2.3.11 +Tue, 14 Jun 2011 15:48:27 +0000 +Checked in by : Robert Osfield +Added support osg::State::drawQuad(..) for number of vertices in quads to uint range rather than just ushort range. -2008-04-23 20:50 robert +Tue, 14 Jun 2011 12:44:44 +0000 +Checked in by : Robert Osfield +Fixed issue with events having a negative delta of time between them. - * src/OpenThreads/pthreads/CMakeLists.txt, src/osg/CMakeLists.txt, - src/osgDB/CMakeLists.txt, src/osgFX/CMakeLists.txt, - src/osgGA/CMakeLists.txt, src/osgIntrospection/CMakeLists.txt, - src/osgManipulator/CMakeLists.txt, - src/osgParticle/CMakeLists.txt, src/osgShadow/CMakeLists.txt, - src/osgSim/CMakeLists.txt, src/osgTerrain/CMakeLists.txt, - src/osgText/CMakeLists.txt, src/osgUtil/CMakeLists.txt, - src/osgViewer/CMakeLists.txt: Refactored the inclusion of the - headers in the ADD_LIBRARY so that they aren't - added under OSX. +Tue, 14 Jun 2011 10:15:12 +0000 +Checked in by : Robert Osfield +Added GLBufferObject::computeBufferAlignment(..) method to enable buffer entries to be aligned along specified buffer alignment boundaries, currently defaulting to 4. -2008-04-23 20:49 robert +Tue, 14 Jun 2011 09:16:44 +0000 +Checked in by : Robert Osfield +From Stephan Huber, "attached you'll find a fix for the non-working useCursor()-method for Windows. With the old code you can switch off the cursor, but not back on." - * include/osg/Texture2D, include/osg/TextureRectangle: Removed the - mutable from the _image variable +Tue, 14 Jun 2011 09:11:58 +0000 +Checked in by : Robert Osfield +Removed executable permission. -2008-04-23 14:10 robert +Tue, 14 Jun 2011 09:01:54 +0000 +Checked in by : Robert Osfield +From Stephan Huber, "attached you'll find some tweaks for the FindQuicktime and > FindQTKit-cmake-plugins, so they get disabled for ios-builds." - * src/osg/TextureRectangle.cpp: Added mutex to object creation to - avoid a race condition when using threaded multiple graphics - context +Mon, 13 Jun 2011 15:20:48 +0000 +Checked in by : Robert Osfield +Fixed wild card search when wild card filename includes a path. -2008-04-22 14:31 robert +Mon, 13 Jun 2011 08:52:11 +0000 +Checked in by : Robert Osfield +From Jeremy Moles, fixed style == operator. - * src/osgTerrain/Layer.cpp: Added return. +Mon, 13 Jun 2011 08:45:25 +0000 +Checked in by : Robert Osfield +From Stephan Huber, build fix for IOS -2008-04-22 14:15 robert +Fri, 10 Jun 2011 11:42:02 +0000 +Checked in by : Robert Osfield +Added handling of s/gUserValue() directly on a UserDataContainer. - * src/osgViewer/GraphicsWindowCarbon.cpp: From Stephan Huber, "the - support for the new mightymouse and new touchpads was incomplete - in GraphicsWindowCarbon. Attached is a fixed version." +Thu, 9 Jun 2011 14:20:46 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and AUTHORS file for 2.9.16 dev release -2008-04-22 13:00 robert +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. - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - AUTHORS file +Main characteristics are: -2008-04-22 12:52 robert +-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) - * ChangeLog, NEWS.txt, README.txt: Updated ChangeLog, NEWS and - READE for 2.3.10 pre release of 2.4. +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. -2008-04-22 11:47 robert - * CMakeLists.txt, include/osg/Version: Updated version number for - 2.3.10 dev release -2008-04-22 11:41 robert - * src/osgWrappers/osgTerrain/Terrain.cpp: Updated wrappers +Thu, 9 Jun 2011 12:57:14 +0000 +Checked in by : Robert Osfield +Refactored the UserDataContainer so that the osg::UserDataContainer is now a pure virtual base class, with a osg::DefaultUserDataContainer subclassed from this. The user object access methods have now all been moved from osg::Object into the UserDataContainer class, except for the set/getUserData() methods that are left in osg::Object for backwards compatibility, and the description list access methods have been moved back into osg::Node.main UserObject access methods are now all def -2008-04-22 11:39 robert - * examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp, - include/osgTerrain/Terrain, src/osgTerrain/GeometryTechnique.cpp, - src/osgTerrain/Terrain.cpp: Removed hardware down sampling hack - from GeoemtryTechnique and replaced with - Terrain::g/setSampleRatio() - usage. -2008-04-22 10:10 robert +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" - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - authors +Thu, 9 Jun 2011 11:05:36 +0000 +Checked in by : Robert Osfield +From Mathias Froehlich, "The attached patch adds the polygon primitive to the TangentSpace computation. As far as I understand, this should just work for the polygon as well as with the tristrip primitive. " -2008-04-22 09:43 robert +Thu, 9 Jun 2011 10:48:19 +0000 +Checked in by : Robert Osfield +Changed the defaults volume setting to not enable the SampleDensityWhenMoving property. - * applications/osgversion/osgversion.cpp: Fixed name +Wed, 8 Jun 2011 17:45:24 +0000 +Checked in by : Robert Osfield +Cleaned up example to use the new ImageUtils functions for creating a 3D image from a list of images. -2008-04-21 16:31 robert +Wed, 8 Jun 2011 16:10:46 +0000 +Checked in by : Robert Osfield +Added support for creating a 3D Image from an image list.Added support for reading a list of images in the Present3D tag. - * NEWS.txt: Updated NEWS for 2.4 release -2008-04-21 14:51 robert - * src/osgPlugins/curl/CMakeLists.txt: From Luigi Calori, Added - CURL_IS_STATIC option to help hint to the libcurl's plugin build - so that it can be select as static build +Wed, 8 Jun 2011 09:28:59 +0000 +Checked in by : Robert Osfield +Removed OSG_EXPORT -2008-04-18 16:21 robert +Wed, 8 Jun 2011 09:24:50 +0000 +Checked in by : Robert Osfield +Introduced a less conservative near ratio. - * AUTHORS.txt: Updated AUTHORS file for release +Wed, 8 Jun 2011 09:24:29 +0000 +Checked in by : Robert Osfield +Simplified the osgdepthpartion example to use the osgView::View::setUpDepthPartition(..) feature -2008-04-18 16:20 robert +Tue, 7 Jun 2011 20:24:49 +0000 +Checked in by : Robert Osfield +Added support for reading .osg, .osgb, .osgx, .osgt and .ive models that contain volumes from within the volume tag. - * ChangeLog: Updated ChangeLog +Tue, 7 Jun 2011 16:17:35 +0000 +Checked in by : Robert Osfield +Added support for .osgt, .osgb and .osgx plugins to osgvolume example -2008-04-18 15:52 robert +Tue, 7 Jun 2011 15:33:35 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and AUTHORS file for release - * README.txt: Updated date on readem +Tue, 7 Jun 2011 14:28:58 +0000 +Checked in by : Robert Osfield +From Sukender, "Lastest change (update to FBX 2012.1) introduced a regression. It didn't take materials' order into consideration. The line lMaterialLayer->GetDirectArray().SetAt(it->second.getIndex(), lMaterial); has been replaced by _curFbxNode->AddMaterial(lMaterial); because KFbxLayerElementMaterial::GetDirectArray() is now private and we can't access to it. However, pushing back the material at the end of the vector is wrong. We can use the (now) public attribute KFbxLayerElementMaterial::mDirectArray, as in this submission. " -2008-04-18 15:01 robert +Tue, 7 Jun 2011 14:26:13 +0000 +Checked in by : Robert Osfield +From Mathias Froehlich, build fixes for legacy unix systems - * src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/CullSettings.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp: Updated wrappers +Tue, 7 Jun 2011 13:02:20 +0000 +Checked in by : Robert Osfield +Added ability to subclass from osg::Object to provide custom user data functionality. A new UserDataContainer provides the default implementation of the user data functionality. -2008-04-18 14:57 robert +Tue, 7 Jun 2011 09:28:38 +0000 +Checked in by : Robert Osfield +Added the return of the index position of the added UserObject - * src/osgPlugins/osg/Camera.cpp: Added support for COLOR_BUFFER - entries up to 15 +Tue, 7 Jun 2011 08:53:03 +0000 +Checked in by : Robert Osfield +Added support for searching for user objects from a given startPosition in the UserDataContainer object. -2008-04-18 14:51 robert +Mon, 6 Jun 2011 11:48:32 +0000 +Checked in by : Robert Osfield +From Frida Schlaug, "Imageio for ios had a poorly implemented function for reading from streams (always returning null). In this patch I copied some code from the non-ios imageio file and adjusted it to work on ios. " - * include/osg/Camera: Updated BufferComponent enum to list - COLOR_BUFFERi entries up to 15. +Mon, 6 Jun 2011 11:45:25 +0000 +Checked in by : Robert Osfield +From Jorge Ciges, Minor tweaks in Android makefiles that make possible to compile for armeabi v7 with neon -2008-04-18 14:33 robert +Mon, 6 Jun 2011 11:44:21 +0000 +Checked in by : Robert Osfield +From Jorge Ciges, Minor tweaks in Android makefiles that make possible to compile for armeabi v7 with neon - * src/osgUtil/RenderStage.cpp: Fixed bug in FBO colour attachement - code +Fri, 3 Jun 2011 15:58:36 +0000 +Checked in by : Robert Osfield +Added support for --tf-255 transfer function files -2008-04-18 14:14 robert +Fri, 3 Jun 2011 13:47:59 +0000 +Checked in by : Robert Osfield +Added support for using the sampleDensityWhenMoving tag with all techniques - * src/osgUtil/CullVisitor.cpp: Added optional compiled in debugging - output to CullVisitor::apply(osg::Camera&) +Thu, 2 Jun 2011 22:49:29 +0000 +Checked in by : Robert Osfield +Added extra check to make sure that _userDataContainer was available before copying it -2008-04-18 13:57 robert +Thu, 2 Jun 2011 22:07:16 +0000 +Checked in by : Robert Osfield +Add new macro's to help with serialization of new user objects - * include/osg/CullSettings, src/osg/CullSettings.cpp: Added - write(ostream&) method to allow one to print out the current - state +Thu, 2 Jun 2011 22:06:56 +0000 +Checked in by : Robert Osfield +Added new osguserdata example as a guide to the new user object API and as a testbed -2008-04-18 13:25 robert +Thu, 2 Jun 2011 22:05:10 +0000 +Checked in by : Robert Osfield +Added support for new osg::Object user objects. - * include/osg/FrameBufferObject, src/osg/FrameBufferObject.cpp, - src/osgUtil/RenderStage.cpp: Changed the - FrameBufferObject::setAttachment() methods so it now use - osg::Camera::BufferComponent - to enable it to distinguish between MRT and non MRT paths +Thu, 2 Jun 2011 22:04:08 +0000 +Checked in by : Robert Osfield +Introduced new user object support into osg::Object that allows assignment of a list of user objects to an osg::Object.Refactored original UserData and Descriptions strings to be managed alongside the new user object suppport within +a single osg::Object::UserDataContainer. -2008-04-18 11:09 robert - * src/osg/State.cpp: Introduce OSG_GL_ERROR_CHECKING env var - checking to osg::State constructor so that you - can enable fine grained check via env vars o.e. - - export OSG_GL_ERROR_CHECKING=ONCE_PER_ATTRIBUTE - - -2008-04-17 15:30 robert +Thu, 2 Jun 2011 21:32:03 +0000 +Checked in by : Robert Osfield +Updated version - * src/osgPlugins/quicktime/CMakeLists.txt, - src/osgPlugins/quicktime/QTImportExport.cpp, - src/osgPlugins/quicktime/QTImportExport.h, - src/osgPlugins/quicktime/QTtexture.cpp, - src/osgPlugins/quicktime/QTtexture.h, - src/osgPlugins/quicktime/ReaderWriterQT.cpp: From Stephan Huber, - "attached you'll find a refactored and improved quicktime-plugin. - I moved all code related to the image-loading, swizzling etc into - an extra class. The quicktime plugin supports now reading and - writing images from/to streams and the code is less cluttered - than previous versions. - - I removed QTtexture.h/.cpp and added QTImportExport.h/.cpp. I - updated the CMake-files, I hope they are alright. I used the - submitted code in my own apps since two months or so and it seems - pretty stable, but as always the migration to the osg-quicktime - plugin may have introduced new bugs, so perfect for developer - release :)" +Thu, 2 Jun 2011 20:38:13 +0000 +Checked in by : Robert Osfield +Added ref_ptr<> usage to avoid possible memory leak. -2008-04-17 11:12 robert +Thu, 2 Jun 2011 14:42:21 +0000 +Checked in by : Robert Osfield +Updated version and so number for next dev release - * examples/osgviewerQT/AdapterWidget.cpp: From John Shue, build fix - for QT 3.x +Mon, 30 May 2011 15:43:18 +0000 +Checked in by : Robert Osfield +Updated AUTHORS and ChangeLog for 2.9.15 dev release -2008-04-17 09:04 shuber +Mon, 30 May 2011 13:02:13 +0000 +Checked in by : Robert Osfield +From Dimi Christop, build fix for RHEL 4. - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - updated XCode project +Mon, 30 May 2011 09:26:24 +0000 +Checked in by : Robert Osfield +Added closing of the _eventDisplay on failure of initializing the context properly. -2008-04-16 18:13 robert +Mon, 30 May 2011 09:25:11 +0000 +Checked in by : Robert Osfield +Fixed X11 related crash that occured when GraphicsWindow::setCursor was called right after viewer.realize(); The fix was to simply move the setting of the thread that has done the makeCurrent to right before the makeCurrent() rather than right after. - * include/osgViewer/Renderer, src/osgViewer/Renderer.cpp, - src/osgWrappers/osgViewer/Renderer.cpp: Added new computation of - time to allocate to flushing deleted and compiling OpenGL objects - per frame. +Mon, 30 May 2011 08:26:43 +0000 +Checked in by : Robert Osfield +From Wang Rui, "The submission fixes the spelling bug we discussed in osg-users. It replaces the variable ACTUAL_3DPARTY_DIR to ACTUAL_3RDPARTY_DIR with back compatibility. Please find it in attachment. " -2008-04-16 15:23 robert +Mon, 30 May 2011 08:24:34 +0000 +Checked in by : Robert Osfield +From Terry Welsh, "I was having a small culling problem with osgText... new TextBase.cpp that fixes it." - * include/osg/CopyOp, include/osgDB/ReaderWriter, - include/osgGA/GUIEventAdapter: From Bob Kuehne, "he attached are - conversions of the 3 main places i found in osg where tokens are - used to represent bitmasks with 'magic' numbers, like 32. i've - changed these to a more representative bitshift representation, - showing clearly in which bit you can expect this token to - manifest. ie, converted things like: - - from: DEEP_COPY_STATESETS = 8, - to: DEEP_COPY_STATESETS = 1<<3, - - showing clearly that this isn't the _value_ 8, but the _bit_ 8. - this is an old pattern i see (and like to promulgate) to make - code a bit more readable and maintainable. - " +Fri, 27 May 2011 16:04:18 +0000 +Checked in by : Robert Osfield +Reverted part of revision r12294 that introduced threading related problems under X11 due to checking the _display Display member variable assigned to the graphics thread from the main thread. -2008-04-16 15:22 robert +Fri, 27 May 2011 11:22:43 +0000 +Checked in by : Robert Osfield +From Ryan Pavlik, "Existing osgconv behavior is to transform the model bounding sphere center to the world origin before performing transformations specified on the command line, and translating back after rotation and scaling unless an alternate translation is specified. This patch adds a setting to the OrientationConverter class in osgconv to disable this extra transformation, which has the effect of applying specified transforms with respect to the input world coordinate system, rather than to the center of the bounding sphere. It also adds a command line argument "--use-world-frame" to enable this behavior. When this command line argument is not passed, behavior is unchanged from before the patch. The usage text has been updated to reflect this additional option, and the comments in OrientationConverter are also updated."Note from Robert Osfield, tweaked the OrientationConverter.cpp a little to improve readability. - * CMakeLists.txt, include/osg/Version: Updated version number for - nex dev release -2008-04-16 10:01 robert - * include/osgViewer/api/Win32/GraphicsWindowWin32: From Jason - Beverage, cursor inheritance support +Fri, 27 May 2011 11:18:44 +0000 +Checked in by : Robert Osfield +Fixed indentation -2008-04-15 20:27 robert +Fri, 27 May 2011 11:07:04 +0000 +Checked in by : Robert Osfield +Fixed the searchAndReplace function so that it correctly skips over the newly inserted replacement strings. - * AUTHORS.txt: Updated AUTHORS.txt for release +Fri, 27 May 2011 09:08:48 +0000 +Checked in by : Robert Osfield +From Jean-Sebastien Guay, "I like the recent addition that adds folders in the solution tree to better organize the numerous examples, libraries, plugins etc.I added two folders that were missing IMHO: packaging and documentation. +" -2008-04-15 20:16 robert - * ChangeLog: Updated ChangeLog -2008-04-15 19:46 robert +Fri, 27 May 2011 09:05:20 +0000 +Checked in by : Robert Osfield +From Eric Sokolowsky, "Attached is an updated PNM plugin for inclusion in both the trunk and for release version 2.8.5. The attached file fixes numerous bugs in reading 8-bit and 16-bit images, including loading the images upside-down. This file also incorporates trunk patch r12220 which updated the plugin for reading and writing images through streams instead of C-style FILE I/O."Note from Robert Osfield, previous revision was in error due to an incomplete merge, this revision completes the job. - * src/osgViewer/GraphicsWindowWin32.cpp: From Jason Beverage, "The - following changes fix the flickering issue I'm seeing when trying - to externally manage my cursor in Win32. If you set the cursor to - InheritCursor, GraphicsWindowWin32 ignores WM_SETCURSOR and - assumes you will set the cursor yourself." -2008-04-15 19:36 robert - - * include/osg/FrameBufferObject, include/osgUtil/RenderStage, - src/osg/FrameBufferObject.cpp, src/osgUtil/RenderStage.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp: From Art Trevs, moved - multile render targets support from RenderStage into - FrameBufferObject. - - From Robert Osfield, refactored the - FrameBufferObejcts::_drawBuffers set up so that its done - within the setAttachment method to avoid potential - threading/execution order issues. - -2008-04-15 12:52 robert - - * src/osgWrappers/osg/CullSettings.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp: Updated wrappers - -2008-04-15 11:50 robert - - * examples/osgdepthpartition/DistanceAccumulator.cpp: From Tim - Moore, compile fix for gcc 4.3 - -2008-04-14 10:38 robert - - * include/osg/CoordinateSystemNode: Added docs explaining units -2008-04-13 19:31 robert +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." - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp: Added - subdivision of Goedes +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." -2008-04-13 14:32 robert +Fri, 27 May 2011 08:22:16 +0000 +Checked in by : Robert Osfield +Reverted Bryce Eldrige submission. - * src/osgText/Text.cpp: From Christian Kaser, "I discovered a bug - that lead to a space being displayed at the start of the new line - after an automatic line break (through setMaximumWidth()). The - fix simply skips all spaces at the end of the line, before - skipping a line break which was done already. - - osgText/Text.cpp: Line 502 - ... - else - { - ++itr; - } - - if (itr!=_text.end()) - { - // skip over spaces and return. - while (*itr==' ') ++itr; // New - if (*itr=='\n') ++itr; - } - - // move to new line. - switch(_layout) - { - .." - -2008-04-13 14:29 robert - - * runexamples.bat: From Paul Martz, added osgocclussionquery and - osgthirdpersonview examples - -2008-04-12 10:02 robert - - * include/osg/CullSettings: Changed bias parameter to scale - -2008-04-11 14:52 robert - - * AUTHORS.txt: Updadated authors file for dev release - -2008-04-11 14:43 robert - - * CMakeLists.txt, ChangeLog, include/osg/Version, - src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgGA/GUIEventAdapter.cpp: Updated wrappers, and - version numbers in prep for next release - -2008-04-11 14:33 robert - - * applications/osgversion/osgversion.cpp: Fixed J.P. Delports name - -2008-04-11 14:14 robert - - * examples/osgsimulation/osgsimulation.cpp: Added --unit entry for - controlling which texture unit the overlay works on. - -2008-04-11 13:43 robert - - * src/osgPlugins/OpenFlight/DataOutputStream.cpp, - src/osgPlugins/OpenFlight/DataOutputStream.h, - src/osgPlugins/OpenFlight/MaterialPaletteManager.cpp, - src/osgPlugins/OpenFlight/MaterialPaletteManager.h, - src/osgPlugins/OpenFlight/VertexPaletteManager.cpp, - src/osgPlugins/OpenFlight/VertexPaletteManager.h, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp, - src/osgPlugins/OpenFlight/expPrimaryRecords.cpp: From Paul - Martz,"Several misc changes, but the major fixes include: - - * Support for Vec4ubArray for color data - * Support for material transparency - - Thanks to Neil Hughes, Jason Daly, yourself, and others for - testing and reporting issues." - -2008-04-11 13:28 robert - - * include/osgGA/EventQueue, include/osgGA/GUIEventAdapter, - src/osgGA/EventQueue.cpp, src/osgGA/GUIEventAdapter.cpp, - src/osgViewer/GraphicsWindowCarbon.cpp: From Philipp Machler, "We - have extended the support for Wacom Tablet devices: - - - Mac OS X - - not only pressure, but tilt and z-rotation is supported now - " - -2008-04-11 13:04 robert - - * examples/osgmultiplerendertargets/osgmultiplerendertargets.cpp, - examples/osgstereomatch/README.txt: Added reference to - osgstereomatch example to osgmultiplerendertargets. - - Added usage example use OpenSceneGraph-Data/Images examples - -2008-04-11 13:03 robert - - * CMakeLists.txt: From Sherman Wilcox, "Here is a patch for - cmakelists.txt to add support for the /MP option - in Microsoft compilers as discussed in osg-users. There is now an - advanced option called WIN32_USE_MP (which defaults to OFF) that - will - enable the /MP switch for all builds. I tucked this code block - safely - within a IF(WIN32) branch." - -2008-04-11 11:58 robert - - * examples/CMakeLists.txt, examples/osgstereomatch, - examples/osgstereomatch/CMakeLists.txt, - examples/osgstereomatch/README.txt, - examples/osgstereomatch/StereoMultipass.cpp, - examples/osgstereomatch/StereoMultipass.h, - examples/osgstereomatch/StereoPass.cpp, - examples/osgstereomatch/StereoPass.h, - examples/osgstereomatch/osgstereomatch.cpp: From Jose Delport, a - MRT example implementing stereo matching. - -2008-04-11 11:19 robert - - * src/osgWrappers/osg/BoundingBox.cpp, - src/osgWrappers/osg/BoundingSphere.cpp, - src/osgWrappers/osg/LOD.cpp, src/osgWrappers/osg/ProxyNode.cpp, - src/osgWrappers/osgGA/GUIEventAdapter.cpp: Updated wrappers - -2008-04-11 11:10 robert - - * examples/osgkeyboard/osgkeyboard.cpp, - include/osgGA/GUIEventAdapter, src/osgGA/EventQueue.cpp, - src/osgViewer/GraphicsWindowX11.cpp: From Melchior Franz, "The - GUIEventAdapter header file had KeySymbols for the super and - hyper keys defined already, but these modifiers were missing in - GUIEventAdapter::ModKeyMask, and the EventQueue ingored them as - well. - - The attached diff/archive adds the missing parts for Super/Hyper - modifier key support. - - - I'm aware that this might not be supported on all - systems/keyboards - out of the box, but decided to submit it anyway because: - - - developers are aware of differences between input devices - (Some mice have scroll wheels, others don't. Some have five or - more buttons, some have only one. Some keyboards don't have - numpads, some have AltGr, some don't etc.) - - - even if someone relies on Hyper/Super in distributed software, - this is easy to fix and doesn't create lock-in conditions - - - while the names Hyper/Super may only be common on X11, they are - just symbol names and not OS-specific - - - even though some systems might not offer these additional - modifiers - by default, it's likely that all of them have at least 8 modifier - levels internally, so it should only be a matter of OS - configuration - to make them work - - - having super/hyper available is useful to offer a user ways - to define local key definitions that are safe from collisions - with - predefined "official" key assignments" - -2008-04-11 10:58 robert - - * src/osgPlugins/curl/CMakeLists.txt: From Sherman Wilcox, - "Modified the cmakelists.txt file for the curl plugin so the - proper - linker directories are set in Win32. The old cmakelists.txt would - set - the lib release folder for debug builds as well. This should - correct - that." - -2008-04-11 10:31 robert - - * src/osgViewer/GraphicsWindowX11.cpp: From Colin McDonald, fixed - typo. - -2008-04-11 10:30 robert - - * src/osgDB/DynamicLibrary.cpp, src/osgDB/FileUtils.cpp, - src/osgPlugins/cfg/CameraConfig.cpp, - src/osgPlugins/net/sockstream.h: From Benoit Laniel, "I use mingw - to cross-compile openscenegraph to win32. However, linux - filesystem is case-sensitive. Here are the modifications needed - to make - the compiler happy. These are only some include lines rewritten - (Io.h to - io.h, Windows.h to windows.h etc.) for version 2.3.7." - -2008-04-11 10:16 robert - - * applications/osgconv/osgconv.cpp: From Bob Kuehne, "1) add - simplifier command "--simplifier .5" to reduce complexity - 2) complementarily add a "--overallNormal" to replace - per-vert/per-facet normals with an overall. simplifier doesn't - work - in certain cases without less complex normals. this gets that - done. - 3) add env var output with full verbose output so people realize - it's - active when the app is run - i see this all the time in training - where - people run osgconv, with unintended data transformations due to - osgUtil:;Optimzer, for example" - -2008-04-11 10:10 robert - - * examples/osgmovie/osgmovie.cpp: Added --mouse option to enable - mouse tracking, and fixed bug in assumption - that nv is not null. - -2008-04-03 18:36 robert - - * CMakeLists.txt, applications/osgversion/osgversion.cpp, - include/osg/BoundingBox, include/osg/BoundingSphere, - include/osg/LOD, include/osg/ProxyNode, include/osg/Vec4d, - src/osg/BoundingSphere.cpp, src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, - src/osgPlugins/Inventor/ConvertToInventor.cpp: Introduced CMake - build option for compiling double or float versions of - osg::BoundingSphere and osg::BoundingBox. - - Introduced code in BoundgingSphere, BoundingBox, ProxyNode and - LOD to utilise the above settings. - - Added Matrix::value_type, Plane::value_type, - BoundingSphere::value_type and BoundingBox::value_type command - line - options that report where the types of floats or doubles. - -2008-04-03 18:06 robert - - * src/osgViewer/GraphicsWindowX11.cpp: From Colin McDonald, "The - X11WindowingSystemInterface in osgViewer/GraphicsWindowX11.cpp - unconditionally sets the X11 error handler routine, replacing - anything - that was previously set. This is a bit unfriendly, as the X11 - error - handler is a global attribute which the application, or the GUI - toolkit - being used, may well have set itself. - - So I have modified X11WindowingSystemInterface to only replace - the error - handler if it is the default i.e. if the application has not set - it." - -2008-04-03 10:26 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Mattias Helsing, - "While using the dds plugin (via osgdem) it was able to write - 24bit - images with BGR order but not read them. My 2-liner fixed it for - me - but it may be that someone with more knowledge of the plugin want - to - insert more pixel formats in the reading part of the plugin." - -2008-04-02 17:08 robert - - * include/osgUtil/RenderStage, src/osgUtil/RenderStage.cpp: From - Jose Delport, added support for MRT via glDrawBuffers - -2008-04-02 13:57 robert - - * src/osgPlugins/osga/OSGA_Archive.cpp: From Mattias Helsing, - "Subject: osga reading slash mismatch - requests for files in a archive are made with unix style paths. - So to - be able to match an entry in map(_indexMap) it's keys needs to be - stored in unix style even on Win32" - - Note from Robert Osfied, simplified this submission so that the - added conversion to - unix slahes is done on all platforms as this should be safe and - simpler to maintain. +Thu, 26 May 2011 16:52:08 +0000 +Checked in by : Robert Osfield +Form Jorge Ciges, improved GL version detection code. -2008-04-02 13:55 robert - - * src/osgUtil/RenderStage.cpp: Updated to reflect new COLOR_BUFFER0 - value +Thu, 26 May 2011 16:34:33 +0000 +Checked in by : Robert Osfield +From Dietmar Funck, "I've noticed an issue when writing arrays of type Vec2D and Vec3D to a .osgb file. A number is written to the output stream to identify the array type. In case of Vec2D and Vec3D arrays Vec4D is written as array type - I guess this is a copy and paste mistake. Writing the correct array types fixes the issue - in my case it fixes writing and afterwards reading geometry instances." -2008-04-02 13:48 robert +Thu, 26 May 2011 16:26:50 +0000 +Checked in by : Robert Osfield +From Bryce Eldridge, "Here is an update for the TIFF plugin that includes the following features when writing out TIFF files:- Support for writing unsigned 16-bit images (GL_UNSIGNED_SHORT) +- Code to parse the options string for the following options: +-- Flag to turn off the compression. The PACKBITS compression type causes issues for me with some programs on Windows (Picasa for example). +-- Options to set the XRESOLUTION and YRESOLUTION tags (DPI) in the TIFF file. - * examples/CMakeLists.txt, examples/osgmultiplerendertargets, - examples/osgmultiplerendertargets/CMakeLists.txt, - examples/osgmultiplerendertargets/osgmultiplerendertargets.cpp: - From Jose Delport, introduced osgmultiplerendertargets example +Existing behavior (PACKBITS compression, DPI tags left at default) is preserved if the options string is not set. +" -2008-04-02 13:47 robert - * include/osg/Camera, src/osgPlugins/osg/Camera.cpp: Changed the - Camera::BufferComponent::COLOR_BUFFER0 from being equal to - COLOR_BUFFER - to being COLOR_BUFFER+1 to enable differentation between non MRT - and MRT paths. -2008-04-02 11:28 robert +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(..). - * src/osgUtil/RenderStage.cpp: From Jose Delport, typo fixes +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." -2008-04-01 17:22 robert +"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)" - * AUTHORS.txt, ChangeLog, applications/osgversion/osgversion.cpp: - Updated ChangeLog, osgversion and AUTHOR.txt for 2.3.7 dev - release -2008-04-01 14:52 robert - * .: Removed svn:externals property -2008-04-01 14:28 robert - * README.txt: Updated data for 2.3.7 dev release +Thu, 26 May 2011 16:13:04 +0000 +Checked in by : Robert Osfield +Fixed indentation -2008-04-01 11:03 robert +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. - * include/OpenThreads/Version, src/OpenThreads/CMakeLists.txt: - Updated OpenThreads version to 2.2.1 with the switch of - sources/svn:externals from OpenThreads to OpenSceneGraph. +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: -2008-04-01 10:49 robert +Archive - getDirectoryContents() no longer pure virtual +Archive.cpp - default getDirectoryContents() implementation +unzip.cpp - modified to fix a bug where the same file will not load twice in a row +ZipArchive.h / ZipArchive.cpp - extends osgDB::Archive and provides support for random access loading within a .zip file +ReaderWriterZip.cpp - modified to use the ZipArchive class" - * ., include/OpenThreads, src/OpenThreads: Moved OpenThreads - directly into OpenSceneGraph/trunk rather than being introduced - via svn:externals. - - This change has been done to make it easier for OpenSceneGraph - users to check out the svn via https - without any conflicts introduced with a http externals. - -2008-04-01 10:33 robert - - * CMakeLists.txt, include/osg/Version: Updated version numbers for - 2.3.7 dev release - -2008-04-01 10:11 robert - - * src/osgPlugins/OpenFlight/FltExportVisitor.cpp, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp: From Paul - Martz, "Two changes: - - Handle DrawArrays first/count correctly (fixes problem reported - by Jason Daly) - - Display warning if non-Geometry Drawable is encountered." -2008-04-01 10:00 robert - * include/osgViewer/api/Carbon/GraphicsWindowCarbon, - src/osgViewer/GraphicsWindowCarbon.cpp: From Tatsuhiro Nishioka - and Stephan Huber, bug fixes and enhancement of cursor suppoort. +Wed, 25 May 2011 09:34:53 +0000 +Checked in by : Robert Osfield +Updated ChangeLog -2008-03-31 16:23 robert +Wed, 25 May 2011 09:34:02 +0000 +Checked in by : Robert Osfield +From Olaf Flebbe, fixes for OSX AGL build - * src/osgViewer/Viewer.cpp: Added checks for a valid scene graph - before doing various ops on it. +Wed, 25 May 2011 09:13:26 +0000 +Checked in by : Robert Osfield +Removed now redundent local implementation of getDirectoryContexts() -2008-03-31 14:00 robert +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: - * src/osgPlugins/OpenFlight/LightSourcePaletteManager.cpp: From - Andy Skinner, build fix for Solaris +Archive - getDirectoryContents() no longer pure virtual +Archive.cpp - default getDirectoryContents() implementation +unzip.cpp - modified to fix a bug where the same file will not load twice in a row +ZipArchive.h / ZipArchive.cpp - extends osgDB::Archive and provides support for random access loading within a .zip file +ReaderWriterZip.cpp - modified to use the ZipArchive class" -2008-03-31 11:44 robert - * include/osg/Camera, include/osgUtil/RenderStage, - include/osgUtil/SceneView, src/osg/Camera.cpp, - src/osgUtil/SceneView.cpp, src/osgWrappers/osg/Camera.cpp: Added - Camera::s/getClearAccum, s/getClearStencil and s/getClearDepth. -2008-03-31 09:43 robert - * src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgTerrain/Terrain.cpp: Updated wrappers +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" -2008-03-29 09:59 robert - * src/osgText/Font.cpp: From Sherman Wilcox with a little - reorganisation from Robert Osfield, added - test for 0 sized subloads, ignoring them to prevent a divide by - zero error occuring on some buggy drivers. - -2008-03-28 19:56 robert - - * src/osgPlugins/OpenFlight/ExportOptions.cpp, - src/osgPlugins/OpenFlight/FltWriteResult.h, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/OpenFlight/VertexPaletteManager.cpp: From Paul - Martz, "Some small changes and code cleanup. Biggest change is an - improvement to the WriteResult return." - -2008-03-28 18:42 robert - - * src/osgTerrain/GeometryTechnique.cpp: Set - Texture::setMaxAnisotropy() to 16.0f for better quality terrain - when looking at shallow angle. - -2008-03-28 17:53 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Improved the error - capture and reporting - -2008-03-28 15:52 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Rewrote - the DatabasePager::removeExpiredSubgraphs(double) routine as it - as not expiring subgraphs quick enough to enable reasonable load - balancing. - - New version isn't perfect and will need further work, but does at - least reduce - the memory footprint by as much as half on test paths on big - databases. - - The rewritten method no longer uses the the - MaximumNumOfRemovedChildPagedLODs - and MinimumNumOfInactivePagedLODs variables so these and - associated methods - for accessing them have been removed. - - - /** Set the maximum number of PagedLOD child to remove per - frame */ - - void setMaximumNumOfRemovedChildPagedLODs(unsigned int number) - { _maximumNumOfRemovedChildPagedLODs = number; } - - - - /** Get the maximum number of PagedLOD child to remove per - frame */ - - unsigned int getMaximumNumOfRemovedChildPagedLODs() const { - return _maximumNumOfRemovedChildPagedLODs; } - - - - /** Set the minimum number of inactive PagedLOD child to keep - */ - - void setMinimumNumOfInactivePagedLODs(unsigned int number) { - _minimumNumOfInactivePagedLODs = number; } - - - - /** Get the minimum number of inactive PagedLOD child to keep - */ - - unsigned int getMinimumNumOfInactivePagedLODs() const { return - _minimumNumOfInactivePagedLODs; } - -2008-03-28 15:31 robert - - * include/osgTerrain/Terrain, include/osgTerrain/TerrainTechnique, - src/osgTerrain/Terrain.cpp: Introduced mutex into Terrain node to - manage the tile system data structures - -2008-03-28 15:28 robert - - * examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp: - Reordered set up of scene and event handlers to prevent warning - -2008-03-28 13:22 robert - - * src/osgPlugins/OpenFlight/opcodes.h, - src/osgPlugins/OpenFlight/types.h: Removed old lower case - versions - -2008-03-28 12:44 robert - - * src/osgPlugins/OpenFlight/AttrData.cpp, - src/osgPlugins/OpenFlight/AttrData.h, - src/osgPlugins/OpenFlight/CMakeLists.txt, - src/osgPlugins/OpenFlight/DataInputStream.h, - src/osgPlugins/OpenFlight/DataOutputStream.cpp, - src/osgPlugins/OpenFlight/DataOutputStream.h, - src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/ExportOptions.cpp, - src/osgPlugins/OpenFlight/ExportOptions.h, - src/osgPlugins/OpenFlight/FltExportVisitor.cpp, - src/osgPlugins/OpenFlight/FltExportVisitor.h, - src/osgPlugins/OpenFlight/FltWriteResult.h, - src/osgPlugins/OpenFlight/LightSourcePaletteManager.cpp, - src/osgPlugins/OpenFlight/LightSourcePaletteManager.h, - src/osgPlugins/OpenFlight/MaterialPaletteManager.cpp, - src/osgPlugins/OpenFlight/MaterialPaletteManager.h, - src/osgPlugins/OpenFlight/Opcodes.h, - src/osgPlugins/OpenFlight/Pools.h, - src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/OpenFlight/RecordInputStream.cpp, - src/osgPlugins/OpenFlight/Registry.h, - src/osgPlugins/OpenFlight/TexturePaletteManager.cpp, - src/osgPlugins/OpenFlight/TexturePaletteManager.h, - src/osgPlugins/OpenFlight/Types.h, - src/osgPlugins/OpenFlight/Utils.h, - src/osgPlugins/OpenFlight/VertexPaletteManager.cpp, - src/osgPlugins/OpenFlight/VertexPaletteManager.h, - src/osgPlugins/OpenFlight/expAncillaryRecords.cpp, - src/osgPlugins/OpenFlight/expControlRecords.cpp, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp, - src/osgPlugins/OpenFlight/expPrimaryRecords.cpp: From Paul Martz, - "Here's the mods to the OpenFlight plugin to support FLT export. - The ZIP file contains the new .cpp/h files as well as existing - files that I modified. - - Changes to existing files: - ReaderWriter.cpp -- to support writeNode() of course. - ReaderWriterATTR.cpp -- to support writeObject -- we write .attr - files for textures, if they don't already exist. - AttrData.cpp/.h -- Minor fixes. - CMakeLists.txt -- to include the new files in the build." - - From Robert Osfield, port to non Windows platforms just required - fixing of header capitilization errors - that windows lets through the net due to having a case - insensitive file system. - - -2008-03-27 13:21 robert - - * include/osgTerrain/Terrain, include/osgTerrain/TerrainTile, - include/osgTerrain/TileSystem, src/osgTerrain/CMakeLists.txt, - src/osgTerrain/Terrain.cpp, src/osgTerrain/TerrainTile.cpp, - src/osgTerrain/TileSystem.cpp, - src/osgWrappers/osgTerrain/Terrain.cpp, - src/osgWrappers/osgTerrain/TerrainTile.cpp, - src/osgWrappers/osgTerrain/TileSystem.cpp: Removed TileSystem - class, and added support for TerrainTile's automatically - registering and unregistering themseles with the enclosing - Terrain node. - -2008-03-27 11:56 robert - - * src/osgWrappers/osgTerrain/TerrainTile.cpp: Added wrapper for - TerrainTile - -2008-03-27 11:55 robert - - * examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp, - include/osgTerrain/Terrain, include/osgTerrain/TerrainSystem, - include/osgTerrain/TerrainTechnique, - include/osgTerrain/TerrainTile, src/osgTerrain/CMakeLists.txt, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Terrain.cpp, - src/osgTerrain/TerrainSystem.cpp, - src/osgTerrain/TerrainTechnique.cpp, - src/osgTerrain/TerrainTile.cpp, - src/osgWrappers/osgTerrain/Terrain.cpp, - src/osgWrappers/osgTerrain/TerrainTechnique.cpp, - src/osgWrappers/osgTerrain/TileSystem.cpp: Renamed - osgTerrain::TerrainSystem to osgTerrain::Terrain - -2008-03-27 10:55 robert - - * examples/osgterrain/osgterrain.cpp, include/osgTerrain/Terrain, - include/osgTerrain/TerrainSystem, - include/osgTerrain/TerrainTechnique, - include/osgTerrain/TerrainTile, include/osgTerrain/TileSystem, - src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/CompositeLayer.h, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/HeightFieldLayer.h, - src/osgPlugins/ive/ImageLayer.h, src/osgPlugins/ive/Layer.h, - src/osgPlugins/ive/ReadWrite.h, src/osgPlugins/ive/Terrain.cpp, - src/osgPlugins/ive/Terrain.h, src/osgPlugins/ive/TerrainTile.cpp, - src/osgPlugins/ive/TerrainTile.h, - src/osgPlugins/osgTerrain/CMakeLists.txt, - src/osgPlugins/osgTerrain/Locator.cpp, - src/osgPlugins/osgTerrain/ReaderWriterOsgTerrain.cpp, - src/osgPlugins/osgTerrain/Terrain.cpp, - src/osgPlugins/osgTerrain/TerrainTile.cpp, - src/osgTerrain/CMakeLists.txt, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Terrain.cpp, - src/osgTerrain/TerrainTechnique.cpp, - src/osgTerrain/TerrainTile.cpp: Renamed Terrain to TerrainTile - -2008-03-26 20:06 robert - - * examples/osgmultitexturecontrol/CMakeLists.txt, - examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp, - include/osgTerrain/Terrain, include/osgTerrain/TerrainSystem, - include/osgTerrain/TileSystem, src/osgDB/DatabasePager.cpp, - src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/Terrain.cpp, - src/osgTerrain/CMakeLists.txt, src/osgTerrain/Terrain.cpp, - src/osgTerrain/TerrainSystem.cpp, src/osgTerrain/TileSystem.cpp: - Introduce TerrainSystem node which decorates a complete terrain - model made up of Terrain tiles. - -2008-03-26 20:03 robert - - * src/osgPlugins/curl/CMakeLists.txt, - src/osgPlugins/curl/ReaderWriterCURL.cpp: From Carlo Camporesi, - "I have made some changes in order to allow the using of proxies - via env variables and options. - I have modified also the cmakelist. In this way osg is able to - find the library in 3rdParty directory." - -2008-03-26 20:01 robert - - * CMakeModules/Find3rdPartyDependencies.cmake: From Carlo - Comporesi, adding support of finding libcurl in 3rd party - dependencies - -2008-03-25 15:21 robert - - * examples/osgviewerQT/AdapterWidget.cpp: From Tomas Hnilica, " - Attached is modified source of AdapterWidget.cpp file from - osgviewerQT - example. Original was token today from SVN - trunk. (2.3.6). - --mdi option needs to be set to run MDI version. - - Few notes: - - tested on Windows box (Win XP) - - using QT4 - - I was not able to execute the example with QOSGWidget - had - same - error like described in [osg-users] "fate error using QOSGWidget - in - develop release - 2.3.0" thread from Shuxing Xiao, 2008-01-08. - - problems are described in source - - -- - - And Later post: - - The problem of keypress events was solved by QT community, - attached is - repaired AdapterWidget.cpp file. - In the AdapterWidget class constructor following line was added: - setFocusPolicy(Qt::ClickFocus); - Scene disappearing by resizing to minimum still needs to be - fixed..." - -2008-03-25 13:14 robert - - * src/osgDB/FileNameUtils.cpp, src/osgDB/Registry.cpp: Moved - include of c headers to top, and remove using std::strlen in an - attempt to solve gcc4.3 compile problems - -2008-03-25 13:06 robert - - * src/osgViewer/ViewerEventHandlers.cpp: Added limits.h to try and - avoid gcc 4.3 compile problems - -2008-03-25 13:01 robert - - * src/osgPlugins/gdal/ReaderWriterGDAL.cpp: Added #include - to fix gcc 4.3 build problem - -2008-03-25 12:26 robert - - * src/osgUtil/Optimizer.cpp: Fixed LessGeode operator. - -2008-03-25 11:50 robert - - * examples/osgshadow/osgshadow.cpp: From Wojciech Leandowski, "I - removed few lines of code that were setting Threading mode and - Screen mode. I believe they are now not neccessary because the - same does osgViewer::Viewer argument parser. In fact argument - list does not contain these args after they were parsed by - osgViewer::Viewer constructor. - - I also allowed myself to add ThreadingHandler to the example." - -2008-03-24 18:06 robert - - * src/osgTerrain/GeometryTechnique.cpp: Added sampling down to - 32x32 mesh for 64x64 height fields as a workaround to - memory consumption issues with high res whole earth paged - databases. - -2008-03-24 18:03 robert - * examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp: Added - mutex to prevent multiple cull threads changing the - MultiTextureControl at one time. -2008-03-24 10:53 robert +Tue, 24 May 2011 10:20:36 +0000 +Checked in by : Robert Osfield +Fixed Coverity issues.CID 11669: Uninitialized pointer field (UNINIT_CTOR) +Non-static class member _glAttachShader is not initialized in this constructor nor in any functions that it calls. +Non-static class member _glBindAttribLocation is not initialized in this constructor nor in any functions that it calls. +... - * examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp: Added - full range of cameras manipulators to osgmultitexturecontrol - example -2008-03-23 18:28 robert +CID 11699: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _areTessellationShadersSupported is not initialized in this constructor nor in any functions that it calls. - * src/osgGA/AnimationPathManipulator.cpp: Added < and > key - bindings to allow the speed to be animation speed to be increased - or decreased. -2008-03-21 18:35 robert - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Added preliminary file - cache support. Enabled by setting the OSG_FILE_CACHE variable. -2008-03-21 18:31 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. - * src/osgPlugins/net/ReaderWriterNET.cpp: Added missing break; at - end of each case entry. -2008-03-21 15:43 robert - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Fixed push/popping of - filepath, removed verbose debug messages -2008-03-21 13:20 robert +Tue, 24 May 2011 10:18:47 +0000 +Checked in by : Robert Osfield +Fixed Coverity issue.CID 11692: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _allocationMode is not initialized in this constructor nor in any functions that it calls. - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Added better detection - and error reporting of files without proper server address -2008-03-21 13:08 robert - * CMakeLists.txt, src/osgDB/Registry.cpp, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/curl, - src/osgPlugins/curl/CMakeLists.txt, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/net/ReaderWriterNET.cpp: Added initial cut of - libcurl based plugin -2008-03-20 10:24 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. - * README.txt: Updated date for 2.4.6 release -2008-03-19 21:05 robert - * include/osgViewer/api/X11/GraphicsWindowX11, - src/osgViewer/GraphicsWindowX11.cpp: From Melchoir Franz, - "osgViewer toggled the NumLock state correctly when pressing the - NumLock - key, but it didn't pick up the initial state. So, if NumLock was - on for - the OS at startup (LED on), it was still off for OSG. And the - first - keypress turned the LED off, and NumLock on for OSG. The attached - fix - picks up the state on every FocusIn, just like it was done in the - last - commits for CapsLock. The difference is, that the NumLock mask - isn't - standardized (e.g. 0x10 for Linux, and 0x80 for AIX), so we have - to do - a reverse lookup (::rescanModifierMapping()). - - Note that I could not reproduce the problem on my system, but - someone - else confirmed it twice on his, and the patch fixed it for him. - - Changed files: - ./include/osgViewer/api/X11/GraphicsWindowX11 - ./src/osgViewer/GraphicsWindowX11.cpp - - " -2008-03-19 17:11 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. - * AUTHORS.txt: Update AUTHOR file +CID 11698: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _type is not initialized in this constructor nor in any functions that it calls. -2008-03-19 17:10 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. - * CMakeLists.txt, ChangeLog, README.txt, include/osg/Version: - Updated version and ChangeLog for 2.3.6 dev release. -2008-03-19 12:30 robert - * src/osgWrappers/osgShadow/ShadowMap.cpp: Updated wrappers -2008-03-19 12:09 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. - * include/osgShadow/ShadowMap, src/osgShadow/ShadowMap.cpp: From - Sebastian Messerschimdt, Added polygon offset controls -2008-03-19 11:41 robert - * src/osgWrappers/osg/CullSettings.cpp: Updated wrappers -2008-03-19 11:41 robert +Tue, 24 May 2011 10:15:17 +0000 +Checked in by : Robert Osfield +Fixed Coverity issue.CID 11695: Uninitialized pointer field (UNINIT_CTOR) +Non-static class member _ximpl is not initialized in this constructor nor in any functions that it calls. - * src/osgShadow/ParallelSplitShadowMap.cpp, - src/osgShadow/ShadowMap.cpp, src/osgShadow/ShadowTexture.cpp: - Revert the Camera::setInheritanceMask(0x) calls that were added - as workaround to a bug introduced by a bug fix to the way the - inhertiance mask was handled in CullVisito::apply(Camera&) -2008-03-19 11:40 robert - * include/osg/CullSettings, src/osg/CullSettings.cpp: Introduced - InheritanceMaskActionOnAttributeSetting member to CullSettings, - and associated applyMaskAction method that is - now used in all CullSettings::set*() methods, which by default - helps disable the inheritance mask associated - with settings that are made locally. -2008-03-18 17:44 robert +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. - * src/osgShadow/ParallelSplitShadowMap.cpp, - src/osgShadow/ShadowMap.cpp, src/osgShadow/ShadowTexture.cpp, - src/osgShadow/SoftShadowMap.cpp: Set the - CullSettings::InhertianceMask to 0x0 as temporary measure till we - work out the best scheme to use w.r.t inhertiance of CullSettins. -2008-03-18 15:48 robert - * src/osgWrappers/osg/AutoTransform.cpp: Updated wrappers -2008-03-18 15:37 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. - * examples/osgautotransform/osgautotransform.cpp, - include/osg/AutoTransform, src/osg/AutoTransform.cpp, - src/osgPlugins/ive/AutoTransform.cpp, - src/osgPlugins/ive/IveVersion.h, - src/osgPlugins/osg/AutoTransform.cpp: To osg::AutoTransform added - support for MinimumScale, MaximumScale and - AutoScaleTransitionWidth parameters - and a new scheme for computing the scaling when using autoscale - that introduces smooth - transitions to the scaling of the subgraph so that it looks more - natural. -2008-03-18 10:45 robert - * examples/osgautotransform/osgautotransform.cpp: Added example - code showing how to set the minimum and maximum scales -2008-03-18 09:17 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. - * src/osgSim/CMakeLists.txt: Added ObjectRecordData to include list -2008-03-17 15:22 robert - * include/osg/AutoTransform, src/osg/AutoTransform.cpp, - src/osgPlugins/osg/AutoTransform.cpp: Added minimum and maximum - scale support to osg::AutoTransform -2008-03-17 12:23 robert +Tue, 24 May 2011 10:08:40 +0000 +Checked in by : Robert Osfield +Fixed build error - * examples/osgparticleeffects/osgparticleeffects.cpp: Fixed moving - model bug where the moving model code was looking for a transform - with DataVariance set to DYNAMIC, but the scene graph set up code - was leaving the setting to default to STATIC. Fix involved - setting DataVariance on moving transoforms to DYNAMIC. +Mon, 23 May 2011 16:58:49 +0000 +Checked in by : Robert Osfield +Removed unused numX, numY member variables, and added initializer for firstHeaderWrite. -2008-03-17 12:13 robert +Mon, 23 May 2011 08:17:02 +0000 +Checked in by : Robert Osfield +Added CullVisitor::setCalculatedNearPlane() and setCalculatedFarPlane(() methods to enable 3rd party code to manage the compute of the near/far planes. - * src/osgWrappers/osgParticle/ParticleSystem.cpp: Updated wrappers +Thu, 19 May 2011 13:25:03 +0000 +Checked in by : Robert Osfield +Uppded the default acceleration as it was too slow for reasonable sized models -2008-03-17 12:11 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." - * include/osgParticle/ParticleSystem: Added doxygen docs +Tue, 17 May 2011 09:21:32 +0000 +Checked in by : Robert Osfield +From Wang Rui, added close button hint -2008-03-17 12:09 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. " - * include/osgParticle/ParticleSystem, - src/osgParticle/ParticleEffect.cpp, - src/osgParticle/ParticleSystem.cpp, - src/osgPlugins/osgParticle/IO_ParticleSystem.cpp: Introduce - osgParticle::ParticleSystem::s/getParticleScaleReferenceFrame() - to - help manage the scaling of particles, whether they should be - relative to the - local coordiante frame of the particle system, or be in world - coordinates. +Mon, 16 May 2011 10:07:20 +0000 +Checked in by : Robert Osfield +From Sukender, I wrapped my change about non-empty texture units in an off-by-default option, so that it doesn't break any existing code. But AFAIK, other readers (except OSGx) generate contiguous texture units, so I guess this option to be useful for users.Other changes in this sumbission include the added ability to tessellate polygons in Collada reader, with appropriate options. + - No tessellation + - Tessellate as triangle fan (previous behaviour, kept as default for backward-compatibility) + - Full tessellation -2008-03-17 10:29 robert +I also put auto_ptr<> for RAII of DAE structure (as discussed), and moved reader options in a structure, as for the writer. - * examples/osgsimulation/CMakeLists.txt, - examples/osgsimulation/osgsimulation.cpp: Added fire effect, - enabled by --fire command line option. The new fire effect - has been introduced to reproduce the scaling of paricle effects +Code also make use of osgDB::ExternalFileWriter I submitted, so please merge this submission after the PluginImageWriter one. -2008-03-15 19:27 robert - * src/osgPlugins/net/ReaderWriterNET.cpp: Added better error - reporting -2008-03-14 16:51 robert - * examples/osgshadow/osgshadow.cpp: From Paul Melis, "typo fix : - NVidea -> NVidia (including option --Nvidea)" -2008-03-14 16:24 robert +Mon, 16 May 2011 09:17:30 +0000 +Checked in by : Robert Osfield +Renamed example from osgviewerQtContext to osgviewerQt. - * AUTHORS.txt, ChangeLog: Update ChangeLog and AUTHORS.txt file for - 2.3.5 release +Mon, 16 May 2011 09:16:22 +0000 +Checked in by : Robert Osfield +Updated example to use new GraphicsWindowQt::getGLWidget() method instead of deprecated getGraphWidget() method -2008-03-14 15:33 robert +Mon, 16 May 2011 09:15:02 +0000 +Checked in by : Robert Osfield +Added support for setting threading model from command line and changed default threading model to CullDrawThreadPerContext. New command line options are: osgviewerQtContext --SingleThreaded + osgviewerQtContext --CullDrawThreadPerContext + osgviewerQtContext --DrawThreadPerContext + osgviewerQtContext --CullDrawThreadPerContext - * src/osgWrappers/osgGA/StateSetManipulator.cpp: Updated wrappers -2008-03-14 15:33 robert - * CMakeModules/clean_directories: Added utilty script for cleaning - up build files/directories. -2008-03-14 15:32 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 - * src/osg/StateSet.cpp: Fixed indenting +-- -2008-03-14 15:13 robert +From Robert Osfield, added back in getGraphWidget() method for backwards compatibility. - * include/osgViewer/api/X11/GraphicsWindowX11, - src/osgViewer/GraphicsWindowX11.cpp: From Melchior Franz, - "Attached is a fix for remaining problems in capslock handling: - It sets osgGA's keymask when restoring keys on FocusIn, according - to the state values of XKeyEvent and XCrossingEvent. (These are - the only source for X11's current capslock state that avoids - pulling in the XKB extension.) - " -2008-03-14 15:00 robert - * include/osgGA/StateSetManipulator: Missing checkin -2008-03-14 14:35 robert +Mon, 16 May 2011 08:59:10 +0000 +Checked in by : Robert Osfield +Fixed traling spaces - * examples/osgviewerWX/osgviewerWX.cpp: Added iostream include +Mon, 16 May 2011 08:50:59 +0000 +Checked in by : Robert Osfield +From Rafa Gata, I've been playing around with serializers in order to use it as a "generic" property mechanism for osg::Object.The main problem I have found is that InputStream and OutputStream +only takes the stream when you call start method, and in that case it +attaches to the stream buffer some stuff, useful for files but not for +runtime/gui usage. I have added a simple setInputIterator and +setOutputIterator to the classes so now you can easily serialize +values without version and other stuff. -2008-03-14 13:21 robert +Writing matrix: +osgDB::OutputStream os(0); +std::stringstream sstream; +os.setOutputIterator(new AsciiOutputIterator(&sstream)); +os << matrix; +std::string value = sstream.str(); - * src/osgGA/StateSetManipulator.cpp: Added cloning of the StateSet - before modification to work around threading issue - relating to the StateSet being modified by the event/update - thread and read from - the draw thread at the same time. +Reading matrix: +osgDB::InputStream is(0); +std::stringstream sstream(value); +is.setInputIterator(new AsciiInputIterator(&sstream)); +osg::Matrixf mat2; +is >> mat2; -2008-03-14 12:03 robert +From Robert Osfield, added doxygen comments to clarify the role of the methods. - * include/osgSim/ObjectRecordData, - src/osgWrappers/osgSim/ObjectRecordData.cpp: Converted static - const unsigned int definitio to enum. -2008-03-14 11:53 robert - * AUTHORS.txt, ChangeLog, README.txt, - applications/osgversion/osgversion.cpp: Updated version/author - type fixes, authors, readme and changelog for 2.3.5 dev release -2008-03-14 11:07 robert - * src/osgWrappers/osg/NodeTrackerCallback.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp: Updated wrappers +Sun, 15 May 2011 08:27:04 +0000 +Checked in by : Robert Osfield +From Wang Rui, build fix -2008-03-14 11:06 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. - * include/osg/Version: Improved the indenting +Fri, 13 May 2011 19:08:04 +0000 +Checked in by : Robert Osfield +Fixed handling of Font implementations that don't handle multiple font resolutions. -2008-03-14 11:06 robert - - * include/osg/observer_ptr: Changed the const get(), operator*() - and operator->() methods to return non const T versions - -2008-03-14 11:01 robert - - * include/osgViewer/api/X11/GraphicsWindowX11: From Andy Skinner, - build fix for Solaris - -2008-03-13 19:48 robert - - * include/osgUtil/SceneGraphBuilder: Fixed doc comment - -2008-03-13 19:44 robert - - * CMakeLists.txt, include/osg/Version, - include/osgUtil/SceneGraphBuilder, - src/osgUtil/SceneGraphBuilder.cpp, - src/osgWrappers/osgUtil/SceneGraphBuilder.cpp: Removed gl and glu - prefixes from SceneGraphBuilder methods to avoid problems under - Solaris - -2008-03-13 16:40 robert - - * src/osgPlugins/vrml/ReaderWriterVRML2.cpp: From Gino van den - Bergen, "I've added a few fixes to the VRML 2.0 plugin: - - 1) Full DOS paths are now correctly opened by OpenVRML. A URL - containing - a DOS path should be "file:///C:data/blah" rather than - "file://C:data/blah". - - 2) The last primitive defined in "coordIndex" is now added if the - "coordIndex" is not terminated by -1. - - 3) Smoothed normals are computed if no normal field is provided. - Currently, there is no support for "creaseAngle", so all edges - (even the - ones sharper than the creaseAngle) are smoothed. I might add this - in the - future if demand rises. - - 4) If an IndexedFaceSet contains only triangles or quads then the - primitive type is set to TRIANGLES or QUADS, and the primset - becomes - DrawArrays rather than DrawArrayLengths. - - Question: I noticed that for DrawArrays you can still provide an - index - array. Would the rendering be faster if I'd create DrawElements - primsets - rather than DrawArrays? Phrased differently, what is the benefit - of - using DrawElements over DrawArrays, as there is clearly not a - one-to-one - mapping of these concepts to their OpenGL counterparts? - - 5) Objects are added to the transparent bin and blend mode is - enabled - only if the transparency is nonzero. Rendered transparent objects - no - longer write the depth buffer." - -2008-03-13 16:38 robert - - * examples/osgunittests/osgunittests.cpp: From Jose Delport, - "attached is a version of osgunittests that does not give false - alarms - for the case where q1 = -q2. The output of 'osgunittests quat' is - now - much cleaner. - " - -2008-03-13 16:22 robert - - * examples/osgviewerWX/osgviewerWX.cpp: From Paul Melis, "Here is - an updated osgviewerWX example to bring it more in line with the - other GUI toolkit examples. It now takes a model file as - command-line - argument (complaining if there isn't one), and its startup window - size - is now actually applied (it used to be too small). I tested this - with a - unicode-build of wxWidgets, as that is the recommended build type - on - Linux with GTK. I'm pretty sure this version of the example will - work - for the ANSI build as well, but I have no way of testing." - -2008-03-13 16:18 robert - - * src/osgPlugins/ac/ac3d.cpp: From Melchoir Franz, "ac3d.cpp does - currently strip everything but the file name in - "texture" paths. This is to drop absolute paths that some - 3d editors export (even AC3D itself!). But this also strips - directories of relative paths, which is wrong and contradicts - the ac3d reference implementation. (The reference implementation - doesn't strip anything, though, and so takes the absolute paths - as they are. Definitely not what we want.) - - The attached solution checks absolute paths and only strips - those: - - (1) A:\\foo\\bar.png -> bar.png (as before) - (2) /foo/bar.png -> bar.png (as before) - - (3) foo/bar.png -> foo/bar.png (new) - (4) ../foo/bar.png -> ../foo/bar.png (new) - - " - -2008-03-13 16:12 robert - - * include/osgViewer/api/X11/GraphicsWindowX11, - src/osgViewer/GraphicsWindowX11.cpp: From Melchoir Franz, Caps - lock support under X11 - -2008-03-13 16:05 robert - - * include/osg/LineSegment, src/osg/LineSegment.cpp: Added double - versions of intersect methods - -2008-03-13 16:05 robert - - * src/osgWrappers/osg/LineSegment.cpp, - src/osgWrappers/osgSim/ObjectRecordData.cpp: Updated wrappers - -2008-03-13 15:23 robert - - * src/osg/LineSegment.cpp: From Andy Skinner, "I've taken this - another step, to use value_type inside the intersect calls. I did - choose to use sqrt() instead of sqrtf()." - -2008-03-13 15:21 robert - - * include/osgSim/ObjectRecordData, - src/osgPlugins/osgSim/IO_ObjectRecordData.cpp: From Paul Martz, - files for adding ObjectRecordData support into OpenFlight - -2008-03-13 14:09 robert - - * src/osgPlugins/OpenFlight/Document.cpp, - src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/PrimaryRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/osgSim/CMakeLists.txt: From Paul Martz, "The - attached preserves OpenFlight Object record data as UserData in - the osg::Group corresponding to the Object record. - - The files are: - include/osgSim/ObjectRecordData -- The new class. Derives from - Object to support .osg IO. - src/osgPlugins/OpenFlight/PrimaryRecords.cpp -- Reads data into - that class. - src/osgPlugins/osgSim/IO_ObjectRecordData.cpp -- .osg IO - support." - - From Robert Osfield, made the OpenFlight read object record data - optional via the -O readObjectRecordData ReaderWriter option. +Fri, 13 May 2011 11:20:48 +0000 +Checked in by : Robert Osfield +Improved the size, advance and bearing settings -2008-03-13 13:44 robert +Thu, 12 May 2011 18:52:18 +0000 +Checked in by : Robert Osfield +Warning and build fixes - * include/osgUtil/SceneGraphBuilder, - src/osgUtil/SceneGraphBuilder.cpp: Added support for assigning - state to created drawables, implemented gluDisk. - -2008-03-13 13:43 robert - - * examples/osgforest/osgforest.cpp: From Alberto Luaces, "Here I - send minor corrections to the text output by the osgforest - example when - building its graphs. The message "Creating billboard based - forest" appears - four times regardless of the actual type of the graph being - built. - " - -2008-03-12 20:20 robert - - * src/osgWrappers/osg/LineStipple.cpp, - src/osgWrappers/osg/Point.cpp, - src/osgWrappers/osg/PolygonStipple.cpp, - src/osgWrappers/osgUtil/SceneGraphBuilder.cpp: Updated wrappers - -2008-03-12 20:15 robert - - * include/osg/LineStipple, include/osg/Point, - include/osg/PolygonStipple, src/osg/Point.cpp, - src/osg/PolygonStipple.cpp: Added extra constructors - -2008-03-12 20:15 robert - - * include/osgUtil/SceneGraphBuilder, - src/osgUtil/SceneGraphBuilder.cpp: Added proper implementations - of OpenGL 1.0 calls to OSG object representation methods in - SceneGraphBuilder. - -2008-03-12 15:28 robert - - * src/osgPlugins/osgTerrain/CompositeLayer.cpp: Fixed bug in output - of ProxyLayer's MinLevel/MaxLevel - -2008-03-11 13:29 robert - - * include/osgUtil/SceneGraphBuilder, src/osgUtil/CMakeLists.txt, - src/osgUtil/SceneGraphBuilder.cpp: Added default implementations - of new SceneGraphBuilder class - -2008-03-11 13:23 robert - - * src/osg/Geometry.cpp: From Mathias Froehlich, "it appears to me - that sun CC cannot use static functions from template - functions. The attached change is required to make it compile - with sun CC." - -2008-03-11 13:19 robert - - * CMakeModules/FindGDAL.cmake: From Jose Delport, added support for - finding and using GDAL 1.5 - -2008-03-11 12:10 robert - - * examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp: Added - extra event handlers to make viewer more functional - -2008-03-10 20:30 robert - - * applications/osgversion/osgversion.cpp: Added commandline help - options - -2008-03-05 13:54 robert - - * src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp: From Andreas - Ekstrand and Lars Nilsson, fix for reading Texture Attribute file - -2008-03-05 12:05 robert - - * src/osgWrappers/osgGA/StateSetManipulator.cpp: Updated wrappers - -2008-03-05 11:52 robert - - * src/osg/State.cpp: From Atr Trevs, added missinging initializers - -2008-03-05 11:33 robert - - * include/osgGA/StateSetManipulator, - src/osgGA/StateSetManipulator.cpp: From Jean-Sebastien Guay, "I - changed osgGA::StateSetManipulator to mirror the - osgViewer::StatsHandler and other handlers which allow you to - change the - key(s) you would press to get them to do something. Pretty simple - change - but useful in our context and possibly in others too." - -2008-03-04 17:57 robert - - * src/osgViewer/CompositeViewer.cpp: From Jean-Sebastien Guay, " - The problem can be reproduced by simply changing the osgpick - example to - use a CompositeViewer with a single view initialized using - setUpViewAcrossAllScreens(). I have attached a modified - osgpick.cpp so - you can test it out quickly (please don't check this file in - though :-) - ) The eventState is then incorrect and picking does not work. The - only - changes are in CompositeViewer.cpp (eventTraversal() method), and - fix - the problem for me. - " - -2008-03-04 16:39 robert - - * include/osgViewer/api/Win32/PixelBufferWin32, - src/osg/GraphicsThread.cpp, src/osgViewer/PixelBufferWin32.cpp: - From Colin McDonald, "Attached is an updated to - osgViewer::PixelBufferWin32. - - The win32 pbuffer implementation returned an error unless both - the - WGL_ARB_pbuffer and the WGL_ARB_render_texture functions were - present. - This was too restrictive, as a pbuffer can usefully be created - without - render-to-texture, e.g. for use with glReadPixels. The osg - 1.2/Producer - pbuffers worked without RTT, and osgUtil::RenderStage has all the - code to - handle both RTT and non-RTT pbuffers, doing a read and copy in - the - latter case. - - With these changes I have successfully tested the osgprerender - example - on a graphics card which supports RTT, and one which doesn't. - Plus - tested in my own application. - - In order to aid diagnostics I have also added more function - status - return checks, and associated error messages. I have included the - win32 - error text in all error messages output. And there were some - errors - with multi-threaded handling of "bind to texture" and a temporary - window - context which I have corrected. - - These is one (pre-existing) problem with multi-threaded use of - pbuffers - in osgViewer & osgprerender, which I have not been able to fix. A - win32 - device context (HDC) can only be destroyed from the thread that - created - it. The pbuffers for pre-render cameras are created in - osgUtil::RenderStage::runCameraSetUp, from the draw thread. But - closeImplementation is normally invoked from the destructor in - the main - application thread. With the additional error messages I have - added, - osgprerender will now output a couple of warnings from - osgViewer::PixelBufferWin32::closeImplementation() at exit, after - running multi-threaded on windows. I think that is a good thing, - to - highlight the problem. I looked into fixing it in - osgViewer::Renderer & - osgUtil::RenderStage, but it was too involved for me. My own - application requirements are only single-threaded. - - Unrelated fix - an uninitialised variable in - osg::GraphicsThread::FlushDeletedGLObjectsOperation(). - " - -2008-03-04 16:22 robert - - * src/osgShadow/ShadowMap.cpp: From Wojciech Lewandowski, "Attached - is modified osgShadow::ShadowMap. I changed following things: - - 1: - Shadow map camera sets ABSOLUTE_RF_INHERIT_VIEWPOINT refernce - frame. - - 2: - Light Direction by matrix multiplications replaced with - transform3x3 multiplication. - - 3: - I made DebugingHUD functional by adding special draw callback. - Former version was simply drawing pale square. - - 4: - I was tempted to make 4 th change but decided to not do it. - Instead I put it whith #if VIEW_DEPNDENT_TEXGEN. If you decide - you may let it go. - - When objects are not centered at 0,0,0 coord but in some distant - location (for example at surface of earth ellipsoid) shadow - texgen suffers from inadequate precision of float matrices. I - changed that by premultiplying Texgen matrix (using OSG double - matrices) with inverse modelview and applying it later with - ModelView identity matrix. This tweak may be appropriate for - OverlayNode texgen as well. - - I left former version because I suspect that this change will - make osgShadow::ShadowMap view dependant. Currently texgen matrix - remains the same no matter what View displays it. With my change - it wuld be different for each view. This touches the subject of - View Dependent Shadow Techniques that J-S asked recently." - -2008-03-04 16:03 robert - - * src/osgUtil/CullVisitor.cpp: Refactored the way that the camera - settings are inhertied - -2008-03-04 15:29 robert - - * src/osg/FrameBufferObject.cpp: From Art Trevs, "in the current - implementation of the FrameBufferObject - there is a bug. The header file do specify something - like this: - - FrameBufferAttachment(Texture3D* target, int zoffset, - int level = 0); - - However in the .cpp file we have: - - FrameBufferAttachment::FrameBufferAttachment(Texture3D* - target, int level, int zoffset) - - - Which means that the meaning of level and zoffset is - interchanged. - - The file with the corrected line is attached. Should - go into src/osg/ - " - -2008-03-04 15:10 robert - - * src/osgDB/FileNameUtils.cpp: From Philip Lowman, "A missing - _WIN32_WINNT declaration causes MinGW compilation to fail when - reaching FileNameUtils.cpp and the Windows 2000 function - GetLongPathName() is called." - -2008-03-04 14:19 robert - - * examples/osgpick/osgpick.cpp: From Jean-Sebastien Guay and Robert - Osfield, added optional --CompositeViewer path into osgpick to - illustrate how to do picking in both viewers and as unit test for - picking. - -2008-03-04 14:04 robert - - * include/osg/Shader, include/osgDB/Input, include/osgDB/Output, - include/osgDB/ReadFile, include/osgDB/ReaderWriter, - include/osgDB/Registry, include/osgDB/WriteFile, - src/osg/Shader.cpp, src/osgDB/Input.cpp, src/osgDB/Output.cpp, - src/osgDB/ReadFile.cpp, src/osgDB/ReaderWriter.cpp, - src/osgDB/Registry.cpp, src/osgDB/WriteFile.cpp, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/glsl, - src/osgPlugins/glsl/CMakeLists.txt, - src/osgPlugins/glsl/ReaderWriterGLSL.cpp, - src/osgPlugins/osg/Shader.cpp, src/osgWrappers/osg/Shader.cpp, - src/osgWrappers/osgDB/Input.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgDB/Registry.cpp: From Art Trevs, add support - for saving external shader files. - From Robert Osfield, adding missing member variable initializes - and Output::getShaderFileNameForOutput() implementation - -2008-03-04 13:30 robert - - * examples/CMakeLists.txt, examples/osgthirdpersonview, - examples/osgthirdpersonview/CMakeLists.txt, - examples/osgthirdpersonview/osgthirdpersonview.cpp: From Paul - Martz, a third person view CompositeViewer example - -2008-03-04 11:53 robert - - * include/osg/Camera, src/osg/Camera.cpp, - src/osgWrappers/osg/Camera.cpp: Change the setViewAsLookAt method - to use Vec3d rather than Vec3 for better precision - -2008-03-04 11:52 robert - - * src/osgFX/MultiTextureControl.cpp: Changed the updateStateSet - code so that it creates a new StateSet each update - rather than clear and reuse the existing one, this change fixes a - threading - issue that occured when the viewer is in DrawThreadPerContext. +Thu, 12 May 2011 18:40:18 +0000 +Checked in by : Robert Osfield +Added newline to end of file -2008-03-04 11:50 robert +Thu, 12 May 2011 14:07:15 +0000 +Checked in by : Robert Osfield +From Sukender, ported across to use the new osgDB::ExternalFileWriter - * examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp: - Removed single threaded setting +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. -2008-03-03 18:12 robert +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." - * examples/osgmultitexturecontrol/CMakeLists.txt, - examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp: - Implemented fade between layers using MultiTextureControl node +Thu, 12 May 2011 13:08:02 +0000 +Checked in by : Robert Osfield +Removed unused parameter -2008-03-03 14:17 robert +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." - * examples/CMakeLists.txt, examples/osgmultitexturecontrol, - examples/osgmultitexturecontrol/CMakeLists.txt, - examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp: Added - beginings of new osgmultitexturecontrol example -2008-03-01 13:42 robert - * src/osgWrappers/osg/Camera.cpp: Updated wrappers +Thu, 12 May 2011 11:45:29 +0000 +Checked in by : Robert Osfield +From Rene Molenaar, "I have found a problem regarding manifest in the plugins, see http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/src/CMakeLists.txt the option OSG_MSVC_GENERATE_PLUGINS_AND_WRAPPERS_MANIFESTS is set to ON only after the subdirectories are added, this causes /MANIFEST:NO while the option is ON after the first configure, generate.if this option is moved (i.e. above the ADD_SUBDIRECTORY statement) results are as expected. -2008-03-01 13:40 robert +attached you will find the correct CMakeLists.txt +" - * include/osg/Camera: Added OSG_EXPORT -2008-03-01 12:50 robert - * include/osg/Camera: Fixed typo +Thu, 12 May 2011 10:28:47 +0000 +Checked in by : Robert Osfield +Removed redundent method -2008-03-01 12:29 robert +Thu, 12 May 2011 10:10:49 +0000 +Checked in by : Robert Osfield +Added setting of size. - * examples/osghud/osghud.cpp: Fixed naming +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. -2008-02-29 16:09 robert - * src/osg/GraphicsContext.cpp: Disabled the resizing of Camera's - with FBO's -2008-02-29 15:25 robert - * examples/osghud/osghud.cpp, include/osg/Camera, - include/osg/RenderInfo, src/osg/Camera.cpp, - src/osgUtil/RenderStage.cpp, src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/Matrixd.cpp, src/osgWrappers/osg/Matrixf.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Added - Camera::g/setIntialDrawCallback and g/setFinalDrawCallback(), and - added - screen snapshot example code to osghud. +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. -2008-02-28 20:02 robert - * applications/osgviewer/osgviewer.cpp, - include/osgViewer/ViewerEventHandlers, - src/osgViewer/ViewerEventHandlers.cpp: Added LODScaleHandler - -2008-02-28 18:08 robert - - * src/osgDB/DatabasePager.cpp: Added OSG_EXPIRY_DELAY env var - option. - -2008-02-28 17:59 robert - - * src/osgViewer/Renderer.cpp: Moved the delete operations to before - of the compile operations to ensure that - delete operations don't get pushed out by allocations - -2008-02-28 10:56 robert - - * examples/osgvolume/osgvolume.cpp: From He Sicong, "fixed shader - calculation of ray tracing" - -2008-02-27 12:11 robert - - * src/osgPlugins/ive/IveVersion.h, - src/osgPlugins/ive/LightPointNode.cpp, - src/osgPlugins/osgSim/IO_LightPointNode.cpp: From Wojciech - Lewandowski and Robert Osfield, Support from - LightPointNode::s/getPointSprite parameter. - -2008-02-27 11:46 robert - - * include/osg/Matrixd, include/osg/Matrixf: From Paul Martz, "Per - the discussion in osg-users, this change adds code comments to - the Matrix* headers to document assumptions in the getRotate() - method." - -2008-02-27 11:43 robert - - * examples/osgocclusionquery/osgocclusionquery.cpp, - include/osg/OcclusionQueryNode, src/osg/OcclusionQueryNode.cpp, - src/osgWrappers/osg/OcclusionQueryNode.cpp: From Paul Martz, - fixed get/set methods API - -2008-02-27 11:43 robert - - * src/osgPlugins/net/ReaderWriterNET.cpp: Added debug message to - track cache usage - -2008-02-25 17:30 robert - - * src/osgViewer/GraphicsWindowX11.cpp: From Melchior Franz, fixed - handling of modified keys when entering/leaving window - -2008-02-25 16:50 robert - - * include/osgViewer/api/X11/GraphicsWindowX11, - src/osgViewer/GraphicsWindowX11.cpp: From Franz Melchior, "When - switching virtual desktops or minimizing a window, keys - remain in pressed state after revealing, even if they are no - longer pressed on the keyboard. This can have bad effects, - especially if the stuck keys are modifier keys. One has to - press and release the stuck keys again to reset the wrong state. - - The fix keeps track of all key presses and releases. On FocusOut - and UnmapNotify it releases all keys that are in pressed state, - and on KeymapNotify (following a FocusIn), it sets the currently - pressed keys again. To avoid confusion in the OSG-using - application - normal keys are always reported released /before/ and pressed - /after/ modifier keys. - - As current key states are returned as char[32] keymap by - XQueryKeymap and XKeymapEvent, this format is also used to - recognize modifier keys and for maintaining the current - internal key state. Functions to set/clear/query bits in - such a keymap are added. - - The patch was extensively tested with osgkeyboard and - FlightGear under KDE and fvwm2. It was not tested on a - Xinerama setup or with multiple windows, but as _eventDisplay - is used throughout, there should be no problems. The patch also - makes the following changes: - - - removes old and obsolete handling of modifier keys in - ::adaptKey(). - This wasn't only unused, but also wrong (and for that reason - commented - out in revision 7066). The modifier states are actually handled - in ./src/osgGA/EventQueue.cpp (EventQueue::keyPress/keyRelease). - - fixes some spelling" - -2008-02-25 16:26 robert - - * include/osgIntrospection/CustomAttributeProvider, - include/osgIntrospection/PropertyInfo, - include/osgIntrospection/Reflection, - include/osgIntrospection/Type, - src/osgIntrospection/Reflection.cpp, - src/osgIntrospection/Type.cpp: From Emmanuel Roche, "I'm joining - two zip files to this mail for the modified sources and include - files of osgIntrospection. - - The modifications I made are very small but they are absolutely - usefull to use osgIntrospection with visual studio 7.1 or 8 in - debug modes. - This should also solve other minor common problems (converter - memory leak, virtual destructor for PropertyInfo, etc...). - - I choosed two function names : Reflection::uninitialize() and - Type::reset(), this can of course be changed if someone has a - better idea... - - I made the changes against OSG 2.2.0 public release. I tested the - result with VS 7.1, VS 7.1 SP1, VS 8.0 SP1 and AQTime 5.0 on - Windows XP SP2... All 4 seem to agree : they detected memory - leaks before and don't anymore. - - Sorry I haven't take the time to test that on linux but the - changes are so small I doubt there could be a problem... I let - you check that on your side :-). - - I hope this will help making OSG an even more wonderfull - library." - -2008-02-25 16:05 robert - - * include/osgViewer/api/Carbon/GraphicsWindowCarbon, - src/osgViewer/GraphicsWindowCarbon.cpp: From Stephan Huber, "I - missed a refactoring of the handling of modifier-keys, so they - did not - work on OS X. Attached you'll find the missing implementation for - OS X." - -2008-02-25 15:09 robert - - * src/osgPlugins/osg/StateSet.cpp: From Paul Martz, "This change - adds "GL_NORMALIZE" and "GL_RESCALE_NORMAL" to .osg IO in place - of the hex equivalents." - -2008-02-25 15:08 robert - - * src/osgWrappers/osg/Plane.cpp, src/osgWrappers/osg/ProxyNode.cpp, - src/osgWrappers/osgManipulator/Dragger.cpp: Updated wrappers - -2008-02-25 15:07 robert - - * include/osg/ProxyNode, src/osg/ProxyNode.cpp, - src/osgPlugins/osg/ProxyNode.cpp: From Robert Osfield and Carlo - Camporesi, took submission from Carlo for adding - LoadingExternalReferenceMode to ProxyNode and extended it - to include a wider range of options, also completed - implementation - -2008-02-25 14:27 robert - - * include/osgManipulator/Dragger: Changed method parameter to use - const & - -2008-02-25 14:15 robert - - * include/osg/Plane, src/osgSim/OverlayNode.cpp: From Wojciech - Lewandowski, "----1---- - - Attached is a fixed version of OverlayNode.cpp. I fixed - CustomPolytope::cut( osg::Plane ) method. Bug was apparent in - such scenario: - - Let P1 be some random frustum polytope - Let P2 be the polytope that was created from P1 bounding box (P2 - contains P1 entirely) - - Then ignoring precision errors: P1.cut( P2 ) == P2.cut( P1 ) == - P1. But this condition was not always met. Cut failed when some - of the polytope reference points happened to lie exactly on some - intersecting planes in both P1 & P2 (plane distance was = 0). - - I only use CustomPolytope for my shadowing stuff so I did not - test how this affects rest of OverlayNode.cpp. - - ----2---- - - Also attached is a minor precision improvement for osg::Plane - intersect method (double version). - - ----3---- - - I have also one observation regarding osg::Plane - There are two - intersect vertices methods (float and double flavour): - - inline int intersect(const std::vector& vertices) const - inline int intersect(const std::vector& vertices) const - - I guess osg::Plane won't compile when someone changes default - vec3 typedef to vec3d. Shouldn't the first method be changed to - use vec3f explicitly ? Ie: - - inline int intersect(const std::vector& vertices) const" - -2008-02-25 13:25 robert - - * src/osgPlugins/bmp/ReaderWriterBMP.cpp, - src/osgPlugins/gif/ReaderWriterGIF.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/pic/ReaderWriterPIC.cpp, - src/osgPlugins/png/ReaderWriterPNG.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp, - src/osgPlugins/tga/ReaderWriterTGA.cpp, - src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Glenn Waldron, "As - you may recall, we discussed adding ReaderWriter::readObject() - overrides to all the image plugins in order to facilitate future - archive support. Attached are the necessary modifications. I - tested JPEG, but not all the others... the code is identical - though. Note that the DDS plugin already contained the - readObject() implementations." - -2008-02-25 13:17 robert - - * include/osg/CoordinateSystemNode: From Wojciech Lawandowski, - "Fixed EllipsoidModel::computeLocalUpVector to use Vec3d instead - of Vec3 for - normal computation. Its really small issue, maybe not even worth - submitting - ;-). But one never knows when inadequate precision hits him. - " - -2008-02-25 13:16 robert - - * src/osgWrappers/osgText/Font.cpp, - src/osgWrappers/osgText/Font3D.cpp: Updated wrappers - -2008-02-25 13:07 robert - - * examples/osgtext/osgtext.cpp: Reverted back to previous version - of osgtext - -2008-02-25 12:54 robert - - * examples/osgtext/osgtext.cpp, include/osgText/Font, - include/osgText/Font3D, src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h, - src/osgPlugins/freetype/FreeTypeLibrary.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.h, src/osgText/Font.cpp, - src/osgText/Font3D.cpp, src/osgText/Text3D.cpp: Refactored the - mutex usage in osgText and freetype plugin to prevent - multi-thread crash - -2008-02-22 18:38 robert - - * include/osg/GLExtensions, - include/osgViewer/api/X11/PixelBufferX11, - src/osg/GLExtensions.cpp, src/osgViewer/PixelBufferX11.cpp: From - Mathias Froehlich, "I have extended the X11 pbuffer code to use - either the complete set of glx 1.3 - pbuffer functions or exactly ask for the extensions we need to - call the - apropriate glx extension functions for and around pbuffers - extensions. - The glx 1.3 version of this functios are prefered. If this is not - pressent we - are looking for the glx extensions and check for them. - Prevously we just used some mix of the glx 1.3 functions or the - extension - functions without making sure that this extension is present. - " - -2008-02-22 11:52 robert - - * examples/osgterrain/osgterrain.cpp, include/osg/TransferFunction, - include/osgTerrain/GeometryTechnique, include/osgTerrain/Layer, - include/osgTerrain/Terrain, src/osg/TransferFunction.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/Layer.cpp, src/osgPlugins/ive/Terrain.cpp, - src/osgPlugins/osgTerrain/Layer.cpp, - src/osgPlugins/osgTerrain/Terrain.cpp, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Layer.cpp, - src/osgTerrain/Terrain.cpp, src/osgTerrain/TerrainTechnique.cpp, - src/osgWrappers/osg/TransferFunction.cpp, - src/osgWrappers/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/osgTerrain/Layer.cpp, - src/osgWrappers/osgTerrain/Terrain.cpp: Refactored osgTerrain so - that the interface for setting up layer is more straight forward, - and added support into GeometryTechnique for handling multiple - layers - -2008-02-20 12:34 robert - - * include/osg/TransferFunction, include/osgTerrain/Layer, - src/osg/TransferFunction.cpp, src/osgPlugins/ive/IveVersion.h, - src/osgPlugins/ive/Layer.cpp, - src/osgPlugins/osgTerrain/Layer.cpp, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Layer.cpp, - src/osgWrappers/osg/TransferFunction.cpp, - src/osgWrappers/osgTerrain/Layer.cpp: Added TextureUnit entry to - osg::TransferFunction and osgTerrain::Layer - -2008-02-19 16:02 robert - - * src/osgParticle/ParticleSystem.cpp: Removed erroneous ; - -2008-02-19 12:26 robert - - * src/osg/GraphicsContext.cpp: Changed the updating of the - contextID so that the - DisplaySetting::MaxNumberOfGrapicsContexts() - is updated on each new graphics context creation, in keeping with - how osgProducer used to do things. - -2008-02-19 11:30 robert - - * src/osgParticle/ParticleSystem.cpp: Refactor the rendering code - to not use iterators, instead using indices as means of avoiding - using < and += on STL iterators that have shown to be problematic - under Windows - -2008-02-19 09:49 robert - - * examples/osgtext/osgtext.cpp: From Philip Lowman, workaround for - gcc 3.2.3 bug - -2008-02-18 15:30 robert - - * include/osgViewer/api/Carbon/GraphicsWindowCarbon, - src/osgViewer/GraphicsWindowCarbon.cpp: From Stephan Huber, - "Attached you'll find some enhancements by Adrian Egli and me for - the - carbon-implementation of GraphicsWindow. Now you can use an - AGLDrawable - in conjunction with osgViewer/osgCompositeViewer." - - Changes from Robert Osfield, changed std::cout to - osg::notify(osg::INFO) - -2008-02-18 15:26 robert - - * CMakeLists.txt, CMakeModules/OsgMacroUtils.cmake, - src/osgWrappers/CMakeLists.txt: From Rene Molenaar, "Using - commandline build system nmake on windows does not work. - - This is caused by the OSG_MSVC_VERSIONED_DLL hack. - there are hard-coded paths to place the dll's in the bin /dir - that normally would go - in the lib/config (release/debug) dirs. Nmake has different - locations for the files (no config dir). - - fix: change the macro's in OsgMacroUtils.cmake for the IF(NOT - MSVC_IDE) situation. - Libs go in lib/, and DLLs and executables go in bin/ - To accopmplish this for MSVC_IDE the targets get a "../../bin" - prefix, - for nmake this should be "../bin" (because there are no config - folders). - - This fix mimics the behaviour of the MSCV_IDE (visual studio) - build system when building with nmake. - - Note: - A change in the main CMakeLists.txt creates the needed plugin - directory in the binary dir. - - see included files for the changes: - r7885fix-v2/CMakeModules/OsgMacroUtils.cmake - r7885fix-v2/osgWrappers/CMakeLists.txt - r7885fix-v2/CMakeLists.txt - - - The behaviour of visual studio projects (and other build systems) - remain unchanged. - Tested building and installing with nmake and visual studio 8 - debug and release. - " - -2008-02-18 15:17 robert - - * src/osgPlugins/obj/obj.cpp: From Bob Kuehne, "Subject: obj - material parse fix - this fix strips whitespace off externally referenced material - files. - fixes a bug where the obj listed something like: - - mtllib FR_PARIS_ESPACE_UNESCO_S.MTL - - and then that caused failures in the load later: - - FindFileInPath() : trying /Users/rpk/Downloads/ - FR_PARIS_ESPACE_UNESCO_S.MTL ... - - this fix simply strips whitespace around that filename before - passing - it on to the remainder of the loader." - - Changes from Robert Osfield, change std::cout to - osg::notify(osg::INFO) - -2008-02-18 15:10 robert - - * src/osgPlugins/freetype/FreeTypeLibrary.cpp: From Thibault - Genessay, "On Dec 16 you introduced a fix to remove internal use - of ref_ptr<>'s. - It contained a bug that would cause freed memory to be written - again. - Specifically, in FreeTypeLibrary::~FreeTypeLibrary(), calling - font->setImplementation(0); deletes the content pointed to by the - fontImplementation pointer, while the line the immediately - follows - tries to access it. - - My fix is to make the second instruction part of an else clause - rather - than always executed. This way, the fontImplementation->_facade = - 0 - instruction is only executed when the font implementation is not - set - to 0 before (although I have no idea what it is here for and if - this - code path is ever followed, since I don't know the plugin's - internals - very well). - - Attached is the modified FreeTypeLibrary.cpp file." - -2008-02-18 15:02 robert - - * src/osgWrappers/osg/LineSegment.cpp, - src/osgWrappers/osgManipulator/Command.cpp, - src/osgWrappers/osgManipulator/Projector.cpp: Updated wrappers - -2008-02-18 14:51 robert - - * include/osg/LineSegment, include/osgManipulator/Command, - include/osgManipulator/Projector, src/osg/LineSegment.cpp, - src/osgManipulator/Command.cpp, src/osgManipulator/Projector.cpp: - Introduced typedef vec_type and value_type into LineSemgment - class to allow easier - switching between double and float versions. - -2008-02-18 14:14 robert - - * src/osgPlugins/dae/daeWMaterials.cpp: From Bob Kuehne, build fix - for OSX/gcc 4.0.1 - -2008-02-18 13:52 robert - - * src/osgPlugins/OpenFlight/ControlRecords.cpp: From Brede - Johansen, "Here's a fix to the changes regarding the new - dispose() function. The - last primary node inside a push-pop level would not get the - dispose() - call. This would result in information from some ancillary - records, - like the matrix (transform), being lost. - - Changes are made to the latest version in the repository. - - Thanks to Terry for the help to find and fix the bug and test the - changes." - -2008-02-18 13:47 robert - - * src/osgViewer/Renderer.cpp: From Bryan Thrall, "moved the prints - to a higher notify level - (DEBUG_FP) so they are only printed at the most verbose level." - -2008-02-18 13:44 robert - * src/osg/OcclusionQueryNode.cpp: From Paul Martz, "Attached is a - modification to OcclusionQueryNode. The copy constructor was - failing to initialize all member variables. This change resolves - the issue. Thanks to Doug McCorkle for testing and finding the - bug." -2008-02-15 14:09 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. - * include/osg/PrimitiveSet, src/osgWrappers/osg/PrimitiveSet.cpp: - Changed constructors to take const pointers -2008-01-29 22:14 robert - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Update - AUTHORS list for release -2008-01-29 21:34 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. - * ChangeLog: Updated logs for release -2008-01-29 20:45 robert - * src/osgWrappers/osgViewer/View.cpp: Updated wrappers -2008-01-29 12:24 robert +Mon, 9 May 2011 10:52:34 +0000 +Checked in by : Robert Osfield +Fixed 6 Coverity reported issues.CID 11820: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _azAngle is not initialized in this constructor nor in any functions that it calls. +Non-static class member _elevAngle is not initialized in this constructor nor in any functions that it calls. - * src/osg/OcclusionQueryNode.cpp: Reorganized the static vector - used for buffering extensions to prevent an crash on exit. +CID 11819: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _BoundaryAngle is not initialized in this constructor nor in any functions that it calls. +Non-static class member _planeOrientation is not initialized in this constructor nor in any functions that it calls. -2008-01-29 10:28 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. - * CMakeLists.txt, README.txt, include/osg/Version: Updated versions - for OSG-2.3.4 release +CID 11817: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _distance is not initialized in this constructor nor in any functions that it calls. -2008-01-28 20:54 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. - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Mike Weiblen, "1) - best practices suggest that values passed by-reference should be - initialized. - 2) explanatory comments are handy when available as notify() - messages." +CID 11816: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _leftRightSurfaces is not initialized in this constructor nor in any functions that it calls. -2008-01-28 20:52 robert - * examples/osglogo/osglogo.cpp: From Mike Weiblen, "an aesthetic - enhancement for displaying important version information." -2008-01-28 20:31 robert - * src/osgPlugins/cfg/Camera.cpp: From Roger James, "A small fix for - compiling with OSG_USE_FLOAT_MATRIX" +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. -2008-01-28 20:27 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. - * applications/osgarchive/osgarchive.cpp: From Rainer Oder, removed - duplicate conditional -2008-01-28 19:54 robert - * CMakeLists.txt: Fixed BUILD_REF_DOCS_SEARCHENGINE conditional -2008-01-28 19:42 robert +Sun, 8 May 2011 12:06:25 +0000 +Checked in by : Robert Osfield +Updated version number to 2.9.15 after dev release - * src/osgViewer/View.cpp: Added explict casts to double to prevent - VS compiler error +Sun, 8 May 2011 11:57:53 +0000 +Checked in by : Robert Osfield +Updated AUTHORS for 2.9.14 dev release -2008-01-28 18:29 robert +Sun, 8 May 2011 11:56:23 +0000 +Checked in by : Robert Osfield +Update ChangeLog - * CMakeLists.txt, doc/Doxyfiles/doxyfile.cmake: From - Jean-Christophe Lombardo and Robert Osfield, added - BUILD_REF_DOCS_SEARCHENGINE and BUILD_REF_DOCS_TAGFILE options - for being - doxygen docs. +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(). -2008-01-28 17:00 robert +Fri, 6 May 2011 12:32:23 +0000 +Checked in by : Robert Osfield +Removed trailing spaces - * src/osgPlugins/osga/ReaderWriterOSGA.cpp: From Glen Waldon, "This - change patches ReaderWriterOSGA.cpp so that it passes along the - ReaderWriter::Options to files loaded from inside the archive. - Previously it was discarding them. - - example: - osgviewer -O noLoadExternalReferenceFiles archive.osga" +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. -2008-01-28 16:38 robert - * src/osgViewer/GraphicsWindowCarbon.cpp: From Stephan Huber, added - support for double click event for OSX. -2008-01-28 16:13 robert - * src/osgPlugins/ogr/ReaderWriterOGR.cpp: From Cedric Pinson, - "default white behaviour : osgviewerd -e ogr yourFile - randomize color by feature: osgviewerd -e ogr -O - UseRandomColorByFeature - yourFile" +Fri, 6 May 2011 12:30:21 +0000 +Checked in by : Robert Osfield +Moved constructor implementation into .cpp -2008-01-28 15:41 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. - * include/osgViewer/View, src/osgPlugins/osgViewer/View.cpp, - src/osgViewer/View.cpp: Added projectorMatrix parameter support - to *SphericalDisplay setup functions and .view, this allows one - to flip, rotate, or turn up side the position of the projector. - Note, projector at base of display is the default. -2008-01-28 15:36 robert - * src/osgViewer/ViewerBase.cpp: Added include RenderLeaf to make - sure #define's are defined correctly -2008-01-26 20:03 shuber +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. - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project -2008-01-24 10:04 robert - * src/osg/DeleteHandler.cpp: Removed duplicate declaration of - DeleteHandlerPointer -2008-01-22 11:13 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. - * AUTHORS.txt, ChangeLog, README.txt, - applications/osgversion/osgversion.cpp: Updated ChangeLog, - Authors and readme for 2.3.3 release -2008-01-22 10:28 robert - * src/osgTerrain/GeometryTechnique.cpp: Added missing checks for - null pointers -2008-01-21 18:06 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. - * PlatformSpecifics/Windows/VisualStudio_Syntax_Highlighting.txt: - From Jean-Sebastien Guay, notes on how to enable syntax - highlighting in VS. -2008-01-21 17:04 robert - * CMakeModules/FindInventor.cmake: Fixed debug build of Inventor - plugin -2008-01-21 14:42 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. - * src/osgPlugins/ac/ac3d.cpp: From Drederic Bouvier, "I noticed the - AC3D loader resets database path given as Options, - preventing users to put textures in another directory. This patch - adds - the model path to the path list instead of replacing it." +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. -2008-01-21 14:41 robert - * CMakeLists.txt: Introduced BUILD_REFERENCE_DOCS option to make it - a bit clearer how to enable and build the DoxygenDocs -2008-01-21 12:01 robert - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/ogr, - src/osgPlugins/ogr/CMakeLists.txt, - src/osgPlugins/ogr/ReaderWriterOGR.cpp: From Cedric Pinson, "you - can find as attachement a readerwriter for ogr files (.tab, .gml, - .shp ...) ogr is a part of gdal so i added the build of ogr - plugin if - gdal is found. - - to test it - osgviewerd -e ogr file.tab - or - osgviewerd -e ogr file.gml - or - osgviewerd -e ogr file.shp - " +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. -2008-01-21 12:00 robert - * src/osg/Geometry.cpp: Fixed Geometry::removePrimitiveSet method - so that it no longer emits a warning when - removing 0 elements form an empty primtive set list. -2008-01-21 11:47 robert - * src/osg/CMakeLists.txt, src/osg/GL2Extensions.cpp, - src/osg/Program.cpp: From Mike Weiblen, restructured - GL2Extensions so that they now live in their own - GL2Extensions.cpp file rather than in Program.cpp +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. -2008-01-21 11:40 robert - * CMakeLists.txt, include/osg/Version: Updated version number for - 2.3.3 release -2008-01-21 11:39 robert - * src/osgWrappers/osg/Drawable.cpp: Updated wrappers +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. -2008-01-21 11:37 robert - * src/osgDB/DatabasePager.cpp: Fixed debugged code path and set the - minimum number of display lists to retain in cache to the same - amount as the number of textures -2008-01-21 11:36 robert - * include/osg/Drawable, src/osg/BufferObject.cpp, - src/osg/Drawable.cpp, src/osg/GLObjects.cpp: Removed redundental - vertex buffer object flush methods +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. -2008-01-21 11:27 robert - * PlatformSpecifics, PlatformSpecifics/Windows, - PlatformSpecifics/Windows/collect_mangled_names.bat, - PlatformSpecifics/Windows/collect_mangled_names.js, - PlatformSpecifics/Windows/icons, - PlatformSpecifics/Windows/osgShell.bat, VisualStudio: Moved - useful elements of the old VisualStudio directory into a new - PlatformSpecifics/Windows directory -2008-01-19 18:26 robert - * src/osg/Referenced.cpp: Added thread safe debugging checking of - allocation/deallocations +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. -2008-01-19 18:25 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. - * src/osgTerrain/GeometryTechnique.cpp: Added use of ref_ptr<> - throughout geometry setup code to prevent memory leaks -2008-01-19 13:41 robert - * src/osgDB/DatabasePager.cpp: Added debugging messages to help - monitor expiry of inactive children. Debug - messages current #if 0'd out, but added now for future tests when - required. -2008-01-19 13:31 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. - * src/osgTerrain/Terrain.cpp: Disabled the default enabling of - update traversal on osgTerrain::Terrain as this was preventing - PagedLOD subgraphs from expiring inactive subgraphs +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. -2008-01-18 21:29 robert - * src/osgWrappers/osg/OperationThread.cpp: Updated wrappers -2008-01-18 21:08 robert - * src/osg/ClipNode.cpp: Removed erroneous const in method parameter +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. -2008-01-18 21:07 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. - * examples/osgdepthpeeling/DePee.cpp, - examples/osgdepthpeeling/Utility.cpp, - examples/osghangglide/GliderManipulator.cpp: From Andy Skinner, - build fixes for Solaris. +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. -2008-01-18 21:01 robert - * include/osg/ClipPlane: Moved the setting of _clipPlaneNum from - the {} body to the intializer list to - avoid reading from an unitialized variable. -2008-01-18 20:55 robert - * src/osgShadow/ShadowMap.cpp: From Paul Martz, Hi Robert -- "as - you and J-S and I have been discussing on osg-users, this - submission changes the clamp mode for the fake white texture - applied to non-textured geometry. CLAMP_TO_EDGE will keep the - geometry a consistent color across the entire texture coordinate - range." +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] -2008-01-18 16:36 robert +"_dwobj::~_dwobj()" uses delete on "obj.fc1" which is an array. It should be deleted with operator delete[]. [show details] - * src/osgTerrain/GeometryTechnique.cpp: Added support for rendering - skirts into osgTerrain::GeometryTechinque -2008-01-18 09:17 robert - * include/osg/OperationThread: Added getNumOperationsInQueue() - method -2008-01-17 22:26 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. - * src/osgTerrain/GeometryTechnique.cpp: Commented out debug message +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. -2008-01-17 22:25 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. - * src/osgTerrain/GeometryTechnique.cpp: Added computation of skirt - height for osgTerrain::Terrain height fields. +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. -2008-01-17 17:10 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. - * src/osgTerrain/Terrain.cpp: Added call to ClusterCullingCallback - to determine if the Terrain node is culled - by cluster culling. +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. -2008-01-17 16:41 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. - * src/osgPlugins/osgTerrain/Terrain.cpp: Added Node to Terrain - serialization +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. -2008-01-17 15:37 robert - * include/osgTerrain/Layer, src/osgTerrain/Layer.cpp, - src/osgTerrain/Terrain.cpp, src/osgWrappers/osgTerrain/Layer.cpp: - Fixed the computation of terrain bounding volume so that it - properly accounts for - elevation layers -2008-01-16 15:05 robert - * src/osgTerrain/GeometryTechnique.cpp: Changed the Texture clamp - mode to CLAMP_TO_EDGE +Fri, 6 May 2011 09:26:14 +0000 +Checked in by : Robert Osfield +Updated SO version number for dev release -2008-01-14 14:53 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. - * src/osgWrappers/osgTerrain/Layer.cpp: Updated wrappers -2008-01-14 14:53 robert - * include/osgTerrain/Layer, src/osgPlugins/gdal/DataSetLayer.cpp, - src/osgPlugins/gdal/DataSetLayer.h, - src/osgPlugins/osgTerrain/CompositeLayer.cpp, - src/osgPlugins/osgTerrain/Terrain.cpp, src/osgTerrain/Layer.cpp: - Refactor osgTerrain::ProxyLayer so that it is now a pure Proxy, - defering implementations - to an Implementation rather than a subclass of ProxyLayer. - Updating the osgTerrain and GDAL plugins - to comply with this refactor. -2008-01-14 13:14 robert +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. - * CMakeModules/FindGDAL.cmake: Added back in checks for various - verions of gdal +CID 12262: Missing break in switch (MISSING_BREAK) +This case (value 7) is not terminated by a 'break' statement. -2008-01-14 12:14 robert +CID 12261: Missing break in switch (MISSING_BREAK) +This case (value 6) is not terminated by a 'break' statement. - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - AUTHORS file and osgversion for 2.3.2 release -2008-01-14 11:44 robert - * src/osg/Program.cpp: Added geometry shader extension supported - check to geometry shader parameter calls -2008-01-14 11:30 robert +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. - * src/osg/State.cpp: From Colin McDonald, "Multi-texturing fails - with recent osg on older graphics cards, due to - use of parameter GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS which is - only part - of the standard from 2.0 onwards. I've updated src/osg/State.cpp, - so - that it attempts to be more rigorous regarding OpenGL version and - extension checking." +CID 10454: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _maxIndex is not initialized in this constructor nor in any functions that it calls. +Non-static class member _minIndex is not initialized in this constructor nor in any functions that it calls. -2008-01-14 11:22 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. - * CMakeLists.txt, ChangeLog, README.txt, include/osg/Version: - Updated ChangeLog, date and version number for 2.6.2 release +CID 10919: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _maxIndex is not initialized in this constructor nor in any functions that it calls. +Non-static class member _minIndex is not initialized in this constructor nor in any functions that it calls. -2008-01-14 11:07 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. - * src/osgWrappers/osg/OcclusionQueryNode.cpp: Updated wrappers -2008-01-14 10:14 robert - * src/osg/Group.cpp: From Daniel Stien, "When removing a child from - a osg::Group, childRemoved is called after the - node has already been erased from the node list, causing - childRemoved to be - performed on the consecutive node. - - Lines 180 and 182 are swapped in the attached Group.cpp. - " -2008-01-11 12:16 robert +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. - * src/osgGA/TerrainManipulator.cpp: From Adrian Egli, made the - getHandled() functionality consistent with the rest of the - osgGA::MatrixManipulators -2008-01-10 11:08 robert - * include/osgUtil/ReversePrimitiveFunctor: From Jean-Sebastien - Guay, added OSGUTIL_EXPORT for Windows build -2008-01-10 11:02 robert +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. - * include/osg/OcclusionQueryNode, src/osg/GLObjects.cpp, - src/osg/OcclusionQueryNode.cpp: From Paul Martz, "his pretty much - wraps up the OcclusionQueryNode work. I might make some - additional modifications if testing reveals any issues, otherwise - it's ready for 2.4." +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. -2008-01-09 21:17 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. - * include/osg/CoordinateSystemNode, - src/osgPlugins/osgTerrain/CompositeLayer.cpp, - src/osgTerrain/GeometryTechnique.cpp: Indentation/bracket fixes - and change of default size +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. -2008-01-09 21:00 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. - * src/osgPlugins/ive/ImageLayer.cpp: Simplified the image - reading/writing -2008-01-09 16:56 robert - * src/osgPlugins/ive/HeightFieldLayer.cpp, - src/osgPlugins/ive/HeightFieldLayer.h: Adding missing files -2008-01-09 16:35 robert +Fri, 6 May 2011 09:00:46 +0000 +Checked in by : Robert Osfield +Fixed build problem - * src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/CompositeLayer.cpp, - src/osgPlugins/ive/CompositeLayer.h, - src/osgPlugins/ive/CoordinateSystemNode.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/ImageLayer.cpp, - src/osgPlugins/ive/ImageLayer.h, src/osgPlugins/ive/Layer.cpp, - src/osgPlugins/ive/Layer.h, src/osgPlugins/ive/Locator.cpp, - src/osgPlugins/ive/Locator.h, src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/ive/Terrain.cpp, src/osgPlugins/ive/Terrain.h: - Added support for reading and writing osgTerrain objects +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("");". -2008-01-09 14:22 robert - * src/osgViewer/CompositeViewer.cpp: Added setting of - UpdateVisitor's FrameStamp and TraversalNumber in - updateTraversal() -2008-01-09 11:42 robert - * include/osgDB/DatabasePager: From Mike Weiblen, build fix for - VS8. +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". -2008-01-08 23:20 ewing - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - Updates to resync Xcode project with current state of repository. - - Added several missing plugins (e.g. osgdb_osgShadow, - osgdb_osgViewer, osgdb_Terrain). - - Added dependency information hoping that the Xcode 3 parallel - target building will work now. -2008-01-08 18:13 robert - * CMakeModules/FindFreeType.cmake, include/osgDB/DatabasePager, - src/osg/Geometry.cpp, src/osg/GraphicsContext.cpp, - src/osgPlugins/Inventor/ConvertToInventor.cpp, - src/osgUtil/Tessellator.cpp: From Colin McDonald, build fixes for - Solaris. +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. -2008-01-08 17:18 robert - * include/osgUtil/EdgeCollector, - src/osgPlugins/freetype/FreeTypeFont.cpp: From Jean-Sebastien - Guay, Warning fixes -2008-01-08 16:09 robert - * src/osgPlugins/osgTerrain/HeightFieldLayer.cpp, - src/osgPlugins/osgTerrain/ImageLayer.cpp, - src/osgPlugins/osgTerrain/Terrain.cpp: Added support for reading - and writing the Terrain's Locator +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 -2008-01-08 15:20 robert - * src/osgPlugins/osgTerrain/HeightFieldLayer.cpp: Added writing and - reading of inlined HeightField -2008-01-08 14:38 robert - * include/osg/GL2Extensions, include/osg/Program, - include/osg/Shader, include/osg/Uniform, src/osg/Program.cpp, - src/osg/Shader.cpp, src/osg/Uniform.cpp: Removed non standard and - redundent /*EOF*/ +Thu, 5 May 2011 11:31:12 +0000 +Checked in by : Robert Osfield +Fixed warning -2008-01-08 14:37 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". - * src/osgWrappers/osg/GL2Extensions.cpp, - src/osgWrappers/osg/Program.cpp, src/osgWrappers/osg/Shader.cpp, - src/osgWrappers/osg/Uniform.cpp: Updated wrappers - -2008-01-08 14:29 robert - - * examples/CMakeLists.txt, examples/osggeometryshaders, - examples/osggeometryshaders/CMakeLists.txt, - examples/osggeometryshaders/osggeometryshaders.cpp, - include/osg/GL2Extensions, include/osg/Program, - include/osg/Shader, include/osg/Uniform, src/osg/Program.cpp, - src/osg/Shader.cpp, src/osg/Uniform.cpp: From Mike Weiblen, - support for geometry shaders, and osgeometryshaders example to - demonstrate them. - -2008-01-08 14:22 robert - - * examples/osgdepthpeeling/Utility.cpp, - examples/osgdepthpeeling/Utility.h: Fixed warning - -2008-01-08 13:56 robert - - * src/osgPlugins/osgTerrain/CompositeLayer.cpp, - src/osgPlugins/osgTerrain/Terrain.cpp: Added support for MinLevel - and MaxLevel for ProxyLayer - -2008-01-08 13:24 robert - - * include/osg/BufferObject, include/osg/Drawable, - include/osg/FragmentProgram, include/osg/FrameBufferObject, - include/osg/GLObjects, include/osg/Program, include/osg/Shader, - include/osg/Texture, include/osg/VertexProgram, - src/osg/BufferObject.cpp, src/osg/Drawable.cpp, - src/osg/FragmentProgram.cpp, src/osg/FrameBufferObject.cpp, - src/osg/GLObjects.cpp, src/osg/GraphicsContext.cpp, - src/osg/Program.cpp, src/osg/Shader.cpp, src/osg/Texture.cpp, - src/osg/VertexProgram.cpp, src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/Drawable.cpp, - src/osgWrappers/osg/FragmentProgram.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osg/Program.cpp, src/osgWrappers/osg/Shader.cpp, - src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osg/VertexProgram.cpp: Introduced new - osg::discardDeletedOpenGLObjects() methods, and usage of it in - GrpahicsContext::close() to handle cases where - deletingOpenGLObjects is no possible, - such as when GraphicsWindowEmbedded is used. - -2008-01-08 13:22 robert - - * src/osgPlugins/osgTerrain/CompositeLayer.cpp: Removed debug info - -2008-01-08 13:10 robert - - * src/osgPlugins/osgTerrain/CMakeLists.txt, - src/osgPlugins/osgTerrain/CompositeLayer.cpp, - src/osgPlugins/osgTerrain/HeightFieldLayer.cpp, - src/osgPlugins/osgTerrain/ImageLayer.cpp, - src/osgPlugins/osgTerrain/Layer.cpp, - src/osgPlugins/osgTerrain/Terrain.cpp: Reorganised the .osg - support for osgTerrain NodeKit to make it more extensible - -2008-01-07 09:47 robert - - * include/osgUtil/EdgeCollector: Added OSGUTIL_EXPORTs - -2008-01-06 17:53 robert - - * include/osgUtil/DrawElementTypeSimplifier: Added missing #include - -2008-01-06 10:52 robert - * include/osgUtil/DrawElementTypeSimplifier: Added exports for - Windows build - -2008-01-04 20:03 robert - - * README.txt: Fixed date - -2008-01-04 20:00 robert - - * CMakeModules/FindFreeType.cmake, CMakeModules/FindGDAL.cmake, - CMakeModules/FindGIFLIB.cmake, - CMakeModules/FindOpenThreads.cmake, - CMakeModules/FindQuickTime.cmake: From Eric Wing, "Attached are a - few Find modules with updates. Among other things, they - contain better support for environmental variables to pre-empt - the - autodection default search path order which is very helpful for - people - who do automated builds. (I recommend that the remaining modules - consider adding the same system to make things consistent and - easier - for those people that want to do the automated builds.) - - The CMAKE_PREFIX_PATH has also been added to help people. I don't - recommend adding this to the other modules because it looks like - CMake - agreed with my idea and will be adding the support in 2.6. So - when - that ships, people will get it for free. (In the meantime, my - modules - that do have it, it can be used.) - - Finally, I've submitted all of these modules to official CMake - plus - more so they will be in the next version of CMake. It looks like - I may - need to sort some compatibility issues out with the KDE people - who - seem to have conflicting modules, but this is unrelated to the - updates - submitted here as OSG already has these conflicts. I figured I - would - just sync OSG up with my current/best versions. - - Also of note, I added the large batch of Findosg*.cmake modules - to - CMake so people building against OpenSceneGraph can use these - without - writing their own. I wasn't sure if I should submit them here or - not - since they are for building against OSG and not for building OSG - itself. So they are not included. - " - -2008-01-04 15:33 robert - - * src/osg/Sequence.cpp: From Glenn Waldron, "I found that - osg::Sequence::setDuration(speed,reps) was not changing the - animation speed factor as expected. The one-line fix (line 312) - is attached" - -2008-01-04 15:30 robert - - * src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp: From Paul Martz, - "Correction to size of reserved filed in .attr file, Spec says - "149*4" bytes, not "149"" - -2008-01-04 15:15 robert - - * src/osgWrappers/osg/GraphicsContext.cpp: Updated wrappers - -2008-01-04 13:57 robert - - * include/osg/GraphicsContext, src/osg/GraphicsContext.cpp: Added - catch for handling cases where undefined settings for dislayNum - and screenNum are used - -2008-01-04 12:03 robert - - * README.txt: Updated data on readme - -2008-01-04 12:03 robert - - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - AUTHORS file for 2.3.1 release - -2008-01-04 11:45 robert - - * CMakeLists.txt, include/osg/Version: Updated version number for - 2.3.1 release - -2008-01-04 11:44 robert - - * ChangeLog: Updated logs for 2.3.1 releae - -2008-01-04 11:26 robert - - * src/osgPlugins/OpenFlight/ControlRecords.cpp, - src/osgPlugins/OpenFlight/Document.cpp, - src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/LightPointRecords.cpp, - src/osgPlugins/OpenFlight/PrimaryRecords.cpp, - src/osgPlugins/OpenFlight/Record.cpp, - src/osgPlugins/OpenFlight/Record.h, - src/osgPlugins/OpenFlight/RoadRecords.cpp: From Brede Johansen, - support for contiuation records. - -2008-01-04 11:14 robert - - * src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/OcclusionQueryNode.cpp, - src/osgPlugins/ive/OcclusionQueryNode.h, - src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/osg/OcclusionQueryNode.cpp: From Paul Martz, - completion of .ive and .osg support for OcclusionQueryNode - -2007-12-26 22:00 robert - - * examples/osgocclusionquery/osgocclusionquery.cpp, - include/osg/OcclusionQueryNode, src/osg/OcclusionQueryNode.cpp, - src/osgWrappers/osg/OcclusionQueryNode.cpp: From Paul Martz, "The - osgocclusionquery example contained some duplicate code that was - also in the core OSG occlusion query code. This change removes - the need for that." - -2007-12-26 21:43 robert - - * src/osgWrappers/osgUtil/DrawElementTypeSimplifier.cpp: Updated - wrappers - -2007-12-26 21:39 robert - - * include/osgUtil/DrawElementTypeSimplifier, - include/osgUtil/EdgeCollector, - include/osgUtil/OperationArrayFunctor, - include/osgUtil/ReversePrimitiveFunctor, - src/osgUtil/CMakeLists.txt, - src/osgUtil/DrawElementTypeSimplifier.cpp, - src/osgUtil/EdgeCollector.cpp, - src/osgUtil/ReversePrimitiveFunctor.cpp, - src/osgWrappers/osgUtil/EdgeCollector.cpp, - src/osgWrappers/osgUtil/ReversePrimitiveFunctor.cpp: From David - Callu, further work in support of shapefile support in - VirtualPlanetBuilder - -2007-12-26 21:38 robert - - * genwrapper.conf, - src/osgWrappers/osgUtil/OperationArrayFunctor.cpp: Suppressed - reflection of problem templates/typedefs - -2007-12-25 21:11 robert - - * src/osgViewer/ViewerEventHandlers.cpp: Replaced values.h with - float.h is avoid Windows compile issues - -2007-12-24 15:37 robert - - * src/osgWrappers/osgText/Font.cpp, - src/osgWrappers/osgText/Font3D.cpp, - src/osgWrappers/osgText/KerningType.cpp, - src/osgWrappers/osgUtil/Statistics.cpp: Updated wrappers - -2007-12-24 15:32 robert - - * src/osgPlugins/OpenFlight/AncillaryRecords.cpp, - src/osgPlugins/OpenFlight/AttrData.cpp, - src/osgPlugins/OpenFlight/AttrData.h, - src/osgPlugins/OpenFlight/ControlRecords.cpp, - src/osgPlugins/OpenFlight/DataInputStream.cpp, - src/osgPlugins/OpenFlight/DataInputStream.h, - src/osgPlugins/OpenFlight/Document.cpp, - src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/LightPointRecords.cpp, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/OpenFlight/Pools.cpp, - src/osgPlugins/OpenFlight/Pools.h, - src/osgPlugins/OpenFlight/PrimaryRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/OpenFlight/Record.cpp, - src/osgPlugins/OpenFlight/Record.h, - src/osgPlugins/OpenFlight/RecordInputStream.cpp, - src/osgPlugins/OpenFlight/RecordInputStream.h, - src/osgPlugins/OpenFlight/Registry.cpp, - src/osgPlugins/OpenFlight/Registry.h, - src/osgPlugins/OpenFlight/ReservedRecords.cpp, - src/osgPlugins/OpenFlight/RoadRecords.cpp, - src/osgPlugins/OpenFlight/Vertex.cpp, - src/osgPlugins/OpenFlight/Vertex.h, - src/osgPlugins/OpenFlight/VertexRecords.cpp, - src/osgPlugins/OpenFlight/opcodes.h, - src/osgPlugins/OpenFlight/types.h: Fom Brede Johansen, "I have - added the OSGPL license to the OpenFlight source files" - -2007-12-24 15:19 robert - - * src/osg/Image.cpp, src/osg/Notify.cpp, src/osgDB/Field.cpp, - src/osgDB/FileNameUtils.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/x/directx.cpp, src/osgPlugins/x/mesh.cpp, - src/osgPlugins/x/types.cpp, src/osgText/DefaultFont.cpp, - src/osgViewer/ViewerEventHandlers.cpp: From Sid Byce, fixes for - compiling with gcc 4.3 - -2007-12-24 14:47 robert - - * src/osgPlugins/quicktime/QTLiveUtils.cpp, - src/osgPlugins/quicktime/QTLiveUtils.h, - src/osgPlugins/quicktime/QuicktimeLiveImageStream.h, - src/osgPlugins/quicktime/ReaderWriterQT.cpp: From Rafa Gaitan, "I - have corrected some includes of the quicktime plugin - from Quicktime/Quicktime.h to QuickTime/QuickTime.h. - MacOsX filesystem is normally case insensitive, but in - my case I changed that option and the quicktime headers - were not found. Now compiles fine and on case insesitive - file systems should work correctly too. " - -2007-12-24 14:45 robert - - * include/osg/Sequence, src/osg/Sequence.cpp: From Jason Daly, "I'm - still having a problem with SWING animations on sequences. Here's - the fix again, merged with this morning's svn (including the - other - Sequence fixes from J-S)." - -2007-12-24 12:56 robert - - * CMakeLists.txt, doc/Doxyfiles/doxyfile.cmake: Based on - Suggestions from "Harald A" fixed CMake setup of Doxygen docs - -2007-12-23 18:15 robert - - * include/osgText/Font, include/osgText/Font3D, - include/osgText/KerningType, include/osgText/TextBase, - src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h, - src/osgPlugins/txf/TXFFont.cpp, src/osgPlugins/txf/TXFFont.h, - src/osgText/DefaultFont.cpp, src/osgText/DefaultFont.h, - src/osgText/Font.cpp, src/osgText/Text.cpp, - src/osgText/TextBase.cpp: Convert osgText and freetype plugin - across to keeping the font size as state that - is passed into the getGlyph and getKerning methods rather than a - current state of the font itself. - -2007-12-23 13:45 robert - - * include/osgText/Font, include/osgText/TextBase, - src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h, - src/osgPlugins/txf/ReaderWriterTXF.cpp, - src/osgPlugins/txf/TXFFont.cpp, src/osgPlugins/txf/TXFFont.h, - src/osgText/Font.cpp, src/osgText/Text.cpp, - src/osgText/TextBase.cpp: Moved Font code across to using - FontSizePair internally and on Font methods, but - still using original implemetations. - -2007-12-23 13:18 robert - - * examples/osgtext/osgtext.cpp, include/osgText/Font, - include/osgText/KerningType, src/osgText/DefaultFont.cpp, - src/osgText/Font.cpp: Renamed osgText::Font::SizePair to - osgText::FontSizePair in prep for use this more - widely within osgText/freetype plugin. - - Added support for inserting loading models into --mt - multithreaded implementation. - -2007-12-23 13:08 robert - - * include/osg/GraphicsContext: Fixed indentation - -2007-12-21 17:56 robert - - * CMakeModules/Find3rdPartyDependencies.cmake: From Jean-Sebastien - Guay, added new version of feetype into search list - -2007-12-21 17:33 robert - - * genwrapper.conf, include/osgUtil/OperationArrayFunctor: Added - copyright notice and tweaked genwrapper - -2007-12-21 17:26 robert - - * src/osgWrappers/osgUtil/OperationArrayFunctor.cpp: Updated - wrappers - -2007-12-21 16:18 robert - - * src/osgUtil/ReversePrimitiveFunctor.cpp: From Paul Martz, "added - include to prevent VS8 compile error" - -2007-12-21 15:54 robert - - * src/osgWrappers/osgUtil/OperationArrayFunctor.cpp: Removed - OperationArrayFunctor for wrappers to avoid compile errors - assocaited with them - -2007-12-21 15:46 robert - - * include/osgUtil/EdgeCollector: Removed inappropriate inline - -2007-12-21 15:04 robert - - * src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osg/OcclusionQueryNode.cpp, - src/osgWrappers/osgUtil/ConvertVec.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/EdgeCollector.cpp, - src/osgWrappers/osgUtil/OperationArrayFunctor.cpp, - src/osgWrappers/osgUtil/ReversePrimitiveFunctor.cpp: Updated - wrappers - -2007-12-21 14:49 robert - - * src/osgPlugins/osg/OcclusionQueryNode.cpp: From Paul Martz, .osg - support for OcclusionQueryNode -2007-12-21 14:45 robert - - * examples/CMakeLists.txt, examples/osgocclusionquery, - examples/osgocclusionquery/CMakeLists.txt, - examples/osgocclusionquery/osgocclusionquery.cpp, - include/osg/NodeVisitor, include/osg/OcclusionQueryNode, - include/osgUtil/CullVisitor, src/osg/CMakeLists.txt, - src/osg/OcclusionQueryNode.cpp, - src/osgPlugins/osg/CMakeLists.txt, src/osgUtil/CullVisitor.cpp: - From Paul Martz, Introduced osg::OcclusionQueryNode with support - for OpenGL occlusion query extension - -2007-12-21 14:21 robert - - * include/osgGA/UFOManipulator, src/osgGA/UFOManipulator.cpp: From - Bryan Thrall, "UFOManipulator ignores any attached - CoordinateFrameCallback; the - attached files fix this (based on 2.2 release). - " +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. -2007-12-21 14:16 robert +CID 11850: Unused pointer value (UNUSED_VALUE) +Pointer "gfd" returned by "gr->getField(80)" is never used. - * src/osgText/Font.cpp: From Mathias Froehlich, "Something to - extend the texture subloading blacklist. - ... we have problems with that on solaris." +CID 11849: Unused pointer value (UNUSED_VALUE) +Pointer "gfd" returned by "gr->getField(3)" is never used. -2007-12-21 14:13 robert - - * src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/Sequence.cpp: - From John Kelso,"Attached is the ive reader/writer for the 2.x - version of the osg::Sequence - node. " - -2007-12-21 13:32 robert - - * src/osgViewer/CMakeLists.txt, - src/osgViewer/GraphicsWindowX11.cpp: From Jeremy Moles, "Here is - a implementation of setScreeResolution and - setScreenRefreshRate for systems support Xrandr. The include - CMakeFile - makes this optional, and turns it OFF by default, in which case - any - person trying to use these functions under Linux will be - instructed to - build osgViewer w/ Xrandr support. - " - -2007-12-21 13:31 robert - - * applications/osgviewer/osgviewer.cpp: Added return - -2007-12-21 13:18 robert - - * src/osg/Sequence.cpp: From Jean-Sebastien Guay, "When using - osg::Sequence you can stop the sequence by setting the mode - to STOP. Subsequently, you can restart it from the beginning by - setting the mode to START. This does not work as expected. The - _now - time is not updated while the mode is STOP, which causes the - items in - the sequence to flash by very quickly when the mode is set to - START. - - For example, if the mode was set to STOP and left that way for 30 - seconds, and there are 10 items in the sequence, when the mode is - set - to START all the items will flash by (in 3 loops) while the _now - time - catches up with the real time, and then the sequence will go on - at the - rate it should. - - This is a simple fix for that, which updates the _now time - regardless - of the mode the sequence is in." - -2007-12-21 13:07 robert - - * include/osgUtil/ConvertVec, include/osgUtil/EdgeCollector, - include/osgUtil/OperationArrayFunctor, - include/osgUtil/ReversePrimitiveFunctor, - src/osgUtil/CMakeLists.txt, src/osgUtil/EdgeCollector.cpp, - src/osgUtil/ReversePrimitiveFunctor.cpp: From David Callu, - various classes in support of VirtualPlanetBuilder - -2007-12-21 12:36 robert - - * src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h: From David Callue, added - support for reading/writing Vec*dArray to .ive plugin - -2007-12-20 17:30 robert - - * src/osgWrappers/osgTerrain/Layer.cpp, - src/osgWrappers/osgUtil/Simplifier.cpp: Updated wrappers - -2007-12-20 15:51 robert - - * include/osgTerrain/Layer, src/osgPlugins/osgTerrain/Terrain.cpp, - src/osgTerrain/Layer.cpp: Added support for min to max level - ranges for Layers in support of VirtualPlanetBuilder usage of - this. - -2007-12-20 15:50 robert - - * include/osgUtil/Simplifier, src/osgUtil/Simplifier.cpp: Added an - optional use of doubles for computing error metrics to help - investigate precision issues seen in VPB when working with small - segments of geographic data. - -2007-12-20 15:40 robert - - * src/osgText/TextBase.cpp: Reset the the _lineSpacing to 0.0f to - fix the line spacing when word wrapping takes place - -2007-12-20 14:40 robert - - * src/osgSim/OverlayNode.cpp: From Wojciech Lewandowski, "By - complete coincidence I just have read an old OSG submission mail - related - to bugfixes in osg::Polytope.setToUnitFrustum and - setToBoundingBox It was - sent at beginning of december. I read it when purging my Thrash - emails and - found it there this because it was wrongly classified as SPAM. - - What stroke me in this email was the fact that there was once an - error in - Polytope class. Since I adopted CustomPolytope (osgSim - OverlayNode.cpp) for - my minimal shadow area computations I checked my code for this - error. And I - found it in CustomPolytope::setToUnitFrustum method. - CustomPolytope::setToBoundingBox seemed OK. - - So I went back to the origin and fixed this error in - OverlayNode.cpp as - well. I have not tested it in OverlayNode though (I don't know - how) so - please look at this carefully. But it seems to work fine with my - shadow - calculations." - -2007-12-20 10:48 robert - - * src/osgPlugins/cfg/Camera.h, src/osgPlugins/cfg/CameraConfig.cpp, - src/osgPlugins/cfg/CameraConfig.h: Reorder includes in an attempt - to avoid compile problems under Cygwin. - -2007-12-17 21:52 robert - - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - AUTHORS files - -2007-12-17 21:35 robert - - * ChangeLog, README.txt: Updated ChangeLog for 2.3.0 release - -2007-12-17 21:08 robert - - * CMakeLists.txt, include/osg/Version: Updated version number for - 2.3.0 dev release - -2007-12-17 18:38 robert - - * CMakeModules/OsgMacroUtils.cmake, src/osgShadow/Version.cpp: From - Paul Obermeier, "Please find enclosed the following 2 bug fixes: - - File osgShadow/Version.cpp, Line 25: - - const char* osgShaodowGetLibraryName() - - should be: - - const char* osgShadowGetLibraryName() - - - File CMakeModules/OsgMacroUtils.cmake, Line 224: - - SET_TARGET_PROPERTIES(${TARGET_TARGETNAME} PROPERTIES - DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) - - should be: - - SET_TARGET_PROPERTIES(${TARGET_TARGETNAME} PROPERTIES - DEBUG_POSTFIX "${CMAKE_DEBUG_POSTFIX}") - - Otherwise setting CMAKE_DEBUG_POSTFIX to an empty string instead - of "d" in - the main CMakeLists.txt does not work under Linux. - " - -2007-12-17 17:43 robert - - * include/osg/Vec2s, include/osg/Vec3s, include/osg/Vec4s: From - David Cullu, added various mathematical operators - -2007-12-17 10:24 robert - - * include/osgViewer/api/Carbon/GraphicsWindowCarbon, - src/osgViewer/GraphicsWindowCarbon.cpp: From Stephan Huber, - "attached you'll find an updated carbon-implementation, which - implements - the missing functionality for setWindowName and useCursor - " - -2007-12-17 10:22 robert - - * src/osgWrappers/osgSim/ShapeAttribute.cpp, - src/osgWrappers/osgTerrain/Locator.cpp: Updated wrappers - -2007-12-17 09:58 robert - - * src/osgPlugins/osga/OSGA_Archive.cpp: From Wojiech Leandowski, "I - earlier wrote about my hassles with archives under Windows. I - implemented - 64 bit binary compatible OSGA archive reader/writer using mixed - stdio/iostream calls. But during this work I learned that it can - be made in - much simpler way. - - Attached is result of this new attempt. I hope its appropriate - for inclusion - into OSG codebase. It was compiled and tested with latest SVN - OSG, Windows - XP 32 bit and Windows Vista business 64 bit. OSG was built using - VS 2005 - Express SP1 for 32 bit environment and VS 2005 Std for 64 bit. - --- - Solution description (there were two problems involved): - --- - Problem 1: implicit conversions beetween file positions and 32 - bit int. This - could be considered a MS compiler bug because this 32 bit int was - additionally implicitly converted to/from 64 bit. As far as I - know compiler - is allowed to make only one implict conversion (but maybe this - rule does not - refer to simple types). - - Its actually possible to address OSGA files above 4 GiB range - using 32 bit - windows iostreams. MS Iostreams in practice offer the same level - of - functionality as stdio functions. There are functions fsetpos and - fgetpos in - stdio lib which use 64 bit file pointers (fpos_t). These - functions are - internally called by seekp( streampos ), seekg( streampos ), - tellp(), and - tellg() methods. So its also possible to change and retrieve file - postions - using iostream calls. But the problem lies in implicit handling - of streampos - type. - - streampos type is actually a template class used as seekp, seekg - parameter - and returnd from tellp, tellg. Its capable of storing 64 bit file - pointers. - But streampos can be also converted to/from simple type - streamoff. It has - proper constructor and cast operator. In Win 32 environment - streamoff is - defined as long (~32 bit int). So when seekp, and tellp arent - used with - exact streampos objects but OSGA_Archive::pos_type complier makes - implicit - casts to 32 bit int types loosing important bits of information. - - So above problem could be easily handled by making conversion - calls - explicit. My code defines 2 functions used to convert back and - forth beetwen - 64 bit OSGA_Archive::pos_type and std::streampos objects: - - OSGA_Archive::pos_type ARCHIVE_POS( const std::streampos & pos ); - std::streampos STREAM_POS( OSGA_Archive::pos_type & pos ); - - Rest of the OSGA implementation code was modified to call these - conversions - explicitly with seekp, seekg, tellp, tellg. - - --- - Problem 2: seekp and seekg have two variants. Only one of these - variants is - actually 64 bit proof. - - When I solved my first problem and made use of explicit streampos - conversion - functions, OSGA archive was able to read my example 11 GiB - archive. But - there were still problems with write and append. I found that the - reason for - this was pair of seekp( 0, std::ios_base::end ) and tellp() - calls. It turned - out that use of seekp, seekg( offset, direction ) function - variants was - setting file pos pointer to EOF when file was larger than 4GiB. - But I - noticed that one arg seekp, seekg ( streampos ) versions worked - correctly. - So the solution was to change OSGA write logic a little, and - replace - seekp( offset, direction ) with seekp( absolute_pos ) calls. - I achieved this by modifing IndexBlock write method to record and - restore - file pos after IndexBlock was written. This modification has the - effect that - put pointer is generally kept at the end of file, so there is no - need to - repostion to the end before writing the files. This allowed me to - get rid of - those problematic seekp( 0, std::ios_base::end ) calls. - - There was one place where I could not easily get rid of seekp( 0, - std::ios_base::end ). It was situation where existing OSGA was - opened for - appending. I resolved this by computing file length by finding - max position - from index block and file block endings. Then I replaced former - seekp( 0, - std::ios_base::end ) with seekp( STREAM_POS( found_file_length ). - --- - - Description of these changes may sound bit hacky but in practice - these were - fairly simple and straightforward modifications. I hope they pass - your - review. There is one complex preprocessor condition which I based - on few - lines taken from boost positioning.hpp. Boost licence does allow - such - reproduction. In case of problems this condition may be easily - simplified to - windows only implementation. - " - -2007-12-16 17:57 robert - - * src/osg/ShapeDrawable.cpp: From Jean-Sebastien Guay, "Some - clients at my new job noticed that picking did not work with the - osg::Capsule subclass of osg::Shape in an osg::ShapeDrawable. - Other - shapes worked fine. So I have fixed this. Code attached. - - My modification is in the PrimitiveShapeVisitor, and is based on - the - DrawShapeVisitor - I added methods called createCylinderBody and - createHalfSphere, and used them in apply(Cylinder&) and - apply(Capsule&). In my testing they work fine, tested even with - transforms and moving around the scene. - " - -2007-12-16 17:53 robert - - * src/osgPlugins/ive/BlinkSequence.cpp: Added check to make set up - a sequencegroup only happen when required. - -2007-12-16 17:46 robert - - * src/osgPlugins/ive/BlinkSequence.cpp: From Wojciech Lewandowski, - "osgSim::BlinkSequence has sequenceGroup unitialized by default - (=NULL ref_ptr). By looking at the code I figured out that unset - sequenceGroup is completely correct and thus allowed. - - But writing BlinkSequence with empty sequence group caused a - crash when IVE was accessing baseTime from NULL address. - - Atttached is a fix for this situation. - " - -2007-12-16 17:41 robert - - * src/osgShadow/ShadowMap.cpp: From Wojiech Lewandowski, "There was - a bug in ShadowMap camera view matrix computation. View matrix - was wrong when light was directional and shadowed scene was not - centered at zero coord. I fixed that and also modified cast - distance to much smaller value. With former range it was possible - to generate shadows with lowest LODs. " - -2007-12-16 17:33 robert - - * src/osgPlugins/gdal/ReaderWriterGDAL.cpp: Fixed HeightField - coordinates set up - -2007-12-16 17:01 robert - - * include/osgText/Font, include/osgText/Font3D, - src/osgText/Font.cpp: Added intializers. - -2007-12-16 16:18 robert - - * src/osgPlugins/shp/CMakeLists.txt, - src/osgPlugins/shp/ESRIShapeReaderWriter.cpp: Added support for - automatically setting the coordinate system of a shapefile by - reading associate .prj file +CID 11848: Unused pointer value (UNUSED_VALUE) +Pointer "gfd" returned by "grec->getField(3)" is never used. -2007-12-16 13:29 robert - * examples/osgforest/osgforest.cpp: Added parsing of parameters to - Viewer constructor. -2007-12-16 13:25 robert - * examples/osgforest/osgforest.cpp: Added StateSetManipulator for - testing purposes, and fixed typo +Thu, 5 May 2011 10:28:34 +0000 +Checked in by : Robert Osfield +Fixed typo -2007-12-16 13:20 robert +Wed, 4 May 2011 16:36:35 +0000 +Checked in by : Robert Osfield +From Mathias Froehlich, build fix for gcc 4.6 - * src/osgPlugins/freetype/FreeTypeLibrary.cpp: Removed used of - ref_ptr<>'s internally to avoid ciricular calls on destruction. +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." -2007-12-16 12:36 robert - * src/osgPlugins/freetype/FreeTypeFont3D.cpp, - src/osgPlugins/freetype/FreeTypeFontBase.cpp, - src/osgPlugins/freetype/FreeTypeFontBase.h: Added initilizers of - variables to FreeTypeFont3D constructors. - - Removed unused FreeTypeFontBase class -2007-12-15 17:16 robert +Wed, 4 May 2011 09:53:11 +0000 +Checked in by : Robert Osfield +Removed unncessary references to FREETYPE - * src/osgPlugins/cfg/ReaderWriterCFG.cpp: Fixed handling of DISPLAY - variable, and mapped the rest of Producer config settings +Wed, 4 May 2011 09:48:10 +0000 +Checked in by : Robert Osfield +From Michael Platings, fix for build with cmake 2.6.x -2007-12-15 17:15 robert +Tue, 3 May 2011 12:43:00 +0000 +Checked in by : Robert Osfield +Added OSGVIEWER_EXPORT - * src/osgDB/Registry.cpp: Commented out rendendent warnings +Tue, 3 May 2011 10:14:34 +0000 +Checked in by : Robert Osfield +Added missing break; -2007-12-15 17:15 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." - * src/osgViewer/Viewer.cpp: commented out rendudent warning +Tue, 3 May 2011 09:11:04 +0000 +Checked in by : Michael PLATINGS +Updated to use FBX SDK 2012.1 -2007-12-15 15: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. - * src/osgShadow/ShadowMap.cpp: Added setting of ambient bias - uniform +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; -2007-12-15 15:19 robert + /** return type of file. */ + virtual FileType getFileType(const std::string& filename) const = 0; - * include/osgShadow/ShadowMap: Added separate unform variable to - keep track of abmient contribution. + /** return the contents of a directory. + * returns an empty array on any error.*/ + virtual DirectoryContents getDirectoryContents(const std::string& dirName) const = 0; -2007-12-15 15:17 robert +Added implementations of these new methods into src/osgPlugins/osga/OSGA_Archive.h src/osgPlugins/osga/OSGA_Archive.cpp - * src/osgShadow/ShadowMap.cpp: Tweaked the abmient lighting - contribution so that the OpenGL vertex lighting has - the ambient light source switched off, and use the fragment - shader to add this - contribution back in. -2007-12-14 17:40 robert - * src/osgPlugins/osgTerrain/CMakeLists.txt, - src/osgPlugins/osgTerrain/Locator.cpp: Refectored the loading of - Locator out into its own separate file -2007-12-13 17:51 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. - * include/osgTerrain/Locator, - src/osgPlugins/osgTerrain/Terrain.cpp, - src/osgTerrain/Locator.cpp: Added - Locator::s/getTransformScaledByResolution(bool) to assist with - VPB integration +Fri, 29 Apr 2011 09:16:47 +0000 +Checked in by : Robert Osfield +Update ChangeLog -2007-12-13 16:06 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))". - * src/osgPlugins/cfg/CameraConfig.h, - src/osgPlugins/cfg/ConfigParser.cpp: Warning fixes +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. -2007-12-13 15:24 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. - * src/osgPlugins/cfg/CameraConfig.cpp, - src/osgPlugins/cfg/ConfigParser.cpp, - src/osgPlugins/shp/XBaseParser.cpp: From Andy Skinner, build - fixes for Solaris -2007-12-13 15:23 robert - * src/osgPlugins/cfg/ConfigParser.cpp: Convert tabs to four spaces -2007-12-13 14:26 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". - * src/osgPlugins/shp/XBaseParser.cpp: Fixed memory leak +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. -2007-12-13 14:16 robert - * src/osgPlugins/osgSim/IO_ShapeAttribute.cpp: Updated the - shapefile attribute IO so that its more streamlined. -2007-12-13 12:30 robert - * include/osgSim/ShapeAttribute, src/osgSim/ShapeAttribute.cpp: - Added copy operator to ShapeAttribute to prevent problems when - assigned them or use within a vector +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. -2007-12-12 17:59 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. - * include/osgViewer/View, src/osgViewer/View.cpp, - src/osgWrappers/osgViewer/View.cpp: Added a - osgViewer::setSceneData(ref_ptr) method. -2007-12-12 17:48 robert - * include/osgText/Text, include/osgText/Text3D, - src/osgText/Text.cpp, src/osgText/Text3D.cpp, - src/osgWrappers/osgText/Text.cpp, - src/osgWrappers/osgText/Text3D.cpp: Added new setFont(ref_ptr<>) - variants to Text and Text3D -2007-12-12 17:04 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". - * include/osgDB/DatabasePager, include/osgDB/ReadFile, - include/osgText/Font, include/osgText/Font3D, - src/osgDB/DatabasePager.cpp, src/osgDB/ReadFile.cpp, - src/osgText/Font.cpp, src/osgText/Font3D.cpp, - src/osgText/Text.cpp, src/osgText/Text3D.cpp: From Serge Lages, - introduce readRef*File() methods which pass back ref_ptr<> rather - than C pointers. +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. -2007-12-12 16:56 robert - * include/osgSim/ShapeAttribute, src/osgSim/ShapeAttribute.cpp: - Updated copyright notices -2007-12-12 16:55 robert - * include/osgSim/ShapeAttribute, src/osgSim/ShapeAttribute.cpp: - From Andy Skinner, build fixes for Solaris. +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. -2007-12-12 11:57 robert - * src/osgDB/DatabasePager.cpp: Added std:: infront of sort call -2007-12-12 10:47 robert - * include/osgDB/SharedStateManager: Added const to operators. +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. -2007-12-12 10:35 robert +CID 11564: Unsigned compared against 0 (NO_EFFECT) +This less-than-zero comparison of an unsigned value is never true. "cpunum < 0U". - * src/osgDB/DatabasePager.cpp: Added std:: in front of find enties -2007-12-12 09:48 robert - * src/CMakeLists.txt, src/osgPlugins/CMakeLists.txt, - src/osgWrappers/CMakeLists.txt: From Serge Lages, "Here is a new - modification to CMake adding an option - (OSG_MSVC_GENERATE_PLUGINS_AND_WRAPPERS_MANIFESTS) to specify if - we want to generate or not the manifest files under VS8 for the - plugins and the wrappers. It seems that the manifests are needed - if we try to load dynamically a core OSG dll." -2007-12-12 09:45 robert - * include/osgDB/DatabasePager: From Paul Martz, "Function - declaration returns a bool, function body was returning a - pointer. Changed body to return (pointer != NULL)." +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. -2007-12-11 17:19 robert - * src/osgPlugins/ive/DataTypeSize.h: From Cyril Brulebois, removed - redundent typedef. -2007-12-11 17:01 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. - * src/osgWrappers/osg/View.cpp, src/osgWrappers/osgViewer/View.cpp: - Updated wrappers -2007-12-11 16:42 robert - * src/osgPlugins/OpenFlight/DataInputStream.cpp, - src/osgPlugins/OpenFlight/DataInputStream.h, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/OpenFlight/RecordInputStream.cpp, - src/osgPlugins/OpenFlight/RecordInputStream.h, - src/osgPlugins/OpenFlight/VertexRecords.cpp: From Brede - Johnansen, support for continuation records. - -2007-12-11 16:34 robert - - * include/osg/View, include/osgViewer/View: From Karl Heijdenberg, - moved set/getFrameStamp() from osgViewer::View to osg::View. - -2007-12-11 15:55 robert - - * examples/CMakeLists.txt, examples/osgsharedarray, - examples/osgsharedarray/CMakeLists.txt, - examples/osgsharedarray/osgsharedarray.cpp, include/osg/Array, - src/osg/Geometry.cpp, src/osgDB/FileNameUtils.cpp: From Mike - Garrity, "There was an on again/off again thread on OSG users - about - creating subclasses of osg::Array that referenced data - stored an application's internal data structures. I took - a stab at implementing that and ran into a couple of - downcasts in Geometry.cpp. Enclosed is my take at fixing - those along with a simple example of how to do this." - -2007-12-11 14:48 robert - - * src/osgPlugins/gdal/DataSetLayer.cpp, - src/osgPlugins/gdal/DataSetLayer.h, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp: Added missing copyright - notices - -2007-12-11 14:39 robert - - * src/osgViewer/PixelBufferX11.cpp: From Mathias Froehlich, - "Attached is a change to the PBuffer initialsation code that - checks for the GLX - version before issuing commands that require GLX-1.3. - - This prevents a crash with open source drivers on linux. - " - -2007-12-11 14:06 robert - - * src/osgPlugins/dae/CMakeLists.txt, - src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/ReaderWriterDAE.h, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeReader.cpp, src/osgPlugins/dae/daeReader.h, - src/osgPlugins/dae/daeWGeometry.cpp, - src/osgPlugins/dae/daeWMaterials.cpp, - src/osgPlugins/dae/daeWriter.cpp, src/osgPlugins/dae/daeWriter.h: - From Roger James, "The changes are as follows:- - - 1. DAE object no longer held onto by plugin. - 2. Filename to URI conversion now handled internally by plugin. - 2. User can supply an external DAE object for use by the plugin. - 3. User can supply a std:string object for the plugin to return - the URI of - the document just processed. - 4. User can supply a std::string to receive the unit name - information from - the document just read in. (e.g. meters, inches, etc.) - 5. User can supply a float to receive the metric conversion - factor from the - document just read in. - 6. User can supply an enum to receive the up axis orientation - information - from the document just read in. - 7. Material transparency can be both read and written. - 8. User can supply an experimental GoogleMode option on output. - The plugin - will try to emulate the way Sketchup specifies transparency (i.e. - the - inverse of what it should be!). I am still struggling to get GE - to - understand transparency, anyone know what it expects? - 9. Rudimentary support for Collada effect parameters (newparam, - setparam, - param) on input. Basic nVidia FX Composer dae documents can now - be read. - - " - -2007-12-11 12:35 robert - - * src/osgWrappers/osg/Program.cpp, src/osgWrappers/osg/Shader.cpp, - src/osgWrappers/osg/StateSet.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/SharedStateManager.cpp, - src/osgWrappers/osgParticle/BoxPlacer.cpp: Updated wrappers - -2007-12-11 12:32 robert - - * include/osgDB/DatabasePager, include/osgDB/SharedStateManager, - src/osgDB/DatabasePager.cpp, src/osgDB/SharedStateManager.cpp: - From Tim More, "This submission tries to optimize redundant - compilation of StateSets and Drawables - in the DatabasePager. The practical effects of these are to - greatly reduce startup time - and the time to load an individual scenery tile in FlightGear. - - - From my log message: - - Minimize the number of StateSets and drawables that are compiled - by checking - if they have already been compiled or will be elminated by the - SharedStateManager. - - Move the sorting of the dataToCompile queue out of - compileGLObjects - into the man pager run function. - - Change the SharedStateManager to use maps instead of vectors." - - -2007-12-11 11:57 robert - - * src/osg/State.cpp: From Joseph Steel, "he change is to - initializeExtensionProcs() to - verify the version of the OpenGL implementation before attempting - to get the - MaxTextureCoords parameter." - -2007-12-11 11:55 robert - - * src/osg/ClipNode.cpp: From Mathias Froelich, "I have cleaned up - the state set handling of the osg::ClipNode. - Previously the complete StateSet was cleared, even the non - clipping releted - state attributes and modes in this stateset on a call to - setLocalSetateSetModes. - With this change only those modes/attributes are changed that - need to be - changed. That is, if a clip plane is removed from the ClipNode, - only this - assiciated mode is removed from the state set, instead of - throwing away the - whole state set. - - In this way we have less surprising results if the state set of a - clip node is - used for more state than just the clip state. - " - -2007-12-11 11:42 robert - - * include/osg/StateSet, src/osg/StateSet.cpp: From Mathias - Froechlich, "I have extended the StateSet api with a - - StateSet::removeAssociatedModes(const StateAttribute*) - - and a - - StateSet::removeAssociatedTextureModes(unsigned, const - StateAttribute*) - - call. These funktions are just missing for a complete api IMO." - -2007-12-11 11:37 robert - - * include/osgParticle/BoxPlacer: From Alberto Luaces, "it seems - that include/osgParticle/BoxPlacer was created from the - SectorPlacer - file. The code works well but the SectorPlacer comments stayed in - the new - file. I have altered those comments so they now contain valid - information for - the BoxPlacer class and the doxygen generated documentation is - correct. - - " - -2007-12-11 11:21 robert - - * include/osg/Program, include/osg/Shader, src/osg/Program.cpp, - src/osg/Shader.cpp: From Per Fahlberg, "Attached is a fix - allowing removal of shaders from a program after it is - first compiled. It will also allow new shaders to be attached - after the - program is first compiled." - -2007-12-10 20:56 robert - - * src/osgPlugins/shp/ESRIShapeParser.cpp: From Sherman Wilcox, "In - ESRIShapeParser.cpp, wasn't closing the file handle. Added: - - if(fd) - { - close(fd); - fd = 0; - } - - - to the constructor." - -2007-12-10 20:36 robert - - * examples/osgviewerCocoa/ViewerCocoa.h, - examples/osgviewerCocoa/ViewerCocoa.mm: From Eric Wing, "For - osgviewerCocoa, a very simple change to allow toggling between - fullscreen mode and back between views. (To activate, double - click on - the view to toggle.) It demonstrates/uses the new one-liner - fullscreen - method introduced in Leopard. Code will still compile and run in - pre-Leopard (thanks to Obj-C dynamic/late binding), but code path - is - treated as a no-op in those cases." - -2007-12-10 20:35 robert - - * src/osgText/Text.cpp, src/osgWrappers/osg/ApplicationUsage.cpp, - src/osgWrappers/osg/ArgumentParser.cpp, - src/osgWrappers/osg/Billboard.cpp, - src/osgWrappers/osg/BlendColor.cpp, - src/osgWrappers/osg/BlendEquation.cpp, - src/osgWrappers/osg/BlendFunc.cpp, - src/osgWrappers/osg/BoundingBox.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/CameraView.cpp, - src/osgWrappers/osg/ClampColor.cpp, - src/osgWrappers/osg/CollectOccludersVisitor.cpp, - src/osgWrappers/osg/CullSettings.cpp, - src/osgWrappers/osg/DeleteHandler.cpp, - src/osgWrappers/osg/DrawPixels.cpp, - src/osgWrappers/osg/Drawable.cpp, - src/osgWrappers/osg/FragmentProgram.cpp, - src/osgWrappers/osg/Geode.cpp, src/osgWrappers/osg/Geometry.cpp, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/Group.cpp, src/osgWrappers/osg/LOD.cpp, - src/osgWrappers/osg/Matrixd.cpp, src/osgWrappers/osg/Matrixf.cpp, - src/osgWrappers/osg/Multisample.cpp, - src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osg/Object.cpp, src/osgWrappers/osg/Point.cpp, - src/osgWrappers/osg/PolygonOffset.cpp, - src/osgWrappers/osg/Polytope.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osg/ProxyNode.cpp, - src/osgWrappers/osg/Referenced.cpp, - src/osgWrappers/osg/Shader.cpp, - src/osgWrappers/osg/ShapeDrawable.cpp, - src/osgWrappers/osg/State.cpp, - src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/StateSet.cpp, - src/osgWrappers/osg/StencilTwoSided.cpp, - src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osg/Texture1D.cpp, - src/osgWrappers/osg/Texture2D.cpp, - src/osgWrappers/osg/Texture2DArray.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/TextureRectangle.cpp, - src/osgWrappers/osg/Timer.cpp, src/osgWrappers/osg/Transform.cpp, - src/osgWrappers/osg/Uniform.cpp, - src/osgWrappers/osg/VertexProgram.cpp, - src/osgWrappers/osg/Viewport.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgGA/GUIActionAdapter.cpp, - src/osgWrappers/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/osgGA/GUIEventHandler.cpp, - src/osgWrappers/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/osgGA/MatrixManipulator.cpp, - src/osgWrappers/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/osgGA/TerrainManipulator.cpp, - src/osgWrappers/osgGA/TrackballManipulator.cpp, - src/osgWrappers/osgGA/UFOManipulator.cpp, - src/osgWrappers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/osgShadow/ShadowTechnique.cpp, - src/osgWrappers/osgSim/ElevationSlice.cpp, - src/osgWrappers/osgSim/HeightAboveTerrain.cpp, - src/osgWrappers/osgSim/ImpostorSprite.cpp, - src/osgWrappers/osgSim/LineOfSight.cpp, - src/osgWrappers/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/osgTerrain/Locator.cpp, - src/osgWrappers/osgTerrain/TerrainTechnique.cpp, - src/osgWrappers/osgText/String.cpp, - src/osgWrappers/osgText/Text.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/LineSegmentIntersector.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/GraphicsWindow.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp, - src/osgWrappers/osgViewer/ViewerBase.cpp: Updated wrappers - -2007-12-10 20:33 robert - - * src/osg/Material.cpp: From Richard Schmidt, fix on ordering to be - standard OpenGL way. - -2007-12-10 20:30 robert - - * include/osgUtil/CullVisitor, src/osgUtil/CullVisitor.cpp, - src/osgUtil/SceneView.cpp: From Richard Schmidt, "attached you - will find a set of small fixes and features. - - - - CullVisitor/SceneView: - - *Feature: This version supports multiple clearnodes in the graph, - one per renderstage. - - - - Text: - - *Feature: Performance Enhancement when calling SetBackdropColor - - - - Material: - - *Fix: OpenGL calls are now made according to the OpenGL Standard - - " - -2007-12-10 20:27 robert - - * src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/obj.cpp, src/osgPlugins/obj/obj.h: From Ulrich - Hertlein, "attached are some fixes and tweaks I made to the .obj - loader: - - Material class contained both 'shininess' and 'Ns' member - variables - - 'Ns' and 'Ni' are initialized to 0 ('Ni' is unused at the - moment) - - only 'Ns' was read from .mtl file but 'shininess' was used for - osg::Material - - 'illum' was read from .mtl file but never used; it is now used - as follows - -- illum==0 -> no osg::Material created/attached therefore no - lighting - -- illum==1 -> osg::Material specular is set to black - -- illum==2 (default) -> specular read from .mtl file is used - - 'map_Kd' and 'map_Ks' may contain additional arguments (e.g. - '-s 1 1 1'), - these are now skipped over and the texture filename is properly - extracted - " - -2007-12-10 19:51 robert - - * src/osgPlugins/osgText/IO_TextBase.cpp: From David Callu, IO - support for Text3D - -2007-12-10 19:49 robert - - * include/osgText/Text3D: From David Callu, Text3D - -2007-12-10 17:30 robert - - * applications/osgarchive/osgarchive.cpp, - applications/osgconv/osgconv.cpp, examples/osgcatch/osgcatch.cpp, - examples/osgdelaunay/osgdelaunay.cpp, - examples/osgdepthpeeling/DePee.cpp, - examples/osgdepthpeeling/osgdepthpeeling.cpp, - examples/osgfxbrowser/osgfxbrowser.cpp, - examples/osggeometry/osggeometry.cpp, - examples/osgimpostor/osgimpostor.cpp, - examples/osglogo/osglogo.cpp, examples/osgmovie/osgmovie.cpp, - examples/osgpagedlod/osgpagedlod.cpp, - examples/osgphotoalbum/osgphotoalbum.cpp, - examples/osgplanets/osgplanets.cpp, - examples/osgpoints/osgpoints.cpp, - examples/osgprerender/osgprerender.cpp, - examples/osgprerendercubemap/osgprerendercubemap.cpp, - examples/osgreflect/osgreflect.cpp, - examples/osgslice/osgslice.cpp, - examples/osgspheresegment/osgspheresegment.cpp, - examples/osgstereoimage/osgstereoimage.cpp, - examples/osgtexture1D/osgtexture1D.cpp, - examples/osgunittests/osgunittests.cpp, - examples/osgvolume/osgvolume.cpp, include/osg/ApplicationUsage, - include/osg/ArgumentParser, include/osg/Billboard, - include/osg/BlendColor, include/osg/BlendEquation, - include/osg/BlendFunc, include/osg/BoundingBox, - include/osg/BufferObject, include/osg/Camera, - include/osg/CameraView, include/osg/ClampColor, - include/osg/CollectOccludersVisitor, include/osg/CullSettings, - include/osg/DeleteHandler, include/osg/Depth, - include/osg/Drawable, include/osg/Export, include/osg/Fog, - include/osg/FragmentProgram, include/osg/FrameStamp, - include/osg/FrontFace, include/osg/Geode, include/osg/Geometry, - include/osg/GraphicsContext, include/osg/GraphicsThread, - include/osg/Group, include/osg/Hint, include/osg/LOD, - include/osg/Light, include/osg/LightModel, include/osg/Math, - include/osg/Matrixd, include/osg/Matrixf, - include/osg/Multisample, include/osg/Node, - include/osg/NodeVisitor, include/osg/Object, include/osg/Plane, - include/osg/Point, include/osg/PolygonMode, - include/osg/PolygonOffset, include/osg/Polytope, - include/osg/PrimitiveSet, include/osg/ProxyNode, - include/osg/Referenced, include/osg/Sequence, include/osg/Shader, - include/osg/ShadowVolumeOccluder, include/osg/ShapeDrawable, - include/osg/State, include/osg/StateAttribute, - include/osg/StateSet, include/osg/StencilTwoSided, - include/osg/TemplatePrimitiveFunctor, include/osg/TexEnvFilter, - include/osg/TexGen, include/osg/Texture, include/osg/Texture1D, - include/osg/Texture2D, include/osg/Texture2DArray, - include/osg/Texture3D, include/osg/TextureRectangle, - include/osg/Timer, include/osg/Transform, - include/osg/TriangleFunctor, include/osg/Uniform, - include/osg/Vec2b, include/osg/Vec2d, include/osg/Vec2s, - include/osg/Vec3b, include/osg/Vec3d, include/osg/Vec3f, - include/osg/Vec3s, include/osg/Vec4b, include/osg/Vec4d, - include/osg/Vec4f, include/osg/Vec4s, include/osg/Vec4ub, - include/osg/VertexProgram, include/osg/Viewport, - include/osg/io_utils, include/osgDB/DatabasePager, - include/osgDB/Export, include/osgDB/FileUtils, - include/osgDB/Registry, include/osgDB/SharedStateManager, - include/osgGA/AnimationPathManipulator, include/osgGA/EventQueue, - include/osgGA/GUIActionAdapter, include/osgGA/GUIEventAdapter, - include/osgGA/GUIEventHandler, - include/osgGA/KeySwitchMatrixManipulator, - include/osgGA/MatrixManipulator, - include/osgGA/NodeTrackerManipulator, - include/osgGA/TerrainManipulator, - include/osgGA/TrackballManipulator, include/osgGA/UFOManipulator, - include/osgShadow/ShadowTechnique, include/osgSim/ElevationSlice, - include/osgSim/HeightAboveTerrain, include/osgSim/ImpostorSprite, - include/osgSim/LineOfSight, include/osgTerrain/Locator, - include/osgTerrain/Terrain, include/osgTerrain/TerrainTechnique, - include/osgText/Font, include/osgText/String, - include/osgText/Text, include/osgUtil/IntersectionVisitor, - include/osgUtil/LineSegmentIntersector, - include/osgUtil/PlaneIntersector, - include/osgUtil/PolytopeIntersector, - include/osgViewer/CompositeViewer, include/osgViewer/Export, - include/osgViewer/GraphicsWindow, include/osgViewer/Scene, - include/osgViewer/View, include/osgViewer/Viewer, - include/osgViewer/ViewerBase, - include/osgViewer/api/Win32/GraphicsWindowWin32, - include/osgViewer/api/Win32/PixelBufferWin32, - src/osg/AnimationPath.cpp, src/osg/ApplicationUsage.cpp, - src/osg/ClipNode.cpp, src/osg/CullingSet.cpp, - src/osg/DeleteHandler.cpp, src/osg/DrawPixels.cpp, - src/osg/Drawable.cpp, src/osg/FrameBufferObject.cpp, - src/osg/Geode.cpp, src/osg/Geometry.cpp, - src/osg/GraphicsContext.cpp, src/osg/GraphicsThread.cpp, - src/osg/Node.cpp, src/osg/OperationThread.cpp, - src/osg/PolygonOffset.cpp, src/osg/PolygonStipple.cpp, - src/osg/Program.cpp, src/osg/Referenced.cpp, - src/osg/ShapeDrawable.cpp, src/osg/State.cpp, - src/osg/StateSet.cpp, src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2D.cpp, src/osg/Texture2DArray.cpp, - src/osg/Texture3D.cpp, src/osg/TextureRectangle.cpp, - src/osg/View.cpp, src/osg/dxtctool.cpp, - src/osgDB/DatabasePager.cpp, src/osgDB/DotOsgWrapper.cpp, - src/osgDB/Registry.cpp, src/osgGA/DriveManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, - src/osgManipulator/Projector.cpp, - src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/ive/DrawArrayLengths.cpp, - src/osgPlugins/ive/DrawElementsUByte.cpp, - src/osgPlugins/ive/DrawElementsUInt.cpp, - src/osgPlugins/ive/DrawElementsUShort.cpp, - src/osgPlugins/normals/Normals.cpp, - src/osgPlugins/osgViewer/View.cpp, - src/osgShadow/ParallelSplitShadowMap.cpp, - src/osgShadow/ShadowMap.cpp, src/osgShadow/ShadowTexture.cpp, - src/osgShadow/SoftShadowMap.cpp, src/osgSim/Impostor.cpp, - src/osgSim/LineOfSight.cpp, src/osgSim/SphereSegment.cpp, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Layer.cpp, - src/osgTerrain/TerrainTechnique.cpp, src/osgText/DefaultFont.cpp, - src/osgText/Font.cpp, src/osgText/String.cpp, - src/osgText/Text.cpp, src/osgUtil/IntersectVisitor.cpp, - src/osgUtil/IntersectionVisitor.cpp, src/osgUtil/Optimizer.cpp, - src/osgUtil/PlaneIntersector.cpp, src/osgUtil/RenderBin.cpp, - src/osgUtil/RenderStage.cpp, src/osgUtil/Simplifier.cpp, - src/osgUtil/Tessellator.cpp, src/osgUtil/TriStripVisitor.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/StatsHandler.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgViewer/ViewerEventHandlers.cpp: - From Roland Smeenk, "Attached you will find a large set of small - typo fixes (mainly in the comments)." - -2007-12-10 16:21 robert - - * src/osgWrappers/osgText/Font.cpp, - src/osgWrappers/osgText/Font3D.cpp, - src/osgWrappers/osgText/KerningType.cpp, - src/osgWrappers/osgText/Text.cpp, - src/osgWrappers/osgText/Text3D.cpp, - src/osgWrappers/osgText/TextBase.cpp: Updated wrappers - -2007-12-10 16:14 robert - - * applications/osgconv/osgconv.cpp: Added osgViewerGetVersion() - usage to force Windows to link osgViewer. - -2007-12-10 15:15 robert - - * examples/CMakeLists.txt, examples/osgtext3D, - examples/osgtext3D/CMakeLists.txt, - examples/osgtext3D/osgtext3D.cpp, include/osgText/Font, - include/osgText/Font3D, include/osgText/KerningType, - include/osgText/Text, include/osgText/TextBase, - src/osgPlugins/freetype/CMakeLists.txt, - src/osgPlugins/freetype/FreeTypeFont.h, - src/osgPlugins/freetype/FreeTypeFont3D.cpp, - src/osgPlugins/freetype/FreeTypeFont3D.h, - src/osgPlugins/freetype/FreeTypeFontBase.cpp, - src/osgPlugins/freetype/FreeTypeFontBase.h, - src/osgPlugins/freetype/FreeTypeLibrary.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.h, - src/osgPlugins/freetype/ReaderWriterFreeType.cpp, - src/osgPlugins/jp2/ReaderWriterJP2.cpp, - src/osgPlugins/osgText/CMakeLists.txt, - src/osgPlugins/osgText/IO_Text.cpp, - src/osgPlugins/osgText/IO_Text3D.cpp, src/osgText/CMakeLists.txt, - src/osgText/Font.cpp, src/osgText/Font3D.cpp, - src/osgText/Text.cpp, src/osgText/Text3D.cpp, - src/osgText/TextBase.cpp: From David Callu, added support of 3D - text to osgText and associated plugins. - -2007-12-10 12:45 robert - - * src/osgPlugins/shp/ESRIShapeReaderWriter.cpp: From David Callu, - added support for automatically reading associate dbase files - -2007-12-10 12:00 robert - - * src/osgPlugins/shp/XBaseParser.cpp: Char char[] to char* with new - allocation. - -2007-12-10 11:34 robert - - * src/osgPlugins/shp/XBaseParser.cpp: Refactored record allocation - to fix build errors under Windows. - -2007-12-10 11:20 robert - - * include/osgSim/ShapeAttribute: Added export macro for windows - build - -2007-12-10 10:16 robert - - * src/osg/DisplaySettings.cpp, src/osg/Image.cpp: Added - include to fix compile errors under gcc 4.3 - -2007-12-09 16:38 robert - - * src/osgPlugins/shp/ESRIShape.cpp, src/osgPlugins/shp/ESRIShape.h, - src/osgPlugins/shp/ESRIShapeParser.cpp: From Gustavo Wagner, - fixed bugs in reading M records from shapefile - -2007-12-09 16:29 robert - - * src/osgPlugins/vrml/ReaderWriterVRML2.cpp: From Gino van den - Bergen, "I've added the following features to the OSG VRML - plugin: - * Support for Box, Sphere, Cone, and Cylinder. These nodes are - converted - to osg::Geometry conform the VRML97 spec. - * Backface culling is enabled/disabled according to the "solid" - flag for - geometries that are converted from IndexFaceSets. - * PROTO instances can now be used for "appearance" and "geometry" - fields - in a Shape node. - - The file ReaderWriterVRML2.cpp is adapted for the latest stable - public - release: - - http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.2.0 - - The changes where needed for being able to read VRML file which - are - output by VMD (http://www.ks.uiuc.edu/Research/vmd/). A sample - VRML file - is enclosed in this submission. - - The plugin has been tested against a number of VRML samples that - include - texturing. The texturing is found to be VRML97 compliant for all - added - geometry nodes. - " - -2007-12-09 16:23 robert - - * include/osgSim/OpenFlightOptimizer, src/osgSim/CMakeLists.txt, - src/osgSim/OpenFlightOptimizer.cpp, - src/osgWrappers/osgSim/OpenFlightOptimizer.cpp: Removed redundent - OpenFlightOptimizer - -2007-12-09 16:14 robert - - * src/osg/Texture2DArray.cpp: From Ralf Karn, fixed "invalid - enumerant" warning on TEXTURE_2D_ARRAY_EXT initialization - -2007-12-09 16:06 robert - - * src/osgShadow/ShadowMap.cpp: From Mihai Radu, "After someone - asked for a fix for non-textured object appearing black - with the shader for textured objects. This works very well in - cases - where there could be a mix of textured and non-textured objects - in the - scene, and it makes the initialization more robust. - The idea is from PSSM, to add a 1pixel texture to the main - rendering as - to provide white for any objects missing textures." - -2007-12-09 16:01 robert - - * src/osgWrappers/osgSim/ShapeAttribute.cpp: Updated wrappers - -2007-12-09 15:43 robert - - * include/osgSim/ShapeAttribute, - src/osgPlugins/osgSim/CMakeLists.txt, - src/osgPlugins/osgSim/IO_ShapeAttribute.cpp, - src/osgPlugins/shp/CMakeLists.txt, - src/osgPlugins/shp/ESRIShape.h, src/osgPlugins/shp/ESRIType.h, - src/osgPlugins/shp/XBaseParser.cpp, - src/osgPlugins/shp/XBaseParser.h, src/osgSim/CMakeLists.txt, - src/osgSim/ShapeAttribute.cpp: From David Callu, added DBase - attribute support for shapefiles - -2007-12-09 14:54 robert - - * include/osg/Hint, src/osgWrappers/osg/Array.cpp, - src/osgWrappers/osg/ClipPlane.cpp, - src/osgWrappers/osg/Drawable.cpp, src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/Light.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/osgUtil/PolytopeIntersector.cpp, - src/osgWrappers/osgUtil/Statistics.cpp: Updated wrappers - -2007-12-09 12:19 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Aderian Egli, changed - the window dimension clamping code to work independantly for - width and height. - -2007-12-08 17:10 robert - - * src/osg/StateSet.cpp: From Mario Guimaraes, "Currently, in the - StateSet::merge method, the rhs state attributes and - modes are not merged into the lhs state when the rhs is - PROTECTED. The - changes I'm providing here address this problem." - -2007-12-08 17:04 robert - - * src/osgPlugins/CMakeLists.txt, src/osgWrappers/CMakeLists.txt: - From Serge Lages, "Hi Robert, - - You were right about the CMAKE_MODULE_LINKER_FLAGS option for - CMake, so here is a modification allowing to not generate the - manifest files for the plugins making them a lot more easy to - redistribute. I have also made the same modification to the - wrappers as they are also put into the osgPlugin folder when - generated. - " - -2007-12-08 17:00 robert - - * src/osg/Geometry.cpp: from Paul Matz, "Understood. Well, I think - it's reasonable to assume that the non-env var - case is the more tested case, and therefore it is correct to set - _supportsVertexBufferObjects to the same value as _fastPath. So - here's a - change that does the same thing for the env var case." - -2007-12-08 16:52 robert - - * src/osgPlugins/dae/CMakeLists.txt: From Jeremy Moles, Anders - Backman and Robert Osfield, - - both Jeremy and Anders added static build support as an option, - but one was - for Unix and one for Windowsm, but the two mods were also - inconsitent in naming - and implementation. I have had a bash at merging them both, but - don't know yet - if these changes will work yet on either configuration... user - testing will tell... - -2007-12-08 16:37 robert - - * examples/osgkeyboardmouse/osgkeyboardmouse.cpp, - include/osgUtil/PolytopeIntersector, - src/osgUtil/PolytopeIntersector.cpp: From Peter Hrenka, "Due to - popular demand I would like to submit this - enhanced version of PolytopeIntersector. - - - New features of PolytopeIntersector : - - * Dimension mask: The user may specify the dimensions of the - primitives to be tested. Checking polytope-triangle and - polytope-quad intersections is rather slow so this can - be turned off. - * Reference plane: The resulting intersections are sorted - by the distance to this plane. - - New memebers of PolytopeIntersector::Intersection : - - * distance: Distance of localIntersectionPoint to the reference - plane - * maxDistance: Maximum distance of all intersectionPoints to the - reference plane. - * intersectionPoints: The points intersecting the planes of the - polytope - or points completely inside the polytope. - * localIntersectionPoint: arithmetic mean of all intersection - points - * primitiveIndex: Index of the primitive that intersected - - - I added some more output to the example osgkeyboardmouse." - -2007-12-08 15:46 robert - - * examples/osgviewerQT/AdapterWidget.cpp, - examples/osgviewerQT/CMakeLists.txt, - examples/osgviewerQT/QOSGWidget.cpp, - examples/osgviewerQT/osgviewerQT.cpp: From David Cullu and Robert - Osfield, David addded a new style of OSG integration with QT by - sublcassing from QTWidget and using osgViewer to create the - graphics context, Robert added integration of this codes - with the original AdapterWidget implementation still available by - default. The new implementation can be accessed by running: - - osgviewerQT cow.osg --QOSGWidget - - -2007-12-08 15:32 robert - - * src/osgPlugins/quicktime/QTUtils.h: From Daniel Larimer, "There - was a error with QTUtils.h when compiling on HFS case-sensitive - file system. The #include line needs to be - replaced with #include to avoid compile problems on some systems. - -2007-12-07 13:28 robert - - * src/osgPlugins/OpenFlight/RoadRecords.cpp: From Tony Horrobin, - "Attached is a small fix for the openflight loader with regard to - road - segment and construction records. - - It just uses the id field to set the name of the osg node as with - other - types." - -2007-12-07 13:19 robert - - * src/osgDB/DatabasePager.cpp: From Paul Martz, minor typo fixes in - notify messages - -2007-12-06 17:53 robert - - * examples/osgmovie/osgmovie.cpp: From Bob Kuehne, added extra - event handlers - -2007-12-06 17:44 robert - - * src/osgPlugins/bmp/ReaderWriterBMP.cpp: From Farshid Lashkari, - "The bmp writer crashes in certain cases. It happens when the - computed - size of the image data is greater than the actual image size. - This - causes the memcpy call to go out of the array bounds. I modified - the - code so that it copies the data during the iteration, instead of - memcpy'ing. This fixes the problems i was having. - - If you are curious, the writer was crashing when trying to write - an - RGB image that was 2050 x 1280. You might be able to reproduce it - by - allocating an empty image of that size and writing it to a file." - -2007-12-06 17:41 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Hautio Jari, "Current - version of GraphicsWindowWin32 allows resize to zero height - window. This breaks rendering in for example MFC SDI applications - and in - MFC MDI applications if user resizes the window so that client - area has - zero height. Current safeguard for minimized window: - - LRESULT GraphicsWindowWin32::handleNativeWindowingEvent( HWND - hwnd, UINT - uMsg, WPARAM wParam, LPARAM lParam ) - ... - ///////////////// - case WM_MOVE : - case WM_SIZE : - ///////////////// - ... - if (clientRect.bottom==0 && clientRect.right==0) - ... - - does not cover this situation. In these situations - clientRect.bottom = 0 - and clientRect.right > 0. - - Quick fix to this is relax condition: - if (clientRect.bottom==0 || clientRect.right==0) - - Modified file is attached. - - Tested with osgviewerMFC from 2.2.0 release (Windows XP sp2) - - Before fix: - - execute from command line osgviewerMFC.exe cow.osg. - - the cow is rendered nicely. - - resize window to zero height by dragging from bottom border - upwards. - - resize window back to original height - - just blue screen, no cow - - After fix: - - execute from command line osgviewerMFC.exe cow.osg. - - the cow is rendered nicely. - - resize window to zero height by dragging from bottom border - upwards. - - resize window back to original height - - the cow is where it is supposed to be. - " - -2007-12-06 17:31 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: From - Serge Lages, "Here are some modifications to the DatabasePager, - with the possibility to : - - - Get or set the target number of PagedLOD children to remove per - frame. - - Get or set the minimum number of inactive PagedLOD to keep. - - Corresponding environment variables have been added too. - The default values reproduce the previous DatabasePager - behavior." - -2007-12-06 17:28 robert - - * include/osgViewer/api/X11/GraphicsWindowX11, - src/osgViewer/GraphicsWindowX11.cpp: From Cedric Pinson, fixes - for toggle fullscreen on gnome desktop - -2007-12-06 17:07 robert - - * examples/osgfadetext/CMakeLists.txt: From Mathias Froehlich, "n - examples/osgfadetext/CMakeLists.txt osgSim as dependency is - missing." - -2007-12-06 17:03 robert - - * src/osgPlugins/hdr/hdrwriter.cpp, src/osgPlugins/hdr/hdrwriter.h: - From Mathias Froehlich, "Add missing includes. Fails on hp-ux." - -2007-12-06 17:01 robert - - * examples/osgunittests/osgunittests.cpp: From Mathias Froehlich, - "Attached is a changed version of osgunittests.cpp. The - __FUNCTION__ - macro/string value is not portable. Instead the functions name is - just put - into the string." - -2007-12-06 16:50 robert - - * src/osgDB/Registry.cpp: From Wojiech Leandowski, fixed the - hardwiring of archive extensions to 4 charaters - -2007-12-06 10:04 robert - - * src/osgPlugins/cfg/ReaderWriterCFG.cpp: Fixed crash in cfg by - rearranging the code blocks so the codes that use the graphics - context are only called when a graphics context is successfully - aquired. - -2007-12-06 09:22 robert - - * src/osgPlugins/cfg/CMakeLists.txt: From Ulrich Hertlein, added - osgViewer dependency for OSX build - -2007-12-05 18:32 robert - - * src/osgPlugins/cfg/RenderSurface.cpp: Changed WIN32 guard to - _WIN32_IMPLEMENTATION to attempt to avoid Win32 build error - -2007-12-05 11:29 robert - - * src/osgPlugins/cfg/ReaderWriterCFG.cpp: Removed debugging line. - -2007-12-05 11:23 robert - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/cfg, - src/osgPlugins/cfg/CMakeLists.txt, src/osgPlugins/cfg/Camera.cpp, - src/osgPlugins/cfg/Camera.h, src/osgPlugins/cfg/CameraConfig.cpp, - src/osgPlugins/cfg/CameraConfig.h, - src/osgPlugins/cfg/ConfigLexer.cpp, - src/osgPlugins/cfg/ConfigLexer.l, - src/osgPlugins/cfg/ConfigParser.cpp, - src/osgPlugins/cfg/ConfigParser.h, - src/osgPlugins/cfg/ConfigParser.y, - src/osgPlugins/cfg/FlexLexer.h, - src/osgPlugins/cfg/ReaderWriterCFG.cpp, - src/osgPlugins/cfg/RenderSurface.cpp, - src/osgPlugins/cfg/RenderSurface.h, - src/osgPlugins/cfg/VisualChooser.cpp, - src/osgPlugins/cfg/VisualChooser.h: From Cedric Pinson, first cut - at Producer .cfg camera configuration file support. +Wed, 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. -2007-12-04 14:46 robert - * include/osg/Drawable, include/osg/PrimitiveSet, - include/osg/TemplatePrimitiveFunctor, - include/osg/TriangleFunctor, include/osg/TriangleIndexFunctor, - include/osgUtil/Statistics, src/osg/Drawable.cpp, - src/osg/Geometry.cpp, - src/osgPlugins/obj/OBJWriterNodeVisitor.cpp, - src/osgUtil/Optimizer.cpp: Added support for new double Vec*Array - classes in various functors. -2007-12-04 14:46 robert - * src/osgPlugins/shp/ESRIShapeParser.cpp, - src/osgPlugins/shp/ESRIShapeParser.h, - src/osgPlugins/shp/ESRIShapeReaderWriter.cpp: Added optional - double support via new Vec3dArray support in osg::Geometry. - - To enable double usage set the option string "double" i.e. - - osgviewer myshapefile.shf -O "double" - +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. -2007-12-04 14:44 robert +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. - * src/osgPlugins/osg/Geometry.cpp: Added support for double - Vec*Array objects -2007-12-04 14:44 robert - * include/osg/Array, src/osg/Array.cpp: Added double Vec*Array - support -2007-12-04 14:43 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. - * examples/osgunittests/osgunittests.cpp: Added testPolytope entry -2007-12-01 15:30 robert - * include/osg/Polytope: Fixed the Polytop::setFrustum and - setBoundingBox method -2007-11-21 10:18 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. - * src/osg/GraphicsContext.cpp: Added a check against the - makeCurrent() return type to make sure that OpenGL - calls are only made if the makeCurrent() is successful. +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. -2007-11-17 11:50 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] - * examples/osgmovie/osgmovie.cpp: From Colin Dunlop, add --devices - support. -2007-11-13 17:03 robert - * src/osgPlugins/osgTerrain/Terrain.cpp: Added support for filename - only setup of CompositeLayer on reading/writing. -2007-11-10 03:43 ewing +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]". - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - Added missing files for qt plugin -2007-11-09 20:04 ewing - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - For osgdb_freetype: - Ugh. Another fix for the cycle problem. It seems that the SDKROOT - didn't necessarily solve the problem, but there were some - unneeded library dependencies that weren't in my test fork which - allowed my test to work, but caused SVN to fail. - I have removed some of the excess libraries and it seems to build - without the Q&A fix. -2007-11-09 13:16 ewing +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. - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - OpenThreads Version header was mistakenly in Resources. - - osg Texture2DArray header was mistakenly in Resources. +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". -2007-11-09 02:21 ewing - * Xcode/OSX_OSG_README.rtf: Lots of Leopard information added. +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". -2007-11-08 10:30 robert - * src/osgPlugins/quicktime/QuicktimeLiveImageStream.h: From Colin - Dunlop, added missing header (note from Robert Osfield, this - submission was extracted from an inline submission so may be - prone to errors). -2007-11-08 10:30 ewing - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - For Leopard freetype, path is $(SDKROOT)/usr/X11/lib not X11R6. +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. -2007-11-06 12:07 robert - * src/osgPlugins/quicktime/CMakeLists.txt, - src/osgPlugins/quicktime/QTLiveUtils.cpp, - src/osgPlugins/quicktime/QTLiveUtils.h, - src/osgPlugins/quicktime/QuicktimeLiveImageStream.cpp, - src/osgPlugins/quicktime/ReaderWriterQT.cpp: From Colin Dunlop, - add live video stream support -2007-11-04 16:08 robert - * examples/osgmovie/osgmovie.cpp, - src/osgPlugins/quicktime/QuicktimeImageStream.cpp, - src/osgPlugins/xine/ReaderWriterXine.cpp: Added support for - setting volume in xine plugin, manual adjustment of volume - in osgmove example, and clamping to 0 to 1.0 range in quicktime - plugin +Tue, 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. -2007-11-04 15:21 robert - * src/osgPlugins/txp/CMakeLists.txt: Changed the include definition - so that it works under Cygwin. -2007-11-03 10:32 robert - * src/osg/View.cpp: Fixed bug in addSlave +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". -2007-10-31 12:55 robert +Tue, 26 Apr 2011 15:24:21 +0000 +Checked in by : Robert Osfield +Updated version after 2.9.13 dev release - * src/osgViewer/View.cpp: Changed the spherical display intensity - map set up to use colours rather than - a second texture unit. +Tue, 26 Apr 2011 14:55:19 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and AUTHORS for 2.9.13 dev release -2007-10-31 12:55 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" - * include/osg/Image, src/osg/Image.cpp: Added getColor method to - allow easy reading of individual pixels. +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". +" -2007-10-31 11:06 robert - * src/osgViewer/View.cpp: Fixed wrap mode for panoramic display. -2007-10-30 14:17 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." - * src/osgPlugins/osgTerrain/Terrain.cpp: Changed debug message from - NOTICE to INFO. +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/ -2007-10-29 00:36 ewing +Works in recent ubuntu with cmake-2.8.4 and msvc2010 with cmake-2.8.2" - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - Fix for freetype plugin to be aware of SDKs (i.e. use SDKROOT). -2007-10-25 09:00 robert - * src/osgPlugins/osgFX/CMakeLists.txt: Fixed the capitilization of - the osgdb_osgfx plugin - -2007-10-19 09:58 robert - - * src/osg/Geometry.cpp: Fixed errors is setup of VBO/EBO's. - -2007-10-19 08:42 robert - - * src/osg/View.cpp: Fix for setting scene data after slaves have - been added. - -2007-10-19 08:39 robert - - * src/osg/Geometry.cpp: Fixed getOrCreateVertexBufferObject(). - -2007-10-17 19:01 robert - - * src/osgViewer/GraphicsWindowX11.cpp: Removed redundent - X11/Intrinsic include - -2007-10-16 19:04 robert - - * src/osgDB/Registry.cpp: Added flv to accepted list video format - for the quicktime and xine-lib plugins - -2007-10-16 19:03 robert - - * src/osgPlugins/quicktime/ReaderWriterQT.cpp: Added flv to - accepted list of formats - -2007-10-16 19:01 robert - - * src/osgPlugins/xine/ReaderWriterXine.cpp: Added flv to the list - of accepted movie types - -2007-10-05 11:48 ewing - - * Xcode/OpenSceneGraph/os-Info.plist, - Xcode/OpenSceneGraph/osg-Info.plist, - Xcode/OpenSceneGraph/osgDB-Info.plist, - Xcode/OpenSceneGraph/osgFX-Info.plist, - Xcode/OpenSceneGraph/osgGA-Info.plist, - Xcode/OpenSceneGraph/osgGL2-Info.plist, - Xcode/OpenSceneGraph/osgGLUTkeyboardmouse-Info.plist, - Xcode/OpenSceneGraph/osgGLUTsimple-Info.plist, - Xcode/OpenSceneGraph/osgManipulator-Info.plist, - Xcode/OpenSceneGraph/osgParticle-Info.plist, - Xcode/OpenSceneGraph/osgShadow-Info.plist, - Xcode/OpenSceneGraph/osgSim-Info.plist, - Xcode/OpenSceneGraph/osgTerrain-Info.plist, - Xcode/OpenSceneGraph/osgText-Info.plist, - Xcode/OpenSceneGraph/osgUtil-Info.plist, - Xcode/OpenSceneGraph/osgViewer-Info.plist, - Xcode/OpenSceneGraph/osganimate-Info.plist, - Xcode/OpenSceneGraph/osgarchive-Info.plist, - Xcode/OpenSceneGraph/osgautotransform-Info.plist, - Xcode/OpenSceneGraph/osgbillboard-Info.plist, - Xcode/OpenSceneGraph/osgblendequation-Info.plist, - Xcode/OpenSceneGraph/osgcallback-Info.plist, - Xcode/OpenSceneGraph/osgcamera-Info.plist, - Xcode/OpenSceneGraph/osgcameragroup-Info.plist, - Xcode/OpenSceneGraph/osgcatch-Info.plist, - Xcode/OpenSceneGraph/osgclip-Info.plist, - Xcode/OpenSceneGraph/osgcluster-Info.plist, - Xcode/OpenSceneGraph/osgcompositeviewer-Info.plist, - Xcode/OpenSceneGraph/osgconv-Info.plist, - Xcode/OpenSceneGraph/osgcopy-Info.plist, - Xcode/OpenSceneGraph/osgcubemap-Info.plist, - Xcode/OpenSceneGraph/osgdb_freetype-Info.plist, - Xcode/OpenSceneGraph/osgdb_freetype2-Info.plist, - Xcode/OpenSceneGraph/osgdb_osgText-Info.plist, - Xcode/OpenSceneGraph/osgdelaunay-Info.plist, - Xcode/OpenSceneGraph/osgdepthpartition-Info.plist, - Xcode/OpenSceneGraph/osgdepthshadow-Info.plist, - Xcode/OpenSceneGraph/osgdistortion-Info.plist, - Xcode/OpenSceneGraph/osgfadetext-Info.plist, - Xcode/OpenSceneGraph/osgforest-Info.plist, - Xcode/OpenSceneGraph/osgfxbrowser-Info.plist, - Xcode/OpenSceneGraph/osggeometry-Info.plist, - Xcode/OpenSceneGraph/osghangglide-Info.plist, - Xcode/OpenSceneGraph/osghud-Info.plist, - Xcode/OpenSceneGraph/osgimposter-Info.plist, - Xcode/OpenSceneGraph/osgintrospection-Info.plist, - Xcode/OpenSceneGraph/osgkeyboard-Info.plist, - Xcode/OpenSceneGraph/osgkeyboardmouse-Info.plist, - Xcode/OpenSceneGraph/osglauncher-Info.plist, - Xcode/OpenSceneGraph/osglightpoint-Info.plist, - Xcode/OpenSceneGraph/osglist-Info.plist, - Xcode/OpenSceneGraph/osglogicop-Info.plist, - Xcode/OpenSceneGraph/osglogo-Info.plist, - Xcode/OpenSceneGraph/osgmanipulatorexample-Info.plist, - Xcode/OpenSceneGraph/osgmotionblur-Info.plist, - Xcode/OpenSceneGraph/osgmovie-Info.plist, - Xcode/OpenSceneGraph/osgmultitexture-Info.plist, - Xcode/OpenSceneGraph/osgocculder-Info.plist, - Xcode/OpenSceneGraph/osgpagedlod-Info.plist, - Xcode/OpenSceneGraph/osgparametric-Info.plist, - Xcode/OpenSceneGraph/osgparticleExample-Info.plist, - Xcode/OpenSceneGraph/osgparticleeffects-Info.plist, - Xcode/OpenSceneGraph/osgphotoalbum-Info.plist, - Xcode/OpenSceneGraph/osgpick-Info.plist, - Xcode/OpenSceneGraph/osgplanets-Info.plist, - Xcode/OpenSceneGraph/osgpoints-Info.plist, - Xcode/OpenSceneGraph/osgpointsprite-Info.plist, - Xcode/OpenSceneGraph/osgprecipitation-Info.plist, - Xcode/OpenSceneGraph/osgprerender-Info.plist, - Xcode/OpenSceneGraph/osgprerendercubemap-Info.plist, - Xcode/OpenSceneGraph/osgreflect-Info.plist, - Xcode/OpenSceneGraph/osgscalarbar-Info.plist, - Xcode/OpenSceneGraph/osgscribe-Info.plist, - Xcode/OpenSceneGraph/osgsequence-Info.plist, - Xcode/OpenSceneGraph/osgshaders-Info.plist, - Xcode/OpenSceneGraph/osgshaderterrain-Info.plist, - Xcode/OpenSceneGraph/osgshadowexample-Info.plist, - Xcode/OpenSceneGraph/osgshadowtexture-Info.plist, - Xcode/OpenSceneGraph/osgshape-Info.plist, - Xcode/OpenSceneGraph/osgsimplifier-Info.plist, - Xcode/OpenSceneGraph/osgsimulation-Info.plist, - Xcode/OpenSceneGraph/osgslice-Info.plist, - Xcode/OpenSceneGraph/osgslideshow-Info.plist, - Xcode/OpenSceneGraph/osgspacewarp-Info.plist, - Xcode/OpenSceneGraph/osgspheresegment-Info.plist, - Xcode/OpenSceneGraph/osgspotlight-Info.plist, - Xcode/OpenSceneGraph/osgstereoimage-Info.plist, - Xcode/OpenSceneGraph/osgteapot-Info.plist, - Xcode/OpenSceneGraph/osgtessellate-Info.plist, - Xcode/OpenSceneGraph/osgtextexample-Info.plist, - Xcode/OpenSceneGraph/osgtexture1D-Info.plist, - Xcode/OpenSceneGraph/osgtexture2D-Info.plist, - Xcode/OpenSceneGraph/osgtexture3D-Info.plist, - Xcode/OpenSceneGraph/osgtexturerectangle-Info.plist, - Xcode/OpenSceneGraph/osgunittests-Info.plist, - Xcode/OpenSceneGraph/osgversion-Info.plist, - Xcode/OpenSceneGraph/osgvertexprogram-Info.plist, - Xcode/OpenSceneGraph/osgviewerApplication-Info.plist, - Xcode/OpenSceneGraph/osgviewerGLUT-Info.plist, - Xcode/OpenSceneGraph/osgviewerSDL-Info.plist, - Xcode/OpenSceneGraph/osgvolume-Info.plist, - Xcode/OpenSceneGraph/osgwindows-Info.plist, - Xcode/OpenThreads/Info.plist: Forgot to bump version numbers to - 2.2.0. - -2007-10-05 11:28 ewing - - * Xcode/OSX_OSG_README.rtf, Xcode/XcodeTemplates/OSG - Application/osgApp_Prefix.pch: Needed to remove dead header from - precompiled header file. - Minor fixes to readme. - -2007-10-05 10:46 robert - - * include/osg/Texture: From Mathias Froehlich, "since we patched - our hp to an other patchlevel, I need the following to - include/osg/Texture" - -2007-10-05 09:10 robert - - * src/osgPlugins/hdr/hdrwriter.cpp, src/osgViewer/ViewerBase.cpp: - From Andy Skinner, build fixes for Solaris. - -2007-10-05 09:03 robert - - * examples/osgphotoalbum/osgphotoalbum.cpp: Changed the threading - model to single threaded. - -2007-10-04 11:24 robert - - * ChangeLog: Updated ChangeLog for 2.2 release - -2007-10-04 11:20 robert - - * include/osgGA/GUIActionAdapter, include/osgViewer/View, - src/osgWrappers/osgGA/GUIActionAdapter.cpp, - src/osgWrappers/osgViewer/View.cpp: Added asView() method to - GUIActionAdapter to help out with .NET wrappers. Updated wrappers - -2007-10-04 10:05 robert - - * AUTHORS.txt, CMakeLists.txt, NEWS.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc, - packaging/pkgconfig/openthreads.pc: Updated version for 2.2 - release - -2007-10-04 08:54 robert - - * src/osgPlugins/gdal/DataSetLayer.cpp, - src/osgPlugins/gdal/DataSetLayer.h, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp: From Trajce Nikolov, - added support for extract a region for geospatial imagery - -2007-10-03 23:44 robert - - * AUTHORS.txt, ChangeLog, NEWS.txt, - applications/osgversion/osgversion.cpp: Updated ChangeLog, NEWS - and AUTHORS file for 2.1.15 release - -2007-10-03 23:27 robert - - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Updated version for 2.1.15 - dev release - -2007-10-03 23:03 robert - - * src/osgText/Text.cpp: From Panagiotis Papadakos, "Setting the - maximum height of osgText doen't seem to work. If the text is - big enough, it exceeds the height that I gave as input to - setMaximumHeight. So check if cursor is out of -_maximumHeight." - -2007-10-03 23:01 robert - - * CMakeLists.txt: Added support for defining an option - OSG_GLU_TESS_CALLBACK_TRIPLEDOT within the - CMake build system, enabling this option will build the OSG - against the (...) version - of the tesselation callback functions. - - One can also set the default value of this option via the - DEFAULT_GLU_TESS_CALLBACK_TRIPLEDOT - variable that is set locally to OFF for all platforms except AIX - and OSX, but can - be overriden by setting it via command line option i.e. - - cmake . -DDDEFAULT_GLU_TESS_CALLBACK_TRIPLEDOT=ON - +Thu, 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. -2007-10-03 21:12 shuber +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. - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - updated XCode projects +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." -2007-10-03 20:21 robert - * CMakeLists.txt, include/osg/GLU: Added - GLU_TESS_CALLBACK_TRIPLEDOT path into include/osg/GLU and enabled - this - for AIX as reading the old paths this was required. This looks - like it is needed - under Xcode build as well. -2007-10-03 19:54 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..." - * src/osgDB/Registry.cpp: Removed double return error -2007-10-03 12:49 robert - * AUTHORS.txt, CMakeLists.txt, README.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Updated version, authors - and change log for the 2.1.14 release +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. -2007-10-03 12:48 robert +In my situation, this prevents a GL 3.x context from being created. +" - * examples/osgshadow/osgshadow.cpp, src/osgShadow/ShadowMap.cpp: - From Mahai Radu, improvements to handling of spotlights -2007-10-03 12:04 robert - * src/osgDB/Registry.cpp: Refactored the plugin and library naming - to fix Cygwin plugin loaded issues. +Thu, 21 Apr 2011 12:53:22 +0000 +Checked in by : Robert Osfield +From Jorge Ciges, "1rst - Changes in Cmake: They make possible "make install" with the android building.2nd - Script to use a 3rd party directory with basic libraries: libjpeg,libpng,libtiff,giflib,freetype,curl,gdal. -2007-10-03 10:38 robert +3rd - Change in the GLES library loading for Android. That should make GLES2 work properly. - * NEWS.txt: Added preliminary press release +4rth- Included two defines RGB8_OES and RGBA8_OES as a substitute in GLES for RGB8 and RGBA8 -2007-10-03 10:36 robert +5th - OpenGL and GLSL version identification changed to recognize GLES versions properly +" - * src/osgPlugins/net/sockstream.cpp: From Alberto Luaces, build fix - for Cygwin. -2007-10-03 08:34 robert - * src/osgViewer/ViewerBase.cpp: Added return 0 to fix warning +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)) {...} -2007-10-02 21:45 robert +in the model I have tested cot->getParam()->getRef() return 0x0 and make +it crahes inside GetFloat4Param. - * src/osgWrappers/osgShadow/ShadowMap.cpp: Updated wrappers +I have added a test before calling GetFloat4Param +if (cot->getParam()->getRef() != 0 && +GetFloat4Param(cot->getParam()->getRef(), f4)) {...} +" -2007-10-02 21:45 robert - * examples/osgshadow/osgshadow.cpp, include/osgShadow/ShadowMap, - src/osgShadow/ShadowMap.cpp: From Mihair Radu, "Most of the - additions are small utility methods: - - set the resolution of the shadow map; it calls dirty() to - re-initialize at next update - - keep a list of Shader objects to use instead of the default - ones, if - the list is empty, the default shaders are used - - explicitly create the Uniform variables, so that subsequent - additions - that require more Uniforms can put them in a central place - - set a Light or LightSource to use explicitly for shadow - casting, - allows multiple lights in the scene, with one casting shadows - - There are two additions that do not ( yet ) function correctly, - but in - the present usage they do not interfere with the regular usage of - the - techique: - - support for using spotlights, it's using Light.spotCutoff to - determine - if it's a spot-light and not point-light, - there is an error in the setup of either the shadow camera or the - texgen, most likely due to the direction of the spotlight, since - the - position is being used just like in point or directional lights. - - creation of a debugHUD - the hud is created properly, ( the example included shows it ), - but - it displays only white, there has been some discussion of - displaying the - shadow map, but I could not find it, the addition of a simple - fragment - shader with the appropriate color transform should get this - going." -2007-10-02 21:28 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{ - * src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/Viewer.cpp, - src/osgWrappers/osgViewer/ViewerBase.cpp: Updated wrappers + PORTRAIT_ORIENTATION = 1<<0, -2007-10-02 21:26 robert + PORTRAIT_UPSIDEDOWN_ORIENTATION = 1<<1, - * CMakeLists.txt, examples/osgintrospection/osgintrospection.cpp, - src/osgDB/Registry.cpp, src/osgPlugins/CMakeLists.txt, - src/osgWrappers/CMakeLists.txt: Introduced a OSG_PLUGIN_PREFIX - variable into CMake build system with it set to - "" for all platforms except Cygwin where its set to "cygwin_" and - Mingw where - it is set to "mingw_". Updated osgDB::Registry to look for these - for the plugins. - Updated the osgintrospection example to search for these names as - well. + LANDSCAPE_LEFT_ORIENTATION = 1<<2, -2007-10-02 21:24 robert + LANDSCAPE_RIGHT_ORIENTATION = 1<<3, - * examples/osgcompositeviewer/osgcompositeviewer.cpp: Updated to - reflect new CompositeViewer threading models + ALL_ORIENTATIONS = PORTRAIT_ORIENTATION | PORTRAIT_UPSIDEDOWN_ORIENTATION | LANDSCAPE_LEFT_ORIENTATION | LANDSCAPE_RIGHT_ORIENTATION -2007-10-02 21:23 robert + }; - * include/osgViewer/CompositeViewer, include/osgViewer/Viewer, - include/osgViewer/ViewerBase, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/Viewer.cpp, src/osgViewer/ViewerBase.cpp: Merged - the threading set up and rendering code from Viewer and - CompositeViewer - into ViewerBase to allow CompositeViewer to inherit the same - theading models - previously just supported by osgViewer::Viewer + typedef unsigned int DeviceOrientationFlags; -2007-10-02 20:56 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. +" - * CMakeLists.txt: Changed the search for Qt version to prevent - problems when having both Qt3 and Qt4 installed on one machine. -2007-10-02 20:55 robert - * src/osgGA/StateSetManipulator.cpp: Added a #ifdef 0 code block to - test setting of the StateSetManipulator's DataVariance to DYNAMIC - to solve a threading issue relating to mixing of - StateSetManipulator and - DrawThreadPerContext. +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. -2007-10-02 20:54 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. - * include/osg/GLU: Changed the GLU_TESS_CALLBACK in an attempt to - avoid compile problems under OSX. -2007-10-02 20:45 robert - * applications/osgversion/CMakeLists.txt: From Andy Skinner, - changes the library linkage to just include osg and OpenThreads - -2007-10-01 15:11 robert - - * src/osgPlugins/hdr/hdrwriter.cpp: Removed redundent malloc. - -2007-10-01 11:02 robert - - * src/osgViewer/GraphicsWindowX11.cpp: From David Callu, various - fixes for window inheritance - -2007-10-01 10:23 robert - - * AUTHORS.txt: Updated AUTHORS for 2.1.13 release +Wed, 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. -2007-10-01 10:21 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" - * CMakeLists.txt, ChangeLog, README.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc, - packaging/pkgconfig/openthreads.pc: Updated Version number for - 2.1.13 and updated ChangeLog. +Tue, 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." -2007-10-01 09:41 robert - * src/osgViewer/GraphicsWindowX11.cpp: Changed requestWarpPointer - to use _eventDislay to avoid crash in osghanglide example due - to async usage. -2007-10-01 08:50 robert +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." - * include/osg/Image, include/osg/Math, src/osg/Image.cpp, - src/osg/Texture1D.cpp, src/osg/Texture2D.cpp, - src/osg/Texture2DArray.cpp, src/osg/Texture3D.cpp, - src/osg/TextureCubeMap.cpp, src/osgWrappers/osg/Image.cpp: - Removed log2 and replaced the places where is was used with a new - Image::computeNumberOfMipmapLevels method. +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. +" -2007-09-30 20:16 shuber - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - updated XCode-projects -2007-09-30 19:56 robert +Tue, 19 Apr 2011 11:46:05 +0000 +Checked in by : Robert Osfield +Removed spaces from end of lines - * src/osgWrappers/osgDB/Registry.cpp: 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 -2007-09-30 19:53 robert +Tue, 19 Apr 2011 09:54:14 +0000 +Checked in by : Robert Osfield +Improved the handling of unitialized bounding box - * applications/osgconv/osgconv.cpp, include/osgDB/Registry, - include/osgDB/WriteFile, src/osgDB/Registry.cpp, - src/osgDB/WriteFile.cpp: From Paul Martz, "here's the - osgDB::Registry changes to add Options to the read*File() - interface. As we discussed, this preserves the old interface for - backwards compatibility. - - osgconv also changed to use the new Registry::writeNode() - interface. No other applications or examples were affected." +Tue, 19 Apr 2011 09:53:34 +0000 +Checked in by : Robert Osfield +Cleaned up example -2007-09-30 19:39 robert +Mon, 18 Apr 2011 12:58:28 +0000 +Checked in by : Robert Osfield +Updated SO version number - * src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers +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. -2007-09-30 19:27 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." - * examples/osgcompositeviewer/osgcompositeviewer.cpp, - src/osgViewer/ViewerEventHandlers.cpp: Added support for - CompositeViewer to WindowSizeHandler, ThreadingHandler, - RecordCameraPathManipulator and HelpHandler. - -2007-09-30 19:15 robert - - * examples/osgcompositeviewer/osgcompositeviewer.cpp, - include/osgViewer/ViewerEventHandlers, - src/osgViewer/HelpHandler.cpp: Changed HelpHandler so it supports - use with CompositeViewer and Viewer +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 -2007-09-30 18:43 robert +fit to 80 columns. This avoids difficult to read line breaks added by the +terminal program itself." - * src/osgPlugins/hdr/CMakeLists.txt: Added hdwriter to CMake build - -2007-09-30 18:42 robert - - * src/osgPlugins/hdr/ReaderWriterHDR.cpp, - src/osgPlugins/hdr/hdrwriter.cpp, src/osgPlugins/hdr/hdrwriter.h: - From David Spilling, "Please find attached an extension of the - Radiance HDR (RGBE) image reader to support writing. - - The options are intended to match the existing read options. By - default it will only write RGB32F format; if the "RAW" option is - selected, it will output 8 bit RGBA as "raw" RGBE. Note also that - the writer inserts a flipVertical(); although the RGBE format, - according to spec, should support top-to-bottom or bottom-to-top - ordering, no software I've found, including that from the formats - originator, actually respects this." - -2007-09-30 18:33 robert - - * src/osgPlugins/Inventor/ConvertToInventor.cpp, - src/osgPlugins/Inventor/ConvertToInventor.h, - src/osgPlugins/Inventor/ReaderWriterIV.cpp: From Jan Peciva, "I - am submitting improved Inventor (iv) writer. - - List of changes: - - added support for Billboards and LOD - - improved Material handling - " - -2007-09-30 16:24 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - updated xcode-projects - -2007-09-30 15:24 robert - - * genwrapper.conf, src/osgWrappers/osgViewer/Scene.cpp, - src/osgWrappers/osgViewer/ViewerBase.cpp: Updated wrappers - -2007-09-30 15:07 robert - - * src/osgWrappers/osgText/Text.cpp: Updated wrappers - -2007-09-30 15:06 robert - - * include/osgText/Text, src/osgText/Text.cpp: From Dan Minor, - "osgText::Text does not currently have a getAxisAlignment method. - The - attached code adds this, along with a member variable to keep - track of - the setting. It is based on the latest subversion version, and - was - tested by creating a new text object with the same axis alignment - as an - existing one (e.g. - new_text->setAxisAlignment(old_text->getAxisAlignment()); )." - - From Robert Osfield, " I originally didn't add a - getAxisAlignment() - as all setAxisAlignment does is set the Rotation member variable, - and - potentially one could apply user defined Rotation setting after - the - setAxisAlignment() which would bring it out of sync with the - setAxisAlignment. - - Rather than reject your submission on the ground of potentially - getting out of sync and therefore misleading users I've added a - USED_DEFINED_ROTATION to AxisAlignment enum, and set this in the - serRotation and then override this setting of _axisAlignment in - the - setAxisAlingment method. I've also removed the lazy updating - optimization you've added to the top of setAxisAlignment to avoid - potential problems as well." - -2007-09-30 11:37 robert - - * include/osg/View, include/osgViewer/CompositeViewer, - include/osgViewer/View, include/osgViewer/Viewer, - include/osgViewer/ViewerBase, - include/osgViewer/ViewerEventHandlers, - src/osgViewer/CMakeLists.txt, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/StatsHandler.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgViewer/ViewerBase.cpp, - src/osgWrappers/osg/View.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp, - src/osgWrappers/osgViewer/ViewerBase.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Moved - ViewerBase class out into its own header and source file. - - Improved the support for stats collection in - CompositeViewer/StatsHandler. - -2007-09-29 16:46 robert - - * include/osg/View, include/osgViewer/CompositeViewer, - include/osgViewer/Export, include/osgViewer/View, - include/osgViewer/Viewer, include/osgViewer/ViewerEventHandlers, - src/osgPlugins/osgViewer/CompositeViewer.cpp, - src/osgPlugins/osgViewer/View.cpp, - src/osgPlugins/osgViewer/Viewer.cpp, - src/osgViewer/CompositeViewer.cpp, - src/osgViewer/StatsHandler.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgWrappers/osg/View.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Refactor - Viewer/CompositeViewer so the both inherit from the a ViewerBase - class - -2007-09-29 11:41 robert - - * examples/osgcompositeviewer/osgcompositeviewer.cpp, - include/osgViewer/View, include/osgViewer/Viewer, - include/osgViewer/ViewerEventHandlers, - src/osgViewer/CompositeViewer.cpp, - src/osgViewer/StatsHandler.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: From Stephan Huber, add basic support - for CompositeViewer in StatsHandler - -2007-09-29 11:12 robert - - * include/osgDB/ReaderWriter, - src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/daeReader.h, src/osgPlugins/dae/daeWriter.h, - src/osgWrappers/osgDB/ReaderWriter.cpp: From Mattias Linde, - "Nice, this almost gets the job done, one way communication into - the plugin is possible. - I've done some additional small modification regarding constness - in ReaderWriter and added - mutable on _pluginData so passing data back would be possible - too. - - Have updated the collada plugin (ReaderWriterDAE.cpp) to use the - map to handle options and - have attached the changes. - - The stuff in daeReader.h and daeWriter.h are just cosmetic - changes to get rid of a warning." - -2007-09-28 13:42 robert - - * src/osgViewer/View.cpp: Fixed SphericalDisplay set up codes to - properly manage display host/num - -2007-09-28 13:38 robert - - * src/osgViewer/View.cpp: From Mathias Froehlich, "I had a chance - to look into the remote display problems. - The screen resolution was queried for the wrong display." - -2007-09-28 13:35 robert - - * include/osgDB/ReaderWriter: From Mattias Linde, "I've attached a - modified ReaderWriter header which has some additions - to osgDB::ReaderWriter::Options to handle PluginData." - -2007-09-28 08:53 robert - - * include/osgViewer/api/Win32/GraphicsWindowWin32, - src/osgViewer/GraphicsWindowWin32.cpp: Andre Garneau, three fixes - in one submissions: - - "This is a fix for the issue reported by Anders a week ago (see - \u201c[osg-users] BUG?: mouse coordinate changes after window - move\u201d discussion thread on Sept. 20). The issue was that the - initial implementation added a few months back was not converting - the window coordinates to client-area coordinates resulting in a - slight offset each time a decorated window was moved (caused by - the window border). This was also causing windows to move out of - their assigned screen." - - and - - "Attached is a fix for the taskbar repaint issue that occurs when - a graphics window is toggled from full-screen mode to windowed - mode (as identified by Gert van Maren a couple of weeks ago). - Also included is a fix derived from the \u201cEvents from the - past\u201d discussion thread that took place on July 11." - -2007-09-28 08:52 robert - - * examples/osgshadow/osgshadow.cpp: Added record path manipulator - -2007-09-27 13:49 robert - - * examples/osgshaderterrain/osgshaderterrain.cpp: Changed across to - using a GraphicsOperation as the base class for the - RealizeOperation. - -2007-09-27 12:47 robert - - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ParallelSplitShadowMap, - src/osgShadow/ParallelSplitShadowMap.cpp: From Adrian Egli, - "update the PSSM, i did some bug fixes and added new features to - move the camera virtual against the view direction by applaying a - simple distance factor (a), which is calculated camera eye - - camera center distance. and we can move the "light camera" - against the light direction (b). - - (a) some objects behind the camera can cast shadow - (b) object aboive the camera can cast shadow - - then i fixed the shadow map orientation, now screen x coordinate - alinged which improve the quality" - -2007-09-27 12:15 robert - - * src/osgDB/FileUtils.cpp: From Mathias Froehlich, compile fix for - HP-UX without large file support - -2007-09-27 10:47 robert - - * src/osgPlugins/obj/OBJWriterNodeVisitor.cpp: From Mathias - Froehlich, "Some more file that needs some adjustment because of - missing member templates - in suns stl." -2007-09-27 10:42 robert - - * src/osg/GraphicsContext.cpp: Changed copy constrcutor to a - default constrcutor and std::copy to avoid - problems with dodge Sun compiler. -2007-09-27 10:22 robert +Thu, 14 Apr 2011 15:22:43 +0000 +Checked in by : Robert Osfield +Cleaned up DXT1 support - * src/osgPlugins/osgViewer/View.cpp: Added support for selecting - internal texture format via the internalFormat entry in - the .osg file +Thu, 14 Apr 2011 15:21:53 +0000 +Checked in by : Robert Osfield +Added IF (WIN32) around OSG_USE_UTF8_FILENAME -2007-09-26 16:17 shuber +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."); - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - updated XCode project-files +And set the default not to modify and detect the RGB or RGBA pixel format for DXT images. -2007-09-26 14:44 robert - * CMakeModules/FindOpenVRML.cmake, - src/osgPlugins/vrml/CMakeLists.txt: From Jean-Sebastien Guay, - "Attached you will find an expanded FindOpenVRML.cmake file, as - well as a fixed CMakeLists.txt file for the VRML plugin ." -2007-09-26 14:31 robert - * src/osgWrappers/osgDB/Input.cpp: Updated wrappers -2007-09-26 14:02 robert +Thu, 14 Apr 2011 09:16:09 +0000 +Checked in by : Robert Osfield +Added setting of the internal texture format - * include/osgDB/Input, src/osgDB/Input.cpp, - src/osgPlugins/osgViewer/View.cpp: Added IntensityMap reading in - .view files +Wed, 13 Apr 2011 19:28:30 +0000 +Checked in by : Robert Osfield +quitened down debug output -2007-09-26 11:32 robert +Wed, 13 Apr 2011 19:26:35 +0000 +Checked in by : Robert Osfield +Introduced new code for detecting DXT1 images catogoriesed as RGB that actually have a 1 bit alpha, therefore re-interpreting these as RGBA. - * genwrapper.conf, src/osgWrappers/osgViewer/Scene.cpp, - src/osgWrappers/osgViewer/View.cpp: Tweaked the wrapping of - osgViewer::Scene to fix build problems +Wed, 13 Apr 2011 10:44:36 +0000 +Checked in by : Robert Osfield +Added handling of DXT1 in osg::Image::isImageTranslucent() -2007-09-26 10:58 robert +Mon, 11 Apr 2011 19:11:25 +0000 +Checked in by : Robert Osfield +Added support for explitly requesting DXT1a and DXT1c compression - * src/osgPlugins/obj/CMakeLists.txt, - src/osgPlugins/obj/OBJWriterNodeVisitor.cpp, - src/osgPlugins/obj/OBJWriterNodeVisitor.h, - src/osgPlugins/obj/ReaderWriterOBJ.cpp: From Stephan Huber, - "attached you'll find a first implementation for the obj-plugin - to write - obj-files. It is not feature complete but usable. - - Known issues: - * not all materials are handled correctly (especially when using - osg::StateAttribute::OVERRIDE), not all properties are supported - * could not test point and lines, all of my programs which are - capable - to read obj-files only import triangle-meshes. - * only simple texture-handling" +Mon, 4 Apr 2011 10:16:46 +0000 +Checked in by : Robert Osfield +From Stephan Huber, "Attached you'll find a fixed GraphicsWindowCocoa-implementation which should fix the reported bugs.the osgkeyboard-example works now, but not the numbers of the keypad, as +they hilight only for KEY_KP_Left, KEY_KP_Right, KEY_KP_Up, KEY_KP_DOWN +etc and not for KEY_KP_0 - KEY_KP_9." -2007-09-26 10:46 robert - * genwrapper.conf, src/osgWrappers/osgViewer/Scene.cpp, - src/osgWrappers/osgViewer/View.cpp: Added suprression of the - reflection of osgViewer::Scene to avoid build - issues associated with the class. -2007-09-26 09:59 robert +Thu, 31 Mar 2011 14:57:18 +0000 +Checked in by : Robert Osfield +Added OPENTHREADS_ATOMIC_USE_MUTEX Cmake options that allows you to override the default detection of atomic implementatition, making it possible to force the use of Mutex for OpenThreads::Atomic, and as a consequence for use of Mutex for Referenced::ref/unref() counting. - * src/osgWrappers/osgViewer/GraphicsWindow.cpp: Updated wrappers +Wed, 30 Mar 2011 15:15:07 +0000 +Checked in by : Robert Osfield +From Tim Moore, Fixes to race in DatabasePager where a parent PagedLOD of newly loaded subgraph has been expired.Clean up of visitor naming to make it clearer what role it has. -2007-09-26 09:50 robert - * include/osgViewer/GraphicsWindow, - include/osgViewer/api/Win32/GraphicsWindowWin32, - include/osgViewer/api/X11/GraphicsWindowX11, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp: From David Callu, adding - support for GraphicsWindowX11 window inhertance and - setWindowName() method. -2007-09-25 19:14 robert - * src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp: Added support - for intensityMap and fix naming of --panoramic-sd and --3d-sd - command line arguments -2007-09-25 17:02 robert +Wed, 23 Mar 2011 14:01:58 +0000 +Checked in by : Robert Osfield +Added m4v as a handled movie file extension - * examples/osgmovie/osgmovie.cpp: Added --flip argument docs. +Mon, 21 Mar 2011 21:28:35 +0000 +Checked in by : Robert Osfield +Added dciimage library to DCMTK libs -2007-09-25 17:01 robert +Mon, 21 Mar 2011 21:28:02 +0000 +Checked in by : Robert Osfield +Improved handling of RGB data. - * examples/osgmovie/osgmovie.cpp: Added --flip option to allow one - to flip the source data about the x axis. +Sat, 19 Mar 2011 16:25:01 +0000 +Checked in by : Robert Osfield +Added .get() to fix build -2007-09-25 15:01 robert +Fri, 18 Mar 2011 12:21:58 +0000 +Checked in by : Robert Osfield +Adde an isFileADicom(..) method to enable the loader to automatically identifier dicom files without making any assumptions about the file extension - * examples/osgmovie/osgmovie.cpp: Removed all dome distortion - correction code as this is now part of the core osgViewer. - - Added viewer mode where movies are made fullscreen. One can use - the old interactive - camera mode by using --interactive parameter on the command line. +Fri, 18 Mar 2011 11:23:39 +0000 +Checked in by : Robert Osfield +Added extra DCMTK libraries to search and link line to enable build against new DCMTK-3.6.0 release -2007-09-25 13:51 robert +Thu, 17 Mar 2011 17:33:02 +0000 +Checked in by : Robert Osfield +Added support for new SampleDensityWhenMovingProperty into .p3d format, with it default to 0.02.One can override this value via the sampleDensityWhenMoving="value" property in the volume tag, i.e. - * examples/osgmovie/osgmovie.cpp: Preliminary - PanoramicSphericalScreen support + CardiacCT -2007-09-25 12:34 robert +To switch the feature off set the value to 0, i.e. - * applications/osgversion/osgversion.cpp: Added - --major/minor/path-number support + CardiacCT -2007-09-25 11:26 robert - * packaging/pkgconfig/openscenegraph.pc: Fixed version number -2007-09-25 10:18 robert - * examples/osgunittests/osgunittests.cpp: Added thread unit test to - test the create, start and destruction of threads +Thu, 17 Mar 2011 15:37:39 +0000 +Checked in by : Robert Osfield +Added SampleDensityWhenMovingProperty to control LOD property of osgVolume. -2007-09-24 16:34 robert +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. - * AUTHORS.txt, CMakeLists.txt, include/osg/Version: Updated Version - and AUTHORS for 2.1.12 dev release +Thu, 17 Mar 2011 13:54:54 +0000 +Checked in by : Robert Osfield +Added set up of CulLVisitor::Identifier so that the double buffered SceneView/CullVisitor share the same Identifier. -2007-09-24 16:30 robert +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. - * packaging/pkg_config, packaging/pkgconfig: Renamed packaging - directory to pkgconfig +Thu, 17 Mar 2011 11:49:22 +0000 +Checked in by : Robert Osfield +First cut at LOD support in RayTracedTechnique, which lowers the number of samples taken when the view of the volume is changing. -2007-09-24 16:28 robert +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" - * ChangeLog, README.txt: Updated ChangeLog for release +Wed, 16 Mar 2011 13:41:39 +0000 +Checked in by : Robert Osfield +From Alan Dickinson,"I tested out my changes against the trunk and everything worked fine... except I noticed that the CMAKE_BUILD_POSTFIX is set incorrectly for a undefined or blank BUILD_TYPE.So here is the one line change to the CMakeLists.txt to rectify this omission." -2007-09-24 16:25 robert - * src/osgWrappers/osg/View.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/Scene.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Updated wrappers -2007-09-24 15:24 robert - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ParallelSplitShadowMap, - src/osgShadow/ParallelSplitShadowMap.cpp: From Adrian Egli, - further work on PSSM implementation. +Wed, 16 Mar 2011 10:51:42 +0000 +Checked in by : Robert Osfield +Added hud and billboard support to image, stereo_image, pdf, browser and vnc image placement -2007-09-24 10:36 robert +Tue, 15 Mar 2011 19:54:57 +0000 +Checked in by : Robert Osfield +Added support hud property for title, bullets and paragraph tags - * include/osgViewer/GraphicsWindow: From Alberto Luaces, fixed typo - of valid() in warning message +Tue, 15 Mar 2011 14:04:50 +0000 +Checked in by : Robert Osfield +From Sukender, "Fixed a case where getUniqueName() does not work properly" -2007-09-24 10:31 robert +Tue, 15 Mar 2011 14:02:39 +0000 +Checked in by : Robert Osfield +From Torben Dannhauer, update to reflect addition of NVTT to Windows 3rdPartyPackage - * src/osgDB/Registry.cpp: Changed iterator name to avoid warning +Tue, 15 Mar 2011 13:53:59 +0000 +Checked in by : Robert Osfield +Added checked against GL version number for enabled _isTexture3DSupported. -2007-09-24 09:39 robert +Tue, 15 Mar 2011 13:40:13 +0000 +Checked in by : Robert Osfield +Fixed warning - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Mirko Viviani, "attacched you'll find the updated xcode - project for OpenSceneGraph - 2.1.11. The one supplied in the archive does not build due to - some missing - file references." +Tue, 15 Mar 2011 13:30:27 +0000 +Checked in by : Robert Osfield +Added OSG_EXPORT to declaration of View::Slave. -2007-09-24 09:35 robert +Tue, 15 Mar 2011 12:48:40 +0000 +Checked in by : Robert Osfield +Re-enabled the fallback compute of bounding volume. - * src/osgSim/OverlayNode.cpp: From Jose Delport: "have been using - the new VIEW_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY mode - of the OverlayNode. - - I change the overlay subgraph dynamically and when I remove all - the - subgraph nodes that is inside the current main camera FOV (others - outside still exist), the overlay texture does not update because - of the - early return in the traversal. I then get a kind of ghost texture - moving - around the terrain. - - The attached file fixed the problem for me, but I'm not sure if - it is - the best way to address the problem." +Tue, 15 Mar 2011 12:26:16 +0000 +Checked in by : Robert Osfield +Fixed updating of text position when PositionData.position is not modified by tag but other elements of PositionData are - such as when billboarding -2007-09-24 09:26 robert +Mon, 14 Mar 2011 21:36:32 +0000 +Checked in by : Robert Osfield +Implemented billboard="on" option for image, bullet and paragraph tags - * src/osg/Image.cpp: From Art Tevs, "Following - two lines has to be included into the Image.cpp in the - computeNumComponents(...) method: - - case(GL_RGBA16F_ARB): return 4; - case(GL_RGBA32F_ARB): return 4;" +Mon, 14 Mar 2011 11:29:08 +0000 +Checked in by : Robert Osfield +Added support for placing comments at end of each line. -2007-09-24 09:05 robert +Mon, 14 Mar 2011 10:07:15 +0000 +Checked in by : Robert Osfield +From Farshid Lashkari, "Another update. I added a LIMIT_NEAREST enum which implements your previous suggestion of rejecting bounding volumes further from the nearest existing intersection. I only implemented this for LineSegmentIntersector. I'd appreciate it if you could double check the math I added to LineSegmentIntersector::intersects() for checking if the bounding sphere is further away. The results of this are promising. I'm getting noticeable performance increase for line intersections with scenes containing many drawables. " - * include/osgDB/ReaderWriter: Made ReaderWriter and - ReaderWriter::Options use thread safe ref counting. +Mon, 14 Mar 2011 09:59:32 +0000 +Checked in by : Robert Osfield +From Torben Dannhauer, warning fix for a false positive warning generated by VS about "not all control pathes return a value". -2007-09-22 17:39 robert +Fri, 11 Mar 2011 17:20:24 +0000 +Checked in by : Robert Osfield +From Farshid Lashkari, removal of redundent spaces at the end of lines. - * src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp: Improved the - handling of OSG_CONFIG_FILE support. +Fri, 11 Mar 2011 16:31:01 +0000 +Checked in by : Robert Osfield +From Benjamin Wasty and David Guthrie, "currently, non-alpha-numeric keys are not recognized (except as modifiers) in osgQt, so I added the mapping code from my Qt integration to GraphicsWindowQt (which is based on Delta3D code from David Guthrie - he gave me permission to submit it under OSGPL)." -2007-09-22 16:50 robert +Fri, 11 Mar 2011 11:25:19 +0000 +Checked in by : Robert Osfield +From Sukender, "Added support for texcoords scale and offset (UV scaling and offset in Lib3DS Materials), for texture unit 0." - * include/osgViewer/Scene, src/osgViewer/Scene.cpp: From David - Callu, added getOrCreateScene method, made contractors protected. - - From Robert Osfield, made getOrCreateScene protected and made - View a friend - of Scene to all it to construct Scene objects itself. +Fri, 11 Mar 2011 11:20:30 +0000 +Checked in by : Robert Osfield +Fixed the case insenstive search under unices -2007-09-22 16:46 robert +Fri, 11 Mar 2011 10:24:12 +0000 +Checked in by : Robert Osfield +From Mourad Boufarguine, "There is a redundant cmake code at the end of osgViewer cmake script. The install command is issued in SETUP_LIBRARY macro." "I spotted this when i tried a make install on the android port :) I saw some weird copy commands of osgViewer headers. I managed to get all osg headers copied to cmake_install_prefix/include upon make install, but i can't (yet) get the libraries to be copied to cmake_install_prefix/lib (see attached files)" - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ParallelSplitShadowMap, - src/osgShadow/ParallelSplitShadowMap.cpp: From Adrian Egli, - update to ParallelSplitShadowMap. +Fri, 11 Mar 2011 10:18:43 +0000 +Checked in by : Robert Osfield +From Alan Dickinson, "I modified the CPack and CMake files to utilze the CMAKE_INSTALL_PREFIX when building RPM packages.I also modified the CMake and pkgconfig files to append the _POSTFIX extenstion based on the CMAKE_BUILD_TYPE. -2007-09-22 13:06 robert +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 '/'. +" - * include/osgShadow/ParallelSplitShadowMap: Added EXPORT -2007-09-21 19:43 robert - * include/osg/View, src/osg/View.cpp: From David Callu, added - findSlaveIndexForCamera method +Thu, 10 Mar 2011 14:53:39 +0000 +Checked in by : Robert Osfield +From Mourad Boufarguine, "I gave osg android port a try on Windows using cygwin, and it worked like a charm (only a tiny problem with osgViewer, when cross compiling for android using cygwin, the windows path in osgViewer/CMakeLists.txt is used rather than the android one, fix attached). " -2007-09-21 19:04 robert +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." - * src/osgViewer/CompositeViewer.cpp: Added return +Thu, 10 Mar 2011 10:56:12 +0000 +Checked in by : Robert Osfield +From Rafa Gaitan, "Attached the fix to remove the symlinks created with make install." -2007-09-21 15:34 robert +Thu, 10 Mar 2011 10:52:47 +0000 +Checked in by : Robert Osfield +From Michael Platings, "I'm guessing that the stack corruption was caused by calling GetFullPathNameW with the nBufferLength argument as the number of bytes in the buffer, rather than the number of characters. I've attached code that uses GetFullPathNameW et al. with _countof() rather than sizeof() and this works fine." - * include/osg/View, include/osgViewer/View, - include/osgViewer/Viewer, src/osg/View.cpp, - src/osgPlugins/osgViewer/View.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: Added support for basic viewer - configuration files +Wed, 9 Mar 2011 17:35:30 +0000 +Checked in by : Robert Osfield +Quitened down timing stats -2007-09-21 13:30 robert +Wed, 9 Mar 2011 16:30:48 +0000 +Checked in by : Robert Osfield +From Johannes Baeuerle, fix for memory leak - * include/osgViewer/CompositeViewer, include/osgViewer/Viewer, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osgViewer/CMakeLists.txt, - src/osgPlugins/osgViewer/CompositeViewer.cpp, - src/osgPlugins/osgViewer/ReaderWriterOsgViewer.cpp, - src/osgPlugins/osgViewer/View.cpp, - src/osgPlugins/osgViewer/Viewer.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Further steps towards reading coniguration files. +Wed, 9 Mar 2011 15:55:35 +0000 +Checked in by : Robert Osfield +From Jan Peciva, "please, find attached updates to Inventor plugin:- improved transparency +- do not treat 32-bit textures as transparent textures unless they really +contain transparent pixels +- error messages forwarded to osg::notify" -2007-09-21 09:02 robert - * examples/osgstereoimage/osgstereoimage.cpp: From Luc Frauciel, "A - few improvements to osgstereoimage: - - When using a large numbrer of files, the command line was too - long; - Added a -files option that allow to store filenames in a file - (one file - per line) - - Added some more intuitive key bindings for controls (left, - right, + , - -) - - Set the texture wrapping to CLAMP_TO_EDGE (it's cleaner now) - " -2007-09-20 10:14 robert - * src/osgWrappers/osgShadow/SoftShadowMap.cpp: Updated wrappers +Wed, 9 Mar 2011 14:44:14 +0000 +Checked in by : Robert Osfield +From Sukender, "1. Made code a bit more readable/cleaner. 2. Removed unecessary code. Also made sure the images names are not truncated in the middle of an UTF8 character. You'll find there a function called utf8TruncateBytes(), which may be moved in core OSG (osgDB/ConvertUTF I guess). Feel free to do it if you feel it that way. " -2007-09-20 10:12 robert +Wed, 9 Mar 2011 14:15:04 +0000 +Checked in by : Robert Osfield +From Piotr Gwiazdowski, "So there's config setting OSG_DISABLE_MSVC_WARNINGS which should disable pragmas that turn off specific warnings for MSVC. Unfortunately it's presence is only checked in osg/Export header, making other Export headers disable warnings no matter what, which is kind of incoherent.My fix adds #include to every Export header. I've also +unified checking whether to disable warnings to current osg/Export +way: +#if defined(_MSC_VER) && defined(OSG_DISABLE_MSVC_WARNINGS). - * include/osgShadow/SoftShadowMap, src/osgShadow/SoftShadowMap.cpp: - From Anders Backman, added bias and texture size methods. - - From Robert Osfield, tweaks to the above for method parameters - and indenting. +Attachment contains all changed Export files in their original locations." -2007-09-19 16:53 robert - * src/osgDB/Output.cpp: Added supoort for - OSG_WRITE_OUT_DEFAULT_VALUES env var -2007-09-19 15:29 robert +Wed, 9 Mar 2011 13:10:38 +0000 +Checked in by : Robert Osfield +From Eric Sokolowsky, "I have updated the pnm plugin to use streams instead of C-style I/O. Attached is src/osgPlugins/pnm/ReaderWriterPNM.cpp" - * include/osg/ArgumentParser, include/osgDB/Input, - src/osg/ArgumentParser.cpp, src/osgDB/Input.cpp, - src/osgWrappers/osg/ArgumentParser.cpp, - src/osgWrappers/osgDB/Input.cpp: Added support for bool in - ArgumentParser::Parameter. - - Added support for using Input::read(...) methods using - ArgumentParser::Paramter - to adapter to multiple paramter types. +Wed, 9 Mar 2011 13:05:59 +0000 +Checked in by : Robert Osfield +From Tassilo Glander,"I patched the cmake configuration to support folders, which are really handy to organize the many projects in the OSG solution into examples, applications and core libs in the IDE. This feature has been introduced to cmake in 2.8.3, on older versions it should be ignored silently. I tested on Visual Studio 2008 with cmake 2.8.3 and 2.8.4.See the screenshots for comparison [img]osg_solution.png[/img] -2007-09-19 11:56 robert +This needs few changes: - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ParallelSplitShadowMap, - src/osgShadow/CMakeLists.txt, - src/osgShadow/ParallelSplitShadowMap.cpp: From Adrian Egli, - ParallelSplitShadowMap implmentation. - - Changes by Robert Osfield - CMakeLists.txt and name change to - ParallelSplitShadowMap. +activate on global cmakelist.txt: -2007-09-19 10:14 robert +[code]set_property(GLOBAL PROPERTY USE_FOLDERS On)[/code] - * src/osgUtil/Simplifier.cpp: Changed the simplifier so that it - produces deterministic results, no longer - using memory pointers for sorting. +set appropriate folder names for project type in osgMacroUtils.cmake: -2007-09-19 09:00 robert +[code]SET_TARGET_PROPERTIES(${CORELIB_NAME} PROPERTIES FOLDER "OSG Core")[/code] - * src/osgSim/OverlayNode.cpp: Removed check for - shaders/overlay_perspective_main.vert +similar for examples, applications" -2007-09-18 16:00 robert - * src/osgPlugins/net/sockinet.cpp: Commented out herror() as its - not called anywhere in the code. -2007-09-17 09:33 robert - * AUTHORS.txt, ChangeLog, README.txt, - applications/osgversion/osgversion.cpp: Updated ChangeLog, - AUTHORS and README for 2.1.11 release -2007-09-17 09:26 robert +Wed, 9 Mar 2011 12:29:14 +0000 +Checked in by : Robert Osfield +From Piotr Gwiazdowski, "Recently I've been having some trouble with osgWidget::StyleManager (I'll omit osgWidget namespace from now on). It seems to me that there are some inconsistency in the code. In Style there are multiple applyStyle method overloads, applying style for different widgets/windows built-in in osgWidget. Plus you can do overrides. It's good so far.The problem lies in StyleManager::_applyStyleToObject (which calls +_coearceAndApply, which calls _applySpecificStyle, which calls +Style::applyStyle). With current implementation Style::applyStyle +variants for Input, Window, Frame::Corner, Frame::Border, +Window::EmbeddedWindow are never called, because their classes' names +are omitted in methods' if/else if block, making it impossible to use +styles with most than half of built-in widget/window types. - * CMakeLists.txt, include/osg/Version, - packaging/pkg_config/openscenegraph.pc: Updated version numbers - for 2.1.11 dev release +My fix simply adds couple else if blocks, making each +Style::applyStyle variant callable. By the way, I think that next +update should add Style::applyStyle overload for Table class and add +proper className overloads for Input and Window." -2007-09-16 17:48 robert - * include/osgTerrain/Locator, src/osgPlugins/gdal/DataSetLayer.cpp, - src/osgWrappers/osgTerrain/Locator.cpp: Fixed - Locator::setTransform method so it takes a const Matrixd&, and - improved - the setting of Locator in the gdal plugin. -2007-09-16 17:46 robert +Wed, 9 Mar 2011 12:15:39 +0000 +Checked in by : Robert Osfield +Removed the repeated called to jas_init() and jas_image_clearfmts() calls to make it possible to use the reading multi-threaded - * src/osgDB/Output.cpp: Setting for new option for hinting whether - to write out default values +Wed, 9 Mar 2011 11:22:20 +0000 +Checked in by : Robert Osfield +From Dietmar Funck, "I've noticed an issue with osgUtil::RenderStage::runCameraSetUp() if the number of buffer attachments of the camera decreases according to privous calls. This happens because RenderStage::_bufferAttachmentMap is updated only for the number of buffers the camera has when runCameraSetUp is called. For example if there were 4 attachments and now only 3, only the first three elements of _bufferAttachmentMap are changed. The fourth is just as before - however it shouldn't be there.Calling _bufferAttachmentMap.clear() before resolves this problem. +" -2007-09-16 17:45 robert - * include/osgDB/Output: Added option for controlling whether output - code should write out default values -2007-09-16 17:43 robert +Wed, 9 Mar 2011 11:15:10 +0000 +Checked in by : Robert Osfield +From Cedric Pinson, "I have just adjusted the FindCOLLADA function to let it find library on gnu/linux." - * src/osgPlugins/osgTerrain/GeometryTechnique.cpp: Fixed warning +Wed, 9 Mar 2011 11:13:12 +0000 +Checked in by : Robert Osfield +From Sukender, "I fixed the writing but never thought about the reading part... Here is the fix for reading path containing %23 (= '#') characters." -2007-09-16 07:55 robert +Wed, 9 Mar 2011 11:06:36 +0000 +Checked in by : Robert Osfield +Updated versions for next OSG dev release - * packaging, packaging/pkg_config, - packaging/pkg_config/openscenegraph.pc, - packaging/pkg_config/openthreads.pc: From Loic Dachary, - pkg_config files +Wed, 9 Mar 2011 10:35:00 +0000 +Checked in by : Robert Osfield +Changed the use of a viewer thread to be off by default because it was causing the application to crash when any users input was recieved -2007-09-15 17:40 robert +Tue, 8 Mar 2011 17:05:29 +0000 +Checked in by : Robert Osfield +Fixed error in X11 string name - * src/osgText/Font.cpp: Introduced the use of a ReentrantMutex to - avoid problems with findFontFile. +Tue, 8 Mar 2011 16:35:37 +0000 +Checked in by : Robert Osfield +From Rafa Gaitan and Jorge Izquierdo, build support for Android NDK."- In order to build against GLES1 we execute: +$ mkdir build_android_gles1 +$ cd build_android_gles1 +$ cmake .. -DOSG_BUILD_PLATFORM_ANDROID=ON -DDYNAMIC_OPENTHREADS=OFF +-DDYNAMIC_OPENSCENEGRAPH=OFF -DANDROID_NDK=/ +-DOSG_GLES1_AVAILABLE=ON -DOSG_GL1_AVAILABLE=OFF +-DOSG_GL2_AVAILABLE=OFF -DOSG_GL_DISPLAYLISTS_AVAILABLE=OFF -DJ=2 +-DOSG_CPP_EXCEPTIONS_AVAILABLE=OFF +$ make + If all is correct you will have and static OSG inside: +build_android_gles1/bin/ndk/local/armeabi. -2007-09-15 17:36 robert +- GLES2 is not tested/proved, but I think it could be possible build +it with the correct cmake flags. +- The flag -DJ=2 is used to pass to the ndk-build the number of +processors to speed up the building. +- make install is not yet supported." - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From David Spilling, - "Given no replies to my recent "does anybody use the DDS writer" - query, I was emboldened to submit this very small patch. The - bitmasks for RGBA and RGB have been modified in the writer - portion of the code (line 765 onwards). This is now consistent - with what the DDS plugin reads. In terms of testing, note that - many 3rd party applications erroneously ignore the bitmasks in - the file, and assume a BGRA order." -2007-09-14 11:26 robert - * src/osgWrappers/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/osgGA/DriveManipulator.cpp, - src/osgWrappers/osgGA/FlightManipulator.cpp, - src/osgWrappers/osgGA/GUIEventHandler.cpp, - src/osgWrappers/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/osgGA/MatrixManipulator.cpp, - src/osgWrappers/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/osgGA/StateSetManipulator.cpp, - src/osgWrappers/osgGA/TerrainManipulator.cpp, - src/osgWrappers/osgGA/TrackballManipulator.cpp, - src/osgWrappers/osgGA/UFOManipulator.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers -2007-09-14 11:06 robert +Tue, 8 Mar 2011 15:31:49 +0000 +Checked in by : Robert Osfield +Fixed indentation - * CMakeModules/OsgMacroUtils.cmake: From Andy Skinner, added - support for ot-soversion-OpenThreads.dll dll naming under Windows +Tue, 8 Mar 2011 13:51:13 +0000 +Checked in by : Robert Osfield +From Rafa Gaitan, "I have added the macro SETUP_LIBRARY, similar to SETUP_PLUGIN or SETUP_EXE, in order to have a unique entry point to build the libraries. With this changes the android integration will be less painful (currently is a big IF(ANDROID) for each CMakeLists.txt) and more maintainable in the future. I hope next submissions will be for supporting android from my colleague Jorge. " -2007-09-14 11:02 robert +Mon, 7 Mar 2011 14:42:47 +0000 +Checked in by : Robert Osfield +Added comments - * src/osgWrappers/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/osgGA/DriveManipulator.cpp, - src/osgWrappers/osgGA/FlightManipulator.cpp, - src/osgWrappers/osgGA/GUIEventHandler.cpp, - src/osgWrappers/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/osgGA/MatrixManipulator.cpp, - src/osgWrappers/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/osgGA/StateSetManipulator.cpp, - src/osgWrappers/osgGA/TerrainManipulator.cpp, - src/osgWrappers/osgGA/TrackballManipulator.cpp, - src/osgWrappers/osgGA/UFOManipulator.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers +Mon, 7 Mar 2011 13:45:58 +0000 +Checked in by : Robert Osfield +Changed all .c++ to .cpp's -2007-09-14 11:01 robert +Mon, 7 Mar 2011 12:35:30 +0000 +Checked in by : Robert Osfield +Added --color r g b a, --wall-color r g b a, --back-color r g b a options for setting the colours of faces via materials. and --image filename, --wall-image filename, --back-image filename options to set the textures used, note, texcoords are not currently set up so texels used will be 0,0. - * include/osgDB/Registry: Added TemplateRegisterDotOsgWrapperProxy. +Mon, 7 Mar 2011 12:33:11 +0000 +Checked in by : Robert Osfield +Enabled the settng/getting of the Text3D's WallStateSet and BackStateSet along with use of these in the rendering implementation to allow separate colour and other state to be assigned to the front, wall and back faces. -2007-09-14 11:00 robert +Thu, 3 Mar 2011 15:52:19 +0000 +Checked in by : Robert Osfield +Moved intial cut of depth partition support into osgViewer::View via two new methods: /** Convenience method for setting up multiple slave cameras that depth partition the specified camera.*/ + bool setUpDepthPartitionForCamera(osg::Camera* cameraToPartition, DepthPartitionSettings* dps=0); - * examples/osgviewerFOX/FOX_OSG.h, - examples/osgviewerFOX/FOX_OSG_MDIView.h: Ran conversion of tabs - to four spaces + /** Convenience method for setting up multiple slave cameras that depth partition each of the view's active cameras.*/ + bool setUpDepthPartition(DepthPartitionSettings* dsp=0); -2007-09-14 10:44 robert - * include/osgGA/GUIEventAdapter, include/osgGA/GUIEventHandler, - src/osgGA/GUIEventHandler.cpp, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/Viewer.cpp: - Introduce - GUIEventHandler::handleWithCheckAgainstIgnoreHandledEventsMask() - methods - to help make it easier to get event handles to ingore events that - have already been handled. -2007-09-14 10:26 robert - * include/osgGA/GUIEventAdapter, include/osgGA/GUIEventHandler: - From Ole-Morten Duesund, added IgnoreUsedEventsMask. +Thu, 3 Mar 2011 12:33:57 +0000 +Checked in by : Robert Osfield +Introduced a new more generic function for settings up the depth partitioning of viewer cameras. -2007-09-14 10:00 robert +Wed, 2 Mar 2011 16:40:36 +0000 +Checked in by : Robert Osfield +Build fix - * examples/osgdepthpeeling/DePee.cpp: Added - _hudText->setDataVariance(osg::Object::DYNAMIC); to prevent from - the - text being updated at the same time as being rendered. +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 -2007-09-13 11:00 robert +Wed, 2 Mar 2011 16:09:50 +0000 +Checked in by : Robert Osfield +Implemented first cut of more flexible depth partitioning code. - * genwrapper.conf, src/osgWrappers/osg/Texture2DArray.cpp: Fix for - build error during aggressive warning build +Tue, 1 Mar 2011 16:21:38 +0000 +Checked in by : Robert Osfield +Fixed typo -2007-09-13 10:42 robert +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. - * genwrapper.conf, src/osgWrappers/osgDB/DotOsgWrapper.cpp: Fixed - warning in wrappers +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. -2007-09-13 10:38 robert +Tue, 1 Mar 2011 14:48:48 +0000 +Checked in by : Robert Osfield +Added support for an View::Slave::UpdateSlaveCallback - * src/osgUtil/SceneView.cpp, src/osgUtil/TriStrip_tri_stripper.cpp: - Fixed warnigns +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. -2007-09-13 10:33 robert +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. - * README.txt, src/osgWrappers/osg/Texture2DArray.cpp: Updated - wrappers and READEME +Thu, 24 Feb 2011 11:54:44 +0000 +Checked in by : Robert Osfield +Removed TrapezoidalShadowMap due to discovery of patent on algorithm. -2007-09-13 10:32 robert +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 - * src/osgShadow/ShadowMap.cpp: From Paul Martsz, changed the - Texture clamping mode to CLAMP_TO_EDGE +Wed, 23 Feb 2011 16:49:38 +0000 +Checked in by : Robert Osfield +Fixed typo -2007-09-13 10:21 robert +Wed, 23 Feb 2011 16:46:34 +0000 +Checked in by : Robert Osfield +From Wojciech Lewandowski, intial cut at new TrapezoidalShadowMap ShadowTechnique - * examples/osgdepthpeeling/DePee.cpp, - examples/osgdepthpeeling/osgdepthpeeling.cpp: From Blake - Williams, warning fixes +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 -2007-09-13 10:21 robert +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. - * src/osgViewer/GraphicsWindowWin32.cpp: Add static_cast to fix - warning. +Wed, 23 Feb 2011 13:56:41 +0000 +Checked in by : Robert Osfield +Added support for negative --xMultipler, --yMultiple and --zMultiplier values -2007-09-13 10:16 robert +Wed, 23 Feb 2011 12:48:17 +0000 +Checked in by : Robert Osfield +Added support for positive values of --xMultiple --yMultiplier and --zMultiplier - * src/osg/Texture2DArray.cpp: Removed unncessary typedefs +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 -2007-09-13 10:15 robert +Wed, 23 Feb 2011 11:43:30 +0000 +Checked in by : Robert Osfield +Added error reporting for old options - * include/osg/Texture2DArray, src/osg/Texture2DArray.cpp: Fixed - warnings of casting void* by refactoring the type and extensiosn - setup. +Wed, 23 Feb 2011 11:28:43 +0000 +Checked in by : Robert Osfield +Added -n option -2007-09-13 10:10 robert +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 - * src/osg/Texture2DArray.cpp: Fixed uint/int comparison warning. +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. -2007-09-13 09:30 robert +Tue, 22 Feb 2011 11:59:51 +0000 +Checked in by : Robert Osfield +Added support for GL_BGR and GL_BGRA pixel formats - * src/osgViewer/PixelBufferX11.cpp: Created two - PixelBufferX11::closeImplementation() one the real implementation - and - a second non op one for GLX <1.3. +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. -2007-09-12 17:01 robert +Mon, 21 Feb 2011 12:29:13 +0000 +Checked in by : Robert Osfield +Added computePositions() call to Text3D::resizeGLObjectsBuffers(uint) - * include/osgViewer/api/X11/PixelBufferX11, - src/osgViewer/GraphicsWindowX11.cpp, - src/osgViewer/PixelBufferX11.cpp: Added preliminary handling of - cases where GLX version < 1.3 +Mon, 21 Feb 2011 10:02:53 +0000 +Checked in by : Robert Osfield +Added missing Terrain.h reference -2007-09-12 17:01 robert +Sun, 20 Feb 2011 09:57:07 +0000 +Checked in by : Robert Osfield +Fixed build of various LiSPSM algorithms - * src/osgPlugins/gdal/DataSetLayer.cpp: Removed debug messages +Sun, 20 Feb 2011 09:55:20 +0000 +Checked in by : Robert Osfield +Added --fov and --light-pos and --light-dir command line parameters -2007-09-12 16:28 robert +Fri, 18 Feb 2011 11:04:01 +0000 +Checked in by : Michael PLATINGS +Disabled the RGB components of the opacity texture - * applications/CMakeLists.txt, - applications/osgversion/CMakeLists.txt: Moved the linking of - OpenThreads from osgversion/CMakeLists.txt into - applications/CMakeLists.txt +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 -2007-09-12 16:20 robert + - author - * include/osg/Math: Rejigged the casting to avoid warnings under - Windows + - authoring_tool -2007-09-12 10:43 robert + - comments - * AUTHORS.txt, CMakeLists.txt, ChangeLog, - applications/osgversion/osgversion.cpp, include/osg/Version: - Updated version, ChangeLog and AUTHORS file for 2.1.10 release + - copyright -2007-09-12 10:04 robert + - source_data - * src/osgPlugins/Inventor/CMakeLists.txt: From Jan Peciva, build - fix + - created -2007-09-11 20:54 robert + - keywords - * include/osg/Math: Added log2(int) and log2(uint) methods + - modified -2007-09-11 20:24 robert + - revision - * include/osg/Math: Removed int version of log2 to avoid possible - errors in assuming log2(10) should ~= log2(10.0) + - subject -2007-09-11 17:10 robert + - title - * applications/osgversion/CMakeLists.txt: Added OpenThreads to - target libraries + - unit -2007-09-11 17:08 robert + - name - * include/osg/Math: From Art Tevs, Added log2 function. + - meter -2007-09-11 16:59 robert + - up_axis - * include/osg/GL2Extensions: From Art Tevs, build fix. -2007-09-11 16:56 robert - * src/osg/TextureRectangle.cpp: Replaced allocateMipmap code with - warning message as mipmaps aren't support for TextureRectangle. +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." -2007-09-11 13:47 robert - * src/osgPlugins/osg/Group.cpp, src/osgPlugins/osg/Object.cpp: - Removed the output num_children from Group .osg output and - removed the output of "DataVaraince UNSPECIFIED" as this is - redundent - considering the default value is UNSPECIFIED. -2007-09-11 13:42 robert +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." - * src/osgWrappers/osg/GL2Extensions.cpp, - src/osgWrappers/osg/Program.cpp, - src/osgWrappers/osgTerrain/GeometryTechnique.cpp: Updated - wrappers +Mon, 14 Feb 2011 16:05:33 +0000 +Checked in by : Robert Osfield +Added copyop parameter to cloneOptions() method -2007-09-11 13:39 robert +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." - * src/osg/ClipNode.cpp: From Mathias Froenlich, "have a problem - with the SunOS CC. - It does not like that the prototype of - ClipNode::setStateSetModes() differs - from implementation of that function in the constness of the - second - parameter. - On SunOS it compiles fine, but I get link errors when the variant - that is - declared in the header is referenced. - - The attached src/osg/ClipNode.cpp file removes the const - qualifier from the - implementation to match exactly the prototype in the header file. - The file is based on revision 7386 as of today. - " - -2007-09-11 13:34 robert - - * include/osg/GL2Extensions, include/osg/Program, - src/osg/Program.cpp: From Art Trevs, "File Changes: - - GL2Extensions, Program and Program.cpp - - Features: - - Support for fragment output binding. (e.g. You can now specify - in the fragment shader varying out vec3 fragOut; fragOut = - vec3(1,0,1); to write to the fragOut variable. In your program - you call glBindFragDataLocation(program, 1, "fragOut") to bind - the fragOut variable with the MRT 1 - GL_COLOR_ATTACHMENT1_EXT) - - - new methods Program::add/removeBindFragDataLocation - Program::getFragDataBindingList - - " - -2007-09-11 13:32 robert - - * include/osgTerrain/GeometryTechnique, - src/osgPlugins/osgTerrain/CMakeLists.txt, - src/osgPlugins/osgTerrain/GeometryTechnique.cpp, - src/osgPlugins/osgTerrain/Terrain.cpp: Seperated out - GeometryTechnique .osg support. - -2007-09-11 12:28 robert - - * include/osg/Texture, src/osgWrappers/osg/Texture.cpp: Changed the - isTextureIntegerSupported method so that it no longer has the EXT - entry in it - for forward compatability reasons. - -2007-09-11 12:04 robert - - * include/osg/Texture, include/osg/Texture1D, - include/osg/Texture2D, include/osg/Texture2DArray, - include/osg/Texture3D, include/osg/TextureCubeMap, - include/osg/TextureRectangle, src/osg/Image.cpp, - src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2D.cpp, src/osg/Texture2DArray.cpp, - src/osg/Texture3D.cpp, src/osg/TextureCubeMap.cpp, - src/osg/TextureRectangle.cpp, src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osg/Texture1D.cpp, - src/osgWrappers/osg/Texture2D.cpp, - src/osgWrappers/osg/Texture2DArray.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/TextureCubeMap.cpp, - src/osgWrappers/osg/TextureRectangle.cpp: From Art Trevs, - "Features of the patch are: - - - Implementation of integer textures as in EXT_texture_integer - - - setBorderColor(Vec4) changed to setBorderColor(Vec4d) to pass - double values - as border color. (Probably we have to provide an overloading - function to - still support Vec4f ?) - - - new method Texture::getInternalFormatType() added. Gives - information if the - internal format normalized, float, signed integer or unsigned - integer. Can - help people to write better code ;-) - - " - - Futher changes to this submission by Robert Osfield, changed the - dirty mipmap - flag into a buffer_value<> vector to ensure safe handling of - multiple contexts. - -2007-09-11 10:16 robert - - * src/osg/Texture2DArray.cpp: From Rafa Giatan, "Changed int to - GLsizei in the input parameter of the method - osg::Texture2DArray::applyTexImage2DArray_subload inside - Texture2DArray (lines 214 and 257), Otherwise it gives a compile - error on MacOSX." - -2007-09-11 10:10 robert - - * applications/osgversion/osgversion.cpp, include/osg/Version, - src/osg/Version.cpp: From Mike Wittman and Robert Osfield, added - support for SO_VERSION number in - runtime version info. Added checks for OpenThreads version. - -2007-09-10 16:06 robert - - * CMakeLists.txt: Maded versioning under Windows the default. - -2007-09-10 15:19 robert - - * genwrapper.conf, include/osg/BlendColor, - include/osg/BlendEquation, include/osg/BlendFunc, - include/osg/ClampColor, include/osg/FragmentProgram, - include/osg/GLExtensions, include/osg/Multisample, - include/osg/Point, include/osg/Texture, src/osg/BlendColor.cpp, - src/osg/BlendEquation.cpp, src/osg/BlendFunc.cpp, - src/osg/BufferObject.cpp, src/osg/ClampColor.cpp, - src/osg/Drawable.cpp, src/osg/FragmentProgram.cpp, - src/osg/FrameBufferObject.cpp, src/osg/GraphicsContext.cpp, - src/osg/GraphicsThread.cpp, src/osg/Multisample.cpp, - src/osg/Point.cpp, src/osg/Texture.cpp, - src/osgWrappers/osg/BlendColor.cpp, - src/osgWrappers/osg/BlendEquation.cpp, - src/osgWrappers/osg/BlendFunc.cpp, - src/osgWrappers/osg/ClampColor.cpp, - src/osgWrappers/osg/FragmentProgram.cpp, - src/osgWrappers/osg/Multisample.cpp, - src/osgWrappers/osg/Point.cpp, src/osgWrappers/osg/Texture.cpp: - Intoduced a new setGLExtensions template method to do a copy of - void* pointer to - local function pointer to avoid compiler warnings related to case - void*. - - Moved various OSG classes across to using setGLExtensions instead - of getGLExtensions, - and changed them to use typedef declarations in the headers - rather than casts in - the .cpp. - - Updated wrappers - -2007-09-08 07:21 robert - - * src/osgPlugins/osgViewer/View.cpp: Flesh out a bit more of the - view IO support - -2007-09-08 07:04 robert - - * src/osg/Image.cpp: Fixed typo - -2007-09-07 15:03 robert - - * examples/osgdepthpeeling/Utility.h, examples/osgtext/osgtext.cpp, - genwrapper.conf, include/osgManipulator/Dragger, - include/osgSim/OverlayNode, include/osgUtil/StateGraph, - src/osg/BufferObject.cpp, src/osg/Camera.cpp, - src/osg/Geometry.cpp, src/osgDB/Registry.cpp, - src/osgGA/EventQueue.cpp, - src/osgPlugins/Inventor/ConvertToInventor.h, - src/osgPlugins/Inventor/GroupSoLOD.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/gif/ReaderWriterGIF.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/lwo/old_Lwo2.cpp, src/osgPlugins/net/sockinet.cpp, - src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgSim/OverlayNode.cpp, src/osgTerrain/GeometryTechnique.cpp, - src/osgUtil/CullVisitor.cpp, - src/osgViewer/ViewerEventHandlers.cpp, - src/osgWrappers/osg/Array.cpp, src/osgWrappers/osg/StateSet.cpp: - From David Callu, warning fixes - -2007-09-07 13:54 robert - - * CMakeLists.txt: Removed warning type not support by gcc 4.1.x - -2007-09-07 13:37 robert - - * src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osg/Texture2DArray.cpp, - src/osgWrappers/osg/Uniform.cpp: Updated wrappers for new - Texture2DArray class - -2007-09-07 13:25 robert - - * include/osg/Texture, include/osg/Texture2DArray: Moved defined - from Texture2DArray into Texture - -2007-09-07 11:21 robert - - * include/osg/FrameBufferObject, include/osg/GL2Extensions, - include/osg/Texture, include/osg/Texture2DArray, - include/osg/Uniform, src/osg/CMakeLists.txt, - src/osg/FrameBufferObject.cpp, src/osg/Image.cpp, - src/osg/StateSet.cpp, src/osg/Texture2DArray.cpp, - src/osg/Uniform.cpp: From Art Tevs, - - "A new texture class Texture2DArray derived from - Texture extends the osg to support the new - EXT_texture_array extensions. Texture arrays provides - a feature for people interesting in GPGPU programming. - - - Faetures and changes: - - - Full support for layered 2D textures. - - - New uniform types were added (sampler2DArray) - - - FrameBufferObject implementation were changed to - support attaching of 2D array textures to the - framebuffer - - - StateSet was slightly changed to support texture - arrays. NOTE: array textures can not be used in fixed - function pipeline. Thus using the layered texture as a - statemode for a Drawable produce invalid enumerant - OpenGL errors. - - - Image class was extended to support handling of - array textures - - Tests: - I have used this class as a new feature of my - application. It works for me without problems (Note: - Texture arrays were introduced only for shading - languages and not for fixed function pipelines!!!). - RTT with Texture2DArray works, as I have tested them - as texture targets for a camera with 6 layers/faces - (i.e. replacement for cube maps). I am using the array - textures in shader programming. Array textures can be - attached to the FBO and used as input and as output." - -2007-09-07 10:50 robert - - * src/osgPlugins/zip/ReaderWriterZIP.cpp: From Daniel Sjolie, "I - patched the zip plugin to make use of my favorite - zip/pack-application for windows if it is installed in the - standard location..." - -2007-09-07 10:15 robert - - * CMakeModules/FindPerformer.cmake, - src/osgPlugins/pfb/CMakeLists.txt: From Guillaume Millet, "Please - find in attachment a small improvement to the pfb plugin - CmakeLists.txt and to the FindPerformer.cmake module. - - Under Windows libs are: libpf.lib (we need to add the lib prefix) - and - libpfdu-util.lib (libpfdu and libpfutil are compiled into one - lib) - We need to add PFROOT to the search path for libs and includes - (default - environment variable for Performer path) - And at last we need to put PFROOT/include and - PFROOT/include/Performer - as include dir for compiling." - -2007-09-07 09:53 robert - - * src/osgTerrain/Locator.cpp: From Maria Ten, fix lat/long usage. - -2007-09-07 09:49 robert - - * src/osgPlugins/dae/daeReader.cpp, src/osgPlugins/dae/daeReader.h: - From Mattias Linde, "Have made the updates now. Added a std::map - for easy lookup if a visual node - is targeted by a rigid body which is the reason why the .h-file - was changed too. - So now there'll be Group as often as possible, otherwise - PostitionAttitudeTransform." - -2007-09-06 08:23 robert - - * src/osgIntrospection/CMakeLists.txt: Added osg lib - -2007-09-05 17:12 robert - - * include/osgDB/Version, include/osgFX/Version, - include/osgGA/Version, include/osgIntrospection/Version, - include/osgManipulator/Version, include/osgParticle/Version, - include/osgShadow/Version, include/osgSim/Version, - include/osgTerrain/Version, include/osgText/Version, - include/osgUtil/Version, include/osgViewer/Version, - src/osgDB/Version.cpp, src/osgFX/CMakeLists.txt, - src/osgFX/Version.cpp, src/osgGA/Version.cpp, - src/osgIntrospection/CMakeLists.txt, - src/osgIntrospection/Version.cpp, - src/osgManipulator/CMakeLists.txt, - src/osgManipulator/Version.cpp, src/osgSim/Version.cpp, - src/osgUtil/Version.cpp, src/osgViewer/Version.cpp: From David - Callu, improved consistency of Version strings and add version - support - for osgIntrospection and osgManipulator. - -2007-09-05 17:03 robert - - * src/CMakeLists.txt, src/osgDB/CMakeLists.txt, - src/osgFX/CMakeLists.txt, src/osgGA/CMakeLists.txt, - src/osgIntrospection/CMakeLists.txt, - src/osgManipulator/CMakeLists.txt, - src/osgParticle/CMakeLists.txt, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/freetype/CMakeLists.txt, - src/osgPlugins/gif/CMakeLists.txt, - src/osgPlugins/jpeg/CMakeLists.txt, - src/osgPlugins/png/CMakeLists.txt, - src/osgPlugins/quicktime/CMakeLists.txt, - src/osgSim/CMakeLists.txt, src/osgTerrain/CMakeLists.txt, - src/osgText/CMakeLists.txt, src/osgUtil/CMakeLists.txt, - src/osgWrappers/CMakeLists.txt: Changed tabs to four spaces to - make merges more straight forward - -2007-09-05 16:47 robert - - * src/osgPlugins/quicktime/ReaderWriterQT.cpp: Added automatic - removal of .qt extension that allows one to automatically select - the quicktime plugin. - -2007-09-05 16:36 robert - - * src/osgPlugins/osgTerrain/Terrain.cpp: Added setting of locator - source - -2007-09-05 14:15 robert - - * include/osgTerrain/Locator, src/osgPlugins/gdal/DataSetLayer.cpp, - src/osgPlugins/osgTerrain/Terrain.cpp, - src/osgTerrain/Locator.cpp, - src/osgWrappers/osgTerrain/Locator.cpp: Added option to Locator - to help specify here the locator value was defined from. - - Update wrappers and Gdal plugin to use this new parameter - -2007-09-04 14:00 robert - - * src/osgPlugins/osgTerrain/Terrain.cpp: Improved Terrain IO - -2007-09-04 12:38 robert - - * src/osgText/DefaultFont.cpp: Added mutex to - DefaultFont::instance(). - -2007-09-04 12:32 robert - - * include/osgText/Font, src/osgText/Font.cpp: Added mutex into - osgText::Font::GlphTexture to marshel adding to and reading - from glyph list - -2007-09-04 09:00 robert - - * include/osgUtil/StateGraph: Rearrange _stateset member variable - to avoid compile warning - -2007-09-03 16:04 robert - - * AUTHORS.txt, README.txt: Updated AUTHORS and README to 2.1.9 dev - release - -2007-09-03 16:02 robert - - * ChangeLog: Updated ChangeLog - -2007-09-03 15:47 robert - - * src/osgWrappers/osg/Texture.cpp: Updated wrappers - -2007-09-03 15:43 robert - - * include/osg/Texture, src/osg/TextureRectangle.cpp: From Sherman - Wilcox, added extension checking support for compressed texture - subloading. - -2007-09-03 15:22 robert - - * src/osgPlugins/Inventor/CMakeLists.txt, - src/osgPlugins/Inventor/ConvertToInventor.cpp: From Jan Peciva, - build fix - -2007-09-03 14:05 robert - - * CMakeLists.txt, include/osg/Version: Updated version number for - 2.1.9 dev release - -2007-09-03 13:59 robert +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." - * CMakeModules/FindInventor.cmake, - src/osgPlugins/Inventor/CMakeLists.txt: From Jan Peciva, - improvement to the FindInventor. +Mon, 14 Feb 2011 15:04:40 +0000 +Checked in by : Robert Osfield +From Jan Peciva, "Improvements: - Use OSG routines to load images instead of simage library (removes dependency on 3rdParty simage library). Applies to Coin Inventor clone only. " -2007-09-03 13:52 robert +Mon, 14 Feb 2011 15:01:56 +0000 +Checked in by : Robert Osfield +Moved ProgramBinary into osg::Program scope - * src/osgPlugins/Inventor/CMakeLists.txt, - src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/Inventor/ConvertToInventor.cpp, - src/osgPlugins/Inventor/ConvertToInventor.h, - src/osgPlugins/Inventor/README.txt, - src/osgPlugins/Inventor/ReaderWriterIV.cpp, - src/osgPlugins/Inventor/ReaderWriterIV.h: From Jan Peciva, Added - write support into Inventor plugin. - - Note from Robert Osfield. A couple of lines of code in - ConvertToInventor.cpp - would not compile under g++ 4.1.2, so rather than hold back the - dev release till - this is resolved I've optional compiled out the problem section. - The #define DISABLE_PROBLEM_COMPILE_SECTIONS is used to compile - out the problem - section, this define is add via the CMakeLists.txt file. +Mon, 14 Feb 2011 14:16:58 +0000 +Checked in by : Robert Osfield +From Sukender, "Here are two sumbissions for DAE.1. daeRGeometry.cpp (rev 12132). A tiny sumbission which fixes a quite important bug: a parameter was forgotten in Collada ReaderWriter, and texture coordinates could not be loaded properly. So: +" +Added missing paramter when calling createGeometryData(). Fixes missing texture coordinates (in "bind_vertex_input"). +" -2007-09-03 12:27 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). +" - * examples/CMakeLists.txt, examples/osgdepthpeeling, - examples/osgdepthpeeling/CMakeLists.txt, - examples/osgdepthpeeling/DePee.cpp, - examples/osgdepthpeeling/DePee.h, - examples/osgdepthpeeling/DePeePass.cpp, - examples/osgdepthpeeling/DePeePass.h, - examples/osgdepthpeeling/Utility.cpp, - examples/osgdepthpeeling/Utility.h, - examples/osgdepthpeeling/osgdepthpeeling.cpp: Added - osgdepthpeeling example -2007-09-03 10:12 robert - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Ralf Kern, "the - attached color mapped TIFF file klink1_l.tif is incorrectly read - as - GL_LUMINANCE data instead of GL_RGB data. You can easily check - with - "osgViewer --image klink1_l.tif". - - The bug is in ReaderWriterTIFF.cpp function simage_tiff_load, - where - numComponents_ret is incorrectly set to 1 instead of 3 for color - mapped - data." +Mon, 14 Feb 2011 13:54:15 +0000 +Checked in by : Robert Osfield +From Johannes Bauerle, "I experienced problems using binary shaders in osgt files (=the osg-serializer plugins). At runtime std::bad_alloc errors were thrown when using binary shaders.The reason is that the .osgt text files do not provide size information about the contained binary shader hence leading to a bad allocation when reading the shader data, probably size 0 ? The reader method in the responsible serializer class (serializers/osg/BinaryShader) is correct and does not need to be changed as it queries the size as expected. The writer method supports two paths(binary output .osgb and text output .osgt/.osgx). Only the text path is affected as the binary path writes the size. -2007-09-03 10:04 robert +I extended the writer in the text path by the size information. The results before and after the fix are shown below: - * examples/osgviewerMFC/MFC_OSG_MDIView.cpp, - examples/osgviewerMFC/MFC_OSG_MDIView.h: From Almalric Alexandre, - "I've noticed that all osgViewerMFC example from osg 2.x.x are - flickering when resizing 3D view, to avoid this only add - OnEraseBkgnd callback in CMFC_OSG_MDIView class and do nothing in - it. Just like the WxWidget example. - - Attached the modified version of MFC_OSG_MDIView.cpp and - MFC_OSG_MDIView.h." - - Note from Robert Osfield, submission came with wrong header file, - so have had - to guess at what it should be, fingers crossed it worn't break - windows build... :-) +Erroneous code for binary shader in osgt file before fix: -2007-09-03 09:56 robert +Data { + 0a + 0d + 0 + ... +} - * src/osg/PagedLOD.cpp: From Laurens Voerman, "I hit a bug when - making a copy of a PagedLOD node, the copy has lost - it's _databasePath and can no longer load it's childen. " - - Added _databasePath(plod._databasePath), in the copy copy - construcutor. +Corrected code for binary shader in osgt file after fix: -2007-09-03 09:54 robert +Data 524 { + 0a + 0d + 0 + ... +} - * src/osg/PagedLOD.cpp: Fixed spacing. +After my fix the the thrown error disappeared." -2007-09-03 09:50 robert - * src/osg/TextureRectangle.cpp: From Sherman Wilcox, "I modified - texturerectangle.cpp to address this issue. I used a DXT5 DDS - file to test the change." -2007-09-03 09:47 robert +Mon, 14 Feb 2011 13:50:14 +0000 +Checked in by : Robert Osfield +From Jahannes Bauerle, "l discovered that the shader class(/src/osg/Shader.cpp) shows wrong behavior when using binary shaders . When shader objects are compared the reference pointer behind the _shaderBinary member is not included in the comparison.I included binary shaders into an osgt model file. These shaders only consists of the binary shader code, I did not supply the text version additionally. When loading the model the osg::Optimizer threw away all shaders except the first one. In the current trunk version of the file two shader objects are identical despite differing _shaderBinary members as the compare method of the Shader class does not include the comparison of that member. - * src/osgWrappers/osg/OperationThread.cpp, - src/osgWrappers/osgViewer/View.cpp: Updated wrapper +The fix in this submission adds the check for identity of the referenced binary shaders to the shader class. -2007-09-03 09:43 robert +When comparing two shader objects with text source shaders the new lines of comparison are not even executed as the comparison returns false in the previous lines when the text shaders differ. - * include/osg/OperationThread: Added default contructors to - Operation +With this fix I get expected behavior, the Optimizer handles the different shaders correctly." -2007-09-02 22:31 robert - * examples/osgtext/osgtext.cpp: Fixed cancel loop. -2007-09-01 16:56 robert +Mon, 14 Feb 2011 12:55:44 +0000 +Checked in by : Robert Osfield +Set debug message to INFO - * include/osgViewer/View, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: Added convinience methods for setting - up 3d spherical displays. +Mon, 14 Feb 2011 12:54:21 +0000 +Checked in by : Robert Osfield +From Michael Platings, I've added initial support to osg for glGetProgramBinary and glProgramBinary. This means that shader programs can now be cached to disk and later reloaded, which is much faster than linking shaders from source code. This should mean significantly shorter load times for people who use lots of combinations of shaders. -2007-09-01 15:24 robert +Mon, 14 Feb 2011 12:14:36 +0000 +Checked in by : Robert Osfield +Fixed typo - * include/osgText/Font, src/osgText/Font.cpp, src/osgText/Text.cpp, - src/osgWrappers/osgText/Font.cpp: Changed Font's mutex to become - a static mutex shared between all instances of Font. - This ensures single threaded access of the freetype plugin. +Fri, 11 Feb 2011 12:11:17 +0000 +Checked in by : Robert Osfield +From Jean-Sebastien Guay, event handler for controlling the field of view of the viewer's camera using 0, - and = keys. -2007-08-31 20:30 robert +Fri, 11 Feb 2011 11:08:00 +0000 +Checked in by : Robert Osfield +Update ChangeLog - * include/osgText/Font, src/osgText/Text.cpp, - src/osgWrappers/osgText/Font.cpp: Changed mutex reference to a - mutex pointer to avoid problems with wrappers +Fri, 11 Feb 2011 09:18:36 +0000 +Checked in by : Robert Osfield +Added check against the NodePath being empty. -2007-08-31 20:21 robert +Thu, 10 Feb 2011 14:24:39 +0000 +Checked in by : Robert Osfield +Tweak to output details - * src/osgWrappers/osg/Referenced.cpp, - src/osgWrappers/osgText/Font.cpp: Updated wrappers +Thu, 10 Feb 2011 14:09:04 +0000 +Checked in by : Robert Osfield +Updated AUTHORS and Contributors.cpp files -2007-08-31 20:16 robert +Thu, 10 Feb 2011 12:23:18 +0000 +Checked in by : Robert Osfield +From Martin von Gagern, build fix for latest ffmpeg changes - * include/osgText/Font, src/osgText/Text.cpp: To solve creations - with multi-threaded creation of text, added mutex to Font, and - use of this mutex in Text, and added mutex to the reading - of fonts. +Tue, 8 Feb 2011 14:36:15 +0000 +Checked in by : Robert Osfield +Added const -2007-08-31 20:14 robert +Mon, 7 Feb 2011 14:19:58 +0000 +Checked in by : Robert Osfield +Implementated experimental reuse of PBO's after download - * include/osg/Referenced, src/osg/Drawable.cpp, src/osg/Node.cpp, - src/osg/StateSet.cpp: Added mutex locking add - addParents/removeParents in Drawable, Node and StateSet. +Fri, 4 Feb 2011 12:43:00 +0000 +Checked in by : Robert Osfield +Added support for enabling the assignment of PixelBufferObjects to loaded Images to aid the download of images to the GPU. Feature can be enabled/disabled (default) by setting the env : OSG_ASSIGN_PBO_TO_IMAGES to ON or OFF -2007-08-31 18:56 robert - * src/osgText/Font.cpp: Added mutex to protect the readFontFile - calls -2007-08-31 16:59 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. - * examples/osgtext/osgtext.cpp: Added support for running multiple - text generation threads +Thu, 3 Feb 2011 17:07:01 +0000 +Checked in by : Robert Osfield +Refactored NodeTrackerManipulator to use osg::ObserverNodePath rather than it's only local equivilant. -2007-08-31 16:05 robert +Thu, 3 Feb 2011 14:27:50 +0000 +Checked in by : Robert Osfield +Added call to GraphicsCostEstimator::calibrate. - * include/osgUtil/CullVisitor, include/osgUtil/RenderLeaf, - include/osgUtil/StateGraph, src/osgSim/OverlayNode.cpp, - src/osgUtil/RenderLeaf.cpp, src/osgViewer/Viewer.cpp, - src/osgWrappers/osgUtil/RenderLeaf.cpp, - src/osgWrappers/osgUtil/StateGraph.cpp: Changed RenderLeaf and - StateGraph so that they use ref_ptr<> by default for Drawable and - StateSet. +Thu, 3 Feb 2011 12:42:23 +0000 +Checked in by : Robert Osfield +Moved GraphicsCostEstimator ref pointer into osg::State -2007-08-31 15:49 robert +Thu, 3 Feb 2011 12:22:09 +0000 +Checked in by : Robert Osfield +Moved GraphicsCostEstimator from osgUtil into core OSG library - * src/osgWrappers/CMakeLists.txt: From Luigi Calori, fixed Windows - install of wrappers +Wed, 2 Feb 2011 17:23:12 +0000 +Checked in by : Robert Osfield +From Jean-Sebastien Guay, build fix -2007-08-31 12:14 robert +Wed, 2 Feb 2011 16:44:21 +0000 +Checked in by : Michael PLATINGS +Updated information about the FBX SDK version - * include/osgTerrain/TileSystem: Added export for Windows build +Tue, 1 Feb 2011 18:12:59 +0000 +Checked in by : Robert Osfield +From Sukender, "Vertices in DOUBLE PRECISION were not handled by Remapper classes. I added missing virtual methods." -2007-08-31 11:04 robert +Tue, 1 Feb 2011 12:18:47 +0000 +Checked in by : Robert Osfield +Fixed the setting of the Drawable modes - * src/osgWrappers/CMakeLists.txt: From Luigi Calori, added support - for Win32 versioning/new buid placement. +Tue, 1 Feb 2011 12:18:22 +0000 +Checked in by : Robert Osfield +Added experimental timing and PBO usage into ICO+GCE classes -2007-08-30 19:26 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. - * examples/osgterrain/osgterrain.cpp, include/osgTerrain/Locator, - src/osgPlugins/gdal/DataSetLayer.cpp, - src/osgPlugins/osgTerrain/Terrain.cpp, - src/osgTerrain/Locator.cpp, - src/osgWrappers/osgTerrain/Locator.cpp: Further work on - osgTerrain::Locator and GDAL plugin +Mon, 31 Jan 2011 11:40:35 +0000 +Checked in by : Robert Osfield +Ran: svn propset svn:eol-style native include/*/* svn propset svn:keywords "Author Date Id Revision" include/*/* -2007-08-30 12:18 robert +Mon, 31 Jan 2011 11:35:50 +0000 +Checked in by : Robert Osfield +svn propset svn:keywords "Author Date Id Revision" include/OpenThreads/* - * src/osgPlugins/geo/CMakeLists.txt: From Luigi Calori, add osgText - to geo plugin build +Mon, 31 Jan 2011 10:41:17 +0000 +Checked in by : Robert Osfield +Set eol-style to native. -2007-08-30 10:41 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 - * CMakeLists.txt, CMakeModules/ModuleInstall.cmake, - CMakeModules/OsgMacroUtils.cmake, src/CMakeLists.txt, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/txp/CMakeLists.txt, - src/osgSim/CMakeLists.txt: From Luigi Calori, introduction of - versioning of dll's and placement of dll and plugins into bin - directory during build. +Fri, 28 Jan 2011 13:54:44 +0000 +Checked in by : Robert Osfield +From Ulrich Hertlein, "I adapted the Cocoa implementation so that it reports the unmodified key and the modified key as requested. Can other OS X developers please test the attached file, to make sure it works for everybody?I fixed the problem with the caps-lock-key, too." -2007-08-30 10:17 robert - * src/osgWrappers/osgTerrain/Layer.cpp: Updated wrappers -2007-08-30 10:15 robert +Fri, 28 Jan 2011 12:34:49 +0000 +Checked in by : Robert Osfield +Fixed size of default font - * include/osgTerrain/Layer, src/osgPlugins/gdal/DataSetLayer.cpp, - src/osgPlugins/gdal/DataSetLayer.h: Further refinement of - ProxyLayer API +Fri, 28 Jan 2011 11:07:51 +0000 +Checked in by : Robert Osfield +From Per Fahlberg, warning fixes -2007-08-29 16:29 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" - * include/osgTerrain/Layer, include/osgTerrain/TileSystem, - src/osgPlugins/gdal/DataSetLayer.cpp, - src/osgPlugins/gdal/DataSetLayer.h, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp, - src/osgTerrain/CMakeLists.txt, src/osgTerrain/TileSystem.cpp, - src/osgWrappers/osgTerrain/Layer.cpp, - src/osgWrappers/osgTerrain/TileSystem.cpp: Further work on new - ProxyLayer +Fri, 28 Jan 2011 10:53:49 +0000 +Checked in by : Robert Osfield +From Ulrich Hertlien, "the changes from r12126 (see below) in dae/domSourceReader.h cause compiler errors on OS X with gcc-4.2.1:In file included from +/Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/daeRAnimations.cpp:3: +/Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:43: error: +explicit specialization in non-namespace scope 'class osgDAE::domSourceReader' +/Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:45: error: +explicit specialization in non-namespace scope 'class osgDAE::domSourceReader' +/Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:47: error: +explicit specialization in non-namespace scope 'class osgDAE::domSourceReader' +/Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:49: error: +explicit specialization in non-namespace scope 'class osgDAE::domSourceReader' +/Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:51: error: +explicit specialization in non-namespace scope 'class osgDAE::domSourceReader' +... -2007-08-29 12:18 robert +The attached file fixes this." - * include/osgTerrain/Layer, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp, - src/osgPlugins/osgTerrain/Terrain.cpp, src/osgTerrain/Layer.cpp, - src/osgWrappers/osgTerrain/Layer.cpp: Added ProxyLayer support - into osgTerrain plugin -2007-08-29 11:51 robert - * src/osgPlugins/gdal/CMakeLists.txt, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp: Added support for post - fixing filenames with .gdal to force use of gdal plugin. +Fri, 28 Jan 2011 10:50:24 +0000 +Checked in by : Robert Osfield +From Mourad Boufarguine, "This is a tiny fix for some typos in osg code." -2007-08-29 10:52 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" - * include/osgTerrain/Layer, src/osgPlugins/gdal/CMakeLists.txt, - src/osgPlugins/gdal/DataSetLayer.cpp, - src/osgPlugins/gdal/DataSetLayer.h, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp: Added preliminary - ProxLayer and DataSetLayer in GDAL plugin to aid integration - of GDAL reading into osgTerrain. +Thu, 27 Jan 2011 17:14:28 +0000 +Checked in by : Robert Osfield +From Eric Buehler, "I believe that the osgWidget::Window::HA_CENTER alignment should be center aligned rather than by the origin, as the osgWidget::Window::VA_TOP causes.The current setAnchorHorizontal() command doesn't center the center of the object, it just center's the object's origin. The following change to osgWidget::Window::update() will correct that behavior so that it is consistent with setAnchorVertical() behavior. +" -2007-08-28 16:12 robert - * src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.cpp: Changed the error - code reporting to use hex to match up with freetype headers -2007-08-28 15:35 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. - * src/osgPlugins/tiff/CMakeLists.txt: Improved formatting. +2. osgDB submission: +I updated osgDB::getPathRelative(): it is now far more readable, it handles more cases (especially when you want to relativise "a/c" from "a/b", which results in "../c"), and I added comments to make it clearer to maintain." -2007-08-28 15:35 robert - * src/osgPlugins/gdal/CMakeLists.txt: Removed the OSG_INCLUDE -2007-08-28 15:31 robert - * examples/osgtext/osgtext.cpp: Tweeked settings +Thu, 27 Jan 2011 16:23:48 +0000 +Checked in by : Robert Osfield +From Alexander Sinditskiy, "reason of this changes described in http://forum.openscenegraph.org/viewtopic.php?t=7596and another problem is: +example osgkeyboard is not work (keys not highlight) if user have 2 keyboard layout native and english and current user layout is native -2007-08-28 14:02 robert +I try to explain my changes - * examples/osgtext/osgtext.cpp: Added multi-threaded test path +we need something that is identify key without modifier keys and layout -> this is UnmodifedKey -2007-08-27 16:59 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. - * examples/osgterrain/osgterrain.cpp, include/osgTerrain/Locator, - src/osgPlugins/osgTerrain/Terrain.cpp, - src/osgTerrain/Locator.cpp, - src/osgWrappers/osgTerrain/Locator.cpp: Replaced CartesianLocator - and EllipsoidLocator by a single general purpose - Locator class +Mikhail Izmestev helped me. He implemented VirtualKey changes in GraphicsWindowX11" -2007-08-27 13:33 robert - * examples/osgviewerWX/osgviewerWX.cpp, - examples/osgviewerWX/osgviewerWX.h: From Brandon Hamm, changed - WxWindows example to use double buffering -2007-08-27 13:29 robert +Thu, 27 Jan 2011 09:41:37 +0000 +Checked in by : Robert Osfield +Removed the executable property from source files - * src/osg/GraphicsContext.cpp, src/osgViewer/HelpHandler.cpp, - src/osgViewer/StatsHandler.cpp: Added support for controlling the - draw order on Cameras on each GraphcisContext - via the Camera::setRenderOrder parameters +Wed, 26 Jan 2011 18:47:55 +0000 +Checked in by : Robert Osfield +Implement first pass at texture compile estimation -2007-08-27 10:37 robert +Wed, 26 Jan 2011 16:47:40 +0000 +Checked in by : Robert Osfield +Replaced CompileStats with GraphicsCostEstimator - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS file for - release +Wed, 26 Jan 2011 16:46:58 +0000 +Checked in by : Robert Osfield +From Mourad Biyfarguine, "This is a fix to some 'potentially uninitialized local variable' warnings in src/osg/glu/libutil/mipmap.cpp." -2007-08-27 10:29 robert +Wed, 26 Jan 2011 16:45:36 +0000 +Checked in by : Robert Osfield +From Mathias Froehlich, build fix for Solaris - * README.txt: Updated date on READEME +Wed, 26 Jan 2011 16:10:42 +0000 +Checked in by : Robert Osfield +From Wang Rui, "I've found a problem when using QFont (osgQt/QFontImplementation.cpp) to read fonts: only the first character of a whole text is correctly shown and others are disappeared. I haven't got into the font implementation so can't explain why this happened and how it should work under other platforms, but it seems to be fixed by specifying width and height of the glyph object. The source file is attached for future developments. At present it just works for my own project. :-) " -2007-08-27 10:28 robert +Wed, 26 Jan 2011 12:51:46 +0000 +Checked in by : Robert Osfield +Moved GraphicsCostEstimator into osgUtil. - * CMakeLists.txt, include/osg/Version: Updated version numbers for - 2.1.8 dev release +Wed, 26 Jan 2011 12:07:56 +0000 +Checked in by : Robert Osfield +Implemented first pass at geometry cost estimation. -2007-08-27 10:00 robert +Tue, 25 Jan 2011 16:48:53 +0000 +Checked in by : Robert Osfield +Fixed warnings - * src/osg/Matrix_implementation.cpp: Cleaned up the getRotate - implementation selection using #defines, and made the - COMPILE_getRotate_David_Spillings_Mk1 the default. +Tue, 25 Jan 2011 11:11:47 +0000 +Checked in by : Robert Osfield +Further work on GraphicsCostEstimator classes -2007-08-27 09:51 robert +Mon, 24 Jan 2011 21:12:25 +0000 +Checked in by : Robert Osfield +From Mathias Froehlich, build fixes - * examples/osgunittests/osgunittests.cpp: From David Spilling, - tweaked quat tests to reproduce getRotate errors. +Mon, 24 Jan 2011 20:45:02 +0000 +Checked in by : Robert Osfield +Added osggraphicscost example as a base of for developing and testing the new osgUtil::GraphicsCostEsimator class. -2007-08-26 10:27 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 - * examples/osglauncher/osglauncher.cpp, src/osg/Array.cpp: From Jan - Ciger, warning fixes +Fri, 21 Jan 2011 14:11:22 +0000 +Checked in by : Robert Osfield +Added #include to fix build -2007-08-26 10: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. - * src/osgDB/FileUtils.cpp: From Jean-Sebastien Guay, fixed comment +I did " -2007-08-26 10:19 robert - * applications/osgconv/osgconv.cpp: Added - dynamic_cast and extra doc commented just to - force the - use of symbol from osgViewer so that it links properly and pulls - in the platform - specific GraphcisWindow* implementation. -2007-08-26 09:59 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) - * src/osg/ApplicationUsage.cpp: Change char* to const char* to fix - warnings +Fri, 21 Jan 2011 11:46:15 +0000 +Checked in by : Robert Osfield +From Sukender, getPathRelative() method. -2007-08-26 09:46 robert +Thu, 20 Jan 2011 12:34:41 +0000 +Checked in by : Robert Osfield +Added export to see if it address Mingw link problems - * include/osgViewer/Renderer, src/osgViewer/Renderer.cpp, - src/osgWrappers/osgViewer/Renderer.cpp: Updated wrappers, and - change Renderer so that private: to proteccted:. +Thu, 20 Jan 2011 12:32:20 +0000 +Checked in by : Robert Osfield +From Matthew Johnson-Roberson, "Small fix for operation thread to protect the access to _operations vector by functions getNumOperationsInQueue() and empty(). It is simply an addition of OpenThreads::ScopedLock lock(_operationsMutex); to protect against accessing while writing which was segfaulting in VPB specifically in void ThreadPool::run(osg::Operation* op) in the waiting loopwhile (_operationQueue->getNumOperationsInQueue() >= _maxNumberOfOperationsInQueue) +" -2007-08-26 09:45 robert - * README.txt: Updated links -2007-08-24 19:16 robert +Thu, 20 Jan 2011 12:27:51 +0000 +Checked in by : Robert Osfield +From Per Fahlberg, warning fixes - * src/osgPlugins/osgTerrain/ReaderWriterOsgTerrain.cpp, - src/osgTerrain/GeometryTechnique.cpp: Changed debug comments to - output to notify level and tweaked the handling of the .terrain - file. +Thu, 20 Jan 2011 12:23:04 +0000 +Checked in by : Robert Osfield +From Simon Julier, "I have been using the ply plugin to read files created by bundler and pmvs2 (http://grail.cs.washington.edu/software/pmvs/). This program generates models in the form of vertices only. However, the existing ply reader implementation was not able to handle the models generated in a satisfactory manner for two reasons:1. It did not support normals applied to individual vertices. +2. It would only support red / green / blue colour triples, but the pmvs models are generated with diffuse colours. (The PLY format, http://local.wasp.uwa.edu.au/~pbourke/dataformats/ply/, lists specular and ambient colour forms as well.) -2007-08-24 19:16 robert +To partially overcome these limitations, please find attached modified versions of - * src/osgDB/Registry.cpp, src/osgPlugins/osg/ReaderWriterOSG.cpp: - Added support for reading a .osg style data from a file string - when trailed by a .osgs extension i.e. - - osgviewer "osgTerrain::Terrain { ElevationLayer { - CartesianLocator 0 0 1000000 1000000 Image ps_height_512.tif } - ColorLayer { CartesianLocator 0 0 1000000 1000000 Image - ps_texture_1k.tif } }".osgs +src/osgPlugins/ply/vertexData.cpp +src/osgPlugins/ply/vertexData.h -2007-08-24 18:48 robert +The changes I've made are: - * src/osgPlugins/osgTerrain/ReaderWriterOsgTerrain.cpp, - src/osgPlugins/osgTerrain/Terrain.cpp: Added writing out of - Terrain, Layer and Locators, and reading in of .terrain string. +1. I have changed the boolean hasColor flag to a vertexField (which is a boolean operation on an enum) to indicate what fields are present in the ply file. (This is required because Turk's ply reader spits out warnings for every line where you try to read fields which do not exist.) +2. I have modified the code to apply valid normals to either triangles or vertices. +3. I have kludged in "support" for the various colour variants. Specifically, all the colour specified can be read from the file. However, they are all applied in the same way (namely as a colour array, bound to each vertex)." -2007-08-24 16:16 robert - * src/osgTerrain/GeometryTechnique.cpp: Set the debug out to info - notification level -2007-08-24 16:12 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: - * src/osgText/Font.cpp: Added better handling of - OSG_TEXT_INCREMENTAL_SUBLOADING env var. +1. CMakeModules/FindOpenEXR.cmake: Look for libIlmThread and libIex as well. 2. src/osgPlugins/CMakeList.txt: Only include the exr subdirectory if both the OpenEXR and zip libraries were found. 3. src/osgPlugins/exr/CMakeLists.txt: Add ZIP_LIBRARY to TARGET_EXTERNAL_LIBRARIES." -2007-08-24 16:10 robert - * src/osgText/Font.cpp: Added default disabling of incremental - subload for ATI cards. -2007-08-24 14:00 robert +Wed, 19 Jan 2011 10:38:39 +0000 +Checked in by : Robert Osfield +From Sukender, normalized option names - * src/osgDB/DatabasePager.cpp: Added support for setting - DatabasePager thread priority via OSG_DATABASE_PAGER_PRIORITY. +Wed, 19 Jan 2011 10:31:49 +0000 +Checked in by : Robert Osfield +From Sukender, "Added ability for writer to read from Vec3/4d/f. Plugin now warns if it finds another type of data" -2007-08-24 13:33 robert +Wed, 19 Jan 2011 09:53:34 +0000 +Checked in by : Robert Osfield +From Sukender, "Factorized the depth loop ("while ( lastDepth >= _nodePath.size() )...") into a method called updateCurrentDaeNode(). Added missing calls into apply(osg::LightSource &) and daeWriter::apply(osg::Camera &) and daeWriter::apply(osg::CameraView &)" - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp, - src/osgViewer/StatsHandler.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp: Cleaned up the thread - priority management in DatabasePager and added - support for paging stats. +Wed, 19 Jan 2011 09:36:21 +0000 +Checked in by : Robert Osfield +From Sukender, "Fixed ReaderWriterDAE::ConvertFilePathToColladaCompatibleURI(): It now handles paths containing '#' character as expected." -2007-08-24 10:58 robert +Wed, 19 Jan 2011 09:34:26 +0000 +Checked in by : Robert Osfield +From Sukender and Robert Osfield, clean up of options - * include/osgViewer/Renderer, src/osgViewer/Renderer.cpp: Added - setting of block into the ThreadSafeQueue's contructor. - -2007-08-24 09:45 robert - - * examples/osgviewerFOX/FOX_OSG_MDIView.cpp: Disable the escape - sets done on the viewer - -2007-08-24 09:42 robert - - * examples/osgviewerFOX/FOX_OSG_MDIView.cpp, - examples/osgviewerWX/osgviewerWX.cpp: From Mario Valle, - - osgviewerWX: "To make the example compile using a wx build non - UNICODE based. - Tested on Linux with wxGTK 2.8.4" - - osgviewerFOX: "Added removeChore() call in the FOX_OSG_MDIView - destructor to get rid of a Trace/BPT trap - error on exit on Linux. BTW this is suggested also in the FOX - documentation." - -2007-08-23 16:56 robert - - * src/osgPlugins/osgFX/CMakeLists.txt, - src/osgPlugins/osgParticle/CMakeLists.txt, - src/osgPlugins/osgSim/CMakeLists.txt, - src/osgPlugins/osgText/CMakeLists.txt, - src/osgPlugins/osgViewer/CMakeLists.txt: Made plugin build names - lowercase - -2007-08-23 16:33 robert - - * src/osgPlugins/OpenFlight/CMakeLists.txt: Changed the plugin name - to openflight instead of OpenFlight to avoid problems - with osgDB looking for just lower case plugin names - -2007-08-23 15:36 robert - - * AUTHORS.txt, CMakeLists.txt, ChangeLog, - applications/osgversion/osgversion.cpp, include/osg/Version: - Updated for 2.1.7 dev release - -2007-08-23 14:35 robert - - * src/osgViewer/Renderer.cpp: From Stephan Huber, fix for crash on - exit - -2007-08-23 14:31 robert - - * include/osg/DisplaySettings, src/osg/DisplaySettings.cpp, - src/osgUtil/SceneView.cpp, src/osgViewer/View.cpp, - src/osgWrappers/osg/DisplaySettings.cpp: From Galen Faidley," - Please find attached the modifications to get the new - checkerboard - stereo format to work. It's a good thing I tested these on a TV - before submitting them since I did indeed have a bug. One thing I - did not test was to see how this would work in windowed mode. - Does - the interlaced stereo code have support for 'absolute' positions? - For example a given pixel on the screen is always shown in a - given - eye no matter where the graphics context is placed? - " - -2007-08-23 14:10 robert - - * src/osgDB/FileUtils.cpp: From Jean-Sebastien Guay,"As discussed - yesterday on the osg-users list, I have altered - src/osgDB/FileUtils.cpp to implement the official Windows DLL - search - order as described on the page - http://msdn2.microsoft.com/en-us/library/ms682586.aspx . As - mentioned, - the search order is now: - 1. The directory from which the application loaded. - 2. The system directory. (C:\Windows\System32 by default, gotten - using the - GetSystemDirectory function) - 3. The 16-bit system directory. (C:\Windows\System by default, - gotten by - adding "\System" to the path gotten in the next step...) - 4. The Windows directory. (C:\Windows by default, gotten using - the - GetWindowsDirectory function) - 5. The current directory. (".") - 6. The directories that are listed in the PATH environment - variable. (as - before) - - The first four directories are obtained using Win32 API calls, so - they - should work correctly even on non-standard Windows installs. - - The changes are well commented and should be clear, even to - someone - not familiar with the Win32 API. - - I have tested in a few scenarios and it works as expected. Serge - Lages - has also tested the changes and confirmed they worked as - described. I - have not had any other reports though (positive or negative). - - I also fixed the issue with a trailing semicolon on the PATH - adding an - empty string to the end of the search paths, as this was an - inconsistent side effect rather than a desirable effect. This - change - will take effect on other platforms as well, but since it tests - for an - empty string in the last item added to the search paths, it - should - have no adverse effect. - " - -2007-08-23 11:06 robert - - * src/osgWrappers/osg/DisplaySettings.cpp: Updated wrappers - -2007-08-23 11:00 robert - - * include/osg/DisplaySettings, include/osgViewer/Renderer, - src/osg/DisplaySettings.cpp, src/osgViewer/Renderer.cpp: Addd - control for serializing draw dispatch. - -2007-08-22 19:31 robert - - * src/osgPlugins/vrml/ReaderWriterVRML2.cpp: From Jean-Sebastien - Guay, "After a bit more testing, it was still not 100% robust, so - this fix - will bring the change in line with what is done on other OSes - (Linux) - and works in all tested cases. - - For reference, this was tested with: - - osgviewer .wrl (file in current directory) - osgviewer \.wrl (file in child directory, relative) - osgviewer .\\.wrl (file in child directory, specify - current) - osgviewer :\\.wrl (absolute path) - " +Tue, 18 Jan 2011 16:14:24 +0000 +Checked in by : Robert Osfield +From Michael Platings, "I've attached a fix for a subtle bug that causes animations (and quite possibly other things) to be serialized incorrectly.For the following code: -2007-08-22 19:26 robert +#define MYMACRO(NAME) myOutputStream << #NAME; +MYMACRO(Group) - * include/osgViewer/Renderer, - src/osgWrappers/osgViewer/Renderer.cpp: Updated 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. -2007-08-22 17:18 robert +So the simple solution to this is to add operator<<(const char*), attached. +" - * src/osgWrappers/osgViewer/Renderer.cpp: Updated wrappers -2007-08-22 17:17 robert - * include/osgViewer/Renderer, src/osgViewer/Renderer.cpp: - Refactored the implementation of cull/draw for - DrawThreadPerContex and CullThreadPerCameraDrawThreadPerContex - and added an experimental draw serialization. +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. -2007-08-22 14:32 ewing +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. - * Xcode/OSX_OSG_README.rtf: Documentation updates. +Tue, 18 Jan 2011 09:54:47 +0000 +Checked in by : Robert Osfield +Build fix -2007-08-22 12:33 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. - * src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Updated wrappers +Mon, 17 Jan 2011 09:10:14 +0000 +Checked in by : Robert Osfield +Added getNum methods -2007-08-22 12:21 robert +Sat, 15 Jan 2011 18:12:19 +0000 +Checked in by : Robert Osfield +First steps on the path to integrating ImageProcessor - * src/osgViewer/Viewer.cpp: Cleaned up the thread setup and fixed - the CullThreadPerCameraDrawThreadPerContext path +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". -2007-08-22 12:14 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)" - * include/osgText/Font, src/osgText/Font.cpp: Added thread safe - ref/unref by default. +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. -2007-08-22 11:04 ewing +You may turn on the feature with the new --fixedDraggerSize argument: - * Xcode/Misc/ArrangeDMG.sh, Xcode/Misc/DSStoreForDMG: Fixes to DMG - script to reflect removal of GDAL and external OpenThreads. - - Support for OpenSceneGraph-Data repo aside OpenSceneGraph repo. - - Added background image support to DMG. Pre-laid-out .DS_Store - included. +# osgmanipulator.exe --fixedDraggerSize --dragger TranslateAxisDragger +cessna.osg +" -2007-08-22 10:56 ewing - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - Removed missing shadow examples from Xcode project. -2007-08-22 10:34 robert +Fri, 14 Jan 2011 12:03:37 +0000 +Checked in by : Robert Osfield +From Sukender, "TIFF plugin now outputs messages coming from libtiff. " - * include/osg/StateAttribute, src/osg/Drawable.cpp, - src/osg/Image.cpp, src/osg/Node.cpp, src/osg/StateAttribute.cpp, - src/osg/View.cpp: Set main scene graph elements to use thread - safe ref/unref by default +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" -2007-08-22 09:50 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 - * src/osgUtil/SceneView.cpp: Cleaned up copy constructor and - switched on thread safe ref/unref. +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." -2007-08-22 09:48 robert +Thu, 13 Jan 2011 18:49:12 +0000 +Checked in by : Robert Osfield +Updated so version number - * src/osg/Referenced.cpp: Added debug ENFORCE_THREADSAFE paths into - osg::Referenced, these are off by default. +Thu, 13 Jan 2011 18:05:59 +0000 +Checked in by : Robert Osfield +From Tim Moore, added missing ImageProcessor header reference -2007-08-22 09:46 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. - * include/osgViewer/Viewer, src/osgViewer/Viewer.cpp: Simplified - the thread set up. -2007-08-22 09:45 robert - * src/osg/View.cpp: Added thread safe ref/unref +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. -2007-08-22 09:44 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. - * src/osgViewer/View.cpp: Added debug message to destructor +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. -2007-08-22 09:43 robert - * src/osg/State.cpp: Added setting of thread safe ref/unref. -2007-08-22 09:42 robert - * include/osg/DisplaySettings, include/osg/NodeVisitor, - src/osg/DisplaySettings.cpp, src/osg/FrameStamp.cpp, - src/osg/NodeVisitor.cpp: Added default setting of use of thread - safe ref/unref. +Wed, 12 Jan 2011 17:39:35 +0000 +Checked in by : Robert Osfield +Fixed comment -2007-08-22 09:05 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." - * include/osgDB/Registry: Changed ReadFileCallback and - WriteFileCallback to use virtual inhertinace. +Tue, 11 Jan 2011 17:29:11 +0000 +Checked in by : Robert Osfield +Changed dos endings to unix line endings -2007-08-21 09:32 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." - * src/osgTerrain/Layer.cpp: Added missing clear() implementation +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." -2007-08-20 13:09 robert - * CMakeModules/OsgMacroUtils.cmake: Fixed the install path of - plugins under Windows. -2007-08-20 10:15 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." - * README.txt: Updated README date -2007-08-20 10:14 robert - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - AUTHORS file for 2.1.6 release +Tue, 11 Jan 2011 17:05:24 +0000 +Checked in by : Robert Osfield +Changed debug messages to INFO -2007-08-20 10:06 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. - * ChangeLog: Updated ChangeLog +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. -2007-08-20 09:28 robert +" - * CMakeLists.txt, include/osg/Version, - src/osgWrappers/osgTerrain/Layer.cpp: Updated version number for - 2.1.6 release and updated wrappers -2007-08-20 09:27 robert - * examples/osgviewerFOX/Makefile: Removed Makefile as this is - autogenerated. +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." -2007-08-19 19:22 robert +Tue, 11 Jan 2011 16:18:49 +0000 +Checked in by : Robert Osfield +From Guy Volckaert, warning fixes - * src/osgDB/Registry.cpp: From Antione Hue and Robert Osfield, - moved prepend in front of lib entry. +Tue, 11 Jan 2011 11:39:50 +0000 +Checked in by : Robert Osfield +Added more flexible testing of Text3D -2007-08-17 16:10 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. - * include/osgUtil/CullVisitor: Fixed zfar setting +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. -2007-08-17 09:37 robert +Wed, 5 Jan 2011 11:43:37 +0000 +Checked in by : Robert Osfield +Added check for invalid face size to prevent a crash - * src/osg/Image.cpp: Changed ++_modifedCount cases to dirty(). +Tue, 4 Jan 2011 10:21:50 +0000 +Checked in by : Robert Osfield +Added extra checks to osg::Geometry::verifyArrays(std::ostream&) -2007-08-16 18:49 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. - * include/osgTerrain/Layer, src/osgDB/Registry.cpp, - src/osgPlugins/osgTerrain/Terrain.cpp, src/osgTerrain/Layer.cpp: - Changed the tolower of the file extension into the plugin name - construction code. - - Added support for CompositeLayer. -2007-08-16 15:29 robert - * include/osgTerrain/GeometryTechnique, - src/osgShadow/SoftShadowMap.cpp, - src/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/osgTerrain/GeometryTechnique.cpp: Updated - wrappers +Fri, 24 Dec 2010 19:47:31 +0000 +Checked in by : Robert Osfield +Added iterator include -2007-08-16 14:13 robert +Fri, 24 Dec 2010 19:19:48 +0000 +Checked in by : Robert Osfield +Refactored IncrementalCompileOperation to make it more flexible. - * include/osgTerrain/GeometryTechnique, - src/osgTerrain/GeometryTechnique.cpp: From Maria Ten, "I divide - the init method of the - geometrytechnique in submethods to made more easy the inheritance - between the user and osg-class. This is a first step to add more - functions in osgTerrain. Maybe the subdivision of the method have - to - be in the terraintechnique because is the base class of - GeometryTechnique. If Robert or anyone think that this is better - i - change this class too." +Thu, 23 Dec 2010 13:11:15 +0000 +Checked in by : Robert Osfield +Fixed warnings -2007-08-15 15:11 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 - * src/osgPlugins/vrml/ReaderWriterVRML2.cpp: From Jan Ciger, "I am - attaching a little hack from Jean-Sebastien Guay which allows - absolute paths to work on Windows." +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." -2007-08-15 15:07 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." - * src/osgShadow/SoftShadowMap.cpp: From Stephan Huber, "the - softshadowmap-implementation does not compile on os x, to be more - precise, the shader does not compile on os x because of some - type-conflicts ala "can not convert from const int to const - float" - - So I changed the offending lines to force the type of the vars. - It works - now on OS X (albeit very slowly, 3fps on a 7300), perhaps you - find the - changes useful. Note: perhaps there is a better way in shaders to - cast/convert from int to float and viceversa." +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." -2007-08-15 15:03 robert +Wed, 22 Dec 2010 20:11:05 +0000 +Checked in by : Robert Osfield +Converted FrameStamp::g/setFrameNumber from int to uint - * src/osgViewer/Viewer.cpp: From Brede Johansen, "The attached file - updates the framestamp and traversal number of the - updatevisitor in osgViewer::Viewer. - - The bug prevented DOF animations because osgSim::DOFTransform - checks - the traversal number before doing any updates." +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. -2007-08-14 17:13 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. - * src/osgPlugins/osgShadow/CMakeLists.txt, - src/osgPlugins/osgTerrain/CMakeLists.txt: Changed the plugin name - to lower case to be consistent with the way that osgDB::Registry - searches for only lower case plugin names. +Tue, 21 Dec 2010 10:23:31 +0000 +Checked in by : Robert Osfield +Improved indentation to make it more readable and consistent with OSG. -2007-08-14 17:04 robert +Tue, 21 Dec 2010 09:36:03 +0000 +Checked in by : Robert Osfield +Cleaned up the frame number increment. - * src/osgPlugins/osgTerrain/ReaderWriterOsgTerrain.cpp: Added - string to keyword map parser. +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... -2007-08-14 13:08 shuber +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..." - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updating the XCode-project-files -2007-08-14 12:47 robert - * applications/osgversion/osgversion.cpp: Added Ben van Basten to - list of authors. -2007-08-14 08:41 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) - * src/osgShadow/SoftShadowMap.cpp: Replaced uint with unsigned int +· lines (simple line clip—replace the external point) -2007-08-13 14:02 robert +· quadrilaterals (call operator() for triangles twice)" - * examples/CMakeLists.txt: Removed osgdepthshadow and - osgshadowtexture from build list -2007-08-13 11:59 robert - * AUTHORS.txt, ChangeLog, README.txt, - applications/osgversion/osgversion.cpp: Updated ChangeLog, - AUTHORS and README files -2007-08-13 11:45 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." - * CMakeLists.txt, include/osg/Version: Updated version for 2.1.5 - dev release -2007-08-13 10:31 robert - * examples/osgstereoimage/osgstereoimage.cpp: From Luc Frauciel, - "I've done 2 main modifications : - 1) added texture->setResizeNonPowerOfTwoHint(false); when loading - an - image. It speeds up by 10 the loading of large images. - 2) added a --disk option : only a filelist is read, images are - only - loaded when needed. It allows to handle very large set of very - large - images that would not fit in memory. Nothing change when the - option is - not set." +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 -2007-08-13 10:27 robert +Mon, 20 Dec 2010 12:03:56 +0000 +Checked in by : Robert Osfield +Fixed memory leak by introducing use of ref_ptr<> - * src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgWrappers/osgSim/OverlayNode.cpp: From Jan Ciger, "I am - attaching an improved version of the OpenVRML plugin. It still - uses - OpenVRML 0.14.3 and is without the Boost dependency. - - The changes: - - - Fixed loading of textures and normals when no corresponding - indices - are specified. It uses vertex indices now, compliant with the - VRML spec. - - - Added colour per vertex support. - - - Added group node support. - - - Changed the code to use osg::ref_ptr instead of naked - pointers to - avoid memory leaks. - - - Fixed breakage for loading files specified by relative path." +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) -2007-08-13 10:20 robert +tries to use null pointer when model is not provided. +I added simple comment in attached file." - * CMakeModules/FindGDAL.cmake: From J.P. Delport, fix of GDAL - location search -2007-08-13 10:17 robert - * include/osgSim/OverlayNode, src/osgSim/OverlayNode.cpp: From Brad - Christiansen, "I added the ability to set the render target - implementaion on the - osgSim::OverlayNode. The attached changes were made against the - 2.0 - release." -2007-08-13 09:13 robert - * CMakeModules/FindGDAL.cmake: Added gdal/gdal.h to header search - path, and gdal1.4.1 to the lib search path. +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 . -2007-08-12 13:30 robert +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." - * src/osgWrappers/osgShadow/SoftShadowMap.cpp, - src/osgWrappers/osgUtil/LineSegmentIntersector.cpp: Updated - wrappers - -2007-08-12 13:18 robert - - * include/osgUtil/LineSegmentIntersector: Added getStart()/getEnd() - -2007-08-12 13:17 robert - - * include/osgUtil/LineSegmentIntersector: From Jean-Sebastien Guay, - "adds osgUtil::LineSegmentIntersector::setStart(osg::Vec3d) and - setEnd(osg::Vec3d)." - -2007-08-12 13:10 robert - - * examples/osgdepthshadow, examples/osgshadowtexture, - runexamples.bat: Removed now redundent osgshadowtexture and - osgdepthshadow examples - -2007-08-12 12:15 robert - - * examples/osgshadow/osgshadow.cpp: Added support for SoftShadowMap - into osgshadow example - -2007-08-12 12:15 robert - - * applications/osgversion/osgversion.cpp: Added fix for typo of - name in submission - -2007-08-12 12:12 robert - - * include/osgShadow/SoftShadowMap, src/osgShadow/CMakeLists.txt, - src/osgShadow/SoftShadowMap.cpp: From Bruno Hebelin, - - "I have adapted to osgShadow the soft shadow map technique - described in "Efficient Soft-Edged Shadows Using Pixel Shader - Branching" by Yury Uralsky, Chapter 17 of GPU Gems 2 (Matt Pharr - ed. Addison-Wesley). - - Here is my code in attachment: basically, it works in the same - way as osgShadow/ShadowMap (core code is copied from it) but - implements a specific GLSL shader for the soft rendering of - penumbra. - - I have tested it under Linux with a NVidia graphic card, but - there should be no dependency on platform nor on the graphics - driver (as far as they support GLSL 2). Screenshots attached show - the current results (frame rate bound to v-sync, but the shader - takes actually not much time)." - -2007-08-11 17:44 robert - - * src/osgDB/FileUtils.cpp, src/osgDB/Registry.cpp: Added - preprending of osgPlugins-version to plugin names - -2007-08-11 14:49 robert - - * applications/osgviewer/osgviewer.cpp, - examples/osgterrain/osgterrain.cpp, include/osg/DisplaySettings, - src/osg/DisplaySettings.cpp, src/osgDB/Registry.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp, - src/osgWrappers/osg/DisplaySettings.cpp: Added - DisplaySetting::s/getCompileContextHint() and use of this hint in - osgViewer::Viewer/CompositeViewer. - - Removed the CustomViewer in osgterrain example as the above now - removes the need for it. - -2007-08-11 12:43 robert - - * examples/osgterrain/osgterrain.cpp: Refactored the use of the - MasterOperation so that it now gets attached to the - Viewer via the new Viewer::addUpdateOperation() method, rather - than need a - custom Viewer::updateTraversal(). - -2007-08-11 10:28 robert - - * include/osg/OperationThread, include/osgViewer/CompositeViewer, - include/osgViewer/Viewer, src/osg/OperationThread.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp, - src/osgWrappers/osg/OperationThread.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Added support for an update - OperationQueue to Viewer and CompositeViewer to allow asyncrnous - adding of operations to be added - to the view to be done during syncronous updateTraversal(). - - This feature can be used for doing things like merging subgraphs - that have been loaded - in a background thread. - -2007-08-10 17:44 robert - - * include/osg/CullSettings, include/osg/CullStack, - src/osg/CullSettings.cpp, src/osg/CullStack.cpp, - src/osgViewer/Renderer.cpp, - src/osgWrappers/OpenThreads/Condition.cpp, - src/osgWrappers/OpenThreads/Mutex.cpp, - src/osgWrappers/OpenThreads/ReentrantMutex.cpp, - src/osgWrappers/OpenThreads/Thread.cpp, - src/osgWrappers/osg/AlphaFunc.cpp, - src/osgWrappers/osg/AutoTransform.cpp, - src/osgWrappers/osg/BlendColor.cpp, - src/osgWrappers/osg/BlendEquation.cpp, - src/osgWrappers/osg/BlendFunc.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/ClampColor.cpp, - src/osgWrappers/osg/ColorMask.cpp, - src/osgWrappers/osg/CullFace.cpp, - src/osgWrappers/osg/CullStack.cpp, src/osgWrappers/osg/Depth.cpp, - src/osgWrappers/osg/Drawable.cpp, src/osgWrappers/osg/Fog.cpp, - src/osgWrappers/osg/FragmentProgram.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osg/FrontFace.cpp, src/osgWrappers/osg/Geode.cpp, - src/osgWrappers/osg/Geometry.cpp, src/osgWrappers/osg/Group.cpp, - src/osgWrappers/osg/Hint.cpp, src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/LOD.cpp, src/osgWrappers/osg/LightModel.cpp, - src/osgWrappers/osg/LightSource.cpp, - src/osgWrappers/osg/LineStipple.cpp, - src/osgWrappers/osg/LineWidth.cpp, - src/osgWrappers/osg/LogicOp.cpp, - src/osgWrappers/osg/Material.cpp, - src/osgWrappers/osg/Matrixd.cpp, src/osgWrappers/osg/Matrixf.cpp, - src/osgWrappers/osg/Multisample.cpp, - src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osg/Object.cpp, src/osgWrappers/osg/PagedLOD.cpp, - src/osgWrappers/osg/Point.cpp, - src/osgWrappers/osg/PointSprite.cpp, - src/osgWrappers/osg/PolygonMode.cpp, - src/osgWrappers/osg/PolygonOffset.cpp, - src/osgWrappers/osg/PolygonStipple.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osg/ProxyNode.cpp, - src/osgWrappers/osg/Scissor.cpp, - src/osgWrappers/osg/Sequence.cpp, - src/osgWrappers/osg/ShadeModel.cpp, - src/osgWrappers/osg/ShapeDrawable.cpp, - src/osgWrappers/osg/State.cpp, - src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/StateSet.cpp, - src/osgWrappers/osg/Stencil.cpp, - src/osgWrappers/osg/StencilTwoSided.cpp, - src/osgWrappers/osg/Switch.cpp, src/osgWrappers/osg/TexEnv.cpp, - src/osgWrappers/osg/TexEnvCombine.cpp, - src/osgWrappers/osg/TexEnvFilter.cpp, - src/osgWrappers/osg/TexGen.cpp, - src/osgWrappers/osg/TextureCubeMap.cpp, - src/osgWrappers/osg/TextureRectangle.cpp, - src/osgWrappers/osg/Transform.cpp, - src/osgWrappers/osg/Uniform.cpp, src/osgWrappers/osg/Vec2d.cpp, - src/osgWrappers/osg/Vec2f.cpp, src/osgWrappers/osg/Vec3d.cpp, - src/osgWrappers/osg/Vec3f.cpp, src/osgWrappers/osg/Vec4d.cpp, - src/osgWrappers/osg/Vec4f.cpp, - src/osgWrappers/osg/VertexProgram.cpp, - src/osgWrappers/osg/Viewport.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgFX/AnisotropicLighting.cpp, - src/osgWrappers/osgFX/BumpMapping.cpp, - src/osgWrappers/osgFX/Cartoon.cpp, - src/osgWrappers/osgFX/Effect.cpp, - src/osgWrappers/osgFX/Scribe.cpp, - src/osgWrappers/osgFX/SpecularHighlights.cpp, - src/osgWrappers/osgFX/Technique.cpp, - src/osgWrappers/osgFX/Validator.cpp, - src/osgWrappers/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/osgGA/DriveManipulator.cpp, - src/osgWrappers/osgGA/FlightManipulator.cpp, - src/osgWrappers/osgGA/GUIActionAdapter.cpp, - src/osgWrappers/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/osgGA/MatrixManipulator.cpp, - src/osgWrappers/osgGA/TrackballManipulator.cpp, - src/osgWrappers/osgGA/UFOManipulator.cpp, - src/osgWrappers/osgManipulator/Command.cpp, - src/osgWrappers/osgManipulator/CommandManager.cpp, - src/osgWrappers/osgManipulator/Dragger.cpp, - src/osgWrappers/osgManipulator/Projector.cpp, - src/osgWrappers/osgManipulator/RotateCylinderDragger.cpp, - src/osgWrappers/osgManipulator/RotateSphereDragger.cpp, - src/osgWrappers/osgManipulator/Scale1DDragger.cpp, - src/osgWrappers/osgManipulator/Scale2DDragger.cpp, - src/osgWrappers/osgManipulator/Selection.cpp, - src/osgWrappers/osgParticle/AccelOperator.cpp, - src/osgWrappers/osgParticle/Emitter.cpp, - src/osgWrappers/osgParticle/FluidProgram.cpp, - src/osgWrappers/osgParticle/Operator.cpp, - src/osgWrappers/osgParticle/Particle.cpp, - src/osgWrappers/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/osgParticle/PointPlacer.cpp, - src/osgWrappers/osgParticle/Shooter.cpp, - src/osgWrappers/osgSim/ColorRange.cpp, - src/osgWrappers/osgSim/Impostor.cpp, - src/osgWrappers/osgSim/ImpostorSprite.cpp, - src/osgWrappers/osgSim/MultiSwitch.cpp, - src/osgWrappers/osgSim/ScalarBar.cpp, - src/osgWrappers/osgSim/SphereSegment.cpp, - src/osgWrappers/osgText/Text.cpp, - src/osgWrappers/osgUtil/CubeMapGenerator.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/osgUtil/HalfWayMapGenerator.cpp, - src/osgWrappers/osgUtil/HighlightMapGenerator.cpp, - src/osgWrappers/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgUtil/ReflectionMapGenerator.cpp, - src/osgWrappers/osgUtil/SceneView.cpp, - src/osgWrappers/osgUtil/Statistics.cpp, - src/osgWrappers/osgUtil/Tessellator.cpp, - src/osgWrappers/osgUtil/TriStripVisitor.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/GraphicsWindow.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Updated wrappers - -2007-08-10 10:58 robert - - * src/osgWrappers/osg/GraphicsThread.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgViewer/Scene.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Updated wrappers - -2007-08-10 10:57 robert - - * include/osgViewer/View, src/osgViewer/View.cpp: Added - View::setDatabasePager(..) - -2007-08-10 10:52 robert - - * include/osg/GraphicsThread, include/osgViewer/CompositeViewer, - include/osgViewer/Scene, include/osgViewer/View, - include/osgViewer/Viewer, src/osg/GraphicsThread.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/Scene.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: Refactored the way the Scene is used in - Viewer and CompositeViewer to ensure - that only on Scene exists per scene graph. - -2007-08-09 08:19 robert - - * include/osgUtil/CullVisitor, include/osgViewer/Renderer: Compile - fix - -2007-08-09 08:15 robert - - * examples/osgterrain/CMakeLists.txt, - examples/osgterrain/ReaderWriterTerrain.cpp: Removed now - redundent ReaderWriterTerrain.cpp - -2007-08-08 09:12 robert - - * src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp: Updated wrappers - -2007-08-08 08:10 robert - - * include/osgDB/DatabasePager, include/osgUtil/CullVisitor, - src/osgDB/DatabasePager.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/SceneView.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/Scene.cpp: Added new statc prototype() and create() - methods to CullVisitor and DatabasePager to allow overriding of - the default implementations - -2007-08-08 05:59 robert - - * src/osgPlugins/osgTerrain/ReaderWriterOsgTerrain.cpp: Removed - unneeeded includes - -2007-08-07 22:56 robert - - * src/osgWrappers/osgTerrain/Terrain.cpp, - src/osgWrappers/osgTerrain/TerrainNode.cpp, - src/osgWrappers/osgTerrain/TerrainTechnique.cpp: Updated wrappers - -2007-08-07 22:31 robert - - * src/osgTerrain/CMakeLists.txt: Updated CMakeLists.txt to reflect - renaming of TerrainNode. +Fri, 17 Dec 2010 13:43:41 +0000 +Checked in by : Robert Osfield +From Tim Moore, fix for race conditions in takeOrGenerate() methods -2007-08-07 19:53 robert +Fri, 17 Dec 2010 11:46:42 +0000 +Checked in by : Robert Osfield +Fixed warnings - * examples/osgterrain/osgterrain.cpp, include/osgTerrain/Terrain, - include/osgTerrain/TerrainNode, - include/osgTerrain/TerrainTechnique, - src/osgPlugins/osgTerrain/CMakeLists.txt, - src/osgPlugins/osgTerrain/ReaderWriterOsgTerrain.cpp, - src/osgPlugins/osgTerrain/Terrain.cpp, - src/osgTerrain/CMakeLists.txt, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Terrain.cpp, - src/osgTerrain/TerrainNode.cpp, - src/osgTerrain/TerrainTechnique.cpp: Renamed - osgTerrain::TerrainNode to osgTerrain::Terrain and introduced - basic - .osg read support for osgTerrain::Terrain. - +Fri, 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. -2007-08-07 15:51 robert +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. - * src/osgPlugins/osgTerrain/CMakeLists.txt: Removed TerrainNode.cpp - from CMakeLists.txt +Wed, 15 Dec 2010 19:44:29 +0000 +Checked in by : Robert Osfield +Fixed the size computation -2007-08-07 15:30 robert +Wed, 15 Dec 2010 16:30:48 +0000 +Checked in by : Robert Osfield +Removed no longer used static member variables - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/osgTerrain, - src/osgPlugins/osgTerrain/CMakeLists.txt, - src/osgPlugins/osgTerrain/ReaderWriterOsgTerrain.cpp: Added - preliminary shell of osgTerrain plugin +Wed, 15 Dec 2010 12:34:16 +0000 +Checked in by : Robert Osfield +Improvements to GLBufferObject and TextureObject pools -2007-08-07 14:49 robert +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. - * src/osgPlugins/gdal/ReaderWriterGDAL.cpp: From Luc Fruciel, "Gdal - plugins reads lots of information that is not taken into account - in ReadHeigthField for example. - Attached a modification that read the HeigthField position and - X,Yintervals. - I also removed the limitation to 1024*1024 to 4096*4096, because - when you are preprocessing your data with OSG, it can be useful - to read large images/heigthfields. Is there a reason (other than - hardware limitations for textures) for this limit ?" +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. -2007-08-07 10:37 robert +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. - * src/osgPlugins/gdal, src/osgPlugins/gdal/CMakeLists.txt, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp: Re-introduceed GDAL - plugin +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. -2007-08-07 10:33 robert +Tue, 14 Dec 2010 15:28:31 +0000 +Checked in by : Robert Osfield +Removed redundent MinimumNumberOfTextureObjectsToRetainInCache static variable - * CMakeLists.txt, CMakeModules/FindGDAL.cmake, - src/osgPlugins/CMakeLists.txt: Re-introduced GDAL plugin. +Tue, 14 Dec 2010 14:32:16 +0000 +Checked in by : Robert Osfield +Improved the parsing of output filename -2007-08-07 10:31 robert +Tue, 14 Dec 2010 13:43:32 +0000 +Checked in by : Robert Osfield +Added GLBufferObjectManager::reportStats() - * include/osg/GLU: Added preliminary code to allow build - specification of glu tesscallback with ... parameter +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. -2007-08-07 08:18 robert +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. - * src/osg/GraphicsContext.cpp: From Andy Skinner, The attached file - adds #include to GraphicsContext.cpp, so that it - compiles with the solaris compiler we use. +This should make it even easier to create distribution packages for the various linux, windows and mac distribution methods supported by CPack." -2007-08-06 11:52 robert - * README.txt: Updated README -2007-08-06 11:50 robert - * AUTHORS.txt, ChangeLog, applications/osgversion/osgversion.cpp, - src/osgViewer/Viewer.cpp: Updated ChangeLog, and AUTHORS file for - release +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. -2007-08-06 11:24 robert +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: - * CMakeLists.txt, include/osg/Version: Updated version numbers for - release +./osgposter --output-poster --poster output.bmp --tilesize 800 600 +--finalsize 8000 6000 cow.osg --inactive --camera-eye 0 0 20 +" -2007-08-06 09:28 robert - * src/osgSim/OverlayNode.cpp: Changed debug message to INFO level -2007-08-05 17:06 robert +Mon, 13 Dec 2010 17:54:27 +0000 +Checked in by : Robert Osfield +Renamed osgviewerQtContext to osgviewerQt, and removed deprecated examples from CMakeLists.txt - * src/osgViewer/View.cpp: Added support for enabling the stencil - buffer when horizontal and vertical split stereo are used. +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 -2007-08-05 14:59 robert +Mon, 13 Dec 2010 17:50:00 +0000 +Checked in by : Robert Osfield +Moved osgbrowser into svn/trunk. - * src/osgViewer/GraphicsWindowX11.cpp: From Tim More, "This patch - causes GraphicsWindowX11 to not send key release events when a - key - press / release is caused by auto-repeat. This is consistent with - Windows and Mac - behavior, as well as other toolkits such as SDL." +Mon, 13 Dec 2010 17:49:37 +0000 +Checked in by : Robert Osfield +Move osgcegui into deprecated -2007-08-05 14:51 robert +Mon, 13 Dec 2010 17:37:42 +0000 +Checked in by : Robert Osfield +Have moved FindXUL.cmake to deprecated - * src/osg/CullSettings.cpp, src/osg/Referenced.cpp, - src/osgGA/DriveManipulator.cpp, src/osgPlugins/txp/TXPParser.cpp, - src/osgUtil/Optimizer.cpp, src/osgUtil/RenderBin.cpp, - src/osgViewer/ViewerEventHandlers.cpp: From Andy Skinner, fixes - for avoiding warnings about mixing c and c++ versions of c libs. +Mon, 13 Dec 2010 17:36:02 +0000 +Checked in by : Robert Osfield +Have moved gecko plugin to deprecated -2007-08-04 17:04 robert +Mon, 13 Dec 2010 17:09:31 +0000 +Checked in by : Robert Osfield +Added resizeGLObjectBuffers(uint) and relaseGLObjects(State*) to BufferData. - * src/osgViewer/Viewer.cpp: Disable the selection of - CullPerCameraDrawPerContext until I am able to fix this - threading model +Mon, 13 Dec 2010 16:25:50 +0000 +Checked in by : Robert Osfield +Moved GraphicsWindowQt from osgviewerQtContext into osgQt. -2007-08-04 10:30 robert +Mon, 13 Dec 2010 13:41:42 +0000 +Checked in by : Robert Osfield +Fixed warnings - * src/osgPlugins/net/sockinet.cpp, - src/osgPlugins/net/sockstream.cpp: From John Shue, "Recent - changes to sockstream.cpp and sockinet.cpp to better deal with - various operating system differences between socklen_t and int - have - broken the FreeBSD build. Change was to add __FreeBSD__ to the - list of - defines that are checked." +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. -2007-08-03 16:08 robert +Start the program like this: - * src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/View.cpp: Updated wrappers +./osgposter --output-poster --poster output.bmp --tilesize 800 600 --finalsize 8000 6000 cow.osg -2007-08-03 14:50 robert +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. :) - * include/osg/GraphicsContext, include/osg/View, - src/osg/GraphicsContext.cpp, src/osgViewer/View.cpp: Added - perlimnary support for reading the DISPLAY variable. +The command below may also help: -2007-08-02 16:23 robert +./osgposter --help + " - * src/osgViewer/StatsHandler.cpp: Changed the projection matrix - resize policy. -2007-08-02 12:36 robert - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Martin Lavery, XCode updates for the new Renderer class +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. -2007-08-02 12:27 robert +* the registry releases gl objects of the shared state manager + " - * include/osg/View: Added return 0; -2007-08-02 11:02 robert - * include/osg/Camera, include/osg/GraphicsThread, - include/osg/State, include/osg/View, - include/osgViewer/CompositeViewer, include/osgViewer/Renderer, - include/osgViewer/View, include/osgViewer/Viewer, - src/osg/Camera.cpp, src/osg/GraphicsContext.cpp, - src/osg/GraphicsThread.cpp, src/osg/View.cpp, - src/osgViewer/CMakeLists.txt, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/HelpHandler.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/StatsHandler.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/GraphicsThread.cpp, - src/osgWrappers/osg/State.cpp, src/osgWrappers/osg/View.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/Renderer.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Introduce new - osgViewer::Renderer class for implementing of the rendering - of cameras in viewers +Mon, 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. -2007-08-02 08:50 robert +Please add a line: - * src/osgUtil/CullVisitor.cpp: Added save and restoring of the cull - mask to Camera handling code +FIND_PACKAGE(DirectInput) -2007-07-31 17:28 robert +in the CMakeLists of root directory. And in the examples/CMakeLists.txt: - * include/osg/GLExtensions: From Andy Skinner,adding c includes to - avoid problems with mixing c and c++ versions - of c functions. +IF(DIRECTINPUT_FOUND) + ADD_SUBDIRECTORY(osgdirectinput) +ENDIF(DIRECTINPUT_FOUND) -2007-07-30 16:02 robert +DirectX SDK 2009 is used here, but an older version like DX8 should +also work in my opinion. +" - * AUTHORS.txt: Updated AUTHORS file for release -2007-07-30 15:56 robert - * ChangeLog: Updated ChangeLog for release +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." -2007-07-30 15:25 robert - - * CMakeLists.txt, include/osg/Version: Updated version number for - 2.1.3 dev release - -2007-07-30 10:52 robert - - * include/osgUtil/GLObjectsVisitor, - src/osgUtil/GLObjectsVisitor.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp: Ported across - Viewer's to use osgUtil::GLObjectOperation, added second option - in GLObjectOperation to handle cases when no subgraph is - registered, in these - case the code now compile all Camera subgraphs. +Sun, 12 Dec 2010 10:00:57 +0000 +Checked in by : Robert Osfield +Added TODO notes -2007-07-28 10:44 robert +Sun, 12 Dec 2010 09:58:45 +0000 +Checked in by : Robert Osfield +From Wojciech Lewandowski, added docs on Swap Method env vars and command line options - * src/osg/ApplicationUsage.cpp, src/osg/ArgumentParser.cpp, - src/osg/Geometry.cpp, src/osg/LightModel.cpp, - src/osg/PolygonOffset.cpp, src/osg/Uniform.cpp, - src/osg/Version.cpp, src/osgPlugins/obj/obj.cpp, - src/osgSim/OpenFlightOptimizer.cpp, - src/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgViewer/StatsHandler.cpp, src/osgViewer/Viewer.cpp: From - Andy Skinner, adding C includes to avoid issues when mixing C and - C++ standard includes +Sun, 12 Dec 2010 09:52:29 +0000 +Checked in by : Robert Osfield +From Trajce Nikolov, "attached is a fix for the txp loader (in TileMapper). The code was giving wrong parent tile ids using the stack - I implemented differnt approach for that" -2007-07-28 10:28 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." - * examples/osgviewerFOX/CMakeLists.txt, include/osg/Camera, - include/osgUtil/SceneView, src/osg/Camera.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/SceneView.cpp, - src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osgUtil/SceneView.cpp: Introduce - Camera::s/getRenderer(). +Sun, 12 Dec 2010 09:37:14 +0000 +Checked in by : Robert Osfield +From David Fries, "Avoid a terrapage crash with outstanding requests to a removed archive file. ReaderWriterTXP::getArchiveName will create an archive if it doesn't exist. This is causing a crash if the terrain is removed and there are outstanding database requests in the database pager. The request will create a new archive, and as the archive is newly create doesn't have the materials etc to support the subtile that was just loaded. To fix the problem getArchiveName will only return existing archives. createArchiveName was added to create archives. " -2007-07-27 17:16 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." - * include/osgIntrospection/Reflector, - src/osgIntrospection/Reflector.cpp: From David Callu, "After the - mail of Emmanuel Roche to convert a void * in a known pointer - (for example osg::Geode *), I has searched an elegant way to - introduce this feature. - - I just add ReinterpretCastConverter in the Reflector to convert - void* in T* and T* in void* - - - files joint : - - OpenSceneGraph/include/osgIntrospection/Reflector // modified - file - OpenSceneGraph/src/osgIntrospection/Reflector.cpp // modified - file - - " - -2007-07-27 17:14 robert - - * src/osg/Drawable.cpp: From Bryan Thrall, added copying of - boundingbox callback to copy constructor. - -2007-07-27 17:07 robert - - * src/osgViewer/Viewer.cpp: From Stephan Huber, added reset of - _currentContext when graphics context is closed. - -2007-07-27 16:48 robert - - * src/osgViewer/GraphicsWindowCarbon.cpp: From Stephan Huber, - "attached you'll find a fix for the dead locks when closing a - window - under OS X." - -2007-07-27 15:26 robert - - * .: Updated svn::externals - -2007-07-26 19:31 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Thibault Genessay, - "Attached is an unitialized variable fix I spotted with Purify. - The _currentCursor (of type HCURSOR) member of the graphics - window was not properly initialized, causing potential problems - if setCursor() was called before anything else set it." - -2007-07-25 10:12 robert - - * src/osgPlugins/dae/daeRMaterials.cpp: From Parag Chaudhur, "In - daeRMaterials.cpp in the COLLADA plugin, in the processTexture - function, Lines 519-522 - of the source file: - - The "delete [] path" appears before the "osg::notify", causing - the data pointed to by - "filename" to be deleted before access causing an access - violation. - - ... - - I have put a comment on - line 521 where I have moved the "delete []path" below. - " - -2007-07-24 14:52 robert - - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - AUTHORS - -2007-07-24 14:47 robert - - * ChangeLog: Updated ChangeLog - -2007-07-24 14:43 robert - - * CMakeLists.txt, include/osg/Version: Updated version for dev - release - -2007-07-24 14:30 robert - - * examples/osgviewerFOX/FOX_OSG_MDIView.cpp: Fixed warning - -2007-07-24 14:02 robert - - * CMakeLists.txt, CMakeModules/FindFOX.cmake, - examples/CMakeLists.txt, examples/osgviewerFOX, - examples/osgviewerFOX/CMakeLists.txt, - examples/osgviewerFOX/FOX_OSG.cpp, - examples/osgviewerFOX/FOX_OSG.h, - examples/osgviewerFOX/FOX_OSG_MDIView.cpp, - examples/osgviewerFOX/FOX_OSG_MDIView.h, - examples/osgviewerFOX/Makefile, - examples/osgviewerFOX/osgviewerFOX.cpp, - examples/osgviewerFOX/osgviewerFOX.h, include/osgTerrain/Locator, - src/osgTerrain/Locator.cpp: From Alexandre Amalric, Fox example - - From Robert Osfield, CMake build support for FOX example - -2007-07-23 20:37 robert - - * examples/osgviewerMFC/MFC_OSG.cpp, - examples/osgviewerMFC/MFC_OSG.h, - examples/osgviewerMFC/MFC_OSG_MDIView.cpp, - examples/osgviewerMFC/MFC_OSG_MDIView.h: From Michael Hartman, - "Here is an update for the closing issue with the example - osgviewerMFC where the MFC rendering thread would not exit before - the application and the thread would be left running in the - background and the user would have to use TaskManager to kill the - process. - - Changes: - - MFC_OSG.cpp: - - Removed pixelformatdesciptor from the class initialization. - - Used setInheritedWindowPixelFormat to true so it will setup the - pixelformat for the window. - - Added class destructor code. - - MFC_OSG.h: - - Removed the ref_ptr on osgViewer::Viewer - - MFC_OSG_MDIViewer.cpp: - - Changed the OnDestroy function code. - - Added WaitforSingleObject with thread handle for the MFC render - handle. - - MFC_OSG_MDIView.h: - - Added class variable for MFC Render Thread Handle for use with - the WaitforSingleObject. - " - -2007-07-23 20:10 robert - * src/osgDB/FileNameUtils.cpp, src/osgPlugins/txp/trpage_swap.cpp: - From Andy Skinner, addition of standard c library includes to - avoid issues with using STLport on some platforms. +Sun, 12 Dec 2010 08:56:58 +0000 +Checked in by : Robert Osfield +From Wang Rui, "I've found a possible bug in the new SmoothingVisitor implementation (with a great 'crease angle' feature), which will crash if the normal array is already set but without BIND_PER_VERTEX. I just believe that we should reallocate the normal array in these cases, as the old implementation does. " -2007-07-23 20:08 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 - * src/osgPlugins/txp/trpage_swap.cpp: Converted tabs to four spaces +Sat, 11 Dec 2010 15:12:09 +0000 +Checked in by : Robert Osfield +From Cedric Pinson, "Here a small fix about gdal plugin used to read dem file, if you dont setup the log level to INFO it does not work. It's because of this line: OSG_INFO << " GetGeoTransform == "<< dataset->GetGeoTransform(geoTransform)<<"I have just put the function outside of an stream stuff, and it works. +It's possible we have other code like that in other plugins, I guess +it's a side effect of the MACRO stuff about notification." -2007-07-23 18:19 robert - * genwrapper.conf, src/osgWrappers/OpenThreads/Block.cpp, - src/osgWrappers/osg/GraphicsThread.cpp: Updated wrappers -2007-07-23 18:13 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 - * src/osgPlugins/net/sockinet.cpp, - src/osgPlugins/net/sockstream.cpp: From Mathias Froehlich, - compile fix for OSX. +Fri, 10 Dec 2010 13:22:21 +0000 +Checked in by : Robert Osfield +Build fixes to keep up with changes in head inclusions/API in osgDB -2007-07-23 16:42 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 - * include/osg/GraphicsThread, src/osg/GraphicsThread.cpp: Added - FlushDeletedGLObjectsOperation. +Wed, 8 Dec 2010 11:01:37 +0000 +Checked in by : Robert Osfield +Updated version number for 2.9.11 dev release -2007-07-22 20:33 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. " - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Added support for using the CompileContext to do GL object - deletion. +Wed, 8 Dec 2010 09:54:23 +0000 +Checked in by : Robert Osfield +Added protection against the Registry from being deleted prior to the proxy objects unregistering themselves -2007-07-21 20:11 robert +Wed, 8 Dec 2010 09:52:58 +0000 +Checked in by : Robert Osfield +Fixes for benign threading memory contentions. - * examples/osgterrain/osgterrain.cpp: Converted usleep call to - OpenThreads::Thread::microSleep() to avoid VS build problems +Mon, 6 Dec 2010 10:35:02 +0000 +Checked in by : Robert Osfield +Renamed YES and NO enums with more description names that don't overlap with iOS #define's -2007-07-19 18:59 robert +Fri, 3 Dec 2010 19:04:50 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and AUTHORS for release - * examples/osgterrain/osgterrain.cpp: Added reset it to set block - correctly before use. +Fri, 3 Dec 2010 17:50:38 +0000 +Checked in by : Robert Osfield +From Johannes Bauerle, "When trying to use the osgText functionality in an osg application built without support for the fixed function pipeline I got a lot of warning messages about invalid calls. I found two indirect calls to the glTexEnv in the file Text.cpp:state.applyTextureAttribute(0,getActiveFont()->getTexEnv()); -2007-07-19 17:02 robert +In the attached fix I surrounded these calls with #ifdef's checking for OSG_GL_FIXED_FUNCTION_AVAILABLE to ensure that the above function is only called when the fixed function pipeline is available. +" - * examples/osgterrain/osgterrain.cpp: Improved the filtering of - changes to master file to prevent using reading from - files that are still under going changes. -2007-07-19 16:42 robert - * src/osgWrappers/OpenThreads/Block.cpp, - src/osgWrappers/osg/OperationThread.cpp, - src/osgWrappers/osgTerrain/GeometryTechnique.cpp: Updated - wrappers +Fri, 3 Dec 2010 17:20:32 +0000 +Checked in by : Robert Osfield +Removed redundent call. -2007-07-19 15:24 robert +Fri, 3 Dec 2010 14:24:23 +0000 +Checked in by : Robert Osfield +Commented out debug message - * examples/osgterrain/osgterrain.cpp, include/osg/OperationThread: - Added osg::RefBlockCount subclassed from the new - OpenThreads::BlockCount and used it into osgterrain example +Fri, 3 Dec 2010 14:18:16 +0000 +Checked in by : Robert Osfield +Introduced bool Texture2D::textureObjectValid(State) and bool SubloadCallback::textureObjectValid(Texture2D&,State&) method to make it tell Texture2D::apply() whether the texture object is still valid or whether it's no longed valid for the any changes to the image attached to the Texture -2007-07-19 12: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 - * examples/osgterrain/osgterrain.cpp: Added support for using - multiple load threads as a thread pool used by the - MasterOperation +- src/osgDB/CMakeLists.txt +-- don't link against Carbon on iOS (device or simulator) -2007-07-18 16:48 robert +- src/osgPlugins/freetype/CMakeLists.txt +-- don't link against OpenGL on iOS device or simulator - * src/osgTerrain/GeometryTechnique.cpp, - src/osgTerrain/TerrainNode.cpp, - src/osgTerrain/TerrainTechnique.cpp: Added setting of - ThreadSafeRefUnref to true. +- src/osgViewer/CMakeLists.txt +-- link against OpenGLES on iOS (device or simulator) -2007-07-18 16:17 robert +- src/osgPlugins/imageio/CMakeLists.txt +-- compile ReaderWriterImageIO_IOS.cpp as Objective-C++ - * examples/osgterrain/osgterrain.cpp: Refactored the viewer setup - code to use a CustomViewer subclass of Viewer which - wraps up the set up of compile contexts and merging of changes. +" -2007-07-18 16:14 robert - * src/osgUtil/GLObjectsVisitor.cpp: Commented out debug messages -2007-07-18 14:54 robert +Thu, 2 Dec 2010 14:13:54 +0000 +Checked in by : Robert Osfield +From Mathias Froehlich, "Attached are most of the fixes that are required to build osg on solaris and hpux. I have skipped irix this time as irix is too dead to keep osg building there.As usual, solaris does not like member templates in stl containers. +Some headers missing and link problems due to missing libraries." - * src/osg/GraphicsContext.cpp, src/osg/GraphicsThread.cpp: Added - call to State::initializeExtensionsProcs() to prevent crashes - before - these variables are initialized. -2007-07-18 09:05 robert - * include/osgUtil/GLObjectsVisitor: Added missing export symbol. -2007-07-17 17:36 robert +Thu, 2 Dec 2010 14:01:54 +0000 +Checked in by : Robert Osfield +Ran dos2unix to fix line endings - * include/osgTerrain/GeometryTechnique, - src/osgTerrain/GeometryTechnique.cpp, - src/osgTerrain/TerrainTechnique.cpp: Added traverse method - implementation into GeometryTechnique. +Thu, 2 Dec 2010 13:53:10 +0000 +Checked in by : Robert Osfield +From Brad Christiansen, commented out debug messages -2007-07-17 16:18 robert +Thu, 2 Dec 2010 09:39:31 +0000 +Checked in by : Robert Osfield +Removed redudent makeCurrentImplementation() that was causing a crash in osgscreencapture. - * examples/osgterrain/osgterrain.cpp: Merged the new master - operation/operation thread code with older standard - terrain set up code. +Wed, 1 Dec 2010 20:14:34 +0000 +Checked in by : Robert Osfield +Updated AUTHORS and Contributors.cpp to reflect new ChangeLog correctly -2007-07-17 10:54 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:" - * applications/osgviewer/osgviewer.cpp, - examples/osgterrain/osgterrain.cpp, src/osg/GraphicsContext.cpp: - Fixed GraphcicsContext::getMaxContextID so it properly returns - the current max contextID. - - Fixed the osgviewer's compile context code to account for the - above fix. - - Added compile context support into osgterrain example. -2007-07-17 09:15 robert - * examples/osgterrain/osgterrain.cpp: Fixed typo +Wed, 1 Dec 2010 14:03:10 +0000 +Checked in by : Robert Osfield +Updated ChangeLog -2007-07-16 21:39 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." - * examples/osgterrain/osgterrain.cpp: Work in progress on support - for dynamically reading a master file in a background thread +Tue, 30 Nov 2010 16:22:37 +0000 +Checked in by : Robert Osfield +From "Matthew Roberso, I've attached a small fix to the src/osgWrappers/serializers/osg/Texture2DArray.cpp against the svn head r11965 it simply calls setTextureDepth before attempting to load the individual textures into the array. Currently without that the loading fails with the following printout "Warning: Texture2DArray::setImage(..) failed, the given layer number is bigger then the size of the texture array." and the texture array is empty if loaded from an osga/b." -2007-07-16 17:40 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 - * examples/osgterrain/osgterrain.cpp: Added MasterOperation to do - file querry and loading and background thread. +Tue, 30 Nov 2010 12:34:06 +0000 +Checked in by : Robert Osfield +Added passing of existingObj parameter -2007-07-16 15:47 robert +Tue, 30 Nov 2010 11:34:33 +0000 +Checked in by : Robert Osfield +From Stephan Huber, compile fix for iOS - * examples/osgterrain/ReaderWriterTerrain.cpp: Added custom colour - support to TransferFunction setup. +Tue, 30 Nov 2010 09:26:18 +0000 +Checked in by : Robert Osfield +From Ulrich Hertlein and Stephan Huber, improves to iOS build -2007-07-16 15:13 robert +Tue, 30 Nov 2010 08:12:06 +0000 +Checked in by : Robert Osfield +From Wang Rui, Compile fixes - * examples/osgterrain/ReaderWriterTerrain.cpp, - examples/osgterrain/osgterrain.cpp: Improvements to the .terrain - file support +Mon, 29 Nov 2010 17:43:27 +0000 +Checked in by : Robert Osfield +From Tim Moore, "Here is initial support for uniform buffer objects. The binding between a buffer object and an indexed target is implemented as a new StateAttribute, UniformBufferBinding. I've included an example program based on the code in the ARB_uniform_buffer_object specification.A few things remain to do: +* The binding between a uniform block in a shader program and a buffer indexed target number is fixed, like a vertex attribute binding. This is too restrictive because that binding can be changed without relinking the program. This mapping should be done by name in the same way that uniform values are handled i.e., like a pseudo state attribute; -2007-07-16 12:37 robert +* There's no direct way yet to query for the offset of uniforms in uniform block, so only the std140 layout is really usable. A helper class that implemented the std140 rules would be quite helpful for setting up uniform blocks without having to link a program first; - * examples/osgterrain/CMakeLists.txt, - examples/osgterrain/ReaderWriterTerrain.cpp, - examples/osgterrain/osgterrain.cpp: First steps at provide a - .terrain file format to experiment with file - definitions of terrain subgraphs +* There's no direct support for querying parameters such as the maximum block length, minimum offset alignment, etc. Having that information available outside of the draw thread would make certain instancing techniques easier to implement." -2007-07-14 17:16 robert - * src/osgWrappers/osg/GraphicsThread.cpp, - src/osgWrappers/osg/RenderInfo.cpp: Updated wrappers -2007-07-14 17:07 robert - * include/osg/RenderInfo, include/osgUtil/RenderStage, - src/osgUtil/RenderStage.cpp: Added support into osg::RenderInfo - for a stack of Cameras that allow querries - of which camera is currently active to be querried from within - the draw traversal. -2007-07-14 09:17 robert +Mon, 29 Nov 2010 09:32:43 +0000 +Checked in by : Robert Osfield +Removed deperecated variables that are no longer used. - * include/osg/GraphicsThread, src/osg/GraphicsThread.cpp: Changed - BarrierOperation so that it isn't limited to jut working within - GraphicsContexts. +Fri, 26 Nov 2010 18:19:28 +0000 +Checked in by : Robert Osfield +From Tomas Holgarth and Stephan Huber, " attached you'll find the second part of the IOS-submission. It contains* GraphicsWindowIOS, which supports external and "retina" displays, + multisample-buffers (for IOS > 4.0) and multi-touch-events +* an ios-specific implementation of the imageio-plugin +* an iphone-viewer example +* cMake support for creating a xcode-project +* an updated ReadMe-file describing the necessary steps to get a + working xcode-project-file from CMake -2007-07-13 19:24 robert +Please credit Thomas Hogarth and Stephan Huber for these changes. - * include/osgViewer/View, src/osgViewer/Viewer.cpp: Converted - Operations to GraphicsOperations where apporpriate. +This brings the ios-support in line with the git-fork on github. It +needs some more testing and some more love, the cmake-process is still a +little complicated. -2007-07-13 19:22 robert +You'll need a special version of the freetype lib compiled for IOS, +there's one bundled in the OpenFrameworks-distribution, which can be used." - * src/osgPlugins/CMakeLists.txt: Removed all the plugins - BUILD_OSG_* options as these just get in the way of - browsing standard CMake options. +Notes, from Robert Osfield, modified CMakeLists.txt files so that the IOS specific paths are within IF(APPLE) blocks. -2007-07-13 17:25 robert - * include/osg/GraphicsThread, include/osg/OperationThread, - include/osgDB/DatabasePager, include/osgUtil/GLObjectsVisitor, - src/osg/GraphicsThread.cpp, src/osgDB/DatabasePager.cpp, - src/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/osg/GraphicsThread.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp: Introduce - GraphicsOperation subclass from osg::Operation, and - osgUtil::GLObjectOperation - for compiling subgraphs. -2007-07-13 11:49 robert - - * src/osgWrappers/osgGA/EventQueue.cpp: Updated wrappers - -2007-07-13 11:42 robert - * src/osgViewer/GraphicsWindowX11.cpp: From Mathias Froehlich, - "This patch removes the X11/Xmu/WinUtil.h header from - GraphicsWindowX11.cpp. - That one is not used and appears not to be present on every - platform we - compile on." +Fri, 26 Nov 2010 17:37:42 +0000 +Checked in by : Robert Osfield +From Katharina Plugge, fix for regression in handling of multitexturing. -2007-07-13 11:39 robert +Fri, 26 Nov 2010 17:35:06 +0000 +Checked in by : Robert Osfield +From Eduardo Poyart, OSG patch: made it read ancillary IndexedStrings into MultiSwitch - * src/osgPlugins/net/sockinet.cpp, - src/osgPlugins/net/sockstream.cpp: From Mathias Froehlich, "This - change makes the net plugin compile on hp-ux. - It tries to unify some partly ugly ifdefs in the socket classes. - The change is also tested on a solaris 8, irix 6.5 and suse 9.0 - machine." +Fri, 26 Nov 2010 17:32:10 +0000 +Checked in by : Robert Osfield +Updated ChangeLog -2007-07-13 11:31 robert +Fri, 26 Nov 2010 13:54:11 +0000 +Checked in by : Robert Osfield +From Marin Platings and Robert Osfield, fix of Uniform unique ID by making osg::Object::setName() virtual. - * include/osgGA/EventQueue: Added setCurrentEventState method +Fri, 26 Nov 2010 12:44:53 +0000 +Checked in by : Robert Osfield +From Martin Beck, " recently we noticed a little mistake for 3DS files using instances of the same meshs: Every groupnode gets the same name instead of the (correct) instance name of the object. The fix only consists of two additional lines which check whether an instance_name is given for the object and then uses this one instead of the node name." -2007-07-13 11:22 robert +Fri, 26 Nov 2010 12:23:56 +0000 +Checked in by : Robert Osfield +From Fabien Lavignotte, "There was a small bug when using the new serializer with AnimationPath. The serializer assumes NO_LOOPING is the defaut for LoopMode, but in fact it is LOOP. The new serializer avoids to write default values in text mode, so the loop mode is not always correctly set." - * src/osgWrappers/osgGA/GUIEventAdapter.cpp: Updated wrappers +Fri, 26 Nov 2010 12:22:06 +0000 +Checked in by : Robert Osfield +Removed debug messages -2007-07-13 11:17 robert +Fri, 26 Nov 2010 10:31:34 +0000 +Checked in by : Robert Osfield +From Magnus Kessler, "Typo in usage string of examples/osganalysisplease specifies -> please specify" - * examples/osgkeyboard/osgkeyboard.cpp, - include/osgGA/GUIEventAdapter, src/osgGA/GUIEventAdapter.cpp, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp: Introduced new - GUIEventAdatper singleton for sharing the current state between - multiple GraphicsWindows, this singleton is accessable via - GUIEventEvent::getAccumulatedEventState(). - - Added use of this new singleton in GraphicsWindow* - implementations. - - Added WindowSizeHandler to osgkeyboard to help with debugging of - event state - between windows. - -2007-07-12 20:12 robert - - * include/osgTerrain/GeometryTechnique, - src/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/osg/OperationThread.cpp, - src/osgWrappers/osgTerrain/GeometryTechnique.cpp: Removed - redundent TerrainGeometry classes, and adding double buffer of - internal data within GeometryTechinque in prep for support - multi-threaded - set up and rendering of terrain. - -2007-07-12 20:10 robert - - * examples/osgterrain/osgterrain.cpp: Fixed spelling of cartesian. - -2007-07-12 16:37 robert - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/Packaging/Package.sh, - Xcode/Packaging/Packages/Applications.pmproj, - Xcode/Packaging/Packages/ApplicationsBundles.pmproj, - Xcode/Packaging/Packages/ApplicationsCmdline.pmproj, - Xcode/Packaging/Packages/Examples.pmproj, - Xcode/Packaging/Packages/Frameworks.pmproj, - Xcode/Packaging/Packages/PlugIns.pmproj, - Xcode/Packaging/Resources/welcome.rtf: From Martin Lavery, - updates to Xcode projects - -2007-07-12 15:54 robert - - * ChangeLog, include/osg/Camera, include/osg/GraphicsContext, - include/osg/GraphicsThread, include/osg/OperationThread, - include/osg/OperationsThread, include/osgTerrain/TerrainNode, - include/osgViewer/Viewer, src/osg/CMakeLists.txt, - src/osg/Camera.cpp, src/osg/GraphicsContext.cpp, - src/osg/GraphicsThread.cpp, src/osg/OperationThread.cpp, - src/osg/OperationsThread.cpp, src/osgDB/DatabasePager.cpp, - src/osgTerrain/TerrainNode.cpp, src/osgUtil/RenderStage.cpp, - src/osgViewer/Viewer.cpp, src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/GraphicsThread.cpp, - src/osgWrappers/osg/OperationThread.cpp, - src/osgWrappers/osg/OperationsThread.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgTerrain/TerrainNode.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Renamed - include/osg/OperationsThread to OperationThread. - - Created a new GraphicsThread subclass from OperationThread which - allows the - GraphicsContext specific calls to be moved out of the base - OperationThread class. - - Updated the rest of the OSG to respect these changes. - -2007-07-12 12:15 robert - - * include/osg/OperationsThread, src/osg/OperationsThread.cpp: - Renamed OperationsThread to OperationThread and add two way link - between OperationQueue and OperationThread - -2007-07-12 09:03 robert - - * Xcode/Packaging/Package.sh: From Martin Lavery, Update to - Packaging files for Xcode build - -2007-07-12 08:29 robert - - * include/osg/TransferFunction: Added better description of - TransferFunction. - -2007-07-11 16:06 robert - - * src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/DisplaySettings.cpp, - src/osgWrappers/osg/NodeTrackerCallback.cpp, - src/osgWrappers/osg/TexEnvCombine.cpp, - src/osgWrappers/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/osgTerrain/Locator.cpp: Updated wrappers - -2007-07-11 16:06 robert - - * include/osg/NodeTrackerCallback, - include/osgGA/NodeTrackerManipulator, include/osgViewer/View, - src/osg/NodeTrackerCallback.cpp, src/osg/View.cpp, - src/osgGA/NodeTrackerManipulator.cpp, src/osgViewer/View.cpp: - Fixed typo - -2007-07-11 15:51 robert - * examples/osgterrain/osgterrain.cpp, include/osg/BufferObject, - include/osg/DisplaySettings, include/osg/TexEnvCombine, - include/osgGA/AnimationPathManipulator, - include/osgParticle/FluidProgram, - include/osgParticle/PrecipitationEffect, - include/osgTerrain/Locator, include/osgUtil/SceneView, - src/osg/BufferObject.cpp, src/osg/TexEnvCombine.cpp, - src/osgGA/AnimationPathManipulator.cpp, - src/osgParticle/FluidProgram.cpp, - src/osgParticle/PrecipitationEffect.cpp, - src/osgPlugins/CMakeLists.txt, src/osgTerrain/Locator.cpp, - src/osgUtil/SceneView.cpp: From Paul Melis, fixes to spelling - mistakes/typos. -2007-07-11 15:50 robert +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" - * CMakeLists.txt, include/osg/Version: Updated version number in - prep for 2.1.1 dev release -2007-07-11 15:30 robert - * CMakeLists.txt, src/osgText/Font.cpp: From Andre Garneau, minor - warning fixes -2007-07-11 14:16 robert - * examples/osgdistortion/osgdistortion.cpp: Added support for - --sky-light and headlight with local position at 0,0,0 +Thu, 25 Nov 2010 13:00:24 +0000 +Checked in by : Robert Osfield +From Tim Moore, fix to stats timing -2007-07-11 13:48 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. - * src/osgViewer/CompositeViewer.cpp: Added setting of the Scene's - FrameStamp on each CompositeViewer::updateTraversal() call to fix - animation path issue. +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. " -2007-07-11 09:00 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" - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Martin Lavery, update of Xcode projects to meet the latest - SVN revision -2007-07-10 19:29 robert - * src/osgWrappers/osg/OperationsThread.cpp: Added OperationsThread +Thu, 25 Nov 2010 11:40:09 +0000 +Checked in by : Robert Osfield +Removed default assignement of GeometryTechnique as the TerrainTechniquePrototype. -2007-07-10 17:36 robert +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." - * examples/osgterrain/osgterrain.cpp: Added test code path which - stress tests new thread pool support in OperationsThread -2007-07-10 17:36 robert - * include/osg/OperationsThread, src/osg/OperationsThread.cpp: Wired - up OperationsThread to use the new OperationQueue and thereby - support - thread pooling where multiple OperationsThreads share a single - OperationsQueue +Wed, 24 Nov 2010 20:20:57 +0000 +Checked in by : Robert Osfield +From Jean-Sebastien Guay, build fixes for windows. -2007-07-09 19:04 robert +Wed, 24 Nov 2010 17:01:09 +0000 +Checked in by : Robert Osfield +Added workaround for AMD/ATI driver bug - * include/osg/GraphicsThread, include/osg/OperationsThread, - include/osgParticle/range, src/osg/CMakeLists.txt, - src/osg/GraphicsThread.cpp, src/osg/OperationsThread.cpp, - src/osgUtil/RenderStage.cpp, src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/GraphicsThread.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgTerrain/TerrainNode.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Separated OperationsThread - out from the GraphicsThread header and introduced - new OperationQueue class. +Wed, 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."" -2007-07-09 15:02 robert - * include/osg/DeleteHandler, src/osg/DeleteHandler.cpp: Fixed - unitialized variables. -2007-07-09 11: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." - * AUTHORS.txt, ChangeLog, applications/osgversion/osgversion.cpp: - Updated ChangeLog, osgversion and AUTHORS.txt for 2.1 dev release +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 -2007-07-09 11:05 robert +Tue, 23 Nov 2010 14:50:31 +0000 +Checked in by : Robert Osfield +From Holger Helmich, Tessellation shader support - * CMakeLists.txt, README.txt, include/osg/Version: Updated version - number for 2.1.0 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. -2007-07-09 11:05 robert - * src/osg/GraphicsThread.cpp: Added OpertionQueue - -2007-07-09 11:03 robert - - * include/osg/GraphicsThread: Added OperationQueue class for future - work on support thread pools that share - a single OpeationQueue. - -2007-07-09 10:48 robert - - * src/osgWrappers/osg/GraphicsThread.cpp: Updated wrappers - -2007-07-09 10:47 robert - - * src/osgText/Text.cpp: Improved the consistency of setting of - rotation and auto rotate modes in setAxisAlingment method - -2007-07-09 10:12 robert - - * src/osgViewer/CompositeViewer.cpp: Fixed missinged intialization - of the _threadsRunning variable. +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. -2007-07-07 16:05 robert +Problem 3: +Bad calcul in +osgShadow::ParallelSplitShadowMap::calculateLightViewProjectionFormFrustum(..) +provide some visual error in specific configuration. - * src/osgPlugins/vrml/ReaderWriterVRML2.cpp: From Jean-Sebastien - Guay and Jan Ciger, added search path can improved handling of - backslashes/forward slashes - -2007-07-06 20:00 robert - - * src/osgWrappers/osgTerrain/Layer.cpp: Updared wrappers - -2007-07-06 16:54 robert - - * src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp: Added include of - DeleteHandler - -2007-07-06 16:47 robert - - * examples/osgterrain/osgterrain.cpp, include/osgTerrain/Layer, - src/osgTerrain/Layer.cpp: Added dirty count support to - osgTerrain::Layer clases. - - Added LayerHandler to osgterrain example that modifies the layers - in - response to pressing the 's' and 'q' keys - -2007-07-06 14:07 robert - - * src/osgPlugins/vrml/CMakeLists.txt: From Jea-Sebastien Guay and - Robert Osfield, build fixes for Windows - -2007-07-06 13:54 robert - - * examples/osgstaticviewer/CMakeLists.txt, - examples/osgstaticviewer/osgstaticviewer.cpp, - src/osgPlugins/3dc/ReaderWriter3DC.cpp, - src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/Inventor/ReaderWriterIV.cpp, - src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/ac/ac3d.cpp, - src/osgPlugins/bmp/ReaderWriterBMP.cpp, - src/osgPlugins/bsp/ReaderWriterQ3BSP.cpp, - src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/dxf/ReaderWriterDXF.cpp, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/gif/ReaderWriterGIF.cpp, - src/osgPlugins/hdr/ReaderWriterHDR.cpp, - src/osgPlugins/jp2/ReaderWriterJP2.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/lws/ReaderWriterLWS.cpp, - src/osgPlugins/md2/ReaderWriterMD2.cpp, - src/osgPlugins/net/ReaderWriterNET.cpp, - src/osgPlugins/normals/ReaderWriterNormals.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osgShadow/ReaderWriterOsgShadow.cpp, - src/osgPlugins/osgViewer/ReaderWriterOsgViewer.cpp, - src/osgPlugins/osga/ReaderWriterOSGA.cpp, - src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp, - src/osgPlugins/pfb/ReaderWriterPFB.cpp, - src/osgPlugins/pic/ReaderWriterPIC.cpp, - src/osgPlugins/png/ReaderWriterPNG.cpp, - src/osgPlugins/pnm/ReaderWriterPNM.cpp, - src/osgPlugins/quicktime/ReaderWriterQT.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp, - src/osgPlugins/rot/ReaderWriterROT.cpp, - src/osgPlugins/scale/ReaderWriterSCALE.cpp, - src/osgPlugins/shp/ESRIShapeReaderWriter.cpp, - src/osgPlugins/stl/ReaderWriterSTL.cpp, - src/osgPlugins/tga/ReaderWriterTGA.cpp, - src/osgPlugins/tgz/ReaderWriterTGZ.cpp, - src/osgPlugins/tiff/ReaderWriterTIFF.cpp, - src/osgPlugins/trans/ReaderWriterTRANS.cpp, - src/osgPlugins/txf/ReaderWriterTXF.cpp, - src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgPlugins/x/ReaderWriterDirectX.cpp, - src/osgPlugins/xine/ReaderWriterXine.cpp, - src/osgPlugins/zip/ReaderWriterZIP.cpp: From Rudolf Wiedemann, "I - need to link OpenSceneGraph statically to my application, so I - completed the new registration of the plugin-readerwriters - ("REGISTER_OSGPLUGIN") according to your osgstaticviewer-example - (see - attachment, based on today's svn)." - -2007-07-06 13:33 robert - - * src/osgPlugins/OpenFlight/Pools.cpp: From Brede Johansen, - "Attached is a fix that returns a default color (white) if an - invalid - index to the color palette is used." - -2007-07-06 13:08 robert - - * applications/osgviewer/osgviewer.cpp, - examples/osgteapot/osgteapot.cpp, include/osg/GLObjects, - include/osgDB/DatabasePager, src/osg/CMakeLists.txt, - src/osg/GLObjects.cpp, src/osg/GraphicsContext.cpp, - src/osgDB/DatabasePager.cpp, src/osgUtil/SceneView.cpp, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp: Added - include/osg/GLObjects + .cpp which provide - osg::flush*DeletedGLObjects() methods. - - Added and cleaned up DeleteHandler calls in osgViewer to help - avoid crashes on exit. - - Changed DatabasePager across to dynamically checcking - osg::getCompileContext(..) - - Updated wrappers. - -2007-07-06 09:06 robert - - * src/osg/GraphicsContext.cpp: Added #include - -2007-07-05 18:41 robert - - * src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osgTerrain/TerrainNode.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp: Updated wrappers. - -2007-07-05 18:33 robert - - * applications/osgviewer/osgviewer.cpp, include/osg/DeleteHandler, - include/osg/GraphicsContext, src/osg/DeleteHandler.cpp, - src/osg/GraphicsContext.cpp, src/osg/View.cpp, - src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/Viewer.cpp: - Added support for managing a CompileContext. Rearranged the - DeleteHandler::flushAll call. - -2007-07-05 18:32 robert - - * examples/osgkeyboard/osgkeyboard.cpp: Added debug messages to - catch key modified state - -2007-07-05 18:30 robert - - * src/osgSim/OverlayNode.cpp: Improved the computation of the side - vector - -2007-07-05 18:30 robert - - * include/osgTerrain/TerrainNode, - src/osgTerrain/GeometryTechnique.cpp, - src/osgTerrain/TerrainNode.cpp, - src/osgTerrain/TerrainTechnique.cpp: Improved the mapping of - update and cull traversal - -2007-07-05 10:57 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Adndre Garneau, - "Attached is a fix to prevent a cursor being shown in graphics - windows when - traits specify that none should be used (a recent change forced a - left-pointer cursor as the default). " - -2007-07-05 10:51 robert - - * src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp: Commented out "fix" that - explictly sets the key modifier state as this change - actually broke the key modifier state management. - -2007-07-03 17:32 robert - - * examples/osgwindows/osgwindows.cpp: From Thibault Genessay, - "You'll find attached a fix for the comments of the osgwindows - example. It fixes a typo in the comments which is quite - disturbing for newbies trying to learn using the source (twice - 'left' instead of 'left' and 'right'). - I've also added a little offset to the windows' positions so that - their decoration falls inside the desktop and we can manipulate - them - it looks a bit less "made out of wood"." - -2007-07-03 13:26 robert - - * examples/osgkeyboard/osgkeyboard.cpp, - src/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgGA/StateSetManipulator.cpp, src/osgViewer/HelpHandler.cpp, - src/osgViewer/StatsHandler.cpp, - src/osgViewer/ViewerEventHandlers.cpp: Added checking of - GUIEventAdpter::getHandled(). - -2007-07-03 10:00 robert - - * applications/osgconv/OrientationConverter.cpp: From Roger James, - added GL_NORMALIZE mode to scaled models - -2007-07-02 13:17 robert - - * include/osgUtil/SceneView, src/osgUtil/SceneView.cpp: Changed the - way that computeNearFar is computed to avoid inconsistencies when - in stereo mode - -2007-07-02 13:16 robert - - * src/osgWrappers/osgUtil/SceneView.cpp: Updated wrappers - -2007-07-02 12:43 robert - - * src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h, - src/osgPlugins/freetype/FreeTypeLibrary.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.h, - src/osgPlugins/freetype/ReaderWriterFreeType.cpp: From Csaba - Halasz, support reading "monochrome" option string and use of - monocrhome FreetType support - -2007-07-02 12:30 robert - - * include/osgText/Font, src/osgText/Font.cpp: From Csaba Halasz and - Robert Osfield, support for passing in ReaderWriter::Options - object into readFontFile - -2007-06-30 16:19 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Mike Connell, "This - is a tiny fix for win32. - - The current code takes the mouse cursor position and adds it to - the - window (left,top) position, and sends the mouse cursor there. But - this - doesn't take into account the window decoration. - - The new code converts the given (x,y) coordinates from the client - area - coordinate system to the screen instead using ClientToScreen. I - think - this is the natural windows way to do it. - - Tested on XP with osgviewer - " - - Note from Robet Osfield, made a few changes to layout to make it - more consistent - with the rest of the OSG and used #if 0 instead if (0) blocks. - -2007-06-30 15:40 robert - - * src/osgPlugins/3ds/material.cpp: From Stephan Huber, "attached - you'll find a small fix for the 3ds-plugin, so 3ds-files - exported from cinema 4d are imported correctly. It's not cinema's - fault, - because the 3ds-files show up correctly in 3dStudio Max." - -2007-06-30 14:30 robert - - * src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/ImageStream.cpp, - src/osgWrappers/osg/Point.cpp: Updated wrappers - -2007-06-30 14:30 robert - - * include/osg/BufferObject: Added s/getUsage() method - -2007-06-30 14:30 robert - - * src/osgUtil/RenderStage.cpp: Added balancing of stack size on - entry/exit from rendering nested camera. - -2007-06-30 14:28 robert - - * examples/osgteapot/osgteapot.cpp: Added debug path that creates - the viewer on the heap. - -2007-06-30 14:21 robert - - * include/osgIntrospection/Converter, - include/osgIntrospection/Reflection, - src/osgIntrospection/Reflection.cpp, - src/osgIntrospection/Reflector.cpp, - src/osgIntrospection/Value.cpp: From David Callu, - - " - Found in the join file the fix for the bug found by Rafa. - - - Problem : - - osgIntrospection::Value grp(new osg::Group); - - osgIntrospection::ValueList vlcall; - vlcall.push_back(osgIntrospection::Value("toto")); - - const osgIntrospection::MethodInfo *m = - grp->getType.getCompatibleMethod("setName", vlcall, true); - - if (m) - { - m->invoke(grp, vlcall); // ** SEGFAULT here - } - - - - - - Algorithm explanation : - - The "invoke" method try to convert "grp", which reflect an - "osg::Group*", in a - "osgIntrospection::Value", which reflect a "osg::Node*". - This because - the "setName(const char *)" method found by - "grp->getType.getCompatibleMethod" - is an "osg::Object" type method. - - When osgIntrospection do this conversion it try : - - to found a "osgIntrospection::Converter" to convert - from "osg::Group*" to "osg::Node*" - - to found a chain of "osgIntrospection::Converter" to convert - from "osg::Group*" to "one or many type" to "osg::Node*" - - to converte an Enum to int or unsigned int - - to convert the value in its "value string representation", - then converte this string in the destination value - - Else it throw a "TypeConversionException". - - - - - - - - Bug : - - 1) - When osgIntrospection try to found a chain of - "osgIntrospection::Converter" - It could do any downcast or (Type to SuperType) or upcast - (SuperType to Type). - This mean the the chain could be : - osg::Group to osg::Transform to osg::Camera to - osg::CullSettings to osg::CullStack to - osg::CollectOccludersVisitor to - osg::NodeVisitor to osg::Referenced to osg::Object - - During the convertion with this chain, A METTRE failed and - the pointer in - "grp" is set NULL. But the "grp" is always a valid - "osgIntrospection::Value" - and so, osgIntrospection accept the conversion. Then it try - to use this pointer - to call the "setName" function. And Bing SEGFAULT. - - - 2) - In "bool Reflection::accum_conv_path( ... )" - the convection path isn't accumulate in the recursive loop. - this cause multi request of a conversion path, and a - slowdown in the - conversion algorithm. - - 3) - Use of the last conversion way in a conversion from - pointer to pointer - this mean you can do this : - "osg::Node*" to " value string representation" to - "osg::Material*" - What a bad thing !!! - - - - - Solution : - - 1) - Introduce the concept of dynamic_cast and static_cast. - now, to do a conversion, osgIntrospection does this : - - - to found a "osgIntrospection::Converter" to convert - from "osg::Group*" to "osg::Node*" - - to found a chain of "osgIntrospection::Converter" to convert - from "osg::Group*" to "one or many type" to "osg::Node*" - only with static_cast, downcast (Type to SuperType) - - - to found, if the source and the destination are two pointer, - a chain of "osgIntrospection::Converter" to convert - from "osg::Group*" to "one or many type" to "osg::Node*" - only with dynamic_cast, upcast (SuperType to Type) - - - to convert an Enum to int or to unsigned int - - to convert the value in its "value string representation", - then convert this string in the destination value - - Else it throw a "TypeConversionException". - - - Add the "enum CastType" to distinguish the static_cast or - dynamic_cast converter. - Add file OpenSceneGraph/include/osgIntrospection/CastType - - 2) - add a line to accumulate converter in converter Path. - - 3) - add a line to check if source and destination are pointer. - " - -2007-06-30 09:27 robert - - * src/osgUtil/CullVisitor.cpp: From Sherman Wilcox, added check for - Drawable cull callbck into apply(Billboard) - -2007-06-30 07:09 robert - - * Xcode/XcodeTemplates/OSG Application/osgApp_Prefix.pch: Removed - the old references to files now removed - -2007-06-29 17:01 robert - - * include/osg/Point, src/osg/Point.cpp, src/osg/PointSprite.cpp: - Added Point::Extension::isPointSpriteCoordOriginSupported() - method - -2007-06-29 16:37 robert - - * CMakeModules/Find3rdPartyDependencies.cmake: From Sherman Wilcox, - added serach for freetype234 - -2007-06-29 16:10 robert - - * src/osg/CMakeLists.txt: From Paul Martz, "Attached is - src/osg/CMakeLists.txt. Adding TemplatePrimitiveFunctor to the - source code list for the project. This makes this header file - show up in the VS IDE as part of this project, and therefore - facilitates IDE searching of project-related files, as well as - making other tasks easier." - -2007-06-29 16:09 robert - - * src/osg/CMakeLists.txt: Fixed indenting to use 4 spaces instead - of tabs - -2007-06-29 16:06 robert - - * src/osgPlugins/dae/CMakeLists.txt: From Jan Ciger, "I am - attaching a fix for the COLLADA plugin on non-windows systems. - The - COLLADA modules STLDatabase, LIBXMLPlugin and stdErrPlugin are - statically included in the main COLLADA library on Linux and - shouldn't - be linked separately - those libraries do not exist in the - default Linux - build and the compilation will fail. - - Second issue - the current version of the COLLADA plugin (both - current - HEAD in Subversion and the one in stable 2.0) do not work right - with the - stable COLLADA DOM 1.4.1. I am getting the following error: - " - -2007-06-29 16:00 robert - - * src/osgPlugins/ac/ac3d.cpp: From Roger James, bug fix to counting - of number geode with drawables - -2007-06-28 20:56 robert - - * src/osgPlugins/quicktime/QuicktimeImageStream.cpp: From Brad - Colbert, get/setVolume methods - -2007-06-28 14:19 robert - - * include/osg/ImageStream, src/osgPlugins/quicktime/MovieData.h, - src/osgPlugins/quicktime/QuicktimeImageStream.h: From Brad - Colbert with ammendments by Robert Osfield, add set/getVolume - support - -2007-06-28 12:59 robert - - * src/osgViewer/PixelBufferWin32.cpp: From Trajce Nikolov, fixes to - pbuffer setup - -2007-06-28 09:51 robert - - * src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/Multisample.cpp, - src/osgPlugins/ive/Multisample.h, src/osgPlugins/ive/ReadWrite.h: - From Nikolaus Hanekamp, added support for osg::Multisample - -2007-06-27 20:44 robert - - * include/osgViewer/api/Carbon/PixelBufferCarbon, - src/osgViewer/CMakeLists.txt, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/PixelBufferCarbon.cpp: From Stephan Huber, - "attached you'll find a first implementation of pbuffer-support - for os x. - - I used osgprerender --pbuffer to test the carbon-implementation, - for now - it works :) - " - -2007-06-27 20:36 robert - - * include/osg/BlendColor, include/osg/BlendEquation, - include/osg/BufferObject, include/osg/ClampColor, - include/osg/CollectOccludersVisitor, include/osg/Drawable, - include/osg/FragmentProgram, include/osg/Multisample, - include/osg/Point, include/osg/Referenced, - include/osg/StencilTwoSided, include/osg/TextureCubeMap, - include/osg/VertexProgram, include/osgDB/Input, - include/osgDB/Registry, include/osgParticle/ModularEmitter, - include/osgShadow/OccluderGeometry, - include/osgTerrain/GeometryTechnique, include/osgText/Text, - src/osg/BlendColor.cpp, src/osg/BlendEquation.cpp, - src/osg/BufferObject.cpp, src/osg/ClampColor.cpp, - src/osg/Drawable.cpp, src/osg/FragmentProgram.cpp, - src/osg/Multisample.cpp, src/osg/Point.cpp, - src/osg/Referenced.cpp, src/osg/StencilTwoSided.cpp, - src/osg/TextureCubeMap.cpp, src/osg/VertexProgram.cpp, - src/osgDB/DatabasePager.cpp, src/osgDB/Input.cpp, - src/osgDB/Registry.cpp, src/osgParticle/FireEffect.cpp, - src/osgParticle/SmokeEffect.cpp, src/osgPlugins/osg/Geometry.cpp, - src/osgShadow/OccluderGeometry.cpp, src/osgText/Text.cpp, - src/osgWrappers/osg/BlendColor.cpp, - src/osgWrappers/osg/BlendEquation.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/ClampColor.cpp, - src/osgWrappers/osg/CollectOccludersVisitor.cpp, - src/osgWrappers/osg/Drawable.cpp, - src/osgWrappers/osg/FragmentProgram.cpp, - src/osgWrappers/osg/Multisample.cpp, - src/osgWrappers/osg/Point.cpp, - src/osgWrappers/osg/Referenced.cpp, - src/osgWrappers/osg/StencilTwoSided.cpp, - src/osgWrappers/osg/TextureCubeMap.cpp, - src/osgWrappers/osg/VertexProgram.cpp, - src/osgWrappers/osgDB/Input.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgParticle/ModularEmitter.cpp, - src/osgWrappers/osgShadow/OccluderGeometry.cpp, - src/osgWrappers/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/osgText/Text.cpp: From Paul Melis, "Here is a - list of fixes to misspelled APIs. Unfortunately, more than one - of these are public APIs and therefore will break linkage to - existing - shared libraries." - - Note from Robert Osfield, updated wrappers. - -2007-06-27 20:34 robert - - * src/osgUtil/RenderStage.cpp: Added temporary reset of the - RenderLeaf pointer for any internal calls to other graphics - contexts. - -2007-06-27 19:51 ewing - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - Minor build fixes. Changed/fixed GraphicsWindowCarbon to go into - api/Carbon instead of just api/ - -2007-06-27 17:01 robert - - * src/osgViewer/PixelBufferX11.cpp: From Andy Skinner, fixed return - value. - -2007-06-27 11:14 robert - - * src/osgWrappers/osg/GraphicsContext.cpp: Updated wrappers - -2007-06-27 10:37 robert - - * src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/PixelBufferWin32.cpp: From Rajce Nickolov, - improvements to PixelBufferWin32 and GraphicsWindowWin32 - -2007-06-27 10:12 robert - - * include/osg/GraphicsContext, src/osgUtil/RenderStage.cpp: Added - texture format into Traits. - -2007-06-27 09:44 robert - - * src/osgUtil/RenderStage.cpp: Fixed target setting bug in - PixelBuffer RTT set up. - -2007-06-26 17:12 robert - - * CMakeModules/FindGDAL.cmake, CMakeModules/FindOSG.cmake: Added - missing cmake macros - -2007-06-26 11:31 robert - - * src/osgSim/OverlayNode.cpp: Reverted to using non silhouette - computation. - -2007-06-25 13:48 robert - - * src/osgSim/OverlayNode.cpp: Changed the RTT Camera so that it - doesn't automatically recompute the near and far planes - -2007-06-25 11:32 robert - - * src/osgViewer/PixelBufferWin32.cpp: From Trajce Nickolov, - improvements to PixelBufferWin32. - -2007-06-25 08:35 robert - - * CMakeLists.txt, CMakeModules/Find3rdPartyDependencies.cmake, - CMakeModules/FindCOLLADA.cmake, CMakeModules/FindFLTK.cmake, - CMakeModules/FindFreeType.cmake, CMakeModules/FindGIFLIB.cmake, - CMakeModules/FindInventor.cmake, CMakeModules/FindJasper.cmake, - CMakeModules/FindOpenThreads.cmake, - CMakeModules/FindOpenVRML.cmake, - CMakeModules/FindPerformer.cmake, - CMakeModules/FindQuickTime.cmake, CMakeModules/FindXine.cmake, - CMakeModules/FindZLIB.cmake, CMakeModules/ListHandle.cmake, - CMakeModules/ModuleInstall.cmake, - CMakeModules/OsgMacroUtils.cmake, - CMakeModules/UtilityMacros.cmake, - CMakeModules/cmake_uninstall.cmake.in, - applications/CMakeLists.txt, - applications/osgarchive/CMakeLists.txt, - applications/osgconv/CMakeLists.txt, - applications/osgversion/CMakeLists.txt, - applications/osgviewer/CMakeLists.txt, examples/CMakeLists.txt, - examples/osganimate/CMakeLists.txt, - examples/osgautotransform/CMakeLists.txt, - examples/osgbillboard/CMakeLists.txt, - examples/osgblendequation/CMakeLists.txt, - examples/osgcallback/CMakeLists.txt, - examples/osgcamera/CMakeLists.txt, - examples/osgcatch/CMakeLists.txt, - examples/osgclip/CMakeLists.txt, - examples/osgcompositeviewer/CMakeLists.txt, - examples/osgcopy/CMakeLists.txt, - examples/osgcubemap/CMakeLists.txt, - examples/osgdelaunay/CMakeLists.txt, - examples/osgdepthpartition/CMakeLists.txt, - examples/osgdepthshadow/CMakeLists.txt, - examples/osgdistortion/CMakeLists.txt, - examples/osgfadetext/CMakeLists.txt, - examples/osgforest/CMakeLists.txt, - examples/osgfxbrowser/CMakeLists.txt, - examples/osggeodemo/CMakeLists.txt, - examples/osggeometry/CMakeLists.txt, - examples/osghangglide/CMakeLists.txt, - examples/osghud/CMakeLists.txt, - examples/osgimpostor/CMakeLists.txt, - examples/osgintersection/CMakeLists.txt, - examples/osgintrospection/CMakeLists.txt, - examples/osgkeyboard/CMakeLists.txt, - examples/osgkeyboardmouse/CMakeLists.txt, - examples/osglauncher/CMakeLists.txt, - examples/osglight/CMakeLists.txt, - examples/osglightpoint/CMakeLists.txt, - examples/osglogicop/CMakeLists.txt, - examples/osglogo/CMakeLists.txt, - examples/osgmanipulator/CMakeLists.txt, - examples/osgmotionblur/CMakeLists.txt, - examples/osgmovie/CMakeLists.txt, - examples/osgmultitexture/CMakeLists.txt, - examples/osgoccluder/CMakeLists.txt, - examples/osgpagedlod/CMakeLists.txt, - examples/osgparametric/CMakeLists.txt, - examples/osgparticle/CMakeLists.txt, - examples/osgparticleeffects/CMakeLists.txt, - examples/osgphotoalbum/CMakeLists.txt, - examples/osgpick/CMakeLists.txt, - examples/osgplanets/CMakeLists.txt, - examples/osgpoints/CMakeLists.txt, - examples/osgpointsprite/CMakeLists.txt, - examples/osgprecipitation/CMakeLists.txt, - examples/osgprerender/CMakeLists.txt, - examples/osgprerendercubemap/CMakeLists.txt, - examples/osgreflect/CMakeLists.txt, - examples/osgscalarbar/CMakeLists.txt, - examples/osgscribe/CMakeLists.txt, - examples/osgsequence/CMakeLists.txt, - examples/osgshaders/CMakeLists.txt, - examples/osgshaderterrain/CMakeLists.txt, - examples/osgshadow/CMakeLists.txt, - examples/osgshadowtexture/CMakeLists.txt, - examples/osgshape/CMakeLists.txt, - examples/osgsimplifier/CMakeLists.txt, - examples/osgsimulation/CMakeLists.txt, - examples/osgslice/CMakeLists.txt, - examples/osgspacewarp/CMakeLists.txt, - examples/osgspheresegment/CMakeLists.txt, - examples/osgspotlight/CMakeLists.txt, - examples/osgstaticviewer/CMakeLists.txt, - examples/osgstereoimage/CMakeLists.txt, - examples/osgteapot/CMakeLists.txt, - examples/osgterrain/CMakeLists.txt, - examples/osgtessellate/CMakeLists.txt, - examples/osgtext/CMakeLists.txt, - examples/osgtexture1D/CMakeLists.txt, - examples/osgtexture2D/CMakeLists.txt, - examples/osgtexture3D/CMakeLists.txt, - examples/osgtexturerectangle/CMakeLists.txt, - examples/osgunittests/CMakeLists.txt, - examples/osgvertexprogram/CMakeLists.txt, - examples/osgviewerFLTK/CMakeLists.txt, - examples/osgviewerGLUT/CMakeLists.txt, - examples/osgviewerMFC/CMakeLists.txt, - examples/osgviewerQT/CMakeLists.txt, - examples/osgviewerSDL/CMakeLists.txt, - examples/osgviewerWX/CMakeLists.txt, - examples/osgvolume/CMakeLists.txt, - examples/osgwindows/CMakeLists.txt, src/CMakeLists.txt, - src/osg/CMakeLists.txt, src/osgDB/CMakeLists.txt, - src/osgFX/CMakeLists.txt, src/osgGA/CMakeLists.txt, - src/osgIntrospection/CMakeLists.txt, - src/osgManipulator/CMakeLists.txt, - src/osgParticle/CMakeLists.txt, - src/osgPlugins/3dc/CMakeLists.txt, - src/osgPlugins/3ds/CMakeLists.txt, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/Inventor/CMakeLists.txt, - src/osgPlugins/OpenFlight/CMakeLists.txt, - src/osgPlugins/ac/CMakeLists.txt, - src/osgPlugins/bmp/CMakeLists.txt, - src/osgPlugins/dae/CMakeLists.txt, - src/osgPlugins/dds/CMakeLists.txt, - src/osgPlugins/dw/CMakeLists.txt, - src/osgPlugins/dxf/CMakeLists.txt, - src/osgPlugins/freetype/CMakeLists.txt, - src/osgPlugins/geo/CMakeLists.txt, - src/osgPlugins/gif/CMakeLists.txt, - src/osgPlugins/hdr/CMakeLists.txt, - src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/jp2/CMakeLists.txt, - src/osgPlugins/jpeg/CMakeLists.txt, - src/osgPlugins/logo/CMakeLists.txt, - src/osgPlugins/lwo/CMakeLists.txt, - src/osgPlugins/lws/CMakeLists.txt, - src/osgPlugins/md2/CMakeLists.txt, - src/osgPlugins/net/CMakeLists.txt, - src/osgPlugins/normals/CMakeLists.txt, - src/osgPlugins/obj/CMakeLists.txt, - src/osgPlugins/osg/CMakeLists.txt, - src/osgPlugins/osgFX/CMakeLists.txt, - src/osgPlugins/osgParticle/CMakeLists.txt, - src/osgPlugins/osgShadow/CMakeLists.txt, - src/osgPlugins/osgSim/CMakeLists.txt, - src/osgPlugins/osgText/CMakeLists.txt, - src/osgPlugins/osgViewer/CMakeLists.txt, - src/osgPlugins/osga/CMakeLists.txt, - src/osgPlugins/osgtgz/CMakeLists.txt, - src/osgPlugins/pfb/CMakeLists.txt, - src/osgPlugins/pic/CMakeLists.txt, - src/osgPlugins/png/CMakeLists.txt, - src/osgPlugins/pnm/CMakeLists.txt, - src/osgPlugins/quicktime/CMakeLists.txt, - src/osgPlugins/rgb/CMakeLists.txt, - src/osgPlugins/rot/CMakeLists.txt, - src/osgPlugins/scale/CMakeLists.txt, - src/osgPlugins/shp/CMakeLists.txt, - src/osgPlugins/stl/CMakeLists.txt, - src/osgPlugins/tga/CMakeLists.txt, - src/osgPlugins/tgz/CMakeLists.txt, - src/osgPlugins/tiff/CMakeLists.txt, - src/osgPlugins/trans/CMakeLists.txt, - src/osgPlugins/txf/CMakeLists.txt, - src/osgPlugins/txp/CMakeLists.txt, - src/osgPlugins/vrml/CMakeLists.txt, - src/osgPlugins/x/CMakeLists.txt, - src/osgPlugins/xine/CMakeLists.txt, - src/osgPlugins/zip/CMakeLists.txt, src/osgShadow/CMakeLists.txt, - src/osgSim/CMakeLists.txt, src/osgTerrain/CMakeLists.txt, - src/osgText/CMakeLists.txt, src/osgUtil/CMakeLists.txt, - src/osgViewer/CMakeLists.txt, src/osgWrappers/CMakeLists.txt: Set - the eol style on CMake .txt files to native - -2007-06-24 10:55 robert - - * src/osgWrappers/osgDB/DatabasePager.cpp: Updated wrappers - -2007-06-24 10:18 robert - - * include/osgViewer/api/Win32/PixelBufferWin32, - src/osgViewer/PixelBufferWin32.cpp: From Trajce Nikolov, - PixelBufferWin32 implementation - -2007-06-23 21:55 robert - - * src/osgViewer/GraphicsWindowX11.cpp: Simplified decoration code - and added support for reading Traits::supportsResize - -2007-06-23 21:54 robert - - * include/osg/GraphicsContext: Set the Traits::supportsResize flag - to true in default constructor. - -2007-06-23 11:24 robert - - * examples/osgviewerQT/osgviewerQT.cpp: Reorder the - setProjectionMatrix.. mathod - -2007-06-23 11:21 robert - - * examples/osgspheresegment/osgspheresegment.cpp, - examples/osgviewerFLTK/osgviewerFLTK.cpp, - examples/osgviewerQT/osgviewerQT.cpp, src/osgViewer/Viewer.cpp: - Added setting of the Camera's projection matrix to fit the - windowing aspect ratio. - -2007-06-22 14:48 robert - - * applications/osgviewer/osgviewer.cpp: Added optional set up of - pbuffers for background compilation of the OpenGL objects - when database paging. - -2007-06-22 14:48 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Added ability to compile OpenGL objects via pbuffers in the - DatabasePager/Viewer -2007-06-21 16:14 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" - * examples/osglauncher/osglauncher.cpp: Added explicit setting of - updateText to have DYNAMIC data variance. -2007-06-21 11:20 robert +As you can see in pssm_bug.jpg and pssm_fix.jpg, performance is really better when Problem 1 is fixed. +" - * include/osgViewer/api/Win32/PixelBufferWin32, - src/osgViewer/PixelBufferWin32.cpp: From Trajce Nikolov, windows - build fixes -2007-06-20 12:34 robert - * src/osgViewer/PixelBufferWin32.cpp: Added dummy init method +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 -2007-06-20 12:29 robert +Mon, 22 Nov 2010 19:18:00 +0000 +Checked in by : Robert Osfield +Fixed typo - * include/osgViewer/api/Win32/PixelBufferWin32, - src/osgViewer/CMakeLists.txt, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/PixelBufferWin32.cpp: Added placeholder for - PixelBufferWin32 +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." -2007-06-20 12:01 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." - * applications/osgconv/osgconv.cpp: Corrected graphics context - creation message +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. -2007-06-20 12:00 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. - * include/osgTerrain/GeometryTechnique, - src/osgTerrain/GeometryTechnique.cpp: Added code of support for - contouring shaders +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 )" -2007-06-20 11:59 robert - * src/osgWrappers/osgTerrain/GeometryTechnique.cpp: Updated - wrappers -2007-06-20 11:59 robert - * include/osgViewer/api/X11/PixelBufferX11, - src/osgViewer/PixelBufferX11.cpp: Completed implementation of - PixelBufferX11. +Mon, 22 Nov 2010 15:52:20 +0000 +Checked in by : Robert Osfield +Fixed indentation -2007-06-19 17:12 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." - * include/osgViewer/api/Win32/GraphicsWindowWin32, - include/osgViewer/api/X11/GraphicsWindowX11, - include/osgViewer/api/X11/PixelBufferX11, - src/osgViewer/CMakeLists.txt, - src/osgViewer/GraphicsWindowX11.cpp, - src/osgViewer/PixelBufferX11.cpp: Added beginnings of - osgViewer::PixelBufferX11 +Mon, 22 Nov 2010 11:22:03 +0000 +Checked in by : Robert Osfield +Fixed typo of commercial -2007-06-19 16:19 robert +Mon, 22 Nov 2010 10:41:04 +0000 +Checked in by : Robert Osfield +From Hartwig Wiesmann, fix to font search path under OSX. - * examples/osgprerender/osgprerender.cpp: Added passing of - arguments into constructor. +Mon, 22 Nov 2010 10:37:49 +0000 +Checked in by : Robert Osfield +From Brad Christiansen, "Attached is a very small change to allow the Collada libs for VS 2010 to be found automatically." -2007-06-19 09: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. +" - * examples/osgterrain/osgterrain.cpp: Removed OSGVIEWER_EXPORT -2007-06-18 12:10 robert - * examples/osgterrain/osgterrain.cpp, - include/osgTerrain/GeometryTechnique, - src/osgTerrain/GeometryTechnique.cpp: Added use of GLSL filters +Fri, 19 Nov 2010 18:07:17 +0000 +Checked in by : Robert Osfield +From Sukender, fix for precision of Plane::asVec4() -2007-06-15 17:47 robert +Fri, 19 Nov 2010 17:47:53 +0000 +Checked in by : Robert Osfield +Commented out debug output - * Xcode/Packaging/OpenSceneGraph.pmproj, - Xcode/Packaging/Package.sh, - Xcode/Packaging/Packages/Examples.pmproj, - Xcode/Packaging/Packages/Frameworks.pmproj, - Xcode/Packaging/Packages/PlugIns.pmproj, - Xcode/Packaging/Resources/OSX_OSG_README.rtf, - Xcode/Packaging/Resources/welcome.rtf: From Martin Lavery, - Updates to Packages +Fri, 19 Nov 2010 17:47:30 +0000 +Checked in by : Robert Osfield +Update SOVERSION -2007-06-15 16:17 robert +Fri, 19 Nov 2010 09:57:56 +0000 +Checked in by : Robert Osfield +Update Text wrappers to handle new Color member - * NEWS.txt: Updated ChangeLog +Fri, 19 Nov 2010 09:57:34 +0000 +Checked in by : Robert Osfield +Updated SO version to reflect changes in API of osgText -2007-06-15 16:08 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 - * include/osgSim/OpenFlightOptimizer, - src/osgSim/OpenFlightOptimizer.cpp, - src/osgWrappers/osgSim/OpenFlightOptimizer.cpp: Fixed namespace +Thu, 18 Nov 2010 17:18:31 +0000 +Checked in by : Robert Osfield +Added resetting of the freetype size when getting Glyph3D glyph's as otherwise use of 2D and 3D Text would cause incorrect text sizing. -2007-06-15 14:57 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. - * src/osgShadow/ShadowMap.cpp: Added default values for ambientBias +Wed, 17 Nov 2010 14:06:26 +0000 +Checked in by : Robert Osfield +From Jean-Sebastien Guay, Changed debug info in State::frameCompleted() to OSG_INFO -2007-06-15 14:26 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 - * Xcode/Packaging/OpenSceneGraph.pmproj, - Xcode/Packaging/Resources/OSX_OSG_README.rtf, - Xcode/Packaging/Resources/welcome.rtf: From Martin Lavery, Update - to Packaging +Wed, 17 Nov 2010 10:16:45 +0000 +Checked in by : Robert Osfield +Added quite size test. -2007-06-15 14:02 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}" - * src/osgPlugins/ToPortToCmake.txt: Removed now redundent file +Fri, 12 Nov 2010 11:04:53 +0000 +Checked in by : Robert Osfield +Fixed warnings -2007-06-15 13:43 robert +Fri, 12 Nov 2010 09:48:21 +0000 +Checked in by : Robert Osfield +Fixed crash on intialization of static applications by moving the static mutexes inside singleton methods. - * examples/CMakeLists.txt: For Win32 added BUILD_MFC_EXAMPLE - option, default to OFF to try and avoid - issues with users without MFC installed. - --This line, and +Thu, 11 Nov 2010 16:51:46 +0000 +Checked in by : Robert Osfield +Moved finding of RSVG, Poppler-glib and GtkGl out into their own Find*.cmake modules to enable easier specialization. -2007-06-15 13:12 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. - * src/osgSim/HeightAboveTerrain.cpp, src/osgSim/LineOfSight.cpp: - Fixed handling of cases when no matrix is attached to - intersections +3. Modify the ReaderWriterOSG.cpp to prevent calling loadWrappers() +when static build. -2007-06-15 12:59 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. +" - * NEWS.txt, include/osgShadow/ShadowMap, - src/osgShadow/ShadowMap.cpp, - src/osgWrappers/osgShadow/ShadowMap.cpp: Added - ShadowMap::s/getAmbientBias, updated NEWS and wrappers -2007-06-15 12:48 robert - * README.txt: Updated README. +Thu, 11 Nov 2010 10:53:23 +0000 +Checked in by : Robert Osfield +From Wang Rui, "The latest modification of osg/State uses the GLuint64EXT type, which belongs to GL_EXT_timer_query and should be decalared to avoid compiling errors if the extension is not supported. I've attached this small fix." -2007-06-15 12:41 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." - * src/osg/Version.cpp: Changed the version format. +Wed, 10 Nov 2010 16:58:58 +0000 +Checked in by : Robert Osfield +From Tim More and Robert Osfield, implementation of ARB_timer_query based GPU timing stats syncronization.Initial email from Tim : "I've implemented using a timestamp, available with ARB_timer_query and OpenGL 3.3, to gather GPU stats. This is nice because it can accurately fix the GPU draw time with respect to the other times on the stats graph, rather than having to estimate the wall time of the end of GPU drawing. This also prevents anomalies like the GPU phase starting before the draw phase..." +Changes to Tim's submission by Robert: Removal of need for swap buffer callback in ViewerBase.cpp, by +integrating a osg::State::frameCompleted() method that does the stats timing collection. Introduction of a +GraphicsContext::swapBuffersCallbackOrImplementation() method that calls the State::frameCompleted() and +the swap buffers callback or the swapImplementation as required. -2007-06-15 10:15 robert - * CMakeLists.txt, include/osg/Version: Updated version numbers for - 2.0 release -2007-06-15 10:12 robert - * src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/TrackballManipulator.cpp: Added handling of when mouse - delta is too high, indicating a inconsitency in the - the events. These changes prevent irratic high speed spinning - when releasing the - mouse point in a different screen from when the mouse event - started. +Wed, 10 Nov 2010 12:50:06 +0000 +Checked in by : Robert Osfield +From Mourad Boufarguine, "This is a small fix to osg::createGeodeForImage to adapt Tex coords to image origin." -2007-06-15 09:29 robert - * src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/TrackballManipulator.cpp: Fixed null pointer derefence - bug -2007-06-15 08:36 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. - * include/osgUtil/SceneView, src/osgWrappers/osgUtil/SceneView.cpp: - Addded missing namespace +Tue, 9 Nov 2010 15:48:46 +0000 +Checked in by : Robert Osfield +From Wang Rui with small tweak from Robert Osfield, fix of memory leak in gif plugin when using GifImageStream -2007-06-14 22:22 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." - * Xcode/Packaging/OpenSceneGraph.pmproj: From Martin Lavery, - Packaging Update +Tue, 9 Nov 2010 14:39:32 +0000 +Checked in by : Robert Osfield +From Sukender, "As discussed in osg-users, I found output directories with CMake >= 2.8.1 are wrong under MSVC (As Chuck said, it's to be related to CMake, and not MSVC).But I also found rev. 11354 (from Wang Rui) added a change in OsgMacroUtils which adresses a similar issue: Wang told the "../../bin" prefix wasn't working. However I think the fix isn't correct because it checks the MSVC version instead of the CMake version. Here is my fix, against latest trunk (root CMakeLists.txt, and CMakeModules/OsgMacroUtils.cmake). -2007-06-14 21:03 robert +Tests I made: + | Unix Makefiles | MSVC 9 | MSVC 10 x64 +--------------------------------------------------- +CMake 2.4 | | OK | N/A +CMake 2.6.4 | | OK | N/A +CMake 2.8.0 | | OK | broken support? +CMake 2.8.2 | | OK | OK +" - * include/osgSim/OverlayNode: Updated wrappers -2007-06-14 20:58 robert - * src/osgSim/OverlayNode.cpp: Included shaders directly into - source, added support for toggle lighting on/off -2007-06-14 20:49 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. - * Xcode/Packaging/Packages/Applications.pmproj, - Xcode/Packaging/Packages/Applictions.pmproj: From Martin Lavery, - Packaging Updates +Tue, 9 Nov 2010 12:41:55 +0000 +Checked in by : Robert Osfield +From Wang Rui, "I'd like to submit my latest modification of the serialization IO functionalities. It includes two main parts: a version checking macro for handling backward-compatiblity since 3.0, and enhencement of current schema mechanism. I also change the option handling process to use getPluginStringData(), and add new USE_SERIALIZER_WRAPPER macro in the Registry header to allow for static-link usage as well.The enhencement of schema machanism just tells the type of each +serializer while outputting them, such as: +osg::Group = Children:1 -2007-06-14 20:48 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. - * Xcode/Packaging/OpenSceneGraph.pmproj: From Martin Lavery, - Packaging Updates +The new macro UPDATE_TO_VERSION can help indicate the InputStream (no +affect on the writer) that a serializer is added/removed since certain +OSG version. An example wrapper file is also attached. The +Geode_modified.cpp is based on the serializers/osg/Geode.cpp file +(hey, don't merge it :-), but assumes that a new user serializer +'Test' is added since version 65 (that is, the OSG_SOVERSION): -2007-06-14 20:22 robert +REGISTER_OBJECT_WRAPPER( Geode, ... ) +{ + ADD_USER_SERIALIZER( Drawables ); // origin ones - * Xcode/OpenSceneGraph/install.sh: From Martin Lavery, Install - script for the Xcode build + UPDATE_TO_VERSION( 65 ) + { + ADD_USER_SERIALIZER( Test ); // a serializer added from version 65 + } +} -2007-06-14 19:17 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. - * include/osgViewer/GraphicsWindow, - src/osgWrappers/osgViewer/GraphicsWindow.cpp: Fixed typo +And we also have the REMOVE_SERIALIZER macro will mark a named +serializer as removed in some version, with which all files generated +by further versions will just ignore it: -2007-06-14 16:09 robert +UPDATE_TO_VERSION( 70 ) +{ + REMOVE_SERIALIZER( Test ); +} - * Xcode/Packaging/Packages/Applictions.pmproj, - Xcode/Packaging/Packages/Examples.pmproj, - Xcode/Packaging/Packages/Frameworks.pmproj, - Xcode/Packaging/Packages/PlugIns.pmproj: From Martin Lavery, Fix - to packaging +This means that from version 70, the serializer Test is removed (but +not actually erased from the list) and should not be read anymore. If +the read file version is less than 70 (and equal or greater than 65), +Test will still be handled when reading; otherwise it will be ignored +to keep compatiblity on different OSG versions. +" -2007-06-14 15:51 robert - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/Packaging, Xcode/Packaging/Binary, - Xcode/Packaging/Binary/Applications, - Xcode/Packaging/Binary/Examples, - Xcode/Packaging/Binary/Frameworks, - Xcode/Packaging/Binary/Plugins, - Xcode/Packaging/OpenSceneGraph.pmproj, - Xcode/Packaging/Package.sh, Xcode/Packaging/Packages, - Xcode/Packaging/Packages/Applictions.pmproj, - Xcode/Packaging/Packages/Examples.pmproj, - Xcode/Packaging/Packages/Frameworks.pmproj, - Xcode/Packaging/Packages/PlugIns.pmproj, - Xcode/Packaging/Resources, Xcode/Packaging/Resources/LICENSE.txt, - Xcode/Packaging/Resources/instlogo.pdf: From Martin Lavery, - addition of Packaging directory -2007-06-13 21:15 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. - * AUTHORS.txt, ChangeLog, README.txt, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrapers, changelog, README and AUTHORS files for 1.9.9 release +The write part code is in convertToVRML.cpp and .h files. It works for some osg nodes (group, geode, matrixTransform, positionAttitudeTransform and geometry). Textures are converted to jpeg (if not translucent) or png (if translucent). +There are some options that could be given to the writer (with -O switch) : -2007-06-13 21: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. - * CMakeLists.txt, include/osg/Version, - src/osgWrappers/osg/AnimationPath.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers and Version numbers for 1.9.9 release +textureUnit=X in case of multiple textures, X= texture unit to use (default value=0) -2007-06-13 20:56 robert +directoryTexture=aPath when texture will be copied, it will be in this directory, not in the current one." - * README.txt: From Paul Mellis, "Here's an updated README.txt with - a few spelling and grammer mistakes - fixed. I changed the wording slightly here and there. - Hope you don't mind me fiddling with this one... - - " -2007-06-13 20:52 robert - * include/osgViewer/ViewerEventHandlers, - src/osgViewer/ViewerEventHandlers.cpp: Added ability to set the - keyboard bindings in the RecordaAnimationPathHandler +Mon, 8 Nov 2010 12:28:31 +0000 +Checked in by : Robert Osfield +From Jean-Sebastien Guay, "As promised, here is the fix for the background size. I also added another instance variable _lineHeight to clean up the code a bit more.Also I've done the osguserstats example. I've kept the "toy example" that was in the modified osgviewer.cpp I had sent you, because they show different uses of custom stats lines (a value displayed directly, a value without bars and a value with bars and graph). I also added a function and a thread that will sleep for a given number of milliseconds and record this time in the stats. I think it clearly shows how to record the time some processing takes and add that to the stats graph, whether the processing takes place on the same thread as the viewer or on another thread. -2007-06-13 20:34 robert +BTW, feel free to modify the colors I've given to each user stats line... I'm not very artistic. :-) - * include/osgViewer/ViewerEventHandlers, - src/osgViewer/ViewerEventHandlers.cpp: From Jeremy Moles & Robert - Osfield, Added support for playback of animation paths using 'Z' - key +I've also added more doc comments to the addUserStats() method in ViewerEventHandlers, so hopefully the arguments are clear and the way to get the results you want is also clear. Maybe I went overboard, but the function makes some assumptions that may not be obvious and has many arguments, so I preferred to be explicit." -2007-06-13 19:54 robert - * include/osg/AnimationPath: Added clear() -2007-06-13 19:53 robert +Fri, 5 Nov 2010 17:31:25 +0000 +Checked in by : Robert Osfield +From David Fries and Robert Osfield, fix for handling remote GLX server that declares GL 3.0 support but doesn't actually implement it correctly. - * include/osgSim/OverlayNode, src/osgSim/OverlayNode.cpp: Added new - shader support +Fri, 5 Nov 2010 17:24:50 +0000 +Checked in by : Robert Osfield +From Javier Taibo, "ere is the new code with Billboard "rotate around axis" functionality. A new AutoRotateMode was added. I named it ROTATE_TO_AXIS to be +consistent with the other AutoRotateModes, even though it changes from +how is called in Billboard (AXIAL_ROT). -2007-06-13 19:44 robert + Setters and getters for rotation axis and normal were also added to the +AutoTransform class interface. - * src/osgPlugins/jp2/CMakeLists.txt: From John Shue, fixed typo in - CMakeLists.txt + The implementation is mainly a copy-paste from Billboard code. +" -2007-06-13 15:32 robert - * examples/osgsimulation/osgsimulation.cpp: Added passing of - arugments into viewer constructor -2007-06-13 14:42 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. " - * CMakeLists.txt: Removed SunOS hack as it didn't work.. +Fri, 5 Nov 2010 17:07:17 +0000 +Checked in by : Robert Osfield +From Ulrich Hertlein, "attached is a tiny cleanup for ReaderWriterFFmpeg that provides more accurate descriptions for some extensions and also adds 'm2ts' for MPEG-2 transport streams. " -2007-06-13 14:05 robert +Fri, 5 Nov 2010 17:04:08 +0000 +Checked in by : Robert Osfield +From Sukender, "1. More handled cases in MergeGeometryVisitor - Algorithm doesn't try to merge double and single precision arrays together - Algorithm doesn't try to merge incompatible geometries (ex: one with "vertices + texoords", and another with only vertices)2. Better TextureAtlasBuilder +Algorithm is still sub-optimal, but it now tries to fill more blanks, using "unused space in the current line". +(Don't know if I already submitted it, but I guess not) +One day, someone should try to find a good solution to this NP-problem... For instance : http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.140.200&rep=rep1&type=pdf +" - * src/osgSim/OverlayNode.cpp: Wired up new shaders -2007-06-13 13:41 robert - * include/osg/CoordinateSystemNode, - src/osg/CoordinateSystemNode.cpp: Added better handling of 0,0,0 - values +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." -2007-06-13 11: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 - * src/osgViewer/Viewer.cpp: Added OSG_SCREEN and OSG_WINDOW env var - checking in the Viewer::realize() +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 -2007-06-13 10:45 robert +if (fin.fail()) +{ + (void)inflateEnd(&strm); + return false; +} - * src/osgWrappers/osgViewer/View.cpp: Updated wrappers +causes the reading to be aborted with the last read data not beeing inflated. -2007-06-13 10:38 robert +Please find the attached fix for this problem." - * applications/osgviewer/osgviewer.cpp, include/osgViewer/View, - src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp: Added - osgViewer::View::setUpViewInWindow(...) method and command line - option into - osgViewer::Viewer to allow you to specify the window dimentions - and screen for - the window on startup. -2007-06-13 10:31 robert - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Martin Lavery, osgShadow plugin added to Xcode project. +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." -2007-06-13 10:12 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. - * src/osgGA/CMakeLists.txt: Fixed versioning +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. " -2007-06-13 09:56 robert - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ParallelSplitShadowMap, - src/osgPlugins/osgShadow/CMakeLists.txt, - src/osgPlugins/osgShadow/ParallelSplitShadowMap.cpp, - src/osgPlugins/osgShadow/ReaderWriterOsgShadow.cpp, - src/osgShadow/CMakeLists.txt, - src/osgShadow/ParallelSplitShadowMap.cpp, - src/osgShadow/ShadowMap.cpp, src/osgShadow/ShadowTexture.cpp, - src/osgShadow/ShadowVolume.cpp, - src/osgWrappers/osgShadow/ParallelSplitShadowMap.cpp: Removed - ParallelSplitShadowMap as its currently a non op. -2007-06-13 08:56 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. +" - * CMakeLists.txt: Added -lrt in for SunOS build -2007-06-12 19:46 robert - * src/osgWrappers/osg/Image.cpp: Updated wrappers +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)." -2007-06-12 18:58 robert +Thu, 4 Nov 2010 11:05:47 +0000 +Checked in by : Robert Osfield +From David Callu, fix in FrameBufferObject when using Texture2Darray and GeometryShader. - * examples/osgmovie/osgmovie.cpp: Added StatsHandler +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. " -2007-06-12 18:56 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: - * examples/osgmovie/osgmovie.cpp: Refactored the dome correction - code to support movie flipping. +osgmovie 0 -e ffmpeg -O "format=vfwcap frame_rate=25" -2007-06-12 16:55 robert - - * examples/osgmovie/osgmovie.cpp, include/osg/Image, - src/osg/Image.cpp, - src/osgPlugins/quicktime/QuicktimeImageStream.cpp, - src/osgPlugins/xine/ReaderWriterXine.cpp: Added - Image::g/setOrigin to help movie plugins tell applications that - the imagery - is not the usual OpenGL BOTTOM_LEFT orientation, but with the - origin TOP_LEFT. This - allows geometry setup code to flip the t tex coord to render the - movie the correct way up. - -2007-06-12 15:57 robert - - * examples/osgviewerQT/osgviewerQT.cpp: Added in QT4 keyboard event - adaption - -2007-06-12 15:52 robert - - * src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osgViewer/GraphicsWindow.cpp: UPdated wrappers - -2007-06-12 15:38 robert - - * src/osgViewer/GraphicsWindowCarbon.cpp: From Stephan Huber, - "while porting my own code to the new osgViewer I discover more - and more - bugs in the Carbon-implementation of GraphicsWindow, so here's - another - fix for setWindowDecorationImplementation, now updates the - titlebar-height, and fixes some display-issues when switching the - decoration on/off. - " - -2007-06-12 15:32 robert - - * include/osg/GraphicsContext, include/osgViewer/GraphicsWindow, - include/osgViewer/api/Carbon/GraphicsWindowCarbon, - include/osgViewer/api/Win32/GraphicsWindowWin32, - include/osgViewer/api/X11/GraphicsWindowX11: Moved the className, - libraryName and isSameAs into public. - -2007-06-12 14:43 robert - - * src/osgPlugins/quicktime/QuicktimeImageStream.cpp, - src/osgPlugins/quicktime/QuicktimeImageStream.h: Changed _data to - _movieData to avoid possible confusion - -2007-06-12 14:20 robert - - * examples/osganimate/osganimate.cpp, - examples/osgautotransform/osgautotransform.cpp, - examples/osgbillboard/osgbillboard.cpp, - examples/osgblendequation/osgblendequation.cpp, - examples/osgcallback/osgcallback.cpp, - examples/osgcamera/osgcamera.cpp, examples/osgcatch/osgcatch.cpp, - examples/osgclip/osgclip.cpp, - examples/osgcluster/broadcaster.cpp, - examples/osgcluster/broadcaster.h, - examples/osgcluster/osgcluster.cpp, - examples/osgcluster/receiver.cpp, examples/osgcluster/receiver.h, - examples/osgcompositeviewer/osgcompositeviewer.cpp, - examples/osgcopy/osgcopy.cpp, examples/osgcubemap/osgcubemap.cpp, - examples/osgdelaunay/osgdelaunay.cpp, - examples/osgdepthpartition/DepthPartitionNode.cpp, - examples/osgdepthpartition/DepthPartitionNode.h, - examples/osgdepthpartition/DistanceAccumulator.cpp, - examples/osgdepthpartition/DistanceAccumulator.h, - examples/osgdepthpartition/osgdepthpartition.cpp, - examples/osgdepthshadow/osgdepthshadow.cpp, - examples/osgdistortion/osgdistortion.cpp, - examples/osgfadetext/osgfadetext.cpp, - examples/osgforest/osgforest.cpp, - examples/osgfxbrowser/Frame.cpp, examples/osgfxbrowser/Frame.h, - examples/osgfxbrowser/osgfxbrowser.cpp, - examples/osggeodemo/osggeodemo.cpp, - examples/osggeometry/osggeometry.cpp, - examples/osghangglide/GliderManipulator.cpp, - examples/osghangglide/GliderManipulator.h, - examples/osghangglide/base.cpp, examples/osghangglide/hat.cpp, - examples/osghangglide/hat.h, - examples/osghangglide/osghangglide.cpp, - examples/osghangglide/sky.cpp, examples/osghangglide/tank.cpp, - examples/osghangglide/terrain.cpp, - examples/osghangglide/terrain_coords.h, - examples/osghangglide/terrain_normals.h, - examples/osghangglide/terrain_texcoords.h, - examples/osghangglide/trees.cpp, examples/osghud/osghud.cpp, - examples/osgimpostor/TestManipulator.cpp, - examples/osgimpostor/TestManipulator.h, - examples/osgimpostor/osgimpostor.cpp, - examples/osgintersection/osgintersection.cpp, - examples/osgintrospection/osgintrospection.cpp, - examples/osgkeyboard/osgkeyboard.cpp, - examples/osgkeyboardmouse/osgkeyboardmouse.cpp, - examples/osglauncher/osglauncher.cpp, - examples/osglight/osglight.cpp, - examples/osglightpoint/osglightpoint.cpp, - examples/osglogicop/osglogicop.cpp, examples/osglogo/osglogo.cpp, - examples/osgmanipulator/osgmanipulator.cpp, - examples/osgmotionblur/osgmotionblur.cpp, - examples/osgmovie/osgmovie.cpp, - examples/osgmultitexture/osgmultitexture.cpp, - examples/osgoccluder/osgoccluder.cpp, - examples/osgpagedlod/osgpagedlod.cpp, - examples/osgparametric/osgparametric.cpp, - examples/osgparticle/osgparticle.cpp, - examples/osgparticleeffects/osgparticleeffects.cpp, - examples/osgphotoalbum/ImageReaderWriter.cpp, - examples/osgphotoalbum/ImageReaderWriter.h, - examples/osgphotoalbum/PhotoArchive.cpp, - examples/osgphotoalbum/PhotoArchive.h, - examples/osgphotoalbum/osgphotoalbum.cpp, - examples/osgpick/osgpick.cpp, examples/osgplanets/osgplanets.cpp, - examples/osgpoints/osgpoints.cpp, - examples/osgpointsprite/osgpointsprite.cpp, - examples/osgprecipitation/osgprecipitation.cpp, - examples/osgprerender/osgprerender.cpp, - examples/osgprerendercubemap/osgprerendercubemap.cpp, - examples/osgreflect/osgreflect.cpp, - examples/osgscalarbar/osgscalarbar.cpp, - examples/osgscribe/osgscribe.cpp, - examples/osgsequence/osgsequence.cpp, - examples/osgshaders/GL2Scene.cpp, examples/osgshaders/GL2Scene.h, - examples/osgshaders/Noise.cpp, examples/osgshaders/Noise.h, - examples/osgshaders/osgshaders.cpp, - examples/osgshaderterrain/osgshaderterrain.cpp, - examples/osgshadow/osgshadow.cpp, - examples/osgshadowtexture/CreateShadowedScene.cpp, - examples/osgshadowtexture/CreateShadowedScene.h, - examples/osgshadowtexture/osgshadowtexture.cpp, - examples/osgshape/osgshape.cpp, - examples/osgsimplifier/osgsimplifier.cpp, - examples/osgsimulation/osgsimulation.cpp, - examples/osgslice/osgslice.cpp, - examples/osgspacewarp/osgspacewarp.cpp, - examples/osgspheresegment/osgspheresegment.cpp, - examples/osgspotlight/osgspotlight.cpp, - examples/osgstaticviewer/osgstaticviewer.cpp, - examples/osgstereoimage/osgstereoimage.cpp, - examples/osgteapot/osgteapot.cpp, - examples/osgterrain/osgterrain.cpp, - examples/osgtessellate/osgtessellate.cpp, - examples/osgtext/osgtext.cpp, - examples/osgtexture1D/osgtexture1D.cpp, - examples/osgtexture2D/osgtexture2D.cpp, - examples/osgtexture3D/osgtexture3D.cpp, - examples/osgtexturerectangle/osgtexturerectangle.cpp, - examples/osgunittests/UnitTestFramework.cpp, - examples/osgunittests/UnitTestFramework.h, - examples/osgunittests/UnitTests_osg.cpp, - examples/osgunittests/osgunittests.cpp, - examples/osgunittests/performance.cpp, - examples/osgunittests/performance.h, - examples/osgvertexprogram/osgvertexprogram.cpp, - examples/osgviewerCocoa/ViewerCocoa.h, - examples/osgviewerCocoa/ViewerCocoa.mm, - examples/osgviewerCocoa/main.m, - examples/osgviewerFLTK/osgviewerFLTK.cpp, - examples/osgviewerGLUT/osgviewerGLUT.cpp, - examples/osgviewerQT/osgviewerQT.cpp, - examples/osgviewerSDL/SDLMainForMacOSX.h, - examples/osgviewerSDL/SDLMainForMacOSX.m, - examples/osgviewerSDL/osgviewerSDL.cpp, - examples/osgvolume/osgvolume.cpp, - examples/osgwindows/osgwindows.cpp: From Martin Lavery and Robert - Osfield, Updated examples to use a variation of the MIT License - -2007-06-12 11:31 robert - - * Xcode/OpenSceneGraph/OpenSceneGraph-Data, - Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Martin Lavery, fix to Xcode Resources - -2007-06-12 10:37 robert - - * Xcode/OpenSceneGraph/OpenSceneGraph-Data, - Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Martin Lavery, Fix of OpenSceneGraph-Data linking - -2007-06-12 10:19 robert - - * examples/osgviewerQT/CMakeLists.txt, - examples/osgviewerQT/osgviewerQT.cpp: Build fixes for QT4 - -2007-06-12 09:55 robert - - * src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/TrackballManipulator.cpp: Changed the throw dection - time to 0.02 - -2007-06-12 08:30 robert - - * src/osgSim/OverlayNode.cpp: Work in progress on perspective view - dependant codes - -2007-06-12 08:29 robert - - * examples/osgmovie/osgmovie.cpp: Added screen number, and flip - support into dome correction codes. - -2007-06-12 08:28 robert - - * src/osgViewer/GraphicsWindowCarbon.cpp: From Stephan Huber, "the - computation of the windowtitlebar-height was wrong, attached - you'll - find a fixed version for GraphicsWindowCarbon.cpp - " - -2007-06-10 20:46 robert - - * examples/osgsimulation/osgsimulation.cpp: Added support for - specifying external overlay file. - -2007-06-10 20:12 robert - - * src/osgWrappers/osgViewer/GraphicsWindow.cpp: Updated wrappers - -2007-06-10 19:53 robert - - * include/osgViewer/GraphicsWindow, - include/osgViewer/api/Carbon/GraphicsWindowCarbon, - include/osgViewer/api/Win32/GraphicsWindowWin32, - include/osgViewer/api/X11/GraphicsWindowX11, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp: From Stephan Huber and - Robert Osfield, - - Stephan: "attached you'll find some modifications to the - GraphicsWindow-class and - their platform-dependant implementations. - - The problem: - setWindowRectangle and setWindowDecoration do not update the - traits-object, so, if you call setWindowRectangle on a - not-realized-window it will open with another size when realized - later. - getWindowRectangle reports possible wrong sizes if - setWindowRectangle - called before. - - My solution: - split the implementation in two parts: - GraphicsWindow::setWindowRectangle will update its traits-object - and - call afterwards the virtual method - setWindowRectangleImplementation - (which is implemented by the derived platformspecific classess). - For - setWindowDecoration I am useing a similar mechanism. - - I hope you'll find the submission useful, the Win32 and X11 - changes are - not tested but should work." - - Changes to this made by Robert are call of resized in - setWindowRectangle - instead of setting of Traits, and use of a bool return type. - -2007-06-10 19:22 robert - - * src/osg/Image.cpp: From Vladimir Shabanov, - "osg::Image::isImageTranslucent() now handles - GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, - GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, - GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV and - GL_HALF_FLOAT_NV pixel formats." - -2007-06-10 19:18 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Vladimir Shabanov, - "DDS plugin now works with these formats: - R3G3B2, R5G6B5, A1R5G5B5, X1R5G5B5, A4R4G4B4, X4R4G4B4, R8G8B8 - (now - without swaping of red and blue), A8R8G8B8 (also w/o swapping), - X8R8G8B8, A8B8G8R8, X8B8G8R8, A2R10G10B10, A2B10G10R10, L4A4 (not - work - on my machine), L16A16, L16, A16B16G16R16, A16B16G16R16F, - Q16W16V16U16, R32F, R16F and A32B32G32R32F. - - And these ones are correctly detected, but prints "unsupported" - using - osg::notify(osg::WARN) and are not loaded: - A8R3G3B2, G16R16, G16R16F, G32R32F and CxV8U8. - - Also added checking of not supported DDPF_BUMPDUDV (V8U8, V16U16, - Q8W8U8L8, A2W10U10V10 etc.) and DDPF_BUMPLUMINANCE (L6V5U5, - X8L8V8U8, - etc.) pixel formats. - - Mipmap handling is slightly modified and now support all - additional formats. - " - -2007-06-10 18:17 robert - - * CMakeModules/Find3rdPartyDependencies.cmake: From Olaf Flebbe, - "support current zlib and libpng library names for win32 3rdParty - builds." - -2007-06-10 09:51 robert - - * examples/osgcamera/osgcamera.cpp, - examples/osgstaticviewer/CMakeLists.txt, - examples/osgstaticviewer/osgstaticviewer.cpp, - include/osgDB/Registry, include/osgViewer/GraphicsWindow, - src/osgPlugins/freetype/ReaderWriterFreeType.cpp: Improved the - set up of static build, added freetype plugin to plugins that - support static usage - -2007-06-09 19:18 robert - - * examples/osgcamera/osgcamera.cpp: Added default file in case no - file arguments are provided. Changed to use - standard ThreadingHandler by default. - -2007-06-09 17:58 robert - - * src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/TrackballManipulator.cpp: Improved the detection of - throwing of the mouse. - -2007-06-09 10:18 robert - - * src/osgWrappers/osg/Camera.cpp: Updated wrappers - -2007-06-09 10:07 robert - - * runexamples.bat: Removed the command line parameters form the - examples that now have a default - file built into them. - -2007-06-09 10:06 robert - - * include/osg/Camera, src/osg/Camera.cpp, src/osg/View.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: Added DisplaySettings to osg::Camera, - and support into osg::View for initializing - the Camera to the DisplaySettings ScreenWidth/Height/Distance. - Added support - for dual screen horizontal split stereo. - -2007-06-08 20:11 robert - - * src/osgPlugins/freetype/FreeTypeLibrary.cpp: Added debug code - path that prints out font details. - -2007-06-08 16:47 robert - - * examples/osgviewerCocoa/English.lproj/MainMenu.nib, - examples/osgviewerCocoa/English.lproj/MainMenu.nib/classes.nib, - examples/osgviewerCocoa/English.lproj/MainMenu.nib/info.nib, - examples/osgviewerCocoa/English.lproj/MainMenu.nib/keyedobjects.nib: - From Eric Wing, interface files - -2007-06-08 16:05 robert - - * include/osgViewer/api/Fox: Removed empty directory - -2007-06-08 16:05 robert - - * include/osgViewer/api/FLTK, include/osgViewer/api/GLUT, - include/osgViewer/api/Motif, include/osgViewer/api/Qt, - include/osgViewer/api/SDL, include/osgViewer/api/WxWidgets: - Removed empty directory - -2007-06-08 15:37 robert - - * examples/osgdistortion/osgdistortion.cpp, - examples/osghud/osghud.cpp, examples/osglight/osglight.cpp, - examples/osglogicop/osglogicop.cpp, - examples/osgmotionblur/osgmotionblur.cpp, - examples/osgmultitexture/osgmultitexture.cpp, - examples/osgoccluder/osgoccluder.cpp, - examples/osgpick/osgpick.cpp, - examples/osgprerender/osgprerender.cpp, - examples/osgreflect/osgreflect.cpp, - examples/osgscribe/osgscribe.cpp, - examples/osgsimplifier/osgsimplifier.cpp, - examples/osgtexture1D/osgtexture1D.cpp, - examples/osgwindows/osgwindows.cpp: From Martin Lavery and Robert - Osfield, added fallbacks for when now command line args are - provided. - -2007-06-08 15:29 robert - - * examples/osgstereoimage/osgstereoimage.cpp: Added fallback for - when no command line args are provied. - -2007-06-08 15:11 robert - - * examples/osgkeyboardmouse/osgkeyboardmouse.cpp: Added default - file when no command line options are supplied. - -2007-06-08 15:06 robert - - * examples/osgsequence/osgsequence.cpp: Added fallback for when no - command line args are passed in. - -2007-06-08 15:03 robert - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Martin Lavery, Linking of example Data files for the Xcode - Projects - -2007-06-08 12:16 robert - - * runexamples.bat: Removed command line args for examples ported - across to not need them. - -2007-06-08 12:15 robert - - * examples/osgfxbrowser/osgfxbrowser.cpp: Added default command - line arg - -2007-06-08 12:13 robert - - * examples/osgblendequation/osgblendequation.cpp, - examples/osgcallback/osgcallback.cpp, - examples/osgclip/osgclip.cpp, examples/osgcubemap/osgcubemap.cpp, - examples/osgdistortion/osgdistortion.cpp: Added default file load - to avoid the need for command line option. - -2007-06-08 11:04 robert - - * include/osgViewer/api/Carbon/GraphicsWindowCarbon, - src/osgViewer/GraphicsWindowCarbon.cpp: From Stephan Huber, - "attached you'll find a new GraphicsWindowCarbon-header and .cpp, - the - changes I made: - - + put a warning in the console if a nonexistant screen is - requested - + add getters for the aglcontext and pixelformat -- I need access - to - them in my own code. - " - -2007-06-08 10:58 robert - - * src/osgPlugins/OpenFlight/PrimaryRecords.cpp: From Jason Daly, - "We have a few OpenFlight files that used to display properly - with the - old loader, but appear very, very wrong with the new one. I - traced the - problem to the handling of the palette override flags in the - external - reference records. The current behavior for handling the palette - override flags for external references has different offsets for - different OpenFlight version (2 bytes for 14.2-15.1 and 4 bytes - for 15.2 - and later). However, I believe this behavior is incorrect. - - I know that the original 14.2 OpenFlight spec (dated April 1995) - specifies 2 bytes between the filename and the override flags, - and the - 15.4 and later specs specify 4 bytes. However, I also found a - 14.2.4 - OpenFlight spec (dated January 1996) that changes the - specification to 4 - bytes. Also, the databases in question were created using an old - IRIX - version of MultiGen II, which wrote OpenFlight 14.2 files - natively. - These files also have 4 bytes between the filename and flags. - Furthermore, these databases have always worked properly under - earlier - versions of OSG, under Performer, and in every MultiGen product - we've used. - - This leads me to believe that the original 14.2 spec was - incorrect (the - 14.2.4 spec corrected this error), and there should be 4 bytes - between - the filename and flags for all OpenFlight files version 14.2 and - later. - - The attached fix modifies the OpenFlight loader to behave in this - way." - -2007-06-08 10:43 robert - - * examples/osgviewerCocoa/English.lproj/InfoPlist.strings: From - Eric Wing, build fix - -2007-06-08 10:43 robert - - * examples/osgviewerCocoa/English.lproj/Localizable.strings: From - Eric Wing, build fix - -2007-06-08 10:42 robert - - * src/osgWrappers/OpenThreads/Barrier.cpp, - src/osgWrappers/OpenThreads/Block.cpp, - src/osgWrappers/OpenThreads/Condition.cpp, - src/osgWrappers/OpenThreads/Mutex.cpp, - src/osgWrappers/OpenThreads/ReadWriteMutex.cpp, - src/osgWrappers/OpenThreads/ReentrantMutex.cpp, - src/osgWrappers/OpenThreads/Thread.cpp, - src/osgWrappers/osg/AlphaFunc.cpp, - src/osgWrappers/osg/AnimationPath.cpp, - src/osgWrappers/osg/ApplicationUsage.cpp, - src/osgWrappers/osg/ArgumentParser.cpp, - src/osgWrappers/osg/Array.cpp, - src/osgWrappers/osg/AutoTransform.cpp, - src/osgWrappers/osg/Billboard.cpp, - src/osgWrappers/osg/BlendColor.cpp, - src/osgWrappers/osg/BlendEquation.cpp, - src/osgWrappers/osg/BlendFunc.cpp, - src/osgWrappers/osg/BoundingBox.cpp, - src/osgWrappers/osg/BoundingSphere.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/CameraView.cpp, - src/osgWrappers/osg/ClampColor.cpp, - src/osgWrappers/osg/ClearNode.cpp, - src/osgWrappers/osg/ClipNode.cpp, - src/osgWrappers/osg/ClipPlane.cpp, - src/osgWrappers/osg/ClusterCullingCallback.cpp, - src/osgWrappers/osg/CollectOccludersVisitor.cpp, - src/osgWrappers/osg/ColorMask.cpp, - src/osgWrappers/osg/ColorMatrix.cpp, - src/osgWrappers/osg/ComputeBoundsVisitor.cpp, - src/osgWrappers/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/osg/ConvexPlanarPolygon.cpp, - src/osgWrappers/osg/CoordinateSystemNode.cpp, - src/osgWrappers/osg/CopyOp.cpp, src/osgWrappers/osg/CullFace.cpp, - src/osgWrappers/osg/CullSettings.cpp, - src/osgWrappers/osg/CullStack.cpp, - src/osgWrappers/osg/CullingSet.cpp, - src/osgWrappers/osg/DeleteHandler.cpp, - src/osgWrappers/osg/Depth.cpp, - src/osgWrappers/osg/DisplaySettings.cpp, - src/osgWrappers/osg/DrawPixels.cpp, - src/osgWrappers/osg/Drawable.cpp, src/osgWrappers/osg/Endian.cpp, - src/osgWrappers/osg/Fog.cpp, - src/osgWrappers/osg/FragmentProgram.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osg/FrameStamp.cpp, - src/osgWrappers/osg/FrontFace.cpp, - src/osgWrappers/osg/GL2Extensions.cpp, - src/osgWrappers/osg/Geode.cpp, src/osgWrappers/osg/Geometry.cpp, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/GraphicsThread.cpp, - src/osgWrappers/osg/Group.cpp, src/osgWrappers/osg/Hint.cpp, - src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/ImageStream.cpp, src/osgWrappers/osg/LOD.cpp, - src/osgWrappers/osg/Light.cpp, - src/osgWrappers/osg/LightModel.cpp, - src/osgWrappers/osg/LightSource.cpp, - src/osgWrappers/osg/LineSegment.cpp, - src/osgWrappers/osg/LineStipple.cpp, - src/osgWrappers/osg/LineWidth.cpp, - src/osgWrappers/osg/LogicOp.cpp, - src/osgWrappers/osg/Material.cpp, - src/osgWrappers/osg/MatrixTransform.cpp, - src/osgWrappers/osg/Matrixd.cpp, src/osgWrappers/osg/Matrixf.cpp, - src/osgWrappers/osg/Multisample.cpp, - src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/NodeCallback.cpp, - src/osgWrappers/osg/NodeTrackerCallback.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osg/Notify.cpp, src/osgWrappers/osg/Object.cpp, - src/osgWrappers/osg/OccluderNode.cpp, - src/osgWrappers/osg/PagedLOD.cpp, src/osgWrappers/osg/Plane.cpp, - src/osgWrappers/osg/Point.cpp, - src/osgWrappers/osg/PointSprite.cpp, - src/osgWrappers/osg/PolygonMode.cpp, - src/osgWrappers/osg/PolygonOffset.cpp, - src/osgWrappers/osg/PolygonStipple.cpp, - src/osgWrappers/osg/Polytope.cpp, - src/osgWrappers/osg/PositionAttitudeTransform.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osg/Program.cpp, - src/osgWrappers/osg/Projection.cpp, - src/osgWrappers/osg/ProxyNode.cpp, src/osgWrappers/osg/Quat.cpp, - src/osgWrappers/osg/Referenced.cpp, - src/osgWrappers/osg/RenderInfo.cpp, - src/osgWrappers/osg/Scissor.cpp, - src/osgWrappers/osg/Sequence.cpp, - src/osgWrappers/osg/ShadeModel.cpp, - src/osgWrappers/osg/Shader.cpp, - src/osgWrappers/osg/ShadowVolumeOccluder.cpp, - src/osgWrappers/osg/Shape.cpp, - src/osgWrappers/osg/ShapeDrawable.cpp, - src/osgWrappers/osg/State.cpp, - src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/StateSet.cpp, src/osgWrappers/osg/Stats.cpp, - src/osgWrappers/osg/Stencil.cpp, - src/osgWrappers/osg/StencilTwoSided.cpp, - src/osgWrappers/osg/Switch.cpp, src/osgWrappers/osg/TexEnv.cpp, - src/osgWrappers/osg/TexEnvCombine.cpp, - src/osgWrappers/osg/TexEnvFilter.cpp, - src/osgWrappers/osg/TexGen.cpp, - src/osgWrappers/osg/TexGenNode.cpp, - src/osgWrappers/osg/TexMat.cpp, src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osg/Texture1D.cpp, - src/osgWrappers/osg/Texture2D.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/TextureCubeMap.cpp, - src/osgWrappers/osg/TextureRectangle.cpp, - src/osgWrappers/osg/Timer.cpp, - src/osgWrappers/osg/TransferFunction.cpp, - src/osgWrappers/osg/Transform.cpp, - src/osgWrappers/osg/Uniform.cpp, src/osgWrappers/osg/Vec2b.cpp, - src/osgWrappers/osg/Vec2d.cpp, src/osgWrappers/osg/Vec2f.cpp, - src/osgWrappers/osg/Vec2s.cpp, src/osgWrappers/osg/Vec3b.cpp, - src/osgWrappers/osg/Vec3d.cpp, src/osgWrappers/osg/Vec3f.cpp, - src/osgWrappers/osg/Vec3s.cpp, src/osgWrappers/osg/Vec4b.cpp, - src/osgWrappers/osg/Vec4d.cpp, src/osgWrappers/osg/Vec4f.cpp, - src/osgWrappers/osg/Vec4s.cpp, src/osgWrappers/osg/Vec4ub.cpp, - src/osgWrappers/osg/VertexProgram.cpp, - src/osgWrappers/osg/View.cpp, src/osgWrappers/osg/Viewport.cpp, - src/osgWrappers/osg/observer_ptr.cpp, - src/osgWrappers/osgDB/Archive.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/DotOsgWrapper.cpp, - src/osgWrappers/osgDB/DynamicLibrary.cpp, - src/osgWrappers/osgDB/Field.cpp, - src/osgWrappers/osgDB/FieldReader.cpp, - src/osgWrappers/osgDB/FieldReaderIterator.cpp, - src/osgWrappers/osgDB/FileUtils.cpp, - src/osgWrappers/osgDB/ImageOptions.cpp, - src/osgWrappers/osgDB/Input.cpp, - src/osgWrappers/osgDB/Output.cpp, - src/osgWrappers/osgDB/ParameterOutput.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgDB/SharedStateManager.cpp, - src/osgWrappers/osgFX/AnisotropicLighting.cpp, - src/osgWrappers/osgFX/BumpMapping.cpp, - src/osgWrappers/osgFX/Cartoon.cpp, - src/osgWrappers/osgFX/Effect.cpp, - src/osgWrappers/osgFX/MultiTextureControl.cpp, - src/osgWrappers/osgFX/Registry.cpp, - src/osgWrappers/osgFX/Scribe.cpp, - src/osgWrappers/osgFX/SpecularHighlights.cpp, - src/osgWrappers/osgFX/Technique.cpp, - src/osgWrappers/osgFX/Validator.cpp, - src/osgWrappers/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/osgGA/DriveManipulator.cpp, - src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgGA/EventVisitor.cpp, - src/osgWrappers/osgGA/FlightManipulator.cpp, - src/osgWrappers/osgGA/GUIActionAdapter.cpp, - src/osgWrappers/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/osgGA/GUIEventHandler.cpp, - src/osgWrappers/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/osgGA/MatrixManipulator.cpp, - src/osgWrappers/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/osgGA/StateSetManipulator.cpp, - src/osgWrappers/osgGA/TerrainManipulator.cpp, - src/osgWrappers/osgGA/TrackballManipulator.cpp, - src/osgWrappers/osgGA/UFOManipulator.cpp, - src/osgWrappers/osgManipulator/AntiSquish.cpp, - src/osgWrappers/osgManipulator/Command.cpp, - src/osgWrappers/osgManipulator/CommandManager.cpp, - src/osgWrappers/osgManipulator/Constraint.cpp, - src/osgWrappers/osgManipulator/Dragger.cpp, - src/osgWrappers/osgManipulator/Projector.cpp, - src/osgWrappers/osgManipulator/RotateCylinderDragger.cpp, - src/osgWrappers/osgManipulator/RotateSphereDragger.cpp, - src/osgWrappers/osgManipulator/Scale1DDragger.cpp, - src/osgWrappers/osgManipulator/Scale2DDragger.cpp, - src/osgWrappers/osgManipulator/ScaleAxisDragger.cpp, - src/osgWrappers/osgManipulator/Selection.cpp, - src/osgWrappers/osgManipulator/TabBoxDragger.cpp, - src/osgWrappers/osgManipulator/TabPlaneDragger.cpp, - src/osgWrappers/osgManipulator/TabPlaneTrackballDragger.cpp, - src/osgWrappers/osgManipulator/TrackballDragger.cpp, - src/osgWrappers/osgManipulator/Translate1DDragger.cpp, - src/osgWrappers/osgManipulator/Translate2DDragger.cpp, - src/osgWrappers/osgManipulator/TranslateAxisDragger.cpp, - src/osgWrappers/osgManipulator/TranslatePlaneDragger.cpp, - src/osgWrappers/osgParticle/AccelOperator.cpp, - src/osgWrappers/osgParticle/AngularAccelOperator.cpp, - src/osgWrappers/osgParticle/BoxPlacer.cpp, - src/osgWrappers/osgParticle/CenteredPlacer.cpp, - src/osgWrappers/osgParticle/ConnectedParticleSystem.cpp, - src/osgWrappers/osgParticle/ConstantRateCounter.cpp, - src/osgWrappers/osgParticle/Counter.cpp, - src/osgWrappers/osgParticle/Emitter.cpp, - src/osgWrappers/osgParticle/ExplosionDebrisEffect.cpp, - src/osgWrappers/osgParticle/ExplosionEffect.cpp, - src/osgWrappers/osgParticle/FireEffect.cpp, - src/osgWrappers/osgParticle/FluidFrictionOperator.cpp, - src/osgWrappers/osgParticle/FluidProgram.cpp, - src/osgWrappers/osgParticle/ForceOperator.cpp, - src/osgWrappers/osgParticle/Interpolator.cpp, - src/osgWrappers/osgParticle/LinearInterpolator.cpp, - src/osgWrappers/osgParticle/ModularEmitter.cpp, - src/osgWrappers/osgParticle/ModularProgram.cpp, - src/osgWrappers/osgParticle/MultiSegmentPlacer.cpp, - src/osgWrappers/osgParticle/Operator.cpp, - src/osgWrappers/osgParticle/Particle.cpp, - src/osgWrappers/osgParticle/ParticleEffect.cpp, - src/osgWrappers/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/osgParticle/Placer.cpp, - src/osgWrappers/osgParticle/PointPlacer.cpp, - src/osgWrappers/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/osgParticle/Program.cpp, - src/osgWrappers/osgParticle/RadialShooter.cpp, - src/osgWrappers/osgParticle/RandomRateCounter.cpp, - src/osgWrappers/osgParticle/SectorPlacer.cpp, - src/osgWrappers/osgParticle/SegmentPlacer.cpp, - src/osgWrappers/osgParticle/Shooter.cpp, - src/osgWrappers/osgParticle/SmokeEffect.cpp, - src/osgWrappers/osgParticle/SmokeTrailEffect.cpp, - src/osgWrappers/osgParticle/VariableRateCounter.cpp, - src/osgWrappers/osgParticle/range.cpp, - src/osgWrappers/osgShadow/OccluderGeometry.cpp, - src/osgWrappers/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/osgShadow/ShadowMap.cpp, - src/osgWrappers/osgShadow/ShadowTechnique.cpp, - src/osgWrappers/osgShadow/ShadowTexture.cpp, - src/osgWrappers/osgShadow/ShadowVolume.cpp, - src/osgWrappers/osgShadow/ShadowedScene.cpp, - src/osgWrappers/osgSim/BlinkSequence.cpp, - src/osgWrappers/osgSim/ColorRange.cpp, - src/osgWrappers/osgSim/DOFTransform.cpp, - src/osgWrappers/osgSim/ElevationSlice.cpp, - src/osgWrappers/osgSim/GeographicLocation.cpp, - src/osgWrappers/osgSim/HeightAboveTerrain.cpp, - src/osgWrappers/osgSim/Impostor.cpp, - src/osgWrappers/osgSim/ImpostorSprite.cpp, - src/osgWrappers/osgSim/InsertImpostorsVisitor.cpp, - src/osgWrappers/osgSim/LightPoint.cpp, - src/osgWrappers/osgSim/LightPointNode.cpp, - src/osgWrappers/osgSim/LightPointSystem.cpp, - src/osgWrappers/osgSim/LineOfSight.cpp, - src/osgWrappers/osgSim/MultiSwitch.cpp, - src/osgWrappers/osgSim/OpenFlightOptimizer.cpp, - src/osgWrappers/osgSim/OverlayNode.cpp, - src/osgWrappers/osgSim/ScalarBar.cpp, - src/osgWrappers/osgSim/ScalarsToColors.cpp, - src/osgWrappers/osgSim/Sector.cpp, - src/osgWrappers/osgSim/SphereSegment.cpp, - src/osgWrappers/osgSim/VisibilityGroup.cpp, - src/osgWrappers/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/osgTerrain/Layer.cpp, - src/osgWrappers/osgTerrain/Locator.cpp, - src/osgWrappers/osgTerrain/TerrainNode.cpp, - src/osgWrappers/osgTerrain/TerrainTechnique.cpp, - src/osgWrappers/osgTerrain/ValidDataOperator.cpp, - src/osgWrappers/osgText/FadeText.cpp, - src/osgWrappers/osgText/Font.cpp, - src/osgWrappers/osgText/String.cpp, - src/osgWrappers/osgText/Text.cpp, - src/osgWrappers/osgUtil/CubeMapGenerator.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/DelaunayTriangulator.cpp, - src/osgWrappers/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/osgUtil/HalfWayMapGenerator.cpp, - src/osgWrappers/osgUtil/HighlightMapGenerator.cpp, - src/osgWrappers/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgUtil/IntersectionVisitor.cpp, - src/osgWrappers/osgUtil/LineSegmentIntersector.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp, - src/osgWrappers/osgUtil/PlaneIntersector.cpp, - src/osgWrappers/osgUtil/PolytopeIntersector.cpp, - src/osgWrappers/osgUtil/PositionalStateContainer.cpp, - src/osgWrappers/osgUtil/ReflectionMapGenerator.cpp, - src/osgWrappers/osgUtil/RenderBin.cpp, - src/osgWrappers/osgUtil/RenderLeaf.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp, - src/osgWrappers/osgUtil/SceneView.cpp, - src/osgWrappers/osgUtil/Simplifier.cpp, - src/osgWrappers/osgUtil/SmoothingVisitor.cpp, - src/osgWrappers/osgUtil/StateGraph.cpp, - src/osgWrappers/osgUtil/Statistics.cpp, - src/osgWrappers/osgUtil/TangentSpaceGenerator.cpp, - src/osgWrappers/osgUtil/Tessellator.cpp, - src/osgWrappers/osgUtil/TransformAttributeFunctor.cpp, - src/osgWrappers/osgUtil/TransformCallback.cpp, - src/osgWrappers/osgUtil/TriStripVisitor.cpp, - src/osgWrappers/osgUtil/UpdateVisitor.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/GraphicsWindow.cpp, - src/osgWrappers/osgViewer/Scene.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers - -2007-06-08 10:22 robert - - * src/osgPlugins/OpenFlight/PaletteRecords.cpp: From Jason Daly, - "This changes the handling of textures in the OpenFlight loader. - Currently, if the texture attribute file doesn't explicitly - specify an - internal format, the loader will force it to use GL_RGB, which - keeps - translucent textures (eg. GL_RGBA textures) from showing up - properly. - - This patch changes the default behavior to simply use the image's - format - instead of forcing a particular format." - -2007-06-08 10:16 robert - - * examples/osgviewerCocoa/ViewerCocoa.h, - examples/osgviewerCocoa/ViewerCocoa.mm: From Eric Wing, "So, - something strange happened to the repo and some of this project's - files got messed up, most notiably the Nib and also the Localized - strings file. I didn't notice the latter until now so Martin is - missing this file. - - Anyway, the attached tar contains all new versions of all the - necessary files. There are cleanups and fixes to a lot of things. - Martin did a good job porting the thing to osg::Viewer so most of - the - code changes I made address other areas. - - Two things I noticed in the new port you might want to consider - as - feedback. First, there might be a bug with osgViewer when the - view - size goes to 0. If you play with the splitviews in this program - and - shrink the view until it is closed, and then re-expand it, the - model - doesn't come back, not even after a home() call. SimpleViewer - didn't - have this problem. - - Second, a more minor thing, this program has a - take-screenshot--and-copy-to-clipboard feature via Cmd-C (or Menu - item). I achieve this by using osg::Camera to render to an FBO - and - then copy the contents to Cocoa. To insert the camera, I - manipulate - the scenegraph so I can get the camera node in and out. I end up - calling setSceneData at the end of eveything to restore - everything to - the original state before I started mucking with the scenegraph. - This - unfortunately, triggers a home() reset. So in this particular - case, it - make Copy look like it's changing the scene. The old SimpleViewer - had - the same problem, but I was able to work around it by directly - invoking the underlying SceneView's setSceneData so the home() - mechanism was bypassed. The viewer design seems to protect this - data - more carefully so the bypass trick won't work. My feedback is - that - maybe a flag or extra parameter can be introduced so a reset is - not - triggered if not desired. - - I have checked in a ton of Xcode fixes for the entire build - process in - general so once this piece gets checked in, hopefully everything - will - build cleanly." - -2007-06-08 10:11 robert - - * include/osgIntrospection/ReflectionMacros, - include/osgIntrospection/Reflector, - include/osgIntrospection/Type: From Mike Wittman, "This change to - genwrapper and osgIntrospection gives access to - the declaring file for a given type via the new member function - osgIntrospection::Type::getDeclaringFile. This information is - useful - in order to know what header to include when auto-generating - wrappers - for a given type. - - During the C# wrapper generator development I've been keeping the - declaring file configuration state up-to-date manually with - changes - to OSG, and it's proven to require substantial effort. So it - would be - extremely valuable to get this change in before 2.0 to reduce - maintenance - during the lifetime of the release. It'll also be equally useful - to - others looking to create wrapper generators using - osgIntrospection. - - This is a fairly simple change and was tested with a fresh - rebuild of the - entire suite of osgWrapper libraries, so it should be relatively - low risk - (fingers crossed)." - -2007-06-08 09:45 robert - - * examples/osgviewerGLUT/osgviewerGLUT.cpp: Added clean up of the - view before destruction of the window - -2007-06-08 09:17 robert - - * include/osgUtil/IntersectionVisitor: Added const get*Matrix() - methods - -2007-06-08 05:03 ewing - - * Xcode/OpenSceneGraph/os-Info.plist, - Xcode/OpenSceneGraph/osg-Info.plist, - Xcode/OpenSceneGraph/osgDB-Info.plist, - Xcode/OpenSceneGraph/osgFX-Info.plist, - Xcode/OpenSceneGraph/osgGA-Info.plist, - Xcode/OpenSceneGraph/osgGL2-Info.plist, - Xcode/OpenSceneGraph/osgGLUTkeyboardmouse-Info.plist, - Xcode/OpenSceneGraph/osgGLUTsimple-Info.plist, - Xcode/OpenSceneGraph/osgManipulator-Info.plist, - Xcode/OpenSceneGraph/osgParticle-Info.plist, - Xcode/OpenSceneGraph/osgShadow-Info.plist, - Xcode/OpenSceneGraph/osgSim-Info.plist, - Xcode/OpenSceneGraph/osgTerrain-Info.plist, - Xcode/OpenSceneGraph/osgText-Info.plist, - Xcode/OpenSceneGraph/osgUtil-Info.plist, - Xcode/OpenSceneGraph/osgViewer-Info.plist, - Xcode/OpenSceneGraph/osganimate-Info.plist, - Xcode/OpenSceneGraph/osgarchive-Info.plist, - Xcode/OpenSceneGraph/osgautotransform-Info.plist, - Xcode/OpenSceneGraph/osgbillboard-Info.plist, - Xcode/OpenSceneGraph/osgblendequation-Info.plist, - Xcode/OpenSceneGraph/osgcallback-Info.plist, - Xcode/OpenSceneGraph/osgcamera-Info.plist, - Xcode/OpenSceneGraph/osgcameragroup-Info.plist, - Xcode/OpenSceneGraph/osgcatch-Info.plist, - Xcode/OpenSceneGraph/osgclip-Info.plist, - Xcode/OpenSceneGraph/osgcluster-Info.plist, - Xcode/OpenSceneGraph/osgconv-Info.plist, - Xcode/OpenSceneGraph/osgcopy-Info.plist, - Xcode/OpenSceneGraph/osgcubemap-Info.plist, - Xcode/OpenSceneGraph/osgdb_freetype-Info.plist, - Xcode/OpenSceneGraph/osgdb_freetype2-Info.plist, - Xcode/OpenSceneGraph/osgdb_osgText-Info.plist, - Xcode/OpenSceneGraph/osgdelaunay-Info.plist, - Xcode/OpenSceneGraph/osgdepthpartition-Info.plist, - Xcode/OpenSceneGraph/osgdepthshadow-Info.plist, - Xcode/OpenSceneGraph/osgdistortion-Info.plist, - Xcode/OpenSceneGraph/osgfadetext-Info.plist, - Xcode/OpenSceneGraph/osgforest-Info.plist, - Xcode/OpenSceneGraph/osgfxbrowser-Info.plist, - Xcode/OpenSceneGraph/osggeometry-Info.plist, - Xcode/OpenSceneGraph/osghangglide-Info.plist, - Xcode/OpenSceneGraph/osghud-Info.plist, - Xcode/OpenSceneGraph/osgimposter-Info.plist, - Xcode/OpenSceneGraph/osgintrospection-Info.plist, - Xcode/OpenSceneGraph/osgkeyboard-Info.plist, - Xcode/OpenSceneGraph/osgkeyboardmouse-Info.plist, - Xcode/OpenSceneGraph/osglauncher-Info.plist, - Xcode/OpenSceneGraph/osglightpoint-Info.plist, - Xcode/OpenSceneGraph/osglist-Info.plist, - Xcode/OpenSceneGraph/osglogicop-Info.plist, - Xcode/OpenSceneGraph/osglogo-Info.plist, - Xcode/OpenSceneGraph/osgmanipulatorexample-Info.plist, - Xcode/OpenSceneGraph/osgmotionblur-Info.plist, - Xcode/OpenSceneGraph/osgmovie-Info.plist, - Xcode/OpenSceneGraph/osgmultitexture-Info.plist, - Xcode/OpenSceneGraph/osgocculder-Info.plist, - Xcode/OpenSceneGraph/osgpagedlod-Info.plist, - Xcode/OpenSceneGraph/osgparametric-Info.plist, - Xcode/OpenSceneGraph/osgparticleExample-Info.plist, - Xcode/OpenSceneGraph/osgparticleeffects-Info.plist, - Xcode/OpenSceneGraph/osgphotoalbum-Info.plist, - Xcode/OpenSceneGraph/osgpick-Info.plist, - Xcode/OpenSceneGraph/osgplanets-Info.plist, - Xcode/OpenSceneGraph/osgpoints-Info.plist, - Xcode/OpenSceneGraph/osgpointsprite-Info.plist, - Xcode/OpenSceneGraph/osgprecipitation-Info.plist, - Xcode/OpenSceneGraph/osgprerender-Info.plist, - Xcode/OpenSceneGraph/osgprerendercubemap-Info.plist, - Xcode/OpenSceneGraph/osgreflect-Info.plist, - Xcode/OpenSceneGraph/osgscalarbar-Info.plist, - Xcode/OpenSceneGraph/osgscribe-Info.plist, - Xcode/OpenSceneGraph/osgsequence-Info.plist, - Xcode/OpenSceneGraph/osgshaders-Info.plist, - Xcode/OpenSceneGraph/osgshaderterrain-Info.plist, - Xcode/OpenSceneGraph/osgshadowexample-Info.plist, - Xcode/OpenSceneGraph/osgshadowtexture-Info.plist, - Xcode/OpenSceneGraph/osgshape-Info.plist, - Xcode/OpenSceneGraph/osgsimplifier-Info.plist, - Xcode/OpenSceneGraph/osgsimulation-Info.plist, - Xcode/OpenSceneGraph/osgslice-Info.plist, - Xcode/OpenSceneGraph/osgslideshow-Info.plist, - Xcode/OpenSceneGraph/osgspacewarp-Info.plist, - Xcode/OpenSceneGraph/osgspheresegment-Info.plist, - Xcode/OpenSceneGraph/osgspotlight-Info.plist, - Xcode/OpenSceneGraph/osgstereoimage-Info.plist, - Xcode/OpenSceneGraph/osgteapot-Info.plist, - Xcode/OpenSceneGraph/osgtessellate-Info.plist, - Xcode/OpenSceneGraph/osgtextexample-Info.plist, - Xcode/OpenSceneGraph/osgtexture1D-Info.plist, - Xcode/OpenSceneGraph/osgtexture2D-Info.plist, - Xcode/OpenSceneGraph/osgtexture3D-Info.plist, - Xcode/OpenSceneGraph/osgtexturerectangle-Info.plist, - Xcode/OpenSceneGraph/osgunittests-Info.plist, - Xcode/OpenSceneGraph/osgversion-Info.plist, - Xcode/OpenSceneGraph/osgvertexprogram-Info.plist, - Xcode/OpenSceneGraph/osgviewerApplication-Info.plist, - Xcode/OpenSceneGraph/osgvolume-Info.plist, - Xcode/OpenSceneGraph/osgwindows-Info.plist: Changed the version - to 2.0.0 in the Info.plist in anticipation of the official - release. - I don't know what the OpenThreads version number will be, so that - has been left alone. - -2007-06-08 04:57 ewing - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/OpenThreads-Info.plist: Lots of various - fixes to Xcode project. - - - Adding missing header files and making sure they are marked - public. - - - Support to copy headers in Viewer/api into the proper location - in framework - - - Internalized OpenThreads build so cross-project dependency is - not needed. Can now delete copy of OpenThreads project. - Frameworks use native Xcode linking mechanism. Plugins/Examples - still use explicit -framework OpenThreads. Could potentially be - problem is old OpenThreads is on the system. This can be changed - to use native mechanism too, but requires some patience because - it is tedious to change. - - - Lots of fixes to osgViewerCocoa (something got messed up pretty - badly...files are missing from repo). Another submission will - need to readd these files back. - -2007-06-07 21:43 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - Stephan Huber: fixed deploy-build for osgViewer - -2007-06-07 21:07 robert - - * src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers - -2007-06-07 20:26 robert - - * include/osgViewer/ViewerEventHandlers, - src/osgViewer/StatsHandler.cpp, src/osgViewer/Viewer.cpp: - Commented out the Scene Stats entry as its not implemented yet. - -2007-06-07 20:22 robert - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - examples/osgviewerCocoa/English.lproj, - examples/osgviewerCocoa/ViewerCocoa.mm: From Martin Lavery, - StatsHandler added to the ViewerCocoa example - -2007-06-07 13:49 robert - - * examples/osgviewerCocoa/English.lproj/MainMenu.nib/info.nib, - examples/osgviewerCocoa/English.lproj/MainMenu.nib/keyedobjects.nib: - From Martin Lavery, update of *.nib files - -2007-06-07 13:48 robert - - * examples/osgviewerCocoa/English.lproj/MainMenu.nib/classes.nib, - examples/osgviewerCocoa/English.lproj/MainMenu.nib/info.nib, - examples/osgviewerCocoa/English.lproj/MainMenu.nib/keyedobjects.nib: - From Martin Lavery, update of *.nib files - -2007-06-07 13:44 robert +The number 0 just indicates a default device number in ffmpeg. - * examples/osgviewerCocoa/English.lproj/MainMenu.nib: From Martin - Lavery, update of *.nib files +I think this can work under Linux, too, and should be a bit better than comparing the filename with a '/dev/' string. Just type: -2007-06-07 13:31 robert +./osgmovie /dev/yourcam -e ffmpeg -O "format=video4linux2 frame_rate=30 size=320x240"" - * examples/osgviewerCocoa/English.lproj/MainMenu.nib/keyedobjects.nib: - From Martin Lavery, update of *.nib files -2007-06-07 13:25 robert - * examples/osgviewerCocoa/English.lproj/MainMenu.nib/classes.nib, - examples/osgviewerCocoa/English.lproj/MainMenu.nib/info.nib: From - Martin Lavery, update of *.nib files +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" -2007-06-07 12:55 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: - * examples/osgviewerCocoa/ViewerCocoa.h, - examples/osgviewerCocoa/ViewerCocoa.mm: From Martin Lavery, port - of ViewerCocoa and updates to Xcode projects +- 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. -2007-06-07 12:47 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. - * examples/osgviewerCocoa/SimpleViewerCocoa.h, - examples/osgviewerCocoa/SimpleViewerCocoa.mm: Removed the old - SimpleView version of the Cocoa example +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. -2007-06-07 12:46 robert +Along the way I cleaned up the existing code a bit: - * examples/osgviewerCocoa/SimpleViewer, - examples/osgviewerCocoa/SimpleViewer.cpp: Removed now not need - SimpleViewer +* 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(). -2007-06-07 12:23 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. - * src/osgGA/DriveManipulator.cpp, src/osgGA/FlightManipulator.cpp, - src/osgGA/TrackballManipulator.cpp, src/osgGA/UFOManipulator.cpp: - Added automatic stopping of animation when home() is called +* 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. -2007-06-07 12:05 robert +" - * src/osgPlugins/pfb/CMakeLists.txt: From Per Fahlberg, "To get the - pfb (Performer) plugin to compile I had to remove some of the - libraries listed under TARGET_EXTERNAL_LIBRARIES. - The removed libraries are not needed when linking the plugin, - they are - loaded during runtime by Performer. - The modified file is attached." -2007-06-07 11:19 robert - * include/osgDB/Registry, src/osgDB/Registry.cpp: Introduced a - destruct method to help clean up the Registry. +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. " -2007-06-07 11:06 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 - * src/osg/Matrix_implementation.cpp: Revert the signOrZero cade - path in the getRotate() to fix bugs. +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. +" -2007-06-07 11:05 robert - * examples/osgunittests/UnitTests_osg.cpp, - examples/osgunittests/osgunittests.cpp: Added support for using - quat_scaled sx sy sz for testing getting quats from scaled - matrices. Removed broken Matrixd/quat test -2007-06-07 09:58 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." - * include/osgViewer/View, src/osgViewer/View.cpp, - src/osgWrappers/osgViewer/View.cpp: Added View::home() method and - updated wrappers +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. -2007-06-07 09:24 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. " - * src/osgWrappers/osgViewer/HelpHandler.cpp, - src/osgWrappers/osgViewer/StatsHandler.cpp: Removed redundent - files +Tue, 2 Nov 2010 11:27:38 +0000 +Checked in by : Robert Osfield +Fixed function name -2007-06-07 08:52 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. +" - * src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers -2007-06-06 21:57 robert - * AUTHORS.txt, ChangeLog, README.txt: Updated ChangeLog, AUTHORES - and README to 1.9.8 release +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. -2007-06-06 21:43 robert +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." - * CMakeLists.txt, include/osg/Version, src/osgSim/OverlayNode.cpp: - Updated version numbers for release +Mon, 1 Nov 2010 17:02:48 +0000 +Checked in by : Robert Osfield +From Sukender, fix for incorrect for loop test. -2007-06-06 17:01 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. - * src/osgViewer/Viewer.cpp: Revert the setting of SingleThreaded - under Windows in suggestBestThreadingModel() +- I fixed makeFrustum to accept infinite zFar. (Some graphics techniques like shadow volumes require placing zFar to infinity to avoid visual artifacts.)" -2007-06-06 16:27 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. - * examples/osgshadow/osgshadow.cpp: Added #include -2007-06-06 16:23 robert - * examples/osgparametric/osgparametric.cpp, - examples/osgshadow/osgshadow.cpp, - examples/osgterrain/osgterrain.cpp, - examples/osgviewerFLTK/osgviewerFLTK.cpp, - examples/osgviewerGLUT/osgviewerGLUT.cpp, - examples/osgviewerMFC/MFC_OSG.h, - examples/osgviewerQT/osgviewerQT.cpp, - examples/osgviewerSDL/osgviewerSDL.cpp, - examples/osgviewerWX/osgviewerWX.cpp: Fixed includes +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. -2007-06-06 15:22 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. - * CMakeLists.txt, CMakeModules/FindZLIB.cmake: From Ulrich - Hertlein, "on my MacOS X/cmake setup the zlib plugin isn't built - by default. This may be because zlib.h is - installed in /opt/local/include on my system (courtesy of - DarwinPorts). I've added a CMakeModule to - look for zlib.h and the library in various places. The files are - attached." +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. " -2007-06-06 14:51 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. - * src/osgViewer/HelpHandler.cpp, src/osgViewer/StatsHandler.cpp: - Fixed includes +I attached modified osgManipulator/Dragger.cpp file, where added code for finding last absolute +camera. With this changes draggers works in HUD. -2007-06-06 13:45 robert +Example for demonstrate this problem you can find in osg-users list [1]. - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - examples/osgviewerCocoa/SimpleViewer.cpp, - examples/osgviewerCocoa/SimpleViewerCocoa.mm: From Martin Lavery, - Updates to Xcode project +Mikhail. -2007-06-06 11:34 robert +[1] http://thread.gmane.org/gmane.comp.graphics.openscenegraph.user/62636 +" - * src/osgPlugins/ac/Geode.cpp, src/osgPlugins/ac/Geode.h, - src/osgPlugins/ac/ac3d.cpp: From Roger James, "These fix a couple - of problems in the ac3d writer. - - 1. Number of child node of the world object set incorrectly in - when scene contains shape drawables. - - 2. Incorrect handling of line primitives." -2007-06-06 11:28 robert - * include/osgViewer/api/Win32/GraphicsWindowWin32, - src/osgViewer/GraphicsWindowWin32.cpp: From Olaf Flebbe, "an - implementation of GraphicsWindow::setCursor for WIN32." +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." -2007-06-06 11:21 robert +Fri, 29 Oct 2010 09:35:54 +0000 +Checked in by : Robert Osfield - * applications/osgviewer/osgviewer.cpp, - examples/osgdistortion/osgdistortion.cpp, - examples/osgsimulation/osgsimulation.cpp, - examples/osgstaticviewer/osgstaticviewer.cpp, - include/osgViewer/HelpHandler, include/osgViewer/StatsHandler, - include/osgViewer/ViewerEventHandlers, - src/osgViewer/CMakeLists.txt: Moved HelpHandler and StatsHandler - classes into ViewerEventHandlers header, removed HelpHandler and - StatsHandler headers -2007-06-06 11:10 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 - * src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/SimpleViewer.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Updated wrappers +Fri, 29 Oct 2010 08:31:54 +0000 +Checked in by : Robert Osfield +Fixed warning -2007-06-06 10:58 robert +Thu, 28 Oct 2010 15:52:52 +0000 +Checked in by : Robert Osfield +Commented out unused ElapsedTimer - * examples/osgviewerCocoa/SimpleViewer, - examples/osgviewerCocoa/SimpleViewer.cpp, - include/osgViewer/SimpleViewer, src/osgViewer/SimpleViewer.cpp: - Moved SimpleViewer from osgViewer into the osgviewerCocoa example - directory as this - is the only place in the OSG that now relies upon SimpleViewer. +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. -2007-06-06 10:57 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. - * applications/osgviewer/osgviewer.cpp, - include/osgViewer/CompositeViewer, include/osgViewer/Viewer, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Added support for passing in ArgumentParser in Viewer and - CompositeViewer constructor +Thu, 28 Oct 2010 14:01:47 +0000 +Checked in by : Robert Osfield +Added handling of vertex buffer objects into osg::Geometry copy constructor. -2007-06-06 08:59 robert +Thu, 28 Oct 2010 14:01:10 +0000 +Checked in by : Robert Osfield +Improved code style consistency - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/osgcompositeviewer-Info.plist, - Xcode/OpenSceneGraph/osgmultiplecameras-Info.plist, - Xcode/OpenSceneGraph/osgsimple-Info.plist, - Xcode/OpenSceneGraph/osgsimplepager-Info.plist, - Xcode/OpenSceneGraph/osgsimpleviewerGLUT-Info.plist, - Xcode/OpenSceneGraph/osgsimpleviewerSDL-Info.plist, - Xcode/OpenSceneGraph/osgviewerGLUT-Info.plist, - Xcode/OpenSceneGraph/osgviewerSDL-Info.plist: From Marin Lavery - and Robert Osfield, XCode build fixes +Thu, 28 Oct 2010 14:00:25 +0000 +Checked in by : Robert Osfield +Quitened down debug messages -2007-06-05 20:42 robert +Wed, 27 Oct 2010 13:49:16 +0000 +Checked in by : Robert Osfield +Fixed getEnableDepthWrites() naming. - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Martin Lavery, XCode build fixes +Tue, 26 Oct 2010 14:59:12 +0000 +Checked in by : Robert Osfield +Added command line options:--tristripper +--no-tristripper +--smoother +--no-smoother -2007-06-05 19:44 robert +--remove-duplicate-vertices / --rdv +--optimize-vertex-cache / --ovc +--optimize-vertex-order / --ovo - * examples/CMakeLists.txt, - examples/osgcompositeviewer/CMakeLists.txt, - examples/osgcompositeviewer/osgcompositeviewer.cpp, - examples/osgcompositeviewer/osgmultiplecameras.cpp: Renamed - osgmultiplecameras to osgcompositeviewer -2007-06-05 19:41 robert - * examples/osgcompositeviewer, examples/osgmultiplecameras: Renamed - osgmultiplecamrea to osgcompositeviewer -2007-06-05 19:40 robert +Mon, 25 Oct 2010 13:42:01 +0000 +Checked in by : Robert Osfield +Added number of primitive sets to on screen stats - * examples/osgviewerFLTK/osgviewerFLTK.cpp: Added CompositeViewer - support into FLTK example +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. -2007-06-05 19:36 shuber - * Xcode/OpenThreads/OpenThreads.xcodeproj/project.pbxproj: from - Stephan Huber: fixed build path for OpenThreads, so osg builds - cleanly -2007-06-05 19:10 robert +Fri, 22 Oct 2010 16:44:52 +0000 +Checked in by : Robert Osfield +Added StateSetManipulator usage - * examples/osgviewerQT/osgviewerQT.cpp: Added support for - CompositeViewer +Fri, 22 Oct 2010 16:35:28 +0000 +Checked in by : Robert Osfield +Added support for enable VBO's and doing simplification. -2007-06-05 17:19 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 - * README.txt: Improved the wording of CMake instructions +Fri, 22 Oct 2010 12:19:22 +0000 +Checked in by : Robert Osfield +Added paging support to osganalysis example -2007-06-05 17:18 robert +Thu, 21 Oct 2010 16:29:23 +0000 +Checked in by : Robert Osfield +Integrated IncementalCompileOperation into DatabasePager.Improved various facilities in IncrementalCompileOperation. - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Martin Lavery, build fixes fo latest file additions -2007-06-05 14:37 robert - * include/osgManipulator/Dragger, - src/osgWrappers/osgManipulator/Dragger.cpp: Change interator to - const_iterator to try and avoid Solaris build failure +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. -2007-06-05 11:18 robert +Thu, 14 Oct 2010 18:16:03 +0000 +Checked in by : Robert Osfield +Introduction of IncrementalCompileOperation support to DatabasePager. - * src/osgPlugins/OpenFlight/AttrData.h, - src/osgPlugins/OpenFlight/PaletteRecords.cpp: From Per Fahlberg, - "added use of the internal format specified in the OpenFlight - format attr files." +Thu, 14 Oct 2010 13:35:36 +0000 +Checked in by : Robert Osfield +Introduced SubloadCallback::generatdTextureObject() method. -2007-06-05 08:46 robert +Thu, 14 Oct 2010 12:20:51 +0000 +Checked in by : Robert Osfield +From Wang Rui, warning fix. - * include/osgManipulator/Dragger: Removed const to try and avoid - Sun compiler error +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 -2007-06-05 08:30 robert +Thu, 14 Oct 2010 09:31:09 +0000 +Checked in by : Robert Osfield +From Wang Rui, QT based OpenThreads implementation - * include/osg/StateAttribute: Removed redundent comma +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. -2007-06-04 21:32 robert - * README.txt: Updated READEME -2007-06-04 21:31 robert - * AUTHORS.txt, ChangeLog, applications/osgversion/osgversion.cpp: - Updated ChangeLog and AUTHORS.txt for 1.9.7 release +Sat, 9 Oct 2010 11:51:24 +0000 +Checked in by : Robert Osfield +Changed the _ARB cube map defines to non ARB versions. -2007-06-04 21:02 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 - * CMakeLists.txt, CMakeModules/OsgMacroUtils.cmake: Introduce - OSG_BUILD_APPLICATION_BUNDLES option for OSX, defaulting to OFF. +Fri, 8 Oct 2010 18:53:16 +0000 +Checked in by : Robert Osfield +Tempory fix for regression due to remove of glPushAttrib/glPopAttrib -2007-06-04 20:32 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. - * README.txt, src/osgPlugins/dae/README.txt: From Jeremy Moles and - Rbert Osfeild, added extra details about CMake build options. +Fri, 8 Oct 2010 17:13:59 +0000 +Checked in by : Robert Osfield +Build fixes for GLES1, GLES2 and GL3 -2007-06-04 19:33 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. - * examples/osgfxbrowser/osgfxbrowser.cpp: Removed setting of font - resolutions and added control of threading, with the default - theading set to SingleThreading to avoid crashes associated with - non thread safe - sections of osgFX - the need to be fixed!!! +Thu, 7 Oct 2010 11:53:28 +0000 +Checked in by : Robert Osfield +Introduced osg namespace to new local GLU functions -2007-06-04 17:11 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. - * examples/osgstereoimage/osgstereoimage.cpp: Added control of - threading model, setting default to SingleThreaded to avoid crash - associated with mixing useCursor(false) and multi-threading. +Wed, 6 Oct 2010 19:09:48 +0000 +Checked in by : Robert Osfield +Added #define GL_PROXY_TEXTURE_3D -2007-06-04 16:20 robert +Wed, 6 Oct 2010 18:51:53 +0000 +Checked in by : Robert Osfield +Fixed warning - * CMakeLists.txt, include/osg/Version: Updated version for 1.9.7 - release +Wed, 6 Oct 2010 18:37:43 +0000 +Checked in by : Robert Osfield +Changed tabs to 8 spaces -2007-06-04 15:11 robert +Wed, 6 Oct 2010 18:34:36 +0000 +Checked in by : Robert Osfield +From Jean-Sebastien Guay and Robert Osfield, build fix for Windows - * examples/osgviewerQT/osgviewerQT.cpp: Fixed stray control - character +Wed, 6 Oct 2010 18:29:23 +0000 +Checked in by : Robert Osfield +Added #define for Windows build -2007-06-04 15:05 robert +Wed, 6 Oct 2010 17:19:01 +0000 +Checked in by : Robert Osfield +Added #define GLAPIENTRY to attempt to resolve some Windows build issues - * src/osgViewer/GraphicsWindowCarbon.cpp: Warning fix +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 -2007-06-04 14:47 robert +Wed, 6 Oct 2010 16:29:16 +0000 +Checked in by : Robert Osfield +From Jean-Sebasien Guay, fix windows compile error - * examples/osgviewerQT/osgviewerQT.cpp: Cleaned up example +Wed, 6 Oct 2010 15:33:43 +0000 +Checked in by : Robert Osfield +Removed gluois.h reference -2007-06-04 14:46 robert +Wed, 6 Oct 2010 15:14:01 +0000 +Checked in by : Robert Osfield +Removed usage gluos.h and redundent gluint.h - * examples/osgviewerFLTK/osgviewerFLTK.cpp: From Martin Lavery and - Robert Osfield, ported fltk example to osgViewer::Viewer +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. -2007-06-04 13:45 robert - * CMakeModules/FindFLTK.cmake, - examples/osgviewerFLTK/CMakeLists.txt: Added local FindFLTK.cmake - to avoid problems with FLTK no being found by standard - CMake FindFLTK.cmake. -2007-06-04 11:47 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. - * src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeReader.cpp, src/osgPlugins/dae/daeReader.h: - From Roger James, "Here are my fixes for transparency in the - Collada DAE reader." -2007-06-04 11:14 robert - * src/osgViewer/GraphicsWindowCarbon.cpp: From Martin Lavery and - Robert Osfield, added use of hardwarded value kCGLCEMPEngine - to fix build failure on slightly older versions of OSX. -2007-06-04 10:56 robert +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." - * src/osgWrappers/osg/Hint.cpp, - src/osgWrappers/osg/StateAttribute.cpp: Updated wrappers +Mon, 4 Oct 2010 11:24:54 +0000 +Checked in by : Robert Osfield +Added glMultMatrixf path for GLES1 -2007-06-04 10:47 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 - * include/osg/Hint, include/osg/StateAttribute, - src/osg/CMakeLists.txt, src/osg/Hint.cpp: Added osg::Hint class +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. -2007-06-04 08:38 robert +Env Vars: + OSG_SWAP_METHOD = DEFAULT | COPY | EXCHANGE +or Command Line: + --swap-method DEFAULT | COPY | EXCHANGE - * examples/osgshadow/osgshadow.cpp, - examples/osgshadowtexture/osgshadowtexture.cpp, - include/osgShadow/ShadowedScene, src/osgShadow/ShadowTexture.cpp, - src/osgShadow/ShadowedScene.cpp, - src/osgWrappers/osgShadow/ShadowedScene.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Fixed spelling of Receives +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. -2007-06-03 10:00 robert +Changes were made against today trunk. - * include/osgViewer/Viewer, - src/osgWrappers/osgViewer/GraphicsWindow.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Updated wrappers +PS. I tested only Windows code. I briefly checked X11 & Cocoa files but have not noticed SwapMethod to be used there. +" -2007-06-03 09:34 robert - * examples/osgviewerGLUT/osgviewerGLUT.cpp, - examples/osgviewerSDL/osgviewerSDL.cpp, include/osgViewer/Viewer, - src/osgViewer/Viewer.cpp: Added - Viewer::setUpViewerAsEmbeddedInWindow convinience method -2007-06-03 09:11 robert +Fri, 1 Oct 2010 17:07:27 +0000 +Checked in by : Robert Osfield - * examples/CMakeLists.txt, examples/osgsimple: Removed osgsimple - example -2007-06-03 09:09 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." - * examples/CMakeLists.txt, examples/osgviewerQT, - examples/osgviewerQT/CMakeLists.txt, - examples/osgviewerQT/osgsimpleviewerQT3.cpp, - examples/osgviewerQT/osgviewerQT.cpp, examples/osgviewerQT3, - examples/osgviewerQT4: Merged the osgviewerQT3 and QT4 examples - into a single osgviewerQT example, and - ported across from SimpleViewer to using Viewer +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. " -2007-06-03 08:58 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". " - * examples/osgviewerFLTK/CMakeLists.txt: Changed external library - specication +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." -2007-06-02 16:23 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." - * examples/osgkeyboardmouse/osgkeyboardmouse.cpp: Ported across - from SimpleViewer to using Viewer +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 -2007-06-02 16:01 robert +Thu, 30 Sep 2010 09:40:48 +0000 +Checked in by : Robert Osfield +From Stephan Huber, fixed build under OSX 10.5. - * examples/osgviewerQT3/CMakeLists.txt, - examples/osgviewerQT3/osgviewerQT3.cpp: Ported QT3 example across - to use osgViewer::Viewer, and made it possible to use the same - source for both QT3 and QT4 - -2007-06-02 15:31 robert - - * examples/osgviewerGLUT/osgviewerGLUT.cpp, - examples/osgviewerSDL/osgviewerSDL.cpp, - examples/osgviewerWX/osgviewerWX.cpp, - examples/osgviewerWX/osgviewerWX.h, - include/osgViewer/GraphicsWindow: Added - osgViewer::GraphicsWindowEmbedded and ported GLUT, SDL and WX - examples across from SimpleViewer to Viewer. - -2007-06-02 12:03 robert - - * examples/osgviewerGLUT/osgviewerGLUT.cpp: Ported GLUT example to - using osgViewer::Viewer rather than SimpleViewer by using - a local GraphicsWindowEmbedded class to help the adaption. - -2007-06-01 22:41 robert - - * examples/osgviewerFLTK/CMakeLists.txt, - examples/osgviewerFLTK/osgsimpleviewerFLTK.cpp, - examples/osgviewerFLTK/osgviewerFLTK.cpp, - examples/osgviewerGLUT/CMakeLists.txt, - examples/osgviewerGLUT/osgsimpleviewerGLUT.cpp, - examples/osgviewerGLUT/osgviewerGLUT.cpp, - examples/osgviewerQT3/CMakeLists.txt, - examples/osgviewerQT3/osgsimpleviewerQT3.cpp, - examples/osgviewerQT3/osgviewerQT3.cpp, - examples/osgviewerQT4/CMakeLists.txt, - examples/osgviewerQT4/osgsimpleviewerQT4.cpp, - examples/osgviewerQT4/osgviewerQT4.cpp, - examples/osgviewerSDL/CMakeLists.txt, - examples/osgviewerSDL/osgsimpleviewerSDL.cpp, - examples/osgviewerSDL/osgviewerSDL.cpp, - examples/osgviewerWX/CMakeLists.txt, - examples/osgviewerWX/osgsimpleviewerWX.cpp, - examples/osgviewerWX/osgsimpleviewerWX.h, - examples/osgviewerWX/osgviewerWX.cpp, - examples/osgviewerWX/osgviewerWX.h: Renamed all osgsimpleviewer* - files to osgviewer* - -2007-06-01 22:33 robert - - * examples/CMakeLists.txt, examples/osgGLUTkeyboardmouse, - examples/osgGLUTsimple, examples/osgsimpleviewerCocoa, - examples/osgsimpleviewerFLTK, examples/osgsimpleviewerGLUT, - examples/osgsimpleviewerQT3, examples/osgsimpleviewerQT4, - examples/osgsimpleviewerSDL, examples/osgsimpleviewerWX, - examples/osgviewerCocoa, examples/osgviewerFLTK, - examples/osgviewerGLUT, examples/osgviewerQT3, - examples/osgviewerQT4, examples/osgviewerSDL, - examples/osgviewerWX: Renamed osgsimpleviewer* examples to - osgviewer* in prep for replacement of SimpleViewer by Viewer - -2007-06-01 22:28 robert - - * src/osgWrappers/osgTerrain/Locator.cpp: updated wrapper - -2007-06-01 21:38 robert - - * examples/osgunittests/osgunittests.cpp: From J.P Delport, - "attached find an updated osgunittests.cpp that allows for the - testing of - the matrix.getRotate() function when a matrix contains a scale as - well - as a rotation. - - The scale can optionally be switched off, see the top of - testQuatFromMatrix(). - - As expected, all the current methods for mat to quat conversion - fail - these new tests. When the scale is omitted, mk2 of getRotate with - sign - instead of signOrZero passes, as well as mk1. - " - -2007-06-01 21:33 robert - - * include/osgTerrain/Locator, src/osgTerrain/Locator.cpp: From - Maria Ten, "The constructor method of the EllipsoidLocator of - osgTerrain assumes - that the terrain is always the Earth planet. I changed the - constructor - method to accept the Equator radius and the Polar radius like - parameters. By default, it assumes the Earth radius for the - EllipsoidLocator. I added a setEllipsoidModel method, too. - - Now, we are developing some libraries for a GIS applicacion, and - our - libraries can visualize terrains of planets like Mars. I think - that is - a interesting change." - -2007-06-01 21:28 robert - - * examples/osgviewerMFC/CMakeLists.txt, - examples/osgviewerMFC/MFC_OSG.cpp, - examples/osgviewerMFC/MFC_OSG.h, - examples/osgviewerMFC/MFC_OSG_MDIView.cpp: From Michael Hartman, - "CMakeLists.txt: - - Changed this back to setup_example since WIN32 flag is now - supported. - - - - MFC_OSG.h: - - Added flag to indicate when the rendering thread has exited. - - - - MFC_OSG.cpp: - - Code modifications to support rendering flag thread exit. - - - - MFC_OSG_MDIView.cpp: - - Change to OnDestroy function to wait until we get render thread - exit flag is true before we close the window. - - - - - - Main Exit Process: - - User presses escape button - - Viewer captures escape button and stops threading etc. - - Viewer sets Done when shutdown is complete - - MFC Render Thread monitors viewer->done for true - - MFC Render Thread exits while loop and sets MFC Done flag - - MFC View Window monitors MFC Done flag and then closes/destroys - the window - - " - -2007-06-01 19:53 robert - - * src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/ImageStream.cpp, - src/osgWrappers/osgViewer/GraphicsWindow.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers - -2007-06-01 19:45 robert - - * include/osg/Camera, src/osg/Camera.cpp, - src/osgUtil/RenderStage.cpp: From Wojciech Lewandowski, "I did - few tests to see whether adding PreDraw callback would help us - with SPI problems when using Viewer. Results were positive so I - decided to give it a try and ask you to verify and maybe merge - with existing codebase. - - I added _preDrawCallback member and neccessary access methods - plus modified osgUtil RenderStage.cpp to invoke it before all - drawInner calls are made. I tried to maintain symmetry with - postDrawCallback but you know better where is a proper place for - this call ;-) - " - -2007-06-01 19:44 robert - - * include/osgSim/OverlayNode: Updates to OverlayData - -2007-06-01 19:43 robert - - * include/osgViewer/GraphicsWindow, - include/osgViewer/api/X11/GraphicsWindowX11, - src/osgViewer/GraphicsWindowX11.cpp: From Mathias Froelich, "have - done an interface to change the mouse cursor in the X11 graphics - window. - The win32 implementation is still in its original shape since I - have no win32 - implementation available. - - I have chosen the enum approach for the first cut. That is - benefitial since - the user does not need to track creation of mouse cursors for - different - windows and displays in presence of multiple viewer windows. - - The default set of available mouse shapes is the same set that - was available - with glut. That set served many OpenGL applications well, so the - hope is that - this is enough. - - Even though, that implementation is still extensible: - I have digged out the way SDL defines new mouse cursors and added - a still - documented out function prototype in the GraphicsWindow that can - be used to - extend the current implemtation for arbitrary mouse shapes. That - is not - implemented yet. - - I hope that somebody with a win32 test system can catch up that - implementation - on win32." - -2007-06-01 19:21 robert - - * examples/osganimate/osganimate.cpp: Removed setViewUpOnScreen - settings - -2007-06-01 19:19 robert - - * include/osg/ImageStream, - src/osgPlugins/quicktime/QuicktimeImageStream.cpp: From Stephan - Huber, "attached you'll find the modified ImageStream - and a small fix for QuicktimeImageStream to disable debug-logging - :)" - -2007-06-01 19:10 robert - - * include/osgTerrain/ValidDataOperator: From Mike Wittman, "Just - found another issue building the C# wrappers: the osgTerrain - ValidDataOperator file uses osg::Vec2, osg::Vec3, and osg::Vec4, - but does not include their headers. The file with the relevant - includes is attached. - - " - -2007-06-01 19:01 robert - - * src/osgSim/OverlayNode.cpp: Removed the debug message for the - ortho path. - -2007-06-01 19:01 robert - - * examples/osgsimulation/osgsimulation.cpp: Improved the handling - of the -p path option - -2007-06-01 18:27 robert - - * src/osgSim/OverlayNode.cpp: Work in progress on shaders support - -2007-06-01 16:14 robert - - * include/osgViewer/ViewerEventHandlers: From Paul Martz, added - Win32 export - -2007-06-01 11:21 robert - - * examples/osgsimulation/osgsimulation.cpp: Added recording of - camera paths - -2007-06-01 10:42 robert - - * applications/osgviewer/osgviewer.cpp, - include/osgViewer/ViewerEventHandlers, - src/osgViewer/ViewerEventHandlers.cpp: Changed name of - AnimationPathHandler to RecordCameraPathHandler - -2007-06-01 10:39 robert - - * applications/osgviewer/osgviewer.cpp, - include/osgViewer/ViewerEventHandlers, - src/osgViewer/ViewerEventHandlers.cpp: From Jeremy Moles, new - event handler to record the camera path. A few small tweaks by - Robert Osfield to make it more consistent with the old - osgProducer::Viewer behavior. - -2007-05-30 17:56 robert - - * src/osgSim/OverlayNode.cpp: Improved taper ratio computation - -2007-05-30 16:36 robert - - * src/osgSim/OverlayNode.cpp: Added set up of overlay stateset - -2007-05-30 14:18 robert - - * src/osgSim/OverlayNode.cpp: Added trapezodial fitting code - -2007-05-30 09:25 robert +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." - * src/osg/GraphicsContext.cpp: Fixed case of when view==NULL -2007-05-29 18:39 ewing - * Xcode/OpenThreads/OpenThreads.xcodeproj/project.pbxproj: Stephan - Huber: Adding missing Xcode project file. +Wed, 29 Sep 2010 13:21:34 +0000 +Checked in by : Robert Osfield +Fixed Text3D's handling of character aspect ratio. -2007-05-29 14:19 shuber +Wed, 29 Sep 2010 12:45:35 +0000 +Checked in by : Robert Osfield +Moved handling of character aspect ratio into osgText::Style. - * Xcode/OpenThreads, Xcode/OpenThreads/English.lproj, - Xcode/OpenThreads/English.lproj/InfoPlist.strings, - Xcode/OpenThreads/Info.plist, - Xcode/OpenThreads/OpenThreads.xcodeproj, - Xcode/OpenThreads/OpenThreads_Prefix.pch, - Xcode/OpenThreads/version.plist: From Stephan Huber, updated - OpenThreads-XCode-project files +Wed, 29 Sep 2010 12:38:56 +0000 +Checked in by : Robert Osfield +Added command line option for writing out the scene graph to file. -2007-05-29 13:28 robert +Wed, 29 Sep 2010 11:34:55 +0000 +Checked in by : Robert Osfield +Moved set/getFont from Text/Text3D into TextBase - * examples/osgsimulation/osgsimulation.cpp: Added support for - specifying which screen number to place the window +Wed, 29 Sep 2010 11:09:32 +0000 +Checked in by : Robert Osfield +Removed getScale() parameter from osgText::Font -2007-05-29 10:31 robert +Wed, 29 Sep 2010 10:54:53 +0000 +Checked in by : Robert Osfield +Fixed type of numberical constant - * src/osgUtil/Tessellator.cpp: From Sherman Wilcox, "The issue - itself occurs when a model is tessellated - that has greater than unsigned short number of vertexes. An - object - called vertexPtrToIndexMap contains vertexes and their indexes. - This - std::map object can obviously hold a quantity that is greater - than - unsigned short, however osg::DrawElementsUShort objects were - being - created to reference these vertexes and their indexes. - osg::DrawElementsUShort can only hold indexes that are 16-bit - quantities. - - ... - - proposed_patch_2\tessellator.cpp. This solution examines the size - of - vertexPtrToIndexMap and selects 1 of 3 possible osg::DrawElements - objects: DrawElementsUByte, DrawElementsUShort, or - DrawElementsUInt. - The main drawback of this particular solution is the code - duplication. - However, the repair is straightforward." +Mon, 27 Sep 2010 17:11:12 +0000 +Checked in by : Robert Osfield +Moved Text3D across to using Style for character thickness. Quitened down debug messages in 3D text geometry creation. Improved the Text3D implementation of the new 3D text geometry. -2007-05-29 10:01 robert +Mon, 27 Sep 2010 16:18:20 +0000 +Checked in by : Robert Osfield +Added support for osgText::Style into osgText::Text3D. Refactored Text3D implementation to use new GlyphGeometry class. Implemented GlyphGeometry backend and cleaned up Glyph3D interface. - * CMakeModules/Find3rdPartyDependencies.cmake: From Olaf Flebbe, - "recently I discovered that the freetype plugin does not work, - because - CMake doesn't recognize it properly on windows. - - 1) the header detection on a directory "freetype" fails, it seems - to - need a filename: "ft2build.h" actually works. - - 2) the 3rdparty I am supplying for FlightGear contains - freetype-2.3.4. I - added the correct library naming for this particular release. - - I double-checked my directory layout with the 3rdparty supplied - by other - OSG contributors." +Mon, 27 Sep 2010 09:58:07 +0000 +Checked in by : Robert Osfield +Changed the reading of animation paths so that it's always done without using the osgDB object cache. This fixes a bug of reusing the animination path in an P3D file. -2007-05-29 09:57 robert +Sun, 26 Sep 2010 11:02:03 +0000 +Checked in by : Robert Osfield +Added include to fix compile error - * examples/osgunittests/UnitTestFramework.cpp: From Olar Flebbe, - "Visual Studio 2005 triggered a small glitch in - UnittestFramework.cpp - - Do not derefence it2 if it is at end()." +Fri, 24 Sep 2010 14:53:10 +0000 +Checked in by : Robert Osfield +From Alexander Wiebel, "I did some spell checking in my spare time. Here come 20 files." -2007-05-29 07:25 robert +Fri, 24 Sep 2010 14:40:56 +0000 +Checked in by : Robert Osfield +From Jean-Sebastien Guay, "Changeset 10833 renames discardAllDeletedGLObjects() to discardAllGLObjects() in src/osg/GLObjects.cpp, but the declaration of the function in include/osg/GLObjects remained. So an app using an old version of OSG that called this function would now fail with a linker error instead of a compile error as it should.Removed the declaration. Also fixed a small typo in the following doxygen comment." - * doc/Doxyfiles/all_Doxyfile, doc/Doxyfiles/auto_Doxyfile, - doc/Doxyfiles/auto_Mainpage, doc/Doxyfiles/core_Doxyfile: Changed - SHORT_NAMES = NO to SHORT_NAMES = YES to avoid crappy Windows - problems -2007-05-28 15:44 robert - * examples/osgspheresegment/osgspheresegment.cpp: Added --object, - --ortho and --persp OverlayNode options +Fri, 24 Sep 2010 14:38:01 +0000 +Checked in by : Robert Osfield +From Mikhail Izmestev, "This patch fixes operator >> used with std::istream without std::ios::skipws flag. This allow using boost::lexical_cast with osg vectors types, because boost's lexical_cast disable std::ios::skipws flag of std::istream before using operator >>. " -2007-05-28 15:27 robert +Fri, 24 Sep 2010 12:59:37 +0000 +Checked in by : Robert Osfield +From Eric Wing, QTKit plugin for reading movies under OSX using QTKit + CoreVideo - * src/osgSim/OverlayNode.cpp: Fixed handle on non ellipsoid models +Fri, 24 Sep 2010 12:57:55 +0000 +Checked in by : Robert Osfield +Moved Style and Bevel classes out into their own include/osgText/Style header.Introduced GlyphGeometry class for handling the geometry data for rendering 3D text -2007-05-28 15:17 robert - * examples/osganimate/osganimate.cpp: Improved the accuracy of the - overlaynode settings -2007-05-28 13:56 robert +Thu, 23 Sep 2010 16:12:05 +0000 +Checked in by : Robert Osfield +Refactored the handling of readImage/writeImage/readObject/writeObject to avoid double setting of unique ID's, fixing the problem in reading/writing files with images - * examples/osganimate/osganimate.cpp, src/osgSim/OverlayNode.cpp: - Added project down to base implementation. +Wed, 22 Sep 2010 09:50:07 +0000 +Checked in by : Robert Osfield +Added deprecated notices. -2007-05-28 10:48 robert +Tue, 21 Sep 2010 11:40:50 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and AUTHORS file for release - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS.txt for - 1.9.6 release +Tue, 21 Sep 2010 10:28:50 +0000 +Checked in by : Robert Osfield +From David Guthrie, "The cocoa version of the window for Mac OS X doesn't implement the requestWarpPointer function, but it turns out that the code from the Carbon version of the window is the same because it uses the windowing interface, so it this version, based on 2.8.3 GraphicsWindowCocoa, I copied the function over. The trunk version it also missing the function and the code looks to be very similar, so I assume it will transfer simply enough. " -2007-05-28 10:17 robert - - * CMakeLists.txt, README.txt, include/osg/Version, - include/osgViewer/Export, - src/osgWrappers/osgManipulator/Dragger.cpp: Updated version - number, wrappers and readme for release - -2007-05-28 10:14 robert - - * include/osgManipulator/CommandManager, - include/osgManipulator/Dragger, src/osgManipulator/Dragger.cpp, - src/osgManipulator/Projector.cpp: From Frauciel Luc, "Added - support for other pointers than mouses by using a nearpoint and - farpoint instead of mousex,mousey + Camera (see Dragger and - Dragger.cpp). - The major modification concern the LineProjector class in - Projector.cpp. The intersection was previously done in window - space, I've modified it to compute it in object space." - -2007-05-28 09:30 robert - - * doc/ProgrammingGuide: Removed old ProgrammingGuide as this is now - replaced by the proper Quick Start Guide. - -2007-05-27 19:35 robert - - * genwrapper.conf, include/osgDB/Registry, - src/osgWrappers/osgDB/Registry.cpp: Updated wrappers - -2007-05-27 18:18 robert - - * src/osgWrappers/osgViewer/Scene.cpp: Updated wrappers - -2007-05-27 17:29 robert - - * examples/osgcallback/osgcallback.cpp, - examples/osgspheresegment/osgspheresegment.cpp, - include/osgViewer/Scene, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/Scene.cpp, src/osgViewer/Viewer.cpp: Added camera - event callback support into osgViewer - -2007-05-27 15:24 robert - - * src/osgViewer/Scene.cpp, src/osgViewer/Viewer.cpp: Updated - calling of master camera's update callback - -2007-05-27 14:52 robert - - * src/osgViewer/Viewer.cpp: Added testing to see if camera allows - events before automatically attaching a trackball manipulator - -2007-05-27 14:49 robert - - * examples/osganimate/osganimate.cpp: Added option for using the - different overlay techniques. - -2007-05-26 16:02 robert - - * src/osgWrappers/osg/CullSettings.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgSim/OverlayNode.cpp, - src/osgWrappers/osgUtil/SceneView.cpp: Updated wrappers - -2007-05-26 15:55 robert - - * README.txt, configure: Added a basic configure script to allow - the setting of Release build by default. - -2007-05-26 15:49 robert - - * include/osg/CullSettings, include/osgUtil/SceneView, - src/osgUtil/SceneView.cpp: Fixes to help C# binding dev. - -2007-05-26 15:47 robert - - * src/osgViewer/CompositeViewer.cpp: From Blake Williams, "I - discovered why the \u2013CompositeViewer option for the osghud - example does not work. The run() function adds a camera - manipulator to each view that does not have one assigned, which - causes the view with the HUD camera to point somewhere other than - where it should. I just added a check before a new default camera - manipulator is added to ensure that the view allows event focus - before a camera manipulator is added." - - - -2007-05-26 15:42 robert - - * src/osgPlugins/OpenFlight/Document.cpp, - src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/LightPointRecords.cpp, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/OpenFlight/Pools.h, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: From Charles Cole, - "Attached are mods to the OpenFlight plug-in to help further - implement - the specification. With these mods, blink sequences are now - created for - flashing light point nodes, either palletized (v.15.8 and later) - or - non-palletized (15.7 and earlier). Thanks to Brede for his - implementation of the palletized light point nodes. - - There is still work to do on adding the capability to properly - handle - light point system nodes, but this does add some capability that - did not - previously exist. So, I wanted to at least submit this and I will - hopefully provide the additional capability in the near future. - - I've tested the code modifications with Visual Studio 2005. I - don't - have the means to test any other operating system, but I would - suspect - that there shouldn't be any issue (famous last words). I used the - test - files that I uploaded to the users forum to test the changes. - - In addition to the added capability, I changed the light point - node - radius to the "actualPixelSize" value in the file. Previously, - the - radius was set to half the actual pixel size (see - LightPointRecords.cpp). Not sure why this was the case. But, it - was - brought to my attention by a co-worker who created the OpenFlight - files - and was testing them with different viewers. If there's some - history - for setting the radius to half the size, then this change can be - omitted." - -2007-05-26 15:17 robert - - * doc/Doxyfiles/all_Doxyfile, doc/Doxyfiles/auto_Doxyfile, - doc/Doxyfiles/auto_Mainpage, doc/Doxyfiles/core_Doxyfile: Added - exclude of svn directories. - -2007-05-25 19:35 robert - - * src/osgPlugins/OpenFlight/LightPointRecords.cpp: From Charles - Cole, "he attached code - implements the LightPointSystem class to allow for the OpenFlight - plug-in to read and handle light point system nodes. The behavior - is - very similar to the old plug-in in that a MultiSwitch node is - created to - handle the "enabled" flag bit set in the node record. The code - also - reverts the changes for the actualPixelSize as mentioned above. - And - lastly, the code requires the previously submitted changes for - the - plug-in. - - As for the other changes, I've tested the code with Visual Studio - 2005 - and the files that I posted in the users forum. - - With all of the submitted changes, the OpenFlight plug-in should - now be - capable of loading files with light point system nodes and the - use of - palletized light points and non-palletized light points. - " - -2007-05-25 19:32 robert - - * examples/osgsimulation/osgsimulation.cpp: Comment out the setting - of single threading. - -2007-05-25 16:00 robert - - * include/osgSim/OverlayNode, src/osgSim/OverlayNode.cpp: Added - s/getOverlayBaseHeight methods - -2007-05-25 15:57 robert - - * src/osg/GraphicsContext.cpp: Added some debug message to the - set/getWindowSystemInterface function - -2007-05-25 15:27 robert - - * include/osgDB/Registry, src/osgPlugins/ive/ReaderWriterIVE.cpp: - Introduce C entry point support for plugin setup for better - static build support - -2007-05-25 15:26 robert - - * src/osgViewer/GraphicsWindowX11.cpp: Added C entry point - graphicswindow_X11() to help with static build support +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." -2007-05-25 15:25 robert +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. - * examples/CMakeLists.txt, examples/osgstaticviewer, - examples/osgstaticviewer/CMakeLists.txt, - examples/osgstaticviewer/osgstaticviewer.cpp: Added - osgstaticviewer example to demonstrate how to put a static lib - built viewer +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 -2007-05-25 13:15 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 - * CMakeModules/OsgMacroUtils.cmake, - examples/osgsimpleviewerWX/CMakeLists.txt: From Luigi Calori, - build fixes for Win32 build osg WxWidgets example +/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 -2007-05-25 10:14 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). +" - * src/osgSim/OverlayNode.cpp: Implemnet clampping of ovleray - polytope to base plane -2007-05-25 10:13 robert - * src/osgGA/NodeTrackerManipulator.cpp: Changed debug message to - INFO +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'" -2007-05-24 16:11 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. - * src/osgPlugins/pnm/ReaderWriterPNM.cpp: From Colin McDonald, "The - writeImage method in ReaderWriterPNM.cpp had an error checking - the - accepted file extensions, so that once the plugin was loaded in - the - Registry it would grab any image file write request, regardless - of the - file extension. This was a particular problem if it was - statically loaded." +Fri, 17 Sep 2010 14:26:27 +0000 +Checked in by : Robert Osfield +Updated ChangeLog, AUTHORS for 2.9.9 dev release -2007-05-24 14:20 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 - * src/osgSim/OverlayNode.cpp: Improved the polytope cutting and - project calculation - -2007-05-24 10:15 robert - - * include/osg/TemplatePrimitiveFunctor: From Peter Hrenka, fixes - regarding line-strips and -loops. - -2007-05-24 09:49 robert - - * src/osgPlugins/txf/TXFFont.cpp: From Olaf, "there are more - dubious calls to istream::readsome instead of - istream::read. IMHO it does make no sense here and potentially - breaks - this plugin." - -2007-05-24 08:51 robert - - * src/osgViewer/CMakeLists.txt: From Serge Lages, support for - install api directories, with tweaks from Robert Osfield - -2007-05-23 19:30 robert - - * src/osgSim/OverlayNode.cpp: Fixed brackets - -2007-05-23 19:25 robert - - * CMakeModules/OsgMacroUtils.cmake: Added automatic building of - plugins as static when dynamic build is switch off. - -2007-05-23 15:24 robert - - * src/osgPlugins/jp2/CMakeLists.txt: From Anders Backman, add - -DJAS_WIN_MSVC_BUILD for Win32 build - -2007-05-23 15:14 robert - - * src/osgShadow/ShadowMap.cpp: Made the local shaders definitions - static const char to avoid multiple definiations - -2007-05-23 14:55 robert - - * src/osgSim/OverlayNode.cpp: Added insertion of center point into - object polytope - -2007-05-23 13:26 robert - - * src/osgSim/OverlayNode.cpp: Added angular sorting of the points - on the plane intersecting the cut plane. - -2007-05-23 12:35 robert - - * src/osgWrappers/osgTerrain/ValidDataOperator.cpp: Updated - wrappers - -2007-05-23 12:21 robert - - * src/osgViewer/CMakeLists.txt: Added platform specific - GraphicsWindow* headers to public headers listings - -2007-05-23 11:05 robert - - * examples/osgkeyboardmouse/osgkeyboardmouse.cpp, - include/osg/TemplatePrimitiveFunctor, - src/osgUtil/PolytopeIntersector.cpp: From Peter Hrenka, (note - from Robert Osfield, renamed GenericPrimitiveFunctor mention - below to TemplatePrimitiveFunctor). - - "Since we desperately needed a means for picking Lines - and Points I implemented (hopefully!) proper geometrical tests - for the PolytopeIntersector. - - First of all I implemented a new "GenericPrimiteFunctor" - which is basically an extended copy TriangleFunctor which also - handles Points, Lines and Quads through suitable overloads of - operator(). I would have liked to call it "PrimitiveFunctor" - but that name was already used... - I used a template method to remove redundancy in the - drawElements method overloads. If you know of platforms where - this will not work I can change it to the style used - in TriangleFunctor. - - In PolytopeIntersector.cpp I implemented a - "PolytopePrimitiveIntersector" which provides the needed - overloads for Points, Lines, Triangles and Quads to - the GenericPrimitiveFunctor. This is then used in the - intersect method of PolytopeIntersector. - - Implementation summary: - - Points: Check distance to all planes - - Lines: Check distance of both ends against each plane. - If both are outside -> line is out - If both are in -> continue checking - One is in, one is out -> compute intersection point (candidate) - Then check all candidates against all other polytope - planes. The remaining candidates are the proper - intersection points of the line with the polytope. - - Triangles: Perform Line-Checks for all edges of the - triangle as above. If there is an proper intersection - -> done. - In the case where there are more than 2 polytope - plane to check against we have to check for the case - where the triangle encloses the polytope. - In that case the intersection lines of the polytope - planes are computed and checked against the triangle. - - Quads: handled as two triangles. - - This is implementation is certainly not the fastest. - There are certainly ways and strategies to improve it. - - - I also enabled the code for PolytopeIntersector - in osgkeyboardmouse and added keybindings to - switch the type of intersector ('p') and the picking - coordinate system ('c') on the fly. Since the - PolytopeIntersector does not have a canonical - ordering for its intersections (as opposed to - the LineSegementIntersector) I chaged the - implementation to toggle all hit geometries. - - - I tested the functionality with osgkeyboardmouse - and several models and it seems to work for - polygonal models. Special nodes such as billboards - do not work. - - - The next thing on my todo-list is to implement - a an improved Intersection-Structure for the - PolytopeIntersector. We need to know - which primitives where hit (and where). - - " - -2007-05-23 10:57 robert - - * applications/osgconv/osgconv.cpp: Added debug timing code - -2007-05-22 15:17 robert - - * include/osg/AutoTransform: Added _firstTimeToInitEyePoint = true - to the setAutoRotateMode to force the AutoTransform - to recompute its position on next frame. - -2007-05-22 14:00 robert - - * src/osgPlugins/ac/Geode.cpp: From Roger James, "Here is a small - fix for the ac3d plugin geode.cpp. The fix is entirely localised - to ac3d::Geode::OutputTriangleStripDARR. - - - - It resolves an issue when processing a DrawArrayLengths with - multiple lengths where the vertex indices were incorrect for all - but the first chunk." - -2007-05-22 13:48 robert - - * src/osgViewer/CompositeViewer.cpp: Changed the way the the - InputRange is adjusted on the event state to fix bugs related to - picking - -2007-05-22 09:32 robert - - * include/osg/Camera, src/osg/Camera.cpp, - src/osg/GraphicsContext.cpp, src/osgWrappers/osg/Camera.cpp: - Added osg::Camera::ProjectionResizePolicy enum and associated - methods for controlling - how the field of view is adjust on window resizes. - -2007-05-21 18:46 robert - - * include/osgViewer/Viewer, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/Viewer.cpp: Added extra checks to make sure that - graphics operations arn't done on no longer valid graphics - contexts - -2007-05-21 18:17 robert - - * src/osgViewer/Viewer.cpp: Fixed Viewer::checkWindowStatus() to - work correctly when running single threaded - -2007-05-21 13:15 robert - - * examples/osgsimpleviewerWX/osgsimpleviewerWX.cpp: Reverting - Luigi's addition of argv[1] as it breaks the build. - -2007-05-21 12:34 robert - - * README.txt: Updated readme - -2007-05-21 12:30 robert - - * examples/osgsimpleviewerWX/osgsimpleviewerWX.cpp: From Luigi - Calori, changed hardwired "cow.osg" paramter to argv[1] - -2007-05-21 12:28 robert +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. - * examples/osgsimpleviewerWX/osgsimpleviewerWX.cpp, - examples/osgsimpleviewerWX/osgsimpleviewerWX.h: Converted tabs to - 4 spaces +Fri, 17 Sep 2010 11:20:11 +0000 +Checked in by : Robert Osfield +From Ulrich Hertlein, "I've added a command line switch '--testOcclusion' that enables display of other models in front and behind the outlined object." -2007-05-21 12:26 robert +Thu, 16 Sep 2010 13:04:55 +0000 +Checked in by : Robert Osfield +From Magnus Kessler, "Changes to the quicktime plugin to remove unused variables and an unused static function." - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - version file for 1.9.5 release +Thu, 16 Sep 2010 10:33:51 +0000 +Checked in by : Robert Osfield +From Alexander Wiebel, "I came across some functions in Vec* that I thought could benefit from some doxygen documentation. Additionally, I made the comment on value_type more meaningful (in my opinion)." -2007-05-21 11:49 robert +Thu, 16 Sep 2010 09:49:22 +0000 +Checked in by : Robert Osfield +From Magnus Kessler, "I'm resubmitting a slightly different version of the changes you left out for osg/Camera. The ::glName issue masked the fact that the "(..)" isn't handled well in doxygen and leads to "(." in the generated files.I'm also submitting a minor documentation fix to osgGA/DriveManipulator to get +it out of my patch queue ;)" - * include/osgSim/OverlayNode: Fixed const method type -2007-05-21 09:27 robert - * CMakeLists.txt, include/osg/Version: Updated version numbers for - 1.9.5 release +Thu, 16 Sep 2010 09:09:43 +0000 +Checked in by : Robert Osfield +From March Sciabica, "Here is the solution I coded up over the weekend. For improved performance option, I added a flag to control whether the depth writing pass is performed.Since text is alpha-blended when rendering, it is placed in the +transparent bin and rendered back to front. Writing to the depth buffer +should therefore be unnecessary. Indeed, rendering something behind text +(or any blended object) after that object is drawn will give incorrect +results whether the depth buffer is written or not. I therefore think it +is safe to keep this option off by default. Users can turn it on for any +special needs they have. -2007-05-21 09:18 robert +I did not fix the existing backdrop implementations to work with the new +code since this new method of rendering intrinsically handles backdrops +correctly. Its results are more accurate than all of the existing +backdrop implementations. Its only downside is that it requires two +passes if depth buffer updates are desired, whereas DEPTH_RANGE and +POLYGON_OFFSET achieve their (less accurate) results in one pass. The +NO_DEPTH_BUFFER method also only uses one pass, but it disables depth +tests and not depth writes so will have serious problems if anything is +drawn in front of the text before OR after the text is drawn. - * ChangeLog: Updated ChangeLog +Given the better all-around behavior of the new method, I believe the +other backdrop implementations can be safely removed. Code that adjusts +the backdrop implementation will of course be broken if the member +functions are removed. For this reason I left them in, but set the new +rendering method as the default backdrop implementation. At the very +least I think the old backdrop implementations should be deprecated and +removed at a later date. +" -2007-05-21 08:01 robert +Note from Robert Osfield, testing this submission with osgtext I found that the +text would not render correctly when different text labels were overlapping +in deth and screen space. I change _enableDepthWrites to default to true and +found the that which artifacts still occurred around the alpha blended edges +the artifacts where better than issue with occlusion of nearer pixels that was +happening with _enableDepthWrites set to false.I therefore set the +_enableDepthWrites to true as I feel it's the lesser of the two artefacts. - * src/osgPlugins/txf/ReaderWriterTXF.cpp, - src/osgPlugins/txf/TXFFont.cpp: From Olaf Flebbe, "FlightGear/OSG - on Windows did not load the Texture Fonts. - - 1) TXF Fonts are binary. - 2) Do not rely on the result of istream::readsome if buffer _is_ - empty - and no data have been read before." -2007-05-21 07:54 robert - * include/osgManipulator/Export: Added static build support to - export macros -2007-05-21 06:57 robert +Thu, 16 Sep 2010 08:46:38 +0000 +Checked in by : Robert Osfield +From Mathias Fielder, "i found an issue with the serializer writing shared arrays. At OutputStream::writeArray(), if the currently latest array is shared the full array content will be written. The following code snippet will reproduce this issue:Code: - * src/osgPlugins/osg/ReaderWriterOSG.cpp: Added - istream:imbue(std::locale::classic()) setting to prevent non - classic locals - from being used when the .osg plugin reads and writes. +osg::Vec2 vec(0.f, 0.f); +osg::Array* sharedArray = new osg::Vec2Array(1, & vec); -2007-05-20 17:38 robert +// create 2 geometries sharing same array +osg::Geometry* geom0 = new osg::Geometry; +osg::Geometry* geom1 = new osg::Geometry; +geom0->setVertexArray(sharedArray); +geom1->setVertexArray(sharedArray); - * CMakeLists.txt, CMakeModules/OsgMacroUtils.cmake: Introduced - VERSION and SOVERSION'ing of libraries. +osg::ref_ptr geode = new osg::Geode; +geode->addDrawable(geom0); +geode->addDrawable(geom1); -2007-05-20 13:42 robert +std::stringstream buffer; - * include/osgViewer/api/Carbon/GraphicsWindowCarbon, - src/osgViewer/GraphicsWindowCarbon.cpp: From Stephan Huber, - "attached you'll find some modifications and enhancements to the - carbon's - implementation of GraphicsWindow: - - - usage of WindowData, you can specify an existing window to use - via - osg::Traits - - implementation of setScreenResolution and setScreenRefreshRate - - implementation of setWindowDecoration when window is already - created. - - There seems to be a bug regarding multiple threads and closing - windows, - see my other mail on osg-users. - " +// write node +osg::ref_ptr options = new osgDB::Options("Ascii"); +osgDB::ReaderWriter* rw = osgDB::Registry::instance()->getReaderWriterForExtension("osgt"); +osgDB::ReaderWriter::WriteResult wr = rw->writeNode(*geode, buffer, options.get()); -2007-05-20 12:29 robert +// print result; array will be written twice with full content, though with same ID +std::cout << buffer.str() << std::endl; - * CMakeLists.txt, CMakeModules/OsgMacroUtils.cmake, - src/osgDB/FileUtils.cpp, src/osgPlugins/CMakeLists.txt, - src/osgWrappers/CMakeLists.txt: Added support for version of the - osgPlugins directory, which now gets versioned - according to the OpenSceneGraph/CMakeLists.txt and the - include/osg/Version settings. - These changes mean that the 1.9.5 release will have a - libs/osgPlugins-1.9.5 directory. +// trying to read back node will print warnings about unmatched properties +osgDB::ReaderWriter::ReadResult rr = rw->readNode(buffer, options.get()); -2007-05-20 11:45 robert - * CMakeLists.txt, include/osg/Matrix, include/osg/Plane: Added - support for SG_USE_FLOAT_MATRIX and OSG_USE_FLOAT_PLANE in CMake - build and - include/osg/Matrix and include/osg/Plane. -2007-05-20 11:13 robert - * src/osgSim/OverlayNode.cpp: Fixed build error under float matrix - build +To fix this i made a change in OutputStream::writeArray(). +I think the same issue applies to OutputStream::writeObject(). So i made the same change there. +" -2007-05-20 09:55 robert - * CMakeLists.txt: From Lugi Calori, added control of lib postfix. -2007-05-19 14:00 robert +Wed, 15 Sep 2010 13:24:37 +0000 +Checked in by : Robert Osfield +From Paul de Repentigny, Commented out section of code that didn't work properly - * src/osgPlugins/quicktime/MovieData.cpp, - src/osgPlugins/quicktime/MovieData.h, - src/osgPlugins/quicktime/QuicktimeImageStream.cpp, - src/osgPlugins/quicktime/QuicktimeImageStream.h: From Stephan - Huber, "I cleaned the code a little bit and improved the handling - of loops: - - I added a new protected virtual method to ImageStream called - applyLoopingMode() which is called from setLoopingMode. The - quicktime-plugin has an implementation of applyLoopingMode which - sets - some flags for the quicktime, so that quicktime handles the loop - playback by itself. - - This has some benefits: - - + no gaps when looping audio - + simplified code - - Attached you'll find the modified files, hope you'll find them - useful." +Wed, 15 Sep 2010 13:04:35 +0000 +Checked in by : Robert Osfield +Fixed warning -2007-05-19 13:43 robert - - * include/osg/Plane, include/osg/Polytope, - src/osgSim/OverlayNode.cpp, src/osgWrappers/osg/Plane.cpp, - src/osgWrappers/osg/Polytope.cpp, - src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/osgSim/ElevationSlice.cpp: Various additions to - better support view dependent overlay node, and updated wrappers +Wed, 15 Sep 2010 12:50:16 +0000 +Checked in by : Robert Osfield +From Magnus Kessler, "Fix a small typo in present3D usage string" -2007-05-19 13:39 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." - * include/osgGA/EventQueue, include/osgGA/GUIEventAdapter, - src/osgGA/EventQueue.cpp, src/osgGA/GUIEventAdapter.cpp: From - Rafa Giatan and Robert Osfield, added support for User defined - events, by adding - UserData to Events. - -2007-05-19 13:38 robert - - * examples/osgsimulation/osgsimulation.cpp: Made the near far ratio - lower to allow one to be near the terrain before clipping - comes in to effect - -2007-05-19 12:27 robert - - * examples/osgviewerMFC/MFC_OSG.cpp, - examples/osgviewerMFC/MFC_OSG_MDI.vcproj: From Michael Hartman, - "I have made a small change to the osgviewerMFC application that - resolved most of my home computer issues. It seams that my home - computer needed to have the pixel format set with - PFD_DOUBLEBUFFER. - - Also, with the cmake ability you are free to remove the - MFC_OSG_MDI.vcproj file. - " - -2007-05-19 12:16 robert - - * examples/osgsimpleviewerWX/CMakeLists.txt: From Lugi Calori, fix - for Win32 build of osgsimpleviewerWX - -2007-05-19 07:08 robert - - * src/osg/Drawable.cpp: In Drawable::releaseGLObjects() replaced - glDeleteLists with Drawable::deleteDisplayList(..) to prevent - inappropriate OpenGL deletion when current thread does have - required grpahics contxt - -2007-05-18 11:22 robert - - * src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osgViewer/View.cpp: Updated wrappers - -2007-05-18 10:33 robert - - * include/osgViewer/View, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: Added support for tracking the - CoordinateSystemNode path, and passing this on to - camera manipulators. - -2007-05-18 09:49 robert - - * examples/osgsimulation/osgsimulation.cpp: Added range of - CameranManipulators to allow us to navigate the scene freely - -2007-05-18 09:43 robert - - * examples/osgsimulation/osgsimulation.cpp: Added -f/--fixed option - to allow use to freeze the animation of the cessna. - -2007-05-17 19:58 robert - - * examples/osgstereoimage/osgstereoimage.cpp, - include/osgViewer/View, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp: Added support - for View::setFustionDistance(..) - -2007-05-17 15:39 robert - - * src/osgSim/OverlayNode.cpp: Improved view dependent camera - positioning - -2007-05-17 13:20 robert - - * src/osgUtil/CullVisitor.cpp: Added saving and restoring of the - near/far planes during Camera setup - -2007-05-17 11:55 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Serge Lages, "Here is - a modified GraphicsWindowWin32.cpp which handle double click - events. - I've modified the file submitted yesterday by Andre and not the - current SVN version." - -2007-05-17 11:48 robert - - * CMakeLists.txt, CMakeModules/cmake_uninstall.cmake.in: From David - Callu, "I have added the uninstall command at the end of the - first file, - and the configuration file template use by the command is the - second file. - - The command use the cmake_install.cmake file which list all file - installed by the install target. - this issue come from the CMake FAQ" - -2007-05-17 11:04 robert - - * examples/CMakeLists.txt, examples/osgviewerMFC/CMakeLists.txt, - examples/osgviewerMFC/MFC_OSG.cpp, - examples/osgviewerMFC/MFC_OSG.h: From Michael Hartman, "I have - gone in and created a CMakeList.txt file for osgviewerMFC - application. - - Below is the changes made to the included files. The examples - CMakeList.txt file was not included but the code change needed - for osgviewerMFC inclusion is listed below. - - - - CMakeList.txt: - - This is a little different than other example cmakelist.txt files - in that I could not use the setup_example macro. I had to go in - and extract out the important parts of the macro and inline them - in the CMakeList.txt file so that I could add the WIN32 - declaration into the ADD_EXECUTABLE() statement. In the future - the setup_example macro might be modified to support osgviewerMFC - but this is special case so you might not want to muddy the water - for one example. - - - - - - MFC_OSG.h: - - This file had some small changes: - - From: #include - - To: #include - - - - Also added two new function declarations - - Void PreFrameUpdate(void); - - Void PostFrameUpdate(void); - - - - - - MFC_OSG.cpp: - - This file changed only in that I am explicitly showing the viewer - run loop and added the two new functions in the MFC_OSG.h file. - - - - " - -2007-05-17 10:59 robert - - * CMakeLists.txt, include/osg/BufferObject, - src/osgPlugins/ac/ac3d.cpp, src/osgPlugins/osg/Sequence.cpp: From - Andre Garneau, warnings fixes fo VC++ - -2007-05-17 10:33 robert - - * include/osg/GraphicsContext, - src/osgViewer/GraphicsWindowWin32.cpp: From Andre Garneau,"Please - find attached changes to have the GraphicsWindowWin32 class - selectively set the pixel format for windows that are inherited, - following - some discussions on the mailing list last week. - - This is implemented through a new traits flag - (setInheritedWindowPixelFormat) with a default state of false (to - avoid - breaking existing applications). When set to true, the pixel - format of the - inherited window will be set according to the traits - specifications. - " - -2007-05-16 19:19 robert - - * examples/osgsimulation/osgsimulation.cpp, - src/osgSim/OverlayNode.cpp: Futher work on view dependent - OverlayNode - -2007-05-16 14:22 robert - - * include/osgSim/OverlayNode, src/osgSim/OverlayNode.cpp, - src/osgWrappers/osgSim/OverlayNode.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp: Refactored the internals - of OverlayNode - -2007-05-16 11:32 robert - - * src/osgSim/OverlayNode.cpp: Added code for computing the frustum - dimensions in local coords to the overlay node - -2007-05-15 19:45 robert - - * src/osgPlugins/ac/ac3d.cpp: From Mathias Froehlich, "This is an - other small update for the ac3d loader: - - It avoids attaching texture coordinates if there is not texture - attached. - - It uses DrawArrayLengths instead of multiple DrawElements." - -2007-05-15 19:32 robert - - * include/osgViewer/api/Carbon/GraphicsWindowCarbon, - src/osgViewer/GraphicsWindowCarbon.cpp: From Blasius Czink, "when - creating windows with decorations (titlebar) the mouse position - should be adjusted." - -2007-05-15 19:25 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Laurens Voerman, - "Attached is a version of src\osgViewer\GraphicsWindowWin32.cpp - that - allows to render in software. (maybe also in hardware w/o - wglChoosePixelFormatARB)" - -2007-05-15 17:04 robert - - * include/osgUtil/CullVisitor, src/osgSim/OverlayNode.cpp, - src/osgUtil/CullVisitor.cpp: Added code to better compute the - view frustum that is appropriate for a traversed - subgraph. - -2007-05-15 17:04 robert - - * CMakeLists.txt: Changed back to use find Qt3 and Qt4 separately - to avoid QT error reports - -2007-05-15 14:55 robert - - * src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/Sequence.cpp, - src/osgPlugins/osg/Sequence.cpp: From John Kelso, Added support - for new Sequence options. - From Robert Osfield, updated the above changes to the .ive loader - so that the new addition were tested against the IVE version - number - -2007-05-15 14:53 robert - - * examples/osgsimulation/osgsimulation.cpp: Added -n/--no-overlay - option - -2007-05-15 11:31 robert - - * CMakeLists.txt, examples/osgsimpleviewerQT4/CMakeLists.txt: From - Mathieu Marache, "I tried the latest developper release 1.9.4 and - found that I hadn't - the osgsimpleviewerQt4 example in my Visual studio solutions... - After - looking into it it seems that you cannot have both Qt3 and Qt4 - enabled. After modifying the root CMakeLists.txt to use : - - FIND_PACKAGE(Qt) which should ask you to choose betwwen Qt3 and - Qt4 - if you have both - - instead of : - - FIND_PACKAGE(Qt3) - FIND_PACKAGE(Qt4) - - I had the project generated. But then due to the way CMake - handles Qt4 - I had to modify osgsimpleviewerQt4's CMakeLists.txt to have the - binary - link with QtOpengl4. " - -2007-05-15 11:25 robert - - * include/osg/State, src/osg/State.cpp: From Farshid Lashkari, "I - made a modification to the setClientActiveTextureUnit and - setActiveTextureUnit methods of osg::State so they return false - if the - texture unit is outside the range of allowable units for the - driver. - Currently, the functions would return true even if the units are - invalid. This would cause the osg::State to become out of sync - with - the actual driver state, which can cause some bugs in certain - cases. - - The change I made would verify that the unit passed to - setClientActiveTextureUnit is below GL_MAX_TEXTURE_COORDS, and - the - unit passed to setActiveTextureUnit is below - max(GL_MAX_TEXTURE_COORDS,GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS). I - modeled this behavior from the OpenGL docs for these commands - which - can be found here: - - http://www.opengl.org/sdk/docs/man/xhtml/glClientActiveTexture.xml - http://www.opengl.org/sdk/docs/man/xhtml/glActiveTexture.xml - " - -2007-05-15 11:22 robert - - * include/osgSim/OverlayNode, src/osgSim/OverlayNode.cpp, - src/osgWrappers/osg/DrawPixels.cpp, - src/osgWrappers/osgSim/OverlayNode.cpp: Futher work on new view - dependent overlay node - -2007-05-14 20:23 robert - - * examples/osgsimulation/osgsimulation.cpp, - include/osgSim/OverlayNode, src/osgSim/OverlayNode.cpp: Set up - new view dependent overlay technique control methods - -2007-05-14 17:01 robert - - * include/osgViewer/ViewerEventHandlers: Added include of - GraphicsWindow to fix wrapper build error - -2007-05-14 16:17 robert - - * include/osgSim/ElevationSlice: Removed redundent comment '.' - -2007-05-14 16:16 robert - - * include/osg/DrawPixels: Fixed parameter name - -2007-05-14 16:14 robert - - * examples/osgsimulation/osgsimulation.cpp, include/osg/Drawable, - include/osgSim/HeightAboveTerrain, include/osgViewer/Viewer, - src/osgWrappers/osg/DrawPixels.cpp, - src/osgWrappers/osg/Drawable.cpp, - src/osgWrappers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Clean up - comments and rebuilt wrappers. - - Added extra event handlers to osgsimulator example - -2007-05-14 16:13 robert - - * examples/osgsimpleviewerWX/CMakeLists.txt: Replaced - TARGET_ADD_LIBRARIES to TARGET_EXTERNAL_LIBRARIES for WxWidgets - to avoid debug - issues - -2007-05-14 15:16 robert - - * applications/osgviewer/osgviewer.cpp, - include/osgViewer/ViewerEventHandler, - include/osgViewer/ViewerEventHandlers, - src/osgViewer/CMakeLists.txt, - src/osgViewer/ViewerEventHandler.cpp, - src/osgViewer/ViewerEventHandlers.cpp: Renamed ViewerEventHandler - to ViewerEventHandlers - -2007-05-14 15:07 robert - - * applications/osgviewer/osgviewer.cpp, - include/osgViewer/ViewerEventHandler, - src/osgViewer/ViewerEventHandler.cpp: Renamed the ScreenHandler - to WindowSizeHandler, fixed the code style to be conform more - to the rest of the OSG, and moved the osgviewer across to using - the event handlers - in osgViewer. +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." -2007-05-14 14:41 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." - * include/osgViewer/ViewerEventHandler, - src/osgViewer/CMakeLists.txt, - src/osgViewer/ViewerEventHandler.cpp: From Serge Lages, "Here is - a ViewerEventHandler file with a collection of helper handlers - for osgViewer. - Most of the code is from the osgviewer application, I have took - the fullscreen handler and the threading one, and I have just - added a fonctionality to be able to change the screen resolution - in windowed mode." +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." -2007-05-14 14:36 robert - * src/osgViewer/CMakeLists.txt: Changed tabs to four spaces -2007-05-14 09:43 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. - * AUTHORS.txt: Updated authors file -2007-05-14 09:33 robert - * CMakeLists.txt, include/osg/Version, - src/osgWrappers/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/osgTerrain/TerrainNode.cpp, - src/osgWrappers/osgTerrain/TerrainTechnique.cpp: Updated wrappers - and version numbers for 1.9.4 dev release -2007-05-13 09:54 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. - * examples/osgterrain/osgterrain.cpp, - include/osgTerrain/TerrainNode, - include/osgTerrain/TerrainTechnique, - src/osgTerrain/GeometryTechnique.cpp, - src/osgTerrain/TerrainNode.cpp: Added TerrainNode::init() and - s/getTreatBoundariesToValidDataAsDefaultValue flag. +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." -2007-05-11 20:16 robert - * include/osgTerrain/ValidDataOperator: Added include -2007-05-11 19:28 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. - * src/osgWrappers/osgTerrain/Layer.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Updated wrappers +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. -2007-05-11 19:25 robert +Ready for commit: +- Stencil and Stencil.cpp - please, review them - * include/osgViewer/CompositeViewer, include/osgViewer/Viewer, - src/osgViewer/CompositeViewer.cpp: Added new areThreadsRunning() - method to Viewer and CompositeViewer. - - Added removeView(View*) method to CompositeViewer - - Added stopping/starting of threads in addView/removeView +Ready with "hack": +- StencilTwoSided.cpp: please, see the line 113 in apply(): -2007-05-11 18:25 robert + glEnable(GL_STENCIL_TEST_TWO_SIDE); - * examples/osgterrain/osgterrain.cpp, include/osgTerrain/Layer, - include/osgTerrain/ValidDataOperator, - src/osgTerrain/CMakeLists.txt, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Layer.cpp: - Added ValidDataOperator base class and NoDataValue and ValidRange - subclasses, and - support for it in osgTerrain::Layer and GeometryTechniqnue. +This line used to be in getModeUsage() as -2007-05-11 13:45 robert + usage.usesMode(GL_STENCIL_TEST_TWO_SIDE); - * src/osgUtil/SceneView.cpp: From Uwe Woessner, fixed handling of - read/draw buffer in vertical interlaced stereo +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. +" -2007-05-11 13:43 robert - * src/osgWrappers/osgTerrain/Layer.cpp: UPdated wrappers -2007-05-11 12:46 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. + " - * CMakeLists.txt, examples/osgsimpleviewerWX/CMakeLists.txt, - examples/osgsimpleviewerWX/osgsimpleviewerWX.cpp: Fixed CMake - support for osgsimpleviewWX -2007-05-11 12:12 robert - * src/osgPlugins/pfb/CMakeLists.txt: From Doug McCorkle, removed - pfdb from link line +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. -2007-05-11 09:07 robert +Additional methods of ParticleSystem are introduced, including +setDefaultAttributesUsingShaders(), setSortMode() and +setVisibilityDistance(). You can see how they work in +osgparticleshader.cpp. - * CMakeLists.txt, examples/CMakeLists.txt, - examples/osgsimpleviewerWX, - examples/osgsimpleviewerWX/CMakeLists.txt, - examples/osgsimpleviewerWX/osgsimpleviewerWX.cpp, - examples/osgsimpleviewerWX/osgsimpleviewerWX.h: From Gian - Lorenzetto, osgsimpleviewWX example, CMake support added by - Robert Osfield +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. -2007-05-11 09:05 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. - * src/osgWrappers/osg/Uniform.cpp: Updated wrappers +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. -2007-05-11 08:30 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. - * src/osgPlugins/quicktime/QuicktimeImageStream.cpp: From Brad - Colbert, removed inappropriate rewind on non looping code path. +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. -2007-05-11 08:19 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... - * examples/osgviewerMFC, examples/osgviewerMFC/ChildFrm.cpp, - examples/osgviewerMFC/ChildFrm.h, - examples/osgviewerMFC/MFC_OSG.cpp, - examples/osgviewerMFC/MFC_OSG.h, - examples/osgviewerMFC/MFC_OSG_MDI.cpp, - examples/osgviewerMFC/MFC_OSG_MDI.h, - examples/osgviewerMFC/MFC_OSG_MDI.rc, - examples/osgviewerMFC/MFC_OSG_MDI.vcproj, - examples/osgviewerMFC/MFC_OSG_MDIDoc.cpp, - examples/osgviewerMFC/MFC_OSG_MDIDoc.h, - examples/osgviewerMFC/MFC_OSG_MDIView.cpp, - examples/osgviewerMFC/MFC_OSG_MDIView.h, - examples/osgviewerMFC/MainFrm.cpp, - examples/osgviewerMFC/MainFrm.h, - examples/osgviewerMFC/ReadMe.txt, - examples/osgviewerMFC/Resource.h, examples/osgviewerMFC/res, - examples/osgviewerMFC/res/MFC_OSG_MDI.ico, - examples/osgviewerMFC/res/MFC_OSG_MDI.rc2, - examples/osgviewerMFC/res/MFC_OSG_MDIDoc.ico, - examples/osgviewerMFC/res/Toolbar.bmp, - examples/osgviewerMFC/stdafx.cpp, examples/osgviewerMFC/stdafx.h: - From Michael Hartman, " Here is the MFC_OSG example. It is very - basic and the community is welcome to enhance/improve this - example. There is one bug documented in the Readme.txt file that - I just have not had time to solve. Also, the code is built - outside of the OSG environment and uses environment variables to - get to the OSG distribution headers and examples. That should be - the only change a user needs to make to get the code to compile." +All dotosg and serialzier wrappers for functionalities above are provided. -2007-05-10 18:07 robert +... - * examples/osgterrain/osgterrain.cpp, include/osgTerrain/Layer, - src/osgTerrain/Layer.cpp: Added supoort for transforming layers - by an offset and scale - -2007-05-10 18:07 robert - - * include/osg/Uniform: Removed rendundent const - -2007-05-10 12:49 robert - - * src/osgTerrain/GeometryTechnique.cpp: Added automatic detection - of alpha values, switching on blending when alpah!=1.0 - -2007-05-10 12:33 robert - - * examples/osgterrain/osgterrain.cpp: Added automatic enabling of - blending when alpha value != 1.0 occur in the color - or transfer function data. - -2007-05-10 11:36 robert - - * src/osgPlugins/dae/CMakeLists.txt: From Daniel Sjolie, build fix - for Windows - -2007-05-10 10:52 robert - - * include/osgViewer/api/Win32/GraphicsWindowWin32: Added getHWND, - getHDC and getWGLContext methods - -2007-05-10 08:20 robert - - * src/osgDB/Registry.cpp, src/osgPlugins/osga/ReaderWriterOSGA.cpp: - Added checks against Options to osga plugin to ensure archives - are only cached - when requested, cleaned up the - Registry::openArchiveImplementation function. - -2007-05-09 13:05 robert - - * src/osgText/Font.cpp: Commented out debug messages - -2007-05-09 12:08 robert - - * src/osgWrappers/osg/CullSettings.cpp, - src/osgWrappers/osg/Sequence.cpp, - src/osgWrappers/osgDB/Registry.cpp: Updated wrappers - -2007-05-09 11:11 robert - - * include/osg/Sequence, src/osg/Sequence.cpp: From John Kelso, - - "Attached are updates of src/osg/Sequence.spp and - include/osg/Sequence. - - I've taken _sbegin/_send/_ubegin/_uend and _step our of the - include file - and made them local variables in whatever method might need them. - - I got rid of the _recalculate method as it was only getting used - in - one place. - - I also found a cut/paste bug in setMode's START case." - - Note from Robert Osfield, Also includes some guards against - crashes that was occuring in this new - code when handling empty Sequences. - -2007-05-09 10:42 robert - - * src/osgText/Font.cpp: Set default texture size back to 1024x1204 - -2007-05-09 10:41 robert - - * src/osgText/Font.cpp: Added GL_MAX_TEXTURE_SIZE check and use of - OSG_MAX_TEXTURE_SIZE env var to help - hint to osgText that the native OpenGL implementation only - supports textures up to - a given size. - -2007-05-09 10:31 robert - - * src/osgText/Font.cpp: Added use of OSG_MAX_TEXTURE_SIZE for - clamping texture sizes. - -2007-05-09 10:01 robert - - * include/osgDB/Output, src/osgDB/Output.cpp, - src/osgDB/Registry.cpp: From Mike Weiblen, with mods of using - references by Robert Osfield for efficiency. Submission notes - from Mike: - "By repurpose, I'm creating a new plugin that uses much of the - .osg fileformat, - but with some changes. Specifically, I'm creating a ".osgfs" - plugin, which - represents the scenegraph hierarchy as a filesystem of nested - subdirectories and - individual files for each node, rather than nested braces with - everything in a - single monolithic file. I intend to incorporate file alteration - monitor events - to watch the filesystem for modifications and automatically - reload. - - The problem I'm running into is osgDB is too tightly coupled to - the .osg format. - osgDB::Output::writeObject() contains literal .osg - format-specific strings like - "{" to represent the Object hierarchy at too low a semantic - level. I propose - using virtual methods; my plugin can then derive from - osgDB::Output and - represent Object hiearchy differently. - " - -2007-05-09 09:43 robert - - * include/osgDB/Registry, src/osgDB/Archive.cpp, - src/osgDB/Registry.cpp: From Alan Harris, "Registry and Archive - ~~~~~~~~~~~~~~~~~~~~~~~~~ - This is a simple change to permit databases other than those - named - "*.osga" to be used. It is hardcoded in read() at present. - - It is non-critical and does not affect existing program - functionality. - - Registry and Registry.cpp - ~~~~~~~~~~~~~~~~~~~~~~~~~ - Added a new typedef: typedef std::vector< std::string> - ArchiveExtensionList; - - a list of extensions: ArchiveExtensionList _archiveExtList; - - and an "add" method: addArchiveExtension(const std::string ext) - - This is initialised by adding "osga" in Registry() and used in - Registry::read() where the list is searched for the extension - used. - - Archive.cpp - ~~~~~~~~~~~ - This submission is a little more tentative. openArchive() is - modified to - automatically add the filename extension to the Registry - extension list. - " - -2007-05-09 09:26 robert - - * examples/osgunittests/osgunittests.cpp, include/osg/Math, - src/osg/Matrix_implementation.cpp: Added signOrZero template - method, and to Matrix_implementation.cpp usage of this - method in the get(Quat&) code. - -2007-05-09 07:54 robert - - * src/osgText/Font.cpp: Added imageData block initialized to 0 for - first construction of GlyphTexture - -2007-05-08 15:32 robert - - * examples/osgmovie/osgmovie.cpp: Further work on dome correction +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). -2007-05-08 12:18 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? - * examples/osgmovie/osgmovie.cpp: Firt cut at full dome correction - of wrap around movies and imagery +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. +" -2007-05-08 10:02 robert - * include/osg/CullSettings, src/osgUtil/SceneView.cpp: Added - CullSettings inheritance mask for LIGHTING_MODE and LIGHT -2007-05-07 22:07 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]; - * include/osg/CullSettings, include/osg/View, - include/osgUtil/SceneView, src/osg/View.cpp, - src/osgUtil/SceneView.cpp, src/osgWrappers/osg/CullSettings.cpp, - src/osgWrappers/osg/View.cpp, - src/osgWrappers/osgUtil/SceneView.cpp: Added s/getLightingMode - and s/getLight to osg::View to allow control of the viewers - global light source. + // calls gluScaleImage into the data buffer +} -2007-05-07 19:48 robert +const unsigned char* dataPtr = image->data(); +// subloads 'dataPtr' - * src/osgViewer/HelpHandler.cpp: Added missing HelpHandler::reset() - implementation +// deletes 'data' + -2007-05-07 07:58 robert +In effect, the scaled data would never be used. - * AUTHORS.txt, ChangeLog, README.txt: Updated ChangeLog and - AUTHORS.txt for release +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. -2007-05-07 07:51 robert +" - * CMakeLists.txt, INSTALL.txt, README.txt, include/osg/Version: - Updated version numbers for 1.9.3 release, combined INSTALL.txt - and README.txt -2007-05-05 17:05 robert - * src/osgPlugins/pfb/CMakeLists.txt: Added extra external libs +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. -2007-05-05 17:02 robert +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: - * src/osgPlugins/dae/CMakeLists.txt: Added extra libs to COLLADA - plugin, but still need to set LD_LIBRARY to libs even though they - are static!?#!? +[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. -2007-05-05 16:24 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. - * CMakeLists.txt, CMakeModules/FindPerformer.cmake, - src/osgPlugins/ToPortToCmake.txt, - src/osgPlugins/pfb/CMakeLists.txt: Added preliminary Performer - plugin support, note, still missing are a range of Performer - database libs that will be required. +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. :-) -2007-05-05 16:11 robert +Note, there's a nasty const_cast in there. Why isn't osgText::Font::getGlyph() declared const? - * CMakeLists.txt, CMakeModules/FindOpenVRML.cmake, - src/osgDB/CMakeLists.txt, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/vrml/CMakeLists.txt: Added OpenVRML support +Also, as a note, the current implementation of cut, copy and paste (in addition to being Windows only, yuck) gets and puts the data into an std::string, thus if the osgText::String in the field contains unicode characters I think it won't work correctly. Perhaps someone could implement a proper clipboard class that would be cross-platform and support osgText::String (more precisely other languages like Chinese) correctly? Cut, copy and paste are not critical to what I'm doing so I won't invest the time to do that, but I just thought I'd mention it. +" -2007-05-05 15:36 robert - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/ToPortToCmake.txt, - src/osgPlugins/pnm/CMakeLists.txt: Added CMake support for pnm - plugin -2007-05-05 08:22 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." - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/ToPortToCmake.txt, - src/osgPlugins/normals/CMakeLists.txt: Added support for normals - plugin -2007-05-05 08:18 robert - * src/osgPlugins/ToPortToCmake.txt: Added ToPortToCmake.txt to - record what modules need port to CMake. +Thu, 9 Sep 2010 10:17:55 +0000 +Checked in by : Robert Osfield +From Joachim Pouderoux, "Please find attached a very small fix for the DXF reader. The bug made OSG crash with some files. Actually, itr was incremented into the loop and after the test with nlist.end(). Then, the unreferencing of itr when nlist is equals to nlist.end() caused the crash." -2007-05-04 19:17 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)." - * CMakeLists.txt, CMakeModules/FindXine.cmake, - src/osgPlugins/CMakeLists.txt, - src/osgPlugins/xine/CMakeLists.txt, - src/osgPlugins/xine/video_out_rgb.c: Added first cut a Xine - support +Thu, 9 Sep 2010 10:09:31 +0000 +Checked in by : Robert Osfield +From Tassilo Glander, "I want to submit a fix for the plugin to load .x model files (Direct X).The current version crashes when encountering global materials, as also reported in the forum by the author of the plugin. -2007-05-04 14:25 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. - * CMakeLists.txt, CMakeModules/FindCOLLADA.cmake, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/dae/CMakeLists.txt: - Added first cut of Cmake COLLADA support +My fix checks 2 more cases ("{ aMaterial }" -> 3 tokens and "{aMaterial}" -> 1 token), and extracts the material name for the lookup. I don't know if this is the most elegant solution, but the tokenizer seems to split based on white spaces. -2007-05-04 13:41 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. +" - * src/osgPlugins/dae/CMakeLists.txt: Added COLLADA CMAkeLists.txt, - doesn't work yet as we done yet have a FindCOLLADA.cmake but it - is a start -2007-05-04 13:20 robert - * CMakeLists.txt, CMakeModules/FindJasper.cmake, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/jp2/CMakeLists.txt: - Added support for jp2 plugin +Thu, 9 Sep 2010 10:03:58 +0000 +Checked in by : Robert Osfield +From Roland Smeenk, "this submission adds a "Fast Drawable" line to the camera scene statistics. It shows the total number of sorted and unsorted drawables that use the fastpath for rendering." -2007-05-04 12:06 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. " - * src/osgText/DefaultFont.cpp: Removed margin +Thu, 9 Sep 2010 09:05:33 +0000 +Checked in by : Robert Osfield +Added version check for av_lockmgr_register support. -2007-05-04 12:05 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. - * include/osgText/Font, src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/txf/TXFFont.cpp, src/osgText/Font.cpp, - src/osgText/Text.cpp, src/osgWrappers/osgTerrain/Locator.cpp, - src/osgWrappers/osgText/Font.cpp: 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 +This version of IntersectionVisitor.cpp is made against today's SVN. It corrects the problem by computing the billboard matrix using the complete modelview, and then multiplies by the inverse of the view matrix before pushing onto IntersectionVisitor's model stack. The only code I changed is in apply(Billboard&)." -2007-05-04 08:48 robert +notes from Robert, refactored the matrix multiplication code and the use of RefMatrix to make Nathan's changes more efficient. - * src/osgIntrospection/CMakeLists.txt: From Luigi Calori, Win32 - build fix -2007-05-04 08:45 robert - * src/osgPlugins/ac/ac3d.cpp: 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." -2007-05-04 08:40 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. - * src/osgUtil/Tessellator.cpp: From David Callu, fixed incorrect - array usage. +Wed, 8 Sep 2010 10:46:49 +0000 +Checked in by : Robert Osfield +Added support for honouring PrimitiveSet names in new smoothing algorithm -2007-05-03 16:23 robert +Wed, 8 Sep 2010 08:09:01 +0000 +Checked in by : Robert Osfield +From Jean-Sebastien Guay, build fixes for Windows - * examples/osgterrain/osgterrain.cpp, include/osgTerrain/Locator, - src/osgTerrain/Locator.cpp: Added CartizianLocator +Tue, 7 Sep 2010 19:55:41 +0000 +Checked in by : Robert Osfield +Removed files that have been moved into osgText. -2007-05-03 15:21 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. - * src/osgWrappers/osgTerrain/Locator.cpp: Updated wrappers +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. -2007-05-03 14:51 robert - * include/osgTerrain/TerrainNode: Added return *this to operator = -2007-05-03 14:47 robert +Mon, 6 Sep 2010 15:43:59 +0000 +Checked in by : Robert Osfield +Further work on new 3D text support - * src/osgGA/CMakeLists.txt: Added osgUtil into lib list +Fri, 3 Sep 2010 15:03:42 +0000 +Checked in by : Robert Osfield +Added basic wiring up of TextTechnique to 3D glyph code -2007-05-03 11:11 robert +Fri, 3 Sep 2010 09:10:27 +0000 +Checked in by : Robert Osfield +Removed now redundent Font3D files - * include/osgTerrain/Locator, src/osgTerrain/GeometryTechnique.cpp, - src/osgTerrain/Locator.cpp: Added virtual orientationOpenGL() - method into osgTerrain::Locator. +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 -2007-05-03 10:10 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 - * examples/CMakeLists.txt, src/osgPlugins/CMakeLists.txt: Added - OpenThreads to TARGET_COMMON_LIBRARIES -2007-05-03 10:06 robert - * CMakeModules/OsgMacroUtils.cmake, src/osgDB/CMakeLists.txt, - src/osgFX/CMakeLists.txt, src/osgGA/CMakeLists.txt, - src/osgManipulator/CMakeLists.txt, - src/osgParticle/CMakeLists.txt, src/osgShadow/CMakeLists.txt, - src/osgSim/CMakeLists.txt, src/osgTerrain/CMakeLists.txt, - src/osgText/CMakeLists.txt, src/osgUtil/CMakeLists.txt, - src/osgViewer/CMakeLists.txt: Moved the OpenThreads link locally - to each lib +Thu, 2 Sep 2010 07:55:36 +0000 +Checked in by : Robert Osfield +Added to Text::resizeGLObjectBuffers(uint) the follow: _textureObjectBuffer.resize(maxSize); + _texParametersDirtyList.resize(maxSize); -2007-05-03 08:50 robert - * CMakeLists.txt: Added support for setting OpenThreads_SOURCE_DIR - to help the install of OpenThreads headers -2007-05-02 19:57 robert - * genwrapper.conf, src/osgWrappers/CMakeLists.txt, - src/osgWrappers/OpenThreads, - src/osgWrappers/OpenThreads/Barrier.cpp, - src/osgWrappers/OpenThreads/Block.cpp, - src/osgWrappers/OpenThreads/Condition.cpp, - src/osgWrappers/OpenThreads/Mutex.cpp, - src/osgWrappers/OpenThreads/ReadWriteMutex.cpp, - src/osgWrappers/OpenThreads/ReentrantMutex.cpp, - src/osgWrappers/OpenThreads/Thread.cpp, - src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/GraphicsThread.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/SharedStateManager.cpp, - src/osgWrappers/osgParticle/ParticleSystem.cpp: Added OpenThreads - wrappers +Wed, 25 Aug 2010 16:59:27 +0000 +Checked in by : Robert Osfield +Implemented a greedy triangle associate technique to minimize the number of duplicate vertices required to produce crease angles. -2007-05-02 18:07 robert +Wed, 25 Aug 2010 14:34:08 +0000 +Checked in by : Robert Osfield +Changed --flat to --flat-shaded to avoid conflict with oiginal --flat ratio control. - * CMakeLists.txt, src/CMakeLists.txt, src/osg/CMakeLists.txt: Added - CMake support for local OpenThreads build +Wed, 25 Aug 2010 11:07:30 +0000 +Checked in by : Robert Osfield +Cleaned up main and introduced --samples , --flat, --smooth command line controls.Add StatsHandler to viewer to enable review of different settings on number vertices/triangles. -2007-05-02 16:36 robert - * .: Added svn:externals for include/OpenThreads and - src/OpenThreads -2007-05-02 13:58 robert +Wed, 25 Aug 2010 11:06:10 +0000 +Checked in by : Robert Osfield +Added support for controlling the number of curves samples to generate on Glyph3D's. Set via Font3D::setNumberCurveSamples(num). - * src/osgTerrain/GeometryTechnique.cpp: Introduced new tesslation - technique that adjusts the triangulation so that the - diagonal goes between the corners with least vertical deviation. +Tue, 24 Aug 2010 16:08:50 +0000 +Checked in by : Robert Osfield +Implemented the shell geometry code -2007-05-01 18:03 robert +Tue, 24 Aug 2010 16:06:31 +0000 +Checked in by : Robert Osfield +Added "SORT_BACK_TO_FRONT" and "SORT_FRONT_TO_BACK" RenderBin's to default prototype list - * include/osg/Array, include/osg/BufferObject, - include/osg/Drawable, include/osg/Geometry, - include/osg/PrimitiveSet, include/osg/State, - src/osg/BufferObject.cpp, src/osg/Drawable.cpp, - src/osg/Geometry.cpp, src/osg/PrimitiveSet.cpp, - src/osg/Texture.cpp, src/osg/TextureRectangle.cpp, - src/osgWrappers/osg/Array.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/Geometry.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp: Further perfomrmance - optimizations and clean up on new VBO/EBO/PBO API. +Tue, 24 Aug 2010 14:22:58 +0000 +Checked in by : Robert Osfield +Refactored 3d text geometry creation code so that the text is all placed in one osg::Geometry. -2007-05-01 09:29 robert +Fri, 20 Aug 2010 10:24:06 +0000 +Checked in by : Robert Osfield +Fixed bug in handling large osg::Geometry. - * src/osg/Geometry.cpp, src/osg/PrimitiveSet.cpp: Cleaned up the - optional code paths in new VBO code +Thu, 19 Aug 2010 16:24:08 +0000 +Checked in by : Robert Osfield +Implemented generation of front, back and bevel geometries to complete the 3d glyphs. -2007-05-01 07:31 robert +Wed, 18 Aug 2010 11:14:58 +0000 +Checked in by : Robert Osfield +Improved the detection of problem vetices and associated triangles - * src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/Geometry.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osg/State.cpp: Updated wrappers +Tue, 17 Aug 2010 19:48:19 +0000 +Checked in by : Robert Osfield +Fixed indentation -2007-05-01 06:40 robert +Tue, 17 Aug 2010 19:48:07 +0000 +Checked in by : Robert Osfield +Implemented basic duplication of points that sit on sharp edges. - * INSTALL.txt, README.txt: Added direct links to the CMake build - pages +Tue, 17 Aug 2010 13:25:46 +0000 +Checked in by : Michael PLATINGS +From Donn Mielcarek: The fbx plugin won't compile using gcc 4.3.2. I made the following minor changes:1. WriterNodeVisitor.cpp needed limits.h added to the headers. -2007-05-01 06:28 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). - * examples/osgparametric/osgparametric.cpp, - include/osg/BufferObject, include/osg/Geometry, - include/osg/PrimitiveSet, include/osg/State, - src/osg/BufferObject.cpp, src/osg/Geometry.cpp, - src/osg/PrimitiveSet.cpp, src/osg/State.cpp, - src/osgUtil/SceneView.cpp, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/Viewer.cpp: Moved VBO switching code into inline - methods into osg::State to speed performance + I also removed a bunch of embedded carriage returns -2007-04-30 22:12 ewing - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - 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-04-30 15:10 robert - - * src/osgViewer/CompositeViewer.cpp: Added initalization of - _startTick to CompositeViewer - -2007-04-30 14:49 robert - - * src/osgViewer/Viewer.cpp: From Jeremy Moles, fixed missing - intialization of _startTick member variable. - -2007-04-30 12:18 robert - - * include/osg/Array, include/osg/BufferObject, include/osg/Image, - include/osg/PrimitiveSet, src/osg/BufferObject.cpp, - src/osg/Geometry.cpp, src/osg/Texture.cpp, - src/osg/TextureRectangle.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osgTerrain/TerrainNode.cpp: Implementated new - dirty buffer mechansim for BufferObjects to make it more - efficient - -2007-04-30 09:47 robert - - * examples/osgterrain/osgterrain.cpp, - include/osgTerrain/TerrainNode, - src/osgTerrain/GeometryTechnique.cpp, - src/osgTerrain/TerrainNode.cpp: Added - TerrainNode::setColorFilter(layerNum,Filter) to allow developers - to set - what type of texture filter to use, either LINEAER and NEAREST. - -2007-04-30 08:37 robert - - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS file - -2007-04-30 08:31 robert - - * CMakeLists.txt, include/osg/Version: Updated version number for - 1.9.2 dev release - -2007-04-29 20:19 robert - - * src/osgWrappers/osg/BufferObject.cpp: Updated wrappers - -2007-04-29 20:13 robert - - * src/osg/Drawable.cpp, src/osg/Geometry.cpp: Added temporary code - (but comment out) for testing VBO performance - -2007-04-29 20:10 robert - - * include/osgTerrain/GeometryTechnique, - src/osgTerrain/GeometryTechnique.cpp: Added a MatrixTransform set - up to provide a local origin for better precision. - -2007-04-29 08:12 robert - - * include/osg/BufferObject, src/osg/BufferObject.cpp, - src/osg/Drawable.cpp, src/osg/Geometry.cpp, - src/osg/PrimitiveSet.cpp, src/osgTerrain/GeometryTechnique.cpp: - Further work on new VertexBufferObject/ElementsBufferObject - support - -2007-04-27 17:03 robert - - * include/osgTerrain/GeometryTechnique, - src/osgTerrain/GeometryTechnique.cpp: Added back in osg::Geometry - path - -2007-04-27 14:52 robert - - * include/osg/Drawable, include/osg/Geometry, - include/osg/PrimitiveSet, src/osg/Drawable.cpp, - src/osg/Geometry.cpp, src/osgPlugins/ive/Geometry.cpp, - src/osgPlugins/osg/Geometry.cpp, src/osgUtil/Tessellator.cpp, - src/osgWrappers/osg/Drawable.cpp, - src/osgWrappers/osg/Geometry.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp: Further work on the new VBO - support - -2007-04-27 10:29 robert - - * CMakeLists.txt, CMakeModules/FindOpenThreads.cmake, - CMakeModules/OsgMacroUtils.cmake: 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). - - " - -2007-04-27 09:49 robert - - * CMakeModules/Find3rdPartyDependencies.cmake, - CMakeModules/FindFreeType.cmake, CMakeModules/FindGIFLIB.cmake, - CMakeModules/FindInventor.cmake, - CMakeModules/FindOpenThreads.cmake, - CMakeModules/FindQuickTime.cmake, CMakeModules/ListHandle.cmake, - CMakeModules/ModuleInstall.cmake, - CMakeModules/OsgMacroUtils.cmake, - CMakeModules/UtilityMacros.cmake: Fixed tabbing - -2007-04-26 16:50 robert - - * examples/osgparametric/osgparametric.cpp: Added using of - VertexBufferObject and ElementsBufferObject classes - -2007-04-26 16:50 robert - - * include/osg/Array, include/osg/BufferObject, - include/osg/PrimitiveSet, src/osg/BufferObject.cpp: Further work - VertexBufferObject and ElementsBufferObject classes - -2007-04-26 08:26 robert - - * src/osgWrappers/osg/ImageStream.cpp: Updated wrappers - -2007-04-26 08:11 robert - - * include/osg/ImageStream, - src/osgPlugins/quicktime/QuicktimeImageStream.h: 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 - - * src/osgPlugins/quicktime/CMakeLists.txt: From Eric Wing, Added - quicktime CMakeLists.txt - -2007-04-25 18:50 robert - - * include/osg/Array, include/osg/BufferObject, - include/osg/PrimitiveSet, src/osg/BufferObject.cpp, - src/osgWrappers/osg/Array.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp: 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 - - * examples/osgparametric/osgparametric.cpp: 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 - - * src/osgWrappers/osgUtil/StateGraph.cpp, - src/osgWrappers/osgViewer/GraphicsWindow.cpp, - src/osgWrappers/osgViewer/HelpHandler.cpp, - src/osgWrappers/osgViewer/StatsHandler.cpp: Updated wrappers - -2007-04-25 10:32 robert - - * include/osgUtil/StateGraph, src/osgUtil/RenderBin.cpp: Cleaned up - numToTop method - -2007-04-25 10:12 robert - - * include/osgViewer/GraphicsWindow: From Martin Aumueller, fixed - unused parameter warnings - -2007-04-25 09:32 robert - - * src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp: 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 - - * CMakeModules/FindOpenThreads.cmake: 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 - - * src/osgPlugins/lwo/CMakeLists.txt: From Eric Wing, "lwo must link - to osgFX or undefined symbols ensue." - -2007-04-25 09:14 robert - - * CMakeLists.txt: 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 - - * src/osgDB/ReadFile.cpp: 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 - - * src/osgPlugins/Inventor/CMakeLists.txt, - src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/Inventor/ReaderWriterIV.cpp: 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 - - * src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/Inventor/ConvertFromInventor.h, - src/osgPlugins/Inventor/README.txt, - src/osgPlugins/Inventor/ReaderWriterIV.cpp: 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 - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/lwo/CMakeLists.txt: - Added CMake support for lwo plugin. - -2007-04-24 12:59 robert - - * src/osgDB/CMakeLists.txt, src/osgDB/Registry.cpp: Added compile - path support for XINE, Inventor and LibXML - -2007-04-23 20:21 robert - - * AUTHORS.txt, include/osg/Version: Updated version to 1.9.1 - -2007-04-22 21:54 robert - - * AUTHORS.txt: Updated AUTHORS file for 1.9 developer release - -2007-04-22 21:53 robert - - * ChangeLog: Updated ChangeLog - -2007-04-22 21:40 robert - - * applications/osgversion/osgversion.cpp: Added --version-number - support - -2007-04-22 21:18 robert +Tue, 17 Aug 2010 13:10:18 +0000 +Checked in by : Robert Osfield +Added support for RGTC1 and RGTC2 enums - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: 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." +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 -2007-04-22 20:19 robert +" - * include/osg/Version, src/osg/Geometry.cpp, src/osg/Version.cpp, - src/osgDB/Version.cpp, src/osgGA/Version.cpp, - src/osgParticle/Version.cpp, src/osgShadow/Version.cpp, - src/osgSim/Version.cpp, src/osgTerrain/Version.cpp, - src/osgText/Version.cpp, src/osgUtil/Version.cpp, - src/osgViewer/Version.cpp: 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 - * src/osgPlugins/txp/CMakeLists.txt: Added osgSim dependency to txp - plugin +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. " -2007-04-21 11:24 robert +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." - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/txp/CMakeLists.txt: - Added include directory to get txp plugin building +Mon, 16 Aug 2010 14:24:12 +0000 +Checked in by : Robert Osfield +Added material setName. -2007-04-20 16:17 robert +Mon, 16 Aug 2010 14:14:03 +0000 +Checked in by : Robert Osfield +Added support for USE_RGBT1_COMPRESSION and USE_RGBT2_COMPRESSION - * include/osgViewer/HelpHandler, include/osgViewer/StatsHandler, - src/osgViewer/HelpHandler.cpp, src/osgViewer/StatsHandler.cpp, - src/osgViewer/Viewer.cpp: 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. +Mon, 16 Aug 2010 14:11:49 +0000 +Checked in by : Robert Osfield +From Lukasz Izdebski, "Texture: added support for GL_EXT_texture_compression_rgtc, I added support (read and write ) for BC4 BC5 Block Compression to dds file format." -2007-04-20 16:15 robert +Mon, 16 Aug 2010 11:03:24 +0000 +Checked in by : Robert Osfield +Changed setTransformation(eye, center, up) paramter ordering to match gluLookAt conventions. - * applications/osgviewer/osgviewer.cpp: 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. +Mon, 16 Aug 2010 10:11:49 +0000 +Checked in by : Robert Osfield +From Bradley Anderegg, "I fixed a problem with a stack overflow error in Particle.cpp. When the hexagon particle renders it does a glPushMatrix with no matching glPopMatrix, I simply added a glPopMatrix at the end of the rendering code." -2007-04-16 19:40 robert +Mon, 16 Aug 2010 09:35:59 +0000 +Checked in by : Robert Osfield +From Alexander Wiebel, "Documentation of PrimitiveSet" - * src/osgUtil/CullVisitor.cpp: 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." +Mon, 9 Aug 2010 17:02:31 +0000 +Checked in by : Robert Osfield +From David Fries, merge from a series of related submission emails:"enable thread locking in libavcodec -2007-04-16 19:34 robert +This is required for a multithreaded application using ffmpeg from +another thread." - * include/osgTerrain/GeometryTechnique, - src/osgTerrain/GeometryTechnique.cpp: Implement basic - TerrainGeometry code +"Prevent the audio from videos from hanging on exit if they are paused. +The video decoder already has similar logic." -2007-04-16 18:33 robert +"Add a way to retrieve the creation time for MPEG-4 files." - * src/osgPlugins/CMakeLists.txt, - src/osgPlugins/logo/CMakeLists.txt, - src/osgPlugins/txp/CMakeLists.txt: Added logo and txp - CMakeLists.txt files. The txp build is temporarily commented out - while the build is fixed. +"fmpeg, improve wait for close logic -2007-04-16 12:21 robert +Both audio and video destructors have been succesfully using the logic, +if(isRunning()) +{ + m_exit = true; + join(); +} +since it was introduced, - * src/osgWrappers/osg/State.cpp, - src/osgWrappers/osgUtil/StateGraph.cpp: Updated wrappers +but the close routines are using, +m_exit = true; +if(isRunning() && waitForThreadToExit) +{ + while(isRunning()) { OpenThreads::Thread::YieldCurrentThread(); } +} +which not only is it doing an unnecessary busy wait, but it doesn't +guaranteed that the other thread has terminated, just that it has +progressed far enough that OpenThreads has set the thread status as +not running. Like the destructor set the m_exit after checking +isRunning() to avoid the race condition of not getting to join() +because the thread was running, but isRunning() returns false. -2007-04-16 12:20 robert +Now that FFmpeg*close is fixed, call it from the destructor as well +to have that code in only one location." - * src/osgUtil/RenderBin.cpp: Cleaned up state management code -2007-04-16 12:18 robert - * include/osg/State, include/osgUtil/StateGraph, src/osg/State.cpp, - src/osgUtil/RenderBin.cpp: Fixed bug associated with complex - RenderBin setup. -2007-04-16 06:03 robert +Mon, 9 Aug 2010 16:19:50 +0000 +Checked in by : Robert Osfield +Aded option for doing a glFlush() after compiling texture objects, with a dedicated compile thread default to issuing the glFlush. - * src/osg/Version.cpp, src/osgDB/Version.cpp, - src/osgGA/Version.cpp, src/osgParticle/Version.cpp, - src/osgShadow/Version.cpp, src/osgSim/Version.cpp, - src/osgTerrain/Version.cpp, src/osgText/Version.cpp, - src/osgUtil/Version.cpp, src/osgViewer/Version.cpp: Bumbped the - version number up to 1.9, in preperation for using odd release - numbers - for development releases, odd versions for stable releases. +Mon, 9 Aug 2010 16:14:25 +0000 +Checked in by : Robert Osfield +Cleaned up the inline methods -2007-04-15 20:53 robert +Sun, 8 Aug 2010 15:45:25 +0000 +Checked in by : Robert Osfield +From Stephan Huber, "attached you'll find a small enhancement for GraphicsWindowCocoa, so osgViewer behaves smarter, when the computer will reboot or shutdown. In older versions the reboot/shutdown got cancelled by GraphicsWindowCocoa, now it behaves more system conform. " - * src/osgViewer/GraphicsWindowX11.cpp: Fixed choice of display +Sun, 8 Aug 2010 15:44:03 +0000 +Checked in by : Robert Osfield +Removed the erroneous subclassing from osg::Observer -2007-04-15 12:09 robert +Sun, 8 Aug 2010 15:34:43 +0000 +Checked in by : Robert Osfield +From Farshid Lashkari, "This patch simply reduces some messages output in osg::Program from NOTICE to INFO, since they are not important for most users." - * AUTHORS.txt, ChangeLog, applications/osgversion/osgversion.cpp: - Updatged ChangeLog using svn2log, osgversion to handle new SVN - based ChangeLog, and updated AUTHORS.txt +Sun, 8 Aug 2010 15:32:58 +0000 +Checked in by : Robert Osfield +From Cedric Pinson, "I used the lod of the texture manager to track the instance, and it seems that the number of current active texture is wrong. It's because of the line in Texture::TextureObjectSet::flushDeletedTextureObjects_parent->getNumberActiveTextureObjects() += numDeleted;" -2007-04-14 08:31 robert - * src/osgViewer/GraphicsWindowX11.cpp: Added an #include - and extern "C" around X11ErrorHandling to prevent Solaris build - errros -2007-04-13 19:28 robert +Wed, 4 Aug 2010 08:35:49 +0000 +Checked in by : Cedric Pinson +From Rob Smith, makes hardware skinning use of the existing stateset - * src/osgTerrain/GeometryTechnique.cpp: Added some debugging +Sat, 31 Jul 2010 10:33:20 +0000 +Checked in by : Robert Osfield +From Jan Peciva, "I am sending pov plugin for exporting scene to POV-Ray format. POV-Ray is photorealistic ray tracer." -2007-04-13 19:28 robert +Sat, 31 Jul 2010 10:22:37 +0000 +Checked in by : Robert Osfield +From Jeremy Moles, "The version of GCC I use (4.4.3-4ubuntu5) gives the following warning about the Observer header:/home/cubicool/local/include/osg/Observer: In copy constructor +?osg::ObserverSet::ObserverSet(const osg::ObserverSet&)?: +/home/cubicool/local/include/osg/Observer:66: warning: base class ?class +osg::Referenced? should be explicitly initialized in the copy +constructor - * src/osgWrappers/osgManipulator/Dragger.cpp: Updated wrappers +I've been fixing this by hand by using the attached Observer header; it +does exactly what the warning requests. Purely cosmetic, I believe, but +other than that OSG seems to compile w/ -W -Wall just fine." -2007-04-13 14:54 robert - * applications/osgviewer/osgviewer.cpp: Added fullscreen toggle - event handler -2007-04-13 14:54 robert +Sat, 31 Jul 2010 10:20:31 +0000 +Checked in by : Robert Osfield +From Farshid Lashkari, "I noticed that some of my applications output the following notification message: no PixelBufferObject 00000000, 00000000 pbo=00000000 - * src/osgViewer/GraphicsWindowX11.cpp: Added usleep's to avoid X11 - errors when doing X11 calls to close to changes in - window size or decoration. +It's kind of annoying since there is nothing actually wrong. The message is generated from TextureRectangle::applyTexImage_subload when it fails to create a pbo, even if the Image object is not even requesting to use a pbo. This message is not generated by all the other code in TextureRectangle.cpp & Texture.cpp that also attempts to create pbo's. I've modified TextureRectangle.cpp to remove this message, so it is at least consistent with the other code." -2007-04-13 14:23 robert - * include/osgViewer/api/Carbon/GraphicsWindowCarbon, - include/osgViewer/api/Win32/GraphicsWindowWin32, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp: Added setWindowRectangle - implementation for GraphicsWindowWin32, and - place holder for setWindowRectangle implementation for - GraphicsWindowCarbon. -2007-04-13 13:28 robert +Sat, 31 Jul 2010 10:18:41 +0000 +Checked in by : Robert Osfield +From Warren Macchi, "While tracing texture artifacts with the 2.9.8 dev release we uncovered what looks like a type in the "src\osgPlugins\dae\ daeRMaterials.cpp" file. Line 1094 reads: ^^^ + parameters.filter_min = getFilterMode(sampler->getMagfilter()-> + getValue(), false); - * src/osgWrappers/osgViewer/GraphicsWindow.cpp: Updated wrappers +whereas it should read -2007-04-13 13:22 robert + ^^^ + parameters.filter_mag = getFilterMode(sampler->getMagfilter()-> + getValue(), false); +" - * include/osgViewer/GraphicsWindow, - include/osgViewer/api/X11/GraphicsWindowX11, - src/osgViewer/GraphicsWindowX11.cpp: Added s/getWindowRectangle - to GraphicsWindow and implementation in GraphicsWindowX11 -2007-04-13 13:19 robert - * include/osgManipulator/Dragger: Changed hitItr to be a - const_iterator. +Sat, 31 Jul 2010 10:17:06 +0000 +Checked in by : Robert Osfield +From Brad Christiansen, "To build OSG using Visual Studio 2010 Terrain.cpp requires #include . This is a very common fix when using 2010 due to changes in Microsoft STL. " -2007-04-13 10:14 robert +Sat, 31 Jul 2010 09:21:50 +0000 +Checked in by : Robert Osfield +Fixed build - * CMakeLists.txt: From Eric Wing, "I added a warning message for - Mac users about the Universal Binary - problem." +Sat, 31 Jul 2010 09:04:18 +0000 +Checked in by : Robert Osfield +From Ryan Kawicki, "I found a memory leak within the Terrex plugin.Out application has the ability to switch to different types of terrains on the fly. This problem only exists in this type of situation. -2007-04-12 17:30 robert +The TXPArchive is held by the ReadWriterTXP class. When the TXPNode, which is the top level node, is released from memory, the archive associated to that TXPNode is also released. The issue is that the reference count on the TXPArchive never gets to zero. - * CMakeModules/OsgMacroUtils.cmake: Fixed variable name dereference +The reason why the reference count never gets to zero is because the TXPParse, which is owned by the TXPArchive, stores a ref_ptr to the TXPArchive. You can then see why this becomes a problem. The TXPParser's ref_ptr cannot be unreferenced since the TXPArchive has not released the TXPParser. -2007-04-12 10:14 robert +Since the TXPParser is fully contained within the TXPArchive, I don't see the reason to have the TXPParser have a ref_ptr to the TXPArchive. I've made this change locally and have had no problems and our memory leak has been fixed. +" - * CMakeLists.txt: Added different cmake version requirements across - platforms -2007-04-12 10:06 robert - * CMakeLists.txt, CMakeModules/FindOpenThreads.cmake: 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." +Sat, 31 Jul 2010 09:03:04 +0000 +Checked in by : Robert Osfield +From Ryan Kawicki, fixed indentation -2007-04-12 09:59 robert +Sat, 31 Jul 2010 08:57:52 +0000 +Checked in by : Robert Osfield +From Stephan Huber, "changed the CmakeFiles for OpenThreads and the osg-frameworks, so they are versioned by OPENSCENEGRAPH_SOVERSION. "And from a later email: - * CMakeModules/OsgMacroUtils.cmake, - applications/osgversion/CMakeLists.txt, - examples/osgunittests/CMakeLists.txt: Added - SETUP_COMMANDLINE_APPLICATION and SETUP_COMMANDLINE_EXAMPLE - macros +"Attached you'll find a fixed version of ModulInstall.cmake. Hopefully it +works for old CMake-versions. I removed the offending line, and the +compile went fine on my end." -2007-04-12 09:33 robert - * CMakeModules/OsgMacroUtils.cmake, - applications/osgversion/CMakeLists.txt, - examples/osgunittests/CMakeLists.txt: 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?" - -2007-04-12 09:32 robert - - * src/osgWrappers/osgDB/ImageOptions.cpp: Updated wrappers - -2007-04-12 09:32 robert - - * include/osgDB/ImageOptions: From Mike Wittman, fix to CopyOp&. - -2007-04-12 09:18 robert - - * examples/osgsimpleviewerCocoa/SimpleViewerCocoa.mm: From Eric - Wing, "Minor robustness fix to osgsimpleviewerCocoa." - -2007-04-11 17:39 robert - - * include/osgTerrain/GeometryTechnique, - src/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/osgTerrain/TerrainNode.cpp: Prep work on new - TerrainGeometry Drawable which supports selective display - list/VBO's usage. - - Updated wrappers - -2007-04-11 11:20 robert - - * examples/osgterrain/osgterrain.cpp: Changed the parameter - handling so that it supports left to right inheritance of - settings - -2007-04-11 11:20 robert - - * include/osgTerrain/TerrainNode, - src/osgTerrain/GeometryTechnique.cpp, - src/osgTerrain/TerrainNode.cpp: Added support for multiple colour - layers, and fixed handling of elevation - and colour layers having different locator - -2007-04-11 08:35 robert - - * CMakeLists.txt: 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. - " - -2007-04-11 08:33 robert - - * CMakeLists.txt: Removed tabs - -2007-04-10 13:58 robert - - * examples/osgGLUTkeyboardmouse/GNUmakefile.inst, - examples/osgGLUTsimple/GNUmakefile.inst, - examples/osganimate/GNUmakefile.inst, - examples/osgautotransform/GNUmakefile.inst, - examples/osgbillboard/GNUmakefile.inst, - examples/osgblendequation/GNUmakefile.inst, - examples/osgcallback/GNUmakefile.inst, - examples/osgcamera/GNUmakefile.inst, - examples/osgcatch/GNUmakefile.inst, - examples/osgcegui/GNUmakefile.inst, - examples/osgclip/GNUmakefile.inst, - examples/osgcluster/GNUmakefile.inst, - examples/osgcopy/GNUmakefile.inst, - examples/osgcubemap/GNUmakefile.inst, - examples/osgdelaunay/GNUmakefile.inst, - examples/osgdepthpartition/GNUmakefile.inst, - examples/osgdepthshadow/GNUmakefile.inst, - examples/osgdistortion/GNUmakefile.inst, - examples/osgfadetext/GNUmakefile.inst, - examples/osgforest/GNUmakefile.inst, - examples/osgfxbrowser/GNUmakefile.inst, - examples/osggeodemo/GNUmakefile.inst, - examples/osggeometry/GNUmakefile.inst, - examples/osghangglide/GNUmakefile.inst, - examples/osghud/GNUmakefile.inst, - examples/osgimpostor/GNUmakefile.inst, - examples/osgintersection/GNUmakefile.inst, - examples/osgintrospection/GNUmakefile.inst, - examples/osgkeyboard/GNUmakefile.inst, - examples/osgkeyboardmouse/GNUmakefile.inst, - examples/osglauncher/GNUmakefile.inst, - examples/osglight/GNUmakefile.inst, - examples/osglightpoint/GNUmakefile.inst, - examples/osglogicop/GNUmakefile.inst, - examples/osglogo/GNUmakefile.inst, - examples/osgmanipulator/GNUmakefile.inst, - examples/osgmotionblur/GNUmakefile.inst, - examples/osgmovie/GNUmakefile.inst, - examples/osgmultiplecameras/GNUmakefile.inst, - examples/osgmultitexture/GNUmakefile.inst, - examples/osgoccluder/GNUmakefile.inst, - examples/osgpagedlod/GNUmakefile.inst, - examples/osgparametric/GNUmakefile.inst, - examples/osgparticle/GNUmakefile.inst, - examples/osgparticleeffects/GNUmakefile.inst, - examples/osgphotoalbum/GNUmakefile.inst, - examples/osgpick/GNUmakefile.inst, - examples/osgplanets/GNUmakefile.inst, - examples/osgpoints/GNUmakefile.inst, - examples/osgpointsprite/GNUmakefile.inst, - examples/osgprecipitation/GNUmakefile.inst, - examples/osgprerender/GNUmakefile.inst, - examples/osgprerendercubemap/GNUmakefile.inst, - examples/osgreflect/GNUmakefile.inst, - examples/osgscalarbar/GNUmakefile.inst, - examples/osgscribe/GNUmakefile.inst, - examples/osgsequence/GNUmakefile.inst, - examples/osgshaders/GNUmakefile.inst, - examples/osgshaderterrain/GNUmakefile.inst, - examples/osgshadow/GNUmakefile.inst, - examples/osgshadowtexture/GNUmakefile.inst, - examples/osgshape/GNUmakefile.inst, - examples/osgsimple/GNUmakefile.inst, - examples/osgsimpleviewerFLTK/GNUmakefile.inst, - examples/osgsimpleviewerGLUT/GNUmakefile.inst, - examples/osgsimpleviewerQT3/GNUmakefile.inst, - examples/osgsimpleviewerQT4/GNUmakefile.inst, - examples/osgsimpleviewerSDL/GNUmakefile.inst, - examples/osgsimplifier/GNUmakefile.inst, - examples/osgsimulation/GNUmakefile.inst, - examples/osgslice/GNUmakefile.inst, - examples/osgspacewarp/GNUmakefile.inst, - examples/osgspheresegment/GNUmakefile.inst, - examples/osgspotlight/GNUmakefile.inst, - examples/osgstereoimage/GNUmakefile.inst, - examples/osgteapot/GNUmakefile.inst, - examples/osgtessellate/GNUmakefile.inst, - examples/osgtext/GNUmakefile.inst, - examples/osgtexture1D/GNUmakefile.inst, - examples/osgtexture2D/GNUmakefile.inst, - examples/osgtexture3D/GNUmakefile.inst, - examples/osgtexturerectangle/GNUmakefile.inst, - examples/osgunittests/GNUmakefile.inst, - examples/osgvertexprogram/GNUmakefile.inst, - examples/osgvolume/GNUmakefile.inst, - examples/osgwindows/GNUmakefile.inst: Removed old - GNUmakefile.inst files - -2007-04-10 13:23 robert - - * INSTALL.txt, README.txt: Updated INSTALL and README to refect new - Cmake build - -2007-04-10 13:15 robert - - * bin, lib: Removed the bin and lib directories as these are now - built automatically by CMake. - -2007-04-10 13:12 robert - - * VisualStudio/OpenSceneGraph.dsw, VisualStudio/fixup-vc6-dsps.pl, - VisualStudio/osgIntrospection, VisualStudio/osgManipulator, - VisualStudio/osgParticle, VisualStudio/reset-64bit-outdirs.pl: - Removed more of the old VisualStudio build system - -2007-04-10 13:10 robert - - * GNUmakefile, Make, VisualStudio/applications, - VisualStudio/examples, VisualStudio/osg, VisualStudio/osgDB, - VisualStudio/osgFX, VisualStudio/osgGA, VisualStudio/osgPlugins, - VisualStudio/osgShadow, VisualStudio/osgSim, - VisualStudio/osgTerrain, VisualStudio/osgText, - VisualStudio/osgUtil, VisualStudio/osgViewer, - VisualStudio/osgWrappers, applications/GNUmakefile, - applications/osgarchive/GNUmakefile, - applications/osgconv/GNUmakefile, - applications/osgversion/GNUmakefile, - applications/osgviewer/GNUmakefile, dist, examples/GNUmakefile, - examples/osgGLUTkeyboardmouse/GNUmakefile, - examples/osgGLUTsimple/GNUmakefile, - examples/osganimate/GNUmakefile, - examples/osgautotransform/GNUmakefile, - examples/osgbillboard/GNUmakefile, - examples/osgblendequation/GNUmakefile, - examples/osgcallback/GNUmakefile, examples/osgcamera/GNUmakefile, - examples/osgcatch/GNUmakefile, examples/osgcegui/GNUmakefile, - examples/osgclip/GNUmakefile, examples/osgcluster/GNUmakefile, - examples/osgcopy/GNUmakefile, examples/osgcubemap/GNUmakefile, - examples/osgdelaunay/GNUmakefile, - examples/osgdepthpartition/GNUmakefile, - examples/osgdepthshadow/GNUmakefile, - examples/osgdistortion/GNUmakefile, - examples/osgfadetext/GNUmakefile, examples/osgforest/GNUmakefile, - examples/osgfxbrowser/GNUmakefile, - examples/osggeodemo/GNUmakefile, - examples/osggeometry/GNUmakefile, - examples/osghangglide/GNUmakefile, examples/osghud/GNUmakefile, - examples/osgimpostor/GNUmakefile, - examples/osgintersection/GNUmakefile, - examples/osgintrospection/GNUmakefile, - examples/osgkeyboard/GNUmakefile, - examples/osgkeyboardmouse/GNUmakefile, - examples/osglauncher/GNUmakefile, examples/osglight/GNUmakefile, - examples/osglightpoint/GNUmakefile, - examples/osglogicop/GNUmakefile, examples/osglogo/GNUmakefile, - examples/osgmanipulator/GNUmakefile, - examples/osgmotionblur/GNUmakefile, - examples/osgmovie/GNUmakefile, - examples/osgmultiplecameras/GNUmakefile, - examples/osgmultitexture/GNUmakefile, - examples/osgoccluder/GNUmakefile, - examples/osgpagedlod/GNUmakefile, - examples/osgparametric/GNUmakefile, - examples/osgparticle/GNUmakefile, - examples/osgparticleeffects/GNUmakefile, - examples/osgphotoalbum/GNUmakefile, examples/osgpick/GNUmakefile, - examples/osgplanets/GNUmakefile, examples/osgpoints/GNUmakefile, - examples/osgpointsprite/GNUmakefile, - examples/osgprecipitation/GNUmakefile, - examples/osgprerender/GNUmakefile, - examples/osgprerendercubemap/GNUmakefile, - examples/osgreflect/GNUmakefile, - examples/osgscalarbar/GNUmakefile, - examples/osgscribe/GNUmakefile, examples/osgsequence/GNUmakefile, - examples/osgshaders/GNUmakefile, - examples/osgshaderterrain/GNUmakefile, - examples/osgshadow/GNUmakefile, - examples/osgshadowtexture/GNUmakefile, - examples/osgshape/GNUmakefile, examples/osgsimple/GNUmakefile, - examples/osgsimpleviewerFLTK/GNUmakefile, - examples/osgsimpleviewerGLUT/GNUmakefile, - examples/osgsimpleviewerQT3/GNUmakefile, - examples/osgsimpleviewerQT4/GNUmakefile, - examples/osgsimpleviewerSDL/GNUmakefile, - examples/osgsimplifier/GNUmakefile, - examples/osgsimulation/GNUmakefile, - examples/osgslice/GNUmakefile, examples/osgspacewarp/GNUmakefile, - examples/osgspheresegment/GNUmakefile, - examples/osgspotlight/GNUmakefile, - examples/osgstereoimage/GNUmakefile, - examples/osgteapot/GNUmakefile, - examples/osgtessellate/GNUmakefile, examples/osgtext/GNUmakefile, - examples/osgtexture1D/GNUmakefile, - examples/osgtexture2D/GNUmakefile, - examples/osgtexture3D/GNUmakefile, - examples/osgtexturerectangle/GNUmakefile, - examples/osgunittests/GNUmakefile, - examples/osgvertexprogram/GNUmakefile, - examples/osgvolume/GNUmakefile, examples/osgwindows/GNUmakefile, - src/GNUmakefile, src/osg/GNUmakefile, src/osgDB/GNUmakefile, - src/osgFX/GNUmakefile, src/osgGA/GNUmakefile, - src/osgIntrospection/GNUmakefile, src/osgManipulator/GNUmakefile, - src/osgParticle/GNUmakefile, src/osgPlugins/3dc/GNUmakefile, - src/osgPlugins/3ds/GNUmakefile, src/osgPlugins/GNUmakefile, - src/osgPlugins/Inventor/GNUmakefile, - src/osgPlugins/OpenFlight/GNUmakefile, - src/osgPlugins/ac/GNUmakefile, src/osgPlugins/bmp/GNUmakefile, - src/osgPlugins/bsp/GNUmakefile, src/osgPlugins/dae/GNUmakefile, - src/osgPlugins/dds/GNUmakefile, src/osgPlugins/dw/GNUmakefile, - src/osgPlugins/dxf/GNUmakefile, - src/osgPlugins/freetype/GNUmakefile, - src/osgPlugins/geo/GNUmakefile, src/osgPlugins/gif/GNUmakefile, - src/osgPlugins/hdr/GNUmakefile, src/osgPlugins/ive/GNUmakefile, - src/osgPlugins/jp2/GNUmakefile, src/osgPlugins/jpeg/GNUmakefile, - src/osgPlugins/logo/GNUmakefile, src/osgPlugins/lwo/GNUmakefile, - src/osgPlugins/lws/GNUmakefile, src/osgPlugins/md2/GNUmakefile, - src/osgPlugins/net/GNUmakefile, - src/osgPlugins/normals/GNUmakefile, - src/osgPlugins/obj/GNUmakefile, src/osgPlugins/osg/GNUmakefile, - src/osgPlugins/osgFX/GNUmakefile, - src/osgPlugins/osgParticle/GNUmakefile, - src/osgPlugins/osgShadow/GNUmakefile, - src/osgPlugins/osgSim/GNUmakefile, - src/osgPlugins/osgText/GNUmakefile, - src/osgPlugins/osgViewer/GNUmakefile, - src/osgPlugins/osga/GNUmakefile, - src/osgPlugins/osgtgz/GNUmakefile, - src/osgPlugins/pfb/GNUmakefile, src/osgPlugins/pic/GNUmakefile, - src/osgPlugins/png/GNUmakefile, src/osgPlugins/pnm/GNUmakefile, - src/osgPlugins/quicktime/GNUmakefile, - src/osgPlugins/rgb/GNUmakefile, src/osgPlugins/rot/GNUmakefile, - src/osgPlugins/scale/GNUmakefile, src/osgPlugins/shp/GNUmakefile, - src/osgPlugins/stl/GNUmakefile, src/osgPlugins/tga/GNUmakefile, - src/osgPlugins/tgz/GNUmakefile, src/osgPlugins/tiff/GNUmakefile, - src/osgPlugins/trans/GNUmakefile, src/osgPlugins/txf/GNUmakefile, - src/osgPlugins/txp/GNUmakefile, src/osgPlugins/vrml/GNUmakefile, - src/osgPlugins/x/GNUmakefile, src/osgPlugins/xine/GNUmakefile, - src/osgPlugins/zip/GNUmakefile, src/osgShadow/GNUmakefile, - src/osgSim/GNUmakefile, src/osgTerrain/GNUmakefile, - src/osgText/GNUmakefile, src/osgUtil/GNUmakefile, - src/osgViewer/GNUmakefile, src/osgWrappers/GNUmakefile, - src/osgWrappers/osg/GNUmakefile, - src/osgWrappers/osgDB/GNUmakefile, - src/osgWrappers/osgFX/GNUmakefile, - src/osgWrappers/osgGA/GNUmakefile, - src/osgWrappers/osgManipulator/GNUmakefile, - src/osgWrappers/osgParticle/GNUmakefile, - src/osgWrappers/osgShadow/GNUmakefile, - src/osgWrappers/osgSim/GNUmakefile, - src/osgWrappers/osgTerrain/GNUmakefile, - src/osgWrappers/osgText/GNUmakefile, - src/osgWrappers/osgUtil/GNUmakefile, - src/osgWrappers/osgViewer/GNUmakefile: Removed old gmake and - VisualStudio build files - -2007-04-10 12:11 robert - - * VisualStudio/osgViewer/osgViewer.dsp: Updated to refect new - incldue/osgViewer/Win32 directory for GraphicsWindowWin32 - -2007-04-10 11:09 robert - - * genwrapper.conf: Updated wrapper to honour move of - GraphicsWindow* include/osgViewer/api/ - -2007-04-10 11:03 robert - - * include/osgViewer/GraphicsWindowCarbon, - include/osgViewer/GraphicsWindowCocoa, - include/osgViewer/GraphicsWindowWin32, - include/osgViewer/GraphicsWindowX11, include/osgViewer/api, - include/osgViewer/api/Carbon, - include/osgViewer/api/Carbon/GraphicsWindowCarbon, - include/osgViewer/api/FLTK, include/osgViewer/api/Fox, - include/osgViewer/api/GLUT, include/osgViewer/api/Motif, - include/osgViewer/api/Qt, include/osgViewer/api/SDL, - include/osgViewer/api/Win32, - include/osgViewer/api/Win32/GraphicsWindowWin32, - include/osgViewer/api/WxWidgets, include/osgViewer/api/X11, - include/osgViewer/api/X11/GraphicsWindowX11, - src/osgViewer/CMakeLists.txt, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowCocoa.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp: 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. - -2007-04-06 19:51 robert - - * src/osgUtil/TangentSpaceGenerator.cpp: Fixed the handle of - triangle fan. - -2007-04-06 19:38 robert - - * examples/osgkeyboardmouse/osgkeyboardmouse.cpp: Added extra check - to prevent calling frame() when the window has been closed. - -2007-04-06 15:36 robert - - * applications/osgconv/osgconv.cpp, - examples/osgdistortion/osgdistortion.cpp, - examples/osgunittests/UnitTestFramework.cpp, - include/osgGA/KeySwitchMatrixManipulator, - include/osgGA/NodeTrackerManipulator, - include/osgGA/TerrainManipulator, - include/osgShadow/OccluderGeometry, - src/osgPlugins/3ds/atmosphere.h, src/osgPlugins/3ds/background.h, - src/osgPlugins/3ds/camera.h, src/osgPlugins/3ds/chunk.h, - src/osgPlugins/3ds/chunktable.h, src/osgPlugins/3ds/ease.h, - src/osgPlugins/3ds/file.h, src/osgPlugins/3ds/lib3ds_float.h, - src/osgPlugins/3ds/light.h, src/osgPlugins/3ds/material.h, - src/osgPlugins/3ds/matrix.h, src/osgPlugins/3ds/mesh.h, - src/osgPlugins/3ds/node.h, src/osgPlugins/3ds/quat.h, - src/osgPlugins/3ds/readwrite.h, src/osgPlugins/3ds/shadow.h, - src/osgPlugins/3ds/tcb.h, src/osgPlugins/3ds/tracks.h, - src/osgPlugins/3ds/types.h, src/osgPlugins/3ds/vector.h, - src/osgPlugins/3ds/viewport.h, src/osgPlugins/ac/ac3d.cpp, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/net/sockstream.h, src/osgPlugins/x/types.cpp, - src/osgSim/ColorRange.cpp, src/osgTerrain/GeometryTechnique.cpp, - src/osgText/Font.cpp, src/osgUtil/Statistics.cpp, - src/osgUtil/TriStrip_tri_stripper.h, - src/osgViewer/GraphicsWindowCarbon.cpp: From Eric Wing, pedantic - warning fixes - -2007-04-06 15:35 robert - - * src/osgWrappers/osg/AnimationPath.cpp, - src/osgWrappers/osg/ApplicationUsage.cpp, - src/osgWrappers/osg/ArgumentParser.cpp, - src/osgWrappers/osg/Array.cpp, src/osgWrappers/osg/Billboard.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/CameraNode.cpp, - src/osgWrappers/osg/ClipNode.cpp, - src/osgWrappers/osg/CollectOccludersVisitor.cpp, - src/osgWrappers/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/osg/ConvexPlanarPolygon.cpp, - src/osgWrappers/osg/CoordinateSystemNode.cpp, - src/osgWrappers/osg/CopyOp.cpp, - src/osgWrappers/osg/CullSettings.cpp, - src/osgWrappers/osg/CullStack.cpp, - src/osgWrappers/osg/CullingSet.cpp, - src/osgWrappers/osg/DeleteHandler.cpp, - src/osgWrappers/osg/Drawable.cpp, - src/osgWrappers/osg/FragmentProgram.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osg/Geode.cpp, src/osgWrappers/osg/Geometry.cpp, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/Group.cpp, src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/LOD.cpp, src/osgWrappers/osg/Matrix.cpp, - src/osgWrappers/osg/Matrixd.cpp, src/osgWrappers/osg/Matrixf.cpp, - src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/NodeTrackerCallback.cpp, - src/osgWrappers/osg/PagedLOD.cpp, src/osgWrappers/osg/Plane.cpp, - src/osgWrappers/osg/Polytope.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osg/Program.cpp, - src/osgWrappers/osg/ProxyNode.cpp, src/osgWrappers/osg/Quat.cpp, - src/osgWrappers/osg/ShadeModel.cpp, - src/osgWrappers/osg/ShadowVolumeOccluder.cpp, - src/osgWrappers/osg/Shape.cpp, src/osgWrappers/osg/State.cpp, - src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/StateSet.cpp, src/osgWrappers/osg/Stats.cpp, - src/osgWrappers/osg/Switch.cpp, src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osg/Timer.cpp, src/osgWrappers/osg/Uniform.cpp, - src/osgWrappers/osg/Vec2.cpp, src/osgWrappers/osg/Vec2b.cpp, - src/osgWrappers/osg/Vec2d.cpp, src/osgWrappers/osg/Vec2f.cpp, - src/osgWrappers/osg/Vec2s.cpp, src/osgWrappers/osg/Vec3.cpp, - src/osgWrappers/osg/Vec3b.cpp, src/osgWrappers/osg/Vec3d.cpp, - src/osgWrappers/osg/Vec3f.cpp, src/osgWrappers/osg/Vec3s.cpp, - src/osgWrappers/osg/Vec4.cpp, src/osgWrappers/osg/Vec4b.cpp, - src/osgWrappers/osg/Vec4d.cpp, src/osgWrappers/osg/Vec4f.cpp, - src/osgWrappers/osg/Vec4s.cpp, src/osgWrappers/osg/Vec4ub.cpp, - src/osgWrappers/osg/VertexProgram.cpp, - src/osgWrappers/osg/Viewport.cpp, - src/osgWrappers/osgDB/Archive.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/DotOsgWrapper.cpp, - src/osgWrappers/osgDB/DynamicLibrary.cpp, - src/osgWrappers/osgDB/FileUtils.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgFX/Registry.cpp, - src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgGA/EventVisitor.cpp, - src/osgWrappers/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/osgManipulator/Dragger.cpp, - src/osgWrappers/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/osgParticle/range.cpp, - src/osgWrappers/osgShadow/OccluderGeometry.cpp, - src/osgWrappers/osgSim/ColorRange.cpp, - src/osgWrappers/osgSim/ElevationSlice.cpp, - src/osgWrappers/osgSim/Impostor.cpp, - src/osgWrappers/osgSim/LightPointNode.cpp, - src/osgWrappers/osgSim/LineOfSight.cpp, - src/osgWrappers/osgSim/MultiSwitch.cpp, - src/osgWrappers/osgSim/SphereSegment.cpp, - src/osgWrappers/osgText/String.cpp, - src/osgWrappers/osgText/Text.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/DelaunayTriangulator.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgUtil/IntersectionVisitor.cpp, - src/osgWrappers/osgUtil/LineSegmentIntersector.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp, - src/osgWrappers/osgUtil/PlaneIntersector.cpp, - src/osgWrappers/osgUtil/PolytopeIntersector.cpp, - src/osgWrappers/osgUtil/PositionalStateContainer.cpp, - src/osgWrappers/osgUtil/RenderBin.cpp, - src/osgWrappers/osgUtil/SceneView.cpp, - src/osgWrappers/osgUtil/Simplifier.cpp, - src/osgWrappers/osgUtil/StateGraph.cpp, - src/osgWrappers/osgUtil/Statistics.cpp, - src/osgWrappers/osgUtil/Tessellator.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/SimpleViewer.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Updated wrappers - -2007-04-06 15:13 robert - - * src/osg/ConvexPlanarOccluder.cpp, src/osg/CopyOp.cpp, - src/osg/DeleteHandler.cpp, src/osg/Object.cpp, - src/osg/Referenced.cpp, src/osg/dxtctool.cpp: From Eric Wing, - pedantic warning fixes - -2007-04-06 14:40 robert - - * src/osgViewer/View.cpp: 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 - - * genwrapper.conf: 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-04-06 14:36 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: 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 - - * src/osgShadow/ShadowVolume.cpp: Add setting of - ShadowVolumeGeometry draw mode - -2007-04-05 20:27 robert - - * include/osg/ShadeModel: Set default ShadeModel back to SMOOTH - -2007-04-05 16:12 robert - - * include/osg/ShadeModel, src/osg/ShadeModel.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/ShadeModel.cpp: Added constructor argument to - ShadeModel - -2007-04-05 15:04 robert - - * src/osg/GraphicsContext.cpp, src/osg/GraphicsThread.cpp: - Commented out superfluous debug messages - -2007-04-05 14:56 robert - - * src/osgTerrain/GeometryTechnique.cpp: 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-04-04 09:07 robert +Sat, 31 Jul 2010 08:56:44 +0000 +Checked in by : Robert Osfield +Added output of triangles at problem vertices - * include/osg/BufferObject, src/osgUtil/SceneView.cpp: Added - support for flushing buffer objects +Fri, 30 Jul 2010 19:39:38 +0000 +Checked in by : Robert Osfield +Beginning of crease angle support for SmoothingVisitor to all it duplicate vertices are creases thus enabling separate normals for triangles adjacent to the creases. -2007-04-04 08:09 robert +Fri, 30 Jul 2010 16:06:22 +0000 +Checked in by : Robert Osfield +Changed emit() to emitParticles() to avoid collision with Qt. - * VisualStudio/highlight70.reg, VisualStudio/highlight71.reg, - VisualStudio/highlight80.reg: From Paul Martz, added osgViewer - headers to VS syntax highlighting. +Thu, 29 Jul 2010 16:09:49 +0000 +Checked in by : Robert Osfield +From Wang Rui, fixes to handling of indentation. -2007-04-04 08:06 robert +Mon, 26 Jul 2010 11:12:45 +0000 +Checked in by : Robert Osfield +Added bevel geometry - * examples/osgshaderterrain/CMakeLists.txt: Removed OpenThreads - reference +Mon, 26 Jul 2010 11:06:45 +0000 +Checked in by : Robert Osfield +Clean up boudnary code -2007-04-04 08:05 robert +Mon, 26 Jul 2010 08:41:05 +0000 +Checked in by : Robert Osfield +Added a os< for - non Win32/Mingw build - -2007-03-27 08:40 robert - - * src/osgViewer/GNUmakefile: Added -lgdi32 to CYGWIN path - -2007-03-26 19:38 robert - - * VisualStudio/osgPlugins/dae/dae.dsp: Fixed header files - specification - -2007-03-26 19:24 robert - - * include/osgTerrain/Locator: Added return false; to default - implementations of convert functions - -2007-03-26 16:32 robert - - * VisualStudio/osgTerrain/osgTerrain.dsp: Added GeometryTechnique - -2007-03-26 16:28 robert - - * include/osgViewer/GraphicsWindowCarbon, - include/osgViewer/GraphicsWindowX11, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowX11.cpp: Removed WindowData parameter - from init(). -2007-03-26 15:52 robert - * examples/osgterrain/osgterrain.cpp, include/osgTerrain/Layer, - include/osgTerrain/Locator, src/osgViewer/CMakeLists.txt: Added - Locator and layer setting to osgterrain example -2007-03-26 13:02 robert +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()." - * CMakeModules/FindOpenThreads.cmake, - CMakeModules/OsgMacroUtils.cmake, src/osg/CMakeLists.txt, - src/osgDB/CMakeLists.txt, src/osgFX/CMakeLists.txt, - src/osgIntrospection/CMakeLists.txt, - src/osgManipulator/CMakeLists.txt, - src/osgParticle/CMakeLists.txt, src/osgShadow/CMakeLists.txt, - src/osgSim/CMakeLists.txt, src/osgTerrain/CMakeLists.txt, - src/osgText/CMakeLists.txt, src/osgUtil/CMakeLists.txt, - src/osgViewer/CMakeLists.txt: 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-03-26 13:00 robert - * include/osg/ShapeDrawable: 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." +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. -2007-03-26 09:48 robert +2. New .pc file for osgQt, also created only if that library is actually +compiled. +" - * examples/osgGLUTkeyboardmouse/CMakeLists.txt, - examples/osgGLUTsimple/CMakeLists.txt, - examples/osgsimpleviewerGLUT/CMakeLists.txt, - examples/osgsimpleviewerQT3/CMakeLists.txt, - examples/osgsimpleviewerQT4/CMakeLists.txt, - examples/osgsimpleviewerSDL/CMakeLists.txt: Changed the external - library specification to use TARGET_EXTERNAL_LIBRARIES -2007-03-25 11:47 robert - * applications/CMakeLists.txt, examples/CMakeLists.txt: Removed - OpenThreads from the list of TARGET_COMMON_LIBRARIES to prevent - double - linking of OpenThreadsd and OpenThreads during debug build. +Mon, 21 Jun 2010 15:09:07 +0000 +Checked in by : Robert Osfield +Moved Xcode project out into OpenSceneGraph/deprecated -2007-03-23 17:37 robert +Mon, 21 Jun 2010 14:42:18 +0000 +Checked in by : Robert Osfield +Implement support for compound name only entries in CompositeLayer - * src/osgIntrospection/Type.cpp: 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, 21 Jun 2010 10:33:46 +0000 +Checked in by : Robert Osfield +Updated version number for next dev release -2007-03-23 17:27 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." - * include/osg/Drawable, src/osgWrappers/osg/Drawable.cpp, - src/osgWrappers/osgTerrain/Layer.cpp: From Mike Wittman, remove - redundent const from in front of unsigned int. - From Robert Osfield, updated wrappers +Fri, 18 Jun 2010 16:07:55 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and AUTHORS file for 2.9.8 release -2007-03-23 10:11 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." - * src/osg/CMakeLists.txt: Added missing StencilTwoSided header +Fri, 18 Jun 2010 15:46:10 +0000 +Checked in by : Robert Osfield +Updated AUTHORS -2007-03-23 08:53 robert +Fri, 18 Jun 2010 15:16:20 +0000 +Checked in by : Robert Osfield +Updated ChangeLog - * CMakeLists.txt: Added automatic creation of lib bin and - lib/osgPlugins +Fri, 18 Jun 2010 14:53:58 +0000 +Checked in by : Robert Osfield +Added checks against windows being realized before doing warp pointer -2007-03-22 15:39 robert +Fri, 18 Jun 2010 09:48:55 +0000 +Checked in by : Robert Osfield +#if 0'd out debugging timing code for detecting deadlocks - * lib/osgPlugins: Added osgPlugins as a temporary work around for - keeping cmake build compiling plugins +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 -2007-03-22 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. +" - * examples/osgsimpleviewerQT4/CMakeLists.txt: Added CMake build - suppport for osgsimpleviewerQT4 - -2007-03-22 14:44 robert - - * CMakeLists.txt, examples/CMakeLists.txt, - examples/osgintrospection/CMakeLists.txt, - examples/osgsimpleviewerFLTK/CMakeLists.txt, - examples/osgsimpleviewerQT3/CMakeLists.txt: Added CMake QT3, FLTK - and osgintrospection example build support. - -2007-03-22 14:06 robert - - * examples/CMakeLists.txt, - examples/osgGLUTkeyboardmouse/CMakeLists.txt, - examples/osgGLUTsimple/CMakeLists.txt, - examples/osgsimpleviewerGLUT/CMakeLists.txt, - examples/osgsimpleviewerSDL/CMakeLists.txt: Added CMake build - support for GLUT and SDL examples - -2007-03-22 13:38 robert - - * CMakeLists.txt, src/osg/CMakeLists.txt: From Eric Wing, added - ${MATH_LIB} to osg CMakeLists.txt and definition of this to m - under unix - -2007-03-22 13:37 robert - - * src/osgIntrospection/CMakeLists.txt: Updated the header list - -2007-03-22 12:58 robert - - * examples/CMakeLists.txt: Fixed link name - -2007-03-21 17:18 robert - - * include/osgTerrain/Layer, src/osgTerrain/Layer.cpp, - src/osgTerrain/TerrainTechnique.cpp: Added ImageLayer, ArrayLayer - and HeightFieldLayer classes - -2007-03-21 16:34 robert - - * VisualStudio/osgWrappers/osgTerrain/wrapper_osgTerrain.dsp, - examples/osgdistortion/osgdistortion.cpp, - examples/osgterrain/osgterrain.cpp, include/osg/TransferFunction, - include/osgTerrain/GeometryTechnique, include/osgTerrain/Layer, - include/osgTerrain/Locator, include/osgTerrain/TerrainNode, - include/osgTerrain/TerrainTechnique, - src/osgTerrain/CMakeLists.txt, - src/osgTerrain/GeometryTechnique.cpp, - src/osgTerrain/TerrainNode.cpp, - src/osgTerrain/TerrainTechnique.cpp, - src/osgWrappers/osg/TransferFunction.cpp, - src/osgWrappers/osgTerrain/GNUmakefile, - src/osgWrappers/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/osgTerrain/Locator.cpp, - src/osgWrappers/osgTerrain/TerrainNode.cpp, - src/osgWrappers/osgTerrain/TerrainTechnique.cpp: 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 - - * src/osgManipulator/CMakeLists.txt: Removed erroneous entry of - GNUmakefile - -2007-03-20 17:07 robert - - * src/osgManipulator/AntiSquish.cpp: Added osg:: to - computeLocalToWorld to fix build under VS7. - -2007-03-20 11:19 robert - - * examples/CMakeLists.txt: From Luigi Calori, clean up - CMakeLists.txt - -2007-03-20 09:50 robert - - * CMakeLists.txt, CMakeModules/FindInventor.cmake, - src/osgPlugins/CMakeLists.txt, - src/osgPlugins/Inventor/CMakeLists.txt: From Philip Lowman, added - support for Inventor - -2007-03-19 19:05 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Andreas Goebel, build - fix - -2007-03-19 17:24 robert - - * CMakeModules/OsgMacroUtils.cmake, - src/osgPlugins/3dc/CMakeLists.txt, - src/osgPlugins/3ds/CMakeLists.txt, - src/osgPlugins/OpenFlight/CMakeLists.txt, - src/osgPlugins/ac/CMakeLists.txt, - src/osgPlugins/bmp/CMakeLists.txt, - src/osgPlugins/dds/CMakeLists.txt, - src/osgPlugins/dw/CMakeLists.txt, - src/osgPlugins/dxf/CMakeLists.txt, - src/osgPlugins/freetype/CMakeLists.txt, - src/osgPlugins/geo/CMakeLists.txt, - src/osgPlugins/gif/CMakeLists.txt, - src/osgPlugins/hdr/CMakeLists.txt, - src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/jpeg/CMakeLists.txt, - src/osgPlugins/lws/CMakeLists.txt, - src/osgPlugins/md2/CMakeLists.txt, - src/osgPlugins/net/CMakeLists.txt, - src/osgPlugins/obj/CMakeLists.txt, - src/osgPlugins/osg/CMakeLists.txt, - src/osgPlugins/osgFX/CMakeLists.txt, - src/osgPlugins/osgParticle/CMakeLists.txt, - src/osgPlugins/osgShadow/CMakeLists.txt, - src/osgPlugins/osgSim/CMakeLists.txt, - src/osgPlugins/osgText/CMakeLists.txt, - src/osgPlugins/osgViewer/CMakeLists.txt, - src/osgPlugins/osga/CMakeLists.txt, - src/osgPlugins/osgtgz/CMakeLists.txt, - src/osgPlugins/pic/CMakeLists.txt, - src/osgPlugins/png/CMakeLists.txt, - src/osgPlugins/rgb/CMakeLists.txt, - src/osgPlugins/rot/CMakeLists.txt, - src/osgPlugins/scale/CMakeLists.txt, - src/osgPlugins/shp/CMakeLists.txt, - src/osgPlugins/stl/CMakeLists.txt, - src/osgPlugins/tga/CMakeLists.txt, - src/osgPlugins/tgz/CMakeLists.txt, - src/osgPlugins/tiff/CMakeLists.txt, - src/osgPlugins/trans/CMakeLists.txt, - src/osgPlugins/txf/CMakeLists.txt, - src/osgPlugins/x/CMakeLists.txt, - src/osgPlugins/zip/CMakeLists.txt: Moved the TARGET_NAME setting - into the OsgMacroUtils.cmake. - -2007-03-19 17:18 robert - - * CMakeModules/OsgMacroUtils.cmake, - applications/osgarchive/CMakeLists.txt, - applications/osgconv/CMakeLists.txt, - applications/osgversion/CMakeLists.txt, - applications/osgviewer/CMakeLists.txt, - examples/osganimate/CMakeLists.txt, - examples/osgautotransform/CMakeLists.txt, - examples/osgbillboard/CMakeLists.txt, - examples/osgblendequation/CMakeLists.txt, - examples/osgcallback/CMakeLists.txt, - examples/osgcamera/CMakeLists.txt, - examples/osgcatch/CMakeLists.txt, - examples/osgclip/CMakeLists.txt, examples/osgcopy/CMakeLists.txt, - examples/osgcubemap/CMakeLists.txt, - examples/osgdelaunay/CMakeLists.txt, - examples/osgdepthpartition/CMakeLists.txt, - examples/osgdepthshadow/CMakeLists.txt, - examples/osgdistortion/CMakeLists.txt, - examples/osgfadetext/CMakeLists.txt, - examples/osgforest/CMakeLists.txt, - examples/osgfxbrowser/CMakeLists.txt, - examples/osggeodemo/CMakeLists.txt, - examples/osggeometry/CMakeLists.txt, - examples/osghangglide/CMakeLists.txt, - examples/osghud/CMakeLists.txt, - examples/osgimpostor/CMakeLists.txt, - examples/osgintersection/CMakeLists.txt, - examples/osgkeyboard/CMakeLists.txt, - examples/osgkeyboardmouse/CMakeLists.txt, - examples/osglauncher/CMakeLists.txt, - examples/osglight/CMakeLists.txt, - examples/osglightpoint/CMakeLists.txt, - examples/osglogicop/CMakeLists.txt, - examples/osglogo/CMakeLists.txt, - examples/osgmanipulator/CMakeLists.txt, - examples/osgmotionblur/CMakeLists.txt, - examples/osgmovie/CMakeLists.txt, - examples/osgmultiplecameras/CMakeLists.txt, - examples/osgmultitexture/CMakeLists.txt, - examples/osgoccluder/CMakeLists.txt, - examples/osgpagedlod/CMakeLists.txt, - examples/osgparametric/CMakeLists.txt, - examples/osgparticle/CMakeLists.txt, - examples/osgparticleeffects/CMakeLists.txt, - examples/osgphotoalbum/CMakeLists.txt, - examples/osgpick/CMakeLists.txt, - examples/osgplanets/CMakeLists.txt, - examples/osgpoints/CMakeLists.txt, - examples/osgpointsprite/CMakeLists.txt, - examples/osgprecipitation/CMakeLists.txt, - examples/osgprerender/CMakeLists.txt, - examples/osgprerendercubemap/CMakeLists.txt, - examples/osgreflect/CMakeLists.txt, - examples/osgscalarbar/CMakeLists.txt, - examples/osgscribe/CMakeLists.txt, - examples/osgsequence/CMakeLists.txt, - examples/osgshaders/CMakeLists.txt, - examples/osgshaderterrain/CMakeLists.txt, - examples/osgshadow/CMakeLists.txt, - examples/osgshadowtexture/CMakeLists.txt, - examples/osgshape/CMakeLists.txt, - examples/osgsimple/CMakeLists.txt, - examples/osgsimplifier/CMakeLists.txt, - examples/osgsimulation/CMakeLists.txt, - examples/osgslice/CMakeLists.txt, - examples/osgspacewarp/CMakeLists.txt, - examples/osgspheresegment/CMakeLists.txt, - examples/osgspotlight/CMakeLists.txt, - examples/osgstereoimage/CMakeLists.txt, - examples/osgteapot/CMakeLists.txt, - examples/osgterrain/CMakeLists.txt, - examples/osgtessellate/CMakeLists.txt, - examples/osgtext/CMakeLists.txt, - examples/osgtexture1D/CMakeLists.txt, - examples/osgtexture2D/CMakeLists.txt, - examples/osgtexture3D/CMakeLists.txt, - examples/osgtexturerectangle/CMakeLists.txt, - examples/osgunittests/CMakeLists.txt, - examples/osgvertexprogram/CMakeLists.txt, - examples/osgvolume/CMakeLists.txt, - examples/osgwindows/CMakeLists.txt: Moved the TARGET_NAME setting - into the SETUP_APPLICATION/EXAMPLE macro - -2007-03-19 14:10 robert - - * src/osgPlugins/CMakeLists.txt, - src/osgPlugins/osgShadow/CMakeLists.txt, - src/osgPlugins/osgViewer/CMakeLists.txt, - src/osgPlugins/txf/CMakeLists.txt: Added CMake support for txf, - osgViewer and osgShadow plugins - -2007-03-19 13:26 robert - - * applications/osgarchive/CMakeLists.txt, - applications/osgconv/CMakeLists.txt, - applications/osgversion/CMakeLists.txt, - applications/osgviewer/CMakeLists.txt, - examples/osganimate/CMakeLists.txt, - examples/osgautotransform/CMakeLists.txt, - examples/osgbillboard/CMakeLists.txt, - examples/osgblendequation/CMakeLists.txt, - examples/osgcallback/CMakeLists.txt, - examples/osgcamera/CMakeLists.txt, - examples/osgcatch/CMakeLists.txt, - examples/osgclip/CMakeLists.txt, examples/osgcopy/CMakeLists.txt, - examples/osgcubemap/CMakeLists.txt, - examples/osgdelaunay/CMakeLists.txt, - examples/osgdepthpartition/CMakeLists.txt, - examples/osgdepthshadow/CMakeLists.txt, - examples/osgdistortion/CMakeLists.txt, - examples/osgfadetext/CMakeLists.txt, - examples/osgforest/CMakeLists.txt, - examples/osgfxbrowser/CMakeLists.txt, - examples/osggeodemo/CMakeLists.txt, - examples/osggeometry/CMakeLists.txt, - examples/osghangglide/CMakeLists.txt, - examples/osghud/CMakeLists.txt, - examples/osgimpostor/CMakeLists.txt, - examples/osgintersection/CMakeLists.txt, - examples/osgkeyboard/CMakeLists.txt, - examples/osgkeyboardmouse/CMakeLists.txt, - examples/osglauncher/CMakeLists.txt, - examples/osglight/CMakeLists.txt, - examples/osglightpoint/CMakeLists.txt, - examples/osglogicop/CMakeLists.txt, - examples/osglogo/CMakeLists.txt, - examples/osgmanipulator/CMakeLists.txt, - examples/osgmotionblur/CMakeLists.txt, - examples/osgmovie/CMakeLists.txt, - examples/osgmultiplecameras/CMakeLists.txt, - examples/osgmultitexture/CMakeLists.txt, - examples/osgoccluder/CMakeLists.txt, - examples/osgpagedlod/CMakeLists.txt, - examples/osgparametric/CMakeLists.txt, - examples/osgparticle/CMakeLists.txt, - examples/osgparticleeffects/CMakeLists.txt, - examples/osgphotoalbum/CMakeLists.txt, - examples/osgpick/CMakeLists.txt, - examples/osgplanets/CMakeLists.txt, - examples/osgpoints/CMakeLists.txt, - examples/osgpointsprite/CMakeLists.txt, - examples/osgprecipitation/CMakeLists.txt, - examples/osgprerender/CMakeLists.txt, - examples/osgprerendercubemap/CMakeLists.txt, - examples/osgreflect/CMakeLists.txt, - examples/osgscalarbar/CMakeLists.txt, - examples/osgscribe/CMakeLists.txt, - examples/osgsequence/CMakeLists.txt, - examples/osgshaders/CMakeLists.txt, - examples/osgshaderterrain/CMakeLists.txt, - examples/osgshadow/CMakeLists.txt, - examples/osgshadowtexture/CMakeLists.txt, - examples/osgshape/CMakeLists.txt, - examples/osgsimple/CMakeLists.txt, - examples/osgsimplifier/CMakeLists.txt, - examples/osgsimulation/CMakeLists.txt, - examples/osgslice/CMakeLists.txt, - examples/osgspacewarp/CMakeLists.txt, - examples/osgspheresegment/CMakeLists.txt, - examples/osgspotlight/CMakeLists.txt, - examples/osgstereoimage/CMakeLists.txt, - examples/osgteapot/CMakeLists.txt, - examples/osgterrain/CMakeLists.txt, - examples/osgtessellate/CMakeLists.txt, - examples/osgtext/CMakeLists.txt, - examples/osgtexture1D/CMakeLists.txt, - examples/osgtexture2D/CMakeLists.txt, - examples/osgtexture3D/CMakeLists.txt, - examples/osgtexturerectangle/CMakeLists.txt, - examples/osgunittests/CMakeLists.txt, - examples/osgvertexprogram/CMakeLists.txt, - examples/osgvolume/CMakeLists.txt, - examples/osgwindows/CMakeLists.txt, - src/osgPlugins/3dc/CMakeLists.txt, - src/osgPlugins/3ds/CMakeLists.txt, - src/osgPlugins/OpenFlight/CMakeLists.txt, - src/osgPlugins/ac/CMakeLists.txt, - src/osgPlugins/bmp/CMakeLists.txt, - src/osgPlugins/dds/CMakeLists.txt, - src/osgPlugins/dw/CMakeLists.txt, - src/osgPlugins/dxf/CMakeLists.txt, - src/osgPlugins/freetype/CMakeLists.txt, - src/osgPlugins/geo/CMakeLists.txt, - src/osgPlugins/gif/CMakeLists.txt, - src/osgPlugins/hdr/CMakeLists.txt, - src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/lws/CMakeLists.txt, - src/osgPlugins/md2/CMakeLists.txt, - src/osgPlugins/net/CMakeLists.txt, - src/osgPlugins/obj/CMakeLists.txt, - src/osgPlugins/osg/CMakeLists.txt, - src/osgPlugins/osgFX/CMakeLists.txt, - src/osgPlugins/osgParticle/CMakeLists.txt, - src/osgPlugins/osgSim/CMakeLists.txt, - src/osgPlugins/osgText/CMakeLists.txt, - src/osgPlugins/osga/CMakeLists.txt, - src/osgPlugins/osgtgz/CMakeLists.txt, - src/osgPlugins/pic/CMakeLists.txt, - src/osgPlugins/png/CMakeLists.txt, - src/osgPlugins/rgb/CMakeLists.txt, - src/osgPlugins/rot/CMakeLists.txt, - src/osgPlugins/scale/CMakeLists.txt, - src/osgPlugins/shp/CMakeLists.txt, - src/osgPlugins/stl/CMakeLists.txt, - src/osgPlugins/tga/CMakeLists.txt, - src/osgPlugins/tgz/CMakeLists.txt, - src/osgPlugins/trans/CMakeLists.txt, - src/osgPlugins/x/CMakeLists.txt, - src/osgPlugins/zip/CMakeLists.txt: Ran dos2unix on CMakeLists.txt - files. - -2007-03-19 12:30 robert - - * CMakeLists.txt, CMakeModules/OsgMacroUtils.cmake, - applications/CMakeLists.txt, - applications/osgarchive/CMakeLists.txt, - applications/osgconv/CMakeLists.txt, - applications/osgversion/CMakeLists.txt, - applications/osgviewer/CMakeLists.txt, examples/CMakeLists.txt, - examples/osganimate/CMakeLists.txt, - examples/osgautotransform/CMakeLists.txt, - examples/osgbillboard/CMakeLists.txt, - examples/osgblendequation/CMakeLists.txt, - examples/osgcallback/CMakeLists.txt, - examples/osgcamera/CMakeLists.txt, - examples/osgcatch/CMakeLists.txt, - examples/osgclip/CMakeLists.txt, examples/osgcopy/CMakeLists.txt, - examples/osgcubemap/CMakeLists.txt, - examples/osgdelaunay/CMakeLists.txt, - examples/osgdepthpartition/CMakeLists.txt, - examples/osgdepthshadow/CMakeLists.txt, - examples/osgdistortion/CMakeLists.txt, - examples/osgfadetext/CMakeLists.txt, - examples/osgforest/CMakeLists.txt, - examples/osgfxbrowser/CMakeLists.txt, - examples/osggeodemo/CMakeLists.txt, - examples/osggeometry/CMakeLists.txt, - examples/osghangglide/CMakeLists.txt, - examples/osghud/CMakeLists.txt, - examples/osgimpostor/CMakeLists.txt, - examples/osgintersection/CMakeLists.txt, - examples/osgkeyboard/CMakeLists.txt, - examples/osgkeyboardmouse/CMakeLists.txt, - examples/osglauncher/CMakeLists.txt, - examples/osglight/CMakeLists.txt, - examples/osglightpoint/CMakeLists.txt, - examples/osglogicop/CMakeLists.txt, - examples/osglogo/CMakeLists.txt, - examples/osgmanipulator/CMakeLists.txt, - examples/osgmotionblur/CMakeLists.txt, - examples/osgmovie/CMakeLists.txt, - examples/osgmultiplecameras/CMakeLists.txt, - examples/osgmultitexture/CMakeLists.txt, - examples/osgoccluder/CMakeLists.txt, - examples/osgpagedlod/CMakeLists.txt, - examples/osgparametric/CMakeLists.txt, - examples/osgparticle/CMakeLists.txt, - examples/osgparticleeffects/CMakeLists.txt, - examples/osgphotoalbum/CMakeLists.txt, - examples/osgpick/CMakeLists.txt, - examples/osgplanets/CMakeLists.txt, - examples/osgpoints/CMakeLists.txt, - examples/osgpointsprite/CMakeLists.txt, - examples/osgprecipitation/CMakeLists.txt, - examples/osgprerender/CMakeLists.txt, - examples/osgprerendercubemap/CMakeLists.txt, - examples/osgreflect/CMakeLists.txt, - examples/osgscalarbar/CMakeLists.txt, - examples/osgscribe/CMakeLists.txt, - examples/osgsequence/CMakeLists.txt, - examples/osgshaders/CMakeLists.txt, - examples/osgshaderterrain/CMakeLists.txt, - examples/osgshadow/CMakeLists.txt, - examples/osgshadowtexture/CMakeLists.txt, - examples/osgshape/CMakeLists.txt, - examples/osgsimple/CMakeLists.txt, - examples/osgsimplifier/CMakeLists.txt, - examples/osgsimulation/CMakeLists.txt, - examples/osgslice/CMakeLists.txt, - examples/osgspacewarp/CMakeLists.txt, - examples/osgspheresegment/CMakeLists.txt, - examples/osgspotlight/CMakeLists.txt, - examples/osgstereoimage/CMakeLists.txt, - examples/osgteapot/CMakeLists.txt, - examples/osgterrain/CMakeLists.txt, - examples/osgtessellate/CMakeLists.txt, - examples/osgtext/CMakeLists.txt, - examples/osgtexture1D/CMakeLists.txt, - examples/osgtexture2D/CMakeLists.txt, - examples/osgtexture3D/CMakeLists.txt, - examples/osgtexturerectangle/CMakeLists.txt, - examples/osgunittests/CMakeLists.txt, - examples/osgvertexprogram/CMakeLists.txt, - examples/osgvolume/CMakeLists.txt, - examples/osgwindows/CMakeLists.txt, - src/osgPlugins/3dc/CMakeLists.txt, - src/osgPlugins/3ds/CMakeLists.txt, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/OpenFlight/CMakeLists.txt, - src/osgPlugins/ac/CMakeLists.txt, - src/osgPlugins/bmp/CMakeLists.txt, - src/osgPlugins/dds/CMakeLists.txt, - src/osgPlugins/dw/CMakeLists.txt, - src/osgPlugins/dxf/CMakeLists.txt, - src/osgPlugins/freetype/CMakeLists.txt, - src/osgPlugins/geo/CMakeLists.txt, - src/osgPlugins/gif/CMakeLists.txt, - src/osgPlugins/hdr/CMakeLists.txt, - src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/jpeg/CMakeLists.txt, - src/osgPlugins/lws/CMakeLists.txt, - src/osgPlugins/md2/CMakeLists.txt, - src/osgPlugins/net/CMakeLists.txt, - src/osgPlugins/obj/CMakeLists.txt, - src/osgPlugins/osg/CMakeLists.txt, - src/osgPlugins/osgFX/CMakeLists.txt, - src/osgPlugins/osgParticle/CMakeLists.txt, - src/osgPlugins/osgSim/CMakeLists.txt, - src/osgPlugins/osgText/CMakeLists.txt, - src/osgPlugins/osga/CMakeLists.txt, - src/osgPlugins/osgtgz/CMakeLists.txt, - src/osgPlugins/pic/CMakeLists.txt, - src/osgPlugins/png/CMakeLists.txt, - src/osgPlugins/rgb/CMakeLists.txt, - src/osgPlugins/rot/CMakeLists.txt, - src/osgPlugins/scale/CMakeLists.txt, - src/osgPlugins/shp/CMakeLists.txt, - src/osgPlugins/stl/CMakeLists.txt, - src/osgPlugins/tga/CMakeLists.txt, - src/osgPlugins/tgz/CMakeLists.txt, - src/osgPlugins/tiff/CMakeLists.txt, - src/osgPlugins/trans/CMakeLists.txt, - src/osgPlugins/x/CMakeLists.txt, - src/osgPlugins/zip/CMakeLists.txt: 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. - -2007-03-19 11:47 robert - - * src/osgWrappers/osgTerrain/TerrainNode.cpp: Updated wrappers - -2007-03-19 11:35 robert - - * src/osgViewer/GNUmakefile: From Andreas Goebel, add -lgdi to - GNUmakefile - -2007-03-19 11:25 robert - - * src/osgTerrain/TerrainNode.cpp: Further work on TerrainNode - -2007-03-19 10:54 robert - - * include/osgTerrain/TerrainNode, src/osgTerrain/TerrainNode.cpp: - Build fixes - -2007-03-19 10:38 robert - - * examples/osgterrain/osgterrain.cpp: Further work on osgterrain - example - -2007-03-18 11:04 robert - - * include/osgViewer/GraphicsWindowWin32, - src/osgViewer/GraphicsWindowWin32.cpp: Removed now redundent - method - -2007-03-16 14:28 robert - - * include/osgIntrospection/Reflection, - include/osgIntrospection/Value: 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. - " - -2007-03-16 14:27 robert - - * src/osgWrappers/osg/GraphicsContext.cpp: Updated wrappers - -2007-03-16 13:22 robert - - * include/osg/GraphicsContext, - include/osgViewer/GraphicsWindowCarbon, - include/osgViewer/GraphicsWindowWin32, - include/osgViewer/GraphicsWindowX11, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp: Added WindowData structures - to GraphicsWindowX11,Win32 and Carbon to help support - GraphicsWindow inheriting their window handles from an external - toolkit - -2007-03-16 10:02 robert - - * Make/makedefs: 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-03-15 13:17 robert - * src/osgViewer/CMakeLists.txt: From Philip Lowman, added gdi32 - entry fro Mingw build +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." -2007-03-14 12:59 robert +Tue, 15 Jun 2010 09:09:38 +0000 +Checked in by : Michael PLATINGS +Changed _strnicmp to strncasecmp for non-Windows builds - * src/osgTerrain/TerrainNode.cpp, - src/osgTerrain/TerrainTechnique.cpp: Name fixes +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." -2007-03-14 12:43 robert - * examples/osgterrain, examples/osgterrain/osgterrain.cpp: Added - osgterrain example -2007-03-14 12:42 robert - * examples/CMakeLists.txt: Added osgterrain to build -2007-03-14 12:31 robert +Mon, 14 Jun 2010 16:30:43 +0000 +Checked in by : Robert Osfield +From Luc Frauciel, added extra test case accessible via -t 7. - * VisualStudio/osgWrappers/osgTerrain/wrapper_osgTerrain.dsp, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osgTerrain/GNUmakefile, - src/osgWrappers/osgTerrain/HeightFieldNode.cpp, - src/osgWrappers/osgTerrain/HeightFieldRenderer.cpp, - src/osgWrappers/osgTerrain/Layer.cpp, - src/osgWrappers/osgTerrain/Locator.cpp, - src/osgWrappers/osgTerrain/TerrainNode.cpp, - src/osgWrappers/osgTerrain/TerrainTechnique.cpp: Updated wrappers +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 -2007-03-14 12:00 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." - * VisualStudio/osgTerrain/osgTerrain.dsp, include/osgTerrain/Layer, - include/osgTerrain/Locator, src/osgTerrain/CMakeLists.txt, - src/osgTerrain/GNUmakefile, src/osgTerrain/Layer.cpp, - src/osgTerrain/Locator.cpp: Added class shells for - osgTerrain::Locator and osgTerrain::Layer classes +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. +" -2007-03-14 11:24 robert - * VisualStudio/osgTerrain/osgTerrain.dsp, - Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - include/osgTerrain/HeightFieldNode, - include/osgTerrain/HeightFieldRenderer, - include/osgTerrain/TerrainNode, - include/osgTerrain/TerrainTechnique, - src/osgTerrain/CMakeLists.txt, src/osgTerrain/GNUmakefile, - src/osgTerrain/HeightFieldNode.cpp, - src/osgTerrain/HeightFieldRenderer.cpp, - src/osgTerrain/TerrainNode.cpp, - src/osgTerrain/TerrainTechnique.cpp: Renamed HeightFieldNode and - HeightFieldRenderer to TerrainNode and TerrainTechnique - respectively -2007-03-14 10:02 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." - * src/osgSim/LightPointNode.cpp: Changed typeid(CullVisitor) check - to dynamic_cast -2007-03-13 20:09 robert - * CMakeModules/FindOpenThreads.cmake: Fixed spacing of message +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." -2007-03-13 20:06 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. - * CMakeModules/FindOpenThreads.cmake: Added lib64 to search path - for OpenThreads +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. -2007-03-13 12:25 robert +Fri, 11 Jun 2010 09:39:03 +0000 +Checked in by : Robert Osfield +Updated wrappers - * CMakeModules/FindFreeType.cmake, CMakeModules/FindGIFLIB.cmake, - src/osgPlugins/jpeg/CMakeLists.txt, - src/osgPlugins/tiff/CMakeLists.txt: From Mathieu Narache, build - fixes for IRIX64 +Wed, 9 Jun 2010 15:05:34 +0000 +Checked in by : Robert Osfield +Removed debug messages -2007-03-13 11:58 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 - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/gif/CMakeLists.txt: - Fixed gif plugin entry so that it uses GIFLIB_ rather than GIF to - match it up - to the CMakeModels/FindGIFLIB.cmake entry +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 -2007-03-13 08:18 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. - * src/osgShadow/ShadowedScene.cpp: Checked in missing - implementation of cleanSceneGraph. +Wed, 9 Jun 2010 11:24:22 +0000 +Checked in by : Robert Osfield +Added missing loadWrappers -2007-03-12 21:23 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(). " - * CMakeLists.txt, applications/CMakeLists.txt: Changed the lib and - executable local build so that they all go in bin and lib - respectively. +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. -2007-03-12 21:13 robert - * examples/CMakeLists.txt: Added IF(BUILD_OSG_WRAPPERS) arouind - osgintrospection example +Tue, 8 Jun 2010 17:32:36 +0000 +Checked in by : Michael PLATINGS +Added support for Euler angles and step/linear/cubic-bezier interpolation. -2007-03-12 12:46 robert +Tue, 8 Jun 2010 11:53:28 +0000 +Checked in by : Robert Osfield +Added ref_ptr<> to avoid memory leak - * CMakeModules/OsgMacroUtils.cmake, src/osgWrappers/CMakeLists.txt: - Fixed install paths of wrappers and plugins +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. -2007-03-12 12:14 robert +Mon, 7 Jun 2010 15:25:18 +0000 +Checked in by : Michael PLATINGS +Added more NURBS types to triangulate. - * VisualStudio/osgTerrain/osgTerrain.dsp: Removed GDAL references +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. -2007-03-12 12:13 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. - * src/osgTerrain/GNUmakefile: Removed GDAL references +Mon, 7 Jun 2010 08:36:08 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project -2007-03-12 11:49 robert +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. - * src/CMakeLists.txt: Cleaned up the ordering of the code component - compilation -2007-03-12 11:48 robert +Fri, 4 Jun 2010 11:04:15 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project - * src/osgTerrain/CMakeLists.txt: Fixed osgTerrain CMakeLists.txt so - it didn't include DataSet or GDAL references +Thu, 3 Jun 2010 16:24:25 +0000 +Checked in by : Robert Osfield +Fixed double registeration bug. -2007-03-12 08:32 robert +Thu, 3 Jun 2010 16:02:01 +0000 +Checked in by : Robert Osfield +Fixed permissions - * src/osgWrappers/CMakeLists.txt: From Luigi Calori, fixes for - building wrappers with lib prefix. +Thu, 3 Jun 2010 16:01:25 +0000 +Checked in by : Robert Osfield +Fixed permissions -2007-03-11 13:23 robert +Thu, 3 Jun 2010 16:00:28 +0000 +Checked in by : Robert Osfield +Removed redundent makefiles - * Make/makedirdefs, - VisualStudio/osgPlugins/ESRIShape/ESRIShape.dsp, - VisualStudio/osgPlugins/ac3d/ac3d.dsp, - VisualStudio/osgPlugins/directx/directx.dsp, - VisualStudio/osgPlugins/lib3ds/lib3ds.dsp, src/osgPlugins/3ds, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/ESRIShape, - src/osgPlugins/ac, src/osgPlugins/ac3d, src/osgPlugins/directx, - src/osgPlugins/lib3ds, src/osgPlugins/shp, src/osgPlugins/x: - Renamed the follow plugins to facilitate CMake build - - lib3ds -> 3ds - ac3d -> ac - directx -> x - ESRIShape -> shp +Thu, 3 Jun 2010 15:09:06 +0000 +Checked in by : Robert Osfield +Fixed permissions -2007-03-11 13:21 robert +Thu, 3 Jun 2010 15:07:21 +0000 +Checked in by : Robert Osfield +Fixed permissions - * src/CMakeLists.txt: Moved introspection build into optional - compile section +Thu, 3 Jun 2010 15:04:58 +0000 +Checked in by : Robert Osfield +Fixed permissions -2007-03-11 13:15 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. - * src/osgWrappers/CMakeLists.txt: 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. +Wed, 2 Jun 2010 18:09:34 +0000 +Checked in by : Robert Osfield +Added #include -2007-03-11 11:48 robert +Wed, 2 Jun 2010 15:07:27 +0000 +Checked in by : Robert Osfield +Added check for presence of extension. - * include/osg/GraphicsContext: Added inheritedWindowData member - variable to Traits. +Wed, 2 Jun 2010 13:29:42 +0000 +Checked in by : Robert Osfield +Removed glFramebufferTexture from list of required extension function -2007-03-10 17:29 robert +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. - * src/osgViewer/GNUmakefile: From Bob Kuehne, fix for AGL build of - osgViewer +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 -2007-03-10 12:27 robert +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" - * src/osgWrappers/osg/TransferFunction.cpp: Updated wrappers +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 ); -2007-03-10 11:56 robert +it works also for cubemap textures and 2d texture arrays +" - * src/osg/CMakeLists.txt: Correct TransferFunction entry. -2007-03-10 11:53 robert - * VisualStudio/osg/osg.dsp, - VisualStudio/osgWrappers/osg/wrapper_osg.dsp, - include/osg/TransferFunction, src/osg/CMakeLists.txt, - src/osg/GNUmakefile, src/osg/TransferFunction.cpp, - src/osgWrappers/osg/TransferFunction.cpp: Added preliminary work - on osg::TransferFunction +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 -2007-03-10 11:38 robert +Tue, 1 Jun 2010 13:32:12 +0000 +Checked in by : Robert Osfield +Added newline to fix warnings - * src/osgWrappers/osg/GNUmakefile, - src/osgWrappers/osgManipulator/Dragger.cpp: Updated wrappers +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. +" -2007-03-10 11:38 robert - * src/osgWrappers/CMakeLists.txt: From Luigi Calori, CMakeLists.txt - support for wrappers -2007-03-09 16:25 robert +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()." - * CMakeLists.txt, CMakeModules/ModuleInstall.cmake: 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 - * CMakeLists.txt, CMakeModules/ModuleInstall.cmake, - CMakeModules/OsgMacroUtils.cmake: From Luigi Calori, improvements - to handling of install under Unix +Tue, 1 Jun 2010 11:23:04 +0000 +Checked in by : Robert Osfield +Removed unneccessary QWebKit includes -2007-03-09 14:54 robert +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." - * src/osg/CMakeLists.txt: Commenting out Matrix_implementation.cpp - entry to avoid it being installed. +Tue, 1 Jun 2010 09:21:42 +0000 +Checked in by : Robert Osfield +From Tim Moore, fixed typo and removed redundent include -2007-03-09 13:47 robert +Mon, 31 May 2010 17:16:45 +0000 +Checked in by : Robert Osfield +Updated wrappers - * CMakeModules/OsgMacroUtils.cmake, applications/CMakeLists.txt, - examples/CMakeLists.txt: 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 +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'." -2007-03-09 09:08 robert +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" - * examples/CMakeLists.txt: Setting of binary/exe path moved to root - CMakeLists.txt -2007-03-09 09:07 robert - * CMakeLists.txt: Ran dos2unix +Mon, 31 May 2010 15:51:59 +0000 +Checked in by : Robert Osfield +Added support for a wider range of gpx files -2007-03-08 21:19 robert +Fri, 28 May 2010 17:17:34 +0000 +Checked in by : Robert Osfield +Added OSG_DEBUG_DP macro - * src/osgPlugins/CMakeLists.txt, - src/osgPlugins/freetype/CMakeLists.txt: From Luigi Calori, fixed - build of freetype and zlib. +Fri, 28 May 2010 17:17:09 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-03-08 15:33 robert +Fri, 28 May 2010 17:16:49 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * CMakeModules/FindOpenThreads.cmake, - CMakeModules/OsgMacroUtils.cmake: From Lugi Calori, tweaks to - macros and addition of CMAKE_INSTALL_PREFIX to FindOpenThreads +Fri, 28 May 2010 17:15:47 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-03-08 15:31 robert +Fri, 28 May 2010 17:14:58 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * src/osg/CMakeLists.txt, src/osgDB/CMakeLists.txt, - src/osgFX/CMakeLists.txt, src/osgGA/CMakeLists.txt, - src/osgIntrospection/CMakeLists.txt, - src/osgManipulator/CMakeLists.txt, - src/osgParticle/CMakeLists.txt, src/osgShadow/CMakeLists.txt, - src/osgSim/CMakeLists.txt, src/osgTerrain/CMakeLists.txt, - src/osgText/CMakeLists.txt, src/osgUtil/CMakeLists.txt, - src/osgViewer/CMakeLists.txt: Ran dos2unx of CMakeLists.txt files +Fri, 28 May 2010 17:14:29 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-03-08 15:29 robert +Fri, 28 May 2010 17:14:11 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * src/osgPlugins/CMakeLists.txt, - src/osgPlugins/freetype/CMakeLists.txt, - src/osgPlugins/gif/CMakeLists.txt, - src/osgPlugins/jpeg/CMakeLists.txt, - src/osgPlugins/png/CMakeLists.txt, - src/osgPlugins/tiff/CMakeLists.txt: From Luigi Calori, added - support macro based build of plugins +Fri, 28 May 2010 17:13:41 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-03-06 12:03 robert +Fri, 28 May 2010 17:13:20 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * applications/CMakeLists.txt: Added application CMakeLists. +Fri, 28 May 2010 17:12:55 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-03-06 12:02 robert +Fri, 28 May 2010 17:12:14 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * examples/CMakeLists.txt: From Luigi Calori, quick hack to make - example compile in source. - -2007-03-06 12:01 robert - - * include/osgManipulator/Dragger, src/osgManipulator/Dragger.cpp: - Changed _pixel_x and _pixel_y to be floats - -2007-03-06 11:20 robert +Fri, 28 May 2010 17:11:35 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * src/osg/Image.cpp: Added support for 4,7,12,16 bit luminance and - intensity formats +Fri, 28 May 2010 17:11:14 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-03-05 17:46 robert +Fri, 28 May 2010 17:10:57 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * src/osgWrappers/osg/AlphaFunc.cpp, - src/osgWrappers/osg/BlendColor.cpp, - src/osgWrappers/osg/BlendEquation.cpp, - src/osgWrappers/osg/BlendFunc.cpp, - src/osgWrappers/osg/ClipPlane.cpp, - src/osgWrappers/osg/CullFace.cpp, src/osgWrappers/osg/Depth.cpp, - src/osgWrappers/osg/Fog.cpp, - src/osgWrappers/osg/FragmentProgram.cpp, - src/osgWrappers/osg/Geometry.cpp, src/osgWrappers/osg/Light.cpp, - src/osgWrappers/osg/LineStipple.cpp, - src/osgWrappers/osg/LogicOp.cpp, - src/osgWrappers/osg/Material.cpp, src/osgWrappers/osg/Point.cpp, - src/osgWrappers/osg/PointSprite.cpp, - src/osgWrappers/osg/PolygonOffset.cpp, - src/osgWrappers/osg/PolygonStipple.cpp, - src/osgWrappers/osg/Scissor.cpp, - src/osgWrappers/osg/ShapeDrawable.cpp, - src/osgWrappers/osg/Stencil.cpp, - src/osgWrappers/osg/StencilTwoSided.cpp, - src/osgWrappers/osg/TexGen.cpp, src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osg/VertexProgram.cpp, - src/osgWrappers/osgSim/ImpostorSprite.cpp: Updated wrappers - -2007-03-05 17:34 robert - - * include/osg/AlphaFunc, include/osg/BlendColor, - include/osg/BlendEquation, include/osg/BlendFunc, - include/osg/ClipPlane, include/osg/CullFace, include/osg/Depth, - include/osg/Fog, include/osg/FragmentProgram, - include/osg/Geometry, include/osg/Light, include/osg/LineStipple, - include/osg/LogicOp, include/osg/Material, include/osg/Point, - include/osg/PointSprite, include/osg/PolygonOffset, - include/osg/PolygonStipple, include/osg/Scissor, - include/osg/ShapeDrawable, include/osg/Stencil, - include/osg/StencilTwoSided, include/osg/TexGen, - include/osg/Texture, include/osg/VertexProgram, - include/osgSim/ImpostorSprite: 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." - -2007-03-05 13:27 robert - - * CMakeLists.txt, CMakeModules/ListHandle.cmake, - CMakeModules/ModuleInstall.cmake, - CMakeModules/OsgMacroUtils.cmake, - CMakeModules/UtilityMacros.cmake, examples/CMakeLists.txt, - src/CMakeLists.txt: From Luigi Calori, added marco support - -2007-03-05 12:11 robert - - * src/osgText/CMakeLists.txt: Added missing files - -2007-03-05 12:09 robert - - * src/osg/CMakeLists.txt, src/osgSim/CMakeLists.txt: Added missing - files - -2007-03-04 13:05 robert - - * CMakeLists.txt, CMakeModules, CMakeModules/FindFreeType.cmake, - CMakeModules/FindGIFLIB.cmake, - CMakeModules/FindOpenThreads.cmake, - CMakeModules/FindQuickTime.cmake, src/CMakeLists.txt, - src/osg/CMakeLists.txt, src/osgDB/CMakeLists.txt, - src/osgFX/CMakeLists.txt, src/osgGA/CMakeLists.txt, - src/osgIntrospection/CMakeLists.txt, - src/osgManipulator/CMakeLists.txt, - src/osgParticle/CMakeLists.txt, src/osgPlugins/CMakeLists.txt, - src/osgShadow/CMakeLists.txt, src/osgSim/CMakeLists.txt, - src/osgTerrain/CMakeLists.txt, src/osgText/CMakeLists.txt, - src/osgUtil/CMakeLists.txt, src/osgViewer/CMakeLists.txt: From - Eric Wing and others, first cut of CMake build support - -2007-03-04 13:04 robert - - * VisualStudio/osgIntrospection/osgIntrospection.dsp: From Mike - Wittman, updated project to reflect new additions to - osgIntrospection - -2007-03-04 13:04 robert - - * examples/osgshadow/osgshadow.cpp: Fixed command line parameter - reporting - -2007-03-04 13:03 robert - - * examples/osgintrospection/osgintrospection.cpp: From Mike - Wittman, updates to support new protected method support - -2007-03-02 16:14 robert - - * examples/osgdistortion/osgdistortion.cpp: Added proper maths for - distortion correction of pufferfish dome. - -2007-03-01 13:41 robert - - * src/osgPlugins/directx/mesh.cpp: 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-03-01 12:10 robert - - * src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/txp/TXPArchive.h, - src/osgPlugins/txp/TXPParser.cpp: 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." - -2007-03-01 11:58 robert - - * src/osgWrappers/osg/AutoTransform.cpp, - src/osgWrappers/osg/Billboard.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/CollectOccludersVisitor.cpp, - src/osgWrappers/osg/CoordinateSystemNode.cpp, - src/osgWrappers/osg/CullStack.cpp, - src/osgWrappers/osg/DeleteHandler.cpp, - src/osgWrappers/osg/Drawable.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osg/Geometry.cpp, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/Group.cpp, src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/Light.cpp, src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/PagedLOD.cpp, - src/osgWrappers/osg/ProxyNode.cpp, - src/osgWrappers/osg/Referenced.cpp, - src/osgWrappers/osg/Shader.cpp, src/osgWrappers/osg/State.cpp, - src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/StateSet.cpp, src/osgWrappers/osg/Stats.cpp, - src/osgWrappers/osg/TexEnvCombine.cpp, - src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osg/Texture1D.cpp, - src/osgWrappers/osg/Texture2D.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/TextureCubeMap.cpp, - src/osgWrappers/osg/TextureRectangle.cpp, - src/osgWrappers/osg/Uniform.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/DotOsgWrapper.cpp, - src/osgWrappers/osgDB/DynamicLibrary.cpp, - src/osgWrappers/osgDB/Field.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgDB/SharedStateManager.cpp, - src/osgWrappers/osgFX/AnisotropicLighting.cpp, - src/osgWrappers/osgFX/BumpMapping.cpp, - src/osgWrappers/osgFX/Cartoon.cpp, - src/osgWrappers/osgFX/Effect.cpp, - src/osgWrappers/osgFX/MultiTextureControl.cpp, - src/osgWrappers/osgFX/Registry.cpp, - src/osgWrappers/osgFX/Scribe.cpp, - src/osgWrappers/osgFX/SpecularHighlights.cpp, - src/osgWrappers/osgFX/Technique.cpp, - src/osgWrappers/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/osgGA/DriveManipulator.cpp, - src/osgWrappers/osgGA/EventVisitor.cpp, - src/osgWrappers/osgGA/FlightManipulator.cpp, - src/osgWrappers/osgGA/MatrixManipulator.cpp, - src/osgWrappers/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/osgGA/StateSetManipulator.cpp, - src/osgWrappers/osgGA/TerrainManipulator.cpp, - src/osgWrappers/osgGA/TrackballManipulator.cpp, - src/osgWrappers/osgGA/UFOManipulator.cpp, - src/osgWrappers/osgManipulator/Command.cpp, - src/osgWrappers/osgManipulator/Constraint.cpp, - src/osgWrappers/osgManipulator/Dragger.cpp, - src/osgWrappers/osgParticle/Emitter.cpp, - src/osgWrappers/osgParticle/FluidProgram.cpp, - src/osgWrappers/osgParticle/ModularEmitter.cpp, - src/osgWrappers/osgParticle/ModularProgram.cpp, - src/osgWrappers/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/osgParticle/Program.cpp, - src/osgWrappers/osgShadow/OccluderGeometry.cpp, - src/osgWrappers/osgSim/Impostor.cpp, - src/osgWrappers/osgSim/ImpostorSprite.cpp, - src/osgWrappers/osgSim/MultiSwitch.cpp, - src/osgWrappers/osgSim/OpenFlightOptimizer.cpp, - src/osgWrappers/osgSim/OverlayNode.cpp, - src/osgWrappers/osgSim/ScalarBar.cpp, - src/osgWrappers/osgTerrain/Export.cpp, - src/osgWrappers/osgText/FadeText.cpp, - src/osgWrappers/osgText/Font.cpp, - src/osgWrappers/osgText/Text.cpp, - src/osgWrappers/osgUtil/CubeMapGenerator.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/DelaunayTriangulator.cpp, - src/osgWrappers/osgUtil/HalfWayMapGenerator.cpp, - src/osgWrappers/osgUtil/HighlightMapGenerator.cpp, - src/osgWrappers/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgUtil/IntersectionVisitor.cpp, - src/osgWrappers/osgUtil/LineSegmentIntersector.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp, - src/osgWrappers/osgUtil/ReflectionMapGenerator.cpp, - src/osgWrappers/osgUtil/SceneView.cpp, - src/osgWrappers/osgUtil/TangentSpaceGenerator.cpp, - src/osgWrappers/osgUtil/Tessellator.cpp, - src/osgWrappers/osgUtil/UpdateVisitor.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/GraphicsWindow.cpp, - src/osgWrappers/osgViewer/HelpHandler.cpp, - src/osgWrappers/osgViewer/SimpleViewer.cpp, - src/osgWrappers/osgViewer/StatsHandler.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Updated wrappers - -2007-03-01 11:54 robert - - * genwrapper.conf, include/osgIntrospection/Exceptions, - include/osgIntrospection/InstanceCreator, - include/osgIntrospection/ReflectionMacros, - include/osgIntrospection/Reflector, - include/osgIntrospection/StaticMethodInfo, - include/osgIntrospection/Type, - include/osgIntrospection/TypedMethodInfo, - src/osgIntrospection/Type.cpp: From Mike Wittman, added protected - function support - -2007-03-01 10:43 robert - - * VisualStudio/osgUtil/osgUtil.dsp: From Jean-Sebastien Guay, fix - Windows build by adding space in where previous editing had - removed it. - -2007-03-01 09:19 robert - - * VisualStudio/OpenSceneGraph.dsw: Added osgShadow to dependencies - of osgdepthshadow example - -2007-02-28 12:15 robert - - * src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/txp/TXPArchive.h, - src/osgPlugins/txp/TXPParser.cpp: Ran cleanup to fix tabs - -2007-02-28 11:18 robert - - * src/osgShadow/ShadowTexture.cpp: Added support for direction - lights to ShadowTexture - -2007-02-28 11:12 robert - - * src/osgShadow/ShadowMap.cpp: From Mihai Radu, Added support for - directional lights to ShadowMap - -2007-02-28 10:10 robert - - * include/osg/LOD: Added mention of LODScale in docs - -2007-02-28 10:08 robert - - * include/osg/LOD: From Paul Martz, updated the LOD documentation - -2007-02-27 21:31 robert - - * Make/makedirdefs: Added osgTerrain into default build of wrappers - -2007-02-27 21:18 robert - - * VisualStudio/highlight70.reg, VisualStudio/highlight71.reg, - VisualStudio/highlight80.reg, Xcode/XcodeTemplates/OSG - Application/osgApp_Prefix.pch, genwrapper.conf: Further clean up - for refernces to osgTerrain/DataSet - -2007-02-27 21:16 robert - - * applications/osgdem: Removed osgdem as its now part of the - VirtualPlanetBuilder project - -2007-02-27 21:12 robert - - * Make/dependencies, Make/makedefs, Make/makedirdefs, - VisualStudio/OpenSceneGraph.dsw, - VisualStudio/examples/osgbluemarble, - VisualStudio/osgPlugins/gdal, - VisualStudio/osgTerrain/osgTerrain.dsp, - VisualStudio/osgWrappers/osgTerrain/wrapper_osgTerrain.dsp, - Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/osgbluemarble-Info.plist, - Xcode/OpenSceneGraph/osgdem-Info.plist, examples/osgbluemarble, - examples/osgfadetext/GNUmakefile, - examples/osgfadetext/GNUmakefile.inst, - examples/osgfadetext/osgfadetext.cpp, - examples/osgsimulation/GNUmakefile, - examples/osgsimulation/GNUmakefile.inst, - examples/osgsimulation/osgsimulation.cpp, - include/osgTerrain/DataSet, src/osgPlugins/gdal, - src/osgTerrain/DataSet.cpp, src/osgTerrain/GNUmakefile, - src/osgWrappers/osgTerrain/DataSet.cpp, - src/osgWrappers/osgTerrain/GNUmakefile, - src/osgWrappers/osgText/Text.cpp: Moved - include/osgTerrain/DataSet/.cpp, gdal plugin and osgdem out into - the VirtualPlaneBuilder project. - - Updated examples to remove DataSet/GDAL dependency. - - Updated wrappers - -2007-02-27 14:09 robert - - * genwrapper.conf: Ammend the references to ReentrantMutex and - ReadWriteMutex to related to their move to OpenThreads - -2007-02-27 13:16 robert - - * Make/dependencies, Make/makedefs, Make/makedirdefs, - VisualStudio/MUST_READ_ME.txt, VisualStudio/OpenSceneGraph.dsw, - VisualStudio/applications/osgarchive/osgarchive.dsp, - VisualStudio/applications/osgproducerviewer, - VisualStudio/applications/osgversion/osgversion.dsp, - VisualStudio/examples/osgdepthshadow/osgdepthshadow.dsp, - VisualStudio/examples/osgintersection/osgintersection.dsp, - VisualStudio/examples/osgintrospection/example_osgintrospection.dsp, - VisualStudio/examples/osglauncher/resources.rc, - VisualStudio/examples/osgteapot/osgteapot.dsp, - VisualStudio/examples/osgunittests/osgunittests.dsp, - VisualStudio/fixup-vc6-dsps.pl, VisualStudio/icons/osg_icon.rc, - VisualStudio/osg/osg.dsp, VisualStudio/osgDB/osgDB.dsp, - VisualStudio/osgFX/osgFX.dsp, VisualStudio/osgGA/osgGA.dsp, - VisualStudio/osgIntrospection/osgIntrospection.dsp, - VisualStudio/osgManipulator/osgManipulator.dsp, - VisualStudio/osgParticle/osgParticle.dsp, - VisualStudio/osgPlugins/3dc/3dc.dsp, - VisualStudio/osgPlugins/ESRIShape/ESRIShape.dsp, - VisualStudio/osgPlugins/OpenFlight/OpenFlight.dsp, - VisualStudio/osgPlugins/ac3d/ac3d.dsp, - VisualStudio/osgPlugins/bmp/bmp.dsp, - VisualStudio/osgPlugins/bsp/bsp.dsp, - VisualStudio/osgPlugins/dae/dae.dsp, - VisualStudio/osgPlugins/dds/dds.dsp, - VisualStudio/osgPlugins/directx/directx.dsp, - VisualStudio/osgPlugins/dw/dw.dsp, - VisualStudio/osgPlugins/dxf/dxf.dsp, - VisualStudio/osgPlugins/flt/flt.dsp, - VisualStudio/osgPlugins/freetype/freetype.dsp, - VisualStudio/osgPlugins/gdal/gdal.dsp, - VisualStudio/osgPlugins/geo/geo.dsp, - VisualStudio/osgPlugins/gif/gif.dsp, - VisualStudio/osgPlugins/hdr/hdr.dsp, - VisualStudio/osgPlugins/ive/ive.dsp, - VisualStudio/osgPlugins/jpeg/jpeg.dsp, - VisualStudio/osgPlugins/lib3ds/lib3ds.dsp, - VisualStudio/osgPlugins/logo/logo.dsp, - VisualStudio/osgPlugins/lwo/lwo.dsp, - VisualStudio/osgPlugins/lws/lws.dsp, - VisualStudio/osgPlugins/md2/md2.dsp, - VisualStudio/osgPlugins/net/net.dsp, - VisualStudio/osgPlugins/normals/normals.dsp, - VisualStudio/osgPlugins/obj/obj.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, - VisualStudio/osgPlugins/osgFX/dot_osgFX.dsp, - VisualStudio/osgPlugins/osgParticle/dot_osgParticle.dsp, - VisualStudio/osgPlugins/osgSim/dot_osgSim.dsp, - VisualStudio/osgPlugins/osgText/dot_osgText.dsp, - VisualStudio/osgPlugins/osga/osga.dsp, - VisualStudio/osgPlugins/osgtgz/osgtgz.dsp, - VisualStudio/osgPlugins/pic/pic.dsp, - VisualStudio/osgPlugins/png/png.dsp, - VisualStudio/osgPlugins/pnm/pnm.dsp, - VisualStudio/osgPlugins/quicktime/quicktime.dsp, - VisualStudio/osgPlugins/rgb/rgb.dsp, - VisualStudio/osgPlugins/rot/rot.dsp, - VisualStudio/osgPlugins/scale/scale.dsp, - VisualStudio/osgPlugins/stl/stl.dsp, - VisualStudio/osgPlugins/tga/tga.dsp, - VisualStudio/osgPlugins/tgz/tgz.dsp, - VisualStudio/osgPlugins/tiff/tiff.dsp, - VisualStudio/osgPlugins/trans/trans.dsp, - VisualStudio/osgPlugins/txf/txf.dsp, - VisualStudio/osgPlugins/txp/txp.dsp, - VisualStudio/osgPlugins/zip/zip.dsp, VisualStudio/osgProducer, - VisualStudio/osgShadow/osgShadow.dsp, VisualStudio/osgShell.bat, - VisualStudio/osgSim/osgSim.dsp, - VisualStudio/osgTerrain/osgTerrain.dsp, - VisualStudio/osgText/osgText.dsp, - VisualStudio/osgUtil/osgUtil.dsp, - VisualStudio/osgViewer/osgViewer.dsp, - VisualStudio/osgWrappers/osg/wrapper_osg.dsp, - VisualStudio/osgWrappers/osgDB/wrapper_osgDB.dsp, - VisualStudio/osgWrappers/osgFX/wrapper_osgFX.dsp, - VisualStudio/osgWrappers/osgGA/wrapper_osgGA.dsp, - VisualStudio/osgWrappers/osgManipulator/wrapper_osgManipulator.dsp, - VisualStudio/osgWrappers/osgParticle/wrapper_osgParticle.dsp, - VisualStudio/osgWrappers/osgProducer, - VisualStudio/osgWrappers/osgShadow/wrapper_osgShadow.dsp, - VisualStudio/osgWrappers/osgSim/wrapper_osgSim.dsp, - VisualStudio/osgWrappers/osgTerrain/wrapper_osgTerrain.dsp, - VisualStudio/osgWrappers/osgText/wrapper_osgText.dsp, - VisualStudio/osgWrappers/osgUtil/wrapper_osgUtil.dsp, - VisualStudio/osgWrappers/osgViewer/wrapper_osgViewer.dsp, - VisualStudio/reset-64bit-outdirs.pl, Xcode/Misc/ArrangeDMG.sh, - Xcode/Misc/Build_OSG_OSX.sh, Xcode/Misc/Tar_Xcode.sh, - Xcode/OSX_OSG_README.rtf, - Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/osgProducer-Info.plist, - Xcode/XcodeTemplates/OSG - Application/OSGApp.pbproj/project.pbxproj, - Xcode/XcodeTemplates/OSG Application/main.cpp, - Xcode/XcodeTemplates/OSG Application/osgApp_Prefix.pch, - Xcode/Xcode_OSG_Instructions.rtf, applications/osgproducerviewer, - doc/Doxyfiles/auto_Doxyfile, doc/Doxyfiles/core_Doxyfile, - examples/osganimate/GNUmakefile.inst, - examples/osgautotransform/GNUmakefile.inst, - examples/osgfxbrowser/GNUmakefile.inst, - examples/osghangglide/GNUmakefile.inst, - examples/osgmanipulator/osgmanipulator.cpp, - examples/osgunittests/GNUmakefile.inst, genwrapper.conf, - include/osgProducer, include/osgUtil/SceneView, src/osgProducer, - src/osgWrappers/osg/View.cpp, - src/osgWrappers/osgManipulator/Dragger.cpp, - src/osgWrappers/osgManipulator/Projector.cpp, - src/osgWrappers/osgManipulator/RotateCylinderDragger.cpp, - src/osgWrappers/osgManipulator/RotateSphereDragger.cpp, - src/osgWrappers/osgManipulator/Scale1DDragger.cpp, - src/osgWrappers/osgManipulator/Scale2DDragger.cpp, - src/osgWrappers/osgManipulator/TabPlaneDragger.cpp, - src/osgWrappers/osgManipulator/Translate1DDragger.cpp, - src/osgWrappers/osgManipulator/Translate2DDragger.cpp, - src/osgWrappers/osgManipulator/TranslatePlaneDragger.cpp, - src/osgWrappers/osgProducer, - src/osgWrappers/osgViewer/SimpleViewer.cpp, - src/osgWrappers/osgViewer/View.cpp: Moved osgProducer and - osgproducerviewer out into their own repository. - - Clean up the source for remaining references to - osgProducer/Producer. - -2007-02-27 11:51 robert - - * examples/osglogo/osglogo.cpp: Added --label and --subscript - options to allow us to create custom logos - -2007-02-26 14:36 robert - - * src/osg/AutoTransform.cpp: Fixed auto rotate to screen so that it - handles scales in to the parental path - -2007-02-26 13:01 robert - - * VisualStudio/OpenSceneGraph.dsw, - VisualStudio/examples/osgmanipulator/osgmanipulatordemo.dsp, - examples/osgmanipulator/GNUmakefile, - examples/osgmanipulator/GNUmakefile.inst, - examples/osgmanipulator/osgmanipulator.cpp, - include/osgManipulator/Dragger, include/osgManipulator/Projector, - src/osgGA/DriveManipulator.cpp, src/osgGA/FlightManipulator.cpp, - src/osgGA/TrackballManipulator.cpp, src/osgGA/UFOManipulator.cpp, - src/osgManipulator/Dragger.cpp, src/osgManipulator/Projector.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Completed changes to osgManipulator to make it more flexible - w.r.t viewer usage, and - ported osgmanipulator example across of osgViewer - -2007-02-26 11:23 robert - - * src/osgDB/ReentrantMutex.cpp: Removed ReentrantMutex - -2007-02-25 20:05 robert - - * Make/makedirdefs, VisualStudio/OpenSceneGraph.dsw, - VisualStudio/osgPlugins/osgViewer, - VisualStudio/osgPlugins/osgViewer/dot_osgViewer.dsp, - examples/osgcamera/osgcamera.cpp, include/osg/View, - include/osgViewer/View, src/osg/View.cpp, src/osgDB/Registry.cpp, - src/osgPlugins/osgViewer/IO_View.cpp, - src/osgPlugins/osgViewer/View.cpp, src/osgViewer/View.cpp: - Further work on add serialization support for osgViewer - configurations - -2007-02-25 19:59 robert - - * src/osgPlugins/osgViewer, src/osgPlugins/osgViewer/GNUmakefile, - src/osgPlugins/osgViewer/IO_View.cpp, - src/osgPlugins/osgViewer/ReaderWriterOsgViewer.cpp: Added new - osgViewer plugin to help with serializing in/out of viewer - configurtions - -2007-02-24 19:54 robert - - * VisualStudio/applications/osgarchive/osgarchive.dsp, - VisualStudio/applications/osgconv/osgconv.dsp, - VisualStudio/applications/osgdem/osgdem.dsp, - VisualStudio/applications/osgproducerviewer/osgproducerviewer.dsp, - VisualStudio/applications/osgversion/osgversion.dsp, - VisualStudio/applications/osgviewer/osgviewerapplication.dsp, - VisualStudio/osgTerrain/osgTerrain.dsp, - VisualStudio/osgText/osgText.dsp, - VisualStudio/osgUtil/osgUtil.dsp, - VisualStudio/osgWrappers/osg/wrapper_osg.dsp, - VisualStudio/osgWrappers/osgDB/wrapper_osgDB.dsp, - VisualStudio/osgWrappers/osgFX/wrapper_osgFX.dsp, - VisualStudio/osgWrappers/osgGA/wrapper_osgGA.dsp, - VisualStudio/osgWrappers/osgManipulator/wrapper_osgManipulator.dsp, - VisualStudio/osgWrappers/osgParticle/wrapper_osgParticle.dsp, - VisualStudio/osgWrappers/osgProducer/wrapper_osgProducer.dsp, - VisualStudio/osgWrappers/osgShadow/wrapper_osgShadow.dsp, - VisualStudio/osgWrappers/osgSim/wrapper_osgSim.dsp, - VisualStudio/osgWrappers/osgTerrain/wrapper_osgTerrain.dsp, - VisualStudio/osgWrappers/osgText/wrapper_osgText.dsp, - VisualStudio/osgWrappers/osgUtil/wrapper_osgUtil.dsp, - VisualStudio/osgWrappers/osgViewer/wrapper_osgViewer.dsp: Set - propset in .dsp to fix eol to CRLF - -2007-02-24 19:51 robert - - * VisualStudio/examples/osgGLUTkeyboardmouse/osgGLUTkeyboardmouse.dsp, - VisualStudio/examples/osgGLUTsimple/osgGLUTsimple.dsp, - VisualStudio/examples/osganimate/osganimate.dsp, - VisualStudio/examples/osgautotransform/osgautotransform.dsp, - VisualStudio/examples/osgbillboard/osgbillboard.dsp, - VisualStudio/examples/osgblendequation/osgblendequation.dsp, - VisualStudio/examples/osgbluemarble/osgbluemarble.dsp, - VisualStudio/examples/osgcallback/osgcallback.dsp, - VisualStudio/examples/osgcamera/osgcamera.dsp, - VisualStudio/examples/osgcatch/osgcatch.dsp, - VisualStudio/examples/osgclip/osgclip.dsp, - VisualStudio/examples/osgcluster/osgcluster.dsp, - VisualStudio/examples/osgcopy/osgcopy.dsp, - VisualStudio/examples/osgcubemap/osgcubemap.dsp, - VisualStudio/examples/osgdelaunay/osgdelaunay.dsp, - VisualStudio/examples/osgdepthpartition/osgdepthpartition.dsp, - VisualStudio/examples/osgdepthshadow/osgdepthshadow.dsp, - VisualStudio/examples/osgdistortion/osgdistortion.dsp, - VisualStudio/examples/osgfadetext/osgfadetext.dsp, - VisualStudio/examples/osgforest/osgforest.dsp, - VisualStudio/examples/osgfxbrowser/osgfxbrowser.dsp, - VisualStudio/examples/osggeodemo/osggeodemo.dsp, - VisualStudio/examples/osggeometry/osggeometry.dsp, - VisualStudio/examples/osghangglide/osghangglide.dsp, - VisualStudio/examples/osghud/osghud.dsp, - VisualStudio/examples/osgimpostor/osgimpostor.dsp, - VisualStudio/examples/osgintersection/osgintersection.dsp, - VisualStudio/examples/osgintrospection/example_osgintrospection.dsp, - VisualStudio/examples/osgkeyboard/osgkeyboard.dsp, - VisualStudio/examples/osgkeyboardmouse/osgkeyboardmouse.dsp, - VisualStudio/examples/osglauncher/osglauncher.dsp, - VisualStudio/examples/osglight/osglight.dsp, - VisualStudio/examples/osglightpoint/osglightpoint.dsp, - VisualStudio/examples/osglogicop/osglogicop.dsp, - VisualStudio/examples/osglogo/osglogo.dsp, - VisualStudio/examples/osgmanipulator/osgmanipulatordemo.dsp, - VisualStudio/examples/osgmotionblur/osgmotionblur.dsp, - VisualStudio/examples/osgmovie/osgmovie.dsp, - VisualStudio/examples/osgmultiplecameras/osgmultiplecameras.dsp, - VisualStudio/examples/osgmultitexture/osgmultitexture.dsp, - VisualStudio/examples/osgoccluder/osgoccluder.dsp, - VisualStudio/examples/osgpagedlod/osgpagedlod.dsp, - VisualStudio/examples/osgparametric/osgparametric.dsp, - VisualStudio/examples/osgparticle/osgparticledemo.dsp, - VisualStudio/examples/osgparticleeffects/osgparticleeffects.dsp, - VisualStudio/examples/osgphotoalbum/osgphotoalbum.dsp, - VisualStudio/examples/osgpick/osgpick.dsp, - VisualStudio/examples/osgplanets/osgplanets.dsp, - VisualStudio/examples/osgpoints/osgpoints.dsp, - VisualStudio/examples/osgpointsprite/osgpointsprite.dsp, - VisualStudio/examples/osgprecipitation/osgprecipitation.dsp, - VisualStudio/examples/osgprerender/osgprerender.dsp, - VisualStudio/examples/osgprerendercubemap/osgprerendercubemap.dsp, - VisualStudio/examples/osgreflect/osgreflect.dsp, - VisualStudio/examples/osgscalarbar/osgscalarbar.dsp, - VisualStudio/examples/osgscribe/osgscribe.dsp, - VisualStudio/examples/osgsequence/osgsequence.dsp, - VisualStudio/examples/osgshaders/osgshaders.dsp, - VisualStudio/examples/osgshaderterrain/osgshaderterrain.dsp, - VisualStudio/examples/osgshadow/example_osgshadow.dsp, - VisualStudio/examples/osgshadowtexture/osgshadowtexture.dsp, - VisualStudio/examples/osgshape/osgshape.dsp, - VisualStudio/examples/osgsimple/osgsimple.dsp, - VisualStudio/examples/osgsimpleviewerFLTK/osgsimpleviewerFLTK.dsp, - VisualStudio/examples/osgsimpleviewerGLUT/osgsimpleviewerGLUT.dsp, - VisualStudio/examples/osgsimpleviewerQT3/osgsimpleviewerQT3.dsp, - VisualStudio/examples/osgsimpleviewerQT4/osgsimpleviewerQT4.dsp, - VisualStudio/examples/osgsimpleviewerSDL/osgsimpleviewerSDL.dsp, - VisualStudio/examples/osgsimplifier/osgsimplifier.dsp, - VisualStudio/examples/osgsimulation/osgsimulation.dsp, - VisualStudio/examples/osgslice/osgslice.dsp, - VisualStudio/examples/osgspacewarp/osgspacewarp.dsp, - VisualStudio/examples/osgspheresegment/osgspheresegment.dsp, - VisualStudio/examples/osgspotlight/osgspotlight.dsp, - VisualStudio/examples/osgstereoimage/osgstereoimage.dsp, - VisualStudio/examples/osgteapot/osgteapot.dsp, - VisualStudio/examples/osgtessellate/osgtessellate.dsp, - VisualStudio/examples/osgtext/osgtextdemo.dsp, - VisualStudio/examples/osgtexture1D/osgtexture1D.dsp, - VisualStudio/examples/osgtexture2D/osgtexture2D.dsp, - VisualStudio/examples/osgtexture3D/osgtexture3D.dsp, - VisualStudio/examples/osgtexturerectangle/osgtexturerectangle.dsp, - VisualStudio/examples/osgunittests/osgunittests.dsp, - VisualStudio/examples/osgvertexprogram/osgvertexprogram.dsp, - VisualStudio/examples/osgvolume/osgvolume.dsp, - VisualStudio/examples/osgwindows/osgwindows.dsp: Set svn::eol - style to CRLF - -2007-02-24 09:04 robert - - * src/osgWrappers/osgShadow/GNUmakefile: Added makefile - -2007-02-23 21:06 robert - - * VisualStudio/osg/osg.dsp, VisualStudio/osgDB/osgDB.dsp, - VisualStudio/osgFX/osgFX.dsp, VisualStudio/osgGA/osgGA.dsp, - VisualStudio/osgIntrospection/osgIntrospection.dsp, - VisualStudio/osgManipulator/osgManipulator.dsp, - VisualStudio/osgParticle/osgParticle.dsp, - VisualStudio/osgPlugins/3dc/3dc.dsp, - VisualStudio/osgPlugins/ESRIShape/ESRIShape.dsp, - VisualStudio/osgPlugins/OpenFlight/OpenFlight.dsp, - VisualStudio/osgPlugins/ac3d/ac3d.dsp, - VisualStudio/osgPlugins/bmp/bmp.dsp, - VisualStudio/osgPlugins/bsp/bsp.dsp, - VisualStudio/osgPlugins/dae/dae.dsp, - VisualStudio/osgPlugins/dds/dds.dsp, - VisualStudio/osgPlugins/directx/directx.dsp, - VisualStudio/osgPlugins/dw/dw.dsp, - VisualStudio/osgPlugins/dxf/dxf.dsp, - VisualStudio/osgPlugins/flt/flt.dsp, - VisualStudio/osgPlugins/freetype/freetype.dsp, - VisualStudio/osgPlugins/gdal/gdal.dsp, - VisualStudio/osgPlugins/geo/geo.dsp, - VisualStudio/osgPlugins/gif/gif.dsp, - VisualStudio/osgPlugins/hdr/hdr.dsp, - VisualStudio/osgPlugins/ive/ive.dsp, - VisualStudio/osgPlugins/jp2/jp2.dsp, - VisualStudio/osgPlugins/jpeg/jpeg.dsp, - VisualStudio/osgPlugins/lib3ds/lib3ds.dsp, - VisualStudio/osgPlugins/logo/logo.dsp, - VisualStudio/osgPlugins/lwo/lwo.dsp, - VisualStudio/osgPlugins/lws/lws.dsp, - VisualStudio/osgPlugins/md2/md2.dsp, - VisualStudio/osgPlugins/net/net.dsp, - VisualStudio/osgPlugins/normals/normals.dsp, - VisualStudio/osgPlugins/obj/obj.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, - VisualStudio/osgPlugins/osgFX/dot_osgFX.dsp, - VisualStudio/osgPlugins/osgParticle/dot_osgParticle.dsp, - VisualStudio/osgPlugins/osgShadow/dot_osgShadow.dsp, - VisualStudio/osgPlugins/osgSim/dot_osgSim.dsp, - VisualStudio/osgPlugins/osgText/dot_osgText.dsp, - VisualStudio/osgPlugins/osga/osga.dsp, - VisualStudio/osgPlugins/osgtgz/osgtgz.dsp, - VisualStudio/osgPlugins/pfb/pfb.dsp, - VisualStudio/osgPlugins/pic/pic.dsp, - VisualStudio/osgPlugins/png/png.dsp, - VisualStudio/osgPlugins/pnm/pnm.dsp, - VisualStudio/osgPlugins/quicktime/quicktime.dsp, - VisualStudio/osgPlugins/rgb/rgb.dsp, - VisualStudio/osgPlugins/rot/rot.dsp, - VisualStudio/osgPlugins/scale/scale.dsp, - VisualStudio/osgPlugins/stl/stl.dsp, - VisualStudio/osgPlugins/tga/tga.dsp, - VisualStudio/osgPlugins/tgz/tgz.dsp, - VisualStudio/osgPlugins/tiff/tiff.dsp, - VisualStudio/osgPlugins/trans/trans.dsp, - VisualStudio/osgPlugins/txf/txf.dsp, - VisualStudio/osgPlugins/txp/txp.dsp, - VisualStudio/osgPlugins/zip/zip.dsp, - VisualStudio/osgProducer/osgProducer.dsp, - VisualStudio/osgShadow/osgShadow.dsp, - VisualStudio/osgSim/osgSim.dsp, - VisualStudio/osgViewer/osgViewer.dsp: Used Mike Wittman - suggestion from setting CRLF on .dsp files - -2007-02-23 16:31 robert - - * VisualStudio/osgDB/osgDB.dsp, - VisualStudio/osgWrappers/osgDB/wrapper_osgDB.dsp, - Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - examples/osgphotoalbum/ImageReaderWriter.h, - include/osg/GraphicsContext, include/osg/GraphicsThread, - include/osgDB/DatabasePager, include/osgDB/ReentrantMutex, - include/osgParticle/ParticleSystem, src/osg/GraphicsContext.cpp, - src/osg/GraphicsThread.cpp, src/osgDB/DatabasePager.cpp, - src/osgDB/GNUmakefile, - src/osgParticle/ConnectedParticleSystem.cpp, - src/osgParticle/ParticleProcessor.cpp, - src/osgParticle/ParticleSystem.cpp, - src/osgParticle/ParticleSystemUpdater.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/flt/ReaderWriterFLT.cpp, - src/osgPlugins/flt/ReaderWriterFLT.h, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp, - src/osgPlugins/osga/OSGA_Archive.h, - src/osgPlugins/txp/ReaderWriterTXP.h, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/GraphicsThread.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/GNUmakefile, - src/osgWrappers/osgDB/ReentrantMutex.cpp, - src/osgWrappers/osgParticle/ParticleSystem.cpp: Moved Block, - ReentrantMutex and ReadWriteMutex into OpenThreads. - -2007-02-23 12:14 robert - - * src/osgWrappers/osg/Camera.cpp, src/osgWrappers/osg/View.cpp: - Updated wrappers - -2007-02-23 11:53 robert - - * examples/osgdistortion/osgdistortion.cpp, include/osg/View, - src/osg/View.cpp, src/osgViewer/View.cpp: Added bool - View::Slave::_useMastersSceneData to help manage HUD's and RTT - cameras that are embedded in the Viewer's View - -2007-02-23 11:52 robert - - * examples/osghud/osghud.cpp: Added new --Viewer and - --CompositeViewer for implementation of HUDs - -2007-02-23 11:51 robert - - * src/osgViewer/CompositeViewer.cpp: Clean up the handling of views - without camera manipulators, and cameras that - don't allow camera focus - -2007-02-22 16:42 robert - - * examples/osgdistortion/osgdistortion.cpp: Implement basic full - dome correction with projecto pointing upwards and at center - of dome. - -2007-02-22 11:17 robert - - * examples/osgdistortion/osgdistortion.cpp: Moved distortion mesh - creation out into seperate function - -2007-02-22 10:56 robert - - * src/osgViewer/Viewer.cpp: Removed the compile objects in init in - the SceneView::setDefaults() setup. - -2007-02-22 10:31 robert - - * src/osgViewer/View.cpp: Fixed calculation of inverted - coordindates - -2007-02-22 09:16 robert - - * src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: Added - STATIC_OBJECT_DETECTION optimizer pass to OpenFlight plugin - -2007-02-21 21:20 robert - - * src/osgPlugins/OpenFlight/PrimaryRecords.cpp: 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". +Fri, 28 May 2010 17:10:27 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-02-21 20:47 robert +Fri, 28 May 2010 17:10:06 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * src/osgViewer/View.cpp: Removed debugging info +Fri, 28 May 2010 17:09:36 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-02-21 20:38 robert +Fri, 28 May 2010 17:09:15 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * src/osgUtil/SceneView.cpp: 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 +Fri, 28 May 2010 17:08:30 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-02-21 19:41 robert +Fri, 28 May 2010 17:08:10 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp: Added ability - to discount Camera's that arn't appropriate for event focus +Fri, 28 May 2010 17:07:44 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-02-21 19:41 robert +Fri, 28 May 2010 17:07:24 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * examples/osgdistortion/osgdistortion.cpp: Wired up RTT cubemap - cameras and simple distortion mesh. +Fri, 28 May 2010 17:07:01 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-02-21 19:06 robert +Fri, 28 May 2010 17:06:35 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * include/osg/Camera, src/osg/Camera.cpp: Added - Camera::s/getAllowsEventFocus() method to allow osgViewer to have - non interfactive cameras such as RTT ones +Fri, 28 May 2010 17:06:10 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-02-21 15:15 robert +Fri, 28 May 2010 17:05:46 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * src/osg/State.cpp, src/osg/TexGenNode.cpp: 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." +Fri, 28 May 2010 16:54:45 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-02-21 14:17 robert +Fri, 28 May 2010 16:54:08 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp: Removed debug - messages +Fri, 28 May 2010 16:53:46 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-02-21 13:48 robert +Fri, 28 May 2010 16:52:45 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * examples/osgdepthpartition/DepthPartitionNode.cpp, - examples/osgprerendercubemap/osgprerendercubemap.cpp, - examples/osgvertexprogram/osgvertexprogram.cpp, genwrapper.conf, - include/osg/CullStack, src/osg/AutoTransform.cpp, - src/osg/CollectOccludersVisitor.cpp, src/osg/CullStack.cpp, - src/osg/ShadowVolumeOccluder.cpp, - src/osgParticle/PrecipitationEffect.cpp, - src/osgPlugins/txp/TXPNode.cpp, src/osgShadow/ShadowMap.cpp, - src/osgShadow/ShadowTexture.cpp, src/osgShadow/ShadowVolume.cpp, - src/osgSim/Impostor.cpp, src/osgSim/LightPointNode.cpp, - src/osgSim/OverlayNode.cpp, src/osgUtil/CullVisitor.cpp, - src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp, - src/osgWrappers/osg/CullStack.cpp, - src/osgWrappers/osgViewer/Scene.cpp: 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. +Fri, 28 May 2010 16:51:18 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-02-21 11:46 robert +Fri, 28 May 2010 16:50:45 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * src/osgPlugins/osg/StateSet.cpp: Removed GL_TEXTURE_RECTANGLE_NV - entries +Fri, 28 May 2010 16:50:29 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-02-20 21:06 robert +Fri, 28 May 2010 16:49:45 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * examples/osgdistortion/osgdistortion.cpp: Further work on dome - RTT +Fri, 28 May 2010 16:49:23 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-02-20 20:56 robert +Fri, 28 May 2010 16:48:31 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * src/osg/View.cpp: Fixed inheritance check for copying clear - colour to slave cameras +Fri, 28 May 2010 16:48:05 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-02-20 16:46 robert +Fri, 28 May 2010 16:47:42 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Added inhertCullSettings before SceneView::cull() calls +Fri, 28 May 2010 16:45:32 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-02-20 11:44 robert +Fri, 28 May 2010 16:44:28 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * examples/osgdistortion/osgdistortion.cpp: Added beginings of full - dome correction support, starting with 6 slave camera - configuration. +Fri, 28 May 2010 16:44:08 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-02-20 09:48 robert +Fri, 28 May 2010 16:42:57 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * Make/makedirdefs: Added missing \ to end osgGA entry +Fri, 28 May 2010 16:42:24 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-02-20 09:48 robert +Fri, 28 May 2010 16:41:53 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * Make/makedirdefs: Added osgViewer and osgShadow to the wrapper - build directories +Fri, 28 May 2010 16:41:37 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-02-19 20:57 robert +Fri, 28 May 2010 16:39:42 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * include/osgViewer/Scene: Added g/setUpdateVistor method +Fri, 28 May 2010 16:39:08 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-02-19 16:59 robert +Fri, 28 May 2010 16:38:19 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * examples/osgshadow/osgshadow.cpp: Added command line arguments - descriptions +Fri, 28 May 2010 16:38:00 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-02-19 16:45 robert +Fri, 28 May 2010 16:37:40 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * examples/osgshadow/osgshadow.cpp: Added -1, -2 and -3 model - creation options to osgshadow example. +Fri, 28 May 2010 16:37:10 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-02-19 15:42 robert +Fri, 28 May 2010 16:32:51 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * src/osgShadow/ShadowTexture.cpp, - src/osgWrappers/osgShadow/ShadowMap.cpp, - src/osgWrappers/osgShadow/ShadowedScene.cpp: Updated wrappers +Fri, 28 May 2010 16:32:06 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-02-19 15:26 robert - - * examples/osgshadow/osgshadow.cpp: Added support for ShadowTexture - and ShadowMap to osgshadow example - -2007-02-19 14:21 robert - - * examples/osgdepthshadow/GNUmakefile, - examples/osgdepthshadow/osgdepthshadow.cpp, - examples/osgshadowtexture/osgshadowtexture.cpp: Added option to - use osgShadow::ShadowMap technique - -2007-02-19 14:20 robert - - * include/osgShadow/ShadowMap, include/osgShadow/ShadowedScene, - src/osgShadow/ShadowMap.cpp, src/osgShadow/ShadowTexture.cpp, - src/osgShadow/ShadowedScene.cpp: Implemented basic ShadowMap - technique - -2007-02-19 12:13 robert - - * include/osgShadow/ShadowTechnique, - src/osgShadow/ShadowTechnique.cpp, - src/osgShadow/ShadowTexture.cpp: Moved CameraCullCallback into - ShadowTechnique scope to make it more resusable between various - Techniques - -2007-02-18 15:24 robert - - * src/osgShadow/ShadowTexture.cpp: Wired up the texgen to complete - the first iteration of ShadowTexture effect - -2007-02-18 14:21 robert - - * src/osg/GraphicsThread.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: 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 - - * src/osgShadow/ShadowTexture.cpp: Added basic set up of the RTT - camera. - -2007-02-17 14:37 robert - - * src/osgPlugins/osg/StateSet.cpp: From Paul Martz, "Add - GL_TEXTURE_RECTANGLE to list of acceptable texture modes" - -2007-02-16 17:45 robert - - * VisualStudio/osgWrappers/osg/wrapper_osg.dsp, - VisualStudio/osgWrappers/osgDB/wrapper_osgDB.dsp, - VisualStudio/osgWrappers/osgFX/wrapper_osgFX.dsp, - VisualStudio/osgWrappers/osgGA/wrapper_osgGA.dsp, - VisualStudio/osgWrappers/osgManipulator/wrapper_osgManipulator.dsp, - VisualStudio/osgWrappers/osgParticle/wrapper_osgParticle.dsp, - VisualStudio/osgWrappers/osgProducer/wrapper_osgProducer.dsp, - VisualStudio/osgWrappers/osgShadow/wrapper_osgShadow.dsp, - VisualStudio/osgWrappers/osgSim/wrapper_osgSim.dsp, - VisualStudio/osgWrappers/osgText/wrapper_osgText.dsp, - VisualStudio/osgWrappers/osgUtil/wrapper_osgUtil.dsp, - VisualStudio/osgWrappers/osgViewer/wrapper_osgViewer.dsp, - src/osgWrappers/osg/AlphaFunc.cpp, - src/osgWrappers/osg/AnimationPath.cpp, - src/osgWrappers/osg/ApplicationUsage.cpp, - src/osgWrappers/osg/ArgumentParser.cpp, - src/osgWrappers/osg/Array.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/Camera.cpp, src/osgWrappers/osg/ClipNode.cpp, - src/osgWrappers/osg/ComputeBoundsVisitor.cpp, - src/osgWrappers/osg/DrawPixels.cpp, - src/osgWrappers/osg/Drawable.cpp, src/osgWrappers/osg/Fog.cpp, - src/osgWrappers/osg/FragmentProgram.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osg/FrameStamp.cpp, - src/osgWrappers/osg/FrontFace.cpp, - src/osgWrappers/osg/GNUmakefile, src/osgWrappers/osg/Geode.cpp, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/PagedLOD.cpp, src/osgWrappers/osg/Plane.cpp, - src/osgWrappers/osg/Point.cpp, - src/osgWrappers/osg/PointSprite.cpp, - src/osgWrappers/osg/PolygonMode.cpp, - src/osgWrappers/osg/PolygonOffset.cpp, - src/osgWrappers/osg/PolygonStipple.cpp, - src/osgWrappers/osg/Polytope.cpp, - src/osgWrappers/osg/PositionAttitudeTransform.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osg/Program.cpp, - src/osgWrappers/osg/Projection.cpp, - src/osgWrappers/osg/ProxyNode.cpp, src/osgWrappers/osg/Quat.cpp, - src/osgWrappers/osg/Referenced.cpp, - src/osgWrappers/osg/Scissor.cpp, - src/osgWrappers/osg/Sequence.cpp, - src/osgWrappers/osg/ShadeModel.cpp, - src/osgWrappers/osg/Shader.cpp, - src/osgWrappers/osg/ShadowVolumeOccluder.cpp, - src/osgWrappers/osg/Shape.cpp, - src/osgWrappers/osg/ShapeDrawable.cpp, - src/osgWrappers/osg/State.cpp, src/osgWrappers/osg/StateSet.cpp, - src/osgWrappers/osg/Stats.cpp, - src/osgWrappers/osg/StencilTwoSided.cpp, - src/osgWrappers/osg/Switch.cpp, src/osgWrappers/osg/TexEnv.cpp, - src/osgWrappers/osg/TexEnvCombine.cpp, - src/osgWrappers/osg/TexEnvFilter.cpp, - src/osgWrappers/osg/TexGen.cpp, - src/osgWrappers/osg/TexGenNode.cpp, - src/osgWrappers/osg/TexMat.cpp, src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osg/Texture1D.cpp, - src/osgWrappers/osg/Texture2D.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/TextureCubeMap.cpp, - src/osgWrappers/osg/TextureRectangle.cpp, - src/osgWrappers/osg/Transform.cpp, - src/osgWrappers/osg/Uniform.cpp, src/osgWrappers/osg/Vec2d.cpp, - src/osgWrappers/osg/Vec2f.cpp, src/osgWrappers/osg/Vec2s.cpp, - src/osgWrappers/osg/Vec3d.cpp, src/osgWrappers/osg/Vec4b.cpp, - src/osgWrappers/osg/Vec4d.cpp, src/osgWrappers/osg/Vec4s.cpp, - src/osgWrappers/osg/VertexProgram.cpp, - src/osgWrappers/osg/View.cpp, - src/osgWrappers/osgDB/FileUtils.cpp, - src/osgWrappers/osgDB/GNUmakefile, - src/osgWrappers/osgDB/ReentrantMutex.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgFX/AnisotropicLighting.cpp, - src/osgWrappers/osgFX/BumpMapping.cpp, - src/osgWrappers/osgFX/Cartoon.cpp, - src/osgWrappers/osgFX/Effect.cpp, - src/osgWrappers/osgFX/GNUmakefile, - src/osgWrappers/osgFX/MultiTextureControl.cpp, - src/osgWrappers/osgFX/Registry.cpp, - src/osgWrappers/osgFX/Scribe.cpp, - src/osgWrappers/osgFX/SpecularHighlights.cpp, - src/osgWrappers/osgFX/Technique.cpp, - src/osgWrappers/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/osgGA/DriveManipulator.cpp, - src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgGA/EventVisitor.cpp, - src/osgWrappers/osgGA/FlightManipulator.cpp, - src/osgWrappers/osgGA/GNUmakefile, - src/osgWrappers/osgGA/GUIActionAdapter.cpp, - src/osgWrappers/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/osgGA/GUIEventHandler.cpp, - src/osgWrappers/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/osgGA/MatrixManipulator.cpp, - src/osgWrappers/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/osgGA/StateSetManipulator.cpp, - src/osgWrappers/osgGA/TerrainManipulator.cpp, - src/osgWrappers/osgGA/UFOManipulator.cpp, - src/osgWrappers/osgManipulator/AntiSquish.cpp, - src/osgWrappers/osgManipulator/Command.cpp, - src/osgWrappers/osgManipulator/CommandManager.cpp, - src/osgWrappers/osgManipulator/Constraint.cpp, - src/osgWrappers/osgManipulator/Dragger.cpp, - src/osgWrappers/osgManipulator/GNUmakefile, - src/osgWrappers/osgManipulator/Projector.cpp, - src/osgWrappers/osgManipulator/RotateSphereDragger.cpp, - src/osgWrappers/osgManipulator/ScaleAxisDragger.cpp, - src/osgWrappers/osgManipulator/Selection.cpp, - src/osgWrappers/osgManipulator/TabBoxDragger.cpp, - src/osgWrappers/osgManipulator/TabPlaneDragger.cpp, - src/osgWrappers/osgManipulator/TrackballDragger.cpp, - src/osgWrappers/osgManipulator/Translate1DDragger.cpp, - src/osgWrappers/osgManipulator/Translate2DDragger.cpp, - src/osgWrappers/osgManipulator/TranslateAxisDragger.cpp, - src/osgWrappers/osgManipulator/TranslatePlaneDragger.cpp, - src/osgWrappers/osgParticle/AccelOperator.cpp, - src/osgWrappers/osgParticle/AngularAccelOperator.cpp, - src/osgWrappers/osgParticle/BoxPlacer.cpp, - src/osgWrappers/osgParticle/CenteredPlacer.cpp, - src/osgWrappers/osgParticle/ConnectedParticleSystem.cpp, - src/osgWrappers/osgParticle/ConstantRateCounter.cpp, - src/osgWrappers/osgParticle/Counter.cpp, - src/osgWrappers/osgParticle/Emitter.cpp, - src/osgWrappers/osgParticle/ExplosionDebrisEffect.cpp, - src/osgWrappers/osgParticle/ExplosionEffect.cpp, - src/osgWrappers/osgParticle/FireEffect.cpp, - src/osgWrappers/osgParticle/FluidFrictionOperator.cpp, - src/osgWrappers/osgParticle/FluidProgram.cpp, - src/osgWrappers/osgParticle/ForceOperator.cpp, - src/osgWrappers/osgParticle/GNUmakefile, - src/osgWrappers/osgParticle/Interpolator.cpp, - src/osgWrappers/osgParticle/LinearInterpolator.cpp, - src/osgWrappers/osgParticle/ModularEmitter.cpp, - src/osgWrappers/osgParticle/ModularProgram.cpp, - src/osgWrappers/osgParticle/MultiSegmentPlacer.cpp, - src/osgWrappers/osgParticle/Operator.cpp, - src/osgWrappers/osgParticle/Particle.cpp, - src/osgWrappers/osgParticle/ParticleEffect.cpp, - src/osgWrappers/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/osgParticle/Placer.cpp, - src/osgWrappers/osgParticle/PointPlacer.cpp, - src/osgWrappers/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/osgParticle/Program.cpp, - src/osgWrappers/osgParticle/RadialShooter.cpp, - src/osgWrappers/osgParticle/RandomRateCounter.cpp, - src/osgWrappers/osgParticle/SectorPlacer.cpp, - src/osgWrappers/osgParticle/SegmentPlacer.cpp, - src/osgWrappers/osgParticle/Shooter.cpp, - src/osgWrappers/osgParticle/SmokeEffect.cpp, - src/osgWrappers/osgProducer/GNUmakefile, - src/osgWrappers/osgProducer/GraphicsContextImplementation.cpp, - src/osgWrappers/osgProducer/KeyboardMouseCallback.cpp, - src/osgWrappers/osgProducer/OsgCameraGroup.cpp, - src/osgWrappers/osgProducer/OsgSceneHandler.cpp, - src/osgWrappers/osgProducer/Viewer.cpp, - src/osgWrappers/osgProducer/ViewerEventHandler.cpp, - src/osgWrappers/osgShadow/OccluderGeometry.cpp, - src/osgWrappers/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/osgShadow/ShadowMap.cpp, - src/osgWrappers/osgShadow/ShadowTechnique.cpp, - src/osgWrappers/osgShadow/ShadowTexture.cpp, - src/osgWrappers/osgShadow/ShadowVolume.cpp, - src/osgWrappers/osgShadow/ShadowedScene.cpp, - src/osgWrappers/osgSim/BlinkSequence.cpp, - src/osgWrappers/osgSim/ColorRange.cpp, - src/osgWrappers/osgSim/DOFTransform.cpp, - src/osgWrappers/osgSim/ElevationSlice.cpp, - src/osgWrappers/osgSim/GNUmakefile, - src/osgWrappers/osgSim/GeographicLocation.cpp, - src/osgWrappers/osgSim/HeightAboveTerrain.cpp, - src/osgWrappers/osgSim/Impostor.cpp, - src/osgWrappers/osgSim/ImpostorSprite.cpp, - src/osgWrappers/osgSim/InsertImpostorsVisitor.cpp, - src/osgWrappers/osgSim/LightPoint.cpp, - src/osgWrappers/osgSim/LightPointNode.cpp, - src/osgWrappers/osgSim/LightPointSystem.cpp, - src/osgWrappers/osgSim/LineOfSight.cpp, - src/osgWrappers/osgSim/MultiSwitch.cpp, - src/osgWrappers/osgSim/OpenFlightOptimizer.cpp, - src/osgWrappers/osgSim/OverlayNode.cpp, - src/osgWrappers/osgSim/ScalarBar.cpp, - src/osgWrappers/osgSim/ScalarsToColors.cpp, - src/osgWrappers/osgSim/Sector.cpp, - src/osgWrappers/osgSim/SphereSegment.cpp, - src/osgWrappers/osgSim/VisibilityGroup.cpp, - src/osgWrappers/osgTerrain/DataSet.cpp, - src/osgWrappers/osgTerrain/HeightFieldNode.cpp, - src/osgWrappers/osgTerrain/HeightFieldRenderer.cpp, - src/osgWrappers/osgText/FadeText.cpp, - src/osgWrappers/osgText/Font.cpp, - src/osgWrappers/osgText/GNUmakefile, - src/osgWrappers/osgText/String.cpp, - src/osgWrappers/osgText/Text.cpp, - src/osgWrappers/osgUtil/CubeMapGenerator.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/DelaunayTriangulator.cpp, - src/osgWrappers/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/osgUtil/GNUmakefile, - src/osgWrappers/osgUtil/HalfWayMapGenerator.cpp, - src/osgWrappers/osgUtil/HighlightMapGenerator.cpp, - src/osgWrappers/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgUtil/IntersectionVisitor.cpp, - src/osgWrappers/osgUtil/LineSegmentIntersector.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp, - src/osgWrappers/osgUtil/ReflectionMapGenerator.cpp, - src/osgWrappers/osgUtil/RenderBin.cpp, - src/osgWrappers/osgUtil/RenderLeaf.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp, - src/osgWrappers/osgUtil/SceneView.cpp, - src/osgWrappers/osgUtil/Simplifier.cpp, - src/osgWrappers/osgUtil/SmoothingVisitor.cpp, - src/osgWrappers/osgUtil/Statistics.cpp, - src/osgWrappers/osgUtil/Tessellator.cpp, - src/osgWrappers/osgUtil/TransformAttributeFunctor.cpp, - src/osgWrappers/osgUtil/TriStripVisitor.cpp, - src/osgWrappers/osgUtil/UpdateVisitor.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/GNUmakefile, - src/osgWrappers/osgViewer/GraphicsWindow.cpp, - src/osgWrappers/osgViewer/HelpHandler.cpp, - src/osgWrappers/osgViewer/Scene.cpp, - src/osgWrappers/osgViewer/SimpleViewer.cpp, - src/osgWrappers/osgViewer/StatsHandler.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Fixed genwrapper so that it - handles .svn directories, updated wrappers - -2007-02-16 17:35 robert - - * VisualStudio/osgWrappers/osg/wrapper_osg.dsp, - VisualStudio/osgWrappers/osgFX/wrapper_osgFX.dsp, - VisualStudio/osgWrappers/osgGA/wrapper_osgGA.dsp, - VisualStudio/osgWrappers/osgManipulator/wrapper_osgManipulator.dsp, - VisualStudio/osgWrappers/osgParticle/wrapper_osgParticle.dsp, - VisualStudio/osgWrappers/osgProducer/wrapper_osgProducer.dsp, - VisualStudio/osgWrappers/osgShadow/wrapper_osgShadow.dsp, - VisualStudio/osgWrappers/osgSim/wrapper_osgSim.dsp, - VisualStudio/osgWrappers/osgText/wrapper_osgText.dsp, - VisualStudio/osgWrappers/osgUtil/wrapper_osgUtil.dsp, - VisualStudio/osgWrappers/osgViewer/wrapper_osgViewer.dsp, - src/osgShadow/ShadowTexture.cpp, src/osgShadow/ShadowVolume.cpp, - src/osgWrappers/osg/Array.cpp, src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/ComputeBoundsVisitor.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osg/GNUmakefile, src/osgWrappers/osg/Plane.cpp, - src/osgWrappers/osg/Point.cpp, src/osgWrappers/osg/Polytope.cpp, - src/osgWrappers/osg/Program.cpp, src/osgWrappers/osg/Quat.cpp, - src/osgWrappers/osg/Scissor.cpp, src/osgWrappers/osg/Shape.cpp, - src/osgWrappers/osg/ShapeDrawable.cpp, - src/osgWrappers/osg/State.cpp, src/osgWrappers/osg/StateSet.cpp, - src/osgWrappers/osg/TexEnv.cpp, src/osgWrappers/osg/TexGen.cpp, - src/osgWrappers/osg/TexGenNode.cpp, - src/osgWrappers/osg/TexMat.cpp, src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osg/Texture2D.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/Uniform.cpp, src/osgWrappers/osg/Vec2f.cpp, - src/osgWrappers/osg/Vec2s.cpp, src/osgWrappers/osg/Vec3d.cpp, - src/osgWrappers/osg/Vec4d.cpp, - src/osgWrappers/osg/VertexProgram.cpp, - src/osgWrappers/osgDB/ReentrantMutex.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgFX/BumpMapping.cpp, - src/osgWrappers/osgFX/Effect.cpp, - src/osgWrappers/osgFX/GNUmakefile, - src/osgWrappers/osgFX/Technique.cpp, - src/osgWrappers/osgGA/EventVisitor.cpp, - src/osgWrappers/osgGA/GNUmakefile, - src/osgWrappers/osgGA/StateSetManipulator.cpp, - src/osgWrappers/osgGA/TerrainManipulator.cpp, - src/osgWrappers/osgManipulator/Command.cpp, - src/osgWrappers/osgManipulator/CommandManager.cpp, - src/osgWrappers/osgManipulator/GNUmakefile, - src/osgWrappers/osgManipulator/Projector.cpp, - src/osgWrappers/osgManipulator/RotateSphereDragger.cpp, - src/osgWrappers/osgManipulator/TranslatePlaneDragger.cpp, - src/osgWrappers/osgParticle/CenteredPlacer.cpp, - src/osgWrappers/osgParticle/GNUmakefile, - src/osgWrappers/osgParticle/ModularEmitter.cpp, - src/osgWrappers/osgParticle/ParticleEffect.cpp, - src/osgWrappers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/osgParticle/Placer.cpp, - src/osgWrappers/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/osgParticle/SectorPlacer.cpp, - src/osgWrappers/osgParticle/Shooter.cpp, - src/osgWrappers/osgParticle/SmokeEffect.cpp, - src/osgWrappers/osgProducer/GNUmakefile, - src/osgWrappers/osgProducer/OsgCameraGroup.cpp, - src/osgWrappers/osgProducer/OsgSceneHandler.cpp, - src/osgWrappers/osgProducer/ViewerEventHandler.cpp, - src/osgWrappers/osgShadow/ShadowTechnique.cpp, - src/osgWrappers/osgSim/BlinkSequence.cpp, - src/osgWrappers/osgSim/GNUmakefile, - src/osgWrappers/osgSim/ImpostorSprite.cpp, - src/osgWrappers/osgSim/LightPoint.cpp, - src/osgWrappers/osgSim/OpenFlightOptimizer.cpp, - src/osgWrappers/osgSim/ScalarBar.cpp, - src/osgWrappers/osgSim/Sector.cpp, - src/osgWrappers/osgSim/VisibilityGroup.cpp, - src/osgWrappers/osgTerrain/DataSet.cpp, - src/osgWrappers/osgTerrain/HeightFieldRenderer.cpp, - src/osgWrappers/osgText/Font.cpp, - src/osgWrappers/osgText/GNUmakefile, - src/osgWrappers/osgText/String.cpp, - src/osgWrappers/osgText/Text.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/osgUtil/GNUmakefile, - src/osgWrappers/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgUtil/IntersectionVisitor.cpp, - src/osgWrappers/osgUtil/LineSegmentIntersector.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp, - src/osgWrappers/osgUtil/ReflectionMapGenerator.cpp, - src/osgWrappers/osgUtil/RenderBin.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp, - src/osgWrappers/osgUtil/SceneView.cpp, - src/osgWrappers/osgUtil/Simplifier.cpp, - src/osgWrappers/osgUtil/SmoothingVisitor.cpp, - src/osgWrappers/osgUtil/Statistics.cpp, - src/osgWrappers/osgUtil/Tessellator.cpp, - src/osgWrappers/osgUtil/TransformAttributeFunctor.cpp, - src/osgWrappers/osgUtil/UpdateVisitor.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/GNUmakefile, - src/osgWrappers/osgViewer/View.cpp: Updated wrappers - -2007-02-16 17:34 robert - - * VisualStudio/osg/osg.dsp, include/osg/ComputeBoundsVisitor, - src/osg/ComputeBoundsVisitor.cpp, src/osg/GNUmakefile: Added new - osg::ComputeBoundsVisitor - -2007-02-16 16:37 robert - - * src/osgUtil/CullVisitor.cpp: Added pushViewport/popViewport to - CullVisitor::apply(Camera&) - -2007-02-16 15:29 robert - - * VisualStudio/osgWrappers/osg/wrapper_osg.dsp, - VisualStudio/osgWrappers/osgDB/wrapper_osgDB.dsp, - VisualStudio/osgWrappers/osgFX/wrapper_osgFX.dsp, - VisualStudio/osgWrappers/osgGA/wrapper_osgGA.dsp, - VisualStudio/osgWrappers/osgManipulator/wrapper_osgManipulator.dsp, - VisualStudio/osgWrappers/osgParticle/wrapper_osgParticle.dsp, - VisualStudio/osgWrappers/osgProducer/wrapper_osgProducer.dsp, - VisualStudio/osgWrappers/osgShadow/wrapper_osgShadow.dsp, - VisualStudio/osgWrappers/osgSim/wrapper_osgSim.dsp, - VisualStudio/osgWrappers/osgText/wrapper_osgText.dsp, - VisualStudio/osgWrappers/osgUtil/wrapper_osgUtil.dsp, - src/osgWrappers/osg/AlphaFunc.cpp, - src/osgWrappers/osg/AnimationPath.cpp, - src/osgWrappers/osg/ApplicationUsage.cpp, - src/osgWrappers/osg/ArgumentParser.cpp, - src/osgWrappers/osg/Array.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/DrawPixels.cpp, - src/osgWrappers/osg/Drawable.cpp, src/osgWrappers/osg/Fog.cpp, - src/osgWrappers/osg/FragmentProgram.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osg/FrameStamp.cpp, - src/osgWrappers/osg/FrontFace.cpp, - src/osgWrappers/osg/GNUmakefile, src/osgWrappers/osg/Geode.cpp, - src/osgWrappers/osg/PagedLOD.cpp, src/osgWrappers/osg/Point.cpp, - src/osgWrappers/osg/PointSprite.cpp, - src/osgWrappers/osg/PolygonMode.cpp, - src/osgWrappers/osg/PolygonOffset.cpp, - src/osgWrappers/osg/PolygonStipple.cpp, - src/osgWrappers/osg/Polytope.cpp, - src/osgWrappers/osg/PositionAttitudeTransform.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osg/Program.cpp, - src/osgWrappers/osg/Projection.cpp, - src/osgWrappers/osg/ProxyNode.cpp, src/osgWrappers/osg/Quat.cpp, - src/osgWrappers/osg/Referenced.cpp, - src/osgWrappers/osg/Sequence.cpp, - src/osgWrappers/osg/ShadeModel.cpp, - src/osgWrappers/osg/Shader.cpp, - src/osgWrappers/osg/ShadowVolumeOccluder.cpp, - src/osgWrappers/osg/Shape.cpp, - src/osgWrappers/osg/ShapeDrawable.cpp, - src/osgWrappers/osg/State.cpp, src/osgWrappers/osg/StateSet.cpp, - src/osgWrappers/osg/Stats.cpp, - src/osgWrappers/osg/StencilTwoSided.cpp, - src/osgWrappers/osg/Switch.cpp, - src/osgWrappers/osg/TexEnvCombine.cpp, - src/osgWrappers/osg/TexEnvFilter.cpp, - src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osg/Texture1D.cpp, - src/osgWrappers/osg/Texture2D.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/TextureCubeMap.cpp, - src/osgWrappers/osg/TextureRectangle.cpp, - src/osgWrappers/osg/Transform.cpp, - src/osgWrappers/osg/Uniform.cpp, src/osgWrappers/osg/Vec2d.cpp, - src/osgWrappers/osg/Vec3d.cpp, src/osgWrappers/osg/Vec4b.cpp, - src/osgWrappers/osg/Vec4s.cpp, - src/osgWrappers/osg/VertexProgram.cpp, - src/osgWrappers/osg/View.cpp, - src/osgWrappers/osgDB/FileUtils.cpp, - src/osgWrappers/osgDB/GNUmakefile, - src/osgWrappers/osgDB/ReentrantMutex.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgFX/AnisotropicLighting.cpp, - src/osgWrappers/osgFX/BumpMapping.cpp, - src/osgWrappers/osgFX/Cartoon.cpp, - src/osgWrappers/osgFX/Effect.cpp, - src/osgWrappers/osgFX/GNUmakefile, - src/osgWrappers/osgFX/MultiTextureControl.cpp, - src/osgWrappers/osgFX/Registry.cpp, - src/osgWrappers/osgFX/Scribe.cpp, - src/osgWrappers/osgFX/SpecularHighlights.cpp, - src/osgWrappers/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/osgGA/DriveManipulator.cpp, - src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgGA/EventVisitor.cpp, - src/osgWrappers/osgGA/FlightManipulator.cpp, - src/osgWrappers/osgGA/GNUmakefile, - src/osgWrappers/osgGA/GUIActionAdapter.cpp, - src/osgWrappers/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/osgGA/GUIEventHandler.cpp, - src/osgWrappers/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/osgGA/MatrixManipulator.cpp, - src/osgWrappers/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/osgGA/StateSetManipulator.cpp, - src/osgWrappers/osgGA/UFOManipulator.cpp, - src/osgWrappers/osgManipulator/AntiSquish.cpp, - src/osgWrappers/osgManipulator/Command.cpp, - src/osgWrappers/osgManipulator/CommandManager.cpp, - src/osgWrappers/osgManipulator/Constraint.cpp, - src/osgWrappers/osgManipulator/Dragger.cpp, - src/osgWrappers/osgManipulator/GNUmakefile, - src/osgWrappers/osgManipulator/Projector.cpp, - src/osgWrappers/osgManipulator/ScaleAxisDragger.cpp, - src/osgWrappers/osgManipulator/Selection.cpp, - src/osgWrappers/osgManipulator/TabBoxDragger.cpp, - src/osgWrappers/osgManipulator/TabPlaneDragger.cpp, - src/osgWrappers/osgManipulator/TrackballDragger.cpp, - src/osgWrappers/osgManipulator/Translate1DDragger.cpp, - src/osgWrappers/osgManipulator/Translate2DDragger.cpp, - src/osgWrappers/osgManipulator/TranslateAxisDragger.cpp, - src/osgWrappers/osgManipulator/TranslatePlaneDragger.cpp, - src/osgWrappers/osgParticle/AccelOperator.cpp, - src/osgWrappers/osgParticle/AngularAccelOperator.cpp, - src/osgWrappers/osgParticle/BoxPlacer.cpp, - src/osgWrappers/osgParticle/CenteredPlacer.cpp, - src/osgWrappers/osgParticle/ConnectedParticleSystem.cpp, - src/osgWrappers/osgParticle/ConstantRateCounter.cpp, - src/osgWrappers/osgParticle/Counter.cpp, - src/osgWrappers/osgParticle/Emitter.cpp, - src/osgWrappers/osgParticle/ExplosionDebrisEffect.cpp, - src/osgWrappers/osgParticle/ExplosionEffect.cpp, - src/osgWrappers/osgParticle/FireEffect.cpp, - src/osgWrappers/osgParticle/FluidFrictionOperator.cpp, - src/osgWrappers/osgParticle/FluidProgram.cpp, - src/osgWrappers/osgParticle/ForceOperator.cpp, - src/osgWrappers/osgParticle/GNUmakefile, - src/osgWrappers/osgParticle/Interpolator.cpp, - src/osgWrappers/osgParticle/LinearInterpolator.cpp, - src/osgWrappers/osgParticle/ModularEmitter.cpp, - src/osgWrappers/osgParticle/ModularProgram.cpp, - src/osgWrappers/osgParticle/MultiSegmentPlacer.cpp, - src/osgWrappers/osgParticle/Operator.cpp, - src/osgWrappers/osgParticle/Particle.cpp, - src/osgWrappers/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/osgParticle/PointPlacer.cpp, - src/osgWrappers/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/osgParticle/Program.cpp, - src/osgWrappers/osgParticle/RadialShooter.cpp, - src/osgWrappers/osgParticle/RandomRateCounter.cpp, - src/osgWrappers/osgParticle/SegmentPlacer.cpp, - src/osgWrappers/osgProducer/GNUmakefile, - src/osgWrappers/osgProducer/GraphicsContextImplementation.cpp, - src/osgWrappers/osgProducer/KeyboardMouseCallback.cpp, - src/osgWrappers/osgProducer/OsgCameraGroup.cpp, - src/osgWrappers/osgProducer/OsgSceneHandler.cpp, - src/osgWrappers/osgProducer/Viewer.cpp, - src/osgWrappers/osgShadow/OccluderGeometry.cpp, - src/osgWrappers/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/osgShadow/ShadowMap.cpp, - src/osgWrappers/osgShadow/ShadowTexture.cpp, - src/osgWrappers/osgShadow/ShadowVolume.cpp, - src/osgWrappers/osgShadow/ShadowedScene.cpp, - src/osgWrappers/osgSim/BlinkSequence.cpp, - src/osgWrappers/osgSim/ColorRange.cpp, - src/osgWrappers/osgSim/DOFTransform.cpp, - src/osgWrappers/osgSim/ElevationSlice.cpp, - src/osgWrappers/osgSim/GNUmakefile, - src/osgWrappers/osgSim/GeographicLocation.cpp, - src/osgWrappers/osgSim/HeightAboveTerrain.cpp, - src/osgWrappers/osgSim/Impostor.cpp, - src/osgWrappers/osgSim/ImpostorSprite.cpp, - src/osgWrappers/osgSim/InsertImpostorsVisitor.cpp, - src/osgWrappers/osgSim/LightPoint.cpp, - src/osgWrappers/osgSim/LightPointNode.cpp, - src/osgWrappers/osgSim/LightPointSystem.cpp, - src/osgWrappers/osgSim/LineOfSight.cpp, - src/osgWrappers/osgSim/MultiSwitch.cpp, - src/osgWrappers/osgSim/OpenFlightOptimizer.cpp, - src/osgWrappers/osgSim/OverlayNode.cpp, - src/osgWrappers/osgSim/ScalarBar.cpp, - src/osgWrappers/osgSim/ScalarsToColors.cpp, - src/osgWrappers/osgSim/Sector.cpp, - src/osgWrappers/osgSim/SphereSegment.cpp, - src/osgWrappers/osgTerrain/DataSet.cpp, - src/osgWrappers/osgTerrain/HeightFieldNode.cpp, - src/osgWrappers/osgTerrain/HeightFieldRenderer.cpp, - src/osgWrappers/osgText/FadeText.cpp, - src/osgWrappers/osgText/Font.cpp, - src/osgWrappers/osgText/GNUmakefile, - src/osgWrappers/osgText/String.cpp, - src/osgWrappers/osgUtil/CubeMapGenerator.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/DelaunayTriangulator.cpp, - src/osgWrappers/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/osgUtil/GNUmakefile, - src/osgWrappers/osgUtil/HalfWayMapGenerator.cpp, - src/osgWrappers/osgUtil/HighlightMapGenerator.cpp, - src/osgWrappers/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgUtil/IntersectionVisitor.cpp, - src/osgWrappers/osgUtil/LineSegmentIntersector.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp, - src/osgWrappers/osgUtil/RenderBin.cpp, - src/osgWrappers/osgUtil/RenderLeaf.cpp, - src/osgWrappers/osgUtil/SceneView.cpp, - src/osgWrappers/osgUtil/Simplifier.cpp, - src/osgWrappers/osgUtil/TriStripVisitor.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/GraphicsWindow.cpp, - src/osgWrappers/osgViewer/HelpHandler.cpp, - src/osgWrappers/osgViewer/Scene.cpp, - src/osgWrappers/osgViewer/SimpleViewer.cpp, - src/osgWrappers/osgViewer/StatsHandler.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Updated wrappers - -2007-02-16 15:17 robert - - * include/osg/ClipNode: From Roland Smeenk, "ClipNode contains a - method getClipPlaneList that should actually be called - setClipPlaneList." - -2007-02-16 15:14 robert - - * src/osgUtil/RenderStage.cpp: Fixed typo - -2007-02-16 13:33 robert - - * include/osg/GraphicsContext, - src/osgViewer/GraphicsWindowCarbon.cpp: 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." - -2007-02-16 13:17 robert - - * src/osgShadow/ShadowTexture.cpp: Removed debugging readImageFile, - and done further work on RTT setup. - -2007-02-16 10:20 robert - - * include/osgShadow/ShadowTexture, src/osgShadow/ShadowTexture.cpp, - src/osgShadow/ShadowVolume.cpp: Fleshed out a bit more of the - ShadowTexture implementation - -2007-02-16 10:19 robert - - * examples/osgshadowtexture/osgshadowtexture.cpp: Added - osgShadow::ShadowTexture set up - -2007-02-16 06:39 robert - - * examples/osgshadowtexture/osgshadowtexture.cpp: Added enabling of - the stencil buffer when setting up ShadowVolume path - -2007-02-16 06:11 robert - - * VisualStudio/OpenSceneGraph.dsw, - Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/osgManipulator-Info.plist, - Xcode/OpenSceneGraph/osgManipulator.plist, - Xcode/OpenSceneGraph/osgShadow-Info.plist, - Xcode/OpenSceneGraph/osgShadow.plist, - Xcode/OpenSceneGraph/osgmanipulator-Info.plist, - Xcode/OpenSceneGraph/osgmanipulatorexample-Info.plist, - Xcode/OpenSceneGraph/osgshadow-Info.plist, - Xcode/OpenSceneGraph/osgshadowexample-Info.plist, - examples/osgsimpleviewerSDL/SDLMainForMacOSX.h, - examples/osgsimpleviewerSDL/SDLMainForMacOSX.m: From Eric Wing, - updates to XCode projects and introduction of two SDL OSX files - to the osgsimpleviewerSDL example - -2007-02-16 05:46 robert - - * src/osgPlugins/osgShadow/ReaderWriterOsgShadow.cpp: Fixed typo - that was breaking the build - -2007-02-15 22:28 robert - - * VisualStudio/osgPlugins/osgShadow/dot_osgShadow.dsp, - examples/osgshadow/osgshadow.cpp, - examples/osgshadowtexture/GNUmakefile, - examples/osgshadowtexture/osgshadowtexture.cpp, - include/osgShadow/ShadowMap, include/osgShadow/ShadowTexture, - src/osgDB/Registry.cpp, src/osgPlugins/osgShadow/GNUmakefile, - src/osgPlugins/osgShadow/ReaderWriterOsgShadow.cpp: 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 +Fri, 28 May 2010 16:31:38 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-02-15 17:31 robert +Fri, 28 May 2010 16:31:17 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * VisualStudio/OpenSceneGraph.dsw, - VisualStudio/osgPlugins/osgShadow, - VisualStudio/osgPlugins/osgShadow/dot_osgShadow.dsp, - src/osgPlugins/osgShadow, src/osgPlugins/osgShadow/GNUmakefile, - src/osgPlugins/osgShadow/ParallelSplitShadowMap.cpp, - src/osgPlugins/osgShadow/ShadowMap.cpp, - src/osgPlugins/osgShadow/ShadowTechnique.cpp, - src/osgPlugins/osgShadow/ShadowTexture.cpp, - src/osgPlugins/osgShadow/ShadowVolume.cpp, - src/osgPlugins/osgShadow/ShadowedScene.cpp: Added .osg support - for osgShadow NodeKit +Fri, 28 May 2010 16:30:58 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-02-15 17:25 robert +Fri, 28 May 2010 16:30:36 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * src/osgShadow/ShadowVolume.cpp: Added support for using the - scenes light source setting to set up the - ShadowVolume's effect light parameters +Fri, 28 May 2010 16:29:53 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-02-15 15:06 robert +Fri, 28 May 2010 16:28:58 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * src/osgViewer/Viewer.cpp: Addd an #ifdef _WIN32 to force - SingleThreaded usage under Windows when no - threading model is specified. +Fri, 28 May 2010 16:28:18 +0000 +Checked in by : Robert Osfield +Converted osg::notify to use info -2007-02-15 15:03 robert +Fri, 28 May 2010 16:27:37 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO - * include/osgIntrospection/Reflection: 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." +Fri, 28 May 2010 16:27:02 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-02-15 14:53 robert +Fri, 28 May 2010 16:26:24 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * include/osgText/Text, src/osgWrappers/osgText/Text.cpp: - Reorganised the text comments so that they are shorter length, - and hopefully will - avoid VS2003's silly text string limits when compiling - osgIntrospection wrappers +Fri, 28 May 2010 16:25:41 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-02-15 14:47 robert +Fri, 28 May 2010 16:24:04 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO - * src/osgUtil/RenderStage.cpp: Twaaked comments +Fri, 28 May 2010 16:22:02 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-02-15 14:04 robert +Fri, 28 May 2010 16:10:24 +0000 +Checked in by : Robert Osfield +Conversion of osg::notify to OSG_INFO etc. - * include/osgViewer/GraphicsWindowWin32, - src/osgViewer/GraphicsWindowWin32.cpp: From André Garneau, Win32 - build fixes +Fri, 28 May 2010 16:09:29 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-02-15 12:24 robert +Fri, 28 May 2010 16:08:15 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * include/osgViewer/GraphicsWindowCarbon, - include/osgViewer/GraphicsWindowWin32, - include/osgViewer/GraphicsWindowX11, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp: Added context sharing - support. +Fri, 28 May 2010 16:07:34 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO -2007-02-15 12:11 robert +Fri, 28 May 2010 16:07:09 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * src/osgViewer/View.cpp: Fixed handling of warp pointer for when - its called at startup and the - event queue isn't yet initialized the window range. +Fri, 28 May 2010 16:06:15 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. -2007-02-15 10:25 robert +Fri, 28 May 2010 16:05:47 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * include/osg/Stats: Removed inappropriate Stats:: prefix +Fri, 28 May 2010 16:04:56 +0000 +Checked in by : Robert Osfield +Convertex osg::notify to OSG_INFO etc. -2007-02-15 09:31 robert +Fri, 28 May 2010 16:04:19 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * src/osgPlugins/OpenFlight/PaletteRecords.cpp: Fixed warnings +Fri, 28 May 2010 16:03:38 +0000 +Checked in by : Robert Osfield +Conversion of osg::notify to OSG_INFO etc. -2007-02-15 09:17 robert +Fri, 28 May 2010 16:03:14 +0000 +Checked in by : Robert Osfield +Converted osg::notify to OSG_INFO etc. - * include/osgIntrospection/ReflectionMacros: Added extra spaces - between <> template declarations +Fri, 28 May 2010 16:00:45 +0000 +Checked in by : Robert Osfield +converted osg::notify to OSG_INFO etc. -2007-02-15 08:29 robert +Fri, 28 May 2010 15:56:43 +0000 +Checked in by : Robert Osfield +conversion of osg::notify to OSG_INFO etc. - * src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Updated wrappers +Fri, 28 May 2010 15:53:32 +0000 +Checked in by : Robert Osfield +Conversion of osg::notify to OSG_INFO. -2007-02-15 08:29 robert +Fri, 28 May 2010 15:52:45 +0000 +Checked in by : Robert Osfield +Conversion of osg::notify to OSG_INFO etc. - * include/osgViewer/CompositeViewer, include/osgViewer/Viewer: - Removed setFrameStamp +Fri, 28 May 2010 15:51:00 +0000 +Checked in by : Robert Osfield +Conversion of osg::notify to OSG_INFO etc. -2007-02-15 01:45 robert +Fri, 28 May 2010 15:47:52 +0000 +Checked in by : Robert Osfield +Convesion of osg::notify to OSG_INFO etc. - * src/osgViewer/StatsHandler.cpp, src/osgViewer/Viewer.cpp: 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 +Fri, 28 May 2010 09:12:07 +0000 +Checked in by : Robert Osfield +Changed debug info to use DEBUG_INFO -2007-02-15 01:23 robert +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 - * src/osgShadow/ShadowVolume.cpp: Improved the update of the shadow - volume. +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 -2007-02-15 00:53 robert +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 - * include/osg/Stats: Removed extrandous Stats:: prefix +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)" -2007-02-14 20:44 robert +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 - * src/osgUtil/RenderStage.cpp: Added support for - osg::State::DynamicObjectCount into the RTT codes +Thu, 27 May 2010 13:58:46 +0000 +Checked in by : Robert Osfield +Moved across to using more flexible dirtyMark when dirtying tiles -2007-02-14 20:14 robert +Wed, 26 May 2010 16:10:16 +0000 +Checked in by : Robert Osfield +Re-enabled boundary equalization support. - * include/osgViewer/GraphicsWindowX11, - src/osgViewer/GraphicsWindowX11.cpp: Added support for sharing - context to GraphicsWindowX11 +Wed, 26 May 2010 08:34:15 +0000 +Checked in by : Robert Osfield +Fixed warnings -2007-02-14 17:28 robert +Tue, 25 May 2010 17:02:22 +0000 +Checked in by : Robert Osfield +Fixed 3 space indenting - * include/osgViewer/GraphicsWindowCarbon, - include/osgViewer/GraphicsWindowX11, - src/osgViewer/GraphicsWindowWin32.cpp: Added - getState()->setGraphicsContext(this); to the various - GrpahicsWindow implementations +Tue, 25 May 2010 17:02:11 +0000 +Checked in by : Robert Osfield +Fixed 3 space indenting in headers. -2007-02-14 16:29 robert +Tue, 25 May 2010 16:27:21 +0000 +Checked in by : Robert Osfield +Updated wrappers - * applications/osgviewer/osgviewer.cpp: Renenabled the toggling on - the CullPerCameraDrawPerContext threading model in the thread - event handler. +Tue, 25 May 2010 15:52:11 +0000 +Checked in by : Robert Osfield +Removed export -2007-02-14 16:24 robert +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. +" - * include/osg/Stats, src/osg/Stats.cpp: Added use of Mutex into - osg::Stats to better handle multi-threaded usage +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. -2007-02-14 16:16 robert - * src/osgManipulator/Dragger.cpp: Changed the initialized osg - Drager:::PointerInfo::hitIter to prevent compile problems under - Windows -2007-02-14 15:25 robert - * src/osgPlugins/lib3ds/viewport.cpp: 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;" - -2007-02-14 14:58 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: Changed the report of lack - of WGL_SWAP_METHOD_ARB so that it is INFO rather than WARN. - -2007-02-14 14:53 robert - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/osgManipulator.plist, - Xcode/OpenSceneGraph/osgShadow.plist, - Xcode/OpenSceneGraph/osgmanipulator-Info.plist, - Xcode/OpenSceneGraph/osgshadow-Info.plist: 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." - -2007-02-14 14:36 robert - - * src/osgViewer/Viewer.cpp: Added OSG_RUN_FRAME_COUNT env var which - enables a limited run of specified - frame numbers when Viewer::run is called. - -2007-02-14 13:18 robert - - * include/osg/Object, include/osg/StateAttribute, - src/osg/Drawable.cpp, src/osg/StateSet.cpp, src/osg/Uniform.cpp, - src/osgPlugins/ive/Object.cpp, src/osgPlugins/osg/Object.cpp, - src/osgUtil/Optimizer.cpp, src/osgWrappers/osg/Object.cpp: - Introduced new osg::Object::DataVariance type of UNSPECIFIED, and - changed the deafult - values of DataVariance to UNSPECIFIED to all types. - -2007-02-14 12:42 robert - - * examples/osgpick/osgpick.cpp: Set the DataVariance of updating - text to DYNAMIC - -2007-02-14 12:40 robert - - * VisualStudio/examples/osgmanipulator/osgmanipulatordemo.dsp: From - Jean-Sebastien Guay, fixed path. - -2007-02-14 12:00 robert - - * src/osgViewer/Viewer.cpp: Removed debugging run method. - -2007-02-14 11:24 robert - - * Make/openscenegraph.pc, examples/osgspacewarp/osgspacewarp.cpp, - include/osg/Drawable, include/osg/Object, include/osg/StateSet, - src/osg/Drawable.cpp, src/osg/StateSet.cpp, - src/osgUtil/Optimizer.cpp, src/osgViewer/Viewer.cpp, - src/osgWrappers/osg/AlphaFunc.cpp, - src/osgWrappers/osg/AnimationPath.cpp, - src/osgWrappers/osg/ApplicationUsage.cpp, - src/osgWrappers/osg/Array.cpp, - src/osgWrappers/osg/AutoTransform.cpp, - src/osgWrappers/osg/Billboard.cpp, - src/osgWrappers/osg/BlendColor.cpp, - src/osgWrappers/osg/BlendEquation.cpp, - src/osgWrappers/osg/BlendFunc.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/CameraView.cpp, - src/osgWrappers/osg/ClampColor.cpp, - src/osgWrappers/osg/ClearNode.cpp, - src/osgWrappers/osg/ClipNode.cpp, - src/osgWrappers/osg/ClipPlane.cpp, - src/osgWrappers/osg/ClusterCullingCallback.cpp, - src/osgWrappers/osg/CollectOccludersVisitor.cpp, - src/osgWrappers/osg/ColorMask.cpp, - src/osgWrappers/osg/ColorMatrix.cpp, - src/osgWrappers/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/osg/CoordinateSystemNode.cpp, - src/osgWrappers/osg/CopyOp.cpp, src/osgWrappers/osg/CullFace.cpp, - src/osgWrappers/osg/CullSettings.cpp, - src/osgWrappers/osg/CullingSet.cpp, - src/osgWrappers/osg/Depth.cpp, - src/osgWrappers/osg/DisplaySettings.cpp, - src/osgWrappers/osg/DrawPixels.cpp, - src/osgWrappers/osg/Drawable.cpp, src/osgWrappers/osg/Fog.cpp, - src/osgWrappers/osg/FragmentProgram.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osg/FrameStamp.cpp, - src/osgWrappers/osg/FrontFace.cpp, - src/osgWrappers/osg/GL2Extensions.cpp, - src/osgWrappers/osg/Geode.cpp, src/osgWrappers/osg/Geometry.cpp, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/GraphicsThread.cpp, - src/osgWrappers/osg/Group.cpp, src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/ImageStream.cpp, src/osgWrappers/osg/LOD.cpp, - src/osgWrappers/osg/Light.cpp, - src/osgWrappers/osg/LightModel.cpp, - src/osgWrappers/osg/LightSource.cpp, - src/osgWrappers/osg/LineSegment.cpp, - src/osgWrappers/osg/LineStipple.cpp, - src/osgWrappers/osg/LineWidth.cpp, - src/osgWrappers/osg/LogicOp.cpp, - src/osgWrappers/osg/Material.cpp, - src/osgWrappers/osg/MatrixTransform.cpp, - src/osgWrappers/osg/Matrixd.cpp, src/osgWrappers/osg/Matrixf.cpp, - src/osgWrappers/osg/Multisample.cpp, - src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/NodeCallback.cpp, - src/osgWrappers/osg/NodeTrackerCallback.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osg/Object.cpp, - src/osgWrappers/osg/OccluderNode.cpp, - src/osgWrappers/osg/PagedLOD.cpp, src/osgWrappers/osg/Point.cpp, - src/osgWrappers/osg/PointSprite.cpp, - src/osgWrappers/osg/PolygonMode.cpp, - src/osgWrappers/osg/PolygonOffset.cpp, - src/osgWrappers/osg/PolygonStipple.cpp, - src/osgWrappers/osg/PositionAttitudeTransform.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osg/Program.cpp, - src/osgWrappers/osg/Projection.cpp, - src/osgWrappers/osg/ProxyNode.cpp, - src/osgWrappers/osg/Referenced.cpp, - src/osgWrappers/osg/Scissor.cpp, - src/osgWrappers/osg/Sequence.cpp, - src/osgWrappers/osg/ShadeModel.cpp, - src/osgWrappers/osg/Shader.cpp, src/osgWrappers/osg/Shape.cpp, - src/osgWrappers/osg/ShapeDrawable.cpp, - src/osgWrappers/osg/State.cpp, - src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/StateSet.cpp, src/osgWrappers/osg/Stats.cpp, - src/osgWrappers/osg/Stencil.cpp, - src/osgWrappers/osg/StencilTwoSided.cpp, - src/osgWrappers/osg/Switch.cpp, src/osgWrappers/osg/TexEnv.cpp, - src/osgWrappers/osg/TexEnvCombine.cpp, - src/osgWrappers/osg/TexEnvFilter.cpp, - src/osgWrappers/osg/TexGen.cpp, - src/osgWrappers/osg/TexGenNode.cpp, - src/osgWrappers/osg/TexMat.cpp, src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/TextureCubeMap.cpp, - src/osgWrappers/osg/Transform.cpp, - src/osgWrappers/osg/Uniform.cpp, - src/osgWrappers/osg/VertexProgram.cpp, - src/osgWrappers/osg/View.cpp, src/osgWrappers/osg/Viewport.cpp, - src/osgWrappers/osg/observer_ptr.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/DotOsgWrapper.cpp, - src/osgWrappers/osgDB/DynamicLibrary.cpp, - src/osgWrappers/osgDB/Field.cpp, - src/osgWrappers/osgDB/FieldReader.cpp, - src/osgWrappers/osgDB/FieldReaderIterator.cpp, - src/osgWrappers/osgDB/ImageOptions.cpp, - src/osgWrappers/osgDB/Input.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgDB/SharedStateManager.cpp, - src/osgWrappers/osgFX/AnisotropicLighting.cpp, - src/osgWrappers/osgFX/BumpMapping.cpp, - src/osgWrappers/osgFX/Cartoon.cpp, - src/osgWrappers/osgFX/MultiTextureControl.cpp, - src/osgWrappers/osgFX/Registry.cpp, - src/osgWrappers/osgFX/Scribe.cpp, - src/osgWrappers/osgFX/SpecularHighlights.cpp, - src/osgWrappers/osgFX/Validator.cpp, - src/osgWrappers/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/osgGA/DriveManipulator.cpp, - src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgGA/EventVisitor.cpp, - src/osgWrappers/osgGA/FlightManipulator.cpp, - src/osgWrappers/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/osgGA/GUIEventHandler.cpp, - src/osgWrappers/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/osgGA/StateSetManipulator.cpp, - src/osgWrappers/osgGA/TerrainManipulator.cpp, - src/osgWrappers/osgGA/TrackballManipulator.cpp, - src/osgWrappers/osgGA/UFOManipulator.cpp, - src/osgWrappers/osgManipulator/AntiSquish.cpp, - src/osgWrappers/osgManipulator/Command.cpp, - src/osgWrappers/osgManipulator/CommandManager.cpp, - src/osgWrappers/osgManipulator/Constraint.cpp, - src/osgWrappers/osgManipulator/Dragger.cpp, - src/osgWrappers/osgManipulator/Projector.cpp, - src/osgWrappers/osgManipulator/RotateCylinderDragger.cpp, - src/osgWrappers/osgManipulator/RotateSphereDragger.cpp, - src/osgWrappers/osgManipulator/Scale1DDragger.cpp, - src/osgWrappers/osgManipulator/Scale2DDragger.cpp, - src/osgWrappers/osgManipulator/ScaleAxisDragger.cpp, - src/osgWrappers/osgManipulator/Selection.cpp, - src/osgWrappers/osgManipulator/TabBoxDragger.cpp, - src/osgWrappers/osgManipulator/TabPlaneDragger.cpp, - src/osgWrappers/osgManipulator/TabPlaneTrackballDragger.cpp, - src/osgWrappers/osgManipulator/TrackballDragger.cpp, - src/osgWrappers/osgManipulator/Translate1DDragger.cpp, - src/osgWrappers/osgManipulator/Translate2DDragger.cpp, - src/osgWrappers/osgManipulator/TranslateAxisDragger.cpp, - src/osgWrappers/osgManipulator/TranslatePlaneDragger.cpp, - src/osgWrappers/osgParticle/AccelOperator.cpp, - src/osgWrappers/osgParticle/AngularAccelOperator.cpp, - src/osgWrappers/osgParticle/BoxPlacer.cpp, - src/osgWrappers/osgParticle/ConnectedParticleSystem.cpp, - src/osgWrappers/osgParticle/ConstantRateCounter.cpp, - src/osgWrappers/osgParticle/ExplosionDebrisEffect.cpp, - src/osgWrappers/osgParticle/ExplosionEffect.cpp, - src/osgWrappers/osgParticle/FireEffect.cpp, - src/osgWrappers/osgParticle/FluidFrictionOperator.cpp, - src/osgWrappers/osgParticle/FluidProgram.cpp, - src/osgWrappers/osgParticle/ForceOperator.cpp, - src/osgWrappers/osgParticle/LinearInterpolator.cpp, - src/osgWrappers/osgParticle/ModularEmitter.cpp, - src/osgWrappers/osgParticle/ModularProgram.cpp, - src/osgWrappers/osgParticle/MultiSegmentPlacer.cpp, - src/osgWrappers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/osgParticle/PointPlacer.cpp, - src/osgWrappers/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/osgParticle/RadialShooter.cpp, - src/osgWrappers/osgParticle/RandomRateCounter.cpp, - src/osgWrappers/osgParticle/SectorPlacer.cpp, - src/osgWrappers/osgParticle/SegmentPlacer.cpp, - src/osgWrappers/osgParticle/SmokeEffect.cpp, - src/osgWrappers/osgParticle/SmokeTrailEffect.cpp, - src/osgWrappers/osgProducer/OsgCameraGroup.cpp, - src/osgWrappers/osgProducer/OsgSceneHandler.cpp, - src/osgWrappers/osgProducer/Viewer.cpp, - src/osgWrappers/osgProducer/ViewerEventHandler.cpp, - src/osgWrappers/osgShadow/OccluderGeometry.cpp, - src/osgWrappers/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/osgShadow/ShadowMap.cpp, - src/osgWrappers/osgShadow/ShadowTechnique.cpp, - src/osgWrappers/osgShadow/ShadowTexture.cpp, - src/osgWrappers/osgShadow/ShadowVolume.cpp, - src/osgWrappers/osgShadow/ShadowedScene.cpp, - src/osgWrappers/osgSim/BlinkSequence.cpp, - src/osgWrappers/osgSim/ColorRange.cpp, - src/osgWrappers/osgSim/DOFTransform.cpp, - src/osgWrappers/osgSim/GeographicLocation.cpp, - src/osgWrappers/osgSim/Impostor.cpp, - src/osgWrappers/osgSim/ImpostorSprite.cpp, - src/osgWrappers/osgSim/InsertImpostorsVisitor.cpp, - src/osgWrappers/osgSim/LightPointNode.cpp, - src/osgWrappers/osgSim/LightPointSystem.cpp, - src/osgWrappers/osgSim/LineOfSight.cpp, - src/osgWrappers/osgSim/MultiSwitch.cpp, - src/osgWrappers/osgSim/OpenFlightOptimizer.cpp, - src/osgWrappers/osgSim/OverlayNode.cpp, - src/osgWrappers/osgSim/ScalarBar.cpp, - src/osgWrappers/osgSim/ScalarsToColors.cpp, - src/osgWrappers/osgSim/Sector.cpp, - src/osgWrappers/osgSim/SphereSegment.cpp, - src/osgWrappers/osgSim/VisibilityGroup.cpp, - src/osgWrappers/osgTerrain/DataSet.cpp, - src/osgWrappers/osgTerrain/HeightFieldNode.cpp, - src/osgWrappers/osgText/FadeText.cpp, - src/osgWrappers/osgText/Font.cpp, - src/osgWrappers/osgText/Text.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/DelaunayTriangulator.cpp, - src/osgWrappers/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/osgUtil/HalfWayMapGenerator.cpp, - src/osgWrappers/osgUtil/HighlightMapGenerator.cpp, - src/osgWrappers/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgUtil/IntersectionVisitor.cpp, - src/osgWrappers/osgUtil/LineSegmentIntersector.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp, - src/osgWrappers/osgUtil/PlaneIntersector.cpp, - src/osgWrappers/osgUtil/PolytopeIntersector.cpp, - src/osgWrappers/osgUtil/PositionalStateContainer.cpp, - src/osgWrappers/osgUtil/ReflectionMapGenerator.cpp, - src/osgWrappers/osgUtil/RenderBin.cpp, - src/osgWrappers/osgUtil/RenderLeaf.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp, - src/osgWrappers/osgUtil/SceneView.cpp, - src/osgWrappers/osgUtil/Simplifier.cpp, - src/osgWrappers/osgUtil/SmoothingVisitor.cpp, - src/osgWrappers/osgUtil/StateGraph.cpp, - src/osgWrappers/osgUtil/Statistics.cpp, - src/osgWrappers/osgUtil/TangentSpaceGenerator.cpp, - src/osgWrappers/osgUtil/Tessellator.cpp, - src/osgWrappers/osgUtil/TransformAttributeFunctor.cpp, - src/osgWrappers/osgUtil/TransformCallback.cpp, - src/osgWrappers/osgUtil/TriStripVisitor.cpp, - src/osgWrappers/osgUtil/UpdateVisitor.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/HelpHandler.cpp, - src/osgWrappers/osgViewer/Scene.cpp, - src/osgWrappers/osgViewer/StatsHandler.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Added computeDataVariance - method into osg::Object and implementations in Drawable and - StateSet, - and calling of osgUtil::StaticObjectDetectionVisitor in - osgViewer::Viewer - -2007-02-14 11:21 robert - - * include/osgIntrospection/ReflectionMacros: From Mike Wittman, - added spaces into < > macros - -2007-02-13 22:39 robert - - * examples/osgslice/osgslice.cpp: Fixed warning - -2007-02-13 22:24 robert - - * examples/osgintersection/osgintersection.cpp: Fixed warnings - -2007-02-13 22:22 robert - - * src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/ive/Viewport.cpp: Fixed warning - -2007-02-13 22:16 robert - - * src/osgShadow/OccluderGeometry.cpp: Fixed warnings. - -2007-02-13 20:32 robert - - * examples/osgGLUTkeyboardmouse/GNUmakefile, - examples/osgGLUTkeyboardmouse/GNUmakefile.inst, - examples/osgGLUTsimple/GNUmakefile, - examples/osgGLUTsimple/GNUmakefile.inst, - examples/osgcamera/GNUmakefile, - examples/osgcamera/GNUmakefile.inst, - examples/osgkeyboardmouse/GNUmakefile, - examples/osgkeyboardmouse/GNUmakefile.inst, - examples/osgsimple/GNUmakefile, - examples/osgsimpleviewerFLTK/GNUmakefile, - examples/osgsimpleviewerFLTK/GNUmakefile.inst, - examples/osgsimpleviewerGLUT/GNUmakefile, - examples/osgsimpleviewerGLUT/GNUmakefile.inst, - examples/osgsimpleviewerQT3/GNUmakefile, - examples/osgsimpleviewerQT3/GNUmakefile.inst, - examples/osgsimpleviewerQT4/GNUmakefile, - examples/osgsimpleviewerQT4/GNUmakefile.inst, - examples/osgsimpleviewerSDL/GNUmakefile, - examples/osgsimpleviewerSDL/GNUmakefile.inst, - examples/osgslice/GNUmakefile: Added -losgText to example that - used osgViewer but didn't previously include -losgText - -2007-02-13 17:39 robert - - * src/osgViewer/Viewer.cpp: Changed the DeleteHandler so by default - it doesn't cache objects - -2007-02-13 16:03 robert - - * src/osgViewer/Viewer.cpp: Added OSG_THREADING environmental - variable to osgViewer::Viewer::suggestBestThreadingModel - -2007-02-13 15:57 robert - - * examples/osgprerendercubemap/osgprerendercubemap.cpp: Reduced the - RTT texture size to 256x256 to make setup quicker - -2007-02-13 15:24 robert - - * Make/makedefs: From John Shue, "Modified - OpenSceneGraph/Make/makedefs to add -pipe gcc command line - option to FreeBSD build." - -2007-02-13 14:42 robert - - * VisualStudio/osgPlugins/ive/ive.dsp, - src/osgPlugins/ive/ColorMask.cpp, src/osgPlugins/ive/ColorMask.h, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/ive/ReadWrite.h: - Added support for ColorMask to .ive plugin - -2007-02-13 14:19 robert - - * src/osgPlugins/OpenFlight/AncillaryRecords.cpp, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/OpenFlight/PrimaryRecords.cpp: 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." - -2007-02-13 13:58 robert - - * examples/osgsimpleviewerCocoa/English.lproj/Localizable.strings, - examples/osgsimpleviewerCocoa/SimpleViewerCocoa.h, - examples/osgsimpleviewerCocoa/SimpleViewerCocoa.mm: 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 - - * VisualStudio/osgPlugins/ive/ive.dsp, - examples/osgreflect/osgreflect.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/ive/Stencil.cpp, src/osgPlugins/ive/Stencil.h: - Added support for osg::Stencil into .ive - -2007-02-13 12:17 robert - - * VisualStudio/osgPlugins/ive/ive.dsp, - src/osgPlugins/ive/BlendColor.cpp, - src/osgPlugins/ive/BlendColor.h, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/ive/ReadWrite.h: - From Ulrich Hertlein, added support for osg::BlendColor to .ive - format. - -2007-02-13 12:11 robert - - * VisualStudio/osgPlugins/osg/dot_osg.dsp, - src/osgPlugins/osg/BlendColor.cpp, - src/osgPlugins/osg/GNUmakefile: Added support for osg::BlendColor - to .osg plugin - -2007-02-13 11:32 robert - - * examples/osgcatch/osgcatch.cpp: Added setDataVariance(DYNAMIC) to - the scores text entires to prevent the - DrawThreadPerContext for crashing due to double buffering of - dynamic data. - -2007-02-13 09:38 robert - - * examples/osgblendequation/osgblendequation.cpp: Changed the - BlendFunction StateSet to DYNAMIC - -2007-02-13 09:33 robert - - * include/osgIntrospection/ExtendedTypeInfo, - include/osgIntrospection/type_traits, - src/osgIntrospection/Reflector.cpp: From Mike Wittman, support - for reference parameters - -2007-02-13 09:27 robert - - * examples/osgkeyboard/osgkeyboard.cpp: Added - setDataVariance(DYNAMIC) to _inputText to prevent problems when - running in DrawThreadPerContext threading model. - -2007-02-12 18:02 robert - - * src/osgWrappers/osg/AlphaFunc.cpp, - src/osgWrappers/osg/AnimationPath.cpp, - src/osgWrappers/osg/ApplicationUsage.cpp, - src/osgWrappers/osg/ArgumentParser.cpp, - src/osgWrappers/osg/Array.cpp, - src/osgWrappers/osg/AutoTransform.cpp, - src/osgWrappers/osg/Billboard.cpp, - src/osgWrappers/osg/BlendColor.cpp, - src/osgWrappers/osg/BlendEquation.cpp, - src/osgWrappers/osg/BlendFunc.cpp, - src/osgWrappers/osg/BoundingBox.cpp, - src/osgWrappers/osg/BoundingSphere.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/CameraView.cpp, - src/osgWrappers/osg/ClampColor.cpp, - src/osgWrappers/osg/ClearNode.cpp, - src/osgWrappers/osg/ClipNode.cpp, - src/osgWrappers/osg/ClipPlane.cpp, - src/osgWrappers/osg/ClusterCullingCallback.cpp, - src/osgWrappers/osg/CollectOccludersVisitor.cpp, - src/osgWrappers/osg/ColorMask.cpp, - src/osgWrappers/osg/ColorMatrix.cpp, - src/osgWrappers/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/osg/ConvexPlanarPolygon.cpp, - src/osgWrappers/osg/CoordinateSystemNode.cpp, - src/osgWrappers/osg/CopyOp.cpp, src/osgWrappers/osg/CullFace.cpp, - src/osgWrappers/osg/CullSettings.cpp, - src/osgWrappers/osg/CullingSet.cpp, - src/osgWrappers/osg/DeleteHandler.cpp, - src/osgWrappers/osg/Depth.cpp, - src/osgWrappers/osg/DisplaySettings.cpp, - src/osgWrappers/osg/DrawPixels.cpp, - src/osgWrappers/osg/Drawable.cpp, src/osgWrappers/osg/Fog.cpp, - src/osgWrappers/osg/FragmentProgram.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osg/FrameStamp.cpp, - src/osgWrappers/osg/FrontFace.cpp, - src/osgWrappers/osg/GL2Extensions.cpp, - src/osgWrappers/osg/Geode.cpp, src/osgWrappers/osg/Geometry.cpp, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/GraphicsThread.cpp, - src/osgWrappers/osg/Group.cpp, src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/ImageStream.cpp, src/osgWrappers/osg/LOD.cpp, - src/osgWrappers/osg/Light.cpp, - src/osgWrappers/osg/LightModel.cpp, - src/osgWrappers/osg/LightSource.cpp, - src/osgWrappers/osg/LineSegment.cpp, - src/osgWrappers/osg/LineStipple.cpp, - src/osgWrappers/osg/LineWidth.cpp, - src/osgWrappers/osg/LogicOp.cpp, - src/osgWrappers/osg/Material.cpp, - src/osgWrappers/osg/MatrixTransform.cpp, - src/osgWrappers/osg/Matrixd.cpp, src/osgWrappers/osg/Matrixf.cpp, - src/osgWrappers/osg/Multisample.cpp, - src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/NodeCallback.cpp, - src/osgWrappers/osg/NodeTrackerCallback.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osg/Object.cpp, - src/osgWrappers/osg/OccluderNode.cpp, - src/osgWrappers/osg/PagedLOD.cpp, src/osgWrappers/osg/Plane.cpp, - src/osgWrappers/osg/Point.cpp, - src/osgWrappers/osg/PointSprite.cpp, - src/osgWrappers/osg/PolygonMode.cpp, - src/osgWrappers/osg/PolygonOffset.cpp, - src/osgWrappers/osg/PolygonStipple.cpp, - src/osgWrappers/osg/Polytope.cpp, - src/osgWrappers/osg/PositionAttitudeTransform.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osg/Program.cpp, - src/osgWrappers/osg/Projection.cpp, - src/osgWrappers/osg/ProxyNode.cpp, src/osgWrappers/osg/Quat.cpp, - src/osgWrappers/osg/Referenced.cpp, - src/osgWrappers/osg/RenderInfo.cpp, - src/osgWrappers/osg/Scissor.cpp, - src/osgWrappers/osg/Sequence.cpp, - src/osgWrappers/osg/ShadeModel.cpp, - src/osgWrappers/osg/Shader.cpp, - src/osgWrappers/osg/ShadowVolumeOccluder.cpp, - src/osgWrappers/osg/Shape.cpp, - src/osgWrappers/osg/ShapeDrawable.cpp, - src/osgWrappers/osg/State.cpp, - src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/StateSet.cpp, src/osgWrappers/osg/Stats.cpp, - src/osgWrappers/osg/Stencil.cpp, - src/osgWrappers/osg/StencilTwoSided.cpp, - src/osgWrappers/osg/Switch.cpp, src/osgWrappers/osg/TexEnv.cpp, - src/osgWrappers/osg/TexEnvCombine.cpp, - src/osgWrappers/osg/TexEnvFilter.cpp, - src/osgWrappers/osg/TexGen.cpp, - src/osgWrappers/osg/TexGenNode.cpp, - src/osgWrappers/osg/TexMat.cpp, src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osg/Texture1D.cpp, - src/osgWrappers/osg/Texture2D.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/TextureCubeMap.cpp, - src/osgWrappers/osg/TextureRectangle.cpp, - src/osgWrappers/osg/Timer.cpp, src/osgWrappers/osg/Transform.cpp, - src/osgWrappers/osg/Uniform.cpp, src/osgWrappers/osg/Vec2b.cpp, - src/osgWrappers/osg/Vec2d.cpp, src/osgWrappers/osg/Vec2f.cpp, - src/osgWrappers/osg/Vec2s.cpp, src/osgWrappers/osg/Vec3b.cpp, - src/osgWrappers/osg/Vec3d.cpp, src/osgWrappers/osg/Vec3f.cpp, - src/osgWrappers/osg/Vec3s.cpp, src/osgWrappers/osg/Vec4b.cpp, - src/osgWrappers/osg/Vec4d.cpp, src/osgWrappers/osg/Vec4f.cpp, - src/osgWrappers/osg/Vec4s.cpp, src/osgWrappers/osg/Vec4ub.cpp, - src/osgWrappers/osg/VertexProgram.cpp, - src/osgWrappers/osg/View.cpp, src/osgWrappers/osg/Viewport.cpp, - src/osgWrappers/osg/observer_ptr.cpp, - src/osgWrappers/osgDB/Archive.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/DotOsgWrapper.cpp, - src/osgWrappers/osgDB/DynamicLibrary.cpp, - src/osgWrappers/osgDB/Field.cpp, - src/osgWrappers/osgDB/FieldReader.cpp, - src/osgWrappers/osgDB/FieldReaderIterator.cpp, - src/osgWrappers/osgDB/ImageOptions.cpp, - src/osgWrappers/osgDB/Input.cpp, - src/osgWrappers/osgDB/ParameterOutput.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgDB/ReentrantMutex.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgDB/SharedStateManager.cpp, - src/osgWrappers/osgFX/AnisotropicLighting.cpp, - src/osgWrappers/osgFX/BumpMapping.cpp, - src/osgWrappers/osgFX/Cartoon.cpp, - src/osgWrappers/osgFX/Effect.cpp, - src/osgWrappers/osgFX/MultiTextureControl.cpp, - src/osgWrappers/osgFX/Registry.cpp, - src/osgWrappers/osgFX/Scribe.cpp, - src/osgWrappers/osgFX/SpecularHighlights.cpp, - src/osgWrappers/osgFX/Technique.cpp, - src/osgWrappers/osgFX/Validator.cpp, - src/osgWrappers/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/osgGA/DriveManipulator.cpp, - src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgGA/EventVisitor.cpp, - src/osgWrappers/osgGA/FlightManipulator.cpp, - src/osgWrappers/osgGA/GUIActionAdapter.cpp, - src/osgWrappers/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/osgGA/GUIEventHandler.cpp, - src/osgWrappers/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/osgGA/MatrixManipulator.cpp, - src/osgWrappers/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/osgGA/StateSetManipulator.cpp, - src/osgWrappers/osgGA/TerrainManipulator.cpp, - src/osgWrappers/osgGA/TrackballManipulator.cpp, - src/osgWrappers/osgGA/UFOManipulator.cpp, - src/osgWrappers/osgManipulator/AntiSquish.cpp, - src/osgWrappers/osgManipulator/Command.cpp, - src/osgWrappers/osgManipulator/CommandManager.cpp, - src/osgWrappers/osgManipulator/Constraint.cpp, - src/osgWrappers/osgManipulator/Dragger.cpp, - src/osgWrappers/osgManipulator/Projector.cpp, - src/osgWrappers/osgManipulator/RotateCylinderDragger.cpp, - src/osgWrappers/osgManipulator/RotateSphereDragger.cpp, - src/osgWrappers/osgManipulator/Scale1DDragger.cpp, - src/osgWrappers/osgManipulator/Scale2DDragger.cpp, - src/osgWrappers/osgManipulator/ScaleAxisDragger.cpp, - src/osgWrappers/osgManipulator/Selection.cpp, - src/osgWrappers/osgManipulator/TabBoxDragger.cpp, - src/osgWrappers/osgManipulator/TabPlaneDragger.cpp, - src/osgWrappers/osgManipulator/TabPlaneTrackballDragger.cpp, - src/osgWrappers/osgManipulator/TrackballDragger.cpp, - src/osgWrappers/osgManipulator/Translate1DDragger.cpp, - src/osgWrappers/osgManipulator/Translate2DDragger.cpp, - src/osgWrappers/osgManipulator/TranslateAxisDragger.cpp, - src/osgWrappers/osgManipulator/TranslatePlaneDragger.cpp, - src/osgWrappers/osgParticle/AccelOperator.cpp, - src/osgWrappers/osgParticle/AngularAccelOperator.cpp, - src/osgWrappers/osgParticle/BoxPlacer.cpp, - src/osgWrappers/osgParticle/CenteredPlacer.cpp, - src/osgWrappers/osgParticle/ConnectedParticleSystem.cpp, - src/osgWrappers/osgParticle/ConstantRateCounter.cpp, - src/osgWrappers/osgParticle/Counter.cpp, - src/osgWrappers/osgParticle/Emitter.cpp, - src/osgWrappers/osgParticle/ExplosionDebrisEffect.cpp, - src/osgWrappers/osgParticle/ExplosionEffect.cpp, - src/osgWrappers/osgParticle/FireEffect.cpp, - src/osgWrappers/osgParticle/FluidFrictionOperator.cpp, - src/osgWrappers/osgParticle/FluidProgram.cpp, - src/osgWrappers/osgParticle/ForceOperator.cpp, - src/osgWrappers/osgParticle/Interpolator.cpp, - src/osgWrappers/osgParticle/LinearInterpolator.cpp, - src/osgWrappers/osgParticle/ModularEmitter.cpp, - src/osgWrappers/osgParticle/ModularProgram.cpp, - src/osgWrappers/osgParticle/MultiSegmentPlacer.cpp, - src/osgWrappers/osgParticle/Operator.cpp, - src/osgWrappers/osgParticle/Particle.cpp, - src/osgWrappers/osgParticle/ParticleEffect.cpp, - src/osgWrappers/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/osgParticle/Placer.cpp, - src/osgWrappers/osgParticle/PointPlacer.cpp, - src/osgWrappers/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/osgParticle/Program.cpp, - src/osgWrappers/osgParticle/RadialShooter.cpp, - src/osgWrappers/osgParticle/RandomRateCounter.cpp, - src/osgWrappers/osgParticle/SectorPlacer.cpp, - src/osgWrappers/osgParticle/SegmentPlacer.cpp, - src/osgWrappers/osgParticle/Shooter.cpp, - src/osgWrappers/osgParticle/SmokeEffect.cpp, - src/osgWrappers/osgParticle/SmokeTrailEffect.cpp, - src/osgWrappers/osgParticle/VariableRateCounter.cpp, - src/osgWrappers/osgParticle/range.cpp, - src/osgWrappers/osgProducer/GraphicsContextImplementation.cpp, - src/osgWrappers/osgProducer/KeyboardMouseCallback.cpp, - src/osgWrappers/osgProducer/OsgCameraGroup.cpp, - src/osgWrappers/osgProducer/OsgSceneHandler.cpp, - src/osgWrappers/osgProducer/Viewer.cpp, - src/osgWrappers/osgProducer/ViewerEventHandler.cpp, - src/osgWrappers/osgShadow/OccluderGeometry.cpp, - src/osgWrappers/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/osgShadow/ShadowMap.cpp, - src/osgWrappers/osgShadow/ShadowTechnique.cpp, - src/osgWrappers/osgShadow/ShadowTexture.cpp, - src/osgWrappers/osgShadow/ShadowVolume.cpp, - src/osgWrappers/osgShadow/ShadowedScene.cpp, - src/osgWrappers/osgSim/BlinkSequence.cpp, - src/osgWrappers/osgSim/ColorRange.cpp, - src/osgWrappers/osgSim/DOFTransform.cpp, - src/osgWrappers/osgSim/ElevationSlice.cpp, - src/osgWrappers/osgSim/GeographicLocation.cpp, - src/osgWrappers/osgSim/HeightAboveTerrain.cpp, - src/osgWrappers/osgSim/Impostor.cpp, - src/osgWrappers/osgSim/ImpostorSprite.cpp, - src/osgWrappers/osgSim/InsertImpostorsVisitor.cpp, - src/osgWrappers/osgSim/LightPoint.cpp, - src/osgWrappers/osgSim/LightPointNode.cpp, - src/osgWrappers/osgSim/LightPointSystem.cpp, - src/osgWrappers/osgSim/LineOfSight.cpp, - src/osgWrappers/osgSim/MultiSwitch.cpp, - src/osgWrappers/osgSim/OpenFlightOptimizer.cpp, - src/osgWrappers/osgSim/OverlayNode.cpp, - src/osgWrappers/osgSim/ScalarBar.cpp, - src/osgWrappers/osgSim/ScalarsToColors.cpp, - src/osgWrappers/osgSim/Sector.cpp, - src/osgWrappers/osgSim/SphereSegment.cpp, - src/osgWrappers/osgSim/VisibilityGroup.cpp, - src/osgWrappers/osgTerrain/DataSet.cpp, - src/osgWrappers/osgTerrain/HeightFieldNode.cpp, - src/osgWrappers/osgTerrain/HeightFieldRenderer.cpp, - src/osgWrappers/osgText/FadeText.cpp, - src/osgWrappers/osgText/Font.cpp, - src/osgWrappers/osgText/String.cpp, - src/osgWrappers/osgText/Text.cpp, - src/osgWrappers/osgUtil/CubeMapGenerator.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/DelaunayTriangulator.cpp, - src/osgWrappers/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/osgUtil/HalfWayMapGenerator.cpp, - src/osgWrappers/osgUtil/HighlightMapGenerator.cpp, - src/osgWrappers/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgUtil/IntersectionVisitor.cpp, - src/osgWrappers/osgUtil/LineSegmentIntersector.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp, - src/osgWrappers/osgUtil/PlaneIntersector.cpp, - src/osgWrappers/osgUtil/PolytopeIntersector.cpp, - src/osgWrappers/osgUtil/PositionalStateContainer.cpp, - src/osgWrappers/osgUtil/ReflectionMapGenerator.cpp, - src/osgWrappers/osgUtil/RenderBin.cpp, - src/osgWrappers/osgUtil/RenderLeaf.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp, - src/osgWrappers/osgUtil/SceneView.cpp, - src/osgWrappers/osgUtil/Simplifier.cpp, - src/osgWrappers/osgUtil/SmoothingVisitor.cpp, - src/osgWrappers/osgUtil/StateGraph.cpp, - src/osgWrappers/osgUtil/Statistics.cpp, - src/osgWrappers/osgUtil/TangentSpaceGenerator.cpp, - src/osgWrappers/osgUtil/Tessellator.cpp, - src/osgWrappers/osgUtil/TransformAttributeFunctor.cpp, - src/osgWrappers/osgUtil/TransformCallback.cpp, - src/osgWrappers/osgUtil/TriStripVisitor.cpp, - src/osgWrappers/osgUtil/UpdateVisitor.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/GraphicsWindow.cpp, - src/osgWrappers/osgViewer/HelpHandler.cpp, - src/osgWrappers/osgViewer/Scene.cpp, - src/osgWrappers/osgViewer/SimpleViewer.cpp, - src/osgWrappers/osgViewer/StatsHandler.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Updated wrappers - -2007-02-12 17:59 robert - - * examples/osgintrospection/osgintrospection.cpp, - include/osgIntrospection/ConstructorInfo, - include/osgIntrospection/MethodInfo, - include/osgIntrospection/ReflectionMacros, - include/osgIntrospection/TypedConstructorInfo, - include/osgIntrospection/TypedMethodInfo: 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 - - * VisualStudio/osgIntrospection/osgIntrospection.dsp, - examples/osgintrospection/osgintrospection.cpp, - include/osgIntrospection/Comparator, - include/osgIntrospection/Exceptions, - include/osgIntrospection/ReaderWriter, - include/osgIntrospection/Reflection, - include/osgIntrospection/ReflectionMacros, - include/osgIntrospection/Reflector, - include/osgIntrospection/Type, - include/osgIntrospection/TypeNameAliasProxy, - include/osgIntrospection/Value, src/osgIntrospection/GNUmakefile, - src/osgIntrospection/Reflection.cpp, - src/osgIntrospection/Type.cpp, src/osgIntrospection/Value.cpp: - 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." - -2007-02-12 15:59 robert - - * VisualStudio/osgWrappers/osgViewer/wrapper_osgViewer.dsp, - src/osgWrappers/osg/ApplicationUsage.cpp, - src/osgWrappers/osgViewer/GNUmakefile, - src/osgWrappers/osgViewer/HelpHandler.cpp, - src/osgWrappers/osgViewer/StatsHandler.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Updated wrappers - -2007-02-12 13:51 robert - - * src/osgViewer/HelpHandler.cpp: Added automatic scaling and - translation of help to make sure it always - fits on screen - -2007-02-12 13:39 robert - - * VisualStudio/osgViewer/osgViewer.dsp, - applications/osgviewer/osgviewer.cpp, - include/osg/ApplicationUsage, include/osg/ArgumentParser, - include/osgViewer/HelpHandler, include/osgViewer/StatsHandler, - include/osgViewer/Viewer, src/osg/ApplicationUsage.cpp, - src/osg/ArgumentParser.cpp, src/osgViewer/GNUmakefile, - src/osgViewer/HelpHandler.cpp, src/osgViewer/StatsHandler.cpp, - src/osgViewer/Viewer.cpp: Added osgViewer::HelpHandler - -2007-02-11 22:01 robert - - * src/osgWrappers/osgManipulator/Dragger.cpp, - src/osgWrappers/osgManipulator/Projector.cpp, - src/osgWrappers/osgManipulator/RotateCylinderDragger.cpp, - src/osgWrappers/osgManipulator/RotateSphereDragger.cpp, - src/osgWrappers/osgManipulator/Scale1DDragger.cpp, - src/osgWrappers/osgManipulator/Scale2DDragger.cpp, - src/osgWrappers/osgManipulator/TabPlaneDragger.cpp, - src/osgWrappers/osgManipulator/Translate1DDragger.cpp, - src/osgWrappers/osgManipulator/Translate2DDragger.cpp, - src/osgWrappers/osgManipulator/TranslatePlaneDragger.cpp: Updated - wrappers - -2007-02-11 21:24 robert - - * src/osgManipulator/TrackballDragger.cpp: Incresed the resolution - of the trackball dragger geometry - -2007-02-11 21:12 robert - - * examples/osgmanipulator/osgmanipulator.cpp, - include/osgManipulator/Dragger, include/osgManipulator/Projector, - include/osgManipulator/RotateCylinderDragger, - include/osgManipulator/RotateSphereDragger, - include/osgManipulator/Scale1DDragger, - include/osgManipulator/Scale2DDragger, - include/osgManipulator/TabPlaneDragger, - include/osgManipulator/Translate1DDragger, - include/osgManipulator/Translate2DDragger, - include/osgManipulator/TranslatePlaneDragger, - src/osgManipulator/Dragger.cpp, src/osgManipulator/Projector.cpp, - src/osgManipulator/RotateCylinderDragger.cpp, - src/osgManipulator/RotateSphereDragger.cpp, - src/osgManipulator/Scale1DDragger.cpp, - src/osgManipulator/Scale2DDragger.cpp, - src/osgManipulator/TabPlaneDragger.cpp, - src/osgManipulator/Translate1DDragger.cpp, - src/osgManipulator/Translate2DDragger.cpp, - src/osgManipulator/TranslatePlaneDragger.cpp: 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. - -2007-02-11 15:42 robert - - * VisualStudio/OpenSceneGraph.dsw: Added osgText to dependency of - osgmanipualator example. - -2007-02-11 15:41 robert - - * VisualStudio/examples/osgmanipulator/osgmanipulatordemo.dsp: - Fixed Producer lib entry - -2007-02-11 12:23 robert - - * Make/makedirdefs, VisualStudio/OpenSceneGraph.dsw, - VisualStudio/osgWrappers/osgManipulator, - VisualStudio/osgWrappers/osgManipulator/wrapper_osgManipulator.dsp, - src/osgWrappers/osg/Matrixd.cpp, src/osgWrappers/osg/Matrixf.cpp, - src/osgWrappers/osgManipulator, - src/osgWrappers/osgManipulator/AntiSquish.cpp, - src/osgWrappers/osgManipulator/Command.cpp, - src/osgWrappers/osgManipulator/CommandManager.cpp, - src/osgWrappers/osgManipulator/Constraint.cpp, - src/osgWrappers/osgManipulator/Dragger.cpp, - src/osgWrappers/osgManipulator/GNUmakefile, - src/osgWrappers/osgManipulator/Projector.cpp, - src/osgWrappers/osgManipulator/RotateCylinderDragger.cpp, - src/osgWrappers/osgManipulator/RotateSphereDragger.cpp, - src/osgWrappers/osgManipulator/Scale1DDragger.cpp, - src/osgWrappers/osgManipulator/Scale2DDragger.cpp, - src/osgWrappers/osgManipulator/ScaleAxisDragger.cpp, - src/osgWrappers/osgManipulator/Selection.cpp, - src/osgWrappers/osgManipulator/TabBoxDragger.cpp, - src/osgWrappers/osgManipulator/TabPlaneDragger.cpp, - src/osgWrappers/osgManipulator/TabPlaneTrackballDragger.cpp, - src/osgWrappers/osgManipulator/TrackballDragger.cpp, - src/osgWrappers/osgManipulator/Translate1DDragger.cpp, - src/osgWrappers/osgManipulator/Translate2DDragger.cpp, - src/osgWrappers/osgManipulator/TranslateAxisDragger.cpp, - src/osgWrappers/osgManipulator/TranslatePlaneDragger.cpp, - src/osgWrappers/osgShadow/ShadowVolume.cpp: Updated wrappers - -2007-02-11 12:22 robert - - * include/osgManipulator/Projector, - src/osgManipulator/Projector.cpp, - src/osgManipulator/RotateCylinderDragger.cpp, - src/osgManipulator/RotateSphereDragger.cpp: Changed the - osg::Shape related projectors so that they used pointers rather - than references. - -2007-02-11 10:33 robert - - * Make/makedirdefs, VisualStudio/OpenSceneGraph.dsw, - VisualStudio/examples/osgmanipulator, - VisualStudio/examples/osgmanipulator/osgmanipulatordemo.dsp, - VisualStudio/osgManipulator, - VisualStudio/osgManipulator/osgManipulator.dsp, - examples/osgmanipulator, examples/osgmanipulator/GNUmakefile, - examples/osgmanipulator/GNUmakefile.inst, - examples/osgmanipulator/osgmanipulator.cpp, - include/osgManipulator, include/osgManipulator/AntiSquish, - include/osgManipulator/Command, - include/osgManipulator/CommandManager, - include/osgManipulator/Constraint, - include/osgManipulator/Dragger, include/osgManipulator/Export, - include/osgManipulator/Projector, - include/osgManipulator/RotateCylinderDragger, - include/osgManipulator/RotateSphereDragger, - include/osgManipulator/Scale1DDragger, - include/osgManipulator/Scale2DDragger, - include/osgManipulator/ScaleAxisDragger, - include/osgManipulator/Selection, - include/osgManipulator/TabBoxDragger, - include/osgManipulator/TabPlaneDragger, - include/osgManipulator/TabPlaneTrackballDragger, - include/osgManipulator/TrackballDragger, - include/osgManipulator/Translate1DDragger, - include/osgManipulator/Translate2DDragger, - include/osgManipulator/TranslateAxisDragger, - include/osgManipulator/TranslatePlaneDragger, src/osgManipulator, - src/osgManipulator/AntiSquish.cpp, - src/osgManipulator/Command.cpp, - src/osgManipulator/CommandManager.cpp, - src/osgManipulator/Constraint.cpp, - src/osgManipulator/Dragger.cpp, src/osgManipulator/GNUmakefile, - src/osgManipulator/Projector.cpp, - src/osgManipulator/RotateCylinderDragger.cpp, - src/osgManipulator/RotateSphereDragger.cpp, - src/osgManipulator/Scale1DDragger.cpp, - src/osgManipulator/Scale2DDragger.cpp, - src/osgManipulator/ScaleAxisDragger.cpp, - src/osgManipulator/Selection.cpp, - src/osgManipulator/TabBoxDragger.cpp, - src/osgManipulator/TabPlaneDragger.cpp, - src/osgManipulator/TabPlaneTrackballDragger.cpp, - src/osgManipulator/TrackballDragger.cpp, - src/osgManipulator/Translate1DDragger.cpp, - src/osgManipulator/Translate2DDragger.cpp, - src/osgManipulator/TranslateAxisDragger.cpp, - src/osgManipulator/TranslatePlaneDragger.cpp: 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 - - * VisualStudio/osg/osg.dsp, include/osg/Matrixd, - include/osg/Matrixf, src/osg/GNUmakefile, - src/osg/MatrixDecomposition.cpp: From Vivek Rajan, - MatrixDecomposition implementaion, adapted by Robert Osfield - to be part of osg::Matrixf and osg::Matrixd classes. - -2007-02-09 21:31 robert - - * examples/osgshadow/osgshadow.cpp, include/osgShadow/ShadowVolume, - src/osgShadow/ShadowVolume.cpp: Cleaned up osgshadow example so - that it now relies upon osgShadow for its - shadow implementation - -2007-02-09 16:31 robert - - * src/osgPlugins/net/ReaderWriterNET.cpp: 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 - - * src/osgWrappers/osgShadow/ShadowTechnique.cpp, - src/osgWrappers/osgShadow/ShadowVolume.cpp: Updated wrappers - -2007-02-09 16:03 robert - - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ShadowTechnique, - include/osgShadow/ShadowVolume, - src/osgShadow/ShadowTechnique.cpp, - src/osgShadow/ShadowVolume.cpp: Moved the basic ShadowVolume code - into osgShadow - -2007-02-09 14:54 robert - - * examples/osgcopy/osgcopy.cpp: 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 - -2007-02-09 14:35 robert - - * VisualStudio/MUST_READ_ME.txt: From Joakim Simmonsson, fixed - inconsistent newlines - -2007-02-09 14:21 robert - - * src/osgUtil/DelaunayTriangulator.cpp: 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." - -2007-02-09 13:51 robert - - * include/osgViewer/GraphicsWindowX11, - src/osgViewer/GraphicsWindowX11.cpp: 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 - -2007-02-09 13:36 robert +Mon, 24 May 2010 14:16:31 +0000 +Checked in by : Robert Osfield +Quitened down debug output - * src/osgViewer/Viewer.cpp: Added #if #else #endif blocks to - Viewer::realize() and run() for the purposes of testing +Mon, 24 May 2010 09:44:38 +0000 +Checked in by : Robert Osfield +Updated wrappers -2007-02-09 12:08 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. - * src/osgUtil/Optimizer.cpp: Removed debug message +Fri, 21 May 2010 09:56:59 +0000 +Checked in by : Robert Osfield +From Wojciech Lewandowski, "Reading and Writing of Texture2DArrays for IVE format." -2007-02-08 22:36 robert +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 ;-) " - * src/osgViewer/Viewer.cpp: 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." +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. -2007-02-08 22:31 robert +Fri, 21 May 2010 09:00:19 +0000 +Checked in by : Robert Osfield +Fixed warning - * src/osgDB/FileNameUtils.cpp: From Brian Keener, fixes for Cygwin - filename handling +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. " -2007-02-08 20:30 robert +Thu, 20 May 2010 17:00:10 +0000 +Checked in by : Robert Osfield +From Terry Welsh, added missing static_cast in Referenced.cpp - * VisualStudio/applications/osgviewer/osgviewerapplication.dsp: - 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)." +Thu, 20 May 2010 15:25:40 +0000 +Checked in by : Robert Osfield +Updated wrappers -2007-02-08 20:27 robert +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. - * src/osgWrappers/osgShadow/ShadowTechnique.cpp, - src/osgWrappers/osgShadow/ShadowVolume.cpp, - src/osgWrappers/osgShadow/ShadowedScene.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Updated wrappers +Wed, 19 May 2010 16:43:37 +0000 +Checked in by : Robert Osfield +From Alok Priyadarshi, build fix for gcc. -2007-02-08 19:34 robert +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 - * include/osgShadow/ShadowTechnique, - include/osgShadow/ShadowVolume, include/osgShadow/ShadowedScene, - src/osgShadow/ShadowTechnique.cpp, - src/osgShadow/ShadowVolume.cpp, src/osgShadow/ShadowedScene.cpp: - Further work on osgShadow::ShadowTechnique API +Wed, 19 May 2010 13:14:57 +0000 +Checked in by : Robert Osfield +From Tim Moore, fix for deadlock -2007-02-08 17:23 robert +Wed, 19 May 2010 08:22:10 +0000 +Checked in by : Robert Osfield +Fixed warning - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ShadowTechnique, - include/osgShadow/ShadowedScene, - src/osgShadow/ShadowTechnique.cpp, - src/osgShadow/ShadowedScene.cpp: Flesh out more of basic - ShadowTechnique and ShadowedScene API. +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." -2007-02-08 15:47 robert +Tue, 18 May 2010 18:01:02 +0000 +Checked in by : Robert Osfield +From Tim Moore, typo fix. - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp: Fixed the - FlattenStaticTransform visitor so that it excludes subgraphs that - contain PagedLOD nodes +Tue, 18 May 2010 17:58:35 +0000 +Checked in by : Robert Osfield +Fixed typo -2007-02-08 15:01 robert +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. - * src/osgPlugins/ive/DataInputStream.cpp: Cleaned up readString +Tue, 18 May 2010 11:00:06 +0000 +Checked in by : Robert Osfield +From Wang Rui, serializers for osgSim and osgVolume -2007-02-08 14:59 robert +Tue, 18 May 2010 10:12:30 +0000 +Checked in by : Robert Osfield +Fixed typos in method names - * src/osgPlugins/ive/DataInputStream.cpp: Fixed return in - readString. +Mon, 17 May 2010 18:37:32 +0000 +Checked in by : Robert Osfield +Updated wrappers -2007-02-08 12:47 robert +Mon, 17 May 2010 14:43:41 +0000 +Checked in by : Robert Osfield +From Tim Moore, improved doxygen comments - * include/osgViewer/StatsHandler, src/osgViewer/StatsHandler.cpp: - Added the threading model to stats +Mon, 17 May 2010 14:21:53 +0000 +Checked in by : Robert Osfield +Removed signalUnreffed interface -2007-02-08 12:24 robert +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. - * applications/osgviewer/osgviewer.cpp: Added threading model - option to command line parameters +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 -2007-02-08 12:21 robert +Fri, 14 May 2010 19:47:50 +0000 +Checked in by : Robert Osfield +From Alok Priyadarshi, support for statically linking to GLES2.lib - * src/osgViewer/CompositeViewer.cpp: Added check in - setThreadingModel so that it only sets up threading if the viewer - is realized +Fri, 14 May 2010 12:24:13 +0000 +Checked in by : Robert Osfield +Refactored Observer/ObserverNodePath and DatabasePager to improve their robustness. -2007-02-08 12:20 robert +Fri, 14 May 2010 12:14:14 +0000 +Checked in by : Robert Osfield +From Tim Moore, new more robust observer_ptr<> implementation - * src/osgViewer/Viewer.cpp: Fixed setThreadModel method so that is - doesn't try to set up threading unless - the viewer is realized +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." -2007-02-08 12:14 robert +Thu, 13 May 2010 10:01:07 +0000 +Checked in by : Robert Osfield +From Gunter Huber, fixes for better GLES2 support - * include/osgViewer/Viewer, src/osgViewer/Viewer.cpp: Updated the - handling of closing of windows +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: -2007-02-08 11:30 robert +# osgconv cow.osg cow.osgb -O SchemaData - * src/osgViewer/GraphicsWindowX11.cpp: Added better clean up of - paramters on X display in GraphicsWindowX11:closeImplementation +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. +" -2007-02-08 11:26 robert - * src/osgViewer/GraphicsWindowX11.cpp: From Stefan Eilemann, addd - more extensive XErrorHandler output -2007-02-08 11:24 robert +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. - * src/osgViewer/Viewer.cpp: Added setting of the DatabasePager's - affinity. +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. -2007-02-08 10:46 robert +Wed, 12 May 2010 11:58:01 +0000 +Checked in by : Robert Osfield +Improved the indentation/replaced tabs - * src/osgPlugins/ive/DataInputStream.cpp: 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." +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." -2007-02-07 21:56 robert +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." - * src/osgWrappers/osg/CullStack.cpp, - src/osgWrappers/osg/Transform.cpp: Updated wrappers +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(). -2007-02-07 21:48 robert - * include/osgSim/DOFTransform, src/osgSim/DOFTransform.cpp: Changed - the setting of need to traverse during the update traverse so it - is only enabled when animation is switched on. -2007-02-07 21:16 robert +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. - * applications/osgviewer/osgviewer.cpp: Disabled the toggling to - ThreadModel CullThreadPerCameraDrawThreadPerContext +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 -2007-02-07 16:32 robert +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' - * include/osg/CullStack, include/osg/Transform, - src/osg/CollectOccludersVisitor.cpp, src/osg/CullStack.cpp, - src/osg/Transform.cpp, src/osgPlugins/osg/Transform.cpp, - src/osgPlugins/txp/TXPNode.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/IntersectVisitor.cpp, src/osgUtil/Optimizer.cpp, - src/osgUtil/SceneView.cpp: 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. +Fri, 30 Apr 2010 20:04:25 +0000 +Checked in by : Robert Osfield +updated wrappers -2007-02-07 16:27 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 - * examples/osgparametric/osgparametric.cpp: Set the DataVariance to - DYNAIMC for the StateSet of with the dynamically updating Uniform +Fri, 30 Apr 2010 19:41:56 +0000 +Checked in by : Robert Osfield +Added proper support for writing out Xml graph -2007-02-07 14:53 robert +Fri, 30 Apr 2010 19:41:24 +0000 +Checked in by : Robert Osfield +Fixed warnings - * src/osg/AutoTransform.cpp: Fixed bug in AutoTransform::accept() - that was related to the accept() method - checking the nodemask as it should. +Fri, 30 Apr 2010 15:51:38 +0000 +Checked in by : Robert Osfield +Added beginnings of spell checking support -2007-02-06 20:03 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. :) - * src/osgViewer/GraphicsWindowCarbon.cpp: 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. - " +Some unfinished functionalities: inheritedWindowData, sharedContext, and more tests needed." -2007-02-06 17:34 robert - * src/osgViewer/GraphicsWindowWin32.cpp: 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 +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. - * Make/makedefs, src/osgViewer/GNUmakefile: From Stefan Eileman, - fixes for OSX gmake build to allow AGL or X11 implementation of - osgViewer - -2007-02-06 17:00 robert - - * src/osgWrappers/osgViewer/Viewer.cpp: Updated wrappers - -2007-02-06 16:23 robert - - * src/osgViewer/Viewer.cpp: Re-enabled processor affinity - -2007-02-06 14:38 robert - - * applications/osgviewer/osgviewer.cpp, - examples/osgcamera/osgcamera.cpp, include/osgViewer/Viewer, - src/osgViewer/Viewer.cpp: Added new Viewer threading model - options - -2007-02-06 14:20 robert - - * src/osgWrappers/osgUtil/RenderLeaf.cpp: Updated wrappers - -2007-02-06 14:20 robert - - * include/osgUtil/RenderLeaf: Clean up getDrawable() method - -2007-02-06 13:44 robert - - * src/osgPlugins/OpenFlight/PrimaryRecords.cpp: Fixed Suse9.3 build - problem due to different handling Quat copy constuctor - -2007-02-06 11:03 robert - - * include/osgViewer/Viewer, src/osgViewer/Viewer.cpp: Further work - on support for ThreadPerCamera, and improved the efficiency of - SingleThraeded - -2007-02-05 14:56 robert - - * applications/osgviewer/osgviewer.cpp, genwrapper.conf, - include/osg/GraphicsContext, src/osg/GraphicsThread.cpp, - src/osgViewer/Viewer.cpp, - src/osgWrappers/osg/GraphicsContext.cpp: Tweak API and updated - wrappers to get wrappers to build - -2007-02-05 13:44 robert - - * genwrapper.conf, include/osg/Camera, include/osg/DeleteHandler, - src/osg/Camera.cpp, src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/DeleteHandler.cpp: Added Camera's - s/getCameraThread() and updated wrappers - -2007-02-05 12:13 robert - - * src/osgWrappers/osgDB/Registry.cpp: Updated wrappers - -2007-02-05 11:48 robert - - * src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.h: 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 - - * src/osgPlugins/OpenFlight/DataInputStream.cpp, - src/osgPlugins/OpenFlight/DataInputStream.h, - src/osgPlugins/OpenFlight/Document.cpp, - src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/OpenFlight/Pools.h, - src/osgPlugins/OpenFlight/PrimaryRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: From Brede - Johansen, "I have made some changes to support light sources in - the new - OpenFlight loader." - -2007-02-05 10:48 robert - - * include/osg/DeleteHandler: From Brede Johansen, added OSG_EXPORT - to DeleteHandler for windows build - -2007-02-05 10:44 robert - - * include/osgDB/Registry, src/osgDB/Registry.cpp: 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." - -2007-02-02 22:30 robert - - * VisualStudio/osgWrappers/osg/wrapper_osg.dsp, - examples/osgcatch/osgcatch.cpp, - examples/osgmotionblur/osgmotionblur.cpp, - examples/osgshaderterrain/osgshaderterrain.cpp, - include/osg/GraphicsContext, include/osg/GraphicsThread, - include/osgViewer/CompositeViewer, include/osgViewer/Viewer, - src/osg/GraphicsContext.cpp, src/osg/GraphicsThread.cpp, - src/osgUtil/GLObjectsVisitor.cpp, src/osgUtil/Optimizer.cpp, - src/osgUtil/RenderStage.cpp, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/Viewer.cpp, src/osgWrappers/osg/DeleteHandler.cpp, - src/osgWrappers/osg/GNUmakefile, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/GraphicsThread.cpp, - src/osgWrappers/osg/Referenced.cpp, - src/osgWrappers/osgProducer/GraphicsContextImplementation.cpp, - src/osgWrappers/osgUtil/RenderLeaf.cpp, - src/osgWrappers/osgUtil/SceneView.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/GraphicsWindow.cpp, - src/osgWrappers/osgViewer/SimpleViewer.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Convert - GraphicsThread/GraphicsOperation to more generic - OperationsThread/Operation. - This paves the way to running cull traversals in seperate - threads. - - Updated wrappers - -2007-02-02 16:51 robert - - * examples/osgtext/osgtext.cpp, src/osgPlugins/ive/IveVersion.h, - src/osgPlugins/ive/Text.cpp, src/osgPlugins/osgText/IO_Text.cpp: - From Eric Sokolowski, added support for the new Text line spacing - parameter to the .osg and .ive formats. - -2007-02-02 12:41 robert - - * VisualStudio/osg/osg.dsp, include/osg/DeleteHandler, - include/osg/Referenced, include/osgUtil/RenderLeaf, - src/osg/DeleteHandler.cpp, src/osg/GNUmakefile, - src/osg/Referenced.cpp, src/osgProducer/Viewer.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/RenderBin.cpp, - src/osgViewer/Viewer.cpp: 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 - - * include/osgViewer/Viewer, src/osgViewer/Viewer.cpp: Improved the - toggling on/off of thrading modes - -2007-02-01 11:07 robert - - * src/osgUtil/SceneView.cpp: 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 - - * include/osg/GraphicsContext, include/osgUtil/SceneView, - include/osgViewer/View, include/osgViewer/Viewer, - src/osgUtil/SceneView.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: Further work on new threading model. - -2007-01-31 11:12 robert - - * src/osgViewer/Viewer.cpp: Removed old #if #else #end block - -2007-01-30 17:38 robert - - * src/osgViewer/Viewer.cpp: Refactored the ViewerRenderingOperation - so that the timer querry code is in a separate ViewerQuerySupport - class - -2007-01-30 17:12 robert - - * examples/osgshadow/osgshadow.cpp: Added display listing of - ShadowVolume - -2007-01-30 15:37 robert - - * src/osgViewer/View.cpp: Added automatic aspect ratio adjustmeent - to View::setUpViewAcrossAllScreens() and setUpViewOnSingleScreen. - -2007-01-30 14:47 robert - - * include/osg/Stats, src/osg/Stats.cpp, - src/osgWrappers/osg/Stats.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgText/Text.cpp: Updated wrappers - -2007-01-30 14:32 robert - - * include/osgText/Text, src/osgText/Text.cpp: 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 - - * include/osgDB/ReaderWriter: 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." +Fri, 30 Apr 2010 10:52:24 +0000 +Checked in by : Robert Osfield +Added free of _visualInfo if it's already been allocated -2007-01-30 13:48 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. - * include/osg/Stats, src/osg/Stats.cpp, - src/osgViewer/StatsHandler.cpp: Added support for compute average - stats attributes in inverse space to improve - the quality of frame rate reporting. +Fri, 30 Apr 2010 10:50:17 +0000 +Checked in by : Robert Osfield +Added support for using dot graphs directly in the token -2007-01-30 12:09 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) ... - * src/osgUtil/RenderBin.cpp: Disabled the alternating directions of - drawing of state sorted render leaves as it - was interferring with anaglyphic stereo used in the osgstereimage - example. +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." -2007-01-30 11:47 robert - * src/osgWrappers/osg/Stats.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Updated wrappers -2007-01-30 11:40 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." - * include/osg/Stats, include/osgViewer/Viewer, src/osg/Stats.cpp, - src/osgViewer/StatsHandler.cpp, src/osgViewer/Viewer.cpp, - src/osgWrappers/osg/State.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp, - src/osgWrappers/osgUtil/RenderBin.cpp, - src/osgWrappers/osgUtil/RenderLeaf.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp, - src/osgWrappers/osgUtil/StateGraph.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: 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. +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. -2007-01-30 09:55 robert +Wed, 28 Apr 2010 22:08:48 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgUtil/RenderBin.cpp: 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, 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." -2007-01-29 22:59 robert +Wed, 28 Apr 2010 21:10:29 +0000 +Checked in by : Robert Osfield +Fixed typo - * src/osgViewer/Viewer.cpp: Made - _useMainThreadForRenderingalTraversal(false) +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." -2007-01-29 22:44 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." - * include/osg/State, include/osgUtil/Optimizer, - include/osgUtil/RenderBin, include/osgUtil/RenderLeaf, - include/osgUtil/RenderStage, include/osgUtil/StateGraph, - include/osgViewer/View, include/osgViewer/Viewer, - src/osg/Drawable.cpp, src/osg/State.cpp, src/osg/StateSet.cpp, - src/osgUtil/Optimizer.cpp, src/osgUtil/RenderBin.cpp, - src/osgUtil/RenderLeaf.cpp, src/osgUtil/RenderStage.cpp, - src/osgUtil/SceneView.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: 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 +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." -2007-01-28 17:32 robert - * src/osgViewer/GraphicsWindowX11.cpp: Added very simple relaxing - of traits by dividing required red, green, blue, alpha and depth - by 2. -2007-01-28 17:12 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)" - * examples/osgcatch/osgcatch.cpp: Added use of Viewe Realize - graphics operation. +Wed, 28 Apr 2010 18:53:34 +0000 +Checked in by : Robert Osfield +Added support for passing options to the .dot plugin -2007-01-28 17:11 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 - * include/osgViewer/CompositeViewer, include/osgViewer/Viewer, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Added set/getRealizeOperation() to Viewer and CompositeViewer +Wed, 28 Apr 2010 17:29:31 +0000 +Checked in by : Robert Osfield +Introduced the use of ref_ptr<> in read show methods -2007-01-28 09:53 robert +Wed, 28 Apr 2010 17:18:01 +0000 +Checked in by : Robert Osfield +Removed redundent files - * src/osgWrappers/osgUtil/StateGraph.cpp: Updated wrappers +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. -2007-01-28 09:30 robert +Wed, 28 Apr 2010 14:55:42 +0000 +Checked in by : Robert Osfield +Fixed typo - * include/osgUtil/StateGraph: From Vlad Danciu, fixed leaf depth - sort functor +Wed, 28 Apr 2010 14:55:07 +0000 +Checked in by : Robert Osfield +Added colours and different style to drawable and statesets -2007-01-28 09:17 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. - * include/osgText/String: 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." - -2007-01-27 17:57 robert - - * src/osgViewer/StatsHandler.cpp: Added osg::PolygonMode to local - StateSet to protect it from being affected by - stateset manipulator. - -2007-01-27 17:52 robert - - * VisualStudio/OpenSceneGraph.dsw, - examples/osgshadow/osgshadow.cpp, genwrapper.conf, - src/osgWrappers/osg/State.cpp, - src/osgWrappers/osgUtil/PositionalStateContainer.cpp, - src/osgWrappers/osgViewer/GNUmakefile: Updated wrappers - -2007-01-27 14:27 robert - - * include/osgUtil/PositionalStateContainer: Added access methods to - PositionStateContainer - -2007-01-27 14:27 robert - - * examples/osgshadow/osgshadow.cpp: Added light source. - -2007-01-27 12:54 robert - - * examples/osgshadow/osgshadow.cpp: Further work on shadow - CullCallback - -2007-01-27 12:54 robert - - * include/osgUtil/RenderBin, src/osgUtil/RenderBin.cpp: Added - _sorted flag into RenderBin to prevent a bin being sorted twice - in one frame +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. -2007-01-27 11:13 robert +Mon, 26 Apr 2010 10:07:49 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated xcode-project - * include/osg/State, src/osgUtil/RenderBin.cpp: Changed - osgUtil::RenderBin and osg::State to allow nesting of StateSet's - associated with RenderBin's. +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. -2007-01-26 21:22 robert +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()); - * examples/osgshadow/osgshadow.cpp: Further work on building the - rendering back end from the intial traversal of the - scene graph +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)); -2007-01-26 16:08 robert +Remark: The value -1e-6 may be added (falsely) because of a rounding error. - * include/osgUtil/GLObjectsVisitor: Added Program pointer to help - with uniform apply. +The attached fix prevents assigning NaN values to the image. +" -2007-01-26 09:44 robert - * examples/osgshadow/osgshadow.cpp: Added custom callback to - capture RenderBins -2007-01-25 12:16 robert +Fri, 23 Apr 2010 08:58:57 +0000 +Checked in by : Robert Osfield +Fixed warnings - * examples/osganimate/osganimate.cpp: #ifdef'd out the artifical - simulation time code +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." -2007-01-25 12:02 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). - * examples/osganimate/osganimate.cpp, - examples/osgcluster/osgcluster.cpp, - examples/osgdepthshadow/osgdepthshadow.cpp, - examples/osgfxbrowser/osgfxbrowser.cpp, - examples/osggeometry/osggeometry.cpp, - examples/osglight/osglight.cpp, - examples/osgmotionblur/osgmotionblur.cpp, - examples/osgparametric/osgparametric.cpp, - examples/osgphotoalbum/osgphotoalbum.cpp, - examples/osgprecipitation/osgprecipitation.cpp, - examples/osgprerender/osgprerender.cpp, - examples/osgshaders/GL2Scene.cpp, - examples/osgshaderterrain/osgshaderterrain.cpp, - examples/osgshadow/osgshadow.cpp, - examples/osgstereoimage/osgstereoimage.cpp, - examples/osgtexture1D/osgtexture1D.cpp, - examples/osgtexture2D/osgtexture2D.cpp, - examples/osgtexturerectangle/osgtexturerectangle.cpp, - include/osg/FrameStamp, include/osgUtil/SceneView, - include/osgViewer/CompositeViewer, include/osgViewer/Export, - include/osgViewer/SimpleViewer, include/osgViewer/Viewer, - src/osg/AnimationPath.cpp, src/osg/FrameStamp.cpp, - src/osg/Sequence.cpp, src/osgParticle/ParticleProcessor.cpp, - src/osgParticle/ParticleSystemUpdater.cpp, - src/osgParticle/PrecipitationEffect.cpp, - src/osgPlugins/Inventor/PendulumCallback.cpp, - src/osgPlugins/Inventor/ShuttleCallback.cpp, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgProducer/OsgCameraGroup.cpp, src/osgSim/DOFTransform.cpp, - src/osgSim/LightPointDrawable.cpp, - src/osgSim/LightPointDrawable.h, src/osgSim/LightPointNode.cpp, - src/osgUtil/SceneView.cpp, src/osgUtil/TransformCallback.cpp, - src/osgViewer/CompositeViewer.cpp, - src/osgViewer/SimpleViewer.cpp, src/osgViewer/Viewer.cpp, - src/osgWrappers/osg/FrameStamp.cpp, - src/osgWrappers/osgUtil/SceneView.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/SimpleViewer.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: 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 - - * src/osg/BoundingSphere.cpp: From Gordon Tomlinson, fixes to - BoundingSphere::expandBy(BoundingSphere&) - -2007-01-24 12:59 robert - - * src/osgWrappers/osgGA/GUIEventAdapter.cpp: Updated wrappers - -2007-01-24 12:35 robert - - * Make/makedefs: From Martin Spott, "To enable osgviewer to link on - Solaris added -lmtsk as SunOS/SunStudio implements some threading - stuff in - libmtsk." - -2007-01-24 12:28 robert - - * src/osgViewer/CompositeViewer.cpp, - src/osgViewer/SimpleViewer.cpp, src/osgViewer/Viewer.cpp: Added - support for GUIEventAdapter::setHandled - -2007-01-24 12:21 robert - - * include/osgGA/GUIEventAdapter, src/osgGA/GUIEventAdapter.cpp, - src/osgGA/GUIEventHandler.cpp: Added setHandled/getHandled to - osgGA::GUIEventAdapter - -2007-01-24 11:18 robert - - * examples/osgshadow/osgshadow.cpp: Added ability to generate - various cube faces for testing and switch handler to toggle - between different models. - -2007-01-24 10:02 robert - - * include/osgViewer/GraphicsWindowWin32, - include/osgViewer/StatsHandler, - src/osgViewer/GraphicsWindowWin32.cpp: 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" - - --------------------------------------------------- - -2007-01-23 17:42 robert - - * examples/osgshadow/osgshadow.cpp: Added cube test model. - -2007-01-23 17:29 robert - - * Make/makedirdefs: changed build order so that osgText gets built - before osgViewer - -2007-01-23 16:32 robert - - * src/osgPlugins/net/ReaderWriterNET.cpp: Fixed tabbing - -2007-01-23 16:28 robert - - * VisualStudio/osgWrappers/osgViewer/wrapper_osgViewer.dsp, - applications/osgviewer/osgviewer.cpp, - src/osgWrappers/osg/Stats.cpp, - src/osgWrappers/osgGA/StateSetManipulator.cpp, - src/osgWrappers/osgViewer/GNUmakefile, - src/osgWrappers/osgViewer/StatsHandler.cpp: Updated wrappers - -2007-01-23 16:27 robert - - * examples/osgshadow/osgshadow.cpp: Commented out the default - saving of models - -2007-01-23 16:26 robert - - * include/osgGA/StateSetManipulator, - src/osgGA/StateSetManipulator.cpp: 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 - - * include/osg/Drawable: Added #define of GL_QUERY_RESULT and - GL_QUERY_RESULT_AVAILABLE - -2007-01-23 15:51 robert - - * examples/osgshadow/osgshadow.cpp: Added single screen option - -2007-01-23 14:43 robert - - * examples/osgshadow/osgshadow.cpp: Added command line help - -2007-01-23 14:10 robert +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." - * examples/osgkeyboardmouse/osgkeyboardmouse.cpp: Added delete - selected object using delete and back space key, and added save - option +and from follow email: -2007-01-23 13:54 robert +"Fixed. According to ARB_texture_multisample extension specification multisample textures don't need TexParameters since they can only be fetched with texelFetch." - * VisualStudio/OpenSceneGraph.dsw, src/osgViewer/GNUmakefile: Adde - osgText dependency to osgViewer -2007-01-23 13:28 robert - * src/osgViewer/StatsHandler.cpp: Made stats bars transparent and - improved positioning -2007-01-23 13:16 robert - * examples/osgshadow/osgshadow.cpp: Made two sided stencil the - default +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." -2007-01-23 12:10 robert +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." - * examples/osgshadow/osgshadow.cpp: Added stats and range of - keyboard mouse handling to osgshadow example +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" -2007-01-23 11:56 robert +Thu, 22 Apr 2010 11:20:31 +0000 +Checked in by : Robert Osfield +Updated ChangeLog, and AUTHORS files - * include/osgViewer/StatsHandler, src/osgViewer/StatsHandler.cpp: - Added ability to customize the keys used to control stats +Thu, 22 Apr 2010 10:13:05 +0000 +Checked in by : Robert Osfield +From Tim Moore, added check to whether validConfigs is empty. -2007-01-23 11:01 robert +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. - * VisualStudio/osgViewer/osgViewer.dsp, - applications/osgviewer/osgviewer.cpp, include/osgViewer/Scene, - include/osgViewer/StatsHandler, src/osgViewer/GNUmakefile, - src/osgViewer/StatsHandler.cpp: Moved StatsHandler into its own - seperate header/source in osgViewer. +Thu, 22 Apr 2010 07:32:11 +0000 +Checked in by : Robert Osfield +From Torben Dannhauer, fixed typo -2007-01-23 10:38 robert +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. - * applications/osgviewer/osgviewer.cpp: Added ticks to stats - display +Wed, 21 Apr 2010 16:44:38 +0000 +Checked in by : Robert Osfield +Changed "Sorted" label to "Sorted Drawables" -2007-01-22 21:16 robert +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." - * applications/osgviewer/osgviewer.cpp, src/osgViewer/Viewer.cpp: - Further work on GPU stats +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) -2007-01-22 17:39 robert +Here the prefix "../../bin" may need to be fixed. I just modified it to: - * applications/osgviewer/osgviewer.cpp, src/osgViewer/Viewer.cpp: - Further work on stats +IF(MSVC_VERSION LESS 1600) + SET_TARGET_PROPERTIES(${LIB_NAME} PROPERTIES PREFIX +"../../bin/${LIB_PREFIX}${LIB_SOVERSION}-" IMPORT_PREFIX "../") +ENDIF() -2007-01-22 13:13 robert +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. +" - * applications/osgviewer/osgviewer.cpp: Added camera stats -2007-01-22 11:22 robert - * applications/osgviewer/osgviewer.cpp, include/osg/Stats, - src/osg/Stats.cpp, src/osgViewer/Viewer.cpp: Improvements to - stats +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." -2007-01-22 09:28 robert +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. - * src/osgPlugins/txf/TXFFont.cpp: 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." +Tue, 20 Apr 2010 11:38:38 +0000 +Checked in by : Robert Osfield +Replaced tabs with four spaces -2007-01-21 20:41 robert +Tue, 20 Apr 2010 11:34:19 +0000 +Checked in by : Robert Osfield +UPdated wrappers - * applications/osgviewer/osgviewer.cpp: Further work on stats +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." -2007-01-21 18:46 robert +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." - * VisualStudio/applications/osgproducerviewer, - VisualStudio/applications/osgproducerviewer/osgproducerviewer.dsp, - applications/osgproducerviewer, - applications/osgproducerviewer/GNUmakefile, - applications/osgproducerviewer/GNUmakefile.inst, - applications/osgproducerviewer/osgproducerviewer.cpp: Added - osgproducerviewer, in the form of orignal Producer based - osgviewer, leaving the - new osgViewer based osgviewer focused on just osgViewer - functionality. +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 -2007-01-21 18:34 robert +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. " - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Changed the camera with focus code to only accept cameras with - valid views - as ones that can recieve focus. +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." -2007-01-21 18:24 robert +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)." - * Make/makedirdefs, VisualStudio/OpenSceneGraph.dsw, - VisualStudio/applications/osgviewer/osgviewerapplication.dsp, - applications/osgviewer/GNUmakefile, - applications/osgviewer/GNUmakefile.inst, - applications/osgviewer/osgviewer.cpp, include/osg/View, - src/osg/Stats.cpp, src/osg/View.cpp, src/osgUtil/SceneView.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Initial on screen stats support +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." -2007-01-21 11:18 robert +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. - * src/osgShadow/OccluderGeometry.cpp: Removed gl includes +Here's some more info how to get frameworks: -2007-01-20 09:48 robert +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. - * VisualStudio/osgWrappers/osg/wrapper_osg.dsp, - applications/osgviewer/osgviewer.cpp, - src/osgWrappers/osg/Camera.cpp, src/osgWrappers/osg/Drawable.cpp, - src/osgWrappers/osg/GNUmakefile, src/osgWrappers/osg/Stats.cpp, - src/osgWrappers/osg/Stencil.cpp, - src/osgWrappers/osg/StencilTwoSided.cpp, - src/osgWrappers/osg/View.cpp, - src/osgWrappers/osgShadow/OccluderGeometry.cpp: Updated wrappers +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." -2007-01-20 09:44 robert - * src/osgPlugins/osg/ReaderWriterOSG.cpp: Fixed the output of - texture files -2007-01-20 09:03 robert +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." - * include/osg/Stats: Added OSG_EXPORT to Stats to fix Windows build +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." -2007-01-19 20:25 robert +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. - * src/osgViewer/Viewer.cpp: Added stats for update, event and - rendering traversals +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. -2007-01-19 19:53 robert +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?" - * VisualStudio/osg/osg.dsp, applications/osgviewer/osgviewer.cpp, - include/osg/Camera, include/osg/Stats, include/osg/View, - src/osg/GNUmakefile, src/osg/Stats.cpp, src/osgViewer/Viewer.cpp: - 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. -2007-01-19 14:41 robert - * include/osg/Drawable, src/osg/Drawable.cpp: Added EXT_timer_query - support +Mon, 19 Apr 2010 09:39:39 +0000 +Checked in by : Robert Osfield +From Paul Martz, fixes for static build -2007-01-18 22:32 robert +Mon, 19 Apr 2010 08:41:00 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project - * VisualStudio/osg/osg.dsp, examples/osgshadow/osgshadow.cpp, - include/osg/StencilTwoSided, include/osgShadow/OccluderGeometry, - src/osg/GNUmakefile, src/osg/StencilTwoSided.cpp, - src/osgShadow/OccluderGeometry.cpp: 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. +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. -2007-01-18 17:00 robert +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. +" - * include/osg/Stencil, src/osgPlugins/osg/Stencil.cpp: Added - support for stencil GL_INCR_WRAP and GL_DECR_WRAP operations -2007-01-18 09:56 robert - * src/osgViewer/GraphicsWindowWin32.cpp: 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." +Thu, 15 Apr 2010 18:38:32 +0000 +Checked in by : Robert Osfield +Ran dos2unix on header files -2007-01-18 09:03 robert +Thu, 15 Apr 2010 18:38:03 +0000 +Checked in by : Robert Osfield +Ran dos2unix on lib3ds files - * src/osgDB/FileNameUtils.cpp: Build fix for Win32 +Thu, 15 Apr 2010 12:51:41 +0000 +Checked in by : Robert Osfield +From J.P. Delport, Fix for invalid iterator dereference in DatabasePager. -2007-01-17 21:11 robert +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." - * genwrapper.conf, include/osg/GraphicsContext, - src/osgViewer/CompositeViewer.cpp, - src/osgViewer/GraphicsWindowX11.cpp, - src/osgViewer/SimpleViewer.cpp, src/osgViewer/Viewer.cpp, - src/osgWrappers/osg/GraphicsContext.cpp: Added extra methods - WindowSystemInterface for controlling frame rate and resolution, - and adde useCursor flag. -2007-01-17 15:59 robert - * include/osgDB/FileNameUtils, src/osgDB/FileNameUtils.cpp, - src/osgDB/FileUtils.cpp: 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. +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." -2007-01-17 14:40 robert - * src/osg/FrameBufferObject.cpp, src/osg/GLExtensions.cpp, - src/osg/Texture.cpp: From André Garneau, threading bug fixes - - moving scoped statics out of scope to be global statics -2007-01-17 14:21 robert +Thu, 15 Apr 2010 11:41:37 +0000 +Checked in by : Robert Osfield +From Chris Hanson, build fixes for Solaris-64 - * VisualStudio/examples/osglauncher/resources.rc, - VisualStudio/icons/osg_icon.rc, - applications/osgviewer/osgviewer.cpp, - include/osgViewer/GraphicsWindowWin32, - src/osgViewer/GraphicsWindowWin32.cpp: From André Garneau, - Implementation osg GraphicsWindowWin32 +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 -2007-01-16 22:10 robert +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 - * src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/View.cpp: Updaed wrappers +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 -2007-01-16 22:00 robert +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. - * src/osgProducer/GraphicsContextImplementation.cpp: Removed the - automatic registration of GraphicsContextImplementation. +Wed, 14 Apr 2010 10:43:16 +0000 +Checked in by : Robert Osfield +Updated wrappers -2007-01-16 21:40 robert +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. - * examples/osgteapot/osgteapot.cpp: Fixed compile warning +Tue, 13 Apr 2010 14:50:31 +0000 +Checked in by : Michael PLATINGS +Added support for double precision geometry -2007-01-16 19:18 robert +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. - * examples/osgmultiplecameras/osgmultiplecameras.cpp, - include/osgViewer/CompositeViewer, - src/osgViewer/CompositeViewer.cpp: Cleaned up CompositeViewer - interface and added event traversal of views +Tue, 13 Apr 2010 09:42:53 +0000 +Checked in by : Robert Osfield +Fixed warnings -2007-01-16 17:10 robert +Tue, 13 Apr 2010 09:42:36 +0000 +Checked in by : Robert Osfield +updated wrappers - * VisualStudio/OpenSceneGraph.dsw, - examples/osgmultiplecameras/GNUmakefile, - examples/osgmultiplecameras/GNUmakefile.inst, - examples/osgmultiplecameras/osgmultiplecameras.cpp: Added - PickHandler to osgmultiplecameras examples +Mon, 12 Apr 2010 16:35:15 +0000 +Checked in by : Michael PLATINGS +osgAnimation now stores times as doubles -2007-01-16 17:08 robert +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) - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/View.cpp: Added - debug messages +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. -2007-01-16 16:02 robert - * examples/osgcamera/osgcamera.cpp: Reverted the FlightManipulator - usage -2007-01-16 16:01 robert - * examples/osgcamera/osgcamera.cpp, include/osgViewer/View, - include/osgViewer/Viewer, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp: Further work on - CompositeViewer -2007-01-16 15:05 robert +Sat, 3 Apr 2010 16:26:32 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgViewer/View.cpp: Added mouseWarped call into - View::requestWarpPointer +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. -2007-01-16 14:15 robert +Added Terrain support to .ive. - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/View.cpp: - Further work on event handling in CompositeViewer -2007-01-16 14:13 robert - * examples/osgmultiplecameras/osgmultiplecameras.cpp: Added extra - view combinations too commandline -2007-01-16 08:56 robert - * examples/osgcamera/osgcamera.cpp, - examples/osgmultiplecameras/osgmultiplecameras.cpp, - include/osgViewer/CompositeViewer, include/osgViewer/View, - include/osgViewer/Viewer, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Work on CompositeViewer and - related calsses to implement viewers with multiple views +Thu, 1 Apr 2010 21:18:39 +0000 +Checked in by : Robert Osfield +Removed getNeighbours() method to avoid problems with introspection wrappers -2007-01-15 16:12 robert +Thu, 1 Apr 2010 21:15:17 +0000 +Checked in by : Robert Osfield +Removed TerrainNeightbours class from wrapping to avoid associated build errors - * src/osgWrappers/osgViewer/Scene.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Updated wrappers +Thu, 1 Apr 2010 21:06:56 +0000 +Checked in by : Robert Osfield +Added support for boundary equalization to GeometryTechnique -2007-01-15 16:09 robert +Thu, 1 Apr 2010 21:04:36 +0000 +Checked in by : Robert Osfield +Added window size event handler - * examples/osgcamera/osgcamera.cpp, include/osgViewer/View, - src/osgViewer/View.cpp: Improved handling of intersection - computations on datasets with multiple cameras +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. -2007-01-15 14:46 robert +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." - * include/osgViewer/Scene, include/osgViewer/View, - include/osgViewer/Viewer, src/osgViewer/Scene.cpp, - src/osgViewer/Viewer.cpp: Added FramStamp into osgViewer::Viewer - and added ability to handle setSceneData - during during the application running. +Fri, 26 Mar 2010 11:07:43 +0000 +Checked in by : Robert Osfield +Updated wrappers -2007-01-15 11:44 robert +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. - * applications/osgviewer/osgviewer.cpp: Added terrain manipulator. +Thu, 25 Mar 2010 20:20:10 +0000 +Checked in by : Cedric Pinson +Fix compile issue t = fmod(t, (float)_duration); -2007-01-15 10:11 robert +Thu, 25 Mar 2010 17:50:29 +0000 +Checked in by : Cedric Pinson +Change time type from float to double in osgAnimation - * src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/OpenFlight/Registry.h: 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." - -2007-01-15 09:56 robert - - * src/osgUtil/DelaunayTriangulator.cpp: From Paul Martz and Geoff - Michel, Paul updated Geoff's bug fixes to - DelaunaryTraingulator.cpp to reflect recent tessellator spelling - changes - -2007-01-15 09:30 robert - - * src/osgViewer/Scene.cpp: Added setting of the update visitors' - traversal number - -2007-01-15 09:14 robert - - * examples/osgparametric/osgparametric.cpp: Reverted the - experimental shader code - -2007-01-14 20:23 robert - - * src/osg/GraphicsThread.cpp: Added releaseContext to end of - GraphicsThread::run() - -2007-01-12 22:07 robert - - * src/osgPlugins/quicktime/QTUtils.cpp, - src/osgPlugins/quicktime/QTUtils.h, - src/osgPlugins/quicktime/QuicktimeImageStream.cpp, - src/osgPlugins/quicktime/QuicktimeImageStream.h, - src/osgPlugins/quicktime/ReaderWriterQT.cpp: 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." - -2007-01-12 22:01 robert - - * include/osgParticle/ExplosionDebrisEffect, - include/osgParticle/ExplosionEffect, - include/osgParticle/FireEffect, - include/osgParticle/ParticleEffect, - include/osgParticle/SmokeEffect, - include/osgParticle/SmokeTrailEffect: Added explicit to - ParticleEffect constructors - -2007-01-12 21:44 robert - - * include/osgParticle/ParticleSystem: 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." - -2007-01-12 21:33 robert - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - include/osgViewer/GraphicsWindowCarbon, - src/osgViewer/GraphicsWindowCarbon.cpp: 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." - -2007-01-12 21:05 robert - - * applications/osgviewer/osgviewer.cpp, - examples/osgcamera/osgcamera.cpp, include/osgViewer/Viewer, - src/osgViewer/Viewer.cpp, src/osgWrappers/osgViewer/Viewer.cpp: - Added Viewer::setEndBarrierPosition method, change - Viewer::setKeySetsDone(int) to setKeyEventSetDone(int), - added support for toggling threading model and end barrier - position into osgviewer - -2007-01-12 19:09 robert - - * src/osgViewer/SimpleViewer.cpp: Moved the signalBeginFrame to the - start of the rendering traversal. - -2007-01-12 15:08 robert - - * applications/osgviewer/osgviewer.cpp: Added support for animation - path manipulator to osgViewer path - -2007-01-12 14:45 robert - - * src/osgViewer/Viewer.cpp: Add manually sync of the EventQueue's - startTick with the osg::Timer::startTick - -2007-01-12 12:10 robert - - * src/osg/View.cpp, src/osgUtil/SceneView.cpp, - src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp: 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 - - * applications/osgviewer/osgviewer.cpp: Added osgGA Trackball, - Flight and Drive camera manipulators, and StateSetManipulator to - the osgViewer path in osgviewer - -2007-01-12 10:28 robert - - * examples/osgshaderterrain/osgshaderterrain.cpp: Implement a - GraphicsOperation to test extension availability - -2007-01-12 10:28 robert - - * examples/osgkeyboardmouse/osgkeyboardmouse.cpp: Fixed comment - -2007-01-12 10:26 robert - - * VisualStudio/OpenSceneGraph.dsw, - applications/osgviewer/GNUmakefile, - applications/osgviewer/GNUmakefile.inst, - applications/osgviewer/osgviewer.cpp: Added osgViewer path into - osgviewer, old osgProducer version remains accessible - via --osgProducer command line option - -2007-01-11 17:15 robert - - * VisualStudio/OpenSceneGraph.dsw, - VisualStudio/examples/osgmotionblur/osgmotionblur.dsp, - examples/osgmotionblur/GNUmakefile, - examples/osgmotionblur/GNUmakefile.inst, - examples/osgmotionblur/osgmotionblur.cpp: Ported osgmotionblurr - across to osgViewer - -2007-01-11 17:00 robert - - * src/osgViewer/Viewer.cpp: Added setting of DisplaySettings - -2007-01-11 16:59 robert - - * examples/osgreflect/osgreflect.cpp, - examples/osgshadow/osgshadow.cpp: Added stencil buffer setting - -2007-01-11 15:54 robert - - * src/osgWrappers/osg/TexGenNode.cpp, - src/osgWrappers/osgSim/OverlayNode.cpp, - src/osgWrappers/osgUtil/LineSegmentIntersector.cpp, - src/osgWrappers/osgUtil/PlaneIntersector.cpp, - src/osgWrappers/osgViewer/Scene.cpp, - src/osgWrappers/osgViewer/View.cpp: Updated wrappers - -2007-01-11 15:53 robert - - * examples/osgwindows/osgwindows.cpp: Added #include - -2007-01-11 15:48 robert - - * Make/makedirdefs, VisualStudio/OpenSceneGraph.dsw, - VisualStudio/examples/osgcameragroup, - VisualStudio/examples/osgsimplepager, - VisualStudio/examples/osgsimpleviewerProducer, - examples/osgcameragroup, examples/osgsimple/osgsimple.cpp, - examples/osgsimplepager, examples/osgsimpleviewerProducer, - runexamples.bat: Removed examples: - - osgcameragroup - osgsimpleviewerProducer - osgsimplepager - -2007-01-11 15:19 robert - - * VisualStudio/OpenSceneGraph.dsw, - VisualStudio/examples/osgkeyboardmouse/osgkeyboardmouse.dsp, - VisualStudio/examples/osgpagedlod/osgpagedlod.dsp, - VisualStudio/examples/osgsimple/osgsimple.dsp, - VisualStudio/examples/osgtessellate/osgtessellate.dsp, - VisualStudio/examples/osgtext/osgtextdemo.dsp, - VisualStudio/examples/osgtexture1D/osgtexture1D.dsp, - VisualStudio/examples/osgtexture2D/osgtexture2D.dsp, - VisualStudio/examples/osgtexture3D/osgtexture3D.dsp, - VisualStudio/examples/osgtexturerectangle/osgtexturerectangle.dsp, - VisualStudio/examples/osgvertexprogram/osgvertexprogram.dsp, - VisualStudio/examples/osgvolume/osgvolume.dsp, - VisualStudio/examples/osgwindows/osgwindows.dsp, - examples/osgcamera/GNUmakefile.inst, - examples/osgcatch/GNUmakefile, - examples/osgcatch/GNUmakefile.inst, - examples/osgcatch/osgcatch.cpp, - examples/osgcluster/osgcluster.cpp, - examples/osgimpostor/GNUmakefile.inst, - examples/osgkeyboardmouse/GNUmakefile, - examples/osgkeyboardmouse/GNUmakefile.inst, - examples/osgkeyboardmouse/osgkeyboardmouse.cpp, - examples/osgsimple/GNUmakefile, - examples/osgsimple/GNUmakefile.inst, - examples/osgsimple/osgsimple.cpp, - examples/osgsimplifier/GNUmakefile.inst, - examples/osgslice/osgslice.cpp, examples/osgteapot/GNUmakefile, - examples/osgteapot/GNUmakefile.inst, - examples/osgteapot/osgteapot.cpp, - examples/osgtessellate/GNUmakefile, - examples/osgtessellate/GNUmakefile.inst, - examples/osgtessellate/osgtessellate.cpp, - examples/osgtext/GNUmakefile, examples/osgtext/GNUmakefile.inst, - examples/osgtext/osgtext.cpp, examples/osgtexture1D/GNUmakefile, - examples/osgtexture1D/GNUmakefile.inst, - examples/osgtexture1D/osgtexture1D.cpp, - examples/osgtexture2D/GNUmakefile, - examples/osgtexture2D/GNUmakefile.inst, - examples/osgtexture2D/osgtexture2D.cpp, - examples/osgtexture3D/GNUmakefile, - examples/osgtexture3D/GNUmakefile.inst, - examples/osgtexture3D/osgtexture3D.cpp, - examples/osgtexturerectangle/GNUmakefile, - examples/osgtexturerectangle/GNUmakefile.inst, - examples/osgtexturerectangle/osgtexturerectangle.cpp, - examples/osgunittests/GNUmakefile, - examples/osgunittests/GNUmakefile.inst, - examples/osgvertexprogram/GNUmakefile, - examples/osgvertexprogram/GNUmakefile.inst, - examples/osgvertexprogram/osgvertexprogram.cpp, - examples/osgvolume/GNUmakefile, - examples/osgvolume/GNUmakefile.inst, - examples/osgvolume/osgvolume.cpp, - examples/osgwindows/GNUmakefile, - examples/osgwindows/GNUmakefile.inst, - examples/osgwindows/osgwindows.cpp: Ported following examples to - osgViewer: - - osgteapot - osgtessellate - osgtext - osgtexture1D - osgtexture2D - osgtexture3D - osgtexturerectangle - osgvertexprogram - osgvolume - osgwindows - osgsimple - osgkeyboardmouse - -2007-01-11 14:53 robert - - * src/osgGA/GUIEventAdapter.cpp: 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. - -2007-01-11 12:06 robert - - * examples/osgshadow/osgshadow.cpp, - examples/osgstereoimage/osgstereoimage.cpp, - include/osgViewer/View, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: Added DisplaySettings support into - osgViewer::Viewer - -2007-01-11 11:47 robert - - * VisualStudio/OpenSceneGraph.dsw, - VisualStudio/examples/osgshape/osgshape.dsp, - VisualStudio/examples/osgsimplifier/osgsimplifier.dsp, - VisualStudio/examples/osgsimulation/osgsimulation.dsp, - VisualStudio/examples/osgslice/osgslice.dsp, - VisualStudio/examples/osgspacewarp/osgspacewarp.dsp, - VisualStudio/examples/osgspheresegment/osgspheresegment.dsp, - VisualStudio/examples/osgspotlight/osgspotlight.dsp, - VisualStudio/examples/osgstereoimage/osgstereoimage.dsp, - examples/osgshape/GNUmakefile, - examples/osgshape/GNUmakefile.inst, - examples/osgshape/osgshape.cpp, - examples/osgsimplifier/GNUmakefile, - examples/osgsimplifier/osgsimplifier.cpp, - examples/osgsimulation/GNUmakefile, - examples/osgsimulation/GNUmakefile.inst, - examples/osgsimulation/osgsimulation.cpp, - examples/osgslice/GNUmakefile, - examples/osgslice/GNUmakefile.inst, - examples/osgslice/osgslice.cpp, - examples/osgspacewarp/GNUmakefile, - examples/osgspacewarp/GNUmakefile.inst, - examples/osgspacewarp/osgspacewarp.cpp, - examples/osgspheresegment/GNUmakefile, - examples/osgspheresegment/GNUmakefile.inst, - examples/osgspheresegment/osgspheresegment.cpp, - examples/osgspotlight/GNUmakefile, - examples/osgspotlight/GNUmakefile.inst, - examples/osgspotlight/osgspotlight.cpp, - examples/osgstereoimage/GNUmakefile, - examples/osgstereoimage/GNUmakefile.inst, - examples/osgstereoimage/osgstereoimage.cpp: Ported follow - examples to osgViewer: - - osgshape - osgsimplifier - osgsimulation - osgslice - osgspacewarp - osgspheresegment - osgspotlight - osgstereoimage - -2007-01-11 10:35 robert - - * include/osg/TexGenNode, src/osg/TexGenNode.cpp: Added support for - setThreadSafeRefUnref into TexGenNode - -2007-01-11 10:21 robert - - * include/osgSim/OverlayNode, src/osgSim/OverlayNode.cpp: Added - setThreadSafeRefUnref, resizeGLObjectBuffers and releaseGLObjects - to OverlayNode - -2007-01-10 21:05 robert - - * VisualStudio/OpenSceneGraph.dsw, - VisualStudio/examples/osgshaders/osgshaders.dsp, - VisualStudio/examples/osgshaderterrain/osgshaderterrain.dsp, - VisualStudio/examples/osgshadow/example_osgshadow.dsp, - VisualStudio/examples/osgshadowtexture/osgshadowtexture.dsp, - examples/osgshaders/GNUmakefile, - examples/osgshaders/GNUmakefile.inst, - examples/osgshaders/osgshaders.cpp, - examples/osgshaderterrain/GNUmakefile, - examples/osgshaderterrain/GNUmakefile.inst, - examples/osgshaderterrain/osgshaderterrain.cpp, - examples/osgshadow/GNUmakefile, - examples/osgshadow/GNUmakefile.inst, - examples/osgshadow/osgshadow.cpp, - examples/osgshadowtexture/GNUmakefile, - examples/osgshadowtexture/GNUmakefile.inst, - examples/osgshadowtexture/osgshadowtexture.cpp: Ported following - examples to osgViewer: - - osgshaders - osgshaderterrain - osgshadow - osgshadowtexture - -2007-01-10 14:56 robert - - * VisualStudio/OpenSceneGraph.dsw, - VisualStudio/applications/osgconv/osgconv.dsp, - VisualStudio/applications/osgdem/osgdem.dsp, - applications/osgconv/GNUmakefile, - applications/osgconv/GNUmakefile.inst, - applications/osgconv/osgconv.cpp, - applications/osgdem/GNUmakefile, - applications/osgdem/GNUmakefile.inst, - applications/osgdem/osgdem.cpp, - applications/osgversion/GNUmakefile.inst: Ported osgconv and - osgdem across to osgViewer - -2007-01-10 13:52 robert - - * VisualStudio/OpenSceneGraph.dsw, - VisualStudio/examples/osgparticleeffects/osgparticleeffects.dsp, - VisualStudio/examples/osgphotoalbum/osgphotoalbum.dsp, - VisualStudio/examples/osgpick/osgpick.dsp, - VisualStudio/examples/osgplanets/osgplanets.dsp, - VisualStudio/examples/osgpoints/osgpoints.dsp, - VisualStudio/examples/osgpointsprite/osgpointsprite.dsp, - VisualStudio/examples/osgprecipitation/osgprecipitation.dsp, - VisualStudio/examples/osgprerender/osgprerender.dsp, - VisualStudio/examples/osgprerendercubemap/osgprerendercubemap.dsp, - VisualStudio/examples/osgreflect/osgreflect.dsp, - VisualStudio/examples/osgscalarbar/osgscalarbar.dsp, - VisualStudio/examples/osgscribe/osgscribe.dsp, - VisualStudio/examples/osgsequence/osgsequence.dsp, - examples/osgparticleeffects/GNUmakefile, - examples/osgparticleeffects/GNUmakefile.inst, - examples/osgparticleeffects/osgparticleeffects.cpp, - examples/osgphotoalbum/GNUmakefile, - examples/osgphotoalbum/GNUmakefile.inst, - examples/osgphotoalbum/PhotoArchive.cpp, - examples/osgphotoalbum/osgphotoalbum.cpp, - examples/osgpick/GNUmakefile, examples/osgpick/GNUmakefile.inst, - examples/osgpick/osgpick.cpp, examples/osgplanets/GNUmakefile, - examples/osgplanets/GNUmakefile.inst, - examples/osgplanets/osgplanets.cpp, - examples/osgpoints/GNUmakefile, - examples/osgpoints/GNUmakefile.inst, - examples/osgpoints/osgpoints.cpp, - examples/osgpointsprite/GNUmakefile, - examples/osgpointsprite/GNUmakefile.inst, - examples/osgpointsprite/osgpointsprite.cpp, - examples/osgprecipitation/GNUmakefile, - examples/osgprecipitation/GNUmakefile.inst, - examples/osgprecipitation/osgprecipitation.cpp, - examples/osgprerender/GNUmakefile, - examples/osgprerender/GNUmakefile.inst, - examples/osgprerender/osgprerender.cpp, - examples/osgprerendercubemap/GNUmakefile, - examples/osgprerendercubemap/GNUmakefile.inst, - examples/osgprerendercubemap/osgprerendercubemap.cpp, - examples/osgreflect/GNUmakefile, - examples/osgreflect/GNUmakefile.inst, - examples/osgreflect/osgreflect.cpp, - examples/osgscalarbar/GNUmakefile, - examples/osgscalarbar/GNUmakefile.inst, - examples/osgscalarbar/osgscalarbar.cpp, - examples/osgscribe/GNUmakefile, - examples/osgscribe/GNUmakefile.inst, - examples/osgscribe/osgscribe.cpp, - examples/osgsequence/GNUmakefile, - examples/osgsequence/GNUmakefile.inst, - examples/osgsequence/osgsequence.cpp, - include/osgGA/KeySwitchMatrixManipulator, - include/osgUtil/LineSegmentIntersector, - src/osgGA/KeySwitchMatrixManipulator.cpp: Ported following - examples to osgViewer: - - osgparticleeffects - osgphotoalbum - osgpick - osgpoints - osgpointsprite - osgprecipitation - osgprerender - osgprerendercubemap - osgreflect - osgscalarbar - osgscribe - osgsequence - osgplanets - -2007-01-10 10:40 robert - - * examples/osgmovie/osgmovie.cpp, - include/osgUtil/LineSegmentIntersector, - src/osgUtil/LineSegmentIntersector.cpp, src/osgViewer/View.cpp: - Added support for vertex ratios into LineSegmentIntersector. - -2007-01-10 10:09 robert - - * include/osgUtil/LineSegmentIntersector, include/osgViewer/Scene, - include/osgViewer/View, include/osgViewer/Viewer, - src/osgUtil/LineSegmentIntersector.cpp, src/osgViewer/Scene.cpp, - src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp: Added - View::computeIntersection implementation for a node withing a - scene graph. - -2007-01-09 17:35 robert - - * examples/osglauncher/osglauncher.cpp, - examples/osgmovie/osgmovie.cpp, - examples/osgoccluder/osgoccluder.cpp, include/osgViewer/View, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: Added View::computeIntersections - methods - -2007-01-09 14:35 robert - - * Make/dependencies, Make/makedirdefs, src/osgDB/Registry.cpp, - src/osgPlugins/vrml, src/osgPlugins/vrml/GNUmakefile, - src/osgPlugins/vrml/LICENSE.txt, src/osgPlugins/vrml/README.txt, - src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: From Jan Ciger, Tolga - Abaci, Bruno Herbelin : OpenVRML 0.14.3 based .wrl/VRML plugin - -2007-01-09 11:42 robert - - * src/osgUtil/DelaunayTriangulator.cpp: 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. - -2007-01-09 10:06 robert - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - include/osg/GraphicsContext, - include/osgViewer/GraphicsWindowCarbon, include/osgViewer/Viewer, - src/osgViewer/GNUmakefile, - src/osgViewer/GraphicsWindowCarbon.cpp, src/osgViewer/Viewer.cpp: - From Stephan Huber, GraphicsWindowCarbon implementation - -2007-01-09 09:16 robert - - * VisualStudio/OpenSceneGraph.dsw: Changed osgparticle's - osgProducer dependency to osgViewer - -2007-01-09 09:14 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: Fixed typo - -2007-01-08 22:54 robert - - * VisualStudio/OpenSceneGraph.dsw, - examples/osgparticleeffects/GNUmakefile, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Scene.cpp: Build - fixes - -2007-01-08 22:44 robert - - * VisualStudio/examples/osgbluemarble/osgbluemarble.dsp: Removed - reference to Producer - -2007-01-08 22:40 robert - - * src/osgText/Font.cpp: Removed debug messages - -2007-01-08 21:57 robert - - * src/osgProducer/GraphicsContextImplementation.cpp: Fixed comment - -2007-01-08 21:55 robert - - * genwrapper.conf: Added genwrapper.conf to OSG CVS - -2007-01-08 21:29 robert - - * NEWS.txt, include/osg/ShapeDrawable, - include/osgSim/OpenFlightOptimizer, - include/osgUtil/DelaunayTriangulator, - include/osgUtil/IntersectVisitor, include/osgUtil/Optimizer, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/ac3d/ac3d.cpp, src/osgPlugins/bsp/BSPLoad.cpp, - src/osgPlugins/bsp/BSPLoad.h, - src/osgPlugins/bsp/ReaderWriterQ3BSP.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/flt/GeoSetBuilder.cpp, - src/osgProducer/GraphicsContextImplementation.cpp, - src/osgSim/OpenFlightOptimizer.cpp, - src/osgUtil/DelaunayTriangulator.cpp, src/osgUtil/Optimizer.cpp, - src/osgViewer/Viewer.cpp, - src/osgWrappers/osgSim/OpenFlightOptimizer.cpp, - src/osgWrappers/osgText/Font.cpp, - src/osgWrappers/osgText/Text.cpp, - src/osgWrappers/osgUtil/DelaunayTriangulator.cpp, - src/osgWrappers/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp: From Paul Martz, speeling - fixes for Tessellator/Tessellation. - -2007-01-08 21:19 robert - - * VisualStudio/LANGEXT.DAT, VisualStudio/highlight70.reg, - VisualStudio/highlight71.reg, VisualStudio/highlight80.reg, - examples/osgcamera/osgcamera.cpp, - examples/osgtessellate/osgtessellate.cpp: Tessellator name - changes - -2007-01-08 20:46 robert - - * include/osgText/Font, src/osgText/Font.cpp, src/osgText/Text.cpp: - Improved resizeGLObjectBuffers support - -2007-01-08 20:40 robert - - * include/osgText/Font, include/osgText/Text, src/osgText/Font.cpp, - src/osgText/Text.cpp: Improved the handling a releaseGLObjects() - and add setThreadSafeRefUnref and resizeGLObjectsBuffers methods - -2007-01-08 19:58 robert - - * src/osgProducer/GraphicsContextImplementation.cpp: Added - releaseContextImplementation method - -2007-01-08 19:33 robert - - * src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/osgProducer/GraphicsContextImplementation.cpp, - src/osgWrappers/osgUtil/DelaunayTriangulator.cpp, - src/osgWrappers/osgViewer/GraphicsWindow.cpp: Updated wrappers - -2007-01-08 19:29 robert - - * examples/osgcamera/osgcamera.cpp, include/osg/GraphicsContext, - include/osgGA/EventQueue, include/osgGA/GUIEventAdapter, - include/osgProducer/GraphicsContextImplementation, - include/osgViewer/GraphicsWindow, - include/osgViewer/GraphicsWindowCocoa, - include/osgViewer/GraphicsWindowWin32, - include/osgViewer/GraphicsWindowX11, src/osg/GraphicsContext.cpp, - src/osg/Texture.cpp, src/osg/View.cpp, src/osgGA/EventQueue.cpp, - src/osgProducer/GraphicsContextImplementation.cpp, - src/osgViewer/GraphicsWindowCocoa.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/Viewer.cpp: - Changed the return types of makeCurrent to bool, and added a bool - GraphicsContext::releaseContext method - along with implementations in osgViewer. - -2007-01-08 16:20 robert - - * examples/osgcamera/osgcamera.cpp, include/osg/GraphicsContext, - include/osgProducer/GraphicsContextImplementation, - include/osgViewer/GraphicsWindow, src/osg/GraphicsContext.cpp, - src/osg/Texture.cpp, src/osg/View.cpp, src/osgViewer/Viewer.cpp: - 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 - - * include/osgUtil/Tessellator: Added Tessellator - -2007-01-08 13:28 robert - - * include/osgUtil/DelaunayTriangulator: Fixed spelling of - Tessellator in comment - -2007-01-08 12:04 robert - - * Make/makedirdefs, VisualStudio/OpenSceneGraph.dsw, - VisualStudio/osgPlugins/txf, VisualStudio/osgPlugins/txf/txf.dsp, - src/osgPlugins/txf, src/osgPlugins/txf/GNUmakefile, - src/osgPlugins/txf/ReaderWriterTXF.cpp, - src/osgPlugins/txf/TXFFont.cpp, src/osgPlugins/txf/TXFFont.h: - From Mathias Fröhlich, txf plugin for reading .txf textured - texture files. - -2007-01-08 11:37 robert - - * VisualStudio/osgWrappers/osgUtil/wrapper_osgUtil.dsp, - include/osgUtil/Tesselator, src/osgWrappers/osg/LightSource.cpp, - src/osgWrappers/osgUtil/GNUmakefile, - src/osgWrappers/osgUtil/Tesselator.cpp, - src/osgWrappers/osgUtil/Tessellator.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Updated wrappers - -2007-01-08 11:23 robert - - * Make/makedirdefs, VisualStudio/OpenSceneGraph.dsw, - VisualStudio/examples/osgtesselate, - VisualStudio/examples/osgtessellate, - VisualStudio/examples/osgtessellate/osgtessellate.dsp, - VisualStudio/osgUtil/osgUtil.dsp, - Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/osgtesselate-Info.plist, - Xcode/OpenSceneGraph/osgtessellate-Info.plist, - Xcode/XcodeTemplates/OSG Application/osgApp_Prefix.pch, - examples/osgdelaunay/osgdelaunay.cpp, - examples/osggeometry/osggeometry.cpp, - examples/osglauncher/osglauncher.cpp, - examples/osglogo/osglogo.cpp, - examples/osgscalarbar/osgscalarbar.cpp, examples/osgtesselate, - examples/osgtessellate, examples/osgtessellate/GNUmakefile, - examples/osgtessellate/GNUmakefile.inst, - examples/osgtessellate/osgtessellate.cpp, runexamples.bat, - src/osgPlugins/ESRIShape/ESRIShapeParser.cpp, - src/osgPlugins/ac3d/ac3d.cpp, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgSim/OpenFlightOptimizer.cpp, - src/osgUtil/DelaunayTriangulator.cpp, src/osgUtil/GNUmakefile, - src/osgUtil/Optimizer.cpp, src/osgUtil/Tesselator.cpp, - src/osgUtil/Tessellator.cpp: From Paul Martz and Robert Osfield, - renamed include/osgUtil/Tesselator and associated - classes/references to Tessellator etc. - -2007-01-08 10:00 robert - - * VisualStudio/OpenSceneGraph.dsw, - VisualStudio/examples/osgGLUTkeyboardmouse/osgGLUTkeyboardmouse.dsp, - VisualStudio/examples/osgGLUTsimple/osgGLUTsimple.dsp, - VisualStudio/examples/osggeodemo/osggeodemo.dsp, - VisualStudio/examples/osggeometry/osggeometry.dsp, - VisualStudio/examples/osghud/osghud.dsp, - VisualStudio/examples/osgimpostor/osgimpostor.dsp, - VisualStudio/examples/osgkeyboard/osgkeyboard.dsp, - VisualStudio/examples/osglauncher/osglauncher.dsp, - VisualStudio/examples/osglight/osglight.dsp, - VisualStudio/examples/osglightpoint/osglightpoint.dsp, - VisualStudio/examples/osglogicop/osglogicop.dsp, - VisualStudio/examples/osglogo/osglogo.dsp, - VisualStudio/examples/osgmovie/osgmovie.dsp, - VisualStudio/examples/osgmultiplecameras/osgmultiplecameras.dsp, - VisualStudio/examples/osgmultitexture/osgmultitexture.dsp, - VisualStudio/examples/osgoccluder/osgoccluder.dsp, - VisualStudio/examples/osgparametric/osgparametric.dsp, - VisualStudio/examples/osgparticle/osgparticledemo.dsp, - VisualStudio/examples/osgsimpleviewerFLTK/osgsimpleviewerFLTK.dsp, - VisualStudio/examples/osgsimpleviewerGLUT/osgsimpleviewerGLUT.dsp, - VisualStudio/examples/osgsimpleviewerQT3/osgsimpleviewerQT3.dsp, - VisualStudio/examples/osgsimpleviewerQT4/osgsimpleviewerQT4.dsp, - VisualStudio/examples/osgsimpleviewerSDL/osgsimpleviewerSDL.dsp, - examples/osgdepthshadow/GNUmakefile, - examples/osgdepthshadow/GNUmakefile.inst, - examples/osgdepthshadow/osgdepthshadow.cpp, - examples/osggeodemo/GNUmakefile, - examples/osggeodemo/GNUmakefile.inst, - examples/osggeodemo/osggeodemo.cpp, - examples/osggeometry/GNUmakefile, - examples/osggeometry/GNUmakefile.inst, - examples/osggeometry/osggeometry.cpp, - examples/osghud/GNUmakefile, examples/osghud/GNUmakefile.inst, - examples/osghud/osghud.cpp, examples/osgimpostor/GNUmakefile, - examples/osgimpostor/osgimpostor.cpp, - examples/osgintersection/GNUmakefile, - examples/osgintersection/GNUmakefile.inst, - examples/osgintersection/osgintersection.cpp, - examples/osgkeyboard/GNUmakefile, - examples/osgkeyboard/GNUmakefile.inst, - examples/osgkeyboard/osgkeyboard.cpp, - examples/osglauncher/GNUmakefile, - examples/osglauncher/GNUmakefile.inst, - examples/osglauncher/osglauncher.cpp, - examples/osglight/GNUmakefile, - examples/osglight/GNUmakefile.inst, - examples/osglight/osglight.cpp, - examples/osglightpoint/GNUmakefile, - examples/osglightpoint/GNUmakefile.inst, - examples/osglightpoint/osglightpoint.cpp, - examples/osglogicop/GNUmakefile, - examples/osglogicop/GNUmakefile.inst, - examples/osglogicop/osglogicop.cpp, examples/osglogo/GNUmakefile, - examples/osglogo/GNUmakefile.inst, examples/osglogo/osglogo.cpp, - examples/osgmovie/GNUmakefile, - examples/osgmovie/GNUmakefile.inst, - examples/osgmovie/osgmovie.cpp, - examples/osgmultiplecameras/GNUmakefile, - examples/osgmultiplecameras/GNUmakefile.inst, - examples/osgmultiplecameras/osgmultiplecameras.cpp, - examples/osgmultitexture/GNUmakefile, - examples/osgmultitexture/GNUmakefile.inst, - examples/osgmultitexture/osgmultitexture.cpp, - examples/osgoccluder/GNUmakefile, - examples/osgoccluder/GNUmakefile.inst, - examples/osgoccluder/osgoccluder.cpp, - examples/osgpagedlod/GNUmakefile, - examples/osgpagedlod/GNUmakefile.inst, - examples/osgparametric/GNUmakefile, - examples/osgparametric/GNUmakefile.inst, - examples/osgparametric/osgparametric.cpp, - examples/osgparticle/GNUmakefile, - examples/osgparticle/GNUmakefile.inst, - examples/osgparticle/osgparticle.cpp: Ported following examples - to osgViewer: - osggeodemo - osggeometry - osghud - osgimpostor - osgkeyboard - osglauncher - osglight - osglightpoint - osglogicop - osglogo - osgmovie - osgmultiplecameras - osgmultitexture - osgoccluder - osgparametric - osgparticle - -2007-01-07 20:52 robert - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber, updated Xcode projects for changes to - examples ported over to osgViewer - -2007-01-07 17:29 robert - - * include/osgUtil/Statistics: From André Garneau, added export to - StatsVisitor - -2007-01-07 10:00 robert - - * include/osg/LightSource, src/osg/LightSource.cpp: Added - setThreadSafeRefUnref to LightSource - -2007-01-06 21:35 robert - - * VisualStudio/OpenSceneGraph.dsw, - VisualStudio/examples/osgcopy/osgcopy.dsp, - VisualStudio/examples/osgcubemap/osgcubemap.dsp, - VisualStudio/examples/osgdelaunay/osgdelaunay.dsp, - VisualStudio/examples/osgdepthpartition/osgdepthpartition.dsp, - VisualStudio/examples/osgdistortion/osgdistortion.dsp, - VisualStudio/examples/osgfadetext/osgfadetext.dsp, - VisualStudio/examples/osgforest/osgforest.dsp, - VisualStudio/examples/osgfxbrowser/osgfxbrowser.dsp, - examples/osgcopy/GNUmakefile, examples/osgcopy/GNUmakefile.inst, - examples/osgcopy/osgcopy.cpp, examples/osgcubemap/GNUmakefile, - examples/osgcubemap/GNUmakefile.inst, - examples/osgcubemap/osgcubemap.cpp, - examples/osgdelaunay/GNUmakefile, - examples/osgdelaunay/GNUmakefile.inst, - examples/osgdelaunay/osgdelaunay.cpp, - examples/osgdepthpartition/GNUmakefile, - examples/osgdepthpartition/GNUmakefile.inst, - examples/osgdepthpartition/osgdepthpartition.cpp, - examples/osgdistortion/GNUmakefile, - examples/osgdistortion/GNUmakefile.inst, - examples/osgdistortion/osgdistortion.cpp, - examples/osgfadetext/GNUmakefile, - examples/osgfadetext/GNUmakefile.inst, - examples/osgfadetext/osgfadetext.cpp, - examples/osgforest/GNUmakefile, - examples/osgforest/GNUmakefile.inst, - examples/osgforest/osgforest.cpp, - examples/osgfxbrowser/GNUmakefile, - examples/osgfxbrowser/GNUmakefile.inst, - examples/osgfxbrowser/osgfxbrowser.cpp: Ported osgcopy, - osgcubemap, osgdelaunay, osgdepthpartion, osgdistortion, - osgfadetext, osgforest and osgfxbrowser to osgViewer - -2007-01-06 21:06 robert - - * include/osgViewer/View, src/osgViewer/View.cpp: Added - View::setUpViewOnSingleScreen(uint) method to help set up view on - a single full screen window - -2007-01-05 21:23 robert - - * examples/osgcluster/osgcluster.cpp: Add trackball manipulator - usage - -2007-01-05 21:19 robert - - * VisualStudio/OpenSceneGraph.dsw, - VisualStudio/examples/osgcamera/osgcamera.dsp, - VisualStudio/examples/osgcatch/osgcatch.dsp, - VisualStudio/examples/osgclip/osgclip.dsp, - VisualStudio/examples/osgcluster/osgcluster.dsp, - VisualStudio/examples/osghangglide/osghangglide.dsp, - examples/osgclip/GNUmakefile, examples/osgclip/GNUmakefile.inst, - examples/osgclip/osgclip.cpp, examples/osgcluster/GNUmakefile, - examples/osgcluster/GNUmakefile.inst, - examples/osgcluster/osgcluster.cpp, include/osgViewer/Viewer, - src/osgViewer/Viewer.cpp: Ported osgcluster to osgViewer. - -2007-01-05 20:28 robert - - * src/osgWrappers/osg/GraphicsContext.cpp: Fixed genwrapper to add - include of osg/Camera. - -2007-01-05 17:21 robert - - * src/osgWrappers/osg/Camera.cpp, src/osgWrappers/osg/Drawable.cpp, - src/osgWrappers/osg/FragmentProgram.cpp, - src/osgWrappers/osg/Geode.cpp, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/Group.cpp, src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/Object.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osg/Program.cpp, src/osgWrappers/osg/Shader.cpp, - src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/StateSet.cpp, - src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osg/VertexProgram.cpp, - src/osgWrappers/osg/View.cpp, src/osgWrappers/osg/Viewport.cpp, - src/osgWrappers/osgFX/Validator.cpp, - src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/osgUtil/SceneView.cpp, - src/osgWrappers/osgViewer/GraphicsWindow.cpp, - src/osgWrappers/osgViewer/SimpleViewer.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Updated wrappers - -2007-01-05 16:48 robert - - * include/osgViewer/SimpleViewer, include/osgViewer/Viewer, - src/osgViewer/SimpleViewer.cpp, src/osgViewer/Viewer.cpp: - Simplified the nameing of updateTraversal etc methods - -2007-01-05 16:46 robert - - * examples/osgcamera/osgcamera.cpp: Cleaned up graphics window - setup and added clear graphics window to single window, - multiple camera setup. - -2007-01-05 16:24 robert - - * examples/osgcegui/GNUmakefile, - examples/osgcegui/GNUmakefile.inst, - examples/osgcegui/osgcegui.cpp: Ported osgcegui across to - osgViewer - -2007-01-05 16:19 robert - - * VisualStudio/OpenSceneGraph.dsw, - VisualStudio/examples/osgcallback/osgcallback.dsp, - examples/osgcallback/GNUmakefile, - examples/osgcallback/GNUmakefile.inst, - examples/osgcallback/osgcallback.cpp: Ported osgcallback to - osgViewer - -2007-01-05 16:13 robert - - * VisualStudio/OpenSceneGraph.dsw, - VisualStudio/examples/osgbluemarble/osgbluemarble.dsp, - examples/osgbluemarble/GNUmakefile, - examples/osgbluemarble/GNUmakefile.inst, - examples/osgbluemarble/osgbluemarble.cpp: Ported osgbluemarble to - osgViewer +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. -2007-01-05 16:00 robert +Fixed a bug with texture repeat being applied to the wrong texture dimension. - * VisualStudio/OpenSceneGraph.dsw, - VisualStudio/examples/osgblendequation/osgblendequation.dsp, - examples/osgblendequation/GNUmakefile, - examples/osgblendequation/GNUmakefile.inst, - examples/osgblendequation/osgblendequation.cpp: Ported - osgblendequation across to osgViewer +Added handling for IndexedLineSet geometries." -2007-01-05 15:54 robert - * VisualStudio/OpenSceneGraph.dsw, - VisualStudio/examples/osgbillboard/osgbillboard.dsp, - examples/osgbillboard/GNUmakefile, - examples/osgbillboard/GNUmakefile.inst, - examples/osgbillboard/osgbillboard.cpp, - examples/osgcamera/osgcamera.cpp: Ported osgbillboard over to - osgViewer -2007-01-05 15:52 robert +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. " - * examples/osganimate/osganimate.cpp, - examples/osgautotransform/osgautotransform.cpp: Simplified the - osganimate and osgautotransform mains, removing most or all of - the argument parser code. +Thu, 25 Mar 2010 14:12:28 +0000 +Checked in by : Robert Osfield +Fixed warning -2007-01-05 15:32 robert +Thu, 25 Mar 2010 11:11:35 +0000 +Checked in by : Robert Osfield +Introduced the use of linear interpolation of evelvations when sampling - * examples/osghangglide/osghangglide.cpp: Fixed aspect ratio. +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. -2007-01-05 15:30 robert +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. - * examples/osghangglide/osghangglide.cpp: Cleaned up the - GraphicsWindow setup +Tue, 23 Mar 2010 12:41:02 +0000 +Checked in by : Robert Osfield +Updated wrappers -2007-01-05 15:24 robert +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." - * examples/osghangglide/osghangglide.cpp, - include/osg/GraphicsContext, src/osg/GraphicsContext.cpp, - src/osg/GraphicsThread.cpp: 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, 22 Mar 2010 14:32:19 +0000 +Checked in by : Robert Osfield +Changed private: to protected: to fix build issue under OSX -2007-01-05 14:57 robert +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." - * examples/osganimate/GNUmakefile.inst: Replace osgProducer - reference by osgViewer -2007-01-05 14:56 robert - * VisualStudio/OpenSceneGraph.dsw, - VisualStudio/examples/osgautotransform/osgautotransform.dsp, - examples/osgautotransform/GNUmakefile, - examples/osgautotransform/GNUmakefile.inst, - examples/osgautotransform/osgautotransform.cpp: Moved - osgautotransform across to osgViewer +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." -2007-01-05 14:50 robert - * VisualStudio/OpenSceneGraph.dsw, - VisualStudio/examples/osganimate/osganimate.dsp: Converted - osganimate projects across to osgViewer -2007-01-05 14:48 robert +Mon, 22 Mar 2010 10:43:45 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated xcode-project - * examples/osganimate/GNUmakefile, - examples/osganimate/osganimate.cpp: Converted osganimate example - to osgViewer +Sat, 20 Mar 2010 09:45:59 +0000 +Checked in by : Robert Osfield +From Ulrich Hertlein, changed init() call to _init(). -2007-01-05 13:16 robert +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. - * include/osgViewer/Viewer, src/osgViewer/Viewer.cpp: Added int - return type of Viewer::run(). +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 -2007-01-05 13:15 robert +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. - * examples/osghangglide/osghangglide.cpp: Made the custom window - set up a runtime option +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. -2007-01-05 13:06 robert +Fri, 19 Mar 2010 16:30:56 +0000 +Checked in by : Robert Osfield +Renamed source file - * examples/osgcatch/osgcatch.cpp: Tweaked comments +Fri, 19 Mar 2010 14:55:35 +0000 +Checked in by : Robert Osfield +Renamed osgterrain to osgthreadedterrain to better reflect it's functionality. -2007-01-05 13:01 robert +Fri, 19 Mar 2010 10:19:41 +0000 +Checked in by : Michael PLATINGS +Fixed an infinite loop when loading a malformed file. - * include/osgViewer/GraphicsWindowX11, - src/osgViewer/GraphicsWindowX11.cpp: Added a workaround for - computing the time of an event. +Thu, 18 Mar 2010 19:02:12 +0000 +Checked in by : Michael PLATINGS +Workaround for models with inverted transparency -2007-01-05 12:22 robert +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 - * src/osgViewer/GraphicsWindowX11.cpp: Removed commented out - checkEvents calls +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. -2007-01-05 10:59 robert - * include/osgViewer/Viewer, src/osgViewer/Viewer.cpp: 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. -2007-01-05 09:55 robert - * include/osg/ConvexPlanarOccluder, - include/osg/ConvexPlanarPolygon: Removed inappropriate comment - about normal orientation. -2007-01-04 21:58 robert +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. - * examples/osgcamera/osgcamera.cpp: Changed compile paths into - runtime selected paths using command line parameters +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" -2007-01-04 21:51 robert - * examples/osgcamera/osgcamera.cpp: Removed now redundent calls to - set up view -2007-01-04 21:49 robert +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)." - * include/osgViewer/View, include/osgViewer/Viewer, - src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp: Moved the set - of GraphicsContext RenderingOperations into Viewer. +Wed, 17 Mar 2010 11:35:52 +0000 +Checked in by : Robert Osfield +disabled timing debug info -2007-01-04 21:35 robert +Wed, 17 Mar 2010 10:33:48 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project - * src/osgViewer/Viewer.cpp: In Viewer::realize() added default - fallback of calling setUpViewAcrossAllScreens() - when no windows have previously been set up. +Tue, 16 Mar 2010 18:53:42 +0000 +Checked in by : Robert Osfield +Updated wrappers -2007-01-04 21:28 robert +Tue, 16 Mar 2010 18:44:27 +0000 +Checked in by : Robert Osfield +Updated various serialization support for .osg, .osgt/b/x and .ive. - * include/osgViewer/Viewer, src/osgViewer/Viewer.cpp: Added - Viewer::setKeySetsDone(int) to allow developers to specify which - key should set done and cause the main loop to exit. +Tue, 16 Mar 2010 18:43:59 +0000 +Checked in by : Robert Osfield +Added BlendingPolicy support into osgTerrain::Terrain. -2007-01-04 21:18 robert +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. - * examples/osgcatch/osgcatch.cpp, - examples/osghangglide/osghangglide.cpp: Removed the setting of - thread safe ref/unref and max number of graphics contexts - as this is now done automatically by osgViewer::Viewer +Mon, 15 Mar 2010 20:09:23 +0000 +Checked in by : Robert Osfield +Fixed recursive call due to missing _ -2007-01-04 21:18 robert +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. - * src/osgViewer/Viewer.cpp: Changed debug messages to INFO +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. +" -2007-01-04 21:14 robert - * include/osgDB/ReentrantMutex: Changed the ReadWriteMutex to use - standard OpenThreads::Mutex to fix - crashes in osgcatch. -2007-01-04 20:50 robert +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." - * include/osgDB/ReentrantMutex, src/osgDB/ReentrantMutex.cpp: Added - mutex to lock of ReentrantMutex -2007-01-04 20:49 robert - * src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: Fixed compile - warning +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(); -2007-01-04 16:49 robert + osg::Matrix matrix( osg::Matrix::inverse(localCameraVPW) * +masterCameraVPW ); - * examples/osgcamera/osgcamera.cpp, examples/osgcatch/osgcatch.cpp, - include/osg/Drawable, include/osg/Geode, include/osg/Group, - include/osg/Node, include/osg/Program, include/osg/Referenced, - include/osg/StateSet, src/osg/Drawable.cpp, src/osg/Geode.cpp, - src/osg/GraphicsContext.cpp, src/osg/Group.cpp, src/osg/Node.cpp, - src/osg/Program.cpp, src/osg/StateSet.cpp, - src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: 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. + osg::Vec3d new_coord = osg::Vec3d(x,y,0.0) * matrix; -2007-01-04 16:48 robert + x = new_coord.x(); + y = new_coord.y(); + } + ... +} - * src/osgUtil/RenderStage.cpp, src/osgUtil/SceneView.cpp: Fixed - warnings +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. " -2007-01-04 14:34 robert - * src/osgViewer/GraphicsWindowX11.cpp: Added glXDestryContext to - help clean up OpenGL. -2007-01-04 14:11 robert +Mon, 15 Mar 2010 10:32:29 +0000 +Checked in by : Robert Osfield +Updated wrappers - * examples/osgcamera/osgcamera.cpp, include/osg/Camera, - include/osg/Drawable, include/osg/FragmentProgram, - include/osg/Geode, include/osg/Group, include/osg/Node, - include/osg/Object, include/osg/PrimitiveSet, - include/osg/Program, include/osg/Shader, - include/osg/StateAttribute, include/osg/StateSet, - include/osg/Texture, include/osg/VertexProgram, - include/osg/buffered_value, src/osg/Camera.cpp, - src/osg/Drawable.cpp, src/osg/FragmentProgram.cpp, - src/osg/Geode.cpp, src/osg/Group.cpp, src/osg/Node.cpp, - src/osg/PrimitiveSet.cpp, src/osg/Program.cpp, - src/osg/Shader.cpp, src/osg/StateSet.cpp, src/osg/Texture.cpp, - src/osg/VertexProgram.cpp: 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. +Mon, 15 Mar 2010 10:32:03 +0000 +Checked in by : Robert Osfield +Refactored Texture::Extensions to simplify it and make it more efficient. -2007-01-04 11:49 robert +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. - * include/osgViewer/Viewer, src/osgViewer/GraphicsWindowX11.cpp, - src/osgViewer/Viewer.cpp: Added support for starting and stopping - osgViewer::Viewer threading and - automatic handling of windows being closed. +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. -2007-01-03 23:00 robert +Fri, 12 Mar 2010 09:32:23 +0000 +Checked in by : Robert Osfield +Added initializer - * include/osgViewer/GraphicsWindowX11, - src/osgViewer/GraphicsWindowX11.cpp: Added catch of window close +Fri, 12 Mar 2010 09:10:12 +0000 +Checked in by : Robert Osfield +Changed ssize_t to int to fix windows build error -2007-01-03 19:11 robert +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." - * include/osgUtil/Statistics: From Paul Martz, added export to fix - Windows build +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)" -2007-01-03 17:26 robert +Thu, 11 Mar 2010 16:46:01 +0000 +Checked in by : Robert Osfield +Clean up of initialization of statics/use of getenv - * examples/osgcamera/osgcamera.cpp, src/osg/View.cpp: Added setting - of default backgroud colour of View's master colour to be - consistent with the previous default colour used by SceneView +Thu, 11 Mar 2010 14:48:54 +0000 +Checked in by : Robert Osfield +Added export for PerContextShader. -2007-01-03 17:25 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. - * examples/osgcatch/osgcatch.cpp: Removed setting of master camera - colour +Thu, 11 Mar 2010 10:17:50 +0000 +Checked in by : Robert Osfield +Fixed warning -2007-01-03 16:32 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. " - * src/osg/View.cpp: Changed the View's master camera projection - matrix setting so that it is - consistent with osgProducer::Viewer default setting. +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." -2007-01-03 16:06 robert +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." - * examples/osgcamera/osgcamera.cpp, - include/osgViewer/GraphicsWindowX11, src/osg/GraphicsContext.cpp, - src/osg/GraphicsThread.cpp, src/osgDB/DatabasePager.cpp, - src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/Viewer.cpp: - Improved the robustness of thread start and cancellation +Wed, 10 Mar 2010 16:31:15 +0000 +Checked in by : Robert Osfield +Updated version -2007-01-02 20:26 robert +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 - * src/osg/CopyOp.cpp: Fixed the COPY_OP( Array, DEEP_COPY_ARRAYS); - entry. +"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." -2007-01-02 17:39 robert - * examples/osgcamera/osgcamera.cpp, include/osgViewer/Viewer, - src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp: Added support - for different threading models in osgViewer::Viewer -2007-01-02 13:02 robert - * examples/osgcatch/osgcatch.cpp: 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. +Wed, 10 Mar 2010 14:44:12 +0000 +Checked in by : Robert Osfield +Updated wrappers -2007-01-02 12:50 robert +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 - * examples/osgcamera/osgcamera.cpp, examples/osgcatch/osgcatch.cpp, - include/osgViewer/GraphicsWindow, - include/osgViewer/GraphicsWindowX11, include/osgViewer/Viewer, - src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/Viewer.cpp: - Added support for getting all windows and hiding the cursor +Wed, 10 Mar 2010 14:28:18 +0000 +Checked in by : Robert Osfield +From Vincent Bourdier, addition of out of memory read result. -2007-01-02 12:19 robert +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 - * examples/osgcatch/osgcatch.cpp: Switched off lighting in - osgcatch. +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. -2007-01-02 12:03 robert +The ReaderWriterOSG2 class now supports all three formats and +reading/writing scene objects (not nodes or images), thanks to +Torben's advice before. +" - * src/osgViewer/View.cpp: Changed default multi-screen setup to set - up for a flat wall configuration -2007-01-02 10:31 robert - * src/osgViewer/Version.cpp: Fixed version function names and - comment strings +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. -2007-01-02 10:11 robert +" - * src/osgViewer/CompositeViewer.cpp: Added missing init() - implementation -2007-01-02 09:54 robert - * VisualStudio/OpenSceneGraph.dsw: Fixed path to osgViewer wrapper +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. -2007-01-01 20:01 robert +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. " - * src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/View.cpp: - Added mouseWarped update +Wed, 10 Mar 2010 12:13:31 +0000 +Checked in by : Robert Osfield +Added tests of various FileNameUtils functions, tests invoked by osgunittests filenames -2007-01-01 18:20 robert +Wed, 10 Mar 2010 12:04:14 +0000 +Checked in by : Robert Osfield +Refactored the find_last_of to simplify it. - * VisualStudio/osgUtil/osgUtil.dsp, - examples/osgcamera/osgcamera.cpp, - examples/osghangglide/GliderManipulator.cpp, - examples/osghangglide/osghangglide.cpp, - examples/osgparametric/osgparametric.cpp, - examples/osgshaderterrain/osgshaderterrain.cpp, - include/osg/AutoTransform, include/osg/Camera, - include/osg/GraphicsContext, include/osg/PrimitiveSet, - include/osg/View, include/osg/Viewport, include/osgGA/EventQueue, - include/osgGA/GUIEventAdapter, include/osgUtil/SceneView, - include/osgUtil/Statistics, include/osgViewer/GraphicsWindowX11, - include/osgViewer/View, include/osgViewer/Viewer, - src/osg/AutoTransform.cpp, src/osg/Camera.cpp, - src/osg/GraphicsContext.cpp, src/osg/View.cpp, - src/osg/Viewport.cpp, src/osgGA/EventQueue.cpp, - src/osgGA/GUIEventAdapter.cpp, - src/osgGA/TrackballManipulator.cpp, - src/osgPlugins/ive/Viewport.cpp, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/osg/Viewport.cpp, src/osgUtil/GNUmakefile, - src/osgUtil/SceneView.cpp, src/osgUtil/Statistics.cpp, - src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: Various work on osgViewer library, - including warp point and graphics window resize support +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." -2006-12-28 08:21 robert +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. - * VisualStudio/osgViewer/osgViewer.dsp: Removed GraphicsWindowProxy +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. -2006-12-28 08:16 robert +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... - * VisualStudio/OpenSceneGraph.dsw, - VisualStudio/osgWrappers/osgViewer/wrapper_osgViewer.dsp, - include/osgViewer/GraphicsWindowProxy, - src/osgWrappers/osgViewer/GNUmakefile, - src/osgWrappers/osgViewer/GraphicsWindowProxy.cpp: Removed - osgViewer::GraphicsWindowProxy as its was causing wrapper compile - problems and also no longer has a key role in osgViewer. -2006-12-27 23:32 robert - * src/osgWrappers/osgDB/ReentrantMutex.cpp: Updated wrappers -2006-12-27 23:19 robert +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)" - * examples/osgcamera/osgcamera.cpp, - examples/osgparticleeffects/GNUmakefile, - include/osgDB/ReentrantMutex, include/osgSim/ElevationSlice, - include/osgSim/HeightAboveTerrain, include/osgSim/LineOfSight, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/GraphicsThread.cpp, - src/osgWrappers/osg/Timer.cpp, - src/osgWrappers/osgDB/ReentrantMutex.cpp, - src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/osgSim/ElevationSlice.cpp, - src/osgWrappers/osgSim/HeightAboveTerrain.cpp, - src/osgWrappers/osgSim/LineOfSight.cpp, - src/osgWrappers/osgViewer/GNUmakefile, - src/osgWrappers/osgViewer/GraphicsWindow.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Updated wrappers - -2006-12-27 23:19 robert - - * include/osgParticle/ParticleSystem, - src/osgParticle/ConnectedParticleSystem.cpp, - src/osgParticle/ParticleProcessor.cpp, - src/osgParticle/ParticleSystemUpdater.cpp: Tweaks from using a - ReadWriteMutex& to a ReadWriteMutex* parameter to avoid - problems with osgIntrospection generation. - -2006-12-27 20:23 robert - - * src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp: Improved - handling of window input ranges for single window apps - -2006-12-27 16:44 robert - - * src/osgProducer/OsgCameraGroup.cpp: 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 - - * include/osgDB/ReentrantMutex, - include/osgParticle/ParticleProcessor, - include/osgParticle/ParticleSystem, - include/osgParticle/ParticleSystemUpdater, - src/osgDB/ReentrantMutex.cpp, - src/osgParticle/ParticleProcessor.cpp, - src/osgParticle/ParticleSystem.cpp, - src/osgParticle/ParticleSystemUpdater.cpp: 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 - - * src/osgProducer/KeyboardMouseCallback.cpp, - src/osgProducer/Viewer.cpp: Updated to reflect changes to - osgGA::EventQueue. - -2006-12-27 15:05 robert - - * VisualStudio/OpenSceneGraph.dsw, - VisualStudio/osgViewer/osgViewer.dsp: Replaced the osgProducer - dependencies by osgViewer for osgcatch and osghangglide examples - -2006-12-27 15:04 robert - - * include/osgViewer/GraphicsWindowCocoa, - include/osgViewer/GraphicsWindowWin32, src/osgViewer/GNUmakefile, - src/osgViewer/GraphicsWindowCocoa.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, src/osgViewer/Viewer.cpp: - Added GraphicsWindowWin32 and GraphicsWindowCocoa classes, - curently not implmented, - but added as a placeholder for members of the community to step - forward and implement. - -2006-12-26 20:26 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 - * examples/osghangglide/GNUmakefile, - examples/osghangglide/GNUmakefile.inst, - examples/osghangglide/GliderManipulator.cpp, - examples/osghangglide/osghangglide.cpp: Ported osghangglider - example to usg osgViewer - -2006-12-26 17:38 robert - - * include/osgViewer/Scene, include/osgViewer/SimpleViewer, - src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/Scene.cpp, - src/osgViewer/SimpleViewer.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: Various tweaks to keep in sync with new - changes to osg::Timer and osgGA::EventQueue - -2006-12-26 17:37 robert - - * include/osgGA/EventQueue, src/osgGA/EventQueue.cpp: Added new - adapter methods to EventQueue to allow the time value of the - event to be specified. - -2006-12-26 17:37 robert - - * include/osg/Timer, src/osg/Timer.cpp: 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-12-26 17:35 robert - - * examples/osgcatch/GNUmakefile, examples/osgcatch/osgcatch.cpp: - Ported osgcatch to use osgViewer - -2006-12-24 16:40 robert - - * examples/osgcamera/osgcamera.cpp, include/osg/GraphicsContext, - include/osg/GraphicsThread, include/osgViewer/GraphicsWindowX11, - src/osg/GraphicsContext.cpp, src/osg/GraphicsThread.cpp, - src/osgUtil/RenderStage.cpp, src/osgViewer/GraphicsWindowX11.cpp, - src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp: 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. +Tue, 9 Mar 2010 15:16:58 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: fixed xcode project again -2006-12-22 21:53 robert +Mon, 8 Mar 2010 10:20:14 +0000 +Checked in by : Robert Osfield +Added extra ffmpeg version check - * examples/osgcamera/osgcamera.cpp, include/osg/GraphicsContext, - src/osg/GraphicsContext.cpp, - src/osgProducer/GraphicsContextImplementation.cpp, - src/osgUtil/RenderStage.cpp, src/osgUtil/SceneView.cpp, - src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/View.cpp: - Added support for sample and sampleBuffers to - osg::GraphicsContext::Traits and - cleaned up the Traits naming - -2006-12-22 21:52 robert - - * include/osgParticle/ParticleProcessor, - include/osgParticle/ParticleSystemUpdater, - src/osgParticle/ParticleProcessor.cpp, - src/osgParticle/ParticleSystemUpdater.cpp: Added mutexes to - ParticleProcessor and ParticleSystemUpdater to improve the thread - safety of osgParticle - -2006-12-22 17:46 robert +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." - * examples/osgcamera/osgcamera.cpp, include/osgViewer/View, - include/osgViewer/Viewer, src/osg/GraphicsContext.cpp, - src/osg/GraphicsThread.cpp, src/osgViewer/GraphicsWindowX11.cpp, - src/osgViewer/Scene.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: Implemented perliminary multi-threading - support in osgViewer::Viewer - -2006-12-22 16:49 robert - - * VisualStudio/OpenSceneGraph.dsw: Replaced osgProducer dependency - by osgViewer +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. -2006-12-22 16:48 robert +The change is based on rev 11161." - * examples/osgunittests/UnitTestFramework.h: Removed now redundent - OSG_EXPORT to solve build problems under Windows -2006-12-22 08:42 robert - - * VisualStudio/osg/osg.dsp: Removed Vec3.cpp and - UnitTestFramework.cpp as these files now live in - examples/osgunittests - -2006-12-21 17:23 robert - - * src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp: Added basic - support for DatabasePager into osgViewer::Viewer - -2006-12-21 16:56 robert - - * examples/osgcamera/osgcamera.cpp, include/osg/GraphicsContext, - include/osg/GraphicsThread, include/osgViewer/Viewer, - src/osg/GraphicsContext.cpp, src/osg/GraphicsThread.cpp, - src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/Scene.cpp, - src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp: 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-12-21 12:24 robert - - * include/osgViewer/GraphicsWindowX11, - src/osgViewer/GraphicsWindowX11.cpp: Cleaned up the includes in - the GraphicsWindowX11 header - -2006-12-21 12:19 robert - - * examples/osgcamera/osgcamera.cpp, - include/osgViewer/GraphicsWindowX11, src/osgViewer/GNUmakefile, - src/osgViewer/GraphicsWindowX11.cpp: Moved the implementation of - GraphicsWindowX11 from the head into the src/osgViewer directory. - -2006-12-21 11:20 robert - - * include/osgViewer/GraphicsWindow, - include/osgViewer/GraphicsWindowX11, src/osgViewer/Viewer.cpp: - Improved the handling of moving the mouse pointer across screens, - and add - grab focus support that honours where the mouse pointer was - originally. - -2006-12-21 09:01 robert - - * src/osgViewer/View.cpp: Removed erroneous double - GraphicsContext:: - -2006-12-21 08:54 robert - - * VisualStudio/examples/osgunittests/osgunittests.dsp: Fixed path - -2006-12-20 21:13 robert - - * examples/osgcamera/osgcamera.cpp, - examples/osgkeyboardmouse/osgkeyboardmouse.cpp, - examples/osgsimpleviewerProducer/osgsimpleviewerProducer.cpp, - include/osgGA/EventQueue, include/osgGA/GUIEventAdapter, - include/osgViewer/GraphicsWindow, - include/osgViewer/GraphicsWindowX11, include/osgViewer/Scene, - include/osgViewer/View, include/osgViewer/Viewer, - src/osgGA/EventQueue.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgViewer/GraphicsWindow.cpp, - src/osgWrappers/osgViewer/Scene.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Further work - osgViewer::Viewer and related classes. - -2006-12-19 17:40 robert - - * src/osgPlugins/dae/daeWMaterials.cpp: 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." - -2006-12-19 17:30 robert - - * src/osgPlugins/ac3d/ac3d.cpp: 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-12-19 17:16 robert - - * include/osg/NodeCallback: From Paul Martz, "minor code comment - cleaup/rewording" -2006-12-19 17:06 robert +Fri, 5 Mar 2010 16:07:12 +0000 +Checked in by : Robert Osfield +Fixed warning - * VisualStudio/examples/osgunittests/osgunittests.dsp, - VisualStudio/osg/osg.dsp, - Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - examples/osgunittests/GNUmakefile, - examples/osgunittests/GNUmakefile.inst, - examples/osgunittests/UnitTestFramework.cpp, - examples/osgunittests/UnitTestFramework.h, - examples/osgunittests/UnitTests_osg.cpp, - examples/osgunittests/osgunittests.cpp, - include/osg/UnitTestFramework, src/osg/GNUmakefile, - src/osg/Matrixd.cpp, src/osg/UnitTestFramework.cpp, - src/osg/Vec3.cpp: Moved UnitTestFramework from core osg lib into - osgunittests example +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. -2006-12-19 16:47 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." - * src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/View.cpp, - src/osgWrappers/osgSim/ElevationSlice.cpp, - src/osgWrappers/osgSim/HeightAboveTerrain.cpp, - src/osgWrappers/osgSim/LineOfSight.cpp, - src/osgWrappers/osgUtil/SceneView.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Updated wrappers +Fri, 5 Mar 2010 15:36:32 +0000 +Checked in by : Robert Osfield +Replaced find_first_of with find -2006-12-19 16:47 robert +Fri, 5 Mar 2010 15:17:26 +0000 +Checked in by : Robert Osfield +Replaced find_first_of with find. - * include/osgViewer/GraphicsWindowX11: Added Copyright notice +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." -2006-12-19 16:45 robert - * include/osgSim/ElevationSlice, include/osgSim/HeightAboveTerrain, - include/osgSim/LineOfSight, src/osgSim/ElevationSlice.cpp, - src/osgSim/HeightAboveTerrain.cpp, src/osgSim/LineOfSight.cpp: - Added support for traversal mask into ElevationSlice, - HeightAboveTerrain and LineOfSight classes -2006-12-19 16:12 robert +Fri, 5 Mar 2010 15:08:03 +0000 +Checked in by : Robert Osfield +Fixes for warning from qt headers - * examples/osgcamera/GNUmakefile, examples/osgcamera/osgcamera.cpp: - Added osgViewer::Viewer / osgViewer::GraphicsWindowsX11 usage. +Fri, 5 Mar 2010 15:07:11 +0000 +Checked in by : Robert Osfield +Removed files that are now part of osgQt -2006-12-19 16:00 robert +Fri, 5 Mar 2010 15:05:28 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project - * include/osg/GraphicsContext, include/osg/View, - include/osgUtil/SceneView, include/osgViewer/GraphicsWindowX11, - include/osgViewer/View, include/osgViewer/Viewer, - src/osg/View.cpp, src/osgUtil/SceneView.cpp, - src/osgViewer/Scene.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: Added initial GraphicsWindowX11 - implementation, and fleshed out more of the - osgViewer and osg::GraphicsContext/osg::View infrastructure. +Fri, 5 Mar 2010 15:04:36 +0000 +Checked in by : Robert Osfield +Fixed warnings -2006-12-17 20:49 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. - * examples/osgcamera/osgcamera.cpp, include/osg/GraphicsContext, - src/osg/GraphicsContext.cpp, - src/osgProducer/GraphicsContextImplementation.cpp, - src/osgWrappers/osg/GraphicsContext.cpp: Added support - WindowingSystemInterface for querring the number of screens, the - screen size and creating GraphicsContexts. -2006-12-15 17:27 robert - * include/osg/CollectOccludersVisitor, include/osg/CullStack, - include/osg/NodeVisitor, include/osgUtil/CullVisitor, - src/osg/CollectOccludersVisitor.cpp, src/osg/CullStack.cpp, - src/osg/LOD.cpp, src/osg/PagedLOD.cpp, src/osg/View.cpp, - src/osgUtil/CullVisitor.cpp, - src/osgWrappers/osg/CollectOccludersVisitor.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp: Added ViewPoint support - into NodeVistor/CullStack/CullVisitor/LOD/PagedLOD etc to - facilate - management of LOD settings for RTT cameras. +Fri, 5 Mar 2010 12:53:08 +0000 +Checked in by : Robert Osfield +Updated version and soversion numbers -2006-12-14 21:15 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" - * src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: From Brede - Johansen, "New option "cloneExternalReferences" for OpenFlight - plugin" -2006-12-14 16:13 robert - * src/osgViewer/SimpleViewer.cpp: 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); " +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 -2006-12-14 14:44 robert - * include/osg/GL: From Andy Skinnder, warning fix -2006-12-13 21:15 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. - * src/osgSim/ElevationSlice.cpp: Removed debug output files +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. -2006-12-13 17:39 robert +Fri, 5 Mar 2010 10:58:47 +0000 +Checked in by : Robert Osfield +Fixed warning - * src/osgSim/ElevationSlice.cpp: Commented out debug messages +Fri, 5 Mar 2010 10:50:50 +0000 +Checked in by : Robert Osfield +Fixed warning -2006-12-13 16:41 robert +Fri, 5 Mar 2010 10:48:34 +0000 +Checked in by : Robert Osfield +Fixed warning - * src/osgSim/ElevationSlice.cpp: Further improvements to handling - of multiple z values +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." -2006-12-12 21:48 robert - * examples/osgintersection/osgintersection.cpp, - src/osgSim/ElevationSlice.cpp: Improvements to handling of - multiple z value regions -2006-12-07 22:20 robert +Thu, 4 Mar 2010 17:01:33 +0000 +Checked in by : Michael PLATINGS +Added BlendFunc for transparent materials - * src/osgSim/ElevationSlice.cpp: Improved the filtering of - overlapping and vertical line segments +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. -2006-12-07 15:48 robert +Thu, 4 Mar 2010 13:03:18 +0000 +Checked in by : Robert Osfield +Fixed warnings - * src/osgSim/LightPointDrawable.h, - src/osgSim/LightPointSpriteDrawable.h: Fixed copyright notice +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). -2006-12-07 10:16 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." - * applications/osgdem/osgdem.cpp, src/osgTerrain/DataSet.cpp: 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, 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. -2006-12-07 10:09 robert - - * src/osgUtil/DelaunayTriangulator.cpp: 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 - - * src/osgPlugins/Inventor/ConvertFromInventor.cpp: From Gerrick - Bivins, fixed newly introduced texture setup bug. - -2006-12-06 21:29 robert - - * src/osgSim/ElevationSlice.cpp: Improved the handling of - overlapping line segments. - -2006-12-06 15:18 robert - - * VisualStudio/osgPlugins/quicktime, - VisualStudio/osgPlugins/quicktime/quicktime.dsp: From Riccardo - Corsi, add VS6.0 project file for new quicktime windows port - -2006-12-06 14:17 robert - - * src/osgPlugins/lws/SceneLoader.cpp: 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. " - -2006-12-05 22:10 robert - - * src/osgWrappers/osgDB/DatabasePager.cpp: Updated wrappers - -2006-12-05 20:30 robert - - * src/osgPlugins/OpenFlight/AttrData.h: Checked in remaining - element from Brede Johansen changes for clmapToEdge reader - option. - -2006-12-05 17:30 robert - - * src/osgPlugins/quicktime/MovieData.cpp, - src/osgPlugins/quicktime/MovieData.h, - src/osgPlugins/quicktime/ReaderWriterQT.cpp: From Stephan Huber, - "minor bugfixes for the quicktime-plugin" - -2006-12-05 17:27 robert - - * src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/Inventor/ConvertFromInventor.h: 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." - -2006-12-05 17:10 robert - - * src/osgPlugins/dae/daeWMaterials.cpp: 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 - - * src/osg/ProxyNode.cpp: 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-12-05 16:29 robert - - * src/osgPlugins/quicktime/MovieData.cpp, - src/osgPlugins/quicktime/MovieData.h, - src/osgPlugins/quicktime/QTUtils.cpp, - src/osgPlugins/quicktime/QTUtils.h, - src/osgPlugins/quicktime/QTtexture.cpp, - src/osgPlugins/quicktime/QTtexture.h, - src/osgPlugins/quicktime/QuicktimeImageStream.cpp, - src/osgPlugins/quicktime/QuicktimeImageStream.h, - src/osgPlugins/quicktime/ReaderWriterQT.cpp: From Stephan Huber - and Riccardo Corsi, port of QuickTime plugin to Windows - -2006-12-05 15:41 robert - - * src/osgPlugins/dxf/dxfBlock.h, src/osgPlugins/dxf/dxfEntity.cpp, - src/osgPlugins/dxf/dxfSection.cpp, - src/osgPlugins/dxf/dxfSection.h: Added use of typedef to help - clean up the readability a little and replaced a copy list with a - reference. - -2006-12-05 15:31 robert - - * src/osgPlugins/dxf/dxfBlock.h, src/osgPlugins/dxf/dxfEntity.cpp, - src/osgPlugins/dxf/dxfEntity.h, - src/osgPlugins/dxf/dxfSection.cpp, - src/osgPlugins/dxf/dxfSection.h, src/osgPlugins/dxf/scene.cpp, - src/osgPlugins/dxf/scene.h: 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." - -2006-12-05 14:58 robert - - * src/osgPlugins/ESRIShape/ESRIShape.cpp: From Chris McGlone, - "PlygonZ copy constructor: added allocation and copying of - zarray" - -2006-12-05 14:50 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: 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." - -2006-12-05 14:28 robert - - * src/osgPlugins/OpenFlight/AttrData.h, - src/osgPlugins/OpenFlight/Document.cpp, - src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: From Brede - Johansen, "added a new reader option to replace the texture - wrap mode CLAMP with CLAMP_TO_EDGE." - -2006-12-05 13:06 robert +Thu, 4 Mar 2010 12:18:04 +0000 +Checked in by : Robert Osfield +Added Export for new osgQt lib - * src/osgWrappers/osg/Plane.cpp, - src/osgWrappers/osgUtil/PlaneIntersector.cpp: Updated wrappers - -2006-12-05 12:58 robert +Thu, 4 Mar 2010 12:15:35 +0000 +Checked in by : Robert Osfield +Moved QWebViewImage and QGraphicsViewAdapter into new osgQt utility library. - * examples/osgintersection/osgintersection.cpp, include/osg/Plane, - include/osgUtil/PlaneIntersector, src/osgSim/ElevationSlice.cpp, - src/osgUtil/PlaneIntersector.cpp: Added more accurate computation - of local height above sea level in the plane intersections - routines +Thu, 4 Mar 2010 12:14:39 +0000 +Checked in by : Robert Osfield +Removed now redundent call to register PagedLODs -2006-12-04 17:31 robert +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 - * examples/osgintersection/osgintersection.cpp, - src/osgSim/ElevationSlice.cpp: Improved the calculation of - distance around the globe within the ElevationSlice routine. +Wed, 3 Mar 2010 17:24:04 +0000 +Checked in by : Robert Osfield +Ran dos2unix of files to fix issues with file endings -2006-12-04 12:36 robert +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. - * examples/osgintersection/osgintersection.cpp, - src/osgSim/ElevationSlice.cpp, src/osgUtil/PlaneIntersector.cpp: - Added preliminary support for generating distance, height lists - for ElevationSlice. +Wed, 3 Mar 2010 16:37:45 +0000 +Checked in by : Robert Osfield +Fixed warning -2006-12-03 12:52 robert +Wed, 3 Mar 2010 16:14:04 +0000 +Checked in by : Michael PLATINGS - * src/osgSim/ElevationSlice.cpp, src/osgUtil/PlaneIntersector.cpp: - Cleaned up debugging info. -2006-12-03 11:44 robert +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?)" - * include/osgUtil/PlaneIntersector, - src/osgUtil/PlaneIntersector.cpp, - src/osgWrappers/osgUtil/PlaneIntersector.cpp: Added copying of - plane to surface intersections in the osgUtil::PlaneIntersector - class, and update wrappers. -2006-12-03 11:09 robert - * VisualStudio/OpenSceneGraph.dsw: Added osgSim to osgintersection - dependency list. +Tue, 2 Mar 2010 18:18:06 +0000 +Checked in by : Michael PLATINGS -2006-12-01 15:19 robert - * examples/osgshadow/osgshadow.cpp: Added support for placing a - base in the scene to shadow against +Mon, 1 Mar 2010 13:10:58 +0000 +Checked in by : Robert Osfield +Updated wrappers -2006-11-30 18:42 robert +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. - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/OccluderGeometry, - src/osgShadow/OccluderGeometry.cpp, - src/osgWrappers/osgShadow/OccluderGeometry.cpp: Fixed typo and - updated wrappers +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. -2006-11-30 18:33 robert +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. - * src/osgShadow/OccluderGeometry.cpp: Improved the edge normal - computation +ConvexPolyhedron.cpp & DebugShadowMap.cpp contain debug HUD tweaks. -2006-11-30 16:55 robert +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. - * Xcode/OpenSceneGraph/osgfadetext-Info.plist, - Xcode/OpenSceneGraph/osgsimpleviewerGLUT-Info.plist, - Xcode/OpenSceneGraph/osgsimpleviewerSDL-Info.plist: Checked in - new .plists' +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). " -2006-11-30 16:30 robert - * examples/osgshadow/osgshadow.cpp, src/osg/ShapeDrawable.cpp, - src/osgShadow/OccluderGeometry.cpp: Basic shadow volume alogirthm - implemented in example. -2006-11-30 12:05 robert +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." - * examples/osgshadow/osgshadow.cpp: Added dynamic updating of light - position and multi-pass addition of ambient and diffuse lighting -2006-11-30 12:04 robert - * src/osgShadow/OccluderGeometry.cpp: Fixed shadow volume geometry - handling of direcitonal lights +Fri, 26 Feb 2010 21:31:13 +0000 +Checked in by : Robert Osfield +Updated wrappers -2006-11-30 10:29 robert +Fri, 26 Feb 2010 16:02:20 +0000 +Checked in by : Robert Osfield +updated wrappers - * examples/osgshadow/osgshadow.cpp: Added movement of the light - source to test performance of update the shadow volumes +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 -2006-11-29 22:00 robert +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. - * src/osgUtil/PlaneIntersector.cpp: Added handling of loops -2006-11-29 21:43 robert - * src/osgUtil/PlaneIntersector.cpp: Added plane to triangle - intersections and segment combining, work still not complete - though. -2006-11-29 20:10 robert +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]; - * src/osgPlugins/rgb/ReaderWriterRGB.cpp: From Per Fahlberg, added - support for writing 16-bit rgb images +This makes it easy to use a capture device without knowing it's name. Attached is the whole file against rev 11044" -2006-11-29 14:33 robert - * src/osgWrappers/osgUtil/PlaneIntersector.cpp, - src/osgWrappers/osgViewer/View.cpp: Updated wrappers -2006-11-29 14:21 robert +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." - * include/osg/View, include/osgUtil/PlaneIntersector, - src/osgSim/LineOfSight.cpp, src/osgUtil/GNUmakefile, - src/osgUtil/LineSegmentIntersector.cpp, - src/osgUtil/PlaneIntersector.cpp: Further work on - PlaneIntersector +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." -2006-11-29 11:00 robert +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. - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Added dummy virtual method implementations -2006-11-29 10:51 robert - * include/osgViewer/View: Cleaned up inheritance -2006-11-29 09:18 robert +Fri, 26 Feb 2010 14:36:23 +0000 +Checked in by : Robert Osfield +Updated wrappers - * VisualStudio/osgUtil/osgUtil.dsp: Ran unix2dos to get rid of unix - line ending +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." -2006-11-28 20:45 robert - * src/osgWrappers/osg/CameraNode.cpp: Still required for backwards - compatibility -2006-11-28 20:37 robert - * src/osgWrappers/osg/View.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Updated wrappers +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. -2006-11-28 20:35 robert +The "else" branch is re-indented but otherwise shouldn't contain any changes." - * include/osgViewer/CompositeViewer, - include/osgViewer/GraphicsWindow, include/osgViewer/View, - include/osgViewer/Viewer, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/GNUmakefile, src/osgViewer/Viewer.cpp: Fixed build - errors in osgViewer +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. -2006-11-28 19:25 robert - * VisualStudio/osgUtil/osgUtil.dsp: From Zach Deedler, added - missing IntersectionVisitor -2006-11-28 16:50 robert - * src/osgWrappers/osgViewer/Export.cpp: Removed redundent wrapper +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. -2006-11-28 16:49 robert +The "else" branch is re-indented but otherwise shouldn't contain any changes." - * VisualStudio/osgWrappers/osg/wrapper_osg.dsp, - VisualStudio/osgWrappers/osgSim/wrapper_osgSim.dsp, - VisualStudio/osgWrappers/osgUtil/wrapper_osgUtil.dsp, - src/osgWrappers/osg/GNUmakefile, src/osgWrappers/osg/Matrixd.cpp, - src/osgWrappers/osg/Matrixf.cpp, src/osgWrappers/osg/Plane.cpp, - src/osgWrappers/osgGA/GUIEventHandler.cpp, - src/osgWrappers/osgSim/ElevationSlice.cpp, - src/osgWrappers/osgSim/GNUmakefile, - src/osgWrappers/osgSim/LineOfSight.cpp, - src/osgWrappers/osgUtil/GNUmakefile, - src/osgWrappers/osgUtil/IntersectionVisitor.cpp, - src/osgWrappers/osgUtil/LineSegmentIntersector.cpp, - src/osgWrappers/osgUtil/PlaneIntersector.cpp, - src/osgWrappers/osgUtil/PolytopeIntersector.cpp: Updated wrappers - -2006-11-28 16:30 robert - - * VisualStudio/osgUtil/osgUtil.dsp, - examples/osgintersection/osgintersection.cpp, - examples/osgkeyboardmouse/osgkeyboardmouse.cpp, - include/osgUtil/IntersectionVisitor, - include/osgUtil/LineSegmentIntersector, - include/osgUtil/PlaneIntersector, - include/osgUtil/PolytopeIntersector, - src/osgSim/ElevationSlice.cpp, src/osgSim/HeightAboveTerrain.cpp, - src/osgSim/LineOfSight.cpp, src/osgUtil/GNUmakefile, - src/osgUtil/IntersectionVisitor.cpp, - src/osgUtil/LineSegmentIntersector.cpp, - src/osgUtil/PlaneIntersector.cpp, - src/osgUtil/PolytopeIntersector.cpp: Moved - osgUtil::PolytopeIntersector, osgUtil::PlaneIntersector and - osgUtil::LineSegmentIntersector out from - include/osgUtil/IntersecionVisitor into their own seperate files. - -2006-11-28 16:00 robert - - * examples/osgintersection/osgintersection.cpp, - examples/osgtexture1D/osgtexture1D.cpp, - examples/osgtexture3D/osgtexture3D.cpp, - examples/osgvolume/osgvolume.cpp, include/osg/Plane, - src/osg/TexGen.cpp, src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/IveVersion.h, src/osgPlugins/osg/TexGen.cpp, - src/osgSim/ElevationSlice.cpp, src/osgText/FadeText.cpp, - src/osgUtil/IntersectionVisitor.cpp: 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 - -2006-11-28 11:10 robert - - * src/osgUtil/RenderStage.cpp: 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-11-28 10:31 robert - - * src/osgPlugins/dae/daeReader.h, src/osgPlugins/dae/daeUtils.h, - src/osgPlugins/dae/daeWriter.h: Removed the now redundent - dateUtils.h file. - -2006-11-28 09:14 robert - - * src/osgPlugins/ive/Camera.h, src/osgPlugins/ive/CameraNode.h: - Added missing Camera.h and removed redundent CameraNode.h - -2006-11-27 20:25 robert - - * VisualStudio/osgSim/osgSim.dsp, include/osgSim/ElevationSlice, - include/osgUtil/IntersectionVisitor, - src/osgSim/ElevationSlice.cpp, src/osgSim/GNUmakefile, - src/osgUtil/IntersectionVisitor.cpp: Added beginnings of - osgUtil::PlaneIntersector and osgSim::ElevationSlice - -2006-11-27 16:25 robert - - * examples/osgsimpleviewerQT3/osgsimpleviewerQT3.cpp, - examples/osgsimpleviewerQT4/osgsimpleviewerQT4.cpp: Added QWidget - style constructor parameters - -2006-11-27 14:52 robert - - * VisualStudio/highlight70.reg, VisualStudio/highlight71.reg, - VisualStudio/highlight80.reg, VisualStudio/osg/osg.dsp, - VisualStudio/osgPlugins/ive/ive.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, - VisualStudio/osgViewer/osgViewer.dsp, - VisualStudio/osgWrappers/osg/wrapper_osg.dsp, - VisualStudio/osgWrappers/osgViewer/wrapper_osgViewer.dsp, - Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/XcodeTemplates/OSG Application/osgApp_Prefix.pch, - examples/osgcamera/osgcamera.cpp, - examples/osgdepthpartition/DepthPartitionNode.cpp, - examples/osgdepthpartition/DepthPartitionNode.h, - examples/osgdepthpartition/DistanceAccumulator.cpp, - examples/osgdepthshadow/osgdepthshadow.cpp, - examples/osgdistortion/osgdistortion.cpp, - examples/osghud/osghud.cpp, - examples/osgmultiplecameras/osgmultiplecameras.cpp, - examples/osgpick/osgpick.cpp, - examples/osgprerender/osgprerender.cpp, - examples/osgprerendercubemap/osgprerendercubemap.cpp, - examples/osgshadowtexture/CreateShadowedScene.cpp, - examples/osgtext/osgtext.cpp, include/osg/Camera, - include/osg/CameraNode, include/osg/FrameBufferObject, - include/osg/NodeVisitor, include/osg/Transform, include/osg/View, - include/osgShadow/ParallelSplitShadowMap, - include/osgShadow/ShadowMap, include/osgShadow/ShadowTechnique, - include/osgShadow/ShadowTexture, include/osgShadow/ShadowVolume, - include/osgShadow/ShadowedScene, include/osgSim/ImpostorSprite, - include/osgSim/OverlayNode, include/osgUtil/CullVisitor, - include/osgUtil/IntersectVisitor, - include/osgUtil/IntersectionVisitor, include/osgUtil/RenderStage, - include/osgUtil/SceneView, include/osgViewer/CompositeViewer, - include/osgViewer/GraphicsWindowProxy, include/osgViewer/Scene, - include/osgViewer/SimpleViewer, include/osgViewer/View, - include/osgViewer/Viewer, src/osg/AnimationPath.cpp, - src/osg/Camera.cpp, src/osg/CameraNode.cpp, - src/osg/FrameBufferObject.cpp, src/osg/GNUmakefile, - src/osg/Node.cpp, src/osg/NodeTrackerCallback.cpp, - src/osg/Transform.cpp, src/osg/View.cpp, - src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/dae/daeWSceneObjects.cpp, - src/osgPlugins/dae/daeWriter.h, src/osgPlugins/ive/Camera.cpp, - src/osgPlugins/ive/CameraNode.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/osg/Camera.cpp, src/osgPlugins/osg/CameraNode.cpp, - src/osgPlugins/osg/GNUmakefile, - src/osgProducer/OsgCameraGroup.cpp, src/osgProducer/Viewer.cpp, - src/osgSim/Impostor.cpp, src/osgSim/OverlayNode.cpp, - src/osgText/FadeText.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/IntersectVisitor.cpp, - src/osgUtil/IntersectionVisitor.cpp, src/osgUtil/RenderStage.cpp, - src/osgUtil/SceneView.cpp, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/GNUmakefile, src/osgViewer/Scene.cpp, - src/osgViewer/SimpleViewer.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/CameraNode.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osg/GNUmakefile, src/osgWrappers/osg/Matrixd.cpp, - src/osgWrappers/osg/Matrixf.cpp, - src/osgWrappers/osg/NodeTrackerCallback.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osg/Plane.cpp, src/osgWrappers/osg/View.cpp, - src/osgWrappers/osgGA/GUIEventHandler.cpp, - src/osgWrappers/osgProducer/GNUmakefile, - src/osgWrappers/osgShadow/OccluderGeometry.cpp, - src/osgWrappers/osgSim/ImpostorSprite.cpp, - src/osgWrappers/osgSim/OverlayNode.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgUtil/IntersectionVisitor.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp, - src/osgWrappers/osgUtil/SceneView.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/GNUmakefile, - src/osgWrappers/osgViewer/GraphicsWindowProxy.cpp, - src/osgWrappers/osgViewer/Scene.cpp, - src/osgWrappers/osgViewer/SimpleViewer.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Renamed osg::CameraNode to - osg::Camera, cleaned up osg::View. - - Added beginnings of new - osgViewer::Scene,View,Viewer,CompositeViewer and - GraphicsWindowProxy files. - -2006-11-27 11:25 robert - - * include/osgUtil/RenderStage, src/osgUtil/RenderStage.cpp: From - Mauricio Hofmam, added support for reading images from all - osg::CameraNode attachments in RenderStage. - -2006-11-27 09:23 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: 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." - -2006-11-26 22:27 robert - - * include/osg/observer_ptr: 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. - -2006-11-26 14:17 robert - - * include/osgUtil/Optimizer: Missed check of changes to the - RemoveRedundentNodesVisitor - -2006-11-24 21:19 robert - - * src/osgUtil/Optimizer.cpp: 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 - - * include/osg/Matrixd, include/osg/Matrixf: Added isIdentity() - method - -2006-11-24 17:20 robert - - * examples/osgshadow/osgshadow.cpp, include/osg/Plane, - src/osgShadow/OccluderGeometry.cpp: Improved handling of bounding - polytope - -2006-11-24 11:37 robert - - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/OccluderGeometry, - src/osgShadow/OccluderGeometry.cpp: Added support for positional - lights into computeShadowVolumeGeometry code and cleaned up - OccluderGeometry interface. - -2006-11-23 21:32 robert - - * include/osgShadow/OccluderGeometry, - src/osgShadow/OccluderGeometry.cpp: Improved the - ShadowVolumeGeometry orientations. - -2006-11-23 17:29 robert - - * examples/osgshadow/osgshadow.cpp: Add compute of tight bounding - box to enable better placement of the base plane. - -2006-11-23 16:55 robert - - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/OccluderGeometry, - src/osgShadow/OccluderGeometry.cpp: First cut at generating the - ShadowVolumeGeometry - -2006-11-23 11:22 robert - - * include/osgShadow/OccluderGeometry, - src/osgShadow/OccluderGeometry.cpp: Added basic silhoette - detection - -2006-11-22 21:11 robert - - * src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeWGeometry.cpp, - src/osgPlugins/dae/daeWMaterials.cpp, - src/osgPlugins/dae/daeWriter.cpp, src/osgPlugins/dae/daeWriter.h: - From Roger James, "fixes mostly related to texture handling." - -2006-11-22 21:09 robert - - * VisualStudio/osgShell.bat: From Paul Martz, add OSG_FILE_PATH to - end of setting of OSG_FILE_PATH to preserve any previous settings - -2006-11-22 20:52 robert - - * applications/osgdem/osgdem.cpp: 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. -2006-11-22 20:47 robert - * src/osgPlugins/dxf/dxfEntity.cpp: 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." -2006-11-22 20:39 robert +Fri, 26 Feb 2010 09:40:11 +0000 +Checked in by : Robert Osfield +From Chris Hanson, comment fix - * include/osg/TexMat: From Farshid Lashkari, Added missing - initialization of the _scaleByTextureRectangleSize - variable in two of its constructors. +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." -2006-11-22 15:38 robert +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." - * include/osgShadow/OccluderGeometry, - src/osgShadow/OccluderGeometry.cpp: Added removeNullTriangles() - method to help removed triangles with coincedent corners. -2006-11-22 09:10 robert - * src/osgWrappers/osgSim/HeightAboveTerrain.cpp, - src/osgWrappers/osgSim/LineOfSight.cpp: Added new - HeightAboveTerrain.cpp LineOfSight.cpp wrapper files -2006-11-21 16:59 robert +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." - * include/osgShadow/OccluderGeometry, - src/osgShadow/OccluderGeometry.cpp: Added compute and - visualization of triangle and vertex normals +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). -2006-11-21 16:59 robert +Line wrapping looks a lot better now with no more lone periods +appearing at the beginning of lines. - * src/osg/State.cpp: Replaced the setTextureUnit(0) call in - State::reset() with code that just - sets the member variables without requiring a graphics context. +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. -2006-11-21 16:16 robert +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." - * include/osgShadow/OccluderGeometry, - src/osgShadow/OccluderGeometry.cpp: Added removeDuplicates - function -2006-11-21 16:15 robert - * include/osgViewer/SimpleViewer: Reordered methods to make - associated functions clearer. +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: -2006-11-21 14:42 robert +-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 ); + } - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/osgviewer-Info.plist, - Xcode/OpenSceneGraph/osgviewerApplication-Info.plist: 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. +-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) -2006-11-20 21:48 robert +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." - * examples/osgsimpleviewerCocoa/English.lproj/MainMenu.nib, - examples/osgsimpleviewerCocoa/English.lproj/MainMenu.nib/classes.nib, - examples/osgsimpleviewerCocoa/English.lproj/MainMenu.nib/info.nib, - examples/osgsimpleviewerCocoa/English.lproj/MainMenu.nib/keyedobjects.nib: - Added nested files -2006-11-20 12:25 robert - * examples/osgfadetext/GNUmakefile: Added -losgFX +Thu, 25 Feb 2010 18:03:14 +0000 +Checked in by : Robert Osfield +From Chris Hanson, comment fix. -2006-11-20 10:12 robert +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" - * LICENSE.txt: Added missing LGPL section to LICENSE.txt +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." -2006-11-17 20:45 robert +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. +" - * include/osg/PointSprite: Rearranged the #ifdef's to prevent - compile problems under NVidia 2.1 OGL drivers -2006-11-17 16:25 robert - * Xcode/OSX_OSG_README.rtf, - Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Eric Wing, updates to Xcode projects +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)." -2006-11-17 16:22 robert - * examples/osgsimpleviewerCocoa, - examples/osgsimpleviewerCocoa/English.lproj, - examples/osgsimpleviewerCocoa/English.lproj/InfoPlist.strings, - examples/osgsimpleviewerCocoa/Info.plist, - examples/osgsimpleviewerCocoa/SimpleViewerCocoa.h, - examples/osgsimpleviewerCocoa/SimpleViewerCocoa.mm, - examples/osgsimpleviewerCocoa/main.m: From Eric Wing, new - ogsimpleviewCocoa example. -2006-11-17 14:51 robert - * src/osgPlugins/ive/PointSprite.cpp, - src/osgPlugins/ive/PointSprite.h: Added missing PointSprite files +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." -2006-11-16 17:35 robert +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. " - * src/osgPlugins/osg/PointSprite.cpp: From Farshid Lashkari, - "Attached is a patch that adds the new coordOriginMode to the - .osg - reader/writer for PointSprites." +Wed, 24 Feb 2010 10:52:51 +0000 +Checked in by : Michael PLATINGS -2006-11-16 16:42 robert - * VisualStudio/osgPlugins/ive/ive.dsp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/ive/ReadWrite.h: - From Frashid Lashkari, added support for PointSprites to .ive +Wed, 24 Feb 2010 10:25:50 +0000 +Checked in by : Michael PLATINGS -2006-11-16 16:25 robert - * src/osg/Geometry.cpp: From Michael Platings, Fixed Geometry - cloning of the texture - coordinates and vertex attributes. +Wed, 24 Feb 2010 10:12:11 +0000 +Checked in by : Michael PLATINGS -2006-11-15 20:29 robert - * examples/osgvolume/osgvolume.cpp: Added alpha test setting +Wed, 24 Feb 2010 10:02:14 +0000 +Checked in by : Michael PLATINGS -2006-11-15 20:24 robert - * include/osgGA/EventQueue: Fixed comment +Mon, 22 Feb 2010 17:41:35 +0000 +Checked in by : Robert Osfield +Added an empty() method -2006-11-15 20:23 robert +Mon, 22 Feb 2010 10:43:22 +0000 +Checked in by : Robert Osfield +Updated authors file - * src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgProducer/GNUmakefile: Updated wrappers +Mon, 22 Feb 2010 10:36:55 +0000 +Checked in by : Robert Osfield +Updated wrappers -2006-11-15 11:21 robert +Mon, 22 Feb 2010 10:10:08 +0000 +Checked in by : Robert Osfield +Fixed STDINT_INCLUDE path - * examples/osgsimpleviewerSDL/osgsimpleviewerSDL.cpp: From Eric - Wing, add version check for use of automatic resizeing +Mon, 22 Feb 2010 09:50:37 +0000 +Checked in by : Robert Osfield +From Trajce Nicklov, fixes to warnings -2006-11-15 10:08 robert +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 - * src/osgPlugins/ac3d/ac3d.cpp: From Mathias Froehlich, replaced - assert with notify() error message. +Mon, 22 Feb 2010 08:39:33 +0000 +Checked in by : Robert Osfield +Added missing _ptr = rp._ptr to constructor. -2006-11-14 19:29 robert +Sat, 20 Feb 2010 17:36:55 +0000 +Checked in by : Robert Osfield +Converted View across to use ObserverNodePath. - * src/osgPlugins/rgb/ReaderWriterRGB.cpp: Added note about license - or file, and link to specs. +Fri, 19 Feb 2010 21:03:33 +0000 +Checked in by : Robert Osfield +Build fixes for GLES2 -2006-11-14 19:19 robert +Fri, 19 Feb 2010 20:58:46 +0000 +Checked in by : Robert Osfield +Fixed GLES1/GLES2 build - * VisualStudio/osgPlugins/ac3d/ac3d.dsp, - src/osgPlugins/ac3d/osgac3d.h: Removed redundent osgac3.h file. +Fri, 19 Feb 2010 20:43:58 +0000 +Checked in by : Robert Osfield +Added include of osg/FrameBufferObject to fix GLES1/GLES2 build issue -2006-11-14 19:19 robert +Fri, 19 Feb 2010 20:40:41 +0000 +Checked in by : Robert Osfield +Build fix for GLES1 and GLES2 - * src/osgPlugins/ac3d/ac3d.cpp: From Mathias Fröhlich, fixed order - of setting of texture image. +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. -2006-11-14 17:24 robert +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 - * src/osgWrappers/osg/Drawable.cpp, src/osgWrappers/osg/Geode.cpp, - src/osgWrappers/osg/Material.cpp, src/osgWrappers/osg/Point.cpp, - src/osgWrappers/osg/PointSprite.cpp, - src/osgWrappers/osg/Sequence.cpp, - src/osgWrappers/osgShadow/Export.cpp, - src/osgWrappers/osgShadow/OccluderGeometry.cpp, - src/osgWrappers/osgShadow/ShadowMap.cpp, - src/osgWrappers/osgShadow/ShadowTexture.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp: Updated wrappers +Fri, 19 Feb 2010 20:11:14 +0000 +Checked in by : Robert Osfield +Added #include , convert osg::notify usage to OSG_NOTICE -2006-11-14 16:59 robert +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. - * examples/osgsimpleviewerSDL/osgsimpleviewerSDL.cpp: 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. +Fri, 19 Feb 2010 19:00:48 +0000 +Checked in by : Robert Osfield +Updated wrappers -2006-11-14 16:37 robert +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 - * src/osgPlugins/ac3d/Exception.h, src/osgPlugins/ac3d/Geode.cpp, - src/osgPlugins/ac3d/Geode.h, src/osgPlugins/ac3d/ac3d.cpp: 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." +Fri, 19 Feb 2010 16:04:33 +0000 +Checked in by : Robert Osfield +Added mutex lock to destructor. -2006-11-14 15:06 robert +Fri, 19 Feb 2010 15:41:42 +0000 +Checked in by : Robert Osfield +Replaced local mutex with getObserverMutex(). - * VisualStudio/OpenSceneGraph.dsw: Added osgViewer depdendency to - osgintersection, osgGLUT* examples +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." -2006-11-14 12:55 robert +Fri, 19 Feb 2010 14:05:49 +0000 +Checked in by : Robert Osfield +Removed no longer defined methods and updated wrappers - * src/osgTerrain/DataSet.cpp: 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-11-14 12:51 robert - - * include/osg/Drawable, include/osg/Geode, include/osg/Material, - include/osgParticle/PrecipitationEffect, - include/osgUtil/GLObjectsVisitor, src/osg/Drawable.cpp, - src/osg/Geode.cpp, src/osgDB/DatabasePager.cpp, - src/osgParticle/ConnectedParticleSystem.cpp, - src/osgParticle/PrecipitationEffect.cpp, - src/osgUtil/GLObjectsVisitor.cpp: Further migration to using - RenderInfo - -2006-11-14 12:49 robert - - * src/osgUtil/Optimizer.cpp: 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 - - * include/osg/Point, include/osg/PointSprite, src/osg/Point.cpp, - src/osg/PointSprite.cpp: 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 - - * examples/osgshadow/osgshadow.cpp, - src/osgShadow/OccluderGeometry.cpp: Added support for handling - osg::ShapeDrawable style drawables in OccluderGeoemtry. - -2006-11-14 09:54 robert - - * src/osgViewer/SimpleViewer.cpp: Added check against null - SceneData to prevent crash with empty models - -2006-11-11 21:30 robert - - * src/osgShadow/OccluderGeometry.cpp: Further work on - OccluderGeometry - -2006-11-10 15:25 robert - - * include/osg/Sequence, src/osg/Sequence.cpp: From John Kelso, add - support for default frame time for children of a Sequence node - -2006-11-10 15:07 robert - - * examples/osgshadow/osgshadow.cpp, include/osg/Material, - include/osgShadow/OccluderGeometry, - src/osgShadow/OccluderGeometry.cpp: Further work on - osgShadow::GeometryOccluder - -2006-11-08 11:49 robert - - * include/osgText/Text, src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgText/Text.cpp: Updated wrappers - -2006-11-08 10:00 robert - - * Xcode/Misc/Tar_Xcode.sh, - Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/osgViewer-Info.plist: From Eric Wing, - updates to Xcode project for new osgViewer library - -2006-11-08 09:50 robert +Fri, 19 Feb 2010 09:32:15 +0000 +Checked in by : Robert Osfield +Updated contributors list for 2.9.7 release - * examples/osgGLUTkeyboardmouse/GNUmakefile, - examples/osgGLUTkeyboardmouse/GNUmakefile.inst, - examples/osgGLUTkeyboardmouse/osgGLUTkeyboardmouse.cpp, - examples/osgGLUTsimple/GNUmakefile, - examples/osgGLUTsimple/GNUmakefile.inst, - examples/osgGLUTsimple/osgGLUTsimple.cpp: From Eric Wing, change - osgGA::SimpleViewer to osgViewer::Viewer. - From Robert Osfield, added -losgViewer & -losgGA to makefiles. +Fri, 19 Feb 2010 09:21:00 +0000 +Checked in by : Robert Osfield +Updated ChangeLog -2006-11-07 17:00 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. - * applications/osgconv/osgconv.cpp, include/osgDB/ReaderWriter, - include/osgDB/Registry, src/osgDB/Registry.cpp: Added better - handling of writeNode operations that arn't successful. +Thu, 18 Feb 2010 22:53:15 +0000 +Checked in by : Robert Osfield +Added newline. -2006-11-07 17:00 robert +Thu, 18 Feb 2010 22:20:11 +0000 +Checked in by : Robert Osfield +From Mourad Boufarguine, fixed typo. - * src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: Fixed the - writeNode function so it was properly return FILE_NOT_HANDLED, - fixing - a big with it writing out an empty .flt file. +Thu, 18 Feb 2010 22:17:50 +0000 +Checked in by : Robert Osfield +Updated wrappers -2006-11-07 14:26 robert +Thu, 18 Feb 2010 22:17:35 +0000 +Checked in by : Robert Osfield +Updated wrappers - * VisualStudio/osgWrappers/osgShadow/wrapper_osgShadow.dsp, - src/osgWrappers/osg/Texture1D.cpp, - src/osgWrappers/osg/Texture2D.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/TextureRectangle.cpp, - src/osgWrappers/osgParticle/ConnectedParticleSystem.cpp, - src/osgWrappers/osgText/Font.cpp: Updated wrappers +Thu, 18 Feb 2010 21:24:42 +0000 +Checked in by : Robert Osfield +Updated version number of OpenThreads to reflect recent changes -2006-11-07 13:48 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. - * include/osgParticle/ConnectedParticleSystem, - src/osgParticle/ConnectedParticleSystem.cpp: 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. +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. -2006-11-07 13:43 robert - * VisualStudio/osgShadow/osgShadow.dsp, - include/osgShadow/OccluderGeometry, src/osgShadow/GNUmakefile, - src/osgShadow/OccluderGeometry.cpp, - src/osgShadow/ShadowedScene.cpp: Added initial cut of - osgShadow::OccluderGeometry -2006-11-07 13:26 robert - * src/osgPlugins/rgb/ReaderWriterRGB.cpp: Changed debug output from - NOTICE to INFO +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 -2006-11-07 13:00 robert - * src/osgUtil/CullVisitor.cpp: From Tery Welsh, added support for - inheriting all CameraNode CullSettings and then restoring the - original values. - -2006-11-07 12:08 robert - - * src/osgPlugins/rgb/ReaderWriterRGB.cpp: Removed debug comment. - -2006-11-07 12:02 robert - - * src/osgPlugins/rgb/ReaderWriterRGB.cpp: From Mathias Froehlich, - workaround fix for problematic run length encoded RGB files. - Robert Osfield ammend workaround to support multi-byte colour - channels. - -2006-11-06 13:22 robert - - * src/osgGA/EventQueue.cpp, src/osgGA/StateSetManipulator.cpp: - 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" - -2006-11-03 14:07 robert - - * Make/makedirdefs: Added osgViewer library to build list - -2006-11-02 18:58 robert - - * src/osgWrappers/osgUtil/IntersectionVisitor.cpp: Added - IntersectionVisitor to wrappers - -2006-11-02 17:07 robert - - * VisualStudio/osgUtil/osgUtil.dsp: Added IntersectionVisitor to - osgUtil project - -2006-11-02 17:05 robert - - * examples/osgkeyboardmouse/osgkeyboardmouse.cpp, - include/osgUtil/IntersectionVisitor, - src/osgUtil/IntersectionVisitor.cpp: Added convinience - constructors to help support picking with the new - osgUtil::Intersector classes. - -2006-11-02 15:50 robert - - * examples/osgkeyboardmouse/osgkeyboardmouse.cpp, - src/osgUtil/IntersectionVisitor.cpp: Added basic - PolytopeIntersector functionality based on checking vertices - against - polytopes. - -2006-11-02 15:40 robert - - * VisualStudio/OpenSceneGraph.dsw, - VisualStudio/applications/osgviewer/osgviewer.dsp, - VisualStudio/applications/osgviewer/osgviewerapplication.dsp: - Renamed osgviewer.dsp to osgviewerapplication.dsp and fixed - directory name of osgsimpleviewerProducer - -2006-11-02 15:22 robert - - * include/osg/Polytope: Fixed bug in Polytope::contains(const - std::vector& vertices) which resulted - in false positives. - -2006-11-02 12:32 robert - - * VisualStudio/osgWrappers/osgGA/wrapper_osgGA.dsp, - VisualStudio/osgWrappers/osgSim/wrapper_osgSim.dsp, - VisualStudio/osgWrappers/osgViewer, - VisualStudio/osgWrappers/osgViewer/wrapper_osgViewer.dsp, - src/osgWrappers/osgGA/GNUmakefile, - src/osgWrappers/osgGA/GraphicsWindow.cpp, - src/osgWrappers/osgGA/SimpleViewer.cpp, - src/osgWrappers/osgProducer/Viewer.cpp, - src/osgWrappers/osgSim/GNUmakefile, src/osgWrappers/osgViewer, - src/osgWrappers/osgViewer/Export.cpp, - src/osgWrappers/osgViewer/GNUmakefile, - src/osgWrappers/osgViewer/GraphicsWindow.cpp, - src/osgWrappers/osgViewer/SimpleViewer.cpp: Updated wrappers - -2006-11-02 12:27 robert - - * VisualStudio/OpenSceneGraph.dsw, VisualStudio/osgGA/osgGA.dsp, - VisualStudio/osgViewer, VisualStudio/osgViewer/osgViewer.dsp, - examples/osgkeyboardmouse/GNUmakefile, - examples/osgkeyboardmouse/GNUmakefile.inst, - examples/osgkeyboardmouse/osgkeyboardmouse.cpp, - examples/osgsimple/GNUmakefile, - examples/osgsimple/GNUmakefile.inst, - examples/osgsimple/osgsimple.cpp, - examples/osgsimpleviewerFLTK/GNUmakefile, - examples/osgsimpleviewerFLTK/GNUmakefile.inst, - examples/osgsimpleviewerFLTK/osgsimpleviewerFLTK.cpp, - examples/osgsimpleviewerGLUT/GNUmakefile, - examples/osgsimpleviewerGLUT/GNUmakefile.inst, - examples/osgsimpleviewerGLUT/osgsimpleviewerGLUT.cpp, - examples/osgsimpleviewerProducer/GNUmakefile, - examples/osgsimpleviewerProducer/GNUmakefile.inst, - examples/osgsimpleviewerProducer/osgsimpleviewerProducer.cpp, - examples/osgsimpleviewerQT3/GNUmakefile, - examples/osgsimpleviewerQT3/GNUmakefile.inst, - examples/osgsimpleviewerQT3/osgsimpleviewerQT3.cpp, - examples/osgsimpleviewerQT4/GNUmakefile, - examples/osgsimpleviewerQT4/GNUmakefile.inst, - examples/osgsimpleviewerQT4/osgsimpleviewerQT4.cpp, - examples/osgsimpleviewerSDL/GNUmakefile, - examples/osgsimpleviewerSDL/GNUmakefile.inst, - examples/osgsimpleviewerSDL/osgsimpleviewerSDL.cpp, - include/osgGA/GraphicsWindow, include/osgGA/SimpleViewer, - include/osgViewer, include/osgViewer/Export, - include/osgViewer/GraphicsWindow, include/osgViewer/SimpleViewer, - include/osgViewer/Version, src/osgGA/GNUmakefile, - src/osgGA/SimpleViewer.cpp, src/osgViewer, - src/osgViewer/GNUmakefile, src/osgViewer/SimpleViewer.cpp, - src/osgViewer/Version.cpp: Moved SimpleViewer and GraphicsWindow - into their own osgViewer library, updated simpleviewer examples - to reflect this change - -2006-11-02 12:17 robert - - * include/osgUtil/IntersectionVisitor, - src/osgUtil/IntersectionVisitor.cpp: Added prelimnary work on - PolytopeIntersector. - -2006-11-01 17:18 robert - - * examples/osgkeyboardmouse/osgkeyboardmouse.cpp, - include/osgUtil/IntersectionVisitor, - src/osgUtil/IntersectionVisitor.cpp: Improved handling of - projected coords in new intersection classes - -2006-11-01 14:41 robert - - * examples/osgkeyboardmouse/osgkeyboardmouse.cpp, - include/osgUtil/IntersectionVisitor, - src/osgUtil/IntersectionVisitor.cpp: Added support for - osgUtil::Intersectors being in WINDOW, PROJECTION, VIEW or MODEL - coordinates - -2006-10-31 12:59 robert - - * examples/osgintersection/osgintersection.cpp, - include/osgSim/HeightAboveTerrain, include/osgSim/LineOfSight, - src/osgSim/HeightAboveTerrain.cpp, src/osgSim/LineOfSight.cpp: - Implemented HeightAboveTerrain and added usage into - osgintersection - -2006-10-31 08:41 robert - - * include/osgSim/HeightAboveTerrain, include/osgSim/LineOfSight, - src/osgSim/HeightAboveTerrain.cpp, src/osgSim/LineOfSight.cpp: - Added LineOfSight and HeightAboveTerrain classes - -2006-10-30 20:29 robert - - * VisualStudio/osgSim/osgSim.dsp, - examples/osgintersection/GNUmakefile, - examples/osgintersection/osgintersection.cpp, - include/osgUtil/IntersectionVisitor, src/osgSim/GNUmakefile, - src/osgUtil/IntersectionVisitor.cpp: Added osgSim::LineOfSight - and osgSim::HeightAboveTerrain classes - -2006-10-30 12:39 robert - - * VisualStudio/osgWrappers/osgUtil/wrapper_osgUtil.dsp, - src/osgWrappers/osgUtil/GNUmakefile: Updated wrappers - -2006-10-30 12:28 robert - - * src/osgPlugins/md2/ReaderWriterMD2.cpp: 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..." - -2006-10-30 12:23 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: 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." - -2006-10-30 12:19 robert - - * include/osgSim/OverlayNode, src/osgSim/OverlayNode.cpp: 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." - -2006-10-30 12:14 robert - - * src/osg/Switch.cpp: 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." - - ----------------------------------------------- - -2006-10-30 12:05 robert - - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: 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 - - * VisualStudio/examples/osgsimpleviewerQT4/osgsimpleviewerQT4.dsp: - From Mathieu Marache, fixed osgsimpleviewerQt4 so that it uses - the correction options - -2006-10-30 11:00 robert - - * src/osgUtil/Optimizer.cpp: Added handling of geometry indices - offset when merging geometries with indices - -2006-10-27 15:11 robert - - * examples/osgintersection/osgintersection.cpp, - include/osgUtil/IntersectionVisitor, - src/osgUtil/IntersectionVisitor.cpp: Added - osgUtil::IntersectorGroup to handle groups of - osgUtil::Intersectors - -2006-10-26 16:52 robert - - * src/osgPlugins/dae/daeRMaterials.cpp: From Andrew Lorino and - Robert Osfield, Improvements to the handling of texture paths - -2006-10-26 16:03 robert - - * Make/makedirdefs, VisualStudio/OpenSceneGraph.dsw, - VisualStudio/examples/osgintersection, - VisualStudio/examples/osgintersection/osgintersection.dsp, - examples/osgintersection, examples/osgintersection/GNUmakefile, - examples/osgintersection/GNUmakefile.inst, - examples/osgintersection/osgintersection.cpp, - include/osgUtil/IntersectionVisitor, src/osgUtil/GNUmakefile, - src/osgUtil/IntersectionVisitor.cpp: Added beginings of new - osgUtil::IntersectionVisitor and osgintersection class - -2006-10-26 16:02 robert - - * src/osgWrappers/osgText/FadeText.cpp, - src/osgWrappers/osgUtil/SceneView.cpp: Updatd wrappers - -2006-10-24 16:24 robert - - * include/osgUtil/SceneView: Tweaked doxygen docs. - -2006-10-24 09:45 robert - - * VisualStudio/osgWrappers/osgGA/wrapper_osgGA.dsp, - src/osgWrappers/osg/AlphaFunc.cpp, - src/osgWrappers/osg/AnimationPath.cpp, - src/osgWrappers/osg/ApplicationUsage.cpp, - src/osgWrappers/osg/ArgumentParser.cpp, - src/osgWrappers/osg/Array.cpp, - src/osgWrappers/osg/AutoTransform.cpp, - src/osgWrappers/osg/Billboard.cpp, - src/osgWrappers/osg/BlendColor.cpp, - src/osgWrappers/osg/BlendEquation.cpp, - src/osgWrappers/osg/BlendFunc.cpp, - src/osgWrappers/osg/BoundingBox.cpp, - src/osgWrappers/osg/BoundingSphere.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/CameraNode.cpp, - src/osgWrappers/osg/CameraView.cpp, - src/osgWrappers/osg/ClampColor.cpp, - src/osgWrappers/osg/ClearNode.cpp, - src/osgWrappers/osg/ClipNode.cpp, - src/osgWrappers/osg/ClipPlane.cpp, - src/osgWrappers/osg/ClusterCullingCallback.cpp, - src/osgWrappers/osg/CollectOccludersVisitor.cpp, - src/osgWrappers/osg/ColorMask.cpp, - src/osgWrappers/osg/ColorMatrix.cpp, - src/osgWrappers/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/osg/ConvexPlanarPolygon.cpp, - src/osgWrappers/osg/CoordinateSystemNode.cpp, - src/osgWrappers/osg/CopyOp.cpp, src/osgWrappers/osg/CullFace.cpp, - src/osgWrappers/osg/CullSettings.cpp, - src/osgWrappers/osg/CullingSet.cpp, - src/osgWrappers/osg/Depth.cpp, - src/osgWrappers/osg/DisplaySettings.cpp, - src/osgWrappers/osg/DrawPixels.cpp, - src/osgWrappers/osg/Drawable.cpp, src/osgWrappers/osg/Fog.cpp, - src/osgWrappers/osg/FragmentProgram.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osg/FrameStamp.cpp, - src/osgWrappers/osg/FrontFace.cpp, - src/osgWrappers/osg/GL2Extensions.cpp, - src/osgWrappers/osg/Geode.cpp, src/osgWrappers/osg/Geometry.cpp, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/GraphicsThread.cpp, - src/osgWrappers/osg/Group.cpp, src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/ImageStream.cpp, src/osgWrappers/osg/LOD.cpp, - src/osgWrappers/osg/Light.cpp, - src/osgWrappers/osg/LightModel.cpp, - src/osgWrappers/osg/LightSource.cpp, - src/osgWrappers/osg/LineSegment.cpp, - src/osgWrappers/osg/LineStipple.cpp, - src/osgWrappers/osg/LineWidth.cpp, - src/osgWrappers/osg/LogicOp.cpp, - src/osgWrappers/osg/Material.cpp, - src/osgWrappers/osg/MatrixTransform.cpp, - src/osgWrappers/osg/Matrixd.cpp, src/osgWrappers/osg/Matrixf.cpp, - src/osgWrappers/osg/Multisample.cpp, - src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/NodeCallback.cpp, - src/osgWrappers/osg/NodeTrackerCallback.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osg/Object.cpp, - src/osgWrappers/osg/OccluderNode.cpp, - src/osgWrappers/osg/PagedLOD.cpp, src/osgWrappers/osg/Plane.cpp, - src/osgWrappers/osg/Point.cpp, - src/osgWrappers/osg/PointSprite.cpp, - src/osgWrappers/osg/PolygonMode.cpp, - src/osgWrappers/osg/PolygonOffset.cpp, - src/osgWrappers/osg/PolygonStipple.cpp, - src/osgWrappers/osg/Polytope.cpp, - src/osgWrappers/osg/PositionAttitudeTransform.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osg/Program.cpp, - src/osgWrappers/osg/Projection.cpp, - src/osgWrappers/osg/ProxyNode.cpp, src/osgWrappers/osg/Quat.cpp, - src/osgWrappers/osg/Referenced.cpp, - src/osgWrappers/osg/RenderInfo.cpp, - src/osgWrappers/osg/Scissor.cpp, - src/osgWrappers/osg/Sequence.cpp, - src/osgWrappers/osg/ShadeModel.cpp, - src/osgWrappers/osg/Shader.cpp, - src/osgWrappers/osg/ShadowVolumeOccluder.cpp, - src/osgWrappers/osg/Shape.cpp, - src/osgWrappers/osg/ShapeDrawable.cpp, - src/osgWrappers/osg/State.cpp, - src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/StateSet.cpp, - src/osgWrappers/osg/Stencil.cpp, src/osgWrappers/osg/Switch.cpp, - src/osgWrappers/osg/TexEnv.cpp, - src/osgWrappers/osg/TexEnvCombine.cpp, - src/osgWrappers/osg/TexEnvFilter.cpp, - src/osgWrappers/osg/TexGen.cpp, - src/osgWrappers/osg/TexGenNode.cpp, - src/osgWrappers/osg/TexMat.cpp, src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osg/Texture1D.cpp, - src/osgWrappers/osg/Texture2D.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/TextureCubeMap.cpp, - src/osgWrappers/osg/TextureRectangle.cpp, - src/osgWrappers/osg/Timer.cpp, src/osgWrappers/osg/Transform.cpp, - src/osgWrappers/osg/Uniform.cpp, src/osgWrappers/osg/Vec2b.cpp, - src/osgWrappers/osg/Vec2d.cpp, src/osgWrappers/osg/Vec2f.cpp, - src/osgWrappers/osg/Vec2s.cpp, src/osgWrappers/osg/Vec3b.cpp, - src/osgWrappers/osg/Vec3d.cpp, src/osgWrappers/osg/Vec3f.cpp, - src/osgWrappers/osg/Vec3s.cpp, src/osgWrappers/osg/Vec4b.cpp, - src/osgWrappers/osg/Vec4d.cpp, src/osgWrappers/osg/Vec4f.cpp, - src/osgWrappers/osg/Vec4s.cpp, src/osgWrappers/osg/Vec4ub.cpp, - src/osgWrappers/osg/VertexProgram.cpp, - src/osgWrappers/osg/View.cpp, src/osgWrappers/osg/Viewport.cpp, - src/osgWrappers/osg/observer_ptr.cpp, - src/osgWrappers/osgDB/Archive.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/DotOsgWrapper.cpp, - src/osgWrappers/osgDB/DynamicLibrary.cpp, - src/osgWrappers/osgDB/Field.cpp, - src/osgWrappers/osgDB/FieldReader.cpp, - src/osgWrappers/osgDB/FieldReaderIterator.cpp, - src/osgWrappers/osgDB/ImageOptions.cpp, - src/osgWrappers/osgDB/Input.cpp, - src/osgWrappers/osgDB/ParameterOutput.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgDB/ReentrantMutex.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgDB/SharedStateManager.cpp, - src/osgWrappers/osgFX/AnisotropicLighting.cpp, - src/osgWrappers/osgFX/BumpMapping.cpp, - src/osgWrappers/osgFX/Cartoon.cpp, - src/osgWrappers/osgFX/Effect.cpp, - src/osgWrappers/osgFX/MultiTextureControl.cpp, - src/osgWrappers/osgFX/Registry.cpp, - src/osgWrappers/osgFX/Scribe.cpp, - src/osgWrappers/osgFX/SpecularHighlights.cpp, - src/osgWrappers/osgFX/Technique.cpp, - src/osgWrappers/osgFX/Validator.cpp, - src/osgWrappers/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/osgGA/DriveManipulator.cpp, - src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgGA/EventVisitor.cpp, - src/osgWrappers/osgGA/FlightManipulator.cpp, - src/osgWrappers/osgGA/GNUmakefile, - src/osgWrappers/osgGA/GUIActionAdapter.cpp, - src/osgWrappers/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/osgGA/GUIEventHandler.cpp, - src/osgWrappers/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/osgGA/MatrixManipulator.cpp, - src/osgWrappers/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/osgGA/SimpleViewer.cpp, - src/osgWrappers/osgGA/StateSetManipulator.cpp, - src/osgWrappers/osgGA/TerrainManipulator.cpp, - src/osgWrappers/osgGA/TrackballManipulator.cpp, - src/osgWrappers/osgGA/UFOManipulator.cpp, - src/osgWrappers/osgParticle/AccelOperator.cpp, - src/osgWrappers/osgParticle/AngularAccelOperator.cpp, - src/osgWrappers/osgParticle/BoxPlacer.cpp, - src/osgWrappers/osgParticle/CenteredPlacer.cpp, - src/osgWrappers/osgParticle/ConnectedParticleSystem.cpp, - src/osgWrappers/osgParticle/ConstantRateCounter.cpp, - src/osgWrappers/osgParticle/Counter.cpp, - src/osgWrappers/osgParticle/Emitter.cpp, - src/osgWrappers/osgParticle/ExplosionDebrisEffect.cpp, - src/osgWrappers/osgParticle/ExplosionEffect.cpp, - src/osgWrappers/osgParticle/FireEffect.cpp, - src/osgWrappers/osgParticle/FluidFrictionOperator.cpp, - src/osgWrappers/osgParticle/FluidProgram.cpp, - src/osgWrappers/osgParticle/ForceOperator.cpp, - src/osgWrappers/osgParticle/Interpolator.cpp, - src/osgWrappers/osgParticle/LinearInterpolator.cpp, - src/osgWrappers/osgParticle/ModularEmitter.cpp, - src/osgWrappers/osgParticle/ModularProgram.cpp, - src/osgWrappers/osgParticle/MultiSegmentPlacer.cpp, - src/osgWrappers/osgParticle/Operator.cpp, - src/osgWrappers/osgParticle/Particle.cpp, - src/osgWrappers/osgParticle/ParticleEffect.cpp, - src/osgWrappers/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/osgParticle/Placer.cpp, - src/osgWrappers/osgParticle/PointPlacer.cpp, - src/osgWrappers/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/osgParticle/Program.cpp, - src/osgWrappers/osgParticle/RadialShooter.cpp, - src/osgWrappers/osgParticle/RandomRateCounter.cpp, - src/osgWrappers/osgParticle/SectorPlacer.cpp, - src/osgWrappers/osgParticle/SegmentPlacer.cpp, - src/osgWrappers/osgParticle/Shooter.cpp, - src/osgWrappers/osgParticle/SmokeEffect.cpp, - src/osgWrappers/osgParticle/SmokeTrailEffect.cpp, - src/osgWrappers/osgParticle/VariableRateCounter.cpp, - src/osgWrappers/osgParticle/range.cpp, - src/osgWrappers/osgProducer/GraphicsContextImplementation.cpp, - src/osgWrappers/osgProducer/KeyboardMouseCallback.cpp, - src/osgWrappers/osgProducer/OsgCameraGroup.cpp, - src/osgWrappers/osgProducer/OsgSceneHandler.cpp, - src/osgWrappers/osgProducer/Viewer.cpp, - src/osgWrappers/osgProducer/ViewerEventHandler.cpp, - src/osgWrappers/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/osgShadow/ShadowTechnique.cpp, - src/osgWrappers/osgShadow/ShadowVolume.cpp, - src/osgWrappers/osgShadow/ShadowedScene.cpp, - src/osgWrappers/osgSim/BlinkSequence.cpp, - src/osgWrappers/osgSim/ColorRange.cpp, - src/osgWrappers/osgSim/DOFTransform.cpp, - src/osgWrappers/osgSim/GeographicLocation.cpp, - src/osgWrappers/osgSim/Impostor.cpp, - src/osgWrappers/osgSim/ImpostorSprite.cpp, - src/osgWrappers/osgSim/InsertImpostorsVisitor.cpp, - src/osgWrappers/osgSim/LightPoint.cpp, - src/osgWrappers/osgSim/LightPointNode.cpp, - src/osgWrappers/osgSim/LightPointSystem.cpp, - src/osgWrappers/osgSim/MultiSwitch.cpp, - src/osgWrappers/osgSim/OpenFlightOptimizer.cpp, - src/osgWrappers/osgSim/OverlayNode.cpp, - src/osgWrappers/osgSim/ScalarBar.cpp, - src/osgWrappers/osgSim/ScalarsToColors.cpp, - src/osgWrappers/osgSim/Sector.cpp, - src/osgWrappers/osgSim/SphereSegment.cpp, - src/osgWrappers/osgSim/VisibilityGroup.cpp, - src/osgWrappers/osgTerrain/DataSet.cpp, - src/osgWrappers/osgTerrain/HeightFieldNode.cpp, - src/osgWrappers/osgTerrain/HeightFieldRenderer.cpp, - src/osgWrappers/osgText/FadeText.cpp, - src/osgWrappers/osgText/Font.cpp, - src/osgWrappers/osgText/String.cpp, - src/osgWrappers/osgText/Text.cpp, - src/osgWrappers/osgUtil/CubeMapGenerator.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/DelaunayTriangulator.cpp, - src/osgWrappers/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/osgUtil/HalfWayMapGenerator.cpp, - src/osgWrappers/osgUtil/HighlightMapGenerator.cpp, - src/osgWrappers/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp, - src/osgWrappers/osgUtil/PositionalStateContainer.cpp, - src/osgWrappers/osgUtil/ReflectionMapGenerator.cpp, - src/osgWrappers/osgUtil/RenderBin.cpp, - src/osgWrappers/osgUtil/RenderLeaf.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp, - src/osgWrappers/osgUtil/SceneView.cpp, - src/osgWrappers/osgUtil/Simplifier.cpp, - src/osgWrappers/osgUtil/SmoothingVisitor.cpp, - src/osgWrappers/osgUtil/StateGraph.cpp, - src/osgWrappers/osgUtil/Statistics.cpp, - src/osgWrappers/osgUtil/TangentSpaceGenerator.cpp, - src/osgWrappers/osgUtil/Tesselator.cpp, - src/osgWrappers/osgUtil/TransformAttributeFunctor.cpp, - src/osgWrappers/osgUtil/TransformCallback.cpp, - src/osgWrappers/osgUtil/TriStripVisitor.cpp, - src/osgWrappers/osgUtil/UpdateVisitor.cpp: Updated wrappers - -2006-10-24 09:06 robert - - * include/osgText/FadeText, src/osgText/FadeText.cpp: Added - FadeText::setFadeSpeed and made internal data structures - protected. - -2006-10-23 15:29 robert - - * src/osgPlugins/freetype/GNUmakefile: Changed the dependency list - to use -losg -losgDB instead of OSG_LIBS - -2006-10-21 21:06 robert - - * src/osgPlugins/quicktime/MovieData.cpp: Fixed OSX x86 endian - issue in Quicktime movie plugin. - -2006-10-17 15:17 robert - - * include/osgIntrospection/Attributes, - include/osgIntrospection/ConstructorInfo, - include/osgIntrospection/Exceptions, - include/osgIntrospection/MethodInfo, - include/osgIntrospection/PropertyInfo, - include/osgIntrospection/ReflectionMacros, - include/osgIntrospection/Reflector, - include/osgIntrospection/StaticMethodInfo, - include/osgIntrospection/Type, - include/osgIntrospection/TypedConstructorInfo, - include/osgIntrospection/TypedMethodInfo, - include/osgIntrospection/Utility, - src/osgIntrospection/PropertyInfo.cpp: 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 - - * VisualStudio/OpenSceneGraph.dsw, - VisualStudio/examples/osgshadow/example_osgshadow.dsp, - VisualStudio/examples/osgshadow/osgshadow.dsp: Changed name osg - osgshadow example.dsp to avoid MS conflicts - -2006-10-17 11:28 robert - - * VisualStudio/examples/osgshadow, - VisualStudio/examples/osgshadow/osgshadow.dsp: Added osgshadow - example - -2006-10-15 11:56 robert - - * examples/osgsimpleviewerFLTK/osgsimpleviewerFLTK.cpp: Ported FLTK - example across to using GraphicsWindow - -2006-10-15 11:39 robert - - * examples/osgsimpleviewerQT3/osgsimpleviewerQT3.cpp: Ported across - to using GraphicsWindow. - -2006-10-14 21:50 robert - - * include/osg/Image, src/osg/Image.cpp: From Chuck Seberion, added - support reading ARB float format textures. - -2006-10-14 21:47 robert - - * include/osg/Billboard, src/osg/Billboard.cpp: From Terry Welsh, - mplemented POINT_ROT_EYE. - -2006-10-14 10:16 robert - - * src/osgProducer/ViewerEventHandler.cpp: 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-10-14 10:07 robert - - * src/osg/ShapeDrawable.cpp: Fixed texture coordinates of cylinder - ends. - -2006-10-13 14:00 robert - - * src/osgGA/GNUmakefile: Added -losgDB to fix OSX build - -2006-10-07 11:57 robert - - * VisualStudio/OpenSceneGraph.dsw: Added dae (COLLADA) plugin to - OpenSceneGraph.dsw workspace. - -2006-10-07 11:53 robert - - * VisualStudio/OpenSceneGraph.dsw, - VisualStudio/examples/osgsimpleviewerFLTK, - VisualStudio/examples/osgsimpleviewerFLTK/osgsimpleviewerFLTK.dsp, - VisualStudio/examples/osgsimpleviewerGLUT, - VisualStudio/examples/osgsimpleviewerGLUT/osgsimpleviewerGLUT.dsp, - VisualStudio/examples/osgsimpleviewerProducer, - VisualStudio/examples/osgsimpleviewerProducer/osgsimpleviewerProducer.dsp, - VisualStudio/examples/osgsimpleviewerQT3, - VisualStudio/examples/osgsimpleviewerQT3/osgsimpleviewerQT3.dsp, - VisualStudio/examples/osgsimpleviewerQT4, - VisualStudio/examples/osgsimpleviewerQT4/osgsimpleviewerQT4.dsp, - VisualStudio/examples/osgsimpleviewerSDL, - VisualStudio/examples/osgsimpleviewerSDL/osgsimpleviewerSDL.dsp: - Added project files for the - osgsimpleviewerFLTK,GLUT,Producer,QT3,QT4 and SDL examples - -2006-10-06 14:46 robert - - * VisualStudio/osgShadow/osgShadow.dsp: Fixed OSGSHADOW_LIBRARY - define - -2006-10-06 14:45 robert - - * src/osgShadow/GNUmakefile: Fixed library name - -2006-10-06 14:16 robert - - * Make/makedirdefs, VisualStudio/OpenSceneGraph.dsw, - VisualStudio/osgShadow, VisualStudio/osgShadow/osgShadow.dsp, - VisualStudio/osgWrappers/osgShadow, - VisualStudio/osgWrappers/osgShadow/wrapper_osgShadow.dsp, - examples/osgshadow, examples/osgshadow/GNUmakefile, - examples/osgshadow/GNUmakefile.inst, - examples/osgshadow/osgshadow.cpp, include/osgShadow, - include/osgShadow/Export, - include/osgShadow/ParallelSplitShadowMap, - include/osgShadow/ShadowMap, include/osgShadow/ShadowTechnique, - include/osgShadow/ShadowTexture, include/osgShadow/ShadowVolume, - include/osgShadow/ShadowedScene, include/osgShadow/Version, - src/osgShadow, src/osgShadow/GNUmakefile, - src/osgShadow/ParallelSplitShadowMap.cpp, - src/osgShadow/ShadowMap.cpp, src/osgShadow/ShadowTechnique.cpp, - src/osgShadow/ShadowTexture.cpp, src/osgShadow/ShadowVolume.cpp, - src/osgShadow/ShadowedScene.cpp, src/osgShadow/Version.cpp, - src/osgWrappers/osgShadow, - src/osgWrappers/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/osgShadow/ShadowTechnique.cpp, - src/osgWrappers/osgShadow/ShadowVolume.cpp, - src/osgWrappers/osgShadow/ShadowedScene.cpp: First cut at class - interfaces and stubs for implementations for the new osgShadow - NodeKit - -2006-10-06 13:04 robert - - * src/osgPlugins/OpenFlight/GeometryRecords.cpp: 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 - - * VisualStudio/osgWrappers/osgText/wrapper_osgText.dsp, - src/osgWrappers/osgText/FadeText.cpp, - src/osgWrappers/osgText/GNUmakefile: Updated wrappers - -2006-10-06 09:54 robert - - * VisualStudio/osgGA/osgGA.dsp, - VisualStudio/osgWrappers/osgGA/wrapper_osgGA.dsp, - include/osgGA/GUIEventHandler, - include/osgGA/GUIEventHandlerVisitor, - include/osgGA/KeySwitchMatrixManipulator, - include/osgGA/MatrixManipulator, - include/osgGA/SetSceneViewVisitor, - include/osgGA/StateSetManipulator, - include/osgProducer/ViewerEventHandler, src/osgGA/GNUmakefile, - src/osgGA/GUIEventHandler.cpp, - src/osgGA/GUIEventHandlerVisitor.cpp, - src/osgGA/SetSceneViewVisitor.cpp, - src/osgGA/StateSetManipulator.cpp, - src/osgProducer/ViewerEventHandler.cpp, - src/osgWrappers/osg/Drawable.cpp, - src/osgWrappers/osg/NodeCallback.cpp, - src/osgWrappers/osgGA/GNUmakefile, - src/osgWrappers/osgGA/GUIEventHandler.cpp, - src/osgWrappers/osgGA/GUIEventHandlerVisitor.cpp, - src/osgWrappers/osgGA/GraphicsWindow.cpp, - src/osgWrappers/osgGA/MatrixManipulator.cpp, - src/osgWrappers/osgGA/SetSceneViewVisitor.cpp, - src/osgWrappers/osgGA/SimpleViewer.cpp, - src/osgWrappers/osgGA/StateSetManipulator.cpp, - src/osgWrappers/osgProducer/ViewerEventHandler.cpp: Removed - osgGA::GUIEventHandlerVisitor and osgGA::SetSceneVistor - classes/headers as - this classes weren't being actively used the distribution, - effectively being noops. - -2006-10-06 06:58 robert - - * src/osgUtil/SceneView.cpp: Added workaround for NVidia driver bug - into SceneView::init() to prevent the extensions - string being initialized within a display list. - -2006-10-05 14:32 robert - - * examples/osgblendequation/osgblendequation.cpp, - examples/osgcatch/osgcatch.cpp, - examples/osgdelaunay/osgdelaunay.cpp, - examples/osgforest/osgforest.cpp, - examples/osggeodemo/osggeodemo.cpp, - examples/osgkeyboard/osgkeyboard.cpp, - examples/osglogicop/osglogicop.cpp, - examples/osgmovie/osgmovie.cpp, - examples/osgoccluder/osgoccluder.cpp, - examples/osgphotoalbum/osgphotoalbum.cpp, - examples/osgpoints/osgpoints.cpp, - examples/osgsequence/osgsequence.cpp, - examples/osgsimplifier/osgsimplifier.cpp, - examples/osgstereoimage/osgstereoimage.cpp, - examples/osgtesselate/osgtesselate.cpp, - examples/osgvolume/osgvolume.cpp: Removed deprecated - GUIEventHandler method - -2006-10-05 10:59 robert - - * examples/osgsimpleviewerProducer/osgsimpleviewerProducer.cpp: - Renamed variable - -2006-10-05 10:59 robert - - * examples/osgsimpleviewerQT4/osgsimpleviewerQT4.cpp: Refactored - osgsimpleviewerQT4 to implement a GraphicsWindowQT, and then use - multiple inheritance to build the final SimpleViewerQT. - -2006-10-05 10:07 robert - - * examples/osgsimpleviewerProducer/osgsimpleviewerProducer.cpp: - Added a path with an experiemental GraphicsContexProducer - implementation, and a - test of mulitple inheritance. - -2006-10-05 10:06 robert - - * include/osgGA/GraphicsWindow, include/osgGA/SimpleViewer, - src/osgGA/SimpleViewer.cpp: 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 - - * VisualStudio/OpenSceneGraph.dsw: Added osgGA depedency. - -2006-10-03 20:42 robert - - * include/osg/Drawable, include/osg/NodeCallback: Removed the - redundent relaseGLObjects() method declerations - -2006-10-03 20:20 robert - - * src/osgUtil/Optimizer.cpp: 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. " - -2006-10-03 19:55 robert - - * src/osgPlugins/dae/daeReader.cpp: 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 - - * VisualStudio/OpenSceneGraph.dsw: Added osgDB to dependency of - osgGA - -2006-10-03 11:14 robert - - * src/osgProducer/Viewer.cpp, - src/osgProducer/ViewerEventHandler.cpp, src/osgText/Font.cpp, - src/osgText/Text.cpp, src/osgWrappers/osg/CullSettings.cpp, - src/osgWrappers/osg/Drawable.cpp, - src/osgWrappers/osg/NodeCallback.cpp, - src/osgWrappers/osgGA/SimpleViewer.cpp, - src/osgWrappers/osgProducer/Viewer.cpp, - src/osgWrappers/osgProducer/ViewerEventHandler.cpp: Fixed bug - related to clean up of text fonts. - -2006-10-03 09:55 robert - - * src/osgPlugins/OpenFlight/GeometryRecords.cpp: 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 - - * src/osgPlugins/OpenFlight/PrimaryRecords.cpp: 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-10-02 15:59 robert - - * src/osg/StateSet.cpp: 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 - - * Make/dependencies, Make/makedirdefs, include/osg/Drawable, - include/osg/NodeCallback, include/osgGA/SimpleViewer, - include/osgProducer/Viewer, - include/osgProducer/ViewerEventHandler, src/osg/Drawable.cpp, - src/osg/Node.cpp, src/osgGA/SimpleViewer.cpp, - src/osgProducer/Viewer.cpp, - src/osgProducer/ViewerEventHandler.cpp: Added releaseGLObjects to - NodeCallbacks, Drawable::DrawCallbacks and wired up - osgProducer to use it when doing cleanup_frame. - -2006-10-02 15:09 robert - - * src/osgPlugins/OpenFlight/PrimaryRecords.cpp: 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. - -2006-10-02 14:11 robert - - * include/osg/CullSettings, src/osgUtil/CullVisitor.cpp: 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-10-02 13:40 robert - - * src/osg/LightModel.cpp: 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." - -2006-10-02 13:24 robert - - * src/osgPlugins/dae/daeReader.cpp: 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 - - * include/osg/Math: From Edgar Ellis, "Changed return type of - osg::equivalent methods from float/double to bool. - " - -2006-10-02 13:07 robert - - * src/osgPlugins/dw/ReaderWriterDW.cpp: 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-10-02 11:47 robert - - * src/osgPlugins/dae/ReaderWriterDAE.cpp: Added SERIALIZER to - ReaderWriterDAE to make sure initialization is thread safe. - -2006-10-02 11:38 robert - - * src/osgPlugins/dae/ReaderWriterDAE.cpp: 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-10-02 11:34 robert - - * VisualStudio/osgPlugins/ESRIShape/ESRIShape.dsp: 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." - -2006-10-02 11:26 robert - - * include/osgParticle/ParticleSystem: 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-10-01 19:19 robert - - * include/osgGA/StateSetManipulator, - src/osgGA/StateSetManipulator.cpp, - src/osgWrappers/osgGA/StateSetManipulator.cpp: 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. - -2006-10-01 19:09 robert - - * src/osgPlugins/OpenFlight/Document.cpp, - src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/OpenFlight/Record.h: From Brede Johansen, "I have - added "billboardCenter" as a reader option to use the center of - a billboard as the pivot point." - -2006-10-01 19:00 robert - - * src/osgPlugins/OpenFlight/DataInputStream.cpp: 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." - -2006-10-01 16:14 robert - - * examples/osgsimpleviewerGLUT, - examples/osgsimpleviewerGLUT/GNUmakefile, - examples/osgsimpleviewerGLUT/GNUmakefile.inst, - examples/osgsimpleviewerGLUT/osgsimpleviewerGLUT.cpp: Added GLUT - based osgsimpleviewerGLUT example -2006-10-01 16:12 robert +Thu, 18 Feb 2010 21:17:36 +0000 +Checked in by : Robert Osfield +Added className() to assist with debugging - * examples/osgsimpleviewerProducer, - examples/osgsimpleviewerProducer/GNUmakefile, - examples/osgsimpleviewerProducer/GNUmakefile.inst, - examples/osgsimpleviewerProducer/osgsimpleviewerProducer.cpp: - Added Producer based osgsimplerviewerProducer example - -2006-10-01 16:10 robert - - * examples/osgsimpleviewerFLTK, - examples/osgsimpleviewerFLTK/GNUmakefile, - examples/osgsimpleviewerFLTK/GNUmakefile.inst, - examples/osgsimpleviewerFLTK/osgsimpleviewerFLTK.cpp: Added FLTK - example app - osgsimpleviewerFLTK. - -2006-10-01 13:26 robert - - * Make/dependencies, Make/makedirdefs, examples/osgsimpleviewerQT4, - examples/osgsimpleviewerQT4/GNUmakefile, - examples/osgsimpleviewerQT4/GNUmakefile.inst, - examples/osgsimpleviewerQT4/osgsimpleviewerQT4.cpp: Added - osgsimpleviewerQT4 example - -2006-10-01 11:08 robert - - * examples/osgsimpleviewerSDL/osgsimpleviewerSDL.cpp: Refactored - the SDL example so that the event conversion in done is a - seperate method. - -2006-09-30 20:06 robert - - * Make/dependencies, Make/makedirdefs, examples/osgsimpleviewerSDL, - examples/osgsimpleviewerSDL/GNUmakefile, - examples/osgsimpleviewerSDL/GNUmakefile.inst, - examples/osgsimpleviewerSDL/osgsimpleviewerSDL.cpp: Added a based - SDL viewer - osgsimpleviewerSDL - -2006-09-30 20:05 robert - - * src/osgWrappers/osgGA/SimpleViewer.cpp: Updated wrappers - -2006-09-30 20:05 robert - - * examples/osgsimpleviewerQT3/GNUmakefile.inst, - examples/osgsimpleviewerQT3/osgsimpleviewerQT3.cpp: Cleaned up - build and indenting - -2006-09-30 16:30 robert - - * examples/osgGLUTkeyboardmouse/osgGLUTkeyboardmouse.cpp, - examples/osgkeyboardmouse/osgkeyboardmouse.cpp, - src/osgWrappers/osgProducer/Viewer.cpp: Various clean ups to - comments - -2006-09-30 16:29 robert - - * VisualStudio/osgGA/osgGA.dsp, - VisualStudio/osgWrappers/osgGA/wrapper_osgGA.dsp: Added - SimpleViewer - -2006-09-30 16:26 robert - - * Make/dependencies, Make/makedirdefs, examples/osgsimpleviewerQT3, - examples/osgsimpleviewerQT3/GNUmakefile, - examples/osgsimpleviewerQT3/GNUmakefile.inst, - examples/osgsimpleviewerQT3/osgsimpleviewerQT3.cpp: Added - osgsimpleviewerQT3 example +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. -2006-09-30 14:12 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. - * examples/osgGLUTkeyboardmouse/GNUmakefile, - examples/osgGLUTkeyboardmouse/osgGLUTkeyboardmouse.cpp, - examples/osgGLUTsimple/GNUmakefile, - examples/osgGLUTsimple/osgGLUTsimple.cpp: Moved osgGLUTsimple and - osgGLUTkeyboardmouse across to using osgGA::SimpleViewer +Thu, 18 Feb 2010 09:00:37 +0000 +Checked in by : Robert Osfield +Added new setNodePathTo() method -2006-09-30 14:10 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 - * include/osgGA/SimpleViewer: Added subclassing from - osg::Referenced to allow the SimpleViewer to be safely managed on - the heap. -2006-09-30 13:41 robert - * src/osgGA/SimpleViewer.cpp: Added check to init to prevent crash - when no camera manipulator is supplied. +Tue, 16 Feb 2010 17:38:49 +0000 +Checked in by : Robert Osfield +Added className() implementation to help wiht debugging. -2006-09-29 21:44 robert +Tue, 16 Feb 2010 14:05:49 +0000 +Checked in by : Robert Osfield +Fixed crash - * src/osgProducer/KeyboardMouseCallback.cpp: Added false to - setWindowRectangle() call as the InputRange is already set - correctly. +Tue, 16 Feb 2010 11:10:49 +0000 +Checked in by : Robert Osfield +Threads safety fixes based on suggestions from Tim Moore. -2006-09-29 18:47 robert +Tue, 16 Feb 2010 08:53:56 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgGA/SimpleViewer.cpp: Added preliminary DatabasePager - support. +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 -2006-09-25 16:25 robert +Mon, 15 Feb 2010 20:15:43 +0000 +Checked in by : Robert Osfield +Upadted wrappers - * examples/osgcluster/osgcluster.cpp, - examples/osgkeyboardmouse/GNUmakefile, - examples/osgkeyboardmouse/osgkeyboardmouse.cpp, - examples/osgsimple/GNUmakefile, examples/osgsimple/osgsimple.cpp, - include/osgGA/EventQueue, include/osgGA/GUIEventAdapter, - include/osgGA/SimpleViewer, src/osgGA/EventQueue.cpp, - src/osgGA/GNUmakefile, src/osgGA/GUIEventAdapter.cpp, - src/osgGA/SimpleViewer.cpp, - src/osgProducer/KeyboardMouseCallback.cpp, - src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgGA/GNUmakefile, - src/osgWrappers/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/osgGA/SimpleViewer.cpp: 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. +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 -2006-09-21 15:09 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. - * VisualStudio/osgWrappers/osg/wrapper_osg.dsp, - VisualStudio/osgWrappers/osgText/wrapper_osgText.dsp, - src/osgWrappers/osg/BlendColor.cpp, - src/osgWrappers/osg/CameraNode.cpp, - src/osgWrappers/osg/Drawable.cpp, - src/osgWrappers/osg/GNUmakefile, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osg/RenderInfo.cpp, src/osgWrappers/osg/View.cpp, - src/osgWrappers/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/osgText/FadeText.cpp, - src/osgWrappers/osgText/GNUmakefile, - src/osgWrappers/osgText/Text.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/RenderBin.cpp, - src/osgWrappers/osgUtil/RenderLeaf.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp, - src/osgWrappers/osgUtil/SceneView.cpp: Updated wrappers +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. -2006-09-21 11:26 robert - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Eric Wing, updated to Xcode projects -2006-09-21 10:38 robert +Mon, 15 Feb 2010 11:36:05 +0000 +Checked in by : Robert Osfield +Added osg:: qualifyer to OSG_NOTIFY macro - * src/osgUtil/CullVisitor.cpp: 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." +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. -2006-09-21 10:01 robert - * include/osg/StateSet, src/osg/StateSet.cpp: From Farshid - Lashkari, added function for querring whether a mode is a texture - related mode or not. - -2006-09-21 09:50 robert - - * src/osgPlugins/OpenFlight/AttrData.cpp, - src/osgPlugins/OpenFlight/AttrData.h, - src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp: From Loic - Dachary, renamed _mips to of_mips to prevent compile problem - under MIIPS - -2006-09-21 09:24 robert - - * src/osgPlugins/osgFX/GNUmakefile, - src/osgPlugins/osgParticle/GNUmakefile, - src/osgPlugins/osgSim/GNUmakefile, - src/osgPlugins/osgText/GNUmakefile, - src/osgPlugins/osga/GNUmakefile: Rationalized on the number of - libs required. - -2006-09-21 08:56 robert - - * src/osgPlugins/osg/GNUmakefile: Removed use osg OSG_LIBS, - changing to just -losg and -losgDB. - -2006-09-20 15:48 robert - - * examples/osgfadetext/osgfadetext.cpp: Updated positions of the - text labels to make them move obvious on start up - -2006-09-20 13:41 robert - - * src/osg/ClusterCullingCallback.cpp: Added missining - initialization of _radius in constructors - -2006-09-20 13:40 robert - - * examples/osgfadetext/osgfadetext.cpp: Added use of - ClusterCullingCallback - -2006-09-20 12:58 robert - - * examples/osgfadetext/osgfadetext.cpp: Created stress test of fade - text labelling - -2006-09-20 10:36 robert - - * examples/osgfadetext/osgfadetext.cpp, src/osg/View.cpp, - src/osgText/FadeText.cpp: Updates for fade text to work properly, - but only in perspetive views at present. -2006-09-19 22:57 robert - * src/osgText/FadeText.cpp: Further work on fade text. +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" -2006-09-19 20:19 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." - * examples/osgfadetext/osgfadetext.cpp, - src/osgProducer/OsgCameraGroup.cpp, src/osgText/FadeText.cpp: - Further work on osgText::FadeText implementation. -2006-09-19 13:54 robert - * src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/Text.cpp: - Fixed reading/writing of non C string osg::Text::String's. +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}) -2006-09-18 21:03 robert +to - * VisualStudio/OpenSceneGraph.dsw, - VisualStudio/examples/osgfadetext, - VisualStudio/examples/osgfadetext/osgfadetext.dsp: Added - osgfadetext example to VS projects +SET(COMPRESSION_LIBRARIES ZLIB_LIBRARY) +... +LINK_EXTERNAL(${LIB_NAME} ${OSGDB_PLATFORM_SPECIFIC_LIBRARIES} +${COMPRESSION_LIBRARIES}) +LINK_WITH_VARIABLES(${LIB_NAME} ${COMPRESSION_LIBRARIES}) -2006-09-18 20:54 robert - * Make/makedirdefs, VisualStudio/osg/osg.dsp, - VisualStudio/osgText/osgText.dsp, examples/osgfadetext, - examples/osgfadetext/GNUmakefile, - examples/osgfadetext/GNUmakefile.inst, - examples/osgfadetext/osgfadetext.cpp, - examples/osgforest/osgforest.cpp, - examples/osgshaderterrain/osgshaderterrain.cpp, - include/osg/BlendColor, include/osg/CameraNode, - include/osg/Drawable, include/osg/NodeVisitor, - include/osg/RenderInfo, include/osg/State, - include/osg/StateAttribute, include/osg/View, - include/osgParticle/PrecipitationEffect, - include/osgProducer/OsgCameraGroup, include/osgText/FadeText, - include/osgText/Text, include/osgUtil/CullVisitor, - include/osgUtil/RenderBin, include/osgUtil/RenderLeaf, - include/osgUtil/RenderStage, include/osgUtil/SceneView, - src/osg/BlendColor.cpp, src/osg/CameraNode.cpp, - src/osg/GNUmakefile, src/osg/StateAttribute.cpp, - src/osg/View.cpp, src/osgParticle/PrecipitationEffect.cpp, - src/osgProducer/OsgCameraGroup.cpp, - src/osgProducer/ViewerEventHandler.cpp, src/osgText/FadeText.cpp, - src/osgText/GNUmakefile, src/osgText/Text.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/RenderBin.cpp, - src/osgUtil/RenderLeaf.cpp, src/osgUtil/RenderStage.cpp, - src/osgUtil/SceneView.cpp: 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). +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. -2006-09-15 13:11 robert +This change will make it back to normal." - * src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/daeReader.cpp, src/osgPlugins/dae/daeReader.h, - src/osgPlugins/dae/daeWriter.cpp, src/osgPlugins/dae/daeWriter.h: - 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-09-15 10:21 robert - * src/osgDB/ReentrantMutex.cpp: Added a _threadHoldingMutex = 0; to - ReentrantMutex::unlock() to avoid a potential - bug with the mutex being aquired by two threads. +Thu, 11 Feb 2010 11:06:12 +0000 +Checked in by : Robert Osfield +Fixed the rotation of normals -2006-09-13 16:38 robert +Thu, 11 Feb 2010 09:13:33 +0000 +Checked in by : Robert Osfield +Added futher use of readSize/writeSize. - * Make/makedefs: Returning revion number to 0 to signify CVS - version +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. -2006-09-13 14:55 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. - * examples/osgsimplepager/osgsimplepager.cpp: Added extra comment - explaining where state reset() should be called. +Wed, 10 Feb 2010 16:23:27 +0000 +Checked in by : Robert Osfield +Fixed automatic loading of plugins -2006-09-13 14:00 robert +Wed, 10 Feb 2010 15:18:20 +0000 +Checked in by : Robert Osfield +Changed NOTIFY to OSG_NOTIFY - * Xcode/OSX_OSG_README.rtf: From Eric Wing, updates to OSX build - notes. +Wed, 10 Feb 2010 12:48:21 +0000 +Checked in by : Robert Osfield +Fixed typo -2006-09-13 13:50 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 - * src/osgProducer/ViewerEventHandler.cpp: Fixed GPU stats display - bug. +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. -2006-09-13 13:33 robert - - * NEWS.txt: Correct HP's AIX to IBM's AIX. - -2006-09-12 19:15 robert - - * Make/makedefs: Updated version for 1.2 release - -2006-09-12 19:09 robert - - * ChangeLog: Updated ChangeLog for 1.2 release - -2006-09-12 15:21 robert - - * include/osg/TriangleFunctor: Fixed the drawArrays() method - checking of _drawArrayPtr - -2006-09-12 12:35 robert - - * src/osg/LineSegment.cpp: Added a check for zero length line - segment in bool LineSegment::intersect(const BoundingSphere& - bs,float& r1,float& r2) const. - -2006-09-12 10:52 robert - - * ChangeLog: Updated ChangeLog fro 1.2 release - -2006-09-12 10:46 robert - - * AUTHORS.txt: Updated AUTHORS file for 1.2 release - -2006-09-12 09:28 robert - - * NEWS.txt: Updated NEWS for 1.2 release - -2006-09-12 09:26 robert - - * include/osg/ClampColor, src/osg/ClampColor.cpp, - src/osgWrappers/osg/ClampColor.cpp: Revised the osg::ClampColor - API to allow vertex, fragment and read color clamping to - be applied together. - -2006-09-08 20:08 robert - - * src/osgUtil/Optimizer.cpp: From Bryan Thrall, fix to - Optimizer::MergeGeometryVisitor so that it checks - the permissable operation status on Drawables. - -2006-09-08 14:31 robert - - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS file for - 1.2 release - -2006-09-08 13:24 robert - - * NEWS.txt: Cleaned up NEWS for 1.2 release - -2006-09-08 10:46 robert - - * Xcode/OpenSceneGraph/os-Info.plist, - Xcode/OpenSceneGraph/osg-Info.plist, - Xcode/OpenSceneGraph/osgDB-Info.plist, - Xcode/OpenSceneGraph/osgFX-Info.plist, - Xcode/OpenSceneGraph/osgGA-Info.plist, - Xcode/OpenSceneGraph/osgGL2-Info.plist, - Xcode/OpenSceneGraph/osgGLUTkeyboardmouse-Info.plist, - Xcode/OpenSceneGraph/osgGLUTsimple-Info.plist, - Xcode/OpenSceneGraph/osgParticle-Info.plist, - Xcode/OpenSceneGraph/osgProducer-Info.plist, - Xcode/OpenSceneGraph/osgSim-Info.plist, - Xcode/OpenSceneGraph/osgTerrain-Info.plist, - Xcode/OpenSceneGraph/osgText-Info.plist, - Xcode/OpenSceneGraph/osgUtil-Info.plist, - Xcode/OpenSceneGraph/osganimate-Info.plist, - Xcode/OpenSceneGraph/osgarchive-Info.plist, - Xcode/OpenSceneGraph/osgautotransform-Info.plist, - Xcode/OpenSceneGraph/osgbillboard-Info.plist, - Xcode/OpenSceneGraph/osgblendequation-Info.plist, - Xcode/OpenSceneGraph/osgbluemarble-Info.plist, - Xcode/OpenSceneGraph/osgcallback-Info.plist, - Xcode/OpenSceneGraph/osgcamera-Info.plist, - Xcode/OpenSceneGraph/osgcameragroup-Info.plist, - Xcode/OpenSceneGraph/osgcatch-Info.plist, - Xcode/OpenSceneGraph/osgclip-Info.plist, - Xcode/OpenSceneGraph/osgcluster-Info.plist, - Xcode/OpenSceneGraph/osgconv-Info.plist, - Xcode/OpenSceneGraph/osgcopy-Info.plist, - Xcode/OpenSceneGraph/osgcubemap-Info.plist, - Xcode/OpenSceneGraph/osgdb_freetype-Info.plist, - Xcode/OpenSceneGraph/osgdb_freetype2-Info.plist, - Xcode/OpenSceneGraph/osgdb_osgText-Info.plist, - Xcode/OpenSceneGraph/osgdelaunay-Info.plist, - Xcode/OpenSceneGraph/osgdem-Info.plist, - Xcode/OpenSceneGraph/osgdepthpartition-Info.plist, - Xcode/OpenSceneGraph/osgdepthshadow-Info.plist, - Xcode/OpenSceneGraph/osgdistortion-Info.plist, - Xcode/OpenSceneGraph/osgforest-Info.plist, - Xcode/OpenSceneGraph/osgfxbrowser-Info.plist, - Xcode/OpenSceneGraph/osggeometry-Info.plist, - Xcode/OpenSceneGraph/osghangglide-Info.plist, - Xcode/OpenSceneGraph/osghud-Info.plist, - Xcode/OpenSceneGraph/osgimposter-Info.plist, - Xcode/OpenSceneGraph/osgintrospection-Info.plist, - Xcode/OpenSceneGraph/osgkeyboard-Info.plist, - Xcode/OpenSceneGraph/osgkeyboardmouse-Info.plist, - Xcode/OpenSceneGraph/osglauncher-Info.plist, - Xcode/OpenSceneGraph/osglightpoint-Info.plist, - Xcode/OpenSceneGraph/osglist-Info.plist, - Xcode/OpenSceneGraph/osglogicop-Info.plist, - Xcode/OpenSceneGraph/osglogo-Info.plist, - Xcode/OpenSceneGraph/osgmotionblur-Info.plist, - Xcode/OpenSceneGraph/osgmovie-Info.plist, - Xcode/OpenSceneGraph/osgmultiplecameras-Info.plist, - Xcode/OpenSceneGraph/osgmultitexture-Info.plist, - Xcode/OpenSceneGraph/osgocculder-Info.plist, - Xcode/OpenSceneGraph/osgpagedlod-Info.plist, - Xcode/OpenSceneGraph/osgparametric-Info.plist, - Xcode/OpenSceneGraph/osgparticleExample-Info.plist, - Xcode/OpenSceneGraph/osgparticleeffects-Info.plist, - Xcode/OpenSceneGraph/osgphotoalbum-Info.plist, - Xcode/OpenSceneGraph/osgpick-Info.plist, - Xcode/OpenSceneGraph/osgplanets-Info.plist, - Xcode/OpenSceneGraph/osgpoints-Info.plist, - Xcode/OpenSceneGraph/osgpointsprite-Info.plist, - Xcode/OpenSceneGraph/osgprecipitation-Info.plist, - Xcode/OpenSceneGraph/osgprerender-Info.plist, - Xcode/OpenSceneGraph/osgprerendercubemap-Info.plist, - Xcode/OpenSceneGraph/osgreflect-Info.plist, - Xcode/OpenSceneGraph/osgscalarbar-Info.plist, - Xcode/OpenSceneGraph/osgscribe-Info.plist, - Xcode/OpenSceneGraph/osgsequence-Info.plist, - Xcode/OpenSceneGraph/osgshaders-Info.plist, - Xcode/OpenSceneGraph/osgshaderterrain-Info.plist, - Xcode/OpenSceneGraph/osgshadowtexture-Info.plist, - Xcode/OpenSceneGraph/osgshape-Info.plist, - Xcode/OpenSceneGraph/osgsimple-Info.plist, - Xcode/OpenSceneGraph/osgsimplepager-Info.plist, - Xcode/OpenSceneGraph/osgsimplifier-Info.plist, - Xcode/OpenSceneGraph/osgsimulation-Info.plist, - Xcode/OpenSceneGraph/osgslice-Info.plist, - Xcode/OpenSceneGraph/osgslideshow-Info.plist, - Xcode/OpenSceneGraph/osgspacewarp-Info.plist, - Xcode/OpenSceneGraph/osgspheresegment-Info.plist, - Xcode/OpenSceneGraph/osgspotlight-Info.plist, - Xcode/OpenSceneGraph/osgstereoimage-Info.plist, - Xcode/OpenSceneGraph/osgteapot-Info.plist, - Xcode/OpenSceneGraph/osgtesselate-Info.plist, - Xcode/OpenSceneGraph/osgtextexample-Info.plist, - Xcode/OpenSceneGraph/osgtexture1D-Info.plist, - Xcode/OpenSceneGraph/osgtexture2D-Info.plist, - Xcode/OpenSceneGraph/osgtexture3D-Info.plist, - Xcode/OpenSceneGraph/osgtexturerectangle-Info.plist, - Xcode/OpenSceneGraph/osgunittests-Info.plist, - Xcode/OpenSceneGraph/osgversion-Info.plist, - Xcode/OpenSceneGraph/osgvertexprogram-Info.plist, - Xcode/OpenSceneGraph/osgviewer-Info.plist, - Xcode/OpenSceneGraph/osgvolume-Info.plist, - Xcode/OpenSceneGraph/osgwindows-Info.plist: From Eric Wing, - updated to Xcode projects - -2006-09-08 10:07 robert - - * VisualStudio/MUST_READ_ME.txt: Added link to website for build - docs. - -2006-09-08 10:07 robert - - * VisualStudio/fixup-vc6-dsps.pl: From Mike Wittman, perl script to - help remain project files for dumb VisualStudio 6.0 limitations. - -2006-09-07 10:41 robert - - * include/osgTerrain/DataSet: From Mike Weiblen, added missing - export to fix osgTerrain wrapper linking under VS - -2006-09-06 20:11 robert - - * VisualStudio/osgWrappers/osgTerrain/wrapper_osgTerrain.dsp: - Updated osgTerrain wrapper project file with gdal dependencies. - -2006-09-06 14:10 robert - - * NEWS.txt: Tweak to NEWS - -2006-09-06 13:53 robert - - * src/osgPlugins/ive/DataOutputStream.h: Made get methods const - -2006-09-06 09:46 robert - - * src/osgPlugins/OpenFlight/PrimaryRecords.cpp: 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." - -2006-09-05 20:18 robert - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Eric Wing, updates to Xcode projects - -2006-09-05 17:15 robert - - * NEWS.txt: Removed reference to Sony in COLLADA news entry. - -2006-09-05 15:22 robert - - * AUTHORS.txt, NEWS.txt, applications/osgversion/osgversion.cpp: - Updated NEWS, AUTHORS file and osgversion for the 1.2-rc1 - -2006-09-05 15:09 robert - - * ChangeLog: Updated ChangeLog - -2006-09-05 09:51 robert - - * include/osgIntrospection/ReflectionMacros, - src/osgPlugins/dae/README.txt, - src/osgPlugins/dae/daeWGeometry.cpp, - src/osgPlugins/dae/daeWMaterials.cpp, - src/osgPlugins/dae/daeWriter.cpp: From Mike Weiblen, build fixes - for Windows. - -2006-09-05 09:13 robert - - * applications/osgdem/osgdem.cpp: Updated to compile against - changes to osgTerrain - -2006-09-05 08:56 robert - - * src/osgWrappers/osgTerrain/DataSet.cpp: Updated wrappers - -2006-09-05 08:46 robert - - * Make/makedefs: From Paul Martz, warning fixes for Cygwin. - -2006-09-05 08:44 robert - - * src/osgPlugins/OpenFlight/Document.cpp, - src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/PrimaryRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: 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, 9 Feb 2010 19:30:52 +0000 +Checked in by : Robert Osfield +Added enabling of threadsafe ref/unref in FileCache. -2006-09-04 20:43 robert +Tue, 9 Feb 2010 18:24:37 +0000 +Checked in by : Robert Osfield +Converted osg::notify usage to NOTIFY - * include/osgTerrain/DataSet, src/osgTerrain/DataSet.cpp: 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 - - * include/osgUtil/RenderStage: Missing part of Farshid Laskari's - submission relating to CameraNode RenderOrder. - -2006-09-04 13:22 robert - - * src/osgWrappers/osg/CameraNode.cpp, - src/osgWrappers/osg/TexMat.cpp, - src/osgWrappers/osgTerrain/DataSet.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp: Updated wrappers - -2006-09-04 13:15 robert - - * include/osg/CameraNode, src/osg/CameraNode.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/RenderStage.cpp: 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." - -2006-09-04 12:52 robert - - * examples/osgtexturerectangle/osgtexturerectangle.cpp: Cleaned up - the texture setup code. - -2006-09-04 12:46 robert - - * examples/osgtexturerectangle/osgtexturerectangle.cpp, - include/osg/TexMat, src/osg/TexMat.cpp, - src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/TexMat.cpp, - src/osgPlugins/osg/TexMat.cpp: 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-09-04 06:51 robert - - * src/osgPlugins/scale/ReaderWriterSCALE.cpp: From Farshid - Lashkari, removed debug message being written to the console. - -2006-09-04 06:47 robert - - * examples/osgintrospection/osgintrospection.cpp: Removed typedef - TypeList from osgintrospection - -2006-09-02 14:27 robert - - * examples/osgshaderterrain/osgshaderterrain.cpp: Added setting of - position.w to 1.0 and removed zscale hack. - -2006-09-01 13:34 robert - - * src/osgWrappers/osg/AlphaFunc.cpp, - src/osgWrappers/osg/AnimationPath.cpp, - src/osgWrappers/osg/ApplicationUsage.cpp, - src/osgWrappers/osg/ArgumentParser.cpp, - src/osgWrappers/osg/Array.cpp, - src/osgWrappers/osg/AutoTransform.cpp, - src/osgWrappers/osg/Billboard.cpp, - src/osgWrappers/osg/BlendColor.cpp, - src/osgWrappers/osg/BlendEquation.cpp, - src/osgWrappers/osg/BlendFunc.cpp, - src/osgWrappers/osg/BoundingBox.cpp, - src/osgWrappers/osg/BoundingSphere.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/CameraNode.cpp, - src/osgWrappers/osg/CameraView.cpp, - src/osgWrappers/osg/ClampColor.cpp, - src/osgWrappers/osg/ClearNode.cpp, - src/osgWrappers/osg/ClipNode.cpp, - src/osgWrappers/osg/ClipPlane.cpp, - src/osgWrappers/osg/ClusterCullingCallback.cpp, - src/osgWrappers/osg/CollectOccludersVisitor.cpp, - src/osgWrappers/osg/ColorMask.cpp, - src/osgWrappers/osg/ColorMatrix.cpp, - src/osgWrappers/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/osg/ConvexPlanarPolygon.cpp, - src/osgWrappers/osg/CoordinateSystemNode.cpp, - src/osgWrappers/osg/CopyOp.cpp, src/osgWrappers/osg/CullFace.cpp, - src/osgWrappers/osg/CullSettings.cpp, - src/osgWrappers/osg/CullStack.cpp, - src/osgWrappers/osg/CullingSet.cpp, - src/osgWrappers/osg/Depth.cpp, - src/osgWrappers/osg/DisplaySettings.cpp, - src/osgWrappers/osg/DrawPixels.cpp, - src/osgWrappers/osg/Drawable.cpp, src/osgWrappers/osg/Endian.cpp, - src/osgWrappers/osg/Fog.cpp, - src/osgWrappers/osg/FragmentProgram.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osg/FrameStamp.cpp, - src/osgWrappers/osg/FrontFace.cpp, - src/osgWrappers/osg/GL2Extensions.cpp, - src/osgWrappers/osg/Geode.cpp, src/osgWrappers/osg/Geometry.cpp, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/GraphicsThread.cpp, - src/osgWrappers/osg/Group.cpp, src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/ImageStream.cpp, src/osgWrappers/osg/LOD.cpp, - src/osgWrappers/osg/Light.cpp, - src/osgWrappers/osg/LightModel.cpp, - src/osgWrappers/osg/LightSource.cpp, - src/osgWrappers/osg/LineSegment.cpp, - src/osgWrappers/osg/LineStipple.cpp, - src/osgWrappers/osg/LineWidth.cpp, - src/osgWrappers/osg/LogicOp.cpp, - src/osgWrappers/osg/Material.cpp, src/osgWrappers/osg/Matrix.cpp, - src/osgWrappers/osg/MatrixTransform.cpp, - src/osgWrappers/osg/Matrixd.cpp, src/osgWrappers/osg/Matrixf.cpp, - src/osgWrappers/osg/Multisample.cpp, - src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/NodeCallback.cpp, - src/osgWrappers/osg/NodeTrackerCallback.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osg/Notify.cpp, src/osgWrappers/osg/Object.cpp, - src/osgWrappers/osg/OccluderNode.cpp, - src/osgWrappers/osg/PagedLOD.cpp, src/osgWrappers/osg/Plane.cpp, - src/osgWrappers/osg/Point.cpp, - src/osgWrappers/osg/PointSprite.cpp, - src/osgWrappers/osg/PolygonMode.cpp, - src/osgWrappers/osg/PolygonOffset.cpp, - src/osgWrappers/osg/PolygonStipple.cpp, - src/osgWrappers/osg/Polytope.cpp, - src/osgWrappers/osg/PositionAttitudeTransform.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osg/Program.cpp, - src/osgWrappers/osg/Projection.cpp, - src/osgWrappers/osg/ProxyNode.cpp, src/osgWrappers/osg/Quat.cpp, - src/osgWrappers/osg/Referenced.cpp, - src/osgWrappers/osg/Scissor.cpp, - src/osgWrappers/osg/Sequence.cpp, - src/osgWrappers/osg/ShadeModel.cpp, - src/osgWrappers/osg/Shader.cpp, - src/osgWrappers/osg/ShadowVolumeOccluder.cpp, - src/osgWrappers/osg/Shape.cpp, - src/osgWrappers/osg/ShapeDrawable.cpp, - src/osgWrappers/osg/State.cpp, - src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/StateSet.cpp, - src/osgWrappers/osg/Stencil.cpp, src/osgWrappers/osg/Switch.cpp, - src/osgWrappers/osg/TexEnv.cpp, - src/osgWrappers/osg/TexEnvCombine.cpp, - src/osgWrappers/osg/TexEnvFilter.cpp, - src/osgWrappers/osg/TexGen.cpp, - src/osgWrappers/osg/TexGenNode.cpp, - src/osgWrappers/osg/TexMat.cpp, src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osg/Texture1D.cpp, - src/osgWrappers/osg/Texture2D.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/TextureCubeMap.cpp, - src/osgWrappers/osg/TextureRectangle.cpp, - src/osgWrappers/osg/Timer.cpp, src/osgWrappers/osg/Transform.cpp, - src/osgWrappers/osg/Uniform.cpp, src/osgWrappers/osg/Vec2.cpp, - src/osgWrappers/osg/Vec2b.cpp, src/osgWrappers/osg/Vec2d.cpp, - src/osgWrappers/osg/Vec2f.cpp, src/osgWrappers/osg/Vec2s.cpp, - src/osgWrappers/osg/Vec3.cpp, src/osgWrappers/osg/Vec3b.cpp, - src/osgWrappers/osg/Vec3d.cpp, src/osgWrappers/osg/Vec3f.cpp, - src/osgWrappers/osg/Vec3s.cpp, src/osgWrappers/osg/Vec4.cpp, - src/osgWrappers/osg/Vec4b.cpp, src/osgWrappers/osg/Vec4d.cpp, - src/osgWrappers/osg/Vec4f.cpp, src/osgWrappers/osg/Vec4s.cpp, - src/osgWrappers/osg/Vec4ub.cpp, - src/osgWrappers/osg/VertexProgram.cpp, - src/osgWrappers/osg/Viewport.cpp, - src/osgWrappers/osg/observer_ptr.cpp, - src/osgWrappers/osgDB/Archive.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/DotOsgWrapper.cpp, - src/osgWrappers/osgDB/DynamicLibrary.cpp, - src/osgWrappers/osgDB/Field.cpp, - src/osgWrappers/osgDB/FieldReader.cpp, - src/osgWrappers/osgDB/FieldReaderIterator.cpp, - src/osgWrappers/osgDB/FileUtils.cpp, - src/osgWrappers/osgDB/ImageOptions.cpp, - src/osgWrappers/osgDB/Input.cpp, - src/osgWrappers/osgDB/Output.cpp, - src/osgWrappers/osgDB/ParameterOutput.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgDB/ReentrantMutex.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgDB/SharedStateManager.cpp, - src/osgWrappers/osgFX/AnisotropicLighting.cpp, - src/osgWrappers/osgFX/BumpMapping.cpp, - src/osgWrappers/osgFX/Cartoon.cpp, - src/osgWrappers/osgFX/Effect.cpp, - src/osgWrappers/osgFX/MultiTextureControl.cpp, - src/osgWrappers/osgFX/Registry.cpp, - src/osgWrappers/osgFX/Scribe.cpp, - src/osgWrappers/osgFX/SpecularHighlights.cpp, - src/osgWrappers/osgFX/Technique.cpp, - src/osgWrappers/osgFX/Validator.cpp, - src/osgWrappers/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/osgGA/DriveManipulator.cpp, - src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgGA/EventVisitor.cpp, - src/osgWrappers/osgGA/FlightManipulator.cpp, - src/osgWrappers/osgGA/GUIActionAdapter.cpp, - src/osgWrappers/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/osgGA/GUIEventHandler.cpp, - src/osgWrappers/osgGA/GUIEventHandlerVisitor.cpp, - src/osgWrappers/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/osgGA/MatrixManipulator.cpp, - src/osgWrappers/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/osgGA/SetSceneViewVisitor.cpp, - src/osgWrappers/osgGA/StateSetManipulator.cpp, - src/osgWrappers/osgGA/TerrainManipulator.cpp, - src/osgWrappers/osgGA/TrackballManipulator.cpp, - src/osgWrappers/osgGA/UFOManipulator.cpp, - src/osgWrappers/osgParticle/AccelOperator.cpp, - src/osgWrappers/osgParticle/AngularAccelOperator.cpp, - src/osgWrappers/osgParticle/BoxPlacer.cpp, - src/osgWrappers/osgParticle/CenteredPlacer.cpp, - src/osgWrappers/osgParticle/ConnectedParticleSystem.cpp, - src/osgWrappers/osgParticle/ConstantRateCounter.cpp, - src/osgWrappers/osgParticle/Counter.cpp, - src/osgWrappers/osgParticle/Emitter.cpp, - src/osgWrappers/osgParticle/ExplosionDebrisEffect.cpp, - src/osgWrappers/osgParticle/ExplosionEffect.cpp, - src/osgWrappers/osgParticle/FireEffect.cpp, - src/osgWrappers/osgParticle/FluidFrictionOperator.cpp, - src/osgWrappers/osgParticle/FluidProgram.cpp, - src/osgWrappers/osgParticle/ForceOperator.cpp, - src/osgWrappers/osgParticle/Interpolator.cpp, - src/osgWrappers/osgParticle/LinearInterpolator.cpp, - src/osgWrappers/osgParticle/ModularEmitter.cpp, - src/osgWrappers/osgParticle/ModularProgram.cpp, - src/osgWrappers/osgParticle/MultiSegmentPlacer.cpp, - src/osgWrappers/osgParticle/Operator.cpp, - src/osgWrappers/osgParticle/Particle.cpp, - src/osgWrappers/osgParticle/ParticleEffect.cpp, - src/osgWrappers/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/osgParticle/Placer.cpp, - src/osgWrappers/osgParticle/PointPlacer.cpp, - src/osgWrappers/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/osgParticle/Program.cpp, - src/osgWrappers/osgParticle/RadialShooter.cpp, - src/osgWrappers/osgParticle/RandomRateCounter.cpp, - src/osgWrappers/osgParticle/SectorPlacer.cpp, - src/osgWrappers/osgParticle/SegmentPlacer.cpp, - src/osgWrappers/osgParticle/Shooter.cpp, - src/osgWrappers/osgParticle/SmokeEffect.cpp, - src/osgWrappers/osgParticle/SmokeTrailEffect.cpp, - src/osgWrappers/osgParticle/VariableRateCounter.cpp, - src/osgWrappers/osgParticle/range.cpp, - src/osgWrappers/osgProducer/Export.cpp, - src/osgWrappers/osgProducer/GraphicsContextImplementation.cpp, - src/osgWrappers/osgProducer/KeyboardMouseCallback.cpp, - src/osgWrappers/osgProducer/OsgCameraGroup.cpp, - src/osgWrappers/osgProducer/OsgSceneHandler.cpp, - src/osgWrappers/osgProducer/Viewer.cpp, - src/osgWrappers/osgProducer/ViewerEventHandler.cpp, - src/osgWrappers/osgSim/BlinkSequence.cpp, - src/osgWrappers/osgSim/ColorRange.cpp, - src/osgWrappers/osgSim/DOFTransform.cpp, - src/osgWrappers/osgSim/GeographicLocation.cpp, - src/osgWrappers/osgSim/Impostor.cpp, - src/osgWrappers/osgSim/ImpostorSprite.cpp, - src/osgWrappers/osgSim/InsertImpostorsVisitor.cpp, - src/osgWrappers/osgSim/LightPoint.cpp, - src/osgWrappers/osgSim/LightPointNode.cpp, - src/osgWrappers/osgSim/LightPointSystem.cpp, - src/osgWrappers/osgSim/MultiSwitch.cpp, - src/osgWrappers/osgSim/OpenFlightOptimizer.cpp, - src/osgWrappers/osgSim/OverlayNode.cpp, - src/osgWrappers/osgSim/ScalarBar.cpp, - src/osgWrappers/osgSim/ScalarsToColors.cpp, - src/osgWrappers/osgSim/Sector.cpp, - src/osgWrappers/osgSim/SphereSegment.cpp, - src/osgWrappers/osgSim/VisibilityGroup.cpp, - src/osgWrappers/osgTerrain/DataSet.cpp, - src/osgWrappers/osgTerrain/HeightFieldNode.cpp, - src/osgWrappers/osgTerrain/HeightFieldRenderer.cpp, - src/osgWrappers/osgText/Export.cpp, - src/osgWrappers/osgText/Font.cpp, - src/osgWrappers/osgText/String.cpp, - src/osgWrappers/osgText/Text.cpp, - src/osgWrappers/osgUtil/CubeMapGenerator.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/DelaunayTriangulator.cpp, - src/osgWrappers/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/osgUtil/HalfWayMapGenerator.cpp, - src/osgWrappers/osgUtil/HighlightMapGenerator.cpp, - src/osgWrappers/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp, - src/osgWrappers/osgUtil/PositionalStateContainer.cpp, - src/osgWrappers/osgUtil/ReflectionMapGenerator.cpp, - src/osgWrappers/osgUtil/RenderBin.cpp, - src/osgWrappers/osgUtil/RenderLeaf.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp, - src/osgWrappers/osgUtil/SceneView.cpp, - src/osgWrappers/osgUtil/Simplifier.cpp, - src/osgWrappers/osgUtil/SmoothingVisitor.cpp, - src/osgWrappers/osgUtil/StateGraph.cpp, - src/osgWrappers/osgUtil/Statistics.cpp, - src/osgWrappers/osgUtil/TangentSpaceGenerator.cpp, - src/osgWrappers/osgUtil/Tesselator.cpp, - src/osgWrappers/osgUtil/TransformAttributeFunctor.cpp, - src/osgWrappers/osgUtil/TransformCallback.cpp, - src/osgWrappers/osgUtil/TriStripVisitor.cpp, - src/osgWrappers/osgUtil/UpdateVisitor.cpp: Updated wrappers - -2006-09-01 13:22 robert - - * src/osgIntrospection/DefaultReflectors.cpp: From David Callu, add - reflection of std::wstring in the DefaultReflector - -2006-09-01 12:52 robert - - * VisualStudio/osgIntrospection/osgIntrospection.dsp, - include/osgIntrospection/PublicMemberAccessor, - include/osgIntrospection/ReaderWriter, - include/osgIntrospection/ReflectionMacros, - include/osgIntrospection/Reflector, - include/osgIntrospection/Type, include/osgIntrospection/Value, - src/osgIntrospection/DefaultReflectors.cpp, - src/osgIntrospection/Type.cpp, src/osgIntrospection/Value.cpp: - 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-09-01 12:46 robert - - * include/osgText/String, src/osgText/String.cpp: Removed the - String inhertiance from osg::Referenced. - -2006-08-31 20:55 robert - - * include/osg/Version: Updated Version number for 1.2 release - -2006-08-31 20:54 robert - - * src/osg/Version.cpp, src/osgDB/Version.cpp, - src/osgGA/Version.cpp, src/osgParticle/Version.cpp, - src/osgProducer/Version.cpp, src/osgSim/Version.cpp, - src/osgTerrain/Version.cpp, src/osgText/Version.cpp, - src/osgUtil/Version.cpp: Updated version numbers of the up - comming 1.2 release - -2006-08-31 20:48 robert - - * src/osg/GLExtensions.cpp: 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." - -2006-08-31 20:26 robert - - * NEWS.txt: Updated NEWS for 1.2 release and added COLLADA plugin - -2006-08-31 15:47 robert - - * src/osgProducer/OsgCameraGroup.cpp: Fixed typo on - OSG_PROCESSOR_AFFINITY env var. - -2006-08-31 15:39 robert - - * src/osgUtil/Optimizer.cpp: Fixed TextureAtlasVisitor bug where - repeating textures were incorrectly assigned as non repeating. - -2006-08-31 13:53 robert - - * src/osgPlugins/ive/ProxyNode.cpp: Changed the external file - writing to use the DatabasePathList for its path rather - than the original files path. - -2006-08-31 10:37 robert - - * src/osgWrappers/osg/CameraNode.cpp: Updated wrappers - -2006-08-31 10:10 robert - - * include/osg/CameraNode: Made the inheritance of osg::Object in - the DrawCallback to be virtual. - -2006-08-31 10:08 robert - - * src/osgUtil/SceneView.cpp: Added support for CameraNode's - PostDrawCallback. - -2006-08-30 19:33 robert - - * NEWS.txt: Added GPU stats to NEWS list - -2006-08-30 19:21 robert - - * NEWS.txt: Updated NEWS for rc2 - -2006-08-30 16:33 robert - - * src/osgUtil/Optimizer.cpp: To TextureAtlasBuilder add copying of - border pixels into margins to help improve quality of lower - mipmap levels. - -2006-08-30 13:50 robert - - * VisualStudio/applications/osgarchive/osgarchive.dsp, - VisualStudio/applications/osgconv/osgconv.dsp, - VisualStudio/applications/osgdem/osgdem.dsp, - VisualStudio/applications/osgversion/osgversion.dsp, - VisualStudio/applications/osgviewer/osgviewer.dsp, - VisualStudio/examples/osgGLUTkeyboardmouse/osgGLUTkeyboardmouse.dsp, - VisualStudio/examples/osgGLUTsimple/osgGLUTsimple.dsp, - VisualStudio/examples/osganimate/osganimate.dsp, - VisualStudio/examples/osgautotransform/osgautotransform.dsp, - VisualStudio/examples/osgbillboard/osgbillboard.dsp, - VisualStudio/examples/osgblendequation/osgblendequation.dsp, - VisualStudio/examples/osgbluemarble/osgbluemarble.dsp, - VisualStudio/examples/osgcallback/osgcallback.dsp, - VisualStudio/examples/osgcamera/osgcamera.dsp, - VisualStudio/examples/osgcameragroup/osgcameragroup.dsp, - VisualStudio/examples/osgcatch/osgcatch.dsp, - VisualStudio/examples/osgclip/osgclip.dsp, - VisualStudio/examples/osgcluster/osgcluster.dsp, - VisualStudio/examples/osgcopy/osgcopy.dsp, - VisualStudio/examples/osgcubemap/osgcubemap.dsp, - VisualStudio/examples/osgdelaunay/osgdelaunay.dsp, - VisualStudio/examples/osgdepthpartition/osgdepthpartition.dsp, - VisualStudio/examples/osgdepthshadow/osgdepthshadow.dsp, - VisualStudio/examples/osgdistortion/osgdistortion.dsp, - VisualStudio/examples/osgforest/osgforest.dsp, - VisualStudio/examples/osggeodemo/osggeodemo.dsp, - VisualStudio/examples/osggeometry/osggeometry.dsp, - VisualStudio/examples/osghangglide/osghangglide.dsp, - VisualStudio/examples/osghud/osghud.dsp, - VisualStudio/examples/osgimpostor/osgimpostor.dsp, - VisualStudio/examples/osgintrospection/example_osgintrospection.dsp, - VisualStudio/examples/osgkeyboard/osgkeyboard.dsp, - VisualStudio/examples/osgkeyboardmouse/osgkeyboardmouse.dsp, - VisualStudio/examples/osglauncher/osglauncher.dsp, - VisualStudio/examples/osglight/osglight.dsp, - VisualStudio/examples/osglightpoint/osglightpoint.dsp, - VisualStudio/examples/osglogicop/osglogicop.dsp, - VisualStudio/examples/osglogo/osglogo.dsp, - VisualStudio/examples/osgmotionblur/osgmotionblur.dsp, - VisualStudio/examples/osgmovie/osgmovie.dsp, - VisualStudio/examples/osgmultiplecameras/osgmultiplecameras.dsp, - VisualStudio/examples/osgmultitexture/osgmultitexture.dsp, - VisualStudio/examples/osgoccluder/osgoccluder.dsp, - VisualStudio/examples/osgpagedlod/osgpagedlod.dsp, - VisualStudio/examples/osgparametric/osgparametric.dsp, - VisualStudio/examples/osgparticle/osgparticledemo.dsp, - VisualStudio/examples/osgparticleeffects/osgparticleeffects.dsp, - VisualStudio/examples/osgphotoalbum/osgphotoalbum.dsp, - VisualStudio/examples/osgpick/osgpick.dsp, - VisualStudio/examples/osgplanets/osgplanets.dsp, - VisualStudio/examples/osgpoints/osgpoints.dsp, - VisualStudio/examples/osgpointsprite/osgpointsprite.dsp, - VisualStudio/examples/osgprecipitation/osgprecipitation.dsp, - VisualStudio/examples/osgprerender/osgprerender.dsp, - VisualStudio/examples/osgprerendercubemap/osgprerendercubemap.dsp, - VisualStudio/examples/osgreflect/osgreflect.dsp, - VisualStudio/examples/osgscalarbar/osgscalarbar.dsp, - VisualStudio/examples/osgscribe/osgscribe.dsp, - VisualStudio/examples/osgsequence/osgsequence.dsp, - VisualStudio/examples/osgshaders/osgshaders.dsp, - VisualStudio/examples/osgshaderterrain/osgshaderterrain.dsp, - VisualStudio/examples/osgshadowtexture/osgshadowtexture.dsp, - VisualStudio/examples/osgshape/osgshape.dsp, - VisualStudio/examples/osgsimple/osgsimple.dsp, - VisualStudio/examples/osgsimplepager/osgsimplepager.dsp, - VisualStudio/examples/osgsimplifier/osgsimplifier.dsp, - VisualStudio/examples/osgsimulation/osgsimulation.dsp, - VisualStudio/examples/osgslice/osgslice.dsp, - VisualStudio/examples/osgspacewarp/osgspacewarp.dsp, - VisualStudio/examples/osgspheresegment/osgspheresegment.dsp, - VisualStudio/examples/osgspotlight/osgspotlight.dsp, - VisualStudio/examples/osgstereoimage/osgstereoimage.dsp, - VisualStudio/examples/osgteapot/osgteapot.dsp, - VisualStudio/examples/osgtesselate/osgtesselate.dsp, - VisualStudio/examples/osgtext/osgtextdemo.dsp, - VisualStudio/examples/osgtexture1D/osgtexture1D.dsp, - VisualStudio/examples/osgtexture2D/osgtexture2D.dsp, - VisualStudio/examples/osgtexture3D/osgtexture3D.dsp, - VisualStudio/examples/osgtexturerectangle/osgtexturerectangle.dsp, - VisualStudio/examples/osgunittests/osgunittests.dsp, - VisualStudio/examples/osgvertexprogram/osgvertexprogram.dsp, - VisualStudio/examples/osgvolume/osgvolume.dsp, - VisualStudio/examples/osgwindows/osgwindows.dsp, - VisualStudio/osg/osg.dsp, VisualStudio/osgDB/osgDB.dsp, - VisualStudio/osgFX/osgFX.dsp, VisualStudio/osgGA/osgGA.dsp, - VisualStudio/osgIntrospection/osgIntrospection.dsp, - VisualStudio/osgParticle/osgParticle.dsp, - VisualStudio/osgPlugins/3dc/3dc.dsp, - VisualStudio/osgPlugins/ESRIShape/ESRIShape.dsp, - VisualStudio/osgPlugins/OpenFlight/OpenFlight.dsp, - VisualStudio/osgPlugins/ac3d/ac3d.dsp, - VisualStudio/osgPlugins/bmp/bmp.dsp, - VisualStudio/osgPlugins/bsp/bsp.dsp, - VisualStudio/osgPlugins/dae/dae.dsp, - VisualStudio/osgPlugins/dds/dds.dsp, - VisualStudio/osgPlugins/directx/directx.dsp, - VisualStudio/osgPlugins/dw/dw.dsp, - VisualStudio/osgPlugins/dxf/dxf.dsp, - VisualStudio/osgPlugins/flt/flt.dsp, - VisualStudio/osgPlugins/freetype/freetype.dsp, - VisualStudio/osgPlugins/gdal/gdal.dsp, - VisualStudio/osgPlugins/geo/geo.dsp, - VisualStudio/osgPlugins/gif/gif.dsp, - VisualStudio/osgPlugins/hdr/hdr.dsp, - VisualStudio/osgPlugins/ive/ive.dsp, - VisualStudio/osgPlugins/jp2/jp2.dsp, - VisualStudio/osgPlugins/jpeg/jpeg.dsp, - VisualStudio/osgPlugins/lib3ds/lib3ds.dsp, - VisualStudio/osgPlugins/logo/logo.dsp, - VisualStudio/osgPlugins/lwo/lwo.dsp, - VisualStudio/osgPlugins/lws/lws.dsp, - VisualStudio/osgPlugins/md2/md2.dsp, - VisualStudio/osgPlugins/net/net.dsp, - VisualStudio/osgPlugins/normals/normals.dsp, - VisualStudio/osgPlugins/obj/obj.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, - VisualStudio/osgPlugins/osgFX/dot_osgFX.dsp, - VisualStudio/osgPlugins/osgParticle/dot_osgParticle.dsp, - VisualStudio/osgPlugins/osgSim/dot_osgSim.dsp, - VisualStudio/osgPlugins/osgText/dot_osgText.dsp, - VisualStudio/osgPlugins/osga/osga.dsp, - VisualStudio/osgPlugins/osgtgz/osgtgz.dsp, - VisualStudio/osgPlugins/pfb/pfb.dsp, - VisualStudio/osgPlugins/pic/pic.dsp, - VisualStudio/osgPlugins/png/png.dsp, - VisualStudio/osgPlugins/pnm/pnm.dsp, - VisualStudio/osgPlugins/rgb/rgb.dsp, - VisualStudio/osgPlugins/rot/rot.dsp, - VisualStudio/osgPlugins/scale/scale.dsp, - VisualStudio/osgPlugins/stl/stl.dsp, - VisualStudio/osgPlugins/tga/tga.dsp, - VisualStudio/osgPlugins/tgz/tgz.dsp, - VisualStudio/osgPlugins/tiff/tiff.dsp, - VisualStudio/osgPlugins/trans/trans.dsp, - VisualStudio/osgPlugins/txp/txp.dsp, - VisualStudio/osgPlugins/zip/zip.dsp, - VisualStudio/osgProducer/osgProducer.dsp, - VisualStudio/osgSim/osgSim.dsp, - VisualStudio/osgTerrain/osgTerrain.dsp, - VisualStudio/osgText/osgText.dsp, - VisualStudio/osgUtil/osgUtil.dsp, - VisualStudio/osgWrappers/osg/wrapper_osg.dsp, - VisualStudio/osgWrappers/osgDB/wrapper_osgDB.dsp, - VisualStudio/osgWrappers/osgFX/wrapper_osgFX.dsp, - VisualStudio/osgWrappers/osgGA/wrapper_osgGA.dsp, - VisualStudio/osgWrappers/osgParticle/wrapper_osgParticle.dsp, - VisualStudio/osgWrappers/osgProducer/wrapper_osgProducer.dsp, - VisualStudio/osgWrappers/osgSim/wrapper_osgSim.dsp, - VisualStudio/osgWrappers/osgTerrain/wrapper_osgTerrain.dsp, - VisualStudio/osgWrappers/osgText/wrapper_osgText.dsp, - VisualStudio/osgWrappers/osgUtil/wrapper_osgUtil.dsp: From Mike - Wittman, changed release build options to reduce binary bloat. - -2006-08-30 09:32 robert - - * src/osgUtil/Optimizer.cpp: 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 - - * src/osgUtil/Optimizer.cpp: 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-08-29 12:31 robert - - * src/osgWrappers/osgText/Font.cpp, - src/osgWrappers/osgUtil/Statistics.cpp: Updated wrappers - -2006-08-29 11:25 robert - - * src/osgProducer/ViewerEventHandler.cpp: Added GPU stats - -2006-08-29 06:58 robert - - * include/osg/TexMat: Added TexMat(Matrix) constructor. - -2006-08-29 00:10 don - - * src/osgUtil/DelaunayTriangulator.cpp: Fixed a crash in - removeInternalTriangles() for models without normals. - -2006-08-28 19:37 robert - - * include/osgText/Font, src/osgText/Font.cpp, src/osgText/Text.cpp: - Added TexEnv object into Font and apply this in - Text::drawImplementation to make - sure that a valid TexEnv is applied - -2006-08-28 19:07 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. - * src/osgPlugins/ac3d/ac3d.cpp: From Roger James, improved mapping - of AC3D lighting model to OSG +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. -2006-08-28 19:06 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." - * include/osgUtil/Statistics: Added support for logging StateSet - usage in StatsVisitor. +Wed, 3 Feb 2010 09:35:36 +0000 +Checked in by : Robert Osfield +Added #define for GL3 build -2006-08-28 19:05 robert +Wed, 3 Feb 2010 09:35:05 +0000 +Checked in by : Robert Osfield +Added #defines for GL3 build - * src/osgUtil/Optimizer.cpp: Added env var docs +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. -2006-08-28 19:01 robert +Tue, 2 Feb 2010 11:02:42 +0000 +Checked in by : Robert Osfield +Fixed indentation. - * include/osgUtil/Tesselator, src/osgUtil/Tesselator.cpp: 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." +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 -2006-08-28 15:46 robert +Sun, 31 Jan 2010 18:23:35 +0000 +Checked in by : Robert Osfield +From Jan Peciva, improvements to Inventor find operation - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp: Futher work - on TextureAtlasBuilder/Visitor, now functioning enough to deploy - on real models. +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. -2006-08-28 10:49 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." - * src/osgWrappers/osg/TexMat.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp: Updated wrappers -2006-08-28 10:46 robert - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp: Further - work on TextureAlasBuilder and TextureAtlasVisitor. +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 -2006-08-26 21:38 robert +Wed, 27 Jan 2010 15:00:01 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgUtil/Optimizer.cpp: Further work of TextureAtlasBuilder +Wed, 27 Jan 2010 13:12:49 +0000 +Checked in by : Robert Osfield +Updated wrappers -2006-08-25 16:31 robert +Wed, 27 Jan 2010 13:12:26 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgWrappers/osg/Image.cpp, src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp: Updated wrappers +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... -2006-08-25 16:30 robert +The example osg-data/example.osg should be remove, it's an old example +that does not work. - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp: Further - work on new TextureAtlasBuilder. +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. +" -2006-08-25 15:53 robert - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp: Checking in - first cut of new osgUtil::Optimizer::TextureAtlasBuilder class - for building texture atlas for sets of images or textures. -2006-08-25 15:49 robert +Tue, 26 Jan 2010 17:07:11 +0000 +Checked in by : Robert Osfield +Updated wrappers - * include/osg/Image, src/osg/Image.cpp: Added missing setDataType - and setPacking functions +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. -2006-08-25 14:54 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. - * include/osg/Texture: Added const version of getReadPBuffer() +In PixelBufferX11 was no support, so I've added GLX_LARGEST_PBUFFER(_SGIX) support, with the same writeback to the _trais. -2006-08-25 14:53 robert - * include/osg/Texture: Fixed const correctness of get shadow - functions +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. -2006-08-25 09:03 robert - * src/osgWrappers/osg/BufferObject.cpp: Updated wrappers +"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." -2006-08-25 08:48 robert - * include/osg/BufferObject, src/osg/BufferObject.cpp, - src/osg/Texture.cpp, src/osg/TextureRectangle.cpp: 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." -2006-08-25 08:42 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. - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Eric Wing, updates to Xcode project +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 -2006-08-24 20:16 robert +Tue, 26 Jan 2010 16:48:55 +0000 +Checked in by : Robert Osfield +Added .get() to fix build - * include/osg/Math: 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." +Tue, 26 Jan 2010 16:41:53 +0000 +Checked in by : Robert Osfield +Updated wrappers -2006-08-24 20:15 robert +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. +" - * include/osg/Endian: Simplified swap bytes code to make it more - efficient. -2006-08-24 16:33 robert - * src/osg/Image.cpp: Add error message report to catch attempts to - flip mipmap images. +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 -2006-08-24 13:16 robert +Fix: +Add the QT_QTCORE_INCLUDE_DIR to the CMakeList.txt file - * Make/makedirdefs: Fixed COLLDADA plugin name and remove osgmove - example +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}) +" -2006-08-23 15:25 robert - * src/osgPlugins/dds/ReaderWriterDDS.cpp: 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, 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); - * src/osgPlugins/dae/README.txt: From Jeremy Moles, fixed typos +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). +" -2006-08-23 14:17 robert - * include/osg/Math: From Daniel Larimer, fix for OSX 10.4 when gcc - != 4 -2006-08-23 13:32 robert +Tue, 26 Jan 2010 14:57:44 +0000 +Checked in by : Robert Osfield +Removal of redundant spaces at ends of lines - * Make/dependencies, Make/makedirdefs, VisualStudio/osgPlugins/dae, - VisualStudio/osgPlugins/dae/dae.dsp, src/osgPlugins/dae, - src/osgPlugins/dae/GNUmakefile, src/osgPlugins/dae/README.txt, - src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeRSceneObjects.cpp, - src/osgPlugins/dae/daeRTransforms.cpp, - src/osgPlugins/dae/daeReader.cpp, src/osgPlugins/dae/daeReader.h, - src/osgPlugins/dae/daeUtils.h, - src/osgPlugins/dae/daeWGeometry.cpp, - src/osgPlugins/dae/daeWMaterials.cpp, - src/osgPlugins/dae/daeWSceneObjects.cpp, - src/osgPlugins/dae/daeWTransforms.cpp, - src/osgPlugins/dae/daeWriter.cpp, src/osgPlugins/dae/daeWriter.h, - src/osgPlugins/dae/domSourceReader.cpp, - src/osgPlugins/dae/domSourceReader.h, - src/osgPlugins/dae/scea_shared_source_license.html: From Andrew - Lorino and Mike Weiblen, COLLADA 1.4.1 ReaderWriter, kindly - developed and donated by Sony Computer Entertainment Inc. US R&D. +Tue, 26 Jan 2010 14:54:46 +0000 +Checked in by : Robert Osfield +updated wrappers -2006-08-23 13:18 robert +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. - * examples/osgunittests/osgunittests.cpp: Added sizeof(short int) - -2006-08-23 13:16 robert - - * examples/osglogo/osglogo.cpp: Tweaks to osglogo to allow you to - export alpha blended screenshots - -2006-08-22 19:10 don - - * src/osgPlugins/ESRIShape/ESRIShapeParser.cpp: Added - osgUtil::Tesselator for SHapeType Polygon to handle concave - polygons. - -2006-08-22 13:07 robert - - * src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: 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-08-22 12:49 robert - * VisualStudio/osgShell.bat: From Gary Quinn, updated to take - account of new bin directory structure. -2006-08-22 12:46 robert +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)" - * VisualStudio/collect_mangled_names.js: From Joran Jessurun, - updated to look for lib/win32. -2006-08-22 12:33 robert - * src/osgText/Text.cpp: 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. +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) -2006-08-22 10:23 robert +Problem does not show when OSG_STEREO=OFF. - * include/osgText/Text, src/osgText/Text.cpp: From Eric Wing, fix - for compute of the bounding box when handling outline/backdrop - text. -2006-08-21 21:09 robert +< 976 else _cullVisitor->traverse(*_camera); +> 976 else cullVisitor->traverse(*_camera); - * src/osgDB/FileUtils.cpp: From Eric Wing, compile fix for OSX +Looks like a typo, and removing the _ does fix the problem." -2006-08-21 21:00 robert - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Eric Wing, updates to Xcode projects -2006-08-21 20:29 robert +Tue, 26 Jan 2010 10:37:38 +0000 +Checked in by : Robert Osfield +Changed doxygen comments to signal deprecation of this old IO classes - * include/osgGA/EventQueue: Added comments on the meaning of button - value +Mon, 25 Jan 2010 18:08:15 +0000 +Checked in by : Robert Osfield +Removed inapprorpiate OSGDB_EXPORT -2006-08-21 15:07 robert +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. - * src/osgPlugins/lib3ds/ReaderWriter3DS.cpp, - src/osgPlugins/lib3ds/chunk.cpp, src/osgPlugins/lib3ds/mesh.cpp, - src/osgPlugins/lib3ds/readwrite.cpp, - src/osgPlugins/lib3ds/readwrite.h, src/osgPlugins/lib3ds/types.h: - Fixed 64 bit support +Mon, 25 Jan 2010 15:25:16 +0000 +Checked in by : Robert Osfield +Updated wrappers -2006-08-14 19:42 robert +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. - * include/osg/Texture, src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2D.cpp, src/osg/Texture3D.cpp, - src/osg/TextureCubeMap.cpp, src/osg/TextureRectangle.cpp: 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. +Mon, 25 Jan 2010 12:48:25 +0000 +Checked in by : Robert Osfield +Removed deprecated classes -2006-08-14 11:03 robert +Mon, 25 Jan 2010 11:40:18 +0000 +Checked in by : Robert Osfield +Added back in StreamOperation with executation bit disabled - * src/osgPlugins/txp/trpage_header.cpp, - src/osgPlugins/txp/trpage_io.h, - src/osgPlugins/txp/trpage_label.cpp, - src/osgPlugins/txp/trpage_light.cpp, - src/osgPlugins/txp/trpage_managers.cpp, - src/osgPlugins/txp/trpage_managers.h, - src/osgPlugins/txp/trpage_material.cpp, - src/osgPlugins/txp/trpage_pparse.cpp, - src/osgPlugins/txp/trpage_readbuf.cpp, - src/osgPlugins/txp/trpage_scene.cpp, - src/osgPlugins/txp/trpage_warchive.cpp, - src/osgPlugins/txp/trpage_write.h, - src/osgPlugins/txp/trpage_writebuf.cpp: Ran dos2unix to fix - inconsistent line endings +Mon, 25 Jan 2010 11:39:42 +0000 +Checked in by : Robert Osfield +Temporily removed StreamOperation as it had execution bit enable for it. -2006-08-14 07:59 robert +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. - * src/osgPlugins/OpenFlight/PrimaryRecords.cpp: 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." +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. -2006-08-13 20:12 robert +Fri, 22 Jan 2010 20:35:11 +0000 +Checked in by : Robert Osfield +Seting the notifcation level of debug message to INFO. - * ChangeLog: Updated ChangeLog for 1.1.1 release +Fri, 22 Jan 2010 16:13:28 +0000 +Checked in by : Robert Osfield +Reverted fixes for Mingw as they break OSX build -2006-08-13 08:40 robert +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. - * AUTHORS.txt, ChangeLog, NEWS.txt, - applications/osgversion/osgversion.cpp: Updated ChangeLog, NEWS, - osgversion and AUTHORS.txt for 1.1.1 release -2006-08-13 08:24 robert - * src/osgPlugins/obj/ReaderWriterOBJ.cpp: Changed the texture wrap - mode to repeat +Thu, 21 Jan 2010 16:26:48 +0000 +Checked in by : Robert Osfield +Added extra export for windows build -2006-08-13 07:37 robert +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 - * src/osgParticle/PrecipitationEffect.cpp, - src/osgPlugins/OpenFlight/Pools.h, - src/osgSim/OpenFlightOptimizer.cpp: From Chuck Sembroski, fixes - for IRIX +Thu, 21 Jan 2010 13:17:51 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project -2006-08-12 18:19 robert +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. - * src/osg/CullStack.cpp, src/osgUtil/CullVisitor.cpp: 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 +Thu, 21 Jan 2010 09:25:45 +0000 +Checked in by : Robert Osfield +From Wang Rui, added exports for windows build -2006-08-12 08:29 robert +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 - * src/osg/Version.cpp, src/osgDB/Version.cpp, - src/osgGA/Version.cpp, src/osgParticle/Version.cpp, - src/osgProducer/Version.cpp, src/osgSim/Version.cpp, - src/osgTerrain/Version.cpp, src/osgText/Version.cpp, - src/osgUtil/Version.cpp: Updated version number for 1.1.1 release -2006-08-12 07:59 robert - * AUTHORS.txt, ChangeLog, applications/osgversion/osgversion.cpp: - Updated ChangelLog and AUTHORS file +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 -2006-08-12 07:43 robert +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 - * Xcode/OpenSceneGraph/OpenSceneGraph.xcode: Removed Xcode 1.x - projects +Tue, 19 Jan 2010 12:36:57 +0000 +Checked in by : Robert Osfield +Added CmakeList.txt for new wrapper plugins -2006-08-11 21:48 robert +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 - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/osgfbo-Info.plist, - Xcode/OpenSceneGraph/osgpbuffer-Info.plist: From Radu Mihai, - removed osgfbo and osgpbuffer projects +Tue, 19 Jan 2010 12:24:55 +0000 +Checked in by : Robert Osfield +Inserted /introspection/ into path of osgIntrospection wrappers -2006-08-11 21:39 robert +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 - * src/osgGA/GUIEventAdapter.cpp: Added osg:: to Referenced() to fix - IRIX build. +Tue, 19 Jan 2010 09:54:42 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode projects -2006-08-11 19:56 don +Mon, 18 Jan 2010 20:49:40 +0000 +Checked in by : Robert Osfield +Added introspection directory - * src/osgPlugins/net/ReaderWriterNET.cpp: removed CRLF and replaced - with LF in ReaderWriteNET.cpp +Mon, 18 Jan 2010 19:56:16 +0000 +Checked in by : Robert Osfield +Regenerated introspection wrappers in their new location -2006-08-11 18:23 robert +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 - * src/osgWrappers/osgUtil/Optimizer.cpp: Updated wrappers +Mon, 18 Jan 2010 16:39:12 +0000 +Checked in by : Robert Osfield +Added #include for Mingw build -2006-08-11 18:22 robert +Mon, 18 Jan 2010 16:38:07 +0000 +Checked in by : Robert Osfield +Restructure the includes of freetype - * src/osgProducer/OsgCameraGroup.cpp: Fixed if (numProcessors>1), - was originally >= +Mon, 18 Jan 2010 14:27:20 +0000 +Checked in by : Robert Osfield +From Jean-Sebastien Guay, build fixes for Mingw -2006-08-11 17:39 don +Mon, 18 Jan 2010 13:00:41 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/net/ReaderWriterNET.cpp: Added comments to support - use of Proxy in the .net plugin. +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." -2006-08-11 17:34 don +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. - * src/osgPlugins/net/ReaderWriterNET.cpp: Submission by Carlo - Camporesi - Added Proxy support to .net loader +Thu, 14 Jan 2010 15:15:42 +0000 +Checked in by : Robert Osfield +Added setting of the charcode during construction of osgText::Font::Glyph() -2006-08-11 16:03 robert +Thu, 14 Jan 2010 15:15:08 +0000 +Checked in by : Robert Osfield +Updated so version - * include/osgUtil/Optimizer: Fixed value of FLATTEN_BILLBOARDS - enum. +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 -2006-08-11 13:06 robert +Wed, 13 Jan 2010 18:50:17 +0000 +Checked in by : Robert Osfield +Updated wrappers and supported shadow texture formats - * src/osgPlugins/ESRIShape/ESRIShapeReaderWriter.cpp: Added file - search path to ESRI reader. +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. -2006-08-11 12:53 robert +Wed, 13 Jan 2010 14:57:02 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osg/Group.cpp: Fixed bug in Group::setChild relating to the - accounting for OccluderNode. +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. -2006-08-11 12:39 robert +Wed, 13 Jan 2010 13:31:03 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgProducer/OsgCameraGroup.cpp: Moved the - OpenThreads::GetNumberOfProcessors() inside the if - (_enableProcessAffinitHint) block to - avoid slowing down init of apps that don't require procesor - affinity. - -2006-08-11 11:05 robert - - * src/osgProducer/GraphicsContextImplementation.cpp, - src/osgUtil/RenderStage.cpp: Fixed pbuffer usage cross multiple - graphics contexts - -2006-08-11 11:04 robert - - * NEWS.txt: Updated NEWS for rc1 - -2006-08-11 09:50 robert - - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - AUTHORS file - -2006-08-11 09:30 robert - - * ChangeLog, Make/makedirdefs, VisualStudio/OpenSceneGraph.dsw, - VisualStudio/examples/osgfbo, VisualStudio/examples/osgpbuffer, - examples/osgfbo, examples/osgpbuffer: Removed osgfbo and - osgpbuffer examples - -2006-08-11 09:13 robert - - * NEWS.txt: Updated NEWS - -2006-08-10 20:50 robert - - * VisualStudio/reset-64bit-outdirs.pl: From Mike Wittman, perl - script to assist W64 support. - -2006-08-10 20:32 robert - - * VisualStudio/MUST_READ_ME.txt, - VisualStudio/applications/osgarchive/osgarchive.dsp, - VisualStudio/applications/osgconv/osgconv.dsp, - VisualStudio/applications/osgdem/osgdem.dsp, - VisualStudio/applications/osgversion/osgversion.dsp, - VisualStudio/applications/osgviewer/osgviewer.dsp, - VisualStudio/examples/osgGLUTkeyboardmouse/osgGLUTkeyboardmouse.dsp, - VisualStudio/examples/osgGLUTsimple/osgGLUTsimple.dsp, - VisualStudio/examples/osganimate/osganimate.dsp, - VisualStudio/examples/osgautotransform/osgautotransform.dsp, - VisualStudio/examples/osgbillboard/osgbillboard.dsp, - VisualStudio/examples/osgblendequation/osgblendequation.dsp, - VisualStudio/examples/osgbluemarble/osgbluemarble.dsp, - VisualStudio/examples/osgcallback/osgcallback.dsp, - VisualStudio/examples/osgcamera/osgcamera.dsp, - VisualStudio/examples/osgcameragroup/osgcameragroup.dsp, - VisualStudio/examples/osgcatch/osgcatch.dsp, - VisualStudio/examples/osgclip/osgclip.dsp, - VisualStudio/examples/osgcluster/osgcluster.dsp, - VisualStudio/examples/osgcopy/osgcopy.dsp, - VisualStudio/examples/osgcubemap/osgcubemap.dsp, - VisualStudio/examples/osgdelaunay/osgdelaunay.dsp, - VisualStudio/examples/osgdepthpartition/osgdepthpartition.dsp, - VisualStudio/examples/osgdepthshadow/osgdepthshadow.dsp, - VisualStudio/examples/osgdistortion/osgdistortion.dsp, - VisualStudio/examples/osgfbo/osgfbo.dsp, - VisualStudio/examples/osgforest/osgforest.dsp, - VisualStudio/examples/osgfxbrowser/osgfxbrowser.dsp, - VisualStudio/examples/osggeodemo/osggeodemo.dsp, - VisualStudio/examples/osggeometry/osggeometry.dsp, - VisualStudio/examples/osghangglide/osghangglide.dsp, - VisualStudio/examples/osghud/osghud.dsp, - VisualStudio/examples/osgimpostor/osgimpostor.dsp, - VisualStudio/examples/osgintrospection/example_osgintrospection.dsp, - VisualStudio/examples/osgkeyboard/osgkeyboard.dsp, - VisualStudio/examples/osgkeyboardmouse/osgkeyboardmouse.dsp, - VisualStudio/examples/osglauncher/osglauncher.dsp, - VisualStudio/examples/osglight/osglight.dsp, - VisualStudio/examples/osglightpoint/osglightpoint.dsp, - VisualStudio/examples/osglogicop/osglogicop.dsp, - VisualStudio/examples/osglogo/osglogo.dsp, - VisualStudio/examples/osgmotionblur/osgmotionblur.dsp, - VisualStudio/examples/osgmovie/osgmovie.dsp, - VisualStudio/examples/osgmultiplecameras/osgmultiplecameras.dsp, - VisualStudio/examples/osgmultitexture/osgmultitexture.dsp, - VisualStudio/examples/osgoccluder/osgoccluder.dsp, - VisualStudio/examples/osgpagedlod/osgpagedlod.dsp, - VisualStudio/examples/osgparametric/osgparametric.dsp, - VisualStudio/examples/osgparticle/osgparticledemo.dsp, - VisualStudio/examples/osgparticleeffects/osgparticleeffects.dsp, - VisualStudio/examples/osgpbuffer/osgpbuffer.dsp, - VisualStudio/examples/osgphotoalbum/osgphotoalbum.dsp, - VisualStudio/examples/osgpick/osgpick.dsp, - VisualStudio/examples/osgplanets/osgplanets.dsp, - VisualStudio/examples/osgpoints/osgpoints.dsp, - VisualStudio/examples/osgpointsprite/osgpointsprite.dsp, - VisualStudio/examples/osgprecipitation/osgprecipitation.dsp, - VisualStudio/examples/osgprerender/osgprerender.dsp, - VisualStudio/examples/osgprerendercubemap/osgprerendercubemap.dsp, - VisualStudio/examples/osgreflect/osgreflect.dsp, - VisualStudio/examples/osgscalarbar/osgscalarbar.dsp, - VisualStudio/examples/osgscribe/osgscribe.dsp, - VisualStudio/examples/osgsequence/osgsequence.dsp, - VisualStudio/examples/osgshaders/osgshaders.dsp, - VisualStudio/examples/osgshaderterrain/osgshaderterrain.dsp, - VisualStudio/examples/osgshadowtexture/osgshadowtexture.dsp, - VisualStudio/examples/osgshape/osgshape.dsp, - VisualStudio/examples/osgsimple/osgsimple.dsp, - VisualStudio/examples/osgsimplepager/osgsimplepager.dsp, - VisualStudio/examples/osgsimplifier/osgsimplifier.dsp, - VisualStudio/examples/osgsimulation/osgsimulation.dsp, - VisualStudio/examples/osgslice/osgslice.dsp, - VisualStudio/examples/osgspacewarp/osgspacewarp.dsp, - VisualStudio/examples/osgspheresegment/osgspheresegment.dsp, - VisualStudio/examples/osgspotlight/osgspotlight.dsp, - VisualStudio/examples/osgstereoimage/osgstereoimage.dsp, - VisualStudio/examples/osgteapot/osgteapot.dsp, - VisualStudio/examples/osgtesselate/osgtesselate.dsp, - VisualStudio/examples/osgtext/osgtextdemo.dsp, - VisualStudio/examples/osgtexture1D/osgtexture1D.dsp, - VisualStudio/examples/osgtexture2D/osgtexture2D.dsp, - VisualStudio/examples/osgtexture3D/osgtexture3D.dsp, - VisualStudio/examples/osgtexturerectangle/osgtexturerectangle.dsp, - VisualStudio/examples/osgunittests/osgunittests.dsp, - VisualStudio/examples/osgvertexprogram/osgvertexprogram.dsp, - VisualStudio/examples/osgvolume/osgvolume.dsp, - VisualStudio/examples/osgwindows/osgwindows.dsp, - VisualStudio/osg/osg.dsp, VisualStudio/osgDB/osgDB.dsp, - VisualStudio/osgFX/osgFX.dsp, VisualStudio/osgGA/osgGA.dsp, - VisualStudio/osgIntrospection/osgIntrospection.dsp, - VisualStudio/osgParticle/osgParticle.dsp, - VisualStudio/osgPlugins/3dc/3dc.dsp, - VisualStudio/osgPlugins/ESRIShape/ESRIShape.dsp, - VisualStudio/osgPlugins/OpenFlight/OpenFlight.dsp, - VisualStudio/osgPlugins/ac3d/ac3d.dsp, - VisualStudio/osgPlugins/bmp/bmp.dsp, - VisualStudio/osgPlugins/bsp/bsp.dsp, - VisualStudio/osgPlugins/dds/dds.dsp, - VisualStudio/osgPlugins/directx/directx.dsp, - VisualStudio/osgPlugins/dw/dw.dsp, - VisualStudio/osgPlugins/dxf/dxf.dsp, - VisualStudio/osgPlugins/flt/flt.dsp, - VisualStudio/osgPlugins/freetype/freetype.dsp, - VisualStudio/osgPlugins/gdal/gdal.dsp, - VisualStudio/osgPlugins/geo/geo.dsp, - VisualStudio/osgPlugins/gif/gif.dsp, - VisualStudio/osgPlugins/hdr/hdr.dsp, - VisualStudio/osgPlugins/ive/ive.dsp, - VisualStudio/osgPlugins/jp2/jp2.dsp, - VisualStudio/osgPlugins/jpeg/jpeg.dsp, - VisualStudio/osgPlugins/lib3ds/lib3ds.dsp, - VisualStudio/osgPlugins/logo/logo.dsp, - VisualStudio/osgPlugins/lwo/lwo.dsp, - VisualStudio/osgPlugins/lws/lws.dsp, - VisualStudio/osgPlugins/md2/md2.dsp, - VisualStudio/osgPlugins/net/net.dsp, - VisualStudio/osgPlugins/normals/normals.dsp, - VisualStudio/osgPlugins/obj/obj.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, - VisualStudio/osgPlugins/osgFX/dot_osgFX.dsp, - VisualStudio/osgPlugins/osgParticle/dot_osgParticle.dsp, - VisualStudio/osgPlugins/osgSim/dot_osgSim.dsp, - VisualStudio/osgPlugins/osgText/dot_osgText.dsp, - VisualStudio/osgPlugins/osga/osga.dsp, - VisualStudio/osgPlugins/osgtgz/osgtgz.dsp, - VisualStudio/osgPlugins/pfb/pfb.dsp, - VisualStudio/osgPlugins/pic/pic.dsp, - VisualStudio/osgPlugins/png/png.dsp, - VisualStudio/osgPlugins/pnm/pnm.dsp, - VisualStudio/osgPlugins/rgb/rgb.dsp, - VisualStudio/osgPlugins/rot/rot.dsp, - VisualStudio/osgPlugins/scale/scale.dsp, - VisualStudio/osgPlugins/stl/stl.dsp, - VisualStudio/osgPlugins/tga/tga.dsp, - VisualStudio/osgPlugins/tgz/tgz.dsp, - VisualStudio/osgPlugins/tiff/tiff.dsp, - VisualStudio/osgPlugins/trans/trans.dsp, - VisualStudio/osgPlugins/txp/txp.dsp, - VisualStudio/osgPlugins/zip/zip.dsp, - VisualStudio/osgProducer/osgProducer.dsp, - VisualStudio/osgSim/osgSim.dsp, - VisualStudio/osgTerrain/osgTerrain.dsp, - VisualStudio/osgText/osgText.dsp, - VisualStudio/osgUtil/osgUtil.dsp, - VisualStudio/osgWrappers/osg/wrapper_osg.dsp, - VisualStudio/osgWrappers/osgDB/wrapper_osgDB.dsp, - VisualStudio/osgWrappers/osgFX/wrapper_osgFX.dsp, - VisualStudio/osgWrappers/osgGA/wrapper_osgGA.dsp, - VisualStudio/osgWrappers/osgParticle/wrapper_osgParticle.dsp, - VisualStudio/osgWrappers/osgProducer/wrapper_osgProducer.dsp, - VisualStudio/osgWrappers/osgSim/wrapper_osgSim.dsp, - VisualStudio/osgWrappers/osgTerrain/wrapper_osgTerrain.dsp, - VisualStudio/osgWrappers/osgText/wrapper_osgText.dsp, - VisualStudio/osgWrappers/osgUtil/wrapper_osgUtil.dsp: From Mike - Wittman, support for VS 64bit build - -2006-08-10 15:53 robert - - * src/osgProducer/OsgCameraGroup.cpp: Moved all platform specific - processor out of osgProducer and into OpenThreads - -2006-08-10 13:12 robert - - * src/osgPlugins/pfb/ConvertFromPerformer.cpp: 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" - - ------------------------------------------------ - -2006-08-10 12:13 robert - - * examples/osgtext/osgtext.cpp: From Martijn Kragtwijk, added - example text for showing osgText::Text::CharacterSizeMode in - action. - -2006-08-10 11:08 robert - - * src/osgPlugins/pnm/ReaderWriterPNM.cpp: 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 - - * ChangeLog, include/osg/Math: 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 - - * include/osgUtil/Optimizer: Addd a setNodeMaskOverride(0xffffffff) - to cope with models that are hiding - subgraphs that still need to be accounted for when optimizer. - -2006-08-10 06:20 robert - - * src/osgText/Text.cpp: Commented out the _textBB contribution of - outline/backdrops to fix bounding box problem. - -2006-08-09 13:02 robert - - * VisualStudio/LANGEXT.DAT, VisualStudio/highlight70.reg, - VisualStudio/highlight71.reg, VisualStudio/highlight80.reg, - Xcode/OpenSceneGraph/OpenSceneGraph.xcode/project.pbxproj, - Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/XcodeTemplates/OSG Application/osgApp_Prefix.pch, - include/osg/UByte4: Removed referecens to the deprecate UByte4 +Wed, 13 Jan 2010 13:30:45 +0000 +Checked in by : Robert Osfield +Changed get methods to new style ones. -2006-08-09 12:56 robert +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: - * src/osgWrappers/osg/ValueTypeCandidates.txt: Added Vec4ub and - removed UByte4 +inline void setTextureWidth(int width) const ... -2006-08-09 10:09 robert +to: - * src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/VertexRecords.cpp: Added nan dectecion - and error reporting +inline void setTextureWidth(int width) ..." -2006-08-08 16:08 robert +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. - * src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: Added - TESSELATE_GEOMETRY to Optimizer pass to fix z fighting issues. -2006-08-08 14:57 robert - * src/osgProducer/OsgCameraGroup.cpp: Added extra defined(CPU_SET) - to try and get round RH8 compile problems. -2006-08-08 11:59 robert +Wed, 13 Jan 2010 13:09:48 +0000 +Checked in by : Robert Osfield +Added missing .get()'s - * src/osgPlugins/OpenFlight/PaletteRecords.cpp: Fixed backColor - implementation for LightPointAppearancePalette. +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<> -2006-08-08 11:27 robert +Wed, 13 Jan 2010 10:46:40 +0000 +Checked in by : Robert Osfield +From Sukender, warning fix. - * include/osgProducer/OsgCameraGroup, - src/osgProducer/OsgCameraGroup.cpp, - src/osgWrappers/osgProducer/OsgCameraGroup.cpp: Added support for - --affinity command line option for switch on procesor affinity - where supported, +Tue, 12 Jan 2010 11:12:06 +0000 +Checked in by : Robert Osfield +Convert dos line endings -2006-08-08 11:26 robert +Tue, 12 Jan 2010 10:00:24 +0000 +Checked in by : Robert Osfield +Updated wrappers - * NEWS.txt: First pass at updating NEWS for the up comming 1.1.1 - release +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." -2006-08-08 11:23 robert - * src/osgPlugins/OpenFlight/PrimaryRecords.cpp: 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-08-08 10:41 robert +Mon, 11 Jan 2010 17:27:09 +0000 +Checked in by : Robert Osfield +Added missing .get() - * src/osgProducer/ViewerEventHandler.cpp: Fixed the positioning of - the graphical stats bars so that they don't overlap - the stats text +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. -2006-08-06 16:49 robert +Mon, 11 Jan 2010 16:03:13 +0000 +Checked in by : Robert Osfield +Added desctructor with jas_cleanup(). - * src/osgProducer/OsgCameraGroup.cpp: Added preliminary support for - process affinity support under Linux. +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)" -2006-08-06 16:42 robert +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")." - * examples/osgshadowtexture/CreateShadowedScene.cpp: Removed - debugging code. +Fri, 8 Jan 2010 11:47:31 +0000 +Checked in by : Robert Osfield +Updated wrappers -2006-08-05 20:39 robert +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. +" - * src/osgDB/Registry.cpp: Added fix to code catching error results - ReadResult's to first instance of checking the - value of ReadResult. -2006-08-05 20:36 robert - * src/osgDB/Registry.cpp: 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. +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. " -2006-08-05 16:57 robert +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 +" - * examples/osgtext/osgtext.cpp: Added code to reproduce Text - outline bounding box compute bug. -2006-08-05 11:12 robert - * examples/osgcegui/osgcegui.cpp: Added disable vertex arrays. +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. " -2006-08-05 10:16 robert +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) +" - * examples/osgcegui, examples/osgcegui/GNUmakefile, - examples/osgcegui/GNUmakefile.inst, - examples/osgcegui/osgcegui.cpp: Added osgcegui example +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. -2006-08-04 13:17 robert - * src/osg/Geometry.cpp: From Uwe Woessner, implementated by Robert - Osfield, Fixed vertex attribute bug, changed - _vertexAttribList[unit] -> _vertexAttribList[index] -2006-08-03 19:14 robert +Fri, 8 Jan 2010 10:12:02 +0000 +Checked in by : Robert Osfield +Added newline at end of file to fix warning - * src/osgDB/DatabasePager.cpp: 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(). +Thu, 7 Jan 2010 19:13:40 +0000 +Checked in by : Robert Osfield +Fixed writing out of ATOM. -2006-08-03 16:04 robert +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 - * src/osgWrappers/osg/CameraNode.cpp, - src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osg/Texture1D.cpp, - src/osgWrappers/osg/Texture2D.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/TextureCubeMap.cpp, - src/osgWrappers/osg/TextureRectangle.cpp: Updated wrappers - -2006-08-03 15:57 robert - - * examples/osgshadowtexture/CreateShadowedScene.cpp, - include/osg/CameraNode, include/osg/Texture, - include/osg/Texture1D, include/osg/Texture2D, - include/osg/Texture3D, include/osg/TextureCubeMap, - include/osg/TextureRectangle, src/osgUtil/RenderStage.cpp: Fixed - RenderToTexture bug which occured when the viewport dimensions - where - different than the texture being written to. - -2006-08-03 14:03 robert - - * examples/osgtext/osgtext.cpp: Removed debug code - -2006-08-03 13:35 robert - - * src/osg/StateSet.cpp: Changed: - - static TextureGLModeSet s_textureGLModeSet; - - To: - - static TextureGLModeSet& getTextureGLModeSet() - { - static TextureGLModeSet s_textureGLModeSet; - return s_textureGLModeSet; - } - - to prevent static initialization problems under static builds. - -2006-08-03 13:12 robert - - * src/osgText/Font.cpp: Added OSG_TEXT_INCREMENTAL_SUBLOADING - ON/OFF env var check to osgText::Font - to optional disable the incremental subloading. - -2006-08-02 21:09 robert - - * examples/osgtext/osgtext.cpp, src/osgWrappers/osg/Matrixd.cpp, - src/osgWrappers/osg/Matrixf.cpp, - src/osgWrappers/osgTerrain/DataSet.cpp, - src/osgWrappers/osgText/Font.cpp, - src/osgWrappers/osgText/Text.cpp: Updated wrappers - -2006-08-02 21:05 robert - - * include/osgText/Font, include/osgText/Text, src/osgText/Font.cpp, - src/osgText/Text.cpp: 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 - - * examples/osgforest/osgforest.cpp: Added missing include - - -2006-08-02 19:56 robert - - * applications/osgviewer/osgviewer.cpp: tweaked comment. - -2006-08-02 19:55 robert - - * examples/osganimate/osganimate.cpp, - examples/osgautotransform/osgautotransform.cpp, - examples/osgbillboard/osgbillboard.cpp, - examples/osgblendequation/osgblendequation.cpp, - examples/osgcallback/osgcallback.cpp, - examples/osgcatch/osgcatch.cpp, examples/osgclip/osgclip.cpp, - examples/osgcluster/osgcluster.cpp, examples/osgcopy/osgcopy.cpp, - examples/osgcubemap/osgcubemap.cpp, - examples/osgdelaunay/osgdelaunay.cpp, - examples/osgdepthshadow/osgdepthshadow.cpp, - examples/osgdistortion/osgdistortion.cpp, - examples/osgforest/osgforest.cpp, - examples/osgfxbrowser/osgfxbrowser.cpp, - examples/osggeodemo/osggeodemo.cpp, - examples/osggeometry/osggeometry.cpp, examples/osghud/osghud.cpp, - examples/osgimpostor/osgimpostor.cpp, - examples/osgkeyboard/osgkeyboard.cpp, - examples/osglauncher/osglauncher.cpp, - examples/osglight/osglight.cpp, - examples/osglightpoint/osglightpoint.cpp, - examples/osglogicop/osglogicop.cpp, examples/osglogo/osglogo.cpp, - examples/osgmotionblur/osgmotionblur.cpp, - examples/osgmovie/osgmovie.cpp, - examples/osgmultiplecameras/osgmultiplecameras.cpp, - examples/osgmultitexture/osgmultitexture.cpp, - examples/osgoccluder/osgoccluder.cpp, - examples/osgparametric/osgparametric.cpp, - examples/osgparticle/osgparticle.cpp, - examples/osgparticleeffects/osgparticleeffects.cpp, - examples/osgphotoalbum/osgphotoalbum.cpp, - examples/osgpick/osgpick.cpp, examples/osgplanets/osgplanets.cpp, - examples/osgpoints/osgpoints.cpp, - examples/osgpointsprite/osgpointsprite.cpp, - examples/osgprecipitation/osgprecipitation.cpp, - examples/osgprerender/osgprerender.cpp, - examples/osgprerendercubemap/osgprerendercubemap.cpp, - examples/osgreflect/osgreflect.cpp, - examples/osgscalarbar/osgscalarbar.cpp, - examples/osgscribe/osgscribe.cpp, - examples/osgsequence/osgsequence.cpp, - examples/osgshaders/osgshaders.cpp, - examples/osgshaderterrain/osgshaderterrain.cpp, - examples/osgshadowtexture/osgshadowtexture.cpp, - examples/osgshape/osgshape.cpp, - examples/osgsimplifier/osgsimplifier.cpp, - examples/osgsimulation/osgsimulation.cpp, - examples/osgspacewarp/osgspacewarp.cpp, - examples/osgspheresegment/osgspheresegment.cpp, - examples/osgspotlight/osgspotlight.cpp, - examples/osgstereoimage/osgstereoimage.cpp, - examples/osgteapot/osgteapot.cpp, examples/osgtext/osgtext.cpp, - examples/osgtexture1D/osgtexture1D.cpp, - examples/osgtexture2D/osgtexture2D.cpp, - examples/osgtexture3D/osgtexture3D.cpp, - examples/osgtexturerectangle/osgtexturerectangle.cpp, - examples/osgvertexprogram/osgvertexprogram.cpp, - examples/osgvolume/osgvolume.cpp: Added viewer.cleanup_frame() to - all examples. - -2006-08-02 16:14 robert - - * include/osg/State, src/osg/State.cpp: 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-08-02 16:12 robert - - * examples/osgtesselate/osgtesselate.cpp: Added cleanup_frame to - prevent crashes on exit. - -2006-08-02 15:41 robert - - * src/osg/Texture.cpp: 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-08-02 11:36 robert - - * src/osgSim/OverlayNode.cpp: Fixed crash due on multipipe systems - due by moving the local camera update code from the cull into the - update traversal. - -2006-08-02 10:43 robert - - * Make/makedefs, include/osg/GLU, include/osg/Math, - include/osg/NodeTrackerCallback, include/osg/Texture, - include/osgDB/ReaderWriter, include/osgGA/NodeTrackerManipulator, - src/osgPlugins/OpenFlight/ControlRecords.cpp, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/OpenFlight/Pools.cpp, - src/osgPlugins/OpenFlight/Record.cpp, - src/osgPlugins/OpenFlight/Record.h, - src/osgPlugins/bsp/BSPLoad.cpp, src/osgPlugins/bsp/BSPLoad.h, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/net/sockstream.cpp: From Daniel Trstenjak, build - fixes for Hpux 11.11, Irix 6.5, Solaris 8 and Aix - -2006-08-01 13:08 robert - - * src/osgProducer/KeyboardMouseCallback.cpp: Fixed - doubleButtonPress. - -2006-08-01 10:27 robert - - * examples/osghangglide/osghangglide.cpp: Changed the - viewer.setUpViewer(..) from default to just ESCAPE_SETS_DONE. - -2006-07-31 20:56 robert - - * include/osgTerrain/DataSet, src/osgTerrain/DataSet.cpp: 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." - -2006-07-31 17:31 robert - - * examples/osghangglide/GliderManipulator.cpp, - examples/osgimpostor/TestManipulator.cpp, - examples/osgprerendercubemap/osgprerendercubemap.cpp, - examples/osgunittests/osgunittests.cpp, - examples/osgvertexprogram/osgvertexprogram.cpp, - include/osg/Export, include/osg/Matrixd, include/osg/Matrixf, - src/osg/AutoTransform.cpp, src/osg/Matrix_implementation.cpp, - src/osg/NodeTrackerCallback.cpp, src/osg/Quat.cpp, - src/osgGA/DriveManipulator.cpp, src/osgGA/FlightManipulator.cpp, - src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, - src/osgGA/TrackballManipulator.cpp, src/osgProducer/Viewer.cpp, - src/osgWrappers/osg/Matrixd.cpp, src/osgWrappers/osg/Matrixf.cpp: - Added Matrix*::getRotate()/setRotate(Quat), deprecating - Matrix*::get(Quat&), Matrix*::set(Quat&) - -2006-07-31 14:49 robert - - * include/osg/Matrixd, include/osg/Matrixf: Tweaked the invert() - method to avoid silly OSX warnings. - -2006-07-29 16:47 robert - - * include/osgProducer/OsgSceneHandler, - include/osgProducer/ViewerEventHandler, - include/osgUtil/Statistics, src/osgProducer/OsgSceneHandler.cpp, - src/osgProducer/ViewerEventHandler.cpp, - src/osgWrappers/osgProducer/OsgSceneHandler.cpp, - src/osgWrappers/osgUtil/Statistics.cpp: Fixed - multi-threaded/multi-pipe crash when primitive stats where output - in osgProducer::Viewer's stats. - -2006-07-28 13:48 robert - - * examples/osgunittests/osgunittests.cpp, include/osg/Matrixd, - include/osg/Matrixf, src/osg/Matrix_implementation.cpp, - src/osgWrappers/osg/Matrixd.cpp, src/osgWrappers/osg/Matrixf.cpp, - src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osgGA/EventQueue.cpp: 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 - -2006-07-27 16:41 robert - - * src/osgTerrain/DataSet.cpp: 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-27 15:23 robert - - * src/osg/Matrix_implementation.cpp: 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..." +Thu, 7 Jan 2010 17:36:44 +0000 +Checked in by : Robert Osfield +From Jean-Sebastien Guay, fixed handling of < tag /> xml syntax -2006-07-27 12:32 robert +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." - * include/osgGA/EventQueue, src/osgGA/EventQueue.cpp: From Michael - Polak, double click fixes/additions +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) -2006-07-27 11:58 robert +Quick Synopsis: - * src/osgProducer/ViewerEventHandler.cpp: From Eric Wing, add - outline to help text to make it easier to read on different - coloured backgrounds +New functions: -2006-07-27 11:25 robert +State::applyModeOnTexUnit +State::applyAttributeOnTexUnit +State::applyModeMapOnTexUnit +State::applyAttributeMapOnTexUnit +State::applyModeListOnTexUnit +State::applyAttributeListOnTexUnit - * VisualStudio/osgPlugins/ERSIShape: Remove ERSIShape directory. +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). -2006-07-27 11:22 robert +State::apply (*2) +State::applyTextureAttribute - * VisualStudio/osgPlugins/ESRIShape/ESRIShape.dsp: 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." +Changed to call the above functions and no longer call setActiveTextureUnit +themselves. -2006-07-27 11:22 robert +State::setActiveTextureUnit - * src/osgPlugins/pfb/ConvertFromPerformer.cpp: Added #define - snprintf _snprintf for Win32 build +Made inline, so the benefit of having applyModeOnTexUnit (etc) inline +is retained. +" -2006-07-27 11:14 robert - * src/osg/Matrix_implementation.cpp: From David Spilling, fix to - Matrix::get(Quat&) -2006-07-27 11:13 robert +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. - * examples/osgunittests/osgunittests.cpp: From J.P. Delport, added - units tests to pick up on erroneous Matrix::get(Quat&) - computation. -2006-07-26 15:29 robert - * include/osg/DisplaySettings, include/osg/Texture, - include/osg/buffered_value, src/osg/BufferObject.cpp, - src/osg/DisplaySettings.cpp, src/osg/Drawable.cpp, - src/osg/FragmentProgram.cpp, src/osg/FrameBufferObject.cpp, - src/osg/Program.cpp, src/osg/Shader.cpp, src/osg/Texture.cpp, - src/osg/VertexProgram.cpp, src/osgProducer/OsgCameraGroup.cpp: - Cleaned up per context buffers support +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. -2006-07-26 15:19 robert +Thu, 7 Jan 2010 10:01:26 +0000 +Checked in by : Robert Osfield +Fixed warnings - * runexamples.bat: Added osgprecipitation to runexamples list. +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)." -2006-07-25 20:43 robert +Thu, 7 Jan 2010 09:43:54 +0000 +Checked in by : Robert Osfield +Imporoved spacing - * examples/osgcatch/osgcatch.cpp: Force SingelThreaded usage due to - use of osgParticle. +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(..) -2006-07-25 13:52 robert +Wed, 6 Jan 2010 15:43:06 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgText/Text.cpp: Fixed auto rotate bug. +Wed, 6 Jan 2010 10:41:14 +0000 +Checked in by : Robert Osfield +Fixed type of index to int. -2006-07-19 21:49 robert +Tue, 5 Jan 2010 20:03:02 +0000 +Checked in by : Robert Osfield +Replaced nullptr with isNullPointer - * Make/makedefs: Set release number back to 0 after release +Tue, 5 Jan 2010 11:15:17 +0000 +Checked in by : Robert Osfield +Updated wrappers -2006-07-19 21:11 robert +Tue, 5 Jan 2010 11:15:03 +0000 +Checked in by : Robert Osfield +Added support for call root Camera CullCallbacks - * ChangeLog, README.txt: Updated ChangedLog and READE for the 1.1 - release +Tue, 5 Jan 2010 11:10:21 +0000 +Checked in by : Robert Osfield +Fixed indentation -2006-07-19 20:56 robert +Tue, 5 Jan 2010 11:09:18 +0000 +Checked in by : Robert Osfield +Added set/getDistance() method - * src/osgUtil/RenderBin.cpp: 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. +Mon, 4 Jan 2010 15:54:57 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode-project -2006-07-19 19:49 robert +Tue, 22 Dec 2009 14:09:46 +0000 +Checked in by : Cedric Pinson +From Cedric Pinson, remove unused file Skinning, cleanup file Timeline.cpp - * src/osgWrappers/osgUtil/IntersectVisitor.cpp: UPdated wrappers +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. -2006-07-19 19:45 robert +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! - * src/osgUtil/IntersectVisitor.cpp: Fixed error in enum, completely - perplexed how the error got in... +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." -2006-07-19 17:39 don - * include/osgUtil/IntersectVisitor: Fixed HEIGHEST misspelling to - HIGHEST -2006-07-19 15:20 robert +Wed, 16 Dec 2009 12:17:45 +0000 +Checked in by : Robert Osfield +Removed old texture object manage code. - * src/osgProducer/ViewerEventHandler.cpp: Reverted to LODScale - keyboard adjustment +Tue, 15 Dec 2009 17:25:12 +0000 +Checked in by : Robert Osfield +From Sukender, warning fix -2006-07-19 15:10 robert +Tue, 15 Dec 2009 15:55:24 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode-project - * src/osgPlugins/txp/trpage_pparse.cpp: Warning fixes +Tue, 15 Dec 2009 14:45:33 +0000 +Checked in by : Robert Osfield +Fixed compile warnings -2006-07-19 15:07 robert +Tue, 15 Dec 2009 14:44:12 +0000 +Checked in by : Robert Osfield +Fixed compile warnings - * src/osgPlugins/net/sockstream.cpp: Warning fix +Tue, 15 Dec 2009 14:40:06 +0000 +Checked in by : Robert Osfield +Fixed warning -2006-07-19 14:46 robert +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. - * src/osgPlugins/OpenFlight/AttrData.cpp: Added extra initializes +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 -2006-07-19 14:30 robert +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)" - * src/osgPlugins/ac3d/ac3d.cpp: Added dummy initializers to avoid - warning +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 -2006-07-19 14:04 robert +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 - * src/osgProducer/KeyboardMouseCallback.cpp, - src/osgProducer/Viewer.cpp: Added reset of the event windowSize +Mon, 14 Dec 2009 12:50:57 +0000 +Checked in by : Robert Osfield +Added checked against QT webkit being available -2006-07-19 13:02 robert +Mon, 14 Dec 2009 12:49:59 +0000 +Checked in by : Robert Osfield +Fixed warnings - * examples/osgcatch/osgcatch.cpp, - examples/osgtexture3D/osgtexture3D.cpp: Added mutexes to - RealizeCallbaks +Thu, 10 Dec 2009 17:52:40 +0000 +Checked in by : Robert Osfield +From Stephan Huber, "attached you'll find the missing GraphicsHandleCocoa-implementation." -2006-07-19 12:58 robert +Thu, 10 Dec 2009 12:58:05 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and README.txt for 2.9.6 dev release - * examples/osgshaderterrain/osgshaderterrain.cpp: Added scene - handler init to custom realize callback +Thu, 10 Dec 2009 12:14:24 +0000 +Checked in by : Robert Osfield +Updated AUTHORS file for 2.9.6 dev release -2006-07-19 12:35 robert +Thu, 10 Dec 2009 12:13:13 +0000 +Checked in by : Robert Osfield +Updated Contributors list to workaround typos in ChangeLog - * src/osgProducer/Viewer.cpp: Moved sync to before the keyboard - mouse startThread to try to avoid some - threading issue on start up of some apps. - -2006-07-19 11:25 robert - - * src/osgPlugins/OpenFlight/LightPointRecords.cpp: Fixed handling - of back colour. - -2006-07-19 08:39 robert - - * src/osgPlugins/ive/LightPointNode.cpp: Changed code creating - LightPoint on heap to use the stack. - -2006-07-18 21:00 robert - - * ChangeLog: Updated ChangeLog for rc3. - -2006-07-18 20:59 robert - - * applications/osgversion/osgversion.cpp: Add clause to clean up - AUTHORS.txt - -2006-07-18 20:53 robert - - * VisualStudio/osgWrappers/osg/wrapper_osg.dsp, - src/osgWrappers/osg/AlphaFunc.cpp, - src/osgWrappers/osg/AnimationPath.cpp, - src/osgWrappers/osg/ApplicationUsage.cpp, - src/osgWrappers/osg/ArgumentParser.cpp, - src/osgWrappers/osg/Array.cpp, - src/osgWrappers/osg/AutoTransform.cpp, - src/osgWrappers/osg/Billboard.cpp, - src/osgWrappers/osg/BlendEquation.cpp, - src/osgWrappers/osg/BlendFunc.cpp, - src/osgWrappers/osg/BoundingSphere.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/CameraNode.cpp, - src/osgWrappers/osg/CameraView.cpp, - src/osgWrappers/osg/ClampColor.cpp, - src/osgWrappers/osg/ClipNode.cpp, - src/osgWrappers/osg/CollectOccludersVisitor.cpp, - src/osgWrappers/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/osg/ConvexPlanarPolygon.cpp, - src/osgWrappers/osg/CoordinateSystemNode.cpp, - src/osgWrappers/osg/CopyOp.cpp, src/osgWrappers/osg/CullFace.cpp, - src/osgWrappers/osg/CullSettings.cpp, - src/osgWrappers/osg/CullStack.cpp, - src/osgWrappers/osg/CullingSet.cpp, - src/osgWrappers/osg/Depth.cpp, - src/osgWrappers/osg/DisplaySettings.cpp, - src/osgWrappers/osg/DrawPixels.cpp, - src/osgWrappers/osg/Drawable.cpp, src/osgWrappers/osg/Fog.cpp, - src/osgWrappers/osg/FragmentProgram.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osg/FrameStamp.cpp, - src/osgWrappers/osg/FrontFace.cpp, - src/osgWrappers/osg/GL2Extensions.cpp, - src/osgWrappers/osg/GNUmakefile, src/osgWrappers/osg/Geode.cpp, - src/osgWrappers/osg/Geometry.cpp, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/GraphicsThread.cpp, - src/osgWrappers/osg/Group.cpp, src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/ImageStream.cpp, src/osgWrappers/osg/LOD.cpp, - src/osgWrappers/osg/Light.cpp, - src/osgWrappers/osg/LightModel.cpp, - src/osgWrappers/osg/LightSource.cpp, - src/osgWrappers/osg/LineSegment.cpp, - src/osgWrappers/osg/LineStipple.cpp, - src/osgWrappers/osg/LineWidth.cpp, - src/osgWrappers/osg/LogicOp.cpp, - src/osgWrappers/osg/Material.cpp, - src/osgWrappers/osg/MatrixTransform.cpp, - src/osgWrappers/osg/Matrixd.cpp, src/osgWrappers/osg/Matrixf.cpp, - src/osgWrappers/osg/Multisample.cpp, - src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/NodeCallback.cpp, - src/osgWrappers/osg/NodeTrackerCallback.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osg/Object.cpp, - src/osgWrappers/osg/OccluderNode.cpp, - src/osgWrappers/osg/PagedLOD.cpp, src/osgWrappers/osg/Plane.cpp, - src/osgWrappers/osg/Point.cpp, - src/osgWrappers/osg/PolygonMode.cpp, - src/osgWrappers/osg/Polytope.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osg/Program.cpp, - src/osgWrappers/osg/ProxyNode.cpp, src/osgWrappers/osg/Quat.cpp, - src/osgWrappers/osg/Scissor.cpp, - src/osgWrappers/osg/Sequence.cpp, - src/osgWrappers/osg/ShadeModel.cpp, - src/osgWrappers/osg/Shader.cpp, - src/osgWrappers/osg/ShadowVolumeOccluder.cpp, - src/osgWrappers/osg/Shape.cpp, - src/osgWrappers/osg/ShapeDrawable.cpp, - src/osgWrappers/osg/State.cpp, - src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/StateSet.cpp, - src/osgWrappers/osg/Stencil.cpp, src/osgWrappers/osg/Switch.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/TextureCubeMap.cpp, - src/osgWrappers/osg/TextureRectangle.cpp, - src/osgWrappers/osg/Timer.cpp, src/osgWrappers/osg/Transform.cpp, - src/osgWrappers/osg/Uniform.cpp, src/osgWrappers/osg/Vec2b.cpp, - src/osgWrappers/osg/Vec2d.cpp, src/osgWrappers/osg/Vec2f.cpp, - src/osgWrappers/osg/Vec2s.cpp, src/osgWrappers/osg/Vec3b.cpp, - src/osgWrappers/osg/Vec4d.cpp, src/osgWrappers/osg/Vec4ub.cpp, - src/osgWrappers/osg/VertexProgram.cpp, - src/osgWrappers/osg/observer_ptr.cpp, - src/osgWrappers/osgDB/Archive.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/FieldReaderIterator.cpp, - src/osgWrappers/osgDB/ImageOptions.cpp, - src/osgWrappers/osgDB/Input.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgFX/AnisotropicLighting.cpp, - src/osgWrappers/osgFX/BumpMapping.cpp, - src/osgWrappers/osgFX/Cartoon.cpp, - src/osgWrappers/osgFX/Effect.cpp, - src/osgWrappers/osgFX/MultiTextureControl.cpp, - src/osgWrappers/osgFX/Scribe.cpp, - src/osgWrappers/osgFX/SpecularHighlights.cpp, - src/osgWrappers/osgFX/Technique.cpp, - src/osgWrappers/osgFX/Validator.cpp, - src/osgWrappers/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/osgGA/DriveManipulator.cpp, - src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgGA/EventVisitor.cpp, - src/osgWrappers/osgGA/FlightManipulator.cpp, - src/osgWrappers/osgGA/GUIEventHandler.cpp, - src/osgWrappers/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/osgGA/MatrixManipulator.cpp, - src/osgWrappers/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/osgGA/StateSetManipulator.cpp, - src/osgWrappers/osgGA/TerrainManipulator.cpp, - src/osgWrappers/osgGA/TrackballManipulator.cpp, - src/osgWrappers/osgGA/UFOManipulator.cpp, - src/osgWrappers/osgParticle/AccelOperator.cpp, - src/osgWrappers/osgParticle/AngularAccelOperator.cpp, - src/osgWrappers/osgParticle/BoxPlacer.cpp, - src/osgWrappers/osgParticle/CenteredPlacer.cpp, - src/osgWrappers/osgParticle/ConnectedParticleSystem.cpp, - src/osgWrappers/osgParticle/ConstantRateCounter.cpp, - src/osgWrappers/osgParticle/Counter.cpp, - src/osgWrappers/osgParticle/Emitter.cpp, - src/osgWrappers/osgParticle/ExplosionDebrisEffect.cpp, - src/osgWrappers/osgParticle/ExplosionEffect.cpp, - src/osgWrappers/osgParticle/FireEffect.cpp, - src/osgWrappers/osgParticle/FluidFrictionOperator.cpp, - src/osgWrappers/osgParticle/FluidProgram.cpp, - src/osgWrappers/osgParticle/ForceOperator.cpp, - src/osgWrappers/osgParticle/Interpolator.cpp, - src/osgWrappers/osgParticle/LinearInterpolator.cpp, - src/osgWrappers/osgParticle/ModularEmitter.cpp, - src/osgWrappers/osgParticle/ModularProgram.cpp, - src/osgWrappers/osgParticle/MultiSegmentPlacer.cpp, - src/osgWrappers/osgParticle/Operator.cpp, - src/osgWrappers/osgParticle/Particle.cpp, - src/osgWrappers/osgParticle/ParticleEffect.cpp, - src/osgWrappers/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/osgParticle/Placer.cpp, - src/osgWrappers/osgParticle/PointPlacer.cpp, - src/osgWrappers/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/osgParticle/Program.cpp, - src/osgWrappers/osgParticle/RadialShooter.cpp, - src/osgWrappers/osgParticle/RandomRateCounter.cpp, - src/osgWrappers/osgParticle/SectorPlacer.cpp, - src/osgWrappers/osgParticle/SegmentPlacer.cpp, - src/osgWrappers/osgParticle/Shooter.cpp, - src/osgWrappers/osgParticle/SmokeEffect.cpp, - src/osgWrappers/osgParticle/SmokeTrailEffect.cpp, - src/osgWrappers/osgParticle/VariableRateCounter.cpp, - src/osgWrappers/osgParticle/range.cpp, - src/osgWrappers/osgProducer/OsgCameraGroup.cpp, - src/osgWrappers/osgProducer/OsgSceneHandler.cpp, - src/osgWrappers/osgProducer/Viewer.cpp, - src/osgWrappers/osgProducer/ViewerEventHandler.cpp, - src/osgWrappers/osgSim/BlinkSequence.cpp, - src/osgWrappers/osgSim/ColorRange.cpp, - src/osgWrappers/osgSim/DOFTransform.cpp, - src/osgWrappers/osgSim/Impostor.cpp, - src/osgWrappers/osgSim/ImpostorSprite.cpp, - src/osgWrappers/osgSim/LightPoint.cpp, - src/osgWrappers/osgSim/LightPointNode.cpp, - src/osgWrappers/osgSim/LightPointSystem.cpp, - src/osgWrappers/osgSim/MultiSwitch.cpp, - src/osgWrappers/osgSim/OverlayNode.cpp, - src/osgWrappers/osgSim/ScalarBar.cpp, - src/osgWrappers/osgSim/ScalarsToColors.cpp, - src/osgWrappers/osgSim/Sector.cpp, - src/osgWrappers/osgSim/SphereSegment.cpp, - src/osgWrappers/osgSim/VisibilityGroup.cpp, - src/osgWrappers/osgTerrain/DataSet.cpp, - src/osgWrappers/osgTerrain/HeightFieldNode.cpp, - src/osgWrappers/osgTerrain/HeightFieldRenderer.cpp, - src/osgWrappers/osgText/Font.cpp, - src/osgWrappers/osgText/Text.cpp, - src/osgWrappers/osgUtil/CubeMapGenerator.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/DelaunayTriangulator.cpp, - src/osgWrappers/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/osgUtil/HalfWayMapGenerator.cpp, - src/osgWrappers/osgUtil/HighlightMapGenerator.cpp, - src/osgWrappers/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp, - src/osgWrappers/osgUtil/PositionalStateContainer.cpp, - src/osgWrappers/osgUtil/ReflectionMapGenerator.cpp, - src/osgWrappers/osgUtil/RenderBin.cpp, - src/osgWrappers/osgUtil/RenderLeaf.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp, - src/osgWrappers/osgUtil/SceneView.cpp, - src/osgWrappers/osgUtil/StateGraph.cpp, - src/osgWrappers/osgUtil/Statistics.cpp, - src/osgWrappers/osgUtil/TangentSpaceGenerator.cpp, - src/osgWrappers/osgUtil/Tesselator.cpp, - src/osgWrappers/osgUtil/TransformAttributeFunctor.cpp, - src/osgWrappers/osgUtil/TransformCallback.cpp, - src/osgWrappers/osgUtil/UpdateVisitor.cpp: Updated wrappers - -2006-07-18 20:51 robert - - * VisualStudio/osgWrappers/osg/wrapper_osg.dsp, - src/osgWrappers/osg/AlphaFunc.cpp, - src/osgWrappers/osg/AnimationPath.cpp, - src/osgWrappers/osg/ApplicationUsage.cpp, - src/osgWrappers/osg/ArgumentParser.cpp, - src/osgWrappers/osg/Array.cpp, - src/osgWrappers/osg/AutoTransform.cpp, - src/osgWrappers/osg/Billboard.cpp, - src/osgWrappers/osg/BlendEquation.cpp, - src/osgWrappers/osg/BlendFunc.cpp, - src/osgWrappers/osg/BoundingSphere.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/CameraNode.cpp, - src/osgWrappers/osg/CameraView.cpp, - src/osgWrappers/osg/ClampColor.cpp, - src/osgWrappers/osg/ClipNode.cpp, - src/osgWrappers/osg/CollectOccludersVisitor.cpp, - src/osgWrappers/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/osg/ConvexPlanarPolygon.cpp, - src/osgWrappers/osg/CoordinateSystemNode.cpp, - src/osgWrappers/osg/CopyOp.cpp, src/osgWrappers/osg/CullFace.cpp, - src/osgWrappers/osg/CullSettings.cpp, - src/osgWrappers/osg/CullStack.cpp, - src/osgWrappers/osg/CullingSet.cpp, - src/osgWrappers/osg/Depth.cpp, - src/osgWrappers/osg/DisplaySettings.cpp, - src/osgWrappers/osg/DrawPixels.cpp, - src/osgWrappers/osg/Drawable.cpp, src/osgWrappers/osg/Fog.cpp, - src/osgWrappers/osg/FragmentProgram.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osg/FrameStamp.cpp, - src/osgWrappers/osg/FrontFace.cpp, - src/osgWrappers/osg/GL2Extensions.cpp, - src/osgWrappers/osg/GNUmakefile, src/osgWrappers/osg/Geode.cpp, - src/osgWrappers/osg/Geometry.cpp, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/GraphicsThread.cpp, - src/osgWrappers/osg/Group.cpp, src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/ImageStream.cpp, src/osgWrappers/osg/LOD.cpp, - src/osgWrappers/osg/Light.cpp, - src/osgWrappers/osg/LightModel.cpp, - src/osgWrappers/osg/LightSource.cpp, - src/osgWrappers/osg/LineSegment.cpp, - src/osgWrappers/osg/LineStipple.cpp, - src/osgWrappers/osg/LineWidth.cpp, - src/osgWrappers/osg/LogicOp.cpp, - src/osgWrappers/osg/Material.cpp, - src/osgWrappers/osg/MatrixTransform.cpp, - src/osgWrappers/osg/Matrixd.cpp, src/osgWrappers/osg/Matrixf.cpp, - src/osgWrappers/osg/Multisample.cpp, - src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/NodeCallback.cpp, - src/osgWrappers/osg/NodeTrackerCallback.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osg/Object.cpp, - src/osgWrappers/osg/OccluderNode.cpp, - src/osgWrappers/osg/PagedLOD.cpp, src/osgWrappers/osg/Plane.cpp, - src/osgWrappers/osg/Point.cpp, - src/osgWrappers/osg/PolygonMode.cpp, - src/osgWrappers/osg/Polytope.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osg/Program.cpp, - src/osgWrappers/osg/ProxyNode.cpp, src/osgWrappers/osg/Quat.cpp, - src/osgWrappers/osg/Scissor.cpp, - src/osgWrappers/osg/Sequence.cpp, - src/osgWrappers/osg/ShadeModel.cpp, - src/osgWrappers/osg/Shader.cpp, - src/osgWrappers/osg/ShadowVolumeOccluder.cpp, - src/osgWrappers/osg/Shape.cpp, - src/osgWrappers/osg/ShapeDrawable.cpp, - src/osgWrappers/osg/State.cpp, - src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/StateSet.cpp, - src/osgWrappers/osg/Stencil.cpp, src/osgWrappers/osg/Switch.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/TextureCubeMap.cpp, - src/osgWrappers/osg/TextureRectangle.cpp, - src/osgWrappers/osg/Timer.cpp, src/osgWrappers/osg/Transform.cpp, - src/osgWrappers/osg/Uniform.cpp, src/osgWrappers/osg/Vec2b.cpp, - src/osgWrappers/osg/Vec2d.cpp, src/osgWrappers/osg/Vec2f.cpp, - src/osgWrappers/osg/Vec2s.cpp, src/osgWrappers/osg/Vec3b.cpp, - src/osgWrappers/osg/Vec4d.cpp, src/osgWrappers/osg/Vec4ub.cpp, - src/osgWrappers/osg/VertexProgram.cpp, - src/osgWrappers/osg/observer_ptr.cpp, - src/osgWrappers/osgDB/Archive.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/FieldReaderIterator.cpp, - src/osgWrappers/osgDB/ImageOptions.cpp, - src/osgWrappers/osgDB/Input.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgFX/AnisotropicLighting.cpp, - src/osgWrappers/osgFX/BumpMapping.cpp, - src/osgWrappers/osgFX/Cartoon.cpp, - src/osgWrappers/osgFX/Effect.cpp, - src/osgWrappers/osgFX/MultiTextureControl.cpp, - src/osgWrappers/osgFX/Scribe.cpp, - src/osgWrappers/osgFX/SpecularHighlights.cpp, - src/osgWrappers/osgFX/Technique.cpp, - src/osgWrappers/osgFX/Validator.cpp, - src/osgWrappers/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/osgGA/DriveManipulator.cpp, - src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgGA/EventVisitor.cpp, - src/osgWrappers/osgGA/FlightManipulator.cpp, - src/osgWrappers/osgGA/GUIEventHandler.cpp, - src/osgWrappers/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/osgGA/MatrixManipulator.cpp, - src/osgWrappers/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/osgGA/StateSetManipulator.cpp, - src/osgWrappers/osgGA/TerrainManipulator.cpp, - src/osgWrappers/osgGA/TrackballManipulator.cpp, - src/osgWrappers/osgGA/UFOManipulator.cpp, - src/osgWrappers/osgParticle/AccelOperator.cpp, - src/osgWrappers/osgParticle/AngularAccelOperator.cpp, - src/osgWrappers/osgParticle/BoxPlacer.cpp, - src/osgWrappers/osgParticle/CenteredPlacer.cpp, - src/osgWrappers/osgParticle/ConnectedParticleSystem.cpp, - src/osgWrappers/osgParticle/ConstantRateCounter.cpp, - src/osgWrappers/osgParticle/Counter.cpp, - src/osgWrappers/osgParticle/Emitter.cpp, - src/osgWrappers/osgParticle/ExplosionDebrisEffect.cpp, - src/osgWrappers/osgParticle/ExplosionEffect.cpp, - src/osgWrappers/osgParticle/FireEffect.cpp, - src/osgWrappers/osgParticle/FluidFrictionOperator.cpp, - src/osgWrappers/osgParticle/FluidProgram.cpp, - src/osgWrappers/osgParticle/ForceOperator.cpp, - src/osgWrappers/osgParticle/Interpolator.cpp, - src/osgWrappers/osgParticle/LinearInterpolator.cpp, - src/osgWrappers/osgParticle/ModularEmitter.cpp, - src/osgWrappers/osgParticle/ModularProgram.cpp, - src/osgWrappers/osgParticle/MultiSegmentPlacer.cpp, - src/osgWrappers/osgParticle/Operator.cpp, - src/osgWrappers/osgParticle/Particle.cpp, - src/osgWrappers/osgParticle/ParticleEffect.cpp, - src/osgWrappers/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/osgParticle/Placer.cpp, - src/osgWrappers/osgParticle/PointPlacer.cpp, - src/osgWrappers/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/osgParticle/Program.cpp, - src/osgWrappers/osgParticle/RadialShooter.cpp, - src/osgWrappers/osgParticle/RandomRateCounter.cpp, - src/osgWrappers/osgParticle/SectorPlacer.cpp, - src/osgWrappers/osgParticle/SegmentPlacer.cpp, - src/osgWrappers/osgParticle/Shooter.cpp, - src/osgWrappers/osgParticle/SmokeEffect.cpp, - src/osgWrappers/osgParticle/SmokeTrailEffect.cpp, - src/osgWrappers/osgParticle/VariableRateCounter.cpp, - src/osgWrappers/osgParticle/range.cpp, - src/osgWrappers/osgProducer/OsgCameraGroup.cpp, - src/osgWrappers/osgProducer/OsgSceneHandler.cpp, - src/osgWrappers/osgProducer/Viewer.cpp, - src/osgWrappers/osgProducer/ViewerEventHandler.cpp, - src/osgWrappers/osgSim/BlinkSequence.cpp, - src/osgWrappers/osgSim/ColorRange.cpp, - src/osgWrappers/osgSim/DOFTransform.cpp, - src/osgWrappers/osgSim/Impostor.cpp, - src/osgWrappers/osgSim/ImpostorSprite.cpp, - src/osgWrappers/osgSim/LightPoint.cpp, - src/osgWrappers/osgSim/LightPointNode.cpp, - src/osgWrappers/osgSim/LightPointSystem.cpp, - src/osgWrappers/osgSim/MultiSwitch.cpp, - src/osgWrappers/osgSim/OverlayNode.cpp, - src/osgWrappers/osgSim/ScalarBar.cpp, - src/osgWrappers/osgSim/ScalarsToColors.cpp, - src/osgWrappers/osgSim/Sector.cpp, - src/osgWrappers/osgSim/SphereSegment.cpp, - src/osgWrappers/osgSim/VisibilityGroup.cpp, - src/osgWrappers/osgTerrain/DataSet.cpp, - src/osgWrappers/osgTerrain/HeightFieldNode.cpp, - src/osgWrappers/osgTerrain/HeightFieldRenderer.cpp, - src/osgWrappers/osgText/Font.cpp, - src/osgWrappers/osgText/Text.cpp, - src/osgWrappers/osgUtil/CubeMapGenerator.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/DelaunayTriangulator.cpp, - src/osgWrappers/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/osgUtil/HalfWayMapGenerator.cpp, - src/osgWrappers/osgUtil/HighlightMapGenerator.cpp, - src/osgWrappers/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp, - src/osgWrappers/osgUtil/PositionalStateContainer.cpp, - src/osgWrappers/osgUtil/ReflectionMapGenerator.cpp, - src/osgWrappers/osgUtil/RenderBin.cpp, - src/osgWrappers/osgUtil/RenderLeaf.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp, - src/osgWrappers/osgUtil/SceneView.cpp, - src/osgWrappers/osgUtil/StateGraph.cpp, - src/osgWrappers/osgUtil/Statistics.cpp, - src/osgWrappers/osgUtil/TangentSpaceGenerator.cpp, - src/osgWrappers/osgUtil/Tesselator.cpp, - src/osgWrappers/osgUtil/TransformAttributeFunctor.cpp, - src/osgWrappers/osgUtil/TransformCallback.cpp, - src/osgWrappers/osgUtil/UpdateVisitor.cpp: Updated wrappers - -2006-07-18 20:17 robert - - * src/osgUtil/RenderBin.cpp, src/osgUtil/RenderStage.cpp, - src/osgUtil/SceneView.cpp: Moved the moveToRootStateGraph(,) from - RenderStage::drawImplemenation() to - RenderBin::drawImplementation(); - -2006-07-18 19:26 robert - - * src/osgText/Text.cpp: From Eric Wing, fix for VC6 support - -2006-07-18 15:21 robert - - * ChangeLog, applications/osgarchive/osgarchive.cpp, - applications/osgdem/osgdem.cpp, - applications/osgviewer/osgviewer.cpp, - examples/osgautotransform/osgautotransform.cpp, - examples/osgbluemarble/osgbluemarble.cpp, - examples/osgcatch/osgcatch.cpp, - examples/osgdelaunay/osgdelaunay.cpp, - examples/osghangglide/GliderManipulator.h, - examples/osghud/osghud.cpp, - examples/osgmotionblur/osgmotionblur.cpp, - examples/osgmultiplecameras/osgmultiplecameras.cpp, - examples/osgpbuffer/osgpbuffer.cpp, - examples/osgphotoalbum/ImageReaderWriter.cpp, - examples/osgphotoalbum/ImageReaderWriter.h, - examples/osgphotoalbum/PhotoArchive.cpp, - examples/osgphotoalbum/PhotoArchive.h, - examples/osgphotoalbum/osgphotoalbum.cpp, - examples/osgpick/osgpick.cpp, examples/osgpoints/osgpoints.cpp, - examples/osgprecipitation/osgprecipitation.cpp, - examples/osgreflect/osgreflect.cpp, - examples/osgshaders/GL2Scene.cpp, examples/osgshaders/GL2Scene.h, - examples/osgshaders/osgshaders.cpp, - examples/osgsimplifier/osgsimplifier.cpp, - examples/osgspacewarp/osgspacewarp.cpp, - examples/osgstereoimage/osgstereoimage.cpp, - examples/osgtesselate/osgtesselate.cpp, - examples/osgtext/osgtext.cpp, examples/osgwindows/osgwindows.cpp, - include/osg/AlphaFunc, include/osg/AnimationPath, - include/osg/ApplicationUsage, include/osg/ArgumentParser, - include/osg/Array, include/osg/AutoTransform, - include/osg/Billboard, include/osg/BlendColor, - include/osg/BlendEquation, include/osg/BlendFunc, - include/osg/BoundingBox, include/osg/BoundingSphere, - include/osg/BoundsChecking, include/osg/BufferObject, - include/osg/CameraNode, include/osg/CameraView, - include/osg/ClampColor, include/osg/ClearNode, - include/osg/ClipNode, include/osg/ClipPlane, - include/osg/ClusterCullingCallback, - include/osg/CollectOccludersVisitor, include/osg/ColorMask, - include/osg/ColorMatrix, include/osg/ConvexPlanarOccluder, - include/osg/ConvexPlanarPolygon, - include/osg/CoordinateSystemNode, include/osg/CopyOp, - include/osg/CullFace, include/osg/CullSettings, - include/osg/CullStack, include/osg/CullingSet, include/osg/Depth, - include/osg/DisplaySettings, include/osg/DrawPixels, - include/osg/Drawable, include/osg/Endian, include/osg/Export, - include/osg/Fog, include/osg/FragmentProgram, - include/osg/FrameBufferObject, include/osg/FrameStamp, - include/osg/FrontFace, include/osg/GL, include/osg/GL2Extensions, - include/osg/GLExtensions, include/osg/GLU, include/osg/Geode, - include/osg/Geometry, include/osg/GraphicsContext, - include/osg/GraphicsThread, include/osg/Group, include/osg/Image, - include/osg/ImageStream, include/osg/LOD, include/osg/Light, - include/osg/LightModel, include/osg/LogicOp, include/osg/Matrix, - include/osg/MatrixTransform, include/osg/Multisample, - include/osg/Node, include/osg/NodeCallback, - include/osg/NodeTrackerCallback, include/osg/NodeVisitor, - include/osg/Notify, include/osg/Object, include/osg/OccluderNode, - include/osg/PagedLOD, include/osg/Plane, include/osg/Point, - include/osg/PointSprite, include/osg/PolygonMode, - include/osg/PolygonOffset, include/osg/PolygonStipple, - include/osg/Polytope, include/osg/PositionAttitudeTransform, - include/osg/PrimitiveSet, include/osg/Projection, - include/osg/ProxyNode, include/osg/Quat, include/osg/Referenced, - include/osg/Scissor, include/osg/Sequence, - include/osg/ShadeModel, include/osg/Shader, - include/osg/ShadowVolumeOccluder, include/osg/Shape, - include/osg/ShapeDrawable, include/osg/State, - include/osg/StateAttribute, include/osg/StateSet, - include/osg/Stencil, include/osg/Switch, include/osg/TexEnv, - include/osg/TexEnvCombine, include/osg/TexEnvFilter, - include/osg/TexGen, include/osg/TexGenNode, include/osg/TexMat, - include/osg/Texture, include/osg/Texture1D, - include/osg/Texture2D, include/osg/Texture3D, - include/osg/TextureCubeMap, include/osg/TextureRectangle, - include/osg/Timer, include/osg/Transform, - include/osg/TriangleFunctor, include/osg/TriangleIndexFunctor, - include/osg/UByte4, include/osg/UnitTestFramework, - include/osg/Vec2, include/osg/Vec2b, include/osg/Vec2d, - include/osg/Vec2f, include/osg/Vec2s, include/osg/Vec3, - include/osg/Vec3b, include/osg/Vec3d, include/osg/Vec3f, - include/osg/Vec3s, include/osg/Vec4, include/osg/Vec4b, - include/osg/Vec4d, include/osg/Vec4f, include/osg/Vec4s, - include/osg/Vec4ub, include/osg/Version, - include/osg/VertexProgram, include/osg/Viewport, - include/osg/buffered_value, include/osg/fast_back_stack, - include/osg/io_utils, include/osg/observer_ptr, - include/osgDB/Archive, include/osgDB/DatabasePager, - include/osgDB/DotOsgWrapper, include/osgDB/DynamicLibrary, - include/osgDB/Export, include/osgDB/Field, - include/osgDB/FieldReader, include/osgDB/FieldReaderIterator, - include/osgDB/FileNameUtils, include/osgDB/FileUtils, - include/osgDB/ImageOptions, include/osgDB/Input, - include/osgDB/Output, include/osgDB/ParameterOutput, - include/osgDB/ReadFile, include/osgDB/ReaderWriter, - include/osgDB/ReentrantMutex, include/osgDB/Registry, - include/osgDB/SharedStateManager, include/osgDB/Version, - include/osgDB/WriteFile, include/osgFX/AnisotropicLighting, - include/osgFX/BumpMapping, include/osgFX/Cartoon, - include/osgFX/Effect, include/osgFX/Export, - include/osgFX/MultiTextureControl, include/osgFX/Registry, - include/osgFX/Scribe, include/osgFX/SpecularHighlights, - include/osgFX/Technique, include/osgFX/Validator, - include/osgGA/AnimationPathManipulator, - include/osgGA/DriveManipulator, include/osgGA/EventQueue, - include/osgGA/EventVisitor, include/osgGA/Export, - include/osgGA/FlightManipulator, include/osgGA/GUIActionAdapter, - include/osgGA/GUIEventAdapter, include/osgGA/GUIEventHandler, - include/osgGA/GUIEventHandlerVisitor, - include/osgGA/KeySwitchMatrixManipulator, - include/osgGA/MatrixManipulator, - include/osgGA/NodeTrackerManipulator, - include/osgGA/SetSceneViewVisitor, - include/osgGA/StateSetManipulator, - include/osgGA/TerrainManipulator, - include/osgGA/TrackballManipulator, include/osgGA/UFOManipulator, - include/osgGA/Version, include/osgIntrospection/Attributes, - include/osgIntrospection/Comparator, - include/osgIntrospection/ConstructorInfo, - include/osgIntrospection/Converter, - include/osgIntrospection/ConverterProxy, - include/osgIntrospection/CustomAttribute, - include/osgIntrospection/CustomAttributeProvider, - include/osgIntrospection/Exceptions, - include/osgIntrospection/Export, - include/osgIntrospection/InstanceCreator, - include/osgIntrospection/MethodInfo, - include/osgIntrospection/ParameterInfo, - include/osgIntrospection/PropertyInfo, - include/osgIntrospection/ReaderWriter, - include/osgIntrospection/Reflection, - include/osgIntrospection/ReflectionMacros, - include/osgIntrospection/Reflector, - include/osgIntrospection/StaticMethodInfo, - include/osgIntrospection/Type, - include/osgIntrospection/TypeNameAliasProxy, - include/osgIntrospection/TypedConstructorInfo, - include/osgIntrospection/TypedMethodInfo, - include/osgIntrospection/Utility, include/osgIntrospection/Value, - include/osgIntrospection/variant_cast, - include/osgParticle/AccelOperator, - include/osgParticle/AngularAccelOperator, - include/osgParticle/BoxPlacer, - include/osgParticle/CenteredPlacer, - include/osgParticle/ConnectedParticleSystem, - include/osgParticle/ConstantRateCounter, - include/osgParticle/Counter, include/osgParticle/Emitter, - include/osgParticle/ExplosionDebrisEffect, - include/osgParticle/ExplosionEffect, include/osgParticle/Export, - include/osgParticle/FireEffect, - include/osgParticle/FluidFrictionOperator, - include/osgParticle/FluidProgram, - include/osgParticle/ForceOperator, - include/osgParticle/Interpolator, - include/osgParticle/LinearInterpolator, - include/osgParticle/ModularEmitter, - include/osgParticle/ModularProgram, - include/osgParticle/MultiSegmentPlacer, - include/osgParticle/Operator, include/osgParticle/Particle, - include/osgParticle/ParticleEffect, - include/osgParticle/ParticleProcessor, - include/osgParticle/ParticleSystem, - include/osgParticle/ParticleSystemUpdater, - include/osgParticle/Placer, include/osgParticle/PointPlacer, - include/osgParticle/PrecipitationEffect, - include/osgParticle/Program, include/osgParticle/RadialShooter, - include/osgParticle/RandomRateCounter, - include/osgParticle/SectorPlacer, - include/osgParticle/SegmentPlacer, include/osgParticle/Shooter, - include/osgParticle/SmokeEffect, - include/osgParticle/SmokeTrailEffect, - include/osgParticle/VariableRateCounter, - include/osgParticle/Version, include/osgParticle/range, - include/osgProducer/Export, - include/osgProducer/GraphicsContextImplementation, - include/osgProducer/KeyboardMouseCallback, - include/osgProducer/OsgCameraGroup, - include/osgProducer/OsgSceneHandler, include/osgProducer/Version, - include/osgProducer/Viewer, - include/osgProducer/ViewerEventHandler, - include/osgSim/BlinkSequence, include/osgSim/ColorRange, - include/osgSim/DOFTransform, include/osgSim/Export, - include/osgSim/Impostor, include/osgSim/ImpostorSprite, - include/osgSim/InsertImpostorsVisitor, include/osgSim/LightPoint, - include/osgSim/LightPointNode, include/osgSim/MultiSwitch, - include/osgSim/OverlayNode, include/osgSim/ScalarBar, - include/osgSim/ScalarsToColors, include/osgSim/Sector, - include/osgSim/SphereSegment, include/osgSim/Version, - include/osgSim/VisibilityGroup, include/osgTerrain/DataSet, - include/osgTerrain/Export, include/osgTerrain/HeightFieldNode, - include/osgTerrain/HeightFieldRenderer, - include/osgTerrain/Version, include/osgText/Export, - include/osgText/Font, include/osgText/String, - include/osgText/Text, include/osgText/Version, - include/osgUtil/CubeMapGenerator, include/osgUtil/CullVisitor, - include/osgUtil/DelaunayTriangulator, - include/osgUtil/DisplayRequirementsVisitor, - include/osgUtil/Export, include/osgUtil/GLObjectsVisitor, - include/osgUtil/HalfWayMapGenerator, - include/osgUtil/HighlightMapGenerator, - include/osgUtil/IntersectVisitor, include/osgUtil/Optimizer, - include/osgUtil/PositionalStateContainer, - include/osgUtil/ReflectionMapGenerator, - include/osgUtil/RenderBin, include/osgUtil/RenderLeaf, - include/osgUtil/RenderStage, include/osgUtil/SceneView, - include/osgUtil/Simplifier, include/osgUtil/SmoothingVisitor, - include/osgUtil/StateGraph, include/osgUtil/Statistics, - include/osgUtil/TangentSpaceGenerator, - include/osgUtil/Tesselator, - include/osgUtil/TransformAttributeFunctor, - include/osgUtil/TransformCallback, - include/osgUtil/TriStripVisitor, include/osgUtil/UpdateVisitor, - include/osgUtil/Version, src/osg/AlphaFunc.cpp, - src/osg/AnimationPath.cpp, src/osg/Array.cpp, - src/osg/AutoTransform.cpp, src/osg/Billboard.cpp, - src/osg/BlendColor.cpp, src/osg/BlendEquation.cpp, - src/osg/BlendFunc.cpp, src/osg/BoundingBox.cpp, - src/osg/BoundingSphere.cpp, src/osg/BufferObject.cpp, - src/osg/CameraNode.cpp, src/osg/CameraView.cpp, - src/osg/ClampColor.cpp, src/osg/ClearNode.cpp, - src/osg/ClipNode.cpp, src/osg/ClipPlane.cpp, - src/osg/ClusterCullingCallback.cpp, - src/osg/CollectOccludersVisitor.cpp, src/osg/ColorMask.cpp, - src/osg/ColorMatrix.cpp, src/osg/ConvexPlanarOccluder.cpp, - src/osg/ConvexPlanarPolygon.cpp, - src/osg/CoordinateSystemNode.cpp, src/osg/CopyOp.cpp, - src/osg/CullFace.cpp, src/osg/CullSettings.cpp, - src/osg/CullStack.cpp, src/osg/CullingSet.cpp, src/osg/Depth.cpp, - src/osg/DisplaySettings.cpp, src/osg/DrawPixels.cpp, - src/osg/Drawable.cpp, src/osg/Fog.cpp, - src/osg/FragmentProgram.cpp, src/osg/FrameBufferObject.cpp, - src/osg/FrameStamp.cpp, src/osg/FrontFace.cpp, - src/osg/GLExtensions.cpp, src/osg/Geode.cpp, - src/osg/Geometry.cpp, src/osg/GraphicsContext.cpp, - src/osg/GraphicsThread.cpp, src/osg/Group.cpp, src/osg/Image.cpp, - src/osg/ImageStream.cpp, src/osg/LOD.cpp, src/osg/Light.cpp, - src/osg/LightModel.cpp, src/osg/LightSource.cpp, - src/osg/LineSegment.cpp, src/osg/LineStipple.cpp, - src/osg/LineWidth.cpp, src/osg/LogicOp.cpp, src/osg/Material.cpp, - src/osg/MatrixTransform.cpp, src/osg/Matrix_implementation.cpp, - src/osg/Matrixd.cpp, src/osg/Matrixf.cpp, - src/osg/Multisample.cpp, src/osg/Node.cpp, - src/osg/NodeCallback.cpp, src/osg/NodeTrackerCallback.cpp, - src/osg/NodeVisitor.cpp, src/osg/Notify.cpp, src/osg/Object.cpp, - src/osg/OccluderNode.cpp, src/osg/PagedLOD.cpp, - src/osg/Point.cpp, src/osg/PointSprite.cpp, - src/osg/PolygonMode.cpp, src/osg/PolygonOffset.cpp, - src/osg/PolygonStipple.cpp, - src/osg/PositionAttitudeTransform.cpp, src/osg/PrimitiveSet.cpp, - src/osg/Projection.cpp, src/osg/ProxyNode.cpp, src/osg/Quat.cpp, - src/osg/Referenced.cpp, src/osg/Scissor.cpp, - src/osg/Sequence.cpp, src/osg/ShadeModel.cpp, src/osg/Shader.cpp, - src/osg/ShadowVolumeOccluder.cpp, src/osg/Shape.cpp, - src/osg/ShapeDrawable.cpp, src/osg/State.cpp, - src/osg/StateAttribute.cpp, src/osg/StateSet.cpp, - src/osg/Stencil.cpp, src/osg/Switch.cpp, src/osg/TexEnv.cpp, - src/osg/TexEnvCombine.cpp, src/osg/TexEnvFilter.cpp, - src/osg/TexGen.cpp, src/osg/TexGenNode.cpp, src/osg/TexMat.cpp, - src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2D.cpp, src/osg/Texture3D.cpp, - src/osg/TextureCubeMap.cpp, src/osg/TextureRectangle.cpp, - src/osg/Timer.cpp, src/osg/Transform.cpp, - src/osg/UnitTestFramework.cpp, src/osg/Vec3.cpp, - src/osg/Version.cpp, src/osg/VertexProgram.cpp, - src/osg/Viewport.cpp, src/osgDB/Archive.cpp, - src/osgDB/DotOsgWrapper.cpp, src/osgDB/DynamicLibrary.cpp, - src/osgDB/Field.cpp, src/osgDB/FieldReader.cpp, - src/osgDB/FieldReaderIterator.cpp, src/osgDB/FileNameUtils.cpp, - src/osgDB/FileUtils.cpp, src/osgDB/Input.cpp, - src/osgDB/Output.cpp, src/osgDB/ReadFile.cpp, - src/osgDB/ReaderWriter.cpp, src/osgDB/ReentrantMutex.cpp, - src/osgDB/Registry.cpp, src/osgDB/SharedStateManager.cpp, - src/osgDB/Version.cpp, src/osgDB/WriteFile.cpp, - src/osgFX/MultiTextureControl.cpp, - src/osgGA/DriveManipulator.cpp, src/osgGA/EventQueue.cpp, - src/osgGA/EventVisitor.cpp, src/osgGA/FlightManipulator.cpp, - src/osgGA/GUIEventAdapter.cpp, src/osgGA/GUIEventHandler.cpp, - src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, - src/osgIntrospection/ConstructorInfo.cpp, - src/osgIntrospection/CustomAttributeProvider.cpp, - src/osgIntrospection/DefaultReflectors.cpp, - src/osgIntrospection/MethodInfo.cpp, - src/osgIntrospection/PropertyInfo.cpp, - src/osgIntrospection/Type.cpp, src/osgIntrospection/Utility.cpp, - src/osgIntrospection/Value.cpp, - src/osgParticle/ConnectedParticleSystem.cpp, - src/osgParticle/ExplosionDebrisEffect.cpp, - src/osgParticle/ExplosionEffect.cpp, - src/osgParticle/FireEffect.cpp, - src/osgParticle/ParticleEffect.cpp, - src/osgParticle/SmokeEffect.cpp, - src/osgParticle/SmokeTrailEffect.cpp, - src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h, - src/osgPlugins/freetype/FreeTypeLibrary.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.h, - src/osgPlugins/geo/ClipRegion.h, - src/osgPlugins/rot/ReaderWriterROT.cpp, - src/osgProducer/GraphicsContextImplementation.cpp, - src/osgProducer/OsgCameraGroup.cpp, - src/osgProducer/OsgSceneHandler.cpp, - src/osgSim/BlinkSequence.cpp, src/osgSim/DOFTransform.cpp, - src/osgSim/Impostor.cpp, src/osgSim/ImpostorSprite.cpp, - src/osgSim/InsertImpostorsVisitor.cpp, src/osgSim/LightPoint.cpp, - src/osgSim/LightPointDrawable.cpp, src/osgSim/LightPointNode.cpp, - src/osgSim/MultiSwitch.cpp, src/osgSim/OverlayNode.cpp, - src/osgSim/Sector.cpp, src/osgSim/SphereSegment.cpp, - src/osgSim/VisibilityGroup.cpp, src/osgTerrain/DataSet.cpp, - src/osgTerrain/HeightFieldNode.cpp, - src/osgTerrain/HeightFieldRenderer.cpp, - src/osgText/DefaultFont.cpp, src/osgText/DefaultFont.h, - src/osgText/Font.cpp, src/osgText/Text.cpp, - src/osgUtil/CubeMapGenerator.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/DelaunayTriangulator.cpp, - src/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgUtil/GLObjectsVisitor.cpp, - src/osgUtil/HalfWayMapGenerator.cpp, - src/osgUtil/HighlightMapGenerator.cpp, - src/osgUtil/IntersectVisitor.cpp, src/osgUtil/Optimizer.cpp, - src/osgUtil/PositionalStateContainer.cpp, - src/osgUtil/RenderBin.cpp, src/osgUtil/RenderLeaf.cpp, - src/osgUtil/RenderStage.cpp, src/osgUtil/SceneView.cpp, - src/osgUtil/Simplifier.cpp, src/osgUtil/SmoothingVisitor.cpp, - src/osgUtil/StateGraph.cpp, src/osgUtil/Tesselator.cpp, - src/osgUtil/TransformAttributeFunctor.cpp, - src/osgUtil/TransformCallback.cpp, - src/osgUtil/TriStripVisitor.cpp, - src/osgUtil/TriStrip_tri_stripper.cpp, - src/osgUtil/UpdateVisitor.cpp, src/osgUtil/Version.cpp: Updated - copyright years. - -2006-07-18 15:11 robert - - * examples/osgvolume/osgvolume.cpp: Added additional command line - docs - -2006-07-18 13:37 robert - - * examples/osgsimulation/osgsimulation.cpp: Updated commandline - docs - -2006-07-18 13:24 robert - - * Make/makedefs, NEWS.txt: Updated version for the release - -2006-07-18 13:17 robert - - * AUTHORS.txt, ChangeLog, README.txt, - applications/osgversion/osgversion.cpp: Updated ChangeLog and - authors file. - -2006-07-18 13:05 robert - - * include/osgUtil/CullVisitor: From Farshid Lashakari, fixed - popStateSet. +Thu, 10 Dec 2009 11:46:44 +0000 +Checked in by : Robert Osfield +Updated ChangeLog -2006-07-18 13:04 robert +Thu, 10 Dec 2009 11:30:51 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgUtil/Optimizer.cpp: Reduced the verbosity of debug info. +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." -2006-07-18 12:48 robert +Thu, 10 Dec 2009 11:16:41 +0000 +Checked in by : Robert Osfield +Fixed bug in positioning of 3d text characters - * src/osgWrappers/osgText/Text.cpp: Updated wrappers +Wed, 9 Dec 2009 23:42:29 +0000 +Checked in by : Cedric Pinson +From Cedric Pinson, add missing file -2006-07-18 12:24 robert +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 - * examples/osglogo/osglogo.cpp, include/osg/PolygonOffset, - include/osgText/Text, src/osg/PolygonOffset.cpp, - src/osgText/Text.cpp: From Eric Wing, add alternate backdrop - implementations. - - From Robert Osfield, updated naming and copy constructor methods. +Wed, 9 Dec 2009 14:34:24 +0000 +Checked in by : Robert Osfield +Updated wrappers -2006-07-18 11:42 robert +Wed, 9 Dec 2009 13:55:10 +0000 +Checked in by : Robert Osfield +Fixed support for compiling VBO's - * src/osgUtil/Optimizer.cpp, src/osgWrappers/osgUtil/Optimizer.cpp: - Updated wrappers +Wed, 9 Dec 2009 13:51:02 +0000 +Checked in by : Robert Osfield +Added a Geometry::compileGLObjects() to handle compilation of VBO + EBO's. -2006-07-18 11:03 robert +Wed, 9 Dec 2009 13:13:02 +0000 +Checked in by : Robert Osfield +From Ulrich Hertlein, removed email address - * include/osgUtil/Optimizer, src/osg/Geode.cpp, - src/osgUtil/Optimizer.cpp: Added - Optimizer::FlattenBillboardsVisitor. +Wed, 9 Dec 2009 10:18:13 +0000 +Checked in by : Robert Osfield +From Ulrich Hertlein, .osg support for osgFX::Outline -2006-07-17 16:36 robert +Wed, 9 Dec 2009 09:37:19 +0000 +Checked in by : Robert Osfield +Compile fixes for GLES - * src/osgPlugins/txp/TXPParser.cpp: From Terrex, improvements to - handling of layers w.r.t PolygonOffset +Wed, 9 Dec 2009 09:36:08 +0000 +Checked in by : Robert Osfield +From Robert Milharcic, added missing OSGFX_EXPORT -2006-07-17 13:16 robert +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." - * applications/osgconv/osgconv.cpp: Removed the usage of setenv to - avoid portability issues. +Tue, 8 Dec 2009 17:41:18 +0000 +Checked in by : Robert Osfield +From Thomas Halgarth, mods for Iphone GL headers -2006-07-17 11:43 robert +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. - * include/osg/PolygonOffset, src/osg/PolygonOffset.cpp, - src/osgProducer/ViewerEventHandler.cpp, src/osgText/Text.cpp: - Change Unit to Units to keep consistent with OpenGL naming. +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." -2006-07-17 11:37 robert +Tue, 8 Dec 2009 16:58:21 +0000 +Checked in by : Robert Osfield +Fixed typo - * src/osgProducer/ViewerEventHandler.cpp: Added *,/,+ and - - keyboard controls for toggling PolygonOffset factor and units +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. -2006-07-17 11:36 robert - * src/osgPlugins/txp/TXPParser.h: Added getNumLayers method -2006-07-17 10:25 robert - * src/osgText/Text.cpp: Increased the unit multiplier to 3 to avoid - z fighting. +Tue, 8 Dec 2009 15:39:04 +0000 +Checked in by : Robert Osfield +Updated wrappers -2006-07-17 10:24 robert +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. - * src/osg/PolygonOffset.cpp: Changed the Radeon defaults to 1, 128 - for the factor and unit mulitpliers respectively. +Tue, 8 Dec 2009 14:40:36 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project -2006-07-14 21:02 robert +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. - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - osgversion and AUTHORS.txt for release +Mon, 7 Dec 2009 16:45:33 +0000 +Checked in by : Robert Osfield +Re-order the setting of the VBO's -2006-07-14 20:50 robert +Mon, 7 Dec 2009 12:35:33 +0000 +Checked in by : Robert Osfield +Converted tabs to four spaces - * ChangeLog: Updated ChangeLog for the release +Sat, 5 Dec 2009 10:13:43 +0000 +Checked in by : Robert Osfield +Updated wrappers -2006-07-14 20:46 robert +Sat, 5 Dec 2009 10:02:04 +0000 +Checked in by : Robert Osfield +Removed unimplemented updateGraph method - * NEWS.txt: Updated news for rc2. +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. -2006-07-14 18:40 robert +Please commit the enclosed file to fix these issues. - * applications/osgconv/osgconv.cpp: From Brede Johansen, patch to - make osgconv.cpp compile on VC 2005. +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. -2006-07-14 18:37 robert +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 - * VisualStudio/MUST_READ_ME.txt: Updated to officially deprecate - VS6.0 support. +I'm very happy if some of you guys find a better means of solving the black edges. -2006-07-14 18:20 robert +" - * applications/osgconv/osgconv.cpp: Added optional compilation of - setenv code -2006-07-14 14:38 robert - * src/osg/PolygonOffset.cpp: Implemented Radeon workaround for - polygonoffset +Fri, 4 Dec 2009 17:24:27 +0000 +Checked in by : Robert Osfield +Converted tabs to four space -2006-07-14 14:08 robert +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." - * include/osg/PolygonOffset, src/osg/PolygonOffset.cpp, - src/osgText/Text.cpp: 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-07-14 14:04 robert - * examples/osglogo/osglogo.cpp: Removed the default loading of - bluemarble.ive -2006-07-14 11:34 robert +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." - * include/osgUtil/CullVisitor: Fixed popStateSet +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 :?" -2006-07-14 11:29 robert +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." - * src/osgUtil/Optimizer.cpp: Removed debug info +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." -2006-07-14 11:04 robert +Wed, 2 Dec 2009 12:37:45 +0000 +Checked in by : Robert Osfield +Quitened down debug info - * src/osgUtil/Optimizer.cpp: Speeded up merge geometry +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 : -2006-07-13 20:50 robert + osggpx myterrainmodel.ive -t mytrack.gpx - * NEWS.txt: Typo fixes -2006-07-13 20:42 robert - * src/osgUtil/Optimizer.cpp: Optimized the MERGE_GEODES pass -2006-07-13 19:42 robert - * ChangeLog: Updated ChangeLog +Tue, 1 Dec 2009 19:40:29 +0000 +Checked in by : Robert Osfield +Quiten down debugging message -2006-07-13 15:56 robert +Mon, 30 Nov 2009 13:44:41 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgWrappers/osgUtil/Statistics.cpp: Updated wrappers +Fri, 27 Nov 2009 18:14:27 +0000 +Checked in by : Robert Osfield +Attempted compile fix. -2006-07-13 15:25 robert +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." - * applications/osgconv/osgconv.cpp, include/osgUtil/Statistics, - src/osgUtil/Optimizer.cpp: Added StatsVisitor to - include/osg/Statistics, and usage of it in osgUtil::Optimizer. - - Added --optimize option to osgconv -2006-07-13 14:58 robert - * src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: Added share - duplicates traversal to optimizer call +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." -2006-07-13 13:00 robert - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Fixed Trajce - Nikolov name reversal. -2006-07-13 11:46 robert +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"... - * include/osgUtil/Statistics: Fixed Statistics::reset() method to - include a reset of all member variables +What I've done: -2006-07-13 09:12 robert +I've added a search and replace of "\r\n" to "\n", and then "\r" to "\n" (note that the order is important). - * NEWS.txt: Fixed typos. +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."" -2006-07-13 09:01 robert - * src/osgText/Text.cpp: Fixed management of Text's StateSet so that - it works correctly when the DefaultFont is active. -2006-07-12 20:59 robert +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: - * NEWS.txt: Updated NEWS +std::string uri = std::string("file:") + foundFile; -2006-07-12 09:50 robert +to: - * include/osgGA/GUIEventAdapter, - include/osgGA/GUIEventHandlerVisitor: From Vincent Vivanloc, - Removed commas from end of enum lists, and removed semi-colon - from end of namespace. +#if defined(WIN32) && !defined(__CYGWIN__) + std::string uri = std::string("file:///") + foundFile; +#else + std::string uri = std::string("file:") + foundFile; +#endif -2006-07-12 09:40 robert - * src/osgPlugins/OpenFlight/PrimaryRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: 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." +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. -2006-07-11 21:53 robert +Now I could read my Chinese translation of OSGQSG with osgpdf. :P" - * include/osg/StateSet, include/osgUtil/CullVisitor, - src/osgPlugins/ive/StateSet.cpp, src/osgPlugins/osg/StateSet.cpp, - src/osgUtil/CullVisitor.cpp, src/osgWrappers/osg/StateSet.cpp: - Removed StateSet::ENCLOSE_RENDERBIN_DETAILS since it is - rendendent, and - implemented the OVERRIDE_RENDERBIN_DETAILS. -2006-07-11 14:24 robert - * include/osg/BlendFunc: 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, 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." -2006-07-11 10:34 robert +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. - * include/osgTerrain/DataSet, src/osgTerrain/DataSet.cpp: 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." +I have attached a fix to osgDB/FileUtils.cpp based on version 2.9.5 svn revision 10374 +" -2006-07-11 10:33 robert - * NEWS.txt: Added preciption effects to NEWS -2006-07-11 09:06 robert +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." - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updates - osgversion and AUTHORS.txt for typo. -2006-07-06 20:44 robert - * AUTHORS.txt, ChangeLog: Updated AUTHORS.txt and ChangeLog for - 1.1-rc1 +Fri, 27 Nov 2009 11:48:21 +0000 +Checked in by : Robert Osfield +Updated wrappers -2006-07-06 20:43 robert +Fri, 27 Nov 2009 11:43:18 +0000 +Checked in by : Robert Osfield +Implement deleteAllTextureObject/BufferObjects functionality.Cleaned up warnings. - * src/osgPlugins/normals/Normals.cpp: Tweak for VS6.0 build -2006-07-06 15:47 robert - * src/osgPlugins/ive/PagedLOD.cpp: Fixed scoping for for loop - varaible for VS6.0 build. +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 -2006-07-06 15:00 robert +Thu, 26 Nov 2009 10:12:38 +0000 +Checked in by : Robert Osfield +Added check for Geometry pointer being valid - * src/osgPlugins/lwo/Surface.cpp: Tweaks to try and fix VS6.0 - problems. +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 -2006-07-06 14:50 robert +Which repeats construction of the viewer 5 times in a row, and enables VBO, and on each repeat a new model is loaded. - * src/osgSim/OpenFlightOptimizer.cpp: Removed explict definition of - osgUtil::Optimizer::StateVisitor to attempt - to get round VS 6.0 cruddiness. + osgcamera -r 2 --vbo --shared cow.osg -2006-07-06 14:43 robert +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. - * src/osgPlugins/bsp/ReaderWriterQ3BSP.cpp: Tweaked for loop - variaible definition. -2006-07-06 14:36 robert - * ChangeLog, NEWS.txt: Updated NEWS and ChangeLog -2006-07-06 14:14 robert +Wed, 25 Nov 2009 16:20:25 +0000 +Checked in by : Robert Osfield +Added support for repeating viewer construction - * src/osg/Texture.cpp: 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, 25 Nov 2009 11:31:52 +0000 +Checked in by : Robert Osfield +From Sergey Leontyev, example for testing of DatabasePaging and CompositeView usage -2006-07-06 14:10 robert +Tue, 24 Nov 2009 15:26:54 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/Referenced.cpp: Updated wrappers +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. " -2006-07-06 14:02 robert +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 - * include/osg/Image, src/osg/Image.cpp: 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." +"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." -2006-07-06 13:06 robert - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Fixed typo - and unpdated AUTHORS file -2006-07-06 11:40 robert - * src/osgPlugins/obj/ReaderWriterOBJ.cpp: Added setting of name - from the .obj goup name and object names. +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;" -2006-07-06 11:33 robert +Tue, 24 Nov 2009 14:20:59 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/obj/ReaderWriterOBJ.cpp: Removed redundent debug - message. +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." -2006-07-06 11:30 robert +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. - * src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/obj.cpp: Add "hack" fix for black materials - being exported from Maya. +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." -2006-07-06 11:08 robert +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. - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Tweaked - osgversion to catch typos and updates AUTHORS.txt -2006-07-06 10:39 robert - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS.txt for - release +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." -2006-07-06 10:28 robert - * include/osg/Version, src/osg/Version.cpp, src/osgDB/Version.cpp, - src/osgGA/Version.cpp, src/osgParticle/Version.cpp, - src/osgProducer/Version.cpp, src/osgSim/Version.cpp, - src/osgTerrain/Version.cpp, src/osgText/Version.cpp, - src/osgUtil/Version.cpp: Updated version numbers for 1.1 release -2006-07-06 10:27 robert +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." - * src/osgText/Text.cpp: Tweaked polygon offset +Mon, 23 Nov 2009 09:54:28 +0000 +Checked in by : Robert Osfield +Updated version -2006-07-06 09:11 robert +Mon, 23 Nov 2009 09:53:08 +0000 +Checked in by : Robert Osfield +From Paul Martz, typo fixes - * Xcode/Misc/ArrangeDMG.sh, Xcode/Misc/FindOSGData.pl, - Xcode/Misc/Tar_Xcode.sh, Xcode/OSX_OSG_README.rtf, - Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Eric Wing, updaetes to Xcode projects +Sun, 22 Nov 2009 17:27:13 +0000 +Checked in by : Robert Osfield +Added missing createContextImplementation(). -2006-07-06 08:36 robert +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. - * src/osgText/Text.cpp: 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. +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. -2006-07-05 21:52 robert +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. - * src/osg/Texture.cpp: 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." +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." -2006-07-05 21:12 robert +Notes from Robert Osfield, adapted Colin's submission to work with the new EGL related changes. - * AUTHORS.txt: Updated AUTHORS file -2006-07-05 21:12 robert - * applications/osgversion/osgversion.cpp: Fixed typo. -2006-07-05 20:56 robert +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. - * src/osgPlugins/OpenFlight/PaletteRecords.cpp: From Brede - Johansen, "Changed ">" to ">=" when testing for version 16.1 or - later." + 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. -2006-07-05 13:44 robert +" - * src/osg/Texture.cpp: 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." -2006-07-05 13:31 robert - * examples/osgshaderterrain/osgshaderterrain.cpp: Added mutex to - the test context. +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 -2006-07-05 13:18 robert +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: - * examples/osgshaderterrain/osgshaderterrain.cpp: Added vertex - program hack to get round apparent NVidia bug when handling - vertex texture read. - -2006-07-05 12:54 robert - - * AUTHORS.txt: Updated AUTHORS file - -2006-07-05 12:51 robert - - * applications/osgversion/osgversion.cpp: More fixes for typos - -2006-07-05 10:48 robert - - * AUTHORS.txt: Updated AUTHORS file - -2006-07-05 10:47 robert - - * applications/osgversion/osgversion.cpp: Updated osgversion to - correct for ChangeLog typos. - -2006-07-05 10:29 robert - - * ChangeLog: Updated ChangeLog. - -2006-07-05 10:24 robert - - * NEWS.txt: Updated NEWS. - -2006-07-05 10:23 robert - - * NEWS.txt: First steps towards updating NEWS for 1.1 release - -2006-07-05 09:52 robert - - * src/osgPlugins/ESRIShape/ESRIShape.cpp, - src/osgPlugins/ESRIShape/ESRIShapeParser.cpp, - src/osgPlugins/bsp/ReaderWriterQ3BSP.cpp, - src/osgPlugins/normals/Normals.cpp, - src/osgPlugins/normals/Normals.h, - src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/txp/TXPArchive.h, - src/osgPlugins/txp/trpage_geom.h: Fixed warnings - -2006-07-05 08:59 robert - - * src/osgPlugins/directx/types.h: 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 - - * src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: From Brede - Johansen, renaned FLT_preserveFace to preserveFace - -2006-07-04 19:58 robert - - * include/osg/Referenced, src/osg/Referenced.cpp: Changed parameter - name from osberver_ptr to observer. - -2006-07-04 19:54 robert - - * src/osgPlugins/OpenFlight/Document.cpp, - src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/OpenFlight/Pools.h, - src/osgPlugins/OpenFlight/PrimaryRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: 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. - " - -2006-07-04 14:37 robert - - * include/osgProducer/KeyboardMouseCallback, - src/osgProducer/KeyboardMouseCallback.cpp, - src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/osgProducer/KeyboardMouseCallback.cpp: Updated - wrappers. - -2006-07-04 14:18 robert - - * include/osgGA/EventQueue, include/osgGA/GUIEventAdapter, - include/osgProducer/KeyboardMouseCallback, - src/osgGA/EventQueue.cpp, src/osgGA/GUIEventAdapter.cpp, - src/osgProducer/KeyboardMouseCallback.cpp: 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 - - * src/osgWrappers/osgText/Font.cpp: Updated wrappers. - -2006-07-04 13:56 robert - - * include/osgText/Font, src/osgText/Font.cpp, src/osgText/Text.cpp: - 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 - - * src/osgSim/MultiSwitch.cpp: 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." - -2006-07-04 12:57 robert - - * src/osgDB/Registry.cpp: Fix to Registry::read(ReadFunctor) to - better handle reporting of errors - -2006-07-04 11:24 robert - - * src/osgPlugins/OpenFlight/AncillaryRecords.cpp, - src/osgPlugins/OpenFlight/ControlRecords.cpp, - src/osgPlugins/OpenFlight/DataInputStream.cpp, - src/osgPlugins/OpenFlight/Document.cpp, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/LightPointRecords.cpp, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/OpenFlight/Pools.cpp, - src/osgPlugins/OpenFlight/PrimaryRecords.cpp, - src/osgPlugins/OpenFlight/RoadRecords.cpp, - src/osgPlugins/OpenFlight/VertexRecords.cpp: Fixed warnings. - -2006-07-04 10:55 robert - - * src/osgPlugins/bsp/BSPLoad.cpp: Warning fix. - -2006-07-04 10:52 robert - - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: Warning fix - -2006-07-04 09:46 robert - - * examples/osgunittests/performance.cpp: fixed warning and add a - few extra tests - -2006-07-04 09:18 robert - - * include/osgParticle/ConstantRateCounter: From Roland Smeenk, - Added missing initialization to zero of the _carryOver value in - default and copy constructor. - -2006-07-04 09:13 robert - - * VisualStudio/osgPlugins/directx/directx.dsp, - src/osgPlugins/directx/GNUmakefile, - src/osgPlugins/directx/LICENSE, - src/osgPlugins/directx/ReaderWriterDirectX.cpp, - src/osgPlugins/directx/directx.cpp, - src/osgPlugins/directx/directx.h, - src/osgPlugins/directx/mesh.cpp, src/osgPlugins/directx/mesh.h, - src/osgPlugins/directx/types.cpp, src/osgPlugins/directx/types.h: - From Ulrich Hertlein, updates to DirectX loader +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())); +} -2006-07-03 20:28 robert +to - * src/osgPlugins/OpenFlight/PaletteRecords.cpp: From Brede - Johansen, set the default value of texture wrap mode to REPEAT to - fix problem - with database without .attr files. +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); +} -2006-07-03 16:31 robert +That is, just swap the positions of two 'if () {...}' segments. - * src/osgPlugins/OpenFlight/AncillaryRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/OpenFlight/Record.cpp, - src/osgPlugins/OpenFlight/Record.h: Fixed a couple of warnings. +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. + " -2006-07-03 16:21 robert - * src/osgPlugins/bsp/ReaderWriterQ3BSP.cpp: Fixed orientation and - lighting of model. -2006-07-03 15:21 robert - - * include/osg/ref_ptr: Removed template methods that were break - VS6.0 build. - -2006-07-03 13:53 robert - - * VisualStudio/examples/osgunittests/osgunittests.dsp, - examples/osgunittests/GNUmakefile, - examples/osgunittests/osgunittests.cpp, - examples/osgunittests/performance.cpp, - examples/osgunittests/performance.h: Added a performace test - section to osgunitests, currently just does basic C/C++ tests. - -2006-07-03 10:47 robert - - * src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: Added merge geodes - and geometries optimizer call - -2006-07-03 09:26 robert - - * src/osgPlugins/ive/ReaderWriterIVE.cpp: 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-07-03 09:22 robert - - * src/osgPlugins/ive/BlendFunc.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/ReadWrite.h, src/osgPlugins/osg/BlendFunc.cpp: - From Michael Platings, added support for blend seperates to .ive - and .osg - -2006-06-30 13:50 robert - - * src/osgWrappers/osg/BlendFunc.cpp: Updated wrappers. - -2006-06-30 13:50 robert - - * include/osg/BlendFunc, src/osg/BlendFunc.cpp: From Michael - Platings, added support for glBlendFuncSeperate. - -2006-06-30 13:47 robert - - * include/osg/Texture, src/osg/Texture.cpp: From Eric Sokolowsky, - made a couple of methods static. - -2006-06-29 19:38 robert - - * src/osgPlugins/txp/TXPArchive.h: From David Callu, compile fix - for gcc 4.1 - -2006-06-29 15:57 robert - - * include/osgUtil/RenderBin, src/osg/AlphaFunc.cpp, - src/osg/StateSet.cpp, src/osgProducer/Viewer.cpp, - src/osgUtil/RenderBin.cpp, src/osgUtil/SceneView.cpp, - src/osgWrappers/osgUtil/RenderBin.cpp: Added support for - RenderBin's have a local top level StateSet. This is now - used by default in the depth sorted bin. - -2006-06-29 11:57 robert - - * VisualStudio/osgWrappers/osg/wrapper_osg.dsp: Updated wrappers - -2006-06-29 11:00 robert - - * src/osgWrappers/osg/GNUmakefile, src/osgWrappers/osg/Group.cpp, - src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgGA/EventVisitor.cpp, - src/osgWrappers/osgProducer/OsgCameraGroup.cpp, - src/osgWrappers/osgSim/InsertImpostorsVisitor.cpp, - src/osgWrappers/osgSim/OpenFlightOptimizer.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp, - src/osgWrappers/osgUtil/UpdateVisitor.cpp: Updated wrappers. - -2006-06-29 10:19 robert +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. - * VisualStudio/osgWrappers/osg/wrapper_osg.dsp, - src/osgWrappers/osg/Array.cpp, - src/osgWrappers/osg/ClampColor.cpp, - src/osgWrappers/osg/ClipNode.cpp, - src/osgWrappers/osg/CullingSet.cpp, - src/osgWrappers/osg/GNUmakefile, src/osgWrappers/osg/Geode.cpp, - src/osgWrappers/osg/Geometry.cpp, - src/osgWrappers/osg/GraphicsThread.cpp, - src/osgWrappers/osg/Group.cpp, src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osg/Shape.cpp, - src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/StateSet.cpp, - src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgGA/EventVisitor.cpp, - src/osgWrappers/osgGA/GUIEventHandler.cpp, - src/osgWrappers/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/osgProducer/OsgCameraGroup.cpp, - src/osgWrappers/osgSim/Impostor.cpp, - src/osgWrappers/osgSim/InsertImpostorsVisitor.cpp, - src/osgWrappers/osgSim/LightPointNode.cpp, - src/osgWrappers/osgSim/OpenFlightOptimizer.cpp, - src/osgWrappers/osgSim/SphereSegment.cpp, - src/osgWrappers/osgTerrain/DataSet.cpp, - src/osgWrappers/osgText/Text.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/DelaunayTriangulator.cpp, - src/osgWrappers/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp, - src/osgWrappers/osgUtil/PositionalStateContainer.cpp, - src/osgWrappers/osgUtil/RenderBin.cpp, - src/osgWrappers/osgUtil/StateGraph.cpp, - src/osgWrappers/osgUtil/Tesselator.cpp, - src/osgWrappers/osgUtil/UpdateVisitor.cpp: Updated wrappers -2006-06-29 10:17 robert - * src/osgPlugins/txp/trpage_material.cpp: Changed _WIN32 to - _MSC_VER -2006-06-29 10:06 robert +Fri, 20 Nov 2009 14:15:42 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/quicktime/ReaderWriterQT.cpp: From Eric Wing, - updates to QuickTime plugin +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." -2006-06-29 09:34 robert +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. - * src/osgPlugins/OpenFlight/DataInputStream.cpp, - src/osgPlugins/OpenFlight/DataInputStream.h, - src/osgPlugins/OpenFlight/Document.cpp, - src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/OpenFlight/Pools.h, - src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/OpenFlight/RecordInputStream.cpp, - src/osgPlugins/OpenFlight/RecordInputStream.h, - src/osgPlugins/OpenFlight/VertexRecords.cpp: 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 - - * src/osgPlugins/bsp/BSPLoad.h: Changed unsinged int to GLuint for - OSX compile fix. - -2006-06-28 20:38 robert - - * src/osgPlugins/bsp/ReaderWriterQ3BSP.cpp: Changed unsigned int to - GLuint for OSX build. - -2006-06-28 14:36 robert - - * src/osgPlugins/bsp/ReaderWriterQ3BSP.cpp: Change internal - variables across to being GLuint. - -2006-06-28 11:37 robert - - * Xcode/OpenSceneGraph/osgprecipitation-Info.plist: From Eric Wing, - updates to Xcode projects - -2006-06-28 11:27 robert - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/osgcopy-Info.plist: From Eric Wing, updates - to Xcode projects - -2006-06-28 10:22 robert - - * src/osgDB/Registry.cpp: Made the new OpenFlight plugin the - default. - -2006-06-28 10:00 robert - - * examples/osgspheresegment/osgspheresegment.cpp: Added a setRadius - into the screen space LOD. - -2006-06-28 07:17 robert - - * src/osgPlugins/txp/trpage_material.cpp: From Martin Naylor, build - fix for windows. - -2006-06-28 07:14 robert - - * src/osgPlugins/txp/trpage_sys.h: Removed old #include - entries. - -2006-06-27 20:13 robert - - * src/osgProducer/OsgCameraGroup.cpp: Added setting of the - CameraConfig:TheradModelDirective - -2006-06-27 13:09 robert - - * include/osgText/Text, src/osgText/Text.cpp: From Eric Wing, added - support for outline/shadow and colour gradient effects. - -2006-06-27 12:08 robert - - * src/osgProducer/OsgCameraGroup.cpp: 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-06-27 12:05 robert - - * examples/osglogo/osglogo.cpp: From Eric Wing, added support for - outline/shadow and colour gradient effects. - -2006-06-27 10:07 robert - - * src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/ReaderWriterTXP.h, - src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/txp/TXPArchive.h, src/osgPlugins/txp/TXPIO.cpp, - src/osgPlugins/txp/TXPNode.cpp, src/osgPlugins/txp/TXPNode.h, - src/osgPlugins/txp/TXPPagedLOD.cpp, - src/osgPlugins/txp/TXPPagedLOD.h, - src/osgPlugins/txp/TXPParser.cpp, src/osgPlugins/txp/TXPParser.h, - src/osgPlugins/txp/TXPSeamLOD.cpp, - src/osgPlugins/txp/TXPSeamLOD.h, - src/osgPlugins/txp/TileMapper.cpp, - src/osgPlugins/txp/TileMapper.h, src/osgPlugins/txp/trdll.h, - src/osgPlugins/txp/trpage_basic.cpp, - src/osgPlugins/txp/trpage_compat.cpp, - src/osgPlugins/txp/trpage_compat.h, - src/osgPlugins/txp/trpage_geom.cpp, - src/osgPlugins/txp/trpage_geom.h, - src/osgPlugins/txp/trpage_header.cpp, - src/osgPlugins/txp/trpage_io.h, - src/osgPlugins/txp/trpage_label.cpp, - src/osgPlugins/txp/trpage_light.cpp, - src/osgPlugins/txp/trpage_main.cpp, - src/osgPlugins/txp/trpage_managers.cpp, - src/osgPlugins/txp/trpage_managers.h, - src/osgPlugins/txp/trpage_material.cpp, - src/osgPlugins/txp/trpage_model.cpp, - src/osgPlugins/txp/trpage_nodes.cpp, - src/osgPlugins/txp/trpage_parse.cpp, - src/osgPlugins/txp/trpage_pparse.cpp, - src/osgPlugins/txp/trpage_print.cpp, - src/osgPlugins/txp/trpage_print.h, - src/osgPlugins/txp/trpage_range.cpp, - src/osgPlugins/txp/trpage_rarchive.cpp, - src/osgPlugins/txp/trpage_read.h, - src/osgPlugins/txp/trpage_readbuf.cpp, - src/osgPlugins/txp/trpage_scene.cpp, - src/osgPlugins/txp/trpage_scene.h, - src/osgPlugins/txp/trpage_swap.cpp, - src/osgPlugins/txp/trpage_swap.h, - src/osgPlugins/txp/trpage_sys.h, - src/osgPlugins/txp/trpage_tile.cpp, - src/osgPlugins/txp/trpage_util.cpp, - src/osgPlugins/txp/trpage_util.h, - src/osgPlugins/txp/trpage_warchive.cpp, - src/osgPlugins/txp/trpage_write.h, - src/osgPlugins/txp/trpage_writebuf.cpp: 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 - - * examples/osgdepthshadow/osgdepthshadow.cpp, - examples/osgfxbrowser/Frame.cpp, - examples/osgfxbrowser/osgfxbrowser.cpp, - include/osgUtil/IntersectVisitor, - src/osgFX/AnisotropicLighting.cpp, src/osgFX/BumpMapping.cpp, - src/osgFX/Cartoon.cpp, src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/lwo/Surface.cpp, src/osgPlugins/lwo/VertexMap.cpp, - src/osgPlugins/lws/ReaderWriterLWS.cpp, - src/osgUtil/Simplifier.cpp: Replaced ref_ptr<>:take with - ref_ptr<>:release, and added handling of removeal - of ref_ptr<> operator >. - -2006-06-26 20:43 robert - - * src/osgProducer/Viewer.cpp: Added DeleteHandler flush call. - -2006-06-26 20:41 robert - - * include/osg/ref_ptr: 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-06-26 20:35 robert - - * src/osg/Referenced.cpp: Added a functional DeleteHandler. - -2006-06-26 15:18 robert - - * applications/osgconv/osgconv.cpp: Fixed crash on osgconv - --compressed cow.osg cow.ive - -2006-06-26 10:57 robert - - * src/osgPlugins/bsp/ReaderWriterQ3BSP.cpp: Changed GLunit usage to - unsigned int. - -2006-06-26 10:39 robert - - * src/osgPlugins/ESRIShape/ESRIShapeParser.cpp: From Andreas - Ekstrand, fix for Windows - -2006-06-26 09:56 robert - - * include/osg/PrimitiveSet, include/osg/TriangleFunctor: From - Leandro Motta Barros, documentation additions to PrimitiveSet & - TriangleFunctor. - -2006-06-26 09:30 robert - - * src/osgPlugins/dxf/codeValue.h, src/osgPlugins/dxf/dxfReader.cpp, - src/osgPlugins/dxf/dxfReader.h: 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? +I join the fixed file." -2006-06-26 09:18 robert - * src/osgUtil/CullVisitor.cpp: 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. -2006-06-26 09:09 robert +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." - * VisualStudio/OpenSceneGraph.dsw: From Martin Naylor, added osgGA - dependency to osgkeyboardmouse +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. + " -2006-06-16 09:28 robert +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. - * include/osgGA/GUIEventAdapter: Fixed typo. -2006-06-12 14:04 robert - * examples/osgkeyboardmouse/osgkeyboardmouse.cpp: Added pick - handler. +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. -2006-06-12 11:32 robert +I am attaching a patch I made to fix this problem." - * examples/osgkeyboardmouse/GNUmakefile, - examples/osgkeyboardmouse/osgkeyboardmouse.cpp: Revamped - osgkeyboardmouse to use the osgGA. -2006-06-12 09:57 robert - * Make/makedefs: From Mathew May, FreeBSD build fixes. +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" -2006-06-08 15:27 robert +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. - * VisualStudio/osg/osg.dsp, include/osg/ClampColor, - include/osg/StateAttribute, src/osg/ClampColor.cpp, - src/osg/GNUmakefile: Martin Spindler, new osg::ClampColor state - attribute. +//Sample program. Run against an osgEarth or VPB database based on osgTerrain. +#include +#include -2006-06-08 14:32 robert +int main(int argc, char** argv) +{ + osg::ArgumentParser arguments(&argc,argv); - * VisualStudio/osgSim/osgSim.dsp, - examples/osglightpoint/osglightpoint.cpp, - include/osgSim/LightPointNode, - src/osgPlugins/OpenFlight/LightPointRecords.cpp, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/OpenFlight/Pools.h, src/osgSim/GNUmakefile, - src/osgSim/LightPointNode.cpp, - src/osgSim/LightPointSpriteDrawable.cpp, - src/osgSim/LightPointSpriteDrawable.h: From Paul Martz, added - support to textured light points into osgSim and OpenFlight - loader, as part of the OpenFlight v16.0 spec. + 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; -2006-06-08 13:34 robert + viewer = new osgViewer::Viewer(); + viewer->setUpViewInWindow(100,100,500,500); + loadedModel = osgDB::readNodeFiles(arguments); + viewer->setSceneData( loadedModel.get() ); + viewer->run(); + delete viewer; +}" - * src/osgText/Text.cpp: From Matt Green, fix to handling of - centering of multi-line text entries. -2006-06-08 12:09 robert - * include/osg/State: From Paul Martz, clean up of comments. +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." -2006-06-08 12:07 robert +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 " - * examples/osgshaders/GL2Scene.cpp: From Mike Weiblen, reverted - shaders changes due to lack of hardware/driver support +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: -2006-06-08 11:58 robert +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. - * include/osg/Array: 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-06-08 11:56 robert +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. - * VisualStudio/osgSim/osgSim.dsp: From Paul Martz, fixed incorrect - filename in project file +I recommand this tool http://avicodec.duby.info/, that check which +video/sound codec is needed to play an avi file. -2006-06-08 11:39 robert - * src/osgUtil/Optimizer.cpp: With direction from Paul Melis, fixed - bug in CopySharedSubgraphsVisitor which prevented - it being applied. Also fix inappropriate comment. +You can test it with the osgmovie example. +" -2006-06-08 11:22 robert - * src/osgDB/FileUtils.cpp: 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:")." -2006-06-08 11:19 robert +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." - * applications/osgdem/osgdem.cpp: Added setting of default colour. -2006-06-08 11:18 robert - * examples/osgsimulation/osgsimulation.cpp: added SphereSegment - test code segment, commented out at pressent. +Fri, 20 Nov 2009 09:05:06 +0000 +Checked in by : Robert Osfield +Added #include -2006-06-05 16:25 robert +Fri, 20 Nov 2009 09:03:02 +0000 +Checked in by : Robert Osfield +From Jan Ciger, removal of declaration of now undefined method. - * src/osgSim/SphereSegment.cpp: Added missing clip against maximum - azimuth. +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." -2006-06-05 16:25 robert - * examples/osgspheresegment/osgspheresegment.cpp: Added extra - SphereSegment intersection tests. -2006-06-05 16:06 robert +Thu, 19 Nov 2009 17:27:21 +0000 +Checked in by : Robert Osfield +From Lilin Xiong, added missing OSG_EXPORT - * src/osgProducer/ViewerEventHandler.cpp: Improved stats sizing in - presense of wide screens. +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. -2006-05-29 09:08 robert +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. - * applications/osgviewer/osgviewer.cpp: Reverted changes from - revision 1.4, as they look like a temporary hack not intended - to be merged. +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. -2006-05-26 15:19 robert +Modification done against current SVN Trunk version (r10753). - * src/osgTerrain/DataSet.cpp: From Jason Baverage, support for - interpolating DEM data from GDAL to the positions - required for the current tile. +As this is a fix, I do not wish to keep my copyright on this submission and assign it over to the project lead. +" -2006-05-23 19:03 robert - * src/osgPlugins/bsp/BITSET.cpp, src/osgPlugins/bsp/BITSET.h, - src/osgPlugins/bsp/BSPLoad.cpp, src/osgPlugins/bsp/BSPLoad.h, - src/osgPlugins/bsp/ReaderWriterQ3BSP.cpp, - src/osgPlugins/bsp/ReaderWriterQ3BSP.h: Ran dos2unix of files -2006-05-22 19:30 robert +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." - * src/osgUtil/RenderStage.cpp: Cleaned up the OpenGL error - reporting. +Thu, 19 Nov 2009 17:17:24 +0000 +Checked in by : Robert Osfield +Fixed tabs -2006-05-16 21:32 robert +Thu, 19 Nov 2009 16:53:29 +0000 +Checked in by : Robert Osfield +Fixed spacing - * src/osgWrappers/osg/Object.cpp, - src/osgWrappers/osg/Referenced.cpp, - src/osgWrappers/osg/StateSet.cpp, - src/osgWrappers/osg/Uniform.cpp, - src/osgWrappers/osgTerrain/DataSet.cpp: Updated wrappers. +Thu, 19 Nov 2009 16:45:35 +0000 +Checked in by : Robert Osfield +From Nico Krulthof, remove double qualifier of ReaderWriterQT constructor/destructor. -2006-05-16 21:20 robert +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. - * include/osg/StateSet, src/osg/StateSet.cpp, - src/osgPlugins/ive/Uniform.cpp: Minor tweaks of ints to unsigned - ints +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. -2006-05-16 21:00 robert +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. - * include/osg/Uniform, src/osg/Uniform.cpp: From Mike Weiblen, - futher work on Uniform array support. -2006-05-16 21:00 robert - * src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/Uniform.cpp: - From Mike Weiblen, support for new Uniform arrays. - From Robert Osfield, refactor of above with original code to - ensure backwards compatibility. +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." -2006-05-16 10:21 robert - * src/osgProducer/Viewer.cpp, - src/osgProducer/ViewerEventHandler.cpp: Compile fixes for OSX -2006-05-15 15:46 robert +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. - * examples/osgshaders/GL2Scene.cpp, include/osg/StateSet, - include/osg/Uniform, src/osg/StateSet.cpp, src/osg/Uniform.cpp, - src/osgPlugins/osg/Uniform.cpp, - src/osgProducer/ViewerEventHandler.cpp: From Mike Weiblen, - support GLSL uniform arrays. A couple of tweaks and fixes from - Robert Osfield. +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; -2006-05-15 13:22 robert - * src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/PaletteRecords.cpp: 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." +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." -2006-05-15 13:13 robert - * applications/osgdem/osgdem.cpp: Replaced BoundingBox with - GeospatialExtents. -2006-05-15 13:12 robert +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. - * include/osgTerrain/DataSet, src/osgTerrain/DataSet.cpp: 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 +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: - * include/osgDB/FileUtils: From Eric Wing, removed trailing commans - from enum lists. +0 : don't capture +<0 : capture continuously +>0 : capture that number of frames then stop -2006-05-15 11:53 robert +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'). - * include/osg/Math: From Eric Wing, compile fix for OSX. +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. :-) -2006-05-15 11:48 robert +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. - * include/osg/Geometry, src/osg/Geometry.cpp: 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. +I've tested all cases (I think). If you want to try, in osgviewer.cpp and replace the line -2006-05-15 11:38 robert + // add the screen capture handler + viewer.addEventHandler(new osgViewer::ScreenCaptureHandler); - * examples/osgvolume/osgvolume.cpp: From Adrian Egli, added - std::ifstream::binary qualifier to ifstream usage. +with -2006-05-15 11:27 robert + // 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(); - * src/osgPlugins/OpenFlight/AttrData.h, - src/osgPlugins/OpenFlight/PaletteRecords.cpp: From Paul Martz, - "add support for the v16.0 "Add" texture environment and - "mirrored repeat" wrap mode." +And vary the "-1" (put 0, 10, 50) and then use the 'c' and 'C' keys and see how it reacts. +" -2006-05-15 11:22 robert - * src/osgPlugins/OpenFlight/Vertex.cpp, - src/osgPlugins/OpenFlight/Vertex.h: Changed instances of - setCoord(const Vec3) to setCoord(const Vec3&) style. -2006-05-15 11:18 robert +Thu, 19 Nov 2009 11:54:15 +0000 +Checked in by : Robert Osfield +Fixed spaces at ends of lines - * src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/PrimaryRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/OpenFlight/Record.h, - src/osgPlugins/OpenFlight/Registry.h, - src/osgPlugins/OpenFlight/Vertex.cpp, - src/osgPlugins/OpenFlight/Vertex.h, - src/osgPlugins/OpenFlight/VertexRecords.cpp: 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-05-15 09:55 robert - - * VisualStudio/OpenSceneGraph.dsw, VisualStudio/osgPlugins/bsp, - VisualStudio/osgPlugins/bsp/bsp.dsp: Added VisualStudio project - for Quake3 BSP plugin - -2006-05-15 09:46 robert - - * Make/makedirdefs, src/osgPlugins/bsp, - src/osgPlugins/bsp/BITSET.cpp, src/osgPlugins/bsp/BITSET.h, - src/osgPlugins/bsp/BSPLoad.cpp, src/osgPlugins/bsp/BSPLoad.h, - src/osgPlugins/bsp/GNUmakefile, - src/osgPlugins/bsp/ReaderWriterQ3BSP.cpp, - src/osgPlugins/bsp/ReaderWriterQ3BSP.h: 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-05-09 09:47 robert - - * src/osgUtil/RenderStage.cpp: From Farshid Lashkari, "The - drawInner() method of osgUtil::RenderStage ignores the - checkForGLErrors flag of the osg::State object. The attatched - file - fixes this." - -2006-05-09 09:42 robert - - * include/osg/Referenced: From Tree, build fixes for JavaOSG build. - -2006-05-09 09:35 robert - - * include/osg/Math: From Farshid Lashari, round funciton. +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" -2006-05-09 09:13 robert +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." - * src/osg/AutoTransform.cpp: Removed redundent variable - declaration. -2006-05-09 09:12 robert - * include/osg/AutoTransform: From Farshid Lashkari, "The - setScale(Vec3) method of osg::AutoTransform does not dirty the - matrix. The fix is attached." +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." -2006-05-04 19:39 robert +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" - * src/osgWrappers/osg/Group.cpp: Updated wrappers +Thu, 19 Nov 2009 10:47:42 +0000 +Checked in by : Robert Osfield +Fixed build -2006-05-04 19:36 robert +Thu, 19 Nov 2009 10:12:00 +0000 +Checked in by : Robert Osfield +Updated wrappers - * include/osg/Group: Added removeChild(unsigned int, unsigned int) - back in for backward compatibility. +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. -2006-05-04 19:15 robert +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)." - * src/osg/PagedLOD.cpp: Fixed expire of children to work with the - new Group::removeChildren method. -2006-05-02 15:52 robert - * include/osg/Matrixd, include/osg/Matrixf, include/osg/Object, - include/osg/Referenced, include/osgUtil/RenderLeaf, - include/osgUtil/StateGraph, src/osg/Referenced.cpp, - src/osgUtil/CullVisitor.cpp: 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. -2006-05-02 09:50 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 - * src/osgWrappers/osg/Geode.cpp, src/osgWrappers/osg/Group.cpp, - src/osgWrappers/osg/LOD.cpp, src/osgWrappers/osg/PagedLOD.cpp, - src/osgWrappers/osg/ProxyNode.cpp, - src/osgWrappers/osg/Switch.cpp, - src/osgWrappers/osgParticle/PrecipitationEffect.cpp: Updated - wrappers. +Wed, 18 Nov 2009 16:24:01 +0000 +Checked in by : Robert Osfield +Moved the set of include/osg/Version into Cmake -2006-05-02 09:49 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". - * include/osg/Transform: Fixed docs on GL_SCALE_NORMAL -2006-05-02 09:45 robert - * Make/makedefs, examples/osgdepthpartition/DepthPartitionNode.cpp, - examples/osgdepthpartition/DepthPartitionNode.h, - examples/osgfxbrowser/Frame.cpp, - examples/osgfxbrowser/osgfxbrowser.cpp, - examples/osgsimulation/osgsimulation.cpp, include/osg/Geode, - include/osg/Group, include/osg/LOD, include/osg/PagedLOD, - include/osg/ProxyNode, include/osg/Switch, src/osg/Geode.cpp, - src/osg/Group.cpp, src/osg/LOD.cpp, src/osg/PagedLOD.cpp, - src/osg/ProxyNode.cpp, src/osg/Switch.cpp, - src/osgParticle/ParticleEffect.cpp, - src/osgPlugins/ESRIShape/ESRIShapeParser.cpp, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/PrimaryRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/lwo/Converter.cpp, src/osgUtil/Optimizer.cpp, - src/osgUtil/SceneView.cpp: 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. +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." -2006-05-02 09:18 robert - * src/osgSim/OverlayNode.cpp: Fixed popping of state frustum. -2006-05-01 16:20 robert +Wed, 18 Nov 2009 12:50:03 +0000 +Checked in by : Robert Osfield +Fixed primCount default value - * src/osgText/Text.cpp: From Colin MacDonald, fixed handling of an - adding a graphics context after the creating of the - osgText::Text. +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 ..." -2006-05-01 16:13 robert +Wed, 18 Nov 2009 11:26:00 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/osgParticle/IO_ConstantRateCounter.cpp: Ran - dos2unix. +Wed, 18 Nov 2009 11:25:28 +0000 +Checked in by : Robert Osfield +Added osg::ShaderBinary::readShaderBinaryFile(..) static method -2006-05-01 16:11 robert +Tue, 17 Nov 2009 15:54:20 +0000 +Checked in by : Robert Osfield +Moved across to use OSG_FIXED_FUNCTION_AVAILABLE - * Xcode/XcodeTemplates/OSG Application/osgApp_Prefix.pch: From Eric - Wing, updated precompiled header list in new project file - template. +Tue, 17 Nov 2009 14:06:07 +0000 +Checked in by : Robert Osfield +, and includes required for QNX compiler -2006-05-01 16:05 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 - * include/osg/Drawable, include/osg/Vec3s, include/osg/Vec4s: From - Eric Wing, removed trailing semi colonds from namespace end - bracket. +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. -2006-05-01 14:51 robert +Tue, 17 Nov 2009 11:36:32 +0000 +Checked in by : Robert Osfield +Removed usage of throw - * Make/makedefs: From Mathew May, FreeBSD support for AMD64. +Mon, 16 Nov 2009 17:50:33 +0000 +Checked in by : Robert Osfield +Fixed Shader constructor -2006-04-28 10:48 robert +Mon, 16 Nov 2009 16:09:50 +0000 +Checked in by : Robert Osfield +Replaced catch usage - * src/osgProducer/OsgCameraGroup.cpp: Added catch for thread model - w.r.t new PrecipitationEffect not being - sensitive to threading issues. +Mon, 16 Nov 2009 15:47:32 +0000 +Checked in by : Robert Osfield +Removed catch -2006-04-25 13:50 robert +Mon, 16 Nov 2009 15:17:57 +0000 +Checked in by : Robert Osfield +Removed throw. - * VisualStudio/osgWrappers/osgParticle/wrapper_osgParticle.dsp, - include/osgParticle/PrecipitationEffect, - src/osgWrappers/osgParticle/GNUmakefile, - src/osgWrappers/osgParticle/PrecipitationEffect.cpp: UPdated - wrappers +Mon, 16 Nov 2009 14:58:31 +0000 +Checked in by : Robert Osfield +Removed throw. -2006-04-25 12:56 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. - * examples/osgprecipitation/osgprecipitation.cpp, - include/osgParticle/PrecipitationEffect: Added UseFarLineSegments - option +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. -2006-04-25 12:39 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 " - * examples/osgprecipitation/osgprecipitation.cpp, - include/osgParticle/PrecipitationEffect, - src/osgParticle/PrecipitationEffect.cpp: Implemented seemless - update of precipitation properties. +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. -2006-04-25 09:00 robert - * src/osg/DisplaySettings.cpp: Reset the default number of graphics - context to 1. -2006-04-24 21:48 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 - * include/osgParticle/PrecipitationEffect, - src/osgParticle/PrecipitationEffect.cpp: Moved LessFunctor into - header. +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. -2006-04-24 16:21 robert - * examples/osgprecipitation/osgprecipitation.cpp, - include/osgParticle/PrecipitationEffect, - src/osgParticle/PrecipitationEffect.cpp: Moved - PrecipitationParameters directly into PrecipitationEffect. -2006-04-24 11:24 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 - * src/osgParticle/PrecipitationEffect.cpp: Added depth sorting of - cells. +Fri, 13 Nov 2009 10:03:02 +0000 +Checked in by : Robert Osfield +From Paul Martz, osgViewer Win32 GL3 context creation support -2006-04-24 10:32 robert +Fri, 13 Nov 2009 09:56:47 +0000 +Checked in by : Robert Osfield +Added missing export - * src/osgParticle/PrecipitationEffect.cpp: Added near/far compute. +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. -2006-04-24 09:35 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. - * VisualStudio/OpenSceneGraph.dsw: Added osgParticle dependency to - osgPrecipitation example. +Added automatic GLenum mode mappings in osg::PrimitiveSet to provide a fallback for non support glDrawArray/glDrawElement modes. -2006-04-24 08:37 robert +Added finer gained error checking during StateSet::compile(). - * VisualStudio/OpenSceneGraph.dsw: Added osgUtil to the osgParticle - dependencies. -2006-04-24 06:36 robert - * examples/osgprecipitation/osgprecipitation.cpp, - include/osgParticle/PrecipitationEffect, - src/osgParticle/PrecipitationEffect.cpp: Added support for wind. +Thu, 12 Nov 2009 12:19:09 +0000 +Checked in by : Robert Osfield +Introdced usage of State::drawQuads -2006-04-22 15:08 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. - * VisualStudio/osgParticle/osgParticle.dsp, - examples/osgprecipitation/GNUmakefile, - examples/osgprecipitation/PrecipitationEffect.cpp, - examples/osgprecipitation/PrecipitationEffect.h, - examples/osgprecipitation/PrecipitationParameters.cpp, - examples/osgprecipitation/PrecipitationParameters.h, - examples/osgprecipitation/line_rain.vert, - examples/osgprecipitation/osgprecipitation.cpp, - examples/osgprecipitation/point_rain.frag, - examples/osgprecipitation/point_rain.vert, - examples/osgprecipitation/quad_rain.vert, - examples/osgprecipitation/rain.frag, - examples/osgprecipitation/rain.vert, - include/osgParticle/PrecipitationEffect, - src/osgParticle/GNUmakefile, - src/osgParticle/PrecipitationEffect.cpp: Moved - PrecipitationEffect node into osgParticle. +Thu, 12 Nov 2009 12:14:01 +0000 +Checked in by : Robert Osfield +Fixed winding of GL_QUADS mapping -2006-04-22 15:07 robert +Thu, 12 Nov 2009 12:07:13 +0000 +Checked in by : Robert Osfield +Improved compatibility with GLES2 - * src/osgProducer/Viewer.cpp: Decreased notify level of debug - message. +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. -2006-04-22 06:33 robert +Added support for s/getGLContextVersion(), s/getGLContextFlags() and s/getGLContextProfileMask() to osg::DisplaySettings. - * examples/osgprecipitation/GNUmakefile, - examples/osgprecipitation/PrecipitationDrawable.cpp, - examples/osgprecipitation/PrecipitationDrawable.h, - examples/osgprecipitation/PrecipitationEffect.cpp, - examples/osgprecipitation/PrecipitationEffect.h, - examples/osgprecipitation/PrecipitationParameters.h: Moved - PrecipitationDrawable into PrecipitationEffect. +Added command line and env var support for setting the GLContextVersion, GLContextFlags and GLContextProfileMask to osg::DisplaySettings. -2006-04-21 19:39 robert - * examples/osgprecipitation/GNUmakefile, - examples/osgprecipitation/PrecipitationDrawable.cpp, - examples/osgprecipitation/PrecipitationDrawable.h, - examples/osgprecipitation/PrecipitationEffect.cpp, - examples/osgprecipitation/PrecipitationEffect.h, - examples/osgprecipitation/PrecipitationParameters.cpp, - examples/osgprecipitation/PrecipitationParameters.h, - examples/osgprecipitation/line_rain.vert, - examples/osgprecipitation/osgprecipitation.cpp, - examples/osgprecipitation/point_rain.frag: Added new - precipitation nodes. -2006-04-21 17:16 don - * src/osgGA/UFOManipulator.cpp: Fixed a cut-n-paste error in the - ground intersects. +Wed, 11 Nov 2009 12:04:06 +0000 +Checked in by : Robert Osfield +From Paul Martz, enabled packed_depth_stencil support for GL3 -2006-04-19 19:00 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. - * src/osgProducer/KeyboardMouseCallback.cpp: Fixed mouse scroll - mapping. +Tue, 10 Nov 2009 19:16:36 +0000 +Checked in by : Robert Osfield +Added OSG_GLES2_FEATURES and OSG_GL3_FEATURES usage where appropriate -2006-04-19 13:04 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. - * examples/osgprecipitation/line_rain.vert, - examples/osgprecipitation/osgprecipitation.cpp, - examples/osgprecipitation/point_rain.frag, - examples/osgprecipitation/point_rain.vert, - examples/osgprecipitation/quad_rain.vert: Convertered shaders - across to using modelview matrix instead of uniforms. +Introduced usage of OSG_GL*_FEATURES to avoid some #if #else #endif code blocks. -2006-04-17 19:10 robert +Using a submissions from Paul Martz as a guide added perliminary GL3 support to a range of OSG classes - * examples/osgprecipitation/osgprecipitation.cpp, - examples/osgprecipitation/point_rain.vert: Standardised the bin - number of the particle effects -2006-04-17 13:25 robert - * src/osgUtil/RenderStage.cpp: Added setting of the FrameStamp on - the RenderStage's local GraphicsContext to - keep it in sync with the calling graphics context. -2006-04-14 16:44 robert +Tue, 10 Nov 2009 14:59:42 +0000 +Checked in by : Robert Osfield +Removed debug message - * examples/osgprecipitation/osgprecipitation.cpp: Added inline - shaders so that the tha example can be run from any directory. +Tue, 10 Nov 2009 14:31:16 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project -2006-04-14 15:03 robert +Tue, 10 Nov 2009 12:03:03 +0000 +Checked in by : Robert Osfield +Changed default enabling of vertex attribute mapping - * examples/osgprecipitation/osgprecipitation.cpp: Further tweaks to - settings to improve performance at mid intensity ranges +Tue, 10 Nov 2009 12:02:40 +0000 +Checked in by : Robert Osfield +Removed redundant include of GLU -2006-04-14 14:24 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 - * examples/osgprecipitation/osgprecipitation.cpp: Refined the - default settings for rain and snow to achieve better framerates. +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. -2006-04-14 11:04 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. - * examples/osgprecipitation/line_rain.vert, - examples/osgprecipitation/osgprecipitation.cpp, - examples/osgprecipitation/point_rain.vert, - examples/osgprecipitation/quad_rain.vert: Added fog parameters - settings. +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 -2006-04-14 08:28 robert +Tue, 10 Nov 2009 11:28:21 +0000 +Checked in by : Robert Osfield +Added disabling of modes that aren't supported with GLES2 - * src/osgUtil/Optimizer.cpp: From Ben Discoe, added missing - drawable->dirtyDisplayList(). +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 -2006-04-13 20:21 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 - * examples/osgprecipitation/osgprecipitation.cpp: Added - --numberOfParticles, --numberOfCellsX, --numberOfCellsY, - --numberOfCellsZ, --boundingBox, --fogEnd and --fogDensity - controls -2006-04-13 19:05 robert - * examples/osgprecipitation/osgprecipitation.cpp, - examples/osgprecipitation/point_rain.vert, - examples/osgprecipitation/quad_rain.vert: Added command line - options and various speed improvements. -2006-04-12 11:59 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. - * examples/osgprecipitation/line_rain.vert, - examples/osgprecipitation/osgprecipitation.cpp, - examples/osgprecipitation/point_rain.vert, - examples/osgprecipitation/quad_rain.vert: Implement positioning - of cells via vertex attribute. +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 -2006-04-12 09:42 robert +Fri, 6 Nov 2009 16:09:16 +0000 +Checked in by : Robert Osfield +Fixed build - * examples/osgprecipitation/line_rain.vert, - examples/osgprecipitation/osgprecipitation.cpp, - examples/osgprecipitation/point_rain.vert, - examples/osgprecipitation/quad_rain.vert: 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. +Fri, 6 Nov 2009 13:53:16 +0000 +Checked in by : Robert Osfield +Added dlsymb settting for QNX -2006-04-11 19:56 robert +Fri, 6 Nov 2009 10:38:22 +0000 +Checked in by : Robert Osfield +Cleaned up the EGL context config set up. - * examples/osgprecipitation/osgprecipitation.cpp, - examples/osgprecipitation/point_rain.vert: Added support for - LOD's with transistion between quads and point rendering. +Fri, 6 Nov 2009 10:31:03 +0000 +Checked in by : Robert Osfield +Added EGL error checking and changed the egl context configuration settings -2006-04-11 13:22 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 - * examples/osgprecipitation/osgprecipitation.cpp, - examples/osgprecipitation/point_rain.frag, - examples/osgprecipitation/point_rain.vert: Added support for - point sprite particle effects. - -2006-04-11 10:53 robert - - * examples/osgprecipitation/line_rain.vert, - examples/osgprecipitation/osgprecipitation.cpp, - examples/osgprecipitation/point_rain.frag, - examples/osgprecipitation/point_rain.vert, - examples/osgprecipitation/quad_rain.vert, - examples/osgprecipitation/rain.vert: Added point and line paths. - -2006-04-11 08:44 robert - - * src/osgProducer/OsgCameraGroup.cpp: Added setting of the - DisplaySettings::setMaxNumberOfGraphicsContext() to the - number of contexts required by Producer. - -2006-04-10 15:45 robert - - * VisualStudio/OpenSceneGraph.dsw, - VisualStudio/examples/osgprecipitation, - VisualStudio/examples/osgprecipitation/osgprecipitation.dsp: From - Martin Naylor, osgprecipitation project file. - -2006-04-07 19:54 robert - - * examples/osgprecipitation/osgprecipitation.cpp, - examples/osgprecipitation/rain.vert: Added mipmap generation. - -2006-04-07 18:24 robert - - * examples/osgprecipitation/osgprecipitation.cpp, - examples/osgprecipitation/rain.frag, - examples/osgprecipitation/rain.vert: Added quad based rain effect - -2006-04-06 14:06 robert - - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp: From Brede Johansen, added - MergeGeode visitor to osgUtil::Optimizer. - -2006-04-05 15:13 robert - - * Make/makedirdefs, examples/osgprecipitation, - examples/osgprecipitation/GNUmakefile, - examples/osgprecipitation/GNUmakefile.inst, - examples/osgprecipitation/osgprecipitation.cpp, - examples/osgprecipitation/rain.frag, - examples/osgprecipitation/rain.vert, - examples/osgsimulation/osgsimulation.cpp: Added beginings - osgprecipitation example. - -2006-04-04 23:22 don - - * src/osgUtil/DelaunayTriangulator.cpp: Fixed a bug in the - DelaunayTriangulator uniquify points method. Was always - skipping the first point. - -2006-04-04 14:10 robert - - * VisualStudio/collect_mangled_names.js: Added missing .js file. - -2006-04-04 13:47 robert - - * VisualStudio/collect_mangled_names.bat, - VisualStudio/create_static_workspace.js, - VisualStudio/osg/osg.dsp, VisualStudio/osgDB/osgDB.dsp, - VisualStudio/osgFX/osgFX.dsp, VisualStudio/osgGA/osgGA.dsp, - VisualStudio/osgParticle/osgParticle.dsp, - VisualStudio/osgPlugins/3dc/3dc.dsp, - VisualStudio/osgPlugins/ESRIShape/ESRIShape.dsp, - VisualStudio/osgPlugins/OpenFlight/OpenFlight.dsp, - VisualStudio/osgPlugins/ac3d/ac3d.dsp, - VisualStudio/osgPlugins/bmp/bmp.dsp, - VisualStudio/osgPlugins/dds/dds.dsp, - VisualStudio/osgPlugins/directx/directx.dsp, - VisualStudio/osgPlugins/dw/dw.dsp, - VisualStudio/osgPlugins/dxf/dxf.dsp, - VisualStudio/osgPlugins/flt/flt.dsp, - VisualStudio/osgPlugins/freetype/freetype.dsp, - VisualStudio/osgPlugins/gdal/gdal.dsp, - VisualStudio/osgPlugins/geo/geo.dsp, - VisualStudio/osgPlugins/gif/gif.dsp, - VisualStudio/osgPlugins/hdr/hdr.dsp, - VisualStudio/osgPlugins/ive/ive.dsp, - VisualStudio/osgPlugins/jpeg/jpeg.dsp, - VisualStudio/osgPlugins/lib3ds/lib3ds.dsp, - VisualStudio/osgPlugins/logo/logo.dsp, - VisualStudio/osgPlugins/lwo/lwo.dsp, - VisualStudio/osgPlugins/lws/lws.dsp, - VisualStudio/osgPlugins/md2/md2.dsp, - VisualStudio/osgPlugins/net/net.dsp, - VisualStudio/osgPlugins/normals/normals.dsp, - VisualStudio/osgPlugins/obj/obj.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, - VisualStudio/osgPlugins/osgFX/dot_osgFX.dsp, - VisualStudio/osgPlugins/osgParticle/dot_osgParticle.dsp, - VisualStudio/osgPlugins/osgSim/dot_osgSim.dsp, - VisualStudio/osgPlugins/osgText/dot_osgText.dsp, - VisualStudio/osgPlugins/osga/osga.dsp, - VisualStudio/osgPlugins/osgtgz/osgtgz.dsp, - VisualStudio/osgPlugins/pic/pic.dsp, - VisualStudio/osgPlugins/png/png.dsp, - VisualStudio/osgPlugins/pnm/pnm.dsp, - VisualStudio/osgPlugins/rgb/rgb.dsp, - VisualStudio/osgPlugins/rot/rot.dsp, - VisualStudio/osgPlugins/scale/scale.dsp, - VisualStudio/osgPlugins/stl/stl.dsp, - VisualStudio/osgPlugins/tga/tga.dsp, - VisualStudio/osgPlugins/tgz/tgz.dsp, - VisualStudio/osgPlugins/tiff/tiff.dsp, - VisualStudio/osgPlugins/trans/trans.dsp, - VisualStudio/osgPlugins/txp/txp.dsp, - VisualStudio/osgPlugins/zip/zip.dsp, - VisualStudio/osgProducer/osgProducer.dsp, - VisualStudio/osgSim/osgSim.dsp, - VisualStudio/osgTerrain/osgTerrain.dsp, - VisualStudio/osgText/osgText.dsp, - VisualStudio/osgUtil/osgUtil.dsp: From Joran Jessurun and Chris - Hanson, Visual Studio Static build support. - -2006-04-04 13:20 robert - - * src/osgWrappers/osg/Program.cpp, - src/osgWrappers/osgProducer/OsgCameraGroup.cpp: Updated wrappers. - -2006-04-04 12:58 robert - - * include/osgProducer/OsgCameraGroup: Converted SceneHandlerList to - use Producer::ref_ptr<> - -2006-04-04 12:53 robert - - * Xcode, Xcode/Misc, Xcode/Misc/Build_OSG_OSX.sh, - Xcode/Misc/Symbolic_Link_App.sh, Xcode/Misc/Tar_Xcode.sh, - Xcode/Misc/osegs.pl, Xcode/OSX_OSG_README.rtf, - Xcode/OpenSceneGraph, Xcode/OpenSceneGraph/English.lproj, - Xcode/OpenSceneGraph/English.lproj/InfoPlist.strings, - Xcode/OpenSceneGraph/Info.plist, - Xcode/OpenSceneGraph/OpenSceneGraph.xcode, - Xcode/OpenSceneGraph/OpenSceneGraph.xcode/project.pbxproj, - Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj, - Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/OpenSceneGraph_Prefix.pch, - Xcode/OpenSceneGraph/os-Info.plist, - Xcode/OpenSceneGraph/osg-Info.plist, - Xcode/OpenSceneGraph/osgDB-Info.plist, - Xcode/OpenSceneGraph/osgFX-Info.plist, - Xcode/OpenSceneGraph/osgGA-Info.plist, - Xcode/OpenSceneGraph/osgGL2-Info.plist, - Xcode/OpenSceneGraph/osgGLUTkeyboardmouse-Info.plist, - Xcode/OpenSceneGraph/osgGLUTsimple-Info.plist, - Xcode/OpenSceneGraph/osgParticle-Info.plist, - Xcode/OpenSceneGraph/osgProducer-Info.plist, - Xcode/OpenSceneGraph/osgSim-Info.plist, - Xcode/OpenSceneGraph/osgTerrain-Info.plist, - Xcode/OpenSceneGraph/osgText-Info.plist, - Xcode/OpenSceneGraph/osgUtil-Info.plist, - Xcode/OpenSceneGraph/osganimate-Info.plist, - Xcode/OpenSceneGraph/osgarchive-Info.plist, - Xcode/OpenSceneGraph/osgautotransform-Info.plist, - Xcode/OpenSceneGraph/osgbillboard-Info.plist, - Xcode/OpenSceneGraph/osgblendequation-Info.plist, - Xcode/OpenSceneGraph/osgbluemarble-Info.plist, - Xcode/OpenSceneGraph/osgcallback-Info.plist, - Xcode/OpenSceneGraph/osgcamera-Info.plist, - Xcode/OpenSceneGraph/osgcameragroup-Info.plist, - Xcode/OpenSceneGraph/osgcatch-Info.plist, - Xcode/OpenSceneGraph/osgclip-Info.plist, - Xcode/OpenSceneGraph/osgcluster-Info.plist, - Xcode/OpenSceneGraph/osgconv-Info.plist, - Xcode/OpenSceneGraph/osgcopy-Info.plist, - Xcode/OpenSceneGraph/osgcubemap-Info.plist, - Xcode/OpenSceneGraph/osgdb_freetype-Info.plist, - Xcode/OpenSceneGraph/osgdb_freetype2-Info.plist, - Xcode/OpenSceneGraph/osgdb_osgText-Info.plist, - Xcode/OpenSceneGraph/osgdelaunay-Info.plist, - Xcode/OpenSceneGraph/osgdem-Info.plist, - Xcode/OpenSceneGraph/osgdepthpartition-Info.plist, - Xcode/OpenSceneGraph/osgdepthshadow-Info.plist, - Xcode/OpenSceneGraph/osgdistortion-Info.plist, - Xcode/OpenSceneGraph/osgfbo-Info.plist, - Xcode/OpenSceneGraph/osgforest-Info.plist, - Xcode/OpenSceneGraph/osgfxbrowser-Info.plist, - Xcode/OpenSceneGraph/osggeodemo, - Xcode/OpenSceneGraph/osggeometry-Info.plist, - Xcode/OpenSceneGraph/osghangglide-Info.plist, - Xcode/OpenSceneGraph/osghud-Info.plist, - Xcode/OpenSceneGraph/osgimposter-Info.plist, - Xcode/OpenSceneGraph/osgintrospection-Info.plist, - Xcode/OpenSceneGraph/osgkeyboard-Info.plist, - Xcode/OpenSceneGraph/osgkeyboardmouse-Info.plist, - Xcode/OpenSceneGraph/osglauncher-Info.plist, - Xcode/OpenSceneGraph/osglightpoint-Info.plist, - Xcode/OpenSceneGraph/osglist-Info.plist, - Xcode/OpenSceneGraph/osglogicop-Info.plist, - Xcode/OpenSceneGraph/osglogo-Info.plist, - Xcode/OpenSceneGraph/osgmotionblur-Info.plist, - Xcode/OpenSceneGraph/osgmovie-Info.plist, - Xcode/OpenSceneGraph/osgmultiplecameras-Info.plist, - Xcode/OpenSceneGraph/osgmultitexture-Info.plist, - Xcode/OpenSceneGraph/osgocculder-Info.plist, - Xcode/OpenSceneGraph/osgpagedlod-Info.plist, - Xcode/OpenSceneGraph/osgparametric-Info.plist, - Xcode/OpenSceneGraph/osgparticleExample-Info.plist, - Xcode/OpenSceneGraph/osgparticleeffects-Info.plist, - Xcode/OpenSceneGraph/osgpbuffer-Info.plist, - Xcode/OpenSceneGraph/osgphotoalbum-Info.plist, - Xcode/OpenSceneGraph/osgpick-Info.plist, - Xcode/OpenSceneGraph/osgplanets-Info.plist, - Xcode/OpenSceneGraph/osgpoints-Info.plist, - Xcode/OpenSceneGraph/osgpointsprite-Info.plist, - Xcode/OpenSceneGraph/osgprerender-Info.plist, - Xcode/OpenSceneGraph/osgprerendercubemap-Info.plist, - Xcode/OpenSceneGraph/osgreflect-Info.plist, - Xcode/OpenSceneGraph/osgscalarbar-Info.plist, - Xcode/OpenSceneGraph/osgscribe-Info.plist, - Xcode/OpenSceneGraph/osgsequence-Info.plist, - Xcode/OpenSceneGraph/osgshaders-Info.plist, - Xcode/OpenSceneGraph/osgshaderterrain-Info.plist, - Xcode/OpenSceneGraph/osgshadowtexture-Info.plist, - Xcode/OpenSceneGraph/osgshape-Info.plist, - Xcode/OpenSceneGraph/osgsimple-Info.plist, - Xcode/OpenSceneGraph/osgsimplepager-Info.plist, - Xcode/OpenSceneGraph/osgsimplifier-Info.plist, - Xcode/OpenSceneGraph/osgsimulation-Info.plist, - Xcode/OpenSceneGraph/osgslice-Info.plist, - Xcode/OpenSceneGraph/osgslideshow-Info.plist, - Xcode/OpenSceneGraph/osgspacewarp-Info.plist, - Xcode/OpenSceneGraph/osgspheresegment-Info.plist, - Xcode/OpenSceneGraph/osgspotlight-Info.plist, - Xcode/OpenSceneGraph/osgstereoimage-Info.plist, - Xcode/OpenSceneGraph/osgteapot-Info.plist, - Xcode/OpenSceneGraph/osgtesselate-Info.plist, - Xcode/OpenSceneGraph/osgtextexample-Info.plist, - Xcode/OpenSceneGraph/osgtexture1D-Info.plist, - Xcode/OpenSceneGraph/osgtexture2D-Info.plist, - Xcode/OpenSceneGraph/osgtexture3D-Info.plist, - Xcode/OpenSceneGraph/osgtexturerectangle-Info.plist, - Xcode/OpenSceneGraph/osgunittests-Info.plist, - Xcode/OpenSceneGraph/osgversion-Info.plist, - Xcode/OpenSceneGraph/osgvertexprogram-Info.plist, - Xcode/OpenSceneGraph/osgviewer-Info.plist, - Xcode/OpenSceneGraph/osgvolume-Info.plist, - Xcode/OpenSceneGraph/osgwindows-Info.plist, - Xcode/OpenSceneGraph/version.plist, Xcode/XcodeTemplates, - Xcode/XcodeTemplates/OSG Application, Xcode/XcodeTemplates/OSG - Application/English.lproj, Xcode/XcodeTemplates/OSG - Application/English.lproj/InfoPlist.strings, - Xcode/XcodeTemplates/OSG Application/English.lproj/main.nib, - Xcode/XcodeTemplates/OSG - Application/English.lproj/main.nib/classes.nib, - Xcode/XcodeTemplates/OSG - Application/English.lproj/main.nib/info.nib, - Xcode/XcodeTemplates/OSG - Application/English.lproj/main.nib/objects.xib, - Xcode/XcodeTemplates/OSG Application/Info.plist, - Xcode/XcodeTemplates/OSG Application/OSGApp.pbproj, - Xcode/XcodeTemplates/OSG - Application/OSGApp.pbproj/TemplateInfo.plist, - Xcode/XcodeTemplates/OSG - Application/OSGApp.pbproj/project.pbxproj, - Xcode/XcodeTemplates/OSG Application/main.cpp, - Xcode/XcodeTemplates/OSG Application/osgApp_Prefix.pch, - Xcode/XcodeTemplates/OSG Application/version.plist, - Xcode/XcodeTemplates/TemplateNotes.rtf, - Xcode/Xcode_OSG_Instructions.rtf: From Eric Wing, XCode project - files. - -2006-04-03 19:14 robert - - * src/osgProducer/ViewerEventHandler.cpp: #if'd out use of barrier - for stats collection. - -2006-04-03 18:25 robert - - * src/osgProducer/Viewer.cpp: Temporary fix for hang in stats when - multi-threaded. - -2006-03-31 01:37 don - - * src/osgPlugins/ESRIShape/ESRIShape.cpp: Don Tidrow's ifdef for - MingW - -2006-03-30 10:20 robert - - * examples/osgcatch/osgcatch.cpp, - examples/osgcluster/osgcluster.cpp, - examples/osgpbuffer/osgpbuffer.cpp, - examples/osgphotoalbum/osgphotoalbum.cpp, - examples/osgstereoimage/osgstereoimage.cpp, - examples/osgwindows/osgwindows.cpp: Build fixes to cope with - changes to Producer/osgProducer. - -2006-03-29 23:32 don - - * applications/osgviewer/osgviewer.cpp, - include/osgProducer/OsgCameraGroup, - src/osgProducer/OsgCameraGroup.cpp, src/osgProducer/Viewer.cpp, - src/osgProducer/ViewerEventHandler.cpp: Updates to osgProducer to - bring it up to speed with changes in Producer - -2006-03-28 16:08 robert - - * include/osg/Program, include/osg/Uniform, src/osg/Program.cpp: - 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-28 14:45 robert - - * src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/PagedLOD.cpp: - From Glenn Waldrom, addition of .ive support for PriorityOffset - and PriorityScale. - -2006-03-28 10:45 robert - - * src/osgProducer/OsgCameraGroup.cpp: From Eric Sokolosky, added - help for PRODUCER_CAMERA_BLOCK_ON_VSYNC +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 -2006-03-28 10:28 robert - * include/osgProducer/Viewer, src/osgProducer/Viewer.cpp: 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. -2006-03-27 20:30 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 - * ChangeLog: Updated ChangeLog. +Wed, 4 Nov 2009 12:14:57 +0000 +Checked in by : Robert Osfield +Changed notify to output warnings and normally messages to std::out -2006-03-18 07:07 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 - * VisualStudio/osgPlugins/osgParticle/dot_osgParticle.dsp, - src/osgPlugins/osgParticle/GNUmakefile, - src/osgPlugins/osgParticle/IO_ConstantRateCounter.cpp: From - Farshid Lasharki, added IO suppoty fo - osgParticle::ConstantRateContour +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 -2006-03-17 22:25 robert +Tue, 3 Nov 2009 16:49:13 +0000 +Checked in by : Robert Osfield +Disabled osgteaport for GLES1, GLES2 and GL3 builds - * src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgParticle/Particle.cpp: Updated wrappers. +Tue, 3 Nov 2009 16:48:48 +0000 +Checked in by : Robert Osfield +Replaced glColor4fv call with osg::State::Color(..) -2006-03-17 22:23 robert +Tue, 3 Nov 2009 16:34:54 +0000 +Checked in by : Robert Osfield +From Paul Martz, changes for compiling against OpenGL 3.x - * include/osgSim/OpenFlightOptimizer: Added exports. +Tue, 3 Nov 2009 15:22:14 +0000 +Checked in by : Robert Osfield +Disabled the build of plugins that aren't supported under GLES. -2006-03-17 22:22 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. - * examples/osgdepthpartition/osgdepthpartition.cpp: 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 - * include/osgParticle/Particle, - src/osgPlugins/osgParticle/IO_Particle.cpp: From Farshid - Lashkari, Added ability to read/write the texture tile - settings of osgParticle::Particle to .osg files. -2006-03-17 11:28 robert - * include/osgUtil/GLObjectsVisitor: From Sohey Yamamoto, fixed - eroneous CHECK_BLACK_LISTED_MODES enum value, changing 0xA0 to - 0x100 +Sun, 1 Nov 2009 09:51:26 +0000 +Checked in by : Robert Osfield +Disable the default LightModel for GLES1 and GLES2 targets -2006-03-15 15:49 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 - * include/osgGA/EventQueue, src/osgGA/EventQueue.cpp: Added - createEvent() convinience method. -2006-03-15 12:26 robert - * include/osgSim/SphereSegment: Added comment on the meaning of the - matrix paramter in the computeIntersections methods. +Sat, 31 Oct 2009 14:44:43 +0000 +Checked in by : Robert Osfield +Fixed compile problem due to name change of getGLXContext to getContext -2006-03-15 12:26 robert +Fri, 30 Oct 2009 17:16:50 +0000 +Checked in by : Robert Osfield +Fixed build under GLES2 - * examples/osgspheresegment/osgspheresegment.cpp: Added moving - sphere segment intersections. +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. -2006-03-15 11:21 robert - * src/osgPlugins/ESRIShape/ESRIShape.h: From Martin Naylor, build - fix for Win32. -2006-03-15 10:36 robert +Fri, 30 Oct 2009 15:16:44 +0000 +Checked in by : Robert Osfield +Fixed for GLES1 build - * VisualStudio/OpenSceneGraph.dsw, - VisualStudio/osgPlugins/ESRIShape, - VisualStudio/osgPlugins/ESRIShape/ESRIShape.dsp: From Martin - Naylor, added ESRIShape.dsp project - -2006-03-14 13:18 robert - - * VisualStudio/osgWrappers/osgGA/wrapper_osgGA.dsp, - include/osgGA/EventQueue, src/osgGA/EventQueue.cpp, - src/osgPlugins/txp/TXPPagedLOD.cpp, - src/osgProducer/KeyboardMouseCallback.cpp, - src/osgProducer/Viewer.cpp, src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgGA/GNUmakefile: Build fixes - -2006-03-14 09:33 robert - - * src/osgPlugins/xine/video_out_rgb.c: Added 21 as the version - number of xine video plugin to allow it work with latest versions - of xine. - -2006-03-14 09:23 robert - - * VisualStudio/OpenSceneGraph.dsw, VisualStudio/osgPlugins/normals, - VisualStudio/osgPlugins/normals/normals.dsp: From Martin Naylor, - added normals VS project - -2006-03-13 21:29 robert - - * include/osg/DisplaySettings, src/osg/DisplaySettings.cpp, - src/osgProducer/OsgCameraGroup.cpp, - src/osgWrappers/osg/DisplaySettings.cpp: 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." - -2006-03-13 21:20 robert - - * src/osgPlugins/txp/TXPPagedLOD.cpp, - src/osgPlugins/txp/TXPPagedLOD.h: 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." - -2006-03-13 13:19 robert - - * include/osgGA/EventQueue, - include/osgProducer/KeyboardMouseCallback, - include/osgProducer/Viewer, src/osgGA/EventQueue.cpp, - src/osgProducer/KeyboardMouseCallback.cpp, - src/osgProducer/Viewer.cpp, src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgProducer/KeyboardMouseCallback.cpp, - src/osgWrappers/osgProducer/Viewer.cpp: Added an EventQueue - directly into osgProducer::Viewer. - -2006-03-09 15:16 robert - - * src/osgWrappers/osgProducer/Export.cpp: 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. - -2006-03-09 13:02 robert - - * src/osgPlugins/OpenFlight/AncillaryRecords.cpp, - src/osgPlugins/OpenFlight/AttrData.cpp, - src/osgPlugins/OpenFlight/AttrData.h, - src/osgPlugins/OpenFlight/ControlRecords.cpp, - src/osgPlugins/OpenFlight/DataInputStream.cpp, - src/osgPlugins/OpenFlight/DataInputStream.h, - src/osgPlugins/OpenFlight/Document.cpp, - src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/LightPointRecords.cpp, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/OpenFlight/Pools.cpp, - src/osgPlugins/OpenFlight/Pools.h, - src/osgPlugins/OpenFlight/PrimaryRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/OpenFlight/Record.cpp, - src/osgPlugins/OpenFlight/Record.h, - src/osgPlugins/OpenFlight/RecordInputStream.cpp, - src/osgPlugins/OpenFlight/RecordInputStream.h, - src/osgPlugins/OpenFlight/Registry.cpp, - src/osgPlugins/OpenFlight/Registry.h, - src/osgPlugins/OpenFlight/ReservedRecords.cpp, - src/osgPlugins/OpenFlight/RoadRecords.cpp, - src/osgPlugins/OpenFlight/Vertex.cpp, - src/osgPlugins/OpenFlight/Vertex.h, - src/osgPlugins/OpenFlight/VertexRecords.cpp, - src/osgPlugins/OpenFlight/opcodes.h, - src/osgPlugins/OpenFlight/types.h, - src/osgSim/OpenFlightOptimizer.cpp: Ran dos2unix on new - OpenFlight files. - -2006-03-08 21:38 robert - - * Make/makedirdefs, VisualStudio/OpenSceneGraph.dsw, - VisualStudio/osgPlugins/OpenFlight, - VisualStudio/osgPlugins/OpenFlight/OpenFlight.dsp, - VisualStudio/osgSim/osgSim.dsp, - VisualStudio/osgWrappers/osgSim/wrapper_osgSim.dsp, - include/osgSim/OpenFlightOptimizer, src/osgDB/Registry.cpp, - src/osgPlugins/OpenFlight, - src/osgPlugins/OpenFlight/AncillaryRecords.cpp, - src/osgPlugins/OpenFlight/AttrData.cpp, - src/osgPlugins/OpenFlight/AttrData.h, - src/osgPlugins/OpenFlight/ControlRecords.cpp, - src/osgPlugins/OpenFlight/DataInputStream.cpp, - src/osgPlugins/OpenFlight/DataInputStream.h, - src/osgPlugins/OpenFlight/Document.cpp, - src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/GNUmakefile, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/LightPointRecords.cpp, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/OpenFlight/Pools.cpp, - src/osgPlugins/OpenFlight/Pools.h, - src/osgPlugins/OpenFlight/PrimaryRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/OpenFlight/Record.cpp, - src/osgPlugins/OpenFlight/Record.h, - src/osgPlugins/OpenFlight/RecordInputStream.cpp, - src/osgPlugins/OpenFlight/RecordInputStream.h, - src/osgPlugins/OpenFlight/Registry.cpp, - src/osgPlugins/OpenFlight/Registry.h, - src/osgPlugins/OpenFlight/ReservedRecords.cpp, - src/osgPlugins/OpenFlight/RoadRecords.cpp, - src/osgPlugins/OpenFlight/Vertex.cpp, - src/osgPlugins/OpenFlight/Vertex.h, - src/osgPlugins/OpenFlight/VertexRecords.cpp, - src/osgPlugins/OpenFlight/opcodes.h, - src/osgPlugins/OpenFlight/types.h, src/osgSim/GNUmakefile, - src/osgSim/OpenFlightOptimizer.cpp, - src/osgWrappers/osgSim/GNUmakefile, - src/osgWrappers/osgSim/OpenFlightOptimizer.cpp: 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 - -2006-03-08 16:11 robert - - * include/osg/GLExtensions, include/osg/Texture3D, - src/osg/GLExtensions.cpp, src/osg/Texture3D.cpp, - src/osgWrappers/osg/Texture3D.cpp: From Bob Kuehne, added - osg::getGlVersion() and fixed a minor typo in Texture3D. - -2006-03-08 15:40 robert - - * include/osgGA/EventQueue, src/osgGA/EventQueue.cpp: Added - EventQueue. - -2006-03-08 15:30 robert - - * src/osgDB/Registry.cpp: 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-03-08 15:26 robert - - * src/osgParticle/ParticleProcessor.cpp: 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 - - * src/osgPlugins/ac3d/ac3d.cpp: 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. - -2006-03-08 14:09 robert - - * VisualStudio/osgGA/osgGA.dsp, - VisualStudio/osgProducer/osgProducer.dsp, - VisualStudio/osgWrappers/osgGA/wrapper_osgGA.dsp, - VisualStudio/osgWrappers/osgProducer/wrapper_osgProducer.dsp, - examples/osgcatch/osgcatch.cpp, - examples/osgcluster/osgcluster.cpp, - examples/osghangglide/GliderManipulator.cpp, - examples/osgimpostor/TestManipulator.cpp, - examples/osgphotoalbum/osgphotoalbum.cpp, - examples/osgstereoimage/osgstereoimage.cpp, - examples/osgvolume/osgvolume.cpp, include/osgGA/EventVisitor, - include/osgGA/GUIEventAdapter, - include/osgGA/KeySwitchMatrixManipulator, - include/osgProducer/EventAdapter, - include/osgProducer/KeyboardMouseCallback, - src/osgGA/AnimationPathManipulator.cpp, - src/osgGA/DriveManipulator.cpp, src/osgGA/FlightManipulator.cpp, - src/osgGA/GNUmakefile, src/osgGA/GUIEventAdapter.cpp, - src/osgGA/GUIEventHandler.cpp, - src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, - src/osgGA/TrackballManipulator.cpp, src/osgGA/UFOManipulator.cpp, - src/osgProducer/EventAdapter.cpp, src/osgProducer/GNUmakefile, - src/osgProducer/KeyboardMouseCallback.cpp, - src/osgProducer/Viewer.cpp, src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgGA/EventVisitor.cpp, - src/osgWrappers/osgGA/GNUmakefile, - src/osgWrappers/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/osgProducer/EventAdapter.cpp, - src/osgWrappers/osgProducer/GNUmakefile, - src/osgWrappers/osgProducer/KeyboardMouseCallback.cpp: 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. - -2006-03-07 18:26 don - - * src/osgPlugins/net/ReaderWriterNET.cpp: 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 - - * include/osgGA/EventVisitor, include/osgGA/GUIEventAdapter, - include/osgProducer/EventAdapter: Began work on making - EventVisitor capable of adapting events directly. - -2006-03-02 20:39 robert - - * src/osgPlugins/png/ReaderWriterPNG.cpp, - src/osgPlugins/tiff/ReaderWriterTIFF.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 - - * src/osgPlugins/ive/DataOutputStream.cpp: 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 - - * Make/helprules, Make/instrules, Make/makedefs, Make/makedirdefs, - Make/makerules, Make/versionrules: From Robert Swain, compile fix - for debian unstable. - -2006-03-02 14:58 robert - - * src/osgPlugins/png/ReaderWriterPNG.cpp: From Farshid Lashakari, - support for png write. - -2006-03-01 10:17 robert - - * src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataTypeSize.h: 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 - - * src/osgPlugins/ive/GNUmakefile: Added TextureRectangle.cpp - -2006-02-28 20:10 robert - - * examples/osgprerendercubemap/osgprerendercubemap.cpp: Compile - fix. - -2006-02-28 19:46 robert - - * src/osg/Geometry.cpp: From Brede Johansen, added missing array - handling into Geometry::accept(AttributeFunctor& - af) and Geometry::accept(ConstAttributeFunctor& af). - -2006-02-28 19:36 robert - - * VisualStudio/highlight70.reg, VisualStudio/highlight71.reg, - VisualStudio/highlight80.reg, - examples/osgprerendercubemap/osgprerendercubemap.cpp, - src/osgProducer/Viewer.cpp: Further clean up of RefNodePath - references. - -2006-02-28 19:12 robert - - * src/osgWrappers/osgProducer/Viewer.cpp: Updated wrappers. - -2006-02-28 18:54 robert - - * include/osgProducer/Viewer, src/osg/NodeTrackerCallback.cpp, - src/osgProducer/Viewer.cpp: Fixes to removed dependency on - RefNodePath. - -2006-02-27 19:51 robert - - * VisualStudio/osg/osg.dsp, - VisualStudio/osgWrappers/osg/wrapper_osg.dsp, - src/osgWrappers/osg/GNUmakefile, src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/NodeTrackerCallback.cpp, - src/osgWrappers/osg/RefNodePath.cpp, - src/osgWrappers/osg/Referenced.cpp, - src/osgWrappers/osg/observer_ptr.cpp, - src/osgWrappers/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/osgProducer/Viewer.cpp: Updated wrappers. - -2006-02-27 19:49 robert - - * include/osg/NodeTrackerCallback, include/osg/RefNodePath, - include/osgGA/NodeTrackerManipulator, - src/osg/NodeTrackerCallback.cpp, - src/osgGA/NodeTrackerManipulator.cpp: Ported NodeTrackCallback - and NodeTrackManipulator across to use oberserver_ptr - instead of RefNodePath. - - Removed now redundent RefNodePath. - -2006-02-27 19:48 robert - - * include/osg/Node, include/osg/Transform, src/osg/Node.cpp, - src/osg/Transform.cpp: 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-27 19:44 robert - - * include/osg/Referenced, include/osg/observer_ptr, - src/osg/Referenced.cpp: 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. - -2006-02-26 17:45 robert - - * VisualStudio/osgPlugins/ive/ive.dsp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/DataTypeSize.h, - src/osgPlugins/ive/ReadWrite.h, src/osgPlugins/ive/Texture1D.cpp, - src/osgPlugins/ive/Texture2D.cpp, - src/osgPlugins/ive/Texture3D.cpp, - src/osgPlugins/ive/TextureCubeMap.cpp, - src/osgPlugins/ive/TextureCubeMap.h, - src/osgPlugins/ive/TextureRectangle.cpp, - src/osgPlugins/ive/TextureRectangle.h: 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 +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 - * examples/osgparticleeffects/osgparticleeffects.cpp: Added - debugging code to help pick out instablilities in osgParticle. - Debugging - code now commented out. - -2006-02-24 13:56 robert - - * src/osgParticle/FluidProgram.cpp: 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-23 20:37 robert - - * src/osgPlugins/osg/ClusterCullingCallback.cpp: Completed .osg - support for ClusterCullingCallback. - -2006-02-23 16:47 robert - - * src/osgTerrain/DataSet.cpp: Disabled the running of tristripping - and smoothing from within the Simplifier. - -2006-02-23 12:41 robert - - * include/osg/Drawable: From Gordon Tomlinson, spelling fixes. - -2006-02-23 12:39 robert - - * examples/osgsimulation/osgsimulation.cpp: Fixed function name - call. - -2006-02-22 20:51 robert - - * include/osg/Drawable: Fixed getBound() comment. - -2006-02-22 19:28 robert - - * src/osgWrappers/osg/AutoTransform.cpp, - src/osgWrappers/osg/CameraNode.cpp, - src/osgWrappers/osg/PointSprite.cpp, - src/osgWrappers/osg/State.cpp, - src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/StateSet.cpp, - src/osgWrappers/osgSim/OverlayNode.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp: Updated wrappers. - -2006-02-22 19:14 robert - - * include/osg/PointSprite, include/osg/StateAttribute, - include/osg/StateSet, src/osg/PointSprite.cpp, - src/osg/StateSet.cpp, src/osgUtil/GLObjectsVisitor.cpp: Fixed - typo of Validity. - -2006-02-22 16:05 robert - - * src/osgFX/Cartoon.cpp: 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-22 14:35 robert - - * include/osg/StateSet: Fixed documentation. - -2006-02-22 14:31 robert - - * include/osg/PointSprite, include/osg/State, - include/osg/StateAttribute, include/osg/StateSet, - include/osgUtil/GLObjectsVisitor, src/osg/PointSprite.cpp, - src/osg/State.cpp, src/osg/StateSet.cpp, - src/osgUtil/GLObjectsVisitor.cpp, src/osgUtil/SceneView.cpp: - Added support for OpenGL mode black listing to provide better - support - for extension checking and invalidation of OpenGL modes - associated with - extensions. +Thu, 29 Oct 2009 09:54:52 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode projects -2006-02-21 21:29 robert +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. - * VisualStudio/osgPlugins/osg/dot_osg.dsp: Added - ClusterCullingCallback.cpp +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 -2006-02-21 21:28 robert +Tue, 27 Oct 2009 19:17:38 +0000 +Checked in by : Robert Osfield +Fixed build aginst GLES1 and GLES2 - * src/osgPlugins/osg/ClusterCullingCallback.cpp, - src/osgPlugins/osg/GNUmakefile: Added initial cut of - ClusterCullingCallback .osg support. +Tue, 27 Oct 2009 18:07:12 +0000 +Checked in by : Robert Osfield +Fixed build on OpenGLES-1.1 and OpenGLES-2.0 targets -2006-02-21 14:34 robert +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 - * applications/osgviewer/osgviewer.cpp: From Gordon Tomlinson, - spelling fixes. +Tue, 27 Oct 2009 10:51:20 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: added missing #define -2006-02-21 13:55 robert +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 - * VisualStudio/highlight80.reg: From Gordon Tomlinson, VS2005 - Syntax highling regonition. +Sun, 25 Oct 2009 11:46:11 +0000 +Checked in by : Robert Osfield +Updated wrappers -2006-02-21 13:51 robert +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 - * include/osg/AutoTransform, src/osg/AutoTransform.cpp: 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." +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 -2006-02-21 12:39 robert +Fri, 23 Oct 2009 16:51:45 +0000 +Checked in by : Robert Osfield +Added includes for OpenGL ES1 and ES2. - * src/osgPlugins/flt/LightPointRecord.cpp, - src/osgPlugins/flt/LightPointRecord.h, - src/osgPlugins/flt/flt2osg.cpp: From Trajce Nikolov, "small fix - for the flt loader - the back color of the bidirectional light - points" +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 -2006-02-20 21:05 robert - * examples/osganimate/osganimate.cpp, - examples/osgmultiplecameras/osgmultiplecameras.cpp, - include/osg/CameraNode, include/osgSim/OverlayNode, - include/osgSim/VisibilityGroup, include/osgUtil/SceneView, - src/osg/CameraNode.cpp, src/osgPlugins/osg/CameraNode.cpp, - src/osgPlugins/pfb/ReaderWriterPFB.cpp, - src/osgSim/OverlayNode.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/IntersectVisitor.cpp: From Ulrich Hertlein, spelling - corrections and a few Doxgen comments. -2006-02-20 20:06 robert +Fri, 23 Oct 2009 12:28:10 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/png/ReaderWriterPNG.cpp: 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." +Fri, 23 Oct 2009 12:24:22 +0000 +Checked in by : Robert Osfield +Fixed bug in dispatching per primitive attributes -2006-02-20 19:13 robert +Fri, 23 Oct 2009 12:22:18 +0000 +Checked in by : Robert Osfield +Added support for Vec4ubArray colour arrays - * VisualStudio/osgPlugins/ive/ive.dsp, - src/osgPlugins/ive/AutoTransform.cpp, - src/osgPlugins/ive/AutoTransform.h, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/ive/ReadWrite.h: - From Nathan Monteleone, addition of AutoTransform support. +Fri, 23 Oct 2009 09:24:44 +0000 +Checked in by : Robert Osfield +Fixed handling of Geometry::_internalOptimizedGeometry in the Geometry::drawImplementation(..) -2006-02-20 16:50 robert +Fri, 23 Oct 2009 08:21:57 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project, sensible default config-file - * src/osg/Notify.cpp: Moved the intialization variable reset to end - of the init funciton to - avoid multi-thread initialization from producing different - results. +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.... -2006-02-20 16:20 robert +Thu, 22 Oct 2009 12:56:41 +0000 +Checked in by : Robert Osfield +Fixed typo and updated wrappers - * src/osgDB/FileUtils.cpp: 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." +Thu, 22 Oct 2009 12:41:48 +0000 +Checked in by : Robert Osfield +From Stephan Huber, compile fix to OSX. -2006-02-20 15:46 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 - * src/osgPlugins/ive/DataInputStream.cpp: Added missing swap byte - operations to readVec*sArray() methods. +Thu, 22 Oct 2009 12:04:26 +0000 +Checked in by : Robert Osfield +Removed, now inappropriate, references to glBegin/glEnd. -2006-02-20 15:32 robert +Thu, 22 Oct 2009 12:03:36 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/ive/DataInputStream.cpp: From Daniel Larimer, - fixed error is swap byte code handling vector +Thu, 22 Oct 2009 12:01:06 +0000 +Checked in by : Robert Osfield +From Cedric Pinson, new StateAttributeCallback replacing StateAttribute::Callback -2006-02-20 15:25 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. " - * Make/makerules: 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-09 19:31 don - - * src/osgGA/UFOManipulator.cpp: Fixed a bug spotted in - UFOManipulator where a Vec3's 4th component was - being inspected (ip[3]). - -2006-02-09 12:20 robert - - * include/osg/BlendColor, src/osg/BlendColor.cpp, - src/osgWrappers/osg/BlendColor.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgUtil/Simplifier.cpp: Added BlenColour(Vec4) - constructor and updated wrappers. - -2006-02-08 23:41 don - - * include/osgUtil/DelaunayTriangulator, - src/osgUtil/DelaunayTriangulator.cpp: Added a filter to the - Delaunay Triangulator to insure that incoming points - are unique in the X and Y components. +Thu, 22 Oct 2009 10:29:43 +0000 +Checked in by : Robert Osfield +Removed old and now redundent code paths -2006-02-06 20:36 robert +Thu, 22 Oct 2009 09:08:42 +0000 +Checked in by : Robert Osfield +Updated wrappers - * include/osgUtil/Simplifier, src/osgUtil/Simplifier.cpp: Added - s/getDoTriStrip and s/getSmoothing method. +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 -2006-02-06 19:41 don +Thu, 22 Oct 2009 08:28:43 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project - * Make/makedirdefs: Added normals and ESRIshape directories to - makedirdefs +Wed, 21 Oct 2009 16:42:12 +0000 +Checked in by : Robert Osfield +Added Translatef, Scalef, Rotatef methods, and fixed Color4f method. -2006-02-06 19:40 don +Wed, 21 Oct 2009 16:41:41 +0000 +Checked in by : Robert Osfield +Removed redundent spaces - * src/osgPlugins/normals, src/osgPlugins/normals/GNUmakefile, - src/osgPlugins/normals/Normals.cpp, - src/osgPlugins/normals/Normals.h, - src/osgPlugins/normals/ReaderWriterNormals.cpp: Added 'normals' - pseudoloader +Wed, 21 Oct 2009 16:40:45 +0000 +Checked in by : Robert Osfield +Removed remaining glBegin/glEnd usage -2006-02-06 19:16 robert +Wed, 21 Oct 2009 16:31:37 +0000 +Checked in by : Robert Osfield +Conveted osgText across to using GLBeginEndAdapter instead og glBegin/glEnd - * include/osgUtil/Simplifier, src/osgUtil/Simplifier.cpp: Improved - default settings, re-enambled smoothing and tri stripping of - sampled data. +Wed, 21 Oct 2009 16:16:31 +0000 +Checked in by : Robert Osfield +Converted all glBegin/glEnd code across to using osg::GLBeginEndAdapter -2006-02-06 17:12 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 - * examples/osgsimplifier/osgsimplifier.cpp, - include/osgUtil/Simplifier, src/osgUtil/Simplifier.cpp: Added - support for up sampling by dividing longest edges. +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 -2006-02-05 21:53 robert +Wed, 21 Oct 2009 14:14:22 +0000 +Checked in by : Robert Osfield +Added stats handler - * include/osg/Math, src/osgDB/DynamicLibrary.cpp: From David - Guthrie, OSX marco reworking to better handling different OSX - versions. +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 -2006-02-04 21:25 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 - * src/osg/ShapeDrawable.cpp: From Edmond Gheury, fixe and bug in - the PrimitiveShapeVisitor. +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. -2006-02-04 21:20 robert +Tue, 20 Oct 2009 22:14:59 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osg/FrameBufferObject.cpp, - src/osgProducer/OsgCameraGroup.cpp, src/osgUtil/RenderStage.cpp: - 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, 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. -2006-02-04 21:12 robert +Tue, 20 Oct 2009 13:15:01 +0000 +Checked in by : Robert Osfield +Fixed typo of osg_ModelViewMatrix - * include/osgParticle/ParticleProcessor, - include/osgParticle/ParticleSystemUpdater, - src/osgParticle/ParticleProcessor.cpp, - src/osgParticle/ParticleSystemUpdater.cpp: From Brad Anderegg, - add _frameNumber and associated code to ensure that particles - only get updated once per frame. +Mon, 19 Oct 2009 11:06:53 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project -2006-02-04 21:06 robert +Mon, 19 Oct 2009 08:58:52 +0000 +Checked in by : Robert Osfield +Fixed computation of osg_NormalMatrix - * include/osgDB/DatabasePager: From Chris Hanson, added get methods - for size of file request and data to compile lists. +Sat, 17 Oct 2009 19:22:14 +0000 +Checked in by : Robert Osfield +Added support for multitexturing and vertex attributes to GLBeginEndAdapter -2006-01-24 17:43 don +Sat, 17 Oct 2009 11:14:03 +0000 +Checked in by : Robert Osfield +Fixed VS warning - * src/osgPlugins/tgz/ReaderWriterTGZ.cpp, - src/osgPlugins/zip/ReaderWriterZIP.cpp: Changes to zip and tgz - plug-ins to allow for use of TEMP variable on Windows. - Submitted by Zach Deedler +Fri, 16 Oct 2009 18:50:42 +0000 +Checked in by : Robert Osfield +Updated wrappers -2006-01-24 12:02 robert +Fri, 16 Oct 2009 17:22:20 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgUtil/SceneView.cpp: cleaned up clampNearNar code. +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. -2006-01-23 20:38 robert +Added new osg::GLBeginEndAdapter class for runtime conversion from glBegin/glEnd codes to vertex arrray equivelants. - * src/osgDB/DatabasePager.cpp: Improved the env var reporting to - avoid the overlong lines. +Added automatic shader source conversion from gl_ to osg_ builtins. -2006-01-23 20:16 robert - * applications/osgdem/osgdem.cpp: Added explanation of - --no-terrain-simplification -2006-01-21 13:02 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 - * VisualStudio/osgWrappers/osgParticle/wrapper_osgParticle.dsp, - src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osg/Program.cpp, src/osgWrappers/osg/Shader.cpp, - src/osgWrappers/osgParticle/BoxPlacer.cpp, - src/osgWrappers/osgParticle/GNUmakefile: Updated wrappers. +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." -2006-01-18 12:16 robert - * src/osgPlugins/hdr/ReaderWriterHDR.cpp: From Marco Jez, adding - osgDB::findDataFile() usage. -2006-01-18 12:13 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. - * src/osgPlugins/lwo/Converter.cpp, src/osgPlugins/lwo/Converter.h, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/lwo/Surface.cpp, src/osgPlugins/lwo/Surface.h, - src/osgPlugins/lwo/VertexMap.h: 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 +Sat, 10 Oct 2009 11:28:42 +0000 +Checked in by : Robert Osfield +Updated ChangeLog, wrappers and Contributors lists -2006-01-18 12:03 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. +" - * VisualStudio/OpenSceneGraph.dsw, - VisualStudio/osgPlugins/ERSIShape, - VisualStudio/osgPlugins/ERSIShape/ERSIShape.dsp, - src/osgPlugins/ESRIShape/ESRIShape.cpp, - src/osgPlugins/ESRIShape/ESRIShapeParser.cpp: From Maya Leonard, - ERSIShape VS project file, and compile fixes for Win32. -2006-01-18 11:45 robert - * src/osg/BlendEquation.cpp, src/osg/GLExtensions.cpp, - src/osgUtil/RenderStage.cpp: From Marco Jez, addition of glw - extension checking under Windows, and tweaks to - BlendEquation and RenderStage to correct the extensions being - tested. +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. " -2006-01-17 17:04 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." - * Make/dolink.sh, Make/instrules: From Zbigniew Sroczynski, fix for - handling of paths with spaces. +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." -2006-01-17 15:18 robert +Sat, 10 Oct 2009 10:54:33 +0000 +Checked in by : Robert Osfield +Updated wrappers - * include/osgParticle/BoxPlacer, - src/osgPlugins/osgParticle/IO_BoxPlacer.cpp: Added new BoxPlacer - files. +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." -2006-01-17 15:17 robert - * VisualStudio/osgParticle/osgParticle.dsp, - VisualStudio/osgPlugins/osgParticle/dot_osgParticle.dsp, - src/osgPlugins/osgParticle/GNUmakefile: From Zach Deedler, - addition of osgParticle/BoxSpacer. -2006-01-16 17:05 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." - * include/osg/Program, include/osg/Shader, src/osg/Program.cpp, - src/osg/Shader.cpp, src/osgUtil/SceneView.cpp: Improved handling - of clean up of osg::Program/osg::Shader on closing of a graphis - context. +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." -2006-01-16 17:03 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." - * include/osg/ShapeDrawable: Fixed indenting. +Sat, 10 Oct 2009 09:44:40 +0000 +Checked in by : Robert Osfield +To fix warning removed unncessary , from end to enum list. -2006-01-12 22:43 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. " - * examples/osgmovie/osgmovie.cpp: Added support for tracking mouse - movement and computing the intersection of the mouse position - into texture coords. +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." -2006-01-03 16:52 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." - * examples/osgkeyboardmouse/osgkeyboardmouse.cpp: Added ability to - write out the selected parts of the scene graph. +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." -2006-01-03 10:44 robert - * include/osg/FrameBufferObject, src/osg/FrameBufferObject.cpp, - src/osgUtil/RenderStage.cpp: 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. -2006-01-02 12:03 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" - * src/osgDB/DatabasePager.cpp: Standardised compile code to use - _maximumNumOfObjectsToCompilePerFrame. +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." -2005-12-23 10:59 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. - * examples/osgkeyboardmouse/osgkeyboardmouse.cpp: Ported picking - across to using PickVisitor. +Fri, 9 Oct 2009 10:39:55 +0000 +Checked in by : Robert Osfield +Added use of binding of vertex attributes to names -2005-12-23 10:59 robert +Thu, 8 Oct 2009 16:23:40 +0000 +Checked in by : Robert Osfield +Added remapping of gl_ and ftransform() variables to osg_ equivalents. - * src/osgUtil/IntersectVisitor.cpp: Added setting of the parent - path on the new PickVisitor. +Thu, 8 Oct 2009 15:58:23 +0000 +Checked in by : Robert Osfield +Implemented remapping of gl_ builtins vertex attributes to osg_ equivlants. -2005-12-22 14:06 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. - * include/osgUtil/IntersectVisitor, - src/osgUtil/IntersectVisitor.cpp: Seperated out the view and - model matrices in IntersectVisitor to allow - handling of world coordinates better when using PickVisitor. +Thu, 8 Oct 2009 14:13:49 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project -2005-12-21 10:32 robert +Thu, 8 Oct 2009 13:33:41 +0000 +Checked in by : Robert Osfield +Fixed vertex attribute access bug - * src/osgPlugins/osg/Shader.cpp: Added support for an externally - referenced shader file, via the keyword combinations - - file "shader.vert" - - OR - - file shader.vert. +Thu, 8 Oct 2009 10:44:01 +0000 +Checked in by : Robert Osfield +Quitened down debug messages -2005-12-20 09:29 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 - * src/osgDB/Registry.cpp: Removed "if (mapExt!=toExt)" from alias - map assignement to allow aliases to - be overriden for all cases. +Thu, 8 Oct 2009 07:54:37 +0000 +Checked in by : Robert Osfield +Fixed warning -2005-12-20 09:13 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. - * src/osg/Switch.cpp: From Farshid Lashkari, compile fix -2005-12-19 15:05 robert - * src/osgUtil/IntersectVisitor.cpp: Added check against the - validity of the _inverse matrix pointer. -2005-12-19 14:48 robert - * VisualStudio/osgPlugins/ive/ive.dsp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/Depth.cpp, src/osgPlugins/ive/Depth.h, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/ive/ReadWrite.h: - From Ali Botorabi, adding of osg::Depth support in .ive format. +Wed, 7 Oct 2009 18:50:01 +0000 +Checked in by : Robert Osfield +Fixed handling of rescale of image -2005-12-19 13:57 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(). - * include/osgUtil/IntersectVisitor, - src/osgUtil/IntersectVisitor.cpp: Added debugging info for future - reference (currently commented out.) +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 -2005-12-19 13:40 robert +Wed, 7 Oct 2009 09:39:45 +0000 +Checked in by : Robert Osfield +Fixed warnigns - * src/osgUtil/IntersectVisitor.cpp: Added transform of the eye - point into local coordinates to properly account - for transforms within the scene graph. +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 -2005-12-19 12:00 robert - * include/osg/Viewport: Fixed computeWindowMatrix so that it - properly accounts for x,y position of the viewport. -2005-12-19 11:18 robert - * include/osgText/Text: From Eric Wing, made getLineCount() const. +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. -2005-12-18 16: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 - * src/osgUtil/CullVisitor.cpp, src/osgUtil/IntersectVisitor.cpp: - Improved handling of clamping of projection matrix for scenes - with close to zero depth range. +Sun, 4 Oct 2009 08:52:01 +0000 +Checked in by : Robert Osfield +Added missing export -2005-12-16 17:01 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 - * src/osgUtil/IntersectVisitor.cpp: Fixed null matrix op. +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. -2005-12-16 16:27 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 - * include/osgUtil/IntersectVisitor, - src/osgUtil/IntersectVisitor.cpp: Fixed handling of absolute - transforms in IntersectVisitor. +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. -2005-12-16 14:53 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 - * examples/osgpick/osgpick.cpp: Fixed typo in text string. +Sun, 27 Sep 2009 15:14:57 +0000 +Checked in by : Robert Osfield +Added handling of resetting of the texture object format -2005-12-16 11:04 robert +Sun, 27 Sep 2009 14:38:38 +0000 +Checked in by : Robert Osfield +Added status collection to full range of texture classes - * include/osg/Switch, src/osg/Switch.cpp, - src/osgWrappers/osg/Switch.cpp: Added back in - Switch::removeChild(Node*) +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 -2005-12-15 20:56 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. - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Added proper - catch of Paul de Repentinguy name -2005-12-15 19:38 robert - * src/osgWrappers/osgUtil/RenderBin.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp, - src/osgWrappers/osgUtil/SceneView.cpp: Updated wrappers. +Fri, 25 Sep 2009 18:03:49 +0000 +Checked in by : Robert Osfield +Fixed warning -2005-12-15 17:14 robert +Thu, 24 Sep 2009 10:11:32 +0000 +Checked in by : Robert Osfield +Added return at end of to fix warning - * include/osgUtil/RenderBin, include/osgUtil/RenderStage, - include/osgUtil/SceneView, include/osgUtil/Statistics, - src/osgProducer/ViewerEventHandler.cpp, - src/osgUtil/RenderBin.cpp, src/osgUtil/RenderStage.cpp, - src/osgUtil/SceneView.cpp: Improved stats handling, and fixed a - couple of stats bugs. +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 -2005-12-15 16:30 robert +Wed, 23 Sep 2009 14:54:13 +0000 +Checked in by : Robert Osfield +Moved setting of TexturePoolSize into State. - * applications/osgdem/osgdem.cpp, include/osgTerrain/DataSet, - src/osgTerrain/DataSet.cpp, - src/osgWrappers/osgTerrain/DataSet.cpp: From Jason Beverage, - added option to control whether simplification of - tiles is done during osgdem builds. +Wed, 23 Sep 2009 13:51:20 +0000 +Checked in by : Robert Osfield +Introduced memory pool size management -2005-12-15 16:24 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. - * Make/makedefs: From Matthew May, fixes for threading problems - under FreeBSD build. +Sun, 20 Sep 2009 09:26:26 +0000 +Checked in by : Robert Osfield +Change win32 external library to wsock32.lib -2005-12-15 15:50 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 - * include/osg/Switch, src/osg/Switch.cpp, - src/osgWrappers/osg/Switch.cpp: Removed - Switch::removedChild(Node*) as the Group::removeChild(Node*) - implementation - should be sufficient, as it calls the virtual - removeChild(uint,uint). +Thu, 17 Sep 2009 13:40:53 +0000 +Checked in by : Robert Osfield +Introduced new osgQtBrowser example. -2005-12-15 15:36 robert +Mon, 14 Sep 2009 16:07:27 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/dxf/dxfDataTypes.h, - src/osgPlugins/dxf/dxfEntity.cpp: From Paul de Repentigny, ciyple - fo fixes for the DXF reader. +Fri, 11 Sep 2009 13:08:49 +0000 +Checked in by : Robert Osfield +Fixed bug in interpolation of colour values -2005-12-15 15:25 robert +Thu, 10 Sep 2009 16:39:05 +0000 +Checked in by : Robert Osfield +Added tf-255 option to volume tag - * include/osgUtil/Statistics: From Yefei He, fix to QUAD_STRIP - stats. +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 -2005-12-09 22:53 robert +Wed, 9 Sep 2009 15:22:04 +0000 +Checked in by : Robert Osfield +Added reset of the ImageDetails values of TexelOffset and TexelScale. - * Make/makedefs: Updated version/revision for 1.0.0 release. +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 -2005-12-09 20:17 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 - * AUTHORS.txt, NEWS.txt: Updated NEWS and AUTHORS files for the - release. +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 -2005-12-09 20:10 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. - * ChangeLog: Updated ChangeLog for 1.0 release. +Tue, 8 Sep 2009 15:36:44 +0000 +Checked in by : Robert Osfield +Tweaked debugging info -2005-12-09 20:03 robert +Tue, 8 Sep 2009 15:36:28 +0000 +Checked in by : Robert Osfield +Fixed the set up of osgVolume::ImageLayer scale and offset. - * include/osgGA/DriveManipulator, include/osgGA/FlightManipulator, - include/osgGA/NodeTrackerManipulator, - include/osgGA/TerrainManipulator, - include/osgGA/TrackballManipulator, - src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, - src/osgGA/TrackballManipulator.cpp, - src/osgProducer/ViewerEventHandler.cpp: Fixed typo in comments - and onscreen help. +Mon, 7 Sep 2009 12:51:00 +0000 +Checked in by : Robert Osfield +Added filter for .filename files -2005-12-09 19:54 robert +Mon, 7 Sep 2009 12:21:03 +0000 +Checked in by : Stephan Maximilian HUBER +updated XCode project - * examples/osghud/osghud.cpp: Fixed the text to match the - implementation. +Mon, 7 Sep 2009 10:54:08 +0000 +Checked in by : Robert Osfield +Updated volume setup code to use the new ImageDetails structure. -2005-12-09 19:34 robert +Mon, 7 Sep 2009 10:50:48 +0000 +Checked in by : Robert Osfield +Added check for null masterLocator - * Make/makedefs: From Thom DeCarlo, changed of ?= to = in - Cygwin/minw options for INST_LOCATION. +Mon, 7 Sep 2009 08:30:54 +0000 +Checked in by : Robert Osfield +Fixed assingment of layerLocator -2005-12-09 19:14 robert +Fri, 4 Sep 2009 09:11:49 +0000 +Checked in by : Robert Osfield +Fixed empty lines - * Make/makedefs: From Simon Julier, library reordering for - compiling osgTerrain under cygwin. +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 -2005-12-09 16:00 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. - * include/osg/PrimitiveSet, include/osgText/String, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osgText/String.cpp: Changed constructors to use - unsigned int to get round VS6.0 + wrapper problems. +Updated wrappers -2005-12-09 15:05 robert - * Make/makedefs, Make/makerules: From Simon Julier, fix for .exe - extension under Mingw/Cygwin. -2005-12-09 14:52 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 - * include/osg/PrimitiveSet, include/osgText/String: Build fix for - VS6.0 in the template constructors +Mon, 31 Aug 2009 15:10:38 +0000 +Checked in by : Robert Osfield +Updated wrappers -2005-12-09 11:22 robert +Mon, 31 Aug 2009 10:37:44 +0000 +Checked in by : Cedric Pinson +From Cedric Pinson, add missing files - * ChangeLog, include/osg/Switch, src/osg/Switch.cpp, - src/osgWrappers/osg/Switch.cpp: From Eric Wing, added missing - removeChildren method. +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 -2005-12-09 09:38 robert +Thu, 27 Aug 2009 19:25:23 +0000 +Checked in by : Robert Osfield +Fixed the compute of the extents/bounding sphere - * src/osgUtil/RenderStage.cpp: From Eric Sokolosky, add setting of - _cameraRequiresSetUp in constructor to - avoid uninitialized variable. +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" -2005-12-08 22:12 robert - * NEWS.txt: Updated NEWS. -2005-12-08 20:32 robert - * src/osgText/Text.cpp: From Paul Martz, changed Vec3 to Vec3d to - ensure that the lazy evaluation of computeBound work properly. +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 -2005-12-08 14:08 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 - * src/osg/Array.cpp: From Simon Julier, fixed typo of unknown. +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 -2005-12-08 12:02 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." - * AUTHORS.txt, ChangeLog, NEWS.txt, - applications/osgversion/osgversion.cpp: Updated AUTHORS and - ChangeLog for rc9. +Fri, 21 Aug 2009 13:55:03 +0000 +Checked in by : Robert Osfield +Fixed osgAnimation wrappers -2005-12-08 11:53 robert +Fri, 21 Aug 2009 12:53:23 +0000 +Checked in by : Robert Osfield +Updated wrappers - * NEWS.txt: Updated NEWS from wiki ammendments. +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." -2005-12-08 11:37 robert - * Make/instrules, Make/makedefs, Make/makerules: From Simon Julier, - build fixes for Cygwin/mingw -2005-12-08 11:01 robert +Fri, 21 Aug 2009 10:18:46 +0000 +Checked in by : Robert Osfield +Fixed handling of double precision bounding sphere type. - * src/osgUtil/IntersectVisitor.cpp: Added support for pre and post - relative transforms on cameranode. +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." -2005-12-08 10:06 robert +Fri, 21 Aug 2009 09:43:41 +0000 +Checked in by : Robert Osfield +From Wojciech Lewandowski, part of the FBO attachment submission - * include/osg/CameraNode, src/osg/CameraNode.cpp, - src/osgProducer/OsgCameraGroup.cpp, src/osgUtil/SceneView.cpp, - src/osgWrappers/osg/CameraNode.cpp: 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. +Fri, 21 Aug 2009 09:42:54 +0000 +Checked in by : Robert Osfield +Updated wrappers -2005-12-08 10:03 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. - * include/osgTerrain/DataSet, src/osgTerrain/DataSet.cpp, - src/osgWrappers/osgTerrain/DataSet.cpp: Changed - s/getGdalDataset() methods to use void* to avoid introspeciton - wrapping problems. +#define FORCE_COLOR_ATTACHMENT 1 +#define FORCE_DEPTH_ATTACHMENT 1 -2005-12-08 08:57 robert - * include/osgText/Text: From Eric Wing, fix to comment. -2005-12-07 15:29 robert - * include/osg/Node, src/osg/Node.cpp, - src/osg/NodeTrackerCallback.cpp, src/osgGA/EventVisitor.cpp, - src/osgProducer/Viewer.cpp, src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osgTerrain/DataSet.cpp: 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. -2005-12-07 15:26 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" - * include/osgTerrain/DataSet, src/osgTerrain/DataSet.cpp: 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 +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" -2005-12-07 12:29 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" - * NEWS.txt: Updated NEWS for release +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." -2005-12-07 11:38 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. - * examples/osgbluemarble/osgbluemarble.cpp: From Eric Wing, fixed - typo induced bug. +I've attached updates to the svn trunk, the fix is also appropriate for +the 2.8.* branch." -2005-12-07 11:36 robert - * include/osg/CameraNode, src/osg/CameraNode.cpp, - src/osgProducer/Viewer.cpp, src/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osg/CameraNode.cpp: 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-07 10:25 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 - * include/osgUtil/IntersectVisitor, src/osgProducer/Viewer.cpp, - src/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgUtil/IntersectVisitor.cpp: Moved PickVistor - into osgUtil -2005-12-07 09:48 robert - * examples/osgcamera/osgcamera.cpp: Enabled thread safe counting by - default. +Thu, 20 Aug 2009 14:20:55 +0000 +Checked in by : Robert Osfield +Improved the custom cursor code and release and compute settings -2005-12-06 21:59 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. - * include/osgUtil/IntersectVisitor, src/osgProducer/Viewer.cpp, - src/osgWrappers/osgUtil/IntersectVisitor.cpp: Improved the - PickVisitor to make it more flexible and robust. +Wed, 19 Aug 2009 15:36:46 +0000 +Checked in by : Robert Osfield +Fixed typo -2005-12-06 12:07 robert +Wed, 19 Aug 2009 15:36:23 +0000 +Checked in by : Robert Osfield +Added support for trimming the contents of parsed Xml graph - * Make/dependencies, Make/makedirdefs, examples/osgdemeter: 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. +Tue, 18 Aug 2009 13:38:17 +0000 +Checked in by : Robert Osfield +Added tabs to treatment as white space to skyWhiteSpace() -2005-12-06 11:24 robert +Mon, 17 Aug 2009 16:07:04 +0000 +Checked in by : Robert Osfield +Added check for space in option name parsing - * src/osg/Geometry.cpp: 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. +Mon, 17 Aug 2009 15:46:22 +0000 +Checked in by : Robert Osfield +Added support for the TabBoxTrackballDragger -2005-12-06 10:26 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. - * src/osgGA/TerrainManipulator.cpp: From Gideon May, fixed typo in - docs. +Mon, 17 Aug 2009 15:24:15 +0000 +Checked in by : Robert Osfield +Updated wrappers -2005-12-06 10:18 robert +Mon, 17 Aug 2009 15:22:01 +0000 +Checked in by : Robert Osfield +Moved static string initialization into singleton method - * include/osg/Geometry: From Farshid Lashkari, removed second - redundent dirtyDisplayList() call. +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 -2005-12-06 10:16 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 - * include/osg/Vec4d, include/osg/Vec4f, - src/osgSim/LightPointDrawable.h, src/osgWrappers/osg/Vec4d.cpp, - src/osgWrappers/osg/Vec4f.cpp: From Louis Hamilton, fix to - LightPoint's under 64 bit build, changing longs to ints in - colour conversion code. +Thu, 6 Aug 2009 10:06:20 +0000 +Checked in by : Robert Osfield +Fixed custom cursor support -2005-12-05 20:11 robert +Wed, 5 Aug 2009 17:01:50 +0000 +Checked in by : Robert Osfield +Added support for selecting the TabBoxTrackballDragger using dragger="trackball-box" - * src/osg/GraphicsContext.cpp: Changed debug message to INFO. +Wed, 5 Aug 2009 16:02:44 +0000 +Checked in by : Robert Osfield +Introduced TabBoxTrackballDragger -2005-12-05 10:24 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" - * examples/osgdelaunay/osgdelaunay.cpp, - examples/osgdepthpartition/DepthPartitionNode.cpp, - src/osgProducer/GraphicsContextImplementation.cpp, - src/osgSim/OverlayNode.cpp: Attempt at build fixes for IRIX. +and -2005-12-05 10:23 robert + technique="light" or technique="isosurface" or technique="iso" or technique="mip" - * src/osgDB/Registry.cpp: Removed the closeLibraries call from the - registry singleton desctuction. +and -2005-12-05 10:08 robert + tf="transferfunctionfile.tf" - * examples/osgkeyboardmouse/osgkeyboardmouse.cpp, - examples/osgsimplepager/osgsimplepager.cpp: From Geoff Michel, - Fix to prevent Producer::Trackball being set up with a negative - radius. +i.e. -2005-12-04 20:08 robert + CardiacCT + CardiacCT + CardiacCT - * include/osg/BoundingBox: Fixed tabbing. -2005-12-03 15:12 robert - * include/osg/PrimitiveSet: Added OSG_EXPORT to PrimitiveSet. -2005-12-03 00:03 robert +Wed, 5 Aug 2009 12:51:10 +0000 +Checked in by : Robert Osfield +Updated wrappers - * include/osg/PrimitiveSet, src/osg/PrimitiveSet.cpp: Moved the - body of the getNumPrimitives() into the .cpp. +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. -2005-12-02 12:30 robert +Tue, 4 Aug 2009 16:19:28 +0000 +Checked in by : Robert Osfield +Updated the Present3D version number - * AUTHORS.txt, ChangeLog, applications/osgversion/osgversion.cpp: - Updated ChangeLog, AUTHTORS.txt and osgversion for next release - candidate. +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 -2005-12-02 12:10 robert +Tue, 28 Jul 2009 06:00:23 +0000 +Checked in by : Robert Osfield +Tweak of NodeMask docs - * NEWS.txt: Fixed typos in NEWS, improved formating. +Tue, 28 Jul 2009 06:00:03 +0000 +Checked in by : Robert Osfield +From Terry Welsh, .osg and .ive support for new Text boxes -2005-12-02 11:59 robert +Mon, 27 Jul 2009 15:39:27 +0000 +Checked in by : Robert Osfield +Fixed bug in handling of stereo image pairs - * NEWS.txt: Updated NEWS with quotes. +Fri, 24 Jul 2009 15:55:50 +0000 +Checked in by : Robert Osfield +Updated wrappers -2005-12-02 09:57 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 - * src/osgPlugins/freetype/FreeTypeLibrary.cpp: Added a - static_cast to get round IRIX64 build problem. +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." -2005-12-02 00:25 robert - * include/osg/Export, include/osg/PrimitiveSet, - include/osgText/String, src/osgUtil/CullVisitor.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osgText/String.cpp: From Marco Jez, hack/fix for - VS compile/link problems related to STL containers. -2005-12-02 00:21 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." - * NEWS.txt: Updated NEWS +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. -2005-12-01 16:44 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...." - * NEWS.txt: Updated NEWS -2005-12-01 16:43 robert - * examples/osgmultitexture/osgmultitexture.cpp, - examples/osgshaderterrain/osgshaderterrain.cpp: Added comments. +Fri, 24 Jul 2009 14:45:44 +0000 +Checked in by : Robert Osfield +From Chris Hanson, typo and comment clean ups -2005-12-01 14:37 robert +Fri, 24 Jul 2009 14:45:09 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgUtil/SceneView.cpp: From Ali Botorabi, fixed the - setDefault() fallback to properly handle the case - when no scene view light is requested. +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. -2005-12-01 14:09 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 - * examples/osgshaderterrain/osgshaderterrain.cpp: Added - TestSupportCallback to properly handle querry of OpenGL support - of - vertex texturing in GLSL. +Thu, 23 Jul 2009 15:25:11 +0000 +Checked in by : Stephan Maximilian HUBER +updated XCode project -2005-12-01 13:38 robert +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 - * src/osgPlugins/txp/GNUmakefile: From Thom DeCarlo, build fix for - Cygwin. +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." -2005-12-01 13:19 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." - * src/osgUtil/CullVisitor.cpp: From Geoff Michel, fixed the - handling of zfar values of 0.0. +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." -2005-11-30 15:30 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. - * NEWS.txt: Updated NEWS. +Thu, 16 Jul 2009 11:48:08 +0000 +Checked in by : Robert Osfield +Fixed build -2005-11-29 22:29 robert +Thu, 16 Jul 2009 11:35:59 +0000 +Checked in by : Robert Osfield +Fixed build. - * ChangeLog: Updated changed log for 1.0-rc7. +Thu, 16 Jul 2009 11:26:14 +0000 +Checked in by : Robert Osfield +Added .get() to fix build -2005-11-29 18:38 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." - * src/osgPlugins/stl/ReaderWriterSTL.cpp: 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. +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. " -2005-11-29 14:20 robert +Note from Robert Osfield, tweaked Colin's changes to that it use != DYNAMIC as the the test rather than == STATIC. - * AUTHORS.txt, ChangeLog, applications/osgversion/osgversion.cpp: - Updated ChangeLog, osgversion.cpp and AUTHORS.txt for 1.0-rc6. -2005-11-29 14:07 robert - * NEWS.txt: Updated NEWS with second draft of press release. -2005-11-29 12:09 robert +Thu, 16 Jul 2009 10:56:16 +0000 +Checked in by : Robert Osfield +Updated wrappers - * include/osgProducer/ViewerEventHandler, - src/osgProducer/ViewerEventHandler.cpp: Added - CameraBarrierCallback so that multi-thread multi-cameras are - synconized - correctly when do stats collection. +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. -2005-11-29 11:39 robert +Thu, 16 Jul 2009 10:13:13 +0000 +Checked in by : Robert Osfield +Updated Contributors mapping - * examples/osgreflect/osgreflect.cpp, src/osg/Stencil.cpp, - src/osgPlugins/geo/ClipRegion.cpp, src/osgUtil/RenderBin.cpp, - src/osgUtil/SceneView.cpp: From Eric Wing, fixes for "warning: - converting of negative value '-0x00000000000000001' to 'unsigned - int'" +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 -2005-11-29 08:59 robert +Wed, 15 Jul 2009 20:52:51 +0000 +Checked in by : Cedric Pinson +From Cedric Pinson, add accessors to osgAnimation ActionCallback - * examples/osgparametric/osgparametric.cpp: Switched off the VBO - usage in osgparametric as it was tripping up ATI and 3DLabs - drivers. +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 -2005-11-28 20:08 robert +Wed, 15 Jul 2009 15:28:19 +0000 +Checked in by : Robert Osfield +Quitened down debug info. - * src/osg/Texture2D.cpp: 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. +Tue, 14 Jul 2009 13:32:06 +0000 +Checked in by : Robert Osfield +Cleaned up indenting -2005-11-28 10:58 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. - * examples/osgdelaunay/osgdelaunay.cpp: Fixed warning. +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." -2005-11-28 09:15 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. - * Make/makedefs, examples/osgGLUTkeyboardmouse/GNUmakefile, - examples/osgGLUTkeyboardmouse/osgGLUTkeyboardmouse.cpp, - examples/osgGLUTsimple/GNUmakefile, - examples/osgGLUTsimple/osgGLUTsimple.cpp: From Gideon May, port - to OSX of GLUT examples. -2005-11-27 15:32 robert - * examples/osgdelaunay/osgdelaunay.cpp: From Geoff Michel, fix for - the scaling of the random number generation. +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. -2005-11-25 20:23 robert +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. - * AUTHORS.txt, ChangeLog: Updated ChangeLog and authors file. +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. -2005-11-25 19:18 robert - * examples/osgdelaunay/osgdelaunay.cpp, - examples/osgpbuffer/osgpbuffer.cpp, src/osg/DisplaySettings.cpp, - src/osgProducer/Viewer.cpp: From John Donovan, typo fixes. -2005-11-25 14:58 robert - * applications/osgdem/osgdem.cpp: Added disable of spurious VS6.0 - warning. -2005-11-25 13:45 robert +Tue, 14 Jul 2009 10:35:53 +0000 +Checked in by : Robert Osfield +Quitened down debug messages - * include/osg/Image: Fixed docs of setImage. +Tue, 14 Jul 2009 10:04:18 +0000 +Checked in by : Robert Osfield +Fixed the handling of compressed files -2005-11-25 12:31 robert +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." - * include/osg/Drawable, include/osg/PrimitiveSet, - src/osg/PrimitiveSet.cpp, src/osgWrappers/osg/PrimitiveSet.cpp: - Added releaseGLObjects to PrimitiveSet. +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. " -2005-11-25 10:32 robert +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 - * VisualStudio/OpenSceneGraph.dsw: Fixed typo of dxf. +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. -2005-11-24 19:53 robert +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. - * examples/osgdepthshadow/osgdepthshadow.cpp: Lightened by the - ambientBias term. +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" -2005-11-24 15:18 robert - * include/osg/FrameBufferObject, src/osg/FrameBufferObject.cpp, - src/osgUtil/RenderStage.cpp, src/osgUtil/SceneView.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp: Added FBO deletion - support, and better FBO querry and fallback mechansim in - RenderStage. -2005-11-24 15:17 robert +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. " - * include/osg/Export: Changed the VS template export block to just - compile when VS verion >= 1300 (VS.NET onwards.) +Sun, 12 Jul 2009 15:44:57 +0000 +Checked in by : Robert Osfield +Reverted erronous check-in (which was r10454) -2005-11-24 10:28 robert +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. - * examples/osgshaderterrain/osgshaderterrain.cpp, - src/osg/Texture.cpp: 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. -2005-11-24 10:14 robert - * src/osgProducer/OsgCameraGroup.cpp: Added automatic setting of - thread safe reference counting when multi-threaded - cameras are used. +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. -2005-11-23 16:32 robert + - * include/osg/CameraNode, src/osgUtil/CullVisitor.cpp, - src/osgUtil/RenderStage.cpp, src/osgWrappers/osg/CameraNode.cpp: - 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. -2005-11-23 16:24 robert - * AUTHORS.txt, ChangeLog, Make/makedefs, NEWS.txt: Updated - AUTHORES, ChangeLog, NEWS and version number for 1.0-rc6 +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. -2005-11-23 15:25 robert +Fri, 3 Jul 2009 10:33:51 +0000 +Checked in by : Robert Osfield +Updated version numbers for 2.9.6 release - * src/osg/GLExtensions.cpp: Changed the linux implement of - getGLExtensionFuncPtr to querry for glXGetProcAddressARB - and then use this if its available, otherwise fallback to the - original dlsym usage. +Fri, 3 Jul 2009 10:27:58 +0000 +Checked in by : Robert Osfield +Updated wrappers -2005-11-23 13:44 robert +Fri, 3 Jul 2009 05:54:27 +0000 +Checked in by : Robert Osfield +Added TrackballDragger code path - * include/osg/CameraNode, src/osg/FrameBufferObject.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/RenderStage.cpp, - src/osgWrappers/osg/CameraNode.cpp: Added multi-buffering of the - CameraNode::_renderingCache to help cope with multiple graphis - context usages. +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 -2005-11-23 12:16 robert +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. - * examples/osgcallback/osgcallback.cpp: Fixed mistmatch of - ReadFileCallback type. +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 -2005-11-23 10:16 robert +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 - * include/osg/GLExtensions, src/osg/GLExtensions.cpp: Moved - getGLExtensionFuncPtr implementation into the .cpp to make it - easier to - change it implementation without forcing a complete recompile. +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. -2005-11-23 10:15 robert +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." - * src/osgFX/BumpMapping.cpp: From Marco Jez, typo fix if GL - extension name. +Wed, 1 Jul 2009 14:50:08 +0000 +Checked in by : Robert Osfield +Removed old references to CommandManager -2005-11-22 21:14 robert +Wed, 1 Jul 2009 14:49:30 +0000 +Checked in by : Robert Osfield +Added constructor and destructor body - * include/osgUtil/TangentSpaceGenerator, src/osgFX/BumpMapping.cpp, - src/osgUtil/TangentSpaceGenerator.cpp, - src/osgWrappers/osgUtil/TangentSpaceGenerator.cpp: 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. +Wed, 1 Jul 2009 14:04:46 +0000 +Checked in by : Robert Osfield +Added osgGA to the dependency list -2005-11-22 14:35 robert +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 - * Make/makedefs: From Markus Trenkwalder, fixed placment of libs in - mingw build. + CommandManager is shell class that just sets values directly on Dragger, and is deprecated -2005-11-22 13:56 robert + 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. - * include/osg/Geometry, src/osg/Geometry.cpp: Added missing - dirtyDisplayList call into osg::Geometry::set calls. + Dragger now has a convinience method making MatrixTransforms track a dragger. -2005-11-22 13:14 robert + Selection and CommandManager are no longer required for use of osgManipulator and are kept around for backwards compatibility. - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp: Added - DatabasePager::s/getDrawablePolicy() to allow the way that the - display list/VBO settings - are applied to loaded databases. -2005-11-22 10:26 robert - * src/osg/LOD.cpp, src/osg/PagedLOD.cpp: Added check against - LODScale being zero, and fixed the search for the maximum - LOD range in the pixel size range fallback. -2005-11-22 10:08 robert +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 - * src/osg/LOD.cpp, src/osg/PagedLOD.cpp: From Chris Hanson, add - LODScale support to pixel based LOD range selection. +Tue, 30 Jun 2009 13:00:58 +0000 +Checked in by : Robert Osfield +Simplified Command and CommandManager -2005-11-22 09:57 robert +Tue, 30 Jun 2009 12:41:59 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project, included osgPresentation - * src/osg/Program.cpp: 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. +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 -2005-11-22 09:51 robert +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. - * src/osgPlugins/dxf/scene.cpp, - src/osgPlugins/txp/trpage_managers.cpp: From Eric Wing, warning - fixes for gcc4.0/OSX. +Tue, 30 Jun 2009 07:33:16 +0000 +Checked in by : Robert Osfield +Updated wrappers -2005-11-22 09:47 robert +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. - * include/osg/GL: From Marco Jez, fix for wchar_t being redefined. +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. -2005-11-21 16:29 robert +Fri, 26 Jun 2009 16:39:44 +0000 +Checked in by : Robert Osfield +Added search in /usr/local/dicom for dcmtk. - * NEWS.txt: Updated NEWS +Fri, 26 Jun 2009 08:16:03 +0000 +Checked in by : Robert Osfield +Fixed warning -2005-11-21 16:15 robert +Fri, 26 Jun 2009 08:14:09 +0000 +Checked in by : Robert Osfield +Fixed warning - * AUTHORS.txt, ChangeLog: Updated ChangeLog and authors file. +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. -2005-11-21 13:51 robert +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. - * include/osg/Export, include/osg/PrimitiveSet, - include/osgText/String, src/osgPlugins/directx/directx.h, - src/osgPlugins/txp/trpage_sys.h: 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 +Now when things are thrown they maintain a rate very close to what was +happening when the mouse button was released." -2005-11-20 22:07 robert - * src/osgPlugins/directx/ReaderWriterDirectX.cpp, - src/osgPlugins/directx/directx.cpp, - src/osgPlugins/directx/directx.h: Replaced asserts with - notification of error. -2005-11-20 22:06 robert +Thu, 25 Jun 2009 18:03:30 +0000 +Checked in by : Robert Osfield +Fixed library definition - * src/osgPlugins/directx/directx.cpp, - src/osgPlugins/directx/directx.h: From Donn Mielcarek, added - support Materials being declared globally. - -2005-11-19 12:18 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/osgversion.cpp: - Updated ChangeLog, osgversion and AUTHORS file. - -2005-11-18 17:04 robert - - * include/osgParticle/ExplosionDebrisEffect, - include/osgParticle/ExplosionEffect, - include/osgParticle/FireEffect, - include/osgParticle/ParticleEffect, - include/osgParticle/SmokeEffect, - include/osgParticle/SmokeTrailEffect, - src/osgParticle/ExplosionDebrisEffect.cpp, - src/osgParticle/ExplosionEffect.cpp, - src/osgParticle/FireEffect.cpp, - src/osgParticle/ParticleEffect.cpp, - src/osgParticle/SmokeEffect.cpp, - src/osgParticle/SmokeTrailEffect.cpp, - src/osgPlugins/osgParticle/IO_ExplosionDebrisEffect.cpp, - src/osgPlugins/osgParticle/IO_ExplosionEffect.cpp, - src/osgPlugins/osgParticle/IO_FireEffect.cpp, - src/osgPlugins/osgParticle/IO_ParticleEffect.cpp, - src/osgPlugins/osgParticle/IO_SmokeEffect.cpp, - src/osgPlugins/osgParticle/IO_SmokeTrailEffect.cpp, - src/osgWrappers/osgParticle/ExplosionDebrisEffect.cpp, - src/osgWrappers/osgParticle/ExplosionEffect.cpp, - src/osgWrappers/osgParticle/FireEffect.cpp, - src/osgWrappers/osgParticle/ParticleEffect.cpp, - src/osgWrappers/osgParticle/SmokeEffect.cpp, - src/osgWrappers/osgParticle/SmokeTrailEffect.cpp: 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. - -2005-11-18 15:00 robert - - * include/osgGA/TrackballManipulator, - src/osgWrappers/osgGA/TrackballManipulator.cpp: Added s/getCenter - and s/getRotation methods, and updated wrapper. - -2005-11-18 14:49 robert - - * include/osgGA/TrackballManipulator: From Toshiyuki Takeahei, - addition of s/getDistance() methods - -2005-11-18 14:46 robert - - * src/osgPlugins/flt/LightPointRecord.cpp, - src/osgPlugins/flt/LightPointRecord.h, - src/osgPlugins/flt/flt2osg.cpp: 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-11-18 10:03 robert - - * src/osgPlugins/flt/flt2osg.cpp: 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. - -2005-11-18 09:52 robert - - * include/osg/Export, include/osgDB/Export, include/osgFX/Export, - include/osgGA/Export, include/osgIntrospection/Export, - include/osgParticle/Export, include/osgProducer/Export, - include/osgSim/Export, include/osgTerrain/Export, - include/osgText/Export, include/osgUtil/Export: 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-11-17 20:22 robert - - * examples/osgGLUTkeyboardmouse/osgGLUTkeyboardmouse.cpp, - examples/osgblendequation/osgblendequation.cpp, - examples/osgbluemarble/osgbluemarble.cpp, - examples/osgcamera/osgcamera.cpp, - examples/osgcameragroup/osgcameragroup.cpp, - examples/osgcluster/broadcaster.cpp, - examples/osgcluster/receiver.cpp, - examples/osgdepthpartition/DepthPartitionNode.cpp, - examples/osgdepthpartition/DistanceAccumulator.cpp, - examples/osgdepthpartition/osgdepthpartition.cpp, - examples/osgdepthshadow/osgdepthshadow.cpp, - examples/osgforest/osgforest.cpp, - examples/osgfxbrowser/osgfxbrowser.cpp, - examples/osggeometry/osggeometry.cpp, - examples/osgimpostor/TestManipulator.cpp, - examples/osgimpostor/osgimpostor.cpp, - examples/osgintrospection/osgintrospection.cpp, - examples/osgkeyboardmouse/osgkeyboardmouse.cpp, - examples/osglight/osglight.cpp, - examples/osglogicop/osglogicop.cpp, examples/osglogo/osglogo.cpp, - examples/osgmotionblur/osgmotionblur.cpp, - examples/osgparametric/osgparametric.cpp, - examples/osgparticle/osgparticle.cpp, - examples/osgparticleeffects/osgparticleeffects.cpp, - examples/osgplanets/osgplanets.cpp, - examples/osgshadowtexture/osgshadowtexture.cpp, - examples/osgshape/osgshape.cpp, examples/osgsimple/osgsimple.cpp, - examples/osgsimplepager/osgsimplepager.cpp, - examples/osgsimulation/osgsimulation.cpp, - examples/osgslice/osgslice.cpp, - examples/osgspheresegment/osgspheresegment.cpp, - examples/osgspotlight/osgspotlight.cpp, - examples/osgtexture3D/osgtexture3D.cpp, - examples/osgvolume/osgvolume.cpp: Replaced tabs with spaces in - examples. - -2005-11-17 17:45 robert - - * applications/osgdem/osgdem.cpp, - src/osgWrappers/osgGA/DriveManipulator.cpp, - src/osgWrappers/osgGA/FlightManipulator.cpp, - src/osgWrappers/osgGA/TrackballManipulator.cpp, - src/osgWrappers/osgGA/UFOManipulator.cpp: Updated wrappers. - -2005-11-17 17:44 robert - - * include/osg/AnimationPath, include/osg/Billboard, - include/osg/ClipNode, include/osg/ClipPlane, - include/osg/ClusterCullingCallback, - include/osg/CollectOccludersVisitor, - include/osg/ConvexPlanarOccluder, - include/osg/ConvexPlanarPolygon, include/osg/CopyOp, - include/osg/CullSettings, include/osg/CullStack, - include/osg/CullingSet, include/osg/Depth, include/osg/Export, - include/osg/FragmentProgram, include/osg/GLExtensions, - include/osg/Group, include/osg/ImageStream, include/osg/Light, - include/osg/LineStipple, include/osg/Matrixd, - include/osg/Matrixf, include/osg/Multisample, - include/osg/PointSprite, include/osg/Polytope, - include/osg/Referenced, include/osg/ShadowVolumeOccluder, - include/osg/Shape, include/osg/TexGenNode, include/osg/Texture1D, - include/osg/Texture2D, include/osg/Transform, - include/osg/TriangleFunctor, include/osg/TriangleIndexFunctor, - include/osg/UByte4, include/osg/Vec2b, include/osg/Vec2d, - include/osg/Vec2f, include/osg/Vec2s, include/osg/Vec3b, - include/osg/Vec3s, include/osg/Vec4s, include/osg/Vec4ub, - include/osg/io_utils, include/osg/ref_ptr, - include/osgDB/DynamicLibrary, include/osgDB/Export, - include/osgDB/Output, include/osgGA/AnimationPathManipulator, - include/osgGA/DriveManipulator, - include/osgGA/KeySwitchMatrixManipulator, - include/osgIntrospection/Comparator, - include/osgProducer/EventAdapter, include/osgProducer/Export, - include/osgSim/Impostor, include/osgSim/ImpostorSprite, - include/osgTerrain/DataSet, include/osgText/Text: Convert tabs to - spaces. - -2005-11-17 15:18 robert - - * applications/osgversion/osgversion.cpp: 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-11-17 15:03 robert - - * src/osgPlugins/ac3d/Exception.cpp, src/osgPlugins/ac3d/Geode.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/dxf/ReaderWriterDXF.cpp, - src/osgPlugins/dxf/dxfBlock.cpp, - src/osgPlugins/dxf/dxfEntity.cpp, src/osgPlugins/dxf/dxfFile.cpp, - src/osgPlugins/dxf/dxfReader.cpp, - src/osgPlugins/dxf/dxfSection.cpp, - src/osgPlugins/dxf/dxfTable.cpp, src/osgPlugins/dxf/scene.cpp, - src/osgPlugins/flt/FindExternalModelVisitor.cpp, - src/osgPlugins/flt/GroupRecord.cpp, - src/osgPlugins/flt/HeaderRecord.cpp, - src/osgPlugins/flt/LightPointPaletteRecords.cpp, - src/osgPlugins/flt/LodRecord.cpp, - src/osgPlugins/geo/ClipRegion.cpp, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/geo/geoActions.cpp, - src/osgPlugins/ive/AlphaFunc.cpp, - src/osgPlugins/ive/AnimationPath.cpp, - src/osgPlugins/ive/AnimationPathCallback.cpp, - src/osgPlugins/ive/AzimElevationSector.cpp, - src/osgPlugins/ive/AzimSector.cpp, - src/osgPlugins/ive/Billboard.cpp, - src/osgPlugins/ive/BlendFunc.cpp, - src/osgPlugins/ive/BlinkSequence.cpp, - src/osgPlugins/ive/ClipPlane.cpp, - src/osgPlugins/ive/ConeSector.cpp, - src/osgPlugins/ive/ConvexPlanarPolygon.cpp, - src/osgPlugins/ive/CullFace.cpp, - src/osgPlugins/ive/DirectionalSector.cpp, - src/osgPlugins/ive/ElevationSector.cpp, - src/osgPlugins/ive/Exception.cpp, - src/osgPlugins/ive/FragmentProgram.cpp, - src/osgPlugins/ive/FrontFace.cpp, - src/osgPlugins/ive/Impostor.cpp, src/osgPlugins/ive/LOD.cpp, - src/osgPlugins/ive/Light.cpp, src/osgPlugins/ive/LightModel.cpp, - src/osgPlugins/ive/LightPoint.cpp, - src/osgPlugins/ive/LightPointNode.cpp, - src/osgPlugins/ive/LineWidth.cpp, - src/osgPlugins/ive/Material.cpp, - src/osgPlugins/ive/MultiSwitch.cpp, - src/osgPlugins/ive/Object.cpp, src/osgPlugins/ive/PagedLOD.cpp, - src/osgPlugins/ive/Point.cpp, - src/osgPlugins/ive/PolygonOffset.cpp, - src/osgPlugins/ive/PositionAttitudeTransform.cpp, - src/osgPlugins/ive/PrimitiveSet.cpp, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/ive/Scissor.cpp, src/osgPlugins/ive/Sequence.cpp, - src/osgPlugins/ive/ShadeModel.cpp, src/osgPlugins/ive/Switch.cpp, - src/osgPlugins/ive/TexEnv.cpp, - src/osgPlugins/ive/TexEnvCombine.cpp, - src/osgPlugins/ive/TexGen.cpp, src/osgPlugins/ive/TexMat.cpp, - src/osgPlugins/ive/Transform.cpp, - src/osgPlugins/ive/Viewport.cpp, - src/osgPlugins/ive/VisibilityGroup.cpp, - src/osgPlugins/lib3ds/ReaderWriter3DS.cpp, - src/osgPlugins/lwo/Block.cpp, src/osgPlugins/lwo/Clip.cpp, - src/osgPlugins/lwo/Converter.cpp, src/osgPlugins/lwo/Object.cpp, - src/osgPlugins/lwo/Polygon.cpp, src/osgPlugins/lwo/Surface.cpp, - src/osgPlugins/lwo/Tessellator.cpp, src/osgPlugins/lwo/Unit.cpp, - src/osgPlugins/lwo/VertexMap.cpp, - src/osgPlugins/lwo/old_Lwo2.cpp, - src/osgPlugins/lwo/old_Lwo2Layer.cpp, - src/osgPlugins/lwo/old_lw.cpp, - src/osgPlugins/md2/ReaderWriterMD2.cpp, - src/osgPlugins/net/sockinet.cpp, - src/osgPlugins/net/sockstream.cpp, - src/osgPlugins/osg/AutoTransform.cpp, - src/osgPlugins/osg/ClipPlane.cpp, - src/osgPlugins/osg/ConvexPlanarOccluder.cpp, - src/osgPlugins/osg/Fog.cpp, - src/osgPlugins/osg/FragmentProgram.cpp, - src/osgPlugins/osg/Light.cpp, src/osgPlugins/osg/LineWidth.cpp, - src/osgPlugins/osg/Material.cpp, src/osgPlugins/osg/Point.cpp, - src/osgPlugins/osg/PointSprite.cpp, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osg/Shader.cpp, src/osgPlugins/osg/Shape.cpp, - src/osgPlugins/osg/TexGen.cpp, - src/osgPlugins/osg/VertexProgram.cpp, - src/osgPlugins/osgFX/IO_AnisotropicLighting.cpp, - src/osgPlugins/osgFX/IO_BumpMapping.cpp, - src/osgPlugins/osgFX/IO_Cartoon.cpp, - src/osgPlugins/osgFX/IO_Effect.cpp, - src/osgPlugins/osgFX/IO_Scribe.cpp, - src/osgPlugins/osgFX/IO_SpecularHighlights.cpp, - src/osgPlugins/osgParticle/IO_ModularEmitter.cpp, - src/osgPlugins/osgParticle/IO_ModularProgram.cpp, - src/osgPlugins/osgParticle/IO_Particle.cpp, - src/osgPlugins/osgParticle/IO_ParticleProcessor.cpp, - src/osgPlugins/osgParticle/IO_RadialShooter.cpp, - src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/pfb/ReaderWriterPFB.cpp, - src/osgPlugins/quicktime/MovieData.cpp, - src/osgPlugins/quicktime/QTUtils.cpp, - src/osgPlugins/quicktime/ReaderWriterQT.cpp, - src/osgPlugins/rot/ReaderWriterROT.cpp, - src/osgPlugins/scale/ReaderWriterSCALE.cpp, - src/osgPlugins/tgz/ReaderWriterTGZ.cpp, - src/osgPlugins/trans/ReaderWriterTRANS.cpp: Replaced tabs with - spaces. - -2005-11-17 13:35 robert - - * src/osg/Image.cpp, src/osg/LightModel.cpp, src/osg/Matrixd.cpp, - src/osg/Shape.cpp, src/osg/ShapeDrawable.cpp, - src/osg/UnitTestFramework.cpp, src/osg/Vec3.cpp, - src/osgDB/DynamicLibrary.cpp, src/osgDB/FieldReader.cpp, - src/osgDB/FileNameUtils.cpp, src/osgDB/Output.cpp, - src/osgFX/BumpMapping.cpp, src/osgFX/Cartoon.cpp, - src/osgFX/Effect.cpp, src/osgFX/Technique.cpp, - src/osgFX/Validator.cpp, src/osgParticle/ParticleSystem.cpp, - src/osgProducer/EventAdapter.cpp, - src/osgProducer/OsgCameraGroup.cpp, src/osgProducer/Viewer.cpp, - src/osgSim/Impostor.cpp, src/osgSim/LightPoint.cpp, - src/osgSim/LightPointNode.cpp, src/osgSim/MultiSwitch.cpp, - src/osgSim/SphereSegment.cpp, src/osgTerrain/HeightFieldNode.cpp, - src/osgText/Text.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgUtil/HalfWayMapGenerator.cpp, - src/osgUtil/IntersectVisitor.cpp, src/osgUtil/RenderBin.cpp, - src/osgUtil/Simplifier.cpp: Coverted tabs to space in core - libraries. - -2005-11-17 11:27 robert - - * src/osgProducer/Viewer.cpp: From Toshiyuki Takahei, fixed order - intialiation problem in Viewer::selectCameraManipulator(..). - -2005-11-17 11:22 robert - - * examples/osgdepthshadow/osgdepthshadow.cpp: 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-11-17 11:13 robert - - * Make/makedefs: 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. - -2005-11-17 11:09 robert - - * Make/makedefs: From Eric Sokolosky, made spacing more consistent. - -2005-11-17 11:03 robert - - * include/osgGA/DriveManipulator, include/osgGA/FlightManipulator, - include/osgGA/TrackballManipulator, include/osgGA/UFOManipulator, - src/osg/Matrix_implementation.cpp, - src/osgGA/DriveManipulator.cpp, src/osgGA/FlightManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, - src/osgGA/TrackballManipulator.cpp: 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. - -2005-11-17 09:57 robert - - * examples/osgsimulation/osgsimulation.cpp: Improved handling of - core OSG being compile with float Matrices. +Thu, 25 Jun 2009 16:12:58 +0000 +Checked in by : Robert Osfield +From Stephan Huber, fixes to Cocoa support -2005-11-17 09:20 robert +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. +" - * src/osg/Image.cpp: Added (_data || rhs._data) extra qualify to - Image::compare is data equal test. -2005-11-16 21:08 robert - * src/osgPlugins/geo/osgGeoNodes.h: Removed redundent copyop. +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 -2005-11-16 20:27 robert +Thu, 25 Jun 2009 13:31:48 +0000 +Checked in by : Robert Osfield +Converted tabs to spaces - * examples/osgtesselate/GNUmakefile: Ran dos2unix on makefile. +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." -2005-11-16 16:35 robert +Thu, 25 Jun 2009 13:13:54 +0000 +Checked in by : Robert Osfield +From Mathias Froehlich, "put texturemanager into osg namespace." - * doc/ProgrammingGuide/ProgrammingGuide.odt: Started experimenting - with sections and table of contents. +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." -2005-11-16 16:30 robert +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." - * src/osgPlugins/dxf/dxfEntity.cpp, src/osgPlugins/dxf/dxfEntity.h, - src/osgPlugins/dxf/scene.cpp, src/osgPlugins/dxf/scene.h: - Converted remaining osg::Matrix usage to osg::Matrixd. +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." -2005-11-16 12:14 robert - * AUTHORS.txt, ChangeLog: Updated changelog and authors file. -2005-11-16 12:07 robert +Thu, 25 Jun 2009 08:53:28 +0000 +Checked in by : Robert Osfield +Added osgFX depedency - * applications/osgversion/osgversion.cpp: Fixed typo entry. +Thu, 25 Jun 2009 08:52:23 +0000 +Checked in by : Robert Osfield +Added osgVolume dependency -2005-11-16 09:28 robert +Thu, 25 Jun 2009 08:23:21 +0000 +Checked in by : Robert Osfield +Added export - * src/osg/TextureRectangle.cpp: From Mike Weiblen, support for - ARB_texture_rectangle extension name. +Thu, 25 Jun 2009 07:42:10 +0000 +Checked in by : Robert Osfield +Added CMakeLists.txt for osgPresentation -2005-11-15 22:18 robert +Wed, 24 Jun 2009 17:37:59 +0000 +Checked in by : Robert Osfield +Added use of REGISTER_OGRPLUGIN to enable static linking of plugins - * examples/osgdelaunay/GNUmakefile, - examples/osgprerender/osgprerender.cpp: From Joakim - Simonsson/Robert Osfield. Fixed line endings. +Wed, 24 Jun 2009 17:34:30 +0000 +Checked in by : Robert Osfield +Added ffmpeg and pdf to static build -2005-11-15 22:14 robert +Wed, 24 Jun 2009 17:33:01 +0000 +Checked in by : Robert Osfield +Added support for static compilation of pdf plugin - * src/osgPlugins/flt/Pool.cpp: Did a unix2dos and trimmed end of - file of rendundent newlines. +Wed, 24 Jun 2009 16:45:55 +0000 +Checked in by : Robert Osfield +Fixed non windows path -2005-11-15 22:07 robert +Wed, 24 Jun 2009 16:14:53 +0000 +Checked in by : Robert Osfield +Renamed the temporary application name of present3D-osg to present3D. - * applications/osgarchive/osgarchive.cpp, - applications/osgconv/osgconv.cpp, applications/osgdem/osgdem.cpp, - examples/osgbluemarble/osgbluemarble.cpp, - examples/osgdelaunay/osgdelaunay.cpp, - examples/osgdemeter/osgdemeter.cpp, - examples/osgmovie/osgmovie.cpp, - examples/osgpbuffer/osgpbuffer.cpp, - examples/osgpoints/osgpoints.cpp, - examples/osgsimplifier/osgsimplifier.cpp, - examples/osgspacewarp/osgspacewarp.cpp, - examples/osgtesselate/osgtesselate.cpp: Added proper descriptions - of examples in place of the copy and paste description. +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. -2005-11-15 21:47 robert +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 - * include/osgParticle/Particle, - include/osgUtil/DelaunayTriangulator, src/osgTerrain/DataSet.cpp: - From Eric Wing, compile fixes. +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 -2005-11-15 21:24 robert +Tue, 23 Jun 2009 12:59:01 +0000 +Checked in by : Cedric Pinson +From Cedric Pinson, Fix clone operation for osgAnimation::Animation - * src/osgDB/Registry.cpp, - src/osgPlugins/quicktime/ReaderWriterQT.cpp: From Gideon May, - "I've added an alias for the new mpeg 4 format used by quicktime - and - podcasts." +Tue, 23 Jun 2009 11:33:59 +0000 +Checked in by : Robert Osfield +Fixed warning -2005-11-15 18:31 robert +Tue, 23 Jun 2009 10:53:55 +0000 +Checked in by : Robert Osfield +Added explict search for stdint.h - * Make/makedefs: From Sean Spicer, compile fixes for Intel - compiler. +Mon, 22 Jun 2009 18:04:36 +0000 +Checked in by : Cedric Pinson +From Cedric Pinson, fix clone for UpdateTransform -2005-11-15 16:15 robert +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 - * VisualStudio/highlight70.reg, VisualStudio/highlight71.reg: From - Joakim Simonsson, updated VS handling of extensionless headers to - be consistent with 1.0 release of OSG +Mon, 22 Jun 2009 16:02:38 +0000 +Checked in by : Robert Osfield +Fixed swap size -2005-11-15 16:06 robert +Mon, 22 Jun 2009 14:24:59 +0000 +Checked in by : Cedric Pinson +From Cedric Pinson, fix constructors for cloning osgAnimation objects - * applications/osgversion/osgversion.cpp: Fixed typo of Jason. +Mon, 22 Jun 2009 13:08:06 +0000 +Checked in by : Robert Osfield +Updated authors for 2.9.5 release -2005-11-15 15:07 robert +Mon, 22 Jun 2009 12:46:51 +0000 +Checked in by : Robert Osfield +Update ChangeLog and contributors - * AUTHORS.txt: Updated authors list from osgversion -r ChangeLog - output. +Sun, 21 Jun 2009 17:28:59 +0000 +Checked in by : Robert Osfield +Added mutex lock to iniGLNames to prevent threading problems during initialization -2005-11-15 15:07 robert +Sat, 20 Jun 2009 17:03:38 +0000 +Checked in by : Robert Osfield +Added support for initial cut of static build of Present3D. - * applications/osgversion/GNUmakefile, - applications/osgversion/osgversion.cpp: Updated the output of the - contributors list. +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. -2005-11-15 14:25 robert +The fix is very simple. Instead of calling computePositions() in TextBase::setAlignment(), it calls computeGlyphRepresentation(). I've attached the modified TextBase.cpp." - * src/osgUtil/TriStrip_heap_array.h: Added catch of erase of the - last element of heap. -2005-11-15 11:43 robert - * include/osgIntrospection/Comparator: From Marco Jez, warning - fixes. +Sat, 20 Jun 2009 08:18:58 +0000 +Checked in by : Robert Osfield +Updated wrappers -2005-11-15 11:39 robert +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 - * src/osgPlugins/txp/trpage_print.cpp, - src/osgPlugins/txp/trpage_warchive.cpp: Warning fixes. +In the OBJ loader the newline would be interpreted as follows -2005-11-15 11:23 robert +f 15939/9999/16177 15941/10000/16178 15940/10001/1617915938/10002/16180 - * src/osgPlugins/quicktime/QTtexture.cpp: Warning fix. +However, for correctly loading the model it should be interpreted as -2005-11-15 10:05 robert +f 15939/9999/16177 15941/10000/16178 15940/10001/16179 15938/10002/16180 - * applications/osgversion/osgversion.cpp: Added remapping of Drew's - fullname. +Thus, the escaped newline should be interpreted as a space. -2005-11-15 08:56 robert +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." - * examples/osgspacewarp/osgspacewarp.cpp: From Mike Weiblen, - switched off lighting of points to make them clearer -2005-11-15 08:43 robert - * src/osgSim/SphereSegment.cpp: Warning fix. +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 -2005-11-14 21:40 robert +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 - * applications/osgversion/osgversion.cpp: Fixed handling of - initials. +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." -2005-11-14 20:54 robert - * applications/osgversion/osgversion.cpp: Added typo correction for - "Jolley". -2005-11-14 20:51 robert +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) - * applications/osgversion/osgversion.cpp: Added more typo catches. +Added _isTextureMaxLevelSupported variable to texture extensions. It +could be removed if OSG requires OpenGL version 1.2 by default. -2005-11-14 17:21 robert +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). - * applications/osgversion/osgversion.cpp: Further improvements to - the name filtering. +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." -2005-11-14 17:15 robert - * applications/osgversion/osgversion.cpp: Improved handling on - special characters in names -2005-11-14 17:07 robert +Fri, 19 Jun 2009 11:31:15 +0000 +Checked in by : Robert Osfield +From Don Liech, Qt/OSG integration example - * applications/osgversion/osgversion.cpp: Added support for mining - the ChangeLog for a list of contributors. +Fri, 19 Jun 2009 11:16:24 +0000 +Checked in by : Robert Osfield +Updated wrappers -2005-11-14 13:34 robert +Fri, 19 Jun 2009 11:04:48 +0000 +Checked in by : Robert Osfield +Added append() method - * ChangeLog: Updated changelog. +Fri, 19 Jun 2009 11:00:33 +0000 +Checked in by : Robert Osfield +Added clears to various vectors being passed in to get*() methods. -2005-11-14 12:49 robert +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()." - * src/osgPlugins/geo/geoFormat.h, src/osgPlugins/geo/geoVersion.h: - Fixed warnings in geo plugin +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. -2005-11-14 11:14 robert +Thu, 18 Jun 2009 08:29:20 +0000 +Checked in by : Robert Osfield +Added exports - * Make/openscenegraph.pc: Updated package version to 1.0,0 +Thu, 18 Jun 2009 08:22:24 +0000 +Checked in by : Robert Osfield +Updated wrappers -2005-11-14 11:08 robert +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." - * include/osgGA/NodeTrackerManipulator, - src/osgWrappers/osgGA/NodeTrackerManipulator.cpp: From Toshiyuki - Takehei, typo fix of getTrackerMode(). +this fix places the cornertabs back in the corners. +(the manipulator does not make sense otherwise)." -2005-11-14 11:00 robert - * include/osgGA/KeySwitchMatrixManipulator, - src/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgProducer/ViewerEventHandler.cpp, - src/osgWrappers/osgGA/KeySwitchMatrixManipulator.cpp: 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-14 09:31 robert +Wed, 17 Jun 2009 16:54:39 +0000 +Checked in by : Robert Osfield +Replaced forward declarations - * include/osgParticle/ParticleSystem: 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." +Wed, 17 Jun 2009 16:54:12 +0000 +Checked in by : Robert Osfield +Added ".added", ".modified" and ".removed" alias to .revisions plugin -2005-11-12 21:29 robert +Wed, 17 Jun 2009 15:12:58 +0000 +Checked in by : Robert Osfield +Updated wrappers - * VisualStudio/osgPlugins/geo/geo.dsp, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/geo/geoCore.h, src/osgPlugins/geo/geoFormat.h, - src/osgPlugins/geo/geoTypes.h, src/osgPlugins/geo/geoVersion.h, - src/osgPlugins/geo/osgGeoStructs.h: From Geoff Michel, geo plugin - updated to for latest updates in .geo format. +Wed, 17 Jun 2009 15:12:50 +0000 +Checked in by : Robert Osfield +Made method names consistent with each other -2005-11-12 13:38 robert +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. - * VisualStudio/osgPlugins/osgParticle/dot_osgParticle.dsp, - src/osgPlugins/osgParticle/GNUmakefile, - src/osgPlugins/osgParticle/IO_ConnectedParticleSystem.cpp: Added - support for ConnectedParticleSystem. +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 -2005-11-12 13:27 robert +3 - I have updated the openscenegraph-osgAnimation.pc.in file accordingly." - * VisualStudio/osgPlugins/osgParticle/dot_osgParticle.dsp, - src/osgPlugins/osgParticle/GNUmakefile, - src/osgPlugins/osgParticle/IO_SmokeTrailEffect.cpp: Added .osg - support for osgParticle::SmokeTrailEffect -2005-11-11 19:29 robert - * ChangeLog: Updated ChangeLog +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. -2005-11-11 17:00 robert +Wed, 17 Jun 2009 08:56:11 +0000 +Checked in by : Robert Osfield +Fixed error in DisplaySettings::setNumOfHttpDatabaseThreadsHint - * include/osgProducer/ViewerEventHandler, - include/osgUtil/SceneView, - src/osgProducer/ViewerEventHandler.cpp, - src/osgUtil/SceneView.cpp, - src/osgWrappers/osgProducer/ViewerEventHandler.cpp, - src/osgWrappers/osgUtil/SceneView.cpp: Added scene stats support - to osgProducer::ViewerEventHandler. +Tue, 16 Jun 2009 13:02:33 +0000 +Checked in by : Robert Osfield +Updated wrappers -2005-11-11 14:22 robert +Tue, 16 Jun 2009 12:32:02 +0000 +Checked in by : Cedric Pinson +From Cedric Pinson, Fix osgAnimation warning and errors - * include/osgGA/StateSetManipulator, - src/osgGA/StateSetManipulator.cpp, - src/osgWrappers/osgGA/StateSetManipulator.cpp: Added - s/getMaxNumOfTextureUnits control to osgGA::StateSetManipulator, - and set the default to 4. +Tue, 16 Jun 2009 12:22:36 +0000 +Checked in by : Cedric Pinson +From Cedric Pinson, Fix osgAnimation warning and errors for Bone.cpp -2005-11-11 12:45 robert +Tue, 16 Jun 2009 10:20:41 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project - * VisualStudio/examples/osgcluster/osgcluster.dsp, - examples/osgmovie/osgmovie.cpp, src/osgPlugins/dxf/scene.h, - src/osgPlugins/hdr/hdrloader.cpp: Fixes for VS6.0 build. +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 -2005-11-11 08:45 robert +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 - * Make/makedefs: From Markus Trenkwalder, fix for Mingw build +Fri, 12 Jun 2009 10:37:42 +0000 +Checked in by : Robert Osfield +Updated wrappers -2005-11-10 20:56 robert +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. - * include/osgIntrospection/ReflectionMacros: From Marco Jez, - compile for a syntax error problem. +Based on rev 10332." -2005-11-10 20:20 robert - * VisualStudio/applications/osgviewer/osgviewer.dsp, - VisualStudio/examples/osgGLUTkeyboardmouse/osgGLUTkeyboardmouse.dsp, - VisualStudio/examples/osgGLUTsimple/osgGLUTsimple.dsp, - VisualStudio/examples/osgdepthshadow/osgdepthshadow.dsp, - VisualStudio/examples/osghangglide/osghangglide.dsp, - VisualStudio/examples/osgkeyboardmouse/osgkeyboardmouse.dsp, - VisualStudio/examples/osgparticle/osgparticledemo.dsp, - VisualStudio/examples/osgsimple/osgsimple.dsp, - VisualStudio/examples/osgsimplepager/osgsimplepager.dsp, - VisualStudio/examples/osgteapot/osgteapot.dsp, - VisualStudio/examples/osgtexture1D/osgtexture1D.dsp, - VisualStudio/osgPlugins/flt/flt.dsp, - VisualStudio/osgPlugins/geo/geo.dsp, - VisualStudio/osgPlugins/logo/logo.dsp, - VisualStudio/osgPlugins/osgParticle/dot_osgParticle.dsp, - VisualStudio/osgPlugins/osgSim/dot_osgSim.dsp, - VisualStudio/osgPlugins/txp/txp.dsp: Added /Zm200 to loads of - project to try and salavage something from VS6.0 being such a bog - awful compiler. -2005-11-10 20:04 robert +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. - * examples/osgblendequation/osgblendequation.cpp, - examples/osglogicop/osglogicop.cpp: Fixes for VS6.0 +These changes don't affect the normal osgViewer usage pattern." -2005-11-10 19:32 robert - * examples/osgmovie/osgmovie.cpp, - examples/osgparametric/osgparametric.cpp, - src/osgPlugins/dxf/scene.h, src/osgPlugins/flt/flt2osg.cpp: Fixes - for dumb VS6.0 compiler -2005-11-10 19:16 robert +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." - * examples/osgdepthpartition/DepthPartitionNode.cpp, - examples/osgdepthpartition/DepthPartitionNode.h: Fixes for VS6.0 +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!" -2005-11-10 17:24 robert +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 - * VisualStudio/osgPlugins/osg/dot_osg.dsp, - examples/osgcluster/osgcluster.cpp, src/osgTerrain/DataSet.cpp: - Compile fixes for VS6.0. +Fri, 12 Jun 2009 09:11:37 +0000 +Checked in by : Robert Osfield +Updated ChangeLog -2005-11-10 16:47 robert +Thu, 11 Jun 2009 15:13:04 +0000 +Checked in by : Robert Osfield +Fixed copy constructor - * Make/makedefs: From Markus Trenkwalder, added freetype-config - support to Mingw section. +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. -2005-11-10 15:52 robert +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). - * runexamples.bat: Added osgshaderterrain and osgparametric to - runexamples.bat +This is a convient solution to limit the freezing effect one may face in case the targeted server is down or too slow. -2005-11-10 15:27 robert +I successfully compiled and used this updated version on Windows in my application. - * src/osgWrappers/osg/GraphicsThread.cpp: Updated wrappers +And by default those settings are not set (so no change in the behavior if you don't need them). +" -2005-11-10 15:25 robert - * examples/osgcamera/osgcamera.cpp, include/osg/GraphicsThread, - src/osg/GraphicsThread.cpp: Added better control for cancel - GraphicsThreads. -2005-11-10 14:41 robert +Tue, 9 Jun 2009 08:43:13 +0000 +Checked in by : Robert Osfield +From Gustav Happalahti, fixed filename usage - * VisualStudio/OpenSceneGraph.dsw: Ran unix2dos on - OpenSceneGraph.dsw +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. -2005-11-10 11:56 robert +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. +" - * include/osgProducer/Viewer, src/osgProducer/Viewer.cpp, - src/osgWrappers/osgProducer/Viewer.cpp: Fixed typo of - CoordinateSystem. +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." -2005-11-10 11:39 robert - * include/osgProducer/OsgSceneHandler, - src/osgProducer/OsgCameraGroup.cpp, - src/osgProducer/OsgSceneHandler.cpp, - src/osgWrappers/osgProducer/OsgSceneHandler.cpp: 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. +Changes to the above done by Robert Osfield, -2005-11-10 10:29 robert + 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. - * src/osgUtil/DelaunayTriangulator.cpp: Added checks against the - values returned from dynamic_cast<>'s. -2005-11-10 09:42 robert - * ChangeLog, examples/osgvolume/osgvolume.cpp, - include/osgUtil/SceneView, src/osg/LOD.cpp, - src/osgPlugins/dxf/dxfReader.h, src/osgPlugins/geo/osgGeoNodes.h: - Compile fixes for VS7.1 -2005-11-09 22:09 don - * README.txt: small change to test osg-cvs.... +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) -2005-11-09 22:07 don +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. - * README.txt: Small modification to change 2004 to 2005 in - README.txt (this is mostly - a test of osg-cvs) +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!" -2005-11-09 20:30 robert - * src/osgWrappers/osgTerrain/DataSet.cpp: Updated wrappers -2005-11-09 20:26 robert - * examples/osgsimulation/osgsimulation.cpp: 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, 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." -2005-11-09 20:24 robert +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 - * include/osgTerrain/DataSet, src/osgTerrain/DataSet.cpp: Added a - s/getState() to osgTerrain::DataSet to allow better integration - with applications. +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. -2005-11-09 17:20 robert +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 - * applications/osgdem/osgdem.cpp: Added some docs on command line - options. +Mon, 8 Jun 2009 12:44:23 +0000 +Checked in by : Robert Osfield +Fixed doc message -2005-11-09 17:19 robert +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." - * src/osg/ApplicationUsage.cpp: Added writing of commandline - options in getFormatedString when there is no description string. +Mon, 8 Jun 2009 10:54:16 +0000 +Checked in by : Robert Osfield +Fixed warning -2005-11-09 17:08 robert +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. - * examples/osglightpoint/osglightpoint.cpp: Moved the blink - sequence light points down so they are visible in the default - camera position. +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. -2005-11-09 17:06 robert - * examples/osgautotransform/osgautotransform.cpp: Changed the - NO_ROTATION label so it is aligned with the XZ plane to make it - easier to see. -2005-11-09 15:27 robert +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. - * NEWS.txt: Quick updates to NEWS. +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 -2005-11-09 15:19 robert +Fri, 5 Jun 2009 10:42:53 +0000 +Checked in by : Robert Osfield +Fixed warning - * ChangeLog: Updated ChangeLog +Thu, 4 Jun 2009 14:37:02 +0000 +Checked in by : Robert Osfield +Updated wrappers -2005-11-09 15:14 robert +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 - * src/osgWrappers/osg/AnimationPath.cpp: Updated wrappers. +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 -2005-11-09 15:11 robert +Tue, 2 Jun 2009 16:54:34 +0000 +Checked in by : Robert Osfield +Implemented DatabasePath in DatabaseBase revision classes - * examples/osgclip/osgclip.cpp, - examples/osgdepthshadow/osgdepthshadow.cpp, - examples/osgdistortion/osgdistortion.cpp, - examples/osglauncher/osglauncher.cpp, - examples/osglogo/osglogo.cpp, examples/osgpbuffer/osgpbuffer.cpp, - examples/osgprerender/osgprerender.cpp, - examples/osgprerendercubemap/osgprerendercubemap.cpp, - examples/osgreflect/osgreflect.cpp, - examples/osgscalarbar/osgscalarbar.cpp, - include/osg/AnimationPath, include/osgUtil/TransformCallback, - src/osg/AnimationPath.cpp: 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. +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. -2005-11-09 13:39 robert +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. - * runexamples.bat: Updated the runexamples.bat to include - glsl_mandelbrot.osg and glsl_julia.osg references +Mon, 1 Jun 2009 11:22:42 +0000 +Checked in by : Robert Osfield +From Wojciech Lewandowski, Fixed handling of empty Program. -2005-11-09 13:39 robert +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." - * examples/osgsimulation/osgsimulation.cpp: Reduced the size of the - "oversized" cessna.osg +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")." -2005-11-09 13:26 robert +Sat, 30 May 2009 07:39:59 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgProducer/Viewer.cpp: Added a test of isRealized to - requestWrapPointer to prevent a deadlock condition occur when a - wap pointer is done before a window is realized. +Fri, 29 May 2009 18:24:47 +0000 +Checked in by : Robert Osfield +Added revisions plugin in support of paged database revisions. -2005-11-09 13:18 robert +Fri, 29 May 2009 09:39:17 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project - * examples/osgdelaunay/osgdelaunay.cpp: Update texture file names - to reflect new files in OpenSceneGraph-Data distribution. +Fri, 29 May 2009 08:46:58 +0000 +Checked in by : Robert Osfield +Updated wrappers -2005-11-09 11:59 robert +Fri, 29 May 2009 08:24:52 +0000 +Checked in by : Robert Osfield +Ran dos2unx of files - * VisualStudio/OpenSceneGraph.dsw, VisualStudio/osgPlugins/dxf, - VisualStudio/osgPlugins/dxf/dxf.dsp: Added dxf VS6.0 project +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 -2005-11-09 10:49 robert +Thu, 28 May 2009 16:46:11 +0000 +Checked in by : Robert Osfield +Fixed warning - * include/osg/Version, include/osgDB/Version, - include/osgGA/Version, include/osgParticle/Version, - include/osgProducer/Version, include/osgSim/Version, - include/osgTerrain/Version, include/osgText/Version, - include/osgUtil/Version, src/osg/Version.cpp, - src/osgDB/Version.cpp, src/osgGA/Version.cpp, - src/osgParticle/Version.cpp, src/osgProducer/Version.cpp, - src/osgSim/Version.cpp, src/osgTerrain/Version.cpp, - src/osgText/Version.cpp, src/osgUtil/Version.cpp: Bumped the - version numbers up to 1.0 in preparation for 1.0-rc1. +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." -2005-11-09 10:41 robert +Thu, 28 May 2009 14:12:03 +0000 +Checked in by : Robert Osfield +Fixed unitialized variable - * examples/osgdelaunay/osgdelaunay.cpp, src/osg/Texture.cpp, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp: Fixed warnings. +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." -2005-11-09 10:37 robert +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." - * examples/osgdepthpartition/DepthPartitionNode.cpp: Fixed compile - warning. +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 -2005-11-09 09:30 robert +Thu, 28 May 2009 13:26:06 +0000 +Checked in by : Robert Osfield +Fixed warnings - * src/osgPlugins/logo/ReaderWriterLOGO.cpp: Updated the bin number - to be 100 for the logo overlay to force it to draw later. +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. -2005-11-08 16:41 robert +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. - * src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/Texture.cpp: - Added .ive support for osg::Texture SourceFormat and SourceType +local_opt->setPluginStrData("zipextract","filesystem"); -2005-11-08 16:22 robert - * src/osgPlugins/osg/Texture.cpp: Added support for SourceType and - SourceFormat to .osg. +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." -2005-11-08 16:02 robert - * src/osgWrappers/osg/Texture.cpp: Updated wrappers. -2005-11-08 15:52 robert +Thu, 28 May 2009 08:25:18 +0000 +Checked in by : Robert Osfield +Updated wrappers - * examples/osgprerender/osgprerender.cpp, include/osg/Texture, - src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2D.cpp, src/osg/Texture3D.cpp, - src/osg/TextureCubeMap.cpp, src/osg/TextureRectangle.cpp: 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. +Wed, 27 May 2009 13:02:01 +0000 +Checked in by : Robert Osfield +Renamed application osgvirtualprogram to osgshadercompostior to better reflect it function -2005-11-08 14:03 robert +Wed, 27 May 2009 13:00:58 +0000 +Checked in by : Robert Osfield +Renamed osgvirtualprogram to osgshadercompositor to better reflect it's function - * src/osgWrappers/osgFX/GNUmakefile, - src/osgWrappers/osgGA/GNUmakefile, - src/osgWrappers/osgParticle/GNUmakefile, - src/osgWrappers/osgProducer/GNUmakefile, - src/osgWrappers/osgSim/GNUmakefile, - src/osgWrappers/osgTerrain/GNUmakefile, - src/osgWrappers/osgText/GNUmakefile, - src/osgWrappers/osgUtil/RenderStage.cpp: Updated wrappers +Wed, 27 May 2009 12:11:41 +0000 +Checked in by : Robert Osfield +Fixed glStencilMask setting. -2005-11-08 13:51 robert +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. - * src/osg/Image.cpp, src/osgDB/WriteFile.cpp, - src/osgPlugins/ive/ReaderWriterIVE.cpp: From Colin McDonald, - fixed image size calculation in - getTotalSizeInBytesIncludingMipmaps(), - added checks on success of opening files for writing in the .ive - plugin. +Wed, 27 May 2009 09:45:46 +0000 +Checked in by : Robert Osfield +Fixed warning -2005-11-08 11:46 robert +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." - * include/osgUtil/RenderBin, include/osgUtil/RenderLeaf, - include/osgUtil/RenderStage, src/osgUtil/RenderBin.cpp, - src/osgUtil/RenderLeaf.cpp, src/osgUtil/RenderStage.cpp, - src/osgUtil/SceneView.cpp: 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. +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." -2005-11-08 09:36 robert +Tue, 26 May 2009 10:10:11 +0000 +Checked in by : Robert Osfield +Fixed warnings - * src/osgUtil/SceneView.cpp: Changed the occluder traversal so that - checks the children of the SceneView's Cameara - rather than starting at the camera itself. +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. -2005-11-07 16:52 robert +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. - * VisualStudio/OpenSceneGraph.dsw, VisualStudio/VisualStudio.dsw: - Renamed VisualStudio.dsw to OpenSceneGraph.dsw - -2005-11-07 16:48 robert - - * src/osgProducer/Viewer.cpp: Improved the handling of CameraNode - and viewers with projection matrices - contained NaN's. - -2005-11-07 15:46 robert +Mon, 25 May 2009 12:07:34 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osg/ApplicationUsage.cpp: From Bob Kuehne, proper c++ cast - instead of c-cast for ApplicationUsage +Mon, 25 May 2009 12:04:29 +0000 +Checked in by : Robert Osfield +Changed Status enums to ActionStatus and TimelineStatus to avoid X11 problems -2005-11-07 15:43 robert +Mon, 25 May 2009 11:16:54 +0000 +Checked in by : Robert Osfield +Added initializer of ParticleSystemUpdater::_frameNumber - * src/osgProducer/Viewer.cpp: From Steve Lunsford, added psuedo - event dispatch to init within selectCameraManipulator - to force the new minpulator to update correctly. +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. " -2005-11-07 14:42 robert +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. - * src/osgPlugins/obj/ReaderWriterOBJ.cpp: 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. +I had to move the file scope g_NullStream & g_NotifyStream initialisation +into a function to get them to work. -2005-11-07 13:54 robert +Also there was a missing osg:: qualifier on getNotifyHandler." - * src/osgProducer/GraphicsContextImplementation.cpp: From Marco - Jez, Added an unregister of the GraphicsContextImplement on - unload. -2005-11-07 12:41 robert - * src/osgPlugins/osg/StateSet.cpp: From David Spilling, fix for - typo of OVERRIDE. +Fri, 22 May 2009 08:31:58 +0000 +Checked in by : Robert Osfield +From Alberto Luacas, added new pkg-cofig files -2005-11-07 11:14 robert +Fri, 22 May 2009 07:52:25 +0000 +Checked in by : Robert Osfield +From Alberto Luacas, separate pkg-config .pc files - * src/osg/ApplicationUsage.cpp, src/osgPlugins/osg/CameraNode.cpp, - src/osgPlugins/quicktime/MovieData.h, - src/osgPlugins/quicktime/QTUtils.cpp, - src/osgPlugins/quicktime/QTUtils.h, - src/osgPlugins/quicktime/ReaderWriterQT.cpp: From Gideon May, - compile fixes for OSX. +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. -2005-11-07 11:09 robert +Thu, 21 May 2009 08:37:04 +0000 +Checked in by : Robert Osfield +Added a default value to avoid warning - * src/osgDB/Registry.cpp: From Norman Vine, "Cygwin uses unix style - path separators" +Wed, 20 May 2009 12:14:45 +0000 +Checked in by : Robert Osfield +Fixed warnings -2005-11-07 11:05 robert +Wed, 20 May 2009 12:06:57 +0000 +Checked in by : Robert Osfield +Fixed warnings - * include/osgText/Font, src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h, - src/osgPlugins/freetype/FreeTypeLibrary.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.h, - src/osgPlugins/freetype/ReaderWriterFreeType.cpp, - src/osgText/Font.cpp: 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." +Wed, 20 May 2009 11:14:27 +0000 +Checked in by : Robert Osfield +Updated wrappers -2005-11-07 10:29 robert +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 - * examples/osgsimplifier/osgsimplifier.cpp: From Ruben (with a few - addition/changes from Robert), fixed the commandline of the - osgsimplifier example. It now reads - --ratio and --max-error. - - --------------------------------------------------- +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. -2005-11-04 19:00 robert +Tue, 19 May 2009 16:12:27 +0000 +Checked in by : Stephan Maximilian HUBER +updated XCode-project - * src/osgUtil/RenderStage.cpp: Added extra debugging checks on - FBO's +Tue, 19 May 2009 15:11:49 +0000 +Checked in by : Robert Osfield +Fixed typo -2005-11-04 12:08 robert +Tue, 19 May 2009 15:10:41 +0000 +Checked in by : Robert Osfield +Updated wrappers - * include/osg/Texture1D, include/osg/Texture3D, - include/osg/TextureCubeMap, include/osg/TextureRectangle, - src/osg/CameraNode.cpp, src/osg/TextureCubeMap.cpp, - src/osg/TextureRectangle.cpp, - src/osgPlugins/ive/TextureCubeMap.cpp, - src/osgUtil/RenderStage.cpp, src/osgWrappers/osg/Texture1D.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/TextureCubeMap.cpp, - src/osgWrappers/osg/TextureRectangle.cpp: Improved support for - texture subload/render to texture in various Texture classes - and RenderStage. +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." -2005-11-03 21:35 robert +Tue, 19 May 2009 12:25:54 +0000 +Checked in by : Robert Osfield +Attempt to fix Cygwin build failure - * src/osgPlugins/osg/CameraNode.cpp: Improvements to CameraNode IO - support, now handles render to texture. +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 -2005-11-03 19:20 robert +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." - * src/osgPlugins/ive/CameraNode.cpp: Changed the CameraNode - read/write code to use Transform as its parent. +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. " -2005-11-03 17:12 robert +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 - * src/osgPlugins/osg/Matrix.cpp: Removed debugging message +Tue, 19 May 2009 10:35:50 +0000 +Checked in by : Stephan Maximilian HUBER +updated XCode-project -2005-11-03 17:08 robert +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). - * src/osgPlugins/osg/CameraNode.cpp, src/osgPlugins/osg/Matrix.cpp: - Further work on osg::CameraNode support. +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 -2005-11-03 15:59 robert +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" - * include/osg/CameraNode, src/osgPlugins/ive/CameraNode.cpp, - src/osgPlugins/osg/CameraNode.cpp, - src/osgWrappers/osg/CameraNode.cpp: Further work on added IO - support from CameraNode. -2005-11-03 12:25 robert - * src/osgPlugins/ive/CameraView.cpp, - src/osgPlugins/osg/CameraView.cpp: Completed osg::CameraView - support in .osg and .ive formats. +Mon, 18 May 2009 13:01:25 +0000 +Checked in by : Robert Osfield +Quietened down debug messages -2005-11-03 10:59 robert +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." - * src/osg/Texture.cpp: Added env var docs on OSG_MAX_TEXTURE_SIZE -2005-11-03 10:57 robert - * applications/osgconv/osgconv.cpp: Added --help-env option. +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). -2005-11-03 10:18 robert +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. - * src/osgWrappers/osg/ApplicationUsage.cpp: Updated wrappers +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())" -2005-11-03 10:16 robert - * VisualStudio/osgPlugins/ive/ive.dsp, - examples/osgdelaunay/osgdelaunay.cpp, - src/osgPlugins/ive/CameraNode.cpp, - src/osgPlugins/ive/CameraNode.h, - src/osgPlugins/ive/CameraView.cpp, - src/osgPlugins/ive/CameraView.h, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/ive/ReadWrite.h: - Added initial CameraNode and CameraView stups for the .ive loader -2005-11-03 10:01 robert - * include/osg/ApplicationUsage, src/osg/ApplicationUsage.cpp: From - Eric Sokolowsky, added writeEnvironmentSettings to help report - what OSG - centric environment variables are used. +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: -2005-11-03 09:03 robert +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; - * src/osgPlugins/osg/CameraNode.cpp, - src/osgPlugins/osg/CameraView.cpp: Added CameraNode.cpp and - CameraView.cpp + SWIG reports errors on the latter construct. + Also makes it consistent with BoundingBox. -2005-11-02 19:52 robert - * VisualStudio/osgPlugins/osg/dot_osg.dsp, - src/osgPlugins/osg/GNUmakefile, src/osgPlugins/osg/Matrix.cpp, - src/osgPlugins/osg/Matrix.h: Inital work on adding .osg support - for CameraNode and CameraView. +osg/Vec4ub: + Consistent use of "value_type" throughout the file. -2005-11-02 19:35 robert - * src/osgWrappers/osg/DisplaySettings.cpp: Updated wrappers. +osg/Vec?b: + Consistent use of "value_type" throughout the files. -2005-11-02 19:15 robert + Also changed + typedef char value_type; + to + typedef signed char value_type; - * examples/osgmotionblur/osgmotionblur.cpp: Added request for - accumulator buffer. + 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. +" -2005-11-02 19:15 robert - * include/osg/DisplaySettings, src/osg/DisplaySettings.cpp, - src/osgProducer/OsgCameraGroup.cpp: Added support in - DisplaySettings and OscCameraGroup for requesting accumulator - buffer. -2005-11-02 16:20 robert +Mon, 18 May 2009 10:28:14 +0000 +Checked in by : Robert Osfield +Minor tweaks to avoid warnings when generating wrappers/doxygen documentation - * src/osgPlugins/gdal/ReaderWriterGDAL.cpp: From Alan Ott, added - support for palletted imagery. +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 -2005-11-02 15:56 robert +Mon, 18 May 2009 09:34:17 +0000 +Checked in by : Robert Osfield +Updated wrappers - * examples/osgprerendercubemap/osgprerendercubemap.cpp: From Brede - Johnasen, changed wrap mode to CLAMP_TO_EDGE to avoid edges being - seen when zoomed into the reflectio map. +Fri, 15 May 2009 15:49:10 +0000 +Checked in by : Robert Osfield +From Jean-Sebastien Guay, build fixes form Windows -2005-11-02 15:23 robert +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 - * examples/osgpick/osgpick.cpp, src/osgProducer/Viewer.cpp: 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. +Fri, 15 May 2009 12:31:23 +0000 +Checked in by : Robert Osfield +Removed debugging code block -2005-11-02 14:24 robert +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. - * examples/osgdepthshadow/osgdepthshadow.cpp, - examples/osgparametric/osgparametric.cpp: From Marco Jez, added - Image/ path to image files to help find them from the - OpenSceneGraph-Data directory. -2005-11-02 14:22 robert - * examples/osgmultiplecameras/osgmultiplecameras.cpp: 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. +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?" -2005-11-02 12:22 robert - * src/osgText/Text.cpp: 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-02 11:55 robert +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. - * include/osgUtil/RenderStage: Fixed setCameraRequiresSetUp so it - properly uses the bool passed to it. +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. +" -2005-11-02 11:33 robert - * include/osg/NodeTrackerCallback: Added doc comment and removed - redundent inline keyword -2005-11-02 10:57 robert +Thu, 14 May 2009 16:06:34 +0000 +Checked in by : Robert Osfield +Added setting of full filename to options as "filename" entry. - * include/osgText/Font, src/osgText/Font.cpp: 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." +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. +" -2005-11-02 10:55 robert - * src/osgProducer/GraphicsContextImplementation.cpp: From Marco - Jez, commented out debuggin message. -2005-11-02 10:49 robert +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: - * include/osg/Matrixf: Added static orthoNormal function to match - equivilant in Matrixd ++ 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 -2005-11-02 10:45 robert ++ missing menu-event-handling implemented - * include/osg/Matrixd: From Colin McDonald, "Fix for missing class - name qualifier on the orthoNormal function." ++ added NSAutoReleasePools where necessary, this fixes some memory-leaks ++ fixed some crashes and thread-issues" -2005-11-02 10:29 robert - * src/osg/FrameBufferObject.cpp, - src/osgPlugins/flt/GroupRecord.cpp, - src/osgPlugins/flt/ObjectRecord.cpp, - src/osgPlugins/flt/SwitchRecord.cpp, - src/osgPlugins/osgSim/IO_MultiSwitch.cpp, - src/osgPlugins/rot/ReaderWriterROT.cpp, - src/osgPlugins/scale/ReaderWriterSCALE.cpp, - src/osgPlugins/trans/ReaderWriterTRANS.cpp: From Colin McDonald, - "Fixes for some duplicate global symbol definitions in the - plugins, - which cause errors when creating a statically linked executable." -2005-11-02 10:29 robert +Thu, 14 May 2009 13:40:02 +0000 +Checked in by : Robert Osfield +Integrated support for relative paths, and http hosted presentations - * include/osg/CameraNode: Fixed compile warning +Thu, 14 May 2009 13:30:25 +0000 +Checked in by : Robert Osfield +Replaced tabs with spaces -2005-11-01 20:16 robert +Thu, 14 May 2009 13:16:05 +0000 +Checked in by : Robert Osfield +Changed tabs to spaces - * src/osg/State.cpp: Changed the error number reporting to be - reported as hex. +Thu, 14 May 2009 13:10:18 +0000 +Checked in by : Robert Osfield +Changed debug message to INFO notication level -2005-11-01 19:32 robert +Thu, 14 May 2009 13:05:32 +0000 +Checked in by : Robert Osfield +Added support for read the various animaton materials/paths from http - * examples/osgprerender/osgprerender.cpp: Added an image negation - callback to the render to image. Added commandline docs - for the new --image and --texture-rectangle options. +Thu, 14 May 2009 09:44:55 +0000 +Checked in by : Robert Osfield +Updated wrappers -2005-11-01 19:31 robert +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. - * src/osgUtil/RenderStage.cpp: Removed the double call to the - camera post draw callback. +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. -2005-11-01 17:07 robert +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 - * examples/osgprerender/osgprerender.cpp: Added usage of image copy - and modification. +Wed, 13 May 2009 19:44:27 +0000 +Checked in by : Robert Osfield +Added support for Object, Image, HeightField and Shaders in FileCache -2005-11-01 15:39 robert +Wed, 13 May 2009 15:05:23 +0000 +Checked in by : Robert Osfield +Fixed handling of space after = in options set up. - * src/osgUtil/RenderStage.cpp: Set the draw and read buffer to - GL_NONE when using FBO's, thereby avoid - invalid enumrates being generated. +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. -2005-11-01 15:23 robert +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." - * src/osg/FrameBufferObject.cpp, src/osgUtil/RenderStage.cpp: - Improved handling of osg::Image copying. -2005-11-01 11:18 robert - * src/osg/State.cpp: From Brad Colbert, Added checking for a NULL - return string rom gluErrorString (with slight reformating of this - by Robert Osfield.) +Tue, 12 May 2009 16:26:07 +0000 +Checked in by : Robert Osfield +Removed SDL header -2005-11-01 11:00 robert +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. - * src/osgWrappers/osg/CameraNode.cpp: Updated wrappers +Tue, 12 May 2009 12:27:54 +0000 +Checked in by : Robert Osfield +Attempt to fix OSX missing _main symbol error -2005-11-01 10:42 robert +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 - * include/osg/CameraNode, src/osg/CameraNode.cpp, - src/osgSim/Impostor.cpp, src/osgUtil/RenderStage.cpp: Added - RenderTargetFallback option into osg::CameraNode. +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. -2005-10-31 16:40 robert +Tue, 12 May 2009 08:56:45 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project to reflect current trunk - * src/osgPlugins/txp/TXPNode.cpp: 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." +Tue, 12 May 2009 05:58:31 +0000 +Checked in by : Robert Osfield +Added return to end of file to prevent warning -2005-10-31 14:48 robert +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 - * src/osgProducer/OsgCameraGroup.cpp: Added default setting of - _threading_model to ThreadPerCamera when multiple cameras - are present, and SingleThreaded when a single camera is being - used. +Mon, 11 May 2009 16:38:59 +0000 +Checked in by : Robert Osfield +Updated wrappers -2005-10-31 11:43 robert +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. - * src/osgSim/LightPointNode.cpp: 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, 11 May 2009 14:11:35 +0000 +Checked in by : Robert Osfield +Commented out debug messages -2005-10-29 11:29 robert +Mon, 11 May 2009 13:03:20 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project to reflect current trunk - * src/osgWrappers/osgUtil/SceneView.cpp: Updated wrappers. +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. -2005-10-29 10:04 robert +Introduced support for assigning ReaderWriter::Options directory to PagedLOD. - * src/osg/Texture.cpp: Added catch for NULL return from - glGetString( GL_VERSION ); +Introduced new osgDB::FileLocationCallback for assistancing the DatabasePager to know when a file is hosted on a local or remote file system. -2005-10-29 09:52 robert - * src/osgWrappers/osg/BlendEquation.cpp, - src/osgWrappers/osgUtil/SceneView.cpp: Updated wrappers. -2005-10-28 18:39 robert - * src/osgDB/Registry.cpp: 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). +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 -2005-10-28 18:37 robert +Sat, 9 May 2009 08:54:38 +0000 +Checked in by : Robert Osfield +Moved Options copy constructor to .cpp - * src/osgProducer/OsgCameraGroup.cpp: Fixed env var docs for - sharing graphics contexts. +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. -2005-10-28 14:02 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 - * examples/osgblendequation/osgblendequation.cpp: Added warning - message for when no file is loaded. -2005-10-28 13:18 robert - * include/osg/BlendEquation, src/osg/BlendEquation.cpp: 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." -2005-10-28 13:11 robert +Fri, 8 May 2009 12:53:11 +0000 +Checked in by : Robert Osfield +Removed redudent check against frustum.getCurrentMask() - * examples/osgcamera/osgcamera.cpp, include/osgUtil/SceneView, - src/osgUtil/SceneView.cpp: 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. +Fri, 8 May 2009 12:38:05 +0000 +Checked in by : Robert Osfield +Changed 0 initializer to InheritCursor -2005-10-28 10:33 robert +Fri, 8 May 2009 12:34:06 +0000 +Checked in by : Robert Osfield +Added osgGA and osgText to dependency list - * src/osgTerrain/DataSet.cpp: Changed debug message from NOTICE to - INFO level of notification +Fri, 8 May 2009 12:32:00 +0000 +Checked in by : Robert Osfield +Added osgText dependency -2005-10-28 10:11 robert +Fri, 8 May 2009 09:29:40 +0000 +Checked in by : Robert Osfield +Cleaned up set up of SDL. - * examples/osganimate/osganimate.cpp: Added command line option - --overlay to turn on the use of an OverlayNode. +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. -2005-10-28 09:20 robert - * src/osgWrappers/osg/CameraView.cpp, - src/osgWrappers/osgTerrain/DataSet.cpp: Updated wrappers. -2005-10-28 08:35 robert - * examples/osgshaderterrain/osgshaderterrain.cpp: From Mike - Weiblen, added check to make sure that vertex texture was - supported in the OpenGL driver. +Fri, 8 May 2009 07:50:09 +0000 +Checked in by : Robert Osfield +Fixed unitialized variable -2005-10-27 13:53 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. - * examples/osgdepthpartition/GNUmakefile, - examples/osgdepthpartition/GNUmakefile.inst, - examples/osgdepthpartition/osgdepthpartition.cpp: Added option to - osgdepthpartion for loading the model specified on the - commandline. +Thu, 7 May 2009 18:32:36 +0000 +Checked in by : Robert Osfield +Moved property code from ImageLayer into Layer where it belongs -2005-10-27 11:15 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. - * include/osgUtil/IntersectVisitor: Added documentation line about - 32 being the maximum permitted number of line segmenets +Thu, 7 May 2009 14:53:21 +0000 +Checked in by : Robert Osfield +Fixed handling of resize of ABSOLUTE_RF slave cameras -2005-10-27 11:11 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 : - * src/osgUtil/IntersectVisitor.cpp: Added error message to report - when too many line segments are added to an IntersectVisitor. +- 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." -2005-10-27 10:48 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" - * applications/osgdem/osgdem.cpp, include/osgTerrain/DataSet, - src/osgTerrain/DataSet.cpp: Added support for tracking the - directory of the output file whilst still maintaining - local file references within this directory. -2005-10-27 09:38 robert - * examples/osgdepthpartition/DepthPartitionNode.cpp, - examples/osgdepthpartition/DepthPartitionNode.h, - examples/osgdepthpartition/DistanceAccumulator.cpp, - examples/osgdepthpartition/DistanceAccumulator.h: 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." -2005-10-27 09:37 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. +" - * examples/osgdelaunay/osgdelaunay.cpp: From Geoff Michel, update - to osgdelaunday. -2005-10-26 20:30 robert - * include/osgDB/Output: From Don Tidrow, bug fix to - setOutputTextureFiles(bool). +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 ..." -2005-10-26 20:22 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. - * include/osgUtil/TangentSpaceGenerator: Added friend declarations - of nested classes to prevent compile problems under VS6.0 +//------------- 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()); + } +} +" -2005-10-26 20:00 robert - * src/osgTerrain/DataSet.cpp: 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. -2005-10-26 16:02 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. - * include/osg/CameraView: From Bob Kuehne, "changed two set methods - (setFocalLength,setFieldOfView) to perform - assignment." +Thu, 7 May 2009 09:40:43 +0000 +Checked in by : Robert Osfield +Fixed typo of POPPLER_LIBRARY_DIRS -2005-10-26 09:22 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 - * include/osg/CullingSet, include/osg/PrimitiveSet, - include/osgProducer/GraphicsContextImplementation, - include/osgText/String, - src/osgProducer/GraphicsContextImplementation.cpp, - src/osgUtil/DelaunayTriangulator.cpp: From Geoff Michel, compile - fixes for VS6.0 +Thu, 7 May 2009 09:07:34 +0000 +Checked in by : Robert Osfield +Added support for osgVolume::TransferFunctionProperty -2005-10-25 18:34 robert +Wed, 6 May 2009 13:47:08 +0000 +Checked in by : Robert Osfield +Added .ive reading/writing support for osgVolume::Property classes - * src/osgWrappers/osg/DisplaySettings.cpp, - src/osgWrappers/osgUtil/SceneView.cpp: Updated wrappers +Tue, 5 May 2009 18:34:44 +0000 +Checked in by : Robert Osfield +Added initial cut at support for osgVolume in .ive format. -2005-10-25 15:49 robert +Tue, 5 May 2009 12:46:06 +0000 +Checked in by : Robert Osfield +Changed debug message from NOTICE to INFO - * src/osg/DisplaySettings.cpp: Added command line support for the - interlaced stereo modes. +Tue, 5 May 2009 12:18:24 +0000 +Checked in by : Robert Osfield +Fixed support for reading imagery relative to the .osg being loaded -2005-10-25 15:43 robert +Tue, 5 May 2009 11:05:17 +0000 +Checked in by : Robert Osfield +Added checks to prevent crash when no imagery is applied - * include/osg/DisplaySettings, include/osgUtil/SceneView, - src/osg/DisplaySettings.cpp, src/osgProducer/OsgCameraGroup.cpp, - src/osgUtil/SceneView.cpp: From Farshid Lashkari & Robert - Osfield: Added support for VERTICAL_INTERLACE and - HORIZONTAL_INTERLACE - stereo modes use the stencil buffer. +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 -2005-10-25 14:01 robert +Tue, 5 May 2009 10:27:59 +0000 +Checked in by : Robert Osfield +Added selection of first slide - * src/osgWrappers/osgUtil/DelaunayTriangulator.cpp, - src/osgWrappers/osgUtil/SceneView.cpp: Updated wrappers. +Sun, 3 May 2009 18:51:13 +0000 +Checked in by : Robert Osfield +Warning fixes -2005-10-25 13:28 robert +Sat, 2 May 2009 07:50:37 +0000 +Checked in by : Robert Osfield +Warning fixes - * Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgdelaunay, - VisualStudio/examples/osgdelaunay/osgdelaunay.dsp, - examples/osgdelaunay, examples/osgdelaunay/GNUmakefile, - examples/osgdelaunay/GNUmakefile.inst, - examples/osgdelaunay/osgdelaunay.cpp, - include/osgUtil/DelaunayTriangulator, - src/osgUtil/DelaunayTriangulator.cpp: From Geoff Michel, added - support for constrain delaunay triangultion, and osgdelaunay - example. +Fri, 1 May 2009 10:24:51 +0000 +Checked in by : Robert Osfield +Added export for windows build -2005-10-25 13:24 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 - * src/osg/Program.cpp: Added check against glGetString(GL_VERSION) - returning NULL. -2005-10-25 10:30 robert - * VisualStudio/examples/osglogicop, - VisualStudio/examples/osglogicop/osglogicop.dsp, - VisualStudio/examples/osgmovie, - VisualStudio/examples/osgmovie/osgmovie.dsp, - VisualStudio/examples/osgpagedlod, - VisualStudio/examples/osgpagedlod/osgpagedlod.dsp: Added missing - projects +#define OSGDB_WINDOWS_FUNCT_STRING(x) L ## #x L"W" -2005-10-25 10:29 robert - * VisualStudio/examples/osgcatch, - VisualStudio/examples/osgcatch/osgcatch.dsp: Added osgcatch - project -2005-10-25 10:12 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? - * VisualStudio/examples/osgpoints, - VisualStudio/examples/osgpoints/osgpoints.dsp, - VisualStudio/examples/osgshaderterrain, - VisualStudio/examples/osgshaderterrain/osgshaderterrain.dsp, - VisualStudio/examples/osgslice, - VisualStudio/examples/osgslice/osgslice.dsp, - VisualStudio/examples/osgspacewarp, - VisualStudio/examples/osgspacewarp/osgspacewarp.dsp: Added - missing projects. -2005-10-25 09:54 robert - * src/osgDB/Registry.cpp: From Markus Trenkwalder, added meanigful - return types in - Registry::read(const ReadFunctor& readFunctor) for - ERROR_IN_READING_FILE and - FILE_NOT_FOUND cases. - -2005-10-25 09:49 robert - - * include/osgParticle/ExplosionDebrisEffect, - include/osgParticle/ExplosionEffect, - include/osgParticle/FireEffect, - include/osgParticle/ParticleEffect, - include/osgParticle/SmokeEffect, - include/osgParticle/SmokeTrailEffect: Added protected - destructors. - -2005-10-25 09:43 robert - - * src/osgPlugins/txp/TXPParser.cpp: From Don Tidrow, removed - unncessary includes. - -2005-10-25 09:23 robert - - * include/osgUtil/SceneView, src/osgUtil/SceneView.cpp: 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. +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." -2005-10-24 18:51 robert - * include/osgParticle/Particle, src/osgParticle/Particle.cpp: - Changes to fix divide by 0 warning under VS. -2005-10-24 13:49 robert - - * VisualStudio/osgWrappers/osg/wrapper_osg.dsp, - src/osgWrappers/osg/GNUmakefile, - src/osgWrappers/osg/NodeTrackerCallback.cpp: Updated wrappers. - -2005-10-24 13:46 robert - - * examples/osgdepthpartition/DepthPartitionNode.cpp, - examples/osgdepthpartition/DistanceAccumulator.cpp, - examples/osgpbuffer/osgpbuffer.cpp, - examples/osgpoints/osgpoints.cpp, - examples/osgshaderterrain/osgshaderterrain.cpp, - examples/osgvolume/osgvolume.cpp, src/osgDB/FileUtils.cpp, - src/osgParticle/ConnectedParticleSystem.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp: Fixed compile warnings. - -2005-10-24 11:46 robert - - * src/osgUtil/Optimizer.cpp: From Mike Weiblen, "some fixes for - OSG_OPTIMIZER envar parsing and help display" - -2005-10-24 11:44 robert - - * VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgblendequation, - VisualStudio/examples/osgblendequation/osgblendequation.dsp: From - Marco Jez, added missing example project files. - -2005-10-24 11:37 robert - - * src/osgPlugins/flt/flt2osg.cpp, src/osgPlugins/flt/flt2osg.h: - 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 - - * src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/txp/TXPParser.cpp: 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-10-24 11:25 robert - - * src/osgPlugins/hdr/hdrloader.cpp, - src/osgPlugins/ive/PolygonMode.cpp, - src/osgPlugins/ive/PolygonMode.h, - src/osgPlugins/osg/AnimationPath.cpp: Warning fixes for Win32 - build. - -2005-10-24 10:53 robert - - * src/osgGA/FlightManipulator.cpp, - src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/TerrainManipulator.cpp: Added copyright notices. - -2005-10-24 10:51 robert - - * VisualStudio/osg/osg.dsp, doc/ProgrammingGuide, - doc/ProgrammingGuide/ProgrammingGuide.odt, - include/osg/NodeTrackerCallback, src/osg/GNUmakefile, - src/osg/NodeTrackerCallback.cpp: Added beginnings of Programming - Guide, and NodeTrackerCallback. - -2005-10-14 21:40 robert - - * src/osgSim/SphereSegment.cpp: From Farshid Lashkari, compile fix - for VS 2002. - -2005-10-14 21:38 robert - - * include/osgUtil/SceneView: From Brede Johansen, fixed - INVERSE_VIEW_MATRIX_UNIFORM enum value. - -2005-10-14 09:29 robert - - * src/osgText/Text.cpp: From Farshid Laskari, changed the compute - of the text bounding box to include the spaces. - -2005-10-13 12:51 robert - - * VisualStudio/LANGEXT.DAT, - VisualStudio/examples/osgfxbrowser/osgfxbrowser.dsp, - VisualStudio/osgUtil/osgUtil.dsp, - VisualStudio/osgWrappers/osg/wrapper_osg.dsp, - VisualStudio/osgWrappers/osgParticle/wrapper_osgParticle.dsp, - VisualStudio/osgWrappers/osgUtil/wrapper_osgUtil.dsp, - include/osgUtil/CullVisitor, - include/osgUtil/PositionalStateContainer, - include/osgUtil/RenderBin, include/osgUtil/RenderGraph, - include/osgUtil/RenderLeaf, include/osgUtil/SceneView, - include/osgUtil/StateGraph, src/osgSim/LightPointNode.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/GNUmakefile, - src/osgUtil/PositionalStateContainer.cpp, - src/osgUtil/RenderBin.cpp, src/osgUtil/RenderGraph.cpp, - src/osgUtil/RenderLeaf.cpp, src/osgUtil/RenderStage.cpp, - src/osgUtil/SceneView.cpp, src/osgUtil/StateGraph.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/GNUmakefile, - src/osgWrappers/osgUtil/RenderBin.cpp, - src/osgWrappers/osgUtil/RenderGraph.cpp, - src/osgWrappers/osgUtil/SceneView.cpp, - src/osgWrappers/osgUtil/StateGraph.cpp: Renamed - osgUtil::RenderGraph to osgUtil::StateGraph - -2005-10-13 10:29 robert - - * examples/osgspheresegment/osgspheresegment.cpp: 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-10-13 08:18 robert - - * src/osgWrappers/osg/AnimationPath.cpp, - src/osgWrappers/osg/CameraNode.cpp, - src/osgWrappers/osg/CameraView.cpp, - src/osgWrappers/osg/GNUmakefile, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osgParticle/ConnectedParticleSystem.cpp, - src/osgWrappers/osgParticle/ConstantRateCounter.cpp, - src/osgWrappers/osgParticle/GNUmakefile, - src/osgWrappers/osgParticle/Particle.cpp, - src/osgWrappers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/osgParticle/SmokeTrailEffect.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp, - src/osgWrappers/osgUtil/Simplifier.cpp: Updated wrappers. - -2005-10-13 08:07 robert - - * VisualStudio/examples/osgdepthpartition/osgdepthpartition.dsp: - Added Producer.lib to osgdepthpartion project file - -2005-10-13 08:05 robert - - * Make/dependencies, Make/makedirdefs: 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. - -2005-10-12 18:42 robert - - * VisualStudio/osgParticle/osgParticle.dsp, - examples/osgparticleeffects/osgparticleeffects.cpp, - include/osg/CullingSet, - include/osgParticle/ConnectedParticleSystem, - include/osgParticle/ConstantRateCounter, - include/osgParticle/Particle, include/osgParticle/ParticleSystem, - include/osgParticle/SmokeTrailEffect, src/osg/CullStack.cpp, - src/osg/CullingSet.cpp, - src/osgParticle/ConnectedParticleSystem.cpp, - src/osgParticle/GNUmakefile, src/osgParticle/ModularEmitter.cpp, - src/osgParticle/Particle.cpp, src/osgParticle/ParticleSystem.cpp, - src/osgParticle/SmokeTrailEffect.cpp: 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-10-11 09:47 robert - - * VisualStudio/osgParticle/osgParticle.dsp, - include/osgParticle/ConnectedParticleSystem, - include/osgParticle/Particle, - src/osgParticle/ConnectedParticleSystem.cpp, - src/osgParticle/GNUmakefile, src/osgParticle/Particle.cpp: Added - new shell of new class ConnectedParticleSystem, which will be - used - for managing connect particle system for the purpose of doing - missile trails etc. - -2005-10-10 10:10 robert - - * Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgdepthpartition, - VisualStudio/examples/osgdepthpartition/osgdepthpartition.dsp, - examples/osgdepthpartition, - examples/osgdepthpartition/DepthPartitionNode.cpp, - examples/osgdepthpartition/DepthPartitionNode.h, - examples/osgdepthpartition/DistanceAccumulator.cpp, - examples/osgdepthpartition/DistanceAccumulator.h, - examples/osgdepthpartition/GNUmakefile, - examples/osgdepthpartition/GNUmakefile.inst, - examples/osgdepthpartition/osgdepthpartition.cpp: From Ravi - Mathur, osgdepthpartition example program. - -2005-10-10 09:17 robert - - * include/osg/AnimationPath: From Alberto Jaspe, added double - precision interpolation method - -2005-10-07 07:46 robert - - * src/osgPlugins/ive/PolygonMode.cpp, - src/osgPlugins/ive/PolygonMode.h: Added into CVS missing - PolgonMode files. - -2005-10-06 20:02 robert - - * examples/osgprerendercubemap/osgprerendercubemap.cpp: Improved - the UpdateCameraAndTexGenCallback so it properly handles rotation - and - translations within the reflector nodepath. - -2005-10-06 15:43 robert - * VisualStudio/osgPlugins/ive/ive.dsp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/ive/ReadWrite.h: - From Brede Johansen, added support for PolygonMode into .ive - format. -2005-10-06 15:41 robert - * src/osgUtil/RenderStage.cpp: 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). +Fri, 1 May 2009 08:20:26 +0000 +Checked in by : Robert Osfield +Fixed warning + bug -2005-10-06 13:31 robert +Fri, 1 May 2009 08:10:56 +0000 +Checked in by : Robert Osfield +Added ws2_32 dependency - * src/osgProducer/OsgCameraGroup.cpp: Added env var reporting for - the OSG_CAMERA_THREADING and OSG_SHARE_GRAPHICS_CONTEXTS env - vars. +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. -2005-10-06 13:20 robert +Thu, 30 Apr 2009 08:50:43 +0000 +Checked in by : Robert Osfield +Added support for reading from streams - * src/osgProducer/OsgCameraGroup.cpp: Added catch for disabling - ThreadPerCamera when contexts are shared. +Thu, 30 Apr 2009 08:27:07 +0000 +Checked in by : Robert Osfield +Build fixes -2005-10-06 11:26 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 - * include/osgUtil/RenderStage, src/osgUtil/RenderStage.cpp: - Improved the fallback mechanism from FBO, down to PBuffer_RTT - down to PBuffer down to frame buffer. +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. -2005-10-05 16:21 robert - * include/osgUtil/RenderStage, src/osgUtil/CullVisitor.cpp, - src/osgUtil/RenderStage.cpp: Moved the testing and setting up of - FBO/Pbuffer extension from CullVisitor to - support into RenderStage to allow better fallback - implementations. -2005-10-05 09:48 robert - * include/osg/NodeVisitor, src/osg/AnimationPath.cpp: 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, 28 Apr 2009 15:50:05 +0000 +Checked in by : Robert Osfield +Added osgFX to dependencies -2005-10-04 18:50 robert +Tue, 28 Apr 2009 15:48:56 +0000 +Checked in by : Robert Osfield +Added osgViewer as a dependency - * examples/osgprerender/osgprerender.cpp, include/osg/CameraNode, - src/osgUtil/CullVisitor.cpp: Added code paths for PBuffer RTT - support. +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 -2005-10-04 13:41 robert - * VisualStudio/osg/osg.dsp, include/osg/CameraView, - src/osg/CameraView.cpp, src/osg/GNUmakefile: 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-10-03 19:37 robert - - * src/osg/StateSet.cpp: 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(). - -2005-10-03 19:33 robert - - * include/osg/GLExtensions: From MFM, Added FreeBSD specific - implementation for getGLExtensionFuncPtr using - dlsym(RTLD_DEFAULT, xxx) - -2005-10-03 19:24 robert - - * src/osgSim/SphereSegment.cpp: Added a couple of (double) casts - for VS7 build. - -2005-10-03 19:18 robert - - * src/osgSim/SphereSegment.cpp: Added closing of loops. - -2005-10-03 16:13 robert - * src/osgSim/SphereSegment.cpp: Added fusing of ends of lines - -2005-10-03 13:19 robert - - * src/osgSim/SphereSegment.cpp: Improved handling of convex azim - ranges. +Tue, 28 Apr 2009 14:03:02 +0000 +Checked in by : Robert Osfield +Reorganised placement of classes associated with scene graph.Warning clean up. -2005-10-01 19:28 robert - * examples/osgspheresegment/osgspheresegment.cpp: Added test cases - for SphereSegment intersection code. -2005-10-01 19:27 robert +Tue, 28 Apr 2009 11:57:51 +0000 +Checked in by : Robert Osfield +Moved present3D from own repository into core OSG. - * include/osg/ShapeDrawable, src/osg/ShapeDrawable.cpp: Added a - dirtyDisplayList() to the setColor() and setTesselationHint() - methods. - -2005-10-01 12:23 robert - - * src/osgSim/SphereSegment.cpp: Adding handling of case of convex - azimuth side ways of sphere segment. +Mon, 27 Apr 2009 16:32:24 +0000 +Checked in by : Robert Osfield +Fixed typo -2005-09-30 19:36 robert +Mon, 27 Apr 2009 15:45:52 +0000 +Checked in by : Robert Osfield +Added detection of active alpha channel. - * src/osgSim/SphereSegment.cpp: Changed the line intersection - algorithm to computer full line intersections then - trim down to size by intersecting with the sphere segmenet - sufaces - -2005-09-29 15:55 robert - - * src/osgSim/SphereSegment.cpp: Fix to intersection code. - -2005-09-29 13:07 robert - - * VisualStudio/osgWrappers/osg/wrapper_osg.dsp, - VisualStudio/osgWrappers/osgSim/wrapper_osgSim.dsp, - VisualStudio/osgWrappers/osgUtil/wrapper_osgUtil.dsp, - src/osgWrappers/osg/CameraNode.cpp, - src/osgWrappers/osg/CullingSet.cpp, - src/osgWrappers/osg/Drawable.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osg/GNUmakefile, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/GraphicsThread.cpp, - src/osgWrappers/osg/Plane.cpp, - src/osgWrappers/osg/PolygonMode.cpp, - src/osgWrappers/osg/Scissor.cpp, src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osg/Texture1D.cpp, - src/osgWrappers/osg/Texture2D.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/TextureCubeMap.cpp, - src/osgWrappers/osg/TextureRectangle.cpp, - src/osgWrappers/osg/Vec2b.cpp, src/osgWrappers/osg/Vec2s.cpp, - src/osgWrappers/osg/Vec3b.cpp, src/osgWrappers/osg/Vec3s.cpp, - src/osgWrappers/osg/Vec4b.cpp, src/osgWrappers/osg/Vec4d.cpp, - src/osgWrappers/osg/Vec4f.cpp, src/osgWrappers/osg/Vec4s.cpp, - src/osgWrappers/osg/Vec4ub.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/Output.cpp, - src/osgWrappers/osgGA/EventVisitor.cpp, - src/osgWrappers/osgParticle/ModularEmitter.cpp, - src/osgWrappers/osgParticle/MultiSegmentPlacer.cpp, - src/osgWrappers/osgParticle/Particle.cpp, - src/osgWrappers/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/osgParticle/Placer.cpp, - src/osgWrappers/osgParticle/PointPlacer.cpp, - src/osgWrappers/osgParticle/SectorPlacer.cpp, - src/osgWrappers/osgParticle/SegmentPlacer.cpp, - src/osgWrappers/osgParticle/range.cpp, - src/osgWrappers/osgProducer/GraphicsContextImplementation.cpp, - src/osgWrappers/osgProducer/KeyboardMouseCallback.cpp, - src/osgWrappers/osgSim/GNUmakefile, - src/osgWrappers/osgSim/OverlayNode.cpp, - src/osgWrappers/osgSim/SphereSegment.cpp, - src/osgWrappers/osgTerrain/DataSet.cpp, - src/osgWrappers/osgUtil/GNUmakefile, - src/osgWrappers/osgUtil/PositionalStateContainer.cpp, - src/osgWrappers/osgUtil/RenderBin.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp, - src/osgWrappers/osgUtil/RenderStageLighting.cpp, - src/osgWrappers/osgUtil/RenderToTextureStage.cpp, - src/osgWrappers/osgUtil/Simplifier.cpp, - src/osgWrappers/osgUtil/Statistics.cpp, - src/osgWrappers/osgUtil/TangentSpaceGenerator.cpp, - src/osgWrappers/osgUtil/Tesselator.cpp: Updated wrappers. - -2005-09-29 13:00 robert - - * include/osgIntrospection/ReflectionMacros: From Marco Jez, fix - for gcc build. - -2005-09-29 10:25 robert - - * include/osgUtil/Statistics: Fixed typo of Primitive - -2005-09-29 10:22 robert - - * include/osgSim/OverlayNode, src/osgSim/OverlayNode.cpp: Added - setOverlayClearColor and setTexEnvMode and automatic set up of - TexEnv. - -2005-09-29 09:49 robert - - * src/osg/Texture.cpp: From Marco Jez, added fallback to - TextureCubeMap subloading that calls load - when mipmaps are required, but non are present. - -2005-09-29 09:36 robert - - * examples/osgdepthshadow/osgdepthshadow.cpp, - examples/osgdistortion/osgdistortion.cpp, - examples/osgfbo/osgfbo.cpp, - examples/osgprerender/osgprerender.cpp, - examples/osgprerendercubemap/osgprerendercubemap.cpp, - examples/osgshadowtexture/CreateShadowedScene.cpp, - include/osg/CameraNode, src/osgSim/Impostor.cpp, - src/osgSim/OverlayNode.cpp, src/osgUtil/CullVisitor.cpp: Fixed - typo of CameraNode::setRenderTargetImplementation(..) - -2005-09-28 16:05 robert - - * examples/osgsimplifier/osgsimplifier.cpp, - include/osgUtil/Simplifier, src/osgUtil/Simplifier.cpp: 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 - - * include/osgIntrospection/ReflectionMacros, - include/osgIntrospection/Reflector, - include/osgIntrospection/Utility: 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." - -2005-09-28 14:05 robert - - * include/osg/Export, include/osgDB/Export, include/osgFX/Export, - include/osgGA/Export, include/osgIntrospection/Export, - include/osgParticle/Export, include/osgProducer/Export, - include/osgSim/Export, include/osgTerrain/Export, - include/osgText/Export, include/osgUtil/Export: From Chris - Hanson, "The following files are drop-in replacements for the - include/*/Export files to permit - building statically linked osg libraries under Win32." - -2005-09-28 13:55 robert - - * include/osg/Drawable: From Leandro Motta Barros: fixed type of - ATTRIBUTE_* - -2005-09-28 13:53 robert - - * include/osgUtil/TangentSpaceGenerator, - src/osgUtil/TangentSpaceGenerator.cpp: 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." - -2005-09-28 13:45 robert - - * include/osgText/Font, include/osgText/Text: From Joran Jessurun, - comments explaining font search rules - -2005-09-28 13:39 robert - - * src/osgText/Font.cpp: From Joran Jessurun, added font search - fallbck that strips the leading path from the font file and then - looks again. - -2005-09-28 13:33 robert - - * include/osg/CullStack, include/osg/CullingSet, include/osg/LOD, - src/osg/LOD.cpp, src/osg/PagedLOD.cpp: 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. - -2005-09-27 20:28 robert - - * include/osgSim/SphereSegment: Added degugging methods. - -2005-09-27 14:48 robert - - * src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/txp/TXPArchive.h, src/osgPlugins/txp/TXPNode.cpp, - src/osgPlugins/txp/TXPNode.h, src/osgPlugins/txp/TXPParser.cpp: - From Don Tidrow, Added support for locally referenced origins. - -2005-09-27 12:15 robert +Mon, 27 Apr 2009 13:54:22 +0000 +Checked in by : Robert Osfield +Further improvements in p3d plugin - * src/osgSim/SphereSegment.cpp: Various improvements to the sphere - segment intersection code. +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. -2005-09-26 11:24 robert +Mon, 27 Apr 2009 06:26:41 +0000 +Checked in by : Robert Osfield +Attempt to fix mingw warnings - * src/osgSim/OverlayNode.cpp: Set the defaul clear colour to - 0,0,0,0. +Sat, 25 Apr 2009 21:44:38 +0000 +Checked in by : Robert Osfield +Fixed warning -2005-09-26 11:24 robert +Fri, 24 Apr 2009 20:37:33 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and AUTHORS for 2.9.4 dev release - * examples/osgspheresegment/osgspheresegment.cpp: Added TexEnv - DECAL mode. +Fri, 24 Apr 2009 20:14:42 +0000 +Checked in by : Robert Osfield +Updated wrappers -2005-09-25 20:41 robert +Fri, 24 Apr 2009 18:37:36 +0000 +Checked in by : Robert Osfield +Added checking of need to update. - * VisualStudio/VisualStudio.dsw, src/osgSim/SphereSegment.cpp: From - Mike Weiblen, fixes from VS 7.1 build. +Fri, 24 Apr 2009 17:51:23 +0000 +Checked in by : Robert Osfield +Added suggestion of IntersectionVisitor instead. -2005-09-24 16:11 don +Fri, 24 Apr 2009 17:49:34 +0000 +Checked in by : Robert Osfield +Changed doxygen docs to say deprecated - * src/osgPlugins/flt/FaceRecord.cpp, - src/osgPlugins/flt/FaceRecord.h, src/osgPlugins/flt/flt2osg.cpp, - src/osgPlugins/flt/flt2osg.h: 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. +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 -2005-09-24 14:53 robert +Fri, 24 Apr 2009 11:53:01 +0000 +Checked in by : Robert Osfield +Updated ChangeLog - * src/osgSim/SphereSegment.cpp: Improvements to the clipping of - polygons at boundary edges. +Fri, 24 Apr 2009 11:23:33 +0000 +Checked in by : Robert Osfield +Updated wrappers -2005-09-21 14:38 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." - * src/osgSim/SphereSegment.cpp: Further work on intersection code. +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)." -2005-09-19 19:49 robert - * src/osgSim/SphereSegment.cpp: Added multiple intersect triangle - visualization for testing purposes. -2005-09-19 15:33 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 - * examples/osghangglide/GliderManipulator.cpp: 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 :-) +Thu, 23 Apr 2009 13:42:24 +0000 +Checked in by : Robert Osfield +Warning fixes -2005-09-19 15:28 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. - * include/osg/PointSprite, src/osg/PointSprite.cpp: 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. +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 -2005-09-19 14:07 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 - * examples/osgvolume/osgvolume.cpp, include/osgDB/Output, - src/osgDB/Output.cpp, src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osg/Texture1D.cpp, - src/osgPlugins/osg/Texture2D.cpp, - src/osgPlugins/osg/Texture3D.cpp, - src/osgPlugins/osg/TextureCubeMap.cpp, - src/osgPlugins/osg/TextureRectangle.cpp: Added support for "-O - OutputTextureFiles" options string in .osg plugin to - allow texture files to be written out when writing out a .osg - file. +Wed, 22 Apr 2009 16:50:50 +0000 +Checked in by : Robert Osfield +Fixed warning -2005-09-19 13:15 robert +Wed, 22 Apr 2009 16:47:07 +0000 +Checked in by : Robert Osfield +Warning fixes - * src/osgSim/SphereSegment.cpp: Added countMultipleIntersections to - help with debugging. +Wed, 22 Apr 2009 16:42:16 +0000 +Checked in by : Robert Osfield +Warning fixes -2005-09-17 18:50 robert +Wed, 22 Apr 2009 16:41:58 +0000 +Checked in by : Robert Osfield +Warning fix - * src/osgSim/SphereSegment.cpp: Improved the region classifaction - of the intersection code. +Wed, 22 Apr 2009 16:33:24 +0000 +Checked in by : Robert Osfield +Updated version numbers in prep for 2.9.4 dev release -2005-09-16 14:52 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. - * src/osgSim/SphereSegment.cpp: Improved accuracy of spheresegment - to mesh intersections uses mathematical - models of surface geometry. -2005-09-16 09:28 robert - * src/osgSim/SphereSegment.cpp: Added Azimuth and Elevation - intersector functors. +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'." -2005-09-15 20:55 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." - * src/osgTerrain/DataSet.cpp: Changed destinationRowDelta and - destination_pixelSpace to int's, solving a - memory corruption crash under 64 bit build. +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. " -2005-09-15 20:03 robert +Wed, 22 Apr 2009 12:52:22 +0000 +Checked in by : Robert Osfield +From Chris Hanson, spelling and grammer fixes - * examples/osgspheresegment/osgspheresegment.cpp, - src/osgSim/SphereSegment.cpp: Added line connectivity code. +Wed, 22 Apr 2009 11:22:08 +0000 +Checked in by : Robert Osfield +Added hand cursor implementation -2005-09-15 09:03 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." - * include/osgUtil/RenderBin: Moved - copyLeavesFromRenderGraphListToRenderLeafList into public. +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 -2005-09-12 19:42 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. - * src/osgPlugins/xine/ReaderWriterXine.cpp: Added querry of video - size during open() call and associated allocImage to - ensure that the imagestream passed back is of a valid size. +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. -2005-09-11 19:12 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.)" - * src/osgPlugins/flt/flt2osg.cpp: From Henrique Bucher, add check - against null light entry in LightPool. -2005-09-11 19:08 robert - * src/osgText/Font.cpp: From Farshid Lashkari, append "\fonts" to - end of windows font search path. +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 -2005-09-11 19:05 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." - * examples/osgmovie/osgmovie.cpp: From Sondra Iverson, "The options - to rewind/restart and to toggle looping in the osgmovie - example have been implemented. " +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." -2005-09-11 19:02 robert +Wed, 22 Apr 2009 10:46:12 +0000 +Checked in by : Robert Osfield +Changed parameter for T* to const T*. - * src/osgPlugins/xine/ReaderWriterXine.cpp: converted hardware tabs - to spaces. +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." -2005-09-11 19:00 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." - * src/osgPlugins/xine/ReaderWriterXine.cpp: From Sonda Iverson, fix - for repeated pause/unpause toggleing in Xine plugin +Tue, 21 Apr 2009 12:02:15 +0000 +Checked in by : Robert Osfield +Updated wrappers -2005-09-10 13:07 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." - * src/osgProducer/Viewer.cpp: From Joran Jessurun, fix to let the - Viewer::computeNearFarPoints - function work correctly when used with multiple camera's on one - render - surface. +Tue, 21 Apr 2009 10:46:45 +0000 +Checked in by : Robert Osfield +From Chris Hanson, "Fixed case of morphTarget argument in Doxygen comments." -2005-09-10 12:51 robert +Tue, 21 Apr 2009 10:13:19 +0000 +Checked in by : Robert Osfield +Fixed handling of case of no graphics contexts being assigned - * src/osg/GraphicsContext.cpp: Removed some debugging messages +Mon, 20 Apr 2009 19:05:59 +0000 +Checked in by : Robert Osfield +Removed #ifdef WIN32 around #include to fix build under Mandrake build. -2005-09-10 12:51 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 - * src/osgSim/SphereSegment.cpp: Added more intersection testing - code. +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 -2005-09-09 20:26 don +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 - * src/osgPlugins/ESRIShape, src/osgPlugins/ESRIShape/ESRIShape.cpp, - src/osgPlugins/ESRIShape/ESRIShape.h, - src/osgPlugins/ESRIShape/ESRIShapeParser.cpp, - src/osgPlugins/ESRIShape/ESRIShapeParser.h, - src/osgPlugins/ESRIShape/ESRIShapeReaderWriter.cpp, - src/osgPlugins/ESRIShape/GNUmakefile, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/net/ReaderWriterNET.cpp: Added initial ESRIShape - file loader. - - Untabbed and formated LOGO loader. Removed extraneous noise from - NET loader +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. " -2005-09-09 15:42 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 - * include/osg/Vec3s: Removed duplicate typedef. -2005-09-09 11:13 robert - * examples/osgspheresegment/osgspheresegment.cpp, - include/osgSim/SphereSegment, src/osgSim/SphereSegment.cpp: 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, 11 Apr 2009 07:12:54 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and AUTHORS for 2.9.3 dev release -2005-09-08 18:56 robert +Sat, 11 Apr 2009 06:25:28 +0000 +Checked in by : Robert Osfield +updated wrappers - * src/osgSim/SphereSegment.cpp: 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. +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. -2005-09-08 13:10 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 - * examples/osgsimulation/osgsimulation.cpp, - examples/osgspheresegment/osgspheresegment.cpp, - include/osgSim/SphereSegment, src/osgSim/SphereSegment.cpp: Added - initial interface for computing intersections between sphere - segments - and terrain. +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 -2005-09-07 16:18 robert +Fri, 10 Apr 2009 11:19:34 +0000 +Checked in by : Robert Osfield +Fixed build error by replacing M_PI with osg::PI. - * examples/osgsimulation/osgsimulation.cpp, include/osg/CullingSet, - include/osgSim/OverlayNode, src/osgSim/OverlayNode.cpp, - src/osgUtil/CullVisitor.cpp: Added support for cullable state, - that uses a polytope to define the extents - of objects that will be influenced by it. +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 -2005-09-06 20:28 robert +Fri, 10 Apr 2009 10:07:13 +0000 +Checked in by : Robert Osfield +Added typedef and updated wrappers - * examples/osgspheresegment/osgspheresegment.cpp: Added a grid of - lines into the OverlaySubgraph to demonstate use the - OverlayNode for applying general drawing onto terrain. +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) ." -2005-09-06 19:54 robert +Fri, 10 Apr 2009 09:37:44 +0000 +Checked in by : Robert Osfield +From J.P. Delport, tweak to fix spelling and grammer - * examples/osgsimulation/osgsimulation.cpp, - include/osgSim/OverlayNode, src/osgSim/OverlayNode.cpp: Added - s/getContinousUpdate(bool) method to OverlayNode. +Fri, 10 Apr 2009 09:16:37 +0000 +Checked in by : Robert Osfield +From Santosh Gaikwad, warning fixes -2005-09-06 15:48 robert +Thu, 9 Apr 2009 18:27:11 +0000 +Checked in by : Robert Osfield +Added ply entry - * examples/osganimate/GNUmakefile, - examples/osganimate/osganimate.cpp, - examples/osgspheresegment/osgspheresegment.cpp, - include/osgSim/OverlayNode, src/osgSim/OverlayNode.cpp: 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. +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." -2005-09-05 13:27 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 - * examples/osgforest/osgforest.cpp: Changed #if +"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." -2005-09-05 13:26 robert +so I think using these files in OSG should not be a problem. - * examples/osgvolume/osgvolume.cpp: Added checking of EventVisitor - type +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." -2005-09-05 13:23 robert - * src/osgGA/EventVisitor.cpp: Fixed VisitorType of EventVisitor -2005-09-05 13:19 robert - * examples/osgvolume/osgvolume.cpp: Added event handler to shader - code so that alphaCuttOff, transparency and - sampleDensity are controlled via 'a', 't' and 'd' respectively. +Thu, 9 Apr 2009 16:40:22 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project to reflect current trunk -2005-09-05 10:40 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. - * examples/osgvolume/osgvolume.cpp: Integrated shaders into source. -2005-09-05 09:14 robert - * examples/osgvolume/osgvolume.cpp: Added all sides of the shader - cube -2005-09-05 07:48 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" - * examples/osgvolume/osgvolume.cpp: Added preliminary GLSL shader - path for volume rendering. +Thu, 9 Apr 2009 15:55:18 +0000 +Checked in by : Robert Osfield +Updated wrappers -2005-09-04 11: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." - * include/osg/Vec2b, include/osg/Vec2d, include/osg/Vec2f, - include/osg/Vec2s, include/osg/Vec3b, include/osg/Vec3d, - include/osg/Vec3f, include/osg/Vec3s, include/osg/Vec4b, - include/osg/Vec4d, include/osg/Vec4f, include/osg/Vec4s, - include/osg/Vec4ub, src/osgPlugins/ive/DataOutputStream.cpp: - Standardised the Vec* class interfaces, and added num_components - enum to aid - generic programming. +Thu, 9 Apr 2009 15:33:28 +0000 +Checked in by : Robert Osfield +Converted tabs to four spaces -2005-09-04 06:36 robert +Thu, 9 Apr 2009 14:41:11 +0000 +Checked in by : Robert Osfield +From Paul Martz, typo fix - * applications/osgdem/osgdem.cpp, include/osgTerrain/DataSet, - src/osgTerrain/DataSet.cpp: Added support in osgTerrain/osgdem - for setting the image format to use when writing tiles out to - disk +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. -2005-09-03 20:56 robert +(another instance where if the ShapeDrawable had just been osg::Geometry, there wouldn't have been a problem... :-) ) - * examples/osgvolume/osgvolume.cpp, include/osg/Vec4d, - include/osg/Vec4f: Changed red()/green()/blue()/alpha() to - r()/g()/b()/a() for greater consistency - across Vec* classes and with OpenGL Shander Lanaguage. +I also fixed a small typo in the file in two places ("implementated" --> "implemented")." -2005-09-03 20:54 robert - * src/osg/GraphicsThread.cpp, - src/osgProducer/GraphicsContextImplementation.cpp: Added - release() to all GraphicsOperations in GraphicsThread. -2005-09-02 20:06 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. " - * examples/osgcamera/osgcamera.cpp: Added commandline arguments for - controlling number of cameras through to the windowing library to - use. +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." -2005-09-02 13:10 robert - * examples/osgcamera/osgcamera.cpp, src/osg/GraphicsThread.cpp, - src/osgProducer/GraphicsContextImplementation.cpp: Added clean up - class to help improve the exit of GraphicsThread -2005-09-02 10:35 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. - * VisualStudio/osgUtil/osgUtil.dsp, - include/osgUtil/PositionalStateContainer, - include/osgUtil/RenderStage, include/osgUtil/RenderStageLighting, - src/osgUtil/CullVisitor.cpp, src/osgUtil/GNUmakefile, - src/osgUtil/PositionalStateContainer.cpp, - src/osgUtil/RenderStage.cpp, src/osgUtil/RenderStageLighting.cpp: - Renamed osgUtil::RenderStageLighting - osgUtil::PositionalStateContainer +There are two new osgDB::Registry functions which are pretty self-explanatory: -2005-09-01 19:55 robert +void addMimeTypeExtensionMapping( mime-type, extension ) +ReaderWriter* getReaderWriterForMimeType( mime-type ) - * src/osgSim/OverlayNode.cpp: Removed redundent code. +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. -2005-09-01 19:12 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. - * include/osg/GraphicsContext, src/osg/GraphicsContext.cpp, - src/osg/GraphicsThread.cpp, - src/osgProducer/GraphicsContextImplementation.cpp: Fixed typo +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" +" -2005-09-01 06:19 robert - * VisualStudio/VisualStudio.dsw, VisualStudio/examples/osgcamera, - VisualStudio/examples/osgcamera/osgcamera.dsp: Added osgcamera - projects -2005-08-31 20:39 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 - * examples/osgcamera/GNUmakefile, examples/osgcamera/osgcamera.cpp: - Removed circular reference of osg::CameraNode, fixing memory - leak. Added - a auto exit after a maximum number of frames are completed. +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. -2005-08-31 15:04 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." - * examples/osgsimulation/osgsimulation.cpp, - include/osgSim/OverlayNode, src/osgSim/OverlayNode.cpp: Added - osgSim::OverlayNode setup in osgsimulation, and added preliminary - test - code to the osgSim::OverlayNode to test osgsimulation/the - architecture. -2005-08-31 13:43 robert - * examples/osgcamera/osgcamera.cpp: Set number of cameras to 3. +Thu, 9 Apr 2009 09:23:45 +0000 +Checked in by : Robert Osfield +From Philip Lowman, clean up of CMake files -2005-08-31 12:56 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. " - * include/osg/Texture, src/osg/Texture2D.cpp: Added graphics - context pointer to osg::Texture in prep for support for Pbuffer - Render To Texture. +Wed, 8 Apr 2009 14:08:16 +0000 +Checked in by : Robert Osfield +From Cory Riddell, fix for aspect ratio -2005-08-31 12:49 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" - * examples/osgcamera/osgcamera.cpp: Disable the glFinishBarrierOp - usage as glFinish was spin locking the CPU :-| +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." -2005-08-31 10:55 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: - * examples/osgcamera/osgcamera.cpp: 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. +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. -2005-08-31 09:21 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 :-)" - * examples/osgcamera/osgcamera.cpp: Add comments explain how - example works. -2005-08-30 22:28 robert - * examples/osgcamera/osgcamera.cpp, - examples/osgcluster/osgcluster.cpp, include/osg/GraphicsThread, - src/osg/Geometry.cpp, src/osg/GraphicsThread.cpp: Added support - for GrapicsOpeations that are reused each frame, cleaned up - osgcamera example. +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." -2005-08-30 19:20 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 - * src/osgUtil/RenderStage.cpp: Compile fix. +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. -2005-08-30 19:19 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." - * src/osgPlugins/bmp/ReaderWriterBMP.cpp: From Colin McDonald, fix - for big endian systems +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. -2005-08-30 19:03 robert +I fixed the problem by assigning the Geode's stateset to the new parent group. - * examples/osgcamera/osgcamera.cpp, include/osg/GraphicsThread, - include/osgProducer/GraphicsContextImplementation, - src/osg/GraphicsThread.cpp: 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. +To replicate the bug, see attached osg/dds files: -2005-08-30 14:41 robert +osgviewer b.osg -- model renders correctly +set OSG_OPTIMIZER="SPATIALIZE_GROUPS" +osgviewer b.osg -- textures are missing." - * examples/osgcamera/osgcamera.cpp, include/osg/GraphicsContext, - include/osgProducer/GraphicsContextImplementation, - src/osg/GraphicsContext.cpp, src/osg/GraphicsThread.cpp, - src/osgProducer/GraphicsContextImplementation.cpp, - src/osgUtil/CullVisitor.cpp: Clean up and fixes to GraphicThread - class, and osgcamera example. -2005-08-30 09:33 robert - * src/osgDB/DatabasePager.cpp: From Norman Vine, fixed small typo. +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 -2005-08-29 20:38 robert +Wed, 8 Apr 2009 10:32:19 +0000 +Checked in by : Robert Osfield +From Martin Beckett, added mouse wheel support - * examples/osgcluster/osgcluster.cpp: Fixed reading and writng of - data. +Tue, 7 Apr 2009 10:13:54 +0000 +Checked in by : Robert Osfield +Added better handling of use of VBO's in compileGLObjects() -2005-08-29 20:16 robert +Tue, 7 Apr 2009 10:12:59 +0000 +Checked in by : Robert Osfield +Updated wrappers - * examples/osgcluster/osgcluster.cpp: Added scratch pad reset. +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. -2005-08-29 19:57 robert +Tue, 7 Apr 2009 08:40:49 +0000 +Checked in by : Cedric Pinson +From Serge Lages, Elastic added to EaseMotion - * examples/osgcluster/osgcluster.cpp: 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, 6 Apr 2009 12:28:02 +0000 +Checked in by : Robert Osfield +Added disabling of mipmapping for non power of two textures -2005-08-29 14:05 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 - * examples/osgcluster/osgcluster.cpp, - examples/osgcluster/receiver.cpp, - src/osgProducer/KeyboardMouseCallback.cpp: Improved support for - keyboard/mouse events in osgcluster. +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 -2005-08-29 12:25 robert +Fri, 3 Apr 2009 09:54:15 +0000 +Checked in by : Robert Osfield +Tweaks to shader to fix warnings on with ATI drivers - * examples/osgcluster/osgcluster.cpp: Added extra debug info. +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 -2005-08-29 12:05 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 - * examples/osgcluster/osgcluster.cpp, - examples/osgcluster/receiver.cpp, - include/osgProducer/EventAdapter, - include/osgProducer/KeyboardMouseCallback, - src/osgProducer/KeyboardMouseCallback.cpp: Added extra access - methods on osgProducer::KeyboardMouseCallback, and added - support for reading and writing keyboard/mouse events in - osgcluster. +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. -2005-08-28 19:07 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. - * src/osgUtil/CullVisitor.cpp: Disabled the pbuffer graphics - thread. -2005-08-28 15:49 robert - * VisualStudio/osgSim/osgSim.dsp: From Marco Jez, fixed typo of - OverlayNode.cpp. +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 -2005-08-26 20:01 robert +Tue, 24 Mar 2009 23:17:05 +0000 +Checked in by : Robert Osfield +Added support for image streams - * VisualStudio/osgSim/osgSim.dsp, include/osgSim/OverlayNode, - src/osgSim/Impostor.cpp, src/osgSim/OverlayNode.cpp: Added - OveralyNode into VS project file, and fleshed out more code in - the OveralyNode implementation. +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). -2005-08-26 14:00 robert +I've also added Matroska video to the list of supported extensions" - * include/osgSim/OverlayNode, src/osgSim/OverlayNode.cpp: 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 - * examples/osgvolume/osgvolume.cpp, src/osgSim/GNUmakefile: Added - --num-components option. +Mon, 23 Mar 2009 20:47:18 +0000 +Checked in by : Robert Osfield +Updated AUTHORS.txt for 2.9.2 dev release -2005-08-26 08:48 robert +Mon, 23 Mar 2009 20:44:57 +0000 +Checked in by : Robert Osfield +Updated ChangeLog for 2.9.2 dev release - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Farshid Lashkari, - fixed warnings. +Mon, 23 Mar 2009 20:25:51 +0000 +Checked in by : Robert Osfield +From Aric Aumann, fixed handling of null texture coordinates -2005-08-25 19:23 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. - * src/osgPlugins/jpeg/ReaderWriterJPEG.cpp: From Farshid Lashkari, - added istream support to JPEG plugin. +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" -2005-08-25 18:18 don - * include/osgDB/DatabasePager: made removeExpiredSubgraphs virtual. -2005-08-25 17:53 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." - * include/osg/Array, include/osg/Shape, include/osg/StateAttribute, - include/osgDB/Registry, include/osgGA/GUIActionAdapter, - src/osg/LOD.cpp, src/osgDB/Registry.cpp, - src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/lib3ds/ReaderWriter3DS.cpp, - src/osgPlugins/tga/ReaderWriterTGA.cpp: From Eric Sokolowsky, - warning fixes for g++ 4.0 under Fedora Core 4. +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." -2005-08-25 14: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 " - * src/osgPlugins/rgb/ReaderWriterRGB.cpp, - src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Farshid Lashkari, - Support for reading TIF images from stream, and support - from reading and writing RGB image to/from stream. +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." -2005-08-25 14:12 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. " - * examples/osgparticleeffects/osgparticleeffects.cpp, - include/osgParticle/ModularEmitter, - include/osgParticle/MultiSegmentPlacer, - include/osgParticle/Particle, - include/osgParticle/ParticleProcessor, - include/osgParticle/Placer, include/osgParticle/PointPlacer, - include/osgParticle/SectorPlacer, - include/osgParticle/SegmentPlacer, include/osgParticle/range, - src/osgParticle/FireEffect.cpp, - src/osgParticle/ModularEmitter.cpp, - src/osgParticle/ParticleProcessor.cpp, - src/osgParticle/SmokeEffect.cpp: 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-08-24 19:21 robert - - * include/osg/PolygonMode: Removed old commented out code. - -2005-08-24 19:20 robert - - * include/osg/PolygonMode: From Domenico Mangieri, added - constructor. - -2005-08-24 11:53 robert - - * src/osgPlugins/flt/flt2osg.cpp: 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" - -2005-08-24 10:48 robert - - * src/osgPlugins/bmp/ReaderWriterBMP.cpp, - src/osgPlugins/gif/ReaderWriterGIF.cpp, - src/osgPlugins/png/ReaderWriterPNG.cpp, - src/osgPlugins/tga/ReaderWriterTGA.cpp: 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 - - * include/osgUtil/Tesselator, src/osgUtil/Tesselator.cpp: From - Geoff Michel, added normal definition for tesselation - -2005-08-22 14:13 robert - - * src/osgPlugins/ive/Text.cpp: From Carlo Camporesi, fixed .ive - handling of character height and aspect ratio. - -2005-08-22 14:07 robert - - * include/osg/Plane: 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-08-22 13:58 robert - - * include/osgUtil/SceneView, src/osgUtil/SceneView.cpp: From - Domenico Mangieri, addded some missing const qualifiers in - osgUtil::SceneView. - -2005-08-22 13:54 robert - - * src/osgPlugins/hdr/ReaderWriterHDR.cpp, - src/osgPlugins/hdr/hdrloader.cpp, src/osgPlugins/hdr/hdrloader.h: - 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." - -2005-08-22 13:45 robert - - * examples/osgtext/osgtext.cpp: From Joseph Winston, "Corrected - displayed comment about the text size - to match the actual text size." - -2005-08-22 13:03 robert - - * src/osgGA/FlightManipulator.cpp: Tweaked flight manipulator pitch - sensitivity. - -2005-08-21 15:32 robert - - * VisualStudio/osg/osg.dsp, include/osg/GraphicsThread: Added - OSG_EXPORT to GrephicsThread and fixed typo in osg.dsp. - -2005-08-20 08:59 robert - - * examples/osgcamera/osgcamera.cpp, include/osg/GraphicsContext, - include/osg/GraphicsThread, - include/osgProducer/GraphicsContextImplementation, - include/osgUtil/RenderStage, src/osg/GraphicsContext.cpp, - src/osg/GraphicsThread.cpp, - src/osgProducer/GraphicsContextImplementation.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/RenderStage.cpp: Further - work on GraphicsContext/GraphicsThread +Mon, 23 Mar 2009 16:13:42 +0000 +Checked in by : Robert Osfield +From Michale Platings, "Minor change to include ReaderWriterDAE.h" -2005-08-20 08:20 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" - * src/osgSim/Impostor.cpp: From Joseph Winston, removed #include - +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." -2005-08-18 20:35 robert - * include/osg/GraphicsThread, src/osg/GraphicsThread.cpp: Added - GraphicsThread class -2005-08-18 20:33 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!)" - * VisualStudio/osg/osg.dsp: Added GraphicsThread to project file +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. -2005-08-18 20:17 robert +IF(${OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX} STREQUAL "quicktime") +was changed to +IF(OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX STREQUAL "quicktime") +" - * include/osg/GraphicsContext, include/osgDB/DatabasePager, - include/osgProducer/GraphicsContextImplementation, - src/osg/GNUmakefile, src/osg/GraphicsContext.cpp, - src/osgDB/DatabasePager.cpp, - src/osgProducer/GraphicsContextImplementation.cpp, - src/osgProducer/Viewer.cpp, src/osgUtil/RenderStage.cpp: Various - updates to support the new GraphicsThread class. -2005-08-18 09:36 robert - * include/osg/GraphicsContext: Added beginings of GraphicsThread - class +Mon, 23 Mar 2009 15:48:19 +0000 +Checked in by : Robert Osfield +From David Callu, clean up of FindFFmpeg include paths -2005-08-18 08:37 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." - * examples/osgcamera/osgcamera.cpp: Implemented more SceneView - operations in main as a move to try and replace SceneView usage - in this example. +Mon, 23 Mar 2009 15:38:30 +0000 +Checked in by : Robert Osfield +Cleaned up interface -2005-08-17 16:13 robert +Mon, 23 Mar 2009 15:38:03 +0000 +Checked in by : Robert Osfield +Updated wrapper conf to avoid generating wrappers for PrintVisitor - * examples/osgcamera/osgcamera.cpp: Replaced osgUtil::SceneView - usage by osg::CameraNode +Mon, 23 Mar 2009 15:21:31 +0000 +Checked in by : Robert Osfield +Bumped version numbers in prep for 2.7.2 dev release -2005-08-17 10:12 robert +Mon, 23 Mar 2009 15:10:36 +0000 +Checked in by : Robert Osfield +Added ShaderGen wrapper - * VisualStudio/osgUtil/osgUtil.dsp, include/osg/CameraNode, - include/osgUtil/RenderStage, - include/osgUtil/RenderToTextureStage, src/osg/CameraNode.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/GNUmakefile, - src/osgUtil/RenderStage.cpp, - src/osgUtil/RenderToTextureStage.cpp, src/osgUtil/SceneView.cpp: - Merged RenderToTextureStage functionality into RenderStage +Mon, 23 Mar 2009 15:04:33 +0000 +Checked in by : Robert Osfield +Removed PrintVisitor as it was causing problems with wrapper building. -2005-08-17 08:50 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." - * src/osgPlugins/xine/GNUmakefile, - src/osgPlugins/xine/video_out_rgb.c: Fix compile under x64_32. +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) -2005-08-17 07:27 robert +To view fixed function pipeline files and paged databases simply run >osgshadergen myfile.osg" - * src/osgPlugins/xine/GNUmakefile, - src/osgPlugins/xine/video_out_rgb.c: Disabled assembly code for - x64_64 paths. -2005-08-16 13:29 robert - * Make/makedirdefs, examples/osgcamera, - examples/osgcamera/GNUmakefile, - examples/osgcamera/GNUmakefile.inst, - examples/osgcamera/osgcamera.cpp, include/osg/GraphicsContext, - include/osgProducer/GraphicsContextImplementation, - src/osgProducer/GraphicsContextImplementation.cpp, - src/osgUtil/CullVisitor.cpp: 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. +Thu, 19 Mar 2009 11:36:54 +0000 +Checked in by : Robert Osfield +UPdated wrappers -2005-08-15 13:54 robert +Thu, 19 Mar 2009 11:11:51 +0000 +Checked in by : Robert Osfield +Inroduced simple PrintVisitor class for helping debug scene graph structures - * Make/makedirdefs, examples/osgforest/osgforest.cpp, - examples/osgshaderterrain, examples/osgshaderterrain/GNUmakefile, - examples/osgshaderterrain/GNUmakefile.inst, - examples/osgshaderterrain/osgshaderterrain.cpp: Added - osgshaderterrain example. +Thu, 19 Mar 2009 10:56:38 +0000 +Checked in by : Robert Osfield +Fixed spacing -2005-08-09 14:13 robert +Thu, 19 Mar 2009 10:55:51 +0000 +Checked in by : Robert Osfield +Added compressed to list of supported options - * examples/osgdepthshadow/osgdepthshadow.cpp: Added base texture - support. +Thu, 19 Mar 2009 10:55:29 +0000 +Checked in by : Robert Osfield +Added debug message (commented out for now.) -2005-08-09 10:48 robert +Thu, 19 Mar 2009 10:27:24 +0000 +Checked in by : Robert Osfield +Added osgTerrain::Terrain support to the .osg format - * include/osgProducer/KeyboardMouseCallback: Added getStartTick() - acess method +Sat, 14 Mar 2009 15:40:41 +0000 +Checked in by : Robert Osfield +From Adrian Egli, build fix for Win32 FFmpeg -2005-08-09 10:48 robert +Fri, 13 Mar 2009 15:56:19 +0000 +Checked in by : Robert Osfield +From Stephan Huber, clean up of Quicktime plugin - * include/osg/Drawable: Added getDisplayList access method +Fri, 13 Mar 2009 13:25:00 +0000 +Checked in by : Robert Osfield +Update AUTHORS file -2005-08-09 10:47 robert +Fri, 13 Mar 2009 11:56:16 +0000 +Checked in by : Robert Osfield +Updated ChangeLog - * src/osg/Texture.cpp, src/osg/Texture2D.cpp: Fixed indenting and - typo +Fri, 13 Mar 2009 11:06:12 +0000 +Checked in by : Robert Osfield +Warning fixes -2005-08-09 09:11 robert - - * examples/osgforest/osgforest.cpp: Added GLSL shader pathway into - osgforest. - -2005-08-06 19:19 robert - - * src/osgProducer/GraphicsContextImplementation.cpp: Added setting - up of Producer::VisualChooser. - -2005-08-06 19:18 robert - - * src/osgProducer/Viewer.cpp: Change the frame reference time so - that it uses the same time as the - KeyboardMouseCallback. - -2005-08-06 19:16 robert - - * src/osgUtil/CullVisitor.cpp: Set the double buffer off when - setting up pbuffers. - -2005-08-06 04:33 robert - - * examples/osgdepthshadow/osgdepthshadow.cpp: Added blend shadow - fragment shader - -2005-07-30 18:44 robert - - * src/osg/Drawable.cpp, src/osg/Node.cpp: Added setStateSet(0) to - destructors to force the problem clean up of attached - StateSets. - -2005-07-27 13:38 robert - - * src/osgUtil/CullVisitor.cpp: From Pavel Moloshtan, setting of the - cull traversal mask which visiting camera - subgraphs. (with small tweak from Robert Osfield to remove - compile warnings.) - -2005-07-27 11:27 robert - - * include/osg/FrameBufferObject, include/osg/Texture, - include/osg/Texture1D, include/osg/Texture2D, - include/osg/Texture3D, include/osg/TextureCubeMap, - include/osg/TextureRectangle, src/osg/FrameBufferObject.cpp, - src/osgUtil/RenderToTextureStage.cpp: Further work on trying to - get glGenerateMipMapEXT working in conjunction with - frame buffer objects. Still don't work under Linux yet through - :-| - -2005-07-27 09:37 robert - - * include/osgGA/EventVisitor, src/osgGA/EventVisitor.cpp, - src/osgGA/GUIEventHandler.cpp, src/osgProducer/Viewer.cpp: From - Marco Jez, added setEventHandled() and getEventHandled() to - osgGA::EventVisitor. - -2005-07-26 21:07 robert - - * include/osgDB/FileUtils, src/osgDB/FileUtils.cpp, - src/osgDB/Registry.cpp, src/osgWrappers/osg/CameraNode.cpp, - src/osgWrappers/osg/TextureCubeMap.cpp, - src/osgWrappers/osgUtil/RenderToTextureStage.cpp: 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. - " - -2005-07-26 20:31 robert - - * src/osgDB/FileUtils.cpp, src/osgDB/Registry.cpp: From Eric Wing, - fix to be able to handle "spacial" characters under OSX. - -2005-07-26 16:05 robert - - * src/osg/Image.cpp: From Brede Johansen, fix to the - isImageTranslucent() method. - -2005-07-26 15:49 robert - - * src/osgPlugins/hdr/ReaderWriterHDR.cpp: 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". - -2005-07-25 16:12 robert - - * include/osg/CameraNode, include/osg/GraphicsContext, - src/osg/CameraNode.cpp, - src/osgProducer/GraphicsContextImplementation.cpp, - src/osgUtil/CullVisitor.cpp, - src/osgUtil/RenderToTextureStage.cpp: Perliminary support for - glGenerateMinMapEXT. - -2005-07-25 14:28 robert - - * include/osg/GraphicsContext, src/osg/GraphicsContext.cpp, - src/osgProducer/GraphicsContextImplementation.cpp, - src/osgProducer/OsgCameraGroup.cpp, src/osgUtil/CullVisitor.cpp: - Added handling of automatic setting up of the contextID. - -2005-07-25 13:05 robert - - * examples/osgprerender/osgprerender.cpp, - examples/osgprerendercubemap/osgprerendercubemap.cpp, - include/osg/TextureCubeMap, src/osg/TextureCubeMap.cpp, - src/osgProducer/GraphicsContextImplementation.cpp, - src/osgUtil/CullVisitor.cpp, - src/osgUtil/RenderToTextureStage.cpp: Added support for - TextureCubeMap into osgUtil::RenderToTextureStage. - -2005-07-24 20:31 robert - - * VisualStudio/osgWrappers/osg/wrapper_osg.dsp, - VisualStudio/osgWrappers/osgProducer/wrapper_osgProducer.dsp, - include/osg/CameraNode, include/osgUtil/RenderToTextureStage, - src/osg/CameraNode.cpp, - src/osgProducer/GraphicsContextImplementation.cpp, - src/osgUtil/CullVisitor.cpp, - src/osgUtil/RenderToTextureStage.cpp: Added post draw callback to - osg::CameraNode/osgUtil::RenderToTextureStage. - - Added support for Texture1D, 2D, 3D and TextureRectangle into - osgUtil::RenderToTextureStage. - -2005-07-24 11:06 robert - - * src/osgSim/Impostor.cpp: Port Impostor across to use the new - osg::CameraNode. - -2005-07-23 19:08 robert - - * src/osgWrappers/osg/CameraNode.cpp, - src/osgWrappers/osg/GNUmakefile, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/Viewport.cpp, - src/osgWrappers/osgProducer/GNUmakefile, - src/osgWrappers/osgProducer/GraphicsContextImplementation.cpp, - src/osgWrappers/osgProducer/OsgCameraGroup.cpp, - src/osgWrappers/osgSim/ImpostorSprite.cpp, - src/osgWrappers/osgUtil/RenderToTextureStage.cpp: Updated - wrappers. - -2005-07-23 19:05 robert - - * include/osgSim/Impostor, include/osgSim/ImpostorSprite: Added - osg::CameraNode to ImpostorSprite in prep for moving across to - using - camera node in pre rendering of impostors. - -2005-07-23 15:21 robert - - * src/osgSim/Impostor.cpp: Attached ImpostorSpriteManager to the - CullVisitor. - -2005-07-22 16:25 robert - - * include/osgSim/Impostor, src/osgSim/Impostor.cpp: Renabled - impostor support using old style RenderToTextureStage setup. - -2005-07-22 09:31 robert - - * VisualStudio/osg/osg.dsp, VisualStudio/osgPlugins/ive/ive.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, include/osg/Scissor, - include/osg/StateAttribute, include/osg/Viewport, - src/osg/GNUmakefile, src/osg/Scissor.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/ive/Scissor.cpp, src/osgPlugins/ive/Scissor.h, - src/osgPlugins/ive/Viewport.cpp, src/osgPlugins/ive/Viewport.h, - src/osgPlugins/osg/GNUmakefile, src/osgPlugins/osg/Scissor.cpp: - Added glSissor suppor via new osg::Scissor class. - Added .osg support for osg::Scissor. - Added .ive support for osg::Viewport and osg::Scissor. - -2005-07-22 08:21 robert - - * include/osg/PrimitiveSet: Added missing typedef - -2005-07-21 20:45 robert - - * src/osgProducer/GraphicsContextImplementation.cpp: Fixed compile - error. - -2005-07-21 19:37 robert - - * VisualStudio/osgProducer/osgProducer.dsp, - include/osgProducer/GraphicsContextImplementation, - src/osgProducer/GraphicsContextImplementation.cpp: Added - GraphicsContextImplementation - -2005-07-21 19:27 robert - - * examples/osgpbuffer/osgpbuffer.cpp, - examples/osgprerender/osgprerender.cpp, include/osg/CameraNode, - include/osg/GraphicsContext, include/osgProducer/OsgCameraGroup, - include/osgUtil/RenderToTextureStage, - src/osgProducer/GNUmakefile, src/osgProducer/OsgCameraGroup.cpp, - src/osgUtil/CullVisitor.cpp, - src/osgUtil/RenderToTextureStage.cpp: 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-07-21 08:43 robert - - * include/osg/GraphicsContext, src/osg/GraphicsContext.cpp: Checked - in graphics context. - -2005-07-20 19:42 robert - - * include/osg/PrimitiveSet, include/osgText/String, - src/osg/PrimitiveSet.cpp, - src/osgPlugins/ive/DrawArrayLengths.cpp, src/osgText/String.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osgText/String.cpp: From Marco Jez (with tweaks - by Robert Osfield) : clean up of inheritance from std::vector<> - classes - -2005-07-20 15:55 robert - - * VisualStudio/osg/osg.dsp, - VisualStudio/osgWrappers/osg/wrapper_osg.dsp, - VisualStudio/osgWrappers/osgIntrospection, - VisualStudio/osgWrappers/osgText/wrapper_osgText.dsp, - examples/osgpbuffer/osgpbuffer.cpp, examples/osgtext/osgtext.cpp, - include/osg/CameraNode, include/osg/State, src/osg/GNUmakefile, - src/osg/State.cpp, src/osgWrappers/osg/CameraNode.cpp, - src/osgWrappers/osg/GNUmakefile, src/osgWrappers/osg/State.cpp: - Added new osg::GraphicsContext base class - -2005-07-20 14:31 robert - - * src/osgWrappers/osgIntrospection: Removed osgIntrospection - wrappers - -2005-07-20 08:03 robert - - * src/osgWrappers/osg/Endian.cpp, - src/osgWrappers/osg/GL2Extensions.cpp, - src/osgWrappers/osg/Notify.cpp, - src/osgWrappers/osgText/GNUmakefile, - src/osgWrappers/osgText/Text.cpp: Updated wrappers - -2005-07-19 20:40 robert - - * VisualStudio/osgWrappers/osgDB, - VisualStudio/osgWrappers/osgDB/wrapper_osgDB.dsp, - VisualStudio/osgWrappers/osgFX, - VisualStudio/osgWrappers/osgFX/wrapper_osgFX.dsp, - VisualStudio/osgWrappers/osgGA, - VisualStudio/osgWrappers/osgGA/wrapper_osgGA.dsp, - VisualStudio/osgWrappers/osgIntrospection, - VisualStudio/osgWrappers/osgIntrospection/wrapper_osgIntrospection.dsp, - VisualStudio/osgWrappers/osgParticle, - VisualStudio/osgWrappers/osgParticle/wrapper_osgParticle.dsp, - VisualStudio/osgWrappers/osgProducer, - VisualStudio/osgWrappers/osgProducer/wrapper_osgProducer.dsp, - VisualStudio/osgWrappers/osgSim, - VisualStudio/osgWrappers/osgSim/wrapper_osgSim.dsp, - VisualStudio/osgWrappers/osgTerrain, - VisualStudio/osgWrappers/osgTerrain/wrapper_osgTerrain.dsp, - VisualStudio/osgWrappers/osgText, - VisualStudio/osgWrappers/osgText/wrapper_osgText.dsp, - VisualStudio/osgWrappers/osgUtil, - VisualStudio/osgWrappers/osgUtil/wrapper_osgUtil.dsp, - src/osgWrappers/osg/Array.cpp, - src/osgWrappers/osg/CameraNode.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osg/FrontFace.cpp, src/osgWrappers/osg/Plane.cpp, - src/osgWrappers/osg/Quat.cpp, src/osgWrappers/osg/Vec2b.cpp, - src/osgWrappers/osg/Vec2d.cpp, src/osgWrappers/osg/Vec2f.cpp, - src/osgWrappers/osg/Vec3b.cpp, src/osgWrappers/osg/Vec3d.cpp, - src/osgWrappers/osg/Vec3f.cpp, src/osgWrappers/osg/Vec4b.cpp, - src/osgWrappers/osg/Vec4d.cpp, src/osgWrappers/osg/Vec4f.cpp, - src/osgWrappers/osg/Vec4ub.cpp, - src/osgWrappers/osgDB/DotOsgWrapper.cpp, - src/osgWrappers/osgIntrospection, - src/osgWrappers/osgIntrospection/Attributes.cpp, - src/osgWrappers/osgIntrospection/Comparator.cpp, - src/osgWrappers/osgIntrospection/ConstructorInfo.cpp, - src/osgWrappers/osgIntrospection/Converter.cpp, - src/osgWrappers/osgIntrospection/ConverterProxy.cpp, - src/osgWrappers/osgIntrospection/CustomAttribute.cpp, - src/osgWrappers/osgIntrospection/CustomAttributeProvider.cpp, - src/osgWrappers/osgIntrospection/Exceptions.cpp, - src/osgWrappers/osgIntrospection/GNUmakefile, - src/osgWrappers/osgIntrospection/MethodInfo.cpp, - src/osgWrappers/osgIntrospection/ParameterInfo.cpp, - src/osgWrappers/osgIntrospection/PropertyInfo.cpp, - src/osgWrappers/osgIntrospection/ReaderWriter.cpp, - src/osgWrappers/osgIntrospection/Reflection.cpp, - src/osgWrappers/osgIntrospection/Reflector.cpp, - src/osgWrappers/osgIntrospection/Type.cpp, - src/osgWrappers/osgIntrospection/Value.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp, - src/osgWrappers/osgUtil/RenderStageLighting.cpp: Added wrapper - projects and updates of autogenerated wrappers. - -2005-07-19 20:01 robert - - * include/osg/CameraNode, src/osgUtil/CullVisitor.cpp: Added - support for multiple colour buffers into - osg::CameraNode/osgUtil::CullVisitor - -2005-07-19 16:30 robert - - * examples/osgdepthshadow/osgdepthshadow.cpp, - examples/osgdistortion/osgdistortion.cpp, - examples/osgfbo/osgfbo.cpp, examples/osgforest/osgforest.cpp, - examples/osgmultiplecameras/osgmultiplecameras.cpp, - examples/osgpoints/osgpoints.cpp, - examples/osgprerender/osgprerender.cpp, - examples/osgprerendercubemap/osgprerendercubemap.cpp, - examples/osgshadowtexture/CreateShadowedScene.cpp, - include/osg/CameraNode, include/osg/FrameBufferObject, - include/osg/FrontFace, include/osgUtil/RenderStage, - include/osgUtil/RenderStageLighting, src/osg/CameraNode.cpp, - src/osg/FrameBufferObject.cpp, src/osg/FrontFace.cpp, - src/osg/TexGen.cpp, src/osg/TextureCubeMap.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/RenderStage.cpp, - src/osgUtil/RenderStageLighting.cpp, - src/osgUtil/RenderToTextureStage.cpp: 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 - - * VisualStudio/VisualStudio.dsw, - VisualStudio/osgWrappers/osg/wrapper_osg.dsp, include/osg/Array, - src/osgWrappers/osg/Array.cpp, - src/osgWrappers/osg/CameraNode.cpp, - src/osgWrappers/osg/Drawable.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osg/GNUmakefile, - src/osgWrappers/osg/Geometry.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osg/Program.cpp, - src/osgWrappers/osg/Sequence.cpp, src/osgWrappers/osg/Shape.cpp, - src/osgWrappers/osg/TexGenNode.cpp, - src/osgWrappers/osg/UByte4.cpp, src/osgWrappers/osg/Vec2b.cpp, - src/osgWrappers/osg/Vec2s.cpp, src/osgWrappers/osg/Vec3b.cpp, - src/osgWrappers/osg/Vec3s.cpp, src/osgWrappers/osg/Vec4b.cpp, - src/osgWrappers/osg/Vec4s.cpp, src/osgWrappers/osg/Vec4ub.cpp, - src/osgWrappers/osgDB/GNUmakefile, - src/osgWrappers/osgFX/GNUmakefile, - src/osgWrappers/osgGA/GNUmakefile, - src/osgWrappers/osgParticle/GNUmakefile, - src/osgWrappers/osgProducer/GNUmakefile, - src/osgWrappers/osgSim/BlinkSequence.cpp, - src/osgWrappers/osgSim/GNUmakefile, - src/osgWrappers/osgTerrain/DataSet.cpp, - src/osgWrappers/osgTerrain/GNUmakefile, - src/osgWrappers/osgText/GNUmakefile, - src/osgWrappers/osgText/Text.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/GNUmakefile, - src/osgWrappers/osgUtil/RenderStage.cpp, - src/osgWrappers/osgUtil/RenderToTextureStage.cpp: Updated - wrappers - -2005-07-15 19:24 robert - - * examples/osgsimplifier/osgsimplifier.cpp: Added return 1. - -2005-07-15 16:26 robert - - * src/osgPlugins/osgText/IO_Text.cpp: Added .osg suppot for new - alignment modes - -2005-07-15 16:22 robert - - * examples/osgtext/osgtext.cpp, include/osgText/Text, - src/osgText/Text.cpp: From Yuri Vilmanis, improved multi-line - justifaction support and new alignment modes - -2005-07-15 14:41 robert - - * VisualStudio/osg/osg.dsp, - examples/osgbluemarble/osgbluemarble.cpp, - examples/osgforest/osgforest.cpp, include/osg/Array, - include/osg/Byte2, include/osg/Byte3, include/osg/Byte4, - include/osg/Drawable, include/osg/Short2, include/osg/Short3, - include/osg/Short4, include/osg/UByte4, include/osg/Vec2b, - include/osg/Vec2s, include/osg/Vec3b, include/osg/Vec3s, - include/osg/Vec4b, include/osg/Vec4s, include/osg/Vec4ub, - include/osg/io_utils, src/osg/Array.cpp, src/osg/Geometry.cpp, - src/osgPlugins/3dc/ReaderWriter3DC.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/lib3ds/ReaderWriter3DS.cpp, - src/osgPlugins/osg/Geometry.cpp, src/osgTerrain/DataSet.cpp, - src/osgUtil/Optimizer.cpp, src/osgUtil/Simplifier.cpp, - src/osgUtil/Tesselator.cpp, src/osgUtil/TriStripVisitor.cpp: - Renamed Byte2,3,4 and Short2,3,4 and UByte4 to use the Vec*b, - Vec*s and Vec4ub form +Fri, 13 Mar 2009 11:01:11 +0000 +Checked in by : Robert Osfield +Fixed for division by zero issue. -2005-07-15 10:48 robert +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 :) )." - * include/osgSim/BlinkSequence: From Brede Johansen, fixed range - check +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}) -2005-07-15 09:56 robert - - * src/osgPlugins/ive/ProxyNode.cpp: Fixed bug in ProxyNode write - out where non existant children were written out. - -2005-07-15 08:32 robert - - * include/osg/TexGenNode, src/osgUtil/CullVisitor.cpp: Added - reference frame to TexGenNode - -2005-07-15 08:31 robert - - * examples/osghud/osghud.cpp, - examples/osgprerender/osgprerender.cpp: Cleaned up osghud and - osgprerender examples - -2005-07-14 21:04 robert +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. - * examples/osgpagedlod/osgpagedlod.cpp: Updates +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." -2005-07-14 20:32 robert - * src/osg/PagedLOD.cpp, src/osg/TexGenNode.cpp: Fix - PagedLOD::addChild(,,) so that they allocate the correct size of - range data. -2005-07-14 13:21 robert +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." - * src/osgUtil/RenderStage.cpp: 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-07-14 10:34 robert - * src/osg/LightSource.cpp: Removed the set culling active flag - setting +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. -2005-07-14 10:27 robert +Thu, 12 Mar 2009 17:12:48 +0000 +Checked in by : Robert Osfield +Updated wrappers - * include/osg/Notify, include/osg/Program, src/osg/Notify.cpp, - src/osg/Program.cpp: From Mike Weiblen, addiding of - Program::validateProgram and osg::isNotifyEnabled() method +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 -2005-07-14 10:18 robert - * examples/osgpagedlod/osgpagedlod.cpp: Changed osgpagedlod example - to convert LOD nodes into PagedLOD ones. -2005-07-14 10:17 robert +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. - * include/osg/LightSource: Added missing copy _referenceFrame in - copy constructor +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." -2005-07-10 14:50 robert - * examples/osgshadowtexture/CreateShadowedScene.cpp: Ported - osgshadow across to using new osg::CameraNode -2005-07-09 14:35 robert +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. - * examples/osgdistortion/osgdistortion.cpp: Ported osgdistortion - example across to using osg::CameraNode. +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 -2005-07-09 09:56 robert +Wed, 11 Mar 2009 17:39:08 +0000 +Checked in by : Robert Osfield +changed debug info to output to INFO instaed of NOTICE. - * src/osgPlugins/flt/AttrData.h, src/osgPlugins/flt/flt2osg.cpp: - From Paul Martz, fix to memory leak of StateSet's +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 -2005-07-08 19:45 robert +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() - * src/osgTerrain/DataSet.cpp: From Jason Beverage, fix to setting - of grey band. -2005-07-08 19:33 robert - * include/osgSim/BlinkSequence: From Tom Jolly, added setPulse -2005-07-08 14:46 robert +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. - * include/osg/CameraNode, src/osgUtil/RenderToTextureStage.cpp: - From Marco Jez, added missing method implementations to - CameraNode and - added check to ensure FBO extension is support to - RenderToTextureStage. +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: -2005-07-07 14:14 robert +IF(FOO) + MESSAGE("FOO is true") +ELSE(FOO) + MESSAGE(" ??? ELSE(FOO)??? ") +ENDIF(FOO) - * include/osg/Geometry, src/osgDB/DatabasePager.cpp, - src/osgGA/DriveManipulator.cpp: 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. +with this: -2005-07-05 15:57 robert +IF(FOO) + MESSAGE("FOO is true") +ELSE() + MESSAGE("FOO is clearly false") +ENDIF() - * AUTHORS.txt, VisualStudio/osg/osg.dsp, include/osg/Array, - include/osg/Byte2, include/osg/Byte3, include/osg/Byte4, - include/osg/Geometry, include/osg/Short2, include/osg/Short3, - include/osg/Short4, include/osg/io_utils, src/osg/Array.cpp, - src/osg/Drawable.cpp, src/osg/Geometry.cpp, - src/osgPlugins/ac3d/ac3d.cpp, - src/osgPlugins/flt/GeoSetBuilder.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/Geometry.cpp, src/osgPlugins/ive/IveVersion.h, - src/osgPlugins/osg/Geometry.cpp, src/osgTerrain/DataSet.cpp, - src/osgUtil/Optimizer.cpp, src/osgUtil/SceneView.cpp, - src/osgUtil/Tesselator.cpp: 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. +2. Also adds an ELSEIF() where it makes sense to do so (safe to use as of CMake 2.4.4)" -2005-07-03 19:58 robert - - * src/osgPlugins/xine/ReaderWriterXine.cpp: Changed notice to be an - info message - -2005-07-02 08:11 robert - - * VisualStudio/examples/osgforest/osgforest.dsp, include/osg/Shape, - include/osgTerrain/DataSet, src/osg/Shape.cpp, - src/osgGA/UFOManipulator.cpp, src/osgTerrain/DataSet.cpp: Added - support for equalizing the normals along tile boundaries. - -2005-07-01 09:10 robert - - * examples/osgpoints/osgpoints.cpp: Added support for point sprites - -2005-06-30 09:08 robert - - * examples/osgsimplifier/osgsimplifier.cpp: Added tri sripping and - support for outputing files. - -2005-06-30 07:59 robert - - * VisualStudio/examples/osgspotlight/osgspotlight.dsp: Romoved - redudent gdal link - -2005-06-29 15:52 robert - - * src/osgPlugins/stl/ReaderWriterSTL.cpp: Added smoothing and tri - strip pass. - -2005-06-29 10:23 robert - - * src/osgPlugins/rot/ReaderWriterROT.cpp, - src/osgPlugins/scale/ReaderWriterSCALE.cpp, - src/osgPlugins/trans/ReaderWriterTRANS.cpp: Added support nesting - the parameter specification within a [x,y,z] block and - float parameters - -2005-06-29 10:21 robert - - * src/osgPlugins/osga/OSGA_Archive.h: From Colin McDonald, build - fix for Solaris - -2005-06-28 17:53 robert - - * VisualStudio/icons/osg_icon.rc: From Mike Weiblen, icon file. - -2005-06-28 09:34 robert - - * VisualStudio/applications/osgarchive/osgarchive.dsp, - VisualStudio/applications/osgconv/osgconv.dsp, - VisualStudio/applications/osgdem/osgdem.dsp, - VisualStudio/applications/osgversion/osgversion.dsp, - VisualStudio/applications/osgviewer/osgviewer.dsp, - VisualStudio/applications/osgviewer/resources.rc, - VisualStudio/examples/osgGLUTkeyboardmouse/osgGLUTkeyboardmouse.dsp, - VisualStudio/examples/osgGLUTsimple/osgGLUTsimple.dsp, - VisualStudio/examples/osganimate/osganimate.dsp, - VisualStudio/examples/osgautotransform/osgautotransform.dsp, - VisualStudio/examples/osgbillboard/osgbillboard.dsp, - VisualStudio/examples/osgbluemarble/osgbluemarble.dsp, - VisualStudio/examples/osgcallback/osgcallback.dsp, - VisualStudio/examples/osgcameragroup/osgcameragroup.dsp, - VisualStudio/examples/osgclip/osgclip.dsp, - VisualStudio/examples/osgcluster/osgcluster.dsp, - VisualStudio/examples/osgcopy/osgcopy.dsp, - VisualStudio/examples/osgcubemap/osgcubemap.dsp, - VisualStudio/examples/osgdepthshadow/osgdepthshadow.dsp, - VisualStudio/examples/osgdistortion/osgdistortion.dsp, - VisualStudio/examples/osgfbo/osgfbo.dsp, - VisualStudio/examples/osgforest/osgforest.dsp, - VisualStudio/examples/osgfxbrowser/osgfxbrowser.dsp, - VisualStudio/examples/osggeodemo/osggeodemo.dsp, - VisualStudio/examples/osggeometry/osggeometry.dsp, - VisualStudio/examples/osghangglide/osghangglide.dsp, - VisualStudio/examples/osghud/osghud.dsp, - VisualStudio/examples/osgimpostor/osgimpostor.dsp, - VisualStudio/examples/osgintrospection/example_osgintrospection.dsp, - VisualStudio/examples/osgkeyboard/osgkeyboard.dsp, - VisualStudio/examples/osgkeyboardmouse/osgkeyboardmouse.dsp, - VisualStudio/examples/osglauncher/osglauncher.dsp, - VisualStudio/examples/osglight/osglight.dsp, - VisualStudio/examples/osglightpoint/osglightpoint.dsp, - VisualStudio/examples/osglogo/osglogo.dsp, - VisualStudio/examples/osgmotionblur/osgmotionblur.dsp, - VisualStudio/examples/osgmotionblur/resources.rc, - VisualStudio/examples/osgmultiplecameras/osgmultiplecameras.dsp, - VisualStudio/examples/osgmultitexture/osgmultitexture.dsp, - VisualStudio/examples/osgoccluder/osgoccluder.dsp, - VisualStudio/examples/osgparametric/osgparametric.dsp, - VisualStudio/examples/osgparticle/osgparticledemo.dsp, - VisualStudio/examples/osgparticleeffects/osgparticleeffects.dsp, - VisualStudio/examples/osgpbuffer/osgpbuffer.dsp, - VisualStudio/examples/osgphotoalbum/osgphotoalbum.dsp, - VisualStudio/examples/osgpick/osgpick.dsp, - VisualStudio/examples/osgplanets/osgplanets.dsp, - VisualStudio/examples/osgplanets/resources.rc, - VisualStudio/examples/osgpointsprite/osgpointsprite.dsp, - VisualStudio/examples/osgprerender/osgprerender.dsp, - VisualStudio/examples/osgprerendercubemap/osgprerendercubemap.dsp, - VisualStudio/examples/osgreflect/osgreflect.dsp, - VisualStudio/examples/osgscalarbar/osgscalarbar.dsp, - VisualStudio/examples/osgscribe/osgscribe.dsp, - VisualStudio/examples/osgsequence/osgsequence.dsp, - VisualStudio/examples/osgshaders/osgshaders.dsp, - VisualStudio/examples/osgshadowtexture/osgshadowtexture.dsp, - VisualStudio/examples/osgshape/osgshape.dsp, - VisualStudio/examples/osgsimple/osgsimple.dsp, - VisualStudio/examples/osgsimplepager/osgsimplepager.dsp, - VisualStudio/examples/osgsimplifier/osgsimplifier.dsp, - VisualStudio/examples/osgsimplifier/resources.rc, - VisualStudio/examples/osgsimulation/osgsimulation.dsp, - VisualStudio/examples/osgspheresegment/osgspheresegment.dsp, - VisualStudio/examples/osgspotlight/osgspotlight.dsp, - VisualStudio/examples/osgstereoimage/osgstereoimage.dsp, - VisualStudio/examples/osgteapot/osgteapot.dsp, - VisualStudio/examples/osgtesselate/osgtesselate.dsp, - VisualStudio/examples/osgtesselate/resources.rc, - VisualStudio/examples/osgtext/osgtextdemo.dsp, - VisualStudio/examples/osgtexture1D/osgtexture1D.dsp, - VisualStudio/examples/osgtexture2D/osgtexture2D.dsp, - VisualStudio/examples/osgtexture3D/osgtexture3D.dsp, - VisualStudio/examples/osgtexturerectangle/osgtexturerectangle.dsp, - VisualStudio/examples/osgunittests/osgunittests.dsp, - VisualStudio/examples/osgvertexprogram/osgvertexprogram.dsp, - VisualStudio/examples/osgvolume/osgvolume.dsp, - VisualStudio/examples/osgvolume/resources.rc, - VisualStudio/examples/osgwindows/osgwindows.dsp: 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 - - * examples/osgpoints/osgpoints.cpp: Added / and * controls of the - distance attentuations of the point size extension - -2005-06-27 08:54 robert - - * src/osg/Switch.cpp: Added missing dirtyBound(). - -2005-06-24 20:19 robert - - * src/osgUtil/DelaunayTriangulator.cpp: From David Spilling, fixed - the incircle test so it handles colinear points. - -2005-06-24 19:50 robert - - * src/osgPlugins/osga/OSGA_Archive.cpp, - src/osgPlugins/osga/OSGA_Archive.h: 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. - -2005-06-24 15:39 robert - - * Make/makedefs: 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'." - -2005-06-24 15:34 robert - - * src/osg/Switch.cpp: 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" - -2005-06-24 15:30 robert - - * src/osgDB/DynamicLibrary.cpp: 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-06-24 15:15 robert - - * src/osgTerrain/DataSet.cpp: Moved the working - createPagedLODScene() implemention into createScene() - method replacing the original flaky code. - -2005-06-22 11:26 robert - - * examples/osgparametric/osgparametric.cpp: From Mike Weiblen, - fixes to shaders to correct modification of varying types - -2005-06-22 11:02 robert - - * src/osg/Texture.cpp: Disabled NPO2T on GeforceFX. - -2005-06-22 11:01 robert - - * examples/osgforest/osgforest.cpp: Added experimental OpenGL - shader path for positioning of trees (doens't work yet though..) - -2005-06-21 16:10 robert - - * examples/osgparametric/osgparametric.cpp: Added option for - terrain texturing. - -2005-06-21 15:24 robert - - * examples/osgparametric/osgparametric.cpp: Added matrix and simple - vertex shader paths. - -2005-06-21 15:13 robert - - * examples/osgparametric/osgparametric.cpp: Combined uniforms. - -2005-06-21 12:12 robert - - * examples/osgparametric/osgparametric.cpp: Tweaked the vertex - program. - -2005-06-20 21:10 robert - - * Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgparametric, - VisualStudio/examples/osgparametric/osgparametric.dsp, - examples/osgparametric, examples/osgparametric/GNUmakefile, - examples/osgparametric/GNUmakefile.inst, - examples/osgparametric/osgparametric.cpp: Added very simply - osgparametric example which uses an OpenGL shader program - to create an animated parametric surface. - -2005-06-20 10:38 robert - - * include/osg/Sequence: From Tom Jolly, added method for getting - the number of frames. - -2005-06-20 10:36 robert - * include/osg/Shader, src/osg/Shader.cpp: From Mike Weiblen, - " - adjustments to improve namespacing on VS - - clarify compilation status message" -2005-06-20 10:28 robert +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. - * include/osg/Shader: From Andreas Jochens (submitted by Loic - Dachary), addintion of forward declare - of class Progam; to fix compile problem under gcc4.0/amd64/debian - unstable. +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. -2005-06-20 10:16 robert +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. - * include/osg/FrameBufferObject: From Mike Weiblen, added - OSG_EXPORT to FrameBufferObject files. +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." -2005-06-16 14:01 robert - * examples/osgfbo/osgfbo.cpp, - examples/osgprerender/osgprerender.cpp, - include/osgUtil/RenderToTextureStage, - src/osg/FrameBufferObject.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/RenderToTextureStage.cpp: Further FBO support work. -2005-06-16 13:53 robert +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." - * include/osg/Drawable, src/osg/Drawable.cpp: From Pavel Moloshtan, - added support of Drawable::Extensions::glDeleteQueries() +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 -2005-06-16 11:45 robert +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). - * include/osg/FrameBufferObject, src/osg/FrameBufferObject.cpp: - Added copyright notices. +The correction replaces -2005-06-16 11:42 robert +lhs.getPrimitiveSetList().insert( lhs.getPrimitiveSetList().end(), + rhs.getPrimitiveSetList().begin(), + rhs.getPrimitiveSetList().end() ); - * VisualStudio/examples/osgfbo/osgfbo.dsp, - VisualStudio/osg/osg.dsp, examples/osgfbo/FBOExtensions.cpp, - examples/osgfbo/FBOExtensions.h, - examples/osgfbo/FramebufferAttachment.cpp, - examples/osgfbo/FramebufferAttachment.h, - examples/osgfbo/FramebufferObject.cpp, - examples/osgfbo/FramebufferObject.h, examples/osgfbo/GNUmakefile, - examples/osgfbo/Renderbuffer.cpp, examples/osgfbo/Renderbuffer.h, - examples/osgfbo/osgfbo.cpp, include/osg/CameraNode, - include/osg/FrameBufferObject, src/osg/FrameBufferObject.cpp, - src/osg/GNUmakefile: Moved FBO support from osgfbo example into - core osg. +by + for( primItr=rhs.getPrimitiveSetList().begin(); + primItr!=rhs.getPrimitiveSetList().end(); + ++primItr ) +{ + lhs.addPrimitiveSet(primItr->get()); +}" -2005-06-15 20:06 robert - * examples/osgfbo/osgfbo.cpp, include/osg/CameraNode, - src/osg/CameraNode.cpp: Futher work on FBO support -2005-06-15 20:05 robert +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. - * src/osg/Texture2D.cpp: Added automatic creation of texture when - size is set but not osg::Image is assigned. - This is useful for FBO usage. +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." -2005-06-15 11:49 robert +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()), - * src/osg/ArgumentParser.cpp: 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." +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)." -2005-06-15 10:59 robert - * Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgmultiplecameras, - VisualStudio/examples/osgmultiplecameras/osgmultiplecameras.dsp, - examples/osgmultiplecameras, - examples/osgmultiplecameras/GNUmakefile, - examples/osgmultiplecameras/GNUmakefile.inst, - examples/osgmultiplecameras/osgmultiplecameras.cpp, - include/osg/CameraNode, src/osg/CameraNode.cpp, - src/osgUtil/CullVisitor.cpp: Added osgmultiplecameras example and - support for pre/post multiplaction. -2005-06-14 20:51 robert +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. - * examples/osghud/osghud.cpp, - examples/osgprerender/osgprerender.cpp, include/osg/CameraNode, - include/osgUtil/CullVisitor, include/osgUtil/RenderStage, - src/osg/CameraNode.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/RenderBin.cpp, src/osgUtil/RenderStage.cpp: Work on - the RenderToTexture usage of the new osg::CameraNode. Both osghud - and osgprerender now ported across to osg::CameraNode. +Wed, 11 Mar 2009 10:34:29 +0000 +Checked in by : Robert Osfield +Converted tabs to four spaces -2005-06-14 13:16 robert +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." - * VisualStudio/osg/osg.dsp, include/osg/CameraNode, - include/osg/MatrixTransform, include/osg/NodeVisitor, - src/osg/CameraNode.cpp, src/osg/GNUmakefile: Added - osg::CameraNode. +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." -2005-06-14 09:12 robert - * Make/dependencies, Make/makedirdefs: Removed reference to non - existant AVI plugin -2005-06-14 08:48 robert +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 - * src/osg/PrimitiveSet.cpp: Fixed position of glBindBuffer. +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." -2005-06-13 20:03 robert - * src/osgTerrain/DataSet.cpp: Fixed with the reprojection so that - it doesn't promote all source data to - RGBA, but only does this for RGB data. -2005-06-13 11:14 robert - * src/osgDB/FileUtils.cpp, src/osgPlugins/flt/ReaderWriterATTR.cpp: - From Ken Sewell, fixed for x86_64 build. - -2005-06-09 19:02 robert - - * VisualStudio/VisualStudio.dsw, VisualStudio/examples/osgfbo, - VisualStudio/examples/osgfbo/osgfbo.dsp: From Marco Jez, added - project files for osgfbo example. - -2005-06-09 11:53 robert - - * examples/osgfbo/GNUmakefile, examples/osgfbo/GNUmakefile.inst: - Fixed makefiles - -2005-06-09 11:08 robert - - * Make/makedirdefs, examples/osgfbo, - examples/osgfbo/FBOExtensions.cpp, - examples/osgfbo/FBOExtensions.h, - examples/osgfbo/FramebufferAttachment.cpp, - examples/osgfbo/FramebufferAttachment.h, - examples/osgfbo/FramebufferObject.cpp, - examples/osgfbo/FramebufferObject.h, examples/osgfbo/GNUmakefile, - examples/osgfbo/GNUmakefile.inst, - examples/osgfbo/Renderbuffer.cpp, examples/osgfbo/Renderbuffer.h, - examples/osgfbo/osgfbo.cpp: From Marco Jez, added example that - uses FBO extension to do prerendering. - -2005-06-09 09:27 robert - - * examples/osgmovie/osgmovie.cpp: Added \n to end of a couple - shader source lines. - -2005-06-09 08:29 robert - - * examples/osgmovie/osgmovie.cpp: Added texture2D shader source - -2005-06-08 15:57 robert - - * examples/osgmovie/osgmovie.cpp: Added experiment GLSL fragment - shader to clip out dark areas of videos. - -2005-06-08 13:20 robert - - * src/osgWrappers/osg/Matrixd.cpp, src/osgWrappers/osg/Matrixf.cpp, - src/osgWrappers/osg/Node.cpp, src/osgWrappers/osg/Object.cpp, - src/osgWrappers/osg/Program.cpp, src/osgWrappers/osg/Shader.cpp, - src/osgWrappers/osg/Uniform.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgProducer/EventAdapter.cpp: Updated wrappers. +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. -2005-06-08 13:16 robert - * include/osg/Node, include/osg/Object, include/osg/Program, - include/osg/Shader, include/osg/Uniform, src/osg/Node.cpp, - src/osg/Object.cpp, src/osg/Shader.cpp, src/osg/Uniform.cpp, - src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/Node.cpp, - src/osgPlugins/ive/Object.cpp, src/osgPlugins/ive/Shader.cpp, - src/osgPlugins/ive/Uniform.cpp, src/osgPlugins/osg/Node.cpp, - src/osgPlugins/osg/Object.cpp, src/osgPlugins/osg/Program.cpp, - src/osgPlugins/osg/Shader.cpp, src/osgPlugins/osg/Uniform.cpp: - Moved the set/getName() support from osg::Node etc into the - osg::Obejct - base class -2005-06-08 10:39 robert +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. - * examples/osgunittests/osgunittests.cpp: Added sizeof(std::string) - test to osgunittests -2005-06-08 10:36 robert - * include/osg/Uniform, include/osgProducer/EventAdapter, - src/osg/Uniform.cpp, src/osgPlugins/ive/Uniform.cpp, - src/osgPlugins/osg/Uniform.cpp: From Mike Weiblen, added GLSL - datatypes mat2 and mat3 to osg::Uniform, with .osg and .ive - support +Tue, 10 Mar 2009 17:13:51 +0000 +Checked in by : Robert Osfield +quitened down debug info -2005-06-08 08:33 robert +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 - * src/osgPlugins/rot/ReaderWriterROT.cpp: From Mike Weiblen, - "modified .rot pseudoloader plugin so rotation order actually - matches the embedded documentation" +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. -2005-06-06 10:18 robert +I have added this virtual method to the dot plugin to get an idea how to use these features. - * src/osgPlugins/txp/ReaderWriterTXP.cpp: 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." - -2005-06-05 18:41 robert - - * VisualStudio/MUST_READ_ME.txt: Changed VisualStudio 7.0 reference - to 7.x - -2005-06-05 18:40 robert - - * VisualStudio/MUST_READ_ME.txt: From Adam Richard, fixed typos + - explanation how to use project files. - -2005-05-31 06:21 robert - - * include/osg/Matrixd, include/osg/Matrixf, - src/osg/Matrix_implementation.cpp: 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-05-31 05:48 robert - - * NEWS.txt: Small fixes to NEWS - -2005-05-31 05:47 robert - - * src/osg/DisplaySettings.cpp: Changed char* to const char* - -2005-05-31 05:46 robert - - * src/osgPlugins/flt/flt2osg.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.cpp: From Tom Jolly, - fixes to the mapping of the billboard rotate mode. +With this patch osgconv --formats shows an additional line 'features' for each plugin" -2005-05-31 05:37 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: 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-05-30 16:15 robert - * src/osgDB/DatabasePager.cpp: 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. - -2005-05-26 14:38 robert - - * Make/makedefs: Reverted release number to 0 (development - version). -2005-05-26 13:56 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. - * src/osgPlugins/osgParticle/IO_Program.cpp: From James French, fix - for multiple definitionwhen compiling osg + plugins into - monolithic dll. +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 +" -2005-05-25 20:02 robert - * Make/makedefs, include/osg/Version: Updated Version numbers for - release. - - UPdated wrappers. -2005-05-25 17:19 robert +Tue, 10 Mar 2009 13:46:55 +0000 +Checked in by : Robert Osfield +Added copyright + fixed typo - * src/osgPlugins/net/sockstream.cpp: From Blake Williams, fix for - VS8.0 build +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. -2005-05-25 16:42 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) - * NEWS.txt, VisualStudio/osgParticle/osgParticle.dsp, - VisualStudio/osgPlugins/osgParticle/dot_osgParticle.dsp, - examples/osgcatch/osgcatch.cpp, - examples/osgparticleeffects/osgparticleeffects.cpp, - include/osgParticle/ExplosionDebriEffect, - include/osgParticle/ExplosionDebrisEffect, - src/osgParticle/ExplosionDebriEffect.cpp, - src/osgParticle/ExplosionDebrisEffect.cpp, - src/osgParticle/GNUmakefile, - src/osgPlugins/osgParticle/GNUmakefile, - src/osgPlugins/osgParticle/IO_ExplosionDebriEffect.cpp, - src/osgPlugins/osgParticle/IO_ExplosionDebrisEffect.cpp, - src/osgWrappers/osgParticle/ExplosionDebriEffect.cpp, - src/osgWrappers/osgParticle/ExplosionDebrisEffect.cpp, - src/osgWrappers/osgParticle/GNUmakefile: Renamed - ExplosionDebriEffect to ExplosionDebrisEffect +3.) the other getServer*-functions changed as well, there's even a +getServerProtocol-function -2005-05-25 15:35 robert - * ChangeLog, include/osg/Geometry, src/osg/Geometry.cpp: Updated - change log. - - From Fredric Marmond, changed unsigned int to unsigned long to - avoid compile errors under 64 bit compile. +With these changes filenames/Urls get routed to loaded plugins even with +different protocols than 'http'." -2005-05-25 15:34 robert - * runexamples.bat: Added file to osgkeyboardmouse invokation. -2005-05-25 11:45 robert - * NEWS.txt, doc/Doxyfiles/core_Doxyfile, - include/osgIntrospection/Export, - src/osgWrappers/osgTerrain/DataSet.cpp: Updated doxgen docs. +Tue, 10 Mar 2009 11:14:56 +0000 +Checked in by : Robert Osfield +From Martin Spott, compile fixes for IBM AIX. -2005-05-25 09:50 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. - * include/osg/Image, src/osg/Texture.cpp, - src/osg/TextureRectangle.cpp: Changd unsigned int's to unsigned - char* to fix gcc3.4 64 bit issues. +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. -2005-05-25 09:48 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. - * NEWS.txt: Updated NEWS -2005-05-24 20:45 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. - * NEWS.txt: Updated NEWS +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. +" -2005-05-24 18:57 robert - * include/osg/Export, include/osgDB/Export, include/osgGA/Export, - include/osgParticle/Export, include/osgProducer/Export, - include/osgSim/Export, include/osgTerrain/Export, - include/osgText/Export, include/osgUtil/Export: Added pragma to - remove warnings under VS.8.0 -2005-05-24 15:34 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. - * include/osgTerrain/DataSet, include/osgUtil/RenderBin, - include/osgUtil/RenderStage, src/osgUtil/RenderBin.cpp, - src/osgUtil/RenderStage.cpp, - src/osgWrappers/osgUtil/RenderBin.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp: Updates to clean up - wrapper generation, and to update wrappers +Tue, 10 Mar 2009 10:13:20 +0000 +Checked in by : Robert Osfield +From Stephan Huber, support for Cocoa windowing under OSX. -2005-05-24 15:23 robert +Mon, 9 Mar 2009 23:11:23 +0000 +Checked in by : Robert Osfield +Fixed osgWrappers for osgAnimation library - * src/osgPlugins/ive/ConvexPlanarOccluder.h, - src/osgPlugins/ive/ConvexPlanarPolygon.h, - src/osgPlugins/ive/CoordinateSystemNode.h, - src/osgPlugins/ive/EllipsoidModel.h, - src/osgPlugins/ive/Impostor.h, src/osgPlugins/ive/MultiSwitch.h, - src/osgPlugins/ive/OccluderNode.h, src/osgPlugins/ive/Switch.h: - Did a dos2unix on all files +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 -2005-05-24 10:46 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 +" - * src/osgDB/DatabasePager.cpp: Added check for an empty compile - lists. -2005-05-24 10:37 robert - * src/osgPlugins/flt/ReaderWriterFLT.cpp, - src/osgPlugins/flt/ReaderWriterFLT.h: Added re-entrent mutex to - serialize access to OpenFlight plugin to prevent - any multi-threaded issues. +Mon, 9 Mar 2009 16:53:57 +0000 +Checked in by : Robert Osfield +Tweaked API to get wrappers to build -2005-05-23 11:27 robert +Mon, 9 Mar 2009 16:17:57 +0000 +Checked in by : Robert Osfield +Updated wrappers - * ChangeLog: Updated changelog +Mon, 9 Mar 2009 14:56:20 +0000 +Checked in by : Robert Osfield +Further work on IncrementalCompileOperation -2005-05-23 11:18 robert +Sun, 8 Mar 2009 16:48:48 +0000 +Checked in by : Robert Osfield +Fixed thread exit problems - * runexamples.bat: Added new examples to runexamples +Sun, 8 Mar 2009 12:00:36 +0000 +Checked in by : Robert Osfield +Preliminary work on general purpose incremental compile support in osgViewer. -2005-05-23 11:00 robert +Thu, 5 Mar 2009 15:31:03 +0000 +Checked in by : Robert Osfield +Updated wrappers and dev release version numbers - * NEWS.txt: Updated news. +Thu, 5 Mar 2009 14:33:21 +0000 +Checked in by : Robert Osfield +Cleaned up FindFFmpeg.cmake -2005-05-22 20:30 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 - * examples/osgcatch/osgcatch.cpp: Changed .png files to .jpg to - help save space in OpenSceneGraph-Data. +Wed, 4 Mar 2009 16:35:08 +0000 +Checked in by : Robert Osfield +Added search for headers in ffmpeg directory -2005-05-22 20:19 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. - * examples/osgcatch/osgcatch.cpp: Added scoring, welcome page, - you've lost and you've won pages. +Wed, 4 Mar 2009 16:15:05 +0000 +Checked in by : Robert Osfield +Fixed indentation -2005-05-21 21:19 robert +Wed, 4 Mar 2009 16:03:28 +0000 +Checked in by : Robert Osfield +Removed boost reference and cleaned up debug output - * examples/osgcatch/osgcatch.cpp: Added support for multiple - levels, and exit on lose of all lives or on finishng - the highest level. +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. -2005-05-21 12:57 robert - * examples/osgcatch/osgcatch.cpp: Updates to osgcatch game to allow - different types of falling objects -2005-05-21 09:55 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. - * examples/osghangglide/GliderManipulator.cpp: Maded debugging - output write out at INFO level +Wed, 4 Mar 2009 11:59:15 +0000 +Checked in by : Robert Osfield +Fixes to non swscale code path -2005-05-20 22:15 robert +Wed, 4 Mar 2009 11:46:34 +0000 +Checked in by : Robert Osfield +Fixed img_convert usage - * src/osgWrappers/osgUtil/RenderBin.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp: Tweaked wrappers by hand - to get them to compile +Wed, 4 Mar 2009 11:06:34 +0000 +Checked in by : Robert Osfield +Removed reference to OpenAL plugin -2005-05-20 21:12 robert +Wed, 4 Mar 2009 11:05:55 +0000 +Checked in by : Robert Osfield +Added support for using libswscale - * src/osgPlugins/quicktime/QuicktimeImageStream.cpp, - src/osgPlugins/xine/ReaderWriterXine.cpp, - src/osgWrappers/osgGA/UFOManipulator.cpp, - src/osgWrappers/osgProducer/OsgCameraGroup.cpp, - src/osgWrappers/osgSim/SphereSegment.cpp, - src/osgWrappers/osgUtil/RenderBin.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp, - src/osgWrappers/osgUtil/SceneView.cpp: Updated wrappers. +Tue, 3 Mar 2009 20:59:16 +0000 +Checked in by : Robert Osfield +Added SDL audio path -2005-05-20 21:01 robert +Tue, 3 Mar 2009 20:49:46 +0000 +Checked in by : Robert Osfield +Improved the clean up ordering - * include/osgGA/UFOManipulator, include/osgParticle/ForceOperator, - include/osgParticle/ParticleProcessor, - include/osgParticle/ParticleSystem, - include/osgParticle/ParticleSystemUpdater, - include/osgProducer/OsgCameraGroup, include/osgSim/ScalarBar, - include/osgSim/SphereSegment: Fixed doxygen comments. +Tue, 3 Mar 2009 17:37:48 +0000 +Checked in by : Robert Osfield +Added SDL audio support for reading from ffmpeg movies -2005-05-20 18:35 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 - * VisualStudio/examples/osgpbuffer/osgpbuffer.dsp: Removed - references to removed files. +Tue, 3 Mar 2009 16:51:01 +0000 +Checked in by : Robert Osfield +Introduce FFmpegAudioStream implementation -2005-05-20 15:45 robert +Tue, 3 Mar 2009 14:59:04 +0000 +Checked in by : Robert Osfield +Removed redudent export - * include/osg/Math: Reworking to avoid compile issues under VS6.0. +Tue, 3 Mar 2009 11:52:26 +0000 +Checked in by : Robert Osfield +Added LINK_DIRECTORIES -2005-05-20 11:35 robert +Tue, 3 Mar 2009 11:25:31 +0000 +Checked in by : Robert Osfield +Fixed include list - * Make/makedirdefs, VisualStudio/osgPlugins/dx: Removed remaining - references to old DX writer. +Tue, 3 Mar 2009 10:53:26 +0000 +Checked in by : Robert Osfield +From Ulrich Hertlein, build fixes for OSX. -2005-05-20 11:33 robert +Tue, 3 Mar 2009 09:50:43 +0000 +Checked in by : Robert Osfield +Added ffmpeg to include search paths - * src/osgPlugins/dx: Removed long unused and out of date DX writer - plugin from distribution, will now - be placed on the wiki just in case its needed. +Tue, 3 Mar 2009 09:49:53 +0000 +Checked in by : Robert Osfield +Added ogg to accepted formats -2005-05-20 06:39 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. - * src/osg/Referenced.cpp: Added env var report. +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." -2005-05-19 21:42 robert +Mon, 2 Mar 2009 09:56:39 +0000 +Checked in by : Robert Osfield +From Petr Salinger, fix for build under GNU/kFreeBSD. - * include/osgUtil/SceneView: From Martin Aumueller, fixed copy and - paste error on getActiveUniforms(). +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 -2005-05-19 15:17 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 - * include/osgUtil/RenderBin, include/osgUtil/RenderStage, - src/osgUtil/RenderBin.cpp, src/osgUtil/RenderStage.cpp: 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, 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." -2005-05-19 09:22 robert - * src/osgPlugins/flt/flt2osg.cpp: From Alberto Farre, added support - for caching of ProxyNode children. -2005-05-18 21:45 don +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. - * src/osgProducer/ViewerEventHandler.cpp: Fixed fullscreen toggle - in ViewerEventHandler that assumed the first - RenderSurface was a window (not a pbuffer). +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." -2005-05-18 21:34 don +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 ;)" - * examples/osgpbuffer/osgpbuffer.cpp: 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 -2005-05-18 21:31 robert - * ChangeLog, NEWS.txt, runexamples.bat: Updated NEWS, ChangeLog and - runexamples.bat. -2005-05-18 21:17 robert - * src/osgWrappers/osg/ClearNode.cpp: Updated wrappers. -2005-05-18 19:55 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" - * include/osg/ClearNode, src/osg/ClearNode.cpp, - src/osgPlugins/osg/ClearNode.cpp, src/osgUtil/SceneView.cpp: - Added s/getClearMask() support to osg::ClearNode, - osgUtil::SceneView and the - .osg plugin. -2005-05-18 19:04 robert - * src/osgPlugins/ive/DOFTransform.cpp, - src/osgPlugins/ive/IveVersion.h: 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, 26 Feb 2009 10:48:04 +0000 +Checked in by : Robert Osfield +Addded setting of FREETYPE_INCLUDE_DIRS to Find3rdPartyDependencies.cmake -2005-05-18 18:43 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. - * src/osgPlugins/flt/FltFile.cpp, src/osgPlugins/flt/FltFile.h, - src/osgPlugins/flt/flt2osg.cpp: 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." +Wed, 25 Feb 2009 16:05:12 +0000 +Checked in by : Robert Osfield +Added Cmake support for new ffmpeg plugin -2005-05-18 18:31 robert +Wed, 25 Feb 2009 16:04:48 +0000 +Checked in by : Robert Osfield +From Tanguy Fautre (Aris Technologies), ffmpeg plugin - * src/osg/StateAttribute.cpp, src/osg/Uniform.cpp: Fixed copy and - paste mistakes in setEventCallback methods +Mon, 23 Feb 2009 10:50:42 +0000 +Checked in by : Robert Osfield +Updated version info for 2.9.0 release -2005-05-17 20:12 robert +Mon, 23 Feb 2009 10:41:16 +0000 +Checked in by : Robert Osfield +Updated ChangeLog for 2.9.0 dev release - * src/osg/Texture.cpp: Added RADEON as render type for disabling - mipmapped NPO2T +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. -2005-05-17 15:00 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." - * doc/Doxyfiles/auto_Doxyfile, doc/Doxyfiles/core_Doxyfile: Cleaned - up in prep for release. +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." -2005-05-17 14:25 robert +Fri, 20 Feb 2009 13:58:44 +0000 +Checked in by : Robert Osfield +Added VisualStudio versioning info to plugins - * src/osgUtil/Optimizer.cpp: Improved the handling of data attached - to proxy nodes +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" -2005-05-17 13:50 robert - * src/osgPlugins/osg/ProxyNode.cpp: Changed the default behavior to - not writing out proxynode children. -2005-05-17 13:47 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." - * src/osgPlugins/osg/ProxyNode.cpp: Improved the handling of - writing out of proxy node files. -2005-05-17 13:34 robert - * src/osgPlugins/flt/flt2osg.cpp: 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. +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. " -2005-05-17 13:24 robert - * examples/osgpbuffer/osgpbuffer.cpp: Added destructor to fix - Cygwin build problem. -2005-05-17 11:11 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. - * src/osgWrappers/osg/Texture.cpp: Updated wrappers. +Thu, 19 Feb 2009 17:34:35 +0000 +Checked in by : Robert Osfield +Fixed bug in checking if numRead values. -2005-05-17 11:00 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." - * include/osg/Texture, src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/Texture3D.cpp: 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-05-17 09:53 robert - * NEWS.txt, VisualStudio/applications/osgconv/osgconv.dsp, - applications/osgconv/GNUmakefile, - applications/osgconv/GNUmakefile.inst, - applications/osgconv/GeoSet.cpp, applications/osgconv/GeoSet.h, - applications/osgconv/IO_GeoSet.cpp, - applications/osgconv/osgconv.cpp: Removed old GeoSet backward - compatibility code since its now redudent. +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." -2005-05-17 09:06 robert - * Make/makedefs, src/osgPlugins/net/sockstream.cpp: From Thom - DeCarlo, build fixes for Cygwin. -2005-05-16 18:24 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)." - * NEWS.txt: Fixed name. +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/ +" -2005-05-16 17:37 robert - * NEWS.txt: Update to NEWS w.r.t contributors -2005-05-16 17:17 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. - * include/osg/Version, src/osg/Version.cpp, src/osgDB/Version.cpp, - src/osgGA/Version.cpp, src/osgParticle/Version.cpp, - src/osgProducer/Version.cpp, src/osgSim/Version.cpp, - src/osgTerrain/Version.cpp, src/osgText/Version.cpp, - src/osgUtil/Version.cpp: Bumped version numbers to 0.9.9 in - rediness for 0.9.9 release. - -2005-05-16 16:50 robert - - * ChangeLog, NEWS.txt: Updated NEWS and ChangeLog in prep for - release - -2005-05-16 15:51 robert - - * src/osg/dxtctool.cpp, src/osg/dxtctool.h, - src/osgFX/SpecularHighlights.cpp, src/osgGA/UFOManipulator.cpp, - src/osgSim/SphereSegment.cpp: Warning fixes for IRIX - -2005-05-16 15:50 robert - - * src/osgWrappers/osgUtil/IntersectVisitor.cpp: Updated wrappers - -2005-05-16 14:27 robert - - * include/osgUtil/IntersectVisitor: Changed the getHitList and - getNumHits methods to take const osg::LineSegment* as a - parameter. - -2005-05-16 14:09 robert - - * src/osgTerrain/DataSet.cpp: Workaround for Mipspro compiler bug. - -2005-05-16 11:22 robert - - * src/osgWrappers/osg/ShapeDrawable.cpp: Updated wrappers. - -2005-05-16 11:18 robert - - * include/osg/ShapeDrawable, include/osgDB/Archive, - src/osgTerrain/DataSet.cpp: Fixed method signatures. - -2005-05-16 10:12 robert - - * Make/makedirdefs: Added osgUtil osgDB osgFX osgText osgTerrain - osgGA osgProducer to the list - of wrapper libraries. - -2005-05-16 09:41 robert - - * src/osgWrappers/osg/AlphaFunc.cpp, - src/osgWrappers/osg/AnimationPath.cpp, - src/osgWrappers/osg/ApplicationUsage.cpp, - src/osgWrappers/osg/ArgumentParser.cpp, - src/osgWrappers/osg/Array.cpp, - src/osgWrappers/osg/AutoTransform.cpp, - src/osgWrappers/osg/Billboard.cpp, - src/osgWrappers/osg/BlendColor.cpp, - src/osgWrappers/osg/BlendEquation.cpp, - src/osgWrappers/osg/BlendFunc.cpp, - src/osgWrappers/osg/BoundingBox.cpp, - src/osgWrappers/osg/BoundingSphere.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/ClearNode.cpp, - src/osgWrappers/osg/ClipNode.cpp, - src/osgWrappers/osg/ClipPlane.cpp, - src/osgWrappers/osg/ClusterCullingCallback.cpp, - src/osgWrappers/osg/CollectOccludersVisitor.cpp, - src/osgWrappers/osg/ColorMask.cpp, - src/osgWrappers/osg/ColorMatrix.cpp, - src/osgWrappers/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/osg/ConvexPlanarPolygon.cpp, - src/osgWrappers/osg/CoordinateSystemNode.cpp, - src/osgWrappers/osg/CopyOp.cpp, src/osgWrappers/osg/CullFace.cpp, - src/osgWrappers/osg/CullSettings.cpp, - src/osgWrappers/osg/CullStack.cpp, - src/osgWrappers/osg/CullingSet.cpp, - src/osgWrappers/osg/Depth.cpp, - src/osgWrappers/osg/DisplaySettings.cpp, - src/osgWrappers/osg/DrawPixels.cpp, - src/osgWrappers/osg/Drawable.cpp, src/osgWrappers/osg/Fog.cpp, - src/osgWrappers/osg/FragmentProgram.cpp, - src/osgWrappers/osg/FrameStamp.cpp, - src/osgWrappers/osg/FrontFace.cpp, src/osgWrappers/osg/Geode.cpp, - src/osgWrappers/osg/Geometry.cpp, src/osgWrappers/osg/Group.cpp, - src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/ImageStream.cpp, src/osgWrappers/osg/LOD.cpp, - src/osgWrappers/osg/Light.cpp, - src/osgWrappers/osg/LightModel.cpp, - src/osgWrappers/osg/LightSource.cpp, - src/osgWrappers/osg/LineSegment.cpp, - src/osgWrappers/osg/LineStipple.cpp, - src/osgWrappers/osg/LineWidth.cpp, - src/osgWrappers/osg/LogicOp.cpp, - src/osgWrappers/osg/Material.cpp, src/osgWrappers/osg/Matrix.cpp, - src/osgWrappers/osg/MatrixTransform.cpp, - src/osgWrappers/osg/Matrixd.cpp, src/osgWrappers/osg/Matrixf.cpp, - src/osgWrappers/osg/Multisample.cpp, - src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/NodeCallback.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osg/Object.cpp, - src/osgWrappers/osg/OccluderNode.cpp, - src/osgWrappers/osg/PagedLOD.cpp, src/osgWrappers/osg/Plane.cpp, - src/osgWrappers/osg/Point.cpp, - src/osgWrappers/osg/PointSprite.cpp, - src/osgWrappers/osg/PolygonMode.cpp, - src/osgWrappers/osg/PolygonOffset.cpp, - src/osgWrappers/osg/PolygonStipple.cpp, - src/osgWrappers/osg/Polytope.cpp, - src/osgWrappers/osg/PositionAttitudeTransform.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osg/Program.cpp, - src/osgWrappers/osg/Projection.cpp, - src/osgWrappers/osg/ProxyNode.cpp, src/osgWrappers/osg/Quat.cpp, - src/osgWrappers/osg/RefNodePath.cpp, - src/osgWrappers/osg/Referenced.cpp, - src/osgWrappers/osg/Sequence.cpp, - src/osgWrappers/osg/ShadeModel.cpp, - src/osgWrappers/osg/Shader.cpp, - src/osgWrappers/osg/ShadowVolumeOccluder.cpp, - src/osgWrappers/osg/Shape.cpp, - src/osgWrappers/osg/ShapeDrawable.cpp, - src/osgWrappers/osg/State.cpp, - src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/StateSet.cpp, - src/osgWrappers/osg/Stencil.cpp, src/osgWrappers/osg/Switch.cpp, - src/osgWrappers/osg/TexEnv.cpp, - src/osgWrappers/osg/TexEnvCombine.cpp, - src/osgWrappers/osg/TexEnvFilter.cpp, - src/osgWrappers/osg/TexGen.cpp, - src/osgWrappers/osg/TexGenNode.cpp, - src/osgWrappers/osg/TexMat.cpp, src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osg/Texture1D.cpp, - src/osgWrappers/osg/Texture2D.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/TextureCubeMap.cpp, - src/osgWrappers/osg/TextureRectangle.cpp, - src/osgWrappers/osg/Timer.cpp, src/osgWrappers/osg/Transform.cpp, - src/osgWrappers/osg/UByte4.cpp, src/osgWrappers/osg/Uniform.cpp, - src/osgWrappers/osg/Vec2.cpp, src/osgWrappers/osg/Vec2d.cpp, - src/osgWrappers/osg/Vec2f.cpp, src/osgWrappers/osg/Vec3.cpp, - src/osgWrappers/osg/Vec3d.cpp, src/osgWrappers/osg/Vec3f.cpp, - src/osgWrappers/osg/Vec4.cpp, src/osgWrappers/osg/Vec4d.cpp, - src/osgWrappers/osg/Vec4f.cpp, - src/osgWrappers/osg/VertexProgram.cpp, - src/osgWrappers/osg/Viewport.cpp, - src/osgWrappers/osgDB/Archive.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/DotOsgWrapper.cpp, - src/osgWrappers/osgDB/DynamicLibrary.cpp, - src/osgWrappers/osgDB/Field.cpp, - src/osgWrappers/osgDB/FieldReader.cpp, - src/osgWrappers/osgDB/FieldReaderIterator.cpp, - src/osgWrappers/osgDB/FileUtils.cpp, - src/osgWrappers/osgDB/ImageOptions.cpp, - src/osgWrappers/osgDB/Input.cpp, - src/osgWrappers/osgDB/Output.cpp, - src/osgWrappers/osgDB/ParameterOutput.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgDB/ReentrantMutex.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgDB/SharedStateManager.cpp, - src/osgWrappers/osgFX/AnisotropicLighting.cpp, - src/osgWrappers/osgFX/BumpMapping.cpp, - src/osgWrappers/osgFX/Cartoon.cpp, - src/osgWrappers/osgFX/Effect.cpp, - src/osgWrappers/osgFX/MultiTextureControl.cpp, - src/osgWrappers/osgFX/Registry.cpp, - src/osgWrappers/osgFX/Scribe.cpp, - src/osgWrappers/osgFX/SpecularHighlights.cpp, - src/osgWrappers/osgFX/Technique.cpp, - src/osgWrappers/osgFX/Validator.cpp, - src/osgWrappers/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/osgGA/DriveManipulator.cpp, - src/osgWrappers/osgGA/EventVisitor.cpp, - src/osgWrappers/osgGA/FlightManipulator.cpp, - src/osgWrappers/osgGA/GUIActionAdapter.cpp, - src/osgWrappers/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/osgGA/GUIEventHandler.cpp, - src/osgWrappers/osgGA/GUIEventHandlerVisitor.cpp, - src/osgWrappers/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/osgGA/MatrixManipulator.cpp, - src/osgWrappers/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/osgGA/SetSceneViewVisitor.cpp, - src/osgWrappers/osgGA/StateSetManipulator.cpp, - src/osgWrappers/osgGA/TerrainManipulator.cpp, - src/osgWrappers/osgGA/TrackballManipulator.cpp, - src/osgWrappers/osgGA/UFOManipulator.cpp, - src/osgWrappers/osgParticle/AccelOperator.cpp, - src/osgWrappers/osgParticle/AngularAccelOperator.cpp, - src/osgWrappers/osgParticle/CenteredPlacer.cpp, - src/osgWrappers/osgParticle/Counter.cpp, - src/osgWrappers/osgParticle/Emitter.cpp, - src/osgWrappers/osgParticle/ExplosionDebriEffect.cpp, - src/osgWrappers/osgParticle/ExplosionEffect.cpp, - src/osgWrappers/osgParticle/FireEffect.cpp, - src/osgWrappers/osgParticle/FluidFrictionOperator.cpp, - src/osgWrappers/osgParticle/FluidProgram.cpp, - src/osgWrappers/osgParticle/ForceOperator.cpp, - src/osgWrappers/osgParticle/Interpolator.cpp, - src/osgWrappers/osgParticle/LinearInterpolator.cpp, - src/osgWrappers/osgParticle/ModularEmitter.cpp, - src/osgWrappers/osgParticle/ModularProgram.cpp, - src/osgWrappers/osgParticle/MultiSegmentPlacer.cpp, - src/osgWrappers/osgParticle/Operator.cpp, - src/osgWrappers/osgParticle/Particle.cpp, - src/osgWrappers/osgParticle/ParticleEffect.cpp, - src/osgWrappers/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/osgParticle/Placer.cpp, - src/osgWrappers/osgParticle/PointPlacer.cpp, - src/osgWrappers/osgParticle/Program.cpp, - src/osgWrappers/osgParticle/RadialShooter.cpp, - src/osgWrappers/osgParticle/RandomRateCounter.cpp, - src/osgWrappers/osgParticle/SectorPlacer.cpp, - src/osgWrappers/osgParticle/SegmentPlacer.cpp, - src/osgWrappers/osgParticle/Shooter.cpp, - src/osgWrappers/osgParticle/SmokeEffect.cpp, - src/osgWrappers/osgParticle/VariableRateCounter.cpp, - src/osgWrappers/osgParticle/range.cpp, - src/osgWrappers/osgProducer/EventAdapter.cpp, - src/osgWrappers/osgProducer/KeyboardMouseCallback.cpp, - src/osgWrappers/osgProducer/OsgCameraGroup.cpp, - src/osgWrappers/osgProducer/OsgSceneHandler.cpp, - src/osgWrappers/osgProducer/Viewer.cpp, - src/osgWrappers/osgProducer/ViewerEventHandler.cpp, - src/osgWrappers/osgSim/BlinkSequence.cpp, - src/osgWrappers/osgSim/ColorRange.cpp, - src/osgWrappers/osgSim/DOFTransform.cpp, - src/osgWrappers/osgSim/GeographicLocation.cpp, - src/osgWrappers/osgSim/Impostor.cpp, - src/osgWrappers/osgSim/ImpostorSprite.cpp, - src/osgWrappers/osgSim/InsertImpostorsVisitor.cpp, - src/osgWrappers/osgSim/LightPoint.cpp, - src/osgWrappers/osgSim/LightPointNode.cpp, - src/osgWrappers/osgSim/LightPointSystem.cpp, - src/osgWrappers/osgSim/MultiSwitch.cpp, - src/osgWrappers/osgSim/ScalarBar.cpp, - src/osgWrappers/osgSim/ScalarsToColors.cpp, - src/osgWrappers/osgSim/Sector.cpp, - src/osgWrappers/osgSim/SphereSegment.cpp, - src/osgWrappers/osgSim/VisibilityGroup.cpp, - src/osgWrappers/osgTerrain/DataSet.cpp, - src/osgWrappers/osgTerrain/HeightFieldNode.cpp, - src/osgWrappers/osgTerrain/HeightFieldRenderer.cpp, - src/osgWrappers/osgText/Export.cpp, - src/osgWrappers/osgText/Font.cpp, - src/osgWrappers/osgText/String.cpp, - src/osgWrappers/osgText/Text.cpp, - src/osgWrappers/osgUtil/CubeMapGenerator.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/DelaunayTriangulator.cpp, - src/osgWrappers/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/osgUtil/HalfWayMapGenerator.cpp, - src/osgWrappers/osgUtil/HighlightMapGenerator.cpp, - src/osgWrappers/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp, - src/osgWrappers/osgUtil/ReflectionMapGenerator.cpp, - src/osgWrappers/osgUtil/RenderBin.cpp, - src/osgWrappers/osgUtil/RenderGraph.cpp, - src/osgWrappers/osgUtil/RenderLeaf.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp, - src/osgWrappers/osgUtil/RenderStageLighting.cpp, - src/osgWrappers/osgUtil/RenderToTextureStage.cpp, - src/osgWrappers/osgUtil/SceneView.cpp, - src/osgWrappers/osgUtil/Simplifier.cpp, - src/osgWrappers/osgUtil/SmoothingVisitor.cpp, - src/osgWrappers/osgUtil/Statistics.cpp, - src/osgWrappers/osgUtil/TangentSpaceGenerator.cpp, - src/osgWrappers/osgUtil/Tesselator.cpp, - src/osgWrappers/osgUtil/TransformAttributeFunctor.cpp, - src/osgWrappers/osgUtil/TransformCallback.cpp, - src/osgWrappers/osgUtil/TriStripVisitor.cpp, - src/osgWrappers/osgUtil/UpdateVisitor.cpp: Updated wrappers - -2005-05-15 20:32 robert - - * include/osgDB/DatabasePager, - include/osgIntrospection/ReflectionMacros, - include/osgIntrospection/Reflector, - include/osgIntrospection/TypedMethodInfo, - include/osgProducer/OsgCameraGroup, include/osgText/Font: From - Marco Jez, fixes to/and for osgIntrospection. - -2005-05-15 20:31 robert - - * include/osg/Group: Moved computeBounds into public scope. - -2005-05-15 05:47 robert - - * include/osg/Geode: From John Grant, added getDrawableList() - const. - -2005-05-14 18:57 robert - - * include/osgTerrain/DataSet: From Marco Jez, added export symbols. - -2005-05-14 14:31 robert - - * include/osgGA/UFOManipulator: 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 - - * src/osgSim/Impostor.cpp: Yet another using namespace osg to try - and work out the spat betwen MipsPro and VS.6.0. - -2005-05-13 21:38 robert - - * include/osg/ArgumentParser, include/osg/PolygonMode, - include/osg/Uniform: From Tom Jolly, removing trailing comma for - last entries in enums to fix - IRIX compile warnings. - -2005-05-13 14:54 robert - - * VisualStudio/applications/osgdem/osgdem.dsp, - VisualStudio/examples/osgGLUTkeyboardmouse/osgGLUTkeyboardmouse.dsp, - VisualStudio/examples/osgGLUTsimple/osgGLUTsimple.dsp, - VisualStudio/osgPlugins/freetype/freetype.dsp, - VisualStudio/osgPlugins/gif/gif.dsp, - VisualStudio/osgPlugins/jpeg/jpeg.dsp, - VisualStudio/osgPlugins/png/png.dsp, - VisualStudio/osgPlugins/tiff/tiff.dsp, - VisualStudio/osgTerrain/osgTerrain.dsp: From Mike Weiblen, - updated project files to link to new 3rdParty libs - -2005-05-13 14:36 robert - - * src/osgWrappers/osgUtil/Optimizer.cpp, - src/osgWrappers/osgUtil/TriStripVisitor.cpp: Updated wrappers. - -2005-05-13 13:29 robert - - * include/osgUtil/Optimizer, include/osgUtil/TriStripVisitor, - src/osgUtil/Optimizer.cpp: Moved BaseOptimizerVisitor out of - Optimizer into osgUtil namespace to try and - get round MipsPro compile problems. - -2005-05-13 12:06 robert - - * src/osgPlugins/dxf/dxfFile.h, src/osgPlugins/dxf/dxfSection.h: - Refinement of includes to help IRIX build +Wed, 11 Feb 2009 20:26:06 +0000 +Checked in by : Robert Osfield +Fixed typo -2005-05-13 11:11 robert +Wed, 11 Feb 2009 20:02:45 +0000 +Checked in by : Robert Osfield +Updated wrappers - * include/osg/Math, include/osgSim/ImpostorSprite, - src/osgFX/MultiTextureControl.cpp, src/osgSim/ImpostorSprite.cpp, - src/osgText/Text.cpp: Cross platform build fixes. +Wed, 11 Feb 2009 19:55:11 +0000 +Checked in by : Robert Osfield +Updated wrappers to works with doxygen 1.5.8 output. -2005-05-13 09:52 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. - * src/osgPlugins/dxf/dxfEntity.h: Added #include "dxfBlock.h" +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). -2005-05-13 09:05 robert +I tested it under WinXP with zero, one and multiple videos. - * VisualStudio/osgPlugins/ive/ive.dsp: Added /Zm200 +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? +" -2005-05-13 08:54 robert - * src/osgDB/ReadFile.cpp: Removed unused function. -2005-05-12 20:59 robert +Wed, 11 Feb 2009 13:33:40 +0000 +Checked in by : Robert Osfield +From Sukender, changed doxygen verbosity to quite - * include/osg/Shader: From Mike Weiblen, Added queries of - compilation state to Shader (for symmetry with Program's - link state queries) +Wed, 11 Feb 2009 12:10:52 +0000 +Checked in by : Robert Osfield +Added brackets around (unsigned int) to avoid IRIX compile error. -2005-05-12 20:46 robert +Wed, 11 Feb 2009 10:41:55 +0000 +Checked in by : Robert Osfield +Fixes for doxgen warnings - * src/osgPlugins/flt/flt2osg.cpp: fixed warning. +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." -2005-05-12 20:35 robert - * include/osg/State: From Jan Ciger, gcc 4.0 compile fix. - -2005-05-12 20:06 robert - - * src/osgWrappers/osg/Billboard.cpp, - src/osgWrappers/osg/BoundingSphere.cpp, - src/osgWrappers/osg/ClipNode.cpp, - src/osgWrappers/osg/DrawPixels.cpp, - src/osgWrappers/osg/Drawable.cpp, src/osgWrappers/osg/Geode.cpp, - src/osgWrappers/osg/LOD.cpp, src/osgWrappers/osg/LightSource.cpp, - src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/OccluderNode.cpp, - src/osgWrappers/osg/ProxyNode.cpp, - src/osgWrappers/osg/ShapeDrawable.cpp, - src/osgWrappers/osg/Switch.cpp, - src/osgWrappers/osg/Transform.cpp, - src/osgWrappers/osgGA/UFOManipulator.cpp, - src/osgWrappers/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/osgSim/Impostor.cpp, - src/osgWrappers/osgSim/ImpostorSprite.cpp, - src/osgWrappers/osgSim/LightPointNode.cpp, - src/osgWrappers/osgText/Text.cpp: Updated wrappers. - -2005-05-12 20:03 robert - * src/osgPlugins/ive/MatrixTransform.cpp: Fixed pairing of write - and read of Matrixd +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 -2005-05-12 19:14 robert - * VisualStudio/examples/osgpbuffer/osgpbuffer.dsp: From Mike - Weiblen, osgpbuffer now needs to link w/ Producer (fixed .dsp - file attached) -2005-05-12 19:05 robert - * src/osg/Uniform.cpp: Added missing Uniform(Matrixd) constructor - implementation +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 -2005-05-12 15:51 robert - * src/osgPlugins/flt/flt2osg.cpp: 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. " -2005-05-12 14:48 robert - * include/osg/Drawable, include/osg/Node, - src/osgPlugins/ive/Drawable.cpp, src/osgPlugins/ive/Node.cpp, - src/osgPlugins/osg/Drawable.cpp, src/osgPlugins/osg/Node.cpp: - Added IO support for new intialBound and callbacks to .osg, and - initialBound to .ive +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 -2005-05-12 14:03 robert +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. " - * applications/osgconv/GeoSet.cpp, applications/osgconv/GeoSet.h, - examples/osgteapot/osgteapot.cpp, include/osg/Billboard, - include/osg/BoundingSphere, include/osg/ClipNode, - include/osg/DrawPixels, include/osg/Drawable, include/osg/Geode, - include/osg/Group, include/osg/LOD, include/osg/LightSource, - include/osg/Node, include/osg/OccluderNode, - include/osg/ProxyNode, include/osg/ShapeDrawable, - include/osg/Switch, include/osg/Transform, - include/osgParticle/ParticleProcessor, - include/osgParticle/ParticleSystem, - include/osgParticle/ParticleSystemUpdater, - include/osgSim/Impostor, include/osgSim/ImpostorSprite, - include/osgSim/LightPointNode, include/osgText/Text, - src/osg/Billboard.cpp, src/osg/ClipNode.cpp, - src/osg/DrawPixels.cpp, src/osg/Drawable.cpp, src/osg/Geode.cpp, - src/osg/Group.cpp, src/osg/LOD.cpp, src/osg/LightSource.cpp, - src/osg/Node.cpp, src/osg/OccluderNode.cpp, - src/osg/ProxyNode.cpp, src/osg/ShapeDrawable.cpp, - src/osg/Switch.cpp, src/osg/Transform.cpp, - src/osgParticle/ParticleProcessor.cpp, - src/osgParticle/ParticleSystem.cpp, - src/osgParticle/ParticleSystemUpdater.cpp, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/txp/TXPNode.cpp, src/osgPlugins/txp/TXPNode.h, - src/osgSim/Impostor.cpp, src/osgSim/ImpostorSprite.cpp, - src/osgSim/LightPointDrawable.cpp, - src/osgSim/LightPointDrawable.h, src/osgSim/LightPointNode.cpp, - src/osgSim/SphereSegment.cpp, src/osgText/Text.cpp: 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-05-12 08:58 robert - - * src/osgParticle/ParticleEffect.cpp: Added setTextureFileName - method. - -2005-05-12 08:54 robert - - * src/osg/Program.cpp, src/osg/Shader.cpp, src/osg/State.cpp: Added - clear of lazy uniform updating structure on relink, also added - debug - output of shader being compiled. - -2005-05-12 07:47 robert - - * include/osg/GL2Extensions, include/osg/Uniform: Moved OpenGL2 - definitions from Uniform header to GL2Extensions - -2005-05-11 21:36 robert - - * src/osgWrappers/osg/Shader.cpp: Updated wrappers. - -2005-05-11 21:06 robert - - * include/osg/GL2Extensions, include/osg/Shader: Added missing - required includes - -2005-05-11 20:37 robert - - * include/osg/GL2Extensions, include/osg/Shader: Compile fix. - -2005-05-11 20:05 robert - - * src/osgWrappers/osg/Program.cpp, src/osgWrappers/osg/Shader.cpp, - src/osgWrappers/osg/Uniform.cpp, - src/osgWrappers/osgParticle/ParticleEffect.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp: Updated wrappers - -2005-05-11 19:59 robert - - * include/osg/GL2Extensions, include/osg/Program, - include/osg/Shader, include/osg/Uniform: Moved GL2Extensions back - out of Program and into its own header file. - -2005-05-11 19:34 robert - - * src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/TXPArchive.h, src/osgPlugins/txp/TXPNode.h: - 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." - -2005-05-11 19:32 robert - - * src/osg/Program.cpp, src/osg/Shader.cpp: Changed the info log so - that it output to INFO on success, to WARN when an - error has occured. - -2005-05-11 19:14 robert - - * Make/makedirdefs, - VisualStudio/examples/osgpbuffer/osgpbuffer.dsp, - examples/osgpbuffer/GNUmakefile, - examples/osgpbuffer/GNUmakefile.inst, - examples/osgpbuffer/RenderToTextureStage.cpp, - examples/osgpbuffer/RenderToTextureStage.h, - examples/osgpbuffer/osgpbuffer.cpp, - examples/osgpbuffer/pbuffer.cpp, examples/osgpbuffer/pbuffer.h: - 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). - -2005-05-11 16:05 robert - - * src/osgParticle/ExplosionDebriEffect.cpp, - src/osgParticle/ExplosionEffect.cpp, - src/osgParticle/FireEffect.cpp, src/osgParticle/SmokeEffect.cpp, - src/osgPlugins/osgParticle/IO_ParticleEffect.cpp: Added .osg - support for new ParticleEffect::s/getDefaultParticleTemplate. +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 -2005-05-11 15:26 robert - * include/osgParticle/ParticleEffect, - src/osgParticle/ExplosionDebriEffect.cpp, - src/osgParticle/ExplosionEffect.cpp, - src/osgParticle/FireEffect.cpp, - src/osgParticle/ParticleEffect.cpp, - src/osgParticle/SmokeEffect.cpp: Added support for setting the - texture filename and more fine control over - the particle template used in ParticleEffects -2005-05-11 13:40 robert - * src/osgPlugins/osg/Uniform.cpp: Fixed compile warning. +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 -2005-05-11 13:37 robert +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." - * include/osg/Uniform, src/osg/Uniform.cpp, - src/osgPlugins/ive/DOFTransform.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/MatrixTransform.cpp, - src/osgPlugins/ive/TexMat.cpp, src/osgPlugins/ive/Uniform.cpp: - Completed GLSL support in .ive +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. " -2005-05-11 11:42 robert - - * src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/Program.cpp, src/osgPlugins/ive/Shader.cpp, - src/osgPlugins/ive/StateSet.cpp, src/osgPlugins/ive/Uniform.cpp: - Further work on GLSL support in .ive - -2005-05-11 11:41 robert - - * include/osg/Program, src/osg/Program.cpp, - src/osgPlugins/osg/Program.cpp, src/osgUtil/SceneView.cpp: - Cleaned up API of BindAttributeLocation, added deletion of shader - objects. - -2005-05-10 20:20 robert - - * VisualStudio/osgPlugins/ive/ive.dsp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/ive/IveVersion.h, - src/osgPlugins/ive/Program.cpp, src/osgPlugins/ive/Program.h, - src/osgPlugins/ive/ReadWrite.h, src/osgPlugins/ive/Shader.cpp, - src/osgPlugins/ive/Shader.h, src/osgPlugins/ive/StateSet.cpp, - src/osgPlugins/ive/Uniform.cpp, src/osgPlugins/ive/Uniform.h: Put - in place the class to implement GLSL support in .ive - -2005-05-10 18:21 robert - - * src/osg/Program.cpp: 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. - -2005-05-10 16:13 robert - - * src/osgPlugins/obj/obj.cpp: Added tab to space converted to .obj - plugin - -2005-05-10 13:56 robert - - * include/osg/State, src/osg/State.cpp: Added support for PROTECTED - and OVERRIDE to uniforms. - -2005-05-10 10:01 robert - - * src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/Texture.cpp: - From Farshid Lashkari, bumped IVE version number to 9, and added - support in Texture for - _borderWidth - _useHardwareMipMapGeneration - _unrefImageDataAfterApply - _clientStorageHint - _resizeNonPowerOfTwoHint - -2005-05-10 09:07 robert - - * Make/dolink.sh: Changed -ne to $LINK_ECHO_OPTION to fix cross - platform compile issues - -2005-05-10 08:07 robert - - * src/osgPlugins/osg/Texture.cpp: From Farshid Lashkari, and non - power of two resize hint support to .osg ascii - -2005-05-09 15:29 robert - - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp: Added code - to prevent ProxyNode's from been "flattened" by - osgUtil::Optimizer::FlattenStaticTransforms. - -2005-05-09 13:09 robert - - * examples/osgforest/osgforest.cpp, - examples/osgparticleeffects/osgparticleeffects.cpp, - examples/osgshadowtexture/osgshadowtexture.cpp, - examples/osgshape/osgshape.cpp, - examples/osgspheresegment/osgspheresegment.cpp, - examples/osgspotlight/osgspotlight.cpp, - include/osg/AnimationPath, include/osg/Billboard, - include/osg/LightSource, include/osg/Shape, include/osg/StateSet, - include/osg/Texture2D, include/osg/Transform, - include/osgProducer/OsgCameraGroup, include/osgText/Font, - include/osgText/Text, include/osgUtil/RenderBin, - include/osgUtil/RenderStage, include/osgUtil/SceneView, - src/osgPlugins/osg/Shape.cpp, src/osgWrappers/osg/Shape.cpp, - src/osgWrappers/osg/Texture2D.cpp: Removed deprecated API in - preparation for 0.9.9 release. - -2005-05-09 10:17 robert - - * Make/makedirdefs, src/osgWrappers/osgDB, - src/osgWrappers/osgDB/Archive.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/DotOsgWrapper.cpp, - src/osgWrappers/osgDB/DynamicLibrary.cpp, - src/osgWrappers/osgDB/Field.cpp, - src/osgWrappers/osgDB/FieldReader.cpp, - src/osgWrappers/osgDB/FieldReaderIterator.cpp, - src/osgWrappers/osgDB/FileUtils.cpp, - src/osgWrappers/osgDB/GNUmakefile, - src/osgWrappers/osgDB/ImageOptions.cpp, - src/osgWrappers/osgDB/Input.cpp, - src/osgWrappers/osgDB/Output.cpp, - src/osgWrappers/osgDB/ParameterOutput.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgDB/ReentrantMutex.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgDB/SharedStateManager.cpp, - src/osgWrappers/osgFX, - src/osgWrappers/osgFX/AnisotropicLighting.cpp, - src/osgWrappers/osgFX/BumpMapping.cpp, - src/osgWrappers/osgFX/Cartoon.cpp, - src/osgWrappers/osgFX/Effect.cpp, - src/osgWrappers/osgFX/GNUmakefile, - src/osgWrappers/osgFX/MultiTextureControl.cpp, - src/osgWrappers/osgFX/Registry.cpp, - src/osgWrappers/osgFX/Scribe.cpp, - src/osgWrappers/osgFX/SpecularHighlights.cpp, - src/osgWrappers/osgFX/Technique.cpp, - src/osgWrappers/osgFX/Validator.cpp, src/osgWrappers/osgGA, - src/osgWrappers/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/osgGA/DriveManipulator.cpp, - src/osgWrappers/osgGA/EventVisitor.cpp, - src/osgWrappers/osgGA/FlightManipulator.cpp, - src/osgWrappers/osgGA/GNUmakefile, - src/osgWrappers/osgGA/GUIActionAdapter.cpp, - src/osgWrappers/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/osgGA/GUIEventHandler.cpp, - src/osgWrappers/osgGA/GUIEventHandlerVisitor.cpp, - src/osgWrappers/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/osgGA/MatrixManipulator.cpp, - src/osgWrappers/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/osgGA/SetSceneViewVisitor.cpp, - src/osgWrappers/osgGA/StateSetManipulator.cpp, - src/osgWrappers/osgGA/TerrainManipulator.cpp, - src/osgWrappers/osgGA/TrackballManipulator.cpp, - src/osgWrappers/osgGA/UFOManipulator.cpp, - src/osgWrappers/osgParticle, - src/osgWrappers/osgParticle/AccelOperator.cpp, - src/osgWrappers/osgParticle/AngularAccelOperator.cpp, - src/osgWrappers/osgParticle/CenteredPlacer.cpp, - src/osgWrappers/osgParticle/Counter.cpp, - src/osgWrappers/osgParticle/Emitter.cpp, - src/osgWrappers/osgParticle/ExplosionDebriEffect.cpp, - src/osgWrappers/osgParticle/ExplosionEffect.cpp, - src/osgWrappers/osgParticle/FireEffect.cpp, - src/osgWrappers/osgParticle/FluidFrictionOperator.cpp, - src/osgWrappers/osgParticle/FluidProgram.cpp, - src/osgWrappers/osgParticle/ForceOperator.cpp, - src/osgWrappers/osgParticle/GNUmakefile, - src/osgWrappers/osgParticle/Interpolator.cpp, - src/osgWrappers/osgParticle/LinearInterpolator.cpp, - src/osgWrappers/osgParticle/ModularEmitter.cpp, - src/osgWrappers/osgParticle/ModularProgram.cpp, - src/osgWrappers/osgParticle/MultiSegmentPlacer.cpp, - src/osgWrappers/osgParticle/Operator.cpp, - src/osgWrappers/osgParticle/Particle.cpp, - src/osgWrappers/osgParticle/ParticleEffect.cpp, - src/osgWrappers/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/osgParticle/Placer.cpp, - src/osgWrappers/osgParticle/PointPlacer.cpp, - src/osgWrappers/osgParticle/Program.cpp, - src/osgWrappers/osgParticle/RadialShooter.cpp, - src/osgWrappers/osgParticle/RandomRateCounter.cpp, - src/osgWrappers/osgParticle/SectorPlacer.cpp, - src/osgWrappers/osgParticle/SegmentPlacer.cpp, - src/osgWrappers/osgParticle/Shooter.cpp, - src/osgWrappers/osgParticle/SmokeEffect.cpp, - src/osgWrappers/osgParticle/VariableRateCounter.cpp, - src/osgWrappers/osgParticle/range.cpp, - src/osgWrappers/osgProducer, - src/osgWrappers/osgProducer/EventAdapter.cpp, - src/osgWrappers/osgProducer/GNUmakefile, - src/osgWrappers/osgProducer/KeyboardMouseCallback.cpp, - src/osgWrappers/osgProducer/OsgCameraGroup.cpp, - src/osgWrappers/osgProducer/OsgSceneHandler.cpp, - src/osgWrappers/osgProducer/Viewer.cpp, - src/osgWrappers/osgProducer/ViewerEventHandler.cpp, - src/osgWrappers/osgSim, src/osgWrappers/osgSim/BlinkSequence.cpp, - src/osgWrappers/osgSim/ColorRange.cpp, - src/osgWrappers/osgSim/DOFTransform.cpp, - src/osgWrappers/osgSim/GNUmakefile, - src/osgWrappers/osgSim/GeographicLocation.cpp, - src/osgWrappers/osgSim/Impostor.cpp, - src/osgWrappers/osgSim/ImpostorSprite.cpp, - src/osgWrappers/osgSim/InsertImpostorsVisitor.cpp, - src/osgWrappers/osgSim/LightPoint.cpp, - src/osgWrappers/osgSim/LightPointNode.cpp, - src/osgWrappers/osgSim/LightPointSystem.cpp, - src/osgWrappers/osgSim/MultiSwitch.cpp, - src/osgWrappers/osgSim/ScalarBar.cpp, - src/osgWrappers/osgSim/ScalarsToColors.cpp, - src/osgWrappers/osgSim/Sector.cpp, - src/osgWrappers/osgSim/SphereSegment.cpp, - src/osgWrappers/osgSim/VisibilityGroup.cpp, - src/osgWrappers/osgTerrain, - src/osgWrappers/osgTerrain/DataSet.cpp, - src/osgWrappers/osgTerrain/GNUmakefile, - src/osgWrappers/osgTerrain/HeightFieldNode.cpp, - src/osgWrappers/osgTerrain/HeightFieldRenderer.cpp, - src/osgWrappers/osgText, src/osgWrappers/osgText/Export.cpp, - src/osgWrappers/osgText/Font.cpp, - src/osgWrappers/osgText/GNUmakefile, - src/osgWrappers/osgText/String.cpp, - src/osgWrappers/osgText/Text.cpp, src/osgWrappers/osgUtil, - src/osgWrappers/osgUtil/CubeMapGenerator.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/DelaunayTriangulator.cpp, - src/osgWrappers/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/osgUtil/GNUmakefile, - src/osgWrappers/osgUtil/HalfWayMapGenerator.cpp, - src/osgWrappers/osgUtil/HighlightMapGenerator.cpp, - src/osgWrappers/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp, - src/osgWrappers/osgUtil/ReflectionMapGenerator.cpp, - src/osgWrappers/osgUtil/RenderBin.cpp, - src/osgWrappers/osgUtil/RenderGraph.cpp, - src/osgWrappers/osgUtil/RenderLeaf.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp, - src/osgWrappers/osgUtil/RenderStageLighting.cpp, - src/osgWrappers/osgUtil/RenderToTextureStage.cpp, - src/osgWrappers/osgUtil/SceneView.cpp, - src/osgWrappers/osgUtil/Simplifier.cpp, - src/osgWrappers/osgUtil/SmoothingVisitor.cpp, - src/osgWrappers/osgUtil/Statistics.cpp, - src/osgWrappers/osgUtil/TangentSpaceGenerator.cpp, - src/osgWrappers/osgUtil/Tesselator.cpp, - src/osgWrappers/osgUtil/TransformAttributeFunctor.cpp, - src/osgWrappers/osgUtil/TransformCallback.cpp, - src/osgWrappers/osgUtil/TriStripVisitor.cpp, - src/osgWrappers/osgUtil/UpdateVisitor.cpp: 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. - -2005-05-08 19:21 robert - - * src/osgGA/DriveManipulator.cpp, src/osgGA/FlightManipulator.cpp, - src/osgUtil/SceneView.cpp: Removed debug info - -2005-05-08 18:37 robert - - * src/osgWrappers/osg/Geode.cpp, src/osgWrappers/osg/Group.cpp, - src/osgWrappers/osg/Node.cpp, src/osgWrappers/osg/Object.cpp, - src/osgWrappers/osg/Program.cpp, - src/osgWrappers/osg/StateSet.cpp, - src/osgWrappers/osg/Texture.cpp, src/osgWrappers/osg/Uniform.cpp: - Updated osgWrappers. - -2005-05-08 15:24 robert - - * src/osg/DisplaySettings.cpp: Added missing copy of _stereo - -2005-05-07 20:47 robert - - * applications/osgviewer/osgviewer.cpp, - examples/osghangglide/osghangglide.cpp, - examples/osgwindows/osgwindows.cpp, include/osg/Drawable, - include/osg/Geode, include/osg/Group, include/osg/Node, - include/osg/Object, include/osgDB/Registry, - include/osgProducer/OsgCameraGroup, - include/osgProducer/OsgSceneHandler, include/osgText/Font, - include/osgText/Text, runexamples.bat, src/osg/Drawable.cpp, - src/osg/Geode.cpp, src/osg/Group.cpp, src/osg/Node.cpp, - src/osgDB/Registry.cpp, src/osgProducer/OsgCameraGroup.cpp, - src/osgProducer/OsgSceneHandler.cpp, src/osgText/Text.cpp, - src/osgUtil/SceneView.cpp: 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. - -2005-05-07 09:17 robert - - * include/osgText/Font, src/osgText/Font.cpp: 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-05-06 19:44 robert - - * src/osgProducer/OsgCameraGroup.cpp: 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 - -2005-05-06 17:43 robert - - * Make/makedefs: Added X11 include and lib paths to find freetype - under OSX. - -2005-05-06 14:28 robert - - * src/osgProducer/Viewer.cpp: Made OSX default to using single - threaded keyboard mouse. -2005-05-06 14:07 robert - * Make/makedefs: Made USE_AGL=yes the default under OSX. +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. -2005-05-06 10:32 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" - * include/osgUtil/SceneView, src/osgUtil/SceneView.cpp: Added - osg_DeltaFrameTime uniform to default set. +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 -2005-05-06 09:58 robert - * include/osg/Program, include/osg/Uniform, src/osg/Program.cpp, - src/osg/State.cpp, src/osg/StateSet.cpp, src/osg/Uniform.cpp: - From Mike Weiblen, further work on GLSL support -2005-05-06 09:04 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 - * include/osg/Texture, src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/Texture3D.cpp, src/osg/TextureCubeMap.cpp: From Farshid - Lashkari, support for non power of two extension. +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. " -2005-05-05 21:21 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 - * src/osgDB/DynamicLibrary.cpp: Fix for OSX build across both Tiger - and 10.3.x -2005-05-05 20:05 robert - * src/osgDB/Registry.cpp: 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. -2005-05-05 19:46 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: - * applications/osgconv/GNUmakefile, - applications/osgconv/GeoSet.cpp, applications/osgconv/GeoSet.h: - Changed check() method name to checkConsistency() to avoid - perculiar OSX Tiger build error. + svn merge -r 9725:9726 http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.8 -2005-05-05 14:03 robert - * src/osgProducer/OsgCameraGroup.cpp: Removed the defaulting to - setting the camera threading model to MultiThreaded, - instead leave it to Producer's defaults. -2005-05-05 12:30 robert - * include/osg/StateSet, include/osg/Uniform, - include/osgUtil/SceneView, src/osg/StateSet.cpp, - src/osg/Uniform.cpp, src/osgUtil/SceneView.cpp: Added support for - osg_FrameNumber, osg_FrameTime, osg_ViewMatrix, - osg_InverseViewMatrix - into SceneView, controlled via a setActiveUniforms(.) method. +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 -2005-05-05 09:18 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 - * include/osg/Texture, src/osg/Texture.cpp: From Farshid Lashkari, - added Texture::Extension support for non power of two extension. +Mon, 9 Feb 2009 11:13:37 +0000 +Checked in by : Robert Osfield +Removed redundent #pragma -2005-05-04 11:38 robert +Mon, 9 Feb 2009 10:00:06 +0000 +Checked in by : Robert Osfield +Updated wrappers - * include/osg/GLU, src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/lwo/Tessellator.cpp, src/osgUtil/Tesselator.cpp: - Fix for Tiger build +Mon, 9 Feb 2009 09:41:56 +0000 +Checked in by : Robert Osfield +From Cedric Pinson, removed virtual inheritance from osgAnimation::Animation -2005-05-04 09:11 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. - * src/osgUtil/Optimizer.cpp: Fixed bug where the - Optimizer::StateVisitor was trying to optimize - non existant StateSet's. +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())" -2005-05-03 22:02 robert - * src/osgWrappers/osg/Program.cpp, src/osgWrappers/osg/Uniform.cpp: - Updated wrappers -2005-05-03 21:53 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 - * src/osgPlugins/flt/FltFile.cpp: 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." +Fri, 6 Feb 2009 15:49:21 +0000 +Checked in by : Robert Osfield +Bumped version number of svn/trunk to 2.9.0 -2005-05-03 21:49 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 - * src/osgProducer/Viewer.cpp: Removed the default compile of single - threaded KeyboardMouse +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 -2005-05-03 21:46 robert +Fri, 6 Feb 2009 15:17:49 +0000 +Checked in by : Robert Osfield +From Gary Quinn, spelling fixes - * include/osg/Program, include/osg/State, include/osg/Uniform, - src/osg/State.cpp, src/osg/Uniform.cpp: Added support for lazy - state updating of uniforms. +Fri, 6 Feb 2009 14:19:14 +0000 +Checked in by : Robert Osfield +Fixed path to version resource input file -2005-05-03 16:34 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 - * examples/osgcluster/receiver.cpp: From Bob Kuehne, OSX 10.4 fix. +Fri, 6 Feb 2009 12:15:15 +0000 +Checked in by : Robert Osfield +Fixed data copy bug -2005-05-03 14:31 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. +[...]" - * src/osgDB/DynamicLibrary.cpp, src/osgPlugins/flt/flt2osg.cpp, - src/osgPlugins/net/sockinet.cpp, - src/osgPlugins/net/sockstream.cpp, - src/osgPlugins/osga/OSGA_Archive.h, - src/osgPlugins/quicktime/QTtexture.cpp, - src/osgPlugins/txp/TXPParser.cpp: From Bob Kuehne, fixes for OSX - 10.4 build. -2005-05-03 10:09 robert - * src/osgWrappers/osg/Drawable.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osg/Program.cpp, src/osgWrappers/osg/Shader.cpp: - Updated wrappers -2005-05-03 06:23 robert +Fri, 6 Feb 2009 08:46:02 +0000 +Checked in by : Robert Osfield +Added support for VS versioning of OpenThreads - * src/osgPlugins/osg/Impostor.cpp: Removed Impostor.cpp +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" -2005-05-02 20:00 robert +Thu, 5 Feb 2009 14:56:39 +0000 +Checked in by : Robert Osfield +Changed version to only be run for Visual Studio - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: Fixed TIFF readers - handling of interleaved data +Thu, 5 Feb 2009 14:55:17 +0000 +Checked in by : Robert Osfield +From Sherman Wilcox, added VS versioning information into libs -2005-05-02 19:42 robert +Thu, 5 Feb 2009 14:54:42 +0000 +Checked in by : Robert Osfield +Added exports, and moved constructors into .cpp. - * src/osgTerrain/DataSet.cpp: Improvements to the repojection code - so that it can generate RGBA reprojected - data. +Thu, 5 Feb 2009 14:42:29 +0000 +Checked in by : Robert Osfield +Added initializer and fixed indentation -2005-05-02 14:16 robert +Thu, 5 Feb 2009 14:35:46 +0000 +Checked in by : Robert Osfield +Suppress gcc warnings emitted by external headers - * applications/osgdem/osgdem.cpp, include/osgTerrain/DataSet, - src/osgTerrain/DataSet.cpp: Added support for generating RGBA, - RGBA-16 and RGBA-compressed texture databases +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." -2005-05-02 13:00 robert - * include/osgTerrain/DataSet, src/osgTerrain/DataSet.cpp: Added - support for reading from RGBA source textures -2005-05-02 10:18 robert +Thu, 5 Feb 2009 12:03:19 +0000 +Checked in by : Robert Osfield +Warning fixes - * include/osg/Uniform, src/osg/Uniform.cpp, - src/osgUtil/Optimizer.cpp: Added support for optimization of - Uniforms +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 -2005-05-02 09:57 robert +Thu, 5 Feb 2009 10:14:49 +0000 +Checked in by : Robert Osfield +From Jean-Sebastien Guay, warning fixes - * include/osg/Drawable, src/osg/Geode.cpp: Improved the handling of - update/event callbacks on Drawable and Geodes +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 -2005-05-02 09:34 robert +Wed, 4 Feb 2009 13:51:12 +0000 +Checked in by : Robert Osfield +Form Paul Melis, spelling fixes - * examples/osgshaders/GL2Scene.cpp, examples/osgshaders/Noise.cpp, - examples/osgshaders/osgshaders.cpp: From Mike Weiblen, added \n - newlines to inline shader program strings. - From Robert Osfield, changed tabs to spaces. +Wed, 4 Feb 2009 12:59:44 +0000 +Checked in by : Robert Osfield +Set the release candidate to 1. -2005-05-01 21:33 robert +Wed, 4 Feb 2009 12:54:18 +0000 +Checked in by : Robert Osfield +Updated news to keep in sync with online news entry - * src/osgPlugins/osgSim/IO_Impostor.cpp: Moved Impostor from osg to - osgSim .osg plugin +Wed, 4 Feb 2009 12:50:26 +0000 +Checked in by : Robert Osfield +Updated AUTHORS file for 2.8 branch. -2005-05-01 20:56 robert +Wed, 4 Feb 2009 12:31:33 +0000 +Checked in by : Robert Osfield +Updated NEWS and README for 2.8 branch - * src/osgProducer/Viewer.cpp: Added include for OSX - build +Wed, 4 Feb 2009 11:35:24 +0000 +Checked in by : Robert Osfield +Fixed the constness of osg::Image* pointer -2005-05-01 19:48 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. - * VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgfxbrowser/osgfxbrowser.dsp, - VisualStudio/osg/osg.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, - VisualStudio/osgPlugins/osgSim/dot_osgSim.dsp, - VisualStudio/osgSim/osgSim.dsp, VisualStudio/osgUtil/osgUtil.dsp, - VisualStudio/osgWrappers/osg/wrapper_osg.dsp, - examples/osgimpostor/GNUmakefile, - examples/osgimpostor/GNUmakefile.inst, - examples/osgimpostor/osgimpostor.cpp, - examples/osgvertexprogram/osgvertexprogram.cpp, - examples/osgvolume/osgvolume.cpp, include/osg/Impostor, - include/osg/ImpostorSprite, include/osg/NodeVisitor, - include/osgGA/EventVisitor, include/osgSim/Impostor, - include/osgSim/ImpostorSprite, - include/osgSim/InsertImpostorsVisitor, - include/osgUtil/CullVisitor, - include/osgUtil/DisplayRequirementsVisitor, - include/osgUtil/InsertImpostorsVisitor, - include/osgUtil/UpdateVisitor, src/osg/GNUmakefile, - src/osg/Impostor.cpp, src/osg/ImpostorSprite.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/Impostor.h, - src/osgPlugins/lib3ds/ReaderWriter3DS.cpp, - src/osgPlugins/osg/GNUmakefile, - src/osgPlugins/osgSim/GNUmakefile, src/osgSim/GNUmakefile, - src/osgSim/Impostor.cpp, src/osgSim/ImpostorSprite.cpp, - src/osgSim/InsertImpostorsVisitor.cpp, - src/osgUtil/CullVisitor.cpp, - src/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgUtil/GNUmakefile, src/osgUtil/InsertImpostorsVisitor.cpp, - src/osgUtil/Optimizer.cpp, src/osgUtil/RenderBin.cpp, - src/osgWrappers/osg/GNUmakefile, - src/osgWrappers/osg/Impostor.cpp, - src/osgWrappers/osg/ImpostorSprite.cpp: Moved osg::Impostor to - osgSim::Impostor, as Impostor isn't a core feature. - -2005-05-01 10:34 robert - - * src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/txp/TXPArchive.h, - src/osgPlugins/txp/TXPParser.cpp, src/osgPlugins/txp/TXPParser.h: - From Don Tidrow, spelling fixes - -2005-04-30 15:16 robert - - * include/osg/NodeVisitor, include/osg/ProxyNode, - include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp: Added - RemoveLoadedProxyNodes pass to Optimizer, set on by default at - present. - -2005-04-30 13:54 robert - - * examples/osgtesselate/osgtesselate.cpp, - src/osgPlugins/ac3d/ac3d.cpp, src/osgUtil/Tesselator.cpp: 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 - - * src/osgUtil/Optimizer.cpp: Combine LOD fixed properly this time - :) - -2005-04-30 07:22 robert - - * src/osgUtil/Optimizer.cpp: fixed combined LOD bug - -2005-04-30 07:02 robert - - * include/osg/Program, include/osg/Shader, src/osg/Program.cpp, - src/osg/Shader.cpp: From Mike Weiblen, Progra/Shader fixes - -2005-04-29 20:57 robert - - * src/osgWrappers/osg/State.cpp: Updated wrappers - -2005-04-29 20:56 robert - - * include/osg/State, src/osg/State.cpp, src/osgUtil/SceneView.cpp: - 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; } - -2005-04-29 18:51 robert - - * VisualStudio/examples/osgfxbrowser/osgfxbrowser.dsp: VS.7.1 - linker warning fix - -2005-04-29 13:30 robert - - * src/osg/StateSet.cpp: Commented out notify messages to prevent - crash under OSX at start up. - -2005-04-29 11:22 robert - - * include/osgIntrospection/Reflector, - include/osgIntrospection/Type: Compile fix - -2005-04-29 11:19 robert - - * include/osgIntrospection/Attributes, - include/osgIntrospection/Comparator, - include/osgIntrospection/ConstructorInfo, - include/osgIntrospection/Converter, - include/osgIntrospection/ConverterProxy, - include/osgIntrospection/CustomAttributeProvider, - include/osgIntrospection/Exceptions, - include/osgIntrospection/InstanceCreator, - include/osgIntrospection/MethodInfo, - include/osgIntrospection/ParameterInfo, - include/osgIntrospection/PropertyInfo, - include/osgIntrospection/ReaderWriter, - include/osgIntrospection/Reflection, - include/osgIntrospection/ReflectionMacros, - include/osgIntrospection/Reflector, - include/osgIntrospection/StaticMethodInfo, - include/osgIntrospection/Type, - include/osgIntrospection/TypeNameAliasProxy, - include/osgIntrospection/TypedConstructorInfo, - include/osgIntrospection/TypedMethodInfo, - include/osgIntrospection/Utility, include/osgIntrospection/Value, - include/osgIntrospection/variant_cast, - src/osgIntrospection/ConstructorInfo.cpp, - src/osgIntrospection/CustomAttributeProvider.cpp, - src/osgIntrospection/MethodInfo.cpp, - src/osgIntrospection/PropertyInfo.cpp, - src/osgIntrospection/Reflection.cpp, - src/osgIntrospection/Type.cpp, src/osgIntrospection/Utility.cpp, - src/osgIntrospection/Value.cpp: Moved osgIntrospection across to - standard OSG coding style. - -2005-04-29 10:06 robert - - * include/osgIntrospection/Attributes, - include/osgIntrospection/Comparator, - include/osgIntrospection/ConstructorInfo, - include/osgIntrospection/Converter, - include/osgIntrospection/ConverterProxy, - include/osgIntrospection/CustomAttribute, - include/osgIntrospection/CustomAttributeProvider, - include/osgIntrospection/Exceptions, - include/osgIntrospection/Export, - include/osgIntrospection/InstanceCreator, - include/osgIntrospection/MethodInfo, - include/osgIntrospection/ParameterInfo, - include/osgIntrospection/PropertyInfo, - include/osgIntrospection/ReaderWriter, - include/osgIntrospection/Reflection, - include/osgIntrospection/ReflectionMacros, - include/osgIntrospection/Reflector, - include/osgIntrospection/StaticMethodInfo, - include/osgIntrospection/Type, - include/osgIntrospection/TypeNameAliasProxy, - include/osgIntrospection/TypedConstructorInfo, - include/osgIntrospection/TypedMethodInfo, - include/osgIntrospection/Utility, include/osgIntrospection/Value, - include/osgIntrospection/variant_cast, - src/osgIntrospection/ConstructorInfo.cpp, - src/osgIntrospection/CustomAttributeProvider.cpp, - src/osgIntrospection/DefaultReflectors.cpp, - src/osgIntrospection/MethodInfo.cpp, - src/osgIntrospection/PropertyInfo.cpp, - src/osgIntrospection/Type.cpp, src/osgIntrospection/Utility.cpp, - src/osgIntrospection/Value.cpp: Added Copyright - -2005-04-29 09:47 robert - - * examples/osgparticleeffects/osgparticleeffects.cpp, - include/osgParticle/AccelOperator, - include/osgParticle/AngularAccelOperator, - include/osgParticle/CenteredPlacer, include/osgParticle/Counter, - include/osgParticle/Emitter, include/osgParticle/FireEffect, - include/osgParticle/FluidFrictionOperator, - include/osgParticle/FluidProgram, - include/osgParticle/ForceOperator, - include/osgParticle/Interpolator, - include/osgParticle/LinearInterpolator, - include/osgParticle/ModularEmitter, - include/osgParticle/ModularProgram, - include/osgParticle/MultiSegmentPlacer, - include/osgParticle/Operator, include/osgParticle/Particle, - include/osgParticle/ParticleEffect, - include/osgParticle/ParticleProcessor, - include/osgParticle/ParticleSystem, - include/osgParticle/ParticleSystemUpdater, - include/osgParticle/Placer, include/osgParticle/PointPlacer, - include/osgParticle/Program, include/osgParticle/RadialShooter, - include/osgParticle/RandomRateCounter, - include/osgParticle/SectorPlacer, - include/osgParticle/SegmentPlacer, include/osgParticle/Shooter, - include/osgParticle/SmokeEffect, - include/osgParticle/VariableRateCounter, - include/osgParticle/Version, include/osgParticle/range, - src/osgParticle/Emitter.cpp, - src/osgParticle/FluidFrictionOperator.cpp, - src/osgParticle/FluidProgram.cpp, - src/osgParticle/ModularEmitter.cpp, - src/osgParticle/ModularProgram.cpp, - src/osgParticle/MultiSegmentPlacer.cpp, - src/osgParticle/Particle.cpp, - src/osgParticle/ParticleProcessor.cpp, - src/osgParticle/ParticleSystem.cpp, - src/osgParticle/ParticleSystemUpdater.cpp, - src/osgParticle/Program.cpp: Moved osgParticle across to standard - OSG coding style. - -2005-04-29 06:32 robert - - * include/osgFX/Technique: Coding style update - -2005-04-29 06:32 robert - - * examples/osgfxbrowser/osgfxbrowser.cpp, - include/osgFX/AnisotropicLighting, include/osgFX/BumpMapping, - include/osgFX/Cartoon, include/osgFX/Effect, - include/osgFX/Registry, include/osgFX/Scribe, - include/osgFX/SpecularHighlights, include/osgFX/Technique, - include/osgFX/Validator, src/osgFX/AnisotropicLighting.cpp, - src/osgFX/BumpMapping.cpp, src/osgFX/Cartoon.cpp, - src/osgFX/Effect.cpp, src/osgFX/Registry.cpp, - src/osgFX/Scribe.cpp, src/osgFX/SpecularHighlights.cpp, - src/osgFX/Technique.cpp, src/osgFX/Validator.cpp: Moved to - standard OSG coding style. - -2005-04-28 19:50 robert - - * src/osgText/Font.cpp: Reduced the verboseness of the notifaction - messages - -2005-04-28 19:41 robert - - * Make/makedefs: 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). - -2005-04-28 19:24 robert - - * src/osgText/Font.cpp: Changed the default texture size to 512x512 - to reduce the number of textures - required when rendering text. - -2005-04-28 19:08 robert - - * src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgText/DefaultFont.cpp: Removed old LUMINANCE_ALPHA code - pathways since they are no longer used. - -2005-04-28 18:55 robert - - * src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h, - src/osgPlugins/freetype/FreeTypeLibrary.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.h, - src/osgPlugins/freetype/ReaderWriterFreeType.cpp: Added proper - handling of freeing of font implememtation either when unloading - the freetype plugin or deleting osgText::Font first. - -2005-04-28 12:45 robert - - * include/osg/Version: Added version number #define's - -2005-04-28 05:58 robert - - * src/osgText/Text.cpp: Added check to see if autoTransformCache - had been initialized before - using it in the computeBound. - -2005-04-28 05:21 robert - - * src/osgUtil/SceneView.cpp: From Farshid Lashkari, removed - redundent fusion distance calculations from - computeRightEyeProjectionImplementation and - computeLeftEyeProjectionImplementation methods. - -2005-04-28 05:15 robert - - * Make/dependencies: From Marco Jez, changed = to ?= in - COMPILE_INTROSPECTION line - -2005-04-28 05:12 robert - - * examples/osgtesselate/GNUmakefile: From Marco Jez, converted line - endings to unix. - -2005-04-28 05:08 robert - - * Make/dolink.sh: From Marco Jez, added -ne option echo usage to - fix stdout/stderr redirection - error under Mingw. - -2005-04-26 20:35 robert - - * src/osgPlugins/xine/video_out_rgb.c: From Ruben, fix for PIV - executation by disabling MMXEXT selection. - -2005-04-26 19:34 robert - - * include/osgParticle/Emitter, include/osgParticle/ModularEmitter: - From Brede Johansen, tweaks to emitter classes to make them more - extensible. +Tue, 3 Feb 2009 20:26:26 +0000 +Checked in by : Robert Osfield +Clean up warning disable code -2005-04-26 18:55 robert +Tue, 3 Feb 2009 20:17:24 +0000 +Checked in by : Robert Osfield +Disabled warning - * src/osgWrappers/osg/GNUmakefile: Added $(GL_LIBS) to link line to - get things linking ok under OSX. +Tue, 3 Feb 2009 17:14:34 +0000 +Checked in by : Robert Osfield +Fixed warning -2005-04-26 14:29 robert +Tue, 3 Feb 2009 17:11:54 +0000 +Checked in by : Robert Osfield +Fixed warning - * src/osgWrappers/osg/BlendColor.cpp, - src/osgWrappers/osg/BlendEquation.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/Drawable.cpp, - src/osgWrappers/osg/FragmentProgram.cpp, - src/osgWrappers/osg/Multisample.cpp, - src/osgWrappers/osg/Point.cpp, src/osgWrappers/osg/Program.cpp, - src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/TextureCubeMap.cpp, - src/osgWrappers/osg/VertexProgram.cpp: Updated wrappers. +Tue, 3 Feb 2009 15:28:53 +0000 +Checked in by : Robert Osfield +Warning fixes -2005-04-26 13:15 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 - * include/osg/BlendColor, include/osg/BlendEquation, - include/osg/BufferObject, include/osg/Drawable, - include/osg/FragmentProgram, include/osg/GLExtensions, - include/osg/Multisample, include/osg/Point, include/osg/Program, - include/osg/Texture, include/osg/Texture3D, - include/osg/TextureCubeMap, include/osg/VertexProgram, - runexamples.bat, src/osg/BlendColor.cpp, - src/osg/BlendEquation.cpp, src/osg/BufferObject.cpp, - src/osg/ColorMatrix.cpp, src/osg/Drawable.cpp, src/osg/Fog.cpp, - src/osg/FragmentProgram.cpp, src/osg/GLExtensions.cpp, - src/osg/Multisample.cpp, src/osg/Point.cpp, src/osg/Program.cpp, - src/osg/State.cpp, src/osg/TexEnv.cpp, src/osg/TexEnvCombine.cpp, - src/osg/TexEnvFilter.cpp, src/osg/Texture.cpp, - src/osg/Texture3D.cpp, src/osg/TextureCubeMap.cpp, - src/osg/TextureRectangle.cpp, src/osg/VertexProgram.cpp, - src/osgFX/Technique.cpp: 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. +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 -2005-04-26 11:20 robert +Tue, 3 Feb 2009 11:07:13 +0000 +Checked in by : Robert Osfield +Fixed warning - * src/osg/StateSet.cpp, src/osg/Uniform.cpp: Added #include - for VS.NET build +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. -2005-04-26 09:58 robert +Tue, 3 Feb 2009 11:04:37 +0000 +Checked in by : Robert Osfield +Added explict initialization of osg::Object contstructor to fix warning - * include/osg/Drawable, src/osg/Drawable.cpp, src/osg/StateSet.cpp: - Added support notification of Drawable parents of StateSet that - event/update callbacks have been called. +Mon, 2 Feb 2009 20:42:33 +0000 +Checked in by : Robert Osfield +Updated wrappers -2005-04-26 07:49 robert +Mon, 2 Feb 2009 20:35:19 +0000 +Checked in by : Robert Osfield +Warnings fixes for VS. - * src/osgText/Text.cpp: 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." +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 -2005-04-25 20:46 robert +Mon, 2 Feb 2009 18:55:08 +0000 +Checked in by : Robert Osfield +From Cedric Pinson, warning fix. - * src/osgWrappers/osg/Array.cpp, src/osgWrappers/osg/CopyOp.cpp, - src/osgWrappers/osg/Drawable.cpp, src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/Node.cpp, src/osgWrappers/osg/Plane.cpp, - src/osgWrappers/osg/Point.cpp, src/osgWrappers/osg/Quat.cpp, - src/osgWrappers/osg/Shader.cpp, - src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/StateSet.cpp, - src/osgWrappers/osg/Uniform.cpp, src/osgWrappers/osg/Vec2d.cpp, - src/osgWrappers/osg/Vec2f.cpp, src/osgWrappers/osg/Vec3d.cpp, - src/osgWrappers/osg/Vec3f.cpp, src/osgWrappers/osg/Vec4d.cpp, - src/osgWrappers/osg/Vec4f.cpp: Updated wrappers using Marco Jez's - genwrapper utility. +Mon, 2 Feb 2009 17:46:16 +0000 +Checked in by : Robert Osfield +Added initializer for local Quat definition -2005-04-25 20:34 robert +Mon, 2 Feb 2009 17:32:34 +0000 +Checked in by : Robert Osfield +Added explict intializiers of base classes - * src/osgProducer/Viewer.cpp: From Mike Weiblen, added support for - --clear-color r,g,b,a and --clear-color r,g,b - to osgProducer::Viewer. +Mon, 2 Feb 2009 17:16:02 +0000 +Checked in by : Robert Osfield +Added /lib64 to search paths. -2005-04-25 14:28 robert +Mon, 2 Feb 2009 17:15:40 +0000 +Checked in by : Robert Osfield +Improved handling of stats projection size - * src/osg/StateAttribute.cpp: Reduced the verbosness of debugging - messages +Mon, 2 Feb 2009 16:56:46 +0000 +Checked in by : Robert Osfield +From Stephan Huber, build fix for OSX XCode build -2005-04-25 13:37 robert +Mon, 2 Feb 2009 15:04:53 +0000 +Checked in by : Robert Osfield +Fixed version - * examples/osgshaders/GL2Scene.cpp, include/osg/Node, - include/osg/Shader, include/osg/StateAttribute, - include/osg/StateSet, include/osg/Uniform, src/osg/Drawable.cpp, - src/osg/Geode.cpp, src/osg/Node.cpp, src/osg/Shader.cpp, - src/osg/StateAttribute.cpp, src/osg/StateSet.cpp, - src/osg/Uniform.cpp: Futher work on supporting update and event - callbacks in StateSet, Uniform and StateAttribute +Mon, 2 Feb 2009 14:55:51 +0000 +Checked in by : Robert Osfield +Updated OpenThreads and OpenSceneGraph version ready for OSG-2.8 branch. -2005-04-25 13:27 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." - * src/osgProducer/Viewer.cpp: Added SINGLE_THREADED_KEYBOARDMOUSE - pathway as a means of testing - exit issues. +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." -2005-04-25 11:05 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. - * include/osg/StateAttribute, include/osg/StateSet, - include/osg/Uniform, include/osgGA/EventVisitor, - include/osgUtil/UpdateVisitor, src/osg/Drawable.cpp, - src/osg/Node.cpp, src/osg/StateSet.cpp: Futher work on adding - event and update callbacks to StateSet, Uniform and - StateAttributes +Updated wrappers -2005-04-24 21:04 robert - * VisualStudio/osg/osg.dsp, include/osg/Drawable, include/osg/Node, - include/osg/StateAttribute, include/osg/StateSet, - include/osg/Uniform, src/osg/Drawable.cpp, src/osg/GNUmakefile, - src/osg/Node.cpp, src/osg/StateAttribute.cpp, - src/osg/StateSet.cpp, src/osg/Uniform.cpp: Added ParentList's - into StateSet, Uniform and StateAttribute in preparation for - providing update and event handling. -2005-04-24 19:30 robert +Mon, 2 Feb 2009 09:23:28 +0000 +Checked in by : Robert Osfield +From Sukender, add check against NULL parameter value - * src/osgDB/DatabasePager.cpp: Added THREAD_ infront of - PRIORITY_MIN settings to reflect changes to OpentThreads +Sun, 1 Feb 2009 12:38:55 +0000 +Checked in by : Robert Osfield +Ground work for full .osg support for osg::TransferFunction* -2005-04-23 16:09 robert +Sat, 31 Jan 2009 21:46:27 +0000 +Checked in by : Robert Osfield +Updated NEWS - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp: Added - MergeGeometryVisitor::setTargetMaximumNumberOfVertices(uint); +Sat, 31 Jan 2009 21:46:16 +0000 +Checked in by : Robert Osfield +Added initial placeholder for .osg support for osgVolume::TransferFunctionProperty -2005-04-23 10:45 robert +Sat, 31 Jan 2009 21:45:47 +0000 +Checked in by : Robert Osfield +Fixed handling of TransferFunctionProperty. - * examples/osgmovie/osgmovie.cpp: Removed the use of the post swap - callback +Sat, 31 Jan 2009 10:21:36 +0000 +Checked in by : Robert Osfield +Rejigged the Xrandr include -2005-04-23 10:41 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 - * include/osg/Uniform, src/osg/StateSet.cpp: Added missing bodes of - Uniform::operator = and setEvent/UpdateCallback in StateSet. +Fri, 30 Jan 2009 17:10:27 +0000 +Checked in by : Robert Osfield +Updated iso surface shaders -2005-04-23 10:31 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 - * src/osgDB/ReadFile.cpp: Added support for using TextureRectangle - in --move support in readNodeFile +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. " -2005-04-22 22:45 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 " - * include/osg/CopyOp, include/osg/Node, include/osg/StateAttribute, - include/osg/StateSet, include/osg/Uniform, src/osg/CopyOp.cpp, - src/osg/StateSet.cpp: Preliminary steps to adding update and - event callbacks to StateSet, StateAttribute - and Uniform. +Fri, 30 Jan 2009 13:05:07 +0000 +Checked in by : Robert Osfield +Update AUTHORS for release -2005-04-22 20:56 robert +Fri, 30 Jan 2009 12:17:59 +0000 +Checked in by : Robert Osfield +Updated ChangeLog for 2.7.9 release - * examples/osgvertexprogram/osgvertexprogram.cpp: From Brede - Johansen, tweaked refraction and fresnel coefficients for a - better - visual effect. +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 -2005-04-22 15:44 robert +Fri, 30 Jan 2009 11:40:19 +0000 +Checked in by : Robert Osfield +Updated wrappers - * examples/osgmovie/osgmovie.cpp: Improved handling of unsupported - formats +Fri, 30 Jan 2009 10:55:28 +0000 +Checked in by : Robert Osfield +Fixed warnings, updated NEWS -2005-04-22 15:44 robert +Thu, 29 Jan 2009 20:40:56 +0000 +Checked in by : Robert Osfield +Added support for osgVolume::ProperyAdjustmentCallback - * src/osgPlugins/xine/ReaderWriterXine.cpp: Improved handling of - unsupported file formats. +Thu, 29 Jan 2009 20:34:22 +0000 +Checked in by : Robert Osfield +Added support for osgVolume::Property classes -2005-04-22 15:43 robert +Thu, 29 Jan 2009 17:19:47 +0000 +Checked in by : Robert Osfield +Fixed handling of files with event callbacks on them. - * include/osg/Image, src/osg/BufferObject.cpp: Improved handling of - invalid imagery in BufferObject +Thu, 29 Jan 2009 16:38:46 +0000 +Checked in by : Robert Osfield +From Jean-Sebastien Guay, added missing windows socket library -2005-04-22 14:40 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. - * include/osg/BufferObject: Removed unusaged methods +Thu, 29 Jan 2009 15:32:43 +0000 +Checked in by : Robert Osfield +Update ChangeLog -2005-04-22 14:40 robert +Thu, 29 Jan 2009 15:07:57 +0000 +Checked in by : Robert Osfield +Updated news - * include/osgGA/UFOManipulator, src/osgGA/UFOManipulator.cpp: From - Tree, removed dependency on Producer +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 -2005-04-22 13:47 robert +Thu, 29 Jan 2009 14:35:15 +0000 +Checked in by : Robert Osfield +Added CMakeLists.txt for osgcluster - * src/osgPlugins/ive/Group.cpp, src/osgPlugins/ive/ViewPoint.cpp, - src/osgPlugins/ive/ViewPoint.h: Removed ViewPoint.h and .cpp from - the ive plugin +Thu, 29 Jan 2009 14:00:59 +0000 +Checked in by : Robert Osfield +First cut of NEWS for 2.8 release -2005-04-22 13:32 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 - * ChangeLog, src/osgDB/GNUmakefile, src/osgDB/Registry.cpp, - src/osgPlugins/osg/Program.cpp, - src/osgPlugins/xine/ReaderWriterXine.cpp: Cleaned up the xine - plugin to better handle unsupported video files. +Thu, 29 Jan 2009 13:17:48 +0000 +Checked in by : Robert Osfield +Added osgcluster example into build system -2005-04-22 07:13 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." - * include/osg/Uniform, src/osg/Uniform.cpp, - src/osgPlugins/osg/Uniform.cpp: From Mike Weiblen, added support - for samplers and mat4 to .osg -2005-04-21 21:07 robert - * src/osgPlugins/flt/ReaderWriterATTR.cpp: Added initialize of - version number +Thu, 29 Jan 2009 11:03:38 +0000 +Checked in by : Robert Osfield +Fixed warning -2005-04-21 21:05 robert +Thu, 29 Jan 2009 10:43:11 +0000 +Checked in by : Robert Osfield +Revised the message about install path. - * src/osgPlugins/freetype/FreeTypeFont.cpp: From Garrat Potts, - fixed face memory leak in FreTypeFont destructor. +Thu, 29 Jan 2009 10:22:52 +0000 +Checked in by : Robert Osfield +Added missing entry in build for AnimationManager.cpp -2005-04-20 19:53 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. - * examples/osgcatch/osgcatch.cpp: Small tweaks +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. -2005-04-20 18:50 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. - * VisualStudio/examples/osgshaders/osgshaders.dsp, - src/osg/Uniform.cpp: From Mike Weiblen, removed Uniform not quite - ready notice, - and added .h files into osgshaders project file. - -2005-04-20 14:51 robert - - * examples/osgpointsprite/osgpointsprite.cpp: Removed the enabling - of the point smooth mode. - -2005-04-20 12:32 robert - - * include/osg/Point, src/osg/Point.cpp: From Brede Johnansen, - adding support for EXT, ARB and GL version 1.4 point parameters. - -2005-04-20 09:55 robert - - * src/osgText/Text.cpp: 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. - -2005-04-20 08:51 robert - - * applications/osgdem/osgdem.cpp: 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-04-19 07:37 robert - - * src/osgUtil/Optimizer.cpp: From Reinhard Sainitzer, bug fix, - added missing break; - -2005-04-18 18:23 robert - - * VisualStudio/applications/osgarchive/osgarchive.dsp, - VisualStudio/applications/osgconv/osgconv.dsp, - VisualStudio/applications/osgdem/osgdem.dsp, - VisualStudio/applications/osgversion/osgversion.dsp, - VisualStudio/applications/osgviewer/osgviewer.dsp, - VisualStudio/examples/osgGLUTkeyboardmouse/osgGLUTkeyboardmouse.dsp, - VisualStudio/examples/osgGLUTsimple/osgGLUTsimple.dsp, - VisualStudio/examples/osganimate/osganimate.dsp, - VisualStudio/examples/osgautotransform/osgautotransform.dsp, - VisualStudio/examples/osgbillboard/osgbillboard.dsp, - VisualStudio/examples/osgbluemarble/osgbluemarble.dsp, - VisualStudio/examples/osgcallback/osgcallback.dsp, - VisualStudio/examples/osgcameragroup/osgcameragroup.dsp, - VisualStudio/examples/osgclip/osgclip.dsp, - VisualStudio/examples/osgcluster/osgcluster.dsp, - VisualStudio/examples/osgcopy/osgcopy.dsp, - VisualStudio/examples/osgcubemap/osgcubemap.dsp, - VisualStudio/examples/osgdepthshadow/osgdepthshadow.dsp, - VisualStudio/examples/osgdistortion/osgdistortion.dsp, - VisualStudio/examples/osgforest/osgforest.dsp, - VisualStudio/examples/osggeodemo/osggeodemo.dsp, - VisualStudio/examples/osggeometry/osggeometry.dsp, - VisualStudio/examples/osghangglide/osghangglide.dsp, - VisualStudio/examples/osghud/osghud.dsp, - VisualStudio/examples/osgimpostor/osgimpostor.dsp, - VisualStudio/examples/osgintrospection/example_osgintrospection.dsp, - VisualStudio/examples/osgkeyboard/osgkeyboard.dsp, - VisualStudio/examples/osgkeyboardmouse/osgkeyboardmouse.dsp, - VisualStudio/examples/osglauncher/osglauncher.dsp, - VisualStudio/examples/osglight/osglight.dsp, - VisualStudio/examples/osglightpoint/osglightpoint.dsp, - VisualStudio/examples/osglogo/osglogo.dsp, - VisualStudio/examples/osgmotionblur/osgmotionblur.dsp, - VisualStudio/examples/osgmultitexture/osgmultitexture.dsp, - VisualStudio/examples/osgoccluder/osgoccluder.dsp, - VisualStudio/examples/osgparticle/osgparticledemo.dsp, - VisualStudio/examples/osgparticleeffects/osgparticleeffects.dsp, - VisualStudio/examples/osgpbuffer/osgpbuffer.dsp, - VisualStudio/examples/osgphotoalbum/osgphotoalbum.dsp, - VisualStudio/examples/osgpick/osgpick.dsp, - VisualStudio/examples/osgplanets/osgplanets.dsp, - VisualStudio/examples/osgpointsprite/osgpointsprite.dsp, - VisualStudio/examples/osgprerender/osgprerender.dsp, - VisualStudio/examples/osgprerendercubemap/osgprerendercubemap.dsp, - VisualStudio/examples/osgreflect/osgreflect.dsp, - VisualStudio/examples/osgscalarbar/osgscalarbar.dsp, - VisualStudio/examples/osgscribe/osgscribe.dsp, - VisualStudio/examples/osgsequence/osgsequence.dsp, - VisualStudio/examples/osgshaders/osgshaders.dsp, - VisualStudio/examples/osgshadowtexture/osgshadowtexture.dsp, - VisualStudio/examples/osgshape/osgshape.dsp, - VisualStudio/examples/osgsimple/osgsimple.dsp, - VisualStudio/examples/osgsimplepager/osgsimplepager.dsp, - VisualStudio/examples/osgsimplifier/osgsimplifier.dsp, - VisualStudio/examples/osgsimulation/osgsimulation.dsp, - VisualStudio/examples/osgspheresegment/osgspheresegment.dsp, - VisualStudio/examples/osgspotlight/osgspotlight.dsp, - VisualStudio/examples/osgstereoimage/osgstereoimage.dsp, - VisualStudio/examples/osgteapot/osgteapot.dsp, - VisualStudio/examples/osgtesselate/osgtesselate.dsp, - VisualStudio/examples/osgtext/osgtextdemo.dsp, - VisualStudio/examples/osgtexture1D/osgtexture1D.dsp, - VisualStudio/examples/osgtexture2D/osgtexture2D.dsp, - VisualStudio/examples/osgtexture3D/osgtexture3D.dsp, - VisualStudio/examples/osgtexturerectangle/osgtexturerectangle.dsp, - VisualStudio/examples/osgunittests/osgunittests.dsp, - VisualStudio/examples/osgvertexprogram/osgvertexprogram.dsp, - VisualStudio/examples/osgvolume/osgvolume.dsp, - VisualStudio/examples/osgwindows/osgwindows.dsp, - VisualStudio/osg/osg.dsp, VisualStudio/osgDB/osgDB.dsp, - VisualStudio/osgFX/osgFX.dsp, VisualStudio/osgGA/osgGA.dsp, - VisualStudio/osgIntrospection/osgIntrospection.dsp, - VisualStudio/osgParticle/osgParticle.dsp, - VisualStudio/osgPlugins/3dc/3dc.dsp, - VisualStudio/osgPlugins/ac3d/ac3d.dsp, - VisualStudio/osgPlugins/bmp/bmp.dsp, - VisualStudio/osgPlugins/dds/dds.dsp, - VisualStudio/osgPlugins/directx/directx.dsp, - VisualStudio/osgPlugins/dw/dw.dsp, - VisualStudio/osgPlugins/dx/dx.dsp, - VisualStudio/osgPlugins/flt/flt.dsp, - VisualStudio/osgPlugins/freetype/freetype.dsp, - VisualStudio/osgPlugins/gdal/gdal.dsp, - VisualStudio/osgPlugins/geo/geo.dsp, - VisualStudio/osgPlugins/gif/gif.dsp, - VisualStudio/osgPlugins/hdr/hdr.dsp, - VisualStudio/osgPlugins/ive/ive.dsp, - VisualStudio/osgPlugins/jp2/jp2.dsp, - VisualStudio/osgPlugins/jpeg/jpeg.dsp, - VisualStudio/osgPlugins/lib3ds/lib3ds.dsp, - VisualStudio/osgPlugins/logo/logo.dsp, - VisualStudio/osgPlugins/lwo/lwo.dsp, - VisualStudio/osgPlugins/lws/lws.dsp, - VisualStudio/osgPlugins/md2/md2.dsp, - VisualStudio/osgPlugins/net/net.dsp, - VisualStudio/osgPlugins/obj/obj.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, - VisualStudio/osgPlugins/osgFX/dot_osgFX.dsp, - VisualStudio/osgPlugins/osgParticle/dot_osgParticle.dsp, - VisualStudio/osgPlugins/osgSim/dot_osgSim.dsp, - VisualStudio/osgPlugins/osgText/dot_osgText.dsp, - VisualStudio/osgPlugins/osga/osga.dsp, - VisualStudio/osgPlugins/osgtgz/osgtgz.dsp, - VisualStudio/osgPlugins/pfb/pfb.dsp, - VisualStudio/osgPlugins/pic/pic.dsp, - VisualStudio/osgPlugins/png/png.dsp, - VisualStudio/osgPlugins/pnm/pnm.dsp, - VisualStudio/osgPlugins/rgb/rgb.dsp, - VisualStudio/osgPlugins/rot/rot.dsp, - VisualStudio/osgPlugins/scale/scale.dsp, - VisualStudio/osgPlugins/stl/stl.dsp, - VisualStudio/osgPlugins/tga/tga.dsp, - VisualStudio/osgPlugins/tgz/tgz.dsp, - VisualStudio/osgPlugins/tiff/tiff.dsp, - VisualStudio/osgPlugins/trans/trans.dsp, - VisualStudio/osgPlugins/txp/txp.dsp, - VisualStudio/osgPlugins/zip/zip.dsp, - VisualStudio/osgProducer/osgProducer.dsp, - VisualStudio/osgSim/osgSim.dsp, - VisualStudio/osgTerrain/osgTerrain.dsp, - VisualStudio/osgText/osgText.dsp, - VisualStudio/osgUtil/osgUtil.dsp, - VisualStudio/osgWrappers/osg/wrapper_osg.dsp: Removed eroneous - /dv1 flag (should have been /vd1, but it this is default anway - so can safely remove entirely). - -2005-04-18 13:36 robert - - * src/osgPlugins/osg/Uniform.cpp: Further work on uniforms support - in .osg - -2005-04-18 13:29 robert - - * src/osgPlugins/osg/Uniform.cpp: Added more complete support for - writing out data of Uniforms - -2005-04-18 12:34 robert - - * include/osgDB/Input, include/osgDB/Registry, src/osgDB/Input.cpp, - src/osgDB/Registry.cpp, src/osgPlugins/osg/StateSet.cpp: Added - next stage of support for osg::Uniform in .osg plugin - -2005-04-18 09:17 robert - - * Make/dependencies, Make/makedirdefs, src/osgPlugins/mpeg: Removed - mpeg plugin from CVS, now moved to the Community section of - openscenegraph.org as a seperate project. - -2005-04-17 19:14 robert - - * examples/osgunittests/osgunittests.cpp: Fixed typo in testLookAt - debug info. - -2005-04-17 19:10 robert - - * src/osgPlugins/dxf/aci.cpp, src/osgPlugins/dxf/dxfEntity.cpp, - src/osgPlugins/dxf/dxfEntity.h, src/osgPlugins/dxf/dxfReader.cpp, - src/osgPlugins/dxf/dxfReader.h, - src/osgPlugins/dxf/dxfSection.cpp, - src/osgPlugins/dxf/dxfTable.cpp, src/osgPlugins/dxf/dxfTable.h: - Fixed warnings. - -2005-04-17 11:35 robert - - * src/osgSim/DOFTransform.cpp: Changed the animation on default to - false, so things only move if you ask them to. - -2005-04-17 11:30 robert - - * src/osgWrappers/osg/AlphaFunc.cpp, - src/osgWrappers/osg/AnimationPath.cpp, - src/osgWrappers/osg/ApplicationUsage.cpp, - src/osgWrappers/osg/ArgumentParser.cpp, - src/osgWrappers/osg/Array.cpp, - src/osgWrappers/osg/AutoTransform.cpp, - src/osgWrappers/osg/Billboard.cpp, - src/osgWrappers/osg/BlendColor.cpp, - src/osgWrappers/osg/BlendEquation.cpp, - src/osgWrappers/osg/BlendFunc.cpp, - src/osgWrappers/osg/BoundingBox.cpp, - src/osgWrappers/osg/BoundingSphere.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/ClearNode.cpp, - src/osgWrappers/osg/ClipNode.cpp, - src/osgWrappers/osg/ClipPlane.cpp, - src/osgWrappers/osg/ClusterCullingCallback.cpp, - src/osgWrappers/osg/CollectOccludersVisitor.cpp, - src/osgWrappers/osg/ColorMask.cpp, - src/osgWrappers/osg/ColorMatrix.cpp, - src/osgWrappers/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/osg/ConvexPlanarPolygon.cpp, - src/osgWrappers/osg/CoordinateSystemNode.cpp, - src/osgWrappers/osg/CopyOp.cpp, src/osgWrappers/osg/CullFace.cpp, - src/osgWrappers/osg/CullSettings.cpp, - src/osgWrappers/osg/CullStack.cpp, - src/osgWrappers/osg/CullingSet.cpp, - src/osgWrappers/osg/Depth.cpp, - src/osgWrappers/osg/DisplaySettings.cpp, - src/osgWrappers/osg/DrawPixels.cpp, - src/osgWrappers/osg/Drawable.cpp, src/osgWrappers/osg/Fog.cpp, - src/osgWrappers/osg/FragmentProgram.cpp, - src/osgWrappers/osg/FrameStamp.cpp, - src/osgWrappers/osg/FrontFace.cpp, src/osgWrappers/osg/Geode.cpp, - src/osgWrappers/osg/Geometry.cpp, src/osgWrappers/osg/Group.cpp, - src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/ImageStream.cpp, - src/osgWrappers/osg/Impostor.cpp, - src/osgWrappers/osg/ImpostorSprite.cpp, - src/osgWrappers/osg/LOD.cpp, src/osgWrappers/osg/Light.cpp, - src/osgWrappers/osg/LightModel.cpp, - src/osgWrappers/osg/LightSource.cpp, - src/osgWrappers/osg/LineSegment.cpp, - src/osgWrappers/osg/LineStipple.cpp, - src/osgWrappers/osg/LineWidth.cpp, - src/osgWrappers/osg/LogicOp.cpp, - src/osgWrappers/osg/Material.cpp, src/osgWrappers/osg/Matrix.cpp, - src/osgWrappers/osg/MatrixTransform.cpp, - src/osgWrappers/osg/Matrixd.cpp, src/osgWrappers/osg/Matrixf.cpp, - src/osgWrappers/osg/Multisample.cpp, - src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/NodeCallback.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osg/Object.cpp, - src/osgWrappers/osg/OccluderNode.cpp, - src/osgWrappers/osg/PagedLOD.cpp, src/osgWrappers/osg/Plane.cpp, - src/osgWrappers/osg/Point.cpp, - src/osgWrappers/osg/PointSprite.cpp, - src/osgWrappers/osg/PolygonMode.cpp, - src/osgWrappers/osg/PolygonOffset.cpp, - src/osgWrappers/osg/PolygonStipple.cpp, - src/osgWrappers/osg/Polytope.cpp, - src/osgWrappers/osg/PositionAttitudeTransform.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osg/Program.cpp, - src/osgWrappers/osg/Projection.cpp, - src/osgWrappers/osg/ProxyNode.cpp, src/osgWrappers/osg/Quat.cpp, - src/osgWrappers/osg/RefNodePath.cpp, - src/osgWrappers/osg/Referenced.cpp, - src/osgWrappers/osg/Sequence.cpp, - src/osgWrappers/osg/ShadeModel.cpp, - src/osgWrappers/osg/Shader.cpp, - src/osgWrappers/osg/ShadowVolumeOccluder.cpp, - src/osgWrappers/osg/Shape.cpp, - src/osgWrappers/osg/ShapeDrawable.cpp, - src/osgWrappers/osg/State.cpp, - src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/StateSet.cpp, - src/osgWrappers/osg/Stencil.cpp, src/osgWrappers/osg/Switch.cpp, - src/osgWrappers/osg/TexEnv.cpp, - src/osgWrappers/osg/TexEnvCombine.cpp, - src/osgWrappers/osg/TexEnvFilter.cpp, - src/osgWrappers/osg/TexGen.cpp, - src/osgWrappers/osg/TexGenNode.cpp, - src/osgWrappers/osg/TexMat.cpp, src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osg/Texture1D.cpp, - src/osgWrappers/osg/Texture2D.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/TextureCubeMap.cpp, - src/osgWrappers/osg/TextureRectangle.cpp, - src/osgWrappers/osg/Timer.cpp, src/osgWrappers/osg/Transform.cpp, - src/osgWrappers/osg/UByte4.cpp, src/osgWrappers/osg/Uniform.cpp, - src/osgWrappers/osg/Vec2.cpp, src/osgWrappers/osg/Vec2d.cpp, - src/osgWrappers/osg/Vec2f.cpp, src/osgWrappers/osg/Vec3.cpp, - src/osgWrappers/osg/Vec3d.cpp, src/osgWrappers/osg/Vec3f.cpp, - src/osgWrappers/osg/Vec4.cpp, src/osgWrappers/osg/Vec4d.cpp, - src/osgWrappers/osg/Vec4f.cpp, - src/osgWrappers/osg/VertexProgram.cpp, - src/osgWrappers/osg/Viewport.cpp: From Marco Jez, osgWrappers - updates to latest changes in core osg. - -2005-04-17 10:41 robert - - * include/osg/Matrixd, include/osg/Matrixf, include/osg/Vec3f, - src/osg/Matrix_implementation.cpp: Moved istream/ostream includes - out of Vec3f, and reimpleted osg::Matrix*::compare. - -2005-04-17 09:41 robert - - * include/osg/State: From Tony Horrobin, fix for VS6.0 - -2005-04-16 17:44 robert - - * include/osg/Program, include/osg/io_utils: From Marco Jez, added - operator >> for Plane and Quat to io_utils, and added - OSG_EXPORT to PerContextProgram. - -2005-04-16 10:18 robert - - * src/osgPlugins/osg/Shader.cpp: Fixed wrapping of text string to - allow internal "" strings - -2005-04-16 10:11 robert - - * examples/osgshaders/GL2Scene.cpp, src/osg/Program.cpp: From Mike - Weiblen,added debug info to osg::Program and changed shader - uniform names to - avoid conflict with built in functions - -2005-04-16 04:00 don - - * src/osgPlugins/ive/PagedLOD.cpp: 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. - -2005-04-15 20:59 robert - - * include/osg/Plane, include/osg/Quat, include/osg/io_utils, - src/osg/TexGen.cpp, src/osgPlugins/osg/TexGen.cpp: Moved Plane - and Quat << operators into the io_utils headers - -2005-04-15 20:44 robert - - * Make/makedirdefs: Added dxf to the list of projects - -2005-04-15 20:39 robert - - * src/osgPlugins/dxf, src/osgPlugins/dxf/GNUmakefile, - src/osgPlugins/dxf/ReaderWriterDXF.cpp, - src/osgPlugins/dxf/aci.cpp, src/osgPlugins/dxf/aci.h, - src/osgPlugins/dxf/codeValue.h, src/osgPlugins/dxf/dxfBlock.cpp, - src/osgPlugins/dxf/dxfBlock.h, src/osgPlugins/dxf/dxfDataTypes.h, - src/osgPlugins/dxf/dxfEntity.cpp, src/osgPlugins/dxf/dxfEntity.h, - src/osgPlugins/dxf/dxfFile.cpp, src/osgPlugins/dxf/dxfFile.h, - src/osgPlugins/dxf/dxfReader.cpp, src/osgPlugins/dxf/dxfReader.h, - src/osgPlugins/dxf/dxfSection.cpp, - src/osgPlugins/dxf/dxfSection.h, - src/osgPlugins/dxf/dxfSectionBase.h, - src/osgPlugins/dxf/dxfTable.cpp, src/osgPlugins/dxf/dxfTable.h, - src/osgPlugins/dxf/scene.cpp, src/osgPlugins/dxf/scene.h, - src/osgPlugins/osg/ClipPlane.cpp, - src/osgPlugins/osgText/IO_Text.cpp: From Paul de Repentinguy, DXF - loader plugin. Ported to Linux by Robert Osfield. - -2005-04-15 20:11 robert - - * src/osgUtil/Optimizer.cpp: From Joran Jessurun, Added setting of - original node mask to flatten transforms - -2005-04-15 20:05 robert - - * include/osgSim/MultiSwitch, src/osgSim/MultiSwitch.cpp: Added - setValue and setSwitchSet methods - -2005-04-15 18:28 robert - - * src/osgPlugins/hdr/hdrloader.cpp: From Mike Weiblen, fix for - Win32 build - -2005-04-15 10:15 robert - - * doc/Doxyfiles/core_Doxyfile: Removed link reference to osgGL2 in - doxygen file, added osgIntrospection - -2005-04-15 10:09 robert - - * VisualStudio/applications/osgarchive/osgarchive.dsp, - VisualStudio/applications/osgconv/osgconv.dsp, - VisualStudio/applications/osgdem/osgdem.dsp, - VisualStudio/applications/osgversion/osgversion.dsp, - VisualStudio/applications/osgviewer/osgviewer.dsp, - VisualStudio/examples/osgGLUTkeyboardmouse/osgGLUTkeyboardmouse.dsp, - VisualStudio/examples/osgGLUTsimple/osgGLUTsimple.dsp, - VisualStudio/examples/osganimate/osganimate.dsp, - VisualStudio/examples/osgautotransform/osgautotransform.dsp, - VisualStudio/examples/osgbillboard/osgbillboard.dsp, - VisualStudio/examples/osgbluemarble/osgbluemarble.dsp, - VisualStudio/examples/osgcallback/osgcallback.dsp, - VisualStudio/examples/osgcameragroup/osgcameragroup.dsp, - VisualStudio/examples/osgclip/osgclip.dsp, - VisualStudio/examples/osgcluster/osgcluster.dsp, - VisualStudio/examples/osgcopy/osgcopy.dsp, - VisualStudio/examples/osgcubemap/osgcubemap.dsp, - VisualStudio/examples/osgdepthshadow/osgdepthshadow.dsp, - VisualStudio/examples/osgdistortion/osgdistortion.dsp, - VisualStudio/examples/osgforest/osgforest.dsp, - VisualStudio/examples/osggeodemo/osggeodemo.dsp, - VisualStudio/examples/osggeometry/osggeometry.dsp, - VisualStudio/examples/osghangglide/osghangglide.dsp, - VisualStudio/examples/osghud/osghud.dsp, - VisualStudio/examples/osgimpostor/osgimpostor.dsp, - VisualStudio/examples/osgintrospection/example_osgintrospection.dsp, - VisualStudio/examples/osgkeyboard/osgkeyboard.dsp, - VisualStudio/examples/osgkeyboardmouse/osgkeyboardmouse.dsp, - VisualStudio/examples/osglauncher/osglauncher.dsp, - VisualStudio/examples/osglight/osglight.dsp, - VisualStudio/examples/osglightpoint/osglightpoint.dsp, - VisualStudio/examples/osglogo/osglogo.dsp, - VisualStudio/examples/osgmotionblur/osgmotionblur.dsp, - VisualStudio/examples/osgmultitexture/osgmultitexture.dsp, - VisualStudio/examples/osgoccluder/osgoccluder.dsp, - VisualStudio/examples/osgparticle/osgparticledemo.dsp, - VisualStudio/examples/osgparticleeffects/osgparticleeffects.dsp, - VisualStudio/examples/osgpbuffer/osgpbuffer.dsp, - VisualStudio/examples/osgphotoalbum/osgphotoalbum.dsp, - VisualStudio/examples/osgpick/osgpick.dsp, - VisualStudio/examples/osgplanets/osgplanets.dsp, - VisualStudio/examples/osgpointsprite/osgpointsprite.dsp, - VisualStudio/examples/osgprerender/osgprerender.dsp, - VisualStudio/examples/osgprerendercubemap/osgprerendercubemap.dsp, - VisualStudio/examples/osgreflect/osgreflect.dsp, - VisualStudio/examples/osgscalarbar/osgscalarbar.dsp, - VisualStudio/examples/osgscribe/osgscribe.dsp, - VisualStudio/examples/osgsequence/osgsequence.dsp, - VisualStudio/examples/osgshaders/osgshaders.dsp, - VisualStudio/examples/osgshadowtexture/osgshadowtexture.dsp, - VisualStudio/examples/osgshape/osgshape.dsp, - VisualStudio/examples/osgsimple/osgsimple.dsp, - VisualStudio/examples/osgsimplepager/osgsimplepager.dsp, - VisualStudio/examples/osgsimplifier/osgsimplifier.dsp, - VisualStudio/examples/osgsimulation/osgsimulation.dsp, - VisualStudio/examples/osgspheresegment/osgspheresegment.dsp, - VisualStudio/examples/osgspotlight/osgspotlight.dsp, - VisualStudio/examples/osgstereoimage/osgstereoimage.dsp, - VisualStudio/examples/osgteapot/osgteapot.dsp, - VisualStudio/examples/osgtesselate/osgtesselate.dsp, - VisualStudio/examples/osgtext/osgtextdemo.dsp, - VisualStudio/examples/osgtexture1D/osgtexture1D.dsp, - VisualStudio/examples/osgtexture2D/osgtexture2D.dsp, - VisualStudio/examples/osgtexture3D/osgtexture3D.dsp, - VisualStudio/examples/osgtexturerectangle/osgtexturerectangle.dsp, - VisualStudio/examples/osgunittests/osgunittests.dsp, - VisualStudio/examples/osgvertexprogram/osgvertexprogram.dsp, - VisualStudio/examples/osgvolume/osgvolume.dsp, - VisualStudio/examples/osgwindows/osgwindows.dsp, - VisualStudio/osg/osg.dsp, VisualStudio/osgDB/osgDB.dsp, - VisualStudio/osgFX/osgFX.dsp, VisualStudio/osgGA/osgGA.dsp, - VisualStudio/osgIntrospection/osgIntrospection.dsp, - VisualStudio/osgParticle/osgParticle.dsp, - VisualStudio/osgPlugins/3dc/3dc.dsp, - VisualStudio/osgPlugins/ac3d/ac3d.dsp, - VisualStudio/osgPlugins/bmp/bmp.dsp, - VisualStudio/osgPlugins/dds/dds.dsp, - VisualStudio/osgPlugins/directx/directx.dsp, - VisualStudio/osgPlugins/dw/dw.dsp, - VisualStudio/osgPlugins/dx/dx.dsp, - VisualStudio/osgPlugins/flt/flt.dsp, - VisualStudio/osgPlugins/freetype/freetype.dsp, - VisualStudio/osgPlugins/gdal/gdal.dsp, - VisualStudio/osgPlugins/geo/geo.dsp, - VisualStudio/osgPlugins/gif/gif.dsp, - VisualStudio/osgPlugins/hdr/hdr.dsp, - VisualStudio/osgPlugins/ive/ive.dsp, - VisualStudio/osgPlugins/jp2/jp2.dsp, - VisualStudio/osgPlugins/jpeg/jpeg.dsp, - VisualStudio/osgPlugins/lib3ds/lib3ds.dsp, - VisualStudio/osgPlugins/logo/logo.dsp, - VisualStudio/osgPlugins/lwo/lwo.dsp, - VisualStudio/osgPlugins/lws/lws.dsp, - VisualStudio/osgPlugins/md2/md2.dsp, - VisualStudio/osgPlugins/net/net.dsp, - VisualStudio/osgPlugins/obj/obj.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, - VisualStudio/osgPlugins/osgFX/dot_osgFX.dsp, - VisualStudio/osgPlugins/osgParticle/dot_osgParticle.dsp, - VisualStudio/osgPlugins/osgSim/dot_osgSim.dsp, - VisualStudio/osgPlugins/osgText/dot_osgText.dsp, - VisualStudio/osgPlugins/osga/osga.dsp, - VisualStudio/osgPlugins/osgtgz/osgtgz.dsp, - VisualStudio/osgPlugins/pfb/pfb.dsp, - VisualStudio/osgPlugins/pic/pic.dsp, - VisualStudio/osgPlugins/png/png.dsp, - VisualStudio/osgPlugins/pnm/pnm.dsp, - VisualStudio/osgPlugins/rgb/rgb.dsp, - VisualStudio/osgPlugins/rot/rot.dsp, - VisualStudio/osgPlugins/scale/scale.dsp, - VisualStudio/osgPlugins/stl/stl.dsp, - VisualStudio/osgPlugins/tga/tga.dsp, - VisualStudio/osgPlugins/tgz/tgz.dsp, - VisualStudio/osgPlugins/tiff/tiff.dsp, - VisualStudio/osgPlugins/trans/trans.dsp, - VisualStudio/osgPlugins/txp/txp.dsp, - VisualStudio/osgPlugins/zip/zip.dsp, - VisualStudio/osgProducer/osgProducer.dsp, - VisualStudio/osgSim/osgSim.dsp, - VisualStudio/osgTerrain/osgTerrain.dsp, - VisualStudio/osgText/osgText.dsp, - VisualStudio/osgUtil/osgUtil.dsp, - VisualStudio/osgWrappers/osg/wrapper_osg.dsp: Changed all - instances of /vd0 to /vd1 - -2005-04-15 09:56 robert - - * src/osgPlugins/hdr/hdrloader.cpp: In the ldexp(,) call removed - the /256.0f by replacing it with a -8 on the exponent. - -2005-04-15 08:35 robert - - * Make/dependencies, Make/makedirdefs, - VisualStudio/VisualStudio.dsw, VisualStudio/osgGL2, - include/osg/StateAttribute, include/osgGL2, src/osgGL2: Removed - osgGL2 from CVS, osgGL2 now can be found on the - Community/NodeKits section on the OSG website. - -2005-04-14 21:41 robert - - * include/osg/AlphaFunc, include/osg/AnimationPath, - include/osg/ApplicationUsage, include/osg/ArgumentParser, - include/osg/Array, include/osg/AutoTransform, - include/osg/Billboard, include/osg/BlendColor, - include/osg/BlendEquation, include/osg/BlendFunc, - include/osg/BoundingBox, include/osg/BoundingSphere, - include/osg/BoundsChecking, include/osg/BufferObject, - include/osg/ClearNode, include/osg/ClipNode, - include/osg/ClipPlane, include/osg/ClusterCullingCallback, - include/osg/CollectOccludersVisitor, include/osg/ColorMask, - include/osg/ColorMatrix, include/osg/ConvexPlanarOccluder, - include/osg/ConvexPlanarPolygon, - include/osg/CoordinateSystemNode, include/osg/CopyOp, - include/osg/CullFace, include/osg/CullSettings, - include/osg/CullStack, include/osg/CullingSet, include/osg/Depth, - include/osg/DisplaySettings, include/osg/DrawPixels, - include/osg/Drawable, include/osg/Endian, include/osg/Export, - include/osg/Fog, include/osg/FragmentProgram, - include/osg/FrameStamp, include/osg/FrontFace, include/osg/GL, - include/osg/GLExtensions, include/osg/GLU, include/osg/Geode, - include/osg/Geometry, include/osg/Group, include/osg/Image, - include/osg/ImageStream, include/osg/Impostor, - include/osg/ImpostorSprite, include/osg/LOD, include/osg/Light, - include/osg/LightModel, include/osg/LogicOp, include/osg/Matrix, - include/osg/MatrixTransform, include/osg/Multisample, - include/osg/Node, include/osg/NodeCallback, - include/osg/NodeVisitor, include/osg/Notify, include/osg/Object, - include/osg/OccluderNode, include/osg/PagedLOD, - include/osg/Plane, include/osg/Point, include/osg/PointSprite, - include/osg/PolygonMode, include/osg/PolygonOffset, - include/osg/PolygonStipple, include/osg/Polytope, - include/osg/PositionAttitudeTransform, include/osg/PrimitiveSet, - include/osg/Projection, include/osg/ProxyNode, include/osg/Quat, - include/osg/RefNodePath, include/osg/Referenced, - include/osg/Sequence, include/osg/ShadeModel, - include/osg/ShadowVolumeOccluder, include/osg/Shape, - include/osg/ShapeDrawable, include/osg/State, - include/osg/StateSet, include/osg/Stencil, include/osg/Switch, - include/osg/TexEnv, include/osg/TexEnvCombine, - include/osg/TexEnvFilter, include/osg/TexGen, - include/osg/TexGenNode, include/osg/TexMat, include/osg/Texture, - include/osg/Texture1D, include/osg/Texture2D, - include/osg/Texture3D, include/osg/TextureCubeMap, - include/osg/TextureRectangle, include/osg/Timer, - include/osg/Transform, include/osg/TriangleFunctor, - include/osg/TriangleIndexFunctor, include/osg/UByte4, - include/osg/UnitTestFramework, include/osg/Vec2, - include/osg/Vec2d, include/osg/Vec2f, include/osg/Vec3, - include/osg/Vec3d, include/osg/Vec3f, include/osg/Vec4, - include/osg/Vec4d, include/osg/Vec4f, include/osg/Version, - include/osg/VertexProgram, include/osg/Viewport, - include/osg/buffered_value, include/osg/fast_back_stack, - include/osg/io_utils, include/osg/ref_ptr, include/osgDB/Archive, - include/osgDB/DatabasePager, include/osgDB/DotOsgWrapper, - include/osgDB/DynamicLibrary, include/osgDB/Export, - include/osgDB/Field, include/osgDB/FieldReader, - include/osgDB/FieldReaderIterator, include/osgDB/FileNameUtils, - include/osgDB/FileUtils, include/osgDB/ImageOptions, - include/osgDB/Input, include/osgDB/Output, - include/osgDB/ParameterOutput, include/osgDB/ReadFile, - include/osgDB/ReaderWriter, include/osgDB/ReentrantMutex, - include/osgDB/Registry, include/osgDB/SharedStateManager, - include/osgDB/Version, include/osgDB/WriteFile, - include/osgFX/AnisotropicLighting, include/osgFX/BumpMapping, - include/osgFX/Cartoon, include/osgFX/Effect, - include/osgFX/Export, include/osgFX/Registry, - include/osgFX/Scribe, include/osgFX/SpecularHighlights, - include/osgFX/Technique, include/osgFX/Validator, - include/osgGA/AnimationPathManipulator, - include/osgGA/DriveManipulator, include/osgGA/EventVisitor, - include/osgGA/Export, include/osgGA/FlightManipulator, - include/osgGA/GUIActionAdapter, include/osgGA/GUIEventAdapter, - include/osgGA/GUIEventHandler, - include/osgGA/GUIEventHandlerVisitor, - include/osgGA/KeySwitchMatrixManipulator, - include/osgGA/MatrixManipulator, - include/osgGA/NodeTrackerManipulator, - include/osgGA/SetSceneViewVisitor, - include/osgGA/StateSetManipulator, - include/osgGA/TerrainManipulator, - include/osgGA/TrackballManipulator, include/osgGA/UFOManipulator, - include/osgGA/Version, include/osgGL2/Export, - include/osgGL2/UniformValue, include/osgGL2/Version, - include/osgIntrospection/Export, - include/osgParticle/AccelOperator, - include/osgParticle/AngularAccelOperator, - include/osgParticle/CenteredPlacer, include/osgParticle/Counter, - include/osgParticle/Emitter, - include/osgParticle/ExplosionDebriEffect, - include/osgParticle/ExplosionEffect, include/osgParticle/Export, - include/osgParticle/FireEffect, - include/osgParticle/FluidFrictionOperator, - include/osgParticle/FluidProgram, - include/osgParticle/ForceOperator, - include/osgParticle/Interpolator, - include/osgParticle/LinearInterpolator, - include/osgParticle/ModularEmitter, - include/osgParticle/ModularProgram, - include/osgParticle/MultiSegmentPlacer, - include/osgParticle/Operator, include/osgParticle/Particle, - include/osgParticle/ParticleEffect, - include/osgParticle/ParticleProcessor, - include/osgParticle/ParticleSystem, - include/osgParticle/ParticleSystemUpdater, - include/osgParticle/Placer, include/osgParticle/PointPlacer, - include/osgParticle/Program, include/osgParticle/RadialShooter, - include/osgParticle/RandomRateCounter, - include/osgParticle/SectorPlacer, - include/osgParticle/SegmentPlacer, include/osgParticle/Shooter, - include/osgParticle/SmokeEffect, - include/osgParticle/VariableRateCounter, - include/osgParticle/Version, include/osgParticle/range, - include/osgProducer/EventAdapter, include/osgProducer/Export, - include/osgProducer/KeyboardMouseCallback, - include/osgProducer/OsgCameraGroup, - include/osgProducer/OsgSceneHandler, include/osgProducer/Version, - include/osgProducer/Viewer, - include/osgProducer/ViewerEventHandler, - include/osgSim/BlinkSequence, include/osgSim/ColorRange, - include/osgSim/DOFTransform, include/osgSim/Export, - include/osgSim/LightPoint, include/osgSim/LightPointNode, - include/osgSim/MultiSwitch, include/osgSim/ScalarBar, - include/osgSim/ScalarsToColors, include/osgSim/Sector, - include/osgSim/SphereSegment, include/osgSim/Version, - include/osgSim/VisibilityGroup, include/osgTerrain/DataSet, - include/osgTerrain/Export, include/osgTerrain/HeightFieldNode, - include/osgTerrain/HeightFieldRenderer, - include/osgTerrain/Version, include/osgText/Export, - include/osgText/Font, include/osgText/String, - include/osgText/Text, include/osgText/Version, - include/osgUtil/CubeMapGenerator, include/osgUtil/CullVisitor, - include/osgUtil/DelaunayTriangulator, - include/osgUtil/DisplayRequirementsVisitor, - include/osgUtil/Export, include/osgUtil/GLObjectsVisitor, - include/osgUtil/HalfWayMapGenerator, - include/osgUtil/HighlightMapGenerator, - include/osgUtil/InsertImpostorsVisitor, - include/osgUtil/IntersectVisitor, include/osgUtil/Optimizer, - include/osgUtil/ReflectionMapGenerator, - include/osgUtil/RenderBin, include/osgUtil/RenderGraph, - include/osgUtil/RenderLeaf, include/osgUtil/RenderStage, - include/osgUtil/RenderStageLighting, - include/osgUtil/RenderToTextureStage, include/osgUtil/SceneView, - include/osgUtil/Simplifier, include/osgUtil/SmoothingVisitor, - include/osgUtil/Statistics, - include/osgUtil/TangentSpaceGenerator, - include/osgUtil/Tesselator, - include/osgUtil/TransformAttributeFunctor, - include/osgUtil/TransformCallback, - include/osgUtil/TriStripVisitor, include/osgUtil/UpdateVisitor, - include/osgUtil/Version, src/osg/AlphaFunc.cpp, - src/osg/AnimationPath.cpp, src/osg/Array.cpp, - src/osg/AutoTransform.cpp, src/osg/Billboard.cpp, - src/osg/BlendColor.cpp, src/osg/BlendEquation.cpp, - src/osg/BlendFunc.cpp, src/osg/BoundingBox.cpp, - src/osg/BoundingSphere.cpp, src/osg/BufferObject.cpp, - src/osg/ClearNode.cpp, src/osg/ClipNode.cpp, - src/osg/ClipPlane.cpp, src/osg/ClusterCullingCallback.cpp, - src/osg/CollectOccludersVisitor.cpp, src/osg/ColorMask.cpp, - src/osg/ColorMatrix.cpp, src/osg/ConvexPlanarOccluder.cpp, - src/osg/ConvexPlanarPolygon.cpp, - src/osg/CoordinateSystemNode.cpp, src/osg/CopyOp.cpp, - src/osg/CullFace.cpp, src/osg/CullSettings.cpp, - src/osg/CullStack.cpp, src/osg/CullingSet.cpp, src/osg/Depth.cpp, - src/osg/DisplaySettings.cpp, src/osg/DrawPixels.cpp, - src/osg/Drawable.cpp, src/osg/Fog.cpp, - src/osg/FragmentProgram.cpp, src/osg/FrameStamp.cpp, - src/osg/FrontFace.cpp, src/osg/GLExtensions.cpp, - src/osg/Geode.cpp, src/osg/Geometry.cpp, src/osg/Group.cpp, - src/osg/Image.cpp, src/osg/ImageStream.cpp, src/osg/Impostor.cpp, - src/osg/ImpostorSprite.cpp, src/osg/LOD.cpp, src/osg/Light.cpp, - src/osg/LightModel.cpp, src/osg/LightSource.cpp, - src/osg/LineSegment.cpp, src/osg/LineStipple.cpp, - src/osg/LineWidth.cpp, src/osg/LogicOp.cpp, src/osg/Material.cpp, - src/osg/MatrixTransform.cpp, src/osg/Matrix_implementation.cpp, - src/osg/Matrixd.cpp, src/osg/Matrixf.cpp, - src/osg/Multisample.cpp, src/osg/Node.cpp, - src/osg/NodeCallback.cpp, src/osg/NodeVisitor.cpp, - src/osg/Notify.cpp, src/osg/Object.cpp, src/osg/OccluderNode.cpp, - src/osg/PagedLOD.cpp, src/osg/Point.cpp, src/osg/PointSprite.cpp, - src/osg/PolygonMode.cpp, src/osg/PolygonOffset.cpp, - src/osg/PolygonStipple.cpp, - src/osg/PositionAttitudeTransform.cpp, src/osg/PrimitiveSet.cpp, - src/osg/Projection.cpp, src/osg/ProxyNode.cpp, src/osg/Quat.cpp, - src/osg/Referenced.cpp, src/osg/Sequence.cpp, - src/osg/ShadeModel.cpp, src/osg/ShadowVolumeOccluder.cpp, - src/osg/Shape.cpp, src/osg/ShapeDrawable.cpp, src/osg/State.cpp, - src/osg/StateSet.cpp, src/osg/Stencil.cpp, src/osg/Switch.cpp, - src/osg/TexEnv.cpp, src/osg/TexEnvCombine.cpp, - src/osg/TexEnvFilter.cpp, src/osg/TexGen.cpp, - src/osg/TexGenNode.cpp, src/osg/TexMat.cpp, src/osg/Texture.cpp, - src/osg/Texture1D.cpp, src/osg/Texture2D.cpp, - src/osg/Texture3D.cpp, src/osg/TextureCubeMap.cpp, - src/osg/TextureRectangle.cpp, src/osg/Timer.cpp, - src/osg/Transform.cpp, src/osg/UnitTestFramework.cpp, - src/osg/Vec3.cpp, src/osg/Version.cpp, src/osg/VertexProgram.cpp, - src/osg/Viewport.cpp, src/osgDB/Archive.cpp, - src/osgDB/DotOsgWrapper.cpp, src/osgDB/DynamicLibrary.cpp, - src/osgDB/Field.cpp, src/osgDB/FieldReader.cpp, - src/osgDB/FieldReaderIterator.cpp, src/osgDB/FileNameUtils.cpp, - src/osgDB/FileUtils.cpp, src/osgDB/Input.cpp, - src/osgDB/Output.cpp, src/osgDB/ReadFile.cpp, - src/osgDB/ReaderWriter.cpp, src/osgDB/ReentrantMutex.cpp, - src/osgDB/Registry.cpp, src/osgDB/SharedStateManager.cpp, - src/osgDB/Version.cpp, src/osgDB/WriteFile.cpp, - src/osgGA/DriveManipulator.cpp, src/osgGA/EventVisitor.cpp, - src/osgGA/GUIEventAdapter.cpp, src/osgGA/GUIEventHandler.cpp, - src/osgGL2/UniformValue.cpp, - src/osgParticle/ExplosionDebriEffect.cpp, - src/osgParticle/ExplosionEffect.cpp, - src/osgParticle/FireEffect.cpp, - src/osgParticle/ParticleEffect.cpp, - src/osgParticle/SmokeEffect.cpp, - src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h, - src/osgPlugins/freetype/FreeTypeLibrary.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.h, - src/osgPlugins/geo/ClipRegion.h, - src/osgProducer/OsgCameraGroup.cpp, - src/osgProducer/OsgSceneHandler.cpp, - src/osgSim/BlinkSequence.cpp, src/osgSim/DOFTransform.cpp, - src/osgSim/LightPoint.cpp, src/osgSim/LightPointDrawable.cpp, - src/osgSim/LightPointNode.cpp, src/osgSim/MultiSwitch.cpp, - src/osgSim/Sector.cpp, src/osgSim/VisibilityGroup.cpp, - src/osgTerrain/DataSet.cpp, src/osgTerrain/HeightFieldNode.cpp, - src/osgTerrain/HeightFieldRenderer.cpp, - src/osgText/DefaultFont.cpp, src/osgText/DefaultFont.h, - src/osgText/Font.cpp, src/osgText/Text.cpp, - src/osgUtil/CubeMapGenerator.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgUtil/GLObjectsVisitor.cpp, - src/osgUtil/HalfWayMapGenerator.cpp, - src/osgUtil/HighlightMapGenerator.cpp, - src/osgUtil/InsertImpostorsVisitor.cpp, - src/osgUtil/IntersectVisitor.cpp, src/osgUtil/Optimizer.cpp, - src/osgUtil/RenderBin.cpp, src/osgUtil/RenderGraph.cpp, - src/osgUtil/RenderLeaf.cpp, src/osgUtil/RenderStage.cpp, - src/osgUtil/RenderStageLighting.cpp, - src/osgUtil/RenderToTextureStage.cpp, src/osgUtil/SceneView.cpp, - src/osgUtil/Simplifier.cpp, src/osgUtil/SmoothingVisitor.cpp, - src/osgUtil/Tesselator.cpp, - src/osgUtil/TransformAttributeFunctor.cpp, - src/osgUtil/TransformCallback.cpp, - src/osgUtil/TriStripVisitor.cpp, - src/osgUtil/TriStrip_tri_stripper.cpp, - src/osgUtil/UpdateVisitor.cpp, src/osgUtil/Version.cpp: Updated - Copyright notices to 1998-2005. - -2005-04-14 20:34 robert - - * src/osgPlugins/flt/ReaderWriterATTR.cpp: Changed uint for - unsigned int. - -2005-04-14 20:14 robert - - * include/osg/Uniform: Uniforms open for business :) - -2005-04-14 20:05 robert - - * include/osg/State: Fixed getUniformLocation and getAttribLocation - methods - -2005-04-14 15:53 robert - - * Make/openscenegraph.pc, include/osg/StateSet, - src/osg/StateSet.cpp: 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-04-14 11:28 robert - - * Make/dependencies, Make/makedirdefs, - VisualStudio/VisualStudio.dsw, applications/osgdem/GNUmakefile, - applications/osgdem/GNUmakefile.inst, - examples/osgfxbrowser/GNUmakefile, - examples/osgkeyboardmouse/GNUmakefile, - examples/osgkeyboardmouse/GNUmakefile.inst, - examples/osgsimplepager/GNUmakefile, - examples/osgsimplepager/GNUmakefile.inst, - examples/osgsimulation/GNUmakefile, runexamples.bat, - src/osgFX/Cartoon.cpp, src/osgFX/GNUmakefile, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/lwo/GNUmakefile, - src/osgPlugins/osgFX/GNUmakefile: Preparation for moving osgGL2 - out of the core OSG into its own seperate distribution. - -2005-04-14 08:00 robert - - * examples/osgshaders/GL2Scene.cpp: From Mike Weiblen, fixed copy - and paste error in new osgshaders.cpp example. - -2005-04-14 07:55 robert - - * src/osgPlugins/flt/ReaderWriterATTR.cpp, - src/osgPlugins/flt/flt2osg.cpp: 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." - -2005-04-13 18:19 robert - - * include/osg/TextureRectangle, src/osg/TextureRectangle.cpp: From - Terry Welsh, added copy texture support to TextureRectangle - -2005-04-13 14:31 robert - - * examples/osgshaders/GL2Scene.cpp, src/osg/State.cpp: Added - applying of all parents uniforms - -2005-04-13 14:12 robert - - * examples/osgshaders/GL2Scene.cpp, include/osg/Program, - src/osg/Program.cpp, src/osg/State.cpp: Added basic support for - applying uniforms to programs, non lazy state updating - is yet applied though. - -2005-04-13 12:00 robert - - * include/osg/Program, include/osg/State, include/osg/Uniform, - src/osg/Program.cpp, src/osg/State.cpp, src/osg/Uniform.cpp: Work - in progress on shader language uniform support - -2005-04-12 19:28 robert - - * examples/osgcatch/osgcatch.cpp: Added #if block for swith between - imagery - -2005-04-12 19:17 robert - - * examples/osgcatch/osgcatch.cpp: Fixed bug - -2005-04-12 08:59 robert - - * src/osgPlugins/hdr/hdrloader.cpp: Added inline to float - convertComponent(,) - -2005-04-12 08:55 robert - - * src/osgPlugins/hdr/hdrloader.cpp: From Olaf Flebbe, change from - powf to ldexp. - -2005-04-11 17:14 robert - - * VisualStudio/osg/osg.dsp, include/osg/AlphaFunc, - include/osg/AnimationPath, include/osg/ApplicationUsage, - include/osg/ArgumentParser, include/osg/Array, - include/osg/AutoTransform, include/osg/Billboard, - include/osg/BlendColor, include/osg/BlendEquation, - include/osg/BlendFunc, include/osg/BoundingBox, - include/osg/BoundingSphere, include/osg/BufferObject, - include/osg/ClearNode, include/osg/ClipNode, - include/osg/ClipPlane, include/osg/ClusterCullingCallback, - include/osg/CollectOccludersVisitor, include/osg/ColorMask, - include/osg/ColorMatrix, include/osg/ConvexPlanarOccluder, - include/osg/ConvexPlanarPolygon, - include/osg/CoordinateSystemNode, include/osg/CopyOp, - include/osg/CullFace, include/osg/CullSettings, - include/osg/CullStack, include/osg/CullingSet, include/osg/Depth, - include/osg/DisplaySettings, include/osg/DrawPixels, - include/osg/Drawable, include/osg/Export, include/osg/Fog, - include/osg/FragmentProgram, include/osg/FrameStamp, - include/osg/FrontFace, include/osg/GLExtensions, - include/osg/Geode, include/osg/Geometry, include/osg/Group, - include/osg/Image, include/osg/ImageStream, include/osg/Impostor, - include/osg/ImpostorSprite, include/osg/LOD, include/osg/Light, - include/osg/LightModel, include/osg/LightSource, - include/osg/LineSegment, include/osg/LineStipple, - include/osg/LineWidth, include/osg/LogicOp, include/osg/Material, - include/osg/MatrixTransform, include/osg/Matrixd, - include/osg/Matrixf, include/osg/Multisample, include/osg/Node, - include/osg/NodeCallback, include/osg/NodeVisitor, - include/osg/Notify, include/osg/Object, include/osg/OccluderNode, - include/osg/PagedLOD, include/osg/Plane, include/osg/Point, - include/osg/PointSprite, include/osg/PolygonMode, - include/osg/PolygonOffset, include/osg/PolygonStipple, - include/osg/Polytope, include/osg/PositionAttitudeTransform, - include/osg/PrimitiveSet, include/osg/Program, - include/osg/Projection, include/osg/ProxyNode, include/osg/Quat, - include/osg/Referenced, include/osg/Sequence, - include/osg/ShadeModel, include/osg/Shader, - include/osg/ShadowVolumeOccluder, include/osg/Shape, - include/osg/ShapeDrawable, include/osg/State, - include/osg/StateAttribute, include/osg/StateSet, - include/osg/Stencil, include/osg/Switch, include/osg/TexEnv, - include/osg/TexEnvCombine, include/osg/TexEnvFilter, - include/osg/TexGen, include/osg/TexGenNode, include/osg/TexMat, - include/osg/Texture, include/osg/Texture1D, - include/osg/Texture2D, include/osg/Texture3D, - include/osg/TextureCubeMap, include/osg/TextureRectangle, - include/osg/Timer, include/osg/Transform, include/osg/Uniform, - include/osg/UnitTestFramework, include/osg/Version, - include/osg/VertexProgram, include/osg/Viewport, - src/osg/GNUmakefile, src/osg/Texture.cpp, - src/osgPlugins/mpeg/MpegImageStream.h, - src/osgPlugins/quicktime/QuicktimeImageStream.h: Renamed - SG_LIBRARY and SG_EXPORT macro's to OSG_LIBRARY and OSG_EXPORT -2005-04-11 15:40 robert - * src/osgWrappers/osg/GNUmakefile: Changed optimization flag to -O - instead of -O2 to aid compile speed. +Wed, 28 Jan 2009 16:48:10 +0000 +Checked in by : Robert Osfield +Removed old shader files -2005-04-11 15:22 robert +Wed, 28 Jan 2009 16:44:46 +0000 +Checked in by : Robert Osfield +Removed comments. - * include/osg/Program: From Olaf Flebbe, compile fix for Sun. +Wed, 28 Jan 2009 15:23:18 +0000 +Checked in by : Robert Osfield +Updated wrappers -2005-04-11 15:17 robert +Wed, 28 Jan 2009 15:15:19 +0000 +Checked in by : Robert Osfield +Moved push/popCulling set it public scope. - * Make/makedefs, Make/makedirdefs, include/osg/BufferObject, - include/osg/Drawable, include/osg/StateAttribute, - src/osg/BufferObject.cpp, src/osg/PrimitiveSet.cpp: Moved - #include from header into .cpp to clean up build. +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" -2005-04-11 15:01 robert +Wed, 28 Jan 2009 12:55:38 +0000 +Checked in by : Robert Osfield +From Mathias Froehlich, fixed typo. - * src/osgWrappers/osg/ColorMask.cpp: Build fix - -2005-04-11 10:12 robert - - * src/osg/GNUmakefile, src/osg/Program.cpp: Fixed warning, and - sorted entries in GNUmakefile - -2005-04-11 08:15 robert - - * include/osg/Program: Added friend class PerContextProgram; - -2005-04-11 07:51 robert - - * src/osgPlugins/geo/osgGeoAction.h: From Olaf Flebbe, Fixed cross - platform compile error - -2005-04-10 21:26 robert - - * include/osg/ColorMask: From Randall Hopper, fixed typo of - setRedMask. - -2005-04-10 21:25 robert - - * examples/osgcatch/GNUmakefile, examples/osgcatch/osgcatch.cpp: - Further work on kiddies game. - -2005-04-09 11:17 robert - - * include/osgParticle/FluidProgram, - src/osgParticle/FluidProgram.cpp: Fixed typo - -2005-04-08 19:40 robert - - * Make/dependencies, Make/makedirdefs, - VisualStudio/examples/osgGLUTkeyboardmouse, - VisualStudio/examples/osgGLUTkeyboardmouse/osgGLUTkeyboardmouse.dsp, - VisualStudio/examples/osgGLUTsimple, - VisualStudio/examples/osgGLUTsimple/osgGLUTsimple.dsp, - examples/osgGLUTkeyboardmouse, - examples/osgGLUTkeyboardmouse/GNUmakefile, - examples/osgGLUTkeyboardmouse/GNUmakefile.inst, - examples/osgGLUTkeyboardmouse/osgGLUTkeyboardmouse.cpp, - examples/osgGLUTsimple, examples/osgGLUTsimple/GNUmakefile, - examples/osgGLUTsimple/GNUmakefile.inst, - examples/osgGLUTsimple/osgGLUTsimple.cpp: From Mike Weiblen, - osgGLUTsimple and osgGLUTkeyboardmouse examples +Wed, 28 Jan 2009 12:51:47 +0000 +Checked in by : Robert Osfield +Fixed warnings -2005-04-08 19:39 don +Wed, 28 Jan 2009 12:45:05 +0000 +Checked in by : Robert Osfield +Fixed of warnings - * src/osgPlugins/net/ReaderWriterNET.cpp, - src/osgPlugins/net/sockstream.cpp: Added check for _last_of for - fileName and merged all definitions for socklen_t - to one line. +Wed, 28 Jan 2009 12:28:04 +0000 +Checked in by : Robert Osfield +Fixed warnings -2005-04-08 19:29 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. - * examples/osgintrospection/osgintrospection.cpp: From Marco Jez, - updates to reflect new osgIntrospection API +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. " -2005-04-08 18:46 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. - * src/osgDB/Registry.cpp: From Stephan Huber, changed fixed string - sizes for dynamically allocated ones in OSX file system gets. +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 -2005-04-08 14:44 robert - * src/osgUtil/TriStrip_graph_array.h: From James French, a tweak - with fix a compile problem related to STLport. -2005-04-08 14:11 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 - * src/osgPlugins/net/sockstream.cpp: From Olad Flebbe, compile fix - for HP-UX. +* 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." -2005-04-08 14:10 robert - * include/osg/UByte4, include/osg/io_utils: Moved UByte4 i/ostream - support into io_utils. -2005-04-08 14:09 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." - * src/osgPlugins/freetype/FreeTypeLibrary.h: From James French, fix - to header guard -2005-04-08 13:52 robert - * src/osgDB/Registry.cpp, src/osgPlugins/quicktime/QTtexture.h, - src/osgPlugins/quicktime/ReaderWriterQT.cpp: 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. +Wed, 28 Jan 2009 09:26:44 +0000 +Checked in by : Robert Osfield +From Paul Melis, remove redundent spaces -2005-04-08 13:10 robert +Wed, 28 Jan 2009 09:24:06 +0000 +Checked in by : Robert Osfield +From Paul Melis, removed redundent spacing. - * src/osg/Shader.cpp, src/osg/Uniform.cpp, - src/osgPlugins/osg/Shader.cpp, src/osgPlugins/osg/Uniform.cpp: - From Mike Weiblen, updates to GL Shadler Language support +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 -2005-04-08 13:06 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: - * VisualStudio/osgPlugins/ive/ive.dsp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/ive/Text.cpp, src/osgPlugins/ive/Text.h, - src/osgPlugins/osgText/IO_Text.cpp: 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-04-08 12:22 robert - - * src/osg/ClipNode.cpp, src/osg/PagedLOD.cpp, - src/osgDB/DatabasePager.cpp, src/osgPlugins/txp/TXPPagedLOD.cpp, - src/osgSim/SphereSegment.cpp, src/osgTerrain/DataSet.cpp, - src/osgUtil/Simplifier.cpp: Added #include - -2005-04-08 10:32 robert - - * examples/osgbluemarble/osgbluemarble.cpp: Added #include - - -2005-04-08 09:59 robert - - * src/osgWrappers/osg/Vec2d.cpp, src/osgWrappers/osg/Vec2f.cpp, - src/osgWrappers/osg/Vec3d.cpp, src/osgWrappers/osg/Vec3f.cpp, - src/osgWrappers/osg/Vec4d.cpp, src/osgWrappers/osg/Vec4f.cpp: - Added #include + http://aspn.activestate.com/ASPN/Mail/Message/1688156 -2005-04-08 09:55 robert +While the posting has to do with Boost.Python, the problem applies to +C++ libraries in general." - * examples/osgsimulation/osgsimulation.cpp: Reverted back to not - test version of osgsimulation - -2005-04-08 09:51 robert - - * examples/osgoccluder/osgoccluder.cpp, - examples/osgpick/osgpick.cpp, - examples/osgunittests/osgunittests.cpp: Added #include - -2005-04-08 09:45 robert - * examples/osggeometry/osggeometry.cpp, - examples/osgkeyboard/osgkeyboard.cpp, - examples/osgkeyboardmouse/osgkeyboardmouse.cpp, - examples/osglauncher/osglauncher.cpp, - examples/osgsimulation/osgsimulation.cpp: Added #include - - -2005-04-08 09:36 robert - - * applications/osgdem/osgdem.cpp, - src/osgPlugins/lws/SceneLoader.cpp, - src/osgPlugins/osg/AnimationPath.cpp, - src/osgPlugins/osg/AutoTransform.cpp, - src/osgPlugins/osg/ClearNode.cpp, src/osgPlugins/osg/Fog.cpp, - src/osgPlugins/osg/FragmentProgram.cpp, - src/osgPlugins/osg/Geometry.cpp, src/osgPlugins/osg/LOD.cpp, - src/osgPlugins/osg/Light.cpp, src/osgPlugins/osg/LightModel.cpp, - src/osgPlugins/osg/Material.cpp, src/osgPlugins/osg/Point.cpp, - src/osgPlugins/osg/PositionAttitudeTransform.cpp, - src/osgPlugins/osg/ProxyNode.cpp, src/osgPlugins/osg/Shape.cpp, - src/osgPlugins/osg/ShapeDrawable.cpp, - src/osgPlugins/osg/TexEnv.cpp, - src/osgPlugins/osg/TexEnvCombine.cpp, - src/osgPlugins/osg/Texture.cpp, - src/osgPlugins/osg/VertexProgram.cpp, - src/osgPlugins/osgFX/IO_Cartoon.cpp, - src/osgPlugins/osgFX/IO_Scribe.cpp, - src/osgPlugins/osgFX/IO_SpecularHighlights.cpp, - src/osgPlugins/osgParticle/IO_ParticleEffect.cpp, - src/osgPlugins/osgSim/IO_BlinkSequence.cpp, - src/osgPlugins/osgSim/IO_DOFTransform.cpp, - src/osgPlugins/osgSim/IO_LightPoint.cpp, - src/osgPlugins/osgSim/IO_Sector.cpp: Added #include - - -2005-04-08 09:18 robert - - * src/osgPlugins/lwo/old_Lwo2.cpp, - src/osgPlugins/lwo/old_Lwo2Layer.cpp: Added #include - - -2005-04-08 09:14 robert - - * src/osgTerrain/DataSet.cpp: Added io_utils include - -2005-04-08 09:13 robert - - * src/osgPlugins/flt/flt2osg.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp: Added osg/io_utils - include - -2005-04-08 09:01 robert - - * VisualStudio/osg/osg.dsp, include/osg/Matrixd, - include/osg/Matrixf, include/osg/Vec2d, include/osg/Vec2f, - include/osg/Vec3d, include/osg/Vec3f, include/osg/Vec4d, - include/osg/Vec4f, include/osg/io_utils, - src/osg/AnimationPath.cpp, src/osg/ImpostorSprite.cpp, - src/osgGA/TerrainManipulator.cpp, src/osgProducer/Viewer.cpp, - src/osgUtil/IntersectVisitor.cpp, - src/osgUtil/TriStripVisitor.cpp: Moved the istream and ostream - support from Vec* and Matrix* into a seperate io_utils file. - -2005-04-07 21:28 robert - - * include/osg/Vec4d: Added iostream operators - -2005-04-07 20:28 robert - - * include/osg/BufferObject: From Olaf Flebbe, removed supporios - BufferObject:: - -2005-04-07 20:23 robert - - * VisualStudio/osgPlugins/osg/dot_osg.dsp, include/osg/Program, - include/osg/Shader, include/osg/Uniform, src/osg/Program.cpp, - src/osg/Shader.cpp, src/osg/Uniform.cpp, - src/osgPlugins/osg/GNUmakefile, src/osgPlugins/osg/Program.cpp, - src/osgPlugins/osg/Shader.cpp, src/osgPlugins/osg/Uniform.cpp: - From Mike Weiblen, "adds sourcefiles for beginnings of .osg - fileformat i/o support - > - enhancemens to core GLSL classes to support file i/o" - -2005-04-07 20:20 robert - - * examples/osgshaders/GL2Scene.cpp, examples/osgshaders/GL2Scene.h, - examples/osgshaders/GNUmakefile, - examples/osgshaders/GNUmakefile.inst, - examples/osgshaders/README.txt, - examples/osgshaders/osgshaders.cpp: From Mike Weiblen, ported - osgshaders example from osgGL2 to core osg based. - -2005-04-07 20:08 robert - - * src/osgPlugins/hdr/hdrloader.cpp: Warning fixes by Mike Weiblen + - Robert Osfield - -2005-04-07 20:06 robert - - * VisualStudio/osg/osg.dsp, - VisualStudio/osgIntrospection/osgIntrospection.dsp, - VisualStudio/osgWrappers/osg/wrapper_osg.dsp: From Marco Jez, - .dsp updates - -2005-04-07 20:00 robert - - * include/osg/Vec2d, include/osg/Vec2f, include/osg/Vec3d, - include/osg/Vec3f, include/osg/Vec4f, - include/osgIntrospection/Converter, - include/osgIntrospection/ConverterProxy, - include/osgIntrospection/ReaderWriter, - include/osgIntrospection/Reflection, - include/osgIntrospection/ReflectionMacros, - src/osgIntrospection/Reflection.cpp, - src/osgIntrospection/Value.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/ProxyNode.cpp, - src/osgWrappers/osg/AlphaFunc.cpp, - src/osgWrappers/osg/AnimationPath.cpp, - src/osgWrappers/osg/ApplicationUsage.cpp, - src/osgWrappers/osg/ArgumentParser.cpp, - src/osgWrappers/osg/Array.cpp, - src/osgWrappers/osg/AutoTransform.cpp, - src/osgWrappers/osg/Billboard.cpp, - src/osgWrappers/osg/BlendColor.cpp, - src/osgWrappers/osg/BlendEquation.cpp, - src/osgWrappers/osg/BlendFunc.cpp, - src/osgWrappers/osg/BoundingBox.cpp, - src/osgWrappers/osg/BoundingSphere.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/ClearNode.cpp, - src/osgWrappers/osg/ClipNode.cpp, - src/osgWrappers/osg/ClipPlane.cpp, - src/osgWrappers/osg/ClusterCullingCallback.cpp, - src/osgWrappers/osg/CollectOccludersVisitor.cpp, - src/osgWrappers/osg/ColorMask.cpp, - src/osgWrappers/osg/ColorMatrix.cpp, - src/osgWrappers/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/osg/ConvexPlanarPolygon.cpp, - src/osgWrappers/osg/CoordinateSystemNode.cpp, - src/osgWrappers/osg/CopyOp.cpp, src/osgWrappers/osg/CullFace.cpp, - src/osgWrappers/osg/CullSettings.cpp, - src/osgWrappers/osg/CullStack.cpp, - src/osgWrappers/osg/CullingSet.cpp, - src/osgWrappers/osg/Depth.cpp, - src/osgWrappers/osg/DisplaySettings.cpp, - src/osgWrappers/osg/DrawPixels.cpp, - src/osgWrappers/osg/Drawable.cpp, src/osgWrappers/osg/Fog.cpp, - src/osgWrappers/osg/FragmentProgram.cpp, - src/osgWrappers/osg/FrameStamp.cpp, - src/osgWrappers/osg/FrontFace.cpp, - src/osgWrappers/osg/GNUmakefile, src/osgWrappers/osg/Geode.cpp, - src/osgWrappers/osg/Geometry.cpp, src/osgWrappers/osg/Group.cpp, - src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/ImageStream.cpp, - src/osgWrappers/osg/Impostor.cpp, - src/osgWrappers/osg/ImpostorSprite.cpp, - src/osgWrappers/osg/LOD.cpp, src/osgWrappers/osg/Light.cpp, - src/osgWrappers/osg/LightModel.cpp, - src/osgWrappers/osg/LightSource.cpp, - src/osgWrappers/osg/LineSegment.cpp, - src/osgWrappers/osg/LineStipple.cpp, - src/osgWrappers/osg/LineWidth.cpp, - src/osgWrappers/osg/LogicOp.cpp, - src/osgWrappers/osg/Material.cpp, src/osgWrappers/osg/Matrix.cpp, - src/osgWrappers/osg/MatrixTransform.cpp, - src/osgWrappers/osg/Matrixd.cpp, src/osgWrappers/osg/Matrixf.cpp, - src/osgWrappers/osg/Multisample.cpp, - src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/NodeCallback.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osg/Object.cpp, - src/osgWrappers/osg/OccluderNode.cpp, - src/osgWrappers/osg/PagedLOD.cpp, src/osgWrappers/osg/Plane.cpp, - src/osgWrappers/osg/Point.cpp, - src/osgWrappers/osg/PointSprite.cpp, - src/osgWrappers/osg/PolygonMode.cpp, - src/osgWrappers/osg/PolygonOffset.cpp, - src/osgWrappers/osg/PolygonStipple.cpp, - src/osgWrappers/osg/Polytope.cpp, - src/osgWrappers/osg/PositionAttitudeTransform.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osg/Program.cpp, - src/osgWrappers/osg/Projection.cpp, - src/osgWrappers/osg/ProxyNode.cpp, src/osgWrappers/osg/Quat.cpp, - src/osgWrappers/osg/RefNodePath.cpp, - src/osgWrappers/osg/Referenced.cpp, - src/osgWrappers/osg/Sequence.cpp, - src/osgWrappers/osg/ShadeModel.cpp, - src/osgWrappers/osg/Shader.cpp, - src/osgWrappers/osg/ShadowVolumeOccluder.cpp, - src/osgWrappers/osg/Shape.cpp, - src/osgWrappers/osg/ShapeDrawable.cpp, - src/osgWrappers/osg/State.cpp, - src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/StateSet.cpp, - src/osgWrappers/osg/Stencil.cpp, src/osgWrappers/osg/Switch.cpp, - src/osgWrappers/osg/TexEnv.cpp, - src/osgWrappers/osg/TexEnvCombine.cpp, - src/osgWrappers/osg/TexEnvFilter.cpp, - src/osgWrappers/osg/TexGen.cpp, - src/osgWrappers/osg/TexGenNode.cpp, - src/osgWrappers/osg/TexMat.cpp, src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osg/Texture1D.cpp, - src/osgWrappers/osg/Texture2D.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/TextureCubeMap.cpp, - src/osgWrappers/osg/TextureRectangle.cpp, - src/osgWrappers/osg/Timer.cpp, src/osgWrappers/osg/Transform.cpp, - src/osgWrappers/osg/UByte4.cpp, src/osgWrappers/osg/Uniform.cpp, - src/osgWrappers/osg/Vec2.cpp, src/osgWrappers/osg/Vec2d.cpp, - src/osgWrappers/osg/Vec2f.cpp, src/osgWrappers/osg/Vec3.cpp, - src/osgWrappers/osg/Vec3d.cpp, src/osgWrappers/osg/Vec3f.cpp, - src/osgWrappers/osg/Vec4.cpp, src/osgWrappers/osg/Vec4d.cpp, - src/osgWrappers/osg/Vec4f.cpp, - src/osgWrappers/osg/VertexProgram.cpp, - src/osgWrappers/osg/Viewport.cpp: From Marco Jez, improvements to - osgIntrospection, and new automatically generated - osgWrappers/osg set. - -2005-04-07 17:15 don - - * include/osg/PagedLOD: Set PagedLOD::removeExpiredSubgraph() to be - virtual - -2005-04-07 16:09 robert - - * src/osgProducer/Viewer.cpp: Fix to compute coordinate frame - callback so that it can handle scaled - coordinate frames, rescaling as required. - -2005-04-07 15:27 robert - - * src/osg/MatrixTransform.cpp: Fixed the MatrixTransform(Matrix&) - constructor so that it correct sets _inverseDirty = true; - -2005-04-07 13:49 robert - - * examples/osgsimulation/osgsimulation.cpp: Introduced a flight - path that goes around the earth going into the north and sound - hemisphere's with heading and roll adjustment. - -2005-04-07 10:55 robert - - * src/osgTerrain/DataSet.cpp: Fixed sort of sources so that the - layer number is taken into account. - -2005-04-07 10:19 robert - - * src/osgTerrain/DataSet.cpp: Fixed layer and levels handling in - reprojection of source imagery. - -2005-04-06 20:54 robert - - * Make/makedirdefs, examples/osgcatch, - examples/osgcatch/GNUmakefile, - examples/osgcatch/GNUmakefile.inst, - examples/osgcatch/osgcatch.cpp: 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 :) - -2005-04-05 19:08 don - - * Make/makedefs, include/osg/Math, - src/osgPlugins/net/sockstream.cpp: Rolled in Olaf's changes for - HP-UX build - -2005-04-04 20:25 robert - - * include/osgParticle/FluidProgram, - src/osgParticle/FluidProgram.cpp: Renamed _A and _B to make them - more meanigful - -2005-04-04 18:07 don - - * src/osgGA/UFOManipulator.cpp: Removed annoying "Can't find the - ground" message - -2005-04-04 16:06 robert - - * src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/MultiTextureControl.cpp: Fixed output of - MultiTextureControl. - -2005-04-04 15:23 robert - - * applications/osgdem/osgdem.cpp: Added layer support - -2005-04-04 13:50 robert - - * VisualStudio/osgIntrospection/osgIntrospection.dsp, - include/osgIntrospection/Attributes, - include/osgIntrospection/Comparator, - include/osgIntrospection/ConstructorInfo, - include/osgIntrospection/Exceptions, - include/osgIntrospection/InstanceCreator, - include/osgIntrospection/MethodInfo, - include/osgIntrospection/ParameterInfo, - include/osgIntrospection/PropertyInfo, - include/osgIntrospection/ReaderWriter, - include/osgIntrospection/Reflection, - include/osgIntrospection/ReflectionMacros, - include/osgIntrospection/Reflector, - include/osgIntrospection/StaticMethodInfo, - include/osgIntrospection/Type, - include/osgIntrospection/TypeNameAliasProxy, - include/osgIntrospection/TypedConstructorInfo, - include/osgIntrospection/TypedMethodInfo, - include/osgIntrospection/Utility, include/osgIntrospection/Value, - include/osgIntrospection/variant_cast, - src/osgIntrospection/ConstructorInfo.cpp, - src/osgIntrospection/DefaultReflectors.cpp, - src/osgIntrospection/GNUmakefile, - src/osgIntrospection/MethodInfo.cpp, - src/osgIntrospection/PropertyInfo.cpp, - src/osgIntrospection/Reflection.cpp, - src/osgIntrospection/Type.cpp, src/osgIntrospection/Utility.cpp, - src/osgIntrospection/Value.cpp: From Marco Jez, updates to - osgIntrospection. - -2005-04-04 13:49 robert - - * Make/dependencies, Make/makedirdefs: Made osgIntrospection an - optional compile - -2005-04-04 13:22 robert - - * include/osg/CullStack: Fixed comment - -2005-04-04 12:24 robert - - * src/osgPlugins/net/sockstream.h, - src/osgPlugins/osg/ProxyNode.cpp, src/osgText/Text.cpp: Fixes for - VS6.0 build - -2005-04-04 11:47 robert - - * src/osg/ProxyNode.cpp: From Carlo Camporesi,fixed for loop bug - -2005-04-04 11:42 robert - - * examples/osgparticleeffects/GNUmakefile, - examples/osgparticleeffects/GNUmakefile.inst: Added missing - makefiles - -2005-04-04 11:22 robert - - * src/osgPlugins/flt/FltFile.cpp: From Alberto Farre, nested files - bug fix. - -2005-04-04 11:18 robert - - * src/osgPlugins/flt/FltFile.cpp, src/osgPlugins/flt/Pool.cpp, - src/osgPlugins/flt/flt2osg.cpp: 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." - -2005-04-04 10:08 robert - - * include/osg/Program, include/osg/Shader, include/osg/State, - include/osg/Uniform, src/osg/Program.cpp, src/osg/Shader.cpp, - src/osg/Uniform.cpp: From Mike Weiblen, updates to Shander - Language support - -2005-04-04 10:05 robert - - * include/osgParticle/FluidProgram, - src/osgParticle/FluidProgram.cpp: Added FluidProgram - -2005-04-04 09:22 robert - - * VisualStudio/VisualStudio.dsw, - VisualStudio/applications/osgviewer/osgviewer.dsp: From Mike - Weiblen (VisualStudio.dsw changes done by hand by Robert), fixes - to VS project files - -2005-04-04 08:47 robert - - * Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgparticleeffects, - VisualStudio/examples/osgparticleeffects/osgparticleeffects.dsp, - VisualStudio/osgParticle/osgParticle.dsp, - VisualStudio/osgPlugins/osgParticle/dot_osgParticle.dsp, - examples/osgparticleeffects, - examples/osgparticleeffects/osgparticleeffects.cpp, - runexamples.bat: Added osgparticleeffects example - -2005-04-04 07:54 robert - - * VisualStudio/osgParticle/osgParticle.dsp, - include/osgParticle/ExplosionDebriEffect, - include/osgParticle/ExplosionEffect, - include/osgParticle/FireEffect, - include/osgParticle/FluidFrictionOperator, - include/osgParticle/Particle, include/osgParticle/ParticleEffect, - include/osgParticle/ParticleSystem, - include/osgParticle/SmokeEffect, - include/osgUtil/IntersectVisitor, - src/osgParticle/ExplosionDebriEffect.cpp, - src/osgParticle/ExplosionEffect.cpp, - src/osgParticle/FireEffect.cpp, - src/osgParticle/FluidFrictionOperator.cpp, - src/osgParticle/GNUmakefile, src/osgParticle/ParticleEffect.cpp, - src/osgParticle/SmokeEffect.cpp, - src/osgPlugins/osgParticle/GNUmakefile, - src/osgPlugins/osgParticle/IO_ExplosionDebriEffect.cpp, - src/osgPlugins/osgParticle/IO_ExplosionEffect.cpp, - src/osgPlugins/osgParticle/IO_FireEffect.cpp, - src/osgPlugins/osgParticle/IO_ParticleEffect.cpp, - src/osgPlugins/osgParticle/IO_SmokeEffect.cpp, - src/osgProducer/Viewer.cpp, src/osgUtil/Optimizer.cpp: Improved - ParticleEffects - -2005-03-26 10:04 robert - - * VisualStudio/osgPlugins/ive/ive.dsp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/FrontFace.cpp, src/osgPlugins/ive/FrontFace.h, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/ive/ReadWrite.h: - From Farshid Laskari, addiition of FrontFace support to .ive - -2005-03-25 11:17 robert - - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Waltice (don't - have full name at time of submission), added support for 16bit - tiff files - -2005-03-25 11:07 robert - - * include/osg/State, src/osg/Texture1D.cpp, src/osg/Texture2D.cpp, - src/osg/Texture3D.cpp: Added State::getActiveUnit and usage of it - in the glTexCopyImage*() implementations - -2005-03-25 11:06 robert - - * src/osgGA/UFOManipulator.cpp: Made the ground intersection - warning just output to INFO level. - -2005-03-24 09:37 robert - - * include/osg/Program, include/osg/Shader, - include/osg/StateAttribute, include/osg/StateSet, - include/osg/Uniform, src/osg/Program.cpp, src/osg/Shader.cpp, - src/osg/StateSet.cpp, src/osg/Uniform.cpp: 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-03-23 21:00 robert - - * include/osg/Image, src/osg/Image.cpp: From Marco Jez, fixed - constness of data return type - -2005-03-23 20:48 robert - - * applications/osgdem/GNUmakefile, - applications/osgdem/GNUmakefile.inst, - examples/osgsimulation/GNUmakefile, - examples/osgsimulation/GNUmakefile.inst: From Randall Hopper, - with small order tweak from Robert and addition to - GNUmakefile.inst, - added $(GDAL_LIBS) to fix build under FreeBSD. - -2005-03-23 20:38 robert - - * VisualStudio/applications/osgarchive/osgarchive.dsp, - VisualStudio/applications/osgconv/osgconv.dsp, - VisualStudio/applications/osgdem/osgdem.dsp, - VisualStudio/applications/osgversion/osgversion.dsp, - VisualStudio/applications/osgviewer/osgviewer.dsp: From Mike - Weiblen: change paths to .cpp files from "examples" to - "applications" - -2005-03-23 20:35 robert - - * include/osgUtil/Optimizer: Fixed indenting. - -2005-03-23 20:34 robert - - * include/osgUtil/Optimizer: From Mike Weiblen: "Fix for VS7.1 - warning C4715: not all control paths return a value" - -2005-03-23 20:31 robert - - * src/osgGL2/ProgramObject.cpp: From Mike Weiblen, " Move update of - shader values after shader rebuild opportunity, to ensure uniform - state of shaders is consistent" - -2005-03-23 17:05 robert - - * examples/osgspheresegment/osgspheresegment.cpp, - include/osgParticle/ExplosionEffect, - include/osgParticle/FireEffect, - include/osgParticle/ParticleEffect, - include/osgParticle/ParticleSystem, - include/osgParticle/SmokeEffect, - src/osgParticle/ExplosionEffect.cpp, - src/osgParticle/FireEffect.cpp, - src/osgParticle/ParticleEffect.cpp, - src/osgParticle/SmokeEffect.cpp: Added extra controls for - ParticleEffects. +Wed, 28 Jan 2009 09:06:46 +0000 +Checked in by : Robert Osfield +Added back in intializers for RenderSurface. -2005-03-23 10:46 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. - * src/osg/AutoTransform.cpp, src/osg/CullStack.cpp: Fixed the - scaling in pixelSize computation and the autoscale usage of it. +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." -2005-03-23 10: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." - * examples/osgforest/osgforest.cpp: Removed multiple inheritance - from TechniqueEventHandler. +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. " -2005-03-23 08:30 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. - * include/osgUtil/Optimizer: Commented out the if - (!node->getName().empty()) return false; in - isOperationPermissibleImplementation() +Tue, 27 Jan 2009 13:23:20 +0000 +Checked in by : Robert Osfield +Refactored the view stats. -2005-03-22 21:06 robert +Tue, 27 Jan 2009 09:09:48 +0000 +Checked in by : Robert Osfield +Commented out debug message - * include/osgGA/MatrixManipulator, src/osgGA/DriveManipulator.cpp, - src/osgGA/MatrixManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, - src/osgGA/TrackballManipulator.cpp, src/osgGA/UFOManipulator.cpp: - 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, 26 Jan 2009 21:23:09 +0000 +Checked in by : Robert Osfield +Ported onscreen camera stats across to using thread safe stats collection -2005-03-22 20:26 robert +Mon, 26 Jan 2009 19:22:27 +0000 +Checked in by : Robert Osfield +Added passing of command line args to cmake - * examples/osgspheresegment/osgspheresegment.cpp, - src/osgParticle/ExplosionEffect.cpp, - src/osgParticle/FireEffect.cpp, src/osgParticle/SmokeEffect.cpp: - Moved ParticleSystemUpdater into ParticleEffect nodes to simplify - usage - of nodes. +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. -2005-03-22 17:00 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. - * examples/osgspheresegment/osgspheresegment.cpp, - src/osgParticle/ExplosionEffect.cpp, - src/osgParticle/FireEffect.cpp, src/osgParticle/SmokeEffect.cpp: - Fixed the double transform of ParticleEffects +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 -2005-03-22 12:11 robert +Mon, 26 Jan 2009 10:52:16 +0000 +Checked in by : Robert Osfield +Updated wrappers - * examples/osgspheresegment/GNUmakefile, - examples/osgspheresegment/osgspheresegment.cpp: Updated sphere - segment example to use original osgsimulation source, adding - in terrain, moving models and particle effects. +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." -2005-03-22 12:04 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. - * examples/osgsimulation/osgsimulation.cpp: Corrected orientation - of aeroplane and direction of rotation around earth. +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" -2005-03-21 00:33 don +Fri, 23 Jan 2009 23:04:18 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project - * src/osgProducer/Viewer.cpp: Added getCameraByName method to - viewer +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." -2005-03-20 23:57 don +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. - * include/osg/Viewport, include/osgGA/AnimationPathManipulator, - include/osgGA/MatrixManipulator, - include/osgGA/TrackballManipulator, include/osgGA/UFOManipulator, - src/osgGA/AnimationPathManipulator.cpp, - src/osgGA/TrackballManipulator.cpp, src/osgGA/UFOManipulator.cpp: - Added getCameraByName method to viewer and home(double - currentTime) to - MatrixManipulator, UFO, Trackball and ANimation manipulator. +Fri, 23 Jan 2009 15:12:26 +0000 +Checked in by : Robert Osfield +Warning fixes for VS, and removal of associated warning disables -2005-03-20 23:29 don +Fri, 23 Jan 2009 15:02:04 +0000 +Checked in by : Robert Osfield +Added workaround for silly posix read deprecation warning under VS. - * VisualStudio/applications/osgarchive/osgarchive.dsp, - VisualStudio/applications/osgconv/osgconv.dsp, - VisualStudio/applications/osgdem/osgdem.dsp, - VisualStudio/applications/osgversion/osgversion.dsp, - VisualStudio/applications/osgviewer/osgviewer.dsp: Updated some - visual studio files for the new applications. +Fri, 23 Jan 2009 14:00:49 +0000 +Checked in by : Robert Osfield +Removed unneccesary warning disables -2005-03-20 21:43 don +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. - * VisualStudio/applications, VisualStudio/applications/osgarchive, - VisualStudio/applications/osgarchive/osgarchive.dsp, - VisualStudio/applications/osgconv, - VisualStudio/applications/osgconv/osgconv.dsp, - VisualStudio/applications/osgdem, - VisualStudio/applications/osgdem/osgdem.dsp, - VisualStudio/applications/osgversion, - VisualStudio/applications/osgversion/osgversion.dsp, - VisualStudio/applications/osgviewer, - VisualStudio/applications/osgviewer/osgviewer.dsp, - VisualStudio/applications/osgviewer/resources.rc: Added (for real - this time) application project files for visual studio +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." -2005-03-18 11:21 robert - * src/osgPlugins/obj/ReaderWriterOBJ.cpp: Added support for - handling transparent geometries and textures. -2005-03-18 11:07 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())" + - * VisualStudio/VisualStudio.dsw, VisualStudio/examples/osgarchive, - VisualStudio/examples/osgconv, VisualStudio/examples/osgdem, - VisualStudio/examples/osgversion, - VisualStudio/examples/osgviewer: Moved osgarchive, osgconv, - osgdem, osgversion and osgviewer .dsp's to applications folder. -2005-03-18 10:46 robert - * Make/dependencies, Make/makedirdefs: Moved COMPILE_EXAMPLES ?= no - to top of Make/dependencies to make it more clear, - and removed the application programs fully from the examples list +Fri, 23 Jan 2009 09:22:31 +0000 +Checked in by : Robert Osfield +Upped notification level of timing stats -2005-03-18 10:45 robert +Wed, 21 Jan 2009 19:28:46 +0000 +Checked in by : Robert Osfield +Updated wrappers - * examples/osgblendequation/osgblendequation.cpp, - examples/osglogicop/osglogicop.cpp: Removed the redundent - subclassing from osg::NodeVisitor in examples event handlers +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 -2005-03-18 10:27 robert +examples/osganimationviewer/AnimtkViewerGUI.cpp: +- adjust the path of image for the gui - * src/osgWrappers/osg/StateAttribute.cpp: updates to reflect - changes to StateAttribute::Types +include/osgAnimation/Interpolator: +- add warn message instead of old assert -2005-03-18 10:00 robert +include/osgAnimation/Bone: +src/osgAnimation/Skeleton.cpp: +- change a method name to fit better with what it does. setMatrixInSkeletonSpace instead of setBoneInSkeletonSpace - * src/osg/ProxyNode.cpp, src/osgPlugins/flt/flt2osg.cpp, - src/osgPlugins/ive/ProxyNode.cpp, - src/osgPlugins/osg/ProxyNode.cpp: From Alberto Farre, fixes to - ProxyNode. +include/osgAnimation/Skinning: +src/osgAnimation/RigGeometry.cpp: +- add patch from Fabien Lavignotte to compute normal correctly -2005-03-18 09:48 robert +include/osgAnimation/Sampler: +- adjust behviour without assert, return 0 instead of crashing +" - * include/osg/StateAttribute: From Marco Jez, added OSGNVEXT_ - prefex to StateAttribute enums. -2005-03-18 09:37 robert - * src/osgFX/AnisotropicLighting.cpp, src/osgFX/BumpMapping.cpp, - src/osgFX/Cartoon.cpp: 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." +Wed, 21 Jan 2009 19:01:26 +0000 +Checked in by : Robert Osfield +Fixed compile errors for when ref_ptr<> auto conversion is disabled -2005-03-18 02:45 robert +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. +"" - * src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/Inventor/ReaderWriterIV.cpp: Improvements to the - handling of textures and texture coords. -2005-03-18 02:45 robert - * src/osgGA/UFOManipulator.cpp: Made the can't find ground - intersection message only appear as INFO. +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. +" -2005-03-18 02:44 robert - * include/osgUtil/Optimizer, include/osgUtil/TriStripVisitor, - src/osgUtil/Optimizer.cpp: Added support for a new - IsOperationPermissibleForObjectCallback in osgUtil::Optimizer. -2005-03-18 02:42 robert +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. - * include/osg/Drawable, include/osg/Geometry, - include/osg/ImpostorSprite, include/osgText/Text: Made - supports(..) methods use support(const ...) +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. -2005-03-18 01:51 don +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. - * examples/osgsimulation/GNUmakefile: Randal Hopper fix to - GNUmakefile for osgsimulation. +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." -2005-03-17 19:32 robert - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp, - src/osgProducer/OsgSceneHandler.cpp: 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() -2005-03-17 18:29 don +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" - * examples/osgarchive, examples/osgconv, examples/osgdem, - examples/osgversion, examples/osgviewer: Removed redundant - examples, that have been moved to the applications directory +Wed, 21 Jan 2009 14:27:58 +0000 +Checked in by : Robert Osfield +Renamed ShaderTechnique to RayTracedTechnique -2005-03-17 14:40 robert +Wed, 21 Jan 2009 12:06:13 +0000 +Checked in by : Robert Osfield +Cleaned up osgvolume - * applications/osgconv/osgconv.cpp: Added guard to texture image to - avoid seg fault when dealing with incomplete databases. +Wed, 21 Jan 2009 11:46:03 +0000 +Checked in by : Robert Osfield +Introduced the ability to switch between different visual properties in osgVolume -2005-03-17 10:24 robert +Tue, 20 Jan 2009 17:53:06 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgUtil/Optimizer.cpp: Added check against node.getName() - into isNodeEmpty(Node&) method so that nodes - with names arn't assumed to be empty. +Tue, 20 Jan 2009 17:41:45 +0000 +Checked in by : Robert Osfield +Moved PropertyAdjustmentCallback from osgvolume.cpp into osgVolume.Updated lighting shaders. -2005-03-17 08:54 robert - * examples/osgconv/osgconv.cpp: Added if (image ..) check to - prevent seg fault on imcomplete models -2005-03-16 20:44 robert +Tue, 20 Jan 2009 15:30:30 +0000 +Checked in by : Robert Osfield +Removed redundent shader files - * applications/osgconv/osgconv.cpp: 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. - -2005-03-16 14:48 robert - - * VisualStudio/osgGA/osgGA.dsp: From Mike Weiblen, added - UFOManipulator to osgGA project file. - -2005-03-16 14:14 robert - - * applications/osgconv/osgconv.cpp: Added --smooth option to - osgconv - -2005-03-16 14:09 robert - - * examples/osgconv/osgconv.cpp: Removed applications from examples - list - -2005-03-14 09:28 robert - - * include/osgIntrospection/Attributes, - include/osgIntrospection/CustomAttribute, - include/osgIntrospection/CustomAttributeProvider, - include/osgIntrospection/Exceptions, - include/osgIntrospection/Export, - include/osgIntrospection/MethodInfo, - include/osgIntrospection/ParameterInfo, - include/osgIntrospection/PropertyInfo, - include/osgIntrospection/ReaderWriter, - include/osgIntrospection/Reflection, - include/osgIntrospection/ReflectionMacros, - include/osgIntrospection/Reflector, - include/osgIntrospection/Type, - include/osgIntrospection/TypedMethodInfo, - include/osgIntrospection/Value, - include/osgIntrospection/variant_cast, - src/osgIntrospection/CustomAttributeProvider.cpp, - src/osgIntrospection/MethodInfo.cpp, - src/osgIntrospection/PropertyInfo.cpp, - src/osgIntrospection/Reflection.cpp, - src/osgIntrospection/Type.cpp, src/osgIntrospection/Value.cpp: - Changed tabs to four spaces - -2005-03-14 09:13 robert - - * include/osgIntrospection/TypedMethodInfo: From Marco Jez, fix for - data corruption bug in TypedMethodInfo*::invoke() - -2005-03-13 21:22 robert - - * Make/makedirdefs: Added guard to osgdem build - -2005-03-13 17:51 don +Tue, 20 Jan 2009 15:29:32 +0000 +Checked in by : Robert Osfield +Added lighting based shaders - * applications/GNUmakefile: Added GNUmakefile for the new - applications directory - -2005-03-13 17:26 robert +Tue, 20 Jan 2009 15:06:44 +0000 +Checked in by : Robert Osfield +Added event key variables - * src/osgPlugins/ive/GNUmakefile: Added osgGL2 to .ive list of - dependencies +Tue, 20 Jan 2009 13:50:57 +0000 +Checked in by : Robert Osfield +Added support for SampleDensityProperty and TransparencyProperty -2005-03-13 05:02 don +Tue, 20 Jan 2009 12:39:26 +0000 +Checked in by : Robert Osfield +Added AlphaFunc support into osgVolume::AlphaFuncProperty. - * include/osgGA/UFOManipulator, src/osgGA/UFOManipulator.cpp: - Chagned osg::Matrix to osg::Matrixd +Tue, 20 Jan 2009 11:34:15 +0000 +Checked in by : Robert Osfield +Fixed compile error when using ITK -2005-03-13 01:47 don +Sat, 17 Jan 2009 17:23:47 +0000 +Checked in by : Robert Osfield +Updated event callback to be able to update iso surface value. - * Make/dependencies, Make/distrules, Make/makedefs, - Make/makedirdefs, Make/makerules, applications, - applications/osgarchive, applications/osgarchive/GNUmakefile, - applications/osgarchive/GNUmakefile.inst, - applications/osgarchive/osgarchive.cpp, applications/osgconv, - applications/osgconv/GNUmakefile, - applications/osgconv/GNUmakefile.inst, - applications/osgconv/GeoSet.cpp, applications/osgconv/GeoSet.h, - applications/osgconv/IO_GeoSet.cpp, - applications/osgconv/OrientationConverter.cpp, - applications/osgconv/OrientationConverter.h, - applications/osgconv/osgconv.cpp, applications/osgdem, - applications/osgdem/GNUmakefile, - applications/osgdem/GNUmakefile.inst, - applications/osgdem/osgdem.cpp, applications/osgversion, - applications/osgversion/GNUmakefile, - applications/osgversion/GNUmakefile.inst, - applications/osgversion/osgversion.cpp, applications/osgviewer, - applications/osgviewer/GNUmakefile, - applications/osgviewer/GNUmakefile.inst, - applications/osgviewer/osgviewer.cpp: 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. +Sat, 17 Jan 2009 17:23:17 +0000 +Checked in by : Robert Osfield +Updated Uniform name for controlling IsoSurfaceValue -2005-03-12 15:57 don +Sat, 17 Jan 2009 16:00:39 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgGA/UFOManipulator.cpp: Added M_PI definition for winders +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. -2005-03-12 05:31 don - * include/osgGA/UFOManipulator, include/osgProducer/Viewer, - src/osgGA/UFOManipulator.cpp: Added a few things to - osgProducer::Viewer to support UFO manipulator and - cleaned up UFOManipulator. -2005-03-11 20:29 robert +Fri, 16 Jan 2009 16:21:54 +0000 +Checked in by : Robert Osfield +Completed firt pass implementation FixedFunction and ShaderTechnique. - * doc/Doxyfiles/auto_Mainpage, doc/Doxyfiles/core_Doxyfile, - include/osg/CullingSet, include/osg/Program, include/osg/Shader, - include/osg/StateAttribute, include/osg/StateSet, - include/osg/Uniform, src/osg/Program.cpp, src/osg/Shader.cpp, - src/osg/StateSet.cpp, src/osg/Uniform.cpp, - src/osgWrappers/osg/StateAttribute.cpp: Added support for - set/getUniform and set/getProgram into osg::StateSet. +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 -2005-03-11 20:19 robert +Fri, 16 Jan 2009 10:34:58 +0000 +Checked in by : Robert Osfield +Added default use of osgVolume::ShaderTechnique - * examples/osgforest/osgforest.cpp: Fixed old handle(..) method - call parameters +Fri, 16 Jan 2009 10:23:17 +0000 +Checked in by : Robert Osfield +Introduced ImageLayer computeMinMax + rescaling methods, and use of rescaleToZeroToOneRange by default. -2005-03-11 17:48 don +Thu, 15 Jan 2009 15:57:04 +0000 +Checked in by : Robert Osfield +Introduce osgVolume::PropertVisitor, and IsoSurface, MaximumImageProjection, Ligting and AlphaFunc Properties - * include/osgProducer/Viewer, src/osgProducer/Viewer.cpp: Added - methods getCameraManipulatorNameList() and - selectCameraManipulatorByName(). +Thu, 15 Jan 2009 10:44:52 +0000 +Checked in by : Robert Osfield +Removal of rendundant characters from Camera and Camera.cpp.Updated wrappers -2005-03-11 17:46 don - * src/osgGA/UFOManipulator.cpp: Added the 'H' - home to usage - message -2005-03-11 17:46 don +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. " - * include/osgGA/UFOManipulator: Changed class name to UFO instead - of UFOManipulator to conform to the other - manipulators +Wed, 14 Jan 2009 20:43:21 +0000 +Checked in by : Robert Osfield +Changed setVolumeTechnique to setVolumeTechniquePrototype() -2005-03-11 09:53 robert +Wed, 14 Jan 2009 20:38:12 +0000 +Checked in by : Robert Osfield +Added VolumeTechnique to Volume - * src/osgTerrain/DataSet.cpp: Improvements to handling smoothing +Wed, 14 Jan 2009 20:32:06 +0000 +Checked in by : Robert Osfield +Added osgVolume .osg plugin -2005-03-11 06:10 don +Wed, 14 Jan 2009 15:16:29 +0000 +Checked in by : Robert Osfield +Introduced osgVolume::Property, CompositePropery and TransferFunctionPropety classes - * src/osgProducer/Viewer.cpp: Added UFO Manipulator to Viewer +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." -2005-03-11 06:09 don +Tue, 13 Jan 2009 17:51:45 +0000 +Checked in by : Robert Osfield +Integrated state setup code from osgvolume.cpp example into ShaderTechnique path. - * include/osgProducer/Viewer: Added UFOManipulator to Viewer +Tue, 13 Jan 2009 17:20:32 +0000 +Checked in by : Robert Osfield +Introduced class interfaces for FixedFunctionTechnique and ShaderTechnique volume rendering techniques. -2005-03-11 06:09 don +Tue, 13 Jan 2009 10:15:04 +0000 +Checked in by : Robert Osfield +Added ZLIB_FOUND to dicom qualification - * include/osgGA/UFOManipulator, src/osgGA/GNUmakefile, - src/osgGA/UFOManipulator.cpp: Added UFO manipulator +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. -2005-03-10 11:11 robert - * src/osgTerrain/DataSet.cpp: Added null pointer check to avoid - crash -2005-03-09 22:01 robert +Mon, 12 Jan 2009 17:41:25 +0000 +Checked in by : Robert Osfield +Added test message - * src/osgTerrain/DataSet.cpp: Added support for writing base layer - 0 texture into texture layer 1 and above - to use as a background. +Mon, 12 Jan 2009 16:37:38 +0000 +Checked in by : Robert Osfield +Further tweak to include paths -2005-03-09 20:40 robert +Mon, 12 Jan 2009 16:10:40 +0000 +Checked in by : Robert Osfield +Restructured the include paths - * src/osgFX/MultiTextureControl.cpp, src/osgTerrain/DataSet.cpp: - Improvements to MultiTextureControl and texture layer handling in - osgTerrain::DataSet. +Mon, 12 Jan 2009 13:12:04 +0000 +Checked in by : Robert Osfield +Changed to use ref_ptr<> for scene model to avoid crash -2005-03-09 16:54 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 - * VisualStudio/VisualStudio.dsw, VisualStudio/osgFX/osgFX.dsp, - VisualStudio/osgPlugins/ive/ive.dsp, - VisualStudio/osgPlugins/osgFX/dot_osgFX.dsp, - include/osgFX/MultiTextureControl, include/osgTerrain/DataSet, - src/osgFX/GNUmakefile, src/osgFX/MultiTextureControl.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/GNUmakefile, - src/osgPlugins/ive/MultiTextureControl.cpp, - src/osgPlugins/ive/MultiTextureControl.h, - src/osgPlugins/ive/ReadWrite.h, src/osgPlugins/osgFX/GNUmakefile, - src/osgPlugins/osgFX/IO_MultiTextureControl.cpp, - src/osgTerrain/DataSet.cpp, src/osgTerrain/GNUmakefile: Added - osgFX::MultiTextureControl node for managing blending between - different texture layers. +* 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). -2005-03-08 16:51 robert +* It is possible to set the compiler in ccmake (cmake-gui, whatever you use) - * include/osgTerrain/DataSet, src/osgTerrain/DataSet.cpp: Added - basic multiple texture layer support into osgTerrain::DataSet. +* the top folder in packages is the same for all packages (OpenSceneGraph-x.y) -2005-03-07 22:02 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 - * examples/osgdem/osgdem.cpp, include/osgTerrain/DataSet: First - steps to adding support for multiple texture layers. +* i found a better way to decide whether cpack is available to guard +the BUiLD_OSG_PACKAGES option" -2005-03-07 17:25 robert - * include/osgUtil/TangentSpaceGenerator, - src/osgUtil/TangentSpaceGenerator.cpp: 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. -2005-03-07 14:38 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 - * include/osg/ClipPlane, include/osg/Light: Sebastien Grignard, - fixed getMember methods to properly use const type. +* 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." -2005-03-07 14:30 robert - * src/osg/Image.cpp, src/osg/Texture2D.cpp: From Marco Jez, - improved Texture2D and Image handling of compare(). -2005-03-07 14:27 robert - * src/osgPlugins/ive/ProxyNode.h: Added ProxyNode.h +Fri, 9 Jan 2009 15:57:14 +0000 +Checked in by : Robert Osfield +Fixed warning -2005-03-07 14:16 robert +Fri, 9 Jan 2009 15:55:25 +0000 +Checked in by : Robert Osfield +Fixed warnings - * src/osgPlugins/osg/Drawable.cpp, src/osgPlugins/osg/Node.cpp: - Added support for event callbacks +Fri, 9 Jan 2009 15:25:34 +0000 +Checked in by : Robert Osfield +Updated version number for next dev release -2005-03-07 14:14 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 - * src/osgPlugins/osg/Drawable.cpp: From Sebastien Grignard, added - support for reading and writing callbacks +Fri, 9 Jan 2009 15:11:15 +0000 +Checked in by : Robert Osfield +Fix of warning reported on CDash -2005-03-07 14:06 robert +Fri, 9 Jan 2009 15:09:39 +0000 +Checked in by : Robert Osfield +Fixed warnings reported on CDash - * VisualStudio/osg/osg.dsp, VisualStudio/osgPlugins/ive/ive.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, include/osg/ProxyNode, - include/osgDB/Registry, src/osg/GNUmakefile, - src/osg/ProxyNode.cpp, src/osgDB/Registry.cpp, - src/osgPlugins/flt/FltFile.cpp, src/osgPlugins/flt/flt2osg.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/ive/ProxyNode.cpp, - src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/osg/GNUmakefile, src/osgPlugins/osg/ProxyNode.cpp: - From Alberto Farre, addition of ProxyNode, with support in .osg, - .ive and .flt loaders +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." -2005-03-07 12:32 robert +Fri, 9 Jan 2009 12:17:40 +0000 +Checked in by : Robert Osfield +From Andy Skinner, fixes for Solaris build - * src/osgPlugins/flt/flt2osg.cpp: Fixed tabbing. +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" -2005-03-07 12:14 robert +Thu, 8 Jan 2009 12:47:20 +0000 +Checked in by : Robert Osfield +Added missing *. - * src/osgPlugins/lwo/Converter.cpp, src/osgPlugins/lwo/Converter.h, - src/osgPlugins/lwo/ReaderWriterLWO.cpp: 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." +Thu, 8 Jan 2009 11:35:57 +0000 +Checked in by : Robert Osfield +Commented out the warning disabling block -2005-03-07 12:05 robert +Thu, 8 Jan 2009 11:28:04 +0000 +Checked in by : Robert Osfield +From Mattias Helsing, added back in missing wd entries. - * src/osg/TextureRectangle.cpp: From Mike Weiblen, warning fix for - VS7.1 +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 -2005-03-07 12:05 robert +For apple we first required min cmake version 2.6.0 and then had code +warning about using 2.4.x" - * src/osg/ImageStream.cpp: Added the use of pixel buffer object in - ImageStream so that it is only - compiled in on non OSX platforms. -2005-03-07 11:58 robert - * src/osgPlugins/xine/ReaderWriterXine.cpp, - src/osgPlugins/xine/video_out_rgb.c: Added looping +Thu, 8 Jan 2009 11:19:21 +0000 +Checked in by : Robert Osfield +Added checked from the ARG version of glDraw*Instanced(). -2005-03-03 12:40 robert +Thu, 8 Jan 2009 11:18:54 +0000 +Checked in by : Robert Osfield +Removed inappropriate file - * src/osgPlugins/xine/ReaderWriterXine.cpp: Added checking for - video file via normal file path checking and handling of - .xine extension as a special case for XINE style filenames. +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." -2005-03-03 12:35 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." - * src/osgDB/Registry.cpp: Added video aliases to xine plugin +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. -2005-03-03 12:33 robert +Wed, 7 Jan 2009 15:35:28 +0000 +Checked in by : Robert Osfield +Fixed assingment operator - * include/osgText/Text, src/osgText/Text.cpp: Added improved - handling of center justificaion of multiline text +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. -2005-03-03 12:25 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 - * VisualStudio/osgGA/osgGA.dsp: Added EDventVisitor reference +Wed, 7 Jan 2009 13:16:38 +0000 +Checked in by : Robert Osfield +Updated wrappers -2005-03-02 15:06 don +Wed, 7 Jan 2009 12:27:45 +0000 +Checked in by : Robert Osfield +Fixed warnings - * src/osg/GLExtensions.cpp: In osg::isGLUExtensionSupported, fixed - gluGetString to call GLU_EXTENSIONS - rather than GL_EXTENSIONS. +Wed, 7 Jan 2009 11:24:47 +0000 +Checked in by : Robert Osfield +Fixed warnings -2005-02-26 21:44 robert +Wed, 7 Jan 2009 10:32:59 +0000 +Checked in by : Robert Osfield +Fixed warnings - * include/osg/Stencil: From Paul Melis, fixed typo of - setFunctionMask. +Wed, 7 Jan 2009 09:49:49 +0000 +Checked in by : Robert Osfield +Added a protected = operator -2005-02-25 23:02 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 - * include/osgGA/GUIEventHandler, src/osgGA/GUIEventHandler.cpp, - src/osgProducer/Viewer.cpp: Improved support GUIEventHandler's - being node event callbacks. +Tue, 6 Jan 2009 19:08:34 +0000 +Checked in by : Robert Osfield +Updated path to reflect where the new button images are located. -2005-02-25 23:01 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. - * src/osgUtil/Optimizer.cpp: Added event callback to Optizimer - isNodeEmpty 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. -2005-02-25 14:02 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. - * examples/osgstereoimage/osgstereoimage.cpp, include/osg/Drawable, - include/osgGA/EventVisitor, include/osgGA/GUIEventHandler, - include/osgProducer/Viewer, src/osg/Drawable.cpp, - src/osg/Geode.cpp, src/osgGA/EventVisitor.cpp, - src/osgGA/GNUmakefile, src/osgGA/GUIEventHandler.cpp, - src/osgProducer/Viewer.cpp: Added support for new event visitor - type into osgGA and osgProducer::Viewer, - and event callback into Drawable. +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. +" -2005-02-25 11:26 robert - * Make/dependencies, Make/makedirdefs: Added reference to avifile - based plugin. -2005-02-25 08:38 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." - * include/osg/Timer, src/osg/Timer.cpp: New simplified timer - implementation. -2005-02-24 17:07 robert - * include/osg/ImageStream, src/osg/ImageStream.cpp, - src/osgPlugins/xine/ReaderWriterXine.cpp: Added pause, rewind and - play support into xine plugin. +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 -2005-02-24 13:33 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. - * VisualStudio/osg/osg.dsp, include/osg/Program, - include/osg/Shader, include/osg/StateAttribute, - include/osg/Uniform, src/osg/GNUmakefile, src/osg/Program.cpp, - src/osg/Shader.cpp, src/osg/Uniform.cpp: From Mike Weiblen, - adding prelimimnary GL Shader Language support into core OSG lib. - with renaming and reordering by Robert Osfield, + -2005-02-23 12:50 robert +replaced this: - * include/osg/Referenced, src/osg/Referenced.cpp: Made - Referenced::ref() and unref() inline methods. + -2005-02-22 20:56 robert +void WindowManager::childRemoved(unsigned int start, unsigned int end) { + while(start < end) { + Window* window = getByIndex(start); - * examples/osgmovie/osgmovie.cpp, src/osgDB/ReadFile.cpp, - src/osgPlugins/mpeg/ReaderWriterMPEG.cpp, - src/osgPlugins/quicktime/ReaderWriterQT.cpp, - src/osgPlugins/xine/ReaderWriterXine.cpp: 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. + if(!window) continue; -2005-02-22 20:25 robert + if(_remove(window)) { + window->_index = -1; - * include/osg/Referenced, src/osg/Referenced.cpp: 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; + window->unmanaged(this); + } -2005-02-22 19:19 robert + start++; + } +} - * include/osgGA/DriveManipulator, src/osgGA/DriveManipulator.cpp: - Added support for control the pitch of the drive manipulator via - the - up and down cursor keys. + -2005-02-22 14:42 robert +with this: - * examples/osgunittests/osgunittests.cpp: Added size of Mutex. +void WindowManager::childRemoved(unsigned int start, unsigned int numChildren) { + for (unsigned int i = start; i < start+numChildren; i++) + { + Window* window = getByIndex(i); -2005-02-22 13:34 robert + if(!window) continue; - * src/osg/Texture.cpp: Added improved PBO support. + if(_remove(window)) { + window->_index = -1; -2005-02-22 11:55 robert + window->unmanaged(this); + } + } +} - * src/osg/ArgumentParser.cpp: Fixes from Marco Jez. + -2005-02-22 10:16 robert +2. in Input.cpp - * include/osg/Texture: From Igor Kravtchenko, add #define's for - OpenGL float internal texture formats. + -2005-02-22 10:08 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. - * src/osg/Switch.cpp: Changed the Switch::addChild(Node*) behavior - so it doesn't override the - any pre-exisitng _values value. +in method positioned() -2005-02-21 17:02 robert +replaced this: - * src/osgTerrain/DataSet.cpp: Added support for interpolating low - res source data onto higher res destination tiles. + _cursor->setOrigin(x + xoffset + 1.0f, y - _cursor->getHeight() + 1.0f); -2005-02-15 09:37 robert + - * include/osgGA/GUIEventAdapter: Tweak to comment. +with this: -2005-02-14 15:17 robert + _cursor->setOrigin(x + xoffset + 1.0f, y + 1.0f); - * src/osgPlugins/flt/FltFile.cpp: From Alberto Farre, fix to nested - OpenFlight file problem. + -2005-02-13 18:10 robert +Now it is placed correctly. - * src/osgPlugins/mpeg/MpegImageStream.cpp: Made conversion use - BGRA. + " -2005-02-13 16:35 robert - * src/osgPlugins/xine/ReaderWriterXine.cpp, - src/osgPlugins/xine/video_out_rgb.c, - src/osgPlugins/xine/video_out_rgb.h: Added usage of the new - xine_register_plugins() call. -2005-02-13 15:07 robert +Tue, 6 Jan 2009 15:41:29 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/mpeg/MpegImageStream.cpp: Disable the MMX usage +Tue, 6 Jan 2009 15:11:54 +0000 +Checked in by : Robert Osfield +From Paul Martz, example demonstating new draw instanced primitive funcitonality. -2005-02-12 19:47 robert +Tue, 6 Jan 2009 14:55:49 +0000 +Checked in by : Robert Osfield +Added support for primitive instancing - * src/osgUtil/Optimizer.cpp: Remerged Tugkan's fix to flatten - static transforms. +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. -2005-02-12 16:49 robert +Mon, 5 Jan 2009 17:52:41 +0000 +Checked in by : Robert Osfield +From Don Leich, build fix for OSX. - * src/osgUtil/Optimizer.cpp: Put spaitalize groups to end. +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." -2005-02-12 16:24 robert - * src/osgUtil/Optimizer.cpp: From Tugkan Calapoglu, bug fix to - FLATTEN_STATIC_TRANSFORMS. - Small tweak of the code to make the comparison against Identity - matrix clearer. -2005-02-11 20:43 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 - * examples/osgconv/osgconv.cpp: Added --prune-StateSet option into - osgconv for bottleneck testing. +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?" -2005-02-11 17:22 robert - * src/osgUtil/Optimizer.cpp: Fixed spatial groups. -2005-02-11 16:43 robert +Mon, 5 Jan 2009 12:21:58 +0000 +Checked in by : Robert Osfield +Updated wrappers - * examples/osgconv/osgconv.cpp: Added support for fixing - transprency on objects that should have been - placed in the opaque bin. +Mon, 5 Jan 2009 11:58:08 +0000 +Checked in by : Robert Osfield +From Paul Martz, Correction to Timer method comment. -2005-02-11 10:09 robert +Mon, 5 Jan 2009 11:31:38 +0000 +Checked in by : Robert Osfield +From Cedric Pinson, added non const getText() method - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Sebastien Grignard, - fixed memory leak where header and databuffers - wern't deleted. +Mon, 5 Jan 2009 11:26:26 +0000 +Checked in by : Robert Osfield +Introduced osgVolume::Layer and Locator classes mirrroring similar classes in osgTerrain. -2005-02-11 10:00 robert +Mon, 5 Jan 2009 10:13:04 +0000 +Checked in by : Robert Osfield +Change the aggressive warning level under VS to /W3 - * src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/ReaderWriterIVE.cpp: Added support into - passing the ReaderWriter::Options structure onto readImageFile +Wed, 24 Dec 2008 11:05:22 +0000 +Checked in by : Robert Osfield +Fixed warning -2005-02-11 09:59 robert +Wed, 24 Dec 2008 10:30:21 +0000 +Checked in by : Robert Osfield +Fixed warnings - * src/osgDB/FileNameUtils.cpp: Removed debugging messages +Mon, 22 Dec 2008 21:17:03 +0000 +Checked in by : Robert Osfield +Made aggressive warnings the default. -2005-02-11 09:58 robert +Mon, 22 Dec 2008 21:16:40 +0000 +Checked in by : Robert Osfield +Fixed warnings - * include/osgDB/FileNameUtils, src/osgDB/FileNameUtils.cpp, - src/osgDB/FileUtils.cpp: Added new utilities for handling - different '/' and '\' entries. +Mon, 22 Dec 2008 18:30:52 +0000 +Checked in by : Robert Osfield +Build fix -2005-02-10 21:30 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." - * include/osgUtil/IntersectVisitor, - src/osgUtil/IntersectVisitor.cpp: Removed redundent _nodePath - entry. -2005-02-10 21:18 robert - * include/osgUtil/IntersectVisitor, - src/osgUtil/IntersectVisitor.cpp: From Chris Xennon, add support - for billboard intersections + fix to addLineSegments. - - Small addition from Robert Osfield of setLODSelectionMode(..) to - control - the LOD selection behavior. +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 -2005-02-10 20:38 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." - * Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/osgPlugins/hdr, VisualStudio/osgPlugins/hdr/hdr.dsp, - src/osgPlugins/hdr, src/osgPlugins/hdr/GNUmakefile, - src/osgPlugins/hdr/ReaderWriterHDR.cpp, - src/osgPlugins/hdr/hdrloader.cpp, src/osgPlugins/hdr/hdrloader.h: - From Igor Kravtchenko, new HDR plugin. +Sat, 20 Dec 2008 20:55:21 +0000 +Checked in by : Robert Osfield +Renamed osgVolume::Brick to osgVolume::VolumeTile -2005-02-10 20:21 robert +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. - * src/osg/Image.cpp: warning fix +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. -2005-02-10 20:14 robert +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. - * include/osg/BufferObject: Put pixel buffer define's into their - own block. +osgPlugins/bsp: +This contains all of the changes needed to load props along with the basic map geometry. There are also +several bugs fixed. -2005-02-10 15:53 robert +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. - * src/osgPlugins/mpeg/MpegImageStream.cpp: Fixed the pixelFormat to - be RGBA. +I tested all of this code on RHEL 5.2 (32-bit), and Fedora 9 (64-bit). I'll be testing on Windows soon. -2005-02-10 15:52 robert +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: - * src/osg/Image.cpp: Implemented the osg::Image::isImagTranslucent - function. + osgviewer models/props_junk/gascan001a.mdl" -2005-02-09 16:18 robert - * examples/osgmovie/osgmovie.cpp, - src/osgPlugins/mpeg/MpegImageStream.cpp: 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 -2005-02-09 15:31 robert +Sat, 20 Dec 2008 12:52:16 +0000 +Checked in by : Robert Osfield +Added OPTIONAL into INCLUDE(FindPkgConfig) - * src/osgPlugins/xine/ReaderWriterXine.cpp: Created local - XineImageStream class to ensure xine streams are cleaned up - correctly. +Fri, 19 Dec 2008 19:04:45 +0000 +Checked in by : Robert Osfield +Updated ChangeLog for 2.7.8 dev release -2005-02-09 14:27 robert +Fri, 19 Dec 2008 18:37:23 +0000 +Checked in by : Robert Osfield +Added osgversion into dynamic build path - * src/osgPlugins/xine/ReaderWriterXine.cpp: Added setting of the - filename +Fri, 19 Dec 2008 18:02:18 +0000 +Checked in by : Robert Osfield +Removed debug message -2005-02-09 13:22 robert +Fri, 19 Dec 2008 17:50:58 +0000 +Checked in by : Robert Osfield +Moved main setSceneData methods in osgViewer::View::setSceneData() - * src/osgPlugins/xine/ReaderWriterXine.cpp: Added getenv - OSG_XINE_AUDIO_DRIVER to xine plugin to allow users to - set what the default audio to use +Fri, 19 Dec 2008 17:15:56 +0000 +Checked in by : Robert Osfield +Updated wrappers -2005-02-09 12:29 robert +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. - * src/osg/TextureRectangle.cpp, - src/osgPlugins/mpeg/MpegImageStream.cpp, - src/osgPlugins/xine/ReaderWriterXine.cpp: Commented out the debug - messages, added back in the audio into the xine plugin +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."" -2005-02-09 11:30 robert - * examples/osgmovie/osgmovie.cpp: Added vertical offset to multiple - movies instances -2005-02-09 10:39 robert +Fri, 19 Dec 2008 16:59:10 +0000 +Checked in by : Robert Osfield +Fixed warning - * VisualStudio/osg/osg.dsp, examples/osgmovie/osgmovie.cpp, - include/osg/Array, include/osg/BufferObject, - include/osg/Drawable, include/osg/Image, - include/osg/PrimitiveSet, include/osg/Texture1D, - include/osg/Texture2D, include/osg/Texture3D, - include/osg/TextureCubeMap, include/osg/TextureRectangle, - include/osg/TriangleFunctor, include/osg/TriangleIndexFunctor, - include/osgText/Text, include/osgUtil/Statistics, - src/osg/BufferObject.cpp, src/osg/Drawable.cpp, - src/osg/GNUmakefile, src/osg/Image.cpp, src/osg/ImageStream.cpp, - src/osg/PrimitiveSet.cpp, src/osg/ShapeDrawable.cpp, - src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2D.cpp, src/osg/Texture3D.cpp, - src/osg/TextureCubeMap.cpp, src/osg/TextureRectangle.cpp, - src/osgDB/ReadFile.cpp, src/osgPlugins/ive/Image.cpp, - src/osgPlugins/mpeg/MpegImageStream.cpp, - src/osgPlugins/xine/ReaderWriterXine.cpp, src/osgText/Text.cpp: - 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. +Fri, 19 Dec 2008 16:35:45 +0000 +Checked in by : Robert Osfield +Fixed compile error during debug build -2005-02-07 20:45 robert +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 + - * VisualStudio/osgTerrain/osgTerrain.dsp: Removed the repeated - entry of HiehgtFieldNode in include list -2005-02-07 20:44 robert - * include/osgProducer/ViewerEventHandler, - src/osgProducer/ViewerEventHandler.cpp: From Paul Melis, fixed - the setFrameStatsMode() method +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 -2005-02-07 17:28 robert +Fri, 19 Dec 2008 15:29:59 +0000 +Checked in by : Robert Osfield +Added ClipNode::set/getReferenceFrame(); - * include/osg/Drawable, src/osg/Drawable.cpp: Added the full set of - buffer object methods +Fri, 19 Dec 2008 14:30:03 +0000 +Checked in by : Robert Osfield +Removed MATH_LIBRARY and FREETYPE library reference. -2005-02-07 15:00 robert +Fri, 19 Dec 2008 12:58:50 +0000 +Checked in by : Robert Osfield +Fixed warning & error - * src/osgPlugins/xine/GNUmakefile, - src/osgPlugins/xine/ReaderWriterXine.cpp, - src/osgPlugins/xine/video_out_rgb.c, - src/osgPlugins/xine/video_out_rgb.h: Temporarily added xine - video_out_rgb xine-plugin inline to the OSG's xine plugin +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. -2005-02-06 10:14 robert +Fri, 19 Dec 2008 12:46:21 +0000 +Checked in by : Robert Osfield +Fixed warning - * src/osgPlugins/osg/LightSource.cpp: Changed the - LightSource::setReferenceFrame() read code so that it doesn't - enable the culling active flag if its was already set to false. +Fri, 19 Dec 2008 12:29:18 +0000 +Checked in by : Robert Osfield +Fixed warning -2005-02-04 20:36 robert +Fri, 19 Dec 2008 12:28:53 +0000 +Checked in by : Robert Osfield +Added StandardShadowMap to list to test cases - * examples/osgmovie/osgmovie.cpp: Turned off lighting. +Fri, 19 Dec 2008 11:36:26 +0000 +Checked in by : Robert Osfield +Updated wrappers -2005-02-04 19:34 robert +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). " - * Make/dependencies, Make/makedefs, Make/makedirdefs, - src/osgPlugins/xine, src/osgPlugins/xine/GNUmakefile, - src/osgPlugins/xine/ReaderWriterXine.cpp: Added prototype xine - movie plugin. +Fri, 19 Dec 2008 10:20:23 +0000 +Checked in by : Robert Osfield +Updated wrappers -2005-02-04 03:58 don +Thu, 18 Dec 2008 17:40:13 +0000 +Checked in by : Robert Osfield +Fixed typo - * Make/makeirixdist: Updated IRIX dist generation file for IRIX - binaries +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." -2005-02-03 13:10 robert +Thu, 18 Dec 2008 17:01:21 +0000 +Checked in by : Robert Osfield +Refactored the handling of particle rotation - * examples/osgcluster/osgcluster.cpp: Change unsigned long to - unsigned int to avoid 64/32 bit problems. +Thu, 18 Dec 2008 16:10:12 +0000 +Checked in by : Robert Osfield +Fixed warnings -2005-02-02 22:13 don +Thu, 18 Dec 2008 15:49:44 +0000 +Checked in by : Robert Osfield +Fixed warnings - * src/osgPlugins/osg/GNUmakefile, src/osgPlugins/osg/Viewport.cpp: - Added Viewport State Attribute to .osg reader/writer +Thu, 18 Dec 2008 14:18:22 +0000 +Checked in by : Robert Osfield +Added MATH_LIBRARY to link list -2005-02-02 15:08 robert +Thu, 18 Dec 2008 13:56:30 +0000 +Checked in by : Robert Osfield +Fixed warnings - * include/osg/Drawable, include/osg/State, include/osg/StateSet: - From, Leandro Motta Barros, Doxygen comments. - - Ammendments by Robert Osfield, a few comment rewrites to better - reflect API functionality/usage. +Thu, 18 Dec 2008 13:23:48 +0000 +Checked in by : Robert Osfield +Fixed warnings -2005-02-01 22:36 robert +Thu, 18 Dec 2008 12:29:17 +0000 +Checked in by : Robert Osfield +Fixed warning - * examples/osgvolume/osgvolume.cpp: Added support for modulating - alpha values +Thu, 18 Dec 2008 12:27:34 +0000 +Checked in by : Robert Osfield +Quitened down debug messages -2005-02-01 15:03 robert +Thu, 18 Dec 2008 12:26:14 +0000 +Checked in by : Robert Osfield +Fixed warnings - * examples/osgvolume/osgvolume.cpp: Removed debugging messages. +Thu, 18 Dec 2008 12:25:51 +0000 +Checked in by : Robert Osfield +Quitened down debug message -2005-02-01 13:19 robert +Thu, 18 Dec 2008 11:54:34 +0000 +Checked in by : Robert Osfield +Fixed warnings - * src/osgProducer/OsgCameraGroup.cpp: Added support for - OSG_CAMERA_THREADING env variable which is set to - "SingleThreaded" will ensure that OsgCameraGroup runs singe - threaded. +Thu, 18 Dec 2008 11:06:57 +0000 +Checked in by : Robert Osfield +Fixed warnings -2005-02-01 10:38 robert +Wed, 17 Dec 2008 22:52:36 +0000 +Checked in by : Robert Osfield +Improved the effectiveness of the new max target number PageLOD's - * src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/Texture.cpp: - Added support for internalTextureMode +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." -2005-02-01 09:38 robert - * examples/osgvolume/osgvolume.cpp: Added conversion of dataType to - GL_UNSIGNED in raw data reading path. -2005-02-01 09:02 robert +Wed, 17 Dec 2008 17:11:13 +0000 +Checked in by : Robert Osfield +Fixed warnings - * examples/osgvolume/osgvolume.cpp: Added code for rescaling - images. +Wed, 17 Dec 2008 16:58:23 +0000 +Checked in by : Robert Osfield +Fixed inactive PagedLOD removal code -2005-02-01 09:00 robert +Wed, 17 Dec 2008 16:13:23 +0000 +Checked in by : Robert Osfield +Fixed warnings - * include/osg/Vec4d, include/osg/Vec4f: Added red, green, blue and - alpha values. +Wed, 17 Dec 2008 16:02:42 +0000 +Checked in by : Robert Osfield +Fixed warnings -2005-02-01 09:00 robert +Wed, 17 Dec 2008 15:36:59 +0000 +Checked in by : Robert Osfield +Fixed warnings - * include/osg/ArgumentParser, src/osg/ArgumentParser.cpp: Added - support for 8 parameters. +Wed, 17 Dec 2008 15:32:35 +0000 +Checked in by : Robert Osfield +Fixed warnings -2005-01-31 20:09 robert +Wed, 17 Dec 2008 14:56:40 +0000 +Checked in by : Robert Osfield +Fixed warnings - * examples/osgvolume/osgvolume.cpp: Added support for raw image - formats +Wed, 17 Dec 2008 13:14:17 +0000 +Checked in by : Robert Osfield +Warning fixes -2005-01-28 17:24 robert +Wed, 17 Dec 2008 12:13:15 +0000 +Checked in by : Robert Osfield +Introduce NodeVisitor::className and libraryName() - * examples/osgslice/osgslice.cpp: Removed include of - Producer/RenderSurface +Wed, 17 Dec 2008 11:00:16 +0000 +Checked in by : Robert Osfield +Warning fixes -2005-01-28 16:09 robert +Wed, 17 Dec 2008 10:34:09 +0000 +Checked in by : Robert Osfield +From Sekender, fixed warnins - * include/osgDB/SharedStateManager: From Tree, removed redundent - "inline"s +Wed, 17 Dec 2008 10:33:39 +0000 +Checked in by : Robert Osfield +Fixed warnings -2005-01-28 11:01 robert +Wed, 17 Dec 2008 10:01:52 +0000 +Checked in by : Robert Osfield +From Jean-Sebastien Guay, added missing export - * include/osg/Image: Added definitation for GL_COMPRESSED_* tokens - for case where early OpenGL headers - don't provide them. +Tue, 16 Dec 2008 21:16:06 +0000 +Checked in by : Robert Osfield +Updated wrappers -2005-01-27 20:26 robert +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 - * src/osgPlugins/pnm/ReaderWriterPNM.cpp: Moved the template - function into the global namespace. +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). -2005-01-27 20:18 robert - * src/osg/Image.cpp: Fixes to osg::Image's handling of compressed - formats. -2005-01-27 15:54 robert +Tue, 16 Dec 2008 19:49:09 +0000 +Checked in by : Robert Osfield +From Bob Kuehne, build fixes. - * VisualStudio/examples/osgpbuffer/osgpbuffer.dsp, - src/osgPlugins/bmp/ReaderWriterBMP.cpp: Fixes for Win32 build +Tue, 16 Dec 2008 16:36:33 +0000 +Checked in by : Robert Osfield +Updated version numbers for 2.8.8 dev release -2005-01-27 14:54 robert +Tue, 16 Dec 2008 15:58:42 +0000 +Checked in by : Robert Osfield +Updated wrappers - * VisualStudio/examples/osgimpostor/osgimpostor.dsp, - VisualStudio/examples/osgshape/osgshape.dsp, - VisualStudio/examples/osgtexture3D/osgtexture3D.dsp: Added /Zm - 200 option to avoid heap problems +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. -2005-01-27 14:39 robert +Thus this patch based on rev 9358 removes that additional unlock in the win32 +mutex implementations destructor." - * examples/osgunittests/osgunittests.cpp, include/osg/Quat, - src/osg/Quat.cpp: 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. -2005-01-27 13:23 robert - * include/osg/Node: From Chris Hanson, minor tweaks to docs on - getDescriptions. +Tue, 16 Dec 2008 15:08:04 +0000 +Checked in by : Robert Osfield +From Sukender and Robert Osfield, introduced GraphicsContext::ScreenSettings & WindowingSystemInterface::enumerateScreenSettings. -2005-01-27 13:15 robert +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). " - * include/osg/Drawable, include/osg/Geode, - include/osg/ShapeDrawable: From Leandro Motta Barros, doxygen - comments +Tue, 16 Dec 2008 12:23:30 +0000 +Checked in by : Robert Osfield +Fixed warnings -2005-01-27 11:18 robert +Tue, 16 Dec 2008 12:20:19 +0000 +Checked in by : Robert Osfield +Fixed warnings - * include/osg/BoundsChecking: Changed template instances to - template +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" -2005-01-27 11:16 robert - * src/osgUtil/TangentSpaceGenerator.cpp: Fixed tabbing. -2005-01-27 11:10 robert - * include/osgText/Font, src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h, src/osgText/Font.cpp, - src/osgText/Text.cpp: Changed Font::setSize to - Font::setFontResolution +Mon, 15 Dec 2008 22:18:40 +0000 +Checked in by : Robert Osfield +Added support for a Terrain::s/getTerrainTechniquePrototype() -2005-01-25 22:15 robert +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. - * src/osgPlugins/bmp/ReaderWriterBMP.cpp: From Donn Mielcarek, - change of long and unsigned long to int32 and uint32 to - avoid 32bit vs 64bit issues. +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). -2005-01-22 16:55 robert +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." - * include/osgGA/TrackballManipulator, - src/osgGA/TrackballManipulator.cpp: From Mason Menninger, - addition of setTrackballSize() parameter. -2005-01-22 15:41 robert - * include/osgProducer/OsgCameraGroup, include/osgProducer/Viewer: - From Leandro Motta Barros, Doxygen comments for OsgCameraGroup - and Viewer. - With a few small ammendments/additions from Robert Osfield. +Mon, 15 Dec 2008 20:32:15 +0000 +Checked in by : Robert Osfield +Limited the static build to just osversion and osgstaticviewer -2005-01-21 21:00 robert +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. - * src/osgUtil/IntersectVisitor.cpp: From Yuzhong Shen, removed - repeated statements in Hit operator =. -2005-01-21 19:33 robert - * src/osgPlugins/pnm/ReaderWriterPNM.cpp: From Kevin Moiule, - rewrote PNM plugin to handle grayscale PNM images. +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." -2005-01-21 19:31 robert +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). - * include/osg/BlendEquation, include/osg/Image: build fix -2005-01-21 19:30 robert +This fixes the overwriting issue that I showed in my posting +"Bug in VertexBufferObject::compileBuffer" on OSG-Users. +" - * include/osgUtil/IntersectVisitor: From Tree, add get methods -2005-01-21 19:28 robert - * examples/osgstereoimage/osgstereoimage.cpp: Change dhte - CullSettings to be correct to new changes in osgProducer +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. -2005-01-21 19:21 robert +Mon, 15 Dec 2008 16:10:26 +0000 +Checked in by : Robert Osfield +Added deprecated messages to get/set methods of outgoing expiry schemes. - * src/osgPlugins/osg/LightSource.cpp, - src/osgPlugins/osg/Transform.cpp: Fixed the input/output handling - of ReferenceFrame values to be RELATIVE and ABSOLUTE - rather than long original names. +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. -2005-01-21 19:15 robert +CMakers will not get options for selecting compression format. TGZ +goes for all platforms (on win32 I use 7zip) - * src/osgPlugins/ive/DataInputStream.cpp: From Tugkan Calapoglu, - bugfix to prevents reloading already loaded images. +The wrappers is now given the COMPONENT name +libopenscenegraph-wrappers. Feel free to change the name. -2005-01-12 15:37 robert +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. - * Make/makedirdefs, examples/osgslice, - examples/osgslice/GNUmakefile, - examples/osgslice/GNUmakefile.inst, - examples/osgslice/osgslice.cpp: From Rainer Oder, with additions - from Robert. osgslice example which - generates a 3d volume from a source geometry model. +stop -2005-01-12 10:32 robert +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" - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Fredrick Mammond, - fix to 64 bit build. -2005-01-09 19:30 robert - * include/osgUtil/RenderToTextureStage, - src/osgUtil/RenderToTextureStage.cpp: 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. +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. -2005-01-08 10:21 robert +Set DatabasePager DoPreCompile to OFF by default. - * include/osg/BlendEquation: Tweaked the #define's of - GL_ALPHA_MIN_SGIX and GL_ALPHA_MAX_SGIX to ensure compilation - across - OGL drivers. -2005-01-07 20:36 robert - * src/osgPlugins/rgb/ReaderWriterRGB.cpp: From Per Fahlberg, - support for 16bit imagery. -2005-01-07 20:24 robert +Mon, 15 Dec 2008 12:16:31 +0000 +Checked in by : Robert Osfield +Removed buildMipmaps method that had no implementation. - * src/osgPlugins/pnm/ReaderWriterPNM.cpp: From Kevin Moule, fix to - memory overwrite error. +Fri, 12 Dec 2008 22:28:22 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project -2005-01-07 20:01 robert +Fri, 12 Dec 2008 19:19:01 +0000 +Checked in by : Robert Osfield +Updated AUTHORS and READER for 2.7.7 dev release - * src/osgDB/Registry.cpp: From Tree, change to naming of plugins - when building OSG with Java to avoid - conflicts. +Fri, 12 Dec 2008 19:12:38 +0000 +Checked in by : Robert Osfield +Updated change log -2005-01-07 19:00 robert +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 - * include/osg/Drawable, include/osg/State, - include/osg/StateAttribute, include/osg/TexEnvFilter, - include/osg/TexGen: From Tree, moved GL_ #define's out of osg - namespaces +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 -2005-01-07 14:31 robert +Fri, 12 Dec 2008 14:16:11 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgUtil/Simplifier.cpp: Fixed crash in osgUtl::Simplifier - which was due to an dereference of an empty array. +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." -2005-01-05 17:14 robert +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.). - * examples/osgblendequation/osgblendequation.cpp, - examples/osglogicop/osglogicop.cpp, include/osg/BlendEquation, - include/osg/LogicOp, src/osg/BlendEquation.cpp, - src/osg/LogicOp.cpp: Cleaned up the types. +I have temporariliy uploaded some examples to +http://www.openscenegraph.org/projects/osg/wiki/Community/People/MattiasHelsing -2005-01-05 16:16 robert +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)" - * include/osg/BlendEquation, src/osg/BlendEquation.cpp: From - Fredric Mammond, fix for build using full extension checked - mechansim -2005-01-03 16:42 robert - * examples/osgblendequation, examples/osgblendequation/GNUmakefile, - examples/osgblendequation/GNUmakefile.inst, - examples/osgblendequation/osgblendequation.cpp, - examples/osglogicop, examples/osglogicop/GNUmakefile, - examples/osglogicop/GNUmakefile.inst, - examples/osglogicop/osglogicop.cpp: From Fredric Mammond, addid - osgblendequation and osglogicop examples. +Fri, 12 Dec 2008 10:20:05 +0000 +Checked in by : Robert Osfield +Updated wrappers -2005-01-03 16:39 robert +Fri, 12 Dec 2008 10:19:19 +0000 +Checked in by : Robert Osfield +Updated version number for 2.7.7 release - * Make/makedirdefs, VisualStudio/osg/osg.dsp, - include/osg/BlendEquation, include/osg/StateAttribute, - src/osg/BlendEquation.cpp, src/osg/GNUmakefile: From Fredric - Mammond, added new osg::BlendEquation state attribute wrapping - up glBlendEquation. +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. " -2005-01-03 13:49 robert +Wed, 10 Dec 2008 17:08:21 +0000 +Checked in by : Robert Osfield +Cleaned up layout - * src/osgPlugins/lwo/Converter.cpp, src/osgPlugins/lwo/Converter.h, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/lwo/Surface.cpp, src/osgPlugins/lwo/Surface.h: - From Marco Jez, fixed handling of loading of relative file paths. +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. -2005-01-03 12:27 robert +Wed, 10 Dec 2008 15:01:49 +0000 +Checked in by : Robert Osfield +Removed #if 0'd out reference to osgDB - * src/osgPlugins/obj/obj.cpp: 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 - -2005-01-03 11:20 robert - - * src/osgPlugins/ac3d/ac3d.cpp: Added check against ac as - extension. - -2004-12-17 22:31 don - - * Make/makedefs: Changed INST_LOCATION = to INST_LOCATION ?= - -2004-12-17 20:51 don - - * include/osg/Switch, src/osg/Switch.cpp: 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 - - * examples/osgreflect/osgreflect.cpp, include/osg/AnimationPath, - include/osg/ClipNode, include/osg/ClipPlane, - include/osg/ColorMask, include/osg/ConvexPlanarOccluder, - include/osg/ConvexPlanarPolygon, include/osg/CullingSet, - include/osg/Depth, include/osg/DrawPixels, - include/osg/FragmentProgram, include/osg/FrontFace, - include/osg/Image, include/osg/Impostor, - include/osg/ImpostorSprite, include/osg/LOD, - include/osg/Multisample, include/osg/Node, - include/osg/NodeCallback, include/osg/PolygonMode, - include/osg/Shape, include/osg/StateSet, include/osg/Switch, - include/osg/VertexProgram, src/osg/AnimationPath.cpp, - src/osg/ClipPlane.cpp, src/osg/PolygonMode.cpp, - src/osg/ShapeDrawable.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/ive/AnimationPath.cpp, - src/osgPlugins/ive/ClipPlane.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/osg/AnimationPath.cpp, - src/osgPlugins/osg/ClipPlane.cpp, - src/osgPlugins/txp/TXPParser.cpp, src/osgUtil/CullVisitor.cpp: - Property API clean to smooth the task of generating wrappers. - -2004-12-16 06:15 robert - - * src/osgWrappers/osg/AutoWrapCandidates.txt, - src/osgWrappers/osg/ManualWrapCandidates.txt, - src/osgWrappers/osg/ValueTypeCandidates.txt: Provisional lists - for what are likely to, and not likely to have wrappers - automatically generated easily - -2004-12-15 04:49 robert - - * Make/cygwin_wrapper_def, src/osgWrappers/osg/Vec3.cpp, - src/osgWrappers/osg/Vec4.cpp: Added missing files - -2004-12-14 03:12 robert - - * include/osg/CullSettings: Removed redundent cont qualification - -2004-12-14 01:38 robert - - * include/osgIntrospection/Reflector: From Fredric Marmond, fix to - gcc3.4 build - -2004-12-13 04:54 robert - - * VisualStudio/osg/osg.dsp, include/osg/LogicOp, - include/osg/StateAttribute, src/osg/GNUmakefile, - src/osg/LogicOp.cpp: From Frederic Marmond, add osg::LogicOp for - support for glLogicOp. - -2004-12-13 02:39 robert - - * VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgintrospection, - VisualStudio/examples/osgintrospection/example_osgintrospection.dsp, - VisualStudio/osgWrappers/osg/wrapper_osg.dsp, - examples/osgintrospection/osgintrospection.cpp, - include/osgIntrospection/Attributes, - include/osgIntrospection/CustomAttribute, - include/osgIntrospection/CustomAttributeProvider, - include/osgIntrospection/Exceptions, - include/osgIntrospection/Export, - include/osgIntrospection/MethodInfo, - include/osgIntrospection/ParameterInfo, - include/osgIntrospection/PropertyInfo, - include/osgIntrospection/ReaderWriter, - include/osgIntrospection/Reflection, - include/osgIntrospection/ReflectionMacros, - include/osgIntrospection/Reflector, - include/osgIntrospection/Type, - include/osgIntrospection/TypedMethodInfo, - include/osgIntrospection/Value, - include/osgIntrospection/variant_cast, - src/osgIntrospection/CustomAttributeProvider.cpp, - src/osgIntrospection/DefaultReflectors.cpp, - src/osgIntrospection/MethodInfo.cpp, - src/osgIntrospection/PropertyInfo.cpp, - src/osgIntrospection/Reflection.cpp, - src/osgIntrospection/Type.cpp, src/osgIntrospection/Value.cpp, - src/osgWrappers/osg/BlendFunc.cpp, - src/osgWrappers/osg/Drawable.cpp, - src/osgWrappers/osg/GNUmakefile, src/osgWrappers/osg/Geode.cpp, - src/osgWrappers/osg/Geometry.cpp, src/osgWrappers/osg/Group.cpp, - src/osgWrappers/osg/Material.cpp, src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/Object.cpp, - src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/StateSet.cpp, src/osgWrappers/osg/Vec2.cpp: - From Marco, fixes to osgIntrospection and related libs - -2004-12-13 01:07 robert - - * include/osg/AnimationPath, include/osg/ApplicationUsage, - include/osg/Billboard, include/osg/CollectOccludersVisitor, - include/osg/FragmentProgram, include/osg/Texture2D, - include/osg/VertexProgram, - src/osgPlugins/ive/FragmentProgram.cpp, - src/osgPlugins/osg/FragmentProgram.cpp, - src/osgPlugins/osg/VertexProgram.cpp: Teaks to API to make it - easier to generate wrappers automatically - -2004-12-13 01:06 robert - - * doc/Doxyfiles/core_Doxyfile: Fixed project name - -2004-12-12 22:27 robert - - * src/osgUtil/Optimizer.cpp: Changed RELATIVE_RF to ABSOLUTE_RF to - fix bug introduced when naming was changed - from RELATIVE_TO_ABSOLUTE to new convention - -2004-12-10 03:37 robert - - * include/osg/Stencil: Added extra set methods to match get's to - make then symetric proporties - -2004-12-09 05:29 robert - - * Make/makedefs, Make/makedirdefs, Make/makerules, - VisualStudio/VisualStudio.dsw, VisualStudio/osgIntrospection, - VisualStudio/osgIntrospection/osgIntrospection.dsp, - VisualStudio/osgWrappers, VisualStudio/osgWrappers/osg, - VisualStudio/osgWrappers/osg/wrapper_osg.dsp: Added Make support - for new osgIntrospecxtion libs - -2004-12-09 05:28 robert - - * examples/osgintrospection, examples/osgintrospection/GNUmakefile, - examples/osgintrospection/GNUmakefile.inst, - examples/osgintrospection/osgintrospection.cpp, - include/osgIntrospection, include/osgIntrospection/Attributes, - include/osgIntrospection/CustomAttribute, - include/osgIntrospection/CustomAttributeProvider, - include/osgIntrospection/Exceptions, - include/osgIntrospection/Export, - include/osgIntrospection/MethodInfo, - include/osgIntrospection/ParameterInfo, - include/osgIntrospection/PropertyInfo, - include/osgIntrospection/ReaderWriter, - include/osgIntrospection/Reflection, - include/osgIntrospection/ReflectionMacros, - include/osgIntrospection/Reflector, - include/osgIntrospection/Type, - include/osgIntrospection/TypedMethodInfo, - include/osgIntrospection/Value, - include/osgIntrospection/variant_cast, src/osgIntrospection, - src/osgIntrospection/CustomAttributeProvider.cpp, - src/osgIntrospection/DefaultReflectors.cpp, - src/osgIntrospection/GNUmakefile, - src/osgIntrospection/MethodInfo.cpp, - src/osgIntrospection/PropertyInfo.cpp, - src/osgIntrospection/Reflection.cpp, - src/osgIntrospection/Type.cpp, src/osgIntrospection/Value.cpp, - src/osgWrappers, src/osgWrappers/GNUmakefile, - src/osgWrappers/osg, src/osgWrappers/osg/BlendFunc.cpp, - src/osgWrappers/osg/Drawable.cpp, - src/osgWrappers/osg/GNUmakefile, src/osgWrappers/osg/Geode.cpp, - src/osgWrappers/osg/Geometry.cpp, src/osgWrappers/osg/Group.cpp, - src/osgWrappers/osg/Material.cpp, src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/Object.cpp, - src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/StateSet.cpp, src/osgWrappers/osg/Vec2.cpp: - Added Marco Jez's osgIntrospection + osgWrapper libs with - osgintrospection - example - -2004-12-09 00:02 don - - * Make/helprules: added 'sh' to command line to ensure that the - script runs regardless of - permissions +Wed, 10 Dec 2008 12:50:40 +0000 +Checked in by : Robert Osfield +Fixed link line -2004-12-08 19:45 don +Wed, 10 Dec 2008 11:12:37 +0000 +Checked in by : Robert Osfield +Refactored computeIntersections() float x,float y, const osg::NodePath& nodePath. - * src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/PagedLOD.cpp: - Update of IVe version files +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)." -2004-12-07 00:42 don +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 ) )." - * src/osg/Geometry.cpp: Spelling errors fixed by Brede Johansen -2004-12-06 19:32 don - * src/osg/LightModel.cpp: Changed the strcmp() to use std::string - instead. +Wed, 10 Dec 2008 09:34:45 +0000 +Checked in by : Robert Osfield +Added return -2004-12-05 00:16 don +Tue, 9 Dec 2008 16:43:38 +0000 +Checked in by : Robert Osfield +From Sukender, added missing inline keywords - * Make/makedefs: Post-tag revision variable change +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. -2004-12-05 00:03 don +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. - * Make/makedefs, Make/makerpms: CHanged version in makedefs for - 2 - revision +Tue, 9 Dec 2008 09:26:51 +0000 +Checked in by : Robert Osfield +Added support for setting background colour of Pdf document. -2004-12-04 23:59 don +Tue, 9 Dec 2008 09:25:12 +0000 +Checked in by : Robert Osfield +Added setImageToColour function - * dist/RPM: 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. +Tue, 9 Dec 2008 09:24:47 +0000 +Checked in by : Robert Osfield +Added asSwitch and asGeode convinience methods to Node -2004-12-04 23:38 don +Sun, 7 Dec 2008 17:37:26 +0000 +Checked in by : Robert Osfield +Added ability to customize keyboard events for controlling osgWidget::PdfImage/PdfReader - * Make/openscenegraph.pc, src/osg/Version.cpp, - src/osgDB/Version.cpp, src/osgGA/Version.cpp, - src/osgGL2/Version.cpp, src/osgParticle/Version.cpp, - src/osgProducer/Version.cpp, src/osgSim/Version.cpp, - src/osgTerrain/Version.cpp, src/osgText/Version.cpp, - src/osgUtil/Version.cpp: Update version numbers in files +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. -2004-12-02 21:50 don - * Make/makedefs: Post release adjustment of revision -2004-12-02 21:49 don +Sat, 6 Dec 2008 11:03:32 +0000 +Checked in by : Robert Osfield +Fixed build problem - * GNUmakefile, Make/makedefs, Make/tagrules: Added tagrules for - 'make tag' convenience - Updated makedefs for release/revision +Fri, 5 Dec 2008 16:41:12 +0000 +Checked in by : Robert Osfield +Added GL_ABGR_EXT to fix windows build -2004-12-02 21:28 don +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 - * examples/osgcluster/osgcluster.cpp: fixed CameraPacket to - allocate on the heap instead of the stack, which - was causing crashes. +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); -2004-12-02 17:44 don +/** 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); - * src/osgPlugins/rgb/ReaderWriterRGB.cpp: Memory leak spotted and - fixed by Sebastien Grignard +... and the same for Event and Cull callbacks methods." -2004-11-30 18:13 don - * AUTHORS.txt: Added Mike's submission to Authors -2004-11-29 18:59 don +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) - * examples/osgsimulation/osgsimulation.cpp: Added pragma to shut VS - 6 up. +so I added these types to the switch statement: -2004-11-29 05:47 don + 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; - * src/osgDB/ReentrantMutex.cpp: Small clean up of commented code +That's all... now it computes the number of components and, thus, the image size +correctly." -2004-11-29 05:32 don - * src/osgDB/ReentrantMutex.cpp: Comprimise for Visual Studio 6 by - using 'using namespace OpenThreads'. -2004-11-29 03:05 don +Tue, 2 Dec 2008 10:42:58 +0000 +Checked in by : Robert Osfield +Revised the DYNAMIC vs STATIC library setup of COLLADA. - * Make/makedefs, include/osgDB/DatabasePager, - include/osgDB/Registry, src/osgPlugins/jpeg/GNUmakefile, - src/osgPlugins/osga/OSGA_Archive.h: Fixes for SOlaris build +Tue, 2 Dec 2008 09:00:53 +0000 +Checked in by : Robert Osfield +From Jean-Sebastien Guay, build fix -2004-11-29 01:12 don +Mon, 1 Dec 2008 15:46:50 +0000 +Checked in by : Robert Osfield +Fixed wrappers - * examples/osgfxbrowser/osgfxbrowser.cpp, - examples/osglauncher/osglauncher.cpp, include/osgDB/ImageOptions, - include/osgDB/ReaderWriter, include/osgDB/ReentrantMutex, - src/osgDB/ReentrantMutex.cpp, - src/osgPlugins/flt/ReaderWriterFLT.cpp, - src/osgPlugins/net/sockinet.cpp, - src/osgPlugins/net/sockstream.cpp, - src/osgPlugins/net/sockstream.h: Fixes for IRIX build +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. -2004-11-28 23:49 don +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." - * src/osgPlugins/osga/OSGA_Archive.h, - src/osgPlugins/osga/ReaderWriterOSGA.cpp: Changes for IRIX build -2004-11-28 17:11 don - * NEWS.txt, VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgspotlight, - VisualStudio/examples/osgspotlight/osgspotlight.dsp: Added visual - studio files for osgspotlight example (Mike Weiblen) - Updated NEWS.txt for release +Mon, 1 Dec 2008 13:47:48 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-11-27 20:35 don +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: - * src/osgPlugins/net/ReaderWriterNET.cpp: Fixed osgDB:: prefix for - Windows build +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. -2004-11-27 19:23 don - * src/osgPlugins/ive/PagedLOD.cpp: Added Marco's fix for data path - for the .ive plugin +-------------------------------------------- +Compatibility: -2004-11-27 19:20 don +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. - * src/osgPlugins/net/ReaderWriterNET.cpp: Fixed bug in .net loader. - Added hostname to file fetch. +-------------------------------------------- +Testing: -2004-11-27 17:06 don +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 ;) ) - * INSTALL.txt: Fixed reference to install instructions -2004-11-26 21:35 robert +-------------------------------------------- +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. +" - * src/osg/DisplaySettings.cpp: Added missing OSG_SCREEN_WIDTH docs -2004-11-26 21:14 robert - * NEWS.txt: Updates news for release +Mon, 1 Dec 2008 11:19:11 +0000 +Checked in by : Robert Osfield +Added OpenThreads to link lists -2004-11-26 20:46 robert +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 - * ChangeLog, doc/Doxyfiles/auto_Mainpage, - doc/Doxyfiles/core_Doxyfile, doc/Doxyfiles/custom_Footer.html: - Updates to ChangeLog and doxygen file +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. -2004-11-26 19:27 robert +Also attached are some typo fixes for CMakeModules. - * VisualStudio/examples/osgcameragroup/osgcameragroup.dsp, - VisualStudio/examples/osgconv/osgconv.dsp, - VisualStudio/examples/osgspheresegment/osgspheresegment.dsp: - Added /Zm200 to avoid heap size problems under VS6.0 +Cheers," -2004-11-26 16:01 robert - * include/osg/Export, include/osg/UnitTestFramework, - include/osgDB/Export, include/osgFX/Export, - include/osgGL2/Export, include/osgParticle/Export, - include/osgProducer/Export, include/osgSim/Export, - include/osgTerrain/Export, include/osgText/Export, - include/osgUtil/Export: Addd high level introductory docs for all - the libs -2004-11-26 16:00 robert +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." - * doc/Doxyfiles/auto_Mainpage, doc/Doxyfiles/custom_Footer.html: - Clean up doxygen files for release +Sat, 29 Nov 2008 12:16:04 +0000 +Checked in by : Robert Osfield +Updated ChangeLog, and AUTHORS lists for 2.7.6 dev release -2004-11-25 15:57 robert +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. - * VisualStudio/examples/osgautotransform/osgautotransform.dsp, - VisualStudio/examples/osggeometry/osggeometry.dsp, - VisualStudio/examples/osglogo/osglogo.dsp, - VisualStudio/examples/osgsequence/osgsequence.dsp: Added /Zm200 - to avoid VS 6.0 dump arse compile errors +Sat, 29 Nov 2008 11:10:56 +0000 +Checked in by : Robert Osfield +Fixed build for when ref_ptr<> impicit cast is not built -2004-11-25 15:09 robert +Fri, 28 Nov 2008 17:18:08 +0000 +Checked in by : Robert Osfield +Removed cmath include as it was causing build problems under Cgwin - * src/osgDB/Archive.cpp, src/osgDB/Registry.cpp: Fixed caching of - archives +Fri, 28 Nov 2008 14:37:58 +0000 +Checked in by : Robert Osfield +Added new examples -2004-11-25 13:59 robert +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 - * VisualStudio/VisualStudio.dsw: Reordered the core libraries to - try and get round compile order problems under - VisualStudio 6.0 -2004-11-25 09:51 robert - * Make/makedefs: Added LFS support to gcc linux build +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 -2004-11-24 21:39 robert - * src/osgTerrain/DataSet.cpp: cleaned up debug info -2004-11-24 21:10 robert +Fri, 28 Nov 2008 14:35:47 +0000 +Checked in by : Robert Osfield +Updated wrappers - * ChangeLog, NEWS.txt: updated NEWS and ChangeLog +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. -2004-11-24 19:41 robert - * src/osgTerrain/DataSet.cpp: Clean up of output -2004-11-24 19:10 robert - * examples/osgplanets/osgplanets.cpp, - examples/osgshape/osgshape.cpp: from Mike Weiblen, added wrap - mode to planet texture to avoid black seam, and - add option of specifying the texture to use in osgshape. +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. -2004-11-24 15:41 robert - * src/osgPlugins/lib3ds/ReaderWriter3DS.cpp: Fixed typo in - acceptsExtension -2004-11-24 06:57 robert - * src/osgPlugins/pfb/ReaderWriterPFB.cpp: Moved the initPeformer to - the constructor to avoid const issues when compiling +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" -2004-11-23 23:47 robert +Thu, 27 Nov 2008 17:30:14 +0000 +Checked in by : Robert Osfield +Updated SO version number for 2.5.6 release - * src/osgDB/Registry.cpp: Fixed VS.NET warnings +Thu, 27 Nov 2008 17:29:12 +0000 +Checked in by : Robert Osfield +Updated ChangeLog -2004-11-23 23:45 robert +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 - * examples/osgphotoalbum/ImageReaderWriter.h: Fixed recursive call +Thu, 27 Nov 2008 14:05:30 +0000 +Checked in by : Robert Osfield +Changed unsigned long to unsigned int to avoid 64bit portability issue. -2004-11-23 17:07 robert - - * src/osg/Switch.cpp: From Fabien Dachicourt, bug fix to - addChild(node,value) - -2004-11-23 16:52 robert - - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From John Shue, - reordering of tiffio.h to avoid compile error. - -2004-11-23 15:29 robert - - * examples/osgphotoalbum/ImageReaderWriter.cpp, - examples/osgphotoalbum/ImageReaderWriter.h, - include/osgDB/Archive, include/osgDB/ReaderWriter, - src/osgDB/Registry.cpp, src/osgPlugins/3dc/ReaderWriter3DC.cpp, - src/osgPlugins/Inventor/ReaderWriterIV.cpp, - src/osgPlugins/Inventor/ReaderWriterIV.h, - src/osgPlugins/ac3d/ac3d.cpp, - src/osgPlugins/bmp/ReaderWriterBMP.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/directx/ReaderWriterDirectX.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/dx/ReaderWriterDX.cpp, - src/osgPlugins/dx/ReaderWriterDX.h, - src/osgPlugins/flt/ReaderWriterATTR.cpp, - src/osgPlugins/flt/ReaderWriterFLT.cpp, - src/osgPlugins/flt/ReaderWriterFLT.h, - src/osgPlugins/freetype/ReaderWriterFreeType.cpp, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/gif/ReaderWriterGIF.cpp, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/jp2/ReaderWriterJP2.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/lib3ds/ReaderWriter3DS.cpp, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/lws/ReaderWriterLWS.cpp, - src/osgPlugins/md2/ReaderWriterMD2.cpp, - src/osgPlugins/mpeg/ReaderWriterMPEG.cpp, - src/osgPlugins/net/ReaderWriterNET.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osga/OSGA_Archive.cpp, - src/osgPlugins/osga/OSGA_Archive.h, - src/osgPlugins/osga/ReaderWriterOSGA.cpp, - src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp, - src/osgPlugins/pfb/ReaderWriterPFB.cpp, - src/osgPlugins/pic/ReaderWriterPIC.cpp, - src/osgPlugins/png/ReaderWriterPNG.cpp, - src/osgPlugins/png/new_ReaderWriterPNG.cpp, - src/osgPlugins/png/prev_ReaderWriterPNG.cpp, - src/osgPlugins/pnm/ReaderWriterPNM.cpp, - src/osgPlugins/quicktime/ReaderWriterQT.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp, - src/osgPlugins/rot/ReaderWriterROT.cpp, - src/osgPlugins/scale/ReaderWriterSCALE.cpp, - src/osgPlugins/stl/ReaderWriterSTL.cpp, - src/osgPlugins/tga/ReaderWriterTGA.cpp, - src/osgPlugins/tgz/ReaderWriterTGZ.cpp, - src/osgPlugins/tiff/ReaderWriterTIFF.cpp, - src/osgPlugins/trans/ReaderWriterTRANS.cpp, - src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/ReaderWriterTXP.h, - src/osgPlugins/zip/ReaderWriterZIP.cpp, src/osgText/Font.cpp: - Made read/write methods in ReaderWriter all const to facilate - multi-threading - -2004-11-23 12:57 robert - - * examples/osgarchive/osgarchive.cpp, include/osgDB/Archive, - include/osgDB/ReaderWriter, src/osgDB/Registry.cpp, - src/osgPlugins/net/ReaderWriterNET.cpp, - src/osgPlugins/osga/OSGA_Archive.cpp, - src/osgPlugins/osga/OSGA_Archive.h, - src/osgPlugins/osga/ReaderWriterOSGA.cpp, - src/osgTerrain/DataSet.cpp: Tripped out experiemental threadSafe_ - methods in ReaderWriter - -2004-11-23 10:46 robert - - * src/osgPlugins/ac3d/ac3d.cpp, src/osgPlugins/ac3d/osgac3d.h, - src/osgPlugins/directx/ReaderWriterDirectX.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/lws/ReaderWriterLWS.cpp, - src/osgPlugins/md2/ReaderWriterMD2.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/osg/ReaderWriterOSG.cpp: Added support for local - relative paths - -2004-11-22 23:54 robert - - * include/osgDB/FileUtils, src/osgDB/FileUtils.cpp, - src/osgPlugins/3dc/ReaderWriter3DC.cpp, - src/osgPlugins/Inventor/ReaderWriterIV.cpp, - src/osgPlugins/ac3d/ac3d.cpp, - src/osgPlugins/bmp/ReaderWriterBMP.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/directx/ReaderWriterDirectX.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/flt/FltFile.cpp, src/osgPlugins/flt/FltFile.h, - src/osgPlugins/flt/Input.cpp, src/osgPlugins/flt/Pool.cpp, - src/osgPlugins/flt/Pool.h, - src/osgPlugins/flt/ReaderWriterATTR.cpp, - src/osgPlugins/flt/ReaderWriterFLT.cpp, - src/osgPlugins/flt/flt2osg.cpp, - src/osgPlugins/freetype/ReaderWriterFreeType.cpp, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/gif/ReaderWriterGIF.cpp, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/jp2/ReaderWriterJP2.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/lib3ds/ReaderWriter3DS.cpp, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/lwo/Converter.cpp, src/osgPlugins/lwo/Converter.h, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/lws/ReaderWriterLWS.cpp, - src/osgPlugins/lws/SceneLoader.cpp, - src/osgPlugins/lws/SceneLoader.h, - src/osgPlugins/md2/ReaderWriterMD2.cpp, - src/osgPlugins/mpeg/ReaderWriterMPEG.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/obj.cpp, src/osgPlugins/obj/obj.h, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osga/ReaderWriterOSGA.cpp, - src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp, - src/osgPlugins/pfb/ReaderWriterPFB.cpp, - src/osgPlugins/pic/ReaderWriterPIC.cpp, - src/osgPlugins/png/ReaderWriterPNG.cpp, - src/osgPlugins/pnm/ReaderWriterPNM.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp, - src/osgPlugins/stl/ReaderWriterSTL.cpp, - src/osgPlugins/tga/ReaderWriterTGA.cpp, - src/osgPlugins/tgz/ReaderWriterTGZ.cpp, - src/osgPlugins/tiff/ReaderWriterTIFF.cpp, - src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/zip/ReaderWriterZIP.cpp: Moved plugins across to - using ReaderWriter::Options* for search paths in addition - to standard osgDB::DataFilePaths - -2004-11-22 14:49 robert - - * include/osgDB/ReaderWriter, include/osgDB/Registry, - src/osgDB/Registry.cpp: Removed the cache hints from registery - placing them wholly into ReaderWriter's responsibility. - -2004-11-22 14:10 robert - - * NEWS.txt, examples/osgcallback/osgcallback.cpp, - include/osgDB/Archive, include/osgDB/FileUtils, - include/osgDB/ReadFile, include/osgDB/ReaderWriter, - include/osgDB/Registry, src/osgDB/Archive.cpp, - src/osgDB/FileUtils.cpp, src/osgDB/Input.cpp, - src/osgDB/ReadFile.cpp, src/osgDB/Registry.cpp, - src/osgPlugins/ive/PagedLOD.cpp, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/net/ReaderWriterNET.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, src/osgPlugins/obj/obj.h, - src/osgPlugins/osg/PagedLOD.cpp, - src/osgPlugins/osg/ReaderWriterOSG.cpp, src/osgText/Font.cpp: - Moved Registry::CacheHintOptions into ReaderWriter::Options +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." -2004-11-22 13:58 robert +Thu, 27 Nov 2008 09:36:35 +0000 +Checked in by : Robert Osfield +Enabled the build of exr plugin - * examples/osgplanets/osgplanets.cpp: From Rainer Oder, - improvements to planet motions +Thu, 27 Nov 2008 09:36:18 +0000 +Checked in by : Robert Osfield +Build fixes -2004-11-20 13:35 robert +Thu, 27 Nov 2008 09:33:06 +0000 +Checked in by : Robert Osfield +Removed the use of = operator. - * include/osgDB/ImageOptions, include/osgDB/ReaderWriter: Changed - ReaderWriter::Options to derive from osg::Object to add clone() - ability. +Wed, 26 Nov 2008 16:40:01 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-11-20 12:08 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. " - * src/osg/PagedLOD.cpp: Added support for pixel based LOD's and set - the default priority scale to 1.0 +Wed, 26 Nov 2008 16:00:27 +0000 +Checked in by : Robert Osfield +added workaround of compile issues with templated version of BoundingBox -2004-11-20 11:48 robert +Wed, 26 Nov 2008 13:18:54 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osg/PagedLOD.cpp: Added support for pixel range to PagedLOD +Wed, 26 Nov 2008 12:50:12 +0000 +Checked in by : Robert Osfield +From Andy Preece,"To reproduce the bug: -2004-11-20 11:48 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: - * src/osgPlugins/ive/LOD.cpp: Fixed indentation. + dynamic_cast(templateNode -> clone( osg::CopyOp( (osg::CopyOp::CopyFlags)osg::CopyOp::DEEP_COPY_NODES ) ) ) -2004-11-20 11:45 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. - * src/osgPlugins/osg/LOD.cpp: From Johan Nouvel, added support for - range mode + -2004-11-20 10: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?" - * src/osgDB/FileUtils.cpp: From John Shue, fix for FreeBSD. -2004-11-19 20:05 robert - * src/osgDB/ReentrantMutex.cpp: Added _lockCount>0 check to - lock,unlock and trylock to make sure that it - is set properly on first time entry. +Wed, 26 Nov 2008 12:35:49 +0000 +Checked in by : Robert Osfield +Added searching for OpenEXR -2004-11-19 09:02 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. - * src/osgDB/DatabasePager.cpp: Removed notify from destructor wait - for cancel loop. +I have only tested it on windows XP 32 machine. So there might be some work making it work on other platforms. -2004-11-19 08:47 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. - * examples/osglauncher/osglauncher.cpp: Added std:: infront of - getline calls +When reading an exr file it automatically removes Alfa channel if it didn't store any information." -2004-11-18 22:43 robert +-- - * runexamples.bat: Made the permissions executable +From Robert Osfield, started work on ported it to other platforms, but could fix some problems relating to error: -2004-11-18 22:14 robert + ?Imf::OStream::OStream(const Imf::OStream&)? is private - * ChangeLog, NEWS.txt: Updated ChangedLog and NEWS +I'm checking in now so that others can have a bash at completing the port. -2004-11-18 22:13 robert - * include/osgDB/Archive: Removed the public open methods -2004-11-18 22:12 robert - * doc/Doxyfiles/core_Doxyfile: Added all core libraries +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." -2004-11-18 21:53 robert - * VisualStudio/VisualStudio.dsw: Added osgText dependency to - osglauncher. -2004-11-18 20:20 robert +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. - * VisualStudio/VisualStudio.dsw, VisualStudio/examples/osglauncher, - VisualStudio/examples/osglauncher/osglauncher.dsp, - VisualStudio/examples/osglauncher/resources.rc, - VisualStudio/examples/osgplanets, - VisualStudio/examples/osgplanets/osgplanets.dsp, - VisualStudio/examples/osgplanets/resources.rc: Added dsp's for - osglauncher and osgplanets. +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." -2004-11-18 16:25 robert - * src/osgDB/FileUtils.cpp, src/osgDB/FileUtils_Mac.cpp: Removed old - and used FileUtils_Mac.cpp -2004-11-18 16:21 robert +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. - * runexamples.bat: Added osglancher and osgplanets to example set. +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 -2004-11-18 16:20 robert - * examples/osglauncher/osglauncher.cpp: Changed debugging info to - use osg::notify -2004-11-18 15:10 robert +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." - * examples/osgplanets/osgplanets.cpp: Added write to file and use - of clearnode +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 -2004-11-18 15:01 robert +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 - * examples/osgplanets/osgplanets.cpp: Increased accuracy of - animation path, moved main to end. +Tue, 25 Nov 2008 14:40:02 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-11-18 14:43 robert +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 - * examples/osgplanets/osgplanets.cpp: Changed Solarsystem to - SolarSystem. +Tue, 25 Nov 2008 14:15:55 +0000 +Checked in by : Robert Osfield +Added support for unsigned int uniforms -2004-11-18 13:46 robert +Tue, 25 Nov 2008 14:15:35 +0000 +Checked in by : Robert Osfield +From Ferdi Smit, added support for unsigned int typed uniforms - * examples/osglauncher/osglauncher.cpp: Added a search for the - config file, and defaulting to osg.conf +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()." -2004-11-18 13:34 robert +Tue, 25 Nov 2008 12:22:33 +0000 +Checked in by : Robert Osfield +Fixed warning and some unitialized variables. - * examples/osgplanets/osgplanets.cpp: Changed path to imagery from - Images/SolarSystem to SolarSystem. +Tue, 25 Nov 2008 11:09:40 +0000 +Checked in by : Robert Osfield +Fixed warning -2004-11-18 12:07 robert +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. - * include/osgDB/DatabasePager, src/osgPlugins/osga/OSGA_Archive.h: - Added friend usage for inner classes to try and get round compile - problems - under Solaris. +There is also new example with using multisampled FBO." -2004-11-18 11:53 robert - * src/osgPlugins/osg/ReaderWriterOSG.cpp: Added check for - extension. -2004-11-18 11:21 robert +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. - * include/osgDB/ReaderWriter: Fixed writeImage. +Modified files: -2004-11-18 10:08 robert +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 +" - * examples/osgplanets/osgplanets.cpp, src/osgDB/FileUtils.cpp, - src/osgPlugins/ac3d/Geode.cpp, src/osgPlugins/lwo/Surface.cpp, - src/osgPlugins/lws/SceneLoader.h, - src/osgPlugins/net/sockinet.cpp, - src/osgPlugins/net/sockstream.cpp, - src/osgUtil/TriStripVisitor.cpp: From Vivek Rajan, fixes to - Solaris build. -2004-11-18 09:19 robert - * include/osg/Timer, src/osg/Timer.cpp: Altered the path for Cygwin - to set the _ticksPerSecond to the correct value. +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." -2004-11-18 09:09 robert +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. - * include/osgDB/DatabasePager: From Stephane Simon, compile fix for - VS, change struct to class in forward declaration. +Mon, 24 Nov 2008 16:02:20 +0000 +Checked in by : Robert Osfield +Improved the set of the master + slave cameras -2004-11-17 20:01 robert +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." - * examples/osglauncher/osglauncher.cpp: From Rainer Oder, updates - to osglauncher. +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" + -2004-11-17 19:31 robert - * Make/dependencies: Changed the dependencies file to use ?= - instead of = to allow env vars - to override local settings. -2004-11-17 14:56 robert +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" - * Make/instrules, Make/makedefs: From Thom DeCarlo, fixes for - Cygwin build -2004-11-17 14:25 robert - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Made a - few of the public methods virtual, and moved more of the class - methods to protected scope. +Mon, 24 Nov 2008 13:50:28 +0000 +Checked in by : Robert Osfield +Replaced usage atof to asciiToFloat. -2004-11-17 13:04 robert +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 - * doc/contents.html, doc/dependencies.html: Removed remaining old - docs. +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." -2004-11-17 13:03 robert +This plugin has been integrated with the pre-exisiting bsp plugin. - * doc/doc++: Removed doc++ docs from distrubtion. -2004-11-17 13:00 robert - * doc/MindMaps: Removed mind maps docs -2004-11-17 12:58 robert - * NEWS.txt, README.txt, doc/MindMaps/DesignPatterns, - doc/MindMaps/Mission, doc/UML, doc/data.html, - doc/documentation.html, doc/examples.html, doc/images, - doc/index.html, doc/install.html, doc/introduction.html, - doc/osgdem.html, doc/osgviewer.html, doc/plan.html, - doc/stereo.html, index.html: Moved the main documentation onto - the wiki website, and removed from the - OpenSceneGraph distribution +Mon, 24 Nov 2008 10:28:19 +0000 +Checked in by : Robert Osfield +Renamig of files in prep of merge of valve bsp support -2004-11-16 16:04 robert +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." - * include/osgDB/Registry: Fixed typo of ReadObjectFunctor. +Mon, 24 Nov 2008 10:13:27 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-11-16 15:36 robert +Sun, 23 Nov 2008 17:28:13 +0000 +Checked in by : Robert Osfield +Added mechnism for tracking when a VncImage is inactive or not. - * include/osgDB/Registry: Adde another friend to remove final VS6.0 - compile problem. +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. -2004-11-16 14:35 robert +Sun, 23 Nov 2008 11:35:43 +0000 +Checked in by : Robert Osfield +Introduce osg::asciiToDouble/asciiToFloat function. - * examples/osgscalarbar/osgscalarbar.cpp: Attempted fix for VS6.0 - compile problems +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. -2004-11-16 14:21 robert +Attached is my re-implementation for review. - * src/osgPlugins/osga/OSGA_Archive.cpp: Removed debug info as it - was causing VS6.0 compile problem +I've checked it against the test images from http://wvnvaxa.wvnet.edu/vmswww/bmp.html and models that use BMP files. +" -2004-11-16 14:20 robert - * src/osgPlugins/osga/OSGA_Archive.h: From David Spilling, fix for - VS6.0 build. -2004-11-16 14:10 robert - * include/osgDB/Registry: Made the inner helper classes friend to - try and get round VS6.0 problems +Sun, 23 Nov 2008 09:57:41 +0000 +Checked in by : Robert Osfield +From Paul Martz, added missing export -2004-11-16 12:40 robert +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 - * src/osgPlugins/osga/OSGA_Archive.h: Added using namespace osgDB - to try and resolve some of the VS6.0 problems. +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. -2004-11-16 09:09 robert +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: - * VisualStudio/VisualStudio.dsw: Added osgText dependency to - osgsequence app +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 -2004-11-16 09:03 robert +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. - * include/osg/Timer: From Loic Dachary, changes to Timer for - PowerPC support, with small re-arrangement - by Robert Osfield to make tick() code block mode readable. +Just inversing these steps fixes the problem: -2004-11-15 19:53 robert +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. - * Make/openscenegraph.pc: From Loic Dachary, added pk-config file. +Now, the eventState will refer to the correct graphics context in both cases. -2004-11-15 19:46 robert +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. +" - * examples/osgarchive/osgarchive.cpp, include/osgDB/Archive, - include/osgDB/ReaderWriter, src/osgDB/Registry.cpp, - src/osgPlugins/net/ReaderWriterNET.cpp, - src/osgPlugins/osga/OSGA_Archive.cpp, - src/osgPlugins/osga/ReaderWriterOSGA.cpp, - src/osgTerrain/DataSet.cpp: Added support for serialization of - calls to ReaderWriter plugins. -2004-11-15 19:45 robert - * Make/makedefs: Added -pipe to gcc build under Linux +Fri, 21 Nov 2008 17:44:16 +0000 +Checked in by : Robert Osfield +Added handling of View::LightingMode -2004-11-15 19:44 robert +Fri, 21 Nov 2008 17:10:41 +0000 +Checked in by : Robert Osfield +Build fix - * examples/osgplanets/osgplanets.cpp: From osgplaents, updates to - more of the solar systems planets. +Fri, 21 Nov 2008 16:09:28 +0000 +Checked in by : Robert Osfield +Added exports -2004-11-15 13:08 robert +Fri, 21 Nov 2008 13:23:55 +0000 +Checked in by : Robert Osfield +From David Spilling, better support for multitexture in obj loader. - * src/osgDB/ReentrantMutex.cpp: Added ReentrantMutex +Fri, 21 Nov 2008 12:38:22 +0000 +Checked in by : Robert Osfield +From Jaromir Vitek, osgpackeddepthstencil example as a test case. -2004-11-15 13:02 robert +Fri, 21 Nov 2008 12:31:28 +0000 +Checked in by : Robert Osfield +Updated wrappers - * include/osg/Referenced: From Tree, fixes for Java bindings +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. -2004-11-15 12:05 robert +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." - * runexamples.bat: Added osgspotlight to example set. +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." -2004-11-15 12:03 robert +Fri, 21 Nov 2008 12:05:03 +0000 +Checked in by : Robert Osfield +From Joakim Simonsson, fixed warning. - * examples/osgsequence/osgsequence.cpp: From Ulrich Hertlien, - improved osgsequence example +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," -2004-11-15 11:57 robert +Small code tweaks by Robert Osfield to streamline the code. - * VisualStudio/osgDB/osgDB.dsp, include/osgDB/ReentrantMutex, - src/osgDB/GNUmakefile: Added osgDB::ReentrantMutex is prep for - making osgDB::Registry single threaded. -2004-11-14 21:08 robert - * include/osgDB/Output: From Loic Dachary, added getFileName method +Fri, 21 Nov 2008 11:27:11 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-11-14 20:00 robert +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." - * src/osgDB/FileUtils.cpp: Added Cygwin to #define stat64 stat - path. +Fri, 21 Nov 2008 11:09:11 +0000 +Checked in by : Robert Osfield +Replaced tabs -2004-11-14 17:02 robert +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. - * Make/makedefs: Added COMPILE_OSG_OP_OT_WITH_SONAMES is YES guard - around soname settings. +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." -2004-11-14 16:36 robert +Thu, 20 Nov 2008 13:07:21 +0000 +Checked in by : Robert Osfield +Added readNodeFile support the gecko plugin. - * Make/makedefs: Added sonames support under Linux/gcc +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 -2004-11-14 10:41 robert +Thu, 20 Nov 2008 11:47:38 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osg/Timer.cpp: 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. +Thu, 20 Nov 2008 11:28:20 +0000 +Checked in by : Robert Osfield +Clean up osgbrowser after moving browser implementation into gecko plugin -2004-11-13 22:04 don +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 - * include/osg/Timer: PowerPC fix for Timer by Guillaume Morin +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. -2004-11-13 21:42 robert +Wed, 19 Nov 2008 17:16:29 +0000 +Checked in by : Robert Osfield +Moved Browser.h and Browser.cpp from osgbrowser into osgWidget. - * examples/osglauncher/osglauncher.cpp, src/osg/Texture.cpp, - src/osgGL2/ProgramObject.cpp, src/osgProducer/Viewer.cpp: Fixed - warnings. +Wed, 19 Nov 2008 17:04:02 +0000 +Checked in by : Robert Osfield +Added XUL_DIR searching -2004-11-13 21:39 robert +Wed, 19 Nov 2008 17:02:45 +0000 +Checked in by : Robert Osfield +Fixed component directory path handling. - * src/osgPlugins/osga/OSGA_Archive.cpp, - src/osgPlugins/osga/OSGA_Archive.h, - src/osgPlugins/osga/ReaderWriterOSGA.cpp: Added support for - opening an istream archive +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. -2004-11-13 16:21 robert +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. - * examples/osgarchive/osgarchive.cpp, - examples/osgviewer/osgviewer.cpp, include/osgDB/Archive, - include/osgDB/ReaderWriter, - src/osgPlugins/net/ReaderWriterNET.cpp, - src/osgPlugins/net/sockinet.h, - src/osgPlugins/osga/OSGA_Archive.cpp, - src/osgPlugins/osga/OSGA_Archive.h, - src/osgPlugins/osga/ReaderWriterOSGA.cpp, - src/osgProducer/ViewerEventHandler.cpp: Added prelimarny support - for reading archives via the .net plugin +Tue, 18 Nov 2008 17:20:45 +0000 +Checked in by : Robert Osfield +Removed debug output -2004-11-13 16:18 robert +Tue, 18 Nov 2008 15:18:34 +0000 +Checked in by : Robert Osfield +Added optional bool keep to BarrierOperation to make it more resuable - * src/osgDB/Registry.cpp: Fixed the passing of the parsed server - name/server file when handling files - via the .net plugin +Tue, 18 Nov 2008 14:46:02 +0000 +Checked in by : Robert Osfield +Moved update functionality into from UBrowserImage into update. -2004-11-13 10:24 robert +Tue, 18 Nov 2008 13:36:47 +0000 +Checked in by : Robert Osfield +Added support for running all ubrowser operataions in a background thread. - * src/osgPlugins/osga/ReaderWriterOSGA.cpp: Fixed openArchive so - that it only enforces the checking of the archive's existance - when in READ mode. +Mon, 17 Nov 2008 19:15:12 +0000 +Checked in by : Robert Osfield +Fixed key mapping -2004-11-12 21:07 robert +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. - * src/osgPlugins/stl/ReaderWriterSTL.cpp: Remove unistd.h include +Mon, 17 Nov 2008 15:53:04 +0000 +Checked in by : Robert Osfield +Removed dependency on GLUT. -2004-11-12 16:36 robert +Mon, 17 Nov 2008 15:49:24 +0000 +Checked in by : Robert Osfield +Ported example to using OSG objects for rendering rather than GLUT - * examples/osgviewer/osgviewer.cpp: Added --image and --dem - documentation to command line parameters +Mon, 17 Nov 2008 10:36:55 +0000 +Checked in by : Robert Osfield +Introduced xulrunner extensions from llmozlib2, and got things working under linux -2004-11-12 15:39 robert +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." - * examples/osgdepthshadow/osgdepthshadow.cpp: Rotated scene to face - the viewer -2004-11-12 14:49 robert - * Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/osgPlugins/stl, VisualStudio/osgPlugins/stl/stl.dsp, - src/osgPlugins/stl, src/osgPlugins/stl/GNUmakefile, - src/osgPlugins/stl/ReaderWriterSTL.cpp: From Ulrich Heirtlein, - added STL plugin -2004-11-12 08:55 robert +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. - * src/osg/PagedLOD.cpp, src/osgDB/Input.cpp, - src/osgPlugins/jp2/ReaderWriterJP2.cpp, - src/osgPlugins/osga/ReaderWriterOSGA.cpp, - src/osgTerrain/DataSet.cpp: Improvements to support for archives +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. -2004-11-11 22:26 robert +Fri, 14 Nov 2008 18:15:12 +0000 +Checked in by : Robert Osfield +Removed reduncent #includes - * include/osgDB/Archive: From Stephane Simon, added missing - OSGDB_EXPORT to osgDB::openArchive functions +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." -2004-11-11 16:05 robert +Fri, 14 Nov 2008 16:54:07 +0000 +Checked in by : Robert Osfield +Added GTK and GLUT guards to osgbrowser include - * src/osgPlugins/dds/ReaderWriterDDS.cpp: Added write to ostream to - ReaderWriterDDS +Fri, 14 Nov 2008 16:48:07 +0000 +Checked in by : Robert Osfield +Further work on experiment llmozlib/geko based embedded web browser -2004-11-11 16:05 robert +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. - * examples/osgarchive/osgarchive.cpp: Fixed file extraction. +Thu, 13 Nov 2008 10:49:33 +0000 +Checked in by : Robert Osfield +Updated version number in prep for 2.5.6 dev release -2004-11-11 13:22 robert +Wed, 12 Nov 2008 22:54:12 +0000 +Checked in by : Robert Osfield +Moved Poppler-glib check into root CMakeList.txt - * VisualStudio/osgPlugins/osga/osga.dsp, - examples/osgarchive/osgarchive.cpp, include/osgDB/Archive, - src/osgDB/Archive.cpp, src/osgPlugins/osga/GNUmakefile, - src/osgPlugins/osga/OSGA_Archive.cpp, - src/osgPlugins/osga/OSGA_Archive.h, - src/osgPlugins/osga/ReaderWriterOSGA.cpp, - src/osgTerrain/DataSet.cpp: Moved the .osga implementation into - the src/osgPlugins/osga plugin and made - osgDB::Archive a pure virtual base class. +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 -2004-11-10 22:11 robert +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. - * include/osgDB/Archive, src/osgDB/Archive.cpp: Fixed uninitialized - variable. +Wed, 12 Nov 2008 14:20:15 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-11-10 21:52 robert +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. - * include/osgDB/Archive: Set the pos_type and size_type explictly - to 8 byte types. +Tue, 11 Nov 2008 17:59:35 +0000 +Checked in by : Robert Osfield +Improved naming -2004-11-10 21:47 robert +Tue, 11 Nov 2008 17:30:11 +0000 +Checked in by : Robert Osfield +Tweaked comment - * src/osgDB/Archive.cpp: Added debugging info for swapped endian - values +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. -2004-11-10 21:38 robert +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 - * src/osgDB/Archive.cpp: Fixes to endian handling. +Tue, 11 Nov 2008 16:59:12 +0000 +Checked in by : Robert Osfield +Removed the redundent prepending of application name. -2004-11-10 21:31 robert +Tue, 11 Nov 2008 16:21:04 +0000 +Checked in by : Robert Osfield +Added timing stats - * src/osgDB/Archive.cpp: Removed duplicated swap bytes +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 -2004-11-10 21:28 robert +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 - * examples/osgunittests/osgunittests.cpp, src/osgDB/Archive.cpp: - Added sizeof tests of istream::pos_type and off_type to - osgunittests. - - Added debuggin messages to endian handling code in - Archive::open(). +Tue, 11 Nov 2008 12:50:51 +0000 +Checked in by : Robert Osfield +Added support for fbo testing. -2004-11-10 21:18 robert +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. - * include/osgDB/Archive, src/osgDB/Archive.cpp, - src/osgTerrain/DataSet.cpp: Added check for endianess of .osga - archives +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). -2004-11-10 16:56 don +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. - * src/osgPlugins/net/sockstream.cpp, - src/osgPlugins/net/sockstream.h: More cleanups for CYGWIN from - Norman Vine +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 -2004-11-10 16:40 robert +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." - * Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/osgPlugins/osga, - VisualStudio/osgPlugins/osga/osga.dsp, include/osgDB/Registry, - src/osgDB/Registry.cpp, src/osgPlugins/osga, - src/osgPlugins/osga/GNUmakefile, - src/osgPlugins/osga/ReaderWriterOSGA.cpp: Added new osga plugin - for reading OSG native archives +Sat, 8 Nov 2008 17:53:51 +0000 +Checked in by : Robert Osfield +From Jean-Sebastien Guay, replaced M_PI with osg::PI. -2004-11-10 16:37 robert +Fri, 7 Nov 2008 18:02:05 +0000 +Checked in by : Robert Osfield +Updated ChangeLog for 2.7.5 release - * src/osgProducer/Viewer.cpp: Commented out some redundent debuggin - info. +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. -2004-11-10 13:47 robert +Fri, 7 Nov 2008 17:23:55 +0000 +Checked in by : Robert Osfield +Fixed typo - * include/osgDB/Registry, src/osgDB/Registry.cpp: Moved the - ReadFunctor to protected section. +Fri, 7 Nov 2008 17:07:43 +0000 +Checked in by : Robert Osfield +Fixed build under gcc 4.3.2 -2004-11-10 13:03 robert +Fri, 7 Nov 2008 16:26:46 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and version number for 2.7.5 release - * examples/osgarchive/osgarchive.cpp, include/osgDB/Archive, - src/osgDB/Archive.cpp: Added support for master file and clean up - Archive API. +Fri, 7 Nov 2008 16:14:49 +0000 +Checked in by : Robert Osfield +Removed fstream for wrapper due to problems with wrapping. -2004-11-10 10:57 robert +Fri, 7 Nov 2008 16:03:37 +0000 +Checked in by : Robert Osfield +Removed due to problems with build - * examples/osgdem/osgdem.cpp: Removed the explicit setting for - convert to geocentric when setting - --bluemarlbe-west, --bluemarble-east and --whole-globe. +Fri, 7 Nov 2008 15:38:40 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-11-10 09:56 robert +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. - * examples/osgshaders/GL2Scene.cpp, include/osgGL2/ProgramObject, - src/osgGL2/ProgramObject.cpp: From Mike Weiblen, fix to the state - leakage. +Fri, 7 Nov 2008 15:01:15 +0000 +Checked in by : Robert Osfield +Converted tabs to four spaces -2004-11-09 16:50 robert +Fri, 7 Nov 2008 13:18:40 +0000 +Checked in by : Robert Osfield +From Tim Moore, removed redundent forward declartion of BoundingBox and BoundingSphere - * src/osgTerrain/DataSet.cpp: Added explicit setting of the - precision to allow .osg files to be used succsefully. +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" -2004-11-09 16:49 robert +Thu, 6 Nov 2008 16:48:55 +0000 +Checked in by : Robert Osfield +Changed to using stdio.h. - * src/osgPlugins/net/GNUmakefile: Fixed tabbing +Thu, 6 Nov 2008 14:56:31 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-11-09 15:12 robert +Thu, 6 Nov 2008 14:46:11 +0000 +Checked in by : Robert Osfield +Fixed constness of getTexture/getRenderBuffer() const and added non cost version. - * VisualStudio/VisualStudio.dsw, - VisualStudio/osgPlugins/net/net.dsp: 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. +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." -2004-11-09 15:01 robert +Thu, 6 Nov 2008 14:17:12 +0000 +Checked in by : Robert Osfield +From Kyle Centers, removed redundent check to _currentContext.valid(). - * examples/osgplanets/osgplanets.cpp: Added rainer's changes for - adding billboard glow around sun. +Thu, 6 Nov 2008 14:04:26 +0000 +Checked in by : Robert Osfield +From Csaba Halasz, adding missing export directives -2004-11-09 14:18 robert +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" - * examples/osgarchive/osgarchive.cpp, examples/osgdem/osgdem.cpp, - include/osgDB/Archive, include/osgTerrain/DataSet, - src/osgDB/Archive.cpp, src/osgTerrain/DataSet.cpp: Added support - of archiving into osgTerrain::DataSet and osgdem. +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. " -2004-11-09 07:34 don +Thu, 6 Nov 2008 13:38:11 +0000 +Checked in by : Robert Osfield +Fixed IntersectionVisitor::accept(Camera) handling of relative Cameras. - * src/osgPlugins/net/GNUmakefile, src/osgPlugins/net/sockinet.cpp, - src/osgPlugins/net/sockinet.h, src/osgPlugins/net/sockstream.cpp, - src/osgPlugins/net/sockstream.h: Fixes to the .net plugin for - Cygwin, submitted by Norman Vine +Thu, 6 Nov 2008 13:36:25 +0000 +Checked in by : Robert Osfield +From Chris Denham, added transform to cube to test picking fixes -2004-11-08 20:44 robert +Wed, 5 Nov 2008 16:06:25 +0000 +Checked in by : Robert Osfield +Removed redundent static ImageStream pointer - * src/osgTerrain/DataSet.cpp: Fixed the compute of PagedLOD ranges - for non geocentric datasets +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. -2004-11-08 19:56 robert +Wed, 5 Nov 2008 15:04:38 +0000 +Checked in by : Robert Osfield +Added --replace-rgb-with-luminance option - * src/osgTerrain/DataSet.cpp: Added resolutionSensitivityScale of - 0.9 into the DataSet::createDestinationGraph() - to prevent overly conservative subdivision of data. +Wed, 5 Nov 2008 15:04:11 +0000 +Checked in by : Robert Osfield +Added support for different pixel formats and datatypes in copyImage() method -2004-11-08 17:12 robert +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. - * include/osg/VertexProgram, src/osgPlugins/osg/VertexProgram.cpp: - Added public access to VertexProgram's LocalParamters and added - .osg support - for these. +Wed, 5 Nov 2008 10:29:45 +0000 +Checked in by : Robert Osfield +Added extra data types info to debug message -2004-11-08 16:39 robert +Wed, 5 Nov 2008 10:27:49 +0000 +Checked in by : Robert Osfield +Added Thread::Init() to CurrentThread - * include/osgDB/Archive, include/osgDB/ReaderWriter: From Stephane - ???, fixes for VS.NET build +Tue, 4 Nov 2008 16:31:47 +0000 +Checked in by : Robert Osfield +Compiled fix for gcc 4.3.2 -2004-11-08 16:39 robert +Tue, 4 Nov 2008 12:57:30 +0000 +Checked in by : Robert Osfield +Fixed --images commandline parsing - * src/osg/Texture.cpp: 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. +Mon, 3 Nov 2008 16:55:06 +0000 +Checked in by : Robert Osfield +Added GPL copyright notice -2004-11-08 16:11 robert +Mon, 3 Nov 2008 16:31:44 +0000 +Checked in by : Robert Osfield +Added handling of texture matrices and texture rectangles in InteractiveImageHandler - * examples/osgarchive/osgarchive.cpp, include/osgDB/Registry, - src/osgDB/Archive.cpp, src/osgDB/Registry.cpp: Updates to - osgDB::Archive support, and refactoring of implementation of - reading files in Registry to faciliate the new archiving support. +Mon, 3 Nov 2008 15:58:02 +0000 +Checked in by : Robert Osfield +Refactored osgvnc example to utilise the new vnc plugin -2004-11-07 21:17 robert +Mon, 3 Nov 2008 15:57:21 +0000 +Checked in by : Robert Osfield +Added vnc plugin. - * include/osgDB/Archive, include/osgDB/ReaderWriter, - include/osgDB/Registry, src/osgDB/Archive.cpp, - src/osgDB/ReaderWriter.cpp, src/osgDB/Registry.cpp: Added support - for openArchive into osgDB +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. -2004-11-07 12:13 robert +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 - * examples/osgarchive/osgarchive.cpp, include/osgDB/Archive, - src/osgDB/Archive.cpp: Fixed insertion of files into an existing - archive -2004-11-06 21:21 robert - * examples/osghud/osghud.cpp, - examples/osgscalarbar/osgscalarbar.cpp: Removed un-needed - setCullActive(false) -2004-11-06 21:18 robert +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 - * examples/osgarchive/osgarchive.cpp, include/osgDB/Archive, - src/osgDB/Archive.cpp: Further work on osgDB::Archive +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. -2004-11-06 10:18 robert +Fri, 31 Oct 2008 16:48:19 +0000 +Checked in by : Robert Osfield +Wrapped up the various client streaming methods + thread into VncImage classes. - * src/osg/Transform.cpp: Made fix to the setReferenceFrame method - to properly disable culling - when reference frame is ABSOLUTE. +Fri, 31 Oct 2008 13:59:32 +0000 +Checked in by : Robert Osfield +Implemented keyboard and mouse dispatch from vnc client to vnc server. -2004-11-04 21:11 robert +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. - * examples/osghud/osghud.cpp: Disabled culling on the aboslute - transform to fix bug culling of hud. +Thu, 30 Oct 2008 13:05:08 +0000 +Checked in by : Robert Osfield +Removed renduent osgDB::Registry DatabasePager methods -2004-11-04 20:25 robert +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 - * include/osg/RefNodePath: Added a clear() into the RefNodePath - operator = (NodePath) method. +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)." -2004-11-04 15:32 robert +Wed, 29 Oct 2008 11:15:33 +0000 +Checked in by : Robert Osfield +Warning fixes - * VisualStudio/examples/osgvolume/osgvolume.dsp, - examples/osgarchive/osgarchive.cpp: From Morné Pistorius, fixes - for VisualStudio7.0 +Wed, 29 Oct 2008 11:09:08 +0000 +Checked in by : Robert Osfield +Added missing implementations -2004-11-02 21:04 robert +Wed, 29 Oct 2008 10:56:40 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and AUTHORS.txt for 2.7.4 release - * include/osgDB/Archive, src/osgDB/Archive.cpp: Improved handling - of uflow and underflow() in proxy_streambuf, and change - unsigned char* to char* to avoid stoooopid VS6.0 compile errors +Wed, 29 Oct 2008 10:38:55 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-11-02 17:05 robert +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 - * examples/osgarchive/osgarchive.cpp, include/osgDB/Archive, - src/osgDB/Archive.cpp: Added prelimanary prox stream buffer to - fake the ending of file. -2004-11-02 17:04 robert - * src/osgGA/NodeTrackerManipulator.cpp: Added debugging messages to - setTrackerNode -2004-11-02 14:05 robert +Wed, 29 Oct 2008 10:12:02 +0000 +Checked in by : Robert Osfield +From James Moliere, fixed display of axis - * src/osgTerrain/DataSet.cpp: Fixed missing write of image tiles. +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. -2004-11-02 11:10 robert - * examples/osgarchive/osgarchive.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.h, src/osgText/Font.cpp: - Removed the font cache from the FreeType plugin, moving the - support across to - osgDB::Registry. -2004-11-01 18:29 robert +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 - * doc/introduction.html: Removed referecence to the old c2 wiki. +Mon, 27 Oct 2008 17:42:04 +0000 +Checked in by : Robert Osfield +Added --help-env docs for OSG_MAX_PAGEDLOD -2004-11-01 16:16 robert +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. - * examples/osgplanets/osgplanets.cpp: Commented out settings of - TexEnvCombine alpha values +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. " -2004-11-01 16:14 robert +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. - * include/osg/Export, include/osg/Referenced, - src/osg/Referenced.cpp: From Tree chagenes required for Java - Wrappers +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. -2004-11-01 10:04 robert +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 ): - * src/osgPlugins/ive/DrawElementsUByte.cpp, - src/osgPlugins/ive/DrawElementsUInt.cpp, - src/osgPlugins/ive/DrawElementsUShort.cpp: Added handling of - endian in DrawElementsUShort/UInt implementations +Line 423 in file expPrimaryRecords.cpp has to be changed from -2004-10-29 18:24 robert +const ParentPools* pp = static_cast(proxy.getUserData() ); - * examples/osgplanets/osgplanets.cpp: Added useage of TexEnvCombine +to -2004-10-29 15:42 robert +const ParentPools* pp = dynamic_cast(proxy.getUserData() ); +" - * examples/osgplanets/osgplanets.cpp: Added multi-textured city - illumination -2004-10-28 22:29 don - * Make/temp, Make/tmp: Test done. +Mon, 27 Oct 2008 13:09:43 +0000 +Checked in by : Robert Osfield +Various warning fixes -2004-10-28 22:28 don +Mon, 27 Oct 2008 11:49:31 +0000 +Checked in by : Robert Osfield +Updated wrappers - * Make/tmp, Make/tmp/temp: Directory write test to new CVS +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." -2004-10-28 22:27 don +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: - * Make/temp: Silly little temporary file to test CVS writes to the - new server +"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." -2004-10-28 19:09 robert +And another post from Blasius on this topic: - * examples/osgplanets/osgplanets.cpp: Fixed support for - NodeTrackerManipulator. +"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. -2004-10-28 14:27 robert +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)) - * examples/osgarchive/osgarchive.cpp, include/osgDB/Archive: Added - support for listing contents of archive +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)) -2004-10-28 13:40 robert +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. - * src/osg/Matrixd.cpp: From Anders Backman, unit tests to test - matrix to quat compute. -2004-10-28 13:26 robert - * include/osg/Billboard, src/osg/Billboard.cpp: 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. + Why is the OT_LIBRARY_STATIC added to the config file? It is not needed anywhere. -2004-10-28 13:04 robert +OT_LIBRARY_STATIC is needed if you are doing static-builds on Windows. See my previous post on that. +" - * src/osgDB/Archive.cpp: Added return type to addFileReference(). -2004-10-28 13:02 robert - * src/osgDB/Archive.cpp: Added return value to getFileReferences() -2004-10-28 12:16 robert +Mon, 27 Oct 2008 10:40:13 +0000 +Checked in by : Robert Osfield +Fixed positioning of wings - * include/osgDB/Archive, src/osgDB/Archive.cpp, - src/osgPlugins/ive/ReaderWriterIVE.cpp: Updates to - osgDB::Archive, and IVE plugin to support usage via the Archive. +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." -2004-10-28 09:38 robert +Mon, 27 Oct 2008 09:44:49 +0000 +Checked in by : Robert Osfield +From Alberto Lucas, fixed typo - * examples/osgplanets/osgplanets.cpp: Updates for Rainer, and with - a few changes by 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. -2004-10-28 08:57 robert +Sun, 26 Oct 2008 22:21:09 +0000 +Checked in by : Robert Osfield +Improved the error reporting - * examples/osgdem/GNUmakefile, examples/osgdem/GNUmakefile.inst, - examples/osgdem/osgdem.cpp: Removed direct dependency on GDAL +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. -2004-10-28 07:00 robert +- 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. - * include/osgTerrain/DataSet, src/osgTerrain/DataSet.cpp: Removed - gdal_priv.h from include/osgTerrain/DataSet to remove the - external dependency on - GDAL. +- If VRML textures have names, the name is now copied to -2004-10-27 14:09 robert +-- - * include/osgDB/Archive, src/osgDB/Archive.cpp: Added IndexBlock - inner class to osgDB::Archive +Form Robert Osfild, changed SbString to std::string usage -2004-10-27 08:39 robert - * examples/osgscalarbar/osgscalarbar.cpp: Added setCullingActive - false to the absolute transform. +M Inventor/ConvertFromInventor.h +M Inventor/ConvertFromInventor.cpp -2004-10-26 18:36 robert - * examples/osgarchive/GNUmakefile, - examples/osgarchive/GNUmakefile.inst: Fixed make files. -2004-10-26 18:29 robert +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." - * include/osgDB/Archive, src/osgDB/Archive.cpp: Updates to - osgDB::Archive +Fri, 24 Oct 2008 10:02:13 +0000 +Checked in by : Robert Osfield +Fixed typo -2004-10-26 18:20 robert +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 - * examples/osgarchive/GNUmakefile, - examples/osgarchive/GNUmakefile.inst, - examples/osgarchive/osgarchive.cpp: Removed GDAL reference +Fri, 24 Oct 2008 09:49:55 +0000 +Checked in by : Robert Osfield +Changed timing stats to osg::INFO level -2004-10-26 18:11 robert +Fri, 24 Oct 2008 08:09:36 +0000 +Checked in by : Robert Osfield +Removed debugging test. - * src/osgUtil/SceneView.cpp: Removed the _initVisitor traversal for - update() to prevent OpenGL being called at the wrong time. +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. -2004-10-26 15:31 don - * src/osgPlugins/freetype/GNUmakefile: Removed link to X11 -2004-10-26 10:31 robert +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. - * examples/osgphotoalbum/ImageReaderWriter.h: Made the className() - const +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. -2004-10-26 10:27 robert +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. +" - * examples/osgarchive/osgarchive.cpp: Updates to the osgarchive - application -2004-10-26 10:26 robert - * include/osgDB/ReaderWriter, - src/osgPlugins/3dc/ReaderWriter3DC.cpp, - src/osgPlugins/Inventor/ReaderWriterIV.h, - src/osgPlugins/ac3d/ac3d.cpp, - src/osgPlugins/bmp/ReaderWriterBMP.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/directx/ReaderWriterDirectX.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/flt/ReaderWriterATTR.cpp, - src/osgPlugins/flt/ReaderWriterFLT.h, - src/osgPlugins/freetype/ReaderWriterFreeType.cpp, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/gif/ReaderWriterGIF.cpp, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/jp2/ReaderWriterJP2.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/lib3ds/ReaderWriter3DS.cpp, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/lws/ReaderWriterLWS.cpp, - src/osgPlugins/md2/ReaderWriterMD2.cpp, - src/osgPlugins/mpeg/ReaderWriterMPEG.cpp, - src/osgPlugins/net/ReaderWriterNET.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp, - src/osgPlugins/pfb/ReaderWriterPFB.cpp, - src/osgPlugins/pic/ReaderWriterPIC.cpp, - src/osgPlugins/png/ReaderWriterPNG.cpp, - src/osgPlugins/pnm/ReaderWriterPNM.cpp, - src/osgPlugins/quicktime/ReaderWriterQT.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp, - src/osgPlugins/rot/ReaderWriterROT.cpp, - src/osgPlugins/scale/ReaderWriterSCALE.cpp, - src/osgPlugins/tga/ReaderWriterTGA.cpp, - src/osgPlugins/tgz/ReaderWriterTGZ.cpp, - src/osgPlugins/tiff/ReaderWriterTIFF.cpp, - src/osgPlugins/trans/ReaderWriterTRANS.cpp, - src/osgPlugins/txp/ReaderWriterTXP.h, - src/osgPlugins/zip/ReaderWriterZIP.cpp: Made - ReaderWriter::className const - -2004-10-25 20:08 don - - * Make/dependencies: oops. Mistaken check-in of local dependencies - file - -2004-10-25 20:08 don - - * Make/makerules: Oops. mistaken check in of overly modified - makerules - -2004-10-25 20:04 don - - * Make/dependencies, Make/makedefs, Make/makerules: Small change by - Eric Sokolowsky to change TIFF_LIBS to TIFF_LIB for Mac build - -2004-10-25 19:16 robert - - * include/osg/ApplicationUsage, include/osgParticle/ParticleEffect, - include/osgTerrain/DataSet, src/osg/StateSet.cpp, - src/osg/Switch.cpp, src/osgDB/GNUmakefile: From Tree, fixes for - Java bindings - -2004-10-25 19:16 robert - - * Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgarchive, - VisualStudio/examples/osgarchive/osgarchive.dsp, - VisualStudio/osgDB/osgDB.dsp, examples/osgarchive, - examples/osgarchive/GNUmakefile, - examples/osgarchive/GNUmakefile.inst, - examples/osgarchive/osgarchive.cpp, include/osgDB/Archive, - src/osgDB/Archive.cpp: Added new osgDB::Archive class, and - osgarchive example. These are both - very early beginnings so do not function yet. - -2004-10-25 18:46 robert - - * examples/osgphotoalbum/PhotoArchive.cpp: Fixed typo. - -2004-10-25 18:23 robert - - * examples/osgplanets/osgplanets.cpp: From Rainer, updates to - osgplanet. - -2004-10-25 18:08 don - - * src/osgPlugins/net/ReaderWriterNET.cpp: Small warning fix by - Marco. - -2004-10-25 17:41 robert - - * include/osgGA/MatrixManipulator: Made getHomePosition const. - -2004-10-24 21:05 don - - * examples/osgfxbrowser/Frame.cpp, examples/osgfxbrowser/Frame.h, - examples/osgfxbrowser/osgfxbrowser.cpp: Namespaced Rect and Frame - to osgfxbrowser::Rect/Frame, as this was causing - a namespace collision with CGL - -2004-10-24 20:04 robert - - * examples/osgdistortion/osgdistortion.cpp, - examples/osgforest/osgforest.cpp, - examples/osgfxbrowser/osgfxbrowser.cpp, - examples/osghud/osghud.cpp, examples/osglauncher/osglauncher.cpp, - examples/osgparticle/osgparticle.cpp, - examples/osgphotoalbum/osgphotoalbum.cpp, - examples/osgpick/osgpick.cpp, - examples/osgscalarbar/osgscalarbar.cpp, - examples/osgtesselate/osgtesselate.cpp, - examples/osgtext/osgtext.cpp, - examples/osgtexturerectangle/osgtexturerectangle.cpp, - include/osg/LightSource, include/osg/Transform, - include/osgParticle/AccelOperator, - include/osgParticle/AngularAccelOperator, - include/osgParticle/ForceOperator, include/osgParticle/Operator, - include/osgParticle/ParticleProcessor, src/osg/AutoTransform.cpp, - src/osg/Group.cpp, src/osg/LightSource.cpp, - src/osg/MatrixTransform.cpp, - src/osg/PositionAttitudeTransform.cpp, src/osg/Transform.cpp, - src/osgParticle/FluidFrictionOperator.cpp, - src/osgParticle/ModularEmitter.cpp, - src/osgParticle/ParticleProcessor.cpp, - src/osgPlugins/osg/LightSource.cpp, - src/osgPlugins/osg/Transform.cpp, - src/osgPlugins/osgParticle/IO_ParticleProcessor.cpp, - src/osgProducer/Viewer.cpp, src/osgSim/DOFTransform.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/Optimizer.cpp: Changed - ABSOLUTE and RELATIVE to ABSOLUTE_RF and RELATIVE_RF to avoid - stooppid Win32 #define - -2004-10-24 17:50 robert - - * src/osgPlugins/flt/AttrData.h, - src/osgPlugins/flt/LocalVertexPoolRecord.cpp, - src/osgPlugins/flt/ReaderWriterATTR.cpp, - src/osgPlugins/flt/flt.cpp, src/osgPlugins/flt/flt.h: From Fred - Mammond, fixes for x86_64 build +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." -2004-10-24 14:42 robert - - * include/osgUtil/TangentSpaceGenerator, - include/osgUtil/TransformAttributeFunctor, - include/osgUtil/TriStripVisitor, include/osgUtil/UpdateVisitor, - include/osgUtil/Version: From Geoff Michel, speeling and typo - fixes in osgUtil - -2004-10-24 14:31 robert - - * src/osgPlugins/ive/DrawArrayLengths.cpp, - src/osgPlugins/ive/DrawArrays.cpp: fixes to tabs - -2004-10-24 14:31 robert - - * src/osgPlugins/ive/DrawElementsUByte.cpp, - src/osgPlugins/ive/DrawElementsUInt.cpp, - src/osgPlugins/ive/DrawElementsUShort.cpp: From Pavel Moloshtan, - speed improvments in reading and writing index arrays - -2004-10-24 14:24 robert - - * include/osgDB/Archive, include/osgDB/ReaderWriter: Added - osgDB::Archive - -2004-10-24 14:23 robert - - * examples/osgplanets/osgplanets.cpp: From Rainer Oder, updates to - osgplanets - -2004-10-24 14:19 robert - - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Eric Sokolowsky, - support for 2 channel tiff images - -2004-10-24 13:51 robert - - * include/osg/Node, include/osg/NodeVisitor, src/osg/Group.cpp, - src/osg/Node.cpp: Added s/getEventCallback support into - osg::Node, and an EVENT_VISITOR - type into NodeVisitor. - -2004-10-24 06:12 don - - * Make/makedirdefs: don - Comment in makedirdefs was causing Mac - build to stop short of - building all plugins - -2004-10-24 05:50 don - - * Make/makedefs, src/osgPlugins/freetype/GNUmakefile, - src/osgProducer/OsgSceneHandler.cpp: don - Small changes to - support Mac OSX CGL build - small unused variable warning fix. - -2004-10-22 21:01 don - - * src/osgPlugins/net/ReaderWriterNET.cpp: Added default: case for - both switch() statements - -2004-10-22 19:26 robert - - * examples/osgdistortion/osgdistortion.cpp, - examples/osgforest/osgforest.cpp, - examples/osgfxbrowser/osgfxbrowser.cpp, - examples/osghud/osghud.cpp, examples/osglauncher/osglauncher.cpp, - examples/osgparticle/osgparticle.cpp, - examples/osgphotoalbum/osgphotoalbum.cpp, - examples/osgpick/osgpick.cpp, - examples/osgscalarbar/osgscalarbar.cpp, - examples/osgtesselate/osgtesselate.cpp, - examples/osgtext/osgtext.cpp, - examples/osgtexturerectangle/osgtexturerectangle.cpp, - include/osg/LightSource, include/osg/Transform, - include/osgParticle/AccelOperator, - include/osgParticle/AngularAccelOperator, - include/osgParticle/ForceOperator, include/osgParticle/Operator, - include/osgParticle/ParticleProcessor, src/osg/AutoTransform.cpp, - src/osg/Group.cpp, src/osg/LightSource.cpp, - src/osg/MatrixTransform.cpp, - src/osg/PositionAttitudeTransform.cpp, src/osg/Transform.cpp, - src/osgParticle/FluidFrictionOperator.cpp, - src/osgParticle/ModularEmitter.cpp, - src/osgParticle/ParticleProcessor.cpp, - src/osgPlugins/net/ReaderWriterNET.cpp, - src/osgPlugins/osg/LightSource.cpp, - src/osgPlugins/osg/Transform.cpp, - src/osgPlugins/osgParticle/IO_ParticleProcessor.cpp, - src/osgProducer/Viewer.cpp, src/osgSim/DOFTransform.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/Optimizer.cpp: Changed - the ReferenceFrame enums to be RELEATIVE and ABSOLUTE, and - deprecated the RELATIVE_TO_ABSOLUTE and RELATIVE_TO_PARENTS. +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." -2004-10-22 18:47 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. " - * examples/osgplanets/osgplanets.cpp: Compile fixes +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. -2004-10-22 16:39 robert +Tue, 21 Oct 2008 09:50:07 +0000 +Checked in by : Robert Osfield +Updated wrappers - * Make/makedirdefs, examples/osgplanets, - examples/osgplanets/GNUmakefile, - examples/osgplanets/GNUmakefile.inst, - examples/osgplanets/osgplanets.cpp: Added Rainer's initial - osgplanets example. +Mon, 20 Oct 2008 16:24:57 +0000 +Checked in by : Robert Osfield +Introduce osgDB::FileCache, and updated osgfilecache and DatabasePager to use it. -2004-10-21 09:36 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. - * include/osg/ClusterCullingCallback, - src/osg/ClusterCullingCallback.cpp, - src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/Node.cpp, - src/osgTerrain/DataSet.cpp: 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. +Fri, 17 Oct 2008 09:16:02 +0000 +Checked in by : Robert Osfield +From Paul Melis, fixed typo -2004-10-21 09:33 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 ); +///////////////////////////////////////" - * Make/makedirdefs: Checked in commented out gz plugin, will - comment back in later once it - is fully checked in -2004-10-19 13:52 robert - * examples/osgcluster/osgcluster.cpp: 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. +Tue, 14 Oct 2008 17:20:58 +0000 +Checked in by : Robert Osfield +Changed erroneous ZLIB_INCLUDE_DIRS to ZLIB_INCLUDE_DIR -2004-10-19 09:29 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. - * include/osgUtil/GLObjectsVisitor, - src/osgUtil/GLObjectsVisitor.cpp: From Alan Purvis, with enum - name tweaks from Robert Osfield. Addition of - support for turing on/off the usage of vertex buffer objects. +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. -2004-10-18 18:59 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." - * include/osg/Timer, src/osg/Timer.cpp: From Frank Lichtenheld, - compile fix to Linux powerpc build. -2004-10-18 18:56 robert - * include/osgProducer/OsgCameraGroup, - src/osgProducer/OsgCameraGroup.cpp: Fixed - OsgCameraGroup::setLODScale so that it now uses the local - CullSettings - objects. +Tue, 14 Oct 2008 16:44:14 +0000 +Checked in by : Robert Osfield +Converted M_PI* usage across to osg::PI -2004-10-18 18:36 robert +Tue, 14 Oct 2008 16:35:03 +0000 +Checked in by : Robert Osfield +From Ricard Schmidt, dot writer plugin. - * include/osg/Vec3d, include/osg/Vec3f: From Bob Kuehne, addition - of Vec3f(Vec2f,float) and Vec3d(Vec2d,double) - constructors. +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." -2004-10-18 18:31 robert +Tue, 14 Oct 2008 15:10:10 +0000 +Checked in by : Robert Osfield +Removed geomoflife_frag.cpp experiement from CMakeList.txt file - * src/osg/Texture2D.cpp: Added support for hardware generated - mipmaps into Textre2D::copy*() methods. +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 -2004-10-18 14:51 robert +Tue, 14 Oct 2008 14:37:11 +0000 +Checked in by : Robert Osfield +Added zlib support to curl and ive plugins - * src/osgPlugins/lws/SceneLoader.cpp, - src/osgPlugins/lws/SceneLoader.h: 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")." +Tue, 14 Oct 2008 14:36:24 +0000 +Checked in by : Robert Osfield +Added debug timing code -2004-10-18 14:46 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. - * src/osg/Image.cpp: From Yuzhong Shen, fix to the image dimensions - passed to allocImage in Image::copySubImage +Tue, 14 Oct 2008 14:25:54 +0000 +Checked in by : Robert Osfield +UPdated version numbers -2004-10-18 14:42 robert +Fri, 10 Oct 2008 12:01:54 +0000 +Checked in by : Robert Osfield +Moved compress/uncompress code across to using gzip compatible methods - * VisualStudio/osgPlugins/osg/dot_osg.dsp, - src/osgPlugins/osg/GNUmakefile, - src/osgPlugins/osg/TexEnvFilter.cpp: From Sohey Yamamoto, - addition of TexEnvFilter support. +Thu, 9 Oct 2008 18:46:49 +0000 +Checked in by : Robert Osfield +Added initial cut of gz compress/uncompress plugin -2004-10-17 06:14 don +Thu, 9 Oct 2008 17:02:16 +0000 +Checked in by : Robert Osfield +Initial cut of zlib based compress/uncompress plugin - * examples/osgvolume/osgvolume.cpp: Fix for minor compile error - (internal error) for VS7. +Thu, 9 Oct 2008 13:16:49 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode-project, added osgVolume-lib -2004-10-15 20:13 don +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 - * src/osgPlugins/osgSim/IO_DOFTransform.cpp: Fixed small typo. +Wed, 8 Oct 2008 13:19:16 +0000 +Checked in by : Robert Osfield +Updated date -2004-10-15 10:35 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 - * include/osg/StateAttribute: Added osgNV enum Types +Wed, 8 Oct 2008 12:54:45 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-10-15 09:53 robert +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 - * examples/osgsimulation/osgsimulation.cpp: Changed fstream to - ifstream +Wed, 8 Oct 2008 11:30:18 +0000 +Checked in by : Robert Osfield +Added Texture1D(Image*) and Texture3D(Image*) constructors -2004-10-15 09:10 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. - * include/osgGA/NodeTrackerManipulator: Added docs +Wed, 8 Oct 2008 10:10:34 +0000 +Checked in by : Robert Osfield +From Mathias Froehlich, fixes for HP-UX, SGI and Solaris build -2004-10-14 20:35 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 - * include/osgGA/NodeTrackerManipulator, - src/osgGA/NodeTrackerManipulator.cpp: Updates to - NodeTrackerManipulator.cpp +Tue, 7 Oct 2008 15:58:07 +0000 +Checked in by : Robert Osfield +Made line graph solid (alpha = 1.0) -2004-10-14 12:10 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. - * src/osgGA/NodeTrackerManipulator.cpp: Fixed the home position. +Tue, 7 Oct 2008 15:21:12 +0000 +Checked in by : Robert Osfield +Added osgText to link line -2004-10-14 10:38 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. - * examples/osgsimulation/osgsimulation.cpp, - include/osgGA/NodeTrackerManipulator, - src/osgGA/NodeTrackerManipulator.cpp: Improvements to the - NodeTrackManipulator and osgsimulation example +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. " -2004-10-13 19:52 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. - * VisualStudio/osg/osg.dsp, include/osg/StateAttribute, - include/osg/TexEnvFilter, src/osg/GNUmakefile, - src/osg/TexEnvFilter.cpp, src/osgGA/StateSetManipulator.cpp: From - Sohey Yamamoto, added support for - GL_TEXTURE_FILTER_CONTROL/GL_TEXTURE_LOD_BIAS. +Tue, 7 Oct 2008 14:25:09 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-10-13 19:10 robert +Tue, 7 Oct 2008 14:19:28 +0000 +Checked in by : Robert Osfield +Replaced IntersectVisitor usage with IntersectionVisitor - * src/osgProducer/ViewerEventHandler.cpp: From David Spilling, with - small format and variable rename by Robert Osfield. +Tue, 7 Oct 2008 14:01:14 +0000 +Checked in by : Robert Osfield +Replaced usage of depreacted IntersectVisitor with IntersectionVisitor -2004-10-13 14:13 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. - * src/osgPlugins/ive/PagedLOD.cpp, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/net/ReaderWriterNET.cpp, - src/osgPlugins/osg/PagedLOD.cpp, - src/osgPlugins/osg/ReaderWriterOSG.cpp: Added population and - access of the ReaderWriter::Options::s/getDatabasePath() - to enable paged database to accessed without setting file paths - explictly +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!). -2004-10-13 13:40 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: - * src/osgGA/NodeTrackerManipulator.cpp: Small tweaks to the - calculateMovement method. +* 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) -2004-10-13 13:39 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. - * examples/osgsimulation/osgsimulation.cpp: Increased the size of - the inserted model so that it can be seen more easily, +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. -2004-10-13 11:56 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." - * src/osgGA/NodeTrackerManipulator.cpp: Fixed precision of center - computation. -2004-10-13 11:15 robert - * include/osg/ClipPlane, include/osg/Light, include/osg/State, - include/osg/StateAttribute, include/osg/StateSet, - src/osg/State.cpp, src/osg/StateSet.cpp: 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. +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. " -2004-10-12 09:54 robert +Tue, 7 Oct 2008 12:31:42 +0000 +Checked in by : Robert Osfield +From Mathias Froehlich, build fixes - * include/osg/CullSettings, src/osg/CullSettings.cpp, - src/osgProducer/OsgCameraGroup.cpp, src/osgUtil/SceneView.cpp: - Added CullingSettngs::s/getInheritanceMask() and - inheritCullSettings(,) method. +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. -2004-10-12 09:00 robert +Mon, 6 Oct 2008 17:15:16 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/flt/GeoSetBuilder.cpp: Added a direct call to the - osgUtil::Optimizer in GeoSetBuilder.cpp so that - the resultant geomety would be more efficiently packed. +Mon, 6 Oct 2008 17:03:32 +0000 +Checked in by : Robert Osfield +Improved the ImageSequence::setLength() settting. -2004-10-12 07:54 robert +Mon, 6 Oct 2008 17:02:56 +0000 +Checked in by : Robert Osfield +Updated to reflect changes in NodeVistor::ImageRequestHandler. - * src/osgPlugins/flt/flt2osg.cpp: From Sondra Iverson, with mods by - Robert Osfield. Support for copying texenv - from the source StateSet when multi-texturing. +Mon, 6 Oct 2008 17:02:20 +0000 +Checked in by : Robert Osfield +Refactored ImageSequence to provided a cleaner and more robust implementation -2004-10-10 18:18 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 - * include/osgText/Text: Fixed copy and past erro in getFontWidth. +Mon, 6 Oct 2008 14:15:27 +0000 +Checked in by : Robert Osfield +Ran dos2unix -2004-10-09 15:00 don +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. " - * src/osgDB/FileUtils.cpp: Added fix for MAC for FileUtils.cpp: - stat64 is not present on Mac. +Mon, 6 Oct 2008 08:58:50 +0000 +Checked in by : Robert Osfield +Converted tabs to four spaces -2004-10-08 09:18 robert +Mon, 6 Oct 2008 08:53:54 +0000 +Checked in by : Robert Osfield +Ran dos2unix on headers - * include/osg/PointSprite, include/osg/StateAttribute, - include/osgFX/Validator, src/osgFX/AnisotropicLighting.cpp, - src/osgFX/BumpMapping.cpp: Changed StaetAttribute::Type so it is - an enum list rather than a unsigned int. +Mon, 6 Oct 2008 08:53:25 +0000 +Checked in by : Robert Osfield +Ran dos2unix on new shadow implemenations -2004-10-07 10:03 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()." - * VisualStudio/osgPlugins/flt/flt.dsp, - src/osgPlugins/flt/ExternalRecord.cpp, - src/osgPlugins/flt/ExternalRecord.h, - src/osgPlugins/flt/FindExternalModelVisitor.cpp, - src/osgPlugins/flt/FindExternalModelVisitor.h, - src/osgPlugins/flt/FltFile.cpp, src/osgPlugins/flt/GNUmakefile, - src/osgPlugins/flt/flt2osg.cpp: 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, 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 -2004-10-07 09:40 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 - * include/osg/AutoTransform, include/osg/Export, - include/osg/StateSet, src/osg/ClipNode.cpp, - src/osg/LightSource.cpp, src/osg/State.cpp, src/osg/StateSet.cpp, - src/osgPlugins/Inventor/ConvertFromInventor.cpp: Added new clear, - removeAttribute, removeMode, removeTextureAttribute and - removeTextureMode method and deprecated the setToInherit - equivilants. +Fri, 3 Oct 2008 15:15:33 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-10-06 20:32 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. - * src/osg/Geometry.cpp, src/osgPlugins/flt/GeoSetBuilder.cpp: - 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. +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. -2004-10-06 19:19 robert - * src/osgPlugins/flt/GeoSetBuilder.cpp, - src/osgPlugins/flt/GeoSetBuilder.h, - src/osgPlugins/flt/flt2osg.cpp: From Jason Daly, fix to - multi-texturing/detail texture handling. -2004-10-06 15:15 robert - * src/osgDB/Registry.cpp: Added support for http reading into the - readObject, readImage and readHeightField methods - complimenting the previously checked in readNode supoort. +Fri, 3 Oct 2008 13:38:55 +0000 +Checked in by : Robert Osfield +Compile fix required when using ref_ptr<> implicit output conversion -2004-10-06 14:44 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. - * src/osgPlugins/net/ReaderWriterNET.cpp: Generalised the .net - plugin so it could handle object, image, heightfield and node - file reads. +Fri, 3 Oct 2008 11:04:23 +0000 +Checked in by : Robert Osfield +From Bryan Thrall, fixed typos in exception strings. -2004-10-06 13:11 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" - * include/osgDB/FileNameUtils, src/osgDB/FileNameUtils.cpp, - src/osgDB/Registry.cpp: Added support for parsing http:// names - and mapping automatically to use - the .net plugin +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. -2004-10-06 13:10 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. - * src/osgPlugins/net/ReaderWriterNET.cpp: Added passing on of - Options object +I have made the change using the latest release version (2.6) as the base. The full file is attached. -2004-10-06 13:09 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." - * src/osgPlugins/obj/ReaderWriterOBJ.cpp: Added support for - readNode(istream,Options*) into OBJ to allow loading - over the internet -2004-10-06 12:02 robert - * include/osg/Texture: Replaced #ifndef GL_TEXTURE_3D by - GL_TEXTRE_BINDING_3D as the former was a copy - and paste error. +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: -2004-10-06 09:31 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. - * include/osg/PagedLOD, include/osgDB/Input, - include/osgDB/ReaderWriter, src/osg/PagedLOD.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/osg/ReaderWriterOSG.cpp: 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 + 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. -2004-10-05 19:12 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. - * examples/osgsimulation/osgsimulation.cpp, - include/osgProducer/OsgCameraGroup, - src/osgProducer/OsgCameraGroup.cpp: Added s/getCullSettings to - OsgCameraGroup + 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. -2004-10-05 15:08 robert +" - * examples/osgsimulation/osgsimulation.cpp, - include/osgTerrain/DataSet, src/osgTerrain/DataSet.cpp: 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 - * include/osgProducer/Viewer, - include/osgProducer/ViewerEventHandler, - src/osgProducer/Viewer.cpp, - src/osgProducer/ViewerEventHandler.cpp: Added support to - osgProducer::Viewer for forcing an early exit form applications - and recording an image on exit. +Fri, 3 Oct 2008 09:19:53 +0000 +Checked in by : Robert Osfield +From Stephan Huber, removed now redundent setEventQueue method -2004-10-05 07:08 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."" - * src/osgDB/FileUtils.cpp: Changed _stat64 to _stati64 -2004-10-04 14:21 robert - * examples/osgsimplepager/osgsimplepager.cpp: Moved the SceneView - to local to the contruction/destruction of the RenderSurface +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." -2004-10-03 19:49 robert - * src/osgDB/FileUtils.cpp: Checked in #define mapping of stat64 to - _stat64 to fix Windows build -2004-10-03 08:50 robert +Fri, 3 Oct 2008 08:33:17 +0000 +Checked in by : Robert Osfield +Added missing dirtyBound() calls - * src/osgDB/FileUtils.cpp: Solution of fileExists support for > 2Gb - files from Ken Sewell, applied by Robert Osfield. +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 -2004-10-03 08:36 robert +Mon, 29 Sep 2008 18:30:17 +0000 +Checked in by : Robert Osfield +Updated shaders - * src/osgUtil/RenderStageLighting.cpp: Added missing - _texAttrListMap.clear(); into reset() +Mon, 29 Sep 2008 17:00:38 +0000 +Checked in by : Robert Osfield +Improved the dicom plugins handling of different slice positions -2004-10-01 23:18 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 - * examples/osgspotlight, examples/osgspotlight/GNUmakefile, - examples/osgspotlight/GNUmakefile.inst, - examples/osgspotlight/osgspotlight.cpp: Added new osgspotlight - demo +Mon, 29 Sep 2008 11:00:42 +0000 +Checked in by : Robert Osfield +From Mathieu Marache, support for CDash -2004-10-01 22:05 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 - * Make/makedirdefs, include/osg/NodeCallback, src/osg/Node.cpp: - From Lewis Harmon, fixes to the Node and NodeCallback - constructors. +A quick review of the code revealed a piece of code that was clearly wrong, possibly due to a copy-and-paste error. -2004-10-01 18:32 robert + " - * src/osg/ArgumentParser.cpp: Changed the argument parser to accept - strings that start with a - as being - valid strings. -2004-10-01 15:49 robert - * Make/makedirdefs, examples/osglauncher, - examples/osglauncher/GNUmakefile, - examples/osglauncher/GNUmakefile.inst, - examples/osglauncher/osglauncher.cpp: From Rainer Oder, new - osglauncher application. +Mon, 29 Sep 2008 10:56:42 +0000 +Checked in by : Robert Osfield +Added support for using ImageSequence to animate volumes -2004-10-01 15:48 robert +Sun, 28 Sep 2008 15:16:13 +0000 +Checked in by : Robert Osfield +Improved the isosurface shaders, and mde GLSL usage the default - * src/osg/TexGen.cpp: Added setPlanesFromMatrix method +Fri, 26 Sep 2008 15:47:31 +0000 +Checked in by : Robert Osfield +Improved GLSL isosurface support when using a transfer function -2004-10-01 15:48 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. - * include/osg/TexGen: Added new setPlanesFromMatrix method +Fri, 26 Sep 2008 13:51:49 +0000 +Checked in by : Robert Osfield +Added docs for read-threads command line options -2004-10-01 15:47 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 - * examples/osgshadowtexture/CreateShadowedScene.cpp: Updated to use - new TexGen method +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 -2004-10-01 09:40 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 ..." - * include/osgDB/SharedStateManager: From Tree, moved apply's from - protected to public to support Java wrappers +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." -2004-10-01 09:38 robert - * include/osg/Texture: Added define of GL_TEXTURE_BINDING_3D for - systems with OpenGL1.2 compliant - headers -2004-10-01 09:19 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." - * runexamples.bat: From Marco Jez, added more examples to - runexamples.bat +Thu, 25 Sep 2008 15:20:20 +0000 +Checked in by : Robert Osfield +From Mathieu Marache, added support for CDash -2004-10-01 07:39 robert +Thu, 25 Sep 2008 15:19:42 +0000 +Checked in by : Robert Osfield +Removed unused methods - * src/osgPlugins/osg/ReaderWriterOSG.cpp: Added support for write - to ostream into .osg plugin +Thu, 25 Sep 2008 15:04:05 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-09-30 19:36 robert +Thu, 25 Sep 2008 14:41:27 +0000 +Checked in by : Robert Osfield +Added osg2cpp example into build - * include/osgProducer/OsgSceneHandler, - src/osgProducer/OsgCameraGroup.cpp, - src/osgProducer/OsgSceneHandler.cpp: Experimentation with new - timing code. +Thu, 25 Sep 2008 14:41:06 +0000 +Checked in by : Robert Osfield +Added convinience methods for parse shader source files -2004-09-30 14:54 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. - * src/osgUtil/GLObjectsVisitor.cpp: Removed debugging messages +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 -2004-09-30 13:36 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 - * examples/osgsimplepager/osgsimplepager.cpp: Checked in support - for cleaning up and then restart a new graphics windows - once the first one has been closed down. +Wed, 24 Sep 2008 16:03:47 +0000 +Checked in by : Robert Osfield +From Jean-Sebastian Guay, fixed windows build -2004-09-30 12:10 robert +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 - * src/osg/Texture.cpp: Fixed newly introduced compressed mipmnap - error. +Wed, 24 Sep 2008 15:59:55 +0000 +Checked in by : Robert Osfield +Added 3gp extension alias for quicktime -2004-09-30 09:10 robert +Wed, 24 Sep 2008 10:45:15 +0000 +Checked in by : Robert Osfield +Added shader based transfer function, enabled via --gpu-tf - * examples/osgconv/osgconv.cpp, include/osg/Texture, - include/osg/Texture3D, src/osg/Image.cpp, src/osg/Texture.cpp, - src/osg/Texture3D.cpp: Added proper handling of 3d texture - compression +Wed, 24 Sep 2008 10:20:23 +0000 +Checked in by : Robert Osfield +Fixed transfer function parsing -2004-09-29 19:10 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 - * VisualStudio/osgPlugins/ive/ive.dsp, include/osg/ClipNode, - src/osgPlugins/ive/ClipNode.cpp, src/osgPlugins/ive/ClipNode.h, - src/osgPlugins/ive/ClipPlane.cpp, src/osgPlugins/ive/ClipPlane.h, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/ive/IveVersion.h, - src/osgPlugins/ive/ReadWrite.h, src/osgPlugins/ive/StateSet.cpp, - src/osgPlugins/ive/TexGen.cpp, src/osgPlugins/ive/TexGenNode.cpp, - src/osgPlugins/ive/TexGenNode.h: Added support for ClipPlane, - ClipNode, TexGenNode to .ive +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. -2004-09-29 15:00 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 - * VisualStudio/osgPlugins/ive/ive.dsp: Added Texture3D reference +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). -2004-09-29 14:31 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 - * src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/ive/Texture3D.cpp, - src/osgPlugins/ive/Texture3D.h: Added Texture3D implementation. +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 -2004-09-29 10:01 robert +Mon, 22 Sep 2008 16:17:28 +0000 +Checked in by : Robert Osfield +Fixed typo - * examples/osgvolume/osgvolume.cpp, include/osg/Texture3D, - src/osg/Image.cpp, src/osg/Texture.cpp, src/osg/Texture2D.cpp, - src/osg/Texture3D.cpp: Preliminary steps to support for - compressed 3D textures. +Mon, 22 Sep 2008 15:56:22 +0000 +Checked in by : Robert Osfield +Added stats handler -2004-09-29 08:07 robert +Mon, 22 Sep 2008 15:01:25 +0000 +Checked in by : Robert Osfield +From Ulrich Hertlein, fixes for OSX build - * VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgsimulation/osgsimulation.dsp: Added - extra dependencies to osgsimulation example +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 -2004-09-29 08:04 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 - * VisualStudio/osgPlugins/net/net.dsp: Removed makeDir referecnes +Mon, 22 Sep 2008 14:46:54 +0000 +Checked in by : Robert Osfield +Added getExtensionIncludingDot to provide more efficient handling of extensions -2004-09-28 09:14 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 - * include/osg/ArgumentParser, include/osg/ClusterCullingCallback, - include/osg/Drawable, include/osg/Endian, include/osg/Geometry, - include/osg/NodeCallback, include/osg/PagedLOD, - include/osg/PointSprite, include/osg/PositionAttitudeTransform, - include/osg/PrimitiveSet, include/osg/Shape, - include/osg/TriangleIndexFunctor, include/osg/Version, - include/osgDB/DynamicLibrary, include/osgDB/Version, - include/osgGA/GUIEventHandler, include/osgGL2/UniformValue, - include/osgSim/LightPointSystem, include/osgSim/Sector, - include/osgSim/SphereSegment, include/osgSim/VisibilityGroup, - include/osgText/Font, include/osgUtil/Simplifier: From Tree, - changes to better support Java binding generation +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. -2004-09-28 08:39 robert +Sun, 21 Sep 2008 11:12:31 +0000 +Checked in by : Robert Osfield +Added Volume wrappers, and updated terrain wrappers - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Added a - mutex and _numFramesActive count to track multiview usages of - the DatabasePager. +Sun, 21 Sep 2008 11:05:03 +0000 +Checked in by : Robert Osfield +Create initial class placeholders for main volume rendering classes -2004-09-28 07:15 robert +Sat, 20 Sep 2008 15:43:38 +0000 +Checked in by : Robert Osfield +Change TileID::layer to TileID::level - * src/osg/BoundingSphere.cpp: From Brad Christiansen, fix - expandBy(const BoundingSphere&) method to properly - handle the instance of when the two bounding sphere's have a - coincident center. +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 -2004-09-27 14:15 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. - * include/osg/Referenced, src/osg/Referenced.cpp: 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(); +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." -2004-09-27 12:07 robert - * src/osg/Version.cpp, src/osgDB/Version.cpp, - src/osgGA/Version.cpp, src/osgGL2/Version.cpp, - src/osgParticle/Version.cpp, src/osgProducer/Version.cpp, - src/osgProducer/Viewer.cpp, src/osgSim/Version.cpp, - src/osgTerrain/Version.cpp, src/osgText/Version.cpp, - src/osgUtil/Version.cpp: Changed the version strings to use - OpenSceneGaph rather than "Open Scene Graph" - -2004-09-27 10:42 robert - - * src/osgDB/DatabasePager.cpp: Changed the pruning of database - requests so that the frame number need - not be identical to pass, a delta of 1 is now pemssible -2004-09-26 19:01 robert +Fri, 19 Sep 2008 19:51:57 +0000 +Checked in by : Robert Osfield +Added wrapper support for new osgShadow classes - * src/osgPlugins/ive/DrawElementsUByte.cpp, - src/osgPlugins/ive/DrawElementsUInt.cpp, - src/osgPlugins/ive/DrawElementsUShort.cpp: Removed erroneous - casts that would have been causing uneccessary copying. +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. -2004-09-26 18:39 robert +Thu, 18 Sep 2008 16:48:21 +0000 +Checked in by : Robert Osfield +Updated ChangeLog - * include/osgUtil/CubeMapGenerator, include/osgUtil/CullVisitor, - include/osgUtil/DelaunayTriangulator, - include/osgUtil/DisplayRequirementsVisitor, - include/osgUtil/Export, include/osgUtil/GLObjectsVisitor, - include/osgUtil/HalfWayMapGenerator, - include/osgUtil/HighlightMapGenerator, - include/osgUtil/InsertImpostorsVisitor, - include/osgUtil/IntersectVisitor, include/osgUtil/Optimizer, - include/osgUtil/ReflectionMapGenerator, - include/osgUtil/RenderBin, include/osgUtil/RenderGraph, - include/osgUtil/RenderLeaf, include/osgUtil/RenderStage, - include/osgUtil/RenderStageLighting, include/osgUtil/SceneView, - include/osgUtil/TangentSpaceGenerator, - include/osgUtil/TriStripVisitor, include/osgUtil/UpdateVisitor, - src/osgUtil/Optimizer.cpp, src/osgUtil/RenderBin.cpp: From Geoff - Michel, typos and spelling fixes. +Thu, 18 Sep 2008 16:03:34 +0000 +Checked in by : Robert Osfield +Added Serializer wrappers -2004-09-26 10:27 robert +Thu, 18 Sep 2008 15:50:22 +0000 +Checked in by : Robert Osfield +Moved Serializer header from VPB into osgDB. - * examples/osgshaders/GL2Scene.cpp: From Mike Weiblen, partial fix - for OpenGL error generation under NVidia drivers. +Thu, 18 Sep 2008 15:44:21 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-09-23 20:13 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. - * include/osgDB/DatabasePager: Fixed typo +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." -2004-09-23 20:07 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." - * include/osgUtil/SceneView: Fixed typo. +Thu, 18 Sep 2008 13:54:22 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-09-23 20:01 robert +Thu, 18 Sep 2008 13:54:13 +0000 +Checked in by : Robert Osfield +From Alan Dickinson, change methods to virtual. - * include/osgUtil/SceneView, src/osgUtil/GLObjectsVisitor.cpp, - src/osgUtil/SceneView.cpp: Added releaseAllGLObjects() - convinience method. +Thu, 18 Sep 2008 13:18:12 +0000 +Checked in by : Robert Osfield +From John Argentieri, added missing _stripTextureFilePath( false ) initializer. -2004-09-23 18:50 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 - * include/osgDB/DatabasePager, include/osgProducer/OsgSceneHandler, - src/osg/Texture.cpp, src/osgDB/DatabasePager.cpp, - src/osgProducer/OsgSceneHandler.cpp, src/osgProducer/Viewer.cpp: - Clean up of new DatabasePager code, and change of osgProducer so - that - DatabasePager support is now integrated into the OsgSceneHandler. +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); -2004-09-23 16:05 don +_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); - * src/osgPlugins/net/sockinet.cpp, - src/osgPlugins/net/sockstream.cpp, - src/osgPlugins/net/sockstream.h: Fixed warnings +_camera->setViewMatrixAsLookAt(position,position+lightDir,osg::Vec3(0.0f,1.0f,0.0f)); + } -2004-09-23 12:27 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. +" - * src/osg/Drawable.cpp, src/osg/Geometry.cpp, - src/osgDB/DatabasePager.cpp, src/osgProducer/Viewer.cpp: Updates - for better DatabasePager peformance w.r.t constant frame rates. -2004-09-22 09:28 robert - * src/osgDB/DatabasePager.cpp: Added a extra debugging comment -2004-09-21 21:33 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 +> +> - * examples/osgsimplepager/osgsimplepager.cpp, - examples/osgsimulation/osgsimulation.cpp, include/osg/Drawable, - include/osg/StateAttribute, include/osg/Texture, - include/osgDB/DatabasePager, include/osgUtil/SceneView, - src/osg/Drawable.cpp, src/osg/FragmentProgram.cpp, - src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2D.cpp, src/osg/Texture3D.cpp, - src/osg/TextureCubeMap.cpp, src/osg/TextureRectangle.cpp, - src/osg/VertexProgram.cpp, src/osgDB/DatabasePager.cpp, - src/osgGL2/ProgramObject.cpp, src/osgProducer/Viewer.cpp, - src/osgText/Font.cpp, src/osgUtil/SceneView.cpp: Updated to - DatabasePager support -2004-09-21 17:26 robert - * include/osg/Drawable, include/osg/Geometry, include/osg/Group, - include/osg/PagedLOD, include/osg/PrimitiveSet, - include/osg/Texture, include/osgDB/DatabasePager, - src/osg/Drawable.cpp, src/osg/Geometry.cpp, src/osg/PagedLOD.cpp, - src/osg/PrimitiveSet.cpp, src/osg/Texture.cpp, - src/osgDB/DatabasePager.cpp, src/osgProducer/Viewer.cpp: Various - improvements to database paing. -2004-09-20 17:42 don - * src/osgPlugins/net/makeDir.h: removed makeDir.h +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 -2004-09-20 17:42 don +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 ..." - * src/osgPlugins/net/GNUmakefile, - src/osgPlugins/net/ReaderWriterNET.cpp, - src/osgPlugins/net/makeDir.cpp: Removed temporary makeDir files - and call in ReaderWriterNet.cpp +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. " -2004-09-19 20:09 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 - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Added - clear(), setDatabasePagerThreadPause() and - setAcceptNewDatabaseRequests() methods - and new local implementation of cancel(). -2004-09-19 19:03 robert - * src/osgProducer/Viewer.cpp: Removed unused variable. +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. -2004-09-19 18:34 robert - * src/osgDB/GNUmakefile: Added reference to GL_LIBS -2004-09-18 19:28 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 " - * include/osg/StateAttribute, include/osgDB/DatabasePager, - src/osgDB/DatabasePager.cpp: Various improvements to the - DatabasePager with the aim to achieve - constant framerates and minimizing memory consumption. +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. +} -2004-09-18 19:27 robert - * include/osg/Transform: Removed reference to - ComputeTransformCallback +// 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); +} -2004-09-15 19:14 robert +and i further removed an unnecessary setColorMask." - * src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/LightModel.h, - src/osgPlugins/ive/ShapeDrawable.cpp: 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. -2004-09-15 19:10 robert - * include/osg/Vec2f, include/osg/Vec3d, include/osg/Vec3f, - include/osg/Vec4d, include/osg/Vec4f, include/osg/Version, - include/osg/VertexProgram, include/osg/Viewport: More spelling & - top fixes. +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. -2004-09-15 19:07 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." - * include/osg/NodeVisitor: From Geoff Michel, typo and spelling - fixes -2004-09-15 15:09 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 +" - * src/osgPlugins/txp/TXPParser.cpp: Added usage of std::vector<> - and ref_ptr<>'s to avoid memory leaks -2004-09-14 15:05 robert - * src/osgDB/FileUtils.cpp: Commented out osg::noitfy usage under - OSX since this was causing a crash on start up -2004-09-14 15:03 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: - * Make/makedirdefs: Added GDAL check to compile of osgsimulation +IF(CYGWIN OR UNIX AND NOT WIN32 AND NOT APPLE) -2004-09-13 17:19 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." - * include/osg/State, include/osg/StateSet: Fix of tabbing and typo -2004-09-13 16:10 robert - * include/osg/Switch, include/osg/TexEnv, - include/osg/TexEnvCombine, include/osg/TexGen, - include/osg/TexGenNode, include/osg/TexMat, include/osg/Texture, - include/osg/Texture1D, include/osg/Texture2D, - include/osg/Texture3D: From Paul Martz, typo and spelling fixes +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 -2004-09-13 15:17 robert +div: 6 - * include/osg/Transform: Fixed comments +of course a better one would be + 1 2 1 + 2 4 2 + 1 2 1 -2004-09-13 15:14 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. - * include/osg/GL, include/osg/GLExtensions, include/osg/Geometry, - include/osg/Group, include/osg/Image, include/osg/ImageStream, - include/osg/Impostor, include/osg/ImpostorSprite, - include/osg/Light, include/osg/LightModel, - include/osg/TextureCubeMap, include/osg/TextureRectangle, - include/osg/Timer, include/osg/Transform, - include/osg/TriangleFunctor, include/osg/UByte4, - include/osg/UnitTestFramework, include/osg/Vec2d: From Eric - Hammil, typo and spelling fixes -2004-09-13 14:33 robert +testet on NVidia Quatro 570M and on ATI Radeon X1600 - * src/osg/Matrix_implementation.cpp: From George Papagiannakis, - added extra Quat length to catch case - where length is zero. +" -2004-09-13 13:53 robert - * examples/osgsimulation/GNUmakefile, - examples/osgsimulation/osgsimulation.cpp, - include/osgTerrain/DataSet, src/osgTerrain/DataSet.cpp: Improved - the handling of building/writing generated databases, and - the fixed transition distances on the lower levels of geocentric - databases. -2004-09-11 03:00 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 " - * src/osgTerrain/DataSet.cpp: Added a deleteTextureObject after the - creation of the compressed textures +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(); + ^^^ ^^^ + } +}; -2004-09-10 17:49 robert +Corrected code attached." - * src/osgPlugins/ive/LightModel.cpp, - src/osgPlugins/ive/LightModel.h: Added missing LightModel.h and - .cpp from Stansilav. -2004-09-10 13:31 robert - * include/osgTerrain/DataSet, src/osgTerrain/DataSet.cpp: Added - convinience methods. -2004-09-10 08:26 robert - * include/osg/Drawable: Made update, cull and draw callbacks - virtual to allow custom Drawable's - to there own specific extensions for handling callbacks +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 ! -2004-09-09 15:14 robert +It's because you have to use keywords in and out. - * include/osg/RefNodePath, include/osg/Transform, - include/osgGA/NodeTrackerManipulator, src/osg/Transform.cpp, - src/osgGA/NodeTrackerManipulator.cpp: Made the - computeLocalToWorld etc method to use const NodePath's - parameters. +extract from : http://www.opengl.org/registry/specs/EXT/geometry_shader4.txt : -2004-09-09 13:18 robert +in - for function parameters passed into a function or for input varying +variables (geometry only) - * include/osg/RefNodePath, include/osgProducer/Viewer, - src/osgProducer/Viewer.cpp: Added osg::RefNodePath class for - handling node paths. +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). -2004-09-09 13:07 robert +Then for a geometry shader, a varying must be an array : +extract from : http://www.opengl.org/registry/specs/EXT/geometry_shader4.txt : - * VisualStudio/osgPlugins/ive/ive.dsp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/ive/ReadWrite.h: - From Stanislav Blinov, addition of LightModel support for .ive - format. +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. -2004-09-09 09:03 robert - * examples/osgvolume/osgvolume.cpp: Fixed write of normalmap. +Here is a patch based on the svn version of osg that correct that. +" -2004-09-09 08:54 robert - * src/osgDB/DynamicLibrary.cpp: Change the warnigns about a fail - getLibraryHandle to be INFO rather than - WARN. -2004-09-09 08:18 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 - * src/osgPlugins/Inventor/ReaderWriterIV.cpp: From Martin - Aumueller, added ref() and unref() to Inventor node handling. +if (!win || (win->getVisibilityMode() == Window::VM_PARTIAL) && !win->isPointerXYWithinVisible(x, y))) + continue; -2004-09-08 18:14 robert +The effect of the bug is to segfault if a non-osgWidgets::Window node hasn't been excluded from picking via NodeMask." - * src/osgPlugins/txp/TXPIO.cpp: Fixed keyword used for setting the - database name. -2004-09-08 15:14 robert - * src/osgPlugins/txp/TXPNode.cpp: Quick fix to crash in TXPNode. +Wed, 17 Sep 2008 17:07:52 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-09-07 14:34 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. - * src/osgUtil/TriStripVisitor.cpp, - src/osgUtil/TriStrip_graph_array.h, - src/osgUtil/TriStrip_heap_array.h, - src/osgUtil/TriStrip_tri_stripper.cpp, - src/osgUtil/TriStrip_tri_stripper.h: Changed usage of assert() to - throw. +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. -2004-09-07 10:45 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. - * src/osgUtil/TriStrip_heap_array.h: Added a size check on - heap_array::Adjust(size_t i) to - prevent access errors. +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 ... +" -2004-09-07 10:31 robert - * include/osg/BoundsChecking: From Paul Martz, removed redundent - paramaters in clampArray4LEQUAL. -2004-09-07 10:09 robert +Wed, 17 Sep 2008 14:23:25 +0000 +Checked in by : Robert Osfield +Updated osgwidget examples to use the new osg::clone() methods - * src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/txp/TXPParser.cpp: Changed the wrap mode from - CLAMP to CLAMP_TO_EDGE +Wed, 17 Sep 2008 14:23:05 +0000 +Checked in by : Robert Osfield +Updated wrappers of osgWidget -2004-09-07 10:07 robert +Wed, 17 Sep 2008 14:21:47 +0000 +Checked in by : Robert Osfield +Tweaks to facilitate osgWrapper build - * include/osg/BoundingSphere, include/osg/BoundsChecking, - include/osg/ClearNode, include/osg/ClipNode, - include/osg/ClipPlane, include/osg/ClusterCullingCallback, - include/osg/CollectOccludersVisitor, include/osg/ColorMask, - include/osg/ColorMatrix, include/osg/buffered_value: From Paul - Martz, typos and spelling fixes +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. -2004-09-07 06:59 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 - * src/osgGA/NodeTrackerManipulator.cpp: Added missing - setTrackerMode(TrackerMode) +Tue, 16 Sep 2008 18:41:13 +0000 +Checked in by : Robert Osfield +Added osgVolume to docs and wrappers -2004-09-06 18:20 robert +Tue, 16 Sep 2008 15:32:23 +0000 +Checked in by : Robert Osfield +Introduced beginings of osgVolume NodeKit. - * include/osgDB/Registry, src/osgDB/Registry.cpp: Added mutex to - access to the Registry::_objectCache. +Tue, 16 Sep 2008 15:31:47 +0000 +Checked in by : Robert Osfield +Complted the first pass at the DCMTK based dicom loader -2004-09-06 14:59 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. - * include/osgSim/DOFTransform, - src/osgPlugins/osgSim/IO_DOFTransform.cpp, - src/osgSim/DOFTransform.cpp: From Joakim Simonsson, add - s/getHPROrder method -2004-09-06 14:58 robert - * examples/osgvolume/osgvolume.cpp: Added docs for max size - commandline params. +Mon, 15 Sep 2008 19:59:12 +0000 +Checked in by : Robert Osfield +Added optional usage of DCMTK in the dicom plugin -2004-09-06 14:30 robert +Mon, 15 Sep 2008 11:27:30 +0000 +Checked in by : Robert Osfield +From Ralf Habacker, removed redundent SwitchLayer::clear() - * src/osg/TexGenNode.cpp: From Marco Jez, added missing TexGenNode - constructor. +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 -2004-09-04 09:22 robert +Sat, 13 Sep 2008 13:38:06 +0000 +Checked in by : Robert Osfield +Added reading of whole directories of images - * examples/osgvolume/osgvolume.cpp: Updates to controlling maximum - texture size +Sat, 13 Sep 2008 09:09:51 +0000 +Checked in by : Robert Osfield +Introduced TransferFunction1D::assign(ValueMap&). -2004-09-03 15:42 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 - * examples/osgvolume/osgvolume.cpp: Added commandline support for - Size and texcoord Multipliers +Thu, 11 Sep 2008 16:11:51 +0000 +Checked in by : Robert Osfield +Updated version numbers in prep for up comming dev release -2004-09-03 15:05 robert +Thu, 11 Sep 2008 16:06:37 +0000 +Checked in by : Robert Osfield +Added an svn update into the make ChangeLog entry. - * include/osg/TexEnvCombine: Added setConstantColorAsLightDirection - & getConstantColorAsLightDirection methods - to make it more convinient to set up DOT3 register combiners. +Thu, 11 Sep 2008 16:01:17 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-09-03 10:02 robert +Thu, 11 Sep 2008 14:28:42 +0000 +Checked in by : Robert Osfield +Refinements to SwitchLayer and WhiteListTileLoadedCallback - * examples/osgvolume/osgvolume.cpp: Added handling of RGBA to - normal map computation +Thu, 11 Sep 2008 14:27:50 +0000 +Checked in by : Robert Osfield +Added support for SwitchLayer into GeometryTechnique -2004-09-02 20:42 don +Thu, 11 Sep 2008 13:21:58 +0000 +Checked in by : Robert Osfield +Introduced osgTerrain::WhiteListTileLoadedCallback for the management of options terrain layers - * src/osgPlugins/net/sockinet.cpp, - src/osgPlugins/net/sockstream.cpp: Fixed .net plugin errors on - Mac +Thu, 11 Sep 2008 10:40:48 +0000 +Checked in by : Robert Osfield +First cut of WhiteListTileLoadedCallback -2004-09-02 19:10 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 - * include/osg/MatrixTransform, include/osg/Multisample, - include/osg/Node, include/osg/NodeCallback, - include/osg/NodeVisitor, include/osg/Notify, include/osg/Object, - include/osg/OccluderNode, include/osg/PagedLOD, - include/osg/Plane, include/osg/Point, include/osg/PolygonMode, - include/osg/PolygonOffset, include/osg/Polytope, - include/osg/PositionAttitudeTransform, include/osg/Projection, - include/osg/Quat, include/osg/ShadeModel, - include/osg/ShadowVolumeOccluder, include/osg/Shape, - include/osg/ShapeDrawable, include/osg/State, - include/osg/StateAttribute, include/osg/StateSet, - include/osg/Stencil, include/osg/ref_ptr: From Geoff Michel, typo - and spelling fixes +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. -2004-09-02 18:19 robert +Wed, 10 Sep 2008 18:11:54 +0000 +Checked in by : Robert Osfield +Introduced TerrainTile::TileLoadedCallback - * include/osg/Sequence: Added Sequence back in with correct - Permission, and with Geoff Michel's spelling - corrections. +Wed, 10 Sep 2008 16:17:17 +0000 +Checked in by : Robert Osfield +Removed unneccessary compound name usage -2004-09-02 18:17 robert +Wed, 10 Sep 2008 11:38:49 +0000 +Checked in by : Robert Osfield +Removed debugging output - * include/osg/Sequence: Temporary removal of Sequence to try and - get around permissions problem with it. +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. -2004-09-02 10:01 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. - * src/osgDB/FileUtils.cpp, src/osgDB/GNUmakefile: Added usage of - carbon pathway in appendPlatformSpecificLibraryFilePaths. +Wed, 10 Sep 2008 11:27:00 +0000 +Checked in by : Robert Osfield +Added playing of the imagesequence on creation of the imagesequence -2004-09-02 07:44 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. - * src/osgPlugins/Inventor/ConvertFromInventor.cpp: Added comments - from Eric +Thu, 4 Sep 2008 17:30:56 +0000 +Checked in by : Robert Osfield +Fix for when looping is is disabled -2004-09-02 03:52 don +Thu, 4 Sep 2008 14:23:29 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode-project - * Make/makedefs, Make/makerules: Fixed a mis-definition of INSTBIN - and INSTLIB +Tue, 2 Sep 2008 16:13:54 +0000 +Checked in by : Robert Osfield +Added acceptance of .ogv extensions in xine-lib plugin -2004-09-01 17:18 robert +Tue, 2 Sep 2008 12:55:26 +0000 +Checked in by : Robert Osfield +Added setSetName/getSetName() methods - * VisualStudio/osg/osg.dsp: From Geoff Michel, removed mem_ptr - reference as it no longer exists +Mon, 1 Sep 2008 16:28:02 +0000 +Checked in by : Robert Osfield +Update ChangeLog -2004-09-01 15:14 robert +Mon, 1 Sep 2008 15:29:22 +0000 +Checked in by : Robert Osfield +Replaced uint with unsigned int - * src/osgProducer/OsgCameraGroup.cpp: From Uwe Woessner +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 -2004-09-01 14:49 robert +Mon, 1 Sep 2008 14:05:40 +0000 +Checked in by : Robert Osfield +Updated wrappers - * include/osgDB/FileUtils, src/osgDB/FileUtils.cpp: Added Don's new - osgDB::makeDirectory() code FileUtils. +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 -2004-09-01 11:05 robert +Mon, 1 Sep 2008 10:49:22 +0000 +Checked in by : Robert Osfield +Updated wrappers - * include/osgGA/Export: Removed reference to old CmdLineArgs class +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 -2004-09-01 10:45 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." - * examples/osghangglide/sky.cpp: From Jeoen den Dekker, changed - eroneous tcoords[ci][0] to tcoords[ci][1] +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. " -2004-09-01 10:41 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 - * src/osg/Texture.cpp: 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 +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. " -2004-09-01 10:18 robert +Mon, 1 Sep 2008 09:57:35 +0000 +Checked in by : Robert Osfield +Build fixes for Windows - * include/osgGA/KeySwitchMatrixManipulator, - include/osgGA/MatrixManipulator, - src/osgGA/KeySwitchMatrixManipulator.cpp: Added bool paramter to - MatrixManipulator::setHomePosition(,,,bool) to allow - the autocomputehomeposition to be controlled. +Fri, 29 Aug 2008 09:28:28 +0000 +Checked in by : Robert Osfield +Added CompositeLayer::addLayer(setname,filename) convinience function -2004-09-01 09:54 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." - * Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgmotionblur, - VisualStudio/examples/osgmotionblur/osgmotionblur.dsp, - VisualStudio/examples/osgmotionblur/resources.rc, - examples/osgmotionblur, examples/osgmotionblur/GNUmakefile, - examples/osgmotionblur/GNUmakefile.inst, - examples/osgmotionblur/osgmotionblur.cpp, runexamples.bat: From - Marco Jez, added new osgmotionblur example +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. -2004-09-01 09:48 robert +Thu, 28 Aug 2008 09:43:00 +0000 +Checked in by : Robert Osfield +Converted AutoTransform to use doubles. - * include/osg/ApplicationUsage, src/osg/ApplicationUsage.cpp: From - Eric Sokolsky, add support for recording default values for env - vars +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 -2004-09-01 09:10 robert +Tue, 26 Aug 2008 17:40:04 +0000 +Checked in by : Robert Osfield +Improved the GLSL implementation. - * src/osgPlugins/Inventor/ConvertFromInventor.cpp: Added crude - #ifdef COIN_BASIC_H around ::REPLACE usage as this is only - available under Coing +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 -2004-09-01 09:00 robert +Tue, 26 Aug 2008 12:05:24 +0000 +Checked in by : Robert Osfield +Added wrapper build target for generating the osgWrappers - * src/osgPlugins/osg/BlendFunc.cpp: Added support for - CONSTANT_COLOR and ONE_MINUS_CONSTANT_COLOR into .osg +Tue, 26 Aug 2008 09:39:45 +0000 +Checked in by : Robert Osfield +Added provisional block in computePositions() -2004-09-01 08:59 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 - * include/osg/BlendFunc: From Sondra Iverson, adding of - CONSTANT_COLOR and ONE_MINUS_CONSTANT_COLOR options +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 -2004-09-01 08:49 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: - * include/osg/Texture, src/osg/Image.cpp: From Marco Jez, addition - of new interal texture formats to osg/Texture and Image.cpp +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. -2004-09-01 08:34 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. - * include/osg/AnimationPath: From Brede Johhansen, fixed copy and - paste bug where in getInverse(..) methods +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." -2004-09-01 08:15 robert - * include/osg/AlphaFunc, include/osg/AnimationPath, - include/osg/ArgumentParser, include/osg/Array, - include/osg/AutoTransform, include/osg/Billboard, - include/osg/BlendColor, include/osg/BlendFunc, - include/osg/BoundingBox: From Paul Martz, typos and spelling - fixes. -2004-08-31 21:18 don +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. - * VisualStudio/osgPlugins/net/net.dsp: small change for Visual - Studio compile +Mon, 25 Aug 2008 15:37:48 +0000 +Checked in by : Robert Osfield +From Liang Aibin, removed redundent spaces -2004-08-31 21:06 don +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. - * VisualStudio/VisualStudio.dsw, VisualStudio/osgPlugins/net, - VisualStudio/osgPlugins/net/net.dsp, - src/osgPlugins/net/makeDir.cpp: Added Visual Studio files for - osgPlugin net +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. -2004-08-31 20:49 don - * src/osgPlugins/net/makeDir.cpp, src/osgPlugins/net/makeDir.h: - added makeDir - temporary UNIX only -2004-08-31 20:26 don +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. " - * src/osgPlugins/net/sockinet.cpp, src/osgPlugins/net/sockinet.h, - src/osgPlugins/net/sockstream.cpp, - src/osgPlugins/net/sockstream.h: Fixes (hopefully) for windows - and other platforms... +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." -2004-08-31 14:49 robert +Mon, 25 Aug 2008 11:37:53 +0000 +Checked in by : Robert Osfield +Added testing of max texture size using a realize operation - * include/osg/ConvexPlanarOccluder, - include/osg/ConvexPlanarPolygon, - include/osg/CoordinateSystemNode, include/osg/CopyOp, - include/osg/CullFace, include/osg/CullSettings, - include/osg/CullStack, include/osg/CullingSet, include/osg/Depth: - From Geoff Michel, typo and spelling fixes. +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 -2004-08-31 14:48 robert +Mon, 25 Aug 2008 10:38:07 +0000 +Checked in by : Robert Osfield +Removed debug info - * src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/obj.cpp: Added support for spherical texture - mapping and better file search support - for meterial files. +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 -2004-08-31 14:21 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 - * include/osgGA/NodeTrackerManipulator, - src/osgGA/NodeTrackerManipulator.cpp: Simplified the TrackMode - options +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. -2004-08-31 14:08 robert +Fri, 22 Aug 2008 16:37:56 +0000 +Checked in by : Robert Osfield +Added warning message - * include/osg/DisplaySettings, include/osg/Drawable, - include/osg/Export, include/osg/FragmentProgram, - include/osg/FrameStamp, include/osg/FrontFace, include/osg/Geode, - include/osg/fast_back_stack: From Geoff Michel, spelling and typo - fixes. +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. -2004-08-31 13:19 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 - * include/osg/LightSource, include/osg/LineSegment, - include/osg/LineStipple, include/osg/LineWidth, - include/osg/Material, include/osg/Math, include/osg/Matrixd, - include/osg/Matrixf: From Sébastien Kuntz, spelling and typo - fixes +Mon, 18 Aug 2008 15:08:04 +0000 +Checked in by : Robert Osfield +Added --mip command line option which enables Maximum Intensity Projection filtering -2004-08-31 09:20 robert +Mon, 18 Aug 2008 15:06:41 +0000 +Checked in by : Robert Osfield +Added .ive support for BlendEquation - * include/osg/Quat, include/osgGA/NodeTrackerManipulator, - src/osg/Matrix_implementation.cpp, - src/osgGA/NodeTrackerManipulator.cpp: Added rescale of quaternion - in Matrix::set(Quat), a copy operation in osg::Quat and - extra tracking options in NodeTrackerManipulator. +Mon, 18 Aug 2008 14:49:16 +0000 +Checked in by : Robert Osfield +Added BlendEquation .osg support -2004-08-31 01:12 don +Mon, 18 Aug 2008 12:39:18 +0000 +Checked in by : Robert Osfield +Updated AUTHORS file for 2.7.0 release - * src/osgPlugins/net/ReaderWriterNET.cpp: Added cache_mode option - to Net plugin +Mon, 18 Aug 2008 11:55:17 +0000 +Checked in by : Robert Osfield +Updated ChangeLog for 2.7.0 release -2004-08-30 18:53 robert +Mon, 18 Aug 2008 11:48:07 +0000 +Checked in by : Robert Osfield +Updated wrappers - * include/osgGA/NodeTrackerManipulator, - src/osgGA/NodeTrackerManipulator.cpp: Added trackmode support for - handling rotation of tracked node +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. -2004-08-30 18:51 robert +The reason for this is that nothing increments the Reader "r" in the case when applying a style to label, - * src/osg/Matrix_implementation.cpp: Fixed the Matrix::get(Quat&) - method +so I advance the reader when no match was found. -2004-08-30 10:03 robert +( To replicate the error apply style to any label) - * VisualStudio/osgGA/osgGA.dsp, - examples/osgsimulation/osgsimulation.cpp, - include/osgGA/NodeTrackerManipulator, - include/osgGA/TrackerManipulator, src/osgGA/GNUmakefile, - src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/TrackerManipulator.cpp: Remamed TrackerManipulator to - NodeTrackerManipulator + -2004-08-30 01:15 don +replaced this: - * src/osgPlugins/net/GNUmakefile, - src/osgPlugins/net/ReaderWriterNET.cpp: 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. + while(!r.eof()) if(_styles[style]->applyStyle(t, r)) inc = true; -2004-08-29 15:09 robert + - * src/osgPlugins/obj/obj.cpp: Added handling of $ comment line, and - 'g' empty group name +with this: -2004-08-29 00:57 don + while(!r.eof()) - * src/osgPlugins/net/ReaderWriterNET.cpp, - src/osgPlugins/net/sockinet.h: 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. + { -2004-08-28 23:04 don + if(_styles[style]->applyStyle(t, r)) - * Make/makedefs, Make/makerules, - examples/osgscalarbar/osgscalarbar.cpp, src/osgDB/FileUtils.cpp, - src/osgPlugins/net/sockinet.cpp, - src/osgPlugins/net/sockstream.cpp, - src/osgPlugins/net/sockstream.h: Changes for IRIX build and fix - to build system + inc = true; -2004-08-28 07:25 don + else - * src/osgPlugins/net, src/osgPlugins/net/GNUmakefile, - src/osgPlugins/net/ReaderWriterNET.cpp, - src/osgPlugins/net/sockinet.cpp, src/osgPlugins/net/sockinet.h, - src/osgPlugins/net/sockstream.cpp, - src/osgPlugins/net/sockstream.h: 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 + r.advanceOverCurrentFieldOrBlock(); -2004-08-27 16:52 robert + } - * src/osgDB/FileUtils.cpp: Fix of OSX build + -2004-08-27 16:19 robert + - * src/osgDB/FileUtils.cpp: Fix for OSX build. +I tested it and it works well for me, I did not find any problems with it. -2004-08-27 16:14 robert + - * include/osgDB/FileUtils, include/osgDB/Registry, - src/osgDB/FileUtils.cpp, src/osgDB/Registry.cpp, - src/osgPlugins/obj/obj.cpp, src/osgText/Font.cpp: Added a new - osgDB::appendPlatformSpecificLibraryFilePaths() method to - FileUtils.cpp - Includes a new OSX code from Eric Wing + -2004-08-27 14:56 robert +2. Added style support for Canvas element, event though there is no styles to apply yet. - * src/osgPlugins/quicktime/ReaderWriterQT.cpp: Added .tif extension - to handled extension list +It is usefull for someone who inherits from Canvas class to develop another element. -2004-08-27 12:04 robert + If applyStyle(Canvas) does not exist - * src/osgDB/DatabasePager.cpp: Removed eroneous cancel() and join() - from the DatabasePager::run() method. +there is no way to apply style to the element that inherited from Canvas element. -2004-08-27 08:03 robert + - * src/osgPlugins/obj/ReaderWriterOBJ.cpp: 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. +Added virtual -2004-08-27 08:01 robert + bool applyStyle(Canvas). - * include/osgUtil/Tesselator, src/osgUtil/Tesselator.cpp: Added - handling of DrawArrayLengths PrimitiveSet. + -2004-08-26 16:20 robert +and in added call to apply style if the Object is of type Canvas: - * src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/obj.cpp, src/osgPlugins/obj/obj.h: - Improvements to handling of winding of polygons. +StyleManager::_applyStyleToObject(osg::Object* obj, const std::string& style) { -2004-08-26 14:52 robert +... - * src/osgPlugins/obj/obj.cpp: Removed debugging output. + -2004-08-26 14:33 robert +else if(!std::string("Canvas").compare(c)) - * VisualStudio/osgPlugins/obj/obj.dsp, - src/osgPlugins/obj/GNUmakefile, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/glm.cpp, src/osgPlugins/obj/glm.h, - src/osgPlugins/obj/obj.cpp, src/osgPlugins/obj/obj.h: Rewrite of - OBJ parser + converter to OSG +return _coerceAndApply(obj,style,c); -2004-08-26 06:41 robert + " - * include/osgGA/MatrixManipulator: Fixed getHomePosition -2004-08-24 21:35 don - * Make/makedefs: Robert must've forgotten to set VERSION_REVISION - back to 0 after - tagging the release +Mon, 18 Aug 2008 11:17:44 +0000 +Checked in by : Robert Osfield +Ran fixtabs to enforce four space tabs -2004-08-24 18:27 robert +Mon, 18 Aug 2008 11:00:40 +0000 +Checked in by : Robert Osfield +From Erik van Dekker,"I made several modifications: - * src/osgPlugins/gif/ReaderWriterGIF.cpp: Removed "interlace" - debugging message + -2004-08-24 18:23 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. - * src/osg/AnimationPath.cpp: Changed the - AnimationPathCallback::reset() to reset the _firstTime to DBL_MAX - so that it resets on the next update traversal. + -2004-08-24 13:25 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). - * src/osgPlugins/quicktime/QuicktimeImageStream.cpp: Added support - for looping mode + -2004-08-24 12:55 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?) - * ChangeLog, include/osg/ImageStream, src/osg/ImageStream.cpp, - src/osgPlugins/mpeg/MpegImageStream.cpp: Added s/getLoopingMode() - to ImageStream and MPEG plugin + -2004-08-24 11:00 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. - * doc/doc++/osgGA/HoverManipulator.html: Removed HoveManipulator + -2004-08-24 10:58 robert + * Fixed a warning in osgWidget\StyleInterface due to an #include directive (strangely) placed inside a namespace. - * doc/doc++/osg/AutoTransform.html, - doc/doc++/osgGA/CoordinateFrameCallback.html, - doc/doc++/osgGA/General.html, doc/doc++/osgGA/HIER.html, - doc/doc++/osgGA/HIERjava.html, - doc/doc++/osgGA/KeySwitchMatrixManipulator.html, - doc/doc++/osgGA/MatrixManipulator.html, - doc/doc++/osgGA/SetSceneViewVisitor.html, - doc/doc++/osgGA/StateSetManipulator.html, - doc/doc++/osgGA/TerrainManipulator.html, - doc/doc++/osgGA/TrackballManipulator.html, - doc/doc++/osgGA/TrackerManipulator.html, - doc/doc++/osgGA/index.html, doc/doc++/osgGA/osgGA.html, - doc/doc++/osgUtil/RenderBin.html, - doc/doc++/osgUtil/RenderStage.html, - doc/doc++/osgUtil/RenderToTextureStage.html: Updated docs + -2004-08-24 08:43 robert + * Fixed a warning in osg\Camera due to the META_Object macro that confused doxygen. Adding a semi-colon fixed this. - * src/osgPlugins/mpeg/MpegImageStream.h, - src/osgPlugins/obj/glm.cpp, - src/osgPlugins/quicktime/QuicktimeImageStream.h: Made the command - buffer have 20 elements in it to protect against wrapping - around. + -2004-08-24 07:29 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. - * examples/osgconv/osgconv.cpp: Changed --compress to --compressed - in commandline docs + -2004-08-23 20:29 don + * 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). - * src/osgProducer/ViewerEventHandler.cpp: 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. + -2004-08-23 17:17 don + * 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. - * src/osgProducer/ViewerEventHandler.cpp: Fixed assumption that the - users's screen is 1280x1024 when toggling - full screen with the 'f' key. + -2004-08-23 14:08 robert + * Changed option SHOW_DIRECTORIES to yes, which is a case of preference I guess. - * doc/introduction.html: Fixed link to download page + " -2004-08-23 08:44 robert - * src/osgTerrain/DataSet.cpp: Added protection to prevent crashes - on calls when no data is set up -2004-08-23 08:31 robert +Mon, 18 Aug 2008 10:47:43 +0000 +Checked in by : Robert Osfield +Removed todo entry - * examples/osgdem/osgdem.cpp: Changed the write help option to just - output commandline options. +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. -2004-08-23 07:25 robert +New attribute PagedLOD::PerRangeData::_ +frameNumber contains frame number of last cull traversal. - * doc/dependencies.html: Updated docs to point to correct 3rd party - binaries +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. -2004-08-21 17:29 don +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. - * examples/osgconv/osgconv.cpp: Added back in the -s (scale) - argument to osgconv, which was dropped - in the last revision. +Two interface changes are made: -2004-08-20 09:46 robert +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. - * examples/osgtext/osgtext.cpp: From Don Tidrow, fixes to comments. +PagedLOD::removeExpiredChildren(double expiryTime, NodeList &removedChildren) is deprecated (warning is printed), when subclassing use PagedLOD::removeExpiredChildren(double expiryTime, int expiryFrame, NodeList &removedChildren) instead. " -2004-08-18 10:07 robert - * Make/makedefs: Bumped up the revision number to 2 for the 0.9.7-2 - release -2004-08-18 09:34 robert - * NEWS.txt: Set date for 0.9.7-2 release +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." -2004-08-18 06:06 robert - * src/osg/dxtctool.cpp, src/osg/dxtctool.h: Rejigged the __int* - definitions to try and get round Mingw compile errors -2004-08-17 19:42 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. " - * src/osg/dxtctool.cpp, src/osg/dxtctool.h: From Bruce Clay, fixes - for VS6.0 build. +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." -2004-08-17 18:57 robert - * include/osgUtil/RenderBin: From David Fries, added getBinNum() - method -2004-08-17 18:56 robert +Fri, 15 Aug 2008 17:26:06 +0000 +Checked in by : Robert Osfield +Updated version numbers in prep for next dev release - * src/osg/PrimitiveSet.cpp: Changed sizeof(..) references to 1,2,4 - respectively. +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." -2004-08-17 08:14 robert - * ChangeLog: Updated changelog -2004-08-17 07:58 robert +Fri, 15 Aug 2008 17:18:10 +0000 +Checked in by : Robert Osfield +Added support for geometry shader attributes - * include/osg/AutoTransform, src/osg/AutoTransform.cpp: 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. " +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. -2004-08-17 07:44 robert - * src/osgPlugins/dds/ReaderWriterDDS.cpp: Changed the "flip" - keyword to "dds_flip" -2004-08-17 07:43 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(). - * NEWS.txt, doc/dependencies.html, doc/doc++/osg/Image.html, - doc/doc++/osg/ImageStream.html, doc/introduction.html, - doc/plan.html: Updated docs for second rev of 0.9.7 +Fri, 15 Aug 2008 13:07:04 +0000 +Checked in by : Robert Osfield +Fixed the name of _playToggle -2004-08-17 06:15 robert +Fri, 15 Aug 2008 13:06:18 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgTerrain/DataSet.cpp: Removed computeMipMaps call +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 -2004-08-16 21:14 robert +Thu, 14 Aug 2008 16:29:12 +0000 +Checked in by : Robert Osfield +Added initial looping and pause play support - * src/osgPlugins/dds/ReaderWriterDDS.cpp: Added support for "flip" - option string, which if present flips incoming - images about the vertical axis. Accessed via -O flip on the - commandline. +Thu, 14 Aug 2008 16:28:45 +0000 +Checked in by : Robert Osfield +Added event handler to toggling looping and play/pause -2004-08-16 21:03 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 - * src/osg/dxtctool.h: Added a handling of different hex long long - handling for VS and non - VS. +Tue, 5 Aug 2008 20:05:25 +0000 +Checked in by : Robert Osfield +From Eric Sokolowski, added OSX release notes to READEME -2004-08-16 20:57 robert +Tue, 5 Aug 2008 20:05:07 +0000 +Checked in by : Robert Osfield +Added osgWidget to doc building - * include/osg/Image, src/osg/Image.cpp: Added support in - Image::flipVertical for flipping mipmapped imagery - and for flipping compressed imagery. +Tue, 5 Aug 2008 19:17:09 +0000 +Checked in by : Robert Osfield +Improved the doxygen docs over the various namespaces -2004-08-16 16:43 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 - * src/osg/dxtctool.h: Fixed _MSC_VAR reference +Tue, 5 Aug 2008 15:27:37 +0000 +Checked in by : Robert Osfield +Merged from OpenSceneGraph-2.6 branch -2004-08-16 15:45 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 - * VisualStudio/osg/osg.dsp: Added dxtctool.h/.cpp +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" -2004-08-16 15:43 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 . - * src/osg/GNUmakefile, src/osg/dxtctool.cpp, src/osg/dxtctool.h: - Added fxtctool in prep for adding compressed imagery swap -2004-08-16 14:21 robert - * src/osgPlugins/mpeg/MpegImageStream.cpp, - src/osgPlugins/mpeg/MpegImageStream.h: Cleaned up output level of - debugging messages +Mon, 4 Aug 2008 20:48:46 +0000 +Checked in by : Robert Osfield +Added -losgWidget to the list of libs -2004-08-16 14:03 robert +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." - * src/osgPlugins/obj/glm.cpp: Fix to order of materials +Mon, 4 Aug 2008 15:09:16 +0000 +Checked in by : Robert Osfield +Updated AUTHORS file -2004-08-16 13:54 robert +Mon, 4 Aug 2008 15:08:39 +0000 +Checked in by : Robert Osfield +Updated ChangeLog - * VisualStudio/osgPlugins/osg/dot_osg.dsp, - src/osgPlugins/osg/GNUmakefile, - src/osgPlugins/osg/NodeCallback.cpp: From Michael Gronager, - addition of NodeCallback support in .osg format. +Mon, 4 Aug 2008 15:08:24 +0000 +Checked in by : Robert Osfield +Updated news for 2.6.0 release rc2 -2004-08-16 13:17 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. - * src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/glm.cpp: Improvements to the handling of OBJ - files +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. -2004-08-16 08:58 robert +Mon, 4 Aug 2008 12:27:22 +0000 +Checked in by : Robert Osfield +Removed debug info - * examples/osgdistortion/osgdistortion.cpp: Disabled the culling on - the DistortionNode. +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!"" -2004-08-16 08:55 robert - * src/osg/ClearNode.cpp: Disabled the culling for clear node. -2004-08-16 08:32 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. - * src/osgSim/VisibilityGroup.cpp: Changed the length multiple to be - 2x the bounding sphere radius +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. -2004-08-16 07:29 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 . - * src/osgSim/VisibilityGroup.cpp: From Michael Gronager, fix to an - orientation bug. +Sun, 3 Aug 2008 16:48:12 +0000 +Checked in by : Robert Osfield +Moved bb expansion out of loop. -2004-08-14 15:42 don +Fri, 25 Jul 2008 21:09:37 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and AUTHORS.txt file for relese candidate - * doc/osgdem.html: P*E*G*O*U*T Sound. Spelling fixes. +Fri, 25 Jul 2008 21:01:57 +0000 +Checked in by : Robert Osfield +Updated version numbers to 2.6.0 -2004-08-13 15:48 robert +Fri, 25 Jul 2008 21:00:12 +0000 +Checked in by : Robert Osfield +Updated REAME and NEWS for 2.6 branch - * NEWS.txt: Added news for release 0.9.7-2 +Fri, 25 Jul 2008 20:50:59 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-08-13 15:29 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 - * ChangeLog: Updates for 0.9.7-2 release +Fri, 25 Jul 2008 20:49:17 +0000 +Checked in by : Robert Osfield +Added PluginQuery function to wrappers -2004-08-13 14:42 robert +Fri, 25 Jul 2008 20:04:41 +0000 +Checked in by : Robert Osfield +Added OSGPL Copyright notices - * src/osgTerrain/DataSet.cpp: 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. +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. -2004-08-13 14:09 robert +Fri, 25 Jul 2008 19:53:18 +0000 +Checked in by : Robert Osfield +Added include to help wrapper building - * doc/doc++/osg/State.html, doc/doc++/osgDB/Registry.html, - doc/doc++/osgFX/HIERjava.html, doc/doc++/osgFX/Registry.html, - doc/doc++/osgFX/osgFX.html: Updated docs. +Fri, 25 Jul 2008 18:44:13 +0000 +Checked in by : Robert Osfield +Improved handling of PAGE_AND_RETAIN_IMAGES -2004-08-13 13:46 robert +Fri, 25 Jul 2008 17:42:37 +0000 +Checked in by : Robert Osfield +Reverted back to using std::list - * include/osgDB/Registry: Added docs for CacheObjectHints +Fri, 25 Jul 2008 16:23:00 +0000 +Checked in by : Robert Osfield +Added Mode support -2004-08-13 13:27 robert +Fri, 25 Jul 2008 16:11:51 +0000 +Checked in by : Robert Osfield +Updated wrappers, and further refined the ImageSequence API - * src/osgUtil/CullVisitor.cpp, - src/osgUtil/RenderToTextureStage.cpp: Removed redundent - include/ReadFile call +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/ -2004-08-13 12:38 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." - * src/osgPlugins/ive/DataInputStream.cpp: Changed the "Reading a - byte swapped file" message to info level. -2004-08-13 12:05 robert - * src/osgPlugins/bmp/ReaderWriterBMP.cpp: Fix for VS6.0 build +Fri, 25 Jul 2008 15:38:12 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode-project -2004-08-13 10:50 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 - * include/osgGL2/UniformValue: Added #include required - for X-platform build. +Fri, 25 Jul 2008 10:18:36 +0000 +Checked in by : Robert Osfield +Moved PluginQuery from osgconv into osgDB -2004-08-13 10:49 robert +Fri, 25 Jul 2008 10:18:14 +0000 +Checked in by : Robert Osfield +Added extension docs - * src/osg/Referenced.cpp: Removed inappropriate #ifdefs +Fri, 25 Jul 2008 09:46:05 +0000 +Checked in by : Robert Osfield +Added option docs -2004-08-13 10:46 robert +Thu, 24 Jul 2008 17:38:50 +0000 +Checked in by : Robert Osfield +Added missing returns - * include/osgFX/Registry, include/osgGL2/Extensions, - src/osgFX/Registry.cpp: Fixes for OSX. +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." -2004-08-11 08:25 robert +Thu, 24 Jul 2008 12:48:25 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgUtil/CullVisitor.cpp: From Ben Discoe, build fix for float - version of Matrix. +Thu, 24 Jul 2008 12:47:55 +0000 +Checked in by : Robert Osfield +Added getCurrentCamera/getCurrentRenderStage methods -2004-08-10 18:31 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. - * src/osgDB/DatabasePager.cpp: Changed the database pager run - message to only output at an info level +Thu, 24 Jul 2008 12:06:05 +0000 +Checked in by : Robert Osfield +Improved the feedback for when a plugin isn't available. -2004-08-10 13:30 robert +Thu, 24 Jul 2008 12:01:45 +0000 +Checked in by : Robert Osfield +Added supportOptions() entry docs - * index.html: Updated to include reference to osgdem +Thu, 24 Jul 2008 12:01:23 +0000 +Checked in by : Robert Osfield +Added --format extname and --plugin pluginname extensions, and improved formating -2004-08-10 13:19 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) - * doc/contents.html, doc/data.html, doc/dependencies.html, - doc/documentation.html, doc/examples.html, doc/index.html, - doc/install.html, doc/introduction.html, doc/osgdem.html, - doc/osgviewer.html, doc/plan.html, doc/stereo.html, index.html: - Added osgdem quick usage guide -2004-08-09 15:12 robert - * Make/makedefs: Set revision number back to 0. +Wed, 23 Jul 2008 22:19:37 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-08-09 15:08 robert +Wed, 23 Jul 2008 22:19:29 +0000 +Checked in by : Robert Osfield +Refactored OverlayData so that its possible to subclass OverlayNode/OverlayData. - * Make/makedefs: Set version to 0.9.7-1 +Wed, 23 Jul 2008 21:52:03 +0000 +Checked in by : Robert Osfield +Added wrappers -2004-08-09 13:58 robert +Wed, 23 Jul 2008 21:49:07 +0000 +Checked in by : Robert Osfield +Moved helper classes into Protected section - * ChangeLog, NEWS.txt: Updated NEWS +Wed, 23 Jul 2008 21:25:09 +0000 +Checked in by : Robert Osfield +From Paul Martz, typo fixes -2004-08-07 19:08 robert +Wed, 23 Jul 2008 19:06:14 +0000 +Checked in by : Robert Osfield +Applied filename fix suggested by Andrew Bettison. - * src/osg/Geometry.cpp: Changed binding warnings to be reported as - info rather than as warnings. +Wed, 23 Jul 2008 19:04:46 +0000 +Checked in by : Robert Osfield +Implemented ImagePager internals -2004-08-07 09:42 robert +Wed, 23 Jul 2008 15:42:02 +0000 +Checked in by : Robert Osfield +Fixed unitialized variable - * include/osg/State, src/osgUtil/RenderStageLighting.cpp: Added the - ability to set the global stateset, as use this - RenderStageLighting +Tue, 22 Jul 2008 20:20:16 +0000 +Checked in by : Robert Osfield +Further work on ImageSequence -2004-08-06 19: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. - * Make/makedefs: From Bob Kuehne, change the FREETYPE_INCLUDE and - _LIB to hardcoded - version to avoid reliance on freetype-config. +Tue, 22 Jul 2008 15:58:40 +0000 +Checked in by : Robert Osfield +Improved position when multiple videos are provided -2004-08-06 09:38 robert +Tue, 22 Jul 2008 15:21:24 +0000 +Checked in by : Robert Osfield +Updated wrappers - * examples/osgdem/GNUmakefile: Fix for Mingw from Norman Vine. +Tue, 22 Jul 2008 14:47:59 +0000 +Checked in by : Robert Osfield +Fixed handling of TextureCubeMap's with mipmapped/ImageSequence/PBO's. -2004-08-06 09:36 robert +Tue, 22 Jul 2008 12:40:02 +0000 +Checked in by : Robert Osfield +Added ImageSequence IO support in Texture classes - * NEWS.txt: Updated NEWS +Tue, 22 Jul 2008 12:28:46 +0000 +Checked in by : Robert Osfield +Added support for ImageSequence to all Texture classes -2004-08-06 09:35 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. - * Make/makedefs: From Bob Kuehne, adding of SDKPATH to OSX build - -2004-08-06 08:56 robert - - * src/osgPlugins/osg/ReaderWriterOSG.cpp: Added support for the - "precision " options string - -2004-08-06 08:34 robert - - * doc/doc++/osg/AutoTransform.html, doc/doc++/osg/osg.html: Updated - docs - -2004-08-06 08:22 robert - - * examples/osgautotransform/osgautotransform.cpp, - include/osg/AutoTransform, src/osg/AutoTransform.cpp, - src/osgPlugins/osg/AutoTransform.cpp: 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 - -2004-08-06 06:53 robert - - * doc/Doxyfiles/auto_Doxyfile, doc/Doxyfiles/core_Doxyfile, - doc/doc++/osg/AlphaFunc.html, doc/doc++/osg/AnimationPath.html, - doc/doc++/osg/AnimationPathCallback.html, - doc/doc++/osg/ApplicationUsage.html, - doc/doc++/osg/ApplicationUsageProxy.html, - doc/doc++/osg/ArgumentParser.html, doc/doc++/osg/Array.html, - doc/doc++/osg/ArrayVisitor.html, - doc/doc++/osg/AttributeFunctor.html, - doc/doc++/osg/AutoTransform.html, doc/doc++/osg/Billboard.html, - doc/doc++/osg/BlendColor.html, doc/doc++/osg/BlendFunc.html, - doc/doc++/osg/BoundingBox.html, - doc/doc++/osg/BoundingSphere.html, doc/doc++/osg/Box.html, - doc/doc++/osg/COMPARE_StateAttribute_Parameter.html, - doc/doc++/osg/COMPARE_StateAttribute_Types.html, - doc/doc++/osg/Capsule.html, doc/doc++/osg/ClearNode.html, - doc/doc++/osg/ClipNode.html, doc/doc++/osg/ClipPlane.html, - doc/doc++/osg/ClusterCullingCallback.html, - doc/doc++/osg/CollectOccludersVisitor.html, - doc/doc++/osg/ColorMask.html, doc/doc++/osg/ColorMatrix.html, - doc/doc++/osg/CompositeShape.html, doc/doc++/osg/Cone.html, - doc/doc++/osg/ConstArrayVisitor.html, - doc/doc++/osg/ConstAttributeFunctor.html, - doc/doc++/osg/ConstShapeVisitor.html, - doc/doc++/osg/ConstValueVisitor.html, - doc/doc++/osg/ConvexHull.html, - doc/doc++/osg/ConvexPlanarOccluder.html, - doc/doc++/osg/ConvexPlanarPolygon.html, - doc/doc++/osg/CoordinateFrame.html, - doc/doc++/osg/CoordinateSystemNode.html, - doc/doc++/osg/CopyOp.html, doc/doc++/osg/CullFace.html, - doc/doc++/osg/CullSettings.html, doc/doc++/osg/CullStack.html, - doc/doc++/osg/CullingSet.html, doc/doc++/osg/Cylinder.html, - doc/doc++/osg/DatabaseRequestHandler.html, - doc/doc++/osg/DeleteHandler.html, doc/doc++/osg/Depth.html, - doc/doc++/osg/DisplaySettings.html, - doc/doc++/osg/DrawArrayLengths.html, - doc/doc++/osg/DrawArrays.html, - doc/doc++/osg/DrawElementsUByte.html, - doc/doc++/osg/DrawElementsUInt.html, - doc/doc++/osg/DrawElementsUShort.html, - doc/doc++/osg/DrawPixels.html, doc/doc++/osg/Drawable.html, - doc/doc++/osg/EllipsoidModel.html, doc/doc++/osg/Endian.html, - doc/doc++/osg/Extensions.2.html, doc/doc++/osg/Extensions.3.html, - doc/doc++/osg/Extensions.4.html, doc/doc++/osg/Extensions.5.html, - doc/doc++/osg/Extensions.6.html, doc/doc++/osg/Extensions.7.html, - doc/doc++/osg/Extensions.8.html, doc/doc++/osg/Extensions.html, - doc/doc++/osg/Fog.html, doc/doc++/osg/FragmentProgram.html, - doc/doc++/osg/FrameStamp.html, doc/doc++/osg/FrontFace.html, - doc/doc++/osg/General.html, doc/doc++/osg/Geode.html, - doc/doc++/osg/Geometry.html, doc/doc++/osg/Group.html, - doc/doc++/osg/HIER.html, doc/doc++/osg/HIERjava.html, - doc/doc++/osg/HeightField.html, doc/doc++/osg/Image.html, - doc/doc++/osg/ImageStream.html, doc/doc++/osg/Impostor.html, - doc/doc++/osg/ImpostorSprite.html, - doc/doc++/osg/ImpostorSpriteManager.html, - doc/doc++/osg/IndexArray.html, doc/doc++/osg/InfinitePlane.html, - doc/doc++/osg/LOD.html, doc/doc++/osg/Light.html, - doc/doc++/osg/LightModel.html, doc/doc++/osg/LightSource.html, - doc/doc++/osg/LineSegment.html, doc/doc++/osg/LineStipple.html, - doc/doc++/osg/LineWidth.html, doc/doc++/osg/META_Node.html, - doc/doc++/osg/META_Object.html, doc/doc++/osg/META_Shape.html, - doc/doc++/osg/META_StateAttribute.html, - doc/doc++/osg/Material.html, doc/doc++/osg/MatrixTransform.html, - doc/doc++/osg/Matrixd.html, doc/doc++/osg/Matrixf.html, - doc/doc++/osg/Multisample.html, doc/doc++/osg/Node.html, - doc/doc++/osg/NodeAcceptOp.html, doc/doc++/osg/NodeCallback.html, - doc/doc++/osg/NodePath.html, doc/doc++/osg/NodeVisitor.html, - doc/doc++/osg/NotifySeverity.html, - doc/doc++/osg/OSGUTX_ADD_TESTCASE.html, - doc/doc++/osg/OSGUTX_ADD_TESTSUITE.html, - doc/doc++/osg/OSGUTX_AUTOREGISTER_TESTSUITE.html, - doc/doc++/osg/OSGUTX_AUTOREGISTER_TESTSUITE_AT.html, - doc/doc++/osg/OSGUTX_BEGIN_TESTSUITE.html, - doc/doc++/osg/OSGUTX_END_TESTSUITE.html, - doc/doc++/osg/OSGUTX_TESTSUITE.html, - doc/doc++/osg/OSGUTX_TEST_E.html, - doc/doc++/osg/OSGUTX_TEST_F.html, - doc/doc++/osg/OSG_GL_DEBUG.html, doc/doc++/osg/Object.html, - doc/doc++/osg/OccluderNode.html, doc/doc++/osg/PagedLOD.html, - doc/doc++/osg/Parameter.html, doc/doc++/osg/Plane.html, - doc/doc++/osg/Point.html, doc/doc++/osg/PointSprite.html, - doc/doc++/osg/PolygonMode.html, doc/doc++/osg/PolygonOffset.html, - doc/doc++/osg/PolygonStipple.html, doc/doc++/osg/Polytope.html, - doc/doc++/osg/PositionAttitudeTransform.html, - doc/doc++/osg/PrimitiveFunctor.html, - doc/doc++/osg/PrimitiveIndexFunctor.html, - doc/doc++/osg/PrimitiveSet.html, doc/doc++/osg/Projection.html, - doc/doc++/osg/QualifiedTestPrinter.html, doc/doc++/osg/Quat.html, - doc/doc++/osg/RefMatrixd.html, doc/doc++/osg/RefMatrixf.html, - doc/doc++/osg/Referenced.html, doc/doc++/osg/Sequence.html, - doc/doc++/osg/ShadeModel.html, - doc/doc++/osg/ShadowVolumeOccluder.html, - doc/doc++/osg/ShadowVolumeOccluderList.html, - doc/doc++/osg/Shape.html, doc/doc++/osg/ShapeDrawable.html, - doc/doc++/osg/ShapeVisitor.html, doc/doc++/osg/Sphere.html, - doc/doc++/osg/State.html, doc/doc++/osg/StateAttribute.html, - doc/doc++/osg/StateSet.html, doc/doc++/osg/Stencil.html, - doc/doc++/osg/SubloadCallback.2.html, - doc/doc++/osg/SubloadCallback.3.html, - doc/doc++/osg/SubloadCallback.4.html, - doc/doc++/osg/SubloadCallback.5.html, - doc/doc++/osg/SubloadCallback.html, doc/doc++/osg/Switch.html, - doc/doc++/osg/TemplateArray.html, - doc/doc++/osg/TemplateIndexArray.html, - doc/doc++/osg/TessellationHints.html, doc/doc++/osg/Test.html, - doc/doc++/osg/TestCase.html, doc/doc++/osg/TestCase_.html, - doc/doc++/osg/TestContext.html, doc/doc++/osg/TestErrorX.html, - doc/doc++/osg/TestFailureX.html, doc/doc++/osg/TestGraph.html, - doc/doc++/osg/TestQualifier.html, doc/doc++/osg/TestRecord.html, - doc/doc++/osg/TestReport.html, doc/doc++/osg/TestRunner.html, - doc/doc++/osg/TestSuite.html, - doc/doc++/osg/TestSuiteAutoRegistrationAgent.html, - doc/doc++/osg/TestVisitor.html, doc/doc++/osg/TestX.html, - doc/doc++/osg/TexEnv.html, doc/doc++/osg/TexEnvCombine.html, - doc/doc++/osg/TexGen.html, doc/doc++/osg/TexGenNode.html, - doc/doc++/osg/TexMat.html, doc/doc++/osg/Texture.html, - doc/doc++/osg/Texture1D.html, doc/doc++/osg/Texture2D.html, - doc/doc++/osg/Texture3D.html, doc/doc++/osg/TextureCubeMap.html, - doc/doc++/osg/TextureObject.html, - doc/doc++/osg/TextureObjectManager.html, - doc/doc++/osg/TextureRectangle.html, doc/doc++/osg/Timer.html, - doc/doc++/osg/TraceStream.html, doc/doc++/osg/Transform.html, - doc/doc++/osg/TriangleFunctor.html, - doc/doc++/osg/TriangleIndexFunctor.html, - doc/doc++/osg/TriangleMesh.html, doc/doc++/osg/UByte4.html, - doc/doc++/osg/ValueVisitor.html, doc/doc++/osg/Vec2d.html, - doc/doc++/osg/Vec2f.html, doc/doc++/osg/Vec3d.html, - doc/doc++/osg/Vec3f.html, doc/doc++/osg/Vec4d.html, - doc/doc++/osg/Vec4f.html, doc/doc++/osg/VectorSizei.2.html, - doc/doc++/osg/VectorSizei.html, doc/doc++/osg/VectorUByte.2.html, - doc/doc++/osg/VectorUByte.html, doc/doc++/osg/VectorUInt.2.html, - doc/doc++/osg/VectorUInt.html, doc/doc++/osg/VectorUShort.2.html, - doc/doc++/osg/VectorUShort.html, - doc/doc++/osg/VertexProgram.html, doc/doc++/osg/Viewport.html, - doc/doc++/osg/buffered_object.html, - doc/doc++/osg/buffered_value.html, - doc/doc++/osg/clampArray3BetweenRange.html, - doc/doc++/osg/clampArray3GEQUAL.html, - doc/doc++/osg/clampArray3LEQUAL.html, - doc/doc++/osg/clampArray4BetweenRange.html, - doc/doc++/osg/clampArray4GEQUAL.html, - doc/doc++/osg/clampArray4LEQUAL.html, - doc/doc++/osg/clampArrayElementBetweenRange.html, - doc/doc++/osg/clampArrayElementGEQUAL.html, - doc/doc++/osg/clampArrayElementLEQUAL.html, - doc/doc++/osg/clampArrayElementsBetweenRange.html, - doc/doc++/osg/clampArrayElementsGEQUAL.html, - doc/doc++/osg/clampArrayElementsLEQUAL.html, - doc/doc++/osg/clampBetweenRange.html, - doc/doc++/osg/clampGEQUAL.html, doc/doc++/osg/clampLEQUAL.html, - doc/doc++/osg/computeEyeToLocal.html, - doc/doc++/osg/computeLocalToEye.html, - doc/doc++/osg/computeLocalToWorld.html, - doc/doc++/osg/computeWorldToLocal.html, - doc/doc++/osg/createGeodeForImage.2.html, - doc/doc++/osg/createGeodeForImage.html, - doc/doc++/osg/createTexturedQuadGeometry.2.html, - doc/doc++/osg/createTexturedQuadGeometry.html, - doc/doc++/osg/fast_back_stack.html, - doc/doc++/osg/getGLExtensionDisableString.html, - doc/doc++/osg/getGLExtensionFuncPtr.2.html, - doc/doc++/osg/getGLExtensionFuncPtr.html, - doc/doc++/osg/getNotifyLevel.html, doc/doc++/osg/index.html, - doc/doc++/osg/initNotifyLevel.html, - doc/doc++/osg/isGLExtensionSupported.html, - doc/doc++/osg/isGLUExtensionSupported.html, - doc/doc++/osg/notify.html, doc/doc++/osg/operator.2.html, - doc/doc++/osg/operator.3.html, doc/doc++/osg/operator.4.html, - doc/doc++/osg/operator.html, doc/doc++/osg/osg.html, - doc/doc++/osg/osgGetLibraryName.html, - doc/doc++/osg/osgGetVersion.html, doc/doc++/osg/osgUtx.html, - doc/doc++/osg/ref_ptr.html, - doc/doc++/osg/setGLExtensionDisableString.html, - doc/doc++/osg/setNotifyLevel.html, doc/doc++/osgDB/Block.html, - doc/doc++/osgDB/CaseSensitivity.html, - doc/doc++/osgDB/DatabasePager.html, - doc/doc++/osgDB/DirectoryContents.html, - doc/doc++/osgDB/DotOsgWrapper.html, - doc/doc++/osgDB/DynamicLibrary.html, doc/doc++/osgDB/Field.html, - doc/doc++/osgDB/FieldReader.html, - doc/doc++/osgDB/FieldReaderIterator.html, - doc/doc++/osgDB/FilePathList.html, doc/doc++/osgDB/FileType.html, - doc/doc++/osgDB/General.html, doc/doc++/osgDB/HIER.html, - doc/doc++/osgDB/HIERjava.html, doc/doc++/osgDB/ImageOptions.html, - doc/doc++/osgDB/Input.html, doc/doc++/osgDB/Options.html, - doc/doc++/osgDB/Output.html, - doc/doc++/osgDB/ParameterOutput.html, - doc/doc++/osgDB/PushAndPopDataPath.html, - doc/doc++/osgDB/ReadFileCallback.html, - doc/doc++/osgDB/ReadResult.html, - doc/doc++/osgDB/ReaderWriter.html, - doc/doc++/osgDB/RegisterDotOsgWrapperProxy.html, - doc/doc++/osgDB/RegisterReaderWriterProxy.html, - doc/doc++/osgDB/Registry.html, - doc/doc++/osgDB/SharedStateManager.html, - doc/doc++/osgDB/WriteFileCallback.html, - doc/doc++/osgDB/WriteResult.html, - doc/doc++/osgDB/basic_type_wrapper.html, - doc/doc++/osgDB/fileExists.html, doc/doc++/osgDB/fileType.2.html, - doc/doc++/osgDB/findFileInDirectory.html, - doc/doc++/osgDB/findFileInPath.html, - doc/doc++/osgDB/getDirectoryContents.html, - doc/doc++/osgDB/index.html, doc/doc++/osgDB/osgDB.html, - doc/doc++/osgDB/osgDBGetLibraryName.html, - doc/doc++/osgDB/osgDBGetVersion.html, - doc/doc++/osgDB/readCommandLine.html, - doc/doc++/osgDB/readHeightFieldFile.2.html, - doc/doc++/osgDB/readHeightFieldFile.html, - doc/doc++/osgDB/readImageFile.2.html, - doc/doc++/osgDB/readImageFile.html, - doc/doc++/osgDB/readNodeFile.2.html, - doc/doc++/osgDB/readNodeFile.html, - doc/doc++/osgDB/readNodeFiles.2.html, - doc/doc++/osgDB/readNodeFiles.3.html, - doc/doc++/osgDB/readNodeFiles.4.html, - doc/doc++/osgDB/readNodeFiles.html, - doc/doc++/osgDB/readObjectFile.2.html, - doc/doc++/osgDB/readObjectFile.html, - doc/doc++/osgDB/type_wrapper.html, - doc/doc++/osgDB/writeHeightFieldFile.html, - doc/doc++/osgDB/writeImageFile.html, - doc/doc++/osgDB/writeNodeFile.html, - doc/doc++/osgDB/writeObjectFile.html, - doc/doc++/osgFX/AnisotropicLighting.html, - doc/doc++/osgFX/BumpMapping.html, doc/doc++/osgFX/Cartoon.html, - doc/doc++/osgFX/Effect.html, doc/doc++/osgFX/General.html, - doc/doc++/osgFX/HIER.html, doc/doc++/osgFX/HIERjava.html, - doc/doc++/osgFX/META_Effect.html, - doc/doc++/osgFX/META_Technique.html, - doc/doc++/osgFX/Registry.html, doc/doc++/osgFX/Scribe.html, - doc/doc++/osgFX/SpecularHighlights.html, - doc/doc++/osgFX/Technique.html, doc/doc++/osgFX/Validator.html, - doc/doc++/osgFX/index.html, doc/doc++/osgFX/osgFX.html, - doc/doc++/osgGA/AnimationPathManipulator.html, - doc/doc++/osgGA/CompositeGUIEventHandler.html, - doc/doc++/osgGA/CoordinateFrameCallback.html, - doc/doc++/osgGA/DriveManipulator.html, - doc/doc++/osgGA/FlightManipulator.html, - doc/doc++/osgGA/GUIActionAdapter.html, - doc/doc++/osgGA/GUIEventAdapter.html, - doc/doc++/osgGA/GUIEventHandler.html, - doc/doc++/osgGA/GUIEventHandlerVisitor.html, - doc/doc++/osgGA/General.html, doc/doc++/osgGA/HIER.html, - doc/doc++/osgGA/HIERjava.html, - doc/doc++/osgGA/HoverManipulator.html, - doc/doc++/osgGA/KeySwitchMatrixManipulator.html, - doc/doc++/osgGA/MatrixManipulator.html, - doc/doc++/osgGA/SetSceneViewVisitor.html, - doc/doc++/osgGA/StateSetManipulator.html, - doc/doc++/osgGA/TerrainManipulator.html, - doc/doc++/osgGA/TrackballManipulator.html, - doc/doc++/osgGA/TrackerManipulator.html, - doc/doc++/osgGA/index.html, doc/doc++/osgGA/osgGA.html, - doc/doc++/osgGA/osgGAGetLibraryName.html, - doc/doc++/osgGA/osgGAGetVersion.html, - doc/doc++/osgGA/spaceosgGA.html, - doc/doc++/osgGL2/Extensions.html, doc/doc++/osgGL2/General.html, - doc/doc++/osgGL2/HIER.html, doc/doc++/osgGL2/HIERjava.html, - doc/doc++/osgGL2/PerContextProgObj.html, - doc/doc++/osgGL2/PerContextShaderObj.html, - doc/doc++/osgGL2/ProgramObject.html, - doc/doc++/osgGL2/ShaderObject.html, - doc/doc++/osgGL2/UniformValue.html, - doc/doc++/osgGL2/UniformValueTemplate.html, - doc/doc++/osgGL2/index.html, doc/doc++/osgGL2/osgGL2.html, - doc/doc++/osgParticle/AccelOperator.html, - doc/doc++/osgParticle/AngularAccelOperator.html, - doc/doc++/osgParticle/CenteredPlacer.html, - doc/doc++/osgParticle/Counter.html, - doc/doc++/osgParticle/Emitter.html, - doc/doc++/osgParticle/ExplosionEffect.html, - doc/doc++/osgParticle/FireEffect.html, - doc/doc++/osgParticle/FluidFrictionOperator.html, - doc/doc++/osgParticle/ForceOperator.html, - doc/doc++/osgParticle/General.html, - doc/doc++/osgParticle/HIER.html, - doc/doc++/osgParticle/HIERjava.html, - doc/doc++/osgParticle/Interpolator.html, - doc/doc++/osgParticle/LinearInterpolator.html, - doc/doc++/osgParticle/ModularEmitter.html, - doc/doc++/osgParticle/ModularProgram.html, - doc/doc++/osgParticle/MultiSegmentPlacer.html, - doc/doc++/osgParticle/Operator.html, - doc/doc++/osgParticle/Particle.html, - doc/doc++/osgParticle/ParticleEffect.html, - doc/doc++/osgParticle/ParticleProcessor.html, - doc/doc++/osgParticle/ParticleSystem.html, - doc/doc++/osgParticle/ParticleSystemUpdater.html, - doc/doc++/osgParticle/Placer.html, - doc/doc++/osgParticle/PointPlacer.html, - doc/doc++/osgParticle/Program.html, - doc/doc++/osgParticle/RadialShooter.html, - doc/doc++/osgParticle/RandomRateCounter.html, - doc/doc++/osgParticle/SectorPlacer.html, - doc/doc++/osgParticle/SegmentPlacer.html, - doc/doc++/osgParticle/Shooter.html, - doc/doc++/osgParticle/SmokeEffect.html, - doc/doc++/osgParticle/VariableRateCounter.html, - doc/doc++/osgParticle/index.html, - doc/doc++/osgParticle/osgParticle.html, - doc/doc++/osgParticle/range.html, - doc/doc++/osgParticle/rangef.html, - doc/doc++/osgParticle/rangev2.html, - doc/doc++/osgParticle/rangev3.html, - doc/doc++/osgParticle/rangev4.html, - doc/doc++/osgProducer/Callback.html, - doc/doc++/osgProducer/EventAdapter.html, - doc/doc++/osgProducer/General.html, - doc/doc++/osgProducer/HIER.html, - doc/doc++/osgProducer/HIERjava.html, - doc/doc++/osgProducer/KeyboardMouseCallback.html, - doc/doc++/osgProducer/OsgCameraGroup.html, - doc/doc++/osgProducer/OsgSceneHandler.html, - doc/doc++/osgProducer/RealizeCallback.html, - doc/doc++/osgProducer/Viewer.html, - doc/doc++/osgProducer/ViewerEventHandler.html, - doc/doc++/osgProducer/index.html, - doc/doc++/osgProducer/osgProducer.html, - doc/doc++/osgProducer/osgProducerGetLibraryName.html, - doc/doc++/osgProducer/osgProducerGetVersion.html, - doc/doc++/osgSim/AzimElevationSector.html, - doc/doc++/osgSim/AzimRange.html, - doc/doc++/osgSim/AzimSector.html, - doc/doc++/osgSim/BlinkSequence.html, - doc/doc++/osgSim/ColorRange.html, - doc/doc++/osgSim/ConeSector.html, - doc/doc++/osgSim/DOFTransform.html, - doc/doc++/osgSim/DirectionalSector.html, - doc/doc++/osgSim/ElevationRange.html, - doc/doc++/osgSim/ElevationSector.html, - doc/doc++/osgSim/General.html, - doc/doc++/osgSim/GeographicLocation.html, - doc/doc++/osgSim/HIER.html, doc/doc++/osgSim/HIERjava.html, - doc/doc++/osgSim/LightPoint.html, - doc/doc++/osgSim/LightPointNode.html, - doc/doc++/osgSim/LightPointSystem.html, - doc/doc++/osgSim/MultiSwitch.html, - doc/doc++/osgSim/ScalarBar.html, - doc/doc++/osgSim/ScalarsToColors.html, - doc/doc++/osgSim/Sector.html, - doc/doc++/osgSim/SequenceGroup.html, - doc/doc++/osgSim/SphereSegment.html, - doc/doc++/osgSim/VisibilityGroup.html, - doc/doc++/osgSim/index.html, doc/doc++/osgSim/osgSim.html, - doc/doc++/osgSim/osgSimGetLibraryName.html, - doc/doc++/osgSim/osgSimGetVersion.html, doc/doc++/osgTerrain, - doc/doc++/osgTerrain/ClassGraph.class, - doc/doc++/osgTerrain/ClassGraphPanel.class, - doc/doc++/osgTerrain/ClassLayout.class, - doc/doc++/osgTerrain/CompositeDestination.html, - doc/doc++/osgTerrain/CompositeSource.html, - doc/doc++/osgTerrain/DataSet.html, - doc/doc++/osgTerrain/DestinationTile.html, - doc/doc++/osgTerrain/General.html, - doc/doc++/osgTerrain/HIER.html, - doc/doc++/osgTerrain/HIERjava.html, - doc/doc++/osgTerrain/HeightFieldNode.html, - doc/doc++/osgTerrain/HeightFieldRenderer.html, - doc/doc++/osgTerrain/NavigatorButton.class, - doc/doc++/osgTerrain/Source.html, - doc/doc++/osgTerrain/base_source_iterator.html, - doc/doc++/osgTerrain/icon1.gif, doc/doc++/osgTerrain/icon2.gif, - doc/doc++/osgTerrain/index.html, - doc/doc++/osgTerrain/iterator.html, - doc/doc++/osgTerrain/osgTerrain.html, - doc/doc++/osgTerrain/osgTerrainGetLibraryName.html, - doc/doc++/osgTerrain/osgTerrainGetVersion.html, - doc/doc++/osgText/Font.html, - doc/doc++/osgText/FontImplementation.html, - doc/doc++/osgText/General.html, doc/doc++/osgText/Glyph.html, - doc/doc++/osgText/GlyphTexture.html, doc/doc++/osgText/HIER.html, - doc/doc++/osgText/HIERjava.html, - doc/doc++/osgText/KerningType.html, - doc/doc++/osgText/String.html, doc/doc++/osgText/Text.html, - doc/doc++/osgText/VectorUInt.2.html, - doc/doc++/osgText/VectorUInt.html, doc/doc++/osgText/index.html, - doc/doc++/osgText/osgText.html, - doc/doc++/osgText/osgTextGetLibraryName.html, - doc/doc++/osgText/osgTextGetVersion.html, - doc/doc++/osgText/readFontFile.html, - doc/doc++/osgUtil/CheckGeometryVisitor.html, - doc/doc++/osgUtil/CombineLODsVisitor.html, - doc/doc++/osgUtil/CombineStaticTransformsVisitor.html, - doc/doc++/osgUtil/ContinueSimplificationCallback.html, - doc/doc++/osgUtil/CopySharedSubgraphsVisitor.html, - doc/doc++/osgUtil/CubeMapGenerator.html, - doc/doc++/osgUtil/CullVisitor.html, - doc/doc++/osgUtil/DelaunayTriangulator.html, - doc/doc++/osgUtil/DisplayRequirementsVisitor.html, - doc/doc++/osgUtil/FlattenStaticTransformsVisitor.html, - doc/doc++/osgUtil/GLObjectsVisitor.html, - doc/doc++/osgUtil/General.html, doc/doc++/osgUtil/HIER.html, - doc/doc++/osgUtil/HIERjava.html, - doc/doc++/osgUtil/HalfWayMapGenerator.html, - doc/doc++/osgUtil/HighlightMapGenerator.html, - doc/doc++/osgUtil/Hit.html, - doc/doc++/osgUtil/InsertImpostorsVisitor.html, - doc/doc++/osgUtil/IntersectState.html, - doc/doc++/osgUtil/IntersectVisitor.html, - doc/doc++/osgUtil/LeafDepthSortFunctor.html, - doc/doc++/osgUtil/MergeGeometryVisitor.html, - doc/doc++/osgUtil/Optimizer.html, - doc/doc++/osgUtil/ReflectionMapGenerator.html, - doc/doc++/osgUtil/RegisterRenderBinProxy.html, - doc/doc++/osgUtil/RemoveEmptyNodesVisitor.html, - doc/doc++/osgUtil/RemoveRedundantNodesVisitor.html, - doc/doc++/osgUtil/RenderBin.html, - doc/doc++/osgUtil/RenderGraph.html, - doc/doc++/osgUtil/RenderLeaf.html, - doc/doc++/osgUtil/RenderStage.html, - doc/doc++/osgUtil/RenderStageLighting.html, - doc/doc++/osgUtil/RenderToTextureStage.html, - doc/doc++/osgUtil/SceneView.html, - doc/doc++/osgUtil/Simplifier.html, - doc/doc++/osgUtil/SmoothingVisitor.html, - doc/doc++/osgUtil/SpatializeGroupsVisitor.html, - doc/doc++/osgUtil/StateVisitor.html, - doc/doc++/osgUtil/Statistics.html, - doc/doc++/osgUtil/TangentSpaceGenerator.html, - doc/doc++/osgUtil/TesselateVisitor.html, - doc/doc++/osgUtil/Tesselator.html, - doc/doc++/osgUtil/TextureVisitor.html, - doc/doc++/osgUtil/TransformAttributeFunctor.html, - doc/doc++/osgUtil/TransformCallback.html, - doc/doc++/osgUtil/TriStripVisitor.html, - doc/doc++/osgUtil/UpdateVisitor.html, - doc/doc++/osgUtil/index.html, doc/doc++/osgUtil/osgUtil.html, - doc/doc++/osgUtil/osgUtilGetLibraryName.html, - doc/doc++/osgUtil/osgUtilGetVersion.html, doc/documentation.html: - Updated docs - -2004-08-06 05:28 robert - - * include/osg/CoordinateSystemNode: Typo fixes from Geoff Michel - -2004-08-06 05:25 robert - - * examples/osgdem/osgdem.cpp, - examples/osgpointsprite/osgpointsprite.cpp, - include/osgTerrain/DataSet: From Bruce Clay, Build fixes for - Win32 VS6.0 - -2004-08-05 15:15 robert - - * include/osg/AutoTransform, src/osg/AutoTransform.cpp: From Jay - Zuckerman, fixes to AutoTransform so that it includes checking of - previous position value. - -2004-08-05 15:14 robert - - * include/osgFX/Validator, src/osgFX/Validator.cpp: From Marco Jez, - updates to work with latest StateAttrbiute::compileGLObjects - method - -2004-08-05 15:02 robert - - * src/osgUtil/CullVisitor.cpp: From Marco Jez, commented out info - debugging messages - -2004-08-05 13:41 robert - - * src/osgPlugins/lib3ds/tracks.cpp, - src/osgPlugins/txp/trpage_sys.h: From Marco Jez, VS.NET warning - fixes. - -2004-08-05 12:47 robert - - * src/osgUtil/CullVisitor.cpp: Changed the popProjectionMatrix so - that it didn't allow modification on the near - and far values when clamping the projection matrix. - -2004-08-05 10:01 robert - - * include/osgProducer/OsgCameraGroup, - src/osgProducer/OsgCameraGroup.cpp, - src/osgProducer/OsgSceneHandler.cpp: 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. - -2004-08-05 08:02 robert - - * NEWS.txt, src/osg/Version.cpp, src/osgDB/Version.cpp, - src/osgGA/Version.cpp, src/osgGL2/Version.cpp, - src/osgParticle/Version.cpp, src/osgProducer/Version.cpp, - src/osgSim/Version.cpp, src/osgTerrain/Version.cpp, - src/osgText/Version.cpp, src/osgUtil/Version.cpp: Set version - numbers for 0.9.7 release +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..." -2004-08-04 10:22 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 - * doc/dependencies.html: Added GDAL to dependencies list -2004-08-04 10:03 robert - * Make/makedefs, src/osgPlugins/freetype/GNUmakefile: Cleaned up - the gdal-config usage to work with gdal-1.1.9 +Mon, 21 Jul 2008 22:38:11 +0000 +Checked in by : Robert Osfield +Removed the reducent non const get methods -2004-08-04 09:20 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"))); - * Make/dependencies, Make/makedefs: Added support for setting - custom dependencies +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. -2004-08-04 08:27 robert +(The attached also clarifies some notify messages, and corrects the comment when adding the handler in osgviewer.cpp) - * Make/dependencies, Make/makedefs, NEWS.txt, - examples/osgcluster/broadcaster.cpp, - examples/osgcluster/broadcaster.h, - examples/osgcluster/osgcluster.cpp, - examples/osgcluster/receiver.cpp, examples/osgcluster/receiver.h, - examples/osgdem/GNUmakefile, include/osg/AnimationPath, - include/osg/Array, include/osg/AutoTransform, - include/osg/CoordinateSystemNode, include/osg/Vec2d, - include/osg/Vec2f, include/osg/Vec3d, include/osg/Vec3f, - include/osg/Vec4f, include/osgDB/ReadFile, include/osgText/Font, - include/osgText/String, include/osgUtil/CullVisitor, - include/osgUtil/SmoothingVisitor, - src/osgPlugins/directx/directx.h, - src/osgPlugins/gdal/GNUmakefile, src/osgPlugins/obj/glm.cpp, - src/osgPlugins/txp/trpage_sys.h, - src/osgProducer/KeyboardMouseCallback.cpp, - src/osgTerrain/GNUmakefile, src/osgText/DefaultFont.h, - src/osgText/String.cpp, src/osgText/Text.cpp, - src/osgUtil/SmoothingVisitor.cpp: From Norman Vine (with small - tweaks by Robert Osfield), build fixes for Cygwin +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. -2004-08-04 07:14 robert +" - * examples/osgpbuffer/osgpbuffer.cpp: From Brede Johansen, fixes - for Win32 build -2004-08-04 06:57 robert - * src/osgPlugins/pfb/ConvertFromPerformer.cpp: From Don Tidrow, - build fix for Peformer +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 -2004-08-03 19:01 robert +The errors belong all to a INLINE function definition. Find attached my +modified version." - * NEWS.txt: Brief update of news. -2004-08-03 19:00 robert - * include/osg/Quat: Fixed tabbing +Mon, 21 Jul 2008 21:17:05 +0000 +Checked in by : Robert Osfield +From Mario Valle, signed/unsgined warning fix -2004-08-03 19:00 robert +Mon, 21 Jul 2008 21:00:57 +0000 +Checked in by : Robert Osfield +Further work on osg::ImageSequence/osgDB::ImagePager - * examples/osgunittests/osgunittests.cpp: Added test for quat - multiplication ordering. +Mon, 21 Jul 2008 20:44:37 +0000 +Checked in by : Robert Osfield +Upated version number for dev release -2004-08-03 18:06 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) - * src/osg/Image.cpp: From Pavel Moloshtan, fix to Image copy - constructor so that it used the - correct size of image including mipmaps. +Mon, 21 Jul 2008 17:45:28 +0000 +Checked in by : Robert Osfield +Added call to OpenThreads::Thread::cancel(); -2004-08-03 12:38 robert +Mon, 21 Jul 2008 17:39:55 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/mpeg/MpegImageStream.cpp, - src/osgPlugins/quicktime/QuicktimeImageStream.cpp: Added include - of scoped lock +Mon, 21 Jul 2008 17:28:22 +0000 +Checked in by : Robert Osfield +Added basic image sequencing -2004-08-03 11:01 robert +Mon, 21 Jul 2008 17:27:59 +0000 +Checked in by : Robert Osfield +Added non const getAuthenticationMap(). - * include/osg/Export, include/osg/Referenced, - include/osg/StateAttribute, include/osg/Texture, - include/osgTerrain/DataSet, src/osg/Drawable.cpp, - src/osg/FragmentProgram.cpp, src/osg/Texture.cpp, - src/osg/VertexProgram.cpp, src/osgGL2/ProgramObject.cpp: Better - macro support for switching on/off use of mutex +Mon, 21 Jul 2008 16:17:41 +0000 +Checked in by : Robert Osfield +Moved the if (!buffer) check to infront of the memory initialization -2004-08-03 07:31 robert +Mon, 21 Jul 2008 15:05:08 +0000 +Checked in by : Robert Osfield +Added --login http authentication. - * examples/osgtesselate/osgtesselate.cpp: 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. +Mon, 21 Jul 2008 15:04:19 +0000 +Checked in by : Robert Osfield +Added --login url username password http authentication option -2004-08-02 15:56 robert +Mon, 21 Jul 2008 10:57:06 +0000 +Checked in by : Robert Osfield +Initial cut of osgimagesequence example - * examples/osgphotoalbum/PhotoArchive.cpp, - src/osgProducer/OsgCameraGroup.cpp: Fixed warnings +Mon, 21 Jul 2008 10:48:14 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode-project -2004-08-02 15:52 robert +Mon, 21 Jul 2008 10:10:01 +0000 +Checked in by : Robert Osfield +Added ImagePager first cut, and updated wrappers - * src/osgPlugins/txp/TXPParser.cpp: Fixed warning +Mon, 21 Jul 2008 09:55:15 +0000 +Checked in by : Robert Osfield +Added first cut of ImageStream IO wrapper -2004-08-02 14:52 robert +Mon, 21 Jul 2008 09:47:39 +0000 +Checked in by : Robert Osfield +First cut of osgDB::ImagePager for updating osg::ImageSequence - * examples/osgshaders/GL2Scene.cpp, - examples/osgvolume/osgvolume.cpp: Fixed warnigns +Mon, 21 Jul 2008 09:46:53 +0000 +Checked in by : Robert Osfield +First cut of osg::ImageSequence class -2004-08-02 14:52 robert +Fri, 18 Jul 2008 21:17:35 +0000 +Checked in by : Robert Osfield +From Adrain Elgi, added osgGA to link list - * src/osgGL2/ProgramObject.cpp, src/osgPlugins/flt/flt2osg.cpp, - src/osgPlugins/txp/TXPParser.cpp: Fixed warnings +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. -2004-08-02 14:42 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 - * include/osgUtil/TriStripVisitor, src/osgUtil/Simplifier.cpp: - Removed warings +Thu, 17 Jul 2008 14:25:04 +0000 +Checked in by : Robert Osfield +Updated version and AUTHORS.txt for 2.5.5 release -2004-08-02 13:57 robert +Thu, 17 Jul 2008 14:18:59 +0000 +Checked in by : Robert Osfield +Updated ChangeLog for 2.5.5 release - * src/osg/FragmentProgram.cpp, src/osg/PagedLOD.cpp, - src/osg/PointSprite.cpp, src/osg/Referenced.cpp, - src/osg/Texture.cpp, src/osg/VertexProgram.cpp: Fixed warnings +Thu, 17 Jul 2008 14:13:13 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-08-02 12:19 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 +" - * examples/osgdepthshadow/osgdepthshadow.cpp, - examples/osgdistortion/osgdistortion.cpp, - examples/osgprerender/osgprerender.cpp, - examples/osgprerendercubemap/osgprerendercubemap.cpp, - examples/osgshadowtexture/CreateShadowedScene.cpp, - include/osgUtil/CullVisitor, include/osgUtil/RenderBin, - include/osgUtil/RenderStage, include/osgUtil/SceneView, - src/osgUtil/CullVisitor.cpp: Made the member variables in - RenderStage and RenderBin protected -2004-08-02 09:30 robert - * src/osgUtil/SceneView.cpp: Added glReadBuffer after each instance - of glDrawBuffer to ensure that - the any reads are done to the appropriate buffer. +Thu, 17 Jul 2008 13:32:47 +0000 +Checked in by : Robert Osfield +Updated ChangeLog -2004-08-02 09:11 robert +Thu, 17 Jul 2008 13:23:43 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project - * VisualStudio/osgDB/osgDB.dsp, VisualStudio/osgGA/osgGA.dsp, - include/osg/ConvexPlanarOccluder, include/osg/GLExtensions, - include/osg/Shape, include/osgDB/ReaderWriter, - include/osgGA/GUIEventAdapter, - include/osgProducer/OsgCameraGroup, include/osgSim/ScalarBar, - src/osg/ConvexPlanarOccluder.cpp, src/osg/Shape.cpp, - src/osgDB/GNUmakefile, src/osgDB/ReaderWriter.cpp, - src/osgGA/DriveManipulator.cpp, src/osgGA/GNUmakefile, - src/osgGA/GUIEventAdapter.cpp, src/osgGA/GUIEventHandler.cpp, - src/osgPlugins/flt/AttrData.h, - src/osgPlugins/flt/GeoSetBuilder.cpp, - src/osgPlugins/flt/MeshPrimitiveRecord.cpp, - src/osgPlugins/flt/MeshRecord.cpp, src/osgPlugins/flt/Registry.h, - src/osgPlugins/flt/flt.h, src/osgProducer/OsgCameraGroup.cpp, - src/osgSim/ScalarBar.cpp: From Norman Vine, fixes for Mingw +Thu, 17 Jul 2008 12:26:42 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-08-02 07:25 robert +Thu, 17 Jul 2008 12:13:04 +0000 +Checked in by : Robert Osfield +Moved AuthenticalMap/AuthenticationDetails out in their own files - * include/osgParticle/SectorPlacer, include/osgParticle/range, - src/osgParticle/Particle.cpp: 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)." +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 -2004-08-02 07:23 robert +Wed, 16 Jul 2008 19:07:01 +0000 +Checked in by : Robert Osfield +Removed net plugin for Xcode projects - * Make/makedirdefs: Added osgtesselate example +Wed, 16 Jul 2008 16:19:54 +0000 +Checked in by : Robert Osfield +Moved .net plugin out into Deprecated section of osg svn repostitory -2004-08-01 10:36 robert +Wed, 16 Jul 2008 16:19:19 +0000 +Checked in by : Robert Osfield +Fixed path to font - * VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgtesselate, - VisualStudio/examples/osgtesselate/osgtesselate.dsp, - VisualStudio/examples/osgtesselate/resources.rc, - examples/osgtesselate, examples/osgtesselate/GNUmakefile, - examples/osgtesselate/GNUmakefile.inst, - examples/osgtesselate/osgtesselate.cpp, - include/osgUtil/Tesselator, src/osgUtil/Tesselator.cpp: From - Geoff Michel, new osgtesselate example, and new features in - osgUtil::Tesselator. +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. -2004-08-01 08:26 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. - * include/osg/Array, include/osg/TriangleFunctor, - include/osg/TriangleIndexFunctor, runexamples.bat, - src/osgPlugins/lwo/lwo2parser.h, - src/osgUtil/TriStrip_graph_array.h: Build fixes for gcc 3.4.1 - support +Wed, 16 Jul 2008 15:58:51 +0000 +Checked in by : Robert Osfield +Cleaned up the updateStateSet code -2004-08-01 04:10 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 - * VisualStudio/VisualStudio.dsw, VisualStudio/osgPlugins/iv, - src/osgPlugins/iv: Removed old iv plugin +Wed, 16 Jul 2008 13:29:35 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-08-01 04:06 robert +Wed, 16 Jul 2008 13:26:06 +0000 +Checked in by : Robert Osfield +Changed int's to unsigned int's to avoid warnings - * Make/makedefs: Added PROFILER support under Linux for gprof and - FunctionCheck +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.) -2004-07-30 15:44 robert +Wed, 16 Jul 2008 12:53:58 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode-project, included osgWidget-Framework - * VisualStudio/osgGA/osgGA.dsp, - examples/osglightpoint/osglightpoint.cpp, - examples/osgsimulation/osgsimulation.cpp, - include/osg/NodeVisitor, include/osgGA/TrackerManipulator, - include/osgProducer/Viewer, src/osgGA/GNUmakefile, - src/osgGA/TrackerManipulator.cpp: Added beginnings of new - TrackballManipulator +Wed, 16 Jul 2008 11:40:01 +0000 +Checked in by : Robert Osfield +Removed a division by precomputing the associated values -2004-07-29 14:24 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 - * examples/osgconv/GNUmakefile, examples/osgconv/GNUmakefile.inst: - Added osgText to makefile +Tue, 15 Jul 2008 22:13:35 +0000 +Checked in by : Robert Osfield +Added osgWidget wrappers -2004-07-29 10:13 robert +Tue, 15 Jul 2008 22:03:59 +0000 +Checked in by : Robert Osfield +Converted tabs to four spaces - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp: Added - detection and disabling of flattening of static transforms which - a - LightPointNode exists in the scene graph. +Tue, 15 Jul 2008 21:28:22 +0000 +Checked in by : Robert Osfield +Fixed typo -2004-07-28 19:56 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. - * include/osgGL2/ProgramObject, include/osgGL2/UniformValue, - src/osgGL2/ProgramObject.cpp, src/osgGL2/UniformValue.cpp: Fixed - compare(ProgramObject) and added UniformeValue::compare and - ShaderObject::compare - to support proper sorting of shaders. +Tue, 15 Jul 2008 19:42:49 +0000 +Checked in by : Robert Osfield +Fixed name of lib -2004-07-28 12:38 robert +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 - * src/osg/DrawPixels.cpp: Replaced GL_PACK_ROW_LENGTH by - GL_UNPACK_ROW_LENGTH +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." -2004-07-28 12:29 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 - * examples/osgdem/GNUmakefile, examples/osgdem/GNUmakefile.inst, - src/osgPlugins/gdal/GNUmakefile, src/osgTerrain/GNUmakefile: From - Corbin Holtz, addition of GDAL_INCLUDE and GDAL_LIB env vars for - setting - a non standard location of GDAL +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 -2004-07-28 12:27 robert +Tue, 15 Jul 2008 19:23:48 +0000 +Checked in by : Robert Osfield +Removed now redundent example - * src/osgPlugins/mpeg/MpegImageStream.cpp: Added initializer for - _videoWriteData and _rows pointers +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. " -2004-07-28 10:26 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." - * src/osgUtil/CullVisitor.cpp: Commented out debugging messages +Tue, 15 Jul 2008 18:12:17 +0000 +Checked in by : Robert Osfield +Fixed typo -2004-07-28 10:26 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 - * src/osgUtil/Optimizer.cpp: Fixed the flatten static transform - visitor so that it checks to see - if a drawable can be flattened or not. -2004-07-28 08:28 robert - * src/osgPlugins/mpeg/MpegImageStream.cpp, - src/osgPlugins/mpeg/MpegImageStream.h: Added double buffer of - video imagery so that the OpenGL never reads as Mpeg writes -2004-07-28 07:24 robert +Tue, 15 Jul 2008 14:24:46 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgText/Text.cpp: From David Fries, divide by zero fix on - text with a pixel size of 0.0 +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. -2004-07-27 15:14 robert - - * src/osgPlugins/quicktime/QuicktimeImageStream.cpp: Made the - static mutex a pointer to a static mutex to get round a exit - problem on deletion of the plugin. - -2004-07-27 13:32 robert - - * src/osg/TextureRectangle.cpp, - src/osgPlugins/mpeg/MpegImageStream.cpp, - src/osgPlugins/mpeg/MpegImageStream.h: Clean up of debugging - messages - -2004-07-27 13:24 robert - - * src/osg/Texture1D.cpp, src/osg/Texture2D.cpp, - src/osg/Texture3D.cpp, src/osg/TextureCubeMap.cpp, - src/osg/TextureRectangle.cpp: Fixed unref image so it only - unref's when images are STATIC - -2004-07-27 10:23 robert - - * src/osgPlugins/quicktime/QuicktimeImageStream.cpp, - src/osgPlugins/quicktime/QuicktimeImageStream.h, - src/osgPlugins/quicktime/ReaderWriterQT.cpp: Changes to fix - multiple thread start. - -2004-07-27 10:11 robert - - * include/osg/Referenced, include/osg/Texture, - include/osg/Texture1D, include/osg/Texture2D, - include/osg/Texture3D, include/osg/TextureCubeMap, - include/osg/TextureRectangle, src/osg/Image.cpp, - src/osg/ImageStream.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2D.cpp, src/osg/Texture3D.cpp, - src/osg/TextureCubeMap.cpp, src/osg/TextureRectangle.cpp: Added - support s/getImage(uint i) and getNumImages(). - -2004-07-27 09:04 robert - - * src/osgPlugins/mpeg/MpegImageStream.cpp, - src/osgPlugins/mpeg/MpegImageStream.h, - src/osgPlugins/mpeg/ReaderWriterMPEG.cpp: Fixed double thread - start problem. - -2004-07-26 19:40 robert - - * include/osg/CullSettings, include/osgUtil/CullVisitor, - src/osgUtil/CullVisitor.cpp: Made the handling of types more - consistent - -2004-07-26 14:25 robert - - * src/osgProducer/ViewerEventHandler.cpp: Added setting of - block_on_vsync of both CameraGroup and all the Camera's that it - contains. - -2004-07-25 18:46 robert - - * include/osg/Matrixf: Changed value_type back to being a float. - -2004-07-23 10:03 robert - - * VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osganimate/osganimate.dsp, - VisualStudio/examples/osgautotransform/osgautotransform.dsp, - VisualStudio/examples/osgbillboard/osgbillboard.dsp, - VisualStudio/examples/osgbluemarble/osgbluemarble.dsp, - VisualStudio/examples/osgcallback/osgcallback.dsp, - VisualStudio/examples/osgcameragroup/osgcameragroup.dsp, - VisualStudio/examples/osgclip/osgclip.dsp, - VisualStudio/examples/osgcluster/osgcluster.dsp, - VisualStudio/examples/osgconv/osgconv.dsp, - VisualStudio/examples/osgcopy/osgcopy.dsp, - VisualStudio/examples/osgcubemap/osgcubemap.dsp, - VisualStudio/examples/osgdem/osgdem.dsp, - VisualStudio/examples/osgdepthshadow/osgdepthshadow.dsp, - VisualStudio/examples/osgdistortion/osgdistortion.dsp, - VisualStudio/examples/osgforest/osgforest.dsp, - VisualStudio/examples/osgfxbrowser/osgfxbrowser.dsp, - VisualStudio/examples/osggeodemo/osggeodemo.dsp, - VisualStudio/examples/osggeometry/osggeometry.dsp, - VisualStudio/examples/osghangglide/osghangglide.dsp, - VisualStudio/examples/osghud/osghud.dsp, - VisualStudio/examples/osgimpostor/osgimpostor.dsp, - VisualStudio/examples/osgkeyboard/osgkeyboard.dsp, - VisualStudio/examples/osgkeyboardmouse/osgkeyboardmouse.dsp, - VisualStudio/examples/osglight/osglight.dsp, - VisualStudio/examples/osglightpoint/osglightpoint.dsp, - VisualStudio/examples/osglogo/osglogo.dsp, - VisualStudio/examples/osgmultitexture/osgmultitexture.dsp, - VisualStudio/examples/osgoccluder/osgoccluder.dsp, - VisualStudio/examples/osgparticle/osgparticledemo.dsp, - VisualStudio/examples/osgpbuffer/osgpbuffer.dsp, - VisualStudio/examples/osgphotoalbum/osgphotoalbum.dsp, - VisualStudio/examples/osgpick/osgpick.dsp, - VisualStudio/examples/osgpointsprite/osgpointsprite.dsp, - VisualStudio/examples/osgprerender/osgprerender.dsp, - VisualStudio/examples/osgprerendercubemap/osgprerendercubemap.dsp, - VisualStudio/examples/osgreflect/osgreflect.dsp, - VisualStudio/examples/osgscalarbar/osgscalarbar.dsp, - VisualStudio/examples/osgscribe/osgscribe.dsp, - VisualStudio/examples/osgsequence/osgsequence.dsp, - VisualStudio/examples/osgshaders/osgshaders.dsp, - VisualStudio/examples/osgshadowtexture/osgshadowtexture.dsp, - VisualStudio/examples/osgshape/osgshape.dsp, - VisualStudio/examples/osgsimple/osgsimple.dsp, - VisualStudio/examples/osgsimplepager/osgsimplepager.dsp, - VisualStudio/examples/osgsimplifier/osgsimplifier.dsp, - VisualStudio/examples/osgsimulation/osgsimulation.dsp, - VisualStudio/examples/osgspheresegment/osgspheresegment.dsp, - VisualStudio/examples/osgstereoimage/osgstereoimage.dsp, - VisualStudio/examples/osgteapot/osgteapot.dsp, - VisualStudio/examples/osgtext/osgtextdemo.dsp, - VisualStudio/examples/osgtexture1D/osgtexture1D.dsp, - VisualStudio/examples/osgtexture2D/osgtexture2D.dsp, - VisualStudio/examples/osgtexture3D/osgtexture3D.dsp, - VisualStudio/examples/osgtexturerectangle/osgtexturerectangle.dsp, - VisualStudio/examples/osgunittests/osgunittests.dsp, - VisualStudio/examples/osgversion/osgversion.dsp, - VisualStudio/examples/osgvertexprogram/osgvertexprogram.dsp, - VisualStudio/examples/osgviewer/osgviewer.dsp, - VisualStudio/examples/osgvolume/osgvolume.dsp, - VisualStudio/examples/osgwindows/osgwindows.dsp, - VisualStudio/osg/osg.dsp, VisualStudio/osgDB/osgDB.dsp, - VisualStudio/osgFX/osgFX.dsp, VisualStudio/osgGA/osgGA.dsp, - VisualStudio/osgGL2/osgGL2.dsp, - VisualStudio/osgParticle/osgParticle.dsp, - VisualStudio/osgPlugins/3dc/3dc.dsp, - VisualStudio/osgPlugins/ac3d/ac3d.dsp, - VisualStudio/osgPlugins/bmp/bmp.dsp, - VisualStudio/osgPlugins/dds/dds.dsp, - VisualStudio/osgPlugins/directx/directx.dsp, - VisualStudio/osgPlugins/dw/dw.dsp, - VisualStudio/osgPlugins/flt/flt.dsp, - VisualStudio/osgPlugins/freetype/freetype.dsp, - VisualStudio/osgPlugins/gdal/gdal.dsp, - VisualStudio/osgPlugins/geo/geo.dsp, - VisualStudio/osgPlugins/gif/gif.dsp, - VisualStudio/osgPlugins/iv/iv.dsp, - VisualStudio/osgPlugins/ive/ive.dsp, - VisualStudio/osgPlugins/jpeg/jpeg.dsp, - VisualStudio/osgPlugins/lib3ds/lib3ds.dsp, - VisualStudio/osgPlugins/logo/logo.dsp, - VisualStudio/osgPlugins/lwo/lwo.dsp, - VisualStudio/osgPlugins/lws/lws.dsp, - VisualStudio/osgPlugins/md2/md2.dsp, - VisualStudio/osgPlugins/obj/obj.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, - VisualStudio/osgPlugins/osgFX/dot_osgFX.dsp, - VisualStudio/osgPlugins/osgParticle/dot_osgParticle.dsp, - VisualStudio/osgPlugins/osgSim/dot_osgSim.dsp, - VisualStudio/osgPlugins/osgText/dot_osgText.dsp, - VisualStudio/osgPlugins/osgtgz/osgtgz.dsp, - VisualStudio/osgPlugins/pic/pic.dsp, - VisualStudio/osgPlugins/png/png.dsp, - VisualStudio/osgPlugins/pnm/pnm.dsp, - VisualStudio/osgPlugins/rgb/rgb.dsp, - VisualStudio/osgPlugins/rot/rot.dsp, - VisualStudio/osgPlugins/scale/scale.dsp, - VisualStudio/osgPlugins/tga/tga.dsp, - VisualStudio/osgPlugins/tgz/tgz.dsp, - VisualStudio/osgPlugins/tiff/tiff.dsp, - VisualStudio/osgPlugins/trans/trans.dsp, - VisualStudio/osgPlugins/txp/txp.dsp, - VisualStudio/osgPlugins/zip/zip.dsp, - VisualStudio/osgProducer/osgProducer.dsp, - VisualStudio/osgSim/osgSim.dsp, - VisualStudio/osgTerrain/osgTerrain.dsp, - VisualStudio/osgText/osgText.dsp, - VisualStudio/osgUtil/osgUtil.dsp: From Mike Weiblen, updates to - dsp to improveme formatting and include OpenThreads - -2004-07-23 09:49 robert - - * src/osgPlugins/quicktime/QuicktimeImageStream.cpp: Fixed iddle - update. - -2004-07-23 09:15 robert - - * include/osg/ImageStream, include/osgProducer/OsgCameraGroup, - src/osgPlugins/mpeg/MpegImageStream.cpp, - src/osgPlugins/mpeg/MpegImageStream.h, - src/osgPlugins/quicktime/QuicktimeImageStream.cpp, - src/osgPlugins/quicktime/QuicktimeImageStream.h, - src/osgProducer/OsgCameraGroup.cpp, src/osgProducer/Viewer.cpp: - Added ImageStream::quit(bool) for exiting from video threads, and - added - clean up to OsgCameGroup to quit movie threads automatically. - -2004-07-23 04:03 robert - - * include/osgUtil/GLObjectsVisitor: Made doc comments more - relevant. - -2004-07-22 18:34 robert - - * src/osgUtil/Optimizer.cpp: Added support for OSG_OPTIMIZER="OFF" - -2004-07-22 15:41 robert - - * src/osgPlugins/quicktime/QuicktimeImageStream.cpp: Fixed build - -2004-07-22 15:11 robert - - * src/osgPlugins/quicktime/QuicktimeImageStream.cpp: Added more - usage mutex to serialize access to Quicktime. - -2004-07-22 12:10 robert - - * VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgconv/osgconv.dsp, - examples/osgconv/osgconv.cpp: Added support for compressing - textures to osgconv, can be accessed by - running --compressed when outputting to a .ive file. - -2004-07-22 11:59 robert - - * examples/osgconv/GNUmakefile, examples/osgconv/osgconv.cpp: Added - support texture compression in osgconv - -2004-07-22 07:41 robert - - * include/osgUtil/Optimizer: Changed _valueAnisotropy from bool to - float. - -2004-07-21 19:16 robert +Tue, 15 Jul 2008 14:15:42 +0000 +Checked in by : Robert Osfield +Renamed Archive::ArchiveStatus to ReaderWriter::ArchiveStatus - * include/osg/Texture, src/osg/Drawable.cpp, - src/osg/FragmentProgram.cpp, src/osg/Texture.cpp, - src/osg/VertexProgram.cpp, src/osgDB/DatabasePager.cpp, - src/osgGL2/ProgramObject.cpp: Added preliminary support for - thread safety in various delete GLobjects code +Tue, 15 Jul 2008 10:45:07 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-07-21 19:15 robert +Tue, 15 Jul 2008 09:55:33 +0000 +Checked in by : Robert Osfield +Missing check-ins - * src/osgPlugins/Inventor/ConvertFromInventor.cpp: Added missing - tex env mode +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 -2004-07-21 19:14 robert +Mon, 14 Jul 2008 20:11:37 +0000 +Checked in by : Robert Osfield +Added missing ac3d supportsExtensions() constructor - * src/osg/ImageStream.cpp: Replaced STOPPED by PAUSED. +Mon, 14 Jul 2008 08:48:49 +0000 +Checked in by : Robert Osfield +Added initial cut at plugin query code -2004-07-21 19:04 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 - * VisualStudio/VisualStudio.dsw: From Mike Weiblen, VS formated - .dsw +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 -2004-07-21 19:01 robert +Sun, 13 Jul 2008 12:34:06 +0000 +Checked in by : Robert Osfield +From Paul Martz, removed uneccessary libraries from link line - * src/osgPlugins/mpeg/MpegImageStream.h: Removed the stop method, - replacing it by pause +Sat, 12 Jul 2008 17:44:51 +0000 +Checked in by : Robert Osfield +Updated date for 2.5.4 release -2004-07-21 19:01 robert +Sat, 12 Jul 2008 17:30:17 +0000 +Checked in by : Robert Osfield +Added an OSG_EXPORT - * src/osgPlugins/quicktime/QuicktimeImageStream.cpp, - src/osgPlugins/quicktime/QuicktimeImageStream.h: Removed the stop - method +Sat, 12 Jul 2008 16:11:14 +0000 +Checked in by : Robert Osfield +Updated Authors for dev release -2004-07-21 19:00 robert +Sat, 12 Jul 2008 15:29:30 +0000 +Checked in by : Robert Osfield +Updated ChangeLog for dev release - * include/osg/ImageStream: Removed stop method, as it overlaps the - pause method. +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: -2004-07-21 10:01 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 - * src/osgPlugins/mpeg/MpegImageStream.cpp, - src/osgPlugins/mpeg/MpegImageStream.h: Clean up of thread - handling. +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" -2004-07-21 08:55 robert - * src/osgGA/TerrainManipulator.cpp: Double intersections distance - for intersects. -2004-07-20 18:50 robert +Sat, 12 Jul 2008 11:19:25 +0000 +Checked in by : Robert Osfield +Cleaned up osgkdtree example - * src/osgPlugins/ac3d/Geode.cpp: From Geoff Michel, fixes. +Fri, 11 Jul 2008 20:01:12 +0000 +Checked in by : Robert Osfield +Updated version numbers for dev release -2004-07-20 10:17 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." - * include/osgProducer/OsgCameraGroup, include/osgUtil/SceneView, - src/osgProducer/OsgCameraGroup.cpp, src/osgUtil/SceneView.cpp: - Added SceneView::Options for SceneView::setDefaults(options) and - OsgCameraGroup::setRealizeSceneViewOptions(options) to allow - better control - of what functionality is compiled in by default. +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." -2004-07-20 07:46 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. + " - * src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/LOD.cpp: From - Bob Kuehne, add usage of version number to differentiate between - rev's of the LOD. -2004-07-20 05:37 robert - * include/osg/Drawable, include/osg/FragmentProgram, - include/osg/StateAttribute, include/osg/StateSet, - include/osg/Texture, include/osg/VertexProgram, - include/osgDB/DatabasePager, include/osgGL2/ProgramObject, - include/osgText/Font, include/osgUtil/DisplayListVisitor, - include/osgUtil/GLObjectsVisitor, src/osg/Drawable.cpp, - src/osg/FragmentProgram.cpp, src/osg/Geode.cpp, - src/osg/StateSet.cpp, src/osg/Texture.cpp, - src/osg/VertexProgram.cpp, src/osgDB/DatabasePager.cpp, - src/osgGL2/ProgramObject.cpp, src/osgUtil/DisplayListVisitor.cpp, - src/osgUtil/GLObjectsVisitor.cpp, src/osgUtil/GNUmakefile, - src/osgUtil/SceneView.cpp: 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 +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." - * src/osgPlugins/Inventor/GNUmakefile: From Eric Sokolosky, added - INVENTOR_INCLUDE and INVENTOR_LIB vars. -2004-07-20 05:34 robert - * VisualStudio/osg/osg.dsp, include/osg/Referenced: Added - OpenThreads mutex to protect ref()/unref(). -2004-07-19 18:56 robert +Fri, 11 Jul 2008 17:41:50 +0000 +Checked in by : Robert Osfield +From Joakim Simmonsson, fixed various spelling typos in comments - * examples/osgfxbrowser/Frame.cpp, - examples/osgfxbrowser/osgfxbrowser.cpp: Fixed the position of - text so it is drawn ontop of the quads. +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. " -2004-07-19 18:47 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 - * VisualStudio/osgShell.bat, VisualStudio/osgUtil/osgUtil.dsp: From - Mike Weiblen, "When launched, it creates a commandline shell that - is fully configured to - support running OSG apps from the source tree filesystems." +Fri, 11 Jul 2008 16:51:11 +0000 +Checked in by : Robert Osfield +Updated KdTree code to refect new cleaned up API -2004-07-19 18:35 robert +Fri, 11 Jul 2008 16:50:43 +0000 +Checked in by : Robert Osfield +Tweaked the KdTree intersection performance testing code block - * src/osgPlugins/ac3d/ac3d.cpp: From Geoff Michel, fix for handling - of texture filenames enclosed in quotes. +Fri, 11 Jul 2008 16:48:55 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-07-19 14:34 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 - * src/osgText/Font.cpp: 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, 10 Jul 2008 15:50:10 +0000 +Checked in by : Robert Osfield +Streamlined KdTree implementation -2004-07-19 09:39 robert +Wed, 9 Jul 2008 19:43:02 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgGA/TerrainManipulator.cpp: Lowered level of debugging - message +Wed, 9 Jul 2008 19:42:15 +0000 +Checked in by : Robert Osfield +Cleaned up KdTree implementation -2004-07-19 09:03 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 - * examples/osgdem/osgdem.cpp, include/osgTerrain/DataSet, - src/osgTerrain/DataSet.cpp: Added support for --tile-image-size - , --tile-terrain-size and --comment - command line options into osgTerrain::DataSet + osgdem. +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. -2004-07-17 10:38 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 - * src/osgFX/AnisotropicLighting.cpp: From Mike Weiblen, switched of - alpha test on anisotropic effect, due to missing - write of colour. +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. -2004-07-17 10:33 robert +Wed, 9 Jul 2008 12:37:59 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/rot/ReaderWriterROT.cpp, - src/osgPlugins/scale/ReaderWriterSCALE.cpp, - src/osgPlugins/trans/ReaderWriterTRANS.cpp: From Mike Weiblen, - updates to the psuedo loaders to add documentation. +Tue, 8 Jul 2008 18:02:09 +0000 +Checked in by : Robert Osfield +Fixed set method -2004-07-12 21:32 robert +Tue, 8 Jul 2008 17:35:10 +0000 +Checked in by : Robert Osfield +Added optional control of whether to use KdTrees for intersections - * src/osgGA/TerrainManipulator.cpp: Fixed the computePosition so it - find intersections more easily. +Mon, 7 Jul 2008 20:27:56 +0000 +Checked in by : Robert Osfield +Implement hierachy culling in KdTree::intersect(..) -2004-07-12 19:54 robert +Mon, 7 Jul 2008 14:27:58 +0000 +Checked in by : Robert Osfield +Improved the handling of KdTree intersections - * include/osgGA/DriveManipulator, - include/osgGA/KeySwitchMatrixManipulator, - include/osgGA/MatrixManipulator, src/osgGA/DriveManipulator.cpp, - src/osgGA/FlightManipulator.cpp, - src/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgGA/MatrixManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, - src/osgGA/TrackballManipulator.cpp: Added support for matix - manipulator setHomePosition(,,) +Mon, 7 Jul 2008 13:21:37 +0000 +Checked in by : Robert Osfield +Implemented intial KdTree triangle intersection code, but without culling implemented -2004-07-12 17:30 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. - * src/osgDB/DatabasePager.cpp, src/osgUtil/Optimizer.cpp: Removed - enabling of use client stage storage hint. +Mon, 7 Jul 2008 09:40:30 +0000 +Checked in by : Robert Osfield +Changed types to avoid warnings under Windows -2004-07-12 13:20 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. - * include/osgUtil/Optimizer, src/osgDB/DatabasePager.cpp, - src/osgUtil/Optimizer.cpp: Added OPTIMIZER_TEXTURE_SETTINGS pass - to Optimizer, which enables - unref image data after apply, client storage hint. -2004-07-12 13:13 robert - * src/osg/Texture.cpp: Added debugging message, currently commented - out. -2004-07-12 10:23 robert +Sun, 6 Jul 2008 12:14:19 +0000 +Checked in by : Robert Osfield +Moved KdTree build code into osg::KdTree - * src/osgDB/DatabasePager.cpp: Added unref image data on apply - automatically to all textures being loaded. +Sat, 5 Jul 2008 17:29:07 +0000 +Checked in by : Robert Osfield +Added handling of co-incident start and end points. -2004-07-12 09:43 robert +Sat, 5 Jul 2008 16:39:28 +0000 +Checked in by : Robert Osfield +Ported intersection code to use new osgUtil::LineSegmentIntersector/IntersectionVisitor. - * src/osgGA/TrackballManipulator.cpp: Reduced the pan sensitive on - the trackball +Fri, 4 Jul 2008 19:16:19 +0000 +Checked in by : Robert Osfield +Converted TerrainManipulator to use osgUtil::InterectionVisitor rather than the old IntersectVisitor -2004-07-12 09:17 robert +Fri, 4 Jul 2008 17:02:02 +0000 +Checked in by : Robert Osfield +Added KdTree intersection support into LineSegmentIntersector - * src/osgGA/TerrainManipulator.cpp: Reduced the sensitivity of the - pan. +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. -2004-07-12 01:01 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 - * include/osg/Geometry, src/osg/Geometry.cpp: Added a more flexible - variable on the textured quad generation function +Thu, 3 Jul 2008 17:18:14 +0000 +Checked in by : Robert Osfield +Introduced bounding boxes to KDLeaf and KDNode structs -2004-07-11 23:07 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. - * src/osg/CoordinateSystemNode.cpp, - src/osgGA/TerrainManipulator.cpp, src/osgProducer/Viewer.cpp: - Made debugging message write to osg::INFO instead of osg::NOTICE +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" -2004-07-11 21:46 robert - * include/osg/CullSettings, src/osg/ClusterCullingCallback.cpp: - Added CLUSTER_CULLING mask to CullSettings, and modified the - ClusterCullingCallback - to use the mask to see if cluster culling is enabled or disabled. -2004-07-11 16:38 robert +Thu, 3 Jul 2008 14:59:07 +0000 +Checked in by : Robert Osfield +From Mario Valle, removed extraneous spaces - * examples/osgvolume/osgvolume.cpp: Added ability to control the - number of slices and the amount of the volume clipped. +Thu, 3 Jul 2008 11:23:44 +0000 +Checked in by : Robert Osfield +Added header guards -2004-07-09 20:58 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. - * include/osg/ClusterCullingCallback, - src/osg/ClusterCullingCallback.cpp, src/osgTerrain/DataSet.cpp: - Fixed cluster culling. +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." -2004-07-09 15:42 robert +Thu, 3 Jul 2008 10:24:20 +0000 +Checked in by : Robert Osfield +Implement an experiemental triangle kdtree building support - * examples/osgvolume/osgvolume.cpp: Compiles fixes for VS.6.0 +Thu, 3 Jul 2008 10:03:06 +0000 +Checked in by : Robert Osfield +Set the DataVariance on FadeText to DYNAMIC to reflect their nature -2004-07-09 15:41 robert +Wed, 2 Jul 2008 10:00:09 +0000 +Checked in by : Robert Osfield +Updated wrappers - * include/osg/Vec2d, include/osg/Vec3d, include/osg/Vec4d: VS.NET - Warning fixes from Stephane +Wed, 2 Jul 2008 09:25:08 +0000 +Checked in by : Robert Osfield +Introduced support for UNSCPECIFIED and STATIC DataVariance of StateSet/Textures -2004-07-09 15: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." - * VisualStudio/VisualStudio.dsw: Added osgText to dependency list - of osgsimulation example +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." -2004-07-09 15:26 robert - * examples/osgvolume/osgvolume.cpp: Changed std::min definition to - osg::minimum to avoid STOOOPID MS conficts. -2004-07-09 15:24 robert +Tue, 1 Jul 2008 13:56:02 +0000 +Checked in by : Robert Osfield +Added Vec3Array arrange pointer to avoid dynamic cast - * examples/osgdem/osgdem.cpp: Clean up of commandline options +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 ..." -2004-07-09 15:21 robert +Mon, 30 Jun 2008 16:53:06 +0000 +Checked in by : Robert Osfield +Added guards against FBO not being supported/setup - * include/osgGA/KeySwitchMatrixManipulator, - include/osgGA/MatrixManipulator, - include/osgGA/TerrainManipulator, - src/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgGA/MatrixManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, - src/osgProducer/OsgCameraGroup.cpp, src/osgProducer/Viewer.cpp: - Improvements to the handling of coordinate system nodes +Sun, 29 Jun 2008 13:41:07 +0000 +Checked in by : Robert Osfield +Updated README date for 2.5.3 dev release -2004-07-09 12:14 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. - * src/osgTerrain/DataSet.cpp: Clean up of debugging information. +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 -2004-07-09 08:22 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. - * include/osgGL2/Extensions, src/osgGL2/Extensions.cpp, - src/osgGL2/ProgramObject.cpp, src/osgGL2/Version.cpp: 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" +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. -2004-07-08 22:28 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. +" - * include/osgProducer/Viewer, src/osgProducer/Viewer.cpp: Added new - coputeActiveCooridnateSystemNodePath method -2004-07-08 22:12 robert - * examples/osgshadowtexture/CreateShadowedScene.cpp: Replaced the - custom MyTexGen class with a standard TexGen, and utilised the - new RenderStage addPositionedTextureAtribute method. +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. -2004-07-08 22:11 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<>. - * include/osgUtil/RenderStageLighting, - src/osgUtil/RenderStageLighting.cpp: Made the local storage of a - StateAttribute* be a ref_ptr<> +Fri, 27 Jun 2008 11:47:06 +0000 +Checked in by : Stephan Maximilian HUBER +from Stephan Huber: updated XCode project -2004-07-08 22:10 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. " - * src/osgUtil/SceneView.cpp: Made the constructor's default value - for _lightingMode be NO_SCENEVIEW_LIGHT +Thu, 26 Jun 2008 19:51:24 +0000 +Checked in by : Robert Osfield +Updated authors and osgversion -2004-07-07 15:05 robert +Thu, 26 Jun 2008 19:47:00 +0000 +Checked in by : Robert Osfield +Updated ChangeLog - * examples/osgvolume/osgvolume.cpp: Added lighting and materials to - volume subgraph +Thu, 26 Jun 2008 19:21:54 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-07-07 13:19 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. + " - * src/osgUtil/CullVisitor.cpp: From Vasily Radostev, fixed - Billboard compute near/far bug due to typo of bbCornerFar. -2004-07-07 11:29 robert - * src/osgGA/TerrainManipulator.cpp: Added automatic scaling of the - minimum distance to cope with models of - small dimensions. +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." -2004-07-07 11:28 robert - * src/osgTerrain/DataSet.cpp: Added automatic setting of the - verical scale when the destination coordinate - system is geographic (i.e. lats and longs.). -2004-07-07 09:04 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. - * src/osgTerrain/DataSet.cpp: Added support for automatically - computing the local skirt orientation -2004-07-06 15:10 robert - * src/osgPlugins/quicktime/QuicktimeImageStream.cpp: Added mutex to - image stream thread to serialize calls to Quicktime. +Thu, 26 Jun 2008 15:06:44 +0000 +Checked in by : Robert Osfield +From Mathias Froehlich, updated CMakeLists.txt to build the Atomic.cpp -2004-07-06 13: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. - * src/osgPlugins/ac3d/ac3d.cpp: From Geoff Michel, replaced used C - style FILE with iostream. +Thu, 26 Jun 2008 13:08:24 +0000 +Checked in by : Robert Osfield +From Eric Sokolowski, Cmake support for osgviewerCocoa -2004-07-06 12:32 robert +Thu, 26 Jun 2008 12:08:37 +0000 +Checked in by : Robert Osfield +From Mathias Froehlich, build fixes for various unices - * src/osg/Image.cpp: Removed debugging message +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 -2004-07-06 12:15 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." - * src/osg/Texture.cpp: Fixed warning. -2004-07-06 12:14 robert - * src/osgTerrain/DataSet.cpp: Changed the default mipmapping mode - to record the mipmaps in the - images in the generated databases. +Mon, 23 Jun 2008 15:11:37 +0000 +Checked in by : Robert Osfield +Fixed pedantic warning -2004-07-06 06:13 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. " - * include/osg/Texture: Added GL_TEXTURE_DEPTH #define for Win32 - build +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 -2004-07-06 06:05 robert +The error was in compiling osgDB/Registry.cpp +" - * examples/osgbluemarble/osgbluemarble.cpp: Fixed build after Image - change -2004-07-05 21:46 robert - * src/osg/Image.cpp: Added dealloc or previous image data into - readImageFromTexture +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. -2004-07-05 21:09 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)" - * include/osg/Image, src/osg/Image.cpp, src/osgTerrain/DataSet.cpp: - Added suppor for copying mipmaps of compressed textures -2004-07-05 16:21 don - * src/osgPlugins/jpeg/ReaderWriterJPEG.cpp: Changed internal - formatt on jpeg loader to be GL_RGB, GL_RGBA, etc. rather - than numComponents. +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 -2004-07-05 09:04 robert +Sat, 21 Jun 2008 17:56:38 +0000 +Checked in by : Robert Osfield +Quietened down debug info - * src/osg/ShapeDrawable.cpp: From Ulrich Hertlein, added check for - detailRatio<=0.0 +Sat, 21 Jun 2008 17:50:58 +0000 +Checked in by : Robert Osfield +Added support for X11's overrideRedirect functionality -2004-07-05 07:42 robert +Sat, 21 Jun 2008 11:34:01 +0000 +Checked in by : Robert Osfield +Converted tabs to four spaces - * src/osg/LOD.cpp: Fixed missing member variable initialized - varaibles +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 -2004-07-02 14:46 robert +Fri, 20 Jun 2008 19:51:21 +0000 +Checked in by : Robert Osfield +Updated ChangeLog - * include/osg/LightSource, src/osg/LightSource.cpp, - src/osgPlugins/osg/LightSource.cpp: Change the light in - LightSource from a generic osg::StateAttribute to - a osg::Light. +Fri, 20 Jun 2008 17:32:27 +0000 +Checked in by : Robert Osfield +From Terry Welsh, added missing MixinVector header -2004-07-02 14:45 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. - * include/osg/AlphaFunc: Added setFunction and setReferenceValue - method +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. -2004-07-02 14:43 robert +Fri, 20 Jun 2008 15:49:15 +0000 +Checked in by : Robert Osfield +Updated ChangeLog - * examples/osgvolume/osgvolume.cpp: Added normal setting to slice - planes +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 -2004-07-01 14:30 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. - * examples/osgvolume/osgvolume.cpp: Clean up of osgvolume -2004-07-01 14:29 robert - * Make/makedirdefs: Added osgvolume +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 -2004-07-01 14:27 robert +Fri, 20 Jun 2008 11:11:47 +0000 +Checked in by : Robert Osfield +Updated version numbers for dev releases - * src/osgUtil/TriStripVisitor.cpp: 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. +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." -2004-07-01 14:22 robert +Fri, 20 Jun 2008 09:46:45 +0000 +Checked in by : Robert Osfield +From Melchior Franz, fixed typo on variable name - * src/osgPlugins/quicktime/MovieData.cpp: Fixed indenting +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. -2004-07-01 13:53 robert +Thu, 19 Jun 2008 20:42:10 +0000 +Checked in by : Robert Osfield +Updated wrappers - * include/osg/LOD, include/osg/PagedLOD, src/osg/LOD.cpp, - src/osg/PagedLOD.cpp, src/osgPlugins/ive/FragmentProgram.cpp, - src/osgPlugins/ive/LOD.cpp, src/osgPlugins/ive/PagedLOD.cpp, - src/osgPlugins/osg/LOD.cpp, src/osgPlugins/osg/PagedLOD.cpp: - Moved the radius parameter from PageLOD into LOD. +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. -2004-06-30 19:07 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. - * examples/osgsimulation/osgsimulation.cpp, include/osg/LOD, - src/osg/LOD.cpp: Added support for using pixel size control of - LOD levels. +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" -2004-06-30 14:43 robert - * src/osgProducer/ViewerEventHandler.cpp: Maded the image filename - handling more consistent. -2004-06-30 14:37 robert - * include/osgTerrain/DataSet, src/osgTerrain/DataSet.cpp: Completed - support for "--levels min max" option where the levels that a - source imager or DEM contributes to. -2004-06-30 09:02 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" - * src/osg/StateSet.cpp: Fixed handling of PROCTED/OVERRIDE +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. -2004-06-30 07:26 robert +Thu, 19 Jun 2008 14:57:36 +0000 +Checked in by : Robert Osfield +from Andrew Bettison, LineStipple support for .ive - * include/osgTerrain/DataSet: Changed const int to #define for - VS6.0 build +Thu, 19 Jun 2008 14:45:54 +0000 +Checked in by : Robert Osfield +From Adrian Egli, "Improvements to the PSSM implementation" -2004-06-29 15:04 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). - * include/osg/PrimitiveSet, include/osg/Quat, src/osg/Geometry.cpp, - src/osg/PrimitiveSet.cpp: From Pavel Moloshtan, added support for - storing primitive sets in VBO's +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. -2004-06-29 14:58 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." - * examples/osgvolume/osgvolume.cpp: Improved the handling of normal - lighting -2004-06-29 13:59 robert - * VisualStudio/VisualStudio.dsw, VisualStudio/examples/osgvolume, - VisualStudio/examples/osgvolume/osgvolume.dsp, - VisualStudio/examples/osgvolume/resources.rc, examples/osgvolume, - examples/osgvolume/GNUmakefile, - examples/osgvolume/GNUmakefile.inst, - examples/osgvolume/osgvolume.cpp: Added osgvolume example +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." -2004-06-29 08:03 robert - * src/osgPlugins/osg/Texture.cpp: Fixed parsing of - internalTextureFormat. -2004-06-28 22:09 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." - * src/osg/Texture.cpp: Re-organised - Texture::computeInternalFormatWithImage() to avoid testing - for extensions when not required. +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. " -2004-06-28 21:39 robert +Thu, 19 Jun 2008 13:28:33 +0000 +Checked in by : Robert Osfield +Updated wrappers to fix OpenThreads::Atomic build issues. - * src/osgPlugins/dds/ReaderWriterDDS.cpp: Fixed warnings. +Thu, 19 Jun 2008 12:02:20 +0000 +Checked in by : Robert Osfield +From Michael Platings, fixed typo error in renderbin assignment -2004-06-28 20:47 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. - * include/osgGA/TerrainManipulator: From Matt Burke, typo fix on - getMinimumDistance(). +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. -2004-06-28 15:09 robert +Wed, 18 Jun 2008 20:27:06 +0000 +Checked in by : Robert Osfield +Updated wrappers - * VisualStudio/osgPlugins/osg/dot_osg.dsp, - src/osgPlugins/osg/ClipNode.cpp, src/osgPlugins/osg/GNUmakefile, - src/osgPlugins/osg/TexGenNode.cpp: Added .osg support for new - TexGenNode +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. +" -2004-06-28 14:18 robert - * src/osgPlugins/lwo/Object.cpp: Fixed warning -2004-06-28 13:18 robert +Wed, 18 Jun 2008 16:46:38 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/pfb/ConvertFromPerformer.h: From Michael Logan, - build fix for Performer plugin +Wed, 18 Jun 2008 16:45:21 +0000 +Checked in by : Robert Osfield +Added a wrapString(const char*) which automatically handles null strings. -2004-06-28 13:18 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 - * src/osgPlugins/bmp/ReaderWriterBMP.cpp: From Michael Gronager, - added support for alpha channel in writing of BMP images +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 -2004-06-28 12:52 robert +Wed, 18 Jun 2008 14:09:11 +0000 +Checked in by : Robert Osfield +From Michael Platings and Paul Palumbo, multi-sample FBO support - * src/osgPlugins/osg/BlendFunc.cpp, - src/osgProducer/ViewerEventHandler.cpp: From Eric Sokolowsky. - Added missing blend modes into .osg reading and writing - and fixed typo. +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. +" -2004-06-28 10:00 robert - * include/osg/FragmentProgram, - src/osgPlugins/ive/FragmentProgram.cpp, - src/osgPlugins/osg/FragmentProgram.cpp: From Terry Welsh, added - support for reading and writing osg::FragmentProgram - local parameters. -2004-06-28 09:05 robert +Wed, 18 Jun 2008 11:56:50 +0000 +Checked in by : Robert Osfield +From Bob Kuehne, "added multi-texture support (alpha/trans images)" - * examples/osgconv/osgconv.cpp: From Bob Kuehne, add additional - check in osgconv to handles modules that don't load gracefully. +Wed, 18 Jun 2008 11:51:22 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-06-17 15:07 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. - * src/osg/Image.cpp: Added handling of GL_INTENSITY in - osg::Image::computeNumComponents() -2004-06-17 14:39 robert - * examples/osgdem/osgdem.cpp, include/osgTerrain/DataSet, - src/osgTerrain/DataSet.cpp: 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. +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 -2004-06-17 14:02 robert +Fri, 6 Jun 2008 19:41:28 +0000 +Checked in by : Robert Osfield +Updated ChangeLog - * include/osg/TexGenNode, include/osgUtil/CullVisitor, - include/osgUtil/RenderStage, include/osgUtil/RenderStageLighting, - src/osg/TexGenNode.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/RenderStageLighting.cpp: Added support for setting - texture units in the new TexGenNode. +Fri, 6 Jun 2008 17:45:33 +0000 +Checked in by : Robert Osfield +Updated versions for 2.5.2 dev release -2004-06-16 15:05 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. " - * src/osg/AutoTransform.cpp: From Loic Dachary, added missing copy - contructor operations. +Fri, 6 Jun 2008 16:41:24 +0000 +Checked in by : Robert Osfield +From Stephane Lamoliatte, "fix to reading of DatabasePath property" -2004-06-16 06:02 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." - * src/osg/Geometry.cpp: From David Fries, small treak to debugging - output. -2004-06-15 12:31 robert - * examples/osgbluemarble/osgbluemarble.cpp: Added include of - osg/ClusterCullingCallback +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." -2004-06-15 12:26 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." - * src/osgPlugins/osg/AutoTransform.cpp: Added Marco's - AutoTransform.cpp +Fri, 6 Jun 2008 14:10:20 +0000 +Checked in by : Robert Osfield +Cleaned up implementation to only use simple structure -2004-06-14 20:14 robert +Fri, 6 Jun 2008 13:21:57 +0000 +Checked in by : Robert Osfield +Renamed _rendergraph to _stateGraph to better reflect its function - * include/osg/Switch: Fixed deprecated #idef +Fri, 6 Jun 2008 13:21:27 +0000 +Checked in by : Robert Osfield +Introduce a lower overhead data structure for leaves. -2004-06-14 20:12 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. - * VisualStudio/osgPlugins/osg/dot_osg.dsp, - src/osgPlugins/osg/GNUmakefile: From Marco Jez, implemented I/O - support for the AutoTransform node. +Fri, 6 Jun 2008 09:08:16 +0000 +Checked in by : Robert Osfield +Quitened down the release context message -2004-06-14 20:11 robert +Fri, 6 Jun 2008 08:42:37 +0000 +Checked in by : Robert Osfield +Added OSGDB_EXPORT - * include/osg/Billboard: Fixed #ifdef USE_DEPRECATED_API +Thu, 5 Jun 2008 18:52:29 +0000 +Checked in by : Robert Osfield +Added timing code -2004-06-14 20:10 robert +Thu, 5 Jun 2008 17:28:06 +0000 +Checked in by : Robert Osfield +Basic implementation of kdtree generation based on vertices - * src/osgPlugins/osg/AnimationPath.cpp: Improved precision of - AnimationPath IO. +Thu, 5 Jun 2008 13:46:19 +0000 +Checked in by : Robert Osfield +Added accep(Shape&) -2004-06-14 19:34 robert +Wed, 4 Jun 2008 17:59:39 +0000 +Checked in by : Robert Osfield +Further work on fleshing out basic classes - * include/osg/Billboard, src/osgPlugins/ive/Billboard.cpp, - src/osgPlugins/txp/TXPParser.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/Optimizer.cpp: Changed Billboard::g/setPos(..) to - g/setPosition(..). +Wed, 4 Jun 2008 16:53:17 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-06-14 19:31 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. - * examples/osgcluster/osgcluster.cpp: Fixed tabbing. +Tue, 3 Jun 2008 17:29:27 +0000 +Checked in by : Robert Osfield +Fleshed out some basic kd-tree data structures. -2004-06-14 19:30 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. - * include/osg/AlphaFunc: Added extra constructor to make it more - convinient to create AlphaFunc. +Tue, 3 Jun 2008 15:49:59 +0000 +Checked in by : Robert Osfield +Added missing updateBlock() -2004-06-14 19:20 robert +Tue, 3 Jun 2008 13:07:40 +0000 +Checked in by : Robert Osfield +From Mario Valle, fixed warnings - * include/osg/ClipNode: Tweaked comments. +Tue, 3 Jun 2008 13:06:54 +0000 +Checked in by : Robert Osfield +Ran merge to get rid of tabs -2004-06-14 19:17 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. - * include/osg/Node: Removed old UserData comment which was non - longer relevant. +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() -2004-06-14 19:14 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. - * examples/osgdem/osgdem.cpp: Fixed typos. +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. -2004-06-14 19:11 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 - * VisualStudio/osg/osg.dsp, include/osg/NodeVisitor, - include/osg/TexGenNode, include/osgUtil/CullVisitor, - src/osg/GNUmakefile, src/osg/TexGenNode.cpp, - src/osgUtil/CullVisitor.cpp: Added new TexGenNode class for - positioning tex gens. +Fri, 30 May 2008 21:12:44 +0000 +Checked in by : Robert Osfield +Updated ChangeLog -2004-06-11 21:27 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 - * src/osgProducer/Viewer.cpp: Fixed handling of skylight and - headlight options in osgProducer::Viewer. +Fri, 30 May 2008 20:15:31 +0000 +Checked in by : Robert Osfield +Added applyMaskAction(CLEAR_COLOR) to Camera::setClearColor() to enable proper inheritance -2004-06-11 21:05 robert +Fri, 30 May 2008 17:03:32 +0000 +Checked in by : Robert Osfield +Updated ChangeLog - * src/osg/Geometry.cpp: Added better debugging messages for verify - bindings. +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. " -2004-06-11 21:05 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. - * src/osgPlugins/flt/flt2osg.cpp: Changed the color binding to - better reflect the settings in the OpenFlight file. -2004-06-11 21:00 robert - * src/osgGA/TerrainManipulator.cpp: Added further checks for _node - validity. +Fri, 30 May 2008 11:44:06 +0000 +Checked in by : Robert Osfield +Updated packgage number for 2.5.1 developer release -2004-06-11 20:57 robert +Fri, 30 May 2008 11:43:04 +0000 +Checked in by : Robert Osfield +Fixed cirular reference in DatabaseRequest - * src/osgGA/TerrainManipulator.cpp: Added checks against null to - prevent crashes when the terrain manipulator is set up before - a node has been attached. +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 -2004-06-11 14:49 robert +Thu, 29 May 2008 11:45:31 +0000 +Checked in by : Robert Osfield +Added code to catch erroneous Dof axis settings - * src/osgPlugins/flt/flt2osg.cpp: Added missing setColorBinding() - into ConvertFromFLT::setMeshColors(). +Thu, 29 May 2008 11:13:29 +0000 +Checked in by : Robert Osfield +Improved the NaN depth detection within CullVisitor and debug output. -2004-06-10 15:43 robert +Thu, 29 May 2008 11:09:56 +0000 +Checked in by : Robert Osfield +Improved the NaN error detection and reporting. - * src/osgPlugins/flt/flt2osg.cpp, src/osgPlugins/flt/flt2osg.h: - From Troy Yee, fixes to handling meshes. - From Robert Osfield, replaced assert(0)'s with error messages. +Wed, 28 May 2008 17:56:22 +0000 +Checked in by : Robert Osfield +Added catch for NaN depth values -2004-06-10 05:27 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. - * VisualStudio/osg/osg.dsp: Added CluserCullingCallback -2004-06-09 20:18 robert - * include/osgTerrain/DataSet: Compile fix w.r.t new - CoordinateSystemNode. +Wed, 28 May 2008 14:37:50 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-06-09 16:28 robert +Wed, 28 May 2008 14:11:22 +0000 +Checked in by : Robert Osfield +From Adrian Egli, improvements to ParallelSplitShadowMap implementation - * src/osgPlugins/lwo/iffparser.h, src/osgPlugins/lwo/lwo2read.h: - 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. +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. +" -2004-06-09 15:11 robert - * include/osg/CoordinateSystemNode, - src/osg/CoordinateSystemNode.cpp: Added - CoordinateSystemNode::set(const CoordinateSystemNode&) method to - conviniently - set up a coordindate system. -2004-06-09 15:06 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. +" - * src/osgTerrain/DataSet.cpp: Added proper mapping of format and - coordinate system. -2004-06-09 15:00 robert - * include/osg/CoordinateSystemNode, - src/osg/ClusterCullingCallback.cpp, - src/osg/CoordinateSystemNode.cpp, - src/osgPlugins/ive/CoordinateSystemNode.cpp, - src/osgPlugins/osg/CoordinateSystemNode.cpp, - src/osgTerrain/DataSet.cpp: Added - CoordinateSystem::s/getFormat(). +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. -2004-06-09 13:06 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"). +" - * include/osg/Vec2d, include/osg/Vec2f, include/osg/Vec3d, - include/osg/Vec4d: Cleaned up float vs double types in Vec*d and - Vec2f classes -2004-06-09 10:03 robert - * examples/osgdem/osgdem.cpp: Added --o_cs, --o_wkt and - --o_wkt_file commandline options. +Wed, 28 May 2008 12:49:47 +0000 +Checked in by : Robert Osfield +From Mathieu Marache,first post: -2004-06-08 14:30 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." - * src/osg/AnimationPath.cpp: Improved the precision of animation - paths. +follow up post: -2004-06-08 13:58 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. - * examples/osgdem/osgdem.cpp, include/osgTerrain/DataSet, - src/osgTerrain/DataSet.cpp: Added options for controlling - mipmapping and aniso-tropic filtering. +MinGW, cygwin and Apple are still left out this proposal." -2004-06-08 12:31 robert - * include/osgGA/FlightManipulator, include/osgGA/GUIActionAdapter: - Updates to FlightManipulator +Notes from Robert Osfield, completed the work in change d entries to use OSG_DEBUG_POSTFIX -2004-06-08 09:29 robert - * src/osgUtil/Simplifier.cpp: 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<>. -2004-06-08 07:32 robert - * include/osgGA/TerrainManipulator, - src/osgGA/FlightManipulator.cpp: Updates to the terrain - manipulator. +Wed, 28 May 2008 11:58:46 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-06-07 15:05 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. - * include/osg/ClusterCullingCallback, include/osg/Drawable, - src/osg/ClusterCullingCallback.cpp, src/osg/Drawable.cpp, - src/osg/GNUmakefile, src/osgPlugins/ive/ClusterCullingCallback.h: - Moved the osg::ClusterCullingCallback into into own header and - source file. -2004-06-07 14:49 robert - * src/osgGA/TerrainManipulator.cpp: Changed the terrain manipulator - so the intersection ray is only - computed near to the current center point during panning. -2004-06-07 12:53 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. - * examples/osgsimulation/osgsimulation.cpp: Added sphere segment to - osgsimulator. + -2004-06-06 14:28 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. - * examples/osgdem/osgdem.cpp: Added --RGB_16, --RGB_24 and - --compressed options. + -2004-06-04 16:32 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(). - * include/osg/Vec2d, include/osg/Vec3d, include/osg/Vec4d: Fixed - the Vec*d class so there have value_type set to double. + -2004-06-04 12:27 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. - * src/osgUtil/RenderStageLighting.cpp: Added haveAppliedAttribute - to allow draw callbacks to get access to the - current active lights. + -2004-06-04 11:35 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." - * include/osg/Math, include/osgUtil/CubeMapGenerator, - include/osgUtil/HighlightMapGenerator, - src/osgUtil/CubeMapGenerator.cpp, - src/osgUtil/HighlightMapGenerator.cpp: Add clamping to 0..1 - bounds for each of the r,g,b,a components in - the CubeMapGenerator::set_pixel() method. -2004-06-04 10:05 robert - * src/osg/Quat.cpp: Added check to Quat::makeRotate(,,,) to catch - zero lengh axis. +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")" -2004-06-04 08:40 robert - * examples/osgprerendercubemap/osgprerendercubemap.cpp: From Ulrich - Hertlein & Iskander Prins, added rotation of skydown on - fixed handling of updating one image per frame. -2004-06-04 08:24 robert +Tue, 27 May 2008 17:32:26 +0000 +Checked in by : Robert Osfield +From Lars Nilson, bug fix to Sector::computeMatrix() - * include/osgUtil/TangentSpaceGenerator, - src/osgUtil/TangentSpaceGenerator.cpp: 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. +Tue, 27 May 2008 16:32:17 +0000 +Checked in by : Robert Osfield +Added handling of \ within srings by using \\ -2004-06-04 08:13 robert +Tue, 27 May 2008 15:42:40 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osg/Geometry.cpp: From Max Behensky, fixes to the computation - of the number of primitives +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. -2004-06-03 20:06 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. - * src/osgTerrain/DataSet.cpp: Fixed spelling of Equivalent. +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()); +" -2004-06-03 10:16 robert - * src/osgSim/ScalarBar.cpp: Added handling of case when only one - colour is used. -2004-06-03 10:10 robert +Tue, 27 May 2008 12:07:58 +0000 +Checked in by : Robert Osfield +Updated version numbers in prep for 2.5.1 release - * include/osgSim/ColorRange, src/osgSim/ColorRange.cpp: Added - support for a single color in a ColorRange +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. + " -2004-06-03 09:36 robert - * src/osgSim/ScalarBar.cpp: Added room for tail of text. -2004-06-02 14:16 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" - * examples/osgdem/osgdem.cpp: Added handling of skirt ratio, and - extra docs on commandline args -2004-06-02 14:15 robert - * include/osgTerrain/DataSet, src/osgTerrain/DataSet.cpp: Added - DataSet::s/getSkirtRatio() method to allow control of how deep to - make the skirts around tiles. +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)) -2004-06-02 14:13 robert +Solution: change to: + if (fr[0].matchWord("pattern") && fr[1].getUInt(mask))" - * include/osgProducer/Viewer, src/osgProducer/Viewer.cpp: Added - derived reqiestRedraw() and requestContinueUpdate() methods for - debugging purposes. -2004-06-02 12:37 robert - * examples/osgscalarbar/osgscalarbar.cpp, include/osgSim/ScalarBar, - src/osgSim/ScalarBar.cpp: 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, 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. +" -2004-05-26 00:27 robert - * src/osgProducer/Viewer.cpp: Fixed setCoordinateFrame method -2004-05-26 00:26 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." - * src/osgGA/DriveManipulator.cpp, src/osgGA/FlightManipulator.cpp: - Made the drive and flight manipulators more sensitive to - de/acceleration -2004-05-25 20:40 robert - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From George Tarantilils, - add missing handling of alpha channel. +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) -2004-05-25 20:39 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. - * src/osgProducer/ViewerEventHandler.cpp: Changed screen grab - filename back to a saved_image.jpg +src/OpenThreads/pthreads/CMakeLists.txt: +* Eliminates warning when compiling on Linux about spaces in link line (CMake 2.6.x fix) -2004-05-25 20:35 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) - * include/osgUtil/CullVisitor: Updated clampProjectionMatrix - methods +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) +" -2004-05-25 16:10 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." - * src/osg/Image.cpp, src/osgPlugins/dds/ReaderWriterDDS.cpp: From - George Tarantilis, fixes to DDS size computations. - From Robert Osfield, addition of constructors for internal DDS - structures. +post 3: -2004-05-25 14:32 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." - * src/osgPlugins/quicktime/QuicktimeImageStream.h: Updates the - movie support -2004-05-25 07:40 robert - * src/osgUtil/CullVisitor.cpp: Added better handling of clamping of - projection matrix -2004-05-24 19:50 robert - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Alberto Farre, fixes - to the computation of sizes +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." -2004-05-20 23:25 robert - * include/osgGA/TerrainManipulator, src/osg/Quat.cpp, - src/osgGA/TerrainManipulator.cpp: Made improvements to the - handling of small rotations in Quat and - TerrainManipulator -2004-05-20 22:20 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) - * examples/osgscalarbar/osgscalarbar.cpp: Added HUD scalar bar. -2004-05-20 13:54 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 +" - * include/osg/Vec2f, include/osg/Vec3f, include/osg/Vec4d: Fixed - warnigs on VS. -2004-05-20 12:57 robert - * include/osgDB/FieldReaderIterator, - src/osgDB/FieldReaderIterator.cpp, - src/osgPlugins/osg/PositionAttitudeTransform.cpp: Improved - support for new double Vec* classes +Mon, 26 May 2008 21:44:14 +0000 +Checked in by : Robert Osfield +Fixed copyright notice typo -2004-05-20 10:42 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." - * include/osg/Vec2d: Fixed typo of Vec3f to Vec2f -2004-05-20 10:15 robert - * VisualStudio/osg/osg.dsp, - examples/osgsimulation/osgsimulation.cpp, - examples/osgunittests/osgunittests.cpp, - include/osg/AnimationPath, include/osg/CoordinateSystemNode, - include/osg/Drawable, include/osg/Matrixd, include/osg/Matrixf, - include/osg/PositionAttitudeTransform, include/osg/Quat, - include/osg/Vec2, include/osg/Vec2d, include/osg/Vec2f, - include/osg/Vec3, include/osg/Vec3d, include/osg/Vec3f, - include/osg/Vec4, include/osg/Vec4d, include/osg/Vec4f, - include/osgDB/FieldReaderIterator, - include/osgGA/DriveManipulator, include/osgGA/FlightManipulator, - include/osgGA/MatrixManipulator, - include/osgGA/TerrainManipulator, - include/osgGA/TrackballManipulator, src/osg/AnimationPath.cpp, - src/osg/CoordinateSystemNode.cpp, src/osg/CullStack.cpp, - src/osg/Matrix_implementation.cpp, src/osg/Quat.cpp, - src/osgDB/DatabasePager.cpp, src/osgDB/FieldReaderIterator.cpp, - src/osgGA/DriveManipulator.cpp, src/osgGA/FlightManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, src/osgPlugins/flt/flt2osg.h, - src/osgPlugins/lws/SceneLoader.h, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgProducer/Viewer.cpp, - src/osgProducer/ViewerEventHandler.cpp: 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. +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 -2004-05-19 09:17 robert +The current 2.5.0 daePlugin assumes the following binding - * include/osg/StateSet: Added GL_SCALE_NORMAL define to get round - compilation against GL1.1 headers +CLAMP ->GL_CLAMP +NONE->GL_REPEAT -2004-05-19 09:12 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. +" - * include/osg/Transform: Added GL_RESCALE_NORMAL to allow - compilation with GL1.1 headers -2004-05-17 22:22 robert - * include/osgGA/TerrainManipulator, - src/osgGA/TerrainManipulator.cpp: Changed how the rotation and - panning are managed, therby improving the - handling of the center point going over a pole. - -2004-05-17 15:50 robert - - * include/osgGA/TerrainManipulator, - src/osgGA/TerrainManipulator.cpp: 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 - - * src/osg/Texture.cpp: From Bob Kuehne, more general checks for - existance of extensions. - -2004-05-17 12:08 robert - - * src/osgGA/TerrainManipulator.cpp: Improved the pan controls on - the terrain manipulator - -2004-05-17 10:21 robert - - * include/osg/Array: From Ruben, fix for gcc 3.4 build - -2004-05-17 02:48 don - - * examples/osgconv/OrientationConverter.cpp, - examples/osgconv/OrientationConverter.h, - examples/osgconv/osgconv.cpp: Added an optional argument for - doing model orientations in osgconv using - degrees and axis rather than two vectors. - -2004-05-15 08:42 robert - - * VisualStudio/examples/osgdem/osgdem.dsp, - VisualStudio/osgPlugins/gdal/gdal.dsp, - VisualStudio/osgTerrain/osgTerrain.dsp: From Mike Weiblen, - further updates to add relative paths to - OpenThreads/Producer. - -2004-05-14 14:43 robert - - * VisualStudio/osgParticle/osgParticle.dsp: Fixed error of headers - having ..\..\src\ path instaead of ..\..\include\ - -2004-05-13 22:09 robert - - * VisualStudio/VisualStudio.dsw, - VisualStudio/osgParticle/osgParticle.dsp, - examples/osgsimulation/GNUmakefile, - examples/osgsimulation/GNUmakefile.inst, - examples/osgsimulation/osgsimulation.cpp, - include/osgParticle/ExplosionEffect, - include/osgParticle/FireEffect, - include/osgParticle/ParticleEffect, - include/osgParticle/RandomRateCounter, - include/osgParticle/SmokeEffect, - src/osgParticle/ExplosionEffect.cpp, - src/osgParticle/FireEffect.cpp, src/osgParticle/GNUmakefile, - src/osgParticle/ParticleEffect.cpp, - src/osgParticle/SmokeEffect.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp: Added the beginings of - new osgParticle Explosion, Fire and SmokeEffects. - - Added support for generation explosion, fire and smoke effects in - osgsimulation - -2004-05-13 22:06 robert - - * src/osg/CullSettings.cpp: Revert the computeNearFar mode to using - bounding volumes as default. - -2004-05-13 22:04 robert - - * VisualStudio/examples/osganimate/osganimate.dsp, - VisualStudio/examples/osgbillboard/osgbillboard.dsp, - VisualStudio/examples/osgbluemarble/osgbluemarble.dsp, - VisualStudio/examples/osgcallback/osgcallback.dsp, - VisualStudio/examples/osgcameragroup/osgcameragroup.dsp, - VisualStudio/examples/osgclip/osgclip.dsp, - VisualStudio/examples/osgcluster/osgcluster.dsp, - VisualStudio/examples/osgconv/osgconv.dsp, - VisualStudio/examples/osgcopy/osgcopy.dsp, - VisualStudio/examples/osgcubemap/osgcubemap.dsp, - VisualStudio/examples/osgdem/osgdem.dsp, - VisualStudio/examples/osgdepthshadow/osgdepthshadow.dsp, - VisualStudio/examples/osgdistortion/osgdistortion.dsp, - VisualStudio/examples/osgforest/osgforest.dsp, - VisualStudio/examples/osgfxbrowser/osgfxbrowser.dsp, - VisualStudio/examples/osggeodemo/osggeodemo.dsp, - VisualStudio/examples/osggeometry/osggeometry.dsp, - VisualStudio/examples/osghangglide/osghangglide.dsp, - VisualStudio/examples/osghud/osghud.dsp, - VisualStudio/examples/osgimpostor/osgimpostor.dsp, - VisualStudio/examples/osgkeyboard/osgkeyboard.dsp, - VisualStudio/examples/osgkeyboardmouse/osgkeyboardmouse.dsp, - VisualStudio/examples/osglight/osglight.dsp, - VisualStudio/examples/osglightpoint/osglightpoint.dsp, - VisualStudio/examples/osglogo/osglogo.dsp, - VisualStudio/examples/osgmultitexture/osgmultitexture.dsp, - VisualStudio/examples/osgoccluder/osgoccluder.dsp, - VisualStudio/examples/osgparticle/osgparticledemo.dsp, - VisualStudio/examples/osgpbuffer/osgpbuffer.dsp, - VisualStudio/examples/osgphotoalbum/osgphotoalbum.dsp, - VisualStudio/examples/osgpick/osgpick.dsp, - VisualStudio/examples/osgpointsprite/osgpointsprite.dsp, - VisualStudio/examples/osgprerender/osgprerender.dsp, - VisualStudio/examples/osgprerendercubemap/osgprerendercubemap.dsp, - VisualStudio/examples/osgreflect/osgreflect.dsp, - VisualStudio/examples/osgscalarbar/osgscalarbar.dsp, - VisualStudio/examples/osgscribe/osgscribe.dsp, - VisualStudio/examples/osgsequence/osgsequence.dsp, - VisualStudio/examples/osgshaders/osgshaders.dsp, - VisualStudio/examples/osgshadowtexture/osgshadowtexture.dsp, - VisualStudio/examples/osgshape/osgshape.dsp, - VisualStudio/examples/osgsimple/osgsimple.dsp, - VisualStudio/examples/osgsimplepager/osgsimplepager.dsp, - VisualStudio/examples/osgsimplifier/osgsimplifier.dsp, - VisualStudio/examples/osgsimulation/osgsimulation.dsp, - VisualStudio/examples/osgspheresegment/osgspheresegment.dsp, - VisualStudio/examples/osgstereoimage/osgstereoimage.dsp, - VisualStudio/examples/osgteapot/osgteapot.dsp, - VisualStudio/examples/osgtext/osgtextdemo.dsp, - VisualStudio/examples/osgtexture1D/osgtexture1D.dsp, - VisualStudio/examples/osgtexture2D/osgtexture2D.dsp, - VisualStudio/examples/osgtexture3D/osgtexture3D.dsp, - VisualStudio/examples/osgtexturerectangle/osgtexturerectangle.dsp, - VisualStudio/examples/osgvertexprogram/osgvertexprogram.dsp, - VisualStudio/examples/osgviewer/osgviewer.dsp, - VisualStudio/examples/osgwindows/osgwindows.dsp, - VisualStudio/osgDB/osgDB.dsp, VisualStudio/osgFX/osgFX.dsp, - VisualStudio/osgParticle/osgParticle.dsp, - VisualStudio/osgPlugins/3dc/3dc.dsp, - VisualStudio/osgPlugins/ac3d/ac3d.dsp, - VisualStudio/osgPlugins/bmp/bmp.dsp, - VisualStudio/osgPlugins/dds/dds.dsp, - VisualStudio/osgPlugins/directx/directx.dsp, - VisualStudio/osgPlugins/dw/dw.dsp, - VisualStudio/osgPlugins/flt/flt.dsp, - VisualStudio/osgPlugins/freetype/freetype.dsp, - VisualStudio/osgPlugins/gdal/gdal.dsp, - VisualStudio/osgPlugins/geo/geo.dsp, - VisualStudio/osgPlugins/gif/gif.dsp, - VisualStudio/osgPlugins/iv/iv.dsp, - VisualStudio/osgPlugins/ive/ive.dsp, - VisualStudio/osgPlugins/jpeg/jpeg.dsp, - VisualStudio/osgPlugins/lib3ds/lib3ds.dsp, - VisualStudio/osgPlugins/logo/logo.dsp, - VisualStudio/osgPlugins/lwo/lwo.dsp, - VisualStudio/osgPlugins/lws/lws.dsp, - VisualStudio/osgPlugins/md2/md2.dsp, - VisualStudio/osgPlugins/obj/obj.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, - VisualStudio/osgPlugins/osgFX/dot_osgFX.dsp, - VisualStudio/osgPlugins/osgParticle/dot_osgParticle.dsp, - VisualStudio/osgPlugins/osgSim/dot_osgSim.dsp, - VisualStudio/osgPlugins/osgText/dot_osgText.dsp, - VisualStudio/osgPlugins/osgtgz/osgtgz.dsp, - VisualStudio/osgPlugins/pic/pic.dsp, - VisualStudio/osgPlugins/png/png.dsp, - VisualStudio/osgPlugins/pnm/pnm.dsp, - VisualStudio/osgPlugins/rgb/rgb.dsp, - VisualStudio/osgPlugins/rot/rot.dsp, - VisualStudio/osgPlugins/scale/scale.dsp, - VisualStudio/osgPlugins/tga/tga.dsp, - VisualStudio/osgPlugins/tgz/tgz.dsp, - VisualStudio/osgPlugins/tiff/tiff.dsp, - VisualStudio/osgPlugins/trans/trans.dsp, - VisualStudio/osgPlugins/txp/txp.dsp, - VisualStudio/osgPlugins/zip/zip.dsp, - VisualStudio/osgProducer/osgProducer.dsp, - VisualStudio/osgTerrain/osgTerrain.dsp, - VisualStudio/osgText/osgText.dsp, - VisualStudio/osgUtil/osgUtil.dsp: 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. - -2004-05-13 13:37 robert - - * src/osgDB/FileUtils.cpp: From Bruce Clay, cross platform - implemention of fileType(..) - -2004-05-13 08:11 robert - - * src/osgDB/FileUtils.cpp: From Donny Cipperly, completed Windows - support for fileType() - -2004-05-12 20:31 robert - - * Make/makedefs, src/osgPlugins/ac3d/ac3d.cpp: Fixes for FreeBSD - -2004-05-12 14:22 robert - - * src/osgUtil/Simplifier.cpp: From Frank Lindeman, compile fix for - VS to get round limitation is VS when - handling templated methods. - -2004-05-12 10:45 robert - - * src/osgPlugins/png/ReaderWriterPNG.cpp: From Eric Sokolowsky, - fixed problems in PNG plugin for handling - paletted images which contain alpha values. - -2004-05-11 20:44 robert - - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Eric Sokolosky, - with further additions from Robert, added support - for RGBA TIFF files - -2004-05-10 20:01 robert - - * src/osgUtil/Simplifier.cpp: From Bruce Clay, modify template copy - method to avoid VS6.0 compile errors. - -2004-05-10 16:17 robert - - * src/osgSim/Sector.cpp: Changed &D to use define to keep things - compiling under VS6.0 - -2004-05-10 14:53 robert - - * Make/dependencies: Made GDAL_INSTALLED default to no - -2004-05-10 13:56 robert - - * src/osgUtil/Simplifier.cpp: Removed eroneous return statement. - -2004-05-09 07:06 robert - - * src/osgPlugins/jpeg/ReaderWriterJPEG.cpp: 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. " - -2004-05-09 06:29 robert - - * src/osgDB/FileUtils.cpp, src/osgGA/StateSetManipulator.cpp: From - Mike Weiblen, Fixes for Win32 build - -2004-05-08 22:18 robert - - * Make/dependencies, VisualStudio/osgPlugins/ive/ive.dsp, - include/osgSim/Sector, src/osgPlugins/flt/Pool.h, - src/osgPlugins/flt/TransformationRecords.cpp, - src/osgPlugins/flt/TransformationRecords.h, - src/osgPlugins/flt/flt2osg.cpp, src/osgPlugins/flt/flt2osg.h, - src/osgPlugins/ive/DirectionalSector.cpp, - src/osgPlugins/ive/DirectionalSector.h, - src/osgPlugins/ive/GNUmakefile, - src/osgPlugins/ive/LightPoint.cpp, - src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/osgSim/IO_Sector.cpp, src/osgSim/Sector.cpp: 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" - -2004-05-08 21:33 robert - - * src/osgPlugins/flt/ExternalRecord.h, - src/osgPlugins/flt/FltFile.cpp, src/osgPlugins/flt/FltFile.h, - src/osgPlugins/flt/LightPointPaletteRecords.cpp, - src/osgPlugins/flt/LightPointPaletteRecords.h, - src/osgPlugins/flt/Pool.cpp, src/osgPlugins/flt/Pool.h, - src/osgPlugins/flt/flt2osg.cpp, src/osgPlugins/flt/flt2osg.h, - src/osgPlugins/flt/opcodes.h: 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)." - -2004-05-08 18:41 don - - * include/osg/GLExtensions: Ooops... previous fix didn't work, - corrected. - -2004-05-08 18:37 don - - * include/osg/GLExtensions: Fixed a define for __sgi. Irix does not - allow dlsym(0L, ...) without - calling dlopen() first, just like __sun - -2004-05-08 06:35 robert - - * examples/osgdem/osgdem.cpp, include/osgDB/FileUtils, - src/osgDB/FileUtils.cpp: 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. - -2004-05-08 06:13 robert - - * VisualStudio/osgPlugins/trans, - VisualStudio/osgPlugins/trans/trans.dsp: Did a unix2dos and - checked in trans.dsp - -2004-05-07 21:08 robert - - * VisualStudio/VisualStudio.dsw: Changed scale.dsp etc instance to - rot.dsp etc. - -2004-05-07 19:58 robert - - * src/osgPlugins/flt/flt2osg.cpp: From Yefei Hi, replaced windows - specific function with sprintf to afford - better cross platform portability. - -2004-05-07 19:55 robert - - * include/osgDB/DatabasePager: From Marco Jez, replacement of local - mutex lock/unlock with ScopedLock. - -2004-05-07 15:18 robert - - * Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/osgPlugins/rot, VisualStudio/osgPlugins/rot/rot.dsp, - VisualStudio/osgPlugins/scale, - VisualStudio/osgPlugins/scale/scale.dsp, - include/osgDB/FileNameUtils, src/osgDB/FileNameUtils.cpp, - src/osgGL2/ProgramObject.cpp, src/osgPlugins/rot, - src/osgPlugins/rot/GNUmakefile, - src/osgPlugins/rot/ReaderWriterROT.cpp, src/osgPlugins/scale, - src/osgPlugins/scale/GNUmakefile, - src/osgPlugins/scale/ReaderWriterSCALE.cpp, src/osgPlugins/trans, - src/osgPlugins/trans/GNUmakefile, - src/osgPlugins/trans/ReaderWriterTRANS.cpp, - src/osgSim/MultiSwitch.cpp: From Mike Weiblen, added new rot, - scale and trans pseudo loaders. +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. " -2004-05-07 14:51 robert +Mon, 26 May 2008 21:10:10 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/flt/flt2osg.cpp: 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.) +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" -2004-05-07 14:44 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." - * src/osgPlugins/flt/flt2osg.cpp: Fixed tabbing to be all four - spaced tabs +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. -2004-05-07 14:33 robert +Mon, 26 May 2008 17:30:43 +0000 +Checked in by : Robert Osfield +Added continuous recording of the animation path to the RecordAnimationPathHandler - * src/osgPlugins/flt/flt2osg.cpp: From Julian, fix to handling of - multi-textures +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 -2004-05-07 13:43 robert +Mon, 26 May 2008 15:41:54 +0000 +Checked in by : Robert Osfield +Added basic --pbuffer width height support - * include/osgDB/ReaderWriter, src/osgDB/Registry.cpp: Added support - for osgDB::ReaderWriter::ReadResult::FILE_LOADED_FROM_CACHE +Mon, 26 May 2008 14:30:48 +0000 +Checked in by : Robert Osfield +Added better stats reporting -2004-05-07 12:41 robert +Mon, 26 May 2008 12:01:24 +0000 +Checked in by : Robert Osfield +Added feedback of pixel format chosen for read back - * src/osgGA/StateSetManipulator.cpp: 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) +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 -2004-05-07 12:40 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 - * include/osg/TextureRectangle, src/osg/TextureRectangle.cpp: Added - GL_TEXTURE_RECTANGLE define +Sun, 25 May 2008 22:06:41 +0000 +Checked in by : Robert Osfield +Switch to using an inital draw callback when use --start-frame -2004-05-07 11:28 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. - * include/osg/Texture, src/osg/Texture.cpp: From Bob Kuehne, added - getting of the max number of texture units in - the Texture::Extension object +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. -2004-05-07 11:18 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 - * src/osgGA/TerrainManipulator.cpp: Changed debug info level +Sat, 24 May 2008 11:05:10 +0000 +Checked in by : Robert Osfield +Added #define's for PixelBufferObject extensions.Added docs for Camera::DrawCallback -2004-05-07 11:10 robert - * src/osgProducer/Viewer.cpp: Changed notify level of debuggin - message from NOTICE to INFO -2004-05-07 11:09 robert +Sat, 24 May 2008 09:24:37 +0000 +Checked in by : Robert Osfield +Added RenderStage::setClear*() methods from Camera::getClear*() sources - * src/osgPlugins/pfb/ConvertFromPerformer.cpp: From Don Tidrow, - changed cerr usage to osg::notify() +Sat, 24 May 2008 08:13:55 +0000 +Checked in by : Robert Osfield +Changed default format to GL_BGR -2004-05-06 12:57 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 - * VisualStudio/osgFX/osgFX.dsp: From Geof Michel, fix to osgFX. +Thu, 22 May 2008 17:50:22 +0000 +Checked in by : Robert Osfield +Added basic glReadPixels code -2004-05-06 12:30 robert +Thu, 22 May 2008 15:43:01 +0000 +Checked in by : Robert Osfield +Added camera final callback attachment code. - * src/osgGA/TerrainManipulator.cpp, src/osgProducer/Viewer.cpp: *** - empty log message *** +Thu, 22 May 2008 13:11:23 +0000 +Checked in by : Robert Osfield +Fixed name of source file -2004-05-06 11:01 robert +Thu, 22 May 2008 13:10:40 +0000 +Checked in by : Robert Osfield +Added new osgscreencapture example folder, implementation to follow - * VisualStudio/osgGA/osgGA.dsp, - include/osgGA/KeySwitchMatrixManipulator, - include/osgGA/MatrixManipulator, - include/osgGA/TerrainManipulator, include/osgProducer/Viewer, - src/osgGA/DriveManipulator.cpp, src/osgGA/FlightManipulator.cpp, - src/osgGA/GNUmakefile, src/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, src/osgProducer/Viewer.cpp, - src/osgUtil/SceneView.cpp: Added new TerrainManipulator to osgGA, - and new callback for getting the - CoordinateFrame for a given X,Y,Z location. +Thu, 22 May 2008 12:38:36 +0000 +Checked in by : Robert Osfield +Reorginaized the DatabaseQueue's to avoid warnings under Windows -2004-05-06 10:59 robert +Thu, 22 May 2008 11:21:04 +0000 +Checked in by : Robert Osfield +Fixed warning by adding in missing return - * include/osgTerrain/DataSet, include/osgTerrain/Terrain, - src/osgTerrain/DataSet.cpp, src/osgTerrain/Terrain.cpp: 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. +Thu, 22 May 2008 08:31:56 +0000 +Checked in by : Robert Osfield +Checking in missed header -2004-05-06 10:54 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. - * include/osg/CoordinateSystemNode, - src/osg/CoordinateSystemNode.cpp: Fixed computeLocalTransform to - generate correct orientation of local coordinate - frame. +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. -2004-05-05 19:56 robert - * src/osgUtil/CullVisitor.cpp: Moved isCulled check inside the - CullVisitor::apply(Projection&) to just - before traverse rather than at the begining of the method. -2004-05-05 14:54 robert - * src/osgTerrain/DataSet.cpp, src/osgTerrain/HeightFieldNode.cpp: - Compile fixes for that pitful excuse for a C++ compiler that is - VS6.0 +Tue, 20 May 2008 09:28:44 +0000 +Checked in by : Robert Osfield +Moved the compile to after the updateSceneView -2004-05-05 09:16 robert +Wed, 14 May 2008 20:22:01 +0000 +Checked in by : Robert Osfield +Updated wrappers - * include/osg/CullSettings, include/osg/DisplaySettings, - src/osg/CullSettings.cpp, src/osg/DisplaySettings.cpp: Added - support for reading environmental varables in CullSettings. +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. -2004-05-05 05:17 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 + - * src/osgTerrain/DataSet.cpp: Increased the sampling of upper most - tiles when doing a geocentric projection -2004-05-04 18:15 robert - * VisualStudio/examples/osgdem/osgdem.dsp: Added gdal_i.lib to - osgdem project dependencies. +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. -2004-05-04 18:13 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. - * VisualStudio/VisualStudio.dsw: Added osgTerrain to dependency - list of osgdem +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. -2004-05-04 14:02 robert +Tue, 13 May 2008 18:28:26 +0000 +Checked in by : Robert Osfield +Fixed lat/long ordering - * src/osgTerrain/DataSet.cpp: Improved the cluster culling - computation so that it now accounts for - the local elevations. +Tue, 13 May 2008 17:27:29 +0000 +Checked in by : Robert Osfield +Added support for -e level minX minY maxX maxY extents controls -2004-05-04 13:58 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. - * src/osgUtil/Simplifier.cpp: Changed notify level on several - debugging messages from WARN to INFO. +Tue, 13 May 2008 12:36:39 +0000 +Checked in by : Robert Osfield +Further work on computing of lat/long range of PagedLOD subgraphs -2004-05-04 09:55 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 - * VisualStudio/osgTerrain/osgTerrain.dsp: Fixed typo of OSGTERRAIN +You would get an error message: -2004-05-04 07:24 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". - * VisualStudio/VisualStudio.dsw: Fixed typo of osgTerrain +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. +" -2004-05-03 20:43 robert - * VisualStudio/VisualStudio.dsw, VisualStudio/examples/osgdem, - VisualStudio/examples/osgdem/osgdem.dsp, VisualStudio/osgTerrain, - VisualStudio/osgTerrain/osgTerrain.dsp: Added osgTerrain and - osgdem project files -2004-05-03 20:42 robert +Mon, 12 May 2008 16:59:04 +0000 +Checked in by : Robert Osfield +Added signal handling code, and prelimary lat/long computation - * include/osgTerrain/GeoMipMapRenderer, - include/osgTerrain/HeightFieldNode, - include/osgTerrain/HeightFieldRenderer, - include/osgTerrain/Renderer, include/osgTerrain/Version, - src/osgTerrain/GNUmakefile, src/osgTerrain/GeoMipMapRenderer.cpp, - src/osgTerrain/HeightFieldNode.cpp, - src/osgTerrain/HeightFieldRenderer.cpp, - src/osgTerrain/Renderer.cpp, src/osgTerrain/Version.cpp: 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. +Mon, 12 May 2008 15:42:20 +0000 +Checked in by : Robert Osfield +Added missing getBound() method -2004-05-03 13:09 robert +Mon, 12 May 2008 12:16:58 +0000 +Checked in by : Robert Osfield +Update ChangeLog and wrappers for 2.5.0 dev release - * VisualStudio/osgPlugins/gdal/gdal.dsp: Changed the gdal plugin to - link to the gdal_i.lib dll stub library +Mon, 12 May 2008 12:16:14 +0000 +Checked in by : Robert Osfield +Updated AUTHORS for 2.5.0 release -2004-05-03 12:46 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 - * VisualStudio/osgPlugins/ive/ive.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp: Added - CoordinateSystemNode and EllipsoidModel .h/.cpp's files to - project files +Mon, 12 May 2008 11:01:54 +0000 +Checked in by : Robert Osfield +Updated version number for 2.5.0 dev release -2004-05-03 12:04 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. - * examples/osgviewer/osgviewer.cpp, - include/osg/CoordinateSystemNode, - include/osgProducer/OsgCameraGroup, include/osgProducer/Viewer, - src/osgProducer/OsgCameraGroup.cpp, src/osgProducer/Viewer.cpp: - 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. +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" -2004-05-03 07:42 robert - * include/osgTerrain/DataSet, src/osgTerrain/DataSet.cpp: Fixed - compile error -2004-05-02 21:50 robert +Mon, 12 May 2008 10:16:40 +0000 +Checked in by : Robert Osfield +From Mathias Froehlich, fixed typo - * include/osg/CoordinateSystemNode, include/osg/NodeVisitor, - include/osgTerrain/DataSet, src/osgDB/Field.cpp, - src/osgPlugins/ive/CoordinateSystemNode.cpp, - src/osgPlugins/ive/CoordinateSystemNode.h, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/EllipsoidModel.cpp, - src/osgPlugins/ive/EllipsoidModel.h, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/osg/CoordinateSystemNode.cpp, - src/osgPlugins/osg/EllipsoidModel.cpp, - src/osgPlugins/osg/GNUmakefile, src/osgTerrain/DataSet.cpp: 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. +Sun, 11 May 2008 14:26:27 +0000 +Checked in by : Robert Osfield +Added CARIO_FOUND into svg plugins checks -2004-05-02 15:45 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. - * src/osgTerrain/DataSet.cpp: 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. +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&)." -2004-05-02 15:43 robert - * include/osgUtil/TriStripVisitor, src/osgUtil/TriStripVisitor.cpp: - Made the generation of QUADS for strip with the length of 4 an - option. -2004-05-02 14:04 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." - * src/osgTerrain/DataSet.cpp: Added support for settings scale the - elevation of geometry -2004-05-02 14:03 robert - * src/osg/CullSettings.cpp: Changed the default near far - calculation mode so that it uses the - fine grained computation of near/far. +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. -2004-05-02 13:35 robert - * src/osgTerrain/DataSet.cpp: Temporary fix for handling grey scale - images as texture source. -2004-04-30 15:35 robert +Fri, 9 May 2008 17:22:49 +0000 +Checked in by : Robert Osfield +Added --file-cache command line option to compliment -c - * VisualStudio/osg/osg.dsp, examples/osgviewer/osgviewer.cpp, - include/osg/CullSettings, include/osg/CullStack, - include/osgUtil/CullVisitor, include/osgUtil/SceneView, - src/osg/CullSettings.cpp, src/osg/CullStack.cpp, - src/osg/GNUmakefile, src/osgUtil/CullVisitor.cpp, - src/osgUtil/SceneView.cpp: 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. +Fri, 9 May 2008 17:08:31 +0000 +Checked in by : Robert Osfield +Initial cut of file cache population app -2004-04-30 09:04 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. - * include/osgGA/KeySwitchMatrixManipulator: Added getKeyManipMap() - method +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." -2004-04-29 22:23 robert - * examples/osgdem/osgdem.cpp: Updated to build against the move - from osgTerrain::CoordinateSystem to - osg::CoordinateSystemNode. -2004-04-29 22:22 robert +Fri, 9 May 2008 10:27:59 +0000 +Checked in by : Robert Osfield +From Jeremy Moles, fixed window resize problem - * include/osgTerrain/CoordinateSystem, include/osgTerrain/DataSet, - include/osgTerrain/Terrain, src/osgTerrain/CoordinateSystem.cpp, - src/osgTerrain/DataSet.cpp, src/osgTerrain/GNUmakefile: Added - Support for cluster culling. - - Removed osgTerrain::CoordinateSystem which is now replaced by - osg::CoordinateSystemNode. +Thu, 8 May 2008 17:02:08 +0000 +Checked in by : Robert Osfield +Added missing check against handling invalid bounding sphere's -2004-04-29 22:21 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." - * include/osgUtil/CullVisitor, src/osgUtil/CullVisitor.cpp, - src/osgUtil/SceneView.cpp: 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. +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) -2004-04-29 22:19 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. - * include/osgProducer/Viewer, src/osgProducer/Viewer.cpp: Added - support for tracking a user specified CoordinateSystemNode for - the - CoordinateFrame to use in the camera manipulation +Files changed: + src/osgViewer/GraphicsWindowX11.cpp + include/osgViewer/api/X11/GraphicsWindowX11" -2004-04-29 22:18 robert - * include/osgGA/KeySwitchMatrixManipulator, - include/osgGA/MatrixManipulator, src/osgGA/DriveManipulator.cpp, - src/osgGA/FlightManipulator.cpp, - src/osgGA/TrackballManipulator.cpp: Added support for handling a - user define CoordinateFrame in the flight - and trackball manipulators with API access via the - MatrixManipulator - base class -2004-04-29 22:16 robert +Thu, 8 May 2008 16:39:10 +0000 +Checked in by : Robert Osfield +From Jeremy Moles, osgviewerGTK example - * VisualStudio/osg/osg.dsp, include/osg/CoordinateSystemNode, - src/osg/CoordinateSystemNode.cpp, src/osg/Drawable.cpp, - src/osg/GNUmakefile: Added osg::CoordinateSystemNode +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. -2004-04-29 22:15 robert +" - * src/osgUtil/Optimizer.cpp: Added missing billboard drawable - dirtyBound() -2004-04-29 22:13 robert - * src/osgUtil/Simplifier.cpp: Fix for VS7.0 build from Mike Weiblen +Thu, 8 May 2008 15:14:13 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and osgversion to catch Raymond de Vries name correctly -2004-04-29 21:57 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 - * src/osgPlugins/osgParticle/IO_ParticleSystemUpdater.cpp: Warnings - fix for VS7.0 from Mike Weiblen +if (!_particleSizeUniform) -2004-04-29 21:38 robert +to - * src/osgUtil/Simplifier.cpp: Fixed an iterator invalidation bug. - (thanks to Per Månsson for tracking down the - bug) +if (!_particleColorUniform) +" -2004-04-29 15:57 robert - * src/osgUtil/Simplifier.cpp: Added missing dirtyBound() to - billboard section of flatten static transforms -2004-04-28 15:07 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." - * src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/Inventor/PendulumCallback.cpp, - src/osgPlugins/Inventor/ShuttleCallback.cpp: Changed M_PI to - osg::PI. -2004-04-27 19:09 robert - * include/osgUtil/SceneView, src/osgUtil/SceneView.cpp: Made - s/getBackgroundColor() deprecated, and add in new - s/getClearColor() to - replace it. +Thu, 8 May 2008 13:46:58 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-04-23 14:47 robert +Thu, 8 May 2008 13:22:52 +0000 +Checked in by : Robert Osfield +From Roland Smeenk, "Small typo and implementation fix for setInitialDrawCallback." - * include/osgTerrain/DataSet: Added extra parameter policy enum +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." -2004-04-22 21:51 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 - * src/osgTerrain/DataSet.cpp: Added a guard on the simplification - of already low res tiles so that they - won't be over simplified. +Thu, 8 May 2008 09:16:24 +0000 +Checked in by : Robert Osfield +Updated the doxygen docs to explain the deprecated status of SceneView -2004-04-22 21:51 robert +Wed, 7 May 2008 17:06:36 +0000 +Checked in by : Robert Osfield +Commented out checking of DISPLAY env var - * examples/osgdem/osgdem.cpp: 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, 7 May 2008 14:32:39 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-04-22 13:36 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 - * include/osgUtil/Simplifier, src/osgTerrain/DataSet.cpp, - src/osgUtil/Simplifier.cpp: Added support for protecting points - from being simplified. - - Added back in support for generation of skirts in - osgTerrain::DataSet. +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" -2004-04-22 10:47 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. - * include/osg/Geode, src/osg/Geode.cpp: 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. +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") -2004-04-22 10:44 robert +Other arguments you can use to control the 3D effect are: - * include/osgSim/ScalarBar: Added update() method to enable the - ScaleBar to be updated after changes - to attached classes. +--wow-content + This value defines the kind of content that can be: + 0: No depth + 1: Signage + 2: Movie + 3: CGI + 4: Still -2004-04-22 08:04 robert +--wow-factor + Percentage of the display recommended depth value. Default 64, Range [0-255] - * examples/osgscribe/osgscribe.cpp: Added pathway in code for - override the colour of the wireframe scribe +--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. + " -2004-04-21 13:20 robert - * src/osgPlugins/txp/ReaderWriterTXP.cpp: Added searching of the - filepath. -2004-04-21 11:06 robert +Wed, 7 May 2008 13:49:32 +0000 +Checked in by : Robert Osfield +From Terry Welsh, fixed typo of getEnd() - * src/osgTerrain/DataSet.cpp: Added back in tri stripping of tiles +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. " -2004-04-21 10:40 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." - * src/osgUtil/Simplifier.cpp: Changed the edge collapse to accept - edges with more than two connected - triangles. +Wed, 7 May 2008 11:59:15 +0000 +Checked in by : Robert Osfield +Added doxygen comments for attach -2004-04-20 09:46 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 - * VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgsimplifier, - VisualStudio/examples/osgsimplifier/osgsimplifier.dsp, - VisualStudio/examples/osgsimplifier/resources.rc: Added project - files for osgsimplifier example. +Fri, 25 Apr 2008 13:10:05 +0000 +Checked in by : Robert Osfield +Update AUTHORS file for 2.4 release -2004-04-20 09:36 robert +Fri, 25 Apr 2008 12:58:07 +0000 +Checked in by : Robert Osfield +Updated ChangeLog for 2.4 release - * src/osgUtil/Simplifier.cpp: 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, 25 Apr 2008 12:40:14 +0000 +Checked in by : Robert Osfield +Update NEWS and README to 2.4 stable release -2004-04-19 23:08 robert +Fri, 25 Apr 2008 09:46:25 +0000 +Checked in by : Robert Osfield +Updated Version number for 2.4 stable release - * include/osgUtil/Simplifier, src/osgTerrain/DataSet.cpp, - src/osgUtil/Optimizer.cpp, src/osgUtil/Simplifier.cpp: Added - support for using the error metric to guide the simplficiation - process +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"." -2004-04-19 20:44 robert +Fri, 25 Apr 2008 08:34:54 +0000 +Checked in by : Robert Osfield +Added cast to avoid warning - * src/osgUtil/Simplifier.cpp: Changed the scoping for for variables - to fix VS6.0 compile. +Thu, 24 Apr 2008 16:50:17 +0000 +Checked in by : Robert Osfield +Updated date of 2.4 release -2004-04-19 20:06 robert +Thu, 24 Apr 2008 16:49:52 +0000 +Checked in by : Robert Osfield +Updated AUTHORS file for release - * src/osgUtil/Simplifier.cpp: Added support for detecting edge - collapses which will overturn the local - triangles. +Thu, 24 Apr 2008 16:48:59 +0000 +Checked in by : Robert Osfield +Updated ChangeLog for 2.3.11 release -2004-04-18 16:15 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 - * Make/makedirdefs, examples/osgsimplifier, - examples/osgsimplifier/GNUmakefile, - examples/osgsimplifier/GNUmakefile.inst, - examples/osgsimplifier/osgsimplifier.cpp, - include/osgUtil/Simplifier, src/osgTerrain/DataSet.cpp, - src/osgUtil/Simplifier.cpp: Added osgsimplifier example. +Thu, 24 Apr 2008 14:46:21 +0000 +Checked in by : Robert Osfield +From Colin Dunlop, added alias for .live to quicktime plugin mapping. -2004-04-18 14:12 robert +Thu, 24 Apr 2008 11:34:43 +0000 +Checked in by : Robert Osfield +Reverted the changes for ill fated tweaks for Apple build - * src/osgPlugins/pfb/ConvertFromPerformer.cpp: Changed std::cout to - osg::notify +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." -2004-04-18 14:02 robert - * src/osgPlugins/Inventor/ConvertFromInventor.cpp: Changed - std::cout to osg::notify -2004-04-18 13:44 robert +Wed, 23 Apr 2008 21:07:54 +0000 +Checked in by : Robert Osfield +Updated authors file for 2.3.11 release - * src/osgPlugins/ive/Image.cpp: 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)." +Wed, 23 Apr 2008 21:07:16 +0000 +Checked in by : Robert Osfield +Updated ChangeLog -2004-04-17 22:50 robert +Wed, 23 Apr 2008 20:54:28 +0000 +Checked in by : Robert Osfield +Updated version number 2.3.11 - * src/osgUtil/Simplifier.cpp: Further work on Simplifer support for - compute error metric +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. -2004-04-17 20:27 robert +Wed, 23 Apr 2008 20:49:19 +0000 +Checked in by : Robert Osfield +Removed the mutable from the _image variable - * src/osgUtil/Simplifier.cpp: Changed TriangleSet::iterator to - const_iterator to fix build under VS.NET. +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 -2004-04-17 16:02 robert +Tue, 22 Apr 2008 14:31:30 +0000 +Checked in by : Robert Osfield +Added return. - * src/osgUtil/Simplifier.cpp: Further work on simplifier edge - collapse code +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." -2004-04-16 22:50 robert +Tue, 22 Apr 2008 13:00:52 +0000 +Checked in by : Robert Osfield +Updated AUTHORS file - * include/osg/Texture, src/osg/Texture.cpp: From Don Tidrow, - changed "setupGLExtenions()" to "setupGLExtensions()" in Texture - and - Texture.cpp +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. -2004-04-16 22:07 robert +Tue, 22 Apr 2008 11:47:17 +0000 +Checked in by : Robert Osfield +Updated version number for 2.3.10 dev release - * examples/osggeometry/osggeometry.cpp: Fixed incorrecting sizing - of background tex coords +Tue, 22 Apr 2008 11:41:03 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-04-16 10:05 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. - * src/osg/Texture.cpp: From Bob Kuehne, updated extension/version - checking for border clamp extension. +Tue, 22 Apr 2008 10:10:24 +0000 +Checked in by : Robert Osfield +Updated authors -2004-04-15 09:37 robert +Tue, 22 Apr 2008 09:43:55 +0000 +Checked in by : Robert Osfield +Fixed name - * src/osgUtil/Simplifier.cpp: Added tests for the consistency of - points, edges and triangles. +Mon, 21 Apr 2008 16:31:54 +0000 +Checked in by : Robert Osfield +Updated NEWS for 2.4 release -2004-04-14 11:56 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 - * src/osgTerrain/GNUmakefile: Fixed typo in makefile +Fri, 18 Apr 2008 16:21:12 +0000 +Checked in by : Robert Osfield +Updated AUTHORS file for release -2004-04-14 08:58 robert +Fri, 18 Apr 2008 16:20:08 +0000 +Checked in by : Robert Osfield +Updated ChangeLog - * src/osgTerrain/GNUmakefile: From Garret Potts, added -losgUtil to - libs linked to osgTerrain +Fri, 18 Apr 2008 15:52:14 +0000 +Checked in by : Robert Osfield +Updated date on readem -2004-04-13 16:03 robert +Fri, 18 Apr 2008 15:01:49 +0000 +Checked in by : Robert Osfield +Updated wrappers - * include/osgDB/Registry: Fixed bogus read*Implementation calls in - ReadFileCallback. +Fri, 18 Apr 2008 14:57:43 +0000 +Checked in by : Robert Osfield +Added support for COLOR_BUFFER entries up to 15 -2004-04-13 15:59 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. - * src/osgUtil/Simplifier.cpp: Added support for removing triangles - and associated edge and points from - the EdgeCollapse object. +Fri, 18 Apr 2008 14:33:14 +0000 +Checked in by : Robert Osfield +Fixed bug in FBO colour attachement code -2004-04-13 14:39 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&) - * src/osgUtil/Simplifier.cpp: Added support for copy all per vertex - attributes to and from the edge collapse - object. +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 -2004-04-12 21:30 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 - * src/osgTerrain/DataSet.cpp: Commented out call to - osgUtil::Simplifier as this utility is not yet functional +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 + + -2004-04-12 21:29 robert - * include/osgUtil/Simplifier, src/osgUtil/Optimizer.cpp, - src/osgUtil/Simplifier.cpp: Further work on the new - osgUtil::Simplifier. -2004-04-12 13:36 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 :)" - * src/osgTerrain/DataSet.cpp: 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. -2004-04-11 21:21 robert - * include/osg/Timer, src/osg/Timer.cpp, - src/osgPlugins/ac3d/ac3d.cpp, src/osgPlugins/dx/DXWriter.cpp, - src/osgPlugins/iv/parser.cpp, src/osgPlugins/iv/parser.y: From - Eric Wing, clean ups for OSX support. +Thu, 17 Apr 2008 11:12:21 +0000 +Checked in by : Robert Osfield +From John Shue, build fix for QT 3.x -2004-04-10 16:11 robert +Thu, 17 Apr 2008 09:04:29 +0000 +Checked in by : Stephan Maximilian HUBER +updated XCode project - * examples/osgcallback/osgcallback.cpp, include/osgDB/ReadFile, - include/osgDB/Registry, src/osgDB/ReadFile.cpp, - src/osgDB/Registry.cpp: 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. +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. -2004-04-10 11:30 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, - * VisualStudio/osgPlugins/flt/flt.dsp, - VisualStudio/osgSim/osgSim.dsp, include/osgSim/LightPointNode, - include/osgSim/LightPointSystem, src/osgPlugins/flt/GNUmakefile, - src/osgPlugins/flt/LightPointSystemRecord.cpp, - src/osgPlugins/flt/LightPointSystemRecord.h, - src/osgPlugins/flt/RecordVisitor.h, - src/osgPlugins/flt/flt2osg.cpp, src/osgPlugins/flt/flt2osg.h, - src/osgPlugins/flt/opcodes.h, src/osgSim/LightPointNode.cpp, - src/osgUtil/Simplifier.cpp: From Paul Martz, added support for - OpenFlight15.8 LightPointSystems +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. +" -2004-04-09 08:20 robert - * src/osgUtil/Simplifier.cpp: Renamed MyTriangleOperator to - CollectTriangleOperator. -2004-04-08 11:27 robert +Wed, 16 Apr 2008 15:22:03 +0000 +Checked in by : Robert Osfield +Updated version number for nex dev release - * VisualStudio/osgUtil/osgUtil.dsp, include/osgUtil/Simplifier, - src/osgTerrain/DataSet.cpp, src/osgUtil/GNUmakefile, - src/osgUtil/Simplifier.cpp: Added beginning of new - osgUtil::Simplifier +Wed, 16 Apr 2008 10:01:16 +0000 +Checked in by : Robert Osfield +From Jason Beverage, cursor inheritance support -2004-04-07 18:38 robert +Tue, 15 Apr 2008 20:27:49 +0000 +Checked in by : Robert Osfield +Updated AUTHORS.txt for release - * src/osgPlugins/lib3ds/ReaderWriter3DS.cpp: Added an alteranive - code path for the fallback for handling opaque texture - blending. +Tue, 15 Apr 2008 20:16:57 +0000 +Checked in by : Robert Osfield +Updated ChangeLog -2004-04-07 08:57 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." - * src/osgPlugins/flt/GroupRecord.h, - src/osgPlugins/flt/TextureMappingPaletteRecord.h, - src/osgPlugins/flt/flt2osg.cpp: From Paul Martz, changes to - better support OpenFlight 15.8 +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. -2004-04-06 20:15 robert - * src/osgPlugins/obj/ReaderWriterOBJ.cpp: Fixed comments on the OBJ - coords system -2004-04-06 16:01 robert +Tue, 15 Apr 2008 12:52:47 +0000 +Checked in by : Robert Osfield +Updated wrappers - * include/osgTerrain/DataSet, src/osgTerrain/DataSet.cpp: Fixes - from Per Månsson for Win32 build +Tue, 15 Apr 2008 11:50:34 +0000 +Checked in by : Robert Osfield +From Tim Moore, compile fix for gcc 4.3 -2004-04-05 21:27 robert +Mon, 14 Apr 2008 10:38:37 +0000 +Checked in by : Robert Osfield +Added docs explaining units - * examples/osgdem/osgdem.cpp: Added --wtk_file option +Sun, 13 Apr 2008 19:31:09 +0000 +Checked in by : Robert Osfield +Added subdivision of Goedes -2004-04-05 15:58 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; + } - * src/osgTerrain/DataSet.cpp: Re-enabled normal generation on - tiles. + if (itr!=_text.end()) + { + // skip over spaces and return. + while (*itr==' ') ++itr; // New + if (*itr=='\n') ++itr; + } -2004-04-05 15:46 robert + // move to new line. + switch(_layout) + { + .." - * src/osgTerrain/DataSet.cpp: Commented out scale setting when - source DEM is in lat+longs. -2004-04-05 15:39 robert - * include/osgTerrain/CoordinateSystem, src/osgTerrain/DataSet.cpp: - 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. +Sun, 13 Apr 2008 14:29:22 +0000 +Checked in by : Robert Osfield +From Paul Martz, added osgocclussionquery and osgthirdpersonview examples -2004-04-05 09:00 robert +Sat, 12 Apr 2008 10:02:28 +0000 +Checked in by : Robert Osfield +Changed bias parameter to scale - * include/osgDB/DynamicLibrary: From Nathan Cournia, fix to = - operator, was eroneous written as an == operator. +Fri, 11 Apr 2008 14:52:35 +0000 +Checked in by : Robert Osfield +Updadated authors file for dev release -2004-04-04 15:33 robert +Fri, 11 Apr 2008 14:43:22 +0000 +Checked in by : Robert Osfield +Updated wrappers, and version numbers in prep for next release - * include/osgTerrain/DataSet, src/osgTerrain/DataSet.cpp: Prelimary - work on adding support for local tile transforms +Fri, 11 Apr 2008 14:33:24 +0000 +Checked in by : Robert Osfield +Fixed J.P. Delports name -2004-04-02 15:55 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. - * src/osgTerrain/DataSet.cpp: Added support for generating - compressed textures +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." -2004-04-02 15:45 robert - * src/osg/CopyOp.cpp: 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. -2004-04-02 15:23 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 +" - * src/osgTerrain/DataSet.cpp: 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 - * src/osgTerrain/DataSet.cpp: Changed default cut of ratio to be - smaller, to reduce the resolution of - tiles selected. +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 -2004-04-01 13:09 robert - * include/osgTerrain/DataSet, src/osgTerrain/DataSet.cpp: Added - scaling of the PagedLOD range to be relative to the radius of - children. -2004-04-01 11:03 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." - * examples/osgdem/osgdem.cpp: Added support for --geocentric option - to allow users to specify that the - output database should by in geocentric coordinates. +Fri, 11 Apr 2008 11:58:27 +0000 +Checked in by : Robert Osfield +From Jose Delport, a MRT example implementing stereo matching. -2004-04-01 11:02 robert +Fri, 11 Apr 2008 11:19:58 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgTerrain/DataSet.cpp: Cleaned up handling of geocentric - coords +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. -2004-04-01 07:49 robert - * src/osgPlugins/obj/ReaderWriterOBJ.cpp: Changed the comment to - make it clear what axis change is implementated. +I'm aware that this might not be supported on all systems/keyboards +out of the box, but decided to submit it anyway because: -2004-03-31 22:31 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.) - * include/osgTerrain/CoordinateSystem, include/osgTerrain/DataSet, - src/osgTerrain/DataSet.cpp: Added preliminary support for - converting datasets into geocentric coords +- even if someone relies on Hyper/Super in distributed software, + this is easy to fix and doesn't create lock-in conditions -2004-03-31 15:50 robert +- while the names Hyper/Super may only be common on X11, they are + just symbol names and not OS-specific - * examples/osgdem/osgdem.cpp, include/osgTerrain/CoordinateSystem, - src/osgTerrain/CoordinateSystem.cpp: Added - osgTerrain::EllipsodeTransform helper class for converting to and - from - lat, long, height to geocentric X,Y,Z and back. +- 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 -2004-03-31 09:20 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" - * include/osgTerrain/DataSet, src/osgTerrain/DataSet.cpp: Clean up - freeing of no longer required tiles -2004-03-31 08:52 robert - * include/osgSim/SphereSegment, src/osgSim/SphereSegment.cpp: From - David Fries, add init() call to SphereSegment constructor, and - new get methods for draw mask and color. +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." -2004-03-30 22:06 robert +Fri, 11 Apr 2008 10:31:49 +0000 +Checked in by : Robert Osfield +From Colin McDonald, fixed typo. - * src/osgTerrain/DataSet.cpp: Added back in tri stripping of - geometry tiles +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." -2004-03-30 22:02 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" - * src/osgTerrain/DataSet.cpp: 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. +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. -2004-03-30 21:13 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. - * include/osgTerrain/DataSet, src/osgTerrain/DataSet.cpp: Fixed the - boundary equalization +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. -2004-03-30 19:15 robert - * src/osgTerrain/DataSet.cpp: Added debugging for detecting - problems in boundary equalization -2004-03-29 22:26 robert - * examples/osgdem/osgdem.cpp, include/osgTerrain/CoordinateSystem, - src/osgTerrain/CoordinateSystem.cpp, src/osgTerrain/DataSet.cpp: - Added normal generation in polygonal tile generation, and add - --wtk option - for setting coord systems in osgdem -2004-03-29 14:40 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." - * src/osgTerrain/DataSet.cpp: Added support for generating - polygonal tiles -2004-03-29 12:28 robert - * include/osg/TriangleIndexFunctor: Fixed the handling - begin()/vertex()/end() sequences in TriangleIndexFunctor. +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." -2004-03-29 12:28 robert +Wed, 2 Apr 2008 17:08:40 +0000 +Checked in by : Robert Osfield +From Jose Delport, added support for MRT via glDrawBuffers - * src/osgUtil/TriStripVisitor.cpp: Added extra check against a null - vertex array to prevent a crash when - tri stripping an empty geometry. +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. -2004-03-29 10:45 robert - * examples/osgdem/osgdem.cpp, include/osgTerrain/DataSet, - src/osgTerrain/DataSet.cpp: Groundwork for adding support for - polygonal tiles -2004-03-29 10:24 robert - * include/osg/Geometry, src/osg/Geometry.cpp, - src/osgUtil/Optimizer.cpp: 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 +Wed, 2 Apr 2008 13:55:50 +0000 +Checked in by : Robert Osfield +Updated to reflect new COLOR_BUFFER0 value -2004-03-29 09:32 robert +Wed, 2 Apr 2008 13:48:41 +0000 +Checked in by : Robert Osfield +From Jose Delport, introduced osgmultiplerendertargets example - * src/osgPlugins/dds/ReaderWriterDDS.cpp: Fixed handling of - FOURCC_DXT1 pixel format. +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. -2004-03-26 11:04 robert +Wed, 2 Apr 2008 11:28:10 +0000 +Checked in by : Robert Osfield +From Jose Delport, typo fixes - * include/osgProducer/Viewer, src/osgProducer/Viewer.cpp: Added - support for recording the animation paths relative to an 0.0 - start - time. +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 -2004-03-26 10:48 robert +Tue, 1 Apr 2008 14:52:49 +0000 +Checked in by : Robert Osfield +Removed svn:externals property - * include/osg/AnimationPath: Added empty() method as a convinience - method for setting checking whether - an animation path contains any control points +Tue, 1 Apr 2008 14:28:55 +0000 +Checked in by : Robert Osfield +Updated data for 2.3.7 dev release -2004-03-25 18:34 don +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. - * Make/makedefs, Make/makerules: Applied Norman Vine's changes for - Cygwin/Mingw +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. -2004-03-21 12:17 robert - * examples/osgdem/osgdem.cpp, include/osgTerrain/DataSet, - src/osgTerrain/DataSet.cpp: Added TextureType and GeometryType - parameters to DataSet. These will be used - to control what type of database is generated. -2004-03-20 18:32 robert - * examples/osgdem/osgdem.cpp, include/osgTerrain/DataSet, - src/osgTerrain/DataSet.cpp: Implemented support for overriding - the coordinate system and geo transform - using in generate of databases. +Tue, 1 Apr 2008 10:33:01 +0000 +Checked in by : Robert Osfield +Updated version numbers for 2.3.7 dev release -2004-03-20 17:21 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." - * src/osgPlugins/flt/Pool.h, src/osgPlugins/flt/flt2osg.cpp: From - Paul Martz, code change to make the flt loader pass its light - point intensity value in to osgSim::LightPoint. +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. -2004-03-19 22:20 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. - * examples/osgdem/osgdem.cpp: Added support for setting the - geoTransform to use in source data. +Mon, 31 Mar 2008 14:00:42 +0000 +Checked in by : Robert Osfield +From Andy Skinner, build fix for Solaris -2004-03-19 22:03 robert +Mon, 31 Mar 2008 11:44:31 +0000 +Checked in by : Robert Osfield +Added Camera::s/getClearAccum, s/getClearStencil and s/getClearDepth. - * examples/osgdem/osgdem.cpp: Improved the argument handling. +Mon, 31 Mar 2008 09:43:14 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-03-19 22:03 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. - * include/osg/ArgumentParser, src/osg/ArgumentParser.cpp: 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. +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." -2004-03-19 09:18 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. - * include/osg/LineSegment, src/osg/LineSegment.cpp: Moved the - LineSegment destructor from the header to the source to avoid - compilation problems under MingW. +Fri, 28 Mar 2008 17:53:58 +0000 +Checked in by : Robert Osfield +Improved the error capture and reporting -2004-03-18 21:39 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. - * src/osgTerrain/DataSet.cpp: Added defaults for the geotransform - when none exists. +The rewritten method no longer uses the the MaximumNumOfRemovedChildPagedLODs +and MinimumNumOfInactivePagedLODs variables so these and associated methods +for accessing them have been removed. -2004-03-17 20:34 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; } - * src/osgPlugins/flt/flt2osg.cpp: 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." -2004-03-17 20:31 robert - * include/osgParticle/ParticleProcessor, - include/osgParticle/ParticleSystemUpdater, - src/osgPlugins/osgParticle/IO_ParticleSystemUpdater.cpp: From - Marco Jez, updates to osgParticle, with integration of changes - from Tom - Jolly. -2004-03-17 20:04 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 - * src/osgTerrain/DataSet.cpp: Added support for writing out to .ive +Fri, 28 Mar 2008 15:28:03 +0000 +Checked in by : Robert Osfield +Reordered set up of scene and event handlers to prevent warning -2004-03-17 20:03 robert +Fri, 28 Mar 2008 13:22:30 +0000 +Checked in by : Robert Osfield +Removed old lower case versions - * src/osg/Image.cpp: Added the setting of the - _internalTextureFormat from within osg::Image. +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. + -2004-03-17 17:04 robert - * src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/Shape.cpp: Completed support for the majority - of osg::Shape. -2004-03-17 16:11 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. - * VisualStudio/osgPlugins/ive/ive.dsp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/ive/Shape.cpp, src/osgPlugins/ive/Shape.h, - src/osgPlugins/ive/ShapeDrawable.cpp, - src/osgPlugins/ive/ShapeDrawable.h: Added prelimary shape support - to .ive plugin +Thu, 27 Mar 2008 11:56:35 +0000 +Checked in by : Robert Osfield +Added wrapper for TerrainTile -2004-03-17 08:15 robert +Thu, 27 Mar 2008 11:55:03 +0000 +Checked in by : Robert Osfield +Renamed osgTerrain::TerrainSystem to osgTerrain::Terrain - * src/osgPlugins/flt/flt2osg.cpp: From Paul Martz, added - (non-meters) unit scaling to the flt plugin - failed to set the scaling of external references. +Thu, 27 Mar 2008 10:55:39 +0000 +Checked in by : Robert Osfield +Renamed Terrain to TerrainTile -2004-03-16 21:03 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. - * src/osgText/Text.cpp: Added better handling of number of graphic - context size changes. +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." -2004-03-16 16:54 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 - * include/osgTerrain/DataSet, src/osgTerrain/DataSet.cpp: Added - support for generation of PagedLOD databases in - osgTerrain::DataSet +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 -2004-03-16 16:10 robert +-- - * src/osgPlugins/osg/Texture.cpp: From Joran Jessurun, fixed - "borderColor" typo. +And Later post: -2004-03-16 09:40 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..." - * Make/dependencies: Set JASPER_INSTALLED to no -2004-03-15 15:47 robert - * examples/osgdem/osgdem.cpp, include/osgTerrain/DataSet, - src/osgTerrain/DataSet.cpp: Added support for controlling the - type of destiation database to create into - osgTerrain::DataSet. +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 -2004-03-14 21:54 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 - * include/osg/Drawable, include/osg/Geometry, - include/osg/PrimitiveSet, include/osg/TriangleIndexFunctor, - src/osg/Geometry.cpp, src/osg/PrimitiveSet.cpp: Added - PrimitiveIndexFunctor for better support of TriangleIndexFunctor +Tue, 25 Mar 2008 13:01:40 +0000 +Checked in by : Robert Osfield +Added #include to fix gcc 4.3 build problem -2004-03-14 15:40 robert +Tue, 25 Mar 2008 12:26:43 +0000 +Checked in by : Robert Osfield +Fixed LessGeode operator. - * src/osgDB/Registry.cpp, src/osgPlugins/quicktime/GNUmakefile, - src/osgPlugins/quicktime/MovieData.cpp, - src/osgPlugins/quicktime/MovieData.h, - src/osgPlugins/quicktime/QTUtils.cpp, - src/osgPlugins/quicktime/QTUtils.h, - src/osgPlugins/quicktime/QuicktimeImageStream.cpp, - src/osgPlugins/quicktime/QuicktimeImageStream.h, - src/osgPlugins/quicktime/ReaderWriterQT.cpp: 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, 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." -2004-03-14 15:26 robert - * VisualStudio/osgPlugins/flt/flt.dsp, - src/osgPlugins/flt/ExternalRecord.h, - src/osgPlugins/flt/FaceRecord.h, src/osgPlugins/flt/FltFile.cpp, - src/osgPlugins/flt/FltFile.h, src/osgPlugins/flt/GNUmakefile, - src/osgPlugins/flt/GroupRecord.cpp, - src/osgPlugins/flt/GroupRecord.h, - src/osgPlugins/flt/HeaderRecord.cpp, - src/osgPlugins/flt/HeaderRecord.h, - src/osgPlugins/flt/LightPointPaletteRecords.cpp, - src/osgPlugins/flt/LightPointPaletteRecords.h, - src/osgPlugins/flt/LightPointRecord.cpp, - src/osgPlugins/flt/LightPointRecord.h, - src/osgPlugins/flt/LodRecord.cpp, src/osgPlugins/flt/LodRecord.h, - src/osgPlugins/flt/Pool.cpp, src/osgPlugins/flt/Pool.h, - src/osgPlugins/flt/RecordVisitor.h, - src/osgPlugins/flt/flt2osg.cpp, src/osgPlugins/flt/flt2osg.h, - src/osgPlugins/flt/opcodes.h: 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." -2004-03-14 15:08 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. - * include/osg/Texture, src/osg/Image.cpp: From Marco Jez, added - support NVidia extension to imager formats. +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. -2004-03-13 16:29 robert +Mon, 24 Mar 2008 10:53:14 +0000 +Checked in by : Robert Osfield +Added full range of cameras manipulators to osgmultitexturecontrol example - * src/osgDB/DatabasePager.cpp: Moved the destructor block->release - to after the cancel(). +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. -2004-03-13 12:36 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. - * src/osgPlugins/lws/SceneLoader.cpp: Added setting of pivot point - in AnimationPathCallback +Fri, 21 Mar 2008 18:31:56 +0000 +Checked in by : Robert Osfield +Added missing break; at end of each case entry. -2004-03-12 21:04 robert +Fri, 21 Mar 2008 15:43:53 +0000 +Checked in by : Robert Osfield +Fixed push/popping of filepath, removed verbose debug messages - * examples/osgmovie/osgmovie.cpp: Added some basic event handler. +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 -2004-03-12 20:23 robert +Fri, 21 Mar 2008 13:08:02 +0000 +Checked in by : Robert Osfield +Added initial cut of libcurl based plugin - * Make/makedirdefs, examples/osgmovie/GNUmakefile, - examples/osgmovie/GNUmakefile.inst, - examples/osgmovie/MpegImageStream.cpp, - examples/osgmovie/MpegImageStream.h, - examples/osgmovie/osgmovie.cpp: Cleaned up osgmovie example so it - no longer depends upon LibMpeg3, just - using readImageFile instead. +Thu, 20 Mar 2008 10:24:26 +0000 +Checked in by : Robert Osfield +Updated date for 2.4.6 release -2004-03-12 16:54 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. - * src/osgTerrain/DataSet.cpp: Added the setting of the source data - type in the reproject function, and - disabled the automatic build of overviews. +Changed files: + ./include/osgViewer/api/X11/GraphicsWindowX11 + ./src/osgViewer/GraphicsWindowX11.cpp -2004-03-11 22:04 robert +" - * examples/osgdem/osgdem.cpp: Changed the coordinate system option - to --o_cs -2004-03-11 16:14 robert - * Make/makedirdefs, examples/osgdem/DataSet.cpp, - examples/osgdem/DataSet.h, examples/osgdem/GNUmakefile, - examples/osgdem/osgdem.cpp, include/osgTerrain/DataSet, - src/osgTerrain/DataSet.cpp, src/osgTerrain/GNUmakefile: Moved - osgTerrain::DataSet from the osgdem example into osgTerrain. - Added - various improvements. +Wed, 19 Mar 2008 17:11:20 +0000 +Checked in by : Robert Osfield +Update AUTHOR file -2004-03-11 14:34 robert +Wed, 19 Mar 2008 17:10:38 +0000 +Checked in by : Robert Osfield +Updated version and ChangeLog for 2.3.6 dev release. - * src/osg/Texture3D.cpp, src/osg/TextureRectangle.cpp: Replaced - eronous GL_TEXTURE_2D instances with GL_TEXTURE_3D and - GL_TEXTURE_RECTANGLE_NV - respectively. +Wed, 19 Mar 2008 12:30:50 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-03-11 14:34 robert +Wed, 19 Mar 2008 12:09:20 +0000 +Checked in by : Robert Osfield +From Sebastian Messerschimdt, Added polygon offset controls - * src/osg/Texture1D.cpp: From Bob Kuehne, fixed eroneous use of - GL_TEXTURE_2D token in texture object - manager usage +Wed, 19 Mar 2008 11:41:37 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-03-11 09:04 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&) - * examples/osgtexturerectangle/osgtexturerectangle.cpp: Fixed - normal orientation +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. -2004-03-10 15:41 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. - * src/osgPlugins/mpeg/GNUmakefile, - src/osgPlugins/mpeg/MpegImageStream.cpp, - src/osgPlugins/mpeg/MpegImageStream.h: Ported mpeg plugin across - to use OpenThreads instead of pthreads. +Tue, 18 Mar 2008 15:48:48 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-03-09 23:00 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. - * src/osgPlugins/flt/flt2osg.cpp: From Paul Martz, fix to the - scaling of light points in flt plugin. +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 -2004-03-09 21:33 robert +Tue, 18 Mar 2008 09:17:52 +0000 +Checked in by : Robert Osfield +Added ObjectRecordData to include list - * src/osgUtil/CullVisitor.cpp: 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, 17 Mar 2008 15:22:03 +0000 +Checked in by : Robert Osfield +Added minimum and maximum scale support to osg::AutoTransform -2004-03-09 15:39 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. - * Make/makedirdefs: Fixed mpeg plugin entry +Mon, 17 Mar 2008 12:13:20 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-03-09 15:00 robert +Mon, 17 Mar 2008 12:11:39 +0000 +Checked in by : Robert Osfield +Added doxygen docs - * Make/makedirdefs, src/osgDB/Registry.cpp, src/osgPlugins/mpeg, - src/osgPlugins/mpeg/GNUmakefile, - src/osgPlugins/mpeg/MpegImageStream.cpp, - src/osgPlugins/mpeg/MpegImageStream.h, - src/osgPlugins/mpeg/ReaderWriterMPEG.cpp: Added MPEG plugin +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. -2004-03-09 14:59 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 - * include/osg/Texture2D, include/osg/TextureRectangle, - src/osg/Texture2D.cpp, src/osg/TextureRectangle.cpp: Added - TextureRectangle(Image*) contructor. +Sat, 15 Mar 2008 19:27:35 +0000 +Checked in by : Robert Osfield +Added better error reporting -2004-03-09 14:58 robert +Fri, 14 Mar 2008 16:51:39 +0000 +Checked in by : Robert Osfield +From Paul Melis, "typo fix : NVidea -> NVidia (including option --Nvidea)" - * include/osg/Geometry, src/osg/Geometry.cpp: Added float s, float - t parameters to createTexturedGeometry function +Fri, 14 Mar 2008 16:24:36 +0000 +Checked in by : Robert Osfield +Update ChangeLog and AUTHORS.txt file for 2.3.5 release -2004-03-09 14:57 robert +Fri, 14 Mar 2008 15:33:59 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/ive/FragmentProgram.h, - src/osgPlugins/ive/VertexProgram.h: Fixed compile warning +Fri, 14 Mar 2008 15:33:47 +0000 +Checked in by : Robert Osfield +Added utilty script for cleaning up build files/directories. -2004-03-09 14:00 robert +Fri, 14 Mar 2008 15:32:56 +0000 +Checked in by : Robert Osfield +Fixed indenting - * examples/osgmovie/ImageStream.h, - examples/osgmovie/MpegImageStream.cpp, - examples/osgmovie/osgmovie.cpp: Removed redundent ImageStream.h +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.) " -2004-03-09 09:42 robert +Fri, 14 Mar 2008 15:00:37 +0000 +Checked in by : Robert Osfield +Missing checkin - * examples/osgmovie/MpegImageStream.cpp, - examples/osgmovie/MpegImageStream.h, - examples/osgmovie/osgmovie.cpp, include/osg/ImageStream, - src/osg/GNUmakefile, src/osg/ImageStream.cpp: Preliminary work on - general support of video textures. +Fri, 14 Mar 2008 14:35:15 +0000 +Checked in by : Robert Osfield +Added iostream include -2004-03-08 17:13 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. - * src/osg/Texture.cpp, src/osg/TextureRectangle.cpp: Added support - for APPLE_client_storage to TextureRectange +Fri, 14 Mar 2008 12:03:11 +0000 +Checked in by : Robert Osfield +Converted static const unsigned int definitio to enum. -2004-03-08 17:09 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 - * include/osg/Texture, src/osg/Texture.cpp: Added support for - APPLE_client_storage of textures. +Fri, 14 Mar 2008 11:07:03 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-03-08 11:53 robert +Fri, 14 Mar 2008 11:06:54 +0000 +Checked in by : Robert Osfield +Improved the indenting - * include/osg/CullStack: Clean up of headers. +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 -2004-03-08 11:41 robert +Fri, 14 Mar 2008 11:01:54 +0000 +Checked in by : Robert Osfield +From Andy Skinner, build fix for Solaris - * include/osgGA/TrackballManipulator: Added - osgGA::TrackballManipulator::g/setMinimumZoomScale() method. +Thu, 13 Mar 2008 19:48:16 +0000 +Checked in by : Robert Osfield +Fixed doc comment -2004-03-08 11:02 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 - * Make/makedefs, examples/osgcluster/broadcaster.cpp, - include/osg/GL, include/osg/GLExtensions, include/osg/GLU, - include/osg/Math, include/osg/Timer, src/osg/Timer.cpp, - src/osgDB/DynamicLibrary.cpp, src/osgDB/FileUtils.cpp, - src/osgDB/Registry.cpp, src/osgPlugins/ac3d/ac3d.cpp, - src/osgPlugins/dx/DXWriter.cpp, src/osgPlugins/iv/parser.cpp, - src/osgPlugins/iv/parser.y: From Bob Kuehne, change on - __DARWIN_OSX__ define to __APPLE__ +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". -2004-03-07 21:03 robert +2) The last primitive defined in "coordIndex" is now added if the +"coordIndex" is not terminated by -1. - * src/osg/Referenced.cpp: Added #include for Win32 build +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. -2004-03-07 14:21 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. - * include/osg/Notify, include/osg/UnitTestFramework, - src/osg/Notify.cpp, src/osgGA/AnimationPathManipulator.cpp, - src/osgProducer/ViewerEventHandler.cpp: Clean up of headers. +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? -2004-03-07 14:19 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." - * src/osgPlugins/ac3d/ac3d.cpp, src/osgPlugins/ac3d/osgac3d.h: From - Geof Michel, bug fix to handling of Materials -2004-03-07 14:14 robert - * src/osgPlugins/quicktime/ReaderWriterQT.cpp: Changed cerr to - osg::notify(osg::WARN) +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. " -2004-03-06 15:03 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." - * src/osgPlugins/flt/Input.cpp, src/osgPlugins/flt/Input.h, - src/osgPlugins/flt/LocalVertexPoolRecord.cpp, - src/osgPlugins/flt/LocalVertexPoolRecord.h, - src/osgPlugins/flt/opcodes.h: 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 - - * VisualStudio/icons/osg.ico: Added osg.ico back in again to test - out cvs's assignment of keyword - substitution. - -2004-03-06 14:37 robert - - * VisualStudio/icons/osg.ico: Temporarily removed osg.ico - -2004-03-06 14:13 robert - - * src/osgPlugins/gdal/ReaderWriterGDAL.cpp, - src/osgPlugins/iv/normals.cpp: Changed cout/cerr to - osg::notify(). - -2004-03-05 20:07 robert - - * src/osgPlugins/txp/TXPArchive.cpp: From Boris Bralo, Added std:: - in front of getline. - -2004-03-05 15:44 robert - - * include/osgParticle/Particle, src/osgParticle/Particle.cpp: 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 - - * src/osgPlugins/flt/AttrData.h, - src/osgPlugins/flt/GeoSetBuilder.cpp: From Paul Martz/Robert - Osfield. Addition of initializers in AttrData to prevent - bugs due to uninitialized memory references. - -2004-03-04 16:38 robert - - * src/osgPlugins/flt/HeaderRecord.cpp: From Paul Martz, fix to the - byte swapping of the version number - -2004-03-04 14:33 robert - - * VisualStudio/osgPlugins/ive/ive.dsp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/FragmentProgram.cpp, - src/osgPlugins/ive/FragmentProgram.h, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/ive/StateSet.cpp, - src/osgPlugins/ive/VertexProgram.cpp, - src/osgPlugins/ive/VertexProgram.h: From Bob Kuehne, added - support for FragmentProgram and VertexProgram into .ive - -2004-03-04 14:32 robert - - * include/osgGL2/ProgramObject: Removed redundent - getAssociatedModes() - -2004-03-03 15:38 robert - - * include/osg/AlphaFunc, include/osg/BlendColor, - include/osg/BlendFunc, include/osg/ClipPlane, - include/osg/CullFace, include/osg/Depth, include/osg/Fog, - include/osg/FragmentProgram, include/osg/Light, - include/osg/LineStipple, include/osg/Material, - include/osg/Multisample, include/osg/Point, - include/osg/PointSprite, include/osg/PolygonOffset, - include/osg/PolygonStipple, include/osg/StateAttribute, - include/osg/StateSet, include/osg/Stencil, include/osg/TexGen, - include/osg/Texture1D, include/osg/Texture2D, - include/osg/Texture3D, include/osg/TextureCubeMap, - include/osg/TextureRectangle, include/osg/VertexProgram, - src/osg/BlendColor.cpp, src/osg/Multisample.cpp, - src/osg/PointSprite.cpp, src/osg/StateSet.cpp: Changed - StateAttribute::getAssociatedModes(std::vector&) across - to StateAttribute::getModeUsage(StateAttribute::ModeUsage&). - -2004-03-03 13:27 robert - - * examples/osgconv/osgconv.cpp, - examples/osgpagedlod/osgpagedlod.cpp, - examples/osgunittests/osgunittests.cpp, - include/osg/AnimationPath, include/osg/ApplicationUsage, - include/osg/ArgumentParser, include/osg/Math, - include/osg/Matrixd, include/osg/Matrixf, include/osg/Notify, - include/osg/UByte4, include/osg/UnitTestFramework, - include/osg/Vec2, include/osg/Vec3, include/osg/Vec4, - include/osgDB/FieldReader, src/osg/CullingSet.cpp, - src/osg/Image.cpp, src/osg/Notify.cpp, src/osg/PagedLOD.cpp, - src/osg/ShapeDrawable.cpp, src/osg/UnitTestFramework.cpp, - src/osgGL2/UniformValue.cpp, - src/osgPlugins/3dc/ReaderWriter3DC.cpp, - src/osgPlugins/ac3d/ac3d.cpp, - src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.cpp, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/lib3ds/ReaderWriter3DS.cpp, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/txp/TXPParser.cpp, src/osgText/Font.cpp, - src/osgUtil/CullVisitor.cpp: Removed include where - possible, replacing with istream or ostream and changing - std::cout/cerr to osg::notify(). - -2004-03-03 11:17 robert - - * examples/osgpointsprite, examples/osgpointsprite/GNUmakefile, - examples/osgpointsprite/GNUmakefile.inst, - examples/osgpointsprite/osgpointsprite.cpp: From Ruben, Added - osgpointsprite examples. - -2004-03-02 22:36 robert - - * Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgpointsprite, - VisualStudio/examples/osgpointsprite/osgpointsprite.dsp, - VisualStudio/osg/osg.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, include/osg/PointSprite, - src/osg/GNUmakefile, src/osg/PointSprite.cpp, - src/osgPlugins/osg/GNUmakefile, - src/osgPlugins/osg/PointSprite.cpp: From Ruben, addition of - osg::PointSprite and osgpointsprite example. - -2004-03-02 21:37 robert - - * src/osg/Timer.cpp: 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 - - * src/osgPlugins/osg/Shape.cpp: Added support for osg::Capsule into - .osg format. - -2004-03-02 20:33 robert - - * examples/osgshape/osgshape.cpp, include/osg/Shape, - src/osg/ShapeDrawable.cpp: From David Jung, added support for - osg::Capsule shape - -2004-03-02 20:05 robert - - * src/osgFX/BumpMapping.cpp: From Marco Jez, fix to circular - reference which was causing a crash. - -2004-03-02 16:57 robert - - * VisualStudio/icons/osg.ico: From Mike Weiblen, updated osg.ico - file. - -2004-03-02 16:53 robert - - * include/osgSim/DOFTransform, src/osgSim/DOFTransform.cpp: From - Brede Johansen, added support for incrementing animation of - DOFTransform - w.r.t. time rather than frame number. - -2004-03-02 16:12 robert - - * include/osgSim/GeographicLocation, - src/osgPlugins/flt/FltFile.cpp, src/osgPlugins/flt/FltFile.h: - 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." - -2004-03-02 15:37 robert +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: - * src/osgPlugins/flt/HeaderRecord.cpp, - src/osgPlugins/flt/HeaderRecord.h: 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." + (1) A:\\foo\\bar.png -> bar.png (as before) + (2) /foo/bar.png -> bar.png (as before) -2004-03-02 15:27 robert + (3) foo/bar.png -> foo/bar.png (new) + (4) ../foo/bar.png -> ../foo/bar.png (new) - * include/osg/AutoTransform: 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 - * include/osg/TriangleIndexFunctor: Fixed warning message -2004-03-01 09:15 robert +Thu, 13 Mar 2008 16:12:46 +0000 +Checked in by : Robert Osfield +From Melchoir Franz, Caps lock support under X11 - * src/osgPlugins/Inventor/GNUmakefile, - src/osgPlugins/Inventor/ReaderWriterIV.cpp: Build fixes +Thu, 13 Mar 2008 16:05:40 +0000 +Checked in by : Robert Osfield +Added double versions of intersect methods -2004-02-26 18:33 don +Thu, 13 Mar 2008 16:05:20 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgProducer/OsgCameraGroup.cpp: Changed OsgCameraGroup to - check for the Producer::RenderSurface::defaultWindowName - rather than the hard coded string +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()." -2004-02-24 12:04 robert +Thu, 13 Mar 2008 15:21:34 +0000 +Checked in by : Robert Osfield +From Paul Martz, files for adding ObjectRecordData support into OpenFlight - * src/osg/Geometry.cpp: Warning fix +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." -2004-02-22 11:58 robert +From Robert Osfield, made the OpenFlight read object record data optional via the -O readObjectRecordData ReaderWriter option. - * Make/dependencies, include/osg/AnimationPath, - include/osg/PositionAttitudeTransform, src/osg/AnimationPath.cpp, - src/osg/PositionAttitudeTransform.cpp, - src/osgPlugins/ive/AnimationPathCallback.cpp, - src/osgPlugins/ive/PositionAttitudeTransform.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/osg/AnimationPath.cpp, - src/osgPlugins/osg/PositionAttitudeTransform.cpp: Added scale - parameter into PositionAttitudeTransform. - - Added pivotPoint parameter into AnimationPathCallack. -2004-02-21 16:59 robert - * src/osg/Timer.cpp: Changed the Timer class to default to using - the standard clock under - Linux to prevent Timer problems occur under Linux32 on the - Athlon64. +Thu, 13 Mar 2008 13:44:34 +0000 +Checked in by : Robert Osfield +Added support for assigning state to created drawables, implemented gluDisk. -2004-02-21 16:57 robert +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. " - * src/osgGA/AnimationPathManipulator.cpp, - src/osgGA/DriveManipulator.cpp, src/osgGA/FlightManipulator.cpp, - src/osgGA/TrackballManipulator.cpp: Made the FRAME event handling - in the various MatrixManipulators return false - from the handle method to prevent frame events from being eaten. +Wed, 12 Mar 2008 20:20:55 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-02-21 16:56 robert +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 - * include/osg/AnimationPath: Added - AnimationPathCallback::s/getTimeOffset and s/getTimeMultiplier() - methods. +Tue, 11 Mar 2008 13:29:12 +0000 +Checked in by : Robert Osfield +Added default implementations of new SceneGraphBuilder class -2004-02-20 20:47 robert +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 - * include/osg/AnimationPath: Added missing _pause(false) into - AnimationPathCallback default contructor. +Tue, 11 Mar 2008 12:10:09 +0000 +Checked in by : Robert Osfield +Added extra event handlers to make viewer more functional -2004-02-20 20:10 robert +Mon, 10 Mar 2008 20:30:56 +0000 +Checked in by : Robert Osfield +Added commandline help options - * include/osg/AnimationPath, src/osg/AnimationPath.cpp: Added - missing initialization in the AnimationPathCallback constructor. +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 -2004-02-20 11:51 robert +Wed, 5 Mar 2008 12:05:55 +0000 +Checked in by : Robert Osfield +Updated wrappers - * include/osg/Material, src/osg/Material.cpp: Added - Material::operator = +Wed, 5 Mar 2008 11:52:56 +0000 +Checked in by : Robert Osfield +From Atr Trevs, added missinging initializers -2004-02-19 10:10 robert +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." - * include/osgUtil/RenderStage: Fixed typo in inline docs on the - default value of the clear stencil value +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. " -2004-02-18 21:40 robert +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. - * VisualStudio/osgPlugins/ive/ive.dsp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/ive/LineWidth.cpp, - src/osgPlugins/ive/LineWidth.h, src/osgPlugins/ive/ReadWrite.h: - Added support for osg::LineWidth into ive format +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. -2004-02-17 09:46 robert +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 - * src/osg/Geometry.cpp: 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. +Sat, 1 Mar 2008 13:42:07 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-02-16 15:27 robert +Sat, 1 Mar 2008 13:40:57 +0000 +Checked in by : Robert Osfield +Added OSG_EXPORT - * src/osgPlugins/ive/DataInputStream.cpp: Removed redundent byte - swap on _version +Sat, 1 Mar 2008 12:50:54 +0000 +Checked in by : Robert Osfield +Fixed typo -2004-02-12 18:40 don +Sat, 1 Mar 2008 12:29:49 +0000 +Checked in by : Robert Osfield +Fixed naming - * src/osgPlugins/flt/FltFile.cpp, src/osgPlugins/flt/FltFile.h, - src/osgPlugins/flt/ReaderWriterFLT.cpp, - src/osgPlugins/flt/flt2osg.cpp: Submission by Paul Martz for - doing units conversions on flight files. +Fri, 29 Feb 2008 16:09:48 +0000 +Checked in by : Robert Osfield +Disabled the resizing of Camera's with FBO's -2004-02-12 12:53 robert +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. - * examples/osgdem/DataSet.cpp, examples/osgdem/DataSet.h: Changed - _X & _Y varaibles to _tileX & _tileY +Thu, 28 Feb 2008 20:02:43 +0000 +Checked in by : Robert Osfield +Added LODScaleHandler -2004-02-12 01:42 robert +Thu, 28 Feb 2008 18:08:32 +0000 +Checked in by : Robert Osfield +Added OSG_EXPIRY_DELAY env var option. - * src/osgSim/SphereSegment.cpp: From Shane Arnott, added drawing of - "split" +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 -2004-02-12 01:15 robert +Thu, 28 Feb 2008 10:56:03 +0000 +Checked in by : Robert Osfield +From He Sicong, "fixed shader calculation of ray tracing" - * examples/osgspheresegment/osgspheresegment.cpp, - include/osg/LineWidth, src/osg/LineWidth.cpp, - src/osgSim/SphereSegment.cpp: Improved osgSim::SphereSegmenet's - handling of transparancy. +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. -2004-02-11 12:06 robert +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." - * src/osg/ShapeDrawable.cpp: Added support for draw back then front - faces of the osg::Sphere shape +Wed, 27 Feb 2008 11:43:58 +0000 +Checked in by : Robert Osfield +From Paul Martz, fixed get/set methods API -2004-02-11 10:19 robert +Wed, 27 Feb 2008 11:43:06 +0000 +Checked in by : Robert Osfield +Added debug message to track cache usage - * include/osg/AutoTransform, src/osg/AutoTransform.cpp: From Brad - Christiansen, fix to enable AutoTransform to keep track of window - size/perspective changes +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 -2004-02-11 10:18 robert +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." - * src/osg/Timer.cpp: Added defined(__x86_64__) to force X86-64 - build to use standard clock +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." -2004-02-10 12:36 robert +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" - * include/osgUtil/SceneView: Made getViewport(...) const. -2004-02-10 10:07 robert - * src/osg/Sequence.cpp: From David Fries, added _frameTime copying - into copy constructor of osg::Sequence +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." -2004-02-09 22:56 robert +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. " - * src/osg/ShapeDrawable.cpp, src/osgUtil/RenderStage.cpp: 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. +Mon, 25 Feb 2008 13:16:36 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-02-09 10:14 robert +Mon, 25 Feb 2008 13:07:37 +0000 +Checked in by : Robert Osfield +Reverted back to previous version of osgtext - * include/osg/TriangleIndexFunctor, - src/osgUtil/TriStripVisitor.cpp: Added new TriangleIndexFunctor. +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 -2004-02-07 19:36 robert +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. " - * runexamples.bat: Removed slideshow3D from runexamples.bat +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 -2004-02-05 21:23 robert +Wed, 20 Feb 2008 12:34:13 +0000 +Checked in by : Robert Osfield +Added TextureUnit entry to osg::TransferFunction and osgTerrain::Layer - * VisualStudio/examples/osganimate/osganimate.dsp, - VisualStudio/examples/osgbillboard/osgbillboard.dsp, - VisualStudio/examples/osgbluemarble/osgbluemarble.dsp, - VisualStudio/examples/osgcameragroup/osgcameragroup.dsp, - VisualStudio/examples/osgclip/osgclip.dsp, - VisualStudio/examples/osgcluster/osgcluster.dsp, - VisualStudio/examples/osgconv/osgconv.dsp, - VisualStudio/examples/osgforest/osgforest.dsp, - VisualStudio/examples/osggeodemo/osggeodemo.dsp, - VisualStudio/examples/osghud/osghud.dsp, - VisualStudio/examples/osgkeyboard/osgkeyboard.dsp, - VisualStudio/examples/osglight/osglight.dsp, - VisualStudio/examples/osgmultitexture/osgmultitexture.dsp, - VisualStudio/examples/osgoccluder/osgoccluder.dsp, - VisualStudio/examples/osgreflect/osgreflect.dsp, - VisualStudio/examples/osgscalarbar/osgscalarbar.dsp, - VisualStudio/examples/osgscribe/osgscribe.dsp, - VisualStudio/examples/osgshaders/osgshaders.dsp, - VisualStudio/examples/osgshadowtexture/osgshadowtexture.dsp, - VisualStudio/examples/osgsimulation/osgsimulation.dsp, - VisualStudio/examples/osgstereoimage/osgstereoimage.dsp, - VisualStudio/examples/osgtexture2D/osgtexture2D.dsp, - VisualStudio/examples/osgviewer/osgviewer.dsp, - VisualStudio/examples/osgwindows/osgwindows.dsp, - VisualStudio/osg/osg.dsp, VisualStudio/osgDB/osgDB.dsp, - VisualStudio/osgGA/osgGA.dsp, VisualStudio/osgGL2/osgGL2.dsp, - VisualStudio/osgParticle/osgParticle.dsp, - VisualStudio/osgPlugins/lwo/lwo.dsp, - VisualStudio/osgPlugins/txp/txp.dsp, - VisualStudio/osgProducer/osgProducer.dsp, - VisualStudio/osgSim/osgSim.dsp, VisualStudio/osgText/osgText.dsp: - From Eric Hammil, addition of /Zm200's to keep things compiling - under VS6 +Tue, 19 Feb 2008 16:02:03 +0000 +Checked in by : Robert Osfield +Removed erroneous ; -2004-02-05 12:11 robert +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. - * include/osgGA/GUIEventHandler, - include/osgGA/KeySwitchMatrixManipulator, - include/osgGA/StateSetManipulator: Fixed the className() - defintations to be const +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 -2004-02-05 11:53 robert +Tue, 19 Feb 2008 09:49:12 +0000 +Checked in by : Robert Osfield +From Philip Lowman, workaround for gcc 3.2.3 bug - * src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/txp/TXP_LABELS.README: Changed fonts to lower - case. +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) -2004-02-05 11:39 robert - * src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/txp/TXPArchive.h, - src/osgPlugins/txp/TXPParser.cpp, - src/osgPlugins/txp/TXP_LABELS.README, - src/osgPlugins/txp/TileMapper.cpp: From Nick, Improved support - for 3D labels. -2004-02-05 10:50 robert - * examples/osglightpoint/osglightpoint.cpp, - include/osgSim/BlinkSequence, - src/osgPlugins/ive/BlinkSequence.cpp, - src/osgPlugins/osgSim/IO_BlinkSequence.cpp, - src/osgSim/BlinkSequence.cpp: From Tom Jolly, Fixes to - osgSim::BlinkSequence to enable proper saving and - loading. +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). -2004-02-05 10:15 robert + 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. + " - * src/osgUtil/Tesselator.cpp: Fixed warning in Tesselation w.r.t - unhandled cases in switch statement -2004-02-05 10:10 robert - * Make/dependencies, Make/makedefs, Make/makedirdefs: Removed - slideshow3D from list of example apps, and rejigged makedefs - handling - of the QUICK_TIME +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 -2004-02-05 09:24 robert +and then that caused failures in the load later: - * Make/makedefs: Removed DRAWIN_QUICKTIME definition + FindFileInPath() : trying /Users/rpk/Downloads/ +FR_PARIS_ESPACE_UNESCO_S.MTL ... -2004-02-04 13:21 robert +this fix simply strips whitespace around that filename before passing +it on to the remainder of the loader." - * VisualStudio/VisualStudio.dsw: Removed slideshow3D from project - file. +Changes from Robert Osfield, change std::cout to osg::notify(osg::INFO) -2004-02-04 13:21 robert - * VisualStudio/examples/slideshow3D: Removed slideshow3D project - file -2004-02-04 13:19 robert +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). - * examples/slideshow3D: Removed slideshow3D example source code, - since it being moved to a seperate - distribution. +Attached is the modified FreeTypeLibrary.cpp file." -2004-02-04 11:03 robert - * src/osgSim/LightPointDrawable.h: Added virtual destructor to - LightPointDrawable -2004-02-04 09:30 robert +Mon, 18 Feb 2008 15:02:01 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgText/Text.cpp: From Brad Christaiansen, added check for - projection matrix changing in - screen coord character size mode. +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. -2004-02-03 22:46 robert +Mon, 18 Feb 2008 14:14:08 +0000 +Checked in by : Robert Osfield +From Bob Kuehne, build fix for OSX/gcc 4.0.1 - * Make/dependencies, Make/makedefs, Make/makedirdefs, - src/osgDB/Registry.cpp: Changes to help differentiate between OSX - using Quicktime vs not using - quicktime, from Eric Sokolosky and Robert Osfield. +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. -2004-02-03 21:08 robert +Thanks to Terry for the help to find and fix the bug and test the changes." - * examples/osgdem/DataSet.cpp: Added rounding to nearest power of - two in tile image size -2004-02-03 19:07 robert - * src/osgUtil/SceneView.cpp: Added - dynamic_cast into SceneView::init() method - to - properly check for class type before doing setState(). +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." -2004-02-03 16:51 robert +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." - * examples/osgdem/DataSet.cpp, examples/osgdem/DataSet.h, - examples/osgdem/osgdem.cpp: 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. +Fri, 15 Feb 2008 14:09:44 +0000 +Checked in by : Robert Osfield +Changed constructors to take const pointers -2004-02-02 17:16 robert +Tue, 29 Jan 2008 22:14:26 +0000 +Checked in by : Robert Osfield +Update AUTHORS list for release - * examples/osglightpoint/GNUmakefile: From Eric Sokolosky, change - to use X_INC in GNUmakefile to allow compiling - on systems with X installed in a non standard place. +Tue, 29 Jan 2008 21:34:38 +0000 +Checked in by : Robert Osfield +Updated logs for release -2004-02-02 16:55 robert +Tue, 29 Jan 2008 20:45:51 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgUtil/SceneView.cpp: 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. +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. -2004-02-02 08:55 robert +Tue, 29 Jan 2008 10:28:56 +0000 +Checked in by : Robert Osfield +Updated versions for OSG-2.3.4 release - * include/osg/Math: Added atan2f to the list of #define's into - include/osg/Math. +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." -2004-02-01 17:21 robert +Mon, 28 Jan 2008 20:52:31 +0000 +Checked in by : Robert Osfield +From Mike Weiblen, "an aesthetic enhancement for displaying important version information." - * src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/TXPArchive.cpp: 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. +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" -2004-02-01 17:19 robert +Mon, 28 Jan 2008 20:27:33 +0000 +Checked in by : Robert Osfield +From Rainer Oder, removed duplicate conditional - * examples/osgviewer/osgviewer.cpp: Changed the osgviewer example - to use the osg::Timer::instance instead a loca - instance. +Mon, 28 Jan 2008 19:54:27 +0000 +Checked in by : Robert Osfield +Fixed BUILD_REF_DOCS_SEARCHENGINE conditional -2004-02-01 17:18 robert +Mon, 28 Jan 2008 19:42:16 +0000 +Checked in by : Robert Osfield +Added explict casts to double to prevent VS compiler error - * src/osgPlugins/gdal/ReaderWriterGDAL.cpp: 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 .." +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. -2004-02-01 17:17 robert +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" - * src/osgDB/DatabasePager.cpp: Increased expiry delay from 1 second - to 30 seconds -2004-02-01 16:13 robert - * src/osg/PagedLOD.cpp: Fixed the PagedLOD::removeExpiredChildren() - so it only removes the high - res child that has expired and no more. -2004-02-01 15:40 robert +Mon, 28 Jan 2008 16:38:39 +0000 +Checked in by : Robert Osfield +From Stephan Huber, added support for double click event for OSX. - * src/osgPlugins/dds/ReaderWriterDDS.cpp: Fixed - GL_COMPRESSED_RGB_S3TC_DXT1_EXT pathway so both pixel and - internal - formats are the same. +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" -2004-02-01 10:27 robert +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. - * examples/osgdem/DataSet.cpp, examples/osgdem/osgdem.cpp: - 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. +Mon, 28 Jan 2008 15:36:28 +0000 +Checked in by : Robert Osfield +Added include RenderLeaf to make sure #define's are defined correctly -2004-01-31 21:27 robert +Sat, 26 Jan 2008 20:03:12 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updated XCode project - * src/osg/ShapeDrawable.cpp: Fixed second pathway for computing - HeightField bounding box. +Thu, 24 Jan 2008 10:04:33 +0000 +Checked in by : Robert Osfield +Removed duplicate declaration of DeleteHandlerPointer -2004-01-31 20:45 robert +Tue, 22 Jan 2008 11:13:07 +0000 +Checked in by : Robert Osfield +Updated ChangeLog, Authors and readme for 2.3.3 release - * src/osg/ShapeDrawable.cpp: Fixed HeightField compute bounding box - implementation. +Tue, 22 Jan 2008 10:28:48 +0000 +Checked in by : Robert Osfield +Added missing checks for null pointers -2004-01-31 11:34 robert +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. - * include/osg/AnimationPath, src/osg/AnimationPath.cpp: Added - AnimationPathCallback::getAnimationTime() method +Mon, 21 Jan 2008 17:04:33 +0000 +Checked in by : Robert Osfield +Fixed debug build of Inventor plugin -2004-01-30 21:17 robert +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." - * Make/dependencies: Fixed another typo :) +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 -2004-01-30 21:17 robert +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 +" - * Make/dependancies, Make/dependencies, Make/makedirdefs: Fixed - misspelling of dependencies -2004-01-30 21:11 robert - * Make/dependancies, Make/makedirdefs: 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. +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. -2004-01-30 21:10 robert +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 - * include/osg/Drawable: Added osg:: infront of State in Draw - callback to make the callback work - when copy and pasting it in user code. +Mon, 21 Jan 2008 11:40:27 +0000 +Checked in by : Robert Osfield +Updated version number for 2.3.3 release -2004-01-30 21:09 robert +Mon, 21 Jan 2008 11:39:00 +0000 +Checked in by : Robert Osfield +Updated wrappers - * examples/osgspacewarp, examples/osgspacewarp/GNUmakefile, - examples/osgspacewarp/GNUmakefile.inst, - examples/osgspacewarp/osgspacewarp.cpp: 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, 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 -2004-01-30 16:12 robert +Mon, 21 Jan 2008 11:36:54 +0000 +Checked in by : Robert Osfield +Removed redundental vertex buffer object flush methods - * src/osgDB/SharedStateManager.cpp, src/osgGL2/ProgramObject.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/osgSim/IO_DOFTransform.cpp: From Bob Keuhne, - warning fixes under OSX +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 -2004-01-30 15:54 robert +Sat, 19 Jan 2008 18:26:41 +0000 +Checked in by : Robert Osfield +Added thread safe debugging checking of allocation/deallocations - * VisualStudio/VisualStudio.dsw: Added osgText dependancy to the - TXP plugin +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 -2004-01-30 15:52 robert +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. - * VisualStudio/icons/osg.ico: Added Windows icon +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 -2004-01-30 14:06 robert +Fri, 18 Jan 2008 21:29:00 +0000 +Checked in by : Robert Osfield +Updated wrappers - * examples/osgmovie, examples/osgmovie/GNUmakefile, - examples/osgmovie/GNUmakefile.inst, - examples/osgmovie/ImageStream.h, - examples/osgmovie/MpegImageStream.cpp, - examples/osgmovie/MpegImageStream.h, - examples/osgmovie/osgmovie.cpp: Added osgmovie example, derived - from Ulrich Hertlien's original videotex - example, and brought up to date. +Fri, 18 Jan 2008 21:08:42 +0000 +Checked in by : Robert Osfield +Removed erroneous const in method parameter -2004-01-30 13:53 robert +Fri, 18 Jan 2008 21:07:03 +0000 +Checked in by : Robert Osfield +From Andy Skinner, build fixes for Solaris. - * src/osgProducer/ViewerEventHandler.cpp: Changed the snap image - filename to save_image.jpg taking advantage of the - new JPEG writing support. +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. -2004-01-30 13:52 robert +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." - * src/osgPlugins/jpeg/ReaderWriterJPEG.cpp: From Stephane, added - support for writing JPEG images. +Fri, 18 Jan 2008 16:36:05 +0000 +Checked in by : Robert Osfield +Added support for rendering skirts into osgTerrain::GeometryTechinque -2004-01-29 20:14 robert +Fri, 18 Jan 2008 09:17:32 +0000 +Checked in by : Robert Osfield +Added getNumOperationsInQueue() method - * include/osgUtil/CullVisitor, src/osgUtil/CullVisitor.cpp: Fixed - the clampProjectionMatrix method so it doesn't modify the input - znar and zfar, by avoid the use of float/double&. +Thu, 17 Jan 2008 22:26:29 +0000 +Checked in by : Robert Osfield +Commented out debug message -2004-01-29 17:09 don +Thu, 17 Jan 2008 22:25:41 +0000 +Checked in by : Robert Osfield +Added computation of skirt height for osgTerrain::Terrain height fields. - * VisualStudio/osgPlugins/ive/ive.dsp: Adde Texture1D to .dsp file +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. -2004-01-29 15:47 robert +Thu, 17 Jan 2008 16:41:46 +0000 +Checked in by : Robert Osfield +Added Node to Terrain serialization - * Make/makedirdefs, examples/osgdistortion/osgdistortion.cpp, - examples/osgphotoalbum/ImageReaderWriter.cpp, - examples/osgphotoalbum/osgphotoalbum.cpp, - examples/osgscalarbar/osgscalarbar.cpp, - include/osgSim/DOFTransform, - src/osgPlugins/geo/osgGeoAnimation.h, - src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/TXPArchive.cpp, src/osgPlugins/txp/TXPIO.cpp, - src/osgPlugins/txp/TXPNode.cpp, - src/osgPlugins/txp/TXPPagedLOD.cpp, - src/osgPlugins/txp/TXPSeamLOD.cpp, src/osgProducer/Viewer.cpp, - src/osgSim/DOFTransform.cpp, src/osgSim/MultiSwitch.cpp, - src/osgSim/VisibilityGroup.cpp: Attempts to fix compile problems - under IRIX due to namespace problems. +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 -2004-01-29 15:47 robert +Wed, 16 Jan 2008 15:05:04 +0000 +Checked in by : Robert Osfield +Changed the Texture clamp mode to CLAMP_TO_EDGE - * examples/osgdem/DataSet.cpp, examples/osgdem/DataSet.h, - examples/osgdem/osgdem.cpp: Improved support for handling - externally set projections +Mon, 14 Jan 2008 14:53:57 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-01-29 11:16 robert +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. - * AUTHORS.txt, include/osg/Texture, src/osg/Texture.cpp: From Pavel - Moloshtan, add support to osg::Texture files for - GL_ARB_shadow_ambinet support +Mon, 14 Jan 2008 13:14:38 +0000 +Checked in by : Robert Osfield +Added back in checks for various verions of gdal -2004-01-29 10:44 robert +Mon, 14 Jan 2008 12:14:38 +0000 +Checked in by : Robert Osfield +Updated AUTHORS file and osgversion for 2.3.2 release - * src/osgUtil/CullVisitor.cpp: Added double's as parameters to - _clampProjectionMatrix() template function to - cure compile problems +Mon, 14 Jan 2008 11:44:04 +0000 +Checked in by : Robert Osfield +Added geometry shader extension supported check to geometry shader parameter calls -2004-01-28 22:23 don +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." - * src/osgPlugins/flt/FaceRecord.h: Fixed WIREFRAME_CLOSED swap in - flt loader. submitted by Andreas Ekstrand +Mon, 14 Jan 2008 11:22:23 +0000 +Checked in by : Robert Osfield +Updated ChangeLog, date and version number for 2.6.2 release -2004-01-28 20:17 robert +Mon, 14 Jan 2008 11:07:30 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgDB/DatabasePager.cpp: Made the thread priority outwith the - frame PRIORITY_MIN +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. +" -2004-01-28 14:44 robert - * examples/osgdem/DataSet.cpp: Adding scaling of skirt. -2004-01-28 10:53 robert +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 - * VisualStudio/examples/osgviewer/osgviewer.dsp, - VisualStudio/examples/osgviewer/resources.rc, VisualStudio/icons, - VisualStudio/icons/src, VisualStudio/icons/src/file.txt, - VisualStudio/icons/src/make.bat, VisualStudio/icons/src/osg.xcf, - VisualStudio/icons/src/osg16-32.png, - VisualStudio/icons/src/osg16-4.png, - VisualStudio/icons/src/osg16-8.png, - VisualStudio/icons/src/osg16.xcf, - VisualStudio/icons/src/osg32-32.png, - VisualStudio/icons/src/osg32-4.png, - VisualStudio/icons/src/osg32-8.png, - VisualStudio/icons/src/osg32.xcf, - VisualStudio/icons/src/osg48-32.png, - VisualStudio/icons/src/osg48-4.png, - VisualStudio/icons/src/osg48-8.png, - VisualStudio/icons/src/osg48.xcf: From Mike Weiblen, icons for - osgviewer under Windows. The osgviewer changes effectively - provides template - for making icons for all the examples. +Thu, 10 Jan 2008 11:08:11 +0000 +Checked in by : Robert Osfield +From Jean-Sebastien Guay, added OSGUTIL_EXPORT for Windows build -2004-01-28 10:49 robert +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." - * include/osgUtil/CullVisitor, src/osgUtil/CullVisitor.cpp, - src/osgUtil/SceneView.cpp: Added support for - CullVisitor::clampProjectionMatrixCallback +Wed, 9 Jan 2008 21:17:10 +0000 +Checked in by : Robert Osfield +Indentation/bracket fixes and change of default size -2004-01-27 22:45 don +Wed, 9 Jan 2008 21:00:38 +0000 +Checked in by : Robert Osfield +Simplified the image reading/writing - * src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/ive/Geometry.cpp, - src/osgPlugins/ive/StateSet.cpp, - src/osgPlugins/ive/Texture1D.cpp, src/osgPlugins/ive/Texture1D.h: - Added 1D texture support to .ive plugin. (Fixed a couple of - misspellings - as well). +Wed, 9 Jan 2008 16:56:31 +0000 +Checked in by : Robert Osfield +Adding missing files -2004-01-27 21:29 robert +Wed, 9 Jan 2008 16:35:55 +0000 +Checked in by : Robert Osfield +Added support for reading and writing osgTerrain objects - * Make/makedirdefs, include/osg/Texture, src/osg/Texture.cpp, - src/osg/Texture1D.cpp, src/osg/Texture3D.cpp, - src/osgPlugins/osg/Texture.cpp: Added support for - osg::Texture::setBorderWidth(). +Wed, 9 Jan 2008 14:22:44 +0000 +Checked in by : Robert Osfield +Added setting of UpdateVisitor's FrameStamp and TraversalNumber in updateTraversal() -2004-01-27 14:49 robert +Wed, 9 Jan 2008 11:42:19 +0000 +Checked in by : Robert Osfield +From Mike Weiblen, build fix for VS8. - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Fixed - problems with the DatabasePager free of texture objects and - display - list before they are finished with. +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). -2004-01-27 14:47 robert +Added dependency information hoping that the Xcode 3 parallel target building will work now. - * include/osgText/Font: Added className() method to GlyphTexture - for debugging purposes. -2004-01-27 14:46 robert +Tue, 8 Jan 2008 18:13:06 +0000 +Checked in by : Robert Osfield +From Colin McDonald, build fixes for Solaris. - * include/osg/Array: Added operator = implementations to template - classes. +Tue, 8 Jan 2008 17:18:11 +0000 +Checked in by : Robert Osfield +From Jean-Sebastien Guay, Warning fixes -2004-01-27 11:50 robert +Tue, 8 Jan 2008 16:09:01 +0000 +Checked in by : Robert Osfield +Added support for reading and writing the Terrain's Locator - * include/osgText/String, src/osgText/String.cpp, - src/osgText/Text.cpp: 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. +Tue, 8 Jan 2008 15:20:02 +0000 +Checked in by : Robert Osfield +Added writing and reading of inlined HeightField -2004-01-26 14:52 robert +Tue, 8 Jan 2008 14:38:58 +0000 +Checked in by : Robert Osfield +Removed non standard and redundent /*EOF*/ - * src/osgPlugins/txp/TXPParser.cpp: Re-enabled the unref image of - texture apply, since the bug of disappearing - textures was due to a bug in DatabasePager. +Tue, 8 Jan 2008 14:37:09 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-01-26 14:51 robert +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. - * src/osgDB/DatabasePager.cpp: Set the delete of expired subgraphs - in the database thread to false, to - prevent problems with osgText. Will need to solve the - dirtyTextureObject - issue. +Tue, 8 Jan 2008 14:22:59 +0000 +Checked in by : Robert Osfield +Fixed warning -2004-01-26 13:55 robert +Tue, 8 Jan 2008 13:56:21 +0000 +Checked in by : Robert Osfield +Added support for MinLevel and MaxLevel for ProxyLayer - * src/osgPlugins/txp/TXPParser.cpp: Removed Texture unref on apply. +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. -2004-01-26 09:01 robert +Tue, 8 Jan 2008 13:22:55 +0000 +Checked in by : Robert Osfield +Removed debug info - * src/osgPlugins/txp/TXPParser.cpp: Fix to computation of size of - texture in presense of compressed textures + mipaplevels<=1 +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 -2004-01-25 13:52 robert +Mon, 7 Jan 2008 09:47:36 +0000 +Checked in by : Robert Osfield +Added OSGUTIL_EXPORTs - * src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/txp/TXPArchive.h, - src/osgPlugins/txp/TXPParser.cpp, src/osgPlugins/txp/TXPParser.h: - From Nick, added Text support. +Sun, 6 Jan 2008 17:53:21 +0000 +Checked in by : Robert Osfield +Added missing #include -2004-01-24 20:50 robert +Sun, 6 Jan 2008 10:52:23 +0000 +Checked in by : Robert Osfield +Added exports for Windows build - * include/osgText/Font: Removed redundent , from enum. +Fri, 4 Jan 2008 20:03:35 +0000 +Checked in by : Robert Osfield +Fixed date -2004-01-24 09:41 robert +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.) - * src/osgDB/DatabasePager.cpp: Added release of file request block - in the DatabasePager destructor. +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. -2004-01-23 21:47 robert +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. +" - * src/osg/Billboard.cpp: 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. -2004-01-23 16:29 robert - * src/osgUtil/Optimizer.cpp: Added rotation of billboard normal - into flattern transform Optimizer pass. +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" -2004-01-23 16:09 robert +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"" - * include/osg/Matrixd, include/osg/Matrixf, - src/osg/Matrix_implementation.cpp: Made getLookAt() etc methods - const +Fri, 4 Jan 2008 15:15:48 +0000 +Checked in by : Robert Osfield +Updated wrappers -2004-01-23 13:38 robert +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 - * examples/osgstereoimage/osgstereoimage.cpp: Fixed the handling of - the Producer Fovy so that it accounts for Producer - now using degrees in set and get methods +Fri, 4 Jan 2008 12:03:54 +0000 +Checked in by : Robert Osfield +Updated data on readme -2004-01-23 13:25 robert +Fri, 4 Jan 2008 12:03:24 +0000 +Checked in by : Robert Osfield +Updated AUTHORS file for 2.3.1 release - * include/osg/Texture, include/osg/TextureRectangle, - include/osgDB/DatabasePager, src/osg/Texture.cpp, - src/osg/Texture2D.cpp, src/osg/TextureCubeMap.cpp, - src/osg/TextureRectangle.cpp: From Romano Magacho, fixes to - handle the subloading from Image when the - internal format changes requiring a rebuild of the texture - object. +Fri, 4 Jan 2008 11:45:25 +0000 +Checked in by : Robert Osfield +Updated version number for 2.3.1 release -2004-01-23 12:06 robert +Fri, 4 Jan 2008 11:44:35 +0000 +Checked in by : Robert Osfield +Updated logs for 2.3.1 releae - * VisualStudio/examples/osgshadowtexture/osgshadowtexture.dsp: - Reverted by hand osgshadowtexture +Fri, 4 Jan 2008 11:26:21 +0000 +Checked in by : Robert Osfield +From Brede Johansen, support for contiuation records. -2004-01-22 14:24 robert +Fri, 4 Jan 2008 11:14:11 +0000 +Checked in by : Robert Osfield +From Paul Martz, completion of .ive and .osg support for OcclusionQueryNode - * src/osgPlugins/txp/TXPParser.cpp, - src/osgPlugins/txp/trpage_geom.cpp, - src/osgPlugins/txp/trpage_geom.h: Added support for copying tex - coord data directly from prpgGeometry. +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." -2004-01-22 12:28 robert +Wed, 26 Dec 2007 21:43:10 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgProducer/ViewerEventHandler.cpp: Added report of LOD scale +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 -2004-01-22 12:21 robert +Wed, 26 Dec 2007 21:38:11 +0000 +Checked in by : Robert Osfield +Suppressed reflection of problem templates/typedefs - * src/osgPlugins/txp/TXPNode.cpp, - src/osgPlugins/txp/TileMapper.cpp: Added setLODScale into - TileMapper traversal +Tue, 25 Dec 2007 21:11:27 +0000 +Checked in by : Robert Osfield +Replaced values.h with float.h is avoid Windows compile issues -2004-01-22 11:33 robert +Mon, 24 Dec 2007 15:37:15 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/txp/ReaderWriterTXP.cpp: 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. +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" -2004-01-22 10:55 robert +Mon, 24 Dec 2007 15:19:52 +0000 +Checked in by : Robert Osfield +From Sid Byce, fixes for compiling with gcc 4.3 - * src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/txp/TXPArchive.h, - src/osgPlugins/txp/TXPParser.cpp, src/osgPlugins/txp/TXPParser.h: - From Nick, addition of pruning to remove redundent local - materials. +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. " -2004-01-22 10:43 robert +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)." - * src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/TileMapper.cpp: 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. +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 -2004-01-22 10:42 robert +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. - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Added - controls over the datatbase pager threading priority during and - outwith the frame. +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. -2004-01-21 20:38 robert +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. - * src/osgSim/MultiSwitch.cpp: Added - _activeSwitchSet(sw._activeSwitchSet) into the copy constructor. -2004-01-21 19:13 robert - * src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/txp/TXPParser.cpp: Commented back in osg::Material - settings +Sun, 23 Dec 2007 13:08:14 +0000 +Checked in by : Robert Osfield +Fixed indentation -2004-01-21 17:26 robert +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 - * VisualStudio/osgPlugins/txp/txp.dsp, - src/osgPlugins/txp/GNUmakefile, - src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/ReaderWriterTXP.h, - src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/txp/TXPNode.cpp, - src/osgPlugins/txp/TXPPagedLOD.cpp, - src/osgPlugins/txp/TXPPagedLOD.h, - src/osgPlugins/txp/TXPParser.cpp, - src/osgPlugins/txp/TXPSeamLOD.cpp, - src/osgPlugins/txp/TXPSeamLOD.h, - src/osgPlugins/txp/TXPTileNode.cpp, - src/osgPlugins/txp/TXPTileNode.h, - src/osgPlugins/txp/TileMapper.cpp, - src/osgPlugins/txp/TileMapper.h: Added new mechanism for handling - Seams. +Fri, 21 Dec 2007 17:33:00 +0000 +Checked in by : Robert Osfield +Added copyright notice and tweaked genwrapper -2004-01-20 10:02 robert +Fri, 21 Dec 2007 17:26:19 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/txp/TXPPagedLOD.cpp, - src/osgPlugins/txp/TileMapper.cpp: Build fix. +Fri, 21 Dec 2007 16:18:54 +0000 +Checked in by : Robert Osfield +From Paul Martz, "added include to prevent VS8 compile error" -2004-01-19 15:55 robert +Fri, 21 Dec 2007 15:54:14 +0000 +Checked in by : Robert Osfield +Removed OperationArrayFunctor for wrappers to avoid compile errors assocaited with them - * src/osgPlugins/txp/TXPPagedLOD.cpp, - src/osgPlugins/txp/TXPPagedLOD.h, - src/osgPlugins/txp/TXPSeamLOD.cpp, - src/osgPlugins/txp/TileMapper.h: Upates from Nick. +Fri, 21 Dec 2007 15:46:50 +0000 +Checked in by : Robert Osfield +Removed inappropriate inline -2004-01-19 11:02 robert +Fri, 21 Dec 2007 15:04:56 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/txp/TXPParser.cpp: Added support for - osg::Texture::setUnRefImageDataAfterApply(true) into all - objects osg::Textures the TXP plugin creates. +Fri, 21 Dec 2007 14:49:49 +0000 +Checked in by : Robert Osfield +From Paul Martz, .osg support for OcclusionQueryNode -2004-01-19 11:01 robert +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 - * src/osg/Texture.cpp: Fixed bug in logic in - areAllTextureObjectsLoaded() which was producing the - exact opposite result to what it should have been generating. +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). " -2004-01-18 21:59 robert +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." - * examples/osgdem/DataSet.cpp, examples/osgdem/DataSet.h, - include/osg/Shape, include/osg/Vec3, src/osg/ShapeDrawable.cpp, - src/osgPlugins/osg/Shape.cpp: 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. +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. " -2004-01-16 16:39 robert +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. " - * examples/osgdem/DataSet.cpp: Improvements to generation of - terrain and texture'd LOD'd destination datasets +Fri, 21 Dec 2007 13:31:25 +0000 +Checked in by : Robert Osfield +Added return -2004-01-15 21:07 robert +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. - * examples/osgdem/DataSet.cpp, examples/osgdem/DataSet.h, - examples/osgdem/osgdem.cpp: Added automatic generation of LOD - levels with destination graph +This is a simple fix for that, which updates the _now time regardless +of the mode the sequence is in." -2004-01-14 15:14 robert - * include/osg/Quat, src/osg/Matrix_implementation.cpp: Clean ups of - floats & .0f's -2004-01-13 16:07 robert +Fri, 21 Dec 2007 13:07:54 +0000 +Checked in by : Robert Osfield +From David Callu, various classes in support of VirtualPlanetBuilder - * src/osg/Matrix_implementation.cpp: Fixed #undef's +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 -2004-01-13 10:30 robert +Thu, 20 Dec 2007 17:30:31 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/lib3ds/ReaderWriter3DS.cpp: From Daved Ergo, patch - for handling group names better +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. -2004-01-13 09:47 robert +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. - * include/osgUtil/CullVisitor: Fixed typo's of ImpostorSprite +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 -2004-01-13 09:47 robert +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. - * include/osg/AnimationPath: Fixed for Win32 build +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." -2004-01-12 22:03 robert - * examples/osgdem/DataSet.cpp, examples/osgdem/DataSet.h: Added - support for automatic subdivision of the destination graph -2004-01-12 14:22 robert +Thu, 20 Dec 2007 10:48:23 +0000 +Checked in by : Robert Osfield +Reorder includes in an attempt to avoid compile problems under Cygwin. - * include/osg/Matrixd, include/osg/Matrixf, src/osg/CullStack.cpp, - src/osg/Matrix_implementation.cpp: Introduce new Matrix::invert() - implementation from Ravi Mathur, with tweaks - by Robert Osfield. +Mon, 17 Dec 2007 21:52:29 +0000 +Checked in by : Robert Osfield +Updated AUTHORS files -2004-01-12 14:21 robert +Mon, 17 Dec 2007 21:35:33 +0000 +Checked in by : Robert Osfield +Updated ChangeLog for 2.3.0 release - * include/osg/LOD: Fixed compile warning +Mon, 17 Dec 2007 21:08:52 +0000 +Checked in by : Robert Osfield +Updated version number for 2.3.0 dev release -2004-01-12 13:53 robert +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}) - * include/osg/AnimationPath, src/osg/AnimationPath.cpp: Changed of - _firstTime intial values of 0 to DBL_MAX. +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 -2004-01-11 21:33 robert +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). - * examples/osgdepthshadow/osgdepthshadow.cpp: Improvements from - Pavel. +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. -2004-01-10 21:29 robert +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. - * include/osgProducer/OsgCameraGroup, - src/osgProducer/ViewerEventHandler.cpp: Added support for - controlling the LODScale via '*' and '+' keys in - osgProducer::Viewer. +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: -2004-01-10 20:58 robert + OSGA_Archive::pos_type ARCHIVE_POS( const std::streampos & pos ); + std::streampos STREAM_POS( OSGA_Archive::pos_type & pos ); - * examples/osgdem/DataSet.cpp: Fixed - consolodateRequireResolutions() methods +Rest of the OSGA implementation code was modified to call these conversions +explicitly with seekp, seekg, tellp, tellg. -2004-01-10 17:13 robert +--- +Problem 2: seekp and seekg have two variants. Only one of these variants is +actually 64 bit proof. - * VisualStudio/osgDB/osgDB.dsp, include/osgDB/DatabasePager, - include/osgDB/Registry, include/osgDB/SharedStateManager, - src/osg/Texture.cpp, src/osg/Texture2D.cpp, - src/osgDB/DatabasePager.cpp, src/osgDB/GNUmakefile, - src/osgDB/Registry.cpp, src/osgDB/SharedStateManager.cpp: 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. +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. -2004-01-10 09:10 robert +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 ). +--- - * src/osgPlugins/lws/GNUmakefile, - src/osgPlugins/lws/ReaderWriterLWS.cpp, - src/osgPlugins/lws/SceneLoader.cpp, - src/osgPlugins/lws/SceneLoader.h: Did a to_unix on all the LWS - files include GNUmakefile. +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. -2004-01-09 20:33 robert +Sun, 16 Dec 2007 12:36:52 +0000 +Checked in by : Robert Osfield +Added initilizers of variables to FreeTypeFont3D constructors.Removed unused FreeTypeFontBase class - * include/osg/Matrixd, include/osg/Matrixf, - src/osg/Matrix_implementation.cpp: Standardised on using - value_type in most methods in Matrixd & Matrixf interfaces - and Matrix_implementation.cpp. -2004-01-09 14:07 robert - * src/osgUtil/Optimizer.cpp: From Romano Magacho, add - group->setName() to flattening of static transforms +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 -2004-01-09 13:35 robert +Sat, 15 Dec 2007 17:15:19 +0000 +Checked in by : Robert Osfield +Commented out rendendent warnings - * src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/txp/TXPArchive.h, - src/osgPlugins/txp/TXPPagedLOD.h, - src/osgPlugins/txp/TXPParser.cpp, src/osgPlugins/txp/TXPParser.h, - src/osgPlugins/txp/TXPSeamLOD.cpp, - src/osgPlugins/txp/TXPSeamLOD.h, - src/osgPlugins/txp/TXPTileNode.cpp, - src/osgPlugins/txp/TXPTileNode.h: Fixed to TXP plugin from Nick. +Sat, 15 Dec 2007 17:15:05 +0000 +Checked in by : Robert Osfield +commented out rendudent warning -2004-01-08 21:39 robert +Sat, 15 Dec 2007 15:22:00 +0000 +Checked in by : Robert Osfield +Added setting of ambient bias uniform - * src/osgPlugins/ac3d/ac3d.cpp: Fixes from Geoff. +Sat, 15 Dec 2007 15:19:18 +0000 +Checked in by : Robert Osfield +Added separate unform variable to keep track of abmient contribution. -2004-01-08 21:04 robert +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. - * include/osg/Quat: Made the default settings of Quat 0,0,0,1 to - represent a zero rotation. +Fri, 14 Dec 2007 17:40:11 +0000 +Checked in by : Robert Osfield +Refectored the loading of Locator out into its own separate file -2004-01-07 20:58 robert +Thu, 13 Dec 2007 17:51:43 +0000 +Checked in by : Robert Osfield +Added Locator::s/getTransformScaledByResolution(bool) to assist with VPB integration - * examples/osgsimplepager/osgsimplepager.cpp: Moved the default - light to be from the sky. +Thu, 13 Dec 2007 16:06:02 +0000 +Checked in by : Robert Osfield +Warning fixes -2004-01-07 19:57 robert +Thu, 13 Dec 2007 15:24:42 +0000 +Checked in by : Robert Osfield +From Andy Skinner, build fixes for Solaris - * VisualStudio/osgPlugins/txp/txp.dsp: Fixed TXPPagedLOD.h/.cpp - typos. +Thu, 13 Dec 2007 15:23:21 +0000 +Checked in by : Robert Osfield +Convert tabs to four spaces -2004-01-07 14:14 robert +Thu, 13 Dec 2007 14:26:03 +0000 +Checked in by : Robert Osfield +Fixed memory leak - * src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/txp/TXPArchive.h, src/osgPlugins/txp/TXPNode.cpp, - src/osgPlugins/txp/TXPPagedLOD.cpp, - src/osgPlugins/txp/TXPPagedLOD.h, - src/osgPlugins/txp/TXPSeamLOD.cpp, - src/osgPlugins/txp/TXPSeamLOD.h, - src/osgPlugins/txp/TXPTileNode.cpp, - src/osgPlugins/txp/TXPTileNode.h: Fixed tabs to be four spaces. +Thu, 13 Dec 2007 14:16:51 +0000 +Checked in by : Robert Osfield +Updated the shapefile attribute IO so that its more streamlined. -2004-01-07 14:10 robert +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 - * VisualStudio/osgPlugins/txp/txp.dsp, - src/osgPlugins/txp/GNUmakefile, - src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/txp/TXPArchive.h, src/osgPlugins/txp/TXPNode.cpp, - src/osgPlugins/txp/TXPPagedLOD.cpp, - src/osgPlugins/txp/TXPPagedLOD.h, - src/osgPlugins/txp/TXPSeamLOD.cpp, - src/osgPlugins/txp/TXPTileNode.cpp: From Nick, updates to TXP - plugin to handle differences in LOD levels - between adjacent tiles. +Wed, 12 Dec 2007 17:59:06 +0000 +Checked in by : Robert Osfield +Added a osgViewer::setSceneData(ref_ptr) method. -2004-01-07 12:38 robert +Wed, 12 Dec 2007 17:48:20 +0000 +Checked in by : Robert Osfield +Added new setFont(ref_ptr<>) variants to Text and Text3D - * Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgsimplepager, - VisualStudio/examples/osgsimplepager/osgsimplepager.dsp, - examples/osgsimplepager, examples/osgsimplepager/GNUmakefile, - examples/osgsimplepager/GNUmakefile.inst, - examples/osgsimplepager/osgsimplepager.cpp: Added osgsimplepager - example program +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. -2004-01-07 12:38 robert +Wed, 12 Dec 2007 16:56:28 +0000 +Checked in by : Robert Osfield +Updated copyright notices - * src/osgProducer/Viewer.cpp: Removed redundent DatabasePager - pointer. +Wed, 12 Dec 2007 16:55:13 +0000 +Checked in by : Robert Osfield +From Andy Skinner, build fixes for Solaris. -2004-01-07 12:37 robert +Wed, 12 Dec 2007 11:57:03 +0000 +Checked in by : Robert Osfield +Added std:: infront of sort call - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Added - DatabasePager::setUseFrameBlock(bool) method +Wed, 12 Dec 2007 10:47:58 +0000 +Checked in by : Robert Osfield +Added const to operators. -2004-01-07 08:43 robert +Wed, 12 Dec 2007 10:35:47 +0000 +Checked in by : Robert Osfield +Added std:: in front of find enties - * VisualStudio/examples/osgdepthshadow/osgdepthshadow.dsp: Removed - eroneous CreateShadowedScene.cpp/.h from .dsp +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." -2004-01-07 08:39 robert +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)." - * include/osg/PagedLOD, src/osg/PagedLOD.cpp: Moaved - PagedLOD::PerRangeData implementaton into .cpp and add missing - return *this to copy operator. +Tue, 11 Dec 2007 17:19:40 +0000 +Checked in by : Robert Osfield +From Cyril Brulebois, removed redundent typedef. -2004-01-07 08:36 robert +Tue, 11 Dec 2007 17:01:53 +0000 +Checked in by : Robert Osfield +Updated wrappers - * VisualStudio/examples/osgdistortion/osgdistortion.cpp, - VisualStudio/examples/osgdistortion/osgdistortion.dsp: Fixed - ending of .dsp +Tue, 11 Dec 2007 16:42:10 +0000 +Checked in by : Robert Osfield +From Brede Johnansen, support for continuation records. -2004-01-06 21:18 robert +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. - * include/osgDB/DatabasePager, include/osgDB/Registry, - include/osgProducer/OsgCameraGroup, src/osgDB/DatabasePager.cpp, - src/osgDB/Registry.cpp, src/osgProducer/Viewer.cpp: 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. +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." -2004-01-06 15:56 robert +Tue, 11 Dec 2007 14:48:51 +0000 +Checked in by : Robert Osfield +Added missing copyright notices - * VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgdistortion, - VisualStudio/examples/osgdistortion/osgdistortion.cpp: Added - osgdistortion examples .dsp +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. +" -2004-01-06 14:37 robert - * src/osgPlugins/txp/TXPTileNode.cpp: Fixed comments -2004-01-06 14:09 robert +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. - * src/osgDB/DatabasePager.cpp, src/osgDB/Registry.cpp: Added code - to the DatagbasePager::removeExpiredSubgraphs() that update - the osgDB::Registry cache. +" -2004-01-06 12:27 robert - * src/osgPlugins/flt/FltFile.cpp, src/osgPlugins/flt/FltFile.h, - src/osgPlugins/flt/ReaderWriterFLT.cpp, - src/osgPlugins/flt/flt2osg.cpp, src/osgPlugins/flt/flt2osg.h: - Merged changes from Cobin Holtz for support of - "noUnitsConversion" via - the ReaderWriter::Options string. -2004-01-06 08:38 robert +Tue, 11 Dec 2007 12:35:10 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/txp/TXPArchive.cpp: From Nick, increased - info.radius by x 1.3 to avoid culling +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: -2004-01-05 20:51 robert + 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. - * src/osg/PagedLOD.cpp: Added code to scale the priority by the - offset and scale. + Move the sorting of the dataToCompile queue out of compileGLObjects + into the man pager run function. -2004-01-05 20:45 robert + Change the SharedStateManager to use maps instead of vectors." + - * include/osg/Group, include/osg/LOD, include/osg/PagedLOD, - src/osg/Group.cpp, src/osg/LOD.cpp, src/osg/PagedLOD.cpp, - src/osgPlugins/osg/LOD.cpp, src/osgPlugins/osg/PagedLOD.cpp, - src/osgPlugins/txp/TXPNode.cpp, src/osgProducer/Viewer.cpp: Added - support for priority offset and scale into PagedLOD. -2004-01-05 19:04 robert - * src/osgPlugins/txp/TXPTileNode.cpp: #if 0'd out code for switch - off seam generation. +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." -2004-01-05 15:40 robert +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. +" - * src/osgPlugins/lwo/Object.cpp, src/osgPlugins/lwo/iffparser.h, - src/osgPlugins/lwo/lwo2parser.h, src/osgPlugins/lwo/lwo2read.h: - Compile fixes for Win32 -2004-01-05 15:34 robert - * VisualStudio/examples/osgshadowtexture/osgshadowtexture.dsp: - Fixed .dsp +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*) -2004-01-05 14:17 robert +and a - * VisualStudio/examples/osgdepthshadow/osgdepthshadow.dsp, - VisualStudio/examples/osgdepthshadow/osgshadowtexture.dsp: - Renamed osgshadowtexture.dsp to osgdepthshadow.dsp +StateSet::removeAssociatedTextureModes(unsigned, const StateAttribute*) -2004-01-05 13:40 robert +call. These funktions are just missing for a complete api IMO." - * include/osgUtil/SceneView, src/osgProducer/Viewer.cpp, - src/osgUtil/SceneView.cpp: Added support into osgProducer::Viewer - for flushing and compiling GL objects - via a Producer post swap callback. -2004-01-05 09:34 robert - * Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgdepthshadow, - VisualStudio/examples/osgdepthshadow/osgshadowtexture.dsp, - examples/osgdepthshadow, examples/osgdepthshadow/GNUmakefile, - examples/osgdepthshadow/GNUmakefile.inst, - examples/osgdepthshadow/osgdepthshadow.cpp: From Pavel Moloshtan, - osgdepthshadow example +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." -2004-01-04 22:28 robert - * src/osgPlugins/txp/TXPSeamLOD.cpp, - src/osgPlugins/txp/TXPTileNode.cpp: Experiments at fixing seam - handling. -2004-01-04 12:37 robert +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." - * include/osg/Material, include/osgFX/Validator: Fixed - osgFX::Validator::compare(..) so that it checked for the correct - StateAttribute type before comparing member variables. - - Fixed docs typo in Material +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; + } -2004-01-03 22:52 don - * examples/osgsimple/osgsimple.cpp: Oops. Fixed glaring memory leak - in main loop of osgsimple +to the constructor." -2004-01-03 20:32 robert - * Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/osgPlugins/lws, VisualStudio/osgPlugins/lws/lws.dsp, - src/osgPlugins/lwo/GNUmakefile, src/osgPlugins/lws, - src/osgPlugins/lws/GNUmakefile, - src/osgPlugins/lws/ReaderWriterLWS.cpp, - src/osgPlugins/lws/SceneLoader.cpp, - src/osgPlugins/lws/SceneLoader.h: From Marco Jez, new Light Wave - Scene loader -2004-01-03 15:20 robert - * VisualStudio/osgPlugins/lwo/lwo.dsp, - src/osgPlugins/lwo/Block.cpp, src/osgPlugins/lwo/Block.h, - src/osgPlugins/lwo/Clip.cpp, src/osgPlugins/lwo/Clip.h, - src/osgPlugins/lwo/Converter.cpp, src/osgPlugins/lwo/Converter.h, - src/osgPlugins/lwo/GNUmakefile, src/osgPlugins/lwo/Layer.h, - src/osgPlugins/lwo/Lwo2.cpp, src/osgPlugins/lwo/Lwo2.h, - src/osgPlugins/lwo/Lwo2Layer.cpp, src/osgPlugins/lwo/Lwo2Layer.h, - src/osgPlugins/lwo/Object.cpp, src/osgPlugins/lwo/Object.h, - src/osgPlugins/lwo/Polygon.cpp, src/osgPlugins/lwo/Polygon.h, - src/osgPlugins/lwo/README.txt, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/lwo/Surface.cpp, src/osgPlugins/lwo/Surface.h, - src/osgPlugins/lwo/Tessellator.cpp, - src/osgPlugins/lwo/Tessellator.h, src/osgPlugins/lwo/Unit.cpp, - src/osgPlugins/lwo/Unit.h, src/osgPlugins/lwo/VertexMap.cpp, - src/osgPlugins/lwo/VertexMap.h, src/osgPlugins/lwo/iffparser.h, - src/osgPlugins/lwo/lw.cpp, src/osgPlugins/lwo/lw.h, - src/osgPlugins/lwo/lwo2chunks.h, src/osgPlugins/lwo/lwo2parser.h, - src/osgPlugins/lwo/lwo2read.h, src/osgPlugins/lwo/lwo2types.h, - src/osgPlugins/lwo/old_Lwo2.cpp, src/osgPlugins/lwo/old_Lwo2.h, - src/osgPlugins/lwo/old_Lwo2Layer.cpp, - src/osgPlugins/lwo/old_Lwo2Layer.h, - src/osgPlugins/lwo/old_lw.cpp, src/osgPlugins/lwo/old_lw.h: From - Marco Jez, updates to the LWO loader. +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." -2004-01-03 09:06 robert +Mon, 10 Dec 2007 20:35:50 +0000 +Checked in by : Robert Osfield +Updated wrappers - * examples/osgshaders/GL2Scene.cpp, examples/osgshaders/Noise.cpp, - examples/osgshaders/Noise.h, examples/osgshaders/README.txt, - include/osgGL2/ProgramObject, include/osgGL2/UniformValue, - src/osgGL2/ProgramObject.cpp, src/osgGL2/UniformValue.cpp, - src/osgGL2/Version.cpp: Updates to osgGL2 from Mike Weiblen +Mon, 10 Dec 2007 20:33:22 +0000 +Checked in by : Robert Osfield +From Richard Schmidt, fix on ordering to be standard OpenGL way. -2004-01-02 20:44 robert +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: - * include/osg/Geometry: Fixed getFogCoord methods +*Feature: This version supports multiple clearnodes in the graph, one per renderstage. -2004-01-02 17:30 robert + - * src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/ReaderWriterTXP.h, - src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/txp/TXPArchive.h, src/osgPlugins/txp/TXPNode.h, - src/osgPlugins/txp/TXPPageManager.h, - src/osgPlugins/txp/TXPParser.cpp, src/osgPlugins/txp/TXPParser.h, - src/osgPlugins/txp/TXPSeamLOD.cpp, - src/osgPlugins/txp/TXPSeamLOD.h, - src/osgPlugins/txp/TXPTileNode.cpp, - src/osgPlugins/txp/TXPTileNode.h, - src/osgPlugins/txp/TileMapper.h: Updates to TXP plugin from Nick. +Text: -2004-01-02 17:06 robert +*Feature: Performance Enhancement when calling SetBackdropColor - * src/osgDB/Registry.cpp: Added "&& - oitr->second.first->referenceCount()<=1" check to - removeExpiredObjectsInCache - so that it only expires objects in the cache that have no - external reference. + -2004-01-02 11:31 robert +Material: - * AUTHORS.txt: Updates to the AUTHORS file from Rune. +*Fix: OpenGL calls are now made according to the OpenGL Standard -2003-12-27 22:17 robert +" - * Make/makedirdefs, examples/osgdistortion, - examples/osgdistortion/GNUmakefile, - examples/osgdistortion/GNUmakefile.inst, - examples/osgdistortion/osgdistortion.cpp: Added osgdistortion - demo. -2003-12-27 22:17 robert - * include/osgUtil/Optimizer: From Geof Michel, addition of - TESSELATE_GEOMETRY pass. +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 " -2003-12-27 15:57 robert +Mon, 10 Dec 2007 19:51:33 +0000 +Checked in by : Robert Osfield +From David Callu, IO support for Text3D - * VisualStudio/osgPlugins/txp/txp.dsp: Removed TXPIO.h +Mon, 10 Dec 2007 19:49:17 +0000 +Checked in by : Robert Osfield +From David Callu, Text3D -2003-12-27 13:46 robert +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)." - * src/osgUtil/Optimizer.cpp, src/osgUtil/Tesselator.cpp: From Geoff - Michel, added tesselate pass to Optimizer and added handling of - per - primitve color to osgUtil::Tesselator. +Mon, 10 Dec 2007 16:21:13 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-12-27 11:30 robert +Mon, 10 Dec 2007 16:14:21 +0000 +Checked in by : Robert Osfield +Added osgViewerGetVersion() usage to force Windows to link osgViewer. - * src/osg/Texture.cpp: From Rommano Silva, admendments to - Texture::computeRequiredTextureDimensions - so that it takes into account the current mip map settings. +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. -2003-12-26 16:45 robert +Mon, 10 Dec 2007 12:45:16 +0000 +Checked in by : Robert Osfield +From David Callu, added support for automatically reading associate dbase files - * src/osgFX/Scribe.cpp: 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. +Mon, 10 Dec 2007 12:00:09 +0000 +Checked in by : Robert Osfield +Char char[] to char* with new allocation. -2003-12-24 19:28 robert +Mon, 10 Dec 2007 11:34:00 +0000 +Checked in by : Robert Osfield +Refactored record allocation to fix build errors under Windows. - * VisualStudio/examples/osgphotoalbum/osgphotoalbum.dsp, - src/osg/Referenced.cpp, src/osgPlugins/osg/FragmentProgram.cpp, - src/osgPlugins/osg/VertexProgram.cpp, - src/osgPlugins/txp/TileMapper.cpp: Fixes for VS6.0 +Mon, 10 Dec 2007 11:20:22 +0000 +Checked in by : Robert Osfield +Added export macro for windows build -2003-12-24 17:20 robert +Mon, 10 Dec 2007 10:16:13 +0000 +Checked in by : Robert Osfield +Added include to fix compile errors under gcc 4.3 - * VisualStudio/VisualStudio.dsw: Removed redundent osgcameragroup +Sun, 9 Dec 2007 16:38:33 +0000 +Checked in by : Robert Osfield +From Gustavo Wagner, fixed bugs in reading M records from shapefile -2003-12-24 17:19 robert +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: - * VisualStudio/osgPlugins/txp/txp.dsp: Fixed typo of TileMap - now - corrected to TileMapper +http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.2.0 -2003-12-24 00:14 robert +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. - * src/osg/Image.cpp: Fixed typos in error reporting +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. +" -2003-12-24 00:14 robert - * src/osgUtil/Optimizer.cpp: Build fixes for VS6.0 -2003-12-24 00:07 robert +Sun, 9 Dec 2007 16:23:19 +0000 +Checked in by : Robert Osfield +Removed redundent OpenFlightOptimizer - * VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgphotoalbum, - VisualStudio/examples/osgphotoalbum/osgphotoalbum.dsp: Added - osgphotoalbum project +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 -2003-12-23 23:55 robert +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." - * examples/osgphotoalbum/ImageReaderWriter.cpp, - examples/osgphotoalbum/ImageReaderWriter.h, - examples/osgphotoalbum/PhotoArchive.cpp, - examples/osgphotoalbum/PhotoArchive.h, - examples/osgphotoalbum/osgphotoalbum.cpp: Added support for a - photo archive. - -2003-12-23 13:02 robert - - * src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/ReaderWriterTXP.h, - src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/txp/TXPArchive.h, src/osgPlugins/txp/TXPNode.cpp, - src/osgPlugins/txp/TXPNode.h, - src/osgPlugins/txp/TXPPageManager.h, - src/osgPlugins/txp/TXPParser.cpp, src/osgPlugins/txp/TXPParser.h, - src/osgPlugins/txp/TXPSeamLOD.h, - src/osgPlugins/txp/TXPTileNode.h: Updates from Nick. - - Added support for OSG_TXP_DEFAULT_MAX_ANISOTROPY to override the - default make - anistropy in textures. - -2003-12-23 12:10 robert - - * src/osgPlugins/txp/TXPNode.cpp: removed osg:: - -2003-12-23 09:18 robert - - * src/osgPlugins/txp/TXPIO.cpp, src/osgPlugins/txp/TXPNode.cpp: - Removed osg:: from NodeVisitor and Group base class calls - -2003-12-22 21:05 robert - - * examples/osgphotoalbum/GNUmakefile, - examples/osgphotoalbum/ImageReaderWriter.cpp, - examples/osgphotoalbum/ImageReaderWriter.h, - examples/osgphotoalbum/PhotoArchive.cpp, - examples/osgphotoalbum/PhotoArchive.h, - examples/osgphotoalbum/osgphotoalbum.cpp: Added beginings of - PhotoArchive for storing and loading a set of - photos from an archive. - -2003-12-22 14:48 robert - - * src/osgPlugins/txp/TXPParser.cpp: Added max texture anisotropy of - 4. - -2003-12-22 14:05 robert - - * src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/txp/TXPNode.cpp: Updates from Nick. - -2003-12-22 07:26 robert - - * VisualStudio/osgPlugins/txp/txp.dsp, - src/osgPlugins/txp/GNUmakefile, - src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/txp/TXPArchive.h, src/osgPlugins/txp/TXPNode.cpp, - src/osgPlugins/txp/TXPSeamLOD.cpp, - src/osgPlugins/txp/TXPTileNode.cpp, - src/osgPlugins/txp/TileMapper.cpp, - src/osgPlugins/txp/TileMapper.h: Moved TileMapper code out into - its own file and made it a signleton - -2003-12-22 06:27 robert - - * src/osgPlugins/txp/GNUmakefile, - src/osgPlugins/txp/IO_TerrapageNode.cpp, - src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/ReaderWriterTXP.h, - src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/txp/TXPArchive.h, src/osgPlugins/txp/TXPIO.cpp, - src/osgPlugins/txp/TXPNode.cpp, src/osgPlugins/txp/TXPNode.h, - src/osgPlugins/txp/TXPPageManager.cpp, - src/osgPlugins/txp/TXPPageManager.h, - src/osgPlugins/txp/TXPParser.cpp, src/osgPlugins/txp/TXPParser.h, - src/osgPlugins/txp/TXPSeamLOD.cpp, - src/osgPlugins/txp/TXPSeamLOD.h, - src/osgPlugins/txp/TXPTileNode.cpp, - src/osgPlugins/txp/TXPTileNode.h, - src/osgPlugins/txp/TerrapageNode.cpp, - src/osgPlugins/txp/TerrapageNode.h, - src/osgPlugins/txp/TrPageArchive.cpp, - src/osgPlugins/txp/TrPageArchive.h, - src/osgPlugins/txp/TrPageParser.cpp, - src/osgPlugins/txp/TrPageParser.h, - src/osgPlugins/txp/WaitBlock.h, - src/osgPlugins/txp/trPagePageManager.cpp, - src/osgPlugins/txp/trPagePageManager.h, - src/osgPlugins/txp/trdll.h, src/osgPlugins/txp/trpage_basic.cpp, - src/osgPlugins/txp/trpage_compat.cpp, - src/osgPlugins/txp/trpage_compat.h, - src/osgPlugins/txp/trpage_geom.cpp, - src/osgPlugins/txp/trpage_geom.h, - src/osgPlugins/txp/trpage_header.cpp, - src/osgPlugins/txp/trpage_io.h, - src/osgPlugins/txp/trpage_label.cpp, - src/osgPlugins/txp/trpage_light.cpp, - src/osgPlugins/txp/trpage_main.cpp, - src/osgPlugins/txp/trpage_managers.cpp, - src/osgPlugins/txp/trpage_managers.h, - src/osgPlugins/txp/trpage_material.cpp, - src/osgPlugins/txp/trpage_model.cpp, - src/osgPlugins/txp/trpage_nodes.cpp, - src/osgPlugins/txp/trpage_parse.cpp, - src/osgPlugins/txp/trpage_pparse.cpp, - src/osgPlugins/txp/trpage_print.cpp, - src/osgPlugins/txp/trpage_print.h, - src/osgPlugins/txp/trpage_range.cpp, - src/osgPlugins/txp/trpage_rarchive.cpp, - src/osgPlugins/txp/trpage_read.h, - src/osgPlugins/txp/trpage_readbuf.cpp, - src/osgPlugins/txp/trpage_scene.cpp, - src/osgPlugins/txp/trpage_scene.h, - src/osgPlugins/txp/trpage_swap.cpp, - src/osgPlugins/txp/trpage_swap.h, - src/osgPlugins/txp/trpage_sys.h, - src/osgPlugins/txp/trpage_tile.cpp, - src/osgPlugins/txp/trpage_util.cpp, - src/osgPlugins/txp/trpage_util.h, - src/osgPlugins/txp/trpage_warchive.cpp, - src/osgPlugins/txp/trpage_write.h, - src/osgPlugins/txp/trpage_writebuf.cpp: 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 - - * src/osgPlugins/txp/TrPageParser.cpp: Fixed memory leak and - utilised DrawArrayLengths in place of multiple - DrawArray calls. - -2003-12-21 13:11 robert - - * include/osgUtil/CullVisitor, src/osgUtil/CullVisitor.cpp: Added - extra clampProjectionMatrix methods to handle both Matrixd and - Matrixf - pathways. +Sun, 9 Dec 2007 16:01:29 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-12-20 23:25 robert +Sun, 9 Dec 2007 15:43:49 +0000 +Checked in by : Robert Osfield +From David Callu, added DBase attribute support for shapefiles - * src/osg/PagedLOD.cpp: Fixed PagedLOD's handling of distances - beyond the furthest range. +Sun, 9 Dec 2007 14:54:02 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-12-20 14:25 robert +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. - * examples/osgphotoalbum/osgphotoalbum.cpp: Added support for - placing pictures of backs and fronts of pages. +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." -2003-12-20 14:23 robert +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. +" - * src/osgPlugins/osgText/IO_Text.cpp, src/osgText/Text.cpp: 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. -2003-12-20 14:20 robert - * include/osgText/Text: *** empty log message *** +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." -2003-12-20 14:19 robert +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... - * include/osg/CullFace, src/osg/CullFace.cpp: Added Mode parameter - to constructor. -2003-12-19 23:14 robert - * src/osgPlugins/osg/Node.cpp, src/osgPlugins/osg/Object.cpp: Added - support for reading and writing UserData from objects. -2003-12-19 22:55 robert +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 : - * examples/osgdem/DataSet.cpp, examples/osgdem/DataSet.h: Added - support for tagging the required resolutions from the source - data. +* 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. -2003-12-19 22:34 robert +New memebers of PolytopeIntersector::Intersection : - * include/osg/Endian: Added swap bytes methods. +* 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 -2003-12-19 22:21 robert - * src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/DataTypeSize.h, - src/osgPlugins/ive/IveVersion.h: From Corbin Holtz, support for - endian testing and bytes swapping. With mods - from Robert to use include/osg/Endian +I added some more output to the example osgkeyboardmouse." -2003-12-19 10:52 robert - * src/osg/Texture.cpp: Added _ARB to GL_COMPARE_R_TO_TEXTURE -2003-12-18 20:53 robert +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 + - * include/osg/Image: Changed inline docs for readPixels to say - "read pixels from current frame buffer" -2003-12-18 16:15 robert - * include/osg/Texture: Added definition of - GL_DEPTH_TEXTURE_MODE_ARB -2003-12-18 12:20 robert +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. - * Make/makedefs, src/osgPlugins/quicktime/ReaderWriterQT.cpp: From - Bob Kuehne, build fixes for OSX. +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." -2003-12-17 19:26 robert - * include/osg/Texture, src/osg/Texture.cpp: From Pavel Moloshtan, - added GL_ARB_shadow_support to osg::Texture. -2003-12-17 17:05 robert +Fri, 7 Dec 2007 13:19:53 +0000 +Checked in by : Robert Osfield +From Paul Martz, minor typo fixes in notify messages - * include/osg/TexGen: From Pavel Molishtan, Fixed comparision of _t - plane. +Thu, 6 Dec 2007 17:53:22 +0000 +Checked in by : Robert Osfield +From Bob Kuehne, added extra event handlers -2003-12-17 17:02 robert +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." - * examples/osgdem/DataSet.cpp, examples/osgdem/DataSet.h: Added - support for tracing the resolutions that are required by the - destination data. -2003-12-17 10:05 robert - * Make/makedefs: From Jeremy Bell, made SHARED = -dynamic for OSX. +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) +... -2003-12-17 10:04 robert +does not cover this situation. In these situations clientRect.bottom = 0 +and clientRect.right > 0. - * VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgkeyboardmouse, - VisualStudio/examples/osgkeyboardmouse/osgkeyboardmouse.dsp, - VisualStudio/examples/osgsimple, - VisualStudio/examples/osgsimple/osgsimple.dsp: Added VS projects - for osgkeyboardmouse and osgsimple examples. +Quick fix to this is relax condition: + if (clientRect.bottom==0 || clientRect.right==0) -2003-12-17 00:58 robert +Modified file is attached. - * examples/osgkeyboardmouse/GNUmakefile, - examples/osgkeyboardmouse/GNUmakefile.inst: Added -losgGL2 to - link line. +Tested with osgviewerMFC from 2.2.0 release (Windows XP sp2) -2003-12-16 23:43 robert +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 - * examples/osgkeyboardmouse/osgkeyboardmouse.cpp, - include/osgFX/Validator, src/osgFX/Effect.cpp, - src/osgFX/Validator.cpp: From Marco Jez, fixes to osgFX so that - effects are compiled correctly. - - Fixed title name of osgkeyboardmouse example. +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. +" -2003-12-16 19:21 robert - * VisualStudio/VisualStudio.dsw: Added osgUtil dependancy to lib3ds - plugin -2003-12-16 08:56 robert +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. - * include/osg/Drawable, src/osg/Drawable.cpp: 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. +Corresponding environment variables have been added too. +The default values reproduce the previous DatabasePager behavior." -2003-12-15 23:23 robert - * Make/makedirdefs, include/osgUtil/CullVisitor, - src/osgUtil/CullVisitor.cpp, src/osgUtil/RenderStage.cpp, - src/osgUtil/SceneView.cpp: 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 - * src/osg/Texture.cpp: Changed the default wrap modes from REPEAT - to CLAMP since CLAMP is the OpenGL - default value. +Thu, 6 Dec 2007 17:28:29 +0000 +Checked in by : Robert Osfield +From Cedric Pinson, fixes for toggle fullscreen on gnome desktop -2003-12-15 16:46 robert +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." - * examples/osgkeyboardmouse, examples/osgkeyboardmouse/GNUmakefile, - examples/osgkeyboardmouse/GNUmakefile.inst, - examples/osgkeyboardmouse/osgkeyboardmouse.cpp, - examples/osgsimple, examples/osgsimple/GNUmakefile, - examples/osgsimple/GNUmakefile.inst, - examples/osgsimple/osgsimple.cpp: 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. +Thu, 6 Dec 2007 17:03:47 +0000 +Checked in by : Robert Osfield +From Mathias Froehlich, "Add missing includes. Fails on hp-ux." -2003-12-15 16:40 robert +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." - * examples/osgphotoalbum/osgphotoalbum.cpp: Added gemetry of photo - album and page turning animation. +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 -2003-12-15 08:54 robert +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. - * src/osgUtil/Optimizer.cpp: Added test against MultiSwitch in - Optimizer to prevent switch children - being removed. +Thu, 6 Dec 2007 09:22:41 +0000 +Checked in by : Robert Osfield +From Ulrich Hertlein, added osgViewer dependency for OSX build -2003-12-13 22:15 robert +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 - * src/osgPlugins/quicktime/ReaderWriterQT.cpp: Fixed paramter name - from being fileName to file. +Wed, 5 Dec 2007 11:29:58 +0000 +Checked in by : Robert Osfield +Removed debugging line. -2003-12-13 22:07 robert +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. - * src/osgPlugins/flt/GNUmakefile: From Jeremy Bell, add -losgText - to fix OSX compile. +Tue, 4 Dec 2007 14:46:46 +0000 +Checked in by : Robert Osfield +Added support for new double Vec*Array classes in various functors. -2003-12-13 16:41 robert +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. - * src/osgPlugins/lib3ds/ReaderWriter3DS.cpp: Added TriStripVisitor - usage. + osgviewer myshapefile.shf -O "double" + -2003-12-13 16:36 robert - * include/osgDB/Registry, src/osgDB/DynamicLibrary.cpp, - src/osgDB/Registry.cpp: From Michael Gronager, with updates from - Robert Osfield, to add support - for Registry::closeAllLibrary and forced Registry destruction via - Registry::instance(true). -2003-12-13 15:33 robert +Tue, 4 Dec 2007 14:44:49 +0000 +Checked in by : Robert Osfield +Added support for double Vec*Array objects - * src/osgPlugins/png/ReaderWriterPNG.cpp: From Eric Sokolosky, - fixed broken handling of palatted textures. +Tue, 4 Dec 2007 14:44:21 +0000 +Checked in by : Robert Osfield +Added double Vec*Array support -2003-12-12 20:33 robert +Tue, 4 Dec 2007 14:43:14 +0000 +Checked in by : Robert Osfield +Added testPolytope entry - * include/osgProducer/Viewer: Fixed typo of s/getUpdateVisitor(). +Sat, 1 Dec 2007 15:30:35 +0000 +Checked in by : Robert Osfield +Fixed the Polytop::setFrustum and setBoundingBox method -2003-12-12 17:23 robert +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. - * src/osgUtil/Optimizer.cpp: Fixed flatten static transform +Sat, 17 Nov 2007 11:50:13 +0000 +Checked in by : Robert Osfield +From Colin Dunlop, add --devices support. -2003-12-12 16:34 robert +Tue, 13 Nov 2007 17:03:36 +0000 +Checked in by : Robert Osfield +Added support for filename only setup of CompositeLayer on reading/writing. - * src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/glm.cpp: Removed comments, and move the tri - stipper slightly later in the code to - apply it on all geometries. +Sat, 10 Nov 2007 03:43:23 +0000 +Checked in by : Eric WING +Added missing files for qt plugin -2003-12-12 15:22 robert +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. - * src/osgPlugins/geo/osgGeoStructs.h: Updates from Geof Michel. +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. -2003-12-12 13:53 robert - * src/osgUtil/Optimizer.cpp, src/osgUtil/TriStripVisitor.cpp: Made - progress reports use osg::notify(osg::INFO) instread of std::cout +Fri, 9 Nov 2007 02:21:16 +0000 +Checked in by : Eric WING +Lots of Leopard information added. -2003-12-12 13:24 robert +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). - * src/osgUtil/Optimizer.cpp: Fixed merging of geometry code. +Thu, 8 Nov 2007 10:30:06 +0000 +Checked in by : Eric WING +For Leopard freetype, path is $(SDKROOT)/usr/X11/lib not X11R6. -2003-12-11 23:33 robert +Tue, 6 Nov 2007 12:07:23 +0000 +Checked in by : Robert Osfield +From Colin Dunlop, add live video stream support - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp: Renamed - PermissableOptions to setPermissableOptimizations. +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 -2003-12-11 23:26 robert +Sun, 4 Nov 2007 15:21:48 +0000 +Checked in by : Robert Osfield +Changed the include definition so that it works under Cygwin. - * include/osgUtil/Optimizer, include/osgUtil/TriStripVisitor, - src/osgUtil/Optimizer.cpp, src/osgUtil/TriStripVisitor.cpp: 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; - } - - 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; - } - - inline bool isOperationPermissableForObject(const osg::Object* - object,unsigned int option) const - { - return (option & getPermissableOptionsForObject(object))!=0; - } +Sat, 3 Nov 2007 10:32:18 +0000 +Checked in by : Robert Osfield +Fixed bug in addSlave -2003-12-11 16:46 robert +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. - * include/osg/CollectOccludersVisitor, include/osgUtil/SceneView, - src/osg/CollectOccludersVisitor.cpp, src/osgUtil/SceneView.cpp: - 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 - - * src/osgGA/DriveManipulator.cpp: Added environmental variable for - setting the height of the drive manipulator. - -2003-12-10 15:24 robert - - * include/osgDB/Registry, src/osgDB/Registry.cpp: 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. - -2003-12-10 15:22 robert - - * examples/osgphotoalbum/osgphotoalbum.cpp: Added proper handling - of unhandled file return type. - -2003-12-10 11:40 robert - - * src/osgDB/DynamicLibrary.cpp, src/osgDB/Registry.cpp: Improved - the management of errors reported from ReaderWriters, and cleaned - up the reporting of errors in DynamicLibrary. - -2003-12-10 10:49 robert - - * src/osgUtil/TriStripVisitor.cpp: Added support for using - DrawArrays when indices are in ascending order, and - increment 1 at a time. - -2003-12-09 22:29 robert - - * src/osgUtil/Optimizer.cpp, src/osgUtil/TriStripVisitor.cpp: - Improvements to the TriStripVisitor such that it now groups 4 - point tri strips - together as quads. - -2003-12-09 14:07 robert - - * examples/osgcallback/osgcallback.cpp, - examples/osghangglide/osghangglide.cpp, - examples/osgvertexprogram/osgvertexprogram.cpp, - include/osg/Billboard, include/osg/Transform, - src/osg/CollectOccludersVisitor.cpp, src/osg/Transform.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/IntersectVisitor.cpp, - src/osgUtil/Optimizer.cpp: Removed - osg::Transform::ComputeTransformCallback from osg::Transform. - - Updated various dependant files to reimplemt callbacks as - Transform subclasses. - -2003-12-09 14:06 robert - - * src/osgPlugins/ive/PagedLOD.cpp, src/osgPlugins/osg/PagedLOD.cpp: - Added support for new PagedLOD Radius and - NumChildrenThatCannorBeExpired variables - to .osg and .ive support. - -2003-12-09 12:11 robert - - * Make/makedirdefs, examples/osgphotoalbum, - examples/osgphotoalbum/GNUmakefile, - examples/osgphotoalbum/GNUmakefile.inst, - examples/osgphotoalbum/osgphotoalbum.cpp: Added new example - osgphotoalbum. - -2003-12-09 12:09 robert - - * src/osgPlugins/jpeg/ReaderWriterJPEG.cpp: Reverted back to non - exception based JPEG plugin. - -2003-12-09 12:08 robert - - * include/osg/PagedLOD, src/osg/PagedLOD.cpp: 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; } - -2003-12-09 12:07 robert - - * include/osgDB/Registry: Added get() method to ReaderWriterProxy - class to allow the readerwriter to - be obtained once its constructed. - -2003-12-09 12:05 robert - - * include/osg/TexEnv, src/osg/TexEnv.cpp: Addition of Mode - mode=MODULATE constructor. - -2003-12-09 12:04 robert - - * include/osgText/Font, src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgText/DefaultFont.cpp, src/osgText/Font.cpp: Fixes for - optional compile of GL_LUMINANCE_ALPHA and GL_ALPHA texture usage - in fonts. Default to GL_ALPHA. - -2003-12-09 11:31 robert - - * include/osgText/Font, src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgText/DefaultFont.cpp, src/osgText/Font.cpp: Moved osgText - across to create GL_ALPHA textures instead of GL_LUMINANCE_ALPHA - -2003-12-09 11:20 robert - - * include/osg/Drawable, src/osg/Drawable.cpp: From Pavel Moloshtan, - extension support for ARB_occlusion_querry - -2003-12-09 11:19 robert - - * src/osgFX/Cartoon.cpp: From Mike Wieblen, tweak to GL2 shader - -2003-12-09 10:42 robert - - * src/osgText/Font.cpp: From Tree, tweaks to the coord generation - to improve text alignment. - -2003-12-09 10:38 robert - - * src/osgPlugins/osg/AnimationPath.cpp: From Johan Nouvel, support - for AnimationPathCallback values in .osg file. - Includes a small modication to ensure that code works shared - animation paths, by RO. - -2003-12-09 09:25 robert - - * src/osgDB/Registry.cpp: From Eric Sokolosky, OSX uses - DYLD_LIBRARY_PATH for initial library search path - instead of LD_LIBRARY_PATH. - -2003-12-09 09:03 robert +Wed, 31 Oct 2007 12:55:15 +0000 +Checked in by : Robert Osfield +Added getColor method to allow easy reading of individual pixels. - * src/osgPlugins/pfb/ReaderWriterPFB.cpp: Aded FileUtils include. - -2003-12-08 19:25 robert - - * src/osgUtil/SceneView.cpp: 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 - - * Make/makedirdefs, examples/slideshow3D/ReaderWriterXML.cpp, - include/osgDB/ReaderWriter, include/osgUtil/TriStripVisitor, - src/osgDB/FileUtils.cpp, src/osgDB/Registry.cpp, - src/osgPlugins/3dc/ReaderWriter3DC.cpp, - src/osgPlugins/Inventor/ReaderWriterIV.cpp, - src/osgPlugins/bmp/ReaderWriterBMP.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/directx/ReaderWriterDirectX.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/flt/ReaderWriterATTR.cpp, - src/osgPlugins/flt/ReaderWriterFLT.cpp, - src/osgPlugins/freetype/ReaderWriterFreeType.cpp, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/gif/ReaderWriterGIF.cpp, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/jp2/ReaderWriterJP2.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/lib3ds/ReaderWriter3DS.cpp, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/md2/ReaderWriterMD2.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp, - src/osgPlugins/pfb/ReaderWriterPFB.cpp, - src/osgPlugins/pic/ReaderWriterPIC.cpp, - src/osgPlugins/png/ReaderWriterPNG.cpp, - src/osgPlugins/pnm/ReaderWriterPNM.cpp, - src/osgPlugins/quicktime/ReaderWriterQT.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp, - src/osgPlugins/tga/ReaderWriterTGA.cpp, - src/osgPlugins/tgz/ReaderWriterTGZ.cpp, - src/osgPlugins/tiff/ReaderWriterTIFF.cpp, - src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/zip/ReaderWriterZIP.cpp, - src/osgUtil/Optimizer.cpp, src/osgUtil/TriStripVisitor.cpp: 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. +Wed, 31 Oct 2007 11:06:33 +0000 +Checked in by : Robert Osfield +Fixed wrap mode for panoramic display. -2003-12-07 20:58 robert +Tue, 30 Oct 2007 14:17:34 +0000 +Checked in by : Robert Osfield +Changed debug message from NOTICE to INFO. - * src/osgPlugins/osgText/IO_Text.cpp: Added check against null - being passed into std::string constructor. +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). -2003-12-05 22:42 robert +Thu, 25 Oct 2007 09:00:25 +0000 +Checked in by : Robert Osfield +Fixed the capitilization of the osgdb_osgfx plugin - * include/osgUtil/TriStripVisitor: Changed the minium tri strip - length to 2 rather than 0. +Fri, 19 Oct 2007 09:58:11 +0000 +Checked in by : Robert Osfield +Fixed errors is setup of VBO/EBO's. -2003-12-05 14:39 robert +Fri, 19 Oct 2007 08:42:44 +0000 +Checked in by : Robert Osfield +Fix for setting scene data after slaves have been added. - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp: Added code - for combining adjacent static MatrixTransforms - -2003-12-05 14:39 robert - - * include/osgSim/MultiSwitch: Fixes for Win32 build. - -2003-12-05 13:58 robert - - * src/osgSim/DOFTransform.cpp, src/osgSim/MultiSwitch.cpp: Fixes - for Windows build. - -2003-12-05 13:26 robert - - * src/osg/DOFTransform.cpp: Removed DOFTransform. - -2003-12-05 09:22 robert - - * src/osg/Geometry.cpp: Added a cast (Array*) to get round VS.NET - compiler error. - -2003-12-04 17:14 robert - - * src/osg/Geometry.cpp, src/osgUtil/TriStripVisitor.cpp: Added - support for expanding index'd attributes from within - osgUtil:TriStripVisitor. - -2003-12-04 09:43 robert - - * include/osgProducer/Viewer, src/osgProducer/Viewer.cpp: Added - optional TraversalMask paramter to computeIntersections() - methods. - -2003-12-03 21:45 robert - - * doc/introduction.html, examples/osgshaders/GL2Scene.cpp, - include/osg/Array, include/osg/CullingSet, include/osg/Geometry, - include/osg/Multisample, include/osg/Polytope, - include/osg/TexEnvCombine, include/osgUtil/Optimizer, - include/osgUtil/TriStripVisitor, src/osg/Geometry.cpp, - src/osg/TexEnvCombine.cpp, src/osgUtil/Optimizer.cpp, - src/osgUtil/TriStripVisitor.cpp: 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. - -2003-12-03 21:28 robert - - * include/osg/PagedLOD: Made removedExpiredChildren() virtual. +Fri, 19 Oct 2007 08:39:07 +0000 +Checked in by : Robert Osfield +Fixed getOrCreateVertexBufferObject(). -2003-12-02 21:38 robert +Wed, 17 Oct 2007 19:01:18 +0000 +Checked in by : Robert Osfield +Removed redundent X11/Intrinsic include - * src/osgText/Font.cpp: Suggestion from Tree, changed tex coord - scaling against textureWidth/Height rather - than textureWidth-1 etc. +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 -2003-12-02 21:38 robert +Tue, 16 Oct 2007 19:03:43 +0000 +Checked in by : Robert Osfield +Added flv to accepted list of formats - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Rune, Added catch - for erroneous size specification in .dds file. +Tue, 16 Oct 2007 19:01:25 +0000 +Checked in by : Robert Osfield +Added flv to the list of accepted movie types -2003-12-01 14:31 robert +Fri, 5 Oct 2007 11:48:41 +0000 +Checked in by : Eric WING +Forgot to bump version numbers to 2.2.0. - * VisualStudio/osgPlugins/ive/ive.dsp, examples/osgdem/DataSet.cpp, - examples/osgdem/DataSet.h, src/osgPlugins/ive/AlphaFunc.cpp, - src/osgPlugins/ive/AlphaFunc.h, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/GNUmakefile: From Pavel Moloshton, addition of - AlphaFunc support to .ive. +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. -2003-12-01 10:28 robert +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. - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp: Added a - spatializer into osgUtil to create a balanced quad/oct tree. +Fri, 5 Oct 2007 09:03:51 +0000 +Checked in by : Robert Osfield +Changed the threading model to single threaded. -2003-11-28 22:39 robert +Thu, 4 Oct 2007 11:24:09 +0000 +Checked in by : Robert Osfield +Updated ChangeLog for 2.2 release - * src/osgPlugins/Inventor/ConvertFromInventor.cpp: 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, 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 -2003-11-28 14:37 robert +Thu, 4 Oct 2007 10:05:20 +0000 +Checked in by : Robert Osfield +Updated version for 2.2 release - * VisualStudio/osgPlugins/geo/geo.dsp, - src/osgPlugins/geo/ClipRegion.cpp, - src/osgPlugins/geo/ClipRegion.h, src/osgPlugins/geo/GNUmakefile, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/geo/geoActions.cpp, - src/osgPlugins/geo/osgGeoAnimation.h, - src/osgPlugins/geo/osgGeoNodes.h, - src/osgPlugins/geo/osgGeoStructs.h: From Geoff Michel, updates to - GEO plugin. +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 -2003-11-28 14:26 robert +Wed, 3 Oct 2007 23:44:24 +0000 +Checked in by : Robert Osfield +Updated ChangeLog, NEWS and AUTHORS file for 2.1.15 release - * examples/osgdem/DataSet.cpp, examples/osgdem/DataSet.h: Updates - to osgdem. +Wed, 3 Oct 2007 23:27:59 +0000 +Checked in by : Robert Osfield +Updated version for 2.1.15 dev release -2003-11-28 13:41 robert +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." - * include/osgProducer/Viewer, src/osgProducer/Viewer.cpp: From Qing - Shen, addition of computeIntsect methods which take a - node pointer to intersect with rather than assume the viewer's - scene pointer. +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. -2003-11-27 22:53 robert + cmake . -DDDEFAULT_GLU_TESS_CALLBACK_TRIPLEDOT=ON + - * VisualStudio/osgPlugins/ive/ive.dsp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/ive/LightPoint.h, - src/osgPlugins/ive/Node.cpp, src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/ive/VisibilityGroup.cpp, - src/osgPlugins/ive/VisibilityGroup.h: From Rune Schmidt Jensen, - support for osgSim::VisibilityGroup in the .ive loader - and support for node masks. -2003-11-27 22:06 robert - * include/osgFX/BumpMapping, include/osgFX/Effect, - include/osgFX/Technique, include/osgFX/Validator: Standardised - the tabbing so that 4 spaces are used instead of hardware tabs. +Wed, 3 Oct 2007 21:12:32 +0000 +Checked in by : Stephan Maximilian HUBER +updated XCode projects -2003-11-27 16:23 robert +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. - * VisualStudio/osgPlugins/osgSim/dot_osgSim.dsp, - VisualStudio/osgSim/osgSim.dsp, include/osgSim/VisibilityGroup, - src/osgPlugins/osgSim/GNUmakefile, - src/osgPlugins/osgSim/IO_VisibilityGroup.cpp, - src/osgSim/GNUmakefile, src/osgSim/VisibilityGroup.cpp: From - Michael Gronager, osgSim::VisibilityGroup +Wed, 3 Oct 2007 19:54:30 +0000 +Checked in by : Robert Osfield +Removed double return error -2003-11-27 15:13 robert +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 - * examples/osgdem/DataSet.cpp, examples/osgdem/DataSet.h, - include/osg/BoundingBox: Updates to osgdem + BoundingBox to - support graph iterators +Wed, 3 Oct 2007 12:48:23 +0000 +Checked in by : Robert Osfield +From Mahai Radu, improvements to handling of spotlights -2003-11-27 13:31 robert +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. - * src/osgPlugins/flt/flt2osg.cpp, src/osgPlugins/flt/flt2osg.h: - From Nikolaus Hanekamp, Fixes to lightpoint code +Wed, 3 Oct 2007 10:38:26 +0000 +Checked in by : Robert Osfield +Added preliminary press release -2003-11-27 13:25 robert +Wed, 3 Oct 2007 10:36:59 +0000 +Checked in by : Robert Osfield +From Alberto Luaces, build fix for Cygwin. - * src/osgPlugins/flt/flt2osg.cpp: 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, 3 Oct 2007 08:34:51 +0000 +Checked in by : Robert Osfield +Added return 0 to fix warning -2003-11-26 16:56 robert +Tue, 2 Oct 2007 21:45:55 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/flt/GeoSetBuilder.h, - src/osgPlugins/flt/flt2osg.cpp, src/osgPlugins/flt/flt2osg.h: - Addition of light point. +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." -2003-11-26 16:43 robert - * include/osgUtil/SceneView: Warning fix from Romano -2003-11-26 13:21 robert - * examples/slideshow3D/slideshow3D.cpp: Added a f after 2.0 - definitions in atan2 to get round stupid MS errors. +Tue, 2 Oct 2007 21:28:27 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-11-26 11:33 robert +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. - * VisualStudio/osgPlugins/osg/dot_osg.dsp: Removed DOFTransform. +Tue, 2 Oct 2007 21:24:23 +0000 +Checked in by : Robert Osfield +Updated to reflect new CompositeViewer threading models -2003-11-26 11:01 robert +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 - * include/osgSim/MultiSwitch: Changed SG_EXPORT to OSGSIM_EXPORT. +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. -2003-11-26 08:37 robert +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. - * src/osgPlugins/ive/DOFTransform.cpp, - src/osgPlugins/ive/DOFTransform.h, - src/osgPlugins/ive/MultiSwitch.cpp, - src/osgPlugins/ive/MultiSwitch.h: Added missing DOFTransform and - MultiSwitch implementations +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. -2003-11-25 19:43 robert +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 - * Make/makedirdefs: Checked in support for osgTerrain in - Make/makedirdefs +Mon, 1 Oct 2007 15:11:54 +0000 +Checked in by : Robert Osfield +Removed redundent malloc. -2003-11-25 19:42 robert +Mon, 1 Oct 2007 11:02:02 +0000 +Checked in by : Robert Osfield +From David Callu, various fixes for window inheritance - * include/osgTerrain, include/osgTerrain/CoordinateSystem, - include/osgTerrain/Export, include/osgTerrain/GeoMipMapRenderer, - include/osgTerrain/Renderer, include/osgTerrain/Terrain, - src/osgTerrain, src/osgTerrain/CoordinateSystem.cpp, - src/osgTerrain/GNUmakefile, src/osgTerrain/GeoMipMapRenderer.cpp, - src/osgTerrain/Renderer.cpp, src/osgTerrain/Terrain.cpp: Early - development work on osgTerrain. +Mon, 1 Oct 2007 10:23:11 +0000 +Checked in by : Robert Osfield +Updated AUTHORS for 2.1.13 release -2003-11-25 19:25 robert +Mon, 1 Oct 2007 10:21:52 +0000 +Checked in by : Robert Osfield +Updated Version number for 2.1.13 and updated ChangeLog. - * Make/makedirdefs: Disabled the build of osgTerrain, until its - checked in. +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. -2003-11-25 19:25 robert +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. - * include/osgSim/ScalarBar: Added OSGSIM_EXPORT to - scalarbar::printer +Sun, 30 Sep 2007 20:16:49 +0000 +Checked in by : Stephan Maximilian HUBER +updated XCode-projects -2003-11-25 19:06 robert +Sun, 30 Sep 2007 19:56:46 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgSim/DOFTransform.cpp: Added missing DOFTransform.cpp +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." -2003-11-25 16:28 robert - * VisualStudio/osgPlugins/ive/ive.dsp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/ive/ReadWrite.h: - Added suport for osgSim::MultiSwitch to .ive plugin -2003-11-25 16:07 robert - * include/osgSim/MultiSwitch, - src/osgPlugins/osgSim/IO_MultiSwitch.cpp: Tweaked MultiSwitch IO +Sun, 30 Sep 2007 19:39:36 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-11-25 15:58 robert +Sun, 30 Sep 2007 19:27:31 +0000 +Checked in by : Robert Osfield +Added support for CompositeViewer to WindowSizeHandler, ThreadingHandler, RecordCameraPathManipulator and HelpHandler. - * VisualStudio/osgPlugins/osgSim/dot_osgSim.dsp, - VisualStudio/osgSim/osgSim.dsp, include/osgSim/MultiSwitch, - src/osgPlugins/flt/flt2osg.cpp, - src/osgPlugins/osgSim/GNUmakefile, - src/osgPlugins/osgSim/IO_MultiSwitch.cpp, src/osgSim/GNUmakefile, - src/osgSim/MultiSwitch.cpp: Added osgSim::MultiSwitch and support - for it in the OpenFlight and - .osg plugins +Sun, 30 Sep 2007 19:15:32 +0000 +Checked in by : Robert Osfield +Changed HelpHandler so it supports use with CompositeViewer and Viewer -2003-11-25 14:38 robert +Sun, 30 Sep 2007 18:43:42 +0000 +Checked in by : Robert Osfield +Added hdwriter to CMake build - * VisualStudio/osgPlugins/ive/ive.dsp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/ive/TexMat.cpp, src/osgPlugins/ive/TexMat.h: Added - support for TexMat to .ive plugin +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." -2003-11-25 14:11 robert - * Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/osg/osg.dsp, VisualStudio/osgPlugins/ive/ive.dsp, - VisualStudio/osgPlugins/osgSim/dot_osgSim.dsp, - VisualStudio/osgSim/osgSim.dsp, include/osg/DOFTransform, - include/osg/NodeVisitor, include/osg/Transform, - include/osgSim/DOFTransform, include/osgSim/LightPointNode, - src/osg/GNUmakefile, src/osgPlugins/flt/GNUmakefile, - src/osgPlugins/flt/flt2osg.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/ive/Image.cpp, - src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/osg/DOFTransform.cpp, - src/osgPlugins/osg/GNUmakefile, src/osgPlugins/osg/Node.cpp, - src/osgPlugins/osgSim/GNUmakefile, - src/osgPlugins/osgSim/IO_DOFTransform.cpp, - src/osgSim/GNUmakefile: 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. -2003-11-25 11:40 robert - * examples/osgdem/DataSet.cpp, examples/osgdem/DataSet.h, - examples/osgdem/GNUmakefile, examples/osgdem/GNUmakefile.inst, - examples/osgdem/osgdem.cpp: Work in progress on osgdem example - and osgTerrain::DataSet class +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 +" -2003-11-25 11:06 robert - * src/osg/ArgumentParser.cpp: Fixed type of unrecognized -2003-11-25 11:05 robert - * examples/osgviewer/osgviewer.cpp: Moved the unrecognized options - check to after loaded +Sun, 30 Sep 2007 16:24:00 +0000 +Checked in by : Stephan Maximilian HUBER +updated xcode-projects -2003-11-25 10:57 robert +Sun, 30 Sep 2007 15:24:43 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/gdal/ReaderWriterGDAL.cpp: Tweaks for debugging - output +Sun, 30 Sep 2007 15:07:17 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-11-25 10:56 robert +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. - * include/osg/BoundingBox: Added intersect method. +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." -2003-11-25 10:56 robert - * include/osg/ArgumentParser, src/osg/ArgumentParser.cpp: Added - read(string,float,float,float,float) method -2003-11-25 10:55 robert - * include/osgUtil/SceneView: Reorganised posstion of - getViewMatrix*() methods. +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. -2003-11-25 10:53 robert - * src/osgPlugins/bmp/ReaderWriterBMP.cpp: From Eric Hammil, support - for compute the dimensions when the file specified - size is zero. -2003-11-25 10:52 robert +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 - * src/osgPlugins/jpeg/ReaderWriterJPEG.cpp: Changed error message - to something more meaningful +Sat, 29 Sep 2007 11:41:57 +0000 +Checked in by : Robert Osfield +From Stephan Huber, add basic support for CompositeViewer in StatsHandler -2003-11-25 10:50 robert +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. - * src/osgPlugins/osg/Shape.cpp: Increased the prevision of - outputing the height field parameters +The stuff in daeReader.h and daeWriter.h are just cosmetic changes to get rid of a warning." -2003-11-25 10:49 robert - * src/osgPlugins/lib3ds/ReaderWriter3DS.cpp: Added support for case - insenstive file searches. -2003-11-25 10:47 robert - * src/osgPlugins/flt/TransformationRecords.h, - src/osgPlugins/flt/flt2osg.cpp, src/osgPlugins/flt/flt2osg.h: - From Trajce Nicklov, support for GeneralMatrix record +Fri, 28 Sep 2007 13:42:41 +0000 +Checked in by : Robert Osfield +Fixed SphericalDisplay set up codes to properly manage display host/num -2003-11-25 10:32 robert +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." - * src/osgPlugins/flt/FltFile.cpp: From Alberto Farre, added support - for nesting of files. +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." -2003-11-25 10:20 robert +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." - * VisualStudio/osgPlugins/flt/flt.dsp, - src/osgPlugins/flt/BSPRecord.cpp, src/osgPlugins/flt/BSPRecord.h, - src/osgPlugins/flt/GNUmakefile, src/osgPlugins/flt/flt2osg.cpp, - src/osgPlugins/flt/flt2osg.h, src/osgPlugins/flt/opcodes.h: From - Michael Morrison, added support for the OpenFlight BSPRecord, - simply - mapping it to a Group. +and -2003-11-25 09:23 robert +"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." - * doc/introduction.html: Updated links to mailing list -2003-11-25 09:04 robert - * include/osgDB/FileUtils, src/osgDB/FileUtils.cpp, - src/osgDB/ReadFile.cpp: Added support for case insenstive - searches of the filepaths. -2003-11-24 10:01 robert - * examples/osgshadowtexture/CreateShadowedScene.cpp: 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. -2003-11-21 20:21 robert - * examples/osgscalarbar/osgscalarbar.cpp: Removed the ScalarBar:: - from the from of the ScalarPrinter::printScalar() calls. +Fri, 28 Sep 2007 08:52:00 +0000 +Checked in by : Robert Osfield +Added record path manipulator -2003-11-21 19:33 robert +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. - * src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/glm.cpp, src/osgPlugins/obj/glm.h: From John - Tan, support for offset and scale tex coords via TexMat. +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 -2003-11-21 16:30 robert +then i fixed the shadow map orientation, now screen x coordinate alinged which improve the quality" - * src/osgPlugins/quicktime/QTtexture.cpp, - src/osgPlugins/quicktime/ReaderWriterQT.cpp: 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 - * include/osgProducer/OsgCameraGroup: Removed newline from top of - header -2003-11-21 14:30 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 - * src/osgPlugins/quicktime/QTtexture.cpp: 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. +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." -2003-11-21 14:17 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. - * examples/osghud/osghud.cpp: 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? +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 -2003-11-21 13:45 robert +Wed, 26 Sep 2007 16:17:46 +0000 +Checked in by : Stephan Maximilian HUBER +updated XCode project-files - * src/osg/Texture2D.cpp: 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. +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 ." -2003-11-20 12:03 robert +Wed, 26 Sep 2007 14:31:10 +0000 +Checked in by : Robert Osfield +Updated wrappers - * include/osg/Switch, src/osg/Switch.cpp: Added the missing - insertChild(index,child) and insertChild(index,child,value) into - osg::Switch. +Wed, 26 Sep 2007 14:02:40 +0000 +Checked in by : Robert Osfield +Added IntensityMap reading in .view files -2003-11-20 11:07 robert +Wed, 26 Sep 2007 11:32:51 +0000 +Checked in by : Robert Osfield +Tweaked the wrapping of osgViewer::Scene to fix build problems - * src/osgPlugins/freetype/FreeTypeLibrary.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.h, src/osgText/Font.cpp: - 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. +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" -2003-11-19 20:30 robert - * VisualStudio/osgPlugins/gdal/gdal.dsp: Changed libgdal.lib to - gdal.lib -2003-11-14 13:39 robert - * src/osgPlugins/osg/Node.cpp: From Ruben, added support for nested - update and cull callbacks. +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. -2003-11-14 09:25 robert +Wed, 26 Sep 2007 09:59:59 +0000 +Checked in by : Robert Osfield +Updated wrappers - * include/osgUtil/TriStripVisitor: Changed the credit from NVidia's - NvTriStrip to Tanguy Faure's traingulation code. +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. -2003-11-13 15:45 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 - * src/osgPlugins/pfb/ConvertFromPerformer.cpp: From Tom Jolly, Fix - to handling of triangle fans. +Tue, 25 Sep 2007 17:02:22 +0000 +Checked in by : Robert Osfield +Added --flip argument docs. -2003-11-12 19:05 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. - * examples/slideshow3D/slideshow3D.cpp: Added usage of object cache - + fixed handling of projection matrix. +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. -2003-11-12 15:03 robert - * src/osg/DisplaySettings.cpp: Fixed setting of - OSG_SPLIT_STEREO_AUTO_ADJUST_ASPECT_RATIO value. -2003-11-12 10:13 robert +Tue, 25 Sep 2007 13:51:03 +0000 +Checked in by : Robert Osfield +Preliminary PanoramicSphericalScreen support - * include/osgProducer/KeyboardMouseCallback, - src/osgProducer/KeyboardMouseCallback.cpp: Moved the getTime to - inside the locked part of the add events. +Tue, 25 Sep 2007 12:34:01 +0000 +Checked in by : Robert Osfield +Added --major/minor/path-number support -2003-11-11 16:30 robert +Tue, 25 Sep 2007 11:26:16 +0000 +Checked in by : Robert Osfield +Fixed version number - * src/osgPlugins/pfb/ConvertFromPerformer.cpp: From Tom Jolly, - fixed incorrect setTexCoordIndices to setColorIndices. - - Added support for triangle fan primitives. +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 -2003-11-11 08:52 robert +Mon, 24 Sep 2007 16:34:28 +0000 +Checked in by : Robert Osfield +Updated Version and AUTHORS for 2.1.12 dev release - * src/osgPlugins/flt/Pool.cpp: From Dean Iversion, fix to the - ReaderWriter::Options management in Pool.cpp +Mon, 24 Sep 2007 16:30:59 +0000 +Checked in by : Robert Osfield +Renamed packaging directory to pkgconfig -2003-11-07 09:00 robert +Mon, 24 Sep 2007 16:28:58 +0000 +Checked in by : Robert Osfield +Updated ChangeLog for release - * include/osgText/Font, src/osgText/Font.cpp: Made getWidth and - getHeight const. +Mon, 24 Sep 2007 16:25:55 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-11-06 22:06 robert +Mon, 24 Sep 2007 15:24:23 +0000 +Checked in by : Robert Osfield +From Adrian Egli, further work on PSSM implementation. - * src/osgParticle/ParticleSystem.cpp, - src/osgProducer/ViewerEventHandler.cpp: 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. +Mon, 24 Sep 2007 10:36:39 +0000 +Checked in by : Robert Osfield +From Alberto Luaces, fixed typo of valid() in warning message -2003-11-06 21:58 robert +Mon, 24 Sep 2007 10:31:35 +0000 +Checked in by : Robert Osfield +Changed iterator name to avoid warning - * VisualStudio/examples/slideshow3D/slideshow3D.dsp: Added - Producer.lib into the dependancy list. +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." -2003-11-06 13:44 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. - * src/osgPlugins/lib3ds/ReaderWriter3DS.cpp: From David Ergo, patch - for setting the shininess strength of the specular material, +The attached file fixed the problem for me, but I'm not sure if it is +the best way to address the problem." -2003-11-06 04:08 don - * src/osgDB/DynamicLibrary.cpp, src/osgDB/FileUtils.cpp: Fixed - loading of dynamic libraries with dlopen if the library is - in the current directory -2003-11-05 10:24 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;" - * examples/osglogo/osglogo.cpp: Added code to load the - bluemarble.ive database instead of the texture mapped - sphere for the earth model in the logo. -2003-11-05 04:58 don - * src/osgDB/Registry.cpp: MIssing check for ptr == NULL at line 227 - in Registry.cpp +Mon, 24 Sep 2007 09:05:42 +0000 +Checked in by : Robert Osfield +Made ReaderWriter and ReaderWriter::Options use thread safe ref counting. -2003-11-05 04:56 don +Sat, 22 Sep 2007 17:39:15 +0000 +Checked in by : Robert Osfield +Improved the handling of OSG_CONFIG_FILE support. - * src/osgDB/DynamicLibrary.cpp: Small bug in DynamicLibrary.cpp ptr - was not being checked for NULL +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. -2003-11-05 04:51 don - * Make/makerpms: Changed versioning for make rpms -2003-11-04 22:00 robert +Sat, 22 Sep 2007 16:46:38 +0000 +Checked in by : Robert Osfield +From Adrian Egli, update to ParallelSplitShadowMap. - * include/osg/Texture: Added TextureObjectManager constructor. +Sat, 22 Sep 2007 13:06:07 +0000 +Checked in by : Robert Osfield +Added EXPORT -2003-11-04 19:26 robert +Fri, 21 Sep 2007 19:43:06 +0000 +Checked in by : Robert Osfield +From David Callu, added findSlaveIndexForCamera method - * examples/slideshow3D/SlideShowConstructor.cpp: Made all - positioning transform DYNAMIC to avoid the osgUtil::Optimizer - flattening - them. Flattening of static transforms was affecting the PagedLOD - nodes. +Fri, 21 Sep 2007 19:04:02 +0000 +Checked in by : Robert Osfield +Added return -2003-11-04 16:38 robert +Fri, 21 Sep 2007 15:34:25 +0000 +Checked in by : Robert Osfield +Added support for basic viewer configuration files - * examples/osgdem/osgdem.cpp, - examples/slideshow3D/ReaderWriterXML.cpp, - examples/slideshow3D/SlideShowConstructor.cpp, - examples/slideshow3D/slideshow3D.cpp, - include/osg/DisplaySettings, include/osgProducer/Viewer, - src/osg/DisplaySettings.cpp, src/osgProducer/Viewer.cpp, - src/osgProducer/ViewerEventHandler.cpp: 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, 21 Sep 2007 13:30:33 +0000 +Checked in by : Robert Osfield +Further steps towards reading coniguration files. -2003-11-04 15:07 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) " - * examples/slideshow3D/ReaderWriterXML.cpp, - examples/slideshow3D/SlideShowConstructor.cpp, - examples/slideshow3D/SlideShowConstructor.h: 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. +Thu, 20 Sep 2007 10:14:08 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-11-04 13:40 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. - * include/osgText/Text: Added - osgText::Text::getTextureGlyphQuadMap(). -2003-11-03 23:26 robert - * examples/slideshow3D/SlideShowConstructor.cpp, - examples/slideshow3D/SlideShowConstructor.h: Fixed positioning of - images. +Wed, 19 Sep 2007 16:53:40 +0000 +Checked in by : Robert Osfield +Added supoort for OSG_WRITE_OUT_DEFAULT_VALUES env var -2003-11-03 23:22 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. - * examples/slideshow3D/SlideShowConstructor.cpp: Fixed positioing - of text. -2003-11-03 23:13 robert - * examples/slideshow3D/ReaderWriterXML.cpp, - examples/slideshow3D/SlideEventHandler.cpp, - examples/slideshow3D/SlideEventHandler.h, - examples/slideshow3D/SlideShowConstructor.cpp, - examples/slideshow3D/SlideShowConstructor.h, - include/osg/AnimationPath, include/osgUtil/TransformCallback, - src/osg/AnimationPath.cpp, src/osgDB/Registry.cpp, - src/osgGA/AnimationPathManipulator.cpp, - src/osgPlugins/ive/AnimationPathCallback.cpp, - src/osgProducer/ViewerEventHandler.cpp, - src/osgUtil/TransformCallback.cpp: Updated to slideshow3D to - support animation + pausing of animation. - - Updated associated osg/osgUtil classes that provide animation - pausing. +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. -2003-11-02 20:10 robert - * src/osgPlugins/ac3d/ac3d.cpp: Merged fixes from Geof Michel. -2003-10-31 10:11 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. - * src/osgPlugins/flt/ReaderWriterATTR.cpp: Renamed _mips to - _mipMapKernel +Wed, 19 Sep 2007 09:00:05 +0000 +Checked in by : Robert Osfield +Removed check for shaders/overlay_perspective_main.vert -2003-10-30 16:22 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. - * examples/slideshow3D/ReaderWriterXML.cpp, - examples/slideshow3D/SlideEventHandler.cpp, - examples/slideshow3D/SlideEventHandler.h, - examples/slideshow3D/SlideShowConstructor.cpp, - examples/slideshow3D/SlideShowConstructor.h: 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. +Mon, 17 Sep 2007 09:33:00 +0000 +Checked in by : Robert Osfield +Updated ChangeLog, AUTHORS and README for 2.1.11 release -2003-10-30 00:10 robert +Mon, 17 Sep 2007 09:26:02 +0000 +Checked in by : Robert Osfield +Updated version numbers for 2.1.11 dev release - * examples/osgbluemarble/osgbluemarble.cpp: Changed the wrap mode - from CLAMP to CLAMP_TO_EDGE to avoid artifacts under - OSX. +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. -2003-10-29 23:10 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 - * examples/osgbluemarble/osgbluemarble.cpp, include/osg/Image, - src/osg/Image.cpp: Added support for 565 textures to - osgbluemarble. - - Added a osg::Image::scaleImage() version which allows the - datatype to be varied. +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 -2003-10-29 22:47 robert +Sun, 16 Sep 2007 17:43:00 +0000 +Checked in by : Robert Osfield +Fixed warning - * examples/osgbluemarble/osgbluemarble.cpp: Added option for 565 - 16bit textures. +Sun, 16 Sep 2007 07:55:58 +0000 +Checked in by : Robert Osfield +From Loic Dachary, pkg_config files -2003-10-29 19:22 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. - * src/osgUtil/SceneView.cpp: 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. +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." -2003-10-29 16:45 robert +Fri, 14 Sep 2007 11:26:23 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgDB/DatabasePager.cpp: Commented out verbose debugging - messages. +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 -2003-10-29 14:59 robert +Fri, 14 Sep 2007 11:02:06 +0000 +Checked in by : Robert Osfield +Updated wrappers - * examples/osgbluemarble/osgbluemarble.cpp: Added -e -w -o and -l - options to the osgbluemarble example. +Fri, 14 Sep 2007 11:01:48 +0000 +Checked in by : Robert Osfield +Added TemplateRegisterDotOsgWrapperProxy. -2003-10-29 11:11 robert +Fri, 14 Sep 2007 11:00:32 +0000 +Checked in by : Robert Osfield +Ran conversion of tabs to four spaces - * examples/osgdem/GNUmakefile, examples/osgdem/GNUmakefile.inst, - examples/osgdem/osgdem.cpp, include/osg/Shape, - include/osgDB/ReadFile, include/osgDB/ReaderWriter, - include/osgDB/Registry, include/osgDB/WriteFile, - src/osg/Geometry.cpp, src/osg/Shape.cpp, - src/osgDB/DatabasePager.cpp, src/osgDB/ReadFile.cpp, - src/osgDB/Registry.cpp, src/osgDB/WriteFile.cpp, - src/osgFX/BumpMapping.cpp, src/osgPlugins/gdal/GNUmakefile, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp: Updates for osgdem. - Including new read/writeHeightField() methods. +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. -2003-10-29 10:41 robert +Fri, 14 Sep 2007 10:26:14 +0000 +Checked in by : Robert Osfield +From Ole-Morten Duesund, added IgnoreUsedEventsMask. - * src/osgPlugins/png/ReaderWriterPNG.cpp: Fixed PNG plugin so it - handles endianess correctly, and alpha/grey scale textures. +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. -2003-10-27 16:07 robert +Thu, 13 Sep 2007 11:00:12 +0000 +Checked in by : Robert Osfield +Fix for build error during aggressive warning build - * Make/makedirdefs, doc/stereo.html, - examples/osgbluemarble/osgbluemarble.cpp, examples/osgdem, - examples/osgdem/GNUmakefile, examples/osgdem/GNUmakefile.inst, - examples/osgdem/osgdem.cpp, examples/osgforest/osgforest.cpp, - examples/osgshadowtexture/osgshadowtexture.cpp, - examples/osgshape/osgshape.cpp, include/osg/Shape, - include/osgDB/ImageOptions, - include/osgGA/AnimationPathManipulator, src/osg/Shape.cpp, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp, - src/osgPlugins/osg/Drawable.cpp, src/osgPlugins/osg/Shape.cpp: - *** empty log message *** +Thu, 13 Sep 2007 10:42:26 +0000 +Checked in by : Robert Osfield +Fixed warning in wrappers -2003-10-27 10:29 robert +Thu, 13 Sep 2007 10:38:38 +0000 +Checked in by : Robert Osfield +Fixed warnigns - * src/osg/Sequence.cpp: Added a check into - osg::Sequence::traverse() against an empty sequence, so - that a non existant child is not traversed. +Thu, 13 Sep 2007 10:33:10 +0000 +Checked in by : Robert Osfield +Updated wrappers and READEME -2003-10-22 13:39 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 - * src/osg/Geometry.cpp: Fixed error when handling mulltiple non per - vertex vertex attributes during - rendering. +Thu, 13 Sep 2007 10:21:47 +0000 +Checked in by : Robert Osfield +From Blake Williams, warning fixes -2003-10-20 21:31 robert +Thu, 13 Sep 2007 10:21:18 +0000 +Checked in by : Robert Osfield +Add static_cast to fix warning. - * VisualStudio/osgDB/osgDB.dsp: Added ImageOptions to osgDB. +Thu, 13 Sep 2007 10:16:19 +0000 +Checked in by : Robert Osfield +Removed unncessary typedefs -2003-10-20 20:17 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. - * VisualStudio/examples/osgbluemarble/osgbluemarble.dsp: Added - Producer and OpenThreads to linkline. +Thu, 13 Sep 2007 10:10:35 +0000 +Checked in by : Robert Osfield +Fixed uint/int comparison warning. -2003-10-20 09:01 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. - * examples/osgscalarbar/osgscalarbar.cpp: Fixed print on scalar bar - example. +Wed, 12 Sep 2007 17:01:47 +0000 +Checked in by : Robert Osfield +Added preliminary handling of cases where GLX version < 1.3 -2003-10-19 11:46 robert +Wed, 12 Sep 2007 17:01:09 +0000 +Checked in by : Robert Osfield +Removed debug messages - * src/osgDB/FileUtils.cpp, src/osgPlugins/txp/IO_TerrapageNode.cpp, - src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/TerrapageNode.cpp, - src/osgPlugins/txp/TerrapageNode.h, - src/osgPlugins/txp/TrPageArchive.cpp, - src/osgPlugins/txp/TrPageArchive.h, - src/osgPlugins/txp/TrPageParser.cpp, - src/osgPlugins/txp/TrPageParser.h, - src/osgPlugins/txp/trPagePageManager.cpp: From Trajce Nikolov, - support for use of PagedLOD in the txp plugin. +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 -2003-10-17 15:26 robert +Wed, 12 Sep 2007 16:20:40 +0000 +Checked in by : Robert Osfield +Rejigged the casting to avoid warnings under Windows - * examples/osgbluemarble/osgbluemarble.cpp, src/osg/Image.cpp: - Added support for generating compressed textures in - osgbluemarble. +Wed, 12 Sep 2007 10:43:49 +0000 +Checked in by : Robert Osfield +Updated version, ChangeLog and AUTHORS file for 2.1.10 release -2003-10-17 15:26 robert +Wed, 12 Sep 2007 10:04:36 +0000 +Checked in by : Robert Osfield +From Jan Peciva, build fix - * src/osgDB/Registry.cpp: Michael Gronager's changes for supporting - the in memory gz archiving. +Tue, 11 Sep 2007 20:54:39 +0000 +Checked in by : Robert Osfield +Added log2(int) and log2(uint) methods -2003-10-17 14:40 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) - * src/osgFX/BumpMapping.cpp: From Marco Jez, Fix to the bumping - mapping effect. +Tue, 11 Sep 2007 17:10:24 +0000 +Checked in by : Robert Osfield +Added OpenThreads to target libraries -2003-10-17 10:28 robert +Tue, 11 Sep 2007 17:08:06 +0000 +Checked in by : Robert Osfield +From Art Tevs, Added log2 function. - * src/osgPlugins/flt/flt2osg.cpp: Changed the warnings about - unhandled op codes to NOTICE instead or WARN +Tue, 11 Sep 2007 16:59:19 +0000 +Checked in by : Robert Osfield +From Art Tevs, build fix. -2003-10-17 10:27 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. - * src/osgDB/ImageOptions.cpp: Set default values for datatype & - pixelformat. +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. -2003-10-17 10:26 robert +Tue, 11 Sep 2007 13:42:23 +0000 +Checked in by : Robert Osfield +Updated wrappers - * include/osg/Referenced: Made = opeator const. +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. +" -2003-10-17 10:25 robert - * include/osgUtil/SceneView, src/osgUtil/SceneView.cpp: Added - SceneView::s/getDrawBufferValue(GLenum) to allow customization of - what - glDrawBuffer() value is set on each frame. -2003-10-17 10:24 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) - * src/osgPlugins/bmp/ReaderWriterBMP.cpp: From Eric Hammil, fix for - bmp image size. +- new methods Program::add/removeBindFragDataLocation Program::getFragDataBindingList -2003-10-17 10:23 robert +" - * src/osgPlugins/jp2/ReaderWriterJP2.cpp: From Michael Gronenger, - updates to JP2 plugin. -2003-10-17 10:22 robert - * examples/osgforest/osgforest.cpp: Adding clamping of the tree - textures. +Tue, 11 Sep 2007 13:32:46 +0000 +Checked in by : Robert Osfield +Seperated out GeometryTechnique .osg support. -2003-10-12 15:20 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. - * VisualStudio/osgPlugins/ac3d/ac3d.dsp, - src/osgPlugins/ac3d/Exception.cpp, - src/osgPlugins/ac3d/Exception.h, src/osgPlugins/ac3d/GNUmakefile, - src/osgPlugins/ac3d/Geode.cpp, src/osgPlugins/ac3d/Geode.h, - src/osgPlugins/ac3d/ac3d.cpp, src/osgPlugins/ac3d/osgac3d.h: 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). +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 -2003-10-12 14:51 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 ?) - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Moved - Producer::Block temporarily into osgDB to ensure that osgDB isn't - dependent - on Producer. +- 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 ;-) -2003-10-12 12:13 robert +" - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp, - src/osgProducer/Viewer.cpp: Improvements to the DatabasePager +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. -2003-10-10 19:25 robert - * include/osg/NodeVisitor, include/osgDB/DatabasePager, - src/osg/PagedLOD.cpp, src/osgDB/DatabasePager.cpp: Improvements - to DatabasePager -2003-10-10 12:56 robert - * VisualStudio/osgPlugins/ive/ive.dsp, - src/osgPlugins/ive/ClusterCullingCallback.cpp, - src/osgPlugins/ive/ClusterCullingCallback.h: Added - ClusterCullingCallback to ive. -2003-10-10 12: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." - * examples/osgbluemarble/osgbluemarble.cpp, include/osg/Drawable, - src/osg/Drawable.cpp, src/osgPlugins/gdal/ReaderWriterGDAL.cpp, - src/osgPlugins/ive/Drawable.cpp, src/osgPlugins/ive/GNUmakefile, - src/osgPlugins/ive/ReadWrite.h: Udates to Drawable + IVE plugin - with support for new ClusterCullingCallack. - - Improvement to osgbluemarble. +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. -2003-10-10 11:12 robert +Mon, 10 Sep 2007 16:06:23 +0000 +Checked in by : Robert Osfield +Maded versioning under Windows the default. - * src/osgPlugins/ive/OccluderNode.cpp: Fix for 64bit build. +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. -2003-10-10 09:41 robert +Updated wrappers - * examples/osgcluster/osgcluster.cpp: 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. -2003-10-09 20:56 robert - * src/osgPlugins/ive/ConvexPlanarOccluder.cpp: Fix for 64bit build. +Sat, 8 Sep 2007 07:21:12 +0000 +Checked in by : Robert Osfield +Flesh out a bit more of the view IO support -2003-10-09 20:50 robert +Sat, 8 Sep 2007 07:04:27 +0000 +Checked in by : Robert Osfield +Fixed typo - * examples/osgshaders/osgshaders.cpp: Fixed missing osg:: +Fri, 7 Sep 2007 15:03:56 +0000 +Checked in by : Robert Osfield +From David Callu, warning fixes -2003-10-09 14:55 robert +Fri, 7 Sep 2007 13:54:32 +0000 +Checked in by : Robert Osfield +Removed warning type not support by gcc 4.1.x - * src/osgPlugins/ive/DrawElementsUByte.cpp, - src/osgPlugins/ive/DrawElementsUByte.h: Added DrawElementsUByte - to ive plugin. +Fri, 7 Sep 2007 13:37:28 +0000 +Checked in by : Robert Osfield +Updated wrappers for new Texture2DArray class -2003-10-09 10:44 robert +Fri, 7 Sep 2007 13:25:28 +0000 +Checked in by : Robert Osfield +Moved defined from Texture2DArray into Texture - * src/osgGA/AnimationPathManipulator.cpp: 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. +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. -2003-10-09 09:48 robert - * src/osgDB/DatabasePager.cpp: Added protection to the - DatabasePager::requestNodeFile()'s call to startThread - to ensure that only one startThread is every issued. +Faetures and changes: -2003-10-08 21:29 robert +- Full support for layered 2D textures. - * include/osg/Drawable, src/osg/Drawable.cpp, - src/osgDB/DatabasePager.cpp: 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. +- New uniform types were added (sampler2DArray) -2003-10-08 14:24 robert +- FrameBufferObject implementation were changed to +support attaching of 2D array textures to the +framebuffer - * include/osgDB/ImageOptions, src/osgDB/ImageOptions.cpp: Added - ImageOptions for use with the GDAL plugin +- 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. -2003-10-08 14:08 robert +- Image class was extended to support handling of +array textures - * examples/osgbluemarble, examples/osgbluemarble/GNUmakefile, - examples/osgbluemarble/GNUmakefile.inst, - examples/osgbluemarble/osgbluemarble.cpp: Added osgbluemarble - data +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." -2003-10-08 13:09 robert - * Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgbluemarble, - VisualStudio/examples/osgbluemarble/osgbluemarble.dsp, - VisualStudio/osgPlugins/gdal, - VisualStudio/osgPlugins/gdal/gdal.dsp, - VisualStudio/osgPlugins/ive/ive.dsp, src/osgDB/GNUmakefile, - src/osgPlugins/gdal, src/osgPlugins/gdal/GNUmakefile, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/ive/Geometry.cpp, - src/osgPlugins/ive/ReadWrite.h: Added new GDAL plugin and - osgbluemarble example to demonstrate how to create - PagedLOD'd databases using GDAL. -2003-10-07 18:41 robert - * src/osgPlugins/ive/DataInputStream.cpp: From Rune Schmidt Jensen, - bug fix to reading of osg::Quat's +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..." -2003-10-06 10:03 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." - * examples/osgfxbrowser/GNUmakefile: Added -losgGL2 to link line - for OSX. -2003-10-06 08:53 robert - * src/osgPlugins/osgFX/GNUmakefile: Added -losgGL2 +Fri, 7 Sep 2007 09:53:40 +0000 +Checked in by : Robert Osfield +From Maria Ten, fix lat/long usage. -2003-10-06 08:01 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." - * Make/makedirdefs: Commented out gdal temporarily from the list of - plugins to compile. +Thu, 6 Sep 2007 08:23:21 +0000 +Checked in by : Robert Osfield +Added osg lib -2003-10-05 16:16 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. - * src/osgPlugins/obj/ReaderWriterOBJ.cpp: Changed the texture - search path mechanism to better utlise the OSG's search file - path mechansim. +Wed, 5 Sep 2007 17:03:43 +0000 +Checked in by : Robert Osfield +Changed tabs to four spaces to make merges more straight forward -2003-10-05 11:42 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. - * VisualStudio/VisualStudio.dsw, examples/osgshaders/GL2Scene.cpp, - include/osgFX/Cartoon, include/osgGL2/ProgramObject, - src/osgFX/Cartoon.cpp, src/osgFX/GNUmakefile: From Mike Weiblen, - added support for OpenGL SL to osgFX::Cartoon. - -2003-10-05 11:34 robert - - * VisualStudio/examples/osgshaders/osgshaders.dsp, - VisualStudio/osgGL2/osgGL2.dsp: Added VS.dsp updates for Mike - Weiblen's updates to osgGL2/osgshaders - -2003-10-05 11:30 robert - - * Make/makedirdefs, examples/osgshaders/GL2Scene.cpp, - examples/osgshaders/GL2Scene.h, examples/osgshaders/GNUmakefile, - examples/osgshaders/Noise.cpp, examples/osgshaders/Noise.h, - examples/osgshaders/README.txt, - examples/osgshaders/osgshaders.cpp, include/osgGL2/Extensions, - include/osgGL2/ProgramObject, include/osgGL2/UniformValue, - src/osgGL2/Extensions.cpp, src/osgGL2/GNUmakefile, - src/osgGL2/ProgramObject.cpp, src/osgGL2/UniformValue.cpp, - src/osgGL2/Version.cpp, src/osgPlugins/obj/ReaderWriterOBJ.cpp: - From Mike Weiblen, updates to osgGL2 to support Uniform values - -2003-10-03 16:29 robert - - * src/osg/ArgumentParser.cpp: From Jason Ballenger, fix for - ArgumentParser::getApplicationName() - -2003-10-03 16:27 robert - - * NEWS.txt: Updated NEWS - -2003-10-03 09:00 robert - - * VisualStudio/examples/osgcameragroup/osgcameragroup.dsp: Added - Producer.lib and OpenThreadsWin32.lib to link lines. - -2003-10-02 19:09 robert - - * VisualStudio/examples/osgcameragroup/osgcameragroup.dsp, - VisualStudio/examples/osgcameragroup/osgcamergroup.dsp, - VisualStudio/examples/osgprerendercubemap/osgprerendercubemap.dsp: - Fixes to project files. - -2003-10-02 14:46 robert - - * Make/makedefs: Returned revision number to 0, for main - development work - -2003-10-02 14:43 robert - - * Make/makedefs: Updated the revsion number to 2, for the 0.9.6-2 - release. - -2003-10-02 14:42 robert - - * ChangeLog: Updated ChangeLog for release. - -2003-10-02 14:28 robert - - * doc/doc++/osg/AlphaFunc.html, doc/doc++/osg/AnimationPath.html, - doc/doc++/osg/AnimationPathCallback.html, - doc/doc++/osg/ApplicationUsage.html, doc/doc++/osg/Array.html, - doc/doc++/osg/AutoTransform.html, doc/doc++/osg/Billboard.html, - doc/doc++/osg/BlendFunc.html, doc/doc++/osg/BoundingBox.html, - doc/doc++/osg/BoundingSphere.html, doc/doc++/osg/Box.html, - doc/doc++/osg/ClearNode.html, doc/doc++/osg/ClipNode.html, - doc/doc++/osg/ClipPlane.html, - doc/doc++/osg/CollectOccludersVisitor.html, - doc/doc++/osg/ColorMask.html, doc/doc++/osg/ColorMatrix.html, - doc/doc++/osg/CompositeShape.html, doc/doc++/osg/Cone.html, - doc/doc++/osg/ConstShapeVisitor.html, - doc/doc++/osg/ConvexHull.html, - doc/doc++/osg/ConvexPlanarOccluder.html, - doc/doc++/osg/ConvexPlanarPolygon.html, - doc/doc++/osg/CopyOp.html, doc/doc++/osg/CullFace.html, - doc/doc++/osg/CullStack.html, doc/doc++/osg/CullingSet.html, - doc/doc++/osg/Cylinder.html, doc/doc++/osg/DOFTransform.html, - doc/doc++/osg/DatabaseRequestHandler.html, - doc/doc++/osg/DeleteHandler.html, doc/doc++/osg/Depth.html, - doc/doc++/osg/DisplaySettings.html, - doc/doc++/osg/DrawArrayLengths.html, - doc/doc++/osg/DrawArrays.html, - doc/doc++/osg/DrawElementsUByte.html, - doc/doc++/osg/DrawElementsUInt.html, - doc/doc++/osg/DrawElementsUShort.html, - doc/doc++/osg/DrawPixels.html, doc/doc++/osg/Drawable.html, - doc/doc++/osg/Extensions.2.html, doc/doc++/osg/Extensions.3.html, - doc/doc++/osg/Extensions.4.html, doc/doc++/osg/Extensions.5.html, - doc/doc++/osg/Extensions.6.html, doc/doc++/osg/Extensions.html, - doc/doc++/osg/Fog.html, doc/doc++/osg/FragmentProgram.html, - doc/doc++/osg/FrontFace.html, doc/doc++/osg/General.html, - doc/doc++/osg/Geode.html, doc/doc++/osg/Geometry.html, - doc/doc++/osg/Grid.html, doc/doc++/osg/Group.html, - doc/doc++/osg/HIER.html, doc/doc++/osg/HIERjava.html, - doc/doc++/osg/HeightField.html, doc/doc++/osg/Image.html, - doc/doc++/osg/Impostor.html, doc/doc++/osg/ImpostorSprite.html, - doc/doc++/osg/IndexArray.html, doc/doc++/osg/InfinitePlane.html, - doc/doc++/osg/LOD.html, doc/doc++/osg/Light.html, - doc/doc++/osg/LightModel.html, doc/doc++/osg/LightSource.html, - doc/doc++/osg/LineSegment.html, doc/doc++/osg/LineStipple.html, - doc/doc++/osg/LineWidth.html, doc/doc++/osg/META_Node.html, - doc/doc++/osg/META_Object.html, doc/doc++/osg/META_Shape.html, - doc/doc++/osg/META_StateAttribute.html, - doc/doc++/osg/Material.html, doc/doc++/osg/MatrixTransform.html, - doc/doc++/osg/Matrixd.html, doc/doc++/osg/Matrixf.html, - doc/doc++/osg/Node.html, doc/doc++/osg/NodeAcceptOp.html, - doc/doc++/osg/NodeCallback.html, doc/doc++/osg/NodeVisitor.html, - doc/doc++/osg/NotifySeverity.html, doc/doc++/osg/Object.html, - doc/doc++/osg/OccluderNode.html, doc/doc++/osg/PagedLOD.html, - doc/doc++/osg/Plane.html, doc/doc++/osg/Point.html, - doc/doc++/osg/PolygonMode.html, doc/doc++/osg/PolygonOffset.html, - doc/doc++/osg/PolygonStipple.html, doc/doc++/osg/Polytope.html, - doc/doc++/osg/PositionAttitudeTransform.html, - doc/doc++/osg/PrimitiveFunctor.html, - doc/doc++/osg/PrimitiveSet.html, doc/doc++/osg/Projection.html, - doc/doc++/osg/QualifiedTestPrinter.html, doc/doc++/osg/Quat.html, - doc/doc++/osg/RefMatrixd.html, doc/doc++/osg/RefMatrixf.html, - doc/doc++/osg/Referenced.html, doc/doc++/osg/Sequence.html, - doc/doc++/osg/ShadeModel.html, - doc/doc++/osg/ShadowVolumeOccluder.html, - doc/doc++/osg/Shape.html, doc/doc++/osg/ShapeDrawable.html, - doc/doc++/osg/ShapeVisitor.html, doc/doc++/osg/Sphere.html, - doc/doc++/osg/State.html, doc/doc++/osg/StateAttribute.html, - doc/doc++/osg/StateSet.html, doc/doc++/osg/Stencil.html, - doc/doc++/osg/SubloadCallback.2.html, - doc/doc++/osg/SubloadCallback.3.html, - doc/doc++/osg/SubloadCallback.4.html, - doc/doc++/osg/SubloadCallback.5.html, - doc/doc++/osg/SubloadCallback.html, doc/doc++/osg/Switch.html, - doc/doc++/osg/TemplateArray.html, - doc/doc++/osg/TemplateIndexArray.html, - doc/doc++/osg/TessellationHints.html, doc/doc++/osg/Test.html, - doc/doc++/osg/TestCase.html, doc/doc++/osg/TestCase_.html, - doc/doc++/osg/TestContext.html, doc/doc++/osg/TestErrorX.html, - doc/doc++/osg/TestFailureX.html, doc/doc++/osg/TestGraph.html, - doc/doc++/osg/TestQualifier.html, doc/doc++/osg/TestRecord.html, - doc/doc++/osg/TestReport.html, doc/doc++/osg/TestRunner.html, - doc/doc++/osg/TestSuite.html, - doc/doc++/osg/TestSuiteAutoRegistrationAgent.html, - doc/doc++/osg/TestVisitor.html, doc/doc++/osg/TestX.html, - doc/doc++/osg/TexEnv.html, doc/doc++/osg/TexEnvCombine.html, - doc/doc++/osg/TexGen.html, doc/doc++/osg/TexMat.html, - doc/doc++/osg/Texture.html, doc/doc++/osg/Texture1D.html, - doc/doc++/osg/Texture2D.html, doc/doc++/osg/Texture3D.html, - doc/doc++/osg/TextureCubeMap.html, - doc/doc++/osg/TextureObject.html, - doc/doc++/osg/TextureObjectManager.html, - doc/doc++/osg/TextureRectangle.html, doc/doc++/osg/Timer.html, - doc/doc++/osg/TraceStream.html, doc/doc++/osg/Transform.html, - doc/doc++/osg/TriangleFunctor.html, - doc/doc++/osg/TriangleMesh.html, doc/doc++/osg/UByte4.html, - doc/doc++/osg/Vec2.html, doc/doc++/osg/Vec3.html, - doc/doc++/osg/Vec4.html, doc/doc++/osg/VectorSizei.html, - doc/doc++/osg/VectorUByte.html, doc/doc++/osg/VectorUInt.html, - doc/doc++/osg/VectorUShort.html, - doc/doc++/osg/VertexProgram.html, doc/doc++/osg/Viewport.html, - doc/doc++/osg/buffered_object.html, - doc/doc++/osg/buffered_value.html, - doc/doc++/osg/clampArray3BetweenRange.html, - doc/doc++/osg/clampArray3GEQUAL.html, - doc/doc++/osg/clampArray3LEQUAL.html, - doc/doc++/osg/clampArray4BetweenRange.html, - doc/doc++/osg/clampArray4GEQUAL.html, - doc/doc++/osg/clampArray4LEQUAL.html, - doc/doc++/osg/clampArrayElementBetweenRange.html, - doc/doc++/osg/clampArrayElementGEQUAL.html, - doc/doc++/osg/clampArrayElementLEQUAL.html, - doc/doc++/osg/clampArrayElementsBetweenRange.html, - doc/doc++/osg/clampArrayElementsGEQUAL.html, - doc/doc++/osg/clampArrayElementsLEQUAL.html, - doc/doc++/osg/clampBetweenRange.html, - doc/doc++/osg/clampGEQUAL.html, doc/doc++/osg/clampLEQUAL.html, - doc/doc++/osg/createTexturedQuadGeometry.html, - doc/doc++/osg/fast_back_stack.html, doc/doc++/osg/index.html, - doc/doc++/osg/osg.html, doc/doc++/osg/ref_ptr.html, - doc/doc++/osgDB/Field.html, doc/doc++/osgDB/Options.html, - doc/doc++/osgDB/ReadResult.html, - doc/doc++/osgDB/ReaderWriter.html, - doc/doc++/osgDB/RegisterDotOsgWrapperProxy.html, - doc/doc++/osgDB/RegisterReaderWriterProxy.html, - doc/doc++/osgDB/Registry.html, doc/doc++/osgDB/WriteResult.html, - doc/doc++/osgDB/basic_type_wrapper.html, - doc/doc++/osgDB/osgDB.html, doc/doc++/osgDB/readImageFile.html, - doc/doc++/osgDB/readNodeFile.html, - doc/doc++/osgDB/readNodeFiles.2.html, - doc/doc++/osgDB/readNodeFiles.html, - doc/doc++/osgDB/readObjectFile.html, - doc/doc++/osgDB/type_wrapper.html, - doc/doc++/osgGA/AnimationPathManipulator.html, - doc/doc++/osgText/Text.html, - doc/doc++/osgUtil/CombineLODsVisitor.html, - doc/doc++/osgUtil/CullVisitor.html, - doc/doc++/osgUtil/DelaunayTriangulator.html, - doc/doc++/osgUtil/DisplayListVisitor.html, - doc/doc++/osgUtil/DisplayRequirementsVisitor.html, - doc/doc++/osgUtil/FlattenStaticTransformsVisitor.html, - doc/doc++/osgUtil/General.html, doc/doc++/osgUtil/HIER.html, - doc/doc++/osgUtil/HIERjava.html, - doc/doc++/osgUtil/HalfWayMapGenerator.html, - doc/doc++/osgUtil/HighlightMapGenerator.html, - doc/doc++/osgUtil/Hit.html, - doc/doc++/osgUtil/InsertImpostorsVisitor.html, - doc/doc++/osgUtil/IntersectState.html, - doc/doc++/osgUtil/IntersectVisitor.html, - doc/doc++/osgUtil/LeafDepthSortFunctor.html, - doc/doc++/osgUtil/MergeGeometryVisitor.html, - doc/doc++/osgUtil/Optimizer.html, - doc/doc++/osgUtil/ReflectionMapGenerator.html, - doc/doc++/osgUtil/RegisterRenderBinProxy.html, - doc/doc++/osgUtil/RemoveEmptyNodesVisitor.html, - doc/doc++/osgUtil/RemoveRedundantNodesVisitor.html, - doc/doc++/osgUtil/RenderBin.html, - doc/doc++/osgUtil/RenderGraph.html, - doc/doc++/osgUtil/RenderLeaf.html, - doc/doc++/osgUtil/RenderStage.html, - doc/doc++/osgUtil/RenderStageLighting.html, - doc/doc++/osgUtil/RenderToTextureStage.html, - doc/doc++/osgUtil/SceneView.html, - doc/doc++/osgUtil/SmoothingVisitor.html, - doc/doc++/osgUtil/StateVisitor.html, - doc/doc++/osgUtil/Statistics.html, - doc/doc++/osgUtil/Tesselator.html, - doc/doc++/osgUtil/TransformAttributeFunctor.html, - doc/doc++/osgUtil/TransformCallback.html, - doc/doc++/osgUtil/TriStripVisitor.html, - doc/doc++/osgUtil/UpdateVisitor.html, - doc/doc++/osgUtil/osgUtil.html, - src/osgPlugins/ive/ReaderWriterIVE.cpp: Updated docs for 0.9.6-2 - release - -2003-10-02 14:11 robert - - * NEWS.txt, src/osgPlugins/ive/TextureCubeMap.cpp, - src/osgPlugins/ive/TextureCubeMap.h: Updated NEWS - - Added support for inline/nonlining of texture cube maps. - -2003-10-02 13:26 robert - - * include/osgDB/ReadFile, include/osgDB/Registry, - src/osgDB/Registry.cpp: Added - osgDB::Registry::s/getUseObjectCacheHint() - -2003-10-01 21:59 robert - - * src/osgPlugins/lib3ds/ReaderWriter3DS.cpp: Added a check against - opaque textures, when detected turn the material white - as per specs for 3ds. - -2003-10-01 20:48 robert - - * VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgcameragroup, - VisualStudio/examples/osgcameragroup/osgcamergroup.dsp: Added - osgcameragroup to the Windows apps list. - -2003-10-01 20:41 robert - - * VisualStudio/examples/osgprerendercubemap/osgprerendercubemap.dsp, - runexamples.bat: Removed afterescher reference from - runexamples.bat. - -2003-10-01 15:56 robert - - * include/osg/DisplaySettings, include/osgUtil/SceneView, - src/osg/DisplaySettings.cpp, src/osgUtil/SceneView.cpp: - 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. - -2003-10-01 13:12 robert - - * include/osgDB/Registry, src/osgDB/Registry.cpp: Added - addEntryToObjectCache method to osgDB::Registry - -2003-10-01 09:46 robert - - * VisualStudio/examples/osgprerendercubemap/osgprerendercubemap.dsp, - VisualStudio/examples/osgtexturerectangle/osgtexturerectangle.dsp: - Rewrote the osgtexturerectangle and osgprerendercubemap - -2003-10-01 09:18 robert +Wed, 5 Sep 2007 16:36:36 +0000 +Checked in by : Robert Osfield +Added setting of locator source - * src/osg/Geometry.cpp: From Tree, added missing setTextureData - method. +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 -2003-09-30 21:30 robert - * src/osgGA/DriveManipulator.cpp: Removed debugging comments. -2003-09-30 19:42 robert - * VisualStudio/osg/osg.dsp: Add /Zm200 option to osg library, +Tue, 4 Sep 2007 14:00:27 +0000 +Checked in by : Robert Osfield +Improved Terrain IO -2003-09-30 19:24 robert +Tue, 4 Sep 2007 12:38:42 +0000 +Checked in by : Robert Osfield +Added mutex to DefaultFont::instance(). - * VisualStudio/VisualStudio.dsw: Added osgText dependancy to the - osgforest project. +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 -2003-09-30 19:09 robert +Tue, 4 Sep 2007 09:00:38 +0000 +Checked in by : Robert Osfield +Rearrange _stateset member variable to avoid compile warning - * src/osgFX/BumpMapping.cpp: Changed std::vector<>::at to []. +Mon, 3 Sep 2007 16:04:13 +0000 +Checked in by : Robert Osfield +Updated AUTHORS and README to 2.1.9 dev release -2003-09-30 15:50 robert +Mon, 3 Sep 2007 16:02:00 +0000 +Checked in by : Robert Osfield +Updated ChangeLog - * examples/osgforest/osgforest.cpp: Added text hud instructions. +Mon, 3 Sep 2007 15:47:28 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-09-30 13:48 robert +Mon, 3 Sep 2007 15:43:58 +0000 +Checked in by : Robert Osfield +From Sherman Wilcox, added extension checking support for compressed texture subloading. - * examples/osgforest/osgforest.cpp: Added quad tree support into - osgforest +Mon, 3 Sep 2007 15:22:23 +0000 +Checked in by : Robert Osfield +From Jan Peciva, build fix -2003-09-29 14:42 robert +Mon, 3 Sep 2007 14:05:24 +0000 +Checked in by : Robert Osfield +Updated version number for 2.1.9 dev release - * src/osgGA/DriveManipulator.cpp: Fixed DriveManipulator::init(,) - method so that used a Matrix::set(Quat) rather - than the inappropriate usage Matrix::get(Quat). +Mon, 3 Sep 2007 13:59:25 +0000 +Checked in by : Robert Osfield +From Jan Peciva, improvement to the FindInventor. -2003-09-29 14:07 robert +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. - * src/osg/Geometry.cpp: Fixed the Geometry::verifyBindings && - computeCorrectBindingsAndArraySizes so they - correctly check the indices and array elements. -2003-09-29 13:35 robert - * include/osg/Quat, include/osgDB/Field, src/osg/Quat.cpp, - src/osgDB/Field.cpp, src/osgPlugins/osg/ClipPlane.cpp, - src/osgPlugins/osg/DOFTransform.cpp, - src/osgPlugins/osg/Depth.cpp, src/osgPlugins/osg/Matrix.cpp, - src/osgPlugins/osg/TexMat.cpp, - src/osgPlugins/osgSim/IO_BlinkSequence.cpp: 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. -2003-09-29 13:14 robert +Mon, 3 Sep 2007 12:27:37 +0000 +Checked in by : Robert Osfield +Added osgdepthpeeling example - * examples/osgunittests/osgunittests.cpp, include/osg/Matrixd, - include/osg/Matrixf, include/osgUtil/SceneView, - src/osg/Matrix_implementation.cpp, src/osgUtil/SceneView.cpp: - Added getPerspective() method to Matrix* and SceneView +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." -2003-09-29 08:03 robert - * examples/osgdemeter/osgdemeter.cpp: From Clay Fowler, fixes to - osgdemeter so that the whole terrain model - can be visualised at once. -2003-09-28 10:15 robert +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." - * AUTHORS.txt, include/osg/CullingSet, - src/osgPlugins/ive/TextureCubeMap.cpp: Added equals operator to - CUllingSet. - - Update AUTHORS file. - - Change tabs to 4 spaces in ive/TextureCubeMap.cpp +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... :-) -2003-09-28 09:34 robert - * examples/slideshow3D/slideshow3D.cpp: Added a using namespace - osgGA to keep things compiling under MipsPro + VS6.0 at - them same time. -2003-09-28 09:23 robert - * include/osg/Image: Fixed nameing of getAllocationMode() -2003-09-26 20:14 robert +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. - * src/osgUtil/TangentSpaceGenerator.cpp: Changed - std::vector<>::at(i) array access usage to straight [i] to keep - things compiling on gcc 2.x serious -2003-09-26 16:02 robert - * Make/makedirdefs, VisualStudio/osgPlugins/jp2, - VisualStudio/osgPlugins/jp2/jp2.dsp, src/osgPlugins/jp2, - src/osgPlugins/jp2/GNUmakefile, - src/osgPlugins/jp2/ReaderWriterJP2.cpp: From Michael Gronager, - jp2 plugin for reading and writing JPEG2000 files. -2003-09-26 11:20 robert - * examples/osgforest/osgforest.cpp, include/osg/CullStack, - include/osgGA/AnimationPathManipulator, src/osg/CullStack.cpp, - src/osg/Geometry.cpp, src/osgGA/AnimationPathManipulator.cpp, - src/osgPlugins/ive/ReaderWriterIVE.cpp: Improves to CullStack. - - From M.Grngr. options support for f=switching off internal - imagery in .ive files +Mon, 3 Sep 2007 09:54:24 +0000 +Checked in by : Robert Osfield +Fixed spacing. -2003-09-25 21:54 robert +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." - * Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgforest, - VisualStudio/examples/osgforest/osgforest.dsp, - examples/osgforest, examples/osgforest/GNUmakefile, - examples/osgforest/GNUmakefile.inst, - examples/osgforest/osgforest.cpp, - examples/osggeometry/osggeometry.cpp, include/osg/BlendColor, - include/osg/CullStack, include/osg/CullingSet, - include/osg/TriangleFunctor, runexamples.bat, - src/osgSim/LightPointNode.cpp, src/osgUtil/IntersectVisitor.cpp, - src/osgUtil/SmoothingVisitor.cpp, - src/osgUtil/TriStripVisitor.cpp: 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, 3 Sep 2007 09:47:43 +0000 +Checked in by : Robert Osfield +Updated wrapper -2003-09-24 18:54 robert +Mon, 3 Sep 2007 09:43:33 +0000 +Checked in by : Robert Osfield +Added default contructors to Operation - * examples/osgpbuffer/RenderToTextureStage.cpp, - examples/osgpbuffer/RenderToTextureStage.h: Added a local - osg::State to the pbuffer implementation. +Sun, 2 Sep 2007 22:31:09 +0000 +Checked in by : Robert Osfield +Fixed cancel loop. -2003-09-24 18:53 robert +Sat, 1 Sep 2007 16:56:53 +0000 +Checked in by : Robert Osfield +Added convinience methods for setting up 3d spherical displays. - * include/osgUtil/UpdateVisitor: Made the calling of drawable - update callbacks always happen when a geode - is traversed in the update traversal. +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. -2003-09-24 15:54 robert +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 - * include/osg/Geometry, include/osgUtil/Optimizer, - src/osg/Geometry.cpp, src/osgUtil/Optimizer.cpp: 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. +Fri, 31 Aug 2007 20:21:45 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-09-23 14:42 robert +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. - * src/osgPlugins/pfb/ConvertFromPerformer.cpp: From Tom Jolly, - added support for TexEnv to pfb plugin. +Fri, 31 Aug 2007 20:14:36 +0000 +Checked in by : Robert Osfield +Added mutex locking add addParents/removeParents in Drawable, Node and StateSet. -2003-09-22 21:22 robert +Fri, 31 Aug 2007 18:56:22 +0000 +Checked in by : Robert Osfield +Added mutex to protect the readFontFile calls - * Make/makedefs: From Bob Kuehne, added extra include for freetype - to find it on OSX. +Fri, 31 Aug 2007 16:59:32 +0000 +Checked in by : Robert Osfield +Added support for running multiple text generation threads -2003-09-22 17:09 robert +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. - * doc/install.html: Changed reference to osgPluins/GNUmakefile to - Make/makedirdefs +Fri, 31 Aug 2007 15:49:17 +0000 +Checked in by : Robert Osfield +From Luigi Calori, fixed Windows install of wrappers -2003-09-22 09:13 robert +Fri, 31 Aug 2007 12:14:39 +0000 +Checked in by : Robert Osfield +Added export for Windows build - * include/osg/Image, src/osg/Image.cpp: Renamed instance of - variables called format to pixelFormat to make a - clearer distinction between pixelFormat and - internalTextureFormat. +Fri, 31 Aug 2007 11:04:06 +0000 +Checked in by : Robert Osfield +From Luigi Calori, added support for Win32 versioning/new buid placement. -2003-09-17 15:48 robert +Thu, 30 Aug 2007 19:26:52 +0000 +Checked in by : Robert Osfield +Further work on osgTerrain::Locator and GDAL plugin - * VisualStudio/VisualStudio.dsw: Added osgUtil to dependencies of - the obj plugin. +Thu, 30 Aug 2007 12:18:45 +0000 +Checked in by : Robert Osfield +From Luigi Calori, add osgText to geo plugin build -2003-09-17 12:04 robert +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. - * Make/makedefs, VisualStudio/osg/osg.dsp, include/osg/BlendColor, - include/osg/BlendFunc, include/osg/Multisample, - include/osg/StateAttribute, src/osg/BlendColor.cpp, - src/osg/GNUmakefile, src/osg/Multisample.cpp: 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. +Thu, 30 Aug 2007 10:17:34 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-09-16 22:26 robert +Thu, 30 Aug 2007 10:15:35 +0000 +Checked in by : Robert Osfield +Further refinement of ProxyLayer API - * NEWS.txt: Updated release data of 0.9.6 from 15th to 16th. +Wed, 29 Aug 2007 16:29:05 +0000 +Checked in by : Robert Osfield +Further work on new ProxyLayer -2003-09-16 21:26 robert +Wed, 29 Aug 2007 12:18:41 +0000 +Checked in by : Robert Osfield +Added ProxyLayer support into osgTerrain plugin - * Make/makedefs: Updated Make/makedefs version number to 0.9.6-1. +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. -2003-09-16 21:25 robert +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. - * ChangeLog, src/osg/Version.cpp, src/osgDB/Version.cpp, - src/osgGA/Version.cpp, src/osgParticle/Version.cpp, - src/osgProducer/Version.cpp, src/osgSim/Version.cpp, - src/osgText/Version.cpp, src/osgUtil/Version.cpp: Updated version - numbers and ChangeLog for the release. +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 -2003-09-16 19:56 robert +Tue, 28 Aug 2007 15:35:24 +0000 +Checked in by : Robert Osfield +Improved formatting. - * examples/slideshow3D/SlideEventHandler.h, - include/osgProducer/KeyboardMouseCallback, - include/osgUtil/Statistics, src/osgPlugins/flt/flt2osg.cpp, - src/osgPlugins/lwo/Lwo2.cpp, src/osgPlugins/txp/trpage_write.h: - Warning fixes for Win32. +Tue, 28 Aug 2007 15:35:09 +0000 +Checked in by : Robert Osfield +Removed the OSG_INCLUDE -2003-09-16 19:56 robert +Tue, 28 Aug 2007 15:31:43 +0000 +Checked in by : Robert Osfield +Tweeked settings - * src/osgUtil/TriStripVisitor.cpp: 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. +Tue, 28 Aug 2007 14:02:16 +0000 +Checked in by : Robert Osfield +Added multi-threaded test path -2003-09-16 19:54 robert +Mon, 27 Aug 2007 16:59:51 +0000 +Checked in by : Robert Osfield +Replaced CartesianLocator and EllipsoidLocator by a single general purpose Locator class - * include/osg/PrimitiveSet, include/osg/UByte4, - src/osgPlugins/osg/Geometry.cpp: Fixes for .osg output of UByte4 - values, and added missing template contructor - to DrawElementsUShort. +Mon, 27 Aug 2007 13:33:58 +0000 +Checked in by : Robert Osfield +From Brandon Hamm, changed WxWindows example to use double buffering -2003-09-16 19:53 robert +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 - * src/osgPlugins/obj/ReaderWriterOBJ.cpp: Improved the tesselation - of obj surfaces so that rendering performance - is significantly improved. +Mon, 27 Aug 2007 10:37:08 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and AUTHORS file for release -2003-09-16 11:54 robert +Mon, 27 Aug 2007 10:29:22 +0000 +Checked in by : Robert Osfield +Updated date on READEME - * examples/osgshadowtexture/CreateShadowedScene.cpp: Moved a local - new StateSet into cull callback as a ref_ptr to prevent - memory leaks. +Mon, 27 Aug 2007 10:28:47 +0000 +Checked in by : Robert Osfield +Updated version numbers for 2.1.8 dev release -2003-09-16 11:22 robert +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. - * src/osgPlugins/txp/trpage_warchive.cpp, - src/osgPlugins/txp/trpage_writebuf.cpp: Warning fixes for VS - .NET. +Mon, 27 Aug 2007 09:51:24 +0000 +Checked in by : Robert Osfield +From David Spilling, tweaked quat tests to reproduce getRotate errors. -2003-09-16 09:54 robert +Sun, 26 Aug 2007 10:27:31 +0000 +Checked in by : Robert Osfield +From Jan Ciger, warning fixes - * src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/glm.cpp, src/osgPlugins/obj/glm.h: Added - support for per vertex colors. +Sun, 26 Aug 2007 10:24:18 +0000 +Checked in by : Robert Osfield +From Jean-Sebastien Guay, fixed comment -2003-09-16 08:10 robert +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. - * src/osgPlugins/txp/TrPageArchive.h: Added - inlucde to trPageArchive to get round IRIX - build - problem. +Sun, 26 Aug 2007 09:59:39 +0000 +Checked in by : Robert Osfield +Change char* to const char* to fix warnings -2003-09-15 22:13 robert +Sun, 26 Aug 2007 09:46:49 +0000 +Checked in by : Robert Osfield +Updated wrappers, and change Renderer so that private: to proteccted:. - * src/osgPlugins/txp/trpage_warchive.cpp, - src/osgPlugins/txp/trpage_write.h: Changed a couple of int64's - back to int32. +Sun, 26 Aug 2007 09:45:35 +0000 +Checked in by : Robert Osfield +Updated links -2003-09-15 21:43 robert +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. - * ChangeLog, examples/slideshow3D/SlideShowConstructor.cpp, - include/osgText/Text, src/osgText/Text.cpp: 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. +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 -2003-09-15 15:03 robert - * src/osgPlugins/flt/flt2osg.cpp: From Julian Ortiz, fix to - OpenFlight loader so that it handlers OpenFlight - switches in a more appropriate way. -2003-09-15 13:54 robert - * VisualStudio/examples/slideshow3D/slideshow3D.dsp, - examples/slideshow3D/DefaultPresentation.cpp, - examples/slideshow3D/GNUmakefile, - examples/slideshow3D/ReaderWriterXML.cpp, - examples/slideshow3D/SlideShowConstructor.cpp, - examples/slideshow3D/SlideShowConstructor.h, - examples/slideshow3D/slideshow3D.cpp: 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. -2003-09-15 10:17 robert +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. - * ChangeLog, NEWS.txt: Updates ChangeLog and NEWS for the 0.9.6 - release. +Fri, 24 Aug 2007 16:16:08 +0000 +Checked in by : Robert Osfield +Set the debug out to info notification level -2003-09-15 10:12 robert +Fri, 24 Aug 2007 16:12:22 +0000 +Checked in by : Robert Osfield +Added better handling of OSG_TEXT_INCREMENTAL_SUBLOADING env var. - * src/osgPlugins/txp/trpage_geom.cpp, - src/osgPlugins/txp/trpage_readbuf.cpp, - src/osgPlugins/txp/trpage_warchive.cpp, - src/osgPlugins/txp/trpage_write.h: Fixes for warnings under - VS.NET from Marco Jez. +Fri, 24 Aug 2007 16:10:43 +0000 +Checked in by : Robert Osfield +Added default disabling of incremental subload for ATI cards. -2003-09-15 08:34 robert +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. - * NEWS.txt: Updated NEWS date to 15th September 2003, for 0.9.6 - release. +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. -2003-09-15 08:32 robert +Fri, 24 Aug 2007 10:58:08 +0000 +Checked in by : Robert Osfield +Added setting of block into the ThreadSafeQueue's contructor. - * src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/geo/geoFormat.h: Fixed warnings in geo plugin. +Fri, 24 Aug 2007 09:45:11 +0000 +Checked in by : Robert Osfield +Disable the escape sets done on the viewer -2003-09-14 22:49 robert +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" - * NEWS.txt, VisualStudio/VisualStudio.dsw, - VisualStudio/examples/slideshow3D/slideshow3D.dsp, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/geo/geoFormat.h, src/osgPlugins/geo/geoTypes.h, - src/osgPlugins/geo/osgGeoAction.h, - src/osgPlugins/geo/osgGeoStructs.h: From Geoff Michel, updated - geo plugin to support latest rev of Geo Modeller's file format. +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." -2003-09-14 22:48 robert - * VisualStudio/osgPlugins/ive/ive.dsp, - src/osgPlugins/ive/AzimElevationSector.cpp, - src/osgPlugins/ive/AzimElevationSector.h, - src/osgPlugins/ive/AzimSector.cpp, - src/osgPlugins/ive/AzimSector.h, - src/osgPlugins/ive/BlinkSequence.cpp, - src/osgPlugins/ive/BlinkSequence.h, - src/osgPlugins/ive/ConeSector.cpp, - src/osgPlugins/ive/ConeSector.h, - src/osgPlugins/ive/ConvexPlanarOccluder.cpp, - src/osgPlugins/ive/ConvexPlanarPolygon.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/ElevationSector.cpp, - src/osgPlugins/ive/ElevationSector.h, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/ive/Impostor.cpp, - src/osgPlugins/ive/LightPoint.cpp, - src/osgPlugins/ive/LightPoint.h, - src/osgPlugins/ive/LightPointNode.cpp, - src/osgPlugins/ive/LightPointNode.h, - src/osgPlugins/ive/OccluderNode.cpp, - src/osgPlugins/ive/PagedLOD.cpp, src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/ive/Switch.cpp: Forom yne Schmidt Jansen, added - support for osgSim into ive plugin. -2003-09-14 22:11 robert - * examples/slideshow3D/GNUmakefile, - examples/slideshow3D/PointsEventHandler.cpp, - examples/slideshow3D/PointsEventHandler.h, - examples/slideshow3D/SlideEventHandler.h, - examples/slideshow3D/slideshow3D.cpp: Added support for - conrolling point size into slideshow3D. +Thu, 23 Aug 2007 16:56:06 +0000 +Checked in by : Robert Osfield +Made plugin build names lowercase -2003-09-13 16:48 robert +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 - * examples/slideshow3D/slideshow3D.cpp: Added commandline usage - docs. +Thu, 23 Aug 2007 15:36:45 +0000 +Checked in by : Robert Osfield +Updated for 2.1.7 dev release -2003-09-13 16:43 robert +Thu, 23 Aug 2007 14:35:04 +0000 +Checked in by : Robert Osfield +From Stephan Huber, fix for crash on exit - * Make/makedefs: Changed the FREETYPE_LIB under Cygwin from ft - freetype2 to freetype +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? " -2003-09-13 15:59 robert +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. - * src/osgPlugins/obj/ReaderWriterOBJ.cpp: Fixed the OBJ loader so - that it shares all duplicate state, improving the - load time and rendering performance significantly. +The changes are well commented and should be clear, even to someone +not familiar with the Win32 API. -2003-09-12 21:15 robert +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). - * ChangeLog: Updated change log for release. +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. +" -2003-09-12 21:15 robert - * src/osgPlugins/txp/TrPageArchive.h: Changed std::size_t to - unsigned int to attempt to fix IRIX build problem. -2003-09-12 21:05 robert +Thu, 23 Aug 2007 11:06:16 +0000 +Checked in by : Robert Osfield +Updated wrappers - * Make/makedefs: From Norman Vine, fixes for Cygwin and Mingw - builds. +Thu, 23 Aug 2007 11:00:12 +0000 +Checked in by : Robert Osfield +Addd control for serializing draw dispatch. -2003-09-12 19:17 robert +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: - * src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp: Work around for OSX - errors when reading .ive files. +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) +" -2003-09-12 18:49 robert - * VisualStudio/osgFX/osgFX.dsp: Changed OSGUTIL_LIBRARY to - OSGFX_LIBRARY -2003-09-12 15:29 robert +Wed, 22 Aug 2007 19:26:25 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h: Added verbode debugging - option to dataoutputstream and datainputstream to - help invstigation into crash under OSX when reading .ive files. +Wed, 22 Aug 2007 17:18:27 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-09-12 13:58 robert +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. - * VisualStudio/osgFX/osgFX.dsp: Rebuild osgFX plugin by hand to fix - dependancy problems that some Win32 users - are experiencing. +Wed, 22 Aug 2007 14:32:06 +0000 +Checked in by : Eric WING +Documentation updates. -2003-09-12 13:20 robert +Wed, 22 Aug 2007 12:33:39 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgDB/Registry.cpp: Commented out various osg::notify() calls - that were causing crashes under - OSX during initialization. +Wed, 22 Aug 2007 12:21:01 +0000 +Checked in by : Robert Osfield +Cleaned up the thread setup and fixed the CullThreadPerCameraDrawThreadPerContext path -2003-09-12 13:02 robert +Wed, 22 Aug 2007 12:14:15 +0000 +Checked in by : Robert Osfield +Added thread safe ref/unref by default. - * src/osgPlugins/ive/ReaderWriterIVE.cpp: Added #ifdef - IVE_CATCH_EXCEPTIONS to allow catching of exceptions to be - turned off for debugging purposes. +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. -2003-09-12 09:48 robert +Added background image support to DMG. Pre-laid-out .DS_Store included. - * NEWS.txt: Updated NEWS file for the release. -2003-09-12 08:45 robert - * src/osgPlugins/osg/FragmentProgram.cpp, - src/osgPlugins/osg/VertexProgram.cpp: From Sebastien Kuntz, added - support for external refernces to vertex/fragment - program files. -2003-09-11 09:44 robert +Wed, 22 Aug 2007 10:56:20 +0000 +Checked in by : Eric WING +Removed missing shadow examples from Xcode project. - * Make/makedefs, src/osgPlugins/iv/GNUmakefile.orig, - src/osgPlugins/lwo/README.osg, src/osgPlugins/lwo/README_osg.txt, - src/osgPlugins/obj/README.osg, src/osgPlugins/obj/README_osg.txt: - Clean ups for the release. +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 -2003-09-10 23:18 robert +Wed, 22 Aug 2007 09:50:09 +0000 +Checked in by : Robert Osfield +Cleaned up copy constructor and switched on thread safe ref/unref. - * include/osg/CullStack, src/osg/State.cpp: Added - applyProjectionMatrix(0); & applyModelViewMatrix(0); into - osg::State::popAllStateSets(), removed some debugging output. +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. -2003-09-10 21:30 robert +Wed, 22 Aug 2007 09:46:38 +0000 +Checked in by : Robert Osfield +Simplified the thread set up. - * VisualStudio/osgPlugins/pfb/pfb.dsp: Fixed unix line ending. +Wed, 22 Aug 2007 09:45:20 +0000 +Checked in by : Robert Osfield +Added thread safe ref/unref -2003-09-10 21:22 robert +Wed, 22 Aug 2007 09:44:55 +0000 +Checked in by : Robert Osfield +Added debug message to destructor - * include/osg/State, src/osg/State.cpp, - src/osgProducer/ViewerEventHandler.cpp, - src/osgUtil/SceneView.cpp: 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. +Wed, 22 Aug 2007 09:43:24 +0000 +Checked in by : Robert Osfield +Added setting of thread safe ref/unref. -2003-09-10 20:43 robert +Wed, 22 Aug 2007 09:42:27 +0000 +Checked in by : Robert Osfield +Added default setting of use of thread safe ref/unref. - * src/osgProducer/ViewerEventHandler.cpp: Fixed state inheritance - from the stats overlay onto the rest of the scene. +Wed, 22 Aug 2007 09:05:34 +0000 +Checked in by : Robert Osfield +Changed ReadFileCallback and WriteFileCallback to use virtual inhertinace. -2003-09-10 20:24 robert +Tue, 21 Aug 2007 09:32:16 +0000 +Checked in by : Robert Osfield +Added missing clear() implementation - * Make/makedefs: Added -I/sw/include to Make/makedefs +Mon, 20 Aug 2007 13:09:10 +0000 +Checked in by : Robert Osfield +Fixed the install path of plugins under Windows. -2003-09-10 19:55 robert +Mon, 20 Aug 2007 10:15:07 +0000 +Checked in by : Robert Osfield +Updated README date - * Make/makedefs, examples/slideshow3D/GNUmakefile, - examples/slideshow3D/GNUmakefile.inst: Addeed LIBXML2_INCLUDE - defined to Make/makedefs to handle non standard placement of - libxml2 in OSX. - -2003-09-10 19:25 robert - - * examples/osgwindows/osgwindows.cpp, - examples/slideshow3D/ReaderWriterXML.cpp, - src/osgProducer/OsgCameraGroup.cpp: 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 - - * src/osgPlugins/ive/DataInputStream.cpp: Fix warning under Win32. - -2003-09-10 13:25 robert - - * VisualStudio/examples/osglightpoint/osglightpoint.dsp: Added - /Zm200. - -2003-09-10 12:38 robert - - * Make/makedirdefs, examples/osgpagedlod, - examples/osgpagedlod/GNUmakefile, - examples/osgpagedlod/GNUmakefile.inst, - examples/osgpagedlod/osgpagedlod.cpp, include/osg/Vec2, - include/osg/Vec3, include/osg/Vec4, src/osgFX/BumpMapping.cpp, - src/osgPlugins/osg/Geometry.cpp: Fixes for osgFX. - -2003-09-10 12:26 robert - - * src/osgPlugins/txp/GNUmakefile: Added -losgText into txp plugin's - GNUmakefile for OSX build. - -2003-09-10 12:04 robert - - * src/osgPlugins/osgSim/GNUmakefile: Added -losgText for OSX build. - -2003-09-10 11:21 robert - - * src/osgPlugins/osg/ColorMatrix.cpp: From Marco Jez, moved color - matrix IO code across to using Marix.h so it - handles float's double's properly. - -2003-09-10 11:18 robert - - * src/osgSim/GNUmakefile: Added osgText and osgDB to the list of - dependencies for OSX build. - -2003-09-10 08:35 robert - - * doc/doc++/osg/AlphaFunc.html, doc/doc++/osg/AnimationPath.html, - doc/doc++/osg/AnimationPathCallback.html, - doc/doc++/osg/ApplicationUsage.html, doc/doc++/osg/Array.html, - doc/doc++/osg/AutoTransform.html, doc/doc++/osg/Billboard.html, - doc/doc++/osg/BlendFunc.html, doc/doc++/osg/BoundingBox.html, - doc/doc++/osg/Box.html, doc/doc++/osg/ClearNode.html, - doc/doc++/osg/ClipNode.html, doc/doc++/osg/ClipPlane.html, - doc/doc++/osg/CollectOccludersVisitor.html, - doc/doc++/osg/ColorMask.html, doc/doc++/osg/ColorMatrix.html, - doc/doc++/osg/CompositeShape.html, doc/doc++/osg/Cone.html, - doc/doc++/osg/ConstShapeVisitor.html, - doc/doc++/osg/ConvexHull.html, - doc/doc++/osg/ConvexPlanarOccluder.html, - doc/doc++/osg/CopyOp.html, doc/doc++/osg/CullFace.html, - doc/doc++/osg/Cylinder.html, doc/doc++/osg/DOFTransform.html, - doc/doc++/osg/DatabaseRequestHandler.html, - doc/doc++/osg/DeleteHandler.html, doc/doc++/osg/Depth.html, - doc/doc++/osg/DisplaySettings.html, - doc/doc++/osg/DrawArrayLengths.html, - doc/doc++/osg/DrawArrays.html, - doc/doc++/osg/DrawElementsUByte.html, - doc/doc++/osg/DrawElementsUInt.html, - doc/doc++/osg/DrawElementsUShort.html, - doc/doc++/osg/DrawPixels.html, doc/doc++/osg/Drawable.html, - doc/doc++/osg/Extensions.3.html, doc/doc++/osg/Extensions.4.html, - doc/doc++/osg/Extensions.5.html, doc/doc++/osg/Extensions.6.html, - doc/doc++/osg/Extensions.html, doc/doc++/osg/Fog.html, - doc/doc++/osg/FragmentProgram.html, doc/doc++/osg/FrontFace.html, - doc/doc++/osg/General.html, doc/doc++/osg/Geode.html, - doc/doc++/osg/Geometry.html, doc/doc++/osg/Grid.html, - doc/doc++/osg/Group.html, doc/doc++/osg/HeightField.html, - doc/doc++/osg/Image.html, doc/doc++/osg/Impostor.html, - doc/doc++/osg/ImpostorSprite.html, doc/doc++/osg/IndexArray.html, - doc/doc++/osg/InfinitePlane.html, doc/doc++/osg/LOD.html, - doc/doc++/osg/Light.html, doc/doc++/osg/LightModel.html, - doc/doc++/osg/LightSource.html, doc/doc++/osg/LineSegment.html, - doc/doc++/osg/LineStipple.html, doc/doc++/osg/LineWidth.html, - doc/doc++/osg/META_Node.html, doc/doc++/osg/META_Object.html, - doc/doc++/osg/META_Shape.html, - doc/doc++/osg/META_StateAttribute.html, - doc/doc++/osg/Material.html, doc/doc++/osg/MatrixTransform.html, - doc/doc++/osg/Matrixd.html, doc/doc++/osg/Matrixf.html, - doc/doc++/osg/Node.html, doc/doc++/osg/NodeAcceptOp.html, - doc/doc++/osg/NodeCallback.html, doc/doc++/osg/NodeVisitor.html, - doc/doc++/osg/NotifySeverity.html, doc/doc++/osg/Object.html, - doc/doc++/osg/OccluderNode.html, doc/doc++/osg/PagedLOD.html, - doc/doc++/osg/Plane.html, doc/doc++/osg/Point.html, - doc/doc++/osg/PolygonMode.html, doc/doc++/osg/PolygonOffset.html, - doc/doc++/osg/PolygonStipple.html, doc/doc++/osg/Polytope.html, - doc/doc++/osg/PositionAttitudeTransform.html, - doc/doc++/osg/PrimitiveFunctor.html, - doc/doc++/osg/PrimitiveSet.html, doc/doc++/osg/Projection.html, - doc/doc++/osg/QualifiedTestPrinter.html, doc/doc++/osg/Quat.html, - doc/doc++/osg/RefMatrixd.html, doc/doc++/osg/RefMatrixf.html, - doc/doc++/osg/Referenced.html, doc/doc++/osg/Sequence.html, - doc/doc++/osg/ShadeModel.html, - doc/doc++/osg/ShadowVolumeOccluder.html, - doc/doc++/osg/Shape.html, doc/doc++/osg/ShapeDrawable.html, - doc/doc++/osg/ShapeVisitor.html, doc/doc++/osg/Sphere.html, - doc/doc++/osg/State.html, doc/doc++/osg/StateAttribute.html, - doc/doc++/osg/StateSet.html, doc/doc++/osg/Stencil.html, - doc/doc++/osg/SubloadCallback.2.html, - doc/doc++/osg/SubloadCallback.3.html, - doc/doc++/osg/SubloadCallback.4.html, - doc/doc++/osg/SubloadCallback.5.html, - doc/doc++/osg/SubloadCallback.html, doc/doc++/osg/Switch.html, - doc/doc++/osg/TemplateArray.html, - doc/doc++/osg/TemplateIndexArray.html, - doc/doc++/osg/TessellationHints.html, doc/doc++/osg/Test.html, - doc/doc++/osg/TestCase.html, doc/doc++/osg/TestCase_.html, - doc/doc++/osg/TestContext.html, doc/doc++/osg/TestErrorX.html, - doc/doc++/osg/TestFailureX.html, doc/doc++/osg/TestGraph.html, - doc/doc++/osg/TestQualifier.html, doc/doc++/osg/TestRecord.html, - doc/doc++/osg/TestReport.html, doc/doc++/osg/TestRunner.html, - doc/doc++/osg/TestSuite.html, - doc/doc++/osg/TestSuiteAutoRegistrationAgent.html, - doc/doc++/osg/TestVisitor.html, doc/doc++/osg/TestX.html, - doc/doc++/osg/TexEnv.html, doc/doc++/osg/TexEnvCombine.html, - doc/doc++/osg/TexGen.html, doc/doc++/osg/TexMat.html, - doc/doc++/osg/Texture.html, doc/doc++/osg/Texture1D.html, - doc/doc++/osg/Texture2D.html, doc/doc++/osg/Texture3D.html, - doc/doc++/osg/TextureCubeMap.html, - doc/doc++/osg/TextureObject.html, - doc/doc++/osg/TextureObjectManager.html, - doc/doc++/osg/TextureRectangle.html, doc/doc++/osg/Timer.html, - doc/doc++/osg/TraceStream.html, doc/doc++/osg/Transform.html, - doc/doc++/osg/TriangleFunctor.html, - doc/doc++/osg/TriangleMesh.html, doc/doc++/osg/UByte4.html, - doc/doc++/osg/Vec2.html, doc/doc++/osg/Vec3.html, - doc/doc++/osg/Vec4.html, doc/doc++/osg/VectorSizei.html, - doc/doc++/osg/VectorUByte.html, doc/doc++/osg/VectorUInt.html, - doc/doc++/osg/VectorUShort.html, - doc/doc++/osg/VertexProgram.html, doc/doc++/osg/Viewport.html, - doc/doc++/osg/buffered_object.html, - doc/doc++/osg/buffered_value.html, - doc/doc++/osg/clampArray3BetweenRange.html, - doc/doc++/osg/clampArray3GEQUAL.html, - doc/doc++/osg/clampArray3LEQUAL.html, - doc/doc++/osg/clampArray4BetweenRange.html, - doc/doc++/osg/clampArray4GEQUAL.html, - doc/doc++/osg/clampArray4LEQUAL.html, - doc/doc++/osg/clampArrayElementBetweenRange.html, - doc/doc++/osg/clampArrayElementGEQUAL.html, - doc/doc++/osg/clampArrayElementLEQUAL.html, - doc/doc++/osg/clampArrayElementsBetweenRange.html, - doc/doc++/osg/clampArrayElementsGEQUAL.html, - doc/doc++/osg/clampArrayElementsLEQUAL.html, - doc/doc++/osg/clampBetweenRange.html, - doc/doc++/osg/clampGEQUAL.html, doc/doc++/osg/clampLEQUAL.html, - doc/doc++/osg/createTexturedQuadGeometry.html, - doc/doc++/osg/fast_back_stack.html, doc/doc++/osg/index.html, - doc/doc++/osg/osg.html, doc/doc++/osg/ref_ptr.html, - doc/doc++/osgFX/AnisotropicLighting.html, - doc/doc++/osgFX/BumpMapping.html, doc/doc++/osgFX/Cartoon.html, - doc/doc++/osgFX/Effect.html, doc/doc++/osgFX/HIERjava.html, - doc/doc++/osgFX/Scribe.html, - doc/doc++/osgFX/SpecularHighlights.html, - doc/doc++/osgFX/Technique.html, doc/doc++/osgFX/Validator.html, - doc/doc++/osgFX/osgFX.html: Updated docs for release. - -2003-09-09 22:18 robert - - * include/osg/Geometry, src/osg/Geometry.cpp, - src/osgFX/BumpMapping.cpp, src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/Geometry.cpp, src/osgPlugins/osg/Geometry.cpp, - src/osgPlugins/osgFX/IO_BumpMapping.cpp, - src/osgUtil/Tesselator.cpp: Cleaned up handling of vertex arrays - in osg::Geometry. - - Added support for vertex attribute arrays in .osg and .ive. - -2003-09-09 11:54 robert - - * examples/osgfxbrowser/osgfxbrowser.cpp, - include/osgFX/BumpMapping, include/osgFX/Effect, - include/osgFX/Technique, include/osgFX/Validator, - src/osgFX/BumpMapping.cpp, src/osgFX/Effect.cpp, - src/osgFX/Technique.cpp, src/osgFX/Validator.cpp, - src/osgPlugins/osgFX/GNUmakefile, - src/osgPlugins/osgFX/IO_AnisotropicLighting.cpp, - src/osgPlugins/osgFX/IO_BumpMapping.cpp, - src/osgPlugins/osgFX/IO_Cartoon.cpp, - src/osgPlugins/osgFX/IO_Effect.cpp, - src/osgPlugins/osgFX/IO_Scribe.cpp, - src/osgPlugins/osgFX/IO_SpecularHighlights.cpp: Updates to osgFX, - from Marco Jez, to map Effect across to being derived - from osg::Group rather than from osg::Node. - -2003-09-09 10:09 robert - - * src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp: Made - writeMatrix/readMatrix use doubles exclusively. - -2003-09-09 08:56 robert - - * include/osg/Matrix, include/osg/Matrixd: 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. - -2003-09-08 10:51 robert - - * AUTHORS.txt, NEWS.txt, doc/doc++/osg/AlphaFunc.html, - doc/doc++/osg/AnimationPath.html, - doc/doc++/osg/AnimationPathCallback.html, - doc/doc++/osg/ApplicationUsage.html, doc/doc++/osg/Array.html, - doc/doc++/osg/AutoTransform.html, doc/doc++/osg/Billboard.html, - doc/doc++/osg/BlendFunc.html, doc/doc++/osg/BoundingBox.html, - doc/doc++/osg/Box.html, doc/doc++/osg/ClearNode.html, - doc/doc++/osg/ClipNode.html, doc/doc++/osg/ClipPlane.html, - doc/doc++/osg/CollectOccludersVisitor.html, - doc/doc++/osg/ColorMask.html, doc/doc++/osg/ColorMatrix.html, - doc/doc++/osg/CompositeShape.html, doc/doc++/osg/Cone.html, - doc/doc++/osg/ConstShapeVisitor.html, - doc/doc++/osg/ConvexHull.html, - doc/doc++/osg/ConvexPlanarOccluder.html, - doc/doc++/osg/CopyOp.html, doc/doc++/osg/CullFace.html, - doc/doc++/osg/CullStack.html, doc/doc++/osg/CullingSet.html, - doc/doc++/osg/Cylinder.html, doc/doc++/osg/DOFTransform.html, - doc/doc++/osg/DatabaseRequestHandler.html, - doc/doc++/osg/DeleteHandler.html, doc/doc++/osg/Depth.html, - doc/doc++/osg/DisplaySettings.html, - doc/doc++/osg/DrawArrayLengths.html, - doc/doc++/osg/DrawArrays.html, - doc/doc++/osg/DrawElementsUByte.html, - doc/doc++/osg/DrawElementsUInt.html, - doc/doc++/osg/DrawElementsUShort.html, - doc/doc++/osg/DrawPixels.html, doc/doc++/osg/Drawable.html, - doc/doc++/osg/Extensions.3.html, doc/doc++/osg/Extensions.4.html, - doc/doc++/osg/Extensions.5.html, doc/doc++/osg/Extensions.6.html, - doc/doc++/osg/Extensions.html, doc/doc++/osg/Fog.html, - doc/doc++/osg/FragmentProgram.html, doc/doc++/osg/FrontFace.html, - doc/doc++/osg/General.html, doc/doc++/osg/Geode.html, - doc/doc++/osg/Geometry.html, doc/doc++/osg/Grid.html, - doc/doc++/osg/Group.html, doc/doc++/osg/HIER.html, - doc/doc++/osg/HIERjava.html, doc/doc++/osg/HeightField.html, - doc/doc++/osg/Image.html, doc/doc++/osg/Impostor.html, - doc/doc++/osg/ImpostorSprite.html, - doc/doc++/osg/ImpostorSpriteManager.html, - doc/doc++/osg/IndexArray.html, doc/doc++/osg/InfinitePlane.html, - doc/doc++/osg/LOD.html, doc/doc++/osg/Light.html, - doc/doc++/osg/LightModel.html, doc/doc++/osg/LightSource.html, - doc/doc++/osg/LineSegment.html, doc/doc++/osg/LineStipple.html, - doc/doc++/osg/LineWidth.html, doc/doc++/osg/META_Node.html, - doc/doc++/osg/META_Object.html, doc/doc++/osg/META_Shape.html, - doc/doc++/osg/META_StateAttribute.html, - doc/doc++/osg/Material.html, doc/doc++/osg/MatrixTransform.html, - doc/doc++/osg/Matrixd.html, doc/doc++/osg/Matrixf.html, - doc/doc++/osg/Node.html, doc/doc++/osg/NodeAcceptOp.html, - doc/doc++/osg/NodeCallback.html, doc/doc++/osg/NodeVisitor.html, - doc/doc++/osg/NotifySeverity.html, doc/doc++/osg/Object.html, - doc/doc++/osg/OccluderNode.html, doc/doc++/osg/PagedLOD.html, - doc/doc++/osg/Plane.html, doc/doc++/osg/Point.html, - doc/doc++/osg/PolygonMode.html, doc/doc++/osg/PolygonOffset.html, - doc/doc++/osg/PolygonStipple.html, doc/doc++/osg/Polytope.html, - doc/doc++/osg/PositionAttitudeTransform.html, - doc/doc++/osg/PrimitiveFunctor.html, - doc/doc++/osg/PrimitiveSet.html, doc/doc++/osg/Projection.html, - doc/doc++/osg/QualifiedTestPrinter.html, doc/doc++/osg/Quat.html, - doc/doc++/osg/RefMatrixd.html, doc/doc++/osg/RefMatrixf.html, - doc/doc++/osg/Referenced.html, doc/doc++/osg/Sequence.html, - doc/doc++/osg/ShadeModel.html, - doc/doc++/osg/ShadowVolumeOccluder.html, - doc/doc++/osg/Shape.html, doc/doc++/osg/ShapeDrawable.html, - doc/doc++/osg/ShapeVisitor.html, doc/doc++/osg/Sphere.html, - doc/doc++/osg/State.html, doc/doc++/osg/StateAttribute.html, - doc/doc++/osg/StateSet.html, doc/doc++/osg/Stencil.html, - doc/doc++/osg/SubloadCallback.2.html, - doc/doc++/osg/SubloadCallback.3.html, - doc/doc++/osg/SubloadCallback.4.html, - doc/doc++/osg/SubloadCallback.5.html, - doc/doc++/osg/SubloadCallback.html, doc/doc++/osg/Switch.html, - doc/doc++/osg/TemplateArray.html, - doc/doc++/osg/TemplateIndexArray.html, - doc/doc++/osg/TessellationHints.html, doc/doc++/osg/Test.html, - doc/doc++/osg/TestCase.html, doc/doc++/osg/TestCase_.html, - doc/doc++/osg/TestContext.html, doc/doc++/osg/TestErrorX.html, - doc/doc++/osg/TestFailureX.html, doc/doc++/osg/TestGraph.html, - doc/doc++/osg/TestQualifier.html, doc/doc++/osg/TestRecord.html, - doc/doc++/osg/TestReport.html, doc/doc++/osg/TestRunner.html, - doc/doc++/osg/TestSuite.html, - doc/doc++/osg/TestSuiteAutoRegistrationAgent.html, - doc/doc++/osg/TestVisitor.html, doc/doc++/osg/TestX.html, - doc/doc++/osg/TexEnv.html, doc/doc++/osg/TexEnvCombine.html, - doc/doc++/osg/TexGen.html, doc/doc++/osg/TexMat.html, - doc/doc++/osg/Texture.html, doc/doc++/osg/Texture1D.html, - doc/doc++/osg/Texture2D.html, doc/doc++/osg/Texture3D.html, - doc/doc++/osg/TextureCubeMap.html, - doc/doc++/osg/TextureObject.html, - doc/doc++/osg/TextureObjectManager.html, - doc/doc++/osg/TextureRectangle.html, doc/doc++/osg/Timer.html, - doc/doc++/osg/TraceStream.html, doc/doc++/osg/Transform.html, - doc/doc++/osg/TriangleFunctor.html, - doc/doc++/osg/TriangleMesh.html, doc/doc++/osg/UByte4.html, - doc/doc++/osg/Vec2.html, doc/doc++/osg/Vec3.html, - doc/doc++/osg/Vec4.html, doc/doc++/osg/VectorSizei.html, - doc/doc++/osg/VectorUByte.html, doc/doc++/osg/VectorUInt.html, - doc/doc++/osg/VectorUShort.html, - doc/doc++/osg/VertexProgram.html, doc/doc++/osg/Viewport.html, - doc/doc++/osg/buffered_object.html, - doc/doc++/osg/buffered_value.html, - doc/doc++/osg/clampArray3BetweenRange.html, - doc/doc++/osg/clampArray3GEQUAL.html, - doc/doc++/osg/clampArray3LEQUAL.html, - doc/doc++/osg/clampArray4BetweenRange.html, - doc/doc++/osg/clampArray4GEQUAL.html, - doc/doc++/osg/clampArray4LEQUAL.html, - doc/doc++/osg/clampArrayElementBetweenRange.html, - doc/doc++/osg/clampArrayElementGEQUAL.html, - doc/doc++/osg/clampArrayElementLEQUAL.html, - doc/doc++/osg/clampArrayElementsBetweenRange.html, - doc/doc++/osg/clampArrayElementsGEQUAL.html, - doc/doc++/osg/clampArrayElementsLEQUAL.html, - doc/doc++/osg/clampBetweenRange.html, - doc/doc++/osg/clampGEQUAL.html, doc/doc++/osg/clampLEQUAL.html, - doc/doc++/osg/computeEyeToLocal.html, - doc/doc++/osg/computeLocalToEye.html, - doc/doc++/osg/computeLocalToWorld.html, - doc/doc++/osg/computeWorldToLocal.html, - doc/doc++/osg/createGeodeForImage.2.html, - doc/doc++/osg/fast_back_stack.html, - doc/doc++/osg/getGLExtensionDisableString.html, - doc/doc++/osg/index.html, doc/doc++/osg/osg.html, - doc/doc++/osg/ref_ptr.html, - doc/doc++/osg/setGLExtensionDisableString.html, - doc/doc++/osgDB/DatabasePager.html, doc/doc++/osgDB/HIER.html, - doc/doc++/osgDB/HIERjava.html, doc/doc++/osgDB/Registry.html, - doc/doc++/osgFX, doc/doc++/osgFX/AnisotropicLighting.html, - doc/doc++/osgFX/BumpMapping.html, doc/doc++/osgFX/Cartoon.html, - doc/doc++/osgFX/ClassGraph.class, - doc/doc++/osgFX/ClassGraphPanel.class, - doc/doc++/osgFX/ClassLayout.class, doc/doc++/osgFX/Effect.html, - doc/doc++/osgFX/General.html, doc/doc++/osgFX/HIER.html, - doc/doc++/osgFX/HIERjava.html, doc/doc++/osgFX/META_Effect.html, - doc/doc++/osgFX/META_Technique.html, - doc/doc++/osgFX/NavigatorButton.class, - doc/doc++/osgFX/Registry.html, doc/doc++/osgFX/Scribe.html, - doc/doc++/osgFX/SpecularHighlights.html, - doc/doc++/osgFX/Technique.html, doc/doc++/osgFX/Validator.html, - doc/doc++/osgFX/icon1.gif, doc/doc++/osgFX/icon2.gif, - doc/doc++/osgFX/index.html, doc/doc++/osgFX/osgFX.html, - doc/doc++/osgGA/AnimationPathManipulator.html, - doc/doc++/osgGA/DriveManipulator.html, - doc/doc++/osgGA/FlightManipulator.html, - doc/doc++/osgGA/KeySwitchMatrixManipulator.html, - doc/doc++/osgGA/MatrixManipulator.html, - doc/doc++/osgGA/TrackballManipulator.html, - doc/doc++/osgParticle/AngularAccelOperator.html, - doc/doc++/osgParticle/CenteredPlacer.html, - doc/doc++/osgParticle/Counter.html, - doc/doc++/osgParticle/Emitter.html, - doc/doc++/osgParticle/FluidFrictionOperator.html, - doc/doc++/osgParticle/ForceOperator.html, - doc/doc++/osgParticle/General.html, - doc/doc++/osgParticle/HIER.html, - doc/doc++/osgParticle/HIERjava.html, - doc/doc++/osgParticle/Interpolator.html, - doc/doc++/osgParticle/LinearInterpolator.html, - doc/doc++/osgParticle/ModularEmitter.html, - doc/doc++/osgParticle/ModularProgram.html, - doc/doc++/osgParticle/MultiSegmentPlacer.html, - doc/doc++/osgParticle/Operator.html, - doc/doc++/osgParticle/Particle.html, - doc/doc++/osgParticle/ParticleProcessor.html, - doc/doc++/osgParticle/ParticleSystem.html, - doc/doc++/osgParticle/ParticleSystemUpdater.html, - doc/doc++/osgParticle/Placer.html, - doc/doc++/osgParticle/PointPlacer.html, - doc/doc++/osgParticle/Program.html, - doc/doc++/osgParticle/RadialShooter.html, - doc/doc++/osgParticle/RandomRateCounter.html, - doc/doc++/osgParticle/SectorPlacer.html, - doc/doc++/osgParticle/SegmentPlacer.html, - doc/doc++/osgParticle/Shooter.html, - doc/doc++/osgParticle/VariableRateCounter.html, - doc/doc++/osgParticle/index.html, - doc/doc++/osgParticle/osgParticle.html, - doc/doc++/osgParticle/range.html, - doc/doc++/osgProducer/KeyboardMouseCallback.html, - doc/doc++/osgProducer/OsgCameraGroup.html, - doc/doc++/osgProducer/RealizeCallback.html, - doc/doc++/osgProducer/Viewer.html, - doc/doc++/osgSim/AzimElevationSector.html, - doc/doc++/osgSim/AzimRange.html, - doc/doc++/osgSim/AzimSector.html, - doc/doc++/osgSim/BlinkSequence.html, - doc/doc++/osgSim/ColorRange.html, - doc/doc++/osgSim/ConeSector.html, - doc/doc++/osgSim/ElevationRange.html, - doc/doc++/osgSim/ElevationSector.html, - doc/doc++/osgSim/General.html, doc/doc++/osgSim/HIER.html, - doc/doc++/osgSim/HIERjava.html, doc/doc++/osgSim/LightPoint.html, - doc/doc++/osgSim/LightPointNode.html, - doc/doc++/osgSim/ScalarBar.html, - doc/doc++/osgSim/ScalarsToColors.html, - doc/doc++/osgSim/Sector.html, - doc/doc++/osgSim/SequenceGroup.html, - doc/doc++/osgSim/SphereSegment.html, doc/doc++/osgSim/index.html, - doc/doc++/osgSim/osgSim.html, doc/doc++/osgUtil/CullVisitor.html, - doc/doc++/osgUtil/General.html, doc/doc++/osgUtil/HIER.html, - doc/doc++/osgUtil/HIERjava.html, - doc/doc++/osgUtil/IntersectVisitor.html, - doc/doc++/osgUtil/LeafDepthSortFunctor.html, - doc/doc++/osgUtil/ReflectionMapGenerator.html, - doc/doc++/osgUtil/RegisterRenderBinProxy.html, - doc/doc++/osgUtil/RenderBin.html, - doc/doc++/osgUtil/RenderGraph.html, - doc/doc++/osgUtil/RenderLeaf.html, - doc/doc++/osgUtil/RenderStage.html, - doc/doc++/osgUtil/RenderStageLighting.html, - doc/doc++/osgUtil/RenderToTextureStage.html, - doc/doc++/osgUtil/SceneView.html, - doc/doc++/osgUtil/SmoothingVisitor.html, - doc/doc++/osgUtil/Statistics.html, - doc/doc++/osgUtil/Tesselator.html, - doc/doc++/osgUtil/TransformAttributeFunctor.html, - doc/doc++/osgUtil/TransformCallback.html, - doc/doc++/osgUtil/TriStripVisitor.html, - doc/doc++/osgUtil/UpdateVisitor.html, - doc/doc++/osgUtil/index.html, doc/doc++/osgUtil/osgUtil.html, - doc/documentation.html, include/osg/Matrix: Updated NEWS/AUTHORS - + html docs for release. - -2003-09-08 08:44 robert - - * src/osgUtil/CullVisitor.cpp: Added call to - handle_cull_callbacks_and_traverse(node) to - CullVisitor::apply(Geode&) to enable cull callbacks to function - on geode's. - -2003-09-07 14:18 robert - - * VisualStudio/VisualStudio.dsw, src/osgPlugins/txp/GNUmakefile, - src/osgPlugins/txp/TerrapageNode.cpp, - src/osgPlugins/txp/TrPageArchive.cpp, - src/osgPlugins/txp/TrPageArchive.h, - src/osgPlugins/txp/TrPageParser.cpp, - src/osgPlugins/txp/TrPageParser.h, - src/osgPlugins/txp/trPagePageManager.cpp: From Boris Bralo, - addition of support for osgSim::LightPoint's into TXP - plugin. - -2003-09-06 11:07 robert - - * include/osgParticle/ParticleProcessor, src/osgDB/Registry.cpp: - Fixes from Marco. - -2003-09-05 22:37 robert - - * VisualStudio/osg/osg.dsp: Removed eroneous reference to - Matrix_implementaion.cpp. - -2003-09-05 22:35 robert - - * examples/osghangglide/GliderManipulator.cpp, - examples/osghangglide/GliderManipulator.h, - examples/osgimpostor/TestManipulator.cpp, - examples/osgimpostor/TestManipulator.h, - include/osg/AnimationPath, include/osg/Matrix, - include/osg/Matrixd, include/osg/Matrixf, - include/osgGA/AnimationPathManipulator, - include/osgGA/DriveManipulator, include/osgGA/FlightManipulator, - include/osgGA/KeySwitchMatrixManipulator, - include/osgGA/MatrixManipulator, - include/osgGA/TrackballManipulator, - include/osgProducer/OsgCameraGroup, - include/osgProducer/OsgSceneHandler, src/osg/Matrixd.cpp, - src/osg/Matrixf.cpp, src/osgGA/DriveManipulator.cpp, - src/osgGA/FlightManipulator.cpp, - src/osgGA/TrackballManipulator.cpp, - src/osgProducer/OsgCameraGroup.cpp, src/osgProducer/Viewer.cpp: - 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. - -2003-09-05 20:52 robert - - * include/osg/Quat, src/osg/Quat.cpp: Added set and get methods for - Matrixd and Matrixf. - -2003-09-05 20:48 robert - - * VisualStudio/osg/osg.dsp, - examples/osghangglide/GliderManipulator.cpp, - examples/osgimpostor/TestManipulator.cpp, - examples/osgprerendercubemap/osgprerendercubemap.cpp, - examples/osgshadowtexture/CreateShadowedScene.cpp, - examples/osgvertexprogram/osgvertexprogram.cpp, - include/osg/AnimationPath, include/osg/GL, include/osg/Matrix, - include/osg/Matrixd, include/osg/Matrixf, include/osg/Quat, - include/osg/Shape, include/osg/State, include/osgProducer/Viewer, - include/osgSim/BlinkSequence, include/osgSim/Sector, - src/osg/AutoTransform.cpp, src/osg/ColorMatrix.cpp, - src/osg/FragmentProgram.cpp, src/osg/GNUmakefile, - src/osg/Matrix.cpp, src/osg/Matrix_implementation.cpp, - src/osg/Matrixd.cpp, src/osg/Matrixf.cpp, src/osg/Quat.cpp, - src/osg/ShapeDrawable.cpp, src/osg/TexMat.cpp, - src/osg/VertexProgram.cpp, src/osgFX/AnisotropicLighting.cpp, - src/osgFX/SpecularHighlights.cpp, src/osgGA/DriveManipulator.cpp, - src/osgGA/FlightManipulator.cpp, - src/osgGA/TrackballManipulator.cpp, src/osgParticle/Particle.cpp, - src/osgPlugins/zip/ReaderWriterZIP.cpp, - src/osgProducer/Viewer.cpp: Added support for Matrixd and Matrixf - implementations, with the default - Matrix typedef's to either Matrixd or Matrixf. - -2003-09-04 19:45 robert - - * src/osgDB/DatabasePager.cpp: Moved testCancel() to end of loop as - per TXP pager code. - -2003-09-04 19:37 robert - - * src/osgDB/DatabasePager.cpp: Added testCancel() to - DatabasePager::run() loop. - -2003-09-04 08:50 robert - - * Make/makedefs, examples/osgscalarbar/GNUmakefile, - examples/osgscalarbar/GNUmakefile.inst, - examples/osgspheresegment/GNUmakefile, - examples/osgspheresegment/GNUmakefile.inst, - examples/osgviewer/GNUmakefile.inst, include/osg/Timer, - include/osgFX/Validator, src/osg/Timer.cpp: Build Fixes for IRIX. - -2003-09-03 18:17 robert - - * src/osgSim/SphereSegment.cpp: Fix for IRIX build. - -2003-09-03 10:47 robert - - * examples/osgshadowtexture/CreateShadowedScene.cpp, - include/osg/Matrix, include/osgUtil/CullVisitor, - src/osg/Matrix.cpp, src/osgParticle/FluidFrictionOperator.cpp, - src/osgParticle/Particle.cpp, - src/osgParticle/ParticleProcessor.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/osg/DOFTransform.cpp, - src/osgPlugins/osg/Matrix.cpp, src/osgPlugins/osg/TexMat.cpp, - src/osgUtil/CullVisitor.cpp: 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. - -2003-09-03 08:14 robert - - * include/osgSim/SphereSegment, src/osgSim/SphereSegment.cpp: Fixes - for IRIX build. - -2003-09-03 07:39 robert - - * src/osgProducer/DatabasePager.cpp: Removed old DatabasePager.cpp - from osgProducer. - -2003-09-02 21:53 robert - - * Make/makedirdefs, src/osgPlugins/Inventor, - src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/Inventor/ConvertFromInventor.h, - src/osgPlugins/Inventor/GNUmakefile, - src/osgPlugins/Inventor/GroupSoLOD.cpp, - src/osgPlugins/Inventor/GroupSoLOD.h, - src/osgPlugins/Inventor/PendulumCallback.cpp, - src/osgPlugins/Inventor/PendulumCallback.h, - src/osgPlugins/Inventor/ReaderWriterIV.cpp, - src/osgPlugins/Inventor/ReaderWriterIV.h, - src/osgPlugins/Inventor/ShuttleCallback.cpp, - src/osgPlugins/Inventor/ShuttleCallback.h: 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. - -2003-09-02 20:39 robert - - * VisualStudio/osgParticle/osgParticle.dsp, - VisualStudio/osgPlugins/osgParticle/dot_osgParticle.dsp, - include/osgParticle/AngularAccelOperator, - include/osgParticle/Particle, - include/osgParticle/ParticleProcessor, - include/osgParticle/ParticleSystem, - include/osgParticle/RadialShooter, - src/osgParticle/FluidFrictionOperator.cpp, - src/osgParticle/ModularEmitter.cpp, src/osgParticle/Particle.cpp, - src/osgParticle/ParticleProcessor.cpp, - src/osgParticle/ParticleSystem.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/osgParticle/GNUmakefile, - src/osgPlugins/osgParticle/IO_AngularAccelOperator.cpp, - src/osgPlugins/osgParticle/IO_Particle.cpp, - src/osgPlugins/osgParticle/IO_ParticleProcessor.cpp, - src/osgPlugins/osgParticle/IO_RadialShooter.cpp: 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." - -2003-09-02 20:06 robert - - * src/osgUtil/CullVisitor.cpp: Commented out calc near/far - debugging messages. - -2003-09-02 20:03 robert - - * examples/osgunittests/osgunittests.cpp: Added test of - sizeof(types) - run osgunittests sizeof. - -2003-09-02 17:19 robert - - * include/osg/Matrix, include/osg/State, - include/osgUtil/CullVisitor, src/osg/ColorMatrix.cpp, - src/osg/FragmentProgram.cpp, src/osg/Matrix.cpp, - src/osg/ShapeDrawable.cpp, src/osg/TexMat.cpp, - src/osg/VertexProgram.cpp, src/osgFX/BumpMapping.cpp, - src/osgFX/SpecularHighlights.cpp, - src/osgProducer/OsgCameraGroup.cpp, src/osgSim/ScalarBar.cpp, - src/osgSim/SphereSegment.cpp, src/osgUtil/CullVisitor.cpp: 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. - -2003-09-02 17:16 robert - - * src/osgPlugins/ive/Geometry.cpp, src/osgPlugins/ive/Image.cpp, - src/osgPlugins/ive/LightSource.cpp, src/osgPlugins/ive/Node.cpp, - src/osgPlugins/ive/Texture2D.cpp, - src/osgPlugins/ive/TextureCubeMap.cpp: Converted eroneous - writeLong/readInt boolean entries used writeBool/readBool. - -2003-09-02 10:27 robert - - * include/osgUtil/Statistics, - src/osgPlugins/txp/IO_TerrapageNode.cpp, - src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/ReaderWriterTXP.h, - src/osgPlugins/txp/TerrapageNode.cpp, - src/osgPlugins/txp/TerrapageNode.h, - src/osgPlugins/txp/TrPageArchive.cpp, - src/osgPlugins/txp/TrPageArchive.h, - src/osgPlugins/txp/TrPageParser.h, - src/osgPlugins/txp/WaitBlock.h, - src/osgPlugins/txp/trPagePageManager.cpp, - src/osgPlugins/txp/trPagePageManager.h, - src/osgPlugins/txp/trdll.h, src/osgPlugins/txp/trpage_basic.cpp, - src/osgPlugins/txp/trpage_compat.cpp, - src/osgPlugins/txp/trpage_compat.h, - src/osgPlugins/txp/trpage_geom.cpp, - src/osgPlugins/txp/trpage_geom.h, - src/osgPlugins/txp/trpage_header.cpp, - src/osgPlugins/txp/trpage_ident.h, - src/osgPlugins/txp/trpage_io.h, - src/osgPlugins/txp/trpage_label.cpp, - src/osgPlugins/txp/trpage_light.cpp, - src/osgPlugins/txp/trpage_main.cpp, - src/osgPlugins/txp/trpage_managers.cpp, - src/osgPlugins/txp/trpage_managers.h, - src/osgPlugins/txp/trpage_material.cpp, - src/osgPlugins/txp/trpage_model.cpp, - src/osgPlugins/txp/trpage_nodes.cpp, - src/osgPlugins/txp/trpage_parse.cpp, - src/osgPlugins/txp/trpage_pparse.cpp, - src/osgPlugins/txp/trpage_print.cpp, - src/osgPlugins/txp/trpage_print.h, - src/osgPlugins/txp/trpage_range.cpp, - src/osgPlugins/txp/trpage_rarchive.cpp, - src/osgPlugins/txp/trpage_read.h, - src/osgPlugins/txp/trpage_readbuf.cpp, - src/osgPlugins/txp/trpage_scene.cpp, - src/osgPlugins/txp/trpage_scene.h, - src/osgPlugins/txp/trpage_swap.cpp, - src/osgPlugins/txp/trpage_swap.h, - src/osgPlugins/txp/trpage_sys.h, - src/osgPlugins/txp/trpage_tile.cpp, - src/osgPlugins/txp/trpage_util.cpp, - src/osgPlugins/txp/trpage_util.h, - src/osgPlugins/txp/trpage_warchive.cpp, - src/osgPlugins/txp/trpage_write.h, - src/osgPlugins/txp/trpage_writebuf.cpp: Fixes for IRIX build + - to_unix on txp plugin files. - -2003-09-01 21:53 robert - - * VisualStudio/VisualStudio.dsw, VisualStudio/osgFX/osgFX.dsp, - VisualStudio/osgPlugins/osgFX/dot_osgFX.dsp, - include/osgFX/BumpMapping, src/osgFX/BumpMapping.cpp, - src/osgFX/GNUmakefile, src/osgPlugins/osgFX/GNUmakefile, - src/osgPlugins/osgFX/IO_BumpMapping.cpp, - src/osgUtil/TangentSpaceGenerator.cpp: Support for BumpMapping - added by Marco Jez. - -2003-09-01 19:43 robert - - * examples/osgfxbrowser/osgfxbrowser.cpp, - src/osgFX/AnisotropicLighting.cpp: Updates from - Marco:sgfxbrowser.cpp (added specular - component to scene light) and AnisotropicLighting.cpp (workaround - for a - multiple-context issue). - -2003-09-01 15:49 robert - - * VisualStudio/examples/osgspheresegment/osgsimulation.dsp, - VisualStudio/examples/osgspheresegment/osgspheresegment.dsp: - Win32 fixes. - -2003-09-01 15:46 robert - - * VisualStudio/VisualStudio.dsw, - examples/osgspheresegment/osgspheresegment.cpp, - include/osgSim/ColorRange, include/osgSim/LightPoint, - include/osgSim/LightPointNode, include/osgSim/ScalarBar, - include/osgSim/ScalarsToColors, include/osgSim/SphereSegment, - src/osgSim/ScalarBar.cpp, src/osgSim/SphereSegment.cpp: Fixes for - Win32. - -2003-09-01 11:23 robert - - * src/osg/Geometry.cpp: Added a call to disable all vertex attrib - arrays when none are present - on an osg::Geometry. - -2003-09-01 09:36 robert - - * Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgscalarbar, - VisualStudio/examples/osgscalarbar/osgscalarbar.dsp, - VisualStudio/examples/osgsimulation, - VisualStudio/examples/osgsimulation/osgsimulation.dsp, - VisualStudio/examples/osgspheresegment, - VisualStudio/examples/osgspheresegment/osgsimulation.dsp, - VisualStudio/osgSim/osgSim.dsp, doc/Doxyfiles/core_Doxyfile, - examples/osgscalarbar, examples/osgscalarbar/GNUmakefile, - examples/osgscalarbar/GNUmakefile.inst, - examples/osgscalarbar/osgscalarbar.cpp, examples/osgsimulation, - examples/osgsimulation/GNUmakefile, - examples/osgsimulation/GNUmakefile.inst, - examples/osgsimulation/osgsimulation.cpp, - examples/osgspheresegment, examples/osgspheresegment/GNUmakefile, - examples/osgspheresegment/GNUmakefile.inst, - examples/osgspheresegment/osgspheresegment.cpp, - include/osgSim/ColorRange, include/osgSim/ScalarBar, - include/osgSim/ScalarsToColors, include/osgSim/SphereSegment, - src/osgSim/ColorRange.cpp, src/osgSim/GNUmakefile, - src/osgSim/ScalarBar.cpp, src/osgSim/ScalarsToColors.cpp, - src/osgSim/SphereSegment.cpp: From Neil Salter, added - osgSim::SphereSegment and osgSim::ScalarBar, and - osgspheresegment and osgscalarbar, and osgsimulation examples. - -2003-08-31 22:17 robert - - * examples/osgviewer/osgviewer.cpp, - src/osgGA/AnimationPathManipulator.cpp: Converted cout's to - notify's. - -2003-08-31 22:17 robert +Mon, 20 Aug 2007 10:14:33 +0000 +Checked in by : Robert Osfield +Updated AUTHORS file for 2.1.6 release - * src/osgPlugins/flt/flt2osg.cpp: From Alberto Farre, fixes to the - file path handling of internally referenced - files. +Mon, 20 Aug 2007 10:06:36 +0000 +Checked in by : Robert Osfield +Updated ChangeLog -2003-08-31 22:08 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 - * src/osg/Geometry.cpp: Added experiment Tempated fast path - implemenation, #if 0 out right now. +Mon, 20 Aug 2007 09:27:31 +0000 +Checked in by : Robert Osfield +Removed Makefile as this is autogenerated. -2003-08-31 21:23 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. - * VisualStudio/highlight71.reg: From Tree, updated syntax - highlighting. +Fri, 17 Aug 2007 16:10:45 +0000 +Checked in by : Robert Osfield +Fixed zfar setting -2003-08-31 21:13 robert +Fri, 17 Aug 2007 09:37:49 +0000 +Checked in by : Robert Osfield +Changed ++_modifedCount cases to dirty(). - * src/osgDB/DatabasePager.cpp: Converted cout's messages to use - notify. +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. -2003-08-29 23:04 robert - * include/osgUtil/SceneView: Added s/getCullVistorLeft/Right(), - s/getRenderStageLeft/Right(), - s/getRenderGraphLeft/Right() methods. -2003-08-29 22:05 robert +Thu, 16 Aug 2007 15:29:50 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgDB/FileNameUtils.cpp: From Alberto Farre, added support - for both / and \ slashes in path utility - functions. +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." -2003-08-29 22:04 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." - * src/osgPlugins/jpeg/ReaderWriterJPEG.cpp: 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. +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." -2003-08-29 21:52 robert - * examples/osgfxbrowser/Frame.cpp: Added fonts/ in front of - arial.ttf. -2003-08-28 21:40 robert - * src/osgDB/DatabasePager.cpp: 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. +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." -2003-08-28 12:49 robert - * src/osgPlugins/flt/flt2osg.cpp: Removed double line spacing in - ExternalReference code. -2003-08-28 12:47 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. - * src/osgPlugins/flt/flt2osg.cpp: Added a PushAndPopFilePath usage - to the internal flt file references. +Tue, 14 Aug 2007 17:04:27 +0000 +Checked in by : Robert Osfield +Added string to keyword map parser. -2003-08-27 14:13 robert +Tue, 14 Aug 2007 13:08:15 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber: updating the XCode-project-files - * VisualStudio/osgUtil/osgUtil.dsp, - include/osgUtil/TangentSpaceGenerator, src/osgUtil/GNUmakefile, - src/osgUtil/TangentSpaceGenerator.cpp: From Marco Jez, tangent - space generator. +Tue, 14 Aug 2007 12:47:26 +0000 +Checked in by : Robert Osfield +Added Ben van Basten to list of authors. -2003-08-27 13:09 robert +Tue, 14 Aug 2007 08:41:43 +0000 +Checked in by : Robert Osfield +Replaced uint with unsigned int - * VisualStudio/examples/osgfxbrowser/osgfxbrowser.dsp: Added /Zm200 - for VS6.0 build. +Mon, 13 Aug 2007 14:02:16 +0000 +Checked in by : Robert Osfield +Removed osgdepthshadow and osgshadowtexture from build list -2003-08-27 10:34 robert +Mon, 13 Aug 2007 11:59:19 +0000 +Checked in by : Robert Osfield +Updated ChangeLog, AUTHORS and README files - * VisualStudio/examples/osgcubemap/osgcubemap.dsp, - VisualStudio/examples/osgprerender/osgprerender.dsp, - VisualStudio/examples/osgprerendercubemap/osgprerendercubemap.dsp: - Added /Zm200 define to .dsp's to avoid compile errors under - VisualStudio6.0. +Mon, 13 Aug 2007 11:45:20 +0000 +Checked in by : Robert Osfield +Updated version for 2.1.5 dev release -2003-08-27 10:22 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." - * include/osgProducer/KeyboardMouseCallback, - src/osgProducer/KeyboardMouseCallback.cpp: Added - KeyboardMouseCallback::shutdown() support. +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." -2003-08-27 08:54 robert - * VisualStudio/osgPlugins/pfb, VisualStudio/osgPlugins/pfb/pfb.dsp: - Added Performer plugin .dsp -2003-08-27 00:39 robert - * src/osgUtil/CullVisitor.cpp: Fixed - CullVisitor::popProjectionMatrix() handling of othorgraphic near - and far values. -2003-08-26 22:09 robert +Mon, 13 Aug 2007 10:20:14 +0000 +Checked in by : Robert Osfield +From J.P. Delport, fix of GDAL location search - * include/osgFX, include/osgFX/AnisotropicLighting, - include/osgFX/Cartoon, include/osgFX/Effect, - include/osgFX/Export, include/osgFX/Registry, - include/osgFX/Scribe, include/osgFX/SpecularHighlights, - include/osgFX/Technique, include/osgFX/Validator, - src/osgPlugins/osgFX, src/osgPlugins/osgFX/GNUmakefile, - src/osgPlugins/osgFX/IO_AnisotropicLighting.cpp, - src/osgPlugins/osgFX/IO_Cartoon.cpp, - src/osgPlugins/osgFX/IO_Effect.cpp, - src/osgPlugins/osgFX/IO_Scribe.cpp, - src/osgPlugins/osgFX/IO_SpecularHighlights.cpp: Added missing - osgFX files. +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." -2003-08-26 21:17 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. - * Make/makedirdefs, NEWS.txt, VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgfxbrowser, - VisualStudio/examples/osgfxbrowser/osgfxbrowser.dsp, - VisualStudio/osgFX, VisualStudio/osgFX/osgFX.dsp, - VisualStudio/osgPlugins/osgFX, - VisualStudio/osgPlugins/osgFX/dot_osgFX.dsp, - examples/osgfxbrowser, examples/osgfxbrowser/Frame.cpp, - examples/osgfxbrowser/Frame.h, examples/osgfxbrowser/GNUmakefile, - examples/osgfxbrowser/GNUmakefile.inst, - examples/osgfxbrowser/osgfxbrowser.cpp, - examples/osgviewer/osgviewer.cpp, runexamples.bat, src/osgFX, - src/osgFX/AnisotropicLighting.cpp, src/osgFX/Cartoon.cpp, - src/osgFX/Effect.cpp, src/osgFX/GNUmakefile, - src/osgFX/Registry.cpp, src/osgFX/Scribe.cpp, - src/osgFX/SpecularHighlights.cpp, src/osgFX/Technique.cpp, - src/osgFX/Validator.cpp: Added osgFX - Marco Jez's special - effects nodekit. +Sun, 12 Aug 2007 13:30:00 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-08-26 15:49 robert +Sun, 12 Aug 2007 13:18:50 +0000 +Checked in by : Robert Osfield +Added getStart()/getEnd() - * src/osgProducer/Viewer.cpp: Moved the keyboardmouse startThread - into the Viewer::realize() method. +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)." -2003-08-26 08:02 robert +Sun, 12 Aug 2007 13:10:07 +0000 +Checked in by : Robert Osfield +Removed now redundent osgshadowtexture and osgdepthshadow examples - * include/osgProducer/OsgCameraGroup: Added set/getDatabasePager() - method. +Sun, 12 Aug 2007 12:15:21 +0000 +Checked in by : Robert Osfield +Added support for SoftShadowMap into osgshadow example -2003-08-25 22:50 robert +Sun, 12 Aug 2007 12:15:01 +0000 +Checked in by : Robert Osfield +Added fix for typo of name in submission - * src/osgDB/Registry.cpp: 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. +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). -2003-08-25 14:04 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. - * NEWS.txt: Updated NEWS for 0.9.6 release. +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)." -2003-08-25 14:03 robert - * include/osgProducer/Viewer, src/osgProducer/Viewer.cpp: Added - osgProducer:: in front of KeyboardMouseCallback. -2003-08-25 13:31 robert - * include/osg/State: Removed suplerfluous inline from - setInitialViewMatrix(). -2003-08-25 13:06 robert +Sat, 11 Aug 2007 17:44:06 +0000 +Checked in by : Robert Osfield +Added preprending of osgPlugins-version to plugin names - * include/osg/State, src/osg/State.cpp: Added - getInitialInverseViewMatrix() to osg::State. +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. -2003-08-25 11:37 robert - * src/osgDB/Registry.cpp: Added support for loading - nodekits/plugins to resolve associates when - reading .osg files. -2003-08-23 20:48 robert - * include/osgProducer/Viewer, src/osgProducer/Viewer.cpp: Add - osg_ref to osgProducer::Viewer to ensuer - that - the keyboard mousr desctructor is being called correctly. -2003-08-21 19:23 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(). - * include/osgDB/Registry: Made getLibrary public. +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. -2003-08-21 14:26 robert - * include/osg/Drawable, include/osg/Geometry, src/osg/Geometry.cpp: - Compile/Warnings fixes. -2003-08-21 09:52 robert +Fri, 10 Aug 2007 17:44:54 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgDB/DatabasePager.cpp, - src/osgPlugins/txp/trPagePageManager.cpp: Moved - OpenThreads::Threads::Yield() calls across to new - OpenThreads::Threads::YieldCurrentThread() naming. +Fri, 10 Aug 2007 10:58:25 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-08-21 09:51 robert +Fri, 10 Aug 2007 10:57:00 +0000 +Checked in by : Robert Osfield +Added View::setDatabasePager(..) - * src/osgUtil/CubeMapGenerator.cpp: From Marco Jez, improvement to - the handling of coordinates frame in CubeMapGenerator. +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. -2003-08-20 12:52 robert +Thu, 9 Aug 2007 08:19:58 +0000 +Checked in by : Robert Osfield +Compile fix - * include/osgDB/DatabasePager, src/osg/GLExtensions.cpp, - src/osgDB/DatabasePager.cpp, - src/osgPlugins/txp/trPagePageManager.cpp: Added explicit calls - cancel and wait until thread and no longer running to the - DatabasePager and TXP pager. +Thu, 9 Aug 2007 08:15:38 +0000 +Checked in by : Robert Osfield +Removed now redundent ReaderWriterTerrain.cpp -2003-08-20 12:51 robert +Wed, 8 Aug 2007 09:12:02 +0000 +Checked in by : Robert Osfield +Updated wrappers - * include/osg/Timer, src/osg/Timer.cpp: Renamed instances of Click - to Tick for consistency. +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 -2003-08-20 12:50 robert +Wed, 8 Aug 2007 05:59:01 +0000 +Checked in by : Robert Osfield +Removed unneeeded includes - * include/osg/CullStack, include/osg/CullingSet, - src/osg/CullStack.cpp, src/osg/CullingSet.cpp, - src/osgUtil/SceneView.cpp: 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. +Tue, 7 Aug 2007 22:56:09 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-08-20 10:38 robert +Tue, 7 Aug 2007 22:31:43 +0000 +Checked in by : Robert Osfield +Updated CMakeLists.txt to reflect renaming of TerrainNode. - * include/osg/GLExtensions, src/osg/GLExtensions.cpp: Added - osg::setGLExtensionDisableString && - osg::getGLExtensionDisableString() - functions the GLExtensions file, and made the - isGLExtensionSupported() function - use the extension disable string when extension are querried. - -2003-08-20 07:36 robert - - * src/osgPlugins/txp/trPagePageManager.cpp, - src/osgPlugins/txp/trPagePageManager.h: Moved the delete of - expired subgraphs to the database thread to improve - the stability of the frame rate. - -2003-08-19 19:46 robert - - * src/osgPlugins/txp/trPagePageManager.cpp, - src/osgPlugins/txp/trPagePageManager.h: Fixes to the database - paging. - -2003-08-19 14:05 robert - - * include/osgGA/KeySwitchMatrixManipulator, - src/osgProducer/Viewer.cpp, - src/osgProducer/ViewerEventHandler.cpp: Fixed typo of - getNumMatrixManipulators(). - -2003-08-19 13:01 robert - - * src/osgPlugins/txp/TrPageParser.cpp: Removed inappropriate - static_cast<>. - -2003-08-18 19:51 robert - - * src/osg/Texture.cpp: 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. - -2003-08-18 19:36 robert - - * include/osg/TextureRectangle, src/osg/TextureRectangle.cpp: Added - applyTexImage_subload() implemention into TextureRectangle class - to provide automatic support for texture subloading. - -2003-08-18 15:14 robert - - * include/osg/Timer: Changed private to protected to allow Timer to - be subclassed more easily. - -2003-08-18 15:12 robert - - * include/osg/Timer: Added getSecondsPerClick() method to Timer. - -2003-08-18 10:58 robert - - * Make/makedefs, examples/osganimate/GNUmakefile, - examples/osganimate/GNUmakefile.inst, - examples/osgautotransform/GNUmakefile, - examples/osgautotransform/GNUmakefile.inst, - examples/osgbillboard/GNUmakefile, - examples/osgbillboard/GNUmakefile.inst, - examples/osgcallback/GNUmakefile, - examples/osgcallback/GNUmakefile.inst, - examples/osgcameragroup/GNUmakefile, - examples/osgcameragroup/GNUmakefile.inst, - examples/osgclip/GNUmakefile, examples/osgclip/GNUmakefile.inst, - examples/osgcluster/GNUmakefile, - examples/osgcluster/GNUmakefile.inst, - examples/osgconv/GNUmakefile.inst, examples/osgcopy/GNUmakefile, - examples/osgcopy/GNUmakefile.inst, - examples/osgcubemap/GNUmakefile, - examples/osgcubemap/GNUmakefile.inst, - examples/osgdemeter/GNUmakefile, - examples/osgdemeter/GNUmakefile.inst, - examples/osggeodemo/GNUmakefile, - examples/osggeodemo/GNUmakefile.inst, - examples/osggeometry/GNUmakefile, - examples/osggeometry/GNUmakefile.inst, - examples/osghangglide/GNUmakefile, - examples/osghangglide/GNUmakefile.inst, - examples/osghud/GNUmakefile, examples/osghud/GNUmakefile.inst, - examples/osgimpostor/GNUmakefile, - examples/osgimpostor/GNUmakefile.inst, - examples/osgkeyboard/GNUmakefile, - examples/osgkeyboard/GNUmakefile.inst, - examples/osglight/GNUmakefile, - examples/osglight/GNUmakefile.inst, - examples/osglightpoint/GNUmakefile.inst, - examples/osglogo/GNUmakefile, examples/osglogo/GNUmakefile.inst, - examples/osgmultitexture/GNUmakefile, - examples/osgmultitexture/GNUmakefile.inst, - examples/osgoccluder/GNUmakefile, - examples/osgoccluder/GNUmakefile.inst, - examples/osgparticle/GNUmakefile, - examples/osgparticle/GNUmakefile.inst, - examples/osgpick/GNUmakefile, examples/osgpick/GNUmakefile.inst, - examples/osgpoints/GNUmakefile, - examples/osgpoints/GNUmakefile.inst, - examples/osgprerender/GNUmakefile, - examples/osgprerender/GNUmakefile.inst, - examples/osgprerendercubemap/GNUmakefile, - examples/osgprerendercubemap/GNUmakefile.inst, - examples/osgreflect/GNUmakefile, - examples/osgreflect/GNUmakefile.inst, - examples/osgscribe/GNUmakefile, - examples/osgscribe/GNUmakefile.inst, - examples/osgsequence/GNUmakefile, - examples/osgsequence/GNUmakefile.inst, - examples/osgshaders/GNUmakefile, - examples/osgshaders/GNUmakefile.inst, - examples/osgshadowtexture/GNUmakefile, - examples/osgshadowtexture/GNUmakefile.inst, - examples/osgshape/GNUmakefile, - examples/osgshape/GNUmakefile.inst, - examples/osgstereoimage/GNUmakefile, - examples/osgstereoimage/GNUmakefile.inst, - examples/osgteapot/GNUmakefile, - examples/osgteapot/GNUmakefile.inst, - examples/osgtext/GNUmakefile, examples/osgtext/GNUmakefile.inst, - examples/osgtexture1D/GNUmakefile, - examples/osgtexture1D/GNUmakefile.inst, - examples/osgtexture2D/GNUmakefile, - examples/osgtexture2D/GNUmakefile.inst, - examples/osgtexture3D/GNUmakefile, - examples/osgtexture3D/GNUmakefile.inst, - examples/osgtexturerectangle/GNUmakefile, - examples/osgtexturerectangle/GNUmakefile.inst, - examples/osgunittests/GNUmakefile, - examples/osgunittests/GNUmakefile.inst, - examples/osgversion/GNUmakefile, - examples/osgversion/GNUmakefile.inst, - examples/osgvertexprogram/GNUmakefile, - examples/osgvertexprogram/GNUmakefile.inst, - examples/osgviewer/GNUmakefile, - examples/osgviewer/GNUmakefile.inst, - examples/osgwindows/GNUmakefile, - examples/osgwindows/GNUmakefile.inst, - examples/slideshow3D/GNUmakefile, - examples/slideshow3D/GNUmakefile.inst, - src/osgProducer/GNUmakefile: Added X_INC into the Make/makedefs - and changed the *GNUmakefile* to use it. - -2003-08-18 09:24 robert - - * include/osg/Texture, include/osgParticle/ParticleSystem, - include/osgUtil/PickVisitor, include/osgUtil/Statistics, - src/osgUtil/PickVisitor.cpp: Fixes for Java build. - -2003-08-16 20:42 robert - - * Make/makedefs, src/osg/Billboard.cpp: Fixes to Cygwin/Mingw - makedefs. - - Converted unix line endinges to dos line endings in various VS - project files. - -2003-08-16 18:52 don - - * src/osgPlugins/rgb/ReaderWriterRGB.cpp: Added check for byte - swapping when writing RGB files so rgb files can be - created on big endian machines - -2003-08-15 09:44 robert - - * VisualStudio/examples/osgcluster/osgcluster.dsp, - VisualStudio/examples/osgpick/osgpick.dsp, - VisualStudio/examples/osgshape/osgshape.dsp, - VisualStudio/examples/osgstereoimage/osgstereoimage.dsp, - VisualStudio/examples/osgtext/osgtextdemo.dsp, - VisualStudio/examples/osgvertexprogram/osgvertexprogram.dsp, - VisualStudio/examples/osgwindows/osgwindows.dsp, - VisualStudio/osgPlugins/osgSim/dot_osgSim.dsp, - VisualStudio/osgProducer/osgProducer.dsp: Did a to_dos on - examples, plugins and core libs. - -2003-08-15 09:38 robert - - * src/osg/Drawable.cpp, src/osg/Texture.cpp: Changed cout's to - notufy(INFO). - -2003-08-14 00:05 robert - - * include/osg/NodeVisitor, include/osgDB/DatabasePager, - include/osgParticle/ParticleProcessor, src/osg/NodeVisitor.cpp, - src/osgDB/DatabasePager.cpp, src/osgPlugins/txp/TrPageParser.cpp, - src/osgPlugins/txp/trPagePageManager.cpp, - src/osgProducer/Viewer.cpp: 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. - -2003-08-12 23:36 robert +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. - * Make/makedefs: Added -lOpenThreads to the IRIX OTHER_LIBS - definition. +Tue, 7 Aug 2007 15:51:49 +0000 +Checked in by : Robert Osfield +Removed TerrainNode.cpp from CMakeLists.txt -2003-08-12 23:06 robert +Tue, 7 Aug 2007 15:30:05 +0000 +Checked in by : Robert Osfield +Added preliminary shell of osgTerrain plugin - * src/osgPlugins/quicktime/QTtexture.cpp, - src/osgPlugins/quicktime/ReaderWriterQT.cpp: Fixed capitalization - of QTtexture.h +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 ?" -2003-08-12 10:15 robert +Tue, 7 Aug 2007 10:37:42 +0000 +Checked in by : Robert Osfield +Re-introduceed GDAL plugin - * src/osg/Geometry.cpp: Fixed DrawVertex/DrawColors access of null - arrays errors. +Tue, 7 Aug 2007 10:33:25 +0000 +Checked in by : Robert Osfield +Re-introduced GDAL plugin. -2003-08-09 00:46 robert +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 - * include/osg/Geometry, src/osg/Geometry.cpp: Added - s/getFastPathHint(). +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. -2003-08-08 14:41 don +Mon, 6 Aug 2007 11:52:04 +0000 +Checked in by : Robert Osfield +Updated README - * Make/makedefs, Make/makerules: updates makedefs and makerules for - Mac OSX submitted by Bob Kuehne +Mon, 6 Aug 2007 11:50:40 +0000 +Checked in by : Robert Osfield +Updated ChangeLog, and AUTHORS file for release -2003-08-08 00:36 robert +Mon, 6 Aug 2007 11:24:53 +0000 +Checked in by : Robert Osfield +Updated version numbers for release - * src/osgUtil/CullVisitor.cpp, src/osgUtil/SceneView.cpp: Added - support for clampping the near and far values in othrographic - projection. - - Fixed the handling of anaglyphic/stereo state in - SceneView::draw(). +Mon, 6 Aug 2007 09:28:28 +0000 +Checked in by : Robert Osfield +Changed debug message to INFO level -2003-08-08 00:21 robert +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. - * include/osg/Geometry, src/osg/Geometry.cpp: 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. +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." -2003-08-08 00:19 robert +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. - * include/osg/ColorMask: Added convience constructor. +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 -2003-08-04 22:03 robert +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." - * src/osg/Geometry.cpp: Fixed computeFastPathsUsed() so that it - includes a check for the presence - of _vertexIndices and disables fast paths in this case. +Fri, 3 Aug 2007 16:08:36 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-08-04 21:09 robert +Fri, 3 Aug 2007 14:50:58 +0000 +Checked in by : Robert Osfield +Added perlimnary support for reading the DISPLAY variable. - * src/osgGL2/ProgramObject.cpp: From Romano Magacho. add osg:: to - Referenced() calls for IRIX build. +Thu, 2 Aug 2007 16:23:40 +0000 +Checked in by : Robert Osfield +Changed the projection matrix resize policy. -2003-08-04 21:04 robert +Thu, 2 Aug 2007 12:36:03 +0000 +Checked in by : Robert Osfield +From Martin Lavery, XCode updates for the new Renderer class - * VisualStudio/osgPlugins/osgSim/dot_osgSim.dsp: From Gideon May, - added 'd' to end of osgdb_osgSim.lib for debug build. +Thu, 2 Aug 2007 12:27:09 +0000 +Checked in by : Robert Osfield +Added return 0; -2003-08-04 16:26 don +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 - * examples/osgdemeter/GNUmakefile, examples/osgpoints/GNUmakefile, - examples/osgprerendercubemap/GNUmakefile: Removed a couple of - stray PRODUCER_LIB_DIR definitions in the examples +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 -2003-08-03 02:59 robert +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. - * src/osgPlugins/ive/PagedLOD.cpp: Fixed VC6 for scoping problem in - ive plugin. +Mon, 30 Jul 2007 16:02:03 +0000 +Checked in by : Robert Osfield +Updated AUTHORS file for release -2003-08-03 00:24 robert +Mon, 30 Jul 2007 15:56:52 +0000 +Checked in by : Robert Osfield +Updated ChangeLog for release - * src/osgDB/Registry.cpp: From Romano Magacho, fix for compile - problem under IRIX. +Mon, 30 Jul 2007 15:25:21 +0000 +Checked in by : Robert Osfield +Updated version number for 2.1.3 dev release -2003-07-26 23:44 robert +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. - * Make/makedefs: Post release revision change. +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 -2003-07-26 23:06 robert +Sat, 28 Jul 2007 10:28:40 +0000 +Checked in by : Robert Osfield +Introduce Camera::s/getRenderer(). - * doc/dependencies.html: Updated dependencies. +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* + -2003-07-26 22:44 don + files joint : - * Make/makedefs, NEWS.txt: Small typo + OpenSceneGraph/include/osgIntrospection/Reflector // modified file + OpenSceneGraph/src/osgIntrospection/Reflector.cpp // modified file -2003-07-26 22:32 robert +" - * NEWS.txt: Typos fixed. -2003-07-26 21:06 robert - * ChangeLog: Updated changelog for release. +Fri, 27 Jul 2007 17:14:51 +0000 +Checked in by : Robert Osfield +From Bryan Thrall, added copying of boundingbox callback to copy constructor. -2003-07-26 21:01 robert +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. - * NEWS.txt: Updated NEWS for release. +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." -2003-07-26 19:08 robert +Fri, 27 Jul 2007 15:26:43 +0000 +Checked in by : Robert Osfield +Updated svn::externals - * NEWS.txt: Updated NEWS +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." -2003-07-26 18:57 robert +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. - * src/osgPlugins/jpeg/GNUmakefile, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp: Fixed warning in jpeg - loader by replacing longjmp with throw/catch. +... -2003-07-26 14:15 robert +I have put a comment on +line 521 where I have moved the "delete []path" below. +" - * src/osgPlugins/jpeg/ReaderWriterJPEG.cpp: Fixed long jump - warning. - CV: - ---------------------------------------------------------------------- -2003-07-26 04:51 robert - * doc/dependencies.html: Added openthreads to list of - dependencies.: -2003-07-26 04:25 robert +Tue, 24 Jul 2007 14:52:51 +0000 +Checked in by : Robert Osfield +Updated AUTHORS - * src/osgPlugins/txp/trpage_compat.cpp, - src/osgPlugins/txp/trpage_geom.cpp, - src/osgPlugins/txp/trpage_header.cpp, - src/osgPlugins/txp/trpage_label.cpp, - src/osgPlugins/txp/trpage_light.cpp, - src/osgPlugins/txp/trpage_managers.cpp, - src/osgPlugins/txp/trpage_material.cpp, - src/osgPlugins/txp/trpage_model.cpp, - src/osgPlugins/txp/trpage_parse.cpp, - src/osgPlugins/txp/trpage_pparse.cpp, - src/osgPlugins/txp/trpage_print.cpp, - src/osgPlugins/txp/trpage_range.cpp, - src/osgPlugins/txp/trpage_rarchive.cpp, - src/osgPlugins/txp/trpage_readbuf.cpp, - src/osgPlugins/txp/trpage_scene.cpp, - src/osgPlugins/txp/trpage_tile.cpp, - src/osgPlugins/txp/trpage_util.cpp, - src/osgPlugins/txp/trpage_util.h, - src/osgPlugins/txp/trpage_warchive.cpp, - src/osgPlugins/txp/trpage_writebuf.cpp: Fixed warnings. +Tue, 24 Jul 2007 14:47:41 +0000 +Checked in by : Robert Osfield +Updated ChangeLog -2003-07-26 01:02 don +Tue, 24 Jul 2007 14:43:46 +0000 +Checked in by : Robert Osfield +Updated version for dev release - * GNUmakefile, Make/makedirdefs, examples/GNUmakefile, - src/GNUmakefile: Fixes to makedefs/makedirdefs ordering in some - makefiles, and conditional - build for osgslideshow on Sun +Tue, 24 Jul 2007 14:30:31 +0000 +Checked in by : Robert Osfield +Fixed warning -2003-07-26 00:12 don +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 - * Make/makedefs: Removed command line definitions of OSG_VERSION - and OSG_RELEASE -2003-07-25 23:49 don - * Make/makedefs, examples/osganimate/GNUmakefile, - examples/osgautotransform/GNUmakefile, - examples/osgbillboard/GNUmakefile, - examples/osgcallback/GNUmakefile, - examples/osgcameragroup/GNUmakefile, - examples/osgclip/GNUmakefile, examples/osgcluster/GNUmakefile, - examples/osgconv/GNUmakefile, examples/osgcopy/GNUmakefile, - examples/osgcubemap/GNUmakefile, examples/osggeodemo/GNUmakefile, - examples/osggeometry/GNUmakefile, - examples/osghangglide/GNUmakefile, examples/osghud/GNUmakefile, - examples/osgimpostor/GNUmakefile, - examples/osgkeyboard/GNUmakefile, examples/osglight/GNUmakefile, - examples/osglightpoint/GNUmakefile, examples/osglogo/GNUmakefile, - examples/osgmultitexture/GNUmakefile, - examples/osgoccluder/GNUmakefile, - examples/osgparticle/GNUmakefile, examples/osgpick/GNUmakefile, - examples/osgprerender/GNUmakefile, - examples/osgreflect/GNUmakefile, examples/osgscribe/GNUmakefile, - examples/osgsequence/GNUmakefile, - examples/osgshaders/GNUmakefile, - examples/osgshadowtexture/GNUmakefile, - examples/osgshape/GNUmakefile, - examples/osgstereoimage/GNUmakefile, - examples/osgteapot/GNUmakefile, examples/osgtext/GNUmakefile, - examples/osgtexture1D/GNUmakefile, - examples/osgtexture2D/GNUmakefile, - examples/osgtexture3D/GNUmakefile, - examples/osgtexturerectangle/GNUmakefile, - examples/osgunittests/GNUmakefile, - examples/osgversion/GNUmakefile, - examples/osgvertexprogram/GNUmakefile, - examples/osgviewer/GNUmakefile, examples/osgwindows/GNUmakefile, - examples/slideshow3D/GNUmakefile, - src/osgPlugins/txp/trpage_write.h, src/osgProducer/GNUmakefile: - Removed references to PRODUCER_INCLUDE_DIR and PRODUCER_LIB_DIR - in the - local makefiles. - - Small change in txp loader for sun build -2003-07-24 06:13 robert +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: - * examples/slideshow3D/GNUmakefile, - examples/slideshow3D/GNUmakefile.inst: Fixed warnings. +MFC_OSG.cpp: -2003-07-24 06:09 robert + Removed pixelformatdesciptor from the class initialization. - * examples/slideshow3D/ReaderWriterXML.cpp: Fixed warning. + Used setInheritedWindowPixelFormat to true so it will setup the pixelformat for the window. -2003-07-24 06:07 robert + Added class destructor code. - * src/osgPlugins/osgSim/IO_Sector.cpp: Fixed warning, which was - actually a bug, sometimes you've just gotta love - pedantic warnings. +MFC_OSG.h: -2003-07-24 06:05 robert + Removed the ref_ptr on osgViewer::Viewer - * src/osgDB/FieldReader.cpp: Fix warnings. - -2003-07-23 21:32 robert - - * src/osgPlugins/txp/trPagePageManager.cpp: Removed all references - to sleep/usleep. - -2003-07-23 21:18 robert - - * src/osgPlugins/txp/trPagePageManager.cpp: Moved t->testCancel() - to end of loop. - - Changed a sleep() to a Yield. - - Removed debugging messages. - -2003-07-23 21:03 robert - - * examples/slideshow3D/SlideShowConstructor.cpp: From Gideon, - update to the PolygonOffset for the background quad. - -2003-07-23 20:57 robert - - * src/osgPlugins/osgSim/GNUmakefile: Added makefile. - -2003-07-23 20:55 robert - - * src/osg/State.cpp: Made the fine grained checking of GL errors - off by default. - -2003-07-23 20:53 robert - - * include/osg/Drawable, src/osg/Drawable.cpp: From Romano José - Magacho da Silva, extension checking for NV_occlusion_query - extension. - -2003-07-23 20:50 robert - - * include/osg/GLExtensions: From Sean, fix for Sun windows - extension checking. - -2003-07-23 20:38 robert - - * VisualStudio/osgPlugins/txp/txp.dsp: Fixes to paths and - dependancies. - -2003-07-23 19:08 don - - * Make/makedefs: Added conditionals to find OpenThreads include and - library directories if - not installed - -2003-07-23 18:32 robert - - * VisualStudio/VisualStudio.dsw, - VisualStudio/osgPlugins/txp/txp.dsp, - src/osgPlugins/txp/TrPageParser.cpp: Fixes for Win32 build. - -2003-07-23 18:25 robert - - * VisualStudio/examples/slideshow3D/slideshow3D.dsp: Fixed typo of - SlideShowContructor.cpp - -2003-07-23 15:52 robert - - * VisualStudio/osgPlugins/ive/ive.dsp, src/osgDB/DatabasePager.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/GNUmakefile, src/osgPlugins/ive/PagedLOD.cpp, - src/osgPlugins/ive/PagedLOD.h, src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/txp/trPagePageManager.cpp: 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. - -2003-07-23 15:12 robert - - * examples/slideshow3D/SlideEventHandler.cpp, - examples/slideshow3D/SlideEventHandler.h, - examples/slideshow3D/slideshow3D.cpp, runexamples.bat: Added - control of auto option into slideshow3D - -2003-07-23 15:00 robert - - * NEWS.txt, examples/slideshow3D/SlideEventHandler.cpp: Fixed - typo's slideshow3D - -2003-07-23 14:59 robert - - * src/osgProducer/ViewerEventHandler.cpp: Fixed blending mode on - stats output. - -2003-07-23 14:06 robert - - * Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/osgPlugins/osgSim, - VisualStudio/osgPlugins/osgSim/dot_osgSim.dsp, - dist/RPM/OpenSceneGraph.spec, include/osgSim/BlinkSequence, - include/osgSim/LightPointNode, include/osgSim/Sector, - src/osgPlugins/osgSim, - src/osgPlugins/osgSim/IO_BlinkSequence.cpp, - src/osgPlugins/osgSim/IO_LightPoint.cpp, - src/osgPlugins/osgSim/IO_LightPoint.h, - src/osgPlugins/osgSim/IO_LightPointNode.cpp, - src/osgPlugins/osgSim/IO_Sector.cpp, - src/osgSim/BlinkSequence.cpp, src/osgSim/LightPointNode.cpp, - src/osgSim/Sector.cpp: From Gideon May, added support for osgSim - into .osg file format. - -2003-07-23 13:34 robert - - * VisualStudio/osgPlugins/txp/txp.dsp, - src/osgPlugins/txp/GNUmakefile, - src/osgPlugins/txp/IO_TerrapageNode.cpp, - src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/ReaderWriterTXP.h, - src/osgPlugins/txp/TerrapageNode.cpp, - src/osgPlugins/txp/TerrapageNode.h, - src/osgPlugins/txp/TrPageArchive.cpp, - src/osgPlugins/txp/TrPageArchive.h, - src/osgPlugins/txp/TrPageParser.cpp, - src/osgPlugins/txp/TrPageParser.h, - src/osgPlugins/txp/WaitBlock.h, - src/osgPlugins/txp/trPagePageManager.cpp, - src/osgPlugins/txp/trPagePageManager.h, - src/osgPlugins/txp/trdll.h, src/osgPlugins/txp/trpage_basic.cpp, - src/osgPlugins/txp/trpage_compat.cpp, - src/osgPlugins/txp/trpage_compat.h, - src/osgPlugins/txp/trpage_geom.cpp, - src/osgPlugins/txp/trpage_geom.h, - src/osgPlugins/txp/trpage_header.cpp, - src/osgPlugins/txp/trpage_ident.h, - src/osgPlugins/txp/trpage_io.h, - src/osgPlugins/txp/trpage_label.cpp, - src/osgPlugins/txp/trpage_light.cpp, - src/osgPlugins/txp/trpage_main.cpp, - src/osgPlugins/txp/trpage_managers.cpp, - src/osgPlugins/txp/trpage_managers.h, - src/osgPlugins/txp/trpage_material.cpp, - src/osgPlugins/txp/trpage_model.cpp, - src/osgPlugins/txp/trpage_nodes.cpp, - src/osgPlugins/txp/trpage_parse.cpp, - src/osgPlugins/txp/trpage_pparse.cpp, - src/osgPlugins/txp/trpage_print.cpp, - src/osgPlugins/txp/trpage_print.h, - src/osgPlugins/txp/trpage_range.cpp, - src/osgPlugins/txp/trpage_rarchive.cpp, - src/osgPlugins/txp/trpage_read.h, - src/osgPlugins/txp/trpage_readbuf.cpp, - src/osgPlugins/txp/trpage_scene.cpp, - src/osgPlugins/txp/trpage_scene.h, - src/osgPlugins/txp/trpage_swap.cpp, - src/osgPlugins/txp/trpage_swap.h, - src/osgPlugins/txp/trpage_sys.h, - src/osgPlugins/txp/trpage_tile.cpp, - src/osgPlugins/txp/trpage_util.cpp, - src/osgPlugins/txp/trpage_util.h, - src/osgPlugins/txp/trpage_warchive.cpp, - src/osgPlugins/txp/trpage_write.h, - src/osgPlugins/txp/trpage_writebuf.cpp: Merged changes from - Nicklov Trajce and Boris Bralo. - -2003-07-23 12:06 robert - - * doc/data.html, doc/documentation.html: Updated docs to reflect - new data direcory. - -2003-07-23 11:45 robert - - * include/osg/TriangleFunctor, - src/osgParticle/FluidFrictionOperator.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/flt/MultiTextureRecord.cpp, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgUtil/TriStrip_graph_array.h: Warning fixes from Gideon - May. - -2003-07-23 11:37 robert - - * VisualStudio/examples/slideshow3D, - VisualStudio/examples/slideshow3D/slideshow3D.dsp: Added - slideshow3D.dsp. - -2003-07-23 11:27 robert - - * doc/doc++/osg/AlphaFunc.html, doc/doc++/osg/AnimationPath.html, - doc/doc++/osg/AnimationPathCallback.html, - doc/doc++/osg/ApplicationUsage.html, doc/doc++/osg/Array.html, - doc/doc++/osg/AttributeFunctor.html, - doc/doc++/osg/AutoTransform.html, doc/doc++/osg/Billboard.html, - doc/doc++/osg/BlendFunc.html, doc/doc++/osg/BoundingBox.html, - doc/doc++/osg/BoundingSphere.html, doc/doc++/osg/Box.html, - doc/doc++/osg/ClearNode.html, doc/doc++/osg/ClipNode.html, - doc/doc++/osg/ClipPlane.html, - doc/doc++/osg/CollectOccludersVisitor.html, - doc/doc++/osg/ColorMask.html, doc/doc++/osg/ColorMatrix.html, - doc/doc++/osg/CompositeShape.html, doc/doc++/osg/Cone.html, - doc/doc++/osg/ConstAttributeFunctor.html, - doc/doc++/osg/ConstShapeVisitor.html, - doc/doc++/osg/ConvexHull.html, - doc/doc++/osg/ConvexPlanarOccluder.html, - doc/doc++/osg/CopyOp.html, doc/doc++/osg/CullFace.html, - doc/doc++/osg/CullStack.html, doc/doc++/osg/CullingSet.html, - doc/doc++/osg/Cylinder.html, doc/doc++/osg/DOFTransform.html, - doc/doc++/osg/DatabaseRequestHandler.html, - doc/doc++/osg/DeleteHandler.html, doc/doc++/osg/Depth.html, - doc/doc++/osg/DisplaySettings.html, - doc/doc++/osg/DrawArrayLengths.html, - doc/doc++/osg/DrawArrays.html, - doc/doc++/osg/DrawElementsUByte.html, - doc/doc++/osg/DrawElementsUInt.html, - doc/doc++/osg/DrawElementsUShort.html, - doc/doc++/osg/DrawPixels.html, doc/doc++/osg/Drawable.html, - doc/doc++/osg/Endian.html, doc/doc++/osg/Extensions.2.html, - doc/doc++/osg/Extensions.3.html, doc/doc++/osg/Extensions.4.html, - doc/doc++/osg/Extensions.5.html, doc/doc++/osg/Extensions.6.html, - doc/doc++/osg/Extensions.html, doc/doc++/osg/Fog.html, - doc/doc++/osg/FragmentProgram.html, - doc/doc++/osg/FrameStamp.html, doc/doc++/osg/FrontFace.html, - doc/doc++/osg/General.html, doc/doc++/osg/Geode.html, - doc/doc++/osg/Geometry.html, doc/doc++/osg/Grid.html, - doc/doc++/osg/Group.html, doc/doc++/osg/HIER.html, - doc/doc++/osg/HIERjava.html, doc/doc++/osg/HeightField.html, - doc/doc++/osg/Image.html, doc/doc++/osg/Impostor.html, - doc/doc++/osg/ImpostorSprite.html, - doc/doc++/osg/ImpostorSpriteManager.html, - doc/doc++/osg/IndexArray.html, doc/doc++/osg/InfinitePlane.html, - doc/doc++/osg/LOD.html, doc/doc++/osg/Light.html, - doc/doc++/osg/LightModel.html, doc/doc++/osg/LightSource.html, - doc/doc++/osg/LineSegment.html, doc/doc++/osg/LineStipple.html, - doc/doc++/osg/LineWidth.html, doc/doc++/osg/META_Node.html, - doc/doc++/osg/META_Object.html, doc/doc++/osg/META_Shape.html, - doc/doc++/osg/META_StateAttribute.html, - doc/doc++/osg/Material.html, doc/doc++/osg/Matrix.html, - doc/doc++/osg/MatrixTransform.html, doc/doc++/osg/Node.html, - doc/doc++/osg/NodeAcceptOp.html, doc/doc++/osg/NodeCallback.html, - doc/doc++/osg/NodeVisitor.html, - doc/doc++/osg/NotifySeverity.html, doc/doc++/osg/Object.html, - doc/doc++/osg/OccluderNode.html, doc/doc++/osg/PagedLOD.html, - doc/doc++/osg/Plane.html, doc/doc++/osg/Point.html, - doc/doc++/osg/PolygonMode.html, doc/doc++/osg/PolygonOffset.html, - doc/doc++/osg/PolygonStipple.html, doc/doc++/osg/Polytope.html, - doc/doc++/osg/PositionAttitudeTransform.html, - doc/doc++/osg/PrimitiveFunctor.html, - doc/doc++/osg/PrimitiveSet.html, doc/doc++/osg/Projection.html, - doc/doc++/osg/QualifiedTestPrinter.html, doc/doc++/osg/Quat.html, - doc/doc++/osg/RefMatrix.html, doc/doc++/osg/Referenced.html, - doc/doc++/osg/Sequence.html, doc/doc++/osg/ShadeModel.html, - doc/doc++/osg/ShadowVolumeOccluder.html, - doc/doc++/osg/Shape.html, doc/doc++/osg/ShapeDrawable.html, - doc/doc++/osg/ShapeVisitor.html, doc/doc++/osg/Sphere.html, - doc/doc++/osg/State.html, doc/doc++/osg/StateAttribute.html, - doc/doc++/osg/StateSet.html, doc/doc++/osg/Stencil.html, - doc/doc++/osg/SubloadCallback.2.html, - doc/doc++/osg/SubloadCallback.3.html, - doc/doc++/osg/SubloadCallback.4.html, - doc/doc++/osg/SubloadCallback.5.html, - doc/doc++/osg/SubloadCallback.html, doc/doc++/osg/Switch.html, - doc/doc++/osg/TemplateArray.html, - doc/doc++/osg/TemplateIndexArray.html, - doc/doc++/osg/TessellationHints.html, doc/doc++/osg/Test.html, - doc/doc++/osg/TestCase.html, doc/doc++/osg/TestCase_.html, - doc/doc++/osg/TestContext.html, doc/doc++/osg/TestErrorX.html, - doc/doc++/osg/TestFailureX.html, doc/doc++/osg/TestGraph.html, - doc/doc++/osg/TestQualifier.html, doc/doc++/osg/TestRecord.html, - doc/doc++/osg/TestReport.html, doc/doc++/osg/TestRunner.html, - doc/doc++/osg/TestSuite.html, - doc/doc++/osg/TestSuiteAutoRegistrationAgent.html, - doc/doc++/osg/TestVisitor.html, doc/doc++/osg/TestX.html, - doc/doc++/osg/TexEnv.html, doc/doc++/osg/TexEnvCombine.html, - doc/doc++/osg/TexGen.html, doc/doc++/osg/TexMat.html, - doc/doc++/osg/Texture.html, doc/doc++/osg/Texture1D.html, - doc/doc++/osg/Texture2D.html, doc/doc++/osg/Texture3D.html, - doc/doc++/osg/TextureCubeMap.html, - doc/doc++/osg/TextureObject.html, - doc/doc++/osg/TextureObjectManager.html, - doc/doc++/osg/TextureRectangle.html, doc/doc++/osg/Timer.html, - doc/doc++/osg/TraceStream.html, doc/doc++/osg/Transform.html, - doc/doc++/osg/TriangleFunctor.html, - doc/doc++/osg/TriangleMesh.html, doc/doc++/osg/UByte4.html, - doc/doc++/osg/Vec2.html, doc/doc++/osg/Vec3.html, - doc/doc++/osg/Vec4.html, doc/doc++/osg/VectorSizei.html, - doc/doc++/osg/VectorUByte.html, doc/doc++/osg/VectorUInt.html, - doc/doc++/osg/VectorUShort.html, - doc/doc++/osg/VertexProgram.html, doc/doc++/osg/Viewport.html, - doc/doc++/osg/buffered_object.html, - doc/doc++/osg/buffered_value.html, - doc/doc++/osg/clampArray3BetweenRange.html, - doc/doc++/osg/clampArray3GEQUAL.html, - doc/doc++/osg/clampArray3LEQUAL.html, - doc/doc++/osg/clampArray4BetweenRange.html, - doc/doc++/osg/clampArray4GEQUAL.html, - doc/doc++/osg/clampArray4LEQUAL.html, - doc/doc++/osg/clampArrayElementBetweenRange.html, - doc/doc++/osg/clampArrayElementGEQUAL.html, - doc/doc++/osg/clampArrayElementLEQUAL.html, - doc/doc++/osg/clampArrayElementsBetweenRange.html, - doc/doc++/osg/clampArrayElementsGEQUAL.html, - doc/doc++/osg/clampArrayElementsLEQUAL.html, - doc/doc++/osg/clampBetweenRange.html, - doc/doc++/osg/clampGEQUAL.html, doc/doc++/osg/clampLEQUAL.html, - doc/doc++/osg/createGeodeForImage.2.html, - doc/doc++/osg/createTexturedQuadGeometry.html, - doc/doc++/osg/fast_back_stack.html, doc/doc++/osg/index.html, - doc/doc++/osg/osg.html, doc/doc++/osg/ref_ptr.html, - doc/doc++/osgDB/DatabasePager.html, - doc/doc++/osgDB/DotOsgWrapper.html, - doc/doc++/osgDB/DynamicLibrary.html, doc/doc++/osgDB/Field.html, - doc/doc++/osgDB/FieldReader.html, - doc/doc++/osgDB/FieldReaderIterator.html, - doc/doc++/osgDB/General.html, doc/doc++/osgDB/HIER.html, - doc/doc++/osgDB/HIERjava.html, doc/doc++/osgDB/Input.html, - doc/doc++/osgDB/Options.html, doc/doc++/osgDB/Output.html, - doc/doc++/osgDB/ParameterOutput.html, - doc/doc++/osgDB/PushAndPopDataPath.html, - doc/doc++/osgDB/ReadResult.html, - doc/doc++/osgDB/ReaderWriter.html, - doc/doc++/osgDB/RegisterDotOsgWrapperProxy.html, - doc/doc++/osgDB/RegisterReaderWriterProxy.html, - doc/doc++/osgDB/Registry.html, doc/doc++/osgDB/WriteResult.html, - doc/doc++/osgDB/basic_type_wrapper.html, - doc/doc++/osgDB/index.html, doc/doc++/osgDB/osgDB.html, - doc/doc++/osgDB/type_wrapper.html, - doc/doc++/osgGA/AnimationPathManipulator.html, - doc/doc++/osgGA/CompositeGUIEventHandler.html, - doc/doc++/osgGA/DriveManipulator.html, - doc/doc++/osgGA/FlightManipulator.html, - doc/doc++/osgGA/GUIActionAdapter.html, - doc/doc++/osgGA/GUIEventAdapter.html, - doc/doc++/osgGA/GUIEventHandler.html, - doc/doc++/osgGA/GUIEventHandlerVisitor.html, - doc/doc++/osgGA/General.html, doc/doc++/osgGA/HIER.html, - doc/doc++/osgGA/HIERjava.html, - doc/doc++/osgGA/KeySwitchMatrixManipulator.html, - doc/doc++/osgGA/MatrixManipulator.html, - doc/doc++/osgGA/SetSceneViewVisitor.html, - doc/doc++/osgGA/TrackballManipulator.html, - doc/doc++/osgGA/index.html, doc/doc++/osgGA/osgGA.html, - doc/doc++/osgGL2, doc/doc++/osgGL2/ClassGraph.class, - doc/doc++/osgGL2/ClassGraphPanel.class, - doc/doc++/osgGL2/ClassLayout.class, - doc/doc++/osgGL2/Extensions.html, doc/doc++/osgGL2/General.html, - doc/doc++/osgGL2/HIER.html, doc/doc++/osgGL2/HIERjava.html, - doc/doc++/osgGL2/NavigatorButton.class, - doc/doc++/osgGL2/PerContextProgObj.html, - doc/doc++/osgGL2/PerContextShaderObj.html, - doc/doc++/osgGL2/ProgramObject.html, - doc/doc++/osgGL2/ShaderObject.html, doc/doc++/osgGL2/icon1.gif, - doc/doc++/osgGL2/icon2.gif, doc/doc++/osgGL2/index.html, - doc/doc++/osgGL2/osgGL2.html, - doc/doc++/osgProducer/Callback.html, - doc/doc++/osgProducer/EventAdapter.html, - doc/doc++/osgProducer/General.html, - doc/doc++/osgProducer/HIERjava.html, - doc/doc++/osgProducer/KeyboardMouseCallback.html, - doc/doc++/osgProducer/OsgCameraGroup.html, - doc/doc++/osgProducer/OsgSceneHandler.html, - doc/doc++/osgProducer/Viewer.html, - doc/doc++/osgProducer/index.html, - doc/doc++/osgProducer/osgProducer.html, - doc/doc++/osgSim/AzimElevationSector.html, - doc/doc++/osgSim/AzimSector.html, - doc/doc++/osgSim/BlinkSequence.html, - doc/doc++/osgSim/ConeSector.html, - doc/doc++/osgSim/ElevationSector.html, - doc/doc++/osgSim/General.html, doc/doc++/osgSim/HIER.html, - doc/doc++/osgSim/HIERjava.html, doc/doc++/osgSim/LightPoint.html, - doc/doc++/osgSim/LightPointNode.html, - doc/doc++/osgSim/Sector.html, - doc/doc++/osgSim/SphereSegment.html, doc/doc++/osgSim/index.html, - doc/doc++/osgSim/osgSim.html, doc/doc++/osgText/DefaultFont.html, - doc/doc++/osgText/Font.html, - doc/doc++/osgText/FontImplementation.html, - doc/doc++/osgText/Glyph.html, - doc/doc++/osgText/GlyphTexture.html, - doc/doc++/osgText/KerningType.html, - doc/doc++/osgText/String.html, doc/doc++/osgText/Text.html, - doc/doc++/osgText/osgText.html, - doc/doc++/osgUtil/CombineLODsVisitor.html, - doc/doc++/osgUtil/CullVisitor.html, - doc/doc++/osgUtil/FlattenStaticTransformsVisitor.html, - doc/doc++/osgUtil/General.html, doc/doc++/osgUtil/HIER.html, - doc/doc++/osgUtil/HIERjava.html, - doc/doc++/osgUtil/MergeGeometryVisitor.html, - doc/doc++/osgUtil/Optimizer.html, - doc/doc++/osgUtil/RemoveEmptyNodesVisitor.html, - doc/doc++/osgUtil/RemoveRedundantNodesVisitor.html, - doc/doc++/osgUtil/RenderBin.html, - doc/doc++/osgUtil/RenderLeaf.html, - doc/doc++/osgUtil/RenderStage.html, - doc/doc++/osgUtil/RenderToTextureStage.html, - doc/doc++/osgUtil/SceneView.html, - doc/doc++/osgUtil/StateVisitor.html, - doc/doc++/osgUtil/Statistics.html, - doc/doc++/osgUtil/Tesselator.html, - doc/doc++/osgUtil/TransformAttributeFunctor.html, - doc/doc++/osgUtil/TransformCallback.html, - doc/doc++/osgUtil/TriStripVisitor.html, - doc/doc++/osgUtil/UpdateVisitor.html, - doc/doc++/osgUtil/index.html, doc/doc++/osgUtil/osgUtil.html: - Updated doc++ documentation. - -2003-07-23 10:11 robert - - * VisualStudio/VisualStudio.dsw: Fixed osgslideshow3D to - slideshow3D - -2003-07-23 09:27 robert - - * NEWS.txt, VisualStudio/VisualStudio.dsw: Added slideshow3D to the - examples list under VisualStudio. - - Partially updated the NEWS.txt. - -2003-07-23 08:54 robert - - * Make/makedefs, src/osg/Version.cpp, src/osgDB/Version.cpp, - src/osgGA/Version.cpp, src/osgParticle/Version.cpp, - src/osgProducer/Version.cpp, src/osgSim/Version.cpp, - src/osgText/Version.cpp, src/osgUtil/Version.cpp: Bumped up - version numbers in preperation for the 0.9.5 release. - -2003-07-23 08:48 robert - - * examples/osgcameragroup/osgcameragroup.cpp: Made the keyboard - mouse callback a ref_ptr<> managed object to fix ref count - problem. - -2003-07-23 08:18 robert - - * src/osg/Image.cpp: Added check to allocateImage() so that if the - pixel size wouldn't be computed - unless valid _data already existed on the object. - -2003-07-22 21:03 robert - - * include/osg/State, runexamples.bat, src/osg/State.cpp, - src/osgDB/DatabasePager.cpp, src/osgUtil/SceneView.cpp: Added - support for osg::State::s/getInitialViewMatrix(); - - Added slideshow3D examples to the runexamples.bat. - - Fixed DatabasePager to work with the latest OpenThreads. - -2003-07-22 15:35 robert - - * examples/slideshow3D/ReaderWriterXML.cpp, - examples/slideshow3D/SlideEventHandler.cpp, - examples/slideshow3D/SlideShowConstructor.cpp, - examples/slideshow3D/SlideShowConstructor.h: Updates to the - slideshow3D app. - -2003-07-22 12:48 robert - - * include/osgSim/BlinkSequence, src/osgSim/BlinkSequence.cpp: Made - BlinkSequence subclass from osg::Object. - -2003-07-22 12:39 robert - - * Make/makedirdefs, VisualStudio/osgDB/osgDB.dsp, - examples/osgslideshow, examples/slideshow3D, - examples/slideshow3D/DefaultPresentation.cpp, - examples/slideshow3D/GNUmakefile, - examples/slideshow3D/GNUmakefile.inst, - examples/slideshow3D/ReaderWriterXML.cpp, - examples/slideshow3D/SlideEventHandler.cpp, - examples/slideshow3D/SlideEventHandler.h, - examples/slideshow3D/SlideShowConstructor.cpp, - examples/slideshow3D/SlideShowConstructor.h, - examples/slideshow3D/slideshow3D.cpp: Added XML support and - slideshow constructor to slideshow3D example, now - renamed from the previous osgslideshow. - -2003-07-22 10:33 robert - - * include/osgSim/Sector: Changed the Sector classes so they are - derive from osg::Object to allow them - to be shared objects with the .osg support. - -2003-07-22 08:42 robert +MFC_OSG_MDIViewer.cpp: - * examples/osgtexturerectangle/osgtexturerectangle.cpp: Added - Images/ infront of lz.rgb path. + Changed the OnDestroy function code. -2003-07-21 18:36 robert + Added WaitforSingleObject with thread handle for the MFC render handle. - * include/osgDB/Input, include/osgDB/Registry, src/osgDB/Input.cpp, - src/osgDB/Registry.cpp, src/osgPlugins/3dc/ReaderWriter3DC.cpp, - src/osgPlugins/osg/Drawable.cpp, src/osgPlugins/osg/Shape.cpp, - src/osgPlugins/osg/ShapeDrawable.cpp, - src/osgPlugins/osgParticle/IO_ModularEmitter.cpp, - src/osgPlugins/osgParticle/IO_ModularProgram.cpp: From Marco, - updates to osgDB and .osg plugin to better handle reading of - objects of specified types. +MFC_OSG_MDIView.h: -2003-07-21 15:51 robert + Added class variable for MFC Render Thread Handle for use with the WaitforSingleObject. +" + - * src/osgDB/DatabasePager.cpp: Added yield call to database paging - main loop. -2003-07-21 15:26 robert - * VisualStudio/osgDB/osgDB.dsp: Fixed osgDB plugin. +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. -2003-07-21 11:54 robert +Mon, 23 Jul 2007 20:08:16 +0000 +Checked in by : Robert Osfield +Converted tabs to four spaces - * src/osgProducer/OsgCameraGroup.cpp: Removed old link. +Mon, 23 Jul 2007 18:19:02 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-07-21 10:39 robert +Mon, 23 Jul 2007 18:13:16 +0000 +Checked in by : Robert Osfield +From Mathias Froehlich, compile fix for OSX. - * src/osgDB/DatabasePager.cpp: Added missing DatabasePager. +Mon, 23 Jul 2007 16:42:25 +0000 +Checked in by : Robert Osfield +Added FlushDeletedGLObjectsOperation. -2003-07-21 10:11 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. - * Make/makedefs: Added -lOpenThreads to the OSX defines. +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 -2003-07-21 08:19 robert +Thu, 19 Jul 2007 18:59:20 +0000 +Checked in by : Robert Osfield +Added reset it to set block correctly before use. - * VisualStudio/osgDB/osgDB.dsp, - VisualStudio/osgProducer/osgProducer.dsp, - include/osgDB/DatabasePager, include/osgProducer/DatabasePager, - include/osgProducer/OsgCameraGroup, src/osgDB/GNUmakefile, - src/osgProducer/GNUmakefile, src/osgProducer/Viewer.cpp: Moved - DatabasePager into from osgProducer into osgDB. This means that - osgDB - is now dependant on OpenThreads. +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. -2003-07-20 00:51 don +Thu, 19 Jul 2007 16:42:36 +0000 +Checked in by : Robert Osfield +Updated wrappers - * VisualStudio/examples/osgcluster/osgcluster.dsp, - VisualStudio/examples/osgpick/osgpick.dsp, - VisualStudio/examples/osgshape/osgshape.dsp, - VisualStudio/examples/osgstereoimage/osgstereoimage.dsp, - VisualStudio/examples/osgtext/osgtextdemo.dsp, - VisualStudio/examples/osgvertexprogram/osgvertexprogram.dsp, - VisualStudio/examples/osgwindows/osgwindows.dsp, - VisualStudio/osgProducer/osgProducer.dsp: Integrated OpenThreads - and brought dsps up to snuff on Win32 +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 -2003-07-19 17:55 don +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 - * Make/instexamplesrc, Make/instrules: Small bug in instrules +Wed, 18 Jul 2007 16:48:25 +0000 +Checked in by : Robert Osfield +Added setting of ThreadSafeRefUnref to true. -2003-07-19 17:46 don +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. - * Make/instexamplesrc, Make/instrules: passing $(MAKE) into - instexamplesrc script to shut the religious fanatics - on the mailing list up. +Wed, 18 Jul 2007 16:14:59 +0000 +Checked in by : Robert Osfield +Commented out debug messages -2003-07-19 00:18 don +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. - * Make/instexamplesrc, Make/instrules, Make/makedefs, - include/osgProducer/DatabasePager, - include/osgProducer/KeyboardMouseCallback, - src/osgProducer/DatabasePager.cpp, src/osgProducer/GNUmakefile, - src/osgProducer/OsgSceneHandler.cpp: Updated OSG to use - OpenThreads. Moved any references to OpenThread to - OpenThreads and removed any dependency on Producer threads, - Mutexes, etc. +Wed, 18 Jul 2007 09:05:11 +0000 +Checked in by : Robert Osfield +Added missing export symbol. -2003-07-17 06:43 robert +Tue, 17 Jul 2007 17:36:44 +0000 +Checked in by : Robert Osfield +Added traverse method implementation into GeometryTechnique. - * AUTHORS.txt, VisualStudio/osg/osg.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, - include/osg/FragmentProgram, src/osg/FragmentProgram.cpp, - src/osg/GNUmakefile, src/osgPlugins/osg/FragmentProgram.cpp, - src/osgPlugins/osg/GNUmakefile, src/osgUtil/SceneView.cpp: From - Romano Jose Magacho da Silva, added osg:FragmentProgram. - - From Robert, add .osg support for FragmentProgram. +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. -2003-07-16 22:26 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. - * VisualStudio/osgPlugins/osg/dot_osg.dsp, - src/osgPlugins/osg/GNUmakefile, - src/osgPlugins/osg/VertexProgram.cpp: From Ruben, added support - for vertex program in .osg loader. +Added compile context support into osgterrain example. -2003-07-16 22:15 robert - * AUTHORS.txt, include/osg/Matrix, include/osgUtil/SceneView, - src/osgUtil/SceneView.cpp: Added setProjectionMatrix*(), - setViewMatrix*() and get*() methods to osgUtil::SceneView. -2003-07-16 20:14 robert +Tue, 17 Jul 2007 09:15:08 +0000 +Checked in by : Robert Osfield +Fixed typo - * examples/osgunittests/osgunittests.cpp, include/osg/Matrix, - src/osg/Matrix.cpp: 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... +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 -2003-07-16 13:17 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. - * src/osgProducer/ViewerEventHandler.cpp: Rejigged the management - of state in the stats and help drawing so that it used - StateSet's rather than straight OpenGL calls. +Mon, 16 Jul 2007 15:47:42 +0000 +Checked in by : Robert Osfield +Added custom colour support to TransferFunction setup. -2003-07-16 09:52 robert +Mon, 16 Jul 2007 15:13:47 +0000 +Checked in by : Robert Osfield +Improvements to the .terrain file support - * include/osgGL2/ProgramObject, src/osg/Drawable.cpp, - src/osg/Texture.cpp, src/osg/VertexProgram.cpp, - src/osgGL2/ProgramObject.cpp: 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. +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 -2003-07-15 21:19 robert +Sat, 14 Jul 2007 17:16:09 +0000 +Checked in by : Robert Osfield +Updated wrappers - * include/osg/Drawable, include/osg/Texture, include/osg/Timer, - include/osg/VertexProgram, include/osgProducer/DatabasePager, - src/osg/Drawable.cpp, src/osg/Texture.cpp, src/osg/Texture2D.cpp, - src/osg/Timer.cpp, src/osg/VertexProgram.cpp, - src/osgProducer/DatabasePager.cpp, src/osgProducer/Viewer.cpp, - src/osgUtil/SceneView.cpp: 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. +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. -2003-07-15 20:23 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. - * VisualStudio/osgGL2/osgGL2.dsp: Fixed case of OSGL2_EXPORT define - in project file. - -2003-07-15 18:52 robert - - * include/osgGL2/ProgramObject: Added extern + export's to global - functions. - -2003-07-15 18:19 robert - - * src/osgGL2/Extensions.cpp: Added missing osg:: infront of - Referenced() contructor. +Fri, 13 Jul 2007 19:24:50 +0000 +Checked in by : Robert Osfield +Converted Operations to GraphicsOperations where apporpriate. -2003-07-15 16:22 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. - * include/osg/StateAttribute, include/osgGL2/ProgramObject: Moved - PROGRAMOBJECT definition into StateAttribute. +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. -2003-07-15 16:20 robert +Fri, 13 Jul 2007 11:49:16 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/png/ReaderWriterPNG.cpp: Fix for compile oddities - on an Octane with old zlib headers hanging around, - change is non intrusive. +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." -2003-07-15 15:49 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." - * VisualStudio/VisualStudio.dsw: Added osgGL2 to workspace file. +Fri, 13 Jul 2007 11:31:56 +0000 +Checked in by : Robert Osfield +Added setCurrentEventState method -2003-07-15 13:46 robert +Fri, 13 Jul 2007 11:22:44 +0000 +Checked in by : Robert Osfield +Updated wrappers - * VisualStudio/osg/osg.dsp, VisualStudio/osgUtil/osgUtil.dsp, - include/osg/Statistics, include/osgUtil/RenderBin, - include/osgUtil/RenderStage, include/osgUtil/Statistics, - src/osgUtil/RenderBin.cpp, src/osgUtil/RenderStage.cpp: Moved - osg::Statistics to osgUtil::Statistics and merged addition to it - fro Pavel Moloshtan. +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. -2003-07-15 11:49 robert +Added WindowSizeHandler to osgkeyboard to help with debugging of event state +between windows. - * include/osgUtil/SceneView, src/osgGA/SetSceneViewVisitor.cpp, - src/osgProducer/OsgSceneHandler.cpp, src/osgProducer/Viewer.cpp, - src/osgUtil/SceneView.cpp: 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 - * Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgshaders, - VisualStudio/examples/osgshaders/osgshaders.dsp, - VisualStudio/osgGL2, VisualStudio/osgGL2/osgGL2.dsp, - examples/osgshaders, examples/osgshaders/GL2Scene.cpp, - examples/osgshaders/GNUmakefile, - examples/osgshaders/GNUmakefile.inst, - examples/osgshaders/osgshaders.cpp, include/osgGL2, - include/osgGL2/Export, include/osgGL2/Extensions, - include/osgGL2/ProgramObject, include/osgGL2/Version, src/osgGL2, - src/osgGL2/Extensions.cpp, src/osgGL2/GNUmakefile, - src/osgGL2/ProgramObject.cpp, src/osgGL2/Version.cpp: From Mike - Weiblen's osgGL2 node kit which support the latest OpenGL 2.0 - extensions. +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. -2003-07-15 09:39 robert +Thu, 12 Jul 2007 20:10:56 +0000 +Checked in by : Robert Osfield +Fixed spelling of cartesian. - * VisualStudio/examples/osgcallback/osgcallback.dsp, - VisualStudio/examples/osgcopy/osgcopy.dsp, - VisualStudio/osgUtil/osgUtil.dsp, - include/osgProducer/DatabasePager, - src/osgPlugins/osg/PagedLOD.cpp, - src/osgProducer/DatabasePager.cpp: From Bart Gallet, updates to - VisualStudo .dsp's to keep things compiling under Windows. +Thu, 12 Jul 2007 16:37:06 +0000 +Checked in by : Robert Osfield +From Martin Lavery, updates to Xcode projects -2003-07-15 08:17 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. - * include/osg/ref_ptr: From Gideon May, added - - typedef T element_type; - - To ref_ptr<> to make it compatible with the boost ref_ptr<> - implemenations. +Updated the rest of the OSG to respect these changes. -2003-07-15 07:53 robert - * examples/osgpbuffer/RenderToTextureStage.cpp, - src/osgPlugins/txp/trPagePageManager.cpp, - src/osgProducer/DatabasePager.cpp, src/osgProducer/GNUmakefile: - Compile fixes. -2003-07-14 19:12 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 - * examples/osgpbuffer/RenderToTextureStage.cpp: Attempt to fix - compile error caused by recent change in osg::Texture. +Thu, 12 Jul 2007 09:03:43 +0000 +Checked in by : Robert Osfield +From Martin Lavery, Update to Packaging files for Xcode build -2003-07-14 14:42 robert +Thu, 12 Jul 2007 08:29:39 +0000 +Checked in by : Robert Osfield +Added better description of TransferFunction. - * examples/osgautotransform/osgautotransform.cpp, - include/osg/StateSet, include/osg/Texture, include/osg/Texture1D, - include/osg/Texture3D, include/osgText/Text, src/osg/GNUmakefile, - src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2D.cpp, src/osg/Texture3D.cpp, - src/osg/TextureCubeMap.cpp, src/osg/TextureRectangle.cpp, - src/osgPlugins/txp/trPagePageManager.cpp, - src/osgProducer/DatabasePager.cpp, src/osgText/Font.cpp, - src/osgText/Text.cpp, src/osgUtil/SceneView.cpp: Added support - for texture object manager, which provides an automatic mechansim - for reusing deleted textures. +Wed, 11 Jul 2007 16:06:24 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-07-11 22:05 robert +Wed, 11 Jul 2007 16:06:04 +0000 +Checked in by : Robert Osfield +Fixed typo - * src/osgPlugins/flt/FltFile.h, src/osgPlugins/flt/GeoSetBuilder.h: - warning fixes for IRIX. +Wed, 11 Jul 2007 15:51:17 +0000 +Checked in by : Robert Osfield +From Paul Melis, fixes to spelling mistakes/typos. -2003-07-11 18:46 don +Wed, 11 Jul 2007 15:50:05 +0000 +Checked in by : Robert Osfield +Updated version number in prep for 2.1.1 dev release - * include/osg/Timer: included for SGI compilation of - Timer header file +Wed, 11 Jul 2007 15:30:14 +0000 +Checked in by : Robert Osfield +From Andre Garneau, minor warning fixes -2003-07-10 15:23 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 - * src/osgProducer/DatabasePager.cpp: Added dataToMergeList into - checks for active subgraphs. - -2003-07-10 14:53 robert - - * include/osg/LOD, include/osg/PagedLOD, - include/osgProducer/DatabasePager, src/osg/Drawable.cpp, - src/osg/LOD.cpp, src/osg/PagedLOD.cpp, - src/osgProducer/DatabasePager.cpp, src/osgProducer/Viewer.cpp, - src/osgProducer/ViewerEventHandler.cpp: Added default constructor - implemention to LOD and PagedLOD. - - Added verbose messages to DatabasePager. +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. -2003-07-10 13:48 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 - * examples/osgconv/osgconv.cpp: Fix to accomodate function name - change in osgDB::Registry. +Tue, 10 Jul 2007 19:29:11 +0000 +Checked in by : Robert Osfield +Added OperationsThread -2003-07-10 13:35 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 - * include/osgDB/Output, include/osgDB/Registry, - src/osgDB/Output.cpp, src/osgDB/Registry.cpp: 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. +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 -2003-07-10 13:18 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. - * src/osgText/Text.cpp: From Tree, fixes for text bounding box - initialization. +Mon, 9 Jul 2007 15:02:03 +0000 +Checked in by : Robert Osfield +Fixed unitialized variables. -2003-07-10 13:11 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 - * include/osg/Group, src/osg/Group.cpp: From Eric Sokolosky, - insertChild(). +Mon, 9 Jul 2007 11:05:24 +0000 +Checked in by : Robert Osfield +Updated version number for 2.1.0 dev release -2003-07-10 11:10 robert +Mon, 9 Jul 2007 11:05:04 +0000 +Checked in by : Robert Osfield +Added OpertionQueue - * include/osgProducer/DatabasePager, - src/osgProducer/DatabasePager.cpp, src/osgProducer/Viewer.cpp: - Updates to the DatabasePager code to include support for - compiling texture - objects and display lists before merging loaded subgraphs with - the main - scene graph. +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. -2003-07-10 08:05 robert +Mon, 9 Jul 2007 10:48:32 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osg/PagedLOD.cpp: From Bob Kuehne, Fixed typo. +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 -2003-07-10 07:51 robert +Mon, 9 Jul 2007 10:12:37 +0000 +Checked in by : Robert Osfield +Fixed missinged intialization of the _threadsRunning variable. - * VisualStudio/osgProducer/osgProducer.dsp: Fixed typo. +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 -2003-07-09 19:48 robert +Fri, 6 Jul 2007 20:00:11 +0000 +Checked in by : Robert Osfield +Updared wrappers - * include/osgProducer/DatabasePager, - src/osgProducer/DatabasePager.cpp: Further updates to the - DatabasePager. +Fri, 6 Jul 2007 16:54:45 +0000 +Checked in by : Robert Osfield +Added include of DeleteHandler -2003-07-09 14:55 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 - * include/osg/Group, include/osg/PagedLOD, - include/osgProducer/DatabasePager, - include/osgProducer/OsgSceneHandler, src/osg/Group.cpp, - src/osg/PagedLOD.cpp, src/osgProducer/DatabasePager.cpp, - src/osgProducer/OsgCameraGroup.cpp, src/osgProducer/Viewer.cpp: - Improvements to the DatabasePager and PagedLOD class adding - support for - deleting expuired children in the database thread. -2003-07-09 07:41 robert - * src/osgProducer/DatabasePager.cpp: Added #include to - DatabasePager.cpp. +Fri, 6 Jul 2007 14:07:59 +0000 +Checked in by : Robert Osfield +From Jea-Sebastien Guay and Robert Osfield, build fixes for Windows -2003-07-08 14:44 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)." - * Make/makedirdefs, VisualStudio/osg/osg.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, - VisualStudio/osgProducer/osgProducer.dsp, - examples/osgconv/GNUmakefile.inst, - examples/osgviewer/osgviewer.cpp, include/osg/NodeVisitor, - include/osg/PagedLOD, include/osgProducer/DatabasePager, - include/osgProducer/OsgCameraGroup, include/osgProducer/Viewer, - include/osgUtil/CullVisitor, src/osg/GNUmakefile, - src/osg/PagedLOD.cpp, src/osgDB/Registry.cpp, - src/osgPlugins/osg/GNUmakefile, src/osgPlugins/osg/PagedLOD.cpp, - src/osgProducer/DatabasePager.cpp, src/osgProducer/GNUmakefile, - src/osgProducer/OsgCameraGroup.cpp, src/osgProducer/Viewer.cpp: - Added osg::PagedLOD and osgProducer::DatabasePager class, and - linked up osgProducer::Viewer - to manage the pager. +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." -2003-07-07 08:01 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. - * src/osg/Geometry.cpp: Tweaked osg::Geometry's VBO code so that it - should not call - VBO when the extension is not supported. +Changed DatabasePager across to dynamically checcking osg::getCompileContext(..) -2003-07-05 19:49 robert +Updated wrappers. - * src/osg/Drawable.cpp: Added missing setUseVertexBufferObject(). -2003-07-05 19:08 robert - * README.txt, src/osg/Drawable.cpp, src/osgDB/DynamicLibrary.cpp, - src/osgParticle/FluidFrictionOperator.cpp: Integrated various - fixes from users. +Fri, 6 Jul 2007 09:06:37 +0000 +Checked in by : Robert Osfield +Added #include -2003-07-02 01:56 don +Thu, 5 Jul 2007 18:41:54 +0000 +Checked in by : Robert Osfield +Updated wrappers. - * src/osg/Geometry.cpp: Fixed glBindBufferARB to - extensions->glBindBuffer() +Thu, 5 Jul 2007 18:33:20 +0000 +Checked in by : Robert Osfield +Added support for managing a CompileContext. Rearranged the DeleteHandler::flushAll call. -2003-06-30 06:41 robert +Thu, 5 Jul 2007 18:32:12 +0000 +Checked in by : Robert Osfield +Added debug messages to catch key modified state - * src/osgPlugins/flt/AttrData.h: Added an osg:: infront of the - Object() copy constructor call to AttrData. +Thu, 5 Jul 2007 18:30:57 +0000 +Checked in by : Robert Osfield +Improved the computation of the side vector -2003-06-29 21:53 robert +Thu, 5 Jul 2007 18:30:20 +0000 +Checked in by : Robert Osfield +Improved the mapping of update and cull traversal - * src/osgPlugins/3dc/ReaderWriter3DC.cpp: Added support for - chunking the point data clouds into 10,000 point chunks to - better optimize the VBO and AGP needs. +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). " -2003-06-29 21:41 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. - * include/osg/Array, include/osg/Drawable, include/osg/Geometry, - include/osg/State, src/osg/Drawable.cpp, src/osg/Geometry.cpp, - src/osg/State.cpp, src/osg/Texture.cpp, - src/osg/VertexProgram.cpp, src/osgUtil/Optimizer.cpp, - src/osgUtil/SceneView.cpp: Added support for the - ARB_vertex_buffer_object into osg::Geometry. +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"." -2003-06-28 17:35 don +Tue, 3 Jul 2007 13:26:48 +0000 +Checked in by : Robert Osfield +Added checking of GUIEventAdpter::getHandled(). - * Make/makeinnosetup: fixed makeinnosetup +Tue, 3 Jul 2007 10:00:41 +0000 +Checked in by : Robert Osfield +From Roger James, added GL_NORMALIZE mode to scaled models -2003-06-27 21:41 don +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 - * Make/makeinnosetup: Updates to makeinnosetup to work a bit - smoother +Mon, 2 Jul 2007 13:16:54 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-06-27 21:01 don +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 - * Make/help.sh, Make/makeinnosetup: Change some wording in help.sh - and added makeinnosetup +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 -2003-06-27 14:33 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. - * src/osgPlugins/osg/StateSet.cpp: Added #include - +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. -2003-06-27 14:33 robert +Tested on XP with osgviewer +" - * src/osg/StateSet.cpp: Added #include +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. -2003-06-26 16:21 robert - * include/osgText/Font, include/osgText/Text, - src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h, - src/osgText/DefaultFont.cpp, src/osgText/DefaultFont.h, - src/osgText/Font.cpp, src/osgText/Text.cpp: From Tree, updates to - osgText and freetype plugin to support are kerning paramter. -2003-06-25 22:11 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." - * examples/osgslideshow/DefaultPresentation.cpp: Addition of text - to default presentation. - -2003-06-25 10:39 robert - - * src/osgUtil/RenderBin.cpp: Fixed from Pavel for the stats in - RenderBin.cpp - -2003-06-25 10:30 robert - - * NEWS.txt, VisualStudio/osgPlugins/flt/flt.dsp, - include/osgUtil/RenderBin: 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 - - * src/osgPlugins/flt/AttrData.h, src/osgPlugins/flt/GNUmakefile, - src/osgPlugins/flt/GeoSetBuilder.cpp, - src/osgPlugins/flt/GeoSetBuilder.h, - src/osgPlugins/flt/GroupRecord.h, - src/osgPlugins/flt/MultiTextureRecord.h, - src/osgPlugins/flt/Pool.cpp, src/osgPlugins/flt/Pool.h, - src/osgPlugins/flt/ReaderWriterATTR.cpp, - src/osgPlugins/flt/Record.cpp, src/osgPlugins/flt/Registry.cpp, - src/osgPlugins/flt/Registry.h, src/osgPlugins/flt/UVListRecord.h, - src/osgPlugins/flt/flt.h, src/osgPlugins/flt/flt2osg.cpp, - src/osgPlugins/flt/flt2osg.h: From Julia Oritz Rojas, support for - detail textures. - -2003-06-25 08:58 robert - - * VisualStudio/osgPlugins/osg/dot_osg.dsp, src/osg/StateSet.cpp, - src/osgPlugins/osg/GNUmakefile, src/osgPlugins/osg/StateSet.cpp, - src/osgPlugins/osg/TextureRectangle.cpp: From Ulrich Hertlein, - added support for TextureRectangle to .osg format. - -2003-06-25 08:50 robert - - * src/osgUtil/IntersectVisitor.cpp: Spotted by Norman Vine - fixed - typo in intersect visitor. - -2003-06-25 07:59 robert - - * src/osgPlugins/osg/TessellationHints.cpp: Test of cvs. - -2003-06-25 07:50 robert - - * src/osgPlugins/osg/TessellationHints.cpp: Added - TessellationHints. - -2003-06-24 22:11 robert - - * VisualStudio/examples/osgprerendercubemap, - VisualStudio/examples/osgprerendercubemap/osgprerendercubemap.dsp: - Added missing file. - -2003-06-24 21:57 robert - - * Make/makedirdefs, VisualStudio/osg/osg.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, - VisualStudio/osgUtil/osgUtil.dsp, examples/osgdemeter, - examples/osgdemeter/GNUmakefile, - examples/osgdemeter/GNUmakefile.inst, - examples/osgdemeter/osgdemeter.cpp, examples/osgpoints, - examples/osgpoints/GNUmakefile, - examples/osgpoints/GNUmakefile.inst, - examples/osgpoints/osgpoints.cpp, examples/osgprerendercubemap, - examples/osgprerendercubemap/GNUmakefile, - examples/osgprerendercubemap/GNUmakefile.inst, - examples/osgprerendercubemap/osgprerendercubemap.cpp, - examples/osgshape/osgshape.cpp, examples/osgslideshow, - examples/osgslideshow/DefaultPresentation.cpp, - examples/osgslideshow/GNUmakefile, - examples/osgslideshow/GNUmakefile.inst, - examples/osgslideshow/SlideEventHandler.cpp, - examples/osgslideshow/SlideEventHandler.h, - examples/osgslideshow/osgslideshow.cpp, include/osg/Geometry, - include/osg/ShapeDrawable, include/osg/Texture2D, - include/osgUtil/TransformAttributeFunctor, src/osg/GNUmakefile, - src/osg/Geometry.cpp, src/osg/Image.cpp, - src/osg/ShapeDrawable.cpp, src/osg/Texture2D.cpp, - src/osgPlugins/ive/ConvexPlanarOccluder.cpp, - src/osgPlugins/ive/ConvexPlanarOccluder.h, - src/osgPlugins/ive/ConvexPlanarPolygon.cpp, - src/osgPlugins/ive/ConvexPlanarPolygon.h, - src/osgPlugins/ive/DrawElementsUInt.cpp, - src/osgPlugins/ive/DrawElementsUInt.h, - src/osgPlugins/ive/Impostor.cpp, src/osgPlugins/ive/Impostor.h, - src/osgPlugins/ive/OccluderNode.cpp, - src/osgPlugins/ive/OccluderNode.h, src/osgPlugins/ive/Point.cpp, - src/osgPlugins/ive/Point.h, src/osgPlugins/ive/PolygonOffset.cpp, - src/osgPlugins/ive/PolygonOffset.h, - src/osgPlugins/ive/ShadeModel.cpp, - src/osgPlugins/ive/ShadeModel.h, src/osgPlugins/ive/Switch.cpp, - src/osgPlugins/ive/Switch.h, src/osgPlugins/osg/GNUmakefile, - src/osgPlugins/osg/ShapeDrawable.cpp, src/osgSim/GNUmakefile, - src/osgUtil/GNUmakefile, src/osgUtil/Optimizer.cpp, - src/osgUtil/TransformAttributeFunctor.cpp: Additions since the - CVS back up was made. - -2003-06-24 15:40 don - - * Make/makedefs, Make/makedirdefs, Make/makepkg, - VisualStudio/VisualStudio.dsw, VisualStudio/osg/osg.dsp, - examples/osgcameragroup/GNUmakefile, - examples/osgcameragroup/osgcameragroup.cpp, - examples/osgconv/osgconv.cpp, examples/osghud/osghud.cpp, - examples/osglight/osglight.cpp, - examples/osgstereoimage/osgstereoimage.cpp, - examples/osgtexturerectangle/osgtexturerectangle.cpp, - examples/osgviewer/osgviewer.cpp, - include/osg/CollectOccludersVisitor, include/osg/Drawable, - include/osg/Geometry, include/osg/Image, include/osg/Math, - include/osg/Point, include/osg/State, - include/osg/TextureRectangle, include/osg/TriangleFunctor, - include/osgGA/GUIEventHandler, - include/osgProducer/OsgCameraGroup, - include/osgProducer/OsgSceneHandler, include/osgProducer/Viewer, - include/osgSim/LightPointNode, include/osgText/Text, - include/osgUtil/CullVisitor, include/osgUtil/SceneView, - include/osgUtil/UpdateVisitor, src/osg/CullStack.cpp, - src/osg/Drawable.cpp, src/osg/GNUmakefile, src/osg/Geometry.cpp, - src/osg/Image.cpp, src/osg/Material.cpp, src/osg/NodeVisitor.cpp, - src/osg/Point.cpp, src/osg/State.cpp, src/osg/TexEnvCombine.cpp, - src/osg/TextureRectangle.cpp, src/osgDB/Registry.cpp, - src/osgGA/GUIEventHandlerVisitor.cpp, - src/osgPlugins/3dc/ReaderWriter3DC.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/flt/GeoSetBuilder.cpp, - src/osgPlugins/flt/flt2osg.cpp, - src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/iv/scanner.cpp, - src/osgPlugins/ive/AnimationPathCallback.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/Drawable.cpp, src/osgPlugins/ive/GNUmakefile, - src/osgPlugins/ive/Geode.cpp, src/osgPlugins/ive/Geometry.cpp, - src/osgPlugins/ive/Group.cpp, src/osgPlugins/ive/Image.cpp, - src/osgPlugins/ive/LightSource.cpp, src/osgPlugins/ive/Node.cpp, - src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/ive/StateSet.cpp, - src/osgPlugins/ive/Texture2D.cpp, - src/osgPlugins/ive/TextureCubeMap.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/glm.cpp, src/osgPlugins/obj/glm.h, - src/osgPlugins/osg/Geometry.cpp, - src/osgPlugins/osgText/IO_Text.cpp, - src/osgPlugins/txp/TerrapageNode.cpp, - src/osgPlugins/txp/trPagePageManager.cpp, - src/osgPlugins/txp/trPagePageManager.h, - src/osgProducer/GNUmakefile, src/osgProducer/OsgCameraGroup.cpp, - src/osgProducer/OsgSceneHandler.cpp, src/osgProducer/Viewer.cpp, - src/osgProducer/ViewerEventHandler.cpp, src/osgSim/GNUmakefile, - src/osgSim/LightPointDrawable.cpp, - src/osgSim/LightPointDrawable.h, src/osgSim/LightPointNode.cpp, - src/osgText/Font.cpp, src/osgText/Text.cpp, - src/osgUtil/IntersectVisitor.cpp, src/osgUtil/Optimizer.cpp, - src/osgUtil/SceneView.cpp, src/osgUtil/SmoothingVisitor.cpp, - src/osgUtil/Tesselator.cpp: *** empty log message *** - -2003-06-24 15:39 don - - * VisualStudio/osgPlugins/ive/ive.dsp, doc/documentation.html, - examples/osgautotransform/osgautotransform.cpp: Updating 5/27/03 - backup with 6/20/03 tarball - -2003-06-24 15:36 don - - * LICENSE.txt, index.html: Update of 5/27/03 backup with 6/20/03 - tarball - -2003-05-27 17:04 robert - - * src/osgPlugins/ive/AnimationPath.cpp, - src/osgPlugins/ive/AnimationPath.h, - src/osgPlugins/ive/AnimationPathCallback.cpp, - src/osgPlugins/ive/AnimationPathCallback.h, - src/osgPlugins/ive/Billboard.cpp, src/osgPlugins/ive/Billboard.h, - src/osgPlugins/ive/BlendFunc.cpp, src/osgPlugins/ive/BlendFunc.h, - src/osgPlugins/ive/CullFace.cpp, src/osgPlugins/ive/CullFace.h, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/DataTypeSize.h, - src/osgPlugins/ive/DrawArrayLengths.cpp, - src/osgPlugins/ive/DrawArrayLengths.h, - src/osgPlugins/ive/DrawArrays.cpp, - src/osgPlugins/ive/DrawArrays.h, - src/osgPlugins/ive/DrawElementsUShort.cpp, - src/osgPlugins/ive/DrawElementsUShort.h, - src/osgPlugins/ive/Drawable.cpp, src/osgPlugins/ive/Drawable.h, - src/osgPlugins/ive/Exception.cpp, src/osgPlugins/ive/Exception.h, - src/osgPlugins/ive/Geode.cpp, src/osgPlugins/ive/Geode.h, - src/osgPlugins/ive/Geometry.cpp, src/osgPlugins/ive/Geometry.h, - src/osgPlugins/ive/Group.cpp, src/osgPlugins/ive/Group.h, - src/osgPlugins/ive/Image.cpp, src/osgPlugins/ive/Image.h, - src/osgPlugins/ive/LOD.cpp, src/osgPlugins/ive/LOD.h, - src/osgPlugins/ive/Light.cpp, src/osgPlugins/ive/Light.h, - src/osgPlugins/ive/LightSource.cpp, - src/osgPlugins/ive/LightSource.h, - src/osgPlugins/ive/Material.cpp, src/osgPlugins/ive/Material.h, - src/osgPlugins/ive/MatrixTransform.cpp, - src/osgPlugins/ive/MatrixTransform.h, - src/osgPlugins/ive/Node.cpp, src/osgPlugins/ive/Node.h, - src/osgPlugins/ive/Object.cpp, src/osgPlugins/ive/Object.h, - src/osgPlugins/ive/PositionAttitudeTransform.cpp, - src/osgPlugins/ive/PositionAttitudeTransform.h, - src/osgPlugins/ive/PrimitiveSet.cpp, - src/osgPlugins/ive/PrimitiveSet.h, - src/osgPlugins/ive/ReadWrite.h, src/osgPlugins/ive/Sequence.cpp, - src/osgPlugins/ive/Sequence.h, src/osgPlugins/ive/StateSet.cpp, - src/osgPlugins/ive/StateSet.h, src/osgPlugins/ive/TexEnv.cpp, - src/osgPlugins/ive/TexEnv.h, - src/osgPlugins/ive/TexEnvCombine.cpp, - src/osgPlugins/ive/TexEnvCombine.h, - src/osgPlugins/ive/TexGen.cpp, src/osgPlugins/ive/TexGen.h, - src/osgPlugins/ive/Texture.cpp, src/osgPlugins/ive/Texture.h, - src/osgPlugins/ive/Texture2D.cpp, src/osgPlugins/ive/Texture2D.h, - src/osgPlugins/ive/TextureCubeMap.cpp, - src/osgPlugins/ive/TextureCubeMap.h, - src/osgPlugins/ive/Transform.cpp, src/osgPlugins/ive/Transform.h, - src/osgPlugins/ive/ViewPoint.cpp, src/osgPlugins/ive/ViewPoint.h: - Converted dos to unix file endings. - -2003-05-27 11:03 robert - - * include/osg/DisplaySettings, src/osg/ApplicationUsage.cpp, - src/osg/DisplaySettings.cpp, src/osgUtil/SceneView.cpp: Added - support for scaling the projection in vertical and horizontal - split stereo - modes. - -2003-05-27 11:02 robert - - * include/osg/Quat, src/osg/Quat.cpp: Reverted recent changes so - the set(Matrix&) method. - -2003-05-26 15:00 robert - - * src/osg/DisplaySettings.cpp, src/osgUtil/SceneView.cpp: - Adjustments to the horizontal and vertical split stereo code for - better - handling of aspect ratio. - -2003-05-26 11:02 robert - - * src/osgPlugins/3dc/ReaderWriter3DC.cpp: Added missing std:: - -2003-05-26 10:05 robert - - * Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/osgPlugins/3dc, VisualStudio/osgPlugins/3dc/3dc.dsp, - src/osgPlugins/3dc, src/osgPlugins/3dc/GNUmakefile, - src/osgPlugins/3dc/ReaderWriter3DC.cpp: Added 3dc plugin for - reading Arias 3D point clouds. - -2003-05-26 09:29 robert - - * include/osg/Texture: Moved the - GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB into its own #ifndef block - to help with OSX support. - -2003-05-26 09:27 robert - - * include/osgDB/ReaderWriter, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/osg/ReaderWriterOSG.cpp: Adding support using - istream and ostream with the reader writers. - -2003-05-25 21:06 robert - - * doc/examples.html, doc/install.html: Added mention of - DYLD_BIND_AT_LAUNCH to OSX docs. - -2003-05-25 16:08 robert - - * src/osgPlugins/dw/ReaderWriterDW.cpp: From Geoff Michel, - conversion from GeoSet to Geometry. - -2003-05-24 14:42 robert - - * src/osgPlugins/ive/AnimationPath.h, - src/osgPlugins/ive/AnimationPathCallback.h, - src/osgPlugins/ive/Billboard.h, src/osgPlugins/ive/BlendFunc.h, - src/osgPlugins/ive/CullFace.h, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/DrawArrayLengths.h, - src/osgPlugins/ive/DrawArrays.h, - src/osgPlugins/ive/DrawElementsUShort.h, - src/osgPlugins/ive/Drawable.h, src/osgPlugins/ive/Exception.h, - src/osgPlugins/ive/Export.h, src/osgPlugins/ive/Geode.h, - src/osgPlugins/ive/Geometry.h, src/osgPlugins/ive/Group.h, - src/osgPlugins/ive/Image.h, src/osgPlugins/ive/LOD.h, - src/osgPlugins/ive/Light.h, src/osgPlugins/ive/LightSource.h, - src/osgPlugins/ive/Material.h, - src/osgPlugins/ive/MatrixTransform.h, src/osgPlugins/ive/Node.h, - src/osgPlugins/ive/Object.h, - src/osgPlugins/ive/PositionAttitudeTransform.h, - src/osgPlugins/ive/PrimitiveSet.h, - src/osgPlugins/ive/ReadWrite.h, src/osgPlugins/ive/Sequence.h, - src/osgPlugins/ive/StateSet.h, src/osgPlugins/ive/TexEnv.h, - src/osgPlugins/ive/TexEnvCombine.h, src/osgPlugins/ive/TexGen.h, - src/osgPlugins/ive/Texture.h, src/osgPlugins/ive/Texture2D.h, - src/osgPlugins/ive/TextureCubeMap.h, - src/osgPlugins/ive/Transform.h, src/osgPlugins/ive/ViewPoint.h: - Removed export macro. - -2003-05-24 14:26 robert - - * examples/osgviewer/osgviewer.cpp, - src/osgPlugins/ive/DataTypeSize.h, - src/osgPlugins/ive/Exception.h, src/osgPlugins/ive/Object.h, - src/osgPlugins/ive/ReaderWriterIVE.cpp: Added missing std:: - -2003-05-23 19:51 robert - - * Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/osgPlugins/ive, VisualStudio/osgPlugins/ive/ive.dsp, - examples/osgviewer/osgviewer.cpp, src/osgPlugins/ive, - src/osgPlugins/ive/AnimationPath.cpp, - src/osgPlugins/ive/AnimationPath.h, - src/osgPlugins/ive/AnimationPathCallback.cpp, - src/osgPlugins/ive/AnimationPathCallback.h, - src/osgPlugins/ive/Billboard.cpp, src/osgPlugins/ive/Billboard.h, - src/osgPlugins/ive/BlendFunc.cpp, src/osgPlugins/ive/BlendFunc.h, - src/osgPlugins/ive/CullFace.cpp, src/osgPlugins/ive/CullFace.h, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/DataTypeSize.h, - src/osgPlugins/ive/DrawArrayLengths.cpp, - src/osgPlugins/ive/DrawArrayLengths.h, - src/osgPlugins/ive/DrawArrays.cpp, - src/osgPlugins/ive/DrawArrays.h, - src/osgPlugins/ive/DrawElementsUShort.cpp, - src/osgPlugins/ive/DrawElementsUShort.h, - src/osgPlugins/ive/Drawable.cpp, src/osgPlugins/ive/Drawable.h, - src/osgPlugins/ive/Exception.cpp, src/osgPlugins/ive/Exception.h, - src/osgPlugins/ive/Export.h, src/osgPlugins/ive/GNUmakefile, - src/osgPlugins/ive/Geode.cpp, src/osgPlugins/ive/Geode.h, - src/osgPlugins/ive/Geometry.cpp, src/osgPlugins/ive/Geometry.h, - src/osgPlugins/ive/Group.cpp, src/osgPlugins/ive/Group.h, - src/osgPlugins/ive/Image.cpp, src/osgPlugins/ive/Image.h, - src/osgPlugins/ive/LOD.cpp, src/osgPlugins/ive/LOD.h, - src/osgPlugins/ive/Light.cpp, src/osgPlugins/ive/Light.h, - src/osgPlugins/ive/LightSource.cpp, - src/osgPlugins/ive/LightSource.h, - src/osgPlugins/ive/Material.cpp, src/osgPlugins/ive/Material.h, - src/osgPlugins/ive/MatrixTransform.cpp, - src/osgPlugins/ive/MatrixTransform.h, - src/osgPlugins/ive/Node.cpp, src/osgPlugins/ive/Node.h, - src/osgPlugins/ive/Object.cpp, src/osgPlugins/ive/Object.h, - src/osgPlugins/ive/PositionAttitudeTransform.cpp, - src/osgPlugins/ive/PositionAttitudeTransform.h, - src/osgPlugins/ive/PrimitiveSet.cpp, - src/osgPlugins/ive/PrimitiveSet.h, - src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/ive/Sequence.cpp, src/osgPlugins/ive/Sequence.h, - src/osgPlugins/ive/StateSet.cpp, src/osgPlugins/ive/StateSet.h, - src/osgPlugins/ive/TexEnv.cpp, src/osgPlugins/ive/TexEnv.h, - src/osgPlugins/ive/TexEnvCombine.cpp, - src/osgPlugins/ive/TexEnvCombine.h, - src/osgPlugins/ive/TexGen.cpp, src/osgPlugins/ive/TexGen.h, - src/osgPlugins/ive/Texture.cpp, src/osgPlugins/ive/Texture.h, - src/osgPlugins/ive/Texture2D.cpp, src/osgPlugins/ive/Texture2D.h, - src/osgPlugins/ive/TextureCubeMap.cpp, - src/osgPlugins/ive/TextureCubeMap.h, - src/osgPlugins/ive/Transform.cpp, src/osgPlugins/ive/Transform.h, - src/osgPlugins/ive/ViewPoint.cpp, src/osgPlugins/ive/ViewPoint.h: - Added ive reader/writer - from Rune Schmidt Jensen/Michael - Gronager - -2003-05-22 15:29 robert - - * include/osgUtil/Optimizer, src/osg/Geometry.cpp, - src/osgUtil/Optimizer.cpp: Fixes to the Optimizer's handling of - merging of osg::Geometry - -2003-05-22 14:02 robert - - * examples/osgconv/GeoSet.h: Removed occurances of SG_EXPORT. - -2003-05-22 11:09 robert - - * src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.h: Convert Performer - plugin across to generate osg::Geometry directly. - -2003-05-22 08:40 robert - - * VisualStudio/highlight.reg, VisualStudio/highlight70.reg, - VisualStudio/highlight71.reg: Added syntax highlighting for - VisualStudio7.1 from Joseph Steel. - -2003-05-21 21:32 robert - - * include/osg/Quat, src/osg/Quat.cpp: Improved the handling of - scaled matrices in the Quat::set(Matrix&) method. - -2003-05-21 16:33 robert - - * src/osgProducer/OsgCameraGroup.cpp: 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 - - * examples/osgconv/GeoSet.cpp, examples/osgconv/GeoSet.h, - examples/osgconv/IO_GeoSet.cpp: Added GeoSet to osgconv. - -2003-05-21 12:15 robert - - * AUTHORS.txt, Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgconv/osgconv.dsp, - VisualStudio/osg/osg.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, - examples/osgcluster/osgcluster.cpp, examples/osgconv/GNUmakefile, - examples/osgconv/osgconv.cpp, - examples/osghangglide/GliderManipulator.h, include/osg/GeoSet, - include/osg/VertexProgram, include/osgUtil/Optimizer, - src/osg/GNUmakefile, src/osg/GeoSet.cpp, src/osg/GeoSet_ogl.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/iv/osgvisitor.cpp, src/osgPlugins/osg/GNUmakefile, - src/osgPlugins/osg/GeoSet.cpp, - src/osgPlugins/pfb/ConvertToPerformer.cpp, - src/osgPlugins/pfb/ConvertToPerformer.h, - src/osgPlugins/pfb/GNUmakefile, - src/osgPlugins/pfb/ReaderWriterPFB.cpp, - src/osgUtil/Optimizer.cpp: 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 - - * src/osgProducer/KeyboardMouseCallback.cpp: Added usage of the - InputRectangle into setting up of the EventAdapter. - -2003-05-20 19:48 robert - - * src/osgPlugins/ac3d/~ac3d.cpp: Removed spurious editing file. - -2003-05-20 14:05 robert - - * Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgtexturerectangle, - VisualStudio/examples/osgtexturerectangle/osgtexturerectangle.dsp, - examples/osgtexturerectangle, - examples/osgtexturerectangle/GNUmakefile, - examples/osgtexturerectangle/GNUmakefile.inst, - examples/osgtexturerectangle/osgtexturerectangle.cpp, - runexamples.bat: Added osgtexturerectangle example from Ulrich - Hertlein. +Sat, 30 Jun 2007 14:30:55 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-05-20 13:21 robert +Sat, 30 Jun 2007 14:30:44 +0000 +Checked in by : Robert Osfield +Added s/getUsage() method - * src/osgProducer/KeyboardMouseCallback.cpp, - src/osgProducer/Viewer.cpp: Fixes to the handling of mouse coords - after changes in the default behavior - of Producer. +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. -2003-05-20 11:01 robert +Sat, 30 Jun 2007 14:28:24 +0000 +Checked in by : Robert Osfield +Added debug path that creates the viewer on the heap. - * include/osgUtil/SceneView: Added setProjectMatrix(const Matrix&) - and setModelViewMatrix(const Matrix&) methods. +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. -2003-05-20 08:57 robert - * examples/osgclip/osgclip.cpp: Removed redundent write_usage - function. + Problem : -2003-05-20 08:47 robert + osgIntrospection::Value grp(new osg::Group); - * src/osgProducer/Viewer.cpp: 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. + osgIntrospection::ValueList vlcall; + vlcall.push_back(osgIntrospection::Value("toto")); -2003-05-20 08:43 robert + const osgIntrospection::MethodInfo *m = +grp->getType.getCompatibleMethod("setName", vlcall, true); - * examples/osgimpostor/TestManipulator.cpp: Fixed manipulator. + if (m) + { + m->invoke(grp, vlcall); // ** SEGFAULT here + } -2003-05-20 08:09 robert - * include/osg/Camera, src/osg/Camera.cpp: Removed the now redundent - osg::Camera. -2003-05-19 20:18 robert - * include/osgGA/KeySwitchCameraManipulator, - include/osgGA/KeySwitchMatrixManipulator, - src/osgGA/KeySwitchCameraManipulator.cpp, - src/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgUtil/DelaunayTriangulator.cpp: Removed all - KeySwitchCameraManipulator class, replacing it - with the KeySwitchMatrixManipulator -2003-05-19 15:15 robert + Algorithm explanation : - * VisualStudio/osg/osg.dsp, VisualStudio/osgGA/osgGA.dsp, - examples/osghangglide/GliderManipulator.cpp, - examples/osghangglide/GliderManipulator.h, - examples/osgimpostor/TestManipulator.cpp, - examples/osgimpostor/TestManipulator.h, - examples/osgparticle/osgparticle.cpp, - examples/osgstereoimage/osgstereoimage.cpp, - include/osgGA/AnimationPathManipulator, - include/osgGA/CameraManipulator, include/osgGA/DriveManipulator, - include/osgGA/FlightManipulator, include/osgGA/GUIActionAdapter, - include/osgGA/GUIEventHandlerVisitor, - include/osgGA/MatrixManipulator, - include/osgGA/SetSceneViewVisitor, - include/osgGA/TrackballManipulator, include/osgProducer/Viewer, - include/osgUtil/SceneView, src/osg/GNUmakefile, - src/osgGA/AnimationPathManipulator.cpp, - src/osgGA/CameraManipulator.cpp, src/osgGA/DriveManipulator.cpp, - src/osgGA/FlightManipulator.cpp, src/osgGA/GNUmakefile, - src/osgGA/MatrixManipulator.cpp, - src/osgGA/SetSceneViewVisitor.cpp, - src/osgGA/TrackballManipulator.cpp, - src/osgProducer/OsgCameraGroup.cpp, src/osgProducer/Viewer.cpp, - src/osgProducer/ViewerEventHandler.cpp, - src/osgUtil/SceneView.cpp: Removed remaining dependancies on - osg::Camera. + 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. -2003-05-17 13:15 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 - * src/osgDB/Output.cpp: Removed redundent const + Else it throw a "TypeConversionException". -2003-05-17 09:03 robert - * src/osgPlugins/pnm/GNUmakefile: Renamed png pnm -2003-05-17 08:36 robert - * include/osgDB/Output: Removed superfluous const -2003-05-14 16:07 don - * src/osgText/Text.cpp: Small operation precedence bug fixed in - Text.cpp -2003-05-09 13:07 robert + Bug : - * examples/osgcluster/osgcluster.cpp, include/osg/Drawable, - include/osg/Geometry, include/osg/State, - src/osg/AutoTransform.cpp, src/osg/Geometry.cpp, - src/osg/State.cpp: Updates to the handling of vertex attributes. + 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 -2003-05-08 15:13 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. - * VisualStudio/VisualStudio.dsw: Add osgUtil as a dependancy of - osgText -2003-05-08 14:02 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. - * src/osgUtil/Tesselator.cpp: Memory leak fixes from Joseph Steel. + 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 !!! -2003-05-07 15:26 robert - * include/osg/NodeVisitor: Added UserData to NodeVisitor. -2003-05-07 13:13 robert - * include/osg/Geometry, include/osg/State, src/osg/Geometry.cpp, - src/osg/State.cpp, src/osg/VertexProgram.cpp: From Romano José - Magacho da Silva, support for vertex attributes in vertex - program. + Solution : -2003-05-07 11:13 robert + 1) + Introduce the concept of dynamic_cast and static_cast. + now, to do a conversion, osgIntrospection does this : - * include/osgGA/GUIEventAdapter, include/osgProducer/EventAdapter, - include/osgProducer/KeyboardMouseCallback, - src/osgProducer/EventAdapter.cpp, - src/osgProducer/KeyboardMouseCallback.cpp: From Eric Sokolowsky, - support for mouse scroll wheel in osgGA/osgProducer. + - 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) -2003-05-07 09:35 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) - * examples/osghud/osghud.cpp, src/osgUtil/CullVisitor.cpp: Changed - the CullVisitor::popProjection() so that it doesn't adjust - orthorgraphic - projection matrices. + - 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 -2003-05-06 18:04 robert + Else it throw a "TypeConversionException". - * examples/osghud/osghud.cpp, include/osg/BlendFunc, - include/osg/Depth, src/osg/BlendFunc.cpp, src/osg/Depth.cpp: 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 + Add the "enum CastType" to distinguish the static_cast or +dynamic_cast converter. + Add file OpenSceneGraph/include/osgIntrospection/CastType - * examples/osgautotransform/osgautotransform.cpp, include/osg/Quat, - include/osg/buffered_value, include/osgText/String, - include/osgText/Text, src/osg/AutoTransform.cpp, - src/osgPlugins/osgText/IO_Text.cpp, src/osgText/Text.cpp: Added - support for multibuffering of tex coordinates. + 2) + add a line to accumulate converter in converter Path. -2003-05-05 14:30 robert + 3) + add a line to check if source and destination are pointer. +" - * src/osgText/Text.cpp: Fixed accept(PrimitiveFunctor&) so it uses - the transform coords correctly. -2003-05-02 18:24 robert - * Make/makedirdefs, src/osg/GNUmakefile: Fixed build. +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) -2003-05-01 21:06 robert +Sat, 30 Jun 2007 07:09:30 +0000 +Checked in by : Robert Osfield +Removed the old references to files now removed - * Make/makedirdefs, VisualStudio/examples/osgautotransform, - VisualStudio/examples/osgautotransform/osgautotransform.dsp, - examples/osgautotransform, examples/osgautotransform/GNUmakefile, - examples/osgautotransform/GNUmakefile.inst, - examples/osgautotransform/osgautotransform.cpp, - include/osg/AutoTransform, include/osgText/Font, - include/osgText/Text, src/osg/AutoTransform.cpp, - src/osgText/Font.cpp, src/osgText/Text.cpp: Addd support for - maximum screen text size into osgText when auto scale to - screen is active. - - Added osgautotransform demo. +Fri, 29 Jun 2007 17:01:37 +0000 +Checked in by : Robert Osfield +Added Point::Extension::isPointSpriteCoordOriginSupported() method -2003-05-01 19:56 robert +Fri, 29 Jun 2007 16:37:11 +0000 +Checked in by : Robert Osfield +From Sherman Wilcox, added serach for freetype234 - * include/osgUtil/CullVisitor, src/osgUtil/CullVisitor.cpp: Added - set/getNearFarRatio() to CullVisitor. +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." -2003-05-01 08:51 robert +Fri, 29 Jun 2007 16:09:12 +0000 +Checked in by : Robert Osfield +Fixed indenting to use 4 spaces instead of tabs - * src/osg/VertexProgram.cpp: Remved exit(). +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: +" -2003-04-30 15:40 robert - * AUTHORS.txt, Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/osg/osg.dsp, VisualStudio/osgPlugins/pnm, - VisualStudio/osgPlugins/pnm/pnm.dsp, src/osgDB/Registry.cpp, - src/osgPlugins/pnm, src/osgPlugins/pnm/GNUmakefile, - src/osgPlugins/pnm/ReaderWriterPNM.cpp: From Eric Sokolowsky - - pnm (ppm, pgm, pbm) plugin -2003-04-30 15:38 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 - * include/osgText/Text: Cleanup of the API. +Thu, 28 Jun 2007 20:56:56 +0000 +Checked in by : Robert Osfield +From Brad Colbert, get/setVolume methods -2003-04-30 11:41 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 - * examples/osghud/osghud.cpp: Reverted the test of - setAutoScaleToScreen. +Thu, 28 Jun 2007 12:59:04 +0000 +Checked in by : Robert Osfield +From Trajce Nikolov, fixes to pbuffer setup -2003-04-30 11:40 robert +Thu, 28 Jun 2007 09:51:47 +0000 +Checked in by : Robert Osfield +From Nikolaus Hanekamp, added support for osg::Multisample - * examples/osghangglide/GliderManipulator.cpp, - examples/osghud/osghud.cpp, examples/osglogo/osglogo.cpp, - examples/osgtext/osgtext.cpp, include/osg/Drawable, - include/osg/Export, include/osg/Node, include/osg/Texture2D, - include/osg/TextureCubeMap, include/osgText/Text, - src/osg/Texture2D.cpp, src/osg/TextureCubeMap.cpp, - src/osgPlugins/osgText/IO_Text.cpp, - src/osgProducer/ViewerEventHandler.cpp, src/osgText/Text.cpp: - 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. +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 :) +" -2003-04-29 14:24 robert - * src/osg/Matrix.cpp: From Ben, promoted floats to doubles to - produce better stability in the - invert method. -2003-04-29 00:55 don +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. - * src/osgUtil/SceneView.cpp: 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 - * NEWS.txt: Updated NEWS. +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. -2003-04-28 11:37 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/ - * doc/introduction.html, examples/osgtext/osgtext.cpp: Updates to - the introduction.html. - - Added support for new alignment modes in osgtext. +Wed, 27 Jun 2007 17:01:54 +0000 +Checked in by : Robert Osfield +From Andy Skinner, fixed return value. -2003-04-27 19:23 robert +Wed, 27 Jun 2007 11:14:40 +0000 +Checked in by : Robert Osfield +Updated wrappers - * doc/plan.html: Fixed typo of Fturue! +Wed, 27 Jun 2007 10:37:30 +0000 +Checked in by : Robert Osfield +From Rajce Nickolov, improvements to PixelBufferWin32 and GraphicsWindowWin32 -2003-04-27 10:58 robert +Wed, 27 Jun 2007 10:12:10 +0000 +Checked in by : Robert Osfield +Added texture format into Traits. - * include/osg/AnimationPath, include/osg/ConvexPlanarOccluder, - include/osg/Shape, include/osg/ShapeDrawable, - include/osgText/Text, src/osgPlugins/osgText/IO_Text.cpp, - src/osgText/Text.cpp: 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. +Wed, 27 Jun 2007 09:44:35 +0000 +Checked in by : Robert Osfield +Fixed target setting bug in PixelBuffer RTT set up. -2003-04-25 19:53 robert +Tue, 26 Jun 2007 17:12:48 +0000 +Checked in by : Robert Osfield +Added missing cmake macros - * doc/introduction.html: Updates to introducution. +Tue, 26 Jun 2007 11:31:39 +0000 +Checked in by : Robert Osfield +Reverted to using non silhouette computation. -2003-04-25 13:52 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 - * index.html: Updated index.html +Mon, 25 Jun 2007 11:32:19 +0000 +Checked in by : Robert Osfield +From Trajce Nickolov, improvements to PixelBufferWin32. -2003-04-25 13:47 robert +Mon, 25 Jun 2007 08:35:06 +0000 +Checked in by : Robert Osfield +Set the eol style on CMake .txt files to native - * examples/osgpick/osgpick.cpp, src/osgProducer/Viewer.cpp, - src/osgUtil/IntersectVisitor.cpp: Added support for gather - information on which vertices have been intersected with. +Sun, 24 Jun 2007 10:55:43 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-04-24 20:41 don +Sun, 24 Jun 2007 10:18:54 +0000 +Checked in by : Robert Osfield +From Trajce Nikolov, PixelBufferWin32 implementation - * doc/introduction.html: A few minor mods to introduction.html +Sat, 23 Jun 2007 21:55:35 +0000 +Checked in by : Robert Osfield +Simplified decoration code and added support for reading Traits::supportsResize -2003-04-24 19:54 robert +Sat, 23 Jun 2007 21:54:56 +0000 +Checked in by : Robert Osfield +Set the Traits::supportsResize flag to true in default constructor. - * doc/introduction.html: Updates to the introduction.html - documentaition. +Sat, 23 Jun 2007 11:24:00 +0000 +Checked in by : Robert Osfield +Reorder the setProjectionMatrix.. mathod -2003-04-24 13:45 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. - * Make/help.sh: Typo fix. +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. -2003-04-24 13:45 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 - * src/osgPlugins/txp/TerrapageNode.cpp: cout -> notify. +Thu, 21 Jun 2007 16:14:54 +0000 +Checked in by : Robert Osfield +Added explicit setting of updateText to have DYNAMIC data variance. -2003-04-24 13:44 robert +Thu, 21 Jun 2007 11:20:54 +0000 +Checked in by : Robert Osfield +From Trajce Nikolov, windows build fixes - * doc/contents.html, doc/data.html, doc/dependencies.html, - doc/documentation.html, doc/examples.html, - doc/images/OpenSceneGraphBanner_Distribution.jpg, doc/index.html, - doc/install.html, doc/introduction.html, doc/osgviewer.html, - doc/plan.html, doc/stereo.html: Updates to docs. +Wed, 20 Jun 2007 12:34:37 +0000 +Checked in by : Robert Osfield +Added dummy init method -2003-04-23 10:12 robert +Wed, 20 Jun 2007 12:29:19 +0000 +Checked in by : Robert Osfield +Added placeholder for PixelBufferWin32 - * VisualStudio/LANGEXT.DAT, VisualStudio/MUST_READ_ME.txt, - VisualStudio/highlight.reg: From Romano, updated LANDEXT.DAT and - new highlight.reg file for syntax - highlighting under Windows. +Wed, 20 Jun 2007 12:01:14 +0000 +Checked in by : Robert Osfield +Corrected graphics context creation message -2003-04-23 09:59 robert +Wed, 20 Jun 2007 12:00:29 +0000 +Checked in by : Robert Osfield +Added code of support for contouring shaders - * src/osgProducer/OsgCameraGroup.cpp: Added check for camera's - sharing the same RenderSurface, if so switches off - multi-threading of cull and draw. +Wed, 20 Jun 2007 11:59:53 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-04-19 09:53 robert +Wed, 20 Jun 2007 11:59:27 +0000 +Checked in by : Robert Osfield +Completed implementation of PixelBufferX11. - * doc/data.html: Changed the data link to - OpenSceneGraph-Data-0.9.3.tar.gz since we won't - be updating it for the release. +Tue, 19 Jun 2007 17:12:05 +0000 +Checked in by : Robert Osfield +Added beginnings of osgViewer::PixelBufferX11 -2003-04-19 09:35 robert +Tue, 19 Jun 2007 16:19:34 +0000 +Checked in by : Robert Osfield +Added passing of arguments into constructor. - * ChangeLog: Updated ChangeLog for the release. +Tue, 19 Jun 2007 09:16:36 +0000 +Checked in by : Robert Osfield +Removed OSGVIEWER_EXPORT -2003-04-19 09:09 robert +Mon, 18 Jun 2007 12:10:46 +0000 +Checked in by : Robert Osfield +Added use of GLSL filters - * NEWS.txt, examples/osglogo/osglogo.cpp: Updated NEWS for the - release date. - - Tweaked the text sizes in osglogo. - -2003-04-19 06:57 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: Mannually computes the - mipmap levels to ensure correct loading of dds - images which arn't square. - -2003-04-18 21:44 robert - - * examples/osgoccluder/osgoccluder.cpp, src/osgProducer/Viewer.cpp: - Changed the ordering of the picking intersections. - -2003-04-18 19:46 robert - - * src/osg/State.cpp, src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/osg/BlendFunc.cpp: Fixes to BlendFunc - adding - missing ZERO handling. - - Improved handling of alpha values in DXT1 compression. - -2003-04-18 15:59 robert - - * NEWS.txt, doc/dependencies.html, - examples/osgoccluder/osgoccluder.cpp, - src/osgPlugins/txp/trpage_material.cpp, - src/osgProducer/Viewer.cpp, - src/osgProducer/ViewerEventHandler.cpp: Updated NEWS for the - release. - - Fixed warnings. - -2003-04-18 10:10 robert - - * src/osgPlugins/flt/flt2osg.cpp: 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 - - * examples/osgpbuffer/osgpbuffer.cpp: Added a realize callback for - setting up the pbuffer so that it definately - has a valid graphics context. - -2003-04-17 16:22 robert - - * doc/doc++, doc/doc++/osg, doc/doc++/osg/AlphaFunc.html, - doc/doc++/osg/AnimationPath.html, - doc/doc++/osg/AnimationPathCallback.html, - doc/doc++/osg/ApplicationUsage.html, - doc/doc++/osg/ApplicationUsageProxy.html, - doc/doc++/osg/ArgumentParser.html, doc/doc++/osg/Array.html, - doc/doc++/osg/ArrayVisitor.html, - doc/doc++/osg/AttributeFunctor.html, - doc/doc++/osg/Billboard.html, doc/doc++/osg/BlendFunc.html, - doc/doc++/osg/BoundingBox.html, - doc/doc++/osg/BoundingSphere.html, doc/doc++/osg/Box.html, - doc/doc++/osg/COMPARE_StateAttribute_Parameter.html, - doc/doc++/osg/COMPARE_StateAttribute_Types.html, - doc/doc++/osg/Camera.html, doc/doc++/osg/ClassGraph.class, - doc/doc++/osg/ClassGraphPanel.class, - doc/doc++/osg/ClassLayout.class, doc/doc++/osg/ClearNode.html, - doc/doc++/osg/ClipNode.html, doc/doc++/osg/ClipPlane.html, - doc/doc++/osg/CollectOccludersVisitor.html, - doc/doc++/osg/ColorMask.html, doc/doc++/osg/ColorMatrix.html, - doc/doc++/osg/CompositeShape.html, doc/doc++/osg/Cone.html, - doc/doc++/osg/ConstArrayVisitor.html, - doc/doc++/osg/ConstAttributeFunctor.html, - doc/doc++/osg/ConstShapeVisitor.html, - doc/doc++/osg/ConstValueVisitor.html, - doc/doc++/osg/ConvexHull.html, - doc/doc++/osg/ConvexPlanarOccluder.html, - doc/doc++/osg/ConvexPlanarPolygon.html, - doc/doc++/osg/CopyOp.html, doc/doc++/osg/CullFace.html, - doc/doc++/osg/CullStack.html, doc/doc++/osg/CullingSet.html, - doc/doc++/osg/Cylinder.html, doc/doc++/osg/DOFTransform.html, - doc/doc++/osg/DeleteHandler.html, doc/doc++/osg/Depth.html, - doc/doc++/osg/DisplaySettings.html, - doc/doc++/osg/DrawArrayLengths.html, - doc/doc++/osg/DrawArrays.html, - doc/doc++/osg/DrawElementsUByte.html, - doc/doc++/osg/DrawElementsUInt.html, - doc/doc++/osg/DrawElementsUShort.html, - doc/doc++/osg/DrawPixels.html, doc/doc++/osg/Drawable.html, - doc/doc++/osg/Endian.html, doc/doc++/osg/Extensions.2.html, - doc/doc++/osg/Extensions.3.html, doc/doc++/osg/Extensions.4.html, - doc/doc++/osg/Extensions.html, doc/doc++/osg/Fog.html, - doc/doc++/osg/FrameStamp.html, doc/doc++/osg/FrontFace.html, - doc/doc++/osg/General.html, doc/doc++/osg/GeoSet.html, - doc/doc++/osg/Geode.html, doc/doc++/osg/Geometry.html, - doc/doc++/osg/Grid.html, doc/doc++/osg/Group.html, - doc/doc++/osg/HIER.html, doc/doc++/osg/HIERjava.html, - doc/doc++/osg/HeightField.html, doc/doc++/osg/Image.html, - doc/doc++/osg/Impostor.html, doc/doc++/osg/ImpostorSprite.html, - doc/doc++/osg/ImpostorSpriteManager.html, - doc/doc++/osg/IndexArray.html, doc/doc++/osg/InfinitePlane.html, - doc/doc++/osg/LOD.html, doc/doc++/osg/Light.html, - doc/doc++/osg/LightModel.html, doc/doc++/osg/LightSource.html, - doc/doc++/osg/LineSegment.html, doc/doc++/osg/LineStipple.html, - doc/doc++/osg/LineWidth.html, doc/doc++/osg/META_Node.html, - doc/doc++/osg/META_Object.html, doc/doc++/osg/META_Shape.html, - doc/doc++/osg/META_StateAttribute.html, - doc/doc++/osg/Material.html, doc/doc++/osg/Matrix.html, - doc/doc++/osg/MatrixTransform.html, - doc/doc++/osg/NavigatorButton.class, doc/doc++/osg/Node.html, - doc/doc++/osg/NodeAcceptOp.html, doc/doc++/osg/NodeCallback.html, - doc/doc++/osg/NodePath.html, doc/doc++/osg/NodeVisitor.html, - doc/doc++/osg/NotifySeverity.html, - doc/doc++/osg/OSGUTX_ADD_TESTCASE.html, - doc/doc++/osg/OSGUTX_ADD_TESTSUITE.html, - doc/doc++/osg/OSGUTX_AUTOREGISTER_TESTSUITE.html, - doc/doc++/osg/OSGUTX_AUTOREGISTER_TESTSUITE_AT.html, - doc/doc++/osg/OSGUTX_BEGIN_TESTSUITE.html, - doc/doc++/osg/OSGUTX_END_TESTSUITE.html, - doc/doc++/osg/OSGUTX_TESTSUITE.html, - doc/doc++/osg/OSGUTX_TEST_E.html, - doc/doc++/osg/OSGUTX_TEST_F.html, - doc/doc++/osg/OSG_GL_DEBUG.html, doc/doc++/osg/Object.html, - doc/doc++/osg/OccluderNode.html, doc/doc++/osg/Plane.html, - doc/doc++/osg/Point.html, doc/doc++/osg/PolygonMode.html, - doc/doc++/osg/PolygonOffset.html, - doc/doc++/osg/PolygonStipple.html, doc/doc++/osg/Polytope.html, - doc/doc++/osg/PositionAttitudeTransform.html, - doc/doc++/osg/PrimitiveFunctor.html, - doc/doc++/osg/PrimitiveSet.html, doc/doc++/osg/Projection.html, - doc/doc++/osg/QualifiedTestPrinter.html, doc/doc++/osg/Quat.html, - doc/doc++/osg/RefMatrix.html, doc/doc++/osg/Referenced.html, - doc/doc++/osg/Sequence.html, doc/doc++/osg/ShadeModel.html, - doc/doc++/osg/ShadowVolumeOccluder.html, - doc/doc++/osg/ShadowVolumeOccluderList.html, - doc/doc++/osg/Shape.html, doc/doc++/osg/ShapeDrawable.html, - doc/doc++/osg/ShapeVisitor.html, doc/doc++/osg/Sphere.html, - doc/doc++/osg/State.html, doc/doc++/osg/StateAttribute.html, - doc/doc++/osg/StateSet.html, doc/doc++/osg/Statistics.html, - doc/doc++/osg/Stencil.html, doc/doc++/osg/SubloadCallback.2.html, - doc/doc++/osg/SubloadCallback.3.html, - doc/doc++/osg/SubloadCallback.4.html, - doc/doc++/osg/SubloadCallback.5.html, - doc/doc++/osg/SubloadCallback.html, doc/doc++/osg/Switch.html, - doc/doc++/osg/TemplateArray.html, - doc/doc++/osg/TemplateIndexArray.html, - doc/doc++/osg/TessellationHints.html, doc/doc++/osg/Test.html, - doc/doc++/osg/TestCase.html, doc/doc++/osg/TestCase_.html, - doc/doc++/osg/TestContext.html, doc/doc++/osg/TestErrorX.html, - doc/doc++/osg/TestFailureX.html, doc/doc++/osg/TestGraph.html, - doc/doc++/osg/TestQualifier.html, doc/doc++/osg/TestRecord.html, - doc/doc++/osg/TestReport.html, doc/doc++/osg/TestRunner.html, - doc/doc++/osg/TestSuite.html, - doc/doc++/osg/TestSuiteAutoRegistrationAgent.html, - doc/doc++/osg/TestVisitor.html, doc/doc++/osg/TestX.html, - doc/doc++/osg/TexEnv.html, doc/doc++/osg/TexEnvCombine.html, - doc/doc++/osg/TexGen.html, doc/doc++/osg/TexMat.html, - doc/doc++/osg/Texture.html, doc/doc++/osg/Texture1D.html, - doc/doc++/osg/Texture2D.html, doc/doc++/osg/Texture3D.html, - doc/doc++/osg/TextureCubeMap.html, - doc/doc++/osg/TextureRectangle.html, doc/doc++/osg/Timer.html, - doc/doc++/osg/TraceStream.html, doc/doc++/osg/Transform.html, - doc/doc++/osg/TriangleFunctor.html, - doc/doc++/osg/TriangleMesh.html, doc/doc++/osg/UByte4.html, - doc/doc++/osg/ValueVisitor.html, doc/doc++/osg/Vec2.html, - doc/doc++/osg/Vec3.html, doc/doc++/osg/Vec4.html, - doc/doc++/osg/VectorSizei.2.html, doc/doc++/osg/VectorSizei.html, - doc/doc++/osg/VectorUByte.2.html, doc/doc++/osg/VectorUByte.html, - doc/doc++/osg/VectorUInt.2.html, doc/doc++/osg/VectorUInt.html, - doc/doc++/osg/VectorUShort.2.html, - doc/doc++/osg/VectorUShort.html, - doc/doc++/osg/VertexProgram.html, doc/doc++/osg/Viewport.html, - doc/doc++/osg/buffered_object.html, - doc/doc++/osg/buffered_value.html, - doc/doc++/osg/clampArray3BetweenRange.html, - doc/doc++/osg/clampArray3GEQUAL.html, - doc/doc++/osg/clampArray3LEQUAL.html, - doc/doc++/osg/clampArray4BetweenRange.html, - doc/doc++/osg/clampArray4GEQUAL.html, - doc/doc++/osg/clampArray4LEQUAL.html, - doc/doc++/osg/clampArrayElementBetweenRange.html, - doc/doc++/osg/clampArrayElementGEQUAL.html, - doc/doc++/osg/clampArrayElementLEQUAL.html, - doc/doc++/osg/clampArrayElementsBetweenRange.html, - doc/doc++/osg/clampArrayElementsGEQUAL.html, - doc/doc++/osg/clampArrayElementsLEQUAL.html, - doc/doc++/osg/clampBetweenRange.html, - doc/doc++/osg/clampGEQUAL.html, doc/doc++/osg/clampLEQUAL.html, - doc/doc++/osg/computeEyeToLocal.html, - doc/doc++/osg/computeLocalToEye.html, - doc/doc++/osg/computeLocalToWorld.html, - doc/doc++/osg/computeWorldToLocal.html, - doc/doc++/osg/createGeodeForImage.2.html, - doc/doc++/osg/createGeodeForImage.html, - doc/doc++/osg/fast_back_stack.html, - doc/doc++/osg/for_each_triangle.html, - doc/doc++/osg/getGLExtensionFuncPtr.2.html, - doc/doc++/osg/getGLExtensionFuncPtr.html, - doc/doc++/osg/getNotifyLevel.html, - doc/doc++/osg/globalnotifylevel..html, - doc/doc++/osg/globalnotifynulstream..html, - doc/doc++/osg/icon1.gif, doc/doc++/osg/icon2.gif, - doc/doc++/osg/index.html, doc/doc++/osg/initNotifyLevel.html, - doc/doc++/osg/isGLExtensionSupported.html, - doc/doc++/osg/isGLUExtensionSupported.html, - doc/doc++/osg/notify.html, doc/doc++/osg/operator.2.html, - doc/doc++/osg/operator.html, doc/doc++/osg/osg.html, - doc/doc++/osg/osgGetLibraryName.html, - doc/doc++/osg/osgGetVersion.html, doc/doc++/osg/osgUtx.html, - doc/doc++/osg/ref_ptr.html, doc/doc++/osg/setNotifyLevel.html, - doc/doc++/osg/xternSG_EXPORTNotifySeverityg_NotifyLevel.html, - doc/doc++/osg/xternSG_EXPORTboolg_NotifyInit.html, - doc/doc++/osg/xternSG_EXPORTstdauto_ptrstdofstreamg_NotifyNulStream.html, - doc/doc++/osgDB, doc/doc++/osgDB/ClassGraph.class, - doc/doc++/osgDB/ClassGraphPanel.class, - doc/doc++/osgDB/ClassLayout.class, - doc/doc++/osgDB/DirectoryContents.html, - doc/doc++/osgDB/DotOsgWrapper.html, - doc/doc++/osgDB/DynamicLibrary.html, doc/doc++/osgDB/Field.html, - doc/doc++/osgDB/FieldReader.html, - doc/doc++/osgDB/FieldReaderIterator.html, - doc/doc++/osgDB/FilePathList.html, doc/doc++/osgDB/General.html, - doc/doc++/osgDB/HIER.html, doc/doc++/osgDB/HIERjava.html, - doc/doc++/osgDB/Input.html, - doc/doc++/osgDB/NavigatorButton.class, - doc/doc++/osgDB/Options.html, doc/doc++/osgDB/Output.html, - doc/doc++/osgDB/ParameterOutput.html, - doc/doc++/osgDB/PushAndPopDataPath.html, - doc/doc++/osgDB/ReadResult.html, - doc/doc++/osgDB/ReaderWriter.html, - doc/doc++/osgDB/RegisterDotOsgWrapperProxy.html, - doc/doc++/osgDB/RegisterReaderWriterProxy.html, - doc/doc++/osgDB/Registry.html, doc/doc++/osgDB/WriteResult.html, - doc/doc++/osgDB/fileExists.html, - doc/doc++/osgDB/findFileInDirectory.html, - doc/doc++/osgDB/findFileInPath.html, - doc/doc++/osgDB/getDirectoryContents.html, - doc/doc++/osgDB/icon1.gif, doc/doc++/osgDB/icon2.gif, - doc/doc++/osgDB/index.html, doc/doc++/osgDB/osgDB.html, - doc/doc++/osgDB/osgDBGetLibraryName.html, - doc/doc++/osgDB/osgDBGetVersion.html, - doc/doc++/osgDB/readCommandLine.html, - doc/doc++/osgDB/readImageFile.html, - doc/doc++/osgDB/readNodeFile.html, - doc/doc++/osgDB/readNodeFiles.2.html, - doc/doc++/osgDB/readNodeFiles.html, - doc/doc++/osgDB/readObjectFile.html, - doc/doc++/osgDB/writeImageFile.html, - doc/doc++/osgDB/writeNodeFile.html, - doc/doc++/osgDB/writeObjectFile.html, doc/doc++/osgGA, - doc/doc++/osgGA/AnimationPathManipulator.html, - doc/doc++/osgGA/CameraManipulator.html, - doc/doc++/osgGA/ClassGraph.class, - doc/doc++/osgGA/ClassGraphPanel.class, - doc/doc++/osgGA/ClassLayout.class, - doc/doc++/osgGA/CompositeGUIEventHandler.html, - doc/doc++/osgGA/DriveManipulator.html, - doc/doc++/osgGA/FlightManipulator.html, - doc/doc++/osgGA/GUIActionAdapter.html, - doc/doc++/osgGA/GUIEventAdapter.html, - doc/doc++/osgGA/GUIEventHandler.html, - doc/doc++/osgGA/GUIEventHandlerVisitor.html, - doc/doc++/osgGA/General.html, doc/doc++/osgGA/HIER.html, - doc/doc++/osgGA/HIERjava.html, - doc/doc++/osgGA/KeySwitchCameraManipulator.html, - doc/doc++/osgGA/NavigatorButton.class, - doc/doc++/osgGA/SetSceneViewVisitor.html, - doc/doc++/osgGA/StateSetManipulator.html, - doc/doc++/osgGA/TrackballManipulator.html, - doc/doc++/osgGA/icon1.gif, doc/doc++/osgGA/icon2.gif, - doc/doc++/osgGA/index.html, doc/doc++/osgGA/osgGA.html, - doc/doc++/osgGA/osgGAGetLibraryName.html, - doc/doc++/osgGA/osgGAGetVersion.html, - doc/doc++/osgGA/spaceosgGA.html, doc/doc++/osgParticle, - doc/doc++/osgParticle/AccelOperator.html, - doc/doc++/osgParticle/CenteredPlacer.html, - doc/doc++/osgParticle/ClassGraph.class, - doc/doc++/osgParticle/ClassGraphPanel.class, - doc/doc++/osgParticle/ClassLayout.class, - doc/doc++/osgParticle/Counter.html, - doc/doc++/osgParticle/Emitter.html, - doc/doc++/osgParticle/FluidFrictionOperator.html, - doc/doc++/osgParticle/ForceOperator.html, - doc/doc++/osgParticle/General.html, - doc/doc++/osgParticle/HIER.html, - doc/doc++/osgParticle/HIERjava.html, - doc/doc++/osgParticle/Interpolator.html, - doc/doc++/osgParticle/LinearInterpolator.html, - doc/doc++/osgParticle/ModularEmitter.html, - doc/doc++/osgParticle/ModularProgram.html, - doc/doc++/osgParticle/MultiSegmentPlacer.html, - doc/doc++/osgParticle/NavigatorButton.class, - doc/doc++/osgParticle/Operator.html, - doc/doc++/osgParticle/Particle.html, - doc/doc++/osgParticle/ParticleProcessor.html, - doc/doc++/osgParticle/ParticleSystem.html, - doc/doc++/osgParticle/ParticleSystemUpdater.html, - doc/doc++/osgParticle/Placer.html, - doc/doc++/osgParticle/PointPlacer.html, - doc/doc++/osgParticle/Program.html, - doc/doc++/osgParticle/RadialShooter.html, - doc/doc++/osgParticle/RandomRateCounter.html, - doc/doc++/osgParticle/SectorPlacer.html, - doc/doc++/osgParticle/SegmentPlacer.html, - doc/doc++/osgParticle/Shooter.html, - doc/doc++/osgParticle/VariableRateCounter.html, - doc/doc++/osgParticle/icon1.gif, doc/doc++/osgParticle/icon2.gif, - doc/doc++/osgParticle/index.html, - doc/doc++/osgParticle/osgParticle.html, - doc/doc++/osgParticle/range.html, - doc/doc++/osgParticle/rangef.html, - doc/doc++/osgParticle/rangev2.html, - doc/doc++/osgParticle/rangev3.html, - doc/doc++/osgParticle/rangev4.html, doc/doc++/osgProducer, - doc/doc++/osgProducer/Callback.html, - doc/doc++/osgProducer/ClassGraph.class, - doc/doc++/osgProducer/ClassGraphPanel.class, - doc/doc++/osgProducer/ClassLayout.class, - doc/doc++/osgProducer/EventAdapter.html, - doc/doc++/osgProducer/General.html, - doc/doc++/osgProducer/HIER.html, - doc/doc++/osgProducer/HIERjava.html, - doc/doc++/osgProducer/KeyboardMouseCallback.html, - doc/doc++/osgProducer/NavigatorButton.class, - doc/doc++/osgProducer/OsgCameraGroup.html, - doc/doc++/osgProducer/OsgSceneHandler.html, - doc/doc++/osgProducer/RealizeCallback.html, - doc/doc++/osgProducer/Viewer.html, - doc/doc++/osgProducer/ViewerEventHandler.html, - doc/doc++/osgProducer/icon1.gif, doc/doc++/osgProducer/icon2.gif, - doc/doc++/osgProducer/index.html, - doc/doc++/osgProducer/osgProducer.html, - doc/doc++/osgProducer/osgProducerGetLibraryName.html, - doc/doc++/osgProducer/osgProducerGetVersion.html, - doc/doc++/osgSim, doc/doc++/osgSim/AzimElevationSector.html, - doc/doc++/osgSim/AzimRange.html, - doc/doc++/osgSim/AzimSector.html, - doc/doc++/osgSim/BlinkSequence.html, - doc/doc++/osgSim/ClassGraph.class, - doc/doc++/osgSim/ClassGraphPanel.class, - doc/doc++/osgSim/ClassLayout.class, - doc/doc++/osgSim/ConeSector.html, - doc/doc++/osgSim/ElevationRange.html, - doc/doc++/osgSim/ElevationSector.html, - doc/doc++/osgSim/General.html, doc/doc++/osgSim/HIER.html, - doc/doc++/osgSim/HIERjava.html, doc/doc++/osgSim/LightPoint.html, - doc/doc++/osgSim/LightPointNode.html, - doc/doc++/osgSim/NavigatorButton.class, - doc/doc++/osgSim/Sector.html, - doc/doc++/osgSim/SequenceGroup.html, doc/doc++/osgSim/icon1.gif, - doc/doc++/osgSim/icon2.gif, doc/doc++/osgSim/index.html, - doc/doc++/osgSim/osgSim.html, - doc/doc++/osgSim/osgSimGetLibraryName.html, - doc/doc++/osgSim/osgSimGetVersion.html, doc/doc++/osgText, - doc/doc++/osgText/ClassGraph.class, - doc/doc++/osgText/ClassGraphPanel.class, - doc/doc++/osgText/ClassLayout.class, doc/doc++/osgText/Font.html, - doc/doc++/osgText/FontImplementation.html, - doc/doc++/osgText/General.html, doc/doc++/osgText/Glyph.html, - doc/doc++/osgText/GlyphTexture.html, doc/doc++/osgText/HIER.html, - doc/doc++/osgText/HIERjava.html, - doc/doc++/osgText/NavigatorButton.class, - doc/doc++/osgText/String.html, doc/doc++/osgText/Text.html, - doc/doc++/osgText/icon1.gif, doc/doc++/osgText/icon2.gif, - doc/doc++/osgText/index.html, doc/doc++/osgText/osgText.html, - doc/doc++/osgText/osgTextGetLibraryName.html, - doc/doc++/osgText/osgTextGetVersion.html, - doc/doc++/osgText/readFontFile.html, doc/doc++/osgUtil, - doc/doc++/osgUtil/ClassGraph.class, - doc/doc++/osgUtil/ClassGraphPanel.class, - doc/doc++/osgUtil/ClassLayout.class, - doc/doc++/osgUtil/CombineLODsVisitor.html, - doc/doc++/osgUtil/ConvertGeoSetsToGeometryVisitor.html, - doc/doc++/osgUtil/CubeMapGenerator.html, - doc/doc++/osgUtil/CullVisitor.html, - doc/doc++/osgUtil/DelaunayTriangulator.html, - doc/doc++/osgUtil/DisplayListVisitor.html, - doc/doc++/osgUtil/DisplayRequirementsVisitor.html, - doc/doc++/osgUtil/FlattenStaticTransformsVisitor.html, - doc/doc++/osgUtil/General.html, doc/doc++/osgUtil/HIER.html, - doc/doc++/osgUtil/HIERjava.html, - doc/doc++/osgUtil/HalfWayMapGenerator.html, - doc/doc++/osgUtil/HighlightMapGenerator.html, - doc/doc++/osgUtil/Hit.html, - doc/doc++/osgUtil/InsertImpostorsVisitor.html, - doc/doc++/osgUtil/IntersectState.html, - doc/doc++/osgUtil/IntersectVisitor.html, - doc/doc++/osgUtil/LeafDepthSortFunctor.html, - doc/doc++/osgUtil/MergeGeometryVisitor.html, - doc/doc++/osgUtil/NavigatorButton.class, - doc/doc++/osgUtil/Optimizer.html, - doc/doc++/osgUtil/PickIntersectVisitor.html, - doc/doc++/osgUtil/PickVisitor.html, - doc/doc++/osgUtil/ReflectionMapGenerator.html, - doc/doc++/osgUtil/RegisterRenderBinProxy.html, - doc/doc++/osgUtil/RemoveEmptyNodesVisitor.html, - doc/doc++/osgUtil/RemoveRedundantNodesVisitor.html, - doc/doc++/osgUtil/RenderBin.html, - doc/doc++/osgUtil/RenderGraph.html, - doc/doc++/osgUtil/RenderLeaf.html, - doc/doc++/osgUtil/RenderStage.html, - doc/doc++/osgUtil/RenderStageLighting.html, - doc/doc++/osgUtil/RenderToTextureStage.html, - doc/doc++/osgUtil/SceneView.html, - doc/doc++/osgUtil/SmoothingVisitor.html, - doc/doc++/osgUtil/StateVisitor.html, - doc/doc++/osgUtil/Tesselator.html, - doc/doc++/osgUtil/TransformCallback.html, - doc/doc++/osgUtil/TriStripVisitor.html, - doc/doc++/osgUtil/UpdateVisitor.html, - doc/doc++/osgUtil/icon1.gif, doc/doc++/osgUtil/icon2.gif, - doc/doc++/osgUtil/index.html, doc/doc++/osgUtil/osgUtil.html, - doc/doc++/osgUtil/osgUtilGetLibraryName.html, - doc/doc++/osgUtil/osgUtilGetVersion.html: Added doc++ - documentation. - -2003-04-17 15:57 robert - - * examples/osgwindows/osgwindows.cpp, - src/osgProducer/OsgCameraGroup.cpp: Added setting of the - RenderSurface name to the application name. - -2003-04-17 15:27 robert - - * include/osgProducer/OsgCameraGroup, include/osgProducer/Viewer: - Moved #include from Viewer to OsgCameraGroup. - -2003-04-17 13:57 robert - - * src/osgProducer/ViewerEventHandler.cpp: Added an alternate - compile path for Windows in the toggle of fullscreen - for the first time. - -2003-04-17 13:36 robert - - * src/osgUtil/DelaunayTriangulator.cpp: Changed the maxx - initializiation to use (*points)[last_valid_index].x(); - -2003-04-17 11:14 robert - - * examples/osgcameragroup/osgcameragroup.cpp, - include/osgProducer/OsgCameraGroup, include/osgProducer/Viewer, - runexamples.bat, src/osgProducer/OsgCameraGroup.cpp, - src/osgProducer/Viewer.cpp: 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 - - * include/osgUtil/DelaunayTriangulator: Added OSGUTIL_EXPORT to - front of DelaunayTriangulator class. - -2003-04-16 23:09 don - - * examples/osgwindows/osgwindows.cpp: InputRectangle converted to - RenderSurface->get()... - -2003-04-16 21:16 don - - * src/osgProducer/KeyboardMouseCallback.cpp, - src/osgProducer/OsgSceneHandler.cpp, src/osgProducer/Viewer.cpp, - src/osgProducer/ViewerEventHandler.cpp: Changed Rect('s to - Rectangle('s - -2003-04-16 20:02 robert - - * include/osg/ShapeDrawable, src/osg/ShapeDrawable.cpp, - src/osgPlugins/osg/ShapeDrawable.cpp: Added support for - set/getColor to ShapeDrawable. - -2003-04-16 19:21 robert - - * NEWS.txt, VisualStudio/osgUtil/osgUtil.dsp, - include/osgUtil/DelaunayTriangulator, - src/osgUtil/DelaunayTriangulator.cpp, src/osgUtil/GNUmakefile: - From Marco Jez, added DelaunayTriangulator class. - -2003-04-16 19:20 robert - - * src/osgProducer/Viewer.cpp: Changed near and far instances into - near_point, far_point to avoid - problems with Win32 build. - -2003-04-16 15:14 robert - - * VisualStudio/osgUtil/osgUtil.dsp, src/osgProducer/Viewer.cpp, - src/osgUtil/GNUmakefile: 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 - - * include/osgProducer/Viewer, src/osgProducer/Viewer.cpp: Renamed - computeNearFar to computeNearFarPoints. - -2003-04-16 14:17 robert - - * examples/osgpick/osgpick.cpp, include/osgProducer/Viewer, - runexamples.bat, src/osgProducer/Viewer.cpp, - src/osgProducer/ViewerEventHandler.cpp, - src/osgUtil/PickVisitor.cpp: 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 - - * examples/osgconv/osgconv.cpp: Add a check for the result to - writeNodeFile(). - -2003-04-16 09:22 robert - - * examples/osgpick/osgpick.cpp, - include/osgProducer/OsgSceneHandler, - src/osgProducer/OsgSceneHandler.cpp: 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 - - * examples/osgpick/osgpick.cpp, include/osgProducer/Viewer: Added - support for multiple cameras into osgpick. - -2003-04-15 14:29 robert - - * VisualStudio/examples/osgcluster/osgcluster.dsp, - VisualStudio/examples/osgstereoimage/osgstereoimage.dsp, - VisualStudio/examples/osgwindows/osgwindows.dsp, - VisualStudio/osgProducer/osgProducer.dsp: Changed the linking to - Producer for debug builds so that producerd.lib is linked - against. - -2003-04-15 09:33 robert - - * examples/osgshadowtexture/CreateShadowedScene.cpp: From Brede, - Fixed the ordering of the znear and zfar. - -2003-04-15 09:33 robert - - * include/osgUtil/TriStripVisitor, src/osgUtil/TriStripVisitor.cpp: - From Romano, extra methods/variables for controlling tesselation. - -2003-04-14 19:39 robert - - * Make/makedefs, examples/osganimate/GNUmakefile, - examples/osganimate/GNUmakefile.inst, - examples/osgbillboard/GNUmakefile, - examples/osgbillboard/GNUmakefile.inst, - examples/osgcallback/GNUmakefile, - examples/osgcallback/GNUmakefile.inst, - examples/osgcameragroup/GNUmakefile, - examples/osgcameragroup/GNUmakefile.inst, - examples/osgclip/GNUmakefile, examples/osgclip/GNUmakefile.inst, - examples/osgcluster/GNUmakefile, - examples/osgcluster/GNUmakefile.inst, - examples/osgconv/GNUmakefile.inst, examples/osgcopy/GNUmakefile, - examples/osgcopy/GNUmakefile.inst, - examples/osgcubemap/GNUmakefile, - examples/osgcubemap/GNUmakefile.inst, - examples/osggeodemo/GNUmakefile, - examples/osggeodemo/GNUmakefile.inst, - examples/osggeometry/GNUmakefile, - examples/osggeometry/GNUmakefile.inst, - examples/osghangglide/GNUmakefile, - examples/osghangglide/GNUmakefile.inst, - examples/osghud/GNUmakefile, examples/osghud/GNUmakefile.inst, - examples/osgimpostor/GNUmakefile, - examples/osgimpostor/GNUmakefile.inst, - examples/osgkeyboard/GNUmakefile, - examples/osgkeyboard/GNUmakefile.inst, - examples/osglight/GNUmakefile, - examples/osglight/GNUmakefile.inst, - examples/osglightpoint/GNUmakefile, - examples/osglightpoint/GNUmakefile.inst, - examples/osglogo/GNUmakefile, examples/osglogo/GNUmakefile.inst, - examples/osgmultitexture/GNUmakefile, - examples/osgmultitexture/GNUmakefile.inst, - examples/osgoccluder/GNUmakefile, - examples/osgoccluder/GNUmakefile.inst, - examples/osgparticle/GNUmakefile, - examples/osgparticle/GNUmakefile.inst, - examples/osgpick/GNUmakefile, examples/osgpick/GNUmakefile.inst, - examples/osgprerender/GNUmakefile, - examples/osgprerender/GNUmakefile.inst, - examples/osgreflect/GNUmakefile, - examples/osgreflect/GNUmakefile.inst, - examples/osgscribe/GNUmakefile, - examples/osgscribe/GNUmakefile.inst, - examples/osgsequence/GNUmakefile, - examples/osgsequence/GNUmakefile.inst, - examples/osgshadowtexture/GNUmakefile, - examples/osgshadowtexture/GNUmakefile.inst, - examples/osgshape/GNUmakefile, - examples/osgshape/GNUmakefile.inst, - examples/osgstereoimage/GNUmakefile, - examples/osgstereoimage/GNUmakefile.inst, - examples/osgteapot/GNUmakefile, - examples/osgteapot/GNUmakefile.inst, - examples/osgtext/GNUmakefile, examples/osgtext/GNUmakefile.inst, - examples/osgtexture1D/GNUmakefile, - examples/osgtexture1D/GNUmakefile.inst, - examples/osgtexture2D/GNUmakefile, - examples/osgtexture2D/GNUmakefile.inst, - examples/osgtexture3D/GNUmakefile, - examples/osgtexture3D/GNUmakefile.inst, - examples/osgunittests/GNUmakefile, - examples/osgunittests/GNUmakefile.inst, - examples/osgversion/GNUmakefile, - examples/osgversion/GNUmakefile.inst, - examples/osgvertexprogram/GNUmakefile, - examples/osgvertexprogram/GNUmakefile.inst, - examples/osgviewer/GNUmakefile, - examples/osgviewer/GNUmakefile.inst, - examples/osgwindows/GNUmakefile, - examples/osgwindows/GNUmakefile.inst, - src/osgPlugins/freetype/GNUmakefile, src/osgProducer/GNUmakefile: - 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 - - * src/osgProducer/Viewer.cpp: Added using namespace Producer to get - round namespace issue with CameraGroup - call. - -2003-04-14 18:49 robert - - * examples/osgimpostor/TestManipulator.cpp, - examples/osgstereoimage/osgstereoimage.cpp, - src/osgProducer/Viewer.cpp: Updated osgstereoimage and - osgimpostor to handle the new default - orientation of normalized mouse coords. - -2003-04-14 15:44 robert - - * VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgpick/osgpick.dsp, - VisualStudio/osgUtil/osgUtil.dsp, examples/osgpick/osgpick.cpp, - examples/osgwindows/osgwindows.cpp, include/osgUtil/PickVisitor, - src/osg/NodeVisitor.cpp, src/osgGA/TrackballManipulator.cpp, - src/osgProducer/Viewer.cpp, src/osgUtil/PickVisitor.cpp: Updates - to the osgpick code. - - Updates to osgGA::CameraManipulors. - -2003-04-14 15:03 robert - - * src/osgText/Font.cpp: Tweak to the debug output. - -2003-04-14 15:02 robert - - * src/osgText/Font.cpp: Added extra debugging details to help track - down IRIX64 & Solaris64 problems. - -2003-04-14 13:23 robert - - * include/osgGA/GUIEventAdapter, src/osgGA/DriveManipulator.cpp, - src/osgGA/FlightManipulator.cpp, - src/osgGA/TrackballManipulator.cpp, - src/osgProducer/EventAdapter.cpp, - src/osgProducer/KeyboardMouseCallback.cpp: Improved the handling - of Producer's no dimensional mouse coords. - -2003-04-14 13:22 robert - - * include/osg/Transform, src/osg/Transform.cpp: Addd new - computeLocalToWorld(NodePath) etc methods. - -2003-04-14 08:16 robert - - * src/osgPlugins/osgText/IO_Text.cpp: Changed push back to a += to - try and fix compile on hopeless OSX g++ version. - -2003-04-13 14:12 robert - - * doc/dependencies.html: Updated dependancies with link to Producer - web page. - -2003-04-13 13:26 robert - - * Make/makedefs, Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgpick, - VisualStudio/examples/osgpick/osgpick.dsp, doc/data.html, - doc/install.html, doc/introduction.html, doc/plan.html, - examples/osgcameragroup/osgcameragroup.cpp, examples/osgpick, - examples/osgpick/GNUmakefile, examples/osgpick/GNUmakefile.inst, - examples/osgpick/osgpick.cpp, include/osgUtil/PickVisitor, - src/osgUtil/GNUmakefile, src/osgUtil/PickVisitor.cpp: Added Geoff - Michel's osgpick and osgUtil::PickVisitor code. - -2003-04-13 12:02 robert - - * include/osg/NodeVisitor: 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 - - * VisualStudio/examples/osganimate/osganimate.dsp, - VisualStudio/examples/osgcallback/osgcallback.dsp, - VisualStudio/examples/osgclip/osgclip.dsp, - VisualStudio/examples/osgcopy/osgcopy.dsp, - VisualStudio/examples/osggeodemo/osggeodemo.dsp, - VisualStudio/examples/osghud/osghud.dsp, - VisualStudio/examples/osgkeyboard/osgkeyboard.dsp, - VisualStudio/examples/osglight/osglight.dsp, - VisualStudio/examples/osglightpoint/osglightpoint.dsp, - VisualStudio/examples/osglogo/osglogo.dsp, - VisualStudio/examples/osgmultitexture/osgmultitexture.dsp, - VisualStudio/examples/osgoccluder/osgoccluder.dsp, - VisualStudio/examples/osgparticle/osgparticledemo.dsp, - VisualStudio/examples/osgpbuffer/osgpbuffer.dsp, - VisualStudio/examples/osgprerender/osgprerender.dsp, - VisualStudio/examples/osgsequence/osgsequence.dsp, - VisualStudio/examples/osgtext/osgtextdemo.dsp: Removed references - to glut32.lib. - -2003-04-11 18:57 robert - - * src/osgPlugins/osgText/IO_Text.cpp: Convertex a std::copy() into - a for loop to get round compile problems under - OSX. - -2003-04-11 15:34 robert - - * doc/doc++: Clean of doc++ directories. - -2003-04-11 15:33 robert - - * src/osgPlugins/iv/osgvisitor.cpp: Changed the uint arrays to - GLuint to keep OSX build compiling. - -2003-04-11 10:37 robert - - * AUTHORS.txt, INSTALL.txt, NEWS.txt, README.txt, - doc/contents.html, doc/data.html, doc/demos.html, - doc/dependencies.html, doc/documentation.html, doc/examples.html, - doc/images/osgviewer_cow.jpg, doc/images/osgviewer_stereo.jpg, - doc/images/osgviews.jpg, doc/images/osgwindows.jpg, - doc/images/sgv_cow.jpg, doc/images/sgv_stereo.jpg, - doc/index.html, doc/install.html, doc/introduction.html, - doc/osgviewer.html, doc/plan.html, doc/sgv.html, doc/stereo.html: - Fixes to documentions to refelect the move from osgGLUT to - osgProducer. - -2003-04-11 10:04 robert - - * Make/makedefs, src/osg/Version.cpp, src/osgDB/Version.cpp, - src/osgGA/Version.cpp, src/osgParticle/Version.cpp, - src/osgProducer/Version.cpp, src/osgSim/Version.cpp, - src/osgText/Version.cpp, src/osgUtil/Version.cpp: Updated the - version numbers to 0.9.4 - -2003-04-11 10:00 robert - - * runexamples.bat, src/osgPlugins/geo/GNUmakefile: 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 - - * include/osg/VertexProgram, src/osg/VertexProgram.cpp, - src/osgUtil/SceneView.cpp: From Romano, added support in - osg::VertexProgram for deleting the flushed - vertex programs. - -2003-04-11 07:18 robert - - * Make/makedirdefs: 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 - - * examples/osgcubemap/osgcubemap.cpp, - examples/osgmultitexture/osgmultitexture.cpp, - examples/osgvertexprogram/osgvertexprogram.cpp: Added std:: - infront of cout instances. - -2003-04-10 19:32 robert - - * examples/osgcubemap/osgcubemap.cpp, - examples/osgmultitexture/osgmultitexture.cpp, - examples/osgvertexprogram/osgvertexprogram.cpp, - include/osg/StateAttribute, include/osg/Texture, - include/osg/VertexProgram, src/osg/Texture.cpp, - src/osg/VertexProgram.cpp: 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 - - * VisualStudio/osgProducer/osgProducer.dsp, - examples/osgcameragroup/osgcameragroup.cpp, - include/osgProducer/ActionAdapter, - include/osgProducer/FrameStatsHandler, - include/osgProducer/StatsEventHandler, - src/osgProducer/GNUmakefile, - src/osgProducer/StatsEventHandler.cpp, - src/osgProducer/Viewer.cpp: 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 - - * examples/osgtext/osgtext.cpp, include/osg/Texture, - include/osg/Texture3D, include/osg/TextureCubeMap, - src/osg/Texture.cpp, src/osg/Texture3D.cpp, - src/osg/TextureCubeMap.cpp: 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 - - * include/osgProducer/Viewer, src/osgProducer/Viewer.cpp: 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 - - * NEWS.txt, include/osg/Impostor, include/osg/Texture, - include/osg/VertexProgram, src/osg/Impostor.cpp, - src/osg/VertexProgram.cpp, src/osgUtil/CullVisitor.cpp: Added - support for multiple graphics context to osg::VertexProgram and - osg::Impostor - -2003-04-10 10:21 robert - - * examples/osgoccluder/osgoccluder.cpp: Changed the '-c' - commandline option to '-m' to avoid overlapp with -c - used for config files. - -2003-04-10 10:16 robert - - * src/osgProducer/Viewer.cpp: Fix to the - CameraGroup::setViewByMarix usage. - -2003-04-10 10:02 robert - - * include/osgProducer/Viewer, src/osgProducer/OsgCameraGroup.cpp, - src/osgProducer/Viewer.cpp: Fixed Viewer and OsgCameraGroup - classes so that work properly with the - Prodicer::setViewByMatrix calls. - -2003-04-10 08:25 robert - - * src/osgSim/LightPointNode.cpp: 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 - - * include/osg/ImpostorSprite, include/osgUtil/CullVisitor, - src/osg/ImpostorSprite.cpp, src/osgUtil/CullVisitor.cpp: Fixes to - the Impostor implementation. - -2003-04-09 13:29 robert - - * src/osgGA/AnimationPathManipulator.cpp: From Romano, ' ' now sets - pause to false. - -2003-04-09 11:45 robert - - * src/osgPlugins/osg/Node.cpp: Added using namespace std; - -2003-04-09 11:44 robert - - * examples/osganimate/osganimate.cpp, - examples/osgbillboard/osgbillboard.cpp, - examples/osgcallback/osgcallback.cpp, - examples/osgclip/osgclip.cpp, examples/osgcluster/osgcluster.cpp, - examples/osgcopy/osgcopy.cpp, examples/osgcubemap/osgcubemap.cpp, - examples/osggeodemo/osggeodemo.cpp, - examples/osggeometry/osggeometry.cpp, - examples/osghangglide/osghangglide.cpp, - examples/osghud/osghud.cpp, examples/osgimpostor/osgimpostor.cpp, - examples/osgkeyboard/osgkeyboard.cpp, - examples/osglight/osglight.cpp, - examples/osglightpoint/osglightpoint.cpp, - examples/osglogo/osglogo.cpp, - examples/osgmultitexture/osgmultitexture.cpp, - examples/osgoccluder/osgoccluder.cpp, - examples/osgparticle/osgparticle.cpp, - examples/osgpbuffer/osgpbuffer.cpp, - examples/osgprerender/osgprerender.cpp, - examples/osgreflect/osgreflect.cpp, - examples/osgscribe/osgscribe.cpp, - examples/osgsequence/osgsequence.cpp, - examples/osgshadowtexture/osgshadowtexture.cpp, - examples/osgshape/osgshape.cpp, - examples/osgstereoimage/osgstereoimage.cpp, - examples/osgteapot/osgteapot.cpp, examples/osgtext/osgtext.cpp, - examples/osgtexture1D/osgtexture1D.cpp, - examples/osgtexture2D/osgtexture2D.cpp, - examples/osgtexture3D/osgtexture3D.cpp, - examples/osgunittests/osgunittests.cpp, - examples/osgvertexprogram/osgvertexprogram.cpp, - examples/osgwindows/osgwindows.cpp: Added desciptions to all the - demos. - -2003-04-09 10:51 robert - - * src/osgProducer/OsgCameraGroup.cpp: Added environmental variable - usage to OsgCameraGroup. - -2003-04-09 10:30 robert - - * src/osgPlugins/osg/Node.cpp: Added support for - osg::Node::get/setNodeMask() into .osg format. - -2003-04-09 10:26 robert - - * src/osgGA/AnimationPathManipulator.cpp: 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 - - * src/osgProducer/OsgCameraGroup.cpp: Added a setting of - OsgCameraGroup::_applicateUsage to - ApplicationUsage::instance() by default. - -2003-04-09 10:11 robert - - * examples/osgoccluder/osgoccluder.cpp: Fixed warning. - -2003-04-09 10:10 robert - - * src/osgUtil/RenderBin.cpp: 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 - - * examples/osgviewer/osgviewer.cpp, - examples/osgwindows/osgwindows.cpp, include/osg/ApplicationUsage, - include/osgProducer/ViewerEventHandler, - src/osgProducer/OsgCameraGroup.cpp: 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 - - * src/osgProducer/EventAdapter.cpp: Added support for key modifiers - to osgProducer::EventAdapter. - -2003-04-08 20:06 robert - - * include/osgGA/AnimationPathManipulator, - src/osgGA/AnimationPathManipulator.cpp: 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 - - * examples/osggeodemo/osggeodemo.cpp: Fixed warning. - -2003-04-08 15:47 robert - - * include/osgProducer/OsgCameraGroup, include/osgProducer/Viewer, - src/osgProducer/OsgCameraGroup.cpp, src/osgProducer/Viewer.cpp: - 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 - - * examples/osganimate/osganimate.cpp, - examples/osgbillboard/osgbillboard.cpp, - examples/osgcallback/osgcallback.cpp, - examples/osgclip/osgclip.cpp, examples/osgcluster/osgcluster.cpp, - examples/osgcopy/osgcopy.cpp, examples/osgcubemap/osgcubemap.cpp, - examples/osggeodemo/osggeodemo.cpp, - examples/osggeometry/osggeometry.cpp, - examples/osghangglide/osghangglide.cpp, - examples/osghud/osghud.cpp, examples/osgimpostor/osgimpostor.cpp, - examples/osgkeyboard/osgkeyboard.cpp, - examples/osglight/osglight.cpp, - examples/osglightpoint/osglightpoint.cpp, - examples/osglogo/osglogo.cpp, - examples/osgmultitexture/osgmultitexture.cpp, - examples/osgoccluder/osgoccluder.cpp, - examples/osgparticle/osgparticle.cpp, - examples/osgpbuffer/osgpbuffer.cpp, - examples/osgprerender/osgprerender.cpp, - examples/osgreflect/osgreflect.cpp, - examples/osgscribe/osgscribe.cpp, - examples/osgsequence/osgsequence.cpp, - examples/osgshadowtexture/osgshadowtexture.cpp, - examples/osgshape/osgshape.cpp, - examples/osgstereoimage/osgstereoimage.cpp, - examples/osgteapot/osgteapot.cpp, examples/osgtext/osgtext.cpp, - examples/osgtexture1D/osgtexture1D.cpp, - examples/osgtexture2D/osgtexture2D.cpp, - examples/osgtexture3D/osgtexture3D.cpp, - examples/osgvertexprogram/osgvertexprogram.cpp, - examples/osgviewer/osgviewer.cpp, - examples/osgwindows/osgwindows.cpp, - include/osgParticle/ParticleProcessor, - include/osgParticle/VariableRateCounter, - include/osgProducer/OsgCameraGroup, include/osgProducer/Viewer, - src/osgProducer/OsgCameraGroup.cpp, src/osgProducer/Viewer.cpp: - 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 - - * src/osgProducer/Viewer.cpp: 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 - - * examples/osgwindows/osgwindows.cpp, - include/osgGA/KeySwitchCameraManipulator, - src/osgGA/KeySwitchCameraManipulator.cpp, - src/osgProducer/ViewerEventHandler.cpp: Changed the - KeySwichCameraManipulator::setNode() so it set all camera's - attached to it. - -2003-04-08 10:59 robert - - * VisualStudio/MUST_READ_ME.txt, - VisualStudio/examples/osganimate/osganimate.dsp, - VisualStudio/examples/osgbillboard/osgbillboard.dsp, - VisualStudio/examples/osgcallback/osgcallback.dsp, - VisualStudio/examples/osgclip/osgclip.dsp, - VisualStudio/examples/osgcluster/osgcluster.dsp, - VisualStudio/examples/osgconv/osgconv.dsp, - VisualStudio/examples/osgcopy/osgcopy.dsp, - VisualStudio/examples/osgcubemap/osgcubemap.dsp, - VisualStudio/examples/osggeodemo/osggeodemo.dsp, - VisualStudio/examples/osggeometry/osggeometry.dsp, - VisualStudio/examples/osghangglide/osghangglide.dsp, - VisualStudio/examples/osghud/osghud.dsp, - VisualStudio/examples/osgimpostor/osgimpostor.dsp, - VisualStudio/examples/osglight/osglight.dsp, - VisualStudio/examples/osglightpoint/osglightpoint.dsp, - VisualStudio/examples/osglogo/osglogo.dsp, - VisualStudio/examples/osgmultitexture/osgmultitexture.dsp, - VisualStudio/examples/osgoccluder/osgoccluder.dsp, - VisualStudio/examples/osgparticle/osgparticledemo.dsp, - VisualStudio/examples/osgprerender/osgprerender.dsp, - VisualStudio/examples/osgreflect/osgreflect.dsp, - VisualStudio/examples/osgscribe/osgscribe.dsp, - VisualStudio/examples/osgsequence/osgsequence.dsp, - VisualStudio/examples/osgshadowtexture/osgshadowtexture.dsp, - VisualStudio/examples/osgshape/osgshape.dsp, - VisualStudio/examples/osgtexture1D/osgtexture1D.dsp, - VisualStudio/examples/osgtexture2D/osgtexture2D.dsp, - VisualStudio/examples/osgtexture3D/osgtexture3D.dsp, - VisualStudio/examples/osgunittests/osgunittests.dsp, - VisualStudio/examples/osgversion/osgversion.dsp, - VisualStudio/examples/osgvertexprogram/osgvertexprogram.dsp, - VisualStudio/osgPlugins/lib3ds/lib3ds.dsp: Convert dsp's to use - dos endings. - -2003-04-08 10:17 robert - - * src/osgPlugins/geo/GNUmakefile, - src/osgPlugins/geo/geoActions.cpp, - src/osgPlugins/geo/osgGeoAction.h: Cleaned up some warnings and - added : - - LINKARGS += -Wl,multiply_defined -Wl,suppress - - To GNUmakefile for the OSX build. - -2003-04-08 09:48 robert - - * examples/osgshadowtexture/osgshadowtexture.cpp: 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 - - * VisualStudio/examples/osgwindows/osgwindows.dsp: Added Producer - to the dependcies in osgwindows. - -2003-04-08 09:42 robert - - * include/osg/Math: Added an osg::absolute template function into - osg/Math. - -2003-04-07 19:19 robert - - * include/osgProducer/ViewerEventHandler, - src/osgProducer/ViewerEventHandler.cpp: Added support for snaping - screen images from osgProducer::Viewer apps. - -2003-04-07 15:11 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: Fixes to dds plugin from - Rune. - -2003-04-07 15:07 robert - - * src/osg/TextureCubeMap.cpp: 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 - - * examples/osghangglide/GliderManipulator.cpp: 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 - - * AUTHORS.txt, NEWS.txt, VisualStudio/osg/osg.dsp, - include/osg/Texture2D, include/osg/TextureRectangle, - src/osg/GNUmakefile, src/osg/Texture2D.cpp, - src/osg/TextureRectangle.cpp: From Ulrich Hertlien, new - osg::TextureRectangle class. - -2003-04-07 12:51 robert - - * include/osg/Texture, include/osg/TextureCubeMap, - src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2D.cpp, src/osg/Texture3D.cpp, - src/osg/TextureCubeMap.cpp, src/osgPlugins/osg/Texture.cpp: 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 - - * Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgwindows, - VisualStudio/examples/osgwindows/osgwindows.dsp, - examples/osgwindows, examples/osgwindows/GNUmakefile, - examples/osgwindows/GNUmakefile.inst, - examples/osgwindows/osgwindows.cpp, runexamples.bat, - src/osgProducer/Viewer.cpp: Added osgwindows example which sets - up and Producer::CameraConfig up - and uses that to create multiple windows. - -2003-04-07 09:46 robert - - * include/osg/Texture, include/osg/Texture1D, - include/osg/Texture2D, include/osg/Texture3D, - include/osg/TextureCubeMap, src/osg/Texture.cpp, - src/osg/Texture1D.cpp, src/osg/Texture2D.cpp, - src/osg/Texture3D.cpp, src/osg/TextureCubeMap.cpp: Moved the - modified tag's from osg::Texture into the osg::Texture1D,2D,3D - and - CubeMap classes. - -2003-04-06 21:46 robert - - * src/osgProducer/Viewer.cpp: Added if (!_kbmcb) to handle the case - where the keyboard mouse callback - is pre set. - -2003-04-06 21:32 robert - - * Make/makedirdefs, examples/osganimate/osganimate.cpp, - examples/osgbillboard/osgbillboard.cpp, - examples/osgcallback/osgcallback.cpp, - examples/osgclip/osgclip.cpp, examples/osgcluster/osgcluster.cpp, - examples/osgcopy/osgcopy.cpp, examples/osgcubemap/osgcubemap.cpp, - examples/osggeodemo/osggeodemo.cpp, - examples/osggeometry/osggeometry.cpp, - examples/osghangglide/osghangglide.cpp, - examples/osghud/osghud.cpp, examples/osgimpostor/osgimpostor.cpp, - examples/osgkeyboard/osgkeyboard.cpp, - examples/osglight/osglight.cpp, - examples/osglightpoint/osglightpoint.cpp, - examples/osglogo/osglogo.cpp, - examples/osgmultitexture/osgmultitexture.cpp, - examples/osgoccluder/osgoccluder.cpp, - examples/osgparticle/osgparticle.cpp, - examples/osgpbuffer/osgpbuffer.cpp, - examples/osgprerender/osgprerender.cpp, - examples/osgreflect/osgreflect.cpp, - examples/osgscribe/osgscribe.cpp, - examples/osgsequence/osgsequence.cpp, - examples/osgshadowtexture/osgshadowtexture.cpp, - examples/osgshape/osgshape.cpp, - examples/osgstereoimage/osgstereoimage.cpp, - examples/osgteapot/osgteapot.cpp, examples/osgtext/osgtext.cpp, - examples/osgtexture1D/osgtexture1D.cpp, - examples/osgtexture2D/osgtexture2D.cpp, - examples/osgtexture3D/osgtexture3D.cpp, - examples/osgunittests/osgunittests.cpp, - examples/osgvertexprogram/osgvertexprogram.cpp, - examples/osgviewer/osgviewer.cpp, include/osg/ApplicationUsage, - include/osg/ArgumentParser, src/osg/ApplicationUsage.cpp, - src/osg/ArgumentParser.cpp: Added the usage report to the - examples for when no arguments are passed - to the examples. - -2003-04-06 18:18 robert - - * examples/osgcluster/osgcluster.cpp: Fixed for new implemention - osg OsgCameraGroup::setView(). - -2003-04-06 13:29 robert - - * examples/osgstereoimage/osgstereoimage.cpp: Fixed setView to work - with new OsgCameraGroup::setView - -2003-04-06 10:07 robert - - * src/osgPlugins/txp/TrPageParser.cpp: Fixed handling of pixel and - internal images formats. - -2003-04-05 22:24 robert - - * examples/osgcameragroup/osgcameragroup.cpp, - include/osgProducer/OsgCameraGroup, include/osgProducer/Viewer, - src/osgProducer/OsgCameraGroup.cpp, src/osgProducer/Viewer.cpp, - src/osgProducer/ViewerEventHandler.cpp: Added support for - recording animation paths in the osgProducer::Viewer. - -2003-04-05 20:02 robert - - * examples/osgimpostor/TestManipulator.cpp: Fixed manipulator to - work correctly with new osgGA::GUIEventAdapter - code. - -2003-04-05 19:54 robert - - * examples/osgtexture2D/osgtexture2D.cpp: Added Images/ infront of - dog_left and dog_right images. - -2003-04-05 19:40 robert - - * examples/osgstereoimage/osgstereoimage.cpp: 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 - - * examples/osghangglide/GliderManipulator.cpp, - include/osgProducer/KeyboardMouseCallback, - src/osgProducer/Viewer.cpp: Improvements to the handling of warp - pointer call on start up. - -2003-04-05 07:11 robert - - * src/osgGA/DriveManipulator.cpp: Fixed the drive manipulator so - its height is now 1.5m and the buffer size if - 2.0m. - -2003-04-04 19:10 robert - - * examples/osgcameragroup/osgcameragroup.cpp, - include/osgGA/GUIActionAdapter, include/osgGA/GUIEventAdapter, - include/osgProducer/ActionAdapter, - include/osgProducer/EventAdapter, - include/osgProducer/KeyboardMouseCallback, - include/osgProducer/Viewer, src/osgGA/DriveManipulator.cpp, - src/osgGA/FlightManipulator.cpp, - src/osgGA/TrackballManipulator.cpp, - src/osgProducer/EventAdapter.cpp, - src/osgProducer/KeyboardMouseCallback.cpp, - src/osgProducer/Viewer.cpp: 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 - - * Make/makedefs: Removal of trailing \ from end of couple lines in - cygwin path. +Fri, 15 Jun 2007 17:47:16 +0000 +Checked in by : Robert Osfield +From Martin Lavery, Updates to Packages -2003-04-04 11:06 robert +Fri, 15 Jun 2007 16:17:33 +0000 +Checked in by : Robert Osfield +Updated ChangeLog - * include/osgProducer/ViewerEventHandler, - src/osgProducer/OsgCameraGroup.cpp, src/osgProducer/Viewer.cpp, - src/osgProducer/ViewerEventHandler.cpp: Improved support for - toggle between full screen and non fullscreen in - the osgProducer::Viewer. +Fri, 15 Jun 2007 16:08:33 +0000 +Checked in by : Robert Osfield +Fixed namespace -2003-04-04 08:39 robert +Fri, 15 Jun 2007 14:57:17 +0000 +Checked in by : Robert Osfield +Added default values for ambientBias - * examples/osgtexture2D/osgtexture2D.cpp: Added code to set the - colour of each geometry to white to prevent - colours from the text being inherited. +Fri, 15 Jun 2007 14:26:10 +0000 +Checked in by : Robert Osfield +From Martin Lavery, Update to Packaging -2003-04-03 21:00 robert +Fri, 15 Jun 2007 14:02:55 +0000 +Checked in by : Robert Osfield +Removed now redundent file - * src/osgPlugins/dds/ReaderWriterDDS.cpp: Suported for mip mapping - added by Rune. +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 -2003-04-03 14:12 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 - * src/osg/DisplaySettings.cpp, src/osgProducer/OsgCameraGroup.cpp, - src/osgUtil/SceneView.cpp: Fixes to the multipipe initialization. +Fri, 15 Jun 2007 12:59:22 +0000 +Checked in by : Robert Osfield +Added ShadowMap::s/getAmbientBias, updated NEWS and wrappers -2003-04-03 08:14 don +Fri, 15 Jun 2007 12:48:31 +0000 +Checked in by : Robert Osfield +Updated README. - * examples/osgstereoimage/osgstereoimage.cpp, - examples/osgviewer/GNUmakefile, src/osgPlugins/GNUmakefile, - src/osgPlugins/ac3d/ac3d.cpp, src/osgPlugins/ac3d/osgac3d.h, - src/osgPlugins/dx/DXWriter.cpp, src/osgPlugins/geo/GNUmakefile, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/geo/geoActions.cpp, - src/osgPlugins/geo/geoFormat.h, src/osgPlugins/iv/parser.cpp, - src/osgPlugins/iv/parser.y: Changes to fix compiles on Mac OS X +Fri, 15 Jun 2007 12:41:46 +0000 +Checked in by : Robert Osfield +Changed the version format. -2003-04-03 07:37 robert +Fri, 15 Jun 2007 10:15:54 +0000 +Checked in by : Robert Osfield +Updated version numbers for 2.0 release - * src/osgPlugins/logo/ReaderWriterLOGO.cpp: Fixes for Win32 - - removed second copy constructor from protected section - in ReaderWriterLOGO.cpp, and add osgText as a dependancy to - osgtexture3D example app. +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. -2003-04-03 07:31 robert +Fri, 15 Jun 2007 09:29:23 +0000 +Checked in by : Robert Osfield +Fixed null pointer derefence bug - * VisualStudio/VisualStudio.dsw: Added osgText dependancy to - osgtexture2D demo. +Fri, 15 Jun 2007 08:36:35 +0000 +Checked in by : Robert Osfield +Addded missing namespace -2003-04-02 20:43 robert +Thu, 14 Jun 2007 22:22:54 +0000 +Checked in by : Robert Osfield +From Martin Lavery, Packaging Update - * include/osg/Texture: Added GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB - etc to the Texture header to - allow compilation across platforms. +Thu, 14 Jun 2007 21:03:38 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-04-02 19:41 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 - * src/osgPlugins/dds/ReaderWriterDDS.cpp: Fixes to the dds plugin. +Thu, 14 Jun 2007 20:49:53 +0000 +Checked in by : Robert Osfield +From Martin Lavery, Packaging Updates -2003-04-02 18:26 robert +Thu, 14 Jun 2007 20:48:02 +0000 +Checked in by : Robert Osfield +From Martin Lavery, Packaging Updates - * AUTHORS.txt, Make/makedirdefs, NEWS.txt, - VisualStudio/VisualStudio.dsw, VisualStudio/osgPlugins/dds, - VisualStudio/osgPlugins/dds/dds.dsp, include/osg/Image, - include/osg/Texture, src/osg/Image.cpp, src/osg/Texture.cpp, - src/osgPlugins/dds, src/osgPlugins/dds/GNUmakefile, - src/osgPlugins/dds/ReaderWriterDDS.cpp: From Rune Schmidt Jensen - - new dds loader. +Thu, 14 Jun 2007 20:22:52 +0000 +Checked in by : Robert Osfield +From Martin Lavery, Install script for the Xcode build -2003-04-02 14:54 robert +Thu, 14 Jun 2007 19:17:31 +0000 +Checked in by : Robert Osfield +Fixed typo - * Make/makedefs: Removed OSX override override of PLUGIN_DIRS. +Thu, 14 Jun 2007 16:09:35 +0000 +Checked in by : Robert Osfield +From Martin Lavery, Fix to packaging -2003-04-02 11:57 robert +Thu, 14 Jun 2007 15:51:02 +0000 +Checked in by : Robert Osfield +From Martin Lavery, addition of Packaging directory - * examples/osgkeyboard/osgkeyboard.cpp, - examples/osgtexture2D/osgtexture2D.cpp: Changed colour of - anisotropic text in osgtexture2D example. - - Removed the save test.osg call in osgkeyboard. +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 -2003-04-02 10:50 robert +Wed, 13 Jun 2007 21:00:28 +0000 +Checked in by : Robert Osfield +Updated wrappers and Version numbers for 1.9.9 release - * examples/osglightpoint/osglightpoint.cpp, - include/osgSim/LightPoint, include/osgSim/LightPointNode, - src/osg/CullStack.cpp, src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgSim/LightPoint.cpp, src/osgSim/LightPointNode.cpp: 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. +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..." -2003-04-02 08:22 robert - * src/osg/DisplaySettings.cpp, src/osgDB/Registry.cpp: Added - prefix's to ApplicationUsageProxy's and made them static to help - prevent problems under OSX. -2003-04-01 20:52 robert +Wed, 13 Jun 2007 20:52:07 +0000 +Checked in by : Robert Osfield +Added ability to set the keyboard bindings in the RecordaAnimationPathHandler - * src/osg/ApplicationUsage.cpp, src/osg/ArgumentParser.cpp, - src/osgPlugins/directx/directx.cpp: Fixed std::string usage so - that std::string::size_type is used where - appropriate. +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 -2003-04-01 20:32 robert +Wed, 13 Jun 2007 19:54:00 +0000 +Checked in by : Robert Osfield +Added clear() - * examples/osgtexture2D/osgtexture2D.cpp, src/osg/Texture.cpp, - src/osgProducer/ViewerEventHandler.cpp, src/osgText/Font.cpp: - 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. +Wed, 13 Jun 2007 19:53:48 +0000 +Checked in by : Robert Osfield +Added new shader support -2003-04-01 18:50 robert +Wed, 13 Jun 2007 19:44:56 +0000 +Checked in by : Robert Osfield +From John Shue, fixed typo in CMakeLists.txt - * src/osg/ArgumentParser.cpp: Changed unsigned int to - std::string::size_type. +Wed, 13 Jun 2007 15:32:17 +0000 +Checked in by : Robert Osfield +Added passing of arugments into viewer constructor -2003-04-01 18:42 robert +Wed, 13 Jun 2007 14:42:35 +0000 +Checked in by : Robert Osfield +Removed SunOS hack as it didn't work.. - * include/osg/PolygonOffset, src/osg/PolygonOffset.cpp: Added - convinience constructor. +Wed, 13 Jun 2007 14:05:21 +0000 +Checked in by : Robert Osfield +Wired up new shaders -2003-04-01 18:42 robert +Wed, 13 Jun 2007 13:41:23 +0000 +Checked in by : Robert Osfield +Added better handling of 0,0,0 values - * src/osg/ArgumentParser.cpp: Added futher debugging messages to - track down the x86-64 crash. +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() -2003-04-01 18:35 robert +Wed, 13 Jun 2007 10:45:36 +0000 +Checked in by : Robert Osfield +Updated wrappers - * examples/osgkeyboard/osgkeyboard.cpp: Used notify for reporting - the keypressing to the commandline. +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. -2003-04-01 16:00 robert +Wed, 13 Jun 2007 10:31:32 +0000 +Checked in by : Robert Osfield +From Martin Lavery, osgShadow plugin added to Xcode project. - * examples/osgtexture2D/osgtexture2D.cpp: New osgtexture2D example - code. +Wed, 13 Jun 2007 10:12:55 +0000 +Checked in by : Robert Osfield +Fixed versioning -2003-04-01 15:13 robert +Wed, 13 Jun 2007 09:56:12 +0000 +Checked in by : Robert Osfield +Removed ParallelSplitShadowMap as its currently a non op. - * Make/makedirdefs, src/osgPlugins/logo, - src/osgPlugins/logo/GNUmakefile, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, src/osgPlugins/logos: - Moved the logo plugins from the osgPlugins/logos directory to - osgPlugins/logo - to make it consistent with the naming of the plugin. +Wed, 13 Jun 2007 08:56:29 +0000 +Checked in by : Robert Osfield +Added -lrt in for SunOS build -2003-04-01 15:08 robert +Tue, 12 Jun 2007 19:46:56 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osg/Geometry.cpp: Bug spotted and fix by Sébastien Kuntz. - Changed < to <= on Geometry.cpp, in removePrimitiveSet(), - if( i+numElementsToRemove<_primitives.size() ) +Tue, 12 Jun 2007 18:58:32 +0000 +Checked in by : Robert Osfield +Added StatsHandler -2003-04-01 13:16 robert +Tue, 12 Jun 2007 18:56:52 +0000 +Checked in by : Robert Osfield +Refactored the dome correction code to support movie flipping. - * VisualStudio/VisualStudio.dsw, - VisualStudio/osgPlugins/logo/logo.dsp: From Macro Jez, fixes to - logo plugin under VS. +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. -2003-04-01 12:00 robert +Tue, 12 Jun 2007 15:57:26 +0000 +Checked in by : Robert Osfield +Added in QT4 keyboard event adaption - * NEWS.txt, examples/osgstereoimage/osgstereoimage.cpp: Updated - NEWS. - - Removed writing of test.osg from osgstereoimage. +Tue, 12 Jun 2007 15:52:13 +0000 +Checked in by : Robert Osfield +UPdated wrappers -2003-04-01 11:55 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. " - * src/osgProducer/OsgCameraGroup.cpp, - src/osgProducer/ViewerEventHandler.cpp: Added timer code to the - init in OsgCameraGroup. - - Made the stats view 20 frames rather than 6. +Tue, 12 Jun 2007 15:32:04 +0000 +Checked in by : Robert Osfield +Moved the className, libraryName and isSameAs into public. -2003-04-01 11:53 robert +Tue, 12 Jun 2007 14:43:26 +0000 +Checked in by : Robert Osfield +Changed _data to _movieData to avoid possible confusion - * src/osgSim/LightPointDrawable.cpp: Cleaned up the reset of the - vertex arrays in osg::State. +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 -2003-04-01 11:49 robert +Tue, 12 Jun 2007 11:31:21 +0000 +Checked in by : Robert Osfield +From Martin Lavery, fix to Xcode Resources - * include/osg/Image, include/osg/Texture, include/osg/Texture2D, - src/osg/Image.cpp, src/osg/Texture.cpp: 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. +Tue, 12 Jun 2007 10:37:12 +0000 +Checked in by : Robert Osfield +From Martin Lavery, Fix of OpenSceneGraph-Data linking -2003-04-01 11:38 robert +Tue, 12 Jun 2007 10:19:27 +0000 +Checked in by : Robert Osfield +Build fixes for QT4 - * VisualStudio/VisualStudio.dsw: From Marco, fix to the path of the - osgPlugin logo. +Tue, 12 Jun 2007 09:55:40 +0000 +Checked in by : Robert Osfield +Changed the throw dection time to 0.02 -2003-04-01 08:47 robert +Tue, 12 Jun 2007 08:30:41 +0000 +Checked in by : Robert Osfield +Work in progress on perspective view dependant codes - * src/osg/ArgumentParser.cpp: Added extra debugging messages into - the - ArgumentParser::reportRemainingOptionsAsUnrecognized(ErrorSeverity - severity) - method to help track down a crash under x86-64. +Tue, 12 Jun 2007 08:29:32 +0000 +Checked in by : Robert Osfield +Added screen number, and flip support into dome correction codes. -2003-03-31 21:41 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 " - * include/osg/Texture, include/osg/buffered_value, - src/osg/Texture.cpp, src/osg/Texture2D.cpp, - src/osg/TextureCubeMap.cpp, src/osgPlugins/osg/Texture.cpp: - Implemented load and subload methods in osg::Texture/Texture2D. +Sun, 10 Jun 2007 20:46:53 +0000 +Checked in by : Robert Osfield +Added support for specifying external overlay file. -2003-03-31 12:48 robert +Sun, 10 Jun 2007 20:12:47 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osg/StateSet.cpp, src/osg/Texture.cpp: 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 - - * include/osg/State: Adding reseting of the array pointers to the - dirty methods. - -2003-03-30 11:10 robert - - * examples/osgtext/osgtext.cpp: Removed closeLibrary reference for - osgtext as this was causing problems with the - osgtext help. - -2003-03-29 22:07 robert - - * include/osgGA/CameraManipulator, include/osgGA/DriveManipulator, - include/osgGA/FlightManipulator, - include/osgGA/TrackballManipulator: Change the className() - functions from non const to const to be consistent with the - osg::Object definition. - -2003-03-28 10:04 robert - - * include/osgProducer/KeyboardMouseCallback, - src/osgProducer/Viewer.cpp, - src/osgProducer/ViewerEventHandler.cpp: Added Escape to the help - list. - Changed the help key from '?' to 'h' - -2003-03-27 18:56 robert - - * Make/distrules, Make/help.sh, Make/instdemosrc, - Make/instexamplesrc, Make/instrules, Make/makedefs, - Make/makeirixdist, Make/makepkg, Make/makerpms: Moved demo - references acros to being example references. - -2003-03-27 18:42 don - - * Make/instdemosrc, Make/makedefs, examples/osgconv/GNUmakefile: - Fixed installation of demo source from src/Demos to examples - -2003-03-27 17:20 robert - - * include/osgGA/AnimationPathManipulator: Changed private to - protected. - -2003-03-27 17:18 robert - - * include/osgProducer/KeyboardMouseCallback: Fixed typo. - -2003-03-27 17:16 robert - - * examples/osgstereoimage/GNUmakefile, - examples/osgstereoimage/GNUmakefile.inst: Added -losgGA to keep - things compiling across platforms. - -2003-03-27 14:39 robert - - * src/osgProducer/KeyboardMouseCallback.cpp, - src/osgProducer/ViewerEventHandler.cpp: Improved stats. - -2003-03-27 13:51 robert - - * examples/osganimate/GNUmakefile, - examples/osganimate/GNUmakefile.inst, - examples/osgbillboard/GNUmakefile, - examples/osgbillboard/GNUmakefile.inst, - examples/osgcallback/GNUmakefile, - examples/osgcallback/GNUmakefile.inst, - examples/osgcameragroup/GNUmakefile, - examples/osgcameragroup/GNUmakefile.inst, - examples/osgclip/GNUmakefile, examples/osgclip/GNUmakefile.inst, - examples/osgcluster/GNUmakefile, - examples/osgcluster/GNUmakefile.inst, - examples/osgcopy/GNUmakefile, examples/osgcopy/GNUmakefile.inst, - examples/osgcubemap/GNUmakefile, - examples/osgcubemap/GNUmakefile.inst, - examples/osggeodemo/GNUmakefile, - examples/osggeodemo/GNUmakefile.inst, - examples/osggeometry/GNUmakefile, - examples/osggeometry/GNUmakefile.inst, - examples/osghangglide/GNUmakefile, - examples/osghangglide/GNUmakefile.inst, - examples/osghud/GNUmakefile.inst, - examples/osgimpostor/GNUmakefile, - examples/osgimpostor/GNUmakefile.inst, - examples/osglight/GNUmakefile, - examples/osglight/GNUmakefile.inst, - examples/osglightpoint/GNUmakefile, - examples/osglightpoint/GNUmakefile.inst, - examples/osglogo/GNUmakefile, examples/osglogo/GNUmakefile.inst, - examples/osgmultitexture/GNUmakefile, - examples/osgmultitexture/GNUmakefile.inst, - examples/osgoccluder/GNUmakefile, - examples/osgoccluder/GNUmakefile.inst, - examples/osgparticle/GNUmakefile, - examples/osgparticle/GNUmakefile.inst, - examples/osgprerender/GNUmakefile, - examples/osgprerender/GNUmakefile.inst, - examples/osgreflect/GNUmakefile, - examples/osgreflect/GNUmakefile.inst, - examples/osgscribe/GNUmakefile, - examples/osgscribe/GNUmakefile.inst, - examples/osgsequence/GNUmakefile, - examples/osgsequence/GNUmakefile.inst, - examples/osgshadowtexture/GNUmakefile, - examples/osgshadowtexture/GNUmakefile.inst, - examples/osgshape/GNUmakefile, - examples/osgshape/GNUmakefile.inst, - examples/osgstereoimage/GNUmakefile, - examples/osgstereoimage/GNUmakefile.inst, - examples/osgteapot/GNUmakefile, - examples/osgteapot/GNUmakefile.inst, - examples/osgtext/GNUmakefile.inst, - examples/osgtexture1D/GNUmakefile, - examples/osgtexture1D/GNUmakefile.inst, - examples/osgtexture2D/GNUmakefile, - examples/osgtexture2D/GNUmakefile.inst, - examples/osgtexture3D/GNUmakefile, - examples/osgtexture3D/GNUmakefile.inst, - examples/osgunittests/GNUmakefile, - examples/osgunittests/GNUmakefile.inst, - examples/osgversion/GNUmakefile, - examples/osgversion/GNUmakefile.inst, - examples/osgvertexprogram/GNUmakefile, - examples/osgvertexprogram/GNUmakefile.inst, - examples/osgviewer/GNUmakefile, - examples/osgviewer/GNUmakefile.inst: Added -osgText to - GNUMakefiles. - -2003-03-27 10:58 robert - - * src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgSim/LightPointDrawable.cpp, src/osgText/DefaultFont.cpp: - 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 - - * include/osgProducer/KeyboardMouseCallback, - src/osgProducer/KeyboardMouseCallback.cpp, - src/osgProducer/ViewerEventHandler.cpp: Updates to utilise the - new Producer keyboard bindings. - -2003-03-26 20:11 robert - - * VisualStudio/VisualStudio.dsw: Added osgText dependency to - osgProducer lib. - -2003-03-26 16:48 robert - - * include/osgProducer/ViewerEventHandler, - src/osgProducer/Viewer.cpp, - src/osgProducer/ViewerEventHandler.cpp: Improved the stats - reporting. - -2003-03-26 12:50 robert - - * Make/makedirdefs, examples/osgtexture3D/osgtexture3D.cpp, - examples/osgviewer/osgviewer.cpp, include/osg/ApplicationUsage, - include/osg/Viewport, include/osgGA/CameraManipulator, - include/osgGA/DriveManipulator, include/osgGA/FlightManipulator, - include/osgGA/TrackballManipulator, - include/osgProducer/FrameStatsHandler, - include/osgProducer/OsgCameraGroup, - include/osgProducer/OsgSceneHandler, - include/osgProducer/ViewerEventHandler, - src/osg/ApplicationUsage.cpp, src/osgProducer/GNUmakefile, - src/osgProducer/OsgCameraGroup.cpp, - src/osgProducer/OsgSceneHandler.cpp, - src/osgProducer/ViewerEventHandler.cpp: Added help support for - display help on screen to osgProducer::Viewer. - -2003-03-25 15:48 robert - - * src/osgText/Font.cpp: Tweak the tex coords of fonts slightly to - avoid cut off of text. - -2003-03-25 15:45 robert - - * src/osgText/Text.cpp: Fixed axis alignment bug in text, which - occured what text was placed on the XZ - or YZ planes. - -2003-03-25 15:13 robert - - * VisualStudio/osgProducer/osgProducer.dsp, - include/osgProducer/FullScreenEventHandler, - include/osgProducer/OsgCameraGroup, include/osgProducer/Viewer, - include/osgProducer/ViewerEventHandler, - src/osgProducer/FullScreenEventHandler.cpp, - src/osgProducer/GNUmakefile, src/osgProducer/OsgCameraGroup.cpp, - src/osgProducer/Viewer.cpp, - src/osgProducer/ViewerEventHandler.cpp: 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 - - * examples/osgstereoimage/osgstereoimage.cpp, include/osgText/Text, - runexamples.bat: 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 - - * src/osg/Geometry.cpp: Spotted by Brede - missing ! - -2003-03-25 12:44 robert - - * examples/osgkeyboard/osgkeyboard.cpp: Added text input field to - the osgkeyboard demo. - -2003-03-25 12:42 robert - - * src/osgProducer/KeyboardMouseCallback.cpp: Added back into the - win32 build of KeyboardMouseCallback the check against VK_ESCAPE. - -2003-03-25 11:28 robert - - * examples/osgkeyboard/osgkeyboard.cpp: Added futher keys to - complete the keyboard. - -2003-03-25 10:05 robert - - * examples/osganimate/osganimate.cpp, - examples/osgbillboard/osgbillboard.cpp, - examples/osgcallback/osgcallback.cpp, - examples/osgclip/osgclip.cpp, examples/osgcluster/osgcluster.cpp, - examples/osgcopy/osgcopy.cpp, examples/osgcubemap/osgcubemap.cpp, - examples/osggeodemo/osggeodemo.cpp, - examples/osggeometry/osggeometry.cpp, - examples/osghangglide/osghangglide.cpp, - examples/osghud/osghud.cpp, examples/osgimpostor/osgimpostor.cpp, - examples/osgkeyboard/osgkeyboard.cpp, - examples/osglight/osglight.cpp, - examples/osglightpoint/osglightpoint.cpp, - examples/osglogo/osglogo.cpp, - examples/osgmultitexture/osgmultitexture.cpp, - examples/osgoccluder/osgoccluder.cpp, - examples/osgparticle/osgparticle.cpp, - examples/osgpbuffer/osgpbuffer.cpp, - examples/osgprerender/osgprerender.cpp, - examples/osgreflect/osgreflect.cpp, - examples/osgscribe/osgscribe.cpp, - examples/osgsequence/osgsequence.cpp, - examples/osgshadowtexture/osgshadowtexture.cpp, - examples/osgshape/osgshape.cpp, - examples/osgstereoimage/osgstereoimage.cpp, - examples/osgteapot/osgteapot.cpp, examples/osgtext/osgtext.cpp, - examples/osgtexture1D/osgtexture1D.cpp, - examples/osgtexture2D/osgtexture2D.cpp, - examples/osgtexture3D/osgtexture3D.cpp, - examples/osgvertexprogram/osgvertexprogram.cpp, - src/osgProducer/EventAdapter.cpp: 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 - - * VisualStudio/VisualStudio.dsw: Added osgText dependency to - osgkeyboard demo. +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. -2003-03-24 23:02 don +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. - * Make/makedefs: changes to makedefs to support AMD 64 bit +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. -2003-03-24 21:17 robert +I hope you'll find the submission useful, the Win32 and X11 changes are +not tested but should work." - * Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osgkeyboard, - VisualStudio/examples/osgkeyboard/osgkeyboard.dsp, - examples/osgkeyboard, examples/osgkeyboard/GNUmakefile, - examples/osgkeyboard/GNUmakefile.inst, - examples/osgkeyboard/osgkeyboard.cpp, - include/osgGA/GUIEventAdapter, src/osgProducer/EventAdapter.cpp: - Added new osgkeyboad example. +Changes to this made by Robert are call of resized in setWindowRectangle +instead of setting of Traits, and use of a bool return type. -2003-03-24 15:21 robert - * include/osgGA/GUIEventAdapter: Fixed typo. -2003-03-24 15:13 robert - * include/osgProducer/EventAdapter, - src/osgProducer/EventAdapter.cpp: Added support for remapping of - Win32 key symbols to - osgGA::GUIEventAdpater::KeySymbols. -2003-03-24 13:43 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." - * include/osgGA/GUIEventAdapter, include/osgProducer/EventAdapter, - src/osgProducer/EventAdapter.cpp, - src/osgProducer/KeyboardMouseCallback.cpp: 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. +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. -2003-03-24 09:37 robert +Also added checking of not supported DDPF_BUMPDUDV (V8U8, V16U16, +Q8W8U8L8, A2W10U10V10 etc.) and DDPF_BUMPLUMINANCE (L6V5U5, X8L8V8U8, +etc.) pixel formats. - * VisualStudio/osgPlugins/logo/logo.dsp: Redid logo dsp. +Mipmap handling is slightly modified and now support all additional formats. +" -2003-03-24 08:42 robert - * include/osgGA/GUIEventAdapter, include/osgGA/GUIEventHandler, - src/osgProducer/OsgCameraGroup.cpp, - src/osgUtil/UpdateVisitor.cpp: 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 - - * VisualStudio/examples/osgstereoimage/osgstereoimage.dsp: Added - Producer.lib to osgstereoimage demo. - -2003-03-23 20:36 robert - - * VisualStudio/osgPlugins/logo/logo.dsp: Converted to windows - endings. - -2003-03-22 20:35 robert - * examples/osgstereoimage/osgstereoimage.cpp: Revamp of the - osgstereoimage demo to provide a presentation tool for up comming - "In Your Face" shows held at the Glasgow Science Center. +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." -2003-03-22 09:48 robert +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 - * include/osgUtil/UpdateVisitor: Added a traverseGeode method to - the UpdateVisitor which contains the - traversal code for both the nodes traversal and the drawables the - geode - contains. +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. -2003-03-21 22:32 robert +Sat, 9 Jun 2007 17:58:37 +0000 +Checked in by : Robert Osfield +Improved the detection of throwing of the mouse. - * examples/osgcopy/osgcopy.cpp: Added using namespace osg and - removed osg:: from CopyOp's as this was - causing problems with VisualStudio's scoping bug. +Sat, 9 Jun 2007 10:18:28 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-03-21 08:30 robert +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. - * VisualStudio/examples/osgcluster/osgcluster.dsp: Added - Prodcuer.lib and PThread*.lib to the osgcluster example. +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. -2003-03-20 22:13 robert +Fri, 8 Jun 2007 20:11:50 +0000 +Checked in by : Robert Osfield +Added debug code path that prints out font details. - * Make/makedefs: 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. +Fri, 8 Jun 2007 16:47:18 +0000 +Checked in by : Robert Osfield +From Eric Wing, interface files -2003-03-20 21:26 robert +Fri, 8 Jun 2007 16:05:30 +0000 +Checked in by : Robert Osfield +Removed empty directory - * Make/makedefs: Added -m64 -DARCH64 option to Linux 64 bit build. +Fri, 8 Jun 2007 16:05:13 +0000 +Checked in by : Robert Osfield +Removed empty directory -2003-03-20 20:38 robert +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. - * examples/osgcopy/osgcopy.cpp: Add osg:: infront of CopyOp - instances. +Fri, 8 Jun 2007 15:29:04 +0000 +Checked in by : Robert Osfield +Added fallback for when no command line args are provied. -2003-03-20 17:24 robert +Fri, 8 Jun 2007 15:11:04 +0000 +Checked in by : Robert Osfield +Added default file when no command line options are supplied. - * include/osgProducer/OsgSceneHandler, - src/osgProducer/OsgSceneHandler.cpp: Added overide of the - SceneHandler::clear() making it a no-op. Will revisit - this implemention later. +Fri, 8 Jun 2007 15:06:08 +0000 +Checked in by : Robert Osfield +Added fallback for when no command line args are passed in. -2003-03-20 17:00 robert +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 - * examples/osgstereoimage/osgstereoimage.cpp, - src/osgGA/FlightManipulator.cpp, - src/osgGA/TrackballManipulator.cpp, - src/osgProducer/OsgCameraGroup.cpp, src/osgProducer/Viewer.cpp: - 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. +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. -2003-03-20 14:07 robert +Fri, 8 Jun 2007 12:15:16 +0000 +Checked in by : Robert Osfield +Added default command line arg - * examples/osgprerender/osgprerender.cpp, - examples/osgshadowtexture/CreateShadowedScene.cpp, - src/osg/DisplaySettings.cpp, src/osg/Image.cpp, - src/osgProducer/OsgCameraGroup.cpp: Added support for setting up - VisualChoose with destination alpha, stencil and - quad buffers attributes from DisplaySettings values. +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. -2003-03-20 08:58 robert +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. +" - * examples/osgshadowtexture/CreateShadowedScene.cpp: 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 - * VisualStudio/VisualStudio.dsw, - VisualStudio/osgPlugins/lib3ds/lib3ds.dsp, - VisualStudio/osgPlugins/logo, - VisualStudio/osgPlugins/logo/logo.dsp: Somehow the logo plugin - got left out of the windows build. Adding it back in. (Needed for - BMV) +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. -2003-03-20 08:43 robert +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. - * src/osg/GeoSet.cpp: Added missing - setInterleavedArray( InterleaveArrayType format, float *ia, - GLuint *iai ) - method. +The attached fix modifies the OpenFlight loader to behave in this way." -2003-03-19 21:46 robert - * include/osg/Endian, src/osgSim/LightPointDrawable.cpp, - src/osgSim/LightPointDrawable.h: Added Endian test header to the - core osg, and add use of the new - getCpuByteOrder test in LightPointDrawable. -2003-03-19 21:14 robert +Fri, 8 Jun 2007 10:43:26 +0000 +Checked in by : Robert Osfield +From Eric Wing, build fix - * include/osgGA/KeySwitchCameraManipulator, - src/osgGA/KeySwitchCameraManipulator.cpp: Added - getCameraManipulator(unsigned int) method. +Fri, 8 Jun 2007 10:43:01 +0000 +Checked in by : Robert Osfield +From Eric Wing, build fix -2003-03-19 15:57 robert +Fri, 8 Jun 2007 10:42:52 +0000 +Checked in by : Robert Osfield +Updated wrappers - * examples/osgimpostor/osgimpostor.cpp: Added sync at the end of - the main loop to prevent seg fault on exit. +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." -2003-03-19 15:49 robert - * include/osgProducer/EventAdapter, - src/osgProducer/KeyboardMouseCallback.cpp, - src/osgProducer/Viewer.cpp: First pass fix at implementing - requestWarpPointer. -2003-03-19 15:37 don +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. - * Make/versionrules: Adjusted date format for versionrules +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. -2003-03-19 14:27 robert +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. - * VisualStudio/osgProducer/osgProducer.dsp, - include/osgProducer/FullScreenEventHandler, - include/osgProducer/KeyboardMouseCallback, - include/osgProducer/Viewer, - src/osgProducer/FullScreenEventHandler.cpp, - src/osgProducer/GNUmakefile, - src/osgProducer/KeyboardMouseCallback.cpp, - src/osgProducer/OsgCameraGroup.cpp, src/osgProducer/Viewer.cpp: - Addd a full screen toggle event handler to osgProducer & its - viewer base - class. +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." -2003-03-19 12:06 robert - * examples/osgtexture3D/osgtexture3D.cpp, - include/osgProducer/OsgCameraGroup, - src/osgProducer/OsgCameraGroup.cpp: 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 - * examples/osgoccluder/osgoccluder.cpp, src/osgProducer/Viewer.cpp: - Fixed crash in osgoccluder which was calling setUpViewer and the - osgProducer/Viewer was assuming that the update was always set. +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. -2003-03-19 02:31 don +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)." - * src/osgProducer/OsgCameraGroup.cpp: Fixed a globalState setting - order in OsgCameraGroup::realize() -2003-03-18 20:27 robert - * AUTHORS.txt, VisualStudio/examples/osgcluster/osgcluster.dsp, - examples/osglight/osglight.cpp, - examples/osgoccluder/osgoccluder.cpp, - examples/osgstereoimage/osgstereoimage.cpp, - examples/osgviewer/osgviewer.cpp, - include/osgProducer/OsgCameraGroup, - src/osgProducer/OsgCameraGroup.cpp: Chaned the OsgCameraGroup so - that its scene handler list used ref_ptr<> for - robustly managing memory. -2003-03-18 20:10 robert - - * src/osgPlugins/flt/LocalVertexPoolRecord.cpp, - src/osgPlugins/flt/LocalVertexPoolRecord.h, - src/osgPlugins/flt/ReaderWriterFLT.cpp, - src/osgPlugins/flt/Record.cpp, src/osgPlugins/flt/Record.h, - src/osgPlugins/flt/Registry.cpp, src/osgPlugins/flt/Registry.h, - src/osgPlugins/flt/flt2osg.cpp, src/osgPlugins/flt/flt2osg.h: - 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 - - * Make/makedefs, include/osg/Version: Set VERSION_RELEASE back to - 3, replaced guards in include/osg/Verson to - OSG_VERSION_ with trailing underscore - -2003-03-18 19:42 robert - - * include/osg/Texture, include/osg/Texture1D, - include/osg/Texture2D, include/osg/Texture3D, - include/osg/TextureCubeMap: From Tree, added SG_EXPORT to the - inner classes for Java binding work. - -2003-03-18 18:40 don - - * GNUmakefile, Make/makedefs, Make/versionrules: Added support for - versioning to the build system - -2003-03-18 09:29 robert - - * include/osg/GeoSet: From Tree, ushort renamed GLushort - -2003-03-17 22:53 robert - - * include/osgDB/ReadFile, include/osgDB/Registry, - src/osgDB/ReadFile.cpp, src/osgDB/Registry.cpp, - src/osgText/Font.cpp: Implemented a object cache in - osgDB::Registry. - -2003-03-17 20:08 robert - - * examples/osgcluster/GNUmakefile, - examples/osgcluster/GNUmakefile.inst: Added inc and links for - local Producer. - -2003-03-17 09:51 robert - - * examples/osgcluster/osgcluster.cpp: break from osgcluster main - loop added for when the master send a killed - messsage to slaves. - -2003-03-16 22:00 robert - - * src/osgUtil/TriStrip_graph_array.h: Fixes for new beta release of - VS.NET - -2003-03-16 21:58 robert - - * Make/makedirdefs, VisualStudio/Demos, - examples/osgcluster/osgcluster.cpp, - examples/osgvertexprogram/osgvertexprogram.cpp, - include/osg/Export, include/osgDB/Export, include/osgGA/Export, - include/osgParticle/Export, include/osgProducer/Export, - include/osgSim/Export, include/osgText/Export, - include/osgUtil/Export: 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 - - * src/Demos: Removed the GNUMakefile for the old Demos directory. - -2003-03-15 20:20 robert - - * Make/makedefs, Make/makedirdefs, VisualStudio/Demos/osganimate, - VisualStudio/Demos/osgbillboard, VisualStudio/Demos/osgcallback, - VisualStudio/Demos/osgclip, VisualStudio/Demos/osgcluster, - VisualStudio/Demos/osgconv, VisualStudio/Demos/osgcopy, - VisualStudio/Demos/osgcube, VisualStudio/Demos/osgcubemap, - VisualStudio/Demos/osggeodemo, VisualStudio/Demos/osggeometry, - VisualStudio/Demos/osghangglide, VisualStudio/Demos/osghud, - VisualStudio/Demos/osgimpostor, VisualStudio/Demos/osglight, - VisualStudio/Demos/osglightpoint, VisualStudio/Demos/osglogo, - VisualStudio/Demos/osgmultitexture, - VisualStudio/Demos/osgoccluder, VisualStudio/Demos/osgparticle, - VisualStudio/Demos/osgpbuffer, VisualStudio/Demos/osgprerender, - VisualStudio/Demos/osgreflect, VisualStudio/Demos/osgscribe, - VisualStudio/Demos/osgsequence, - VisualStudio/Demos/osgshadowtexture, VisualStudio/Demos/osgshape, - VisualStudio/Demos/osgstereoimage, VisualStudio/Demos/osgteapot, - VisualStudio/Demos/osgtext, VisualStudio/Demos/osgtexture1D, - VisualStudio/Demos/osgtexture2D, VisualStudio/Demos/osgtexture3D, - VisualStudio/Demos/osgunittests, VisualStudio/Demos/osgversion, - VisualStudio/Demos/osgvertexprogram, VisualStudio/Demos/osgviews, - VisualStudio/Demos/sgv, VisualStudio/VisualStudio.dsw, - VisualStudio/examples/osganimate/osganimate.dsp, - VisualStudio/examples/osgbillboard/osgbillboard.dsp, - VisualStudio/examples/osgcallback/osgcallback.dsp, - VisualStudio/examples/osgclip/osgclip.dsp, - VisualStudio/examples/osgcluster/osgcluster.dsp, - VisualStudio/examples/osgconv/osgconv.dsp, - VisualStudio/examples/osgcopy/osgcopy.dsp, - VisualStudio/examples/osgcube, - VisualStudio/examples/osgcubemap/osgcubemap.dsp, - VisualStudio/examples/osggeodemo/osggeodemo.dsp, - VisualStudio/examples/osggeometry/osggeometry.dsp, - VisualStudio/examples/osghangglide/osghangglide.dsp, - VisualStudio/examples/osghud/osghud.dsp, - VisualStudio/examples/osgimpostor/osgimpostor.dsp, - VisualStudio/examples/osglight/osglight.dsp, - VisualStudio/examples/osglightpoint/osglightpoint.dsp, - VisualStudio/examples/osglogo/osglogo.dsp, - VisualStudio/examples/osgmultitexture/osgmultitexture.dsp, - VisualStudio/examples/osgoccluder/osgoccluder.dsp, - VisualStudio/examples/osgparticle/osgparticledemo.dsp, - VisualStudio/examples/osgpbuffer/osgpbuffer.dsp, - VisualStudio/examples/osgprerender/osgprerender.dsp, - VisualStudio/examples/osgreflect/osgreflect.dsp, - VisualStudio/examples/osgscribe/osgscribe.dsp, - VisualStudio/examples/osgsequence/osgsequence.dsp, - VisualStudio/examples/osgshadowtexture/osgshadowtexture.dsp, - VisualStudio/examples/osgshape/osgshape.dsp, - VisualStudio/examples/osgstereoimage/osgstereoimage.dsp, - VisualStudio/examples/osgteapot/osgteapot.dsp, - VisualStudio/examples/osgtext/osgtextdemo.dsp, - VisualStudio/examples/osgtexture1D/osgtexture1D.dsp, - VisualStudio/examples/osgtexture2D/osgtexture2D.dsp, - VisualStudio/examples/osgtexture3D/osgtexture3D.dsp, - VisualStudio/examples/osgunittests/osgunittests.dsp, - VisualStudio/examples/osgversion/osgversion.dsp, - VisualStudio/examples/osgvertexprogram/osgvertexprogram.dsp, - VisualStudio/examples/osgviewer, - VisualStudio/examples/osgviewer/osgviewer.dsp, - VisualStudio/osgGLUT, include/osgGLUT, rundemos.bat, - runexamples.bat, src/Demos/osganimate, src/Demos/osgbillboard, - src/Demos/osgcallback, src/Demos/osgclip, src/Demos/osgcluster, - src/Demos/osgconv, src/Demos/osgcopy, src/Demos/osgcube, - src/Demos/osgcubemap, src/Demos/osggeodemo, - src/Demos/osggeometry, src/Demos/osghangglide, src/Demos/osghud, - src/Demos/osgimpostor, src/Demos/osglight, - src/Demos/osglightpoint, src/Demos/osglogo, - src/Demos/osgmultitexture, src/Demos/osgoccluder, - src/Demos/osgparticle, src/Demos/osgpbuffer, - src/Demos/osgprerender, src/Demos/osgreflect, - src/Demos/osgscribe, src/Demos/osgsequence, - src/Demos/osgshadowtexture, src/Demos/osgshape, - src/Demos/osgstereoimage, src/Demos/osgteapot, src/Demos/osgtext, - src/Demos/osgtexture1D, src/Demos/osgtexture2D, - src/Demos/osgtexture3D, src/Demos/osgunittests, - src/Demos/osgversion, src/Demos/osgvertexprogram, - src/Demos/osgviews, src/Demos/sgv, src/osgGLUT: Removed osgGLUT - and Demos/*. - - Integrated Marco's updated examples/*/*.dsp's. - -2003-03-15 16:41 robert - - * examples/osgpbuffer, - examples/osgpbuffer/RenderToTextureStage.cpp, - examples/osgpbuffer/RenderToTextureStage.h, - examples/osgpbuffer/osgpbuffer.cpp, - examples/osgpbuffer/pbuffer.cpp, examples/osgpbuffer/pbuffer.h: - Added osgpbuffer example source. - -2003-03-15 09:20 robert - - * VisualStudio/Demos/osgshadowtexture/osgshadowtexture.dsp, - VisualStudio/VisualStudio.dsw, VisualStudio/examples, - VisualStudio/examples/osganimate, - VisualStudio/examples/osganimate/osganimate.dsp, - VisualStudio/examples/osgbillboard, - VisualStudio/examples/osgbillboard/osgbillboard.dsp, - VisualStudio/examples/osgcallback, - VisualStudio/examples/osgcallback/osgcallback.dsp, - VisualStudio/examples/osgclip, - VisualStudio/examples/osgclip/osgclip.dsp, - VisualStudio/examples/osgcluster, - VisualStudio/examples/osgcluster/osgcluster.dsp, - VisualStudio/examples/osgconv, - VisualStudio/examples/osgconv/osgconv.dsp, - VisualStudio/examples/osgcopy, - VisualStudio/examples/osgcopy/osgcopy.dsp, - VisualStudio/examples/osgcube, - VisualStudio/examples/osgcube/osgcube.dsp, - VisualStudio/examples/osgcubemap, - VisualStudio/examples/osgcubemap/osgcubemap.dsp, - VisualStudio/examples/osggeodemo, - VisualStudio/examples/osggeodemo/osggeodemo.dsp, - VisualStudio/examples/osggeometry, - VisualStudio/examples/osggeometry/osggeometry.dsp, - VisualStudio/examples/osghangglide, - VisualStudio/examples/osghangglide/osghangglide.dsp, - VisualStudio/examples/osghud, - VisualStudio/examples/osghud/osghud.dsp, - VisualStudio/examples/osgimpostor, - VisualStudio/examples/osgimpostor/osgimpostor.dsp, - VisualStudio/examples/osglight, - VisualStudio/examples/osglight/osglight.dsp, - VisualStudio/examples/osglightpoint, - VisualStudio/examples/osglightpoint/osglightpoint.dsp, - VisualStudio/examples/osglogo, - VisualStudio/examples/osglogo/osglogo.dsp, - VisualStudio/examples/osgmultitexture, - VisualStudio/examples/osgmultitexture/osgmultitexture.dsp, - VisualStudio/examples/osgoccluder, - VisualStudio/examples/osgoccluder/osgoccluder.dsp, - VisualStudio/examples/osgparticle, - VisualStudio/examples/osgparticle/osgparticledemo.dsp, - VisualStudio/examples/osgpbuffer, - VisualStudio/examples/osgpbuffer/osgpbuffer.dsp, - VisualStudio/examples/osgprerender, - VisualStudio/examples/osgprerender/osgprerender.dsp, - VisualStudio/examples/osgreflect, - VisualStudio/examples/osgreflect/osgreflect.dsp, - VisualStudio/examples/osgscribe, - VisualStudio/examples/osgscribe/osgscribe.dsp, - VisualStudio/examples/osgsequence, - VisualStudio/examples/osgsequence/osgsequence.dsp, - VisualStudio/examples/osgshadowtexture, - VisualStudio/examples/osgshadowtexture/osgshadowtexture.dsp, - VisualStudio/examples/osgshape, - VisualStudio/examples/osgshape/osgshape.dsp, - VisualStudio/examples/osgstereoimage, - VisualStudio/examples/osgstereoimage/osgstereoimage.dsp, - VisualStudio/examples/osgteapot, - VisualStudio/examples/osgteapot/osgteapot.dsp, - VisualStudio/examples/osgtext, - VisualStudio/examples/osgtext/osgtextdemo.dsp, - VisualStudio/examples/osgtexture1D, - VisualStudio/examples/osgtexture1D/osgtexture1D.dsp, - VisualStudio/examples/osgtexture2D, - VisualStudio/examples/osgtexture2D/osgtexture2D.dsp, - VisualStudio/examples/osgtexture3D, - VisualStudio/examples/osgtexture3D/osgtexture3D.dsp, - VisualStudio/examples/osgunittests, - VisualStudio/examples/osgunittests/osgunittests.dsp, - VisualStudio/examples/osgversion, - VisualStudio/examples/osgversion/osgversion.dsp, - VisualStudio/examples/osgvertexprogram, - VisualStudio/examples/osgvertexprogram/osgvertexprogram.dsp: - Added VisualStudio .dsp's for the new osgProducer based examples. - -2003-03-15 08:01 don - - * examples/osganimate/GNUmakefile, - examples/osgbillboard/GNUmakefile, - examples/osgcallback/GNUmakefile, - examples/osgcameragroup/GNUmakefile, - examples/osgclip/GNUmakefile, examples/osgcluster/GNUmakefile, - examples/osgconv/GNUmakefile, examples/osgcopy/GNUmakefile, - examples/osgcubemap/GNUmakefile, examples/osggeodemo/GNUmakefile, - examples/osggeometry/GNUmakefile, - examples/osghangglide/GNUmakefile, examples/osghud/GNUmakefile, - examples/osgimpostor/GNUmakefile, examples/osglight/GNUmakefile, - examples/osglightpoint/GNUmakefile, examples/osglogo/GNUmakefile, - examples/osgmultitexture/GNUmakefile, - examples/osgoccluder/GNUmakefile, - examples/osgparticle/GNUmakefile, - examples/osgprerender/GNUmakefile, - examples/osgreflect/GNUmakefile, examples/osgscribe/GNUmakefile, - examples/osgsequence/GNUmakefile, - examples/osgshadowtexture/GNUmakefile, - examples/osgshape/GNUmakefile, examples/osgteapot/GNUmakefile, - examples/osgtext/GNUmakefile, examples/osgtexture1D/GNUmakefile, - examples/osgtexture2D/GNUmakefile, - examples/osgtexture3D/GNUmakefile, - examples/osgunittests/GNUmakefile, - examples/osgunittests/osgunittests.cpp, - examples/osgversion/GNUmakefile, - examples/osgvertexprogram/GNUmakefile, - examples/osgviewer/GNUmakefile: Added -losgGA to all GNUmakefiles - in examples. - Added one std:: in front of an endl in osgunittests.cpp - -2003-03-14 21:01 robert - - * src/Demos/osgpbuffer/osgpbuffer.cpp: Moved code across to use the - new ArgumentParser. - -2003-03-14 20:35 robert - - * Make/makedirdefs, examples/osganimate, - examples/osganimate/GNUmakefile, - examples/osganimate/GNUmakefile.inst, - examples/osganimate/osganimate.cpp, examples/osgbillboard, - examples/osgbillboard/GNUmakefile, - examples/osgbillboard/GNUmakefile.inst, - examples/osgbillboard/osgbillboard.cpp, examples/osgcallback, - examples/osgcallback/GNUmakefile, - examples/osgcallback/GNUmakefile.inst, - examples/osgcallback/osgcallback.cpp, - examples/osgcameragroup/GNUmakefile, - examples/osgcameragroup/GNUmakefile.inst, examples/osgclip, - examples/osgclip/GNUmakefile, examples/osgclip/GNUmakefile.inst, - examples/osgclip/osgclip.cpp, examples/osgcluster, - examples/osgcluster/GNUmakefile, - examples/osgcluster/GNUmakefile.inst, - examples/osgcluster/broadcaster.cpp, - examples/osgcluster/broadcaster.h, - examples/osgcluster/osgcluster.cpp, - examples/osgcluster/receiver.cpp, examples/osgcluster/receiver.h, - examples/osgconv/GNUmakefile, examples/osgconv/GNUmakefile.inst, - examples/osgcopy, examples/osgcopy/GNUmakefile, - examples/osgcopy/GNUmakefile.inst, examples/osgcopy/osgcopy.cpp, - examples/osgcubemap, examples/osgcubemap/GNUmakefile, - examples/osgcubemap/GNUmakefile.inst, - examples/osgcubemap/osgcubemap.cpp, examples/osggeodemo, - examples/osggeodemo/GNUmakefile, - examples/osggeodemo/GNUmakefile.inst, - examples/osggeodemo/osggeodemo.cpp, examples/osggeometry, - examples/osggeometry/GNUmakefile, - examples/osggeometry/GNUmakefile.inst, - examples/osggeometry/osggeometry.cpp, examples/osghangglide, - examples/osghangglide/GNUmakefile, - examples/osghangglide/GNUmakefile.inst, - examples/osghangglide/GliderManipulator.cpp, - examples/osghangglide/GliderManipulator.h, - examples/osghangglide/base.cpp, examples/osghangglide/hat.cpp, - examples/osghangglide/hat.h, - examples/osghangglide/osghangglide.cpp, - examples/osghangglide/sky.cpp, examples/osghangglide/tank.cpp, - examples/osghangglide/terrain.cpp, - examples/osghangglide/terrain_coords.h, - examples/osghangglide/terrain_normals.h, - examples/osghangglide/terrain_texcoords.h, - examples/osghangglide/trees.cpp, examples/osghud/GNUmakefile, - examples/osghud/GNUmakefile.inst, examples/osgimpostor, - examples/osgimpostor/GNUmakefile, - examples/osgimpostor/GNUmakefile.inst, - examples/osgimpostor/TestManipulator.cpp, - examples/osgimpostor/TestManipulator.h, - examples/osgimpostor/osgimpostor.cpp, examples/osglight, - examples/osglight/GNUmakefile, - examples/osglight/GNUmakefile.inst, - examples/osglight/osglight.cpp, examples/osglightpoint, - examples/osglightpoint/GNUmakefile, - examples/osglightpoint/GNUmakefile.inst, - examples/osglightpoint/osglightpoint.cpp, examples/osglogo, - examples/osglogo/GNUmakefile, examples/osglogo/GNUmakefile.inst, - examples/osglogo/osglogo.cpp, examples/osgmultitexture, - examples/osgmultitexture/GNUmakefile, - examples/osgmultitexture/GNUmakefile.inst, - examples/osgmultitexture/osgmultitexture.cpp, - examples/osgoccluder, examples/osgoccluder/GNUmakefile, - examples/osgoccluder/GNUmakefile.inst, - examples/osgoccluder/osgoccluder.cpp, examples/osgparticle, - examples/osgparticle/GNUmakefile, - examples/osgparticle/GNUmakefile.inst, - examples/osgparticle/osgparticle.cpp, examples/osgprerender, - examples/osgprerender/GNUmakefile, - examples/osgprerender/GNUmakefile.inst, - examples/osgprerender/osgprerender.cpp, - examples/osgreflect/GNUmakefile, - examples/osgreflect/GNUmakefile.inst, examples/osgscribe, - examples/osgscribe/GNUmakefile, - examples/osgscribe/GNUmakefile.inst, - examples/osgscribe/osgscribe.cpp, examples/osgsequence, - examples/osgsequence/GNUmakefile, - examples/osgsequence/GNUmakefile.inst, - examples/osgsequence/osgsequence.cpp, examples/osgshadowtexture, - examples/osgshadowtexture/CreateShadowedScene.cpp, - examples/osgshadowtexture/CreateShadowedScene.h, - examples/osgshadowtexture/GNUmakefile, - examples/osgshadowtexture/GNUmakefile.inst, - examples/osgshadowtexture/osgshadowtexture.cpp, - examples/osgshape, examples/osgshape/GNUmakefile, - examples/osgshape/GNUmakefile.inst, - examples/osgshape/osgshape.cpp, examples/osgteapot, - examples/osgteapot/GNUmakefile, - examples/osgteapot/GNUmakefile.inst, - examples/osgteapot/osgteapot.cpp, examples/osgtext/GNUmakefile, - examples/osgtext/GNUmakefile.inst, examples/osgtexture1D, - examples/osgtexture1D/GNUmakefile, - examples/osgtexture1D/GNUmakefile.inst, - examples/osgtexture1D/osgtexture1D.cpp, examples/osgtexture2D, - examples/osgtexture2D/GNUmakefile, - examples/osgtexture2D/GNUmakefile.inst, - examples/osgtexture2D/osgtexture2D.cpp, examples/osgtexture3D, - examples/osgtexture3D/GNUmakefile, - examples/osgtexture3D/GNUmakefile.inst, - examples/osgtexture3D/osgtexture3D.cpp, examples/osgunittests, - examples/osgunittests/GNUmakefile, - examples/osgunittests/GNUmakefile.inst, - examples/osgunittests/osgunittests.cpp, examples/osgversion, - examples/osgversion/GNUmakefile, - examples/osgversion/GNUmakefile.inst, - examples/osgversion/osgversion.cpp, examples/osgvertexprogram, - examples/osgvertexprogram/GNUmakefile, - examples/osgvertexprogram/GNUmakefile.inst, - examples/osgvertexprogram/osgvertexprogram.cpp, - examples/osgviewer/GNUmakefile, - examples/osgviewer/GNUmakefile.inst, rundemos.bat, - src/osgProducer/Viewer.cpp: Ported osgGLUT based src/Demos across - to being osgProducer based, and placed - them in the new examples/ directory. - -2003-03-14 10:49 robert - - * Make/makedirdefs, NEWS.txt, include/osg/DisplaySettings, - include/osgDB/Registry, include/osgGLUT/Viewer, - src/Demos/osganimate/osganimate.cpp, - src/Demos/osgbillboard/osgbillboard.cpp, - src/Demos/osgcallback/osgcallback.cpp, - src/Demos/osgclip/osgclip.cpp, src/Demos/osgcopy/osgcopy.cpp, - src/Demos/osgcube/osgcube.cpp, - src/Demos/osgcubemap/osgcubemap.cpp, - src/Demos/osggeodemo/osggeodemo.cpp, - src/Demos/osggeometry/osggeometry.cpp, - src/Demos/osghangglide/osghangglide.cpp, - src/Demos/osghud/osghud.cpp, - src/Demos/osgimpostor/osgimpostor.cpp, - src/Demos/osglight/osglight.cpp, - src/Demos/osglightpoint/osglightpoint.cpp, - src/Demos/osglogo/osglogo.cpp, - src/Demos/osgmultitexture/osgmultitexture.cpp, - src/Demos/osgoccluder/osgoccluder.cpp, - src/Demos/osgpbuffer/osgpbuffer.cpp, - src/Demos/osgprerender/osgprerender.cpp, - src/Demos/osgreflect/osgreflect.cpp, - src/Demos/osgscribe/osgscribe.cpp, - src/Demos/osgsequence/osgsequence.cpp, - src/Demos/osgshadowtexture/osgshadowtexture.cpp, - src/Demos/osgshape/osgshape.cpp, - src/Demos/osgstereoimage/osgstereoimage.cpp, - src/Demos/osgteapot/osgteapot.cpp, src/Demos/osgtext/main.cpp, - src/Demos/osgtexture1D/osgtexture1D.cpp, - src/Demos/osgtexture2D/osgtexture2D.cpp, - src/Demos/osgtexture3D/osgtexture3D.cpp, - src/Demos/osgunittests/osgunittests.cpp, - src/Demos/osgvertexprogram/osgvertexprogram.cpp, - src/Demos/osgviews/osgviews.cpp, src/Demos/sgv/sgv.cpp, - src/osg/DisplaySettings.cpp, src/osgDB/Registry.cpp, - src/osgGA/StateSetManipulator.cpp, src/osgGLUT/Viewer.cpp: Ported - all glut based demos across to using the new osg::ArgumentParser. - -2003-03-14 09:28 robert - - * src/osgText/Font.cpp: The wrong file name was being used - readFontFile. - -2003-03-14 02:29 don - - * src/osgPlugins/txp/GNUmakefile: 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 - - * include/osg/Vec2: 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 - - * VisualStudio/osgText/osgText.dsp: From Gabor Dorka, Added d to - /MDd option for debug build of osgText. - -2003-03-13 06:22 don - - * Make/instdemosrc, Make/makedefs, Make/makedirrules, - Make/makerules, examples/osgcameragroup/GNUmakefile, - include/osg/Vec2, include/osgDB/Field, - src/Demos/osglogo/osglogo.cpp, src/osgDB/Field.cpp, - src/osgPlugins/quicktime/GNUmakefile, - src/osgProducer/GNUmakefile: Fixes for Mac OS X - -2003-03-13 02:53 don - - * Make/dolink.sh, Make/help.sh, Make/helprules, Make/instdemosrc, - Make/instrules, Make/makedefs, Make/makerules, - examples/osgcameragroup/GNUmakefile, examples/osghud/GNUmakefile, - examples/osgreflect/GNUmakefile, - examples/osgstereoimage/GNUmakefile, - examples/osgtext/GNUmakefile, examples/osgviewer/GNUmakefile, - src/Demos/osganimate/GNUmakefile, - src/Demos/osgbillboard/GNUmakefile, - src/Demos/osgcallback/GNUmakefile, src/Demos/osgclip/GNUmakefile, - src/Demos/osgcluster/GNUmakefile, src/Demos/osgconv/GNUmakefile, - src/Demos/osgcopy/GNUmakefile, src/Demos/osgcube/GNUmakefile, - src/Demos/osgcubemap/GNUmakefile, - src/Demos/osggeodemo/GNUmakefile, - src/Demos/osggeometry/GNUmakefile, - src/Demos/osghangglide/GNUmakefile, src/Demos/osghud/GNUmakefile, - src/Demos/osgimpostor/GNUmakefile, - src/Demos/osglight/GNUmakefile, - src/Demos/osglightpoint/GNUmakefile, - src/Demos/osglogo/GNUmakefile, - src/Demos/osgmultitexture/GNUmakefile, - src/Demos/osgoccluder/GNUmakefile, - src/Demos/osgparticle/GNUmakefile, - src/Demos/osgprerender/GNUmakefile, - src/Demos/osgreflect/GNUmakefile, - src/Demos/osgscribe/GNUmakefile, - src/Demos/osgsequence/GNUmakefile, - src/Demos/osgshadowtexture/GNUmakefile, - src/Demos/osgshape/GNUmakefile, - src/Demos/osgstereoimage/GNUmakefile, - src/Demos/osgteapot/GNUmakefile, src/Demos/osgtext/GNUmakefile, - src/Demos/osgtexture1D/GNUmakefile, - src/Demos/osgtexture2D/GNUmakefile, - src/Demos/osgtexture3D/GNUmakefile, - src/Demos/osgunittests/GNUmakefile, - src/Demos/osgversion/GNUmakefile, - src/Demos/osgvertexprogram/GNUmakefile, - src/Demos/osgviews/GNUmakefile, src/Demos/sgv/GNUmakefile: - 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 - - * examples/osgcameragroup/GNUmakefile, - examples/osgcameragroup/GNUmakefile.inst, - examples/osghud/GNUmakefile, examples/osghud/GNUmakefile.inst, - examples/osgreflect/GNUmakefile, - examples/osgreflect/GNUmakefile.inst, - examples/osgstereoimage/GNUmakefile, - examples/osgstereoimage/GNUmakefile.inst, - examples/osgtext/GNUmakefile, examples/osgtext/GNUmakefile.inst, - examples/osgviewer/GNUmakefile, - examples/osgviewer/GNUmakefile.inst: Changed the GNUMakefile for - the osgproducer demo to use INC += instead of CXXFLAGS. - -2003-03-12 20:10 don - - * lib/osgPlugins: Removed osgPlugins from lib, which is now built - on the fly - -2003-03-12 15:36 robert - - * src/osgText/String.cpp: Fix from Gabor for proper casting of - char's to unsigned ints be setting up the - osgText::String. - -2003-03-12 14:01 robert - - * Make/makedefs, Make/makedirdefs: 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 - - * src/osgGA/StateSetManipulator.cpp: Added 'w' toggle to - StateSetManipulator to toggle between filled, line and - point polygon drawing modes. - -2003-03-12 12:17 robert - - * src/osg/ApplicationUsage.cpp: Changed std::min to osg::minimum. - -2003-03-12 11:50 robert - - * examples/osghud/GNUmakefile: Added -losgText - -2003-03-12 11:36 robert - - * examples/osghud/GNUmakefile: Added missing osghud Makefile. - -2003-03-12 10:39 don - - * GNUmakefile, Make/makedefs, Make/makerules, Makefile, - dist/Irix/GNUmakefile, examples/GNUmakefile, examples/Makefile, - examples/osgcameragroup/GNUmakefile, - examples/osgcameragroup/GNUmakefile.inst, - examples/osgcameragroup/Makefile, - examples/osgcameragroup/Makefile.inst, - examples/osgconv/GNUmakefile, examples/osgconv/GNUmakefile.inst, - examples/osgconv/Makefile, examples/osgconv/Makefile.inst, - examples/osghud/GNUmakefile.inst, examples/osghud/Makefile, - examples/osghud/Makefile.inst, examples/osgreflect/GNUmakefile, - examples/osgreflect/GNUmakefile.inst, - examples/osgreflect/Makefile, examples/osgreflect/Makefile.inst, - examples/osgstereoimage/GNUmakefile, - examples/osgstereoimage/GNUmakefile.inst, - examples/osgstereoimage/Makefile, - examples/osgstereoimage/Makefile.inst, - examples/osgtext/GNUmakefile, examples/osgtext/GNUmakefile.inst, - examples/osgtext/Makefile, examples/osgtext/Makefile.inst, - examples/osgviewer/GNUmakefile, - examples/osgviewer/GNUmakefile.inst, examples/osgviewer/Makefile, - examples/osgviewer/Makefile.inst, src/Demos/GNUmakefile, - src/Demos/Makefile, src/Demos/osganimate/GNUmakefile, - src/Demos/osganimate/GNUmakefile.inst, - src/Demos/osganimate/Makefile, - src/Demos/osganimate/Makefile.inst, - src/Demos/osgbillboard/GNUmakefile, - src/Demos/osgbillboard/GNUmakefile.inst, - src/Demos/osgbillboard/Makefile, - src/Demos/osgbillboard/Makefile.inst, - src/Demos/osgcallback/GNUmakefile, - src/Demos/osgcallback/GNUmakefile.inst, - src/Demos/osgcallback/Makefile, - src/Demos/osgcallback/Makefile.inst, - src/Demos/osgclip/GNUmakefile, - src/Demos/osgclip/GNUmakefile.inst, src/Demos/osgclip/Makefile, - src/Demos/osgclip/Makefile.inst, - src/Demos/osgcluster/GNUmakefile, - src/Demos/osgcluster/GNUmakefile.inst, - src/Demos/osgcluster/Makefile, - src/Demos/osgcluster/Makefile.inst, - src/Demos/osgconv/GNUmakefile, - src/Demos/osgconv/GNUmakefile.inst, src/Demos/osgconv/Makefile, - src/Demos/osgconv/Makefile.inst, src/Demos/osgcopy/GNUmakefile, - src/Demos/osgcopy/GNUmakefile.inst, src/Demos/osgcopy/Makefile, - src/Demos/osgcopy/Makefile.inst, src/Demos/osgcube/GNUmakefile, - src/Demos/osgcube/GNUmakefile.inst, src/Demos/osgcube/Makefile, - src/Demos/osgcube/Makefile.inst, - src/Demos/osgcubemap/GNUmakefile, - src/Demos/osgcubemap/GNUmakefile.inst, - src/Demos/osgcubemap/Makefile, - src/Demos/osgcubemap/Makefile.inst, - src/Demos/osggeodemo/GNUmakefile, - src/Demos/osggeodemo/GNUmakefile.inst, - src/Demos/osggeodemo/Makefile, - src/Demos/osggeodemo/Makefile.inst, - src/Demos/osggeometry/GNUmakefile, - src/Demos/osggeometry/GNUmakefile.inst, - src/Demos/osggeometry/Makefile, - src/Demos/osggeometry/Makefile.inst, - src/Demos/osghangglide/GNUmakefile, - src/Demos/osghangglide/GNUmakefile.inst, - src/Demos/osghangglide/Makefile, - src/Demos/osghangglide/Makefile.inst, - src/Demos/osghud/GNUmakefile, src/Demos/osghud/GNUmakefile.inst, - src/Demos/osghud/Makefile, src/Demos/osghud/Makefile.inst, - src/Demos/osgimpostor/GNUmakefile, - src/Demos/osgimpostor/GNUmakefile.inst, - src/Demos/osgimpostor/Makefile, - src/Demos/osgimpostor/Makefile.inst, - src/Demos/osglight/GNUmakefile, - src/Demos/osglight/GNUmakefile.inst, src/Demos/osglight/Makefile, - src/Demos/osglight/Makefile.inst, - src/Demos/osglightpoint/GNUmakefile, - src/Demos/osglightpoint/GNUmakefile.inst, - src/Demos/osglightpoint/Makefile, - src/Demos/osglightpoint/Makefile.inst, - src/Demos/osglogo/GNUmakefile, - src/Demos/osglogo/GNUmakefile.inst, src/Demos/osglogo/Makefile, - src/Demos/osglogo/Makefile.inst, - src/Demos/osgmultitexture/GNUmakefile, - src/Demos/osgmultitexture/GNUmakefile.inst, - src/Demos/osgmultitexture/Makefile, - src/Demos/osgmultitexture/Makefile.inst, - src/Demos/osgmultitexture/osgmultitexture.cpp, - src/Demos/osgoccluder/GNUmakefile, - src/Demos/osgoccluder/GNUmakefile.inst, - src/Demos/osgoccluder/Makefile, - src/Demos/osgoccluder/Makefile.inst, - src/Demos/osgparticle/GNUmakefile, - src/Demos/osgparticle/GNUmakefile.inst, - src/Demos/osgparticle/Makefile, - src/Demos/osgparticle/Makefile.inst, - src/Demos/osgprerender/GNUmakefile, - src/Demos/osgprerender/GNUmakefile.inst, - src/Demos/osgprerender/Makefile, - src/Demos/osgprerender/Makefile.inst, - src/Demos/osgreflect/GNUmakefile, - src/Demos/osgreflect/GNUmakefile.inst, - src/Demos/osgreflect/Makefile, - src/Demos/osgreflect/Makefile.inst, - src/Demos/osgscribe/GNUmakefile, - src/Demos/osgscribe/GNUmakefile.inst, - src/Demos/osgscribe/Makefile, src/Demos/osgscribe/Makefile.inst, - src/Demos/osgsequence/GNUmakefile, - src/Demos/osgsequence/GNUmakefile.inst, - src/Demos/osgsequence/Makefile, - src/Demos/osgsequence/Makefile.inst, - src/Demos/osgshadowtexture/GNUmakefile, - src/Demos/osgshadowtexture/GNUmakefile.inst, - src/Demos/osgshadowtexture/Makefile, - src/Demos/osgshadowtexture/Makefile.inst, - src/Demos/osgshape/GNUmakefile, - src/Demos/osgshape/GNUmakefile.inst, src/Demos/osgshape/Makefile, - src/Demos/osgshape/Makefile.inst, - src/Demos/osgstereoimage/GNUmakefile, - src/Demos/osgstereoimage/GNUmakefile.inst, - src/Demos/osgstereoimage/Makefile, - src/Demos/osgstereoimage/Makefile.inst, - src/Demos/osgteapot/GNUmakefile, - src/Demos/osgteapot/GNUmakefile.inst, - src/Demos/osgteapot/Makefile, src/Demos/osgteapot/Makefile.inst, - src/Demos/osgtext/GNUmakefile, - src/Demos/osgtext/GNUmakefile.inst, src/Demos/osgtext/Makefile, - src/Demos/osgtext/Makefile.inst, - src/Demos/osgtexture1D/GNUmakefile, - src/Demos/osgtexture1D/GNUmakefile.inst, - src/Demos/osgtexture1D/Makefile, - src/Demos/osgtexture1D/Makefile.inst, - src/Demos/osgtexture2D/GNUmakefile, - src/Demos/osgtexture2D/GNUmakefile.inst, - src/Demos/osgtexture2D/Makefile, - src/Demos/osgtexture2D/Makefile.inst, - src/Demos/osgtexture3D/GNUmakefile, - src/Demos/osgtexture3D/GNUmakefile.inst, - src/Demos/osgtexture3D/Makefile, - src/Demos/osgtexture3D/Makefile.inst, - src/Demos/osgunittests/GNUmakefile, - src/Demos/osgunittests/GNUmakefile.inst, - src/Demos/osgunittests/Makefile, - src/Demos/osgunittests/Makefile.inst, - src/Demos/osgversion/GNUmakefile, - src/Demos/osgversion/GNUmakefile.inst, - src/Demos/osgversion/Makefile, - src/Demos/osgversion/Makefile.inst, - src/Demos/osgvertexprogram/GNUmakefile, - src/Demos/osgvertexprogram/GNUmakefile.inst, - src/Demos/osgvertexprogram/Makefile, - src/Demos/osgvertexprogram/Makefile.inst, - src/Demos/osgviews/GNUmakefile, - src/Demos/osgviews/GNUmakefile.inst, src/Demos/osgviews/Makefile, - src/Demos/osgviews/Makefile.inst, src/Demos/sgv/GNUmakefile, - src/Demos/sgv/GNUmakefile.inst, src/Demos/sgv/Makefile, - src/Demos/sgv/Makefile.inst, src/GNUmakefile, src/Makefile, - src/osg/ArgumentParser.cpp, src/osg/GNUmakefile, - src/osg/Makefile, src/osgDB/GNUmakefile, src/osgDB/Makefile, - src/osgGA/GNUmakefile, src/osgGA/Makefile, - src/osgGLUT/GNUmakefile, src/osgGLUT/Makefile, - src/osgParticle/GNUmakefile, src/osgParticle/Makefile, - src/osgPlugins/GNUmakefile, src/osgPlugins/Makefile, - src/osgPlugins/ac3d/GNUmakefile, src/osgPlugins/ac3d/Makefile, - src/osgPlugins/bmp/GNUmakefile, src/osgPlugins/bmp/Makefile, - src/osgPlugins/directx/GNUmakefile, - src/osgPlugins/directx/Makefile, src/osgPlugins/dw/GNUmakefile, - src/osgPlugins/dw/Makefile, src/osgPlugins/dx/GNUmakefile, - src/osgPlugins/dx/Makefile, src/osgPlugins/flt/GNUmakefile, - src/osgPlugins/flt/Makefile, src/osgPlugins/freetype/GNUmakefile, - src/osgPlugins/freetype/Makefile, src/osgPlugins/geo/GNUmakefile, - src/osgPlugins/geo/Makefile, src/osgPlugins/gif/GNUmakefile, - src/osgPlugins/gif/Makefile, src/osgPlugins/iv/GNUmakefile, - src/osgPlugins/iv/GNUmakefile.orig, src/osgPlugins/iv/Makefile, - src/osgPlugins/iv/Makefile.orig, src/osgPlugins/jpeg/GNUmakefile, - src/osgPlugins/jpeg/Makefile, src/osgPlugins/lib3ds/GNUmakefile, - src/osgPlugins/lib3ds/Makefile, src/osgPlugins/logos/GNUmakefile, - src/osgPlugins/logos/Makefile, src/osgPlugins/lwo/GNUmakefile, - src/osgPlugins/lwo/Makefile, src/osgPlugins/md2/GNUmakefile, - src/osgPlugins/md2/Makefile, src/osgPlugins/obj/GNUmakefile, - src/osgPlugins/obj/Makefile, src/osgPlugins/osg/GNUmakefile, - src/osgPlugins/osg/Makefile, - src/osgPlugins/osgParticle/GNUmakefile, - src/osgPlugins/osgParticle/Makefile, - src/osgPlugins/osgText/GNUmakefile, - src/osgPlugins/osgText/Makefile, - src/osgPlugins/osgtgz/GNUmakefile, - src/osgPlugins/osgtgz/Makefile, src/osgPlugins/pfb/GNUmakefile, - src/osgPlugins/pfb/Makefile, src/osgPlugins/pic/GNUmakefile, - src/osgPlugins/pic/Makefile, src/osgPlugins/png/GNUmakefile, - src/osgPlugins/png/Makefile, - src/osgPlugins/quicktime/GNUmakefile, - src/osgPlugins/quicktime/Makefile, - src/osgPlugins/rgb/GNUmakefile, src/osgPlugins/rgb/Makefile, - src/osgPlugins/tga/GNUmakefile, src/osgPlugins/tga/Makefile, - src/osgPlugins/tgz/GNUmakefile, src/osgPlugins/tgz/Makefile, - src/osgPlugins/tiff/GNUmakefile, src/osgPlugins/tiff/Makefile, - src/osgPlugins/txp/GNUmakefile, src/osgPlugins/txp/Makefile, - src/osgPlugins/zip/GNUmakefile, src/osgPlugins/zip/Makefile, - src/osgProducer/GNUmakefile, src/osgProducer/Makefile, - src/osgSim/GNUmakefile, src/osgSim/Makefile, - src/osgText/GNUmakefile, src/osgText/Makefile, - src/osgUtil/GNUmakefile, src/osgUtil/Makefile: 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 - - * src/osgText/String.cpp: Added (unsigned int) cast to the call to - osg::minimum. - -2003-03-11 21:53 robert - - * include/osg/Drawable, src/osg/Drawable.cpp: Added setBound() - method to Drawable. - -2003-03-11 21:42 robert - - * include/osgText/Font, src/osgText/Font.cpp: Added missing osg:: - to StateAttribute. - -2003-03-11 15:25 robert - - * include/osg/State, src/osg/State.cpp, - src/osgProducer/KeyboardMouseCallback.cpp, - src/osgProducer/Viewer.cpp, src/osgUtil/RenderLeaf.cpp: 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 - - * examples/osghud/osghud.cpp, include/osg/Image, - include/osgText/Font, src/Demos/osghud/osghud.cpp, - src/osg/Image.cpp, src/osg/State.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2D.cpp, src/osg/Texture3D.cpp, - src/osg/TextureCubeMap.cpp, - src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/md2/ReaderWriterMD2.cpp, src/osgText/Font.cpp, - src/osgText/Text.cpp: 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 - - * src/osgPlugins/osgText/IO_Text.cpp: Added missing osgDB:: to - writeArray() usage. - -2003-03-10 16:40 robert - - * include/osg/ShapeDrawable, include/osgDB/Input, - include/osgText/Text, src/osgDB/Input.cpp, - src/osgDB/Registry.cpp, src/osgPlugins/freetype/Makefile, - src/osgPlugins/osgText/IO_Text.cpp, src/osgText/Font.cpp, - src/osgText/Makefile, src/osgText/Text.cpp: Improvements to the - Text .osg support. - -2003-03-10 12:06 robert - - * examples/osgreflect, examples/osgreflect/Makefile, - examples/osgreflect/Makefile.inst, - examples/osgreflect/osgreflect.cpp: Addded new osgProducer based - osgreflect demo. - -2003-03-10 11:59 robert - - * Make/makedirdefs, examples/osgviewer/osgviewer.cpp, - src/Demos/osgreflect/osgreflect.cpp, src/osgUtil/RenderLeaf.cpp: - 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 - - * include/osgDB/DynamicLibrary, src/osgDB/DynamicLibrary.cpp: - Marged new getLibaryMethod added by Daniel. - -2003-03-10 09:15 robert - - * include/osgText/Font, src/osgText/Font.cpp, - src/osgUtil/TriStrip_tri_stripper.h: 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 +Fri, 8 Jun 2007 09:45:11 +0000 +Checked in by : Robert Osfield +Added clean up of the view before destruction of the window - * examples/osghud/Makefile, examples/osghud/Makefile.inst, - examples/osgtext/Makefile, examples/osgtext/Makefile.inst, - src/osg/ShapeDrawable.cpp: Fixed examples/osghud and osgtext - Makefile's to include osgText. +Fri, 8 Jun 2007 09:17:42 +0000 +Checked in by : Robert Osfield +Added const get*Matrix() methods -2003-03-08 09:51 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. - * include/osgText/Font: Removed the OSGTEXT_EXPORT symbol from - FontImplementation to avoid problems under - VisualStudio. +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. -2003-03-07 21:05 robert +- Support to copy headers in Viewer/api into the proper location in framework - * examples/Makefile, examples/osgcameragroup/osgcameragroup.cpp, - examples/osghud/Makefile, examples/osghud/Makefile.inst, - examples/osgstereoimage/Makefile, examples/osgtext/Makefile, - examples/osgtext/Makefile.inst, - src/osgProducer/OsgCameraGroup.cpp, src/osgProducer/Viewer.cpp, - src/osgText/Font.cpp, src/osgText/String.cpp: Fixes for IRIX - build. +- 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. -2003-03-07 09:04 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. - * src/osgPlugins/flt/FltFile.cpp, src/osgPlugins/flt/FltFile.h, - src/osgPlugins/flt/LightSourcePaletteRecord.cpp, - src/osgPlugins/flt/Pool.cpp, src/osgPlugins/flt/Pool.h, - src/osgPlugins/flt/flt2osg.cpp, src/osgPlugins/flt/flt2osg.h: - From Daniel Sjolie, support for light source. -2003-03-07 08:52 robert - * src/osgPlugins/flt/flt2osg.cpp: 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 - * include/osgText/Text, src/osgText/Text.cpp: 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 +Thu, 7 Jun 2007 21:43:27 +0000 +Checked in by : Stephan Maximilian HUBER +Stephan Huber: fixed deploy-build for osgViewer - * include/osg/ref_ptr: Reverted the changes to ref_ptr<> for - implicit cast to pointer. +Thu, 7 Jun 2007 21:07:30 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-03-06 17:11 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. - * examples/osgtext/osgtext.cpp, include/osg/ref_ptr, - include/osgText/Font, src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h, - src/osgPlugins/freetype/FreeTypeLibrary.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.h, - src/osgText/DefaultFont.cpp, src/osgText/Font.cpp, - src/osgText/Text.cpp: 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. +Thu, 7 Jun 2007 20:22:45 +0000 +Checked in by : Robert Osfield +From Martin Lavery, StatsHandler added to the ViewerCocoa example -2003-03-06 13:45 robert +Thu, 7 Jun 2007 13:49:30 +0000 +Checked in by : Robert Osfield +From Martin Lavery, update of *.nib files - * include/osg/ref_ptr: Reverted the ref_ptr<> implementation to - prior implicit cast operator via - commenting out// #define AUTOMATIC_CAST_TO_POINTER. +Thu, 7 Jun 2007 13:48:15 +0000 +Checked in by : Robert Osfield +From Martin Lavery, update of *.nib files -2003-03-06 11:18 robert +Thu, 7 Jun 2007 13:44:35 +0000 +Checked in by : Robert Osfield +From Martin Lavery, update of *.nib files - * src/osgPlugins/osgText/IO_Text.cpp: Renamed Text::TextString - String. +Thu, 7 Jun 2007 13:31:50 +0000 +Checked in by : Robert Osfield +From Martin Lavery, update of *.nib files -2003-03-06 10:38 robert +Thu, 7 Jun 2007 13:25:34 +0000 +Checked in by : Robert Osfield +From Martin Lavery, update of *.nib files - * src/osg/State.cpp: Fixed the setInterleavedArray call. +Thu, 7 Jun 2007 12:55:19 +0000 +Checked in by : Robert Osfield +From Martin Lavery, port of ViewerCocoa and updates to Xcode projects -2003-03-06 10:38 robert +Thu, 7 Jun 2007 12:47:56 +0000 +Checked in by : Robert Osfield +Removed the old SimpleView version of the Cocoa example - * include/osg/ref_ptr: Add #ifndef's around the comparison - operator's against const T* now that the - implicit cast operator has been added. +Thu, 7 Jun 2007 12:46:09 +0000 +Checked in by : Robert Osfield +Removed now not need SimpleViewer -2003-03-05 21:05 robert +Thu, 7 Jun 2007 12:23:21 +0000 +Checked in by : Robert Osfield +Added automatic stopping of animation when home() is called - * NEWS.txt, VisualStudio/osgText/osgText.dsp, - include/osgText/String, include/osgText/Text, - src/osgText/Makefile, src/osgText/String.cpp, - src/osgText/Text.cpp: Added osgText::String implementation to - better handle decoding of encoded text. +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." -2003-03-05 21:04 robert +Thu, 7 Jun 2007 11:19:02 +0000 +Checked in by : Robert Osfield +Introduced a destruct method to help clean up the Registry. - * include/osg/ref_ptr: Added implicit cast to T* to ref_ptr<>. +Thu, 7 Jun 2007 11:06:40 +0000 +Checked in by : Robert Osfield +Revert the signOrZero cade path in the getRotate() to fix bugs. -2003-03-05 21:02 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 - * include/osg/State, src/osg/State.cpp, - src/osgSim/LightPointDrawable.cpp: Made the - State::setInterleavedArrays method use a const GLvoid*. +Thu, 7 Jun 2007 09:58:49 +0000 +Checked in by : Robert Osfield +Added View::home() method and updated wrappers -2003-03-05 20:18 robert +Thu, 7 Jun 2007 09:24:46 +0000 +Checked in by : Robert Osfield +Removed redundent files - * src/osgText/DefaultFont.cpp: Fix for non standard compiliant - Forte compilers. +Thu, 7 Jun 2007 08:52:51 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-03-05 19:31 don +Wed, 6 Jun 2007 21:57:57 +0000 +Checked in by : Robert Osfield +Updated ChangeLog, AUTHORES and README to 1.9.8 release - * Make/makedefs: added directives for intel compilers +Wed, 6 Jun 2007 21:43:38 +0000 +Checked in by : Robert Osfield +Updated version numbers for release -2003-03-05 14:02 robert +Wed, 6 Jun 2007 17:01:37 +0000 +Checked in by : Robert Osfield +Revert the setting of SingleThreaded under Windows in suggestBestThreadingModel() - * VisualStudio/osgProducer/osgProducer.dsp, - src/osgPlugins/md2/ReaderWriterMD2.cpp, - src/osgPlugins/md2/anorms.h: Fixes for Win32 build. +Wed, 6 Jun 2007 16:27:00 +0000 +Checked in by : Robert Osfield +Added #include -2003-03-05 12:28 robert +Wed, 6 Jun 2007 16:23:20 +0000 +Checked in by : Robert Osfield +Fixed includes - * examples/osgtext/osgtext.cpp, src/Demos/osgtext/main.cpp, - src/osgText/Font.cpp, src/osgText/Text.cpp: Updates to the GLUT - and Producer text demo. - - Fix to text to better handle unsetting of vertex arrays. +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." -2003-03-05 09:56 robert +Wed, 6 Jun 2007 14:51:08 +0000 +Checked in by : Robert Osfield +Fixed includes - * AUTHORS.txt, Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/osgPlugins/md2, VisualStudio/osgPlugins/md2/md2.dsp, - src/osgPlugins/md2, src/osgPlugins/md2/Makefile, - src/osgPlugins/md2/ReaderWriterMD2.cpp, - src/osgPlugins/md2/anorms.h: Added md2 plugin from Vladimir - Vukicevic. +Wed, 6 Jun 2007 13:45:50 +0000 +Checked in by : Robert Osfield +From Martin Lavery, Updates to Xcode project -2003-03-05 09:08 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. - * examples/osgtext/osgtext.cpp, include/osgText/Text, - src/osgPlugins/freetype/ReaderWriterFreeType.cpp, - src/osgPlugins/osgText/IO_Text.cpp, src/osgText/Text.cpp: Updates - to Text for Sun Forte compilers. +2. Incorrect handling of line primitives." -2003-03-04 19:52 robert - * examples/osghud/osghud.cpp, examples/osgtext/osgtext.cpp: Added - std:: infront of cout references. -2003-03-04 17:14 robert +Wed, 6 Jun 2007 11:28:44 +0000 +Checked in by : Robert Osfield +From Olaf Flebbe, "an implementation of GraphicsWindow::setCursor for WIN32." - * examples/osgtext/osgtext.cpp, include/osgText/Font, - include/osgText/Text, src/osgText/Font.cpp: Updates to the new - osgtext example and fix to the friend usage. +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 -2003-03-04 15:47 robert +Wed, 6 Jun 2007 11:10:44 +0000 +Checked in by : Robert Osfield +Updated wrappers - * include/osg/Texture, src/osg/Texture.cpp, src/osgText/Font.cpp: - Added support for using the generate mip map extension within - osgText. +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. -2003-03-04 14:25 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 - * VisualStudio/VisualStudio.dsw: Added osgProducer project to - larget list. +Wed, 6 Jun 2007 08:59:22 +0000 +Checked in by : Robert Osfield +From Marin Lavery and Robert Osfield, XCode build fixes -2003-03-04 14:17 robert +Tue, 5 Jun 2007 20:42:43 +0000 +Checked in by : Robert Osfield +From Martin Lavery, XCode build fixes - * VisualStudio/osgProducer, - VisualStudio/osgProducer/osgProducer.dsp: Added osgProducer - project file. +Tue, 5 Jun 2007 19:44:11 +0000 +Checked in by : Robert Osfield +Renamed osgmultiplecameras to osgcompositeviewer -2003-03-04 12:34 robert +Tue, 5 Jun 2007 19:41:22 +0000 +Checked in by : Robert Osfield +Renamed osgmultiplecamrea to osgcompositeviewer - * examples/osghud/osghud.cpp, examples/osgtext/osgtext.cpp, - include/osg/ref_ptr, include/osgText/Font, include/osgText/Text, - src/Demos/osghud/osghud.cpp, - src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h, - src/osgPlugins/freetype/FreeTypeLibrary.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.h, - src/osgText/DefaultFont.cpp, src/osgText/Font.cpp, - src/osgText/Text.cpp: Further improvements to osgText and the - freetype plugin, handling different - font sizes better and plugin removal safely. +Tue, 5 Jun 2007 19:40:07 +0000 +Checked in by : Robert Osfield +Added CompositeViewer support into FLTK example -2003-03-04 09:08 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 - * VisualStudio/osgPlugins/freetype/freetype.dsp: Renamed - "libunfreetype.lib" to "freetype.lib" +Tue, 5 Jun 2007 19:10:18 +0000 +Checked in by : Robert Osfield +Added support for CompositeViewer -2003-03-03 22:47 robert +Tue, 5 Jun 2007 17:19:30 +0000 +Checked in by : Robert Osfield +Improved the wording of CMake instructions - * Make/makedirdefs, examples/osghud, examples/osghud/Makefile, - examples/osghud/Makefile.inst, examples/osghud/osghud.cpp: Added - examples/osghud - a osgProducer port of the old osghud demo. +Tue, 5 Jun 2007 17:18:27 +0000 +Checked in by : Robert Osfield +From Martin Lavery, build fixes fo latest file additions -2003-03-03 22:18 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 - * examples/osgtext/osgtext.cpp, include/osgText/Font, - src/Demos/osghud/osghud.cpp, src/Demos/osglogo/osglogo.cpp, - src/osgText/Font.cpp, src/osgText/Text.cpp: 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. +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." -2003-03-03 20:28 robert +Tue, 5 Jun 2007 08:46:32 +0000 +Checked in by : Robert Osfield +Removed const to try and avoid Sun compiler error - * src/osgPlugins/freetype/FreeTypeFont.cpp: Fix for warning under - Windows. +Tue, 5 Jun 2007 08:30:24 +0000 +Checked in by : Robert Osfield +Removed redundent comma -2003-03-03 20:24 robert +Mon, 4 Jun 2007 21:32:15 +0000 +Checked in by : Robert Osfield +Updated READEME - * include/osgText/Text, src/osgText/Text.cpp: Typo fix. +Mon, 4 Jun 2007 21:31:17 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and AUTHORS.txt for 1.9.7 release -2003-03-03 20:12 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. - * src/osgPlugins/freetype/FreeTypeLibrary.h, src/osgText/Makefile, - src/osgText/Text.cpp: Compile fixes to osgText. - -2003-03-03 16:42 robert - - * src/osgText/Font.cpp: Added search path to osgText::readFontFile. +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. -2003-03-03 16:12 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!!! - * include/osgText/Font, src/osgProducer/OsgCameraGroup.cpp, - src/osgText/Font.cpp: 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. +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. -2003-03-03 15:36 robert +Mon, 4 Jun 2007 16:20:24 +0000 +Checked in by : Robert Osfield +Updated version for 1.9.7 release - * include/osgText/Text, src/osgText/Text.cpp: Fixes to osgText for - default parameter. - -2003-03-03 11:04 robert - - * src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/pfb/ReaderWriterPFB.cpp: Fixes for the new - osg::Image::setImage() parameter, from Ulrich Hertlein. - -2003-03-03 11:02 robert - - * src/osgDB/Registry.cpp, src/osgPlugins/quicktime/QTtexture.c, - src/osgPlugins/quicktime/QTtexture.cpp, - src/osgPlugins/quicktime/QTtexture.h, - src/osgPlugins/quicktime/ReaderWriterQT.cpp: Updates to the - quicktime plugin from Bob Kuehne. - -2003-03-03 10:20 robert - - * VisualStudio/VisualStudio.dsw, VisualStudio/osgPlugins/freetype, - VisualStudio/osgPlugins/freetype/freetype.dsp, - VisualStudio/osgPlugins/osgText/dot_osgText.dsp, - VisualStudio/osgText/osgText.dsp: Added project file for new - freetype plugin. - -2003-03-03 09:37 robert - - * include/osgText/Text, src/osgText/Font.cpp, src/osgText/Text.cpp: - Added support for computing bounds of text. - -2003-03-02 21:05 robert - - * Make/makedirdefs, VisualStudio/osgText/osgText.dsp, - examples/osgtext/Makefile.inst, examples/osgtext/osgtext.cpp, - include/osg/Texture2D, include/osg/buffered_value, - include/osgText/EncodedText, include/osgText/Export, - include/osgText/Font, include/osgText/Paragraph, - include/osgText/Text, include/osgUtil/IntersectVisitor, - src/Demos/osghud/osghud.cpp, src/Demos/osglogo/osglogo.cpp, - src/Demos/osgtext/main.cpp, src/osgDB/Registry.cpp, - src/osgPlugins/freetype, - src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h, - src/osgPlugins/freetype/FreeTypeLibrary.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.h, - src/osgPlugins/freetype/Makefile, - src/osgPlugins/freetype/ReaderWriterFreeType.cpp, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/osgText/IO_Font.cpp, - src/osgPlugins/osgText/IO_Paragraph.cpp, - src/osgPlugins/osgText/IO_Text.cpp, - src/osgPlugins/osgText/Makefile, src/osgText/DefaultFont.cpp, - src/osgText/DefaultFont.h, src/osgText/EncodedText.cpp, - src/osgText/FTBitmapGlyph.cpp, src/osgText/FTBitmapGlyph.h, - src/osgText/FTCharmap.cpp, src/osgText/FTCharmap.h, - src/osgText/FTFace.cpp, src/osgText/FTFace.h, - src/osgText/FTFont.cpp, src/osgText/FTFont.h, src/osgText/FTGL.h, - src/osgText/FTGLBitmapFont.cpp, src/osgText/FTGLBitmapFont.h, - src/osgText/FTGLOutlineFont.cpp, src/osgText/FTGLOutlineFont.h, - src/osgText/FTGLPixmapFont.cpp, src/osgText/FTGLPixmapFont.h, - src/osgText/FTGLPolygonFont.cpp, src/osgText/FTGLPolygonFont.h, - src/osgText/FTGLTextureFont.cpp, src/osgText/FTGLTextureFont.h, - src/osgText/FTGlyph.cpp, src/osgText/FTGlyph.h, - src/osgText/FTGlyphContainer.cpp, src/osgText/FTGlyphContainer.h, - src/osgText/FTLibrary.cpp, src/osgText/FTLibrary.h, - src/osgText/FTOutlineGlyph.cpp, src/osgText/FTOutlineGlyph.h, - src/osgText/FTPixmapGlyph.cpp, src/osgText/FTPixmapGlyph.h, - src/osgText/FTPolyGlyph.cpp, src/osgText/FTPolyGlyph.h, - src/osgText/FTSize.cpp, src/osgText/FTSize.h, - src/osgText/FTTextureGlyph.cpp, src/osgText/FTTextureGlyph.h, - src/osgText/FTVectoriser.cpp, src/osgText/FTVectoriser.h, - src/osgText/Font.cpp, src/osgText/Makefile, - src/osgText/Paragraph.cpp, src/osgText/Text.cpp: First cut of new - osgText implementation. - -2003-02-27 08:43 robert - - * src/osgPlugins/osg/Depth.cpp: Changed incorrect instance "TRUE" - to "FALSE" to match DepthMask state. - -2003-02-27 08:38 robert - - * src/osgPlugins/rgb/ReaderWriterRGB.cpp: Changed the title of the - ReaderWriter, removing the "Default" word as its no - longer appropriate. - -2003-02-25 21:00 robert - - * src/osgProducer/OsgCameraGroup.cpp: 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 - - * Make/makedirdefs, examples/osgcameragroup/osgcameragroup.cpp, - examples/osgstereoimage/osgstereoimage.cpp, - include/osgProducer/CameraGroup, - include/osgProducer/FrameStatsHandler, - include/osgProducer/OsgCameraGroup, - include/osgProducer/OsgSceneHandler, - include/osgProducer/SceneHandler, include/osgProducer/Viewer, - src/Demos/osgproducer, src/osgProducer/CameraGroup.cpp, - src/osgProducer/Makefile, src/osgProducer/OsgCameraGroup.cpp, - src/osgProducer/OsgSceneHandler.cpp, - src/osgProducer/SceneHandler.cpp, src/osgProducer/Viewer.cpp: - 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 - - * examples/osgstereoimage/Makefile, include/osg/Image, - src/osg/Image.cpp, src/osgPlugins/bmp/ReaderWriterBMP.cpp, - src/osgPlugins/gif/ReaderWriterGIF.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/pic/ReaderWriterPIC.cpp, - src/osgPlugins/png/ReaderWriterPNG.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp, - src/osgPlugins/tga/ReaderWriterTGA.cpp, - src/osgPlugins/tiff/ReaderWriterTIFF.cpp, - src/osgPlugins/txp/TrPageParser.cpp, - src/osgUtil/CubeMapGenerator.cpp: 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 - - * include/osg/Math, src/osg/ApplicationUsage.cpp, - src/osg/State.cpp: 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 - - * Make/makedirdefs, examples/osgstereoimage, - examples/osgstereoimage/Makefile.inst, - examples/osgstereoimage/osgstereoimage.cpp, - include/osgProducer/CameraGroup: Ported osgstereoimage to use - osgProducer, added it to the examples directory. - - Added a osgProducer::CameraGroup::getSceneHanderList() methods. - -2003-02-23 15:50 robert - - * include/osg/GLExtensions, src/osg/ApplicationUsage.cpp: Fixes to - try and keep OSX and Win32 compiling with the new usage of - std::max. - -2003-02-21 20:22 robert - - * src/osg/ApplicationUsage.cpp, src/osg/State.cpp: 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 - - * Make/makedirdefs, examples, examples/osgcameragroup, - examples/osgcameragroup/Makefile, - examples/osgcameragroup/Makefile.inst, - examples/osgcameragroup/osgcameragroup.cpp, examples/osgconv, - examples/osgconv/Makefile, examples/osgconv/Makefile.inst, - examples/osgconv/OrientationConverter.cpp, - examples/osgconv/OrientationConverter.h, - examples/osgconv/osgconv.cpp, examples/osgtext, - examples/osgtext/Makefile, examples/osgtext/Makefile.inst, - examples/osgtext/osgtext.cpp, examples/osgviewer, - examples/osgviewer/Makefile, examples/osgviewer/Makefile.inst, - examples/osgviewer/osgviewer.cpp, include/osgProducer/Viewer: - 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 - - * src/Demos/osgproducer/osgproducer_viewer.cpp: Added std:: infront - of cout. - -2003-02-20 21:52 robert - - * src/osgSim/BlinkSequence.cpp, src/osgSim/LightPoint.cpp, - src/osgSim/LightPointDrawable.cpp, src/osgSim/LightPointNode.cpp, - src/osgSim/Sector.cpp: Changed the license details across to - OSGPL instead of GPL. - -2003-02-19 21:37 robert - - * src/osgGA/KeySwitchCameraManipulator.cpp: Added missing std:: - infront of string usage. - -2003-02-19 11:32 robert - - * src/osg/ArgumentParser.cpp: 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 - - * include/osgGA/AnimationPathManipulator, - include/osgGA/DriveManipulator, include/osgGA/FlightManipulator, - include/osgGA/GUIEventHandler, - include/osgGA/KeySwitchCameraManipulator, - include/osgGA/StateSetManipulator, - include/osgGA/TrackballManipulator, - include/osgProducer/StatsEventHandler, - include/osgProducer/Viewer, - src/Demos/osgproducer/osgproducer_viewer.cpp, - src/osgGA/AnimationPathManipulator.cpp, - src/osgGA/DriveManipulator.cpp, src/osgGA/FlightManipulator.cpp, - src/osgGA/GUIEventHandler.cpp, - src/osgGA/KeySwitchCameraManipulator.cpp, - src/osgGA/StateSetManipulator.cpp, - src/osgGA/TrackballManipulator.cpp, src/osgProducer/Makefile, - src/osgProducer/StatsEventHandler.cpp, - src/osgProducer/Viewer.cpp: Added keyboard mouse binding usage to - the osg::ApplicationUsage and - osgGA::GUIEventHandler and its subclasses. - -2003-02-18 21:58 robert - - * include/osg/ArgumentParser, include/osg/DisplaySettings, - src/Demos/osgproducer/osgproducer_viewer.cpp, - src/osg/DisplaySettings.cpp, src/osgDB/ReadFile.cpp, - src/osgDB/Registry.cpp, src/osgPlugins/tga/ReaderWriterTGA.cpp, - src/osgProducer/Viewer.cpp: 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 - - * src/osg/ArgumentParser.cpp, src/osg/DisplaySettings.cpp: Made the - osg::ApplicationUsage forward declared. - - Added include of ostream to ArgumentParser header. - -2003-02-18 19:45 don - - * src/Demos/osgproducer/osgproducer_viewer.cpp: std::cout replaced - cout - -2003-02-18 16:36 robert - - * Make/makedirdefs, VisualStudio/osg/osg.dsp, - VisualStudio/osgText/osgText.dsp, include/osg/ApplicationUsage, - include/osg/ArgumentParser, include/osg/DisplaySettings, - include/osgDB/ReadFile, include/osgDB/Registry, - include/osgProducer/CameraGroup, - include/osgProducer/FrameStatsHandler, - include/osgProducer/StatsEventHandler, - include/osgProducer/Viewer, src/Demos/osgproducer/Makefile, - src/Demos/osgproducer/osgproducer_viewer.cpp, - src/osg/ApplicationUsage.cpp, src/osg/ArgumentParser.cpp, - src/osg/DisplaySettings.cpp, src/osg/Makefile, - src/osgDB/ReadFile.cpp, src/osgDB/Registry.cpp, - src/osgProducer/CameraGroup.cpp, src/osgProducer/Viewer.cpp: - Added new osg::ApplicationUsage and osg::ArgumentParser to help - streamline - application/example developement. - -2003-02-18 14:00 robert - - * include/osgText/EncodedText: Removed non implemented method - convertWideString(const char* text) from header - -2003-02-18 11:33 robert - - * src/osgPlugins/osg/ClipNode.cpp, - src/osgPlugins/osg/LightSource.cpp: Added reference to Group in - the RegisterDotOsgWrapperProxy. - -2003-02-18 10:50 robert - - * src/Demos/osgpbuffer/osgpbuffer.cpp: Added missing ; - -2003-02-18 09:12 robert - - * src/Demos/osgconv/Makefile, src/Demos/osgconv/Makefile.inst: - Removed linking to osgGLUT/GLUT in the osgconv program. - -2003-02-15 19:51 robert - - * src/Demos/osgpbuffer/RenderToTextureStage.cpp, - src/Demos/osgpbuffer/osgpbuffer.cpp: 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 - - * src/Demos/osghangglide/Makefile, - src/Demos/osghangglide/osghangglide.cpp: Moved osghanglide back - to pure osgGLUT based, removing osgProducer pathways. - -2003-02-14 20:27 robert - - * src/osg/Texture1D.cpp, src/osg/Texture2D.cpp, - src/osg/TextureCubeMap.cpp: More work on uint -> unsigned int. - -2003-02-14 19:47 robert - - * include/osg/Texture: MOre work on uint -> unsigned int. - -2003-02-14 16:52 robert - - * include/osg/Texture, src/osg/Drawable.cpp, src/osg/GeoSet.cpp: - Renamed futher uint/ushort instances. - -2003-02-14 11:41 robert - - * include/osg/Drawable, include/osg/GeoSet, include/osg/Stencil, - include/osg/Texture3D, include/osg/TextureCubeMap, - src/osg/Drawable.cpp, src/osg/Texture.cpp, src/osg/Texture3D.cpp: - Removed last of the uint references. +Mon, 4 Jun 2007 15:11:46 +0000 +Checked in by : Robert Osfield +Fixed stray control character -2003-02-13 15:37 robert - - * VisualStudio/osgPlugins/osg/dot_osg.dsp, - src/osgPlugins/osg/ClipNode.cpp, src/osgPlugins/osg/Makefile: - Added support for ClipNode in the .osg plugin. - -2003-02-13 15:16 robert +Mon, 4 Jun 2007 15:05:59 +0000 +Checked in by : Robert Osfield +Warning fix - * src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/geo/geoActions.cpp, - src/osgPlugins/geo/osgGeoAction.h, - src/osgPlugins/geo/osgGeoStructs.h, - src/osgPlugins/osg/Billboard.cpp, - src/osgPlugins/pfb/ConvertToPerformer.cpp: From Geoff Michel, - updates to the Geo plugin. - - Removed osg::uint reference form the pfb plugin. +Mon, 4 Jun 2007 14:47:16 +0000 +Checked in by : Robert Osfield +Cleaned up example -2003-02-12 19:20 robert - - * VisualStudio/osg/osg.dsp, include/osg/ColorMask, - include/osg/Depth, include/osg/Drawable, include/osg/Fog, - include/osg/Stencil, include/osg/Texture, include/osg/Types, - include/osg/Viewport, include/osgDB/Field, include/osgText/Font, - include/osgText/Text, - src/Demos/osghangglide/GliderManipulator.cpp, - src/Demos/osgimpostor/TestManipulator.cpp, - src/Demos/osgtexture2D/osgtexture2D.cpp, src/osg/Camera.cpp, - src/osg/Matrix.cpp, src/osg/Quat.cpp, src/osg/Texture.cpp, - src/osgDB/Field.cpp, src/osgGA/FlightManipulator.cpp, - src/osgGA/TrackballManipulator.cpp, src/osgPlugins/ac3d/ac3d.cpp, - src/osgPlugins/directx/directx.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/dx/AreaGeoSetTriangulator.cpp, - src/osgPlugins/dx/DXWriter.cpp, - src/osgPlugins/geo/osgGeoStructs.h, - src/osgPlugins/osg/ConvexPlanarOccluder.cpp, - src/osgPlugins/osg/GeoSet.cpp, - src/osgPlugins/osg/LineStipple.cpp, - src/osgPlugins/osg/StateSet.cpp, src/osgPlugins/osg/Stencil.cpp, - src/osgUtil/TriStripVisitor.cpp: 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. +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 -2003-02-12 14:39 robert +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. - * src/Demos/osghud/Makefile, src/Demos/osgtext/Makefile: 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. +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." -2003-02-12 12:02 robert +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. - * src/osgPlugins/txp/TrPageArchive.cpp, - src/osgPlugins/txp/WaitBlock.h, - src/osgPlugins/txp/trPagePageManager.cpp, - src/osgPlugins/txp/trPagePageManager.h, - src/osgPlugins/txp/trpage_geom.cpp, - src/osgPlugins/txp/trpage_read.h, - src/osgPlugins/txp/trpage_scene.h, - src/osgPlugins/txp/trpage_sys.h: From Norman Vine, updates to TXP - plugin so that the Cygwin build uses pthreads. +Mon, 4 Jun 2007 10:56:01 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-02-12 10:10 robert +Mon, 4 Jun 2007 10:47:15 +0000 +Checked in by : Robert Osfield +Added osg::Hint class - * src/osgPlugins/flt/flt2osg.cpp: Add if (!textureStateSet) return - check to replace assert() to prevent crashes - when multi-texture layers don't exist. +Mon, 4 Jun 2007 08:38:11 +0000 +Checked in by : Robert Osfield +Fixed spelling of Receives -2003-02-12 09:52 robert +Sun, 3 Jun 2007 10:00:09 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/osg/Node.cpp: Added if (!null) guard around - description strings. +Sun, 3 Jun 2007 09:34:28 +0000 +Checked in by : Robert Osfield +Added Viewer::setUpViewerAsEmbeddedInWindow convinience method -2003-02-11 19:23 don +Sun, 3 Jun 2007 09:11:41 +0000 +Checked in by : Robert Osfield +Removed osgsimple example - * Make/makedefs: 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 - - * src/Demos/osglogo/osglogo.cpp: Made the Professional services - subscript optional - use "osglogo ps" to enable - it. - -2003-02-11 12:37 robert - - * src/Demos/osglogo/osglogo.cpp: Clean up of the logo demo. - -2003-02-10 22:15 don - - * src/osgProducer/Makefile: Used INC instead of CXXFLAGS - - GVS: - ---------------------------------------------------------------------- - -2003-02-10 16:48 robert - - * src/osgUtil/RenderBin.cpp: 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 - - * src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/geo/geoActions.cpp, - src/osgPlugins/geo/geoFormat.h, - src/osgPlugins/geo/osgGeoAction.h, - src/osgPlugins/geo/osgGeoStructs.h: 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 - - * include/osgText/EncodedText, include/osgText/Text, - src/osgText/EncodedText.cpp, src/osgText/Text.cpp: From Tree, - added support for using wchar_t strings with - osg::Text/EncodedText. - -2003-02-10 14:47 robert - - * src/osgPlugins/directx/ReaderWriterDirectX.cpp: Updates from - Ulrich for sharing of textures. - -2003-02-10 14:31 robert - - * AUTHORS, AUTHORS.txt, INSTALL, INSTALL.txt, LICENSE, LICENSE.txt, - NEWS, NEWS.txt, README, README.txt, doc/contents.html: Rename of - INSTALL to INSTALL.txt, etc. to help OSX case insentivity issues. - -2003-02-10 14:23 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 - * src/osg/VertexProgram.cpp: Changed int to GLint for OSX build. +Sun, 3 Jun 2007 08:58:32 +0000 +Checked in by : Robert Osfield +Changed external library specication -2003-02-10 13:58 robert +Sat, 2 Jun 2007 16:23:07 +0000 +Checked in by : Robert Osfield +Ported across from SimpleViewer to using Viewer - * include/osgDB/ReaderWriter, include/osgText/Paragraph, - include/osgUtil/CullVisitor, src/osg/Geometry.cpp, - src/osgUtil/CullVisitor.cpp: 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 - - * src/osgUtil/RenderBin.cpp: Right, em.... fixed eh.. problem with - destruction of RenderBin prototype list - -2003-01-31 23:46 robert - - * src/osgProducer/CameraGroup.cpp: Fixed infinite loop in - osgProducer::CameraGroup::advance(). - -2003-01-31 00:44 robert +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 - * src/Demos/osghangglide/Makefile, - src/Demos/osghangglide/osghangglide.cpp, - src/Demos/osgproducer/osgproducer_viewer.cpp: Port of - osghangglide to use osg producer. Default build still uses GLUT. +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. -2003-01-30 23:02 robert +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. - * include/osgProducer/FrameStatsHandler, - include/osgProducer/StatsEventHandler, - include/osgProducer/Viewer, - src/Demos/osgproducer/FrameStatsHandler, - src/Demos/osgproducer/StatsEventHandler, - src/Demos/osgproducer/osgproducer_viewer.cpp, - src/Demos/osgproducer/threePipe.cfg, - src/Demos/osgproducer/twoPipe.cfg, - src/Demos/osgproducer/twoWindows.cfg, - src/osgProducer/CameraGroup.cpp, src/osgProducer/Viewer.cpp: - 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 - - * src/osgSim/LightPointDrawable.h: Fix for endianess of colour set - up of RGBA values. - -2003-01-30 16:11 robert - - * include/osgProducer/CameraGroup, src/osgGLUT/Viewer.cpp, - src/osgProducer/CameraGroup.cpp, src/osgText/Text.cpp: 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 - - * src/Demos/osgtext/main.cpp, src/osgText/FTGLBitmapFont.cpp, - src/osgText/FTGLBitmapFont.h: From Max, fixes to UniCode support - for bitmap fonts. - -2003-01-30 00:34 robert - - * rundemos.bat, src/Demos/osglogo/osglogo.cpp, - src/Demos/osgprerender/osgprerender.cpp, - src/Demos/osgproducer/FrameStatsHandler, - src/Demos/osgproducer/StatsEventHandler, - src/Demos/osgproducer/osgproducer_viewer.cpp, - src/Demos/osgproducer/threePipe.cfg, - src/Demos/osgshadowtexture/CreateShadowedScene.cpp: 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 - - * src/osgUtil/CullVisitor.cpp: Fixed - CullVisitor::getDistanceFromEyePoint so that withLODScale is - handled - correctly. - -2003-01-29 17:16 robert - - * include/osg/Referenced, include/osg/State, - include/osgUtil/RenderGraph, include/osgUtil/SceneView, - src/Demos/osgproducer/FrameStatsHandler, - src/Demos/osgproducer/Makefile, - src/Demos/osgproducer/Makefile.inst, - src/Demos/osgproducer/osgproducer_viewer.cpp, - src/Demos/osgproducer/threePipe.cfg, src/osg/State.cpp, - src/osgProducer/Makefile, src/osgUtil/RenderLeaf.cpp, - src/osgUtil/SceneView.cpp: Fixes for multipipe support. - - Addition of FrameStatsHandler to osgproducer demo to add frame - stats. - -2003-01-27 20:40 don - - * Make/makerules, src/Demos/osgproducer/Makefile, - src/Demos/osgproducer/threePipe.cfg, - src/osgProducer/CameraGroup.cpp, src/osgProducer/Makefile, - src/osgProducer/SceneHandler.cpp: Fixes to osgProducer for IRIX - build. - -2003-01-25 00:14 robert - - * ChangeLog, NEWS, doc/documentation.html: Final changes for - release. - -2003-01-24 23:59 robert - - * doc/doc++/osgSim/ClassGraph.class, - doc/doc++/osgSim/ClassGraphPanel.class, - doc/doc++/osgSim/ClassLayout.class, - doc/doc++/osgSim/NavigatorButton.class, - doc/doc++/osgSim/icon1.gif, doc/doc++/osgSim/icon2.gif: Addition - for osgSim docs. - -2003-01-24 23:36 robert - - * doc/doc++/osg/AlphaFunc.html, doc/doc++/osg/AnimationPath.html, - doc/doc++/osg/AnimationPathCallback.html, - doc/doc++/osg/Array.html, doc/doc++/osg/ArrayVisitor.html, - doc/doc++/osg/AttributeFunctor.html, - doc/doc++/osg/Billboard.html, doc/doc++/osg/BlendFunc.html, - doc/doc++/osg/BoundingBox.html, - doc/doc++/osg/BoundingSphere.html, doc/doc++/osg/Box.html, - doc/doc++/osg/COMPARE_StateAttribute_Parameter.html, - doc/doc++/osg/COMPARE_StateAttribute_Types.html, - doc/doc++/osg/Camera.html, doc/doc++/osg/ClearNode.html, - doc/doc++/osg/ClipNode.html, doc/doc++/osg/ClipPlane.html, - doc/doc++/osg/CollectOccludersVisitor.html, - doc/doc++/osg/ColorMask.html, doc/doc++/osg/ColorMatrix.html, - doc/doc++/osg/CompositeShape.html, doc/doc++/osg/Cone.html, - doc/doc++/osg/ConstArrayVisitor.html, - doc/doc++/osg/ConstAttributeFunctor.html, - doc/doc++/osg/ConstShapeVisitor.html, - doc/doc++/osg/ConstValueVisitor.html, - doc/doc++/osg/ConvexHull.html, - doc/doc++/osg/ConvexPlanarOccluder.html, - doc/doc++/osg/ConvexPlanarPolygon.html, - doc/doc++/osg/CopyOp.html, doc/doc++/osg/CullFace.html, - doc/doc++/osg/CullStack.html, doc/doc++/osg/CullingSet.html, - doc/doc++/osg/Cylinder.html, doc/doc++/osg/DOFTransform.html, - doc/doc++/osg/DeleteHandler.html, doc/doc++/osg/Depth.html, - doc/doc++/osg/DisplaySettings.html, - doc/doc++/osg/DrawArrayLengths.html, - doc/doc++/osg/DrawArrays.html, - doc/doc++/osg/DrawElementsUByte.html, - doc/doc++/osg/DrawElementsUInt.html, - doc/doc++/osg/DrawElementsUShort.html, - doc/doc++/osg/DrawPixels.html, doc/doc++/osg/Drawable.html, - doc/doc++/osg/Extensions.2.html, doc/doc++/osg/Extensions.3.html, - doc/doc++/osg/Extensions.html, doc/doc++/osg/Fog.html, - doc/doc++/osg/FrameStamp.html, doc/doc++/osg/FrontFace.html, - doc/doc++/osg/General.html, doc/doc++/osg/GeoSet.html, - doc/doc++/osg/Geode.html, doc/doc++/osg/Geometry.html, - doc/doc++/osg/Grid.html, doc/doc++/osg/Group.html, - doc/doc++/osg/HIER.html, doc/doc++/osg/HIERjava.html, - doc/doc++/osg/HeightField.html, doc/doc++/osg/Image.html, - doc/doc++/osg/Impostor.html, doc/doc++/osg/ImpostorSprite.html, - doc/doc++/osg/ImpostorSpriteManager.html, - doc/doc++/osg/IndexArray.html, doc/doc++/osg/InfinitePlane.html, - doc/doc++/osg/LOD.html, doc/doc++/osg/Light.html, - doc/doc++/osg/LightModel.html, doc/doc++/osg/LightSource.html, - doc/doc++/osg/LineSegment.html, doc/doc++/osg/LineStipple.html, - doc/doc++/osg/LineWidth.html, doc/doc++/osg/META_Node.html, - doc/doc++/osg/META_Object.html, doc/doc++/osg/META_Shape.html, - doc/doc++/osg/META_StateAttribute.html, - doc/doc++/osg/Material.html, doc/doc++/osg/Matrix.html, - doc/doc++/osg/MatrixTransform.html, doc/doc++/osg/Node.html, - doc/doc++/osg/NodeAcceptOp.html, doc/doc++/osg/NodeCallback.html, - doc/doc++/osg/NodePath.html, doc/doc++/osg/NodeVisitor.html, - doc/doc++/osg/NotifySeverity.html, - doc/doc++/osg/OSGUTX_ADD_TESTCASE.html, - doc/doc++/osg/OSGUTX_ADD_TESTSUITE.html, - doc/doc++/osg/OSGUTX_AUTOREGISTER_TESTSUITE.html, - doc/doc++/osg/OSGUTX_AUTOREGISTER_TESTSUITE_AT.html, - doc/doc++/osg/OSGUTX_BEGIN_TESTSUITE.html, - doc/doc++/osg/OSGUTX_END_TESTSUITE.html, - doc/doc++/osg/OSGUTX_TESTSUITE.html, - doc/doc++/osg/OSGUTX_TEST_E.html, - doc/doc++/osg/OSGUTX_TEST_F.html, - doc/doc++/osg/OSG_GL_DEBUG.html, doc/doc++/osg/Object.html, - doc/doc++/osg/OccluderNode.html, doc/doc++/osg/Plane.html, - doc/doc++/osg/Point.html, doc/doc++/osg/PolygonMode.html, - doc/doc++/osg/PolygonOffset.html, - doc/doc++/osg/PolygonStipple.html, doc/doc++/osg/Polytope.html, - doc/doc++/osg/PositionAttitudeTransform.html, - doc/doc++/osg/PrimitiveFunctor.html, - doc/doc++/osg/PrimitiveSet.html, doc/doc++/osg/Projection.html, - doc/doc++/osg/QualifiedTestPrinter.html, doc/doc++/osg/Quat.html, - doc/doc++/osg/RefMatrix.html, doc/doc++/osg/Referenced.html, - doc/doc++/osg/Sequence.html, doc/doc++/osg/ShadeModel.html, - doc/doc++/osg/ShadowVolumeOccluder.html, - doc/doc++/osg/ShadowVolumeOccluderList.html, - doc/doc++/osg/Shape.html, doc/doc++/osg/ShapeDrawable.html, - doc/doc++/osg/ShapeVisitor.html, doc/doc++/osg/Sphere.html, - doc/doc++/osg/State.html, doc/doc++/osg/StateAttribute.html, - doc/doc++/osg/StateSet.html, doc/doc++/osg/Statistics.html, - doc/doc++/osg/Stencil.html, doc/doc++/osg/SubloadCallback.2.html, - doc/doc++/osg/SubloadCallback.3.html, - doc/doc++/osg/SubloadCallback.4.html, - doc/doc++/osg/SubloadCallback.html, doc/doc++/osg/Switch.html, - doc/doc++/osg/TemplateArray.html, - doc/doc++/osg/TemplateIndexArray.html, - doc/doc++/osg/TessellationHints.html, doc/doc++/osg/Test.html, - doc/doc++/osg/TestCase.html, doc/doc++/osg/TestCase_.html, - doc/doc++/osg/TestContext.html, doc/doc++/osg/TestErrorX.html, - doc/doc++/osg/TestFailureX.html, doc/doc++/osg/TestGraph.html, - doc/doc++/osg/TestQualifier.html, doc/doc++/osg/TestRecord.html, - doc/doc++/osg/TestReport.html, doc/doc++/osg/TestRunner.html, - doc/doc++/osg/TestSuite.html, - doc/doc++/osg/TestSuiteAutoRegistrationAgent.html, - doc/doc++/osg/TestVisitor.html, doc/doc++/osg/TestX.html, - doc/doc++/osg/TexEnv.html, doc/doc++/osg/TexEnvCombine.html, - doc/doc++/osg/TexGen.html, doc/doc++/osg/TexMat.html, - doc/doc++/osg/Texture.html, doc/doc++/osg/Texture1D.html, - doc/doc++/osg/Texture2D.html, doc/doc++/osg/Texture3D.html, - doc/doc++/osg/TextureCubeMap.html, doc/doc++/osg/Timer.html, - doc/doc++/osg/TraceStream.html, doc/doc++/osg/Transform.html, - doc/doc++/osg/TriangleFunctor.html, - doc/doc++/osg/TriangleMesh.html, doc/doc++/osg/UByte4.html, - doc/doc++/osg/ValueVisitor.html, doc/doc++/osg/Vec2.html, - doc/doc++/osg/Vec3.html, doc/doc++/osg/Vec4.html, - doc/doc++/osg/VectorSizei.2.html, doc/doc++/osg/VectorSizei.html, - doc/doc++/osg/VectorUByte.2.html, doc/doc++/osg/VectorUByte.html, - doc/doc++/osg/VectorUInt.2.html, doc/doc++/osg/VectorUInt.html, - doc/doc++/osg/VectorUShort.2.html, - doc/doc++/osg/VectorUShort.html, - doc/doc++/osg/VertexProgram.html, doc/doc++/osg/Viewport.html, - doc/doc++/osg/buffered_value.html, - doc/doc++/osg/clampArray3BetweenRange.html, - doc/doc++/osg/clampArray3GEQUAL.html, - doc/doc++/osg/clampArray3LEQUAL.html, - doc/doc++/osg/clampArray4BetweenRange.html, - doc/doc++/osg/clampArray4GEQUAL.html, - doc/doc++/osg/clampArray4LEQUAL.html, - doc/doc++/osg/clampArrayElementBetweenRange.html, - doc/doc++/osg/clampArrayElementGEQUAL.html, - doc/doc++/osg/clampArrayElementLEQUAL.html, - doc/doc++/osg/clampArrayElementsBetweenRange.html, - doc/doc++/osg/clampArrayElementsGEQUAL.html, - doc/doc++/osg/clampArrayElementsLEQUAL.html, - doc/doc++/osg/clampBetweenRange.html, - doc/doc++/osg/clampGEQUAL.html, doc/doc++/osg/clampLEQUAL.html, - doc/doc++/osg/createGeodeForImage.2.html, - doc/doc++/osg/createGeodeForImage.html, - doc/doc++/osg/fast_back_stack.html, - doc/doc++/osg/for_each_triangle.html, - doc/doc++/osg/getGLExtensionFuncPtr.2.html, - doc/doc++/osg/getGLExtensionFuncPtr.html, - doc/doc++/osg/getNotifyLevel.html, - doc/doc++/osg/globalnotifylevel..html, - doc/doc++/osg/globalnotifynulstream..html, - doc/doc++/osg/index.html, doc/doc++/osg/initNotifyLevel.html, - doc/doc++/osg/isGLExtensionSupported.html, - doc/doc++/osg/isGLUExtensionSupported.html, - doc/doc++/osg/notify.html, doc/doc++/osg/operator.2.html, - doc/doc++/osg/operator.html, doc/doc++/osg/osg.html, - doc/doc++/osg/osgGetLibraryName.html, - doc/doc++/osg/osgGetVersion.html, doc/doc++/osg/osgUtx.html, - doc/doc++/osg/ref_ptr.html, doc/doc++/osg/setNotifyLevel.html, - doc/doc++/osg/xternSG_EXPORTNotifySeverityg_NotifyLevel.html, - doc/doc++/osg/xternSG_EXPORTboolg_NotifyInit.html, - doc/doc++/osg/xternSG_EXPORTstdauto_ptrstdofstreamg_NotifyNulStream.html, - doc/doc++/osgDB/DirectoryContents.html, - doc/doc++/osgDB/DotOsgWrapper.html, - doc/doc++/osgDB/DynamicLibrary.html, doc/doc++/osgDB/Field.html, - doc/doc++/osgDB/FieldReader.html, - doc/doc++/osgDB/FieldReaderIterator.html, - doc/doc++/osgDB/FilePathList.html, doc/doc++/osgDB/General.html, - doc/doc++/osgDB/HIER.html, doc/doc++/osgDB/HIERjava.html, - doc/doc++/osgDB/Input.html, doc/doc++/osgDB/Options.html, - doc/doc++/osgDB/Output.html, - doc/doc++/osgDB/ParameterOutput.html, - doc/doc++/osgDB/PushAndPopDataPath.html, - doc/doc++/osgDB/ReadResult.html, - doc/doc++/osgDB/ReaderWriter.html, - doc/doc++/osgDB/RegisterDotOsgWrapperProxy.html, - doc/doc++/osgDB/RegisterReaderWriterProxy.html, - doc/doc++/osgDB/Registry.html, doc/doc++/osgDB/WriteResult.html, - doc/doc++/osgDB/fileExists.html, - doc/doc++/osgDB/findFileInDirectory.html, - doc/doc++/osgDB/findFileInPath.html, - doc/doc++/osgDB/getDirectoryContents.html, - doc/doc++/osgDB/index.html, doc/doc++/osgDB/osgDB.html, - doc/doc++/osgDB/osgDBGetLibraryName.html, - doc/doc++/osgDB/osgDBGetVersion.html, - doc/doc++/osgDB/readCommandLine.html, - doc/doc++/osgDB/readImageFile.html, - doc/doc++/osgDB/readNodeFile.html, - doc/doc++/osgDB/readNodeFiles.html, - doc/doc++/osgDB/readObjectFile.html, - doc/doc++/osgDB/writeImageFile.html, - doc/doc++/osgDB/writeNodeFile.html, - doc/doc++/osgDB/writeObjectFile.html, - doc/doc++/osgGA/AnimationPathManipulator.html, - doc/doc++/osgGA/CameraManipulator.html, - doc/doc++/osgGA/CompositeGUIEventHandler.html, - doc/doc++/osgGA/DriveManipulator.html, - doc/doc++/osgGA/FlightManipulator.html, - doc/doc++/osgGA/GUIActionAdapter.html, - doc/doc++/osgGA/GUIEventAdapter.html, - doc/doc++/osgGA/GUIEventHandler.html, - doc/doc++/osgGA/GUIEventHandlerVisitor.html, - doc/doc++/osgGA/General.html, doc/doc++/osgGA/HIER.html, - doc/doc++/osgGA/HIERjava.html, - doc/doc++/osgGA/KeySwitchCameraManipulator.html, - doc/doc++/osgGA/SetSceneViewVisitor.html, - doc/doc++/osgGA/StateSetManipulator.html, - doc/doc++/osgGA/TrackballManipulator.html, - doc/doc++/osgGA/index.html, doc/doc++/osgGA/osgGA.html, - doc/doc++/osgGA/osgGAGetLibraryName.html, - doc/doc++/osgGA/osgGAGetVersion.html, - doc/doc++/osgGA/spaceosgGA.html, - doc/doc++/osgGLUT/GLUTEventAdapter.html, - doc/doc++/osgGLUT/General.html, doc/doc++/osgGLUT/HIER.html, - doc/doc++/osgGLUT/HIERjava.html, doc/doc++/osgGLUT/Viewer.html, - doc/doc++/osgGLUT/Window.html, doc/doc++/osgGLUT/index.html, - doc/doc++/osgGLUT/osgGLUT.html, - doc/doc++/osgGLUT/osgGLUTGetLibraryName.html, - doc/doc++/osgGLUT/osgGLUTGetVersion.html, - doc/doc++/osgParticle/AccelOperator.html, - doc/doc++/osgParticle/CenteredPlacer.html, - doc/doc++/osgParticle/Counter.html, - doc/doc++/osgParticle/Emitter.html, - doc/doc++/osgParticle/FluidFrictionOperator.html, - doc/doc++/osgParticle/ForceOperator.html, - doc/doc++/osgParticle/General.html, - doc/doc++/osgParticle/HIER.html, - doc/doc++/osgParticle/HIERjava.html, - doc/doc++/osgParticle/Interpolator.html, - doc/doc++/osgParticle/LinearInterpolator.html, - doc/doc++/osgParticle/ModularEmitter.html, - doc/doc++/osgParticle/ModularProgram.html, - doc/doc++/osgParticle/MultiSegmentPlacer.html, - doc/doc++/osgParticle/Operator.html, - doc/doc++/osgParticle/Particle.html, - doc/doc++/osgParticle/ParticleProcessor.html, - doc/doc++/osgParticle/ParticleSystem.html, - doc/doc++/osgParticle/ParticleSystemUpdater.html, - doc/doc++/osgParticle/Placer.html, - doc/doc++/osgParticle/PointPlacer.html, - doc/doc++/osgParticle/Program.html, - doc/doc++/osgParticle/RadialShooter.html, - doc/doc++/osgParticle/RandomRateCounter.html, - doc/doc++/osgParticle/SectorPlacer.html, - doc/doc++/osgParticle/SegmentPlacer.html, - doc/doc++/osgParticle/Shooter.html, - doc/doc++/osgParticle/VariableRateCounter.html, - doc/doc++/osgParticle/index.html, - doc/doc++/osgParticle/osgParticle.html, - doc/doc++/osgParticle/range.html, - doc/doc++/osgParticle/rangef.html, - doc/doc++/osgParticle/rangev2.html, - doc/doc++/osgParticle/rangev3.html, - doc/doc++/osgParticle/rangev4.html, doc/doc++/osgSim, - doc/doc++/osgSim/AzimElevationSector.html, - doc/doc++/osgSim/AzimRange.html, - doc/doc++/osgSim/AzimSector.html, - doc/doc++/osgSim/BlinkSequence.html, - doc/doc++/osgSim/ConeSector.html, - doc/doc++/osgSim/ElevationRange.html, - doc/doc++/osgSim/ElevationSector.html, - doc/doc++/osgSim/General.html, doc/doc++/osgSim/HIER.html, - doc/doc++/osgSim/HIERjava.html, doc/doc++/osgSim/LightPoint.html, - doc/doc++/osgSim/LightPointNode.html, - doc/doc++/osgSim/Sector.html, - doc/doc++/osgSim/SequenceGroup.html, doc/doc++/osgSim/index.html, - doc/doc++/osgSim/osgSim.html, - doc/doc++/osgSim/osgSimGetLibraryName.html, - doc/doc++/osgSim/osgSimGetVersion.html, - doc/doc++/osgText/BitmapFont.html, - doc/doc++/osgText/EncodedText.html, doc/doc++/osgText/Font.html, - doc/doc++/osgText/General.html, doc/doc++/osgText/HIER.html, - doc/doc++/osgText/HIERjava.html, - doc/doc++/osgText/META_Font.html, - doc/doc++/osgText/OutlineFont.html, - doc/doc++/osgText/Paragraph.html, - doc/doc++/osgText/PixmapFont.html, - doc/doc++/osgText/PolygonFont.html, - doc/doc++/osgText/RasterFont.html, doc/doc++/osgText/Text.html, - doc/doc++/osgText/TextureFont.html, - doc/doc++/osgText/VectorFont.html, doc/doc++/osgText/index.html, - doc/doc++/osgText/osgText.html, - doc/doc++/osgText/osgTextGetLibraryName.html, - doc/doc++/osgText/osgTextGetVersion.html, - doc/doc++/osgUtil/CombineLODsVisitor.html, - doc/doc++/osgUtil/ConvertGeoSetsToGeometryVisitor.html, - doc/doc++/osgUtil/CubeMapGenerator.html, - doc/doc++/osgUtil/CullVisitor.html, - doc/doc++/osgUtil/DisplayListVisitor.html, - doc/doc++/osgUtil/DisplayRequirementsVisitor.html, - doc/doc++/osgUtil/FlattenStaticTransformsVisitor.html, - doc/doc++/osgUtil/General.html, doc/doc++/osgUtil/HIER.html, - doc/doc++/osgUtil/HIERjava.html, - doc/doc++/osgUtil/HalfWayMapGenerator.html, - doc/doc++/osgUtil/HighlightMapGenerator.html, - doc/doc++/osgUtil/Hit.html, - doc/doc++/osgUtil/InsertImpostorsVisitor.html, - doc/doc++/osgUtil/IntersectState.html, - doc/doc++/osgUtil/IntersectVisitor.html, - doc/doc++/osgUtil/LeafDepthSortFunctor.html, - doc/doc++/osgUtil/MergeGeometryVisitor.html, - doc/doc++/osgUtil/Optimizer.html, - doc/doc++/osgUtil/ReflectionMapGenerator.html, - doc/doc++/osgUtil/RegisterRenderBinProxy.html, - doc/doc++/osgUtil/RemoveEmptyNodesVisitor.html, - doc/doc++/osgUtil/RemoveRedundantNodesVisitor.html, - doc/doc++/osgUtil/RenderBin.html, - doc/doc++/osgUtil/RenderGraph.html, - doc/doc++/osgUtil/RenderLeaf.html, - doc/doc++/osgUtil/RenderStage.html, - doc/doc++/osgUtil/RenderStageLighting.html, - doc/doc++/osgUtil/RenderToTextureStage.html, - doc/doc++/osgUtil/SceneView.html, - doc/doc++/osgUtil/SmoothingVisitor.html, - doc/doc++/osgUtil/StateVisitor.html, - doc/doc++/osgUtil/Tesselator.html, - doc/doc++/osgUtil/TransformCallback.html, - doc/doc++/osgUtil/TriStripVisitor.html, - doc/doc++/osgUtil/UpdateVisitor.html, - doc/doc++/osgUtil/index.html, doc/doc++/osgUtil/osgUtil.html, - doc/doc++/osgUtil/osgUtilGetLibraryName.html, - doc/doc++/osgUtil/osgUtilGetVersion.html: Updates docs for - release. - -2003-01-24 22:40 robert - - * NEWS: Updates NEWS file with date of release. - -2003-01-24 16:57 robert - - * src/osgUtil/TriStrip_tri_stripper.cpp: Removed the inline - declarations of several method implementations. - -2003-01-24 15:33 robert - - * VisualStudio/osgText/osgText.dsp: Changed the /MDd switch to /MD - to remove a warning. - -2003-01-24 15:12 robert - - * rundemos.bat, src/osgGLUT/Window.cpp, - src/osgPlugins/lib3ds/ReaderWriter3DS.cpp, - src/osgPlugins/lib3ds/atmosphere.cpp, - src/osgPlugins/lib3ds/atmosphere.h, - src/osgPlugins/lib3ds/background.cpp, - src/osgPlugins/lib3ds/background.h, - src/osgPlugins/lib3ds/camera.cpp, src/osgPlugins/lib3ds/camera.h, - src/osgPlugins/lib3ds/chunk.cpp, src/osgPlugins/lib3ds/chunk.h, - src/osgPlugins/lib3ds/chunktable.h, - src/osgPlugins/lib3ds/ease.cpp, src/osgPlugins/lib3ds/ease.h, - src/osgPlugins/lib3ds/file.cpp, - src/osgPlugins/lib3ds/lib3ds_float.cpp, - src/osgPlugins/lib3ds/lib3ds_float.h, - src/osgPlugins/lib3ds/light.cpp, src/osgPlugins/lib3ds/light.h, - src/osgPlugins/lib3ds/material.cpp, - src/osgPlugins/lib3ds/material.h, - src/osgPlugins/lib3ds/matrix.cpp, src/osgPlugins/lib3ds/matrix.h, - src/osgPlugins/lib3ds/mesh.cpp, src/osgPlugins/lib3ds/mesh.h, - src/osgPlugins/lib3ds/node.cpp, src/osgPlugins/lib3ds/node.h, - src/osgPlugins/lib3ds/quat.cpp, src/osgPlugins/lib3ds/quat.h, - src/osgPlugins/lib3ds/readwrite.cpp, - src/osgPlugins/lib3ds/readwrite.h, - src/osgPlugins/lib3ds/shadow.cpp, src/osgPlugins/lib3ds/shadow.h, - src/osgPlugins/lib3ds/tcb.cpp, src/osgPlugins/lib3ds/tcb.h, - src/osgPlugins/lib3ds/tracks.cpp, src/osgPlugins/lib3ds/tracks.h, - src/osgPlugins/lib3ds/vector.cpp, src/osgPlugins/lib3ds/vector.h, - src/osgPlugins/lib3ds/viewport.cpp, - src/osgPlugins/lib3ds/viewport.h: Added an #ifdef to - osgGLUT/Window.cpp to handle the case of compiling against - older versions of GLUT. - -2003-01-24 12:39 robert - - * src/osgUtil/TriStrip_graph_array.h, - src/osgUtil/TriStrip_heap_array.h, - src/osgUtil/TriStrip_tri_stripper.cpp, - src/osgUtil/TriStrip_tri_stripper.h: Changes to try and placate - the Sun Forte compiler. - -2003-01-24 10:22 robert - - * VisualStudio/osgText/osgText.dsp: 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 - - * rundemos.bat: Added osgvertexprogram to the demo list. - -2003-01-24 09:46 robert - - * VisualStudio/osgText/osgText.dsp: Udpated the freetype 2.1.3 - linked to by the osgText.dsp - -2003-01-24 09:37 robert +Fri, 1 Jun 2007 22:41:11 +0000 +Checked in by : Robert Osfield +Renamed all osgsimpleviewer* files to osgviewer* - * include/osg/DOFTransform, include/osg/MatrixTransform, - include/osg/PositionAttitudeTransform, include/osg/Transform: - Added support for osg::Transform::asMatrixTransform, - asPositionAttitudeTransform - and as DOFTransform. +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 -2003-01-24 09:37 robert +Fri, 1 Jun 2007 22:28:03 +0000 +Checked in by : Robert Osfield +updated wrapper - * include/osgProducer/Viewer, src/osgProducer/Viewer.cpp: 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). +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(). -2003-01-24 09:35 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. +" - * src/osgPlugins/osg/Matrix.cpp: Fixed the formating of the Matrix - output. -2003-01-24 09:34 robert - * src/osgGLUT/Window.cpp: Added an #ifdef check around the - glutSpecialUpFunc to help compile unde old - version of GLUT. +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." -2003-01-24 09:11 robert - * include/osg/ImpostorSprite, src/osg/ImpostorSprite.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/RenderStage.cpp, - src/osgUtil/RenderToTextureStage.cpp: 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 +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. - * src/osgUtil/TriStripVisitor.cpp: 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 +MFC_OSG.h: - * src/osgUtil/Optimizer.cpp: Added extra checks in the removal of - rendundent nodes code so that description - fields etc are checked. + Added flag to indicate when the rendering thread has exited. -2003-01-23 14:46 robert + - * src/osgPlugins/flt/flt2osg.cpp: Fix to handling of comment - records and longid's. +MFC_OSG.cpp: -2003-01-23 12:18 robert + Code modifications to support rendering flag thread exit. - * NEWS, rundemos.bat, src/Demos/osgbillboard/osgbillboard.cpp, - src/osg/TextureCubeMap.cpp: 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 +MFC_OSG_MDIView.cpp: - * src/Demos/osgvertexprogram/osgvertexprogram.cpp: Tweaking of the - osgvertexprogram tex matrix settings. + Change to OnDestroy function to wait until we get render thread exit flag is true before we close the window. -2003-01-23 10:11 robert + - * src/osgPlugins/directx/directx.cpp: Fixed Win32 compile problem. + -2003-01-23 09:58 robert +Main Exit Process: - * COPYING: Removed COPYING file as it is now replaced by the - LICENSE file. + User presses escape button -2003-01-23 08:39 robert + Viewer captures escape button and stops threading etc. - * src/osgUtil/RenderLeaf.cpp: Fixed typo of - APPLY_MATICES_BEFORE_STATE. + Viewer sets Done when shutdown is complete -2003-01-23 08:37 robert + MFC Render Thread monitors viewer->done for true - * src/osg/Drawable.cpp: Removed eroneous std:: from the from of - DisplayListVector. + MFC Render Thread exits while loop and sets MFC Done flag -2003-01-22 23:40 robert + MFC View Window monitors MFC Done flag and then closes/destroys the window - * Make/makedefs: From Ulrich, change to the pflib includes for - Performer under Linux to solve - problem loading pf datasets. +" -2003-01-22 23:35 robert - * src/Demos/osgvertexprogram/osgvertexprogram.cpp: Added a couple - more #defines for the texture cube maps that one can use. -2003-01-22 23:34 robert +Fri, 1 Jun 2007 19:53:14 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/Demos/osgproducer/osgproducer_viewer.cpp: Added support for a - -c option. +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 ;-) +" -2003-01-22 23:34 robert - * src/osg/Drawable.cpp, src/osg/Texture.cpp, - src/osgPlugins/txp/trPagePageManager.h: 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 +Fri, 1 Jun 2007 19:44:09 +0000 +Checked in by : Robert Osfield +Updates to OverlayData - * src/Demos/osgvertexprogram/osgvertexprogram.cpp: Vertex program - update from Brede. +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. -2003-01-22 19:17 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. - * src/osg/Version.cpp, src/osgDB/Version.cpp, - src/osgGA/Version.cpp, src/osgGLUT/Version.cpp, - src/osgParticle/Version.cpp, src/osgProducer/Version.cpp, - src/osgSim/Version.cpp, src/osgText/Version.cpp, - src/osgUtil/Version.cpp: Updated version numbers to 0.9.3 +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. -2003-01-22 16:49 robert +I hope that somebody with a win32 test system can catch up that implementation +on win32." - * src/osg/ShapeDrawable.cpp: Fixed compute bound code which was - applying offset first then rotating, rather - than rotating first then offset. -2003-01-22 16:17 robert - * src/osgPlugins/osg/Shape.cpp: Fixed handling of rotations reading - from .osg of osg::Shapes. - -2003-01-22 15:44 robert - - * include/osgGLUT/Viewer, src/osgGLUT/Viewer.cpp: From Daniel - Sjölie, support for controlling which viewports are focusable - i.e. - recive mouse/keyboard events. - -2003-01-22 15:30 robert - - * include/osgGA/KeySwitchCameraManipulator, - include/osgProducer/ReadCameraConfigFile, - include/osgProducer/Viewer, - include/osgProducer/WriteCameraConfigFile, - src/Demos/osgproducer/osgproducer_viewer.cpp, - src/Demos/sgv/sgv.cpp, src/osgGA/KeySwitchCameraManipulator.cpp, - src/osgProducer/CameraGroup.cpp, src/osgProducer/Makefile, - src/osgProducer/ReadCameraConfigFile.cpp, - src/osgProducer/Viewer.cpp, - src/osgProducer/WriteCameraConfigFile.cpp: Clean up to the - osgProducer lib and demo. - -2003-01-22 12:50 robert - - * src/Demos/osgconv/OrientationConverter.cpp: Fixed remove - transform code to work with the new extra paramter require by - osgUtil::Optimizer. - -2003-01-22 12:25 robert - - * src/osgPlugins/lib3ds/ReaderWriter3DS.cpp: 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 - - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp: 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 - - * src/osgPlugins/lib3ds/file.h, src/osgPlugins/lib3ds/shadow.cpp: - Changed the local header includes from <> to "" to help the OSG - compile. - -2003-01-21 19:37 robert - - * src/osg/Image.cpp: Removed debugging messages. - -2003-01-21 16:45 robert - - * include/osg/AlphaFunc, include/osg/AnimationPath, - include/osg/Array, include/osg/Billboard, include/osg/BlendFunc, - include/osg/BoundingBox, include/osg/BoundingSphere, - include/osg/BoundsChecking, include/osg/Camera, - include/osg/ClearNode, include/osg/ClipNode, - include/osg/ClipPlane, include/osg/CollectOccludersVisitor, - include/osg/ColorMask, include/osg/ColorMatrix, - include/osg/ConvexPlanarOccluder, - include/osg/ConvexPlanarPolygon, include/osg/CopyOp, - include/osg/CullFace, include/osg/CullStack, - include/osg/CullingSet, include/osg/DOFTransform, - include/osg/Depth, include/osg/DisplaySettings, - include/osg/DrawPixels, include/osg/Drawable, include/osg/Export, - include/osg/Fog, include/osg/FrameStamp, include/osg/FrontFace, - include/osg/GL, include/osg/GLExtensions, include/osg/GLU, - include/osg/GeoSet, include/osg/Geode, include/osg/Geometry, - include/osg/Group, include/osg/Image, include/osg/Impostor, - include/osg/ImpostorSprite, include/osg/LOD, include/osg/Light, - include/osg/LightModel, include/osg/LightSource, - include/osg/LineSegment, include/osg/LineStipple, - include/osg/LineWidth, include/osg/Material, include/osg/Math, - include/osg/Matrix, include/osg/MatrixTransform, - include/osg/Node, include/osg/NodeCallback, - include/osg/NodeVisitor, include/osg/Notify, include/osg/Object, - include/osg/OccluderNode, include/osg/Plane, include/osg/Point, - include/osg/PolygonMode, include/osg/PolygonOffset, - include/osg/PolygonStipple, include/osg/Polytope, - include/osg/PositionAttitudeTransform, include/osg/PrimitiveSet, - include/osg/Projection, include/osg/Quat, include/osg/Referenced, - include/osg/Sequence, include/osg/ShadeModel, - include/osg/ShadowVolumeOccluder, include/osg/Shape, - include/osg/ShapeDrawable, include/osg/State, - include/osg/StateAttribute, include/osg/StateSet, - include/osg/Statistics, include/osg/Stencil, include/osg/Switch, - include/osg/TexEnv, include/osg/TexEnvCombine, - include/osg/TexGen, include/osg/TexMat, include/osg/Texture, - include/osg/Texture1D, include/osg/Texture2D, - include/osg/Texture3D, include/osg/TextureCubeMap, - include/osg/Timer, include/osg/Transform, - include/osg/TriangleFunctor, include/osg/Types, - include/osg/UByte4, include/osg/UnitTestFramework, - include/osg/Vec2, include/osg/Vec3, include/osg/Vec4, - include/osg/Version, include/osg/VertexProgram, - include/osg/Viewport, include/osg/buffered_value, - include/osg/fast_back_stack, include/osg/ref_ptr, - include/osgDB/DotOsgWrapper, include/osgDB/DynamicLibrary, - include/osgDB/Export, include/osgDB/Field, - include/osgDB/FieldReader, include/osgDB/FieldReaderIterator, - include/osgDB/FileNameUtils, include/osgDB/FileUtils, - include/osgDB/Input, include/osgDB/Output, - include/osgDB/ParameterOutput, include/osgDB/ReadFile, - include/osgDB/ReaderWriter, include/osgDB/Registry, - include/osgDB/Version, include/osgDB/WriteFile, - include/osgGA/AnimationPathManipulator, - include/osgGA/CameraManipulator, include/osgGA/DriveManipulator, - include/osgGA/Export, include/osgGA/FlightManipulator, - include/osgGA/GUIActionAdapter, include/osgGA/GUIEventAdapter, - include/osgGA/GUIEventHandler, - include/osgGA/GUIEventHandlerVisitor, - include/osgGA/KeySwitchCameraManipulator, - include/osgGA/SetSceneViewVisitor, - include/osgGA/StateSetManipulator, - include/osgGA/TrackballManipulator, include/osgGA/Version, - include/osgGLUT/Export, include/osgGLUT/GLUTEventAdapter, - include/osgGLUT/Version, include/osgGLUT/Viewer, - include/osgGLUT/Window, include/osgGLUT/glut, - include/osgParticle/AccelOperator, - include/osgParticle/CenteredPlacer, include/osgParticle/Counter, - include/osgParticle/Emitter, include/osgParticle/Export, - include/osgParticle/FluidFrictionOperator, - include/osgParticle/ForceOperator, - include/osgParticle/Interpolator, - include/osgParticle/LinearInterpolator, - include/osgParticle/ModularEmitter, - include/osgParticle/ModularProgram, - include/osgParticle/MultiSegmentPlacer, - include/osgParticle/Operator, include/osgParticle/Particle, - include/osgParticle/ParticleProcessor, - include/osgParticle/ParticleSystem, - include/osgParticle/ParticleSystemUpdater, - include/osgParticle/Placer, include/osgParticle/PointPlacer, - include/osgParticle/Program, include/osgParticle/RadialShooter, - include/osgParticle/RandomRateCounter, - include/osgParticle/SectorPlacer, - include/osgParticle/SegmentPlacer, include/osgParticle/Shooter, - include/osgParticle/VariableRateCounter, - include/osgParticle/Version, include/osgParticle/range, - include/osgSim/BlinkSequence, include/osgSim/Export, - include/osgSim/LightPoint, include/osgSim/LightPointNode, - include/osgSim/Sector, include/osgSim/Version, - include/osgText/EncodedText, include/osgText/Export, - include/osgText/Font, include/osgText/Paragraph, - include/osgText/Text, include/osgText/Version, - include/osgUtil/CubeMapGenerator, include/osgUtil/CullVisitor, - include/osgUtil/DisplayListVisitor, - include/osgUtil/DisplayRequirementsVisitor, - include/osgUtil/Export, include/osgUtil/HalfWayMapGenerator, - include/osgUtil/HighlightMapGenerator, - include/osgUtil/InsertImpostorsVisitor, - include/osgUtil/IntersectVisitor, include/osgUtil/Optimizer, - include/osgUtil/ReflectionMapGenerator, - include/osgUtil/RenderBin, include/osgUtil/RenderGraph, - include/osgUtil/RenderLeaf, include/osgUtil/RenderStage, - include/osgUtil/RenderStageLighting, - include/osgUtil/RenderToTextureStage, include/osgUtil/SceneView, - include/osgUtil/SmoothingVisitor, include/osgUtil/Tesselator, - include/osgUtil/TransformCallback, - include/osgUtil/TriStripVisitor, include/osgUtil/UpdateVisitor, - include/osgUtil/Version, src/osg/AlphaFunc.cpp, - src/osg/AnimationPath.cpp, src/osg/Array.cpp, - src/osg/Billboard.cpp, src/osg/BlendFunc.cpp, - src/osg/BoundingBox.cpp, src/osg/BoundingSphere.cpp, - src/osg/Camera.cpp, src/osg/ClearNode.cpp, src/osg/ClipNode.cpp, - src/osg/ClipPlane.cpp, src/osg/CollectOccludersVisitor.cpp, - src/osg/ColorMask.cpp, src/osg/ColorMatrix.cpp, - src/osg/ConvexPlanarOccluder.cpp, - src/osg/ConvexPlanarPolygon.cpp, src/osg/CopyOp.cpp, - src/osg/CullFace.cpp, src/osg/CullStack.cpp, - src/osg/CullingSet.cpp, src/osg/DOFTransform.cpp, - src/osg/Depth.cpp, src/osg/DisplaySettings.cpp, - src/osg/DrawPixels.cpp, src/osg/Drawable.cpp, src/osg/Fog.cpp, - src/osg/FrameStamp.cpp, src/osg/FrontFace.cpp, - src/osg/GLExtensions.cpp, src/osg/GeoSet.cpp, - src/osg/GeoSet_ogl.cpp, src/osg/Geode.cpp, src/osg/Geometry.cpp, - src/osg/Group.cpp, src/osg/Image.cpp, src/osg/Impostor.cpp, - src/osg/ImpostorSprite.cpp, src/osg/LOD.cpp, src/osg/Light.cpp, - src/osg/LightModel.cpp, src/osg/LightSource.cpp, - src/osg/LineSegment.cpp, src/osg/LineStipple.cpp, - src/osg/LineWidth.cpp, src/osg/Material.cpp, src/osg/Matrix.cpp, - src/osg/MatrixTransform.cpp, src/osg/Node.cpp, - src/osg/NodeCallback.cpp, src/osg/NodeVisitor.cpp, - src/osg/Notify.cpp, src/osg/Object.cpp, src/osg/OccluderNode.cpp, - src/osg/Point.cpp, src/osg/PolygonMode.cpp, - src/osg/PolygonOffset.cpp, src/osg/PolygonStipple.cpp, - src/osg/PositionAttitudeTransform.cpp, src/osg/PrimitiveSet.cpp, - src/osg/Projection.cpp, src/osg/Quat.cpp, src/osg/Referenced.cpp, - src/osg/Sequence.cpp, src/osg/ShadeModel.cpp, - src/osg/ShadowVolumeOccluder.cpp, src/osg/Shape.cpp, - src/osg/ShapeDrawable.cpp, src/osg/State.cpp, - src/osg/StateSet.cpp, src/osg/Stencil.cpp, src/osg/Switch.cpp, - src/osg/TexEnv.cpp, src/osg/TexEnvCombine.cpp, - src/osg/TexGen.cpp, src/osg/TexMat.cpp, src/osg/Texture.cpp, - src/osg/Texture1D.cpp, src/osg/Texture2D.cpp, - src/osg/Texture3D.cpp, src/osg/TextureCubeMap.cpp, - src/osg/Timer.cpp, src/osg/Transform.cpp, - src/osg/UnitTestFramework.cpp, src/osg/Vec3.cpp, - src/osg/Version.cpp, src/osg/VertexProgram.cpp, - src/osg/Viewport.cpp, src/osgDB/DotOsgWrapper.cpp, - src/osgDB/DynamicLibrary.cpp, src/osgDB/Field.cpp, - src/osgDB/FieldReader.cpp, src/osgDB/FieldReaderIterator.cpp, - src/osgDB/FileNameUtils.cpp, src/osgDB/FileUtils.cpp, - src/osgDB/FileUtils_Mac.cpp, src/osgDB/Input.cpp, - src/osgDB/Output.cpp, src/osgDB/ReadFile.cpp, - src/osgDB/Registry.cpp, src/osgDB/Version.cpp, - src/osgDB/WriteFile.cpp, src/osgUtil/CubeMapGenerator.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/DisplayListVisitor.cpp, - src/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgUtil/HalfWayMapGenerator.cpp, - src/osgUtil/HighlightMapGenerator.cpp, - src/osgUtil/InsertImpostorsVisitor.cpp, - src/osgUtil/IntersectVisitor.cpp, src/osgUtil/Optimizer.cpp, - src/osgUtil/RenderBin.cpp, src/osgUtil/RenderGraph.cpp, - src/osgUtil/RenderLeaf.cpp, src/osgUtil/RenderStage.cpp, - src/osgUtil/RenderStageLighting.cpp, - src/osgUtil/RenderToTextureStage.cpp, src/osgUtil/SceneView.cpp, - src/osgUtil/SmoothingVisitor.cpp, src/osgUtil/Tesselator.cpp, - src/osgUtil/TransformCallback.cpp, - src/osgUtil/TriStripVisitor.cpp, - src/osgUtil/TriStrip_tri_stripper.cpp, - src/osgUtil/UpdateVisitor.cpp, src/osgUtil/Version.cpp: Added new - Copyright/License notice to header and source files. - -2003-01-21 16:40 robert - - * src/Demos/osgprerender/osgprerender.cpp: 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 - - * src/osgPlugins/txp/TrPageArchive.cpp, - src/osgPlugins/txp/TrPageParser.cpp: Added gaurds around alpha - function value to catch erroneous values before they - are passed on to the OSG. - -2003-01-21 13:22 robert - - * src/Demos/osgproducer/Makefile, - src/Demos/osgproducer/osgproducer.cpp, - src/Demos/osgproducer/osgproducer_cameragroup.cpp, - src/Demos/osgproducer/osgproducer_viewer.cpp: 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 - - * include/osgProducer/ActionAdapter, - include/osgProducer/CameraGroup, - include/osgProducer/EventAdapter, include/osgProducer/Export, - include/osgProducer/KeyboardMouseCallback, - include/osgProducer/ReadCameraConfigFile, - include/osgProducer/SceneHandler, include/osgProducer/Version, - include/osgProducer/Viewer, - include/osgProducer/WriteCameraConfigFile, - src/Demos/osgproducer/osgproducer.cpp, - src/osgProducer/CameraGroup.cpp, src/osgProducer/Makefile, - src/osgProducer/Viewer.cpp: Added new osgProducer::Viewer class - for putting together simple producer - based viewers very quickly. - -2003-01-21 09:09 robert - - * src/osgPlugins/txp/TrPageArchive.cpp: From Joseph Steel, addition - of texture filter modes to txp plugin. - -2003-01-20 20:40 robert - - * include/osg/Drawable, src/osg/Drawable.cpp, - src/osgUtil/DisplayListVisitor.cpp: 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 - - * include/osgProducer/SceneHandler, - src/osgProducer/SceneHandler.cpp: 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 - - * include/osgText/Text, src/osgText/FTFont.cpp, - src/osgText/FTFont.h, src/osgText/Text.cpp: 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 - - * VisualStudio/Demos/osghangglide/osghangglide.dsp: Removed the - ReaderWriterFLY.cpp for the project as its no longer used. - -2003-01-20 14:07 robert - - * src/Demos/osghangglide/Makefile, - src/Demos/osghangglide/ReaderWriterFLY.cpp: Removed the - ReaderWriterFLY demo since it was causing OSX builds to crash - when - running the osghangglide demo. - -2003-01-20 12:41 robert - - * include/osg/Node: Added the new standard copyright notice. - -2003-01-20 12:40 robert - - * LICENSE: 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 +Fri, 1 Jun 2007 19:21:41 +0000 +Checked in by : Robert Osfield +Removed setViewUpOnScreen settings - * src/Demos/osgproducer/osgproducer.cpp: Clean up to the - osgproducer demo. +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 :)" -2003-01-20 11:52 robert +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." - * src/osgGA/DriveManipulator.cpp, src/osgGA/FlightManipulator.cpp, - src/osgGA/KeySwitchCameraManipulator.cpp: 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 - * src/Demos/osglogo/osglogo.cpp: Fixed osglogo demo so that is - correctly set up the colour of the background. +Fri, 1 Jun 2007 19:01:23 +0000 +Checked in by : Robert Osfield +Removed the debug message for the ortho path. -2003-01-20 11:02 robert +Fri, 1 Jun 2007 19:01:06 +0000 +Checked in by : Robert Osfield +Improved the handling of the -p path option - * src/osg/Geometry.cpp: 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 - - * src/osgPlugins/lwo/Lwo2.cpp: 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 - - * src/osg/Group.cpp, src/osgPlugins/flt/ReaderWriterATTR.cpp, - src/osgPlugins/flt/Record.cpp: 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.. +Fri, 1 Jun 2007 18:27:08 +0000 +Checked in by : Robert Osfield +Work in progress on shaders support -2003-01-20 09:09 robert +Fri, 1 Jun 2007 16:14:47 +0000 +Checked in by : Robert Osfield +From Paul Martz, added Win32 export - * src/osgPlugins/iv/osgvisitor.cpp: From Ruben, updates to the - IV/VRML1 loader to handler large datasets. +Fri, 1 Jun 2007 11:21:57 +0000 +Checked in by : Robert Osfield +Added recording of camera paths -2003-01-20 08:58 robert +Fri, 1 Jun 2007 10:42:24 +0000 +Checked in by : Robert Osfield +Changed name of AnimationPathHandler to RecordCameraPathHandler - * src/Demos/osgproducer/osgproducer.cpp, - src/osgProducer/CameraGroup.cpp, - src/osgProducer/ReadCameraConfigFile.cpp, - src/osgProducer/SceneHandler.cpp: Updates to osgProducer, moving - the implementation of CameraGroup and - SceneHandler into the source directory. +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. -2003-01-19 15:28 robert +Wed, 30 May 2007 17:56:43 +0000 +Checked in by : Robert Osfield +Improved taper ratio computation - * include/osg/State, src/osg/State.cpp: Added - osg::State::dirtyAllModes() and dirtyAllAttributes() methods. +Wed, 30 May 2007 16:36:47 +0000 +Checked in by : Robert Osfield +Added set up of overlay stateset -2003-01-18 22:07 robert +Wed, 30 May 2007 14:18:33 +0000 +Checked in by : Robert Osfield +Added trapezodial fitting code - * include/osgProducer/CameraGroup, - include/osgProducer/ReadCameraConfigFile, - include/osgProducer/SceneHandler, - include/osgProducer/WriteCameraConfigFile, - src/Demos/osgproducer/osgproducer.cpp, - src/osgProducer/EventAdapter.cpp, src/osgProducer/Makefile, - src/osgProducer/ReadCameraConfigFile.cpp, - src/osgProducer/WriteCameraConfigFile.cpp: 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 - - * include/osgProducer/KeyboardMouseCallback, - src/osgProducer/KeyboardMouseCallback.cpp: Updated the - KeyboardMouseCallback so this it takes into account the the new - passiveMouseMotion support in Producer. - -2003-01-18 09:44 robert - - * src/osgUtil/TriStrip_graph_array.h: 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 - - * NEWS: Added comment about osgProducer to the NEWS. - -2003-01-17 20:05 robert - - * src/Demos/osgproducer/osgproducer.cpp, - src/osgProducer/EventAdapter.cpp: Added - KeyboardMouse::allowContinousMouseMotionUpdate(), but commented - out right - now as Producer crashes when you use it.. - -2003-01-17 18:34 robert - - * include/osgProducer, include/osgProducer/ActionAdapter, - include/osgProducer/CameraGroup, - include/osgProducer/EventAdapter, include/osgProducer/Export, - include/osgProducer/KeyboardMouseCallback, - include/osgProducer/SceneHandler, include/osgProducer/Version, - src/Demos/osgproducer/Makefile, - src/Demos/osgproducer/ProducerEventAdapter.cpp, - src/Demos/osgproducer/ProducerEventAdapter.h, - src/Demos/osgproducer/ProducerEventCallback.cpp, - src/Demos/osgproducer/ProducerEventCallback.h, - src/Demos/osgproducer/osgproducer.cpp, src/osgProducer, - src/osgProducer/EventAdapter.cpp, - src/osgProducer/KeyboardMouseCallback.cpp, - src/osgProducer/Makefile, src/osgProducer/Version.cpp: Added - osgProducer library to the distribution. - - Cleaned up the osgproducer demo, and made it work with the new - osgProducer lib. +Wed, 30 May 2007 09:25:01 +0000 +Checked in by : Robert Osfield +Fixed case of when view==NULL -2003-01-17 16:00 robert +Tue, 29 May 2007 18:39:27 +0000 +Checked in by : Eric WING +Stephan Huber: Adding missing Xcode project file. - * src/osgText/EncodedText.cpp: 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 +Tue, 29 May 2007 14:19:42 +0000 +Checked in by : Stephan Maximilian HUBER +From Stephan Huber, updated OpenThreads-XCode-project files - * include/osgText/EncodedText, include/osgText/Text, - src/osgText/FTFont.cpp, src/osgText/FTFont.h, - src/osgText/Font.cpp: Fixed a bug on the handling of empty - EncodedText. +Tue, 29 May 2007 13:28:40 +0000 +Checked in by : Robert Osfield +Added support for specifying which screen number to place the window -2003-01-17 14:12 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.... - * src/Demos/osgproducer/ProducerEventCallback.h, - src/Demos/osgproducer/osgproducer.cpp: Further improvements to - the osgproducer demo. - -2003-01-17 14:12 robert - - * include/osgGA/KeySwitchCameraManipulator, - src/osgGA/KeySwitchCameraManipulator.cpp: Added new - getCurrentCamaeraManipulator(), and removed and debugging - message. +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." -2003-01-17 14:11 robert - - * include/osg/Referenced, src/osg/Referenced.cpp, - src/osgUtil/SceneView.cpp: 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 - * src/Demos/osgproducer/MyKeyboardMouseCallback, - src/Demos/osgproducer/ProducerEventAdapter.cpp, - src/Demos/osgproducer/ProducerEventCallback.cpp, - src/Demos/osgproducer/ProducerEventCallback.h, - src/Demos/osgproducer/osgproducer.cpp: Integated the trackball - manipulator with the osgproducer demo. -2003-01-17 11:26 robert - * src/Demos/osgproducer/Makefile, - src/Demos/osgproducer/ProducerEventAdapter.cpp, - src/Demos/osgproducer/ProducerEventAdapter.h, - src/Demos/osgproducer/ProducerEventCallback.cpp, - src/Demos/osgproducer/ProducerEventCallback.h: Added - ProducerEventCallback class to manager the conversion of producer - events - into GUIEventAdapter versions. +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. -2003-01-16 19:27 robert +2) the 3rdparty I am supplying for FlightGear contains freetype-2.3.4. I +added the correct library naming for this particular release. - * include/osgGA/GUIEventAdapter: Added DOUBLECLICK EventType to - GUIEventAdapter. +I double-checked my directory layout with the 3rdparty supplied by other +OSG contributors." -2003-01-16 16:37 robert - * include/osg/LightSource, include/osg/Transform, - src/Demos/osgproducer/osgproducer.cpp, src/osg/LightSource.cpp, - src/osgPlugins/osg/LightSource.cpp, - src/osgPlugins/osg/ShapeDrawable.cpp, - src/osgUtil/CullVisitor.cpp: 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 - * src/Demos/osgproducer/osgproducer.cpp: Added support for frame - stamping each frame. +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()." -2003-01-16 12:18 robert - * src/Demos/osgproducer/osgproducer.cpp: Updates to clean up the - demo. -2003-01-15 21:54 don - * Make/makedefs: Added gstabs+ to DBGF in Linux in makedefs -2003-01-15 20:57 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 - * src/osgPlugins/flt/flt2osg.cpp: Warning fix for Win32. +Mon, 28 May 2007 15:44:37 +0000 +Checked in by : Robert Osfield +Added --object, --ortho and --persp OverlayNode options -2003-01-15 20:53 robert +Mon, 28 May 2007 15:27:21 +0000 +Checked in by : Robert Osfield +Fixed handle on non ellipsoid models - * src/osgUtil/TriStrip_tri_stripper.h: Added #include - simply to include the #pragma's for disabling the - daft VisualStudio warnings. +Mon, 28 May 2007 15:17:27 +0000 +Checked in by : Robert Osfield +Improved the accuracy of the overlaynode settings -2003-01-15 20:50 robert +Mon, 28 May 2007 13:56:26 +0000 +Checked in by : Robert Osfield +Added project down to base implementation. - * VisualStudio/MUST_READ_ME.txt, VisualStudio/osgDB/osgDB.dsp, - include/osgDB/ParameterOutput, src/osgDB/Makefile, - src/osgDB/ParameterOutput.cpp: 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. +Mon, 28 May 2007 10:48:04 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and AUTHORS.txt for 1.9.6 release -2003-01-15 19:23 robert +Mon, 28 May 2007 10:17:52 +0000 +Checked in by : Robert Osfield +Updated version number, wrappers and readme for release - * src/Demos/osgproducer/osgproducer.cpp, - src/Demos/osgproducer/threePipe.cfg, - src/Demos/osgproducer/twoPipe.cfg, - src/Demos/osgproducer/twoWindows.cfg: Updates to the osgproducer - demo. +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." -2003-01-15 15:44 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. - * src/osgUtil/TriStrip_graph_array.h: Removed the -> methods from - the arc class to prevent stupid warnings under - VisualStudio6.0. +Sun, 27 May 2007 19:35:50 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-01-15 15:24 robert +Sun, 27 May 2007 18:18:17 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/Demos/osgproducer, src/Demos/osgproducer/Makefile, - src/Demos/osgproducer/Makefile.inst, - src/Demos/osgproducer/MyKeyboardMouseCallback, - src/Demos/osgproducer/ProducerEventAdapter.cpp, - src/Demos/osgproducer/ProducerEventAdapter.h, - src/Demos/osgproducer/osgproducer.cpp: First cut and a demo which - uses Open Producer for windowing. +Sun, 27 May 2007 17:29:29 +0000 +Checked in by : Robert Osfield +Added camera event callback support into osgViewer -2003-01-15 13:17 robert +Sun, 27 May 2007 15:24:41 +0000 +Checked in by : Robert Osfield +Updated calling of master camera's update callback - * src/osgUtil/TriStripVisitor.cpp, - src/osgUtil/TriStrip_tri_stripper.cpp: Attempts to fix more of - the *stupid* errors in the VisualStudio6.0 compiler. +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 -2003-01-15 11:33 robert +Sun, 27 May 2007 14:49:58 +0000 +Checked in by : Robert Osfield +Added option for using the different overlay techniques. - * src/osgPlugins/txp/TrPageParser.cpp: Patch from Joseph Steel, - added missing check for the mipmap usage. +Sat, 26 May 2007 16:02:28 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-01-15 11:29 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. - * include/osg/PrimitiveSet, src/osg/GeoSet.cpp, - src/osgUtil/TriStripVisitor.cpp: Removed the template versions of - the PrimitiveSet constructors as this was - causing problem under VisualStudio6.0. +Sat, 26 May 2007 15:49:35 +0000 +Checked in by : Robert Osfield +Fixes to help C# binding dev. -2003-01-14 19:12 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." - * src/osgUtil/TriStrip_tri_stripper.h: Fix for win32. +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. -2003-01-14 16:39 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. - * include/osgGA/GUIEventAdapter, src/osgGLUT/GLUTEventAdapter.cpp, - src/osgPlugins/directx/ReaderWriterDirectX.cpp: Fixes for Win32 - build. +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." -2003-01-14 14:25 robert - * include/osgGA/GUIEventAdapter, include/osgGLUT/GLUTEventAdapter, - include/osgGLUT/Viewer, include/osgGLUT/Window, - src/Demos/osghangglide/GliderManipulator.cpp, - src/Demos/osgimpostor/TestManipulator.cpp, - src/Demos/osgoccluder/osgoccluder.cpp, - src/Demos/osgsequence/osgsequence.cpp, - src/Demos/osgtext/main.cpp, - src/osgGA/AnimationPathManipulator.cpp, - src/osgGA/DriveManipulator.cpp, src/osgGA/FlightManipulator.cpp, - src/osgGA/KeySwitchCameraManipulator.cpp, - src/osgGA/StateSetManipulator.cpp, - src/osgGA/TrackballManipulator.cpp, - src/osgGLUT/GLUTEventAdapter.cpp, src/osgGLUT/Viewer.cpp, - src/osgGLUT/Window.cpp: 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 +Sat, 26 May 2007 15:17:14 +0000 +Checked in by : Robert Osfield +Added exclude of svn directories. - * src/osgUtil/RenderLeaf.cpp: 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. +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. -2003-01-14 14:00 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. +" - * src/osgPlugins/txp/TerrapageNode.cpp, - src/osgPlugins/txp/TrPageArchive.h, - src/osgPlugins/txp/trpage_write.h: Submission from Joseph Stell, - added LoadModels to TerrapageNode. -2003-01-14 12:36 robert - * src/osgUtil/TriStrip_tri_stripper.h: Fixed typo. - -2003-01-14 10:54 robert - - * AUTHORS, VisualStudio/osgUtil/osgUtil.dsp, src/osgUtil/Makefile, - src/osgUtil/NvTriStripObjects.cpp, - src/osgUtil/NvTriStripObjects.h, src/osgUtil/TriStripVisitor.cpp, - src/osgUtil/TriStrip_graph_array.h, - src/osgUtil/TriStrip_heap_array.h, - src/osgUtil/TriStrip_tri_stripper.cpp, - src/osgUtil/TriStrip_tri_stripper.h: Replaced the NVTriStrip code - with tri_stripper written by Tanguy Fautré. - -2003-01-13 20:14 robert - - * include/osg/Camera, src/osg/Camera.cpp: Typo fix if - USE_HOME_POSITION. - -2003-01-13 14:56 robert - - * src/osgText/EncodedText.cpp: 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 - - * src/osgPlugins/directx/ReaderWriterDirectX.cpp, - src/osgPlugins/directx/directx.h: Clean up to the cross platform - support in DirectX plugin. -2003-01-13 14:05 robert +Fri, 25 May 2007 19:32:15 +0000 +Checked in by : Robert Osfield +Comment out the setting of single threading. - * include/osgText/EncodedText, src/osgText/EncodedText.cpp, - src/osgText/Text.cpp: Fixes to osgText to handle std::string - correctly. +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 -2003-01-13 10:39 robert +Wed, 23 May 2007 14:55:59 +0000 +Checked in by : Robert Osfield +Added insertion of center point into object polytope - * src/osg/ShapeDrawable.cpp: Added missing _bbox.init() to - ShapeDrawable.cpp. - -2003-01-11 20:56 don - - * src/osgPlugins/directx/ReaderWriterDirectX.cpp: - ReaderWriterDirectX.cpp needed some std::'s - -2003-01-11 20:43 robert - - * src/osgPlugins/directx/directx.cpp, - src/osgPlugins/directx/directx.h: From Ulrich, fixes to double to - float conversion warnings under Windows. - -2003-01-11 12:50 robert - - * VisualStudio/osgDB/osgDB.dsp, include/osgDB/ParameterOutput, - src/osgDB/Makefile, src/osgDB/ParameterOutput.cpp: Moved some in - inline methods in ParamterOutput into the new ParamterOutput.cpp - file to clean up the interface. - -2003-01-10 17:06 robert +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. - * src/osgPlugins/directx/LICENSE, src/osgPlugins/directx/Makefile, - src/osgPlugins/directx/ReaderWriterDirectX.cpp, - src/osgPlugins/directx/directx.cpp, - src/osgPlugins/directx/directx.h: Updates from Ulrich. - -2003-01-10 16:56 robert - - * src/osgPlugins/osg/Matrix.h: Added missing header for new matric - reading and writing methods. +Wed, 23 May 2007 12:35:37 +0000 +Checked in by : Robert Osfield +Updated wrappers -2003-01-10 09:25 robert +Wed, 23 May 2007 12:21:20 +0000 +Checked in by : Robert Osfield +Added platform specific GraphicsWindow* headers to public headers listings - * include/osg/AnimationPath, include/osg/Camera, - include/osg/CullStack, include/osg/CullingSet, - include/osg/DOFTransform, include/osg/DisplaySettings, - include/osg/FrameStamp, include/osg/Matrix, - include/osg/MatrixTransform, include/osg/Node, - include/osg/NodeCallback, include/osg/PositionAttitudeTransform, - include/osg/PrimitiveSet, include/osg/Projection, - include/osg/ShadowVolumeOccluder, include/osg/Shape, - include/osg/State, include/osg/Statistics, - include/osg/UnitTestFramework, include/osg/VertexProgram, - include/osg/ref_ptr, include/osgDB/Registry, - include/osgUtil/CullVisitor, include/osgUtil/IntersectVisitor, - include/osgUtil/RenderLeaf, include/osgUtil/RenderStage, - include/osgUtil/RenderStageLighting, include/osgUtil/SceneView, - src/Demos/osghangglide/tank.cpp, - src/Demos/osgpbuffer/osgpbuffer.cpp, - src/Demos/osgprerender/osgprerender.cpp, - src/Demos/osgshadowtexture/CreateShadowedScene.cpp, - src/osg/Camera.cpp, src/osg/CollectOccludersVisitor.cpp, - src/osg/CullStack.cpp, src/osg/DisplaySettings.cpp, - src/osg/Matrix.cpp, src/osg/MatrixTransform.cpp, - src/osg/Projection.cpp, src/osg/ShadowVolumeOccluder.cpp, - src/osg/State.cpp, src/osg/VertexProgram.cpp, - src/osgDB/Registry.cpp, src/osgGLUT/Viewer.cpp, - src/osgPlugins/osg/Geometry.cpp, src/osgPlugins/osg/Matrix.cpp, - src/osgPlugins/osg/MatrixTransform.cpp, - src/osgPlugins/osg/Projection.cpp, src/osgPlugins/osg/Shape.cpp, - src/osgSim/LightPointNode.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/IntersectVisitor.cpp, src/osgUtil/SceneView.cpp: 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. +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. -2003-01-09 18:41 robert +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. - * src/osg/Texture.cpp: Fixed typo. - -2003-01-09 16:13 robert - - * src/osg/Texture.cpp: Added #ifndef GL_TEXTURE_WRAP_S #define - block to keep things compiling - on old drivers. - -2003-01-09 11:48 robert - - * src/osg/Texture.cpp: Fixed typo. - -2003-01-09 10:06 robert +This is implementation is certainly not the fastest. +There are certainly ways and strategies to improve it. - * src/osg/Texture.cpp: Added setting of the R wrap paramter to - applyTexParamters(). - -2003-01-08 22:52 robert - * AUTHORS, Make/makedirdefs, NEWS, VisualStudio/VisualStudio.dsw, - VisualStudio/osgPlugins/directx, - VisualStudio/osgPlugins/directx/directx.dsp, - src/osgPlugins/directx, src/osgPlugins/directx/Makefile, - src/osgPlugins/directx/ReaderWriterDirectX.cpp, - src/osgPlugins/directx/directx.cpp, - src/osgPlugins/directx/directx.h: From Ulrich Hertlein, DirectX - .x model loader plugin. - -2003-01-08 16:37 robert - - * src/osgText/EncodedText.cpp: Fix to case statement from Tree. - -2003-01-08 16:33 robert - - * src/osgPlugins/osg/Shape.cpp: 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 - - * src/osgPlugins/flt/flt2osg.cpp: Cleaned up the code for the - animation flags of the group record. - -2003-01-08 15:22 robert - - * AUTHORS, NEWS, VisualStudio/osgText/osgText.dsp, - include/osgText/EncodedText, include/osgText/Font, - include/osgText/Text, src/osgText/EncodedText.cpp, - src/osgText/FTFont.cpp, src/osgText/FTFont.h, - src/osgText/FTGlyph.cpp, src/osgText/FTLibrary.cpp, - src/osgText/Font.cpp, src/osgText/Makefile, src/osgText/Text.cpp: - From Tree, support for encoded text added into osgText. - -2003-01-08 14:32 robert - - * AUTHORS, VisualStudio/osgDB/osgDB.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, include/osg/Shape, - include/osgDB/FieldReaderIterator, include/osgDB/Output, - include/osgDB/ParameterOutput, src/osg/ShapeDrawable.cpp, - src/osgDB/FieldReaderIterator.cpp, - src/osgPlugins/osg/Drawable.cpp, src/osgPlugins/osg/GeoSet.cpp, - src/osgPlugins/osg/Geometry.cpp, src/osgPlugins/osg/Makefile: - Added support for reading and writing Sphere, Box, Cone, Cylinder - and Grid shapes. - -2003-01-07 16:29 robert - - * include/osgUtil/Optimizer, src/osgPlugins/osg/Geometry.cpp, - src/osgUtil/Optimizer.cpp: 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 - - * src/osgPlugins/txp/TerrapageNode.cpp, - src/osgSim/BlinkSequence.cpp: Fixes for Irix64 build. - -2003-01-06 16:42 robert - - * include/osgSim/LightPoint, src/osgSim/LightPointNode.cpp: Removed - the osg::LightPoint::OPAQUE option, and implemented the ADDTIVE - blending option. - -2003-01-06 13:45 robert - - * NEWS, include/osgSim/LightPoint: Fixed headers guard typo in - LightPoint. - - Updated the NEW files. +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. -2003-01-04 20:45 robert - * Make/makedirdefs, NEWS, VisualStudio/Demos/osgvertexprogram, - VisualStudio/Demos/osgvertexprogram/osgvertexprogram.dsp, - VisualStudio/VisualStudio.dsw, VisualStudio/osg/osg.dsp, - include/osg/Geometry, include/osg/StateAttribute, - include/osg/VertexProgram, src/Demos/osgvertexprogram, - src/Demos/osgvertexprogram/Makefile, - src/Demos/osgvertexprogram/Makefile.inst, - src/Demos/osgvertexprogram/osgvertexprogram.cpp, - src/osg/Geometry.cpp, src/osg/Makefile, - src/osg/VertexProgram.cpp, src/osgPlugins/osg/Geometry.cpp: Added - new ARB vertex program state attribute and demo program, - sent in my Brede Johansen. +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. -2003-01-04 20:44 robert - * src/Demos/osgpbuffer/osgpbuffer.cpp: Fixed small typo. +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). + +" -2003-01-04 20:43 robert - - * src/Demos/sgv/sgv.cpp: Added usage info in -O option. - -2003-01-04 20:43 robert - - * src/osgPlugins/flt/ReaderWriterFLT.cpp: Fixed options code. - -2003-01-03 21:42 robert - - * include/osg/AnimationPath, src/osg/AnimationPath.cpp, - src/osgSim/LightPointDrawable.cpp: 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 - - * include/osg/AnimationPath, include/osg/MatrixTransform, - include/osg/NodeCallback, include/osg/NodeVisitor, - include/osg/PositionAttitudeTransform, - src/Demos/osganimate/osganimate.cpp, - src/Demos/osglight/osglight.cpp, - src/Demos/osgpbuffer/osgpbuffer.cpp, - src/Demos/osgshadowtexture/osgshadowtexture.cpp, - src/osg/AnimationPath.cpp, src/osg/MatrixTransform.cpp, - src/osg/NodeVisitor.cpp, src/osg/PositionAttitudeTransform.cpp, - src/osgPlugins/flt/FltFile.cpp, src/osgPlugins/flt/FltFile.h, - src/osgPlugins/flt/ReaderWriterFLT.cpp, - src/osgPlugins/flt/flt2osg.cpp, src/osgPlugins/flt/flt2osg.h, - src/osgPlugins/osg/AnimationPath.cpp, - src/osgPlugins/osg/MatrixTransform.cpp, - src/osgPlugins/osg/Node.cpp: 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 - - * src/osgPlugins/txp/TrPageArchive.cpp, - src/osgPlugins/txp/TrPageParser.cpp, - src/osgPlugins/txp/trPagePageManager.cpp, - src/osgPlugins/txp/trPagePageManager.h: Updates the terrapage to - try and make it thread "safer" when used with the OSG. - -2002-12-21 11:30 robert - - * src/osgPlugins/txp/TrPageParser.cpp: 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 - - * src/Demos/osglogo/osglogo.cpp: Tweaked the colours in the logo. - -2002-12-20 09:47 robert - - * VisualStudio/osgSim/osgSim.dsp: 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 - - * src/Demos/osgpbuffer/osgpbuffer.cpp: Renamed the app method - update. - -2002-12-19 19:50 don - - * include/osg/Timer: Update for ia64 - -2002-12-19 19:50 don - - * src/osg/Timer.cpp: update for ia64 - -2002-12-19 15:55 robert - - * NEWS, VisualStudio/osgUtil/osgUtil.dsp, include/osg/Drawable, - include/osg/Node, include/osg/NodeVisitor, - include/osgGLUT/Viewer, include/osgUtil/AppVisitor, - include/osgUtil/SceneView, include/osgUtil/UpdateVisitor, - src/Demos/osganimate/osganimate.cpp, - src/Demos/osgcallback/osgcallback.cpp, - src/Demos/osgclip/osgclip.cpp, - src/Demos/osgcluster/osgcluster.cpp, - src/Demos/osgcube/osgcube.cpp, - src/Demos/osggeometry/osggeometry.cpp, - src/Demos/osglight/osglight.cpp, src/Demos/osglogo/osglogo.cpp, - src/Demos/osgpbuffer/osgpbuffer.cpp, - src/Demos/osgprerender/osgprerender.cpp, - src/Demos/osgreflect/osgreflect.cpp, - src/Demos/osgshadowtexture/osgshadowtexture.cpp, - src/Demos/osgtext/main.cpp, - src/Demos/osgtexture1D/osgtexture1D.cpp, - src/Demos/osgtexture2D/osgtexture2D.cpp, - src/Demos/osgtexture3D/osgtexture3D.cpp, - src/osg/DOFTransform.cpp, src/osg/Drawable.cpp, - src/osg/Geode.cpp, src/osg/Group.cpp, - src/osg/MatrixTransform.cpp, src/osg/Node.cpp, - src/osg/PositionAttitudeTransform.cpp, src/osg/Sequence.cpp, - src/osg/ShapeDrawable.cpp, src/osgGLUT/Viewer.cpp, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/geo/geoActions.cpp, - src/osgPlugins/geo/osgGeoAction.h, - src/osgPlugins/geo/osgGeoAnimation.h, - src/osgPlugins/txp/TerrapageNode.cpp, src/osgUtil/AppVisitor.cpp, - src/osgUtil/Makefile, src/osgUtil/Optimizer.cpp, - src/osgUtil/SceneView.cpp, src/osgUtil/UpdateVisitor.cpp: 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 - - * src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/trPagePageManager.h: Changed the remaining - #include <> to #include "" to get things compiling under VS. - -2002-12-18 11:43 robert - - * src/osgPlugins/osg/Sequence.cpp: Removed the reference of - Sequence from Switch. - -2002-12-18 10:17 robert - - * src/osgPlugins/txp/TerrapageNode.cpp: Removed the osg:: from the - front of the Group::computeBound() method to keep - things compiling under Windows. - -2002-12-18 09:50 robert - - * src/osgPlugins/txp/ReaderWriterTXP.h, - src/osgPlugins/txp/TerrapageNode.h, - src/osgPlugins/txp/TrPageArchive.cpp, - src/osgPlugins/txp/TrPageArchive.h, - src/osgPlugins/txp/TrPageParser.cpp, - src/osgPlugins/txp/TrPageParser.h, - src/osgPlugins/txp/trPagePageManager.cpp, - src/osgPlugins/txp/trPagePageManager.h, - src/osgPlugins/txp/trpage_basic.cpp, - src/osgPlugins/txp/trpage_compat.cpp, - src/osgPlugins/txp/trpage_geom.cpp, - src/osgPlugins/txp/trpage_geom.h, - src/osgPlugins/txp/trpage_header.cpp, - src/osgPlugins/txp/trpage_io.h, - src/osgPlugins/txp/trpage_light.cpp, - src/osgPlugins/txp/trpage_main.cpp, - src/osgPlugins/txp/trpage_managers.cpp, - src/osgPlugins/txp/trpage_material.cpp, - src/osgPlugins/txp/trpage_model.cpp, - src/osgPlugins/txp/trpage_nodes.cpp, - src/osgPlugins/txp/trpage_parse.cpp, - src/osgPlugins/txp/trpage_pparse.cpp, - src/osgPlugins/txp/trpage_print.cpp, - src/osgPlugins/txp/trpage_print.h, - src/osgPlugins/txp/trpage_range.cpp, - src/osgPlugins/txp/trpage_rarchive.cpp, - src/osgPlugins/txp/trpage_read.h, - src/osgPlugins/txp/trpage_readbuf.cpp, - src/osgPlugins/txp/trpage_scene.cpp, - src/osgPlugins/txp/trpage_scene.h, - src/osgPlugins/txp/trpage_swap.cpp, - src/osgPlugins/txp/trpage_swap.h, - src/osgPlugins/txp/trpage_sys.h, - src/osgPlugins/txp/trpage_tile.cpp, - src/osgPlugins/txp/trpage_util.cpp, - src/osgPlugins/txp/trpage_util.h, - src/osgPlugins/txp/trpage_warchive.cpp, - src/osgPlugins/txp/trpage_write.h, - src/osgPlugins/txp/trpage_writebuf.cpp: Changed the <*.h> to - "*.h> in the terrapage plugin to get it compile under Windows. - -2002-12-17 17:22 robert - - * src/osgPlugins/flt/CommentRecord.h, - src/osgPlugins/flt/flt2osg.cpp, src/osgPlugins/flt/flt2osg.h: - From Daniel Sjölie, support for reading comment records into - description fields. - -2002-12-17 16:07 robert - - * Make/makedirdefs, VisualStudio/Demos/osgtxp, - VisualStudio/VisualStudio.dsw, - VisualStudio/osgPlugins/txp/txp.dsp, include/osgTXP, - src/Demos/osgtxp, src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/ReaderWriterTXP.h, - src/osgPlugins/txp/TerrapageNode.h, - src/osgPlugins/txp/TrPageArchive.cpp, - src/osgPlugins/txp/TrPageArchive.h, - src/osgPlugins/txp/TrPageParser.cpp, - src/osgPlugins/txp/TrPageParser.h, - src/osgPlugins/txp/WaitBlock.h, - src/osgPlugins/txp/trPagePageManager.cpp, - src/osgPlugins/txp/trPagePageManager.h, - src/osgPlugins/txp/trdll.h, src/osgPlugins/txp/trpage_basic.cpp, - src/osgPlugins/txp/trpage_compat.cpp, - src/osgPlugins/txp/trpage_compat.h, - src/osgPlugins/txp/trpage_geom.cpp, - src/osgPlugins/txp/trpage_geom.h, - src/osgPlugins/txp/trpage_header.cpp, - src/osgPlugins/txp/trpage_ident.h, - src/osgPlugins/txp/trpage_io.h, - src/osgPlugins/txp/trpage_light.cpp, - src/osgPlugins/txp/trpage_main.cpp, - src/osgPlugins/txp/trpage_managers.cpp, - src/osgPlugins/txp/trpage_managers.h, - src/osgPlugins/txp/trpage_material.cpp, - src/osgPlugins/txp/trpage_model.cpp, - src/osgPlugins/txp/trpage_nodes.cpp, - src/osgPlugins/txp/trpage_parse.cpp, - src/osgPlugins/txp/trpage_pparse.cpp, - src/osgPlugins/txp/trpage_print.cpp, - src/osgPlugins/txp/trpage_print.h, - src/osgPlugins/txp/trpage_range.cpp, - src/osgPlugins/txp/trpage_rarchive.cpp, - src/osgPlugins/txp/trpage_read.h, - src/osgPlugins/txp/trpage_readbuf.cpp, - src/osgPlugins/txp/trpage_scene.cpp, - src/osgPlugins/txp/trpage_scene.h, - src/osgPlugins/txp/trpage_swap.cpp, - src/osgPlugins/txp/trpage_swap.h, - src/osgPlugins/txp/trpage_sys.h, - src/osgPlugins/txp/trpage_tile.cpp, - src/osgPlugins/txp/trpage_util.cpp, - src/osgPlugins/txp/trpage_util.h, - src/osgPlugins/txp/trpage_warchive.cpp, - src/osgPlugins/txp/trpage_write.h, - src/osgPlugins/txp/trpage_writebuf.cpp: 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 - - * VisualStudio/osgPlugins/txp/txp.dsp, include/osg/NodeVisitor, - include/osgTXP/TrPageParser.h, - include/osgTXP/trPagePageManager.h, include/osgUtil/CullVisitor, - src/Demos/osgtxp/TrPageViewer.h, src/osg/Group.cpp, - src/osgDB/Registry.cpp, src/osgPlugins/txp/IO_TerrapageNode.cpp, - src/osgPlugins/txp/Makefile, - src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/ReaderWriterTXP.h, - src/osgPlugins/txp/TerrapageNode.cpp, - src/osgPlugins/txp/TerrapageNode.h: 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 - - * include/osg/Referenced: Added a few more comments on the - DeleteHandler. - - Changed the friend struct DeleteHandler to friend class - DeleteHandler. - -2002-12-16 19:39 don - - * include/osg/Referenced: Fixed a scope issue for 3.2 compiler for - friend declarattion, l ine 39 in - include/osg/Referenced - -2002-12-16 17:00 robert - - * include/osg/Drawable, include/osg/TriangleFunctor, - src/Demos/osggeometry/osggeometry.cpp, - src/osgUtil/IntersectVisitor.cpp, - src/osgUtil/SmoothingVisitor.cpp, - src/osgUtil/TriStripVisitor.cpp: Moved TriangleFunctor from - Drawable into its own header file. - -2002-12-16 16:57 robert - - * src/Demos/osgtxp/TrPageViewer.h: Removed the redundent export - symbol. - -2002-12-16 16:55 robert - - * VisualStudio/osg/osg.dsp: Removed MemoryManager. - -2002-12-16 14:52 robert - - * src/osgSim/BlinkSequence.cpp: Fix for a warning. - -2002-12-16 14:12 robert - - * include/osgTXP/Export.h, src/osgText/FTGL.h: Removed reference to - osg/MemoryManager. - -2002-12-16 13:46 robert - - * Make/debugtests.bat, Make/osgtests.bat, rundemos.bat: Renamed - osgtests.bat to rundemos.bat and moved it into the root - directory. - -2002-12-16 13:44 robert - - * include/osg/MemoryManager, src/osg/MemoryManager.cpp: Removed the - memory manager. - -2002-12-16 13:40 robert - - * Make/makedefs, include/osg/Array, - include/osg/CollectOccludersVisitor, include/osg/CullStack, - include/osg/DrawPixels, include/osg/Export, include/osg/GeoSet, - include/osg/Geometry, include/osg/Image, - include/osg/ImpostorSprite, include/osg/Matrix, - include/osg/MemoryManager, include/osg/Node, include/osg/Object, - include/osg/PrimitiveSet, include/osg/Shape, - include/osg/ShapeDrawable, include/osg/StateAttribute, - include/osg/StateSet, include/osg/UnitTestFramework, - include/osgDB/Export, include/osgDB/Registry, - include/osgUtil/CullVisitor, include/osgUtil/RenderBin, - include/osgUtil/RenderGraph, include/osgUtil/RenderStage, - include/osgUtil/RenderStageLighting, - include/osgUtil/RenderToTextureStage, include/osgUtil/SceneView, - src/Demos/osganimate/osganimate.cpp, - src/Demos/osgbillboard/osgbillboard.cpp, - src/Demos/osgclip/osgclip.cpp, src/Demos/osgcube/osgcube.cpp, - src/Demos/osgcubemap/osgcubemap.cpp, - src/Demos/osghangglide/osghangglide.cpp, - src/Demos/osghud/osghud.cpp, src/Demos/osglight/osglight.cpp, - src/Demos/osglightpoint/osglightpoint.cpp, - src/Demos/osglogo/osglogo.cpp, - src/Demos/osgoccluder/osgoccluder.cpp, - src/Demos/osgparticle/osgparticle.cpp, - src/Demos/osgpbuffer/RenderToTextureStage.h, - src/Demos/osgpbuffer/osgpbuffer.cpp, - src/Demos/osgprerender/osgprerender.cpp, - src/Demos/osgreflect/osgreflect.cpp, - src/Demos/osgsequence/osgsequence.cpp, - src/Demos/osgshadowtexture/CreateShadowedScene.cpp, - src/Demos/osgshadowtexture/osgshadowtexture.cpp, - src/Demos/osgshape/osgshape.cpp, - src/Demos/osgteapot/osgteapot.cpp, src/Demos/osgtext/main.cpp, - src/Demos/osgtexture2D/osgtexture2D.cpp, - src/Demos/osgtexture3D/osgtexture3D.cpp, - src/Demos/osgtxp/TrPageViewer.cpp, src/osg/Camera.cpp, - src/osg/ClearNode.cpp, src/osg/ClipNode.cpp, - src/osg/CullStack.cpp, src/osg/DisplaySettings.cpp, - src/osg/Drawable.cpp, src/osg/GeoSet.cpp, src/osg/Image.cpp, - src/osg/ImpostorSprite.cpp, src/osg/LightSource.cpp, - src/osg/Node.cpp, src/osg/Projection.cpp, src/osg/StateSet.cpp, - src/osg/UnitTestFramework.cpp, src/osgDB/DynamicLibrary.cpp, - src/osgDB/Field.cpp, src/osgDB/FieldReaderIterator.cpp, - src/osgDB/ReadFile.cpp, src/osgDB/Registry.cpp, - src/osgGA/AnimationPathManipulator.cpp, - src/osgGA/DriveManipulator.cpp, src/osgGLUT/Viewer.cpp, - src/osgParticle/ModularEmitter.cpp, src/osgParticle/Particle.cpp, - src/osgParticle/ParticleSystem.cpp, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/lwo/Lwo2.cpp, src/osgPlugins/lwo/Lwo2Layer.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/osg/AlphaFunc.cpp, - src/osgPlugins/osg/AnimationPath.cpp, - src/osgPlugins/osg/Billboard.cpp, - src/osgPlugins/osg/BlendFunc.cpp, - src/osgPlugins/osg/ClearNode.cpp, - src/osgPlugins/osg/ClipPlane.cpp, - src/osgPlugins/osg/ColorMask.cpp, - src/osgPlugins/osg/ColorMatrix.cpp, - src/osgPlugins/osg/ConvexPlanarOccluder.cpp, - src/osgPlugins/osg/CullFace.cpp, - src/osgPlugins/osg/DOFTransform.cpp, - src/osgPlugins/osg/Depth.cpp, src/osgPlugins/osg/Drawable.cpp, - src/osgPlugins/osg/Fog.cpp, src/osgPlugins/osg/FrontFace.cpp, - src/osgPlugins/osg/GeoSet.cpp, src/osgPlugins/osg/Geode.cpp, - src/osgPlugins/osg/Geometry.cpp, src/osgPlugins/osg/Group.cpp, - src/osgPlugins/osg/Image.cpp, src/osgPlugins/osg/Impostor.cpp, - src/osgPlugins/osg/LOD.cpp, src/osgPlugins/osg/Light.cpp, - src/osgPlugins/osg/LightModel.cpp, - src/osgPlugins/osg/LightSource.cpp, - src/osgPlugins/osg/LineStipple.cpp, - src/osgPlugins/osg/LineWidth.cpp, - src/osgPlugins/osg/Material.cpp, src/osgPlugins/osg/Matrix.cpp, - src/osgPlugins/osg/MatrixTransform.cpp, - src/osgPlugins/osg/Node.cpp, src/osgPlugins/osg/OccluderNode.cpp, - src/osgPlugins/osg/Point.cpp, src/osgPlugins/osg/PolygonMode.cpp, - src/osgPlugins/osg/PolygonOffset.cpp, - src/osgPlugins/osg/PositionAttitudeTransform.cpp, - src/osgPlugins/osg/Projection.cpp, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osg/Sequence.cpp, - src/osgPlugins/osg/ShadeModel.cpp, - src/osgPlugins/osg/ShapeDrawable.cpp, - src/osgPlugins/osg/StateSet.cpp, src/osgPlugins/osg/Stencil.cpp, - src/osgPlugins/osg/Switch.cpp, src/osgPlugins/osg/TexEnv.cpp, - src/osgPlugins/osg/TexEnvCombine.cpp, - src/osgPlugins/osg/TexGen.cpp, src/osgPlugins/osg/TexMat.cpp, - src/osgPlugins/osg/Texture1D.cpp, - src/osgPlugins/osg/Texture2D.cpp, - src/osgPlugins/osg/Texture3D.cpp, - src/osgPlugins/osg/TextureCubeMap.cpp, - src/osgPlugins/osg/Transform.cpp, - src/osgPlugins/osgParticle/IO_AccelOperator.cpp, - src/osgPlugins/osgParticle/IO_FluidFrictionOperator.cpp, - src/osgPlugins/osgParticle/IO_ForceOperator.cpp, - src/osgPlugins/osgParticle/IO_LinearInterpolator.cpp, - src/osgPlugins/osgParticle/IO_ModularEmitter.cpp, - src/osgPlugins/osgParticle/IO_ModularProgram.cpp, - src/osgPlugins/osgParticle/IO_MultiSegmentPlacer.cpp, - src/osgPlugins/osgParticle/IO_ParticleProcessor.cpp, - src/osgPlugins/osgParticle/IO_ParticleSystem.cpp, - src/osgPlugins/osgParticle/IO_ParticleSystemUpdater.cpp, - src/osgPlugins/osgParticle/IO_PointPlacer.cpp, - src/osgPlugins/osgParticle/IO_RadialShooter.cpp, - src/osgPlugins/osgParticle/IO_RandomRateCounter.cpp, - src/osgPlugins/osgParticle/IO_SectorPlacer.cpp, - src/osgPlugins/osgParticle/IO_SegmentPlacer.cpp, - src/osgPlugins/osgText/IO_Font.cpp, - src/osgPlugins/osgText/IO_Paragraph.cpp, - src/osgPlugins/osgText/IO_Text.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp, - src/osgSim/LightPointDrawable.cpp, - src/osgSim/LightPointDrawable.h, src/osgSim/LightPointNode.cpp, - src/osgText/FTBitmapGlyph.cpp, src/osgText/FTFace.cpp, - src/osgText/FTFont.cpp, src/osgText/FTGLBitmapFont.cpp, - src/osgText/FTGLOutlineFont.cpp, src/osgText/FTGLPixmapFont.cpp, - src/osgText/FTGLPolygonFont.cpp, src/osgText/FTGLTextureFont.cpp, - src/osgText/FTGlyphContainer.cpp, src/osgText/FTLibrary.cpp, - src/osgText/FTOutlineGlyph.cpp, src/osgText/FTPixmapGlyph.cpp, - src/osgText/FTPolyGlyph.cpp, src/osgText/FTVectoriser.cpp, - src/osgText/Font.cpp, src/osgText/Paragraph.cpp, - src/osgUtil/CubeMapGenerator.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgUtil/InsertImpostorsVisitor.cpp, - src/osgUtil/IntersectVisitor.cpp, - src/osgUtil/NvTriStripObjects.cpp, - src/osgUtil/NvTriStripObjects.h, src/osgUtil/Optimizer.cpp, - src/osgUtil/RenderBin.cpp, src/osgUtil/SceneView.cpp, - src/osgUtil/SmoothingVisitor.cpp, - src/osgUtil/TriStripVisitor.cpp: 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 - - * VisualStudio/Demos/osgpbuffer/osgpbuffer.dsp, - VisualStudio/Demos/osgtxp/osgtxp.dsp: Redone the project files - for osgpbuffer and osgtxp to get it to work under - VisualStudio. - -2002-12-16 13:14 robert - - * src/osg/MatrixTransform.cpp: Fixed the traverse method so it - calls Transform::traverse() instead of - MatrixTransform::traverse() which was recursive.. - -2002-12-16 10:28 robert - - * src/osg/Makefile: Added seperate Referenced.cpp implementation. - -2002-12-16 10:25 robert - - * VisualStudio/osg/osg.dsp, include/osg/Object, - include/osg/Referenced, src/osg/Object.cpp, - src/osg/Referenced.cpp: 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 - - * src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/geo/osgGeoNodes.h: Integrated further updates from - Geoff on the Geo loader. - -2002-12-16 10:05 robert - - * src/osgPlugins/osg/LineStipple.cpp, - src/osgPlugins/osg/Stencil.cpp: 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 - - * VisualStudio/osgPlugins/osg/dot_osg.dsp, - include/osg/AnimationPath, include/osg/MatrixTransform, - src/osg/MatrixTransform.cpp, - src/osgPlugins/osg/AnimationPath.cpp, - src/osgPlugins/osg/Makefile, - src/osgPlugins/osg/MatrixTransform.cpp: Added supported for - setting animation path on MatrixTransform's. -2002-12-16 00:33 don - * src/osgUtil/SceneView.cpp: Uncommented fix for returning to - non-stereo from stereo to get color mask - back to normal. +Wed, 23 May 2007 10:57:46 +0000 +Checked in by : Robert Osfield +Added debug timing code -2002-12-15 22:42 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. - * doc/plan.html: Updates the details on the plans for Open Procuder - and osgSim. +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." -2002-12-15 09:57 robert - * VisualStudio/Demos/osgtxp/osgtxp.dsp, - VisualStudio/VisualStudio.dsw, - VisualStudio/osgPlugins/txp/txp.dsp: Fixes to txp plugin for - Windows. -2002-12-14 07:55 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 - * include/osg/Export, include/osgDB/Export: Disabled the - MemoryManager in all builds since it isn't yet thread safe. +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. -2002-12-14 06:42 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 - * src/osgPlugins/gif/ReaderWriterGIF.cpp: 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. +Mon, 21 May 2007 18:17:54 +0000 +Checked in by : Robert Osfield +Fixed Viewer::checkWindowStatus() to work correctly when running single threaded -2002-12-13 20:33 don +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. - * src/Demos/osgtxp/Makefile, src/Demos/osgtxp/TrPageViewer.cpp, - src/Demos/osgtxp/TrPageViewer.h, src/Demos/osgtxp/osgtxp.cpp: - Added TrPageViewer.[h,cpp] to Demos/osgtxp (moved from the plugin - directory) - and modified Makefile accordingly +Mon, 21 May 2007 12:34:03 +0000 +Checked in by : Robert Osfield +Updated readme -2002-12-13 20:29 don +Mon, 21 May 2007 12:30:14 +0000 +Checked in by : Robert Osfield +From Luigi Calori, changed hardwired "cow.osg" paramter to argv[1] - * include/osgTXP/TrPageViewer.h: Moved TrpageViewer.h to - Demos/src/osgtxp +Mon, 21 May 2007 12:28:25 +0000 +Checked in by : Robert Osfield +Converted tabs to 4 spaces -2002-12-13 20:28 don +Mon, 21 May 2007 12:26:38 +0000 +Checked in by : Robert Osfield +Updated version file for 1.9.5 release - * src/osgPlugins/txp/Makefile, src/osgPlugins/txp/TrPageViewer.cpp: - Move TrPageViewer.cpp to src/Demos/osgtxp +Mon, 21 May 2007 11:49:37 +0000 +Checked in by : Robert Osfield +Fixed const method type -2002-12-13 19:41 robert +Mon, 21 May 2007 09:27:01 +0000 +Checked in by : Robert Osfield +Updated version numbers for 1.9.5 release - * src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/geo/geoActions.cpp, - src/osgPlugins/geo/geoFormat.h, - src/osgPlugins/geo/osgGeoAction.h, - src/osgPlugins/geo/osgGeoNodes.h, - src/osgPlugins/geo/osgGeoStructs.h: Merged fixes to warnings in - geo plugin from Geoff. +Mon, 21 May 2007 09:18:23 +0000 +Checked in by : Robert Osfield +Updated ChangeLog -2002-12-13 16:05 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." - * VisualStudio/VisualStudio.dsw, - VisualStudio/osgPlugins/txp/txp.dsp: Fixes for txp plugin. -2002-12-12 11:36 robert - * src/osgText/Text.cpp: Added the axis alignment into the Outline - and Texture fonts drawing. -2002-12-12 11:35 robert +Mon, 21 May 2007 07:54:01 +0000 +Checked in by : Robert Osfield +Added static build support to export macros - * src/Demos/osglogo/osglogo.cpp: Turned lighting off for whole of - logo. +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. -2002-12-12 11:25 robert +Sun, 20 May 2007 17:38:11 +0000 +Checked in by : Robert Osfield +Introduced VERSION and SOVERSION'ing of libraries. - * src/Demos/osglogo/osglogo.cpp: Changed the osglogo demo to use - arial texured font. +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. -2002-12-12 10:03 robert +There seems to be a bug regarding multiple threads and closing windows, +see my other mail on osg-users. +" - * src/Demos/osglogo/osglogo.cpp: Changed the colour of the text to - be the same as the OpenGL logo. -2002-12-11 22:39 robert - * src/Demos/osggeodemo/osggeodemo.cpp: Removed redundent std:: +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. -2002-12-11 19:49 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. - * src/Demos/osggeodemo/osggeodemo.cpp: Converted the file to unix - file endings. +Sun, 20 May 2007 11:13:18 +0000 +Checked in by : Robert Osfield +Fixed build error under float matrix build -2002-12-11 16:27 robert +Sun, 20 May 2007 09:55:34 +0000 +Checked in by : Robert Osfield +From Lugi Calori, added control of lib postfix. - * src/osgPlugins/geo/ReaderWriterGEO.cpp: Removed erroneous - character from end of file. +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. -2002-12-11 16:24 robert +This has some benefits: - * Make/debugtests.bat, Make/osgtests.bat, - src/Demos/osgtxp/osgtxp.cpp: 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. ++ no gaps when looping audio ++ simplified code -2002-12-11 16:14 robert +Attached you'll find the modified files, hope you'll find them useful." - * VisualStudio/VisualStudio.dsw: Added osgSim to the dependancy - list of the geo plugin. -2002-12-11 14:30 robert - * src/Demos/osglogo/osglogo.cpp, - src/osgPlugins/geo/ReaderWriterGEO.cpp: 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 +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 - * src/Demos/osggeodemo/osggeodemo.cpp: Added code to the path to - the executable, adding it into the libary and data - file paths. +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. -2002-12-11 10:07 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 - * src/osgPlugins/osg/Switch.cpp, src/osgSim/LightPointDrawable.cpp: - Fixes for Win32. +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. +" -2002-12-11 10:03 robert - * VisualStudio/osgPlugins/txp/txp.dsp: Added space in bettern /D - "OSGTXP_LIBRARY" and /YX to fix a compile problem under - VisualStudio. -2002-12-10 21:18 robert +Sat, 19 May 2007 12:16:06 +0000 +Checked in by : Robert Osfield +From Lugi Calori, fix for Win32 build of osgsimpleviewerWX - * Make/makedefs: Fixes from IRIX build from Bob Kuehne. +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 -2002-12-10 20:26 robert +Fri, 18 May 2007 11:22:56 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/pfb/Makefile: From Ulrich Hertlien, fix for new - changes in osg::Switch interface. - Small clean to changes by Robert. +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. -2002-12-10 20:00 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 - * VisualStudio/osgPlugins/geo/geo.dsp, - VisualStudio/osgSim/osgSim.dsp, - src/Demos/osggeodemo/osggeodemo.cpp, - src/osgParticle/ParticleProcessor.cpp, - src/osgParticle/ParticleSystemUpdater.cpp, - src/osgPlugins/geo/Makefile, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/geo/geoActions.cpp, - src/osgPlugins/geo/geoFormat.h, src/osgPlugins/geo/geoTypes.h, - src/osgPlugins/geo/geoUnits.h, src/osgPlugins/geo/osgGeoAction.h, - src/osgPlugins/geo/osgGeoAnimation.h, - src/osgPlugins/geo/osgGeoNodes.h, - src/osgPlugins/geo/osgGeoStructs.h: Updates from Geoff Michel to - geo loader and demo. +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. -2002-12-10 19:58 robert +Thu, 17 May 2007 19:58:57 +0000 +Checked in by : Robert Osfield +Added support for View::setFustionDistance(..) - * src/osg/Quat.cpp, src/osg/Sequence.cpp: From Micheal Gronager, - fix to osg::Quat::getRotate(..) to handle zero rotations. - - Port of Sequence to subclass directly from osg::Group. +Thu, 17 May 2007 15:39:33 +0000 +Checked in by : Robert Osfield +Improved view dependent camera positioning -2002-12-10 19:56 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 - * include/osgSim/LightPoint, include/osgSim/LightPointDrawable, - include/osgSim/LightPointNode, src/osgSim/LightPoint.cpp, - src/osgSim/LightPointDrawable.cpp, - src/osgSim/LightPointDrawable.h, src/osgSim/LightPointNode.cpp: - Updates to the light points support to improve the control of the - blending of - light points with their background. +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." -2002-12-10 17:57 don +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" - * Make/makedefs: Fixed endif placement for SunOS build -2002-12-09 21:03 robert - * include/osg/State: Added setting of the current texture unit into - the applyTextureAttribute() method. -2002-12-09 09:26 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. - * src/osgPlugins/flt/ReaderWriterATTR.cpp: Changed cout to notify. + -2002-12-09 06:00 don +CMakeList.txt: - * src/osgPlugins/flt/ReaderWriterATTR.cpp: fixed small typo (forgot - std::) +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. -2002-12-08 19:45 robert + - * VisualStudio/Demos/osgtxp/osgtxp.dsp, - VisualStudio/VisualStudio.dsw, - VisualStudio/osgPlugins/txp/txp.dsp: Fixes for VisualStudio build - of txp plugin. + -2002-12-08 17:22 robert +MFC_OSG.h: - * src/osgPlugins/flt/ReaderWriterATTR.cpp: 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. +This file had some small changes: -2002-12-07 21:20 robert +From: #include - * src/osgSim/LightPointDrawable.cpp: Tweaks the light points blend - function. +To: #include -2002-12-07 21:18 robert + - * include/osg/Geode, include/osg/Geometry, include/osg/Group, - include/osg/Sequence, include/osg/Switch, src/osg/Geode.cpp, - src/osg/Group.cpp, src/osg/Sequence.cpp, src/osg/Switch.cpp, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/osg/Switch.cpp: 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. +Also added two new function declarations -2002-12-07 06:59 don + Void PreFrameUpdate(void); - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp: Cleanin' up - after Robert's spelling ...er ... challenges. + Void PostFrameUpdate(void); -2002-12-06 19:56 don + - * Make/makedefs: Typo png was npg + -2002-12-06 19:03 robert +MFC_OSG.cpp: - * include/osgText/Text, src/osgText/Text.cpp: From Tree, added - support for accept(PrimitiveFunctor) into osg::Text. Currently - implemention is overly simple, but will do until rewrite. +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. -2002-12-06 11:16 robert + - * src/osgUtil/Optimizer.cpp: 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 - * include/osg/ConvexPlanarOccluder, include/osg/GeoSet, - include/osg/Shape, include/osgUtil/DisplayRequirementsVisitor, - include/osgUtil/IntersectVisitor: From Tree, mods to help support - the creation of Java bindings. -2002-12-06 09:43 robert +Thu, 17 May 2007 10:59:05 +0000 +Checked in by : Robert Osfield +From Andre Garneau, warnings fixes fo VC++ - * NEWS: Updated NEWS +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. +" -2002-12-06 09:41 robert - * Make/makedefs: Update from Norman Vine for Cygin gcc3.2 support. -2002-12-06 09:20 robert +Wed, 16 May 2007 19:19:43 +0000 +Checked in by : Robert Osfield +Futher work on view dependent OverlayNode - * src/Demos/osglogo/osglogo.cpp: Updates to the osglogo demo adding - colour to the sides of the cube. +Wed, 16 May 2007 14:22:10 +0000 +Checked in by : Robert Osfield +Refactored the internals of OverlayNode -2002-12-06 09:19 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 - * src/osgDB/FileNameUtils.cpp: Fixes from Norman Vine for Cygwin - support. +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." -2002-12-05 15:21 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." - * src/Demos/osglogo/osglogo.cpp: Updates to the osglogo demo. +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)" -2002-12-05 14:30 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. - * VisualStudio/Demos/osgpbuffer, - VisualStudio/Demos/osgpbuffer/osgpbuffer.dsp, - VisualStudio/VisualStudio.dsw, src/Demos/osglogo/osglogo.cpp, - src/Demos/osgpbuffer, - src/Demos/osgpbuffer/RenderToTextureStage.cpp, - src/Demos/osgpbuffer/RenderToTextureStage.h, - src/Demos/osgpbuffer/osgpbuffer.cpp, - src/Demos/osgpbuffer/pbuffer.cpp, src/Demos/osgpbuffer/pbuffer.h: - Added Brede Johansen's osgpbuffer demo, currently only runs under - Windows, - requires the equivilant glx support to be added. +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 -2002-12-05 12:43 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 - * include/osg/GLExtensions, include/osg/Image, - include/osg/MemoryManager, include/osg/Notify, - include/osgDB/FileNameUtils, include/osgDB/FileUtils, - include/osgDB/ReadFile, include/osgDB/WriteFile: Norman Vine's - changes for gcc 3.2 under Cygwin, moving of SG_EXPORT to after - the extern declaration. +Tue, 15 May 2007 14:53:58 +0000 +Checked in by : Robert Osfield +Added -n/--no-overlay option -2002-12-05 12:13 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 - * Make/debugtests.bat, Make/osgtests.bat: Added osglogo to test - scripts. +instead of : -2002-12-05 12:04 robert +FIND_PACKAGE(Qt3) +FIND_PACKAGE(Qt4) - * Make/makedirdefs, VisualStudio/Demos/osglogo, - VisualStudio/Demos/osglogo/osglogo.dsp, - VisualStudio/VisualStudio.dsw, src/Demos/osglogo, - src/Demos/osglogo/Makefile, src/Demos/osglogo/Makefile.inst, - src/Demos/osglogo/osglogo.cpp: Added first pass at a new logo, - this time generated by a osglogo demo. +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. " -2002-12-05 12:01 robert - * include/osgText/Text, src/osgText/Text.cpp: Added support for - setting the axis which the text should be aligned along. -2002-12-04 17:34 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: - * include/osg/GL, include/osg/Math, - src/Demos/osgshadowtexture/CreateShadowedScene.cpp: Fixes for - Cywin gcc3.x build in GL and Math headers. - - Fix for VS build in osgshadowtexture. +http://www.opengl.org/sdk/docs/man/xhtml/glClientActiveTexture.xml +http://www.opengl.org/sdk/docs/man/xhtml/glActiveTexture.xml +" -2002-12-04 13:26 robert - * src/Demos/osgshadowtexture/CreateShadowedScene.cpp: Removed the - osg:: from the from of the osg::TexGen::apply() call. -2002-12-03 17:20 robert +Tue, 15 May 2007 11:22:25 +0000 +Checked in by : Robert Osfield +Futher work on new view dependent overlay node - * include/osg/Drawable, include/osg/NodeCallback, - include/osg/PositionAttitudeTransform, include/osg/Transform: - 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. +Mon, 14 May 2007 20:23:10 +0000 +Checked in by : Robert Osfield +Set up new view dependent overlay technique control methods -2002-12-03 10:19 robert +Mon, 14 May 2007 17:01:07 +0000 +Checked in by : Robert Osfield +Added include of GraphicsWindow to fix wrapper build error - * Make/makedefs: Fixed the ifeq ($(OS),SunOS) so it was correctly - on its own seperate line, and - complimented by the required endif +Mon, 14 May 2007 16:17:16 +0000 +Checked in by : Robert Osfield +Removed redundent comment '.' -2002-12-02 19:37 don +Mon, 14 May 2007 16:16:22 +0000 +Checked in by : Robert Osfield +Fixed parameter name - * Make/makedefs: updated difference between forte compilers and gnu - compilers on Solaris +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 -2002-11-29 22:10 don - - * VisualStudio/Demos/osgtxp, VisualStudio/Demos/osgtxp/osgtxp.dsp, - include/osgTXP/trPagePageManager.h, src/Demos/osgtxp/osgtxp.cpp: - Modified Files: - include/osgTXP/trPagePageManager.h src/Demos/osgtxp/osgtxp.cpp - Added Files: - VisualStudio/Demos/osgtxp/osgtxp.dsp - -2002-11-29 16:14 don - - * src/osgPlugins/txp/TrPageParser.cpp, - src/osgPlugins/txp/TrPageViewer.cpp, - src/osgPlugins/txp/trPagePageManager.cpp: Fixes to txp loader - -2002-11-27 05:29 don - - * Make/makerules: Made LIB's dependent on PLUGINS for directories - where both are built - -2002-11-25 16:57 robert - - * src/Demos/osgtxp/osgtxp.cpp: 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 - - * src/osgPlugins/flt/flt2osg.cpp: Added check of translucency of an - image via osg::Image::isImageTranslucent(). - -2002-11-25 16:39 robert - - * src/osg/Image.cpp: Added implementation of isImageTranslucent - method. - -2002-11-25 16:38 robert - - * include/osg/Image: Added isImageTransulacent() method. - -2002-11-25 16:30 robert - - * src/osgPlugins/rgb/ReaderWriterRGB.cpp: Added extra check to the - freeing of memory. - -2002-11-25 16:13 robert - - * src/osg/Drawable.cpp, src/osgSim/Makefile: Fixes for OSX build - from Stephan Huber. - -2002-11-24 21:36 don - - * Make/makedirdefs, Make/makerpms, dist/RPM/OpenSceneGraph.spec, - dist/RPM/OpenSceneGraph_dev.spec, include/osgTXP, - include/osgTXP/Export.h, include/osgTXP/TrPageArchive.h, - include/osgTXP/TrPageParser.h, include/osgTXP/TrPageViewer.h, - include/osgTXP/WaitBlock.h, include/osgTXP/trPagePageManager.h, - include/osgTXP/trdll.h, include/osgTXP/trpage_compat.h, - include/osgTXP/trpage_geom.h, include/osgTXP/trpage_ident.h, - include/osgTXP/trpage_io.h, include/osgTXP/trpage_managers.h, - include/osgTXP/trpage_print.h, include/osgTXP/trpage_read.h, - include/osgTXP/trpage_scene.h, include/osgTXP/trpage_swap.h, - include/osgTXP/trpage_sys.h, include/osgTXP/trpage_util.h, - include/osgTXP/trpage_write.h, src/Demos/osgtxp, - src/Demos/osgtxp/Makefile, src/Demos/osgtxp/osgtxp.cpp, - src/osgPlugins/txp/Makefile, - src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/ReaderWriterTXP.h, - src/osgPlugins/txp/TrPageArchive.cpp, - src/osgPlugins/txp/TrPageArchive.h, - src/osgPlugins/txp/TrPageParser.cpp, - src/osgPlugins/txp/TrPageParser.h, - src/osgPlugins/txp/TrPageViewer.cpp, - src/osgPlugins/txp/trPagePageManager.cpp, - src/osgPlugins/txp/trdll.h, src/osgPlugins/txp/trpage_basic.cpp, - src/osgPlugins/txp/trpage_compat.cpp, - src/osgPlugins/txp/trpage_compat.h, - src/osgPlugins/txp/trpage_geom.cpp, - src/osgPlugins/txp/trpage_geom.h, - src/osgPlugins/txp/trpage_header.cpp, - src/osgPlugins/txp/trpage_ident.h, - src/osgPlugins/txp/trpage_io.h, - src/osgPlugins/txp/trpage_light.cpp, - src/osgPlugins/txp/trpage_main.cpp, - src/osgPlugins/txp/trpage_managers.cpp, - src/osgPlugins/txp/trpage_material.cpp, - src/osgPlugins/txp/trpage_model.cpp, - src/osgPlugins/txp/trpage_nodes.cpp, - src/osgPlugins/txp/trpage_parse.cpp, - src/osgPlugins/txp/trpage_pparse.cpp, - src/osgPlugins/txp/trpage_print.cpp, - src/osgPlugins/txp/trpage_print.h, - src/osgPlugins/txp/trpage_print_parse.cpp, - src/osgPlugins/txp/trpage_range.cpp, - src/osgPlugins/txp/trpage_rarchive.cpp, - src/osgPlugins/txp/trpage_read.h, - src/osgPlugins/txp/trpage_readbuf.cpp, - src/osgPlugins/txp/trpage_scene.cpp, - src/osgPlugins/txp/trpage_scene.h, - src/osgPlugins/txp/trpage_swap.cpp, - src/osgPlugins/txp/trpage_swap.h, - src/osgPlugins/txp/trpage_sys.h, - src/osgPlugins/txp/trpage_tile.cpp, - src/osgPlugins/txp/trpage_util.cpp, - src/osgPlugins/txp/trpage_warchive.cpp, - src/osgPlugins/txp/trpage_write.h, - src/osgPlugins/txp/trpage_writebuf.cpp: Added Paging TerraPage - loader and osgTXP library. - -2002-11-24 00:23 don - - * src/osgText/FTGLPixmapFont.cpp, src/osgText/FTPixmapGlyph.cpp, - src/osgText/FTPixmapGlyph.h: Forced GLPixmapGlyph color to white - rather than using glGetCurrentColor - -2002-11-23 05:16 don - - * src/osgText/FTBitmapGlyph.cpp, src/osgText/FTGLBitmapFont.cpp: - 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 - - * src/osgPlugins/rgb/ReaderWriterRGB.cpp: Merged in Joseph Steel's - updates to rgb plugin - -2002-11-22 09:46 robert - - * src/osg/Geometry.cpp, src/osg/ShapeDrawable.cpp, - src/osgGLUT/Viewer.cpp, src/osgPlugins/lwo/lw.cpp, - src/osgPlugins/osg/Geometry.cpp: Warning fixes. - -2002-11-22 08:23 robert - - * include/osg/Object: Adjusted tabbing. - -2002-11-22 08:05 robert - - * VisualStudio/osgPlugins/ac3d/ac3d.dsp: Added d to the end of the - dll name for the debug build of the ac3d loader. - -2002-11-22 05:00 don - - * src/Demos/osgshadowtexture/CreateShadowedScene.cpp, - src/osgPlugins/ac3d/ac3d.cpp, src/osgSim/LightPointDrawable.cpp, - src/osgSim/LightPointNode.cpp: Fixes for IRIX build - -2002-11-21 20:28 don - - * src/Demos/osgshadowtexture/CreateShadowedScene.cpp, - src/osg/Geometry.cpp: Fixed std:: prefix and reinitialized - variable for gcc 3.2 - -2002-11-21 16:08 robert - - * NEWS, src/osg/Group.cpp: 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 - - * VisualStudio/Demos/osgshadowtexture/osgshadowtexture.dsp, - include/osg/Plane, include/osg/TexGen, - src/Demos/osgshadowtexture/CreateShadowedScene.cpp, - src/Demos/osgshadowtexture/CreateShadowedScene.h, - src/Demos/osgshadowtexture/Makefile, - src/Demos/osgshadowtexture/Makefile.inst, - src/Demos/osgshadowtexture/osgshadowtexture.cpp, - src/Demos/osgshape/osgshape.cpp, - src/Demos/osgtexture3D/osgtexture3D.cpp, src/osg/TexGen.cpp: - 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 - - * src/Demos/osgshadowtexture/osgshadowtexture.cpp: Clean up of the - shadow texture code... - -2002-11-21 14:38 robert - - * VisualStudio/Demos/osgshadowtexture/osgshadowtexture.cpp, - VisualStudio/Demos/osgshadowtexture/osgshadowtexture.dsp: Added - shadow texture demo .dsp under the correct name! - -2002-11-21 13:25 robert - - * src/Demos/osgshadowtexture/osgshadowtexture.cpp: Fixed the - updating of projection matrix so that is done in eye coordinates. - -2002-11-21 09:07 robert - - * include/osg/Geode, include/osg/Geometry, include/osg/Group, - src/osg/Geode.cpp, src/osg/Geometry.cpp, src/osg/Group.cpp, - src/osg/LOD.cpp, src/osg/Switch.cpp: 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 - - * src/osgSim/BlinkSequence.cpp: Fix for compile problems under - IRIX. - -2002-11-20 15:51 robert - - * src/Demos/osgshadowtexture/osgshadowtexture.cpp: First pass at - shadow textures. - -2002-11-20 14:40 robert - * src/osgPlugins/flt/Pool.cpp, src/osgPlugins/flt/Pool.h, - src/osgPlugins/flt/flt2osg.cpp: 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 - - * Make/debugtests.bat, Make/makedefs, Make/makedirdefs, - Make/osgtests.bat, src/Demos/osganimate/osganimate.cpp, - src/Demos/osgshadowtexture, src/Demos/osgshadowtexture/Makefile, - src/Demos/osgshadowtexture/Makefile.inst, - src/Demos/osgshadowtexture/osgshadowtexture.cpp, - src/osg/Texture1D.cpp, src/osg/Texture2D.cpp, - src/osg/Texture3D.cpp: 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 - - * VisualStudio/Demos/osgshadowtexture, - VisualStudio/Demos/osgshadowtexture/osgshadowtexture.cpp, - VisualStudio/VisualStudio.dsw, VisualStudio/osgSim/osgSim.dsp: - Fixed the references osgSim project file. - - Added the osgshadowtexture demo project file. - -2002-11-19 12:48 robert - - * src/osg/Texture1D.cpp, src/osg/Texture2D.cpp, - src/osg/Texture3D.cpp: 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 - - * Make/makedefs: Updated OSX defs to compile osgSim and - osglightpoint - -2002-11-19 12:25 robert - - * Make/debugtests.bat, Make/osgtests.bat: Added osglightpoint to - the demo list. - -2002-11-19 12:23 robert - - * VisualStudio/Demos/osglightpoint, - VisualStudio/Demos/osglightpoint/osglightpoint.dsp, - VisualStudio/VisualStudio.dsw, VisualStudio/osgSim, - VisualStudio/osgSim/osgSim.dsp, include/osgSim/Version, - src/osgSim/Makefile, src/osgSim/Version.cpp: Added visual - workspace files for osgSim nodekit and osglightpoint demo. - -2002-11-19 10:57 robert - - * Make/makedirdefs, NEWS, include/osgSim, - include/osgSim/BlinkSequence, include/osgSim/Export, - include/osgSim/LightPoint, include/osgSim/LightPointDrawable, - include/osgSim/LightPointNode, include/osgSim/Sector, - include/osgSim/Version, src/Demos/osglightpoint, - src/Demos/osglightpoint/Makefile, - src/Demos/osglightpoint/Makefile.inst, - src/Demos/osglightpoint/osglightpoint.cpp, - src/osgPlugins/osg/StateSet.cpp, src/osgSim, - src/osgSim/BlinkSequence.cpp, src/osgSim/LightPoint.cpp, - src/osgSim/LightPointDrawable.cpp, src/osgSim/LightPointNode.cpp, - src/osgSim/Makefile, src/osgSim/Sector.cpp: Added osgSim library - which encapulsulates light points. - - Added osglightpoint demo. - -2002-11-19 10:56 robert - - * include/osg/Drawable, include/osg/Group, include/osg/State, - include/osg/Texture, src/osg/Drawable.cpp, src/osg/GeoSet.cpp, - src/osg/Group.cpp, src/osg/LOD.cpp, src/osg/State.cpp, - src/osg/Switch.cpp, src/osg/Texture.cpp: 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 - - * include/osg/Geode, src/osg/Geode.cpp: Added - setDrawable(uint,Drawable*) method. - -2002-11-14 15:30 robert - - * src/osgPlugins/flt/flt2osg.cpp: From Jason Daly, fix for long - file names on sequence nodes. - -2002-11-14 09:03 robert - - * src/osgPlugins/bmp/ReaderWriterBMP.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/lib3ds/ReaderWriter3DS.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/pfb/ReaderWriterPFB.cpp, - src/osgPlugins/pic/ReaderWriterPIC.cpp, - src/osgPlugins/png/ReaderWriterPNG.cpp, - src/osgPlugins/tga/ReaderWriterTGA.cpp, - src/osgPlugins/tiff/ReaderWriterTIFF.cpp: Updated the plugins so - they do the extension checking with a non - case sensitive comparison. - -2002-11-13 13:04 robert - - * ChangeLog, NEWS: Updated NEWS and ChangeLog for the release. - -2002-11-13 12:42 robert - - * doc/doc++/osg/AlphaFunc.html, doc/doc++/osg/Array.html, - doc/doc++/osg/BlendFunc.html, doc/doc++/osg/Box.html, - doc/doc++/osg/ClipPlane.html, - doc/doc++/osg/CollectOccludersVisitor.html, - doc/doc++/osg/ColorMask.html, doc/doc++/osg/ColorMatrix.html, - doc/doc++/osg/CompositeShape.html, doc/doc++/osg/Cone.html, - doc/doc++/osg/ConvexHull.html, - doc/doc++/osg/ConvexPlanarOccluder.html, - doc/doc++/osg/CullFace.html, doc/doc++/osg/CullStack.html, - doc/doc++/osg/Cylinder.html, doc/doc++/osg/Depth.html, - doc/doc++/osg/DisplaySettings.html, - doc/doc++/osg/DrawArrayLengths.html, - doc/doc++/osg/DrawArrays.html, - doc/doc++/osg/DrawElementsUByte.html, - doc/doc++/osg/DrawElementsUInt.html, - doc/doc++/osg/DrawElementsUShort.html, - doc/doc++/osg/DrawPixels.html, doc/doc++/osg/Drawable.html, - doc/doc++/osg/Fog.html, doc/doc++/osg/FrontFace.html, - doc/doc++/osg/GeoSet.html, doc/doc++/osg/Geometry.html, - doc/doc++/osg/Grid.html, doc/doc++/osg/HeightField.html, - doc/doc++/osg/Image.html, doc/doc++/osg/ImpostorSprite.html, - doc/doc++/osg/IndexArray.html, doc/doc++/osg/InfinitePlane.html, - doc/doc++/osg/Light.html, doc/doc++/osg/LightModel.html, - doc/doc++/osg/LineStipple.html, doc/doc++/osg/LineWidth.html, - doc/doc++/osg/Material.html, doc/doc++/osg/Matrix.html, - doc/doc++/osg/NodeVisitor.html, doc/doc++/osg/Object.html, - doc/doc++/osg/Point.html, doc/doc++/osg/PolygonMode.html, - doc/doc++/osg/PolygonOffset.html, - doc/doc++/osg/PolygonStipple.html, - doc/doc++/osg/PrimitiveSet.html, doc/doc++/osg/ShadeModel.html, - doc/doc++/osg/Shape.html, doc/doc++/osg/ShapeDrawable.html, - doc/doc++/osg/Sphere.html, doc/doc++/osg/State.html, - doc/doc++/osg/StateAttribute.html, doc/doc++/osg/StateSet.html, - doc/doc++/osg/Stencil.html, doc/doc++/osg/TemplateArray.html, - doc/doc++/osg/TemplateIndexArray.html, - doc/doc++/osg/TessellationHints.html, doc/doc++/osg/TexEnv.html, - doc/doc++/osg/TexEnvCombine.html, doc/doc++/osg/TexGen.html, - doc/doc++/osg/TexMat.html, doc/doc++/osg/Texture.html, - doc/doc++/osg/Texture1D.html, doc/doc++/osg/Texture2D.html, - doc/doc++/osg/Texture3D.html, doc/doc++/osg/TextureCubeMap.html, - doc/doc++/osg/TriangleMesh.html, doc/doc++/osg/Viewport.html, - doc/doc++/osgUtil/CullVisitor.html, - doc/doc++/osgUtil/SceneView.html: Updates to docs for release - -2002-11-13 11:09 robert - - * NEWS, include/osg/State, src/osg/State.cpp: Added - State::computeSecondaryColorSupported() & - computeFogCoordSupported(). - - Updated NEWS. - -2002-11-13 10:23 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 - * src/osg/CullStack.cpp: Small improvement to the computation of - the pixel size vector. +Mon, 14 May 2007 15:16:26 +0000 +Checked in by : Robert Osfield +Renamed ViewerEventHandler to ViewerEventHandlers -2002-11-12 15:50 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. - * src/osg/CullStack.cpp: Fixed ansisotropic scaling problem with - pixel scaling/small feature culling. +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." -2002-11-12 13:51 robert +Mon, 14 May 2007 14:36:03 +0000 +Checked in by : Robert Osfield +Changed tabs to four spaces - * src/osgGLUT/Viewer.cpp: Fixed bug in stats where overdraw would - be reported incorrectly. +Mon, 14 May 2007 09:43:48 +0000 +Checked in by : Robert Osfield +Updated authors file -2002-11-12 13:37 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 - * src/osg/Transform.cpp: Removed debugging messages. - -2002-11-12 13:36 robert - - * src/osg/Transform.cpp: 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 - - * Make/debugtests.bat, Make/makedefs, Make/osgtests.bat, - include/osg/CollectOccludersVisitor, include/osg/CullStack, - include/osg/DisplaySettings, include/osg/NodeVisitor, - include/osgUtil/CullVisitor, include/osgUtil/SceneView, - src/osg/CollectOccludersVisitor.cpp, src/osg/CullStack.cpp, - src/osg/DisplaySettings.cpp, src/osgGLUT/Viewer.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/SceneView.cpp: Added - LEFT_EYE and RIGHT_EYE stereo to - osg::DisplaySettings/osgUtil::SceneView - - Renamed LODBias to LODScale. - -2002-11-11 20:18 don - - * src/osg/NodeVisitor.cpp, src/osg/UnitTestFramework.cpp: Fixed a - const/non-const inconsistency in NodeVisitor.cpp - Fixed a blank namespace issue in UnitTestFramework.cpp - -2002-11-11 16:11 robert - - * include/osg/Texture, src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2D.cpp, src/osg/Texture3D.cpp, - src/osg/TextureCubeMap.cpp: Fixes to typo of *Dirty() - -2002-11-11 09:06 robert - - * Make/makedefs: Added missing demos and libs into the darwin - defines. - -2002-11-11 09:01 robert - - * src/osgUtil/SceneView.cpp: 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 - - * include/osg/Node, src/Demos/sgv/sgv.cpp: 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 - - * NEWS: Updates to news. - -2002-11-11 08:05 robert - - * NEWS, doc/data.html: Updates to doc - -2002-11-11 08:05 robert - - * Make/makedefs: Fixes for MING build - -2002-11-11 08:04 robert - - * include/osg/Fog, include/osg/Node, include/osg/NodeVisitor, - include/osg/Object, include/osg/ShadeModel, include/osg/Shape, - include/osg/Stencil, include/osg/TexEnv: Fixes to const paramter - types. - -2002-11-11 07:20 robert - - * src/Demos/osgshape/osgshape.cpp: *** empty log message *** - -2002-11-11 07:12 robert - - * VisualStudio/VisualStudio.dsw: Added osgText to dependancy list - of geo plugin. - -2002-11-08 15:56 robert - - * src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/lwo/Lwo2Layer.cpp: Fixes to build in VS7.0 - -2002-11-08 14:24 robert - - * doc/doc++/osg/Box.html, doc/doc++/osg/CompositeShape.html, - doc/doc++/osg/Cone.html, doc/doc++/osg/ConstArrayVisitor.html, - doc/doc++/osg/ConstAttributeFunctor.html, - doc/doc++/osg/ConstShapeVisitor.html, - doc/doc++/osg/ConstValueVisitor.html, - doc/doc++/osg/ConvexHull.html, doc/doc++/osg/Cylinder.html, - doc/doc++/osg/Extensions.html, doc/doc++/osg/Grid.html, - doc/doc++/osg/HeightField.html, doc/doc++/osg/IndexArray.html, - doc/doc++/osg/InfinitePlane.html, doc/doc++/osg/META_Shape.html, - doc/doc++/osg/PolygonStipple.html, - doc/doc++/osg/PrimitiveSet.html, - doc/doc++/osg/ShadowVolumeOccluderList.html, - doc/doc++/osg/Shape.html, doc/doc++/osg/ShapeDrawable.html, - doc/doc++/osg/ShapeVisitor.html, doc/doc++/osg/Sphere.html, - doc/doc++/osg/TemplateIndexArray.html, - doc/doc++/osg/TessellationHints.html, - doc/doc++/osg/TriangleMesh.html, doc/doc++/osg/ValueVisitor.html, - doc/doc++/osg/buffered_value.html, - doc/doc++/osgGA/AnimationPathManipulator.html, - doc/doc++/osgParticle/rangev4.html, - doc/doc++/osgUtil/CubeMapGenerator.html, - doc/doc++/osgUtil/HalfWayMapGenerator.html, - doc/doc++/osgUtil/HighlightMapGenerator.html, - doc/doc++/osgUtil/ReflectionMapGenerator.html: Added newly - generated html files. - -2002-11-08 14:15 robert - - * doc/doc++/osg/AlphaFunc.html, doc/doc++/osg/AnimationPath.html, - doc/doc++/osg/AnimationPathCallback.2.html, - doc/doc++/osg/AnimationPathCallback.html, - doc/doc++/osg/Array.html, doc/doc++/osg/ArrayVisitor.html, - doc/doc++/osg/AttributeFunctor.html, - doc/doc++/osg/Billboard.html, doc/doc++/osg/BlendFunc.html, - doc/doc++/osg/BoundingBox.html, - doc/doc++/osg/BoundingSphere.html, doc/doc++/osg/Camera.html, - doc/doc++/osg/ClearNode.html, doc/doc++/osg/ClipNode.html, - doc/doc++/osg/ClipPlane.html, - doc/doc++/osg/CollectOccludersVisitor.html, - doc/doc++/osg/ColorMask.html, doc/doc++/osg/ColorMatrix.html, - doc/doc++/osg/ConvexPlanarOccluder.html, - doc/doc++/osg/ConvexPlanarPolygon.html, - doc/doc++/osg/CopyOp.html, doc/doc++/osg/CullFace.html, - doc/doc++/osg/CullStack.html, doc/doc++/osg/CullingSet.html, - doc/doc++/osg/DOFTransform.html, doc/doc++/osg/Depth.html, - doc/doc++/osg/DisplaySettings.html, - doc/doc++/osg/DrawArrayLengths.html, - doc/doc++/osg/DrawArrays.html, - doc/doc++/osg/DrawElementsUByte.html, - doc/doc++/osg/DrawElementsUInt.html, - doc/doc++/osg/DrawElementsUShort.html, - doc/doc++/osg/DrawPixels.html, doc/doc++/osg/Drawable.html, - doc/doc++/osg/Fog.html, doc/doc++/osg/FrameStamp.html, - doc/doc++/osg/FrontFace.html, doc/doc++/osg/General.html, - doc/doc++/osg/GeoSet.html, doc/doc++/osg/Geode.html, - doc/doc++/osg/Geometry.html, doc/doc++/osg/Group.html, - doc/doc++/osg/HIER.html, doc/doc++/osg/HIERjava.html, - doc/doc++/osg/Image.html, doc/doc++/osg/Impostor.html, - doc/doc++/osg/ImpostorSprite.html, - doc/doc++/osg/ImpostorSpriteManager.html, doc/doc++/osg/LOD.html, - doc/doc++/osg/Light.html, doc/doc++/osg/LightModel.html, - doc/doc++/osg/LightSource.html, doc/doc++/osg/LineSegment.html, - doc/doc++/osg/LineStipple.html, doc/doc++/osg/LineWidth.html, - doc/doc++/osg/META_Object.html, - doc/doc++/osg/META_StateAttribute.html, - doc/doc++/osg/Material.html, doc/doc++/osg/Matrix.html, - doc/doc++/osg/MatrixTransform.html, - doc/doc++/osg/NodeAcceptOp.html, doc/doc++/osg/NodeCallback.html, - doc/doc++/osg/NodeVisitor.html, - doc/doc++/osg/NotifySeverity.html, doc/doc++/osg/Object.html, - doc/doc++/osg/OccluderNode.html, doc/doc++/osg/Plane.html, - doc/doc++/osg/Point.html, doc/doc++/osg/PolygonMode.html, - doc/doc++/osg/PolygonOffset.html, doc/doc++/osg/Polytope.html, - doc/doc++/osg/PositionAttitudeTransform.html, - doc/doc++/osg/PrimitiveFunctor.html, - doc/doc++/osg/Projection.html, - doc/doc++/osg/QualifiedTestPrinter.html, doc/doc++/osg/Quat.html, - doc/doc++/osg/Referenced.html, doc/doc++/osg/Sequence.html, - doc/doc++/osg/ShadeModel.html, - doc/doc++/osg/ShadowVolumeOccluder.html, - doc/doc++/osg/State.html, doc/doc++/osg/StateAttribute.html, - doc/doc++/osg/StateSet.html, doc/doc++/osg/Statistics.html, - doc/doc++/osg/Stencil.html, doc/doc++/osg/SubloadCallback.2.html, - doc/doc++/osg/SubloadCallback.3.html, - doc/doc++/osg/SubloadCallback.4.html, - doc/doc++/osg/SubloadCallback.html, doc/doc++/osg/Switch.html, - doc/doc++/osg/TemplateArray.html, doc/doc++/osg/Test.html, - doc/doc++/osg/TestCase.html, doc/doc++/osg/TestCase_.html, - doc/doc++/osg/TestContext.html, doc/doc++/osg/TestErrorX.html, - doc/doc++/osg/TestFailureX.html, doc/doc++/osg/TestGraph.html, - doc/doc++/osg/TestQualifier.html, doc/doc++/osg/TestRecord.html, - doc/doc++/osg/TestReport.html, doc/doc++/osg/TestRunner.html, - doc/doc++/osg/TestSuite.html, - doc/doc++/osg/TestSuiteAutoRegistrationAgent.html, - doc/doc++/osg/TestVisitor.html, doc/doc++/osg/TestX.html, - doc/doc++/osg/TexEnv.html, doc/doc++/osg/TexEnvCombine.html, - doc/doc++/osg/TexGen.html, doc/doc++/osg/TexMat.html, - doc/doc++/osg/Texture.html, doc/doc++/osg/Texture1D.html, - doc/doc++/osg/Texture2D.html, doc/doc++/osg/Texture3D.html, - doc/doc++/osg/TextureCubeMap.html, doc/doc++/osg/Timer.html, - doc/doc++/osg/TraceStream.html, doc/doc++/osg/Transform.html, - doc/doc++/osg/TriangleFunctor.html, doc/doc++/osg/UByte4.html, - doc/doc++/osg/Vec2.html, doc/doc++/osg/Vec3.html, - doc/doc++/osg/Vec4.html, doc/doc++/osg/VectorSizei.html, - doc/doc++/osg/VectorUByte.html, doc/doc++/osg/VectorUInt.html, - doc/doc++/osg/VectorUShort.html, doc/doc++/osg/Viewport.html, - doc/doc++/osg/clampArray3BetweenRange.html, - doc/doc++/osg/clampArray3GEQUAL.html, - doc/doc++/osg/clampArray3LEQUAL.html, - doc/doc++/osg/clampArray4BetweenRange.html, - doc/doc++/osg/clampArray4GEQUAL.html, - doc/doc++/osg/clampArray4LEQUAL.html, - doc/doc++/osg/clampArrayElementBetweenRange.html, - doc/doc++/osg/clampArrayElementGEQUAL.html, - doc/doc++/osg/clampArrayElementLEQUAL.html, - doc/doc++/osg/clampArrayElementsBetweenRange.html, - doc/doc++/osg/clampArrayElementsGEQUAL.html, - doc/doc++/osg/clampArrayElementsLEQUAL.html, - doc/doc++/osg/clampBetweenRange.html, - doc/doc++/osg/clampGEQUAL.html, doc/doc++/osg/clampLEQUAL.html, - doc/doc++/osg/createGeodeForImage.2.html, - doc/doc++/osg/fast_back_stack.html, - doc/doc++/osg/for_each_triangle.html, doc/doc++/osg/index.html, - doc/doc++/osg/isGLExtensionSupported.html, - doc/doc++/osg/isGLUExtensionSupported.html, - doc/doc++/osg/osg.html, doc/doc++/osg/ref_ptr.html, - doc/doc++/osg/tag_au.html, doc/doc++/osgDB/DotOsgWrapper.html, - doc/doc++/osgDB/DynamicLibrary.html, doc/doc++/osgDB/Output.html, - doc/doc++/osgDB/ReadResult.html, - doc/doc++/osgDB/WriteResult.html, - doc/doc++/osgGA/CameraManipulator.html, - doc/doc++/osgGA/CompositeGUIEventHandler.html, - doc/doc++/osgGA/DriveManipulator.html, - doc/doc++/osgGA/FlightManipulator.html, - doc/doc++/osgGA/GUIActionAdapter.html, - doc/doc++/osgGA/GUIEventAdapter.html, - doc/doc++/osgGA/GUIEventHandler.html, - doc/doc++/osgGA/GUIEventHandlerVisitor.html, - doc/doc++/osgGA/General.html, doc/doc++/osgGA/HIER.html, - doc/doc++/osgGA/HIERjava.html, - doc/doc++/osgGA/KeySwitchCameraManipulator.html, - doc/doc++/osgGA/SetSceneViewVisitor.html, - doc/doc++/osgGA/StateSetManipulator.html, - doc/doc++/osgGA/TrackballManipulator.html, - doc/doc++/osgGA/index.html, doc/doc++/osgGA/osgGA.html, - doc/doc++/osgGA/spaceosgGA.html, doc/doc++/osgGLUT/Viewer.html, - doc/doc++/osgParticle/Emitter.html, - doc/doc++/osgParticle/General.html, - doc/doc++/osgParticle/ModularEmitter.html, - doc/doc++/osgParticle/ModularProgram.html, - doc/doc++/osgParticle/MultiSegmentPlacer.html, - doc/doc++/osgParticle/Particle.html, - doc/doc++/osgParticle/ParticleProcessor.html, - doc/doc++/osgParticle/ParticleSystem.html, - doc/doc++/osgParticle/ParticleSystemUpdater.html, - doc/doc++/osgParticle/Program.html, - doc/doc++/osgParticle/SectorPlacer.html, - doc/doc++/osgParticle/SegmentPlacer.html, - doc/doc++/osgParticle/Shooter.html, - doc/doc++/osgParticle/VariableRateCounter.html, - doc/doc++/osgParticle/index.html, - doc/doc++/osgParticle/osgParticle.html, - doc/doc++/osgText/BitmapFont.html, doc/doc++/osgText/Font.html, - doc/doc++/osgText/OutlineFont.html, - doc/doc++/osgText/Paragraph.html, - doc/doc++/osgText/PixmapFont.html, - doc/doc++/osgText/PolygonFont.html, - doc/doc++/osgText/RasterFont.html, doc/doc++/osgText/Text.html, - doc/doc++/osgText/TextureFont.html, - doc/doc++/osgText/VectorFont.html, - doc/doc++/osgUtil/CombineLODsVisitor.html, - doc/doc++/osgUtil/ConvertGeoSetsToGeometryVisitor.html, - doc/doc++/osgUtil/CullVisitor.html, - doc/doc++/osgUtil/DisplayListVisitor.html, - doc/doc++/osgUtil/FlattenStaticTransformsVisitor.html, - doc/doc++/osgUtil/General.html, doc/doc++/osgUtil/HIER.html, - doc/doc++/osgUtil/HIERjava.html, doc/doc++/osgUtil/Hit.html, - doc/doc++/osgUtil/InsertImpostorsVisitor.html, - doc/doc++/osgUtil/IntersectState.html, - doc/doc++/osgUtil/IntersectVisitor.html, - doc/doc++/osgUtil/LeafDepthSortFunctor.html, - doc/doc++/osgUtil/MergeGeometryVisitor.html, - doc/doc++/osgUtil/Optimizer.html, - doc/doc++/osgUtil/RegisterRenderBinProxy.html, - doc/doc++/osgUtil/RemoveEmptyNodesVisitor.html, - doc/doc++/osgUtil/RemoveRedundentNodesVisitor.html, - doc/doc++/osgUtil/RenderBin.html, - doc/doc++/osgUtil/RenderGraph.html, - doc/doc++/osgUtil/RenderLeaf.html, - doc/doc++/osgUtil/RenderStage.html, - doc/doc++/osgUtil/RenderStageLighting.html, - doc/doc++/osgUtil/RenderToTextureStage.html, - doc/doc++/osgUtil/SceneView.html, - doc/doc++/osgUtil/SmoothingVisitor.html, - doc/doc++/osgUtil/StateVisitor.html, - doc/doc++/osgUtil/Tesselator.html, - doc/doc++/osgUtil/TransformCallback.html, - doc/doc++/osgUtil/TriStripVisitor.html, - doc/doc++/osgUtil/index.html, doc/doc++/osgUtil/osgUtil.html: - Checking in updates to documentition for the 0.9.2 release. - -2002-11-08 14:03 robert - - * include/osg/Drawable, include/osg/Geometry, - include/osg/PrimitiveSet: Removed deprecated API - -2002-11-08 12:58 robert - - * src/osg/Version.cpp, src/osgDB/Version.cpp, - src/osgGA/Version.cpp, src/osgGLUT/Version.cpp, - src/osgParticle/Version.cpp, src/osgText/Version.cpp, - src/osgUtil/Version.cpp: Updates version numbers to 0.9.2 - -2002-11-08 12:56 robert - - * src/osgPlugins/geo/Makefile, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/geo/geoFormat.h, src/osgPlugins/geo/geoTypes.h, - src/osgPlugins/geo/geoUnits.h, - src/osgPlugins/geo/osgGeoAnimation.h, - src/osgPlugins/geo/osgGeoStructs.h: Updates to GEO loader from - Geoff Michel. - -2002-11-08 12:54 robert - - * src/Demos/sgv/sgv.cpp: Minor warning fix. - -2002-11-08 12:26 robert - - * include/osg/Math: 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 - - * include/osgUtil/IntersectVisitor, - src/Demos/osgimpostor/TestManipulator.cpp, src/osgText/Makefile, - src/osgUtil/IntersectVisitor.cpp: 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 - - * doc/data.html, include/osg/Math, - src/Demos/osgimpostor/osgimpostor.cpp: 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 - - * src/osgPlugins/lwo/Lwo2Layer.cpp: Fixes for VisualStudio6.0 - build. - -2002-11-08 08:45 robert - - * src/Demos/sgv/sgv.cpp: Removed the usage report from sgv when it - fails to load a file. - -2002-11-08 08:34 robert +Sun, 13 May 2007 09:54:51 +0000 +Checked in by : Robert Osfield +Added TerrainNode::init() and s/getTreatBoundariesToValidDataAsDefaultValue flag. - * src/osgPlugins/obj/glm.cpp, src/osgPlugins/obj/glm.h: Converted - usage of GLuint to usigned int, in hope that it will get round - the - warnings generated under OSX. +Fri, 11 May 2007 20:16:52 +0000 +Checked in by : Robert Osfield +Added include -2002-11-08 08:12 robert +Fri, 11 May 2007 19:28:41 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/rgb/Makefile: Commented back in LIBS into Makefile - for OSX build. +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 -2002-11-08 08:11 robert +Added stopping/starting of threads in addView/removeView - * src/osgPlugins/geo/osgGeoAnimation.h, - src/osgPlugins/geo/osgGeoStructs.h, - src/osgPlugins/logos/Makefile: Fixes for VisualStudio build and - OSX build. -2002-11-08 08:00 robert - * VisualStudio/Demos/osgimpostor/osgimpostor.dsp: Added - TestManipulator into osgimpostor project file. +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. -2002-11-07 16:08 robert +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 - * src/osgPlugins/pfb/ReaderWriterPFB.cpp: Compile fix from Duvan - Cope. +Fri, 11 May 2007 13:43:00 +0000 +Checked in by : Robert Osfield +UPdated wrappers -2002-11-07 15:45 robert +Fri, 11 May 2007 12:46:38 +0000 +Checked in by : Robert Osfield +Fixed CMake support for osgsimpleviewWX - * src/Demos/sgv/sgv.cpp: Commented out the selection of the - animation path manipulator since it - was somehow disabling culling?!? +Fri, 11 May 2007 12:12:55 +0000 +Checked in by : Robert Osfield +From Doug McCorkle, removed pfdb from link line -2002-11-07 15:13 robert +Fri, 11 May 2007 09:07:00 +0000 +Checked in by : Robert Osfield +From Gian Lorenzetto, osgsimpleviewWX example, CMake support added by Robert Osfield - * src/Demos/osganimate/osganimate.cpp, - src/Demos/osgimpostor/osgimpostor.cpp: Titled the view in - osganimate and added the title into osgimpostor. +Fri, 11 May 2007 09:05:59 +0000 +Checked in by : Robert Osfield +Updated wrappers -2002-11-07 14:44 robert +Fri, 11 May 2007 08:30:20 +0000 +Checked in by : Robert Osfield +From Brad Colbert, removed inappropriate rewind on non looping code path. - * src/osgPlugins/geo/ReaderWriterGEO.cpp: Renamed Primitive:: to - PrimitiveSet. +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." -2002-11-07 14:29 robert +Thu, 10 May 2007 18:07:54 +0000 +Checked in by : Robert Osfield +Added supoort for transforming layers by an offset and scale - * include/osg/Export: Commented out the USE_DEPRECATED_API define. +Thu, 10 May 2007 18:07:15 +0000 +Checked in by : Robert Osfield +Removed rendundent const -2002-11-07 14:13 robert +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 - * src/Demos/osgimpostor/Makefile, src/Demos/osgimpostor/README, - src/Demos/osgimpostor/TestManipulator.cpp, - src/Demos/osgimpostor/TestManipulator.h, - src/Demos/osgimpostor/osgimpostor.cpp: Intergrated Martin Kada's - impostor test program with the old test - program. +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. -2002-11-07 13:56 robert +Thu, 10 May 2007 11:36:53 +0000 +Checked in by : Robert Osfield +From Daniel Sjolie, build fix for Windows - * Make/makedirdefs, VisualStudio/Demos/osggeodemo, - VisualStudio/Demos/osggeodemo/osggeodemo.dsp, - VisualStudio/VisualStudio.dsw, - VisualStudio/osgPlugins/geo/geo.dsp, src/Demos/osggeodemo, - src/Demos/osggeodemo/Makefile, - src/Demos/osggeodemo/Makefile.inst, - src/Demos/osggeodemo/osggeodemo.cpp: Added Geoff Michel's new - osggeomdemo program which allows control of - geo models via the mouse. - -2002-11-07 13:47 robert - - * src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/geo/geoFormat.h, src/osgPlugins/geo/geoTypes.h, - src/osgPlugins/geo/geoUnits.h, - src/osgPlugins/geo/osgGeoAnimation.h, - src/osgPlugins/geo/osgGeoStructs.h: Updates to GEO loader from - Geoff Michel. +Thu, 10 May 2007 10:52:35 +0000 +Checked in by : Robert Osfield +Added getHWND, getHDC and getWGLContext methods -2002-11-07 08:49 robert +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. - * NEWS, VisualStudio/osgPlugins/osg/dot_osg.dsp, - include/osg/Drawable: Added shape drawable into dot osg plugin. +Wed, 9 May 2007 13:05:19 +0000 +Checked in by : Robert Osfield +Commented out debug messages -2002-11-07 08:48 robert +Wed, 9 May 2007 12:08:30 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/osg/Makefile, - src/osgPlugins/osg/ShapeDrawable.cpp: Fix for build under Linux. +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. -2002-11-06 23:00 don +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. - * Make/makerules: 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 +I got rid of the _recalculate method as it was only getting used in +one place. -2002-11-06 18:39 don +I also found a cut/paste bug in setMode's START case." - * Make/makerules, include/osg/NodeVisitor, src/osg/TexGen.cpp, - src/osgPlugins/logos/Makefile, - src/osgPlugins/logos/ReaderWriterLOGO.cpp, - src/osgPlugins/osg/Makefile, src/osgPlugins/rgb/Makefile: Changed - a couple of const/non-const discrpancies between header and - source - for TexGen. Removed external library dependencies in plugin - makefiles +Note from Robert Osfield, Also includes some guards against crashes that was occuring in this new +code when handling empty Sequences. -2002-11-06 16:04 robert - * include/osg/Drawable: Fix for backwards compatibility. -2002-11-06 15:43 robert - * include/osg/DrawPixels, include/osg/Drawable, include/osg/GeoSet, - include/osg/Geometry, include/osg/ImpostorSprite, - include/osg/ShapeDrawable, include/osgParticle/Particle, - include/osgParticle/ParticleSystem, include/osgText/Font, - include/osgText/Text, src/Demos/osgcallback/osgcallback.cpp, - src/Demos/osgteapot/osgteapot.cpp, src/osg/DrawPixels.cpp, - src/osg/Drawable.cpp, src/osg/GeoSet.cpp, src/osg/GeoSet_ogl.cpp, - src/osg/Geometry.cpp, src/osg/ImpostorSprite.cpp, - src/osg/ShapeDrawable.cpp, src/osgGLUT/Window.cpp, - src/osgParticle/ParticleSystem.cpp, src/osgPlugins/ac3d/ac3d.cpp, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/logos/ReaderWriterLOGO.cpp, src/osgText/Font.cpp, - src/osgText/Text.cpp: 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. +Wed, 9 May 2007 10:42:56 +0000 +Checked in by : Robert Osfield +Set default texture size back to 1024x1204 -2002-11-06 11:15 robert +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. - * src/osgGA/AnimationPathManipulator.cpp: Added in default value of - _timeScale. +Wed, 9 May 2007 10:31:06 +0000 +Checked in by : Robert Osfield +Added use of OSG_MAX_TEXTURE_SIZE for clamping texture sizes. -2002-11-06 10:46 robert +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. +" - * VisualStudio/osg/osg.dsp, include/osg/ProceduralGeometry, - include/osg/ShapeDrawable, src/Demos/osgshape/osgshape.cpp, - src/osg/Makefile, src/osg/ProceduralGeometry.cpp, - src/osg/ShapeDrawable.cpp: Renamed ProceduralGeometry to - ShapeDrawable to better reflect its current - purpose. -2002-11-06 10:24 robert - * include/osg/AnimationPath, include/osg/Drawable, - include/osg/GeoSet, include/osg/Geometry, - include/osg/ImpostorSprite, include/osg/Matrix, - include/osg/PrimitiveSet, include/osg/ProceduralGeometry, - include/osg/Statistics, include/osgGA/AnimationPathManipulator, - include/osgGLUT/Viewer, src/Demos/sgv/sgv.cpp, - src/osg/AnimationPath.cpp, src/osg/Drawable.cpp, - src/osg/GeoSet.cpp, src/osg/Geometry.cpp, - src/osg/ImpostorSprite.cpp, src/osg/PrimitiveSet.cpp, - src/osg/ProceduralGeometry.cpp, - src/osgGA/AnimationPathManipulator.cpp, src/osgGLUT/Viewer.cpp: - 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 +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. - * src/osgPlugins/flt/flt2osg.cpp: From Jason Daly, fix for 14.2 - color records in versions of OpenFlight files. +Registry and Registry.cpp +~~~~~~~~~~~~~~~~~~~~~~~~~ +Added a new typedef: typedef std::vector< std::string> +ArchiveExtensionList; -2002-11-04 15:33 robert +a list of extensions: ArchiveExtensionList _archiveExtList; - * src/osgDB/Output.cpp: From Stephan Huber, fix for OSX build. +and an "add" method: addArchiveExtension(const std::string ext) -2002-11-04 10:37 robert +This is initialised by adding "osga" in Registry() and used in +Registry::read() where the list is searched for the extension used. - * src/Demos/osgconv/osgconv.cpp: Added std:: in front of string. +Archive.cpp +~~~~~~~~~~~ +This submission is a little more tentative. openArchive() is modified to +automatically add the filename extension to the Registry extension list. +" -2002-11-04 09:08 robert - * include/osg/GeoSet, include/osg/Shape, - src/Demos/osgconv/osgconv.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/pfb/ReaderWriterPFB.cpp: 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 +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. - * src/osgGA/AnimationPathManipulator.cpp: Fixed warning under - Visual.NET +Wed, 9 May 2007 07:54:32 +0000 +Checked in by : Robert Osfield +Added imageData block initialized to 0 for first construction of GlyphTexture -2002-11-04 08:40 robert +Tue, 8 May 2007 15:32:35 +0000 +Checked in by : Robert Osfield +Further work on dome correction - * src/osgPlugins/flt/ReaderWriterFLT.cpp, - src/osgPlugins/png/ReaderWriterPNG.cpp: 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. +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 -2002-11-04 08:35 robert +Tue, 8 May 2007 10:02:07 +0000 +Checked in by : Robert Osfield +Added CullSettings inheritance mask for LIGHTING_MODE and LIGHT - * VisualStudio/VisualStudio.dsw: Added back in the missing flt.dsp. +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. -2002-11-01 15:12 robert +Mon, 7 May 2007 19:48:46 +0000 +Checked in by : Robert Osfield +Added missing HelpHandler::reset() implementation - * include/osg/Shape, src/Demos/osgshape/osgshape.cpp, - src/osg/ProceduralGeometry.cpp, src/osg/Shape.cpp: Added support - for primitive functor into the new osg::ProceduralGeometry class +Mon, 7 May 2007 07:58:12 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and AUTHORS.txt for release -2002-11-01 15:11 robert +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 - * src/osgPlugins/geo/ReaderWriterGEO.cpp: Futher fixes for - VisualStudio.NET compilation. +Sat, 5 May 2007 17:05:07 +0000 +Checked in by : Robert Osfield +Added extra external libs -2002-11-01 14:16 robert +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!?#!? - * src/osgUtil/SceneView.cpp: Michael Gronage fix for aspect ratio - in split stereo. +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. -2002-11-01 12:48 robert +Sat, 5 May 2007 16:11:30 +0000 +Checked in by : Robert Osfield +Added OpenVRML support - * src/osgPlugins/geo/osgGeoStructs.h: Fixed VisualStudio7.0 compile - error related to an std::vector<>::iterator - no longer being a pointer, fixed by using a &(*itr). +Sat, 5 May 2007 15:36:03 +0000 +Checked in by : Robert Osfield +Added CMake support for pnm plugin -2002-11-01 12:40 robert +Sat, 5 May 2007 08:22:06 +0000 +Checked in by : Robert Osfield +Added support for normals plugin - * VisualStudio/osg/osg.dsp: Added missing Shape and - ProceduralGeometry references in the osg project file. +Sat, 5 May 2007 08:18:04 +0000 +Checked in by : Robert Osfield +Added ToPortToCmake.txt to record what modules need port to CMake. -2002-11-01 12:20 robert +Fri, 4 May 2007 19:17:49 +0000 +Checked in by : Robert Osfield +Added first cut a Xine support - * src/Demos/osgshape/osgshape.cpp, src/osg/ProceduralGeometry.cpp: - Futher updates to shapes support. +Fri, 4 May 2007 14:25:02 +0000 +Checked in by : Robert Osfield +Added first cut of Cmake COLLADA support -2002-11-01 12:11 robert +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 - * src/osgUtil/CullVisitor.cpp: Added handled of invlid drawable - bounding boxes. +Fri, 4 May 2007 13:20:48 +0000 +Checked in by : Robert Osfield +Added support for jp2 plugin -2002-11-01 10:39 robert +Fri, 4 May 2007 12:06:31 +0000 +Checked in by : Robert Osfield +Removed margin - * include/osg/Shape: Added export to the height field class. +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 -2002-11-01 10:25 robert +Fri, 4 May 2007 08:48:59 +0000 +Checked in by : Robert Osfield +From Luigi Calori, Win32 build fix - * NEWS, include/osg/Shape, src/osg/ProceduralGeometry.cpp, - src/osg/Shape.cpp: Updates to Shape support. +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." -2002-10-31 15:24 robert +Fri, 4 May 2007 08:40:20 +0000 +Checked in by : Robert Osfield +From David Callu, fixed incorrect array usage. - * src/osgUtil/Optimizer.cpp: Added a dirtyBound & diryDisplayList - to the geometry merge operation in the - Optimizer to fix a bug where the bouding volumes where being - invildated. +Thu, 3 May 2007 16:23:19 +0000 +Checked in by : Robert Osfield +Added CartizianLocator -2002-10-31 12:51 robert +Thu, 3 May 2007 15:21:30 +0000 +Checked in by : Robert Osfield +Updated wrappers - * Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/osgPlugins/ac3d, - VisualStudio/osgPlugins/ac3d/ac3d.dsp, - VisualStudio/osgPlugins/geo, VisualStudio/osgPlugins/geo/geo.dsp, - src/osgPlugins/ac3d, src/osgPlugins/ac3d/Makefile, - src/osgPlugins/ac3d/ac3d.cpp, src/osgPlugins/ac3d/osgac3d.h, - src/osgPlugins/ac3d/~ac3d.cpp, src/osgPlugins/geo, - src/osgPlugins/geo/Makefile, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/geo/geoFormat.h, src/osgPlugins/geo/geoTypes.h, - src/osgPlugins/geo/geoUnits.h, - src/osgPlugins/geo/osgGeoStructs.h: From Geoff Michel, added AC3D - .ac and GEO .geo loaders. +Thu, 3 May 2007 14:51:02 +0000 +Checked in by : Robert Osfield +Added return *this to operator = -2002-10-31 10:36 robert +Thu, 3 May 2007 14:47:52 +0000 +Checked in by : Robert Osfield +Added osgUtil into lib list - * include/osg/Shape, src/Demos/osgshape/osgshape.cpp, - src/osg/ProceduralGeometry.cpp, src/osg/Shape.cpp, - src/osgDB/Registry.cpp: Added osg::Grid shape class, and added an - example of its use into the - hang glide demo. +Thu, 3 May 2007 11:11:03 +0000 +Checked in by : Robert Osfield +Added virtual orientationOpenGL() method into osgTerrain::Locator. -2002-10-31 10:35 robert +Thu, 3 May 2007 10:10:23 +0000 +Checked in by : Robert Osfield +Added OpenThreads to TARGET_COMMON_LIBRARIES - * src/osgPlugins/flt/Pool.cpp, src/osgPlugins/flt/Pool.h, - src/osgPlugins/flt/flt2osg.cpp: Yefei He's updates to Pool and - flt2osg to use lazy loading of textures from a - texture pallette. +Thu, 3 May 2007 10:06:38 +0000 +Checked in by : Robert Osfield +Moved the OpenThreads link locally to each lib -2002-10-30 13:27 robert +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 - * Make/debugtests.bat, Make/makedirdefs, Make/osgtests.bat, - VisualStudio/Demos/osgshape, - VisualStudio/Demos/osgshape/osgshape.dsp, - VisualStudio/VisualStudio.dsw, include/osg/CopyOp, - include/osg/Drawable, include/osg/ProceduralGeometry, - include/osg/Shape, src/Demos/osgshape, - src/Demos/osgshape/Makefile, src/Demos/osgshape/Makefile.inst, - src/Demos/osgshape/osgshape.cpp, src/osg/CopyOp.cpp, - src/osg/Drawable.cpp, src/osg/Makefile, - src/osg/ProceduralGeometry.cpp, src/osg/Shape.cpp: Added first - cut of new primtive shapes support. +Wed, 2 May 2007 19:57:05 +0000 +Checked in by : Robert Osfield +Added OpenThreads wrappers -2002-10-30 12:58 robert +Wed, 2 May 2007 18:07:41 +0000 +Checked in by : Robert Osfield +Added CMake support for local OpenThreads build - * include/osg/NodeVisitor, include/osg/TexGen: Removal of more - redundent const base types. +Wed, 2 May 2007 16:36:56 +0000 +Checked in by : Robert Osfield +Added svn:externals for include/OpenThreads and src/OpenThreads -2002-10-30 12:56 robert +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. - * src/osgPlugins/osgText/IO_Font.cpp, - src/osgPlugins/osgText/IO_Text.cpp: Updated osgText .osg support - so that it handles text via the osgDB::Outpur::wrapString() - method. +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. -2002-10-30 10:07 robert +Tue, 1 May 2007 09:29:30 +0000 +Checked in by : Robert Osfield +Cleaned up the optional code paths in new VBO code - * src/osg/Switch.cpp: 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. +Tue, 1 May 2007 07:31:30 +0000 +Checked in by : Robert Osfield +Updated wrappers -2002-10-28 12:55 robert +Tue, 1 May 2007 06:40:26 +0000 +Checked in by : Robert Osfield +Added direct links to the CMake build pages - * include/osgDB/Output, src/osgDB/FieldReader.cpp, - src/osgDB/Output.cpp, src/osgPlugins/osg/Node.cpp, - src/osgPlugins/osg/Texture1D.cpp, - src/osgPlugins/osg/Texture2D.cpp, - src/osgPlugins/osg/Texture3D.cpp: Updated the handling of string - in the .osg reading and writing so that it - handles the use of " quotes inside the string. +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 -2002-10-28 09:43 robert +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. - * src/osgGLUT/Window.cpp: Removed the remapping of special keys to - keyboard events. +Mon, 30 Apr 2007 15:10:57 +0000 +Checked in by : Robert Osfield +Added initalization of _startTick to CompositeViewer -2002-10-25 12:29 robert +Mon, 30 Apr 2007 14:49:05 +0000 +Checked in by : Robert Osfield +From Jeremy Moles, fixed missing intialization of _startTick member variable. - * include/osg/AlphaFunc, include/osg/Camera, include/osg/ClipPlane, - include/osg/FrontFace, include/osg/Quat, include/osgText/Text, - src/osg/Camera.cpp: From Gideon May, fixes to remain const base - type instances in headers. +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 -2002-10-25 09:34 robert +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. - * src/osgPlugins/flt/ReaderWriterATTR.cpp: 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. +Mon, 30 Apr 2007 08:37:46 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and AUTHORS file -2002-10-24 20:49 don +Mon, 30 Apr 2007 08:31:25 +0000 +Checked in by : Robert Osfield +Updated version number for 1.9.2 dev release - * src/osg/MemoryManager.cpp: changed unsigned int's to unsigned - longs so 64 bit build would work. +Sun, 29 Apr 2007 20:19:12 +0000 +Checked in by : Robert Osfield +Updated wrappers -2002-10-24 20:45 don +Sun, 29 Apr 2007 20:13:53 +0000 +Checked in by : Robert Osfield +Added temporary code (but comment out) for testing VBO performance - * Make/makedefs: Added ARCH64 def for 64 bit builds +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. -2002-10-24 15:24 don +Sun, 29 Apr 2007 08:12:29 +0000 +Checked in by : Robert Osfield +Further work on new VertexBufferObject/ElementsBufferObject support - * src/osg/MemoryManager.cpp: FIxed set_new_handler to - std::set_new_handler +Fri, 27 Apr 2007 17:03:06 +0000 +Checked in by : Robert Osfield +Added back in osg::Geometry path -2002-10-23 07:46 robert +Fri, 27 Apr 2007 14:52:30 +0000 +Checked in by : Robert Osfield +Further work on the new VBO support - * include/osgUtil/RenderGraph: Fix from Don Tidrow for bug when - moving between RenderGraph when popping back - up to common parents. +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. -2002-10-21 15:09 robert +- I introduced an experimental CMAKE_PREFIX_PATH to replace it. - * src/osgUtil/RenderBin.cpp: Changed the nameing of iterators to - prevent clashes with VisualStudio's dumb - compiler. +- 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. -2002-10-21 13:03 robert +- 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. - * include/osg/Billboard: Fixed spelling mistake in comment. +- I added some Mac Info.plist stuff (which uses the version information). -2002-10-21 13:02 robert +" - * include/osgGA/DriveManipulator, include/osgGA/FlightManipulator, - include/osgGA/TrackballManipulator: Changed the private: to - protected: to allow easier extension. -2002-10-18 12:47 robert - * src/osgPlugins/lwo/Lwo2.cpp, src/osgPlugins/lwo/Lwo2.h, - src/osgPlugins/lwo/Lwo2Layer.cpp, src/osgPlugins/lwo/Lwo2Layer.h: - Merged Pavel's updates to LWO2 for handle multiple texture - layers. +Fri, 27 Apr 2007 09:49:28 +0000 +Checked in by : Robert Osfield +Fixed tabbing -2002-10-18 12:26 robert +Thu, 26 Apr 2007 16:50:35 +0000 +Checked in by : Robert Osfield +Added using of VertexBufferObject and ElementsBufferObject classes - * src/osg/Geometry.cpp: 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. +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." -2002-10-18 12:23 robert - * src/osgPlugins/bmp/ReaderWriterBMP.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp: Added extension checking - to the rgb and bmp write of images. -2002-10-17 21:25 don +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. - * Make/makedefs: USE_MM was not defined for IRIX +I also added a few more environmental variables, specifically: +OPENTHREADS_INCLUDE_DIR +OPENTHREADS_LIBRARY_DIR -2002-10-17 13:48 robert +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. - * Make/debugtests.bat, Make/osgtests.bat, - include/osgUtil/RenderBin, include/osgUtil/RenderStage, - src/Demos/osggeometry/osggeometry.cpp, src/Demos/sgv/sgv.cpp, - src/osgUtil/RenderBin.cpp, src/osgUtil/RenderStage.cpp: Renamed - the RenderBin::sort_local to sortImplementation(), - draw_local to drawImplementation() and added a new - RenderBin::DrawCallback(). - - Added osgcubemap to the Make/ test scripts. +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. -2002-10-17 11:59 robert - * src/osgUtil/CubeMapGenerator.cpp: Fixed memory allocation. +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. -2002-10-17 11:50 robert +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. - * src/Demos/osgtexture2D/osgtexture2D.cpp: Checked in fix for - std::hex for dumb arsed compilers. +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. -2002-10-17 11:39 robert +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 - * src/osgPlugins/flt/flt2osg.cpp: Fixed compile error under - Windows. +(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 -2002-10-17 10:04 robert +Sun, 22 Apr 2007 21:40:46 +0000 +Checked in by : Robert Osfield +Added --version-number support - * include/osg/State: Fixed error in #ifdef GL_SECONDARY_COLOR... - CV: - ---------------------------------------------------------------------- +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." -2002-10-15 19:10 don +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. - * src/osgUtil/CubeMapGenerator.cpp: Changed std::malloc to new in - src/osgUtil/CubeMapGenerator.cpp +Sat, 21 Apr 2007 12:29:39 +0000 +Checked in by : Robert Osfield +Added osgSim dependency to txp plugin -2002-10-14 21:10 don +Sat, 21 Apr 2007 11:24:26 +0000 +Checked in by : Robert Osfield +Added include directory to get txp plugin building - * src/osgUtil/CubeMapGenerator.cpp: Fixed cstdlib to stdlib.h for - IRIX in src/osgUtil/CubeMapGeneragortor.cpp +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. -2002-10-10 20:04 robert - * src/Demos/osgcubemap/osgcubemap.cpp: Fixes from Macro. -2002-10-10 18:02 robert +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. - * VisualStudio/osgUtil/osgUtil.dsp: Added missing .cpp's. +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." -2002-10-10 14:58 robert +Mon, 16 Apr 2007 19:34:25 +0000 +Checked in by : Robert Osfield +Implement basic TerrainGeometry code - * include/osg/AnimationPath, src/osg/AnimationPath.cpp, - src/osgUtil/Tesselator.cpp: 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. +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. -2002-10-10 13:06 robert +Mon, 16 Apr 2007 12:21:07 +0000 +Checked in by : Robert Osfield +Updated wrappers - * include/osg/State: Added a little more info into the State - contextID docs. +Mon, 16 Apr 2007 12:20:42 +0000 +Checked in by : Robert Osfield +Cleaned up state management code -2002-10-10 12:44 robert +Mon, 16 Apr 2007 12:18:56 +0000 +Checked in by : Robert Osfield +Fixed bug associated with complex RenderBin setup. - * Make/makedirdefs, VisualStudio/Demos/osgcubemap, - VisualStudio/Demos/osgcubemap/osgcubemap.dsp, - VisualStudio/VisualStudio.dsw, include/osgUtil/CubeMapGenerator, - include/osgUtil/HalfWayMapGenerator, - include/osgUtil/HighlightMapGenerator, - include/osgUtil/ReflectionMapGenerator, src/Demos/osgcubemap, - src/Demos/osgcubemap/Makefile, - src/Demos/osgcubemap/Makefile.inst, - src/Demos/osgcubemap/osgcubemap.cpp, - src/osgUtil/CubeMapGenerator.cpp, - src/osgUtil/HalfWayMapGenerator.cpp, - src/osgUtil/HighlightMapGenerator.cpp, src/osgUtil/Makefile: - Added Macro's new cube map generation classes and osgcubemap - demo. +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. -2002-10-10 09:42 robert +Sun, 15 Apr 2007 20:53:09 +0000 +Checked in by : Robert Osfield +Fixed choice of display - * src/osgPlugins/flt/Registry.cpp: Maded the - "flt::Registry::getPrototype: Unkown opcode:" message a INFO - level - notify message rather than a NOTICE. +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 -2002-10-10 09:39 robert +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 - * src/osgPlugins/flt/flt2osg.cpp: Made the warning about a - mis-matching in the number of children in a switch - a INFO level notify message rather than a WARN. +Fri, 13 Apr 2007 19:28:22 +0000 +Checked in by : Robert Osfield +Added some debugging -2002-10-10 09:29 robert +Fri, 13 Apr 2007 19:28:11 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgGLUT/Window.cpp: Added remapping of special keys to be - handle like a convential key press. +Fri, 13 Apr 2007 14:54:41 +0000 +Checked in by : Robert Osfield +Added fullscreen toggle event handler -2002-10-10 09:00 robert +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. - * src/osgText/FTBitmapGlyph.cpp, src/osgText/FTOutlineGlyph.cpp, - src/osgText/FTPixmapGlyph.cpp, src/osgText/FTPolyGlyph.cpp: From - Gabor Dorka, Fixes to memory leaks. +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. -2002-10-09 15:43 robert +Fri, 13 Apr 2007 13:28:10 +0000 +Checked in by : Robert Osfield +Updated wrappers - * include/osg/PrimitiveSet, src/osg/PrimitiveSet.cpp, - src/osgUtil/SmoothingVisitor.cpp, src/osgUtil/Tesselator.cpp: - Fixes to smoothing visitor and tesselator to handle indexed - Geometry. +Fri, 13 Apr 2007 13:22:52 +0000 +Checked in by : Robert Osfield +Added s/getWindowRectangle to GraphicsWindow and implementation in GraphicsWindowX11 -2002-10-09 15:41 robert +Fri, 13 Apr 2007 13:19:29 +0000 +Checked in by : Robert Osfield +Changed hitItr to be a const_iterator. - * src/osgPlugins/png/ReaderWriterPNG.cpp: 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. +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." -2002-10-08 16:02 robert - - * src/osg/LOD.cpp: Fixed bug in osg::LOD::addChild() which was - forcing all ranges to be identical - values. +Thu, 12 Apr 2007 17:30:06 +0000 +Checked in by : Robert Osfield +Fixed variable name dereference -2002-10-08 14:10 robert - - * VisualStudio/osgGA/osgGA.dsp, - include/osgGA/AnimationPathManipulator, src/osg/Geometry.cpp, - src/osgGA/AnimationPathManipulator.cpp, src/osgGA/Makefile, - src/osgPlugins/osg/Geometry.cpp, src/osgUtil/Optimizer.cpp: 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 - - * src/osg/GeoSet.cpp, src/osg/Point.cpp: 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 - - * include/osgGA/AnimationPathManipulator: Solaris didn't like - filebuf. Using old FILE - -2002-10-08 07:39 don - - * Make/makerules, dist/RPM/OpenSceneGraph.spec, - dist/RPM/OpenSceneGraph_dev.spec, - include/osgGA/AnimationPathManipulator, src/Demos/sgv/sgv.cpp, - src/osgGLUT/Viewer.cpp: Added AnimationPathManipulator to osgGA - and modified sgv to use it. - -2002-10-08 05:41 don - - * Make/makerules, include/osg/Quat, src/osg/LineWidth.cpp, - src/osg/Point.cpp, src/osg/Quat.cpp, src/osg/StateSet.cpp: 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 - - * Make/debugtests.bat, Make/osgtests.bat, include/osg/LOD, - src/osg/LOD.cpp: Added extra convinience methods to LOD - - addChild(child,min,max). - - Added osganimate to test scripts. - -2002-10-07 20:17 robert - - * include/osg/Switch, src/osg/AnimationPath.cpp, - src/osg/Switch.cpp: 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 - - * include/osg/AnimationPath: 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 - - * Make/makedirdefs, VisualStudio/Demos/osganimate, - VisualStudio/Demos/osganimate/osganimate.dsp, - VisualStudio/VisualStudio.dsw, include/osg/MatrixTransform, - include/osg/PositionAttitudeTransform, include/osg/Quat, - src/Demos/osganimate, src/Demos/osganimate/Makefile, - src/Demos/osganimate/Makefile.inst, - src/Demos/osganimate/osganimate.cpp, src/osg/MatrixTransform.cpp, - src/osg/PositionAttitudeTransform.cpp, src/osgUtil/SceneView.cpp: - 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 - - * include/osg/TextureCubeMap: Added missing - osg::TextureCubeMap::getAssociatedMode(). - -2002-10-07 10:02 robert - - * src/osgGLUT/Viewer.cpp: Added code to Viewer::addViewport(..) to - force the sharing of a single - osg::State object between viewports. - -2002-10-07 09:41 robert - - * include/osgGLUT/Viewer, src/Demos/osgoccluder/osgoccluder.cpp, - src/Demos/osgsequence/osgsequence.cpp, src/osgGLUT/Viewer.cpp: - From Daneil Sjölie - modifications to the support of custom - GUIEventHandlers in osgGLUT - -2002-10-06 20:33 robert - - * include/osg/CollectOccludersVisitor, include/osg/CullStack, - include/osg/Group, include/osg/LOD, include/osg/NodeVisitor, - include/osgUtil/CullVisitor, - src/Demos/osgcallback/osgcallback.cpp, - src/Demos/osgimpostor/osgimpostor.cpp, - src/osg/CollectOccludersVisitor.cpp, src/osg/LOD.cpp, - src/osg/Switch.cpp, src/osgPlugins/flt/flt2osg.cpp, - src/osgPlugins/osg/LOD.cpp, src/osgPlugins/osg/Switch.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/txp/TrPageParser.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/InsertImpostorsVisitor.cpp, - src/osgUtil/Optimizer.cpp: 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 - - * src/osg/Switch.cpp, src/osgPlugins/flt/flt2osg.cpp, - src/osgPlugins/osg/Switch.cpp: Fixes for Win32 build. - -2002-10-04 14:50 robert - - * include/osg/Switch, src/Demos/sgv/sgv.cpp, src/osg/Sequence.cpp, - src/osg/Switch.cpp, src/osgPlugins/flt/flt2osg.cpp, - src/osgPlugins/osg/Switch.cpp: 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 - - * include/osg/DOFTransform: Changed the include of MatrixTransform - to Transform. - -2002-10-02 15:28 robert - - * Make/debugtests.bat, Make/makedirdefs, Make/osgtests.bat, - VisualStudio/Demos/osgteapot, - VisualStudio/Demos/osgteapot/osgteapot.dsp, - VisualStudio/VisualStudio.dsw, src/Demos/osgteapot, - src/Demos/osgteapot/Makefile, src/Demos/osgteapot/Makefile.inst, - src/Demos/osgteapot/osgteapot.cpp: Added osgteapot demo to show - how to implement custom Drawables to - wrap up OpenGL code. - -2002-10-02 13:16 robert - - * include/osg/Export, include/osg/Geometry, - include/osg/PrimitiveSet: 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 - - * VisualStudio/osg/osg.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, include/osg/GeoSet, - include/osg/Geometry, include/osg/IndexedGeometry, - src/Demos/osgbillboard/osgbillboard.cpp, - src/Demos/osgcube/osgcube.cpp, - src/Demos/osggeometry/osggeometry.cpp, - src/Demos/osghangglide/base.cpp, src/Demos/osghangglide/sky.cpp, - src/Demos/osghangglide/tank.cpp, - src/Demos/osghangglide/terrain.cpp, - src/Demos/osghangglide/trees.cpp, - src/Demos/osglight/osglight.cpp, - src/Demos/osgoccluder/osgoccluder.cpp, - src/Demos/osgprerender/osgprerender.cpp, - src/Demos/osgreflect/osgreflect.cpp, - src/Demos/osgtexture2D/osgtexture2D.cpp, - src/Demos/osgtexture3D/osgtexture3D.cpp, src/Demos/sgv/sgv.cpp, - src/osg/GeoSet.cpp, src/osg/Geometry.cpp, src/osg/Image.cpp, - src/osg/IndexedGeometry.cpp, src/osg/Makefile, - src/osgPlugins/flt/GeoSetBuilder.cpp, - src/osgPlugins/flt/flt2osg.cpp, src/osgPlugins/iv/osgvisitor.cpp, - src/osgPlugins/lib3ds/ReaderWriter3DS.cpp, - src/osgPlugins/lwo/Lwo2Layer.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/osg/Geometry.cpp, - src/osgPlugins/osg/IndexedGeometry.cpp, - src/osgPlugins/osg/Makefile, src/osgPlugins/txp/TrPageParser.cpp, - src/osgUtil/Optimizer.cpp, src/osgUtil/SmoothingVisitor.cpp, - src/osgUtil/Tesselator.cpp, src/osgUtil/TriStripVisitor.cpp: - 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 - - * include/osg/Drawable: Removed inappropriate inline keyword from - getOrCreateStateSet(). - -2002-09-30 18:11 robert - - * src/osg/State.cpp: Added setActiveTextureUnit(0) to - State::reset(). +Thu, 12 Apr 2007 10:14:10 +0000 +Checked in by : Robert Osfield +Added different cmake version requirements across platforms -2002-09-30 16:50 robert +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." - * src/osg/MatrixTransform.cpp, - src/osg/PositionAttitudeTransform.cpp: Added traverse the - AnimationPath callbacks. -2002-09-30 13:30 robert - * include/osg/GeoSet, include/osg/IndexedGeometry, - src/osg/GeoSet.cpp, src/osg/IndexedGeometry.cpp, - src/osgUtil/Optimizer.cpp: 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 - - * src/osgText/Text.cpp: From Macro, added a setActiveTextureUnit(0) - to osg::Text::drawImmediateMode() to - prevent the wrong OpenGL mode being used. - -2002-09-29 12:33 robert - - * src/osgPlugins/flt/flt2osg.cpp: From Daniel, Fixes for warnings - under Win32. - -2002-09-28 19:09 robert - - * src/osg/IndexedGeometry.cpp: Fixes to IndexedGeometry.cpp to - repair bugs introduced with Win32 build fixes.S - -2002-09-28 07:47 robert - - * src/osg/State.cpp: Added a dirtyAllVertexArrays() to - State::reset(). - -2002-09-28 07:43 robert - - * include/osg/Array, src/osg/IndexedGeometry.cpp: Fixes for Win32 - build. - -2002-09-27 19:04 robert - - * src/osg/Texture3D.cpp: Fix build after change in GLExtensions. - -2002-09-27 19:01 robert - - * include/osg/Array, src/osg/IndexedGeometry.cpp: Fixes to - IndexGeometry for Win32 build. - -2002-09-27 17:47 robert - - * include/osg/GLExtensions, src/osg/IndexedGeometry.cpp: - Improvements to IndexedGeometry. - -2002-09-26 15:26 robert - - * include/osg/Array, include/osg/IndexedGeometry, - src/osg/Geometry.cpp, src/osg/IndexedGeometry.cpp: Futher work on - the IndexedGeometry class. Indexed coordinates should now - work. - -2002-09-24 20:14 robert - - * Make/makedefs, Make/makedirdefs, - src/Demos/osggeometry/osggeometry.cpp: Changed the linux linking - of -lgif to -lungif. - - Fixed a typo in the Images name. - -2002-09-24 20:04 robert - - * Make/debugtests.bat, Make/makedirdefs, Make/osgtests.bat, - src/Demos/osgbillboard/osgbillboard.cpp, - src/Demos/osggeometry/osggeometry.cpp, - src/Demos/osgparticle/osgparticle.cpp, - src/Demos/osgtexture3D/osgtexture3D.cpp: 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 - * VisualStudio/osgPlugins/flt/flt.dsp: Removed redundent / - - -------------------------------------------------------------------- +Thu, 12 Apr 2007 09:59:34 +0000 +Checked in by : Robert Osfield +Added SETUP_COMMANDLINE_APPLICATION and SETUP_COMMANDLINE_EXAMPLE macros -2002-09-22 07:09 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?" - * VisualStudio/osg/osg.dsp: Renamed Primitive to PrimitiveSet. -2002-09-20 15:55 robert - * include/osg/Referenced, src/osg/Object.cpp: 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 +Thu, 12 Apr 2007 09:32:48 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/lwo/Lwo2.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/lwo/lw.cpp, src/osgPlugins/lwo/lw.h: From Ulrich - Hertlien, supported add to textures in the .lwo format. +Thu, 12 Apr 2007 09:32:34 +0000 +Checked in by : Robert Osfield +From Mike Wittman, fix to CopyOp&. -2002-09-20 14:51 robert - - * NEWS, VisualStudio/osg/osg.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, include/osg/CopyOp, - include/osg/Geometry, include/osg/IndexedGeometry, - include/osg/Primitive, include/osg/PrimitiveSet, - include/osg/StateSet, include/osgGA/Export, - src/Demos/osgbillboard/osgbillboard.cpp, - src/Demos/osgcube/osgcube.cpp, - src/Demos/osggeometry/osggeometry.cpp, - src/Demos/osghangglide/base.cpp, src/Demos/osghangglide/sky.cpp, - src/Demos/osghangglide/tank.cpp, - src/Demos/osghangglide/terrain.cpp, - src/Demos/osghangglide/trees.cpp, - src/Demos/osglight/osglight.cpp, - src/Demos/osgoccluder/osgoccluder.cpp, - src/Demos/osgprerender/osgprerender.cpp, - src/Demos/osgreflect/osgreflect.cpp, - src/Demos/osgsequence/osgsequence.cpp, - src/Demos/osgtexture2D/osgtexture2D.cpp, - src/Demos/osgtexture3D/osgtexture3D.cpp, src/osg/CopyOp.cpp, - src/osg/GeoSet.cpp, src/osg/Geometry.cpp, src/osg/Image.cpp, - src/osg/IndexedGeometry.cpp, src/osg/Makefile, - src/osg/Primitive.cpp, src/osg/PrimitiveSet.cpp, - src/osg/StateSet.cpp, src/osg/Texture.cpp, src/osg/Texture3D.cpp, - src/osgPlugins/flt/GeoSetBuilder.cpp, - src/osgPlugins/flt/GeoSetBuilder.h, - src/osgPlugins/flt/Registry.cpp, src/osgPlugins/flt/flt2osg.cpp, - src/osgPlugins/iv/osgvisitor.cpp, - src/osgPlugins/lib3ds/ReaderWriter3DS.cpp, - src/osgPlugins/lwo/Lwo2Layer.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/osg/Geometry.cpp, - src/osgPlugins/osg/IndexedGeometry.cpp, - src/osgPlugins/osg/Makefile, src/osgPlugins/txp/TrPageParser.cpp, - src/osgText/Text.cpp, src/osgUtil/Optimizer.cpp, - src/osgUtil/SmoothingVisitor.cpp, src/osgUtil/Tesselator.cpp, - src/osgUtil/TriStripVisitor.cpp: 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 - - * include/osgGLUT/Viewer, src/osgGLUT/Viewer.cpp: From Daniel, - changed setEventHandler to addEventHandler. - -2002-09-19 10:30 robert - - * VisualStudio/osg/osg.dsp, include/osg/PolygonStipple, - include/osg/StateAttribute, - src/Demos/osggeometry/osggeometry.cpp, src/osg/Makefile, - src/osg/PolygonStipple.cpp: Added PolygonStipple class from Mike, - with mods from Robert to make data - management local. - -2002-09-19 09:52 robert - - * include/osgUtil/RenderStage, include/osgUtil/SceneView, - src/osgUtil/RenderStage.cpp, src/osgUtil/SceneView.cpp: 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 - - * src/osgUtil/RenderStage.cpp: Fixed copy constructor so that the - _stage member variable was set to this - correctly. - -2002-09-18 16:10 robert - - * src/osg/Geometry.cpp: Fix the sceondary color code. - -2002-09-18 16:05 robert - - * src/osg/Texture.cpp: Added missing isCompressedInternalFormat() - method. - -2002-09-18 15:59 robert - - * doc/stereo.html: Fixed mispelling of SEPARATION. - -2002-09-18 14:57 robert - - * include/osgUtil/CullVisitor, include/osgUtil/RenderBin, - include/osgUtil/RenderGraph, src/Demos/sgv/sgv.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/RenderBin.cpp: - 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 - - * AUTHORS, VisualStudio/osgPlugins/flt/flt.dsp, - VisualStudio/osgUtil/osgUtil.dsp, - src/osgPlugins/flt/GeoSetBuilder.cpp, - src/osgPlugins/flt/GeoSetBuilder.h, src/osgPlugins/flt/Makefile, - src/osgPlugins/flt/MultiTextureRecord.cpp, - src/osgPlugins/flt/MultiTextureRecord.h, - src/osgPlugins/flt/Record.cpp, src/osgPlugins/flt/Registry.cpp, - src/osgPlugins/flt/UVListRecord.cpp, - src/osgPlugins/flt/UVListRecord.h, src/osgPlugins/flt/flt.h, - src/osgPlugins/flt/flt2osg.cpp, src/osgPlugins/flt/flt2osg.h, - src/osgPlugins/flt/opcodes.h: From Daniel Sjölie - added support - for multitexured flt files. - -2002-09-17 15:47 robert - - * include/osgUtil/DepthSortedBin, include/osgUtil/RenderBin, - include/osgUtil/RenderStage, src/osgUtil/CullVisitor.cpp, - src/osgUtil/DepthSortedBin.cpp, src/osgUtil/Makefile, - src/osgUtil/RenderBin.cpp, src/osgUtil/RenderStage.cpp, - src/osgUtil/SceneView.cpp: Improved the sort callback support in - osgUtil::RenderBin, and removed the - now rendundent DepthSortedBin class. - -2002-09-16 20:58 robert - - * include/osg/Image, include/osg/Texture, include/osg/Texture3D, - include/osg/TextureCubeMap, src/osg/Image.cpp, - src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/Texture3D.cpp, src/osg/TextureCubeMap.cpp: Further work - on multiple context extensions. - -2002-09-16 10:55 robert - - * src/osgUtil/Optimizer.cpp: Commented out the call to combine - LOD's in the optimizer as it was causing - problems in some flt datasets. +Thu, 12 Apr 2007 09:18:40 +0000 +Checked in by : Robert Osfield +From Eric Wing, "Minor robustness fix to osgsimpleviewerCocoa." -2002-09-14 10:38 robert +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 - * include/osg/Texture3D, src/osg/Texture3D.cpp: Updates the - osg::Texture3D::Extensions interface to support the - standardisation - of extensions supported across multiple graphics contexts. -2002-09-13 13:50 robert - * include/osg/State, src/osg/State.cpp: 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. +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 -2002-09-12 20:30 robert +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 - * AUTHORS, include/osg/GLExtensions, include/osg/Math: From Pavel - Moloshtan, fixes for Mingw32 build. +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. -2002-09-12 19:59 robert +An optional switch that turns on more aggressive warnings based on +your compiler. - * VisualStudio/osgGLUT/osgGLUT.dsp: Added opengl32.lib and - glu32.lib links to osgGLUT.dsp +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. +" -2002-09-12 15:34 robert - * include/osg/Drawable, include/osg/Geometry, include/osg/Group, - include/osg/Node, include/osg/Transform, src/osg/Group.cpp: 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 - * include/osgUtil/SceneView: Fixed setFusionDistance +Wed, 11 Apr 2007 08:33:40 +0000 +Checked in by : Robert Osfield +Removed tabs -2002-09-12 13:23 robert +Tue, 10 Apr 2007 13:58:18 +0000 +Checked in by : Robert Osfield +Removed old GNUmakefile.inst files - * include/osg/Plane, src/osg/Texture.cpp, src/osgText/Text.cpp: - 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 - - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: Added ability to accept - '.tif' files (as well as '.tiff') and printed - notify() on error +Tue, 10 Apr 2007 13:23:32 +0000 +Checked in by : Robert Osfield +Updated INSTALL and README to refect new Cmake build -2002-09-05 15:45 robert +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. - * include/osg/Texture3D, src/Demos/osgtexture3D/osgtexture3D.cpp, - src/osg/Texture3D.cpp: Improvements to osg::Texture3D::Extensions - code. - -2002-09-05 15:13 don - - * Make/makedefs: 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 - - * include/osg/Texture, include/osg/Texture3D, - include/osg/buffered_value, - src/Demos/osgtexture3D/osgtexture3D.cpp, src/osg/Texture.cpp, - src/osg/Texture1D.cpp, src/osg/Texture2D.cpp, - src/osg/Texture3D.cpp, src/osg/TextureCubeMap.cpp, - src/osgUtil/Tesselator.cpp: 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 - - * src/Demos/osgtexture3D/osgtexture3D.cpp: From Ulrich Hertlein, - check for max 3d texture size into the osgtexture demo. - -2002-09-04 10:49 robert - - * include/osg/DisplaySettings, include/osgUtil/SceneView, - src/osgUtil/SceneView.cpp: 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 - - * include/osg/Texture, src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2D.cpp, src/osg/Texture3D.cpp, - src/osg/TextureCubeMap.cpp: Added support for multiple graphics - contexts to osg::Texture and its - subclasses. - -2002-09-04 01:15 don - - * src/osgUtil/SceneView.cpp: 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 - - * include/osg/Primitive, src/osg/Primitive.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgUtil/Optimizer.cpp, src/osgUtil/Tesselator.cpp: 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 - - * src/Demos/osgcallback/osgcallback.cpp: Removed const from the - evaluateLODChild(,,) callback method. - -2002-09-03 14:42 robert - - * src/osgUtil/Optimizer.cpp: Removed the temporary commenting out - of the Optimizer, which was done for - debugging purposes. - -2002-09-03 13:04 robert - - * src/osg/ClearNode.cpp, src/osgPlugins/lwo/Lwo2.cpp, - src/osgPlugins/lwo/Lwo2Layer.cpp, src/osgPlugins/lwo/Lwo2Layer.h, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgUtil/Optimizer.cpp: Fixed LWO2 ReaderWriter problem which - was down to an the compiler reodering - the evaluation of a Vec3 paramter. - -2002-09-03 09:50 robert - - * src/osgPlugins/bmp/ReaderWriterBMP.cpp: Fixed and unmatched - malloc/free pair, which was previously doing a mallco/delete. - -2002-09-02 12:31 robert - - * include/osg/AlphaFunc, include/osg/AnimationPath, - include/osg/Billboard, include/osg/BlendFunc, - include/osg/BoundingBox, include/osg/BoundingSphere, - include/osg/BoundsChecking, include/osg/Camera, - include/osg/ClearNode, include/osg/ClipNode, - include/osg/ClipPlane, include/osg/ColorMask, - include/osg/CullFace, include/osg/CullStack, - include/osg/DOFTransform, include/osg/Depth, - include/osg/DisplaySettings, include/osg/DrawPixels, - include/osg/Drawable, include/osg/Fog, include/osg/GLExtensions, - include/osg/GeoSet, include/osg/Geode, include/osg/Geometry, - include/osg/Group, include/osg/Image, include/osg/Impostor, - include/osg/ImpostorSprite, include/osg/LOD, include/osg/Light, - include/osg/LightModel, include/osg/LightSource, - include/osg/LineSegment, include/osg/LineStipple, - include/osg/LineWidth, include/osg/Material, include/osg/Matrix, - include/osg/MatrixTransform, include/osg/MemoryManager, - include/osg/Node, include/osg/NodeVisitor, - include/osg/OccluderNode, include/osg/Plane, include/osg/Point, - include/osg/PolygonMode, include/osg/PolygonOffset, - include/osg/Polytope, include/osg/PositionAttitudeTransform, - include/osg/Quat, include/osg/Referenced, include/osg/Sequence, - include/osg/State, include/osg/StateAttribute, - include/osg/StateSet, include/osg/Statistics, - include/osg/Stencil, include/osg/Switch, include/osg/Texture, - include/osg/Texture1D, include/osg/Texture2D, - include/osg/Texture3D, include/osg/TextureCubeMap, - include/osg/Transform, include/osg/UByte4, include/osg/Vec2, - include/osg/Vec3, include/osg/Vec4, include/osg/Viewport, - include/osg/ref_ptr, include/osgDB/Output, - include/osgDB/ReaderWriter, include/osgGLUT/Viewer, - include/osgParticle/ParticleProcessor, - include/osgParticle/ParticleSystem, - include/osgParticle/ParticleSystemUpdater, include/osgText/Font, - include/osgText/Paragraph, include/osgText/Text, - include/osgUtil/CullVisitor, - include/osgUtil/InsertImpostorsVisitor, - include/osgUtil/RenderBin, include/osgUtil/RenderGraph, - include/osgUtil/RenderStage, - src/Demos/osgcallback/osgcallback.cpp, - src/Demos/osghangglide/osghangglide.cpp, src/osg/Billboard.cpp, - src/osg/BlendFunc.cpp, src/osg/Camera.cpp, src/osg/ClipNode.cpp, - src/osg/ClipPlane.cpp, src/osg/DOFTransform.cpp, - src/osg/DrawPixels.cpp, src/osg/Drawable.cpp, - src/osg/GLExtensions.cpp, src/osg/GeoSet.cpp, src/osg/Geode.cpp, - src/osg/Group.cpp, src/osg/Image.cpp, src/osg/Impostor.cpp, - src/osg/ImpostorSprite.cpp, src/osg/LOD.cpp, - src/osg/LightSource.cpp, src/osg/LineSegment.cpp, - src/osg/LineStipple.cpp, src/osg/Material.cpp, - src/osg/Matrix.cpp, src/osg/MemoryManager.cpp, src/osg/Node.cpp, - src/osg/NodeVisitor.cpp, src/osg/OccluderNode.cpp, - src/osg/PolygonMode.cpp, src/osg/PositionAttitudeTransform.cpp, - src/osg/Sequence.cpp, src/osg/State.cpp, src/osg/StateSet.cpp, - src/osg/Texture.cpp, src/osg/TextureCubeMap.cpp, - src/osg/Transform.cpp, src/osgPlugins/logos/ReaderWriterLOGO.cpp, - src/osgText/Font.cpp, src/osgText/Text.cpp, - src/osgUtil/DepthSortedBin.cpp, src/osgUtil/RenderBin.cpp: - 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 - - * src/osgPlugins/flt/flt2osg.cpp: From Yfei He, added in missing - RoadConstruction handler. - -2002-08-31 09:51 robert - - * src/osgText/FTGLTextureFont.cpp: 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 - - * Make/makedefs, Make/makeirixdist, Make/makepkg: Added the script - to make IRIX distribution packages (via 'inst'). - -2002-08-30 19:45 robert - - * include/osg/Statistics, src/osgGLUT/Viewer.cpp, - src/osgUtil/RenderBin.cpp: Renamed osg::Statistics::addOpaque to - addDrawable to better reflect its current - function. - -2002-08-30 16:17 robert - - * Make/makedefs, doc/install.html, src/osgUtil/RenderBin.cpp: - Updates to windows build docs. - - Merge fixes for OSX from bob. - - Added checking for impostor sprites into stats. - -2002-08-30 15:32 robert - - * include/osg/Math, include/osg/TextureCubeMap: Fixes to Math for - MacOSX build. - - Converted TextureCubeMap to unix file endings. - -2002-08-30 15:17 robert - - * VisualStudio/LANGEXT.DAT: Update LANDEXT.DAT to contain all the - latest core OSG files. - -2002-08-30 15:07 robert - - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp: Fixed the - flatten static transform visitor. - -2002-08-30 13:38 robert - - * include/osg/UnitTestFramework: Added std:: infront of ends - references. - -2002-08-30 07:17 robert - - * Make/makedefs: Removed the OSG_COMPILE_UNIT_TESTS define from the - OSX build to avoid - issues with the missing - -2002-08-30 01:34 don - - * NEWS: Some small clean ups and editorializing of the NEWS file. - -2002-08-29 20:41 robert - - * include/osgGA/DriveManipulator, include/osgGA/FlightManipulator, - include/osgGA/TrackballManipulator, - src/osgGA/DriveManipulator.cpp, src/osgGA/FlightManipulator.cpp, - src/osgGA/TrackballManipulator.cpp: Fixed the numerical accuracy - problems in the Drive and Flight Manipulators. - -2002-08-29 16:38 robert - - * include/osgGA/TrackballManipulator, - src/osgGA/TrackballManipulator.cpp: Fixed numerical accuracy - problem in Trackball manipulator. - -2002-08-29 14:48 robert - - * ChangeLog: Updated change log. - -2002-08-29 14:41 robert - - * doc/doc++/osg/EarthSky.html, doc/doc++/osg/Transparency.html: - Removed html files which relate to now removed API. - -2002-08-29 14:39 robert - - * doc/doc++/osg/AnimationPathCallback.2.html, - doc/doc++/osg/AnimationPathCallback.html, - doc/doc++/osg/ClearNode.html, - doc/doc++/osg/ConvexPlanarOccluder.html, - doc/doc++/osg/ConvexPlanarPolygon.html, - doc/doc++/osg/DOFTransform.html, - doc/doc++/osg/OSGUTX_ADD_TESTCASE.html, - doc/doc++/osg/OSGUTX_ADD_TESTSUITE.html, - doc/doc++/osg/OSGUTX_AUTOREGISTER_TESTSUITE.html, - doc/doc++/osg/OSGUTX_AUTOREGISTER_TESTSUITE_AT.html, - doc/doc++/osg/OSGUTX_BEGIN_TESTSUITE.html, - doc/doc++/osg/OSGUTX_END_TESTSUITE.html, - doc/doc++/osg/OSGUTX_TESTSUITE.html, - doc/doc++/osg/OSGUTX_TEST_E.html, - doc/doc++/osg/OSGUTX_TEST_F.html, - doc/doc++/osg/QualifiedTestPrinter.html, - doc/doc++/osg/Sequence.html, - doc/doc++/osg/SubloadCallback.2.html, - doc/doc++/osg/SubloadCallback.3.html, - doc/doc++/osg/SubloadCallback.4.html, - doc/doc++/osg/SubloadCallback.html, doc/doc++/osg/Test.html, - doc/doc++/osg/TestCase.html, doc/doc++/osg/TestCase_.html, - doc/doc++/osg/TestContext.html, doc/doc++/osg/TestErrorX.html, - doc/doc++/osg/TestFailureX.html, doc/doc++/osg/TestGraph.html, - doc/doc++/osg/TestQualifier.html, doc/doc++/osg/TestRecord.html, - doc/doc++/osg/TestReport.html, doc/doc++/osg/TestRunner.html, - doc/doc++/osg/TestSuite.html, - doc/doc++/osg/TestSuiteAutoRegistrationAgent.html, - doc/doc++/osg/TestVisitor.html, doc/doc++/osg/TestX.html, - doc/doc++/osg/TexEnvCombine.html, doc/doc++/osg/Texture1D.html, - doc/doc++/osg/Texture2D.html, doc/doc++/osg/Texture3D.html, - doc/doc++/osg/TraceStream.html, - doc/doc++/osg/isGLUExtensionSupported.html, - doc/doc++/osg/osgUtx.html, doc/doc++/osgGA/CmdLineArgs.html, - doc/doc++/osgUtil/MergeGeometryVisitor.html: Added new - autogenerated .html files - -2002-08-29 14:29 robert - - * doc/doc++/osg/AlphaFunc.html, doc/doc++/osg/AnimationPath.html, - doc/doc++/osg/Array.html, doc/doc++/osg/AttributeFunctor.html, - doc/doc++/osg/Billboard.html, doc/doc++/osg/BlendFunc.html, - doc/doc++/osg/BoundingBox.html, - doc/doc++/osg/BoundingSphere.html, doc/doc++/osg/Camera.html, - doc/doc++/osg/ClipNode.html, doc/doc++/osg/ClipPlane.html, - doc/doc++/osg/CollectOccludersVisitor.html, - doc/doc++/osg/ColorMask.html, doc/doc++/osg/ColorMatrix.html, - doc/doc++/osg/ConvexPlanerOccluder.html, - doc/doc++/osg/ConvexPlanerPolygon.html, - doc/doc++/osg/CopyOp.html, doc/doc++/osg/CullFace.html, - doc/doc++/osg/CullStack.html, doc/doc++/osg/CullingSet.html, - doc/doc++/osg/Depth.html, doc/doc++/osg/DisplaySettings.html, - doc/doc++/osg/DrawArrayLengths.html, - doc/doc++/osg/DrawArrays.html, - doc/doc++/osg/DrawElementsUByte.html, - doc/doc++/osg/DrawElementsUInt.html, - doc/doc++/osg/DrawElementsUShort.html, - doc/doc++/osg/DrawPixels.html, doc/doc++/osg/Drawable.html, - doc/doc++/osg/Fog.html, doc/doc++/osg/FrameStamp.html, - doc/doc++/osg/FrontFace.html, doc/doc++/osg/General.html, - doc/doc++/osg/GeoSet.html, doc/doc++/osg/Geode.html, - doc/doc++/osg/Geometry.html, doc/doc++/osg/Group.html, - doc/doc++/osg/HIER.html, doc/doc++/osg/HIERjava.html, - doc/doc++/osg/Image.html, doc/doc++/osg/Impostor.html, - doc/doc++/osg/ImpostorSprite.html, - doc/doc++/osg/ImpostorSpriteManager.html, doc/doc++/osg/LOD.html, - doc/doc++/osg/Light.html, doc/doc++/osg/LightModel.html, - doc/doc++/osg/LightSource.html, doc/doc++/osg/LineSegment.html, - doc/doc++/osg/LineStipple.html, doc/doc++/osg/LineWidth.html, - doc/doc++/osg/META_Object.html, - doc/doc++/osg/META_StateAttribute.html, - doc/doc++/osg/Material.html, doc/doc++/osg/Matrix.html, - doc/doc++/osg/MatrixTransform.html, - doc/doc++/osg/NodeAcceptOp.html, doc/doc++/osg/NodeCallback.html, - doc/doc++/osg/NodeVisitor.html, - doc/doc++/osg/NotifySeverity.html, doc/doc++/osg/Object.html, - doc/doc++/osg/OccluderNode.html, doc/doc++/osg/Plane.html, - doc/doc++/osg/Point.html, doc/doc++/osg/PolygonMode.html, - doc/doc++/osg/PolygonOffset.html, doc/doc++/osg/Polytope.html, - doc/doc++/osg/PositionAttitudeTransform.html, - doc/doc++/osg/Primitive.html, - doc/doc++/osg/PrimitiveFunctor.html, - doc/doc++/osg/Projection.html, doc/doc++/osg/Quat.html, - doc/doc++/osg/Referenced.html, doc/doc++/osg/ShadeModel.html, - doc/doc++/osg/ShadowVolumeOccluder.html, - doc/doc++/osg/State.html, doc/doc++/osg/StateAttribute.html, - doc/doc++/osg/StateSet.html, doc/doc++/osg/Statistics.html, - doc/doc++/osg/Stencil.html, doc/doc++/osg/Switch.html, - doc/doc++/osg/TemplateArray.html, doc/doc++/osg/TexEnv.html, - doc/doc++/osg/TexGen.html, doc/doc++/osg/TexMat.html, - doc/doc++/osg/Texture.html, doc/doc++/osg/TextureCubeMap.html, - doc/doc++/osg/Timer.html, doc/doc++/osg/Transform.html, - doc/doc++/osg/TriangleFunctor.html, doc/doc++/osg/UByte4.html, - doc/doc++/osg/Vec2.html, doc/doc++/osg/Vec3.html, - doc/doc++/osg/Vec4.html, doc/doc++/osg/VectorSizei.html, - doc/doc++/osg/VectorUByte.html, doc/doc++/osg/VectorUInt.html, - doc/doc++/osg/VectorUShort.html, doc/doc++/osg/Viewport.html, - doc/doc++/osg/clampArray3BetweenRange.html, - doc/doc++/osg/clampArray3GEQUAL.html, - doc/doc++/osg/clampArray3LEQUAL.html, - doc/doc++/osg/clampArray4BetweenRange.html, - doc/doc++/osg/clampArray4GEQUAL.html, - doc/doc++/osg/clampArray4LEQUAL.html, - doc/doc++/osg/clampArrayElementBetweenRange.html, - doc/doc++/osg/clampArrayElementGEQUAL.html, - doc/doc++/osg/clampArrayElementLEQUAL.html, - doc/doc++/osg/clampArrayElementsBetweenRange.html, - doc/doc++/osg/clampArrayElementsGEQUAL.html, - doc/doc++/osg/clampArrayElementsLEQUAL.html, - doc/doc++/osg/clampBetweenRange.html, - doc/doc++/osg/clampGEQUAL.html, doc/doc++/osg/clampLEQUAL.html, - doc/doc++/osg/createGeodeForImage.2.html, - doc/doc++/osg/fast_back_stack.html, - doc/doc++/osg/for_each_triangle.html, - doc/doc++/osg/getGLExtensionFuncPtr.html, - doc/doc++/osg/index.html, doc/doc++/osg/osg.html, - doc/doc++/osg/ref_ptr.html, doc/doc++/osg/tag_au.html, - doc/doc++/osgGA/CameraManipulator.html, - doc/doc++/osgGA/DriveManipulator.html, - doc/doc++/osgGA/FlightManipulator.html, - doc/doc++/osgGA/GUIActionAdapter.html, - doc/doc++/osgGA/GUIEventAdapter.html, - doc/doc++/osgGA/GUIEventHandler.html, - doc/doc++/osgGA/GUIEventHandlerVisitor.html, - doc/doc++/osgGA/KeySwitchCameraManipulator.html, - doc/doc++/osgGA/SetSceneViewVisitor.html, - doc/doc++/osgGA/StateSetManipulator.html, - doc/doc++/osgGA/osgGA.html, doc/doc++/osgGA/spaceosgGA.html, - doc/doc++/osgGLUT/Viewer.html, - doc/doc++/osgParticle/Particle.html, - doc/doc++/osgParticle/ParticleSystem.html, - doc/doc++/osgParticle/range.html, - doc/doc++/osgUtil/CullVisitor.html, - doc/doc++/osgUtil/DepthSortedBin.html, - doc/doc++/osgUtil/IntersectState.html, - doc/doc++/osgUtil/IntersectVisitor.html, - doc/doc++/osgUtil/RenderBin.html, - doc/doc++/osgUtil/RenderStage.html, - doc/doc++/osgUtil/RenderToTextureStage.html, - doc/doc++/osgUtil/SceneView.html, doc/install.html, - doc/plan.html, include/osg/StateAttribute, - src/osgPlugins/osg/StateSet.cpp: Updated docs. - -2002-08-29 14:05 robert - - * NEWS: Updated the NEWS to release the new release. - -2002-08-29 11:02 robert - - * VisualStudio/MUST_READ_ME.txt, VisualStudio/osg/osg.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, - include/osg/ConvexPlanarOccluder, - include/osg/ConvexPlanarPolygon, - include/osg/ConvexPlanerOccluder, - include/osg/ConvexPlanerPolygon, include/osg/OccluderNode, - include/osg/ShadowVolumeOccluder, - src/Demos/osgoccluder/osgoccluder.cpp, - src/Demos/osgreflect/osgreflect.cpp, - src/osg/ConvexPlanarOccluder.cpp, - src/osg/ConvexPlanarPolygon.cpp, - src/osg/ConvexPlanerOccluder.cpp, - src/osg/ConvexPlanerPolygon.cpp, src/osg/Makefile, - src/osg/OccluderNode.cpp, src/osg/ShadowVolumeOccluder.cpp, - src/osgPlugins/osg/ConvexPlanarOccluder.cpp, - src/osgPlugins/osg/ConvexPlanerOccluder.cpp, - src/osgPlugins/osg/Makefile, src/osgPlugins/osg/OccluderNode.cpp: - 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 - - * include/osg/UnitTestFramework: Added SG_EXPORT. - -2002-08-29 03:49 don - - * src/osgPlugins/txp/trpage_sys.h: Blast it, Don... You should - rebuild before you check things in! - -2002-08-29 03:22 don - - * include/osg/DisplaySettings, include/osg/Drawable, - include/osg/LightModel, src/Demos/osgcluster/osgcluster.cpp, - src/Demos/osggeometry/osggeometry.cpp, - src/osg/DisplaySettings.cpp, src/osg/LightModel.cpp, - src/osg/Material.cpp, src/osgDB/DotOsgWrapper.cpp, - src/osgGLUT/Viewer.cpp, src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/osg/LightModel.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/txp/trpage_header.cpp, - src/osgPlugins/txp/trpage_rarchive.cpp, - src/osgPlugins/txp/trpage_warchive.cpp, - src/osgUtil/SceneView.cpp: Fixed 69 occurance of 'Seperate' - misspelling (should be 'Separate') - -2002-08-28 21:40 robert - - * include/osg/Sequence, include/osg/UnitTestFramework, - src/osg/ClipNode.cpp, src/osg/Sequence.cpp, - src/osg/UnitTestFramework.cpp: Changed instances of new across to - use osgNew to help debugging, and fixed - an unitialized variable in Sequence. - -2002-08-28 19:46 robert - - * VisualStudio/osgPlugins/osgText/dot_osgText.dsp: Fixed the - optimized library name of the osgText plugin. - -2002-08-28 18:49 robert - - * src/osg/Version.cpp, src/osgDB/Version.cpp, - src/osgGA/Version.cpp, src/osgGLUT/Version.cpp, - src/osgParticle/Version.cpp, src/osgText/Version.cpp, - src/osgUtil/Version.cpp: Updated the version numbers to reflect - the upcomming release 0.9.1. - -2002-08-28 18:38 robert - - * include/osg/UnitTestFramework, src/osgPlugins/iv/normals.cpp: - Fixes to Win32 build. - -2002-08-28 17:37 robert - - * src/Demos/osgunittests/osgunittests.cpp: Added std:: infront of - cout and endl. - -2002-08-28 16:59 robert - - * include/osg/UnitTestFramework, src/osg/UnitTestFramework.cpp: - Fixes for Win32 build. - -2002-08-28 16:25 robert - - * src/Demos/osgprerender/osgprerender.cpp: Fixed unitialized - variable in the MyTextureSubloadCallback. - -2002-08-28 16:17 robert - - * Make/debugtests.bat, include/osg/UnitTestFramework, - src/osg/UnitTestFramework.cpp: Added fixes to UnitTestFramework - to get it compiling under Windows. - -2002-08-28 15:44 robert - - * src/osg/ColorMatrix.cpp, src/osg/Fog.cpp, - src/osg/GLExtensions.cpp, src/osg/TexEnv.cpp: Warning fixes for - Windwos - -2002-08-28 15:35 robert - - * VisualStudio/VisualStudio.dsw: Fixed typo on osgunittests project - name. - -2002-08-28 15:28 robert - - * VisualStudio/osg/osg.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, doc/data.html, - include/osg/BoundingBox, include/osg/BoundingSphere, - include/osg/CopyOp, include/osg/EarthSky, include/osg/Matrix, - include/osg/Quat, include/osg/StateAttribute, - include/osg/Texture, include/osg/Texture1D, - include/osg/Texture2D, include/osg/Texture3D, - include/osg/TextureBase, include/osg/TextureCubeMap, - include/osg/Transform, include/osg/Transparency, - src/Demos/osgcopy/osgcopy.cpp, src/osg/CopyOp.cpp, - src/osg/Image.cpp, src/osg/Makefile, src/osg/Matrix.cpp, - src/osg/Quat.cpp, src/osg/StateSet.cpp, src/osg/Texture.cpp, - src/osg/Texture1D.cpp, src/osg/Texture2D.cpp, - src/osg/Texture3D.cpp, src/osg/TextureBase.cpp, - src/osg/TextureCubeMap.cpp, src/osg/Transform.cpp, - src/osgPlugins/flt/GeoSetBuilder.cpp, - src/osgPlugins/osg/Makefile, src/osgPlugins/osg/Texture.cpp, - src/osgPlugins/osg/Texture1D.cpp, - src/osgPlugins/osg/Texture2D.cpp, - src/osgPlugins/osg/Texture3D.cpp, - src/osgPlugins/osg/TextureBase.cpp, - src/osgPlugins/osg/Transform.cpp, src/osgUtil/SceneView.cpp: - Removed deprecated code from the distribution. - - Added .osg support for Texture1D and Texture3D. - -2002-08-28 14:28 robert - - * src/osgPlugins/iv/Makefile: Added -I{THISDIR} into the iv - Makefile. - -2002-08-28 14:27 robert - - * NEWS, include/osgGA/CameraManipulator, - include/osgGA/DriveManipulator, include/osgGA/Export, - include/osgGA/FlightManipulator, include/osgGA/GUIActionAdapter, - include/osgGA/GUIEventAdapter, include/osgGA/GUIEventHandler, - include/osgGA/GUIEventHandlerVisitor, - include/osgGA/KeySwitchCameraManipulator, - include/osgGA/SetSceneViewVisitor, - include/osgGA/StateSetManipulator, - include/osgGA/TrackballManipulator: 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 - - * Make/debugtests.bat, Make/makedefs, Make/makedirdefs, - VisualStudio/Demos/osgunittests, - VisualStudio/Demos/osgunittests/osgunittests.dsp, - VisualStudio/VisualStudio.dsw, VisualStudio/osg/osg.dsp, - include/osg/UnitTestFramework, src/Demos/osgunittests, - src/Demos/osgunittests/Makefile, - src/Demos/osgunittests/Makefile.inst, - src/Demos/osgunittests/osgunittests.cpp, src/osg/Makefile, - src/osg/UnitTestFramework.cpp, src/osg/Vec3.cpp: 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 - - * include/osg/Texture, src/osgPlugins/osg/Texture.cpp, - src/osgPlugins/osg/Texture2D.cpp: 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 - - * src/osgPlugins/osg/Geometry.cpp: 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 - - * include/osg/DOFTransform, include/osg/PositionAttitudeTransform, - include/osg/Quat, src/Demos/osglight/osglight.cpp, - src/osgPlugins/osg/DOFTransform.cpp, - src/osgPlugins/osg/PositionAttitudeTransform.cpp: 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 - - * src/osgPlugins/osg/PositionAttitudeTransform.cpp: Added support - for reading and writing osg::PositionAttitudeTransform. - -2002-08-27 15:46 robert - - * src/osgPlugins/osg/Light.cpp: Fixed bug in the Light reading - code. - -2002-08-27 14:02 robert - - * Make/debugtests.bat, Make/osgtests.bat, - src/Demos/osgtexture1D/osgtexture1D.cpp: Added proper - osgtexture1D demo - this demo uses a 1D texture to dynamically - contour the scene. - -2002-08-27 14:00 robert - - * include/osg/GL: From Marco, fix to include/GL to clean up - warnigns in Windows builds. - -2002-08-27 10:06 robert - - * Make/debugtests.bat, Make/makedefs, Make/makedirdefs, - Make/osgtests.bat, VisualStudio/Demos/osgtexture, - VisualStudio/Demos/osgtexture1D, - VisualStudio/Demos/osgtexture1D/osgtexture1D.dsp, - VisualStudio/Demos/osgtexture2D, - VisualStudio/Demos/osgtexture2D/osgtexture2D.dsp, - VisualStudio/Demos/osgtexture3D, - VisualStudio/Demos/osgtexture3D/osgtexture3D.dsp, - VisualStudio/VisualStudio.dsw, include/osg/Image, - src/Demos/osgtexture, src/Demos/osgtexture1D, - src/Demos/osgtexture1D/Makefile, - src/Demos/osgtexture1D/Makefile.inst, - src/Demos/osgtexture1D/osgtexture1D.cpp, src/Demos/osgtexture2D, - src/Demos/osgtexture2D/Makefile, - src/Demos/osgtexture2D/Makefile.inst, - src/Demos/osgtexture2D/osgtexture2D.cpp, src/Demos/osgtexture3D, - src/Demos/osgtexture3D/Makefile, - src/Demos/osgtexture3D/Makefile.inst, - src/Demos/osgtexture3D/osgtexture3D.cpp, src/osg/Image.cpp, - src/osg/Texture3D.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.cpp: 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 - - * include/osg/TextureBase, src/osg/Texture.cpp, - src/osg/Texture1D.cpp, src/osg/Texture2D.cpp, - src/osg/Texture3D.cpp, src/osg/TextureBase.cpp, - src/osg/TextureCubeMap.cpp: Fixed typo of _texParametersDirty. - -2002-08-26 19:35 robert - - * src/osgUtil/Optimizer.cpp: 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 - - * include/osg/TexEnvCombine: Moved the #define GL_DOT3_RGB_ARB's - into their own #ifndef GL_ARB_texture_env_dot3 block. - -2002-08-26 13:04 robert - - * include/osg/Image, include/osg/Math, src/osg/Image.cpp: 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 - - * include/osgUtil/RenderBin: Made the sort callback's sort method - pure virtual. - -2002-08-26 12:28 robert - - * include/osgUtil/RenderBin: Removed redundent parameter in sort() - callback which was never being used. - -2002-08-26 10:30 robert - - * include/osgGLUT/glut: Added #include to - include/osg/glut for Windows build. - -2002-08-26 10:24 robert - - * NEWS, include/osg/GLExtensions, src/osg/GLExtensions.cpp, - src/osg/Texture3D.cpp: Updated Texture3D to use extension - checking to get the relevant 3d texturing - extensions. - -2002-08-26 03:15 don - - * src/osgPlugins/rgb/ReaderWriterRGB.cpp: Added writer to RGB - plugin - -2002-08-25 15:31 robert - - * include/osg/Texture, src/Demos/osgbillboard/osgbillboard.cpp, - src/Demos/osgcopy/osgcopy.cpp, - src/Demos/osggeometry/osggeometry.cpp, - src/Demos/osghangglide/base.cpp, src/Demos/osghangglide/sky.cpp, - src/Demos/osghangglide/tank.cpp, - src/Demos/osghangglide/terrain.cpp, - src/Demos/osghangglide/trees.cpp, - src/Demos/osgmultitexture/osgmultitexture.cpp, - src/Demos/osgprerender/osgprerender.cpp, - src/Demos/osgreflect/osgreflect.cpp, - src/Demos/osgstereoimage/osgstereoimage.cpp, src/osg/CopyOp.cpp, - src/osg/StateSet.cpp, src/osg/TextureCubeMap.cpp, - src/osgGLUT/Viewer.cpp, src/osgParticle/ParticleSystem.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/dx/DXWriter.cpp, - src/osgPlugins/flt/GeoSetBuilder.cpp, - src/osgPlugins/flt/Pool.cpp, src/osgPlugins/flt/Pool.h, - src/osgPlugins/flt/ReaderWriterATTR.cpp, - src/osgPlugins/flt/flt2osg.cpp, src/osgPlugins/iv/osgvisitor.cpp, - src/osgPlugins/lib3ds/ReaderWriter3DS.cpp, - src/osgPlugins/lwo/Lwo2.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/osg/StateSet.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.h, - src/osgPlugins/pfb/ConvertToPerformer.cpp, - src/osgPlugins/pfb/ConvertToPerformer.h, - src/osgPlugins/quicktime/ReaderWriterQT.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp, - src/osgPlugins/txp/TrPageArchive.cpp, - src/osgPlugins/txp/TrPageArchive.h, - src/osgPlugins/txp/TrPageParser.cpp, - src/osgPlugins/txp/TrPageParser.h, src/osgUtil/SceneView.cpp: - Converted code dependant on osg::Texture across to its - replacement osg::Texture2D. - -2002-08-25 11:00 robert - - * src/Demos/osgprerender/osgprerender.cpp, src/osg/Geometry.cpp, - src/osgPlugins/lwo/Lwo2.cpp, src/osgPlugins/lwo/Lwo2Layer.h: - Fixes for Win32 build - -2002-08-24 21:12 robert - - * include/osg/Math: Added guard to prevent VS7 builds using the - #defines for cosf etc. - -2002-08-24 21:12 robert - - * NEWS: Added brief items to NEWS in prep for the 0.9.1 release. - -2002-08-24 21:11 robert - - * include/osg/TexEnvCombine, src/osg/TexEnvCombine.cpp, - src/osgPlugins/osg/TexEnvCombine.cpp: Added support for the - texture_env_dot3 extension. - -2002-08-24 19:39 robert - - * VisualStudio/osg/osg.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, - VisualStudio/osgPlugins/osgParticle/dot_osgParticle.dsp, - include/osg/CopyOp, include/osg/ImpostorSprite, - include/osg/Texture, include/osg/Texture1D, - include/osg/Texture2D, include/osg/Texture3D, - include/osg/TextureBase, include/osg/TextureCubeMap, - include/osgUtil/RenderToTextureStage, - src/Demos/osgcopy/osgcopy.cpp, - src/Demos/osgprerender/osgprerender.cpp, - src/Demos/osgtexture/osgtexture.cpp, src/osg/CopyOp.cpp, - src/osg/Image.cpp, src/osg/ImpostorSprite.cpp, src/osg/Makefile, - src/osg/Point.cpp, src/osg/State.cpp, src/osg/TexEnvCombine.cpp, - src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2D.cpp, src/osg/Texture3D.cpp, - src/osg/TextureBase.cpp, src/osg/TextureCubeMap.cpp, - src/osgPlugins/dx/DXWriter.cpp, src/osgPlugins/osg/Makefile, - src/osgPlugins/osg/Texture.cpp, src/osgPlugins/osg/Texture2D.cpp, - src/osgPlugins/osg/TextureBase.cpp, - src/osgPlugins/osg/TextureCubeMap.cpp, - src/osgUtil/CullVisitor.cpp: 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 - - * include/osg/GL, include/osg/GLExtensions: Clean up of - include/osg/GL and include/osg/GLExtensions for better support of - Windows build. - -2002-08-23 00:43 don - - * include/osgGLUT/Window, src/Demos/sgv/sgv.cpp, - src/osgGLUT/Viewer.cpp, src/osgGLUT/Window.cpp: Modifed osgGLUT - viewer and messages in SGV to allow for start up in full - screen mode. - -2002-08-22 17:36 don - - * Make/makedirdefs: Fixed a dependency order - -2002-08-22 09:19 robert - - * include/osg/NodeVisitor, src/osgUtil/CullVisitor.cpp, - src/osgUtil/Optimizer.cpp: 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 - - * include/osg/Transform: 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 - - * src/osgPlugins/quicktime/QTtexture.c: 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 - - * include/osg/State, src/Demos/osgprerender/osgprerender.cpp, - src/osg/Geometry.cpp, src/osg/State.cpp: 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 - - * NEWS, VisualStudio/osgPlugins/osg/dot_osg.dsp, - include/osg/TexEnvCombine, src/osgPlugins/osg/Makefile, - src/osgPlugins/osg/TexEnvCombine.cpp: Added IO Support for - TexEnvCombine state attribute. - -2002-08-20 14:15 robert - - * include/osg/TexEnv, include/osg/TexEnvCombine, - src/osg/TexEnv.cpp, src/osg/TexEnvCombine.cpp, - src/osgPlugins/osg/TexEnv.cpp: Added support for the tex_env_add - and tex_env_crossbar extensions. - -2002-08-20 14:12 robert - - * VisualStudio/osgPlugins/osgParticle/dot_osgParticle.dsp, - VisualStudio/osgPlugins/osgText/dot_osgText.dsp: Fixes to new - osgText and osgParticle project files. - -2002-08-20 12:29 robert - - * include/osg/GLExtensions, src/osg/Fog.cpp: Added the definition - of GL_FOG_COORDINATE_SOURCE to Fog.cpp. - - Added #include to the GLExtensions header. - -2002-08-20 11:27 robert - - * Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/osgParticle/osgParticle.dsp, - VisualStudio/osgPlugins/osgParticle, - VisualStudio/osgPlugins/osgParticle/dot_osgParticle.dsp, - VisualStudio/osgPlugins/osgText, - VisualStudio/osgPlugins/osgText/dot_osgText.dsp, - VisualStudio/osgText/osgText.dsp, src/osgDB/Registry.cpp, - src/osgParticle/IO_AccelOperator.cpp, - src/osgParticle/IO_CenteredPlacer.cpp, - src/osgParticle/IO_Emitter.cpp, - src/osgParticle/IO_FluidFrictionOperator.cpp, - src/osgParticle/IO_ForceOperator.cpp, - src/osgParticle/IO_LinearInterpolator.cpp, - src/osgParticle/IO_ModularEmitter.cpp, - src/osgParticle/IO_ModularProgram.cpp, - src/osgParticle/IO_MultiSegmentPlacer.cpp, - src/osgParticle/IO_Particle.cpp, - src/osgParticle/IO_ParticleProcessor.cpp, - src/osgParticle/IO_ParticleSystem.cpp, - src/osgParticle/IO_ParticleSystemUpdater.cpp, - src/osgParticle/IO_PointPlacer.cpp, - src/osgParticle/IO_Program.cpp, - src/osgParticle/IO_RadialShooter.cpp, - src/osgParticle/IO_RandomRateCounter.cpp, - src/osgParticle/IO_SectorPlacer.cpp, - src/osgParticle/IO_SegmentPlacer.cpp, - src/osgParticle/IO_VariableRateCounter.cpp, - src/osgParticle/Makefile, src/osgPlugins/osgParticle, - src/osgPlugins/osgParticle/IO_AccelOperator.cpp, - src/osgPlugins/osgParticle/IO_CenteredPlacer.cpp, - src/osgPlugins/osgParticle/IO_Emitter.cpp, - src/osgPlugins/osgParticle/IO_FluidFrictionOperator.cpp, - src/osgPlugins/osgParticle/IO_ForceOperator.cpp, - src/osgPlugins/osgParticle/IO_LinearInterpolator.cpp, - src/osgPlugins/osgParticle/IO_ModularEmitter.cpp, - src/osgPlugins/osgParticle/IO_ModularProgram.cpp, - src/osgPlugins/osgParticle/IO_MultiSegmentPlacer.cpp, - src/osgPlugins/osgParticle/IO_Particle.cpp, - src/osgPlugins/osgParticle/IO_ParticleProcessor.cpp, - src/osgPlugins/osgParticle/IO_ParticleSystem.cpp, - src/osgPlugins/osgParticle/IO_ParticleSystemUpdater.cpp, - src/osgPlugins/osgParticle/IO_PointPlacer.cpp, - src/osgPlugins/osgParticle/IO_Program.cpp, - src/osgPlugins/osgParticle/IO_RadialShooter.cpp, - src/osgPlugins/osgParticle/IO_RandomRateCounter.cpp, - src/osgPlugins/osgParticle/IO_SectorPlacer.cpp, - src/osgPlugins/osgParticle/IO_SegmentPlacer.cpp, - src/osgPlugins/osgParticle/IO_VariableRateCounter.cpp, - src/osgPlugins/osgParticle/Makefile, src/osgPlugins/osgText, - src/osgPlugins/osgText/IO_Font.cpp, - src/osgPlugins/osgText/IO_Paragraph.cpp, - src/osgPlugins/osgText/IO_Text.cpp, - src/osgPlugins/osgText/Makefile, src/osgText/IO_Font.cpp, - src/osgText/IO_Paragraph.cpp, src/osgText/IO_Text.cpp, - src/osgText/Makefile: Moved the IO support for the osgText and - osgParticle libraries into seperate - plugin libraries. - -2002-08-20 10:26 robert - - * src/osg/Notify.cpp: Added a error message for when - OSG_NOTIFY_LEVEL is not set correctly. - -2002-08-20 10:14 robert - - * include/osg/GLExtensions, src/osg/GLExtensions.cpp, - src/osg/Geometry.cpp, src/osg/State.cpp: 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 - - * include/osg/Fog, src/osg/Fog.cpp, src/osgPlugins/osg/Fog.cpp, - src/osgPlugins/osg/Geometry.cpp: 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 - - * src/osg/Notify.cpp: 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 - - * include/osg/TexEnvCombine, src/osg/TexEnvCombine.cpp: Added - default values to the TexEnvCombine constructor. - -2002-08-19 15:14 robert - - * include/osg/ClearNode: Added missing include/osg/ClearNode - -2002-08-19 15:11 robert - - * VisualStudio/osg/osg.dsp, include/osg/TexEnvCombine, - src/osg/Makefile, src/osg/TexEnvCombine.cpp: Added new - osg::TexEnvCombine state attribute. - -2002-08-19 11:42 robert - - * VisualStudio/osg/osg.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, include/osg/EarthSky, - include/osg/NodeVisitor, include/osg/Transparency, - include/osgUtil/CullVisitor, - src/Demos/osghangglide/osghangglide.cpp, src/osg/ClearNode.cpp, - src/osg/EarthSky.cpp, src/osg/Makefile, - src/osgPlugins/dx/DXWriter.cpp, src/osgPlugins/osg/BlendFunc.cpp, - src/osgPlugins/osg/ClearNode.cpp, - src/osgPlugins/osg/EarthSky.cpp, src/osgPlugins/osg/Makefile, - src/osgUtil/CullVisitor.cpp, src/osgUtil/SceneView.cpp: 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 - - * src/Demos/osgsequence/osgsequence.cpp: 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 - - * include/osg/Matrix, include/osg/NodeVisitor, include/osg/Quat, - include/osg/Vec3, src/osg/Matrix.cpp, src/osg/Quat.cpp: 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 - - * src/osg/Geometry.cpp: Added check to disable color binding when - the secondary colour extension doesn't - exist. - -2002-08-17 07:34 robert - - * include/osg/UByte4: Fixed typo in #define of UBYTE4 - -2002-08-16 15:14 robert - - * include/osg/Image, include/osg/Texture, - src/Demos/osgprerender/osgprerender.cpp, - src/osg/ImpostorSprite.cpp: 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 - - * include/osg/Image, include/osg/Texture, src/osg/Image.cpp, - src/osg/Texture.cpp, src/osg/TextureCubeMap.cpp: 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 - - * src/osgPlugins/pfb/ConvertToPerformer.cpp, - src/osgPlugins/pfb/ConvertToPerformer.h: Fixes from Ulrich - Hertlein to get the pfb plugin compiling with using - any deprecated API. - -2002-08-15 20:27 robert - - * include/osg/Geometry, include/osg/State, src/osg/Geometry.cpp, - src/osg/State.cpp: Supported added for secondary color & fog - coords to osg::Geometry and osg::State. - -2002-08-15 20:25 robert - - * src/osgPlugins/flt/flt2osg.cpp, src/osgPlugins/flt/flt2osg.h: - From Perry, support for color added to the - MeshPrimtive/LocalVertexPool code. - -2002-08-15 15:04 robert - - * src/osgPlugins/flt/MeshRecord.h: 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 - - * src/osgPlugins/osg/StateSet.cpp: Added a using namespace std; and - removed std:: from from std::hex and std::dec. - -2002-08-15 13:04 robert - - * src/osgPlugins/flt/LocalVertexPoolRecord.h, - src/osgPlugins/flt/MeshPrimitiveRecord.h, - src/osgPlugins/flt/MeshRecord.h: Added a virtual keyword into the - getData() overrided methods. - -2002-08-15 11:25 robert - - * VisualStudio/osgPlugins/flt/flt.dsp, - src/osgPlugins/flt/FltFile.cpp, src/osgPlugins/flt/FltFile.h, - src/osgPlugins/flt/HeaderRecord.cpp, - src/osgPlugins/flt/HeaderRecord.h, src/osgPlugins/flt/Input.cpp, - src/osgPlugins/flt/LocalVertexPoolRecord.cpp, - src/osgPlugins/flt/LocalVertexPoolRecord.h, - src/osgPlugins/flt/Makefile, - src/osgPlugins/flt/MeshPrimitiveRecord.cpp, - src/osgPlugins/flt/MeshPrimitiveRecord.h, - src/osgPlugins/flt/MeshRecord.cpp, - src/osgPlugins/flt/MeshRecord.h, src/osgPlugins/flt/Record.cpp, - src/osgPlugins/flt/Record.h, src/osgPlugins/flt/RecordVisitor.h, - src/osgPlugins/flt/flt.h, src/osgPlugins/flt/flt2osg.cpp, - src/osgPlugins/flt/flt2osg.h, src/osgPlugins/flt/opcodes.h: - 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 - - * include/osg/MatrixTransform, - include/osg/PositionAttitudeTransform: Added SG_EXPORT to - PositionAttitudeTransform and MatrixTransform. - -2002-08-14 09:30 robert - - * include/osg/Export: Commented out the #define USE_DEPRECATED_API. - -2002-08-13 18:29 don - - * Make/instrules: Added some comments - -2002-08-13 15:31 robert - - * include/osg/AnimationPath, include/osg/Billboard, - include/osg/MatrixTransform, - include/osg/PositionAttitudeTransform, - src/Demos/osgcallback/osgcallback.cpp, - src/Demos/osglight/osglight.cpp, src/osg/AnimationPath.cpp, - src/osg/Billboard.cpp, src/osg/MatrixTransform.cpp, - src/osg/PositionAttitudeTransform.cpp: Futher improvements and - fixes to osg::AnimationPath, and the osglight - demo to show it action. - -2002-08-13 13:22 robert - - * src/Demos/osglight/osglight.cpp, src/osg/AnimationPath.cpp, - src/osg/PositionAttitudeTransform.cpp, src/osgGLUT/Viewer.cpp, - src/osgUtil/SceneView.cpp: 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 +Tue, 10 Apr 2007 13:12:58 +0000 +Checked in by : Robert Osfield +Removed more of the old VisualStudio build system - * src/osgUtil/RenderBin.cpp: Fixed uninitialized _sortMode. - -2002-08-12 17:40 robert - - * include/osg/PositionAttitudeTransform, - src/Demos/osglight/osglight.cpp, - src/osg/PositionAttitudeTransform.cpp: 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 - - * include/osg/DOFTransform, src/osg/DOFTransform.cpp, - src/osgPlugins/flt/GroupRecord.h, src/osgPlugins/flt/flt2osg.cpp: - 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 - - * src/osg/Sequence.cpp: attempt to fix read only status of - Sequence.cpp. - -2002-08-11 21:26 robert - - * include/osg/NodeVisitor, src/osg/CollectOccludersVisitor.cpp, - src/osg/DOFTransform.cpp, src/osg/NodeVisitor.cpp, - src/osg/Sequence.cpp, src/osgUtil/AppVisitor.cpp, - src/osgUtil/CullVisitor.cpp: 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 - - * src/osgUtil/Optimizer.cpp: Temporarily commented out the flat - staic transforms visitor since it - was causing problems with the new DOFTransform class. - -2002-08-09 19:51 robert - - * AUTHORS, src/osgText/FTBitmapGlyph.cpp, - src/osgText/FTOutlineGlyph.cpp, src/osgText/FTPixmapGlyph.cpp, - src/osgText/FTPolyGlyph.cpp: Submission for Gideon May, fixes for - spacing in various osgText files. - -2002-08-09 16:27 robert - - * Make/debugtests.bat, Make/osgtests.bat, include/osg/Billboard, - src/Demos/osgbillboard/osgbillboard.cpp, src/osg/Billboard.cpp: - 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 - - * include/osg/Timer, src/osg/Timer.cpp: Fixes for IRIX 32bit timmer - on O2. From Tom Jolley. +Tue, 10 Apr 2007 13:10:25 +0000 +Checked in by : Robert Osfield +Removed old gmake and VisualStudio build files -2002-08-08 15:10 robert +Tue, 10 Apr 2007 12:11:16 +0000 +Checked in by : Robert Osfield +Updated to refect new incldue/osgViewer/Win32 directory for GraphicsWindowWin32 - * src/osg/DOFTransform.cpp: Fixed warning related to where - _increasingFlags is an unsigned short and 0xffffff is being - truncated, spotted by Tom Jolly. +Tue, 10 Apr 2007 11:09:38 +0000 +Checked in by : Robert Osfield +Updated wrapper to honour move of GraphicsWindow* include/osgViewer/api/ -2002-08-08 15:09 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. - * include/osg/Texture: Removed inline definition from front of - setMaxAnisotropy method. -2002-08-08 13:45 robert - * include/osg/Primitive, include/osg/UByte4: Fixed typos, sent in - by Warren Macchi. +Fri, 6 Apr 2007 19:51:20 +0000 +Checked in by : Robert Osfield +Fixed the handle of triangle fan. -2002-08-08 13:41 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. - * src/osg/CullStack.cpp: Fixed bug related to switching on/off - culling modes. Patch from Nikolaus Hanekamp. +Fri, 6 Apr 2007 15:36:13 +0000 +Checked in by : Robert Osfield +From Eric Wing, pedantic warning fixes -2002-08-08 11:27 robert +Fri, 6 Apr 2007 15:35:27 +0000 +Checked in by : Robert Osfield +Updated wrappers - * include/osg/Geometry, src/osg/GeoSet.cpp: 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. +Fri, 6 Apr 2007 15:13:02 +0000 +Checked in by : Robert Osfield +From Eric Wing, pedantic warning fixes -2002-08-08 11:01 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." - * src/osgPlugins/lib3ds/ReaderWriter3DS.cpp: Fixed the shininess - factor in 3ds plugin. +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." -2002-08-07 15:52 robert - * include/osg/Texture, src/Demos/osgbillboard/osgbillboard.cpp, - src/Demos/osgtexture/osgtexture.cpp, src/osg/Texture.cpp, - src/osgPlugins/flt/ReaderWriterATTR.cpp, - src/osgPlugins/osg/Texture.cpp, src/osgUtil/Optimizer.cpp: - 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 - * VisualStudio/Demos/osgsequence/osgsequence.cpp, - VisualStudio/Demos/osgsequence/osgsequence.dsp: Renamed - osgsequence.cpp to osgsequence.dsp, as it was clearly a typo... -2002-08-07 10:08 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." - * VisualStudio/osgPlugins/osg/dot_osg.dsp: Fixed type of - DOFTransform.cpp +Fri, 6 Apr 2007 14:33:55 +0000 +Checked in by : Robert Osfield +Add setting of ShadowVolumeGeometry draw mode -2002-08-06 17:07 robert +Thu, 5 Apr 2007 20:27:02 +0000 +Checked in by : Robert Osfield +Set default ShadeModel back to SMOOTH - * VisualStudio/osgPlugins/osg/dot_osg.dsp, - include/osg/DOFTransform, src/Demos/osgclip/osgclip.cpp, - src/Demos/osgreflect/osgreflect.cpp, - src/Demos/osgscribe/osgscribe.cpp, - src/Demos/osgsequence/osgsequence.cpp, - src/osgGA/StateSetManipulator.cpp, src/osgGLUT/Viewer.cpp, - src/osgPlugins/iv/osgvisitor.cpp, src/osgPlugins/iv/osgvisitor.h, - src/osgPlugins/osg/DOFTransform.cpp, src/osgPlugins/osg/Makefile, - src/osgPlugins/osg/PositionAttitudeTransform.cpp, - src/osgPlugins/osg/StateSet.cpp, src/osgUtil/Optimizer.cpp: 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. +Thu, 5 Apr 2007 16:12:10 +0000 +Checked in by : Robert Osfield +Added constructor argument to ShadeModel -2002-08-06 10:37 robert +Thu, 5 Apr 2007 15:04:05 +0000 +Checked in by : Robert Osfield +Commented out superfluous debug messages - * src/osg/DOFTransform.cpp: Changed the default value of - _animationOn to true. +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 -2002-08-06 10:07 robert +Wed, 4 Apr 2007 09:07:46 +0000 +Checked in by : Robert Osfield +Added support for flushing buffer objects - * include/osg/Camera: Fixed typo in comment. +Wed, 4 Apr 2007 08:09:24 +0000 +Checked in by : Robert Osfield +From Paul Martz, added osgViewer headers to VS syntax highlighting. -2002-08-06 10:04 robert +Wed, 4 Apr 2007 08:06:22 +0000 +Checked in by : Robert Osfield +Removed OpenThreads reference - * include/osg/Camera: Adde getViewFrustum() to camera. +Wed, 4 Apr 2007 08:05:45 +0000 +Checked in by : Robert Osfield +Updated wrappers -2002-08-05 15:07 robert +Wed, 4 Apr 2007 08:05:23 +0000 +Checked in by : Robert Osfield +From Mike Wittman, C# build fixes - * AUTHORS, VisualStudio/osg/osg.dsp, include/osg/DOFTransform, - src/osg/DOFTransform.cpp, src/osg/Makefile, - src/osgPlugins/flt/flt2osg.cpp: Added new osg::DOFTransform node - from Sasa Bistrovic, designed to mirror - the OpenFlight DOF transform nodes. +Tue, 3 Apr 2007 19:42:43 +0000 +Checked in by : Robert Osfield +From Andy Skinner, warning fix for Windows 64-bit build -2002-08-05 13:29 robert +Tue, 3 Apr 2007 19:18:20 +0000 +Checked in by : Robert Osfield +Added assignment of hieghts texture coords - * src/osgPlugins/osg/StateSet.cpp: Added support for PROTECTED - modes into the .osg reading and writing. - -2002-08-05 13:12 robert - - * src/Demos/osgreflect/osgreflect.cpp: 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 - - * src/Demos/osgsequence/osgsequence.cpp: Fixed compile errors under - IRIX. - -2002-08-05 12:40 robert - - * include/osg/State, include/osg/StateAttribute: 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 - - * VisualStudio/osgPlugins/iv/iv.dsp, src/osgPlugins/iv/Makefile, - src/osgPlugins/iv/main.cpp, src/osgPlugins/iv/main.h, - src/osgPlugins/iv/osgvisitor.cpp, - src/osgPlugins/iv/readerwriter.cpp, - src/osgPlugins/iv/readerwriter.h: 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 - - * src/osgPlugins/lwo/Lwo2.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/lwo/lw.cpp, src/osgPlugins/lwo/lw.h: 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. +Tue, 3 Apr 2007 15:39:05 +0000 +Checked in by : Robert Osfield +Preliminary work on TransferFunction support -2002-08-04 20:34 robert - - * AUTHORS, include/osg/MatrixTransform, include/osg/Transform, - src/osgGLUT/Viewer.cpp, src/osgPlugins/iv/main.cpp, - src/osgPlugins/iv/osgvisitor.cpp, src/osgPlugins/iv/scanner.cpp, - src/osgPlugins/iv/scanner.l: 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 +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. -2002-08-03 19:42 robert +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. - * VisualStudio/osgPlugins/osg/dot_osg.dsp, - src/osgPlugins/osg/Sequence.cpp: Added Sequence.cpp to osg plugin - workspace file. +Sun, 1 Apr 2007 11:19:46 +0000 +Checked in by : Robert Osfield +Added support for texture layer. -2002-08-03 19:37 robert +Fri, 30 Mar 2007 15:16:29 +0000 +Checked in by : Robert Osfield +Added debugging code - * include/osg/LightSource: Changed the copy constructor of for - _light mem var to use a dynamic_cast. +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. -2002-08-03 18:11 robert +Fri, 30 Mar 2007 14:57:01 +0000 +Checked in by : Robert Osfield +Added support 16bit intensity formats - * AUTHORS, Make/makedirdefs, VisualStudio/Demos/osgsequence, - VisualStudio/Demos/osgsequence/osgsequence.cpp, - VisualStudio/VisualStudio.dsw, VisualStudio/osg/osg.dsp, - VisualStudio/osgPlugins/iv/iv.dsp, include/osg/NodeVisitor, - include/osg/Sequence, src/Demos/osgsequence, - src/Demos/osgsequence/Makefile, - src/Demos/osgsequence/Makefile.inst, - src/Demos/osgsequence/osgsequence.cpp, src/osg/Makefile, - src/osg/Sequence.cpp, src/osg/Texture.cpp, - src/osgDB/DynamicLibrary.cpp, src/osgPlugins/osg/Makefile, - src/osgPlugins/osg/Sequence.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/pfb/ReaderWriterPFB.cpp: 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 +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. - * include/osgParticle/Interpolator, - include/osgParticle/RadialShooter, - include/osgParticle/SectorPlacer, include/osgParticle/range, - src/osgParticle/IO_Particle.cpp, - src/osgParticle/IO_RadialShooter.cpp, - src/osgParticle/IO_SectorPlacer.cpp, - src/osgParticle/IO_VariableRateCounter.cpp: 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 +Updated wrappers - * include/osgUtil/RenderBin, src/osgUtil/RenderBin.cpp: Added - support for a sort callback in RenderBin. - -2002-08-03 16:48 robert - - * include/osg/MatrixTransform, include/osg/Transform: Fixed - comments. - -2002-08-03 16:37 robert - - * src/osg/CullStack.cpp, src/osgUtil/SceneView.cpp: 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 - * src/osgPlugins/iv/parser.hpp: Fix for Win32 build - -2002-08-02 15:14 robert - - * src/osgUtil/IntersectVisitor.cpp: Added missing _nodePath.clear() - and _segHitList.clear() to InteresectVisitor::reset(). +Thu, 29 Mar 2007 19:39:20 +0000 +Checked in by : Robert Osfield +Fixed missing initializer in Options constrctor -2002-07-31 15:16 robert +Thu, 29 Mar 2007 15:41:59 +0000 +Checked in by : Robert Osfield +Removed the using to avoid VS 7.1 build problem - * src/osgPlugins/iv/atrvec3list.h, - src/osgPlugins/iv/indexedtristripset.h, - src/osgPlugins/iv/main.cpp, src/osgPlugins/iv/mynodevisitor.h, - src/osgPlugins/iv/osgvisitor.cpp, src/osgPlugins/iv/osgvisitor.h, - src/osgPlugins/iv/parser.cpp, src/osgPlugins/iv/parser.hpp, - src/osgPlugins/iv/parser.y, src/osgPlugins/iv/scanner.cpp, - src/osgPlugins/iv/scanner.l: Updates to iv/vrml loader from - Ruben. +Thu, 29 Mar 2007 14:45:35 +0000 +Checked in by : Robert Osfield +Added creation of basic geoemtry to test Locator and extents -2002-07-30 10:08 robert +Thu, 29 Mar 2007 12:41:18 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/iv/osgvisitor.cpp: Updates to the iv loader from - Ruben - conversion from GeoSet to Geoemetry. +Thu, 29 Mar 2007 10:56:07 +0000 +Checked in by : Robert Osfield +From Eric Wing, added handling of CMAKE_THREAD_LIBS_INIT -2002-07-29 21:29 robert +Thu, 29 Mar 2007 10:13:36 +0000 +Checked in by : Robert Osfield +Added missing return value - * src/Demos/osgprerender/osgprerender.cpp: Forced the use of non - mip mapped texture during subloading in the osgprerender - demo. +Thu, 29 Mar 2007 09:29:26 +0000 +Checked in by : Robert Osfield +From Eric Wing, "Added the conditionals for SDLMain." -2002-07-29 11:02 robert +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 - * src/osg/Texture.cpp: Removed default value from constructor. +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." -2002-07-29 00:04 robert +Wed, 28 Mar 2007 14:50:58 +0000 +Checked in by : Robert Osfield +Removed the Found OpenThreads message - * src/Demos/osgprerender/osgprerender.cpp, - src/Demos/osgscribe/osgscribe.cpp, src/osg/Image.cpp, - src/osg/Texture.cpp, src/osg/TextureCubeMap.cpp: Fixes to the new - texture subloading methods. +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 -2002-07-28 23:28 robert +Wed, 28 Mar 2007 11:30:38 +0000 +Checked in by : Robert Osfield +Removed deprecated drawImplementation(State&) method from Drawable and Drawable::DrawCallback - * include/osg/Texture, src/osg/Texture.cpp, - src/osg/TextureCubeMap.cpp: 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. +Wed, 28 Mar 2007 08:53:18 +0000 +Checked in by : Robert Osfield +From Martin Amueller, Add libosgGA and libosgText for OSX build -2002-07-28 23:27 robert +Wed, 28 Mar 2007 08:52:44 +0000 +Checked in by : Robert Osfield +Replaced the X11 Window by Carbon WindowRef in the WindowData structure. - * src/osgPlugins/lwo/Lwo2.cpp, src/osgPlugins/lwo/Lwo2.h, - src/osgPlugins/lwo/Lwo2Layer.cpp, src/osgPlugins/lwo/Lwo2Layer.h, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/osg/Texture.cpp: Checked in Pavel's updates for - non texured surfaces. +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: -2002-07-28 21:25 robert +#ifdef COIN_SOCALLBACKACTION_H + #define USE_COIN 1 +#endif - * include/osg/Texture, src/osg/Texture.cpp: 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 - * src/osgPlugins/iv/parser.hpp: 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 - * src/osgPlugins/lwo/ReaderWriterLWO.cpp: Chagned the - initiliazation of iterators, sent in by Alberto Barbati. -2002-07-28 12:49 robert +Wed, 28 Mar 2007 07:34:46 +0000 +Checked in by : Robert Osfield +From Luigi Calori, added Find3rdPartyDependencies.cmake - * VisualStudio/osgPlugins/iv/iv.dsp, include/osg/NodeCallback, - src/osgUtil/RenderBin.cpp: Fixes to NodeCallback and RenderBin - from Alberto Barbati. +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" -2002-07-27 21:35 robert +Tue, 27 Mar 2007 19:39:00 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgPlugins/iv/atrfloat.h, src/osgPlugins/iv/atrstring.h, - src/osgPlugins/iv/atrvec.h, src/osgPlugins/iv/attribute.h, - src/osgPlugins/iv/main.cpp, src/osgPlugins/iv/mynode.h, - src/osgPlugins/iv/mynodevisitor.h, - src/osgPlugins/iv/osgvisitor.cpp, src/osgPlugins/iv/osgvisitor.h, - src/osgPlugins/iv/parser.cpp.h: Fixes to the inventor/vrml - loader. +Tue, 27 Mar 2007 19:27:36 +0000 +Checked in by : Robert Osfield +Add computeBound support to TerrainNode and Layer. -2002-07-27 10:34 robert +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. - * include/osgParticle/ParticleSystem, - src/osgParticle/ParticleSystem.cpp: From Macro, removal of use of - display lists during double pass rendering of - particles. +Tue, 27 Mar 2007 16:01:01 +0000 +Checked in by : Robert Osfield +Rearranged the traversal and initialization of TerrainTechnique -2002-07-27 10:25 robert +Tue, 27 Mar 2007 11:23:57 +0000 +Checked in by : Robert Osfield +Added EllipsoidLocator. - * src/osgPlugins/iv/scanner.cpp: Fix for Windows +Tue, 27 Mar 2007 08:43:59 +0000 +Checked in by : Robert Osfield +Added #include for non Win32/Mingw build -2002-07-27 10:22 robert +Tue, 27 Mar 2007 08:40:25 +0000 +Checked in by : Robert Osfield +Added -lgdi32 to CYGWIN path - * src/osgPlugins/lwo/Lwo2.cpp, src/osgPlugins/lwo/Lwo2Layer.cpp, - src/osgPlugins/lwo/Lwo2Layer.h: Fixes for Win32 build. +Mon, 26 Mar 2007 19:38:04 +0000 +Checked in by : Robert Osfield +Fixed header files specification -2002-07-27 10:09 robert +Mon, 26 Mar 2007 19:24:18 +0000 +Checked in by : Robert Osfield +Added return false; to default implementations of convert functions - * include/osgGLUT/Viewer, src/osgGLUT/Viewer.cpp: Added return - value to addViewport. +Mon, 26 Mar 2007 16:32:31 +0000 +Checked in by : Robert Osfield +Added GeometryTechnique -2002-07-26 18:46 robert +Mon, 26 Mar 2007 16:28:26 +0000 +Checked in by : Robert Osfield +Removed WindowData parameter from init(). - * src/osgPlugins/iv/atrfloat.h, src/osgPlugins/iv/atrstring.h, - src/osgPlugins/iv/atrvec.h, src/osgPlugins/iv/attribute.h, - src/osgPlugins/iv/mynode.h, src/osgPlugins/iv/mynodevisitor.h, - src/osgPlugins/iv/osgvisitor.h: Added missing osg:: from various - references to osg::Objectf +Mon, 26 Mar 2007 15:52:22 +0000 +Checked in by : Robert Osfield +Added Locator and layer setting to osgterrain example -2002-07-26 16:33 robert +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" - * AUTHORS, VisualStudio/osgPlugins/lwo/lwo.dsp, - src/osgPlugins/lwo/Lwo2.cpp, src/osgPlugins/lwo/Lwo2.h, - src/osgPlugins/lwo/Lwo2Layer.cpp, src/osgPlugins/lwo/Lwo2Layer.h, - src/osgPlugins/lwo/Makefile, - src/osgPlugins/lwo/ReaderWriterLWO.cpp: Added support for LWO2, - send in by Pavel Moloshtan. +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." -2002-07-26 16:02 robert +Mon, 26 Mar 2007 09:48:02 +0000 +Checked in by : Robert Osfield +Changed the external library specification to use TARGET_EXTERNAL_LIBRARIES - * VisualStudio/VisualStudio.dsw, VisualStudio/osgPlugins/iv, - VisualStudio/osgPlugins/iv/iv.dsp: Added project file for - inventor plugin. +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. -2002-07-26 15:37 robert +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." - * AUTHORS, Make/makedirdefs, src/osgDB/Registry.cpp, - src/osgPlugins/iv, src/osgPlugins/iv/COPYING, - src/osgPlugins/iv/Makefile, src/osgPlugins/iv/Makefile.orig, - src/osgPlugins/iv/README, src/osgPlugins/iv/atrfloat.h, - src/osgPlugins/iv/atrstring.h, src/osgPlugins/iv/atrvec.h, - src/osgPlugins/iv/attribute.h, src/osgPlugins/iv/coordinate3.h, - src/osgPlugins/iv/geometry.h, src/osgPlugins/iv/indexedfaceset.h, - src/osgPlugins/iv/ltstr.h, src/osgPlugins/iv/main.cpp, - src/osgPlugins/iv/main.h, src/osgPlugins/iv/material.h, - src/osgPlugins/iv/matrixtransform.h, src/osgPlugins/iv/mynode.h, - src/osgPlugins/iv/mynodevisitor.h, - src/osgPlugins/iv/nodecache.cpp, src/osgPlugins/iv/nodecache.h, - src/osgPlugins/iv/normals.cpp, src/osgPlugins/iv/normals.h, - src/osgPlugins/iv/osgvisitor.cpp, src/osgPlugins/iv/osgvisitor.h, - src/osgPlugins/iv/parser.cpp, src/osgPlugins/iv/parser.cpp.h, - src/osgPlugins/iv/parser.hpp, src/osgPlugins/iv/parser.y, - src/osgPlugins/iv/readerwriter.cpp, - src/osgPlugins/iv/readerwriter.h, src/osgPlugins/iv/scanner.cpp, - src/osgPlugins/iv/scanner.l, src/osgPlugins/iv/separator.h, - src/osgPlugins/iv/texture2.h, - src/osgPlugins/iv/texturecoordinate.h, - src/osgPlugins/iv/transform.h: Added Ruben Lopez's Inventor/VRML - 1.0 loader. +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 -2002-07-26 12:49 robert +Fri, 23 Mar 2007 10:11:09 +0000 +Checked in by : Robert Osfield +Added missing StencilTwoSided header - * include/osg/Geometry: Change Geometry paramter name to lower case - geometry. +Fri, 23 Mar 2007 08:53:06 +0000 +Checked in by : Robert Osfield +Added automatic creation of lib bin and lib/osgPlugins -2002-07-25 22:08 robert +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 - * src/osgPlugins/flt/flt2osg.cpp: From Ferdinand Cornelissen - - Futher updates to the DOF code. +Thu, 22 Mar 2007 14:45:13 +0000 +Checked in by : Robert Osfield +Added CMake build suppport for osgsimpleviewerQT4 -2002-07-25 21:58 robert +Thu, 22 Mar 2007 14:44:05 +0000 +Checked in by : Robert Osfield +Added CMake QT3, FLTK and osgintrospection example build support. - * src/osg/Matrix.cpp: Added missing return statement to if() block - in Matrix::mult code. Bug spotted - by Ray Conner. +Thu, 22 Mar 2007 14:06:27 +0000 +Checked in by : Robert Osfield +Added CMake build support for GLUT and SDL examples -2002-07-25 21:50 robert +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 - * doc/Doxyfiles/auto_Doxyfile, doc/Doxyfiles/core_Doxyfile, - include/osg/CopyOp, include/osgUtil/IntersectVisitor, - src/osg/CopyOp.cpp, src/osg/Geometry.cpp, - src/osgUtil/IntersectVisitor.cpp: Fixes to Doxygen files from - Neil. - - Removed unused set/getReportMode() methods and member variables - from IntersectVisitor. - - Added deep copy construction of Geometry objects. +Thu, 22 Mar 2007 13:37:47 +0000 +Checked in by : Robert Osfield +Updated the header list -2002-07-25 21:45 robert +Thu, 22 Mar 2007 12:58:01 +0000 +Checked in by : Robert Osfield +Fixed link name - * src/osgUtil/Optimizer.cpp: Changed > operator to < and swapped - sides of expression, to enable compilation - across compilers. +Wed, 21 Mar 2007 17:18:53 +0000 +Checked in by : Robert Osfield +Added ImageLayer, ArrayLayer and HeightFieldLayer classes -2002-07-25 16:15 robert +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. - * src/osgUtil/Optimizer.cpp: Fix to geometry combiner which wasn't - check the overall color array values - in the lessGeometry functor. -2002-07-25 15:25 robert - * src/osgPlugins/flt/flt2osg.cpp: Fix to DOF Record from Sasa - Bistroviae. -2002-07-25 15:21 robert +Wed, 21 Mar 2007 09:42:14 +0000 +Checked in by : Robert Osfield +Removed erroneous entry of GNUmakefile - * src/osgPlugins/flt/Pool.cpp, src/osgPlugins/flt/Pool.h, - src/osgPlugins/flt/flt2osg.cpp, src/osgPlugins/flt/flt2osg.h: Fix - for colors in old flt models from Brede. +Tue, 20 Mar 2007 17:07:37 +0000 +Checked in by : Robert Osfield +Added osg:: to computeLocalToWorld to fix build under VS7. -2002-07-25 14:42 robert +Tue, 20 Mar 2007 11:19:00 +0000 +Checked in by : Robert Osfield +From Luigi Calori, clean up CMakeLists.txt - * Make/makedefs: Removed double quotes from around the : - DBGF = -g -DOSG_USE_MEMORY_MANAGER - - As this was breaking the build. +Tue, 20 Mar 2007 09:50:24 +0000 +Checked in by : Robert Osfield +From Philip Lowman, added support for Inventor -2002-07-24 16:29 robert +Mon, 19 Mar 2007 19:05:18 +0000 +Checked in by : Robert Osfield +From Andreas Goebel, build fix - * src/osgPlugins/flt/flt2osg.cpp: Implemented the DOF handling more - cleanly, as per OpenFlight15.7 docs. +Mon, 19 Mar 2007 17:24:19 +0000 +Checked in by : Robert Osfield +Moved the TARGET_NAME setting into the OsgMacroUtils.cmake. -2002-07-23 18:44 robert +Mon, 19 Mar 2007 17:18:59 +0000 +Checked in by : Robert Osfield +Moved the TARGET_NAME setting into the SETUP_APPLICATION/EXAMPLE macro - * src/osgGLUT/Viewer.cpp: Added missing std:: to endl; +Mon, 19 Mar 2007 14:10:12 +0000 +Checked in by : Robert Osfield +Added CMake support for txf, osgViewer and osgShadow plugins -2002-07-23 15:48 robert +Mon, 19 Mar 2007 13:26:34 +0000 +Checked in by : Robert Osfield +Ran dos2unix on CMakeLists.txt files. - * src/osg/Geometry.cpp: Added the missing _primtives from the copy - constructor list. +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. -2002-07-23 15:45 robert - * src/osgGLUT/Viewer.cpp: Added fog toggling to Viewer.cpp, 'y' - reduces fog density, 'Y' increases - fog density. -2002-07-23 15:01 robert +Mon, 19 Mar 2007 11:47:49 +0000 +Checked in by : Robert Osfield +Updated wrappers - * Make/makedefs, Make/makerules, include/osg/Math: Mods for HP-UX - port. +Mon, 19 Mar 2007 11:35:36 +0000 +Checked in by : Robert Osfield +From Andreas Goebel, add -lgdi to GNUmakefile -2002-07-23 14:35 robert +Mon, 19 Mar 2007 11:25:41 +0000 +Checked in by : Robert Osfield +Further work on TerrainNode - * src/osg/StateSet.cpp: Added mode checking into StateSet to try - and catch non texture OpenGL modes - which have been applied to the texture modes and visa-versa. +Mon, 19 Mar 2007 10:54:39 +0000 +Checked in by : Robert Osfield +Build fixes -2002-07-23 13:30 robert +Mon, 19 Mar 2007 10:38:44 +0000 +Checked in by : Robert Osfield +Further work on osgterrain example - * Make/makedefs, src/osgPlugins/dx/DXWriter.cpp: Support added for - Gnu C++ under Solaris. +Sun, 18 Mar 2007 11:04:12 +0000 +Checked in by : Robert Osfield +Removed now redundent method -2002-07-23 10:48 robert +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) - * AUTHORS, Make/makedefs, Make/makerules, include/osg/Math, - include/osgGLUT/glut, src/Demos/osgcluster/README, - src/Demos/osgcluster/broadcaster.cpp, - src/Demos/osgimpostor/README, src/Demos/sgv/README, - src/osg/GLExtensions.cpp, src/osgDB/DynamicLibrary.cpp, - src/osgDB/Registry.cpp, src/osgGLUT/Window.cpp, - src/osgPlugins/dx/DXWriter.cpp, src/osgPlugins/gif/Makefile, - src/osgPlugins/jpeg/Makefile, src/osgPlugins/osg/README, - src/osgPlugins/png/Makefile, src/osgPlugins/tiff/Makefile, - src/osgText/Makefile: Checked in Tino Schwarze's port to HP-UX. + But in the new version, this function use the template argument "T": + typeof(typename remove_pointer::type) -2002-07-22 16:01 robert + This is a good meta-programming use, but here we need a dynamic request. - * include/osgParticle/Particle, include/osgParticle/ParticleSystem, - include/osgText/Font: Updates to osgParticle form Macro. + Moreover the "typeof" macro define in "Reflection" header accept only a type in parameter with the new version. + -2002-07-22 13:05 robert - * src/osg/MemoryManager.cpp, src/osgParticle/IO_ParticleSystem.cpp, - src/osgParticle/Particle.cpp, src/osgParticle/ParticleSystem.cpp: - Merged changed to osgParticle from Macro, these add the ability - to - orientate the particles to predefined axis. + 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. +" -2002-07-22 12:41 robert - * src/osgText/FTFace.cpp, src/osgText/FTFont.cpp, - src/osgText/FTGLTextureFont.cpp, src/osgText/FTGlyph.cpp, - src/osgText/FTOutlineGlyph.cpp, src/osgText/FTOutlineGlyph.h, - src/osgText/FTPolyGlyph.cpp, src/osgText/FTPolyGlyph.h, - src/osgText/FTVectoriser.h: Fixed more uninitialized variables - and two potential memory leaks. -2002-07-21 20:34 robert +Fri, 16 Mar 2007 14:27:30 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgText/FTBitmapGlyph.cpp, src/osgText/FTFace.cpp, - src/osgText/FTFont.cpp, src/osgText/FTGLTextureFont.cpp, - src/osgText/FTOutlineGlyph.cpp, src/osgText/FTPixmapGlyph.cpp, - src/osgText/FTPolyGlyph.cpp, src/osgText/FTSize.cpp, - src/osgText/FTTextureGlyph.cpp, src/osgText/FTVectoriser.cpp, - src/osgText/IO_Font.cpp: Fixed various uninitiliazed variables. +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 -2002-07-21 10:44 robert +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." - * src/osgParticle/FluidFrictionOperator.cpp, - src/osgParticle/Particle.cpp, - src/osgParticle/ParticleProcessor.cpp, - src/osgParticle/ParticleSystem.cpp: Added default construction - values for various member variables to fix report - uninitialized variables. +Thu, 15 Mar 2007 13:17:05 +0000 +Checked in by : Robert Osfield +From Philip Lowman, added gdi32 entry fro Mingw build -2002-07-21 10:04 robert +Wed, 14 Mar 2007 12:59:06 +0000 +Checked in by : Robert Osfield +Name fixes - * src/osg/CullStack.cpp, src/osg/MemoryManager.cpp, - src/osgGA/DriveManipulator.cpp, src/osgPlugins/osg/GeoSet.cpp, - src/osgUtil/SceneView.cpp: Futher work on ensuring that all - datatypes are initilizaed in OSG objects. +Wed, 14 Mar 2007 12:43:29 +0000 +Checked in by : Robert Osfield +Added osgterrain example -2002-07-21 01:29 robert +Wed, 14 Mar 2007 12:42:21 +0000 +Checked in by : Robert Osfield +Added osgterrain to build - * include/osgUtil/SceneView, src/Demos/osgcube/osgcube.cpp, - src/osg/CullStack.cpp, src/osg/GeoSet.cpp, - src/osg/ImpostorSprite.cpp, src/osg/LightSource.cpp, - src/osg/MatrixTransform.cpp, src/osg/MemoryManager.cpp, - src/osg/Texture.cpp, src/osg/TextureCubeMap.cpp, - src/osg/Transform.cpp, src/osgDB/Field.cpp, - src/osgUtil/CullVisitor.cpp: Futher changes to remove unitialized - variables/reordering of initialization to - prevent unitialized warnings. +Wed, 14 Mar 2007 12:31:53 +0000 +Checked in by : Robert Osfield +Updated wrappers -2002-07-20 23:54 robert +Wed, 14 Mar 2007 12:00:54 +0000 +Checked in by : Robert Osfield +Added class shells for osgTerrain::Locator and osgTerrain::Layer classes - * include/osg/CollectOccludersVisitor, include/osg/MemoryManager, - include/osgDB/Registry, include/osgGLUT/Viewer, - include/osgUtil/CullVisitor, include/osgUtil/DepthSortedBin, - include/osgUtil/RenderBin, include/osgUtil/RenderGraph, - include/osgUtil/RenderStage, include/osgUtil/RenderStageLighting, - include/osgUtil/RenderToTextureStage, include/osgUtil/SceneView, - src/Demos/osgcube/osgcube.cpp, src/osg/MemoryManager.cpp, - src/osgGLUT/Viewer.cpp, src/osgUtil/CullVisitor.cpp: Various - fixes to constructors to ensure that all variables are - initialized. +Wed, 14 Mar 2007 11:24:04 +0000 +Checked in by : Robert Osfield +Renamed HeightFieldNode and HeightFieldRenderer to TerrainNode and TerrainTechnique respectively -2002-07-20 22:44 robert +Wed, 14 Mar 2007 10:02:45 +0000 +Checked in by : Robert Osfield +Changed typeid(CullVisitor) check to dynamic_cast - * src/osg/State.cpp: Added missing default values to State - constructor. +Tue, 13 Mar 2007 20:09:21 +0000 +Checked in by : Robert Osfield +Fixed spacing of message -2002-07-20 22:40 robert +Tue, 13 Mar 2007 20:06:01 +0000 +Checked in by : Robert Osfield +Added lib64 to search path for OpenThreads - * src/osg/FrameStamp.cpp: Added default values for FrameStamp.cpp - constructor. +Tue, 13 Mar 2007 12:25:30 +0000 +Checked in by : Robert Osfield +From Mathieu Narache, build fixes for IRIX64 -2002-07-20 22:36 robert +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 - * include/osg/ConvexPlanerPolygon, src/osg/ConvexPlanerPolygon.cpp: - Removed the rendundent variables in the ConvexPlanerPolygon as - these were - unused and unitialized. +Tue, 13 Mar 2007 08:18:13 +0000 +Checked in by : Robert Osfield +Checked in missing implementation of cleanSceneGraph. -2002-07-20 22:36 robert +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. - * src/osg/MemoryManager.cpp: 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. +Mon, 12 Mar 2007 21:13:15 +0000 +Checked in by : Robert Osfield +Added IF(BUILD_OSG_WRAPPERS) arouind osgintrospection example -2002-07-20 21:37 robert +Mon, 12 Mar 2007 12:46:36 +0000 +Checked in by : Robert Osfield +Fixed install paths of wrappers and plugins - * src/osg/MemoryManager.cpp: 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 +Mon, 12 Mar 2007 12:14:20 +0000 +Checked in by : Robert Osfield +Removed GDAL references -2002-07-20 18:27 robert +Mon, 12 Mar 2007 12:13:52 +0000 +Checked in by : Robert Osfield +Removed GDAL references - * doc/introduction.html, doc/plan.html, src/osg/Texture.cpp: Umm... - these should have already been commited, not sure why cvs has - just - popped these ones up... +Mon, 12 Mar 2007 11:49:10 +0000 +Checked in by : Robert Osfield +Cleaned up the ordering of the code component compilation -2002-07-20 16:24 don +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 - * Make/makedirdefs: Added logo plugin +Mon, 12 Mar 2007 08:32:56 +0000 +Checked in by : Robert Osfield +From Luigi Calori, fixes for building wrappers with lib prefix. -2002-07-20 15:01 robert +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 - * src/osgGLUT/Viewer.cpp: Fixed the char[] array length to fully - encompass the strings bring written - to them. -2002-07-20 15:00 robert - * src/osgUtil/Tesselator.cpp: Fixed the glTessCallback type to - GLU_TESS_ERROR_DATA. -2002-07-19 15:49 robert +Sun, 11 Mar 2007 13:21:48 +0000 +Checked in by : Robert Osfield +Moved introspection build into optional compile section - * ChangeLog, NEWS, include/osg/BoundingBox: Small bug fix to - osg::BoundingBox::expandBy(x,y,z). - - Updated ChangeLog and NEWS for the release. - -2002-07-19 15:03 robert - - * src/osgUtil/Optimizer.cpp: Removed debugging cout's. - -2002-07-19 14:52 robert - - * doc/Doxyfiles/all_Doxyfile, doc/Doxyfiles/auto_Doxyfile, - doc/Doxyfiles/auto_Mainpage, doc/Doxyfiles/core_Doxyfile: Updated - Doyxgen files. - -2002-07-19 14:19 robert - - * include/osg/Geometry, include/osgUtil/Optimizer, - src/osgPlugins/flt/GeoSetBuilder.cpp: 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 - - * src/osgUtil/Optimizer.cpp: Added primitve merging into the - osg::Geometry optimizer. - -2002-07-19 12:51 robert - - * Make/debugtests.bat, Make/osgtests.bat: Removed the cow.osg - paramter for the osgparticle cow.osg in the test scripts - -2002-07-19 10:18 robert - - * VisualStudio/osgPlugins/osg/dot_osg.dsp: Added - MatrixTransform.cpp. - -2002-07-19 09:10 robert - - * src/Demos/osgmultitexture/osgmultitexture.cpp: Changed the - "reflect.rgb" path to "Images/reflect.rgb" to the help find the - file required. - -2002-07-18 22:35 robert - - * NEWS, include/osg/BoundingBox, include/osg/Drawable, - include/osg/Geometry, src/osg/BoundingBox.cpp, - src/osg/Drawable.cpp, src/osg/GeoSet.cpp, src/osg/Geometry.cpp, - src/osgPlugins/flt/GeoSetBuilder.cpp: 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 - - * Make/debugtests.bat, Make/osgtests.bat: Added osgoccluder to test - scripts. - -2002-07-18 19:54 robert - - * src/osgGLUT/Viewer.cpp: 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 - - * doc/doc++/osg/AlphaFunc.html, doc/doc++/osg/Array.html, - doc/doc++/osg/ArrayVisitor.html, - doc/doc++/osg/AttributeFunctor.html, - doc/doc++/osg/Billboard.html, doc/doc++/osg/BlendFunc.html, - doc/doc++/osg/ClipNode.html, doc/doc++/osg/ClipPlane.html, - doc/doc++/osg/CollectOccludersVisitor.html, - doc/doc++/osg/ColorMask.html, doc/doc++/osg/ColorMatrix.html, - doc/doc++/osg/ConvexPlanerOccluder.html, - doc/doc++/osg/ConvexPlanerPolygon.html, - doc/doc++/osg/CullFace.html, doc/doc++/osg/CullStack.html, - doc/doc++/osg/CullingSet.html, doc/doc++/osg/Depth.html, - doc/doc++/osg/DrawArrayLengths.html, - doc/doc++/osg/DrawArrays.html, - doc/doc++/osg/DrawElementsUByte.html, - doc/doc++/osg/DrawElementsUInt.html, - doc/doc++/osg/DrawElementsUShort.html, - doc/doc++/osg/DrawPixels.html, doc/doc++/osg/Drawable.html, - doc/doc++/osg/Fog.html, doc/doc++/osg/FrontFace.html, - doc/doc++/osg/GeoSet.html, doc/doc++/osg/Geode.html, - doc/doc++/osg/Geometry.html, doc/doc++/osg/HIER.html, - doc/doc++/osg/HIERjava.html, doc/doc++/osg/Image.html, - doc/doc++/osg/ImpostorSprite.html, doc/doc++/osg/Light.html, - doc/doc++/osg/LightModel.html, doc/doc++/osg/LineStipple.html, - doc/doc++/osg/LineWidth.html, doc/doc++/osg/Material.html, - doc/doc++/osg/Matrix.html, doc/doc++/osg/MatrixTransform.html, - doc/doc++/osg/Object.html, doc/doc++/osg/OccluderNode.html, - doc/doc++/osg/Point.html, doc/doc++/osg/PolygonMode.html, - doc/doc++/osg/PolygonOffset.html, doc/doc++/osg/Polytope.html, - doc/doc++/osg/Primitive.html, - doc/doc++/osg/PrimitiveFunctor.html, - doc/doc++/osg/ShadeModel.html, - doc/doc++/osg/ShadowOccluderVolume.html, - doc/doc++/osg/ShadowVolumeOccluder.html, - doc/doc++/osg/StateAttribute.html, doc/doc++/osg/StateSet.html, - doc/doc++/osg/Statistics.html, doc/doc++/osg/Stencil.html, - doc/doc++/osg/TemplateArray.html, doc/doc++/osg/TexEnv.html, - doc/doc++/osg/TexGen.html, doc/doc++/osg/TexMat.html, - doc/doc++/osg/Texture.html, doc/doc++/osg/TextureCubeMap.html, - doc/doc++/osg/TriangleFunctor.html, doc/doc++/osg/UByte4.html, - doc/doc++/osg/VectorSizei.html, doc/doc++/osg/VectorUByte.html, - doc/doc++/osg/VectorUInt.html, doc/doc++/osg/VectorUShort.html, - doc/doc++/osg/Viewport.html, doc/doc++/osg/fast_back_stack.html, - doc/doc++/osg/getGLExtensionFuncPtr.2.html, - doc/doc++/osg/globalnotifylevel..html, - doc/doc++/osg/globalnotifynulstream..html, - doc/doc++/osg/operator.2.html, doc/doc++/osg/operator.html, - doc/doc++/osg/osg.html, doc/doc++/osgDB/FilePathList.html, - doc/doc++/osgDB/PushAndPopDataPath.html, - doc/doc++/osgDB/fileExists.html, - doc/doc++/osgGA/GUIEventHandlerVisitor.html, - doc/doc++/osgGA/KeySwitchCameraManipulator.html, - doc/doc++/osgGLUT/Viewer.html, - doc/doc++/osgParticle/ParticleSystem.html, - doc/doc++/osgUtil/ConvertGeoSetsToGeometryVisitor.html, - doc/doc++/osgUtil/General.html, doc/doc++/osgUtil/HIER.html, - doc/doc++/osgUtil/HIERjava.html, - doc/doc++/osgUtil/LeafDepthSortFunctor.html, - doc/doc++/osgUtil/Optimizer.html, - doc/doc++/osgUtil/RemoveEmptyNodesVisitor.html, - doc/doc++/osgUtil/RemoveLowestStaticTransformsVisitor.html, - doc/doc++/osgUtil/index.html: Updated docs ready for the release. - -2002-07-18 19:41 robert - - * include/osg/Node, include/osg/Object, src/osg/Node.cpp, - src/osg/Object.cpp, src/osgPlugins/osg/Geode.cpp: 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 - - * include/osg/Drawable, include/osg/GeoSet, include/osg/Geometry, - include/osg/ImpostorSprite, include/osg/Primitive, - src/Demos/osggeometry/osggeometry.cpp, - src/Demos/osgprerender/osgprerender.cpp, src/osg/GeoSet.cpp, - src/osg/Geometry.cpp, src/osg/ImpostorSprite.cpp, - src/osg/Primitive.cpp, src/osgUtil/IntersectVisitor.cpp, - src/osgUtil/Optimizer.cpp, src/osgUtil/RenderBin.cpp, - src/osgUtil/SmoothingVisitor.cpp, - src/osgUtil/TriStripVisitor.cpp: 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 - - * src/Demos/osghangglide/sky.cpp, - src/Demos/osghangglide/terrain.cpp: From Randall Hopper, warning - fixes for IRIX. - -2002-07-18 15:25 robert - - * src/osgPlugins/flt/TexturePaletteRecord.cpp: From Brede Johansen, - fix the TexturePaletteRecord::endian() to handle - old flt versions (11, 12 & 13). - -2002-07-18 14:29 robert - - * src/osgPlugins/flt/flt2osg.cpp: 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 - - * include/osg/Drawable, include/osg/GeoSet, include/osg/Geometry, - include/osg/ImpostorSprite, include/osg/Statistics, - include/osgParticle/ParticleSystem, include/osgUtil/RenderBin, - src/osg/GeoSet.cpp, src/osg/Geometry.cpp, - src/osg/ImpostorSprite.cpp, src/osgGLUT/Viewer.cpp, - src/osgUtil/IntersectVisitor.cpp, src/osgUtil/RenderBin.cpp, - src/osgUtil/RenderStage.cpp: 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 - - * src/osg/LightSource.cpp: 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 - - * Make/debugtests.bat, Make/osgtests.bat: Updated the test scripts - to include cube mapping example and osglight demo. - -2002-07-18 10:41 robert - - * src/osgPlugins/flt/flt2osg.cpp: Removed repeated return transform - in the visitDOF method. - -2002-07-18 10:38 robert - - * src/osgDB/Registry.cpp, src/osgPlugins/rgb/ReaderWriterRGB.cpp: - Added support for .sgi alias extension to the .rgb plugin. - -2002-07-18 10:06 robert - - * src/osgPlugins/dx/DXWriter.cpp, - src/osgUtil/DisplayListVisitor.cpp, - src/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgUtil/SmoothingVisitor.cpp, - src/osgUtil/TriStripVisitor.cpp: Fixed warnings. - -2002-07-18 09:55 robert - - * include/osg/Material, src/osg/Material.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/flt/flt2osg.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/txp/TrPageArchive.cpp, - src/osgPlugins/txp/TrPageParser.cpp: 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 - - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp: Added const - to LessGeometry functor to fix Win32 build. - -2002-07-18 00:55 robert - - * src/osgPlugins/flt/flt2osg.cpp: Fixed spelling mistake. - -2002-07-18 00:53 robert - - * doc/install.html, include/osg/Array, include/osg/Geode, - include/osg/Geometry, include/osg/Primitive, - include/osgUtil/AppVisitor, include/osgUtil/Optimizer, - src/Demos/osgcallback/osgcallback.cpp, src/osg/Geometry.cpp, - src/osg/Primitive.cpp, src/osgPlugins/flt/GeoSetBuilder.cpp, - src/osgPlugins/flt/GeoSetBuilder.h, - src/osgPlugins/flt/flt2osg.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/Optimizer.cpp: 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 - - * src/osg/CollectOccludersVisitor.cpp: 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 - - * src/osgGLUT/Viewer.cpp: Fix for Win32 build. - -2002-07-17 10:00 robert - - * include/osgGA/GUIEventHandlerVisitor, - include/osgGA/KeySwitchCameraManipulator, include/osgGLUT/Viewer, - src/Demos/osgoccluder/osgoccluder.cpp, - src/osgGA/KeySwitchCameraManipulator.cpp, src/osgGLUT/Viewer.cpp, - src/osgUtil/Optimizer.cpp: 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 - - * AUTHORS, doc/doc++/osg/AlphaFunc.html, - doc/doc++/osg/AnimationPath.html, - doc/doc++/osg/AttributeFunctor.html, - doc/doc++/osg/Billboard.html, doc/doc++/osg/BoundingBox.html, - doc/doc++/osg/BoundingSphere.html, doc/doc++/osg/Camera.html, - doc/doc++/osg/ClipPlane.html, doc/doc++/osg/ColorMask.html, - doc/doc++/osg/ColorMatrix.html, doc/doc++/osg/CopyOp.html, - doc/doc++/osg/CullFace.html, doc/doc++/osg/Depth.html, - doc/doc++/osg/DisplaySettings.html, - doc/doc++/osg/DrawPixels.html, doc/doc++/osg/Drawable.html, - doc/doc++/osg/EarthSky.html, doc/doc++/osg/Fog.html, - doc/doc++/osg/FrameStamp.html, doc/doc++/osg/FrontFace.html, - doc/doc++/osg/General.html, doc/doc++/osg/GeoSet.html, - doc/doc++/osg/Geode.html, doc/doc++/osg/Group.html, - doc/doc++/osg/HIER.html, doc/doc++/osg/HIERjava.html, - doc/doc++/osg/Image.html, doc/doc++/osg/Impostor.html, - doc/doc++/osg/ImpostorSprite.html, - doc/doc++/osg/ImpostorSpriteManager.html, doc/doc++/osg/LOD.html, - doc/doc++/osg/Light.html, doc/doc++/osg/LightModel.html, - doc/doc++/osg/LightSource.html, doc/doc++/osg/LineSegment.html, - doc/doc++/osg/LineStipple.html, doc/doc++/osg/LineWidth.html, - doc/doc++/osg/META_Object.html, - doc/doc++/osg/META_StateAttribute.html, - doc/doc++/osg/Material.html, doc/doc++/osg/Matrix.html, - doc/doc++/osg/NodeAcceptOp.html, doc/doc++/osg/NodeCallback.html, - doc/doc++/osg/NodeVisitor.html, - doc/doc++/osg/NotifySeverity.html, doc/doc++/osg/Object.html, - doc/doc++/osg/Plane.html, doc/doc++/osg/Point.html, - doc/doc++/osg/PolygonMode.html, doc/doc++/osg/PolygonOffset.html, - doc/doc++/osg/PositionAttitudeTransform.html, - doc/doc++/osg/Projection.html, doc/doc++/osg/Quat.html, - doc/doc++/osg/Referenced.html, doc/doc++/osg/ShadeModel.html, - doc/doc++/osg/State.html, doc/doc++/osg/StateAttribute.html, - doc/doc++/osg/StateSet.html, doc/doc++/osg/Statistics.html, - doc/doc++/osg/Stencil.html, doc/doc++/osg/Switch.html, - doc/doc++/osg/TexEnv.html, doc/doc++/osg/TexGen.html, - doc/doc++/osg/TexMat.html, doc/doc++/osg/Texture.html, - doc/doc++/osg/TextureCubeMap.html, doc/doc++/osg/Timer.html, - doc/doc++/osg/Transform.html, doc/doc++/osg/Vec2.html, - doc/doc++/osg/Vec3.html, doc/doc++/osg/Vec4.html, - doc/doc++/osg/Viewport.html, - doc/doc++/osg/clampArray3BetweenRange.html, - doc/doc++/osg/clampArray3GEQUAL.html, - doc/doc++/osg/clampArray3LEQUAL.html, - doc/doc++/osg/clampArray4BetweenRange.html, - doc/doc++/osg/clampArray4GEQUAL.html, - doc/doc++/osg/clampArray4LEQUAL.html, - doc/doc++/osg/clampArrayElementBetweenRange.html, - doc/doc++/osg/clampArrayElementGEQUAL.html, - doc/doc++/osg/clampArrayElementLEQUAL.html, - doc/doc++/osg/clampArrayElementsBetweenRange.html, - doc/doc++/osg/clampArrayElementsGEQUAL.html, - doc/doc++/osg/clampArrayElementsLEQUAL.html, - doc/doc++/osg/clampBetweenRange.html, - doc/doc++/osg/clampGEQUAL.html, doc/doc++/osg/clampLEQUAL.html, - doc/doc++/osg/createGeodeForImage.2.html, - doc/doc++/osg/for_each_triangle.html, doc/doc++/osg/index.html, - doc/doc++/osg/notify.html, doc/doc++/osg/osg.html, - doc/doc++/osg/ref_ptr.html, doc/doc++/osg/tag_au.html, - doc/doc++/osgDB/HIER.html, doc/doc++/osgDB/HIERjava.html, - doc/doc++/osgDB/Input.html, doc/doc++/osgDB/Options.html, - doc/doc++/osgDB/Output.html, doc/doc++/osgDB/ReadResult.html, - doc/doc++/osgDB/ReaderWriter.html, - doc/doc++/osgDB/RegisterDotOsgWrapperProxy.html, - doc/doc++/osgDB/RegisterReaderWriterProxy.html, - doc/doc++/osgDB/Registry.html, doc/doc++/osgDB/WriteResult.html, - doc/doc++/osgDB/findFileInPath.html, doc/doc++/osgDB/osgDB.html, - doc/doc++/osgGA, doc/doc++/osgGA/CameraManipulator.html, - doc/doc++/osgGA/ClassGraph.class, - doc/doc++/osgGA/ClassGraphPanel.class, - doc/doc++/osgGA/ClassLayout.class, - doc/doc++/osgGA/CompositeGUIEventHandler.html, - doc/doc++/osgGA/DriveManipulator.html, - doc/doc++/osgGA/FlightManipulator.html, - doc/doc++/osgGA/GUIActionAdapter.html, - doc/doc++/osgGA/GUIEventAdapter.html, - doc/doc++/osgGA/GUIEventHandler.html, - doc/doc++/osgGA/GUIEventHandlerVisitor.html, - doc/doc++/osgGA/General.html, doc/doc++/osgGA/HIER.html, - doc/doc++/osgGA/HIERjava.html, - doc/doc++/osgGA/KeySwitchCameraManipulator.html, - doc/doc++/osgGA/NavigatorButton.class, - doc/doc++/osgGA/SetSceneViewVisitor.html, - doc/doc++/osgGA/StateSetManipulator.html, - doc/doc++/osgGA/TrackballManipulator.html, - doc/doc++/osgGA/icon1.gif, doc/doc++/osgGA/icon2.gif, - doc/doc++/osgGA/index.html, doc/doc++/osgGA/osgGA.html, - doc/doc++/osgGA/osgGAGetLibraryName.html, - doc/doc++/osgGA/osgGAGetVersion.html, - doc/doc++/osgGA/spaceosgGA.html, - doc/doc++/osgGLUT/GLUTEventAdapter.html, - doc/doc++/osgGLUT/HIERjava.html, doc/doc++/osgGLUT/Viewer.html, - doc/doc++/osgGLUT/osgGLUT.html, - doc/doc++/osgParticle/AccelOperator.html, - doc/doc++/osgParticle/CenteredPlacer.html, - doc/doc++/osgParticle/Counter.html, - doc/doc++/osgParticle/Emitter.html, - doc/doc++/osgParticle/FluidFrictionOperator.html, - doc/doc++/osgParticle/ForceOperator.html, - doc/doc++/osgParticle/Interpolator.html, - doc/doc++/osgParticle/LinearInterpolator.html, - doc/doc++/osgParticle/ModularEmitter.html, - doc/doc++/osgParticle/ModularProgram.html, - doc/doc++/osgParticle/MultiSegmentPlacer.html, - doc/doc++/osgParticle/Operator.html, - doc/doc++/osgParticle/Particle.html, - doc/doc++/osgParticle/ParticleProcessor.html, - doc/doc++/osgParticle/ParticleSystem.html, - doc/doc++/osgParticle/ParticleSystemUpdater.html, - doc/doc++/osgParticle/Placer.html, - doc/doc++/osgParticle/PointPlacer.html, - doc/doc++/osgParticle/Program.html, - doc/doc++/osgParticle/RadialShooter.html, - doc/doc++/osgParticle/RandomRateCounter.html, - doc/doc++/osgParticle/SectorPlacer.html, - doc/doc++/osgParticle/SegmentPlacer.html, - doc/doc++/osgParticle/Shooter.html, - doc/doc++/osgParticle/VariableRateCounter.html, - doc/doc++/osgText/BitmapFont.html, doc/doc++/osgText/Font.html, - doc/doc++/osgText/META_Font.html, - doc/doc++/osgText/OutlineFont.html, - doc/doc++/osgText/Paragraph.html, - doc/doc++/osgText/PixmapFont.html, - doc/doc++/osgText/PolygonFont.html, - doc/doc++/osgText/RasterFont.html, doc/doc++/osgText/Text.html, - doc/doc++/osgText/TextureFont.html, - doc/doc++/osgText/VectorFont.html, - doc/doc++/osgText/osgText.html, - doc/doc++/osgUtil/AppVisitor.html, - doc/doc++/osgUtil/CombineLODsVisitor.html, - doc/doc++/osgUtil/CullVisitor.html, - doc/doc++/osgUtil/DepthSortedBin.html, - doc/doc++/osgUtil/DisplayListVisitor.html, - doc/doc++/osgUtil/DisplayRequirementsVisitor.html, - doc/doc++/osgUtil/FlattenStaticTransformsVisitor.html, - doc/doc++/osgUtil/General.html, doc/doc++/osgUtil/HIER.html, - doc/doc++/osgUtil/HIERjava.html, doc/doc++/osgUtil/Hit.html, - doc/doc++/osgUtil/InsertImpostorsVisitor.html, - doc/doc++/osgUtil/IntersectState.html, - doc/doc++/osgUtil/IntersectVisitor.html, - doc/doc++/osgUtil/Optimizer.html, - doc/doc++/osgUtil/RegisterRenderBinProxy.html, - doc/doc++/osgUtil/RemoveRedundentNodesVisitor.html, - doc/doc++/osgUtil/RenderBin.html, - doc/doc++/osgUtil/RenderGraph.html, - doc/doc++/osgUtil/RenderLeaf.html, - doc/doc++/osgUtil/RenderStage.html, - doc/doc++/osgUtil/RenderStageLighting.html, - doc/doc++/osgUtil/RenderToTextureStage.html, - doc/doc++/osgUtil/SceneView.html, - doc/doc++/osgUtil/SmoothingVisitor.html, - doc/doc++/osgUtil/StateVisitor.html, - doc/doc++/osgUtil/Tesselator.html, - doc/doc++/osgUtil/TransformCallback.html, - doc/doc++/osgUtil/TriStripVisitor.html, - doc/doc++/osgUtil/index.html, doc/doc++/osgUtil/osgUtil.html, - doc/documentation.html, include/osg/AlphaFunc, - include/osg/AnimationPath, include/osg/Array, - include/osg/Billboard, include/osg/BlendFunc, - include/osg/BoundingBox, include/osg/BoundingSphere, - include/osg/BoundsChecking, include/osg/Camera, - include/osg/ClipNode, include/osg/ClipPlane, - include/osg/CollectOccludersVisitor, include/osg/ColorMask, - include/osg/ColorMatrix, include/osg/ConvexPlanerOccluder, - include/osg/ConvexPlanerPolygon, include/osg/CopyOp, - include/osg/CullFace, include/osg/CullStack, - include/osg/CullingSet, include/osg/Depth, - include/osg/DisplaySettings, include/osg/DrawPixels, - include/osg/Drawable, include/osg/EarthSky, include/osg/Export, - include/osg/Fog, include/osg/FrameStamp, include/osg/FrontFace, - include/osg/GL, include/osg/GLExtensions, include/osg/GLU, - include/osg/GeoSet, include/osg/Geode, include/osg/Geometry, - include/osg/Group, include/osg/Image, include/osg/Impostor, - include/osg/ImpostorSprite, include/osg/LOD, include/osg/Light, - include/osg/LightModel, include/osg/LightSource, - include/osg/LineSegment, include/osg/LineStipple, - include/osg/LineWidth, include/osg/Material, include/osg/Math, - include/osg/Matrix, include/osg/MatrixTransform, - include/osg/Node, include/osg/NodeCallback, - include/osg/NodeVisitor, include/osg/Notify, include/osg/Object, - include/osg/OccluderNode, include/osg/Plane, include/osg/Point, - include/osg/PolygonMode, include/osg/PolygonOffset, - include/osg/Polytope, include/osg/PositionAttitudeTransform, - include/osg/Primitive, include/osg/Projection, include/osg/Quat, - include/osg/Referenced, include/osg/ShadeModel, - include/osg/ShadowVolumeOccluder, include/osg/State, - include/osg/StateAttribute, include/osg/StateSet, - include/osg/Statistics, include/osg/Stencil, include/osg/Switch, - include/osg/TexEnv, include/osg/TexGen, include/osg/TexMat, - include/osg/Texture, include/osg/TextureCubeMap, - include/osg/Timer, include/osg/Transform, - include/osg/Transparency, include/osg/Types, include/osg/UByte4, - include/osg/Vec2, include/osg/Vec3, include/osg/Vec4, - include/osg/Version, include/osg/Viewport, - include/osg/fast_back_stack, include/osg/ref_ptr, - include/osgDB/DotOsgWrapper, include/osgDB/DynamicLibrary, - include/osgDB/Export, include/osgDB/Field, - include/osgDB/FieldReader, include/osgDB/FieldReaderIterator, - include/osgDB/FileNameUtils, include/osgDB/FileUtils, - include/osgDB/Input, include/osgDB/Output, - include/osgDB/ReadFile, include/osgDB/ReaderWriter, - include/osgDB/Registry, include/osgDB/Version, - include/osgDB/WriteFile, include/osgGA/CameraManipulator, - include/osgGA/DriveManipulator, include/osgGA/Export, - include/osgGA/FlightManipulator, include/osgGA/GUIActionAdapter, - include/osgGA/GUIEventAdapter, include/osgGA/GUIEventHandler, - include/osgGA/KeySwitchCameraManipulator, - include/osgGA/SetSceneViewVisitor, - include/osgGA/StateSetManipulator, - include/osgGA/TrackballManipulator, include/osgGA/Version, - include/osgGLUT/Export, include/osgGLUT/GLUTEventAdapter, - include/osgGLUT/Version, include/osgGLUT/Viewer, - include/osgGLUT/Window, include/osgGLUT/glut, - include/osgText/Export, include/osgText/Font, - include/osgText/Paragraph, include/osgText/Text, - include/osgText/Version, include/osgUtil/AppVisitor, - include/osgUtil/CullVisitor, include/osgUtil/DepthSortedBin, - include/osgUtil/DisplayListVisitor, - include/osgUtil/DisplayRequirementsVisitor, - include/osgUtil/Export, include/osgUtil/InsertImpostorsVisitor, - include/osgUtil/IntersectVisitor, include/osgUtil/Optimizer, - include/osgUtil/RenderBin, include/osgUtil/RenderGraph, - include/osgUtil/RenderLeaf, include/osgUtil/RenderStage, - include/osgUtil/RenderStageLighting, - include/osgUtil/RenderToTextureStage, include/osgUtil/SceneView, - include/osgUtil/SmoothingVisitor, include/osgUtil/Tesselator, - include/osgUtil/TriStripVisitor, include/osgUtil/Version: Updated - docs and added osgGA - -2002-07-16 19:21 robert - - * Make/makedefs, src/osg/GLExtensions.cpp, - src/osgDB/DynamicLibrary.cpp, src/osgDB/FileUtils.cpp: Updates - from Bob Kuehne and Kristopher Bixler to remove the fink - dependency from the MacOSX build. - -2002-07-16 19:19 robert - - * src/osgPlugins/flt/flt2osg.cpp: Fix to DOF Record from Sasa - Bistrovic - -2002-07-16 19:17 robert - - * src/Demos/osglight/osglight.cpp: Added SpotExponent to the spot - light. - -2002-07-16 18:56 robert - - * src/osgPlugins/bmp/Makefile: Removed repeat line from Makefile. - -2002-07-16 15:43 robert - - * NEWS, src/osg/Version.cpp, src/osgDB/Version.cpp, - src/osgGA/Version.cpp, src/osgGLUT/Version.cpp, - src/osgParticle/Version.cpp, src/osgText/Version.cpp, - src/osgUtil/Version.cpp: Bumped up the version numbers to 0.9.0 - to reflect the upcomming release. - -2002-07-16 15:28 robert - - * src/osgUtil/Tesselator.cpp: Rewrote the apply_imp template method - so that it takes an initialization - paramater. - -2002-07-16 15:13 robert - - * Make/makedefs, Make/makedirdefs, - src/osgPlugins/dx/AreaGeoSetTriangulator.cpp, - src/osgPlugins/dx/DXWriter.cpp, src/osgPlugins/logos/Makefile, - src/osgPlugins/logos/ReaderWriterLOGO.cpp: Fixes for MacOSX build - from Bob Kuehne. - -2002-07-16 15:12 robert - - * VisualStudio/Demos/osglight, - VisualStudio/Demos/osglight/osglight.dsp, - VisualStudio/VisualStudio.dsw, src/Demos/osglight, - src/Demos/osglight/Makefile, src/Demos/osglight/Makefile.inst, - src/Demos/osglight/osglight.cpp: Added the beginings of an - osglight demo. - -2002-07-16 11:33 robert - - * src/osgPlugins/osg/Makefile: Added TextureCubeMap.cpp to the .osg - plugin Makefile. - -2002-07-16 10:20 robert - - * include/osg/Array: Fixed the new TemplateArray desctructor. - -2002-07-16 10:16 robert - - * include/osg/Array: Added protected destrcutor to TemplateArray. - -2002-07-15 22:23 robert - - * include/osgUtil/Tesselator, src/osgPlugins/osg/Geometry.cpp, - src/osgUtil/Tesselator.cpp: 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 +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. - * include/osg/Array, include/osg/UByte4, include/osg/Vec4: 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 - * src/Demos/osgprerender/osgprerender.cpp: Removed the second - texture from the prerender demo so as not over complicate - the final image. +Sun, 11 Mar 2007 11:48:03 +0000 +Checked in by : Robert Osfield +Added inheritedWindowData member variable to Traits. -2002-07-15 13:20 robert +Sat, 10 Mar 2007 17:29:32 +0000 +Checked in by : Robert Osfield +From Bob Kuehne, fix for AGL build of osgViewer - * Make/debugtests.bat, Make/osgtests.bat, - src/osgUtil/SceneView.cpp: 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. +Sat, 10 Mar 2007 12:27:01 +0000 +Checked in by : Robert Osfield +Updated wrappers -2002-07-15 13:14 robert +Sat, 10 Mar 2007 11:56:34 +0000 +Checked in by : Robert Osfield +Correct TransferFunction entry. - * src/Demos/osgreflect/osgreflect.cpp: Added a MatrixTransform to - tilt the osgreflect demo so that the reflection - plane is seen clearly. +Sat, 10 Mar 2007 11:53:31 +0000 +Checked in by : Robert Osfield +Added preliminary work on osg::TransferFunction -2002-07-15 13:13 robert +Sat, 10 Mar 2007 11:38:26 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/Demos/osgconv/OrientationConverter.cpp: Fixed the - optimization of the orientation conversion. +Sat, 10 Mar 2007 11:38:13 +0000 +Checked in by : Robert Osfield +From Luigi Calori, CMakeLists.txt support for wrappers -2002-07-15 11:44 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" - * Make/debugtests.bat, Make/osgtests.bat, - src/osgDB/FieldReaderIterator.cpp: Fixed memory leak in - FieldReaderIterator.cpp. - - Updated the Make/osgtests.bat and Make/debugtests.bat scripts. +Fri, 9 Mar 2007 14:54:41 +0000 +Checked in by : Robert Osfield +From Luigi Calori, improvements to handling of install under Unix -2002-07-15 10:53 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. - * Make/makedirdefs, VisualStudio/VisualStudio.dsw: Renamed - hangglide to osghangglide +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. -2002-07-15 10:51 robert +Removed the GDAL checks in the examples/CMakeLists.txt - * src/Demos/hangglide: Removed the old hangglide directory. -2002-07-15 10:45 robert - * src/Demos/osghangglide, - src/Demos/osghangglide/GliderManipulator.cpp, - src/Demos/osghangglide/GliderManipulator.h, - src/Demos/osghangglide/Makefile, - src/Demos/osghangglide/Makefile.inst, - src/Demos/osghangglide/ReaderWriterFLY.cpp, - src/Demos/osghangglide/base.cpp, src/Demos/osghangglide/hat.cpp, - src/Demos/osghangglide/hat.h, - src/Demos/osghangglide/osghangglide.cpp, - src/Demos/osghangglide/sky.cpp, src/Demos/osghangglide/tank.cpp, - src/Demos/osghangglide/terrain.cpp, - src/Demos/osghangglide/terrain_coords.h, - src/Demos/osghangglide/terrain_normals.h, - src/Demos/osghangglide/terrain_texcoords.h, - src/Demos/osghangglide/trees.cpp: Renamed osghangglide demo. -2002-07-15 10:43 robert - * VisualStudio/Demos/osghangglide, - VisualStudio/Demos/osghangglide/osghangglide.dsp: Renamed the - hangglide demo osghangglide to make it consistent with the rest - of the demos. +Fri, 9 Mar 2007 09:08:32 +0000 +Checked in by : Robert Osfield +Setting of binary/exe path moved to root CMakeLists.txt -2002-07-15 10:03 robert +Fri, 9 Mar 2007 09:07:05 +0000 +Checked in by : Robert Osfield +Ran dos2unix - * include/osg/State, src/osg/GeoSet_ogl.cpp, src/osg/Geometry.cpp: - 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. +Thu, 8 Mar 2007 21:19:27 +0000 +Checked in by : Robert Osfield +From Luigi Calori, fixed build of freetype and zlib. -2002-07-15 04:42 don +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 - * src/osgPlugins/logos/ReaderWriterLOGO.cpp: Changes for Sunos +Thu, 8 Mar 2007 15:31:36 +0000 +Checked in by : Robert Osfield +Ran dos2unx of CMakeLists.txt files -2002-07-14 21:49 don +Thu, 8 Mar 2007 15:29:53 +0000 +Checked in by : Robert Osfield +From Luigi Calori, added support macro based build of plugins - * src/osgPlugins/logos, src/osgPlugins/logos/Makefile, - src/osgPlugins/logos/ReaderWriterLOGO.cpp: Added Logos loader +Tue, 6 Mar 2007 12:03:33 +0000 +Checked in by : Robert Osfield +Added application CMakeLists. -2002-07-14 20:51 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. - * src/osgPlugins/pfb/ConvertFromPerformer.cpp: Fixed unused - variable `osg::StateSet *osgStateSet' warning +Tue, 6 Mar 2007 12:01:55 +0000 +Checked in by : Robert Osfield +Changed _pixel_x and _pixel_y to be floats -2002-07-14 20:48 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 - * src/Demos/osgcallback/osgcallback.cpp: Added - Drawable::AppCallback example and fixed a warning. +Mon, 5 Mar 2007 17:46:50 +0000 +Checked in by : Robert Osfield +Updated wrappers -2002-07-14 20:32 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." - * src/Demos/osgprerender/osgprerender.cpp: Tweaked the color and - aspect ratio settings of the pre rendering bin. -2002-07-14 16:26 robert - * src/osgUtil/CullVisitor.cpp: Fixed computeNearFar bug in - CullVisitor::apply(Billboard&). -2002-07-14 10:46 robert - * src/osgPlugins/osg/MatrixTransform.cpp, - src/osgPlugins/osg/Transform.cpp: Fixes to read/write of - MatrixTransform/Transform. +Mon, 5 Mar 2007 13:27:55 +0000 +Checked in by : Robert Osfield +From Luigi Calori, added marco support -2002-07-14 08:35 robert +Mon, 5 Mar 2007 12:11:15 +0000 +Checked in by : Robert Osfield +Added missing files - * src/Demos/hangglide/sky.cpp: Copy and Paste bug where an for() - loop was repeated within itself, which - was introduced when moving across to use osg::Geometry. +Mon, 5 Mar 2007 12:09:42 +0000 +Checked in by : Robert Osfield +Added missing files -2002-07-13 21:17 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 - * src/Demos/osgclip/osgclip.cpp, src/Demos/osgtext/main.cpp, - src/osg/Geometry.cpp, src/osg/ShadowVolumeOccluder.cpp, - src/osgDB/Output.cpp, src/osgPlugins/flt/GeoSetBuilder.cpp, - src/osgUtil/Tesselator.cpp: Fixed various warnings which were - appearing under MacOSX. +Sun, 4 Mar 2007 13:04:56 +0000 +Checked in by : Robert Osfield +From Mike Wittman, updated project to reflect new additions to osgIntrospection -2002-07-13 20:31 robert +Sun, 4 Mar 2007 13:04:12 +0000 +Checked in by : Robert Osfield +Fixed command line parameter reporting - * include/osg/GeoSet, src/osg/GeoSet.cpp, src/osg/GeoSet_ogl.cpp, - src/osgPlugins/osg/BlendFunc.cpp: Conveted GeoSet to use the new - state::set*Pointer/disable*Pointer methods - to keep the current state valid. - -2002-07-13 14:16 robert - - * src/osgPlugins/txp/TrPageArchive.cpp, - src/osgPlugins/txp/TrPageParser.cpp: Support added for - multitextured TXP files, sent in by Boris Bralo. - -2002-07-13 02:46 don - - * include/osgGLUT/Viewer: put a typedef in public area of class for - sun compilers - -2002-07-12 21:45 robert - - * src/osgPlugins/osg/MatrixTransform.cpp: Added missing - MatrixTransform.cpp file - -2002-07-12 21:45 robert - - * src/Demos/osgparticle/osgparticle.cpp: added glutInit to - osgparticle demo to fix crash under MacOSX. - -2002-07-12 21:42 robert - - * src/Demos/osgprerender/osgprerender.cpp: Added second texture to - osgprerender demo to test out multitexture in - osg::Geometry, it works!! - -2002-07-12 21:08 robert - - * include/osg/MatrixTransform, src/osg/MatrixTransform.cpp: Added - MatrixTransform header and source. - -2002-07-12 19:50 robert - - * src/Demos/osgmultitexture/osgmultitexture.cpp: 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 - - * src/Demos/osgcluster/osgcluster.cpp: Added using namespace - osgUtil to get round IRIX/Windows compiler differences. - -2002-07-12 18:12 robert - - * include/osg/Transform, src/Demos/hangglide/trees.cpp, - src/Demos/osgbillboard/osgbillboard.cpp, - src/Demos/osgcallback/osgcallback.cpp, - src/Demos/osgclip/osgclip.cpp, - src/Demos/osgconv/OrientationConverter.cpp, - src/Demos/osgcopy/osgcopy.cpp, src/Demos/osgcube/osgcube.cpp, - src/Demos/osggeometry/osggeometry.cpp, - src/Demos/osghud/osghud.cpp, - src/Demos/osgoccluder/osgoccluder.cpp, - src/Demos/osgprerender/osgprerender.cpp, - src/Demos/osgreflect/osgreflect.cpp, - src/Demos/osgscribe/osgscribe.cpp, - src/Demos/osgstereoimage/osgstereoimage.cpp, - src/Demos/osgtext/main.cpp, src/Demos/osgtexture/osgtexture.cpp, - src/Demos/sgv/sgv.cpp, src/osg/Makefile, src/osg/StateSet.cpp, - src/osgParticle/ParticleSystem.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/flt/flt2osg.cpp, - src/osgPlugins/lib3ds/ReaderWriter3DS.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/osg/Makefile, src/osgPlugins/osg/Transform.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/txp/TrPageArchive.cpp, - src/osgPlugins/txp/TrPageParser.cpp, src/osgUtil/Optimizer.cpp, - src/osgUtil/TransformCallback.cpp: 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 - - * VisualStudio/osg/osg.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, include/osg/BlendFunc, - include/osg/BoundingBox, include/osg/BoundingSphere, - include/osg/Export, include/osg/StateAttribute, - include/osg/Transform, include/osg/Transparency, - src/Demos/osghud/osghud.cpp, - src/Demos/osgparticle/osgparticle.cpp, - src/Demos/osgscribe/osgscribe.cpp, src/Demos/osgtext/main.cpp, - src/osg/BlendFunc.cpp, src/osg/Makefile, src/osg/Transform.cpp, - src/osg/Transparency.cpp, src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/dx/DXWriter.cpp, - src/osgPlugins/dx/StateSetStr.cpp, - src/osgPlugins/osg/BlendFunc.cpp, src/osgPlugins/osg/Makefile, - src/osgPlugins/osg/Transparency.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.cpp: 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 - - * src/osgUtil/SceneView.cpp: 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 - - * include/osg/TexEnv, src/osg/TexEnv.cpp, - src/osgPlugins/osg/TexEnv.cpp: Added blend color to osg::TexEnv - -2002-07-12 09:16 robert - - * src/Demos/osgmultitexture/osgmultitexture.cpp: Fixed indenting. - -2002-07-12 08:48 robert - - * src/osgPlugins/flt/flt2osg.cpp, src/osgPlugins/flt/flt2osg.h: - Addition of RoadRecords from Yefei He. - -2002-07-11 23:30 don - - * Make/makedefs: 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 - - * include/osg/State, src/Demos/osgcluster/osgcluster.cpp, - src/Demos/osgmultitexture/osgmultitexture.cpp, src/osg/State.cpp: - Fixes for Win32 build - -2002-07-11 18:33 robert - - * src/Demos/osgmultitexture/Makefile: Added Makefile for - osgmultitexture demos. - -2002-07-11 18:32 robert - - * include/osg/State: Added #define for GL_TEXTURE0_ARB - -2002-07-11 16:12 robert - - * Make/makedirdefs, VisualStudio/Demos/osgmultitexture, - VisualStudio/Demos/osgmultitexture/osgmultitexture.dsp, - VisualStudio/VisualStudio.dsw, include/osg/GLExtensions, - include/osg/State, src/Demos/osgmultitexture, - src/Demos/osgmultitexture/Makefile.inst, - src/Demos/osgmultitexture/osgmultitexture.cpp: 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 - - * include/osg/BoundingBox, include/osg/BoundingSphere, - include/osg/CullStack, include/osg/Node, - src/Demos/osgimpostor/osgimpostor.cpp, src/osg/BoundingBox.cpp, - src/osg/Group.cpp, src/osg/ImpostorSprite.cpp, - src/osg/LineSegment.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/InsertImpostorsVisitor.cpp, - src/osgUtil/IntersectVisitor.cpp: 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 - - * src/osgPlugins/osg/StateSet.cpp: Fixes for win32 build - -2002-07-11 11:36 robert +Sun, 4 Mar 2007 13:03:47 +0000 +Checked in by : Robert Osfield +From Mike Wittman, updates to support new protected method support - * include/osg/Primitive, src/osg/State.cpp: Fixes for Win32 build +Fri, 2 Mar 2007 16:14:44 +0000 +Checked in by : Robert Osfield +Added proper maths for distortion correction of pufferfish dome. -2002-07-11 11:33 robert +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. - * include/osg/State: Fixed bug in disabledTexCoordPointer where a - '>' was being used where it - should have been a '>='. +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." -2002-07-11 11:08 robert +Thu, 1 Mar 2007 11:58:36 +0000 +Checked in by : Robert Osfield +Updated wrappers - * VisualStudio/VisualStudio.dsw: Fixed the pathname for the - osgprerender demo. +Thu, 1 Mar 2007 11:54:30 +0000 +Checked in by : Robert Osfield +From Mike Wittman, added protected function support -2002-07-11 08:28 robert +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. - * include/osg/Primitive: changed unsigned int/short/char* - references to GLuint,GLushort,GLubyte respectively. +Thu, 1 Mar 2007 09:19:36 +0000 +Checked in by : Robert Osfield +Added osgShadow to dependencies of osgdepthshadow example -2002-07-10 22:38 robert +Wed, 28 Feb 2007 12:15:01 +0000 +Checked in by : Robert Osfield +Ran cleanup to fix tabs - * src/osgPlugins/osg/GeoSet.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/pfb/ConvertToPerformer.cpp: Updates for new use of - GLushort instead of osg::ushort in GeoSet index pointer. +Wed, 28 Feb 2007 11:18:43 +0000 +Checked in by : Robert Osfield +Added support for direction lights to ShadowTexture -2002-07-10 22:33 robert +Wed, 28 Feb 2007 11:12:51 +0000 +Checked in by : Robert Osfield +From Mihai Radu, Added support for directional lights to ShadowMap - * include/osg/Drawable, include/osg/GeoSet, src/osg/GeoSet.cpp, - src/osg/State.cpp: Tidied up the types in osg::GeoSet so that the - index pointers use GLushort - and GLuint to get round compile issues under MacOSX. +Wed, 28 Feb 2007 10:10:21 +0000 +Checked in by : Robert Osfield +Added mention of LODScale in docs -2002-07-10 20:30 robert +Wed, 28 Feb 2007 10:08:45 +0000 +Checked in by : Robert Osfield +From Paul Martz, updated the LOD documentation - * include/osg/Drawable, src/Demos/osgprerender/osgprerender.cpp, - src/osg/Drawable.cpp: Updates to osg::Drawable::AppCallback and - osgprerender demo. +Tue, 27 Feb 2007 21:31:45 +0000 +Checked in by : Robert Osfield +Added osgTerrain into default build of wrappers -2002-07-10 15:35 robert +Tue, 27 Feb 2007 21:18:37 +0000 +Checked in by : Robert Osfield +Further clean up for refernces to osgTerrain/DataSet - * include/osg/Drawable, include/osg/Node, - include/osgUtil/AppVisitor, src/osg/Drawable.cpp, - src/osg/Geode.cpp: Added app callback to Drawable. +Tue, 27 Feb 2007 21:16:23 +0000 +Checked in by : Robert Osfield +Removed osgdem as its now part of the VirtualPlanetBuilder project -2002-07-10 13:33 robert +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. - * Make/debugtests.bat, Make/osgtests.bat, - VisualStudio/Demos/osgprerender/osgprerender.dsp, - src/Demos/osggeometry/osggeometry.cpp, - src/Demos/osgprerender/osgprerender.cpp, src/osgDB/Registry.cpp: - Updates to osgprerender to support use of rendering to an image, - rather then - just a texture. +Updated wrappers -2002-07-10 11:26 robert - * VisualStudio/Demos/osgprerender/osgprerender.dsp: Rejigged the - line endings. -2002-07-10 11:22 robert - * include/osgUtil/RenderToTextureStage, - src/Demos/hangglide/base.cpp, src/Demos/hangglide/sky.cpp, - src/Demos/hangglide/tank.cpp, src/Demos/hangglide/terrain.cpp, - src/Demos/hangglide/trees.cpp, - src/Demos/osgbillboard/osgbillboard.cpp, - src/Demos/osgreflect/osgreflect.cpp, - src/Demos/osgtexture/osgtexture.cpp, src/osg/Image.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/lib3ds/ReaderWriter3DS.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/osg/StateSet.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/txp/TrPageArchive.cpp, - src/osgPlugins/txp/TrPageParser.cpp, - src/osgUtil/RenderToTextureStage.cpp: Ported all the demos and - loaders across to use the new multitexturing API. +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 -2002-07-10 09:32 robert +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. - * VisualStudio/osgPlugins/flt/flt.dsp, src/osgPlugins/flt/Makefile, - src/osgPlugins/flt/RoadRecords.cpp, - src/osgPlugins/flt/RoadRecords.h, src/osgPlugins/flt/opcodes.h: - 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 - * include/osgParticle/Particle, include/osgParticle/ParticleSystem, - src/osgParticle/ParticleSystem.cpp: Updates from Macro to support - the new multitexture API, and improve - bounding box computation. +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 -2002-07-10 09:04 robert +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 - * include/osgUtil/CullVisitor: Added setCurrentRenderBin() method. +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 -2002-07-09 19:23 robert +Mon, 26 Feb 2007 11:23:55 +0000 +Checked in by : Robert Osfield +Removed ReentrantMutex - * src/Demos/osggeometry/osggeometry.cpp, - src/Demos/osgprerender/osgprerender.cpp, - src/osg/ImpostorSprite.cpp: Implemented more code for the new - osgprerender demo. +Sun, 25 Feb 2007 20:05:23 +0000 +Checked in by : Robert Osfield +Further work on add serialization support for osgViewer configurations -2002-07-09 13:31 robert +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 - * src/Demos/osgprerender/Makefile, - src/Demos/osgprerender/Makefile.inst, - src/Demos/osgprerender/osgprerender.cpp: Updates to the - osgprerender code. Still doesn't do anything interesting yet.. +Sat, 24 Feb 2007 19:54:39 +0000 +Checked in by : Robert Osfield +Set propset in .dsp to fix eol to CRLF -2002-07-09 13:17 robert +Sat, 24 Feb 2007 19:51:21 +0000 +Checked in by : Robert Osfield +Set svn::eol style to CRLF - * Make/makedirdefs, VisualStudio/Demos/osgprerender, - VisualStudio/Demos/osgprerender/osgprerender.dsp, - VisualStudio/VisualStudio.dsw, src/Demos/osgprerender, - src/Demos/osgprerender/Makefile, - src/Demos/osgprerender/Makefile.inst, - src/Demos/osgprerender/osgprerender.cpp: 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 - - * include/osgParticle/Emitter, - include/osgParticle/ParticleProcessor, - include/osgParticle/Program: Warnings fixes for IRIX - there was - a missing "const" in the sameKindAs(.) method. - -2002-07-09 10:23 robert - - * src/Demos/osgcluster/broadcaster.cpp, - src/osgPlugins/osg/Geometry.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.h: Fixes for IRIX build. +Sat, 24 Feb 2007 09:04:27 +0000 +Checked in by : Robert Osfield +Added makefile -2002-07-09 09:35 robert +Fri, 23 Feb 2007 21:06:17 +0000 +Checked in by : Robert Osfield +Used Mike Wittman suggestion from setting CRLF on .dsp files - * include/osg/AlphaFunc, include/osg/ClipPlane, - include/osg/ColorMask, include/osg/CullFace, include/osg/Depth, - include/osg/Drawable, include/osg/Fog, include/osg/Light, - include/osg/LightModel, include/osg/LineStipple, - include/osg/LineWidth, include/osg/Material, include/osg/Point, - include/osg/PolygonOffset, include/osg/ShadeModel, - include/osg/State, include/osg/StateAttribute, - include/osg/StateSet, include/osg/Stencil, include/osg/TexEnv, - include/osg/TexGen, include/osg/TexMat, include/osg/Texture, - include/osg/Transparency, include/osg/Viewport, - src/osg/ClipNode.cpp, src/osg/GeoSet.cpp, - src/osg/LightSource.cpp, src/osg/State.cpp, src/osg/StateSet.cpp, - src/osg/Texture.cpp, src/osgPlugins/flt/ReaderWriterATTR.cpp, - src/osgPlugins/flt/flt2osg.cpp, src/osgPlugins/osg/StateSet.cpp, - src/osgUtil/Optimizer.cpp, src/osgUtil/SceneView.cpp: Implemented - most of the changes required for supporting multitexturing in - the osg::State/osg::StateSet/osg::StateAttribute and related - classes. +Fri, 23 Feb 2007 16:31:34 +0000 +Checked in by : Robert Osfield +Moved Block, ReentrantMutex and ReadWriteMutex into OpenThreads. -2002-07-08 09:42 robert +Fri, 23 Feb 2007 12:14:52 +0000 +Checked in by : Robert Osfield +Updated wrappers - * AUTHORS: Added Mike Connell to authors list. +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 -2002-07-07 22:12 robert +Fri, 23 Feb 2007 11:52:28 +0000 +Checked in by : Robert Osfield +Added new --Viewer and --CompositeViewer for implementation of HUDs - * include/osg/Primitive: Added comment to reflect Clay Fowlers - findings on getting VS to compile - without the Vector wrapper classes. +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 -2002-07-07 22:08 robert +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. - * VisualStudio/Demos/osgcluster/osgcluster.dsp: Added winsock32 - libs to osgcluster demo. +Thu, 22 Feb 2007 11:17:45 +0000 +Checked in by : Robert Osfield +Moved distortion mesh creation out into seperate function -2002-07-07 20:16 robert +Thu, 22 Feb 2007 10:56:36 +0000 +Checked in by : Robert Osfield +Removed the compile objects in init in the SceneView::setDefaults() setup. - * VisualStudio/Demos/osgcluster/osgcluster.dsp: Rehashed the - osgcluster project file to see if it solves the failure under - windows. +Thu, 22 Feb 2007 10:31:09 +0000 +Checked in by : Robert Osfield +Fixed calculation of inverted coordindates -2002-07-07 17:42 robert +Thu, 22 Feb 2007 09:16:54 +0000 +Checked in by : Robert Osfield +Added STATIC_OBJECT_DETECTION optimizer pass to OpenFlight plugin - * include/osg/Primitive, src/osg/StateSet.cpp: Fixes for Windows - build. +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". -2002-07-07 17:40 robert +Wed, 21 Feb 2007 20:47:32 +0000 +Checked in by : Robert Osfield +Removed debugging info - * src/Demos/osgcluster/broadcaster.cpp: Added include to - __DARWIN_OSX__ build. +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 -2002-07-07 17:30 robert +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 - * VisualStudio/Demos/osgcluster/osgcluster.dsp: Did a to_dos on - osgcluster.dsp since it was original saved with unix file - endings. +Wed, 21 Feb 2007 19:41:03 +0000 +Checked in by : Robert Osfield +Wired up RTT cubemap cameras and simple distortion mesh. -2002-07-07 14:40 robert +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 - * include/osg/Drawable, include/osg/Primitive, include/osg/State, - include/osg/StateAttribute, include/osg/StateSet, - include/osg/Texture, include/osg/TextureCubeMap, - src/osg/GeoSet.cpp, src/osg/Geometry.cpp, src/osg/Primitive.cpp, - src/osg/StateSet.cpp, src/osg/Texture.cpp, - src/osg/TextureCubeMap.cpp, src/osgPlugins/dx/DXWriter.cpp, - src/osgPlugins/dx/StateSetStr.cpp, - src/osgPlugins/osg/Geometry.cpp, src/osgUtil/SceneView.cpp, - src/osgUtil/Tesselator.cpp: Work on supporting multitexturing in - State/StateSet/StateAttribute/Geoemtry. +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." -2002-07-04 18:47 robert +Wed, 21 Feb 2007 14:17:15 +0000 +Checked in by : Robert Osfield +Removed debug messages - * VisualStudio/Demos/osgcluster, - VisualStudio/Demos/osgcluster/osgcluster.dsp, - VisualStudio/VisualStudio.dsw: Added VisualStudio files for Win32 - port of osgcluster demo. +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. -2002-07-04 18:41 robert +Wed, 21 Feb 2007 11:46:49 +0000 +Checked in by : Robert Osfield +Removed GL_TEXTURE_RECTANGLE_NV entries - * src/Demos/osgcluster/broadcaster.cpp, - src/Demos/osgcluster/broadcaster.h, - src/Demos/osgcluster/osgcluster.cpp, - src/Demos/osgcluster/receiver.cpp, - src/Demos/osgcluster/receiver.h: Added support for Win32 - broadcast and recience over lan. Changes sent in - by Michael Gronager. +Tue, 20 Feb 2007 21:06:24 +0000 +Checked in by : Robert Osfield +Further work on dome RTT -2002-07-04 14:49 robert +Tue, 20 Feb 2007 20:56:03 +0000 +Checked in by : Robert Osfield +Fixed inheritance check for copying clear colour to slave cameras - * include/osg/GeoSet, include/osg/Primitive: Used typedef's for - std::vector<>'s used inside DrawElements implementations. - - Added deperecated comment to osg::GeoSet header. +Tue, 20 Feb 2007 16:46:53 +0000 +Checked in by : Robert Osfield +Added inhertCullSettings before SceneView::cull() calls -2002-07-04 14:23 robert +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. - * Make/makedefs: Added osgGA to the MIGNW makedefs. +Tue, 20 Feb 2007 09:48:59 +0000 +Checked in by : Robert Osfield +Added missing \ to end osgGA entry -2002-07-04 09:49 robert +Tue, 20 Feb 2007 09:48:04 +0000 +Checked in by : Robert Osfield +Added osgViewer and osgShadow to the wrapper build directories - * include/osg/Drawable, src/Demos/osggeometry/osggeometry.cpp: - Fixed the TriangleFunctor QUAD_STRIP code so that it produces - consistent - results. +Mon, 19 Feb 2007 20:57:08 +0000 +Checked in by : Robert Osfield +Added g/setUpdateVistor method -2002-07-03 20:33 robert +Mon, 19 Feb 2007 16:59:52 +0000 +Checked in by : Robert Osfield +Added command line arguments descriptions - * src/osg/Transform.cpp: Spotted by Neil Salter - missing - transform. in the Transform copy operator. +Mon, 19 Feb 2007 16:45:42 +0000 +Checked in by : Robert Osfield +Added -1, -2 and -3 model creation options to osgshadow example. -2002-07-03 11:16 robert +Mon, 19 Feb 2007 15:42:32 +0000 +Checked in by : Robert Osfield +Updated wrappers - * VisualStudio/VisualStudio.dsw: Added osgUtil dependency to the - flt project. +Mon, 19 Feb 2007 15:26:14 +0000 +Checked in by : Robert Osfield +Added support for ShadowTexture and ShadowMap to osgshadow example -2002-07-02 19:53 robert +Mon, 19 Feb 2007 14:21:01 +0000 +Checked in by : Robert Osfield +Added option to use osgShadow::ShadowMap technique - * include/osg/CullStack, include/osg/Math, - include/osgUtil/SceneView, include/osgUtil/Tesselator, - src/Demos/osgtext/main.cpp, src/osg/CullStack.cpp, - src/osg/Geode.cpp, src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgUtil/SceneView.cpp: 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 +Mon, 19 Feb 2007 14:20:18 +0000 +Checked in by : Robert Osfield +Implemented basic ShadowMap technique -2002-07-02 15:01 don +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 - * Make/instrules, Make/makedefs: -n32 and -64 entries were reversed - in makedefs +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 -2002-07-02 06:28 don +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. - * src/Demos/osgcallback/osgcallback.cpp: osgcallback required fixes - for new osg::Drawable::CullCallback +Sat, 17 Feb 2007 17:16:13 +0000 +Checked in by : Robert Osfield +Added basic set up of the RTT camera. -2002-07-02 06:22 don +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" - * include/osg/Drawable, include/osgUtil/CullVisitor, - src/osgUtil/CullVisitor.cpp, src/osgUtil/SceneView.cpp: 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 +Fri, 16 Feb 2007 17:45:53 +0000 +Checked in by : Robert Osfield +Fixed genwrapper so that it handles .svn directories, updated wrappers -2002-07-01 14:40 don +Fri, 16 Feb 2007 17:35:52 +0000 +Checked in by : Robert Osfield +Updated wrappers - * Make/makedefs: More 64 bit build specifics in IRIX makedefs file +Fri, 16 Feb 2007 17:34:34 +0000 +Checked in by : Robert Osfield +Added new osg::ComputeBoundsVisitor -2002-07-01 14:20 don +Fri, 16 Feb 2007 16:37:16 +0000 +Checked in by : Robert Osfield +Added pushViewport/popViewport to CullVisitor::apply(Camera&) - * Make/makedefs: Removed -ldl from makedefs for IRIX +Fri, 16 Feb 2007 15:29:47 +0000 +Checked in by : Robert Osfield +Updated wrappers -2002-06-28 22:42 robert +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." - * include/osgUtil/Tesselator, src/osgPlugins/flt/GeoSetBuilder.cpp, - src/osgPlugins/lib3ds/ReaderWriter3DS.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgUtil/Tesselator.cpp: 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. +Fri, 16 Feb 2007 15:14:16 +0000 +Checked in by : Robert Osfield +Fixed typo -2002-06-28 20:54 robert +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." - * src/osgPlugins/pfb/ReaderWriterPFB.cpp: A couple fixes to remove - Performer runtime warnings. -2002-06-28 16:25 robert - * src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.h: Fixes from Ulrich - Hertlein to build of pfb plugin. Small mods to these - by Robert. -2002-06-28 14:42 robert +Fri, 16 Feb 2007 13:17:04 +0000 +Checked in by : Robert Osfield +Removed debugging readImageFile, and done further work on RTT setup. - * src/Demos/osggeometry/osggeometry.cpp: Added to the osggeometry - demo. +Fri, 16 Feb 2007 10:20:10 +0000 +Checked in by : Robert Osfield +Fleshed out a bit more of the ShadowTexture implementation -2002-06-28 11:11 robert +Fri, 16 Feb 2007 10:19:15 +0000 +Checked in by : Robert Osfield +Added osgShadow::ShadowTexture set up - * src/Demos/osggeometry/osggeometry.cpp: Rewriting the osggeomtry - demo to illustrate more primitive types. +Fri, 16 Feb 2007 06:39:23 +0000 +Checked in by : Robert Osfield +Added enabling of the stencil buffer when setting up ShadowVolume path -2002-06-28 08:47 robert +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 - * include/osg/Geometry, include/osg/Primitive: Removed commas from - the end of enum lists. +Fri, 16 Feb 2007 05:46:50 +0000 +Checked in by : Robert Osfield +Fixed typo that was breaking the build -2002-06-28 08:36 robert +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 - * src/osgPlugins/obj/ReaderWriterOBJ.cpp: Change =0 to - osg::Vec2Array::iterator() in .obj loader to get round warnings - under gcc3.0.x +Or to ShadowVolume rechnique specifically: -2002-06-27 20:29 robert + osgviewer cow.osg.sv.shadow - * src/osg/CollectOccludersVisitor.cpp, src/osg/Geometry.cpp, - src/osgPlugins/flt/GeoSetBuilder.cpp, - src/osgPlugins/flt/GeoSetBuilder.h: 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 - * include/osg/Primitive: Added SG_EXPORT which was missing. +Thu, 15 Feb 2007 17:31:30 +0000 +Checked in by : Robert Osfield +Added .osg support for osgShadow NodeKit -2002-06-27 13:15 robert +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 - * include/osg/Array, include/osg/Geometry, include/osg/Primitive, - src/osg/Array.cpp, src/osg/Geometry.cpp, src/osg/Primitive.cpp, - src/osgPlugins/osg/Geometry.cpp: Converted the template - DrawElements primitive class into three seperate - non templated classes - UByteDrawElements, UShortDrawElements, - UIntDrawElements. +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. -2002-06-27 10:50 robert +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." - * VisualStudio/osg/osg.dsp, include/osg/Array, - include/osg/Geometry, include/osg/Primitive, - src/Demos/hangglide/base.cpp, src/osg/Array.cpp, - src/osg/Geometry.cpp, src/osg/Makefile, src/osg/Primitive.cpp: - Moved the AttributeArray and Primitive classes into their own - header and - source files. +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 -2002-06-27 09:56 robert +Thu, 15 Feb 2007 14:47:06 +0000 +Checked in by : Robert Osfield +Twaaked comments - * src/osgPlugins/lwo/ReaderWriterLWO.cpp: Removed the test aginst a - iterator as a bool. +Thu, 15 Feb 2007 14:04:22 +0000 +Checked in by : Robert Osfield +From André Garneau, Win32 build fixes -2002-06-26 21:11 robert +Thu, 15 Feb 2007 12:24:04 +0000 +Checked in by : Robert Osfield +Added context sharing support. - * include/osg/Export: Added comment to explain #ifdefs for member - templates. +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. -2002-06-26 21:10 robert +Thu, 15 Feb 2007 10:25:11 +0000 +Checked in by : Robert Osfield +Removed inappropriate Stats:: prefix - * include/osg/Export: Added #idef to Export to add check for - support for member templates. +Thu, 15 Feb 2007 09:31:00 +0000 +Checked in by : Robert Osfield +Fixed warnings -2002-06-26 21:08 robert +Thu, 15 Feb 2007 09:17:03 +0000 +Checked in by : Robert Osfield +Added extra spaces between <> template declarations - * src/osgPlugins/lwo/ReaderWriterLWO.cpp, src/osgPlugins/lwo/lw.h: - 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. +Thu, 15 Feb 2007 08:29:27 +0000 +Checked in by : Robert Osfield +Updated wrappers -2002-06-26 17:48 robert +Thu, 15 Feb 2007 08:29:09 +0000 +Checked in by : Robert Osfield +Removed setFrameStamp - * include/osg/Geometry, src/osgPlugins/lib3ds/ReaderWriter3DS.cpp: - Added templated constructor to TemplateArray & DrawElements - template to - handle VisualStudio7.0 build. - - Ported 3DS across to use osg::Geometry instead of osg::GeoSet. +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 -2002-06-26 14:34 robert - * src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.h, - src/osgPlugins/quicktime/ReaderWriterQT.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp, - src/osgPlugins/txp/TrPageArchive.h, - src/osgPlugins/txp/TrPageParser.cpp: Ported pfb, txp and obj - loaders across to use osg::Geometry. -2002-06-26 10:28 robert +Thu, 15 Feb 2007 01:23:00 +0000 +Checked in by : Robert Osfield +Improved the update of the shadow volume. - * include/osg/Geometry, include/osgUtil/DisplayListVisitor, - include/osgUtil/SmoothingVisitor, - include/osgUtil/TriStripVisitor, src/Demos/hangglide/base.cpp, - src/Demos/hangglide/sky.cpp, src/Demos/hangglide/tank.cpp, - src/Demos/hangglide/terrain.cpp, src/Demos/hangglide/trees.cpp, - src/Demos/osgbillboard/osgbillboard.cpp, - src/Demos/osgoccluder/osgoccluder.cpp, - src/Demos/osgreflect/osgreflect.cpp, - src/Demos/osgstereoimage/osgstereoimage.cpp, - src/Demos/osgtext/main.cpp, src/Demos/osgtexture/osgtexture.cpp, - src/osgGLUT/Viewer.cpp, src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgUtil/CullVisitor.cpp, - src/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgUtil/Optimizer.cpp, src/osgUtil/SmoothingVisitor.cpp: - 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 +Thu, 15 Feb 2007 00:53:52 +0000 +Checked in by : Robert Osfield +Removed extrandous Stats:: prefix - * src/osgDB/DynamicLibrary.cpp, src/osgDB/FileUtils.cpp, - src/osgDB/Registry.cpp: Fixes for Cygwin build from Norman Vine. - -2002-06-25 20:36 robert - - * src/osg/Quat.cpp: Fix to Quat::slerp so that it interpolates - along the shortest path. +Wed, 14 Feb 2007 20:44:17 +0000 +Checked in by : Robert Osfield +Added support for osg::State::DynamicObjectCount into the RTT codes -2002-06-25 20:27 robert - - * include/osg/BoundingBox, include/osg/Drawable, - include/osg/GeoSet, include/osg/Geometry, include/osg/Statistics, - include/osgUtil/IntersectVisitor, - include/osgUtil/TriStripVisitor, src/Demos/osgcube/osgcube.cpp, - src/Demos/osggeometry/osggeometry.cpp, src/osg/GeoSet.cpp, - src/osg/Geometry.cpp, src/osg/Image.cpp, - src/osg/ImpostorSprite.cpp, src/osg/ShadowVolumeOccluder.cpp, - src/osgGLUT/Viewer.cpp, src/osgPlugins/osg/Geometry.cpp, - src/osgUtil/IntersectVisitor.cpp, src/osgUtil/Optimizer.cpp, - src/osgUtil/SmoothingVisitor.cpp, - src/osgUtil/TriStripVisitor.cpp: 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 - - * include/osgText/Text, src/Demos/osghud/osghud.cpp, - src/Demos/osgtext/main.cpp, src/osgText/Text.cpp: Fixed - osgText::Text::DrawModeType::ALIGNEMENT spelling mistake, now - is ALIGNMENT. - -2002-06-24 21:37 robert - - * VisualStudio/osgPlugins/osg/dot_osg.dsp, include/osg/Geometry, - src/osg/Geometry.cpp, src/osg/Texture.cpp, - src/osgPlugins/osg/Geometry.cpp, src/osgPlugins/osg/Makefile, - src/osgUtil/Optimizer.cpp: Checked in .osg support for the new - osg::Geometry class. - -2002-06-24 12:53 robert - - * src/osgUtil/Optimizer.cpp: Added required std:: to front of endl - to fix Win32 build. - -2002-06-23 21:43 robert - - * include/osg/GeoSet, include/osg/Geometry, include/osg/Texture, - include/osg/ref_ptr, include/osgUtil/Optimizer, - src/Demos/osggeometry/osggeometry.cpp, src/osg/GeoSet.cpp, - src/osg/Geometry.cpp, src/osgUtil/Optimizer.cpp, - src/osgUtil/Tesselator.cpp: 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 - - * VisualStudio/Demos/osggeometry/osggeometry.dsp, - src/osgPlugins/bmp/ReaderWriterBMP.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp: Compile Fixes for Win32. - -2002-06-21 19:24 robert - - * src/osg/Geometry.cpp, src/osg/Texture.cpp: Temporarily removed - the references to multi-texturing calls. - -2002-06-21 16:45 robert - - * Make/makedirdefs, VisualStudio/Demos/osggeometry, - VisualStudio/Demos/osggeometry/osggeometry.dsp, - VisualStudio/VisualStudio.dsw, include/osg/Geometry, - src/Demos/osggeometry, src/Demos/osggeometry/Makefile, - src/Demos/osggeometry/Makefile.inst, - src/Demos/osggeometry/osggeometry.cpp, src/osg/Geometry.cpp: - Added new osggeometry demo to test the work on the new - osg::Geometry Drawable. - -2002-06-21 15:14 robert - - * src/osgPlugins/bmp/ReaderWriterBMP.cpp: Bug fix to the size - calculation of bmp images, changed both the reading and - writing of images. - -2002-06-21 07:48 robert - - * include/osg/Geometry: Fixed constructor for TemplateArray(const - TemplateArray& t,const CopyOp& copyop). - -2002-06-20 19:54 robert - - * VisualStudio/osg/osg.dsp, include/osg/Geometry, - src/osg/Geometry.cpp, src/osg/Makefile: 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 - - * include/osg/MemoryManager, src/osg/MemoryManager.cpp: 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 - - * VisualStudio/osgPlugins/osg/dot_osg.dsp: Fixed incorrect naming - of ConvexPlanerOccluder. - -2002-06-19 18:45 robert - - * src/osg/Image.cpp: 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 - - * VisualStudio/osgPlugins/osg/dot_osg.dsp, include/osg/BoundingBox, - include/osg/BoundingSphere, include/osg/ConvexPlanerOccluder, - include/osg/OccluderNode, - src/osgPlugins/osg/ConvexPlanerOccluder.cpp, - src/osgPlugins/osg/Makefile, src/osgPlugins/osg/OccluderNode.cpp: - Added support for reading and writing OccluderNode's to the .osg - file format. - -2002-06-19 15:18 robert - - * src/Demos/osgoccluder/osgoccluder.cpp, - src/osg/BoundingSphere.cpp, src/osg/Geode.cpp, - src/osg/OccluderNode.cpp: 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 - - * include/osg/ShadowVolumeOccluder, - src/Demos/osgoccluder/osgoccluder.cpp, - src/osg/CollectOccludersVisitor.cpp, - src/osg/ShadowVolumeOccluder.cpp, src/osgUtil/SceneView.cpp: - Added support for occlusion of holes in occluders, and cleaned up - the - interface to ShadowVolumeOccluders. - -2002-06-19 08:34 robert - - * include/osg/LightSource, src/osg/LightSource.cpp, - src/osgPlugins/osg/LightSource.cpp, src/osgUtil/CullVisitor.cpp: - 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 - - * include/osg/CollectOccludersVisitor, include/osg/Polytope, - include/osg/ShadowVolumeOccluder, - src/osg/CollectOccludersVisitor.cpp, - src/osg/ShadowVolumeOccluder.cpp, src/osgUtil/SceneView.cpp: - 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 - - * include/osg/Plane, include/osg/ShadowVolumeOccluder, - src/osg/ColorMatrix.cpp, src/osgDB/FileUtils.cpp, - src/osgDB/Registry.cpp, src/osgPlugins/flt/Input.cpp: Clean ups - for the Windows build. - -2002-06-18 09:09 robert - - * src/osgDB/Registry.cpp: 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 - - * include/osgDB/FileUtils, include/osgDB/Registry, - src/osgDB/DynamicLibrary.cpp, src/osgDB/FileNameUtils.cpp, - src/osgDB/FileUtils.cpp, src/osgDB/FileUtils_Mac.cpp, - src/osgDB/FileUtils_Unix.cpp, src/osgDB/FileUtils_Windows.cpp, - src/osgDB/Registry.cpp, src/osgPlugins/flt/FltFile.cpp, - src/osgPlugins/flt/Input.cpp, - src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp, - src/osgPlugins/tgz/ReaderWriterTGZ.cpp, - src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/TrPageArchive.cpp, - src/osgPlugins/zip/ReaderWriterZIP.cpp, src/osgText/Font.cpp: - 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 - - * include/osg/CullStack, include/osg/CullingSet, - include/osg/Polytope, include/osg/ShadowVolumeOccluder, - src/Demos/osgoccluder/osgoccluder.cpp, - src/osg/CollectOccludersVisitor.cpp, src/osg/CullingSet.cpp, - src/osg/ShadowVolumeOccluder.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/SceneView.cpp: Fixes to the occluder culling code to - properly disable occluders to prevent - self occlusion. - -2002-06-15 20:57 robert - - * Make/cygwin_plugin_def, Make/makedefs, include/osg/Math, - src/Demos/osgoccluder/osgoccluder.cpp, - src/osg/CollectOccludersVisitor.cpp, src/osg/CullStack.cpp, - src/osg/Notify.cpp, src/osg/ShadowVolumeOccluder.cpp: Fixes for - Visual .NET and Mingw builds, and fix MacOSX notify() crash. - -2002-06-15 12:14 robert - - * include/osg/CollectOccludersVisitor, include/osg/CullStack, - include/osg/CullingSet, include/osg/Math, include/osg/Polytope, - include/osg/ShadowVolumeOccluder, - src/osg/CollectOccludersVisitor.cpp, src/osg/CullStack.cpp, - src/osg/CullingSet.cpp, src/osg/ShadowVolumeOccluder.cpp: Added - computation of occluders volume scaled relative to the frustum - volume, - all volumes computed in eye coords. - -2002-06-14 16:28 robert - - * src/osg/ShadowVolumeOccluder.cpp: Added computation of the - occluders volume, scale it to a ratio of the - frustum. - -2002-06-14 14:50 robert - - * src/Demos/osgoccluder/osgoccluder.cpp: 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 - - * include/osg/CollectOccludersVisitor, - src/osg/CollectOccludersVisitor.cpp, - src/osg/ShadowVolumeOccluder.cpp: Refined the - CollectOccluderVisitor so that it checks the subgraph below - a node contains occluders before traversing. - -2002-06-14 11:27 robert - - * src/osg/ShadowVolumeOccluder.cpp: Improvements to the plane - clipping code. - -2002-06-14 08:45 robert - - * src/osgPlugins/osg/OccluderNode.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/SceneView.cpp: Further updates to the occlusion - culling code, also adding missing OccludeNode - file the .osg plugin. - -2002-06-13 23:46 robert - - * VisualStudio/osgPlugins/osg/dot_osg.dsp, - include/osg/CollectOccludersVisitor, - include/osg/ShadowVolumeOccluder, - src/Demos/osgoccluder/osgoccluder.cpp, - src/osg/CollectOccludersVisitor.cpp, - src/osg/ShadowVolumeOccluder.cpp, src/osgGLUT/Viewer.cpp, - src/osgPlugins/osg/Makefile, src/osgUtil/SceneView.cpp: Further - work on occlusion culling. - -2002-06-13 19:39 don - - * src/osg/Timer.cpp: removed the use of gettimeofday for 32 bit - architectures... - -2002-06-13 19:34 robert - - * include/osg/NodeCallback: Added #include so that it - will compile properly regardless - of include order. - -2002-06-13 19:10 robert - - * src/osgGLUT/Makefile: Added -osgGA to the Makefile list. - -2002-06-13 18:27 robert - - * include/osg/Timer, src/osg/Timer.cpp: Merge Randall's changes. - -2002-06-13 16:21 robert - - * Make/makedefs, include/osg/CollectOccludersVisitor, - include/osg/CullStack, include/osg/CullingSet, include/osg/Plane, - include/osg/Polytope, include/osg/ShadowVolumeOccluder, - src/osg/CollectOccludersVisitor.cpp, src/osg/CullStack.cpp, - src/osg/CullingSet.cpp, src/osg/ShadowVolumeOccluder.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/SceneView.cpp: Further - work on Occlusion Culling. Most of work is complete, just - debugging - required now. - -2002-06-12 16:23 robert - - * include/osg/Node: Removed inappropriate inline keyword which was - breaking the IRIX build. - -2002-06-12 15:43 robert - - * src/Demos/osgparticle/osgparticle.cpp: IRIX build fix. - -2002-06-12 14:57 robert - - * Make/makedefs, src/osgParticle/Makefile: Changes for MacOSX - build, send in by Bob Kuehne. - -2002-06-12 14:46 robert - - * src/osgDB/FileNameUtils.cpp: 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 - - * include/osg/CullingSet, include/osg/ShadowVolumeOccluder, - src/osg/CollectOccludersVisitor.cpp, - src/osg/ShadowVolumeOccluder.cpp: Fix for renaming of - ShadowOccluderVolume to ShadowVolumeOccluder. - -2002-06-12 09:22 robert - - * VisualStudio/osg/osg.dsp, include/osg/CullStack, - include/osg/CullingSet, include/osg/Plane, include/osg/Polytope, - include/osg/ShadowOccluderVolume, - include/osg/ShadowVolumeOccluder, - src/osg/CollectOccludersVisitor.cpp, src/osg/Makefile, - src/osg/ShadowOccluderVolume.cpp, - src/osg/ShadowVolumeOccluder.cpp: Further work on occludision - code. - -2002-06-11 19:52 robert - - * AUTHORS, include/osg/CullStack, include/osgUtil/CullVisitor, - src/osg/CollectOccludersVisitor.cpp, src/osg/CullStack.cpp, - src/osgUtil/CullVisitor.cpp: A little more work on Occlusion - culling. - -2002-06-11 18:41 robert - - * VisualStudio/osgPlugins/osg/dot_osg.dsp, - VisualStudio/osgText/osgText.dsp, include/osg/Notify, - include/osgGLUT/Viewer, include/osgText/Font, - include/osgText/Paragraph, include/osgText/Text, - include/osgUtil/AppVisitor, - src/Demos/osgparticle/osgparticle.cpp, src/osg/Notify.cpp, - src/osgDB/DotOsgWrapper.cpp, src/osgPlugins/osg/Makefile, - src/osgPlugins/osg/Projection.cpp, - src/osgPlugins/osg/Transform.cpp, src/osgText/Font.cpp, - src/osgText/IO_Font.cpp, src/osgText/IO_Paragraph.cpp, - src/osgText/IO_Text.cpp, src/osgText/Makefile, - src/osgText/Paragraph.cpp, src/osgUtil/SceneView.cpp: 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 - - * NEWS, VisualStudio/osg/osg.dsp, - include/osg/CollectOccludersVisitor, include/osg/Node, - src/osg/CollectOccludersVisitor.cpp, src/osg/Group.cpp, - src/osg/Makefile, src/osg/Node.cpp, src/osgUtil/SceneView.cpp: - 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 - - * VisualStudio/osg/osg.dsp, include/osg/CullStack, - include/osg/CullingSet, include/osg/ShadowOccluderVolume, - include/osgUtil/CullVisitor, src/osg/CullStack.cpp, - src/osg/Makefile, src/osg/ShadowOccluderVolume.cpp, - src/osgUtil/CullVisitor.cpp: 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 - - * Make/makedefs, VisualStudio/osgUtil/osgUtil.dsp, - include/osgGA/GUIEventAdapter, include/osgGLUT/GLUTEventAdapter, - include/osgGLUT/Viewer, include/osgUtil/CameraManipulator, - include/osgUtil/DriveManipulator, - include/osgUtil/FlightManipulator, - include/osgUtil/GUIActionAdapter, - include/osgUtil/GUIEventAdapter, include/osgUtil/GUIEventHandler, - include/osgUtil/SceneViewManipulator, - include/osgUtil/StateSetManipulator, - include/osgUtil/TrackballManipulator, - src/Demos/hangglide/GliderManipulator.cpp, - src/Demos/hangglide/GliderManipulator.h, - src/Demos/osgbillboard/osgbillboard.cpp, - src/Demos/osgcallback/osgcallback.cpp, - src/Demos/osgclip/osgclip.cpp, - src/Demos/osgcluster/osgcluster.cpp, - src/Demos/osgcopy/osgcopy.cpp, src/Demos/osgcube/osgcube.cpp, - src/Demos/osghud/osghud.cpp, - src/Demos/osgimpostor/osgimpostor.cpp, - src/Demos/osgoccluder/osgoccluder.cpp, - src/Demos/osgparticle/osgparticle.cpp, - src/Demos/osgreflect/osgreflect.cpp, - src/Demos/osgscribe/osgscribe.cpp, - src/Demos/osgstereoimage/osgstereoimage.cpp, - src/Demos/osgtext/main.cpp, src/Demos/osgtexture/osgtexture.cpp, - src/Demos/osgviews/osgviews.cpp, src/Demos/sgv/sgv.cpp, - src/osgGA/DriveManipulator.cpp, src/osgGA/FlightManipulator.cpp, - src/osgGA/TrackballManipulator.cpp, src/osgGLUT/Viewer.cpp, - src/osgUtil/CameraManipulator.cpp, - src/osgUtil/DriveManipulator.cpp, - src/osgUtil/FlightManipulator.cpp, src/osgUtil/Makefile, - src/osgUtil/SceneViewManipulator.cpp, - src/osgUtil/StateSetManipulator.cpp, - src/osgUtil/TrackballManipulator.cpp: 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 - - * VisualStudio/Demos/hangglide/hangglide.dsp, - VisualStudio/Demos/osgbillboard/osgbillboard.dsp, - VisualStudio/Demos/osgclip/osgclip.dsp, - VisualStudio/Demos/osgconv/osgconv.dsp, - VisualStudio/Demos/osgcopy/osgcopy.dsp, - VisualStudio/Demos/osgcube/osgcube.dsp, - VisualStudio/Demos/osghud/osghud.dsp, - VisualStudio/Demos/osgimpostor/osgimpostor.dsp, - VisualStudio/Demos/osgreflect/osgreflect.dsp, - VisualStudio/Demos/osgscribe/osgscribe.dsp, - VisualStudio/Demos/osgstereoimage/osgstereoimage.dsp, - VisualStudio/Demos/osgtext/osgtextdemo.dsp, - VisualStudio/Demos/osgtexture/osgtexture.dsp, - VisualStudio/Demos/osgversion/osgversion.dsp, - VisualStudio/Demos/osgviews/osgviews.dsp, - VisualStudio/Demos/sgv/sgv.dsp, VisualStudio/osg/osg.dsp, - VisualStudio/osgDB/osgDB.dsp, VisualStudio/osgGA/osgGA.dsp, - VisualStudio/osgGLUT/osgGLUT.dsp, - VisualStudio/osgPlugins/bmp/bmp.dsp, - VisualStudio/osgPlugins/dw/dw.dsp, - VisualStudio/osgPlugins/dx/dx.dsp, - VisualStudio/osgPlugins/flt/flt.dsp, - VisualStudio/osgPlugins/gif/gif.dsp, - VisualStudio/osgPlugins/jpeg/jpeg.dsp, - VisualStudio/osgPlugins/lib3ds/lib3ds.dsp, - VisualStudio/osgPlugins/lwo/lwo.dsp, - VisualStudio/osgPlugins/obj/obj.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, - VisualStudio/osgPlugins/osgtgz/osgtgz.dsp, - VisualStudio/osgPlugins/pic/pic.dsp, - VisualStudio/osgPlugins/png/png.dsp, - VisualStudio/osgPlugins/rgb/rgb.dsp, - VisualStudio/osgPlugins/tga/tga.dsp, - VisualStudio/osgPlugins/tgz/tgz.dsp, - VisualStudio/osgPlugins/tiff/tiff.dsp, - VisualStudio/osgPlugins/txp/txp.dsp, - VisualStudio/osgPlugins/zip/zip.dsp, - VisualStudio/osgText/osgText.dsp, - VisualStudio/osgUtil/osgUtil.dsp: Removed the usage of memory - manager from the debug windows build. - -2002-05-22 12:01 robert - - * include/osgUtil/CullVisitor, src/osgUtil/SceneView.cpp: 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 - - * include/osg/State: 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 - - * doc/Doxyfiles/all_Doxyfile, doc/Doxyfiles/auto_Doxyfile, - doc/Doxyfiles/core_Doxyfile, include/osgGA/Export, - include/osgGA/StateSetManipulator: Updates for Doxygen and osgGA - headers from Neil. - -2002-05-21 19:34 robert - - * doc/introduction.html: Typo and grammer fixes to - introduction.html from Neil Salter. - -2002-05-21 09:16 robert - - * include/osg/State, src/osg/State.cpp: 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 - - * include/osg/Math, include/osg/State, src/osg/State.cpp: 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 - - * Make/instrules: 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 - - * include/osg/ClippingVolume, include/osg/Vec4, - include/osgUtil/CullVisitor, include/osgUtil/RenderGraph, - src/osgUtil/CullVisitor.cpp: Various API updates to suppor light - points developments better, but should also - benifit other extensions to rendering. - -2002-05-18 08:37 robert - - * src/osg/Texture.cpp: Made trilinear filtering the default mode - for osg::Texture's. - -2002-05-18 08:35 robert - - * src/osgPlugins/flt/ReaderWriterATTR.cpp: Modified the setting of - min and mag texture filter modes to produce higher - quality mip maps. - -2002-05-15 19:58 robert - - * src/osgUtil/CullVisitor.cpp, - src/osgUtil/TrackballManipulator.cpp: 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. +Wed, 14 Feb 2007 20:14:45 +0000 +Checked in by : Robert Osfield +Added support for sharing context to GraphicsWindowX11 -2002-05-15 11:27 robert +Wed, 14 Feb 2007 17:28:33 +0000 +Checked in by : Robert Osfield +Added getState()->setGraphicsContext(this); to the various GrpahicsWindow implementations - * include/osgUtil/CullVisitor, src/osgUtil/CullVisitor.cpp: Exposed - the CullVisitor::setComputeNearFarMode +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. -2002-05-14 10:20 robert +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 - * include/osg/MemoryManager, include/osgUtil/CullVisitor, - src/osg/Image.cpp: Fixes to new flipVertical/flipHorizontal. +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 -2002-05-14 09:34 robert +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); - * include/osg/Image, src/osg/Image.cpp: Added - osg::Image::flipHorziontal and flipVertical, submitted by Brede - Johansen. +to: -2002-05-13 21:19 robert +viewport->layout.viewL= views ? +(Lib3dsView*)calloc(sizeof(Lib3dsView),views) : 0;" - * include/osg/Math, include/osg/Vec4: Added new template versions - of a commonly used maths functions. -2002-05-13 07:30 robert - * src/osgPlugins/lib3ds/ReaderWriter3DS.cpp: Reverted change to use - decal flag. +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. -2002-05-10 19:30 robert +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." - * Make/makedefs: Added image plugin library defs for IRIX, - submission from Randall Hopper. -2002-05-10 15:42 robert - * src/osgText/Font.cpp: Fix for finding windows fonts. +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. -2002-05-09 22:48 don +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. - * src/osgGA/KeySwitchCameraManipulator.cpp: Small std::cout fix +Wed, 14 Feb 2007 12:42:10 +0000 +Checked in by : Robert Osfield +Set the DataVariance of updating text to DYNAMIC -2002-05-09 19:02 robert +Wed, 14 Feb 2007 12:40:45 +0000 +Checked in by : Robert Osfield +From Jean-Sebastien Guay, fixed path. - * VisualStudio/osgGA/osgGA.dsp, src/osgGA/GUIEventHandler.cpp, - src/osgGA/KeySwitchCameraManipulator.cpp: Fix compile problems - with osgGA under Windows. +Wed, 14 Feb 2007 12:00:33 +0000 +Checked in by : Robert Osfield +Removed debugging run method. -2002-05-09 18:59 robert +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 - * include/osgUtil/CullVisitor, src/osgUtil/CullVisitor.cpp: 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. +Wed, 14 Feb 2007 11:21:41 +0000 +Checked in by : Robert Osfield +From Mike Wittman, added spaces into < > macros -2002-05-09 10:31 robert +Tue, 13 Feb 2007 22:39:59 +0000 +Checked in by : Robert Osfield +Fixed warning - * Make/makedirdefs, VisualStudio/VisualStudio.dsw, - VisualStudio/osgGA, VisualStudio/osgGA/osgGA.dsp, include/osgGA, - include/osgGA/CameraManipulator, include/osgGA/DriveManipulator, - include/osgGA/Export, include/osgGA/FlightManipulator, - include/osgGA/GUIActionAdapter, include/osgGA/GUIEventAdapter, - include/osgGA/GUIEventHandler, - include/osgGA/GUIEventHandlerVisitor, - include/osgGA/KeySwitchCameraManipulator, - include/osgGA/SetSceneViewVisitor, - include/osgGA/StateSetManipulator, - include/osgGA/TrackballManipulator, include/osgGA/Version, - src/osgGA, src/osgGA/CameraManipulator.cpp, - src/osgGA/DriveManipulator.cpp, src/osgGA/FlightManipulator.cpp, - src/osgGA/GUIEventHandler.cpp, - src/osgGA/GUIEventHandlerVisitor.cpp, - src/osgGA/KeySwitchCameraManipulator.cpp, src/osgGA/Makefile, - src/osgGA/SetSceneViewVisitor.cpp, - src/osgGA/StateSetManipulator.cpp, - src/osgGA/TrackballManipulator.cpp, src/osgGA/Version.cpp, - src/osgUtil/SceneView.cpp: 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 - - * VisualStudio/osg/osg.dsp: Addded missing ClipNode references to - osg.dsp. - -2002-05-07 11:44 robert - - * src/osg/Camera.cpp, src/osg/ClipNode.cpp: 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 - - * src/osgPlugins/flt/SwitchRecord.cpp, - src/osgPlugins/flt/SwitchRecord.h, - src/osgPlugins/flt/flt2osg.cpp: Support added for OpenFlight - switch nodes, submission from Brede Johansen. - -2002-05-07 11:08 robert - - * include/osg/Quat, include/osg/Vec2, include/osg/Vec3, - include/osg/Vec4: Added default values in the constructors of - Vec2,Vec3,Vec4 and Quat - default constructors. - -2002-05-07 02:51 don - - * Make/makedefs: Fixed rpath nonsense in makedefs for Irix - -2002-05-03 22:47 robert - - * include/osg/Node, src/osg/Node.cpp: Added - osg::Node::getValidStateSet(). - -2002-05-03 16:47 robert - - * Make/debugtests.bat, Make/osgtests.bat, include/osg/LightSource, - src/osg/LightSource.cpp: 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 - - * include/osg/Viewport: Made osg::Viewport::getViewport(..) const. - -2002-05-02 00:14 robert - - * Make/makedefs, Make/makedirdefs, VisualStudio/Demos/osgclip, - VisualStudio/Demos/osgclip/osgclip.dsp, - VisualStudio/VisualStudio.dsw, include/osg/ClipNode, - include/osg/ClipPlane, include/osg/Matrix, - include/osg/NodeVisitor, include/osgUtil/CullVisitor, - include/osgUtil/RenderStage, include/osgUtil/RenderStageLighting, - src/Demos/osgclip, src/Demos/osgclip/Makefile, - src/Demos/osgclip/Makefile.inst, src/Demos/osgclip/osgclip.cpp, - src/osg/ClipNode.cpp, src/osg/Makefile, - src/osgUtil/CullVisitor.cpp, src/osgUtil/RenderStage.cpp, - src/osgUtil/RenderStageLighting.cpp, src/osgUtil/SceneView.cpp: - dded osg::ClipNode class for managing OpenGL clipping planes, and - osgclip demo. - -2002-04-26 16:01 robert - - * AUTHORS: Updated the AUTHORS file to mention the original authors - of the terrapage - loader. - -2002-04-26 15:21 don - - * VisualStudio/Demos/hangglide/hangglide.dsp, - VisualStudio/Demos/osgbillboard/osgbillboard.dsp, - VisualStudio/Demos/osgconv/osgconv.dsp, - VisualStudio/Demos/osgcopy/osgcopy.dsp, - VisualStudio/Demos/osgcube/osgcube.dsp, - VisualStudio/Demos/osghud/osghud.dsp, - VisualStudio/Demos/osgimpostor/osgimpostor.dsp, - VisualStudio/Demos/osgreflect/osgreflect.dsp, - VisualStudio/Demos/osgscribe/osgscribe.dsp, - VisualStudio/Demos/osgstereoimage/osgstereoimage.dsp, - VisualStudio/Demos/osgtext/osgtextdemo.dsp, - VisualStudio/Demos/osgtexture/osgstereoimage.dsp, - VisualStudio/Demos/osgtexture/osgtexture.dsp, - VisualStudio/Demos/osgversion/osgversion.dsp, - VisualStudio/Demos/osgviews/osgviews.dsp, - VisualStudio/Demos/sgv/sgv.dsp, VisualStudio/VisualStudio.dsw, - VisualStudio/osg/osg.dsp, VisualStudio/osgDB/osgDB.dsp, - VisualStudio/osgGLUT/osgGLUT.dsp, - VisualStudio/osgPlugins/bmp/bmp.dsp, - VisualStudio/osgPlugins/dw/dw.dsp, - VisualStudio/osgPlugins/dx/dx.dsp, - VisualStudio/osgPlugins/flt/flt.dsp, - VisualStudio/osgPlugins/gif/gif.dsp, - VisualStudio/osgPlugins/jpeg/jpeg.dsp, - VisualStudio/osgPlugins/lib3ds/lib3ds.dsp, - VisualStudio/osgPlugins/lwo/lwo.dsp, - VisualStudio/osgPlugins/obj/obj.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, - VisualStudio/osgPlugins/osgtgz/osgtgz.dsp, - VisualStudio/osgPlugins/pic/pic.dsp, - VisualStudio/osgPlugins/png/png.dsp, - VisualStudio/osgPlugins/rgb/rgb.dsp, - VisualStudio/osgPlugins/tga/tga.dsp, - VisualStudio/osgPlugins/tgz/tgz.dsp, - VisualStudio/osgPlugins/tiff/tiff.dsp, - VisualStudio/osgPlugins/txp/txp.dsp, - VisualStudio/osgPlugins/zip/zip.dsp, - VisualStudio/osgText/osgText.dsp, - VisualStudio/osgUtil/osgUtil.dsp: Testing .dsp and .dsw as binary - files +Tue, 13 Feb 2007 22:24:51 +0000 +Checked in by : Robert Osfield +Fixed warnings -2002-04-26 13:49 robert +Tue, 13 Feb 2007 22:22:35 +0000 +Checked in by : Robert Osfield +Fixed warning - * NEWS: Added mention of MemoryManager to NEWS file. +Tue, 13 Feb 2007 22:16:18 +0000 +Checked in by : Robert Osfield +Fixed warnings. -2002-04-26 13:45 robert +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 - * NEWS, doc/doc++/osg/DrawPixels.html, doc/doc++/osg/Drawable.html, - doc/doc++/osg/EarthSky.html, doc/doc++/osg/GeoSet.html, - doc/doc++/osg/Group.html, doc/doc++/osg/Impostor.html, - doc/doc++/osg/ImpostorSprite.html, doc/doc++/osg/LOD.html, - doc/doc++/osg/PositionAttitudeTransform.html, - doc/doc++/osg/Projection.html, doc/doc++/osg/Switch.html, - doc/doc++/osg/Transform.html, src/osgPlugins/pfb/Makefile: - Updated docs. - - Fix to pfb Makefile for missing $. +Tue, 13 Feb 2007 17:39:42 +0000 +Checked in by : Robert Osfield +Changed the DeleteHandler so by default it doesn't cache objects -2002-04-26 12:06 robert +Tue, 13 Feb 2007 16:03:35 +0000 +Checked in by : Robert Osfield +Added OSG_THREADING environmental variable to osgViewer::Viewer::suggestBestThreadingModel - * src/osgUtil/Optimizer.cpp: Fix for CisualStudio6.0 build. +Tue, 13 Feb 2007 15:57:01 +0000 +Checked in by : Robert Osfield +Reduced the RTT texture size to 256x256 to make setup quicker -2002-04-26 08:25 robert +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." - * src/osgPlugins/dx/DXWriter.h: Fixed remaining MAX_PATH usuage, - replacing it with the new DX_MAX_PATH, this - should solve compile problems under VisualStudio .NET. +Tue, 13 Feb 2007 14:42:00 +0000 +Checked in by : Robert Osfield +Added support for ColorMask to .ive plugin -2002-04-26 08:16 robert +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. - * NEWS, include/osg/Drawable, include/osg/Group, include/osg/LOD, - include/osg/Node, src/Demos/hangglide/hangglide.cpp, - src/osgPlugins/osg/Group.cpp, src/osgPlugins/osg/LOD.cpp, - src/osgUtil/InsertImpostorsVisitor.cpp, - src/osgUtil/Optimizer.cpp: Qarning fixes, and updated the date in - NEWS to reflect todays release of 0.8.45 +PaletteRecords.cpp +Use search path when looking for shader files. -2002-04-25 22:09 robert +PrimaryRecords.cpp +Added preset uniforms "TextureUnit0", "TextureUnit1", "TextureUnit2" +and "TextureUnit3" for GLSL shaders." - * Make/makedefs, include/osg/Node, src/osgPlugins/pfb/Makefile: - Fixes for IRIX build. - - Fix for a warning under VisualStudio.NET. -2002-04-25 22:07 robert - * src/osgPlugins/dx/DXWriter.cpp, src/osgPlugins/dx/DXWriter.h: - Cygwin build fixes. +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." -2002-04-25 21:31 robert - * src/osgPlugins/txp/trpage_sys.h: Fix for window build. -2002-04-25 15:54 don +Tue, 13 Feb 2007 13:47:37 +0000 +Checked in by : Robert Osfield +Added support for osg::Stencil into .ive - * NEWS: Added small blurb for Solaris... +Tue, 13 Feb 2007 12:17:33 +0000 +Checked in by : Robert Osfield +From Ulrich Hertlein, added support for osg::BlendColor to .ive format. -2002-04-25 13:26 robert +Tue, 13 Feb 2007 12:11:32 +0000 +Checked in by : Robert Osfield +Added support for osg::BlendColor to .osg plugin - * doc/contents.html, doc/demos.html, doc/dependencies.html, - doc/index.html, doc/install.html, doc/introduction.html, - doc/plan.html, doc/stereo.html, index.html: Ran the spell checker - through the new documentation. +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. -2002-04-25 12:35 robert +Tue, 13 Feb 2007 09:38:07 +0000 +Checked in by : Robert Osfield +Changed the BlendFunction StateSet to DYNAMIC - * ChangeLog: Updated change log for 0.8.45 release. +Tue, 13 Feb 2007 09:33:35 +0000 +Checked in by : Robert Osfield +From Mike Wittman, support for reference parameters -2002-04-25 11:37 robert +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. - * doc/plan.html: Added to the .plan. +Mon, 12 Feb 2007 18:02:15 +0000 +Checked in by : Robert Osfield +Updated wrappers -2002-04-25 11:30 robert +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." - * src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/glm.cpp, src/osgPlugins/obj/glm.h: Fixes to - .obj plugin from gideon. +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." -2002-04-25 11:29 robert +Mon, 12 Feb 2007 15:59:53 +0000 +Checked in by : Robert Osfield +Updated wrappers - * AUTHORS: Added Bob to the AUTHORS list for his efforts on MacOSX. +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 -2002-04-25 10:46 robert +Mon, 12 Feb 2007 13:39:18 +0000 +Checked in by : Robert Osfield +Added osgViewer::HelpHandler - * Make/debugtests.bat, src/Demos/osgtexture/osgtexture.cpp: 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. +Sun, 11 Feb 2007 22:01:57 +0000 +Checked in by : Robert Osfield +Updated wrappers -2002-04-25 10:14 robert +Sun, 11 Feb 2007 21:24:38 +0000 +Checked in by : Robert Osfield +Incresed the resolution of the trackball dragger geometry - * doc/plan.html: Added another bullet point to the plan. +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. -2002-04-25 10:10 robert +Sun, 11 Feb 2007 15:42:55 +0000 +Checked in by : Robert Osfield +Added osgText to dependency of osgmanipualator example. - * ChangeLog.preCVS, FAQ, TODO: Removed these old files that do - little in the context of the current - OpenSceneGraph disitribution apart from clogs things up! +Sun, 11 Feb 2007 15:41:47 +0000 +Checked in by : Robert Osfield +Fixed Producer lib entry -2002-04-25 10:07 robert +Sun, 11 Feb 2007 12:23:19 +0000 +Checked in by : Robert Osfield +Updated wrappers - * doc/contents.html, doc/data.html, doc/demos.html, - doc/dependencies.html, doc/documentation.html, doc/index.html, - doc/install.html, doc/introduction.html, doc/plan.html, - doc/sgv.html, doc/stereo.html, index.html: Add doc/plan.html and - links to it from the rest of the docs. +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. -2002-04-25 08:54 robert +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. - * src/osg/Texture.cpp: Fixed compile problem under VisualStudio. +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. -2002-04-25 07:47 robert +The source code also contains an example of how to use the draggers." - * doc/introduction.html: Fixed relative path for image. -2002-04-25 07:29 robert - * doc/demos.html: Updated demos documentation. +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. -2002-04-25 06:27 robert +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 - * doc/images/osgtext.jpg, doc/images/osgviews.jpg, - doc/introduction.html: Fixed spellings in introduction.html, and - update osgtext and osgviews images. - -2002-04-25 05:43 robert - - * doc/images/OpenSceneGraphBanner_Distribution.jpg: Added back in - as binary file. - -2002-04-25 05:42 robert - - * doc/images/OpenSceneGraphBanner_Distribution.jpg: Temporily - removing to change it to a binary file. - -2002-04-24 20:57 robert - - * src/osgPlugins/dx/Makefile: 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 - - * src/osg/Texture.cpp: 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 - - * doc/doc++/osgText/META_Font.html, - doc/doc++/osgUtil/CombineLODsVisitor.html, - doc/doc++/osgUtil/CullViewState.html, - doc/doc++/osgUtil/CullVisitor.html, - doc/doc++/osgUtil/DepthSortedBin.html, - doc/doc++/osgUtil/DisplayListVisitor.html, - doc/doc++/osgUtil/DisplayRequirementsVisitor.html, - doc/doc++/osgUtil/DriveManipulator.html, - doc/doc++/osgUtil/FlattenStaticTransformsVisitor.html, - doc/doc++/osgUtil/FlightManipulator.html, - doc/doc++/osgUtil/GUIActionAdapter.html, - doc/doc++/osgUtil/GUIEventAdapter.html, - doc/doc++/osgUtil/GUIEventHandler.html, - doc/doc++/osgUtil/General.html, doc/doc++/osgUtil/HIER.html, - doc/doc++/osgUtil/HIERjava.html, doc/doc++/osgUtil/Hit.html, - doc/doc++/osgUtil/InsertImpostorsVisitor.html, - doc/doc++/osgUtil/IntersectState.html, - doc/doc++/osgUtil/IntersectVisitor.html, - doc/doc++/osgUtil/Optimizer.html, - doc/doc++/osgUtil/RegisterRenderBinProxy.html, - doc/doc++/osgUtil/RemoveRedundentNodesVisitor.html, - doc/doc++/osgUtil/RenderBin.html, - doc/doc++/osgUtil/RenderGraph.html, - doc/doc++/osgUtil/RenderLeaf.html, - doc/doc++/osgUtil/RenderStage.html, - doc/doc++/osgUtil/RenderStageLighting.html, - doc/doc++/osgUtil/RenderToTextureStage.html, - doc/doc++/osgUtil/SceneView.html, - doc/doc++/osgUtil/SceneViewManipulator.html, - doc/doc++/osgUtil/SmoothingVisitor.html, - doc/doc++/osgUtil/StateSetManipulator.html, - doc/doc++/osgUtil/StateVisitor.html, - doc/doc++/osgUtil/Tesselator.html, - doc/doc++/osgUtil/TrackballManipulator.html, - doc/doc++/osgUtil/TransformCallback.html, - doc/doc++/osgUtil/TriStripVisitor.html, - doc/doc++/osgUtil/index.html, doc/doc++/osgUtil/osgUtil.html: - Updated doc++ docs once more. - -2002-04-24 20:24 robert - - * VisualStudio/osgUtil/osgUtil.dsp, include/osgUtil/CullViewState, - include/osgUtil/CullVisitor, src/Demos/osgtext/main.cpp, - src/osgGLUT/Viewer.cpp, src/osgUtil/CullViewState.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/Makefile: 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 - - * doc/doc++/osg/AlphaFunc.html, doc/doc++/osg/AnimationPath.html, - doc/doc++/osg/Camera.html, doc/doc++/osg/ClipPlane.html, - doc/doc++/osg/ClippingVolume.html, doc/doc++/osg/ColorMask.html, - doc/doc++/osg/ColorMatrix.html, doc/doc++/osg/CopyOp.html, - doc/doc++/osg/CullFace.html, doc/doc++/osg/Depth.html, - doc/doc++/osg/DisplaySettings.html, - doc/doc++/osg/DrawPixels.html, doc/doc++/osg/Drawable.html, - doc/doc++/osg/Fog.html, doc/doc++/osg/FrontFace.html, - doc/doc++/osg/General.html, doc/doc++/osg/GeoSet.html, - doc/doc++/osg/HIER.html, doc/doc++/osg/HIERjava.html, - doc/doc++/osg/Image.html, doc/doc++/osg/Impostor.html, - doc/doc++/osg/ImpostorSprite.html, doc/doc++/osg/Light.html, - doc/doc++/osg/LightModel.html, doc/doc++/osg/LineStipple.html, - doc/doc++/osg/LineWidth.html, doc/doc++/osg/META_Object.html, - doc/doc++/osg/Material.html, doc/doc++/osg/Matrix.html, - doc/doc++/osg/NodeAcceptOp.html, doc/doc++/osg/NodeCallback.html, - doc/doc++/osg/NodeVisitor.html, - doc/doc++/osg/NotifySeverity.html, doc/doc++/osg/Object.html, - doc/doc++/osg/Plane.html, doc/doc++/osg/Point.html, - doc/doc++/osg/PolygonMode.html, doc/doc++/osg/PolygonOffset.html, - doc/doc++/osg/PositionAttitudeTransform.html, - doc/doc++/osg/Projection.html, doc/doc++/osg/Quat.html, - doc/doc++/osg/Referenced.html, doc/doc++/osg/ShadeModel.html, - doc/doc++/osg/State.html, doc/doc++/osg/StateAttribute.html, - doc/doc++/osg/StateSet.html, doc/doc++/osg/Statistics.html, - doc/doc++/osg/Stencil.html, doc/doc++/osg/Switch.html, - doc/doc++/osg/TexEnv.html, doc/doc++/osg/TexGen.html, - doc/doc++/osg/TexMat.html, doc/doc++/osg/Texture.html, - doc/doc++/osg/TextureCubeMap.html, doc/doc++/osg/Timer.html, - doc/doc++/osg/Transform.html, doc/doc++/osg/Transparency.html, - doc/doc++/osg/Vec2.html, doc/doc++/osg/Vec3.html, - doc/doc++/osg/Vec4.html, doc/doc++/osg/Viewport.html, - doc/doc++/osg/clampArray3BetweenRange.html, - doc/doc++/osg/clampArray3GEQUAL.html, - doc/doc++/osg/clampArray3LEQUAL.html, - doc/doc++/osg/clampArray4BetweenRange.html, - doc/doc++/osg/clampArray4GEQUAL.html, - doc/doc++/osg/clampArray4LEQUAL.html, - doc/doc++/osg/clampArrayElementBetweenRange.html, - doc/doc++/osg/clampArrayElementGEQUAL.html, - doc/doc++/osg/clampArrayElementLEQUAL.html, - doc/doc++/osg/clampArrayElementsBetweenRange.html, - doc/doc++/osg/clampArrayElementsGEQUAL.html, - doc/doc++/osg/clampArrayElementsLEQUAL.html, - doc/doc++/osg/clampBetweenRange.html, - doc/doc++/osg/clampGEQUAL.html, doc/doc++/osg/clampLEQUAL.html, - doc/doc++/osg/for_each_triangle.html, doc/doc++/osg/index.html, - doc/doc++/osg/osg.html, doc/doc++/osg/osgGetLibraryName.html, - doc/doc++/osg/osgGetVersion.html, doc/doc++/osg/ref_ptr.html, - doc/doc++/osg/tag_au.html: Updateds doc++ documention. - -2002-04-24 20:04 robert - - * Make/makedefs, src/osg/GLExtensions.cpp, - src/osgPlugins/quicktime/Makefile: Changes for Mac OSX build, - sent in by Bob Kuehne - -2002-04-24 14:52 robert - - * include/osg/MemoryManager, src/osg/MemoryManager.cpp, - src/osg/Notify.cpp, src/osgDB/FileUtils_Mac.cpp, - src/osgDB/FileUtils_Unix.cpp, src/osgDB/FileUtils_Windows.cpp: - 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 - - * README, doc/contents.html, doc/data.html, doc/demos.html, - doc/dependencies.html, doc/documentation.html, doc/index.html, - doc/install.html, doc/introduction.html, doc/sgv.html, - doc/stereo.html, index.html: Updates to the documentation. - -2002-04-24 13:08 robert - - * doc/OpenSceneGraphBanner_Distribution.jpg, doc/contents.html, - doc/data.html, doc/demos.html, doc/dependencies.html, - doc/documentation.html, - doc/images/OpenSceneGraphBanner_Distribution.jpg, doc/index.html, - doc/install.html, doc/introduction.html, doc/stereo.html: Moved - doc/OpenSceneGraphBanner_Distribution.jpg to doc/images/ to tidy - up - the doc directory. - -2002-04-24 13:05 robert - - * doc/contents.html, doc/demos.html, doc/documentation.html, - doc/images, doc/images/hangglide.jpg, - doc/images/osgbillboard.jpg, doc/images/osgcube.jpg, - doc/images/osghud.jpg, doc/images/osgimpostor.jpg, - doc/images/osgreflect.jpg, doc/images/osgscribe.jpg, - doc/images/osgstereoimage.jpg, doc/images/osgtext.jpg, - doc/images/osgtexture.jpg, doc/images/osgviews.jpg, - doc/images/sgv_cow.jpg, doc/images/sgv_stereo.jpg, - doc/introduction.html: 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 - - * Makefile, include/osg/Version, src/Demos/Makefile, src/Makefile, - src/osgDB/FileUtils_Unix.cpp, src/osgPlugins/Makefile: 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 - - * doc/install.html: Updated the docs on compiling under Windows. - -2002-04-23 15:05 robert - - * VisualStudio/Demos/hangglide/hangglide.dsp, - VisualStudio/Demos/osgbillboard/osgbillboard.dsp, - VisualStudio/Demos/osgconv/osgconv.dsp, - VisualStudio/Demos/osgcopy/osgcopy.dsp, - VisualStudio/Demos/osgcube/osgcube.dsp, - VisualStudio/Demos/osghud/osghud.dsp, - VisualStudio/Demos/osgimpostor/osgimpostor.dsp, - VisualStudio/Demos/osgreflect/osgreflect.dsp, - VisualStudio/Demos/osgscribe/osgscribe.dsp, - VisualStudio/Demos/osgstereoimage/osgstereoimage.dsp, - VisualStudio/Demos/osgtext/osgtextdemo.dsp, - VisualStudio/Demos/osgtexture/osgtexture.dsp, - VisualStudio/Demos/osgversion/osgversion.dsp, - VisualStudio/Demos/osgviews/osgviews.dsp, - VisualStudio/Demos/sgv/sgv.dsp, VisualStudio/osg/osg.dsp, - VisualStudio/osgDB/osgDB.dsp, VisualStudio/osgGLUT/osgGLUT.dsp, - VisualStudio/osgPlugins/bmp/bmp.dsp, - VisualStudio/osgPlugins/dw/dw.dsp, - VisualStudio/osgPlugins/dx/dx.dsp, - VisualStudio/osgPlugins/flt/flt.dsp, - VisualStudio/osgPlugins/gif/gif.dsp, - VisualStudio/osgPlugins/jpeg/jpeg.dsp, - VisualStudio/osgPlugins/lib3ds/lib3ds.dsp, - VisualStudio/osgPlugins/lwo/lwo.dsp, - VisualStudio/osgPlugins/obj/obj.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, - VisualStudio/osgPlugins/osgtgz/osgtgz.dsp, - VisualStudio/osgPlugins/pic/pic.dsp, - VisualStudio/osgPlugins/png/png.dsp, - VisualStudio/osgPlugins/rgb/rgb.dsp, - VisualStudio/osgPlugins/tga/tga.dsp, - VisualStudio/osgPlugins/tgz/tgz.dsp, - VisualStudio/osgPlugins/tiff/tiff.dsp, - VisualStudio/osgPlugins/txp/txp.dsp, - VisualStudio/osgPlugins/zip/zip.dsp, - VisualStudio/osgText/osgText.dsp, - VisualStudio/osgUtil/osgUtil.dsp: Added OSG_USE_MEMORY_MANAGER to - Windows debug build - -2002-04-23 15:01 robert - - * src/osgDB/FileUtils_Windows.cpp: Fixed compilation problem - associated wirh moving FileUtils source out into - seperate files. - -2002-04-23 14:58 robert - - * src/osg/Image.cpp: Fixed ordering of paramters in osg::Image - constructor to remove warning. - -2002-04-23 13:59 robert - - * src/osgDB/FileUtils.cpp, src/osgDB/FileUtils_Mac.cpp, - src/osgDB/FileUtils_Unix.cpp, src/osgDB/FileUtils_Windows.cpp: - 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 - - * doc/introduction.html: Addtional details on the OpenSceneGraph - and support. - -2002-04-23 11:03 robert - - * src/osg/Notify.cpp: Changed the Windows gauard around so that it - only works for VisualStudio - and not Cygwin/Mingw. - -2002-04-23 11:02 robert - - * src/osgPlugins/txp/TrPageArchive.cpp: Added a pragma to get round - a VisualStudio warning that I couldn't fix - in any easy way. - -2002-04-23 10:55 robert - - * src/Demos/osgbillboard/osgbillboard.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp: 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 - - * include/osg/Image: 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 - - * src/osg/Texture.cpp: Replaced texture compression extension - define so that its #ifndef guard used - GL_ARB_texture_compression as natured intended. - -2002-04-23 08:40 robert - - * ChangeLog: Updated ChangeLog in preperation for the 0.8.45 - release. - -2002-04-23 08:34 robert - - * NEWS: Added to the NEWS file. - -2002-04-23 08:29 robert - - * src/Demos/osgcluster/osgcluster.cpp: 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 - - * src/Demos/osgcluster/osgcluster.cpp: Impleneted byte swap for use - between machines with different endians. - -2002-04-22 21:45 don - - * src/Demos/hangglide/hangglide.cpp: Fixed couple of small errors - caught by Solaris compiler - -2002-04-22 21:18 robert - - * include/osg/ClippingVolume, include/osg/Matrix, - include/osg/Plane: A couple of API additions to - osg::ClippingVolume, osg::Matrix and osg::Plane - sent in by Mike Connell. - -2002-04-22 21:13 robert - - * include/osg/Image, src/osg/Image.cpp, src/osg/Texture.cpp, - src/osgPlugins/txp/TrPageArchive.cpp, - src/osgPlugins/txp/TrPageArchive.h, - src/osgPlugins/txp/TrPageParser.cpp, - src/osgPlugins/txp/TrPageParser.h: 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 - - * include/osgUtil/CullVisitor, src/Demos/hangglide/hangglide.cpp: - Added code in hangglide to move the earth sky around with the eye - point, - use osg::Transform::ComputeTransformCallback. - -2002-04-22 14:54 robert - - * include/osg/Matrix, include/osgUtil/CullVisitor, - src/osgUtil/CullVisitor.cpp, src/osgUtil/SceneView.cpp: 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 - - * FAQ: Slight changes to FAQ to make a little more relevant, it - really needs - a total re-write though. - -2002-04-22 09:50 robert - - * Make/osgtests.bat: 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 - - * NEWS, src/osgUtil/CullVisitor.cpp, src/osgUtil/RenderStage.cpp, - src/osgUtil/SceneView.cpp: 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 - - * src/osgPlugins/obj/glm.cpp: Fixes the .mlt loading from Ben - Discoe. - -2002-04-21 22:05 robert - - * TODO, include/osg/AnimationPath, src/osg/AnimationPath.cpp, - src/osg/State.cpp, src/osg/StateSet.cpp, src/osgGLUT/Viewer.cpp, - src/osgUtil/SceneView.cpp: 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 - - * doc/doc++/osg/AlphaFunc.html, - doc/doc++/osg/AttributeFunctor.html, - doc/doc++/osg/Billboard.html, doc/doc++/osg/BoundingBox.html, - doc/doc++/osg/BoundingSphere.html, doc/doc++/osg/Camera.html, - doc/doc++/osg/ClipPlane.html, doc/doc++/osg/ClippingVolume.html, - doc/doc++/osg/ColorMask.html, doc/doc++/osg/ColorMatrix.html, - doc/doc++/osg/CopyOp.html, doc/doc++/osg/CullFace.html, - doc/doc++/osg/Depth.html, doc/doc++/osg/DisplaySettings.html, - doc/doc++/osg/Drawable.html, doc/doc++/osg/EarthSky.html, - doc/doc++/osg/Fog.html, doc/doc++/osg/FrameStamp.html, - doc/doc++/osg/FrontFace.html, doc/doc++/osg/General.html, - doc/doc++/osg/GeoSet.html, doc/doc++/osg/Geode.html, - doc/doc++/osg/Group.html, doc/doc++/osg/HIER.html, - doc/doc++/osg/HIERjava.html, doc/doc++/osg/Image.html, - doc/doc++/osg/Impostor.html, doc/doc++/osg/ImpostorSprite.html, - doc/doc++/osg/ImpostorSpriteManager.html, doc/doc++/osg/LOD.html, - doc/doc++/osg/Light.html, doc/doc++/osg/LightSource.html, - doc/doc++/osg/LineSegment.html, doc/doc++/osg/LineStipple.html, - doc/doc++/osg/LineWidth.html, doc/doc++/osg/META_Object.html, - doc/doc++/osg/Material.html, doc/doc++/osg/Matrix.html, - doc/doc++/osg/NodeAcceptOp.html, doc/doc++/osg/NodeCallback.html, - doc/doc++/osg/NodeVisitor.html, - doc/doc++/osg/NotifySeverity.html, doc/doc++/osg/Object.html, - doc/doc++/osg/Plane.html, doc/doc++/osg/Point.html, - doc/doc++/osg/PolygonMode.html, doc/doc++/osg/PolygonOffset.html, - doc/doc++/osg/PositionAttitudeTransform.html, - doc/doc++/osg/Quat.html, doc/doc++/osg/Referenced.html, - doc/doc++/osg/ShadeModel.html, doc/doc++/osg/State.html, - doc/doc++/osg/StateAttribute.html, doc/doc++/osg/StateSet.html, - doc/doc++/osg/Statistics.html, doc/doc++/osg/Stencil.html, - doc/doc++/osg/Switch.html, doc/doc++/osg/TexEnv.html, - doc/doc++/osg/TexGen.html, doc/doc++/osg/TexMat.html, - doc/doc++/osg/Texture.html, doc/doc++/osg/Timer.html, - doc/doc++/osg/Transform.html, doc/doc++/osg/Transparency.html, - doc/doc++/osg/Vec2.html, doc/doc++/osg/Vec3.html, - doc/doc++/osg/Vec4.html, doc/doc++/osg/Viewport.html, - doc/doc++/osg/clampArray3BetweenRange.html, - doc/doc++/osg/clampArray3GEQUAL.html, - doc/doc++/osg/clampArray3LEQUAL.html, - doc/doc++/osg/clampArray4BetweenRange.html, - doc/doc++/osg/clampArray4GEQUAL.html, - doc/doc++/osg/clampArray4LEQUAL.html, - doc/doc++/osg/clampArrayElementBetweenRange.html, - doc/doc++/osg/clampArrayElementGEQUAL.html, - doc/doc++/osg/clampArrayElementLEQUAL.html, - doc/doc++/osg/clampArrayElementsBetweenRange.html, - doc/doc++/osg/clampArrayElementsGEQUAL.html, - doc/doc++/osg/clampArrayElementsLEQUAL.html, - doc/doc++/osg/clampBetweenRange.html, - doc/doc++/osg/clampGEQUAL.html, doc/doc++/osg/clampLEQUAL.html, - doc/doc++/osg/createGeodeForImage.2.html, - doc/doc++/osg/for_each_triangle.html, - doc/doc++/osg/g_NotifyNulStream.html, doc/doc++/osg/index.html, - doc/doc++/osg/osg.html, doc/doc++/osg/ref_ptr.html, - doc/doc++/osgDB/Registry.html, - doc/doc++/osgGLUT/GLUTEventAdapter.html, - doc/doc++/osgGLUT/Viewer.html, doc/doc++/osgGLUT/Window.html, - doc/doc++/osgUtil/AppVisitor.html, - doc/doc++/osgUtil/CameraManipulator.html, - doc/doc++/osgUtil/CullViewState.html, - doc/doc++/osgUtil/CullVisitor.html, - doc/doc++/osgUtil/DriveManipulator.html, - doc/doc++/osgUtil/FlightManipulator.html, - doc/doc++/osgUtil/GUIEventAdapter.html, - doc/doc++/osgUtil/RenderLeaf.html, - doc/doc++/osgUtil/RenderStage.html, - doc/doc++/osgUtil/RenderToTextureStage.html, - doc/doc++/osgUtil/SceneView.html, - doc/doc++/osgUtil/TrackballManipulator.html: A second try at - commit these updates to docs. - -2002-04-21 10:12 robert - - * NEWS: Fixes to spelling mistakes in NEWS file. - -2002-04-21 10:11 robert - - * NEWS, src/osg/Version.cpp, src/osgDB/Version.cpp, - src/osgGLUT/Version.cpp, src/osgText/Version.cpp, - src/osgUtil/Version.cpp: Updated Versions, and NEWS file to - reflect impending release of 0.8.45. - -2002-04-21 09:51 robert - - * INSTALL, README, doc/install.html: Updates to docs. - -2002-04-20 20:35 robert - - * doc/data.html, doc/dependencies.html, doc/install.html: Updated - the docs. - -2002-04-20 15:49 robert - - * doc/data.html, doc/dependencies.html, doc/install.html, - doc/introduction.html: 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 - - * include/osg/Matrix, include/osg/Quat, - src/Demos/osgcube/osgcube.cpp, src/Demos/osghud/osghud.cpp, - src/osg/Quat.cpp: 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 +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"/ +" - * include/osg/Math, src/osgPlugins/dx/DXWriter.cpp: Fixes for Max - OSX build from Bob Kuehne. -2002-04-19 16:21 robert - * doc/introduction.html: updated the introduction.html, still not - complete but getting there. No edited - for typo's yet :-) +Fri, 9 Feb 2007 16:27:43 +0000 +Checked in by : Robert Osfield +Updated wrappers -2002-04-19 16:00 don +Fri, 9 Feb 2007 16:03:29 +0000 +Checked in by : Robert Osfield +Moved the basic ShadowVolume code into osgShadow - * src/osgPlugins/txp/TrPageParser.cpp: Fixed an assignment that - should have been a test +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 -2002-04-19 15:34 don - * src/osgPlugins/txp/TrPageArchive.cpp, - src/osgPlugins/txp/TrPageArchive.h, - src/osgPlugins/txp/TrPageParser.cpp, - src/osgPlugins/txp/TrPageParser.h: Updated some files sent by - Boris Bralo for the txp loader. -2002-04-19 15:02 don +Fri, 9 Feb 2007 14:35:43 +0000 +Checked in by : Robert Osfield +From Joakim Simmonsson, fixed inconsistent newlines - * src/osgUtil/RenderStage.cpp: Fixed small typo in - src/osgUtil/RenderStage.cpp +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." -2002-04-19 15:00 don +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 - * src/osgPlugins/dw/Makefile: Added Bob K's fix +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 -2002-04-18 23:30 don +Fri, 9 Feb 2007 12:08:46 +0000 +Checked in by : Robert Osfield +Removed debug message - * src/osgUtil/SceneView.cpp: Fixed small typo in - SceneView::setDefaults(). +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." -2002-04-18 21:29 robert - * doc/introduction.html: Added introduction html file. -2002-04-18 16:40 robert +Thu, 8 Feb 2007 22:31:02 +0000 +Checked in by : Robert Osfield +From Brian Keener, fixes for Cygwin filename handling - * doc/stereo.html: Updated stereo documentation to include details - about horizontal and vertical - split stereo. +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)." -2002-04-18 16:08 don +Thu, 8 Feb 2007 20:27:02 +0000 +Checked in by : Robert Osfield +Updated wrappers - * INSTALL: Changed make makeosx to make +Thu, 8 Feb 2007 19:34:38 +0000 +Checked in by : Robert Osfield +Further work on osgShadow::ShadowTechnique API -2002-04-18 15:37 don +Thu, 8 Feb 2007 17:23:40 +0000 +Checked in by : Robert Osfield +Flesh out more of basic ShadowTechnique and ShadowedScene API. - * Make/makedefs: changed LIBEXT to LIB_EXT for Darwin +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 -2002-04-18 15:16 don +Thu, 8 Feb 2007 15:01:27 +0000 +Checked in by : Robert Osfield +Cleaned up readString - * Make/makedefs: Added -lXi to the Linux X_LIBS +Thu, 8 Feb 2007 14:59:20 +0000 +Checked in by : Robert Osfield +Fixed return in readString. -2002-04-18 10:38 robert +Thu, 8 Feb 2007 12:47:35 +0000 +Checked in by : Robert Osfield +Added the threading model to stats - * src/osgPlugins/txp/trpage_geom.cpp, - src/osgPlugins/txp/trpage_readbuf.cpp, - src/osgPlugins/txp/trpage_warchive.cpp, - src/osgPlugins/txp/trpage_writebuf.cpp: Fixed VisualStudio .NET - warnings in TXP plugin. +Thu, 8 Feb 2007 12:24:33 +0000 +Checked in by : Robert Osfield +Added threading model option to command line parameters -2002-04-18 09:57 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 - * src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgText/FTPolyGlyph.cpp: Fixed memory leak in FTGL associated - with the function of gluTesselate. - - Fixed a warnings in the DW plugin. +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 -2002-04-17 20:04 robert +Thu, 8 Feb 2007 12:14:26 +0000 +Checked in by : Robert Osfield +Updated the handling of closing of windows - * include/osg/ColorMask: Warning fixes for VisualStudio +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 -2002-04-17 14:18 robert +Thu, 8 Feb 2007 11:26:04 +0000 +Checked in by : Robert Osfield +From Stefan Eilemann, addd more extensive XErrorHandler output - * INSTALL: Fixed type in location of redhat glu patch. +Thu, 8 Feb 2007 11:24:29 +0000 +Checked in by : Robert Osfield +Added setting of the DatabasePager's affinity. -2002-04-17 11:36 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." - * include/osg/ColorMatrix, include/osg/StateAttribute, - src/Demos/hangglide/terrain_coords.h, - src/Demos/hangglide/terrain_normals.h, - src/Demos/hangglide/terrain_texcoords.h: Fixes for warnings under - VisualStudio -2002-04-17 11:29 robert - * src/osgUtil/TriStripVisitor.cpp: Added a - gset->computeNumVertices() which was missing, this was causing - models - to disappear after application of tri stripping. +Wed, 7 Feb 2007 21:56:36 +0000 +Checked in by : Robert Osfield +Updated wrappers -2002-04-17 09:48 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. - * include/osg/Billboard, include/osg/Matrix, - include/osgUtil/CullVisitor, src/osg/Billboard.cpp, - src/osg/Matrix.cpp, src/osg/MemoryManager.cpp, - src/osgUtil/CullVisitor.cpp: 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 - - * Make/makedefs: Changed Linux makedepend flag from -MM to -M - -2002-04-16 21:08 robert - - * src/osgPlugins/txp/trpage_compat.cpp, - src/osgPlugins/txp/trpage_geom.cpp, - src/osgPlugins/txp/trpage_header.cpp, - src/osgPlugins/txp/trpage_light.cpp, - src/osgPlugins/txp/trpage_material.cpp, - src/osgPlugins/txp/trpage_model.cpp, - src/osgPlugins/txp/trpage_parse.cpp, - src/osgPlugins/txp/trpage_print.cpp, - src/osgPlugins/txp/trpage_range.cpp, - src/osgPlugins/txp/trpage_rarchive.cpp, - src/osgPlugins/txp/trpage_readbuf.cpp, - src/osgPlugins/txp/trpage_scene.cpp, - src/osgPlugins/txp/trpage_tile.cpp, - src/osgPlugins/txp/trpage_warchive.cpp, - src/osgPlugins/txp/trpage_writebuf.cpp: Fixed the seveal hunderd - warnings in TerraPage loader! - -2002-04-16 15:44 robert - - * src/osgPlugins/txp/TrPageArchive.cpp: Fix to TXP plugin to handle - to new osg::Image method naming. - -2002-04-16 15:31 robert - - * include/osgUtil/SceneView, src/osgUtil/RenderStage.cpp, - src/osgUtil/SceneView.cpp: Added clearing of seperation band - between horizontal/vertical split stereo - areas. - -2002-04-16 15:21 don - - * Make/makedirdefs, Makefile, src/Demos/Makefile, src/Makefile, - src/osgPlugins/Makefile, src/osgPlugins/txp/trpage_read.h, - src/osgPlugins/txp/trpage_scene.h, - src/osgPlugins/txp/trpage_sys.h, - src/osgPlugins/txp/trpage_write.h: 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 - - * include/osg/Image, src/osg/DrawPixels.cpp, src/osg/Image.cpp, - src/osg/Texture.cpp, src/osg/TextureCubeMap.cpp, - src/osgPlugins/dx/DXWriter.cpp, src/osgPlugins/flt/flt2osg.cpp, - src/osgPlugins/pfb/ConvertToPerformer.cpp: 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 - - * VisualStudio/Demos/hangglide/hangglide.dsp, - src/Demos/hangglide/Makefile, src/Demos/hangglide/hat.cpp, - src/Demos/hangglide/terrain.cpp, - src/Demos/hangglide/terrain_coords.h, - src/Demos/hangglide/terrain_data.h, - src/Demos/hangglide/terrain_normals.h, - src/Demos/hangglide/terrain_texcoords.h, - src/Demos/osgversion/osgversion.cpp, src/osg/Image.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/dx/ReaderWriterDX.cpp, - src/osgPlugins/lib3ds/chunk.cpp, src/osgPlugins/lib3ds/light.cpp, - src/osgPlugins/lib3ds/material.cpp, - src/osgPlugins/lib3ds/mesh.cpp, src/osgPlugins/lib3ds/node.cpp, - src/osgPlugins/lib3ds/tracks.cpp, - src/osgPlugins/png/ReaderWriterPNG.cpp, - src/osgText/FTGlyphContainer.cpp, src/osgText/FTPolyGlyph.cpp: - Purge on warnings under Linux. - -2002-04-16 11:41 robert - - * include/osg/Camera, include/osg/Viewport, - include/osgUtil/CullVisitor, include/osgUtil/SceneView, - src/osg/Camera.cpp, src/osg/Matrix.cpp, - src/osg/MemoryManager.cpp, src/osgUtil/SceneView.cpp: 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 - - * src/osgPlugins/flt/CommentRecord.h, - src/osgPlugins/flt/FltFile.cpp, src/osgPlugins/flt/FltFile.h, - src/osgPlugins/flt/HeaderRecord.cpp, - src/osgPlugins/flt/Input.cpp, - src/osgPlugins/flt/InstanceRecords.cpp, - src/osgPlugins/flt/InstanceRecords.h, - src/osgPlugins/flt/OldVertexRecords.cpp, - src/osgPlugins/flt/ReaderWriterFLT.cpp, - src/osgPlugins/flt/Record.cpp, src/osgPlugins/flt/flt2osg.cpp, - src/osgPlugins/flt/flt2osg.h, src/osgPlugins/flt/opcodes.h: - Updates to the flt plugin from Brede Johansen. - -2002-04-16 08:01 robert - - * src/osg/MemoryManager.cpp: Warnings fix. - -2002-04-16 05:29 don - - * Make/makerpms, dist/RPM/OpenSceneGraph.spec, - dist/RPM/OpenSceneGraph_dev.spec: Fixed some boo-boos in makerpms - for building demo source files... - -2002-04-16 04:13 don - - * Make/distrules, Make/instrules, Make/makedefs, Make/makepkg, - Make/makerpms: Fixed Solaris 'make distribution' for demo source. - -2002-04-16 03:24 don - - * Make/instdemosrc, Make/instrules, Make/makedefs, - src/osgGLUT/Makefile, src/osgPlugins/quicktime/Makedepend: fixed - a few problems that didn't work right with installing demo source - on platforms other than Solaris. - -2002-04-15 21:48 robert - - * Make/makedefs, include/osg/ImpostorSprite, - include/osgUtil/CullVisitor, - src/osgPlugins/lib3ds/atmosphere.cpp, - src/osgPlugins/lib3ds/background.cpp, - src/osgPlugins/lib3ds/tracks.cpp, - src/osgPlugins/txp/TrPageParser.cpp, - src/osgPlugins/txp/trpage_geom.cpp, - src/osgPlugins/txp/trpage_geom.h, - src/osgPlugins/txp/trpage_rarchive.cpp, - src/osgPlugins/txp/trpage_readbuf.cpp, - src/osgPlugins/txp/trpage_scene.cpp, - src/osgPlugins/txp/trpage_warchive.cpp: Compile fixes for IRIX, - submitted by Randall Hopper. - -2002-04-15 21:03 robert - - * include/osg/MemoryManager, src/osgPlugins/dx/StateSetStr.cpp: - Added support for OSG_USE_MEMORY_MANAGER into Windows build. - -2002-04-15 19:12 robert - - * src/Demos/osghud/Makefile.inst: Added Makefile.inst which was not - added ealier with the check in osghud. - -2002-04-15 14:45 don - - * Make/makedefs: 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 - - * VisualStudio/Demos/osgtext/osgtextdemo.dsp: Fixed error in - project w.r.t name of source file. - -2002-04-15 14:21 robert - - * VisualStudio/Demos/osgtext/osgtext.dsp, - VisualStudio/Demos/osgtext/osgtextdemo.dsp, - VisualStudio/VisualStudio.dsw: Renamed Demos/osgtext/osgtext.dsp - back to Demos/osgtext/osgtextdemo.dsp - -2002-04-15 13:15 robert - - * include/osg/Node, include/osg/NodeCallback, - include/osgUtil/AppVisitor, include/osgUtil/CullVisitor, - src/Demos/osghud/osghud.cpp, src/osg/Node.cpp, - src/osgUtil/CullVisitor.cpp: Added CullCallbacks to osg::Node, - and osgUtil::CullVisitor. - -2002-04-15 11:03 robert - - * VisualStudio/Demos/osghud, VisualStudio/Demos/osghud/osghud.dsp, - VisualStudio/Demos/osgtext/osgtext.dsp, - VisualStudio/VisualStudio.dsw, src/Demos/Makefile, - src/Demos/osghud, src/Demos/osghud/Makefile, - src/Demos/osghud/osghud.cpp: Added osghud, a head up display - demo. - -2002-04-15 10:59 robert - - * src/osgPlugins/dx/ReaderWriterDX.cpp: Fixes to warning in Win32 - build - -2002-04-15 08:51 robert - - * src/osgPlugins/flt/LongIDRecord.cpp, - src/osgPlugins/flt/flt2osg.cpp: 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 - - * src/Demos/osgtext/main.cpp, src/osgUtil/SceneView.cpp: 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 - - * include/osg/DisplaySettings, include/osg/Image, - src/osg/DisplaySettings.cpp, src/osg/Image.cpp, - src/osg/Texture.cpp, src/osgUtil/SceneView.cpp: 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 - - * src/osg/Image.cpp, src/osg/Texture.cpp: 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 - - * include/osg/Image, src/osg/Image.cpp, src/osgGLUT/Viewer.cpp, - src/osgPlugins/bmp/ReaderWriterBMP.cpp: 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 - - * src/osgPlugins/bmp/ReaderWriterBMP.cpp: Addition of write .bmp to - the BMP plugin. - -2002-04-14 12:53 robert - - * src/osgUtil/SceneView.cpp: 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 - - * VisualStudio/Demos/hangglide/hangglide.dsp, - VisualStudio/Demos/osgbillboard/osgbillboard.dsp, - VisualStudio/Demos/osgconv/osgconv.dsp, - VisualStudio/Demos/osgcopy/osgcopy.dsp, - VisualStudio/Demos/osgcube/osgcube.dsp, - VisualStudio/Demos/osgimpostor/osgimpostor.dsp, - VisualStudio/Demos/osgreflect/osgreflect.dsp, - VisualStudio/Demos/osgscribe/osgscribe.dsp, - VisualStudio/Demos/osgstereoimage/osgstereoimage.dsp, - VisualStudio/Demos/osgtext/osgtext.dsp, - VisualStudio/Demos/osgtexture/osgtexture.dsp, - VisualStudio/Demos/osgversion/osgversion.dsp, - VisualStudio/Demos/osgviews/osgviews.dsp, - VisualStudio/Demos/sgv/sgv.dsp, VisualStudio/osg/osg.dsp, - VisualStudio/osgDB/osgDB.dsp, VisualStudio/osgGLUT/osgGLUT.dsp, - VisualStudio/osgPlugins/bmp/bmp.dsp, - VisualStudio/osgPlugins/dw/dw.dsp, - VisualStudio/osgPlugins/dx/dx.dsp, - VisualStudio/osgPlugins/flt/flt.dsp, - VisualStudio/osgPlugins/gif/gif.dsp, - VisualStudio/osgPlugins/jpeg/jpeg.dsp, - VisualStudio/osgPlugins/lib3ds/lib3ds.dsp, - VisualStudio/osgPlugins/lwo/lwo.dsp, - VisualStudio/osgPlugins/obj/obj.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, - VisualStudio/osgPlugins/osgtgz/osgtgz.dsp, - VisualStudio/osgPlugins/pic/pic.dsp, - VisualStudio/osgPlugins/png/png.dsp, - VisualStudio/osgPlugins/rgb/rgb.dsp, - VisualStudio/osgPlugins/tgz/tgz.dsp, - VisualStudio/osgPlugins/tiff/tiff.dsp, - VisualStudio/osgPlugins/txp/txp.dsp, - VisualStudio/osgPlugins/zip/zip.dsp, - VisualStudio/osgText/osgText.dsp, - VisualStudio/osgUtil/osgUtil.dsp, include/osg/GeoSet, - include/osgText/Text, - src/osgPlugins/dx/AreaGeoSetTriangulator.cpp, - src/osgPlugins/dx/DXWriter.cpp, src/osgPlugins/flt/FltFile.h, - src/osgPlugins/flt/flt.h, src/osgPlugins/txp/TrPageArchive.h: - Clean up for VisualStudio build - -2002-04-13 18:53 robert - - * VisualStudio/osgPlugins/tga/tga.dsp: Added a space into the - project name because it was confusing VisualStudio. - -2002-04-13 18:45 robert - - * VisualStudio/VisualStudio.dsw: Further changes to - VisualStudio.dsw for dependancies. - -2002-04-13 11:36 robert - - * VisualStudio/VisualStudio.dsw: Added dependanices into - osgPlugins. - -2002-04-13 11:08 robert - - * include/osgUtil/RenderStage, include/osgUtil/SceneView: Fixed - compile problem related to missing includes (a result of removing - include of Camera..) - -2002-04-13 10:29 robert - - * VisualStudio/VisualStudio.dsw: Added dependancies to Demos. - -2002-04-13 10:18 robert - - * VisualStudio/VisualStudio.dsw, include/osg/Camera, - src/osgPlugins/dx/DXWriter.cpp: Saved workspace from VisualStudio - to follow up on missing demo dependancies - -2002-04-13 09:28 robert - - * VisualStudio/VisualStudio.dsw: Added Core infront of the names of - the project dependancies. - -2002-04-12 18:06 robert - - * include/osg/Camera, include/osg/ImpostorSprite, - include/osg/State, include/osgUtil/SceneView, src/osg/Camera.cpp, - src/osgUtil/SceneView.cpp: 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 - - * src/osg/MemoryManager.cpp: Fixes for Win32 build. - -2002-04-12 13:06 robert - - * VisualStudio/Demos/osgstereoimage, - VisualStudio/Demos/osgstereoimage/osgstereoimage.dsp, - VisualStudio/Demos/osgtext/osgtext.dsp, - VisualStudio/Demos/osgversion, - VisualStudio/Demos/osgversion/osgversion.dsp, - VisualStudio/VisualStudio.dsw: Futher updates to VisualStudio - files, adding osgstereoimage and osgversion in particular. - -2002-04-12 12:51 robert - - * VisualStudio/VisualStudio.dsw, VisualStudio/osg/osg.dsp, - VisualStudio/osgDB/osgDB.dsp, VisualStudio/osgGLUT/osgGLUT.dsp, - VisualStudio/osgText/osgText.dsp, - VisualStudio/osgUtil/osgUtil.dsp: 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 - - * VisualStudio/Demos/osgTextDemo, VisualStudio/Demos/osgtext, - VisualStudio/Demos/osgtext/osgtext.dsp, - VisualStudio/VisualStudio.dsw: Renamed the osgtext demo project - to reflect the name. - -2002-04-12 11:57 robert - - * VisualStudio/Demos/hangglide/hangglide.dsp, - VisualStudio/Demos/osgTextDemo/osgTextDemo.dsp, - VisualStudio/Demos/osgbillboard/osgbillboard.dsp, - VisualStudio/Demos/osgconv/osgconv.dsp, - VisualStudio/Demos/osgcopy/osgcopy.dsp, - VisualStudio/Demos/osgcube/osgcube.dsp, - VisualStudio/Demos/osgimpostor/osgimpostor.dsp, - VisualStudio/Demos/osgreflect/osgreflect.dsp, - VisualStudio/Demos/osgscribe/osgscribe.dsp, - VisualStudio/Demos/osgtexture/osgstereoimage.dsp, - VisualStudio/Demos/osgtexture/osgtexture.dsp, - VisualStudio/Demos/osgviews/osgviews.dsp, - VisualStudio/Demos/sgv/sgv.dsp, VisualStudio/VisualStudio.dsw, - VisualStudio/osgPlugins/bmp/bmp.dsp, - VisualStudio/osgPlugins/dw/dw.dsp, - VisualStudio/osgPlugins/dx/dx.dsp, - VisualStudio/osgPlugins/flt/flt.dsp, - VisualStudio/osgPlugins/gif/gif.dsp, - VisualStudio/osgPlugins/jpeg/jpeg.dsp, - VisualStudio/osgPlugins/lwo/lwo.dsp, - VisualStudio/osgPlugins/obj/obj.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, - VisualStudio/osgPlugins/osgtgz/osgtgz.dsp, - VisualStudio/osgPlugins/pic/pic.dsp, - VisualStudio/osgPlugins/png/png.dsp, - VisualStudio/osgPlugins/rgb/rgb.dsp, - VisualStudio/osgPlugins/tga/tga.dsp, - VisualStudio/osgPlugins/tgz/tgz.dsp, - VisualStudio/osgPlugins/tiff/tiff.dsp, - VisualStudio/osgPlugins/txp/txp.dsp, - VisualStudio/osgPlugins/zip/zip.dsp: Added "Demo " and "osgPlugin - " infront of all demo and plugin project names to - help differentiate them within VisualStudio. - -2002-04-12 10:24 robert - - * VisualStudio/osgPlugins/lib3ds/lib3ds.dsp: 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 - - * VisualStudio/VisualStudio.dsw: Reorganised the names of libraries - and Demos to make it clear what is what. - -2002-04-12 09:53 robert - - * include/osg/Transform, src/osg/Transform.cpp, - src/osgText/FTVectoriser.cpp: Fixes for Win32 build - -2002-04-12 09:25 robert - - * VisualStudio/VisualStudio.dsw: Removed double reference of - osgtexture - -2002-04-12 09:25 robert - - * Metrowerks: 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 - - * VisualStudio/osgUtil/osgUtil.dsp: Removed dangling references to - NewCullVisitor from osgUtil.dsp. - -2002-04-12 06:18 don - - * Make/makepkg, src/osgUtil/CullVisitor.cpp: 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 - - * Make/makedefs: added 'make cleandepend' to build system. - -2002-04-12 05:06 don - - * Make/help.sh, Make/makerules: Added the 'make cleandepend' target - to the build system. - -2002-04-11 23:20 robert - - * include/osg/Matrix, include/osg/NodeVisitor, include/osg/Object, - include/osg/StateAttribute, include/osg/StateSet, - include/osg/Transform, - src/Demos/osgconv/OrientationConverter.cpp, src/osg/Group.cpp, - src/osg/NodeVisitor.cpp, src/osg/Object.cpp, - src/osg/PositionAttitudeTransform.cpp, src/osg/StateSet.cpp, - src/osg/Transform.cpp, src/osgPlugins/flt/flt2osg.cpp, - src/osgPlugins/osg/Object.cpp, src/osgPlugins/osg/Transform.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/Optimizer.cpp: 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. +Wed, 7 Feb 2007 21:16:22 +0000 +Checked in by : Robert Osfield +Disabled the toggling to ThreadModel CullThreadPerCameraDrawThreadPerContext -2002-04-11 17:15 robert - - * include/osg/Fog, include/osg/Image, include/osg/Light, - src/osg/Image.cpp, src/osg/Texture.cpp: 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 - - * src/osgPlugins/lib3ds/ReaderWriter3DS.cpp: Patch to ReadWriter3DS - from Mike Connel. - -2002-04-11 16:05 don - - * src/osgUtil/Makefile: Backed out bad addition of NewCUllVisitor - -2002-04-11 15:54 don - - * src/osgUtil/Makefile: 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 - - * src/osg/DrawPixels.cpp: Fix for Win32 build. - -2002-04-11 09:16 robert - - * INSTALL: 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 - - * include/osgUtil/SceneView, src/osgUtil/CullVisitor.cpp: Fixed - refrences to NewCullVisitor which has now been mapped onto - CullVisitor. - -2002-04-10 22:10 robert - - * include/osgUtil/CullVisitor, include/osgUtil/NewCullVisitor, - src/osg/Image.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/Makefile, src/osgUtil/NewCullVisitor.cpp: 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 - - * Make/makedefs, VisualStudio/osg/osg.dsp, include/osg/DrawPixels, - include/osg/Image, include/osg/MemoryManager, - src/Demos/osgtexture/osgtexture.cpp, src/osg/DrawPixels.cpp, - src/osg/Image.cpp, src/osg/LightSource.cpp, src/osg/Makefile, - src/osgUtil/SceneView.cpp: 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 - - * dist/PKG, dist/PKG/.README: Added placeholder .README file to the - PKG directory to keep CVS from removing - the directory on an update. - -2002-04-10 14:32 don - - * dist/PKG: Removed big honkin' SUN PKG files from cvs - distribution. - -2002-04-10 01:29 don - - * Make/makedefs, src/osgPlugins/tiff/Makefile: Added (previously - omitted) libpng, libjpeg, libtiff, libgif to makedefs - in the Linux section - -2002-04-09 22:54 don - - * Make/makerules: Fixed makedepend to do the right thing. - -2002-04-09 21:46 robert - - * include/osgUtil/SceneView: 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 - - * include/osg/ImpostorSprite, include/osg/Matrix, - include/osgUtil/NewCullVisitor, include/osgUtil/RenderStage, - src/osg/ImpostorSprite.cpp, src/osg/Matrix.cpp, - src/osgUtil/CullVisitor.cpp, - src/osgUtil/InsertImpostorsVisitor.cpp, - src/osgUtil/NewCullVisitor.cpp, src/osgUtil/RenderLeaf.cpp, - src/osgUtil/RenderStage.cpp, src/osgUtil/SceneView.cpp: 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 - - * Make/instdemosrc, src/Demos/hangglide/Makefile.inst, - src/Demos/osgbillboard/Makefile.inst, - src/Demos/osgcluster/Makefile.inst, - src/Demos/osgconv/Makefile.inst, src/Demos/osgcopy/Makefile.inst, - src/Demos/osgcube/Makefile.inst, - src/Demos/osgimpostor/Makefile.inst, - src/Demos/osgreflect/Makefile.inst, - src/Demos/osgscribe/Makefile.inst, - src/Demos/osgstereoimage/Makefile.inst, - src/Demos/osgtext/Makefile.inst, - src/Demos/osgtexture/Makefile.inst, - src/Demos/osgversion/Makefile.inst, - src/Demos/osgviews/Makefile.inst, src/Demos/sgv/Makefile.inst: - 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 - - * Make/distrules, Make/instdemosrc, Make/instrules, Make/makedefs, - Make/makepkg, Make/makerpms, Make/makerules, dist/PKG, - dist/PKG/OpenSceneGraph-0.8.44-SunOS-local, - dist/PKG/OpenSceneGraph-dev-0.8.44-SunOS-local, - src/Demos/Makefile, src/Demos/hangglide/Makefile, - src/Demos/osgbillboard/Makefile, src/Demos/osgcluster/Makefile, - src/Demos/osgconv/Makefile, src/Demos/osgcopy/Makefile, - src/Demos/osgcube/Makefile, src/Demos/osgimpostor/Makefile, - src/Demos/osgreflect/Makefile, src/Demos/osgscribe/Makefile, - src/Demos/osgstereoimage/Makefile, src/Demos/osgtext/Makefile, - src/Demos/osgtexture/Makefile, src/Demos/osgversion/Makefile, - src/Demos/osgviews/Makefile, src/Demos/sgv/Makefile, - src/osgPlugins/Makefile, src/osgText/FTVectoriser.cpp: 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 - - * Make/makedefs: Added -lstdc++ to begining of LIBS on link line.. - ?? - -2002-04-08 16:25 don - - * Make/makedefs: Put quotes around "DBGF" for multi argument - -2002-04-08 08:23 robert - - * src/osg/MemoryManager.cpp: Changed a char* into const char* to - fix Solaris build. - -2002-04-08 08:22 robert - - * src/osg/Notify.cpp: Fix for VisualStudio's lack of - auto_ptr::reset. - -2002-04-07 17:47 don - - * Make/cygwin_plugin_def, Make/makedefs, - src/osgPlugins/bmp/Makefile, src/osgPlugins/dw/Makefile, - src/osgPlugins/dx/Makefile, src/osgPlugins/flt/Makefile, - src/osgPlugins/gif/Makefile, src/osgPlugins/jpeg/Makefile, - src/osgPlugins/lib3ds/Makefile, src/osgPlugins/lwo/Makefile, - src/osgPlugins/obj/Makefile, src/osgPlugins/osg/Makefile, - src/osgPlugins/osgtgz/Makefile, src/osgPlugins/pfb/Makefile, - src/osgPlugins/pic/Makefile, src/osgPlugins/png/Makefile, - src/osgPlugins/quicktime/Makefile, src/osgPlugins/rgb/Makefile, - src/osgPlugins/tga/Makefile, src/osgPlugins/tgz/Makefile, - src/osgPlugins/tiff/Makefile, src/osgPlugins/txp/Makefile, - src/osgPlugins/zip/Makefile: 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 - - * src/osg/Makefile, src/osgUtil/Makefile: Updates to Makefile to - reflect recent .cpp additions such as TextureCubeMap, - MemoryManager etc. - -2002-04-05 02:49 don - - * src/osg/GeoSet.cpp: Fixed a small oversight in the previous bug - fix. in GeoSet::computeBound() - _numcoords is NOT necesarily _cindex._size. - -2002-04-05 01:52 don - - * INSTALL, Make/help.sh, Make/helprules, Make/instrules, - Make/makedefs, Make/makedirrules, Make/makerules, Makefile, - src/osgDB/Registry.cpp: 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 - - * Make/distrules, Make/makedefs, Make/makerpms, Makefile, dist/RPM, - dist/RPM/OpenSceneGraph.spec, dist/RPM/OpenSceneGraph_dev.spec, - dist/RedHatRPM, src/osgPlugins/dx/DXWriter.cpp, - src/osgPlugins/gif/Makefile, src/osgPlugins/jpeg/Makefile, - src/osgPlugins/png/Makefile: 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 - - * src/osg/GeoSet.cpp: 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 - - * Make/makedefs: Cleaned up in stallation directives - -2002-04-03 17:42 don - - * Make/instrules, Make/makedefs, Make/makerules, - dist/RedHatRPM/Makefile, dist/RedHatRPM/makespec, - dist/RedHatRPM/osg.spec, src/Demos/Makefile, - src/Demos/osgversion, src/Demos/osgversion/Makefile, - src/Demos/osgversion/osgversion.cpp, src/osg/Makefile, - src/osgDB/Makefile, src/osgGLUT/Makefile, - src/osgPlugins/Makefile, src/osgPlugins/bmp/Makefile, - src/osgPlugins/dw/Makefile, src/osgPlugins/dx/Makefile, - src/osgPlugins/flt/Makefile, src/osgPlugins/gif/Makefile, - src/osgPlugins/jpeg/Makefile, src/osgPlugins/lib3ds/Makefile, - src/osgPlugins/lwo/Makefile, src/osgPlugins/obj/Makefile, - src/osgPlugins/osg/Makefile, src/osgPlugins/osgtgz/Makefile, - src/osgPlugins/pfb/Makefile, src/osgPlugins/pic/Makefile, - src/osgPlugins/png/Makefile, src/osgPlugins/quicktime/Makefile, - src/osgPlugins/rgb/Makefile, src/osgPlugins/tga/Makefile, - src/osgPlugins/tgz/Makefile, src/osgPlugins/tiff/Makefile, - src/osgPlugins/txp/Makefile, src/osgPlugins/zip/Makefile, - src/osgText/Makefile, src/osgUtil/Makefile, - src/osgUtil/RenderStage.cpp: 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 - - * Make/makedefs, Make/makerules: Oops forgot to add makedefs and - makerules - -2002-04-02 06:44 don - - * AUTHORS, Make/instrules, Make/instrules.new, Make/makedefs.cyg, - Make/makedefs.freebsd, Make/makedefs.irix.std, - Make/makedefs.irix.std.64, Make/makedefs.linux, - Make/makedefs.macosx, Make/makedefs.mingw, Make/makedefs.new, - Make/makerules.cyg, Make/makerules.freebsd, Make/makerules.irix, - Make/makerules.linux, Make/makerules.macosx, - Make/makerules.mingw, Make/makerules.new, Makefile, - dist/Irix/Makefile, dist/RedHatRPM/Makefile, src/Demos/Makefile, - src/Demos/hangglide/Makefile, src/Demos/osgbillboard/Makefile, - src/Demos/osgcluster/Makefile, src/Demos/osgconv/Makefile, - src/Demos/osgcopy/Makefile, src/Demos/osgcube/Makefile, - src/Demos/osgimpostor/Makefile, src/Demos/osgreflect/Makefile, - src/Demos/osgscribe/Makefile, src/Demos/osgstereoimage/Makefile, - src/Demos/osgtext/Makefile, src/Demos/osgtexture/Makefile, - src/Demos/osgviews/Makefile, src/Demos/sgv/Makefile, - src/Makefile, src/osg/Makefile, src/osgDB/Makefile, - src/osgGLUT/Makefile, src/osgPlugins/Makefile, - src/osgPlugins/bmp/Makefile, src/osgPlugins/dw/Makefile, - src/osgPlugins/dx/Makefile, src/osgPlugins/flt/Makefile, - src/osgPlugins/gif/Makefile, src/osgPlugins/jpeg/Makefile, - src/osgPlugins/lib3ds/Makefile, src/osgPlugins/lwo/Makefile, - src/osgPlugins/obj/Makefile, src/osgPlugins/osg/Makefile, - src/osgPlugins/osgtgz/Makefile, src/osgPlugins/pfb/Makefile, - src/osgPlugins/pic/Makefile, src/osgPlugins/png/Makefile, - src/osgPlugins/quicktime/Makefile, src/osgPlugins/rgb/Makefile, - src/osgPlugins/tga/Makefile, src/osgPlugins/tgz/Makefile, - src/osgPlugins/tiff/Makefile, src/osgPlugins/txp/Makefile, - src/osgPlugins/zip/Makefile, src/osgText/Makefile, - src/osgUtil/Makefile: 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 - - * Make/makedefs.new, Make/makerules.new: Folded in Bob Kuehne's - changes for Mac OSX to makedefs and makerules - -2002-04-01 15:37 don - - * Make/makedefs.new, Make/makerules.new: Added cleanlite rules to - makerules.new - -2002-04-01 04:54 don - - * Make/makedefs.new: *** empty log message *** - -2002-04-01 03:39 don - - * Make/instrules.new, Make/makedefs.new, Make/makerules.new: - Completed and tested instrules.new - -2002-03-31 16:43 don - - * Make/instrules.new, Make/makedefs.new: Added more to instrules - and makedefs.new Folded in Randall Hopper's - changes for FreeBSD - -2002-03-31 16:40 robert - - * Make/makedefs.linux, VisualStudio/osg/osg.dsp, - VisualStudio/osgUtil/osgUtil.dsp, include/osg/Camera, - include/osg/ClippingVolume, include/osg/NodeVisitor, - include/osg/Projection, include/osg/Transform, - include/osgUtil/CullViewState, include/osgUtil/CullVisitor, - include/osgUtil/NewCullVisitor, include/osgUtil/RenderLeaf, - include/osgUtil/SceneView, src/osg/Camera.cpp, src/osg/Makefile, - src/osg/Projection.cpp, src/osg/State.cpp, - src/osgUtil/CullViewState.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/Makefile, src/osgUtil/NewCullVisitor.cpp, - src/osgUtil/RenderBin.cpp, src/osgUtil/RenderLeaf.cpp, - src/osgUtil/SceneView.cpp: 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 - - * src/osgPlugins/obj/glm.cpp: Removed reference to malloc.h, - replacing by stdlib.h instead. - -2002-03-30 21:20 robert - - * src/osgPlugins/dx/DXWriter.cpp: Warnings fixes, submitted by - Randall Hopper. - -2002-03-30 15:13 robert - - * src/osg/MemoryManager.cpp: Fix for Cygwin build. - -2002-03-29 17:26 robert - - * include/osg/MemoryAdapter, include/osg/State, - include/osg/StateAttribute, include/osg/Texture, - include/osg/mem_ptr, src/osg/Camera.cpp, src/osg/Makefile, - src/osg/State.cpp, src/osg/Texture.cpp, - src/osgUtil/RenderLeaf.cpp, src/osgUtil/RenderStage.cpp, - src/osgUtil/RenderStageLighting.cpp, src/osgUtil/SceneView.cpp: - 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 - - * include/osg/MemoryManager: Converted from dos file endings to - unix. - -2002-03-29 12:23 robert - - * src/osg/MemoryManager.cpp, src/osgText/FTGL.h: Fixes for dos - endings in MemoryManager.cpp, and compile fix for osgText for - Cygwin. - -2002-03-29 06:54 don - - * Make/instrules.new, Make/makedefs.new, Make/makerules.new: Added - new install rules for makefiles and updated makedefs and - makerules... more to come - -2002-03-28 23:06 robert - - * src/osg/MemoryManager.cpp, src/osgUtil/SceneView.cpp: Fixes for - IRIX build. - -2002-03-28 07:29 don - - * Make/makedefs.new, Make/makerules.new: Couple a fixes in makedefs - and makerules - -2002-03-28 06:35 don - - * Make/makedefs.new: Added Norman Vines fixeds for cygwin - -2002-03-27 23:04 robert - - * include/osg/Texture: A compile fix to the new Texture subload - changes. - -2002-03-27 22:51 robert - - * include/osg/Texture, src/osg/Texture.cpp, - src/osg/TextureCubeMap.cpp, src/osgPlugins/osg/Texture.cpp: 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 - - * Make/makedefs.linux, include/osgUtil/SceneView, - src/Demos/osgconv/osgconv.cpp, src/osg/MemoryManager.cpp, - src/osgDB/Registry.cpp: Futher updates to MemoryManager, fixed - memory leak in osgconv. - -2002-03-27 14:56 robert - - * src/osg/DisplaySettings.cpp, src/osg/GeoSet.cpp, - src/osgDB/FieldReaderIterator.cpp, src/osgDB/FileUtils.cpp, - src/osgDB/Registry.cpp, src/osgText/FTBitmapGlyph.cpp, - src/osgText/FTPixmapGlyph.cpp, src/osgUtil/NvTriStripObjects.cpp, - src/osgUtil/NvTriStripObjects.h: Updates to various files, - replacing delete calls with osgDelete so that - greater debugging info can be gleaned. - -2002-03-27 10:52 robert - - * src/osgUtil/SceneView.cpp: Added support for VERTICAL_SPILT and - HORIZONTAL_SPLIT stereo modes. - -2002-03-27 06:09 don - - * Make/makedefs.new, Make/makerules.new: Update to - makeefs/makerules - -2002-03-27 00:55 don - - * Make/makedefs.new, Make/makerules.new: update to makedefs.new - makerules.new - -2002-03-26 23:52 robert - - * Make/makedefs.freebsd, Make/makedefs.irix.std, - Make/makedefs.irix.std.64, Make/makedefs.linux, - Make/makedefs.macosx, include/osg/Export, include/osg/GeoSet, - include/osg/Image, include/osg/ImpostorSprite, - include/osg/LightSource, include/osg/Matrix, - include/osg/MemoryManager, include/osg/Node, include/osg/Notify, - include/osg/Object, include/osg/StateAttribute, - include/osg/StateSet, include/osg/mem_ptr, include/osgDB/Export, - include/osgGLUT/glut, src/Demos/osgcluster/broadcaster.cpp, - src/Demos/osgtext/main.cpp, src/osg/Camera.cpp, - src/osg/DisplaySettings.cpp, src/osg/EarthSky.cpp, - src/osg/GeoSet.cpp, src/osg/Image.cpp, - src/osg/ImpostorSprite.cpp, src/osg/MemoryManager.cpp, - src/osg/Notify.cpp, src/osg/StateSet.cpp, src/osg/Transform.cpp, - src/osgDB/DynamicLibrary.cpp, src/osgDB/Field.cpp, - src/osgDB/FieldReaderIterator.cpp, src/osgDB/FileUtils.cpp, - src/osgDB/ReadFile.cpp, src/osgDB/Registry.cpp, - src/osgGLUT/Viewer.cpp, src/osgPlugins/osg/AlphaFunc.cpp, - src/osgPlugins/osg/Billboard.cpp, - src/osgPlugins/osg/ClipPlane.cpp, - src/osgPlugins/osg/ColorMask.cpp, - src/osgPlugins/osg/ColorMatrix.cpp, - src/osgPlugins/osg/CullFace.cpp, src/osgPlugins/osg/Depth.cpp, - src/osgPlugins/osg/Drawable.cpp, src/osgPlugins/osg/EarthSky.cpp, - src/osgPlugins/osg/Fog.cpp, src/osgPlugins/osg/FrontFace.cpp, - src/osgPlugins/osg/GeoSet.cpp, src/osgPlugins/osg/Geode.cpp, - src/osgPlugins/osg/Group.cpp, src/osgPlugins/osg/Image.cpp, - src/osgPlugins/osg/Impostor.cpp, src/osgPlugins/osg/LOD.cpp, - src/osgPlugins/osg/Light.cpp, src/osgPlugins/osg/LightModel.cpp, - src/osgPlugins/osg/LightSource.cpp, - src/osgPlugins/osg/LineStipple.cpp, - src/osgPlugins/osg/LineWidth.cpp, - src/osgPlugins/osg/Material.cpp, src/osgPlugins/osg/Matrix.cpp, - src/osgPlugins/osg/Node.cpp, src/osgPlugins/osg/Point.cpp, - src/osgPlugins/osg/PolygonMode.cpp, - src/osgPlugins/osg/PolygonOffset.cpp, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osg/ShadeModel.cpp, - src/osgPlugins/osg/StateSet.cpp, src/osgPlugins/osg/Stencil.cpp, - src/osgPlugins/osg/Switch.cpp, src/osgPlugins/osg/TexEnv.cpp, - src/osgPlugins/osg/TexGen.cpp, src/osgPlugins/osg/TexMat.cpp, - src/osgPlugins/osg/Texture.cpp, - src/osgPlugins/osg/TextureCubeMap.cpp, - src/osgPlugins/osg/Transform.cpp, - src/osgPlugins/osg/Transparency.cpp, - src/osgText/FTBitmapGlyph.cpp, src/osgText/FTFace.cpp, - src/osgText/FTFont.cpp, src/osgText/FTGL.h, - src/osgText/FTGLBitmapFont.cpp, src/osgText/FTGLOutlineFont.cpp, - src/osgText/FTGLPixmapFont.cpp, src/osgText/FTGLPolygonFont.cpp, - src/osgText/FTGLTextureFont.cpp, - src/osgText/FTGlyphContainer.cpp, src/osgText/FTLibrary.cpp, - src/osgText/FTOutlineGlyph.cpp, src/osgText/FTPixmapGlyph.cpp, - src/osgText/FTPolyGlyph.cpp, src/osgText/FTVectoriser.cpp, - src/osgText/Font.cpp, src/osgText/Paragraph.cpp, - src/osgUtil/CullVisitor.cpp, - src/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgUtil/DriveManipulator.cpp, - src/osgUtil/InsertImpostorsVisitor.cpp, - src/osgUtil/IntersectVisitor.cpp, - src/osgUtil/NvTriStripObjects.cpp, src/osgUtil/Optimizer.cpp, - src/osgUtil/SceneView.cpp, src/osgUtil/SceneViewManipulator.cpp, - src/osgUtil/SmoothingVisitor.cpp, - src/osgUtil/TriStripVisitor.cpp: 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 - - * Make/makedirrules: Adding makedirrrules to Make directory - -2002-03-26 21:24 don - - * Make/makedefs.new, Make/makerules.new: 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 - - * Make/makedefs.freebsd, Make/makedefs.irix.std, - Make/makedefs.irix.std.64, Make/makedefs.linux, - Make/makedefs.macosx, VisualStudio/osg/osg.dsp, - include/osg/MemoryManager, src/Demos/hangglide/terrain.cpp, - src/Demos/osgreflect/osgreflect.cpp, src/osg/Image.cpp, - src/osg/Makefile, src/osg/MemoryManager.cpp: 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 - - * VisualStudio/Demos/osgtexture/osgstereoimage.dsp: Added missing - osgstereoimage.dsp - -2002-03-25 19:04 robert - - * include/osg/Math, src/osg/Image.cpp: Fixes for MacOSX build. - -2002-03-23 21:30 robert - - * src/osg/DisplaySettings.cpp: Fixed warning in DisplaySettings.cpp - -2002-03-23 21:28 robert - - * include/osgGLUT/Viewer, include/osgGLUT/Window, - src/osgGLUT/Viewer.cpp, src/osgGLUT/Window.cpp: 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 - - * include/osg/Texture: Added GL_TEXTURE_3D definition for those - with gl.h headers which don't - contain it. - -2002-03-21 15:46 robert - - * src/osgPlugins/osg/TextureCubeMap.cpp: Added missing - TextureCubeMap.cpp to cvs. - -2002-03-21 12:36 robert - - * include/osg/State, src/osg/State.cpp, src/osg/Texture.cpp: - 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 - - * include/osg/State, src/osg/State.cpp, src/osg/Texture.cpp: 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 - - * src/osgUtil/SceneView.cpp: _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 - - * src/Demos/osgcluster/broadcaster.cpp, src/Demos/osgviews/README, - src/osgPlugins/dx/AreaGeoSetTriangulator.cpp, - src/osgPlugins/dx/DXWriter.cpp, - src/osgPlugins/quicktime/ReaderWriterQT.cpp, - src/osgPlugins/tga/ReaderWriterTGA.cpp: 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 - - * AUTHORS, VisualStudio/osgPlugins/osg/dot_osg.dsp, - include/osg/TextureCubeMap, src/osg/Texture.cpp, - src/osg/TextureCubeMap.cpp, src/osgPlugins/osg/Makefile, - src/osgPlugins/osg/StateSet.cpp, src/osgPlugins/osg/TexGen.cpp: - Added osg::TextureCubeMap which encapsulates OpenGL's cube - texture mapping. - -2002-03-20 14:03 robert - - * include/osg/Referenced, include/osgDB/ReaderWriter, - src/osgPlugins/osg/ReaderWriterOSG.cpp: 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 - - * include/osg/Texture, include/osg/TextureCubeMap, - src/Demos/osgtexture/osgtexture.cpp, src/osg/Texture.cpp, - src/osg/TextureCubeMap.cpp: 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 - - * src/osgUtil/IntersectVisitor.cpp: 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 - - * VisualStudio/osg/osg.dsp, include/osg/TexGen, - include/osg/Texture, include/osg/TextureCubeMap, - src/osg/Makefile, src/osg/TexGen.cpp, src/osg/TextureCubeMap.cpp: - Added osg::TextureCubeMap. submission from Brede Johansen. - -2002-03-18 22:03 robert - - * src/osgPlugins/dw/ReaderWriterDW.cpp, src/osgUtil/Optimizer.cpp: - 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 - - * include/osg/GeoSet, include/osg/Math, include/osg/State, - include/osgGLUT/Viewer, include/osgUtil/Optimizer, - src/osg/Matrix.cpp: Changes required for SUN Solaris port... - -2002-03-17 18:44 robert - - * VisualStudio/VisualStudio.dsw, src/Demos/Makefile, - src/Demos/osgstereoimage, src/Demos/osgstereoimage/Makefile, - src/Demos/osgstereoimage/osgstereoimage.cpp, src/osg/Image.cpp: - Added new osgstereoimage demo which loads two stero paired images - to create - a 3D via of photographed scene. - -2002-03-14 23:19 robert - - * src/osgDB/FileUtils.cpp: Fix of a delete char array so it used - delete []. - -2002-03-14 20:29 don - - * src/osgDB/FileUtils.cpp: 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 - - * include/osg/StateAttribute, include/osg/StateSet, - include/osgGLUT/GLUTEventAdapter, include/osgGLUT/Viewer, - include/osgUtil/CameraManipulator, - include/osgUtil/GUIEventAdapter, src/osg/Image.cpp, - src/osg/StateSet.cpp, src/osgGLUT/GLUTEventAdapter.cpp, - src/osgGLUT/Viewer.cpp, src/osgUtil/CameraManipulator.cpp, - src/osgUtil/DriveManipulator.cpp, - src/osgUtil/FlightManipulator.cpp, src/osgUtil/Optimizer.cpp, - src/osgUtil/SceneView.cpp: 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 - - * src/Demos/osgtexture/osgtexture.cpp: 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 - - * include/osg/Drawable, include/osg/Math, include/osg/NodeCallback, - include/osg/Texture, src/osg/Texture.cpp, - src/osgPlugins/osg/Texture.cpp, src/osgUtil/CullVisitor.cpp: - 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 - - * src/osgPlugins/txp/trpage_io.h, - src/osgPlugins/txp/trpage_readbuf.cpp: 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 - - * include/osg/Texture, src/osg/Texture.cpp: Fixed compile flags in - Texture - -2002-03-13 22:44 don - - * include/osg/Drawable, src/osg/Drawable.cpp, src/osg/Texture.cpp, - src/osgUtil/CullVisitor.cpp: 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 - - * src/osgPlugins/lib3ds/ReaderWriter3DS.cpp: Support added for - pivot points, submission from Mike Connel. - -2002-03-09 10:53 robert - - * src/osgGLUT/Viewer.cpp: Fixed setWindowWidth call to account for - width and height correctly. - -2002-03-09 10:52 robert - - * VisualStudio/osgPlugins/txp/txp.dsp: TXP plugin updates from - Boris Bralo. - -2002-03-09 10:52 robert - - * src/osgPlugins/txp/trpage_compat.cpp, - src/osgPlugins/txp/trpage_compat.h, - src/osgPlugins/txp/trpage_light.cpp, - src/osgPlugins/txp/trpage_pparse.cpp, - src/osgPlugins/txp/trpage_print.cpp, - src/osgPlugins/txp/trpage_print.h, - src/osgPlugins/txp/trpage_range.cpp: TXP plugin changes submitted - by Boris Bralo. - -2002-03-09 10:51 robert - - * src/osgPlugins/txp/Makefile, - src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/TrPageArchive.cpp, - src/osgPlugins/txp/TrPageParser.cpp, src/osgPlugins/txp/trdll.h, - src/osgPlugins/txp/trpage_basic.cpp, - src/osgPlugins/txp/trpage_geom.cpp, - src/osgPlugins/txp/trpage_geom.h, - src/osgPlugins/txp/trpage_header.cpp, - src/osgPlugins/txp/trpage_ident.h, - src/osgPlugins/txp/trpage_io.h, - src/osgPlugins/txp/trpage_material.cpp, - src/osgPlugins/txp/trpage_model.cpp, - src/osgPlugins/txp/trpage_nodes.cpp, - src/osgPlugins/txp/trpage_parse.cpp, - src/osgPlugins/txp/trpage_rarchive.cpp, - src/osgPlugins/txp/trpage_read.h, - src/osgPlugins/txp/trpage_readbuf.cpp, - src/osgPlugins/txp/trpage_scene.cpp, - src/osgPlugins/txp/trpage_scene.h, - src/osgPlugins/txp/trpage_swap.cpp, - src/osgPlugins/txp/trpage_swap.h, - src/osgPlugins/txp/trpage_sys.h, - src/osgPlugins/txp/trpage_tile.cpp, - src/osgPlugins/txp/trpage_warchive.cpp, - src/osgPlugins/txp/trpage_write.h, - src/osgPlugins/txp/trpage_writebuf.cpp: TXP plugin update from - Boris Bralo. - -2002-03-04 01:37 robert - - * src/osgPlugins/obj/ReaderWriterOBJ.cpp: Added file extension - guard to .obj reader plugin. - -2002-03-03 22:31 robert - - * include/osgUtil/SceneView, src/osgUtil/SceneView.cpp: 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 - - * src/osg/LightModel.cpp, src/osgDB/Registry.cpp: Added a GL vesion - number check to LightModel, and small typo fix in Registry. - -2002-03-01 09:29 robert - - * src/osg/AnimationPath.cpp, src/osgUtil/Optimizer.cpp: 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 - - * src/osgText/FTFont.cpp, src/osgText/FTGLTextureFont.cpp: Fixes to - osgText to improve robustness when running multithreaded - multipipe - apps. - -2002-03-01 09:27 robert - - * include/osg/Texture, src/osg/Texture.cpp: Updates to the clamp to - border support in osg::Texture. - -2002-02-28 00:11 robert - - * include/osg/DisplaySettings, include/osg/Texture, - include/osg/Transform, include/osgDB/Registry, - src/osg/DisplaySettings.cpp, src/osg/Drawable.cpp, - src/osg/Texture.cpp, src/osgDB/Registry.cpp: Added support for - setting the maximum number of graphics contexts that the - OSG has to maintian. - -2002-02-27 22:12 robert - - * src/osgPlugins/dx/DXWriter.cpp: Added an using namespace osg to - fix a MipsPro7.3 build error. - -2002-02-27 22:04 robert - - * AUTHORS: Updated AUTHORS file with Boris' email address. - -2002-02-27 22:00 robert - - * include/osg/Texture, src/osg/Texture.cpp: Integrated support for - GL_CLAMP_TO_BORDER_ARB extension to osg::Texture, - submitted by Sasa Bistrovic. - -2002-02-27 21:57 robert - - * src/osgPlugins/dw/ReaderWriterDW.cpp: Fixes to DW loader, - submitted by Geoff Michel. - -2002-02-27 00:58 robert - - * VisualStudio/osg/osg.dsp, include/osg/AnimationPath, - include/osg/Quat, src/osg/AnimationPath.cpp, src/osg/Makefile: - 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 - - * include/osg/Quat, src/osg/Matrix.cpp, src/osg/Quat.cpp: Added - makeRotate(heading,pitch,roll) to Quat in prep for new classes - for - animation paths. - -2002-02-25 23:14 robert - - * Metrowerks/OpenSceneGraph.mcp, src/osg/LightModel.cpp: 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 - - * VisualStudio/osg/osg.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, include/osg/LightModel, - include/osg/StateAttribute, include/osgGLUT/Viewer, - src/osg/LightModel.cpp, src/osg/Makefile, src/osgGLUT/Viewer.cpp, - src/osgPlugins/osg/LightModel.cpp, src/osgPlugins/osg/Makefile: - Added support for glLightModel functionality via osg::LightModel. - -2002-02-24 23:03 robert - - * ChangeLog, NEWS, doc/doc++/osg/AlphaFunc.html, - doc/doc++/osg/Billboard.html, doc/doc++/osg/Camera.html, - doc/doc++/osg/ClipPlane.html, doc/doc++/osg/ColorMask.html, - doc/doc++/osg/ColorMatrix.html, doc/doc++/osg/CopyOp.html, - doc/doc++/osg/CullFace.html, doc/doc++/osg/Depth.html, - doc/doc++/osg/DisplaySettings.html, doc/doc++/osg/EarthSky.html, - doc/doc++/osg/Fog.html, doc/doc++/osg/FrontFace.html, - doc/doc++/osg/General.html, doc/doc++/osg/Geode.html, - doc/doc++/osg/Group.html, doc/doc++/osg/HIER.html, - doc/doc++/osg/HIERjava.html, doc/doc++/osg/Impostor.html, - doc/doc++/osg/LOD.html, doc/doc++/osg/Light.html, - doc/doc++/osg/LightSource.html, doc/doc++/osg/LineStipple.html, - doc/doc++/osg/LineWidth.html, doc/doc++/osg/META_Object.html, - doc/doc++/osg/Material.html, doc/doc++/osg/Matrix.html, - doc/doc++/osg/MatrixMode.html, doc/doc++/osg/MemoryAdapter.html, - doc/doc++/osg/Node.html, doc/doc++/osg/NodeAcceptOp.html, - doc/doc++/osg/NodeCallback.html, doc/doc++/osg/NodeVisitor.html, - doc/doc++/osg/NotifySeverity.html, doc/doc++/osg/Object.html, - doc/doc++/osg/Plane.html, doc/doc++/osg/Point.html, - doc/doc++/osg/PolygonMode.html, doc/doc++/osg/PolygonOffset.html, - doc/doc++/osg/PositionAttitudeTransform.html, - doc/doc++/osg/Quat.html, doc/doc++/osg/Referenced.html, - doc/doc++/osg/ShadeModel.html, doc/doc++/osg/State.html, - doc/doc++/osg/StateAttribute.html, doc/doc++/osg/StateSet.html, - doc/doc++/osg/Statistics.html, doc/doc++/osg/Stencil.html, - doc/doc++/osg/Switch.html, doc/doc++/osg/TexEnv.html, - doc/doc++/osg/TexGen.html, doc/doc++/osg/TexMat.html, - doc/doc++/osg/Texture.html, doc/doc++/osg/Timer.html, - doc/doc++/osg/Transform.html, doc/doc++/osg/Transparency.html, - doc/doc++/osg/Vec2.html, doc/doc++/osg/Vec3.html, - doc/doc++/osg/Vec4.html, doc/doc++/osg/Viewport.html, - doc/doc++/osg/clampArray3BetweenRange.html, - doc/doc++/osg/clampArray3GEQUAL.html, - doc/doc++/osg/clampArray3LEQUAL.html, - doc/doc++/osg/clampArray4BetweenRange.html, - doc/doc++/osg/clampArray4GEQUAL.html, - doc/doc++/osg/clampArray4LEQUAL.html, - doc/doc++/osg/clampArrayElementBetweenRange.html, - doc/doc++/osg/clampArrayElementGEQUAL.html, - doc/doc++/osg/clampArrayElementLEQUAL.html, - doc/doc++/osg/clampArrayElementsBetweenRange.html, - doc/doc++/osg/clampArrayElementsGEQUAL.html, - doc/doc++/osg/clampArrayElementsLEQUAL.html, - doc/doc++/osg/clampBetweenRange.html, - doc/doc++/osg/clampGEQUAL.html, doc/doc++/osg/clampLEQUAL.html, - doc/doc++/osg/for_each_triangle.html, doc/doc++/osg/index.html, - doc/doc++/osg/mem_ptr.html, doc/doc++/osg/osg.html, - doc/doc++/osg/ref_ptr.html, - doc/doc++/osgDB/FieldReaderIterator.html, - doc/doc++/osgDB/Input.html, - doc/doc++/osgGLUT/GLUTEventAdapter.html, - doc/doc++/osgUtil/CullVisitor.html, - doc/doc++/osgUtil/DisplayListVisitor.html, - doc/doc++/osgUtil/RenderGraph.html, - doc/doc++/osgUtil/RenderStage.html, - doc/doc++/osgUtil/RenderStageLighting.html, - doc/doc++/osgUtil/RenderToTextureStage.html, - doc/doc++/osgUtil/SceneView.html: Updated docs, ChangLog and NEW - for patched version of 0.8.44. - -2002-02-24 22:39 robert - - * Metrowerks/OpenSceneGraph.mcp: Added LineStipple to mcp file. - -2002-02-24 20:55 robert - - * VisualStudio/osg/osg.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, include/osg/LineStipple, - include/osg/StateAttribute, src/Demos/osgscribe/osgscribe.cpp, - src/osg/LineStipple.cpp, src/osg/Makefile, - src/osgPlugins/osg/LineStipple.cpp, src/osgPlugins/osg/Makefile, - src/osgPlugins/osg/StateSet.cpp: Added support for glLineStipple - via osg::LineStipple state attribute. - -2002-02-24 20:21 robert - - * Metrowerks/Metrowerks.mcp: 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 - - * src/osgUtil/CullVisitor.cpp, src/osgUtil/IntersectVisitor.cpp: - 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 - - * Metrowerks/OpenSceneGraph.mcp: Updates to Windows Codwarrior file - -2002-02-22 23:40 robert - - * include/osg/Timer: updates for Win32 Codewarrior build - -2002-02-22 23:39 robert - - * include/osg/FrameStamp: Fix for win32 Codewarrior build - -2002-02-22 17:12 robert - - * Metrowerks/OpenSceneGraph.mcp, Metrowerks/PrefixWin32.h, - Metrowerks/osgCorePrefixWin32.h, Metrowerks/osgDBPrefixWin32.h, - Metrowerks/osgGlutPrefixWin32.h, Metrowerks/osgTextPrefixWin32.h, - Metrowerks/osgUtilPrefixWin32.h, include/osg/BoundsChecking, - include/osg/Export, include/osg/GL, include/osg/Math, - include/osg/Statistics, include/osgDB/Export, - include/osgDB/FieldReaderIterator, include/osgGLUT/Export, - include/osgUtil/Export, src/Demos/sgv/sgv.cpp, - src/osg/DisplaySettings.cpp, src/osg/Image.cpp, - src/osg/Notify.cpp, src/osgDB/Field.cpp, - src/osgDB/FileNameUtils.cpp, src/osgGLUT/Viewer.cpp, - src/osgUtil/NvTriStripObjects.cpp: Add support for Metrowerks - Codewarrior build under Windows. - -2002-02-19 18:59 robert - - * VisualStudio/osgPlugins/txp/txp.dsp: fixed txp build name problem - - was overwriting .osg plugin. - -2002-02-18 23:01 robert - - * include/osgUtil/CullVisitor, include/osgUtil/RenderGraph, - include/osgUtil/SceneView, src/osg/Camera.cpp, - src/osgPlugins/Makefile, src/osgPlugins/pfb/Makefile, - src/osgUtil/SceneView.cpp: Fixed stereo implementation. - -2002-02-18 21:52 robert - - * src/osgPlugins/dx/DXWriter.cpp, src/osgPlugins/dx/DXWriter.h: - Fixes to Win32 build of new DX writer plugin. - -2002-02-18 20:48 robert - - * src/osgPlugins/Makefile: Comment w.r.t OpenDX plugin updated. - -2002-02-18 20:46 robert - - * AUTHORS, NEWS, VisualStudio/VisualStudio.dsw, - VisualStudio/osgPlugins/dx, VisualStudio/osgPlugins/dx/dx.dsp, - include/osgGLUT/GLUTEventAdapter, - src/osgGLUT/GLUTEventAdapter.cpp, src/osgPlugins/Makefile, - src/osgPlugins/dx, src/osgPlugins/dx/AreaGeoSetTriangulator.cpp, - src/osgPlugins/dx/AreaGeoSetTriangulator.h, - src/osgPlugins/dx/DXWriter.cpp, src/osgPlugins/dx/DXWriter.h, - src/osgPlugins/dx/Makefile, src/osgPlugins/dx/ReaderWriterDX.cpp, - src/osgPlugins/dx/ReaderWriterDX.h, - src/osgPlugins/dx/StateSetStr.cpp, - src/osgPlugins/dx/StateSetStr.h, - src/osgPlugins/osg/ReaderWriterOSG.cpp: Added OpenDX writer from - Randall Hopper. - -2002-02-14 13:26 robert - - * include/osgUtil/SceneView, src/osgUtil/SceneView.cpp: Beginings - of reimplementation of stereo support in scene view. Work - not complete yet. - -2002-02-14 12:55 robert - - * VisualStudio/osgPlugins/txp/txp.dsp: updated the options for the - txp plugin. - -2002-02-14 12:51 robert - - * VisualStudio/Demos/wxsgv, VisualStudio/osgWX: Removed osgWX - workspace files. - -2002-02-14 11:06 robert - - * src/osgUtil/CullVisitor.cpp: 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 - - * Make/makedefs.irix.std.64, Makefile, src/Demos/Makefile, - src/Demos/hangglide/Makefile, src/Demos/osgbillboard/Makefile, - src/Demos/osgcluster/Makefile, src/Demos/osgcopy/Makefile, - src/Demos/osgcube/Makefile, src/Demos/osgimpostor/Makefile, - src/Demos/osgreflect/Makefile, src/Demos/osgscribe/Makefile, - src/Demos/osgtext/Makefile, src/Demos/osgtexture/Makefile, - src/Demos/osgviews/Makefile, src/Demos/sgv/Makefile, - src/Makefile, src/osg/Makefile, src/osgDB/Makefile, - src/osgGLUT/Makefile, src/osgPlugins/Makefile, - src/osgPlugins/bmp/Makefile, src/osgPlugins/dw/Makefile, - src/osgPlugins/flt/Makefile, src/osgPlugins/gif/Makefile, - src/osgPlugins/jpeg/Makefile, src/osgPlugins/lib3ds/Makefile, - src/osgPlugins/lwo/Makefile, src/osgPlugins/obj/Makefile, - src/osgPlugins/osg/Makefile, src/osgPlugins/osgtgz/Makefile, - src/osgPlugins/pfb/Makefile, src/osgPlugins/pic/Makefile, - src/osgPlugins/png/Makefile, src/osgPlugins/quicktime/Makefile, - src/osgPlugins/rgb/Makefile, src/osgPlugins/tga/Makefile, - src/osgPlugins/tgz/Makefile, src/osgPlugins/tiff/Makefile, - src/osgPlugins/txp/Makefile, src/osgPlugins/zip/Makefile, - src/osgText/Makefile, src/osgUtil/Makefile: 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 - - * src/Demos/osgconv/Makefile, - src/Demos/osgconv/OrientationConverter.cpp, - src/Demos/osgconv/OrientationConverter.h, - src/Demos/osgconv/osgconv.cpp: 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 - - * include/osg/GeoSet, include/osg/Math: 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 - - * src/osg/Camera.cpp, src/osgGLUT/Viewer.cpp, - src/osgUtil/SceneView.cpp: Fixed problems with intersection - visitor coupled with the viewer. - -2002-02-13 00:00 robert - - * src/Demos/sgv/Makefile: Added sgv -stereo cessna.osg to make test - list. - -2002-02-12 23:49 robert - - * Makefile, src/Demos/Makefile, src/Demos/hangglide/Makefile, - src/Demos/hangglide/hangglide.cpp, - src/Demos/osgbillboard/Makefile, - src/Demos/osgbillboard/osgbillboard.cpp, - src/Demos/osgcluster/Makefile, - src/Demos/osgcluster/osgcluster.cpp, src/Demos/osgconv/Makefile, - src/Demos/osgcopy/Makefile, src/Demos/osgcopy/osgcopy.cpp, - src/Demos/osgcube/Makefile, src/Demos/osgcube/osgcube.cpp, - src/Demos/osgimpostor/Makefile, - src/Demos/osgimpostor/osgimpostor.cpp, - src/Demos/osgreflect/Makefile, - src/Demos/osgreflect/osgreflect.cpp, - src/Demos/osgscribe/Makefile, src/Demos/osgscribe/osgscribe.cpp, - src/Demos/osgtext/Makefile, src/Demos/osgtext/main.cpp, - src/Demos/osgtexture/Makefile, - src/Demos/osgtexture/osgtexture.cpp, src/Demos/osgviews/Makefile, - src/Demos/osgviews/osgviews.cpp, src/Demos/sgv/Makefile, - src/Demos/sgv/sgv.cpp, src/Makefile, - src/osgUtil/DepthSortedBin.cpp, src/osgUtil/RenderBin.cpp, - src/osgUtil/SceneView.cpp: 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 - - * doc/index.html, index.html, src/osg/Camera.cpp, - src/osgDB/Registry.cpp, src/osgPlugins/flt/GeoSetBuilder.h, - src/osgPlugins/txp/Makefile, src/osgUtil/SceneView.cpp: Updates - for IRIX build, and docs updates. - -2002-02-12 22:35 robert - - * doc/doc++/osgWX: Removed references to osgWX from the doc++ - directory. - -2002-02-12 08:23 robert - - * include/osg/Transform, include/osgUtil/CullVisitor: Updates to - Transform and CullVistor to support new getLocalToWorldMatrix - methods. - -2002-02-11 23:24 robert - - * src/osg/Matrix.cpp, src/osg/Transform.cpp, - src/osgUtil/CullVisitor.cpp: Updates to Transform handling in - CullVisitor, in prep for moving camera - modelview and projection into Transform nodes. - -2002-02-11 22:53 robert - - * src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/TrPageArchive.cpp, - src/osgPlugins/txp/TrPageArchive.h, - src/osgPlugins/txp/TrPageParser.h: Clean up of TXP plugin for - IRIX build. - -2002-02-11 19:51 robert - - * Makefile, include/osgUtil/RenderStage, - include/osgUtil/RenderStageLighting, src/osgUtil/RenderLeaf.cpp, - src/osgUtil/RenderStage.cpp, src/osgUtil/RenderStageLighting.cpp, - src/osgUtil/SceneView.cpp: 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 - - * src/osgPlugins/txp/Makefile: 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 - - * src/osgPlugins/flt/flt2osg.cpp: Applied fix to transparancy in - flt loader. - -2002-02-11 03:26 robert - - * NEWS: Fixed the date on the release. - -2002-02-11 02:38 robert - - * ChangeLog: Updated changelog for release. - -2002-02-11 02:34 robert - - * src/osgPlugins/dw/Makefile, src/osgPlugins/flt/Makefile, - src/osgPlugins/gif/Makefile, src/osgPlugins/jpeg/Makefile, - src/osgPlugins/lib3ds/Makefile, src/osgPlugins/lwo/Makefile, - src/osgPlugins/obj/Makefile, src/osgPlugins/osg/Makefile, - src/osgPlugins/osgtgz/Makefile, src/osgPlugins/pfb/Makefile, - src/osgPlugins/pic/Makefile, src/osgPlugins/png/Makefile, - src/osgPlugins/quicktime/Makefile, src/osgPlugins/tga/Makefile, - src/osgPlugins/tgz/Makefile, src/osgPlugins/tiff/Makefile, - src/osgPlugins/txp/Makefile, src/osgPlugins/zip/Makefile: 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 - - * ChangeLog: Updated changelog. - -2002-02-11 00:51 robert - - * doc/doc++/osg/NodeVisitor.html, doc/doc++/osg/Statistics.html, - doc/doc++/osgText/RasterFont.html, - doc/doc++/osgText/VectorFont.html: Did a make docs, in prep for - the 0.8.44 release. - -2002-02-11 00:42 robert - - * doc/doc++/osg/CopyOp.html, doc/doc++/osg/MatrixMode.html, - doc/doc++/osg/OSG_NODECALLBACK.html, - doc/doc++/osg/PositionAttitudeTransform.html, - doc/doc++/osg/ShadeModel.html: Added missing doc++ generated - .html files. - -2002-02-11 00:40 robert - - * include/osg/Statistics, src/osg/GeoSet.cpp, - src/osg/ImpostorSprite.cpp: Updated Stats code, sent in by Geof - Michel. - -2002-02-11 00:23 robert - - * INSTALL: Clean up INSTALL notes. - -2002-02-10 23:19 robert - - * NEWS, src/osg/NodeVisitor.cpp: 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 - - * AUTHORS, INSTALL, include/osg/NodeVisitor, - src/osg/NodeVisitor.cpp: 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 - - * include/osg/Export: Disbalbed a dumb warning in Windows build via - a #pragma. - -2002-02-10 17:16 robert - - * src/osgGLUT/Viewer.cpp, src/osgUtil/DriveManipulator.cpp, - src/osgUtil/SceneView.cpp: 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 - - * Make/makedefs.macosx, src/Demos/osgbillboard/osgbillboard.cpp, - src/Demos/osgcluster/osgcluster.cpp, - src/Demos/osgtexture/osgtexture.cpp, - src/Demos/osgviews/osgviews.cpp: Fixes for MacOSX build. - -2002-02-10 10:42 robert - - * src/osgPlugins/txp/Makefile, src/osgPlugins/txp/trpage_geom.cpp, - src/osgPlugins/txp/trpage_main.cpp, - src/osgPlugins/txp/trpage_read.h, - src/osgPlugins/txp/trpage_scene.h, - src/osgPlugins/txp/trpage_sys.h: Fixes to TXP loader for Cygwin - and Ming builds. - -2002-02-09 22:29 robert - - * src/osgUtil/Optimizer.cpp: 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 - - * src/osgPlugins/bmp/ReaderWriterBMP.cpp: Updates to BMP loader - from Geoff Michel. - -2002-02-09 19:46 robert - - * src/osgPlugins/txp/Makefile, - src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/ReaderWriterTXP.h, - src/osgPlugins/txp/TrPageArchive.cpp, - src/osgPlugins/txp/TrPageArchive.h, - src/osgPlugins/txp/TrPageParser.cpp, - src/osgPlugins/txp/TrPageParser.h, - src/osgPlugins/txp/license.txt, - src/osgPlugins/txp/trpage_geom.cpp, - src/osgPlugins/txp/trpage_parse.cpp: 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 - - * INSTALL, include/osgText/Font, src/osg/Camera.cpp, - src/osg/NodeVisitor.cpp, src/osgDB/Registry.cpp, - src/osgText/FTGLTextureFont.cpp, src/osgText/FTPolyGlyph.cpp: - Updates to docs and fixes to a few warnings. - -2002-02-09 10:54 robert - - * doc/doc++/osg/AlphaFunc.html, - doc/doc++/osg/AttributeFunctor.html, - doc/doc++/osg/Billboard.html, doc/doc++/osg/Camera.html, - doc/doc++/osg/ClipPlane.html, doc/doc++/osg/ColorMask.html, - doc/doc++/osg/ColorMatrix.html, doc/doc++/osg/CullFace.html, - doc/doc++/osg/Depth.html, doc/doc++/osg/DisplaySettings.html, - doc/doc++/osg/Drawable.html, doc/doc++/osg/EarthSky.html, - doc/doc++/osg/Fog.html, doc/doc++/osg/FrameStamp.html, - doc/doc++/osg/FrontFace.html, doc/doc++/osg/General.html, - doc/doc++/osg/GeoSet.html, doc/doc++/osg/Geode.html, - doc/doc++/osg/Group.html, doc/doc++/osg/HIER.html, - doc/doc++/osg/HIERjava.html, doc/doc++/osg/Image.html, - doc/doc++/osg/Impostor.html, doc/doc++/osg/ImpostorSprite.html, - doc/doc++/osg/ImpostorSpriteManager.html, doc/doc++/osg/LOD.html, - doc/doc++/osg/Light.html, doc/doc++/osg/LightSource.html, - doc/doc++/osg/LineSegment.html, doc/doc++/osg/LineWidth.html, - doc/doc++/osg/META_Object.html, doc/doc++/osg/Material.html, - doc/doc++/osg/Matrix.html, doc/doc++/osg/MemoryAdapter.html, - doc/doc++/osg/Node.html, doc/doc++/osg/NodeAcceptOp.html, - doc/doc++/osg/NodeCallback.html, doc/doc++/osg/NodeVisitor.html, - doc/doc++/osg/NotifySeverity.html, doc/doc++/osg/Object.html, - doc/doc++/osg/Plane.html, doc/doc++/osg/Point.html, - doc/doc++/osg/PolygonMode.html, doc/doc++/osg/PolygonOffset.html, - doc/doc++/osg/Quat.html, doc/doc++/osg/Referenced.html, - doc/doc++/osg/State.html, doc/doc++/osg/StateAttribute.html, - doc/doc++/osg/StateSet.html, doc/doc++/osg/Statistics.html, - doc/doc++/osg/Stencil.html, doc/doc++/osg/Switch.html, - doc/doc++/osg/TexEnv.html, doc/doc++/osg/TexGen.html, - doc/doc++/osg/TexMat.html, doc/doc++/osg/Texture.html, - doc/doc++/osg/Timer.html, doc/doc++/osg/Transform.html, - doc/doc++/osg/Transparency.html, doc/doc++/osg/Vec2.html, - doc/doc++/osg/Vec3.html, doc/doc++/osg/Vec4.html, - doc/doc++/osg/Viewport.html, - doc/doc++/osg/clampArray3BetweenRange.html, - doc/doc++/osg/clampArray3GEQUAL.html, - doc/doc++/osg/clampArray3LEQUAL.html, - doc/doc++/osg/clampArray4BetweenRange.html, - doc/doc++/osg/clampArray4GEQUAL.html, - doc/doc++/osg/clampArray4LEQUAL.html, - doc/doc++/osg/clampArrayElementBetweenRange.html, - doc/doc++/osg/clampArrayElementGEQUAL.html, - doc/doc++/osg/clampArrayElementLEQUAL.html, - doc/doc++/osg/clampArrayElementsBetweenRange.html, - doc/doc++/osg/clampArrayElementsGEQUAL.html, - doc/doc++/osg/clampArrayElementsLEQUAL.html, - doc/doc++/osg/clampBetweenRange.html, - doc/doc++/osg/clampGEQUAL.html, doc/doc++/osg/clampLEQUAL.html, - doc/doc++/osg/createGeodeForImage.2.html, - doc/doc++/osg/for_each_triangle.html, doc/doc++/osg/index.html, - doc/doc++/osg/mem_ptr.html, doc/doc++/osg/osg.html, - doc/doc++/osg/ref_ptr.html, doc/doc++/osgDB/General.html, - doc/doc++/osgDB/Output.html, doc/doc++/osgDB/index.html, - doc/doc++/osgGLUT/General.html, doc/doc++/osgGLUT/Viewer.html, - doc/doc++/osgGLUT/Window.html, doc/doc++/osgGLUT/index.html, - doc/doc++/osgGLUT/osgGLUT.html, - doc/doc++/osgText/BitmapFont.html, doc/doc++/osgText/Font.html, - doc/doc++/osgText/OutlineFont.html, - doc/doc++/osgText/Paragraph.html, - doc/doc++/osgText/PixmapFont.html, - doc/doc++/osgText/PolygonFont.html, - doc/doc++/osgText/RasterFont.html, doc/doc++/osgText/Text.html, - doc/doc++/osgText/TextureFont.html, - doc/doc++/osgText/VectorFont.html, - doc/doc++/osgText/osgText.html, - doc/doc++/osgUtil/CombineLODsVisitor.html, - doc/doc++/osgUtil/CullViewState.html, - doc/doc++/osgUtil/CullVisitor.html, - doc/doc++/osgUtil/DepthSortedBin.html, - doc/doc++/osgUtil/DisplayListVisitor.html, - doc/doc++/osgUtil/FlattenStaticTransformsVisitor.html, - doc/doc++/osgUtil/GUIEventAdapter.html, - doc/doc++/osgUtil/HIER.html, doc/doc++/osgUtil/HIERjava.html, - doc/doc++/osgUtil/Hit.html, - doc/doc++/osgUtil/IntersectState.html, - doc/doc++/osgUtil/IntersectVisitor.html, - doc/doc++/osgUtil/Optimizer.html, - doc/doc++/osgUtil/RegisterRenderBinProxy.html, - doc/doc++/osgUtil/RemoveRedundentNodesVisitor.html, - doc/doc++/osgUtil/RenderBin.html, - doc/doc++/osgUtil/RenderGraph.html, - doc/doc++/osgUtil/RenderLeaf.html, - doc/doc++/osgUtil/RenderStage.html, - doc/doc++/osgUtil/RenderStageLighting.html, - doc/doc++/osgUtil/RenderToTextureStage.html, - doc/doc++/osgUtil/SceneView.html, - doc/doc++/osgUtil/SceneViewManipulator.html, - doc/doc++/osgUtil/SmoothingVisitor.html, - doc/doc++/osgUtil/StateSetManipulator.html, - doc/doc++/osgUtil/StateVisitor.html, - doc/doc++/osgUtil/Tesselator.html, - doc/doc++/osgUtil/TrackballManipulator.html, - doc/doc++/osgUtil/TransformCallback.html, - doc/doc++/osgUtil/TriStripVisitor.html, - doc/doc++/osgUtil/osgUtil.html: Updated docs. - -2002-02-09 10:50 robert - - * src/osgPlugins/bmp/Makefile, - src/osgPlugins/bmp/ReaderWriterBMP.cpp: Fix to BMP loader. - -2002-02-09 10:24 robert - - * Make/makedefs.cyg, Make/makedefs.irix.nonstd, - Make/makedefs.mingw, Make/makerules.cyg, Make/makerules.mingw, - Makefile, include/osg/Math, include/osg/Timer, - src/Demos/osgcluster/broadcaster.cpp, src/osg/GLExtensions.cpp, - src/osgDB/FileUtils.cpp, src/osgPlugins/flt/flt.h: Fixes for - cygwin and mingw builds. - -2002-02-08 23:07 robert - - * src/Demos/wxsgv: Removed further wxsgv files. - -2002-02-08 23:04 robert - - * include/osgWX, src/Demos/wxsgv/Makefile, - src/Demos/wxsgv/SceneGraphDlg.cpp, - src/Demos/wxsgv/SceneGraphDlg.h, src/Demos/wxsgv/app.cpp, - src/Demos/wxsgv/app.h, src/Demos/wxsgv/canvas.cpp, - src/Demos/wxsgv/canvas.h, src/Demos/wxsgv/frame.cpp, - src/Demos/wxsgv/frame.h, src/Demos/wxsgv/icons/camera.ico, - src/Demos/wxsgv/icons/engine.ico, src/Demos/wxsgv/icons/geom.ico, - src/Demos/wxsgv/icons/group.ico, src/Demos/wxsgv/icons/icon1.xpm, - src/Demos/wxsgv/icons/icon10.xpm, - src/Demos/wxsgv/icons/icon2.xpm, src/Demos/wxsgv/icons/icon3.xpm, - src/Demos/wxsgv/icons/icon4.xpm, src/Demos/wxsgv/icons/icon5.xpm, - src/Demos/wxsgv/icons/icon6.xpm, src/Demos/wxsgv/icons/icon7.xpm, - src/Demos/wxsgv/icons/icon8.xpm, src/Demos/wxsgv/icons/icon9.xpm, - src/Demos/wxsgv/icons/light.ico, src/Demos/wxsgv/icons/lod.ico, - src/Demos/wxsgv/icons/mesh.ico, src/Demos/wxsgv/icons/top.ico, - src/Demos/wxsgv/icons/unknown.ico, - src/Demos/wxsgv/icons/wxsgv.ico, src/Demos/wxsgv/icons/wxsgv.xpm, - src/osgWX: 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 - - * Makefile, include/osg/Drawable, include/osg/Node, - src/Demos/Makefile, src/Makefile, src/osg/Drawable.cpp, - src/osg/Geode.cpp, src/osg/Group.cpp, src/osg/Node.cpp, - src/osg/Version.cpp, src/osgDB/Version.cpp, - src/osgGLUT/Version.cpp, src/osgText/Version.cpp, - src/osgUtil/Version.cpp, src/osgWX/Version.cpp: Added support for - parents to Drawables. - - Bumped up version numbers in prep for 0.8.44. - -2002-02-08 09:30 robert - - * AUTHORS, Makefile, VisualStudio/VisualStudio.dsw, - VisualStudio/osgPlugins/txp, VisualStudio/osgPlugins/txp/txp.dsp, - include/osg/Billboard, include/osg/Statistics, - include/osgGLUT/Viewer, include/osgText/Font, - include/osgUtil/RenderStage, src/osg/Billboard.cpp, - src/osgDB/FileNameUtils.cpp, src/osgPlugins/Makefile, - src/osgPlugins/txp, src/osgPlugins/txp/Makefile, - src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/ReaderWriterTXP.h, - src/osgPlugins/txp/TrPageArchive.cpp, - src/osgPlugins/txp/TrPageArchive.h, - src/osgPlugins/txp/TrPageParser.cpp, - src/osgPlugins/txp/TrPageParser.h, - src/osgPlugins/txp/license.txt, src/osgPlugins/txp/trdll.h, - src/osgPlugins/txp/trpage_basic.cpp, - src/osgPlugins/txp/trpage_geom.cpp, - src/osgPlugins/txp/trpage_geom.h, - src/osgPlugins/txp/trpage_header.cpp, - src/osgPlugins/txp/trpage_ident.h, - src/osgPlugins/txp/trpage_io.h, - src/osgPlugins/txp/trpage_main.cpp, - src/osgPlugins/txp/trpage_material.cpp, - src/osgPlugins/txp/trpage_model.cpp, - src/osgPlugins/txp/trpage_nodes.cpp, - src/osgPlugins/txp/trpage_parse.cpp, - src/osgPlugins/txp/trpage_rarchive.cpp, - src/osgPlugins/txp/trpage_read.h, - src/osgPlugins/txp/trpage_readbuf.cpp, - src/osgPlugins/txp/trpage_scene.cpp, - src/osgPlugins/txp/trpage_scene.h, - src/osgPlugins/txp/trpage_swap.cpp, - src/osgPlugins/txp/trpage_swap.h, - src/osgPlugins/txp/trpage_sys.h, - src/osgPlugins/txp/trpage_tile.cpp, - src/osgPlugins/txp/trpage_warchive.cpp, - src/osgPlugins/txp/trpage_write.h, - src/osgPlugins/txp/trpage_writebuf.cpp, - src/osgText/Paragraph.cpp: Fixes for IRIX and Boris Bralo's - TerraPage loader. - -2002-02-07 08:07 robert - - * include/osg/Drawable: Fixed teh setDrawCallback so that it now - calls dirtyDisplayList() instead of - dirtyBound. - -2002-02-07 01:17 robert - - * src/osgDB/FileUtils.cpp: Fix for Win32 build. - -2002-02-07 01:15 robert - - * include/osg/Math, include/osg/Matrix, include/osg/Transform, - include/osgUtil/Optimizer, src/osg/Camera.cpp, - src/osg/Matrix.cpp, src/osgGLUT/Viewer.cpp, - src/osgUtil/CullVisitor.cpp: 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 - - * src/osgPlugins/dw/ReaderWriterDW.cpp: Fix for the handling of - lighting in the DW loader. - -2002-02-07 01:11 robert - - * include/osg/Referenced, src/osg/Object.cpp: 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 - - * include/osg/Billboard, include/osg/Drawable, include/osg/LOD, - src/osg/Billboard.cpp, src/osg/Drawable.cpp, src/osg/LOD.cpp: - Added callbacks to allow users to modify the underlying - functionality of - LOD, Billboard and Drawabel objects. - -2002-02-07 01:05 robert - - * src/osgPlugins/flt/Record.cpp: Added extensions code submitted by - Yefrei. - -2002-02-06 08:57 robert - - * src/osgDB/FileUtils.cpp, src/osgUtil/Optimizer.cpp: Compile - fixes. - -2002-02-05 21:54 robert - - * VisualStudio/osg/osg.dsp, include/osg/AutoTransform, - include/osg/Node, include/osg/NodeVisitor, - include/osg/PositionAttitudeTransform, include/osg/Statistics, - include/osg/Transform, include/osgUtil/CullVisitor, - src/osg/AutoTransform.cpp, src/osg/Makefile, src/osg/Node.cpp, - src/osg/NodeVisitor.cpp, src/osg/PositionAttitudeTransform.cpp, - src/osg/Transform.cpp, src/osgGLUT/Viewer.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/IntersectVisitor.cpp, - src/osgUtil/RenderBin.cpp: 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 - - * include/osg/Matrix, src/osg/Matrix.cpp: 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 - - * src/osgPlugins/flt/flt2osg.cpp: Added comment to flt2osg's - handling of osg::Material setup w.r.t - osg::Material::_colorMode. - -2002-02-03 22:32 don - - * src/osg/Makefile: added shademodel to TARGET_INCLUDE_FILES - -2002-02-03 20:57 robert - - * include/osg/AutoTransform, src/osg/AutoTransform.cpp: Added - beginings of new AutoTransform class. - -2002-02-03 19:18 robert - - * include/osgUtil/RenderLeaf, include/osgUtil/Tesselator, - src/osgPlugins/flt/Record.h, src/osgUtil/NvTriStripObjects.h: - Fixes for GCC 3.0.3 build. - -2002-02-03 12:33 robert - - * include/osg/AlphaFunc, include/osg/Billboard, - include/osg/BoundingBox, include/osg/BoundingSphere, - include/osg/ClipPlane, include/osg/ClippingVolume, - include/osg/ColorMask, include/osg/ColorMatrix, - include/osg/CopyOp, include/osg/CullFace, include/osg/Depth, - include/osg/Drawable, include/osg/EarthSky, include/osg/Fog, - include/osg/FrameStamp, include/osg/FrontFace, - include/osg/GLExtensions, include/osg/GeoSet, include/osg/Geode, - include/osg/Group, include/osg/Image, include/osg/Impostor, - include/osg/ImpostorSprite, include/osg/LOD, include/osg/Light, - include/osg/LightSource, include/osg/LineSegment, - include/osg/LineWidth, include/osg/Material, include/osg/Math, - include/osg/Matrix, include/osg/MemoryAdapter, include/osg/Node, - include/osg/NodeCallback, include/osg/NodeVisitor, - include/osg/Notify, include/osg/Object, include/osg/Plane, - include/osg/Point, include/osg/PolygonMode, - include/osg/PolygonOffset, include/osg/PositionAttitudeTransform, - include/osg/Quat, include/osg/Referenced, include/osg/ShadeModel, - include/osg/State, include/osg/StateAttribute, - include/osg/StateSet, include/osg/Statistics, - include/osg/Stencil, include/osg/Switch, include/osg/TexEnv, - include/osg/TexGen, include/osg/TexMat, include/osg/Texture, - include/osg/Timer, include/osg/Transform, - include/osg/Transparency, include/osg/Types, include/osg/Version, - include/osg/Viewport, include/osg/mem_ptr, include/osg/ref_ptr, - include/osgDB/DotOsgWrapper, include/osgDB/DynamicLibrary, - include/osgDB/Field, include/osgDB/FieldReader, - include/osgDB/FieldReaderIterator, include/osgDB/FileNameUtils, - include/osgDB/FileUtils, include/osgDB/Input, - include/osgDB/Output, include/osgDB/ReadFile, - include/osgDB/ReaderWriter, include/osgDB/Registry, - include/osgDB/Version, include/osgDB/WriteFile, - include/osgGLUT/Version, include/osgGLUT/Window, - include/osgText/Font, include/osgText/Paragraph, - include/osgText/Text, include/osgText/Version, - include/osgUtil/AppVisitor, include/osgUtil/CullViewState, - include/osgUtil/CullVisitor, include/osgUtil/DepthSortedBin, - include/osgUtil/DisplayListVisitor, - include/osgUtil/DisplayRequirementsVisitor, - include/osgUtil/GUIEventHandler, - include/osgUtil/InsertImpostorsVisitor, - include/osgUtil/IntersectVisitor, include/osgUtil/Optimizer, - include/osgUtil/RenderBin, include/osgUtil/RenderGraph, - include/osgUtil/RenderLeaf, include/osgUtil/RenderStage, - include/osgUtil/RenderStageLighting, - include/osgUtil/RenderToTextureStage, include/osgUtil/SceneView, - include/osgUtil/SmoothingVisitor, include/osgUtil/Tesselator, - include/osgUtil/TransformCallback, - include/osgUtil/TriStripVisitor, include/osgUtil/Version, - include/osgWX/Version: Removed the trailing ; after namespace - {...} declariations in headers - which was being picked as a warning under Codewarrior. - -2002-02-03 11:38 robert - - * VisualStudio/osg/osg.dsp, include/osg/NodeVisitor, - src/osg/Makefile, src/osgUtil/CullVisitor.cpp: 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 - - * include/osg/Billboard, src/osg/Notify.cpp: Updates for Borland - compilation. - -2002-02-02 20:07 robert - - * include/osg/Export, include/osgDB/Export, include/osgGLUT/Export, - include/osgText/Export, include/osgUtil/Export, - include/osgWX/Export: Added defined( __BCPLUSPLUS__) to windows - export code segments. - -2002-02-02 19:49 robert - - * src/osgUtil/Optimizer.cpp: 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 - - * include/osgGLUT/glut: Typo fixed in the header guard. - -2002-01-30 19:59 robert - - * include/osgUtil/DepthSortedBin: Fixed clone(CopyOp&) and - cloneType() methods which were out of sync with the - new style clone operations. - -2002-01-30 18:59 robert - - * src/Demos/hangglide/base.cpp, src/Demos/osgcopy/osgcopy.cpp: - Fixes for Windows build - -2002-01-30 16:24 robert - - * VisualStudio/VisualStudio.dsw, include/osg/Image, - include/osg/ref_ptr: Fixes for Windows build. - -2002-01-30 15:27 robert - - * include/osg/Math, src/Demos/hangglide/sky.cpp, - src/Demos/hangglide/tank.cpp, src/osg/Matrix.cpp, - src/osgPlugins/obj/glm.cpp, src/osgUtil/CullVisitor.cpp: 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 - - * include/osg/NodeCallback, src/osg/DisplaySettings.cpp, - src/osg/PolygonMode.cpp: Changes for Borland C++ compiler - changes. - -2002-01-30 15:02 robert - - * VisualStudio/Demos/osgbillboard, - VisualStudio/Demos/osgbillboard/osgbillboard.dsp, - VisualStudio/VisualStudio.dsw: Added osgbillboard project files - to the VisualStudio workspace. - -2002-01-30 15:01 robert - - * src/Demos/Makefile, src/Demos/osgbillboard, - src/Demos/osgbillboard/Makefile, - src/Demos/osgbillboard/osgbillboard.cpp: 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 - - * src/Demos/osgcopy/Makedepend: Removed a Makedepend that didn't - belong! - -2002-01-30 13:15 robert - - * src/osg/Billboard.cpp: 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 - - * include/osg/LineSegment, include/osgUtil/IntersectVisitor, - src/Demos/osgcopy/Makedepend, src/osgGLUT/Viewer.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/IntersectVisitor.cpp: - 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 - - * include/osg/CopyOp, include/osg/Drawable, include/osg/GeoSet, - include/osg/Image, src/Demos/osgcopy/Makedepend, - src/Demos/osgcopy/osgcopy.cpp, src/osg/Camera.cpp, - src/osg/GeoSet.cpp: Fixes for windows build. - -2002-01-29 14:20 robert - - * include/osg/DeepCopy, include/osg/ShallowCopy: Removed the now - rendundent DeepCopy and ShallowCopy files. - -2002-01-29 14:04 robert - - * Make/makedefs.linux, include/osg/AlphaFunc, - include/osg/Billboard, include/osg/ClipPlane, - include/osg/ColorMask, include/osg/ColorMatrix, - include/osg/CullFace, include/osg/DeepCopy, include/osg/Depth, - include/osg/Drawable, include/osg/EarthSky, include/osg/Fog, - include/osg/FrontFace, include/osg/GeoSet, include/osg/Geode, - include/osg/Group, include/osg/Image, include/osg/Impostor, - include/osg/ImpostorSprite, include/osg/LOD, include/osg/Light, - include/osg/LightSource, include/osg/LineWidth, - include/osg/Material, include/osg/Matrix, include/osg/Node, - include/osg/Object, include/osg/Point, include/osg/PolygonMode, - include/osg/PolygonOffset, include/osg/PositionAttitudeTransform, - include/osg/ShadeModel, include/osg/ShallowCopy, - include/osg/StateAttribute, include/osg/StateSet, - include/osg/Stencil, include/osg/Switch, include/osg/TexEnv, - include/osg/TexGen, include/osg/TexMat, include/osg/Texture, - include/osg/Transform, include/osg/Transparency, - include/osg/Viewport, include/osgText/Font, - include/osgText/Paragraph, include/osgText/Text, - include/osgUtil/RenderBin, include/osgUtil/RenderStage, - include/osgUtil/RenderStageLighting, - include/osgUtil/RenderToTextureStage, src/osg/Billboard.cpp, - src/osg/GeoSet.cpp, src/osg/Geode.cpp, src/osg/Group.cpp, - src/osg/Image.cpp, src/osg/LOD.cpp, src/osg/Node.cpp, - src/osg/Object.cpp, src/osg/StateSet.cpp, src/osg/Switch.cpp, - src/osg/Transform.cpp, src/osgText/Paragraph.cpp, - src/osgText/Text.cpp: Moved all references to osg::Cloner to - osg::CopyOp. - -2002-01-29 12:55 robert - - * include/osgDB/WriteFile: Fixed the header guard, which was using - the name define as FileUtils. - Problem spotted by Terry Welsh. - -2002-01-29 12:52 robert - - * Make/makedefs.linux, VisualStudio/Demos/osgcopy, - VisualStudio/Demos/osgcopy/osgcopy.dsp, - VisualStudio/VisualStudio.dsw, VisualStudio/osg/osg.dsp, - include/osg/CopyOp, include/osg/Object, src/Demos/Makefile, - src/Demos/osgcopy, src/Demos/osgcopy/Makedepend, - src/Demos/osgcopy/Makefile, src/Demos/osgcopy/osgcopy.cpp, - src/osg/CopyOp.cpp, src/osg/GeoSet.cpp, src/osg/Geode.cpp, - src/osg/Group.cpp, src/osg/Makefile, src/osg/Node.cpp, - src/osg/StateSet.cpp: 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 - - * include/osg/DeepCopy: A couple of fixes to DeepCopy Cloner. - -2002-01-28 21:17 robert - - * VisualStudio/osg/osg.dsp, include/osg/AlphaFunc, - include/osg/Billboard, include/osg/ClipPlane, - include/osg/ColorMask, include/osg/ColorMatrix, - include/osg/CullFace, include/osg/DeepCopy, include/osg/Depth, - include/osg/Drawable, include/osg/EarthSky, include/osg/Fog, - include/osg/FrontFace, include/osg/GeoSet, include/osg/Geode, - include/osg/Group, include/osg/Image, include/osg/Impostor, - include/osg/ImpostorSprite, include/osg/LOD, include/osg/Light, - include/osg/LightSource, include/osg/LineWidth, - include/osg/Material, include/osg/Matrix, include/osg/Node, - include/osg/Object, include/osg/Point, include/osg/PolygonMode, - include/osg/PolygonOffset, include/osg/PositionAttitudeTransform, - include/osg/ShadeModel, include/osg/ShallowCopy, - include/osg/State, include/osg/StateAttribute, - include/osg/StateSet, include/osg/Statistics, - include/osg/Stencil, include/osg/Switch, include/osg/TexEnv, - include/osg/TexGen, include/osg/TexMat, include/osg/Texture, - include/osg/Transform, include/osg/Transparency, - include/osg/Viewport, include/osgText/Font, - include/osgText/Paragraph, include/osgText/Text, - include/osgUtil/RenderBin, include/osgUtil/RenderStage, - include/osgUtil/RenderStageLighting, - include/osgUtil/RenderToTextureStage, - src/Demos/osgscribe/osgscribe.cpp, src/osg/Billboard.cpp, - src/osg/GeoSet.cpp, src/osg/Geode.cpp, src/osg/Group.cpp, - src/osg/Image.cpp, src/osg/ImpostorSprite.cpp, src/osg/LOD.cpp, - src/osg/Makefile, src/osg/Matrix.cpp, src/osg/Node.cpp, - src/osg/Object.cpp, src/osg/StateSet.cpp, src/osg/Switch.cpp, - src/osg/Transform.cpp, src/osgDB/Registry.cpp, - src/osgText/Font.cpp, src/osgText/Paragraph.cpp, - src/osgText/Text.cpp, src/osgUtil/Optimizer.cpp, - src/osgUtil/RenderBin.cpp: 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 - - * src/Demos/osgscribe/osgscribe.cpp: 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 - - * VisualStudio/Demos/osgscribe, - VisualStudio/Demos/osgscribe/osgscribe.dsp, - VisualStudio/VisualStudio.dsw: Added VisualStudio workspace files - for new osgscribe demo. - -2002-01-26 19:48 robert - - * src/Demos/Makefile, src/Demos/osgscribe, - src/Demos/osgscribe/Makefile, src/Demos/osgscribe/osgscribe.cpp: - Added new osgscribe demo which demostrates how to create a - wireframe - overlay of a model. - -2002-01-26 14:13 robert - - * src/osgPlugins/flt/flt2osg.cpp: 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 - - * VisualStudio/osg/osg.dsp, include/osg/PositionAttitudeTransform, - include/osg/Transform, src/osg/Makefile, - src/osg/PositionAttitudeTransform.cpp, src/osg/Transform.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/IntersectVisitor.cpp, - src/osgUtil/Optimizer.cpp: 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 - - * include/osg/Transform, src/osg/Transform.cpp: Updates to - osg::Transform to allow it subclassed more easily. - -2002-01-23 15:28 robert - - * src/osgUtil/Optimizer.cpp: 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 - - * src/osg/State.cpp: 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 - - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp: 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 - - * src/osgUtil/Optimizer.cpp: 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 - - * AUTHORS: Updated AUTHORS file to reflect recent submission. - -2002-01-22 11:03 robert - - * src/osgPlugins/flt/FltFile.cpp, src/osgPlugins/flt/FltFile.h, - src/osgPlugins/flt/InstanceRecords.cpp, - src/osgPlugins/flt/InstanceRecords.h, - src/osgPlugins/flt/Pool.cpp, src/osgPlugins/flt/Pool.h, - src/osgPlugins/flt/flt2osg.cpp, src/osgPlugins/flt/flt2osg.h: - Added support for node instances to Open Flight loader. Submitted - by Yefei He. - -2002-01-20 19:30 robert - - * src/osgDB/FileNameUtils.cpp, src/osgGLUT/Window.cpp: Fixes to - Windows compile. - -2002-01-20 16:24 robert - - * include/osgDB/Output, src/osgDB/FileNameUtils.cpp, - src/osgDB/Output.cpp: Updates to help compilation under gcc 3.03. - -2002-01-19 22:11 robert - - * include/osgUtil/GUIEventAdapter, - src/Demos/hangglide/GliderManipulator.cpp, - src/osgGLUT/GLUTEventAdapter.cpp, src/osgGLUT/Viewer.cpp, - src/osgUtil/DriveManipulator.cpp, - src/osgUtil/FlightManipulator.cpp, - src/osgUtil/TrackballManipulator.cpp, - src/osgWX/WXEventAdapter.cpp: 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 - - * src/osgUtil/CullVisitor.cpp: 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 - - * include/osgUtil/CullVisitor, src/osgDB/ReadFile.cpp, - src/osgDB/Registry.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/IntersectVisitor.cpp, src/osgUtil/SceneView.cpp: - 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 - - * include/osg/ImpostorSprite, include/osg/Math, include/osg/Node, - include/osg/Vec2, include/osg/Vec3, include/osg/Vec4, - src/osg/GeoSet.cpp: 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 - - * include/osgText/Font, include/osgText/Text, - src/osgText/FTBitmapGlyph.cpp, src/osgText/FTBitmapGlyph.h, - src/osgText/FTCharmap.cpp, src/osgText/FTCharmap.h, - src/osgText/FTFace.cpp, src/osgText/FTFace.h, - src/osgText/FTFont.cpp, src/osgText/FTFont.h, src/osgText/FTGL.h, - src/osgText/FTGLBitmapFont.cpp, src/osgText/FTGLBitmapFont.h, - src/osgText/FTGLOutlineFont.cpp, src/osgText/FTGLOutlineFont.h, - src/osgText/FTGLPixmapFont.cpp, src/osgText/FTGLPixmapFont.h, - src/osgText/FTGLPolygonFont.cpp, src/osgText/FTGLPolygonFont.h, - src/osgText/FTGLTextureFont.cpp, src/osgText/FTGLTextureFont.h, - src/osgText/FTGlyph.h, src/osgText/FTGlyphContainer.cpp, - src/osgText/FTGlyphContainer.h, src/osgText/FTLibrary.h, - src/osgText/FTOutlineGlyph.cpp, src/osgText/FTOutlineGlyph.h, - src/osgText/FTPixmapGlyph.cpp, src/osgText/FTPixmapGlyph.h, - src/osgText/FTPolyGlyph.cpp, src/osgText/FTPolyGlyph.h, - src/osgText/FTSize.cpp, src/osgText/FTSize.h, - src/osgText/FTTextureGlyph.cpp, src/osgText/FTTextureGlyph.h, - src/osgText/FTVectoriser.cpp, src/osgText/FTVectoriser.h, - src/osgText/Font.cpp, src/osgText/Text.cpp: 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 - - * include/osg/Billboard, src/osg/Billboard.cpp: First steps to - updating the calcTransform function in Billboard to fix - z axis contraint on rotation axis. - -2002-01-18 19:00 robert - - * src/osg/Transform.cpp: Fixed copy constructor which was copying a - matrix to unitialized memory. - -2002-01-18 14:12 robert - - * include/osg/Math: Removed the global scope operators for the - isnan(..) etc calls to fix compilation - under some compiler combinations. - -2002-01-18 14:11 robert - - * include/osg/Timer, src/osg/Timer.cpp: Made the osg::Timer::tick() - method a const method. - -2002-01-18 10:26 robert - - * include/osg/LineSegment: Fixed typo in comment, reference to - BoundingSphere has been changed to - BoundingBox. Typo spotted by Gial Paolo Lorenzetto. - -2002-01-17 22:41 robert - - * include/osgUtil/CullViewState, src/osgUtil/CullVisitor.cpp: Fixed - ENALBE_ALL_CULLING spelling mistake, have changed it to - ENABLE_ALL_CULLING. - -2002-01-17 22:40 robert - - * include/osgGLUT/Window, src/osgGLUT/Window.cpp: Added support for - glutSpecialFunc, glutSpaceballMotion, glutSpaceballRotate and - glutSpaceballRotate into osgGLUT::Window base class. - -2002-01-16 21:23 robert - - * src/osg/State.cpp: 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 - - * include/osg/StateAttribute: 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 - - * src/osgPlugins/Makefile, src/osgPlugins/jpeg/Makefile: Fixes to - makefiles which have become a bit unhinged after MacOS X - integration. - -2002-01-16 21:12 robert - - * src/osgPlugins/flt/GeoSetBuilder.cpp, - src/osgPlugins/flt/GeoSetBuilder.h, - src/osgPlugins/flt/flt2osg.cpp, src/osgPlugins/flt/flt2osg.h: - Added support for billboard in OpenFlight loader. Submission from - Nikolaus Hanekamp. - -2002-01-16 12:29 robert - - * Make/makedefs.irix.std.64, Makefile: 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 - - * Make/makedefs.cyg, Make/makedefs.freebsd, - Make/makedefs.irix.nonstd, Make/makedefs.irix.std, - Make/makedefs.linux, Make/makedefs.macosx, Make/makerules.cyg, - Make/makerules.freebsd, Make/makerules.irix, - Make/makerules.linux: 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 - - * src/osgPlugins/bmp/Makefile, src/osgPlugins/dw/Makefile, - src/osgPlugins/flt/Makefile, src/osgPlugins/gif/Makefile, - src/osgPlugins/lib3ds/Makefile, src/osgPlugins/lwo/Makefile, - src/osgPlugins/obj/Makefile, src/osgPlugins/osg/Makefile, - src/osgPlugins/osgtgz/Makefile, src/osgPlugins/pic/Makefile, - src/osgPlugins/png/Makefile, src/osgPlugins/rgb/Makefile, - src/osgPlugins/tga/Makefile, src/osgPlugins/tgz/Makefile, - src/osgPlugins/tiff/Makefile, src/osgPlugins/zip/Makefile: - Integrated the changes to osgPlugin/Makefile's for MacOSX port. +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. -2002-01-16 12:03 robert +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 - * src/osgDB/FileUtils.cpp: 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 - - * src/osgPlugins/quicktime, src/osgPlugins/quicktime/Makedepend, - src/osgPlugins/quicktime/Makefile, - src/osgPlugins/quicktime/QTtexture.c, - src/osgPlugins/quicktime/ReaderWriterQT.cpp: Added quicktime - plugin (for Mac's only), submitted by Phil Atkin. - -2002-01-16 10:36 robert - - * Make/makerules.macosx, include/osg/GL, include/osg/GLU, - include/osg/Timer, include/osgText/Font, - src/Demos/hangglide/Makefile, src/Demos/osgconv/Makefile, - src/Demos/osgcube/Makefile, src/Demos/osgimpostor/Makefile, - src/Demos/osgimpostor/osgimpostor.cpp, - src/Demos/osgreflect/Makefile, src/Demos/osgtext/Makefile, - src/Demos/osgtext/main.cpp, src/Demos/osgtexture/Makefile, - src/Demos/osgviews/Makefile, src/Demos/sgv/Makefile, - src/osg/Makefile, src/osg/Timer.cpp, src/osgDB/Makefile, - src/osgGLUT/Makefile, src/osgPlugins/Makefile, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/flt/Input.cpp, src/osgPlugins/flt/Record.cpp, - src/osgPlugins/obj/glm.cpp, src/osgText/FTGL.h, - src/osgText/FTGLTextureFont.cpp, src/osgText/FTGLTextureFont.h, - src/osgText/Font.cpp, src/osgText/Makefile, - src/osgUtil/DepthSortedBin.cpp, src/osgUtil/Makefile, - src/osgUtil/RenderBin.cpp: First batch of changes required for - MacOS X build. Orignal submission from - Phil Atkin, merged by Robert Osfield. - -2002-01-15 23:21 robert - - * src/osgPlugins/flt/GeoSetBuilder.cpp: 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 - - * src/osgDB/FileNameUtils.cpp: Fix to osgDB::getStrippedName(..) so - that handles the case of file without - an extension. - -2002-01-15 15:49 robert - - * src/osgPlugins/pfb/Makefile: Added '# LIBS += -limage' and - explanation in comments to pfb Makefile, - submitted by Randall Hooper. - -2002-01-15 12:13 robert - - * src/osgPlugins/pfb/ConvertFromPerformer.cpp: 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 - - * include/osg/Camera, src/osg/Camera.cpp: 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 - - * src/osg/Camera.cpp: Missing _attachedTransformMode in osg::Camera - constructor, fix submitted by - Ben Discoe. - -2002-01-05 16:19 robert - - * src/Makefile: Change TOP to OSGHOME in makefiles. - -2002-01-05 16:18 robert - - * src/osgUtil/TrackballManipulator.cpp: 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 - - * Makefile, src/Demos/Makefile, src/Demos/hangglide/Makefile, - src/Demos/osgcluster/Makefile, src/Demos/osgconv/Makefile, - src/Demos/osgcube/Makefile, src/Demos/osgimpostor/Makefile, - src/Demos/osgreflect/Makefile, src/Demos/osgtext/Makefile, - src/Demos/osgtexture/Makefile, src/Demos/osgviews/Makefile, - src/Demos/sgv/Makefile, src/Demos/wxsgv/Makefile, - src/osg/Makefile, src/osgDB/Makefile, src/osgGLUT/Makefile, - src/osgPlugins/bmp/Makefile, src/osgPlugins/dw/Makefile, - src/osgPlugins/flt/Makefile, src/osgPlugins/gif/Makefile, - src/osgPlugins/jpeg/Makefile, src/osgPlugins/lib3ds/Makefile, - src/osgPlugins/lwo/Makefile, src/osgPlugins/obj/Makefile, - src/osgPlugins/osg/Makefile, src/osgPlugins/osgtgz/Makefile, - src/osgPlugins/pic/Makefile, src/osgPlugins/png/Makefile, - src/osgPlugins/rgb/Makefile, src/osgPlugins/tga/Makefile, - src/osgPlugins/tgz/Makefile, src/osgPlugins/tiff/Makefile, - src/osgPlugins/zip/Makefile, src/osgText/Makefile, - src/osgUtil/Makefile, src/osgWX/Makefile: Renamed the TOP - variable in the Makefiles to OSGHOME. - -2002-01-04 20:43 robert - - * src/osg/LOD.cpp: 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 - - * VisualStudio/osg/osg.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, include/osg/ShadeModel, - include/osg/StateAttribute, src/osg/Makefile, - src/osg/ShadeModel.cpp, src/osgGLUT/Viewer.cpp, - src/osgPlugins/osg/Makefile, src/osgPlugins/osg/ShadeModel.cpp: - Added osg::ShadeModel state attribute which encapsulates - glShadeModel. - -2002-01-04 17:34 robert - - * src/osgPlugins/osg/GeoSet.cpp: Fixed a bug in writing of line - strips and line loops to the .osg file. - -2002-01-04 13:14 robert - - * src/osg/GeoSet.cpp: Fixed multiple deletion of shared indecies in - GeoSet destructor. - -2002-01-03 23:28 robert - - * Make/makedefs.cyg, Make/makedefs.freebsd, Make/makedefs.irix.std, - Make/makedefs.linux, Make/makedefs.macosx, Make/makerules.cyg: - Futher Makefile updates for Cygwin support - from Norman Vine. - -2002-01-03 23:19 robert - - * Makefile, src/Demos/Makefile, src/Demos/hangglide/Makefile, - src/Demos/osgcluster/Makefile, src/Demos/osgconv/Makefile, - src/Demos/osgcube/Makefile, src/Demos/osgimpostor/Makefile, - src/Demos/osgreflect/Makefile, src/Demos/osgtext/Makefile, - src/Demos/osgtexture/Makefile, src/Demos/osgviews/Makefile, - src/Demos/sgv/Makefile, src/Demos/wxsgv/Makefile, src/Makefile, - src/osg/Makefile, src/osgDB/Makefile, src/osgGLUT/Makefile, - src/osgPlugins/Makefile, src/osgPlugins/bmp/Makefile, - src/osgPlugins/dw/Makefile, src/osgPlugins/flt/Makefile, - src/osgPlugins/gif/Makefile, src/osgPlugins/jpeg/Makefile, - src/osgPlugins/lib3ds/Makefile, src/osgPlugins/lwo/Makefile, - src/osgPlugins/obj/Makefile, src/osgPlugins/osg/Makefile, - src/osgPlugins/osgtgz/Makefile, src/osgPlugins/pfb/Makefile, - src/osgPlugins/pic/Makefile, src/osgPlugins/png/Makefile, - src/osgPlugins/rgb/Makefile, src/osgPlugins/tga/Makefile, - src/osgPlugins/tgz/Makefile, src/osgPlugins/tiff/Makefile, - src/osgPlugins/zip/Makefile, src/osgText/Makefile, - src/osgUtil/Makefile, src/osgWX/Makefile: 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 - - * include/osg/Export, include/osg/GL, include/osg/Math, - include/osg/Timer, include/osgDB/Export, include/osgGLUT/Export, - include/osgText/Export, include/osgUtil/Export, - src/osg/GLExtensions.cpp, src/osg/Notify.cpp, - src/osgDB/DynamicLibrary.cpp, src/osgDB/FileUtils.cpp, - src/osgDB/Registry.cpp, src/osgGLUT/Viewer.cpp, - src/osgPlugins/flt/GeoSetBuilder.cpp, - src/osgPlugins/flt/Pool.cpp, - src/osgPlugins/flt/ReaderWriterFLT.cpp, - src/osgPlugins/flt/Registry.h, src/osgPlugins/flt/flt.h, - src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp, - src/osgPlugins/tgz/ReaderWriterTGZ.cpp, - src/osgPlugins/zip/ReaderWriterZIP.cpp, - src/osgUtil/NvTriStripObjects.h: Updates for Cygwin port, from - Norman Vine. - -2002-01-03 19:28 robert - - * src/osg/GLExtensions.cpp, src/osgDB/Registry.cpp: Small source - code changes for Cygwin port of OSG. - -2002-01-02 17:01 robert - - * ChangeLog, NEWS, doc/doc++/osg/GeoSet.html, - doc/doc++/osg/LOD.html, doc/doc++/osg/for_each_triangle.html, - doc/doc++/osg/osg.html, doc/doc++/osgGLUT/Viewer.html: Updates in - preperation for the third attempt at the 0.8.43 release. - -2002-01-02 15:42 robert - - * src/Demos/osgtexture/osgtexture.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.cpp: Updates from Randall - Hopper to fix build under IRIX. +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. -2002-01-02 11:03 robert +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? - * src/osgPlugins/lib3ds/ReaderWriter3DS.cpp, - src/osgPlugins/lib3ds/matrix.cpp: 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. +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. -2002-01-02 10:59 robert +I had some problems implementing pbuffer-support for os x and stopped it +for now until I have more time to investigate the issues. +" - * src/osgUtil/SmoothingVisitor.cpp: 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 - * src/osg/GeoSet_ogl.cpp: Moved the glShadeModel(FLAT/SMOOTH) - outside of the primtitive inner loop to reduce - the amount state changes incurred when using FLAT_ primtives. +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." -2002-01-02 10:49 robert - * include/osg/GeoSet: Fixed the orientation of for_each_triangle - cases for QUAD and QUAD_STRIP. -2001-12-31 23:21 robert +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 - * include/osgGLUT/Viewer, src/osgGLUT/Viewer.cpp: 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. +Tue, 6 Feb 2007 17:00:20 +0000 +Checked in by : Robert Osfield +Updated wrappers -2001-12-31 23:16 robert +Tue, 6 Feb 2007 16:23:19 +0000 +Checked in by : Robert Osfield +Re-enabled processor affinity - * include/osg/LOD: Added a more detailed explanation of how LOD's - work. +Tue, 6 Feb 2007 14:38:08 +0000 +Checked in by : Robert Osfield +Added new Viewer threading model options -2001-12-31 00:04 robert +Tue, 6 Feb 2007 14:20:21 +0000 +Checked in by : Robert Osfield +Updated wrappers - * NEWS, src/osg/Makefile: Updates to NEWS for date of release, and - added include/osg/DisplaySettings - and include/osg/LineWidth to the src/osg/Makefile. +Tue, 6 Feb 2007 14:20:04 +0000 +Checked in by : Robert Osfield +Clean up getDrawable() method -2001-12-30 20:48 robert +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 - * ChangeLog: Final update of ChangeLog for the 0.8.43 release. +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 -2001-12-30 20:03 robert +Mon, 5 Feb 2007 14:56:41 +0000 +Checked in by : Robert Osfield +Tweak API and updated wrappers to get wrappers to build - * include/osg/GeoSet: Added osg::GeoSet::FLAT_TRIANGLE_FAN to the - list if primitive handled by the - for_each_triangle template function. +Mon, 5 Feb 2007 13:44:16 +0000 +Checked in by : Robert Osfield +Added Camera's s/getCameraThread() and updated wrappers -2001-12-30 19:04 robert +Mon, 5 Feb 2007 12:13:52 +0000 +Checked in by : Robert Osfield +Updated wrappers - * ChangeLog, src/osgDB/FileUtils.cpp: Added /usr/local/lib to the - s_default_dso_path search path for plugins. +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 ........ + " -2001-12-30 17:13 robert - * src/osgGLUT/Viewer.cpp: 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 +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." - * INSTALL: Added references to sgv -stereo and sgv -stencil to the - notes of running - the demos. +Mon, 5 Feb 2007 10:48:20 +0000 +Checked in by : Robert Osfield +From Brede Johansen, added OSG_EXPORT to DeleteHandler for windows build -2001-12-30 16:58 robert +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. - * src/Demos/hangglide/GliderManipulator.cpp: Updated the default - home position of so that a better view of the scene is seen. +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: -2001-12-30 15:24 robert +flt OpenFlight - * ChangeLog, ChangeLog.preCVS: Moved the old by hand ChangeLog to - ChangeLog.preCVS and then ran cvs2cl.pl - to automatically generate the new ChangeLog. +would map the ".flt" extension to the OpenFlight plugin." -2001-12-30 15:12 robert - * doc/doc++/osg/StateAttribute.html, doc/doc++/osg/Transform.html: - Did a make docs, in preperation for 0.8.43 release. -2001-12-30 15:01 robert +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 - * src/osgPlugins/pfb/ConvertToPerformer.cpp: Compilation fix to pfb - plugin, sent in by Ulrich Hertlein. -2001-12-30 15:00 robert - * INSTALL: Added a comment in Windows section on INSTALL notes such - that it now - recommends that you build all the libs. +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. -2001-12-29 20:53 robert +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. - * bin, bin/.README: 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 - - * include/osg/Transform: Added comment to osg::Transform w.r.t use - of GL_NORMALIZE when using - scaling Transforms. - -2001-12-29 12:28 robert - - * src/Demos/Makefile, src/Demos/osgcluster/broadcaster.cpp, - src/Demos/osgcluster/receiver.cpp, src/Makefile: Updates form - Randall Hopper for the FreeBSD build - -2001-12-27 20:06 robert - - * include/osg/StateAttribute: 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 - - * doc/stereo.html: 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 - - * doc/doc++/osg/AttributeFunctor.html, - doc/doc++/osg/ColorMatrix.html, - doc/doc++/osg/DisplaySettings.html, doc/doc++/osg/EarthSky.html, - doc/doc++/osg/LineWidth.html, doc/doc++/osg/Statistics.html, - doc/doc++/osg/g_NotifyInit.html, - doc/doc++/osg/g_NotifyNulStream.html, - doc/doc++/osgDB/Options.html, doc/doc++/osgDB/ReadResult.html, - doc/doc++/osgDB/WriteResult.html, - doc/doc++/osgDB/findFileInPath.html, - doc/doc++/osgDB/readCommandLine.html, - doc/doc++/osgDB/readNodeFiles.html, - doc/doc++/osgGLUT/Window.html, doc/doc++/osgText, - doc/doc++/osgText/BitmapFont.html, - doc/doc++/osgText/ClassGraph.class, - doc/doc++/osgText/ClassGraphPanel.class, - doc/doc++/osgText/ClassLayout.class, doc/doc++/osgText/Font.html, - doc/doc++/osgText/General.html, doc/doc++/osgText/HIER.html, - doc/doc++/osgText/HIERjava.html, - doc/doc++/osgText/NavigatorButton.class, - doc/doc++/osgText/OutlineFont.html, - doc/doc++/osgText/Paragraph.html, - doc/doc++/osgText/PixmapFont.html, - doc/doc++/osgText/PolygonFont.html, - doc/doc++/osgText/RasterFont.html, doc/doc++/osgText/Text.html, - doc/doc++/osgText/TextureFont.html, - doc/doc++/osgText/VectorFont.html, doc/doc++/osgText/icon1.gif, - doc/doc++/osgText/icon2.gif, doc/doc++/osgText/index.html, - doc/doc++/osgText/osgText.html, - doc/doc++/osgText/osgTextGetLibraryName.html, - doc/doc++/osgText/osgTextGetVersion.html, - doc/doc++/osgUtil/CombineLODsVisitor.html, - doc/doc++/osgUtil/DisplayRequirementsVisitor.html, - doc/doc++/osgUtil/FlattenStaticTransformsVisitor.html, - doc/doc++/osgUtil/Optimizer.html, - doc/doc++/osgUtil/RemoveRedundentNodesVisitor.html, - doc/doc++/osgUtil/StateVisitor.html, - doc/doc++/osgUtil/TransformCallback.html, doc/index.html: Updated - doc++ references so that CVS knows about all the newly generated - files. - -2001-12-24 23:28 robert - - * index.html: Updated the index.html to include references to the - new osgText library and - demo app. - -2001-12-24 23:14 robert - - * INSTALL: Removed references to redundent environmental variables. - -2001-12-24 21:56 robert - - * doc/doc++/osg/AlphaFunc.html, doc/doc++/osg/Billboard.html, - doc/doc++/osg/BoundingBox.html, - doc/doc++/osg/BoundingSphere.html, doc/doc++/osg/Camera.html, - doc/doc++/osg/ClipPlane.html, doc/doc++/osg/ClippingVolume.html, - doc/doc++/osg/ColorMask.html, doc/doc++/osg/CullFace.html, - doc/doc++/osg/Depth.html, doc/doc++/osg/Drawable.html, - doc/doc++/osg/Fog.html, doc/doc++/osg/FrameStamp.html, - doc/doc++/osg/FrontFace.html, doc/doc++/osg/General.html, - doc/doc++/osg/GeoSet.html, doc/doc++/osg/Geode.html, - doc/doc++/osg/Group.html, doc/doc++/osg/HIER.html, - doc/doc++/osg/HIERjava.html, doc/doc++/osg/Image.html, - doc/doc++/osg/Impostor.html, doc/doc++/osg/ImpostorSprite.html, - doc/doc++/osg/ImpostorSpriteManager.html, doc/doc++/osg/LOD.html, - doc/doc++/osg/Light.html, doc/doc++/osg/LightSource.html, - doc/doc++/osg/LineSegment.html, doc/doc++/osg/Material.html, - doc/doc++/osg/Matrix.html, doc/doc++/osg/MemoryAdapter.html, - doc/doc++/osg/Node.html, doc/doc++/osg/NodeAcceptOp.html, - doc/doc++/osg/NodeCallback.html, doc/doc++/osg/NodeVisitor.html, - doc/doc++/osg/NotifySeverity.html, doc/doc++/osg/Object.html, - doc/doc++/osg/Plane.html, doc/doc++/osg/Point.html, - doc/doc++/osg/PolygonMode.html, doc/doc++/osg/PolygonOffset.html, - doc/doc++/osg/Quat.html, doc/doc++/osg/Referenced.html, - doc/doc++/osg/State.html, doc/doc++/osg/StateAttribute.html, - doc/doc++/osg/StateSet.html, doc/doc++/osg/Stencil.html, - doc/doc++/osg/Switch.html, doc/doc++/osg/TexEnv.html, - doc/doc++/osg/TexGen.html, doc/doc++/osg/TexMat.html, - doc/doc++/osg/Texture.html, doc/doc++/osg/Timer.html, - doc/doc++/osg/Transform.html, doc/doc++/osg/Transparency.html, - doc/doc++/osg/Vec2.html, doc/doc++/osg/Vec3.html, - doc/doc++/osg/Vec4.html, doc/doc++/osg/Viewport.html, - doc/doc++/osg/clampArray3BetweenRange.html, - doc/doc++/osg/clampArray3GEQUAL.html, - doc/doc++/osg/clampArray3LEQUAL.html, - doc/doc++/osg/clampArray4BetweenRange.html, - doc/doc++/osg/clampArray4GEQUAL.html, - doc/doc++/osg/clampArray4LEQUAL.html, - doc/doc++/osg/clampArrayElementBetweenRange.html, - doc/doc++/osg/clampArrayElementGEQUAL.html, - doc/doc++/osg/clampArrayElementLEQUAL.html, - doc/doc++/osg/clampArrayElementsBetweenRange.html, - doc/doc++/osg/clampArrayElementsGEQUAL.html, - doc/doc++/osg/clampArrayElementsLEQUAL.html, - doc/doc++/osg/clampBetweenRange.html, - doc/doc++/osg/clampGEQUAL.html, doc/doc++/osg/clampLEQUAL.html, - doc/doc++/osg/createGeodeForImage.2.html, - doc/doc++/osg/for_each_triangle.html, doc/doc++/osg/index.html, - doc/doc++/osg/isGLExtensionSupported.html, - doc/doc++/osg/mem_ptr.html, doc/doc++/osg/notify.html, - doc/doc++/osg/osg.html, doc/doc++/osg/osgGetVersion.html, - doc/doc++/osg/ref_ptr.html, doc/doc++/osgDB/DotOsgWrapper.html, - doc/doc++/osgDB/FieldReader.html, - doc/doc++/osgDB/FieldReaderIterator.html, - doc/doc++/osgDB/HIER.html, doc/doc++/osgDB/HIERjava.html, - doc/doc++/osgDB/Input.html, doc/doc++/osgDB/Output.html, - doc/doc++/osgDB/ReaderWriter.html, - doc/doc++/osgDB/RegisterDotOsgWrapperProxy.html, - doc/doc++/osgDB/RegisterReaderWriterProxy.html, - doc/doc++/osgDB/Registry.html, - doc/doc++/osgDB/findFileInDirectory.html, - doc/doc++/osgDB/osgDB.html, doc/doc++/osgDB/osgDBGetVersion.html, - doc/doc++/osgDB/readImageFile.html, - doc/doc++/osgDB/readNodeFile.html, - doc/doc++/osgDB/readObjectFile.html, - doc/doc++/osgDB/writeImageFile.html, - doc/doc++/osgDB/writeNodeFile.html, - doc/doc++/osgDB/writeObjectFile.html, - doc/doc++/osgGLUT/GLUTEventAdapter.html, - doc/doc++/osgGLUT/General.html, doc/doc++/osgGLUT/HIER.html, - doc/doc++/osgGLUT/HIERjava.html, doc/doc++/osgGLUT/Viewer.html, - doc/doc++/osgGLUT/index.html, doc/doc++/osgGLUT/osgGLUT.html, - doc/doc++/osgGLUT/osgGLUTGetVersion.html, - doc/doc++/osgUtil/CullVisitor.html, - doc/doc++/osgUtil/DepthSortedBin.html, - doc/doc++/osgUtil/DisplayListVisitor.html, - doc/doc++/osgUtil/DriveManipulator.html, - doc/doc++/osgUtil/FlightManipulator.html, - doc/doc++/osgUtil/GUIActionAdapter.html, - doc/doc++/osgUtil/GUIEventAdapter.html, - doc/doc++/osgUtil/GUIEventHandler.html, - doc/doc++/osgUtil/General.html, doc/doc++/osgUtil/HIER.html, - doc/doc++/osgUtil/HIERjava.html, doc/doc++/osgUtil/Hit.html, - doc/doc++/osgUtil/InsertImpostorsVisitor.html, - doc/doc++/osgUtil/IntersectState.html, - doc/doc++/osgUtil/IntersectVisitor.html, - doc/doc++/osgUtil/RegisterRenderBinProxy.html, - doc/doc++/osgUtil/RenderBin.html, - doc/doc++/osgUtil/RenderGraph.html, - doc/doc++/osgUtil/RenderLeaf.html, - doc/doc++/osgUtil/RenderStage.html, - doc/doc++/osgUtil/RenderStageLighting.html, - doc/doc++/osgUtil/RenderToTextureStage.html, - doc/doc++/osgUtil/SceneView.html, - doc/doc++/osgUtil/SceneViewManipulator.html, - doc/doc++/osgUtil/SmoothingVisitor.html, - doc/doc++/osgUtil/StateSetManipulator.html, - doc/doc++/osgUtil/Tesselator.html, - doc/doc++/osgUtil/TriStripVisitor.html, - doc/doc++/osgUtil/index.html, doc/doc++/osgUtil/osgUtil.html, - doc/doc++/osgUtil/osgUtilGetVersion.html: Did a make docs. - -2001-12-24 21:34 robert - - * include/osg/Light, src/osg/Light.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/osg/Light.cpp, src/osgUtil/SceneView.cpp: 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 - - * include/osgGLUT/Viewer, include/osgGLUT/Window, - src/Demos/hangglide/hangglide.cpp, src/Demos/sgv/Makefile, - src/osgGLUT/Viewer.cpp, src/osgGLUT/Window.cpp: 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 - - * VisualStudio/osgPlugins/gif/gif.dsp: updates for windows build - -2001-12-24 14:12 robert - - * FAQ, INSTALL, Makefile, TODO, doc/stereo.html, - src/Demos/Makefile, src/Demos/hangglide/base.cpp, - src/Demos/hangglide/sky.cpp, src/Demos/hangglide/tank.cpp, - src/Demos/hangglide/terrain.cpp, src/Demos/hangglide/trees.cpp, - src/Demos/osgimpostor/osgimpostor.cpp, - src/Demos/osgreflect/osgreflect.cpp, src/Demos/osgtext/main.cpp, - src/Demos/osgviews/osgviews.cpp, src/Demos/sgv/sgv.cpp, - src/Makefile, src/osg/Light.cpp, src/osg/Matrix.cpp, - src/osgPlugins/Makefile, - src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/pfb/ConvertToPerformer.cpp, - src/osgPlugins/png/new_ReaderWriterPNG.cpp, src/osgText/Font.cpp, - src/osgUtil/FlightManipulator.cpp, src/osgUtil/RenderBin.cpp, - src/osgUtil/TrackballManipulator.cpp: Various clean ups for the - release. - -2001-12-22 22:30 robert - - * doc/stereo.html, src/Demos/osgimpostor/osgimpostor.cpp, - src/Demos/osgreflect/osgreflect.cpp, - src/Demos/osgviews/osgviews.cpp, src/Demos/sgv/sgv.cpp: Updates - to keep things compiling under Windows. Also cleaned up the new - stereo.html docs. - -2001-12-22 21:35 robert - - * doc/index.html, doc/stereo.html: 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 - - * src/Demos/hangglide/GliderManipulator.cpp, - src/Demos/osgimpostor/osgimpostor.cpp, - src/Demos/osgreflect/osgreflect.cpp, - src/Demos/osgtexture/osgtexture.cpp, - src/Demos/osgviews/osgviews.cpp, src/Demos/sgv/sgv.cpp: Updated - usage messages to include new stereo and stencil commandline - options. - -2001-12-21 22:48 robert - - * VisualStudio/osg/osg.dsp, VisualStudio/osgUtil/osgUtil.dsp, - include/osg/Camera, include/osg/DisplaySettings, - include/osg/State, include/osg/VisualsSettings, - include/osgGLUT/Viewer, - include/osgUtil/DisplayRequirementsVisitor, - include/osgUtil/SceneView, - include/osgUtil/VisualsRequirementsVisitor, src/osg/Camera.cpp, - src/osg/DisplaySettings.cpp, src/osg/Makefile, - src/osg/VisualsSettings.cpp, src/osgGLUT/Viewer.cpp, - src/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgUtil/DriveManipulator.cpp, - src/osgUtil/FlightManipulator.cpp, src/osgUtil/Makefile, - src/osgUtil/SceneView.cpp, src/osgUtil/TrackballManipulator.cpp, - src/osgUtil/VisualsRequirementsVisitor.cpp: 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 - - * include/osg/Camera, src/osg/Camera.cpp, - src/osgUtil/DriveManipulator.cpp, - src/osgUtil/FlightManipulator.cpp, src/osgUtil/SceneView.cpp, - src/osgUtil/TrackballManipulator.cpp: Updates to the support for - stereo in osg::Camera, osgUtil::SceneView and - the CameraManipulators. - -2001-12-20 20:48 robert - - * VisualStudio/osg/osg.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, include/osg/LineWidth, - include/osg/StateAttribute, src/osg/LineWidth.cpp, - src/osg/Makefile, src/osgPlugins/osg/LineWidth.cpp, - src/osgPlugins/osg/Makefile: Added support for glLineWidth via an - osg::LineWidth StateAttribute. - -2001-12-20 16:35 robert - - * include/osg/Camera, src/osg/Camera.cpp, - src/osgUtil/RenderStage.cpp, src/osgUtil/SceneView.cpp, - src/osgUtil/TrackballManipulator.cpp: Updates to the camera code - related to stereo, adding fusion distance. - -2001-12-20 16:34 robert - - * src/Demos/hangglide/hangglide.cpp, - src/Demos/osgimpostor/osgimpostor.cpp, - src/Demos/osgviews/osgviews.cpp, src/Demos/sgv/sgv.cpp: 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 - - * src/osgPlugins/flt/flt2osg.cpp: Updates to flt loading of light - points, from Brede Johansen. - -2001-12-19 15:20 robert - - * src/osg/ColorMatrix.cpp, src/osgUtil/SceneView.cpp: Updates to - Stereo code. - -2001-12-19 10:29 robert - - * src/Demos/osgcluster/osgcluster.cpp, - src/Demos/osgcube/osgcube.cpp, - src/Demos/osgimpostor/osgimpostor.cpp, - src/Demos/osgreflect/osgreflect.cpp, - src/Demos/osgtexture/osgtexture.cpp, - src/Demos/osgviews/osgviews.cpp, src/Demos/sgv/sgv.cpp, - src/osg/VisualsSettings.cpp, src/osgDB/ReadFile.cpp, - src/osgGLUT/Viewer.cpp: 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 - - * src/osg/ColorMatrix.cpp: Added check for GL_ARB_imaging extension - to osg;:ColorMatrix - -2001-12-19 01:10 robert - - * src/osg/VisualsSettings.cpp, src/osgUtil/SceneView.cpp: - Compilation fixes under for Windows - -2001-12-19 00:38 robert - - * VisualStudio/osg/osg.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, include/osg/ColorMatrix, - include/osg/State, include/osg/StateAttribute, - include/osg/Viewport, include/osg/VisualsSettings, - include/osgDB/ReadFile, include/osgDB/Registry, - include/osgGLUT/Viewer, include/osgUtil/SceneView, - include/osgUtil/VisualsRequirementsVisitor, - src/Demos/sgv/sgv.cpp, src/osg/ColorMatrix.cpp, src/osg/Makefile, - src/osg/VisualsSettings.cpp, src/osgDB/ReadFile.cpp, - src/osgDB/Registry.cpp, src/osgGLUT/Viewer.cpp, - src/osgPlugins/osg/ColorMatrix.cpp, src/osgPlugins/osg/Makefile, - src/osgPlugins/osg/TexMat.cpp, src/osgUtil/SceneView.cpp, - src/osgUtil/VisualsRequirementsVisitor.cpp: 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 - - * src/osg/Camera.cpp: 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 - - * src/osgPlugins/flt/GeoSetBuilder.cpp, - src/osgPlugins/flt/GeoSetBuilder.h: 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 - - * src/osg/Camera.cpp: 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 - - * src/osgPlugins/Makefile, src/osgPlugins/flt/FltFile.cpp, - src/osgPlugins/flt/Makefile, - src/osgPlugins/flt/ReaderWriterATTR.cpp: 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 - - * src/Demos/osgcluster/osgcluster.cpp, src/Demos/osgtext/Makefile, - src/Demos/osgtexture/osgtexture.cpp, src/osgPlugins/Makefile, - src/osgPlugins/flt/GeoSetBuilder.cpp, - src/osgPlugins/gif/Makefile, src/osgPlugins/png/Makefile, - src/osgText/Makefile: Fixed IRIX build. Required some namespace - fixes and include and link - directives in the Makefiles - -2001-12-17 15:05 robert - - * AUTHORS, include/osgUtil/Optimizer, - src/osgPlugins/osg/Transform.cpp, src/osgUtil/Optimizer.cpp: - 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 - - * src/osgUtil/CullVisitor.cpp: Added std:: infront of endl to - ensure compilation under Windows. - -2001-12-16 22:20 robert - - * NEWS, include/osgUtil/CullVisitor, src/osgUtil/CullVisitor.cpp, - src/osgUtil/SceneView.cpp: Integrated detailed near clipping - plane calculation into osgUtil::CullVisitor, - submitted by Sasa Bistroviae. - -2001-12-16 16:30 robert - - * src/osg/Timer.cpp: 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 - - * Makefile, src/osg/Version.cpp, src/osgDB/Version.cpp, - src/osgGLUT/Version.cpp, src/osgText/Version.cpp, - src/osgUtil/Version.cpp, src/osgWX/Version.cpp: Updated version - numbers to 0.8.43 in prep for the impending release. - -2001-12-15 22:41 robert - - * INSTALL: Added comments on how to set up STLport under Windows - and IRIX. - -2001-12-15 16:56 robert - - * include/osg/Matrix, include/osg/Transform, - include/osgUtil/CullVisitor, src/Demos/osgcluster/osgcluster.cpp, - src/Demos/osgconv/OrientationConverter.cpp, - src/osg/Billboard.cpp, src/osg/Camera.cpp, src/osg/Matrix.cpp, - src/osg/Transform.cpp, src/osgPlugins/flt/FltFile.cpp, - src/osgPlugins/flt/flt2osg.cpp, src/osgPlugins/osg/Transform.cpp, - src/osgUtil/Optimizer.cpp: 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 - - * src/osgPlugins/osg/Matrix.cpp, src/osgPlugins/osg/Node.cpp, - src/osgPlugins/osg/Point.cpp, src/osgPlugins/osg/PolygonMode.cpp, - src/osgPlugins/osg/PolygonOffset.cpp, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osg/StateSet.cpp, src/osgPlugins/osg/Stencil.cpp, - src/osgPlugins/osg/Switch.cpp, src/osgPlugins/osg/TexEnv.cpp, - src/osgPlugins/osg/TexGen.cpp, src/osgPlugins/osg/TexMat.cpp, - src/osgPlugins/osg/Texture.cpp, - src/osgPlugins/osg/Transparency.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/DriveManipulator.cpp, - src/osgUtil/FlightManipulator.cpp, - src/osgUtil/IntersectVisitor.cpp, - src/osgUtil/NvTriStripObjects.cpp, src/osgUtil/Optimizer.cpp, - src/osgUtil/RenderStage.cpp, src/osgUtil/SceneView.cpp, - src/osgUtil/Tesselator.cpp, src/osgUtil/TriStripVisitor.cpp: - updates for windows build. - -2001-12-14 23:18 robert - - * include/osg/BoundsChecking, include/osg/Matrix, - include/osg/Plane, include/osg/Quat, include/osg/Vec3, - include/osgDB/FieldReaderIterator, include/osgDB/Output, - include/osgGLUT/Viewer, include/osgUtil/CullVisitor, - src/Demos/hangglide/GliderManipulator.cpp, - src/Demos/hangglide/hangglide.cpp, src/Demos/osgconv/osgconv.cpp, - src/Demos/osgimpostor/osgimpostor.cpp, - src/Demos/osgreflect/osgreflect.cpp, - src/Demos/osgviews/osgviews.cpp, src/Demos/sgv/sgv.cpp, - src/osg/Camera.cpp, src/osg/ClipPlane.cpp, src/osg/Drawable.cpp, - src/osg/GLExtensions.cpp, src/osg/GeoSet.cpp, src/osg/Image.cpp, - src/osg/ImpostorSprite.cpp, src/osg/Material.cpp, - src/osg/Matrix.cpp, src/osg/Notify.cpp, src/osg/PolygonMode.cpp, - src/osg/Quat.cpp, src/osg/TexGen.cpp, src/osg/Texture.cpp, - src/osgDB/DynamicLibrary.cpp, src/osgDB/FieldReader.cpp, - src/osgDB/FieldReaderIterator.cpp, src/osgDB/FileUtils.cpp, - src/osgDB/Output.cpp, src/osgDB/ReadFile.cpp, - src/osgDB/Registry.cpp, src/osgDB/WriteFile.cpp, - src/osgGLUT/Viewer.cpp, src/osgGLUT/Window.cpp, - src/osgPlugins/flt/FltFile.cpp, src/osgPlugins/flt/Input.cpp, - src/osgPlugins/flt/ReaderWriterATTR.cpp, - src/osgPlugins/flt/Record.cpp, - src/osgPlugins/flt/VertexPoolRecords.cpp, - src/osgPlugins/flt/VertexPoolRecords.h, - src/osgPlugins/flt/flt2osg.cpp, - src/osgPlugins/lib3ds/ReaderWriter3DS.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/osg/AlphaFunc.cpp, - src/osgPlugins/osg/Billboard.cpp, - src/osgPlugins/osg/ClipPlane.cpp, - src/osgPlugins/osg/ColorMask.cpp, - src/osgPlugins/osg/CullFace.cpp, src/osgPlugins/osg/Depth.cpp, - src/osgPlugins/osg/Drawable.cpp, src/osgPlugins/osg/EarthSky.cpp, - src/osgPlugins/osg/Fog.cpp, src/osgPlugins/osg/FrontFace.cpp, - src/osgPlugins/osg/GeoSet.cpp, src/osgPlugins/osg/Geode.cpp, - src/osgPlugins/osg/Group.cpp, src/osgPlugins/osg/Impostor.cpp, - src/osgPlugins/osg/LOD.cpp, src/osgPlugins/osg/Light.cpp, - src/osgPlugins/osg/Material.cpp: Fixes to Windows build in liu of - the move to using just std::streams. - -2001-12-14 21:49 robert - - * INSTALL, Make/makedefs.irix.nonstd, include/osg/Matrix, - include/osg/Notify, include/osg/Vec2, include/osg/Vec3, - include/osg/Vec4, include/osgDB/FieldReader, - include/osgDB/Output, include/osgGLUT/Viewer, - src/Demos/sgv/sgv.cpp, src/osgPlugins/flt/OldVertexRecords.h, - src/osgPlugins/flt/ReaderWriterATTR.cpp, - src/osgPlugins/flt/Record.h, - src/osgPlugins/flt/VertexPoolRecords.h, src/osgPlugins/flt/flt.h: - 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 - - * include/osg/Camera, include/osg/Export, include/osg/Math, - include/osgDB/Export, include/osgGLUT/Export, - include/osgText/Export, include/osgUtil/Export, - include/osgWX/Export, src/osgText/FTGL.h: Updatedwidley used - includes to remove most of the float/double warnings - generated when compiling under Windows with STLport. - -2001-12-14 16:15 robert - - * VisualStudio/VisualStudio.dsw: Don haved accidentally removed the - reference to osg.dsp from the .dsw file, - breakin the Windows build. - -2001-12-14 15:37 don - - * src/osgPlugins/flt/Makefile: Removed ^M from Makefile - -2001-12-14 15:16 don - - * VisualStudio/Demos/hangglide/hangglide.dsp, - VisualStudio/Demos/osgTextDemo/osgTextDemo.dsp, - VisualStudio/Demos/osgconv/osgconv.dsp, - VisualStudio/Demos/osgcube/osgcube.dsp, - VisualStudio/Demos/osgimpostor/osgimpostor.dsp, - VisualStudio/Demos/osgreflect/osgreflect.dsp, - VisualStudio/Demos/osgtexture/osgtexture.dsp, - VisualStudio/Demos/osgviews/osgviews.dsp, - VisualStudio/Demos/sgv/sgv.dsp, - VisualStudio/Demos/wxsgv/wxsgv.dsp, - VisualStudio/VisualStudio.dsw, VisualStudio/osgDB/osgDB.dsp, - VisualStudio/osgGLUT/osgGLUT.dsp, - VisualStudio/osgPlugins/bmp/bmp.dsp, - VisualStudio/osgPlugins/dw/dw.dsp, - VisualStudio/osgPlugins/flt/flt.dsp, - VisualStudio/osgPlugins/gif/gif.dsp, - VisualStudio/osgPlugins/jpeg/jpeg.dsp, - VisualStudio/osgPlugins/lib3ds/lib3ds.dsp, - VisualStudio/osgPlugins/lwo/lwo.dsp, - VisualStudio/osgPlugins/obj/obj.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, - VisualStudio/osgPlugins/osgtgz/osgtgz.dsp, - VisualStudio/osgPlugins/pic/pic.dsp, - VisualStudio/osgPlugins/png/png.dsp, - VisualStudio/osgPlugins/rgb/rgb.dsp, - VisualStudio/osgPlugins/tga/tga.dsp, - VisualStudio/osgPlugins/tgz/tgz.dsp, - VisualStudio/osgPlugins/tiff/tiff.dsp, - VisualStudio/osgPlugins/zip/zip.dsp, - VisualStudio/osgText/osgText.dsp, - VisualStudio/osgUtil/osgUtil.dsp, VisualStudio/osgWX/osgWX.dsp: - Appeased poor MS VisualStudio by adding the ^M's to all .dsw and - .dsp files. - -2001-12-14 15:10 don - - * VisualStudio/osg/osg.dsp: Fixed newline/cr problem - -2001-12-14 14:25 robert - - * src/osgUtil/Optimizer.cpp: 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 - - * include/osgDB/FieldReader, - src/osgPlugins/flt/ReaderWriterATTR.cpp, - src/osgPlugins/osg/StateSet.cpp, src/osgPlugins/osg/Stencil.cpp: - Fixes for Win32 build related to changes in using namespace std. - -2001-12-14 10:02 robert - - * include/osgDB/FieldReader, include/osgDB/Output, - include/osgGLUT/Viewer, src/osgDB/DynamicLibrary.cpp, - src/osgPlugins/flt/Input.cpp, src/osgPlugins/flt/Record.cpp, - src/osgPlugins/flt/Registry.cpp, src/osgPlugins/lib3ds/quat.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/pfb/ConvertToPerformer.cpp, - src/osgText/FTGLTextureFont.cpp, src/osgText/Makefile, - src/osgUtil/CullVisitor.cpp, src/osgUtil/IntersectVisitor.cpp: - 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 - - * include/osg/Math, include/osg/Matrix, include/osg/Quat, - include/osg/Transform, src/Demos/hangglide/GliderManipulator.cpp, - src/Demos/osgcluster/osgcluster.cpp, - src/Demos/osgconv/OrientationConverter.cpp, - src/Demos/osgcube/osgcube.cpp, - src/Demos/osgreflect/osgreflect.cpp, - src/Demos/osgtexture/osgtexture.cpp, src/osg/Billboard.cpp, - src/osg/Camera.cpp, src/osg/Matrix.cpp, src/osg/Quat.cpp, - src/osg/Transform.cpp, src/osgPlugins/flt/flt2osg.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgUtil/DriveManipulator.cpp, - src/osgUtil/FlightManipulator.cpp, - src/osgUtil/TrackballManipulator.cpp, - src/osgUtil/TransformCallback.cpp: 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 - - * src/osg/Matrix.cpp, src/osg/Quat.cpp: 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 - - * NEWS, include/osg/GeoSet, src/osgDB/FieldReaderIterator.cpp, - src/osgPlugins/osg/GeoSet.cpp: Fixed problem with loading - interleaved arrays in the .osg loader, and corrected - a spelling mistake in osg::GeoSet. - -2001-12-12 05:09 don - - * src/Demos/osgconv/OrientationConverter.cpp, - src/Demos/osgconv/OrientationConverter.h, - src/Demos/osgconv/osgconv.cpp: Added translation and scaling to - osgconv - -2001-12-11 17:00 don - - * src/osg/Matrix.cpp: 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 - - * include/osg/Matrix, include/osg/Notify, - src/osgUtil/SceneView.cpp, src/osgUtil/TriStripVisitor.cpp: Fixed - compilation problems under Windows due to changes in using - std::ostream etc. - -2001-12-11 11:22 robert - - * include/osg/Matrix, include/osg/Notify, include/osg/Vec2, - include/osg/Vec3, include/osg/Vec4: 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 - - * src/osg/Camera.cpp: Added :Referenced() to the osg::Camera(..) - copy constructor to prevent a warning - under Linux. - -2001-12-09 03:46 don - - * src/osg/GeoSet.cpp: *** empty log message *** - -2001-12-04 22:57 robert - - * include/osg/GeoSet, src/osg/GeoSet.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp: 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 - - * VisualStudio/osgPlugins/flt/flt.dsp, include/osg/Image, - include/osg/Texture, include/osgUtil/SceneView: 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 - - * src/osgPlugins/flt/GeoSetBuilder.h: Updates to the flt loader, - from Brede Johansen. - -2001-12-04 16:03 robert - - * src/osgPlugins/flt/ColorPaletteRecord.cpp, - src/osgPlugins/flt/ColorPaletteRecord.h, - src/osgPlugins/flt/ExternalRecord.cpp, - src/osgPlugins/flt/ExternalRecord.h, - src/osgPlugins/flt/FaceRecord.cpp, - src/osgPlugins/flt/FaceRecord.h, src/osgPlugins/flt/FltFile.cpp, - src/osgPlugins/flt/FltFile.h, - src/osgPlugins/flt/GeoSetBuilder.cpp, - src/osgPlugins/flt/GeoSetBuilder.h, - src/osgPlugins/flt/HeaderRecord.cpp, - src/osgPlugins/flt/HeaderRecord.h, src/osgPlugins/flt/Input.cpp, - src/osgPlugins/flt/Input.h, src/osgPlugins/flt/Makefile, - src/osgPlugins/flt/Pool.cpp, src/osgPlugins/flt/Pool.h, - src/osgPlugins/flt/ReaderWriterATTR.cpp, - src/osgPlugins/flt/Record.cpp, src/osgPlugins/flt/Record.h, - src/osgPlugins/flt/Registry.cpp, src/osgPlugins/flt/Registry.h, - src/osgPlugins/flt/TextureMappingPaletteRecord.h, - src/osgPlugins/flt/TexturePaletteRecord.h, - src/osgPlugins/flt/VertexPoolRecords.h, - src/osgPlugins/flt/flt.cpp, src/osgPlugins/flt/flt.h, - src/osgPlugins/flt/flt2osg.cpp, src/osgPlugins/flt/flt2osg.h, - src/osgPlugins/flt/opcodes.h: Integrated Brede Johansen's updates - to flt loader. +Thu, 1 Feb 2007 11:07:53 +0000 +Checked in by : Robert Osfield +Improved the toggling on/off of thrading modes -2001-12-04 15:56 robert +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 - * src/osgPlugins/obj/ReaderWriterOBJ.cpp: Made a output message - output as osg::DEBUG only. +Wed, 31 Jan 2007 22:24:20 +0000 +Checked in by : Robert Osfield +Further work on new threading model. -2001-12-04 12:34 robert +Wed, 31 Jan 2007 11:12:58 +0000 +Checked in by : Robert Osfield +Removed old #if #else #end block - * src/Demos/sgv/sgv.cpp: 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. +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 -2001-12-04 12:31 robert +Tue, 30 Jan 2007 17:12:33 +0000 +Checked in by : Robert Osfield +Added display listing of ShadowVolume - * src/Demos/osgtexture/osgtexture.cpp, src/Demos/sgv/sgv.cpp, - src/osg/Camera.cpp, src/osg/Texture.cpp, - src/osgPlugins/osg/Texture.cpp, - src/osgPlugins/pfb/ReaderWriterPFB.cpp, - src/osgUtil/SceneView.cpp: Improved support for anaglyphic - stereo. - - Integrated texture CLAMP_TO_EDGE, submitted by Ulrich Hertlein. - -2001-12-02 22:20 robert - - * include/osg/Camera, include/osgUtil/RenderStage, - include/osgUtil/SceneView, src/osg/Camera.cpp, - src/osgGLUT/Viewer.cpp, src/osgText/Paragraph.cpp, - src/osgUtil/RenderStage.cpp, src/osgUtil/SceneView.cpp: Beginings - of support for quad bufferd, red/green, and slit screen stereo. - -2001-12-02 08:59 don - - * include/osg/GLU, include/osg/Matrix: Corrected a small booboo in - preprocessor guard for header file in GLU and - added Matrix::identity() to Matrix - -2001-11-30 20:53 robert - - * src/osg/StateSet.cpp: Fixed bug in osg::StateSet::merge(..) where - the containers were being - iterated from begin() to begin() rather than begin() to end(). +Tue, 30 Jan 2007 15:37:30 +0000 +Checked in by : Robert Osfield +Added automatic aspect ratio adjustmeent to View::setUpViewAcrossAllScreens() and setUpViewOnSingleScreen. -2001-11-21 15:53 don - - * include/osg/Camera, src/osg/Camera.cpp: Small fix for - preprocessor _MP symbol clash with MFC. - -2001-11-19 13:14 robert - - * src/osgText/Font.cpp: Made the Warning font file not found - message consistent with other file not - found messages. - -2001-11-19 11:52 robert - - * include/osgUtil/Optimizer: 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 - - * src/osgText/Font.cpp: Added warning report for when a font file - cannot be found. - -2001-11-18 21:31 robert - - * include/osg/Image, src/osg/Image.cpp: 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 - - * src/osgGLUT/Viewer.cpp: 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 - - * src/Demos/osgtext/main.cpp: Fixes for windows compilation - -2001-11-14 15:52 robert - - * src/Demos/osgtext/main.cpp: Fixed compilation problem under - Wndows - -2001-11-14 15:32 robert - - * include/osg/Math: Fixed compilation problem under Wndows - -2001-11-14 14:10 robert - - * include/osgUtil/TransformCallback, - src/osgUtil/TransformCallback.cpp: Added - osgUtil::TransformCallback to help with rigid body animation. - -2001-11-14 14:09 robert - - * VisualStudio/osgUtil/osgUtil.dsp, include/osg/Math, - include/osg/Matrix, include/osg/Transform, - include/osgDB/ReaderWriter, include/osgText/Paragraph, - include/osgUtil/SceneView, src/Demos/osgcube/osgcube.cpp, - src/Demos/osgreflect/osgreflect.cpp, src/Demos/osgtext/main.cpp, - src/Demos/osgtexture/osgtexture.cpp, src/osg/Transform.cpp, - src/osgGLUT/Viewer.cpp, src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/pfb/ReaderWriterPFB.cpp, src/osgText/Font.cpp, - src/osgText/Makefile, src/osgText/Paragraph.cpp, - src/osgText/Text.cpp, src/osgUtil/Makefile, - src/osgUtil/SceneViewManipulator.cpp: 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 - - * include/osgText/Font, include/osgText/Paragraph, - src/osgText/Font.cpp, src/osgText/Paragraph.cpp: Added new files - to cvs. - -2001-11-12 10:00 robert - - * src/osg/NodeCallback.cpp: Added src/osg/NodeCallback.cpp. - -2001-11-11 22:32 robert - - * VisualStudio/osg/osg.dsp, include/osg/Matrix, - include/osg/NodeCallback, include/osg/ref_ptr, - src/Demos/osgcube/osgcube.cpp, - src/Demos/osgreflect/osgreflect.cpp, src/osg/Makefile, - src/osg/Matrix.cpp, src/osgDB/FileUtils.cpp: 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 - - * src/osgUtil/Optimizer.cpp: 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 - - * src/osgUtil/Optimizer.cpp: 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 - - * VisualStudio/osgText/osgText.dsp, include/osg/Node, - include/osgText/Text, src/osg/Node.cpp, - src/osgPlugins/osg/README, src/osgText/Makefile, - src/osgText/Text.cpp: 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 - - * src/osgDB/FileUtils.cpp: 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 - - * src/osgUtil/IntersectVisitor.cpp: Fixed the IntersectVisitor - which was broken by a recent patch to catch parallel - line and traingle combinations. - -2001-11-07 12:42 robert - - * src/Demos/osgtext/main.cpp, src/osgText/Text.cpp, - src/osgUtil/IntersectVisitor.cpp, src/osgUtil/Optimizer.cpp: - 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 - - * include/osg/BoundingBox: Fixed inlcude/BoundingBox to compile - under Windows. - -2001-11-06 11:07 robert - - * include/osg/Math: Fixed inlcude/Math to compile under Windows. - -2001-11-06 10:34 robert - - * include/osg/BoundingBox, include/osg/BoundingSphere, - include/osg/LineSegment, include/osg/Math, include/osg/Vec2, - include/osg/Vec3, include/osg/Vec4, - src/osgUtil/IntersectVisitor.cpp: 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 - - * include/osg/Statistics, include/osgUtil/RenderBin, - include/osgUtil/RenderStage, src/osgGLUT/Viewer.cpp, - src/osgUtil/RenderBin.cpp, src/osgUtil/RenderStage.cpp: - Integrated updates to stats sent in my Geoff Michel. - -2001-11-02 21:20 don - - * src/osgDB/FileUtils.cpp: 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 - - * Make/makedefs.freebsd, Make/makedefs.irix.nonstd, - Make/makedefs.irix.std, Make/makedefs.linux, - Make/makedefs.macosx, Makefile, include/osg/Matrix, - include/osg/Node, include/osg/Object, include/osgText/Text, - src/Demos/Makefile, src/Makefile, src/osg/Makefile, - src/osgGLUT/Makefile, src/osgText/Text.cpp: Updates to Makefiles - to include osgText. - Also a couple of undefined methods in osgText::Text have been - added. - -2001-11-02 12:26 robert - - * include/osg/Drawable, index.html, src/osgPlugins/Makefile: - 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 - - * src/osgPlugins/flt/ColorPaletteRecord.cpp, - src/osgPlugins/flt/DofRecord.h, - src/osgPlugins/flt/ExtensionRecord.h, - src/osgPlugins/flt/FaceRecord.cpp, - src/osgPlugins/flt/FaceRecord.h, src/osgPlugins/flt/FltFile.cpp, - src/osgPlugins/flt/FltFile.h, - src/osgPlugins/flt/GeoSetBuilder.cpp, - src/osgPlugins/flt/GeoSetBuilder.h, - src/osgPlugins/flt/GroupRecord.h, - src/osgPlugins/flt/HeaderRecord.cpp, - src/osgPlugins/flt/HeaderRecord.h, src/osgPlugins/flt/Input.cpp, - src/osgPlugins/flt/LodRecord.h, - src/osgPlugins/flt/MaterialPaletteRecord.h, - src/osgPlugins/flt/ObjectRecord.h, - src/osgPlugins/flt/OldMaterialPaletteRecord.h, - src/osgPlugins/flt/OldVertexRecords.h, - src/osgPlugins/flt/Pool.cpp, src/osgPlugins/flt/Pool.h, - src/osgPlugins/flt/ReaderWriterFLT.cpp, - src/osgPlugins/flt/Record.h, src/osgPlugins/flt/Registry.cpp, - src/osgPlugins/flt/Registry.h, src/osgPlugins/flt/SwitchRecord.h, - src/osgPlugins/flt/TextureMappingPaletteRecord.h, - src/osgPlugins/flt/TexturePaletteRecord.h, - src/osgPlugins/flt/TransformationRecords.h, - src/osgPlugins/flt/VertexPoolRecords.h, src/osgPlugins/flt/flt.h, - src/osgPlugins/flt/flt2osg.cpp, src/osgPlugins/flt/flt2osg.h: - Updates to the flt loader from Brede Johansen. - -2001-11-01 15:13 robert - - * src/osgText/FTGLTextureFont.cpp, - src/osgText/FTGlyphContainer.cpp, src/osgText/Text.cpp: 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 - - * src/osgPlugins/lib3ds/config.h: Added missing config.h file to - src/osgPlugins/lib3ds. - -2001-10-31 20:04 robert - - * include/osg/StateSet, src/osg/StateSet.cpp: 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 - - * src/osgPlugins/lib3ds/Makefile, - src/osgPlugins/lib3ds/ReaderWriter3DS.cpp, - src/osgPlugins/lib3ds/atmosphere.cpp, - src/osgPlugins/lib3ds/atmosphere.h, - src/osgPlugins/lib3ds/background.cpp, - src/osgPlugins/lib3ds/background.h, - src/osgPlugins/lib3ds/camera.cpp, src/osgPlugins/lib3ds/camera.h, - src/osgPlugins/lib3ds/chunk.cpp, src/osgPlugins/lib3ds/chunk.h, - src/osgPlugins/lib3ds/chunktable.h, - src/osgPlugins/lib3ds/ease.cpp, src/osgPlugins/lib3ds/ease.h, - src/osgPlugins/lib3ds/file.cpp, src/osgPlugins/lib3ds/file.h, - src/osgPlugins/lib3ds/lib3ds_float.cpp, - src/osgPlugins/lib3ds/lib3ds_float.h, - src/osgPlugins/lib3ds/light.cpp, src/osgPlugins/lib3ds/light.h, - src/osgPlugins/lib3ds/material.cpp, - src/osgPlugins/lib3ds/material.h, - src/osgPlugins/lib3ds/matrix.cpp, src/osgPlugins/lib3ds/matrix.h, - src/osgPlugins/lib3ds/mesh.cpp, src/osgPlugins/lib3ds/mesh.h, - src/osgPlugins/lib3ds/node.cpp, src/osgPlugins/lib3ds/node.h, - src/osgPlugins/lib3ds/quat.cpp, src/osgPlugins/lib3ds/quat.h, - src/osgPlugins/lib3ds/readwrite.cpp, - src/osgPlugins/lib3ds/readwrite.h, - src/osgPlugins/lib3ds/shadow.cpp, src/osgPlugins/lib3ds/shadow.h, - src/osgPlugins/lib3ds/tcb.cpp, src/osgPlugins/lib3ds/tcb.h, - src/osgPlugins/lib3ds/tracks.cpp, src/osgPlugins/lib3ds/tracks.h, - src/osgPlugins/lib3ds/types.h, src/osgPlugins/lib3ds/vector.cpp, - src/osgPlugins/lib3ds/vector.h, - src/osgPlugins/lib3ds/viewport.cpp, - src/osgPlugins/lib3ds/viewport.h: Updated the lib3ds plugin with - the new 1.1 version of lib3ds. - -2001-10-31 12:27 robert - - * AUTHORS, include/osgText/Text, src/osgText/FTGL.h, - src/osgText/FTSize.cpp: Update to osgText to get things compiling - under Windows. - -2001-10-31 11:41 robert - - * VisualStudio/osgText/osgText.dsp: 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 - - * VisualStudio/osgText/osgText.dsp, src/osgText/FTCharmap.cpp, - src/osgText/FTFace.cpp, src/osgText/FTFont.h, src/osgText/FTGL.h, - src/osgText/FTGLBitmapFont.cpp, src/osgText/FTGLBitmapFont.h, - src/osgText/FTGLOutlineFont.cpp, src/osgText/FTGLOutlineFont.h, - src/osgText/FTGLPixmapFont.cpp, src/osgText/FTGLPixmapFont.h, - src/osgText/FTGLPolygonFont.cpp, src/osgText/FTGLPolygonFont.h, - src/osgText/FTGLTextureFont.cpp, src/osgText/FTGLTextureFont.h, - src/osgText/FTGlyphContainer.cpp, src/osgText/FTGlyphContainer.h, - src/osgText/FTOutlineGlyph.cpp, src/osgText/FTPolyGlyph.cpp, - src/osgText/FTSize.cpp, src/osgText/FTTextureGlyph.cpp, - src/osgText/FTTextureGlyph.h, src/osgText/FTVectorGlyph.cpp, - src/osgText/FTVectorGlyph.h, src/osgText/FTVectoriser.cpp, - src/osgText/FTVectoriser.h, src/osgText/Makefile: Updated the - FTGL implemention in osgText to FTFL1.1. - -2001-10-30 19:23 robert - - * include/osgDB/Registry, src/Demos/hangglide/ReaderWriterFLY.cpp, - src/osg/Matrix.cpp, src/osgDB/Input.cpp, src/osgDB/ReadFile.cpp, - src/osgDB/Registry.cpp, src/osgDB/WriteFile.cpp: Further updates - to the ReaderWriter support in osgDB, and a fix to a small - warning - in Matrix.cpp. - -2001-10-30 14:20 robert - - * include/osgDB/ReaderWriter, src/osgDB/Registry.cpp, - src/osgPlugins/bmp/ReaderWriterBMP.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/flt/ReaderWriterFLT.cpp, - src/osgPlugins/flt/ReaderWriterFLT.h, - src/osgPlugins/gif/ReaderWriterGIF.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/lib3ds/ReaderWriter3DS.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp, - src/osgPlugins/pfb/ReaderWriterPFB.cpp, - src/osgPlugins/pic/ReaderWriterPIC.cpp, - src/osgPlugins/png/ReaderWriterPNG.cpp, - src/osgPlugins/png/new_ReaderWriterPNG.cpp, - src/osgPlugins/png/prev_ReaderWriterPNG.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp, - src/osgPlugins/tga/ReaderWriterTGA.cpp, - src/osgPlugins/tgz/ReaderWriterTGZ.cpp, - src/osgPlugins/tiff/ReaderWriterTIFF.cpp, - src/osgPlugins/zip/ReaderWriterZIP.cpp: 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 - - * include/osg/Texture: Changed a #define ... (GLenum) 0x84fe to - 0x84FE to fix problems under MacOS9 - build. - -2001-10-29 12:22 robert - - * src/Demos/osgtext/main.cpp: 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 - - * src/osgText/Version.cpp: Added missing src/osgText/Version.cpp - file. - -2001-10-25 01:11 bryan - - * Metrowerks/Metrowerks.mcp: Imposter.cpp added to the project - -2001-10-25 00:49 bryan - - * src/osgGLUT/Viewer.cpp: Changed the int to a GLint because of the - differences within mac/win32/linux versions of gl.h. - -2001-10-25 00:45 bryan - - * Metrowerks/Metrowerks.mcp: sgv is almost working - -2001-10-24 23:15 robert - - * VisualStudio/VisualStudio.dsw, VisualStudio/osgText/osgText.dsp, - src/osgText/FTGL.h, src/osgText/FTVectorGlyph.cpp, - src/osgText/FTVectorGlyph.h: Completed work on osgText - compilation under Win32. We now - have fonts under Wndows and Linux :-) - -2001-10-24 22:29 robert - - * VisualStudio/Demos/osgTextDemo/osgTextDemo.dsp, - VisualStudio/osgText/osgText.dsp: Updates to the visual studio - files for osgText. - -2001-10-24 19:48 robert - - * VisualStudio/VisualStudio.dsw, include/osgDB/FileUtils: Updates - of osgDB/FileUtils to fix compilation problems under Win32 - -2001-10-24 13:46 robert - - * VisualStudio/osgText/osgText.dsp, include/osgDB/FileUtils, - src/Demos/osgtext/main.cpp, src/osgDB/FileUtils.cpp, - src/osgText/Text.cpp: Updates to osgText. - -2001-10-24 12:53 robert - - * src/osgDB/FileUtils.cpp, src/osgText/Makefile, - src/osgText/Text.cpp: 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 - - * src/Demos/osgtext/main.cpp, src/osgText/FTBitmapGlyph.cpp, - src/osgText/FTBitmapGlyph.h, src/osgText/FTCharmap.h, - src/osgText/FTFace.h, src/osgText/FTFont.h, src/osgText/FTGL.h, - src/osgText/FTGLBitmapFont.cpp, src/osgText/FTGLBitmapFont.h, - src/osgText/FTGLOutlineFont.cpp, src/osgText/FTGLOutlineFont.h, - src/osgText/FTGLPixmapFont.cpp, src/osgText/FTGLPixmapFont.h, - src/osgText/FTGLPolygonFont.h, src/osgText/FTGLTextureFont.cpp, - src/osgText/FTGLTextureFont.h, src/osgText/FTGlyph.h, - src/osgText/FTGlyphContainer.h, src/osgText/FTLibrary.cpp, - src/osgText/FTLibrary.h, src/osgText/FTOutlineGlyph.cpp, - src/osgText/FTOutlineGlyph.h, src/osgText/FTPixmapGlyph.cpp, - src/osgText/FTPixmapGlyph.h, src/osgText/FTPolyGlyph.cpp, - src/osgText/FTPolyGlyph.h, src/osgText/FTSize.h, - src/osgText/FTTextureGlyph.cpp, src/osgText/FTTextureGlyph.h, - src/osgText/FTVectorGlyph.cpp, src/osgText/FTVectorGlyph.h, - src/osgText/FTVectoriser.h, src/osgText/Makefile: Updated FTGL - version to 1.0 and removed a couple of warnings in the osgText - demo. - -2001-10-24 09:08 robert - - * include/osgText/Text, src/Demos/osgtext/main.cpp: Updated the - osgText implemention, now works under Linux. - -2001-10-23 23:23 don - - * src/osgPlugins/pfb/stat.c: Added stat.c - -2001-10-23 23:15 don - - * Make/makedefs.linux: One last change needed to makedefs.linux to - sync Linux and Irix pfb loader - -2001-10-23 23:10 don - - * Make/makedefs.irix.nonstd, Make/makedefs.irix.std, - Make/makerules.irix, src/osgPlugins/Makefile, - src/osgPlugins/pfb/Makefile: Fixed pfb loader functionality for - IRIX - -2001-10-23 22:59 don - - * Make/makedefs.linux, Make/makerules.linux, - src/Demos/sgv/Makefile, src/osgPlugins/pfb/Makefile, - src/osgPlugins/pfb/ReaderWriterPFB.cpp: 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 - - * src/Demos/osgtext/Makefile, src/Demos/osgtext/main.cpp, - src/osgText/Makefile: Further work on getting osgText compiling. - -2001-10-23 22:12 robert - - * src/osgText/FTBitmapGlyph.cc, src/osgText/FTCharmap.cc, - src/osgText/FTFace.cc, src/osgText/FTFont.cc, - src/osgText/FTGLBitmapFont.cc, src/osgText/FTGLOutlineFont.cc, - src/osgText/FTGLPixmapFont.cc, src/osgText/FTGLPolygonFont.cc, - src/osgText/FTGLTextureFont.cc, src/osgText/FTGlyph.cc, - src/osgText/FTGlyphContainer.cc, src/osgText/FTLibrary.cc, - src/osgText/FTOutlineGlyph.cc, src/osgText/FTPixmapGlyph.cc, - src/osgText/FTPolyGlyph.cc, src/osgText/FTSize.cc, - src/osgText/FTTextureGlyph.cc, src/osgText/FTVectoriser.cc: - Removed old .cc versions of FT font code. - -2001-10-23 22:09 robert - - * src/osgText/FTBitmapGlyph.cpp, src/osgText/FTCharmap.cpp, - src/osgText/FTFace.cpp, src/osgText/FTFont.cpp, - src/osgText/FTGLBitmapFont.cpp, src/osgText/FTGLOutlineFont.cpp, - src/osgText/FTGLPixmapFont.cpp, src/osgText/FTGLPolygonFont.cpp, - src/osgText/FTGLTextureFont.cpp, src/osgText/FTGlyph.cpp, - src/osgText/FTGlyphContainer.cpp, src/osgText/FTLibrary.cpp, - src/osgText/FTOutlineGlyph.cpp, src/osgText/FTPixmapGlyph.cpp, - src/osgText/FTPolyGlyph.cpp, src/osgText/FTSize.cpp, - src/osgText/FTTextureGlyph.cpp, src/osgText/FTVectoriser.cpp: - Adding in new .cpp versions of FT font code. - -2001-10-23 22:08 robert - - * Make/makedefs.linux, include/osgText/Version, - src/osgText/Makefile, src/osgText/Text.cpp: Updates to the new - osgText library to get it to compile under Linux. - -2001-10-23 20:04 robert - - * src/osgText/FTBitmapGlyph.cc, src/osgText/FTBitmapGlyph.h, - src/osgText/FTCharmap.cc, src/osgText/FTCharmap.h, - src/osgText/FTFace.cc, src/osgText/FTFace.h, - src/osgText/FTFont.cc, src/osgText/FTFont.h, src/osgText/FTGL.h, - src/osgText/FTGLBitmapFont.cc, src/osgText/FTGLBitmapFont.h, - src/osgText/FTGLOutlineFont.cc, src/osgText/FTGLOutlineFont.h, - src/osgText/FTGLPixmapFont.cc, src/osgText/FTGLPixmapFont.h, - src/osgText/FTGLPolygonFont.cc, src/osgText/FTGLPolygonFont.h, - src/osgText/FTGLTextureFont.cc, src/osgText/FTGLTextureFont.h, - src/osgText/FTGlyph.cc, src/osgText/FTGlyph.h, - src/osgText/FTGlyphContainer.cc, src/osgText/FTGlyphContainer.h, - src/osgText/FTLibrary.cc, src/osgText/FTLibrary.h, - src/osgText/FTOutlineGlyph.cc, src/osgText/FTOutlineGlyph.h, - src/osgText/FTPixmapGlyph.cc, src/osgText/FTPixmapGlyph.h, - src/osgText/FTPolyGlyph.cc, src/osgText/FTSize.cc, - src/osgText/FTSize.h, src/osgText/FTTextureGlyph.cc, - src/osgText/FTVectoriser.cc, src/osgText/FTVectoriser.h: - Converted FTGL files from mac style return to unix style. - -2001-10-23 19:51 robert - - * VisualStudio/Demos/osgTextDemo, - VisualStudio/Demos/osgTextDemo/osgTextDemo.dsp, - VisualStudio/osgText, VisualStudio/osgText/osgText.dsp, - include/osgText, include/osgText/Export, include/osgText/Text, - src/Demos/osgtext, src/Demos/osgtext/main.cpp, src/osgText, - src/osgText/FTBitmapGlyph.cc, src/osgText/FTBitmapGlyph.h, - src/osgText/FTCharmap.cc, src/osgText/FTCharmap.h, - src/osgText/FTFace.cc, src/osgText/FTFace.h, - src/osgText/FTFont.cc, src/osgText/FTFont.h, src/osgText/FTGL.h, - src/osgText/FTGLBitmapFont.cc, src/osgText/FTGLBitmapFont.h, - src/osgText/FTGLOutlineFont.cc, src/osgText/FTGLOutlineFont.h, - src/osgText/FTGLPixmapFont.cc, src/osgText/FTGLPixmapFont.h, - src/osgText/FTGLPolygonFont.cc, src/osgText/FTGLPolygonFont.h, - src/osgText/FTGLTextureFont.cc, src/osgText/FTGLTextureFont.h, - src/osgText/FTGlyph.cc, src/osgText/FTGlyph.h, - src/osgText/FTGlyphContainer.cc, src/osgText/FTGlyphContainer.h, - src/osgText/FTLibrary.cc, src/osgText/FTLibrary.h, - src/osgText/FTOutlineGlyph.cc, src/osgText/FTOutlineGlyph.h, - src/osgText/FTPixmapGlyph.cc, src/osgText/FTPixmapGlyph.h, - src/osgText/FTPolyGlyph.cc, src/osgText/FTPolyGlyph.h, - src/osgText/FTSize.cc, src/osgText/FTSize.h, - src/osgText/FTTextureGlyph.cc, src/osgText/FTTextureGlyph.h, - src/osgText/FTVectoriser.cc, src/osgText/FTVectoriser.h, - src/osgText/Makefile, src/osgText/Text.cpp: First past integrat - of Max Rhiener work on wrapping FTGL to create osgText - library and demo. - -2001-10-23 15:55 robert - - * VisualStudio/osgGLUT/osgGLUT.dsp, include/osgGLUT/Window, - src/osgGLUT/Makefile, src/osgGLUT/Window.cpp: 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 - - * include/osg/Drawable, include/osg/GeoSet, - include/osg/ImpostorSprite, include/osg/State, - include/osg/StateSet, include/osg/Statistics, - include/osgGLUT/Viewer, include/osgUtil/RenderBin, - include/osgUtil/RenderStage, src/osg/GeoSet.cpp, - src/osg/ImpostorSprite.cpp, src/osg/State.cpp, - src/osg/StateSet.cpp, src/osgGLUT/Viewer.cpp, - src/osgUtil/RenderBin.cpp, src/osgUtil/RenderStage.cpp: - 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 - - * src/osg/AlphaFunc.cpp, src/osg/BoundingBox.cpp, - src/osg/BoundingSphere.cpp, src/osg/CullFace.cpp, - src/osg/EarthSky.cpp, src/osg/Fog.cpp, src/osg/FrontFace.cpp, - src/osg/GLExtensions.cpp, src/osg/GeoSet.cpp, - src/osg/GeoSet_ogl.cpp, src/osg/Geode.cpp, src/osg/Group.cpp, - src/osg/Impostor.cpp, src/osg/LOD.cpp, src/osg/Light.cpp, - src/osg/LightSource.cpp, src/osg/LineSegment.cpp, - src/osg/Material.cpp, src/osg/Node.cpp, src/osg/NodeVisitor.cpp, - src/osg/Notify.cpp, src/osg/Object.cpp, src/osg/Point.cpp, - src/osg/PolygonMode.cpp, src/osg/PolygonOffset.cpp, - src/osg/Quat.cpp, src/osg/Switch.cpp, src/osg/TexEnv.cpp, - src/osg/TexGen.cpp, src/osg/TexMat.cpp, src/osg/Transform.cpp, - src/osg/Transparency.cpp, src/osg/Version.cpp, - src/osgDB/DynamicLibrary.cpp, src/osgDB/FieldReader.cpp, - src/osgDB/FileNameUtils.cpp, src/osgDB/FileUtils.cpp, - src/osgDB/ReadFile.cpp, src/osgDB/Registry.cpp, - src/osgDB/Version.cpp, src/osgDB/WriteFile.cpp, - src/osgGLUT/GLUTEventAdapter.cpp, src/osgGLUT/Version.cpp, - src/osgGLUT/Viewer.cpp, src/osgUtil/CullViewState.cpp, - src/osgUtil/DisplayListVisitor.cpp, - src/osgUtil/DriveManipulator.cpp, - src/osgUtil/IntersectVisitor.cpp, src/osgUtil/RenderGraph.cpp, - src/osgUtil/Version.cpp, src/osgWX/Version.cpp, - src/osgWX/WXEventAdapter.cpp: Moved all #include "osg/.." - references to #include to aid port to - MacOS. - -2001-10-20 20:26 robert - - * include/osgUtil/DisplayListVisitor, include/osgUtil/SceneView, - src/osgUtil/DisplayListVisitor.cpp, src/osgUtil/SceneView.cpp: - 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 - - * src/osgPlugins/pfb/ReaderWriterPFB.cpp: 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 - - * src/osg/Lighting.cpp: Removed Lighting.cpp from repository, it is - nolonger used and was just hanging - around erroneously. - -2001-10-19 15:30 robert - - * src/osgUtil/Optimizer.cpp: 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 - - * VisualStudio/osgUtil/osgUtil.dsp, - include/osgUtil/OptimizeStateVisitor, include/osgUtil/Optimizer, - src/Demos/sgv/sgv.cpp, src/osgUtil/Makefile, - src/osgUtil/OptimizeStateVisitor.cpp, src/osgUtil/Optimizer.cpp: - 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 - - * include/osg/Node, src/osg/Group.cpp, src/osg/Node.cpp, - src/osgPlugins/osg/Node.cpp, src/osgUtil/CullVisitor.cpp: 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 - - * Make/makedefs.linux, src/osgPlugins/pfb/ReaderWriterPFB.cpp: - Fixed static libraries in madefs.linux and error in - ReaderWriterPFB.cpp - -2001-10-16 22:30 bryan - - * Metrowerks/Metrowerks.mcp: 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 - - * include/osg/FrameStamp, src/osg/FrameStamp.cpp: 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 - - * Metrowerks/OpenSceneGraph.mcp: This was the old project file. - It's no longer used. - -2001-10-16 20:56 bryan - - * include/osg/FrameStamp, include/osg/Timer, - src/osg/FrameStamp.cpp, src/osg/Timer.cpp, - src/osgGLUT/Viewer.cpp: *** empty log message *** - -2001-10-16 18:39 robert - - * Make/makedefs.irix.std, src/osgPlugins/flt/GeoSetBuilder.cpp, - src/osgPlugins/flt/ReaderWriterFLT.h, - src/osgPlugins/pfb/Makefile: Fixes for IRIX build - submitted by - Randall Hopper. - -2001-10-16 16:48 robert - - * VisualStudio/osgPlugins/png/png.dsp, include/osg/FrameStamp, - include/osg/Vec2, include/osg/Vec3, include/osg/Vec4: Fixes for - Win32 compilation. - -2001-10-16 15:03 robert - - * src/osgPlugins/lib3ds/ReaderWriter3DS.cpp, - src/osgUtil/SmoothingVisitor.cpp: 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 - - * src/Demos/sgv/sgv.cpp: 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 - - * src/Demos/osgconv/OrientationConverter.cpp, - src/Demos/osgconv/OrientationConverter.h, src/Demos/sgv/sgv.cpp: - Added support for transforming LOD and Billboard centers to the - OrientationConverter and the flattenTransformVisitor in sgv. - -2001-10-16 10:03 robert - - * src/osgGLUT/Viewer.cpp: 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 - - * src/osgPlugins/pfb/ReaderWriterPFB.cpp: Fixed problem caused by - ReaderWriterPFB::writeNode(..) not ensuring that the - file extension was .pfb. Have added a check. - -2001-10-16 03:59 don - - * include/osg/Vec2, include/osg/Vec3, include/osg/Vec4: 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 - - * include/osg/FrameStamp, include/osg/Timer, - src/Demos/hangglide/ReaderWriterFLY.cpp, - src/Demos/osgconv/OrientationConverter.cpp, - src/Demos/sgv/sgv.cpp, src/osg/Matrix.cpp, - src/osgPlugins/bmp/ReaderWriterBMP.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/png/new_ReaderWriterPNG.cpp, - src/osgPlugins/png/prev_ReaderWriterPNG.cpp: Fixes for - compilation under IRIX, submitted by Randal Hopper, with mods - from Robert. - -2001-10-15 14:29 robert - - * include/osg/State: 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 - - * include/osg/State, src/osg/State.cpp, src/osg/StateSet.cpp, - src/osgGLUT/Viewer.cpp: 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 - - * src/Demos/hangglide/GliderManipulator.cpp: Fixed rotations to - account to the fixes made to Quat and Matrix related to - right hand rule rotation. - -2001-10-15 08:40 robert - - * src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/pfb/ReaderWriterPFB.cpp: 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 - - * src/osgPlugins/pfb/Makefile, - src/osgPlugins/pfb/ReaderWriterPFB.cpp: Updated pfb loader to - load pfb files into osg. Still broken for loading osg - files into Performer, however. - -2001-10-14 17:54 robert - - * include/osgDB/ReaderWriter, include/osgDB/Registry, - src/Demos/sgv/sgv.cpp, src/osgDB/Registry.cpp, - src/osgPlugins/bmp/ReaderWriterBMP.cpp, - src/osgPlugins/flt/ReaderWriterFLT.cpp, - src/osgPlugins/flt/ReaderWriterFLT.h, - src/osgPlugins/gif/ReaderWriterGIF.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/lib3ds/ReaderWriter3DS.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp, - src/osgPlugins/pic/ReaderWriterPIC.cpp, - src/osgPlugins/png/ReaderWriterPNG.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp, - src/osgPlugins/tga/ReaderWriterTGA.cpp, - src/osgPlugins/tgz/ReaderWriterTGZ.cpp, - src/osgPlugins/tiff/ReaderWriterTIFF.cpp, - src/osgPlugins/zip/ReaderWriterZIP.cpp: 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 - - * VisualStudio/Demos/osgconv/osgconv.dsp: Added - OrientationConverter.cpp to the VisualStudio project files for - osgconv. - -2001-10-14 16:55 robert - - * src/Demos/osgconv/Makefile, - src/Demos/osgconv/OrientationConverter.cpp, - src/Demos/osgconv/orientationconverter.cpp: Changed the - OrientationConverter.cpp's to have consitent captilization as its - associated header file. - -2001-10-14 14:23 robert - - * src/Demos/osgconv/orientationconverter.cpp, - src/Demos/sgv/sgv.cpp: Fixed TransformFunctor code so that it now - uses the inverse of the - transformation matrix to transform the normal. - -2001-10-14 14:23 robert - - * src/osg/Matrix.cpp: 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 - - * include/osg/StateSet, src/osg/StateSet.cpp: Added - osg::StateSet::merge(const StateSet& rhs) merges merges the modes - and - attributes of rhs into 'this' stateset. - -2001-10-14 09:57 robert +Tue, 30 Jan 2007 14:47:13 +0000 +Checked in by : Robert Osfield +Updated wrappers - * src/osgUtil/DriveManipulator.cpp, - src/osgUtil/FlightManipulator.cpp: Fixed the Flight and Drive - manipulators to work with the updated Matrix::rotate - code. +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." -2001-10-14 06:01 don +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." - * include/osg/Drawable, src/Demos/osgconv/orientationconverter.cpp: - 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 - * src/Demos/osgconv/orientationconverter.cpp: Mr. O added fancy, - shmanzy C++ code, but broke normal transform functionality - Fixed. +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. -2001-10-14 05:14 don +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. - * src/osgUtil/TrackballManipulator.cpp: Quick 'n dirty fix to - TrackballManipulator to get the rotations doing the - right things after the Quat fixes. +Tue, 30 Jan 2007 11:47:44 +0000 +Checked in by : Robert Osfield +Updated wrappers -2001-10-14 04:50 don +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. - * Makefile: Cleaned up some 'make clobber' issues in root Makefile -2001-10-14 04:28 don - * src/osg/Matrix.cpp, src/osg/Quat.cpp: 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. +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. -2001-10-13 11:16 robert +Mon, 29 Jan 2007 22:59:04 +0000 +Checked in by : Robert Osfield +Made _useMainThreadForRenderingalTraversal(false) - * TODO, include/osg/Drawable, include/osg/GeoSet, - src/Demos/osgconv/orientationconverter.cpp, - src/Demos/sgv/Makefile, src/Demos/sgv/sgv.cpp, - src/osg/GeoSet.cpp: 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. +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 -2001-10-13 09:48 don +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. - * src/Demos/osgconv/orientationconverter.cpp: Added Mr. Osfields - dynamic_cast<> and test for validity test. +Sun, 28 Jan 2007 17:12:57 +0000 +Checked in by : Robert Osfield +Added use of Viewe Realize graphics operation. -2001-10-13 08:34 don +Sun, 28 Jan 2007 17:11:21 +0000 +Checked in by : Robert Osfield +Added set/getRealizeOperation() to Viewer and CompositeViewer - * src/osg/Quat.cpp: backed out right-handed coordinate transform - for makeRot(vec3,vec3) in Quat.cpp +Sun, 28 Jan 2007 09:53:02 +0000 +Checked in by : Robert Osfield +Updated wrappers -2001-10-13 08:32 don +Sun, 28 Jan 2007 09:30:11 +0000 +Checked in by : Robert Osfield +From Vlad Danciu, fixed leaf depth sort functor - * src/Demos/osgconv/orientationconverter.cpp: A few more clean ups +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." -2001-10-13 07:41 don +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. - * src/Demos/osgconv/osgconv.cpp: Cleaned up the usage message +Sat, 27 Jan 2007 17:52:11 +0000 +Checked in by : Robert Osfield +Updated wrappers -2001-10-13 07:24 don +Sat, 27 Jan 2007 14:27:54 +0000 +Checked in by : Robert Osfield +Added access methods to PositionStateContainer - * include/osg/GeoSet, src/Demos/osgconv/OrientationConverter.h, - src/Demos/osgconv/orientationconverter.cpp: Updated osgconv to be - able to handle orientation swapping. +Sat, 27 Jan 2007 14:27:29 +0000 +Checked in by : Robert Osfield +Added light source. -2001-10-13 06:23 don +Sat, 27 Jan 2007 12:54:58 +0000 +Checked in by : Robert Osfield +Further work on shadow CullCallback - * src/osg/Quat.cpp: Changed some routines to produce right-handed - rotations. +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 -2001-10-13 06:22 don +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. - * src/Demos/osgconv/Makefile, - src/Demos/osgconv/OrientationConverter.h, - src/Demos/osgconv/orientationconverter.cpp, - src/Demos/osgconv/osgconv.cpp: checking files in to move - development location +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 -2001-10-13 01:28 don +Fri, 26 Jan 2007 16:08:52 +0000 +Checked in by : Robert Osfield +Added Program pointer to help with uniform apply. - * include/osg/Matrix: Removed personal note in Matrix header file +Fri, 26 Jan 2007 09:44:49 +0000 +Checked in by : Robert Osfield +Added custom callback to capture RenderBins -2001-10-12 20:06 robert +Thu, 25 Jan 2007 12:16:38 +0000 +Checked in by : Robert Osfield +#ifdef'd out the artifical simulation time code - * src/osg/GeoSet.cpp: Added support for the new - AttributeUpdateFunctors. +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 -2001-10-12 20:05 robert +Added frame(double simulationTime) and advance(double simulationTime) parameters to +osgViewer::SimpleViewer, Vewer and CompositeViewer. - * include/osg/Drawable, include/osg/GeoSet, include/osg/Vec2, - include/osg/Vec3, include/osg/Vec4: Added != method to - Vec2,Vec3,Vec4 and did further work on the - AttributeUpdateFunctors. +Updated various examples and Nodes to use SimulationTime where appropriate. -2001-10-12 17:45 don - * src/osg/Makefile, src/osgPlugins/pfb/ConvertToPerformer.cpp: - Added include/osg/Math to Makefile TARGET_INCLUDE_FILES and fixed - references - to _mat in ConvertToPerformer.cpp -2001-10-10 20:20 robert +Thu, 25 Jan 2007 10:02:20 +0000 +Checked in by : Robert Osfield +From Gordon Tomlinson, fixes to BoundingSphere::expandBy(BoundingSphere&) - * include/osg/Drawable, include/osg/NodeVisitor, - include/osg/Transform, src/osg/Transform.cpp: 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. +Wed, 24 Jan 2007 12:59:11 +0000 +Checked in by : Robert Osfield +Updated wrappers -2001-10-10 14:38 robert +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." - * include/osg/GeoSet: Fixed spelling of - osg::GeoSet::getNumInterleavedIndices, was missing a 'n'! +Wed, 24 Jan 2007 12:28:18 +0000 +Checked in by : Robert Osfield +Added support for GUIEventAdapter::setHandled -2001-10-09 21:55 robert +Wed, 24 Jan 2007 12:21:29 +0000 +Checked in by : Robert Osfield +Added setHandled/getHandled to osgGA::GUIEventAdapter - * src/osgPlugins/bmp/ReaderWriterBMP.cpp: Fixed a crash when - opening an erroneous test file (reopen.bmp). +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. -2001-10-09 20:22 robert +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) - * VisualStudio/osgPlugins/flt/flt.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp: Updated to fix build - problems under MSVC. + * 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. -2001-10-09 20:09 robert + * Implementation of WindowingSystemInterface::setScreenResolution() method - * VisualStudio/osgPlugins/osg/dot_osg.dsp: Updated MSVC Workspace - files to fix build problems. + * Implementation of WindowingSystemInterface::setScreenRefreshRate() method -2001-10-09 20:03 robert + * Implementation of GraphicsWindow::requestWarpPointer() method - * VisualStudio/osg/osg.dsp, VisualStudio/osgGLUT/osgGLUT.dsp, - VisualStudio/osgUtil/osgUtil.dsp, include/osg/Statistics: Updated - MSVC Workspace files to fix build problems. + * 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. -2001-10-09 14:18 robert + * 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. - * VisualStudio/Demos/hangglide/hangglide.dsp, - VisualStudio/Demos/osgconv/osgconv.dsp, - VisualStudio/Demos/osgcube/osgcube.dsp, - VisualStudio/Demos/osgimpostor/osgimpostor.dsp, - VisualStudio/Demos/osgreflect/osgreflect.dsp, - VisualStudio/Demos/osgtexture/osgtexture.dsp, - VisualStudio/Demos/osgviews/osgviews.dsp, - VisualStudio/Demos/sgv/sgv.dsp, VisualStudio/osg/osg.dsp, - VisualStudio/osgDB/osgDB.dsp, VisualStudio/osgGLUT/osgGLUT.dsp, - VisualStudio/osgPlugins/bmp/bmp.dsp, - VisualStudio/osgPlugins/dw/dw.dsp, - VisualStudio/osgPlugins/flt/flt.dsp, - VisualStudio/osgPlugins/gif/gif.dsp, - VisualStudio/osgPlugins/jpeg/jpeg.dsp, - VisualStudio/osgPlugins/lib3ds/lib3ds.dsp, - VisualStudio/osgPlugins/lwo/lwo.dsp, - VisualStudio/osgPlugins/obj/obj.dsp, - VisualStudio/osgPlugins/osg/dot_osg.dsp, - VisualStudio/osgPlugins/osgtgz/osgtgz.dsp, - VisualStudio/osgPlugins/pic/pic.dsp, - VisualStudio/osgPlugins/png/png.dsp, - VisualStudio/osgPlugins/rgb/rgb.dsp, - VisualStudio/osgPlugins/tga/tga.dsp, - VisualStudio/osgPlugins/tgz/tgz.dsp, - VisualStudio/osgPlugins/tiff/tiff.dsp, - VisualStudio/osgPlugins/zip/zip.dsp, - VisualStudio/osgUtil/osgUtil.dsp, VisualStudio/osgWX/osgWX.dsp: - Merged Ben Discoe's clean up of the MSVC files. - -2001-10-09 11:58 robert - - * src/osgPlugins/bmp/ReaderWriterBMP.cpp: 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 - - * AUTHORS: Put the makedefs.linux back to default to optimize. - -2001-10-08 15:54 robert - - * src/osgDB/FileUtils.cpp, src/osgPlugins/flt/FltFile.cpp, - src/osgPlugins/flt/Input.cpp: 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 - - * src/osgPlugins/flt/FltFile.cpp, src/osgPlugins/flt/Input.cpp: - Added support for using osgDB::fineFile into the .flt plugin. - -2001-10-07 20:10 robert - - * src/osgPlugins/bmp/ReaderWriterBMP.cpp: 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 - - * include/osg/Math, include/osg/Statistics, - include/osgUtil/RenderBin, include/osgUtil/RenderStage, - include/osgUtil/Statistics, src/osg/Makefile, - src/osgGLUT/Viewer.cpp, src/osgPlugins/bmp/ReaderWriterBMP.cpp, - src/osgUtil/Makefile, src/osgUtil/RenderBin.cpp, - src/osgUtil/RenderStage.cpp: 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 - - * VisualStudio/osgPlugins/bmp, VisualStudio/osgPlugins/bmp/bmp.dsp, - src/osgPlugins/bmp, src/osgPlugins/bmp/Makefile, - src/osgPlugins/bmp/ReaderWriterBMP.cpp: Added bmp plugin files, - bmp plguin written by Geoff Michel - -2001-10-05 10:39 robert - - * VisualStudio/VisualStudio.dsw, src/osgPlugins/Makefile: Added bmp - osgPlugin, written by Geoff Michel. - -2001-10-05 10:38 robert - - * src/osg/Image.cpp: 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 - - * Metrowerks/Metrowerks.mcp: *** empty log message *** - -2001-10-04 16:49 robert - - * include/osgWX/Export, include/osgWX/Version, - include/osgWX/WXEventAdapter: 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 - - * include/osg/AlphaFunc, include/osg/Billboard, - include/osg/BoundingBox, include/osg/BoundingSphere, - include/osg/BoundsChecking, include/osg/Camera, - include/osg/ClipPlane, include/osg/ClippingVolume, - include/osg/ColorMask, include/osg/CullFace, include/osg/Depth, - include/osg/Drawable, include/osg/EarthSky, include/osg/Export, - include/osg/Fog, include/osg/FrameStamp, include/osg/FrontFace, - include/osg/GL, include/osg/GLExtensions, include/osg/GLU, - include/osg/GeoSet, include/osg/Geode, include/osg/Group, - include/osg/Image, include/osg/Impostor, - include/osg/ImpostorSprite, include/osg/LOD, include/osg/Light, - include/osg/LightSource, include/osg/LineSegment, - include/osg/Material, include/osg/Math, include/osg/Matrix, - include/osg/MemoryAdapter, include/osg/Node, - include/osg/NodeCallback, include/osg/NodeVisitor, - include/osg/Notify, include/osg/Object, include/osg/Plane, - include/osg/Point, include/osg/PolygonMode, - include/osg/PolygonOffset, include/osg/Quat, - include/osg/Referenced, include/osg/State, - include/osg/StateAttribute, include/osg/StateSet, - include/osg/Stencil, include/osg/Switch, include/osg/TexEnv, - include/osg/TexGen, include/osg/TexMat, include/osg/Texture, - include/osg/Timer, include/osg/Transform, - include/osg/Transparency, include/osg/Types, include/osg/Vec2, - include/osg/Vec3, include/osg/Vec4, include/osg/Version, - include/osg/Viewport, include/osg/mem_ptr, include/osg/ref_ptr, - include/osgDB/DotOsgWrapper, include/osgDB/DynamicLibrary, - include/osgDB/Export, include/osgDB/Field, - include/osgDB/FieldReader, include/osgDB/FieldReaderIterator, - include/osgDB/FileNameUtils, include/osgDB/FileUtils, - include/osgDB/Input, include/osgDB/Output, - include/osgDB/ReadFile, include/osgDB/ReaderWriter, - include/osgDB/Registry, include/osgDB/Version, - include/osgDB/WriteFile, include/osgGLUT/Export, - include/osgGLUT/GLUTEventAdapter, include/osgGLUT/Version, - include/osgGLUT/Viewer, include/osgGLUT/glut, - include/osgUtil/AppVisitor, include/osgUtil/CameraManipulator, - include/osgUtil/CullViewState, include/osgUtil/CullVisitor, - include/osgUtil/DepthSortedBin, - include/osgUtil/DisplayListVisitor, - include/osgUtil/DriveManipulator, include/osgUtil/Export, - include/osgUtil/FlightManipulator, - include/osgUtil/GUIActionAdapter, - include/osgUtil/GUIEventAdapter, include/osgUtil/GUIEventHandler, - include/osgUtil/InsertImpostorsVisitor, - include/osgUtil/IntersectVisitor, - include/osgUtil/OptimizeStateVisitor, include/osgUtil/RenderBin, - include/osgUtil/RenderGraph, include/osgUtil/RenderLeaf, - include/osgUtil/RenderStage, include/osgUtil/RenderStageLighting, - include/osgUtil/RenderToTextureStage, include/osgUtil/SceneView, - include/osgUtil/SceneViewManipulator, - include/osgUtil/SmoothingVisitor, - include/osgUtil/StateSetManipulator, include/osgUtil/Statistics, - include/osgUtil/Tesselator, include/osgUtil/TrackballManipulator, - include/osgUtil/TriStripVisitor, include/osgUtil/Version, - include/osgUtil/VisualsRequirementsVisitor: 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 - - * src/osg/StateSet.cpp: 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 - - * include/osgUtil/RenderBin, src/osgUtil/RenderBin.cpp: 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 - - * src/osgGLUT/Viewer.cpp: Added extra precision to the app,cull and - draw timings in the Viewer. - -2001-10-04 14:20 robert - - * src/osg/Camera.cpp: Removed some notify which were only used for - debugging of the camera class - and are now redudent. - -2001-10-04 14:10 robert - - * include/osg/StateAttribute: Changed the numeric ordering of - StateAttributes Types, as part of an - investigation into state sorting. - -2001-10-03 21:44 robert - - * AUTHORS, INSTALL, Make/makedefs.macosx, Make/makerules.macosx, - Makefile, include/osg/GL, include/osg/GLU, include/osg/Math, - include/osg/Notify, include/osg/Timer, include/osg/Types, - include/osg/Vec2, include/osg/Vec3, include/osg/Vec4, - include/osgGLUT/glut, src/Demos/hangglide/hangglide.cpp, - src/Demos/hangglide/hat.cpp, src/Demos/osgcube/osgcube.cpp, - src/Demos/osgreflect/osgreflect.cpp, src/Demos/sgv/sgv.cpp, - src/osg/Image.cpp, src/osg/Notify.cpp, src/osg/State.cpp, - src/osg/Texture.cpp, src/osg/Timer.cpp, - src/osgGLUT/GLUTEventAdapter.cpp, src/osgGLUT/Viewer.cpp, - src/osgUtil/SceneView.cpp, src/osgUtil/Tesselator.cpp: 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 - - * src/osgPlugins/osg/EarthSky.cpp: Added missing EarthSky.cpp file - to osg plguin. - -2001-10-02 15:59 robert - - * ChangeLog, include/osg/EarthSky, include/osg/Types, - src/Demos/hangglide/GliderManipulator.cpp, - src/Demos/osgcluster/osgcluster.cpp, - src/Demos/osgcube/osgcube.cpp, - src/Demos/osgreflect/osgreflect.cpp, src/osg/Billboard.cpp, - src/osg/EarthSky.cpp, src/osg/Matrix.cpp, - src/osgUtil/DriveManipulator.cpp, - src/osgUtil/FlightManipulator.cpp, - src/osgUtil/TrackballManipulator.cpp: 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 - - * VisualStudio/osg/osg.dsp, include/osg/NodeVisitor, - include/osgUtil/CullVisitor, src/Demos/hangglide/hangglide.cpp, - src/osg/Makefile, src/osgPlugins/osg/Makefile, - src/osgUtil/CullVisitor.cpp, src/osgUtil/SceneView.cpp: 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 - - * include/osg/StateSet, include/osgUtil/OptimizeStateVisitor, - src/osg/StateSet.cpp, src/osgUtil/OptimizeStateVisitor.cpp: 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 - - * src/osg/TexMat.cpp: 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 - - * include/osg/BoundsChecking, include/osg/ClippingVolume, - include/osg/ColorMask, include/osg/Depth, include/osg/Impostor, - include/osg/ImpostorSprite, include/osg/Material, - include/osg/MemoryAdapter, include/osg/Node, - include/osg/NodeVisitor, include/osg/Object, include/osg/Plane, - include/osg/Point, include/osg/Quat, include/osg/Referenced, - include/osg/State, include/osg/StateAttribute, - include/osg/StateSet, include/osg/Stencil, include/osg/TexGen, - include/osg/Texture, include/osg/Transform, - include/osg/Transparency, include/osg/Vec2, include/osg/Vec3, - include/osg/Vec4, include/osg/Version, include/osg/mem_ptr: Made - spelling corrections, the spelling mistakes picked up by a script - written by Neil Salter. - - script - -2001-09-30 20:41 robert - - * include/osg/Timer: 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 - - * src/Demos/hangglide/hangglide.cpp, src/osg/StateSet.cpp: 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 - - * include/osg/Matrix, src/osg/Matrix.cpp: 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 - - * include/osg/Matrix: Added operator * (Matrix &) to Matrix - (header) and - operator [] to reference matrix elements. - -2001-09-28 20:10 robert - - * include/osg/AlphaFunc, include/osg/Billboard, - include/osg/BoundingBox, include/osg/BoundingSphere, - include/osg/Camera, include/osg/Drawable, include/osg/GL, - include/osg/GLExtensions, include/osg/GeoSet, include/osg/Geode, - include/osg/Group, include/osg/Image, include/osg/LOD, - include/osg/LineSegment: 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 - - * Make/instrules, Makefile, src/osg/Makefile: Cleaned up inst rules - a bit... - -2001-09-28 16:56 robert - - * ChangeLog, include/osg/Matrix, include/osg/StateSet, - src/osg/StateSet.cpp: *** empty log message *** - -2001-09-28 12:36 robert - - * include/osgDB/DotOsgWrapper, include/osgDB/FieldReader, - include/osgDB/FieldReaderIterator, include/osgDB/FileUtils, - include/osgDB/ReadFile, include/osgDB/Registry, - include/osgDB/Version, include/osgDB/WriteFile, - include/osgGLUT/Export, include/osgGLUT/GLUTEventAdapter, - include/osgGLUT/Version, include/osgGLUT/Viewer, - include/osgUtil/CullVisitor, include/osgUtil/DisplayListVisitor, - include/osgUtil/Export, include/osgUtil/IntersectVisitor, - include/osgUtil/RenderGraph, include/osgUtil/RenderStage, - include/osgUtil/SceneView, include/osgUtil/Tesselator, - include/osgUtil/TriStripVisitor, include/osgUtil/Version, - include/osgUtil/VisualsRequirementsVisitor, include/osgWX/Export, - include/osgWX/Version, include/osgWX/WXEventAdapter: *** empty - log message *** - -2001-09-27 16:34 robert - - * ChangeLog, include/osg/Matrix, src/Demos/hangglide/tank.cpp, - src/osg/Billboard.cpp, src/osg/Matrix.cpp, src/osg/Quat.cpp, - src/osg/TexMat.cpp, src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/flt/flt2osg.cpp, src/osgPlugins/osg/Matrix.cpp, - src/osgPlugins/osg/TexMat.cpp, src/osgUtil/RenderLeaf.cpp, - src/osgUtil/RenderStage.cpp, src/osgUtil/RenderStageLighting.cpp: - *** empty log message *** - -2001-09-27 09:44 robert - - * ChangeLog, include/osg/Matrix, - src/Demos/hangglide/GliderManipulator.cpp, - src/Demos/osgcube/osgcube.cpp, src/osg/Camera.cpp, - src/osg/Matrix.cpp, src/osg/Transform.cpp, - src/osgUtil/DriveManipulator.cpp, - src/osgUtil/FlightManipulator.cpp, - src/osgUtil/TrackballManipulator.cpp: *** empty log message *** - -2001-09-26 12:23 anonymous - - * src/Demos/hangglide/base.cpp, src/Demos/hangglide/hangglide.cpp, - src/Demos/hangglide/sky.cpp, src/Demos/osgreflect/osgreflect.cpp: - *** empty log message *** - -2001-09-25 17:56 robert - - * include/osg/Matrix.new, include/osg/Matrix.old, - src/osg/Matrix.cpp.new, src/osg/Matrix.cpp.old: *** empty log - message *** - -2001-09-22 02:42 don - - * AUTHORS, ChangeLog, INSTALL, TODO, VisualStudio/osg/osg.dsp, - VisualStudio/osgUtil/osgUtil.dsp, dist/RedHatRPM/Makefile, - dist/RedHatRPM/makespec, dist/RedHatRPM/osg.spec, - doc/doc++/osg/AlphaFunc.html, doc/doc++/osg/Billboard.html, - doc/doc++/osg/Camera.html, doc/doc++/osg/ClipPlane.html, - doc/doc++/osg/ColorMask.html, doc/doc++/osg/CullFace.html, - doc/doc++/osg/Depth.html, doc/doc++/osg/Fog.html, - doc/doc++/osg/FrontFace.html, doc/doc++/osg/General.html, - doc/doc++/osg/GeoSet.html, doc/doc++/osg/Geode.html, - doc/doc++/osg/Group.html, doc/doc++/osg/HIER.html, - doc/doc++/osg/HIERjava.html, doc/doc++/osg/Image.html, - doc/doc++/osg/Impostor.html, doc/doc++/osg/ImpostorSprite.html, - doc/doc++/osg/ImpostorSpriteManager.html, doc/doc++/osg/LOD.html, - doc/doc++/osg/Light.html, doc/doc++/osg/LightSource.html, - doc/doc++/osg/LineSegment.html, doc/doc++/osg/Material.html, - doc/doc++/osg/Matrix.html, doc/doc++/osg/MatrixProduct.html, - doc/doc++/osg/MemoryAdapter.html, doc/doc++/osg/Node.html, - doc/doc++/osg/NodeAcceptOp.html, doc/doc++/osg/NodeCallback.html, - doc/doc++/osg/NodeVisitor.html, - doc/doc++/osg/NotifySeverity.html, doc/doc++/osg/Object.html, - doc/doc++/osg/Plane.html, doc/doc++/osg/Point.html, - doc/doc++/osg/PolygonMode.html, doc/doc++/osg/PolygonOffset.html, - doc/doc++/osg/Quat.html, doc/doc++/osg/Referenced.html, - doc/doc++/osg/State.html, doc/doc++/osg/StateAttribute.html, - doc/doc++/osg/StateSet.html, doc/doc++/osg/Stencil.html, - doc/doc++/osg/Switch.html, doc/doc++/osg/TexEnv.html, - doc/doc++/osg/TexGen.html, doc/doc++/osg/TexMat.html, - doc/doc++/osg/Texture.html, doc/doc++/osg/Timer.html, - doc/doc++/osg/Transform.html, doc/doc++/osg/Transparency.html, - doc/doc++/osg/Vec2.html, doc/doc++/osg/Vec3.html, - doc/doc++/osg/Vec4.html, doc/doc++/osg/Viewport.html, - doc/doc++/osg/clampArray3BetweenRange.html, - doc/doc++/osg/clampArray3GEQUAL.html, - doc/doc++/osg/clampArray3LEQUAL.html, - doc/doc++/osg/clampArray4BetweenRange.html, - doc/doc++/osg/clampArray4GEQUAL.html, - doc/doc++/osg/clampArray4LEQUAL.html, - doc/doc++/osg/clampArrayElementBetweenRange.html, - doc/doc++/osg/clampArrayElementGEQUAL.html, - doc/doc++/osg/clampArrayElementLEQUAL.html, - doc/doc++/osg/clampArrayElementsBetweenRange.html, - doc/doc++/osg/clampArrayElementsGEQUAL.html, - doc/doc++/osg/clampArrayElementsLEQUAL.html, - doc/doc++/osg/clampBetweenRange.html, - doc/doc++/osg/clampGEQUAL.html, doc/doc++/osg/clampLEQUAL.html, - doc/doc++/osg/createGeodeForImage.2.html, - doc/doc++/osg/for_each_triangle.html, doc/doc++/osg/index.html, - doc/doc++/osg/mem_ptr.html, doc/doc++/osg/notify.html, - doc/doc++/osg/osg.html, doc/doc++/osg/ref_ptr.html, - doc/doc++/osgGLUT/Viewer.html, - doc/doc++/osgUtil/CameraManipulator.html, - doc/doc++/osgUtil/CullViewState.html, - doc/doc++/osgUtil/CullVisitor.html, - doc/doc++/osgUtil/DepthSortedBin.html, - doc/doc++/osgUtil/DisplayListVisitor.html, - doc/doc++/osgUtil/DriveManipulator.html, - doc/doc++/osgUtil/FlightManipulator.html, - doc/doc++/osgUtil/GUIActionAdapter.html, - doc/doc++/osgUtil/GUIEventAdapter.html, - doc/doc++/osgUtil/GUIEventHandler.html, - doc/doc++/osgUtil/General.html, doc/doc++/osgUtil/HIER.html, - doc/doc++/osgUtil/HIERjava.html, doc/doc++/osgUtil/Hit.html, - doc/doc++/osgUtil/InsertImpostorsVisitor.html, - doc/doc++/osgUtil/IntersectState.html, - doc/doc++/osgUtil/IntersectVisitor.html, - doc/doc++/osgUtil/RegisterRenderBinProxy.html, - doc/doc++/osgUtil/RenderBin.html, - doc/doc++/osgUtil/RenderGraph.html, - doc/doc++/osgUtil/RenderLeaf.html, - doc/doc++/osgUtil/RenderStage.html, - doc/doc++/osgUtil/RenderStageLighting.html, - doc/doc++/osgUtil/RenderToTextureStage.html, - doc/doc++/osgUtil/SceneView.html, - doc/doc++/osgUtil/SceneViewManipulator.html, - doc/doc++/osgUtil/SmoothingVisitor.html, - doc/doc++/osgUtil/StateSetManipulator.html, - doc/doc++/osgUtil/Statistics.html, - doc/doc++/osgUtil/Tesselator.html, - doc/doc++/osgUtil/TrackballManipulator.html, - doc/doc++/osgUtil/TriStripVisitor.html, - doc/doc++/osgUtil/VisualsRequirementsVisitor.html, - doc/doc++/osgUtil/index.html, doc/doc++/osgUtil/osgUtil.html, - include/osg/AlphaFunc, include/osg/Billboard, include/osg/Camera, - include/osg/ClipPlane, include/osg/ColorMask, - include/osg/CullFace, include/osg/Depth, include/osg/Fog, - include/osg/FrontFace, include/osg/Geode, include/osg/Group, - include/osg/Impostor, include/osg/ImpostorSprite, - include/osg/LOD, include/osg/Light, include/osg/LightSource, - include/osg/Material, include/osg/Matrix, include/osg/Matrix.new, - include/osg/Matrix.old, include/osg/Node, - include/osg/NodeVisitor, include/osg/Object, include/osg/Point, - include/osg/PolygonMode, include/osg/PolygonOffset, - include/osg/State, include/osg/StateAttribute, - include/osg/StateSet, include/osg/Stencil, include/osg/Switch, - include/osg/TexEnv, include/osg/TexGen, include/osg/TexMat, - include/osg/Texture, include/osg/Timer, include/osg/Transform, - include/osg/Transparency, include/osg/Viewport, - include/osgGLUT/Viewer, include/osgUtil/CullVisitor, - include/osgUtil/RenderStage, include/osgUtil/SceneView, - include/osgUtil/Tesselator, - include/osgUtil/VisualsRequirementsVisitor, index.html, - src/Demos/Makefile, src/Demos/osgcluster/osgcluster.cpp, - src/Demos/osgcube/osgcube.cpp, - src/Demos/osgreflect/osgreflect.cpp, src/Demos/sgv/sgv.cpp, - src/osg/Billboard.cpp, src/osg/Camera.cpp, src/osg/ClipPlane.cpp, - src/osg/Geode.cpp, src/osg/Group.cpp, src/osg/ImpostorSprite.cpp, - src/osg/Makefile, src/osg/Matrix.cpp, src/osg/Matrix.cpp.new, - src/osg/Node.cpp, src/osg/NodeVisitor.cpp, src/osg/Point.cpp, - src/osg/State.cpp, src/osg/StateSet.cpp, src/osg/Texture.cpp, - src/osg/Timer.cpp, src/osgGLUT/Viewer.cpp, - src/osgPlugins/osg/GeoSet.cpp, src/osgPlugins/osg/StateSet.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/Makefile, - src/osgUtil/RenderStage.cpp, - src/osgUtil/RenderToTextureStage.cpp, src/osgUtil/SceneView.cpp: - Synch with 20010921 - -2001-09-22 02:04 don - - * lib/.README, lib/README, lib/osgPlugins/.README, - lib/osgPlugins/README: Added files to keep cvs from removing - empty directories lib and lib/osgPlugins - -2001-09-20 01:07 don - - * lib, lib/README, lib/osgPlugins, lib/osgPlugins/README: 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 - - * src/Demos/hangglide/Makedepend, src/Demos/osgcluster/Makedepend, - src/Demos/osgconv/Makedepend, src/Demos/osgcube/Makedepend, - src/Demos/osgimpostor/Makedepend, - src/Demos/osgreflect/Makedepend, src/Demos/osgtexture/Makedepend, - src/Demos/osgviews/Makedepend, src/Demos/sgv/Makedepend, - src/Demos/wxsgv/Makedepend, src/osg/Makedepend, - src/osgDB/Makedepend, src/osgGLUT/Makedepend, - src/osgPlugins/dw/Makedepend, src/osgPlugins/flt/Makedepend, - src/osgPlugins/gif/Makedepend, src/osgPlugins/jpeg/Makedepend, - src/osgPlugins/lib3ds/Makedepend, src/osgPlugins/lwo/Makedepend, - src/osgPlugins/obj/Makedepend, src/osgPlugins/osg/Makedepend, - src/osgPlugins/osgtgz/Makedepend, src/osgPlugins/pfb/Makedepend, - src/osgPlugins/pic/Makedepend, src/osgPlugins/png/Makedepend, - src/osgPlugins/rgb/Makedepend, src/osgPlugins/tga/Makedepend, - src/osgPlugins/tgz/Makedepend, src/osgPlugins/tiff/Makedepend, - src/osgPlugins/zip/Makedepend, src/osgUtil/Makedepend, - src/osgWX/Makedepend: Removed Makedepend files - -2001-09-20 00:48 don - - * Metrowerks, Metrowerks/Metrowerks.mcp, - Metrowerks/OpenSceneGraph.mcp, doc/MindMaps/DesignPatterns.mmp, - doc/MindMaps/DesignPatterns/DesignPatterns.gif, - doc/MindMaps/Mission.mmp, doc/MindMaps/Mission/Mission.gif, - doc/OpenSceneGraphBanner_Distribution.jpg, doc/UML, - doc/UML/osg.png, doc/UML/osgutils.png, - doc/doc++/osg/ClassGraph.class, - doc/doc++/osg/ClassGraphPanel.class, - doc/doc++/osg/ClassLayout.class, - doc/doc++/osg/NavigatorButton.class, doc/doc++/osg/icon1.gif, - doc/doc++/osg/icon2.gif, doc/doc++/osgDB/ClassGraph.class, - doc/doc++/osgDB/ClassGraphPanel.class, - doc/doc++/osgDB/ClassLayout.class, - doc/doc++/osgDB/NavigatorButton.class, doc/doc++/osgDB/icon1.gif, - doc/doc++/osgDB/icon2.gif, doc/doc++/osgDB/osgDB.html, - doc/doc++/osgGLUT/ClassGraph.class, - doc/doc++/osgGLUT/ClassGraphPanel.class, - doc/doc++/osgGLUT/ClassLayout.class, - doc/doc++/osgGLUT/NavigatorButton.class, - doc/doc++/osgGLUT/icon1.gif, doc/doc++/osgGLUT/icon2.gif, - doc/doc++/osgUtil/ClassGraph.class, - doc/doc++/osgUtil/ClassGraphPanel.class, - doc/doc++/osgUtil/ClassLayout.class, - doc/doc++/osgUtil/NavigatorButton.class, - doc/doc++/osgUtil/icon1.gif, doc/doc++/osgUtil/icon2.gif, - doc/doc++/osgWX/ClassGraph.class, - doc/doc++/osgWX/ClassGraphPanel.class, - doc/doc++/osgWX/ClassLayout.class, - doc/doc++/osgWX/NavigatorButton.class, doc/doc++/osgWX/icon1.gif, - doc/doc++/osgWX/icon2.gif, doc/doc++/osgWX/osgWX.html, - src/Demos/wxsgv/wxsgv.wdr: Addec binary files with -kb - -2001-09-20 00:47 don - - * Metrowerks, doc/MindMaps/DesignPatterns.mmp, - doc/MindMaps/DesignPatterns/DesignPatterns.gif, - doc/MindMaps/Mission.mmp, doc/MindMaps/Mission/Mission.gif, - doc/OpenSceneGraphBanner_Distribution.jpg, doc/UML, - doc/doc++/osg/ClassGraph.class, - doc/doc++/osg/ClassGraphPanel.class, - doc/doc++/osg/ClassLayout.class, - doc/doc++/osg/NavigatorButton.class, doc/doc++/osg/icon1.gif, - doc/doc++/osg/icon2.gif, doc/doc++/osgDB/ClassGraph.class, - doc/doc++/osgDB/ClassGraphPanel.class, - doc/doc++/osgDB/ClassLayout.class, - doc/doc++/osgDB/NavigatorButton.class, doc/doc++/osgDB/icon1.gif, - doc/doc++/osgDB/icon2.gif, doc/doc++/osgDB/osgDB.html, - doc/doc++/osgGLUT/ClassGraph.class, - doc/doc++/osgGLUT/ClassGraphPanel.class, - doc/doc++/osgGLUT/ClassLayout.class, - doc/doc++/osgGLUT/NavigatorButton.class, - doc/doc++/osgGLUT/icon1.gif, doc/doc++/osgGLUT/icon2.gif, - doc/doc++/osgUtil/ClassGraph.class, - doc/doc++/osgUtil/ClassGraphPanel.class, - doc/doc++/osgUtil/ClassLayout.class, - doc/doc++/osgUtil/NavigatorButton.class, - doc/doc++/osgUtil/icon1.gif, doc/doc++/osgUtil/icon2.gif, - doc/doc++/osgWX/ClassGraph.class, - doc/doc++/osgWX/ClassGraphPanel.class, - doc/doc++/osgWX/ClassLayout.class, - doc/doc++/osgWX/NavigatorButton.class, doc/doc++/osgWX/icon1.gif, - doc/doc++/osgWX/icon2.gif, doc/doc++/osgWX/osgWX.html, - src/Demos/wxsgv/wxsgv.wdr: Removed should be binary entries. Well - r-add with -kb - -2001-09-20 00:07 don - - * src/Demos/wxsgv/icons/camera.ico, - src/Demos/wxsgv/icons/engine.ico, src/Demos/wxsgv/icons/geom.ico, - src/Demos/wxsgv/icons/group.ico, src/Demos/wxsgv/icons/light.ico, - src/Demos/wxsgv/icons/lod.ico, src/Demos/wxsgv/icons/mesh.ico, - src/Demos/wxsgv/icons/top.ico, src/Demos/wxsgv/icons/unknown.ico, - src/Demos/wxsgv/icons/wxsgv.ico, src/Demos/wxsgv/icons/xform.ico: - Added ico files with -kb flag - -2001-09-20 00:06 don - - * src/Demos/wxsgv/icons/camera.ico, - src/Demos/wxsgv/icons/engine.ico, src/Demos/wxsgv/icons/geom.ico, - src/Demos/wxsgv/icons/group.ico, src/Demos/wxsgv/icons/icon1.xpm, - src/Demos/wxsgv/icons/icon10.xpm, - src/Demos/wxsgv/icons/icon2.xpm, src/Demos/wxsgv/icons/icon3.xpm, - src/Demos/wxsgv/icons/icon4.xpm, src/Demos/wxsgv/icons/icon5.xpm, - src/Demos/wxsgv/icons/icon6.xpm, src/Demos/wxsgv/icons/icon7.xpm, - src/Demos/wxsgv/icons/icon8.xpm, src/Demos/wxsgv/icons/icon9.xpm, - src/Demos/wxsgv/icons/light.ico, src/Demos/wxsgv/icons/lod.ico, - src/Demos/wxsgv/icons/mesh.ico, src/Demos/wxsgv/icons/top.ico, - src/Demos/wxsgv/icons/unknown.ico, - src/Demos/wxsgv/icons/wxsgv.ico, src/Demos/wxsgv/icons/wxsgv.xpm, - src/Demos/wxsgv/icons/xform.ico: Trying to clean up binary - commits - -2001-09-19 23:56 don - - * src/Demos/wxsgv/icons, src/Demos/wxsgv/icons/camera.ico, - src/Demos/wxsgv/icons/engine.ico, src/Demos/wxsgv/icons/geom.ico, - src/Demos/wxsgv/icons/group.ico, src/Demos/wxsgv/icons/light.ico, - src/Demos/wxsgv/icons/lod.ico, src/Demos/wxsgv/icons/mesh.ico, - src/Demos/wxsgv/icons/top.ico, src/Demos/wxsgv/icons/unknown.ico, - src/Demos/wxsgv/icons/wxsgv.ico, src/Demos/wxsgv/icons/xform.ico: - Added these with the -kb flag now. - -2001-09-19 23:55 don - - * src/Demos/wxsgv/icons: Cleaning up binary commits - oops - -2001-09-19 23:52 don - - * doc/doc++/osg/FrameStamp.html, doc/doc++/osg/MatrixNew.html, - doc/doc++/osg/MatrixNewProduct.html, - doc/doc++/osg/MatrixOld.html, include/osg/FrameStamp, - src/osg/FrameStamp.cpp: 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 - - * doc/doc++/osg/COMPARE_StateAttribute_Parameter.html, - doc/doc++/osg/COMPARE_StateAttribute_Types.html, - doc/doc++/osg/METANODE.html, doc/doc++/osg/METAOBJ.html, - doc/doc++/osg/META_Node.html, doc/doc++/osg/META_Object.html, - doc/doc++/osg/META_StateAttribute.html, - doc/doc++/osgUtil/OptimizeStateVisitor.html, - include/osgUtil/OptimizeStateVisitor, - src/osgUtil/OptimizeStateVisitor.cpp: 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 - - * Metrowerks/Metrowerks.mcp, doc/doc++/osg/MatrixProduct.html, - doc/doc++/osg/NodeCallback.html, doc/doc++/osg/Viewport.html, - doc/doc++/osgUtil/AppVisitor.html, include/osg/Matrix.new, - include/osg/Matrix.old, include/osg/NodeCallback, - include/osg/Viewport, include/osgUtil/AppVisitor, - src/Demos/osgcluster, src/Demos/osgcluster/Makedepend, - src/Demos/osgcluster/Makefile, src/Demos/osgcluster/README, - src/Demos/osgcluster/broadcaster.cpp, - src/Demos/osgcluster/broadcaster.h, - src/Demos/osgcluster/osgcluster.cpp, - src/Demos/osgcluster/receiver.cpp, - src/Demos/osgcluster/receiver.h, src/osg/Matrix.cpp.new, - src/osg/Matrix.cpp.old, src/osg/Viewport.cpp, - src/osgUtil/AppVisitor.cpp: 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 - - * AUTHORS, src/osgPlugins/lib3ds/atmosphere.cpp, - src/osgPlugins/lib3ds/atmosphere.h, - src/osgPlugins/lib3ds/background.cpp, - src/osgPlugins/lib3ds/background.h, - src/osgPlugins/lib3ds/camera.cpp, src/osgPlugins/lib3ds/camera.h, - src/osgPlugins/lib3ds/chunk.cpp, src/osgPlugins/lib3ds/chunk.h, - src/osgPlugins/lib3ds/chunktable.h, - src/osgPlugins/lib3ds/ease.cpp, src/osgPlugins/lib3ds/ease.h, - src/osgPlugins/lib3ds/file.cpp, src/osgPlugins/lib3ds/file.h, - src/osgPlugins/lib3ds/lib3ds_float.cpp, - src/osgPlugins/lib3ds/lib3ds_float.h, - src/osgPlugins/lib3ds/light.cpp, src/osgPlugins/lib3ds/light.h, - src/osgPlugins/lib3ds/material.cpp, - src/osgPlugins/lib3ds/material.h, - src/osgPlugins/lib3ds/matrix.cpp, src/osgPlugins/lib3ds/matrix.h, - src/osgPlugins/lib3ds/mesh.cpp, src/osgPlugins/lib3ds/mesh.h, - src/osgPlugins/lib3ds/node.cpp, src/osgPlugins/lib3ds/node.h, - src/osgPlugins/lib3ds/quat.cpp, src/osgPlugins/lib3ds/quat.h, - src/osgPlugins/lib3ds/readwrite.cpp, - src/osgPlugins/lib3ds/readwrite.h, - src/osgPlugins/lib3ds/shadow.cpp, src/osgPlugins/lib3ds/shadow.h, - src/osgPlugins/lib3ds/tcb.cpp, src/osgPlugins/lib3ds/tcb.h, - src/osgPlugins/lib3ds/tracks.cpp, src/osgPlugins/lib3ds/tracks.h, - src/osgPlugins/lib3ds/types.h, src/osgPlugins/lib3ds/vector.cpp, - src/osgPlugins/lib3ds/vector.h, - src/osgPlugins/lib3ds/viewport.cpp, - src/osgPlugins/lib3ds/viewport.h: 0.8.42 sync - -2001-09-19 21:51 don - - * include/osg/DCS, include/osg/DynamicLibrary, - include/osg/ExtensionSupported, include/osg/Field, - include/osg/FieldReader, include/osg/FieldReaderIterator, - include/osg/FileNameUtils, include/osg/GeoState, - include/osg/Input, include/osg/Lighting, include/osg/OSG, - include/osg/Output, include/osg/Registry, include/osg/Scene, - include/osg/Seg, include/osg/Sequence, - include/osgUtil/RenderVisitor, src/osg/DCS.cpp, - src/osg/DynamicLibrary.cpp, src/osg/ExtensionSupported.cpp, - src/osg/Field.cpp, src/osg/FieldReader.cpp, - src/osg/FieldReaderIterator.cpp, src/osg/FileNameUtils.cpp, - src/osg/GeoState.cpp, src/osg/Input.cpp, src/osg/OSG.cpp, - src/osg/Output.cpp, src/osg/ReaderWriterOSG.cpp, - src/osg/ReaderWriterRGB.cpp, src/osg/Registry.cpp, - src/osg/Scene.cpp, src/osg/Seg.cpp, src/osg/Sequence.cpp, - src/osgPlugins/flt/export.h, src/osgPlugins/osgtgz/osgtgz.cpp, - src/osgUtil/RenderVisitor.cpp: Removed files.... synching witn - 0.8.42 - -2001-09-19 21:41 don - - * VisualStudio/Demos/cube, VisualStudio/osgPlugins/fly, - dist/.osg.spec.swp, doc/Doxyfile, doc/osg, doc/osgGLUT, - doc/osgUtil, src/Demos/cube, src/osgPlugins/fly, - src/osgPlugins/pfb/osg2pf, src/osgPlugins/pfb/pf2osg: And yet - more clean up synch with 0.8.42 - -2001-09-19 21:19 don - - * INSTALL, Make/makedefs.freebsd, Make/makerules.freebsd, - doc/OpenSceneGraphBanner_Distribution.jpg, doc/doc++, - doc/doc++/osg, doc/doc++/osg/AlphaFunc.html, - doc/doc++/osg/Billboard.html, doc/doc++/osg/BoundingBox.html, - doc/doc++/osg/BoundingSphere.html, doc/doc++/osg/Camera.html, - doc/doc++/osg/ClassGraph.class, - doc/doc++/osg/ClassGraphPanel.class, - doc/doc++/osg/ClassLayout.class, doc/doc++/osg/ClipPlane.html, - doc/doc++/osg/ClippingVolume.html, doc/doc++/osg/ColorMask.html, - doc/doc++/osg/CullFace.html, doc/doc++/osg/Depth.html, - doc/doc++/osg/Drawable.html, doc/doc++/osg/Fog.html, - doc/doc++/osg/FrontFace.html, doc/doc++/osg/General.html, - doc/doc++/osg/GeoSet.html, doc/doc++/osg/Geode.html, - doc/doc++/osg/Group.html, doc/doc++/osg/HIER.html, - doc/doc++/osg/HIERjava.html, doc/doc++/osg/Image.html, - doc/doc++/osg/Impostor.html, doc/doc++/osg/ImpostorSprite.html, - doc/doc++/osg/ImpostorSpriteManager.html, doc/doc++/osg/LOD.html, - doc/doc++/osg/Light.html, doc/doc++/osg/LightSource.html, - doc/doc++/osg/LineSegment.html, doc/doc++/osg/Material.html, - doc/doc++/osg/Matrix.html, doc/doc++/osg/MemoryAdapter.html, - doc/doc++/osg/NavigatorButton.class, doc/doc++/osg/Node.html, - doc/doc++/osg/NodeAcceptOp.html, doc/doc++/osg/NodePath.html, - doc/doc++/osg/NodeVisitor.html, - doc/doc++/osg/NotifySeverity.html, - doc/doc++/osg/OSG_GL_DEBUG.html, doc/doc++/osg/Object.html, - doc/doc++/osg/Plane.html, doc/doc++/osg/Point.html, - doc/doc++/osg/PolygonMode.html, doc/doc++/osg/PolygonOffset.html, - doc/doc++/osg/Quat.html, doc/doc++/osg/Referenced.html, - doc/doc++/osg/State.html, doc/doc++/osg/StateAttribute.html, - doc/doc++/osg/StateSet.html, doc/doc++/osg/Stencil.html, - doc/doc++/osg/Switch.html, doc/doc++/osg/TexEnv.html, - doc/doc++/osg/TexGen.html, doc/doc++/osg/TexMat.html, - doc/doc++/osg/Texture.html, doc/doc++/osg/Timer.html, - doc/doc++/osg/Transform.html, doc/doc++/osg/Transparency.html, - doc/doc++/osg/Vec2.html, doc/doc++/osg/Vec3.html, - doc/doc++/osg/Vec4.html, - doc/doc++/osg/clampArray3BetweenRange.html, - doc/doc++/osg/clampArray3GEQUAL.html, - doc/doc++/osg/clampArray3LEQUAL.html, - doc/doc++/osg/clampArray4BetweenRange.html, - doc/doc++/osg/clampArray4GEQUAL.html, - doc/doc++/osg/clampArray4LEQUAL.html, - doc/doc++/osg/clampArrayElementBetweenRange.html, - doc/doc++/osg/clampArrayElementGEQUAL.html, - doc/doc++/osg/clampArrayElementLEQUAL.html, - doc/doc++/osg/clampArrayElementsBetweenRange.html, - doc/doc++/osg/clampArrayElementsGEQUAL.html, - doc/doc++/osg/clampArrayElementsLEQUAL.html, - doc/doc++/osg/clampBetweenRange.html, - doc/doc++/osg/clampGEQUAL.html, doc/doc++/osg/clampLEQUAL.html, - doc/doc++/osg/createGeodeForImage.2.html, - doc/doc++/osg/createGeodeForImage.html, - doc/doc++/osg/for_each_triangle.html, - doc/doc++/osg/g_NotifyLevel.html, - doc/doc++/osg/getGLExtensionFuncPtr.html, - doc/doc++/osg/getNotifyLevel.html, doc/doc++/osg/icon1.gif, - doc/doc++/osg/icon2.gif, doc/doc++/osg/index.html, - doc/doc++/osg/initNotifyLevel.html, - doc/doc++/osg/isGLExtensionSupported.html, - doc/doc++/osg/mem_ptr.html, doc/doc++/osg/notify.html, - doc/doc++/osg/osg.html, doc/doc++/osg/osgGetLibraryName.html, - doc/doc++/osg/osgGetVersion.html, doc/doc++/osg/ref_ptr.html, - doc/doc++/osg/setNotifyLevel.html, doc/doc++/osgDB, - doc/doc++/osgDB/ClassGraph.class, - doc/doc++/osgDB/ClassGraphPanel.class, - doc/doc++/osgDB/ClassLayout.class, - doc/doc++/osgDB/DirectoryContents.html, - doc/doc++/osgDB/DotOsgWrapper.html, - doc/doc++/osgDB/DynamicLibrary.html, doc/doc++/osgDB/Field.html, - doc/doc++/osgDB/FieldReader.html, - doc/doc++/osgDB/FieldReaderIterator.html, - doc/doc++/osgDB/General.html, doc/doc++/osgDB/HIER.html, - doc/doc++/osgDB/HIERjava.html, doc/doc++/osgDB/Input.html, - doc/doc++/osgDB/NavigatorButton.class, - doc/doc++/osgDB/Output.html, doc/doc++/osgDB/ReaderWriter.html, - doc/doc++/osgDB/RegisterDotOsgWrapperProxy.html, - doc/doc++/osgDB/RegisterReaderWriterProxy.html, - doc/doc++/osgDB/Registry.html, doc/doc++/osgDB/findDSO.html, - doc/doc++/osgDB/findFile.html, - doc/doc++/osgDB/findFileInDirectory.html, - doc/doc++/osgDB/getDirectoryContents.html, - doc/doc++/osgDB/getFilePath.html, doc/doc++/osgDB/icon1.gif, - doc/doc++/osgDB/icon2.gif, doc/doc++/osgDB/index.html, - doc/doc++/osgDB/initFilePath.html, doc/doc++/osgDB/osgDB.html, - doc/doc++/osgDB/osgDBGetLibraryName.html, - doc/doc++/osgDB/osgDBGetVersion.html, - doc/doc++/osgDB/readImageFile.html, - doc/doc++/osgDB/readNodeFile.html, - doc/doc++/osgDB/readObjectFile.html, - doc/doc++/osgDB/setFilePath.html, - doc/doc++/osgDB/writeImageFile.html, - doc/doc++/osgDB/writeNodeFile.html, - doc/doc++/osgDB/writeObjectFile.html, doc/doc++/osgGLUT, - doc/doc++/osgGLUT/ClassGraph.class, - doc/doc++/osgGLUT/ClassGraphPanel.class, - doc/doc++/osgGLUT/ClassLayout.class, - doc/doc++/osgGLUT/GLUTEventAdapter.html, - doc/doc++/osgGLUT/General.html, doc/doc++/osgGLUT/HIER.html, - doc/doc++/osgGLUT/HIERjava.html, - doc/doc++/osgGLUT/NavigatorButton.class, - doc/doc++/osgGLUT/Viewer.html, doc/doc++/osgGLUT/icon1.gif, - doc/doc++/osgGLUT/icon2.gif, doc/doc++/osgGLUT/index.html, - doc/doc++/osgGLUT/osgGLUT.html, - doc/doc++/osgGLUT/osgGLUTGetLibraryName.html, - doc/doc++/osgGLUT/osgGLUTGetVersion.html, doc/doc++/osgUtil, - doc/doc++/osgUtil/BufferRequirementsVisitor.html, - doc/doc++/osgUtil/CameraManipulator.html, - doc/doc++/osgUtil/ClassGraph.class, - doc/doc++/osgUtil/ClassGraphPanel.class, - doc/doc++/osgUtil/ClassLayout.class, - doc/doc++/osgUtil/CullViewState.html, - doc/doc++/osgUtil/CullVisitor.html, - doc/doc++/osgUtil/DepthSortedBin.html, - doc/doc++/osgUtil/DisplayListVisitor.html, - doc/doc++/osgUtil/DriveManipulator.html, - doc/doc++/osgUtil/FlightManipulator.html, - doc/doc++/osgUtil/GUIActionAdapter.html, - doc/doc++/osgUtil/GUIEventAdapter.html, - doc/doc++/osgUtil/GUIEventHandler.html, - doc/doc++/osgUtil/General.html, doc/doc++/osgUtil/HIER.html, - doc/doc++/osgUtil/HIERjava.html, doc/doc++/osgUtil/Hit.html, - doc/doc++/osgUtil/InsertImpostorsVisitor.html, - doc/doc++/osgUtil/IntersectState.html, - doc/doc++/osgUtil/IntersectVisitor.html, - doc/doc++/osgUtil/NavigatorButton.class, - doc/doc++/osgUtil/OptimizeVisitor.html, - doc/doc++/osgUtil/RegisterRenderBinProxy.html, - doc/doc++/osgUtil/RenderBin.html, - doc/doc++/osgUtil/RenderGraph.html, - doc/doc++/osgUtil/RenderLeaf.html, - doc/doc++/osgUtil/RenderStage.html, - doc/doc++/osgUtil/RenderStageLighting.html, - doc/doc++/osgUtil/RenderToTextureStage.html, - doc/doc++/osgUtil/SceneView.html, - doc/doc++/osgUtil/SceneViewManipulator.html, - doc/doc++/osgUtil/SmoothingVisitor.html, - doc/doc++/osgUtil/StateSetManipulator.html, - doc/doc++/osgUtil/Statistics.html, - doc/doc++/osgUtil/Tesselator.html, - doc/doc++/osgUtil/TrackballManipulator.html, - doc/doc++/osgUtil/TriStripVisitor.html, - doc/doc++/osgUtil/VisualsRequirementsVisitor.html, - doc/doc++/osgUtil/icon1.gif, doc/doc++/osgUtil/icon2.gif, - doc/doc++/osgUtil/index.html, doc/doc++/osgUtil/osgUtil.html, - doc/doc++/osgUtil/osgUtilGetLibraryName.html, - doc/doc++/osgUtil/osgUtilGetVersion.html, doc/doc++/osgWX, - doc/doc++/osgWX/ClassGraph.class, - doc/doc++/osgWX/ClassGraphPanel.class, - doc/doc++/osgWX/ClassLayout.class, doc/doc++/osgWX/General.html, - doc/doc++/osgWX/HIER.html, doc/doc++/osgWX/HIERjava.html, - doc/doc++/osgWX/NavigatorButton.class, - doc/doc++/osgWX/WXEventAdapter.html, doc/doc++/osgWX/icon1.gif, - doc/doc++/osgWX/icon2.gif, doc/doc++/osgWX/index.html, - doc/doc++/osgWX/osgWX.html, - doc/doc++/osgWX/osgWXGetLibraryName.html, - doc/doc++/osgWX/osgWXGetVersion.html, doc/sgv.html, - include/osg/BoundsChecking, include/osg/ClipPlane, - include/osg/ClippingVolume, include/osg/ColorMask, - include/osg/Depth, include/osg/Drawable, include/osg/FrontFace, - include/osg/GLExtensions, include/osg/Impostor, - include/osg/ImpostorSprite, include/osg/LineSegment, - include/osg/MemoryAdapter, include/osg/Plane, - include/osg/PolygonMode, include/osg/StateAttribute, - include/osg/StateSet, include/osg/Stencil, include/osg/Transform, - include/osg/mem_ptr, include/osg/ref_ptr, - include/osgUtil/CullViewState, include/osgUtil/CullVisitor, - include/osgUtil/DepthSortedBin, include/osgUtil/GUIEventHandler, - include/osgUtil/InsertImpostorsVisitor, - include/osgUtil/RenderBin, include/osgUtil/RenderGraph, - include/osgUtil/RenderLeaf, include/osgUtil/RenderStage, - include/osgUtil/RenderStageLighting, - include/osgUtil/RenderToTextureStage, - include/osgUtil/SceneViewManipulator, - include/osgUtil/SmoothingVisitor, - include/osgUtil/StateSetManipulator, include/osgUtil/Statistics, - include/osgUtil/Tesselator, include/osgUtil/TriStripVisitor, - include/osgUtil/VisualsRequirementsVisitor, src/Demos/osgreflect, - src/Demos/osgreflect/Makedepend, src/Demos/osgreflect/Makefile, - src/Demos/osgreflect/osgreflect.cpp, src/Demos/sgv/README, - src/osg/ClipPlane.cpp, src/osg/ColorMask.cpp, src/osg/Depth.cpp, - src/osg/Drawable.cpp, src/osg/FrontFace.cpp, - src/osg/GLExtensions.cpp, src/osg/Impostor.cpp, - src/osg/ImpostorSprite.cpp, src/osg/LineSegment.cpp, - src/osg/Makedepend, src/osg/PolygonMode.cpp, src/osg/State.cpp, - src/osg/StateSet.cpp, src/osg/Stencil.cpp, src/osg/Transform.cpp, - src/osgPlugins/flt/OldMaterialPaletteRecord.cpp, - src/osgPlugins/flt/OldMaterialPaletteRecord.h, - src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp, - src/osgPlugins/png/new_ReaderWriterPNG.cpp, - src/osgPlugins/png/prev_ReaderWriterPNG.cpp, - src/osgUtil/CullViewState.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/DepthSortedBin.cpp, - src/osgUtil/InsertImpostorsVisitor.cpp, - src/osgUtil/NvTriStripObjects.cpp, - src/osgUtil/NvTriStripObjects.h, src/osgUtil/RenderBin.cpp, - src/osgUtil/RenderGraph.cpp, src/osgUtil/RenderLeaf.cpp, - src/osgUtil/RenderStage.cpp, src/osgUtil/RenderStageLighting.cpp, - src/osgUtil/RenderToTextureStage.cpp, - src/osgUtil/SceneViewManipulator.cpp, - src/osgUtil/SmoothingVisitor.cpp, - src/osgUtil/StateSetManipulator.cpp, src/osgUtil/Tesselator.cpp, - src/osgUtil/TriStripVisitor.cpp, - src/osgUtil/VisualsRequirementsVisitor.cpp: More clean up for - synch with 0.8.42 - -2001-09-19 21:10 don - - * src/Demos/osgtexture, src/Demos/osgtexture/Makedepend, - src/Demos/osgtexture/Makefile, - src/Demos/osgtexture/osgtexture.cpp: Added acompole more - -2001-09-19 21:08 don - - * AUTHORS, ChangeLog, FAQ, Make/makedefs.irix.nonstd, - Make/makedefs.irix.std, Make/makedefs.linux, Make/makerules.irix, - Make/makerules.linux, Makefile, Metrowerks, - Metrowerks/OpenSceneGraph.mcp, NEWS, README, TODO, - VisualStudio/Demos/hangglide, - VisualStudio/Demos/hangglide/hangglide.dsp, - VisualStudio/Demos/osgconv, - VisualStudio/Demos/osgconv/osgconv.dsp, - VisualStudio/Demos/osgcube, - VisualStudio/Demos/osgcube/osgcube.dsp, - VisualStudio/Demos/osgimpostor, - VisualStudio/Demos/osgimpostor/osgimpostor.dsp, - VisualStudio/Demos/osgreflect, - VisualStudio/Demos/osgreflect/osgreflect.dsp, - VisualStudio/Demos/osgtexture, - VisualStudio/Demos/osgtexture/osgtexture.dsp, - VisualStudio/Demos/osgviews, - VisualStudio/Demos/osgviews/osgviews.dsp, - VisualStudio/Demos/sgv/sgv.dsp, VisualStudio/Demos/wxsgv, - VisualStudio/Demos/wxsgv/wxsgv.dsp, - VisualStudio/VisualStudio.dsw, VisualStudio/osg/osg.dsp, - VisualStudio/osgDB, VisualStudio/osgDB/osgDB.dsp, - VisualStudio/osgGLUT/osgGLUT.dsp, VisualStudio/osgPlugins/dw, - VisualStudio/osgPlugins/dw/dw.dsp, - VisualStudio/osgPlugins/flt/flt.dsp, - VisualStudio/osgPlugins/gif/gif.dsp, - VisualStudio/osgPlugins/jpeg/jpeg.dsp, - VisualStudio/osgPlugins/lib3ds, - VisualStudio/osgPlugins/lib3ds/lib3ds.dsp, - VisualStudio/osgPlugins/lwo, VisualStudio/osgPlugins/lwo/lwo.dsp, - VisualStudio/osgPlugins/obj, VisualStudio/osgPlugins/obj/obj.dsp, - VisualStudio/osgPlugins/osg, - VisualStudio/osgPlugins/osg/dot_osg.dsp, - VisualStudio/osgPlugins/osgtgz, - VisualStudio/osgPlugins/osgtgz/osgtgz.dsp, - VisualStudio/osgPlugins/pic/pic.dsp, - VisualStudio/osgPlugins/png/png.dsp, VisualStudio/osgPlugins/rgb, - VisualStudio/osgPlugins/rgb/rgb.dsp, - VisualStudio/osgPlugins/tga/tga.dsp, VisualStudio/osgPlugins/tgz, - VisualStudio/osgPlugins/tgz/tgz.dsp, - VisualStudio/osgPlugins/tiff/tiff.dsp, - VisualStudio/osgPlugins/zip, VisualStudio/osgPlugins/zip/zip.dsp, - VisualStudio/osgUtil/osgUtil.dsp, VisualStudio/osgWX, - VisualStudio/osgWX/osgWX.dsp, dist/RedHatRPM/osg.spec, - doc/Doxyfiles, doc/Doxyfiles/all_Doxyfile, - doc/Doxyfiles/auto_Doxyfile, doc/Doxyfiles/auto_Mainpage, - doc/Doxyfiles/core_Doxyfile, doc/Doxyfiles/custom_Footer.html, - doc/index.html, include/osg/AlphaFunc, include/osg/Billboard, - include/osg/BoundingBox, include/osg/BoundingSphere, - include/osg/Camera, include/osg/CullFace, include/osg/Export, - include/osg/Fog, include/osg/GL, include/osg/GeoSet, - include/osg/Geode, include/osg/Group, include/osg/Image, - include/osg/LOD, include/osg/Light, include/osg/LightSource, - include/osg/Material, include/osg/Matrix, include/osg/Node, - include/osg/NodeVisitor, include/osg/Notify, include/osg/Object, - include/osg/Point, include/osg/PolygonOffset, include/osg/Quat, - include/osg/Referenced, include/osg/State, include/osg/Switch, - include/osg/TexEnv, include/osg/TexGen, include/osg/TexMat, - include/osg/Texture, include/osg/Timer, include/osg/Transparency, - include/osg/Types, include/osg/Vec2, include/osg/Vec3, - include/osg/Vec4, include/osgDB, include/osgDB/DotOsgWrapper, - include/osgDB/DynamicLibrary, include/osgDB/Export, - include/osgDB/Field, include/osgDB/FieldReader, - include/osgDB/FieldReaderIterator, include/osgDB/FileNameUtils, - include/osgDB/FileUtils, include/osgDB/Input, - include/osgDB/Output, include/osgDB/ReadFile, - include/osgDB/ReaderWriter, include/osgDB/Registry, - include/osgDB/Version, include/osgDB/WriteFile, - include/osgGLUT/GLUTEventAdapter, include/osgGLUT/Version, - include/osgGLUT/Viewer, include/osgUtil/CameraManipulator, - include/osgUtil/DisplayListVisitor, - include/osgUtil/DriveManipulator, - include/osgUtil/FlightManipulator, - include/osgUtil/GUIActionAdapter, - include/osgUtil/GUIEventAdapter, - include/osgUtil/IntersectVisitor, include/osgUtil/SceneView, - include/osgUtil/TrackballManipulator, include/osgWX, - include/osgWX/Export, include/osgWX/Version, - include/osgWX/WXEventAdapter, index.html, src/Demos/Makefile, - src/Demos/hangglide, src/Demos/hangglide/GliderManipulator.cpp, - src/Demos/hangglide/GliderManipulator.h, - src/Demos/hangglide/Makedepend, src/Demos/hangglide/Makefile, - src/Demos/hangglide/README, - src/Demos/hangglide/ReaderWriterFLY.cpp, - src/Demos/hangglide/base.cpp, src/Demos/hangglide/hangglide.cpp, - src/Demos/hangglide/hat.cpp, src/Demos/hangglide/hat.h, - src/Demos/hangglide/sky.cpp, src/Demos/hangglide/tank.cpp, - src/Demos/hangglide/terrain.cpp, - src/Demos/hangglide/terrain_data.h, - src/Demos/hangglide/trees.cpp, src/Demos/osgconv, - src/Demos/osgconv/Makedepend, src/Demos/osgconv/Makefile, - src/Demos/osgconv/osgconv.cpp, src/Demos/osgcube, - src/Demos/osgcube/Makedepend, src/Demos/osgcube/Makefile, - src/Demos/osgcube/osgcube.cpp, src/Demos/osgimpostor, - src/Demos/osgimpostor/Makedepend, src/Demos/osgimpostor/Makefile, - src/Demos/osgimpostor/README, - src/Demos/osgimpostor/osgimpostor.cpp, src/Demos/osgviews, - src/Demos/osgviews/Makedepend, src/Demos/osgviews/Makefile, - src/Demos/osgviews/README, src/Demos/osgviews/osgviews.cpp, - src/Demos/sgv/Makefile, src/Demos/sgv/sgv.cpp, src/Demos/wxsgv, - src/Demos/wxsgv/Makedepend, src/Demos/wxsgv/Makefile, - src/Demos/wxsgv/SceneGraphDlg.cpp, - src/Demos/wxsgv/SceneGraphDlg.h, src/Demos/wxsgv/app.cpp, - src/Demos/wxsgv/app.h, src/Demos/wxsgv/canvas.cpp, - src/Demos/wxsgv/canvas.h, src/Demos/wxsgv/frame.cpp, - src/Demos/wxsgv/frame.h, src/Demos/wxsgv/icons, - src/Demos/wxsgv/icons/camera.ico, - src/Demos/wxsgv/icons/engine.ico, src/Demos/wxsgv/icons/geom.ico, - src/Demos/wxsgv/icons/group.ico, src/Demos/wxsgv/icons/icon1.xpm, - src/Demos/wxsgv/icons/icon10.xpm, - src/Demos/wxsgv/icons/icon2.xpm, src/Demos/wxsgv/icons/icon3.xpm, - src/Demos/wxsgv/icons/icon4.xpm, src/Demos/wxsgv/icons/icon5.xpm, - src/Demos/wxsgv/icons/icon6.xpm, src/Demos/wxsgv/icons/icon7.xpm, - src/Demos/wxsgv/icons/icon8.xpm, src/Demos/wxsgv/icons/icon9.xpm, - src/Demos/wxsgv/icons/light.ico, src/Demos/wxsgv/icons/lod.ico, - src/Demos/wxsgv/icons/mesh.ico, src/Demos/wxsgv/icons/top.ico, - src/Demos/wxsgv/icons/unknown.ico, - src/Demos/wxsgv/icons/wxsgv.ico, src/Demos/wxsgv/icons/wxsgv.xpm, - src/Demos/wxsgv/icons/xform.ico, src/Demos/wxsgv/wxsgv.rc, - src/Demos/wxsgv/wxsgv.wdr, src/Demos/wxsgv/wxsgv_wdr.cpp, - src/Demos/wxsgv/wxsgv_wdr.h, src/Makefile, src/osg/AlphaFunc.cpp, - src/osg/Billboard.cpp, src/osg/BoundingBox.cpp, - src/osg/BoundingSphere.cpp, src/osg/Camera.cpp, - src/osg/CullFace.cpp, src/osg/Fog.cpp, src/osg/GeoSet.cpp, - src/osg/GeoSet_ogl.cpp, src/osg/Geode.cpp, src/osg/Group.cpp, - src/osg/Image.cpp, src/osg/LOD.cpp, src/osg/Light.cpp, - src/osg/LightSource.cpp, src/osg/Makefile, src/osg/Material.cpp, - src/osg/Matrix.cpp, src/osg/Node.cpp, src/osg/NodeVisitor.cpp, - src/osg/Notify.cpp, src/osg/Object.cpp, src/osg/Point.cpp, - src/osg/PolygonOffset.cpp, src/osg/Quat.cpp, src/osg/Switch.cpp, - src/osg/TexEnv.cpp, src/osg/TexGen.cpp, src/osg/TexMat.cpp, - src/osg/Texture.cpp, src/osg/Timer.cpp, src/osg/Transparency.cpp, - src/osg/Version.cpp, src/osgDB, src/osgDB/DotOsgWrapper.cpp, - src/osgDB/DynamicLibrary.cpp, src/osgDB/Field.cpp, - src/osgDB/FieldReader.cpp, src/osgDB/FieldReaderIterator.cpp, - src/osgDB/FileNameUtils.cpp, src/osgDB/FileUtils.cpp, - src/osgDB/Input.cpp, src/osgDB/Makedepend, src/osgDB/Makefile, - src/osgDB/Output.cpp, src/osgDB/ReadFile.cpp, - src/osgDB/Registry.cpp, src/osgDB/Version.cpp, - src/osgDB/WriteFile.cpp, src/osgGLUT/GLUTEventAdapter.cpp, - src/osgGLUT/Makefile, src/osgGLUT/Version.cpp, - src/osgGLUT/Viewer.cpp, src/osgPlugins/Makefile, - src/osgPlugins/dw, src/osgPlugins/dw/Makedepend, - src/osgPlugins/dw/Makefile, src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/flt/BoundingVolumeRecords.cpp, - src/osgPlugins/flt/BoundingVolumeRecords.h, - src/osgPlugins/flt/ColorPaletteRecord.cpp, - src/osgPlugins/flt/ColorPaletteRecord.h, - src/osgPlugins/flt/CommentRecord.cpp, - src/osgPlugins/flt/CommentRecord.h, - src/osgPlugins/flt/ControlRecord.cpp, - src/osgPlugins/flt/DofRecord.cpp, src/osgPlugins/flt/DofRecord.h, - src/osgPlugins/flt/ExtensionRecord.cpp, - src/osgPlugins/flt/ExtensionRecord.h, - src/osgPlugins/flt/ExternalRecord.cpp, - src/osgPlugins/flt/ExternalRecord.h, - src/osgPlugins/flt/FaceRecord.cpp, - src/osgPlugins/flt/FaceRecord.h, src/osgPlugins/flt/FltFile.cpp, - src/osgPlugins/flt/FltFile.h, src/osgPlugins/flt/FltRecords.h, - src/osgPlugins/flt/GeoSetBuilder.cpp, - src/osgPlugins/flt/GeoSetBuilder.h, - src/osgPlugins/flt/GroupRecord.cpp, - src/osgPlugins/flt/GroupRecord.h, - src/osgPlugins/flt/HeaderRecord.cpp, - src/osgPlugins/flt/HeaderRecord.h, src/osgPlugins/flt/Input.cpp, - src/osgPlugins/flt/InstanceRecords.cpp, - src/osgPlugins/flt/InstanceRecords.h, - src/osgPlugins/flt/LightPointRecord.cpp, - src/osgPlugins/flt/LightPointRecord.h, - src/osgPlugins/flt/LightSourcePaletteRecord.cpp, - src/osgPlugins/flt/LightSourcePaletteRecord.h, - src/osgPlugins/flt/LightSourceRecord.cpp, - src/osgPlugins/flt/LightSourceRecord.h, - src/osgPlugins/flt/LodRecord.cpp, src/osgPlugins/flt/LodRecord.h, - src/osgPlugins/flt/LongIDRecord.cpp, - src/osgPlugins/flt/LongIDRecord.h, src/osgPlugins/flt/Makefile, - src/osgPlugins/flt/MaterialPaletteRecord.cpp, - src/osgPlugins/flt/MaterialPaletteRecord.h, - src/osgPlugins/flt/ObjectRecord.cpp, - src/osgPlugins/flt/ObjectRecord.h, - src/osgPlugins/flt/OldVertexRecords.cpp, - src/osgPlugins/flt/OldVertexRecords.h, - src/osgPlugins/flt/Pool.cpp, src/osgPlugins/flt/Pool.h, - src/osgPlugins/flt/ReaderWriterFLT.cpp, - src/osgPlugins/flt/ReaderWriterFLT.h, - src/osgPlugins/flt/Record.cpp, src/osgPlugins/flt/Record.h, - src/osgPlugins/flt/RecordVisitor.cpp, - src/osgPlugins/flt/RecordVisitor.h, - src/osgPlugins/flt/Registry.cpp, src/osgPlugins/flt/Registry.h, - src/osgPlugins/flt/SwitchRecord.cpp, - src/osgPlugins/flt/SwitchRecord.h, - src/osgPlugins/flt/TextureMappingPaletteRecord.cpp, - src/osgPlugins/flt/TextureMappingPaletteRecord.h, - src/osgPlugins/flt/TexturePaletteRecord.cpp, - src/osgPlugins/flt/TexturePaletteRecord.h, - src/osgPlugins/flt/TransformationRecords.cpp, - src/osgPlugins/flt/TransformationRecords.h, - src/osgPlugins/flt/UnknownRecord.cpp, - src/osgPlugins/flt/VertexPoolRecords.cpp, - src/osgPlugins/flt/VertexPoolRecords.h, - src/osgPlugins/flt/flt.cpp, src/osgPlugins/flt/flt.h, - src/osgPlugins/flt/flt2osg.cpp, src/osgPlugins/flt/flt2osg.h, - src/osgPlugins/flt/opcodes.h, src/osgPlugins/gif/Makefile, - src/osgPlugins/gif/ReaderWriterGIF.cpp, - src/osgPlugins/jpeg/Makefile, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, src/osgPlugins/lib3ds, - src/osgPlugins/lib3ds/AUTHORS, src/osgPlugins/lib3ds/Makedepend, - src/osgPlugins/lib3ds/Makefile, src/osgPlugins/lib3ds/README, - src/osgPlugins/lib3ds/ReaderWriter3DS.cpp, - src/osgPlugins/lib3ds/atmosphere.cpp, - src/osgPlugins/lib3ds/atmosphere.h, - src/osgPlugins/lib3ds/background.cpp, - src/osgPlugins/lib3ds/background.h, - src/osgPlugins/lib3ds/camera.cpp, src/osgPlugins/lib3ds/camera.h, - src/osgPlugins/lib3ds/chunk.cpp, src/osgPlugins/lib3ds/chunk.h, - src/osgPlugins/lib3ds/chunktable.h, - src/osgPlugins/lib3ds/ease.cpp, src/osgPlugins/lib3ds/ease.h, - src/osgPlugins/lib3ds/file.cpp, src/osgPlugins/lib3ds/file.h, - src/osgPlugins/lib3ds/lib3ds_float.cpp, - src/osgPlugins/lib3ds/lib3ds_float.h, - src/osgPlugins/lib3ds/light.cpp, src/osgPlugins/lib3ds/light.h, - src/osgPlugins/lib3ds/material.cpp, - src/osgPlugins/lib3ds/material.h, - src/osgPlugins/lib3ds/matrix.cpp, src/osgPlugins/lib3ds/matrix.h, - src/osgPlugins/lib3ds/mesh.cpp, src/osgPlugins/lib3ds/mesh.h, - src/osgPlugins/lib3ds/node.cpp, src/osgPlugins/lib3ds/node.h, - src/osgPlugins/lib3ds/quat.cpp, src/osgPlugins/lib3ds/quat.h, - src/osgPlugins/lib3ds/readwrite.cpp, - src/osgPlugins/lib3ds/readwrite.h, - src/osgPlugins/lib3ds/shadow.cpp, src/osgPlugins/lib3ds/shadow.h, - src/osgPlugins/lib3ds/tcb.cpp, src/osgPlugins/lib3ds/tcb.h, - src/osgPlugins/lib3ds/tracks.cpp, src/osgPlugins/lib3ds/tracks.h, - src/osgPlugins/lib3ds/types.h, src/osgPlugins/lib3ds/vector.cpp, - src/osgPlugins/lib3ds/vector.h, - src/osgPlugins/lib3ds/viewport.cpp, - src/osgPlugins/lib3ds/viewport.h, src/osgPlugins/lwo, - src/osgPlugins/lwo/COPYING, src/osgPlugins/lwo/Makedepend, - src/osgPlugins/lwo/Makefile, src/osgPlugins/lwo/README, - src/osgPlugins/lwo/README.osg, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/lwo/lw.cpp, src/osgPlugins/lwo/lw.h, - src/osgPlugins/lwo/spec_lwob.txt, src/osgPlugins/obj, - src/osgPlugins/obj/Makedepend, src/osgPlugins/obj/Makefile, - src/osgPlugins/obj/README.osg, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/glm.cpp, src/osgPlugins/obj/glm.h, - src/osgPlugins/obj/spec_obj.txt, src/osgPlugins/osg, - src/osgPlugins/osg/AlphaFunc.cpp, - src/osgPlugins/osg/Billboard.cpp, - src/osgPlugins/osg/ClipPlane.cpp, - src/osgPlugins/osg/ColorMask.cpp, - src/osgPlugins/osg/CullFace.cpp, src/osgPlugins/osg/Depth.cpp, - src/osgPlugins/osg/Drawable.cpp, src/osgPlugins/osg/Fog.cpp, - src/osgPlugins/osg/FrontFace.cpp, src/osgPlugins/osg/GeoSet.cpp, - src/osgPlugins/osg/Geode.cpp, src/osgPlugins/osg/Group.cpp, - src/osgPlugins/osg/Image.cpp, src/osgPlugins/osg/Impostor.cpp, - src/osgPlugins/osg/LOD.cpp, src/osgPlugins/osg/Light.cpp, - src/osgPlugins/osg/LightSource.cpp, - src/osgPlugins/osg/Makedepend, src/osgPlugins/osg/Makefile, - src/osgPlugins/osg/Material.cpp, src/osgPlugins/osg/Matrix.cpp, - src/osgPlugins/osg/Node.cpp, src/osgPlugins/osg/Object.cpp, - src/osgPlugins/osg/Point.cpp, src/osgPlugins/osg/PolygonMode.cpp, - src/osgPlugins/osg/PolygonOffset.cpp, src/osgPlugins/osg/README, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osg/StateSet.cpp, src/osgPlugins/osg/Stencil.cpp, - src/osgPlugins/osg/Switch.cpp, src/osgPlugins/osg/TexEnv.cpp, - src/osgPlugins/osg/TexGen.cpp, src/osgPlugins/osg/TexMat.cpp, - src/osgPlugins/osg/Texture.cpp, src/osgPlugins/osg/Transform.cpp, - src/osgPlugins/osg/Transparency.cpp, - src/osgPlugins/osgtgz/Makefile, - src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.h, - src/osgPlugins/pfb/ConvertToPerformer.cpp, - src/osgPlugins/pfb/ConvertToPerformer.h, - src/osgPlugins/pfb/Makefile, - src/osgPlugins/pfb/ReaderWriterPFB.cpp, - src/osgPlugins/pic/ReaderWriterPIC.cpp, - src/osgPlugins/png/ReaderWriterPNG.cpp, src/osgPlugins/rgb, - src/osgPlugins/rgb/Makedepend, src/osgPlugins/rgb/Makefile, - src/osgPlugins/rgb/ReaderWriterRGB.cpp, - src/osgPlugins/tga/ReaderWriterTGA.cpp, - src/osgPlugins/tgz/ReaderWriterTGZ.cpp, - src/osgPlugins/tiff/Makefile, - src/osgPlugins/tiff/ReaderWriterTIFF.cpp, - src/osgPlugins/zip/ReaderWriterZIP.cpp, - src/osgUtil/CameraManipulator.cpp, - src/osgUtil/DisplayListVisitor.cpp, - src/osgUtil/DriveManipulator.cpp, - src/osgUtil/FlightManipulator.cpp, - src/osgUtil/IntersectVisitor.cpp, src/osgUtil/Makefile, - src/osgUtil/SceneView.cpp, src/osgUtil/TrackballManipulator.cpp, - src/osgUtil/Version.cpp, src/osgWX, src/osgWX/Makedepend, - src/osgWX/Makefile, src/osgWX/Version.cpp, - src/osgWX/WXEventAdapter.cpp: Added a bunch of files synched with - 0.8.42 - -2001-01-12 17:34 don - - * src/osg/Makedepend, src/osg/OSG.cpp: Removed Makedepend for osg - repository. No Makedepends should be in the - repository - -2001-01-10 17:19 don - - * src/osg/Makedepend, src/osg/OSG.cpp: Fixed the findDSO error - which excluded PATH on win32 and LD_LIBRARY_PATH in - UNIX. - -2001-01-10 16:32 don - - * AUTHORS, COPYING, ChangeLog, FAQ, Make, Make/instrules, - Make/makedefs.irix.nonstd, Make/makedefs.irix.std, - Make/makedefs.linux, Make/makerules.irix, Make/makerules.linux, - Makefile, NEWS, README, TODO, VisualStudio, VisualStudio/Demos, - VisualStudio/Demos/cube, VisualStudio/Demos/cube/cube.dsp, - VisualStudio/Demos/sgv, VisualStudio/Demos/sgv/sgv.dsp, - VisualStudio/VisualStudio.dsw, VisualStudio/osg, - VisualStudio/osg/osg.dsp, VisualStudio/osgGLUT, - VisualStudio/osgGLUT/osgGLUT.dsp, VisualStudio/osgPlugins, - VisualStudio/osgPlugins/flt, VisualStudio/osgPlugins/flt/flt.dsp, - VisualStudio/osgPlugins/fly, VisualStudio/osgPlugins/fly/fly.dsp, - VisualStudio/osgPlugins/gif, VisualStudio/osgPlugins/gif/gif.dsp, - VisualStudio/osgPlugins/jpeg, - VisualStudio/osgPlugins/jpeg/jpeg.dsp, - VisualStudio/osgPlugins/pic, VisualStudio/osgPlugins/pic/pic.dsp, - VisualStudio/osgPlugins/png, VisualStudio/osgPlugins/png/png.dsp, - VisualStudio/osgPlugins/tga, VisualStudio/osgPlugins/tga/tga.dsp, - VisualStudio/osgPlugins/tiff, - VisualStudio/osgPlugins/tiff/tiff.dsp, VisualStudio/osgUtil, - VisualStudio/osgUtil/osgUtil.dsp, dist, dist/.osg.spec.swp, - dist/Irix, dist/Irix/Makefile, dist/Irix/osg.idb, - dist/Irix/osg.spec, dist/RedHatRPM, dist/RedHatRPM/Makefile, - dist/RedHatRPM/makespec, dist/RedHatRPM/osg.spec, doc, - doc/Doxyfile, doc/MindMaps, doc/MindMaps/DesignPatterns, - doc/MindMaps/DesignPatterns.mmp, - doc/MindMaps/DesignPatterns/DesignPatterns.gif, - doc/MindMaps/DesignPatterns/DesignPatterns.html, - doc/MindMaps/Mission, doc/MindMaps/Mission.mmp, - doc/MindMaps/Mission/Mission.gif, - doc/MindMaps/Mission/Mission.html, doc/UML, doc/UML/osg.png, - doc/UML/osgutils.png, doc/index.html, doc/osg, - doc/osg/AlphaFunc.html, doc/osg/Billboard.html, - doc/osg/BoundingBox.html, doc/osg/BoundingSphere.html, - doc/osg/Camera.html, doc/osg/ClassGraph.class, - doc/osg/ClassGraphPanel.class, doc/osg/ClassLayout.class, - doc/osg/CullFace.html, doc/osg/DCS.html, - doc/osg/DynamicLibrary.html, doc/osg/ExtensionSupported.html, - doc/osg/Field.html, doc/osg/FieldReader.html, - doc/osg/FieldReaderIterator.html, doc/osg/Fog.html, - doc/osg/General.html, doc/osg/GeoSet.html, doc/osg/GeoState.html, - doc/osg/Geode.html, doc/osg/Group.html, doc/osg/HIER.html, - doc/osg/HIERjava.html, doc/osg/Hit.html, doc/osg/Image.html, - doc/osg/Input.html, doc/osg/IntersectState.html, - doc/osg/IntersectVisitor.html, doc/osg/LOD.html, - doc/osg/Light.html, doc/osg/LightSource.html, - doc/osg/Lighting.html, doc/osg/Material.html, - doc/osg/Matrix.html, doc/osg/MemoryAdapter.html, - doc/osg/NavigatorButton.class, doc/osg/Node.html, - doc/osg/NodeAcceptOp.html, doc/osg/NodePath.html, - doc/osg/NodeVisitor.html, doc/osg/NotifyInit.html, - doc/osg/NotifySeverity.html, doc/osg/Object.html, - doc/osg/Output.html, doc/osg/Point.html, - doc/osg/PolygonOffset.html, doc/osg/Quat.html, doc/osg/RP.html, - doc/osg/ReaderWriter.html, doc/osg/Referenced.html, - doc/osg/RegisterObjectProxy.html, - doc/osg/RegisterReaderWriterProxy.html, doc/osg/Registry.html, - doc/osg/RenderVisitor.html, doc/osg/Scene.html, doc/osg/Seg.html, - doc/osg/Sequence.html, doc/osg/State.html, doc/osg/Switch.html, - doc/osg/TexEnv.html, doc/osg/TexGen.html, doc/osg/TexMat.html, - doc/osg/Texture.html, doc/osg/Timer.html, - doc/osg/Transparency.html, doc/osg/UnrefOp.html, - doc/osg/Vec2.html, doc/osg/Vec3.html, doc/osg/Vec4.html, - doc/osg/ViewState.html, doc/osg/createGeodeForImage.2.html, - doc/osg/createGeodeForImage.html, doc/osg/for_each_triangle.html, - doc/osg/icon1.gif, doc/osg/icon2.gif, doc/osg/index.html, - doc/osg/osg.html, doc/osg/osgGetLibraryName.html, - doc/osg/osgGetVersion.html, doc/osg/ref_ptr.html, doc/osgGLUT, - doc/osgGLUT/ClassGraph.class, doc/osgGLUT/ClassGraphPanel.class, - doc/osgGLUT/ClassLayout.class, doc/osgGLUT/GLUTEventAdapter.html, - doc/osgGLUT/General.html, doc/osgGLUT/HIER.html, - doc/osgGLUT/HIERjava.html, doc/osgGLUT/NavigatorButton.class, - doc/osgGLUT/Viewer.html, doc/osgGLUT/icon1.gif, - doc/osgGLUT/icon2.gif, doc/osgGLUT/index.html, - doc/osgGLUT/osgGLUT.html, doc/osgUtil, doc/osgUtil/Camera.html, - doc/osgUtil/CameraManipulator.html, - doc/osgUtil/CameraTrackballManipulator.html, - doc/osgUtil/CameraZSpindleManipulator.html, - doc/osgUtil/ClassGraph.class, doc/osgUtil/ClassGraphPanel.class, - doc/osgUtil/ClassLayout.class, - doc/osgUtil/CompileGeoSetsVisitor.html, - doc/osgUtil/DisplayListVisitor.html, - doc/osgUtil/DriveManipulator.html, - doc/osgUtil/FlightManipulator.html, - doc/osgUtil/GUIActionAdapter.html, - doc/osgUtil/GUIEventAdapter.html, - doc/osgUtil/GUIEventAdaptor.html, - doc/osgUtil/GUIUpdateState.html, doc/osgUtil/General.html, - doc/osgUtil/HIER.html, doc/osgUtil/HIERjava.html, - doc/osgUtil/Hit.html, doc/osgUtil/IntersectState.html, - doc/osgUtil/IntersectVisitor.html, - doc/osgUtil/NavigatorButton.class, - doc/osgUtil/RenderVisitor.html, doc/osgUtil/SceneView.html, - doc/osgUtil/TrackballManipulator.html, - doc/osgUtil/ViewState.html, doc/osgUtil/icon1.gif, - doc/osgUtil/icon2.gif, doc/osgUtil/index.html, - doc/osgUtil/osgUtil.html, doc/osgUtil/osgUtilGetLibraryName.html, - doc/osgUtil/osgUtilGetVersion.html, include, include/osg, - include/osg/AlphaFunc, include/osg/Billboard, - include/osg/BoundingBox, include/osg/BoundingSphere, - include/osg/Camera, include/osg/CullFace, include/osg/DCS, - include/osg/DynamicLibrary, include/osg/Export, - include/osg/ExtensionSupported, include/osg/Field, - include/osg/FieldReader, include/osg/FieldReaderIterator, - include/osg/FileNameUtils, include/osg/Fog, include/osg/GL, - include/osg/GeoSet, include/osg/GeoState, include/osg/Geode, - include/osg/Group, include/osg/Image, include/osg/Input, - include/osg/LOD, include/osg/Light, include/osg/LightSource, - include/osg/Lighting, include/osg/Material, include/osg/Matrix, - include/osg/Node, include/osg/NodeVisitor, include/osg/Notify, - include/osg/OSG, include/osg/Object, include/osg/Output, - include/osg/Point, include/osg/PolygonOffset, include/osg/Quat, - include/osg/Referenced, include/osg/Registry, include/osg/Scene, - include/osg/Seg, include/osg/Sequence, include/osg/State, - include/osg/Switch, include/osg/TexEnv, include/osg/TexGen, - include/osg/TexMat, include/osg/Texture, include/osg/Timer, - include/osg/Transparency, include/osg/Types, include/osg/Vec2, - include/osg/Vec3, include/osg/Vec4, include/osg/Version, - include/osgGLUT, include/osgGLUT/Export, - include/osgGLUT/GLUTEventAdapter, include/osgGLUT/Version, - include/osgGLUT/Viewer, include/osgUtil, - include/osgUtil/CameraManipulator, - include/osgUtil/DisplayListVisitor, - include/osgUtil/DriveManipulator, include/osgUtil/Export, - include/osgUtil/FlightManipulator, - include/osgUtil/GUIActionAdapter, - include/osgUtil/GUIEventAdapter, - include/osgUtil/IntersectVisitor, include/osgUtil/RenderVisitor, - include/osgUtil/SceneView, include/osgUtil/TrackballManipulator, - include/osgUtil/Version, index.html, src, src/Demos, - src/Demos/Makefile, src/Demos/cube, src/Demos/cube/Makedepend, - src/Demos/cube/Makefile, src/Demos/cube/cube.cpp, src/Demos/sgv, - src/Demos/sgv/Makedepend, src/Demos/sgv/Makefile, - src/Demos/sgv/sgv.cpp, src/Makefile, src/osg, - src/osg/AlphaFunc.cpp, src/osg/Billboard.cpp, - src/osg/BoundingBox.cpp, src/osg/BoundingSphere.cpp, - src/osg/Camera.cpp, src/osg/CullFace.cpp, src/osg/DCS.cpp, - src/osg/DynamicLibrary.cpp, src/osg/ExtensionSupported.cpp, - src/osg/Field.cpp, src/osg/FieldReader.cpp, - src/osg/FieldReaderIterator.cpp, src/osg/FileNameUtils.cpp, - src/osg/Fog.cpp, src/osg/GeoSet.cpp, src/osg/GeoSet_ogl.cpp, - src/osg/GeoState.cpp, src/osg/Geode.cpp, src/osg/Group.cpp, - src/osg/Image.cpp, src/osg/Input.cpp, src/osg/LOD.cpp, - src/osg/Light.cpp, src/osg/LightSource.cpp, src/osg/Lighting.cpp, - src/osg/Makedepend, src/osg/Makefile, src/osg/Material.cpp, - src/osg/Matrix.cpp, src/osg/Node.cpp, src/osg/NodeVisitor.cpp, - src/osg/Notify.cpp, src/osg/OSG.cpp, src/osg/Object.cpp, - src/osg/Output.cpp, src/osg/Point.cpp, src/osg/PolygonOffset.cpp, - src/osg/Quat.cpp, src/osg/ReaderWriterOSG.cpp, - src/osg/ReaderWriterRGB.cpp, src/osg/Registry.cpp, - src/osg/Scene.cpp, src/osg/Seg.cpp, src/osg/Sequence.cpp, - src/osg/Switch.cpp, src/osg/TexEnv.cpp, src/osg/TexGen.cpp, - src/osg/TexMat.cpp, src/osg/Texture.cpp, src/osg/Timer.cpp, - src/osg/Transparency.cpp, src/osg/Version.cpp, src/osgGLUT, - src/osgGLUT/GLUTEventAdapter.cpp, src/osgGLUT/Makedepend, - src/osgGLUT/Makefile, src/osgGLUT/Version.cpp, - src/osgGLUT/Viewer.cpp, src/osgPlugins, src/osgPlugins/Makefile, - src/osgPlugins/flt, src/osgPlugins/flt/BoundingVolumeRecords.cpp, - src/osgPlugins/flt/BoundingVolumeRecords.h, - src/osgPlugins/flt/ColorPaletteRecord.cpp, - src/osgPlugins/flt/ColorPaletteRecord.h, - src/osgPlugins/flt/CommentRecord.cpp, - src/osgPlugins/flt/CommentRecord.h, - src/osgPlugins/flt/ControlRecord.cpp, - src/osgPlugins/flt/ControlRecord.h, - src/osgPlugins/flt/DofRecord.cpp, src/osgPlugins/flt/DofRecord.h, - src/osgPlugins/flt/ExtensionRecord.cpp, - src/osgPlugins/flt/ExtensionRecord.h, - src/osgPlugins/flt/ExternalRecord.cpp, - src/osgPlugins/flt/ExternalRecord.h, - src/osgPlugins/flt/FaceRecord.cpp, - src/osgPlugins/flt/FaceRecord.h, src/osgPlugins/flt/FltFile.cpp, - src/osgPlugins/flt/FltFile.h, src/osgPlugins/flt/FltRecords.h, - src/osgPlugins/flt/GeoSetBuilder.cpp, - src/osgPlugins/flt/GeoSetBuilder.h, - src/osgPlugins/flt/GroupRecord.cpp, - src/osgPlugins/flt/GroupRecord.h, - src/osgPlugins/flt/HeaderRecord.cpp, - src/osgPlugins/flt/HeaderRecord.h, src/osgPlugins/flt/Input.cpp, - src/osgPlugins/flt/Input.h, - src/osgPlugins/flt/InstanceRecords.cpp, - src/osgPlugins/flt/InstanceRecords.h, - src/osgPlugins/flt/LightPointRecord.cpp, - src/osgPlugins/flt/LightPointRecord.h, - src/osgPlugins/flt/LightSourcePaletteRecord.cpp, - src/osgPlugins/flt/LightSourcePaletteRecord.h, - src/osgPlugins/flt/LightSourceRecord.cpp, - src/osgPlugins/flt/LightSourceRecord.h, - src/osgPlugins/flt/LodRecord.cpp, src/osgPlugins/flt/LodRecord.h, - src/osgPlugins/flt/LongIDRecord.cpp, - src/osgPlugins/flt/LongIDRecord.h, src/osgPlugins/flt/Makedepend, - src/osgPlugins/flt/Makefile, - src/osgPlugins/flt/MaterialPaletteRecord.cpp, - src/osgPlugins/flt/MaterialPaletteRecord.h, - src/osgPlugins/flt/ObjectRecord.cpp, - src/osgPlugins/flt/ObjectRecord.h, - src/osgPlugins/flt/OldVertexRecords.cpp, - src/osgPlugins/flt/OldVertexRecords.h, - src/osgPlugins/flt/Pool.cpp, src/osgPlugins/flt/Pool.h, - src/osgPlugins/flt/ReaderWriterFLT.cpp, - src/osgPlugins/flt/ReaderWriterFLT.h, - src/osgPlugins/flt/Record.cpp, src/osgPlugins/flt/Record.h, - src/osgPlugins/flt/RecordVisitor.cpp, - src/osgPlugins/flt/RecordVisitor.h, - src/osgPlugins/flt/Registry.cpp, src/osgPlugins/flt/Registry.h, - src/osgPlugins/flt/SwitchRecord.cpp, - src/osgPlugins/flt/SwitchRecord.h, - src/osgPlugins/flt/TextureMappingPaletteRecord.cpp, - src/osgPlugins/flt/TextureMappingPaletteRecord.h, - src/osgPlugins/flt/TexturePaletteRecord.cpp, - src/osgPlugins/flt/TexturePaletteRecord.h, - src/osgPlugins/flt/TransformationRecords.cpp, - src/osgPlugins/flt/TransformationRecords.h, - src/osgPlugins/flt/UnknownRecord.cpp, - src/osgPlugins/flt/UnknownRecord.h, - src/osgPlugins/flt/VertexPoolRecords.cpp, - src/osgPlugins/flt/VertexPoolRecords.h, - src/osgPlugins/flt/export.h, src/osgPlugins/flt/flt.cpp, - src/osgPlugins/flt/flt.h, src/osgPlugins/flt/flt2osg.cpp, - src/osgPlugins/flt/flt2osg.h, src/osgPlugins/flt/license.txt, - src/osgPlugins/flt/opcodes.h, src/osgPlugins/fly, - src/osgPlugins/fly/Makedepend, src/osgPlugins/fly/Makefile, - src/osgPlugins/fly/base.cpp, src/osgPlugins/fly/fly.cpp, - src/osgPlugins/fly/hat.cpp, src/osgPlugins/fly/hat.h, - src/osgPlugins/fly/matrix.cpp, src/osgPlugins/fly/matrix.h, - src/osgPlugins/fly/oldtrees.cpp, src/osgPlugins/fly/sky.cpp, - src/osgPlugins/fly/tank.cpp, src/osgPlugins/fly/terrain.cpp, - src/osgPlugins/fly/terrain_data.h, src/osgPlugins/fly/trees.cpp, - src/osgPlugins/fly/vector.cpp, src/osgPlugins/fly/vector.h, - src/osgPlugins/gif, src/osgPlugins/gif/Makedepend, - src/osgPlugins/gif/Makefile, - src/osgPlugins/gif/ReaderWriterGIF.cpp, src/osgPlugins/jpeg, - src/osgPlugins/jpeg/Makedepend, src/osgPlugins/jpeg/Makefile, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, src/osgPlugins/osgtgz, - src/osgPlugins/osgtgz/Makedepend, src/osgPlugins/osgtgz/Makefile, - src/osgPlugins/osgtgz/osgtgz.cpp, src/osgPlugins/pfb, - src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.h, - src/osgPlugins/pfb/ConvertToPerformer.cpp, - src/osgPlugins/pfb/ConvertToPerformer.h, - src/osgPlugins/pfb/Makedepend, src/osgPlugins/pfb/Makefile, - src/osgPlugins/pfb/README.txt, - src/osgPlugins/pfb/ReaderWriterPFB.cpp, - src/osgPlugins/pfb/osg2pf, - src/osgPlugins/pfb/osg2pf/ConvertToPerformer.cpp, - src/osgPlugins/pfb/osg2pf/ConvertToPerformer.h, - src/osgPlugins/pfb/osg2pf/Makedepend, - src/osgPlugins/pfb/osg2pf/Makefile, - src/osgPlugins/pfb/osg2pf/Makefile.lib, - src/osgPlugins/pfb/osg2pf/osg2pf.cpp, src/osgPlugins/pfb/pf2osg, - src/osgPlugins/pfb/pf2osg/ConvertFromPerformer.cpp, - src/osgPlugins/pfb/pf2osg/ConvertFromPerformer.h, - src/osgPlugins/pfb/pf2osg/Makedepend, - src/osgPlugins/pfb/pf2osg/Makefile, - src/osgPlugins/pfb/pf2osg/Makefile.lib, - src/osgPlugins/pfb/pf2osg/osg.cpp, - src/osgPlugins/pfb/pf2osg/pf2osg.cpp, - src/osgPlugins/pfb/pf2osg/pfb.cpp, - src/osgPlugins/pfb/pf2osg/pfb.h, src/osgPlugins/pic, - src/osgPlugins/pic/Makedepend, src/osgPlugins/pic/Makefile, - src/osgPlugins/pic/ReaderWriterPIC.cpp, src/osgPlugins/png, - src/osgPlugins/png/Makedepend, src/osgPlugins/png/Makefile, - src/osgPlugins/png/ReaderWriterPNG.cpp, src/osgPlugins/tga, - src/osgPlugins/tga/Makedepend, src/osgPlugins/tga/Makefile, - src/osgPlugins/tga/ReaderWriterTGA.cpp, src/osgPlugins/tgz, - src/osgPlugins/tgz/Makedepend, src/osgPlugins/tgz/Makefile, - src/osgPlugins/tgz/ReaderWriterTGZ.cpp, src/osgPlugins/tiff, - src/osgPlugins/tiff/Makedepend, src/osgPlugins/tiff/Makefile, - src/osgPlugins/tiff/ReaderWriterTIFF.cpp, src/osgPlugins/zip, - src/osgPlugins/zip/Makedepend, src/osgPlugins/zip/Makefile, - src/osgPlugins/zip/ReaderWriterZIP.cpp, src/osgUtil, - src/osgUtil/CameraManipulator.cpp, - src/osgUtil/DisplayListVisitor.cpp, - src/osgUtil/DriveManipulator.cpp, - src/osgUtil/FlightManipulator.cpp, - src/osgUtil/IntersectVisitor.cpp, src/osgUtil/Makedepend, - src/osgUtil/Makefile, src/osgUtil/RenderVisitor.cpp, - src/osgUtil/SceneView.cpp, src/osgUtil/TrackballManipulator.cpp, - src/osgUtil/Version.cpp: Initial revision - -2001-01-10 16:32 - - * .: New repository initialized by cvs2svn. + + * 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" + +--------------------------------------------------- + + + +Tue, 23 Jan 2007 17:42:43 +0000 +Checked in by : Robert Osfield +Added cube test model. + +Tue, 23 Jan 2007 17:29:14 +0000 +Checked in by : Robert Osfield +changed build order so that osgText gets built before osgViewer + +Tue, 23 Jan 2007 16:32:17 +0000 +Checked in by : Robert Osfield +Fixed tabbing + +Tue, 23 Jan 2007 16:28:59 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Tue, 23 Jan 2007 16:27:07 +0000 +Checked in by : Robert Osfield +Commented out the default saving of models + +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 + +Tue, 23 Jan 2007 16:02:37 +0000 +Checked in by : Robert Osfield +Added #define of GL_QUERY_RESULT and GL_QUERY_RESULT_AVAILABLE + +Tue, 23 Jan 2007 15:51:43 +0000 +Checked in by : Robert Osfield +Added single screen option + +Tue, 23 Jan 2007 14:43:07 +0000 +Checked in by : Robert Osfield +Added command line help + +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 + +Tue, 23 Jan 2007 13:54:32 +0000 +Checked in by : Robert Osfield +Adde osgText dependency to osgViewer + +Tue, 23 Jan 2007 13:28:49 +0000 +Checked in by : Robert Osfield +Made stats bars transparent and improved positioning + +Tue, 23 Jan 2007 13:16:47 +0000 +Checked in by : Robert Osfield +Made two sided stencil the default + +Tue, 23 Jan 2007 12:10:44 +0000 +Checked in by : Robert Osfield +Added stats and range of keyboard mouse handling to osgshadow example + +Tue, 23 Jan 2007 11:56:10 +0000 +Checked in by : Robert Osfield +Added ability to customize the keys used to control stats + +Tue, 23 Jan 2007 11:01:20 +0000 +Checked in by : Robert Osfield +Moved StatsHandler into its own seperate header/source in osgViewer. + +Tue, 23 Jan 2007 10:38:23 +0000 +Checked in by : Robert Osfield +Added ticks to stats display + +Mon, 22 Jan 2007 21:16:51 +0000 +Checked in by : Robert Osfield +Further work on GPU stats + +Mon, 22 Jan 2007 17:39:32 +0000 +Checked in by : Robert Osfield +Further work on stats + +Mon, 22 Jan 2007 13:13:43 +0000 +Checked in by : Robert Osfield +Added camera stats + +Mon, 22 Jan 2007 11:22:37 +0000 +Checked in by : Robert Osfield +Improvements to stats + +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." + + + +Sun, 21 Jan 2007 20:41:23 +0000 +Checked in by : Robert Osfield +Further work on stats + +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. + +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. + +Sun, 21 Jan 2007 18:24:54 +0000 +Checked in by : Robert Osfield +Initial on screen stats support + +Sun, 21 Jan 2007 11:18:07 +0000 +Checked in by : Robert Osfield +Removed gl includes + +Sat, 20 Jan 2007 09:48:50 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Sat, 20 Jan 2007 09:44:05 +0000 +Checked in by : Robert Osfield +Fixed the output of texture files + +Sat, 20 Jan 2007 09:03:58 +0000 +Checked in by : Robert Osfield +Added OSG_EXPORT to Stats to fix Windows build + +Fri, 19 Jan 2007 20:25:17 +0000 +Checked in by : Robert Osfield +Added stats for update, event and rendering traversals + +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. + +Fri, 19 Jan 2007 14:41:29 +0000 +Checked in by : Robert Osfield +Added EXT_timer_query support + +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. + + + +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 + +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." + +Thu, 18 Jan 2007 09:03:08 +0000 +Checked in by : Robert Osfield +Build fix for Win32 + +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. + +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. + + + +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 + +Wed, 17 Jan 2007 14:21:18 +0000 +Checked in by : Robert Osfield +From André Garneau, Implementation osg GraphicsWindowWin32 + +Tue, 16 Jan 2007 22:10:52 +0000 +Checked in by : Robert Osfield +Updaed wrappers + +Tue, 16 Jan 2007 22:00:56 +0000 +Checked in by : Robert Osfield +Removed the automatic registration of GraphicsContextImplementation. + +Tue, 16 Jan 2007 21:40:43 +0000 +Checked in by : Robert Osfield +Fixed compile warning + +Tue, 16 Jan 2007 19:18:32 +0000 +Checked in by : Robert Osfield +Cleaned up CompositeViewer interface and added event traversal of views + +Tue, 16 Jan 2007 17:10:15 +0000 +Checked in by : Robert Osfield +Added PickHandler to osgmultiplecameras examples + +Tue, 16 Jan 2007 17:08:47 +0000 +Checked in by : Robert Osfield +Added debug messages + +Tue, 16 Jan 2007 16:02:08 +0000 +Checked in by : Robert Osfield +Reverted the FlightManipulator usage + +Tue, 16 Jan 2007 16:01:01 +0000 +Checked in by : Robert Osfield +Further work on CompositeViewer + +Tue, 16 Jan 2007 15:05:44 +0000 +Checked in by : Robert Osfield +Added mouseWarped call into View::requestWarpPointer + +Tue, 16 Jan 2007 14:15:49 +0000 +Checked in by : Robert Osfield +Further work on event handling in CompositeViewer + +Tue, 16 Jan 2007 14:13:00 +0000 +Checked in by : Robert Osfield +Added extra view combinations too commandline + +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 + +Mon, 15 Jan 2007 16:12:34 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Mon, 15 Jan 2007 16:09:32 +0000 +Checked in by : Robert Osfield +Improved handling of intersection computations on datasets with multiple cameras + +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. + +Mon, 15 Jan 2007 11:44:38 +0000 +Checked in by : Robert Osfield +Added terrain manipulator. + +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." + +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 + +Mon, 15 Jan 2007 09:30:48 +0000 +Checked in by : Robert Osfield +Added setting of the update visitors' traversal number + +Mon, 15 Jan 2007 09:14:36 +0000 +Checked in by : Robert Osfield +Reverted the experimental shader code + +Sun, 14 Jan 2007 20:23:47 +0000 +Checked in by : Robert Osfield +Added releaseContext to end of GraphicsThread::run() + +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 + + * 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, 12 Jan 2007 22:01:56 +0000 +Checked in by : Robert Osfield +Added explicit to ParticleEffect constructors + +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) + +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, 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. + +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, 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 + +Fri, 12 Jan 2007 19:09:24 +0000 +Checked in by : Robert Osfield +Moved the signalBeginFrame to the start of the rendering traversal. + +Fri, 12 Jan 2007 15:08:45 +0000 +Checked in by : Robert Osfield +Added support for animation path manipulator to osgViewer path + +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 + +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. + +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 + +Fri, 12 Jan 2007 10:28:36 +0000 +Checked in by : Robert Osfield +Implement a GraphicsOperation to test extension availability + +Fri, 12 Jan 2007 10:28:06 +0000 +Checked in by : Robert Osfield +Fixed comment + +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 + +Thu, 11 Jan 2007 17:15:04 +0000 +Checked in by : Robert Osfield +Ported osgmotionblurr across to osgViewer + +Thu, 11 Jan 2007 17:00:09 +0000 +Checked in by : Robert Osfield +Added setting of DisplaySettings + +Thu, 11 Jan 2007 16:59:50 +0000 +Checked in by : Robert Osfield +Added stencil buffer setting + +Thu, 11 Jan 2007 15:54:11 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Thu, 11 Jan 2007 15:53:32 +0000 +Checked in by : Robert Osfield +Added #include + +Thu, 11 Jan 2007 15:48:44 +0000 +Checked in by : Robert Osfield +Removed examples: osgcameragroup + osgsimpleviewerProducer + osgsimplepager + + + +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 + + + +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. + +Thu, 11 Jan 2007 12:06:24 +0000 +Checked in by : Robert Osfield +Added DisplaySettings support into osgViewer::Viewer + +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 + + + +Thu, 11 Jan 2007 10:35:03 +0000 +Checked in by : Robert Osfield +Added support for setThreadSafeRefUnref into TexGenNode + +Thu, 11 Jan 2007 10:21:11 +0000 +Checked in by : Robert Osfield +Added setThreadSafeRefUnref, resizeGLObjectBuffers and releaseGLObjects to OverlayNode + +Wed, 10 Jan 2007 21:05:26 +0000 +Checked in by : Robert Osfield +Ported following examples to osgViewer:osgshaders +osgshaderterrain +osgshadow +osgshadowtexture + + + +Wed, 10 Jan 2007 14:56:22 +0000 +Checked in by : Robert Osfield +Ported osgconv and osgdem across to osgViewer + +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 + + + +Wed, 10 Jan 2007 10:40:12 +0000 +Checked in by : Robert Osfield +Added support for vertex ratios into LineSegmentIntersector. + +Wed, 10 Jan 2007 10:09:05 +0000 +Checked in by : Robert Osfield +Added View::computeIntersection implementation for a node withing a scene graph. + +Tue, 9 Jan 2007 17:35:46 +0000 +Checked in by : Robert Osfield +Added View::computeIntersections methods + +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 + +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. + +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. + + + +Tue, 9 Jan 2007 10:06:20 +0000 +Checked in by : Robert Osfield +From Stephan Huber, GraphicsWindowCarbon implementation + +Tue, 9 Jan 2007 09:16:06 +0000 +Checked in by : Robert Osfield +Changed osgparticle's osgProducer dependency to osgViewer + +Tue, 9 Jan 2007 09:14:25 +0000 +Checked in by : Robert Osfield +Fixed typo + +Mon, 8 Jan 2007 22:54:02 +0000 +Checked in by : Robert Osfield +Build fixes + +Mon, 8 Jan 2007 22:44:10 +0000 +Checked in by : Robert Osfield +Removed reference to Producer + +Mon, 8 Jan 2007 22:40:56 +0000 +Checked in by : Robert Osfield +Removed debug messages + +Mon, 8 Jan 2007 21:57:37 +0000 +Checked in by : Robert Osfield +Fixed comment + +Mon, 8 Jan 2007 21:55:24 +0000 +Checked in by : Robert Osfield +Added genwrapper.conf to OSG CVS + +Mon, 8 Jan 2007 21:29:49 +0000 +Checked in by : Robert Osfield +From Paul Martz, speeling fixes for Tessellator/Tessellation. + +Mon, 8 Jan 2007 21:19:33 +0000 +Checked in by : Robert Osfield +Tessellator name changes + +Mon, 8 Jan 2007 20:46:56 +0000 +Checked in by : Robert Osfield +Improved resizeGLObjectBuffers support + +Mon, 8 Jan 2007 20:40:29 +0000 +Checked in by : Robert Osfield +Improved the handling a releaseGLObjects() and add setThreadSafeRefUnref and resizeGLObjectsBuffers methods + +Mon, 8 Jan 2007 19:58:58 +0000 +Checked in by : Robert Osfield +Added releaseContextImplementation method + +Mon, 8 Jan 2007 19:33:31 +0000 +Checked in by : Robert Osfield +Updated wrappers + +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. + +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. + +Mon, 8 Jan 2007 14:12:57 +0000 +Checked in by : Robert Osfield +Added Tessellator + +Mon, 8 Jan 2007 13:28:44 +0000 +Checked in by : Robert Osfield +Fixed spelling of Tessellator in comment + +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. + +Mon, 8 Jan 2007 11:37:09 +0000 +Checked in by : Robert Osfield +Updated wrappers + +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. + +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 + +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 + +Sun, 7 Jan 2007 17:29:34 +0000 +Checked in by : Robert Osfield +From André Garneau, added export to StatsVisitor + +Sun, 7 Jan 2007 10:00:50 +0000 +Checked in by : Robert Osfield +Added setThreadSafeRefUnref to LightSource + +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 + +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 + +Fri, 5 Jan 2007 21:23:37 +0000 +Checked in by : Robert Osfield +Add trackball manipulator usage + +Fri, 5 Jan 2007 21:19:01 +0000 +Checked in by : Robert Osfield +Ported osgcluster to osgViewer. + +Fri, 5 Jan 2007 20:28:35 +0000 +Checked in by : Robert Osfield +Fixed genwrapper to add include of osg/Camera. + +Fri, 5 Jan 2007 17:21:35 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Fri, 5 Jan 2007 16:48:04 +0000 +Checked in by : Robert Osfield +Simplified the nameing of updateTraversal etc methods + +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. + +Fri, 5 Jan 2007 16:24:05 +0000 +Checked in by : Robert Osfield +Ported osgcegui across to osgViewer + +Fri, 5 Jan 2007 16:19:25 +0000 +Checked in by : Robert Osfield +Ported osgcallback to osgViewer + +Fri, 5 Jan 2007 16:13:43 +0000 +Checked in by : Robert Osfield +Ported osgbluemarble to osgViewer + +Fri, 5 Jan 2007 16:00:28 +0000 +Checked in by : Robert Osfield +Ported osgblendequation across to osgViewer + +Fri, 5 Jan 2007 15:54:13 +0000 +Checked in by : Robert Osfield +Ported osgbillboard over to osgViewer + +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. + +Fri, 5 Jan 2007 15:32:21 +0000 +Checked in by : Robert Osfield +Fixed aspect ratio. + +Fri, 5 Jan 2007 15:30:49 +0000 +Checked in by : Robert Osfield +Cleaned up the GraphicsWindow setup + +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 + +Fri, 5 Jan 2007 14:57:20 +0000 +Checked in by : Robert Osfield +Replace osgProducer reference by osgViewer + +Fri, 5 Jan 2007 14:56:37 +0000 +Checked in by : Robert Osfield +Moved osgautotransform across to osgViewer + +Fri, 5 Jan 2007 14:50:47 +0000 +Checked in by : Robert Osfield +Converted osganimate projects across to osgViewer + +Fri, 5 Jan 2007 14:48:50 +0000 +Checked in by : Robert Osfield +Converted osganimate example to osgViewer + +Fri, 5 Jan 2007 13:16:24 +0000 +Checked in by : Robert Osfield +Added int return type of Viewer::run(). + +Fri, 5 Jan 2007 13:15:59 +0000 +Checked in by : Robert Osfield +Made the custom window set up a runtime option + +Fri, 5 Jan 2007 13:06:11 +0000 +Checked in by : Robert Osfield +Tweaked comments + +Fri, 5 Jan 2007 13:01:08 +0000 +Checked in by : Robert Osfield +Added a workaround for computing the time of an event. + +Fri, 5 Jan 2007 12:22:24 +0000 +Checked in by : Robert Osfield +Removed commented out checkEvents calls + +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. + +Fri, 5 Jan 2007 09:55:04 +0000 +Checked in by : Robert Osfield +Removed inappropriate comment about normal orientation. + +Thu, 4 Jan 2007 21:58:37 +0000 +Checked in by : Robert Osfield +Changed compile paths into runtime selected paths using command line parameters + +Thu, 4 Jan 2007 21:51:10 +0000 +Checked in by : Robert Osfield +Removed now redundent calls to set up view + +Thu, 4 Jan 2007 21:49:02 +0000 +Checked in by : Robert Osfield +Moved the set of GraphicsContext RenderingOperations into Viewer. + +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. + +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. + +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 + +Thu, 4 Jan 2007 21:18:03 +0000 +Checked in by : Robert Osfield +Changed debug messages to INFO + +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. + +Thu, 4 Jan 2007 20:50:35 +0000 +Checked in by : Robert Osfield +Added mutex to lock of ReentrantMutex + +Thu, 4 Jan 2007 20:49:39 +0000 +Checked in by : Robert Osfield +Fixed compile warning + +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. + +Thu, 4 Jan 2007 16:48:23 +0000 +Checked in by : Robert Osfield +Fixed warnings + +Thu, 4 Jan 2007 14:34:53 +0000 +Checked in by : Robert Osfield +Added glXDestryContext to help clean up OpenGL. + +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. + +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. + +Wed, 3 Jan 2007 23:00:05 +0000 +Checked in by : Robert Osfield +Added catch of window close + +Wed, 3 Jan 2007 19:11:57 +0000 +Checked in by : Robert Osfield +From Paul Martz, added export to fix Windows build + +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 + +Wed, 3 Jan 2007 17:25:09 +0000 +Checked in by : Robert Osfield +Removed setting of master camera colour + +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. + +Wed, 3 Jan 2007 16:06:12 +0000 +Checked in by : Robert Osfield +Improved the robustness of thread start and cancellation + +Tue, 2 Jan 2007 20:26:49 +0000 +Checked in by : Robert Osfield +Fixed the COPY_OP( Array, DEEP_COPY_ARRAYS); entry. + +Tue, 2 Jan 2007 17:39:31 +0000 +Checked in by : Robert Osfield +Added support for different threading models in osgViewer::Viewer + +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. + +Tue, 2 Jan 2007 12:50:57 +0000 +Checked in by : Robert Osfield +Added support for getting all windows and hiding the cursor + +Tue, 2 Jan 2007 12:19:26 +0000 +Checked in by : Robert Osfield +Switched off lighting in osgcatch. + +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 + +Tue, 2 Jan 2007 10:31:38 +0000 +Checked in by : Robert Osfield +Fixed version function names and comment strings + +Tue, 2 Jan 2007 10:11:53 +0000 +Checked in by : Robert Osfield +Added missing init() implementation + +Tue, 2 Jan 2007 09:54:21 +0000 +Checked in by : Robert Osfield +Fixed path to osgViewer wrapper + +Mon, 1 Jan 2007 20:01:45 +0000 +Checked in by : Robert Osfield +Added mouseWarped update + +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 + +Thu, 28 Dec 2006 08:21:19 +0000 +Checked in by : Robert Osfield +Removed GraphicsWindowProxy + +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. + +Wed, 27 Dec 2006 23:32:49 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Wed, 27 Dec 2006 23:19:37 +0000 +Checked in by : Robert Osfield +Updated wrappers + +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. + +Wed, 27 Dec 2006 20:23:34 +0000 +Checked in by : Robert Osfield +Improved handling of window input ranges for single window apps + +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. + +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. + +Wed, 27 Dec 2006 15:15:23 +0000 +Checked in by : Robert Osfield +Updated to reflect changes to osgGA::EventQueue. + +Wed, 27 Dec 2006 15:05:25 +0000 +Checked in by : Robert Osfield +Replaced the osgProducer dependencies by osgViewer for osgcatch and osghangglide examples + +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. + +Tue, 26 Dec 2006 20:26:16 +0000 +Checked in by : Robert Osfield +Ported osghangglider example to usg osgViewer + +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 + +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. + +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. + +Tue, 26 Dec 2006 17:35:45 +0000 +Checked in by : Robert Osfield +Ported osgcatch to use osgViewer + +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. + + + +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 + +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 + +Fri, 22 Dec 2006 17:46:21 +0000 +Checked in by : Robert Osfield +Implemented perliminary multi-threading support in osgViewer::Viewer + +Fri, 22 Dec 2006 16:49:14 +0000 +Checked in by : Robert Osfield +Replaced osgProducer dependency by osgViewer + +Fri, 22 Dec 2006 16:48:17 +0000 +Checked in by : Robert Osfield +Removed now redundent OSG_EXPORT to solve build problems under Windows + +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 + +Thu, 21 Dec 2006 17:23:07 +0000 +Checked in by : Robert Osfield +Added basic support for DatabasePager into osgViewer::Viewer + +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. + + + +Thu, 21 Dec 2006 12:24:20 +0000 +Checked in by : Robert Osfield +Cleaned up the includes in the GraphicsWindowX11 header + +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. + +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. + +Thu, 21 Dec 2006 09:01:56 +0000 +Checked in by : Robert Osfield +Removed erroneous double GraphicsContext:: + +Thu, 21 Dec 2006 08:54:55 +0000 +Checked in by : Robert Osfield +Fixed path + +Wed, 20 Dec 2006 21:13:29 +0000 +Checked in by : Robert Osfield +Further work osgViewer::Viewer and related classes. + +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." + +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." + +Tue, 19 Dec 2006 17:16:14 +0000 +Checked in by : Robert Osfield +From Paul Martz, "minor code comment cleaup/rewording" + +Tue, 19 Dec 2006 17:06:59 +0000 +Checked in by : Robert Osfield +Moved UnitTestFramework from core osg lib into osgunittests example + +Tue, 19 Dec 2006 16:47:34 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Tue, 19 Dec 2006 16:47:15 +0000 +Checked in by : Robert Osfield +Added Copyright notice + +Tue, 19 Dec 2006 16:45:09 +0000 +Checked in by : Robert Osfield +Added support for traversal mask into ElevationSlice, HeightAboveTerrain and LineOfSight classes + +Tue, 19 Dec 2006 16:12:29 +0000 +Checked in by : Robert Osfield +Added osgViewer::Viewer / osgViewer::GraphicsWindowsX11 usage. + +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. + +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. + +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. + +Thu, 14 Dec 2006 21:15:40 +0000 +Checked in by : Robert Osfield +From Brede Johansen, "New option "cloneExternalReferences" for OpenFlight plugin" + +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); " + +Thu, 14 Dec 2006 14:44:10 +0000 +Checked in by : Robert Osfield +From Andy Skinnder, warning fix + +Wed, 13 Dec 2006 21:15:22 +0000 +Checked in by : Robert Osfield +Removed debug output files + +Wed, 13 Dec 2006 17:39:30 +0000 +Checked in by : Robert Osfield +Commented out debug messages + +Wed, 13 Dec 2006 16:41:06 +0000 +Checked in by : Robert Osfield +Further improvements to handling of multiple z values + +Tue, 12 Dec 2006 21:48:59 +0000 +Checked in by : Robert Osfield +Improvements to handling of multiple z value regions + +Thu, 7 Dec 2006 22:20:48 +0000 +Checked in by : Robert Osfield +Improved the filtering of overlapping and vertical line segments + +Thu, 7 Dec 2006 15:48:17 +0000 +Checked in by : Robert Osfield +Fixed copyright notice + +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: + +osgdemd --image-ext jpeg --RGB_24 -O "JPEG_QUALITY 20 +compressImageData" ......." + + + +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." + +Wed, 6 Dec 2006 21:39:09 +0000 +Checked in by : Robert Osfield +From Gerrick Bivins, fixed newly introduced texture setup bug. + +Wed, 6 Dec 2006 21:29:10 +0000 +Checked in by : Robert Osfield +Improved the handling of overlapping line segments. + +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 + +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. " + + + +Tue, 5 Dec 2006 22:10:36 +0000 +Checked in by : Robert Osfield +Updated wrappers + +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. + +Tue, 5 Dec 2006 17:30:36 +0000 +Checked in by : Robert Osfield +From Stephan Huber, "minor bugfixes for the quicktime-plugin" + +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." + +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. + +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." + + + +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. + + + +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 + +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. + +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." + + + +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" + +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." + + + +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." + +Tue, 5 Dec 2006 13:06:02 +0000 +Checked in by : Robert Osfield +Updated wrappers + +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 + +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. + +Mon, 4 Dec 2006 12:36:13 +0000 +Checked in by : Robert Osfield +Added preliminary support for generating distance, height lists for ElevationSlice. + +Sun, 3 Dec 2006 12:52:38 +0000 +Checked in by : Robert Osfield +Cleaned up debugging info. + +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. + +Sun, 3 Dec 2006 11:09:33 +0000 +Checked in by : Robert Osfield +Added osgSim to osgintersection dependency list. + +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 + +Thu, 30 Nov 2006 18:42:38 +0000 +Checked in by : Robert Osfield +Fixed typo and updated wrappers + +Thu, 30 Nov 2006 18:33:36 +0000 +Checked in by : Robert Osfield +Improved the edge normal computation + +Thu, 30 Nov 2006 16:55:32 +0000 +Checked in by : Robert Osfield +Checked in new .plists' + +Thu, 30 Nov 2006 16:30:24 +0000 +Checked in by : Robert Osfield +Basic shadow volume alogirthm implemented in example. + +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 + +Thu, 30 Nov 2006 12:04:36 +0000 +Checked in by : Robert Osfield +Fixed shadow volume geometry handling of direcitonal lights + +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 + +Wed, 29 Nov 2006 22:00:39 +0000 +Checked in by : Robert Osfield +Added handling of loops + +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. + +Wed, 29 Nov 2006 20:10:08 +0000 +Checked in by : Robert Osfield +From Per Fahlberg, added support for writing 16-bit rgb images + +Wed, 29 Nov 2006 14:33:17 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Wed, 29 Nov 2006 14:21:59 +0000 +Checked in by : Robert Osfield +Further work on PlaneIntersector + +Wed, 29 Nov 2006 11:00:02 +0000 +Checked in by : Robert Osfield +Added dummy virtual method implementations + +Wed, 29 Nov 2006 10:51:10 +0000 +Checked in by : Robert Osfield +Cleaned up inheritance + +Wed, 29 Nov 2006 09:18:51 +0000 +Checked in by : Robert Osfield +Ran unix2dos to get rid of unix line ending + +Tue, 28 Nov 2006 20:45:24 +0000 +Checked in by : Robert Osfield +Still required for backwards compatibility + +Tue, 28 Nov 2006 20:37:27 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Tue, 28 Nov 2006 20:35:31 +0000 +Checked in by : Robert Osfield +Fixed build errors in osgViewer + +Tue, 28 Nov 2006 19:25:34 +0000 +Checked in by : Robert Osfield +From Zach Deedler, added missing IntersectionVisitor + +Tue, 28 Nov 2006 16:50:51 +0000 +Checked in by : Robert Osfield +Removed redundent wrapper + +Tue, 28 Nov 2006 16:49:31 +0000 +Checked in by : Robert Osfield +Updated wrappers + +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. + +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 + + + +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. + +Tue, 28 Nov 2006 10:31:37 +0000 +Checked in by : Robert Osfield +Removed the now redundent dateUtils.h file. + +Tue, 28 Nov 2006 09:14:46 +0000 +Checked in by : Robert Osfield +Added missing Camera.h and removed redundent CameraNode.h + +Mon, 27 Nov 2006 20:25:36 +0000 +Checked in by : Robert Osfield +Added beginnings of osgUtil::PlaneIntersector and osgSim::ElevationSlice + +Mon, 27 Nov 2006 16:25:12 +0000 +Checked in by : Robert Osfield +Added QWidget style constructor parameters + +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. + + + +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. + +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. + + + +See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/Opaque_and_1_Bit_Alpha_Textures.asp for more information." + + + +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. + +Sun, 26 Nov 2006 14:17:22 +0000 +Checked in by : Robert Osfield +Missed check of changes to the RemoveRedundentNodesVisitor + +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. + +Fri, 24 Nov 2006 21:10:57 +0000 +Checked in by : Robert Osfield +Added isIdentity() method + +Fri, 24 Nov 2006 17:20:01 +0000 +Checked in by : Robert Osfield +Improved handling of bounding polytope + +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. + +Thu, 23 Nov 2006 21:32:49 +0000 +Checked in by : Robert Osfield +Improved the ShadowVolumeGeometry orientations. + +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. + +Thu, 23 Nov 2006 16:55:46 +0000 +Checked in by : Robert Osfield +First cut at generating the ShadowVolumeGeometry + +Thu, 23 Nov 2006 11:22:49 +0000 +Checked in by : Robert Osfield +Added basic silhoette detection + +Wed, 22 Nov 2006 21:11:46 +0000 +Checked in by : Robert Osfield +From Roger James, "fixes mostly related to texture handling." + +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 + +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. + +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. + +- 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." + + + +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. + +Wed, 22 Nov 2006 15:38:59 +0000 +Checked in by : Robert Osfield +Added removeNullTriangles() method to help removed triangles with coincedent corners. + +Wed, 22 Nov 2006 09:10:14 +0000 +Checked in by : Robert Osfield +Added new HeightAboveTerrain.cpp LineOfSight.cpp wrapper files + +Tue, 21 Nov 2006 16:59:34 +0000 +Checked in by : Robert Osfield +Added compute and visualization of triangle and vertex normals + +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. + +Tue, 21 Nov 2006 16:16:56 +0000 +Checked in by : Robert Osfield +Added removeDuplicates function + +Tue, 21 Nov 2006 16:15:42 +0000 +Checked in by : Robert Osfield +Reordered methods to make associated functions clearer. + +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. + +Mon, 20 Nov 2006 21:48:40 +0000 +Checked in by : Robert Osfield +Added nested files + +Mon, 20 Nov 2006 12:25:38 +0000 +Checked in by : Robert Osfield +Added -losgFX + +Mon, 20 Nov 2006 10:12:57 +0000 +Checked in by : Robert Osfield +Added missing LGPL section to LICENSE.txt + +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 + +Fri, 17 Nov 2006 16:25:29 +0000 +Checked in by : Robert Osfield +From Eric Wing, updates to Xcode projects + +Fri, 17 Nov 2006 16:22:58 +0000 +Checked in by : Robert Osfield +From Eric Wing, new ogsimpleviewCocoa example. + +Fri, 17 Nov 2006 14:51:48 +0000 +Checked in by : Robert Osfield +Added missing PointSprite files + +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." + +Thu, 16 Nov 2006 16:42:11 +0000 +Checked in by : Robert Osfield +From Frashid Lashkari, added support for PointSprites to .ive + +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. + +Wed, 15 Nov 2006 20:29:28 +0000 +Checked in by : Robert Osfield +Added alpha test setting + +Wed, 15 Nov 2006 20:24:09 +0000 +Checked in by : Robert Osfield +Fixed comment + +Wed, 15 Nov 2006 20:23:15 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Wed, 15 Nov 2006 11:21:53 +0000 +Checked in by : Robert Osfield +From Eric Wing, add version check for use of automatic resizeing + +Wed, 15 Nov 2006 10:08:09 +0000 +Checked in by : Robert Osfield +From Mathias Froehlich, replaced assert with notify() error message. + +Tue, 14 Nov 2006 19:29:49 +0000 +Checked in by : Robert Osfield +Added note about license or file, and link to specs. + +Tue, 14 Nov 2006 19:19:54 +0000 +Checked in by : Robert Osfield +Removed redundent osgac3.h file. + +Tue, 14 Nov 2006 19:19:15 +0000 +Checked in by : Robert Osfield +From Mathias Fröhlich, fixed order of setting of texture image. + +Tue, 14 Nov 2006 17:24:37 +0000 +Checked in by : Robert Osfield +Updated wrappers + +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. + +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." + + + +Tue, 14 Nov 2006 15:06:17 +0000 +Checked in by : Robert Osfield +Added osgViewer depdendency to osgintersection, osgGLUT* examples + +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." + +Tue, 14 Nov 2006 12:51:31 +0000 +Checked in by : Robert Osfield +Further migration to using RenderInfo + +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." + +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." + +Tue, 14 Nov 2006 12:16:39 +0000 +Checked in by : Robert Osfield +Added support for handling osg::ShapeDrawable style drawables in OccluderGeoemtry. + +Tue, 14 Nov 2006 09:54:21 +0000 +Checked in by : Robert Osfield +Added check against null SceneData to prevent crash with empty models + +Sat, 11 Nov 2006 21:30:29 +0000 +Checked in by : Robert Osfield +Further work on OccluderGeometry + +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 + +Fri, 10 Nov 2006 15:07:13 +0000 +Checked in by : Robert Osfield +Further work on osgShadow::GeometryOccluder + +Wed, 8 Nov 2006 11:49:35 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Wed, 8 Nov 2006 10:00:43 +0000 +Checked in by : Robert Osfield +From Eric Wing, updates to Xcode project for new osgViewer library + +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. + +Tue, 7 Nov 2006 17:00:56 +0000 +Checked in by : Robert Osfield +Added better handling of writeNode operations that arn't successful. + +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. + +Tue, 7 Nov 2006 14:26:48 +0000 +Checked in by : Robert Osfield +Updated wrappers + +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. + +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, 7 Nov 2006 13:43:01 +0000 +Checked in by : Robert Osfield +Added initial cut of osgShadow::OccluderGeometry + +Tue, 7 Nov 2006 13:26:31 +0000 +Checked in by : Robert Osfield +Changed debug output from NOTICE to INFO + +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. + +Tue, 7 Nov 2006 12:08:03 +0000 +Checked in by : Robert Osfield +Removed debug comment. + +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. + +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? + +EventQueue.cpp (rev 1.8): in keyRelease & keyPressed KEY_Alt_R was mapped to +MODKEY_LEFT_ALT" + + + +Fri, 3 Nov 2006 14:07:20 +0000 +Checked in by : Robert Osfield +Added osgViewer library to build list + +Thu, 2 Nov 2006 18:58:01 +0000 +Checked in by : Robert Osfield +Added IntersectionVisitor to wrappers + +Thu, 2 Nov 2006 17:07:32 +0000 +Checked in by : Robert Osfield +Added IntersectionVisitor to osgUtil project + +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. + +Thu, 2 Nov 2006 15:50:04 +0000 +Checked in by : Robert Osfield +Added basic PolytopeIntersector functionality based on checking vertices against polytopes. + +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 + +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. + +Thu, 2 Nov 2006 12:32:41 +0000 +Checked in by : Robert Osfield +Updated wrappers + +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 + +Thu, 2 Nov 2006 12:17:06 +0000 +Checked in by : Robert Osfield +Added prelimnary work on PolytopeIntersector. + +Wed, 1 Nov 2006 17:18:45 +0000 +Checked in by : Robert Osfield +Improved handling of projected coords in new intersection classes + +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 + +Tue, 31 Oct 2006 12:59:51 +0000 +Checked in by : Robert Osfield +Implemented HeightAboveTerrain and added usage into osgintersection + +Tue, 31 Oct 2006 08:41:24 +0000 +Checked in by : Robert Osfield +Added LineOfSight and HeightAboveTerrain classes + +Mon, 30 Oct 2006 20:29:06 +0000 +Checked in by : Robert Osfield +Added osgSim::LineOfSight and osgSim::HeightAboveTerrain classes + +Mon, 30 Oct 2006 12:39:05 +0000 +Checked in by : Robert Osfield +Updated wrappers + +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..." + +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. + +Fix: added condition for handling alpha and luminance formats too." + + + +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. + +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, 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); + +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, 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); + + +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." + + + +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 + +Mon, 30 Oct 2006 11:00:25 +0000 +Checked in by : Robert Osfield +Added handling of geometry indices offset when merging geometries with indices + +Fri, 27 Oct 2006 15:11:17 +0000 +Checked in by : Robert Osfield +Added osgUtil::IntersectorGroup to handle groups of osgUtil::Intersectors + +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 + +Thu, 26 Oct 2006 16:03:17 +0000 +Checked in by : Robert Osfield +Added beginings of new osgUtil::IntersectionVisitor and osgintersection class + +Thu, 26 Oct 2006 16:02:38 +0000 +Checked in by : Robert Osfield +Updatd wrappers + +Tue, 24 Oct 2006 16:24:24 +0000 +Checked in by : Robert Osfield +Tweaked doxygen docs. + +Tue, 24 Oct 2006 09:45:50 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Tue, 24 Oct 2006 09:06:28 +0000 +Checked in by : Robert Osfield +Added FadeText::setFadeSpeed and made internal data structures protected. + +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 + +Sat, 21 Oct 2006 21:06:27 +0000 +Checked in by : Robert Osfield +Fixed OSX x86 endian issue in Quicktime movie plugin. + +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 + + + 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 + +" + + + +Tue, 17 Oct 2006 12:29:07 +0000 +Checked in by : Robert Osfield +Changed name osg osgshadow example.dsp to avoid MS conflicts + +Tue, 17 Oct 2006 11:28:34 +0000 +Checked in by : Robert Osfield +Added osgshadow example + +Sun, 15 Oct 2006 11:56:52 +0000 +Checked in by : Robert Osfield +Ported FLTK example across to using GraphicsWindow + +Sun, 15 Oct 2006 11:39:35 +0000 +Checked in by : Robert Osfield +Ported across to using GraphicsWindow. + +Sat, 14 Oct 2006 21:50:29 +0000 +Checked in by : Robert Osfield +From Chuck Seberion, added support reading ARB float format textures. + +Sat, 14 Oct 2006 21:47:13 +0000 +Checked in by : Robert Osfield +From Terry Welsh, mplemented POINT_ROT_EYE. + +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. + +Sat, 14 Oct 2006 10:07:21 +0000 +Checked in by : Robert Osfield +Fixed texture coordinates of cylinder ends. + +Fri, 13 Oct 2006 14:00:08 +0000 +Checked in by : Robert Osfield +Added -losgDB to fix OSX build + +Sat, 7 Oct 2006 11:57:28 +0000 +Checked in by : Robert Osfield +Added dae (COLLADA) plugin to OpenSceneGraph.dsw workspace. + +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 + +Fri, 6 Oct 2006 14:46:50 +0000 +Checked in by : Robert Osfield +Fixed OSGSHADOW_LIBRARY define + +Fri, 6 Oct 2006 14:45:18 +0000 +Checked in by : Robert Osfield +Fixed library name + +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 + +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." + +Fri, 6 Oct 2006 11:02:34 +0000 +Checked in by : Robert Osfield +Updated wrappers + +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. + +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. + +Thu, 5 Oct 2006 14:32:39 +0000 +Checked in by : Robert Osfield +Removed deprecated GUIEventHandler method + +Thu, 5 Oct 2006 10:59:50 +0000 +Checked in by : Robert Osfield +Renamed variable + +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. + +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. + +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. + +Wed, 4 Oct 2006 09:11:37 +0000 +Checked in by : Robert Osfield +Added osgGA depedency. + +Tue, 3 Oct 2006 20:42:57 +0000 +Checked in by : Robert Osfield +Removed the redundent relaseGLObjects() method declerations + +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. " + +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." + +Tue, 3 Oct 2006 12:46:11 +0000 +Checked in by : Robert Osfield +Added osgDB to dependency of osgGA + +Tue, 3 Oct 2006 11:14:34 +0000 +Checked in by : Robert Osfield +Fixed bug related to clean up of text fonts. + +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." + + + +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." + +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." + +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. + +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. + +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." + +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." + +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." + +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. " + +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." + +Mon, 2 Oct 2006 11:47:55 +0000 +Checked in by : Robert Osfield +Added SERIALIZER to ReaderWriterDAE to make sure initialization is thread safe. + +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. +" + + + +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." + +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." + +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. + + + +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." + +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." + +Sun, 1 Oct 2006 16:14:16 +0000 +Checked in by : Robert Osfield +Added GLUT based osgsimpleviewerGLUT example + +Sun, 1 Oct 2006 16:12:21 +0000 +Checked in by : Robert Osfield +Added Producer based osgsimplerviewerProducer example + +Sun, 1 Oct 2006 16:10:33 +0000 +Checked in by : Robert Osfield +Added FLTK example app - osgsimpleviewerFLTK. + +Sun, 1 Oct 2006 13:26:02 +0000 +Checked in by : Robert Osfield +Added osgsimpleviewerQT4 example + +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. + +Sat, 30 Sep 2006 20:06:26 +0000 +Checked in by : Robert Osfield +Added a based SDL viewer - osgsimpleviewerSDL + +Sat, 30 Sep 2006 20:05:56 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Sat, 30 Sep 2006 20:05:36 +0000 +Checked in by : Robert Osfield +Cleaned up build and indenting + +Sat, 30 Sep 2006 16:30:31 +0000 +Checked in by : Robert Osfield +Various clean ups to comments + +Sat, 30 Sep 2006 16:29:08 +0000 +Checked in by : Robert Osfield +Added SimpleViewer + +Sat, 30 Sep 2006 16:26:53 +0000 +Checked in by : Robert Osfield +Added osgsimpleviewerQT3 example + +Sat, 30 Sep 2006 14:12:36 +0000 +Checked in by : Robert Osfield +Moved osgGLUTsimple and osgGLUTkeyboardmouse across to using osgGA::SimpleViewer + +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. + +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. + +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. + +Fri, 29 Sep 2006 18:47:20 +0000 +Checked in by : Robert Osfield +Added preliminary DatabasePager support. + +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. + +Thu, 21 Sep 2006 15:09:10 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Thu, 21 Sep 2006 11:26:18 +0000 +Checked in by : Robert Osfield +From Eric Wing, updated to Xcode projects + +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." + +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. + +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 + +Thu, 21 Sep 2006 09:24:10 +0000 +Checked in by : Robert Osfield +Rationalized on the number of libs required. + +Thu, 21 Sep 2006 08:56:19 +0000 +Checked in by : Robert Osfield +Removed use osg OSG_LIBS, changing to just -losg and -losgDB. + +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 + +Wed, 20 Sep 2006 13:41:33 +0000 +Checked in by : Robert Osfield +Added missining initialization of _radius in constructors + +Wed, 20 Sep 2006 13:40:58 +0000 +Checked in by : Robert Osfield +Added use of ClusterCullingCallback + +Wed, 20 Sep 2006 12:58:34 +0000 +Checked in by : Robert Osfield +Created stress test of fade text labelling + +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. + +Tue, 19 Sep 2006 22:57:23 +0000 +Checked in by : Robert Osfield +Further work on fade text. + +Tue, 19 Sep 2006 20:19:29 +0000 +Checked in by : Robert Osfield +Further work on osgText::FadeText implementation. + +Tue, 19 Sep 2006 13:54:04 +0000 +Checked in by : Robert Osfield +Fixed reading/writing of non C string osg::Text::String's. + +Mon, 18 Sep 2006 21:03:23 +0000 +Checked in by : Robert Osfield +Added osgfadetext example to VS projects + +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). + + + +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." + +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. + +Wed, 13 Sep 2006 16:38:17 +0000 +Checked in by : Robert Osfield +Returning revion number to 0 to signify CVS version + +Wed, 13 Sep 2006 14:55:53 +0000 +Checked in by : Robert Osfield +Added extra comment explaining where state reset() should be called. + +Wed, 13 Sep 2006 14:00:19 +0000 +Checked in by : Robert Osfield +From Eric Wing, updates to OSX build notes. + +Wed, 13 Sep 2006 13:50:38 +0000 +Checked in by : Robert Osfield +Fixed GPU stats display bug. + +Wed, 13 Sep 2006 13:33:36 +0000 +Checked in by : Robert Osfield +Correct HP's AIX to IBM's AIX. + +Tue, 12 Sep 2006 19:15:04 +0000 +Checked in by : Robert Osfield +Updated version for 1.2 release + +Tue, 12 Sep 2006 19:09:59 +0000 +Checked in by : Robert Osfield +Updated ChangeLog for 1.2 release + +Tue, 12 Sep 2006 15:21:41 +0000 +Checked in by : Robert Osfield +Fixed the drawArrays() method checking of _drawArrayPtr + +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. + +Tue, 12 Sep 2006 10:52:32 +0000 +Checked in by : Robert Osfield +Updated ChangeLog fro 1.2 release + +Tue, 12 Sep 2006 10:46:59 +0000 +Checked in by : Robert Osfield +Updated AUTHORS file for 1.2 release + +Tue, 12 Sep 2006 09:28:00 +0000 +Checked in by : Robert Osfield +Updated NEWS for 1.2 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. + +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. + +Fri, 8 Sep 2006 14:31:50 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and AUTHORS file for 1.2 release + +Fri, 8 Sep 2006 13:24:03 +0000 +Checked in by : Robert Osfield +Cleaned up NEWS for 1.2 release + +Fri, 8 Sep 2006 10:46:05 +0000 +Checked in by : Robert Osfield +From Eric Wing, updated to Xcode projects + +Fri, 8 Sep 2006 10:07:41 +0000 +Checked in by : Robert Osfield +Added link to website for build docs. + +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. + +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 + +Wed, 6 Sep 2006 20:11:02 +0000 +Checked in by : Robert Osfield +Updated osgTerrain wrapper project file with gdal dependencies. + +Wed, 6 Sep 2006 14:10:13 +0000 +Checked in by : Robert Osfield +Tweak to NEWS + +Wed, 6 Sep 2006 13:53:48 +0000 +Checked in by : Robert Osfield +Made get methods const + +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." + + + +Tue, 5 Sep 2006 20:18:21 +0000 +Checked in by : Robert Osfield +From Eric Wing, updates to Xcode projects + +Tue, 5 Sep 2006 17:15:58 +0000 +Checked in by : Robert Osfield +Removed reference to Sony in COLLADA news entry. + +Tue, 5 Sep 2006 15:22:54 +0000 +Checked in by : Robert Osfield +Updated NEWS, AUTHORS file and osgversion for the 1.2-rc1 + +Tue, 5 Sep 2006 15:09:14 +0000 +Checked in by : Robert Osfield +Updated ChangeLog + +Tue, 5 Sep 2006 09:51:33 +0000 +Checked in by : Robert Osfield +From Mike Weiblen, build fixes for Windows. + +Tue, 5 Sep 2006 09:13:19 +0000 +Checked in by : Robert Osfield +Updated to compile against changes to osgTerrain + +Tue, 5 Sep 2006 08:56:27 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Tue, 5 Sep 2006 08:46:34 +0000 +Checked in by : Robert Osfield +From Paul Martz, warning fixes for Cygwin. + +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." + + + +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. + + + +Mon, 4 Sep 2006 13:35:26 +0000 +Checked in by : Robert Osfield +Missing part of Farshid Laskari's submission relating to CameraNode RenderOrder. + +Mon, 4 Sep 2006 13:22:51 +0000 +Checked in by : Robert Osfield +Updated wrappers + +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. + +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." + + + +Mon, 4 Sep 2006 12:52:09 +0000 +Checked in by : Robert Osfield +Cleaned up the texture setup code. + +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. + +Mon, 4 Sep 2006 06:51:07 +0000 +Checked in by : Robert Osfield +From Farshid Lashkari, removed debug message being written to the console. + +Mon, 4 Sep 2006 06:47:05 +0000 +Checked in by : Robert Osfield +Removed typedef TypeList from osgintrospection + +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. + +Fri, 1 Sep 2006 13:34:05 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Fri, 1 Sep 2006 13:22:37 +0000 +Checked in by : Robert Osfield +From David Callu, add reflection of std::wstring in the DefaultReflector + +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, + +Fri, 1 Sep 2006 12:46:45 +0000 +Checked in by : Robert Osfield +Removed the String inhertiance from osg::Referenced. + +Thu, 31 Aug 2006 20:55:46 +0000 +Checked in by : Robert Osfield +Updated Version number for 1.2 release + +Thu, 31 Aug 2006 20:54:28 +0000 +Checked in by : Robert Osfield +Updated version numbers of the up comming 1.2 release + +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. + +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." + + + +Thu, 31 Aug 2006 20:26:56 +0000 +Checked in by : Robert Osfield +Updated NEWS for 1.2 release and added COLLADA plugin + +Thu, 31 Aug 2006 15:47:47 +0000 +Checked in by : Robert Osfield +Fixed typo on OSG_PROCESSOR_AFFINITY env var. + +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. + +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. + +Thu, 31 Aug 2006 10:37:27 +0000 +Checked in by : Robert Osfield +Updated wrappers + +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. + +Thu, 31 Aug 2006 10:08:05 +0000 +Checked in by : Robert Osfield +Added support for CameraNode's PostDrawCallback. + +Wed, 30 Aug 2006 19:33:13 +0000 +Checked in by : Robert Osfield +Added GPU stats to NEWS list + +Wed, 30 Aug 2006 19:21:07 +0000 +Checked in by : Robert Osfield +Updated NEWS for rc2 + +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. + +Wed, 30 Aug 2006 13:50:26 +0000 +Checked in by : Robert Osfield +From Mike Wittman, changed release build options to reduce binary bloat. + +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. + +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. + +Tue, 29 Aug 2006 12:31:07 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Tue, 29 Aug 2006 11:25:29 +0000 +Checked in by : Robert Osfield +Added GPU stats + +Tue, 29 Aug 2006 06:58:22 +0000 +Checked in by : Robert Osfield +Added TexMat(Matrix) constructor. + +Tue, 29 Aug 2006 00:10:43 +0000 +Checked in by : Don BURNS +Fixed a crash in removeInternalTriangles() for models without normals. + +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 + +Mon, 28 Aug 2006 19:07:30 +0000 +Checked in by : Robert Osfield +From Roger James, improved mapping of AC3D lighting model to OSG + +Mon, 28 Aug 2006 19:06:33 +0000 +Checked in by : Robert Osfield +Added support for logging StateSet usage in StatsVisitor. + +Mon, 28 Aug 2006 19:05:40 +0000 +Checked in by : Robert Osfield +Added env var docs + +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." + +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. + +Mon, 28 Aug 2006 10:49:37 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Mon, 28 Aug 2006 10:46:39 +0000 +Checked in by : Robert Osfield +Further work on TextureAlasBuilder and TextureAtlasVisitor. + +Sat, 26 Aug 2006 21:38:22 +0000 +Checked in by : Robert Osfield +Further work of TextureAtlasBuilder + +Fri, 25 Aug 2006 16:31:28 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Fri, 25 Aug 2006 16:30:23 +0000 +Checked in by : Robert Osfield +Further work on new TextureAtlasBuilder. + +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. + +Fri, 25 Aug 2006 15:49:29 +0000 +Checked in by : Robert Osfield +Added missing setDataType and setPacking functions + +Fri, 25 Aug 2006 14:54:54 +0000 +Checked in by : Robert Osfield +Added const version of getReadPBuffer() + +Fri, 25 Aug 2006 14:53:09 +0000 +Checked in by : Robert Osfield +Fixed const correctness of get shadow functions + +Fri, 25 Aug 2006 09:03:26 +0000 +Checked in by : Robert Osfield +Updated wrappers + +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." + + + +Fri, 25 Aug 2006 08:42:17 +0000 +Checked in by : Robert Osfield +From Eric Wing, updates to Xcode project + +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." + + + +Thu, 24 Aug 2006 20:15:32 +0000 +Checked in by : Robert Osfield +Simplified swap bytes code to make it more efficient. + +Thu, 24 Aug 2006 16:33:23 +0000 +Checked in by : Robert Osfield +Add error message report to catch attempts to flip mipmap images. + +Thu, 24 Aug 2006 13:16:38 +0000 +Checked in by : Robert Osfield +Fixed COLLDADA plugin name and remove osgmove example + +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. + +Wed, 23 Aug 2006 15:11:18 +0000 +Checked in by : Robert Osfield +From Jeremy Moles, fixed typos + +Wed, 23 Aug 2006 14:17:06 +0000 +Checked in by : Robert Osfield +From Daniel Larimer, fix for OSX 10.4 when gcc != 4 + +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. + +Wed, 23 Aug 2006 13:18:22 +0000 +Checked in by : Robert Osfield +Added sizeof(short int) + +Wed, 23 Aug 2006 13:16:12 +0000 +Checked in by : Robert Osfield +Tweaks to osglogo to allow you to export alpha blended screenshots + +Tue, 22 Aug 2006 19:10:48 +0000 +Checked in by : Don BURNS +Added osgUtil::Tesselator for SHapeType Polygon to handle concave polygons. + +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." + + + +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. + +Tue, 22 Aug 2006 12:46:13 +0000 +Checked in by : Robert Osfield +From Joran Jessurun, updated to look for lib/win32. + +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. + +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. + +Mon, 21 Aug 2006 21:09:40 +0000 +Checked in by : Robert Osfield +From Eric Wing, compile fix for OSX + +Mon, 21 Aug 2006 21:00:14 +0000 +Checked in by : Robert Osfield +From Eric Wing, updates to Xcode projects + +Mon, 21 Aug 2006 20:29:32 +0000 +Checked in by : Robert Osfield +Added comments on the meaning of button value + +Mon, 21 Aug 2006 15:07:31 +0000 +Checked in by : Robert Osfield +Fixed 64 bit support + +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. + +Mon, 14 Aug 2006 11:03:43 +0000 +Checked in by : Robert Osfield +Ran dos2unix to fix inconsistent line endings + +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." + +Sun, 13 Aug 2006 20:12:49 +0000 +Checked in by : Robert Osfield +Updated ChangeLog for 1.1.1 release + +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 + +Sun, 13 Aug 2006 08:24:19 +0000 +Checked in by : Robert Osfield +Changed the texture wrap mode to repeat + +Sun, 13 Aug 2006 07:37:55 +0000 +Checked in by : Robert Osfield +From Chuck Sembroski, fixes for IRIX + +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 + +Sat, 12 Aug 2006 08:29:16 +0000 +Checked in by : Robert Osfield +Updated version number for 1.1.1 release + +Sat, 12 Aug 2006 07:59:36 +0000 +Checked in by : Robert Osfield +Updated ChangelLog and AUTHORS file + +Sat, 12 Aug 2006 07:43:37 +0000 +Checked in by : Robert Osfield +Removed Xcode 1.x projects + +Fri, 11 Aug 2006 21:48:24 +0000 +Checked in by : Robert Osfield +From Radu Mihai, removed osgfbo and osgpbuffer projects + +Fri, 11 Aug 2006 21:39:41 +0000 +Checked in by : Robert Osfield +Added osg:: to Referenced() to fix IRIX build. + +Fri, 11 Aug 2006 19:56:03 +0000 +Checked in by : Don BURNS +removed CRLF and replaced with LF in ReaderWriteNET.cpp + +Fri, 11 Aug 2006 18:23:10 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Fri, 11 Aug 2006 18:22:16 +0000 +Checked in by : Robert Osfield +Fixed if (numProcessors>1), was originally >= + +Fri, 11 Aug 2006 17:39:10 +0000 +Checked in by : Don BURNS +Added comments to support use of Proxy in the .net plugin. + +Fri, 11 Aug 2006 17:34:04 +0000 +Checked in by : Don BURNS +Submission by Carlo Camporesi - Added Proxy support to .net loader + +Fri, 11 Aug 2006 16:03:04 +0000 +Checked in by : Robert Osfield +Fixed value of FLATTEN_BILLBOARDS enum. + +Fri, 11 Aug 2006 13:06:36 +0000 +Checked in by : Robert Osfield +Added file search path to ESRI reader. + +Fri, 11 Aug 2006 12:53:57 +0000 +Checked in by : Robert Osfield +Fixed bug in Group::setChild relating to the accounting for OccluderNode. + +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. + +Fri, 11 Aug 2006 11:05:09 +0000 +Checked in by : Robert Osfield +Fixed pbuffer usage cross multiple graphics contexts + +Fri, 11 Aug 2006 11:04:49 +0000 +Checked in by : Robert Osfield +Updated NEWS for rc1 + +Fri, 11 Aug 2006 09:50:32 +0000 +Checked in by : Robert Osfield +Updated AUTHORS file + +Fri, 11 Aug 2006 09:30:42 +0000 +Checked in by : Robert Osfield +Removed osgfbo and osgpbuffer examples + +Fri, 11 Aug 2006 09:13:04 +0000 +Checked in by : Robert Osfield +Updated NEWS + +Thu, 10 Aug 2006 20:50:00 +0000 +Checked in by : Robert Osfield +From Mike Wittman, perl script to assist W64 support. + +Thu, 10 Aug 2006 20:32:51 +0000 +Checked in by : Robert Osfield +From Mike Wittman, support for VS 64bit build + +Thu, 10 Aug 2006 15:53:01 +0000 +Checked in by : Robert Osfield +Moved all platform specific processor out of osgProducer and into OpenThreads + +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 + +I have tested this with WIN32 performer 3.1 and 3.2.2 +and linux OpenGL Performer 3.1.1" + +------------------------------------------------ + + + +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. + +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. + +Added -O flip option. + + + +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" + +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. + +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. + +Wed, 9 Aug 2006 13:02:52 +0000 +Checked in by : Robert Osfield +Removed referecens to the deprecate UByte4 + +Wed, 9 Aug 2006 12:56:37 +0000 +Checked in by : Robert Osfield +Added Vec4ub and removed UByte4 + +Wed, 9 Aug 2006 10:09:11 +0000 +Checked in by : Robert Osfield +Added nan dectecion and error reporting + +Tue, 8 Aug 2006 16:08:06 +0000 +Checked in by : Robert Osfield +Added TESSELATE_GEOMETRY to Optimizer pass to fix z fighting issues. + +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. + +Tue, 8 Aug 2006 11:59:53 +0000 +Checked in by : Robert Osfield +Fixed backColor implementation for LightPointAppearancePalette. + +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, + +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 + +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." + +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 + +Sun, 6 Aug 2006 16:49:48 +0000 +Checked in by : Robert Osfield +Added preliminary support for process affinity support under Linux. + +Sun, 6 Aug 2006 16:42:43 +0000 +Checked in by : Robert Osfield +Removed debugging code. + +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. + +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. + + + +Sat, 5 Aug 2006 16:57:52 +0000 +Checked in by : Robert Osfield +Added code to reproduce Text outline bounding box compute bug. + +Sat, 5 Aug 2006 11:12:47 +0000 +Checked in by : Robert Osfield +Added disable vertex arrays. + +Sat, 5 Aug 2006 10:16:28 +0000 +Checked in by : Robert Osfield +Added osgcegui example + +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] + +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(). + +Thu, 3 Aug 2006 16:04:43 +0000 +Checked in by : Robert Osfield +Updated wrappers + +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. + +Thu, 3 Aug 2006 14:03:06 +0000 +Checked in by : Robert Osfield +Removed debug code + +Thu, 3 Aug 2006 13:35:21 +0000 +Checked in by : Robert Osfield +Changed: static TextureGLModeSet s_textureGLModeSet; + +To: + + static TextureGLModeSet& getTextureGLModeSet() + { + static TextureGLModeSet s_textureGLModeSet; + return s_textureGLModeSet; + } + +to prevent static initialization problems under static builds. + + + +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. + +Wed, 2 Aug 2006 21:09:25 +0000 +Checked in by : Robert Osfield +Updated wrappers + +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. + +Wed, 2 Aug 2006 21:04:29 +0000 +Checked in by : Robert Osfield +Added missing include + +Wed, 2 Aug 2006 19:56:36 +0000 +Checked in by : Robert Osfield +tweaked comment. + +Wed, 2 Aug 2006 19:55:03 +0000 +Checked in by : Robert Osfield +Added viewer.cleanup_frame() to all examples. + +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. + +Wed, 2 Aug 2006 16:12:46 +0000 +Checked in by : Robert Osfield +Added cleanup_frame to prevent crashes on exit. + +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. + +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. + +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 + +Tue, 1 Aug 2006 13:08:37 +0000 +Checked in by : Robert Osfield +Fixed doubleButtonPress. + +Tue, 1 Aug 2006 10:27:11 +0000 +Checked in by : Robert Osfield +Changed the viewer.setUpViewer(..) from default to just ESCAPE_SETS_DONE. + +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." + + + +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&) + +Mon, 31 Jul 2006 14:49:36 +0000 +Checked in by : Robert Osfield +Tweaked the invert() method to avoid silly OSX warnings. + +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. + +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 + + + +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. " + +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) + +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..." + + + +Thu, 27 Jul 2006 12:32:40 +0000 +Checked in by : Robert Osfield +From Michael Polak, double click fixes/additions + +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 + +Thu, 27 Jul 2006 11:25:01 +0000 +Checked in by : Robert Osfield +Remove ERSIShape directory. + +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." + +Thu, 27 Jul 2006 11:22:01 +0000 +Checked in by : Robert Osfield +Added #define snprintf _snprintf for Win32 build + +Thu, 27 Jul 2006 11:14:28 +0000 +Checked in by : Robert Osfield +From David Spilling, fix to Matrix::get(Quat&) + +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. + +Wed, 26 Jul 2006 15:29:26 +0000 +Checked in by : Robert Osfield +Cleaned up per context buffers support + +Wed, 26 Jul 2006 15:19:42 +0000 +Checked in by : Robert Osfield +Added osgprecipitation to runexamples list. + +Tue, 25 Jul 2006 20:43:57 +0000 +Checked in by : Robert Osfield +Force SingelThreaded usage due to use of osgParticle. + +Tue, 25 Jul 2006 13:52:10 +0000 +Checked in by : Robert Osfield +Fixed auto rotate bug. + +Wed, 19 Jul 2006 21:49:07 +0000 +Checked in by : Robert Osfield +Set release number back to 0 after release + +Wed, 19 Jul 2006 21:11:16 +0000 +Checked in by : Robert Osfield +Updated ChangedLog and READE for the 1.1 release + +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. + +Wed, 19 Jul 2006 19:49:28 +0000 +Checked in by : Robert Osfield +UPdated wrappers + +Wed, 19 Jul 2006 19:45:32 +0000 +Checked in by : Robert Osfield +Fixed error in enum, completely perplexed how the error got in... + +Wed, 19 Jul 2006 17:39:45 +0000 +Checked in by : Don BURNS +Fixed HEIGHEST misspelling to HIGHEST + +Wed, 19 Jul 2006 15:20:47 +0000 +Checked in by : Robert Osfield +Reverted to LODScale keyboard adjustment + +Wed, 19 Jul 2006 15:10:50 +0000 +Checked in by : Robert Osfield +Warning fixes + +Wed, 19 Jul 2006 15:07:00 +0000 +Checked in by : Robert Osfield +Warning fix + +Wed, 19 Jul 2006 14:46:40 +0000 +Checked in by : Robert Osfield +Added extra initializes + +Wed, 19 Jul 2006 14:30:30 +0000 +Checked in by : Robert Osfield +Added dummy initializers to avoid warning + +Wed, 19 Jul 2006 14:04:16 +0000 +Checked in by : Robert Osfield +Added reset of the event windowSize + +Wed, 19 Jul 2006 13:02:35 +0000 +Checked in by : Robert Osfield +Added mutexes to RealizeCallbaks + +Wed, 19 Jul 2006 12:58:45 +0000 +Checked in by : Robert Osfield +Added scene handler init to custom realize callback + +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. + +Wed, 19 Jul 2006 11:25:26 +0000 +Checked in by : Robert Osfield +Fixed handling of back colour. + +Wed, 19 Jul 2006 08:39:44 +0000 +Checked in by : Robert Osfield +Changed code creating LightPoint on heap to use the stack. + +Tue, 18 Jul 2006 21:00:43 +0000 +Checked in by : Robert Osfield +Updated ChangeLog for rc3. + +Tue, 18 Jul 2006 20:59:22 +0000 +Checked in by : Robert Osfield +Add clause to clean up AUTHORS.txt + +Tue, 18 Jul 2006 20:53:16 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Tue, 18 Jul 2006 20:51:28 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Tue, 18 Jul 2006 20:17:31 +0000 +Checked in by : Robert Osfield +Moved the moveToRootStateGraph(,) from RenderStage::drawImplemenation() to RenderBin::drawImplementation(); + +Tue, 18 Jul 2006 19:26:54 +0000 +Checked in by : Robert Osfield +From Eric Wing, fix for VC6 support + +Tue, 18 Jul 2006 15:21:48 +0000 +Checked in by : Robert Osfield +Updated copyright years. + +Tue, 18 Jul 2006 15:11:41 +0000 +Checked in by : Robert Osfield +Added additional command line docs + +Tue, 18 Jul 2006 13:37:42 +0000 +Checked in by : Robert Osfield +Updated commandline docs + +Tue, 18 Jul 2006 13:24:00 +0000 +Checked in by : Robert Osfield +Updated version for the release + +Tue, 18 Jul 2006 13:17:40 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and authors file. + +Tue, 18 Jul 2006 13:05:26 +0000 +Checked in by : Robert Osfield +From Farshid Lashakari, fixed popStateSet. + +Tue, 18 Jul 2006 13:04:57 +0000 +Checked in by : Robert Osfield +Reduced the verbosity of debug info. + +Tue, 18 Jul 2006 12:48:48 +0000 +Checked in by : Robert Osfield +Updated wrappers + +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. + + + +Tue, 18 Jul 2006 11:42:27 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Tue, 18 Jul 2006 11:03:46 +0000 +Checked in by : Robert Osfield +Added Optimizer::FlattenBillboardsVisitor. + +Mon, 17 Jul 2006 16:36:42 +0000 +Checked in by : Robert Osfield +From Terrex, improvements to handling of layers w.r.t PolygonOffset + +Mon, 17 Jul 2006 13:16:44 +0000 +Checked in by : Robert Osfield +Removed the usage of setenv to avoid portability issues. + +Mon, 17 Jul 2006 11:43:26 +0000 +Checked in by : Robert Osfield +Change Unit to Units to keep consistent with OpenGL naming. + +Mon, 17 Jul 2006 11:37:51 +0000 +Checked in by : Robert Osfield +Added *,/,+ and - keyboard controls for toggling PolygonOffset factor and units + +Mon, 17 Jul 2006 11:36:50 +0000 +Checked in by : Robert Osfield +Added getNumLayers method + +Mon, 17 Jul 2006 10:25:01 +0000 +Checked in by : Robert Osfield +Increased the unit multiplier to 3 to avoid z fighting. + +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. + +Fri, 14 Jul 2006 21:02:02 +0000 +Checked in by : Robert Osfield +Updated osgversion and AUTHORS.txt for release + +Fri, 14 Jul 2006 20:50:03 +0000 +Checked in by : Robert Osfield +Updated ChangeLog for the release + +Fri, 14 Jul 2006 20:46:21 +0000 +Checked in by : Robert Osfield +Updated news for rc2. + +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. + +Fri, 14 Jul 2006 18:37:40 +0000 +Checked in by : Robert Osfield +Updated to officially deprecate VS6.0 support. + +Fri, 14 Jul 2006 18:20:14 +0000 +Checked in by : Robert Osfield +Added optional compilation of setenv code + +Fri, 14 Jul 2006 14:38:55 +0000 +Checked in by : Robert Osfield +Implemented Radeon workaround for polygonoffset + +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. + +Fri, 14 Jul 2006 14:04:54 +0000 +Checked in by : Robert Osfield +Removed the default loading of bluemarble.ive + +Fri, 14 Jul 2006 11:34:13 +0000 +Checked in by : Robert Osfield +Fixed popStateSet + +Fri, 14 Jul 2006 11:29:41 +0000 +Checked in by : Robert Osfield +Removed debug info + +Fri, 14 Jul 2006 11:04:24 +0000 +Checked in by : Robert Osfield +Speeded up merge geometry + +Thu, 13 Jul 2006 20:50:32 +0000 +Checked in by : Robert Osfield +Typo fixes + +Thu, 13 Jul 2006 20:42:10 +0000 +Checked in by : Robert Osfield +Optimized the MERGE_GEODES pass + +Thu, 13 Jul 2006 19:42:55 +0000 +Checked in by : Robert Osfield +Updated ChangeLog + +Thu, 13 Jul 2006 15:56:54 +0000 +Checked in by : Robert Osfield +Updated wrappers + +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 + + + +Thu, 13 Jul 2006 14:58:37 +0000 +Checked in by : Robert Osfield +Added share duplicates traversal to optimizer call + +Thu, 13 Jul 2006 13:00:22 +0000 +Checked in by : Robert Osfield +Fixed Trajce Nikolov name reversal. + +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 + +Thu, 13 Jul 2006 09:12:49 +0000 +Checked in by : Robert Osfield +Fixed typos. + +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. + +Wed, 12 Jul 2006 20:59:06 +0000 +Checked in by : Robert Osfield +Updated NEWS + +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. + +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. + +The other fix is to remove the OF pools from the user data of the +external ProxyNode when it is no longer needed." + + + +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. + +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." + +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()". + +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." + + + +Tue, 11 Jul 2006 10:33:50 +0000 +Checked in by : Robert Osfield +Added preciption effects to NEWS + +Tue, 11 Jul 2006 09:06:31 +0000 +Checked in by : Robert Osfield +Updates osgversion and AUTHORS.txt for typo. + +Thu, 6 Jul 2006 20:44:44 +0000 +Checked in by : Robert Osfield +Updated AUTHORS.txt and ChangeLog for 1.1-rc1 + +Thu, 6 Jul 2006 20:43:23 +0000 +Checked in by : Robert Osfield +Tweak for VS6.0 build + +Thu, 6 Jul 2006 15:47:59 +0000 +Checked in by : Robert Osfield +Fixed scoping for for loop varaible for VS6.0 build. + +Thu, 6 Jul 2006 15:00:51 +0000 +Checked in by : Robert Osfield +Tweaks to try and fix VS6.0 problems. + +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. + +Thu, 6 Jul 2006 14:43:30 +0000 +Checked in by : Robert Osfield +Tweaked for loop variaible definition. + +Thu, 6 Jul 2006 14:36:04 +0000 +Checked in by : Robert Osfield +Updated NEWS and ChangeLog + +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." + +Thu, 6 Jul 2006 14:10:37 +0000 +Checked in by : Robert Osfield +Updated wrappers + +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." + + + +Thu, 6 Jul 2006 13:06:24 +0000 +Checked in by : Robert Osfield +Fixed typo and unpdated AUTHORS file + +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. + +Thu, 6 Jul 2006 11:33:07 +0000 +Checked in by : Robert Osfield +Removed redundent debug message. + +Thu, 6 Jul 2006 11:30:20 +0000 +Checked in by : Robert Osfield +Add "hack" fix for black materials being exported from Maya. + +Thu, 6 Jul 2006 11:08:51 +0000 +Checked in by : Robert Osfield +Tweaked osgversion to catch typos and updates AUTHORS.txt + +Thu, 6 Jul 2006 10:39:40 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and AUTHORS.txt for release + +Thu, 6 Jul 2006 10:28:12 +0000 +Checked in by : Robert Osfield +Updated version numbers for 1.1 release + +Thu, 6 Jul 2006 10:27:40 +0000 +Checked in by : Robert Osfield +Tweaked polygon offset + +Thu, 6 Jul 2006 09:11:15 +0000 +Checked in by : Robert Osfield +From Eric Wing, updaetes to Xcode projects + +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. + + + +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." + +Wed, 5 Jul 2006 21:12:45 +0000 +Checked in by : Robert Osfield +Updated AUTHORS file + +Wed, 5 Jul 2006 21:12:24 +0000 +Checked in by : Robert Osfield +Fixed typo. + +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." + +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." + +Wed, 5 Jul 2006 13:31:38 +0000 +Checked in by : Robert Osfield +Added mutex to the test context. + +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. + +Wed, 5 Jul 2006 12:54:18 +0000 +Checked in by : Robert Osfield +Updated AUTHORS file + +Wed, 5 Jul 2006 12:51:41 +0000 +Checked in by : Robert Osfield +More fixes for typos + +Wed, 5 Jul 2006 10:48:04 +0000 +Checked in by : Robert Osfield +Updated AUTHORS file + +Wed, 5 Jul 2006 10:47:38 +0000 +Checked in by : Robert Osfield +Updated osgversion to correct for ChangeLog typos. + +Wed, 5 Jul 2006 10:29:46 +0000 +Checked in by : Robert Osfield +Updated ChangeLog. + +Wed, 5 Jul 2006 10:24:24 +0000 +Checked in by : Robert Osfield +Updated NEWS. + +Wed, 5 Jul 2006 10:23:39 +0000 +Checked in by : Robert Osfield +First steps towards updating NEWS for 1.1 release + +Wed, 5 Jul 2006 09:52:03 +0000 +Checked in by : Robert Osfield +Fixed warnings + +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." + +Wed, 5 Jul 2006 08:55:23 +0000 +Checked in by : Robert Osfield +From Brede Johansen, renaned FLT_preserveFace to preserveFace + +Tue, 4 Jul 2006 19:58:53 +0000 +Checked in by : Robert Osfield +Changed parameter name from osberver_ptr to observer. + +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. + +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. +" + + + +Tue, 4 Jul 2006 14:37:56 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +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 + ++ 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." + + + +Tue, 4 Jul 2006 13:56:38 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +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. + +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. + +The switch_1701.flt model part of the Creator gallery revealed this bug." + + + +Tue, 4 Jul 2006 12:57:59 +0000 +Checked in by : Robert Osfield +Fix to Registry::read(ReadFunctor) to better handle reporting of errors + +Tue, 4 Jul 2006 11:24:36 +0000 +Checked in by : Robert Osfield +Fixed warnings. + +Tue, 4 Jul 2006 10:55:58 +0000 +Checked in by : Robert Osfield +Warning fix. + +Tue, 4 Jul 2006 10:52:16 +0000 +Checked in by : Robert Osfield +Warning fix + +Tue, 4 Jul 2006 09:46:41 +0000 +Checked in by : Robert Osfield +fixed warning and add a few extra tests + +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. + +Tue, 4 Jul 2006 09:13:15 +0000 +Checked in by : Robert Osfield +From Ulrich Hertlein, updates to DirectX loader + +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. + +Mon, 3 Jul 2006 16:31:30 +0000 +Checked in by : Robert Osfield +Fixed a couple of warnings. + +Mon, 3 Jul 2006 16:21:57 +0000 +Checked in by : Robert Osfield +Fixed orientation and lighting of model. + +Mon, 3 Jul 2006 15:21:08 +0000 +Checked in by : Robert Osfield +Removed template methods that were break VS6.0 build. + +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. + +Mon, 3 Jul 2006 10:47:16 +0000 +Checked in by : Robert Osfield +Added merge geodes and geometries optimizer call + +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." + +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 + +Fri, 30 Jun 2006 13:50:32 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +Fri, 30 Jun 2006 13:50:02 +0000 +Checked in by : Robert Osfield +From Michael Platings, added support for glBlendFuncSeperate. + +Fri, 30 Jun 2006 13:47:12 +0000 +Checked in by : Robert Osfield +From Eric Sokolowsky, made a couple of methods static. + +Thu, 29 Jun 2006 19:38:07 +0000 +Checked in by : Robert Osfield +From David Callu, compile fix for gcc 4.1 + +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. + +Thu, 29 Jun 2006 11:57:15 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Thu, 29 Jun 2006 11:00:08 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +Thu, 29 Jun 2006 10:19:44 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Thu, 29 Jun 2006 10:17:19 +0000 +Checked in by : Robert Osfield +Changed _WIN32 to _MSC_VER + +Thu, 29 Jun 2006 10:06:27 +0000 +Checked in by : Robert Osfield +From Eric Wing, updates to QuickTime plugin + +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. + +Thu, 29 Jun 2006 08:08:39 +0000 +Checked in by : Robert Osfield +Changed unsinged int to GLuint for OSX compile fix. + +Wed, 28 Jun 2006 20:38:32 +0000 +Checked in by : Robert Osfield +Changed unsigned int to GLuint for OSX build. + +Wed, 28 Jun 2006 14:36:28 +0000 +Checked in by : Robert Osfield +Change internal variables across to being GLuint. + +Wed, 28 Jun 2006 11:37:22 +0000 +Checked in by : Robert Osfield +From Eric Wing, updates to Xcode projects + +Wed, 28 Jun 2006 11:27:16 +0000 +Checked in by : Robert Osfield +From Eric Wing, updates to Xcode projects + +Wed, 28 Jun 2006 10:22:04 +0000 +Checked in by : Robert Osfield +Made the new OpenFlight plugin the default. + +Wed, 28 Jun 2006 10:00:54 +0000 +Checked in by : Robert Osfield +Added a setRadius into the screen space LOD. + +Wed, 28 Jun 2006 07:17:56 +0000 +Checked in by : Robert Osfield +From Martin Naylor, build fix for windows. + +Wed, 28 Jun 2006 07:14:39 +0000 +Checked in by : Robert Osfield +Removed old #include entries. + +Tue, 27 Jun 2006 20:13:41 +0000 +Checked in by : Robert Osfield +Added setting of the CameraConfig:TheradModelDirective + +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. + +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 + +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. + +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, + +"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. + + + +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 >. + +Mon, 26 Jun 2006 20:43:18 +0000 +Checked in by : Robert Osfield +Added DeleteHandler flush call. + +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. + + + +Mon, 26 Jun 2006 20:35:10 +0000 +Checked in by : Robert Osfield +Added a functional DeleteHandler. + +Mon, 26 Jun 2006 15:18:14 +0000 +Checked in by : Robert Osfield +Fixed crash on osgconv --compressed cow.osg cow.ive + +Mon, 26 Jun 2006 10:57:17 +0000 +Checked in by : Robert Osfield +Changed GLunit usage to unsigned int. + +Mon, 26 Jun 2006 10:39:38 +0000 +Checked in by : Robert Osfield +From Andreas Ekstrand, fix for Windows + +Mon, 26 Jun 2006 09:56:52 +0000 +Checked in by : Robert Osfield +From Leandro Motta Barros, documentation additions to PrimitiveSet & TriangleFunctor. + +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? + + + +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. + +Mon, 26 Jun 2006 09:09:10 +0000 +Checked in by : Robert Osfield +From Martin Naylor, added osgGA dependency to osgkeyboardmouse + +Fri, 16 Jun 2006 09:28:35 +0000 +Checked in by : Robert Osfield +Fixed typo. + +Mon, 12 Jun 2006 14:04:40 +0000 +Checked in by : Robert Osfield +Added pick handler. + +Mon, 12 Jun 2006 11:32:11 +0000 +Checked in by : Robert Osfield +Revamped osgkeyboardmouse to use the osgGA. + +Mon, 12 Jun 2006 09:57:01 +0000 +Checked in by : Robert Osfield +From Mathew May, FreeBSD build fixes. + +Thu, 8 Jun 2006 15:27:18 +0000 +Checked in by : Robert Osfield +Martin Spindler, new osg::ClampColor state attribute. + +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. + +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. + +Thu, 8 Jun 2006 12:09:51 +0000 +Checked in by : Robert Osfield +From Paul Martz, clean up of comments. + +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 + +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. + + + +Thu, 8 Jun 2006 11:56:07 +0000 +Checked in by : Robert Osfield +From Paul Martz, fixed incorrect filename in project file + +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. + +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:")." + +Thu, 8 Jun 2006 11:19:24 +0000 +Checked in by : Robert Osfield +Added setting of default colour. + +Thu, 8 Jun 2006 11:18:27 +0000 +Checked in by : Robert Osfield +added SphereSegment test code segment, commented out at pressent. + +Mon, 5 Jun 2006 16:25:29 +0000 +Checked in by : Robert Osfield +Added missing clip against maximum azimuth. + +Mon, 5 Jun 2006 16:25:01 +0000 +Checked in by : Robert Osfield +Added extra SphereSegment intersection tests. + +Mon, 5 Jun 2006 16:06:29 +0000 +Checked in by : Robert Osfield +Improved stats sizing in presense of wide screens. + +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. + +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. + +Tue, 23 May 2006 19:03:29 +0000 +Checked in by : Robert Osfield +Ran dos2unix of files + +Mon, 22 May 2006 19:30:07 +0000 +Checked in by : Robert Osfield +Cleaned up the OpenGL error reporting. + +Tue, 16 May 2006 21:32:37 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +Tue, 16 May 2006 21:20:36 +0000 +Checked in by : Robert Osfield +Minor tweaks of ints to unsigned ints + +Tue, 16 May 2006 21:00:45 +0000 +Checked in by : Robert Osfield +From Mike Weiblen, futher work on Uniform array support. + +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. + +Tue, 16 May 2006 10:21:59 +0000 +Checked in by : Robert Osfield +Compile fixes for OSX + +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. + +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. + +The change to Document.h simply adds an enum for VERSION_16_1." + + + +Mon, 15 May 2006 13:13:16 +0000 +Checked in by : Robert Osfield +Replaced BoundingBox with GeospatialExtents. + +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. + +Added path for computing interpolation elevation data being read from GDAL. + + + +Mon, 15 May 2006 11:56:59 +0000 +Checked in by : Robert Osfield +From Eric Wing, removed trailing commans from enum lists. + +Mon, 15 May 2006 11:53:21 +0000 +Checked in by : Robert Osfield +From Eric Wing, compile fix for OSX. + +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. + + + +Mon, 15 May 2006 11:38:56 +0000 +Checked in by : Robert Osfield +From Adrian Egli, added std::ifstream::binary qualifier to ifstream usage. + +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." + +Mon, 15 May 2006 11:22:08 +0000 +Checked in by : Robert Osfield +Changed instances of setCoord(const Vec3) to setCoord(const Vec3&) style. + +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" + +Mon, 15 May 2006 09:55:53 +0000 +Checked in by : Robert Osfield +Added VisualStudio project for Quake3 BSP plugin + +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. + + + +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." + +Tue, 9 May 2006 09:42:17 +0000 +Checked in by : Robert Osfield +From Tree, build fixes for JavaOSG build. + +Tue, 9 May 2006 09:35:12 +0000 +Checked in by : Robert Osfield +From Farshid Lashari, round funciton. + +Tue, 9 May 2006 09:13:07 +0000 +Checked in by : Robert Osfield +Removed redundent variable declaration. + +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." + +Thu, 4 May 2006 19:39:58 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Thu, 4 May 2006 19:36:30 +0000 +Checked in by : Robert Osfield +Added removeChild(unsigned int, unsigned int) back in for backward compatibility. + +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. + +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. + +Tue, 2 May 2006 09:50:00 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +Tue, 2 May 2006 09:49:37 +0000 +Checked in by : Robert Osfield +Fixed docs on GL_SCALE_NORMAL + +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. + + + +Tue, 2 May 2006 09:18:36 +0000 +Checked in by : Robert Osfield +Fixed popping of state frustum. + +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. + +Mon, 1 May 2006 16:13:37 +0000 +Checked in by : Robert Osfield +Ran dos2unix. + +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. + +Mon, 1 May 2006 16:05:16 +0000 +Checked in by : Robert Osfield +From Eric Wing, removed trailing semi colonds from namespace end bracket. + +Mon, 1 May 2006 14:51:56 +0000 +Checked in by : Robert Osfield +From Mathew May, FreeBSD support for AMD64. + +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. + +Tue, 25 Apr 2006 13:50:07 +0000 +Checked in by : Robert Osfield +UPdated wrappers + +Tue, 25 Apr 2006 12:56:33 +0000 +Checked in by : Robert Osfield +Added UseFarLineSegments option + +Tue, 25 Apr 2006 12:39:00 +0000 +Checked in by : Robert Osfield +Implemented seemless update of precipitation properties. + +Tue, 25 Apr 2006 09:00:07 +0000 +Checked in by : Robert Osfield +Reset the default number of graphics context to 1. + +Mon, 24 Apr 2006 21:48:23 +0000 +Checked in by : Robert Osfield +Moved LessFunctor into header. + +Mon, 24 Apr 2006 16:21:10 +0000 +Checked in by : Robert Osfield +Moved PrecipitationParameters directly into PrecipitationEffect. + +Mon, 24 Apr 2006 11:24:08 +0000 +Checked in by : Robert Osfield +Added depth sorting of cells. + +Mon, 24 Apr 2006 10:32:33 +0000 +Checked in by : Robert Osfield +Added near/far compute. + +Mon, 24 Apr 2006 09:35:01 +0000 +Checked in by : Robert Osfield +Added osgParticle dependency to osgPrecipitation example. + +Mon, 24 Apr 2006 08:37:04 +0000 +Checked in by : Robert Osfield +Added osgUtil to the osgParticle dependencies. + +Mon, 24 Apr 2006 06:36:26 +0000 +Checked in by : Robert Osfield +Added support for wind. + +Sat, 22 Apr 2006 15:08:07 +0000 +Checked in by : Robert Osfield +Moved PrecipitationEffect node into osgParticle. + +Sat, 22 Apr 2006 15:07:36 +0000 +Checked in by : Robert Osfield +Decreased notify level of debug message. + +Sat, 22 Apr 2006 06:33:01 +0000 +Checked in by : Robert Osfield +Moved PrecipitationDrawable into PrecipitationEffect. + +Fri, 21 Apr 2006 19:39:05 +0000 +Checked in by : Robert Osfield +Added new precipitation nodes. + +Fri, 21 Apr 2006 17:16:49 +0000 +Checked in by : Don BURNS +Fixed a cut-n-paste error in the ground intersects. + +Wed, 19 Apr 2006 19:00:04 +0000 +Checked in by : Robert Osfield +Fixed mouse scroll mapping. + +Wed, 19 Apr 2006 13:04:21 +0000 +Checked in by : Robert Osfield +Convertered shaders across to using modelview matrix instead of uniforms. + +Mon, 17 Apr 2006 19:10:06 +0000 +Checked in by : Robert Osfield +Standardised the bin number of the particle effects + +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. + +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. + +Fri, 14 Apr 2006 15:03:36 +0000 +Checked in by : Robert Osfield +Further tweaks to settings to improve performance at mid intensity ranges + +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. + +Fri, 14 Apr 2006 11:04:11 +0000 +Checked in by : Robert Osfield +Added fog parameters settings. + +Fri, 14 Apr 2006 08:28:35 +0000 +Checked in by : Robert Osfield +From Ben Discoe, added missing drawable->dirtyDisplayList(). + +Thu, 13 Apr 2006 20:21:55 +0000 +Checked in by : Robert Osfield +Added --numberOfParticles, --numberOfCellsX, --numberOfCellsY, --numberOfCellsZ, --boundingBox, --fogEnd and --fogDensity controls + +Thu, 13 Apr 2006 19:05:26 +0000 +Checked in by : Robert Osfield +Added command line options and various speed improvements. + +Wed, 12 Apr 2006 11:59:07 +0000 +Checked in by : Robert Osfield +Implement positioning of cells via vertex attribute. + +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. + +Changed the quad to particle transistion distance from 100 to 50m. + + + +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. + +Tue, 11 Apr 2006 13:22:59 +0000 +Checked in by : Robert Osfield +Added support for point sprite particle effects. + +Tue, 11 Apr 2006 10:53:46 +0000 +Checked in by : Robert Osfield +Added point and line paths. + +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. + +Mon, 10 Apr 2006 15:45:59 +0000 +Checked in by : Robert Osfield +From Martin Naylor, osgprecipitation project file. + +Fri, 7 Apr 2006 19:54:44 +0000 +Checked in by : Robert Osfield +Added mipmap generation. + +Fri, 7 Apr 2006 18:24:52 +0000 +Checked in by : Robert Osfield +Added quad based rain effect + +Thu, 6 Apr 2006 14:06:22 +0000 +Checked in by : Robert Osfield +From Brede Johansen, added MergeGeode visitor to osgUtil::Optimizer. + +Wed, 5 Apr 2006 15:13:17 +0000 +Checked in by : Robert Osfield +Added beginings osgprecipitation example. + +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. + +Tue, 4 Apr 2006 14:10:48 +0000 +Checked in by : Robert Osfield +Added missing .js file. + +Tue, 4 Apr 2006 13:47:35 +0000 +Checked in by : Robert Osfield +From Joran Jessurun and Chris Hanson, Visual Studio Static build support. + +Tue, 4 Apr 2006 13:20:12 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +Tue, 4 Apr 2006 12:58:56 +0000 +Checked in by : Robert Osfield +Converted SceneHandlerList to use Producer::ref_ptr<> + +Tue, 4 Apr 2006 12:53:10 +0000 +Checked in by : Robert Osfield +From Eric Wing, XCode project files. + +Mon, 3 Apr 2006 19:14:58 +0000 +Checked in by : Robert Osfield +#if'd out use of barrier for stats collection. + +Mon, 3 Apr 2006 18:25:31 +0000 +Checked in by : Robert Osfield +Temporary fix for hang in stats when multi-threaded. + +Fri, 31 Mar 2006 01:37:38 +0000 +Checked in by : Don BURNS +Don Tidrow's ifdef for MingW + +Thu, 30 Mar 2006 10:20:11 +0000 +Checked in by : Robert Osfield +Build fixes to cope with changes to Producer/osgProducer. + +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 + +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. + +Tue, 28 Mar 2006 14:45:48 +0000 +Checked in by : Robert Osfield +From Glenn Waldrom, addition of .ive support for PriorityOffset and PriorityScale. + +Tue, 28 Mar 2006 10:45:15 +0000 +Checked in by : Robert Osfield +From Eric Sokolosky, added help for PRODUCER_CAMERA_BLOCK_ON_VSYNC + +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. + +Mon, 27 Mar 2006 20:30:10 +0000 +Checked in by : Robert Osfield +Updated ChangeLog. + +Sat, 18 Mar 2006 07:07:19 +0000 +Checked in by : Robert Osfield +From Farshid Lasharki, added IO suppoty fo osgParticle::ConstantRateContour + +Fri, 17 Mar 2006 22:25:32 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +Fri, 17 Mar 2006 22:23:37 +0000 +Checked in by : Robert Osfield +Added exports. + +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"?#! + +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. + +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 + +Wed, 15 Mar 2006 15:49:21 +0000 +Checked in by : Robert Osfield +Added createEvent() convinience method. + +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. + +Wed, 15 Mar 2006 12:26:10 +0000 +Checked in by : Robert Osfield +Added moving sphere segment intersections. + +Wed, 15 Mar 2006 11:21:44 +0000 +Checked in by : Robert Osfield +From Martin Naylor, build fix for Win32. + +Wed, 15 Mar 2006 10:36:10 +0000 +Checked in by : Robert Osfield +From Martin Naylor, added ESRIShape.dsp project + +Tue, 14 Mar 2006 13:18:21 +0000 +Checked in by : Robert Osfield +Build fixes + +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. + +Tue, 14 Mar 2006 09:23:30 +0000 +Checked in by : Robert Osfield +From Martin Naylor, added normals VS project + +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 + +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." + + + +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." + +Mon, 13 Mar 2006 13:19:37 +0000 +Checked in by : Robert Osfield +Added an EventQueue directly into osgProducer::Viewer. + +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. + +Thu, 9 Mar 2006 13:02:11 +0000 +Checked in by : Robert Osfield +Ran dos2unix on new OpenFlight files. + +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 + + + +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. + +Wed, 8 Mar 2006 15:40:02 +0000 +Checked in by : Robert Osfield +Added EventQueue. + +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." + +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." + +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. + +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. + + + +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. + +Removed osgProducer::EventAdapter as GUIEventAdapter replaces it. + +Adapted osgProducer and examples to work with the new changes to osgGA. + + + +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. + +Sun, 5 Mar 2006 20:46:59 +0000 +Checked in by : Robert Osfield +Began work on making EventVisitor capable of adapting events directly. + +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 " + +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. + +Thu, 2 Mar 2006 15:26:12 +0000 +Checked in by : Robert Osfield +From Robert Swain, compile fix for debian unstable. + +Thu, 2 Mar 2006 14:58:13 +0000 +Checked in by : Robert Osfield +From Farshid Lashakari, support for png write. + +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" + + + +Tue, 28 Feb 2006 21:18:45 +0000 +Checked in by : Robert Osfield +Added TextureRectangle.cpp + +Tue, 28 Feb 2006 20:10:25 +0000 +Checked in by : Robert Osfield +Compile fix. + +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). + +Tue, 28 Feb 2006 19:36:18 +0000 +Checked in by : Robert Osfield +Further clean up of RefNodePath references. + +Tue, 28 Feb 2006 19:12:27 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +Tue, 28 Feb 2006 18:54:29 +0000 +Checked in by : Robert Osfield +Fixes to removed dependency on RefNodePath. + +Mon, 27 Feb 2006 19:51:32 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +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. + + + +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. + + + +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. + +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. + +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." + + + +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. + +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. + +Thu, 23 Feb 2006 20:37:19 +0000 +Checked in by : Robert Osfield +Completed .osg support for ClusterCullingCallback. + +Thu, 23 Feb 2006 16:47:36 +0000 +Checked in by : Robert Osfield +Disabled the running of tristripping and smoothing from within the Simplifier. + +Thu, 23 Feb 2006 12:41:05 +0000 +Checked in by : Robert Osfield +From Gordon Tomlinson, spelling fixes. + +Thu, 23 Feb 2006 12:39:31 +0000 +Checked in by : Robert Osfield +Fixed function name call. + +Wed, 22 Feb 2006 20:51:26 +0000 +Checked in by : Robert Osfield +Fixed getBound() comment. + +Wed, 22 Feb 2006 19:28:34 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +Wed, 22 Feb 2006 19:14:01 +0000 +Checked in by : Robert Osfield +Fixed typo of Validity. + +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. + +Wed, 22 Feb 2006 14:35:06 +0000 +Checked in by : Robert Osfield +Fixed documentation. + +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. + +Tue, 21 Feb 2006 21:29:49 +0000 +Checked in by : Robert Osfield +Added ClusterCullingCallback.cpp + +Tue, 21 Feb 2006 21:28:57 +0000 +Checked in by : Robert Osfield +Added initial cut of ClusterCullingCallback .osg support. + +Tue, 21 Feb 2006 14:34:58 +0000 +Checked in by : Robert Osfield +From Gordon Tomlinson, spelling fixes. + +Tue, 21 Feb 2006 13:55:30 +0000 +Checked in by : Robert Osfield +From Gordon Tomlinson, VS2005 Syntax highling regonition. + +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." + + + +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" + +Mon, 20 Feb 2006 21:05:23 +0000 +Checked in by : Robert Osfield +From Ulrich Hertlein, spelling corrections and a few Doxgen comments. + +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." + +Mon, 20 Feb 2006 19:13:11 +0000 +Checked in by : Robert Osfield +From Nathan Monteleone, addition of AutoTransform support. + +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. + +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." + + + +Mon, 20 Feb 2006 15:46:29 +0000 +Checked in by : Robert Osfield +Added missing swap byte operations to readVec*sArray() methods. + +Mon, 20 Feb 2006 15:32:03 +0000 +Checked in by : Robert Osfield +From Daniel Larimer, fixed error is swap byte code handling vector + +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." + +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]). + +Thu, 9 Feb 2006 12:20:42 +0000 +Checked in by : Robert Osfield +Added BlenColour(Vec4) constructor and updated wrappers. + +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. + +Mon, 6 Feb 2006 20:36:09 +0000 +Checked in by : Robert Osfield +Added s/getDoTriStrip and s/getSmoothing method. + +Mon, 6 Feb 2006 19:41:30 +0000 +Checked in by : Don BURNS +Added normals and ESRIshape directories to makedirdefs + +Mon, 6 Feb 2006 19:40:45 +0000 +Checked in by : Don BURNS +Added 'normals' pseudoloader + +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. + +Mon, 6 Feb 2006 17:12:35 +0000 +Checked in by : Robert Osfield +Added support for up sampling by dividing longest edges. + +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. + +Sat, 4 Feb 2006 21:25:33 +0000 +Checked in by : Robert Osfield +From Edmond Gheury, fixe and bug in the PrimitiveShapeVisitor. + +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" + + + +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. + +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. + +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 + +Tue, 24 Jan 2006 12:02:40 +0000 +Checked in by : Robert Osfield +cleaned up clampNearNar code. + +Mon, 23 Jan 2006 20:38:28 +0000 +Checked in by : Robert Osfield +Improved the env var reporting to avoid the overlong lines. + +Mon, 23 Jan 2006 20:16:05 +0000 +Checked in by : Robert Osfield +Added explanation of --no-terrain-simplification + +Sat, 21 Jan 2006 13:02:03 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +Wed, 18 Jan 2006 12:16:45 +0000 +Checked in by : Robert Osfield +From Marco Jez, adding osgDB::findDataFile() usage. + +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. + +Syntax is: +BIND_TEXTURE_MAP + + + +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. + +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. + +Tue, 17 Jan 2006 17:04:40 +0000 +Checked in by : Robert Osfield +From Zbigniew Sroczynski, fix for handling of paths with spaces. + +Tue, 17 Jan 2006 15:18:44 +0000 +Checked in by : Robert Osfield +Added new BoxPlacer files. + +Tue, 17 Jan 2006 15:17:15 +0000 +Checked in by : Robert Osfield +From Zach Deedler, addition of osgParticle/BoxSpacer. + +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. + +Mon, 16 Jan 2006 17:03:34 +0000 +Checked in by : Robert Osfield +Fixed indenting. + +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. + +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. + +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. + +Mon, 2 Jan 2006 12:03:18 +0000 +Checked in by : Robert Osfield +Standardised compile code to use _maximumNumOfObjectsToCompilePerFrame. + +Fri, 23 Dec 2005 10:59:31 +0000 +Checked in by : Robert Osfield +Ported picking across to using PickVisitor. + +Fri, 23 Dec 2005 10:59:12 +0000 +Checked in by : Robert Osfield +Added setting of the parent path on the new PickVisitor. + +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. + +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" + +OR + + file shader.vert. + + + +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. + +Tue, 20 Dec 2005 09:13:59 +0000 +Checked in by : Robert Osfield +From Farshid Lashkari, compile fix + +Mon, 19 Dec 2005 15:05:26 +0000 +Checked in by : Robert Osfield +Added check against the validity of the _inverse matrix pointer. + +Mon, 19 Dec 2005 14:48:04 +0000 +Checked in by : Robert Osfield +From Ali Botorabi, adding of osg::Depth support in .ive format. + +Mon, 19 Dec 2005 13:57:04 +0000 +Checked in by : Robert Osfield +Added debugging info for future reference (currently commented out.) + +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. + +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. + +Mon, 19 Dec 2005 11:18:26 +0000 +Checked in by : Robert Osfield +From Eric Wing, made getLineCount() const. + +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. + +Fri, 16 Dec 2005 17:01:30 +0000 +Checked in by : Robert Osfield +Fixed null matrix op. + +Fri, 16 Dec 2005 16:27:17 +0000 +Checked in by : Robert Osfield +Fixed handling of absolute transforms in IntersectVisitor. + +Fri, 16 Dec 2005 14:53:51 +0000 +Checked in by : Robert Osfield +Fixed typo in text string. + +Fri, 16 Dec 2005 11:04:33 +0000 +Checked in by : Robert Osfield +Added back in Switch::removeChild(Node*) + +Thu, 15 Dec 2005 20:56:06 +0000 +Checked in by : Robert Osfield +Added proper catch of Paul de Repentinguy name + +Thu, 15 Dec 2005 19:38:24 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +Thu, 15 Dec 2005 17:14:40 +0000 +Checked in by : Robert Osfield +Improved stats handling, and fixed a couple of stats bugs. + +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. + +Thu, 15 Dec 2005 16:24:22 +0000 +Checked in by : Robert Osfield +From Matthew May, fixes for threading problems under FreeBSD build. + +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). + +Thu, 15 Dec 2005 15:36:55 +0000 +Checked in by : Robert Osfield +From Paul de Repentigny, ciyple fo fixes for the DXF reader. + +Thu, 15 Dec 2005 15:25:02 +0000 +Checked in by : Robert Osfield +From Yefei He, fix to QUAD_STRIP stats. + +Fri, 9 Dec 2005 22:53:32 +0000 +Checked in by : Robert Osfield +Updated version/revision for 1.0.0 release. + +Fri, 9 Dec 2005 20:17:11 +0000 +Checked in by : Robert Osfield +Updated NEWS and AUTHORS files for the release. + +Fri, 9 Dec 2005 20:10:22 +0000 +Checked in by : Robert Osfield +Updated ChangeLog for 1.0 release. + +Fri, 9 Dec 2005 20:03:04 +0000 +Checked in by : Robert Osfield +Fixed typo in comments and onscreen help. + +Fri, 9 Dec 2005 19:54:31 +0000 +Checked in by : Robert Osfield +Fixed the text to match the implementation. + +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. + +Fri, 9 Dec 2005 19:14:55 +0000 +Checked in by : Robert Osfield +From Simon Julier, library reordering for compiling osgTerrain under cygwin. + +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. + +Fri, 9 Dec 2005 15:05:50 +0000 +Checked in by : Robert Osfield +From Simon Julier, fix for .exe extension under Mingw/Cygwin. + +Fri, 9 Dec 2005 14:52:19 +0000 +Checked in by : Robert Osfield +Build fix for VS6.0 in the template constructors + +Fri, 9 Dec 2005 11:22:09 +0000 +Checked in by : Robert Osfield +From Eric Wing, added missing removeChildren method. + +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. + +Thu, 8 Dec 2005 22:12:42 +0000 +Checked in by : Robert Osfield +Updated NEWS. + +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. + +Thu, 8 Dec 2005 14:08:09 +0000 +Checked in by : Robert Osfield +From Simon Julier, fixed typo of unknown. + +Thu, 8 Dec 2005 12:02:06 +0000 +Checked in by : Robert Osfield +Updated AUTHORS and ChangeLog for rc9. + +Thu, 8 Dec 2005 11:53:06 +0000 +Checked in by : Robert Osfield +Updated NEWS from wiki ammendments. + +Thu, 8 Dec 2005 11:37:55 +0000 +Checked in by : Robert Osfield +From Simon Julier, build fixes for Cygwin/mingw + +Thu, 8 Dec 2005 11:01:38 +0000 +Checked in by : Robert Osfield +Added support for pre and post relative transforms on cameranode. + +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. + +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. + +Thu, 8 Dec 2005 08:57:16 +0000 +Checked in by : Robert Osfield +From Eric Wing, fix to comment. + +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. + +Changed the EventVisitor so that it only traveses active children rather than +all children. + +Updated wrappers. + + + +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 + +Wed, 7 Dec 2005 12:29:36 +0000 +Checked in by : Robert Osfield +Updated NEWS for release + +Wed, 7 Dec 2005 11:38:39 +0000 +Checked in by : Robert Osfield +From Eric Wing, fixed typo induced bug. + +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. + +Wed, 7 Dec 2005 10:25:50 +0000 +Checked in by : Robert Osfield +Moved PickVistor into osgUtil + +Wed, 7 Dec 2005 09:48:28 +0000 +Checked in by : Robert Osfield +Enabled thread safe counting by default. + +Tue, 6 Dec 2005 21:59:43 +0000 +Checked in by : Robert Osfield +Improved the PickVisitor to make it more flexible and robust. + +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. + +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. + +Tue, 6 Dec 2005 10:26:48 +0000 +Checked in by : Robert Osfield +From Gideon May, fixed typo in docs. + +Tue, 6 Dec 2005 10:18:33 +0000 +Checked in by : Robert Osfield +From Farshid Lashkari, removed second redundent dirtyDisplayList() call. + +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. + +Mon, 5 Dec 2005 20:11:50 +0000 +Checked in by : Robert Osfield +Changed debug message to INFO. + +Mon, 5 Dec 2005 10:24:02 +0000 +Checked in by : Robert Osfield +Attempt at build fixes for IRIX. + +Mon, 5 Dec 2005 10:23:37 +0000 +Checked in by : Robert Osfield +Removed the closeLibraries call from the registry singleton desctuction. + +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. + +Sun, 4 Dec 2005 20:08:41 +0000 +Checked in by : Robert Osfield +Fixed tabbing. + +Sat, 3 Dec 2005 15:12:52 +0000 +Checked in by : Robert Osfield +Added OSG_EXPORT to PrimitiveSet. + +Sat, 3 Dec 2005 00:03:31 +0000 +Checked in by : Robert Osfield +Moved the body of the getNumPrimitives() into the .cpp. + +Fri, 2 Dec 2005 12:30:14 +0000 +Checked in by : Robert Osfield +Updated ChangeLog, AUTHTORS.txt and osgversion for next release candidate. + +Fri, 2 Dec 2005 12:10:02 +0000 +Checked in by : Robert Osfield +Fixed typos in NEWS, improved formating. + +Fri, 2 Dec 2005 11:59:36 +0000 +Checked in by : Robert Osfield +Updated NEWS with quotes. + +Fri, 2 Dec 2005 09:57:19 +0000 +Checked in by : Robert Osfield +Added a static_cast to get round IRIX64 build problem. + +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. + +Fri, 2 Dec 2005 00:21:00 +0000 +Checked in by : Robert Osfield +Updated NEWS + +Thu, 1 Dec 2005 16:44:40 +0000 +Checked in by : Robert Osfield +Updated NEWS + +Thu, 1 Dec 2005 16:43:40 +0000 +Checked in by : Robert Osfield +Added comments. + +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. + +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. + +Thu, 1 Dec 2005 13:38:27 +0000 +Checked in by : Robert Osfield +From Thom DeCarlo, build fix for Cygwin. + +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. + +Wed, 30 Nov 2005 15:30:40 +0000 +Checked in by : Robert Osfield +Updated NEWS. + +Tue, 29 Nov 2005 22:29:44 +0000 +Checked in by : Robert Osfield +Updated changed log for 1.0-rc7. + +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. + + + +Tue, 29 Nov 2005 14:20:37 +0000 +Checked in by : Robert Osfield +Updated ChangeLog, osgversion.cpp and AUTHORS.txt for 1.0-rc6. + +Tue, 29 Nov 2005 14:07:39 +0000 +Checked in by : Robert Osfield +Updated NEWS with second draft of press release. + +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. + +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'" + +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. + +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. + +Mon, 28 Nov 2005 10:58:09 +0000 +Checked in by : Robert Osfield +Fixed warning. + +Mon, 28 Nov 2005 09:15:46 +0000 +Checked in by : Robert Osfield +From Gideon May, port to OSX of GLUT examples. + +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. + +Fri, 25 Nov 2005 20:23:07 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and authors file. + +Fri, 25 Nov 2005 19:18:12 +0000 +Checked in by : Robert Osfield +From John Donovan, typo fixes. + +Fri, 25 Nov 2005 14:58:37 +0000 +Checked in by : Robert Osfield +Added disable of spurious VS6.0 warning. + +Fri, 25 Nov 2005 13:45:23 +0000 +Checked in by : Robert Osfield +Fixed docs of setImage. + +Fri, 25 Nov 2005 12:31:04 +0000 +Checked in by : Robert Osfield +Added releaseGLObjects to PrimitiveSet. + +Fri, 25 Nov 2005 10:32:25 +0000 +Checked in by : Robert Osfield +Fixed typo of dxf. + +Thu, 24 Nov 2005 19:53:20 +0000 +Checked in by : Robert Osfield +Lightened by the ambientBias term. + +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. + +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.) + +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. + +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. + +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. + +Wed, 23 Nov 2005 16:24:50 +0000 +Checked in by : Robert Osfield +Updated AUTHORES, ChangeLog, NEWS and version number for 1.0-rc6 + +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. + +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. + +Wed, 23 Nov 2005 12:16:22 +0000 +Checked in by : Robert Osfield +Fixed mistmatch of ReadFileCallback type. + +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. + +Wed, 23 Nov 2005 10:15:11 +0000 +Checked in by : Robert Osfield +From Marco Jez, typo fix if GL extension name. + +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. + +Tue, 22 Nov 2005 14:35:12 +0000 +Checked in by : Robert Osfield +From Markus Trenkwalder, fixed placment of libs in mingw build. + +Tue, 22 Nov 2005 13:56:50 +0000 +Checked in by : Robert Osfield +Added missing dirtyDisplayList call into osg::Geometry::set calls. + +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. + +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. + +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. + +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. + +Tue, 22 Nov 2005 09:51:02 +0000 +Checked in by : Robert Osfield +From Eric Wing, warning fixes for gcc4.0/OSX. + +Tue, 22 Nov 2005 09:47:18 +0000 +Checked in by : Robert Osfield +From Marco Jez, fix for wchar_t being redefined. + +Mon, 21 Nov 2005 16:29:47 +0000 +Checked in by : Robert Osfield +Updated NEWS + +Mon, 21 Nov 2005 16:15:48 +0000 +Checked in by : Robert Osfield +Updated ChangeLog and authors file. + +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 + +Sun, 20 Nov 2005 22:07:43 +0000 +Checked in by : Robert Osfield +Replaced asserts with notification of error. + +Sun, 20 Nov 2005 22:06:16 +0000 +Checked in by : Robert Osfield +From Donn Mielcarek, added support Materials being declared globally. + +Sat, 19 Nov 2005 12:18:51 +0000 +Checked in by : Robert Osfield +Updated ChangeLog, osgversion and AUTHORS file. + +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. + +Fri, 18 Nov 2005 15:00:34 +0000 +Checked in by : Robert Osfield +Added s/getCenter and s/getRotation methods, and updated wrapper. + +Fri, 18 Nov 2005 14:49:05 +0000 +Checked in by : Robert Osfield +From Toshiyuki Takeahei, addition of s/getDistance() methods + +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. + +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. + +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. + +Thu, 17 Nov 2005 20:22:55 +0000 +Checked in by : Robert Osfield +Replaced tabs with spaces in examples. + +Thu, 17 Nov 2005 17:45:04 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +Thu, 17 Nov 2005 17:44:48 +0000 +Checked in by : Robert Osfield +Convert tabs to spaces. + +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. + +Thu, 17 Nov 2005 15:03:51 +0000 +Checked in by : Robert Osfield +Replaced tabs with spaces. + +Thu, 17 Nov 2005 13:35:53 +0000 +Checked in by : Robert Osfield +Coverted tabs to space in core libraries. + +Thu, 17 Nov 2005 11:27:25 +0000 +Checked in by : Robert Osfield +From Toshiyuki Takahei, fixed order intialiation problem in Viewer::selectCameraManipulator(..). + +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()" + +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. + +Thu, 17 Nov 2005 11:09:22 +0000 +Checked in by : Robert Osfield +From Eric Sokolosky, made spacing more consistent. + +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. + +Thu, 17 Nov 2005 09:57:40 +0000 +Checked in by : Robert Osfield +Improved handling of core OSG being compile with float Matrices. + +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. + +Wed, 16 Nov 2005 21:08:16 +0000 +Checked in by : Robert Osfield +Removed redundent copyop. + +Wed, 16 Nov 2005 20:27:28 +0000 +Checked in by : Robert Osfield +Ran dos2unix on makefile. + +Wed, 16 Nov 2005 16:35:56 +0000 +Checked in by : Robert Osfield +Started experimenting with sections and table of contents. + +Wed, 16 Nov 2005 16:30:51 +0000 +Checked in by : Robert Osfield +Converted remaining osg::Matrix usage to osg::Matrixd. + +Wed, 16 Nov 2005 12:14:18 +0000 +Checked in by : Robert Osfield +Updated changelog and authors file. + +Wed, 16 Nov 2005 12:07:21 +0000 +Checked in by : Robert Osfield +Fixed typo entry. + +Wed, 16 Nov 2005 09:28:09 +0000 +Checked in by : Robert Osfield +From Mike Weiblen, support for ARB_texture_rectangle extension name. + +Tue, 15 Nov 2005 22:18:29 +0000 +Checked in by : Robert Osfield +From Joakim Simonsson/Robert Osfield. Fixed line endings. + +Tue, 15 Nov 2005 22:14:50 +0000 +Checked in by : Robert Osfield +Did a unix2dos and trimmed end of file of rendundent newlines. + +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. + +Tue, 15 Nov 2005 21:47:24 +0000 +Checked in by : Robert Osfield +From Eric Wing, compile fixes. + +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." + +Tue, 15 Nov 2005 18:31:40 +0000 +Checked in by : Robert Osfield +From Sean Spicer, compile fixes for Intel compiler. + +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 + +Tue, 15 Nov 2005 16:06:09 +0000 +Checked in by : Robert Osfield +Fixed typo of Jason. + +Tue, 15 Nov 2005 15:07:43 +0000 +Checked in by : Robert Osfield +Updated authors list from osgversion -r ChangeLog output. + +Tue, 15 Nov 2005 15:07:17 +0000 +Checked in by : Robert Osfield +Updated the output of the contributors list. + +Tue, 15 Nov 2005 14:25:03 +0000 +Checked in by : Robert Osfield +Added catch of erase of the last element of heap. + +Tue, 15 Nov 2005 11:43:29 +0000 +Checked in by : Robert Osfield +From Marco Jez, warning fixes. + +Tue, 15 Nov 2005 11:39:48 +0000 +Checked in by : Robert Osfield +Warning fixes. + +Tue, 15 Nov 2005 11:23:44 +0000 +Checked in by : Robert Osfield +Warning fix. + +Tue, 15 Nov 2005 10:05:31 +0000 +Checked in by : Robert Osfield +Added remapping of Drew's fullname. + +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 + +Tue, 15 Nov 2005 08:43:24 +0000 +Checked in by : Robert Osfield +Warning fix. + +Mon, 14 Nov 2005 21:40:28 +0000 +Checked in by : Robert Osfield +Fixed handling of initials. + +Mon, 14 Nov 2005 20:54:53 +0000 +Checked in by : Robert Osfield +Added typo correction for "Jolley". + +Mon, 14 Nov 2005 20:51:28 +0000 +Checked in by : Robert Osfield +Added more typo catches. + +Mon, 14 Nov 2005 17:21:49 +0000 +Checked in by : Robert Osfield +Further improvements to the name filtering. + +Mon, 14 Nov 2005 17:15:58 +0000 +Checked in by : Robert Osfield +Improved handling on special characters in names + +Mon, 14 Nov 2005 17:07:11 +0000 +Checked in by : Robert Osfield +Added support for mining the ChangeLog for a list of contributors. + +Mon, 14 Nov 2005 13:34:47 +0000 +Checked in by : Robert Osfield +Updated changelog. + +Mon, 14 Nov 2005 12:49:05 +0000 +Checked in by : Robert Osfield +Fixed warnings in geo plugin + +Mon, 14 Nov 2005 11:14:58 +0000 +Checked in by : Robert Osfield +Updated package version to 1.0,0 + +Mon, 14 Nov 2005 11:08:16 +0000 +Checked in by : Robert Osfield +From Toshiyuki Takehei, typo fix of getTrackerMode(). + +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. + +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." + +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. + +Sat, 12 Nov 2005 13:38:32 +0000 +Checked in by : Robert Osfield +Added support for ConnectedParticleSystem. + +Sat, 12 Nov 2005 13:27:49 +0000 +Checked in by : Robert Osfield +Added .osg support for osgParticle::SmokeTrailEffect + +Fri, 11 Nov 2005 19:29:53 +0000 +Checked in by : Robert Osfield +Updated ChangeLog + +Fri, 11 Nov 2005 17:00:36 +0000 +Checked in by : Robert Osfield +Added scene stats support to osgProducer::ViewerEventHandler. + +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. + +Fri, 11 Nov 2005 12:45:59 +0000 +Checked in by : Robert Osfield +Fixes for VS6.0 build. + +Fri, 11 Nov 2005 08:45:18 +0000 +Checked in by : Robert Osfield +From Markus Trenkwalder, fix for Mingw build + +Thu, 10 Nov 2005 20:56:16 +0000 +Checked in by : Robert Osfield +From Marco Jez, compile for a syntax error problem. + +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. + +Thu, 10 Nov 2005 20:04:16 +0000 +Checked in by : Robert Osfield +Fixes for VS6.0 + +Thu, 10 Nov 2005 19:32:37 +0000 +Checked in by : Robert Osfield +Fixes for dumb VS6.0 compiler + +Thu, 10 Nov 2005 19:16:01 +0000 +Checked in by : Robert Osfield +Fixes for VS6.0 + +Thu, 10 Nov 2005 17:24:41 +0000 +Checked in by : Robert Osfield +Compile fixes for VS6.0. + +Thu, 10 Nov 2005 16:47:48 +0000 +Checked in by : Robert Osfield +From Markus Trenkwalder, added freetype-config support to Mingw section. + +Thu, 10 Nov 2005 15:52:02 +0000 +Checked in by : Robert Osfield +Added osgshaderterrain and osgparametric to runexamples.bat + +Thu, 10 Nov 2005 15:27:49 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Thu, 10 Nov 2005 15:25:06 +0000 +Checked in by : Robert Osfield +Added better control for cancel GraphicsThreads. + +Thu, 10 Nov 2005 14:41:42 +0000 +Checked in by : Robert Osfield +Ran unix2dos on OpenSceneGraph.dsw + +Thu, 10 Nov 2005 11:56:18 +0000 +Checked in by : Robert Osfield +Fixed typo of CoordinateSystem. + +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. + +Thu, 10 Nov 2005 10:29:56 +0000 +Checked in by : Robert Osfield +Added checks against the values returned from dynamic_cast<>'s. + +Thu, 10 Nov 2005 09:42:34 +0000 +Checked in by : Robert Osfield +Compile fixes for VS7.1 + +Wed, 9 Nov 2005 22:09:46 +0000 +Checked in by : Don BURNS +small change to test osg-cvs.... + +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) + +Wed, 9 Nov 2005 20:30:47 +0000 +Checked in by : Robert Osfield +Updated wrappers + +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. + +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. + +Wed, 9 Nov 2005 17:20:15 +0000 +Checked in by : Robert Osfield +Added some docs on command line options. + +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. + +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. + +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. + +Wed, 9 Nov 2005 15:27:30 +0000 +Checked in by : Robert Osfield +Quick updates to NEWS. + +Wed, 9 Nov 2005 15:19:11 +0000 +Checked in by : Robert Osfield +Updated ChangeLog + +Wed, 9 Nov 2005 15:14:15 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +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. + +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 + +Wed, 9 Nov 2005 13:39:08 +0000 +Checked in by : Robert Osfield +Reduced the size of the "oversized" cessna.osg + +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. + +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. + +Wed, 9 Nov 2005 11:59:18 +0000 +Checked in by : Robert Osfield +Added dxf VS6.0 project + +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. + +Wed, 9 Nov 2005 10:41:52 +0000 +Checked in by : Robert Osfield +Fixed warnings. + +Wed, 9 Nov 2005 10:37:10 +0000 +Checked in by : Robert Osfield +Fixed compile warning. + +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. + +Tue, 8 Nov 2005 16:41:34 +0000 +Checked in by : Robert Osfield +Added .ive support for osg::Texture SourceFormat and SourceType + +Tue, 8 Nov 2005 16:22:33 +0000 +Checked in by : Robert Osfield +Added support for SourceType and SourceFormat to .osg. + +Tue, 8 Nov 2005 16:02:09 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +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. + + + +Tue, 8 Nov 2005 14:03:00 +0000 +Checked in by : Robert Osfield +Updated wrappers + +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. + +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. + +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. + +Mon, 7 Nov 2005 16:52:09 +0000 +Checked in by : Robert Osfield +Renamed VisualStudio.dsw to OpenSceneGraph.dsw + +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. + +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 + +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. + +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. + +Mon, 7 Nov 2005 13:54:25 +0000 +Checked in by : Robert Osfield +From Marco Jez, Added an unregister of the GraphicsContextImplement on unload. + +Mon, 7 Nov 2005 12:41:32 +0000 +Checked in by : Robert Osfield +From David Spilling, fix for typo of OVERRIDE. + +Mon, 7 Nov 2005 11:14:23 +0000 +Checked in by : Robert Osfield +From Gideon May, compile fixes for OSX. + +Mon, 7 Nov 2005 11:09:59 +0000 +Checked in by : Robert Osfield +From Norman Vine, "Cygwin uses unix style path separators" + +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. + +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." + + + +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.--------------------------------------------------- + + + +Fri, 4 Nov 2005 19:00:49 +0000 +Checked in by : Robert Osfield +Added extra debugging checks on FBO's + +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. + +Thu, 3 Nov 2005 21:35:45 +0000 +Checked in by : Robert Osfield +Improvements to CameraNode IO support, now handles render to texture. + +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. + +Thu, 3 Nov 2005 17:12:49 +0000 +Checked in by : Robert Osfield +Removed debugging message + +Thu, 3 Nov 2005 17:08:40 +0000 +Checked in by : Robert Osfield +Further work on osg::CameraNode support. + +Thu, 3 Nov 2005 15:59:17 +0000 +Checked in by : Robert Osfield +Further work on added IO support from CameraNode. + +Thu, 3 Nov 2005 12:25:25 +0000 +Checked in by : Robert Osfield +Completed osg::CameraView support in .osg and .ive formats. + +Thu, 3 Nov 2005 10:59:22 +0000 +Checked in by : Robert Osfield +Added env var docs on OSG_MAX_TEXTURE_SIZE + +Thu, 3 Nov 2005 10:57:10 +0000 +Checked in by : Robert Osfield +Added --help-env option. + +Thu, 3 Nov 2005 10:18:19 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Thu, 3 Nov 2005 10:16:38 +0000 +Checked in by : Robert Osfield +Added initial CameraNode and CameraView stups for the .ive loader + +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. + +Thu, 3 Nov 2005 09:03:46 +0000 +Checked in by : Robert Osfield +Added CameraNode.cpp and CameraView.cpp + +Wed, 2 Nov 2005 19:52:58 +0000 +Checked in by : Robert Osfield +Inital work on adding .osg support for CameraNode and CameraView. + +Wed, 2 Nov 2005 19:35:35 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +Wed, 2 Nov 2005 19:15:41 +0000 +Checked in by : Robert Osfield +Added request for accumulator buffer. + +Wed, 2 Nov 2005 19:15:18 +0000 +Checked in by : Robert Osfield +Added support in DisplaySettings and OscCameraGroup for requesting accumulator buffer. + +Wed, 2 Nov 2005 16:20:55 +0000 +Checked in by : Robert Osfield +From Alan Ott, added support for palletted imagery. + +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. + +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. + +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. + +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. + +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. + +Wed, 2 Nov 2005 11:55:02 +0000 +Checked in by : Robert Osfield +Fixed setCameraRequiresSetUp so it properly uses the bool passed to it. + +Wed, 2 Nov 2005 11:33:10 +0000 +Checked in by : Robert Osfield +Added doc comment and removed redundent inline keyword + +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." + +Wed, 2 Nov 2005 10:55:20 +0000 +Checked in by : Robert Osfield +From Marco Jez, commented out debuggin message. + +Wed, 2 Nov 2005 10:49:38 +0000 +Checked in by : Robert Osfield +Added static orthoNormal function to match equivilant in Matrixd + +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." + +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." + +Wed, 2 Nov 2005 10:29:13 +0000 +Checked in by : Robert Osfield +Fixed compile warning + +Tue, 1 Nov 2005 20:16:31 +0000 +Checked in by : Robert Osfield +Changed the error number reporting to be reported as hex. + +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. + +Tue, 1 Nov 2005 19:31:30 +0000 +Checked in by : Robert Osfield +Removed the double call to the camera post draw callback. + +Tue, 1 Nov 2005 17:07:55 +0000 +Checked in by : Robert Osfield +Added usage of image copy and modification. + +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. + +Tue, 1 Nov 2005 15:23:03 +0000 +Checked in by : Robert Osfield +Improved handling of osg::Image copying. + +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.) + +Tue, 1 Nov 2005 11:00:07 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Tue, 1 Nov 2005 10:42:54 +0000 +Checked in by : Robert Osfield +Added RenderTargetFallback option into osg::CameraNode. + +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." + +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. + +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." + + + +Sat, 29 Oct 2005 11:29:58 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +Sat, 29 Oct 2005 10:04:35 +0000 +Checked in by : Robert Osfield +Added catch for NULL return from glGetString( GL_VERSION ); + +Sat, 29 Oct 2005 09:52:56 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +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). + +Fri, 28 Oct 2005 18:37:15 +0000 +Checked in by : Robert Osfield +Fixed env var docs for sharing graphics contexts. + +Fri, 28 Oct 2005 14:02:37 +0000 +Checked in by : Robert Osfield +Added warning message for when no file is loaded. + +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." + +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. + +Fri, 28 Oct 2005 10:33:11 +0000 +Checked in by : Robert Osfield +Changed debug message from NOTICE to INFO level of notification + +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. + +Fri, 28 Oct 2005 09:20:21 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +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. + +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. + +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 + +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. + +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. + +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." + +Thu, 27 Oct 2005 09:37:38 +0000 +Checked in by : Robert Osfield +From Geoff Michel, update to osgdelaunday. + +Wed, 26 Oct 2005 20:30:15 +0000 +Checked in by : Robert Osfield +From Don Tidrow, bug fix to setOutputTextureFiles(bool). + +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 + +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. + +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." + +Wed, 26 Oct 2005 09:22:13 +0000 +Checked in by : Robert Osfield +From Geoff Michel, compile fixes for VS6.0 + +Tue, 25 Oct 2005 18:34:46 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Tue, 25 Oct 2005 15:49:48 +0000 +Checked in by : Robert Osfield +Added command line support for the interlaced stereo modes. + +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. + +Tue, 25 Oct 2005 14:01:50 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +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. + +Tue, 25 Oct 2005 13:24:39 +0000 +Checked in by : Robert Osfield +Added check against glGetString(GL_VERSION) returning NULL. + +Tue, 25 Oct 2005 10:30:32 +0000 +Checked in by : Robert Osfield +Added missing projects + +Tue, 25 Oct 2005 10:29:11 +0000 +Checked in by : Robert Osfield +Added osgcatch project + +Tue, 25 Oct 2005 10:12:18 +0000 +Checked in by : Robert Osfield +Added missing projects. + +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. + +Tue, 25 Oct 2005 09:49:53 +0000 +Checked in by : Robert Osfield +Added protected destructors. + +Tue, 25 Oct 2005 09:43:37 +0000 +Checked in by : Robert Osfield +From Don Tidrow, removed unncessary includes. + +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. + + + +Mon, 24 Oct 2005 18:51:36 +0000 +Checked in by : Robert Osfield +Changes to fix divide by 0 warning under VS. + +Mon, 24 Oct 2005 13:49:19 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +Mon, 24 Oct 2005 13:46:31 +0000 +Checked in by : Robert Osfield +Fixed compile warnings. + +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" + +Mon, 24 Oct 2005 11:44:07 +0000 +Checked in by : Robert Osfield +From Marco Jez, added missing example project files. + +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. + + 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." + + + +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." + +Mon, 24 Oct 2005 11:25:20 +0000 +Checked in by : Robert Osfield +Warning fixes for Win32 build. + +Mon, 24 Oct 2005 10:53:01 +0000 +Checked in by : Robert Osfield +Added copyright notices. + +Mon, 24 Oct 2005 10:51:50 +0000 +Checked in by : Robert Osfield +Added beginnings of Programming Guide, and NodeTrackerCallback. + +Fri, 14 Oct 2005 21:40:03 +0000 +Checked in by : Robert Osfield +From Farshid Lashkari, compile fix for VS 2002. + +Fri, 14 Oct 2005 21:38:44 +0000 +Checked in by : Robert Osfield +From Brede Johansen, fixed INVERSE_VIEW_MATRIX_UNIFORM enum value. + +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. + +Thu, 13 Oct 2005 12:51:00 +0000 +Checked in by : Robert Osfield +Renamed osgUtil::RenderGraph to osgUtil::StateGraph + +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. + +Thu, 13 Oct 2005 08:18:12 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +Thu, 13 Oct 2005 08:07:36 +0000 +Checked in by : Robert Osfield +Added Producer.lib to osgdepthpartion project file + +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. + + + +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. + +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. + +Mon, 10 Oct 2005 10:10:44 +0000 +Checked in by : Robert Osfield +From Ravi Mathur, osgdepthpartition example program. + +Mon, 10 Oct 2005 09:17:22 +0000 +Checked in by : Robert Osfield +From Alberto Jaspe, added double precision interpolation method + +Fri, 7 Oct 2005 07:46:48 +0000 +Checked in by : Robert Osfield +Added into CVS missing PolgonMode files. + +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. + +Thu, 6 Oct 2005 15:43:29 +0000 +Checked in by : Robert Osfield +From Brede Johansen, added support for PolygonMode into .ive format. + +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). + +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. + +Thu, 6 Oct 2005 13:20:08 +0000 +Checked in by : Robert Osfield +Added catch for disabling ThreadPerCamera when contexts are shared. + +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. + +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. + +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. + +Tue, 4 Oct 2005 18:50:00 +0000 +Checked in by : Robert Osfield +Added code paths for PBuffer RTT support. + +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. + +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(). + +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) + +Mon, 3 Oct 2005 19:24:12 +0000 +Checked in by : Robert Osfield +Added a couple of (double) casts for VS7 build. + +Mon, 3 Oct 2005 19:18:53 +0000 +Checked in by : Robert Osfield +Added closing of loops. + +Mon, 3 Oct 2005 16:13:26 +0000 +Checked in by : Robert Osfield +Added fusing of ends of lines + +Mon, 3 Oct 2005 13:19:03 +0000 +Checked in by : Robert Osfield +Improved handling of convex azim ranges. + +Sat, 1 Oct 2005 19:28:34 +0000 +Checked in by : Robert Osfield +Added test cases for SphereSegment intersection code. + +Sat, 1 Oct 2005 19:27:52 +0000 +Checked in by : Robert Osfield +Added a dirtyDisplayList() to the setColor() and setTesselationHint() methods. + +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. + +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 + +Thu, 29 Sep 2005 15:55:55 +0000 +Checked in by : Robert Osfield +Fix to intersection code. + +Thu, 29 Sep 2005 13:07:26 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +Thu, 29 Sep 2005 13:00:23 +0000 +Checked in by : Robert Osfield +From Marco Jez, fix for gcc build. + +Thu, 29 Sep 2005 10:25:44 +0000 +Checked in by : Robert Osfield +Fixed typo of Primitive + +Thu, 29 Sep 2005 10:22:06 +0000 +Checked in by : Robert Osfield +Added setOverlayClearColor and setTexEnvMode and automatic set up of TexEnv. + +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. + +Thu, 29 Sep 2005 09:36:51 +0000 +Checked in by : Robert Osfield +Fixed typo of CameraNode::setRenderTargetImplementation(..) + +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. + +Addition of 'n' and 'p' keyboard control in osgsimplifier example to allow users to control the sample ratio manually. + + + +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. + +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." + + + +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." + +Wed, 28 Sep 2005 13:55:22 +0000 +Checked in by : Robert Osfield +From Leandro Motta Barros: fixed type of ATTRIBUTE_* + +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." + +Wed, 28 Sep 2005 13:45:32 +0000 +Checked in by : Robert Osfield +From Joran Jessurun, comments explaining font search rules + +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. + +Wed, 28 Sep 2005 13:33:58 +0000 +Checked in 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. + + + +Tue, 27 Sep 2005 20:28:42 +0000 +Checked in by : Robert Osfield +Added degugging methods. + +Tue, 27 Sep 2005 14:48:09 +0000 +Checked in by : Robert Osfield +From Don Tidrow, Added support for locally referenced origins. + +Tue, 27 Sep 2005 12:15:40 +0000 +Checked in by : Robert Osfield +Various improvements to the sphere segment intersection code. + +Mon, 26 Sep 2005 11:24:37 +0000 +Checked in by : Robert Osfield +Set the defaul clear colour to 0,0,0,0. + +Mon, 26 Sep 2005 11:24:14 +0000 +Checked in by : Robert Osfield +Added TexEnv DECAL mode. + +Sun, 25 Sep 2005 20:41:56 +0000 +Checked in by : Robert Osfield +From Mike Weiblen, fixes from VS 7.1 build. + +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. + +Sat, 24 Sep 2005 14:53:22 +0000 +Checked in by : Robert Osfield +Improvements to the clipping of polygons at boundary edges. + +Wed, 21 Sep 2005 14:38:36 +0000 +Checked in by : Robert Osfield +Further work on intersection code. + +Mon, 19 Sep 2005 19:49:23 +0000 +Checked in by : Robert Osfield +Added multiple intersect triangle visualization for testing purposes. + +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 :-) + +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. + +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. + +Mon, 19 Sep 2005 13:15:59 +0000 +Checked in by : Robert Osfield +Added countMultipleIntersections to help with debugging. + +Sat, 17 Sep 2005 18:50:26 +0000 +Checked in by : Robert Osfield +Improved the region classifaction of the intersection code. + +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. + +Fri, 16 Sep 2005 09:28:22 +0000 +Checked in by : Robert Osfield +Added Azimuth and Elevation intersector functors. + +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. + +Thu, 15 Sep 2005 20:03:37 +0000 +Checked in by : Robert Osfield +Added line connectivity code. + +Thu, 15 Sep 2005 09:03:14 +0000 +Checked in by : Robert Osfield +Moved copyLeavesFromRenderGraphListToRenderLeafList into public. + +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. + +Sun, 11 Sep 2005 19:12:54 +0000 +Checked in by : Robert Osfield +From Henrique Bucher, add check against null light entry in LightPool. + +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. + +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. " + +Sun, 11 Sep 2005 19:02:20 +0000 +Checked in by : Robert Osfield +converted hardware tabs to spaces. + +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 + +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. + +Sat, 10 Sep 2005 12:51:18 +0000 +Checked in by : Robert Osfield +Removed some debugging messages + +Sat, 10 Sep 2005 12:51:03 +0000 +Checked in by : Robert Osfield +Added more intersection testing code. + +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 + + + +Fri, 9 Sep 2005 15:42:48 +0000 +Checked in by : Robert Osfield +Removed duplicate typedef. + +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. + + + +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. + +Thu, 8 Sep 2005 13:10:04 +0000 +Checked in by : Robert Osfield +Added initial interface for computing intersections between sphere segments and terrain. + +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. + +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. + +Tue, 6 Sep 2005 19:54:29 +0000 +Checked in by : Robert Osfield +Added s/getContinousUpdate(bool) method to OverlayNode. + +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. + +Mon, 5 Sep 2005 13:27:48 +0000 +Checked in by : Robert Osfield +Changed #if + +Mon, 5 Sep 2005 13:26:50 +0000 +Checked in by : Robert Osfield +Added checking of EventVisitor type + +Mon, 5 Sep 2005 13:23:27 +0000 +Checked in by : Robert Osfield +Fixed VisitorType of EventVisitor + +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. + +Mon, 5 Sep 2005 10:40:04 +0000 +Checked in by : Robert Osfield +Integrated shaders into source. + +Mon, 5 Sep 2005 09:14:30 +0000 +Checked in by : Robert Osfield +Added all sides of the shader cube + +Mon, 5 Sep 2005 07:48:55 +0000 +Checked in by : Robert Osfield +Added preliminary GLSL shader path for volume rendering. + +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. + +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 + +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. + +Sat, 3 Sep 2005 20:54:32 +0000 +Checked in by : Robert Osfield +Added release() to all GraphicsOperations in GraphicsThread. + +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. + +Fri, 2 Sep 2005 13:10:46 +0000 +Checked in by : Robert Osfield +Added clean up class to help improve the exit of GraphicsThread + +Fri, 2 Sep 2005 10:35:38 +0000 +Checked in by : Robert Osfield +Renamed osgUtil::RenderStageLighting osgUtil::PositionalStateContainer + +Thu, 1 Sep 2005 19:55:41 +0000 +Checked in by : Robert Osfield +Removed redundent code. + +Thu, 1 Sep 2005 19:12:06 +0000 +Checked in by : Robert Osfield +Fixed typo + +Thu, 1 Sep 2005 06:19:03 +0000 +Checked in by : Robert Osfield +Added osgcamera projects + +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. + +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. + +Wed, 31 Aug 2005 13:43:29 +0000 +Checked in by : Robert Osfield +Set number of cameras to 3. + +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. + +Wed, 31 Aug 2005 12:49:23 +0000 +Checked in by : Robert Osfield +Disable the glFinishBarrierOp usage as glFinish was spin locking the CPU :-| + +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. + +Wed, 31 Aug 2005 09:21:34 +0000 +Checked in by : Robert Osfield +Add comments explain how example works. + +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. + +Tue, 30 Aug 2005 19:20:19 +0000 +Checked in by : Robert Osfield +Compile fix. + +Tue, 30 Aug 2005 19:19:49 +0000 +Checked in by : Robert Osfield +From Colin McDonald, fix for big endian systems + +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. + +Tue, 30 Aug 2005 14:41:08 +0000 +Checked in by : Robert Osfield +Clean up and fixes to GraphicThread class, and osgcamera example. + +Tue, 30 Aug 2005 09:33:42 +0000 +Checked in by : Robert Osfield +From Norman Vine, fixed small typo. + +Mon, 29 Aug 2005 20:38:46 +0000 +Checked in by : Robert Osfield +Fixed reading and writng of data. + +Mon, 29 Aug 2005 20:16:15 +0000 +Checked in by : Robert Osfield +Added scratch pad reset. + +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. + +Mon, 29 Aug 2005 14:05:30 +0000 +Checked in by : Robert Osfield +Improved support for keyboard/mouse events in osgcluster. + +Mon, 29 Aug 2005 12:25:16 +0000 +Checked in by : Robert Osfield +Added extra debug info. + +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. + +Sun, 28 Aug 2005 19:07:09 +0000 +Checked in by : Robert Osfield +Disabled the pbuffer graphics thread. + +Sun, 28 Aug 2005 15:49:58 +0000 +Checked in by : Robert Osfield +From Marco Jez, fixed typo of OverlayNode.cpp. + +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. + +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. + +Fri, 26 Aug 2005 13:26:02 +0000 +Checked in by : Robert Osfield +Added --num-components option. + +Fri, 26 Aug 2005 08:48:54 +0000 +Checked in by : Robert Osfield +From Farshid Lashkari, fixed warnings. + +Thu, 25 Aug 2005 19:23:58 +0000 +Checked in by : Robert Osfield +From Farshid Lashkari, added istream support to JPEG plugin. + +Thu, 25 Aug 2005 18:18:27 +0000 +Checked in by : Don BURNS +made removeExpiredSubgraphs virtual. + +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. + +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. + +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. + +Wed, 24 Aug 2005 19:21:12 +0000 +Checked in by : Robert Osfield +Removed old commented out code. + +Wed, 24 Aug 2005 19:20:36 +0000 +Checked in by : Robert Osfield +From Domenico Mangieri, added constructor. + +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. + +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" + + + +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 + +Mon, 22 Aug 2005 15:13:04 +0000 +Checked in by : Robert Osfield +From Geoff Michel, added normal definition for tesselation + +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. + +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." + + + +Mon, 22 Aug 2005 13:58:23 +0000 +Checked in by : Robert Osfield +From Domenico Mangieri, addded some missing const qualifiers in osgUtil::SceneView. + +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. + +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, 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." + +Mon, 22 Aug 2005 13:03:23 +0000 +Checked in by : Robert Osfield +Tweaked flight manipulator pitch sensitivity. + +Sun, 21 Aug 2005 15:32:38 +0000 +Checked in by : Robert Osfield +Added OSG_EXPORT to GrephicsThread and fixed typo in osg.dsp. + +Sat, 20 Aug 2005 08:59:03 +0000 +Checked in by : Robert Osfield +Further work on GraphicsContext/GraphicsThread + +Sat, 20 Aug 2005 08:20:26 +0000 +Checked in by : Robert Osfield +From Joseph Winston, removed #include + +Thu, 18 Aug 2005 20:35:19 +0000 +Checked in by : Robert Osfield +Added GraphicsThread class + +Thu, 18 Aug 2005 20:33:38 +0000 +Checked in by : Robert Osfield +Added GraphicsThread to project file + +Thu, 18 Aug 2005 20:17:51 +0000 +Checked in by : Robert Osfield +Various updates to support the new GraphicsThread class. + +Thu, 18 Aug 2005 09:36:40 +0000 +Checked in by : Robert Osfield +Added beginings of GraphicsThread class + +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. + +Wed, 17 Aug 2005 16:13:06 +0000 +Checked in by : Robert Osfield +Replaced osgUtil::SceneView usage by osg::CameraNode + +Wed, 17 Aug 2005 10:12:49 +0000 +Checked in by : Robert Osfield +Merged RenderToTextureStage functionality into RenderStage + +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. + +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 + +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. +" + + + +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. + +Fri, 22 Jul 2005 08:21:17 +0000 +Checked in by : Robert Osfield +Added missing typedef + +Thu, 21 Jul 2005 20:45:16 +0000 +Checked in by : Robert Osfield +Fixed compile error. + +Thu, 21 Jul 2005 19:37:44 +0000 +Checked in by : Robert Osfield +Added GraphicsContextImplementation + +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. + + + +Thu, 21 Jul 2005 08:43:24 +0000 +Checked in by : Robert Osfield +Checked in graphics context. + +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 + +Wed, 20 Jul 2005 15:55:07 +0000 +Checked in by : Robert Osfield +Added new osg::GraphicsContext base class + +Wed, 20 Jul 2005 14:31:54 +0000 +Checked in by : Robert Osfield +Removed osgIntrospection wrappers + +Wed, 20 Jul 2005 08:03:37 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Tue, 19 Jul 2005 20:40:29 +0000 +Checked in by : Robert Osfield +Added wrapper projects and updates of autogenerated wrappers. + +Tue, 19 Jul 2005 20:01:00 +0000 +Checked in by : Robert Osfield +Added support for multiple colour buffers into osg::CameraNode/osgUtil::CullVisitor + +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. + +Fri, 15 Jul 2005 21:47:11 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Fri, 15 Jul 2005 19:24:46 +0000 +Checked in by : Robert Osfield +Added return 1. + +Fri, 15 Jul 2005 16:26:45 +0000 +Checked in by : Robert Osfield +Added .osg suppot for new alignment modes + +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 + +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 + +Fri, 15 Jul 2005 10:48:23 +0000 +Checked in by : Robert Osfield +From Brede Johansen, fixed range check + +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. + +Fri, 15 Jul 2005 08:32:36 +0000 +Checked in by : Robert Osfield +Added reference frame to TexGenNode + +Fri, 15 Jul 2005 08:31:02 +0000 +Checked in by : Robert Osfield +Cleaned up osghud and osgprerender examples + +Thu, 14 Jul 2005 21:04:40 +0000 +Checked in by : Robert Osfield +Updates + +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. + +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. + +Thu, 14 Jul 2005 10:34:46 +0000 +Checked in by : Robert Osfield +Removed the set culling active flag setting + +Thu, 14 Jul 2005 10:27:00 +0000 +Checked in by : Robert Osfield +From Mike Weiblen, addiding of Program::validateProgram and osg::isNotifyEnabled() method + +Thu, 14 Jul 2005 10:18:05 +0000 +Checked in by : Robert Osfield +Changed osgpagedlod example to convert LOD nodes into PagedLOD ones. + +Thu, 14 Jul 2005 10:17:20 +0000 +Checked in by : Robert Osfield +Added missing copy _referenceFrame in copy constructor + +Sun, 10 Jul 2005 14:50:52 +0000 +Checked in by : Robert Osfield +Ported osgshadow across to using new osg::CameraNode + +Sat, 9 Jul 2005 14:35:35 +0000 +Checked in by : Robert Osfield +Ported osgdistortion example across to using osg::CameraNode. + +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. + +Fri, 8 Jul 2005 19:33:38 +0000 +Checked in by : Robert Osfield +From Tom Jolly, added setPulse + +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. + +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. + +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. + +Sun, 3 Jul 2005 19:58:21 +0000 +Checked in by : Robert Osfield +Changed notice to be an info message + +Sat, 2 Jul 2005 08:11:55 +0000 +Checked in by : Robert Osfield +Added support for equalizing the normals along tile boundaries. + +Fri, 1 Jul 2005 09:10:37 +0000 +Checked in by : Robert Osfield +Added support for point sprites + +Thu, 30 Jun 2005 09:08:31 +0000 +Checked in by : Robert Osfield +Added tri sripping and support for outputing files. + +Thu, 30 Jun 2005 07:59:32 +0000 +Checked in by : Robert Osfield +Romoved redudent gdal link + +Wed, 29 Jun 2005 15:52:01 +0000 +Checked in by : Robert Osfield +Added smoothing and tri strip pass. + +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 + +Wed, 29 Jun 2005 10:21:49 +0000 +Checked in by : Robert Osfield +From Colin McDonald, build fix for Solaris + +Tue, 28 Jun 2005 17:53:48 +0000 +Checked in by : Robert Osfield +From Mike Weiblen, icon file. + +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." + +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 + +Mon, 27 Jun 2005 08:54:43 +0000 +Checked in by : Robert Osfield +Added missing dirtyBound(). + +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. + +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. + + + +Fri, 24 Jun 2005 15:39:29 +0000 +Checked in by : Robert Osfield +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'." + + + +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" + +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." + +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. + +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 + +Wed, 22 Jun 2005 11:02:37 +0000 +Checked in by : Robert Osfield +Disabled NPO2T on GeforceFX. + +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..) + +Tue, 21 Jun 2005 16:10:04 +0000 +Checked in by : Robert Osfield +Added option for terrain texturing. + +Tue, 21 Jun 2005 15:24:23 +0000 +Checked in by : Robert Osfield +Added matrix and simple vertex shader paths. + +Tue, 21 Jun 2005 15:13:42 +0000 +Checked in by : Robert Osfield +Combined uniforms. + +Tue, 21 Jun 2005 12:12:50 +0000 +Checked in by : Robert Osfield +Tweaked the vertex program. + +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. + +Mon, 20 Jun 2005 10:38:39 +0000 +Checked in by : Robert Osfield +From Tom Jolly, added method for getting the number of frames. + +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" + +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. + +Mon, 20 Jun 2005 10:16:30 +0000 +Checked in by : Robert Osfield +From Mike Weiblen, added OSG_EXPORT to FrameBufferObject files. + +Thu, 16 Jun 2005 14:01:38 +0000 +Checked in by : Robert Osfield +Further FBO support work. + +Thu, 16 Jun 2005 13:53:52 +0000 +Checked in by : Robert Osfield +From Pavel Moloshtan, added support of Drawable::Extensions::glDeleteQueries() + +Thu, 16 Jun 2005 11:45:50 +0000 +Checked in by : Robert Osfield +Added copyright notices. + +Thu, 16 Jun 2005 11:42:59 +0000 +Checked in by : Robert Osfield +Moved FBO support from osgfbo example into core osg. + +Wed, 15 Jun 2005 20:06:10 +0000 +Checked in by : Robert Osfield +Futher work on FBO support + +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. + +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." + +Wed, 15 Jun 2005 10:59:10 +0000 +Checked in by : Robert Osfield +Added osgmultiplecameras example and support for pre/post multiplaction. + +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. + +Tue, 14 Jun 2005 13:16:58 +0000 +Checked in by : Robert Osfield +Added osg::CameraNode. + +Tue, 14 Jun 2005 09:12:45 +0000 +Checked in by : Robert Osfield +Removed reference to non existant AVI plugin + +Tue, 14 Jun 2005 08:48:48 +0000 +Checked in by : Robert Osfield +Fixed position of glBindBuffer. + +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. + +Mon, 13 Jun 2005 11:14:42 +0000 +Checked in by : Robert Osfield +From Ken Sewell, fixed for x86_64 build. + +Thu, 9 Jun 2005 19:02:55 +0000 +Checked in by : Robert Osfield +From Marco Jez, added project files for osgfbo example. + +Thu, 9 Jun 2005 11:53:23 +0000 +Checked in by : Robert Osfield +Fixed makefiles + +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. + +Thu, 9 Jun 2005 09:27:43 +0000 +Checked in by : Robert Osfield +Added \n to end of a couple shader source lines. + +Thu, 9 Jun 2005 08:29:22 +0000 +Checked in by : Robert Osfield +Added texture2D shader source + +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. + +Wed, 8 Jun 2005 13:20:09 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +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 + +Wed, 8 Jun 2005 10:39:43 +0000 +Checked in by : Robert Osfield +Added sizeof(std::string) test to osgunittests + +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 + +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" + +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(). + +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." + + + +Sun, 5 Jun 2005 18:41:23 +0000 +Checked in by : Robert Osfield +Changed VisualStudio 7.0 reference to 7.x + +Sun, 5 Jun 2005 18:40:49 +0000 +Checked in by : Robert Osfield +From Adam Richard, fixed typos + explanation how to use project files. + +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." + +Tue, 31 May 2005 05:48:27 +0000 +Checked in by : Robert Osfield +Small fixes to NEWS + +Tue, 31 May 2005 05:47:40 +0000 +Checked in by : Robert Osfield +Changed char* to const char* + +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. + +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. + +Mon, 30 May 2005 16:15:11 +0000 +Checked in by : Robert Osfield +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. + + + +Thu, 26 May 2005 14:38:08 +0000 +Checked in by : Robert Osfield +Reverted release number to 0 (development version). + +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. + +Wed, 25 May 2005 20:02:25 +0000 +Checked in by : Robert Osfield +Updated Version numbers for release.UPdated wrappers. + + + +Wed, 25 May 2005 17:19:47 +0000 +Checked in by : Robert Osfield +From Blake Williams, fix for VS8.0 build + +Wed, 25 May 2005 16:42:36 +0000 +Checked in by : Robert Osfield +Renamed ExplosionDebriEffect to ExplosionDebrisEffect + +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. + + + +Wed, 25 May 2005 15:34:10 +0000 +Checked in by : Robert Osfield +Added file to osgkeyboardmouse invokation. + +Wed, 25 May 2005 11:45:02 +0000 +Checked in by : Robert Osfield +Updated doxgen docs. + +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. + +Wed, 25 May 2005 09:48:10 +0000 +Checked in by : Robert Osfield +Updated NEWS + +Tue, 24 May 2005 20:45:34 +0000 +Checked in by : Robert Osfield +Updated NEWS + +Tue, 24 May 2005 18:57:13 +0000 +Checked in by : Robert Osfield +Added pragma to remove warnings under VS.8.0 + +Tue, 24 May 2005 15:34:23 +0000 +Checked in by : Robert Osfield +Updates to clean up wrapper generation, and to update wrappers + +Tue, 24 May 2005 15:23:23 +0000 +Checked in by : Robert Osfield +Did a dos2unix on all files + +Tue, 24 May 2005 10:46:21 +0000 +Checked in by : Robert Osfield +Added check for an empty compile lists. + +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. + +Mon, 23 May 2005 11:27:52 +0000 +Checked in by : Robert Osfield +Updated changelog + +Mon, 23 May 2005 11:18:01 +0000 +Checked in by : Robert Osfield +Added new examples to runexamples + +Mon, 23 May 2005 11:00:03 +0000 +Checked in by : Robert Osfield +Updated news. + +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. + +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. + +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. + +Sat, 21 May 2005 12:57:28 +0000 +Checked in by : Robert Osfield +Updates to osgcatch game to allow different types of falling objects + +Sat, 21 May 2005 09:55:43 +0000 +Checked in by : Robert Osfield +Maded debugging output write out at INFO level + +Fri, 20 May 2005 22:15:57 +0000 +Checked in by : Robert Osfield +Tweaked wrappers by hand to get them to compile + +Fri, 20 May 2005 21:12:57 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +Fri, 20 May 2005 21:01:57 +0000 +Checked in by : Robert Osfield +Fixed doxygen comments. + +Fri, 20 May 2005 18:35:30 +0000 +Checked in by : Robert Osfield +Removed references to removed files. + +Fri, 20 May 2005 15:45:12 +0000 +Checked in by : Robert Osfield +Reworking to avoid compile issues under VS6.0. + +Fri, 20 May 2005 11:35:08 +0000 +Checked in by : Robert Osfield +Removed remaining references to old DX writer. + +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. + +Fri, 20 May 2005 06:39:41 +0000 +Checked in by : Robert Osfield +Added env var report. + +Thu, 19 May 2005 21:42:38 +0000 +Checked in by : Robert Osfield +From Martin Aumueller, fixed copy and paste error on getActiveUniforms(). + +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. + +Thu, 19 May 2005 09:22:45 +0000 +Checked in by : Robert Osfield +From Alberto Farre, added support for caching of ProxyNode children. + +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). + +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 + +Wed, 18 May 2005 21:31:51 +0000 +Checked in by : Robert Osfield +Updated NEWS, ChangeLog and runexamples.bat. + +Wed, 18 May 2005 21:17:31 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +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. + +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. + +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. + + The option string is "dofAnimation" + + If the option string is omitted the default animation state is off." + + + +Wed, 18 May 2005 18:31:03 +0000 +Checked in by : Robert Osfield +Fixed copy and paste mistakes in setEventCallback methods + +Tue, 17 May 2005 20:12:13 +0000 +Checked in by : Robert Osfield +Added RADEON as render type for disabling mipmapped NPO2T + +Tue, 17 May 2005 15:00:43 +0000 +Checked in by : Robert Osfield +Cleaned up in prep for release. + +Tue, 17 May 2005 14:25:11 +0000 +Checked in by : Robert Osfield +Improved the handling of data attached to proxy nodes + +Tue, 17 May 2005 13:50:07 +0000 +Checked in by : Robert Osfield +Changed the default behavior to not writing out proxynode children. + +Tue, 17 May 2005 13:47:13 +0000 +Checked in by : Robert Osfield +Improved the handling of writing out of proxy node files. + +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. + +Tue, 17 May 2005 13:24:34 +0000 +Checked in by : Robert Osfield +Added destructor to fix Cygwin build problem. + +Tue, 17 May 2005 11:11:58 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +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. + +Tue, 17 May 2005 09:53:41 +0000 +Checked in by : Robert Osfield +Removed old GeoSet backward compatibility code since its now redudent. + +Tue, 17 May 2005 09:06:12 +0000 +Checked in by : Robert Osfield +From Thom DeCarlo, build fixes for Cygwin. + +Mon, 16 May 2005 18:24:11 +0000 +Checked in by : Robert Osfield +Fixed name. + +Mon, 16 May 2005 17:37:25 +0000 +Checked in by : Robert Osfield +Update to NEWS w.r.t contributors + +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. + +Mon, 16 May 2005 16:50:55 +0000 +Checked in by : Robert Osfield +Updated NEWS and ChangeLog in prep for release + +Mon, 16 May 2005 15:51:57 +0000 +Checked in by : Robert Osfield +Warning fixes for IRIX + +Mon, 16 May 2005 15:50:35 +0000 +Checked in by : Robert Osfield +Updated wrappers + +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. + +Mon, 16 May 2005 14:09:39 +0000 +Checked in by : Robert Osfield +Workaround for Mipspro compiler bug. + +Mon, 16 May 2005 11:22:25 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +Mon, 16 May 2005 11:18:11 +0000 +Checked in by : Robert Osfield +Fixed method signatures. + +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. + +Mon, 16 May 2005 09:41:10 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Sun, 15 May 2005 20:32:10 +0000 +Checked in by : Robert Osfield +From Marco Jez, fixes to/and for osgIntrospection. + +Sun, 15 May 2005 20:31:22 +0000 +Checked in by : Robert Osfield +Moved computeBounds into public scope. + +Sun, 15 May 2005 05:47:14 +0000 +Checked in by : Robert Osfield +From John Grant, added getDrawableList() const. + +Sat, 14 May 2005 18:57:47 +0000 +Checked in by : Robert Osfield +From Marco Jez, added export symbols. + +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. + +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. + +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. + +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 + +Fri, 13 May 2005 14:36:42 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +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. + +Fri, 13 May 2005 12:06:58 +0000 +Checked in by : Robert Osfield +Refinement of includes to help IRIX build + +Fri, 13 May 2005 11:11:52 +0000 +Checked in by : Robert Osfield +Cross platform build fixes. + +Fri, 13 May 2005 09:52:17 +0000 +Checked in by : Robert Osfield +Added #include "dxfBlock.h" + +Fri, 13 May 2005 09:05:10 +0000 +Checked in by : Robert Osfield +Added /Zm200 + +Fri, 13 May 2005 08:54:11 +0000 +Checked in by : Robert Osfield +Removed unused function. + +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) + +Thu, 12 May 2005 20:46:12 +0000 +Checked in by : Robert Osfield +fixed warning. + +Thu, 12 May 2005 20:35:15 +0000 +Checked in by : Robert Osfield +From Jan Ciger, gcc 4.0 compile fix. + +Thu, 12 May 2005 20:06:39 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +Thu, 12 May 2005 20:03:55 +0000 +Checked in by : Robert Osfield +Fixed pairing of write and read of Matrixd + +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) + +Thu, 12 May 2005 19:05:33 +0000 +Checked in by : Robert Osfield +Added missing Uniform(Matrixd) constructor implementation + +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. + + 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. " + + + +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 + +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. + +Thu, 12 May 2005 08:58:28 +0000 +Checked in by : Robert Osfield +Added setTextureFileName method. + +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. + +Thu, 12 May 2005 07:47:43 +0000 +Checked in by : Robert Osfield +Moved OpenGL2 definitions from Uniform header to GL2Extensions + +Wed, 11 May 2005 21:36:04 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +Wed, 11 May 2005 21:06:29 +0000 +Checked in by : Robert Osfield +Added missing required includes + +Wed, 11 May 2005 20:37:22 +0000 +Checked in by : Robert Osfield +Compile fix. + +Wed, 11 May 2005 20:05:51 +0000 +Checked in by : Robert Osfield +Updated wrappers + +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. + +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." + +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. + +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). + +Wed, 11 May 2005 16:05:27 +0000 +Checked in by : Robert Osfield +Added .osg support for new ParticleEffect::s/getDefaultParticleTemplate. + +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 + +Wed, 11 May 2005 13:40:07 +0000 +Checked in by : Robert Osfield +Fixed compile warning. + +Wed, 11 May 2005 13:37:38 +0000 +Checked in by : Robert Osfield +Completed GLSL support in .ive + +Wed, 11 May 2005 11:42:09 +0000 +Checked in by : Robert Osfield +Further work on GLSL support in .ive + +Wed, 11 May 2005 11:41:44 +0000 +Checked in by : Robert Osfield +Cleaned up API of BindAttributeLocation, added deletion of shader objects. + +Tue, 10 May 2005 20:20:20 +0000 +Checked in by : Robert Osfield +Put in place the class to implement GLSL support in .ive + +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. + +Tue, 10 May 2005 16:13:37 +0000 +Checked in by : Robert Osfield +Added tab to space converted to .obj plugin + +Tue, 10 May 2005 13:56:05 +0000 +Checked in by : Robert Osfield +Added support for PROTECTED and OVERRIDE to uniforms. + +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 + +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 + +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 + +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. + +Mon, 9 May 2005 13:09:07 +0000 +Checked in by : Robert Osfield +Removed deprecated API in preparation for 0.9.9 release. + +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. + + + +Sun, 8 May 2005 19:21:43 +0000 +Checked in by : Robert Osfield +Removed debug info + +Sun, 8 May 2005 18:37:13 +0000 +Checked in by : Robert Osfield +Updated osgWrappers. + +Sun, 8 May 2005 15:24:26 +0000 +Checked in by : Robert Osfield +Added missing copy of _stereo + +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. + + + +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. + +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 + + + +Fri, 6 May 2005 17:43:40 +0000 +Checked in by : Robert Osfield +Added X11 include and lib paths to find freetype under OSX. + +Fri, 6 May 2005 14:28:43 +0000 +Checked in by : Robert Osfield +Made OSX default to using single threaded keyboard mouse. + +Fri, 6 May 2005 14:07:02 +0000 +Checked in by : Robert Osfield +Made USE_AGL=yes the default under OSX. + +Fri, 6 May 2005 10:32:31 +0000 +Checked in by : Robert Osfield +Added osg_DeltaFrameTime uniform to default set. + +Fri, 6 May 2005 09:58:49 +0000 +Checked in by : Robert Osfield +From Mike Weiblen, further work on GLSL support + +Fri, 6 May 2005 09:04:41 +0000 +Checked in by : Robert Osfield +From Farshid Lashkari, support for non power of two extension. + +Thu, 5 May 2005 21:21:14 +0000 +Checked in by : Robert Osfield +Fix for OSX build across both Tiger and 10.3.x + +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. + +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. + +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. + +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. + +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. + +Wed, 4 May 2005 11:38:34 +0000 +Checked in by : Robert Osfield +Fix for Tiger build + +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. + +Tue, 3 May 2005 22:02:37 +0000 +Checked in by : Robert Osfield +Updated wrappers + +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." + + + +Tue, 3 May 2005 21:49:21 +0000 +Checked in by : Robert Osfield +Removed the default compile of single threaded KeyboardMouse + +Tue, 3 May 2005 21:46:47 +0000 +Checked in by : Robert Osfield +Added support for lazy state updating of uniforms. + +Tue, 3 May 2005 16:34:54 +0000 +Checked in by : Robert Osfield +From Bob Kuehne, OSX 10.4 fix. + +Tue, 3 May 2005 14:31:01 +0000 +Checked in by : Robert Osfield +From Bob Kuehne, fixes for OSX 10.4 build. + +Tue, 3 May 2005 10:09:51 +0000 +Checked in by : Robert Osfield +Updated wrappers + +Tue, 3 May 2005 06:23:02 +0000 +Checked in by : Robert Osfield +Removed Impostor.cpp + +Mon, 2 May 2005 20:00:42 +0000 +Checked in by : Robert Osfield +Fixed TIFF readers handling of interleaved data + +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. + +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 + +Mon, 2 May 2005 13:00:17 +0000 +Checked in by : Robert Osfield +Added support for reading from RGBA source textures + +Mon, 2 May 2005 10:18:37 +0000 +Checked in by : Robert Osfield +Added support for optimization of Uniforms + +Mon, 2 May 2005 09:57:58 +0000 +Checked in by : Robert Osfield +Improved the handling of update/event callbacks on Drawable and Geodes + +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. + +Sun, 1 May 2005 21:33:12 +0000 +Checked in by : Robert Osfield +Moved Impostor from osg to osgSim .osg plugin + +Sun, 1 May 2005 20:56:44 +0000 +Checked in by : Robert Osfield +Added include for OSX build + +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. + +Sun, 1 May 2005 10:34:48 +0000 +Checked in by : Robert Osfield +From Don Tidrow, spelling fixes + +Sat, 30 Apr 2005 15:16:05 +0000 +Checked in by : Robert Osfield +Added RemoveLoadedProxyNodes pass to Optimizer, set on by default at present. + +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. + + 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." + + + +Sat, 30 Apr 2005 07:25:15 +0000 +Checked in by : Robert Osfield +Combine LOD fixed properly this time :) + +Sat, 30 Apr 2005 07:22:56 +0000 +Checked in by : Robert Osfield +fixed combined LOD bug + +Sat, 30 Apr 2005 07:02:02 +0000 +Checked in by : Robert Osfield +From Mike Weiblen, Progra/Shader fixes + +Fri, 29 Apr 2005 20:57:04 +0000 +Checked in by : Robert Osfield +Updated wrappers + +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 + }; + + /** 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; } + + + +Fri, 29 Apr 2005 18:51:14 +0000 +Checked in by : Robert Osfield +VS.7.1 linker warning fix + +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. + +Fri, 29 Apr 2005 11:22:15 +0000 +Checked in by : Robert Osfield +Compile fix + +Fri, 29 Apr 2005 11:19:58 +0000 +Checked in by : Robert Osfield +Moved osgIntrospection across to standard OSG coding style. + +Fri, 29 Apr 2005 10:06:50 +0000 +Checked in by : Robert Osfield +Added Copyright + +Fri, 29 Apr 2005 09:47:57 +0000 +Checked in by : Robert Osfield +Moved osgParticle across to standard OSG coding style. + +Fri, 29 Apr 2005 06:32:45 +0000 +Checked in by : Robert Osfield +Coding style update + +Fri, 29 Apr 2005 06:32:13 +0000 +Checked in by : Robert Osfield +Moved to standard OSG coding style. + +Thu, 28 Apr 2005 19:50:07 +0000 +Checked in by : Robert Osfield +Reduced the verboseness of the notifaction messages + +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). + +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. + +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. + +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. + +Thu, 28 Apr 2005 12:45:55 +0000 +Checked in by : Robert Osfield +Added version number #define's + +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. + +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. + +Thu, 28 Apr 2005 05:15:21 +0000 +Checked in by : Robert Osfield +From Marco Jez, changed = to ?= in COMPILE_INTROSPECTION line + +Thu, 28 Apr 2005 05:12:54 +0000 +Checked in by : Robert Osfield +From Marco Jez, converted line endings to unix. + +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. + +Tue, 26 Apr 2005 20:35:53 +0000 +Checked in by : Robert Osfield +From Ruben, fix for PIV executation by disabling MMXEXT selection. + +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. + +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. + +Tue, 26 Apr 2005 14:29:25 +0000 +Checked in by : Robert Osfield +Updated wrappers. + +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. + + + +Tue, 26 Apr 2005 11:20:19 +0000 +Checked in by : Robert Osfield +Added #include for VS.NET build + +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. + +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." + + + +Mon, 25 Apr 2005 20:46:46 +0000 +Checked in by : Robert Osfield +Updated wrappers using Marco Jez's genwrapper utility. + +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. + +Mon, 25 Apr 2005 14:28:16 +0000 +Checked in by : Robert Osfield +Reduced the verbosness of debugging messages + +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 + +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. + +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 + +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. + +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 + +Sat, 23 Apr 2005 16:09:20 +0000 +Checked in by : Robert Osfield +Added MergeGeometryVisitor::setTargetMaximumNumberOfVertices(uint); + +Sat, 23 Apr 2005 10:45:38 +0000 +Checked in by : Robert Osfield +Removed the use of the post swap callback + +Sat, 23 Apr 2005 10:41:30 +0000 +Checked in by : Robert Osfield +Added missing bodes of Uniform::operator = and setEvent/UpdateCallback in StateSet. + +Sat, 23 Apr 2005 10:31:52 +0000 +Checked in by : Robert Osfield +Added support for using TextureRectangle in --move support in readNodeFile + +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. + +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. + +Fri, 22 Apr 2005 15:44:21 +0000 +Checked in by : Robert Osfield +Improved handling of unsupported formats + +Fri, 22 Apr 2005 15:44:03 +0000 +Checked in by : Robert Osfield +Improved handling of unsupported file formats. + +Fri, 22 Apr 2005 15:43:34 +0000 +Checked in by : Robert Osfield +Improved handling of invalid imagery in BufferObject + +Fri, 22 Apr 2005 14:40:22 +0000 +Checked in by : Robert Osfield +Removed unusaged methods + +Fri, 22 Apr 2005 14:40:06 +0000 +Checked in by : Robert Osfield +From Tree, removed dependency on Producer + +Fri, 22 Apr 2005 13:47:54 +0000 +Checked in by : Robert Osfield +Removed ViewPoint.h and .cpp from the ive plugin + +Fri, 22 Apr 2005 13:32:46 +0000 +Checked in by : Robert Osfield +Cleaned up the xine plugin to better handle unsupported video files. + +Fri, 22 Apr 2005 07:13:50 +0000 +Checked in by : Robert Osfield +From Mike Weiblen, added support for samplers and mat4 to .osg + +Thu, 21 Apr 2005 21:07:27 +0000 +Checked in by : Robert Osfield +Added initialize of version number + +Thu, 21 Apr 2005 21:05:48 +0000 +Checked in by : Robert Osfield +From Garrat Potts, fixed face memory leak in FreTypeFont destructor. + +Wed, 20 Apr 2005 19:53:07 +0000 +Checked in by : Robert Osfield +Small tweaks + +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. + +Wed, 20 Apr 2005 14:51:13 +0000 +Checked in by : Robert Osfield +Removed the enabling of the point smooth mode. + +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. + +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. + +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. + +Tue, 19 Apr 2005 07:37:59 +0000 +Checked in by : Robert Osfield +From Reinhard Sainitzer, bug fix, added missing break; + +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). + +Mon, 18 Apr 2005 13:36:10 +0000 +Checked in by : Robert Osfield +Further work on uniforms support in .osg + +Mon, 18 Apr 2005 13:29:59 +0000 +Checked in by : Robert Osfield +Added more complete support for writing out data of Uniforms + +Mon, 18 Apr 2005 12:34:28 +0000 +Checked in by : Robert Osfield +Added next stage of support for osg::Uniform in .osg plugin + +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. + +Sun, 17 Apr 2005 19:14:32 +0000 +Checked in by : Robert Osfield +Fixed typo in testLookAt debug info. + +Sun, 17 Apr 2005 19:10:32 +0000 +Checked in by : Robert Osfield +Fixed warnings. + +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. + +Sun, 17 Apr 2005 11:30:33 +0000 +Checked in by : Robert Osfield +From Marco Jez, osgWrappers updates to latest changes in core osg. + +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. + +Sun, 17 Apr 2005 09:41:48 +0000 +Checked in by : Robert Osfield +From Tony Horrobin, fix for VS6.0 + +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. + +Sat, 16 Apr 2005 10:18:56 +0000 +Checked in by : Robert Osfield +Fixed wrapping of text string to allow internal "" strings + +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 + +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()); + } + +Seems DatabasePath _is_ present in ive files of version 6. + + + +Fri, 15 Apr 2005 20:59:24 +0000 +Checked in by : Robert Osfield +Moved Plane and Quat << operators into the io_utils headers + +Fri, 15 Apr 2005 20:44:28 +0000 +Checked in by : Robert Osfield +Added dxf to the list of projects + +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. + +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 + +Fri, 15 Apr 2005 20:05:30 +0000 +Checked in by : Robert Osfield +Added setValue and setSwitchSet methods + +Fri, 15 Apr 2005 18:28:44 +0000 +Checked in by : Robert Osfield +From Mike Weiblen, fix for Win32 build + +Fri, 15 Apr 2005 10:15:26 +0000 +Checked in by : Robert Osfield +Removed link reference to osgGL2 in doxygen file, added osgIntrospection + +Fri, 15 Apr 2005 10:09:51 +0000 +Checked in by : Robert Osfield +Changed all instances of /vd0 to /vd1 + +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. + +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. + +Thu, 14 Apr 2005 21:41:28 +0000 +Checked in by : Robert Osfield +Updated Copyright notices to 1998-2005. + +Thu, 14 Apr 2005 20:34:59 +0000 +Checked in by : Robert Osfield +Changed uint for unsigned int. + +Thu, 14 Apr 2005 20:14:53 +0000 +Checked in by : Robert Osfield +Uniforms open for business :) + +Thu, 14 Apr 2005 20:05:16 +0000 +Checked in by : Robert Osfield +Fixed getUniformLocation and getAttribLocation methods + +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. + +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. + +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. + +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. + +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." + + + +Wed, 13 Apr 2005 18:19:38 +0000 +Checked in by : Robert Osfield +From Terry Welsh, added copy texture support to TextureRectangle + +Wed, 13 Apr 2005 14:31:25 +0000 +Checked in by : Robert Osfield +Added applying of all parents uniforms + +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. + +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 + +Tue, 12 Apr 2005 19:17:01 +0000 +Checked in by : Robert Osfield +Fixed bug + +Tue, 12 Apr 2005 08:59:33 +0000 +Checked in by : Robert Osfield +Added inline to float convertComponent(,) + +Tue, 12 Apr 2005 08:55:52 +0000 +Checked in by : Robert Osfield +From Olaf Flebbe, change from powf to ldexp. + +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 + +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. + +Mon, 11 Apr 2005 15:22:29 +0000 +Checked in by : Robert Osfield +From Olaf Flebbe, compile fix for Sun. + +Mon, 11 Apr 2005 15:17:24 +0000 +Checked in by : Robert Osfield +Moved #include from header into .cpp to clean up build. + +Mon, 11 Apr 2005 15:01:57 +0000 +Checked in by : Robert Osfield +Build fix + +Mon, 11 Apr 2005 10:12:32 +0000 +Checked in by : Robert Osfield +Fixed warning, and sorted entries in GNUmakefile + +Mon, 11 Apr 2005 08:15:43 +0000 +Checked in by : Robert Osfield +Added friend class PerContextProgram; + +Mon, 11 Apr 2005 07:51:43 +0000 +Checked in by : Robert Osfield +From Olaf Flebbe, Fixed cross platform compile error + +Sun, 10 Apr 2005 21:26:49 +0000 +Checked in by : Robert Osfield +From Randall Hopper, fixed typo of setRedMask. + +Sun, 10 Apr 2005 21:25:37 +0000 +Checked in by : Robert Osfield +Further work on kiddies game. + +Sat, 9 Apr 2005 11:17:12 +0000 +Checked in by : Robert Osfield +Fixed typo + +Fri, 8 Apr 2005 19:40:16 +0000 +Checked in by : Robert Osfield +From Mike Weiblen, osgGLUTsimple and osgGLUTkeyboardmouse examples + +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. + +Fri, 8 Apr 2005 19:29:12 +0000 +Checked in by : Robert Osfield +From Marco Jez, updates to reflect new osgIntrospection API + +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. + +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. + +Fri, 8 Apr 2005 14:11:15 +0000 +Checked in by : Robert Osfield +From Olad Flebbe, compile fix for HP-UX. + +Fri, 8 Apr 2005 14:10:22 +0000 +Checked in by : Robert Osfield +Moved UByte4 i/ostream support into io_utils. + +Fri, 8 Apr 2005 14:09:32 +0000 +Checked in by : Robert Osfield +From James French, fix to header guard + +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" + +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. + + + +Fri, 8 Apr 2005 13:10:44 +0000 +Checked in by : Robert Osfield +From Mike Weiblen, updates to GL Shadler Language support + +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 + +Fri, 8 Apr 2005 12:22:03 +0000 +Checked in by : Robert Osfield +Added #include + +Fri, 8 Apr 2005 10:32:10 +0000 +Checked in by : Robert Osfield +Added #include + +Fri, 8 Apr 2005 09:59:40 +0000 +Checked in by : Robert Osfield +Added #include + +Fri, 8 Apr 2005 09:55:52 +0000 +Checked in by : Robert Osfield +Reverted back to not test version of osgsimulation + +Fri, 8 Apr 2005 09:51:56 +0000 +Checked in by : Robert Osfield +Added #include + +Fri, 8 Apr 2005 09:45:06 +0000 +Checked in by : Robert Osfield +Added #include + +Fri, 8 Apr 2005 09:36:42 +0000 +Checked in by : Robert Osfield +Added #include + +Fri, 8 Apr 2005 09:18:15 +0000 +Checked in by : Robert Osfield +Added #include + +Fri, 8 Apr 2005 09:14:50 +0000 +Checked in by : Robert Osfield +Added io_utils include + +Fri, 8 Apr 2005 09:13:07 +0000 +Checked in by : Robert Osfield +Added osg/io_utils include + +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. + +Thu, 7 Apr 2005 21:28:57 +0000 +Checked in by : Robert Osfield +Added iostream operators + +Thu, 7 Apr 2005 20:28:36 +0000 +Checked in by : Robert Osfield +From Olaf Flebbe, removed supporios BufferObject:: + +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" + +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. + +Thu, 7 Apr 2005 20:08:54 +0000 +Checked in by : Robert Osfield +Warning fixes by Mike Weiblen + Robert Osfield + +Thu, 7 Apr 2005 20:06:16 +0000 +Checked in by : Robert Osfield +From Marco Jez, .dsp updates + +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. + +Thu, 7 Apr 2005 17:15:48 +0000 +Checked in by : Don BURNS +Set PagedLOD::removeExpiredSubgraph() to be virtual + +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. + +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; + +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. + +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. + +Thu, 7 Apr 2005 10:19:47 +0000 +Checked in by : Robert Osfield +Fixed layer and levels handling in reprojection of source imagery. + +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 :) + +Tue, 5 Apr 2005 19:08:48 +0000 +Checked in by : Don BURNS +Rolled in Olaf's changes for HP-UX build + +Mon, 4 Apr 2005 20:25:57 +0000 +Checked in by : Robert Osfield +Renamed _A and _B to make them more meanigful + +Mon, 4 Apr 2005 18:07:27 +0000 +Checked in by : Don BURNS +Removed annoying "Can't find the ground" message + +Mon, 4 Apr 2005 16:06:28 +0000 +Checked in by : Robert Osfield +Fixed output of MultiTextureControl. + +Mon, 4 Apr 2005 15:23:18 +0000 +Checked in by : Robert Osfield +Added layer support + +Mon, 4 Apr 2005 13:50:07 +0000 +Checked in by : Robert Osfield +From Marco Jez, updates to osgIntrospection. + +Mon, 4 Apr 2005 13:49:20 +0000 +Checked in by : Robert Osfield +Made osgIntrospection an optional compile + +Mon, 4 Apr 2005 13:22:24 +0000 +Checked in by : Robert Osfield +Fixed comment + +Mon, 4 Apr 2005 12:24:18 +0000 +Checked in by : Robert Osfield +Fixes for VS6.0 build + +Mon, 4 Apr 2005 11:47:50 +0000 +Checked in by : Robert Osfield +From Carlo Camporesi,fixed for loop bug + +Mon, 4 Apr 2005 11:42:43 +0000 +Checked in by : Robert Osfield +Added missing makefiles + +Mon, 4 Apr 2005 11:22:43 +0000 +Checked in by : Robert Osfield +From Alberto Farre, nested files bug fix. + +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. + +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." + + + +Mon, 4 Apr 2005 10:08:15 +0000 +Checked in by : Robert Osfield +From Mike Weiblen, updates to Shander Language support + +Mon, 4 Apr 2005 10:05:35 +0000 +Checked in by : Robert Osfield +Added FluidProgram + +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 + +Mon, 4 Apr 2005 08:47:21 +0000 +Checked in by : Robert Osfield +Added osgparticleeffects example + +Mon, 4 Apr 2005 07:54:52 +0000 +Checked in by : Robert Osfield +Improved ParticleEffects + +Sat, 26 Mar 2005 10:04:31 +0000 +Checked in by : Robert Osfield +From Farshid Laskari, addiition of FrontFace support to .ive + +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 + +Fri, 25 Mar 2005 11:07:48 +0000 +Checked in by : Robert Osfield +Added State::getActiveUnit and usage of it in the glTexCopyImage*() implementations + +Fri, 25 Mar 2005 11:06:44 +0000 +Checked in by : Robert Osfield +Made the ground intersection warning just output to INFO level. + +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." + +Wed, 23 Mar 2005 21:00:28 +0000 +Checked in by : Robert Osfield +From Marco Jez, fixed constness of data return type + +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. + +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" + +Wed, 23 Mar 2005 20:35:19 +0000 +Checked in by : Robert Osfield +Fixed indenting. + +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" + +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" + +Wed, 23 Mar 2005 17:05:21 +0000 +Checked in by : Robert Osfield +Added extra controls for ParticleEffects. + +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. + +Wed, 23 Mar 2005 10:41:51 +0000 +Checked in by : Robert Osfield +Removed multiple inheritance from TechniqueEventHandler. + +Wed, 23 Mar 2005 08:30:15 +0000 +Checked in by : Robert Osfield +Commented out the if (!node->getName().empty()) return false; in isOperationPermissibleImplementation() + +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. + +Tue, 22 Mar 2005 20:26:45 +0000 +Checked in by : Robert Osfield +Moved ParticleSystemUpdater into ParticleEffect nodes to simplify usage of nodes. + +Tue, 22 Mar 2005 17:00:41 +0000 +Checked in by : Robert Osfield +Fixed the double transform of ParticleEffects + +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. + +Tue, 22 Mar 2005 12:04:03 +0000 +Checked in by : Robert Osfield +Corrected orientation of aeroplane and direction of rotation around earth. + +Mon, 21 Mar 2005 00:33:37 +0000 +Checked in by : Don BURNS +Added getCameraByName method to viewer + +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. + +Sun, 20 Mar 2005 23:29:05 +0000 +Checked in by : Don BURNS +Updated some visual studio files for the new applications. + +Sun, 20 Mar 2005 21:43:33 +0000 +Checked in by : Don BURNS +Added (for real this time) application project files for visual studio + +Fri, 18 Mar 2005 11:21:01 +0000 +Checked in by : Robert Osfield +Added support for handling transparent geometries and textures. + +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. + +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 + +Fri, 18 Mar 2005 10:45:18 +0000 +Checked in by : Robert Osfield +Removed the redundent subclassing from osg::NodeVisitor in examples event handlers + +Fri, 18 Mar 2005 10:27:49 +0000 +Checked in by : Robert Osfield +updates to reflect changes to StateAttribute::Types + +Fri, 18 Mar 2005 10:00:16 +0000 +Checked in by : Robert Osfield +From Alberto Farre, fixes to ProxyNode. + +Fri, 18 Mar 2005 09:48:09 +0000 +Checked in by : Robert Osfield +From Marco Jez, added OSGNVEXT_ prefex to StateAttribute enums. + +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." + +Fri, 18 Mar 2005 02:45:54 +0000 +Checked in by : Robert Osfield +Improvements to the handling of textures and texture coords. + +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. + +Fri, 18 Mar 2005 02:44:08 +0000 +Checked in by : Robert Osfield +Added support for a new IsOperationPermissibleForObjectCallback in osgUtil::Optimizer. + +Fri, 18 Mar 2005 02:42:59 +0000 +Checked in by : Robert Osfield +Made supports(..) methods use support(const ...) + +Fri, 18 Mar 2005 01:51:13 +0000 +Checked in by : Don BURNS +Randal Hopper fix to GNUmakefile for osgsimulation. + +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: + + DatabasePager::s/getTargetFrameRate(..) + DatabasePager::s/getMinimumTimeAvailableForGLCompileAndDeletePerFrame() + DatabasePager::s/getMaximumNumOfObjectsToCompilePerFrame() + + + +Thu, 17 Mar 2005 18:29:56 +0000 +Checked in by : Don BURNS +Removed redundant examples, that have been moved to the applications directory + +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. + +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. + +Thu, 17 Mar 2005 08:54:23 +0000 +Checked in by : Robert Osfield +Added if (image ..) check to prevent seg fault on imcomplete models + +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. + +Wed, 16 Mar 2005 14:48:52 +0000 +Checked in by : Robert Osfield +From Mike Weiblen, added UFOManipulator to osgGA project file. + +Wed, 16 Mar 2005 14:14:12 +0000 +Checked in by : Robert Osfield +Added --smooth option to osgconv + +Wed, 16 Mar 2005 14:09:03 +0000 +Checked in by : Robert Osfield +Removed applications from examples list + +Mon, 14 Mar 2005 09:28:31 +0000 +Checked in by : Robert Osfield +Changed tabs to four spaces + +Mon, 14 Mar 2005 09:13:38 +0000 +Checked in by : Robert Osfield +From Marco Jez, fix for data corruption bug in TypedMethodInfo*::invoke() + +Sun, 13 Mar 2005 21:22:56 +0000 +Checked in by : Robert Osfield +Added guard to osgdem build + +Sun, 13 Mar 2005 17:51:31 +0000 +Checked in by : Don BURNS +Added GNUmakefile for the new applications directory + +Sun, 13 Mar 2005 17:26:52 +0000 +Checked in by : Robert Osfield +Added osgGL2 to .ive list of dependencies + +Sun, 13 Mar 2005 05:02:02 +0000 +Checked in by : Don BURNS +Chagned osg::Matrix to osg::Matrixd + +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. + +Made examples optional via the make COMPILE_EXAMPLES=yes option + +Added static lib and static plugin build support. + + + +Sat, 12 Mar 2005 15:57:44 +0000 +Checked in by : Don BURNS +Added M_PI definition for winders + +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. + +Fri, 11 Mar 2005 20:29:21 +0000 +Checked in by : Robert Osfield +Added support for set/getUniform and set/getProgram into osg::StateSet. + +Fri, 11 Mar 2005 20:19:16 +0000 +Checked in by : Robert Osfield +Fixed old handle(..) method call parameters + +Fri, 11 Mar 2005 17:48:01 +0000 +Checked in by : Don BURNS +Added methods getCameraManipulatorNameList() and selectCameraManipulatorByName(). + +Fri, 11 Mar 2005 17:46:34 +0000 +Checked in by : Don BURNS +Added the 'H' - home to usage message + +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 + +Fri, 11 Mar 2005 09:53:13 +0000 +Checked in by : Robert Osfield +Improvements to handling smoothing + +Fri, 11 Mar 2005 06:10:07 +0000 +Checked in by : Don BURNS +Added UFO Manipulator to Viewer + +Fri, 11 Mar 2005 06:09:38 +0000 +Checked in by : Don BURNS +Added UFOManipulator to Viewer + +Fri, 11 Mar 2005 06:09:16 +0000 +Checked in by : Don BURNS +Added UFO manipulator + +Thu, 10 Mar 2005 11:11:57 +0000 +Checked in by : Robert Osfield +Added null pointer check to avoid crash + +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. + +Wed, 9 Mar 2005 20:40:31 +0000 +Checked in by : Robert Osfield +Improvements to MultiTextureControl and texture layer handling in osgTerrain::DataSet. + +Wed, 9 Mar 2005 16:54:10 +0000 +Checked in by : Robert Osfield +Added osgFX::MultiTextureControl node for managing blending between different texture layers. + +Tue, 8 Mar 2005 16:51:48 +0000 +Checked in by : Robert Osfield +Added basic multiple texture layer support into osgTerrain::DataSet. + +Mon, 7 Mar 2005 22:02:44 +0000 +Checked in by : Robert Osfield +First steps to adding support for multiple texture layers. + +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. + + + +Mon, 7 Mar 2005 14:38:43 +0000 +Checked in by : Robert Osfield +Sebastien Grignard, fixed getMember methods to properly use const type. + +Mon, 7 Mar 2005 14:30:55 +0000 +Checked in by : Robert Osfield +From Marco Jez, improved Texture2D and Image handling of compare(). + +Mon, 7 Mar 2005 14:27:34 +0000 +Checked in by : Robert Osfield +Added ProxyNode.h + +Mon, 7 Mar 2005 14:16:15 +0000 +Checked in by : Robert Osfield +Added support for event callbacks + +Mon, 7 Mar 2005 14:14:35 +0000 +Checked in by : Robert Osfield +From Sebastien Grignard, added support for reading and writing callbacks + +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 + +Mon, 7 Mar 2005 12:32:58 +0000 +Checked in by : Robert Osfield +Fixed tabbing. + +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." + +Mon, 7 Mar 2005 12:05:48 +0000 +Checked in by : Robert Osfield +From Mike Weiblen, warning fix for VS7.1 + +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. + +Mon, 7 Mar 2005 11:58:41 +0000 +Checked in by : Robert Osfield +Added looping + +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. + +Thu, 3 Mar 2005 12:35:07 +0000 +Checked in by : Robert Osfield +Added video aliases to xine plugin + +Thu, 3 Mar 2005 12:33:07 +0000 +Checked in by : Robert Osfield +Added improved handling of center justificaion of multiline text + +Thu, 3 Mar 2005 12:25:37 +0000 +Checked in by : Robert Osfield +Added EDventVisitor reference + +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. + +Sat, 26 Feb 2005 21:44:16 +0000 +Checked in by : Robert Osfield +From Paul Melis, fixed typo of setFunctionMask. + +Fri, 25 Feb 2005 23:02:23 +0000 +Checked in by : Robert Osfield +Improved support GUIEventHandler's being node event callbacks. + +Fri, 25 Feb 2005 23:01:07 +0000 +Checked in by : Robert Osfield +Added event callback to Optizimer isNodeEmpty function + +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. + +Fri, 25 Feb 2005 11:26:28 +0000 +Checked in by : Robert Osfield +Added reference to avifile based plugin. + +Fri, 25 Feb 2005 08:38:05 +0000 +Checked in by : Robert Osfield +New simplified timer implementation. + +Thu, 24 Feb 2005 17:07:37 +0000 +Checked in by : Robert Osfield +Added pause, rewind and play support into xine plugin. + +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, + +Wed, 23 Feb 2005 12:50:10 +0000 +Checked in by : Robert Osfield +Made Referenced::ref() and unref() inline methods. + +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. + +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); + + bool getThreadSafeRefUnref() const; + + + +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. + +Tue, 22 Feb 2005 14:42:14 +0000 +Checked in by : Robert Osfield +Added size of Mutex. + +Tue, 22 Feb 2005 13:34:24 +0000 +Checked in by : Robert Osfield +Added improved PBO support. + +Tue, 22 Feb 2005 11:55:30 +0000 +Checked in by : Robert Osfield +Fixes from Marco Jez. + +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. + +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. + +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. + +Tue, 15 Feb 2005 09:37:20 +0000 +Checked in by : Robert Osfield +Tweak to comment. + +Mon, 14 Feb 2005 15:17:20 +0000 +Checked in by : Robert Osfield +From Alberto Farre, fix to nested OpenFlight file problem. + +Sun, 13 Feb 2005 18:10:05 +0000 +Checked in by : Robert Osfield +Made conversion use BGRA. + +Sun, 13 Feb 2005 16:35:52 +0000 +Checked in by : Robert Osfield +Added usage of the new xine_register_plugins() call. + +Sun, 13 Feb 2005 15:07:41 +0000 +Checked in by : Robert Osfield +Disable the MMX usage + +Sat, 12 Feb 2005 19:47:38 +0000 +Checked in by : Robert Osfield +Remerged Tugkan's fix to flatten static transforms. + +Sat, 12 Feb 2005 16:49:28 +0000 +Checked in by : Robert Osfield +Put spaitalize groups to end. + +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. + +Fri, 11 Feb 2005 20:43:50 +0000 +Checked in by : Robert Osfield +Added --prune-StateSet option into osgconv for bottleneck testing. + +Fri, 11 Feb 2005 17:22:55 +0000 +Checked in by : Robert Osfield +Fixed spatial groups. + +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. + +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. + +Fri, 11 Feb 2005 10:00:50 +0000 +Checked in by : Robert Osfield +Added support into passing the ReaderWriter::Options structure onto readImageFile + +Fri, 11 Feb 2005 09:59:16 +0000 +Checked in by : Robert Osfield +Removed debugging messages + +Fri, 11 Feb 2005 09:58:30 +0000 +Checked in by : Robert Osfield +Added new utilities for handling different '/' and '\' entries. + +Thu, 10 Feb 2005 21:30:03 +0000 +Checked in by : Robert Osfield +Removed redundent _nodePath entry. + +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. + + + +Thu, 10 Feb 2005 20:38:50 +0000 +Checked in by : Robert Osfield +From Igor Kravtchenko, new HDR plugin. + +Thu, 10 Feb 2005 20:21:01 +0000 +Checked in by : Robert Osfield +warning fix + +Thu, 10 Feb 2005 20:14:22 +0000 +Checked in by : Robert Osfield +Put pixel buffer define's into their own block. + +Thu, 10 Feb 2005 15:53:19 +0000 +Checked in by : Robert Osfield +Fixed the pixelFormat to be RGBA. + +Thu, 10 Feb 2005 15:52:18 +0000 +Checked in by : Robert Osfield +Implemented the osg::Image::isImagTranslucent function. + +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 + +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. + +Wed, 9 Feb 2005 14:27:54 +0000 +Checked in by : Robert Osfield +Added setting of the filename + +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 + +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 + +Wed, 9 Feb 2005 11:30:42 +0000 +Checked in by : Robert Osfield +Added vertical offset to multiple movies instances + +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. + +Mon, 7 Feb 2005 20:45:52 +0000 +Checked in by : Robert Osfield +Removed the repeated entry of HiehgtFieldNode in include list + +Mon, 7 Feb 2005 20:44:18 +0000 +Checked in by : Robert Osfield +From Paul Melis, fixed the setFrameStatsMode() method + +Mon, 7 Feb 2005 17:28:03 +0000 +Checked in by : Robert Osfield +Added the full set of buffer object methods + +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 + +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. + +Fri, 4 Feb 2005 20:36:50 +0000 +Checked in by : Robert Osfield +Turned off lighting. + +Fri, 4 Feb 2005 19:34:46 +0000 +Checked in by : Robert Osfield +Added prototype xine movie plugin. + +Fri, 4 Feb 2005 03:58:49 +0000 +Checked in by : Don BURNS +Updated IRIX dist generation file for IRIX binaries + +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. + +Wed, 2 Feb 2005 22:13:07 +0000 +Checked in by : Don BURNS +Added Viewport State Attribute to .osg reader/writer + +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. + + + +Tue, 1 Feb 2005 22:36:05 +0000 +Checked in by : Robert Osfield +Added support for modulating alpha values + +Tue, 1 Feb 2005 15:03:14 +0000 +Checked in by : Robert Osfield +Removed debugging messages. + +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. + +Tue, 1 Feb 2005 10:38:08 +0000 +Checked in by : Robert Osfield +Added support for internalTextureMode + +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. + +Tue, 1 Feb 2005 09:02:01 +0000 +Checked in by : Robert Osfield +Added code for rescaling images. + +Tue, 1 Feb 2005 09:00:32 +0000 +Checked in by : Robert Osfield +Added red, green, blue and alpha values. + +Tue, 1 Feb 2005 09:00:10 +0000 +Checked in by : Robert Osfield +Added support for 8 parameters. + +Mon, 31 Jan 2005 20:09:24 +0000 +Checked in by : Robert Osfield +Added support for raw image formats + +Fri, 28 Jan 2005 17:24:47 +0000 +Checked in by : Robert Osfield +Removed include of Producer/RenderSurface + +Fri, 28 Jan 2005 16:09:11 +0000 +Checked in by : Robert Osfield +From Tree, removed redundent "inline"s + +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. + +Thu, 27 Jan 2005 20:26:51 +0000 +Checked in by : Robert Osfield +Moved the template function into the global namespace. + +Thu, 27 Jan 2005 20:18:49 +0000 +Checked in by : Robert Osfield +Fixes to osg::Image's handling of compressed formats. + +Thu, 27 Jan 2005 15:54:10 +0000 +Checked in by : Robert Osfield +Fixes for Win32 build + +Thu, 27 Jan 2005 14:54:33 +0000 +Checked in by : Robert Osfield +Added /Zm 200 option to avoid heap problems + +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. + + + +Thu, 27 Jan 2005 13:23:46 +0000 +Checked in by : Robert Osfield +From Chris Hanson, minor tweaks to docs on getDescriptions. + +Thu, 27 Jan 2005 13:15:21 +0000 +Checked in by : Robert Osfield +From Leandro Motta Barros, doxygen comments + +Thu, 27 Jan 2005 11:18:33 +0000 +Checked in by : Robert Osfield +Changed template instances to template + +Thu, 27 Jan 2005 11:16:03 +0000 +Checked in by : Robert Osfield +Fixed tabbing. + +Thu, 27 Jan 2005 11:10:50 +0000 +Checked in by : Robert Osfield +Changed Font::setSize to Font::setFontResolution + +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. + +Sat, 22 Jan 2005 16:55:48 +0000 +Checked in by : Robert Osfield +From Mason Menninger, addition of setTrackballSize() parameter. + +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. + +Fri, 21 Jan 2005 21:00:33 +0000 +Checked in by : Robert Osfield +From Yuzhong Shen, removed repeated statements in Hit operator =. + +Fri, 21 Jan 2005 19:33:56 +0000 +Checked in by : Robert Osfield +From Kevin Moiule, rewrote PNM plugin to handle grayscale PNM images. + +Fri, 21 Jan 2005 19:31:56 +0000 +Checked in by : Robert Osfield +build fix + +Fri, 21 Jan 2005 19:30:35 +0000 +Checked in by : Robert Osfield +From Tree, add get methods + +Fri, 21 Jan 2005 19:28:50 +0000 +Checked in by : Robert Osfield +Change dhte CullSettings to be correct to new changes in osgProducer + +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. + +Fri, 21 Jan 2005 19:15:13 +0000 +Checked in by : Robert Osfield +From Tugkan Calapoglu, bugfix to prevents reloading already loaded images. + +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. + +Wed, 12 Jan 2005 10:32:36 +0000 +Checked in by : Robert Osfield +From Fredrick Mammond, fix to 64 bit build. + +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. + +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. + +Fri, 7 Jan 2005 20:36:04 +0000 +Checked in by : Robert Osfield +From Per Fahlberg, support for 16bit imagery. + +Fri, 7 Jan 2005 20:24:36 +0000 +Checked in by : Robert Osfield +From Kevin Moule, fix to memory overwrite error. + +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. + +Fri, 7 Jan 2005 19:00:40 +0000 +Checked in by : Robert Osfield +From Tree, moved GL_ #define's out of osg namespaces + +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. + +Wed, 5 Jan 2005 17:14:38 +0000 +Checked in by : Robert Osfield +Cleaned up the types. + +Wed, 5 Jan 2005 16:16:52 +0000 +Checked in by : Robert Osfield +From Fredric Mammond, fix for build using full extension checked mechansim + +Mon, 3 Jan 2005 16:42:27 +0000 +Checked in by : Robert Osfield +From Fredric Mammond, addid osgblendequation and osglogicop examples. + +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. + +Mon, 3 Jan 2005 13:49:35 +0000 +Checked in by : Robert Osfield +From Marco Jez, fixed handling of loading of relative file paths. + +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 + +Mon, 3 Jan 2005 11:20:21 +0000 +Checked in by : Robert Osfield +Added check against ac as extension. + +Fri, 17 Dec 2004 22:31:54 +0000 +Checked in by : Don BURNS +Changed INST_LOCATION = to INST_LOCATION ?= + +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. + +Fri, 17 Dec 2004 01:06:33 +0000 +Checked in by : Robert Osfield +Property API clean to smooth the task of generating wrappers. + +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 + +Wed, 15 Dec 2004 04:49:05 +0000 +Checked in by : Robert Osfield +Added missing files + +Tue, 14 Dec 2004 03:12:18 +0000 +Checked in by : Robert Osfield +Removed redundent cont qualification + +Tue, 14 Dec 2004 01:38:45 +0000 +Checked in by : Robert Osfield +From Fredric Marmond, fix to gcc3.4 build + +Mon, 13 Dec 2004 04:54:20 +0000 +Checked in by : Robert Osfield +From Frederic Marmond, add osg::LogicOp for support for glLogicOp. + +Mon, 13 Dec 2004 02:39:47 +0000 +Checked in by : Robert Osfield +From Marco, fixes to osgIntrospection and related libs + +Mon, 13 Dec 2004 01:07:24 +0000 +Checked in by : Robert Osfield +Teaks to API to make it easier to generate wrappers automatically + +Mon, 13 Dec 2004 01:06:56 +0000 +Checked in by : Robert Osfield +Fixed project name + +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 + +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 + +Thu, 9 Dec 2004 05:29:10 +0000 +Checked in by : Robert Osfield +Added Make support for new osgIntrospecxtion libs + +Thu, 9 Dec 2004 05:28:20 +0000 +Checked in by : Robert Osfield +Added Marco Jez's osgIntrospection + osgWrapper libs with osgintrospection example + +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 + +Wed, 8 Dec 2004 19:45:07 +0000 +Checked in by : Don BURNS +Update of IVe version files + +Tue, 7 Dec 2004 00:42:21 +0000 +Checked in by : Don BURNS +Spelling errors fixed by Brede Johansen + +Mon, 6 Dec 2004 19:32:59 +0000 +Checked in by : Don BURNS +Changed the strcmp() to use std::string instead. + +Sun, 5 Dec 2004 00:16:49 +0000 +Checked in by : Don BURNS +Post-tag revision variable change + +Sun, 5 Dec 2004 00:03:43 +0000 +Checked in by : Don BURNS +CHanged version in makedefs for - 2 revision + +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. + +Sat, 4 Dec 2004 23:38:24 +0000 +Checked in by : Don BURNS +Update version numbers in files + +Thu, 2 Dec 2004 21:50:53 +0000 +Checked in by : Don BURNS +Post release adjustment of revision + +Thu, 2 Dec 2004 21:49:58 +0000 +Checked in by : Don BURNS +Added tagrules for 'make tag' convenience Updated makedefs for release/revision + +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. + +Thu, 2 Dec 2004 17:44:50 +0000 +Checked in by : Don BURNS +Memory leak spotted and fixed by Sebastien Grignard + +Tue, 30 Nov 2004 18:13:53 +0000 +Checked in by : Don BURNS +Added Mike's submission to Authors + +Mon, 29 Nov 2004 18:59:36 +0000 +Checked in by : Don BURNS +Added pragma to shut VS 6 up. + +Mon, 29 Nov 2004 05:47:16 +0000 +Checked in by : Don BURNS +Small clean up of commented code + +Mon, 29 Nov 2004 05:32:04 +0000 +Checked in by : Don BURNS +Comprimise for Visual Studio 6 by using 'using namespace OpenThreads'. + +Mon, 29 Nov 2004 03:05:27 +0000 +Checked in by : Don BURNS +Fixes for SOlaris build + +Mon, 29 Nov 2004 01:12:25 +0000 +Checked in by : Don BURNS +Fixes for IRIX build + +Sun, 28 Nov 2004 23:49:01 +0000 +Checked in by : Don BURNS +Changes for IRIX build + +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 + +Sat, 27 Nov 2004 20:35:19 +0000 +Checked in by : Don BURNS +Fixed osgDB:: prefix for Windows build + +Sat, 27 Nov 2004 19:23:41 +0000 +Checked in by : Don BURNS +Added Marco's fix for data path for the .ive plugin + +Sat, 27 Nov 2004 19:20:32 +0000 +Checked in by : Don BURNS +Fixed bug in .net loader. Added hostname to file fetch. + +Sat, 27 Nov 2004 17:06:44 +0000 +Checked in by : Don BURNS +Fixed reference to install instructions + +Fri, 26 Nov 2004 21:35:36 +0000 +Checked in by : Robert Osfield +Added missing OSG_SCREEN_WIDTH docs + +Fri, 26 Nov 2004 21:14:18 +0000 +Checked in by : Robert Osfield +Updates news for release + +Fri, 26 Nov 2004 20:46:55 +0000 +Checked in by : Robert Osfield +Updates to ChangeLog and doxygen file + +Fri, 26 Nov 2004 19:27:23 +0000 +Checked in by : Robert Osfield +Added /Zm200 to avoid heap size problems under VS6.0 + +Fri, 26 Nov 2004 16:01:04 +0000 +Checked in by : Robert Osfield +Addd high level introductory docs for all the libs + +Fri, 26 Nov 2004 16:00:40 +0000 +Checked in by : Robert Osfield +Clean up doxygen files for release + +Thu, 25 Nov 2004 15:57:00 +0000 +Checked in by : Robert Osfield +Added /Zm200 to avoid VS 6.0 dump arse compile errors + +Thu, 25 Nov 2004 15:09:56 +0000 +Checked in by : Robert Osfield +Fixed caching of archives + +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 + +Thu, 25 Nov 2004 09:51:26 +0000 +Checked in by : Robert Osfield +Added LFS support to gcc linux build + +Wed, 24 Nov 2004 21:39:28 +0000 +Checked in by : Robert Osfield +cleaned up debug info + +Wed, 24 Nov 2004 21:10:48 +0000 +Checked in by : Robert Osfield +updated NEWS and ChangeLog + +Wed, 24 Nov 2004 19:41:36 +0000 +Checked in by : Robert Osfield +Clean up of output + +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. + +Wed, 24 Nov 2004 15:41:36 +0000 +Checked in by : Robert Osfield +Fixed typo in acceptsExtension + +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 + +Tue, 23 Nov 2004 23:47:25 +0000 +Checked in by : Robert Osfield +Fixed VS.NET warnings + +Tue, 23 Nov 2004 23:45:41 +0000 +Checked in by : Robert Osfield +Fixed recursive call + +Tue, 23 Nov 2004 17:07:48 +0000 +Checked in by : Robert Osfield +From Fabien Dachicourt, bug fix to addChild(node,value) + +Tue, 23 Nov 2004 16:52:59 +0000 +Checked in by : Robert Osfield +From John Shue, reordering of tiffio.h to avoid compile error. + +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 + +Tue, 23 Nov 2004 12:57:00 +0000 +Checked in by : Robert Osfield +Tripped out experiemental threadSafe_ methods in ReaderWriter + +Tue, 23 Nov 2004 10:46:37 +0000 +Checked in by : Robert Osfield +Added support for local relative paths + +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 + +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. + +Mon, 22 Nov 2004 14:10:12 +0000 +Checked in by : Robert Osfield +Moved Registry::CacheHintOptions into ReaderWriter::Options + +Mon, 22 Nov 2004 13:58:57 +0000 +Checked in by : Robert Osfield +From Rainer Oder, improvements to planet motions + +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. + +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 + +Sat, 20 Nov 2004 11:48:28 +0000 +Checked in by : Robert Osfield +Added support for pixel range to PagedLOD + +Sat, 20 Nov 2004 11:48:01 +0000 +Checked in by : Robert Osfield +Fixed indentation. + +Sat, 20 Nov 2004 11:45:14 +0000 +Checked in by : Robert Osfield +From Johan Nouvel, added support for range mode + +Sat, 20 Nov 2004 10:36:16 +0000 +Checked in by : Robert Osfield +From John Shue, fix for FreeBSD. + +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. + +Fri, 19 Nov 2004 09:02:00 +0000 +Checked in by : Robert Osfield +Removed notify from destructor wait for cancel loop. + +Fri, 19 Nov 2004 08:47:14 +0000 +Checked in by : Robert Osfield +Added std:: infront of getline calls + +Thu, 18 Nov 2004 22:43:50 +0000 +Checked in by : Robert Osfield +Made the permissions executable + +Thu, 18 Nov 2004 22:14:08 +0000 +Checked in by : Robert Osfield +Updated ChangedLog and NEWS + +Thu, 18 Nov 2004 22:13:13 +0000 +Checked in by : Robert Osfield +Removed the public open methods + +Thu, 18 Nov 2004 22:12:43 +0000 +Checked in by : Robert Osfield +Added all core libraries + +Thu, 18 Nov 2004 21:53:31 +0000 +Checked in by : Robert Osfield +Added osgText dependency to osglauncher. + +Thu, 18 Nov 2004 20:20:00 +0000 +Checked in by : Robert Osfield +Added dsp's for osglauncher and osgplanets. + +Thu, 18 Nov 2004 16:25:14 +0000 +Checked in by : Robert Osfield +Removed old and used FileUtils_Mac.cpp + +Thu, 18 Nov 2004 16:21:08 +0000 +Checked in by : Robert Osfield +Added osglancher and osgplanets to example set. + +Thu, 18 Nov 2004 16:20:48 +0000 +Checked in by : Robert Osfield +Changed debugging info to use osg::notify + +Thu, 18 Nov 2004 15:10:24 +0000 +Checked in by : Robert Osfield +Added write to file and use of clearnode + +Thu, 18 Nov 2004 15:01:41 +0000 +Checked in by : Robert Osfield +Increased accuracy of animation path, moved main to end. + +Thu, 18 Nov 2004 14:43:07 +0000 +Checked in by : Robert Osfield +Changed Solarsystem to SolarSystem. + +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 + +Thu, 18 Nov 2004 13:34:31 +0000 +Checked in by : Robert Osfield +Changed path to imagery from Images/SolarSystem to SolarSystem. + +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. + +Thu, 18 Nov 2004 11:53:51 +0000 +Checked in by : Robert Osfield +Added check for extension. + +Thu, 18 Nov 2004 11:21:51 +0000 +Checked in by : Robert Osfield +Fixed writeImage. + +Thu, 18 Nov 2004 10:08:29 +0000 +Checked in by : Robert Osfield +From Vivek Rajan, fixes to Solaris build. + +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. + +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. + +Wed, 17 Nov 2004 20:01:51 +0000 +Checked in by : Robert Osfield +From Rainer Oder, updates to osglauncher. + +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. + +Wed, 17 Nov 2004 14:56:08 +0000 +Checked in by : Robert Osfield +From Thom DeCarlo, fixes for Cygwin build + +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. + +Wed, 17 Nov 2004 13:04:42 +0000 +Checked in by : Robert Osfield +Removed remaining old docs. + +Wed, 17 Nov 2004 13:03:34 +0000 +Checked in by : Robert Osfield +Removed doc++ docs from distrubtion. + +Wed, 17 Nov 2004 13:00:16 +0000 +Checked in by : Robert Osfield +Removed mind maps docs + +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 + +Tue, 16 Nov 2004 16:04:05 +0000 +Checked in by : Robert Osfield +Fixed typo of ReadObjectFunctor. + +Tue, 16 Nov 2004 15:36:06 +0000 +Checked in by : Robert Osfield +Adde another friend to remove final VS6.0 compile problem. + +Tue, 16 Nov 2004 14:35:29 +0000 +Checked in by : Robert Osfield +Attempted fix for VS6.0 compile problems + +Tue, 16 Nov 2004 14:21:02 +0000 +Checked in by : Robert Osfield +Removed debug info as it was causing VS6.0 compile problem + +Tue, 16 Nov 2004 14:20:39 +0000 +Checked in by : Robert Osfield +From David Spilling, fix for VS6.0 build. + +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 + +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. + +Tue, 16 Nov 2004 09:09:31 +0000 +Checked in by : Robert Osfield +Added osgText dependency to osgsequence app + +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. + +Mon, 15 Nov 2004 19:53:22 +0000 +Checked in by : Robert Osfield +From Loic Dachary, added pk-config file. + +Mon, 15 Nov 2004 19:46:10 +0000 +Checked in by : Robert Osfield +Added support for serialization of calls to ReaderWriter plugins. + +Mon, 15 Nov 2004 19:45:27 +0000 +Checked in by : Robert Osfield +Added -pipe to gcc build under Linux + +Mon, 15 Nov 2004 19:44:35 +0000 +Checked in by : Robert Osfield +From osgplaents, updates to more of the solar systems planets. + +Mon, 15 Nov 2004 13:08:46 +0000 +Checked in by : Robert Osfield +Added ReentrantMutex + +Mon, 15 Nov 2004 13:02:43 +0000 +Checked in by : Robert Osfield +From Tree, fixes for Java bindings + +Mon, 15 Nov 2004 12:05:27 +0000 +Checked in by : Robert Osfield +Added osgspotlight to example set. + +Mon, 15 Nov 2004 12:03:33 +0000 +Checked in by : Robert Osfield +From Ulrich Hertlien, improved osgsequence example + +Mon, 15 Nov 2004 11:57:41 +0000 +Checked in by : Robert Osfield +Added osgDB::ReentrantMutex is prep for making osgDB::Registry single threaded. + +Sun, 14 Nov 2004 21:08:10 +0000 +Checked in by : Robert Osfield +From Loic Dachary, added getFileName method + +Sun, 14 Nov 2004 20:00:30 +0000 +Checked in by : Robert Osfield +Added Cygwin to #define stat64 stat path. + +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. + +Sun, 14 Nov 2004 16:36:27 +0000 +Checked in by : Robert Osfield +Added sonames support under Linux/gcc + +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. + +Sat, 13 Nov 2004 22:04:26 +0000 +Checked in by : Don BURNS +PowerPC fix for Timer by Guillaume Morin + +Sat, 13 Nov 2004 21:42:45 +0000 +Checked in by : Robert Osfield +Fixed warnings. + +Sat, 13 Nov 2004 21:39:29 +0000 +Checked in by : Robert Osfield +Added support for opening an istream archive + +Sat, 13 Nov 2004 16:21:48 +0000 +Checked in by : Robert Osfield +Added prelimarny support for reading archives via the .net plugin + +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 + +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. + +Fri, 12 Nov 2004 21:07:17 +0000 +Checked in by : Robert Osfield +Remove unistd.h include + +Fri, 12 Nov 2004 16:36:53 +0000 +Checked in by : Robert Osfield +Added --image and --dem documentation to command line parameters + +Fri, 12 Nov 2004 15:39:18 +0000 +Checked in by : Robert Osfield +Rotated scene to face the viewer + +Fri, 12 Nov 2004 14:49:22 +0000 +Checked in by : Robert Osfield +From Ulrich Heirtlein, added STL plugin + +Fri, 12 Nov 2004 08:55:11 +0000 +Checked in by : Robert Osfield +Improvements to support for archives + +Thu, 11 Nov 2004 22:26:07 +0000 +Checked in by : Robert Osfield +From Stephane Simon, added missing OSGDB_EXPORT to osgDB::openArchive functions + +Thu, 11 Nov 2004 16:05:55 +0000 +Checked in by : Robert Osfield +Added write to ostream to ReaderWriterDDS + +Thu, 11 Nov 2004 16:05:30 +0000 +Checked in by : Robert Osfield +Fixed file extraction. + +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. + +Wed, 10 Nov 2004 22:11:28 +0000 +Checked in by : Robert Osfield +Fixed uninitialized variable. + +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. + +Wed, 10 Nov 2004 21:47:08 +0000 +Checked in by : Robert Osfield +Added debugging info for swapped endian values + +Wed, 10 Nov 2004 21:38:54 +0000 +Checked in by : Robert Osfield +Fixes to endian handling. + +Wed, 10 Nov 2004 21:31:44 +0000 +Checked in by : Robert Osfield +Removed duplicated swap bytes + +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(). + + + +Wed, 10 Nov 2004 21:18:31 +0000 +Checked in by : Robert Osfield +Added check for endianess of .osga archives + +Wed, 10 Nov 2004 16:56:58 +0000 +Checked in by : Don BURNS +More cleanups for CYGWIN from Norman Vine + +Wed, 10 Nov 2004 16:40:08 +0000 +Checked in by : Robert Osfield +Added new osga plugin for reading OSG native archives + +Wed, 10 Nov 2004 16:37:02 +0000 +Checked in by : Robert Osfield +Commented out some redundent debuggin info. + +Wed, 10 Nov 2004 13:47:22 +0000 +Checked in by : Robert Osfield +Moved the ReadFunctor to protected section. + +Wed, 10 Nov 2004 13:03:52 +0000 +Checked in by : Robert Osfield +Added support for master file and clean up Archive API. + +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. + +Wed, 10 Nov 2004 09:56:03 +0000 +Checked in by : Robert Osfield +From Mike Weiblen, fix to the state leakage. + +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. + +Tue, 9 Nov 2004 16:49:29 +0000 +Checked in by : Robert Osfield +Fixed tabbing + +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. + +Tue, 9 Nov 2004 15:01:39 +0000 +Checked in by : Robert Osfield +Added rainer's changes for adding billboard glow around sun. + +Tue, 9 Nov 2004 14:18:29 +0000 +Checked in by : Robert Osfield +Added support of archiving into osgTerrain::DataSet and osgdem. + +Tue, 9 Nov 2004 07:34:28 +0000 +Checked in by : Don BURNS +Fixes to the .net plugin for Cygwin, submitted by Norman Vine + +Mon, 8 Nov 2004 20:44:16 +0000 +Checked in by : Robert Osfield +Fixed the compute of PagedLOD ranges for non geocentric datasets + +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. + +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. + +Mon, 8 Nov 2004 16:39:32 +0000 +Checked in by : Robert Osfield +From Stephane ???, fixes for VS.NET build + +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. + +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. + +Sun, 7 Nov 2004 21:17:31 +0000 +Checked in by : Robert Osfield +Added support for openArchive into osgDB + +Sun, 7 Nov 2004 12:13:56 +0000 +Checked in by : Robert Osfield +Fixed insertion of files into an existing archive + +Sat, 6 Nov 2004 21:21:29 +0000 +Checked in by : Robert Osfield +Removed un-needed setCullActive(false) + +Sat, 6 Nov 2004 21:18:19 +0000 +Checked in by : Robert Osfield +Further work on osgDB::Archive + +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. + +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. + +Thu, 4 Nov 2004 20:25:35 +0000 +Checked in by : Robert Osfield +Added a clear() into the RefNodePath operator = (NodePath) method. + +Thu, 4 Nov 2004 15:32:03 +0000 +Checked in by : Robert Osfield +From Morné Pistorius, fixes for VisualStudio7.0 + +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 + +Tue, 2 Nov 2004 17:05:15 +0000 +Checked in by : Robert Osfield +Added prelimanary prox stream buffer to fake the ending of file. + +Tue, 2 Nov 2004 17:04:06 +0000 +Checked in by : Robert Osfield +Added debugging messages to setTrackerNode + +Tue, 2 Nov 2004 14:05:37 +0000 +Checked in by : Robert Osfield +Fixed missing write of image tiles. + +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. + +Mon, 1 Nov 2004 18:29:05 +0000 +Checked in by : Robert Osfield +Removed referecence to the old c2 wiki. + +Mon, 1 Nov 2004 16:16:31 +0000 +Checked in by : Robert Osfield +Commented out settings of TexEnvCombine alpha values + +Mon, 1 Nov 2004 16:14:53 +0000 +Checked in by : Robert Osfield +From Tree chagenes required for Java Wrappers + +Mon, 1 Nov 2004 10:04:40 +0000 +Checked in by : Robert Osfield +Added handling of endian in DrawElementsUShort/UInt implementations + +Fri, 29 Oct 2004 18:24:26 +0000 +Checked in by : Robert Osfield +Added useage of TexEnvCombine + +Fri, 29 Oct 2004 15:42:51 +0000 +Checked in by : Robert Osfield +Added multi-textured city illumination + +Thu, 28 Oct 2004 22:29:46 +0000 +Checked in by : Don BURNS +Test done. + +Thu, 28 Oct 2004 22:28:30 +0000 +Checked in by : Don BURNS +Directory write test to new CVS + +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 + +Thu, 28 Oct 2004 19:09:32 +0000 +Checked in by : Robert Osfield +Fixed support for NodeTrackerManipulator. + +Thu, 28 Oct 2004 14:27:41 +0000 +Checked in by : Robert Osfield +Added support for listing contents of archive + +Thu, 28 Oct 2004 13:40:09 +0000 +Checked in by : Robert Osfield +From Anders Backman, unit tests to test matrix to quat compute. + +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. + +Thu, 28 Oct 2004 13:04:35 +0000 +Checked in by : Robert Osfield +Added return type to addFileReference(). + +Thu, 28 Oct 2004 13:02:33 +0000 +Checked in by : Robert Osfield +Added return value to getFileReferences() + +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. + +Thu, 28 Oct 2004 09:38:03 +0000 +Checked in by : Robert Osfield +Updates for Rainer, and with a few changes by Robert. + +Thu, 28 Oct 2004 08:57:23 +0000 +Checked in by : Robert Osfield +Removed direct dependency on GDAL + +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. + +Wed, 27 Oct 2004 14:09:24 +0000 +Checked in by : Robert Osfield +Added IndexBlock inner class to osgDB::Archive + +Wed, 27 Oct 2004 08:39:18 +0000 +Checked in by : Robert Osfield +Added setCullingActive false to the absolute transform. + +Tue, 26 Oct 2004 18:36:47 +0000 +Checked in by : Robert Osfield +Fixed make files. + +Tue, 26 Oct 2004 18:29:27 +0000 +Checked in by : Robert Osfield +Updates to osgDB::Archive + +Tue, 26 Oct 2004 18:20:52 +0000 +Checked in by : Robert Osfield +Removed GDAL reference + +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. + +Tue, 26 Oct 2004 15:31:33 +0000 +Checked in by : Don BURNS +Removed link to X11 + +Tue, 26 Oct 2004 10:31:52 +0000 +Checked in by : Robert Osfield +Made the className() const + +Tue, 26 Oct 2004 10:27:00 +0000 +Checked in by : Robert Osfield +Updates to the osgarchive application + +Tue, 26 Oct 2004 10:26:43 +0000 +Checked in by : Robert Osfield +Made ReaderWriter::className const + +Mon, 25 Oct 2004 20:08:38 +0000 +Checked in by : Don BURNS +oops. Mistaken check-in of local dependencies file + +Mon, 25 Oct 2004 20:08:06 +0000 +Checked in by : Don BURNS +Oops. mistaken check in of overly modified makerules + +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 + +Mon, 25 Oct 2004 19:16:57 +0000 +Checked in by : Robert Osfield +From Tree, fixes for Java bindings + +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. + +Mon, 25 Oct 2004 18:46:44 +0000 +Checked in by : Robert Osfield +Fixed typo. + +Mon, 25 Oct 2004 18:23:42 +0000 +Checked in by : Robert Osfield +From Rainer, updates to osgplanet. + +Mon, 25 Oct 2004 18:08:34 +0000 +Checked in by : Don BURNS +Small warning fix by Marco. + +Mon, 25 Oct 2004 17:41:54 +0000 +Checked in by : Robert Osfield +Made getHomePosition const. + +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 + +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 + +Sun, 24 Oct 2004 17:50:54 +0000 +Checked in by : Robert Osfield +From Fred Mammond, fixes for x86_64 build + +Sun, 24 Oct 2004 14:42:40 +0000 +Checked in by : Robert Osfield +From Geoff Michel, speeling and typo fixes in osgUtil + +Sun, 24 Oct 2004 14:31:18 +0000 +Checked in by : Robert Osfield +fixes to tabs + +Sun, 24 Oct 2004 14:31:07 +0000 +Checked in by : Robert Osfield +From Pavel Moloshtan, speed improvments in reading and writing index arrays + +Sun, 24 Oct 2004 14:24:15 +0000 +Checked in by : Robert Osfield +Added osgDB::Archive + +Sun, 24 Oct 2004 14:23:42 +0000 +Checked in by : Robert Osfield +From Rainer Oder, updates to osgplanets + +Sun, 24 Oct 2004 14:19:27 +0000 +Checked in by : Robert Osfield +From Eric Sokolowsky, support for 2 channel tiff images + +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. + +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 + +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. + +Fri, 22 Oct 2004 21:01:10 +0000 +Checked in by : Don BURNS +Added default: case for both switch() statements + +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. + +Fri, 22 Oct 2004 18:47:39 +0000 +Checked in by : Robert Osfield +Compile fixes + +Fri, 22 Oct 2004 16:39:24 +0000 +Checked in by : Robert Osfield +Added Rainer's initial osgplanets example. + +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 support to the .ive plugin for attaching the ClusterCullingCallback to nodes. + + + +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 + +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. + +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. + +Mon, 18 Oct 2004 18:59:05 +0000 +Checked in by : Robert Osfield +From Frank Lichtenheld, compile fix to Linux powerpc build. + +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. + +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. + +Mon, 18 Oct 2004 18:31:04 +0000 +Checked in by : Robert Osfield +Added support for hardware generated mipmaps into Textre2D::copy*() methods. + +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")." + +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 + +Mon, 18 Oct 2004 14:42:32 +0000 +Checked in by : Robert Osfield +From Sohey Yamamoto, addition of TexEnvFilter support. + +Sun, 17 Oct 2004 06:14:10 +0000 +Checked in by : Don BURNS +Fix for minor compile error (internal error) for VS7. + +Fri, 15 Oct 2004 20:13:33 +0000 +Checked in by : Don BURNS +Fixed small typo. + +Fri, 15 Oct 2004 10:35:09 +0000 +Checked in by : Robert Osfield +Added osgNV enum Types + +Fri, 15 Oct 2004 09:53:18 +0000 +Checked in by : Robert Osfield +Changed fstream to ifstream + +Fri, 15 Oct 2004 09:10:36 +0000 +Checked in by : Robert Osfield +Added docs + +Thu, 14 Oct 2004 20:35:55 +0000 +Checked in by : Robert Osfield +Updates to NodeTrackerManipulator.cpp + +Thu, 14 Oct 2004 12:10:10 +0000 +Checked in by : Robert Osfield +Fixed the home position. + +Thu, 14 Oct 2004 10:38:29 +0000 +Checked in by : Robert Osfield +Improvements to the NodeTrackManipulator and osgsimulation example + +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. + +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. + +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 + +Wed, 13 Oct 2004 13:40:05 +0000 +Checked in by : Robert Osfield +Small tweaks to the calculateMovement method. + +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, + +Wed, 13 Oct 2004 11:56:09 +0000 +Checked in by : Robert Osfield +Fixed precision of center computation. + +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. + +Tue, 12 Oct 2004 09:54:03 +0000 +Checked in by : Robert Osfield +Added CullingSettngs::s/getInheritanceMask() and inheritCullSettings(,) method. + +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. + +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. + +Sun, 10 Oct 2004 18:18:45 +0000 +Checked in by : Robert Osfield +Fixed copy and past erro in getFontWidth. + +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. + +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. + +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." + + + +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. + +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. + + + +Wed, 6 Oct 2004 19:19:22 +0000 +Checked in by : Robert Osfield +From Jason Daly, fix to multi-texturing/detail texture handling. + +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. + +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. + +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 + +Wed, 6 Oct 2004 13:10:29 +0000 +Checked in by : Robert Osfield +Added passing on of Options object + +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 + +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. + +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 + + + +Tue, 5 Oct 2004 19:12:46 +0000 +Checked in by : Robert Osfield +Added s/getCullSettings to OsgCameraGroup + +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. + +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. + +Tue, 5 Oct 2004 07:08:02 +0000 +Checked in by : Robert Osfield +Changed _stat64 to _stati64 + +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 + +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 + +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. + +Sun, 3 Oct 2004 08:36:27 +0000 +Checked in by : Robert Osfield +Added missing _texAttrListMap.clear(); into reset() + +Fri, 1 Oct 2004 23:18:08 +0000 +Checked in by : Robert Osfield +Added new osgspotlight demo + +Fri, 1 Oct 2004 22:05:40 +0000 +Checked in by : Robert Osfield +From Lewis Harmon, fixes to the Node and NodeCallback constructors. + +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. + +Fri, 1 Oct 2004 15:49:57 +0000 +Checked in by : Robert Osfield +From Rainer Oder, new osglauncher application. + +Fri, 1 Oct 2004 15:48:58 +0000 +Checked in by : Robert Osfield +Added setPlanesFromMatrix method + +Fri, 1 Oct 2004 15:48:00 +0000 +Checked in by : Robert Osfield +Added new setPlanesFromMatrix method + +Fri, 1 Oct 2004 15:47:40 +0000 +Checked in by : Robert Osfield +Updated to use new TexGen method + +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 + +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 + +Fri, 1 Oct 2004 09:19:30 +0000 +Checked in by : Robert Osfield +From Marco Jez, added more examples to runexamples.bat + +Fri, 1 Oct 2004 07:39:15 +0000 +Checked in by : Robert Osfield +Added support for write to ostream into .osg plugin + +Thu, 30 Sep 2004 19:36:15 +0000 +Checked in by : Robert Osfield +Experimentation with new timing code. + +Thu, 30 Sep 2004 14:54:42 +0000 +Checked in by : Robert Osfield +Removed debugging messages + +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. + +Thu, 30 Sep 2004 12:10:45 +0000 +Checked in by : Robert Osfield +Fixed newly introduced compressed mipmnap error. + +Thu, 30 Sep 2004 09:10:29 +0000 +Checked in by : Robert Osfield +Added proper handling of 3d texture compression + +Wed, 29 Sep 2004 19:10:00 +0000 +Checked in by : Robert Osfield +Added support for ClipPlane, ClipNode, TexGenNode to .ive + +Wed, 29 Sep 2004 15:00:07 +0000 +Checked in by : Robert Osfield +Added Texture3D reference + +Wed, 29 Sep 2004 14:31:06 +0000 +Checked in by : Robert Osfield +Added Texture3D implementation. + +Wed, 29 Sep 2004 10:01:46 +0000 +Checked in by : Robert Osfield +Preliminary steps to support for compressed 3D textures. + +Wed, 29 Sep 2004 08:07:32 +0000 +Checked in by : Robert Osfield +Added extra dependencies to osgsimulation example + +Wed, 29 Sep 2004 08:04:46 +0000 +Checked in by : Robert Osfield +Removed makeDir referecnes + +Tue, 28 Sep 2004 09:14:04 +0000 +Checked in by : Robert Osfield +From Tree, changes to better support Java binding generation + +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. + +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. + +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); + + /** Get whether reference counting is active.*/ + static bool getThreadSafeReferenceCounting(); + + + +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" + +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 + +Sun, 26 Sep 2004 19:01:27 +0000 +Checked in by : Robert Osfield +Removed erroneous casts that would have been causing uneccessary copying. + +Sun, 26 Sep 2004 18:39:34 +0000 +Checked in by : Robert Osfield +From Geoff Michel, typos and spelling 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. + +Thu, 23 Sep 2004 20:13:16 +0000 +Checked in by : Robert Osfield +Fixed typo + +Thu, 23 Sep 2004 20:07:37 +0000 +Checked in by : Robert Osfield +Fixed typo. + +Thu, 23 Sep 2004 20:01:40 +0000 +Checked in by : Robert Osfield +Added releaseAllGLObjects() convinience method. + +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. + +Thu, 23 Sep 2004 16:05:24 +0000 +Checked in by : Don BURNS +Fixed warnings + +Thu, 23 Sep 2004 12:27:56 +0000 +Checked in by : Robert Osfield +Updates for better DatabasePager peformance w.r.t constant frame rates. + +Wed, 22 Sep 2004 09:28:40 +0000 +Checked in by : Robert Osfield +Added a extra debugging comment + +Tue, 21 Sep 2004 21:33:52 +0000 +Checked in by : Robert Osfield +Updated to DatabasePager support + +Tue, 21 Sep 2004 17:26:08 +0000 +Checked in by : Robert Osfield +Various improvements to database paing. + +Mon, 20 Sep 2004 17:42:59 +0000 +Checked in by : Don BURNS +removed makeDir.h + +Mon, 20 Sep 2004 17:42:40 +0000 +Checked in by : Don BURNS +Removed temporary makeDir files and call in ReaderWriterNet.cpp + +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(). + +Sun, 19 Sep 2004 19:03:38 +0000 +Checked in by : Robert Osfield +Removed unused variable. + +Sun, 19 Sep 2004 18:34:05 +0000 +Checked in by : Robert Osfield +Added reference to GL_LIBS + +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. + +Sat, 18 Sep 2004 19:27:39 +0000 +Checked in by : Robert Osfield +Removed reference to ComputeTransformCallback + +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. + + + +Wed, 15 Sep 2004 19:10:15 +0000 +Checked in by : Robert Osfield +More spelling & top fixes. + +Wed, 15 Sep 2004 19:07:56 +0000 +Checked in by : Robert Osfield +From Geoff Michel, typo and spelling fixes + +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 + +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 + +Tue, 14 Sep 2004 15:03:18 +0000 +Checked in by : Robert Osfield +Added GDAL check to compile of osgsimulation + +Mon, 13 Sep 2004 17:19:05 +0000 +Checked in by : Robert Osfield +Fix of tabbing and typo + +Mon, 13 Sep 2004 16:10:59 +0000 +Checked in by : Robert Osfield +From Paul Martz, typo and spelling fixes + +Mon, 13 Sep 2004 15:17:43 +0000 +Checked in by : Robert Osfield +Fixed comments + +Mon, 13 Sep 2004 15:14:11 +0000 +Checked in by : Robert Osfield +From Eric Hammil, typo and spelling fixes + +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. + +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. + +Sat, 11 Sep 2004 03:00:11 +0000 +Checked in by : Robert Osfield +Added a deleteTextureObject after the creation of the compressed textures + +Fri, 10 Sep 2004 17:49:50 +0000 +Checked in by : Robert Osfield +Added missing LightModel.h and .cpp from Stansilav. + +Fri, 10 Sep 2004 13:31:37 +0000 +Checked in by : Robert Osfield +Added convinience methods. + +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 + +Thu, 9 Sep 2004 15:14:33 +0000 +Checked in by : Robert Osfield +Made the computeLocalToWorld etc method to use const NodePath's parameters. + +Thu, 9 Sep 2004 13:18:45 +0000 +Checked in by : Robert Osfield +Added osg::RefNodePath class for handling node paths. + +Thu, 9 Sep 2004 13:07:18 +0000 +Checked in by : Robert Osfield +From Stanislav Blinov, addition of LightModel support for .ive format. + +Thu, 9 Sep 2004 09:03:28 +0000 +Checked in by : Robert Osfield +Fixed write of normalmap. + +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. + +Thu, 9 Sep 2004 08:18:43 +0000 +Checked in by : Robert Osfield +From Martin Aumueller, added ref() and unref() to Inventor node handling. + +Wed, 8 Sep 2004 18:14:04 +0000 +Checked in by : Robert Osfield +Fixed keyword used for setting the database name. + +Wed, 8 Sep 2004 15:14:18 +0000 +Checked in by : Robert Osfield +Quick fix to crash in TXPNode. + +Tue, 7 Sep 2004 14:34:04 +0000 +Checked in by : Robert Osfield +Changed usage of assert() to throw. + +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. + +Tue, 7 Sep 2004 10:31:30 +0000 +Checked in by : Robert Osfield +From Paul Martz, removed redundent paramaters in clampArray4LEQUAL. + +Tue, 7 Sep 2004 10:09:52 +0000 +Checked in by : Robert Osfield +Changed the wrap mode from CLAMP to CLAMP_TO_EDGE + +Tue, 7 Sep 2004 10:07:11 +0000 +Checked in by : Robert Osfield +From Paul Martz, typos and spelling fixes + +Tue, 7 Sep 2004 06:59:19 +0000 +Checked in by : Robert Osfield +Added missing setTrackerMode(TrackerMode) + +Mon, 6 Sep 2004 18:20:38 +0000 +Checked in by : Robert Osfield +Added mutex to access to the Registry::_objectCache. + +Mon, 6 Sep 2004 14:59:11 +0000 +Checked in by : Robert Osfield +From Joakim Simonsson, add s/getHPROrder method + +Mon, 6 Sep 2004 14:58:29 +0000 +Checked in by : Robert Osfield +Added docs for max size commandline params. + +Mon, 6 Sep 2004 14:30:25 +0000 +Checked in by : Robert Osfield +From Marco Jez, added missing TexGenNode constructor. + +Sat, 4 Sep 2004 09:22:26 +0000 +Checked in by : Robert Osfield +Updates to controlling maximum texture size + +Fri, 3 Sep 2004 15:42:43 +0000 +Checked in by : Robert Osfield +Added commandline support for Size and texcoord Multipliers + +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. + +Fri, 3 Sep 2004 10:02:56 +0000 +Checked in by : Robert Osfield +Added handling of RGBA to normal map computation + +Thu, 2 Sep 2004 20:42:28 +0000 +Checked in by : Don BURNS +Fixed .net plugin errors on Mac + +Thu, 2 Sep 2004 19:10:33 +0000 +Checked in by : Robert Osfield +From Geoff Michel, typo and spelling fixes + +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. + +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. + +Thu, 2 Sep 2004 10:01:24 +0000 +Checked in by : Robert Osfield +Added usage of carbon pathway in appendPlatformSpecificLibraryFilePaths. + +Thu, 2 Sep 2004 07:44:33 +0000 +Checked in by : Robert Osfield +Added comments from Eric + +Thu, 2 Sep 2004 03:52:13 +0000 +Checked in by : Don BURNS +Fixed a mis-definition of INSTBIN and INSTLIB + +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 + +Wed, 1 Sep 2004 15:14:55 +0000 +Checked in by : Robert Osfield +From Uwe Woessner + +Wed, 1 Sep 2004 14:49:18 +0000 +Checked in by : Robert Osfield +Added Don's new osgDB::makeDirectory() code FileUtils. + +Wed, 1 Sep 2004 11:05:57 +0000 +Checked in by : Robert Osfield +Removed reference to old CmdLineArgs class + +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] + +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 + +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. + +Wed, 1 Sep 2004 09:54:36 +0000 +Checked in by : Robert Osfield +From Marco Jez, added new osgmotionblur example + +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 + +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 + +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 + +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 + +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 + +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 + +Wed, 1 Sep 2004 08:15:36 +0000 +Checked in by : Robert Osfield +From Paul Martz, typos and spelling fixes. + +Tue, 31 Aug 2004 21:18:46 +0000 +Checked in by : Don BURNS +small change for Visual Studio compile + +Tue, 31 Aug 2004 21:06:01 +0000 +Checked in by : Don BURNS +Added Visual Studio files for osgPlugin net + +Tue, 31 Aug 2004 20:49:23 +0000 +Checked in by : Don BURNS +added makeDir - temporary UNIX only + +Tue, 31 Aug 2004 20:26:54 +0000 +Checked in by : Don BURNS +Fixes (hopefully) for windows and other platforms... + +Tue, 31 Aug 2004 14:49:33 +0000 +Checked in by : Robert Osfield +From Geoff Michel, typo and spelling fixes. + +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. + +Tue, 31 Aug 2004 14:21:46 +0000 +Checked in by : Robert Osfield +Simplified the TrackMode options + +Tue, 31 Aug 2004 14:08:12 +0000 +Checked in by : Robert Osfield +From Geoff Michel, spelling and typo fixes. + +Tue, 31 Aug 2004 13:19:30 +0000 +Checked in by : Robert Osfield +From Sébastien Kuntz, spelling and typo fixes + +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. + +Tue, 31 Aug 2004 01:12:56 +0000 +Checked in by : Don BURNS +Added cache_mode option to Net plugin + +Mon, 30 Aug 2004 18:53:44 +0000 +Checked in by : Robert Osfield +Added trackmode support for handling rotation of tracked node + +Mon, 30 Aug 2004 18:51:42 +0000 +Checked in by : Robert Osfield +Fixed the Matrix::get(Quat&) method + +Mon, 30 Aug 2004 10:03:18 +0000 +Checked in by : Robert Osfield +Remamed TrackerManipulator to NodeTrackerManipulator + +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. + +Sun, 29 Aug 2004 15:09:26 +0000 +Checked in by : Robert Osfield +Added handling of $ comment line, and 'g' empty group name + +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 + +And view the whole earth streamed from a server. + + + +Sat, 28 Aug 2004 23:04:47 +0000 +Checked in by : Don BURNS +Changes for IRIX build and fix to build system + +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 + + + +Fri, 27 Aug 2004 16:52:23 +0000 +Checked in by : Robert Osfield +Fix of OSX build + +Fri, 27 Aug 2004 16:19:05 +0000 +Checked in by : Robert Osfield +Fix for OSX build. + +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 + +Fri, 27 Aug 2004 14:56:08 +0000 +Checked in by : Robert Osfield +Added .tif extension to handled extension list + +Fri, 27 Aug 2004 12:04:29 +0000 +Checked in by : Robert Osfield +Removed eroneous cancel() and join() from the DatabasePager::run() method. + +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. + +Fri, 27 Aug 2004 08:01:17 +0000 +Checked in by : Robert Osfield +Added handling of DrawArrayLengths PrimitiveSet. + +Thu, 26 Aug 2004 16:20:26 +0000 +Checked in by : Robert Osfield +Improvements to handling of winding of polygons. + +Thu, 26 Aug 2004 14:52:14 +0000 +Checked in by : Robert Osfield +Removed debugging output. + +Thu, 26 Aug 2004 14:33:38 +0000 +Checked in by : Robert Osfield +Rewrite of OBJ parser + converter to OSG + +Thu, 26 Aug 2004 06:41:09 +0000 +Checked in by : Robert Osfield +Fixed getHomePosition + +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 + +Tue, 24 Aug 2004 18:27:47 +0000 +Checked in by : Robert Osfield +Removed "interlace" debugging message + +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. + +Tue, 24 Aug 2004 13:25:45 +0000 +Checked in by : Robert Osfield +Added support for looping mode + +Tue, 24 Aug 2004 12:55:15 +0000 +Checked in by : Robert Osfield +Added s/getLoopingMode() to ImageStream and MPEG plugin + +Tue, 24 Aug 2004 11:00:05 +0000 +Checked in by : Robert Osfield +Removed HoveManipulator + +Tue, 24 Aug 2004 10:58:51 +0000 +Checked in by : Robert Osfield +Updated docs + +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. + +Tue, 24 Aug 2004 07:29:28 +0000 +Checked in by : Robert Osfield +Changed --compress to --compressed in commandline docs + +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. + +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. + +Mon, 23 Aug 2004 14:08:26 +0000 +Checked in by : Robert Osfield +Fixed link to download page + +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 + +Mon, 23 Aug 2004 08:31:55 +0000 +Checked in by : Robert Osfield +Changed the write help option to just output commandline options. + +Mon, 23 Aug 2004 07:25:19 +0000 +Checked in by : Robert Osfield +Updated docs to point to correct 3rd party binaries + +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. + +Fri, 20 Aug 2004 09:46:02 +0000 +Checked in by : Robert Osfield +From Don Tidrow, fixes to comments. + +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 + +Wed, 18 Aug 2004 09:34:50 +0000 +Checked in by : Robert Osfield +Set date for 0.9.7-2 release + +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 + +Tue, 17 Aug 2004 19:42:45 +0000 +Checked in by : Robert Osfield +From Bruce Clay, fixes for VS6.0 build. + +Tue, 17 Aug 2004 18:57:02 +0000 +Checked in by : Robert Osfield +From David Fries, added getBinNum() method + +Tue, 17 Aug 2004 18:56:24 +0000 +Checked in by : Robert Osfield +Changed sizeof(..) references to 1,2,4 respectively. + +Tue, 17 Aug 2004 08:14:50 +0000 +Checked in by : Robert Osfield +Updated changelog + +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. " + +Tue, 17 Aug 2004 07:44:31 +0000 +Checked in by : Robert Osfield +Changed the "flip" keyword to "dds_flip" + +Tue, 17 Aug 2004 07:43:30 +0000 +Checked in by : Robert Osfield +Updated docs for second rev of 0.9.7 + +Tue, 17 Aug 2004 06:15:54 +0000 +Checked in by : Robert Osfield +Removed computeMipMaps call + +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. + +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. + +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. + +Mon, 16 Aug 2004 16:43:17 +0000 +Checked in by : Robert Osfield +Fixed _MSC_VAR reference + +Mon, 16 Aug 2004 15:45:17 +0000 +Checked in by : Robert Osfield +Added dxtctool.h/.cpp + +Mon, 16 Aug 2004 15:43:12 +0000 +Checked in by : Robert Osfield +Added fxtctool in prep for adding compressed imagery swap + +Mon, 16 Aug 2004 14:21:31 +0000 +Checked in by : Robert Osfield +Cleaned up output level of debugging messages + +Mon, 16 Aug 2004 14:03:17 +0000 +Checked in by : Robert Osfield +Fix to order of materials + +Mon, 16 Aug 2004 13:54:40 +0000 +Checked in by : Robert Osfield +From Michael Gronager, addition of NodeCallback support in .osg format. + +Mon, 16 Aug 2004 13:17:29 +0000 +Checked in by : Robert Osfield +Improvements to the handling of OBJ files + +Mon, 16 Aug 2004 08:58:07 +0000 +Checked in by : Robert Osfield +Disabled the culling on the DistortionNode. + +Mon, 16 Aug 2004 08:55:48 +0000 +Checked in by : Robert Osfield +Disabled the culling for clear node. + +Mon, 16 Aug 2004 08:32:16 +0000 +Checked in by : Robert Osfield +Changed the length multiple to be 2x the bounding sphere radius + +Mon, 16 Aug 2004 07:29:07 +0000 +Checked in by : Robert Osfield +From Michael Gronager, fix to an orientation bug. + +Sat, 14 Aug 2004 15:42:01 +0000 +Checked in by : Don BURNS +P*E*G*O*U*T Sound. Spelling fixes. + +Fri, 13 Aug 2004 15:48:24 +0000 +Checked in by : Robert Osfield +Added news for release 0.9.7-2 + +Fri, 13 Aug 2004 15:29:15 +0000 +Checked in by : Robert Osfield +Updates for 0.9.7-2 release + +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. + +Fri, 13 Aug 2004 14:09:48 +0000 +Checked in by : Robert Osfield +Updated docs. + +Fri, 13 Aug 2004 13:46:47 +0000 +Checked in by : Robert Osfield +Added docs for CacheObjectHints + +Fri, 13 Aug 2004 13:27:29 +0000 +Checked in by : Robert Osfield +Removed redundent include/ReadFile call + +Fri, 13 Aug 2004 12:38:12 +0000 +Checked in by : Robert Osfield +Changed the "Reading a byte swapped file" message to info level. + +Fri, 13 Aug 2004 12:05:08 +0000 +Checked in by : Robert Osfield +Fix for VS6.0 build + +Fri, 13 Aug 2004 10:50:44 +0000 +Checked in by : Robert Osfield +Added #include required for X-platform build. + +Fri, 13 Aug 2004 10:49:45 +0000 +Checked in by : Robert Osfield +Removed inappropriate #ifdefs + +Fri, 13 Aug 2004 10:46:04 +0000 +Checked in by : Robert Osfield +Fixes for OSX. + +Wed, 11 Aug 2004 08:25:14 +0000 +Checked in by : Robert Osfield +From Ben Discoe, build fix for float version of Matrix. + +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 + +Tue, 10 Aug 2004 13:30:32 +0000 +Checked in by : Robert Osfield +Updated to include reference to osgdem + +Tue, 10 Aug 2004 13:19:04 +0000 +Checked in by : Robert Osfield +Added osgdem quick usage guide + +Mon, 9 Aug 2004 15:12:00 +0000 +Checked in by : Robert Osfield +Set revision number back to 0. + +Mon, 9 Aug 2004 15:08:30 +0000 +Checked in by : Robert Osfield +Set version to 0.9.7-1 + +Mon, 9 Aug 2004 13:58:03 +0000 +Checked in by : Robert Osfield +Updated NEWS + +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. + +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 + +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. + +Fri, 6 Aug 2004 09:38:43 +0000 +Checked in by : Robert Osfield +Fix for Mingw from Norman Vine. + +Fri, 6 Aug 2004 09:36:13 +0000 +Checked in by : Robert Osfield +Updated NEWS + +Fri, 6 Aug 2004 09:35:08 +0000 +Checked in by : Robert Osfield +From Bob Kuehne, adding of SDKPATH to OSX build + +Fri, 6 Aug 2004 08:56:18 +0000 +Checked in by : Robert Osfield +Added support for the "precision " options string + +Fri, 6 Aug 2004 08:34:54 +0000 +Checked in by : Robert Osfield +Updated docs + +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 + + + +Fri, 6 Aug 2004 06:53:36 +0000 +Checked in by : Robert Osfield +Updated docs + +Fri, 6 Aug 2004 05:28:51 +0000 +Checked in by : Robert Osfield +Typo fixes from Geoff Michel + +Fri, 6 Aug 2004 05:25:21 +0000 +Checked in by : Robert Osfield +From Bruce Clay, Build fixes for Win32 VS6.0 + +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. + +Thu, 5 Aug 2004 15:14:50 +0000 +Checked in by : Robert Osfield +From Marco Jez, updates to work with latest StateAttrbiute::compileGLObjects method + +Thu, 5 Aug 2004 15:02:51 +0000 +Checked in by : Robert Osfield +From Marco Jez, commented out info debugging messages + +Thu, 5 Aug 2004 13:41:52 +0000 +Checked in by : Robert Osfield +From Marco Jez, VS.NET warning fixes. + +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. + +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. + +Thu, 5 Aug 2004 08:02:48 +0000 +Checked in by : Robert Osfield +Set version numbers for 0.9.7 release + +Wed, 4 Aug 2004 10:22:55 +0000 +Checked in by : Robert Osfield +Added GDAL to dependencies list + +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 + +Wed, 4 Aug 2004 09:20:28 +0000 +Checked in by : Robert Osfield +Added support for setting custom dependencies + +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 + +Wed, 4 Aug 2004 07:14:12 +0000 +Checked in by : Robert Osfield +From Brede Johansen, fixes for Win32 build + +Wed, 4 Aug 2004 06:57:03 +0000 +Checked in by : Robert Osfield +From Don Tidrow, build fix for Peformer + +Tue, 3 Aug 2004 19:01:32 +0000 +Checked in by : Robert Osfield +Brief update of news. + +Tue, 3 Aug 2004 19:00:55 +0000 +Checked in by : Robert Osfield +Fixed tabbing + +Tue, 3 Aug 2004 19:00:33 +0000 +Checked in by : Robert Osfield +Added test for quat multiplication ordering. + +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. + +Tue, 3 Aug 2004 12:38:11 +0000 +Checked in by : Robert Osfield +Added include of scoped lock + +Tue, 3 Aug 2004 11:01:39 +0000 +Checked in by : Robert Osfield +Better macro support for switching on/off use of mutex + +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. + +Mon, 2 Aug 2004 15:56:18 +0000 +Checked in by : Robert Osfield +Fixed warnings + +Mon, 2 Aug 2004 15:52:50 +0000 +Checked in by : Robert Osfield +Fixed warning + +Mon, 2 Aug 2004 14:52:39 +0000 +Checked in by : Robert Osfield +Fixed warnigns + +Mon, 2 Aug 2004 14:52:24 +0000 +Checked in by : Robert Osfield +Fixed warnings + +Mon, 2 Aug 2004 14:42:20 +0000 +Checked in by : Robert Osfield +Removed warings + +Mon, 2 Aug 2004 13:57:47 +0000 +Checked in by : Robert Osfield +Fixed warnings + +Mon, 2 Aug 2004 12:19:50 +0000 +Checked in by : Robert Osfield +Made the member variables in RenderStage and RenderBin protected + +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. + +Mon, 2 Aug 2004 09:11:31 +0000 +Checked in by : Robert Osfield +From Norman Vine, fixes for Mingw + +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." + +"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)." + + + +Mon, 2 Aug 2004 07:23:26 +0000 +Checked in by : Robert Osfield +Added osgtesselate example + +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. + +Sun, 1 Aug 2004 08:26:44 +0000 +Checked in by : Robert Osfield +Build fixes for gcc 3.4.1 support + +Sun, 1 Aug 2004 04:10:54 +0000 +Checked in by : Robert Osfield +Removed old iv plugin + +Sun, 1 Aug 2004 04:06:07 +0000 +Checked in by : Robert Osfield +Added PROFILER support under Linux for gprof and FunctionCheck + +Fri, 30 Jul 2004 15:44:59 +0000 +Checked in by : Robert Osfield +Added beginnings of new TrackballManipulator + +Thu, 29 Jul 2004 14:24:50 +0000 +Checked in by : Robert Osfield +Added osgText to makefile + +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. + +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. + +Wed, 28 Jul 2004 12:38:54 +0000 +Checked in by : Robert Osfield +Replaced GL_PACK_ROW_LENGTH by GL_UNPACK_ROW_LENGTH + +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 + +Wed, 28 Jul 2004 12:27:25 +0000 +Checked in by : Robert Osfield +Added initializer for _videoWriteData and _rows pointers + +Wed, 28 Jul 2004 10:26:44 +0000 +Checked in by : Robert Osfield +Commented out debugging messages + +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. + +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 + +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 + +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. + +Tue, 27 Jul 2004 13:32:15 +0000 +Checked in by : Robert Osfield +Clean up of debugging messages + +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 + +Tue, 27 Jul 2004 10:23:11 +0000 +Checked in by : Robert Osfield +Changes to fix multiple thread start. + +Tue, 27 Jul 2004 10:11:45 +0000 +Checked in by : Robert Osfield +Added support s/getImage(uint i) and getNumImages(). + +Tue, 27 Jul 2004 09:04:56 +0000 +Checked in by : Robert Osfield +Fixed double thread start problem. + +Mon, 26 Jul 2004 19:40:02 +0000 +Checked in by : Robert Osfield +Made the handling of types more consistent + +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. + +Sun, 25 Jul 2004 18:46:20 +0000 +Checked in by : Robert Osfield +Changed value_type back to being a float. + +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 + +Fri, 23 Jul 2004 09:49:04 +0000 +Checked in by : Robert Osfield +Fixed iddle update. + +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. + +Fri, 23 Jul 2004 04:03:57 +0000 +Checked in by : Robert Osfield +Made doc comments more relevant. + +Thu, 22 Jul 2004 18:34:38 +0000 +Checked in by : Robert Osfield +Added support for OSG_OPTIMIZER="OFF" + +Thu, 22 Jul 2004 15:41:13 +0000 +Checked in by : Robert Osfield +Fixed build + +Thu, 22 Jul 2004 15:11:14 +0000 +Checked in by : Robert Osfield +Added more usage mutex to serialize access to Quicktime. + +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. + +Thu, 22 Jul 2004 11:59:58 +0000 +Checked in by : Robert Osfield +Added support texture compression in osgconv + +Thu, 22 Jul 2004 07:41:17 +0000 +Checked in by : Robert Osfield +Changed _valueAnisotropy from bool to float. + +Wed, 21 Jul 2004 19:16:49 +0000 +Checked in by : Robert Osfield +Added preliminary support for thread safety in various delete GLobjects code + +Wed, 21 Jul 2004 19:15:34 +0000 +Checked in by : Robert Osfield +Added missing tex env mode + +Wed, 21 Jul 2004 19:14:15 +0000 +Checked in by : Robert Osfield +Replaced STOPPED by PAUSED. + +Wed, 21 Jul 2004 19:04:31 +0000 +Checked in by : Robert Osfield +From Mike Weiblen, VS formated .dsw + +Wed, 21 Jul 2004 19:01:40 +0000 +Checked in by : Robert Osfield +Removed the stop method, replacing it by pause + +Wed, 21 Jul 2004 19:01:16 +0000 +Checked in by : Robert Osfield +Removed the stop method + +Wed, 21 Jul 2004 19:00:48 +0000 +Checked in by : Robert Osfield +Removed stop method, as it overlaps the pause method. + +Wed, 21 Jul 2004 10:01:56 +0000 +Checked in by : Robert Osfield +Clean up of thread handling. + +Wed, 21 Jul 2004 08:55:17 +0000 +Checked in by : Robert Osfield +Double intersections distance for intersects. + +Tue, 20 Jul 2004 18:50:30 +0000 +Checked in by : Robert Osfield +From Geoff Michel, fixes. + +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. + +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. + +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. + +Tue, 20 Jul 2004 05:36:44 +0000 +Checked in by : Robert Osfield +From Eric Sokolosky, added INVENTOR_INCLUDE and INVENTOR_LIB vars. + +Tue, 20 Jul 2004 05:34:02 +0000 +Checked in by : Robert Osfield +Added OpenThreads mutex to protect ref()/unref(). + +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. + +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." + +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. + +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. + +Mon, 19 Jul 2004 09:39:58 +0000 +Checked in by : Robert Osfield +Lowered level of debugging message + +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. + +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. + +Sat, 17 Jul 2004 10:33:26 +0000 +Checked in by : Robert Osfield +From Mike Weiblen, updates to the psuedo loaders to add documentation. + +Mon, 12 Jul 2004 21:32:33 +0000 +Checked in by : Robert Osfield +Fixed the computePosition so it find intersections more easily. + +Mon, 12 Jul 2004 19:54:54 +0000 +Checked in by : Robert Osfield +Added support for matix manipulator setHomePosition(,,) + +Mon, 12 Jul 2004 17:30:36 +0000 +Checked in by : Robert Osfield +Removed enabling of use client stage storage hint. + +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. + +Mon, 12 Jul 2004 13:13:58 +0000 +Checked in by : Robert Osfield +Added debugging message, currently commented out. + +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. + +Mon, 12 Jul 2004 09:43:45 +0000 +Checked in by : Robert Osfield +Reduced the pan sensitive on the trackball + +Mon, 12 Jul 2004 09:17:21 +0000 +Checked in by : Robert Osfield +Reduced the sensitivity of the pan. + +Mon, 12 Jul 2004 01:01:00 +0000 +Checked in by : Robert Osfield +Added a more flexible variable on the textured quad generation function + +Sun, 11 Jul 2004 23:07:47 +0000 +Checked in by : Robert Osfield +Made debugging message write to osg::INFO instead of osg::NOTICE + +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. + +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. + +Fri, 9 Jul 2004 20:58:43 +0000 +Checked in by : Robert Osfield +Fixed cluster culling. + +Fri, 9 Jul 2004 15:42:07 +0000 +Checked in by : Robert Osfield +Compiles fixes for VS.6.0 + +Fri, 9 Jul 2004 15:41:50 +0000 +Checked in by : Robert Osfield +VS.NET Warning fixes from Stephane + +Fri, 9 Jul 2004 15:33:05 +0000 +Checked in by : Robert Osfield +Added osgText to dependency list of osgsimulation example + +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. + +Fri, 9 Jul 2004 15:24:01 +0000 +Checked in by : Robert Osfield +Clean up of commandline options + +Fri, 9 Jul 2004 15:21:33 +0000 +Checked in by : Robert Osfield +Improvements to the handling of coordinate system nodes + +Fri, 9 Jul 2004 12:14:25 +0000 +Checked in by : Robert Osfield +Clean up of debugging information. + +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" + +Thu, 8 Jul 2004 22:28:15 +0000 +Checked in by : Robert Osfield +Added new coputeActiveCooridnateSystemNodePath method + +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. + +Thu, 8 Jul 2004 22:11:42 +0000 +Checked in by : Robert Osfield +Made the local storage of a StateAttribute* be a ref_ptr<> + +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 + +Wed, 7 Jul 2004 15:05:00 +0000 +Checked in by : Robert Osfield +Added lighting and materials to volume subgraph + +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. + +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. + +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.). + +Wed, 7 Jul 2004 09:04:21 +0000 +Checked in by : Robert Osfield +Added support for automatically computing the local skirt orientation + +Tue, 6 Jul 2004 15:10:33 +0000 +Checked in by : Robert Osfield +Added mutex to image stream thread to serialize calls to Quicktime. + +Tue, 6 Jul 2004 13:00:14 +0000 +Checked in by : Robert Osfield +From Geoff Michel, replaced used C style FILE with iostream. + +Tue, 6 Jul 2004 12:32:09 +0000 +Checked in by : Robert Osfield +Removed debugging message + +Tue, 6 Jul 2004 12:15:03 +0000 +Checked in by : Robert Osfield +Fixed warning. + +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. + +Tue, 6 Jul 2004 06:13:34 +0000 +Checked in by : Robert Osfield +Added GL_TEXTURE_DEPTH #define for Win32 build + +Tue, 6 Jul 2004 06:05:32 +0000 +Checked in by : Robert Osfield +Fixed build after Image change + +Mon, 5 Jul 2004 21:46:02 +0000 +Checked in by : Robert Osfield +Added dealloc or previous image data into readImageFromTexture + +Mon, 5 Jul 2004 21:09:30 +0000 +Checked in by : Robert Osfield +Added suppor for copying mipmaps of compressed textures + +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. + +Mon, 5 Jul 2004 09:04:53 +0000 +Checked in by : Robert Osfield +From Ulrich Hertlein, added check for detailRatio<=0.0 + +Mon, 5 Jul 2004 07:42:46 +0000 +Checked in by : Robert Osfield +Fixed missing member variable initialized varaibles + +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. + +Fri, 2 Jul 2004 14:45:36 +0000 +Checked in by : Robert Osfield +Added setFunction and setReferenceValue method + +Fri, 2 Jul 2004 14:43:27 +0000 +Checked in by : Robert Osfield +Added normal setting to slice planes + +Thu, 1 Jul 2004 14:30:18 +0000 +Checked in by : Robert Osfield +Clean up of osgvolume + +Thu, 1 Jul 2004 14:29:29 +0000 +Checked in by : Robert Osfield +Added osgvolume + +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. + +Thu, 1 Jul 2004 14:22:11 +0000 +Checked in by : Robert Osfield +Fixed indenting + +Thu, 1 Jul 2004 13:53:30 +0000 +Checked in by : Robert Osfield +Moved the radius parameter from PageLOD into LOD. + +Wed, 30 Jun 2004 19:07:05 +0000 +Checked in by : Robert Osfield +Added support for using pixel size control of LOD levels. + +Wed, 30 Jun 2004 14:43:40 +0000 +Checked in by : Robert Osfield +Maded the image filename handling more consistent. + +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. + +Wed, 30 Jun 2004 09:02:41 +0000 +Checked in by : Robert Osfield +Fixed handling of PROCTED/OVERRIDE + +Wed, 30 Jun 2004 07:26:02 +0000 +Checked in by : Robert Osfield +Changed const int to #define for VS6.0 build + +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 + +Tue, 29 Jun 2004 14:58:24 +0000 +Checked in by : Robert Osfield +Improved the handling of normal lighting + +Tue, 29 Jun 2004 13:59:07 +0000 +Checked in by : Robert Osfield +Added osgvolume example + +Tue, 29 Jun 2004 08:03:28 +0000 +Checked in by : Robert Osfield +Fixed parsing of internalTextureFormat. + +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. + +Mon, 28 Jun 2004 21:39:31 +0000 +Checked in by : Robert Osfield +Fixed warnings. + +Mon, 28 Jun 2004 20:47:39 +0000 +Checked in by : Robert Osfield +From Matt Burke, typo fix on getMinimumDistance(). + +Mon, 28 Jun 2004 15:09:49 +0000 +Checked in by : Robert Osfield +Added .osg support for new TexGenNode + +Mon, 28 Jun 2004 14:18:48 +0000 +Checked in by : Robert Osfield +Fixed warning + +Mon, 28 Jun 2004 13:18:31 +0000 +Checked in by : Robert Osfield +From Michael Logan, build fix for Performer plugin + +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 + +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. + +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. + +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. + +Thu, 17 Jun 2004 15:07:50 +0000 +Checked in by : Robert Osfield +Added handling of GL_INTENSITY in osg::Image::computeNumComponents() + +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. + +Thu, 17 Jun 2004 14:02:15 +0000 +Checked in by : Robert Osfield +Added support for setting texture units in the new TexGenNode. + +Wed, 16 Jun 2004 15:05:01 +0000 +Checked in by : Robert Osfield +From Loic Dachary, added missing copy contructor operations. + +Wed, 16 Jun 2004 06:02:12 +0000 +Checked in by : Robert Osfield +From David Fries, small treak to debugging output. + +Tue, 15 Jun 2004 12:31:25 +0000 +Checked in by : Robert Osfield +Added include of osg/ClusterCullingCallback + +Tue, 15 Jun 2004 12:26:39 +0000 +Checked in by : Robert Osfield +Added Marco's AutoTransform.cpp + +Mon, 14 Jun 2004 20:14:54 +0000 +Checked in by : Robert Osfield +Fixed deprecated #idef + +Mon, 14 Jun 2004 20:12:04 +0000 +Checked in by : Robert Osfield +From Marco Jez, implemented I/O support for the AutoTransform node. + +Mon, 14 Jun 2004 20:11:28 +0000 +Checked in by : Robert Osfield +Fixed #ifdef USE_DEPRECATED_API + +Mon, 14 Jun 2004 20:10:08 +0000 +Checked in by : Robert Osfield +Improved precision of AnimationPath IO. + +Mon, 14 Jun 2004 19:34:43 +0000 +Checked in by : Robert Osfield +Changed Billboard::g/setPos(..) to g/setPosition(..). + +Mon, 14 Jun 2004 19:31:48 +0000 +Checked in by : Robert Osfield +Fixed tabbing. + +Mon, 14 Jun 2004 19:30:20 +0000 +Checked in by : Robert Osfield +Added extra constructor to make it more convinient to create AlphaFunc. + +Mon, 14 Jun 2004 19:20:07 +0000 +Checked in by : Robert Osfield +Tweaked comments. + +Mon, 14 Jun 2004 19:17:32 +0000 +Checked in by : Robert Osfield +Removed old UserData comment which was non longer relevant. + +Mon, 14 Jun 2004 19:14:06 +0000 +Checked in by : Robert Osfield +Fixed typos. + +Mon, 14 Jun 2004 19:11:04 +0000 +Checked in by : Robert Osfield +Added new TexGenNode class for positioning tex gens. + +Fri, 11 Jun 2004 21:27:36 +0000 +Checked in by : Robert Osfield +Fixed handling of skylight and headlight options in osgProducer::Viewer. + +Fri, 11 Jun 2004 21:05:50 +0000 +Checked in by : Robert Osfield +Added better debugging messages for verify bindings. + +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. + +Fri, 11 Jun 2004 21:00:06 +0000 +Checked in by : Robert Osfield +Added further checks for _node validity. + +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. + +Fri, 11 Jun 2004 14:49:22 +0000 +Checked in by : Robert Osfield +Added missing setColorBinding() into ConvertFromFLT::setMeshColors(). + +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. + +Thu, 10 Jun 2004 05:27:43 +0000 +Checked in by : Robert Osfield +Added CluserCullingCallback + +Wed, 9 Jun 2004 20:18:58 +0000 +Checked in by : Robert Osfield +Compile fix w.r.t new CoordinateSystemNode. + +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. + +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. + +Wed, 9 Jun 2004 15:06:19 +0000 +Checked in by : Robert Osfield +Added proper mapping of format and coordinate system. + +Wed, 9 Jun 2004 15:00:03 +0000 +Checked in by : Robert Osfield +Added CoordinateSystem::s/getFormat(). + +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 + +Wed, 9 Jun 2004 10:03:01 +0000 +Checked in by : Robert Osfield +Added --o_cs, --o_wkt and --o_wkt_file commandline options. + +Tue, 8 Jun 2004 14:30:48 +0000 +Checked in by : Robert Osfield +Improved the precision of animation paths. + +Tue, 8 Jun 2004 13:58:36 +0000 +Checked in by : Robert Osfield +Added options for controlling mipmapping and aniso-tropic filtering. + +Tue, 8 Jun 2004 12:31:33 +0000 +Checked in by : Robert Osfield +Updates to FlightManipulator + +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<>. + +Tue, 8 Jun 2004 07:32:08 +0000 +Checked in by : Robert Osfield +Updates to the terrain manipulator. + +Mon, 7 Jun 2004 15:05:22 +0000 +Checked in by : Robert Osfield +Moved the osg::ClusterCullingCallback into into own header and source file. + +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. + +Mon, 7 Jun 2004 12:53:09 +0000 +Checked in by : Robert Osfield +Added sphere segment to osgsimulator. + +Sun, 6 Jun 2004 14:28:29 +0000 +Checked in by : Robert Osfield +Added --RGB_16, --RGB_24 and --compressed options. + +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. + +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. + +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. + +Fri, 4 Jun 2004 10:05:18 +0000 +Checked in by : Robert Osfield +Added check to Quat::makeRotate(,,,) to catch zero lengh axis. + +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. + +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. + +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 + +Thu, 3 Jun 2004 20:06:17 +0000 +Checked in by : Robert Osfield +Fixed spelling of Equivalent. + +Thu, 3 Jun 2004 10:16:19 +0000 +Checked in by : Robert Osfield +Added handling of case when only one colour is used. + +Thu, 3 Jun 2004 10:10:41 +0000 +Checked in by : Robert Osfield +Added support for a single color in a ColorRange + +Thu, 3 Jun 2004 09:36:49 +0000 +Checked in by : Robert Osfield +Added room for tail of text. + +Wed, 2 Jun 2004 14:16:45 +0000 +Checked in by : Robert Osfield +Added handling of skirt ratio, and extra docs on commandline args + +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. + +Wed, 2 Jun 2004 14:13:11 +0000 +Checked in by : Robert Osfield +Added derived reqiestRedraw() and requestContinueUpdate() methods for debugging purposes. + +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. + +Wed, 26 May 2004 00:27:00 +0000 +Checked in by : Robert Osfield +Fixed setCoordinateFrame method + +Wed, 26 May 2004 00:26:43 +0000 +Checked in by : Robert Osfield +Made the drive and flight manipulators more sensitive to de/acceleration + +Tue, 25 May 2004 20:40:26 +0000 +Checked in by : Robert Osfield +From George Tarantilils, add missing handling of alpha channel. + +Tue, 25 May 2004 20:39:49 +0000 +Checked in by : Robert Osfield +Changed screen grab filename back to a saved_image.jpg + +Tue, 25 May 2004 20:35:14 +0000 +Checked in by : Robert Osfield +Updated clampProjectionMatrix methods + +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. + +Tue, 25 May 2004 14:32:20 +0000 +Checked in by : Robert Osfield +Updates the movie support + +Tue, 25 May 2004 07:40:18 +0000 +Checked in by : Robert Osfield +Added better handling of clamping of projection matrix + +Mon, 24 May 2004 19:50:13 +0000 +Checked in by : Robert Osfield +From Alberto Farre, fixes to the computation of sizes + +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 + +Thu, 20 May 2004 22:20:39 +0000 +Checked in by : Robert Osfield +Added HUD scalar bar. + +Thu, 20 May 2004 13:54:53 +0000 +Checked in by : Robert Osfield +Fixed warnigs on VS. + +Thu, 20 May 2004 12:57:06 +0000 +Checked in by : Robert Osfield +Improved support for new double Vec* classes + +Thu, 20 May 2004 10:42:05 +0000 +Checked in by : Robert Osfield +Fixed typo of Vec3f to Vec2f + +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. + +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 + +Wed, 19 May 2004 09:12:52 +0000 +Checked in by : Robert Osfield +Added GL_RESCALE_NORMAL to allow compilation with GL1.1 headers + +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. + +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. + +Mon, 17 May 2004 13:20:41 +0000 +Checked in by : Robert Osfield +From Bob Kuehne, more general checks for existance of extensions. + +Mon, 17 May 2004 12:08:52 +0000 +Checked in by : Robert Osfield +Improved the pan controls on the terrain manipulator + +Mon, 17 May 2004 10:21:30 +0000 +Checked in by : Robert Osfield +From Ruben, fix for gcc 3.4 build + +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. + +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. + +Fri, 14 May 2004 14:43:41 +0000 +Checked in by : Robert Osfield +Fixed error of headers having ..\..\src\ path instaead of ..\..\include\ + +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 + + + +Thu, 13 May 2004 22:06:20 +0000 +Checked in by : Robert Osfield +Revert the computeNearFar mode to using bounding volumes as default. + +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. + +Thu, 13 May 2004 13:37:55 +0000 +Checked in by : Robert Osfield +From Bruce Clay, cross platform implemention of fileType(..) + +Thu, 13 May 2004 08:11:31 +0000 +Checked in by : Robert Osfield +From Donny Cipperly, completed Windows support for fileType() + +Wed, 12 May 2004 20:31:58 +0000 +Checked in by : Robert Osfield +Fixes for FreeBSD + +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. + +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. + +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 + +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. + +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 + +Mon, 10 May 2004 14:53:33 +0000 +Checked in by : Robert Osfield +Made GDAL_INSTALLED default to no + +Mon, 10 May 2004 13:56:05 +0000 +Checked in by : Robert Osfield +Removed eroneous return statement. + +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. " + + + +Sun, 9 May 2004 06:29:54 +0000 +Checked in by : Robert Osfield +From Mike Weiblen, Fixes for Win32 build + +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. + + * IVE and OSG reader/writers were updated as appropriate" + + + +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. + +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)." + + + +Sat, 8 May 2004 18:41:18 +0000 +Checked in by : Don BURNS +Ooops... previous fix didn't work, corrected. + +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 + +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. + +Sat, 8 May 2004 06:13:16 +0000 +Checked in by : Robert Osfield +Did a unix2dos and checked in trans.dsp + +Fri, 7 May 2004 21:08:06 +0000 +Checked in by : Robert Osfield +Changed scale.dsp etc instance to rot.dsp etc. + +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. + +Fri, 7 May 2004 19:55:12 +0000 +Checked in by : Robert Osfield +From Marco Jez, replacement of local mutex lock/unlock with ScopedLock. + +Fri, 7 May 2004 15:18:59 +0000 +Checked in by : Robert Osfield +From Mike Weiblen, added new rot, scale and trans pseudo loaders. + +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.) + +Fri, 7 May 2004 14:44:58 +0000 +Checked in by : Robert Osfield +Fixed tabbing to be all four spaced tabs + +Fri, 7 May 2004 14:33:15 +0000 +Checked in by : Robert Osfield +From Julian, fix to handling of multi-textures + +Fri, 7 May 2004 13:43:41 +0000 +Checked in by : Robert Osfield +Added support for osgDB::ReaderWriter::ReadResult::FILE_LOADED_FROM_CACHE + +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) + +Fri, 7 May 2004 12:40:21 +0000 +Checked in by : Robert Osfield +Added GL_TEXTURE_RECTANGLE define + +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 + +Fri, 7 May 2004 11:18:18 +0000 +Checked in by : Robert Osfield +Changed debug info level + +Fri, 7 May 2004 11:10:05 +0000 +Checked in by : Robert Osfield +Changed notify level of debuggin message from NOTICE to INFO + +Fri, 7 May 2004 11:09:05 +0000 +Checked in by : Robert Osfield +From Don Tidrow, changed cerr usage to osg::notify() + +Thu, 6 May 2004 12:57:44 +0000 +Checked in by : Robert Osfield +From Geof Michel, fix to osgFX. + +Thu, 6 May 2004 12:30:53 +0000 +Checked in by : Robert Osfield +*** empty log message *** + +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. + +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. + + + +Thu, 6 May 2004 10:54:58 +0000 +Checked in by : Robert Osfield +Fixed computeLocalTransform to generate correct orientation of local coordinate frame. + +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. + +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 + +Wed, 5 May 2004 09:16:12 +0000 +Checked in by : Robert Osfield +Added support for reading environmental varables in CullSettings. + +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 + +Tue, 4 May 2004 18:15:38 +0000 +Checked in by : Robert Osfield +Added gdal_i.lib to osgdem project dependencies. + +Tue, 4 May 2004 18:13:33 +0000 +Checked in by : Robert Osfield +Added osgTerrain to dependency list of osgdem + +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. + +Tue, 4 May 2004 13:58:07 +0000 +Checked in by : Robert Osfield +Changed notify level on several debugging messages from WARN to INFO. + +Tue, 4 May 2004 09:55:23 +0000 +Checked in by : Robert Osfield +Fixed typo of OSGTERRAIN + +Tue, 4 May 2004 07:24:17 +0000 +Checked in by : Robert Osfield +Fixed typo of osgTerrain + +Mon, 3 May 2004 20:43:33 +0000 +Checked in by : Robert Osfield +Added osgTerrain and osgdem project files + +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. + +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 + +Mon, 3 May 2004 12:46:49 +0000 +Checked in by : Robert Osfield +Added CoordinateSystemNode and EllipsoidModel .h/.cpp's files to project files + +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. + +Mon, 3 May 2004 07:42:30 +0000 +Checked in by : Robert Osfield +Fixed compile error + +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. + + + +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. + +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. + +Sun, 2 May 2004 14:04:19 +0000 +Checked in by : Robert Osfield +Added support for settings scale the elevation of geometry + +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. + +Sun, 2 May 2004 13:35:19 +0000 +Checked in by : Robert Osfield +Temporary fix for handling grey scale images as texture source. + +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. + +Fri, 30 Apr 2004 09:04:10 +0000 +Checked in by : Robert Osfield +Added getKeyManipMap() method + +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. + +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. + + + +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. + + + +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 + +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 + +Thu, 29 Apr 2004 22:16:50 +0000 +Checked in by : Robert Osfield +Added osg::CoordinateSystemNode + +Thu, 29 Apr 2004 22:15:04 +0000 +Checked in by : Robert Osfield +Added missing billboard drawable dirtyBound() + +Thu, 29 Apr 2004 22:13:23 +0000 +Checked in by : Robert Osfield +Fix for VS7.0 build from Mike Weiblen + +Thu, 29 Apr 2004 21:57:42 +0000 +Checked in by : Robert Osfield +Warnings fix for VS7.0 from Mike Weiblen + +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) + +Thu, 29 Apr 2004 15:57:03 +0000 +Checked in by : Robert Osfield +Added missing dirtyBound() to billboard section of flatten static transforms + +Wed, 28 Apr 2004 15:07:08 +0000 +Checked in by : Robert Osfield +Changed M_PI to osg::PI. + +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. + +Fri, 23 Apr 2004 14:47:54 +0000 +Checked in by : Robert Osfield +Added extra parameter policy enum + +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. + +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. + +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. + + + +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. + +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. + +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 + +Wed, 21 Apr 2004 13:20:48 +0000 +Checked in by : Robert Osfield +Added searching of the filepath. + +Wed, 21 Apr 2004 11:06:39 +0000 +Checked in by : Robert Osfield +Added back in tri stripping of tiles + +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. + +Tue, 20 Apr 2004 09:46:23 +0000 +Checked in by : Robert Osfield +Added project files for osgsimplifier example. + +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 + + + +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 + +Mon, 19 Apr 2004 20:44:14 +0000 +Checked in by : Robert Osfield +Changed the scoping for for variables to fix VS6.0 compile. + +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. + +Sun, 18 Apr 2004 16:15:49 +0000 +Checked in by : Robert Osfield +Added osgsimplifier example. + +Sun, 18 Apr 2004 14:12:07 +0000 +Checked in by : Robert Osfield +Changed std::cout to osg::notify + +Sun, 18 Apr 2004 14:02:09 +0000 +Checked in by : Robert Osfield +Changed std::cout to osg::notify + +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)." + +Sat, 17 Apr 2004 22:50:39 +0000 +Checked in by : Robert Osfield +Further work on Simplifer support for compute error metric + +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. + +Sat, 17 Apr 2004 16:02:38 +0000 +Checked in by : Robert Osfield +Further work on simplifier edge collapse code + +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 + +Fri, 16 Apr 2004 22:07:30 +0000 +Checked in by : Robert Osfield +Fixed incorrecting sizing of background tex coords + +Fri, 16 Apr 2004 10:05:57 +0000 +Checked in by : Robert Osfield +From Bob Kuehne, updated extension/version checking for border clamp extension. + +Thu, 15 Apr 2004 09:37:10 +0000 +Checked in by : Robert Osfield +Added tests for the consistency of points, edges and triangles. + +Wed, 14 Apr 2004 11:56:59 +0000 +Checked in by : Robert Osfield +Fixed typo in makefile + +Wed, 14 Apr 2004 08:58:53 +0000 +Checked in by : Robert Osfield +From Garret Potts, added -losgUtil to libs linked to osgTerrain + +Tue, 13 Apr 2004 16:03:18 +0000 +Checked in by : Robert Osfield +Fixed bogus read*Implementation calls in ReadFileCallback. + +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. + +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. + +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 + +Mon, 12 Apr 2004 21:29:31 +0000 +Checked in by : Robert Osfield +Further work on the new osgUtil::Simplifier. + +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. + +Sun, 11 Apr 2004 21:21:38 +0000 +Checked in by : Robert Osfield +From Eric Wing, clean ups for OSX support. + +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. + + + +Sat, 10 Apr 2004 11:30:16 +0000 +Checked in by : Robert Osfield +From Paul Martz, added support for OpenFlight15.8 LightPointSystems + +Fri, 9 Apr 2004 08:20:15 +0000 +Checked in by : Robert Osfield +Renamed MyTriangleOperator to CollectTriangleOperator. + +Thu, 8 Apr 2004 11:27:01 +0000 +Checked in by : Robert Osfield +Added beginning of new osgUtil::Simplifier + +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. + +Wed, 7 Apr 2004 08:57:15 +0000 +Checked in by : Robert Osfield +From Paul Martz, changes to better support OpenFlight 15.8 + +Tue, 6 Apr 2004 20:15:11 +0000 +Checked in by : Robert Osfield +Fixed comments on the OBJ coords system + +Tue, 6 Apr 2004 16:01:05 +0000 +Checked in by : Robert Osfield +Fixes from Per Månsson for Win32 build + +Mon, 5 Apr 2004 21:27:57 +0000 +Checked in by : Robert Osfield +Added --wtk_file option + +Mon, 5 Apr 2004 15:58:38 +0000 +Checked in by : Robert Osfield +Re-enabled normal generation on tiles. + +Mon, 5 Apr 2004 15:46:19 +0000 +Checked in by : Robert Osfield +Commented out scale setting when source DEM is in lat+longs. + +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. + +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. + +Sun, 4 Apr 2004 15:33:26 +0000 +Checked in by : Robert Osfield +Prelimary work on adding support for local tile transforms + +Fri, 2 Apr 2004 15:55:06 +0000 +Checked in by : Robert Osfield +Added support for generating compressed textures + +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. + +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. + +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. + +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. + +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. + +Thu, 1 Apr 2004 11:02:23 +0000 +Checked in by : Robert Osfield +Cleaned up handling of geocentric coords + +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. + +Wed, 31 Mar 2004 22:31:46 +0000 +Checked in by : Robert Osfield +Added preliminary support for converting datasets into geocentric coords + +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. + +Wed, 31 Mar 2004 09:20:46 +0000 +Checked in by : Robert Osfield +Clean up freeing of no longer required tiles + +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. + +Tue, 30 Mar 2004 22:06:01 +0000 +Checked in by : Robert Osfield +Added back in tri stripping of geometry tiles + +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. + + + +Tue, 30 Mar 2004 21:13:08 +0000 +Checked in by : Robert Osfield +Fixed the boundary equalization + +Tue, 30 Mar 2004 19:15:03 +0000 +Checked in by : Robert Osfield +Added debugging for detecting problems in boundary equalization + +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 + +Mon, 29 Mar 2004 14:40:03 +0000 +Checked in by : Robert Osfield +Added support for generating polygonal tiles + +Mon, 29 Mar 2004 12:28:40 +0000 +Checked in by : Robert Osfield +Fixed the handling begin()/vertex()/end() sequences in TriangleIndexFunctor. + +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. + +Mon, 29 Mar 2004 10:45:58 +0000 +Checked in by : Robert Osfield +Groundwork for adding support for polygonal tiles + +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 + + + +Mon, 29 Mar 2004 09:32:35 +0000 +Checked in by : Robert Osfield +Fixed handling of FOURCC_DXT1 pixel format. + +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. + +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 + +Thu, 25 Mar 2004 18:34:40 +0000 +Checked in by : Don BURNS +Applied Norman Vine's changes for Cygwin/Mingw + +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. + +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. + +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. + +Fri, 19 Mar 2004 22:20:35 +0000 +Checked in by : Robert Osfield +Added support for setting the geoTransform to use in source data. + +Fri, 19 Mar 2004 22:03:32 +0000 +Checked in by : Robert Osfield +Improved the argument handling. + +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. + +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. + +Thu, 18 Mar 2004 21:39:53 +0000 +Checked in by : Robert Osfield +Added defaults for the geotransform when none exists. + +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." + +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. + +Wed, 17 Mar 2004 20:04:44 +0000 +Checked in by : Robert Osfield +Added support for writing out to .ive + +Wed, 17 Mar 2004 20:03:56 +0000 +Checked in by : Robert Osfield +Added the setting of the _internalTextureFormat from within osg::Image. + +Wed, 17 Mar 2004 17:04:30 +0000 +Checked in by : Robert Osfield +Completed support for the majority of osg::Shape. + +Wed, 17 Mar 2004 16:11:47 +0000 +Checked in by : Robert Osfield +Added prelimary shape support to .ive plugin + +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. + +Tue, 16 Mar 2004 21:03:37 +0000 +Checked in by : Robert Osfield +Added better handling of number of graphic context size changes. + +Tue, 16 Mar 2004 16:54:08 +0000 +Checked in by : Robert Osfield +Added support for generation of PagedLOD databases in osgTerrain::DataSet + +Tue, 16 Mar 2004 16:10:57 +0000 +Checked in by : Robert Osfield +From Joran Jessurun, fixed "borderColor" typo. + +Tue, 16 Mar 2004 09:40:17 +0000 +Checked in by : Robert Osfield +Set JASPER_INSTALLED to no + +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. + +Sun, 14 Mar 2004 21:54:17 +0000 +Checked in by : Robert Osfield +Added PrimitiveIndexFunctor for better support of TriangleIndexFunctor + +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. + +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." + +Sun, 14 Mar 2004 15:08:12 +0000 +Checked in by : Robert Osfield +From Marco Jez, added support NVidia extension to imager formats. + +Sat, 13 Mar 2004 16:29:29 +0000 +Checked in by : Robert Osfield +Moved the destructor block->release to after the cancel(). + +Sat, 13 Mar 2004 12:36:02 +0000 +Checked in by : Robert Osfield +Added setting of pivot point in AnimationPathCallback + +Fri, 12 Mar 2004 21:04:20 +0000 +Checked in by : Robert Osfield +Added some basic event handler. + +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. + +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. + +Thu, 11 Mar 2004 22:04:41 +0000 +Checked in by : Robert Osfield +Changed the coordinate system option to --o_cs + +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. + +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 + +Thu, 11 Mar 2004 09:04:02 +0000 +Checked in by : Robert Osfield +Fixed normal orientation + +Wed, 10 Mar 2004 15:41:40 +0000 +Checked in by : Robert Osfield +Ported mpeg plugin across to use OpenThreads instead of pthreads. + +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. + +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. + +Tue, 9 Mar 2004 15:39:10 +0000 +Checked in by : Robert Osfield +Fixed mpeg plugin entry + +Tue, 9 Mar 2004 15:00:52 +0000 +Checked in by : Robert Osfield +Added MPEG plugin + +Tue, 9 Mar 2004 14:59:33 +0000 +Checked in by : Robert Osfield +Added TextureRectangle(Image*) contructor. + +Tue, 9 Mar 2004 14:58:50 +0000 +Checked in by : Robert Osfield +Added float s, float t parameters to createTexturedGeometry function + +Tue, 9 Mar 2004 14:57:45 +0000 +Checked in by : Robert Osfield +Fixed compile warning + +Tue, 9 Mar 2004 14:00:01 +0000 +Checked in by : Robert Osfield +Removed redundent ImageStream.h + +Tue, 9 Mar 2004 09:42:07 +0000 +Checked in by : Robert Osfield +Preliminary work on general support of video textures. + +Mon, 8 Mar 2004 17:13:22 +0000 +Checked in by : Robert Osfield +Added support for APPLE_client_storage to TextureRectange + +Mon, 8 Mar 2004 17:09:58 +0000 +Checked in by : Robert Osfield +Added support for APPLE_client_storage of textures. + +Mon, 8 Mar 2004 11:53:12 +0000 +Checked in by : Robert Osfield +Clean up of headers. + +Mon, 8 Mar 2004 11:41:57 +0000 +Checked in by : Robert Osfield +Added osgGA::TrackballManipulator::g/setMinimumZoomScale() method. + +Mon, 8 Mar 2004 11:02:05 +0000 +Checked in by : Robert Osfield +From Bob Kuehne, change on __DARWIN_OSX__ define to __APPLE__ + +Sun, 7 Mar 2004 21:03:01 +0000 +Checked in by : Robert Osfield +Added #include for Win32 build + +Sun, 7 Mar 2004 14:21:11 +0000 +Checked in by : Robert Osfield +Clean up of headers. + +Sun, 7 Mar 2004 14:19:48 +0000 +Checked in by : Robert Osfield +From Geof Michel, bug fix to handling of Materials + +Sun, 7 Mar 2004 14:14:42 +0000 +Checked in by : Robert Osfield +Changed cerr to osg::notify(osg::WARN) + +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_". + +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)." + + + +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. + +Sat, 6 Mar 2004 14:37:51 +0000 +Checked in by : Robert Osfield +Temporarily removed osg.ico + +Sat, 6 Mar 2004 14:13:53 +0000 +Checked in by : Robert Osfield +Changed cout/cerr to osg::notify(). + +Fri, 5 Mar 2004 20:07:01 +0000 +Checked in by : Robert Osfield +From Boris Bralo, Added std:: in front of getline. + +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." + +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. + +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 + +Thu, 4 Mar 2004 14:33:01 +0000 +Checked in by : Robert Osfield +From Bob Kuehne, added support for FragmentProgram and VertexProgram into .ive + +Thu, 4 Mar 2004 14:32:27 +0000 +Checked in by : Robert Osfield +Removed redundent getAssociatedModes() + +Wed, 3 Mar 2004 15:38:22 +0000 +Checked in by : Robert Osfield +Changed StateAttribute::getAssociatedModes(std::vector&) across to StateAttribute::getModeUsage(StateAttribute::ModeUsage&). + +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(). + +Wed, 3 Mar 2004 11:17:21 +0000 +Checked in by : Robert Osfield +From Ruben, Added osgpointsprite examples. + +Tue, 2 Mar 2004 22:36:11 +0000 +Checked in by : Robert Osfield +From Ruben, addition of osg::PointSprite and osgpointsprite example. + +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. + +Tue, 2 Mar 2004 20:35:27 +0000 +Checked in by : Robert Osfield +Added support for osg::Capsule into .osg format. + +Tue, 2 Mar 2004 20:33:00 +0000 +Checked in by : Robert Osfield +From David Jung, added support for osg::Capsule shape + +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. + +Tue, 2 Mar 2004 16:57:08 +0000 +Checked in by : Robert Osfield +From Mike Weiblen, updated osg.ico file. + +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. + +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." + + + +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. + +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." + + + +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. + +Tue, 2 Mar 2004 15:26:31 +0000 +Checked in by : Robert Osfield +Fixed warning message + +Mon, 1 Mar 2004 09:15:51 +0000 +Checked in by : Robert Osfield +Build fixes + +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 + +Tue, 24 Feb 2004 12:04:48 +0000 +Checked in by : Robert Osfield +Warning fix + +Sun, 22 Feb 2004 11:58:44 +0000 +Checked in by : Robert Osfield +Added scale parameter into PositionAttitudeTransform.Added pivotPoint parameter into AnimationPathCallack. + + + +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. + +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. + +Sat, 21 Feb 2004 16:56:23 +0000 +Checked in by : Robert Osfield +Added AnimationPathCallback::s/getTimeOffset and s/getTimeMultiplier() methods. + +Fri, 20 Feb 2004 20:47:35 +0000 +Checked in by : Robert Osfield +Added missing _pause(false) into AnimationPathCallback default contructor. + +Fri, 20 Feb 2004 20:10:51 +0000 +Checked in by : Robert Osfield +Added missing initialization in the AnimationPathCallback constructor. + +Fri, 20 Feb 2004 11:51:14 +0000 +Checked in by : Robert Osfield +Added Material::operator = + +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 + +Wed, 18 Feb 2004 21:40:18 +0000 +Checked in by : Robert Osfield +Added support for osg::LineWidth into ive format + +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. + +Mon, 16 Feb 2004 15:27:45 +0000 +Checked in by : Robert Osfield +Removed redundent byte swap on _version + +Thu, 12 Feb 2004 18:40:15 +0000 +Checked in by : Don BURNS +Submission by Paul Martz for doing units conversions on flight files. + +Thu, 12 Feb 2004 12:53:51 +0000 +Checked in by : Robert Osfield +Changed _X & _Y varaibles to _tileX & _tileY + +Thu, 12 Feb 2004 01:42:00 +0000 +Checked in by : Robert Osfield +From Shane Arnott, added drawing of "split" + +Thu, 12 Feb 2004 01:15:37 +0000 +Checked in by : Robert Osfield +Improved osgSim::SphereSegmenet's handling of transparancy. + +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 + +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 + +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 + +Tue, 10 Feb 2004 12:36:17 +0000 +Checked in by : Robert Osfield +Made getViewport(...) const. + +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 + +Mon, 9 Feb 2004 22:56:39 +0000 +Checked in by : Robert Osfield +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. + + + +Mon, 9 Feb 2004 10:14:06 +0000 +Checked in by : Robert Osfield +Added new TriangleIndexFunctor. + +Sat, 7 Feb 2004 19:36:15 +0000 +Checked in by : Robert Osfield +Removed slideshow3D from runexamples.bat + +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 + +Thu, 5 Feb 2004 12:11:06 +0000 +Checked in by : Robert Osfield +Fixed the className() defintations to be const + +Thu, 5 Feb 2004 11:53:09 +0000 +Checked in by : Robert Osfield +Changed fonts to lower case. + +Thu, 5 Feb 2004 11:39:12 +0000 +Checked in by : Robert Osfield +From Nick, Improved support for 3D labels. + +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. + +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 + +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 + +Thu, 5 Feb 2004 09:24:52 +0000 +Checked in by : Robert Osfield +Removed DRAWIN_QUICKTIME definition + +Wed, 4 Feb 2004 13:21:41 +0000 +Checked in by : Robert Osfield +Removed slideshow3D from project file. + +Wed, 4 Feb 2004 13:21:16 +0000 +Checked in by : Robert Osfield +Removed slideshow3D project file + +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. + +Wed, 4 Feb 2004 11:03:52 +0000 +Checked in by : Robert Osfield +Added virtual destructor to LightPointDrawable + +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. + +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. + +Tue, 3 Feb 2004 21:08:35 +0000 +Checked in by : Robert Osfield +Added rounding to nearest power of two in tile image size + +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(). + +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. + +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. + +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. + +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. + +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. + +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. + +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 .." + +Sun, 1 Feb 2004 17:17:16 +0000 +Checked in by : Robert Osfield +Increased expiry delay from 1 second to 30 seconds + +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. + +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. + +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. + + + +Sat, 31 Jan 2004 21:27:02 +0000 +Checked in by : Robert Osfield +Fixed second pathway for computing HeightField bounding box. + +Sat, 31 Jan 2004 20:45:40 +0000 +Checked in by : Robert Osfield +Fixed HeightField compute bounding box implementation. + +Sat, 31 Jan 2004 11:34:28 +0000 +Checked in by : Robert Osfield +Added AnimationPathCallback::getAnimationTime() method + +Fri, 30 Jan 2004 21:17:50 +0000 +Checked in by : Robert Osfield +Fixed another typo :) + +Fri, 30 Jan 2004 21:17:27 +0000 +Checked in by : Robert Osfield +Fixed misspelling of dependencies + +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. + +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. + +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. + +Fri, 30 Jan 2004 16:12:53 +0000 +Checked in by : Robert Osfield +From Bob Keuhne, warning fixes under OSX + +Fri, 30 Jan 2004 15:54:41 +0000 +Checked in by : Robert Osfield +Added osgText dependancy to the TXP plugin + +Fri, 30 Jan 2004 15:52:58 +0000 +Checked in by : Robert Osfield +Added Windows icon + +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. + +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. + +Fri, 30 Jan 2004 13:52:12 +0000 +Checked in by : Robert Osfield +From Stephane, added support for writing JPEG images. + +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&. + +Thu, 29 Jan 2004 17:09:13 +0000 +Checked in by : Don BURNS +Adde Texture1D to .dsp file + +Thu, 29 Jan 2004 15:47:51 +0000 +Checked in by : Robert Osfield +Attempts to fix compile problems under IRIX due to namespace problems. + +Thu, 29 Jan 2004 15:47:06 +0000 +Checked in by : Robert Osfield +Improved support for handling externally set projections + +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 + +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 + +Wed, 28 Jan 2004 22:23:10 +0000 +Checked in by : Don BURNS +Fixed WIREFRAME_CLOSED swap in flt loader. submitted by Andreas Ekstrand + +Wed, 28 Jan 2004 20:17:10 +0000 +Checked in by : Robert Osfield +Made the thread priority outwith the frame PRIORITY_MIN + +Wed, 28 Jan 2004 14:44:35 +0000 +Checked in by : Robert Osfield +Adding scaling of skirt. + +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. + +Wed, 28 Jan 2004 10:49:23 +0000 +Checked in by : Robert Osfield +Added support for CullVisitor::clampProjectionMatrixCallback + +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). + +Tue, 27 Jan 2004 21:29:58 +0000 +Checked in by : Robert Osfield +Added support for osg::Texture::setBorderWidth(). + +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. + +Tue, 27 Jan 2004 14:47:41 +0000 +Checked in by : Robert Osfield +Added className() method to GlyphTexture for debugging purposes. + +Tue, 27 Jan 2004 14:46:29 +0000 +Checked in by : Robert Osfield +Added operator = implementations to template classes. + +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. + + + +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. + +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. + +Mon, 26 Jan 2004 13:55:17 +0000 +Checked in by : Robert Osfield +Removed Texture unref on apply. + +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 + +Sun, 25 Jan 2004 13:52:55 +0000 +Checked in by : Robert Osfield +From Nick, added Text support. + +Sat, 24 Jan 2004 20:50:33 +0000 +Checked in by : Robert Osfield +Removed redundent , from enum. + +Sat, 24 Jan 2004 09:41:29 +0000 +Checked in by : Robert Osfield +Added release of file request block in the DatabasePager destructor. + +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. + +Fri, 23 Jan 2004 16:29:54 +0000 +Checked in by : Robert Osfield +Added rotation of billboard normal into flattern transform Optimizer pass. + +Fri, 23 Jan 2004 16:09:56 +0000 +Checked in by : Robert Osfield +Made getLookAt() etc methods const + +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 + +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. + +Fri, 23 Jan 2004 12:06:03 +0000 +Checked in by : Robert Osfield +Reverted by hand osgshadowtexture + +Thu, 22 Jan 2004 14:24:51 +0000 +Checked in by : Robert Osfield +Added support for copying tex coord data directly from prpgGeometry. + +Thu, 22 Jan 2004 12:28:55 +0000 +Checked in by : Robert Osfield +Added report of LOD scale + +Thu, 22 Jan 2004 12:21:59 +0000 +Checked in by : Robert Osfield +Added setLODScale into TileMapper traversal + +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. + +Thu, 22 Jan 2004 10:55:56 +0000 +Checked in by : Robert Osfield +From Nick, addition of pruning to remove redundent local materials. + +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. + +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. + +Wed, 21 Jan 2004 20:38:03 +0000 +Checked in by : Robert Osfield +Added _activeSwitchSet(sw._activeSwitchSet) into the copy constructor. + +Wed, 21 Jan 2004 19:13:09 +0000 +Checked in by : Robert Osfield +Commented back in osg::Material settings + +Wed, 21 Jan 2004 17:26:23 +0000 +Checked in by : Robert Osfield +Added new mechanism for handling Seams. + +Tue, 20 Jan 2004 10:02:45 +0000 +Checked in by : Robert Osfield +Build fix. + +Mon, 19 Jan 2004 15:55:51 +0000 +Checked in by : Robert Osfield +Upates from Nick. + +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. + +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. + +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. + +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 + +Thu, 15 Jan 2004 21:07:34 +0000 +Checked in by : Robert Osfield +Added automatic generation of LOD levels with destination graph + +Wed, 14 Jan 2004 15:14:20 +0000 +Checked in by : Robert Osfield +Clean ups of floats & .0f's + +Tue, 13 Jan 2004 16:07:02 +0000 +Checked in by : Robert Osfield +Fixed #undef's + +Tue, 13 Jan 2004 10:30:36 +0000 +Checked in by : Robert Osfield +From Daved Ergo, patch for handling group names better + +Tue, 13 Jan 2004 09:47:50 +0000 +Checked in by : Robert Osfield +Fixed typo's of ImpostorSprite + +Tue, 13 Jan 2004 09:47:31 +0000 +Checked in by : Robert Osfield +Fixed for Win32 build + +Mon, 12 Jan 2004 22:03:29 +0000 +Checked in by : Robert Osfield +Added support for automatic subdivision of the destination graph + +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. + +Mon, 12 Jan 2004 14:21:26 +0000 +Checked in by : Robert Osfield +Fixed compile warning + +Mon, 12 Jan 2004 13:53:04 +0000 +Checked in by : Robert Osfield +Changed of _firstTime intial values of 0 to DBL_MAX. + +Sun, 11 Jan 2004 21:33:43 +0000 +Checked in by : Robert Osfield +Improvements from Pavel. + +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. + +Sat, 10 Jan 2004 20:58:09 +0000 +Checked in by : Robert Osfield +Fixed consolodateRequireResolutions() methods + +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. + +Sat, 10 Jan 2004 09:10:44 +0000 +Checked in by : Robert Osfield +Did a to_unix on all the LWS files include GNUmakefile. + +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. + +Fri, 9 Jan 2004 14:07:26 +0000 +Checked in by : Robert Osfield +From Romano Magacho, add group->setName() to flattening of static transforms + +Fri, 9 Jan 2004 13:35:55 +0000 +Checked in by : Robert Osfield +Fixed to TXP plugin from Nick. + +Thu, 8 Jan 2004 21:39:14 +0000 +Checked in by : Robert Osfield +Fixes from Geoff. + +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. + +Wed, 7 Jan 2004 20:58:07 +0000 +Checked in by : Robert Osfield +Moved the default light to be from the sky. + +Wed, 7 Jan 2004 19:57:16 +0000 +Checked in by : Robert Osfield +Fixed TXPPagedLOD.h/.cpp typos. + +Wed, 7 Jan 2004 14:14:38 +0000 +Checked in by : Robert Osfield +Fixed tabs to be four spaces. + +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. + +Wed, 7 Jan 2004 12:38:55 +0000 +Checked in by : Robert Osfield +Added osgsimplepager example program + +Wed, 7 Jan 2004 12:38:36 +0000 +Checked in by : Robert Osfield +Removed redundent DatabasePager pointer. + +Wed, 7 Jan 2004 12:37:44 +0000 +Checked in by : Robert Osfield +Added DatabasePager::setUseFrameBlock(bool) method + +Wed, 7 Jan 2004 08:43:38 +0000 +Checked in by : Robert Osfield +Removed eroneous CreateShadowedScene.cpp/.h from .dsp + +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. + +Wed, 7 Jan 2004 08:36:14 +0000 +Checked in by : Robert Osfield +Fixed ending of .dsp + +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. + +Tue, 6 Jan 2004 15:56:18 +0000 +Checked in by : Robert Osfield +Added osgdistortion examples .dsp + +Tue, 6 Jan 2004 14:37:25 +0000 +Checked in by : Robert Osfield +Fixed comments + +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. + +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. + +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 + +Mon, 5 Jan 2004 20:51:30 +0000 +Checked in by : Robert Osfield +Added code to scale the priority by the offset and scale. + +Mon, 5 Jan 2004 20:45:28 +0000 +Checked in by : Robert Osfield +Added support for priority offset and scale into PagedLOD. + +Mon, 5 Jan 2004 19:04:25 +0000 +Checked in by : Robert Osfield +#if 0'd out code for switch off seam generation. + +Mon, 5 Jan 2004 15:40:44 +0000 +Checked in by : Robert Osfield +Compile fixes for Win32 + +Mon, 5 Jan 2004 15:34:41 +0000 +Checked in by : Robert Osfield +Fixed .dsp + +Mon, 5 Jan 2004 14:17:01 +0000 +Checked in by : Robert Osfield +Renamed osgshadowtexture.dsp to osgdepthshadow.dsp + +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. + +Mon, 5 Jan 2004 09:34:28 +0000 +Checked in by : Robert Osfield +From Pavel Moloshtan, osgdepthshadow example + +Sun, 4 Jan 2004 22:28:37 +0000 +Checked in by : Robert Osfield +Experiments at fixing seam handling. + +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 + + + +Sat, 3 Jan 2004 22:52:51 +0000 +Checked in by : Don BURNS +Oops. Fixed glaring memory leak in main loop of osgsimple + +Sat, 3 Jan 2004 20:32:27 +0000 +Checked in by : Robert Osfield +From Marco Jez, new Light Wave Scene loader + +Sat, 3 Jan 2004 15:20:33 +0000 +Checked in by : Robert Osfield +From Marco Jez, updates to the LWO loader. + +Sat, 3 Jan 2004 09:06:52 +0000 +Checked in by : Robert Osfield +Updates to osgGL2 from Mike Weiblen + +Fri, 2 Jan 2004 20:44:18 +0000 +Checked in by : Robert Osfield +Fixed getFogCoord methods + +Fri, 2 Jan 2004 17:30:05 +0000 +Checked in by : Robert Osfield +Updates to TXP plugin from Nick. + +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. + +Fri, 2 Jan 2004 11:31:45 +0000 +Checked in by : Robert Osfield +Updates to the AUTHORS file from Rune. + +Sat, 27 Dec 2003 22:17:41 +0000 +Checked in by : Robert Osfield +Added osgdistortion demo. + +Sat, 27 Dec 2003 22:17:25 +0000 +Checked in by : Robert Osfield +From Geof Michel, addition of TESSELATE_GEOMETRY pass. + +Sat, 27 Dec 2003 15:57:57 +0000 +Checked in by : Robert Osfield +Removed TXPIO.h + +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. + +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. + +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. + +Wed, 24 Dec 2003 19:28:39 +0000 +Checked in by : Robert Osfield +Fixes for VS6.0 + +Wed, 24 Dec 2003 17:20:13 +0000 +Checked in by : Robert Osfield +Removed redundent osgcameragroup + +Wed, 24 Dec 2003 17:19:07 +0000 +Checked in by : Robert Osfield +Fixed typo of TileMap - now corrected to TileMapper + +Wed, 24 Dec 2003 00:14:45 +0000 +Checked in by : Robert Osfield +Fixed typos in error reporting + +Wed, 24 Dec 2003 00:14:12 +0000 +Checked in by : Robert Osfield +Build fixes for VS6.0 + +Wed, 24 Dec 2003 00:07:28 +0000 +Checked in by : Robert Osfield +Added osgphotoalbum project + +Tue, 23 Dec 2003 23:55:06 +0000 +Checked in by : Robert Osfield +Added support for a photo archive. + +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. + + + +Tue, 23 Dec 2003 12:10:06 +0000 +Checked in by : Robert Osfield +removed osg:: + +Tue, 23 Dec 2003 09:18:29 +0000 +Checked in by : Robert Osfield +Removed osg:: from NodeVisitor and Group base class calls + +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. + +Mon, 22 Dec 2003 14:48:14 +0000 +Checked in by : Robert Osfield +Added max texture anisotropy of 4. + +Mon, 22 Dec 2003 14:05:04 +0000 +Checked in by : Robert Osfield +Updates from Nick. + +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 + +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. + +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. + +Sun, 21 Dec 2003 13:11:36 +0000 +Checked in by : Robert Osfield +Added extra clampProjectionMatrix methods to handle both Matrixd and Matrixf pathways. + +Sat, 20 Dec 2003 23:25:05 +0000 +Checked in by : Robert Osfield +Fixed PagedLOD's handling of distances beyond the furthest range. + +Sat, 20 Dec 2003 14:25:18 +0000 +Checked in by : Robert Osfield +Added support for placing pictures of backs and fronts of pages. + +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. + +Sat, 20 Dec 2003 14:20:48 +0000 +Checked in by : Robert Osfield +*** empty log message *** + +Sat, 20 Dec 2003 14:19:09 +0000 +Checked in by : Robert Osfield +Added Mode parameter to constructor. + +Fri, 19 Dec 2003 23:14:54 +0000 +Checked in by : Robert Osfield +Added support for reading and writing UserData from objects. + +Fri, 19 Dec 2003 22:55:35 +0000 +Checked in by : Robert Osfield +Added support for tagging the required resolutions from the source data. + +Fri, 19 Dec 2003 22:34:18 +0000 +Checked in by : Robert Osfield +Added swap bytes methods. + +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 + +Fri, 19 Dec 2003 10:52:17 +0000 +Checked in by : Robert Osfield +Added _ARB to GL_COMPARE_R_TO_TEXTURE + +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" + +Thu, 18 Dec 2003 16:15:58 +0000 +Checked in by : Robert Osfield +Added definition of GL_DEPTH_TEXTURE_MODE_ARB + +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. + +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. + +Thu, 18 Dec 2003 09:56:48 +0000 +Checked in by : Robert Osfield +Fixed typo in comments. + +Wed, 17 Dec 2003 23:19:11 +0000 +Checked in by : Robert Osfield +From Bob Kuehne, build fixes for OSX. + +Wed, 17 Dec 2003 19:26:16 +0000 +Checked in by : Robert Osfield +From Pavel Moloshtan, added GL_ARB_shadow_support to osg::Texture. + +Wed, 17 Dec 2003 17:05:20 +0000 +Checked in by : Robert Osfield +From Pavel Molishtan, Fixed comparision of _t plane. + +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. + +Wed, 17 Dec 2003 10:05:29 +0000 +Checked in by : Robert Osfield +From Jeremy Bell, made SHARED = -dynamic for OSX. + +Wed, 17 Dec 2003 10:04:01 +0000 +Checked in by : Robert Osfield +Added VS projects for osgkeyboardmouse and osgsimple examples. + +Wed, 17 Dec 2003 00:58:36 +0000 +Checked in by : Robert Osfield +Added -losgGL2 to link line. + +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. + + + +Tue, 16 Dec 2003 19:21:45 +0000 +Checked in by : Robert Osfield +Added osgUtil dependancy to lib3ds plugin + +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. + +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. + +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. + +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. + +Mon, 15 Dec 2003 16:40:26 +0000 +Checked in by : Robert Osfield +Added gemetry of photo album and page turning animation. + +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. + +Sat, 13 Dec 2003 22:15:47 +0000 +Checked in by : Robert Osfield +Fixed paramter name from being fileName to file. + +Sat, 13 Dec 2003 22:07:55 +0000 +Checked in by : Robert Osfield +From Jeremy Bell, add -losgText to fix OSX compile. + +Sat, 13 Dec 2003 16:41:46 +0000 +Checked in by : Robert Osfield +Added TriStripVisitor usage. + +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). + +Sat, 13 Dec 2003 15:33:48 +0000 +Checked in by : Robert Osfield +From Eric Sokolosky, fixed broken handling of palatted textures. + +Fri, 12 Dec 2003 20:33:36 +0000 +Checked in by : Robert Osfield +Fixed typo of s/getUpdateVisitor(). + +Fri, 12 Dec 2003 17:23:03 +0000 +Checked in by : Robert Osfield +Fixed flatten static transform + +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. + +Fri, 12 Dec 2003 15:22:39 +0000 +Checked in by : Robert Osfield +Updates from Geof Michel. + +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 + +Fri, 12 Dec 2003 13:24:23 +0000 +Checked in by : Robert Osfield +Fixed merging of geometry code. + +Thu, 11 Dec 2003 23:33:27 +0000 +Checked in by : Robert Osfield +Renamed PermissableOptions to setPermissableOptimizations. + +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; + } + + 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; + } + + inline bool isOperationPermissableForObject(const osg::Object* object,unsigned int option) const + { + return (option & getPermissableOptionsForObject(object))!=0; + } + + + +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. + + + +Wed, 10 Dec 2003 16:50:26 +0000 +Checked in by : Robert Osfield +Added environmental variable for setting the height of the drive manipulator. + +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. + +Wed, 10 Dec 2003 15:22:05 +0000 +Checked in by : Robert Osfield +Added proper handling of unhandled file return type. + +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. + +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. + +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. + +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. + + + +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. + +Tue, 9 Dec 2003 12:11:21 +0000 +Checked in by : Robert Osfield +Added new example osgphotoalbum. + +Tue, 9 Dec 2003 12:09:36 +0000 +Checked in by : Robert Osfield +Reverted back to non exception based JPEG plugin. + +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; } + + /** 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, 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. + +Tue, 9 Dec 2003 12:05:50 +0000 +Checked in by : Robert Osfield +Addition of Mode mode=MODULATE constructor. + +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. + +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 + +Tue, 9 Dec 2003 11:20:44 +0000 +Checked in by : Robert Osfield +From Pavel Moloshtan, extension support for ARB_occlusion_querry + +Tue, 9 Dec 2003 11:19:52 +0000 +Checked in by : Robert Osfield +From Mike Wieblen, tweak to GL2 shader + +Tue, 9 Dec 2003 10:42:30 +0000 +Checked in by : Robert Osfield +From Tree, tweaks to the coord generation to improve text alignment. + +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. + +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. + +Tue, 9 Dec 2003 09:03:14 +0000 +Checked in by : Robert Osfield +Aded FileUtils include. + +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. + +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. + +Sun, 7 Dec 2003 20:58:46 +0000 +Checked in by : Robert Osfield +Added check against null being passed into std::string constructor. + +Fri, 5 Dec 2003 22:42:02 +0000 +Checked in by : Robert Osfield +Changed the minium tri strip length to 2 rather than 0. + +Fri, 5 Dec 2003 14:39:32 +0000 +Checked in by : Robert Osfield +Added code for combining adjacent static MatrixTransforms + +Fri, 5 Dec 2003 14:39:09 +0000 +Checked in by : Robert Osfield +Fixes for Win32 build. + +Fri, 5 Dec 2003 13:58:27 +0000 +Checked in by : Robert Osfield +Fixes for Windows build. + +Fri, 5 Dec 2003 13:26:47 +0000 +Checked in by : Robert Osfield +Removed DOFTransform. + +Fri, 5 Dec 2003 09:22:03 +0000 +Checked in by : Robert Osfield +Added a cast (Array*) to get round VS.NET compiler error. + +Thu, 4 Dec 2003 17:14:06 +0000 +Checked in by : Robert Osfield +Added support for expanding index'd attributes from within osgUtil:TriStripVisitor. + +Thu, 4 Dec 2003 09:43:34 +0000 +Checked in by : Robert Osfield +Added optional TraversalMask paramter to computeIntersections() methods. + +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. + +Improved the efficient of CullingSet's handling of new transforms. + +Added a copy shared subgraphs and subdivision code into osgUtil::Optimizer. + + + +Wed, 3 Dec 2003 21:28:42 +0000 +Checked in by : Robert Osfield +Made removedExpiredChildren() virtual. + +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. + +Tue, 2 Dec 2003 21:38:01 +0000 +Checked in by : Robert Osfield +From Rune, Added catch for erroneous size specification in .dds file. + +Mon, 1 Dec 2003 14:31:56 +0000 +Checked in by : Robert Osfield +From Pavel Moloshton, addition of AlphaFunc support to .ive. + +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. + +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() + + + +Fri, 28 Nov 2003 14:37:46 +0000 +Checked in by : Robert Osfield +From Geoff Michel, updates to GEO plugin. + +Fri, 28 Nov 2003 14:26:51 +0000 +Checked in by : Robert Osfield +Updates to osgdem. + +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. + +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. + +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. + +Thu, 27 Nov 2003 16:23:07 +0000 +Checked in by : Robert Osfield +From Michael Gronager, osgSim::VisibilityGroup + +Thu, 27 Nov 2003 15:13:55 +0000 +Checked in by : Robert Osfield +Updates to osgdem + BoundingBox to support graph iterators + +Thu, 27 Nov 2003 13:31:16 +0000 +Checked in by : Robert Osfield +From Nikolaus Hanekamp, Fixes to lightpoint code + +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. + + + +Wed, 26 Nov 2003 16:56:32 +0000 +Checked in by : Robert Osfield +Addition of light point. + +Wed, 26 Nov 2003 16:43:28 +0000 +Checked in by : Robert Osfield +Warning fix from Romano + +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. + +Wed, 26 Nov 2003 11:33:30 +0000 +Checked in by : Robert Osfield +Removed DOFTransform. + +Wed, 26 Nov 2003 11:01:12 +0000 +Checked in by : Robert Osfield +Changed SG_EXPORT to OSGSIM_EXPORT. + +Wed, 26 Nov 2003 08:37:03 +0000 +Checked in by : Robert Osfield +Added missing DOFTransform and MultiSwitch implementations + +Tue, 25 Nov 2003 19:43:19 +0000 +Checked in by : Robert Osfield +Checked in support for osgTerrain in Make/makedirdefs + +Tue, 25 Nov 2003 19:42:35 +0000 +Checked in by : Robert Osfield +Early development work on osgTerrain. + +Tue, 25 Nov 2003 19:25:59 +0000 +Checked in by : Robert Osfield +Disabled the build of osgTerrain, until its checked in. + +Tue, 25 Nov 2003 19:25:42 +0000 +Checked in by : Robert Osfield +Added OSGSIM_EXPORT to scalarbar::printer + +Tue, 25 Nov 2003 19:06:31 +0000 +Checked in by : Robert Osfield +Added missing DOFTransform.cpp + +Tue, 25 Nov 2003 16:28:32 +0000 +Checked in by : Robert Osfield +Added suport for osgSim::MultiSwitch to .ive plugin + +Tue, 25 Nov 2003 16:07:32 +0000 +Checked in by : Robert Osfield +Tweaked MultiSwitch IO + +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 + +Tue, 25 Nov 2003 14:38:16 +0000 +Checked in by : Robert Osfield +Added support for TexMat to .ive plugin + +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. + +From Sondra Inverson, added support to .ive plugin for osgSim::DOFTransform. + + + +Tue, 25 Nov 2003 11:40:10 +0000 +Checked in by : Robert Osfield +Work in progress on osgdem example and osgTerrain::DataSet class + +Tue, 25 Nov 2003 11:06:39 +0000 +Checked in by : Robert Osfield +Fixed type of unrecognized + +Tue, 25 Nov 2003 11:05:22 +0000 +Checked in by : Robert Osfield +Moved the unrecognized options check to after loaded + +Tue, 25 Nov 2003 10:57:50 +0000 +Checked in by : Robert Osfield +Tweaks for debugging output + +Tue, 25 Nov 2003 10:56:42 +0000 +Checked in by : Robert Osfield +Added intersect method. + +Tue, 25 Nov 2003 10:56:12 +0000 +Checked in by : Robert Osfield +Added read(string,float,float,float,float) method + +Tue, 25 Nov 2003 10:55:37 +0000 +Checked in by : Robert Osfield +Reorganised posstion of getViewMatrix*() methods. + +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. + +Tue, 25 Nov 2003 10:52:13 +0000 +Checked in by : Robert Osfield +Changed error message to something more meaningful + +Tue, 25 Nov 2003 10:50:57 +0000 +Checked in by : Robert Osfield +Increased the prevision of outputing the height field parameters + +Tue, 25 Nov 2003 10:49:38 +0000 +Checked in by : Robert Osfield +Added support for case insenstive file searches. + +Tue, 25 Nov 2003 10:47:13 +0000 +Checked in by : Robert Osfield +From Trajce Nicklov, support for GeneralMatrix record + +Tue, 25 Nov 2003 10:32:23 +0000 +Checked in by : Robert Osfield +From Alberto Farre, added support for nesting of files. + +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. + +Tue, 25 Nov 2003 09:23:04 +0000 +Checked in by : Robert Osfield +Updated links to mailing list + +Tue, 25 Nov 2003 09:04:41 +0000 +Checked in by : Robert Osfield +Added support for case insenstive searches of the filepaths. + +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. + +Fri, 21 Nov 2003 20:21:41 +0000 +Checked in by : Robert Osfield +Removed the ScalarBar:: from the from of the ScalarPrinter::printScalar() calls. + +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. + +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 + +Fri, 21 Nov 2003 16:19:07 +0000 +Checked in by : Robert Osfield +Removed newline from top of header + +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. + +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? + +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. + + + +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. + +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. + + + +Wed, 19 Nov 2003 20:30:24 +0000 +Checked in by : Robert Osfield +Changed libgdal.lib to gdal.lib + +Fri, 14 Nov 2003 13:39:34 +0000 +Checked in by : Robert Osfield +From Ruben, added support for nested update and cull callbacks. + +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. + +Thu, 13 Nov 2003 15:45:31 +0000 +Checked in by : Robert Osfield +From Tom Jolly, Fix to handling of triangle fans. + +Wed, 12 Nov 2003 19:05:54 +0000 +Checked in by : Robert Osfield +Added usage of object cache + fixed handling of projection matrix. + +Wed, 12 Nov 2003 15:03:05 +0000 +Checked in by : Robert Osfield +Fixed setting of OSG_SPLIT_STEREO_AUTO_ADJUST_ASPECT_RATIO value. + +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. + +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. + + + +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 + +Fri, 7 Nov 2003 09:00:22 +0000 +Checked in by : Robert Osfield +Made getWidth and getHeight const. + +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. + + + +Thu, 6 Nov 2003 21:58:41 +0000 +Checked in by : Robert Osfield +Added Producer.lib into the dependancy list. + +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, + +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 + +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. + +Wed, 5 Nov 2003 04:58:18 +0000 +Checked in by : Don BURNS +MIssing check for ptr == NULL at line 227 in Registry.cpp + +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 + +Wed, 5 Nov 2003 04:51:10 +0000 +Checked in by : Don BURNS +Changed versioning for make rpms + +Tue, 4 Nov 2003 22:00:16 +0000 +Checked in by : Robert Osfield +Added TextureObjectManager constructor. + +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. + +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. + + + +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. + +Tue, 4 Nov 2003 13:40:24 +0000 +Checked in by : Robert Osfield +Added osgText::Text::getTextureGlyphQuadMap(). + +Mon, 3 Nov 2003 23:26:17 +0000 +Checked in by : Robert Osfield +Fixed positioning of images. + +Mon, 3 Nov 2003 23:22:58 +0000 +Checked in by : Robert Osfield +Fixed positioing of text. + +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. + + + +Sun, 2 Nov 2003 20:10:04 +0000 +Checked in by : Robert Osfield +Merged fixes from Geof Michel. + +Fri, 31 Oct 2003 10:11:38 +0000 +Checked in by : Robert Osfield +Renamed _mips to _mipMapKernel + +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. + + + +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. + +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. + + + +Wed, 29 Oct 2003 22:47:21 +0000 +Checked in by : Robert Osfield +Added option for 565 16bit textures. + +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. + +Wed, 29 Oct 2003 16:45:17 +0000 +Checked in by : Robert Osfield +Commented out verbose debugging messages. + +Wed, 29 Oct 2003 14:59:22 +0000 +Checked in by : Robert Osfield +Added -e -w -o and -l options to the osgbluemarble example. + +Wed, 29 Oct 2003 11:11:17 +0000 +Checked in by : Robert Osfield +Updates for osgdem. Including new read/writeHeightField() methods. + +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. + +Mon, 27 Oct 2003 16:07:21 +0000 +Checked in by : Robert Osfield +*** empty log message *** + +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. + +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. + +Mon, 20 Oct 2003 21:31:15 +0000 +Checked in by : Robert Osfield +Added ImageOptions to osgDB. + +Mon, 20 Oct 2003 20:17:45 +0000 +Checked in by : Robert Osfield +Added Producer and OpenThreads to linkline. + +Mon, 20 Oct 2003 09:01:16 +0000 +Checked in by : Robert Osfield +Fixed print on scalar bar example. + +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. + +Fri, 17 Oct 2003 15:26:30 +0000 +Checked in by : Robert Osfield +Added support for generating compressed textures in osgbluemarble. + +Fri, 17 Oct 2003 15:26:03 +0000 +Checked in by : Robert Osfield +Michael Gronager's changes for supporting the in memory gz archiving. + +Fri, 17 Oct 2003 14:40:05 +0000 +Checked in by : Robert Osfield +From Marco Jez, Fix to the bumping mapping effect. + +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 + +Fri, 17 Oct 2003 10:27:18 +0000 +Checked in by : Robert Osfield +Set default values for datatype & pixelformat. + +Fri, 17 Oct 2003 10:26:31 +0000 +Checked in by : Robert Osfield +Made = opeator const. + +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. + +Fri, 17 Oct 2003 10:24:22 +0000 +Checked in by : Robert Osfield +From Eric Hammil, fix for bmp image size. + +Fri, 17 Oct 2003 10:23:24 +0000 +Checked in by : Robert Osfield +From Michael Gronenger, updates to JP2 plugin. + +Fri, 17 Oct 2003 10:22:46 +0000 +Checked in by : Robert Osfield +Adding clamping of the tree textures. + +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). + +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. + +Sun, 12 Oct 2003 12:13:58 +0000 +Checked in by : Robert Osfield +Improvements to the DatabasePager + +Fri, 10 Oct 2003 19:25:14 +0000 +Checked in by : Robert Osfield +Improvements to DatabasePager + +Fri, 10 Oct 2003 12:56:35 +0000 +Checked in by : Robert Osfield +Added ClusterCullingCallback to ive. + +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. + + + +Fri, 10 Oct 2003 11:12:37 +0000 +Checked in by : Robert Osfield +Fix for 64bit build. + +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. + + + +Thu, 9 Oct 2003 20:56:15 +0000 +Checked in by : Robert Osfield +Fix for 64bit build. + +Thu, 9 Oct 2003 20:50:21 +0000 +Checked in by : Robert Osfield +Fixed missing osg:: + +Thu, 9 Oct 2003 14:55:56 +0000 +Checked in by : Robert Osfield +Added DrawElementsUByte to ive plugin. + +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. + +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. + +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. + + + +Wed, 8 Oct 2003 14:24:13 +0000 +Checked in by : Robert Osfield +Added ImageOptions for use with the GDAL plugin + +Wed, 8 Oct 2003 14:08:28 +0000 +Checked in by : Robert Osfield +Added osgbluemarble data + +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. + +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 + +Mon, 6 Oct 2003 10:03:39 +0000 +Checked in by : Robert Osfield +Added -losgGL2 to link line for OSX. + +Mon, 6 Oct 2003 08:53:56 +0000 +Checked in by : Robert Osfield +Added -losgGL2 + +Mon, 6 Oct 2003 08:01:12 +0000 +Checked in by : Robert Osfield +Commented out gdal temporarily from the list of plugins to compile. + +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. + +Sun, 5 Oct 2003 11:42:26 +0000 +Checked in by : Robert Osfield +From Mike Weiblen, added support for OpenGL SL to osgFX::Cartoon. + +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 + +Sun, 5 Oct 2003 11:30:54 +0000 +Checked in by : Robert Osfield +From Mike Weiblen, updates to osgGL2 to support Uniform values + +Fri, 3 Oct 2003 16:29:34 +0000 +Checked in by : Robert Osfield +From Jason Ballenger, fix for ArgumentParser::getApplicationName() + +Fri, 3 Oct 2003 16:27:02 +0000 +Checked in by : Robert Osfield +Updated NEWS + +Fri, 3 Oct 2003 09:00:09 +0000 +Checked in by : Robert Osfield +Added Producer.lib and OpenThreadsWin32.lib to link lines. + +Thu, 2 Oct 2003 19:09:19 +0000 +Checked in by : Robert Osfield +Fixes to project files. + +Thu, 2 Oct 2003 14:46:07 +0000 +Checked in by : Robert Osfield +Returned revision number to 0, for main development work + +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. + +Thu, 2 Oct 2003 14:42:48 +0000 +Checked in by : Robert Osfield +Updated ChangeLog for release. + +Thu, 2 Oct 2003 14:28:30 +0000 +Checked in by : Robert Osfield +Updated docs for 0.9.6-2 release + +Thu, 2 Oct 2003 14:11:57 +0000 +Checked in by : Robert Osfield +Updated NEWSAdded support for inline/nonlining of texture cube maps. + + + +Thu, 2 Oct 2003 13:26:01 +0000 +Checked in by : Robert Osfield +Added osgDB::Registry::s/getUseObjectCacheHint() + +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. + +Wed, 1 Oct 2003 20:48:37 +0000 +Checked in by : Robert Osfield +Added osgcameragroup to the Windows apps list. + +Wed, 1 Oct 2003 20:41:15 +0000 +Checked in by : Robert Osfield +Removed afterescher reference from runexamples.bat. + +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. + + + +Wed, 1 Oct 2003 13:12:25 +0000 +Checked in by : Robert Osfield +Added addEntryToObjectCache method to osgDB::Registry + +Wed, 1 Oct 2003 09:46:11 +0000 +Checked in by : Robert Osfield +Rewrote the osgtexturerectangle and osgprerendercubemap + +Wed, 1 Oct 2003 09:18:24 +0000 +Checked in by : Robert Osfield +From Tree, added missing setTextureData method. + +Tue, 30 Sep 2003 21:30:39 +0000 +Checked in by : Robert Osfield +Removed debugging comments. + +Tue, 30 Sep 2003 19:42:27 +0000 +Checked in by : Robert Osfield +Add /Zm200 option to osg library, + +Tue, 30 Sep 2003 19:24:40 +0000 +Checked in by : Robert Osfield +Added osgText dependancy to the osgforest project. + +Tue, 30 Sep 2003 19:09:31 +0000 +Checked in by : Robert Osfield +Changed std::vector<>::at to []. + +Tue, 30 Sep 2003 15:50:46 +0000 +Checked in by : Robert Osfield +Added text hud instructions. + +Tue, 30 Sep 2003 13:48:58 +0000 +Checked in by : Robert Osfield +Added quad tree support into osgforest + +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). + +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. + +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. + + + +Mon, 29 Sep 2003 13:14:34 +0000 +Checked in by : Robert Osfield +Added getPerspective() method to Matrix* and SceneView + +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. + +Sun, 28 Sep 2003 10:15:10 +0000 +Checked in by : Robert Osfield +Added equals operator to CUllingSet.Update AUTHORS file. + +Change tabs to 4 spaces in ive/TextureCubeMap.cpp + + + +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. + +Sun, 28 Sep 2003 09:23:45 +0000 +Checked in by : Robert Osfield +Fixed nameing of getAllocationMode() + +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 + +Fri, 26 Sep 2003 16:02:53 +0000 +Checked in by : Robert Osfield +From Michael Gronager, jp2 plugin for reading and writing JPEG2000 files. + +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 + + + +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. + + + +Wed, 24 Sep 2003 18:54:28 +0000 +Checked in by : Robert Osfield +Added a local osg::State to the pbuffer implementation. + +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. + +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. + + + +Tue, 23 Sep 2003 14:42:56 +0000 +Checked in by : Robert Osfield +From Tom Jolly, added support for TexEnv to pfb plugin. + +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. + +Mon, 22 Sep 2003 17:09:59 +0000 +Checked in by : Robert Osfield +Changed reference to osgPluins/GNUmakefile to Make/makedirdefs + +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. + +Wed, 17 Sep 2003 15:48:43 +0000 +Checked in by : Robert Osfield +Added osgUtil to dependencies of the obj plugin. + +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. + +Tue, 16 Sep 2003 22:26:24 +0000 +Checked in by : Robert Osfield +Updated release data of 0.9.6 from 15th to 16th. + +Tue, 16 Sep 2003 21:26:19 +0000 +Checked in by : Robert Osfield +Updated Make/makedefs version number to 0.9.6-1. + +Tue, 16 Sep 2003 21:25:25 +0000 +Checked in by : Robert Osfield +Updated version numbers and ChangeLog for the release. + +Tue, 16 Sep 2003 19:56:19 +0000 +Checked in by : Robert Osfield +Warning fixes for Win32. + +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. + +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. + +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. + +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. + +Tue, 16 Sep 2003 11:22:48 +0000 +Checked in by : Robert Osfield +Warning fixes for VS .NET. + +Tue, 16 Sep 2003 09:54:41 +0000 +Checked in by : Robert Osfield +Added support for per vertex colors. + +Tue, 16 Sep 2003 08:10:11 +0000 +Checked in by : Robert Osfield +Added inlucde to trPageArchive to get round IRIX build problem. + +Mon, 15 Sep 2003 22:13:26 +0000 +Checked in by : Robert Osfield +Changed a couple of int64's back to int32. + +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. + +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. + +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. + +Mon, 15 Sep 2003 10:17:29 +0000 +Checked in by : Robert Osfield +Updates ChangeLog and NEWS for the 0.9.6 release. + +Mon, 15 Sep 2003 10:12:04 +0000 +Checked in by : Robert Osfield +Fixes for warnings under VS.NET from Marco Jez. + +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. + +Mon, 15 Sep 2003 08:32:36 +0000 +Checked in by : Robert Osfield +Fixed warnings in geo plugin. + +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. + +Sun, 14 Sep 2003 22:48:35 +0000 +Checked in by : Robert Osfield +Forom yne Schmidt Jansen, added support for osgSim into ive plugin. + +Sun, 14 Sep 2003 22:11:16 +0000 +Checked in by : Robert Osfield +Added support for conrolling point size into slideshow3D. + +Sat, 13 Sep 2003 16:48:40 +0000 +Checked in by : Robert Osfield +Added commandline usage docs. + +Sat, 13 Sep 2003 16:43:34 +0000 +Checked in by : Robert Osfield +Changed the FREETYPE_LIB under Cygwin from ft freetype2 to freetype + +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. + +Fri, 12 Sep 2003 21:15:51 +0000 +Checked in by : Robert Osfield +Updated change log for release. + +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. + +Fri, 12 Sep 2003 21:05:40 +0000 +Checked in by : Robert Osfield +From Norman Vine, fixes for Cygwin and Mingw builds. + +Fri, 12 Sep 2003 19:17:46 +0000 +Checked in by : Robert Osfield +Work around for OSX errors when reading .ive files. + +Fri, 12 Sep 2003 18:49:23 +0000 +Checked in by : Robert Osfield +Changed OSGUTIL_LIBRARY to OSGFX_LIBRARY + +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. + +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. + +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. + +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. + +Fri, 12 Sep 2003 09:48:54 +0000 +Checked in by : Robert Osfield +Updated NEWS file for the release. + +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. + +Thu, 11 Sep 2003 09:44:22 +0000 +Checked in by : Robert Osfield +Clean ups for the release. + +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. + +Wed, 10 Sep 2003 21:30:01 +0000 +Checked in by : Robert Osfield +Fixed unix line ending. + +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. + + + +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. + +Wed, 10 Sep 2003 20:24:49 +0000 +Checked in by : Robert Osfield +Added -I/sw/include to Make/makedefs + +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. + +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. + + + +Wed, 10 Sep 2003 14:43:48 +0000 +Checked in by : Robert Osfield +Fix warning under Win32. + +Wed, 10 Sep 2003 13:25:42 +0000 +Checked in by : Robert Osfield +Added /Zm200. + +Wed, 10 Sep 2003 12:38:28 +0000 +Checked in by : Robert Osfield +Fixes for osgFX. + +Wed, 10 Sep 2003 12:26:54 +0000 +Checked in by : Robert Osfield +Added -losgText into txp plugin's GNUmakefile for OSX build. + +Wed, 10 Sep 2003 12:04:17 +0000 +Checked in by : Robert Osfield +Added -losgText for OSX build. + +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. + +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. + +Wed, 10 Sep 2003 08:35:16 +0000 +Checked in by : Robert Osfield +Updated docs for release. + +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. + + + +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. + +Tue, 9 Sep 2003 10:09:20 +0000 +Checked in by : Robert Osfield +Made writeMatrix/readMatrix use doubles exclusively. + +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. + + + +Mon, 8 Sep 2003 10:51:14 +0000 +Checked in by : Robert Osfield +Updated NEWS/AUTHORS + html docs for release. + +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. + +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. + +Sat, 6 Sep 2003 11:07:05 +0000 +Checked in by : Robert Osfield +Fixes from Marco. + +Fri, 5 Sep 2003 22:37:10 +0000 +Checked in by : Robert Osfield +Removed eroneous reference to Matrix_implementaion.cpp. + +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. + +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. + + + +Fri, 5 Sep 2003 20:52:36 +0000 +Checked in by : Robert Osfield +Added set and get methods for Matrixd and Matrixf. + +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. + +Thu, 4 Sep 2003 19:45:55 +0000 +Checked in by : Robert Osfield +Moved testCancel() to end of loop as per TXP pager code. + +Thu, 4 Sep 2003 19:37:49 +0000 +Checked in by : Robert Osfield +Added testCancel() to DatabasePager::run() loop. + +Thu, 4 Sep 2003 08:50:06 +0000 +Checked in by : Robert Osfield +Build Fixes for IRIX. + +Wed, 3 Sep 2003 18:17:07 +0000 +Checked in by : Robert Osfield +Fix for IRIX build. + +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. + + + +Wed, 3 Sep 2003 08:14:00 +0000 +Checked in by : Robert Osfield +Fixes for IRIX build. + +Wed, 3 Sep 2003 07:39:42 +0000 +Checked in by : Robert Osfield +Removed old DatabasePager.cpp from osgProducer. + +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. + +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. + +Update (2) is from Gideon May. +Updates (3) to (5) are from Douglas A. Pouk." + + + +Tue, 2 Sep 2003 20:06:20 +0000 +Checked in by : Robert Osfield +Commented out calc near/far debugging messages. + +Tue, 2 Sep 2003 20:03:01 +0000 +Checked in by : Robert Osfield +Added test of sizeof(types) - run osgunittests sizeof. + +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. + +Fixes for VisualStudio 6.0 compile. + + + +Tue, 2 Sep 2003 17:16:17 +0000 +Checked in by : Robert Osfield +Converted eroneous writeLong/readInt boolean entries used writeBool/readBool. + +Tue, 2 Sep 2003 10:27:57 +0000 +Checked in by : Robert Osfield +Fixes for IRIX build + to_unix on txp plugin files. + +Mon, 1 Sep 2003 21:53:53 +0000 +Checked in by : Robert Osfield +Support for BumpMapping added by Marco Jez. + +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). + +Mon, 1 Sep 2003 15:49:08 +0000 +Checked in by : Robert Osfield +Win32 fixes. + +Mon, 1 Sep 2003 15:46:10 +0000 +Checked in by : Robert Osfield +Fixes for Win32. + +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. + +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. + +Sun, 31 Aug 2003 22:17:53 +0000 +Checked in by : Robert Osfield +Converted cout's to notify's. + +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. + +Sun, 31 Aug 2003 22:08:22 +0000 +Checked in by : Robert Osfield +Added experiment Tempated fast path implemenation, #if 0 out right now. + +Sun, 31 Aug 2003 21:23:08 +0000 +Checked in by : Robert Osfield +From Tree, updated syntax highlighting. + +Sun, 31 Aug 2003 21:13:50 +0000 +Checked in by : Robert Osfield +Converted cout's messages to use notify. + +Fri, 29 Aug 2003 23:04:42 +0000 +Checked in by : Robert Osfield +Added s/getCullVistorLeft/Right(), s/getRenderStageLeft/Right(), s/getRenderGraphLeft/Right() methods. + +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. + +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. + +Fri, 29 Aug 2003 21:52:52 +0000 +Checked in by : Robert Osfield +Added fonts/ in front of arial.ttf. + +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. + +Thu, 28 Aug 2003 12:49:38 +0000 +Checked in by : Robert Osfield +Removed double line spacing in ExternalReference code. + +Thu, 28 Aug 2003 12:47:32 +0000 +Checked in by : Robert Osfield +Added a PushAndPopFilePath usage to the internal flt file references. + +Wed, 27 Aug 2003 14:13:12 +0000 +Checked in by : Robert Osfield +From Marco Jez, tangent space generator. + +Wed, 27 Aug 2003 13:09:38 +0000 +Checked in by : Robert Osfield +Added /Zm200 for VS6.0 build. + +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. + +Wed, 27 Aug 2003 10:22:12 +0000 +Checked in by : Robert Osfield +Added KeyboardMouseCallback::shutdown() support. + +Wed, 27 Aug 2003 08:54:30 +0000 +Checked in by : Robert Osfield +Added Performer plugin .dsp + +Wed, 27 Aug 2003 00:39:44 +0000 +Checked in by : Robert Osfield +Fixed CullVisitor::popProjectionMatrix() handling of othorgraphic near and far values. + +Tue, 26 Aug 2003 22:09:15 +0000 +Checked in by : Robert Osfield +Added missing osgFX files. + +Tue, 26 Aug 2003 21:17:22 +0000 +Checked in by : Robert Osfield +Added osgFX - Marco Jez's special effects nodekit. + +Tue, 26 Aug 2003 15:49:49 +0000 +Checked in by : Robert Osfield +Moved the keyboardmouse startThread into the Viewer::realize() method. + +Tue, 26 Aug 2003 08:02:43 +0000 +Checked in by : Robert Osfield +Added set/getDatabasePager() method. + +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. + +Mon, 25 Aug 2003 14:04:16 +0000 +Checked in by : Robert Osfield +Updated NEWS for 0.9.6 release. + +Mon, 25 Aug 2003 14:03:49 +0000 +Checked in by : Robert Osfield +Added osgProducer:: in front of KeyboardMouseCallback. + +Mon, 25 Aug 2003 13:31:31 +0000 +Checked in by : Robert Osfield +Removed suplerfluous inline from setInitialViewMatrix(). + +Mon, 25 Aug 2003 13:06:15 +0000 +Checked in by : Robert Osfield +Added getInitialInverseViewMatrix() to osg::State. + +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. + +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. + +Thu, 21 Aug 2003 19:23:24 +0000 +Checked in by : Robert Osfield +Made getLibrary public. + +Thu, 21 Aug 2003 14:26:40 +0000 +Checked in by : Robert Osfield +Compile/Warnings fixes. + +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. + +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. + +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. + +Wed, 20 Aug 2003 12:51:40 +0000 +Checked in by : Robert Osfield +Renamed instances of Click to Tick for consistency. + +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. + +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. + +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. + +Tue, 19 Aug 2003 19:46:18 +0000 +Checked in by : Robert Osfield +Fixes to the database paging. + +Tue, 19 Aug 2003 14:05:53 +0000 +Checked in by : Robert Osfield +Fixed typo of getNumMatrixManipulators(). + +Tue, 19 Aug 2003 13:01:01 +0000 +Checked in by : Robert Osfield +Removed inappropriate static_cast<>. + +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 + +And changed the defaults to OpenGL defaults of GL_REPEAT. + + + +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. + +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. + +Mon, 18 Aug 2003 15:12:04 +0000 +Checked in by : Robert Osfield +Added getSecondsPerClick() method to Timer. + +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. + +Mon, 18 Aug 2003 09:24:17 +0000 +Checked in by : Robert Osfield +Fixes for Java build. + +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. + + + +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 + +Fri, 15 Aug 2003 09:44:29 +0000 +Checked in by : Robert Osfield +Did a to_dos on examples, plugins and core libs. + +Fri, 15 Aug 2003 09:38:36 +0000 +Checked in by : Robert Osfield +Changed cout's to notufy(INFO). + +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. + + + +Tue, 12 Aug 2003 23:36:40 +0000 +Checked in by : Robert Osfield +Added -lOpenThreads to the IRIX OTHER_LIBS definition. + +Tue, 12 Aug 2003 23:06:25 +0000 +Checked in by : Robert Osfield +Fixed capitalization of QTtexture.h + +Tue, 12 Aug 2003 10:15:59 +0000 +Checked in by : Robert Osfield +Fixed DrawVertex/DrawColors access of null arrays errors. + +Sat, 9 Aug 2003 00:46:48 +0000 +Checked in by : Robert Osfield +Added s/getFastPathHint(). + +Fri, 8 Aug 2003 14:41:37 +0000 +Checked in by : Don BURNS +updates makedefs and makerules for Mac OSX submitted by Bob Kuehne + +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(). + + + +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. + + + +Fri, 8 Aug 2003 00:19:06 +0000 +Checked in by : Robert Osfield +Added convience constructor. + +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. + +Mon, 4 Aug 2003 21:09:40 +0000 +Checked in by : Robert Osfield +From Romano Magacho. add osg:: to Referenced() calls for IRIX build. + +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. + +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 + +Sun, 3 Aug 2003 02:59:48 +0000 +Checked in by : Robert Osfield +Fixed VC6 for scoping problem in ive plugin. + +Sun, 3 Aug 2003 00:24:59 +0000 +Checked in by : Robert Osfield +From Romano Magacho, fix for compile problem under IRIX. + +Sat, 26 Jul 2003 23:44:55 +0000 +Checked in by : Robert Osfield +Post release revision change. + +Sat, 26 Jul 2003 23:06:23 +0000 +Checked in by : Robert Osfield +Updated dependencies. + +Sat, 26 Jul 2003 22:44:04 +0000 +Checked in by : Don BURNS +Small typo + +Sat, 26 Jul 2003 22:32:19 +0000 +Checked in by : Robert Osfield +Typos fixed. + +Sat, 26 Jul 2003 21:06:39 +0000 +Checked in by : Robert Osfield +Updated changelog for release. + +Sat, 26 Jul 2003 21:01:43 +0000 +Checked in by : Robert Osfield +Updated NEWS for release. + +Sat, 26 Jul 2003 19:08:04 +0000 +Checked in by : Robert Osfield +Updated NEWS + +Sat, 26 Jul 2003 18:57:12 +0000 +Checked in by : Robert Osfield +Fixed warning in jpeg loader by replacing longjmp with throw/catch. + +Sat, 26 Jul 2003 14:15:24 +0000 +Checked in by : Robert Osfield +Fixed long jump warning. CV: ---------------------------------------------------------------------- + +Sat, 26 Jul 2003 04:51:38 +0000 +Checked in by : Robert Osfield +Added openthreads to list of dependencies.: + +Sat, 26 Jul 2003 04:25:27 +0000 +Checked in by : Robert Osfield +Fixed warnings. + +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 + +Sat, 26 Jul 2003 00:12:17 +0000 +Checked in by : Don BURNS +Removed command line definitions of OSG_VERSION and OSG_RELEASE + +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 + + + +Thu, 24 Jul 2003 06:13:24 +0000 +Checked in by : Robert Osfield +Fixed warnings. + +Thu, 24 Jul 2003 06:09:28 +0000 +Checked in by : Robert Osfield +Fixed warning. + +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. + +Thu, 24 Jul 2003 06:05:54 +0000 +Checked in by : Robert Osfield +Fix warnings. + +Wed, 23 Jul 2003 21:32:11 +0000 +Checked in by : Robert Osfield +Removed all references to sleep/usleep. + +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. + +Removed debugging messages. + + + +Wed, 23 Jul 2003 21:03:35 +0000 +Checked in by : Robert Osfield +From Gideon, update to the PolygonOffset for the background quad. + +Wed, 23 Jul 2003 20:57:57 +0000 +Checked in by : Robert Osfield +Added makefile. + +Wed, 23 Jul 2003 20:55:26 +0000 +Checked in by : Robert Osfield +Made the fine grained checking of GL errors off by default. + +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. + +Wed, 23 Jul 2003 20:50:56 +0000 +Checked in by : Robert Osfield +From Sean, fix for Sun windows extension checking. + +Wed, 23 Jul 2003 20:38:46 +0000 +Checked in by : Robert Osfield +Fixes to paths and dependancies. + +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 + +Wed, 23 Jul 2003 18:32:52 +0000 +Checked in by : Robert Osfield +Fixes for Win32 build. + +Wed, 23 Jul 2003 18:25:04 +0000 +Checked in by : Robert Osfield +Fixed typo of SlideShowContructor.cpp + +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. + + + +Wed, 23 Jul 2003 15:12:52 +0000 +Checked in by : Robert Osfield +Added control of auto option into slideshow3D + +Wed, 23 Jul 2003 15:00:07 +0000 +Checked in by : Robert Osfield +Fixed typo's slideshow3D + +Wed, 23 Jul 2003 14:59:27 +0000 +Checked in by : Robert Osfield +Fixed blending mode on stats output. + +Wed, 23 Jul 2003 14:06:32 +0000 +Checked in by : Robert Osfield +From Gideon May, added support for osgSim into .osg file format. + +Wed, 23 Jul 2003 13:34:48 +0000 +Checked in by : Robert Osfield +Merged changes from Nicklov Trajce and Boris Bralo. + +Wed, 23 Jul 2003 12:06:37 +0000 +Checked in by : Robert Osfield +Updated docs to reflect new data direcory. + +Wed, 23 Jul 2003 11:45:37 +0000 +Checked in by : Robert Osfield +Warning fixes from Gideon May. + +Wed, 23 Jul 2003 11:37:06 +0000 +Checked in by : Robert Osfield +Added slideshow3D.dsp. + +Wed, 23 Jul 2003 11:27:31 +0000 +Checked in by : Robert Osfield +Updated doc++ documentation. + +Wed, 23 Jul 2003 10:11:48 +0000 +Checked in by : Robert Osfield +Fixed osgslideshow3D to slideshow3D + +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. + + + +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. + +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. + +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. + +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. + +Fixed DatabasePager to work with the latest OpenThreads. + + + +Tue, 22 Jul 2003 15:35:51 +0000 +Checked in by : Robert Osfield +Updates to the slideshow3D app. + +Tue, 22 Jul 2003 12:48:31 +0000 +Checked in by : Robert Osfield +Made BlinkSequence subclass from osg::Object. + +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. + +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. + +Tue, 22 Jul 2003 08:42:14 +0000 +Checked in by : Robert Osfield +Added Images/ infront of lz.rgb path. + +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. + +Mon, 21 Jul 2003 15:51:43 +0000 +Checked in by : Robert Osfield +Added yield call to database paging main loop. + +Mon, 21 Jul 2003 15:26:06 +0000 +Checked in by : Robert Osfield +Fixed osgDB plugin. + +Mon, 21 Jul 2003 11:54:51 +0000 +Checked in by : Robert Osfield +Removed old link. + +Mon, 21 Jul 2003 10:39:07 +0000 +Checked in by : Robert Osfield +Added missing DatabasePager. + +Mon, 21 Jul 2003 10:11:34 +0000 +Checked in by : Robert Osfield +Added -lOpenThreads to the OSX defines. + +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. + +Sun, 20 Jul 2003 00:51:56 +0000 +Checked in by : Don BURNS +Integrated OpenThreads and brought dsps up to snuff on Win32 + +Sat, 19 Jul 2003 17:55:18 +0000 +Checked in by : Don BURNS +Small bug in instrules + +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. + +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. + +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. + + + +Wed, 16 Jul 2003 22:26:17 +0000 +Checked in by : Robert Osfield +From Ruben, added support for vertex program in .osg loader. + +Wed, 16 Jul 2003 22:15:28 +0000 +Checked in by : Robert Osfield +Added setProjectionMatrix*(), setViewMatrix*() and get*() methods to osgUtil::SceneView. + +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... + + + +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. + +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. + +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. + +Tue, 15 Jul 2003 20:23:45 +0000 +Checked in by : Robert Osfield +Fixed case of OSGL2_EXPORT define in project file. + +Tue, 15 Jul 2003 18:52:40 +0000 +Checked in by : Robert Osfield +Added extern + export's to global functions. + +Tue, 15 Jul 2003 18:19:21 +0000 +Checked in by : Robert Osfield +Added missing osg:: infront of Referenced() contructor. + +Tue, 15 Jul 2003 16:22:29 +0000 +Checked in by : Robert Osfield +Moved PROGRAMOBJECT definition into StateAttribute. + +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. + +Tue, 15 Jul 2003 15:49:46 +0000 +Checked in by : Robert Osfield +Added osgGL2 to workspace file. + +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. + +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. + +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. + +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. + +Tue, 15 Jul 2003 08:17:54 +0000 +Checked in by : Robert Osfield +From Gideon May, added typedef T element_type; + +To ref_ptr<> to make it compatible with the boost ref_ptr<> implemenations. + + + +Tue, 15 Jul 2003 07:53:25 +0000 +Checked in by : Robert Osfield +Compile fixes. + +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. + +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. + +Fri, 11 Jul 2003 22:05:34 +0000 +Checked in by : Robert Osfield +warning fixes for IRIX. + +Fri, 11 Jul 2003 18:46:56 +0000 +Checked in by : Don BURNS +included for SGI compilation of Timer header file + +Thu, 10 Jul 2003 15:23:18 +0000 +Checked in by : Robert Osfield +Added dataToMergeList into checks for active subgraphs. + +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. + + + +Thu, 10 Jul 2003 13:48:56 +0000 +Checked in by : Robert Osfield +Fix to accomodate function name change in osgDB::Registry. + +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. + + + +Thu, 10 Jul 2003 13:18:13 +0000 +Checked in by : Robert Osfield +From Tree, fixes for text bounding box initialization. + +Thu, 10 Jul 2003 13:11:25 +0000 +Checked in by : Robert Osfield +From Eric Sokolosky, insertChild(). + +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. + +Thu, 10 Jul 2003 08:05:24 +0000 +Checked in by : Robert Osfield +From Bob Kuehne, Fixed typo. + +Thu, 10 Jul 2003 07:51:01 +0000 +Checked in by : Robert Osfield +Fixed typo. + +Wed, 9 Jul 2003 19:48:04 +0000 +Checked in by : Robert Osfield +Further updates to the DatabasePager. + +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. + +Wed, 9 Jul 2003 07:41:53 +0000 +Checked in by : Robert Osfield +Added #include to DatabasePager.cpp. + +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. + +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. + +Sat, 5 Jul 2003 19:49:06 +0000 +Checked in by : Robert Osfield +Added missing setUseVertexBufferObject(). + +Sat, 5 Jul 2003 19:08:30 +0000 +Checked in by : Robert Osfield +Integrated various fixes from users. + +Wed, 2 Jul 2003 01:56:12 +0000 +Checked in by : Don BURNS +Fixed glBindBufferARB to extensions->glBindBuffer() + +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. + +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. + +Sun, 29 Jun 2003 21:41:57 +0000 +Checked in by : Robert Osfield +Added support for the ARB_vertex_buffer_object into osg::Geometry. + +Sat, 28 Jun 2003 17:35:17 +0000 +Checked in by : Don BURNS +fixed makeinnosetup + +Fri, 27 Jun 2003 21:41:00 +0000 +Checked in by : Don BURNS +Updates to makeinnosetup to work a bit smoother + +Fri, 27 Jun 2003 21:01:18 +0000 +Checked in by : Don BURNS +Change some wording in help.sh and added makeinnosetup + +Fri, 27 Jun 2003 14:33:37 +0000 +Checked in by : Robert Osfield +Added #include + +Fri, 27 Jun 2003 14:33:13 +0000 +Checked in by : Robert Osfield +Added #include + +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. + +Wed, 25 Jun 2003 22:11:12 +0000 +Checked in by : Robert Osfield +Addition of text to default presentation. + +Wed, 25 Jun 2003 10:39:11 +0000 +Checked in by : Robert Osfield +Fixed from Pavel for the stats in RenderBin.cpp + +Wed, 25 Jun 2003 10:30:46 +0000 +Checked in by : Robert Osfield +Updated NEWS.Added AttrData.h to flt.dsp + +Removed redundent (and duplicate definition of RenderBinPrototypeList and its +associated static) from the RenderBin header. + + + +Wed, 25 Jun 2003 10:12:50 +0000 +Checked in by : Robert Osfield +From Julia Oritz Rojas, support for detail textures. + +Wed, 25 Jun 2003 08:58:48 +0000 +Checked in by : Robert Osfield +From Ulrich Hertlein, added support for TextureRectangle to .osg format. + +Wed, 25 Jun 2003 08:50:57 +0000 +Checked in by : Robert Osfield +Spotted by Norman Vine - fixed typo in intersect visitor. + +Wed, 25 Jun 2003 07:59:59 +0000 +Checked in by : Robert Osfield +Test of cvs. + +Wed, 25 Jun 2003 07:50:19 +0000 +Checked in by : Robert Osfield +Added TessellationHints. + +Tue, 24 Jun 2003 22:11:13 +0000 +Checked in by : Robert Osfield +Added missing file. + +Tue, 24 Jun 2003 21:57:13 +0000 +Checked in by : Robert Osfield +Additions since the CVS back up was made. + +Tue, 24 Jun 2003 15:40:09 +0000 +Checked in by : Don BURNS +*** empty log message *** + +Tue, 24 Jun 2003 15:39:59 +0000 +Checked in by : Don BURNS +Updating 5/27/03 backup with 6/20/03 tarball + +Tue, 24 Jun 2003 15:36:53 +0000 +Checked in by : Don BURNS +Update of 5/27/03 backup with 6/20/03 tarball + +Tue, 27 May 2003 17:04:01 +0000 +Checked in by : Robert Osfield +Converted dos to unix file endings. + +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. + +Tue, 27 May 2003 11:02:45 +0000 +Checked in by : Robert Osfield +Reverted recent changes so the set(Matrix&) method. + +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. + +Mon, 26 May 2003 11:02:42 +0000 +Checked in by : Robert Osfield +Added missing std:: + +Mon, 26 May 2003 10:05:52 +0000 +Checked in by : Robert Osfield +Added 3dc plugin for reading Arias 3D point clouds. + +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. + +Mon, 26 May 2003 09:27:16 +0000 +Checked in by : Robert Osfield +Adding support using istream and ostream with the reader writers. + +Sun, 25 May 2003 21:06:23 +0000 +Checked in by : Robert Osfield +Added mention of DYLD_BIND_AT_LAUNCH to OSX docs. + +Sun, 25 May 2003 16:08:57 +0000 +Checked in by : Robert Osfield +From Geoff Michel, conversion from GeoSet to Geometry. + +Sat, 24 May 2003 14:42:00 +0000 +Checked in by : Robert Osfield +Removed export macro. + +Sat, 24 May 2003 14:26:20 +0000 +Checked in by : Robert Osfield +Added missing std:: + +Fri, 23 May 2003 19:51:12 +0000 +Checked in by : Robert Osfield +Added ive reader/writer - from Rune Schmidt Jensen/Michael Gronager + +Thu, 22 May 2003 15:29:20 +0000 +Checked in by : Robert Osfield +Fixes to the Optimizer's handling of merging of osg::Geometry + +Thu, 22 May 2003 14:02:10 +0000 +Checked in by : Robert Osfield +Removed occurances of SG_EXPORT. + +Thu, 22 May 2003 11:09:28 +0000 +Checked in by : Robert Osfield +Convert Performer plugin across to generate osg::Geometry directly. + +Thu, 22 May 2003 08:40:53 +0000 +Checked in by : Robert Osfield +Added syntax highlighting for VisualStudio7.1 from Joseph Steel. + +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. + +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. + +Wed, 21 May 2003 14:34:12 +0000 +Checked in by : Robert Osfield +Added GeoSet to osgconv. + +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 loading and converting GeoSet into the osgconv example. + + + +Tue, 20 May 2003 20:45:10 +0000 +Checked in by : Robert Osfield +Added usage of the InputRectangle into setting up of the EventAdapter. + +Tue, 20 May 2003 19:48:07 +0000 +Checked in by : Robert Osfield +Removed spurious editing file. + +Tue, 20 May 2003 14:05:19 +0000 +Checked in by : Robert Osfield +Added osgtexturerectangle example from Ulrich Hertlein. + +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. + +Tue, 20 May 2003 11:01:16 +0000 +Checked in by : Robert Osfield +Added setProjectMatrix(const Matrix&) and setModelViewMatrix(const Matrix&) methods. + +Tue, 20 May 2003 08:57:02 +0000 +Checked in by : Robert Osfield +Removed redundent write_usage function. + +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. + +Tue, 20 May 2003 08:43:09 +0000 +Checked in by : Robert Osfield +Fixed manipulator. + +Tue, 20 May 2003 08:09:36 +0000 +Checked in by : Robert Osfield +Removed the now redundent osg::Camera. + +Mon, 19 May 2003 20:18:37 +0000 +Checked in by : Robert Osfield +Removed all KeySwitchCameraManipulator class, replacing it with the KeySwitchMatrixManipulator + +Mon, 19 May 2003 15:15:17 +0000 +Checked in by : Robert Osfield +Removed remaining dependancies on osg::Camera. + +Sat, 17 May 2003 13:15:54 +0000 +Checked in by : Robert Osfield +Removed redundent const + +Sat, 17 May 2003 09:03:06 +0000 +Checked in by : Robert Osfield +Renamed png pnm + +Sat, 17 May 2003 08:36:25 +0000 +Checked in by : Robert Osfield +Removed superfluous const + +Wed, 14 May 2003 16:07:39 +0000 +Checked in by : Don BURNS +Small operation precedence bug fixed in Text.cpp + +Fri, 9 May 2003 13:07:06 +0000 +Checked in by : Robert Osfield +Updates to the handling of vertex attributes. + +Thu, 8 May 2003 15:13:50 +0000 +Checked in by : Robert Osfield +Add osgUtil as a dependancy of osgText + +Thu, 8 May 2003 14:02:50 +0000 +Checked in by : Robert Osfield +Memory leak fixes from Joseph Steel. + +Wed, 7 May 2003 15:26:08 +0000 +Checked in by : Robert Osfield +Added UserData to NodeVisitor. + +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. + +Wed, 7 May 2003 11:13:49 +0000 +Checked in by : Robert Osfield +From Eric Sokolowsky, support for mouse scroll wheel in osgGA/osgProducer. + +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. + +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. + + + +Tue, 6 May 2003 13:13:31 +0000 +Checked in by : Robert Osfield +Added support for multibuffering of tex coordinates. + +Mon, 5 May 2003 14:30:12 +0000 +Checked in by : Robert Osfield +Fixed accept(PrimitiveFunctor&) so it uses the transform coords correctly. + +Fri, 2 May 2003 18:24:56 +0000 +Checked in by : Robert Osfield +Fixed build. + +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. + + + +Thu, 1 May 2003 19:56:02 +0000 +Checked in by : Robert Osfield +Added set/getNearFarRatio() to CullVisitor. + +Thu, 1 May 2003 08:51:03 +0000 +Checked in by : Robert Osfield +Remved exit(). + +Wed, 30 Apr 2003 15:40:57 +0000 +Checked in by : Robert Osfield +From Eric Sokolowsky - pnm (ppm, pgm, pbm) plugin + +Wed, 30 Apr 2003 15:38:11 +0000 +Checked in by : Robert Osfield +Cleanup of the API. + +Wed, 30 Apr 2003 11:41:24 +0000 +Checked in by : Robert Osfield +Reverted the test of setAutoScaleToScreen. + +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(,) + +Fixed typos in Texture*.cpp. + +Removed old deprecated methods from osg headers. + + + +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. + +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. + +Mon, 28 Apr 2003 12:57:58 +0000 +Checked in by : Robert Osfield +Updated NEWS. + +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. + + + +Sun, 27 Apr 2003 19:23:00 +0000 +Checked in by : Robert Osfield +Fixed typo of Fturue! + +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. + + + +Fri, 25 Apr 2003 19:53:22 +0000 +Checked in by : Robert Osfield +Updates to introducution. + +Fri, 25 Apr 2003 13:52:08 +0000 +Checked in by : Robert Osfield +Updated index.html + +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. + +Thu, 24 Apr 2003 20:41:18 +0000 +Checked in by : Don BURNS +A few minor mods to introduction.html + +Thu, 24 Apr 2003 19:54:03 +0000 +Checked in by : Robert Osfield +Updates to the introduction.html documentaition. + +Thu, 24 Apr 2003 13:45:35 +0000 +Checked in by : Robert Osfield +Typo fix. + +Thu, 24 Apr 2003 13:45:10 +0000 +Checked in by : Robert Osfield +cout -> notify. + +Thu, 24 Apr 2003 13:44:30 +0000 +Checked in by : Robert Osfield +Updates to docs. + +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. + +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. + +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. + +Sat, 19 Apr 2003 09:35:10 +0000 +Checked in by : Robert Osfield +Updated ChangeLog for the release. + +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. + + + +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. + +Fri, 18 Apr 2003 21:44:48 +0000 +Checked in by : Robert Osfield +Changed the ordering of the picking intersections. + +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. + + + +Fri, 18 Apr 2003 15:59:34 +0000 +Checked in by : Robert Osfield +Updated NEWS for the release.Fixed warnings. + + + +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. + + + +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. + +Thu, 17 Apr 2003 16:22:51 +0000 +Checked in by : Robert Osfield +Added doc++ documentation. + +Thu, 17 Apr 2003 15:57:05 +0000 +Checked in by : Robert Osfield +Added setting of the RenderSurface name to the application name. + +Thu, 17 Apr 2003 15:27:17 +0000 +Checked in by : Robert Osfield +Moved #include from Viewer to OsgCameraGroup. + +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. + +Thu, 17 Apr 2003 13:36:41 +0000 +Checked in by : Robert Osfield +Changed the maxx initializiation to use (*points)[last_valid_index].x(); + +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. + + + +Thu, 17 Apr 2003 06:52:56 +0000 +Checked in by : Robert Osfield +Added OSGUTIL_EXPORT to front of DelaunayTriangulator class. + +Wed, 16 Apr 2003 23:09:31 +0000 +Checked in by : Don BURNS +InputRectangle converted to RenderSurface->get()... + +Wed, 16 Apr 2003 21:16:23 +0000 +Checked in by : Don BURNS +Changed Rect('s to Rectangle('s + +Wed, 16 Apr 2003 20:02:15 +0000 +Checked in by : Robert Osfield +Added support for set/getColor to ShapeDrawable. + +Wed, 16 Apr 2003 19:21:27 +0000 +Checked in by : Robert Osfield +From Marco Jez, added DelaunayTriangulator class. + +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. + +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. + +Wed, 16 Apr 2003 14:22:36 +0000 +Checked in by : Robert Osfield +Renamed computeNearFar to computeNearFarPoints. + +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); + + /** 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); + + + +Wed, 16 Apr 2003 12:46:06 +0000 +Checked in by : Robert Osfield +Add a check for the result to writeNodeFile(). + +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. + + + +Tue, 15 Apr 2003 20:54:10 +0000 +Checked in by : Robert Osfield +Added support for multiple cameras into osgpick. + +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. + +Tue, 15 Apr 2003 09:33:56 +0000 +Checked in by : Robert Osfield +From Brede, Fixed the ordering of the znear and zfar. + +Tue, 15 Apr 2003 09:33:11 +0000 +Checked in by : Robert Osfield +From Romano, extra methods/variables for controlling tesselation. + +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. + + + +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. + +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. + +Mon, 14 Apr 2003 15:44:30 +0000 +Checked in by : Robert Osfield +Updates to the osgpick code.Updates to osgGA::CameraManipulors. + + + +Mon, 14 Apr 2003 15:03:55 +0000 +Checked in by : Robert Osfield +Tweak to the debug output. + +Mon, 14 Apr 2003 15:02:13 +0000 +Checked in by : Robert Osfield +Added extra debugging details to help track down IRIX64 & Solaris64 problems. + +Mon, 14 Apr 2003 13:23:12 +0000 +Checked in by : Robert Osfield +Improved the handling of Producer's no dimensional mouse coords. + +Mon, 14 Apr 2003 13:22:21 +0000 +Checked in by : Robert Osfield +Addd new computeLocalToWorld(NodePath) etc methods. + +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. + +Sun, 13 Apr 2003 14:12:03 +0000 +Checked in by : Robert Osfield +Updated dependancies with link to Producer web page. + +Sun, 13 Apr 2003 13:26:41 +0000 +Checked in by : Robert Osfield +Added Geoff Michel's osgpick and osgUtil::PickVisitor code. + +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. + +Sat, 12 Apr 2003 10:24:16 +0000 +Checked in by : Robert Osfield +Removed references to glut32.lib. + +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. + +Fri, 11 Apr 2003 15:34:56 +0000 +Checked in by : Robert Osfield +Clean of doc++ directories. + +Fri, 11 Apr 2003 15:33:40 +0000 +Checked in by : Robert Osfield +Changed the uint arrays to GLuint to keep OSX build compiling. + +Fri, 11 Apr 2003 10:37:31 +0000 +Checked in by : Robert Osfield +Fixes to documentions to refelect the move from osgGLUT to osgProducer. + +Fri, 11 Apr 2003 10:04:53 +0000 +Checked in by : Robert Osfield +Updated the version numbers to 0.9.4 + +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. + + + +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. + +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. + +Fri, 11 Apr 2003 06:50:15 +0000 +Checked in by : Robert Osfield +Added std:: infront of cout instances. + +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. + + + +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. + + + +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. + + + +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. + +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 + +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. + +Thu, 10 Apr 2003 10:16:39 +0000 +Checked in by : Robert Osfield +Fix to the CameraGroup::setViewByMarix usage. + +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. + +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. + +Wed, 9 Apr 2003 21:53:09 +0000 +Checked in by : Robert Osfield +Fixes to the Impostor implementation. + +Wed, 9 Apr 2003 13:29:12 +0000 +Checked in by : Robert Osfield +From Romano, ' ' now sets pause to false. + +Wed, 9 Apr 2003 11:45:41 +0000 +Checked in by : Robert Osfield +Added using namespace std; + +Wed, 9 Apr 2003 11:44:32 +0000 +Checked in by : Robert Osfield +Added desciptions to all the demos. + +Wed, 9 Apr 2003 10:51:13 +0000 +Checked in by : Robert Osfield +Added environmental variable usage to OsgCameraGroup. + +Wed, 9 Apr 2003 10:30:24 +0000 +Checked in by : Robert Osfield +Added support for osg::Node::get/setNodeMask() into .osg format. + +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. + +Wed, 9 Apr 2003 10:13:07 +0000 +Checked in by : Robert Osfield +Added a setting of OsgCameraGroup::_applicateUsage to ApplicationUsage::instance() by default. + +Wed, 9 Apr 2003 10:11:56 +0000 +Checked in by : Robert Osfield +Fixed warning. + +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. + +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. + +Added export to osgProducer::ViewerEventAdapter. + + + +Tue, 8 Apr 2003 20:39:47 +0000 +Checked in by : Robert Osfield +Added support for key modifiers to osgProducer::EventAdapter. + +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. + + + +Tue, 8 Apr 2003 20:05:00 +0000 +Checked in by : Robert Osfield +Fixed warning. + +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. + +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. + +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. + +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. + +Tue, 8 Apr 2003 10:59:08 +0000 +Checked in by : Robert Osfield +Convert dsp's to use dos endings. + +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 + +To GNUmakefile for the OSX build. + + + +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. + +Tue, 8 Apr 2003 09:44:21 +0000 +Checked in by : Robert Osfield +Added Producer to the dependcies in osgwindows. + +Tue, 8 Apr 2003 09:42:03 +0000 +Checked in by : Robert Osfield +Added an osg::absolute template function into osg/Math. + +Mon, 7 Apr 2003 19:19:01 +0000 +Checked in by : Robert Osfield +Added support for snaping screen images from osgProducer::Viewer apps. + +Mon, 7 Apr 2003 15:11:29 +0000 +Checked in by : Robert Osfield +Fixes to dds plugin from Rune. + +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. + +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. + +Mon, 7 Apr 2003 13:20:53 +0000 +Checked in by : Robert Osfield +From Ulrich Hertlien, new osg::TextureRectangle class. + +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. + +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. + +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. + +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. + +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. + +Sun, 6 Apr 2003 18:18:52 +0000 +Checked in by : Robert Osfield +Fixed for new implemention osg OsgCameraGroup::setView(). + +Sun, 6 Apr 2003 13:29:02 +0000 +Checked in by : Robert Osfield +Fixed setView to work with new OsgCameraGroup::setView + +Sun, 6 Apr 2003 10:07:44 +0000 +Checked in by : Robert Osfield +Fixed handling of pixel and internal images formats. + +Sat, 5 Apr 2003 22:24:48 +0000 +Checked in by : Robert Osfield +Added support for recording animation paths in the osgProducer::Viewer. + +Sat, 5 Apr 2003 20:02:42 +0000 +Checked in by : Robert Osfield +Fixed manipulator to work correctly with new osgGA::GUIEventAdapter code. + +Sat, 5 Apr 2003 19:54:51 +0000 +Checked in by : Robert Osfield +Added Images/ infront of dog_left and dog_right images. + +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. + +Sat, 5 Apr 2003 07:19:40 +0000 +Checked in by : Robert Osfield +Improvements to the handling of warp pointer call on start up. + +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. + +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(). + + + +Fri, 4 Apr 2003 15:22:25 +0000 +Checked in by : Robert Osfield +Removal of trailing \ from end of couple lines in cygwin path. + +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. + +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. + +Thu, 3 Apr 2003 21:00:12 +0000 +Checked in by : Robert Osfield +Suported for mip mapping added by Rune. + +Thu, 3 Apr 2003 14:12:09 +0000 +Checked in by : Robert Osfield +Fixes to the multipipe initialization. + +Thu, 3 Apr 2003 08:14:49 +0000 +Checked in by : Don BURNS +Changes to fix compiles on Mac OS X + +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. + +Thu, 3 Apr 2003 07:31:01 +0000 +Checked in by : Robert Osfield +Added osgText dependancy to osgtexture2D demo. + +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. + +Wed, 2 Apr 2003 19:41:18 +0000 +Checked in by : Robert Osfield +Fixes to the dds plugin. + +Wed, 2 Apr 2003 18:26:34 +0000 +Checked in by : Robert Osfield +From Rune Schmidt Jensen - new dds loader. + +Wed, 2 Apr 2003 14:54:05 +0000 +Checked in by : Robert Osfield +Removed OSX override override of PLUGIN_DIRS. + +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. + + + +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. + +Increased the compute pixel size by a ratio 1.41 (sqrtf(2)) to correlate the +computed size with the actual size seen on screen. + + + +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. + +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. + +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. + +Changed savedmodel.osg to saved_model.osg in ViewerEventHandler. + + + +Tue, 1 Apr 2003 18:50:36 +0000 +Checked in by : Robert Osfield +Changed unsigned int to std::string::size_type. + +Tue, 1 Apr 2003 18:42:38 +0000 +Checked in by : Robert Osfield +Added convinience constructor. + +Tue, 1 Apr 2003 18:42:17 +0000 +Checked in by : Robert Osfield +Added futher debugging messages to track down the x86-64 crash. + +Tue, 1 Apr 2003 18:35:31 +0000 +Checked in by : Robert Osfield +Used notify for reporting the keypressing to the commandline. + +Tue, 1 Apr 2003 16:00:33 +0000 +Checked in by : Robert Osfield +New osgtexture2D example code. + +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. + +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() ) + +Tue, 1 Apr 2003 13:16:02 +0000 +Checked in by : Robert Osfield +From Macro Jez, fixes to logo plugin under VS. + +Tue, 1 Apr 2003 12:00:13 +0000 +Checked in by : Robert Osfield +Updated NEWS.Removed writing of test.osg from osgstereoimage. + + + +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. + + + +Tue, 1 Apr 2003 11:53:34 +0000 +Checked in by : Robert Osfield +Cleaned up the reset of the vertex arrays in osg::State. + +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. + +Made osg::Image ptr in osg::Texture2D non mutable as it is no longer modified +during apply. + + + +Tue, 1 Apr 2003 11:38:33 +0000 +Checked in by : Robert Osfield +From Marco, fix to the path of the osgPlugin logo. + +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. + +Mon, 31 Mar 2003 21:41:17 +0000 +Checked in by : Robert Osfield +Implemented load and subload methods in osg::Texture/Texture2D. + +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. + + + +Mon, 31 Mar 2003 11:25:04 +0000 +Checked in by : Robert Osfield +Adding reseting of the array pointers to the dirty methods. + +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. + +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. + +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' + +Thu, 27 Mar 2003 18:56:23 +0000 +Checked in by : Robert Osfield +Moved demo references acros to being example references. + +Thu, 27 Mar 2003 18:42:31 +0000 +Checked in by : Don BURNS +Fixed installation of demo source from src/Demos to examples + +Thu, 27 Mar 2003 17:20:21 +0000 +Checked in by : Robert Osfield +Changed private to protected. + +Thu, 27 Mar 2003 17:18:59 +0000 +Checked in by : Robert Osfield +Fixed typo. + +Thu, 27 Mar 2003 17:16:53 +0000 +Checked in by : Robert Osfield +Added -losgGA to keep things compiling across platforms. + +Thu, 27 Mar 2003 14:39:19 +0000 +Checked in by : Robert Osfield +Improved stats. + +Thu, 27 Mar 2003 13:51:40 +0000 +Checked in by : Robert Osfield +Added -osgText to GNUMakefiles. + +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. + +Thu, 27 Mar 2003 10:54:01 +0000 +Checked in by : Robert Osfield +Updates to utilise the new Producer keyboard bindings. + +Wed, 26 Mar 2003 20:11:11 +0000 +Checked in by : Robert Osfield +Added osgText dependency to osgProducer lib. + +Wed, 26 Mar 2003 16:48:29 +0000 +Checked in by : Robert Osfield +Improved the stats reporting. + +Wed, 26 Mar 2003 12:50:30 +0000 +Checked in by : Robert Osfield +Added help support for display help on screen to osgProducer::Viewer. + +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. + +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. + +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. + +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. + +Added non const getText() method. + + + +Tue, 25 Mar 2003 13:01:34 +0000 +Checked in by : Robert Osfield +Spotted by Brede - missing ! + +Tue, 25 Mar 2003 12:44:50 +0000 +Checked in by : Robert Osfield +Added text input field to the osgkeyboard demo. + +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. + +Tue, 25 Mar 2003 11:28:52 +0000 +Checked in by : Robert Osfield +Added futher keys to complete the keyboard. + +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. + + + +Mon, 24 Mar 2003 23:12:47 +0000 +Checked in by : Robert Osfield +Added osgText dependency to osgkeyboard demo. + +Mon, 24 Mar 2003 23:02:08 +0000 +Checked in by : Don BURNS +changes to makedefs to support AMD 64 bit + +Mon, 24 Mar 2003 21:17:51 +0000 +Checked in by : Robert Osfield +Added new osgkeyboad example. + +Mon, 24 Mar 2003 15:21:52 +0000 +Checked in by : Robert Osfield +Fixed typo. + +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. + +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. + + + +Mon, 24 Mar 2003 09:37:51 +0000 +Checked in by : Robert Osfield +Redid logo dsp. + +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. + + + +Sun, 23 Mar 2003 20:39:07 +0000 +Checked in by : Robert Osfield +Added Producer.lib to osgstereoimage demo. + +Sun, 23 Mar 2003 20:36:55 +0000 +Checked in by : Robert Osfield +Converted to windows endings. + +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. + +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. + +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. + +Fri, 21 Mar 2003 08:30:52 +0000 +Checked in by : Robert Osfield +Added Prodcuer.lib and PThread*.lib to the osgcluster example. + +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. + +Thu, 20 Mar 2003 21:26:54 +0000 +Checked in by : Robert Osfield +Added -m64 -DARCH64 option to Linux 64 bit build. + +Thu, 20 Mar 2003 20:38:38 +0000 +Checked in by : Robert Osfield +Add osg:: infront of CopyOp instances. + +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. + +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. + + + +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. + +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. + +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) + +Thu, 20 Mar 2003 08:43:38 +0000 +Checked in by : Robert Osfield +Added missing setInterleavedArray( InterleaveArrayType format, float *ia, GLuint *iai ) method. + +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. + +Wed, 19 Mar 2003 21:14:50 +0000 +Checked in by : Robert Osfield +Added getCameraManipulator(unsigned int) method. + +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. + +Wed, 19 Mar 2003 15:49:21 +0000 +Checked in by : Robert Osfield +First pass fix at implementing requestWarpPointer. + +Wed, 19 Mar 2003 15:37:28 +0000 +Checked in by : Don BURNS +Adjusted date format for versionrules + +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. + +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. + + + +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. + +Wed, 19 Mar 2003 02:31:22 +0000 +Checked in by : Don BURNS +Fixed a globalState setting order in OsgCameraGroup::realize() + +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. + +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. + +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 + +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. + +Tue, 18 Mar 2003 18:40:19 +0000 +Checked in by : Don BURNS +Added support for versioning to the build system + +Tue, 18 Mar 2003 09:29:06 +0000 +Checked in by : Robert Osfield +From Tree, ushort renamed GLushort + +Mon, 17 Mar 2003 22:53:46 +0000 +Checked in by : Robert Osfield +Implemented a object cache in osgDB::Registry. + +Mon, 17 Mar 2003 20:08:36 +0000 +Checked in by : Robert Osfield +Added inc and links for local Producer. + +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. + +Sun, 16 Mar 2003 22:00:42 +0000 +Checked in by : Robert Osfield +Fixes for new beta release of VS.NET + +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. + + + +Sat, 15 Mar 2003 20:41:05 +0000 +Checked in by : Robert Osfield +Removed the GNUMakefile for the old Demos directory. + +Sat, 15 Mar 2003 20:20:46 +0000 +Checked in by : Robert Osfield +Removed osgGLUT and Demos/*.Integrated Marco's updated examples/*/*.dsp's. + + + +Sat, 15 Mar 2003 16:41:27 +0000 +Checked in by : Robert Osfield +Added osgpbuffer example source. + +Sat, 15 Mar 2003 09:20:11 +0000 +Checked in by : Robert Osfield +Added VisualStudio .dsp's for the new osgProducer based examples. + +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 + +Fri, 14 Mar 2003 21:01:35 +0000 +Checked in by : Robert Osfield +Moved code across to use the new ArgumentParser. + +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. + +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. + +Fri, 14 Mar 2003 09:28:34 +0000 +Checked in by : Robert Osfield +The wrong file name was being used readFontFile. + +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. + +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. + +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. + +Thu, 13 Mar 2003 06:22:31 +0000 +Checked in by : Don BURNS +Fixes for Mac OS X + +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 + + 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. + + + +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. + +Wed, 12 Mar 2003 20:10:43 +0000 +Checked in by : Don BURNS +Removed osgPlugins from lib, which is now built on the fly + +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. + +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. + +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. + +Wed, 12 Mar 2003 12:17:57 +0000 +Checked in by : Robert Osfield +Changed std::min to osg::minimum. + +Wed, 12 Mar 2003 11:50:02 +0000 +Checked in by : Robert Osfield +Added -losgText + +Wed, 12 Mar 2003 11:36:55 +0000 +Checked in by : Robert Osfield +Added missing osghud Makefile. + +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. + + + +Wed, 12 Mar 2003 09:45:12 +0000 +Checked in by : Robert Osfield +Added (unsigned int) cast to the call to osg::minimum. + +Tue, 11 Mar 2003 21:53:28 +0000 +Checked in by : Robert Osfield +Added setBound() method to Drawable. + +Tue, 11 Mar 2003 21:42:55 +0000 +Checked in by : Robert Osfield +Added missing osg:: to StateAttribute. + +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. + + + +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. + + + +Tue, 11 Mar 2003 13:24:28 +0000 +Checked in by : Robert Osfield +Added missing osgDB:: to writeArray() usage. + +Mon, 10 Mar 2003 16:40:26 +0000 +Checked in by : Robert Osfield +Improvements to the Text .osg support. + +Mon, 10 Mar 2003 12:06:17 +0000 +Checked in by : Robert Osfield +Addded new osgProducer based osgreflect demo. + +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. + +Create a new osgProducer version of the original GLUT based version. + + + +Mon, 10 Mar 2003 11:57:17 +0000 +Checked in by : Robert Osfield +Marged new getLibaryMethod added by Daniel. + +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. + +Sat, 8 Mar 2003 21:39:40 +0000 +Checked in by : Robert Osfield +Fixed examples/osghud and osgtext Makefile's to include osgText. + +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. + +Fri, 7 Mar 2003 21:05:35 +0000 +Checked in by : Robert Osfield +Fixes for IRIX build. + +Fri, 7 Mar 2003 09:04:04 +0000 +Checked in by : Robert Osfield +From Daniel Sjolie, support for light source. + +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. + +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. + +Thu, 6 Mar 2003 19:41:59 +0000 +Checked in by : Robert Osfield +Reverted the changes to ref_ptr<> for implicit cast to pointer. + +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. + + + +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. + +Thu, 6 Mar 2003 11:18:38 +0000 +Checked in by : Robert Osfield +Renamed Text::TextString String. + +Thu, 6 Mar 2003 10:38:56 +0000 +Checked in by : Robert Osfield +Fixed the setInterleavedArray call. + +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. + +Wed, 5 Mar 2003 21:05:37 +0000 +Checked in by : Robert Osfield +Added osgText::String implementation to better handle decoding of encoded text. + +Wed, 5 Mar 2003 21:04:11 +0000 +Checked in by : Robert Osfield +Added implicit cast to T* to ref_ptr<>. + +Wed, 5 Mar 2003 21:02:37 +0000 +Checked in by : Robert Osfield +Made the State::setInterleavedArrays method use a const GLvoid*. + +Wed, 5 Mar 2003 20:18:12 +0000 +Checked in by : Robert Osfield +Fix for non standard compiliant Forte compilers. + +Wed, 5 Mar 2003 19:31:55 +0000 +Checked in by : Don BURNS +added directives for intel compilers + +Wed, 5 Mar 2003 14:02:48 +0000 +Checked in by : Robert Osfield +Fixes for Win32 build. + +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. + + + +Wed, 5 Mar 2003 09:56:56 +0000 +Checked in by : Robert Osfield +Added md2 plugin from Vladimir Vukicevic. + +Wed, 5 Mar 2003 09:08:11 +0000 +Checked in by : Robert Osfield +Updates to Text for Sun Forte compilers. + +Tue, 4 Mar 2003 19:52:32 +0000 +Checked in by : Robert Osfield +Added std:: infront of cout references. + +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. + +Tue, 4 Mar 2003 15:47:28 +0000 +Checked in by : Robert Osfield +Added support for using the generate mip map extension within osgText. + +Tue, 4 Mar 2003 14:25:12 +0000 +Checked in by : Robert Osfield +Added osgProducer project to larget list. + +Tue, 4 Mar 2003 14:17:39 +0000 +Checked in by : Robert Osfield +Added osgProducer project file. + +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. + +Tue, 4 Mar 2003 09:08:04 +0000 +Checked in by : Robert Osfield +Renamed "libunfreetype.lib" to "freetype.lib" + +Mon, 3 Mar 2003 22:47:50 +0000 +Checked in by : Robert Osfield +Added examples/osghud - a osgProducer port of the old osghud demo. + +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. + + + +Mon, 3 Mar 2003 20:28:07 +0000 +Checked in by : Robert Osfield +Fix for warning under Windows. + +Mon, 3 Mar 2003 20:24:49 +0000 +Checked in by : Robert Osfield +Typo fix. + +Mon, 3 Mar 2003 20:12:18 +0000 +Checked in by : Robert Osfield +Compile fixes to osgText. + +Mon, 3 Mar 2003 16:42:48 +0000 +Checked in by : Robert Osfield +Added search path to osgText::readFontFile. + +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. + +Mon, 3 Mar 2003 15:36:52 +0000 +Checked in by : Robert Osfield +Fixes to osgText for default parameter. + +Mon, 3 Mar 2003 11:04:15 +0000 +Checked in by : Robert Osfield +Fixes for the new osg::Image::setImage() parameter, from Ulrich Hertlein. + +Mon, 3 Mar 2003 11:02:35 +0000 +Checked in by : Robert Osfield +Updates to the quicktime plugin from Bob Kuehne. + +Mon, 3 Mar 2003 10:20:24 +0000 +Checked in by : Robert Osfield +Added project file for new freetype plugin. + +Mon, 3 Mar 2003 09:37:02 +0000 +Checked in by : Robert Osfield +Added support for computing bounds of text. + +Sun, 2 Mar 2003 21:05:05 +0000 +Checked in by : Robert Osfield +First cut of new osgText implementation. + +Thu, 27 Feb 2003 08:43:02 +0000 +Checked in by : Robert Osfield +Changed incorrect instance "TRUE" to "FALSE" to match DepthMask state. + +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. + +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. + +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.) + + + +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. + + + +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. + +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. + + + +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. + +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. + + + +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. + + + +Thu, 20 Feb 2003 21:58:47 +0000 +Checked in by : Robert Osfield +Added std:: infront of cout. + +Thu, 20 Feb 2003 21:52:50 +0000 +Checked in by : Robert Osfield +Changed the license details across to OSGPL instead of GPL. + +Wed, 19 Feb 2003 21:37:12 +0000 +Checked in by : Robert Osfield +Added missing std:: infront of string usage. + +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. + +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. + +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. + +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. + + + +Tue, 18 Feb 2003 19:45:53 +0000 +Checked in by : Don BURNS +std::cout replaced cout + +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. + +Tue, 18 Feb 2003 14:00:31 +0000 +Checked in by : Robert Osfield +Removed non implemented method convertWideString(const char* text) from header + +Tue, 18 Feb 2003 11:33:55 +0000 +Checked in by : Robert Osfield +Added reference to Group in the RegisterDotOsgWrapperProxy. + +Tue, 18 Feb 2003 10:50:57 +0000 +Checked in by : Robert Osfield +Added missing ; + +Tue, 18 Feb 2003 09:12:27 +0000 +Checked in by : Robert Osfield +Removed linking to osgGLUT/GLUT in the osgconv program. + +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. + + + +Fri, 14 Feb 2003 22:32:29 +0000 +Checked in by : Robert Osfield +Moved osghanglide back to pure osgGLUT based, removing osgProducer pathways. + +Fri, 14 Feb 2003 20:27:23 +0000 +Checked in by : Robert Osfield +More work on uint -> unsigned int. + +Fri, 14 Feb 2003 19:47:59 +0000 +Checked in by : Robert Osfield +MOre work on uint -> unsigned int. + +Fri, 14 Feb 2003 16:52:47 +0000 +Checked in by : Robert Osfield +Renamed futher uint/ushort instances. + +Fri, 14 Feb 2003 11:41:52 +0000 +Checked in by : Robert Osfield +Removed last of the uint references. + +Thu, 13 Feb 2003 15:37:32 +0000 +Checked in by : Robert Osfield +Added support for ClipNode in the .osg plugin. + +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. + + + +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. + +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. + +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. + +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. + +Wed, 12 Feb 2003 09:52:27 +0000 +Checked in by : Robert Osfield +Added if (!null) guard around description strings. + +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. + +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. + +Tue, 11 Feb 2003 12:37:48 +0000 +Checked in by : Robert Osfield +Clean up of the logo demo. + +Mon, 10 Feb 2003 22:15:04 +0000 +Checked in by : Don BURNS +Used INC instead of CXXFLAGSGVS: ---------------------------------------------------------------------- + + + +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. + +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. + +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. + +Mon, 10 Feb 2003 14:47:20 +0000 +Checked in by : Robert Osfield +Updates from Ulrich for sharing of textures. + +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. + +Mon, 10 Feb 2003 14:23:31 +0000 +Checked in by : Robert Osfield +Changed int to GLint for OSX build. + +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. + + + +Wed, 5 Feb 2003 23:13:27 +0000 +Checked in by : Don BURNS +Right, em.... fixed eh.. problem with destruction of RenderBin prototype list + +Fri, 31 Jan 2003 23:46:15 +0000 +Checked in by : Robert Osfield +Fixed infinite loop in osgProducer::CameraGroup::advance(). + +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. + +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. + +Added a search the osgDB::DataFilePath for the producer config file. + + + +Thu, 30 Jan 2003 21:46:57 +0000 +Checked in by : Robert Osfield +Fix for endianess of colour set up of RGBA values. + +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(). + +Added osgProducer::CameraGroup::getTopMostSceneData() convinience method. + + + +Thu, 30 Jan 2003 01:31:22 +0000 +Checked in by : Robert Osfield +From Max, fixes to UniCode support for bitmap fonts. + +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. + + + +Wed, 29 Jan 2003 17:24:54 +0000 +Checked in by : Robert Osfield +Fixed CullVisitor::getDistanceFromEyePoint so that withLODScale is handled correctly. + +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. + + + +Mon, 27 Jan 2003 20:40:08 +0000 +Checked in by : Don BURNS +Fixes to osgProducer for IRIX build. + +Sat, 25 Jan 2003 00:14:14 +0000 +Checked in by : Robert Osfield +Final changes for release. + +Fri, 24 Jan 2003 23:59:55 +0000 +Checked in by : Robert Osfield +Addition for osgSim docs. + +Fri, 24 Jan 2003 23:36:35 +0000 +Checked in by : Robert Osfield +Updates docs for release. + +Fri, 24 Jan 2003 22:40:24 +0000 +Checked in by : Robert Osfield +Updates NEWS file with date of release. + +Fri, 24 Jan 2003 16:57:28 +0000 +Checked in by : Robert Osfield +Removed the inline declarations of several method implementations. + +Fri, 24 Jan 2003 15:33:54 +0000 +Checked in by : Robert Osfield +Changed the /MDd switch to /MD to remove a warning. + +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. + +Fri, 24 Jan 2003 12:39:18 +0000 +Checked in by : Robert Osfield +Changes to try and placate the Sun Forte compiler. + +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. + +Fri, 24 Jan 2003 09:47:15 +0000 +Checked in by : Robert Osfield +Added osgvertexprogram to the demo list. + +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 + +Fri, 24 Jan 2003 09:37:56 +0000 +Checked in by : Robert Osfield +Added support for osg::Transform::asMatrixTransform, asPositionAttitudeTransform and as DOFTransform. + +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). + +Fri, 24 Jan 2003 09:35:05 +0000 +Checked in by : Robert Osfield +Fixed the formating of the Matrix output. + +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. + +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. + +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! + +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. + +Thu, 23 Jan 2003 14:46:10 +0000 +Checked in by : Robert Osfield +Fix to handling of comment records and longid's. + +Thu, 23 Jan 2003 12:18:22 +0000 +Checked in by : Robert Osfield +Changed the image directory refered to in billboard demo.Updates NEWS. + +Changed the line endings in TextureCubeMap to unix endings. + + + +Thu, 23 Jan 2003 12:07:01 +0000 +Checked in by : Robert Osfield +Tweaking of the osgvertexprogram tex matrix settings. + +Thu, 23 Jan 2003 10:11:11 +0000 +Checked in by : Robert Osfield +Fixed Win32 compile problem. + +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. + +Thu, 23 Jan 2003 08:39:48 +0000 +Checked in by : Robert Osfield +Fixed typo of APPLY_MATICES_BEFORE_STATE. + +Thu, 23 Jan 2003 08:37:15 +0000 +Checked in by : Robert Osfield +Removed eroneous std:: from the from of DisplayListVector. + +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. + +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. + +Wed, 22 Jan 2003 23:34:43 +0000 +Checked in by : Robert Osfield +Added support for a -c option. + +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. + +Wed, 22 Jan 2003 20:48:10 +0000 +Checked in by : Robert Osfield +Vertex program update from Brede. + +Wed, 22 Jan 2003 19:17:39 +0000 +Checked in by : Robert Osfield +Updated version numbers to 0.9.3 + +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. + +Wed, 22 Jan 2003 16:17:56 +0000 +Checked in by : Robert Osfield +Fixed handling of rotations reading from .osg of osg::Shapes. + +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. + +Wed, 22 Jan 2003 15:30:17 +0000 +Checked in by : Robert Osfield +Clean up to the osgProducer lib and demo. + +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. + +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.. + +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. + +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. + +Tue, 21 Jan 2003 19:37:45 +0000 +Checked in by : Robert Osfield +Removed debugging messages. + +Tue, 21 Jan 2003 16:45:36 +0000 +Checked in by : Robert Osfield +Added new Copyright/License notice to header and source files. + +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. + +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. + +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. + +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. + +Tue, 21 Jan 2003 09:09:48 +0000 +Checked in by : Robert Osfield +From Joseph Steel, addition of texture filter modes to txp plugin. + +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. + +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. + +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. + +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. + +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. + +Mon, 20 Jan 2003 12:41:15 +0000 +Checked in by : Robert Osfield +Added the new standard copyright notice. + +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. + +Mon, 20 Jan 2003 11:54:34 +0000 +Checked in by : Robert Osfield +Clean up to the osgproducer demo. + +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. + +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. + +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. + +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. + + 2. Detecting of alpha channel and automatically enabling blending. + + + +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.. + + + +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. + +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. + +Sun, 19 Jan 2003 15:28:08 +0000 +Checked in by : Robert Osfield +Added osg::State::dirtyAllModes() and dirtyAllAttributes() methods. + +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. + + + +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. + +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. + +Fri, 17 Jan 2003 20:27:07 +0000 +Checked in by : Robert Osfield +Added comment about osgProducer to the NEWS. + +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.. + +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. + + + +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. + +Fri, 17 Jan 2003 15:01:27 +0000 +Checked in by : Robert Osfield +Fixed a bug on the handling of empty EncodedText. + +Fri, 17 Jan 2003 14:12:46 +0000 +Checked in by : Robert Osfield +Further improvements to the osgproducer demo. + +Fri, 17 Jan 2003 14:12:25 +0000 +Checked in by : Robert Osfield +Added new getCurrentCamaeraManipulator(), and removed and debugging message. + +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. + +Fri, 17 Jan 2003 13:34:03 +0000 +Checked in by : Robert Osfield +Integated the trackball manipulator with the osgproducer demo. + +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. + +Thu, 16 Jan 2003 19:27:30 +0000 +Checked in by : Robert Osfield +Added DOUBLECLICK EventType to GUIEventAdapter. + +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. + +Thu, 16 Jan 2003 12:39:15 +0000 +Checked in by : Robert Osfield +Added support for frame stamping each frame. + +Thu, 16 Jan 2003 12:18:45 +0000 +Checked in by : Robert Osfield +Updates to clean up the demo. + +Wed, 15 Jan 2003 21:54:42 +0000 +Checked in by : Don BURNS +Added gstabs+ to DBGF in Linux in makedefs + +Wed, 15 Jan 2003 20:57:48 +0000 +Checked in by : Robert Osfield +Warning fix for Win32. + +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. + +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. + + + +Wed, 15 Jan 2003 19:23:16 +0000 +Checked in by : Robert Osfield +Updates to the osgproducer demo. + +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. + +Wed, 15 Jan 2003 15:24:35 +0000 +Checked in by : Robert Osfield +First cut and a demo which uses Open Producer for windowing. + +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. + +Wed, 15 Jan 2003 11:33:33 +0000 +Checked in by : Robert Osfield +Patch from Joseph Steel, added missing check for the mipmap usage. + +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. + +Tue, 14 Jan 2003 19:12:22 +0000 +Checked in by : Robert Osfield +Fix for win32. + +Tue, 14 Jan 2003 16:39:41 +0000 +Checked in by : Robert Osfield +Fixes for Win32 build. + +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. + +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. + +Tue, 14 Jan 2003 14:00:09 +0000 +Checked in by : Robert Osfield +Submission from Joseph Stell, added LoadModels to TerrapageNode. + +Tue, 14 Jan 2003 12:36:14 +0000 +Checked in by : Robert Osfield +Fixed typo. + +Tue, 14 Jan 2003 10:54:01 +0000 +Checked in by : Robert Osfield +Replaced the NVTriStrip code with tri_stripper written by Tanguy Fautré. + +Mon, 13 Jan 2003 20:14:23 +0000 +Checked in by : Robert Osfield +Typo fix if USE_HOME_POSITION. + +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. + +Mon, 13 Jan 2003 14:11:06 +0000 +Checked in by : Robert Osfield +Clean up to the cross platform support in DirectX plugin. + +Mon, 13 Jan 2003 14:05:08 +0000 +Checked in by : Robert Osfield +Fixes to osgText to handle std::string correctly. + +Mon, 13 Jan 2003 10:39:14 +0000 +Checked in by : Robert Osfield +Added missing _bbox.init() to ShapeDrawable.cpp. + +Sat, 11 Jan 2003 20:56:29 +0000 +Checked in by : Don BURNS +ReaderWriterDirectX.cpp needed some std::'s + +Sat, 11 Jan 2003 20:43:47 +0000 +Checked in by : Robert Osfield +From Ulrich, fixes to double to float conversion warnings under Windows. + +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. + +Fri, 10 Jan 2003 17:06:20 +0000 +Checked in by : Robert Osfield +Updates from Ulrich. + +Fri, 10 Jan 2003 16:56:39 +0000 +Checked in by : Robert Osfield +Added missing header for new matric reading and writing methods. + +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. + + + +Thu, 9 Jan 2003 18:41:01 +0000 +Checked in by : Robert Osfield +Fixed typo. + +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. + +Thu, 9 Jan 2003 11:48:49 +0000 +Checked in by : Robert Osfield +Fixed typo. + +Thu, 9 Jan 2003 10:06:44 +0000 +Checked in by : Robert Osfield +Added setting of the R wrap paramter to applyTexParamters(). + +Wed, 8 Jan 2003 22:52:27 +0000 +Checked in by : Robert Osfield +From Ulrich Hertlein, DirectX .x model loader plugin. + +Wed, 8 Jan 2003 16:37:09 +0000 +Checked in by : Robert Osfield +Fix to case statement from Tree. + +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. + +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. + +Wed, 8 Jan 2003 15:22:17 +0000 +Checked in by : Robert Osfield +From Tree, support for encoded text added into osgText. + +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. + +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. + + + +Mon, 6 Jan 2003 23:19:42 +0000 +Checked in by : Robert Osfield +Fixes for Irix64 build. + +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. + +Mon, 6 Jan 2003 13:45:55 +0000 +Checked in by : Robert Osfield +Fixed headers guard typo in LightPoint.Updated the NEW files. + + + +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. + +Sat, 4 Jan 2003 20:44:17 +0000 +Checked in by : Robert Osfield +Fixed small typo. + +Sat, 4 Jan 2003 20:43:53 +0000 +Checked in by : Robert Osfield +Added usage info in -O option. + +Sat, 4 Jan 2003 20:43:27 +0000 +Checked in by : Robert Osfield +Fixed options code. + +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. + + + +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 Update and Cull callbacks into the .osg file format. + +Added support for AnimationPathCallback into the .osg file format. + + + +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. + +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. + +Fri, 20 Dec 2002 10:48:22 +0000 +Checked in by : Robert Osfield +Tweaked the colours in the logo. + +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. + +Fri, 20 Dec 2002 09:43:15 +0000 +Checked in by : Robert Osfield +Renamed the app method update. + +Thu, 19 Dec 2002 19:50:45 +0000 +Checked in by : Don BURNS +Update for ia64 + +Thu, 19 Dec 2002 19:50:16 +0000 +Checked in by : Don BURNS +update for ia64 + +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". + +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. + +Wed, 18 Dec 2002 11:43:39 +0000 +Checked in by : Robert Osfield +Removed the reference of Sequence from Switch. + +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. + +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. + +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. + +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. + + + +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. + +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. + + + +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 + +Mon, 16 Dec 2002 17:00:05 +0000 +Checked in by : Robert Osfield +Moved TriangleFunctor from Drawable into its own header file. + +Mon, 16 Dec 2002 16:57:47 +0000 +Checked in by : Robert Osfield +Removed the redundent export symbol. + +Mon, 16 Dec 2002 16:55:50 +0000 +Checked in by : Robert Osfield +Removed MemoryManager. + +Mon, 16 Dec 2002 14:52:48 +0000 +Checked in by : Robert Osfield +Fix for a warning. + +Mon, 16 Dec 2002 14:12:48 +0000 +Checked in by : Robert Osfield +Removed reference to osg/MemoryManager. + +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. + +Mon, 16 Dec 2002 13:44:35 +0000 +Checked in by : Robert Osfield +Removed the memory manager. + +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 + +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. + +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.. + +Mon, 16 Dec 2002 10:28:14 +0000 +Checked in by : Robert Osfield +Added seperate Referenced.cpp implementation. + +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. + +Mon, 16 Dec 2002 10:22:37 +0000 +Checked in by : Robert Osfield +Integrated further updates from Geoff on the Geo loader. + +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! + +Mon, 16 Dec 2002 09:55:30 +0000 +Checked in by : Robert Osfield +Added supported for setting animation path on MatrixTransform's. + +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. + +Sun, 15 Dec 2002 22:42:03 +0000 +Checked in by : Robert Osfield +Updates the details on the plans for Open Procuder and osgSim. + +Sun, 15 Dec 2002 09:57:32 +0000 +Checked in by : Robert Osfield +Fixes to txp plugin for Windows. + +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. + +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. + +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 + +Fri, 13 Dec 2002 20:29:26 +0000 +Checked in by : Don BURNS +Moved TrpageViewer.h to Demos/src/osgtxp + +Fri, 13 Dec 2002 20:28:58 +0000 +Checked in by : Don BURNS +Move TrPageViewer.cpp to src/Demos/osgtxp + +Fri, 13 Dec 2002 19:41:59 +0000 +Checked in by : Robert Osfield +Merged fixes to warnings in geo plugin from Geoff. + +Fri, 13 Dec 2002 16:05:07 +0000 +Checked in by : Robert Osfield +Fixes for txp plugin. + +Thu, 12 Dec 2002 11:36:08 +0000 +Checked in by : Robert Osfield +Added the axis alignment into the Outline and Texture fonts drawing. + +Thu, 12 Dec 2002 11:35:09 +0000 +Checked in by : Robert Osfield +Turned lighting off for whole of logo. + +Thu, 12 Dec 2002 11:25:25 +0000 +Checked in by : Robert Osfield +Changed the osglogo demo to use arial texured font. + +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. + +Wed, 11 Dec 2002 22:39:59 +0000 +Checked in by : Robert Osfield +Removed redundent std:: + +Wed, 11 Dec 2002 19:49:34 +0000 +Checked in by : Robert Osfield +Converted the file to unix file endings. + +Wed, 11 Dec 2002 16:27:01 +0000 +Checked in by : Robert Osfield +Removed erroneous character from end of file. + +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. + + + +Wed, 11 Dec 2002 16:14:51 +0000 +Checked in by : Robert Osfield +Added osgSim to the dependancy list of the geo plugin. + +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. + + + +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. + +Wed, 11 Dec 2002 10:07:14 +0000 +Checked in by : Robert Osfield +Fixes for Win32. + +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. + +Tue, 10 Dec 2002 21:18:16 +0000 +Checked in by : Robert Osfield +Fixes from IRIX build from Bob Kuehne. + +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. + +Tue, 10 Dec 2002 20:00:56 +0000 +Checked in by : Robert Osfield +Updates from Geoff Michel to geo loader and demo. + +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. + + + +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. + +Tue, 10 Dec 2002 17:57:02 +0000 +Checked in by : Don BURNS +Fixed endif placement for SunOS build + +Mon, 9 Dec 2002 21:03:02 +0000 +Checked in by : Robert Osfield +Added setting of the current texture unit into the applyTextureAttribute() method. + +Mon, 9 Dec 2002 09:26:49 +0000 +Checked in by : Robert Osfield +Changed cout to notify. + +Mon, 9 Dec 2002 06:00:57 +0000 +Checked in by : Don BURNS +fixed small typo (forgot std::) + +Sun, 8 Dec 2002 19:45:03 +0000 +Checked in by : Robert Osfield +Fixes for VisualStudio build of txp plugin. + +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. + +Sat, 7 Dec 2002 21:20:40 +0000 +Checked in by : Robert Osfield +Tweaks the light points blend function. + +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. + + + +Sat, 7 Dec 2002 06:59:08 +0000 +Checked in by : Don BURNS +Cleanin' up after Robert's spelling ...er ... challenges. + +Fri, 6 Dec 2002 19:56:17 +0000 +Checked in by : Don BURNS +Typo png was npg + +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. + +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. + +Fri, 6 Dec 2002 09:44:11 +0000 +Checked in by : Robert Osfield +From Tree, mods to help support the creation of Java bindings. + +Fri, 6 Dec 2002 09:43:30 +0000 +Checked in by : Robert Osfield +Updated NEWS + +Fri, 6 Dec 2002 09:41:53 +0000 +Checked in by : Robert Osfield +Update from Norman Vine for Cygin gcc3.2 support. + +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. + +Fri, 6 Dec 2002 09:19:35 +0000 +Checked in by : Robert Osfield +Fixes from Norman Vine for Cygwin support. + +Thu, 5 Dec 2002 15:21:25 +0000 +Checked in by : Robert Osfield +Updates to the osglogo demo. + +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. + +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. + +Thu, 5 Dec 2002 12:13:30 +0000 +Checked in by : Robert Osfield +Added osglogo to test scripts. + +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. + +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. + +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. + + + +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. + +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. + +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 + +Mon, 2 Dec 2002 19:37:43 +0000 +Checked in by : Don BURNS +updated difference between forte compilers and gnu compilers on Solaris + +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 + +Fri, 29 Nov 2002 16:14:03 +0000 +Checked in by : Don BURNS +Fixes to txp loader + +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 + +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. + +Mon, 25 Nov 2002 16:40:30 +0000 +Checked in by : Robert Osfield +Added check of translucency of an image via osg::Image::isImageTranslucent(). + +Mon, 25 Nov 2002 16:39:05 +0000 +Checked in by : Robert Osfield +Added implementation of isImageTranslucent method. + +Mon, 25 Nov 2002 16:38:33 +0000 +Checked in by : Robert Osfield +Added isImageTransulacent() method. + +Mon, 25 Nov 2002 16:30:34 +0000 +Checked in by : Robert Osfield +Added extra check to the freeing of memory. + +Mon, 25 Nov 2002 16:13:57 +0000 +Checked in by : Robert Osfield +Fixes for OSX build from Stephan Huber. + +Sun, 24 Nov 2002 21:36:05 +0000 +Checked in by : Don BURNS +Added Paging TerraPage loader and osgTXP library. + +Sun, 24 Nov 2002 00:23:47 +0000 +Checked in by : Don BURNS +Forced GLPixmapGlyph color to white rather than using glGetCurrentColor + +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. + +Fri, 22 Nov 2002 17:36:46 +0000 +Checked in by : Don BURNS +Merged in Joseph Steel's updates to rgb plugin + +Fri, 22 Nov 2002 09:46:25 +0000 +Checked in by : Robert Osfield +Warning fixes. + +Fri, 22 Nov 2002 08:23:54 +0000 +Checked in by : Robert Osfield +Adjusted tabbing. + +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. + +Fri, 22 Nov 2002 05:00:43 +0000 +Checked in by : Don BURNS +Fixes for IRIX build + +Thu, 21 Nov 2002 20:28:28 +0000 +Checked in by : Don BURNS +Fixed std:: prefix and reinitialized variable for gcc 3.2 + +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. + + + +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. + +Thu, 21 Nov 2002 14:54:14 +0000 +Checked in by : Robert Osfield +Clean up of the shadow texture code... + +Thu, 21 Nov 2002 14:38:55 +0000 +Checked in by : Robert Osfield +Added shadow texture demo .dsp under the correct name! + +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. + +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(). + +Renamed osg::Geode::findDrawableNum(..) to getDrawableIndex(). + + + +Thu, 21 Nov 2002 07:53:48 +0000 +Checked in by : Robert Osfield +Fix for compile problems under IRIX. + +Wed, 20 Nov 2002 15:51:18 +0000 +Checked in by : Robert Osfield +First pass at shadow textures. + +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. + +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... + + + +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. + + + +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. + +Tue, 19 Nov 2002 12:26:51 +0000 +Checked in by : Robert Osfield +Updated OSX defs to compile osgSim and osglightpoint + +Tue, 19 Nov 2002 12:25:38 +0000 +Checked in by : Robert Osfield +Added osglightpoint to the demo list. + +Tue, 19 Nov 2002 12:23:45 +0000 +Checked in by : Robert Osfield +Added visual workspace files for osgSim nodekit and osglightpoint demo. + +Tue, 19 Nov 2002 10:57:40 +0000 +Checked in by : Robert Osfield +Added osgSim library which encapulsulates light points.Added osglightpoint demo. + + + +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. + +Added new osg::Group::setNode(uint,Node*) method. + +Cleaned up and fixed the osg::Texture's handling of dirtyTextureParamters(). + + + +Mon, 18 Nov 2002 16:14:00 +0000 +Checked in by : Robert Osfield +Added setDrawable(uint,Drawable*) method. + +Thu, 14 Nov 2002 15:30:28 +0000 +Checked in by : Robert Osfield +From Jason Daly, fix for long file names on sequence nodes. + +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. + +Wed, 13 Nov 2002 13:04:00 +0000 +Checked in by : Robert Osfield +Updated NEWS and ChangeLog for the release. + +Wed, 13 Nov 2002 12:42:58 +0000 +Checked in by : Robert Osfield +Updates to docs for release + +Wed, 13 Nov 2002 11:09:55 +0000 +Checked in by : Robert Osfield +Added State::computeSecondaryColorSupported() & computeFogCoordSupported().Updated NEWS. + + + +Wed, 13 Nov 2002 10:23:55 +0000 +Checked in by : Robert Osfield +Small improvement to the computation of the pixel size vector. + +Tue, 12 Nov 2002 15:50:39 +0000 +Checked in by : Robert Osfield +Fixed ansisotropic scaling problem with pixel scaling/small feature culling. + +Tue, 12 Nov 2002 13:51:04 +0000 +Checked in by : Robert Osfield +Fixed bug in stats where overdraw would be reported incorrectly. + +Tue, 12 Nov 2002 13:37:43 +0000 +Checked in by : Robert Osfield +Removed debugging messages. + +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. + +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. + + + +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 + +Mon, 11 Nov 2002 16:11:48 +0000 +Checked in by : Robert Osfield +Fixes to typo of *Dirty() + +Mon, 11 Nov 2002 09:06:02 +0000 +Checked in by : Robert Osfield +Added missing demos and libs into the darwin defines. + +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. + +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. + + + +Mon, 11 Nov 2002 08:08:37 +0000 +Checked in by : Robert Osfield +Updates to news. + +Mon, 11 Nov 2002 08:05:23 +0000 +Checked in by : Robert Osfield +Updates to doc + +Mon, 11 Nov 2002 08:05:07 +0000 +Checked in by : Robert Osfield +Fixes for MING build + +Mon, 11 Nov 2002 08:04:40 +0000 +Checked in by : Robert Osfield +Fixes to const paramter types. + +Mon, 11 Nov 2002 07:20:11 +0000 +Checked in by : Robert Osfield +*** empty log message *** + +Mon, 11 Nov 2002 07:12:21 +0000 +Checked in by : Robert Osfield +Added osgText to dependancy list of geo plugin. + +Fri, 8 Nov 2002 15:56:49 +0000 +Checked in by : Robert Osfield +Fixes to build in VS7.0 + +Fri, 8 Nov 2002 14:24:33 +0000 +Checked in by : Robert Osfield +Added newly generated html files. + +Fri, 8 Nov 2002 14:15:17 +0000 +Checked in by : Robert Osfield +Checking in updates to documentition for the 0.9.2 release. + +Fri, 8 Nov 2002 14:03:44 +0000 +Checked in by : Robert Osfield +Removed deprecated API + +Fri, 8 Nov 2002 12:58:34 +0000 +Checked in by : Robert Osfield +Updates version numbers to 0.9.2 + +Fri, 8 Nov 2002 12:56:45 +0000 +Checked in by : Robert Osfield +Updates to GEO loader from Geoff Michel. + +Fri, 8 Nov 2002 12:54:09 +0000 +Checked in by : Robert Osfield +Minor warning fix. + +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. + +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. + +Fixed warnings in osgimpsotor demo. + + + +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. + +Fixed compile problem under VC6.0 in osgimpostor. + + + +Fri, 8 Nov 2002 08:51:30 +0000 +Checked in by : Robert Osfield +Fixes for VisualStudio6.0 build. + +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. + +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. + +Fri, 8 Nov 2002 08:12:18 +0000 +Checked in by : Robert Osfield +Commented back in LIBS into Makefile for OSX build. + +Fri, 8 Nov 2002 08:11:12 +0000 +Checked in by : Robert Osfield +Fixes for VisualStudio build and OSX build. + +Fri, 8 Nov 2002 08:00:28 +0000 +Checked in by : Robert Osfield +Added TestManipulator into osgimpostor project file. + +Thu, 7 Nov 2002 16:08:37 +0000 +Checked in by : Robert Osfield +Compile fix from Duvan Cope. + +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?!? + +Thu, 7 Nov 2002 15:13:32 +0000 +Checked in by : Robert Osfield +Titled the view in osganimate and added the title into osgimpostor. + +Thu, 7 Nov 2002 14:44:01 +0000 +Checked in by : Robert Osfield +Renamed Primitive:: to PrimitiveSet. + +Thu, 7 Nov 2002 14:29:33 +0000 +Checked in by : Robert Osfield +Commented out the USE_DEPRECATED_API define. + +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. + +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. + +Thu, 7 Nov 2002 13:47:39 +0000 +Checked in by : Robert Osfield +Updates to GEO loader from Geoff Michel. + +Thu, 7 Nov 2002 08:49:12 +0000 +Checked in by : Robert Osfield +Added shape drawable into dot osg plugin. + +Thu, 7 Nov 2002 08:48:30 +0000 +Checked in by : Robert Osfield +Fix for build under Linux. + +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 + +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 + +Wed, 6 Nov 2002 16:04:51 +0000 +Checked in by : Robert Osfield +Fix for backwards compatibility. + +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. + +Wed, 6 Nov 2002 11:15:23 +0000 +Checked in by : Robert Osfield +Added in default value of _timeScale. + +Wed, 6 Nov 2002 10:46:34 +0000 +Checked in by : Robert Osfield +Renamed ProceduralGeometry to ShapeDrawable to better reflect its current purpose. + +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. + + + +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. + +Mon, 4 Nov 2002 15:33:08 +0000 +Checked in by : Robert Osfield +From Stephan Huber, fix for OSX build. + +Mon, 4 Nov 2002 10:37:11 +0000 +Checked in by : Robert Osfield +Added std:: in front of string. + +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. + +Mon, 4 Nov 2002 09:07:25 +0000 +Checked in by : Robert Osfield +Fixed warning under Visual.NET + +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. + + + +Mon, 4 Nov 2002 08:35:55 +0000 +Checked in by : Robert Osfield +Added back in the missing flt.dsp. + +Fri, 1 Nov 2002 15:12:51 +0000 +Checked in by : Robert Osfield +Added support for primitive functor into the new osg::ProceduralGeometry class + +Fri, 1 Nov 2002 15:11:05 +0000 +Checked in by : Robert Osfield +Futher fixes for VisualStudio.NET compilation. + +Fri, 1 Nov 2002 14:16:58 +0000 +Checked in by : Robert Osfield +Michael Gronage fix for aspect ratio in split stereo. + +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). + +Fri, 1 Nov 2002 12:40:33 +0000 +Checked in by : Robert Osfield +Added missing Shape and ProceduralGeometry references in the osg project file. + +Fri, 1 Nov 2002 12:20:34 +0000 +Checked in by : Robert Osfield +Futher updates to shapes support. + +Fri, 1 Nov 2002 12:11:23 +0000 +Checked in by : Robert Osfield +Added handled of invlid drawable bounding boxes. + +Fri, 1 Nov 2002 10:39:35 +0000 +Checked in by : Robert Osfield +Added export to the height field class. + +Fri, 1 Nov 2002 10:25:27 +0000 +Checked in by : Robert Osfield +Updates to Shape support. + +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. + +Thu, 31 Oct 2002 12:51:09 +0000 +Checked in by : Robert Osfield +From Geoff Michel, added AC3D .ac and GEO .geo loaders. + +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. + +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. + +Wed, 30 Oct 2002 13:27:15 +0000 +Checked in by : Robert Osfield +Added first cut of new primtive shapes support. + +Wed, 30 Oct 2002 12:58:26 +0000 +Checked in by : Robert Osfield +Removal of more redundent const base types. + +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. + +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. + +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. + +Mon, 28 Oct 2002 09:43:21 +0000 +Checked in by : Robert Osfield +Removed the remapping of special keys to keyboard events. + +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. + +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. + +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. + +Thu, 24 Oct 2002 20:45:44 +0000 +Checked in by : Don BURNS +Added ARCH64 def for 64 bit builds + +Thu, 24 Oct 2002 15:24:39 +0000 +Checked in by : Don BURNS +FIxed set_new_handler to std::set_new_handler + +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. + +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. + +Mon, 21 Oct 2002 13:03:02 +0000 +Checked in by : Robert Osfield +Fixed spelling mistake in comment. + +Mon, 21 Oct 2002 13:02:30 +0000 +Checked in by : Robert Osfield +Changed the private: to protected: to allow easier extension. + +Fri, 18 Oct 2002 12:47:36 +0000 +Checked in by : Robert Osfield +Merged Pavel's updates to LWO2 for handle multiple texture layers. + +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. + +Fri, 18 Oct 2002 12:23:42 +0000 +Checked in by : Robert Osfield +Added extension checking to the rgb and bmp write of images. + +Thu, 17 Oct 2002 21:25:56 +0000 +Checked in by : Don BURNS +USE_MM was not defined for IRIX + +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. + + + +Thu, 17 Oct 2002 11:59:01 +0000 +Checked in by : Robert Osfield +Fixed memory allocation. + +Thu, 17 Oct 2002 11:50:53 +0000 +Checked in by : Robert Osfield +Checked in fix for std::hex for dumb arsed compilers. + +Thu, 17 Oct 2002 11:39:04 +0000 +Checked in by : Robert Osfield +Fixed compile error under Windows. + +Thu, 17 Oct 2002 10:04:11 +0000 +Checked in by : Robert Osfield +Fixed error in #ifdef GL_SECONDARY_COLOR... CV: ---------------------------------------------------------------------- + +Tue, 15 Oct 2002 19:10:05 +0000 +Checked in by : Don BURNS +Changed std::malloc to new in src/osgUtil/CubeMapGenerator.cpp + +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 + +Thu, 10 Oct 2002 20:04:02 +0000 +Checked in by : Robert Osfield +Fixes from Macro. + +Thu, 10 Oct 2002 18:02:05 +0000 +Checked in by : Robert Osfield +Added missing .cpp's. + +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. + + + +Thu, 10 Oct 2002 13:06:24 +0000 +Checked in by : Robert Osfield +Added a little more info into the State contextID docs. + +Thu, 10 Oct 2002 12:44:38 +0000 +Checked in by : Robert Osfield +Added Macro's new cube map generation classes and osgcubemap demo. + +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. + +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. + +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. + +Thu, 10 Oct 2002 09:00:31 +0000 +Checked in by : Robert Osfield +From Gabor Dorka, Fixes to memory leaks. + +Wed, 9 Oct 2002 15:43:56 +0000 +Checked in by : Robert Osfield +Fixes to smoothing visitor and tesselator to handle indexed Geometry. + +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. + +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. + +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. + +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 + + + +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 + +Tue, 8 Oct 2002 08:36:48 +0000 +Checked in by : Don BURNS +Solaris didn't like filebuf. Using old FILE + +Tue, 8 Oct 2002 07:39:38 +0000 +Checked in by : Don BURNS +Added AnimationPathManipulator to osgGA and modified sgv to use it. + +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. + +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. + + + +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. + +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. + +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. + + + +Mon, 7 Oct 2002 11:06:37 +0000 +Checked in by : Robert Osfield +Added missing osg::TextureCubeMap::getAssociatedMode(). + +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. + +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 + +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. + +Fri, 4 Oct 2002 16:40:45 +0000 +Checked in by : Robert Osfield +Fixes for Win32 build. + +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. + +Fri, 4 Oct 2002 13:53:41 +0000 +Checked in by : Robert Osfield +Changed the include of MatrixTransform to Transform. + +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. + +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. + +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(..) + +Mon, 30 Sep 2002 18:12:54 +0000 +Checked in by : Robert Osfield +Removed inappropriate inline keyword from getOrCreateStateSet(). + +Mon, 30 Sep 2002 18:11:34 +0000 +Checked in by : Robert Osfield +Added setActiveTextureUnit(0) to State::reset(). + +Mon, 30 Sep 2002 16:50:16 +0000 +Checked in by : Robert Osfield +Added traverse the AnimationPath callbacks. + +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. + +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. + +Sun, 29 Sep 2002 12:33:30 +0000 +Checked in by : Robert Osfield +From Daniel, Fixes for warnings under Win32. + +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 + +Sat, 28 Sep 2002 07:47:10 +0000 +Checked in by : Robert Osfield +Added a dirtyAllVertexArrays() to State::reset(). + +Sat, 28 Sep 2002 07:43:04 +0000 +Checked in by : Robert Osfield +Fixes for Win32 build. + +Fri, 27 Sep 2002 19:04:46 +0000 +Checked in by : Robert Osfield +Fix build after change in GLExtensions. + +Fri, 27 Sep 2002 19:01:59 +0000 +Checked in by : Robert Osfield +Fixes to IndexGeometry for Win32 build. + +Fri, 27 Sep 2002 17:47:47 +0000 +Checked in by : Robert Osfield +Improvements to IndexedGeometry. + +Thu, 26 Sep 2002 15:26:22 +0000 +Checked in by : Robert Osfield +Futher work on the IndexedGeometry class. Indexed coordinates should now work. + +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. + + + +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. + +Tue, 24 Sep 2002 19:41:18 +0000 +Checked in by : Robert Osfield +Removed redundent /-------------------------------------------------------------------- + + + +Sun, 22 Sep 2002 07:09:50 +0000 +Checked in by : Robert Osfield +Renamed Primitive to PrimitiveSet. + +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. + +Fri, 20 Sep 2002 15:54:17 +0000 +Checked in by : Robert Osfield +From Ulrich Hertlien, supported add to textures in the .lwo format. + +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. + +Changed the rest of the OSG to handle the renaming og Primitive to PrimitiveSet. + + + +Fri, 20 Sep 2002 14:48:41 +0000 +Checked in by : Robert Osfield +From Daniel, changed setEventHandler to addEventHandler. + +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. + +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. + +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. + +Wed, 18 Sep 2002 16:10:42 +0000 +Checked in by : Robert Osfield +Fix the sceondary color code. + +Wed, 18 Sep 2002 16:05:26 +0000 +Checked in by : Robert Osfield +Added missing isCompressedInternalFormat() method. + +Wed, 18 Sep 2002 15:59:35 +0000 +Checked in by : Robert Osfield +Fixed mispelling of SEPARATION. + +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. + + + +Wed, 18 Sep 2002 11:11:10 +0000 +Checked in by : Robert Osfield +From Daniel Sjölie - added support for multitexured flt files. + +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. + +Mon, 16 Sep 2002 20:58:05 +0000 +Checked in by : Robert Osfield +Further work on multiple context extensions. + +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. + +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. + +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. + +Thu, 12 Sep 2002 20:30:41 +0000 +Checked in by : Robert Osfield +From Pavel Moloshtan, fixes for Mingw32 build. + +Thu, 12 Sep 2002 19:59:05 +0000 +Checked in by : Robert Osfield +Added opengl32.lib and glu32.lib links to osgGLUT.dsp + +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. + + + +Thu, 12 Sep 2002 14:29:59 +0000 +Checked in by : Don BURNS +Fixed setFusionDistance + +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 Don Tidrow - added dirtyBound() to osgText::Text::setPosition + + + +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 + +Thu, 5 Sep 2002 15:45:10 +0000 +Checked in by : Robert Osfield +Improvements to osg::Texture3D::Extensions code. + +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 + +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. + + + +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. + +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. + +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. + +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. + +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. + + + +Tue, 3 Sep 2002 19:25:00 +0000 +Checked in by : Robert Osfield +Removed const from the evaluateLODChild(,,) callback method. + +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. + +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. + +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. + +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). + +Sat, 31 Aug 2002 09:59:18 +0000 +Checked in by : Robert Osfield +From Yfei He, added in missing RoadConstruction handler. + +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. + +Sat, 31 Aug 2002 06:04:21 +0000 +Checked in by : Don BURNS +Added the script to make IRIX distribution packages (via 'inst'). + +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. + +Fri, 30 Aug 2002 16:17:41 +0000 +Checked in by : Robert Osfield +Updates to windows build docs.Merge fixes for OSX from bob. + +Added checking for impostor sprites into stats. + + + +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. + + + +Fri, 30 Aug 2002 15:17:01 +0000 +Checked in by : Robert Osfield +Update LANDEXT.DAT to contain all the latest core OSG files. + +Fri, 30 Aug 2002 15:07:10 +0000 +Checked in by : Robert Osfield +Fixed the flatten static transform visitor. + +Fri, 30 Aug 2002 13:38:22 +0000 +Checked in by : Robert Osfield +Added std:: infront of ends references. + +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 + +Fri, 30 Aug 2002 01:34:40 +0000 +Checked in by : Don BURNS +Some small clean ups and editorializing of the NEWS file. + +Thu, 29 Aug 2002 20:41:19 +0000 +Checked in by : Robert Osfield +Fixed the numerical accuracy problems in the Drive and Flight Manipulators. + +Thu, 29 Aug 2002 16:38:51 +0000 +Checked in by : Robert Osfield +Fixed numerical accuracy problem in Trackball manipulator. + +Thu, 29 Aug 2002 14:48:25 +0000 +Checked in by : Robert Osfield +Updated change log. + +Thu, 29 Aug 2002 14:41:12 +0000 +Checked in by : Robert Osfield +Removed html files which relate to now removed API. + +Thu, 29 Aug 2002 14:39:41 +0000 +Checked in by : Robert Osfield +Added new autogenerated .html files + +Thu, 29 Aug 2002 14:29:49 +0000 +Checked in by : Robert Osfield +Updated docs. + +Thu, 29 Aug 2002 14:05:51 +0000 +Checked in by : Robert Osfield +Updated the NEWS to release the new release. + +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. + + + +Thu, 29 Aug 2002 08:39:04 +0000 +Checked in by : Robert Osfield +Added SG_EXPORT. + +Thu, 29 Aug 2002 03:49:23 +0000 +Checked in by : Don BURNS +Blast it, Don... You should rebuild before you check things in! + +Thu, 29 Aug 2002 03:22:27 +0000 +Checked in by : Don BURNS +Fixed 69 occurance of 'Seperate' misspelling (should be 'Separate') + +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. + +Wed, 28 Aug 2002 19:46:56 +0000 +Checked in by : Robert Osfield +Fixed the optimized library name of the osgText plugin. + +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. + +Wed, 28 Aug 2002 18:38:33 +0000 +Checked in by : Robert Osfield +Fixes to Win32 build. + +Wed, 28 Aug 2002 17:37:12 +0000 +Checked in by : Robert Osfield +Added std:: infront of cout and endl. + +Wed, 28 Aug 2002 16:59:22 +0000 +Checked in by : Robert Osfield +Fixes for Win32 build. + +Wed, 28 Aug 2002 16:25:06 +0000 +Checked in by : Robert Osfield +Fixed unitialized variable in the MyTextureSubloadCallback. + +Wed, 28 Aug 2002 16:17:54 +0000 +Checked in by : Robert Osfield +Added fixes to UnitTestFramework to get it compiling under Windows. + +Wed, 28 Aug 2002 15:44:03 +0000 +Checked in by : Robert Osfield +Warning fixes for Windwos + +Wed, 28 Aug 2002 15:35:17 +0000 +Checked in by : Robert Osfield +Fixed typo on osgunittests project name. + +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. + + + +Wed, 28 Aug 2002 14:28:21 +0000 +Checked in by : Robert Osfield +Added -I{THISDIR} into the iv Makefile. + +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. + +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. + +Finally, a new demo app osgunittests runs the tests and reports success +or failure of the tests. + + + +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. + +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. + +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. + + + +Tue, 27 Aug 2002 15:46:47 +0000 +Checked in by : Robert Osfield +Added support for reading and writing osg::PositionAttitudeTransform. + +Tue, 27 Aug 2002 15:46:29 +0000 +Checked in by : Robert Osfield +Fixed bug in the Light reading code. + +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. + +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. + +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. + +Merged some fixes to the pfb loader from Ulrich Hertlein. + + + +Mon, 26 Aug 2002 20:11:24 +0000 +Checked in by : Robert Osfield +Fixed typo of _texParametersDirty. + +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! + +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. + +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. + + + +Mon, 26 Aug 2002 12:34:42 +0000 +Checked in by : Robert Osfield +Made the sort callback's sort method pure virtual. + +Mon, 26 Aug 2002 12:28:10 +0000 +Checked in by : Robert Osfield +Removed redundent parameter in sort() callback which was never being used. + +Mon, 26 Aug 2002 10:30:40 +0000 +Checked in by : Robert Osfield +Added #include to include/osg/glut for Windows build. + +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. + +Mon, 26 Aug 2002 03:15:45 +0000 +Checked in by : Don BURNS +Added writer to RGB plugin + +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. + +Sun, 25 Aug 2002 11:00:30 +0000 +Checked in by : Robert Osfield +Fixes for Win32 build + +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. + +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. + +Sat, 24 Aug 2002 21:11:07 +0000 +Checked in by : Robert Osfield +Added support for the texture_env_dot3 extension. + +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. + +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. + +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. + +Thu, 22 Aug 2002 17:36:44 +0000 +Checked in by : Don BURNS +Fixed a dependency order + +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. + +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. + +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.". + +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. + +Tue, 20 Aug 2002 18:00:22 +0000 +Checked in by : Robert Osfield +Added IO Support for TexEnvCombine state attribute. + +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. + +Tue, 20 Aug 2002 14:12:51 +0000 +Checked in by : Robert Osfield +Fixes to new osgText and osgParticle project files. + +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. + + + +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. + +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. + +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. + + + +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. + +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. + +Mon, 19 Aug 2002 19:53:34 +0000 +Checked in by : Robert Osfield +Added default values to the TexEnvCombine constructor. + +Mon, 19 Aug 2002 15:14:10 +0000 +Checked in by : Robert Osfield +Added missing include/osg/ClearNode + +Mon, 19 Aug 2002 15:11:09 +0000 +Checked in by : Robert Osfield +Added new osg::TexEnvCombine state attribute. + +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. + +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. + +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. + +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. + + + +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. + +Sat, 17 Aug 2002 07:34:11 +0000 +Checked in by : Robert Osfield +Fixed typo in #define of UBYTE4 + +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. + + + +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. + +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. + +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. + +Thu, 15 Aug 2002 20:25:46 +0000 +Checked in by : Robert Osfield +From Perry, support for color added to the MeshPrimtive/LocalVertexPool code. + +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. + +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. + +Thu, 15 Aug 2002 13:04:13 +0000 +Checked in by : Robert Osfield +Added a virtual keyword into the getData() overrided methods. + +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. + +Wed, 14 Aug 2002 20:56:04 +0000 +Checked in by : Robert Osfield +Added SG_EXPORT to PositionAttitudeTransform and MatrixTransform. + +Wed, 14 Aug 2002 09:30:02 +0000 +Checked in by : Robert Osfield +Commented out the #define USE_DEPRECATED_API. + +Tue, 13 Aug 2002 18:29:50 +0000 +Checked in by : Don BURNS +Added some comments + +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. + +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. + +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... + + + +Tue, 13 Aug 2002 09:35:06 +0000 +Checked in by : Robert Osfield +Fixed uninitialized _sortMode. + +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. + + + +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. + + + +Mon, 12 Aug 2002 13:37:35 +0000 +Checked in by : Robert Osfield +attempt to fix read only status of Sequence.cpp. + +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. + +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. + +Fri, 9 Aug 2002 19:51:12 +0000 +Checked in by : Robert Osfield +Submission for Gideon May, fixes for spacing in various osgText files. + +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. + + + +Thu, 8 Aug 2002 21:36:22 +0000 +Checked in by : Robert Osfield +Fixes for IRIX 32bit timmer on O2. From Tom Jolley. + +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. + +Thu, 8 Aug 2002 15:09:18 +0000 +Checked in by : Robert Osfield +Removed inline definition from front of setMaxAnisotropy method. + +Thu, 8 Aug 2002 13:45:16 +0000 +Checked in by : Robert Osfield +Fixed typos, sent in by Warren Macchi. + +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. + +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. + +Thu, 8 Aug 2002 11:01:07 +0000 +Checked in by : Robert Osfield +Fixed the shininess factor in 3ds plugin. + +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. + +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... + +Wed, 7 Aug 2002 10:08:42 +0000 +Checked in by : Robert Osfield +Fixed type of DOFTransform.cpp + +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. + + + +Tue, 6 Aug 2002 10:37:22 +0000 +Checked in by : Robert Osfield +Changed the default value of _animationOn to true. + +Tue, 6 Aug 2002 10:07:17 +0000 +Checked in by : Robert Osfield +Fixed typo in comment. + +Tue, 6 Aug 2002 10:04:06 +0000 +Checked in by : Robert Osfield +Adde getViewFrustum() to camera. + +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. + +Mon, 5 Aug 2002 13:29:51 +0000 +Checked in by : Robert Osfield +Added support for PROTECTED modes into the .osg reading and writing. + +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. + +Mon, 5 Aug 2002 12:52:18 +0000 +Checked in by : Robert Osfield +Fixed compile errors under IRIX. + +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. + +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. + +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. + +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 + +From Alberto Barbati, Lazy evaluation of inverse matrix in osg::MatrixTransfrom + + + +Sat, 3 Aug 2002 19:42:39 +0000 +Checked in by : Robert Osfield +Added Sequence.cpp to osg plugin workspace file. + +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. + +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. + +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. + +Sat, 3 Aug 2002 16:49:42 +0000 +Checked in by : Robert Osfield +Added support for a sort callback in RenderBin. + +Sat, 3 Aug 2002 16:48:36 +0000 +Checked in by : Robert Osfield +Fixed comments. + +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. + +Fri, 2 Aug 2002 19:11:06 +0000 +Checked in by : Robert Osfield +Fix for Win32 build + +Fri, 2 Aug 2002 15:14:59 +0000 +Checked in by : Robert Osfield +Added missing _nodePath.clear() and _segHitList.clear() to InteresectVisitor::reset(). + +Wed, 31 Jul 2002 15:16:14 +0000 +Checked in by : Robert Osfield +Updates to iv/vrml loader from Ruben. + +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. + +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. + +Mon, 29 Jul 2002 11:02:14 +0000 +Checked in by : Robert Osfield +Removed default value from constructor. + +Mon, 29 Jul 2002 00:04:07 +0000 +Checked in by : Robert Osfield +Fixes to the new texture subloading methods. + +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. + +Sun, 28 Jul 2002 23:27:21 +0000 +Checked in by : Robert Osfield +Checked in Pavel's updates for non texured surfaces. + +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. + +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. + +Sun, 28 Jul 2002 12:52:15 +0000 +Checked in by : Robert Osfield +Chagned the initiliazation of iterators, sent in by Alberto Barbati. + +Sun, 28 Jul 2002 12:49:01 +0000 +Checked in by : Robert Osfield +Fixes to NodeCallback and RenderBin from Alberto Barbati. + +Sat, 27 Jul 2002 21:35:21 +0000 +Checked in by : Robert Osfield +Fixes to the inventor/vrml loader. + +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. + +Sat, 27 Jul 2002 10:25:51 +0000 +Checked in by : Robert Osfield +Fix for Windows + +Sat, 27 Jul 2002 10:22:58 +0000 +Checked in by : Robert Osfield +Fixes for Win32 build. + +Sat, 27 Jul 2002 10:09:39 +0000 +Checked in by : Robert Osfield +Added return value to addViewport. + +Fri, 26 Jul 2002 18:46:18 +0000 +Checked in by : Robert Osfield +Added missing osg:: from various references to osg::Objectf + +Fri, 26 Jul 2002 16:33:25 +0000 +Checked in by : Robert Osfield +Added support for LWO2, send in by Pavel Moloshtan. + +Fri, 26 Jul 2002 16:02:57 +0000 +Checked in by : Robert Osfield +Added project file for inventor plugin. + +Fri, 26 Jul 2002 15:37:23 +0000 +Checked in by : Robert Osfield +Added Ruben Lopez's Inventor/VRML 1.0 loader. + +Fri, 26 Jul 2002 12:49:19 +0000 +Checked in by : Robert Osfield +Change Geometry paramter name to lower case geometry. + +Thu, 25 Jul 2002 22:08:51 +0000 +Checked in by : Robert Osfield +From Ferdinand Cornelissen - Futher updates to the DOF code. + +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. + +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. + +Added deep copy construction of Geometry objects. + + + +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. + +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. + +Thu, 25 Jul 2002 15:25:42 +0000 +Checked in by : Robert Osfield +Fix to DOF Record from Sasa Bistroviae. + +Thu, 25 Jul 2002 15:21:18 +0000 +Checked in by : Robert Osfield +Fix for colors in old flt models from Brede. + +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. + + + +Wed, 24 Jul 2002 16:29:00 +0000 +Checked in by : Robert Osfield +Implemented the DOF handling more cleanly, as per OpenFlight15.7 docs. + +Tue, 23 Jul 2002 18:44:03 +0000 +Checked in by : Robert Osfield +Added missing std:: to endl; + +Tue, 23 Jul 2002 15:48:12 +0000 +Checked in by : Robert Osfield +Added the missing _primtives from the copy constructor list. + +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. + +Tue, 23 Jul 2002 15:01:51 +0000 +Checked in by : Robert Osfield +Mods for HP-UX port. + +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. + +Tue, 23 Jul 2002 13:30:47 +0000 +Checked in by : Robert Osfield +Support added for Gnu C++ under Solaris. + +Tue, 23 Jul 2002 10:48:22 +0000 +Checked in by : Robert Osfield +Checked in Tino Schwarze's port to HP-UX. + +Mon, 22 Jul 2002 16:01:00 +0000 +Checked in by : Robert Osfield +Updates to osgParticle form Macro. + +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. + +Mon, 22 Jul 2002 12:41:55 +0000 +Checked in by : Robert Osfield +Fixed more uninitialized variables and two potential memory leaks. + +Sun, 21 Jul 2002 20:34:38 +0000 +Checked in by : Robert Osfield +Fixed various uninitiliazed variables. + +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. + +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. + +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. + +Sat, 20 Jul 2002 23:54:55 +0000 +Checked in by : Robert Osfield +Various fixes to constructors to ensure that all variables are initialized. + +Sat, 20 Jul 2002 22:44:21 +0000 +Checked in by : Robert Osfield +Added missing default values to State constructor. + +Sat, 20 Jul 2002 22:40:24 +0000 +Checked in by : Robert Osfield +Added default values for FrameStamp.cpp constructor. + +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. + +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. + +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 + +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... + +Sat, 20 Jul 2002 16:24:12 +0000 +Checked in by : Don BURNS +Added logo plugin + +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. + +Sat, 20 Jul 2002 15:00:47 +0000 +Checked in by : Robert Osfield +Fixed the glTessCallback type to GLU_TESS_ERROR_DATA. + +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. + + + +Fri, 19 Jul 2002 15:03:23 +0000 +Checked in by : Robert Osfield +Removed debugging cout's. + +Fri, 19 Jul 2002 14:52:44 +0000 +Checked in by : Robert Osfield +Updated Doyxgen files. + +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. + +Fri, 19 Jul 2002 13:49:54 +0000 +Checked in by : Robert Osfield +Added primitve merging into the osg::Geometry optimizer. + +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 + +Fri, 19 Jul 2002 10:18:29 +0000 +Checked in by : Robert Osfield +Added MatrixTransform.cpp. + +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. + +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&). + + + +Thu, 18 Jul 2002 22:34:08 +0000 +Checked in by : Robert Osfield +Added osgoccluder to test scripts. + +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! + +Thu, 18 Jul 2002 19:54:11 +0000 +Checked in by : Robert Osfield +Updated docs ready for the release. + +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. + +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. + +Thu, 18 Jul 2002 15:28:26 +0000 +Checked in by : Robert Osfield +From Randall Hopper, warning fixes for IRIX. + +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). + +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." + +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. + + + +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. + +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. + +Thu, 18 Jul 2002 10:41:39 +0000 +Checked in by : Robert Osfield +Removed repeated return transform in the visitDOF method. + +Thu, 18 Jul 2002 10:38:16 +0000 +Checked in by : Robert Osfield +Added support for .sgi alias extension to the .rgb plugin. + +Thu, 18 Jul 2002 10:06:21 +0000 +Checked in by : Robert Osfield +Fixed warnings. + +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! + + + +Thu, 18 Jul 2002 09:17:50 +0000 +Checked in by : Robert Osfield +Added const to LessGeometry functor to fix Win32 build. + +Thu, 18 Jul 2002 00:55:01 +0000 +Checked in by : Robert Osfield +Fixed spelling mistake. + +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. + +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. + +Wed, 17 Jul 2002 12:21:53 +0000 +Checked in by : Robert Osfield +Fix for Win32 build. + +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. + +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. + + + +Tue, 16 Jul 2002 20:07:32 +0000 +Checked in by : Robert Osfield +Updated docs and added osgGA + +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. + +Tue, 16 Jul 2002 19:19:31 +0000 +Checked in by : Robert Osfield +Fix to DOF Record from Sasa Bistrovic + +Tue, 16 Jul 2002 19:17:30 +0000 +Checked in by : Robert Osfield +Added SpotExponent to the spot light. + +Tue, 16 Jul 2002 18:56:12 +0000 +Checked in by : Robert Osfield +Removed repeat line from Makefile. + +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. + +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. + +Tue, 16 Jul 2002 15:13:57 +0000 +Checked in by : Robert Osfield +Fixes for MacOSX build from Bob Kuehne. + +Tue, 16 Jul 2002 15:12:36 +0000 +Checked in by : Robert Osfield +Added the beginings of an osglight demo. + +Tue, 16 Jul 2002 11:33:36 +0000 +Checked in by : Robert Osfield +Added TextureCubeMap.cpp to the .osg plugin Makefile. + +Tue, 16 Jul 2002 10:20:26 +0000 +Checked in by : Robert Osfield +Fixed the new TemplateArray desctructor. + +Tue, 16 Jul 2002 10:16:34 +0000 +Checked in by : Robert Osfield +Added protected destrcutor to TemplateArray. + +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. + + + +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. + +Cleaned up some of the paramters in osg::Vec4. + + + +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. + +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. + + + +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. + +Mon, 15 Jul 2002 13:13:46 +0000 +Checked in by : Robert Osfield +Fixed the optimization of the orientation conversion. + +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. + + + +Mon, 15 Jul 2002 10:53:51 +0000 +Checked in by : Robert Osfield +Renamed hangglide to osghangglide + +Mon, 15 Jul 2002 10:51:45 +0000 +Checked in by : Robert Osfield +Removed the old hangglide directory. + +Mon, 15 Jul 2002 10:45:13 +0000 +Checked in by : Robert Osfield +Renamed osghangglide demo. + +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. + +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. + +Mon, 15 Jul 2002 04:42:44 +0000 +Checked in by : Don BURNS +Changes for Sunos + +Sun, 14 Jul 2002 21:49:51 +0000 +Checked in by : Don BURNS +Added Logos loader + +Sun, 14 Jul 2002 20:51:31 +0000 +Checked in by : Robert Osfield +Fixed unused variable `osg::StateSet *osgStateSet' warning + +Sun, 14 Jul 2002 20:48:30 +0000 +Checked in by : Robert Osfield +Added Drawable::AppCallback example and fixed a warning. + +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. + +Sun, 14 Jul 2002 16:26:03 +0000 +Checked in by : Robert Osfield +Fixed computeNearFar bug in CullVisitor::apply(Billboard&). + +Sun, 14 Jul 2002 10:46:46 +0000 +Checked in by : Robert Osfield +Fixes to read/write of MatrixTransform/Transform. + +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. + +Sat, 13 Jul 2002 21:17:40 +0000 +Checked in by : Robert Osfield +Fixed various warnings which were appearing under MacOSX. + +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. + +Sat, 13 Jul 2002 14:16:41 +0000 +Checked in by : Robert Osfield +Support added for multitextured TXP files, sent in by Boris Bralo. + +Sat, 13 Jul 2002 02:46:06 +0000 +Checked in by : Don BURNS +put a typedef in public area of class for sun compilers + +Fri, 12 Jul 2002 21:45:54 +0000 +Checked in by : Robert Osfield +Added missing MatrixTransform.cpp file + +Fri, 12 Jul 2002 21:45:08 +0000 +Checked in by : Robert Osfield +added glutInit to osgparticle demo to fix crash under MacOSX. + +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!! + +Fri, 12 Jul 2002 21:08:19 +0000 +Checked in by : Robert Osfield +Added MatrixTransform header and source. + +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. + +Fri, 12 Jul 2002 18:14:45 +0000 +Checked in by : Robert Osfield +Added using namespace osgUtil to get round IRIX/Windows compiler differences. + +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. + +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. + +Wed, 10 Jul 2002 15:35:47 +0000 +Checked in by : Robert Osfield +Added app callback to Drawable. + +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. + +Wed, 10 Jul 2002 11:26:48 +0000 +Checked in by : Robert Osfield +Rejigged the line endings. + +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. + +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. + +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. + +Wed, 10 Jul 2002 09:04:28 +0000 +Checked in by : Robert Osfield +Added setCurrentRenderBin() method. + +Tue, 9 Jul 2002 19:23:53 +0000 +Checked in by : Robert Osfield +Implemented more code for the new osgprerender demo. + +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.. + +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. + +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. + +Tue, 9 Jul 2002 10:23:48 +0000 +Checked in by : Robert Osfield +Fixes for IRIX build. + +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. + +Mon, 8 Jul 2002 09:42:51 +0000 +Checked in by : Robert Osfield +Added Mike Connell to authors list. + +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. + +Sun, 7 Jul 2002 22:08:27 +0000 +Checked in by : Robert Osfield +Added winsock32 libs to osgcluster demo. + +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. + +Sun, 7 Jul 2002 17:42:34 +0000 +Checked in by : Robert Osfield +Fixes for Windows build. + +Sun, 7 Jul 2002 17:40:34 +0000 +Checked in by : Robert Osfield +Added include to __DARWIN_OSX__ build. + +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. + +Sun, 7 Jul 2002 14:40:41 +0000 +Checked in by : Robert Osfield +Work on supporting multitexturing in State/StateSet/StateAttribute/Geoemtry. + +Thu, 4 Jul 2002 18:47:33 +0000 +Checked in by : Robert Osfield +Added VisualStudio files for Win32 port of osgcluster demo. + +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. + +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. + + + +Thu, 4 Jul 2002 14:23:58 +0000 +Checked in by : Robert Osfield +Added osgGA to the MIGNW makedefs. + +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. + +Wed, 3 Jul 2002 20:33:21 +0000 +Checked in by : Robert Osfield +Spotted by Neil Salter - missing transform. in the Transform copy operator. + +Wed, 3 Jul 2002 11:16:43 +0000 +Checked in by : Robert Osfield +Added osgUtil dependency to the flt project. + +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 + + + +Tue, 2 Jul 2002 15:01:46 +0000 +Checked in by : Don BURNS +-n32 and -64 entries were reversed in makedefs + +Tue, 2 Jul 2002 06:28:41 +0000 +Checked in by : Don BURNS +osgcallback required fixes for new osg::Drawable::CullCallback + +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 + +Mon, 1 Jul 2002 14:40:09 +0000 +Checked in by : Don BURNS +More 64 bit build specifics in IRIX makedefs file + +Mon, 1 Jul 2002 14:20:37 +0000 +Checked in by : Don BURNS +Removed -ldl from makedefs for IRIX + +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. + +Fri, 28 Jun 2002 20:54:09 +0000 +Checked in by : Robert Osfield +A couple fixes to remove Performer runtime warnings. + +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. + +Fri, 28 Jun 2002 14:42:34 +0000 +Checked in by : Robert Osfield +Added to the osggeometry demo. + +Fri, 28 Jun 2002 11:11:20 +0000 +Checked in by : Robert Osfield +Rewriting the osggeomtry demo to illustrate more primitive types. + +Fri, 28 Jun 2002 08:47:23 +0000 +Checked in by : Robert Osfield +Removed commas from the end of enum lists. + +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 + +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. + +Thu, 27 Jun 2002 15:18:10 +0000 +Checked in by : Robert Osfield +Added SG_EXPORT which was missing. + +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. + +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. + +Thu, 27 Jun 2002 09:56:30 +0000 +Checked in by : Robert Osfield +Removed the test aginst a iterator as a bool. + +Wed, 26 Jun 2002 21:11:59 +0000 +Checked in by : Robert Osfield +Added comment to explain #ifdefs for member templates. + +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. + +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. + +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. + + + +Wed, 26 Jun 2002 14:34:04 +0000 +Checked in by : Robert Osfield +Ported pfb, txp and obj loaders across to use osg::Geometry. + +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. + +Tue, 25 Jun 2002 20:47:42 +0000 +Checked in by : Robert Osfield +Fixes for Cygwin build from Norman Vine. + +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. + +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. + +Mon, 24 Jun 2002 21:44:27 +0000 +Checked in by : Robert Osfield +Fixed osgText::Text::DrawModeType::ALIGNEMENT spelling mistake, now is ALIGNMENT. + +Mon, 24 Jun 2002 21:37:34 +0000 +Checked in by : Robert Osfield +Checked in .osg support for the new osg::Geometry class. + +Mon, 24 Jun 2002 12:53:27 +0000 +Checked in by : Robert Osfield +Added required std:: to front of endl to fix Win32 build. + +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. + +Sat, 22 Jun 2002 15:46:43 +0000 +Checked in by : Robert Osfield +Compile Fixes for Win32. + +Fri, 21 Jun 2002 19:24:43 +0000 +Checked in by : Robert Osfield +Temporarily removed the references to multi-texturing calls. + +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. + +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. + +Fri, 21 Jun 2002 07:48:05 +0000 +Checked in by : Robert Osfield +Fixed constructor for TemplateArray(const TemplateArray& t,const CopyOp& copyop). + +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. + +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. + +Wed, 19 Jun 2002 20:38:08 +0000 +Checked in by : Robert Osfield +Fixed incorrect naming of ConvexPlanerOccluder. + +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! + + + +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. + +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. + + + +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. + +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. + +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. + +Tue, 18 Jun 2002 10:18:12 +0000 +Checked in by : Robert Osfield +Clean ups for the Windows build. + +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. + +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. + + + +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. + +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. + +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. + +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. + +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. + +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. + +Fri, 14 Jun 2002 11:27:34 +0000 +Checked in by : Robert Osfield +Improvements to the plane clipping code. + +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. + +Thu, 13 Jun 2002 23:46:02 +0000 +Checked in by : Robert Osfield +Further work on occlusion culling. + +Thu, 13 Jun 2002 19:39:28 +0000 +Checked in by : Don BURNS +removed the use of gettimeofday for 32 bit architectures... + +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. + +Thu, 13 Jun 2002 19:10:29 +0000 +Checked in by : Robert Osfield +Added -osgGA to the Makefile list. + +Thu, 13 Jun 2002 18:27:14 +0000 +Checked in by : Robert Osfield +Merge Randall's changes. + +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. + +Wed, 12 Jun 2002 16:23:59 +0000 +Checked in by : Robert Osfield +Removed inappropriate inline keyword which was breaking the IRIX build. + +Wed, 12 Jun 2002 15:43:47 +0000 +Checked in by : Robert Osfield +IRIX build fix. + +Wed, 12 Jun 2002 14:57:35 +0000 +Checked in by : Robert Osfield +Changes for MacOSX build, send in by Bob Kuehne. + +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. + +Wed, 12 Jun 2002 13:54:14 +0000 +Checked in by : Robert Osfield +Fix for renaming of ShadowOccluderVolume to ShadowVolumeOccluder. + +Wed, 12 Jun 2002 09:22:30 +0000 +Checked in by : Robert Osfield +Further work on occludision code. + +Tue, 11 Jun 2002 19:52:55 +0000 +Checked in by : Robert Osfield +A little more work on Occlusion culling. + +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. + + + +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. + +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. + +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 Calendar + +Wed, 22 May 2002 12:19:09 +0000 +Checked in by : Robert Osfield +Removed the usage of memory manager from the debug windows build. + +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. + +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. + +Wed, 22 May 2002 08:50:05 +0000 +Checked in by : Robert Osfield +Updates for Doxygen and osgGA headers from Neil. + +Tue, 21 May 2002 19:34:16 +0000 +Checked in by : Robert Osfield +Typo and grammer fixes to introduction.html from Neil Salter. + +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. + +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. + + + +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. + +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. + +Sat, 18 May 2002 08:37:08 +0000 +Checked in by : Robert Osfield +Made trilinear filtering the default mode for osg::Texture's. + +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. + +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. + +Wed, 15 May 2002 11:27:47 +0000 +Checked in by : Robert Osfield +Exposed the CullVisitor::setComputeNearFarMode + +Tue, 14 May 2002 10:20:55 +0000 +Checked in by : Robert Osfield +Fixes to new flipVertical/flipHorizontal. + +Tue, 14 May 2002 09:34:11 +0000 +Checked in by : Robert Osfield +Added osg::Image::flipHorziontal and flipVertical, submitted by Brede Johansen. + +Mon, 13 May 2002 21:19:42 +0000 +Checked in by : Robert Osfield +Added new template versions of a commonly used maths functions. + +Mon, 13 May 2002 07:30:21 +0000 +Checked in by : Robert Osfield +Reverted change to use decal flag. + +Fri, 10 May 2002 19:30:48 +0000 +Checked in by : Robert Osfield +Added image plugin library defs for IRIX, submission from Randall Hopper. + +Fri, 10 May 2002 15:42:27 +0000 +Checked in by : Robert Osfield +Fix for finding windows fonts. + +Thu, 9 May 2002 22:48:15 +0000 +Checked in by : Don BURNS +Small std::cout fix + +Thu, 9 May 2002 19:02:35 +0000 +Checked in by : Robert Osfield +Fix compile problems with osgGA under Windows. + +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. + +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. + +Wed, 8 May 2002 07:32:40 +0000 +Checked in by : Robert Osfield +Addded missing ClipNode references to osg.dsp. + +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. + + + +Tue, 7 May 2002 11:12:01 +0000 +Checked in by : Robert Osfield +Support added for OpenFlight switch nodes, submission from Brede Johansen. + +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. + +Tue, 7 May 2002 02:51:33 +0000 +Checked in by : Don BURNS +Fixed rpath nonsense in makedefs for Irix + +Fri, 3 May 2002 22:47:57 +0000 +Checked in by : Robert Osfield +Added osg::Node::getValidStateSet(). + +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. + + + +Thu, 2 May 2002 22:02:14 +0000 +Checked in by : Robert Osfield +Made osg::Viewport::getViewport(..) const. + +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. + +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. + +Fri, 26 Apr 2002 15:21:22 +0000 +Checked in by : Don BURNS +Testing .dsp and .dsw as binary files + +Fri, 26 Apr 2002 13:49:42 +0000 +Checked in by : Robert Osfield +Added mention of MemoryManager to NEWS file. + +Fri, 26 Apr 2002 13:45:01 +0000 +Checked in by : Robert Osfield +Updated docs.Fix to pfb Makefile for missing $. + + + +Fri, 26 Apr 2002 12:06:19 +0000 +Checked in by : Robert Osfield +Fix for CisualStudio6.0 build. + +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. + +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 + +Thu, 25 Apr 2002 22:09:28 +0000 +Checked in by : Robert Osfield +Fixes for IRIX build.Fix for a warning under VisualStudio.NET. + + + +Thu, 25 Apr 2002 22:07:48 +0000 +Checked in by : Robert Osfield +Cygwin build fixes. + +Thu, 25 Apr 2002 21:31:16 +0000 +Checked in by : Robert Osfield +Fix for window build. + +Thu, 25 Apr 2002 15:54:25 +0000 +Checked in by : Don BURNS +Added small blurb for Solaris... + +Thu, 25 Apr 2002 13:26:33 +0000 +Checked in by : Robert Osfield +Ran the spell checker through the new documentation. + +Thu, 25 Apr 2002 12:35:33 +0000 +Checked in by : Robert Osfield +Updated change log for 0.8.45 release. + +Thu, 25 Apr 2002 11:37:49 +0000 +Checked in by : Robert Osfield +Added to the .plan. + +Thu, 25 Apr 2002 11:30:21 +0000 +Checked in by : Robert Osfield +Fixes to .obj plugin from gideon. + +Thu, 25 Apr 2002 11:29:31 +0000 +Checked in by : Robert Osfield +Added Bob to the AUTHORS list for his efforts on MacOSX. + +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. + +Thu, 25 Apr 2002 10:14:50 +0000 +Checked in by : Robert Osfield +Added another bullet point to the plan. + +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! + +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. + +Thu, 25 Apr 2002 08:54:48 +0000 +Checked in by : Robert Osfield +Fixed compile problem under VisualStudio. + +Thu, 25 Apr 2002 07:47:37 +0000 +Checked in by : Robert Osfield +Fixed relative path for image. + +Thu, 25 Apr 2002 07:29:02 +0000 +Checked in by : Robert Osfield +Updated demos documentation. + +Thu, 25 Apr 2002 06:27:09 +0000 +Checked in by : Robert Osfield +Fixed spellings in introduction.html, and update osgtext and osgviews images. + +Thu, 25 Apr 2002 05:43:33 +0000 +Checked in by : Robert Osfield +Added back in as binary file. + +Thu, 25 Apr 2002 05:42:37 +0000 +Checked in by : Robert Osfield +Temporily removing to change it to a binary file. + +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... + +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. + +Wed, 24 Apr 2002 20:32:39 +0000 +Checked in by : Robert Osfield +Updated doc++ docs once more. + +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. + +Wed, 24 Apr 2002 20:13:50 +0000 +Checked in by : Robert Osfield +Updateds doc++ documention. + +Wed, 24 Apr 2002 20:04:34 +0000 +Checked in by : Robert Osfield +Changes for Mac OSX build, sent in by Bob Kuehne + +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. + + + +Wed, 24 Apr 2002 14:14:37 +0000 +Checked in by : Robert Osfield +Updates to the documentation. + +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. + +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. + +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. + + + +Tue, 23 Apr 2002 22:04:04 +0000 +Checked in by : Robert Osfield +Updated the docs on compiling under Windows. + +Tue, 23 Apr 2002 15:05:14 +0000 +Checked in by : Robert Osfield +Added OSG_USE_MEMORY_MANAGER to Windows debug build + +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. + +Tue, 23 Apr 2002 14:58:33 +0000 +Checked in by : Robert Osfield +Fixed ordering of paramters in osg::Image constructor to remove warning. + +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. + +Tue, 23 Apr 2002 13:12:37 +0000 +Checked in by : Robert Osfield +Addtional details on the OpenSceneGraph and support. + +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. + +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. + +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. + + + +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. + +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. + +Tue, 23 Apr 2002 08:40:13 +0000 +Checked in by : Robert Osfield +Updated ChangeLog in preperation for the 0.8.45 release. + +Tue, 23 Apr 2002 08:34:58 +0000 +Checked in by : Robert Osfield +Added to the NEWS file. + +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. + +Mon, 22 Apr 2002 23:54:13 +0000 +Checked in by : Don BURNS +Impleneted byte swap for use between machines with different endians. + +Mon, 22 Apr 2002 21:45:33 +0000 +Checked in by : Don BURNS +Fixed couple of small errors caught by Solaris compiler + +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. + +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. + +Updates to TerraPage loader for support of compressed texture images and +precompiled mip maps. + + + +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. + +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. + + + +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. + +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. + +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. + +Mon, 22 Apr 2002 09:31:54 +0000 +Checked in by : Robert Osfield +Fixes the .mlt loading from Ben Discoe. + +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. + +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. + + + +Sun, 21 Apr 2002 21:53:03 +0000 +Checked in by : Robert Osfield +A second try at commit these updates to docs. + +Sun, 21 Apr 2002 10:12:15 +0000 +Checked in by : Robert Osfield +Fixes to spelling mistakes in NEWS file. + +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. + +Sun, 21 Apr 2002 09:51:59 +0000 +Checked in by : Robert Osfield +Updates to docs. + +Sat, 20 Apr 2002 20:35:02 +0000 +Checked in by : Robert Osfield +Updated the docs. + +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. + +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. + +Commented out the registering of app and cull callbacks in osghud. + + + +Fri, 19 Apr 2002 16:22:25 +0000 +Checked in by : Robert Osfield +Fixes for Max OSX build from Bob Kuehne. + +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 :-) + +Fri, 19 Apr 2002 16:00:15 +0000 +Checked in by : Don BURNS +Fixed an assignment that should have been a test + +Fri, 19 Apr 2002 15:34:40 +0000 +Checked in by : Don BURNS +Updated some files sent by Boris Bralo for the txp loader. + +Fri, 19 Apr 2002 15:02:34 +0000 +Checked in by : Don BURNS +Fixed small typo in src/osgUtil/RenderStage.cpp + +Fri, 19 Apr 2002 15:00:57 +0000 +Checked in by : Don BURNS +Added Bob K's fix + +Thu, 18 Apr 2002 23:30:06 +0000 +Checked in by : Don BURNS +Fixed small typo in SceneView::setDefaults(). + +Thu, 18 Apr 2002 21:29:31 +0000 +Checked in by : Robert Osfield +Added introduction html file. + +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. + +Thu, 18 Apr 2002 16:08:36 +0000 +Checked in by : Don BURNS +Changed make makeosx to make + +Thu, 18 Apr 2002 15:37:26 +0000 +Checked in by : Don BURNS +changed LIBEXT to LIB_EXT for Darwin + +Thu, 18 Apr 2002 15:16:59 +0000 +Checked in by : Don BURNS +Added -lXi to the Linux X_LIBS + +Thu, 18 Apr 2002 10:38:58 +0000 +Checked in by : Robert Osfield +Fixed VisualStudio .NET warnings in TXP plugin. + +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. + + + +Wed, 17 Apr 2002 20:04:41 +0000 +Checked in by : Robert Osfield +Warning fixes for VisualStudio + +Wed, 17 Apr 2002 14:18:20 +0000 +Checked in by : Robert Osfield +Fixed type in location of redhat glu patch. + +Wed, 17 Apr 2002 11:36:38 +0000 +Checked in by : Robert Osfield +Fixes for warnings under VisualStudio + +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. + +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. + +Added a few useful comments to MemoryManager.cpp to help people understand +the assert's better. + + + +Tue, 16 Apr 2002 21:39:45 +0000 +Checked in by : Don BURNS +Changed Linux makedepend flag from -MM to -M + +Tue, 16 Apr 2002 21:08:46 +0000 +Checked in by : Robert Osfield +Fixed the seveal hunderd warnings in TerraPage loader! + +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. + +Tue, 16 Apr 2002 15:31:46 +0000 +Checked in by : Robert Osfield +Added clearing of seperation band between horizontal/vertical split stereo areas. + +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. + + + +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. + + + +Tue, 16 Apr 2002 14:09:46 +0000 +Checked in by : Robert Osfield +Purge on warnings under Linux. + +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. + + + +Tue, 16 Apr 2002 11:36:23 +0000 +Checked in by : Robert Osfield +Updates to the flt plugin from Brede Johansen. + +Tue, 16 Apr 2002 08:01:18 +0000 +Checked in by : Robert Osfield +Warnings fix. + +Tue, 16 Apr 2002 05:29:39 +0000 +Checked in by : Don BURNS +Fixed some boo-boos in makerpms for building demo source files... + +Tue, 16 Apr 2002 04:13:30 +0000 +Checked in by : Don BURNS +Fixed Solaris 'make distribution' for demo source. + +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. + +Mon, 15 Apr 2002 21:48:43 +0000 +Checked in by : Robert Osfield +Compile fixes for IRIX, submitted by Randall Hopper. + +Mon, 15 Apr 2002 21:03:32 +0000 +Checked in by : Robert Osfield +Added support for OSG_USE_MEMORY_MANAGER into Windows build. + +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. + +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 + +Mon, 15 Apr 2002 14:29:13 +0000 +Checked in by : Robert Osfield +Fixed error in project w.r.t name of source file. + +Mon, 15 Apr 2002 14:21:10 +0000 +Checked in by : Robert Osfield +Renamed Demos/osgtext/osgtext.dsp back to Demos/osgtext/osgtextdemo.dsp + +Mon, 15 Apr 2002 13:15:48 +0000 +Checked in by : Robert Osfield +Added CullCallbacks to osg::Node, and osgUtil::CullVisitor. + +Mon, 15 Apr 2002 11:03:31 +0000 +Checked in by : Robert Osfield +Added osghud, a head up display demo. + +Mon, 15 Apr 2002 10:59:16 +0000 +Checked in by : Robert Osfield +Fixes to warning in Win32 build + +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. + +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. + +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(). + + + +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. + +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'. + +Sun, 14 Apr 2002 12:54:26 +0000 +Checked in by : Robert Osfield +Addition of write .bmp to the BMP plugin. + +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. + +Sat, 13 Apr 2002 22:19:29 +0000 +Checked in by : Robert Osfield +Clean up for VisualStudio build + +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. + +Sat, 13 Apr 2002 18:45:18 +0000 +Checked in by : Robert Osfield +Further changes to VisualStudio.dsw for dependancies. + +Sat, 13 Apr 2002 11:36:10 +0000 +Checked in by : Robert Osfield +Added dependanices into osgPlugins. + +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..) + +Sat, 13 Apr 2002 10:29:44 +0000 +Checked in by : Robert Osfield +Added dependancies to Demos. + +Sat, 13 Apr 2002 10:18:58 +0000 +Checked in by : Robert Osfield +Saved workspace from VisualStudio to follow up on missing demo dependancies + +Sat, 13 Apr 2002 09:28:53 +0000 +Checked in by : Robert Osfield +Added Core infront of the names of the project dependancies. + +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. + +Fri, 12 Apr 2002 14:05:55 +0000 +Checked in by : Robert Osfield +Fixes for Win32 build. + +Fri, 12 Apr 2002 13:06:48 +0000 +Checked in by : Robert Osfield +Futher updates to VisualStudio files, adding osgstereoimage and osgversion in particular. + +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. + +Fri, 12 Apr 2002 12:15:07 +0000 +Checked in by : Robert Osfield +Renamed the osgtext demo project to reflect the name. + +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. + +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. + +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. + +Fri, 12 Apr 2002 09:53:39 +0000 +Checked in by : Robert Osfield +Fixes for Win32 build + +Fri, 12 Apr 2002 09:25:41 +0000 +Checked in by : Robert Osfield +Removed double reference of osgtexture + +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. + +Fri, 12 Apr 2002 08:01:22 +0000 +Checked in by : Robert Osfield +Removed dangling references to NewCullVisitor from osgUtil.dsp. + +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 + + + +Fri, 12 Apr 2002 05:09:45 +0000 +Checked in by : Don BURNS +added 'make cleandepend' to build system. + +Fri, 12 Apr 2002 05:06:41 +0000 +Checked in by : Don BURNS +Added the 'make cleandepend' target to the build system. + +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) + +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. + + + +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. + + + +Thu, 11 Apr 2002 17:13:16 +0000 +Checked in by : Robert Osfield +Patch to ReadWriter3DS from Mike Connel. + +Thu, 11 Apr 2002 16:05:38 +0000 +Checked in by : Don BURNS +Backed out bad addition of NewCUllVisitor + +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. + +Thu, 11 Apr 2002 13:53:46 +0000 +Checked in by : Robert Osfield +Fix for Win32 build. + +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. + +Thu, 11 Apr 2002 08:24:55 +0000 +Checked in by : Robert Osfield +Fixed refrences to NewCullVisitor which has now been mapped onto CullVisitor. + +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. + + + +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. + + + +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. + +Wed, 10 Apr 2002 14:32:16 +0000 +Checked in by : Don BURNS +Removed big honkin' SUN PKG files from cvs distribution. + +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 + +Tue, 9 Apr 2002 22:54:43 +0000 +Checked in by : Don BURNS +Fixed makedepend to do the right thing. + +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. + +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. + +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. + +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. + +Small fix to get osgText to compile with Solaris CC. Constructor declared +with a non-const argument, but implemented with const argument. + + + +Mon, 8 Apr 2002 16:50:13 +0000 +Checked in by : Don BURNS +Added -lstdc++ to begining of LIBS on link line.. ?? + +Mon, 8 Apr 2002 16:25:45 +0000 +Checked in by : Don BURNS +Put quotes around "DBGF" for multi argument + +Mon, 8 Apr 2002 08:23:00 +0000 +Checked in by : Robert Osfield +Changed a char* into const char* to fix Solaris build. + +Mon, 8 Apr 2002 08:22:27 +0000 +Checked in by : Robert Osfield +Fix for VisualStudio's lack of auto_ptr::reset. + +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. + +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. + +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. + +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'. + +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 + +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) + + + +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. + +Wed, 3 Apr 2002 17:53:46 +0000 +Checked in by : Don BURNS +Cleaned up in stallation directives + +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. + + + +Tue, 2 Apr 2002 06:58:18 +0000 +Checked in by : Don BURNS +Oops forgot to add makedefs and makerules + +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 + + + +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 + +Mon, 1 Apr 2002 15:37:21 +0000 +Checked in by : Don BURNS +Added cleanlite rules to makerules.new + +Mon, 1 Apr 2002 04:54:11 +0000 +Checked in by : Don BURNS +*** empty log message *** + +Mon, 1 Apr 2002 03:39:29 +0000 +Checked in by : Don BURNS +Completed and tested instrules.new + +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 + +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. + + + +Sun, 31 Mar 2002 09:54:14 +0000 +Checked in by : Robert Osfield +Removed reference to malloc.h, replacing by stdlib.h instead. + +Sat, 30 Mar 2002 21:20:41 +0000 +Checked in by : Robert Osfield +Warnings fixes, submitted by Randall Hopper. + +Sat, 30 Mar 2002 15:13:33 +0000 +Checked in by : Robert Osfield +Fix for Cygwin build. + +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. + + + +Fri, 29 Mar 2002 12:23:54 +0000 +Checked in by : Robert Osfield +Converted from dos file endings to unix. + +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. + +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 + +Thu, 28 Mar 2002 23:06:20 +0000 +Checked in by : Robert Osfield +Fixes for IRIX build. + +Thu, 28 Mar 2002 07:29:07 +0000 +Checked in by : Don BURNS +Couple a fixes in makedefs and makerules + +Thu, 28 Mar 2002 06:35:57 +0000 +Checked in by : Don BURNS +Added Norman Vines fixeds for cygwin + +Wed, 27 Mar 2002 23:04:52 +0000 +Checked in by : Robert Osfield +A compile fix to the new Texture subload changes. + +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. + +Wed, 27 Mar 2002 16:31:25 +0000 +Checked in by : Robert Osfield +Futher updates to MemoryManager, fixed memory leak in osgconv. + +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. + +Wed, 27 Mar 2002 10:52:40 +0000 +Checked in by : Robert Osfield +Added support for VERTICAL_SPILT and HORIZONTAL_SPLIT stereo modes. + +Wed, 27 Mar 2002 06:09:17 +0000 +Checked in by : Don BURNS +Update to makeefs/makerules + +Wed, 27 Mar 2002 00:55:52 +0000 +Checked in by : Don BURNS +update to makedefs.new makerules.new + +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. + + + +Tue, 26 Mar 2002 21:26:27 +0000 +Checked in by : Don BURNS +Adding makedirrrules to Make directory + +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 + +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. + +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. + + + +Mon, 25 Mar 2002 23:13:30 +0000 +Checked in by : Robert Osfield +Added missing osgstereoimage.dsp + +Mon, 25 Mar 2002 19:04:30 +0000 +Checked in by : Robert Osfield +Fixes for MacOSX build. + +Sat, 23 Mar 2002 21:30:32 +0000 +Checked in by : Robert Osfield +Fixed warning in DisplaySettings.cpp + +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. + +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. + +Thu, 21 Mar 2002 15:46:34 +0000 +Checked in by : Robert Osfield +Added missing TextureCubeMap.cpp to cvs. + +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. + +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.) + +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! + +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. + + + +Wed, 20 Mar 2002 22:39:51 +0000 +Checked in by : Robert Osfield +Added osg::TextureCubeMap which encapsulates OpenGL's cube texture mapping. + +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(). + +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. + +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. + +Mon, 18 Mar 2002 23:10:33 +0000 +Checked in by : Robert Osfield +Added osg::TextureCubeMap. submission from Brede Johansen. + +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. + +Mon, 18 Mar 2002 21:56:00 +0000 +Checked in by : Don BURNS +Changes required for SUN Solaris port... + +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. + +Thu, 14 Mar 2002 23:19:58 +0000 +Checked in by : Robert Osfield +Fix of a delete char array so it used delete []. + +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 + +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. + +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. + +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. + +Fixed comments in Drawable. + +Put guards around cosf definations so that they are only used under Win32/Mac. + +Fixed warning in CullVisitor. + + + +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. + +Thu, 14 Mar 2002 00:07:29 +0000 +Checked in by : Don BURNS +Fixed compile flags in Texture + +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. + +Sat, 9 Mar 2002 10:54:56 +0000 +Checked in by : Robert Osfield +Support added for pivot points, submission from Mike Connel. + +Sat, 9 Mar 2002 10:53:19 +0000 +Checked in by : Robert Osfield +Fixed setWindowWidth call to account for width and height correctly. + +Sat, 9 Mar 2002 10:52:32 +0000 +Checked in by : Robert Osfield +TXP plugin updates from Boris Bralo. + +Sat, 9 Mar 2002 10:52:01 +0000 +Checked in by : Robert Osfield +TXP plugin changes submitted by Boris Bralo. + +Sat, 9 Mar 2002 10:51:09 +0000 +Checked in by : Robert Osfield +TXP plugin update from Boris Bralo. + +Mon, 4 Mar 2002 01:37:18 +0000 +Checked in by : Robert Osfield +Added file extension guard to .obj reader plugin. + +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. + +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. + +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. + +Fri, 1 Mar 2002 09:28:47 +0000 +Checked in by : Robert Osfield +Fixes to osgText to improve robustness when running multithreaded multipipe apps. + +Fri, 1 Mar 2002 09:27:10 +0000 +Checked in by : Robert Osfield +Updates to the clamp to border support in osg::Texture. + +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. + +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. + +Wed, 27 Feb 2002 22:04:17 +0000 +Checked in by : Robert Osfield +Updated AUTHORS file with Boris' email address. + +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. + +Wed, 27 Feb 2002 21:57:56 +0000 +Checked in by : Robert Osfield +Fixes to DW loader, submitted by Geoff Michel. + +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. + +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. + +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. + +Mon, 25 Feb 2002 22:46:38 +0000 +Checked in by : Robert Osfield +Added support for glLightModel functionality via osg::LightModel. + +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. + +Sun, 24 Feb 2002 22:39:45 +0000 +Checked in by : Robert Osfield +Added LineStipple to mcp file. + +Sun, 24 Feb 2002 20:55:45 +0000 +Checked in by : Robert Osfield +Added support for glLineStipple via osg::LineStipple state attribute. + +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. + +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. + +Sat, 23 Feb 2002 00:16:21 +0000 +Checked in by : Robert Osfield +Updates to Windows Codwarrior file + +Fri, 22 Feb 2002 23:40:25 +0000 +Checked in by : Robert Osfield +updates for Win32 Codewarrior build + +Fri, 22 Feb 2002 23:39:42 +0000 +Checked in by : Robert Osfield +Fix for win32 Codewarrior build + +Fri, 22 Feb 2002 17:12:10 +0000 +Checked in by : Robert Osfield +Add support for Metrowerks Codewarrior build under Windows. + +Tue, 19 Feb 2002 18:59:39 +0000 +Checked in by : Robert Osfield +fixed txp build name problem - was overwriting .osg plugin. + +Mon, 18 Feb 2002 23:01:09 +0000 +Checked in by : Robert Osfield +Fixed stereo implementation. + +Mon, 18 Feb 2002 21:52:45 +0000 +Checked in by : Robert Osfield +Fixes to Win32 build of new DX writer plugin. + +Mon, 18 Feb 2002 20:48:52 +0000 +Checked in by : Robert Osfield +Comment w.r.t OpenDX plugin updated. + +Mon, 18 Feb 2002 20:46:47 +0000 +Checked in by : Robert Osfield +Added OpenDX writer from Randall Hopper. + +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. + +Thu, 14 Feb 2002 12:55:16 +0000 +Checked in by : Robert Osfield +updated the options for the txp plugin. + +Thu, 14 Feb 2002 12:51:38 +0000 +Checked in by : Robert Osfield +Removed osgWX workspace files. + +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. + +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. + +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. + +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. + +Wed, 13 Feb 2002 00:13:03 +0000 +Checked in by : Robert Osfield +Fixed problems with intersection visitor coupled with the viewer. + +Wed, 13 Feb 2002 00:00:20 +0000 +Checked in by : Robert Osfield +Added sgv -stereo cessna.osg to make test list. + +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. + +Tue, 12 Feb 2002 22:51:18 +0000 +Checked in by : Robert Osfield +Updates for IRIX build, and docs updates. + +Tue, 12 Feb 2002 22:35:56 +0000 +Checked in by : Robert Osfield +Removed references to osgWX from the doc++ directory. + +Tue, 12 Feb 2002 08:23:07 +0000 +Checked in by : Robert Osfield +Updates to Transform and CullVistor to support new getLocalToWorldMatrix methods. + +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. + +Mon, 11 Feb 2002 22:53:42 +0000 +Checked in by : Robert Osfield +Clean up of TXP plugin for IRIX build. + +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. + + + +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. + +Mon, 11 Feb 2002 12:51:08 +0000 +Checked in by : Robert Osfield +Applied fix to transparancy in flt loader. + +Mon, 11 Feb 2002 03:26:20 +0000 +Checked in by : Robert Osfield +Fixed the date on the release. + +Mon, 11 Feb 2002 02:38:05 +0000 +Checked in by : Robert Osfield +Updated changelog for release. + +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:-) + +Mon, 11 Feb 2002 01:02:21 +0000 +Checked in by : Robert Osfield +Updated changelog. + +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. + +Mon, 11 Feb 2002 00:42:33 +0000 +Checked in by : Robert Osfield +Added missing doc++ generated .html files. + +Mon, 11 Feb 2002 00:40:37 +0000 +Checked in by : Robert Osfield +Updated Stats code, sent in by Geof Michel. + +Mon, 11 Feb 2002 00:23:44 +0000 +Checked in by : Robert Osfield +Clean up INSTALL notes. + +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. + + + +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. + +Sun, 10 Feb 2002 20:05:38 +0000 +Checked in by : Robert Osfield +Disbalbed a dumb warning in Windows build via a #pragma. + +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. + +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. + + + +Sun, 10 Feb 2002 11:17:58 +0000 +Checked in by : Robert Osfield +Fixes for MacOSX build. + +Sun, 10 Feb 2002 10:42:55 +0000 +Checked in by : Robert Osfield +Fixes to TXP loader for Cygwin and Ming builds. + +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. + +Sat, 9 Feb 2002 21:29:33 +0000 +Checked in by : Robert Osfield +Updates to BMP loader from Geoff Michel. + +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. + + + +Sat, 9 Feb 2002 14:29:58 +0000 +Checked in by : Robert Osfield +Updates to docs and fixes to a few warnings. + +Sat, 9 Feb 2002 10:54:18 +0000 +Checked in by : Robert Osfield +Updated docs. + +Sat, 9 Feb 2002 10:50:09 +0000 +Checked in by : Robert Osfield +Fix to BMP loader. + +Sat, 9 Feb 2002 10:24:39 +0000 +Checked in by : Robert Osfield +Fixes for cygwin and mingw builds. + +Fri, 8 Feb 2002 23:07:43 +0000 +Checked in by : Robert Osfield +Removed further wxsgv files. + +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. + +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. + + + +Fri, 8 Feb 2002 09:30:02 +0000 +Checked in by : Robert Osfield +Fixes for IRIX and Boris Bralo's TerraPage loader. + +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. + +Thu, 7 Feb 2002 01:17:54 +0000 +Checked in by : Robert Osfield +Fix for Win32 build. + +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. + +Thu, 7 Feb 2002 01:12:06 +0000 +Checked in by : Robert Osfield +Fix for the handling of lighting in the DW loader. + +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. + +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. + +Thu, 7 Feb 2002 01:05:52 +0000 +Checked in by : Robert Osfield +Added extensions code submitted by Yefrei. + +Wed, 6 Feb 2002 08:57:06 +0000 +Checked in by : Robert Osfield +Compile fixes. + +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. + +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:-) + +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. + +Sun, 3 Feb 2002 22:32:48 +0000 +Checked in by : Don BURNS +added shademodel to TARGET_INCLUDE_FILES + +Sun, 3 Feb 2002 20:57:31 +0000 +Checked in by : Robert Osfield +Added beginings of new AutoTransform class. + +Sun, 3 Feb 2002 19:18:14 +0000 +Checked in by : Robert Osfield +Fixes for GCC 3.0.3 build. + +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. + +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. + +Sun, 3 Feb 2002 11:35:24 +0000 +Checked in by : Robert Osfield +Updates for Borland compilation. + +Sat, 2 Feb 2002 20:07:59 +0000 +Checked in by : Robert Osfield +Added defined( __BCPLUSPLUS__) to windows export code segments. + +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. + +Sat, 2 Feb 2002 10:52:30 +0000 +Checked in by : Robert Osfield +Typo fixed in the header guard. + +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. + +Wed, 30 Jan 2002 18:59:36 +0000 +Checked in by : Robert Osfield +Fixes for Windows build + +Wed, 30 Jan 2002 16:24:24 +0000 +Checked in by : Robert Osfield +Fixes for Windows build. + +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. + +Wed, 30 Jan 2002 15:02:56 +0000 +Checked in by : Robert Osfield +Changes for Borland C++ compiler changes. + +Wed, 30 Jan 2002 15:02:07 +0000 +Checked in by : Robert Osfield +Added osgbillboard project files to the VisualStudio workspace. + +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. + +Wed, 30 Jan 2002 14:37:47 +0000 +Checked in by : Robert Osfield +Removed a Makedepend that didn't belong! + +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. + +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. + + + +Tue, 29 Jan 2002 20:25:45 +0000 +Checked in by : Robert Osfield +Fixes for windows build. + +Tue, 29 Jan 2002 14:20:29 +0000 +Checked in by : Robert Osfield +Removed the now rendundent DeepCopy and ShallowCopy files. + +Tue, 29 Jan 2002 14:04:06 +0000 +Checked in by : Robert Osfield +Moved all references to osg::Cloner to osg::CopyOp. + +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. + +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. + +Have fixed copy constructor problems in GeoSet which fix the deep copy +problem experienced yesterday. + + + +Mon, 28 Jan 2002 21:49:31 +0000 +Checked in by : Robert Osfield +A couple of fixes to DeepCopy Cloner. + +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. + +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 + + + +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. + +Sat, 26 Jan 2002 20:03:07 +0000 +Checked in by : Robert Osfield +Added VisualStudio workspace files for new osgscribe demo. + +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. + +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. + + + +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. + +Have added osg::PositionAttitudeTransform as subclass of osg::Transform +which manages the transform as position and attitude via a Vec3 and Quat +respectively. + + + +Wed, 23 Jan 2002 15:42:36 +0000 +Checked in by : Robert Osfield +Updates to osg::Transform to allow it subclassed more easily. + +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. + +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. + +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. + +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. + +Tue, 22 Jan 2002 11:03:46 +0000 +Checked in by : Robert Osfield +Updated AUTHORS file to reflect recent submission. + +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. + +Sun, 20 Jan 2002 19:30:16 +0000 +Checked in by : Robert Osfield +Fixes to Windows compile. + +Sun, 20 Jan 2002 16:24:54 +0000 +Checked in by : Robert Osfield +Updates to help compilation under gcc 3.03. + +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.. + +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. + +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. + + + +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. + + + +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. + + + +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. + +Fri, 18 Jan 2002 19:00:55 +0000 +Checked in by : Robert Osfield +Fixed copy constructor which was copying a matrix to unitialized memory. + +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. + +Fri, 18 Jan 2002 14:11:46 +0000 +Checked in by : Robert Osfield +Made the osg::Timer::tick() method a const method. + +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. + +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. + +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. + +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. + +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. + +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. + +Wed, 16 Jan 2002 21:12:02 +0000 +Checked in by : Robert Osfield +Added support for billboard in OpenFlight loader. Submission from Nikolaus Hanekamp. + +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. + +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. + +Wed, 16 Jan 2002 12:05:22 +0000 +Checked in by : Robert Osfield +Integrated the changes to osgPlugin/Makefile's for MacOSX port. + +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. + +Wed, 16 Jan 2002 10:41:55 +0000 +Checked in by : Robert Osfield +Added quicktime plugin (for Mac's only), submitted by Phil Atkin. + +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. + +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. + +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. + +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. + +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. + +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. + +Sat, 12 Jan 2002 21:49:07 +0000 +Checked in by : Robert Osfield +Missing _attachedTransformMode in osg::Camera constructor, fix submitted by Ben Discoe. + +Sat, 5 Jan 2002 16:19:18 +0000 +Checked in by : Robert Osfield +Change TOP to OSGHOME in makefiles. + +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. + +Fri, 4 Jan 2002 20:44:41 +0000 +Checked in by : Robert Osfield +Renamed the TOP variable in the Makefiles to OSGHOME. + +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. + +Fri, 4 Jan 2002 17:35:54 +0000 +Checked in by : Robert Osfield +Added osg::ShadeModel state attribute which encapsulates glShadeModel. + +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. + +Fri, 4 Jan 2002 13:14:06 +0000 +Checked in by : Robert Osfield +Fixed multiple deletion of shared indecies in GeoSet destructor. + +Thu, 3 Jan 2002 23:28:54 +0000 +Checked in by : Robert Osfield +Futher Makefile updates for Cygwin support - from Norman Vine. + +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. + +Thu, 3 Jan 2002 21:34:57 +0000 +Checked in by : Robert Osfield +Updates for Cygwin port, from Norman Vine. + +Thu, 3 Jan 2002 19:28:13 +0000 +Checked in by : Robert Osfield +Small source code changes for Cygwin port of OSG. + +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. + +Wed, 2 Jan 2002 15:42:42 +0000 +Checked in by : Robert Osfield +Updates from Randall Hopper to fix build under IRIX. + +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. + + + +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. + +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. + +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. + +Mon, 31 Dec 2001 23:16:20 +0000 +Checked in by : Robert Osfield +Added a more detailed explanation of how LOD's work. + +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. + +Sun, 30 Dec 2001 20:48:05 +0000 +Checked in by : Robert Osfield +Final update of ChangeLog for the 0.8.43 release. + +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. + +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. + +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. + +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. + +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. + +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. + +Sun, 30 Dec 2001 15:12:29 +0000 +Checked in by : Robert Osfield +Did a make docs, in preperation for 0.8.43 release. + +Sun, 30 Dec 2001 15:01:30 +0000 +Checked in by : Robert Osfield +Compilation fix to pfb plugin, sent in by Ulrich Hertlein. + +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. + +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. + +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. + +Sat, 29 Dec 2001 12:28:24 +0000 +Checked in by : Robert Osfield +Updates form Randall Hopper for the FreeBSD build + +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. + +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. + +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. + +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. + +Mon, 24 Dec 2001 23:14:53 +0000 +Checked in by : Robert Osfield +Removed references to redundent environmental variables. + +Mon, 24 Dec 2001 21:56:22 +0000 +Checked in by : Robert Osfield +Did a make docs. + +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. + +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. + + + +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. + +Mon, 24 Dec 2001 15:12:59 +0000 +Checked in by : Robert Osfield +updates for windows build + +Mon, 24 Dec 2001 14:12:38 +0000 +Checked in by : Robert Osfield +Various clean ups for the release. + +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. + +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.. + +Sat, 22 Dec 2001 14:55:22 +0000 +Checked in by : Robert Osfield +Updated usage messages to include new stereo and stencil commandline options. + +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 support for OSG_SCREEN_HEIGHT into osg::DisplaySettings, and added +a DisplaySettings* to the constructors of osg::SceneView and osg::Camera. + + + +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. + +Thu, 20 Dec 2001 20:48:46 +0000 +Checked in by : Robert Osfield +Added support for glLineWidth via an osg::LineWidth StateAttribute. + +Thu, 20 Dec 2001 16:35:38 +0000 +Checked in by : Robert Osfield +Updates to the camera code related to stereo, adding fusion distance. + +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. + +Thu, 20 Dec 2001 12:12:30 +0000 +Checked in by : Robert Osfield +Updates to flt loading of light points, from Brede Johansen. + +Wed, 19 Dec 2001 15:20:29 +0000 +Checked in by : Robert Osfield +Updates to Stereo code. + +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. + +Wed, 19 Dec 2001 08:49:10 +0000 +Checked in by : Robert Osfield +Added check for GL_ARB_imaging extension to osg;:ColorMatrix + +Wed, 19 Dec 2001 01:10:04 +0000 +Checked in by : Robert Osfield +Compilation fixes under for Windows + +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. + +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. + +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. + +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. + +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. + +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. + + + +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 + +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. + +Mon, 17 Dec 2001 09:29:56 +0000 +Checked in by : Robert Osfield +Added std:: infront of endl to ensure compilation under Windows. + +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. + +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. + +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. + +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. + +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. + +Removed the non cost version of osg::Transform::getMatrix() as this could +by pass the dirty mechinism. + + + +Sat, 15 Dec 2001 10:00:43 +0000 +Checked in by : Robert Osfield +updates for windows build. + +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. + +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. + +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. + +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. + +Fri, 14 Dec 2001 15:37:09 +0000 +Checked in by : Don BURNS +Removed ^M from Makefile + +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. + +Fri, 14 Dec 2001 15:10:42 +0000 +Checked in by : Don BURNS +Fixed newline/cr problem + +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. + +Fri, 14 Dec 2001 10:47:20 +0000 +Checked in by : Robert Osfield +Fixes for Win32 build related to changes in using namespace std. + +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. + + + +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(..) + + 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. + + + +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. + +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. + +Wed, 12 Dec 2001 05:09:33 +0000 +Checked in by : Don BURNS +Added translation and scaling to osgconv + +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. + +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. + +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. + +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. + +Sun, 9 Dec 2001 03:46:50 +0000 +Checked in by : Don BURNS +*** empty log message *** + +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. + + + +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. + +Tue, 4 Dec 2001 19:41:08 +0000 +Checked in by : Robert Osfield +Updates to the flt loader, from Brede Johansen. + +Tue, 4 Dec 2001 16:03:10 +0000 +Checked in by : Robert Osfield +Integrated Brede Johansen's updates to flt loader. + +Tue, 4 Dec 2001 15:56:08 +0000 +Checked in by : Robert Osfield +Made a output message output as osg::DEBUG only. + +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. + +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. + + + +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. + +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 + +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(). + +Wed, 21 Nov 2001 15:53:29 +0000 +Checked in by : Don BURNS +Small fix for preprocessor _MP symbol clash with MFC. + +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. + +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. + +Mon, 19 Nov 2001 10:40:42 +0000 +Checked in by : Robert Osfield +Added warning report for when a font file cannot be found. + +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. + +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. + +Wed, 14 Nov 2001 15:53:36 +0000 +Checked in by : Robert Osfield +Fixes for windows compilation + +Wed, 14 Nov 2001 15:52:27 +0000 +Checked in by : Robert Osfield +Fixed compilation problem under Wndows + +Wed, 14 Nov 2001 15:32:15 +0000 +Checked in by : Robert Osfield +Fixed compilation problem under Wndows + +Wed, 14 Nov 2001 14:10:12 +0000 +Checked in by : Robert Osfield +Added osgUtil::TransformCallback to help with rigid body animation. + +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. + +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. + + + +Mon, 12 Nov 2001 10:04:57 +0000 +Checked in by : Robert Osfield +Added new files to cvs. + +Mon, 12 Nov 2001 10:00:08 +0000 +Checked in by : Robert Osfield +Added src/osg/NodeCallback.cpp. + +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. + + + +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. + +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. + +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. + + + +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? + +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. + +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. + +Tue, 6 Nov 2001 11:36:11 +0000 +Checked in by : Robert Osfield +Fixed inlcude/BoundingBox to compile under Windows. + +Tue, 6 Nov 2001 11:07:43 +0000 +Checked in by : Robert Osfield +Fixed inlcude/Math to compile under Windows. + +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. + +Sun, 4 Nov 2001 19:29:20 +0000 +Checked in by : Robert Osfield +Integrated updates to stats sent in my Geoff Michel. + +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 + +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. + +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. + +Thu, 1 Nov 2001 16:35:26 +0000 +Checked in by : Robert Osfield +Updates to the flt loader from Brede Johansen. + +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. + +Wed, 31 Oct 2001 22:35:44 +0000 +Checked in by : Robert Osfield +Added missing config.h file to src/osgPlugins/lib3ds. + +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. + +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. + +Wed, 31 Oct 2001 12:27:48 +0000 +Checked in by : Robert Osfield +Update to osgText to get things compiling under Windows. + +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. + +Wed, 31 Oct 2001 10:20:50 +0000 +Checked in by : Robert Osfield +Updated the FTGL implemention in osgText to FTFL1.1. + +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. + +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. + +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. + +Mon, 29 Oct 2001 12:19:14 +0000 +Checked in by : Robert Osfield +Added missing src/osgText/Version.cpp file. + +Thu, 25 Oct 2001 01:11:52 +0000 +Checked in by : Bryan THRALL +Imposter.cpp added to the project + +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. + +Thu, 25 Oct 2001 00:45:33 +0000 +Checked in by : Bryan THRALL +sgv is almost working + +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 :-) + +Wed, 24 Oct 2001 22:29:38 +0000 +Checked in by : Robert Osfield +Updates to the visual studio files for osgText. + +Wed, 24 Oct 2001 19:48:58 +0000 +Checked in by : Robert Osfield +Updates of osgDB/FileUtils to fix compilation problems under Win32 + +Wed, 24 Oct 2001 13:46:58 +0000 +Checked in by : Robert Osfield +Updates to osgText. + +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. + +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. + +Wed, 24 Oct 2001 09:08:02 +0000 +Checked in by : Robert Osfield +Updated the osgText implemention, now works under Linux. + +Tue, 23 Oct 2001 23:23:51 +0000 +Checked in by : Don BURNS +Added stat.c + +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 + +Tue, 23 Oct 2001 23:10:47 +0000 +Checked in by : Don BURNS +Fixed pfb loader functionality for IRIX + +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. + +Tue, 23 Oct 2001 22:28:41 +0000 +Checked in by : Robert Osfield +Further work on getting osgText compiling. + +Tue, 23 Oct 2001 22:12:07 +0000 +Checked in by : Robert Osfield +Removed old .cc versions of FT font code. + +Tue, 23 Oct 2001 22:09:21 +0000 +Checked in by : Robert Osfield +Adding in new .cpp versions of FT font code. + +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. + +Tue, 23 Oct 2001 20:04:48 +0000 +Checked in by : Robert Osfield +Converted FTGL files from mac style return to unix style. + +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. + +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. + +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. + + + +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. + +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. + + + +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. + +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. + +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. + +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. + +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. + +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. + + + +Wed, 17 Oct 2001 22:17:23 +0000 +Checked in by : Don BURNS +Fixed static libraries in madefs.linux and error in ReaderWriterPFB.cpp + +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 + +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. + +Tue, 16 Oct 2001 21:32:57 +0000 +Checked in by : Bryan THRALL +This was the old project file. It's no longer used. + +Tue, 16 Oct 2001 20:56:46 +0000 +Checked in by : Bryan THRALL +*** empty log message *** + +Tue, 16 Oct 2001 18:39:57 +0000 +Checked in by : Robert Osfield +Fixes for IRIX build - submitted by Randall Hopper. + +Tue, 16 Oct 2001 16:48:19 +0000 +Checked in by : Robert Osfield +Fixes for Win32 compilation. + +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). + +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. + +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. + +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. + +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. + +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(). + +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. + +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. + +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. + +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. + +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. + +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. + +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. + +Sun, 14 Oct 2001 16:56:03 +0000 +Checked in by : Robert Osfield +Added OrientationConverter.cpp to the VisualStudio project files for osgconv. + +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. + +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. + +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. + +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. + +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. + +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. + + + +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. + +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. + +Sun, 14 Oct 2001 04:50:04 +0000 +Checked in by : Don BURNS +Cleaned up some 'make clobber' issues in root Makefile + +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. + +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. + +Sat, 13 Oct 2001 09:48:37 +0000 +Checked in by : Don BURNS +Added Mr. Osfields dynamic_cast<> and test for validity test. + +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 + +Sat, 13 Oct 2001 08:32:11 +0000 +Checked in by : Don BURNS +A few more clean ups + +Sat, 13 Oct 2001 07:41:54 +0000 +Checked in by : Don BURNS +Cleaned up the usage message + +Sat, 13 Oct 2001 07:24:25 +0000 +Checked in by : Don BURNS +Updated osgconv to be able to handle orientation swapping. + +Sat, 13 Oct 2001 06:23:55 +0000 +Checked in by : Don BURNS +Changed some routines to produce right-handed rotations. + +Sat, 13 Oct 2001 06:22:49 +0000 +Checked in by : Don BURNS +checking files in to move development location + +Sat, 13 Oct 2001 01:28:33 +0000 +Checked in by : Don BURNS +Removed personal note in Matrix header file + +Fri, 12 Oct 2001 20:06:35 +0000 +Checked in by : Robert Osfield +Added support for the new AttributeUpdateFunctors. + +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. + +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 + +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. + +Wed, 10 Oct 2001 14:38:12 +0000 +Checked in by : Robert Osfield +Fixed spelling of osg::GeoSet::getNumInterleavedIndices, was missing a 'n'! + +Tue, 9 Oct 2001 21:55:47 +0000 +Checked in by : Robert Osfield +Fixed a crash when opening an erroneous test file (reopen.bmp). + +Tue, 9 Oct 2001 20:22:52 +0000 +Checked in by : Robert Osfield +Updated to fix build problems under MSVC. + +Tue, 9 Oct 2001 20:09:27 +0000 +Checked in by : Robert Osfield +Updated MSVC Workspace files to fix build problems. + +Tue, 9 Oct 2001 20:03:51 +0000 +Checked in by : Robert Osfield +Updated MSVC Workspace files to fix build problems. + +Tue, 9 Oct 2001 14:18:47 +0000 +Checked in by : Robert Osfield +Merged Ben Discoe's clean up of the MSVC files. + +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 + +Mon, 8 Oct 2001 19:01:37 +0000 +Checked in by : Robert Osfield +Put the makedefs.linux back to default to optimize. + +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. + +Mon, 8 Oct 2001 08:35:06 +0000 +Checked in by : Robert Osfield +Added support for using osgDB::fineFile into the .flt plugin. + +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. + +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. + +Fri, 5 Oct 2001 19:55:58 +0000 +Checked in by : Robert Osfield +Added bmp plugin files, bmp plguin written by Geoff Michel + +Fri, 5 Oct 2001 10:39:27 +0000 +Checked in by : Robert Osfield +Added bmp osgPlugin, written by Geoff Michel. + +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. + +Fri, 5 Oct 2001 01:27:54 +0000 +Checked in by : Bryan THRALL +*** empty log message *** + +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. + +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. + +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. + +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. + +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. + +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. + +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. + +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. + +Wed, 3 Oct 2001 07:56:33 +0000 +Checked in by : Robert Osfield +Added missing EarthSky.cpp file to osg plguin. + +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. + + + +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. + +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. + +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. + +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 + + + +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. + +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. + + + +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. + + + +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. + +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. + +Fri, 28 Sep 2001 19:36:58 +0000 +Checked in by : Don BURNS +Cleaned up inst rules a bit... + +Fri, 28 Sep 2001 16:56:19 +0000 +Checked in by : Robert Osfield +*** empty log message *** + +Fri, 28 Sep 2001 12:36:40 +0000 +Checked in by : Robert Osfield +*** empty log message *** + +Thu, 27 Sep 2001 16:34:41 +0000 +Checked in by : Robert Osfield +*** empty log message *** + +Thu, 27 Sep 2001 09:44:55 +0000 +Checked in by : Robert Osfield +*** empty log message *** + +Wed, 26 Sep 2001 12:23:02 +0000 +Checked in by : Robert Osfield +*** empty log message *** + +Tue, 25 Sep 2001 17:56:56 +0000 +Checked in by : Robert Osfield +*** empty log message *** + +Sat, 22 Sep 2001 02:42:08 +0000 +Checked in by : Don BURNS +Synch with 20010921 + +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 + +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 + +Thu, 20 Sep 2001 00:59:26 +0000 +Checked in by : Don BURNS +Removed Makedepend files + +Thu, 20 Sep 2001 00:48:36 +0000 +Checked in by : Don BURNS +Addec binary files with -kb + +Thu, 20 Sep 2001 00:47:45 +0000 +Checked in by : Don BURNS +Removed should be binary entries. Well r-add with -kb + +Thu, 20 Sep 2001 00:07:09 +0000 +Checked in by : Don BURNS +Added ico files with -kb flag + +Thu, 20 Sep 2001 00:06:36 +0000 +Checked in by : Don BURNS +Trying to clean up binary commits + +Wed, 19 Sep 2001 23:56:12 +0000 +Checked in by : Don BURNS +Added these with the -kb flag now. + +Wed, 19 Sep 2001 23:55:38 +0000 +Checked in by : Don BURNS +Cleaning up binary commits - oops + +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. + +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. + +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. + + 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. + + + +Wed, 19 Sep 2001 23:21:31 +0000 +Checked in by : Don BURNS +0.8.42 sync + +Wed, 19 Sep 2001 21:51:06 +0000 +Checked in by : Don BURNS +Removed files.... synching witn 0.8.42 + +Wed, 19 Sep 2001 21:41:52 +0000 +Checked in by : Don BURNS +And yet more clean up synch with 0.8.42 + +Wed, 19 Sep 2001 21:19:47 +0000 +Checked in by : Don BURNS +More clean up for synch with 0.8.42 + +Wed, 19 Sep 2001 21:10:39 +0000 +Checked in by : Don BURNS +Added acompole more + +Wed, 19 Sep 2001 21:08:56 +0000 +Checked in by : Don BURNS +Added a bunch of files synched with 0.8.42 + +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 + +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. + +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. diff --git a/LICENSE.txt b/LICENSE.txt index 6340792d76f..79387994340 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,8 +1,8 @@ - OpenSceneGraph Public License, Version 0.0 + OpenSceneGraph Public License, Version 1.0 ========================================== - - Copyright (C) 2002 Robert Osfield. - + + Copyright (C) 2018 Robert Osfield. + Everyone is permitted to copy and distribute verbatim copies of this licence document, but changing it is not allowed. @@ -12,18 +12,19 @@ This library is free software; you can redistribute it and/or modify it under the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or later. - - Notes: the OSGPL is based on the LGPL, with the 4 exceptions laid - out in the wxWindows section below. The LGPL is contained in the - final section of this license. + + Notes: the OSGPL is based on the LGPL-2.1-only WITH WxWindows-exception-3.1, + with the 4 exceptions laid out in the wxWindows section below. The LGPL is + contained in the final section of this license. ------------------------------------------------------------------------------- - wxWindows Library Licence, Version 3 - ==================================== - Copyright (C) 1998 Julian Smart, Robert Roebling [, ...] + wxWindows Library Licence, Version 3.1 + ====================================== + + Copyright (c) 1998-2005 Julian Smart, Robert Roebling et al Everyone is permitted to copy and distribute verbatim copies of this licence document, but changing it is not allowed. @@ -43,20 +44,20 @@ You should have received a copy of the GNU Library General Public Licence along with this software, usually in a file named COPYING.LIB. If not, - write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - Boston, MA 02111-1307 USA. + write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301 USA. EXCEPTION NOTICE 1. As a special exception, the copyright holders of this library give permission for additional uses of the text contained in this release of the library as licenced under the wxWindows Library Licence, applying - either version 3 of the Licence, or (at your option) any later version of - the Licence as published by the copyright holders of version 3 of the - Licence document. + either version 3.1 of the Licence, or (at your option) any later version of + the Licence as published by the copyright holders of version + 3.1 of the Licence document. 2. The exception is that you may use, copy, link, modify and distribute - under the user's own terms, binary object code versions of works based + under your own terms, binary object code versions of works based on the Library. 3. If you copy code from files distributed under the terms of the GNU @@ -71,11 +72,13 @@ choice whether to permit this exception to apply to your modifications. If you do not wish that, you must delete the exception notice from such code and/or adjust the licensing conditions notice accordingly. - - + + + ------------------------------------------------------------------------------ - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 + + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA @@ -86,7 +89,7 @@ as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] - Preamble + Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public @@ -131,7 +134,7 @@ modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. - + Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a @@ -187,8 +190,8 @@ modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE + + GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library or other @@ -222,7 +225,7 @@ such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. - + 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an @@ -234,7 +237,7 @@ Library. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. - + 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 @@ -292,7 +295,7 @@ instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. - + Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. @@ -343,7 +346,7 @@ Library will still fall under Section 6.) distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. - + 6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work @@ -405,7 +408,7 @@ restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. - + 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined @@ -446,7 +449,7 @@ subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. - + 11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or @@ -498,7 +501,7 @@ conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. - + 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is @@ -508,7 +511,7 @@ decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. - NO WARRANTY + NO WARRANTY 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. @@ -531,8 +534,8 @@ FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - END OF TERMS AND CONDITIONS - + END OF TERMS AND CONDITIONS + How to Apply These Terms to Your New Libraries If you develop a new library, and you want it to be of the greatest diff --git a/NEWS.txt b/NEWS.txt index bcea4c723c4..1d2f9724a64 100644 --- a/NEWS.txt +++ b/NEWS.txt @@ -1,6 +1,77 @@ OSG News ======== +OpenSceneGraph 3.4.1 release is maintaince release that provide build/runtime improvements and better GLES support +PERTHSHIRE, Scotland - 28th August 2017 - OpenSceneGraph Professional Services announces the release of OpenSceneGraph 3.4.1, the industry's leading open-source scene graph technology, designed to accelerate application development and improve 3D graphics performance. OpenSceneGraph 3.4 written entirely in Standard C++ and built upon OpenGL, offers developers working in the visual simulation, game development, virtual reality, scientific visualization and modeling markets - a real-time visualization tool which eclipses commercial scene graph toolkits in functionality, stability and performance. OpenSceneGraph 3.4 runs on all Microsoft Windows platforms, Apple OS/X, IOS, GNU/Linux, Android, IRIX, Solaris, HP-UX, AIX and FreeBSD operating systems. +Updates include: + + * Improves to GLES support across platforms + * Full support for osgText and on screen stats across all platfroms, including GLES2 and core pofile + * Build fixes to allow compilation against recent 3rd party depdendency changes + * Range of runtime fixes + +Downloads and Licensing: + +OpenSceneGraph is open-source, so full source code is provided, and can be copied, modified and used free of charge for commercial and non-commercial use. Access to the source allows end users greater flexibility in how they develop, debug and deploy their applications. They gain productivity and freedom by being able to leverage the tool chain in accordance with their own release cycles. Downloads of binaries and source can be found in the Downloads section of the openscenegraph.org website. + +OpenSceneGraph is released under the OpenSceneGraph Public License, which is based on the Lesser GNU Public License (LGPL), permitting the software to be used free of charge across the full spectrum of commercial and open-source applications. Furthermore, it allows both static and dynamic linking of the OpenSceneGraph libraries without restricting the licensing of the user's software. +Professional support and services + +OpenSceneGraph project is backed up with professional services by OpenSceneGraph Professional Services, based in Scotland, and a range of Contractors from around the world. Services available include: + + Confidential Professional Support + Bespoke development + Consultancy + Training + +Community support and contributions: + +The diverse and growing community of over 5000 developers is centred around the public osg-users mailing list/forum, where members discuss how best to use OpenSceneGraph, provide mutual support, and coordinate development of new features and bug fixes. Members of this community come from many different countries with backgrounds ranging from some of the world's largest aerospace companies, game companies, and visual simulation specialists to university researchers, students and hobbyists. + +The OpenSceneGraph project owes a great deal to the community for its development and support, in particular we wish to thank the 562 individuals from around the world that have directly contributed to the development and refinement of the OpenSceneGraph code base. + + + + + +OpenSceneGraph 3.4 release introduces shader composition, new osgUI library, displacement mapping, volume rendering, lua scripting support and much more +PERTHSHIRE, Scotland - 12th August 2015 - OpenSceneGraph Professional Services announces the release of OpenSceneGraph 3.4, the industry's leading open-source scene graph technology, designed to accelerate application development and improve 3D graphics performance. OpenSceneGraph 3.4 written entirely in Standard C++ and built upon OpenGL, offers developers working in the visual simulation, game development, virtual reality, scientific visualization and modeling markets - a real-time visualization tool which eclipses commercial scene graph toolkits in functionality, stability and performance. OpenSceneGraph 3.4 runs on all Microsoft Windows platforms, Apple OS/X, IOS, GNU/Linux, Android, IRIX, Solaris, HP-UX, AIX and FreeBSD operating systems. +Updates include: + + * New #pragma(tic) composition shader functionality built into the core OSG that provides a easy to use yet flexible scheme for controlling and composing shaders at runtime levering GLSL support for #define and #pragma. + * New osgTerrain::DisplacementMappingTechnique to uses vertex, geometry and fragment shader based displacement mapping technique that dramatically lowers the CPU and GPU memory footprint and bandwidth needs for the same visual quality. The new scheme enables paged terrain that work robustly on smaller hardware, or with far higher loads without framedrops. This new technique levels #pragma(tic) shader composition to enable one to toggle on/off features in the shaders at runtime in a way that is as convenient to use as toggle modes in a fixed function pipeline scene graph. + * New osgVolume::MultipassTechique that uses multipass rendering and shaders to enable seamless mixing of traditional 3D geometry and volumes, support for geometry hulls that constrain where the volume should be rendered as well as improving the ray tracing shaders so that they are both faster and have higher visual quality than the previous generation of ray traced shaders supported by OSG-3.2 releases and before. + * New osgDB::Classiterface class that provides an easy to use mechanism for introspection of scene graph classes, allowing one to get, set properties and invoke methods in a generic way, making the task of integrating 3rd prarty tools such as scripting languages straight forward. + * New Lua scripting support via a plugin that integrates Lua 5.2.3 and the OSG via the OSG's native serialization codes. + * New osgUI NodeKit, that enables User Interface elements to be placed directly into 3D scene graph. The classes are fully scriptable so you create create UI and behaviours all within lua scripts. + * Improvements to OpenGL ES 1.1, ES 2.0 and ES3.0 support, including platform specific extensions + * Improvements to OpenGL 4.x support with a range of new extensions support + * Updates to osgQt to support Qt5 and provide better support for Qt4 + +Downloads and Licensing: + +OpenSceneGraph is open-source, so full source code is provided, and can be copied, modified and used free of charge for commercial and non-commercial use. Access to the source allows end users greater flexibility in how they develop, debug and deploy their applications. They gain productivity and freedom by being able to leverage the tool chain in accordance with their own release cycles. Downloads of binaries and source can be found in the Downloads section of the openscenegraph.org website. + +OpenSceneGraph is released under the OpenSceneGraph Public License, which is based on the Lesser GNU Public License (LGPL), permitting the software to be used free of charge across the full spectrum of commercial and open-source applications. Furthermore, it allows both static and dynamic linking of the OpenSceneGraph libraries without restricting the licensing of the user's software. +Professional support and services + +OpenSceneGraph project is backed up with professional services by OpenSceneGraph Professional Services, based in Scotland, and a range of Contractors from around the world. Services available include: + + Confidential Professional Support + Bespoke development + Consultancy + Training + +Community support and contributions: + +The diverse and growing community of over 5000 developers is centred around the public osg-users mailing list/forum, where members discuss how best to use OpenSceneGraph, provide mutual support, and coordinate development of new features and bug fixes. Members of this community come from many different countries with backgrounds ranging from some of the world's largest aerospace companies, game companies, and visual simulation specialists to university researchers, students and hobbyists. + +The OpenSceneGraph project owes a great deal to the community for its development and support, in particular we wish to thank the 550 individuals from around the world that have directly contributed to the development and refinement of the OpenSceneGraph code base. + + + + + = !OpenSceneGraph 3.2 release improves support iOS and Android, supports a range of new OpenGL features much more. PERTHSHIRE, Scotland - 24th July 2013 - !OpenSceneGraph Professional Services announces the release of !OpenSceneGraph 3.2, the industry's leading open-source scene graph technology, designed to accelerate application development and improve 3D graphics performance. !OpenSceneGraph 3.2 written entirely in Standard C++ and built upon OpenGL, offers developers working in the visual simulation, game development, virtual reality, scientific visualization and modeling markets - a real-time visualization tool which eclipses commercial scene graph toolkits in functionality, stability and performance. !OpenSceneGraph 3.2 runs on all Microsoft Windows platforms, Apple OS/X, IOS, GNU/Linux, Android, IRIX, Solaris, HP-UX, AIX and FreeBSD operating systems. diff --git a/README.txt b/README.txt index 68acfcea0d7..4326b5e12c7 100644 --- a/README.txt +++ b/README.txt @@ -23,7 +23,7 @@ more indepth instructions. Robert Osfield. Project Lead. -3rd July 2015. +28th August 2017. -- diff --git a/applications/osgarchive/osgarchive.cpp b/applications/osgarchive/osgarchive.cpp index f3388524e69..8be99851da6 100644 --- a/applications/osgarchive/osgarchive.cpp +++ b/applications/osgarchive/osgarchive.cpp @@ -1,9 +1,9 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield +/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield * - * This application is open source and may be redistributed and/or modified + * This application is open source and may be redistributed and/or modified * freely and without restriction, both in commercial and non commercial applications, * as long as this copyright notice is maintained. - * + * * This application is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. @@ -26,12 +26,12 @@ int main( int argc, char **argv ) { // use an ArgumentParser object to manage the program arguments. osg::ArgumentParser arguments(&argc,argv); - + // set up the usage document, in case we need to print out how to use this program. arguments.getApplicationUsage()->setApplicationName(arguments.getApplicationName()); arguments.getApplicationUsage()->setDescription(arguments.getApplicationName()+" is an application for collecting a set of separate files into a single archive file that can be later read in OSG applications.."); arguments.getApplicationUsage()->setCommandLineUsage(arguments.getApplicationName()+" [options] filename ..."); - + // if user request help write it out to cout. if (arguments.read("-h") || arguments.read("--help")) { @@ -49,14 +49,14 @@ int main( int argc, char **argv ) { insert = true; } - + bool extract = false; while (arguments.read("-e") || arguments.read("--extract")) { extract = true; } - - bool list = false; + + bool list = false; while (arguments.read("-l") || arguments.read("--list")) { list = true; @@ -93,7 +93,7 @@ int main( int argc, char **argv ) } } } - + // any option left unread are converted into errors to write out later. arguments.reportRemainingOptionsAsUnrecognized(); @@ -103,7 +103,7 @@ int main( int argc, char **argv ) arguments.writeErrorMessages(std::cout); return 1; } - + if (archiveFilename.empty()) { std::cout<<"Please specify an archive name using --archive filename"< obj = osgDB::readObjectFile(*itr); + osg::ref_ptr obj = osgDB::readRefObjectFile(*itr); if (obj.valid()) { std::cout<<" write to archive "<<*itr<getFileNames(fileNames)) @@ -187,11 +187,11 @@ int main( int argc, char **argv ) std::cout<<" "<<*itr<getMasterFileName()< state = new osg::State; + state->initializeExtensionProcs(); for(TextureSet::iterator itr=_textureSet.begin(); itr!=_textureSet.end(); @@ -771,7 +772,7 @@ int main( int argc, char **argv ) osg::Timer_t startTick = osg::Timer::instance()->tick(); - osg::ref_ptr root = osgDB::readNodeFiles(fileNames); + osg::ref_ptr root = osgDB::readRefNodeFiles(fileNames); if (root.valid()) { @@ -816,7 +817,7 @@ int main( int argc, char **argv ) if (internalFormatMode != osg::Texture::USE_IMAGE_DATA_FORMAT) { - std::string ext = osgDB::getFileExtension(fileNameOut); + ext = osgDB::getFileExtension(fileNameOut); CompressTexturesVisitor ctv(internalFormatMode); root->accept(ctv); ctv.compress(); diff --git a/applications/osgfilecache/osgfilecache.cpp b/applications/osgfilecache/osgfilecache.cpp index d23b9143671..ceadad4fa94 100644 --- a/applications/osgfilecache/osgfilecache.cpp +++ b/applications/osgfilecache/osgfilecache.cpp @@ -1,9 +1,9 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield +/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield * - * This application is open source and may be redistributed and/or modified + * This application is open source and may be redistributed and/or modified * freely and without restriction, both in commercial and non commercial applications, * as long as this copyright notice is maintained. - * + * * This application is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. @@ -46,20 +46,20 @@ struct Extents _maxLevel(maxLevel), _min(minX, minY), _max(maxX, maxY) {} - + Extents(const Extents& extents): _maxLevel(extents._maxLevel), _min(extents._min), _max(extents._max) {} - + Extents& operator = (const Extents& rhs) { if (&rhs == this) return *this; - + _maxLevel = rhs._maxLevel; _min = rhs._min; _max = rhs._max; - + return *this; } @@ -69,10 +69,10 @@ struct Extents osg::notify(osg::INFO)<<" _maxLevel="<<_maxLevel<<", _min="<<_min<<" _max="<<_max<_maxLevel) return false; - + osg::Vec2d union_min, union_max; - // handle mins + // handle mins if (_min.x()!=DBL_MAX && in_min.x()!=DBL_MAX) { // both _min.x() and in_min.x() are defined so use max of two @@ -95,7 +95,7 @@ struct Extents union_min.y() = _min.y()convertXYZToLatLongHeight(v.x(), v.y(), v.z(), v.y(), v.x(), v.z()); - + v.x() = osg::RadiansToDegrees(v.x()); v.y() = osg::RadiansToDegrees(v.y()); } - + void initBound() { _min.set(DBL_MAX, DBL_MAX); @@ -332,16 +332,16 @@ class LoadDataVisitor : public osg::NodeVisitor if (v.x() > _max.x()) _max.x() = v.x(); if (v.y() > _max.y()) _max.y() = v.y(); } - + void updateBound(osg::Vec3Array& vertices) { // set up matrix osg::Matrix matrix; if (!_matrixStack.empty()) matrix = _matrixStack.back(); - + // set up ellipsoid model osg::EllipsoidModel* em = !_csnStack.empty() ? _csnStack.back()->getEllipsoidModel() : 0; - + for(osg::Vec3Array::iterator itr = vertices.begin(); itr != vertices.end(); ++itr) @@ -352,7 +352,7 @@ class LoadDataVisitor : public osg::NodeVisitor updateBound(v); } } - + bool intersects() { osg::notify(osg::INFO)<<"intersects() _min = "<<_min<<" _max = "<<_max<intersects(_currentLevel, _min, _max)) return true; } - + return false; } @@ -376,7 +376,7 @@ class LoadDataVisitor : public osg::NodeVisitor unsigned int _currentLevel; MatrixStack _matrixStack; CSNStack _csnStack; - + osg::Vec2d _min; osg::Vec2d _max; }; @@ -403,7 +403,7 @@ int main( int argc, char **argv ) // use an ArgumentParser object to manage the program arguments. osg::ArgumentParser arguments(&argc,argv); - + // set up the usage document, in case we need to print out how to use this program. arguments.getApplicationUsage()->setApplicationName(arguments.getApplicationName()); arguments.getApplicationUsage()->setDescription(arguments.getApplicationName()+" is an application for collecting a set of separate files into a single archive file that can be later read in OSG applications.."); @@ -412,21 +412,21 @@ int main( int argc, char **argv ) arguments.getApplicationUsage()->addCommandLineOption("-e level minX minY maxX maxY","Read down to across the extents minX, minY to maxY, maxY. Note, for geocentric datase X and Y are longitude and latitude respectively."); arguments.getApplicationUsage()->addCommandLineOption("-c directory","Shorthand for --file-cache directory."); arguments.getApplicationUsage()->addCommandLineOption("--file-cache directory","Set directory as to place cache download files."); - + // if user request help write it out to cout. if (arguments.read("-h") || arguments.read("--help")) { arguments.getApplicationUsage()->write(std::cout); return 1; } - + LoadDataVisitor ldv; std::string fileCachePath; while(arguments.read("--file-cache",fileCachePath) || arguments.read("-c",fileCachePath)) {} - + if (fileCachePath.empty()) - { + { const char* env_fileCachePath = getenv("OSG_FILE_CACHE"); if (env_fileCachePath) { @@ -439,7 +439,7 @@ int main( int argc, char **argv ) std::cout<<"No path to the file cache defined, please set OSG_FILE_PATH env var, or use --file-cache to set a suitable directory for the file cache."< loadedModel = ldv.readNodeFileAndWriteToCache(filename); if (!loadedModel) { std::cout<<"No data loaded, please specify a database to load"<accept(ldv); if (s_ExitApplication) diff --git a/applications/osgversion/Contributors.cpp b/applications/osgversion/Contributors.cpp index e63d6b477a9..86a585b8717 100644 --- a/applications/osgversion/Contributors.cpp +++ b/applications/osgversion/Contributors.cpp @@ -260,7 +260,22 @@ const char* invalidNames[] = "PushStackValueVisitor", "RayIntersector", "OpenSceneGraph-Data", - "Node" + "Node", + "AlphaFunc", + "CompositeViewer", + "OpenSceneGraph-3", + "DisplaySettings::SHADER_NONE", + "CodeDocs", + "Mon", + "Tue", + "Wed", + "Fri", + "Sat", + "Sun", + "I", + "TriangleFunctor", + "PrimitiveFunctor", + "OpenMW" }; @@ -483,7 +498,9 @@ TypoCorrection typoCorrections[] = {"Janik", "Jannik"}, {"Viganò", "Vigan"}, {"Vigano", "Vigan"}, - {"Frashud", "Farshid"} + {"Frashud", "Farshid"}, + {"Dannahauer","Dannahauer"}, + {"Sando","Sandro"} }; @@ -497,6 +514,16 @@ struct NameCorrection NameCorrection nameCorrections[] = { + {"LaurensVoerman","Meta_Shape", + "Laurens", "Voerman"}, + {"LaurensVoerman","OpenCascade", + "Laurens", "Voerman"}, + {"LaurensVoerman","Fri", + "Laurens", "Voerman"}, + {"LaurensVoerman","", + "Laurens", "Voerman"}, + {"Laurens","Loerman", + "Laurens", "Voerman"}, {"FrancoisTigeot","", "Francois", "Tigeot"}, {"Juan","Manuel", diff --git a/applications/osgviewer/osgviewer.cpp b/applications/osgviewer/osgviewer.cpp index d63726a0d9f..d790d3873d1 100644 --- a/applications/osgviewer/osgviewer.cpp +++ b/applications/osgviewer/osgviewer.cpp @@ -87,10 +87,10 @@ int main(int argc, char** argv) std::string device; while(arguments.read("--device", device)) { - osg::ref_ptr dev = osgDB::readFile(device); + osg::ref_ptr dev = osgDB::readRefFile(device); if (dev.valid()) { - viewer.addDevice(dev.get()); + viewer.addDevice(dev); } } @@ -152,7 +152,7 @@ int main(int argc, char** argv) viewer.addEventHandler(new osgViewer::ScreenCaptureHandler); // load the data - osg::ref_ptr loadedModel = osgDB::readNodeFiles(arguments); + osg::ref_ptr loadedModel = osgDB::readRefNodeFiles(arguments); if (!loadedModel) { std::cout << arguments.getApplicationName() <<": No data loaded" << std::endl; @@ -172,9 +172,9 @@ int main(int argc, char** argv) // optimize the scene graph, remove redundant nodes and state etc. osgUtil::Optimizer optimizer; - optimizer.optimize(loadedModel.get()); + optimizer.optimize(loadedModel); - viewer.setSceneData( loadedModel.get() ); + viewer.setSceneData(loadedModel); viewer.realize(); diff --git a/applications/present3D/Cluster.cpp b/applications/present3D/Cluster.cpp index 5b1180fb7b2..4c8cd7b4a74 100644 --- a/applications/present3D/Cluster.cpp +++ b/applications/present3D/Cluster.cpp @@ -33,7 +33,7 @@ #if defined(__linux) #include #include -#elif defined(__FreeBSD__) || defined(__DragonFly__) +#elif defined(__FreeBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__) #include #include #elif defined(__sgi) @@ -41,6 +41,8 @@ #include #elif defined(__CYGWIN__) #include +#elif defined (__GNU__) + #include #elif defined(__sun) #include #include @@ -338,7 +340,7 @@ void Receiver::sync( void ) } #if defined(__linux) || defined(__FreeBSD__) || defined( __APPLE__ ) || \ - defined(__DragonFly__) + defined(__DragonFly__) || defined(__FreeBSD_kernel__) || defined(__GNU__) socklen_t #else int diff --git a/applications/present3D/ReadShowFile.cpp b/applications/present3D/ReadShowFile.cpp index 09115f0e7e4..4e00bc756bc 100644 --- a/applications/present3D/ReadShowFile.cpp +++ b/applications/present3D/ReadShowFile.cpp @@ -215,24 +215,24 @@ osg::ref_ptr p3d::readShowFiles(osg::ArgumentParser& arguments,const std::string filename; while (arguments.read("--image",filename)) { - osg::ref_ptr image = readImageFile(filename.c_str(), local_options.get()); - if (image.valid()) nodeList.push_back(osg::createGeodeForImage(image.get())); + osg::ref_ptr image = readRefImageFile(filename.c_str(), local_options.get()); + if (image.valid()) nodeList.push_back(osg::createGeodeForImage(image)); } while (arguments.read("--movie",filename)) { - osg::ref_ptr image = readImageFile(filename.c_str(), local_options.get()); + osg::ref_ptr image = readRefImageFile(filename.c_str(), local_options.get()); osg::ref_ptr imageStream = dynamic_cast(image.get()); if (image.valid()) { imageStream->play(); - nodeList.push_back(osg::createGeodeForImage(imageStream.get())); + nodeList.push_back(osg::createGeodeForImage(imageStream)); } } while (arguments.read("--dem",filename)) { - osg::HeightField* hf = readHeightFieldFile(filename.c_str(), local_options.get()); + osg::ref_ptr hf = readRefHeightFieldFile(filename.c_str(), local_options.get()); if (hf) { osg::Geode* geode = new osg::Geode; @@ -247,7 +247,7 @@ osg::ref_ptr p3d::readShowFiles(osg::ArgumentParser& arguments,const if (!arguments.isOption(pos)) { // not an option so assume string is a filename. - osg::Node *node = osgDB::readNodeFile( arguments[pos], local_options.get()); + osg::ref_ptr node = osgDB::readRefNodeFile( arguments[pos], local_options.get()); if(node) { diff --git a/applications/present3D/present3D.cpp b/applications/present3D/present3D.cpp index d7c8de7354f..9d00000d30f 100644 --- a/applications/present3D/present3D.cpp +++ b/applications/present3D/present3D.cpp @@ -266,7 +266,7 @@ void processLoadedModel(osg::ref_ptr& loadedModel, int optimizer_opti void addDeviceTo(osgViewer::Viewer& viewer, const std::string& device_name, bool forward_mouse_events) { - osg::ref_ptr dev = osgDB::readFile(device_name); + osg::ref_ptr dev = osgDB::readRefFile(device_name); if (dev.valid()) { OSG_INFO << "Adding Device : " << device_name << std::endl; @@ -317,7 +317,7 @@ int main( int argc, char **argv ) if (arguments.read("-devices") || arguments.read("--devices")) { // Force load QuickTime plugin, probe video capability, exit - osgDB::readImageFile("devices.live"); + osgDB::readRefImageFile("devices.live"); return 1; } @@ -451,7 +451,7 @@ int main( int argc, char **argv ) osg::ref_ptr device_options = new osgDB::Options("documentRegisteredHandlers"); - osg::ref_ptr rest_http_device = osgDB::readFile(server_address+":"+server_port+"/"+document_root+".resthttp", device_options.get()); + osg::ref_ptr rest_http_device = osgDB::readRefFile(server_address+":"+server_port+"/"+document_root+".resthttp", device_options.get()); if (rest_http_device.valid()) { viewer.addDevice(rest_http_device.get()); diff --git a/examples/osg2cpp/osg2cpp.cpp b/examples/osg2cpp/osg2cpp.cpp index 857843c658a..c10d16b6417 100644 --- a/examples/osg2cpp/osg2cpp.cpp +++ b/examples/osg2cpp/osg2cpp.cpp @@ -85,7 +85,7 @@ int main( int argc, char **argv ) std::string filename; if (arguments.read("--shader",filename)) { - osg::ref_ptr shader = osgDB::readShaderFile(filename); + osg::ref_ptr shader = osgDB::readRefShaderFile(filename); if (shader.valid()) { std::string name = osgDB::getStrippedName(filename); diff --git a/examples/osgSSBO/osgSSBO.cpp b/examples/osgSSBO/osgSSBO.cpp index 4f556530116..ac42978eb0e 100644 --- a/examples/osgSSBO/osgSSBO.cpp +++ b/examples/osgSSBO/osgSSBO.cpp @@ -119,7 +119,6 @@ enum BufferOffset const int __numDataValuesPerChannel = OFFSET_END; const int __numChannels = 4; -const float __particleRenderScaleMultiplier = 0.3; //512x512x4x7 = 7.340.032 floats in SSBO on GPU const int NUM_ELEMENTS_X = 512; @@ -201,15 +200,10 @@ class ComputeNode : public osg::PositionAttitudeTransform ComputeNode() { - const char* envOsgFilePath = getenv("OSG_FILE_PATH"); - std::stringstream computeshaderpath; computeshaderpath << envOsgFilePath << "/shaders/osgssboComputeShader.cs"; - _computeShaderSourcePath = computeshaderpath.str(); - std::stringstream vertexshaderpath; vertexshaderpath << envOsgFilePath << "/shaders/osgssboVertexShader.vs"; - _vertexShaderSourcePath = vertexshaderpath.str(); - std::stringstream geometryshaderpath; geometryshaderpath << envOsgFilePath << "/shaders/osgssboGeometryShader.gs"; - _geometryShaderSourcePath = geometryshaderpath.str(); - std::stringstream fragmentshaderpath; fragmentshaderpath << envOsgFilePath << "/shaders/osgssboFragmentShader.fs"; - _fragmentShaderSourcePath = fragmentshaderpath.str(); + _computeShaderSourcePath = "shaders/osgssboComputeShader.cs"; + _vertexShaderSourcePath = "shaders/osgssboVertexShader.vs"; + _geometryShaderSourcePath = "shaders/osgssboGeometryShader.gs"; + _fragmentShaderSourcePath = "shaders/osgssboFragmentShader.fs"; } }; @@ -244,7 +238,7 @@ class ComputeNodeUpdateCallback : public osg::NodeCallback if (_computeNode->_computeShader.valid()) { runningSource = _computeNode->_computeShader->getShaderSource(); - reloadedshader = osg::Shader::readShaderFile(osg::Shader::COMPUTE, _computeNode->_computeShaderSourcePath); + reloadedshader = osgDB::readRefShaderFile(osg::Shader::COMPUTE, _computeNode->_computeShaderSourcePath); reloadedstring = reloadedshader->getShaderSource(); if (!osgDB::equalCaseInsensitive(runningSource.c_str(), reloadedstring.c_str())) @@ -259,7 +253,7 @@ class ComputeNodeUpdateCallback : public osg::NodeCallback { runningSource = _computeNode->_vertexShader->getShaderSource(); - reloadedshader = osg::Shader::readShaderFile(osg::Shader::VERTEX, _computeNode->_vertexShaderSourcePath); + reloadedshader = osgDB::readRefShaderFile(osg::Shader::VERTEX, _computeNode->_vertexShaderSourcePath); reloadedstring = reloadedshader->getShaderSource(); if (!osgDB::equalCaseInsensitive(runningSource.c_str(), reloadedstring.c_str())) @@ -275,7 +269,7 @@ class ComputeNodeUpdateCallback : public osg::NodeCallback if (_computeNode->_geometryShader.valid()) { runningSource = _computeNode->_geometryShader->getShaderSource(); - reloadedshader = osg::Shader::readShaderFile(osg::Shader::GEOMETRY, _computeNode->_geometryShaderSourcePath); + reloadedshader = osgDB::readRefShaderFile(osg::Shader::GEOMETRY, _computeNode->_geometryShaderSourcePath); reloadedstring = reloadedshader->getShaderSource(); if (!osgDB::equalCaseInsensitive(runningSource.c_str(), reloadedstring.c_str())) @@ -289,7 +283,7 @@ class ComputeNodeUpdateCallback : public osg::NodeCallback if (_computeNode->_fragmentShader.valid()) { runningSource = _computeNode->_fragmentShader->getShaderSource(); - reloadedshader = osg::Shader::readShaderFile(osg::Shader::FRAGMENT, _computeNode->_fragmentShaderSourcePath); + reloadedshader = osgDB::readRefShaderFile(osg::Shader::FRAGMENT, _computeNode->_fragmentShaderSourcePath); reloadedstring = reloadedshader->getShaderSource(); if (!osgDB::equalCaseInsensitive(runningSource.c_str(), reloadedstring.c_str())) @@ -312,7 +306,7 @@ class ComputeNodeUpdateCallback : public osg::NodeCallback //set OSG_FILE_PATH for loading axes.osgt void ComputeNode::addHelperGeometry() { - _helperNode = osgDB::readNodeFile("axes.osgt"); + _helperNode = osgDB::readRefNodeFile("axes.osgt"); if (_helperNode.valid()) { @@ -465,8 +459,8 @@ void ComputeNode::addDataMonitor(osg::Vec3 placement, osg::Vec3 relativePlacemen ss->setMode(GL_LIGHTING, osg::StateAttribute::OFF); //add a label - osgText::Text* text = new osgText::Text; - osgText::Font* font = osgText::readFontFile("fonts/arial.ttf"); + osg::ref_ptr text = new osgText::Text; + osg::ref_ptr font = osgText::readRefFontFile("fonts/arial.ttf"); text->setFont(font); text->setColor(osg::Vec4(1, 1, 1, 1)); text->setCharacterSize(0.1*scale); @@ -519,13 +513,13 @@ void ComputeNode::addComputationResultsRenderTree() _computationResultsRenderProgram = new osg::Program; - _vertexShader = osg::Shader::readShaderFile(osg::Shader::VERTEX, _vertexShaderSourcePath); + _vertexShader = osgDB::readRefShaderFile(osg::Shader::VERTEX, _vertexShaderSourcePath); _computationResultsRenderProgram->addShader(_vertexShader.get()); - _geometryShader = osg::Shader::readShaderFile(osg::Shader::GEOMETRY, _geometryShaderSourcePath); + _geometryShader = osgDB::readRefShaderFile(osg::Shader::GEOMETRY, _geometryShaderSourcePath); _computationResultsRenderProgram->addShader(_geometryShader.get()); - _fragmentShader = osg::Shader::readShaderFile(osg::Shader::FRAGMENT, _fragmentShaderSourcePath); + _fragmentShader = osgDB::readRefShaderFile(osg::Shader::FRAGMENT, _fragmentShaderSourcePath); _computationResultsRenderProgram->addShader(_fragmentShader.get()); @@ -630,7 +624,7 @@ void ComputeNode::initComputingSetup() _computeProgram = new osg::Program; _computeProgram->setComputeGroups((NUM_ELEMENTS_X / WORK_GROUP_SIZE) <= 1 ? 1 : (NUM_ELEMENTS_X / WORK_GROUP_SIZE), (NUM_ELEMENTS_Y / WORK_GROUP_SIZE) <= 1 ? 1 : (NUM_ELEMENTS_Y / WORK_GROUP_SIZE), 1); - _computeShader = osg::Shader::readShaderFile(osg::Shader::COMPUTE, _computeShaderSourcePath); + _computeShader = osgDB::readRefShaderFile(osg::Shader::COMPUTE, _computeShaderSourcePath); _computeProgram->addShader(_computeShader.get()); setDataVariance(osg::Object::DYNAMIC); diff --git a/examples/osganalysis/osganalysis.cpp b/examples/osganalysis/osganalysis.cpp index d4df072d31e..24b8bfa1560 100644 --- a/examples/osganalysis/osganalysis.cpp +++ b/examples/osganalysis/osganalysis.cpp @@ -504,7 +504,7 @@ class SceneGraphProcessor : public osg::Referenced optimizeVertexOrder = false; reallocateMemory = false; - + modifyTextureSettings = false; buildImageMipmaps = false; compressImages = false; @@ -524,22 +524,23 @@ class SceneGraphProcessor : public osg::Referenced bool optimizeVertexOrder; bool reallocateMemory; - + bool modifyTextureSettings; bool buildImageMipmaps; bool compressImages; bool disableMipmaps; }; -// +// class DatabasePagingOperation : public osg::Operation, public osgUtil::IncrementalCompileOperation::CompileCompletedCallback { public: DatabasePagingOperation(const std::string& filename, const std::string& outputFilename, - SceneGraphProcessor* sceneGraphProcessor, + SceneGraphProcessor* sceneGraphProcessor, osgUtil::IncrementalCompileOperation* ico): + osg::Referenced(true), Operation("DatabasePaging Operation", false), _filename(filename), _outputFilename(outputFilename), @@ -554,7 +555,7 @@ class DatabasePagingOperation : public osg::Operation, public osgUtil::Increment osg::notify(osg::NOTICE)<<"LoadAndCompileOperation "<<_filename<setTimeScale(animationSpeed); apm->setAnimationCompletedCallback(new ReportStatsAnimationCompletedCallback()); - + unsigned int num = keyswitchManipulator->getNumMatrixManipulators(); keyswitchManipulator->addMatrixManipulator( keyForAnimationPath, "Path", apm ); keyswitchManipulator->selectMatrixManipulator(num); @@ -674,7 +675,7 @@ int main(int argc, char** argv) viewer.setCameraManipulator( keyswitchManipulator.get() ); } - // set up event handlers + // set up event handlers { viewer.addEventHandler( new osgViewer::StatsHandler()); viewer.addEventHandler( new osgViewer::WindowSizeHandler() ); @@ -796,7 +797,7 @@ int main(int argc, char** argv) if (databasePagingOperation.get() && databasePagingOperation->_modelReadyToMerge) { OSG_NOTICE<<"Merging subgraph"<removeChildren(0,group->getNumChildren()); diff --git a/examples/osganimate/osganimate.cpp b/examples/osganimate/osganimate.cpp index b6cf5eb86ba..f8db214b782 100644 --- a/examples/osganimate/osganimate.cpp +++ b/examples/osganimate/osganimate.cpp @@ -136,9 +136,9 @@ osg::Node* createMovingModel(const osg::Vec3& center, float radius) osg::AnimationPath* animationPath = createAnimationPath(center,radius,animationLength); - osg::Group* model = new osg::Group; + osg::ref_ptr model = new osg::Group; - osg::Node* glider = osgDB::readNodeFile("glider.osgt"); + osg::ref_ptr glider = osgDB::readRefNodeFile("glider.osgt"); if (glider) { const osg::BoundingSphere& bs = glider->getBound(); @@ -159,7 +159,7 @@ osg::Node* createMovingModel(const osg::Vec3& center, float radius) model->addChild(xform); } - osg::Node* cessna = osgDB::readNodeFile("cessna.osgt"); + osg::ref_ptr cessna = osgDB::readRefNodeFile("cessna.osgt"); if (cessna) { const osg::BoundingSphere& bs = cessna->getBound(); @@ -173,26 +173,26 @@ osg::Node* createMovingModel(const osg::Vec3& center, float radius) positioned->addChild(cessna); - osg::MatrixTransform* xform = new osg::MatrixTransform; + osg::ref_ptr xform = new osg::MatrixTransform; xform->setUpdateCallback(new osg::AnimationPathCallback(animationPath,0.0f,2.0)); xform->addChild(positioned); model->addChild(xform); } - return model; + return model.release(); } -osg::Node* createModel(bool overlay, osgSim::OverlayNode::OverlayTechnique technique) +osg::ref_ptr createModel(bool overlay, osgSim::OverlayNode::OverlayTechnique technique) { osg::Vec3 center(0.0f,0.0f,0.0f); float radius = 100.0f; - osg::Group* root = new osg::Group; + osg::ref_ptr root = new osg::Group; float baseHeight = center.z()-radius*0.5; - osg::Node* baseModel = createBase(osg::Vec3(center.x(), center.y(), baseHeight),radius); - osg::Node* movingModel = createMovingModel(center,radius*0.8f); + osg::ref_ptr baseModel = createBase(osg::Vec3(center.x(), center.y(), baseHeight),radius); + osg::ref_ptr movingModel = createMovingModel(center,radius*0.8f); if (overlay) { @@ -232,14 +232,14 @@ int main( int argc, char **argv ) osgViewer::Viewer viewer; // load the nodes from the commandline arguments. - osg::Node* model = createModel(overlay, technique); + osg::ref_ptr model = createModel(overlay, technique); if (!model) { return 1; } // tilt the scene so the default eye position is looking down on the model. - osg::MatrixTransform* rootnode = new osg::MatrixTransform; + osg::ref_ptr rootnode = new osg::MatrixTransform; rootnode->setMatrix(osg::Matrix::rotate(osg::inDegrees(30.0f),1.0f,0.0f,0.0f)); rootnode->addChild(model); diff --git a/examples/osganimationhardware/osganimationhardware.cpp b/examples/osganimationhardware/osganimationhardware.cpp index d7f1fa70170..afd56015caf 100644 --- a/examples/osganimationhardware/osganimationhardware.cpp +++ b/examples/osganimationhardware/osganimationhardware.cpp @@ -1,14 +1,14 @@ -/* -*-c++-*- +/* -*-c++-*- * Copyright (C) 2009 Cedric Pinson * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or + * This library is open source and may be redistributed and/or modified under + * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * included with this distribution, and on the openscenegraph.org website. - * + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * OpenSceneGraph Public License for more details. */ @@ -110,7 +110,7 @@ struct MyRigTransformHardware : public osgAnimation::RigTransformHardware osg::notify(osg::INFO) << "set vertex attrib " << ss.str() << std::endl; } - } + } for (int i = 0; i < nbAttribs; i++) { std::stringstream ss; @@ -134,7 +134,7 @@ struct SetupRigGeometry : public osg::NodeVisitor { bool _hardware; SetupRigGeometry( bool hardware = true) : osg::NodeVisitor(osg::NodeVisitor::TRAVERSE_ALL_CHILDREN), _hardware(hardware) {} - + void apply(osg::Geode& geode) { for (unsigned int i = 0; i < geode.getNumDrawables(); i++) @@ -173,7 +173,7 @@ osg::Group* createCharacterInstance(osg::Group* character, bool hardware) anim->playAnimation(list[v].get()); v = (v + 1)%list.size(); } - + anim->playAnimation(list[v].get()); SetupRigGeometry switcher(hardware); @@ -196,9 +196,9 @@ int main (int argc, char* argv[]) while (psr.read("--software")) { hardware = false; } while (psr.read("--number", maxChar)) {} - - osg::ref_ptr root = dynamic_cast(osgDB::readNodeFiles(psr)); - if (!root) + osg::ref_ptr node = osgDB::readRefNodeFiles(psr); + osg::ref_ptr root = dynamic_cast(node.get()); + if (!root) { std::cout << psr.getApplicationName() <<": No data loaded" << std::endl; return 1; @@ -206,7 +206,7 @@ int main (int argc, char* argv[]) { osgAnimation::AnimationManagerBase* animationManager = dynamic_cast(root->getUpdateCallback()); - if(!animationManager) + if(!animationManager) { osg::notify(osg::FATAL) << "no AnimationManagerBase found, updateCallback need to animate elements" << std::endl; return 1; @@ -218,13 +218,13 @@ int main (int argc, char* argv[]) // add the state manipulator viewer.addEventHandler( new osgGA::StateSetManipulator(viewer.getCamera()->getOrCreateStateSet()) ); - + // add the thread model handler viewer.addEventHandler(new osgViewer::ThreadingHandler); // add the window size toggle handler viewer.addEventHandler(new osgViewer::WindowSizeHandler); - + // add the stats handler viewer.addEventHandler(new osgViewer::StatsHandler); diff --git a/examples/osganimationmorph/osganimationmorph.cpp b/examples/osganimationmorph/osganimationmorph.cpp index 75dcbc8d653..8506bb49fce 100644 --- a/examples/osganimationmorph/osganimationmorph.cpp +++ b/examples/osganimationmorph/osganimationmorph.cpp @@ -1,14 +1,14 @@ -/* -*-c++-*- +/* -*-c++-*- * Copyright (C) 2008 Cedric Pinson * - * This library is open source and may be redistributed and/or modified under - * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or + * This library is open source and may be redistributed and/or modified under + * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * included with this distribution, and on the openscenegraph.org website. - * + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * OpenSceneGraph Public License for more details. */ @@ -33,11 +33,11 @@ struct GeometryFinder : public osg::NodeVisitor { osg::ref_ptr _geom; GeometryFinder() : osg::NodeVisitor(osg::NodeVisitor::TRAVERSE_ALL_CHILDREN) {} - void apply(osg::Geode& geode) + void apply(osg::Geode& geode) { if (_geom.valid()) return; - for (unsigned int i = 0; i < geode.getNumDrawables(); i++) + for (unsigned int i = 0; i < geode.getNumDrawables(); i++) { osg::Geometry* geom = dynamic_cast(geode.getDrawable(i)); if (geom) { @@ -50,7 +50,7 @@ struct GeometryFinder : public osg::NodeVisitor osg::ref_ptr getShape(const std::string& name) { - osg::ref_ptr shape0 = osgDB::readNodeFile(name); + osg::ref_ptr shape0 = osgDB::readRefNodeFile(name); if (shape0) { GeometryFinder finder; @@ -104,7 +104,7 @@ int main (int argc, char* argv[]) osg::Group* scene = new osg::Group; scene->addUpdateCallback(bam); - + osg::Geode* geode = new osg::Geode; geode->addDrawable(morph); geode->addUpdateCallback(new osgAnimation::UpdateMorph("MorphNodeCallback")); diff --git a/examples/osganimationtimeline/osganimationtimeline.cpp b/examples/osganimationtimeline/osganimationtimeline.cpp index 9efedbe0e6b..677d682c7cf 100644 --- a/examples/osganimationtimeline/osganimationtimeline.cpp +++ b/examples/osganimationtimeline/osganimationtimeline.cpp @@ -163,7 +163,8 @@ int main (int argc, char* argv[]) file = psr[1]; // replace the manager - osg::Group* root = dynamic_cast(osgDB::readNodeFile(file)); + osg::ref_ptr loadedmodel = osgDB::readRefNodeFile(file); + osg::Group* root = dynamic_cast(loadedmodel.get()); if (!root) { osg::notify(osg::FATAL) << "can't read file " << file << std::endl; return 1; diff --git a/examples/osganimationviewer/AnimtkViewer.cpp b/examples/osganimationviewer/AnimtkViewer.cpp index a9a22a12145..d4a59f42302 100644 --- a/examples/osganimationviewer/AnimtkViewer.cpp +++ b/examples/osganimationviewer/AnimtkViewer.cpp @@ -127,7 +127,8 @@ int main(int argc, char** argv) osgViewer::Viewer viewer(arguments); osg::ref_ptr group = new osg::Group(); - osg::Group* node = dynamic_cast(osgDB::readNodeFiles(arguments)); //dynamic_cast(osgDB::readNodeFile(psr[1])); + osg::ref_ptr loadedmodel = osgDB::readRefNodeFiles(arguments); + osg::Group* node = dynamic_cast(loadedmodel.get()); if(!node) { std::cout << arguments.getApplicationName() <<": No data loaded" << std::endl; diff --git a/examples/osgatomiccounter/osgatomiccounter.cpp b/examples/osgatomiccounter/osgatomiccounter.cpp index 9f58c86422d..6364d988ee7 100644 --- a/examples/osgatomiccounter/osgatomiccounter.cpp +++ b/examples/osgatomiccounter/osgatomiccounter.cpp @@ -165,7 +165,7 @@ int main(int argc, char** argv) viewer.addEventHandler(new osgViewer::ScreenCaptureHandler); // load the data - osg::ref_ptr loadedModel = osgDB::readNodeFiles(arguments); + osg::ref_ptr loadedModel = osgDB::readRefNodeFiles(arguments); if (!loadedModel) { osg::Geometry * quad = osg::createTexturedQuadGeometry(osg::Vec3f(-2.0f, 0.0f, -2.0f), diff --git a/examples/osgautocapture/osgautocapture.cpp b/examples/osgautocapture/osgautocapture.cpp index 48e56459b20..be19ef22a07 100644 --- a/examples/osgautocapture/osgautocapture.cpp +++ b/examples/osgautocapture/osgautocapture.cpp @@ -28,7 +28,7 @@ #include #include #include - + #include #include @@ -41,7 +41,7 @@ class FindTopMostNodeOfTypeVisitor : public osg::NodeVisitor osg::NodeVisitor(osg::NodeVisitor::TRAVERSE_ALL_CHILDREN), _foundNode(0) {} - + void apply(osg::Node& node) { T* result = dynamic_cast(&node); @@ -50,7 +50,7 @@ class FindTopMostNodeOfTypeVisitor : public osg::NodeVisitor else traverse(node); } - + T* _foundNode; }; @@ -62,21 +62,21 @@ T* findTopMostNodeOfType(osg::Node* node) FindTopMostNodeOfTypeVisitor fnotv; node->accept(fnotv); - + return fnotv._foundNode; } /** Capture the frame buffer and write image to disk*/ class WindowCaptureCallback : public osg::Camera::DrawCallback { -public: +public: WindowCaptureCallback(GLenum readBuffer, const std::string& name): _readBuffer(readBuffer), _fileName(name) { _image = new osg::Image; } - + virtual void operator () (osg::RenderInfo& renderInfo) const { #if !defined(OSG_GLES1_AVAILABLE) && !defined(OSG_GLES2_AVAILABLE) @@ -93,9 +93,9 @@ class WindowCaptureCallback : public osg::Camera::DrawCallback if (gc->getTraits()->alpha) pixelFormat = GL_RGBA; - else + else pixelFormat = GL_RGB; - + #if defined(OSG_GLES1_AVAILABLE) || defined(OSG_GLES2_AVAILABLE) if (pixelFormat == GL_RGB) { @@ -118,7 +118,7 @@ class WindowCaptureCallback : public osg::Camera::DrawCallback _image->readPixels(0, 0, width, height, pixelFormat, GL_UNSIGNED_BYTE); } - + if (!_fileName.empty()) { std::cout << "Writing to: " << _fileName << std::endl; @@ -126,7 +126,7 @@ class WindowCaptureCallback : public osg::Camera::DrawCallback } } -protected: +protected: GLenum _readBuffer; std::string _fileName; osg::ref_ptr _image; @@ -138,7 +138,7 @@ class WindowCaptureCallback : public osg::Camera::DrawCallback class CustomRenderer : public osgViewer::Renderer { public: - CustomRenderer(osg::Camera* camera) + CustomRenderer(osg::Camera* camera) : osgViewer::Renderer(camera), _cullOnly(true) { @@ -162,19 +162,19 @@ class CustomRenderer : public osgViewer::Renderer { osgUtil::SceneView* sceneView = _sceneView[0].get(); if (!sceneView || _done ) return; - + updateSceneView(sceneView); - + osgViewer::View* view = dynamic_cast(_camera->getView()); if (view) sceneView->setFusionDistance(view->getFusionDistanceMode(), view->getFusionDistanceValue()); sceneView->inheritCullSettings(*(sceneView->getCamera())); sceneView->cull(); } - + bool _cullOnly; }; - + //=============================================================== // MAIN @@ -287,8 +287,8 @@ int main( int argc, char **argv ) } // load the data - osg::ref_ptr loadedModel = osgDB::readNodeFiles(arguments); - if (!loadedModel) + osg::ref_ptr loadedModel = osgDB::readRefNodeFiles(arguments); + if (!loadedModel) { std::cout << arguments.getApplicationName() <<": No data loaded" << std::endl; return 1; @@ -309,7 +309,7 @@ int main( int argc, char **argv ) { osg::CoordinateSystemNode* csn = findTopMostNodeOfType(loadedModel.get()); if(!csn) return 1; - + // Compute eye point in world coordiantes osg::Vec3d eye; csn->getEllipsoidModel()->convertLatLongHeightToXYZ(lat, lon, alt, eye.x(), eye.y(), eye.z()); @@ -331,11 +331,11 @@ int main( int argc, char **argv ) osg::Vec3d up_cross_tangent = up ^ tangent; osg::Matrixd incline_matrix = osg::Matrixd::rotate(incline, up_cross_tangent); osg::Vec3d target = incline_matrix.preMult(tangent); - + // Roll by rotating the up vector around the target vector ... osg::Matrixd roll_matrix = incline_matrix * osg::Matrixd::rotate(roll, target); up = roll_matrix.preMult(up); - + viewer.getCamera()->setViewMatrixAsLookAt(eye, eye+target, up); } else @@ -349,10 +349,10 @@ int main( int argc, char **argv ) keyswitchManipulator->addMatrixManipulator( '3', "Drive", new osgGA::DriveManipulator() ); keyswitchManipulator->addMatrixManipulator( '4', "Terrain", new osgGA::TerrainManipulator() ); - viewer.setCameraManipulator( keyswitchManipulator.get() ); + viewer.setCameraManipulator( keyswitchManipulator.get() ); } - + // Optimize DatabasePager for auto-capture osgDB::DatabasePager* pager = viewer.getDatabasePager(); pager->setDoPreCompile(false); @@ -374,9 +374,9 @@ int main( int argc, char **argv ) // Initiate the first PagedLOD request viewer.frame(); - + osg::Timer_t beforeLoadTick = osg::Timer::instance()->tick(); - + // Keep updating and culling until full level of detail is reached while(!viewer.done() && pager->getRequestsInProgress()) { @@ -385,14 +385,14 @@ int main( int argc, char **argv ) viewer.renderingTraversals(); } // std::cout<tick(); std::cout<<"Load and Compile time = "<delta_s(beforeLoadTick, afterLoadTick)<<" seconds"<setCullOnly(false); - - + + //--- Capture the image!!! --- if (!activeMode) { diff --git a/examples/osgbillboard/osgbillboard.cpp b/examples/osgbillboard/osgbillboard.cpp index a6243e87367..8c0a7727fe6 100644 --- a/examples/osgbillboard/osgbillboard.cpp +++ b/examples/osgbillboard/osgbillboard.cpp @@ -42,10 +42,10 @@ typedef std::vector< osg::ref_ptr > ImageList; /** create quad at specified position. */ -osg::Drawable* createSquare(const osg::Vec3& corner,const osg::Vec3& width,const osg::Vec3& height, osg::Image* image=NULL) +osg::Drawable* createSquare(const osg::Vec3& corner,const osg::Vec3& width,const osg::Vec3& height, osg::ref_ptr image) { // set up the Geometry. - osg::Geometry* geom = new osg::Geometry; + osg::ref_ptr geom = new osg::Geometry; osg::Vec3Array* coords = new osg::Vec3Array(4); (*coords)[0] = corner; @@ -80,13 +80,13 @@ osg::Drawable* createSquare(const osg::Vec3& corner,const osg::Vec3& width,const geom->setStateSet(stateset); } - return geom; + return geom.release(); } osg::Drawable* createAxis(const osg::Vec3& corner,const osg::Vec3& xdir,const osg::Vec3& ydir,const osg::Vec3& zdir) { // set up the Geometry. - osg::Geometry* geom = new osg::Geometry; + osg::ref_ptr geom = new osg::Geometry; osg::Vec3Array* coords = new osg::Vec3Array(6); (*coords)[0] = corner; @@ -121,20 +121,20 @@ osg::Drawable* createAxis(const osg::Vec3& corner,const osg::Vec3& xdir,const os stateset->setMode(GL_LIGHTING,osg::StateAttribute::OFF); geom->setStateSet(stateset); - return geom; + return geom.release(); } -osg::Node* createModel() +osg::ref_ptr createModel() { // create the root node which will hold the model. - osg::Group* root = new osg::Group(); + osg::ref_ptr root = new osg::Group(); // add the drawable into a single geode to be shared... osg::Billboard* center = new osg::Billboard(); center->setMode(osg::Billboard::POINT_ROT_EYE); center->addDrawable( - createSquare(osg::Vec3(-0.5f,0.0f,-0.5f),osg::Vec3(1.0f,0.0f,0.0f),osg::Vec3(0.0f,0.0f,1.0f),osgDB::readImageFile("Images/reflect.rgb")), + createSquare(osg::Vec3(-0.5f,0.0f,-0.5f),osg::Vec3(1.0f,0.0f,0.0f),osg::Vec3(0.0f,0.0f,1.0f),osgDB::readRefImageFile("Images/reflect.rgb")), osg::Vec3(0.0f,0.0f,0.0f)); osg::Billboard* x_arrow = new osg::Billboard(); @@ -142,7 +142,7 @@ osg::Node* createModel() x_arrow->setAxis(osg::Vec3(1.0f,0.0f,0.0f)); x_arrow->setNormal(osg::Vec3(0.0f,-1.0f,0.0f)); x_arrow->addDrawable( - createSquare(osg::Vec3(-0.5f,0.0f,-0.5f),osg::Vec3(1.0f,0.0f,0.0f),osg::Vec3(0.0f,0.0f,1.0f),osgDB::readImageFile("Cubemap_axis/posx.png")), + createSquare(osg::Vec3(-0.5f,0.0f,-0.5f),osg::Vec3(1.0f,0.0f,0.0f),osg::Vec3(0.0f,0.0f,1.0f),osgDB::readRefImageFile("Cubemap_axis/posx.png")), osg::Vec3(5.0f,0.0f,0.0f)); osg::Billboard* y_arrow = new osg::Billboard(); @@ -150,7 +150,7 @@ osg::Node* createModel() y_arrow->setAxis(osg::Vec3(0.0f,1.0f,0.0f)); y_arrow->setNormal(osg::Vec3(1.0f,0.0f,0.0f)); y_arrow->addDrawable( - createSquare(osg::Vec3(0.0f,-0.5f,-0.5f),osg::Vec3(0.0f,1.0f,0.0f),osg::Vec3(0.0f,0.0f,1.0f),osgDB::readImageFile("Cubemap_axis/posy.png")), + createSquare(osg::Vec3(0.0f,-0.5f,-0.5f),osg::Vec3(0.0f,1.0f,0.0f),osg::Vec3(0.0f,0.0f,1.0f),osgDB::readRefImageFile("Cubemap_axis/posy.png")), osg::Vec3(0.0f,5.0f,0.0f)); osg::Billboard* z_arrow = new osg::Billboard(); @@ -158,7 +158,7 @@ osg::Node* createModel() z_arrow->setAxis(osg::Vec3(0.0f,0.0f,1.0f)); z_arrow->setNormal(osg::Vec3(0.0f,-1.0f,0.0f)); z_arrow->addDrawable( - createSquare(osg::Vec3(-0.5f,0.0f,-0.5f),osg::Vec3(1.0f,0.0f,0.0f),osg::Vec3(0.0f,0.0f,1.0f),osgDB::readImageFile("Cubemap_axis/posz.png")), + createSquare(osg::Vec3(-0.5f,0.0f,-0.5f),osg::Vec3(1.0f,0.0f,0.0f),osg::Vec3(0.0f,0.0f,1.0f),osgDB::readRefImageFile("Cubemap_axis/posz.png")), osg::Vec3(0.0f,0.0f,5.0f)); diff --git a/examples/osgblenddrawbuffers/osgblenddrawbuffers.cpp b/examples/osgblenddrawbuffers/osgblenddrawbuffers.cpp index 91ef96dc8ca..c8b2032841d 100644 --- a/examples/osgblenddrawbuffers/osgblenddrawbuffers.cpp +++ b/examples/osgblenddrawbuffers/osgblenddrawbuffers.cpp @@ -71,9 +71,17 @@ int main( int argc, char **argv ) bool useGlobalBlending = false; if ( arguments.read("--no-draw-buffers") ) useGlobalBlending = true; + + osg::ref_ptr cessna = osgDB::readRefNodeFile("cessna.osgt"); + if (!cessna) + { + OSG_NOTICE<<"Cannot not find model 'cessna.osg' to render"<addChild( osgDB::readNodeFile("cessna.osgt") ); + osg::ref_ptr mrtCam = createMRTCamera( textures ); + mrtCam->addChild( cessna ); // Create shader program to be used const char* mrtFragmentCode = { @@ -87,8 +95,8 @@ int main( int argc, char **argv ) osg::ref_ptr program = new osg::Program; program->addShader( new osg::Shader(osg::Shader::FRAGMENT, mrtFragmentCode) ); - osg::StateSet* ss = mrtCam->getOrCreateStateSet(); - ss->setAttributeAndModes( program.get() ); + osg::ref_ptr ss = mrtCam->getOrCreateStateSet(); + ss->setAttributeAndModes( program ); // Apply blending to the original scene in MRT if ( !useGlobalBlending ) @@ -103,8 +111,8 @@ int main( int argc, char **argv ) // Accept different blend/colormask attributes on multiple render targets osg::ref_ptr blend0 = new osg::BlendFunci(0, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); osg::ref_ptr colormask3 = new osg::ColorMaski(3, false, true, false, true); - ss->setAttribute( blend0.get() ); - ss->setAttributeAndModes( colormask3.get() ); + ss->setAttribute( blend0 ); + ss->setAttributeAndModes( colormask3 ); } else { diff --git a/examples/osgblendequation/osgblendequation.cpp b/examples/osgblendequation/osgblendequation.cpp index c1a5e4558cf..2c0d993d72f 100644 --- a/examples/osgblendequation/osgblendequation.cpp +++ b/examples/osgblendequation/osgblendequation.cpp @@ -139,10 +139,10 @@ int main( int argc, char **argv ) osgViewer::Viewer viewer; // load the nodes from the commandline arguments. - osg::Node* loadedModel = osgDB::readNodeFiles(arguments); + osg::ref_ptr loadedModel = osgDB::readRefNodeFiles(arguments); // if not loaded assume no arguments passed in, try use default mode instead. - if (!loadedModel) loadedModel = osgDB::readNodeFile("cessnafire.osgt"); + if (!loadedModel) loadedModel = osgDB::readRefNodeFile("cessnafire.osgt"); if (!loadedModel) { @@ -150,11 +150,11 @@ int main( int argc, char **argv ) return 1; } - osg::Group* root = new osg::Group; + osg::ref_ptr root = new osg::Group; root->addChild(loadedModel); - osg::StateSet* stateset = new osg::StateSet; + osg::ref_ptr stateset = new osg::StateSet; stateset->setDataVariance(osg::Object::DYNAMIC); osg::BlendEquation* blendEquation = new osg::BlendEquation(osg::BlendEquation::FUNC_ADD); diff --git a/examples/osgcallback/osgcallback.cpp b/examples/osgcallback/osgcallback.cpp index ea04bd6a2f9..499d65c1056 100644 --- a/examples/osgcallback/osgcallback.cpp +++ b/examples/osgcallback/osgcallback.cpp @@ -239,10 +239,10 @@ int main( int argc, char **argv ) } else { - rootnode = osgDB::readNodeFiles(arguments); + rootnode = osgDB::readRefNodeFiles(arguments); // if not loaded assume no arguments passed in, try use default mode instead. - if (!rootnode) rootnode = osgDB::readNodeFile("cow.osgt"); + if (!rootnode) rootnode = osgDB::readRefNodeFile("cow.osgt"); if (!rootnode) { diff --git a/examples/osgcamera/osgcamera.cpp b/examples/osgcamera/osgcamera.cpp index ec4fce8b267..af585549e74 100644 --- a/examples/osgcamera/osgcamera.cpp +++ b/examples/osgcamera/osgcamera.cpp @@ -25,50 +25,50 @@ #include #include -class ModelHandler : public osgGA::GUIEventHandler +class ModelHandler : public osgGA::GUIEventHandler { -public: +public: ModelHandler(): _position(0) {} - + typedef std::vector Filenames; Filenames _filenames; unsigned int _position; - + void add(const std::string& filename) { _filenames.push_back(filename); } - + bool handle(const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& aa) { osgViewer::Viewer* viewer = dynamic_cast(&aa); if (!viewer) return false; - + if (_filenames.empty()) return false; - + switch(ea.getEventType()) { case(osgGA::GUIEventAdapter::KEYUP): { if (ea.getKey()=='l') - { - osg::ref_ptr model = osgDB::readNodeFile( _filenames[_position] ); + { + osg::ref_ptr model = osgDB::readRefNodeFile( _filenames[_position] ); ++_position; if (_position>=_filenames.size()) _position = 0; - + if (model.valid()) { viewer->setSceneData(model.get()); } - + return true; } } default: break; } - + return false; } - + bool _done; }; @@ -76,12 +76,12 @@ class ModelHandler : public osgGA::GUIEventHandler void singleWindowMultipleCameras(osgViewer::Viewer& viewer) { osg::GraphicsContext::WindowingSystemInterface* wsi = osg::GraphicsContext::getWindowingSystemInterface(); - if (!wsi) + if (!wsi) { osg::notify(osg::NOTICE)<<"Error, no WindowSystemInterface available, cannot create windows."<getScreenResolution(osg::GraphicsContext::ScreenIdentifier(0), width, height); @@ -127,12 +127,12 @@ void singleWindowMultipleCameras(osgViewer::Viewer& viewer) void multipleWindowMultipleCameras(osgViewer::Viewer& viewer, bool multipleScreens) { osg::GraphicsContext::WindowingSystemInterface* wsi = osg::GraphicsContext::getWindowingSystemInterface(); - if (!wsi) + if (!wsi) { osg::notify(osg::NOTICE)<<"Error, no WindowSystemInterface available, cannot create windows."<getScreenResolution(osg::GraphicsContext::ScreenIdentifier(0), width, height); @@ -198,7 +198,7 @@ int main( int argc, char **argv ) // use an ArgumentParser object to manage the program arguments. osg::ArgumentParser arguments(&argc,argv); - if (argc<2) + if (argc<2) { std::cout << argv[0] <<": requires filename argument." << std::endl; return 1; @@ -214,7 +214,7 @@ int main( int argc, char **argv ) osg::ref_ptr model; if (sharedModel) { - model = osgDB::readNodeFiles(arguments); + model = osgDB::readRefNodeFiles(arguments); if (!model) return 0; if (enableVBO) @@ -242,7 +242,7 @@ int main( int argc, char **argv ) if (sharedModel) viewer.setSceneData(model.get()); else { - osg::ref_ptr node = osgDB::readNodeFiles(arguments); + osg::ref_ptr node = osgDB::readRefNodeFiles(arguments); if (!node) return 0; if (enableVBO) @@ -268,19 +268,19 @@ int main( int argc, char **argv ) while (arguments.read("-p",pathfile)) { apm = new osgGA::AnimationPathManipulator(pathfile); - if (!apm.valid() || !(apm->valid()) ) + if (!apm.valid() || !(apm->valid()) ) { apm = 0; } } osgViewer::Viewer viewer(arguments); - + while (arguments.read("-s")) { viewer.setThreadingModel(osgViewer::Viewer::SingleThreaded); } while (arguments.read("-g")) { viewer.setThreadingModel(osgViewer::Viewer::CullDrawThreadPerContext); } while (arguments.read("-d")) { viewer.setThreadingModel(osgViewer::Viewer::DrawThreadPerContext); } while (arguments.read("-c")) { viewer.setThreadingModel(osgViewer::Viewer::CullThreadPerCameraDrawThreadPerContext); } - + bool limitNumberOfFrames = false; unsigned int maxFrames = 10; while (arguments.read("--run-till-frame-number",maxFrames)) { limitNumberOfFrames = true; } @@ -292,7 +292,7 @@ int main( int argc, char **argv ) if (apm.valid()) viewer.setCameraManipulator(apm.get()); else viewer.setCameraManipulator( new osgGA::TrackballManipulator() ); - + viewer.addEventHandler(new osgViewer::StatsHandler); viewer.addEventHandler(new osgViewer::ThreadingHandler); @@ -300,7 +300,7 @@ int main( int argc, char **argv ) while (arguments.read("--config", configfile)) { osg::notify(osg::NOTICE)<<"Trying to read config file "< object = osgDB::readObjectFile(configfile); + osg::ref_ptr object = osgDB::readRefObjectFile(configfile); osgViewer::View* view = dynamic_cast(object.get()); if (view) { @@ -329,19 +329,19 @@ int main( int argc, char **argv ) else { // load the scene. - osg::ref_ptr loadedModel = osgDB::readNodeFiles(arguments); + osg::ref_ptr loadedModel = osgDB::readRefNodeFiles(arguments); - if (!loadedModel) loadedModel = osgDB::readNodeFile("cow.osgt"); + if (!loadedModel) loadedModel = osgDB::readRefNodeFile("cow.osgt"); - if (!loadedModel) + if (!loadedModel) { std::cout << argv[0] <<": No data loaded." << std::endl; return 1; } - viewer.setSceneData(loadedModel.get()); + viewer.setSceneData(loadedModel); } - + viewer.realize(); unsigned int numFrames = 0; diff --git a/examples/osgcatch/osgcatch.cpp b/examples/osgcatch/osgcatch.cpp index 85fbe81e05c..09cbb25e600 100644 --- a/examples/osgcatch/osgcatch.cpp +++ b/examples/osgcatch/osgcatch.cpp @@ -55,11 +55,11 @@ class Character : public osg::Referenced { public: Character(); - + void setCharacter(const std::string& filename, const std::string& name, const osg::Vec3& orgin, const osg::Vec3& width, const osg::Vec3& catchPos, float positionRatio); - + void setLives(const std::string& filename, const osg::Vec3& orgin, const osg::Vec3& delta, unsigned int numLives); - + void setCatches(const std::string& filename, const osg::Vec3& orgin, const osg::Vec3& delta, unsigned int numLives); void moveLeft(); @@ -71,7 +71,7 @@ class Character : public osg::Referenced void resetCatches(); bool addCatch(); - + bool looseLife(); osg::Vec3 getCurrentCenterOfBasket() const { return _character->getPosition()+_centerBasket; } @@ -91,12 +91,12 @@ class Character : public osg::Referenced unsigned int _numCatches; osg::ref_ptr _catchSwitch; - + osg::ref_ptr _objectsGroup; - + osg::Vec3 _centerBasket; float _radiusBasket; - + }; Character::Character(): @@ -117,7 +117,7 @@ void Character::setCharacter(const std::string& filename, const std::string& nam float _characterSize = _width.length()*0.2f; - osg::Image* image = osgDB::readImageFile(filename); + osg::ref_ptr image = osgDB::readRefImageFile(filename); if (image) { osg::Vec3 pos(-0.5f*_characterSize,0.0f,0.0f); @@ -136,14 +136,14 @@ void Character::setCharacter(const std::string& filename, const std::string& nam _character = new osg::PositionAttitudeTransform; _character->setName(name); _character->addChild(geode); - + moveTo(positionRatio); _centerBasket = width*catchPos.x() + height*catchPos.y() + pos; _radiusBasket = width.length()*catchPos.z(); } - + } void Character::setLives(const std::string& filename, const osg::Vec3& origin, const osg::Vec3& delta, unsigned int numLives) @@ -153,7 +153,7 @@ void Character::setLives(const std::string& filename, const osg::Vec3& origin, c _numLives = numLives; _livesSwitch = new osg::Switch; - osg::Image* image = osgDB::readImageFile(filename); + osg::ref_ptr image = osgDB::readRefImageFile(filename); if (image) { osg::StateSet* stateset = _livesSwitch->getOrCreateStateSet(); @@ -186,7 +186,7 @@ void Character::setCatches(const std::string& filename, const osg::Vec3& origin, _numCatches = 0; _catchSwitch = new osg::Switch; - osg::Image* image = osgDB::readImageFile(filename); + osg::ref_ptr image = osgDB::readRefImageFile(filename); if (image) { osg::StateSet* stateset = _catchSwitch->getOrCreateStateSet(); @@ -249,20 +249,20 @@ void Character::resetCatches() bool Character::addCatch() { if (!_catchSwitch || _numCatches>=_catchSwitch->getNumChildren()) return false; - + _catchSwitch->setValue(_numCatches,true); ++_numCatches; - + return true; } bool Character::looseLife() { if (!_livesSwitch || _numLives==0) return false; - + --_numLives; _livesSwitch->setValue(_numLives,false); - + return (_numLives!=0); } @@ -279,21 +279,21 @@ class CatchableObject : public osg::Referenced bool anyInside(const osg::Vec3& lower_left, const osg::Vec3& top_right); bool centerInside(const osg::Vec3& center, float radius); - + void explode(); - + bool dangerous() { return _dangerous; } void stop() { _stopped = true; } - + bool stopped() { return _stopped; } - + void setTimeToRemove(double time) { _timeToRemove=time; } - + double getTimeToRemove() { return _timeToRemove; } - + bool needToRemove(double time) { return _timeToRemove>=0.0 && time>_timeToRemove; } - + osg::ref_ptr _object; osg::Vec3 _velocity; float _mass; @@ -307,7 +307,7 @@ class CatchableObject : public osg::Referenced static void setUpCatchablesMap(const FileList& fileList); public: - + // update position and velocity void update(double dt); @@ -317,7 +317,7 @@ class CatchableObject : public osg::Referenced _viscosity = v; _viscosityCoefficient = 6 * osg::PI * _viscosity; } - + /// Get the viscosity of the fluid. inline float getFluidViscosity() const { return _viscosity; } @@ -330,17 +330,17 @@ class CatchableObject : public osg::Referenced /// Get the density of the fluid. inline float getFluidDensity() const { return _density; } - - + + /// Set the wind vector. inline void setWind(const osg::Vec3& wind) { _wind = wind; } - + /// Get the wind vector. inline const osg::Vec3& getWind() const { return _wind; } - + /// Set the acceleration vector. inline void setAcceleration(const osg::Vec3& v) { _acceleration = v; } - + /// Get the acceleration vector. inline const osg::Vec3& getAcceleration() const { return _acceleration; } @@ -349,22 +349,22 @@ class CatchableObject : public osg::Referenced */ inline void setToGravity(float scale = 1.0f) { _acceleration.set(0, 0, -9.81f*scale); } - /// Set the fluid parameters as for air (20C temperature). + /// Set the fluid parameters as for air (20C temperature). inline void setFluidToAir() { setToGravity(1.0f); setFluidDensity(1.2929f); setFluidViscosity(1.8e-5f); } - - /// Set the fluid parameters as for pure water (20C temperature). + + /// Set the fluid parameters as for pure water (20C temperature). inline void setFluidToWater() { setToGravity(1.0f); setFluidDensity(1.0f); setFluidViscosity(1.002e-3f); } - + protected: @@ -375,15 +375,15 @@ class CatchableObject : public osg::Referenced float _viscosityCoefficient; float _densityCoefficeint; - - + + }; CatchableObject::CatchableObject() { _stopped = false; _dangerous = false; - + _timeToRemove = -1.0; // do not remove. setFluidToAir(); } @@ -395,14 +395,14 @@ void CatchableObject::setUpCatchablesMap(const FileList& fileList) ++itr) { const std::string& filename = *itr; - osg::Image* image = osgDB::readImageFile(filename); + osg::ref_ptr image = osgDB::readRefImageFile(filename); if (image) { osg::ref_ptr stateset = new osg::StateSet(); stateset->setTextureAttributeAndModes(0,new osg::Texture2D(image),osg::StateAttribute::ON); stateset->setMode(GL_BLEND,osg::StateAttribute::ON); stateset->setRenderingHint(osg::StateSet::TRANSPARENT_BIN); - + osg::Vec3 width((float)(image->s())/(float)(image->t()),0.0f,0.0); osg::Vec3 height(0.0f,0.0f,1.0f); osg::Vec3 pos = (width+height)*-0.5f; @@ -455,8 +455,8 @@ void CatchableObject::update(double dt) osg::Vec3 force = _acceleration * (_mass - _density*Volume); // compute force due to friction - osg::Vec3 relative_wind = _velocity-_wind; - force -= relative_wind * Area * (_viscosityCoefficient + _densityCoefficeint*relative_wind.length()); + osg::Vec3 relative_wind = _velocity-_wind; + force -= relative_wind * Area * (_viscosityCoefficient + _densityCoefficeint*relative_wind.length()); // divide force by mass to get acceleration. _velocity += force*(dt/_mass); @@ -466,7 +466,7 @@ void CatchableObject::update(double dt) bool CatchableObject::anyInside(const osg::Vec3& lower_left, const osg::Vec3& upper_right) { osg::Vec3 pos = _object->getPosition(); - + if (pos.x()+_radius < lower_left.x()) return false; if (pos.x()-_radius > upper_right.x()) return false; if (pos.z()+_radius < lower_left.z()) return false; @@ -513,20 +513,20 @@ class GameEventHandler : public osgGA::GUIEventHandler public: GameEventHandler(); - + META_Object(osgStereImageApp,GameEventHandler); virtual bool handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionAdapter&); - + virtual void getUsage(osg::ApplicationUsage& usage) const; - + osg::Matrix getCameraPosition(); - + void compileGLObjects(osg::State& state) { osgUtil::GLObjectsVisitor compile; compile.setState(&state); - + for(ObjectMap::iterator itr = s_objectMap.begin(); itr != s_objectMap.end(); ++itr) @@ -534,14 +534,14 @@ class GameEventHandler : public osgGA::GUIEventHandler itr->second->accept(compile); } } - + osg::Node* createScene(); - + void setFOVY(float fovy) { _fovy = fovy; } float getFOVY() const { return _fovy; } - + void createNewCatchable(); - + void clearCatchables() { for(CatchableObjectList::iterator itr=_catchableObjects.begin(); @@ -562,7 +562,7 @@ class GameEventHandler : public osgGA::GUIEventHandler _catchableObjects.clear(); } - + void resetLevel() { _level = 0; @@ -573,7 +573,7 @@ class GameEventHandler : public osgGA::GUIEventHandler _levelStartTick = osg::Timer::instance()->tick(); } - + void nextLevel() { ++_level; @@ -596,12 +596,12 @@ class GameEventHandler : public osgGA::GUIEventHandler void resetGame() { _currentScore = 0; - + updateTextWithScore(); clearCatchables(); resetLevel(); - + for(unsigned int i=0;i<_numberOfPlayers;++i) { _players[i].reset(); @@ -629,12 +629,12 @@ class GameEventHandler : public osgGA::GUIEventHandler livesPosition = _originBaseLine+osg::Vec3(1000.0f,-0.5f,000.0f); catchesPosition = _originBaseLine+osg::Vec3(1100.0f,-0.5f,0.0f); } - + switch(player) { case PLAYER_GIRL: { - std::string player_one = "Catch/girl.png"; + std::string player_one = "Catch/girl.png"; osg::Vec3 catchPos(0.2, 0.57, 0.34); _players[_numberOfPlayers].setCharacter(player_one,"girl", _originBaseLine + osg::Vec3(0.0f,-1.0f,0.0f), _widthBaseLine, catchPos, 0.5f); @@ -646,7 +646,7 @@ class GameEventHandler : public osgGA::GUIEventHandler } case PLAYER_BOY: { - std::string player_two = "Catch/boy.png"; + std::string player_two = "Catch/boy.png"; osg::Vec3 catchPos(0.8, 0.57, 0.34); _players[_numberOfPlayers].setCharacter(player_two,"boy", _originBaseLine + osg::Vec3(0.0f,-2.0f,0.0f), _widthBaseLine, catchPos, 0.5f); @@ -656,10 +656,10 @@ class GameEventHandler : public osgGA::GUIEventHandler ++_numberOfPlayers; break; } - } + } } - - + + typedef std::vector< osg::ref_ptr > TextList; void updateScoreWithCatch() @@ -673,8 +673,8 @@ class GameEventHandler : public osgGA::GUIEventHandler osg::Timer_t newTick = osg::Timer::instance()->tick(); double timeForLevel = osg::Timer::instance()->delta_s(_levelStartTick, newTick); - // a ten second level gets you 10 points, - // a twenty second levels gets you 5 points. + // a ten second level gets you 10 points, + // a twenty second levels gets you 5 points. _currentScore += static_cast(10000.0f/(timeForLevel*timeForLevel)); updateTextWithScore(); @@ -685,24 +685,24 @@ class GameEventHandler : public osgGA::GUIEventHandler { std::ostringstream os; os<<"Score: "<<_currentScore; - + std::string textString = os.str(); - + for(TextList::iterator itr = _scoreTextList.begin(); itr != _scoreTextList.end(); ++itr) { (*itr)->setText(textString); } - } - + } + void updateLevelText() { std::ostringstream os; os<<"Level: "<<_level+1; _levelText->setText(os.str()); } - + protected: @@ -715,45 +715,45 @@ class GameEventHandler : public osgGA::GUIEventHandler osg::Vec3 _originBaseLine; osg::Vec3 _widthBaseLine; float _characterSize; - + float _fovy; unsigned _level; - + float _chanceOfExplodingAtStart; float _initialNumDropsPerSecond; - + osg::ref_ptr _gameSwitch; osg::ref_ptr _gameGroup; osg::ref_ptr _levelSwitch; - + unsigned int _currentIndex; unsigned int _welcomeIndex; unsigned int _lostIndex; unsigned int _wonIndex; unsigned int _gameIndex; - + osg::Timer_t _levelStartTick; unsigned int _currentScore; - + osg::ref_ptr _levelText; TextList _scoreTextList; - + unsigned int _numberOfPlayers; Character _players[2]; typedef std::list< osg::ref_ptr > CatchableObjectList; CatchableObjectList _catchableObjects; - + FileList _backgroundFiles; FileList _benignCatachables; bool _leftKeyPressed; bool _rightKeyPressed; - + osg::ref_ptr _dummyCatchable; - - + + }; @@ -791,11 +791,11 @@ GameEventHandler::GameEventHandler() _benignCatachables.push_back("Catch/t.png"); _benignCatachables.push_back("Catch/u.png"); _benignCatachables.push_back("Catch/ball.png"); - + CatchableObject::setUpCatchablesMap(_benignCatachables); - + _currentScore = 0; - + setFOVY(osg::DegreesToRadians(60.0)); } @@ -817,7 +817,7 @@ bool GameEventHandler::handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionA default: return false; } - + } else if (_currentIndex==_lostIndex) { @@ -834,7 +834,7 @@ bool GameEventHandler::handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionA default: return false; } - + } else if (_currentIndex==_wonIndex) { @@ -851,7 +851,7 @@ bool GameEventHandler::handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionA default: return false; } - + } else if (_currentIndex==_gameIndex) { @@ -888,7 +888,7 @@ bool GameEventHandler::handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionA for(unsigned int i=0;i<_numberOfPlayers;++i) { bool inBasket = ((*itr)->centerInside(_players[i].getCurrentCenterOfBasket(),_players[i].getCurrentRadiusOfBasket())); - + if ((*itr)->dangerous()) { if ((*itr)->anyInside(_players[i].getLowerLeft(),_players[i].getUpperRight()) || inBasket) @@ -912,7 +912,7 @@ bool GameEventHandler::handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionA { // player has caught a safe object. updateScoreWithCatch(); - + if (!_players[i].addCatch()) { _players[i].resetCatches(); @@ -930,7 +930,7 @@ bool GameEventHandler::handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionA } } - if (!(*itr)->anyInside(_origin, _origin+_width+_height) || + if (!(*itr)->anyInside(_origin, _origin+_width+_height) || (*itr)->needToRemove(ea.getTime()) || removeEntry) { @@ -968,7 +968,7 @@ bool GameEventHandler::handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionA float numDropsPerSecond = _initialNumDropsPerSecond * (_level+1); float r = (float)rand()/(float)RAND_MAX; if (r < deltaTime*numDropsPerSecond) - { + { createNewCatchable(); } @@ -1015,7 +1015,7 @@ bool GameEventHandler::handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionA return false; } } - return false; + return false; } void GameEventHandler::getUsage(osg::ApplicationUsage&) const @@ -1026,9 +1026,9 @@ osg::Matrix GameEventHandler::getCameraPosition() { osg::Matrix cameraPosition; osg::Vec3 center = _origin+(_width+_height)*0.5f; - + float distance = _height.length()/(2.0f*tanf(_fovy*0.5f)); - + cameraPosition.makeLookAt(center-osg::Vec3(0.0f,distance,0.0f),center,osg::Vec3(0.0f,0.0f,1.0f)); return cameraPosition; } @@ -1036,8 +1036,8 @@ osg::Matrix GameEventHandler::getCameraPosition() osg::Node* GameEventHandler::createScene() { _gameSwitch = new osg::Switch; - - // create a dummy catchable to load all the particule textures to reduce + + // create a dummy catchable to load all the particule textures to reduce // latency later on.. _dummyCatchable = new CatchableObject; _dummyCatchable->setObject("Catch/a.png","a",osg::Vec3(0.0f,0.0,0.0f),1.0f,osg::Vec3(0.0f,0.0,0.0f)); @@ -1045,10 +1045,10 @@ osg::Node* GameEventHandler::createScene() // set up welcome subgraph { - osg::Geode* geode = new osg::Geode; + osg::ref_ptr geode = new osg::Geode; // set up the background - osg::Image* image = osgDB::readImageFile("Catch/Welcome.jpg"); + osg::ref_ptr image = osgDB::readRefImageFile("Catch/Welcome.jpg"); if (image) { osg::Geometry* geometry = osg::createTexturedQuadGeometry(_origin,_width,_height); @@ -1057,7 +1057,7 @@ osg::Node* GameEventHandler::createScene() geode->addDrawable(geometry); } - + // set up the text osg::Vec3 textPosition = _origin+_width*0.5f+_height*0.8f -osg::Vec3(0.0f,0.1f,0.0f); { @@ -1072,7 +1072,7 @@ osg::Node* GameEventHandler::createScene() geode->addDrawable(text); } - + { textPosition -= _height*0.25f; osgText::Text* text = new osgText::Text; @@ -1121,9 +1121,9 @@ osg::Node* GameEventHandler::createScene() // set up you've lost subgraph { - osg::Geode* geode = new osg::Geode; + osg::ref_ptr geode = new osg::Geode; - osg::Image* image = osgDB::readImageFile("Catch/YouLost.jpg"); + osg::ref_ptr image = osgDB::readRefImageFile("Catch/YouLost.jpg"); if (image) { osg::Geometry* geometry = osg::createTexturedQuadGeometry(_origin,_width,_height); @@ -1132,7 +1132,7 @@ osg::Node* GameEventHandler::createScene() geode->addDrawable(geometry); } - + // set up the text osg::Vec3 textPosition = _origin+_width*0.5f+_height*0.75f -osg::Vec3(0.0f,0.1f,0.0f); { @@ -1147,7 +1147,7 @@ osg::Node* GameEventHandler::createScene() geode->addDrawable(text); } - + { textPosition -= _height*0.25f; osgText::Text* text = new osgText::Text; @@ -1184,9 +1184,9 @@ osg::Node* GameEventHandler::createScene() // set up you've won subgraph { - osg::Geode* geode = new osg::Geode; + osg::ref_ptr geode = new osg::Geode; - osg::Image* image = osgDB::readImageFile("Catch/YouWon.jpg"); + osg::ref_ptr image = osgDB::readRefImageFile("Catch/YouWon.jpg"); if (image) { osg::Geometry* geometry = osg::createTexturedQuadGeometry(_origin,_width,_height); @@ -1195,7 +1195,7 @@ osg::Node* GameEventHandler::createScene() geode->addDrawable(geometry); } - + // set up the text osg::Vec3 textPosition = _origin+_width*0.5f+_height*0.75f -osg::Vec3(0.0f,0.1f,0.0f); { @@ -1210,7 +1210,7 @@ osg::Node* GameEventHandler::createScene() geode->addDrawable(text); } - + { textPosition -= _height*0.25f; osgText::Text* text = new osgText::Text; @@ -1258,7 +1258,7 @@ osg::Node* GameEventHandler::createScene() _gameGroup->addChild(_players[i]._character.get()); _gameGroup->addChild(_players[i]._livesSwitch.get()); _gameGroup->addChild(_players[i]._catchSwitch.get()); - } + } // background { @@ -1269,7 +1269,7 @@ osg::Node* GameEventHandler::createScene() ++itr) { - osg::Image* image = osgDB::readImageFile(*itr); + osg::ref_ptr image = osgDB::readRefImageFile(*itr); if (image) { osg::Geometry* geometry = osg::createTexturedQuadGeometry(_origin,_width,_height); @@ -1305,7 +1305,7 @@ osg::Node* GameEventHandler::createScene() osg::Geode* geode = new osg::Geode; geode->addDrawable(text); _scoreTextList.push_back(text); - + textPosition -= _height*0.05f; _levelText = new osgText::Text; _levelText->setText("Level : 0"); @@ -1317,7 +1317,7 @@ osg::Node* GameEventHandler::createScene() _levelText->setAxisAlignment(osgText::Text::XZ_PLANE); geode->addDrawable(_levelText.get()); - + _gameGroup->addChild(geode); @@ -1325,7 +1325,7 @@ osg::Node* GameEventHandler::createScene() } - + _currentIndex = _welcomeIndex; _gameSwitch->setSingleChildOn(_currentIndex); @@ -1338,7 +1338,7 @@ void GameEventHandler::createNewCatchable() unsigned int catachableIndex = (unsigned int)((float)_benignCatachables.size()*(float)rand()/(float)RAND_MAX); if (catachableIndex>=_benignCatachables.size()) catachableIndex = _benignCatachables.size()-1; - + const std::string& filename = _benignCatachables[catachableIndex]; float ratio = ((float)rand() / (float)RAND_MAX); @@ -1356,7 +1356,7 @@ void GameEventHandler::createNewCatchable() float r = (float)rand() / (float)RAND_MAX; if (r < _chanceOfExplodingAtStart) { - catchableObject->explode(); + catchableObject->explode(); } _gameGroup->addChild(catchableObject->_object.get()); @@ -1366,9 +1366,10 @@ class CompileStateCallback : public osg::Operation { public: CompileStateCallback(GameEventHandler* eh): + osg::Referenced(true), osg::Operation("CompileStateCallback", false), _gameEventHandler(eh) {} - + virtual void operator () (osg::Object* object) { osg::GraphicsContext* context = dynamic_cast(object); @@ -1379,7 +1380,7 @@ class CompileStateCallback : public osg::Operation _gameEventHandler->compileGLObjects(*(context->getState())); } } - + OpenThreads::Mutex _mutex; GameEventHandler* _gameEventHandler; }; @@ -1389,7 +1390,7 @@ int main( int argc, char **argv ) // use an ArgumentParser object to manage the program arguments. osg::ArgumentParser arguments(&argc,argv); - + // set up the usage document, in case we need to print out how to use this program. arguments.getApplicationUsage()->setDescription(arguments.getApplicationName()+" is the example which demonstrates use node masks to create stereo images."); arguments.getApplicationUsage()->setCommandLineUsage(arguments.getApplicationName()+" [options] image_file_left_eye image_file_right_eye"); @@ -1409,8 +1410,8 @@ int main( int argc, char **argv ) while (arguments.read("--boy")) seh->addPlayer(GameEventHandler::PLAYER_BOY); while (arguments.read("--girl")) seh->addPlayer(GameEventHandler::PLAYER_GIRL); - - + + // if user request help write it out to cout. if (arguments.read("-h") || arguments.read("--help")) { @@ -1427,8 +1428,8 @@ int main( int argc, char **argv ) arguments.writeErrorMessages(std::cout); return 1; } - - + + // enable the image cache so we don't need to keep loading the particle files osgDB::ReaderWriter::Options* options = new osgDB::ReaderWriter::Options; options->setObjectCacheHint(osgDB::ReaderWriter::Options::CACHE_IMAGES); @@ -1453,7 +1454,7 @@ int main( int argc, char **argv ) double fovy, aspectRatio, zNear, zFar; viewer.getCamera()->getProjectionMatrixAsPerspective(fovy, aspectRatio, zNear, zFar); - seh->setFOVY(osg::DegreesToRadians(fovy)); + seh->setFOVY(osg::DegreesToRadians(fovy)); // todo for osgViewer - create default set up. viewer.setUpViewAcrossAllScreens(); @@ -1471,7 +1472,7 @@ int main( int argc, char **argv ) } // todo for osgViewer - implement warp pointer that can be done relative to different coordinate frames - // viewer.requestWarpPointer(0.5f,0.5f); + // viewer.requestWarpPointer(0.5f,0.5f); while( !viewer.done() ) { @@ -1479,8 +1480,8 @@ int main( int argc, char **argv ) // fire off the cull and draw traversals of the scene. viewer.frame(); - + } - + return 0; } diff --git a/examples/osgclip/CMakeLists.txt b/examples/osgclip/CMakeLists.txt index acc0d137fdc..f657fb111dc 100644 --- a/examples/osgclip/CMakeLists.txt +++ b/examples/osgclip/CMakeLists.txt @@ -1,6 +1,7 @@ -#this file is automatically generated - +#this file is automatically generated SET(TARGET_SRC osgclip.cpp ) +SET(TARGET_ADDED_LIBRARIES osgText ) + #### end var setup ### SETUP_EXAMPLE(osgclip) diff --git a/examples/osgclip/osgclip.cpp b/examples/osgclip/osgclip.cpp index 3b74bd27bb1..1e2f56691e9 100644 --- a/examples/osgclip/osgclip.cpp +++ b/examples/osgclip/osgclip.cpp @@ -38,12 +38,12 @@ #include #include +#include -osg::Node* decorate_with_clip_node(osg::Node* subgraph) +osg::ref_ptr decorate_with_clip_node(const osg::ref_ptr& subgraph) { - osg::Group* rootnode = new osg::Group; - + osg::ref_ptr rootnode = new osg::Group; // create wireframe view of the model so the user can see // what parts are being culled away. @@ -52,35 +52,55 @@ osg::Node* decorate_with_clip_node(osg::Node* subgraph) osg::PolygonMode* polymode = new osg::PolygonMode; polymode->setMode(osg::PolygonMode::FRONT_AND_BACK,osg::PolygonMode::LINE); stateset->setAttributeAndModes(polymode,osg::StateAttribute::OVERRIDE|osg::StateAttribute::ON); - + osg::Group* wireframe_subgraph = new osg::Group; wireframe_subgraph->setStateSet(stateset); wireframe_subgraph->addChild(subgraph); rootnode->addChild(wireframe_subgraph); -/* - // simple approach to adding a clipnode above a subgraph. + // more complex approach to managing ClipNode, allowing + // ClipNode node to be transformed independently from the subgraph + // that it is clipping. - // create clipped part. - osg::ClipNode* clipped_subgraph = new osg::ClipNode; + osg::MatrixTransform* transform= new osg::MatrixTransform; + osg::NodeCallback* nc = new osg::AnimationPathCallback(subgraph->getBound().center(),osg::Vec3(0.0f,0.0f,1.0f),osg::inDegrees(45.0f)); + transform->setUpdateCallback(nc); + + osg::ClipNode* clipnode = new osg::ClipNode; osg::BoundingSphere bs = subgraph->getBound(); bs.radius()*= 0.4f; osg::BoundingBox bb; bb.expandBy(bs); + clipnode->createClipBox(bb); + clipnode->setCullingActive(false); + + transform->addChild(clipnode); + rootnode->addChild(transform); + + + // create clipped part. + osg::Group* clipped_subgraph = new osg::Group; - clipped_subgraph->createClipBox(bb); + clipped_subgraph->setStateSet(clipnode->getStateSet()); clipped_subgraph->addChild(subgraph); rootnode->addChild(clipped_subgraph); -*/ + + return rootnode; +} + + +osg::ref_ptr simple_decorate_with_clip_node(const osg::ref_ptr& subgraph) +{ + osg::ref_ptr rootnode = new osg::Group; // more complex approach to managing ClipNode, allowing // ClipNode node to be transformed independently from the subgraph // that it is clipping. - + osg::MatrixTransform* transform= new osg::MatrixTransform; osg::NodeCallback* nc = new osg::AnimationPathCallback(subgraph->getBound().center(),osg::Vec3(0.0f,0.0f,1.0f),osg::inDegrees(45.0f)); @@ -110,35 +130,66 @@ osg::Node* decorate_with_clip_node(osg::Node* subgraph) return rootnode; } - int main( int argc, char **argv ) { // use an ArgumentParser object to manage the program arguments. osg::ArgumentParser arguments(&argc,argv); + osgViewer::Viewer viewer(arguments); + // load the nodes from the commandline arguments. - osg::Node* loadedModel = osgDB::readNodeFiles(arguments); + osg::ref_ptr scene = new osg::Group; + + std::string textString; + while(arguments.read("--text", textString)) + { + osg::ref_ptr text = new osgText::Text; + text->setFont("fonts/times.ttf"); + text->setAxisAlignment(osgText::Text::XZ_PLANE); + text->setDrawMode(osgText::Text::TEXT|osgText::Text::ALIGNMENT|osgText::Text::BOUNDINGBOX|osgText::Text::FILLEDBOUNDINGBOX); + text->setText(textString); + scene->addChild(text); + } + + + osg::ref_ptr loadedModel = osgDB::readRefNodeFiles(arguments); + if (loadedModel.valid()) + { + scene->addChild(scene.get()); + } // if not loaded assume no arguments passed in, try use default mode instead. - if (!loadedModel) loadedModel = osgDB::readNodeFile("cow.osgt"); + if (scene->getNumChildren()==0) + { + loadedModel = osgDB::readRefNodeFile("cow.osgt"); + scene->addChild(loadedModel.get()); + } - if (!loadedModel) + if (scene->getNumChildren()==0) { osg::notify(osg::NOTICE)<<"Please specify a filename on the command line"< rootnode; + + + if (arguments.read("--simple")) + { + rootnode = simple_decorate_with_clip_node(scene); + } + else + { + rootnode = decorate_with_clip_node(scene); + } + // run optimization over the scene graph osgUtil::Optimizer optimzer; optimzer.optimize(rootnode); - - osgViewer::Viewer viewer; - + // set the scene to render viewer.setSceneData(rootnode); diff --git a/examples/osgcluster/broadcaster.cpp b/examples/osgcluster/broadcaster.cpp index ead97d10b2b..dbf3b5318f3 100644 --- a/examples/osgcluster/broadcaster.cpp +++ b/examples/osgcluster/broadcaster.cpp @@ -45,6 +45,8 @@ #include #elif defined(__CYGWIN__) #include +#elif defined (__GNU__) + #include #elif defined(__sun) #include #include diff --git a/examples/osgcluster/osgcluster.cpp b/examples/osgcluster/osgcluster.cpp index 85aac589a1b..d895c6c931f 100644 --- a/examples/osgcluster/osgcluster.cpp +++ b/examples/osgcluster/osgcluster.cpp @@ -44,7 +44,6 @@ #include "broadcaster.h" -const unsigned int MAX_NUM_EVENTS = 10; const unsigned int SWAP_BYTES_COMPARE = 0x12345678; class CameraPacket { public: @@ -506,7 +505,7 @@ int main( int argc, char **argv ) } // load model. - osg::ref_ptr rootnode = osgDB::readNodeFiles(arguments); + osg::ref_ptr rootnode = osgDB::readRefNodeFiles(arguments); // set the scene to render viewer.setSceneData(rootnode.get()); diff --git a/examples/osgcluster/receiver.cpp b/examples/osgcluster/receiver.cpp index 864ab7ef8cb..4e7e470ef99 100644 --- a/examples/osgcluster/receiver.cpp +++ b/examples/osgcluster/receiver.cpp @@ -122,7 +122,7 @@ void Receiver::sync( void ) return; } -#if defined(__linux) || defined(__FreeBSD__) || defined( __APPLE__ ) +#if defined(__linux) || defined(__FreeBSD__) || defined( __APPLE__ ) || defined(__FreeBSD_kernel__) || defined(__GNU__) socklen_t size; #else int size; diff --git a/examples/osgcompositeviewer/osgcompositeviewer.cpp b/examples/osgcompositeviewer/osgcompositeviewer.cpp index 6cc732653cb..4a2394f5c26 100644 --- a/examples/osgcompositeviewer/osgcompositeviewer.cpp +++ b/examples/osgcompositeviewer/osgcompositeviewer.cpp @@ -133,7 +133,7 @@ int main( int argc, char **argv ) osg::ArgumentParser arguments(&argc,argv); // read the scene from the list of file specified commandline args. - osg::ref_ptr scene = osgDB::readNodeFiles(arguments); + osg::ref_ptr scene = osgDB::readRefNodeFiles(arguments); if (!scene) { @@ -149,7 +149,7 @@ int main( int argc, char **argv ) { osgViewer::View* view = new osgViewer::View; view->setName("Single view"); - view->setSceneData(osgDB::readNodeFile("fountain.osgt")); + view->setSceneData(osgDB::readRefNodeFile("fountain.osgt")); view->addEventHandler( new osgViewer::StatsHandler ); @@ -198,6 +198,46 @@ int main( int argc, char **argv ) } + + if (arguments.read("-4")) + { + + // view one + { + osgViewer::View* view = new osgViewer::View; + view->setName("View one"); + viewer.addView(view); + + view->setUpViewInWindow(0, 0, 800, 600); + view->setSceneData(scene.get()); + view->setCameraManipulator(new osgGA::TrackballManipulator); + + // add the state manipulator + osg::ref_ptr statesetManipulator = new osgGA::StateSetManipulator; + statesetManipulator->setStateSet(view->getCamera()->getOrCreateStateSet()); + + view->addEventHandler( statesetManipulator.get() ); + } + + // view two + { + osgViewer::View* view = new osgViewer::View; + view->setName("View two"); + viewer.addView(view); + + view->setUpViewInWindow(1000, 0, 800, 600); + view->setSceneData(scene.get()); + view->setCameraManipulator(new osgGA::TrackballManipulator); + + view->addEventHandler( new osgViewer::StatsHandler ); + + + // add the handler for doing the picking + view->addEventHandler(new PickHandler()); + } + } + + if (arguments.read("-3") || viewer.getNumViews()==0) { @@ -283,7 +323,7 @@ int main( int argc, char **argv ) view->setName("View three"); viewer.addView(view); - view->setSceneData(osgDB::readNodeFile("cessnafire.osgt")); + view->setSceneData(osgDB::readRefNodeFile("cessnafire.osgt")); view->getCamera()->setName("Cam three"); view->getCamera()->setProjectionMatrixAsPerspective(30.0, double(traits->width) / double(traits->height/2), 1.0, 1000.0); diff --git a/examples/osgcomputeshaders/osgcomputeshaders.cpp b/examples/osgcomputeshaders/osgcomputeshaders.cpp index ef1cb2e48ee..87073cfe5c0 100644 --- a/examples/osgcomputeshaders/osgcomputeshaders.cpp +++ b/examples/osgcomputeshaders/osgcomputeshaders.cpp @@ -43,7 +43,7 @@ static const char* computeSrc = { int main( int argc, char** argv ) { osg::ArgumentParser arguments( &argc, argv ); - + // Create the texture as both the output of compute shader and the input of a normal quad osg::ref_ptr tex2D = new osg::Texture2D; tex2D->setTextureSize( 512, 512 ); @@ -53,23 +53,23 @@ int main( int argc, char** argv ) tex2D->setSourceFormat( GL_RED ); tex2D->setSourceType( GL_FLOAT ); tex2D->bindToImageUnit( 0, osg::Texture::WRITE_ONLY ); // So we can use 'image2D' in the compute shader - + // The compute shader can't work with other kinds of shaders // It also requires the work group numbers. Setting them to 0 will disable the compute shader osg::ref_ptr computeProg = new osg::Program; computeProg->setComputeGroups( 512/16, 512/16, 1 ); computeProg->addShader( new osg::Shader(osg::Shader::COMPUTE, computeSrc) ); - + // Create a node for outputting to the texture. // It is OK to have just an empty node here, but seems inbuilt uniforms like osg_FrameTime won't work then. // TODO: maybe we can have a custom drawable which also will implement glMemoryBarrier? - osg::Node* sourceNode = osgDB::readNodeFile("axes.osgt"); + osg::ref_ptr sourceNode = osgDB::readRefNodeFile("axes.osgt"); if ( !sourceNode ) sourceNode = new osg::Node; sourceNode->setDataVariance( osg::Object::DYNAMIC ); sourceNode->getOrCreateStateSet()->setAttributeAndModes( computeProg.get() ); sourceNode->getOrCreateStateSet()->addUniform( new osg::Uniform("targetTex", (int)0) ); sourceNode->getOrCreateStateSet()->setTextureAttributeAndModes( 0, tex2D.get() ); - + // Display the texture on a quad. We will also be able to operate on the data if reading back to CPU side osg::Geometry* geom = osg::createTexturedQuadGeometry( osg::Vec3(), osg::Vec3(1.0f,0.0f,0.0f), osg::Vec3(0.0f,0.0f,1.0f) ); @@ -77,12 +77,12 @@ int main( int argc, char** argv ) quad->addDrawable( geom ); quad->getOrCreateStateSet()->setMode( GL_LIGHTING, osg::StateAttribute::OFF ); quad->getOrCreateStateSet()->setTextureAttributeAndModes( 0, tex2D.get() ); - + // Create the scene graph and start the viewer osg::ref_ptr scene = new osg::Group; scene->addChild( sourceNode ); scene->addChild( quad.get() ); - + osgViewer::Viewer viewer; viewer.addEventHandler( new osgGA::StateSetManipulator(viewer.getCamera()->getOrCreateStateSet()) ); viewer.addEventHandler( new osgViewer::StatsHandler ); diff --git a/examples/osgcopy/osgcopy.cpp b/examples/osgcopy/osgcopy.cpp index 79c614f71d1..6e9087c6a72 100644 --- a/examples/osgcopy/osgcopy.cpp +++ b/examples/osgcopy/osgcopy.cpp @@ -33,12 +33,12 @@ #include -// Customize the CopyOp so that we add our own verbose +// Customize the CopyOp so that we add our own verbose // output of what's being copied. class MyCopyOp : public osg::CopyOp { public: - + inline MyCopyOp(CopyFlags flags=SHALLOW_COPY): osg::CopyOp(flags), _indent(0), @@ -46,11 +46,11 @@ class MyCopyOp : public osg::CopyOp inline void moveIn() const { _indent += _step; } inline void moveOut() const { _indent -= _step; } - inline void writeIndent() const + inline void writeIndent() const { for(int i=0;i<_indent;++i) std::cout << " "; } - + virtual osg::Referenced* operator() (const osg::Referenced* ref) const { writeIndent(); std::cout << "copying Referenced "<(node); } - + protected: - + // must be mutable since CopyOp is passed around as const to // the various clone/copy constructors. mutable std::map _nodeCopyMap; @@ -198,19 +198,19 @@ int main( int argc, char **argv ) osgViewer::Viewer viewer; // load the nodes from the commandline arguments. - osg::Node* rootnode = osgDB::readNodeFiles(arguments); + osg::ref_ptr rootnode = osgDB::readRefNodeFiles(arguments); if (!rootnode) { osg::notify(osg::NOTICE)<<"Please specify a model filename on the command line."< mycopy = dynamic_cast(rootnode->clone(osg::CopyOp::DEEP_COPY_ALL)); @@ -219,7 +219,7 @@ int main( int argc, char **argv ) // note, we need the dyanmic_cast because MS Visual Studio can't handle covarient // return types, so that clone has return just Object*. bahh hum bug osg::ref_ptr deep_copy = dynamic_cast(rootnode->clone(MyCopyOp(osg::CopyOp::DEEP_COPY_ALL))); - + std::cout << "----------------------------------------------------------------"<(rootnode->clone(osg::CopyOp::DEEP_COPY_NODES | DEEP_COPY_DRAWABLES)); // Which shares state but creates copies of all nodes and drawables (which contain the geometry). - // + // // You may also want to subclass from CopyOp to provide finer grained control of what gets shared (shallow copy) vs // cloned (deep copy). - + // ------------- End of copy specific code ------------------------------------------------------- - + // set the scene to render viewer.setSceneData(rootnode); diff --git a/examples/osgcubemap/osgcubemap.cpp b/examples/osgcubemap/osgcubemap.cpp index 47c3dd3cbdc..843186485b0 100644 --- a/examples/osgcubemap/osgcubemap.cpp +++ b/examples/osgcubemap/osgcubemap.cpp @@ -95,10 +95,10 @@ int main(int argc, char *argv[]) osgViewer::Viewer viewer; // load the nodes from the commandline arguments. - osg::Node* rootnode = osgDB::readNodeFiles(arguments); + osg::ref_ptr rootnode = osgDB::readRefNodeFiles(arguments); // if not loaded assume no arguments passed in, try use default mode instead. - if (!rootnode) rootnode = osgDB::readNodeFile("cessna.osgt"); + if (!rootnode) rootnode = osgDB::readRefNodeFile("cessna.osgt"); if (!rootnode) { @@ -107,7 +107,7 @@ int main(int argc, char *argv[]) } // create specular highlights - create_specular_highlights(rootnode); + create_specular_highlights(rootnode.get()); // run optimization over the scene graph osgUtil::Optimizer optimzer; diff --git a/examples/osgdatabaserevisions/osgdatabaserevisions.cpp b/examples/osgdatabaserevisions/osgdatabaserevisions.cpp index f3b80ccdf15..37cf623d2d4 100644 --- a/examples/osgdatabaserevisions/osgdatabaserevisions.cpp +++ b/examples/osgdatabaserevisions/osgdatabaserevisions.cpp @@ -1,9 +1,9 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield +/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield * - * This application is open source and may be redistributed and/or modified + * This application is open source and may be redistributed and/or modified * freely and without restriction, both in commercial and non commercial applications, * as long as this copyright notice is maintained. - * + * * This application is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. @@ -50,7 +50,7 @@ int main(int argc, char** argv) arguments.getApplicationUsage()->write(std::cout, helpType); return 1; } - + // report any errors if they have occurred when parsing the program arguments. if (arguments.errors()) { @@ -81,7 +81,7 @@ int main(int argc, char** argv) while (arguments.read("-p",pathfile)) { osgGA::AnimationPathManipulator* apm = new osgGA::AnimationPathManipulator(pathfile); - if (apm || !apm->valid()) + if (apm || !apm->valid()) { unsigned int num = keyswitchManipulator->getNumMatrixManipulators(); keyswitchManipulator->addMatrixManipulator( keyForAnimationPath, "Path", apm ); @@ -95,13 +95,13 @@ int main(int argc, char** argv) // add the state manipulator viewer.addEventHandler( new osgGA::StateSetManipulator(viewer.getCamera()->getOrCreateStateSet()) ); - + // add the thread model handler viewer.addEventHandler(new osgViewer::ThreadingHandler); // add the window size toggle handler viewer.addEventHandler(new osgViewer::WindowSizeHandler); - + // add the stats handler viewer.addEventHandler(new osgViewer::StatsHandler); @@ -129,8 +129,8 @@ int main(int argc, char** argv) // load the data - osg::ref_ptr loadedModel = osgDB::readNodeFile(file); - if (!loadedModel) + osg::ref_ptr loadedModel = osgDB::readRefNodeFile(file); + if (!loadedModel) { std::cout << arguments.getApplicationName() <<": No data loaded" << std::endl; return 1; diff --git a/examples/osgdelaunay/osgdelaunay.cpp b/examples/osgdelaunay/osgdelaunay.cpp index 72a8ff46624..10a444e1291 100644 --- a/examples/osgdelaunay/osgdelaunay.cpp +++ b/examples/osgdelaunay/osgdelaunay.cpp @@ -224,7 +224,7 @@ class pyramid : public osgUtil::DelaunayConstraint { osg::StateSet *dstate= gm->getOrCreateStateSet( ); dstate->setMode( GL_LIGHTING, osg::StateAttribute::ON ); - osg::Image* image = osgDB::readImageFile("Images/Brick-Std-Orange.TGA"); + osg::ref_ptr image = osgDB::readRefImageFile("Images/Brick-Std-Orange.TGA"); if (image) { osg::Texture2D* txt = new osg::Texture2D; @@ -354,7 +354,7 @@ osg::Group *makedelaunay(const int ndcs) osg::Vec3Array *points=new osg::Vec3Array; - osg::Image* image = osgDB::readImageFile("Images/blueFlowers.png"); + osg::ref_ptr image = osgDB::readRefImageFile("Images/blueFlowers.png"); if (image) { osg::Texture2D* texture = new osg::Texture2D; @@ -817,7 +817,7 @@ osg::Geometry *WallConstraint::makeWallGeometry() const { osg::ref_ptr gm=new osg::Geometry; // the wall if (texture!="") { - osg::Image* image = osgDB::readImageFile(texture.c_str()); + osg::ref_ptr image = osgDB::readRefImageFile(texture.c_str()); if (image) { osg::Texture2D* txt = new osg::Texture2D; @@ -1005,7 +1005,7 @@ deprecated_osg::Geometry *ArealConstraint::makeWallGeometry( osg::Vec3Array *pt) tscx->retessellatePolygons(*(edges)); // find all edges if (walltexture!="") { - osg::Image* image = osgDB::readImageFile(walltexture.c_str()); + osg::ref_ptr image = osgDB::readRefImageFile(walltexture.c_str()); if (image) { osg::Texture2D* txt = new osg::Texture2D; @@ -1062,7 +1062,7 @@ deprecated_osg::Geometry * ArealConstraint::makeAreal( osg::Vec3Array *points) gm->setNormalArray(getCanopyNormals(points)); gm->setNormalBinding(deprecated_osg::Geometry::BIND_PER_PRIMITIVE); gm->setTexCoordArray(0,getCanopyTexcoords(points)); - osg::Image* image = osgDB::readImageFile(texture); + osg::ref_ptr image = osgDB::readRefImageFile(texture); if (image) { osg::Texture2D* txt = new osg::Texture2D; @@ -1238,7 +1238,7 @@ deprecated_osg::Geometry * LinearConstraint::makeGeometry(const osg::Vec3Array * if (_midline->size()>0) { osg::ref_ptr locpts=getPoints(points); if (texture!="") { - osg::Image* image = osgDB::readImageFile(texture.c_str()); + osg::ref_ptr image = osgDB::readRefImageFile(texture.c_str()); if (image) { osg::Texture2D* txt = new osg::Texture2D; diff --git a/examples/osgdepthpartition/osgdepthpartition.cpp b/examples/osgdepthpartition/osgdepthpartition.cpp index 14f1da2cce8..1a7d5a6d1da 100644 --- a/examples/osgdepthpartition/osgdepthpartition.cpp +++ b/examples/osgdepthpartition/osgdepthpartition.cpp @@ -139,7 +139,7 @@ int main( int argc, char **argv ) bool needToSetHomePosition = false; // read the scene from the list of file specified commandline args. - osg::ref_ptr scene = osgDB::readNodeFiles(arguments); + osg::ref_ptr scene = osgDB::readRefNodeFiles(arguments); // if one hasn't been loaded create an earth and sun test model. if (!scene) diff --git a/examples/osgdepthpeeling/osgdepthpeeling.cpp b/examples/osgdepthpeeling/osgdepthpeeling.cpp index f8b887db6a2..43e53f05eaf 100644 --- a/examples/osgdepthpeeling/osgdepthpeeling.cpp +++ b/examples/osgdepthpeeling/osgdepthpeeling.cpp @@ -18,7 +18,7 @@ #include -#include "DePee.h" +#include "DePee.h" /*! Handles keyboard events. @@ -28,7 +28,7 @@ class KeyboardEventHandler : public osgGA::GUIEventHandler { public: - + KeyboardEventHandler(DePee* dePee) { _apc = 0; @@ -41,12 +41,12 @@ class KeyboardEventHandler : public osgGA::GUIEventHandler _dePee->setSketchy(_sketchy); _dePee->setColored(_colored); } - + virtual bool handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionAdapter&) { switch(ea.getEventType()) { - + case(osgGA::GUIEventAdapter::KEYDOWN): { if (ea.getKey()==osgGA::GUIEventAdapter::KEY_Space) @@ -77,7 +77,7 @@ class KeyboardEventHandler : public osgGA::GUIEventHandler _dePee->setSketchy(_sketchy); return true; } - + else if (ea.getKey() == 'e') { _edgy = !_edgy; @@ -106,13 +106,13 @@ class KeyboardEventHandler : public osgGA::GUIEventHandler _crayon = !_crayon; _dePee->setCrayon(_crayon); } - + break; } - + default: break; - + } return false; } @@ -139,12 +139,12 @@ class KeyboardEventHandler : public osgGA::GUIEventHandler class MouseEventHandler : public osgGA::GUIEventHandler { public: - + MouseEventHandler(DePee* dePee) { _dePee = dePee; } - + virtual bool handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionAdapter&) { switch(ea.getEventType()) @@ -152,17 +152,17 @@ class MouseEventHandler : public osgGA::GUIEventHandler //mouse case(osgGA::GUIEventAdapter::DRAG): { - rotate(ea.getXnormalized(), ea.getYnormalized()); + rotate(ea.getXnormalized(), ea.getYnormalized()); break; } case(osgGA::GUIEventAdapter::MOVE): - _prevX = ea.getXnormalized(); + _prevX = ea.getXnormalized(); _prevY = ea.getYnormalized(); break; - + default: break; - + } return false; } @@ -175,25 +175,25 @@ class MouseEventHandler : public osgGA::GUIEventHandler void rotate(float x, float y) { osg::Matrix baseMatrix = _modelGroupTransform->getMatrix(); - + baseMatrix.preMultTranslate(_rotCenter); baseMatrix.preMultRotate(osg::Quat((x - _prevX) * 3, osg::Vec3d(0.0, 0.0, 1.0))); baseMatrix.preMultRotate(osg::Quat(-(y - _prevY) * 3, (baseMatrix * osg::Vec3d(1.0, 0.0, 0.0)))); baseMatrix.preMultTranslate(-_rotCenter); - + _modelGroupTransform->setMatrix(baseMatrix); - _prevX = x; + _prevX = x; _prevY = y; }; - + DePee* _dePee; - - float _prevX; + + float _prevX; float _prevY; - + osg::Vec3 _rotCenter; - osg::MatrixTransform* _modelGroupTransform; + osg::MatrixTransform* _modelGroupTransform; }; @@ -202,25 +202,25 @@ int main( int argc, char **argv ) { // use an ArgumentParser object to manage the program arguments. osg::ArgumentParser arguments(&argc,argv); - + // set up the usage document, in case we need to print out how to use this program. arguments.getApplicationUsage()->setDescription(arguments.getApplicationName()+" is the example which demonstrates Depth Peeling"); arguments.getApplicationUsage()->setCommandLineUsage(arguments.getApplicationName()+" filename"); - - + + // construct the viewer osgViewer::Viewer viewer(arguments); - + // any option left unread are converted into errors to write out later. arguments.reportRemainingOptionsAsUnrecognized(); - + // report any errors if they have occurred when parsing the program arguments. if (arguments.errors()) { arguments.writeErrorMessages(std::cout); return 1; } - + if (arguments.argc()<=1 || arguments.argc() > 3) { arguments.getApplicationUsage()->write(std::cout,osg::ApplicationUsage::COMMAND_LINE_OPTION); @@ -232,29 +232,29 @@ int main( int argc, char **argv ) viewer.getCamera()->setComputeNearFarMode(osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR); // read the model to do depth peeling with - osg::Node* loadedModel = osgDB::readNodeFile(arguments.argv()[1]); - + osg::ref_ptr loadedModel = osgDB::readRefNodeFile(arguments.argv()[1]); + if (!loadedModel) return 1; - + // create a transform to spin the model. osg::MatrixTransform* modelGroupTransform = new osg::MatrixTransform; osg::Group* modelGroup = new osg::Group; modelGroupTransform->addChild(modelGroup); modelGroup->addChild(loadedModel); - + osg::Group* rootNode = new osg::Group(); - + // add model to the viewer. viewer.setSceneData(rootNode); - + // Depth peel example only works on a single graphics context right now // so open up viewer on single screen to prevent problems viewer.setUpViewOnSingleScreen(0); - + // create the windows and run the threads. viewer.realize(); - + unsigned int width = 1280; unsigned int height = 1280; osgViewer::Viewer::Windows windows; @@ -266,11 +266,11 @@ int main( int argc, char **argv ) } - osg::ref_ptr dePee = new DePee(rootNode, - modelGroupTransform, + osg::ref_ptr dePee = new DePee(rootNode, + modelGroupTransform, width, height); - + //create event handlers KeyboardEventHandler* keyboardEventHandler = new KeyboardEventHandler(dePee.get()); MouseEventHandler* mouseEventHandler = new MouseEventHandler(dePee.get()); @@ -278,7 +278,7 @@ int main( int argc, char **argv ) viewer.addEventHandler(mouseEventHandler); //viewer.setCameraManipulator(new osgGA::TrackballManipulator); - + osg::StateSet* stateset = modelGroupTransform->getOrCreateStateSet(); stateset->setMode(GL_BLEND, osg::StateAttribute::OFF); @@ -287,15 +287,15 @@ int main( int argc, char **argv ) osg::AnimationPathCallback* apc = new osg::AnimationPathCallback(modelGroupTransform->getBound().center(),osg::Vec3(0.0f,0.0f,1.0f),osg::inDegrees(45.0f)); apc->setPause(true); modelGroupTransform->setUpdateCallback(apc); - + keyboardEventHandler->registerAnimationPathCallback(apc); mouseEventHandler->registerModelGroupTransform(modelGroupTransform); - + //setup stuff that is necessary for measuring fps osg::Timer_t current_tick, previous_tick = 1; double* fps = new double; dePee->setFPS(fps); - + while(!viewer.done()) { current_tick = osg::Timer::instance()->tick(); diff --git a/examples/osgdistortion/osgdistortion.cpp b/examples/osgdistortion/osgdistortion.cpp index a27cb0fbdf9..40da27ed00f 100644 --- a/examples/osgdistortion/osgdistortion.cpp +++ b/examples/osgdistortion/osgdistortion.cpp @@ -703,10 +703,10 @@ int main(int argc, char** argv) osgViewer::Viewer viewer(arguments); // load the nodes from the commandline arguments. - osg::Node* loadedModel = osgDB::readNodeFiles(arguments); + osg::ref_ptr loadedModel = osgDB::readRefNodeFiles(arguments); // if not loaded assume no arguments passed in, try use default mode instead. - if (!loadedModel) loadedModel = osgDB::readNodeFile("cow.osgt"); + if (!loadedModel) loadedModel = osgDB::readRefNodeFile("cow.osgt"); if (!loadedModel) { @@ -731,7 +731,7 @@ int main(int argc, char** argv) } else { - osg::Node* distortionNode = createDistortionSubgraph( options, loadedModel, viewer.getCamera()->getClearColor()); + osg::Node* distortionNode = createDistortionSubgraph( options, loadedModel.get(), viewer.getCamera()->getClearColor()); viewer.setSceneData( distortionNode ); } diff --git a/examples/osgdrawinstanced/osgdrawinstanced.cpp b/examples/osgdrawinstanced/osgdrawinstanced.cpp index 65b12aa5e11..87d856e7d36 100644 --- a/examples/osgdrawinstanced/osgdrawinstanced.cpp +++ b/examples/osgdrawinstanced/osgdrawinstanced.cpp @@ -97,7 +97,7 @@ createStateSet() ss->setAttribute( program.get(), osg::StateAttribute::ON | osg::StateAttribute::PROTECTED ); - osg::ref_ptr< osg::Image> iLogo = osgDB::readImageFile( "Images/osg128.png" ); + osg::ref_ptr< osg::Image> iLogo = osgDB::readRefImageFile( "Images/osg128.png" ); if( !iLogo.valid() ) { osg::notify( osg::ALWAYS ) << "Can't open image file osg128.png" << std::endl; diff --git a/examples/osgfadetext/osgfadetext.cpp b/examples/osgfadetext/osgfadetext.cpp index ba329529a49..37b0eafe2a4 100644 --- a/examples/osgfadetext/osgfadetext.cpp +++ b/examples/osgfadetext/osgfadetext.cpp @@ -44,21 +44,21 @@ osg::Node* createEarth() osg::TessellationHints* hints = new osg::TessellationHints; hints->setDetailRatio(5.0f); - + osg::ShapeDrawable* sd = new osg::ShapeDrawable(new osg::Sphere(osg::Vec3(0.0,0.0,0.0), osg::WGS_84_RADIUS_POLAR), hints); - + osg::Geode* geode = new osg::Geode; geode->addDrawable(sd); - + std::string filename = osgDB::findDataFile("Images/land_shallow_topo_2048.jpg"); - geode->getOrCreateStateSet()->setTextureAttributeAndModes(0, new osg::Texture2D(osgDB::readImageFile(filename))); - + geode->getOrCreateStateSet()->setTextureAttributeAndModes(0, new osg::Texture2D(osgDB::readRefImageFile(filename))); + osg::CoordinateSystemNode* csn = new osg::CoordinateSystemNode; csn->setEllipsoidModel(new osg::EllipsoidModel()); csn->addChild(geode); - + return csn; - + } osgText::Text* createText(osg::EllipsoidModel* ellipsoid, double latitude, double longitude, double height, const std::string& str) @@ -78,7 +78,7 @@ osgText::Text* createText(osg::EllipsoidModel* ellipsoid, double latitude, doubl text->setCharacterSize(300000.0f); text->setCharacterSizeMode(osgText::Text::OBJECT_COORDS_WITH_MAXIMUM_SCREEN_SIZE_CAPPED_BY_FONT_HEIGHT); text->setAutoRotateToScreen(true); - + return text; } @@ -87,10 +87,10 @@ osg::Node* createFadeText(osg::EllipsoidModel* ellipsoid) osg::Group* group = new osg::Group; group->getOrCreateStateSet()->setMode(GL_DEPTH_TEST,osg::StateAttribute::OFF); - + osg::Geode* geode = new osg::Geode; group->addChild(geode); - + std::vector textList; textList.push_back("Town"); textList.push_back("City"); @@ -99,7 +99,7 @@ osg::Node* createFadeText(osg::EllipsoidModel* ellipsoid) textList.push_back("Mountain"); textList.push_back("Road"); textList.push_back("Lake"); - + unsigned int numLat = 15; unsigned int numLong = 20; double latitude = 0.0; @@ -118,7 +118,7 @@ osg::Node* createFadeText(osg::EllipsoidModel* ellipsoid) } return group; -} +} int main(int, char**) @@ -128,10 +128,10 @@ int main(int, char**) viewer.getCamera()->setComputeNearFarMode(osg::CullSettings::COMPUTE_NEAR_FAR_USING_PRIMITIVES); viewer.getCamera()->setNearFarRatio(0.00001f); - + // read the scene from the list of file specified commandline args. osg::ref_ptr root = createEarth(); - + if (!root) return 0; // add a viewport to the viewer and attach the scene graph. @@ -142,7 +142,7 @@ int main(int, char**) { // add fade text around the globe csn->addChild(createFadeText(csn->getEllipsoidModel())); - } + } viewer.setCameraManipulator(new osgGA::TerrainManipulator); diff --git a/examples/osgfont/osgfont.cpp b/examples/osgfont/osgfont.cpp index 976c1e28d77..77617a87a14 100644 --- a/examples/osgfont/osgfont.cpp +++ b/examples/osgfont/osgfont.cpp @@ -62,7 +62,7 @@ osgText::Text* createLabel(const std::string& l, const char* f, unsigned int siz static osg::Vec3 pos(10.0f, 10.0f, 0.0f); osgText::Text* label = new osgText::Text(); - osgText::Font* font = osgText::readFontFile(f); + osg::ref_ptr font = osgText::readRefFontFile(f); label->setFont(font); label->setCharacterSize(size); diff --git a/examples/osgforest/osgforest.cpp b/examples/osgforest/osgforest.cpp index e37e9608f79..5acada741f9 100644 --- a/examples/osgforest/osgforest.cpp +++ b/examples/osgforest/osgforest.cpp @@ -388,7 +388,7 @@ osg::Geode* ForestTechniqueManager::createTerrain(const osg::Vec3& origin, const // --------------------------------------- osg::StateSet* stateset = new osg::StateSet(); - osg::Image* image = osgDB::readImageFile("Images/lz.rgb"); + osg::ref_ptr image = osgDB::readRefImageFile("Images/lz.rgb"); if (image) { osg::Texture2D* texture = new osg::Texture2D; @@ -1182,7 +1182,7 @@ osg::Node* ForestTechniqueManager::createScene(unsigned int numTreesToCreates, u osg::Texture2D *tex = new osg::Texture2D; tex->setWrap( osg::Texture2D::WRAP_S, osg::Texture2D::CLAMP ); tex->setWrap( osg::Texture2D::WRAP_T, osg::Texture2D::CLAMP ); - tex->setImage(osgDB::readImageFile("Images/tree0.rgba")); + tex->setImage(osgDB::readRefImageFile("Images/tree0.rgba")); osg::StateSet *dstate = new osg::StateSet; { diff --git a/examples/osgfpdepth/osgfpdepth.cpp b/examples/osgfpdepth/osgfpdepth.cpp index 86541bc30a2..db8611db543 100644 --- a/examples/osgfpdepth/osgfpdepth.cpp +++ b/examples/osgfpdepth/osgfpdepth.cpp @@ -963,7 +963,7 @@ int main(int argc, char **argv) arguments.getApplicationUsage()->write(std::cout,osg::ApplicationUsage::COMMAND_LINE_OPTION); return 1; } - ref_ptr loadedModel = osgDB::readNodeFiles(arguments); + ref_ptr loadedModel = osgDB::readRefNodeFiles(arguments); if (!loadedModel) { cerr << "couldn't load " << argv[1] << "\n"; return 1; diff --git a/examples/osgfxbrowser/osgfxbrowser.cpp b/examples/osgfxbrowser/osgfxbrowser.cpp index c33f9c924b7..ec1f027ee96 100644 --- a/examples/osgfxbrowser/osgfxbrowser.cpp +++ b/examples/osgfxbrowser/osgfxbrowser.cpp @@ -127,7 +127,7 @@ class EffectPanel: public osgfxbrowser::Frame { for (osgFX::Registry::EffectMap::const_iterator i=emap.begin(); i!=emap.end(); ++i) { std::cout << "INFO: \t" << i->first << "\n"; osg::ref_ptr effect = static_cast(i->second->cloneType()); - _effects.push_back(effect.get()); + _effects.push_back(effect.get()); } std::cout << "INFO: " << emap.size() << " effect(s) ready.\n"; @@ -144,9 +144,9 @@ class EffectPanel: public osgfxbrowser::Frame { inline void setScene(osg::Node* node) { _scene = node; } inline bool getEffectsEnabled() const { return _fxen; } - inline void setEffectsEnabled(bool v) - { - _fxen = v; + inline void setEffectsEnabled(bool v) + { + _fxen = v; if (getSelectedEffect()) { getSelectedEffect()->setEnabled(_fxen); } @@ -156,7 +156,7 @@ class EffectPanel: public osgfxbrowser::Frame { inline void setEffectIndex(int i) { if (i >= static_cast(_effects.size())) i = 0; - if (i < 0) i = static_cast(_effects.size()-1); + if (i < 0) i = static_cast(_effects.size()-1); _selected_fx = i; rebuild(); } @@ -174,11 +174,11 @@ class EffectPanel: public osgfxbrowser::Frame { { float zPos = -0.1; // note from Robert, was 0.1f, but now must be -0.1f to keep text visible??#!? due // to some other change in the OSG not tracked down yet... - - osg::ref_ptr arial = osgText::readFontFile("fonts/arial.ttf"); + + osg::ref_ptr arial = osgText::readRefFontFile("fonts/arial.ttf"); osg::ref_ptr hints = new osgText::Text; - hints->setFont(arial.get()); + hints->setFont(arial); hints->setColor(_hints_color); hints->setAlignment(osgText::Text::CENTER_BOTTOM); hints->setCharacterSize(13); @@ -195,7 +195,7 @@ class EffectPanel: public osgfxbrowser::Frame { if (!author_name.empty()) { effect_description = author_name = "AUTHOR: " + std::string(_effects[_selected_fx]->effectAuthor()) + std::string("\n\n"); } - effect_description += "DESCRIPTION:\n" + std::string(_effects[_selected_fx]->effectDescription()); + effect_description += "DESCRIPTION:\n" + std::string(_effects[_selected_fx]->effectDescription()); if (_scene.valid() && _root.valid()) { _root->removeChildren(0, _root->getNumChildren()); @@ -268,7 +268,7 @@ EffectPanel* build_gui(osg::Group* root) osg::ref_ptr effect_panel = new EffectPanel; effect_panel->setCaption("osgFX Effect Browser"); - effect_panel->setRect(osgfxbrowser::Rect(20, 20, 1000, 280)); + effect_panel->setRect(osgfxbrowser::Rect(20, 20, 1000, 280)); hud->addChild(effect_panel.get()); @@ -325,7 +325,7 @@ int main(int argc, char *argv[]) unsigned int clearMask = viewer.getCamera()->getClearMask(); viewer.getCamera()->setClearMask(clearMask | GL_STENCIL_BUFFER_BIT); viewer.getCamera()->setClearStencil(0); - + // any option left unread are converted into errors to write out later. arguments.reportRemainingOptionsAsUnrecognized(); @@ -336,11 +336,11 @@ int main(int argc, char *argv[]) } // read the scene from the list of file specified commandline args. - osg::ref_ptr loadedModel = osgDB::readNodeFiles(arguments); + osg::ref_ptr loadedModel = osgDB::readRefNodeFiles(arguments); // if not loaded assume no arguments passed in, try use default mode instead. - if (!loadedModel) loadedModel = osgDB::readNodeFile("dumptruck.osgt"); - + if (!loadedModel) loadedModel = osgDB::readRefNodeFile("dumptruck.osgt"); + if (!loadedModel) { std::cout << arguments.getApplicationName() <<": No data loaded" << std::endl; diff --git a/examples/osggameoflife/osggameoflife.cpp b/examples/osggameoflife/osggameoflife.cpp index 097f8c92168..a75ee2cfdeb 100644 --- a/examples/osggameoflife/osggameoflife.cpp +++ b/examples/osggameoflife/osggameoflife.cpp @@ -117,14 +117,14 @@ int main(int argc, char *argv[]) } // load the image - osg::ref_ptr startIm = osgDB::readImageFile(startName); + osg::ref_ptr startIm = osgDB::readRefImageFile(startName); if (!startIm) { std::cout << "Could not load start image.\n"; return(1); } - osg::Node* scene = createScene(startIm.get()); + osg::ref_ptr scene = createScene(startIm.get()); // construct the viewer. osgViewer::Viewer viewer; diff --git a/examples/osggeometry/osggeometry.cpp b/examples/osggeometry/osggeometry.cpp index c37a1acf30b..27b4eec1f49 100644 --- a/examples/osggeometry/osggeometry.cpp +++ b/examples/osggeometry/osggeometry.cpp @@ -550,7 +550,7 @@ osg::Node* createBackground() { // we'll create a texture mapped quad to sit behind the Geometry - osg::Image* image = osgDB::readImageFile("Images/primitives.gif"); + osg::ref_ptr image = osgDB::readRefImageFile("Images/primitives.gif"); if (!image) return NULL; diff --git a/examples/osggpucull/AggregateGeometryVisitor.h b/examples/osggpucull/AggregateGeometryVisitor.h index f569e8e85e4..8a2091247ab 100644 --- a/examples/osggpucull/AggregateGeometryVisitor.h +++ b/examples/osggpucull/AggregateGeometryVisitor.h @@ -287,4 +287,4 @@ class AggregateGeometryVisitor : public osg::NodeVisitor unsigned int _currentLodNumber; }; -#endif \ No newline at end of file +#endif diff --git a/examples/osggpx/osggpx.cpp b/examples/osggpx/osggpx.cpp index d8834444a40..5d484cee183 100644 --- a/examples/osggpx/osggpx.cpp +++ b/examples/osggpx/osggpx.cpp @@ -434,8 +434,8 @@ int main(int argv, char **argc) osg::ref_ptr group = new osg::Group; - osg::ref_ptr loadedModel = osgDB::readNodeFiles(arguments); - if (loadedModel.valid()) group->addChild(loadedModel.get()); + osg::ref_ptr loadedModel = osgDB::readRefNodeFiles(arguments); + if (loadedModel.valid()) group->addChild(loadedModel); for(Tracks::iterator itr = tracks.begin(); itr != tracks.end(); diff --git a/examples/osggraphicscost/osggraphicscost.cpp b/examples/osggraphicscost/osggraphicscost.cpp index 2b8b3794570..7f269de1152 100644 --- a/examples/osggraphicscost/osggraphicscost.cpp +++ b/examples/osggraphicscost/osggraphicscost.cpp @@ -29,6 +29,7 @@ class CalibrateCostEsimator : public osg::GraphicsOperation public: CalibrateCostEsimator(osg::GraphicsCostEstimator* gce): + osg::Referenced(true), osg::GraphicsOperation("CalbirateCostEstimator",false), _gce(gce) {} @@ -51,12 +52,12 @@ int main(int argc, char** argv) osgViewer::Viewer viewer(arguments); - osg::ref_ptr node = osgDB::readNodeFiles(arguments); + osg::ref_ptr node = osgDB::readRefNodeFiles(arguments); if (!node) return 0; osg::ref_ptr gce = new osg::GraphicsCostEstimator; - viewer.setSceneData(node.get()); + viewer.setSceneData(node); viewer.realize(); diff --git a/examples/osghangglide/base.cpp b/examples/osghangglide/base.cpp index c8cd5119a59..9061b2980b7 100644 --- a/examples/osghangglide/base.cpp +++ b/examples/osghangglide/base.cpp @@ -67,7 +67,7 @@ Node *makeBase( void ) Texture2D *tex = new Texture2D; - tex->setImage(osgDB::readImageFile("Images/water.rgb")); + tex->setImage(osgDB::readRefImageFile("Images/water.rgb")); tex->setWrap( Texture2D::WRAP_S, Texture2D::REPEAT ); tex->setWrap( Texture2D::WRAP_T, Texture2D::REPEAT ); diff --git a/examples/osghangglide/sky.cpp b/examples/osghangglide/sky.cpp index 3a23f53a4bf..d1d0a23bd68 100644 --- a/examples/osghangglide/sky.cpp +++ b/examples/osghangglide/sky.cpp @@ -112,7 +112,7 @@ Node *makeSky( void ) Texture2D *tex = new Texture2D; - tex->setImage(osgDB::readImageFile("Images/white.rgb")); + tex->setImage(osgDB::readRefImageFile("Images/white.rgb")); StateSet *dstate = new StateSet; diff --git a/examples/osghangglide/tank.cpp b/examples/osghangglide/tank.cpp index 83a1fd22355..5f1e1f4a5ba 100644 --- a/examples/osghangglide/tank.cpp +++ b/examples/osghangglide/tank.cpp @@ -161,7 +161,7 @@ Node *makeTank( void ) for( i = 0; i < c; i++ ) conv( vc[i], mat, vc[i] ); - + gset->addPrimitiveSet(new DrawArrays(PrimitiveSet::TRIANGLE_FAN,prev_c,c-prev_c)); @@ -171,7 +171,7 @@ Node *makeTank( void ) tex->setWrap( Texture2D::WRAP_S, Texture2D::REPEAT ); tex->setWrap( Texture2D::WRAP_T, Texture2D::REPEAT ); - tex->setImage(osgDB::readImageFile("Images/tank.rgb")); + tex->setImage(osgDB::readRefImageFile("Images/tank.rgb")); StateSet *dstate = new StateSet; dstate->setTextureAttributeAndModes(0, tex, StateAttribute::ON ); diff --git a/examples/osghangglide/terrain.cpp b/examples/osghangglide/terrain.cpp index 52e1e411857..ffc0f791771 100644 --- a/examples/osghangglide/terrain.cpp +++ b/examples/osghangglide/terrain.cpp @@ -131,7 +131,7 @@ Node *makeTerrain( void ) Texture2D *tex = new Texture2D; - tex->setImage(osgDB::readImageFile("Images/lz.rgb")); + tex->setImage(osgDB::readRefImageFile("Images/lz.rgb")); StateSet *dstate = new StateSet; dstate->setMode( GL_LIGHTING, StateAttribute::OFF ); diff --git a/examples/osghangglide/trees.cpp b/examples/osghangglide/trees.cpp index 600b38251ac..205e6295dbb 100644 --- a/examples/osghangglide/trees.cpp +++ b/examples/osghangglide/trees.cpp @@ -234,7 +234,7 @@ Node *makeTrees( void ) struct _tree *t; Texture2D *tex = new Texture2D; - tex->setImage(osgDB::readImageFile("Images/tree0.rgba")); + tex->setImage(osgDB::readRefImageFile("Images/tree0.rgba")); StateSet *dstate = new StateSet; diff --git a/examples/osghud/osghud.cpp b/examples/osghud/osghud.cpp index 46535d21edc..c72eef6c75f 100644 --- a/examples/osghud/osghud.cpp +++ b/examples/osghud/osghud.cpp @@ -248,7 +248,7 @@ struct SnapeImageHandler : public osgGA::GUIEventHandler { osgViewer::View* view = dynamic_cast(&aa); osg::Node* node = view ? view->getSceneData() : 0; - if (node) + if (node) { osgDB::writeNodeFile(*node, "hud.osgt"); osgDB::writeNodeFile(*node, "hud.osgb"); @@ -284,10 +284,10 @@ int main( int argc, char **argv ) // read the scene from the list of file specified commandline args. - osg::ref_ptr scene = osgDB::readNodeFiles(arguments); + osg::ref_ptr scene = osgDB::readRefNodeFiles(arguments); // if not loaded assume no arguments passed in, try use default model instead. - if (!scene) scene = osgDB::readNodeFile("dumptruck.osgt"); + if (!scene) scene = osgDB::readRefNodeFile("dumptruck.osgt"); if (!scene) @@ -320,7 +320,7 @@ int main( int argc, char **argv ) viewer.addSlave(hudCamera, false); // set the scene to render - viewer.setSceneData(scene.get()); + viewer.setSceneData(scene); return viewer.run(); @@ -334,7 +334,7 @@ int main( int argc, char **argv ) osgViewer::View* view = new osgViewer::View; viewer.addView(view); - view->setSceneData(scene.get()); + view->setSceneData(scene); view->setUpViewAcrossAllScreens();; view->setCameraManipulator(new osgGA::TrackballManipulator); @@ -375,11 +375,11 @@ int main( int argc, char **argv ) osg::ref_ptr group = new osg::Group; // add the HUD subgraph. - if (scene.valid()) group->addChild(scene.get()); + if (scene.valid()) group->addChild(scene); group->addChild(createHUD()); // set the scene to render - viewer.setSceneData(group.get()); + viewer.setSceneData(group); return viewer.run(); } diff --git a/examples/osgimagesequence/osgimagesequence.cpp b/examples/osgimagesequence/osgimagesequence.cpp index 7246d6d7331..cc64ae49b93 100644 --- a/examples/osgimagesequence/osgimagesequence.cpp +++ b/examples/osgimagesequence/osgimagesequence.cpp @@ -48,7 +48,7 @@ static osgDB::DirectoryContents getSuitableFiles(osg::ArgumentParser& arguments) { const std::string& directory = arguments[i]; osgDB::DirectoryContents dc = osgDB::getSortedDirectoryContents(directory); - + for(osgDB::DirectoryContents::iterator itr = dc.begin(); itr != dc.end(); ++itr) { std::string full_file_name = directory + "/" + (*itr); @@ -76,28 +76,28 @@ osg::StateSet* createState(osg::ArgumentParser& arguments) osg::ref_ptr imageSequence = new osg::ImageSequence; bool preLoad = true; - + while (arguments.read("--page-and-discard")) { imageSequence->setMode(osg::ImageSequence::PAGE_AND_DISCARD_USED_IMAGES); preLoad = false; } - + while (arguments.read("--page-and-retain")) { imageSequence->setMode(osg::ImageSequence::PAGE_AND_RETAIN_IMAGES); preLoad = false; } - + while (arguments.read("--preload")) { imageSequence->setMode(osg::ImageSequence::PRE_LOAD_ALL_IMAGES); preLoad = true; } - + double length = -1.0; while (arguments.read("--length",length)) {} - + double fps = 30.0; while (arguments.read("--fps",fps)) {} @@ -111,7 +111,7 @@ osg::StateSet* createState(osg::ArgumentParser& arguments) const std::string& filename = *itr; if (preLoad) { - osg::ref_ptr image = osgDB::readImageFile(filename); + osg::ref_ptr image = osgDB::readRefImageFile(filename); if (image.valid()) { imageSequence->addImage(image.get()); @@ -123,7 +123,7 @@ osg::StateSet* createState(osg::ArgumentParser& arguments) } } - + if (length>0.0) { imageSequence->setLength(length); @@ -144,14 +144,14 @@ osg::StateSet* createState(osg::ArgumentParser& arguments) { imageSequence->setLength(4.0); } - imageSequence->addImage(osgDB::readImageFile("Cubemap_axis/posx.png")); - imageSequence->addImage(osgDB::readImageFile("Cubemap_axis/negx.png")); - imageSequence->addImage(osgDB::readImageFile("Cubemap_axis/posy.png")); - imageSequence->addImage(osgDB::readImageFile("Cubemap_axis/negy.png")); - imageSequence->addImage(osgDB::readImageFile("Cubemap_axis/posz.png")); - imageSequence->addImage(osgDB::readImageFile("Cubemap_axis/negz.png")); + imageSequence->addImage(osgDB::readRefImageFile("Cubemap_axis/posx.png")); + imageSequence->addImage(osgDB::readRefImageFile("Cubemap_axis/negx.png")); + imageSequence->addImage(osgDB::readRefImageFile("Cubemap_axis/posy.png")); + imageSequence->addImage(osgDB::readRefImageFile("Cubemap_axis/negy.png")); + imageSequence->addImage(osgDB::readRefImageFile("Cubemap_axis/posz.png")); + imageSequence->addImage(osgDB::readRefImageFile("Cubemap_axis/negz.png")); } - + // start the image sequence playing imageSequence->play(); @@ -163,7 +163,7 @@ osg::StateSet* createState(osg::ArgumentParser& arguments) texture->setResizeNonPowerOfTwoHint(false); texture->setImage(imageSequence.get()); //texture->setTextureSize(512,512); -#else +#else osg::TextureRectangle* texture = new osg::TextureRectangle; texture->setFilter(osg::Texture::MIN_FILTER,osg::Texture::LINEAR); texture->setFilter(osg::Texture::MAG_FILTER,osg::Texture::LINEAR); @@ -183,12 +183,12 @@ osg::StateSet* createState(osg::ArgumentParser& arguments) osg::Node* createModel(osg::ArgumentParser& arguments) { - // create the geometry of the model, just a simple 2d quad right now. + // create the geometry of the model, just a simple 2d quad right now. osg::Geode* geode = new osg::Geode; geode->addDrawable(osg::createTexturedQuadGeometry(osg::Vec3(0.0f,0.0f,0.0), osg::Vec3(1.0f,0.0f,0.0), osg::Vec3(0.0f,0.0f,1.0f))); geode->setStateSet(createState(arguments)); - + return geode; } @@ -200,10 +200,10 @@ class MovieEventHandler : public osgGA::GUIEventHandler public: MovieEventHandler():_playToggle(true),_trackMouse(false) {} - + void setMouseTracking(bool track) { _trackMouse = track; } bool getMouseTracking() const { return _trackMouse; } - + void set(osg::Node* node); void setTrackMouse(bool tm) @@ -233,20 +233,20 @@ class MovieEventHandler : public osgGA::GUIEventHandler bool getTrackMouse() const { return _trackMouse; } virtual bool handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionAdapter& aa, osg::Object*, osg::NodeVisitor* nv); - + virtual void getUsage(osg::ApplicationUsage& usage) const; typedef std::vector< osg::observer_ptr > ImageStreamList; - + struct ImageStreamPlaybackSpeedData { double fps; unsigned char* lastData; double timeStamp, lastOutput; - + ImageStreamPlaybackSpeedData() : fps(0), lastData(NULL), timeStamp(0), lastOutput(0) {} - + }; - + typedef std::vector< ImageStreamPlaybackSpeedData > ImageStreamPlayBackSpeedList; protected: @@ -258,7 +258,7 @@ class MovieEventHandler : public osgGA::GUIEventHandler public: FindImageStreamsVisitor(ImageStreamList& imageStreamList): _imageStreamList(imageStreamList) {} - + virtual void apply(osg::Geode& geode) { apply(geode.getStateSet()); @@ -267,7 +267,7 @@ class MovieEventHandler : public osgGA::GUIEventHandler { apply(geode.getDrawable(i)->getStateSet()); } - + traverse(geode); } @@ -276,11 +276,11 @@ class MovieEventHandler : public osgGA::GUIEventHandler apply(node.getStateSet()); traverse(node); } - + inline void apply(osg::StateSet* stateset) { if (!stateset) return; - + osg::StateAttribute* attr = stateset->getTextureAttribute(0,osg::StateAttribute::TEXTURE); if (attr) { @@ -291,20 +291,20 @@ class MovieEventHandler : public osgGA::GUIEventHandler if (textureRec) apply(dynamic_cast(textureRec->getImage())); } } - + inline void apply(osg::ImageStream* imagestream) { if (imagestream) { - _imageStreamList.push_back(imagestream); + _imageStreamList.push_back(imagestream); s_imageStream = imagestream; } } - + ImageStreamList& _imageStreamList; - + protected: - + FindImageStreamsVisitor& operator = (const FindImageStreamsVisitor&) { return *this; } }; @@ -313,7 +313,7 @@ class MovieEventHandler : public osgGA::GUIEventHandler bool _trackMouse; ImageStreamList _imageStreamList; ImageStreamPlayBackSpeedList _imageStreamPlayBackSpeedList; - + }; @@ -338,7 +338,7 @@ bool MovieEventHandler::handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIAction { double t = ea.getTime(); bool printed(false); - + ImageStreamPlayBackSpeedList::iterator fps_itr = _imageStreamPlayBackSpeedList.begin(); for(ImageStreamList::iterator itr=_imageStreamList.begin(); itr!=_imageStreamList.end(); @@ -351,17 +351,17 @@ bool MovieEventHandler::handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIAction data.lastData = (*itr)->data(); data.fps = (*fps_itr).fps * 0.8 + 0.2 * (1/dt); data.timeStamp = t; - + if (t-data.lastOutput > 1) { std::cout << data.fps << " "; data.lastOutput = t; printed = true; } - + } } - if (printed) + if (printed) std::cout << std::endl; } break; @@ -380,7 +380,7 @@ bool MovieEventHandler::handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIAction } return false; } - + case(osgGA::GUIEventAdapter::KEYDOWN): { if (ea.getKey()=='p') @@ -434,11 +434,11 @@ bool MovieEventHandler::handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIAction } return true; } - else if (ea.getKey() == 'i') + else if (ea.getKey() == 'i') { setTrackMouse(!_trackMouse); - - + + } return false; } @@ -479,7 +479,7 @@ int main(int argc, char **argv) meh->set( viewer.getSceneData() ); if (arguments.read("--track-mouse")) meh->setTrackMouse(true); - + viewer.addEventHandler( meh ); viewer.addEventHandler( new osgViewer::StatsHandler()); diff --git a/examples/osgimpostor/osgimpostor.cpp b/examples/osgimpostor/osgimpostor.cpp index fe98f120666..ce3fe9eceec 100644 --- a/examples/osgimpostor/osgimpostor.cpp +++ b/examples/osgimpostor/osgimpostor.cpp @@ -244,7 +244,7 @@ int main( int argc, char **argv ) // load the nodes from the commandline arguments. - osg::ref_ptr model = osgDB::readNodeFiles(arguments); + osg::ref_ptr model = osgDB::readRefNodeFiles(arguments); if (model) { // the osgSim::InsertImpostorsVisitor used lower down to insert impostors @@ -280,7 +280,7 @@ int main( int argc, char **argv ) // on it right now as it requires a getRoots() method to be added to // osg::Node, and we're about to make a release so no new features! osg::ref_ptr rootnode = new osg::Group; - rootnode->addChild(model.get()); + rootnode->addChild(model); // now insert impostors in the model using the InsertImpostorsVisitor. @@ -304,7 +304,7 @@ int main( int argc, char **argv ) } // add model to viewer. - viewer.setSceneData(model.get()); + viewer.setSceneData(model); return viewer.run(); } diff --git a/examples/osgintersection/osgintersection.cpp b/examples/osgintersection/osgintersection.cpp index 005c2dded59..78b147881ff 100644 --- a/examples/osgintersection/osgintersection.cpp +++ b/examples/osgintersection/osgintersection.cpp @@ -38,7 +38,7 @@ struct MyReadCallback : public osgUtil::IntersectionVisitor::ReadCallback { virtual osg::Node* readNodeFile(const std::string& filename) { - return osgDB::readNodeFile(filename); + return osgDB::readRefNodeFile(filename).release(); } }; @@ -47,37 +47,37 @@ int main(int argc, char **argv) { // use an ArgumentParser object to manage the program arguments. osg::ArgumentParser arguments(&argc,argv); - - osg::ref_ptr scene = osgDB::readNodeFiles(arguments); - - if (!scene) + + osg::ref_ptr scene = osgDB::readRefNodeFiles(arguments); + + if (!scene) { std::cout<<"No model loaded, please specify a valid model on the command line."<getBound(); bool useIntersectorGroup = true; bool useLineOfSight = true; - + //osg::CoordinateSystemNode* csn = dynamic_cast(scene.get()); //osg::EllipsoidModel* em = csn ? csn->getEllipsoidModel() : 0; if (useLineOfSight) { - + osg::Vec3d start = bs.center() + osg::Vec3d(0.0,bs.radius(),0.0); osg::Vec3d end = bs.center() - osg::Vec3d(0.0, bs.radius(),0.0); osg::Vec3d deltaRow( 0.0, 0.0, bs.radius()*0.01); osg::Vec3d deltaColumn( bs.radius()*0.01, 0.0, 0.0); osgSim::LineOfSight los; - + #if 1 unsigned int numRows = 20; unsigned int numColumns = 20; @@ -118,7 +118,7 @@ int main(int argc, char **argv) } } } - + { // now do a second traversal to test performance of cache. osg::Timer_t startTick = osg::Timer::instance()->tick(); @@ -173,7 +173,7 @@ int main(int argc, char **argv) else if (useIntersectorGroup) { osg::Timer_t startTick = osg::Timer::instance()->tick(); - + osg::Vec3d start = bs.center() + osg::Vec3d(0.0,bs.radius(),0.0); osg::Vec3d end = bs.center();// - osg::Vec3d(0.0, bs.radius(),0.0); osg::Vec3d deltaRow( 0.0, 0.0, bs.radius()*0.01); @@ -194,7 +194,7 @@ int main(int argc, char **argv) } } - + osgUtil::IntersectionVisitor intersectVisitor( intersectorGroup.get(), new MyReadCallback ); scene->accept(intersectVisitor); @@ -229,7 +229,7 @@ int main(int argc, char **argv) } } } - + } } @@ -272,6 +272,6 @@ int main(int argc, char **argv) } } } - + return 0; } diff --git a/examples/osgkdtree/osgkdtree.cpp b/examples/osgkdtree/osgkdtree.cpp index 3aa9f28d1fe..0bbe61eb77a 100644 --- a/examples/osgkdtree/osgkdtree.cpp +++ b/examples/osgkdtree/osgkdtree.cpp @@ -16,7 +16,7 @@ * THE SOFTWARE. */ - + #include #include @@ -47,24 +47,24 @@ int main(int argc, char **argv) { // use an ArgumentParser object to manage the program arguments. osg::ArgumentParser arguments(&argc,argv); - + int maxNumLevels = 16; int targetNumIndicesPerLeaf = 16; while (arguments.read("--max", maxNumLevels)) {} while (arguments.read("--leaf", targetNumIndicesPerLeaf)) {} - + osgDB::Registry::instance()->setBuildKdTreesHint(osgDB::ReaderWriter::Options::BUILD_KDTREES); - - osg::ref_ptr scene = osgDB::readNodeFiles(arguments); - - if (!scene) + + osg::ref_ptr scene = osgDB::readRefNodeFiles(arguments); + + if (!scene) { std::cout<<"No model loaded, please specify a valid model on the command line."< loadedModel; // load the scene. - if (argc>1) loadedModel = osgDB::readNodeFile(argv[1]); + if (argc>1) loadedModel = osgDB::readRefNodeFile(argv[1]); // if not loaded assume no arguments passed in, try use default mode instead. - if (!loadedModel) loadedModel = osgDB::readNodeFile("dumptruck.osgt"); + if (!loadedModel) loadedModel = osgDB::readRefNodeFile("dumptruck.osgt"); if (!loadedModel) { @@ -374,7 +374,7 @@ int main( int argc, char **argv ) osgViewer::Viewer viewer; viewer.getCamera()->setGraphicsContext(gc.get()); viewer.getCamera()->setViewport(0,0,800,600); - viewer.setSceneData(loadedModel.get()); + viewer.setSceneData(loadedModel); // create a tracball manipulator to move the camera around in response to keyboard/mouse events viewer.setCameraManipulator( new osgGA::TrackballManipulator ); diff --git a/examples/osgkeystone/osgkeystone.cpp b/examples/osgkeystone/osgkeystone.cpp index 9d24871aee8..68e7476cda1 100644 --- a/examples/osgkeystone/osgkeystone.cpp +++ b/examples/osgkeystone/osgkeystone.cpp @@ -38,14 +38,14 @@ int main( int argc, char **argv ) { osg::ArgumentParser arguments(&argc,argv); - + // initialize the viewer. osgViewer::Viewer viewer(arguments); - + osg::DisplaySettings* ds = viewer.getDisplaySettings() ? viewer.getDisplaySettings() : osg::DisplaySettings::instance().get(); ds->readCommandLine(arguments); - osg::ref_ptr model = osgDB::readNodeFiles(arguments); + osg::ref_ptr model = osgDB::readRefNodeFiles(arguments); if (!model) { @@ -57,8 +57,8 @@ int main( int argc, char **argv ) OSG_NOTICE<<"Stereo "<getStereo()<getStereoMode()<getOrCreateStateSet()) ); @@ -77,7 +77,7 @@ int main( int argc, char **argv ) } ds->setKeystoneHint(true); - + if (!ds->getKeystoneFileNames().empty()) { for(osg::DisplaySettings::Objects::iterator itr = ds->getKeystones().begin(); @@ -85,19 +85,19 @@ int main( int argc, char **argv ) ++itr) { osgViewer::Keystone* keystone = dynamic_cast(itr->get()); - if (keystone) + if (keystone) { std::string filename; keystone->getUserValue("filename",filename); OSG_NOTICE<<"Loaded keystone "<getKeystones().push_back(keystone); } } } - + viewer.apply(new osgViewer::SingleScreen(0)); - + viewer.realize(); while(!viewer.done()) diff --git a/examples/osglauncher/osglauncher.cpp b/examples/osglauncher/osglauncher.cpp index 095f94b20e8..00c98b42cdb 100644 --- a/examples/osglauncher/osglauncher.cpp +++ b/examples/osglauncher/osglauncher.cpp @@ -53,23 +53,23 @@ int runApp(std::string xapp); // class to handle events with a pick class PickHandler : public osgGA::GUIEventHandler { -public: +public: PickHandler(osgViewer::Viewer* viewer,osgText::Text* updateText): _viewer(viewer), _updateText(updateText) {} - + ~PickHandler() {} - + bool handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionAdapter& us); std::string pick(const osgGA::GUIEventAdapter& event); - + void highlight(const std::string& name) { if (_updateText.get()) _updateText->setText(name); } - + protected: osgViewer::Viewer* _viewer; @@ -133,14 +133,14 @@ osg::Node* createHUD(osgText::Text* updateText) osg::MatrixTransform* modelview_abs = new osg::MatrixTransform; modelview_abs->setReferenceFrame(osg::Transform::ABSOLUTE_RF); modelview_abs->setMatrix(osg::Matrix::identity()); - + osg::Projection* projection = new osg::Projection; projection->setMatrix(osg::Matrix::ortho2D(0,1280,0,1024)); projection->addChild(modelview_abs); - - + + std::string timesFont("fonts/times.ttf"); - + // turn lighting off for the text and disable depth test to ensure its always ontop. osg::Vec3 position(50.0f,510.0f,0.0f); osg::Vec3 delta(0.0f,-60.0f,0.0f); @@ -153,16 +153,16 @@ osg::Node* createHUD(osgText::Text* updateText) geode->setName("The text label"); geode->addDrawable( updateText ); modelview_abs->addChild(geode); - + updateText->setCharacterSize(20.0f); updateText->setFont(timesFont); updateText->setColor(osg::Vec4(1.0f,1.0f,0.0f,1.0f)); updateText->setText(""); updateText->setPosition(position); - + position += delta; - } - + } + return projection; } // end create HUDf @@ -179,13 +179,13 @@ class Xample std::string app; public: Xample(std::string image, std::string prog) - { + { texture = image; app = prog; osg::notify(osg::INFO) << "New Xample!" << std::endl; }; ~Xample() { }; - + std::string getTexture() { return texture; @@ -225,11 +225,11 @@ int runApp(std::string xapp) if(!xapp.compare(x.getApp())) { osg::notify(osg::INFO) << "app found!" << std::endl; - + const char* cxapp = xapp.c_str(); - + osg::notify(osg::INFO) << "char* = " << cxapp <getOrCreateStateSet(); // load texture.jpg as an image - osg::Image* imgTexture = osgDB::readImageFile( texture ); - + osg::ref_ptr imgTexture = osgDB::readRefImageFile( texture ); + // if the image is successfully loaded if (imgTexture) { @@ -338,11 +338,11 @@ osg::PositionAttitudeTransform* getPATransformation(osg::Node* object, osg::Vec3 { osg::PositionAttitudeTransform* tmpTrans = new osg::PositionAttitudeTransform(); tmpTrans->addChild( object ); - + tmpTrans->setPosition( position ); tmpTrans->setScale( scale ); tmpTrans->setPivotPoint( pivot ); - + return tmpTrans; } @@ -352,7 +352,7 @@ void printBoundings(osg::Node* current, std::string name) osg::notify(osg::INFO) << name << std::endl; osg::notify(osg::INFO) << "center = " << currentBound.center() << std::endl; osg::notify(osg::INFO) << "radius = " << currentBound.radius() << std::endl; - + // return currentBound.radius(); } @@ -361,7 +361,7 @@ osg::Group* setupGraph() { osg::Group* xGroup = new osg::Group(); - + // positioning and sizes float defaultRadius = 0.8f; @@ -375,20 +375,20 @@ osg::Group* setupGraph() float xjump = (2*bs); float zjump = xjump; osg::Vec3 vScale( 0.5f, 0.5f, 0.5f ); - osg::Vec3 vPivot( 0.0f, 0.0f, 0.0f ); + osg::Vec3 vPivot( 0.0f, 0.0f, 0.0f ); // run through Xampleliste int z = 1; for (OP i = Xamplelist.begin() ; i != Xamplelist.end() ; ++i, ++z) { Xample& x = *i; - + osg::Node* tmpCube = createTexturedCube(defaultRadius, defaultPos, x.getTexture(), x.getApp()); printBoundings(tmpCube, x.getApp()); osg::Vec3 vPosition( xnext, 0.0f, znext ); osg::PositionAttitudeTransform* transX = getPATransformation(tmpCube, vPosition, vScale, vPivot); xGroup->addChild( transX ); - + // line feed if(z < itemsInLine) xnext += xjump; @@ -398,8 +398,8 @@ osg::Group* setupGraph() znext -= zjump; z = 0; } - } // end run through list - + } // end run through list + return xGroup; } // end setupGraph @@ -414,7 +414,7 @@ int main( int argc, char **argv ) { readConfFile(argv[1]); // read ConfigFile 1 } - + // construct the viewer. osgViewer::Viewer viewer; @@ -428,9 +428,9 @@ int main( int argc, char **argv ) root->addChild( setupGraph() ); - // add the HUD subgraph. + // add the HUD subgraph. root->addChild(createHUD(updateText.get())); - + // add model to viewer. viewer.setSceneData( root ); @@ -438,13 +438,13 @@ int main( int argc, char **argv ) lookAt.makeLookAt(osg::Vec3(0.0f, -4.0f, 0.0f), centerScope, osg::Vec3(0.0f, 0.0f, 1.0f)); viewer.getCamera()->setViewMatrix(lookAt); - + viewer.realize(); while( !viewer.done() ) { // fire off the cull and draw traversals of the scene. - viewer.frame(); + viewer.frame(); } return 0; diff --git a/examples/osglight/osglight.cpp b/examples/osglight/osglight.cpp index 593d095a0bf..394285e456d 100644 --- a/examples/osglight/osglight.cpp +++ b/examples/osglight/osglight.cpp @@ -226,7 +226,7 @@ osg::Geometry* createWall(const osg::Vec3& v1,const osg::Vec3& v2,const osg::Vec } -osg::Node* createRoom(osg::Node* loadedModel) +osg::ref_ptr createRoom(const osg::ref_ptr& loadedModel) { // default scale for this model. osg::BoundingSphere bs(osg::Vec3(0.0f,0.0f,0.0f),1.0f); @@ -323,20 +323,20 @@ int main( int argc, char **argv ) osgViewer::Viewer viewer; // load the nodes from the commandline arguments. - osg::Node* loadedModel = osgDB::readNodeFiles(arguments); + osg::ref_ptr loadedModel = osgDB::readRefNodeFiles(arguments); // if not loaded assume no arguments passed in, try use default mode instead. - if (!loadedModel) loadedModel = osgDB::readNodeFile("glider.osgt"); + if (!loadedModel) loadedModel = osgDB::readRefNodeFile("glider.osgt"); // create a room made of foor walls, a floor, a roof, and swinging light fitting. - osg::Node* rootnode = createRoom(loadedModel); + osg::ref_ptr rootnode = createRoom(loadedModel); // run optimization over the scene graph osgUtil::Optimizer optimzer; optimzer.optimize(rootnode); // add a viewport to the viewer and attach the scene graph. - viewer.setSceneData( rootnode ); + viewer.setSceneData(rootnode); // create the windows and run the threads. diff --git a/examples/osglightpoint/osglightpoint.cpp b/examples/osglightpoint/osglightpoint.cpp index d2e77a3f2a3..c6c0fcf803c 100644 --- a/examples/osglightpoint/osglightpoint.cpp +++ b/examples/osglightpoint/osglightpoint.cpp @@ -47,12 +47,12 @@ void addToLightPointNode(osgSim::LightPointNode& lpn,osgSim::LightPoint& start,o lpn.addLightPoint(start); return; } - + float rend = 0.0f; float rdelta = 1.0f/((float)noSteps-1.0f); - + lpn.getLightPointList().reserve(noSteps); - + for(unsigned int i=0;isetDataVariance(osg::Object::STATIC); transform->setMatrix(osg::Matrix::scale(0.1,0.1,0.1)); @@ -100,7 +100,7 @@ osg::Node* createLightPointsDatabase() // bs->addPulse(0.5,osg::Vec4(0.0f,0.0f,0.0f,0.0f)); // off // bs->addPulse(1.0,osg::Vec4(1.0f,1.0f,1.0f,1.0f)); // bs->addPulse(0.5,osg::Vec4(0.0f,0.0f,0.0f,0.0f)); // off - + // osgSim::Sector* sector = new osgSim::ConeSector(osg::Vec3(0.0f,0.0f,1.0f),osg::inDegrees(45.0),osg::inDegrees(45.0)); // osgSim::Sector* sector = new osgSim::ElevationSector(-osg::inDegrees(45.0),osg::inDegrees(45.0),osg::inDegrees(45.0)); @@ -113,7 +113,7 @@ osg::Node* createLightPointsDatabase() { // osgSim::BlinkSequence* local_bs = new osgSim::BlinkSequence(*bs); -// local_bs->setSequenceGroup(new osgSim::BlinkSequence::SequenceGroup((double)i*0.1)); +// local_bs->setSequenceGroup(new osgSim::BlinkSequence::SequenceGroup((double)i*0.1)); // start._blinkSequence = local_bs; // start._sector = sector; @@ -129,7 +129,7 @@ osg::Node* createLightPointsDatabase() // Set point sprite texture in LightPointNode StateSet. osg::Texture2D *tex = new osg::Texture2D(); - tex->setImage(osgDB::readImageFile("Images/particle.rgb")); + tex->setImage(osgDB::readRefImageFile("Images/particle.rgb")); set->setTextureAttributeAndModes(0, tex, osg::StateAttribute::ON); } @@ -140,17 +140,17 @@ osg::Node* createLightPointsDatabase() // addToLightPointNode(*lpn,start,end,noStepsX); - + start._position += start_delta; end._position += end_delta; - - transform->addChild(lpn); + + transform->addChild(lpn); } - + osg::Group* group = new osg::Group; group->addChild(transform); - - + + return group; } @@ -232,16 +232,16 @@ int main( int argc, char **argv ) osg::Group* rootnode = new osg::Group; // load the nodes from the commandline arguments. - rootnode->addChild(osgDB::readNodeFiles(arguments)); + rootnode->addChild(osgDB::readRefNodeFiles(arguments)); rootnode->addChild(createLightPointsDatabase()); rootnode->addChild(CreateBlinkSequenceLightNode()); - + // run optimization over the scene graph osgUtil::Optimizer optimzer; optimzer.optimize(rootnode); - + // add a viewport to the viewer and attach the scene graph. viewer.setSceneData( rootnode ); - + return viewer.run(); } diff --git a/examples/osglogicop/osglogicop.cpp b/examples/osglogicop/osglogicop.cpp index acee4228d93..109d91ec12c 100644 --- a/examples/osglogicop/osglogicop.cpp +++ b/examples/osglogicop/osglogicop.cpp @@ -32,7 +32,7 @@ const int _ops_nb=16; const osg::LogicOp::Opcode _operations[_ops_nb]= -{ +{ osg::LogicOp::CLEAR, osg::LogicOp::SET, osg::LogicOp::COPY, @@ -52,7 +52,7 @@ const osg::LogicOp::Opcode _operations[_ops_nb]= }; const char* _ops_name[_ops_nb]= -{ +{ "osg::LogicOp::CLEAR", "osg::LogicOp::SET", "osg::LogicOp::COPY", @@ -142,22 +142,22 @@ int main( int argc, char **argv ) osg::ArgumentParser arguments(&argc,argv); // load the nodes from the commandline arguments. - osg::Node* loadedModel = osgDB::readNodeFiles(arguments); - + osg::ref_ptr loadedModel = osgDB::readRefNodeFiles(arguments); + // if not loaded assume no arguments passed in, try use default mode instead. - if (!loadedModel) loadedModel = osgDB::readNodeFile("glider.osgt"); - + if (!loadedModel) loadedModel = osgDB::readRefNodeFile("glider.osgt"); + if (!loadedModel) { osg::notify(osg::NOTICE)<<"Please specify model filename on the command line."< root = new osg::Group; root->addChild(loadedModel); - - osg::StateSet* stateset = new osg::StateSet; - osg::LogicOp* logicOp = new osg::LogicOp(osg::LogicOp::OR_INVERTED); + + osg::ref_ptr stateset = new osg::StateSet; + osg::ref_ptr logicOp = new osg::LogicOp(osg::LogicOp::OR_INVERTED); stateset->setAttributeAndModes(logicOp,osg::StateAttribute::OVERRIDE|osg::StateAttribute::ON); @@ -170,14 +170,14 @@ int main( int argc, char **argv ) // construct the viewer. osgViewer::Viewer viewer; - viewer.addEventHandler(new TechniqueEventHandler(logicOp)); - + viewer.addEventHandler(new TechniqueEventHandler(logicOp.get())); + // run optimization over the scene graph osgUtil::Optimizer optimzer; optimzer.optimize(root); - + // add a viewport to the viewer and attach the scene graph. viewer.setSceneData( root ); - + return viewer.run(); } diff --git a/examples/osglogo/osglogo.cpp b/examples/osglogo/osglogo.cpp index bc5e11cfee4..c07ae3d40a5 100644 --- a/examples/osglogo/osglogo.cpp +++ b/examples/osglogo/osglogo.cpp @@ -234,7 +234,7 @@ osg:: Node* createGlobe(const osg::BoundingBox& bb,float ratio, const std::strin osg::MatrixTransform* xform = new osg::MatrixTransform; xform->setUpdateCallback(new osg::AnimationPathCallback(bb.center(),osg::Vec3(0.0f,0.0f,1.0f),osg::inDegrees(10.0f))); - osg::Node* bluemarble = filename.empty() ? 0 : osgDB::readNodeFile(filename.c_str()); + osg::ref_ptr bluemarble = filename.empty() ? 0 : osgDB::readRefNodeFile(filename.c_str()); if (bluemarble) { const osg::BoundingSphere& bs = bluemarble->getBound(); @@ -252,7 +252,7 @@ osg:: Node* createGlobe(const osg::BoundingBox& bb,float ratio, const std::strin osg::StateSet* stateset = geode->getOrCreateStateSet(); - osg::Image* image = osgDB::readImageFile("Images/land_shallow_topo_2048.jpg"); + osg::ref_ptr image = osgDB::readRefImageFile("Images/land_shallow_topo_2048.jpg"); if (image) { osg::Texture2D* texture = new osg::Texture2D; diff --git a/examples/osgmanipulator/osgmanipulator.cpp b/examples/osgmanipulator/osgmanipulator.cpp index 43352df48ea..499bf38848c 100644 --- a/examples/osgmanipulator/osgmanipulator.cpp +++ b/examples/osgmanipulator/osgmanipulator.cpp @@ -453,7 +453,7 @@ int main( int argc, char **argv ) osg::Timer_t start_tick = osg::Timer::instance()->tick(); // read the scene from the list of file specified command line args. - osg::ref_ptr loadedModel = osgDB::readNodeFiles(arguments); + osg::ref_ptr loadedModel = osgDB::readRefNodeFiles(arguments); // if no model has been successfully loaded report failure. bool tragger2Scene(true); @@ -481,14 +481,14 @@ int main( int argc, char **argv ) // optimize the scene graph, remove redundant nodes and state etc. osgUtil::Optimizer optimizer; - optimizer.optimize(loadedModel.get()); + optimizer.optimize(loadedModel); // pass the loaded scene graph to the viewer. if ( tragger2Scene ) { viewer.setSceneData(addDraggerToScene(loadedModel.get(), dragger_name, fixedSizeInScreen)); } else { - viewer.setSceneData(loadedModel.get()); + viewer.setSceneData(loadedModel); } diff --git a/examples/osgmotionblur/osgmotionblur.cpp b/examples/osgmotionblur/osgmotionblur.cpp index 4cdaeec7b4c..8e9953b66a9 100644 --- a/examples/osgmotionblur/osgmotionblur.cpp +++ b/examples/osgmotionblur/osgmotionblur.cpp @@ -26,6 +26,7 @@ class MotionBlurOperation: public osg::Operation { public: MotionBlurOperation(double persistence): + osg::Referenced(true), osg::Operation("MotionBlur",true), cleared_(false), persistence_(persistence) @@ -36,7 +37,7 @@ class MotionBlurOperation: public osg::Operation { osg::GraphicsContext* gc = dynamic_cast(object); if (!gc) return; - + double t = gc->getState()->getFrameStamp()->getSimulationTime(); if (!cleared_) @@ -72,14 +73,14 @@ int main( int argc, char **argv ) // use an ArgumentParser object to manage the program arguments. osg::ArgumentParser arguments(&argc,argv); - + // set up the usage document, in case we need to print out how to use this program. arguments.getApplicationUsage()->setApplicationName(arguments.getApplicationName()); arguments.getApplicationUsage()->setDescription(arguments.getApplicationName()+" is an OpenSceneGraph example that shows how to use the accumulation buffer to achieve a simple motion blur effect."); arguments.getApplicationUsage()->setCommandLineUsage(arguments.getApplicationName()+" [options] filename ..."); arguments.getApplicationUsage()->addCommandLineOption("-h or --help","Display this information"); arguments.getApplicationUsage()->addCommandLineOption("-P or --persistence","Set the motion blur persistence time"); - + // construct the viewer. osgViewer::Viewer viewer; @@ -95,13 +96,13 @@ int main( int argc, char **argv ) arguments.read("-P", persistence) || arguments.read("--persistence", persistence); // read the scene from the list of file specified commandline args. - osg::ref_ptr loadedModel = osgDB::readNodeFiles(arguments); - + osg::ref_ptr loadedModel = osgDB::readRefNodeFiles(arguments); + // if not loaded assume no arguments passed in, try use default mode instead. - if (!loadedModel) loadedModel = osgDB::readNodeFile("cow.osgt"); + if (!loadedModel) loadedModel = osgDB::readRefNodeFile("cow.osgt"); // if no model has been successfully loaded report failure. - if (!loadedModel) + if (!loadedModel) { std::cout << arguments.getApplicationName() <<": No data loaded" << std::endl; return 1; diff --git a/examples/osgmovie/osgmovie.cpp b/examples/osgmovie/osgmovie.cpp index 706bc4760ef..0a62b37deb6 100644 --- a/examples/osgmovie/osgmovie.cpp +++ b/examples/osgmovie/osgmovie.cpp @@ -469,23 +469,46 @@ int main(int argc, char** argv) { //useTextureRectangle = false; + static const char *shaderSourceTextureVertex = { + "#ifdef GL_ES\n" + " precision highp float;\n" + " precision highp int;\n" + "#endif\n" + "varying vec4 texcoord;\n" + "void main(void)\n" + "{\n" + " texcoord = gl_MultiTexCoord0; \n" + " gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;\n" + "}\n" + }; + static const char *shaderSourceTextureRec = { + "#ifdef GL_ES\n" + " precision highp float;\n" + " precision highp int;\n" + "#endif\n" "uniform vec4 cutoff_color;\n" "uniform samplerRect movie_texture;\n" + "varying vec4 texcoord;\n" "void main(void)\n" "{\n" - " vec4 texture_color = textureRect(movie_texture, gl_TexCoord[0].st); \n" + " vec4 texture_color = textureRect(movie_texture, texcoord.st); \n" " if (all(lessThanEqual(texture_color,cutoff_color))) discard; \n" " gl_FragColor = texture_color;\n" "}\n" }; static const char *shaderSourceTexture2D = { + "#ifdef GL_ES\n" + " precision highp float;\n" + " precision highp int;\n" + "#endif\n" "uniform vec4 cutoff_color;\n" "uniform sampler2D movie_texture;\n" + "varying vec4 texcoord;\n" "void main(void)\n" "{\n" - " vec4 texture_color = texture2D(movie_texture, gl_TexCoord[0].st); \n" + " vec4 texture_color = texture2D(movie_texture, texcoord.st); \n" " if (all(lessThanEqual(texture_color,cutoff_color))) discard; \n" " gl_FragColor = texture_color;\n" "}\n" @@ -493,6 +516,9 @@ int main(int argc, char** argv) osg::Program* program = new osg::Program; + + program->addShader(new osg::Shader(osg::Shader::VERTEX, shaderSourceTextureVertex)); + program->addShader(new osg::Shader(osg::Shader::FRAGMENT, useTextureRectangle ? shaderSourceTextureRec : shaderSourceTexture2D)); @@ -520,8 +546,8 @@ int main(int argc, char** argv) { if (arguments.isString(i)) { - osg::Image* image = osgDB::readImageFile(arguments[i]); - osg::ImageStream* imagestream = dynamic_cast(image); + osg::ref_ptr image = osgDB::readRefImageFile(arguments[i]); + osg::ImageStream* imagestream = dynamic_cast(image.get()); if (imagestream) { osg::ImageStream::AudioStreams& audioStreams = imagestream->getAudioStreams(); @@ -550,7 +576,7 @@ int main(int argc, char** argv) float width = image->s() * image->getPixelAspectRatio(); float height = image->t(); - osg::ref_ptr drawable = myCreateTexturedQuadGeometry(pos, width, height,image, useTextureRectangle, xyPlane, flip); + osg::ref_ptr drawable = myCreateTexturedQuadGeometry(pos, width, height, image.get(), useTextureRectangle, xyPlane, flip); if (image->isImageTranslucent()) { diff --git a/examples/osgmultiplemovies/osgmultiplemovies.cpp b/examples/osgmultiplemovies/osgmultiplemovies.cpp index c81ac68cdc5..adc77f8d5cd 100644 --- a/examples/osgmultiplemovies/osgmultiplemovies.cpp +++ b/examples/osgmultiplemovies/osgmultiplemovies.cpp @@ -362,7 +362,7 @@ class MyDimensionsChangedCallback : public osg::Image::DimensionsChangedCallback static osg::Node* readImageStream(const std::string& file_name, osg::Vec3& p, float desired_height, osgDB::Options* options) { - osg::ref_ptr obj = osgDB::readObjectFile(file_name, options); + osg::ref_ptr obj = osgDB::readRefObjectFile(file_name, options); osg::ref_ptr tex = dynamic_cast(obj.get()); osg::Geometry* geo(NULL); float w(0); @@ -374,7 +374,7 @@ static osg::Node* readImageStream(const std::string& file_name, osg::Vec3& p, fl // try readImageFile if readObjectFile failed if (!img_stream) { - img_stream = dynamic_cast(osgDB::readImageFile(file_name, options)); + img_stream = osgDB::readRefFile(file_name, options); } if (img_stream) @@ -531,7 +531,9 @@ class SlideShowEventHandler : public osgGA::GUIEventHandler { if (!tex) { osg::ref_ptr stream = dynamic_cast(obj.get()); if (!stream) - stream = dynamic_cast(osgDB::readImageFile(_files[_currentFile], _options.get())); + { + stream = osgDB::readRefFile(_files[_currentFile], _options.get()); + } if (stream) { diff --git a/examples/osgmultitexture/osgmultitexture.cpp b/examples/osgmultitexture/osgmultitexture.cpp index 2491124cb8f..7c026a80739 100644 --- a/examples/osgmultitexture/osgmultitexture.cpp +++ b/examples/osgmultitexture/osgmultitexture.cpp @@ -44,10 +44,10 @@ int main( int argc, char **argv ) osgViewer::Viewer viewer; // load the nodes from the commandline arguments. - osg::Node* rootnode = osgDB::readNodeFiles(arguments); + osg::ref_ptr rootnode = osgDB::readRefNodeFiles(arguments); // if not loaded assume no arguments passed in, try use default mode instead. - if (!rootnode) rootnode = osgDB::readNodeFile("cessnafire.osgt"); + if (!rootnode) rootnode = osgDB::readRefNodeFile("cessnafire.osgt"); if (!rootnode) { @@ -55,7 +55,7 @@ int main( int argc, char **argv ) return 1; } - osg::Image* image = osgDB::readImageFile("Images/reflect.rgb"); + osg::ref_ptr image = osgDB::readRefImageFile("Images/reflect.rgb"); if (image) { osg::Texture2D* texture = new osg::Texture2D; diff --git a/examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp b/examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp index ea9057b618e..fd732e4f479 100644 --- a/examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp +++ b/examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp @@ -55,7 +55,7 @@ class FindTopMostNodeOfTypeVisitor : public osg::NodeVisitor osg::NodeVisitor(osg::NodeVisitor::TRAVERSE_ALL_CHILDREN), _foundNode(0) {} - + void apply(osg::Node& node) { T* result = dynamic_cast(&node); @@ -68,18 +68,18 @@ class FindTopMostNodeOfTypeVisitor : public osg::NodeVisitor traverse(node); } } - + T* _foundNode; }; -template -T* findTopMostNodeOfType(osg::Node* node) +template +T* findTopMostNodeOfType(R node) { if (!node) return 0; FindTopMostNodeOfTypeVisitor fnotv; node->accept(fnotv); - + return fnotv._foundNode; } @@ -87,7 +87,7 @@ T* findTopMostNodeOfType(osg::Node* node) class ElevationLayerBlendingCallback : public osg::NodeCallback { public: - + typedef std::vector Elevations; ElevationLayerBlendingCallback(osgFX::MultiTextureControl* mtc, const Elevations& elevations, float animationTime=4.0f): @@ -97,7 +97,7 @@ class ElevationLayerBlendingCallback : public osg::NodeCallback _currentElevation(0.0), _mtc(mtc), _elevations(elevations) {} - + /** Callback method called by the NodeVisitor when visiting a node.*/ virtual void operator()(osg::Node* node, osg::NodeVisitor* nv) { @@ -118,7 +118,7 @@ class ElevationLayerBlendingCallback : public osg::NodeCallback unsigned int index = _mtc->getNumTextureWeights()-1; for(unsigned int i=0; i<_elevations.size(); ++i) { - if (_currentElevation>_elevations[i]) + if (_currentElevation>_elevations[i]) { index = i; break; @@ -153,7 +153,7 @@ class ElevationLayerBlendingCallback : public osg::NodeCallback _currentElevation = nv->getViewPoint().z(); osg::CoordinateSystemNode* csn = dynamic_cast(node); - if (csn) + if (csn) { osg::EllipsoidModel* em = csn->getEllipsoidModel(); if (em) @@ -175,7 +175,7 @@ class ElevationLayerBlendingCallback : public osg::NodeCallback double _previousTime; float _animationTime; double _currentElevation; - + osg::observer_ptr _mtc; Elevations _elevations; }; @@ -183,17 +183,17 @@ class ElevationLayerBlendingCallback : public osg::NodeCallback // class to handle events with a pick class TerrainHandler : public osgGA::GUIEventHandler { -public: +public: TerrainHandler(osgTerrain::Terrain* terrain): _terrain(terrain) {} - + bool handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionAdapter& aa) { switch(ea.getEventType()) { case(osgGA::GUIEventAdapter::KEYDOWN): - { + { if (ea.getKey()=='r') { _terrain->setSampleRatio(_terrain->getSampleRatio()*0.5); @@ -220,12 +220,12 @@ class TerrainHandler : public osgGA::GUIEventHandler { } return false; - } + } default: return false; } } - + protected: ~TerrainHandler() {} @@ -240,7 +240,7 @@ int main( int argc, char **argv ) arguments.getApplicationUsage()->addCommandLineOption("-v","Set the terrain vertical scale."); arguments.getApplicationUsage()->addCommandLineOption("-r","Set the terrain sample ratio."); arguments.getApplicationUsage()->addCommandLineOption("--login ","Provide authentication information for http file access."); - + // construct the viewer. osgViewer::Viewer viewer(arguments); @@ -262,7 +262,7 @@ int main( int argc, char **argv ) // obtain the vertical scale float verticalScale = 1.0f; while(arguments.read("-v",verticalScale)) {} - + // obtain the sample ratio float sampleRatio = 1.0f; while(arguments.read("-r",sampleRatio)) {} @@ -322,7 +322,7 @@ int main( int argc, char **argv ) while (arguments.read("-p",pathfile)) { osgGA::AnimationPathManipulator* apm = new osgGA::AnimationPathManipulator(pathfile); - if (apm || !apm->valid()) + if (apm || !apm->valid()) { num = keyswitchManipulator->getNumMatrixManipulators(); keyswitchManipulator->addMatrixManipulator( keyForAnimationPath, "Path", apm ); @@ -338,7 +338,7 @@ int main( int argc, char **argv ) // set up the scene graph { // load the nodes from the commandline arguments. - osg::Node* rootnode = osgDB::readNodeFiles(arguments); + osg::ref_ptr rootnode = osgDB::readRefNodeFiles(arguments); if (!rootnode) { @@ -410,7 +410,7 @@ int main( int argc, char **argv ) // add a viewport to the viewer and attach the scene graph. viewer.setSceneData( rootnode ); } - + // create the windows and run the threads. diff --git a/examples/osgmultitouch/osgmultitouch.cpp b/examples/osgmultitouch/osgmultitouch.cpp index 04ce3bd542a..d57f2c7c009 100644 --- a/examples/osgmultitouch/osgmultitouch.cpp +++ b/examples/osgmultitouch/osgmultitouch.cpp @@ -52,7 +52,7 @@ osg::Camera* createHUD(unsigned int w, unsigned int h) // set the projection matrix camera->setProjectionMatrix(osg::Matrix::ortho2D(0,w,0,h)); - // set the view matrix + // set the view matrix camera->setReferenceFrame(osg::Transform::ABSOLUTE_RF); camera->setViewMatrix(osg::Matrix::identity()); @@ -64,7 +64,7 @@ osg::Camera* createHUD(unsigned int w, unsigned int h) // we don't want the camera to grab event focus from the viewers main camera(s). camera->setAllowEventFocus(false); - + // add to this camera a subgraph to render @@ -87,7 +87,7 @@ osg::Camera* createHUD(unsigned int w, unsigned int h) text->setFont(timesFont); text->setPosition(position); text->setText("A simple multi-touch-example\n1 touch = rotate, \n2 touches = drag + scale, \n3 touches = home"); - } + } camera->addChild(geode); } @@ -106,49 +106,49 @@ class TestMultiTouchEventHandler : public osgGA::GUIEventHandler { { createTouchRepresentations(parent_group, 10); } - + private: - void createTouchRepresentations(osg::Group* parent_group, unsigned int num_objects) + void createTouchRepresentations(osg::Group* parent_group, unsigned int num_objects) { // create some geometry which is shown for every touch-point - for(unsigned int i = 0; i != num_objects; ++i) + for(unsigned int i = 0; i != num_objects; ++i) { std::ostringstream ss; - + osg::Geode* geode = new osg::Geode(); - + osg::ShapeDrawable* drawable = new osg::ShapeDrawable(new osg::Box(osg::Vec3(0,0,0), 100)); drawable->setColor(osg::Vec4(0.5, 0.5, 0.5,1)); geode->addDrawable(drawable); - + ss << "Touch " << i; - + osgText::Text* text = new osgText::Text; geode->addDrawable( text ); drawable->setDataVariance(osg::Object::DYNAMIC); _drawables.push_back(drawable); - - + + text->setFont("fonts/arial.ttf"); text->setPosition(osg::Vec3(110,0,0)); text->setText(ss.str()); _texts.push_back(text); text->setDataVariance(osg::Object::DYNAMIC); - - - + + + osg::MatrixTransform* mat = new osg::MatrixTransform(); mat->addChild(geode); mat->setNodeMask(0x0); - + _mats.push_back(mat); - + parent_group->addChild(mat); - } - + } + parent_group->getOrCreateStateSet()->setMode(GL_LIGHTING, osg::StateAttribute::OFF); } - + virtual bool handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &aa, osg::Object *, osg::NodeVisitor *) { if (ea.getEventType() != osgGA::GUIEventAdapter::FRAME) { @@ -162,7 +162,7 @@ class TestMultiTouchEventHandler : public osgGA::GUIEventHandler { } std::cout << std::endl; } - + switch(ea.getEventType()) { case osgGA::GUIEventAdapter::FRAME: @@ -171,7 +171,7 @@ class TestMultiTouchEventHandler : public osgGA::GUIEventHandler { _cleanupOnNextFrame = false; } break; - + case osgGA::GUIEventAdapter::PUSH: case osgGA::GUIEventAdapter::DRAG: case osgGA::GUIEventAdapter::RELEASE: @@ -179,74 +179,74 @@ class TestMultiTouchEventHandler : public osgGA::GUIEventHandler { // is this a multi-touch event? if (!ea.isMultiTouchEvent()) return false; - + unsigned int j(0); - + // iterate over all touch-points and update the geometry unsigned num_touch_ended(0); - + for(osgGA::GUIEventAdapter::TouchData::iterator i = ea.getTouchData()->begin(); i != ea.getTouchData()->end(); ++i, ++j) { const osgGA::GUIEventAdapter::TouchData::TouchPoint& tp = (*i); float x = ea.getTouchPointNormalizedX(j); float y = ea.getTouchPointNormalizedY(j); - + // std::cout << j << ": " << tp.x << "/" << tp.y <<" "<< x << " " << y << " " << _w << " " << _h << std::endl; - + _mats[j]->setMatrix(osg::Matrix::translate((1+x) * 0.5 * _w, (1+y) * 0.5 * _h, 0)); _mats[j]->setNodeMask(0xffff); - + std::ostringstream ss; ss << "Touch " << tp.id; _texts[j]->setText(ss.str()); - - switch (tp.phase) + + switch (tp.phase) { case osgGA::GUIEventAdapter::TOUCH_BEGAN: _drawables[j]->setColor(osg::Vec4(0,1,0,1)); break; - + case osgGA::GUIEventAdapter::TOUCH_MOVED: _drawables[j]->setColor(osg::Vec4(1,1,1,1)); break; - + case osgGA::GUIEventAdapter::TOUCH_ENDED: _drawables[j]->setColor(osg::Vec4(1,0,0,1)); ++num_touch_ended; break; - + case osgGA::GUIEventAdapter::TOUCH_STATIONERY: _drawables[j]->setColor(osg::Vec4(0.8,0.8,0.8,1)); break; - + default: break; } } - + // hide unused geometry cleanup(j); - + //check if all touches ended if ((ea.getTouchData()->getNumTouchPoints() > 0) && (ea.getTouchData()->getNumTouchPoints() == num_touch_ended)) { _cleanupOnNextFrame = true; } - + // reposition mouse-pointer aa.requestWarpPointer((ea.getWindowX() + ea.getWindowWidth()) / 2.0, (ea.getWindowY() + ea.getWindowHeight()) / 2.0); } break; - + default: break; } - + return false; } - - void cleanup(unsigned int j) + + void cleanup(unsigned int j) { for(unsigned k = j; k < _mats.size(); ++k) { _mats[k]->setNodeMask(0x0); @@ -257,7 +257,7 @@ class TestMultiTouchEventHandler : public osgGA::GUIEventHandler { std::vector _mats; std::vector _texts; bool _cleanupOnNextFrame; - + float _w, _h; }; @@ -267,7 +267,7 @@ int main( int argc, char **argv ) { // use an ArgumentParser object to manage the program arguments. osg::ArgumentParser arguments(&argc,argv); - + unsigned int helpType = 0; if ((helpType = arguments.readHelpType())) @@ -284,12 +284,12 @@ int main( int argc, char **argv ) } // read the scene from the list of file specified commandline args. - osg::ref_ptr scene = osgDB::readNodeFiles(arguments); - + osg::ref_ptr scene = osgDB::readRefNodeFiles(arguments); + // if not loaded assume no arguments passed in, try use default model instead. - if (!scene) scene = osgDB::readNodeFile("dumptruck.osgt"); - - if (!scene) + if (!scene) scene = osgDB::readRefNodeFile("dumptruck.osgt"); + + if (!scene) { osg::Geode* geode = new osg::Geode(); osg::ShapeDrawable* drawable = new osg::ShapeDrawable(new osg::Box(osg::Vec3(0,0,0), 100)); @@ -301,43 +301,43 @@ int main( int argc, char **argv ) // construct the viewer. osgViewer::Viewer viewer(arguments); - - + + //opening devices std::string device; while(arguments.read("--device", device)) { - osg::ref_ptr dev = osgDB::readFile(device); + osg::ref_ptr dev = osgDB::readRefFile(device); if (dev.valid()) { - viewer.addDevice(dev.get()); + viewer.addDevice(dev); } } - - + + osg::ref_ptr group = new osg::Group; - // add the HUD subgraph. - if (scene.valid()) group->addChild(scene.get()); - + // add the HUD subgraph. + if (scene) group->addChild(scene); + viewer.setCameraManipulator(new osgGA::MultiTouchTrackballManipulator()); viewer.realize(); - + osg::GraphicsContext* gc = viewer.getCamera()->getGraphicsContext(); - + #ifdef __APPLE__ // as multitouch is disabled by default, enable it now osgViewer::GraphicsWindowCocoa* win = dynamic_cast(gc); if (win) win->setMultiTouchEnabled(true); #endif - + std::cout << "creating hud with " << gc->getTraits()->width << "x" << gc->getTraits()->height << std::endl; osg::Camera* hud_camera = createHUD(gc->getTraits()->width, gc->getTraits()->height); - - + + viewer.addEventHandler(new TestMultiTouchEventHandler(hud_camera, gc->getTraits()->width, gc->getTraits()->height)); - - + + group->addChild(hud_camera); // set the scene to render @@ -345,5 +345,5 @@ int main( int argc, char **argv ) return viewer.run(); - + } diff --git a/examples/osgmultiviewpaging/osgmultiviewpaging.cpp b/examples/osgmultiviewpaging/osgmultiviewpaging.cpp index 49c6666c46f..73b5c3997a1 100644 --- a/examples/osgmultiviewpaging/osgmultiviewpaging.cpp +++ b/examples/osgmultiviewpaging/osgmultiviewpaging.cpp @@ -64,11 +64,11 @@ int main( int argc, char **argv ) osg::ArgumentParser arguments(&argc,argv); // read the scene from the list of file specified commandline args. - osg::ref_ptr scene = osgDB::readNodeFiles(arguments); + osg::ref_ptr scene = osgDB::readRefNodeFiles(arguments); if (!scene) { - scene = osgDB::readNodeFile("http://www.openscenegraph.org/data/earth_bayarea/earth.ive"); + scene = osgDB::readRefNodeFile("http://www.openscenegraph.org/data/earth_bayarea/earth.ive"); } if (!scene) @@ -123,7 +123,7 @@ int main( int argc, char **argv ) view->setName("View one"); viewer.addView(view); - view->setSceneData(scene.get()); + view->setSceneData(scene); view->getCamera()->setName("Cam one"); view->getCamera()->setViewport(new osg::Viewport(0,0, traits->width/2, traits->height/2)); view->getCamera()->setGraphicsContext(gc.get()); @@ -148,7 +148,7 @@ int main( int argc, char **argv ) view->setName("View two"); viewer.addView(view); - view->setSceneData(scene.get()); + view->setSceneData(scene); view->getCamera()->setName("Cam two"); view->getCamera()->setViewport(new osg::Viewport(traits->width/2,0, traits->width/2, traits->height/2)); view->getCamera()->setGraphicsContext(gc.get()); @@ -162,7 +162,7 @@ int main( int argc, char **argv ) view->setName("View three"); viewer.addView(view); - view->setSceneData(scene.get()); + view->setSceneData(scene); view->getCamera()->setName("Cam three"); view->getCamera()->setProjectionMatrixAsPerspective(30.0, double(traits->width) / double(traits->height/2), 1.0, 1000.0); diff --git a/examples/osgobjectcache/osgobjectcache.cpp b/examples/osgobjectcache/osgobjectcache.cpp new file mode 100644 index 00000000000..e894513aea3 --- /dev/null +++ b/examples/osgobjectcache/osgobjectcache.cpp @@ -0,0 +1,97 @@ +/* OpenSceneGraph example, osgobjectcache. +* +* Permission is hereby granted, free of charge, to any person obtaining a copy +* of this software and associated documentation files (the "Software"), to deal +* in the Software without restriction, including without limitation the rights +* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +* copies of the Software, and to permit persons to whom the Software is +* furnished to do so, subject to the following conditions: +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +* THE SOFTWARE. +*/ + +#include +#include + +#include + +#include + +osg::Group* createObjectCache() +{ + osg::Group* group = new osg::Group(); + + if (osgDB::Registry::instance()->getOptions()==0) + osgDB::Registry::instance()->setOptions(new osgDB::Options()); + + osgDB::Registry::instance()->getOptions()->setObjectCacheHint(osgDB::Options::CACHE_ALL); + + osg::ref_ptr options1 = new osgDB::Options("a=1 b=2 c=3"); + options1->setObjectCacheHint(osgDB::Options::CACHE_ALL); + + osg::ref_ptr options2 = new osgDB::Options("a=6 b=7 c=8"); + options2->setObjectCacheHint(osgDB::Options::CACHE_ALL); + + osg::ref_ptr options3 = new osgDB::Options("b=7 a=6 c=8"); + options3->setObjectCacheHint(osgDB::Options::CACHE_ALL); + + osg::ref_ptr node1 = osgDB::readRefNodeFile("cessna.osg"); + osg::ref_ptr node2 = osgDB::readRefNodeFile("cessna.osg"); + osg::ref_ptr node3 = osgDB::readRefNodeFile("cessna.osg", options1.get()); + osg::ref_ptr node4 = osgDB::readRefNodeFile("cessna.osg", options2.get()); + osg::ref_ptr node5 = osgDB::readRefNodeFile("cessna.osg", options1.get()); + osg::ref_ptr node6 = osgDB::readRefNodeFile("cessna.osg", options2.get()); + osg::ref_ptr node7 = osgDB::readRefNodeFile("cessna.osg", options3.get()); + osg::ref_ptr node8 = osgDB::readRefNodeFile("cessna.osg", options3.get()); + + // check that we really get the correct nodes + if (node1 != node2) + { + fprintf(stderr, "error reading node from object cache using default options\n"); + exit(1); + } + + if (node3 != node5) + { + fprintf(stderr, "error reading node from object cache stored with options '%s'\n", options1.get()->getOptionString().c_str()); + exit(1); + } + + if (node4 != node6) + { + fprintf(stderr, "error reading node from object cache stored with options '%s'\n", options2.get()->getOptionString().c_str()); + exit(1); + } + + if (node7 != node8) + { + fprintf(stderr, "error reading node from object cache stored with options '%s'\n", options3.get()->getOptionString().c_str()); + exit(1); + } + + group->addChild(node1); + group->addChild(node2); + group->addChild(node3); + group->addChild(node4); + group->addChild(node5); + group->addChild(node6); + return group; +} + +int main(int , char **) +{ + // construct the viewer. + osgViewer::Viewer viewer; + + // add model to viewer. + viewer.setSceneData(createObjectCache()); + + // create the windows and run the threads. + return viewer.run(); +} diff --git a/examples/osgoccluder/osgoccluder.cpp b/examples/osgoccluder/osgoccluder.cpp index a754074cd0d..12f917b490a 100644 --- a/examples/osgoccluder/osgoccluder.cpp +++ b/examples/osgoccluder/osgoccluder.cpp @@ -311,10 +311,10 @@ int main( int argc, char **argv ) } // load the nodes from the commandline arguments. - osg::Node* loadedmodel = osgDB::readNodeFiles(arguments); + osg::ref_ptr loadedmodel = osgDB::readRefNodeFiles(arguments); // if not loaded assume no arguments passed in, try using default mode instead. - if (!loadedmodel) loadedmodel = osgDB::readNodeFile("glider.osgt"); + if (!loadedmodel) loadedmodel = osgDB::readRefNodeFile("glider.osgt"); if (!loadedmodel) { @@ -336,12 +336,12 @@ int main( int argc, char **argv ) } else { - rootnode = createOccludersAroundModel(loadedmodel); + rootnode = createOccludersAroundModel(loadedmodel.get()); } // add a viewport to the viewer and attach the scene graph. - viewer.setSceneData( rootnode.get() ); + viewer.setSceneData( rootnode ); return viewer.run(); } diff --git a/examples/osgocclusionquery/osgocclusionquery.cpp b/examples/osgocclusionquery/osgocclusionquery.cpp index 569ba0331ba..9d2643d435b 100644 --- a/examples/osgocclusionquery/osgocclusionquery.cpp +++ b/examples/osgocclusionquery/osgocclusionquery.cpp @@ -749,8 +749,8 @@ int main(int argc, char** argv) if (arguments.argc()>1) { - root = osgDB::readNodeFiles( arguments ); - if (root.valid()) + root = osgDB::readRefNodeFiles( arguments ); + if (root) { // Run a NodeVisitor to insert OcclusionQueryNodes in the scene graph. OcclusionQueryVisitor oqv; @@ -787,10 +787,10 @@ int main(int argc, char** argv) if (optimize) { osgUtil::Optimizer optimizer; - optimizer.optimize( root.get() ); + optimizer.optimize( root ); } - viewer.setSceneData( root.get() ); + viewer.setSceneData( root ); KeyHandler* kh = new KeyHandler( *root ); viewer.addEventHandler( kh ); diff --git a/examples/osgoit/DepthPeeling.cpp b/examples/osgoit/DepthPeeling.cpp index 52237d8f0f2..38e9296bccc 100644 --- a/examples/osgoit/DepthPeeling.cpp +++ b/examples/osgoit/DepthPeeling.cpp @@ -139,10 +139,8 @@ class PostDrawFBOCallback : public osg::Camera::DrawCallback }; -DepthPeeling::CullCallback::CullCallback(unsigned int texUnit, unsigned int texWidth, unsigned int texHeight, unsigned int offsetValue) : +DepthPeeling::CullCallback::CullCallback(unsigned int texUnit, unsigned int offsetValue) : _texUnit(texUnit), - _texWidth(texWidth), - _texHeight(texHeight), _offsetValue(offsetValue) { } @@ -317,7 +315,7 @@ void DepthPeeling::createPeeling() // create some uniform and cull callback objects osg::Uniform *depthOff = new osg::Uniform("depthtest", (bool)false); osg::Uniform *depthOn = new osg::Uniform("depthtest", (bool)true); - CullCallback *ccb = new CullCallback(_texUnit, _texWidth, _texHeight, _offsetValue); + CullCallback *ccb = new CullCallback(_texUnit, _offsetValue); // create a node for solid model rendering osg::Group *pre_solidNode = new osg::Group; @@ -412,7 +410,7 @@ void DepthPeeling::createPeeling() _compositeCamera->setReferenceFrame(osg::Transform::ABSOLUTE_RF); _compositeCamera->setViewMatrix(osg::Matrix()); _compositeCamera->setProjectionMatrix(osg::Matrix::ortho2D(0, 1, 0, 1)); - _compositeCamera->setCullCallback(new CullCallback(0, _texWidth, _texHeight, 0)); + _compositeCamera->setCullCallback(new CullCallback(0, 0)); osg::StateSet* stateSet = _compositeCamera->getOrCreateStateSet(); stateSet->setRenderBinDetails(100, "TraversalOrderBin", osg::StateSet::OVERRIDE_RENDERBIN_DETAILS); _root->addChild(_compositeCamera.get()); diff --git a/examples/osgoit/DepthPeeling.h b/examples/osgoit/DepthPeeling.h index 9598c7abf37..1d0a35da6de 100644 --- a/examples/osgoit/DepthPeeling.h +++ b/examples/osgoit/DepthPeeling.h @@ -63,13 +63,11 @@ class DepthPeeling : public osg::Referenced { class CullCallback : public osg::NodeCallback { public: - CullCallback(unsigned int texUnit, unsigned int texWidth, unsigned int texHeight, unsigned int offsetValue); + CullCallback(unsigned int texUnit, unsigned int offsetValue); virtual void operator()(osg::Node* node, osg::NodeVisitor* nv); private: unsigned int _texUnit; - unsigned int _texWidth; - unsigned int _texHeight; unsigned int _offsetValue; }; diff --git a/examples/osgoit/osgoit.cpp b/examples/osgoit/osgoit.cpp index cf9b197065d..7fe63661d6d 100644 --- a/examples/osgoit/osgoit.cpp +++ b/examples/osgoit/osgoit.cpp @@ -55,23 +55,23 @@ int main(int argc, char** argv) osg::DisplaySettings* displaySettings = new osg::DisplaySettings; viewer.setDisplaySettings(displaySettings); - + // Add the stats handler viewer.addEventHandler(new osgViewer::StatsHandler); - + // add the help handler viewer.addEventHandler(new osgViewer::HelpHandler(arguments.getApplicationUsage())); // any option left unread are converted into errors to write out later. arguments.reportRemainingOptionsAsUnrecognized(); - + // read the dump truck, we will need it twice - osg::ref_ptr dt = osgDB::readNodeFile("dumptruck.osg"); + osg::ref_ptr dt = osgDB::readRefNodeFile("dumptruck.osg"); // display a solid version of the dump truck osg::ref_ptr solidModel = new osg::PositionAttitudeTransform; solidModel->setPosition(osg::Vec3f(7.0f, -2.0f, 7.0f)); - solidModel->addChild(dt.get()); + solidModel->addChild(dt); // generate the 3D heatmap surface to display osg::ref_ptr hm = new Heatmap(30, 30, 10, 30, 30, 1.0, 0.25); diff --git a/examples/osgoscdevice/osgoscdevice.cpp b/examples/osgoscdevice/osgoscdevice.cpp index be66ca1503a..71ffcbb3692 100644 --- a/examples/osgoscdevice/osgoscdevice.cpp +++ b/examples/osgoscdevice/osgoscdevice.cpp @@ -200,7 +200,7 @@ class MyValueListVisitor : public osg::ValueObject::GetValueVisitor { bool UserEventHandler::handle(osgGA::Event* event, osg::Object* object, osg::NodeVisitor* nv) { - + OSG_ALWAYS << "handle user-event: " << event->getName() << std::endl; if (event->getName() == "/pick-result") @@ -215,7 +215,7 @@ bool UserEventHandler::handle(osgGA::Event* event, osg::Object* object, osg::Nod ss << "x: " << y << " y: " << y << std::endl; _text->setText(ss.str()); - + return true; } else if(event->getName() == "/osgga") @@ -231,7 +231,7 @@ bool UserEventHandler::handle(osgGA::Event* event, osg::Object* object, osg::Nod if (win) win->setWindowRectangle(rect[2] + 10 + rect[0], rect[1], rect[2], rect[3]); } - + return true; } else { @@ -251,7 +251,7 @@ bool UserEventHandler::handle(osgGA::Event* event, osg::Object* object, osg::Nod } return true; } - + return false; } @@ -377,8 +377,8 @@ class OscServiceDiscoveredEventHandler: public ForwardToDeviceEventHandler { std::ostringstream ss ; ss << host << ":" << port << ".sender.osc"; - _device = osgDB::readFile(ss.str()); - + _device = osgDB::readRefFile(ss.str()); + osgGA::EventVisitor* ev = dynamic_cast(nv); osgViewer::View* view = ev ? dynamic_cast(ev->getActionAdapter()) : NULL; if (view) @@ -403,14 +403,14 @@ int main( int argc, char **argv ) // read the scene from the list of file specified commandline args. - osg::ref_ptr scene = osgDB::readNodeFiles(arguments); + osg::ref_ptr scene = osgDB::readRefNodeFiles(arguments); if (!scene) { osg::Geode* geode = new osg::Geode(); osg::ShapeDrawable* drawable = new osg::ShapeDrawable(new osg::Box()); geode->addDrawable(drawable); - + scene = geode; } @@ -463,15 +463,15 @@ int main( int argc, char **argv ) view->addEventHandler( new osgViewer::StatsHandler ); view->addEventHandler( new UserEventHandler(text) ); - osg::ref_ptr device = osgDB::readFile("0.0.0.0:9000.receiver.osc"); + osg::ref_ptr device = osgDB::readRefFile("0.0.0.0:9000.receiver.osc"); if (device.valid() && (device->getCapabilities() & osgGA::Device::RECEIVE_EVENTS)) { - view->addDevice(device.get()); + view->addDevice(device); // add a zeroconf device, advertising the osc-device if(use_zeroconf) { - osgGA::Device* zeroconf_device = osgDB::readFile("_osc._udp:9000.advertise.zeroconf"); + osg::ref_ptr zeroconf_device = osgDB::readRefFile("_osc._udp:9000.advertise.zeroconf"); if (zeroconf_device) { view->addDevice(zeroconf_device); @@ -496,8 +496,8 @@ int main( int argc, char **argv ) traits->windowName = "Sender / view one"; osg::ref_ptr gc = osg::GraphicsContext::createGraphicsContext(traits.get()); - - + + #ifdef __APPLE__ // as multitouch is disabled by default, enable it now osgViewer::GraphicsWindowCocoa* win = dynamic_cast(gc.get()); @@ -527,7 +527,7 @@ int main( int argc, char **argv ) if (use_zeroconf) { - osgGA::Device* zeroconf_device = osgDB::readFile("_osc._udp.discover.zeroconf"); + osg::ref_ptr zeroconf_device = osgDB::readRefFile("_osc._udp.discover.zeroconf"); if(zeroconf_device) { view->addDevice(zeroconf_device); view->getEventHandlers().push_front(new OscServiceDiscoveredEventHandler()); @@ -536,7 +536,7 @@ int main( int argc, char **argv ) } else { - osg::ref_ptr device = osgDB::readFile("localhost:9000.sender.osc"); + osg::ref_ptr device = osgDB::readRefFile("localhost:9000.sender.osc"); if (device.valid() && (device->getCapabilities() & osgGA::Device::SEND_EVENTS)) { // add as first event handler, so it gets ALL events ... diff --git a/examples/osgoutline/osgoutline.cpp b/examples/osgoutline/osgoutline.cpp index eb26a863863..994ec857a36 100644 --- a/examples/osgoutline/osgoutline.cpp +++ b/examples/osgoutline/osgoutline.cpp @@ -25,7 +25,7 @@ int main(int argc, char** argv) // load outlined object std::string modelFilename = arguments.argc() > 1 ? arguments[1] : "dumptruck.osgt"; - osg::ref_ptr outlineModel = osgDB::readNodeFile(modelFilename); + osg::ref_ptr outlineModel = osgDB::readRefNodeFile(modelFilename); if (!outlineModel) { osg::notify(osg::FATAL) << "Unable to load model '" << modelFilename << "'\n"; @@ -38,18 +38,18 @@ int main(int argc, char** argv) { // create outline effect osg::ref_ptr outline = new osgFX::Outline; - root->addChild(outline.get()); + root->addChild(outline); outline->setWidth(8); outline->setColor(osg::Vec4(1,1,0,1)); - outline->addChild(outlineModel.get()); + outline->addChild(outlineModel); } if (testOcclusion) { // load occluder std::string occludedModelFilename = "cow.osgt"; - osg::ref_ptr occludedModel = osgDB::readNodeFile(occludedModelFilename); + osg::ref_ptr occludedModel = osgDB::readRefNodeFile(occludedModelFilename); if (!occludedModel) { osg::notify(osg::FATAL) << "Unable to load model '" << occludedModelFilename << "'\n"; @@ -63,14 +63,14 @@ int main(int argc, char** argv) // occluder behind outlined model osg::ref_ptr modelTransform0 = new osg::PositionAttitudeTransform; modelTransform0->setPosition(bsphere.center() + occluderOffset); - modelTransform0->addChild(occludedModel.get()); - root->addChild(modelTransform0.get()); + modelTransform0->addChild(occludedModel); + root->addChild(modelTransform0); // occluder in front of outlined model osg::ref_ptr modelTransform1 = new osg::PositionAttitudeTransform; modelTransform1->setPosition(bsphere.center() - occluderOffset); - modelTransform1->addChild(occludedModel.get()); - root->addChild(modelTransform1.get()); + modelTransform1->addChild(occludedModel); + root->addChild(modelTransform1); } // must have stencil buffer... @@ -78,7 +78,7 @@ int main(int argc, char** argv) // construct the viewer osgViewer::Viewer viewer; - viewer.setSceneData(root.get()); + viewer.setSceneData(root); // must clear stencil buffer... unsigned int clearMask = viewer.getCamera()->getClearMask(); diff --git a/examples/osgpagedlod/osgpagedlod.cpp b/examples/osgpagedlod/osgpagedlod.cpp index 646ae73bb88..d85886a8454 100644 --- a/examples/osgpagedlod/osgpagedlod.cpp +++ b/examples/osgpagedlod/osgpagedlod.cpp @@ -43,17 +43,17 @@ class NameVistor : public osg::NodeVisitor _count(0) { } - + virtual void apply(osg::Node& node) { std::ostringstream os; os << node.className() << "_"<<_count++; node.setName(os.str()); - + traverse(node); - } - + } + unsigned int _count; }; @@ -64,7 +64,7 @@ class CheckVisitor : public osg::NodeVisitor osg::NodeVisitor(osg::NodeVisitor::TRAVERSE_ALL_CHILDREN) { } - + virtual void apply(osg::PagedLOD& plod) { std::cout<<"PagedLOD "< lod = const_cast(itr->get()); - + if (lod->getNumParents()==0) { osg::notify(osg::NOTICE)<<"Warning can't operator on root node."<getRangeList(); typedef std::multimap< osg::LOD::MinMaxPair , unsigned int > MinMaxPairMap; MinMaxPairMap rangeMap; @@ -166,7 +166,7 @@ class ConvertToPageLODVistor : public osg::NodeVisitor { rangeMap.insert(std::multimap< osg::LOD::MinMaxPair , unsigned int >::value_type(*ritr, pos)); } - + pos = 0; for(MinMaxPairMap::reverse_iterator mitr = rangeMap.rbegin(); mitr != rangeMap.rend(); @@ -181,11 +181,11 @@ class ConvertToPageLODVistor : public osg::NodeVisitor std::string filename = _basename; std::ostringstream os; os << _basename << "_"<addChild(lod->getChild(mitr->second), mitr->first.first, mitr->first.second, os.str()); } } - + osg::Node::ParentList parents = lod->getParents(); for(osg::Node::ParentList::iterator pitr=parents.begin(); pitr!=parents.end(); @@ -195,12 +195,12 @@ class ConvertToPageLODVistor : public osg::NodeVisitor } plod->setCenter(plod->getBound().center()); - + } } - + typedef std::set< osg::ref_ptr > LODSet; LODSet _lodSet; std::string _basename; @@ -214,7 +214,7 @@ int main( int argc, char **argv ) // use an ArgumentParser object to manage the program arguments. osg::ArgumentParser arguments(&argc,argv); - + // set up the usage document, in case we need to print out how to use this program. arguments.getApplicationUsage()->setApplicationName(arguments.getApplicationName()); arguments.getApplicationUsage()->setDescription(arguments.getApplicationName()+" creates a hierarchy of files for paging which can be later loaded by viewers."); @@ -232,8 +232,8 @@ int main( int argc, char **argv ) std::string outputfile("output.ive"); while (arguments.read("-o",outputfile)) {} - - + + bool makeAllChildrenPaged = false; while (arguments.read("--makeAllChildrenPaged")) { makeAllChildrenPaged = true; } @@ -246,7 +246,7 @@ int main( int argc, char **argv ) arguments.writeErrorMessages(std::cout); return 1; } - + // if (arguments.argc()<=1) // { // arguments.getApplicationUsage()->write(std::cout,osg::ApplicationUsage::COMMAND_LINE_OPTION); @@ -254,21 +254,21 @@ int main( int argc, char **argv ) // } - osg::ref_ptr model = osgDB::readNodeFiles(arguments); - + osg::ref_ptr model = osgDB::readRefNodeFiles(arguments); + if (!model) { osg::notify(osg::NOTICE)<<"No model loaded."<accept(converter); converter.convert(); - + NameVistor nameNodes; model->accept(nameNodes); @@ -278,7 +278,7 @@ int main( int argc, char **argv ) if (model.valid()) { osgDB::writeNodeFile(*model,outputfile); - + WriteOutPagedLODSubgraphsVistor woplsv; model->accept(woplsv); } diff --git a/examples/osgparametric/osgparametric.cpp b/examples/osgparametric/osgparametric.cpp index c5cc74f8d02..fb39b091c75 100644 --- a/examples/osgparametric/osgparametric.cpp +++ b/examples/osgparametric/osgparametric.cpp @@ -40,7 +40,7 @@ /////////////////////////////////////////////////////////////////// // vertex shader using just Vec4 coefficients -char vertexShaderSource_simple[] = +char vertexShaderSource_simple[] = "uniform vec4 coeff; \n" "\n" "void main(void) \n" @@ -52,11 +52,11 @@ char vertexShaderSource_simple[] = " gl_Vertex.y*coeff[2] + gl_Vertex.y*gl_Vertex.y* coeff[3]; \n" " gl_Position = gl_ModelViewProjectionMatrix * vert;\n" "}\n"; - - + + ////////////////////////////////////////////////////////////////// // vertex shader using full Matrix4 coefficients -char vertexShaderSource_matrix[] = +char vertexShaderSource_matrix[] = "uniform vec4 origin; \n" "uniform mat4 coeffMatrix; \n" "\n" @@ -70,7 +70,7 @@ char vertexShaderSource_matrix[] = ////////////////////////////////////////////////////////////////// // vertex shader using texture read -char vertexShaderSource_texture[] = +char vertexShaderSource_texture[] = "uniform sampler2D vertexTexture; \n" "\n" "void main(void) \n" @@ -86,7 +86,7 @@ char vertexShaderSource_texture[] = ////////////////////////////////////////////////////////////////// // fragment shader // -char fragmentShaderSource[] = +char fragmentShaderSource[] = "uniform sampler2D baseTexture; \n" "\n" "void main(void) \n" @@ -109,17 +109,17 @@ class UniformVarying : public osg::UniformCallback osg::Node* createModel(const std::string& shader, const std::string& textureFileName, const std::string& terrainFileName, bool dynamic, bool useVBO) { osg::Geode* geode = new osg::Geode; - + osg::Geometry* geom = new osg::Geometry; geode->addDrawable(geom); - + // dimensions for ~one million triangles :-) unsigned int num_x = 708; unsigned int num_y = 708; // set up state { - + osg::StateSet* stateset = geom->getOrCreateStateSet(); osg::Program* program = new osg::Program; @@ -131,7 +131,7 @@ osg::Node* createModel(const std::string& shader, const std::string& textureFile program->addShader(vertex_shader); osg::Uniform* coeff = new osg::Uniform("coeff",osg::Vec4(1.0,-1.0f,-1.0f,1.0f)); - + stateset->addUniform(coeff); if (dynamic) @@ -140,7 +140,7 @@ osg::Node* createModel(const std::string& shader, const std::string& textureFile coeff->setDataVariance(osg::Object::DYNAMIC); stateset->setDataVariance(osg::Object::DYNAMIC); } - + } else if (shader=="matrix") { @@ -163,7 +163,7 @@ osg::Node* createModel(const std::string& shader, const std::string& textureFile osg::Shader* vertex_shader = new osg::Shader(osg::Shader::VERTEX, vertexShaderSource_texture); program->addShader(vertex_shader); - osg::Image* image = 0; + osg::ref_ptr image; if (terrainFileName.empty()) { @@ -184,7 +184,7 @@ osg::Node* createModel(const std::string& shader, const std::string& textureFile } else { - image = osgDB::readImageFile(terrainFileName); + image = osgDB::readRefImageFile(terrainFileName); num_x = image->s(); num_y = image->t(); @@ -206,7 +206,7 @@ osg::Node* createModel(const std::string& shader, const std::string& textureFile osg::Shader* fragment_shader = new osg::Shader(osg::Shader::FRAGMENT, fragmentShaderSource); program->addShader(fragment_shader); - osg::Texture2D* texture = new osg::Texture2D(osgDB::readImageFile(textureFileName)); + osg::Texture2D* texture = new osg::Texture2D(osgDB::readRefImageFile(textureFileName)); stateset->setTextureAttributeAndModes(0,texture); osg::Uniform* baseTextureSampler = new osg::Uniform("baseTexture",0); @@ -218,11 +218,11 @@ osg::Node* createModel(const std::string& shader, const std::string& textureFile // set up geometry data. osg::Vec3Array* vertices = new osg::Vec3Array( num_x * num_y ); - + float dx = 1.0f/(float)(num_x-1); float dy = 1.0f/(float)(num_y-1); osg::Vec3 row(0.0f,0.0f,0.0); - + unsigned int vert_no = 0; unsigned int iy; for(iy=0; iysetVertexBufferObject(vbo); - + osg::ElementBufferObject* ebo = useVBO ? new osg::ElementBufferObject : 0; for(iy=0; iyaddPrimitiveSet(elements); - + geom->addPrimitiveSet(elements); + if (ebo) elements->setElementBufferObject(ebo); } - + geom->setUseVertexBufferObjects(useVBO); return geode; @@ -272,7 +272,7 @@ int main(int argc, char *argv[]) arguments.getApplicationUsage()->setDescription(arguments.getApplicationName()+" is the example which demonstrate support for ARB_vertex_program."); arguments.getApplicationUsage()->setCommandLineUsage(arguments.getApplicationName()+" [options] filename ..."); arguments.getApplicationUsage()->addCommandLineOption("-h or --help","Display this information"); - + // construct the viewer. osgViewer::Viewer viewer; @@ -281,7 +281,7 @@ int main(int argc, char *argv[]) std::string shader("simple"); while(arguments.read("-s",shader)) {} - + std::string textureFileName("Images/lz.rgb"); while(arguments.read("-t",textureFileName)) {} @@ -300,14 +300,14 @@ int main(int argc, char *argv[]) arguments.getApplicationUsage()->write(std::cout); return 1; } - + // load the nodes from the commandline arguments. osg::Node* model = createModel(shader,textureFileName,terrainFileName, dynamic, vbo); if (!model) { return 1; } - + viewer.setSceneData(model); return viewer.run(); diff --git a/examples/osgparticleeffects/osgparticleeffects.cpp b/examples/osgparticleeffects/osgparticleeffects.cpp index 03be3c07709..289914328ae 100644 --- a/examples/osgparticleeffects/osgparticleeffects.cpp +++ b/examples/osgparticleeffects/osgparticleeffects.cpp @@ -77,9 +77,9 @@ osg::Node* createMovingModel(const osg::Vec3& center, float radius) osg::AnimationPath* animationPath = createAnimationPath(center,radius,animationLength); - osg::Group* model = new osg::Group; + osg::ref_ptr model = new osg::Group; - osg::Node* glider = osgDB::readNodeFile("glider.osgt"); + osg::ref_ptr glider = osgDB::readRefNodeFile("glider.osgt"); if (glider) { const osg::BoundingSphere& bs = glider->getBound(); @@ -102,7 +102,7 @@ osg::Node* createMovingModel(const osg::Vec3& center, float radius) model->addChild(xform); } - osg::Node* cessna = osgDB::readNodeFile("cessna.osgt"); + osg::ref_ptr cessna = osgDB::readRefNodeFile("cessna.osgt"); if (cessna) { const osg::BoundingSphere& bs = cessna->getBound(); @@ -126,7 +126,7 @@ osg::Node* createMovingModel(const osg::Vec3& center, float radius) model->addChild(xform); } - return model; + return model.release(); } @@ -162,8 +162,8 @@ void build_world(osg::Group *root) osg::Geode* terrainGeode = new osg::Geode; // create terrain { - osg::StateSet* stateset = new osg::StateSet(); - osg::Image* image = osgDB::readImageFile("Images/lz.rgb"); + osg::ref_ptr stateset = new osg::StateSet(); + osg::ref_ptr image = osgDB::readRefImageFile("Images/lz.rgb"); if (image) { osg::Texture2D* texture = new osg::Texture2D; @@ -340,10 +340,11 @@ class PickHandler : public osgGA::GUIEventHandler { itr!=parents.end(); ++itr) { - if (typeid(*(*itr))==typeid(osg::Group)) + osg::Group* parent = (*itr); + if (typeid(*parent)==typeid(osg::Group)) { ++numGroupsFound; - insertGroup = *itr; + insertGroup = parent; } } if (numGroupsFound==parents.size() && numGroupsFound==1 && insertGroup) diff --git a/examples/osgphotoalbum/ImageReaderWriter.cpp b/examples/osgphotoalbum/ImageReaderWriter.cpp index ddfa8f63fa2..83e72a604a3 100644 --- a/examples/osgphotoalbum/ImageReaderWriter.cpp +++ b/examples/osgphotoalbum/ImageReaderWriter.cpp @@ -75,21 +75,20 @@ std::string ImageReaderWriter::local_insertReference(const std::string& fileName return myReference; } -osg::Image* ImageReaderWriter::readImage_Archive(DataReference& dr, float& s,float& t) +osg::ref_ptr ImageReaderWriter::readImage_Archive(DataReference& dr, float& s,float& t) { for(PhotoArchiveList::iterator itr=_photoArchiveList.begin(); itr!=_photoArchiveList.end(); ++itr) { - osg::Image* image = (*itr)->readImage(dr._fileName,dr._resolutionX,dr._resolutionY,s,t); + osg::ref_ptr image = (*itr)->readImage(dr._fileName,dr._resolutionX,dr._resolutionY,s,t); if (image) return image; } return 0; } -osg::Image* ImageReaderWriter::readImage_DynamicSampling(DataReference& dr, float& s,float& t) +osg::ref_ptr ImageReaderWriter::readImage_DynamicSampling(DataReference& dr, float& s,float& t) { - // record previous options. osg::ref_ptr previousOptions = osgDB::Registry::instance()->getOptions(); @@ -99,7 +98,7 @@ osg::Image* ImageReaderWriter::readImage_DynamicSampling(DataReference& dr, floa osgDB::Registry::instance()->setOptions(options.get()); - osg::Image* image = osgDB::readImageFile(dr._fileName); + osg::ref_ptr image = osgDB::readRefImageFile(dr._fileName); // restore previous options. osgDB::Registry::instance()->setOptions(previousOptions.get()); @@ -119,7 +118,7 @@ osgDB::ReaderWriter::ReadResult ImageReaderWriter::local_readNode(const std::str DataReference& dr = itr->second; - osg::Image* image = 0; + osg::ref_ptr image; float s=1.0f,t=1.0f; // try to load photo from any loaded PhotoArchives diff --git a/examples/osgphotoalbum/ImageReaderWriter.h b/examples/osgphotoalbum/ImageReaderWriter.h index 751d3d73f0f..1e20736b3c8 100644 --- a/examples/osgphotoalbum/ImageReaderWriter.h +++ b/examples/osgphotoalbum/ImageReaderWriter.h @@ -1,4 +1,4 @@ -/* -*-c++-*- +/* -*-c++-*- * * OpenSceneGraph example, osgphotoalbum. * @@ -30,14 +30,14 @@ #include "PhotoArchive.h" -#define SERIALIZER() OpenThreads::ScopedLock lock(_serializerMutex) +#define SERIALIZER() OpenThreads::ScopedLock lock(_serializerMutex) class ImageReaderWriter : public osgDB::ReaderWriter { public: - + ImageReaderWriter(); - + virtual const char* className() const { return "ImageReader"; } void addPhotoArchive(PhotoArchive* archive) { _photoArchiveList.push_back(archive); } @@ -54,7 +54,7 @@ class ImageReaderWriter : public osgDB::ReaderWriter return const_cast(this)->local_readNode(fileName, options); } - + protected: std::string local_insertReference(const std::string& fileName, unsigned int res, float width, float height, bool backPage); @@ -73,16 +73,16 @@ class ImageReaderWriter : public osgDB::ReaderWriter unsigned int _resolutionX; unsigned int _resolutionY; osg::Vec3 _center; - osg::Vec3 _maximumWidth; + osg::Vec3 _maximumWidth; osg::Vec3 _maximumHeight; - unsigned int _numPointsAcross; + unsigned int _numPointsAcross; unsigned int _numPointsUp; bool _backPage; }; - - osg::Image* readImage_Archive(DataReference& dr, float& s,float& t); - - osg::Image* readImage_DynamicSampling(DataReference& dr, float& s,float& t); + + osg::ref_ptr readImage_Archive(DataReference& dr, float& s,float& t); + + osg::ref_ptr readImage_DynamicSampling(DataReference& dr, float& s,float& t); typedef std::map< std::string,DataReference > DataReferenceMap; typedef std::vector< osg::ref_ptr > PhotoArchiveList; diff --git a/examples/osgphotoalbum/PhotoArchive.cpp b/examples/osgphotoalbum/PhotoArchive.cpp index 76db14477af..b1319277e3c 100644 --- a/examples/osgphotoalbum/PhotoArchive.cpp +++ b/examples/osgphotoalbum/PhotoArchive.cpp @@ -38,7 +38,7 @@ PhotoArchive::PhotoArchive(const std::string& filename) bool PhotoArchive::readPhotoIndex(const std::string& filename) { osgDB::ifstream in(filename.c_str()); - + char* fileIndentifier = new char [FILE_IDENTIFER.size()]; in.read(fileIndentifier,FILE_IDENTIFER.size()); if (FILE_IDENTIFER!=fileIndentifier) @@ -47,17 +47,17 @@ bool PhotoArchive::readPhotoIndex(const std::string& filename) return false; } delete [] fileIndentifier; - + unsigned int numPhotos; in.read((char*)&numPhotos,sizeof(numPhotos)); _photoIndex.resize(numPhotos); in.read((char*)&_photoIndex.front(),sizeof(PhotoHeader)*numPhotos); - + // success record filename. _archiveFileName = filename; - + return true; } @@ -69,10 +69,10 @@ void PhotoArchive::getImageFileNameList(FileNameList& filenameList) { filenameList.push_back(std::string(itr->filename)); } - + } -osg::Image* PhotoArchive::readImage(const std::string& filename, +osg::ref_ptr PhotoArchive::readImage(const std::string& filename, unsigned int target_s, unsigned target_t, float& original_s, float& original_t) { @@ -83,56 +83,56 @@ osg::Image* PhotoArchive::readImage(const std::string& filename, if (filename==itr->filename) { const PhotoHeader& photoHeader = *itr; - + if (target_s <= photoHeader.thumbnail_s && target_t <= photoHeader.thumbnail_t && photoHeader.thumbnail_position != 0) { osgDB::ifstream in(_archiveFileName.c_str(),std::ios::in | std::ios::binary); - + // find image in.seekg(photoHeader.thumbnail_position); - + // read image header ImageHeader imageHeader; in.read((char*)&imageHeader,sizeof(ImageHeader)); unsigned char* data = new unsigned char[imageHeader.size]; in.read((char*)data,imageHeader.size); - - osg::Image* image = new osg::Image; + + osg::ref_ptr image = new osg::Image; image->setImage(photoHeader.thumbnail_s,photoHeader.thumbnail_t,1, imageHeader.pixelFormat,imageHeader.pixelFormat,imageHeader.type, data,osg::Image::USE_NEW_DELETE); - + original_s = photoHeader.original_s; original_t = photoHeader.original_t; - + return image; } - + if (photoHeader.fullsize_s && photoHeader.fullsize_t && photoHeader.fullsize_position != 0) { osgDB::ifstream in(_archiveFileName.c_str(),std::ios::in | std::ios::binary); - + // find image in.seekg(photoHeader.fullsize_position); - + // read image header ImageHeader imageHeader; in.read((char*)&imageHeader,sizeof(ImageHeader)); unsigned char* data = new unsigned char[imageHeader.size]; in.read((char*)data,imageHeader.size); - - osg::Image* image = new osg::Image; + + osg::ref_ptr image = new osg::Image; image->setImage(photoHeader.fullsize_s,photoHeader.fullsize_t,1, imageHeader.pixelFormat,imageHeader.pixelFormat,imageHeader.type, data,osg::Image::USE_NEW_DELETE); - + original_s = photoHeader.original_s; original_t = photoHeader.original_t; - + return image; } @@ -152,21 +152,21 @@ void PhotoArchive::buildArchive(const std::string& filename, const FileNameList& ++fitr) { PhotoHeader header; - + // set name strncpy(header.filename,fitr->c_str(),255); header.filename[255]=0; - + header.thumbnail_s = thumbnailSize; header.thumbnail_t = thumbnailSize; header.thumbnail_position = 0; - + header.fullsize_s = thumbnailSize; header.fullsize_t = thumbnailSize; header.fullsize_position = 0; photoIndex.push_back(header); - + } std::cout<<"Building photo archive containing "< image = osgDB::readImageFile(photoHeader.filename); - + + osg::ref_ptr image = osgDB::readRefImageFile(photoHeader.filename); + std::cout<<"done."<< std::endl; - + photoHeader.original_s = image->s(); photoHeader.original_t = image->t(); @@ -207,7 +207,7 @@ void PhotoArchive::buildArchive(const std::string& filename, const FileNameList& std::cout<<" creating thumbnail image..."; // first need to rescale image to the require thumbnail size - unsigned int newTotalSize = + unsigned int newTotalSize = image->computeRowWidthInBytes(thumbnailSize,image->getPixelFormat(),image->getDataType(),image->getPacking())* thumbnailSize; @@ -241,7 +241,7 @@ void PhotoArchive::buildArchive(const std::string& filename, const FileNameList& osg::notify(osg::WARN) << "Error scaleImage() did not succeed : errorString = "<computeRowWidthInBytes(photoHeader.fullsize_s,image->getPixelFormat(),image->getDataType(),image->getPacking())* photoHeader.fullsize_t; @@ -326,7 +326,7 @@ void PhotoArchive::buildArchive(const std::string& filename, const FileNameList& std::cout<<"done."<< std::endl; } - + } // rewrite photo index now it has the correct sizes set diff --git a/examples/osgphotoalbum/PhotoArchive.h b/examples/osgphotoalbum/PhotoArchive.h index b66abe26fa1..6a28af031a1 100644 --- a/examples/osgphotoalbum/PhotoArchive.h +++ b/examples/osgphotoalbum/PhotoArchive.h @@ -1,4 +1,4 @@ -/* -*-c++-*- +/* -*-c++-*- * * OpenSceneGraph example, osgphotoalbum. * @@ -35,19 +35,19 @@ class PhotoArchive : public osg::Referenced } typedef std::vector FileNameList; - + bool empty() { return _photoIndex.empty(); } void getImageFileNameList(FileNameList& filenameList); - + static void buildArchive(const std::string& filename, const FileNameList& imageList, unsigned int thumbnailSize=256, unsigned int maximumSize=1024, bool compressed=true); - osg::Image* readImage(const std::string& filename, + osg::ref_ptr readImage(const std::string& filename, unsigned int target_s, unsigned target_t, float& original_s, float& original_t); - - - + + + protected: PhotoArchive(const std::string& filename); @@ -55,7 +55,7 @@ class PhotoArchive : public osg::Referenced virtual ~PhotoArchive() {} bool readPhotoIndex(const std::string& filename); - + struct PhotoHeader { PhotoHeader(): @@ -70,7 +70,7 @@ class PhotoArchive : public osg::Referenced { filename[0]='\0'; } - + char filename[256]; unsigned int original_s; unsigned int original_t; @@ -84,7 +84,7 @@ class PhotoArchive : public osg::Referenced unsigned int fullsize_position; }; - + struct ImageHeader { ImageHeader(): @@ -94,7 +94,7 @@ class PhotoArchive : public osg::Referenced pixelFormat(0), type(0), size(0) {} - + unsigned int s; unsigned int t; GLint internalTextureformat; @@ -107,7 +107,7 @@ class PhotoArchive : public osg::Referenced typedef std::vector PhotoIndexList; std::string _archiveFileName; - PhotoIndexList _photoIndex; + PhotoIndexList _photoIndex; }; diff --git a/examples/osgpick/osgpick.cpp b/examples/osgpick/osgpick.cpp index c6b99b9e49b..0f21490a656 100644 --- a/examples/osgpick/osgpick.cpp +++ b/examples/osgpick/osgpick.cpp @@ -239,7 +239,7 @@ int main( int argc, char **argv ) osg::ArgumentParser arguments(&argc,argv); // read the scene from the list of file specified commandline args. - osg::ref_ptr scene = osgDB::readNodeFiles(arguments); + osg::ref_ptr scene = osgDB::readRefNodeFiles(arguments); if (!scene && arguments.read("--relative-camera-scene")) { @@ -271,7 +271,7 @@ int main( int argc, char **argv ) } // if not loaded assume no arguments passed in, try use default mode instead. - if (!scene) scene = osgDB::readNodeFile("fountain.osgt"); + if (!scene) scene = osgDB::readRefNodeFile("fountain.osgt"); osg::ref_ptr group = dynamic_cast(scene.get()); if (!group) diff --git a/examples/osgplanets/osgplanets.cpp b/examples/osgplanets/osgplanets.cpp index c4b39f6011f..ffea3ef0074 100644 --- a/examples/osgplanets/osgplanets.cpp +++ b/examples/osgplanets/osgplanets.cpp @@ -366,7 +366,7 @@ osg::Geode* SolarSystem::createSpace( const std::string& name, const std::string if( !textureName.empty() ) { - osg::Image* image = osgDB::readImageFile( textureName ); + osg::ref_ptr image = osgDB::readRefImageFile( textureName ); if ( image ) { sSpaceSphere->getOrCreateStateSet()->setTextureAttributeAndModes( 0, new osg::Texture2D( image ), osg::StateAttribute::ON ); @@ -467,7 +467,7 @@ osg::Geode* SolarSystem::createPlanet( double radius, const std::string& name, c if( !textureName.empty() ) { - osg::Image* image = osgDB::readImageFile( textureName ); + osg::ref_ptr image = osgDB::readRefImageFile( textureName ); if ( image ) { osg::Texture2D* tex2d = new osg::Texture2D( image ); @@ -493,7 +493,7 @@ osg::Geode* SolarSystem::createPlanet( double radius, const std::string& name, c if( !textureName2.empty() ) { - osg::Image* image = osgDB::readImageFile( textureName2 ); + osg::ref_ptr image = osgDB::readRefImageFile( textureName2 ); if ( image ) { osg::StateSet* stateset = geodePlanet->getOrCreateStateSet(); diff --git a/examples/osgpoints/osgpoints.cpp b/examples/osgpoints/osgpoints.cpp index 54590b57455..ca2fb2a72a3 100644 --- a/examples/osgpoints/osgpoints.cpp +++ b/examples/osgpoints/osgpoints.cpp @@ -31,7 +31,7 @@ class KeyboardEventHandler : public osgGA::GUIEventHandler { public: - + KeyboardEventHandler(osg::StateSet* stateset): _stateset(stateset) { @@ -39,7 +39,7 @@ class KeyboardEventHandler : public osgGA::GUIEventHandler _point->setDistanceAttenuation(osg::Vec3(0.0,0.0000,0.05f)); _stateset->setAttribute(_point.get()); } - + virtual bool handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionAdapter&) { switch(ea.getEventType()) @@ -73,13 +73,13 @@ class KeyboardEventHandler : public osgGA::GUIEventHandler } return false; } - - + + float getPointSize() const { return _point->getSize(); } - + void setPointSize(float psize) { if (psize>0.0) @@ -98,10 +98,10 @@ class KeyboardEventHandler : public osgGA::GUIEventHandler { _point->setDistanceAttenuation(_point->getDistanceAttenuation()*scale); } - + osg::ref_ptr _stateset; osg::ref_ptr _point; - + }; int main( int argc, char **argv ) @@ -109,7 +109,7 @@ int main( int argc, char **argv ) // use an ArgumentParser object to manage the program arguments. osg::ArgumentParser arguments(&argc,argv); - + // set up the usage document, in case we need to print out how to use this program. arguments.getApplicationUsage()->setApplicationName(arguments.getApplicationName()); arguments.getApplicationUsage()->setDescription(arguments.getApplicationName()+" example provides an interactive viewer for visualising point clouds.."); @@ -131,7 +131,7 @@ int main( int argc, char **argv ) arguments.getApplicationUsage()->write(std::cout); return 1; } - + bool usePointSprites = false; while (arguments.read("--sprites")) { usePointSprites = true; }; @@ -145,10 +145,10 @@ int main( int argc, char **argv ) } // read the scene from the list of file specified commandline args. - osg::ref_ptr loadedModel = osgDB::readNodeFiles(arguments); + osg::ref_ptr loadedModel = osgDB::readRefNodeFiles(arguments); // if no model has been successfully loaded report failure. - if (!loadedModel) + if (!loadedModel) { std::cout << arguments.getApplicationName() <<": No data loaded" << std::endl; return 1; @@ -161,10 +161,10 @@ int main( int argc, char **argv ) // set the scene to render viewer.setSceneData(loadedModel.get()); - + osg::StateSet* stateset = loadedModel->getOrCreateStateSet(); - if (usePointSprites) + if (usePointSprites) { /// Setup cool blending osg::BlendFunc *fn = new osg::BlendFunc(); @@ -176,7 +176,7 @@ int main( int argc, char **argv ) /// The texture for the sprites osg::Texture2D *tex = new osg::Texture2D(); - tex->setImage(osgDB::readImageFile("Images/particle.rgb")); + tex->setImage(osgDB::readRefImageFile("Images/particle.rgb")); stateset->setTextureAttributeAndModes(0, tex, osg::StateAttribute::ON); } @@ -187,7 +187,7 @@ int main( int argc, char **argv ) osg::PolygonMode::FRONT_AND_BACK, osg::PolygonMode::POINT ); stateset->setAttributeAndModes( pm, osg::StateAttribute::ON | osg::StateAttribute::OVERRIDE); } - + // register the handler for modifying the point size viewer.addEventHandler(new KeyboardEventHandler(viewer.getCamera()->getOrCreateStateSet())); @@ -196,10 +196,10 @@ int main( int argc, char **argv ) if (shader) { osg::StateSet* stateset = loadedModel->getOrCreateStateSet(); - + /////////////////////////////////////////////////////////////////// // vertex shader using just Vec4 coefficients - char vertexShaderSource[] = + char vertexShaderSource[] = "void main(void) \n" "{ \n" "\n" @@ -218,7 +218,7 @@ int main( int argc, char **argv ) ////////////////////////////////////////////////////////////////// // fragment shader // - char fragmentShaderSource[] = + char fragmentShaderSource[] = "void main(void) \n" "{ \n" " gl_FragColor = gl_Color; \n" diff --git a/examples/osgpointsprite/osgpointsprite.cpp b/examples/osgpointsprite/osgpointsprite.cpp index 1bbef0df232..dc134ab0403 100644 --- a/examples/osgpointsprite/osgpointsprite.cpp +++ b/examples/osgpointsprite/osgpointsprite.cpp @@ -86,7 +86,7 @@ osg::StateSet* makeStateSet(float size) /// The texture for the sprites osg::Texture2D *tex = new osg::Texture2D(); - tex->setImage(osgDB::readImageFile("Images/particle.rgb")); + tex->setImage(osgDB::readRefImageFile("Images/particle.rgb")); set->setTextureAttributeAndModes(0, tex, osg::StateAttribute::ON); return set; diff --git a/examples/osgposter/PosterPrinter.cpp b/examples/osgposter/PosterPrinter.cpp index 6c8c55f6576..785947e11c7 100644 --- a/examples/osgposter/PosterPrinter.cpp +++ b/examples/osgposter/PosterPrinter.cpp @@ -11,7 +11,7 @@ struct PagedLoadingCallback : public osgUtil::IntersectionVisitor::ReadCallback { virtual osg::Node* readNodeFile( const std::string& filename ) { - return osgDB::readNodeFile( filename ); + return osgDB::readRefNodeFile( filename ).release(); } }; static osg::ref_ptr g_pagedLoadingCallback = new PagedLoadingCallback; diff --git a/examples/osgposter/osgposter.cpp b/examples/osgposter/osgposter.cpp index 3c8ccd7b7a9..1b5464f7d42 100644 --- a/examples/osgposter/osgposter.cpp +++ b/examples/osgposter/osgposter.cpp @@ -38,14 +38,14 @@ class FindTopMostNodeOfTypeVisitor : public osg::NodeVisitor : osg::NodeVisitor(osg::NodeVisitor::TRAVERSE_ALL_CHILDREN), _foundNode(0) {} - + void apply( osg::Node& node ) { T* result = dynamic_cast( &node ); if ( result ) _foundNode = result; else traverse( node ); } - + T* _foundNode; }; @@ -53,7 +53,7 @@ template T* findTopMostNodeOfType( osg::Node* node ) { if ( !node ) return 0; - + FindTopMostNodeOfTypeVisitor fnotv; node->accept( fnotv ); return fnotv._foundNode; @@ -75,31 +75,31 @@ void computeViewMatrixOnEarth( osg::Camera* camera, osg::Node* scene, { osg::CoordinateSystemNode* csn = findTopMostNodeOfType(scene); if ( !csn ) return; - + // Compute eye point in world coordiantes osg::Vec3d eye; csn->getEllipsoidModel()->convertLatLongHeightToXYZ( latLongHeight.x(), latLongHeight.y(), latLongHeight.z(), eye.x(), eye.y(), eye.z() ); - + // Build matrix for computing target vector osg::Matrixd target_matrix = osg::Matrixd::rotate( -hpr.x(), osg::Vec3d(1,0,0), -latLongHeight.x(), osg::Vec3d(0,1,0), latLongHeight.y(), osg::Vec3d(0,0,1) ); - + // Compute tangent vector osg::Vec3d tangent = target_matrix.preMult( osg::Vec3d(0,0,1) ); - + // Compute non-inclined, non-rolled up vector osg::Vec3d up( eye ); up.normalize(); - + // Incline by rotating the target- and up vector around the tangent/up-vector // cross-product osg::Vec3d up_cross_tangent = up ^ tangent; osg::Matrixd incline_matrix = osg::Matrixd::rotate( hpr.y(), up_cross_tangent ); osg::Vec3d target = incline_matrix.preMult( tangent ); - + // Roll by rotating the up vector around the target vector osg::Matrixd roll_matrix = incline_matrix * osg::Matrixd::rotate( hpr.z(), target ); up = roll_matrix.preMult( up ); @@ -114,7 +114,7 @@ class CustomRenderer : public osgViewer::Renderer : osgViewer::Renderer(camera), _cullOnly(true) { } - + void setCullOnly(bool on) { _cullOnly = on; } virtual void operator ()( osg::GraphicsContext* ) @@ -125,22 +125,22 @@ class CustomRenderer : public osgViewer::Renderer else cull_draw(); } } - + virtual void cull() { osgUtil::SceneView* sceneView = _sceneView[0].get(); if ( !sceneView || _done || _graphicsThreadDoesCull ) return; - + updateSceneView( sceneView ); - + osgViewer::View* view = dynamic_cast( _camera->getView() ); if ( view ) sceneView->setFusionDistance( view->getFusionDistanceMode(), view->getFusionDistanceValue() ); sceneView->inheritCullSettings( *(sceneView->getCamera()) ); sceneView->cull(); } - + bool _cullOnly; }; @@ -150,12 +150,12 @@ class PrintPosterHandler : public osgGA::GUIEventHandler public: PrintPosterHandler( PosterPrinter* printer ) : _printer(printer), _started(false) {} - + bool handle( const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& aa ) { osgViewer::View* view = dynamic_cast( &aa ); if ( !view ) return false; - + switch( ea.getEventType() ) { case osgGA::GUIEventAdapter::FRAME: @@ -165,7 +165,7 @@ class PrintPosterHandler : public osgGA::GUIEventHandler if ( view->getDatabasePager()->getRequestsInProgress() ) break; } - + if ( _printer.valid() ) { _printer->frame( view->getFrameStamp(), view->getSceneData() ); @@ -183,7 +183,7 @@ class PrintPosterHandler : public osgGA::GUIEventHandler } } break; - + case osgGA::GUIEventAdapter::KEYDOWN: if ( ea.getKey()=='p' || ea.getKey()=='P' ) { @@ -196,14 +196,14 @@ class PrintPosterHandler : public osgGA::GUIEventHandler root->setValue( 0, false ); root->setValue( 1, true ); } - + _printer->init( view->getCamera() ); _started = true; } return true; } break; - + default: break; } @@ -241,13 +241,13 @@ int main( int argc, char** argv ) usage->addCommandLineOption( "--camera-eye ", "Set eye position in inactive mode." ); usage->addCommandLineOption( "--camera-latlongheight ", "Set eye position on earth in inactive mode." ); usage->addCommandLineOption( "--camera-hpr

", "Set eye rotation in inactive mode." ); - + if ( arguments.read("-h") || arguments.read("--help") ) { usage->write( std::cout ); return 1; } - + // Poster arguments bool activeMode = true; bool outputPoster = true; @@ -257,7 +257,7 @@ int main( int argc, char** argv ) std::string posterName = "poster.bmp", extName = "bmp"; osg::Vec4 bgColor(0.2f, 0.2f, 0.6f, 1.0f); osg::Camera::RenderTargetImplementation renderImplementation = osg::Camera::FRAME_BUFFER_OBJECT; - + while ( arguments.read("--inactive") ) { activeMode = false; } while ( arguments.read("--color", bgColor.r(), bgColor.g(), bgColor.b()) ) {} while ( arguments.read("--tilesize", tileWidth, tileHeight) ) {} @@ -272,7 +272,7 @@ int main( int argc, char** argv ) while ( arguments.read("--use-pbuffer")) { renderImplementation = osg::Camera::PIXEL_BUFFER; } while ( arguments.read("--use-pbuffer-rtt")) { renderImplementation = osg::Camera::PIXEL_BUFFER_RTT; } while ( arguments.read("--use-fb")) { renderImplementation = osg::Camera::FRAME_BUFFER; } - + // Camera settings for inactive screenshot bool useLatLongHeight = true; osg::Vec3d eye; @@ -296,16 +296,16 @@ int main( int argc, char** argv ) hpr.y() = osg::DegreesToRadians( hpr.y() ); hpr.z() = osg::DegreesToRadians( hpr.z() ); } - + // Construct scene graph - osg::Node* scene = osgDB::readNodeFiles( arguments ); - if ( !scene ) scene = osgDB::readNodeFile( "cow.osgt" ); + osg::ref_ptr scene = osgDB::readRefNodeFiles( arguments ); + if ( !scene ) scene = osgDB::readRefNodeFile( "cow.osgt" ); if ( !scene ) { std::cout << arguments.getApplicationName() <<": No data loaded" << std::endl; return 1; } - + // Create camera for rendering tiles offscreen. FrameBuffer is recommended because it requires less memory. osg::ref_ptr camera = new osg::Camera; camera->setClearColor( bgColor ); @@ -315,13 +315,13 @@ int main( int argc, char** argv ) camera->setRenderTargetImplementation( renderImplementation ); camera->setViewport( 0, 0, tileWidth, tileHeight ); camera->addChild( scene ); - + // Set the printer osg::ref_ptr printer = new PosterPrinter; printer->setTileSize( tileWidth, tileHeight ); printer->setPosterSize( posterWidth, posterHeight ); printer->setCamera( camera.get() ); - + osg::ref_ptr posterImage = 0; if ( outputPoster ) { @@ -330,7 +330,7 @@ int main( int argc, char** argv ) printer->setFinalPoster( posterImage.get() ); printer->setOutputPosterName( posterName ); } - + #if 0 // While recording sub-images of the poster, the scene will always be traversed twice, from its two // parent node: root and camera. Sometimes this may not be so comfortable. @@ -345,11 +345,11 @@ int main( int argc, char** argv ) root->addChild( scene ); root->addChild( camera.get() ); #endif - + osgViewer::Viewer viewer; viewer.setSceneData( root.get() ); viewer.getDatabasePager()->setDoPreCompile( false ); - + if ( renderImplementation==osg::Camera::FRAME_BUFFER ) { // FRAME_BUFFER requires the window resolution equal or greater than the to-be-copied size @@ -360,7 +360,7 @@ int main( int argc, char** argv ) // We want to see the console output, so just render in a window viewer.setUpViewInWindow( 100, 100, 800, 600 ); } - + if ( activeMode ) { viewer.addEventHandler( new PrintPosterHandler(printer.get()) ); @@ -373,21 +373,21 @@ int main( int argc, char** argv ) { osg::Camera* camera = viewer.getCamera(); if ( !useLatLongHeight ) computeViewMatrix( camera, eye, hpr ); - else computeViewMatrixOnEarth( camera, scene, latLongHeight, hpr ); - + else computeViewMatrixOnEarth( camera, scene.get(), latLongHeight, hpr ); + osg::ref_ptr renderer = new CustomRenderer( camera ); camera->setRenderer( renderer.get() ); viewer.setThreadingModel( osgViewer::Viewer::SingleThreaded ); - + // Realize and initiate the first PagedLOD request viewer.realize(); viewer.frame(); - + printer->init( camera ); while ( !printer->done() ) { viewer.advance(); - + // Keep updating and culling until full level of detail is reached renderer->setCullOnly( true ); while ( viewer.getDatabasePager()->getRequestsInProgress() ) @@ -395,7 +395,7 @@ int main( int argc, char** argv ) viewer.updateTraversal(); viewer.renderingTraversals(); } - + renderer->setCullOnly( false ); printer->frame( viewer.getFrameStamp(), viewer.getSceneData() ); viewer.renderingTraversals(); diff --git a/examples/osgprecipitation/osgprecipitation.cpp b/examples/osgprecipitation/osgprecipitation.cpp index 98ad13fb46f..c8fea735eb7 100644 --- a/examples/osgprecipitation/osgprecipitation.cpp +++ b/examples/osgprecipitation/osgprecipitation.cpp @@ -49,7 +49,7 @@ class MyGustCallback : public osg::NodeCallback virtual void operator()(osg::Node* node, osg::NodeVisitor* nv) { osgParticle::PrecipitationEffect* pe = dynamic_cast(node); - + float value = sin(nv->getFrameStamp()->getSimulationTime()); if (value<-0.5) { @@ -59,7 +59,7 @@ class MyGustCallback : public osg::NodeCallback { pe->rain(0.5); } - + traverse(node, nv); } }; @@ -70,7 +70,7 @@ int main( int argc, char **argv ) // use an ArgumentParser object to manage the program arguments. osg::ArgumentParser arguments(&argc,argv); - + // set up the usage document, in case we need to print out how to use this program. arguments.getApplicationUsage()->setApplicationName(arguments.getApplicationName()); arguments.getApplicationUsage()->setDescription(arguments.getApplicationName()+" example provides an interactive viewer for visualising point clouds.."); @@ -89,7 +89,7 @@ int main( int argc, char **argv ) arguments.getApplicationUsage()->addCommandLineOption("--fogDensity ","Set the fog density"); arguments.getApplicationUsage()->addCommandLineOption("--fogColour ","Set fog colour."); arguments.getApplicationUsage()->addCommandLineOption("-useFarLineSegments","Switch on the use of line segments"); - + // construct the viewer. osgViewer::Viewer viewer; @@ -108,7 +108,7 @@ int main( int argc, char **argv ) while (arguments.read("-p",pathfile)) { osgGA::AnimationPathManipulator* apm = new osgGA::AnimationPathManipulator(pathfile); - if (apm || !apm->valid()) + if (apm || !apm->valid()) { unsigned int num = keyswitchManipulator->getNumMatrixManipulators(); keyswitchManipulator->addMatrixManipulator( keyForAnimationPath, "Path", apm ); @@ -135,7 +135,7 @@ int main( int argc, char **argv ) osg::Vec3 wind; while (arguments.read("--wind", wind.x(), wind.y(), wind.z())) precipitationEffect->setWind(wind); - + while (arguments.read("--particleSpeed", value)) precipitationEffect->setParticleSpeed(value); while (arguments.read("--nearTransition", value )) precipitationEffect->setNearTransition(value); @@ -144,7 +144,7 @@ int main( int argc, char **argv ) while (arguments.read("--particleDensity", value )) precipitationEffect->setMaximumParticleDensity(value); osg::Vec3 cellSize; - while (arguments.read("--cellSize", cellSize.x(), cellSize.y(), cellSize.z())) precipitationEffect->setCellSize(cellSize); + while (arguments.read("--cellSize", cellSize.x(), cellSize.y(), cellSize.z())) precipitationEffect->setCellSize(cellSize); double clipDistance = 0.0; while (arguments.read("--clip",clipDistance)) {} @@ -160,10 +160,10 @@ int main( int argc, char **argv ) while (arguments.read("--fogDensity", value )) precipitationEffect->getFog()->setDensity(value); while (arguments.read("--fogColor", color.r(), color.g(), color.b(), color.a() )) precipitationEffect->getFog()->setColor(color); while (arguments.read("--fogColour", color.r(), color.g(), color.b(), color.a() )) precipitationEffect->getFog()->setColor(color); - + while (arguments.read("--useFarLineSegments")) { precipitationEffect->setUseFarLineSegments(true); } - + viewer.getCamera()->setClearColor( precipitationEffect->getFog()->getColor() ); @@ -173,21 +173,21 @@ int main( int argc, char **argv ) arguments.getApplicationUsage()->write(std::cout); return 1; } - + // read the scene from the list of file specified commandline args. - osg::ref_ptr loadedModel = osgDB::readNodeFiles(arguments); - if (!loadedModel) + osg::ref_ptr loadedModel = osgDB::readRefNodeFiles(arguments); + if (!loadedModel) { std::cout << arguments.getApplicationName() <<": No data loaded" << std::endl; return 1; } - + // precipitationEffect->setUpdateCallback(new MyGustCallback); - + osg::ref_ptr group = new osg::Group; - + if (clipDistance!=0.0) - { + { osg::ref_ptr clipNode = new osg::ClipNode; clipNode->addClipPlane( new osg::ClipPlane( 0 ) ); clipNode->getClipPlane(0)->setClipPlane( 0.0, 0.0, -1.0, -clipDistance ); @@ -200,12 +200,12 @@ int main( int argc, char **argv ) { group->addChild(precipitationEffect.get()); } - + group->addChild(loadedModel.get()); loadedModel->getOrCreateStateSet()->setAttributeAndModes(precipitationEffect->getFog()); - - // create the light + + // create the light osg::LightSource* lightSource = new osg::LightSource; group->addChild(lightSource); diff --git a/examples/osgprerender/osgprerender.cpp b/examples/osgprerender/osgprerender.cpp index 85216b51873..1e1ba7bf479 100644 --- a/examples/osgprerender/osgprerender.cpp +++ b/examples/osgprerender/osgprerender.cpp @@ -463,10 +463,10 @@ int main( int argc, char **argv ) // load the nodes from the commandline arguments. - osg::Node* loadedModel = osgDB::readNodeFiles(arguments); + osg::ref_ptr loadedModel = osgDB::readRefNodeFiles(arguments); // if not loaded assume no arguments passed in, try use default mode instead. - if (!loadedModel) loadedModel = osgDB::readNodeFile("cessna.osgt"); + if (!loadedModel) loadedModel = osgDB::readRefNodeFile("cessna.osgt"); if (!loadedModel) { diff --git a/examples/osgqfont/osgqfont.cpp b/examples/osgqfont/osgqfont.cpp index 40be9979539..8e82c5de312 100644 --- a/examples/osgqfont/osgqfont.cpp +++ b/examples/osgqfont/osgqfont.cpp @@ -503,6 +503,10 @@ class MainWindow : public QWidget { camera->setGraphicsContext(graphicsWindow); camera->setViewport(new osg::Viewport(0, 0, width(), height())); + // set the draw and read buffers up for a double buffered window with rendering going to back buffer + camera->setDrawBuffer(GL_BACK); + camera->setReadBuffer(GL_BACK); + startTimer(10); } diff --git a/examples/osgreflect/osgreflect.cpp b/examples/osgreflect/osgreflect.cpp index 66a5d991efc..4be56576661 100644 --- a/examples/osgreflect/osgreflect.cpp +++ b/examples/osgreflect/osgreflect.cpp @@ -63,7 +63,7 @@ osg::StateSet* createMirrorTexturedState(const std::string& filename) dstate->setMode(GL_CULL_FACE,osg::StateAttribute::OFF|osg::StateAttribute::PROTECTED); // set up the texture. - osg::Image* image = osgDB::readImageFile(filename.c_str()); + osg::ref_ptr image = osgDB::readRefImageFile(filename.c_str()); if (image) { osg::Texture2D* texture = new osg::Texture2D; @@ -335,10 +335,10 @@ int main( int argc, char **argv ) osgViewer::Viewer viewer; // read the scene from the list of file specified commandline args. - osg::ref_ptr loadedModel = osgDB::readNodeFiles(arguments); + osg::ref_ptr loadedModel = osgDB::readRefNodeFiles(arguments); // if not loaded assume no arguments passed in, try use default mode instead. - if (!loadedModel) loadedModel = osgDB::readNodeFile("cessna.osgt"); + if (!loadedModel) loadedModel = osgDB::readRefNodeFile("cessna.osgt"); // if no model has been successfully loaded report failure. if (!loadedModel) @@ -350,11 +350,11 @@ int main( int argc, char **argv ) // optimize the scene graph, remove redundant nodes and state etc. osgUtil::Optimizer optimizer; - optimizer.optimize(loadedModel.get()); + optimizer.optimize(loadedModel); // add a transform with a callback to animate the loaded model. osg::ref_ptr loadedModelTransform = new osg::MatrixTransform; - loadedModelTransform->addChild(loadedModel.get()); + loadedModelTransform->addChild(loadedModel); osg::ref_ptr nc = new osg::AnimationPathCallback(loadedModelTransform->getBound().center(),osg::Vec3(0.0f,0.0f,1.0f),osg::inDegrees(45.0f)); loadedModelTransform->setUpdateCallback(nc.get()); @@ -364,7 +364,7 @@ int main( int argc, char **argv ) osg::ref_ptr rootNode = createMirroredScene(loadedModelTransform.get()); // set the scene to render - viewer.setSceneData(rootNode.get()); + viewer.setSceneData(rootNode); // hint to tell viewer to request stencil buffer when setting up windows osg::DisplaySettings::instance()->setMinimumNumStencilBits(8); diff --git a/examples/osgscreencapture/osgscreencapture.cpp b/examples/osgscreencapture/osgscreencapture.cpp index 2afefa35917..be49dcb4237 100644 --- a/examples/osgscreencapture/osgscreencapture.cpp +++ b/examples/osgscreencapture/osgscreencapture.cpp @@ -726,7 +726,7 @@ int main(int argc, char** argv) } // load the data - osg::ref_ptr loadedModel = osgDB::readNodeFiles(arguments); + osg::ref_ptr loadedModel = osgDB::readRefNodeFiles(arguments); if (!loadedModel) { std::cout << arguments.getApplicationName() <<": No data loaded" << std::endl; @@ -746,9 +746,9 @@ int main(int argc, char** argv) // optimize the scene graph, remove redundant nodes and state etc. osgUtil::Optimizer optimizer; - optimizer.optimize(loadedModel.get()); + optimizer.optimize(loadedModel); - viewer.setSceneData( loadedModel.get() ); + viewer.setSceneData(loadedModel); if (pbuffer.valid()) diff --git a/examples/osgscribe/osgscribe.cpp b/examples/osgscribe/osgscribe.cpp index 02b0df9ad01..1f34ffa9d28 100644 --- a/examples/osgscribe/osgscribe.cpp +++ b/examples/osgscribe/osgscribe.cpp @@ -40,55 +40,55 @@ int main( int argc, char **argv ) osgViewer::Viewer viewer; // load the nodes from the commandline arguments. - osg::Node* loadedModel = osgDB::readNodeFiles(arguments); + osg::ref_ptr loadedModel = osgDB::readRefNodeFiles(arguments); // if not loaded assume no arguments passed in, try use default mode instead. - if (!loadedModel) loadedModel = osgDB::readNodeFile("cow.osgt"); - + if (!loadedModel) loadedModel = osgDB::readRefNodeFile("cow.osgt"); + if (!loadedModel) { osg::notify(osg::NOTICE)<<"Please specify a model filename on the command line."< rootnode = new osg::Group; + + osg::ref_ptr decorator = new osg::Group; + rootnode->addChild(loadedModel); - - + + rootnode->addChild(decorator); - - decorator->addChild(loadedModel); + + decorator->addChild(loadedModel); // set up the state so that the underlying color is not seen through // and that the drawing mode is changed to wireframe, and a polygon offset - // is added to ensure that we see the wireframe itself, and turn off + // is added to ensure that we see the wireframe itself, and turn off // so texturing too. - osg::StateSet* stateset = new osg::StateSet; - osg::PolygonOffset* polyoffset = new osg::PolygonOffset; + osg::ref_ptr stateset = new osg::StateSet; + osg::ref_ptr polyoffset = new osg::PolygonOffset; polyoffset->setFactor(-1.0f); polyoffset->setUnits(-1.0f); - osg::PolygonMode* polymode = new osg::PolygonMode; + osg::ref_ptr polymode = new osg::PolygonMode; polymode->setMode(osg::PolygonMode::FRONT_AND_BACK,osg::PolygonMode::LINE); stateset->setAttributeAndModes(polyoffset,osg::StateAttribute::OVERRIDE|osg::StateAttribute::ON); stateset->setAttributeAndModes(polymode,osg::StateAttribute::OVERRIDE|osg::StateAttribute::ON); #if 1 - osg::Material* material = new osg::Material; + osg::ref_ptr material = new osg::Material; stateset->setAttributeAndModes(material,osg::StateAttribute::OVERRIDE|osg::StateAttribute::ON); stateset->setMode(GL_LIGHTING,osg::StateAttribute::OVERRIDE|osg::StateAttribute::OFF); #else // version which sets the color of the wireframe. osg::Material* material = new osg::Material; material->setColorMode(osg::Material::OFF); // switch glColor usage off - // turn all lighting off + // turn all lighting off material->setAmbient(osg::Material::FRONT_AND_BACK, osg::Vec4(0.0,0.0f,0.0f,1.0f)); material->setDiffuse(osg::Material::FRONT_AND_BACK, osg::Vec4(0.0,0.0f,0.0f,1.0f)); material->setSpecular(osg::Material::FRONT_AND_BACK, osg::Vec4(0.0,0.0f,0.0f,1.0f)); @@ -99,21 +99,21 @@ int main( int argc, char **argv ) #endif stateset->setTextureMode(0,GL_TEXTURE_2D,osg::StateAttribute::OVERRIDE|osg::StateAttribute::OFF); - + // osg::LineStipple* linestipple = new osg::LineStipple; // linestipple->setFactor(1); // linestipple->setPattern(0xf0f0); // stateset->setAttributeAndModes(linestipple,osg::StateAttribute::OVERRIDE_ON); - + decorator->setStateSet(stateset); - - + + // run optimization over the scene graph osgUtil::Optimizer optimzer; optimzer.optimize(rootnode); - + // add a viewport to the viewer and attach the scene graph. viewer.setSceneData( rootnode ); - + return viewer.run(); } diff --git a/examples/osgsequence/osgsequence.cpp b/examples/osgsequence/osgsequence.cpp index c42cf087b5f..91d2473b2b2 100644 --- a/examples/osgsequence/osgsequence.cpp +++ b/examples/osgsequence/osgsequence.cpp @@ -124,7 +124,7 @@ osg::Sequence* createSequence(osg::ArgumentParser& arguments) typedef std::vector Filenames; Filenames filenames; - + if (arguments.argc() > 1) { for (int i = 1; i < arguments.argc(); ++i) @@ -139,17 +139,17 @@ osg::Sequence* createSequence(osg::ArgumentParser& arguments) filenames.push_back("cessna.osgt"); filenames.push_back("glider.osgt"); } - + for(Filenames::iterator itr = filenames.begin(); itr != filenames.end(); - ++itr) + ++itr) { // load model - osg::Node* node = osgDB::readNodeFile(*itr); + osg::ref_ptr node = osgDB::readRefNodeFile(*itr); if (node) { - seq->addChild(createScaledNode(node, 100.0f)); + seq->addChild(createScaledNode(node.get(), 100.0f)); seq->setTime(seq->getNumChildren()-1, 1.0f); } } @@ -231,7 +231,7 @@ int main( int argc, char **argv ) { // use an ArgumentParser object to manage the program arguments. osg::ArgumentParser arguments(&argc,argv); - + // construct the viewer. osgViewer::Viewer viewer; // root diff --git a/examples/osgshadercomposition/oldshadercomposition.cpp b/examples/osgshadercomposition/oldshadercomposition.cpp index 37e40f5ea22..2c9e7cacf4f 100644 --- a/examples/osgshadercomposition/oldshadercomposition.cpp +++ b/examples/osgshadercomposition/oldshadercomposition.cpp @@ -22,7 +22,7 @@ osg::Node* createOldShaderCompositionScene(osg::ArgumentParser& arguments) { - osg::Node* node = osgDB::readNodeFiles(arguments); + osg::ref_ptr node = osgDB::readRefNodeFiles(arguments); if (!node) return 0; osg::Group* group = new osg::Group; diff --git a/examples/osgshadercomposition/osgshadercomposition.cpp b/examples/osgshadercomposition/osgshadercomposition.cpp index 002ccfaa29c..d59722b6222 100644 --- a/examples/osgshadercomposition/osgshadercomposition.cpp +++ b/examples/osgshadercomposition/osgshadercomposition.cpp @@ -25,7 +25,7 @@ extern osg::Node* createOldShaderCompositionScene(osg::ArgumentParser& arguments osg::Node* createNewShaderCompositionScene(osg::ArgumentParser& arguments) { - osg::ref_ptr node = osgDB::readNodeFiles(arguments); + osg::ref_ptr node = osgDB::readRefNodeFiles(arguments); if (!node) return 0; osg::ref_ptr group = new osg::Group; @@ -34,21 +34,21 @@ osg::Node* createNewShaderCompositionScene(osg::ArgumentParser& arguments) osg::ref_ptr program = new osg::Program; stateset->setAttribute(program.get()); - osg::ref_ptr lighting_shader = osgDB::readShaderFile("shaders/lighting.vert"); + osg::ref_ptr lighting_shader = osgDB::readRefShaderFile("shaders/lighting.vert"); if (lighting_shader.valid()) { program->addShader(lighting_shader.get()); OSG_NOTICE<<"Adding lighting shader"< vertex_shader = osgDB::readShaderFile("shaders/osgshadercomposition.vert"); + osg::ref_ptr vertex_shader = osgDB::readRefShaderFile("shaders/osgshadercomposition.vert"); if (vertex_shader.valid()) { program->addShader(vertex_shader.get()); OSG_NOTICE<<"Adding vertex shader"< fragment_shader = osgDB::readShaderFile("shaders/osgshadercomposition.frag"); + osg::ref_ptr fragment_shader = osgDB::readRefShaderFile("shaders/osgshadercomposition.frag"); if (fragment_shader.valid()) { program->addShader(fragment_shader.get()); diff --git a/examples/osgshadergen/osgshadergen.cpp b/examples/osgshadergen/osgshadergen.cpp index e854e64e9d0..042f00a027c 100644 --- a/examples/osgshadergen/osgshadergen.cpp +++ b/examples/osgshadergen/osgshadergen.cpp @@ -1,9 +1,9 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield +/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield * - * This application is open source and may be redistributed and/or modified + * This application is open source and may be redistributed and/or modified * freely and without restriction, both in commercial and non commercial applications, * as long as this copyright notice is maintained. - * + * * This application is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. @@ -70,14 +70,14 @@ int main(int argc, char** argv) arguments.getApplicationUsage()->write(std::cout, helpType); return 1; } - + // report any errors if they have occurred when parsing the program arguments. if (arguments.errors()) { arguments.writeErrorMessages(std::cout); return 1; } - + if (arguments.argc()<=1) { arguments.getApplicationUsage()->write(std::cout,osg::ApplicationUsage::COMMAND_LINE_OPTION); @@ -98,7 +98,7 @@ int main(int argc, char** argv) while (arguments.read("-p",pathfile)) { osgGA::AnimationPathManipulator* apm = new osgGA::AnimationPathManipulator(pathfile); - if (apm || !apm->valid()) + if (apm || !apm->valid()) { unsigned int num = keyswitchManipulator->getNumMatrixManipulators(); keyswitchManipulator->addMatrixManipulator( keyForAnimationPath, "Path", apm ); @@ -112,13 +112,13 @@ int main(int argc, char** argv) // add the state manipulator viewer.addEventHandler( new osgGA::StateSetManipulator(viewer.getCamera()->getOrCreateStateSet()) ); - + // add the thread model handler viewer.addEventHandler(new osgViewer::ThreadingHandler); // add the window size toggle handler viewer.addEventHandler(new osgViewer::WindowSizeHandler); - + // add the stats handler viewer.addEventHandler(new osgViewer::StatsHandler); @@ -133,7 +133,7 @@ int main(int argc, char** argv) // add the screen capture handler viewer.addEventHandler(new osgViewer::ScreenCaptureHandler); - + // Register shader generator callback ShaderGenReadFileCallback *readFileCallback = new ShaderGenReadFileCallback; // All read nodes will inherit root state set. @@ -141,8 +141,8 @@ int main(int argc, char** argv) osgDB::Registry::instance()->setReadFileCallback(readFileCallback); // load the data - osg::ref_ptr loadedModel = osgDB::readNodeFiles(arguments); - if (!loadedModel) + osg::ref_ptr loadedModel = osgDB::readRefNodeFiles(arguments); + if (!loadedModel) { std::cout << arguments.getApplicationName() <<": No data loaded" << std::endl; return 1; diff --git a/examples/osgshaderterrain/osgshaderterrain.cpp b/examples/osgshaderterrain/osgshaderterrain.cpp index 9424ad278c3..cb2f5459b84 100644 --- a/examples/osgshaderterrain/osgshaderterrain.cpp +++ b/examples/osgshaderterrain/osgshaderterrain.cpp @@ -121,7 +121,7 @@ osg::Node* createScene() stateset->setTextureAttributeAndModes(0,terrainTexture,osg::StateAttribute::ON); - osg::Image* image = osgDB::readImageFile("Images/lz.rgb"); + osg::ref_ptr image = osgDB::readRefImageFile("Images/lz.rgb"); if (image) { osg::Texture2D* texture = new osg::Texture2D; @@ -261,6 +261,7 @@ class TestSupportOperation: public osg::GraphicsOperation public: TestSupportOperation(): + osg::Referenced(true), osg::GraphicsOperation("TestSupportOperation",false), _supported(true), _errorMessage() {} diff --git a/examples/osgshadow/osgshadow.cpp b/examples/osgshadow/osgshadow.cpp index 52d2fda8a17..d1087711e68 100644 --- a/examples/osgshadow/osgshadow.cpp +++ b/examples/osgshadow/osgshadow.cpp @@ -390,7 +390,7 @@ namespace ModelTwo // set up the texture of the base. osg::StateSet* stateset = new osg::StateSet(); - osg::Image* image = osgDB::readImageFile("Images/lz.rgb"); + osg::ref_ptr image = osgDB::readRefImageFile("Images/lz.rgb"); if (image) { osg::Texture2D* texture = new osg::Texture2D; @@ -451,7 +451,7 @@ namespace ModelTwo osg::Group* model = new osg::Group; - osg::Node* cessna = osgDB::readNodeFile("cessna.osgt"); + osg::ref_ptr cessna = osgDB::readRefNodeFile("cessna.osgt"); if (cessna) { const osg::BoundingSphere& bs = cessna->getBound(); @@ -479,8 +479,6 @@ namespace ModelTwo { osg::Vec3 center(0.0f,0.0f,0.0f); float radius = 100.0f; - osg::Vec3 lightPosition(center+osg::Vec3(0.0f,0.0f,radius)); - // the shadower model osg::Node* shadower = createMovingModel(center,radius*0.5f); shadower->setNodeMask(CastsShadowTraversalMask); @@ -573,7 +571,7 @@ namespace ModelThree if (withBaseTexture) { - scene->getOrCreateStateSet()->setTextureAttributeAndModes( 0, new osg::Texture2D(osgDB::readImageFile("Images/lz.rgb")), osg::StateAttribute::ON); + scene->getOrCreateStateSet()->setTextureAttributeAndModes( 0, new osg::Texture2D(osgDB::readRefImageFile("Images/lz.rgb")), osg::StateAttribute::ON); } return scene; @@ -628,13 +626,13 @@ namespace ModelFive { // Set the ground (only receives shadow) osg::ref_ptr groundNode = new osg::MatrixTransform; - groundNode->addChild( osgDB::readNodeFile("lz.osg") ); + groundNode->addChild( osgDB::readRefNodeFile("lz.osg") ); groundNode->setMatrix( osg::Matrix::translate(200.0f, 200.0f,-200.0f) ); groundNode->setNodeMask( ReceivesShadowTraversalMask ); // Set the cessna (only casts shadow) osg::ref_ptr cessnaNode = new osg::MatrixTransform; - cessnaNode->addChild( osgDB::readNodeFile("cessna.osg.0,0,90.rot") ); + cessnaNode->addChild( osgDB::readRefNodeFile("cessna.osg.0,0,90.rot") ); cessnaNode->addUpdateCallback( createAnimationPathCallback(50.0f, 6.0f) ); cessnaNode->setNodeMask( CastsShadowTraversalMask ); @@ -1027,7 +1025,7 @@ int main(int argc, char** argv) OSG_INFO<<"shadowedScene->getShadowTechnique()="<getShadowTechnique()< model = osgDB::readNodeFiles(arguments); + osg::ref_ptr model = osgDB::readRefNodeFiles(arguments); if (model.valid()) { model->setNodeMask(CastsShadowTraversalMask | ReceivesShadowTraversalMask); @@ -1063,7 +1061,7 @@ int main(int argc, char** argv) geode->setNodeMask(shadowedScene->getReceivesShadowTraversalMask()); - geode->getOrCreateStateSet()->setTextureAttributeAndModes(0, new osg::Texture2D(osgDB::readImageFile("Images/lz.rgb"))); + geode->getOrCreateStateSet()->setTextureAttributeAndModes(0, new osg::Texture2D(osgDB::readRefImageFile("Images/lz.rgb"))); shadowedScene->addChild(geode); } diff --git a/examples/osgshape/osgshape.cpp b/examples/osgshape/osgshape.cpp index 7adff20f25a..f25ac90b703 100644 --- a/examples/osgshape/osgshape.cpp +++ b/examples/osgshape/osgshape.cpp @@ -36,13 +36,13 @@ osg::Geode* createShapes() { osg::Geode* geode = new osg::Geode(); - + // --------------------------------------- // Set up a StateSet to texture the objects // --------------------------------------- osg::StateSet* stateset = new osg::StateSet(); - osg::Image* image = osgDB::readImageFile( "Images/lz.rgb" ); + osg::ref_ptr image = osgDB::readRefImageFile( "Images/lz.rgb" ); if (image) { osg::Texture2D* texture = new osg::Texture2D; @@ -50,18 +50,18 @@ osg::Geode* createShapes() texture->setFilter(osg::Texture::MIN_FILTER, osg::Texture::LINEAR); stateset->setTextureAttributeAndModes(0,texture, osg::StateAttribute::ON); } - + stateset->setMode(GL_LIGHTING, osg::StateAttribute::ON); - + geode->setStateSet( stateset ); - + float radius = 0.8f; float height = 1.0f; - + osg::TessellationHints* hints = new osg::TessellationHints; hints->setDetailRatio(0.5f); - + geode->addDrawable(new osg::ShapeDrawable(new osg::Sphere(osg::Vec3(0.0f,0.0f,0.0f),radius),hints)); geode->addDrawable(new osg::ShapeDrawable(new osg::Box(osg::Vec3(2.0f,0.0f,0.0f),2*radius),hints)); geode->addDrawable(new osg::ShapeDrawable(new osg::Cone(osg::Vec3(4.0f,0.0f,0.0f),radius,height),hints)); @@ -72,7 +72,7 @@ osg::Geode* createShapes() grid->allocate(38,39); grid->setXInterval(0.28f); grid->setYInterval(0.28f); - + for(unsigned int r=0;r<39;++r) { for(unsigned int c=0;c<38;++c) @@ -81,7 +81,7 @@ osg::Geode* createShapes() } } geode->addDrawable(new osg::ShapeDrawable(grid)); - + osg::ConvexHull* mesh = new osg::ConvexHull; osg::Vec3Array* vertices = new osg::Vec3Array(4); (*vertices)[0].set(9.0+0.0f,-1.0f+2.0f,-1.0f+0.0f); diff --git a/examples/osgsidebyside/osgsidebyside.cpp b/examples/osgsidebyside/osgsidebyside.cpp index 1d8e8bcd2e1..19dce979a2d 100644 --- a/examples/osgsidebyside/osgsidebyside.cpp +++ b/examples/osgsidebyside/osgsidebyside.cpp @@ -41,41 +41,12 @@ using namespace osg; using namespace osgGA; -class SwitchDOFVisitor : public osg::NodeVisitor, public osgGA::GUIEventHandler +class SwitchDOFHandler : public osgGA::GUIEventHandler { public: - SwitchDOFVisitor(): - osg::NodeVisitor(osg::NodeVisitor::TRAVERSE_ALL_CHILDREN) - { - } - - SwitchDOFVisitor(const SwitchDOFVisitor& sdfv, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) {} - META_Object(osg, SwitchDOFVisitor) - - virtual void apply(Group& node) + SwitchDOFHandler() { - osgSim::MultiSwitch* pMSwitch = dynamic_cast(&node); - - if (pMSwitch) - { - mSwitches.push_back(pMSwitch); - } - - osg::NodeVisitor::apply(node); - } - - virtual void apply(Transform& node) - { - osgSim::DOFTransform* pDof = dynamic_cast(&node); - - if (pDof) - { - mDofs.push_back(pDof); - pDof->setAnimationOn(true); - } - - osg::NodeVisitor::apply(node); } void nextSwitch() @@ -151,20 +122,64 @@ class SwitchDOFVisitor : public osg::NodeVisitor, public osgGA::GUIEventHandler return false; } + void collectNodesOfInterest(osg::Node* node) + { + CollectNodes cn(this); + node->accept(cn); + } + private: - std::vector mSwitches; - std::vector mDofs; + + friend class CollectNodes; + + class CollectNodes : public osg::NodeVisitor + { + public: + SwitchDOFHandler* _parent; + + CollectNodes(SwitchDOFHandler* parent): + osg::NodeVisitor(osg::NodeVisitor::TRAVERSE_ALL_CHILDREN), + _parent(parent) + { + } + + virtual void apply(Group& node) + { + osgSim::MultiSwitch* pMSwitch = dynamic_cast(&node); + if (pMSwitch) + { + _parent->mSwitches.push_back(pMSwitch); + } + + traverse(node); + } + + virtual void apply(Transform& node) + { + osgSim::DOFTransform* pDof = dynamic_cast(&node); + if (pDof) + { + _parent->mDofs.push_back(pDof); + pDof->setAnimationOn(true); + } + + traverse(node); + } + }; + + std::vector< osg::ref_ptr > mSwitches; + std::vector< osg::ref_ptr > mDofs; }; void singleWindowSideBySideCameras(osgViewer::Viewer& viewer) { osg::GraphicsContext::WindowingSystemInterface* wsi = osg::GraphicsContext::getWindowingSystemInterface(); - if (!wsi) + if (!wsi) { osg::notify(osg::NOTICE)<<"Error, no WindowSystemInterface available, cannot create windows."<getScreenResolution(osg::GraphicsContext::ScreenIdentifier(0), width, height); @@ -237,14 +252,14 @@ int main( int argc, char **argv ) // use an ArgumentParser object to manage the program arguments. osg::ArgumentParser arguments(&argc,argv); - if (argc<2) + if (argc<2) { std::cout << argv[0] <<": requires filename argument." << std::endl; return 1; } osgViewer::Viewer viewer(arguments); - + std::string outputfile("output.osgt"); while (arguments.read("-o",outputfile)) {} @@ -252,7 +267,7 @@ int main( int argc, char **argv ) while (arguments.read("-g")) { viewer.setThreadingModel(osgViewer::Viewer::CullDrawThreadPerContext); } while (arguments.read("-d")) { viewer.setThreadingModel(osgViewer::Viewer::DrawThreadPerContext); } while (arguments.read("-c")) { viewer.setThreadingModel(osgViewer::Viewer::CullThreadPerCameraDrawThreadPerContext); } - + singleWindowSideBySideCameras(viewer); viewer.setCameraManipulator( new osgGA::TrackballManipulator() ); @@ -262,44 +277,39 @@ int main( int argc, char **argv ) viewer.addEventHandler(new osgViewer::LODScaleHandler()); viewer.addEventHandler(new osgGA::StateSetManipulator()); - SwitchDOFVisitor* visit = new SwitchDOFVisitor; - viewer.addEventHandler(visit); - - osg::ref_ptr loadedModel; - // load the scene. - loadedModel = osgDB::readNodeFiles(arguments); + SwitchDOFHandler* switchOFHandler = new SwitchDOFHandler; + viewer.addEventHandler(switchOFHandler); - if (!loadedModel) + // load the scene. + osg::ref_ptr loadedModel = osgDB::readRefNodeFiles(arguments); + if (!loadedModel) { std::cout << argv[0] <<": No data loaded." << std::endl; return 1; } osg::Group* group = new osg::Group; - + osg::Group* group1 = new osg::Group; - group1->addChild(loadedModel.get()); + group1->addChild(loadedModel); group1->setNodeMask(1); // Uncomment these lines if you like to compare the loaded model to the resulting model in a merge/diff tool //osgDB::writeNodeFile(*loadedModel.get(), "dummy1.osgt"); - osgDB::writeNodeFile(*loadedModel.get(), outputfile); - osg::ref_ptr convertedModel = osgDB::readNodeFile(outputfile); - - //osgDB::writeNodeFile(*convertedModel.get(), "dummy2.osgt"); + osgDB::writeNodeFile(*loadedModel, outputfile); + osg::ref_ptr convertedModel = osgDB::readRefNodeFile(outputfile); osg::Group* group2 = new osg::Group; group2->addChild(convertedModel.get()); group2->setNodeMask(2); - // Activate DOF animations and collect switches - loadedModel->accept(*visit); - convertedModel->accept(*visit); - group->addChild(group1); group->addChild(group2); + // Activate DOF animations and collect switches + switchOFHandler->collectNodesOfInterest(group); + viewer.setSceneData(group); viewer.setThreadingModel(osgViewer::Viewer::DrawThreadPerContext); diff --git a/examples/osgsimplegl3/osgsimplegl3.cpp b/examples/osgsimplegl3/osgsimplegl3.cpp index 3d7bee95eeb..c1385d5d9b8 100644 --- a/examples/osgsimplegl3/osgsimplegl3.cpp +++ b/examples/osgsimplegl3/osgsimplegl3.cpp @@ -67,7 +67,7 @@ int main( int argc, char** argv ) { osg::ArgumentParser arguments( &argc, argv ); - osg::Node* root = osgDB::readNodeFiles( arguments ); + osg::ref_ptr root = osgDB::readRefNodeFiles( arguments ); if( root == NULL ) { osg::notify( osg::FATAL ) << "Unable to load model from command line." << std::endl; diff --git a/examples/osgsimplifier/osgsimplifier.cpp b/examples/osgsimplifier/osgsimplifier.cpp index 3a6d82e9e5b..2bef877554a 100644 --- a/examples/osgsimplifier/osgsimplifier.cpp +++ b/examples/osgsimplifier/osgsimplifier.cpp @@ -26,10 +26,10 @@ class KeyboardEventHandler : public osgGA::GUIEventHandler { public: - + KeyboardEventHandler(unsigned int& flag) : _flag(flag) {} - + virtual bool handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionAdapter&) { switch(ea.getEventType()) @@ -65,7 +65,7 @@ int main( int argc, char **argv ) // use an ArgumentParser object to manage the program arguments. osg::ArgumentParser arguments(&argc,argv); - + // set up the usage document, in case we need to print out how to use this program. arguments.getApplicationUsage()->setApplicationName(arguments.getApplicationName()); arguments.getApplicationUsage()->setDescription(arguments.getApplicationName()+" examples illustrates simplification of triangle meshes."); @@ -73,7 +73,7 @@ int main( int argc, char **argv ) arguments.getApplicationUsage()->addCommandLineOption("-h or --help","Display this information"); arguments.getApplicationUsage()->addCommandLineOption("--ratio ","Specify the sample ratio","0.5]"); arguments.getApplicationUsage()->addCommandLineOption("--max-error ","Specify the maximum error","4.0"); - + float sampleRatio = 0.5f; float maxError = 4.0f; @@ -99,18 +99,18 @@ int main( int argc, char **argv ) } // read the scene from the list of file specified commandline args. - osg::ref_ptr loadedModel = osgDB::readNodeFiles(arguments); - + osg::ref_ptr loadedModel = osgDB::readRefNodeFiles(arguments); + // if not loaded assume no arguments passed in, try use default mode instead. - if (!loadedModel) loadedModel = osgDB::readNodeFile("dumptruck.osgt"); - + if (!loadedModel) loadedModel = osgDB::readRefNodeFile("dumptruck.osgt"); + // if no model has been successfully loaded report failure. - if (!loadedModel) + if (!loadedModel) { std::cout << arguments.getApplicationName() <<": No data loaded" << std::endl; return 1; } - + //loadedModel->accept(simplifier); unsigned int keyFlag = 0; @@ -133,29 +133,29 @@ int main( int argc, char **argv ) { // fire off the cull and draw traversals of the scene. viewer.frame(); - + if (keyFlag == 1 || keyFlag == 2) { if (keyFlag == 1) ratio *= multiplier; if (keyFlag == 2) ratio /= multiplier; if (ratio root = (osg::Node*)loadedModel->clone(osg::CopyOp::DEEP_COPY_ALL); root->accept(simplifier); - + std::cout<<"done"<setDetailRatio(5.0f); - + osg::ShapeDrawable* sd = new osg::ShapeDrawable(new osg::Sphere(osg::Vec3(0.0,0.0,0.0), osg::WGS_84_RADIUS_POLAR), hints); - + osg::Geode* geode = new osg::Geode; geode->addDrawable(sd); - + std::string filename = osgDB::findDataFile("Images/land_shallow_topo_2048.jpg"); - geode->getOrCreateStateSet()->setTextureAttributeAndModes(0, new osg::Texture2D(osgDB::readImageFile(filename))); - + geode->getOrCreateStateSet()->setTextureAttributeAndModes(0, new osg::Texture2D(osgDB::readRefImageFile(filename))); + osg::CoordinateSystemNode* csn = new osg::CoordinateSystemNode; csn->setEllipsoidModel(new osg::EllipsoidModel()); csn->addChild(geode); - + return csn; - + } @@ -104,7 +104,7 @@ class ModelPositionCallback : public osg::NodeCallback { _rotation.makeRotate(osg::DegreesToRadians(90.0),0.0,0.0,1.0); } - + void updateParameters() { _longitude += _speed * ((2.0*osg::PI)/360.0)/20.0; @@ -114,7 +114,7 @@ class ModelPositionCallback : public osg::NodeCallback virtual void operator()(osg::Node* node, osg::NodeVisitor* nv) { updateParameters(); - + osg::NodePath nodePath = nv->getNodePath(); osg::MatrixTransform* mt = nodePath.empty() ? 0 : dynamic_cast(nodePath.back()); @@ -128,7 +128,7 @@ class ModelPositionCallback : public osg::NodeCallback { csn = dynamic_cast(nodePath[i]); } - + if (csn) { @@ -142,22 +142,22 @@ class ModelPositionCallback : public osg::NodeCallback osg::Transform* transform = nodePath[i]->asTransform(); if (transform) transform->computeLocalToWorldMatrix(inheritedMatrix, nv); } - + osg::Matrixd matrix(inheritedMatrix); //osg::Matrixd matrix; ellipsoid->computeLocalToWorldTransformFromLatLongHeight(_latitude,_longitude,_height,matrix); matrix.preMultRotate(_rotation); - + mt->setMatrix(matrix); } - } + } } - + traverse(node,nv); - } - + } + double _latitude; double _longitude; double _height; @@ -172,7 +172,7 @@ class FindNamedNodeVisitor : public osg::NodeVisitor FindNamedNodeVisitor(const std::string& name): osg::NodeVisitor(osg::NodeVisitor::TRAVERSE_ALL_CHILDREN), _name(name) {} - + virtual void apply(osg::Node& node) { if (node.getName()==_name) @@ -181,7 +181,7 @@ class FindNamedNodeVisitor : public osg::NodeVisitor } traverse(node); } - + typedef std::vector< osg::ref_ptr > NodeList; std::string _name; @@ -193,28 +193,28 @@ int main(int argc, char **argv) { // use an ArgumentParser object to manage the program arguments. osg::ArgumentParser arguments(&argc,argv); - + // set up the usage document, in case we need to print out how to use this program. arguments.getApplicationUsage()->setDescription(arguments.getApplicationName()+" is the example which demonstrates use of node tracker."); arguments.getApplicationUsage()->setCommandLineUsage(arguments.getApplicationName()); arguments.getApplicationUsage()->addCommandLineOption("-h or --help","Display this information"); - + // construct the viewer. osgViewer::Viewer viewer(arguments); // add the state manipulator viewer.addEventHandler( new osgGA::StateSetManipulator(viewer.getCamera()->getOrCreateStateSet()) ); - + // add the thread model handler viewer.addEventHandler(new osgViewer::ThreadingHandler); // add the window size toggle handler viewer.addEventHandler(new osgViewer::WindowSizeHandler); - + // add the stats handler viewer.addEventHandler(new osgViewer::StatsHandler); - + // add the record camera path handler viewer.addEventHandler(new osgViewer::RecordCameraPathHandler); @@ -236,7 +236,7 @@ int main(int argc, char **argv) { osg::Quat local_rotate; local_rotate.makeRotate(osg::DegreesToRadians(vec4[0]),vec4[1],vec4[2],vec4[3]); - + rotation = rotation * local_rotate; } @@ -252,7 +252,7 @@ int main(int argc, char **argv) nc = new osg::AnimationPathCallback(path); } } - + osgGA::NodeTrackerManipulator::TrackerMode trackerMode = osgGA::NodeTrackerManipulator::NODE_CENTER_AND_ROTATION; std::string mode; while (arguments.read("--tracker-mode",mode)) @@ -269,8 +269,8 @@ int main(int argc, char **argv) return 1; } } - - + + osgGA::NodeTrackerManipulator::RotationMode rotationMode = osgGA::NodeTrackerManipulator::TRACKBALL; while (arguments.read("--rotation-mode",mode)) { @@ -287,7 +287,7 @@ int main(int argc, char **argv) bool useOverlay = true; while (arguments.read("--no-overlay") || arguments.read("-n")) useOverlay = false; - + osgSim::OverlayNode::OverlayTechnique technique = osgSim::OverlayNode::OBJECT_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY; while (arguments.read("--object")) technique = osgSim::OverlayNode::OBJECT_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY; while (arguments.read("--ortho") || arguments.read("--orthographic")) technique = osgSim::OverlayNode::VIEW_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY; @@ -295,7 +295,7 @@ int main(int argc, char **argv) unsigned int overlayTextureUnit = 1; while (arguments.read("--unit", overlayTextureUnit)) {} - + std::string pathfile; while (arguments.read("-p",pathfile)) {} @@ -307,15 +307,15 @@ int main(int argc, char **argv) arguments.getApplicationUsage()->write(std::cout); return 1; } - - + + osg::ref_ptr tm; - + std::string overlayFilename; while(arguments.read("--overlay", overlayFilename)) {} // read the scene from the list of file specified commandline args. - osg::ref_ptr root = osgDB::readNodeFiles(arguments); + osg::ref_ptr root = osgDB::readRefNodeFiles(arguments); if (!root) root = createEarth(); @@ -330,8 +330,8 @@ int main(int argc, char **argv) //ConvertLatLon2EllipsoidCoordinates latlon2em; //shapefile->accept(latlon2em); - osg::ref_ptr shapefile = osgDB::readNodeFile(overlayFilename); - + osg::ref_ptr shapefile = osgDB::readRefNodeFile(overlayFilename); + if (!shapefile) { osg::notify(osg::NOTICE)<<"File `"< cessna = osgDB::readRefNodeFile("cessna.osgt"); if (cessna) { double s = 200000.0 / cessna->getBound().radius(); @@ -410,15 +410,15 @@ int main(int argc, char **argv) scaler->addChild(cessna); scaler->setMatrix(osg::Matrixd::scale(s,s,s)*osg::Matrixd::rotate(rotation)); scaler->getOrCreateStateSet()->setMode(GL_RESCALE_NORMAL,osg::StateAttribute::ON); - + if (addFireEffect) - { + { osg::Vec3d center = cessna->getBound().center(); - + osgParticle::FireEffect* fire = new osgParticle::FireEffect(center, 10.0f); scaler->addChild(fire); } - + if (false) { @@ -460,7 +460,7 @@ int main(int argc, char **argv) std::cout<<"Failed to read cessna.osgt"<valid()) + if (apm || !apm->valid()) { unsigned int num = keyswitchManipulator->getNumMatrixManipulators(); keyswitchManipulator->addMatrixManipulator( '5', "Path", apm ); diff --git a/examples/osgslice/osgslice.cpp b/examples/osgslice/osgslice.cpp index 465395e265f..e2905e35013 100644 --- a/examples/osgslice/osgslice.cpp +++ b/examples/osgslice/osgslice.cpp @@ -54,7 +54,7 @@ class SliceProcessor _nearFarOffset = _sliceDelta; } _image->allocateImage( _sliceNumber, _sliceNumber,_sliceNumber, GL_RGBA, GL_UNSIGNED_BYTE ); - + } // needs 3D-Texture object osg::Image* _image; @@ -63,7 +63,7 @@ class SliceProcessor double _nearPlane; double _farPlane; double _nearFarOffset; - + // needs function to do rendering and slicing }; @@ -77,7 +77,7 @@ int main( int argc, char **argv ) arguments.getApplicationUsage()->setCommandLineUsage(arguments.getApplicationName()+" [options] filename ..."); arguments.getApplicationUsage()->addCommandLineOption("-h or --help","Display this information"); arguments.getApplicationUsage()->addCommandLineOption("-o ","Object to be loaded"); - + if( arguments.read( "-h" ) || arguments.read( "--help" ) ) { std::cout << "Argumentlist:" << std::endl; @@ -85,10 +85,10 @@ int main( int argc, char **argv ) std::cout << "\t--slices sets number of slices through the object" << std::endl; std::cout << "\t--near sets start for near clipping plane" << std::endl; std::cout << "\t--far sets start for far clipping plane" << std::endl; - + return 1; } - + std::string outputName("volume_tex.dds"); while( arguments.read( "-o", outputName ) ) { } @@ -101,10 +101,10 @@ int main( int argc, char **argv ) while( arguments.read( "--near",nearClip ) ) { } while( arguments.read( "--far", farClip) ) { } - + // load the scene. - osg::ref_ptr loadedModel = osgDB::readNodeFiles( arguments ); - if (!loadedModel) + osg::ref_ptr loadedModel = osgDB::readRefNodeFiles( arguments ); + if (!loadedModel) { std::cout << "No data loaded." << std::endl; return 1; @@ -124,7 +124,7 @@ int main( int argc, char **argv ) arguments.writeErrorMessages(std::cout); return 1; } - + osg::ref_ptr traits = new osg::GraphicsContext::Traits; @@ -144,7 +144,7 @@ int main( int argc, char **argv ) osg::notify(osg::NOTICE)<<"Error: unable to create graphics window"<realize(); gc->makeCurrent(); @@ -157,25 +157,25 @@ int main( int argc, char **argv ) osg::Matrix viewMatrix; // distance from viewport to object's center is set to be 2x bs.radius() viewMatrix.makeLookAt(bs.center()-osg::Vec3(0.0,2.0f*bs.radius(),0.0),bs.center(),osg::Vec3(0.0f,0.0f,1.0f)); - + // turn off autocompution of near and far clipping planes sceneView->setComputeNearFarMode(osgUtil::CullVisitor::DO_NOT_COMPUTE_NEAR_FAR); // set the clear color of the background to make sure that the alpha is 0.0. sceneView->setClearColor(osg::Vec4(0.0f,0.0f,0.0f,0.0f)); - // record the timer tick at the start of rendering. + // record the timer tick at the start of rendering. osg::Timer_t start_tick = osg::Timer::instance()->tick(); - + std::cout << "radius: " << bs.radius() << std::endl; - + unsigned int frameNum = 0; double tmpNear, tmpFar; std::string baseImageName("shot_"); std::string tmpImageName; - + osg::Image* tmpImage = new osg::Image; - + // main loop (note, window toolkits which take control over the main loop will require a window redraw callback containing the code below.) for( unsigned int i = 0 ; i < sp->_sliceNumber && gc->isRealized() ; ++i ) { @@ -183,17 +183,17 @@ int main( int argc, char **argv ) osg::ref_ptr frameStamp = new osg::FrameStamp; frameStamp->setReferenceTime(osg::Timer::instance()->delta_s(start_tick,osg::Timer::instance()->tick())); frameStamp->setFrameNumber(frameNum++); - + // pass frame stamp to the SceneView so that the update, cull and draw traversals all use the same FrameStamp sceneView->setFrameStamp(frameStamp.get()); - + // update the viewport dimensions, incase the window has been resized. sceneView->setViewport(0,0,traits->width,traits->height); - - + + // set the view sceneView->setViewMatrix(viewMatrix); - + // set Projection Matrix tmpNear = sp->_nearPlane+i*sp->_sliceDelta; tmpFar = sp->_farPlane+(i*sp->_sliceDelta)+sp->_nearFarOffset; @@ -201,24 +201,24 @@ int main( int argc, char **argv ) // do the update traversal the scene graph - such as updating animations sceneView->update(); - + // do the cull traversal, collect all objects in the view frustum into a sorted set of rendering bins sceneView->cull(); - + // draw the rendering bins. sceneView->draw(); - + // Swap Buffers gc->swapBuffers(); - + std::cout << "before readPixels: _r = " << sp->_image->r() << std::endl; - + tmpImage->readPixels(static_cast(sceneView->getViewport()->x()), static_cast(sceneView->getViewport()->y()), static_cast(sceneView->getViewport()->width()), static_cast(sceneView->getViewport()->height()), GL_RGBA,GL_UNSIGNED_BYTE); - + // std::cout << "vor copySubImage: _r = " << sp->_image->r() << std::endl; sp->_image->copySubImage( 0, 0, i, tmpImage ); diff --git a/examples/osgspheresegment/osgspheresegment.cpp b/examples/osgspheresegment/osgspheresegment.cpp index 2d658ba53a9..b5bacadfccb 100644 --- a/examples/osgspheresegment/osgspheresegment.cpp +++ b/examples/osgspheresegment/osgspheresegment.cpp @@ -183,7 +183,7 @@ osg::Node* createMovingModel(const osg::Vec3& center, float radius, osg::Geode * osg::Group* model = new osg::Group; - osg::Node* glider = osgDB::readNodeFile("glider.osgt"); + osg::ref_ptr glider = osgDB::readRefNodeFile("glider.osgt"); if (glider) { const osg::BoundingSphere& bs = glider->getBound(); @@ -236,7 +236,7 @@ osg::Node* createMovingModel(const osg::Vec3& center, float radius, osg::Geode * model->addChild(xform); } - osg::Node* cessna = osgDB::readNodeFile("cessna.osgt"); + osg::ref_ptr cessna = osgDB::readRefNodeFile("cessna.osgt"); if (cessna) { const osg::BoundingSphere& bs = cessna->getBound(); @@ -361,12 +361,12 @@ void build_world(osg::Group *root, unsigned int testCase, bool useOverlay, osgSi { // create terrain - osg::ref_ptr terrainGeode = 0; + osg::ref_ptr terrainGeode; { terrainGeode = new osg::Geode; - osg::StateSet* stateset = new osg::StateSet(); - osg::Image* image = osgDB::readImageFile("Images/lz.rgb"); + osg::ref_ptr stateset = new osg::StateSet(); + osg::ref_ptr image = osgDB::readRefImageFile("Images/lz.rgb"); if (image) { osg::Texture2D* texture = new osg::Texture2D; @@ -385,7 +385,7 @@ void build_world(osg::Group *root, unsigned int testCase, bool useOverlay, osgSi osg::Vec3 origin(0.0f,0.0f,0.0f); osg::Vec3 size(1000.0f,1000.0f,250.0f); - osg::Geometry* geometry = new osg::Geometry; + osg::ref_ptr geometry = new osg::Geometry; osg::Vec3Array& v = *(new osg::Vec3Array(numColumns*numRows)); osg::Vec2Array& tc = *(new osg::Vec2Array(numColumns*numRows)); diff --git a/examples/osgspotlight/osgspotlight.cpp b/examples/osgspotlight/osgspotlight.cpp index a81309465b0..2e8d88b8d64 100644 --- a/examples/osgspotlight/osgspotlight.cpp +++ b/examples/osgspotlight/osgspotlight.cpp @@ -43,8 +43,8 @@ osg::Image* createSpotLightImage(const osg::Vec4& centerColour, const osg::Vec4& osg::Image* image = new osg::Image; image->allocateImage(size,size,1, GL_RGBA,GL_UNSIGNED_BYTE); - - + + float mid = (float(size)-1)*0.5f; float div = 2.0f/float(size); for(unsigned int r=0;rsetMode(GL_LIGHT0+lightNum, osg::StateAttribute::ON); osg::Vec4 centerColour(1.0f,1.0f,1.0f,1.0f); - osg::Vec4 ambientColour(0.05f,0.05f,0.05f,1.0f); + osg::Vec4 ambientColour(0.05f,0.05f,0.05f,1.0f); // set up spot light texture osg::Texture2D* texture = new osg::Texture2D(); @@ -84,15 +84,15 @@ osg::StateSet* createSpotLightDecoratorState(unsigned int lightNum, unsigned int texture->setWrap(osg::Texture::WRAP_S,osg::Texture::CLAMP_TO_BORDER); texture->setWrap(osg::Texture::WRAP_T,osg::Texture::CLAMP_TO_BORDER); texture->setWrap(osg::Texture::WRAP_R,osg::Texture::CLAMP_TO_BORDER); - + stateset->setTextureAttributeAndModes(textureUnit, texture, osg::StateAttribute::ON); - + // set up tex gens stateset->setTextureMode(textureUnit, GL_TEXTURE_GEN_S, osg::StateAttribute::ON); stateset->setTextureMode(textureUnit, GL_TEXTURE_GEN_T, osg::StateAttribute::ON); stateset->setTextureMode(textureUnit, GL_TEXTURE_GEN_R, osg::StateAttribute::ON); stateset->setTextureMode(textureUnit, GL_TEXTURE_GEN_Q, osg::StateAttribute::ON); - + return stateset; } @@ -100,7 +100,7 @@ osg::StateSet* createSpotLightDecoratorState(unsigned int lightNum, unsigned int osg::Node* createSpotLightNode(const osg::Vec3& position, const osg::Vec3& direction, float angle, unsigned int lightNum, unsigned int textureUnit) { osg::Group* group = new osg::Group; - + // create light source. osg::LightSource* lightsource = new osg::LightSource; osg::Light* light = lightsource->getLight(); @@ -109,13 +109,13 @@ osg::Node* createSpotLightNode(const osg::Vec3& position, const osg::Vec3& direc light->setAmbient(osg::Vec4(0.00f,0.00f,0.05f,1.0f)); light->setDiffuse(osg::Vec4(1.0f,1.0f,1.0f,1.0f)); group->addChild(lightsource); - + // create tex gen. - + osg::Vec3 up(0.0f,0.0f,1.0f); up = (direction ^ up) ^ direction; up.normalize(); - + osg::TexGenNode* texgenNode = new osg::TexGenNode; texgenNode->setTextureUnit(textureUnit); osg::TexGen* texgen = texgenNode->getTexGen(); @@ -125,56 +125,56 @@ osg::Node* createSpotLightNode(const osg::Vec3& position, const osg::Vec3& direc osg::Matrixd::translate(1.0,1.0,1.0)* osg::Matrixd::scale(0.5,0.5,0.5)); - + group->addChild(texgenNode); - + return group; - + } osg::AnimationPath* createAnimationPath(const osg::Vec3& center,float radius,double looptime) { - // set up the animation path + // set up the animation path osg::AnimationPath* animationPath = new osg::AnimationPath; animationPath->setLoopMode(osg::AnimationPath::LOOP); - + int numSamples = 40; float yaw = 0.0f; float yaw_delta = 2.0f*osg::PI/((float)numSamples-1.0f); float roll = osg::inDegrees(30.0f); - + double time=0.0f; double time_delta = looptime/(double)numSamples; for(int i=0;iinsert(time,osg::AnimationPath::ControlPoint(position,rotation)); yaw += yaw_delta; time += time_delta; } - return animationPath; + return animationPath; } osg::Node* createBase(const osg::Vec3& center,float radius) { osg::Geode* geode = new osg::Geode; - + // set up the texture of the base. osg::StateSet* stateset = new osg::StateSet(); - osg::Image* image = osgDB::readImageFile("Images/lz.rgb"); + osg::ref_ptr image = osgDB::readRefImageFile("Images/lz.rgb"); if (image) { osg::Texture2D* texture = new osg::Texture2D; texture->setImage(image); stateset->setTextureAttributeAndModes(0,texture,osg::StateAttribute::ON); } - + geode->setStateSet( stateset ); @@ -183,7 +183,7 @@ osg::Node* createBase(const osg::Vec3& center,float radius) grid->setOrigin(center+osg::Vec3(-radius,-radius,0.0f)); grid->setXInterval(radius*2.0f/(float)(38-1)); grid->setYInterval(radius*2.0f/(float)(39-1)); - + float minHeight = FLT_MAX; float maxHeight = -FLT_MAX; @@ -198,7 +198,7 @@ osg::Node* createBase(const osg::Vec3& center,float radius) if (hsetHeight(c,r,(h+hieghtOffset)*hieghtScale); } } - + geode->addDrawable(new osg::ShapeDrawable(grid)); - + osg::Group* group = new osg::Group; group->addChild(geode); - + return group; } @@ -227,8 +227,8 @@ osg::Node* createMovingModel(const osg::Vec3& center, float radius) osg::AnimationPath* animationPath = createAnimationPath(center,radius,animationLength); osg::Group* model = new osg::Group; - - osg::Node* cessna = osgDB::readNodeFile("cessna.osgt"); + + osg::ref_ptr cessna = osgDB::readRefNodeFile("cessna.osgt"); if (cessna) { const osg::BoundingSphere& bs = cessna->getBound(); @@ -239,9 +239,9 @@ osg::Node* createMovingModel(const osg::Vec3& center, float radius) positioned->setMatrix(osg::Matrix::translate(-bs.center())* osg::Matrix::scale(size,size,size)* osg::Matrix::rotate(osg::inDegrees(180.0f),0.0f,0.0f,2.0f)); - + positioned->addChild(cessna); - + osg::MatrixTransform* xform = new osg::MatrixTransform; xform->setUpdateCallback(new osg::AnimationPathCallback(animationPath,0.0f,2.0)); xform->addChild(positioned); @@ -250,7 +250,7 @@ osg::Node* createMovingModel(const osg::Vec3& center, float radius) model->addChild(xform); } - + return model; } @@ -261,7 +261,6 @@ osg::Node* createModel() { osg::Vec3 center(0.0f,0.0f,0.0f); float radius = 100.0f; - osg::Vec3 lightPosition(center+osg::Vec3(0.0f,0.0f,radius)); // the shadower model osg::Node* shadower = createMovingModel(center,radius*0.5f); @@ -271,7 +270,7 @@ osg::Node* createModel() // combine the models together to create one which has the shadower and the shadowed with the required callback. osg::Group* root = new osg::Group; - + root->setStateSet(createSpotLightDecoratorState(0,1)); root->addChild(shadower); @@ -285,10 +284,10 @@ int main(int, char **) { // construct the viewer. osgViewer::Viewer viewer; - + // add the spoit light model to the viewer viewer.setSceneData( createModel() ); - + // run the viewer main frame loop. return viewer.run(); } diff --git a/examples/osgstereoimage/osgstereoimage.cpp b/examples/osgstereoimage/osgstereoimage.cpp index 55ae2a673ce..f23fedef5e8 100644 --- a/examples/osgstereoimage/osgstereoimage.cpp +++ b/examples/osgstereoimage/osgstereoimage.cpp @@ -141,8 +141,8 @@ osg::Geode* createSectorForImage(osg::Image* image, osg::TexMat* texmat, float s osg::Group * loadImages(std::string image1, std::string image2, osg::TexMat* texmatLeft, osg::TexMat* texmatRight, float radius, float height, float length) { - osg::ref_ptr imageLeft = osgDB::readImageFile(image1); - osg::ref_ptr imageRight = osgDB::readImageFile(image2); + osg::ref_ptr imageLeft = osgDB::readRefImageFile(image1); + osg::ref_ptr imageRight = osgDB::readRefImageFile(image2); if (imageLeft.valid() && imageRight.valid()) { osg::ImageStream* streamLeft = dynamic_cast(imageLeft.get()); diff --git a/examples/osgstereomatch/osgstereomatch.cpp b/examples/osgstereomatch/osgstereomatch.cpp index 4f871b7d4cc..d12ba94f04e 100644 --- a/examples/osgstereomatch/osgstereomatch.cpp +++ b/examples/osgstereomatch/osgstereomatch.cpp @@ -175,8 +175,8 @@ int main(int argc, char *argv[]) } // load the images - osg::ref_ptr leftIm = osgDB::readImageFile(leftName); - osg::ref_ptr rightIm = osgDB::readImageFile(rightName); + osg::ref_ptr leftIm = osgDB::readRefImageFile(leftName); + osg::ref_ptr rightIm = osgDB::readRefImageFile(rightName); osg::Node* scene = createScene(leftIm.get(), rightIm.get(), minDisparity, maxDisparity, windowSize, useSinglePass); diff --git a/examples/osgteapot/osgteapot.cpp b/examples/osgteapot/osgteapot.cpp index d11820a82d9..b2310bcb7c8 100644 --- a/examples/osgteapot/osgteapot.cpp +++ b/examples/osgteapot/osgteapot.cpp @@ -311,7 +311,7 @@ osg::Geode* createTeapot() geode->addDrawable( new Teapot ); // add a reflection map to the teapot. - osg::Image* image = osgDB::readImageFile("Images/reflect.rgb"); + osg::ref_ptr image = osgDB::readRefImageFile("Images/reflect.rgb"); if (image) { osg::Texture2D* texture = new osg::Texture2D; diff --git a/examples/osgterrain/osgterrain.cpp b/examples/osgterrain/osgterrain.cpp index 44165f5a0f4..4aa1ab214bb 100644 --- a/examples/osgterrain/osgterrain.cpp +++ b/examples/osgterrain/osgterrain.cpp @@ -343,7 +343,7 @@ int main(int argc, char** argv) while(arguments.read("--db-affinity", cpuNum)) { setDatabaseThreadAffinity = true; } // load the nodes from the commandline arguments. - osg::ref_ptr rootnode = osgDB::readNodeFiles(arguments); + osg::ref_ptr rootnode = osgDB::readRefNodeFiles(arguments); if (!rootnode) { @@ -379,6 +379,11 @@ int main(int argc, char** argv) terrain->setVerticalScale(verticalScale); terrain->setBlendingPolicy(blendingPolicy); + if (arguments.read("--equalize-boundaries") || arguments.read("-e")) + { + terrain->setEqualizeBoundaries(true); + } + if (useDisplacementMappingTechnique) { diff --git a/examples/osgtessellate/osgtessellate.cpp b/examples/osgtessellate/osgtessellate.cpp index e0a137f10c1..e2e6b2b3e9b 100644 --- a/examples/osgtessellate/osgtessellate.cpp +++ b/examples/osgtessellate/osgtessellate.cpp @@ -98,7 +98,7 @@ osg::Geometry *makePolsTwo (void) // demonstrate that the Tessellator makes textured tessellations osg::StateSet* stateset = new osg::StateSet(); - osg::Image* image = osgDB::readImageFile("Cubemap_snow/posy.jpg"); + osg::ref_ptr image = osgDB::readRefImageFile("Cubemap_snow/posy.jpg"); if (image) { osg::Texture2D* texture = new osg::Texture2D; @@ -169,7 +169,7 @@ osg::Geometry *makeSideWall (const float xpos) // demonstrate that the Tessellator makes textured tessellations osg::StateSet* stateset = new osg::StateSet(); - osg::Image* image = osgDB::readImageFile("Cubemap_snow/posx.jpg"); + osg::ref_ptr image = osgDB::readRefImageFile("Cubemap_snow/posx.jpg"); if (image) { osg::Texture2D* texture = new osg::Texture2D; @@ -265,7 +265,7 @@ osg::Geometry *makeFrontWall (const float zpos) { // demonstrate that the Tessellator makes textured tessellations osg::StateSet* stateset = new osg::StateSet(); - osg::Image* image = osgDB::readImageFile("Cubemap_snow/posy.jpg"); + osg::ref_ptr image = osgDB::readRefImageFile("Cubemap_snow/posy.jpg"); if (image) { osg::Texture2D* texture = new osg::Texture2D; @@ -458,7 +458,7 @@ osg::Geometry *makePols (void) { // demonstrate that the Tessellator makes textured tessellations osg::StateSet* stateset = new osg::StateSet(); - osg::Image* image = osgDB::readImageFile("Cubemap_snow/posz.jpg"); + osg::ref_ptr image = osgDB::readRefImageFile("Cubemap_snow/posz.jpg"); if (image) { osg::Texture2D* texture = new osg::Texture2D; @@ -750,7 +750,7 @@ int main( int argc, char **argv ) osgViewer::Viewer viewer; // read the scene from the list of file specified commandline args. - osg::ref_ptr loadedModel = osgDB::readNodeFiles(arguments); + osg::ref_ptr loadedModel = osgDB::readRefNodeFiles(arguments); // if no model has been successfully loaded report failure. if (!loadedModel) diff --git a/examples/osgtext/osgtext.cpp b/examples/osgtext/osgtext.cpp index 5f0689afd7d..f29cf78946e 100644 --- a/examples/osgtext/osgtext.cpp +++ b/examples/osgtext/osgtext.cpp @@ -75,7 +75,7 @@ osg::Group* createHUDText() osg::Group* rootNode = new osg::Group; - osgText::Font* font = osgText::readFontFile("fonts/arial.ttf"); + osg::ref_ptr font = osgText::readRefFontFile("fonts/arial.ttf"); //osg::setNotifyLevel(osg::INFO); @@ -344,7 +344,7 @@ osg::Group* createHUDText() float spacing = 40.0f; { - osgText::Text* text = new osgText::Text; + osg::ref_ptr text = new osgText::Text; text->setUseVertexBufferObjects(useVBOs); text->setColor(fontColor); text->setPosition(cursor); @@ -358,9 +358,9 @@ osg::Group* createHUDText() } { - osgText::Font* arial = osgText::readFontFile("fonts/arial.ttf"); + osg::ref_ptr arial = osgText::readRefFontFile("fonts/arial.ttf"); - osgText::Text* text = new osgText::Text; + osg::ref_ptr text = new osgText::Text; text->setUseVertexBufferObjects(useVBOs); text->setColor(fontColor); text->setPosition(cursor); @@ -376,9 +376,9 @@ osg::Group* createHUDText() } { - osgText::Font* times = osgText::readFontFile("fonts/times.ttf"); + osg::ref_ptr times = osgText::readRefFontFile("fonts/times.ttf"); - osgText::Text* text = new osgText::Text; + osg::ref_ptr text = new osgText::Text; text->setUseVertexBufferObjects(useVBOs); text->setColor(fontColor); text->setPosition(cursor); @@ -397,9 +397,9 @@ osg::Group* createHUDText() cursor.y() = margin; { - osgText::Font* dirtydoz = osgText::readFontFile("fonts/dirtydoz.ttf"); + osg::ref_ptr dirtydoz = osgText::readRefFontFile("fonts/dirtydoz.ttf"); - osgText::Text* text = new osgText::Text; + osg::ref_ptr text = new osgText::Text; text->setUseVertexBufferObjects(useVBOs); text->setColor(fontColor); text->setPosition(cursor); @@ -415,9 +415,9 @@ osg::Group* createHUDText() } { - osgText::Font* fudd = osgText::readFontFile("fonts/fudd.ttf"); + osg::ref_ptr fudd = osgText::readRefFontFile("fonts/fudd.ttf"); - osgText::Text* text = new osgText::Text; + osg::ref_ptr text = new osgText::Text; text->setUseVertexBufferObjects(useVBOs); text->setColor(fontColor); text->setPosition(cursor); @@ -559,6 +559,7 @@ class UpdateTextOperation : public osg::Operation public: UpdateTextOperation(const osg::Vec3& center, float diameter, osg::Group* group): + osg::Referenced(true), Operation("UpdateTextOperation", true), _center(center), _diameter(diameter), @@ -705,10 +706,10 @@ int main(int argc, char** argv) osg::Vec3 center(0.5f,0.5f,0.5f); float diameter = 1.0f; - osg::ref_ptr loadedModel = osgDB::readNodeFiles(arguments); + osg::ref_ptr loadedModel = osgDB::readRefNodeFiles(arguments); if (loadedModel.valid()) { - mainGroup->addChild(loadedModel.get()); + mainGroup->addChild(loadedModel); center = loadedModel->getBound().center(); diameter = loadedModel->getBound().radius() * 2.0f; diff --git a/examples/osgtext3D/osgtext3D.cpp b/examples/osgtext3D/osgtext3D.cpp index 8641800f602..8c15deda59a 100644 --- a/examples/osgtext3D/osgtext3D.cpp +++ b/examples/osgtext3D/osgtext3D.cpp @@ -41,7 +41,7 @@ int main(int argc, char** argv) std::string fontFile("arial.ttf"); while(arguments.read("-f",fontFile)) {} - osg::ref_ptr font = osgText::readFontFile(fontFile); + osg::ref_ptr font = osgText::readRefFontFile(fontFile); if (!font) return 1; OSG_NOTICE<<"Read font "<flatBevel(r); } while(arguments.read("--flat")) { bevel = new osgText::Bevel; bevel->flatBevel(0.25); } while(arguments.read("--bevel-thickness",r)) { if (bevel.valid()) bevel->setBevelThickness(r); } - - - if (bevel.valid()) + + + if (bevel.valid()) { while(arguments.read("--smooth-concave-Junctions") || arguments.read("--scj")) { @@ -72,7 +72,7 @@ int main(int argc, char** argv) } } - + style->setBevel(bevel.get()); // set up outline. @@ -139,12 +139,12 @@ int main(int argc, char** argv) while(arguments.read("--image",imageFilename)) { OSG_NOTICE<<"--image "< image = osgDB::readImageFile(imageFilename); + osg::ref_ptr image = osgDB::readRefImageFile(imageFilename); if (image.valid()) { OSG_NOTICE<<" loaded image "<getOrCreateStateSet(); - stateset->setTextureAttributeAndModes(0, new osg::Texture2D(image.get()), osg::StateAttribute::ON); + stateset->setTextureAttributeAndModes(0, new osg::Texture2D(image), osg::StateAttribute::ON); } } @@ -158,11 +158,11 @@ int main(int argc, char** argv) while(arguments.read("--wall-image",imageFilename)) { - osg::ref_ptr image = osgDB::readImageFile(imageFilename); + osg::ref_ptr image = osgDB::readRefImageFile(imageFilename); if (image.valid()) { osg::StateSet* stateset = text3D->getOrCreateWallStateSet(); - stateset->setTextureAttributeAndModes(0, new osg::Texture2D(image.get()), osg::StateAttribute::ON); + stateset->setTextureAttributeAndModes(0, new osg::Texture2D(image), osg::StateAttribute::ON); } } @@ -176,11 +176,11 @@ int main(int argc, char** argv) while(arguments.read("--back-image",imageFilename)) { - osg::ref_ptr image = osgDB::readImageFile(imageFilename); - if (image.valid()) + osg::ref_ptr image = osgDB::readRefImageFile(imageFilename); + if (image) { osg::StateSet* stateset = text3D->getOrCreateBackStateSet(); - stateset->setTextureAttributeAndModes(0, new osg::Texture2D(image.get()), osg::StateAttribute::ON); + stateset->setTextureAttributeAndModes(0, new osg::Texture2D(image), osg::StateAttribute::ON); } } @@ -190,8 +190,8 @@ int main(int argc, char** argv) } } - - viewer.setSceneData(group.get()); + + viewer.setSceneData(group); #endif diff --git a/examples/osgtexture1D/osgtexture1D.cpp b/examples/osgtexture1D/osgtexture1D.cpp index 8c070eae1b4..d4778991ad0 100644 --- a/examples/osgtexture1D/osgtexture1D.cpp +++ b/examples/osgtexture1D/osgtexture1D.cpp @@ -35,11 +35,11 @@ osg::StateSet* create1DTextureStateToDecorate(osg::Node* loadedModel) osg::Image* image = new osg::Image; int noPixels = 1024; - + // allocate the image data, noPixels x 1 x 1 with 4 rgba floats - equivalent to a Vec4! image->allocateImage(noPixels,1,1,GL_RGBA,GL_FLOAT); image->setInternalTextureFormat(GL_RGBA); - + typedef std::vector ColorBands; ColorBands colorbands; colorbands.push_back(osg::Vec4(0.0f,0.0,0.0,1.0f)); @@ -55,7 +55,7 @@ osg::StateSet* create1DTextureStateToDecorate(osg::Node* loadedModel) float delta = nobands/(float)noPixels; float pos = 0.0f; - // fill in the image data. + // fill in the image data. osg::Vec4* dataPtr = (osg::Vec4*)image->data(); for(int i=0;isetWrap(osg::Texture1D::WRAP_S,osg::Texture1D::MIRROR); texture->setFilter(osg::Texture1D::MIN_FILTER,osg::Texture1D::LINEAR); texture->setImage(image); - + osg::Material* material = new osg::Material; - + osg::StateSet* stateset = new osg::StateSet; - + stateset->setTextureAttribute(0,texture,osg::StateAttribute::OVERRIDE); stateset->setTextureMode(0,GL_TEXTURE_1D,osg::StateAttribute::ON|osg::StateAttribute::OVERRIDE); stateset->setTextureMode(0,GL_TEXTURE_2D,osg::StateAttribute::OFF|osg::StateAttribute::OVERRIDE); stateset->setTextureMode(0,GL_TEXTURE_3D,osg::StateAttribute::OFF|osg::StateAttribute::OVERRIDE); stateset->setTextureMode(0,GL_TEXTURE_GEN_S,osg::StateAttribute::ON|osg::StateAttribute::OVERRIDE); - + stateset->setAttribute(material,osg::StateAttribute::OVERRIDE); - + return stateset; } @@ -94,13 +94,13 @@ class AnimateTexGenCallback : public osg::NodeCallback { public: AnimateTexGenCallback() {} - + void animateTexGen(osg::TexGenNode* texgenNode,double time) { // here we simply get any existing texgen, and then increment its // plane, pushing the R coordinate through the texture. const double timeInterval = 2.0f; - + static double previousTime = time; static bool state = false; while (time>previousTime+timeInterval) @@ -108,7 +108,7 @@ class AnimateTexGenCallback : public osg::NodeCallback previousTime+=timeInterval; state = !state; } - + if (state) { texgenNode->getTexGen()->setMode(osg::TexGen::OBJECT_LINEAR); @@ -117,11 +117,11 @@ class AnimateTexGenCallback : public osg::NodeCallback { texgenNode->getTexGen()->setMode(osg::TexGen::EYE_LINEAR); } - + } virtual void operator()(osg::Node* node, osg::NodeVisitor* nv) - { + { osg::TexGenNode* texgenNode = dynamic_cast(node); if (texgenNode && nv->getFrameStamp()) @@ -131,10 +131,10 @@ class AnimateTexGenCallback : public osg::NodeCallback } // note, callback is responsible for scenegraph traversal so - // should always include call the traverse(node,nv) to ensure + // should always include call the traverse(node,nv) to ensure // that the rest of callbacks and the scene graph are traversed. traverse(node,nv); - } + } }; @@ -143,23 +143,23 @@ int main( int argc, char **argv ) // use an ArgumentParser object to manage the program arguments. osg::ArgumentParser arguments(&argc,argv); - + // construct the viewer. osgViewer::Viewer viewer; // load the images specified on command line - osg::Node* loadedModel = osgDB::readNodeFiles(arguments); - + osg::ref_ptr loadedModel = osgDB::readRefNodeFiles(arguments); + // if not loaded assume no arguments passed in, try use default mode instead. - if (!loadedModel) loadedModel = osgDB::readNodeFile("dumptruck.osgt"); - + if (!loadedModel) loadedModel = osgDB::readRefNodeFile("dumptruck.osgt"); + if (!loadedModel) { osg::notify(osg::NOTICE)<getCommandLineUsage()< stateset = create1DTextureStateToDecorate(loadedModel.get()); if (!stateset) { std::cout<<"Error: failed to create 1D texture state."<setStateSet(stateset); - osg:: Group *root = new osg:: Group; + osg::ref_ptr root = new osg:: Group; root -> addChild( loadedModel ); // The contour banded color texture is used in conjunction with TexGenNode diff --git a/examples/osgtexture2D/osgtexture2D.cpp b/examples/osgtexture2D/osgtexture2D.cpp index e224d5ea0b3..a4df73a15c8 100644 --- a/examples/osgtexture2D/osgtexture2D.cpp +++ b/examples/osgtexture2D/osgtexture2D.cpp @@ -170,7 +170,7 @@ osg::Node* createFilterWall(osg::BoundingBox& bb,const std::string& filename) // set up the texture state. osg::Texture2D* texture = new osg::Texture2D; texture->setDataVariance(osg::Object::DYNAMIC); // protect from being optimized away as static state. - texture->setImage(osgDB::readImageFile(filename)); + texture->setImage(osgDB::readRefImageFile(filename)); osg::StateSet* stateset = geom->getOrCreateStateSet(); stateset->setTextureAttributeAndModes(0,texture,osg::StateAttribute::ON); @@ -327,7 +327,7 @@ osg::Node* createAnisotripicWall(osg::BoundingBox& bb,const std::string& filenam // set up the texture state. osg::Texture2D* texture = new osg::Texture2D; texture->setDataVariance(osg::Object::DYNAMIC); // protect from being optimized away as static state. - texture->setImage(osgDB::readImageFile(filename)); + texture->setImage(osgDB::readRefImageFile(filename)); osg::StateSet* stateset = geom->getOrCreateStateSet(); stateset->setTextureAttributeAndModes(0,texture,osg::StateAttribute::ON); @@ -485,7 +485,7 @@ osg::Node* createWrapWall(osg::BoundingBox& bb,const std::string& filename) osg::Texture2D* texture = new osg::Texture2D; texture->setDataVariance(osg::Object::DYNAMIC); // protect from being optimized away as static state. texture->setBorderColor(osg::Vec4(1.0f,1.0f,1.0f,0.5f)); // only used when wrap is set to CLAMP_TO_BORDER - texture->setImage(osgDB::readImageFile(filename)); + texture->setImage(osgDB::readRefImageFile(filename)); osg::StateSet* stateset = geom->getOrCreateStateSet(); stateset->setTextureAttributeAndModes(0,texture,osg::StateAttribute::ON); @@ -535,7 +535,7 @@ class ImageUpdateCallback : public osg::NodeCallback { #if 1 - osg::ref_ptr originalImage = osgDB::readImageFile("Images/dog_left_eye.jpg"); + osg::ref_ptr originalImage = osgDB::readRefImageFile("Images/dog_left_eye.jpg"); osg::ref_ptr subImage = new osg::Image; subImage->setUserData(originalImage.get()); // attach the originalImage as user data to prevent it being deleted. @@ -573,14 +573,14 @@ class ImageUpdateCallback : public osg::NodeCallback #endif - _imageList.push_back(subImage.get()); + _imageList.push_back(subImage); #else - _imageList.push_back(osgDB::readImageFile("Images/dog_left_eye.jpg")); + _imageList.push_back(osgDB::readRefImageFile("Images/dog_left_eye.jpg")); #endif _textList.push_back("Subloaded Image 1 - dog_left_eye.jpg"); - _imageList.push_back(osgDB::readImageFile("Images/dog_right_eye.jpg")); + _imageList.push_back(osgDB::readRefImageFile("Images/dog_right_eye.jpg")); _textList.push_back("Subloaded Image 2 - dog_right_eye.jpg"); setValues(); diff --git a/examples/osgtexture2DArray/osgtexture2DArray.cpp b/examples/osgtexture2DArray/osgtexture2DArray.cpp index 4671c039d7b..c5bd52ead92 100644 --- a/examples/osgtexture2DArray/osgtexture2DArray.cpp +++ b/examples/osgtexture2DArray/osgtexture2DArray.cpp @@ -50,10 +50,10 @@ class SubloadCallback : public osg::Texture2DArray::SubloadCallback osg::StateSet* createState(osg::ArgumentParser& arguments) { // read 4 2d images - osg::ref_ptr image_0 = osgDB::readImageFile("Images/lz.rgb"); - osg::ref_ptr image_1 = osgDB::readImageFile("Images/reflect.rgb"); - osg::ref_ptr image_2 = osgDB::readImageFile("Images/tank.rgb"); - osg::ref_ptr image_3 = osgDB::readImageFile("Images/skymap.jpg"); + osg::ref_ptr image_0 = osgDB::readRefImageFile("Images/lz.rgb"); + osg::ref_ptr image_1 = osgDB::readRefImageFile("Images/reflect.rgb"); + osg::ref_ptr image_2 = osgDB::readRefImageFile("Images/tank.rgb"); + osg::ref_ptr image_3 = osgDB::readRefImageFile("Images/skymap.jpg"); if (!image_0 || !image_1 || !image_2 || !image_3) { @@ -128,10 +128,10 @@ osg::StateSet* createState(osg::ArgumentParser& arguments) osg::ref_ptr program = new osg::Program; - osg::ref_ptr vertexShader = osgDB::readShaderFile( osg::Shader::VERTEX, vsFileName) ; + osg::ref_ptr vertexShader = osgDB::readRefShaderFile( osg::Shader::VERTEX, vsFileName) ; if (vertexShader.get()) program->addShader( vertexShader.get() ); - osg::ref_ptr fragmentShader = osgDB::readShaderFile( osg::Shader::FRAGMENT, fsFileName) ; + osg::ref_ptr fragmentShader = osgDB::readRefShaderFile( osg::Shader::FRAGMENT, fsFileName) ; if (fragmentShader.get()) program->addShader( fragmentShader.get() ); // create the StateSet to store the texture data diff --git a/examples/osgtexture3D/osgtexture3D.cpp b/examples/osgtexture3D/osgtexture3D.cpp index 37e293218b1..b5a766b44a8 100644 --- a/examples/osgtexture3D/osgtexture3D.cpp +++ b/examples/osgtexture3D/osgtexture3D.cpp @@ -39,10 +39,10 @@ typedef std::vector< osg::ref_ptr > ImageList; osg::StateSet* createState() { // read 4 2d images - osg::ref_ptr image_0 = osgDB::readImageFile("Images/lz.rgb"); - osg::ref_ptr image_1 = osgDB::readImageFile("Images/reflect.rgb"); - osg::ref_ptr image_2 = osgDB::readImageFile("Images/tank.rgb"); - osg::ref_ptr image_3 = osgDB::readImageFile("Images/skymap.jpg"); + osg::ref_ptr image_0 = osgDB::readRefImageFile("Images/lz.rgb"); + osg::ref_ptr image_1 = osgDB::readRefImageFile("Images/reflect.rgb"); + osg::ref_ptr image_2 = osgDB::readRefImageFile("Images/tank.rgb"); + osg::ref_ptr image_3 = osgDB::readRefImageFile("Images/skymap.jpg"); if (!image_0 || !image_1 || !image_2 || !image_3) { diff --git a/examples/osgtexturecompression/osgtexturecompression.cpp b/examples/osgtexturecompression/osgtexturecompression.cpp index 6106f2c228f..be18a94699b 100644 --- a/examples/osgtexturecompression/osgtexturecompression.cpp +++ b/examples/osgtexturecompression/osgtexturecompression.cpp @@ -40,7 +40,7 @@ osg::Camera* createHUD(const std::string& label) // set the projection matrix camera->setProjectionMatrix(osg::Matrix::ortho2D(0,1280,0,1024)); - // set the view matrix + // set the view matrix camera->setReferenceFrame(osg::Transform::ABSOLUTE_RF); camera->setViewMatrix(osg::Matrix::identity()); @@ -80,14 +80,14 @@ osg::Camera* createHUD(const std::string& label) return camera; } -osg::Node* creatQuad(const std::string& name, - osg::Image* image, +osg::Node* creatQuad(const std::string& name, + osg::Image* image, osg::Texture::InternalFormatMode formatMode, osg::Texture::FilterMode minFilter) { osg::Group* group = new osg::Group; - + { osg::Geode* geode = new osg::Geode; @@ -104,14 +104,14 @@ osg::Node* creatQuad(const std::string& name, texture->setInternalFormatMode(formatMode); texture->setFilter(osg::Texture::MIN_FILTER, minFilter); stateset->setTextureAttributeAndModes(0, texture, osg::StateAttribute::ON); - + group->addChild(geode); } - + { group->addChild(createHUD(name)); } - + return group; } @@ -121,16 +121,16 @@ int main(int argc, char** argv) // construct the viewer. osgViewer::CompositeViewer viewer(arguments); - + if (arguments.argc()<=1) { std::cout<<"Please supply an image filename on the commnand line."< image = osgDB::readImageFile(filename); - + osg::ref_ptr image = osgDB::readRefImageFile(filename); + if (!image) { std::cout<<"Error: unable able to read image from "<height = height; traits->windowDecoration = false; traits->doubleBuffer = true; - + osg::ref_ptr gc = osg::GraphicsContext::createGraphicsContext(traits.get()); if (!gc) { @@ -166,16 +166,16 @@ int main(int argc, char** argv) gc->setClearMask(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); osg::ref_ptr trackball = new osgGA::TrackballManipulator; - + typedef std::vector< osg::ref_ptr > Models; - + Models models; models.push_back(creatQuad("no compression", image.get(), osg::Texture::USE_IMAGE_DATA_FORMAT, osg::Texture::LINEAR)); models.push_back(creatQuad("ARB compression", image.get(), osg::Texture::USE_ARB_COMPRESSION, osg::Texture::LINEAR)); models.push_back(creatQuad("DXT1 compression", image.get(), osg::Texture::USE_S3TC_DXT1_COMPRESSION, osg::Texture::LINEAR)); models.push_back(creatQuad("DXT3 compression", image.get(), osg::Texture::USE_S3TC_DXT3_COMPRESSION, osg::Texture::LINEAR)); models.push_back(creatQuad("DXT5 compression", image.get(), osg::Texture::USE_S3TC_DXT5_COMPRESSION, osg::Texture::LINEAR)); - + int numX = 1; int numY = 1; @@ -203,10 +203,10 @@ int main(int argc, char** argv) for(unsigned int i=0; isetSceneData(models[i].get()); view->getCamera()->setProjectionMatrixAsPerspective(30.0, double(vw) / double(vh), 1.0, 1000.0); - view->getCamera()->setViewport(new osg::Viewport(vx, vy, vw, vh)); + view->getCamera()->setViewport(new osg::Viewport(vx, vy, vw, vh)); view->getCamera()->setGraphicsContext(gc.get()); view->getCamera()->setClearMask(0); view->setCameraManipulator(trackball.get()); diff --git a/examples/osgtexturerectangle/osgtexturerectangle.cpp b/examples/osgtexturerectangle/osgtexturerectangle.cpp index 97617cb0a34..e95a2cbe32d 100644 --- a/examples/osgtexturerectangle/osgtexturerectangle.cpp +++ b/examples/osgtexturerectangle/osgtexturerectangle.cpp @@ -146,7 +146,7 @@ osg::Node* createRectangle(osg::BoundingBox& bb, geom->setUseDisplayList(false); // load image - osg::Image* img = osgDB::readImageFile(filename); + osg::ref_ptr img = osgDB::readRefImageFile(filename); // setup texture osg::TextureRectangle* texture = new osg::TextureRectangle(img); diff --git a/examples/osgthirdpersonview/osgthirdpersonview.cpp b/examples/osgthirdpersonview/osgthirdpersonview.cpp index ea9e15c7f66..d364c57654a 100644 --- a/examples/osgthirdpersonview/osgthirdpersonview.cpp +++ b/examples/osgthirdpersonview/osgthirdpersonview.cpp @@ -140,20 +140,20 @@ main( int argc, // of the view frustum. root->addChild( makeFrustumFromCamera( NULL ) ); - osg::ref_ptr< osg::Node > scene; - scene = osgDB::readNodeFiles( arguments ); + osg::ref_ptr< osg::Node > scene = osgDB::readRefNodeFiles( arguments ); if (!scene) { // User didn't specify anything, or file(s) didn't exist. // Try to load the cow... osg::notify( osg::WARN ) << arguments.getApplicationName() << ": Could not find specified files. Trying \"cow.osgt\" instead." << std::endl; - if ( !(scene = osgDB::readNodeFile( std::string( "cow.osgt" ) ) ) ) + scene = osgDB::readRefNodeFile("cow.osgt"); + if (!scene) { osg::notify( osg::FATAL ) << arguments.getApplicationName() << ": No data loaded." << std::endl; return 1; } } - root->addChild( scene.get() ); + root->addChild( scene ); osgViewer::CompositeViewer viewer( arguments ); diff --git a/examples/osgthreadedterrain/osgthreadedterrain.cpp b/examples/osgthreadedterrain/osgthreadedterrain.cpp index c8e50925c71..7a1868ef85d 100644 --- a/examples/osgthreadedterrain/osgthreadedterrain.cpp +++ b/examples/osgthreadedterrain/osgthreadedterrain.cpp @@ -66,11 +66,11 @@ struct ReleaseBlockOnCompileCompleted : public osgUtil::IncrementalCompileOperat virtual bool compileCompleted(osgUtil::IncrementalCompileOperation::CompileSet* compileSet) { if (_block.valid()) _block->completed(); - + // tell IncrementalCompileOperation that it's now safe to remove the compileSet - + osg::notify(osg::NOTICE)<<"compileCompleted("< compileSet = + osg::ref_ptr compileSet = new osgUtil::IncrementalCompileOperation::CompileSet(_loadedModel.get()); compileSet->_compileCompletedCallback = new ReleaseBlockOnCompileCompleted(_block.get()); _incrementalCompileOperation->add(compileSet.get()); } - else + else { if (_block.valid()) _block->completed(); } // osg::notify(osg::NOTICE)<<"done LoadAndCompileOperation "<<_filename< _loadedModel; osg::ref_ptr _incrementalCompileOperation; @@ -128,17 +129,18 @@ class MasterOperation : public osg::Operation MasterOperation(const std::string& filename, osgUtil::IncrementalCompileOperation* ico): + osg::Referenced(true), Operation("Master reading operation",true), _filename(filename), _incrementalCompileOperation(ico) { } - - /** Set the OperationQueue that the MasterOperation can use to place tasks like file loading on for other processes to handle.*/ + + /** Set the OperationQueue that the MasterOperation can use to place tasks like file loading on for other processes to handle.*/ void setOperationQueue(osg::OperationQueue* oq) { _operationQueue = oq; } - + osg::OperationQueue* getOperationQueue() { return _operationQueue.get(); } - + bool readMasterFile(Files& files) const { osgDB::ifstream fin(_filename.c_str()); @@ -165,12 +167,12 @@ class MasterOperation : public osg::Operation ++fr; } } - + return readFilename; } return false; } - + bool open(osg::Group* group) { Files files; @@ -179,7 +181,7 @@ class MasterOperation : public osg::Operation itr != files.end(); ++itr) { - osg::Node* model = osgDB::readNodeFile(*itr); + osg::ref_ptr model = osgDB::readRefNodeFile(*itr); if (model) { osg::notify(osg::NOTICE)<<"open: Loaded file "<<*itr< lock(_mutex); for(Files::iterator fitr = files.begin(); @@ -253,7 +255,7 @@ class MasterOperation : public osg::Operation } } } - + #if 0 if (!newFiles.empty() || !removedFiles.empty()) { @@ -268,7 +270,7 @@ class MasterOperation : public osg::Operation typedef std::vector< osg::ref_ptr > GraphicsThreads; GraphicsThreads threads; - + for(unsigned int i=0; i<= osg::GraphicsContext::getMaxContextID(); ++i) { osg::GraphicsContext* gc = osg::GraphicsContext::getCompileContext(i); @@ -281,12 +283,12 @@ class MasterOperation : public osg::Operation // osg::notify(osg::NOTICE)<<"Using OperationQueue"<reset(); - + typedef std::list< osg::ref_ptr > LoadAndCompileList; LoadAndCompileList loadAndCompileList; - + for(Files::iterator nitr = newFiles.begin(); nitr != newFiles.end(); ++nitr) @@ -305,11 +307,11 @@ class MasterOperation : public osg::Operation // osg::notify(osg::NOTICE)<<"Local running of operation"<block(); // osg::notify(osg::NOTICE)<<"done ... Waiting for completion of LoadAndCompile operations"<reset(); for(Files::iterator nitr = newFiles.begin(); nitr != newFiles.end(); ++nitr) { - osg::ref_ptr loadedModel = osgDB::readNodeFile(*nitr); + osg::ref_ptr loadedModel = osgDB::readRefNodeFile(*nitr); if (loadedModel.get()) { @@ -341,7 +343,7 @@ class MasterOperation : public osg::Operation if (_incrementalCompileOperation.valid()) { - osg::ref_ptr compileSet = + osg::ref_ptr compileSet = new osgUtil::IncrementalCompileOperation::CompileSet(loadedModel.get()); compileSet->_compileCompletedCallback = new ReleaseBlockOnCompileCompleted(_endOfLoadBlock.get()); @@ -362,15 +364,15 @@ class MasterOperation : public osg::Operation _endOfLoadBlock->block(); } - + } - + bool requiresBlock = false; - + // pass the locally peppared data to MasterOperations shared data - // so that updated thread can merge these changes with the main scene + // so that updated thread can merge these changes with the main scene // graph. This merge is carried out via the update(..) method. - if (!removedFiles.empty() || !nodesToAdd.empty()) + if (!removedFiles.empty() || !nodesToAdd.empty()) { OpenThreads::ScopedLock lock(_mutex); _nodesToRemove.swap(removedFiles); @@ -390,7 +392,7 @@ class MasterOperation : public osg::Operation } } - + // merge the changes with the main scene graph. void update(osg::Node* scene) { @@ -402,9 +404,9 @@ class MasterOperation : public osg::Operation osg::notify(osg::NOTICE)<<"Error, MasterOperation::update(Node*) can only work with a Group as Viewer::getSceneData()."< lock(_mutex); - + if (!_nodesToRemove.empty() || !_nodesToAdd.empty()) { osg::notify(osg::NOTICE)<<"update().................. "<removeChild(fnmItr->second.get()); _existingFilenameNodeMap.erase(fnmItr); } @@ -428,7 +430,7 @@ class MasterOperation : public osg::Operation _nodesToRemove.clear(); } - + if (!_nodesToAdd.empty()) { for(FilenameNodeMap::iterator itr = _nodesToAdd.begin(); @@ -439,14 +441,14 @@ class MasterOperation : public osg::Operation group->addChild(itr->second.get()); _existingFilenameNodeMap[itr->first] = itr->second; } - + _nodesToAdd.clear(); } _updatesMergedBlock.release(); } - + // add release implementation so that any thread cancellation can // work even when blocks and barriers are used. virtual void release() @@ -458,9 +460,9 @@ class MasterOperation : public osg::Operation if (_endOfLoadBlock.valid()) _endOfLoadBlock.release(); } - + std::string _filename; - + OpenThreads::Mutex _mutex; FilenameNodeMap _existingFilenameNodeMap; Files _nodesToRemove; @@ -470,13 +472,13 @@ class MasterOperation : public osg::Operation osg::ref_ptr _incrementalCompileOperation; osg::ref_ptr _endOfCompilebarrier; osg::ref_ptr _endOfLoadBlock; - + osg::ref_ptr _operationQueue; }; -class FilterHandler : public osgGA::GUIEventHandler +class FilterHandler : public osgGA::GUIEventHandler { -public: +public: FilterHandler(osgTerrain::GeometryTechnique* gt): _gt(gt) {} @@ -548,9 +550,9 @@ class FilterHandler : public osgGA::GUIEventHandler -class LayerHandler : public osgGA::GUIEventHandler +class LayerHandler : public osgGA::GUIEventHandler { -public: +public: LayerHandler(osgTerrain::Layer* layer): _layer(layer) {} @@ -610,7 +612,7 @@ int main(int argc, char** argv) while (arguments.read("-p",pathfile)) { osgGA::AnimationPathManipulator* apm = new osgGA::AnimationPathManipulator(pathfile); - if (apm || !apm->valid()) + if (apm || !apm->valid()) { unsigned int num = keyswitchManipulator->getNumMatrixManipulators(); keyswitchManipulator->addMatrixManipulator( keyForAnimationPath, "Path", apm ); @@ -632,7 +634,7 @@ int main(int argc, char** argv) // add the record camera path handler viewer.addEventHandler(new osgViewer::RecordCameraPathHandler); - // attach an IncrementaCompileOperation to allow the master loading + // attach an IncrementaCompileOperation to allow the master loading // to be handled with an incremental compile to avoid frame drops when large objects are added. viewer.setIncrementalCompileOperation(new osgUtil::IncrementalCompileOperation()); @@ -650,7 +652,7 @@ int main(int argc, char** argv) { masterOperation = new MasterOperation(masterFilename, viewer.getIncrementalCompileOperation()); } - + osg::ref_ptr terrainTile = new osgTerrain::TerrainTile; osg::ref_ptr locator = new osgTerrain::Locator; @@ -674,8 +676,8 @@ int main(int argc, char** argv) while(possetTreatBoundariesToValidDataAsDefaultValue(true); } - + else if (arguments.read(pos, "-e",x,y,w,h)) { // define the extents. @@ -708,42 +710,42 @@ int main(int argc, char** argv) { osg::notify(osg::NOTICE)<<"--hf "< hf = osgDB::readHeightFieldFile(filename); + osg::ref_ptr hf = osgDB::readRefHeightFieldFile(filename); if (hf.valid()) { osg::ref_ptr hfl = new osgTerrain::HeightFieldLayer; hfl->setHeightField(hf.get()); - + hfl->setLocator(locator.get()); hfl->setValidDataOperator(validDataOperator.get()); hfl->setMagFilter(filter); - + if (offset!=0.0f || scale!=1.0f) { hfl->transform(offset,scale); } - + terrainTile->setElevationLayer(hfl.get()); - + lastAppliedLayer = hfl.get(); - + osg::notify(osg::NOTICE)<<"created osgTerrain::HeightFieldLayer"< image = osgDB::readImageFile(filename); + osg::ref_ptr image = osgDB::readRefImageFile(filename); if (image.valid()) { osg::ref_ptr imageLayer = new osgTerrain::ImageLayer; @@ -751,14 +753,14 @@ int main(int argc, char** argv) imageLayer->setLocator(locator.get()); imageLayer->setValidDataOperator(validDataOperator.get()); imageLayer->setMagFilter(filter); - + if (offset!=0.0f || scale!=1.0f) { imageLayer->transform(offset,scale); } - + terrainTile->setElevationLayer(imageLayer.get()); - + lastAppliedLayer = imageLayer.get(); osg::notify(osg::NOTICE)<<"created Elevation osgTerrain::ImageLayer"<getColorLayer(layerNum)) { terrainTile->getColorLayer(layerNum)->setMagFilter(filter); } - + } else if (arguments.read(pos, "--tf",minValue, maxValue)) { osg::ref_ptr tf = new osg::TransferFunction1D; - + unsigned int numCells = 6; float delta = (maxValue-minValue)/float(numCells-1); float v = minValue; - + tf->allocate(6); tf->setColor(v, osg::Vec4(1.0,1.0,1.0,1.0)); v += delta; tf->setColor(v, osg::Vec4(1.0,0.0,1.0,1.0)); v += delta; @@ -846,7 +848,7 @@ int main(int argc, char** argv) tf->setColor(v, osg::Vec4(1.0,1.0,0.0,1.0)); v += delta; tf->setColor(v, osg::Vec4(0.0,1.0,1.0,1.0)); v += delta; tf->setColor(v, osg::Vec4(0.0,1.0,0.0,1.0)); - + osg::notify(osg::NOTICE)<<"--tf "<setColorLayer(layerNum, new osgTerrain::ContourLayer(tf.get())); @@ -857,14 +859,14 @@ int main(int argc, char** argv) } } - + osg::ref_ptr scene = new osg::Group; if (terrainTile.valid() && (terrainTile->getElevationLayer() || terrainTile->getColorLayer(0))) { osg::notify(osg::NOTICE)<<"Terrain created"<addChild(terrainTile.get()); osg::ref_ptr geometryTechnique = new osgTerrain::GeometryTechnique; @@ -879,27 +881,27 @@ int main(int argc, char** argv) masterOperation->open(scene.get()); } - + if (scene->getNumChildren()==0) { osg::notify(osg::NOTICE)<<"No model created, please specify terrain or master file on command line."< masterOperationThread; - + typedef std::list< osg::ref_ptr > OperationThreadList; OperationThreadList generalThreadList; - - if (masterOperation.valid()) + + if (masterOperation.valid()) { masterOperationThread = new osg::OperationThread; masterOperationThread->startThread(); - + masterOperationThread->add(masterOperation.get()); // if (numLoadThreads>0) @@ -908,19 +910,19 @@ int main(int argc, char** argv) masterOperation->setOperationQueue(operationQueue.get()); for(unsigned int i=0; i thread = new osg::OperationThread; thread->setOperationQueue(operationQueue.get()); thread->startThread(); generalThreadList.push_back(thread); } } - + viewer.addUpdateOperation(masterOperation.get()); } - + viewer.setThreadingModel(osgViewer::Viewer::SingleThreaded); - + // enable the use of compile contexts and associated threads. // osg::DisplaySettings::instance()->setCompileContextsHint(true); diff --git a/examples/osgtransferfunction/osgtransferfunction.cpp b/examples/osgtransferfunction/osgtransferfunction.cpp index 66710d2b276..2e625700bc1 100644 --- a/examples/osgtransferfunction/osgtransferfunction.cpp +++ b/examples/osgtransferfunction/osgtransferfunction.cpp @@ -512,7 +512,7 @@ int main(int argc, char ** argv) return 1; #else - osg::ref_ptr model = osgDB::readNodeFiles(arguments); + osg::ref_ptr model = osgDB::readRefNodeFiles(arguments); #endif typedef std::vector< osg::ref_ptr > Nodes; Nodes nodes; diff --git a/examples/osguniformbuffer/osguniformbuffer.cpp b/examples/osguniformbuffer/osguniformbuffer.cpp index e245a3d3c5b..ec770441502 100644 --- a/examples/osguniformbuffer/osguniformbuffer.cpp +++ b/examples/osguniformbuffer/osguniformbuffer.cpp @@ -118,18 +118,18 @@ class UniformBufferCallback : public StateAttributeCallback array->dirty(); } }; - + int main(int argc, char** argv) { osg::ArgumentParser arguments(&argc,argv); osgViewer::Viewer viewer(arguments); - + if (arguments.argc() <= 1) { cerr << "Need a scene.\n"; return 1; } - osg::ref_ptr loadedModel = osgDB::readNodeFiles(arguments); + osg::ref_ptr loadedModel = osgDB::readRefNodeFiles(arguments); if (!loadedModel) { cerr << "couldn't load " << argv[1] << "\n"; return 1; @@ -167,7 +167,7 @@ int main(int argc, char** argv) ref_ptr ubb1 = new UniformBufferBinding(0, ubo.get(), 0, blockSize); ss1->setAttributeAndModes(ubb1.get(), StateAttribute::ON); - + ref_ptr colorArray2 = new FloatArray(&colors2[0], &colors2[sizeof(colors2) / sizeof(GLfloat)]); @@ -193,13 +193,13 @@ int main(int argc, char** argv) group3->setMatrix(mat3); StateSet* ss3 = group3->getOrCreateStateSet(); group3->addChild(loadedModel.get()); - scene->addChild(group3); + scene->addChild(group3); ref_ptr ubb3 = new UniformBufferBinding(0, ubo3.get(), 0, blockSize); ubb3->setUpdateCallback(new UniformBufferCallback); ubb3->setDataVariance(Object::DYNAMIC); ss3->setAttributeAndModes(ubb3.get(), StateAttribute::ON); - + viewer.setSceneData(scene); viewer.realize(); return viewer.run(); diff --git a/examples/osgunittests/MultiThreadRead.cpp b/examples/osgunittests/MultiThreadRead.cpp index c0bb228cddf..260dde119fd 100644 --- a/examples/osgunittests/MultiThreadRead.cpp +++ b/examples/osgunittests/MultiThreadRead.cpp @@ -82,7 +82,7 @@ class ReadThread : public osg::Referenced, public OpenThreads::Thread #if VERBOSE std::cout<<"Reading "< node = osgDB::readNodeFile(filename); + osg::ref_ptr node = osgDB::readRefNodeFile(filename); #if VERBOSE if (node.valid()) std::cout<<".. OK"< node = new osg::Group; if (arguments.read("--MyUserDataContainer") || arguments.read("--mydc")) { node->setUserDataContainer(new MyNamespace::MyUserDataContainer); } - + int i = 10; node->setUserValue("Int value",i); @@ -216,18 +216,18 @@ int main(int argc, char** argv) { osgDB::writeNodeFile(*node, "results.osgt"); - osg::ref_ptr from_osgt = osgDB::readNodeFile("results.osgt"); + osg::ref_ptr from_osgt = osgDB::readRefNodeFile("results.osgt"); if (from_osgt.valid()) { OSG_NOTICE< from_osgb = osgDB::readNodeFile("results.osgb"); + osg::ref_ptr from_osgb = osgDB::readRefNodeFile("results.osgb"); if (from_osgb.valid()) { OSG_NOTICE< from_osgx = osgDB::readNodeFile("results.osgx"); + osg::ref_ptr from_osgx = osgDB::readRefNodeFile("results.osgx"); if (from_osgx.valid()) { OSG_NOTICE< loadedModel = osgDB::readNodeFiles(arguments); + osg::ref_ptr loadedModel = osgDB::readRefNodeFiles(arguments); if (!loadedModel) { std::cout << arguments.getApplicationName() <<": No data loaded" << std::endl; @@ -331,9 +331,9 @@ int main(int argc, char** argv) // optimize the scene graph, remove redundant nodes and state etc. osgUtil::Optimizer optimizer; - optimizer.optimize(loadedModel.get()); + optimizer.optimize(loadedModel); - viewer.setSceneData( loadedModel.get() ); + viewer.setSceneData(loadedModel); viewer.realize(); diff --git a/examples/osgvertexattributes/osgvertexattributes.cpp b/examples/osgvertexattributes/osgvertexattributes.cpp index 28dfb2c7921..2b61b854ca1 100644 --- a/examples/osgvertexattributes/osgvertexattributes.cpp +++ b/examples/osgvertexattributes/osgvertexattributes.cpp @@ -98,7 +98,7 @@ class ConvertToVertexAttibArrays : public osg::NodeVisitor #if 1 // replace built in uniform - replaceBuiltInUniform(source, "gl_ModelViewMatrix", "osg_ModeViewMatrix", "uniform mat4 "); + replaceBuiltInUniform(source, "gl_ModelViewMatrix", "osg_ModelViewMatrix", "uniform mat4 "); replaceBuiltInUniform(source, "gl_ModelViewProjectionMatrix", "osg_ModelViewProjectionMatrix", "uniform mat4 "); replaceBuiltInUniform(source, "gl_ProjectionMatrix", "osg_ProjectionMatrix", "uniform mat4 "); #endif @@ -372,7 +372,7 @@ osg::Node* createSimpleTextureTestModel() osg::StateSet* stateset = geometry->getOrCreateStateSet(); stateset->setAttribute(program); - osg::Image* image = osgDB::readImageFile("Images/lz.rgb"); + osg::ref_ptr image = osgDB::readRefImageFile("Images/lz.rgb"); osg::Texture2D* texture = new osg::Texture2D(image); texture->setFilter(osg::Texture::MIN_FILTER, osg::Texture::LINEAR); texture->setFilter(osg::Texture::MAG_FILTER, osg::Texture::LINEAR); @@ -415,7 +415,7 @@ int main(int argc, char *argv[]) while (arguments.read("--vertex-attrib")) { runConvertToVertexAttributes = true; } while (arguments.read("--no-vertex-attrib")) { runConvertToVertexAttributes = false; } - loadedModel = osgDB::readNodeFiles(arguments); + loadedModel = osgDB::readRefNodeFiles(arguments); if (!loadedModel.get()) { osg::notify(osg::NOTICE)<<"No model loaded, please specify a model filename."<imagePosX = osgDB::readRefImageFile(CUBEMAP_FILENAME(posx)); + osg::ref_ptrimageNegX = osgDB::readRefImageFile(CUBEMAP_FILENAME(negx)); + osg::ref_ptrimagePosY = osgDB::readRefImageFile(CUBEMAP_FILENAME(posy)); + osg::ref_ptrimageNegY = osgDB::readRefImageFile(CUBEMAP_FILENAME(negy)); + osg::ref_ptrimagePosZ = osgDB::readRefImageFile(CUBEMAP_FILENAME(posz)); + osg::ref_ptrimageNegZ = osgDB::readRefImageFile(CUBEMAP_FILENAME(negz)); if (imagePosX && imageNegX && imagePosY && imageNegY && imagePosZ && imageNegZ) { @@ -371,7 +371,7 @@ int main(int argc, char *argv[]) rootnode->addChild(createSkyBox()); // load the nodes from the commandline arguments. - osg::Node* model = osgDB::readNodeFiles(arguments); + osg::ref_ptr model = osgDB::readRefNodeFiles(arguments); if (!model) { const float radius = 1.0f; @@ -388,7 +388,7 @@ int main(int argc, char *argv[]) osgUtil::SmoothingVisitor smoother; model->accept(smoother); - rootnode->addChild( addRefractStateSet(model) ); + rootnode->addChild( addRefractStateSet(model.get()) ); // add a viewport to the viewer and attach the scene graph. viewer.setSceneData(rootnode); diff --git a/examples/osgviewerCocoa/English.lproj/InfoPlist.strings b/examples/osgviewerCocoa/English.lproj/InfoPlist.strings index be1baf72579..3e2e35b4047 100644 Binary files a/examples/osgviewerCocoa/English.lproj/InfoPlist.strings and b/examples/osgviewerCocoa/English.lproj/InfoPlist.strings differ diff --git a/examples/osgviewerCocoa/ViewerCocoa.mm b/examples/osgviewerCocoa/ViewerCocoa.mm index 65a116843b7..5376cb1fa02 100644 --- a/examples/osgviewerCocoa/ViewerCocoa.mm +++ b/examples/osgviewerCocoa/ViewerCocoa.mm @@ -173,7 +173,7 @@ + (NSOpenGLPixelFormat*) basicPixelFormat NSOpenGLPFADepthSize, (NSOpenGLPixelFormatAttribute)32, // depth buffer size in bits // NSOpenGLPFAColorSize, (NSOpenGLPixelFormatAttribute)24, // Not sure if this helps // NSOpenGLPFAAlphaSize, (NSOpenGLPixelFormatAttribute)8, // Not sure if this helps - (NSOpenGLPixelFormatAttribute)nil + 0 }; return [[[NSOpenGLPixelFormat alloc] initWithAttributes:pixel_attributes] autorelease]; } @@ -297,6 +297,10 @@ - (void) initOSGViewer osg::DisplaySettings::instance()->setMaxNumberOfGraphicsContexts(1); #endif // VIEWER_USE_SHARED_CONTEXTS + // set the draw and read buffers up for a double buffered window with rendering going to back buffer + theViewer->getCamera()->setDrawBuffer(GL_BACK); + theViewer->getCamera()->setReadBuffer(GL_BACK); + // Cocoa follows the same coordinate convention as OpenGL. osgViewer's default is inverted. theViewer->getEventQueue()->getCurrentEventState()->setMouseYOrientation(osgGA::GUIEventAdapter::Y_INCREASING_UPWARDS); // Use a trackball manipulator...matches nicely with the Mighty Mouse Scrollball. diff --git a/examples/osgviewerFLTK/osgviewerFLTK.cpp b/examples/osgviewerFLTK/osgviewerFLTK.cpp index e43e9d5390c..8cfd143d6fb 100644 --- a/examples/osgviewerFLTK/osgviewerFLTK.cpp +++ b/examples/osgviewerFLTK/osgviewerFLTK.cpp @@ -104,6 +104,11 @@ class ViewerFLTK : public osgViewer::Viewer, public AdapterWidget getCamera()->setViewport(new osg::Viewport(0,0,w,h)); getCamera()->setProjectionMatrixAsPerspective(30.0f, static_cast(w)/static_cast(h), 1.0f, 10000.0f); getCamera()->setGraphicsContext(getGraphicsWindow()); + + // set the draw and read buffers up for a double buffered window with rendering going to back buffer + getCamera()->setDrawBuffer(GL_BACK); + getCamera()->setReadBuffer(GL_BACK); + setThreadingModel(osgViewer::Viewer::SingleThreaded); } @@ -161,6 +166,11 @@ int main( int argc, char **argv ) view1->getCamera()->setGraphicsContext(viewerWindow.getGraphicsWindow()); view1->getCamera()->setProjectionMatrixAsPerspective(30.0f, static_cast(width)/static_cast(height/2), 1.0, 1000.0); view1->getCamera()->setViewport(new osg::Viewport(0,0,width,height/2)); + + // set the draw and read buffers up for a double buffered window with rendering going to back buffer + view1->getCamera()->setDrawBuffer(GL_BACK); + view1->getCamera()->setReadBuffer(GL_BACK); + view1->setCameraManipulator(new osgGA::TrackballManipulator); view1->setSceneData(loadedModel.get()); @@ -172,6 +182,11 @@ int main( int argc, char **argv ) view2->getCamera()->setGraphicsContext(viewerWindow.getGraphicsWindow()); view2->getCamera()->setProjectionMatrixAsPerspective(30.0f, static_cast(width)/static_cast(height/2), 1.0, 1000.0); view2->getCamera()->setViewport(new osg::Viewport(0,height/2,width,height/2)); + + // set the draw and read buffers up for a double buffered window with rendering going to back buffer + view2->getCamera()->setDrawBuffer(GL_BACK); + view2->getCamera()->setReadBuffer(GL_BACK); + view2->setCameraManipulator(new osgGA::TrackballManipulator); view2->setSceneData(loadedModel.get()); diff --git a/examples/osgviewerFOX/FOX_OSG_MDIView.cpp b/examples/osgviewerFOX/FOX_OSG_MDIView.cpp index df6124e2e20..ae4cd9d5638 100644 --- a/examples/osgviewerFOX/FOX_OSG_MDIView.cpp +++ b/examples/osgviewerFOX/FOX_OSG_MDIView.cpp @@ -32,6 +32,11 @@ FOX_OSG_MDIView::FOX_OSG_MDIView(FXMDIClient *p, const FXString &name, osgViewer::Viewer *viewer = new osgViewer::Viewer; viewer->getCamera()->setGraphicsContext(m_gwFox); viewer->getCamera()->setViewport(0,0,w,h); + + // set the draw and read buffers up for a double buffered window with rendering going to back buffer + viewer->getCamera()->setDrawBuffer(GL_BACK); + viewer->getCamera()->setReadBuffer(GL_BACK); + viewer->setThreadingModel(osgViewer::Viewer::SingleThreaded); // FOX example does not catch the close of the graphics window, so diff --git a/examples/osgviewerGLUT/osgviewerGLUT.cpp b/examples/osgviewerGLUT/osgviewerGLUT.cpp index 5fee7d29841..8694d6abb1c 100644 --- a/examples/osgviewerGLUT/osgviewerGLUT.cpp +++ b/examples/osgviewerGLUT/osgviewerGLUT.cpp @@ -59,7 +59,7 @@ void display(void) void reshape( int w, int h ) { // update the window dimensions, in case the window has been resized. - if (window.valid()) + if (window.valid()) { window->resized(window->getTraits()->x, window->getTraits()->y, w, h); window->getEventQueue()->windowResize(window->getTraits()->x, window->getTraits()->y, w, h ); @@ -88,7 +88,7 @@ void keyboard( unsigned char key, int /*x*/, int /*y*/ ) switch( key ) { case 27: - // clean up the viewer + // clean up the viewer if (viewer.valid()) viewer = 0; glutDestroyWindow(glutGetWindow()); break; @@ -113,7 +113,7 @@ int main( int argc, char **argv ) } // load the scene. - osg::ref_ptr loadedModel = osgDB::readNodeFile(argv[1]); + osg::ref_ptr loadedModel = osgDB::readRefNodeFile(argv[1]); if (!loadedModel) { std::cout << argv[0] <<": No data loaded." << std::endl; @@ -139,7 +139,7 @@ int main( int argc, char **argv ) viewer->realize(); glutMainLoop(); - + return 0; } diff --git a/examples/osgviewerIPhone/iphoneViewerAppDelegate.mm b/examples/osgviewerIPhone/iphoneViewerAppDelegate.mm index 439fe60ee82..9df3f79a7c3 100644 --- a/examples/osgviewerIPhone/iphoneViewerAppDelegate.mm +++ b/examples/osgviewerIPhone/iphoneViewerAppDelegate.mm @@ -301,6 +301,10 @@ - (void)applicationDidFinishLaunching:(UIApplication *)application { { _viewer->getCamera()->setGraphicsContext(graphicsContext); _viewer->getCamera()->setViewport(new osg::Viewport(0, 0, traits->width, traits->height)); + + // set the draw and read buffers up for a double buffered window with rendering going to back buffer + _viewer->getCamera()->setDrawBuffer(GL_BACK); + _viewer->getCamera()->setReadBuffer(GL_BACK); } } diff --git a/examples/osgviewerMFC/MFC_OSG.cpp b/examples/osgviewerMFC/MFC_OSG.cpp index 6baf62d2a76..6f891dd1d26 100644 --- a/examples/osgviewerMFC/MFC_OSG.cpp +++ b/examples/osgviewerMFC/MFC_OSG.cpp @@ -112,6 +112,10 @@ void cOSG::InitCameraConfig(void) camera->setProjectionMatrixAsPerspective( 30.0f, static_cast(traits->width)/static_cast(traits->height), 1.0, 1000.0); + // set the draw and read buffers up for a double buffered window with rendering going to back buffer + camera->setDrawBuffer(GL_BACK); + camera->setReadBuffer(GL_BACK); + // Add the Camera to the Viewer //mViewer->addSlave(camera.get()); mViewer->setCamera(camera.get()); diff --git a/examples/osgviewerQt/osgviewerQt.cpp b/examples/osgviewerQt/osgviewerQt.cpp index ec4c302c46f..3f4246cb48c 100644 --- a/examples/osgviewerQt/osgviewerQt.cpp +++ b/examples/osgviewerQt/osgviewerQt.cpp @@ -23,11 +23,11 @@ class ViewerWidget : public QWidget, public osgViewer::CompositeViewer // disable the default setting of viewer.done() by pressing Escape. setKeyEventSetsDone(0); - QWidget* widget1 = addViewWidget( createGraphicsWindow(0,0,100,100), osgDB::readNodeFile("cow.osgt") ); - QWidget* widget2 = addViewWidget( createGraphicsWindow(0,0,100,100), osgDB::readNodeFile("glider.osgt") ); - QWidget* widget3 = addViewWidget( createGraphicsWindow(0,0,100,100), osgDB::readNodeFile("axes.osgt") ); - QWidget* widget4 = addViewWidget( createGraphicsWindow(0,0,100,100), osgDB::readNodeFile("fountain.osgt") ); - QWidget* popupWidget = addViewWidget( createGraphicsWindow(900,100,320,240,"Popup window",true), osgDB::readNodeFile("dumptruck.osgt") ); + QWidget* widget1 = addViewWidget( createGraphicsWindow(0,0,100,100), osgDB::readRefNodeFile("cow.osgt") ); + QWidget* widget2 = addViewWidget( createGraphicsWindow(0,0,100,100), osgDB::readRefNodeFile("glider.osgt") ); + QWidget* widget3 = addViewWidget( createGraphicsWindow(0,0,100,100), osgDB::readRefNodeFile("axes.osgt") ); + QWidget* widget4 = addViewWidget( createGraphicsWindow(0,0,100,100), osgDB::readRefNodeFile("fountain.osgt") ); + QWidget* popupWidget = addViewWidget( createGraphicsWindow(900,100,320,240,"Popup window",true), osgDB::readRefNodeFile("dumptruck.osgt") ); popupWidget->show(); QGridLayout* grid = new QGridLayout; @@ -41,7 +41,7 @@ class ViewerWidget : public QWidget, public osgViewer::CompositeViewer _timer.start( 10 ); } - QWidget* addViewWidget( osgQt::GraphicsWindowQt* gw, osg::Node* scene ) + QWidget* addViewWidget( osgQt::GraphicsWindowQt* gw, osg::ref_ptr scene ) { osgViewer::View* view = new osgViewer::View; addView( view ); @@ -53,6 +53,11 @@ class ViewerWidget : public QWidget, public osgViewer::CompositeViewer camera->setClearColor( osg::Vec4(0.2, 0.2, 0.6, 1.0) ); camera->setViewport( new osg::Viewport(0, 0, traits->width, traits->height) ); + + // set the draw and read buffers up for a double buffered window with rendering going to back buffer + camera->setDrawBuffer(GL_BACK); + camera->setReadBuffer(GL_BACK); + camera->setProjectionMatrixAsPerspective(30.0f, static_cast(traits->width)/static_cast(traits->height), 1.0f, 10000.0f ); view->setSceneData( scene ); @@ -110,7 +115,7 @@ int main( int argc, char** argv ) if (threadingModel != osgViewer::ViewerBase::SingleThreaded) QApplication::setAttribute(Qt::AA_X11InitThreads); #endif - + QApplication app(argc, argv); ViewerWidget* viewWidget = new ViewerWidget(0, Qt::Widget, threadingModel); viewWidget->setGeometry( 100, 100, 800, 600 ); diff --git a/examples/osgviewerSDL/osgviewerSDL.cpp b/examples/osgviewerSDL/osgviewerSDL.cpp index 2d08a791461..cd1ee885fd8 100644 --- a/examples/osgviewerSDL/osgviewerSDL.cpp +++ b/examples/osgviewerSDL/osgviewerSDL.cpp @@ -78,10 +78,10 @@ int main( int argc, char **argv ) exit(1); } atexit(SDL_Quit); - + // load the scene. - osg::ref_ptr loadedModel = osgDB::readNodeFile(argv[1]); + osg::ref_ptr loadedModel = osgDB::readRefNodeFile(argv[1]); if (!loadedModel) { std::cout << argv[0] <<": No data loaded." << std::endl; @@ -111,7 +111,7 @@ int main( int argc, char **argv ) SDL_GL_SetAttribute( SDL_GL_BLUE_SIZE, 5 ); SDL_GL_SetAttribute( SDL_GL_DEPTH_SIZE, 16 ); SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, 1 ); - + // set up the surface to render to SDL_Surface* screen = SDL_SetVideoMode(windowWidth, windowHeight, bitDepth, SDL_OPENGL | SDL_FULLSCREEN | SDL_RESIZABLE); if ( screen == NULL ) @@ -121,13 +121,18 @@ int main( int argc, char **argv ) } SDL_EnableUNICODE(1); - + // If we used 0 to set the fields, query the values so we can pass it to osgViewer windowWidth = screen->w; windowHeight = screen->h; - + osgViewer::Viewer viewer; osg::ref_ptr gw = viewer.setUpViewerAsEmbeddedInWindow(0,0,windowWidth,windowHeight); + + // set the draw and read buffers up for a double buffered window with rendering going to back buffer + viewer.getCamera()->setDrawBuffer(GL_BACK); + viewer.getCamera()->setReadBuffer(GL_BACK); + viewer.setSceneData(loadedModel.get()); viewer.setCameraManipulator(new osgGA::TrackballManipulator); viewer.addEventHandler(new osgViewer::StatsHandler); @@ -153,7 +158,7 @@ int main( int argc, char **argv ) case SDL_KEYUP: if (event.key.keysym.sym==SDLK_ESCAPE) done = true; - if (event.key.keysym.sym=='f') + if (event.key.keysym.sym=='f') { SDL_WM_ToggleFullScreen(screen); gw->resized(0, 0, screen->w, screen->h ); @@ -175,7 +180,7 @@ int main( int argc, char **argv ) // Swap Buffers SDL_GL_SwapBuffers(); } - + return 0; } diff --git a/examples/osgviewerWX/osgviewerWX.cpp b/examples/osgviewerWX/osgviewerWX.cpp index c4a198a4d50..d30f3272bdd 100644 --- a/examples/osgviewerWX/osgviewerWX.cpp +++ b/examples/osgviewerWX/osgviewerWX.cpp @@ -64,6 +64,11 @@ bool wxOsgApp::OnInit() osgViewer::Viewer *viewer = new osgViewer::Viewer; viewer->getCamera()->setGraphicsContext(gw); viewer->getCamera()->setViewport(0,0,width,height); + + // set the draw and read buffers up for a double buffered window with rendering going to back buffer + viewer->getCamera()->setDrawBuffer(GL_BACK); + viewer->getCamera()->setReadBuffer(GL_BACK); + viewer->addEventHandler(new osgViewer::StatsHandler); viewer->setThreadingModel(osgViewer::Viewer::SingleThreaded); diff --git a/examples/osgvirtualprogram/CreateAdvancedHierachy.cpp b/examples/osgvirtualprogram/CreateAdvancedHierachy.cpp index edece33a134..883efd87177 100644 --- a/examples/osgvirtualprogram/CreateAdvancedHierachy.cpp +++ b/examples/osgvirtualprogram/CreateAdvancedHierachy.cpp @@ -14,7 +14,7 @@ using osgCandidate::VirtualProgram; //////////////////////////////////////////////////////////////////////////////// // Example shaders assume: // one texture -// one directional light +// one directional light // front face lighting // color material mode not used (its not supported by GLSL anyway) // diffuse/ambient/emissive/specular factors defined in material structure @@ -50,7 +50,7 @@ char SphereMapTextureVertexShaderSource[] = " return vec4(r.x / m + 0.5, r.y / m + 0.5, 1.0, 1.0 ); \n" //6 "} \n";//7 -char PerVertexDirectionalLightingVertexShaderSource[] = +char PerVertexDirectionalLightingVertexShaderSource[] = "void lighting( in vec3 position, in vec3 normal ) \n" //1 "{ \n" //2 " float NdotL = dot( normal, normalize(gl_LightSource[0].position.xyz) );\n" //3 @@ -152,7 +152,7 @@ void AddLabel( osg::Group * group, const std::string & label, float offset ) osg::Vec3 center( 0, 0, offset * 0.5 ); osg::Geode * geode = new osg::Geode; - // Make sure no program breaks text outputs + // Make sure no program breaks text outputs geode->getOrCreateStateSet()->setAttribute ( new osg::Program, osg::StateAttribute::ON | osg::StateAttribute::PROTECTED ); @@ -209,16 +209,16 @@ osg::Node * CreateAdvancedHierarchy( osg::Node * model ) transformRightBottom->setMatrix( osg::Matrix::translate( offset * 0.8,0, -offset * 0.8 ) ); transformRightBottom->addChild( model ); - // Set default VirtualProgram in root StateSet - // With main vertex and main fragment shaders calling + // Set default VirtualProgram in root StateSet + // With main vertex and main fragment shaders calling // lighting and texture functions defined in aditional shaders // Lighting is done per vertex using simple directional light // Texture uses stage 0 TexCoords and TexMap - if( 1 ) + if( 1 ) { // NOTE: - // duplicating the same semantics name in virtual program + // duplicating the same semantics name in virtual program // is only possible if its used for shaders of differing types // here for VERTEX and FRAGMENT @@ -251,35 +251,35 @@ osg::Node * CreateAdvancedHierarchy( osg::Node * model ) // Override default vertex ligting with pixel lighting shaders // For three bottom models - if( 1 ) + if( 1 ) { AddLabel( transformCenterBottom, "Per Pixel Lighting VP", offset ); VirtualProgram * vp = new VirtualProgram( ); transformCenterBottom->getOrCreateStateSet()->setAttribute( vp ); SetVirtualProgramShader( vp, "lighting",osg::Shader::VERTEX, - "Vertex Shader For Per Pixel Lighting", + "Vertex Shader For Per Pixel Lighting", PerFragmentLightingVertexShaderSource ); SetVirtualProgramShader( vp, "lighting",osg::Shader::FRAGMENT, - "Fragment Shader For Per Pixel Lighting", + "Fragment Shader For Per Pixel Lighting", PerFragmentDirectionalLightingFragmentShaderSource ); } - // Additionaly set bottom left model texture to procedural blue to + // Additionaly set bottom left model texture to procedural blue to // better observe smooth speculars done through per pixel lighting - if( 1 ) + if( 1 ) { AddLabel( transformLeftBottom, "Blue Tex VP", offset ); VirtualProgram * vp = new VirtualProgram( ); transformLeftBottom->getOrCreateStateSet()->setAttribute( vp ); SetVirtualProgramShader( vp, "texture",osg::Shader::FRAGMENT, - "Fragment Shader Procedural Blue Tex", + "Fragment Shader Procedural Blue Tex", ProceduralBlueTextureFragmentShaderSource ); } - // Additionaly change texture mapping to SphereMAp in bottom right model + // Additionaly change texture mapping to SphereMAp in bottom right model if( 1 ) { AddLabel( transformRightBottom, "EnvMap Sphere VP", offset ); @@ -290,13 +290,10 @@ osg::Node * CreateAdvancedHierarchy( osg::Node * model ) SetVirtualProgramShader( vp, "texture",osg::Shader::VERTEX, "Vertex Texture Sphere Map", SphereMapTextureVertexShaderSource ); - osg::Texture2D * texture = new osg::Texture2D( -// osgDB::readImageFile("Images/reflect.rgb") - osgDB::readImageFile("Images/skymap.jpg") - ); + osg::Texture2D * texture = new osg::Texture2D( osgDB::readRefImageFile("Images/skymap.jpg") ); // Texture is set on stage 1 to not interfere with label text - // The same could be achieved with texture override + // The same could be achieved with texture override // but such approach also turns off label texture ss->setTextureAttributeAndModes( 1, texture, osg::StateAttribute::ON ); ss->addUniform( new osg::Uniform( "baseTexture", 1 ) ); @@ -313,7 +310,7 @@ osg::Node * CreateAdvancedHierarchy( osg::Node * model ) // Top center model usues osg::Program overriding VirtualProgram in model - if( 1 ) + if( 1 ) { AddLabel( transformCenterTop, "Fixed Vertex + Simple Fragment osg::Program", offset ); osg::Program * program = new osg::Program; @@ -339,8 +336,8 @@ osg::Node * CreateAdvancedHierarchy( osg::Node * model ) } //////////////////////////////////////////////////////////////////////////////// -// Shders not used in the example but left for fun if anyone wants to play -char LightingVertexShaderSource[] = +// Shders not used in the example but left for fun if anyone wants to play +char LightingVertexShaderSource[] = "// Forward declarations \n" //1 " \n" //2 "void SpotLight( in int i, in vec3 eye, in vec3 position, in vec3 normal, \n" //3 @@ -385,7 +382,7 @@ char LightingVertexShaderSource[] = " gl_BackSecondaryColor = gl_FrontSecondaryColor; \n" //42 "} \n";//43 -char SpotLightShaderSource[] = +char SpotLightShaderSource[] = "void SpotLight(in int i, \n" //1 " in vec3 eye, \n" //2 " in vec3 position, \n" //3 @@ -444,7 +441,7 @@ char SpotLightShaderSource[] = " specular += gl_LightSource[i].specular * pf * attenuation; \n" //56 "} \n";//57 -char PointLightShaderSource[] = +char PointLightShaderSource[] = "void PointLight(in int i, \n" //1 " in vec3 eye, \n" //2 " in vec3 position, \n" //3 diff --git a/examples/osgvirtualprogram/osgvirtualprogram.cpp b/examples/osgvirtualprogram/osgvirtualprogram.cpp index b138ed52810..f564efcecc3 100644 --- a/examples/osgvirtualprogram/osgvirtualprogram.cpp +++ b/examples/osgvirtualprogram/osgvirtualprogram.cpp @@ -14,7 +14,7 @@ extern osg::Node * CreateAdvancedHierarchy( osg::Node * model ); //////////////////////////////////////////////////////////////////////////////// osg::Node * CreateGlobe( void ) { - // File not found - create textured sphere + // File not found - create textured sphere osg::Geode * geode = new osg::Geode; osg::ref_ptr hints = new osg::TessellationHints; hints->setDetailRatio( 0.3 ); @@ -33,8 +33,8 @@ osg::Node * CreateGlobe( void ) osg::StateSet * stateSet = new osg::StateSet; - osg::Texture2D * texture = new osg::Texture2D( - osgDB::readImageFile("Images/land_shallow_topo_2048.jpg") + osg::Texture2D * texture = new osg::Texture2D( + osgDB::readRefImageFile("Images/land_shallow_topo_2048.jpg") ); osg::Material * material = new osg::Material; @@ -68,14 +68,15 @@ int main( int argc, char **argv ) bool useSimpleExample = arguments.read("-s") || arguments.read("--simple") ; - osg::Node * model = NULL; + osg::ref_ptr model; - if (arguments.argc()>1 && !arguments.isOption(1) ) { + if (arguments.argc()>1 && !arguments.isOption(1) ) + { std::string filename = arguments[1]; - model = osgDB::readNodeFile( filename ); + model = osgDB::readRefNodeFile( filename ); if ( !model ) { - osg::notify( osg::NOTICE ) - << "Error, cannot read " << filename + osg::notify( osg::NOTICE ) + << "Error, cannot read " << filename << ". Loading default earth model instead." << std::endl; } } @@ -83,9 +84,9 @@ int main( int argc, char **argv ) if( model == NULL ) model = CreateGlobe( ); - osg::Node * node = useSimpleExample ? - CreateSimpleHierarchy( model ): - CreateAdvancedHierarchy( model ); + osg::ref_ptr node = useSimpleExample ? + CreateSimpleHierarchy( model.get() ): + CreateAdvancedHierarchy( model.get() ); viewer.setSceneData( node ); viewer.realize( ); diff --git a/examples/osgvolume/osgvolume.cpp b/examples/osgvolume/osgvolume.cpp index 113a0d12c85..e39cc2ca7de 100644 --- a/examples/osgvolume/osgvolume.cpp +++ b/examples/osgvolume/osgvolume.cpp @@ -306,6 +306,7 @@ class TestSupportOperation: public osg::GraphicsOperation public: TestSupportOperation(): + osg::Referenced(true), osg::GraphicsOperation("TestSupportOperation",false), supported(true), errorMessage(), @@ -474,7 +475,7 @@ int main( int argc, char **argv ) std::string tranferFunctionFile; while (arguments.read("--tf",tranferFunctionFile)) { - transferFunction = osgDB::readFile(tranferFunctionFile); + transferFunction = osgDB::readRefFile(tranferFunctionFile); } while(arguments.read("--test")) @@ -596,7 +597,7 @@ int main( int argc, char **argv ) osg::ref_ptr models; while(arguments.read("--model",filename)) { - osg::ref_ptr model = osgDB::readNodeFile(filename); + osg::ref_ptr model = osgDB::readRefNodeFile(filename); if (model.valid()) { if (!models) models = new osg::Group; @@ -607,7 +608,7 @@ int main( int argc, char **argv ) osg::ref_ptr hulls; while(arguments.read("--hull",filename)) { - osg::ref_ptr hull = osgDB::readNodeFile(filename); + osg::ref_ptr hull = osgDB::readRefNodeFile(filename); if (hull.valid()) { if (!hulls) hulls = new osg::Group; @@ -712,7 +713,7 @@ int main( int argc, char **argv ) osgDB::DirectoryContents contents = osgDB::expandWildcardsInFilename(arg); for (unsigned int i = 0; i < contents.size(); ++i) { - osg::Image *image = osgDB::readImageFile( contents[i] ); + osg::ref_ptr image = osgDB::readRefImageFile( contents[i] ); if(image) { @@ -724,7 +725,7 @@ int main( int argc, char **argv ) else { // not an option so assume string is a filename. - osg::Image *image = osgDB::readImageFile( arguments[pos] ); + osg::ref_ptr image = osgDB::readRefImageFile( arguments[pos] ); if(image) { @@ -769,7 +770,7 @@ int main( int argc, char **argv ) if (osgDB::getLowerCaseFileExtension(filename)=="dicom") { // not an option so assume string is a filename. - osg::Image* image = osgDB::readImageFile(filename); + osg::ref_ptr image = osgDB::readRefImageFile(filename); if (image) { images.push_back(image); @@ -786,13 +787,13 @@ int main( int argc, char **argv ) if (fileType == osgDB::DIRECTORY) { - osg::Image* image = osgDB::readImageFile(filename+".dicom"); + osg::ref_ptr image = osgDB::readRefImageFile(filename+".dicom"); if (image) images.push_back(image); } else if (fileType == osgDB::REGULAR_FILE) { // not an option so assume string is a filename. - osg::Image* image = osgDB::readImageFile( filename ); + osg::ref_ptr image = osgDB::readRefImageFile( filename ); if (image) images.push_back(image); } else @@ -1185,7 +1186,7 @@ int main( int argc, char **argv ) dragger->setActivationModKeyMask(osgGA::GUIEventAdapter::MODKEY_SHIFT); dragger->addDraggerCallback(new DraggerVolumeTileCallback(tile.get(), tile->getLocator())); dragger->setMatrix(osg::Matrix::translate(0.5,0.5,0.5)*tile->getLocator()->getTransform()); - + dragger->applyAppropriateFrontFace(dragger->getOrCreateStateSet()); group->addChild(dragger.get()); diff --git a/examples/osgwidgetbox/osgwidgetbox.cpp b/examples/osgwidgetbox/osgwidgetbox.cpp index df1394f1013..91dbae4e32d 100644 --- a/examples/osgwidgetbox/osgwidgetbox.cpp +++ b/examples/osgwidgetbox/osgwidgetbox.cpp @@ -23,7 +23,7 @@ struct ColorWidget: public osgWidget::Widget { bool mouseEnter(double, double, const osgWidget::WindowManager*) { addColor(-osgWidget::Color(0.4f, 0.4f, 0.4f, 0.0f)); - + // osgWidget::warn() << "enter: " << getColor() << std::endl; return true; @@ -31,14 +31,14 @@ struct ColorWidget: public osgWidget::Widget { bool mouseLeave(double, double, const osgWidget::WindowManager*) { addColor(osgWidget::Color(0.4f, 0.4f, 0.4f, 0.0f)); - + // osgWidget::warn() << "leave: " << getColor() << std::endl; - + return true; } bool mouseOver(double x, double y, const osgWidget::WindowManager*) { - + osgWidget::Color c = getImageColorAtPointerXY(x, y); if(c.a() < 0.001f) { @@ -88,7 +88,7 @@ int main(int argc, char** argv) { MASK_2D, osgWidget::WindowManager::WM_PICK_DEBUG ); - + wm->setPointerFocusMode(osgWidget::WindowManager::PFM_SLOPPY); osgWidget::Window* box1 = createBox("HBOX", osgWidget::Box::HORIZONTAL); @@ -112,9 +112,9 @@ int main(int argc, char** argv) { box4->hide(); - osg::Node* model = osgDB::readNodeFile("spaceship.osgt"); + osg::ref_ptr model = osgDB::readRefNodeFile("spaceship.osgt"); model->setNodeMask(MASK_3D); - return osgWidget::createExample(viewer, wm, model); + return osgWidget::createExample(viewer, wm, model.get()); } diff --git a/examples/osgwidgetframe/osgwidgetframe.cpp b/examples/osgwidgetframe/osgwidgetframe.cpp index 308230f7050..276291765a0 100644 --- a/examples/osgwidgetframe/osgwidgetframe.cpp +++ b/examples/osgwidgetframe/osgwidgetframe.cpp @@ -19,7 +19,7 @@ int main(int argc, char** argv) { MASK_2D, osgWidget::WindowManager::WM_PICK_DEBUG ); - + osgWidget::Frame* frame = osgWidget::Frame::createSimpleFrame( "frame", 32.0f, @@ -30,7 +30,7 @@ int main(int argc, char** argv) { osgWidget::Frame* frame2 = osgWidget::Frame::createSimpleFrameFromTheme( "frameTheme", - osgDB::readImageFile("osgWidget/theme-1.png"), + osgDB::readRefImageFile("osgWidget/theme-1.png"), 300.0f, 300.0f, osgWidget::Frame::FRAME_ALL @@ -40,7 +40,7 @@ int main(int argc, char** argv) { osgWidget::Frame* frame22 = osgWidget::Frame::createSimpleFrameFromTheme( "frameTheme", - osgDB::readImageFile("osgWidget/theme-2.png"), + osgDB::readRefImageFile("osgWidget/theme-2.png"), 300.0f, 300.0f, osgWidget::Frame::FRAME_ALL @@ -51,14 +51,14 @@ int main(int argc, char** argv) { osgWidget::Frame* frame3 = osgWidget::Frame::createSimpleFrameFromTheme( "frameTheme", - osgDB::readImageFile("osgWidget/theme-2.png"), + osgDB::readRefImageFile("osgWidget/theme-2.png"), 300.0f, 300.0f, osgWidget::Frame::FRAME_ALL ); frame3->setPosition(300,100,0); frame3->getBackground()->setColor(0.0f, 0.0f, 0.0f, 1.0f); - + osgWidget::Table* table = new osgWidget::Table("table", 2, 2); osgWidget::Box* bottom = new osgWidget::Box("panel", osgWidget::Box::HORIZONTAL); diff --git a/examples/osgwidgetmenu/osgwidgetmenu.cpp b/examples/osgwidgetmenu/osgwidgetmenu.cpp index c4e943e84b2..1e5c8238efa 100644 --- a/examples/osgwidgetmenu/osgwidgetmenu.cpp +++ b/examples/osgwidgetmenu/osgwidgetmenu.cpp @@ -33,13 +33,13 @@ struct ColorLabel: public osgWidget::Label { bool mouseEnter(double, double, const osgWidget::WindowManager*) { setColor(0.6f, 0.6f, 0.6f, 1.0f); - + return true; } bool mouseLeave(double, double, const osgWidget::WindowManager*) { setColor(0.3f, 0.3f, 0.3f, 1.0f); - + return true; } }; @@ -116,13 +116,13 @@ int main(int argc, char** argv) { menu->addWidget(new ColorLabelMenu("Grarar!?!")); wm->addChild(menu); - + menu->getBackground()->setColor(1.0f, 1.0f, 1.0f, 0.0f); menu->resizePercent(100.0f); - osg::Node* model = osgDB::readNodeFile("osgcool.osgt"); + osg::ref_ptr model = osgDB::readRefNodeFile("osgcool.osgt"); model->setNodeMask(MASK_3D); - return osgWidget::createExample(viewer, wm, model); + return osgWidget::createExample(viewer, wm, model.get()); } diff --git a/examples/osgwidgetmessagebox/osgwidgetmessagebox.cpp b/examples/osgwidgetmessagebox/osgwidgetmessagebox.cpp index 381a2cc450c..acd1b5655f2 100644 --- a/examples/osgwidgetmessagebox/osgwidgetmessagebox.cpp +++ b/examples/osgwidgetmessagebox/osgwidgetmessagebox.cpp @@ -17,19 +17,19 @@ const unsigned int MASK_2D = 0xF0000000; class MessageBox { protected: - + osgWidget::Frame* createButtonOk(const std::string& theme, const std::string& text, const std::string& font, int fontSize); osgWidget::Label* createLabel(const std::string& string, const std::string& font, int size, const osgWidget::Color& color); - + osg::ref_ptr _window; osg::ref_ptr _button; public: - + osgWidget::Frame* getButton(); osgWidget::Frame* getWindow(); - bool create(const std::string& themeMessage, + bool create(const std::string& themeMessage, const std::string& themeButton, const std::string& titleText, const std::string& messageText, @@ -56,7 +56,7 @@ struct AlphaSetterVisitor : public osg::NodeVisitor for (osgWidget::Window::Iterator it = win->begin(); it != win->end(); it++) { // osgWidget::warn() << " I am operating on Widget: " << it->get()->getName() << std::endl; - + osgWidget::Color color = it->get()->getColor(); color[3] = color[3] *_alpha; it->get()->setColor(color); @@ -87,7 +87,7 @@ struct ColorSetterVisitor : public osg::NodeVisitor for (osgWidget::Window::Iterator it = win->begin(); it != win->end(); it++) { // osgWidget::warn() << " I am operating on Widget: " << it->get()->getName() << std::endl; - + // osgWidget::Color color = it->get()->getColor(); // color[3] = color[3] *_alpha; it->get()->setColor(_color); @@ -110,7 +110,7 @@ struct EventOK : public osgWidget::Callback, osg::NodeCallback // typedef osgAnimation::OutQuartMotion WidgetMotion; WidgetMotion _motionOver; WidgetMotion _motionLeave; - + double _lastUpdate; osgWidget::Color _defaultColor; osgWidget::Color _overColor; @@ -119,7 +119,7 @@ struct EventOK : public osgWidget::Callback, osg::NodeCallback float _width; float _height; osg::Matrix _matrix; - EventOK(osgWidget::Frame* frame) : osgWidget::Callback(osgWidget::EVENT_ALL), _frame(frame) + EventOK(osgWidget::Frame* frame) : osgWidget::Callback(osgWidget::EVENT_ALL), _frame(frame) { _motionOver = WidgetMotion(0.0, 0.4); _motionLeave = WidgetMotion(0.0, 0.5); @@ -204,15 +204,15 @@ osgWidget::Label* MessageBox::createLabel(const std::string& string, const std:: return label; } -osgWidget::Frame* MessageBox::createButtonOk(const std::string& theme, - const std::string& text, - const std::string& font, +osgWidget::Frame* MessageBox::createButtonOk(const std::string& theme, + const std::string& text, + const std::string& font, int fontSize) { osg::ref_ptr frame = osgWidget::Frame::createSimpleFrameFromTheme( "ButtonOK", - osgDB::readImageFile(theme), - 300.0f, + osgDB::readRefImageFile(theme), + 300.0f, 50.0f, osgWidget::Frame::FRAME_TEXTURE ); @@ -240,7 +240,7 @@ osgWidget::Frame* MessageBox::createButtonOk(const std::string& theme, return frame.release(); } -bool MessageBox::create(const std::string& themeMessage, +bool MessageBox::create(const std::string& themeMessage, const std::string& themeButton, const std::string& titleText, const std::string& messageText, @@ -251,7 +251,7 @@ bool MessageBox::create(const std::string& themeMessage, osg::ref_ptr frame = osgWidget::Frame::createSimpleFrameFromTheme( "error", - osgDB::readImageFile(themeMessage), + osgDB::readRefImageFile(themeMessage), 300.0f, 50.0f, osgWidget::Frame::FRAME_ALL @@ -300,7 +300,7 @@ const char* LABEL1 = "nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in..." ; -int main(int argc, char** argv) +int main(int argc, char** argv) { osgViewer::Viewer viewer; @@ -319,7 +319,7 @@ int main(int argc, char** argv) std::string borderTheme = "osgWidget/theme-8.png"; MessageBox message; - message.create(borderTheme, + message.create(borderTheme, buttonTheme, "Error - Critical", LABEL1, @@ -422,7 +422,7 @@ struct AlphaSetterVisitor : public osg::NodeVisitor for (osgWidget::Window::Iterator it = win->begin(); it != win->end(); it++) { // osgWidget::warn() << " I am operating on Widget: " << it->get()->getName() << std::endl; - + osgWidget::Color color = it->get()->getColor(); color[3] = color[3] *_alpha; it->get()->setColor(color); @@ -453,7 +453,7 @@ struct ColorSetterVisitor : public osg::NodeVisitor for (osgWidget::Window::Iterator it = win->begin(); it != win->end(); it++) { // osgWidget::warn() << " I am operating on Widget: " << it->get()->getName() << std::endl; - + // osgWidget::Color color = it->get()->getColor(); // color[3] = color[3] *_alpha; it->get()->setColor(_color); @@ -474,7 +474,7 @@ struct EventOK : public osgWidget::Callback, osg::NodeCallback typedef osgAnimation::OutQuartMotion WidgetMotion; WidgetMotion _motionOver; WidgetMotion _motionLeave; - + double _lastUpdate; osgWidget::Color _defaultColor; osgWidget::Color _overColor; @@ -482,7 +482,7 @@ struct EventOK : public osgWidget::Callback, osg::NodeCallback osg::ref_ptr _frame; float _width; float _height; - EventOK(osgWidget::Frame* frame) : osgWidget::Callback(osgWidget::EVENT_ALL), _frame(frame) + EventOK(osgWidget::Frame* frame) : osgWidget::Callback(osgWidget::EVENT_ALL), _frame(frame) { _motionOver = WidgetMotion(0.0, 0.4); _motionLeave = WidgetMotion(0.0, 0.5); @@ -507,7 +507,7 @@ struct EventOK : public osgWidget::Callback, osg::NodeCallback // _frame->resize(_width * 1.2, _height * 1.2); return true; } - else if (ev.type == osgWidget::EVENT_MOUSE_LEAVE) + else if (ev.type == osgWidget::EVENT_MOUSE_LEAVE) { _over = false; // std::cout << "Leave" << std::endl; @@ -568,7 +568,7 @@ osgWidget::Window* createButtonOk(const std::string& theme, const std::string& t osg::ref_ptr frame = osgWidget::Frame::createSimpleFrameFromTheme( "ButtonOK", osgDB::readImageFile(theme), - 300.0f, + 300.0f, 50.0f, osgWidget::Frame::FRAME_TEXTURE ); @@ -596,7 +596,7 @@ osgWidget::Window* createButtonOk(const std::string& theme, const std::string& t return frame.release(); } -osgWidget::Frame* createErrorMessage(const std::string& themeMessage, +osgWidget::Frame* createErrorMessage(const std::string& themeMessage, const std::string& themeButton, const std::string& titleText, const std::string& messageText, @@ -645,7 +645,7 @@ const char* LABEL1 = "nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in..." ; -int main(int argc, char** argv) +int main(int argc, char** argv) { std::string theme = "osgWidget/theme-1.png"; if (argc > 1) diff --git a/examples/osgwidgetnotebook/osgwidgetnotebook.cpp b/examples/osgwidgetnotebook/osgwidgetnotebook.cpp index 17a390f7a95..362438fe148 100644 --- a/examples/osgwidgetnotebook/osgwidgetnotebook.cpp +++ b/examples/osgwidgetnotebook/osgwidgetnotebook.cpp @@ -14,7 +14,6 @@ #include const unsigned int MASK_2D = 0xF0000000; -const unsigned int MASK_3D = 0x0F000000; class Notebook: public osgWidget::Box { osg::ref_ptr _tabs; diff --git a/examples/osgwidgetscrolled/osgwidgetscrolled.cpp b/examples/osgwidgetscrolled/osgwidgetscrolled.cpp index f092addf7fd..21f984b04cd 100644 --- a/examples/osgwidgetscrolled/osgwidgetscrolled.cpp +++ b/examples/osgwidgetscrolled/osgwidgetscrolled.cpp @@ -22,9 +22,9 @@ bool scrollWindow(osgWidget::Event& ev) { osgWidget::Window::EmbeddedWindow* ew = dynamic_cast(frame->getEmbeddedWindow()) ; - + if(!ew) return false; - + // Lets get the visible area so that we can use it to make sure our scrolling action // is necessary in the first place. const osgWidget::Quad& va = ew->getWindow()->getVisibleArea(); @@ -34,7 +34,7 @@ bool scrollWindow(osgWidget::Event& ev) { if(ev.getWindowManager()->isMouseScrollingUp() && va[1] != 0.0f) ew->getWindow()->addVisibleArea(0, -20) ; - + else if(va[1] <= (ew->getWindow()->getHeight() - ew->getHeight())) ew->getWindow()->addVisibleArea(0, 20) ; @@ -88,10 +88,10 @@ int main(int argc, char** argv) { osgWidget::WindowManager::WM_PICK_DEBUG //osgWidget::WindowManager::WM_NO_INVERT_Y ); - + osgWidget::Frame* frame = osgWidget::Frame::createSimpleFrameFromTheme( "frame", - osgDB::readImageFile("osgWidget/theme.png"), + osgDB::readRefImageFile("osgWidget/theme.png"), 40.0f, 40.0f, osgWidget::Frame::FRAME_ALL diff --git a/examples/osgwidgetwindow/osgwidgetwindow.cpp b/examples/osgwidgetwindow/osgwidgetwindow.cpp index 1bd7d5f324b..96a5e8a9f05 100644 --- a/examples/osgwidgetwindow/osgwidgetwindow.cpp +++ b/examples/osgwidgetwindow/osgwidgetwindow.cpp @@ -53,14 +53,14 @@ struct CallbackObject: public osgWidget::Callback { virtual bool operator()(osgWidget::Event& ev) { std::cout << "here" << std::endl; - + return false; } }; int main(int argc, char** argv) { osgViewer::Viewer viewer; - + // Let's get busy! The WindowManager class is actually an osg::Switch, // so you can add it to (ideally) an orthographic camera and have it behave as // expected. Note that you create a WindowManager with a NodeMask--it is very important @@ -117,7 +117,7 @@ int main(int argc, char** argv) { widget1->setCanFill(true); widget3->setColor(0.0f, 1.0f, 0.0f, 1.0f); - widget1->setImage(osgDB::readImageFile("Images/Saturn.TGA"), true); + widget1->setImage(osgDB::readRefImageFile("Images/Saturn.TGA"), true); // Set the color of widget2, to differentiate it and make it sassy. This is // like a poor man's gradient! @@ -166,16 +166,16 @@ int main(int argc, char** argv) { // simply use the createParentOrthoCamera method of the WindowManager class, // which will wrap the calls to createOrthoCamera and addChild for us! Check out // some of the other examples to see this in action... - osg::Group* group = new osg::Group(); - osg::Camera* camera = osgWidget::createOrthoCamera(1280.0f, 1024.0f); - osg::Node* model = osgDB::readNodeFile("cow.osgt"); + osg::ref_ptr group = new osg::Group(); + osg::ref_ptr camera = osgWidget::createOrthoCamera(1280.0f, 1024.0f); + osg::ref_ptr model = osgDB::readRefNodeFile("cow.osgt"); // Add our event handler; is this better as a MatrixManipulator? Add a few other // helpful ViewerEventHandlers. viewer.addEventHandler(new osgWidget::MouseHandler(wm)); viewer.addEventHandler(new osgWidget::KeyboardHandler(wm)); - viewer.addEventHandler(new osgWidget::ResizeHandler(wm, camera)); - viewer.addEventHandler(new osgWidget::CameraSwitchHandler(wm, camera)); + viewer.addEventHandler(new osgWidget::ResizeHandler(wm, camera.get())); + viewer.addEventHandler(new osgWidget::CameraSwitchHandler(wm, camera.get())); viewer.addEventHandler(new osgViewer::StatsHandler()); viewer.addEventHandler(new osgViewer::WindowSizeHandler()); viewer.addEventHandler(new osgGA::StateSetManipulator( @@ -210,7 +210,7 @@ int main(int argc, char** argv) { viewer.setSceneData(group); /* - osgViewer::Viewer::Cameras cameras; + osgViewer::Viewer::Cameras cameras; viewer.getCameras(cameras); osg::Camera* c = cameras[0]; osg::Matrix s = osg::Matrix::scale(1.0f, -1.0f, 1.0f); diff --git a/examples/osgwindows/osgwindows.cpp b/examples/osgwindows/osgwindows.cpp index ee338096024..c8fbce58926 100644 --- a/examples/osgwindows/osgwindows.cpp +++ b/examples/osgwindows/osgwindows.cpp @@ -29,13 +29,13 @@ int main( int argc, char **argv ) osg::ArgumentParser arguments(&argc,argv); // read the scene from the list of file specified commandline args. - osg::ref_ptr loadedModel = osgDB::readNodeFiles(arguments); + osg::ref_ptr loadedModel = osgDB::readRefNodeFiles(arguments); // if not loaded assume no arguments passed in, try use default mode instead. - if (!loadedModel) loadedModel = osgDB::readNodeFile("cow.osgt"); - + if (!loadedModel) loadedModel = osgDB::readRefNodeFile("cow.osgt"); + // if no model has been successfully loaded report failure. - if (!loadedModel) + if (!loadedModel) { std::cout << arguments.getApplicationName() <<": No data loaded" << std::endl; return 1; @@ -70,7 +70,7 @@ int main( int argc, char **argv ) // add this slave camera to the viewer, with a shift left of the projection matrix viewer.addSlave(camera.get(), osg::Matrixd::translate(1.0,0.0,0.0), osg::Matrixd()); } - + // right window + right slave camera { osg::ref_ptr traits = new osg::GraphicsContext::Traits; @@ -98,10 +98,10 @@ int main( int argc, char **argv ) // optimize the scene graph, remove redundant nodes and state etc. osgUtil::Optimizer optimizer; - optimizer.optimize(loadedModel.get()); + optimizer.optimize(loadedModel); // set the scene to render - viewer.setSceneData(loadedModel.get()); + viewer.setSceneData(loadedModel); return viewer.run(); } diff --git a/include/osg/AlphaFunc b/include/osg/AlphaFunc index f63f50f1f68..9535865173c 100644 --- a/include/osg/AlphaFunc +++ b/include/osg/AlphaFunc @@ -16,10 +16,6 @@ #include -#ifndef GL_ALPHA_TEST - #define GL_ALPHA_TEST 0x0BC0 -#endif - namespace osg { /** Encapsulates OpenGL glAlphaFunc. diff --git a/include/osg/BoundingSphere b/include/osg/BoundingSphere index 5ec81f3ebb0..4502e459594 100644 --- a/include/osg/BoundingSphere +++ b/include/osg/BoundingSphere @@ -44,7 +44,7 @@ class BoundingSphereImpl BoundingSphereImpl() : _center(0.0,0.0,0.0),_radius(-1.0) {} /** Creates a bounding sphere initialized to the given extents. */ - BoundingSphereImpl(const vec_type& center, value_type radius) : _center(center),_radius(radius) {} + BoundingSphereImpl(const vec_type& cntr, value_type rad) : _center(cntr),_radius(rad) {} /** Creates a bounding sphere initialized to the given extents. */ BoundingSphereImpl(const BoundingSphereImpl& bs) : _center(bs._center),_radius(bs._radius) {} @@ -64,7 +64,7 @@ class BoundingSphereImpl inline bool valid() const { return _radius>=0.0; } inline bool operator == (const BoundingSphereImpl& rhs) const { return _center==rhs._center && _radius==rhs._radius; } - inline bool operator != (const BoundingSphereImpl& rhs) const { return _center!=rhs._center || _radius==rhs._radius; } + inline bool operator != (const BoundingSphereImpl& rhs) const { return _center!=rhs._center || _radius!=rhs._radius; } /** Set the bounding sphere to the given center/radius using floats. */ inline void set(const vec_type& center,value_type radius) diff --git a/include/osg/BoundsChecking b/include/osg/BoundsChecking index c2d8d0fddec..541a281e151 100644 --- a/include/osg/BoundsChecking +++ b/include/osg/BoundsChecking @@ -27,7 +27,7 @@ inline void clampGEQUAL(T& value,const T minValue,const char* valueName) { if (valuemaxValue) { - notify(WARN) << "Warning: "<maxValue) { - notify(WARN) << "Warning: "<maxValue) { - notify(WARN) << "Warning: "<maxValue) { - notify(WARN) << "Warning: "< void setShape(const ref_ptr& shape) { setShape(shape.get()); } + /** Get the Shape of the Drawable.*/ inline Shape* getShape() { return _shape.get(); } diff --git a/include/osg/GLDefines b/include/osg/GLDefines index 79f73a83dc8..c41024cb3a9 100644 --- a/include/osg/GLDefines +++ b/include/osg/GLDefines @@ -45,8 +45,10 @@ typedef char GLchar; #endif -#if !defined(GL_VERSION_2_0) +#ifndef GL_VERTEX_PROGRAM_POINT_SIZE #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642 +#endif +#ifndef GL_VERTEX_PROGRAM_TWO_SIDE #define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643 #endif @@ -490,6 +492,15 @@ typedef char GLchar; #define GL_COMPUTE_SHADER_BIT 0x00000020 #endif +#ifndef GL_ARB_clip_control +#define GL_LOWER_LEFT 0x8CA1 +#define GL_UPPER_LEFT 0x8CA2 +#define GL_CLIP_ORIGIN 0x935C +#define GL_CLIP_DEPTH_MODE 0x935D +#define GL_NEGATIVE_ONE_TO_ONE 0x935E +#define GL_ZERO_TO_ONE 0x935F +#endif + #ifndef GL_ARB_depth_clamp #define GL_DEPTH_CLAMP 0x864F #endif @@ -591,6 +602,10 @@ typedef char GLchar; #define GL_RASTERIZER_DISCARD 0x8C89 #endif +#ifndef GL_ALPHA_TEST + #define GL_ALPHA_TEST 0x0BC0 +#endif + namespace osg { #ifndef GL_VERSION_3_2 diff --git a/include/osg/Geode b/include/osg/Geode index 550adbcfca2..08966597406 100644 --- a/include/osg/Geode +++ b/include/osg/Geode @@ -49,6 +49,8 @@ class OSG_EXPORT Geode : public Group */ virtual bool addDrawable( Drawable *drawable ); + template bool addDrawable( const ref_ptr& drawable ) { return addDrawable(drawable.get()); } + /** Remove a \c Drawable from the \c Geode. * Equivalent to removeDrawable(getDrawableIndex(drawable). * @param drawable The drawable to be removed. @@ -57,6 +59,8 @@ class OSG_EXPORT Geode : public Group */ virtual bool removeDrawable( Drawable *drawable ); + template bool removeDrawable( const ref_ptr& drawable ) { return removeDrawable( drawable.get() ); } + /** Remove Drawable(s) from the specified position in * Geode's drawable list. * @param i The index of the first \c Drawable to remove. @@ -73,6 +77,8 @@ class OSG_EXPORT Geode : public Group */ virtual bool replaceDrawable( Drawable *origDraw, Drawable *newDraw ); + template bool replaceDrawable( const ref_ptr& origDraw, const ref_ptr& newDraw ) { return replaceDrawable(origDraw.get(), newDraw.get()); } + /** Set \c Drawable at position \c i. * Decrement the reference count origGSet and increments the * reference count of newGset, and dirty the bounding sphere @@ -85,6 +91,8 @@ class OSG_EXPORT Geode : public Group */ virtual bool setDrawable( unsigned int i, Drawable* drawable ); + template bool setDrawable( unsigned int i, const ref_ptr& drawable ) { return setDrawable(i, drawable.get()); } + /** Return the number of Drawables currently attached to the * \c Geode. */ @@ -108,6 +116,8 @@ class OSG_EXPORT Geode : public Group return false; } + template bool containsDrawable(const ref_ptr& drawable) const { return containsDrawable(drawable.get()); } + /** Get the index number of \c drawable. * @return A value between 0 and getNumDrawables()-1 if * \c drawable is found; if not found, then @@ -118,6 +128,8 @@ class OSG_EXPORT Geode : public Group return getChildIndex(drawable); } + template unsigned int getDrawableIndex( const ref_ptr& drawable ) const { return getDrawableIndex(drawable.get()); } + /** Compile OpenGL Display List for each drawable.*/ void compileDrawables(RenderInfo& renderInfo); diff --git a/include/osg/GraphicsContext b/include/osg/GraphicsContext index ec06b29ef17..d946f8a585f 100644 --- a/include/osg/GraphicsContext +++ b/include/osg/GraphicsContext @@ -150,11 +150,12 @@ class OSG_EXPORT GraphicsContext : public Object refreshRate(0), colorDepth(0) {} - ScreenSettings(int width, int height, double refreshRate=0, unsigned int colorDepth=0) : - width(width), - height(height), - refreshRate(refreshRate), - colorDepth(colorDepth) + + ScreenSettings(int in_width, int in_height, double in_refreshRate=0, unsigned int in_colorDepth=0) : + width(in_width), + height(in_height), + refreshRate(in_refreshRate), + colorDepth(in_colorDepth) {} int width; diff --git a/include/osg/GraphicsThread b/include/osg/GraphicsThread index 60ee085e81e..8001cc5f3ca 100644 --- a/include/osg/GraphicsThread +++ b/include/osg/GraphicsThread @@ -49,6 +49,7 @@ struct OSG_EXPORT GraphicsOperation : public Operation struct OSG_EXPORT SwapBuffersOperation : public GraphicsOperation { SwapBuffersOperation(): + osg::Referenced(true), GraphicsOperation("SwapBuffers",true) {} virtual void operator () (GraphicsContext* context); @@ -65,6 +66,7 @@ struct OSG_EXPORT BarrierOperation : public Operation, public OpenThreads::Barri }; BarrierOperation(int numThreads, PreBlockOp op=NO_OPERATION, bool keep=true): + osg::Referenced(true), Operation("Barrier", keep), OpenThreads::Barrier(numThreads), _preBlockOp(op) {} @@ -81,6 +83,7 @@ struct OSG_EXPORT BarrierOperation : public Operation, public OpenThreads::Barri struct OSG_EXPORT ReleaseContext_Block_MakeCurrentOperation : public GraphicsOperation, public RefBlock { ReleaseContext_Block_MakeCurrentOperation(): + osg::Referenced(true), GraphicsOperation("ReleaseContext_Block_MakeCurrent", false) {} virtual void release(); diff --git a/include/osg/Group b/include/osg/Group index f0b1617bf31..460c0690e47 100644 --- a/include/osg/Group +++ b/include/osg/Group @@ -50,6 +50,8 @@ class OSG_EXPORT Group : public Node */ virtual bool addChild( Node *child ); + template bool addChild( const ref_ptr& child ) { return addChild(child.get()); } + /** Insert Node to Group at specific location. * The new child node is inserted into the child list * before the node at the specified index. No nodes @@ -57,6 +59,8 @@ class OSG_EXPORT Group : public Node */ virtual bool insertChild( unsigned int index, Node *child ); + template bool insertChild( unsigned int index, const ref_ptr& child ) { return insertChild(index, child.get()); } + /** Remove Node from Group. * If Node is contained in Group then remove it from the child * list, decrement its reference count, and dirty the @@ -67,6 +71,8 @@ class OSG_EXPORT Group : public Node */ virtual bool removeChild( Node *child ); + template bool removeChild( const ref_ptr& child ) { return removeChild(child.get()); } + /** Remove Node from Group. * If Node is contained in Group then remove it from the child * list, decrement its reference count, and dirty the @@ -91,6 +97,8 @@ class OSG_EXPORT Group : public Node */ virtual bool replaceChild( Node *origChild, Node* newChild ); + template bool replaceChild( const ref_ptr& origChild, const ref_ptr& newChild ) { return replaceChild( origChild.get(), newChild.get()); } + /** Return the number of children nodes. */ virtual unsigned int getNumChildren() const; @@ -124,6 +132,8 @@ class OSG_EXPORT Group : public Node return false; } + template bool containsNode(const ref_ptr& node) const { return containsNode(node.get()); } + /** Get the index number of child, return a value between * 0 and _children.size()-1 if found, if not found then * return _children.size(). diff --git a/include/osg/Image b/include/osg/Image index b227eaaf87e..b1e467caa53 100644 --- a/include/osg/Image +++ b/include/osg/Image @@ -542,11 +542,17 @@ class Geode; * Use the image's s and t values to scale the dimensions of the image. */ extern OSG_EXPORT Geode* createGeodeForImage(Image* image); + +template Geode* createGeodeForImage(const ref_ptr& image) { return createGeodeForImage(image.get()); } + + /** Convenience function to be used by image loaders to generate a valid geode * to return for readNode(). * Use the specified s and t values to scale the dimensions of the image. */ -extern OSG_EXPORT Geode* createGeodeForImage(Image* image,float s,float t); +extern OSG_EXPORT Geode* createGeodeForImage(Image* image, float s, float t); + +template Geode* createGeodeForImage(const ref_ptr& image, float s, float t) { return createGeodeForImage(image.get(), s, t); } } diff --git a/include/osg/ImageSequence b/include/osg/ImageSequence index cd967a7145a..29297dc2143 100644 --- a/include/osg/ImageSequence +++ b/include/osg/ImageSequence @@ -92,6 +92,8 @@ class OSG_EXPORT ImageSequence : public ImageStream void addImage(osg::Image* image); + template void addImage(const osg::ref_ptr& image) { addImage(image.get()); } + void setImage(int s,int t,int r, GLint internalTextureformat, GLenum pixelFormat,GLenum type, @@ -100,6 +102,9 @@ class OSG_EXPORT ImageSequence : public ImageStream int packing=1) { Image::setImage(s,t,r,internalTextureformat, pixelFormat, type, data, mode, packing); } void setImage(unsigned int pos, osg::Image* image); + + template void setImage(unsigned int pos, const osg::ref_ptr& image) { setImage(pos, image.get()); } + Image* getImage(unsigned int pos); const Image* getImage(unsigned int pos) const; @@ -108,7 +113,7 @@ class OSG_EXPORT ImageSequence : public ImageStream ImageDataList& getImageDataList() { return _imageDataList; } const ImageDataList& getImageDataList() const { return _imageDataList; } - + /** ImageSequence requires a call to update(NodeVisitor*) during the update traversal so return true.*/ virtual bool requiresUpdateCall() const { return true; } diff --git a/include/osg/LOD b/include/osg/LOD index 0d636ec6c18..3a2a09e1259 100644 --- a/include/osg/LOD +++ b/include/osg/LOD @@ -48,9 +48,13 @@ class OSG_EXPORT LOD : public Group virtual void traverse(NodeVisitor& nv); + using osg::Group::addChild; + virtual bool addChild(Node *child); - virtual bool addChild(Node *child, float min, float max); + virtual bool addChild(Node *child, float rmin, float rmax); + + template bool addChild( const ref_ptr& child, float rmin, float rmax) { return addChild(child.get(), rmin, rmax); } virtual bool removeChildren(unsigned int pos,unsigned int numChildrenToRemove=1); diff --git a/include/osg/Node b/include/osg/Node index 77c06e08a8f..b820b48eca6 100644 --- a/include/osg/Node +++ b/include/osg/Node @@ -212,6 +212,8 @@ class OSG_EXPORT Node : public Object /** Set update node callback, called during update traversal. */ void setUpdateCallback(Callback* nc); + template void setUpdateCallback(const ref_ptr& nc) { setUpdateCallback(nc.get()); } + /** Get update node callback, called during update traversal. */ inline Callback* getUpdateCallback() { return _updateCallback.get(); } @@ -226,6 +228,8 @@ class OSG_EXPORT Node : public Object } } + template void addUpdateCallback(const ref_ptr& nc) { addUpdateCallback(nc.get()); } + /** Convenience 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. */ inline void removeUpdateCallback(Callback* nc) { if (nc != NULL && _updateCallback.valid()) { @@ -239,6 +243,8 @@ class OSG_EXPORT Node : public Object } } + template void removeUpdateCallback(const ref_ptr& nc) { removeUpdateCallback(nc.get()); } + /** Get the number of Children of this node which require Update traversal, * since they have an Update Callback attached to them or their children.*/ inline unsigned int getNumChildrenRequiringUpdateTraversal() const { return _numChildrenRequiringUpdateTraversal; } @@ -247,6 +253,8 @@ class OSG_EXPORT Node : public Object /** Set event node callback, called during event traversal. */ void setEventCallback(Callback* nc); + template void setEventCallback(const ref_ptr& nc) { setEventCallback(nc.get()); } + /** Get event node callback, called during event traversal. */ inline Callback* getEventCallback() { return _eventCallback.get(); } @@ -261,6 +269,8 @@ class OSG_EXPORT Node : public Object } } + template void addEventCallback(const ref_ptr& nc) { addEventCallback(nc.get()); } + /** Convenience 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. */ inline void removeEventCallback(Callback* nc) { if (nc != NULL && _eventCallback.valid()) { @@ -274,7 +284,9 @@ class OSG_EXPORT Node : public Object } } - /** Get the number of Children of this node which require Event traversal, + template void removeEventCallback(const ref_ptr& nc) { removeEventCallback(nc.get()); } + + /** Get the number of Children of this node which require Event traversal, * since they have an Event Callback attached to them or their children.*/ inline unsigned int getNumChildrenRequiringEventTraversal() const { return _numChildrenRequiringEventTraversal; } @@ -282,6 +294,8 @@ class OSG_EXPORT Node : public Object /** Set cull node callback, called during cull traversal. */ void setCullCallback(Callback* nc) { _cullCallback = nc; } + template void setCullCallback(const ref_ptr& nc) { setCullCallback(nc.get()); } + /** Get cull node callback, called during cull traversal. */ inline Callback* getCullCallback() { return _cullCallback.get(); } @@ -296,6 +310,8 @@ class OSG_EXPORT Node : public Object } } + template void addCullCallback(const ref_ptr& nc) { addCullCallback(nc.get()); } + /** Convenience 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. */ inline void removeCullCallback(Callback* nc) { if (nc != NULL && _cullCallback.valid()) { @@ -309,6 +325,8 @@ class OSG_EXPORT Node : public Object } } + template void removeCullCallback(const ref_ptr& nc) { removeCullCallback(nc.get()); } + /** Set the view frustum/small feature culling of this node to be active or inactive. * The default value is true for _cullingActive. Used as a guide * to the cull traversal.*/ @@ -360,6 +378,8 @@ class OSG_EXPORT Node : public Object /** Set the node's StateSet.*/ void setStateSet(osg::StateSet* stateset); + template void setStateSet(const osg::ref_ptr& stateset) { setStateSet(stateset.get()); } + /** return the node's StateSet, if one does not already exist create it * set the node and return the newly created StateSet. This ensures * that a valid StateSet is always returned and can be used directly.*/ @@ -444,6 +464,8 @@ class OSG_EXPORT Node : public Object /** Set the compute bound callback to override the default computeBound.*/ void setComputeBoundingSphereCallback(ComputeBoundingSphereCallback* callback) { _computeBoundCallback = callback; } + template void setComputeBoundingSphereCallback(const ref_ptr& callback) { setComputeBoundingSphereCallback(callback.get()); } + /** Get the compute bound callback.*/ ComputeBoundingSphereCallback* getComputeBoundingSphereCallback() { return _computeBoundCallback.get(); } diff --git a/include/osg/NodeVisitor b/include/osg/NodeVisitor index 2b0bb6177f4..6d1f8eb6b73 100644 --- a/include/osg/NodeVisitor +++ b/include/osg/NodeVisitor @@ -104,7 +104,7 @@ class OSG_EXPORT NodeVisitor : public virtual Object * Equivalent to dynamic_cast(this).*/ virtual const NodeVisitor* asNodeVisitor() const { return this; } - + /** Method to call to reset visitor. Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior diff --git a/include/osg/Object b/include/osg/Object index 4a9c1e1a8b9..b2ffe7d3789 100644 --- a/include/osg/Object +++ b/include/osg/Object @@ -92,8 +92,8 @@ class OSG_EXPORT Object : public Referenced /** return the compound class name that combines the library name and class name.*/ std::string getCompoundClassName() const { return std::string(libraryName()) + std::string("::") + std::string(className()); } - - + + /** Convert 'this' into a Node pointer if Object is a Node, otherwise return 0. * Equivalent to dynamic_cast(this).*/ virtual Node* asNode() { return 0; } @@ -168,6 +168,8 @@ class OSG_EXPORT Object : public Referenced /** set the UserDataContainer object.*/ void setUserDataContainer(osg::UserDataContainer* udc); + template void setUserDataContainer(const ref_ptr& udc) { setUserDataContainer(udc.get()); } + /** get the UserDataContainer attached to this object.*/ osg::UserDataContainer* getUserDataContainer() { return _userDataContainer; } @@ -187,6 +189,8 @@ class OSG_EXPORT Object : public Referenced */ virtual void setUserData(Referenced* obj); + template void setUserData(const ref_ptr& ud) { setUserData(ud.get()); } + /** Get user data.*/ virtual Referenced* getUserData(); diff --git a/include/osg/OperationThread b/include/osg/OperationThread index 7e3ec9643f8..a62157ea128 100644 --- a/include/osg/OperationThread +++ b/include/osg/OperationThread @@ -52,7 +52,6 @@ class Operation : virtual public Referenced public: Operation(const std::string& name, bool keep): - osg::Referenced(true), _name(name), _keep(keep) {} @@ -75,14 +74,12 @@ class Operation : virtual public Referenced /** Do the actual task of this operation.*/ virtual void operator () (Object*) = 0; - protected: +protected: Operation(): - Referenced(true), _keep(false) {} Operation(const Operation& op): - Referenced(true), _name(op._name), _keep(op._keep) {} diff --git a/include/osg/PagedLOD b/include/osg/PagedLOD index b2798240d6e..d5115d0585c 100644 --- a/include/osg/PagedLOD +++ b/include/osg/PagedLOD @@ -31,15 +31,19 @@ class OSG_EXPORT PagedLOD : public LOD META_Node(osg, PagedLOD); - - virtual void traverse(NodeVisitor& nv); + using osg::Group::addChild; + virtual bool addChild(Node *child); - virtual bool addChild(Node *child, float min, float max); + virtual bool addChild(Node *child, float rmin, float rmax); + + template bool addChild( const ref_ptr& child, float rmin, float rmax) { return addChild(child.get(), rmin, rmax); } + + virtual bool addChild(Node *child, float rmin, float rmax, const std::string& filename, float priorityOffset=0.0f, float priorityScale=1.0f); - virtual bool addChild(Node *child, float min, float max,const std::string& filename, float priorityOffset=0.0f, float priorityScale=1.0f); + template bool addChild( const ref_ptr& child, float rmin, float rmax, const std::string& filename, float priorityOffset=0.0f, float priorityScale=1.0f) { return addChild(child.get(), rmin, rmax, filename, priorityOffset, priorityScale); } virtual bool removeChildren(unsigned int pos,unsigned int numChildrenToRemove=1); diff --git a/include/osg/Program b/include/osg/Program index 0cd786a08f7..79d7a761f81 100644 --- a/include/osg/Program +++ b/include/osg/Program @@ -86,6 +86,8 @@ class OSG_EXPORT Program : public osg::StateAttribute * Mark Program as needing relink. Return true for success */ bool addShader( Shader* shader ); + template bool addShader( const ref_ptr& shader ) { return addShader(shader.get()); } + unsigned int getNumShaders() const { return static_cast(_shaderList.size()); } Shader* getShader( unsigned int i ) { return _shaderList[i].get(); } @@ -95,6 +97,8 @@ class OSG_EXPORT Program : public osg::StateAttribute * Mark Program as needing relink. Return true for success */ bool removeShader( Shader* shader ); + template bool removeShader( const ref_ptr& shader ) { return removeShader(shader.get()); } + /** Set/get GL program parameters */ void setParameter( GLenum pname, GLint value ); GLint getParameter( GLenum pname ) const; diff --git a/include/osg/ProxyNode b/include/osg/ProxyNode index 797f777eee0..5473d09c8f8 100644 --- a/include/osg/ProxyNode +++ b/include/osg/ProxyNode @@ -36,9 +36,14 @@ class OSG_EXPORT ProxyNode : public Group virtual void traverse(NodeVisitor& nv); + using osg::Group::addChild; + virtual bool addChild(Node *child); + virtual bool addChild(Node *child, const std::string& filename); + template bool addChild( const ref_ptr& child, const std::string& filename) { return addChild(child.get(), filename); } + virtual bool removeChildren(unsigned int pos,unsigned int numChildrenToRemove); diff --git a/include/osg/Sequence b/include/osg/Sequence index 542b81c1316..f96c08bfb33 100644 --- a/include/osg/Sequence +++ b/include/osg/Sequence @@ -41,14 +41,22 @@ class OSG_EXPORT Sequence : public Group // maintained. New code should set defaultTime and use addChild, and // not mess with the setTime method + using osg::Group::addChild; + using osg::Group::insertChild; + using osg::Group::removeChild; + virtual bool addChild( Node *child); virtual bool addChild( Node *child, double t); + template bool addChild( const ref_ptr& child, double t) { return addChild(child.get(), t); } + virtual bool insertChild( unsigned int index, Node *child); virtual bool insertChild( unsigned int index, Node *child, double t); + template bool insertChild( unsigned int index, const ref_ptr& child, double t) { return insertChild(index, child.get(), t); } + virtual bool removeChild( Node *child ); virtual bool removeChildren(unsigned int pos,unsigned int numChildrenToRemove); diff --git a/include/osg/ShaderComposer b/include/osg/ShaderComposer index a784eaed402..f39d092337b 100644 --- a/include/osg/ShaderComposer +++ b/include/osg/ShaderComposer @@ -39,7 +39,10 @@ class OSG_EXPORT ShaderComposer : public osg::Object virtual osg::Shader* composeMain(const Shaders& shaders); virtual void addShaderToProgram(Program* program, const Shaders& shaders); - void releaseGLObjects(osg::State* state); + /// kept for backward compatibility + void releaseGLObjects(osg::State* state) { static_cast(this)->releaseGLObjects(state); } + + virtual void releaseGLObjects(osg::State* state) const; protected: diff --git a/include/osg/Shape b/include/osg/Shape index f64ea62aafc..6ae501cad3f 100644 --- a/include/osg/Shape +++ b/include/osg/Shape @@ -622,6 +622,8 @@ class OSG_EXPORT CompositeShape : public Shape /** Add a child to the list.*/ void addChild(Shape* shape) { _children.push_back(shape); } + template void addChild( const ref_ptr& child ) { addChild(child.get()); } + /** remove a child from the list.*/ void removeChild(unsigned int i) { _children.erase(_children.begin()+i); } diff --git a/include/osg/ShapeDrawable b/include/osg/ShapeDrawable index a0fcd0c0714..4da4cae6d4d 100644 --- a/include/osg/ShapeDrawable +++ b/include/osg/ShapeDrawable @@ -132,6 +132,12 @@ class OSG_EXPORT ShapeDrawable : public Drawable ShapeDrawable(Shape* shape, TessellationHints* hints=0); + template ShapeDrawable(const ref_ptr& shape, TessellationHints* hints=0): + _color(1.0f,1.0f,1.0f,1.0f), + _tessellationHints(hints) { setShape(shape.get()); } + + + /** Copy constructor using CopyOp to manage deep vs shallow copy.*/ ShapeDrawable(const ShapeDrawable& pg,const CopyOp& copyop=CopyOp::SHALLOW_COPY); diff --git a/include/osg/State b/include/osg/State index f5992dd7a36..69a10a39f22 100644 --- a/include/osg/State +++ b/include/osg/State @@ -1592,7 +1592,8 @@ class OSG_EXPORT State : public Referenced { typedef std::vector DefineVec; - DefineStack() {} + DefineStack(): + changed(false) {} void print(std::ostream& fout) const; @@ -2107,7 +2108,7 @@ inline void State::pushDefineList(DefineMap& defineMap,const StateSet::DefineLis dv.push_back(StateSet::DefinePair(aitr->second.first,aitr->second.second)); // if the back of the stack has changed since the last then mark it as changed. - bool changed = (dv[dv.size()-2].first==dv[dv.size()-1].first); + bool changed = (dv[dv.size()-2] != dv.back()); if (changed) { ds.changed = true; @@ -2176,7 +2177,7 @@ inline void State::popDefineList(DefineMap& defineMap,const StateSet::DefineList if (!dv.empty()) { // if the stack has less than 2 entries or new back vs old back are different then mark the DefineStack as changed - if ((dv.size()<2) || (dv[dv.size()-2].first!=dv.back().first)) + if ((dv.size() < 2) || (dv[dv.size()-2] != dv.back())) { ds.changed = true; defineMap.changed = true; diff --git a/include/osg/StateSet b/include/osg/StateSet index 25ce0a1b4ae..f73ffc14fbd 100644 --- a/include/osg/StateSet +++ b/include/osg/StateSet @@ -160,15 +160,21 @@ class OSG_EXPORT StateSet : public Object /** Set this StateSet to contain specified attribute and override flag.*/ void setAttribute(StateAttribute *attribute, StateAttribute::OverrideValue value=StateAttribute::OFF); + template void setAttribute(const ref_ptr& attribute, StateAttribute::OverrideValue value=StateAttribute::OFF) { setAttribute(attribute.get(), value); } + /** Set this StateSet to contain specified attribute and set the associated GLMode's to specified value.*/ void setAttributeAndModes(StateAttribute *attribute, StateAttribute::GLModeValue value=StateAttribute::ON); + template void setAttributeAndModes(const ref_ptr& attribute, StateAttribute::GLModeValue value=StateAttribute::ON) { setAttributeAndModes(attribute.get(), value); } + /** remove attribute of specified type from StateSet.*/ void removeAttribute(StateAttribute::Type type, unsigned int member=0); /** remove attribute from StateSet.*/ void removeAttribute(StateAttribute *attribute); + template void removeAttribute(const ref_ptr& attribute) { removeAttribute(attribute.get()); } + /** Get specified StateAttribute for specified type. * Returns NULL if no type is contained within StateSet.*/ StateAttribute* getAttribute(StateAttribute::Type type, unsigned int member = 0); @@ -226,15 +232,22 @@ class OSG_EXPORT StateSet : public Object /** Set this StateSet to contain specified attribute and override flag.*/ void setTextureAttribute(unsigned int unit,StateAttribute *attribute, StateAttribute::OverrideValue value=StateAttribute::OFF); + + template void setTextureAttribute(unsigned int unit, const ref_ptr& attribute, StateAttribute::OverrideValue value=StateAttribute::OFF) { setTextureAttribute( unit, attribute.get(), value); } + /** Set this StateSet to contain specified attribute and set the associated GLMode's to specified value.*/ void setTextureAttributeAndModes(unsigned int unit,StateAttribute *attribute, StateAttribute::GLModeValue value=StateAttribute::ON); + template void setTextureAttributeAndModes(unsigned int unit, const ref_ptr& attribute, StateAttribute::OverrideValue value=StateAttribute::ON) { setTextureAttributeAndModes( unit, attribute.get(), value); } + /** remove texture attribute of specified type from StateSet.*/ void removeTextureAttribute(unsigned int unit, StateAttribute::Type type); /** remove texture attribute from StateSet.*/ void removeTextureAttribute(unsigned int unit, StateAttribute *attribute); + template void removeTextureAttribute(unsigned int unit, const ref_ptr& attribute) { removeTextureAttribute(unit, attribute.get()); } + /** Get specified Texture related StateAttribute for specified type. * Returns NULL if no type is contained within StateSet.*/ StateAttribute* getTextureAttribute(unsigned int unit,StateAttribute::Type type); @@ -278,12 +291,16 @@ class OSG_EXPORT StateSet : public Object /** Set this StateSet to contain specified uniform and override flag.*/ void addUniform(Uniform* uniform, StateAttribute::OverrideValue value=StateAttribute::ON); + template void addUniform(const ref_ptr& uniform, StateAttribute::OverrideValue value=StateAttribute::ON) { addUniform( uniform.get(), value); } + /** remove uniform of specified name from StateSet.*/ void removeUniform(const std::string& name); /** remove Uniform from StateSet.*/ void removeUniform(Uniform* uniform); + template void removeUniform(const ref_ptr& uniform) { removeUniform(uniform.get()); } + /** Get Uniform for specified name. * Returns NULL if no matching Uniform is contained within StateSet.*/ Uniform* getUniform(const std::string& name); @@ -427,6 +444,8 @@ class OSG_EXPORT StateSet : public Object /** Set the Update Callback which allows users to attach customize the updating of an object during the update traversal.*/ void setUpdateCallback(Callback* ac); + template void setUpdateCallback(const ref_ptr& ac) { setUpdateCallback(ac.get()); } + /** Get the non const Update Callback.*/ Callback* getUpdateCallback() { return _updateCallback.get(); } @@ -447,6 +466,8 @@ class OSG_EXPORT StateSet : public Object /** Set the Event Callback which allows users to attach customize the updating of an object during the event traversal.*/ void setEventCallback(Callback* ac); + template void setEventCallback(const ref_ptr& ec) { setEventCallback(ec.get()); } + /** Get the non const Event Callback.*/ Callback* getEventCallback() { return _eventCallback.get(); } diff --git a/include/osg/Switch b/include/osg/Switch index 65635d22daa..9f770f5d6d1 100644 --- a/include/osg/Switch +++ b/include/osg/Switch @@ -45,6 +45,9 @@ class OSG_EXPORT Switch : public Group bool getNewChildDefaultValue() const { return _newChildDefaultValue; } + using osg::Group::addChild; + using osg::Group::insertChild; + virtual bool addChild( Node *child ); virtual bool addChild( Node *child, bool value ); diff --git a/include/osg/Texture b/include/osg/Texture index cd6cd753b48..37e79e6c972 100644 --- a/include/osg/Texture +++ b/include/osg/Texture @@ -740,6 +740,8 @@ class OSG_EXPORT Texture : public osg::StateAttribute /** Sets the texture image for the specified face. */ virtual void setImage(unsigned int face, Image* image) = 0; + template void setImage(unsigned int face, const ref_ptr& image) { setImage(face, image.get()); } + /** Gets the texture image for the specified face. */ virtual Image* getImage(unsigned int face) = 0; @@ -753,6 +755,8 @@ class OSG_EXPORT Texture : public osg::StateAttribute /** Set the PBuffer graphics context to read from when using PBuffers for RenderToTexture.*/ void setReadPBuffer(GraphicsContext* context) { _readPBuffer = context; } + template void setReadPBuffer(const ref_ptr& context) { setReadPBuffer(context.get()); } + /** Get the PBuffer graphics context to read from when using PBuffers for RenderToTexture.*/ GraphicsContext* getReadPBuffer() { return _readPBuffer.get(); } diff --git a/include/osg/Texture1D b/include/osg/Texture1D index 65f48d686d7..f70f5a1b6b0 100644 --- a/include/osg/Texture1D +++ b/include/osg/Texture1D @@ -36,6 +36,13 @@ class OSG_EXPORT Texture1D : public Texture Texture1D(Image* image); + template Texture1D(const osg::ref_ptr& image): + _textureWidth(0), + _numMipmapLevels(0) + { + setImage(image.get()); + } + /** Copy constructor using CopyOp to manage deep vs shallow copy. */ Texture1D(const Texture1D& text,const CopyOp& copyop=CopyOp::SHALLOW_COPY); @@ -49,6 +56,8 @@ class OSG_EXPORT Texture1D : public Texture /** Sets the texture image. */ void setImage(Image* image); + template void setImage(const ref_ptr& image) { setImage(image.get()); } + /** Gets the texture image. */ Image* getImage() { return _image.get(); } diff --git a/include/osg/Texture2D b/include/osg/Texture2D index d04deb41fa2..c1b708ba980 100644 --- a/include/osg/Texture2D +++ b/include/osg/Texture2D @@ -30,6 +30,15 @@ class OSG_EXPORT Texture2D : public Texture Texture2D(Image* image); + template Texture2D(const osg::ref_ptr& image): + _textureWidth(0), + _textureHeight(0), + _numMipmapLevels(0) + { + setUseHardwareMipMapGeneration(true); + setImage(image.get()); + } + /** Copy constructor using CopyOp to manage deep vs shallow copy. */ Texture2D(const Texture2D& text,const CopyOp& copyop=CopyOp::SHALLOW_COPY); @@ -43,6 +52,8 @@ class OSG_EXPORT Texture2D : public Texture /** Sets the texture image. */ void setImage(Image* image); + template void setImage(const ref_ptr& image) { setImage(image.get()); } + /** Gets the texture image. */ Image* getImage() { return _image.get(); } @@ -59,6 +70,8 @@ class OSG_EXPORT Texture2D : public Texture /** Sets the texture image, ignoring face. */ virtual void setImage(unsigned int, Image* image) { setImage(image); } + template void setImage(unsigned int, const ref_ptr& image) { setImage(image.get()); } + /** Gets the texture image, ignoring face. */ virtual Image* getImage(unsigned int) { return _image.get(); } diff --git a/include/osg/Texture2DArray b/include/osg/Texture2DArray index 0f866d6702e..e410cd8f10e 100644 --- a/include/osg/Texture2DArray +++ b/include/osg/Texture2DArray @@ -48,6 +48,8 @@ class OSG_EXPORT Texture2DArray : public Texture /** Set the texture image for specified layer. */ virtual void setImage(unsigned int layer, Image* image); + template void setImage(unsigned int layer, const ref_ptr& image) { setImage(layer, image.get()); } + /** Get the texture image for specified layer. */ virtual Image* getImage(unsigned int layer); diff --git a/include/osg/Texture2DMultisample b/include/osg/Texture2DMultisample index 32ca18f1a4e..13c55ed521d 100644 --- a/include/osg/Texture2DMultisample +++ b/include/osg/Texture2DMultisample @@ -63,6 +63,7 @@ class OSG_EXPORT Texture2DMultisample : public Texture // unnecessary for Texture2DMultisample virtual void setImage(unsigned int /*face*/, Image* /*image*/) {} + virtual Image* getImage(unsigned int /*face*/) { return NULL; } virtual const Image* getImage(unsigned int /*face*/) const { return NULL; } virtual unsigned int getNumImages() const {return 0; } diff --git a/include/osg/Texture3D b/include/osg/Texture3D index b13caead49a..f1ebfda4e31 100644 --- a/include/osg/Texture3D +++ b/include/osg/Texture3D @@ -30,6 +30,16 @@ class OSG_EXPORT Texture3D : public Texture Texture3D(Image* image); + + template Texture3D(const osg::ref_ptr& image): + _textureWidth(0), + _textureHeight(0), + _textureDepth(0), + _numMipmapLevels(0) + { + setImage(image.get()); + } + /** Copy constructor using CopyOp to manage deep vs shallow copy. */ Texture3D(const Texture3D& text,const CopyOp& copyop=CopyOp::SHALLOW_COPY); @@ -43,6 +53,8 @@ class OSG_EXPORT Texture3D : public Texture /** Sets the texture image. */ void setImage(Image* image); + template void setImage(const ref_ptr& image) { setImage(image.get()); } + /** Gets the texture image. */ Image* getImage() { return _image.get(); } diff --git a/include/osg/TextureCubeMap b/include/osg/TextureCubeMap index b8ce1cae39c..3ab3f89297e 100644 --- a/include/osg/TextureCubeMap +++ b/include/osg/TextureCubeMap @@ -49,6 +49,8 @@ class OSG_EXPORT TextureCubeMap : public Texture /** Set the texture image for specified face. */ virtual void setImage(unsigned int face, Image* image); + template void setImage(unsigned int face, const ref_ptr& image) { setImage(face, image.get()); } + /** Get the texture image for specified face. */ virtual Image* getImage(unsigned int face); diff --git a/include/osg/TextureRectangle b/include/osg/TextureRectangle index d6332150d02..f389523e353 100644 --- a/include/osg/TextureRectangle +++ b/include/osg/TextureRectangle @@ -36,6 +36,19 @@ class OSG_EXPORT TextureRectangle : public Texture TextureRectangle(Image* image); + template TextureRectangle(const osg::ref_ptr& image): + _textureWidth(0), + _textureHeight(0) + { + setWrap(WRAP_S, CLAMP); + setWrap(WRAP_T, CLAMP); + + setFilter(MIN_FILTER, LINEAR); + setFilter(MAG_FILTER, LINEAR); + + setImage(image.get()); + } + /** Copy constructor using CopyOp to manage deep vs shallow copy. */ TextureRectangle(const TextureRectangle& text,const CopyOp& copyop=CopyOp::SHALLOW_COPY); @@ -49,6 +62,8 @@ class OSG_EXPORT TextureRectangle : public Texture /** Set the texture image. */ void setImage(Image* image); + template void setImage(const ref_ptr& image) { setImage(image.get()); } + /** Get the texture image. */ Image* getImage() { return _image.get(); } diff --git a/include/osg/Timer b/include/osg/Timer index c7eb77019cc..77330944b3b 100644 --- a/include/osg/Timer +++ b/include/osg/Timer @@ -56,7 +56,7 @@ class OSG_EXPORT Timer { inline double time_n() const { return delta_n(_startTick, tick()); } /** Get the time in seconds between timer ticks t1 and t2.*/ - inline double delta_s( Timer_t t1, Timer_t t2 ) const { return (double)(t2 - t1)*_secsPerTick; } + inline double delta_s( Timer_t t1, Timer_t t2 ) const { return (t2>t1) ? (double)(t2 - t1)*_secsPerTick : -(double)(t1 - t2)*_secsPerTick; } /** Get the time in milliseconds between timer ticks t1 and t2.*/ inline double delta_m( Timer_t t1, Timer_t t2 ) const { return delta_s(t1,t2)*1e3; } diff --git a/include/osg/Types b/include/osg/Types index 9613dfb92da..568561e2034 100644 --- a/include/osg/Types +++ b/include/osg/Types @@ -14,14 +14,14 @@ #ifndef __OSG_TYPES #define __OSG_TYPES -#ifdef _MSC_VER -typedef __int8 int8_t; -typedef unsigned __int8 uint8_t; -typedef __int16 int16_t; +#if defined(_MSC_VER) && _MSC_VER < 1600 +typedef signed __int8 int8_t; +typedef unsigned __int8 uint8_t; +typedef signed __int16 int16_t; typedef unsigned __int16 uint16_t; -typedef __int32 int32_t; +typedef signed __int32 int32_t; typedef unsigned __int32 uint32_t; -typedef __int64 int64_t; +typedef signed __int64 int64_t; typedef unsigned __int64 uint64_t; #else #include diff --git a/include/osg/UserDataContainer b/include/osg/UserDataContainer index a02023bf6f4..98b2406e4bf 100644 --- a/include/osg/UserDataContainer +++ b/include/osg/UserDataContainer @@ -47,6 +47,8 @@ class OSG_EXPORT UserDataContainer : public osg::Object */ virtual void setUserData(Referenced* obj) = 0; + using osg::Object::setUserData; + /** Get user data.*/ virtual Referenced* getUserData() = 0; @@ -56,6 +58,8 @@ class OSG_EXPORT UserDataContainer : public osg::Object /** Add user data object. Returns the index position of object added. */ virtual unsigned int addUserObject(Object* obj) = 0; + template unsigned int addUserObject(const osg::ref_ptr& obj) { return addUserObject(obj.get()); } + /** Add element to list of user data objects.*/ virtual void setUserObject(unsigned int i, Object* obj) = 0; @@ -127,6 +131,9 @@ class OSG_EXPORT DefaultUserDataContainer : public osg::UserDataContainer */ virtual void setUserData(Referenced* obj); + using osg::Object::setUserData; + using osg::UserDataContainer::addUserObject; + /** Get user data.*/ virtual Referenced* getUserData(); diff --git a/include/osgAnimation/UpdateUniform b/include/osgAnimation/UpdateUniform index b18da559f66..ac2e3e8cbf4 100644 --- a/include/osgAnimation/UpdateUniform +++ b/include/osgAnimation/UpdateUniform @@ -69,6 +69,18 @@ namespace osgAnimation META_Object(osgAnimation, UpdateFloatUniform); }; + // Vec2f + struct UpdateVec2fUniform : public UpdateUniform + { + UpdateVec2fUniform(const std::string& aName = "") : UpdateUniform(aName) { } + UpdateVec2fUniform(const UpdateVec2fUniform& uv2fu, + const osg::CopyOp& copyop) : + osg::Object(uv2fu, copyop), // copy name + UpdateUniform(uv2fu, copyop) { } + + META_Object(osgAnimation, UpdateVec2fUniform); + }; + // Vec3f struct UpdateVec3fUniform : public UpdateUniform { @@ -81,6 +93,18 @@ namespace osgAnimation META_Object(osgAnimation, UpdateVec3fUniform); }; + // Vec4f + struct UpdateVec4fUniform : public UpdateUniform + { + UpdateVec4fUniform(const std::string& aName = "") : UpdateUniform(aName) { } + UpdateVec4fUniform(const UpdateVec4fUniform& uv4fu, + const osg::CopyOp& copyop) : + osg::Object(uv4fu, copyop), // copy name + UpdateUniform(uv4fu, copyop) { } + + META_Object(osgAnimation, UpdateVec4fUniform); + }; + // Matrixf struct UpdateMatrixfUniform : public UpdateUniform { diff --git a/include/osgDB/AuthenticationMap b/include/osgDB/AuthenticationMap index 5c36c07a820..178f548a37b 100644 --- a/include/osgDB/AuthenticationMap +++ b/include/osgDB/AuthenticationMap @@ -35,10 +35,14 @@ public: { BASIC = 1<<0, DIGEST = 1<<1, - NTLM = 1<<2, - GSSNegotiate = 1<<2, - ANY = ~0, - ANYSAFE = ~BASIC + NEGOTIATE = 1<<2, + GSSNegotiate = NEGOTIATE, + NTLM = 1<<3, + DIGEST_IE = 1<<4, + NTLM_WB = 1<<5, + ONLY = 1<<31, + ANY = ~(DIGEST_IE), + ANYSAFE = ~(BASIC|DIGEST_IE) }; AuthenticationDetails(const std::string& u, const std::string& p, HttpAuthentication auth=BASIC): diff --git a/include/osgDB/ImagePager b/include/osgDB/ImagePager index 662f448473e..a9776b396b1 100644 --- a/include/osgDB/ImagePager +++ b/include/osgDB/ImagePager @@ -149,7 +149,7 @@ class OSGDB_EXPORT ImagePager : public osg::NodeVisitor::ImageRequestHandler void updateBlock() { - _block->set((!_requestList.empty() || !_pager->_databasePagerThreadPaused)); + _block->set((!_requestList.empty() && !_pager->_databasePagerThreadPaused)); } void clear(); diff --git a/include/osgDB/ObjectCache b/include/osgDB/ObjectCache index 624356d14e2..01b3f0581a8 100644 --- a/include/osgDB/ObjectCache +++ b/include/osgDB/ObjectCache @@ -50,16 +50,16 @@ class OSGDB_EXPORT ObjectCache : public osg::Referenced void addObjectCache(ObjectCache* object); /** Add a filename,object,timestamp triple to the Registry::ObjectCache.*/ - void addEntryToObjectCache(const std::string& filename, osg::Object* object, double timestamp = 0.0); + void addEntryToObjectCache(const std::string& filename, osg::Object* object, double timestamp = 0.0, const Options *options = NULL); /** Remove Object from cache.*/ - void removeFromObjectCache(const std::string& fileName); + void removeFromObjectCache(const std::string& fileName, const Options *options = NULL); /** Get an Object from the object cache*/ - osg::Object* getFromObjectCache(const std::string& fileName); + osg::Object* getFromObjectCache(const std::string& fileName, const Options *options = NULL); /** Get an ref_ptr from the object cache*/ - osg::ref_ptr getRefFromObjectCache(const std::string& fileName); + osg::ref_ptr getRefFromObjectCache(const std::string& fileName, const Options *options = NULL); /** call rleaseGLObjects on all objects attached to the object cache.*/ void releaseGLObjects(osg::State* state); @@ -68,8 +68,15 @@ class OSGDB_EXPORT ObjectCache : public osg::Referenced virtual ~ObjectCache(); + typedef std::pair > FileNameOptionsPair; + + class ClassComp { + public: + bool operator() (const ObjectCache::FileNameOptionsPair& lhs, const ObjectCache::FileNameOptionsPair& rhs); + }; + typedef std::pair, double > ObjectTimeStampPair; - typedef std::map ObjectCacheMap; + typedef std::map ObjectCacheMap; ObjectCacheMap _objectCache; OpenThreads::Mutex _objectCacheMutex; diff --git a/include/osgDB/Options b/include/osgDB/Options index 9722216864d..0790161deff 100644 --- a/include/osgDB/Options +++ b/include/osgDB/Options @@ -255,10 +255,12 @@ class OSGDB_EXPORT Options : public osg::Object /** Get the parentGroup observer_ptr, where the loaded model is intended to be added */ const osg::observer_ptr& getParentGroup() const { return _parentGroup; } - protected: - + bool operator < (const Options &rhs) const; + bool operator == (const Options &rhs) const; virtual ~Options() {} + protected: + std::string _str; FilePathList _databasePaths; diff --git a/include/osgDB/PluginQuery b/include/osgDB/PluginQuery index 98a8712ca16..e0d3990181e 100644 --- a/include/osgDB/PluginQuery +++ b/include/osgDB/PluginQuery @@ -39,6 +39,7 @@ class ReaderWriterInfo : public osg::Referenced ReaderWriter::FormatDescriptionMap protocols; ReaderWriter::FormatDescriptionMap extensions; ReaderWriter::FormatDescriptionMap options; + ReaderWriter::FormatDescriptionMap environment; ReaderWriter::Features features; protected: diff --git a/include/osgDB/ReadFile b/include/osgDB/ReadFile index f01becb0f86..dfe87ae1b03 100644 --- a/include/osgDB/ReadFile +++ b/include/osgDB/ReadFile @@ -27,146 +27,144 @@ namespace osgDB { /** Read an osg::Object from file. - * Return valid osg::Object on success, - * return NULL on failure. + * Return an assigned osg::ref_ptr on success, + * return an osg::ref_ptr with a NULL pointer assigned to it on failure. * Use the Options object to control cache operations and file search paths in osgDB::Registry. * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -extern OSGDB_EXPORT osg::Object* readObjectFile(const std::string& filename,const Options* options); +extern OSGDB_EXPORT osg::ref_ptr readRefObjectFile(const std::string& filename,const Options* options); /** Read an osg::Object from file. - * Return valid osg::Object on success, - * return NULL on failure. + * Return an assigned osg::ref_ptr on success, + * return an osg::ref_ptr with a NULL pointer assigned to it on failure. * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -inline osg::Object* readObjectFile(const std::string& filename) +inline osg::ref_ptr readRefObjectFile(const std::string& filename) { - return readObjectFile(filename, Registry::instance()->getOptions()); + return readRefObjectFile(filename, Registry::instance()->getOptions()); } -template -inline T* readFile(const std::string& filename, const Options* options) +template +inline osg::ref_ptr readRefFile(const std::string& filename, const Options* options) { - osg::ref_ptr object = readObjectFile(filename, options); + osg::ref_ptr object = readRefObjectFile(filename, options); osg::ref_ptr t = dynamic_cast(object.get()); - object = 0; - return t.release(); + return t; } -template -inline T* readFile(const std::string& filename) +template +inline osg::ref_ptr readRefFile(const std::string& filename) { - return readFile(filename, Registry::instance()->getOptions()); + return readRefFile(filename, Registry::instance()->getOptions()); } /** Read an osg::Image from file. - * Return valid osg::Image on success, - * return NULL on failure. + * Return an assigned osg::ref_ptr on success, + * return an osg::ref_ptr with a NULL pointer assigned to it on failure. * Use the Options object to control cache operations and file search paths in osgDB::Registry. * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -extern OSGDB_EXPORT osg::Image* readImageFile(const std::string& filename,const Options* options); +extern OSGDB_EXPORT osg::ref_ptr readRefImageFile(const std::string& filename,const Options* options); /** Read an osg::Image from file. - * Return valid osg::Image on success, - * return NULL on failure. + * Return an assigned osg::ref_ptr on success, + * return an osg::ref_ptr with a NULL pointer assigned to it on failure. * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -inline osg::Image* readImageFile(const std::string& filename) +inline osg::ref_ptr readRefImageFile(const std::string& filename) { - return readImageFile(filename,Registry::instance()->getOptions()); + return readRefImageFile(filename,Registry::instance()->getOptions()); } /** Read an osg::HeightField from file. - * Return valid osg::HeightField on success, - * return NULL on failure. + * Return an assigned osg::ref_ptr on success, + * return an osg::ref_ptr with a NULL pointer assigned to it on failure. * Use the Options object to control cache operations and file search paths in osgDB::Registry. * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -extern OSGDB_EXPORT osg::HeightField* readHeightFieldFile(const std::string& filename,const Options* options); +extern OSGDB_EXPORT osg::ref_ptr readRefHeightFieldFile(const std::string& filename,const Options* options); /** Read an osg::HeightField from file. - * Return valid osg::HeightField on success, - * return NULL on failure. + * Return an assigned osg::ref_ptr on success, + * return an osg::ref_ptr with a NULL pointer assigned to it on failure. * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -inline osg::HeightField* readHeightFieldFile(const std::string& filename) +inline osg::ref_ptr readRefHeightFieldFile(const std::string& filename) { - return readHeightFieldFile(filename,Registry::instance()->getOptions()); + return readRefHeightFieldFile(filename,Registry::instance()->getOptions()); } /** Read an osg::Node from file. - * Return valid osg::Node on success, - * return NULL on failure. + * Return an assigned osg::ref_ptr on success, + * return an osg::ref_ptr with a NULL pointer assigned to it on failure. * Use the Options object to control cache operations and file search paths in osgDB::Registry. * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -extern OSGDB_EXPORT osg::Node* readNodeFile(const std::string& filename,const Options* options); +extern OSGDB_EXPORT osg::ref_ptr readRefNodeFile(const std::string& filename,const Options* options); /** Read an osg::Node from file. - * Return valid osg::Node on success, - * return NULL on failure. + * Return an assigned osg::ref_ptr on success, + * return an osg::ref_ptr with a NULL pointer assigned to it on failure. * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -inline osg::Node* readNodeFile(const std::string& filename) +inline osg::ref_ptr readRefNodeFile(const std::string& filename) { - return readNodeFile(filename,Registry::instance()->getOptions()); + return readRefNodeFile(filename,Registry::instance()->getOptions()); } - /** Read an osg::Node subgraph from files, creating a osg::Group to contain the nodes if more * than one subgraph has been loaded. * Use the Options object to control cache operations and file search paths in osgDB::Registry. * Does NOT ignore strings beginning with a dash '-' character. */ -extern OSGDB_EXPORT osg::Node* readNodeFiles(std::vector& fileList,const Options* options); +extern OSGDB_EXPORT osg::ref_ptr readRefNodeFiles(std::vector& fileList,const Options* options); /** Read an osg::Node subgraph from files, creating a osg::Group to contain the nodes if more * than one subgraph has been loaded.*/ -inline osg::Node* readNodeFiles(std::vector& fileList) +inline osg::ref_ptr readRefNodeFiles(std::vector& fileList) { - return readNodeFiles(fileList,Registry::instance()->getOptions()); + return readRefNodeFiles(fileList, Registry::instance()->getOptions()); } /** Read an osg::Node subgraph from files, creating a osg::Group to contain the nodes if more * than one subgraph has been loaded. * Use the Options object to control cache operations and file search paths in osgDB::Registry.*/ -extern OSGDB_EXPORT osg::Node* readNodeFiles(osg::ArgumentParser& parser,const Options* options); +extern OSGDB_EXPORT osg::ref_ptr readRefNodeFiles(osg::ArgumentParser& parser,const Options* options); /** Read an osg::Node subgraph from files, creating a osg::Group to contain the nodes if more * than one subgraph has been loaded.*/ -inline osg::Node* readNodeFiles(osg::ArgumentParser& parser) +inline osg::ref_ptr readRefNodeFiles(osg::ArgumentParser& parser) { - return readNodeFiles(parser,Registry::instance()->getOptions()); + return readRefNodeFiles(parser,Registry::instance()->getOptions()); } /** Read an osg::Shader from file. - * Return valid osg::Shader on success, - * return NULL on failure. + * Return an assigned osg::ref_ptr on success, + * return an osg::ref_ptr with a NULL pointer assigned to it on failure. * Use the Options object to control cache operations and file search paths in osgDB::Registry. * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -extern OSGDB_EXPORT osg::Shader* readShaderFile(const std::string& filename,const Options* options); +extern OSGDB_EXPORT osg::ref_ptr readRefShaderFile(const std::string& filename,const Options* options); /** Read an osg::Shader from file. - * Return valid osg::Shader on success, - * return NULL on failure. + * Return an assigned osg::ref_ptr on success, + * return an osg::ref_ptr with a NULL pointer assigned to it on failure. * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -inline osg::Shader* readShaderFile(const std::string& filename) +inline osg::ref_ptr readRefShaderFile(const std::string& filename) { - return readShaderFile(filename,Registry::instance()->getOptions()); + return readRefShaderFile(filename, Registry::instance()->getOptions()); } /** Read an osg::Shader from file and set to specified shader type. @@ -176,10 +174,10 @@ inline osg::Shader* readShaderFile(const std::string& filename) * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -inline osg::Shader* readShaderFile(osg::Shader::Type type, const std::string& filename,const Options* options) +inline osg::ref_ptr readRefShaderFile(osg::Shader::Type type, const std::string& filename, const Options* options) { - osg::Shader* shader = readShaderFile(filename, options); - if (shader && type != osg::Shader::UNDEFINED) shader->setType(type); + osg::ref_ptr shader = readRefShaderFile(filename, options); + if (shader.valid() && type != osg::Shader::UNDEFINED) shader->setType(type); return shader; } @@ -189,21 +187,20 @@ inline osg::Shader* readShaderFile(osg::Shader::Type type, const std::string& fi * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -inline osg::Shader* readShaderFile(osg::Shader::Type type, const std::string& filename) +inline osg::ref_ptr readRefShaderFile(osg::Shader::Type type, const std::string& filename) { - return readShaderFile(type, filename,Registry::instance()->getOptions()); + return readRefShaderFile(type, filename, Registry::instance()->getOptions()); } - /** Read an osg::Shader from file and set to specified shader type, if a shader isn't loaded fallback to specific shader source. * Use the Options object to control cache operations and file search paths in osgDB::Registry. * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -inline osg::Shader* readShaderFileWithFallback(osg::Shader::Type type, const std::string& filename, const Options* options, const char* fallback) +inline osg::ref_ptr readRefShaderFileWithFallback(osg::Shader::Type type, const std::string& filename, const Options* options, const char* fallback) { - osg::Shader* shader = readShaderFile(filename, options); - if (shader && type != osg::Shader::UNDEFINED) shader->setType(type); + osg::ref_ptr shader = readRefShaderFile(filename, options); + if (shader.valid() && type != osg::Shader::UNDEFINED) shader->setType(type); if (!shader) shader = new osg::Shader(type, fallback); return shader; } @@ -212,131 +209,173 @@ inline osg::Shader* readShaderFileWithFallback(osg::Shader::Type type, const std * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -inline osg::Shader* readShaderFileWithFallback(osg::Shader::Type type, const std::string& filename, const char* fallback) +inline osg::ref_ptr readRefShaderFileWithFallback(osg::Shader::Type type, const std::string& filename, const char* fallback) { - return osgDB::readShaderFileWithFallback(type, filename, Registry::instance()->getOptions(), fallback); + return osgDB::readRefShaderFileWithFallback(type, filename, Registry::instance()->getOptions(), fallback); } /** Read an osg::Script from file. - * Return valid osg::Script on success, - * return NULL on failure. + * Return an assigned osg::ref_ptr on success, + * return an osg::ref_ptr with a NULL pointer assigned to it on failure. * Use the Options object to control cache operations and file search paths in osgDB::Registry. * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -extern OSGDB_EXPORT osg::Script* readScriptFile(const std::string& filename,const Options* options); +extern OSGDB_EXPORT osg::ref_ptr readRefScriptFile(const std::string& filename,const Options* options); /** Read an osg::Script from file. - * Return valid osg::Script on success, - * return NULL on failure. + * Return an assigned osg::ref_ptr on success, + * return an osg::ref_ptr with a NULL pointer assigned to it on failure. * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -inline osg::Script* readScriptFile(const std::string& filename) +inline osg::ref_ptr readRefScriptFile(const std::string& filename) { - return readScriptFile(filename,Registry::instance()->getOptions()); + return readRefScriptFile(filename,Registry::instance()->getOptions()); } - - +#ifdef OSG_PROVIDE_READFILE /** Read an osg::Object from file. - * Return an assigned osg::ref_ptr on success, - * return an osg::ref_ptr with a NULL pointer assigned to it on failure. + * Return valid osg::Object on success, + * return NULL on failure. * Use the Options object to control cache operations and file search paths in osgDB::Registry. * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -extern OSGDB_EXPORT osg::ref_ptr readRefObjectFile(const std::string& filename,const Options* options); +extern OSGDB_EXPORT osg::Object* readObjectFile(const std::string& filename,const Options* options); /** Read an osg::Object from file. - * Return an assigned osg::ref_ptr on success, - * return an osg::ref_ptr with a NULL pointer assigned to it on failure. + * Return valid osg::Object on success, + * return NULL on failure. * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -inline osg::ref_ptr readRefObjectFile(const std::string& filename) +inline osg::Object* readObjectFile(const std::string& filename) { - return readRefObjectFile(filename,Registry::instance()->getOptions()); + return readObjectFile(filename, Registry::instance()->getOptions()); } +template +inline T* readFile(const std::string& filename, const Options* options) +{ + osg::ref_ptr object = readRefObjectFile(filename, options); + osg::ref_ptr t = dynamic_cast(object.get()); + object = 0; + return t.release(); +} + +template +inline T* readFile(const std::string& filename) +{ + return readFile(filename, Registry::instance()->getOptions()); +} + + /** Read an osg::Image from file. - * Return an assigned osg::ref_ptr on success, - * return an osg::ref_ptr with a NULL pointer assigned to it on failure. + * Return valid osg::Image on success, + * return NULL on failure. * Use the Options object to control cache operations and file search paths in osgDB::Registry. * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -extern OSGDB_EXPORT osg::ref_ptr readRefImageFile(const std::string& filename,const Options* options); +extern OSGDB_EXPORT osg::Image* readImageFile(const std::string& filename,const Options* options); /** Read an osg::Image from file. - * Return an assigned osg::ref_ptr on success, - * return an osg::ref_ptr with a NULL pointer assigned to it on failure. + * Return valid osg::Image on success, + * return NULL on failure. * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -inline osg::ref_ptr readRefImageFile(const std::string& filename) +inline osg::Image* readImageFile(const std::string& filename) { - return readRefImageFile(filename,Registry::instance()->getOptions()); + return readImageFile(filename,Registry::instance()->getOptions()); } /** Read an osg::HeightField from file. - * Return an assigned osg::ref_ptr on success, - * return an osg::ref_ptr with a NULL pointer assigned to it on failure. + * Return valid osg::HeightField on success, + * return NULL on failure. * Use the Options object to control cache operations and file search paths in osgDB::Registry. * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -extern OSGDB_EXPORT osg::ref_ptr readRefHeightFieldFile(const std::string& filename,const Options* options); +extern OSGDB_EXPORT osg::HeightField* readHeightFieldFile(const std::string& filename,const Options* options); /** Read an osg::HeightField from file. - * Return an assigned osg::ref_ptr on success, - * return an osg::ref_ptr with a NULL pointer assigned to it on failure. + * Return valid osg::HeightField on success, + * return NULL on failure. * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -inline osg::ref_ptr readRefHeightFieldFile(const std::string& filename) +inline osg::HeightField* readHeightFieldFile(const std::string& filename) { - return readRefHeightFieldFile(filename,Registry::instance()->getOptions()); + return readHeightFieldFile(filename,Registry::instance()->getOptions()); } /** Read an osg::Node from file. - * Return an assigned osg::ref_ptr on success, - * return an osg::ref_ptr with a NULL pointer assigned to it on failure. + * Return valid osg::Node on success, + * return NULL on failure. * Use the Options object to control cache operations and file search paths in osgDB::Registry. * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -extern OSGDB_EXPORT osg::ref_ptr readRefNodeFile(const std::string& filename,const Options* options); +extern OSGDB_EXPORT osg::Node* readNodeFile(const std::string& filename,const Options* options); /** Read an osg::Node from file. - * Return an assigned osg::ref_ptr on success, - * return an osg::ref_ptr with a NULL pointer assigned to it on failure. + * Return valid osg::Node on success, + * return NULL on failure. * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -inline osg::ref_ptr readRefNodeFile(const std::string& filename) +inline osg::Node* readNodeFile(const std::string& filename) { - return readRefNodeFile(filename,Registry::instance()->getOptions()); + return readNodeFile(filename,Registry::instance()->getOptions()); +} + + +/** Read an osg::Node subgraph from files, creating a osg::Group to contain the nodes if more + * than one subgraph has been loaded. + * Use the Options object to control cache operations and file search paths in osgDB::Registry. + * Does NOT ignore strings beginning with a dash '-' character. */ +extern OSGDB_EXPORT osg::Node* readNodeFiles(std::vector& fileList,const Options* options); + +/** Read an osg::Node subgraph from files, creating a osg::Group to contain the nodes if more + * than one subgraph has been loaded.*/ +inline osg::Node* readNodeFiles(std::vector& fileList) +{ + return readNodeFiles(fileList,Registry::instance()->getOptions()); +} + + +/** Read an osg::Node subgraph from files, creating a osg::Group to contain the nodes if more + * than one subgraph has been loaded. + * Use the Options object to control cache operations and file search paths in osgDB::Registry.*/ +extern OSGDB_EXPORT osg::Node* readNodeFiles(osg::ArgumentParser& parser,const Options* options); + +/** Read an osg::Node subgraph from files, creating a osg::Group to contain the nodes if more + * than one subgraph has been loaded.*/ +inline osg::Node* readNodeFiles(osg::ArgumentParser& parser) +{ + return readNodeFiles(parser,Registry::instance()->getOptions()); } /** Read an osg::Shader from file. - * Return an assigned osg::ref_ptr on success, - * return an osg::ref_ptr with a NULL pointer assigned to it on failure. + * Return valid osg::Shader on success, + * return NULL on failure. * Use the Options object to control cache operations and file search paths in osgDB::Registry. * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -extern OSGDB_EXPORT osg::ref_ptr readRefShaderFile(const std::string& filename,const Options* options); +extern OSGDB_EXPORT osg::Shader* readShaderFile(const std::string& filename,const Options* options); /** Read an osg::Shader from file. - * Return an assigned osg::ref_ptr on success, - * return an osg::ref_ptr with a NULL pointer assigned to it on failure. + * Return valid osg::Shader on success, + * return NULL on failure. * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -inline osg::ref_ptr readRefShaderFile(const std::string& filename) +inline osg::Shader* readShaderFile(const std::string& filename) { - return readRefShaderFile(filename, Registry::instance()->getOptions()); + return readShaderFile(filename,Registry::instance()->getOptions()); } /** Read an osg::Shader from file and set to specified shader type. @@ -346,10 +385,10 @@ inline osg::ref_ptr readRefShaderFile(const std::string& filename) * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -inline osg::ref_ptr readRefShaderFile(osg::Shader::Type type, const std::string& filename, const Options* options) +inline osg::Shader* readShaderFile(osg::Shader::Type type, const std::string& filename,const Options* options) { - osg::ref_ptr shader = readShaderFile(filename, options); - if (shader.valid() && type != osg::Shader::UNDEFINED) shader->setType(type); + osg::Shader* shader = readShaderFile(filename, options); + if (shader && type != osg::Shader::UNDEFINED) shader->setType(type); return shader; } @@ -359,31 +398,55 @@ inline osg::ref_ptr readRefShaderFile(osg::Shader::Type type, const * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -inline osg::ref_ptr readRefShaderFile(osg::Shader::Type type, const std::string& filename) +inline osg::Shader* readShaderFile(osg::Shader::Type type, const std::string& filename) { - return readRefShaderFile(type, filename, Registry::instance()->getOptions()); + return readShaderFile(type, filename,Registry::instance()->getOptions()); +} + + +/** Read an osg::Shader from file and set to specified shader type, if a shader isn't loaded fallback to specific shader source. + * Use the Options object to control cache operations and file search paths in osgDB::Registry. + * The osgDB::Registry is used to load the appropriate ReaderWriter plugin + * for the filename extension, and this plugin then handles the request + * to read the specified file.*/ +inline osg::Shader* readShaderFileWithFallback(osg::Shader::Type type, const std::string& filename, const Options* options, const char* fallback) +{ + osg::Shader* shader = readShaderFile(filename, options); + if (shader && type != osg::Shader::UNDEFINED) shader->setType(type); + if (!shader) shader = new osg::Shader(type, fallback); + return shader; } +/** Read an osg::Shader from file and set to specified shader type, if a shader isn't loaded fallback to specific shader source. + * The osgDB::Registry is used to load the appropriate ReaderWriter plugin + * for the filename extension, and this plugin then handles the request + * to read the specified file.*/ +inline osg::Shader* readShaderFileWithFallback(osg::Shader::Type type, const std::string& filename, const char* fallback) +{ + return osgDB::readShaderFileWithFallback(type, filename, Registry::instance()->getOptions(), fallback); +} /** Read an osg::Script from file. - * Return an assigned osg::ref_ptr on success, - * return an osg::ref_ptr with a NULL pointer assigned to it on failure. + * Return valid osg::Script on success, + * return NULL on failure. * Use the Options object to control cache operations and file search paths in osgDB::Registry. * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -extern OSGDB_EXPORT osg::ref_ptr readRefScriptFile(const std::string& filename,const Options* options); +extern OSGDB_EXPORT osg::Script* readScriptFile(const std::string& filename,const Options* options); /** Read an osg::Script from file. - * Return an assigned osg::ref_ptr on success, - * return an osg::ref_ptr with a NULL pointer assigned to it on failure. + * Return valid osg::Script on success, + * return NULL on failure. * The osgDB::Registry is used to load the appropriate ReaderWriter plugin * for the filename extension, and this plugin then handles the request * to read the specified file.*/ -inline osg::ref_ptr readRefScriptFile(const std::string& filename) +inline osg::Script* readScriptFile(const std::string& filename) { - return readRefScriptFile(filename,Registry::instance()->getOptions()); + return readScriptFile(filename,Registry::instance()->getOptions()); } +#endif + } diff --git a/include/osgDB/ReaderWriter b/include/osgDB/ReaderWriter index 9bd3beea832..ff2c9672305 100644 --- a/include/osgDB/ReaderWriter +++ b/include/osgDB/ReaderWriter @@ -63,6 +63,9 @@ class OSGDB_EXPORT ReaderWriter : public osg::Object /** Return which list of file extensions supported by ReaderWriter. */ virtual const FormatDescriptionMap& supportedOptions() const { return _supportedOptions; } + /** Return which list of file environment variables supported by ReaderWriter. */ + virtual const FormatDescriptionMap& supportedEnvironment() const { return _supportedEnvironment; } + /** Return true if ReaderWriter accepts specified file extension.*/ virtual bool acceptsExtension(const std::string& /*extension*/) const; @@ -123,8 +126,12 @@ class OSGDB_EXPORT ReaderWriter : public osg::Object ReadResult(ReadStatus status=FILE_NOT_HANDLED):_status(status) {} ReadResult(const std::string& m):_status(ERROR_IN_READING_FILE),_message(m) {} + ReadResult(osg::Object* obj, ReadStatus status=FILE_LOADED):_status(status),_object(obj) {} + template + ReadResult(const osg::ref_ptr& obj, ReadStatus status=FILE_LOADED):_status(status),_object(obj.get()) {} + ReadResult(const ReadResult& rr):_status(rr._status),_message(rr._message),_object(rr._object) {} ReadResult& operator = (const ReadResult& rr) { if (this==&rr) return *this; _status=rr._status; _message=rr._message;_object=rr._object; return *this; } @@ -272,11 +279,15 @@ class OSGDB_EXPORT ReaderWriter : public osg::Object * Please note, this should usually only be used internally by subclasses of ReaderWriter. */ void supportsOption(const std::string& opt, const std::string& description); + /** Specify env string as a supported environment string. */ + void supportsEnvironment(const std::string& opt, const std::string& description); + protected: FormatDescriptionMap _supportedProtocols; FormatDescriptionMap _supportedExtensions; FormatDescriptionMap _supportedOptions; + FormatDescriptionMap _supportedEnvironment; }; } diff --git a/include/osgDB/Registry b/include/osgDB/Registry index 6851ccc555c..62d4ac884c7 100644 --- a/include/osgDB/Registry +++ b/include/osgDB/Registry @@ -452,16 +452,16 @@ class OSGDB_EXPORT Registry : public osg::Referenced void clearObjectCache(); /** Add a filename,object,timestamp triple to the Registry::ObjectCache.*/ - void addEntryToObjectCache(const std::string& filename, osg::Object* object, double timestamp = 0.0); + void addEntryToObjectCache(const std::string& filename, osg::Object* object, double timestamp = 0.0, Options *options = NULL); /** Remove Object from cache.*/ - void removeFromObjectCache(const std::string& fileName); + void removeFromObjectCache(const std::string& fileName, Options *options = NULL); /** Get an Object from the object cache*/ - osg::Object* getFromObjectCache(const std::string& fileName); + osg::Object* getFromObjectCache(const std::string& fileName, Options *options = NULL); /** Get an ref_ptr from the object cache*/ - osg::ref_ptr getRefFromObjectCache(const std::string& fileName); + osg::ref_ptr getRefFromObjectCache(const std::string& fileName, Options *options = NULL); diff --git a/include/osgDB/Serializer b/include/osgDB/Serializer index 74fb9922b51..8ff21e443f8 100644 --- a/include/osgDB/Serializer +++ b/include/osgDB/Serializer @@ -947,6 +947,7 @@ public: if ( is.isBinary() ) { is >> size; + list.reserve(size); for ( unsigned int i=0; i> size; + list.reserve(size); if ( size>0 ) is >> is.BEGIN_BRACKET; for ( unsigned int i=0; i> size; + list.reserve(size); for ( unsigned int i=0; i> size; + list.reserve(size); if ( size>0 ) is >> is.BEGIN_BRACKET; for ( unsigned int i=0; i > Constraints; void addConstraint(Constraint* constraint); + template void addConstraint(const osg::ref_ptr& c) { addConstraint(c.get()); } + void removeConstraint(Constraint* constraint); + template void removeConstraint(const osg::ref_ptr& c) { removeConstraint(c.get()); } Constraints& getConstraints() { return _constraints; } const Constraints& getConstraints() const { return _constraints; } @@ -245,7 +249,10 @@ class OSGMANIPULATOR_EXPORT Dragger : public osg::MatrixTransform typedef std::vector< osg::ref_ptr > DraggerCallbacks; void addDraggerCallback(DraggerCallback* dc); + template void addDraggerCallback(const osg::ref_ptr& dc) { addDraggerCallback(dc.get()); } + void removeDraggerCallback(DraggerCallback* dc); + template void removeDraggerCallback(const osg::ref_ptr& dc) { removeDraggerCallback(dc.get()); } DraggerCallbacks& getDraggerCallbacks() { return _draggerCallbacks; } const DraggerCallbacks& getDraggerCallbacks() const { return _draggerCallbacks; } @@ -269,7 +276,13 @@ class OSGMANIPULATOR_EXPORT Dragger : public osg::MatrixTransform virtual void setIntersectionMask(osg::Node::NodeMask intersectionMask) { _intersectionMask = intersectionMask; } osg::Node::NodeMask getIntersectionMask() const { return _intersectionMask; } - protected: + /** Return true if the axis of the Locator are inverted requiring the faces of any cubes used from rendering to be flipped to ensure the correct front/back face is used.*/ + bool inverted() const; + + /** apply the appropriate FrontFace setting to provided StateSet to ensure that the rendering of hull of the volume is the correct orientation.*/ + void applyAppropriateFrontFace(osg::StateSet* ss) const; + +protected: Dragger(); Dragger(const Dragger& rhs, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY); @@ -320,11 +333,19 @@ class OSGMANIPULATOR_EXPORT CompositeDragger : public Dragger // Composite-specific methods below virtual bool addDragger(Dragger* dragger); + template bool addDragger(const osg::ref_ptr& dc) { return addDragger(dc.get()); } + virtual bool removeDragger(Dragger* dragger); + template bool removeDragger(const osg::ref_ptr& dc) { return removeDragger(dc.get()); } + unsigned int getNumDraggers() const { return _draggerList.size(); } + Dragger* getDragger(unsigned int i) { return _draggerList[i].get(); } const Dragger* getDragger(unsigned int i) const { return _draggerList[i].get(); } + bool containsDragger(const Dragger* dragger) const; + template bool containsDragger(const osg::ref_ptr& dc) const { return containsDragger(dc.get()); } + DraggerList::iterator findDragger(const Dragger* dragger); virtual void setIntersectionMask(osg::Node::NodeMask intersectionMask); diff --git a/include/osgParticle/Particle b/include/osgParticle/Particle index ea34ee856ea..7f0758275d3 100644 --- a/include/osgParticle/Particle +++ b/include/osgParticle/Particle @@ -179,12 +179,15 @@ namespace osgParticle /// Set the interpolator for computing size values. inline void setSizeInterpolator(Interpolator* ri); + template void setSizeInterpolator(const osg::ref_ptr& ri) { setSizeInterpolator(ri.get()); } /// Set the interpolator for computing alpha values. inline void setAlphaInterpolator(Interpolator* ai); + template void setAlphaInterpolator(const osg::ref_ptr& ri) { setAlphaInterpolator(ri.get()); } /// Set the interpolator for computing color values. inline void setColorInterpolator(Interpolator* ci); + template void setColorInterpolator(const osg::ref_ptr& ri) { setColorInterpolator(ri.get()); } /** Set the physical radius of the particle. For built-in operators to work correctly, lengths must be expressed in meters. diff --git a/include/osgParticle/ParticleEffect b/include/osgParticle/ParticleEffect index f6df657394b..13ea70802c2 100644 --- a/include/osgParticle/ParticleEffect +++ b/include/osgParticle/ParticleEffect @@ -85,6 +85,8 @@ namespace osgParticle virtual const Program* getProgram() const = 0; void setParticleSystem(ParticleSystem* ps); + template void setParticleSystem(const osg::ref_ptr& ri) { setParticleSystem(ri.get()); } + inline ParticleSystem* getParticleSystem() { return _particleSystem.get(); } inline const ParticleSystem* getParticleSystem() const { return _particleSystem.get(); } diff --git a/include/osgShadow/ShadowedScene b/include/osgShadow/ShadowedScene index ed401a28f9b..9a36ad2cf08 100644 --- a/include/osgShadow/ShadowedScene +++ b/include/osgShadow/ShadowedScene @@ -38,10 +38,14 @@ class OSGSHADOW_EXPORT ShadowedScene : public osg::Group virtual void traverse(osg::NodeVisitor& nv); void setShadowSettings(ShadowSettings* ss); + template void setShadowSettings(const osg::ref_ptr& ss) { setShadowSettings(ss.get()); } + ShadowSettings* getShadowSettings() { return _shadowSettings.get(); } const ShadowSettings* getShadowSettings() const { return _shadowSettings.get(); } void setShadowTechnique(ShadowTechnique* technique); + template void setShadowTechnique(const osg::ref_ptr& ss) { setShadowTechnique(ss.get()); } + ShadowTechnique* getShadowTechnique() { return _shadowTechnique.get(); } const ShadowTechnique* getShadowTechnique() const { return _shadowTechnique.get(); } diff --git a/include/osgSim/OverlayNode b/include/osgSim/OverlayNode index ff13fe3b837..c59e6b7e2ac 100644 --- a/include/osgSim/OverlayNode +++ b/include/osgSim/OverlayNode @@ -57,6 +57,8 @@ class OSGSIM_EXPORT OverlayNode : public osg::Group /** Set the overlay subgraph which will be rendered to texture.*/ void setOverlaySubgraph(osg::Node* node); + template void setOverlaySubgraph(const osg::ref_ptr& node) { setOverlaySubgraph(node.get()); } + /** Get the overlay subgraph which will be rendered to texture.*/ osg::Node* getOverlaySubgraph() { return _overlaySubgraph.get(); } diff --git a/include/osgTerrain/Layer b/include/osgTerrain/Layer index 9835a69f0af..5a17e9f0012 100644 --- a/include/osgTerrain/Layer +++ b/include/osgTerrain/Layer @@ -60,6 +60,9 @@ class OSGTERRAIN_EXPORT Layer : public osg::Object std::string getCompoundName() const { return createCompoundSetNameAndFileName(getName(), getFileName()); } void setLocator(Locator* locator) { _locator = locator; } + + template void setLocator(const osg::ref_ptr& locator) { setLocator(locator.get()); } + Locator* getLocator() { return _locator.get(); } const Locator* getLocator() const { return _locator.get(); } @@ -314,6 +317,8 @@ class OSGTERRAIN_EXPORT ImageLayer : public Layer void setImage(osg::Image* image); + template void setImage(const osg::ref_ptr& image) { return setImage(image.get()); } + /** Return image associated with layer. */ virtual osg::Image* getImage() { return _image.get(); } @@ -354,6 +359,9 @@ class OSGTERRAIN_EXPORT ContourLayer : public Layer virtual bool transform(float offset, float scale); void setTransferFunction(osg::TransferFunction1D* tf); + + template void setTransferFunction(const osg::ref_ptr& tf) { return setTransferFunction(tf.get()); } + osg::TransferFunction1D* getTransferFunction() { return _tf.get(); } const osg::TransferFunction1D* getTransferFunction() const { return _tf.get(); } @@ -401,6 +409,9 @@ class OSGTERRAIN_EXPORT HeightFieldLayer : public Layer virtual bool transform(float offset, float scale); void setHeightField(osg::HeightField* hf); + + template void setHeightField(const osg::ref_ptr& hf) { return setHeightField(hf.get()); } + osg::HeightField* getHeightField() { return _heightField.get(); } const osg::HeightField* getHeightField() const { return _heightField.get(); } @@ -516,14 +527,21 @@ class OSGTERRAIN_EXPORT CompositeLayer : public Layer void setLayer(unsigned int i, Layer* layer) { if (i>=_layers.size()) _layers.resize(i+1); _layers[i].layer = layer; } + + template void setLayer(unsigned int i, const osg::ref_ptr& layer) { setLayer(i, layer.get()); } + Layer* getLayer(unsigned int i) { return i<_layers.size() ? _layers[i].layer.get() : 0; } + const Layer* getLayer(unsigned int i) const { return i<_layers.size() ? _layers[i].layer.get() : 0; } void addLayer(const std::string& compoundname); + void addLayer(const std::string& setname, const std::string& filename); void addLayer(Layer* layer) { _layers.push_back(CompoundNameLayer(layer->getName(),layer->getFileName(),layer)); } + template void addLayer(const osg::ref_ptr& layer) { return addLayer(layer.get()); } + void removeLayer(unsigned int i) { _layers.erase(_layers.begin()+i); } unsigned int getNumLayers() const { return static_cast(_layers.size()); } diff --git a/include/osgTerrain/TerrainTile b/include/osgTerrain/TerrainTile index 9b2de4af7d1..c4eee38fdbb 100644 --- a/include/osgTerrain/TerrainTile +++ b/include/osgTerrain/TerrainTile @@ -102,6 +102,8 @@ class OSGTERRAIN_EXPORT TerrainTile : public osg::Group /** Set the TerrainTechnique*/ void setTerrainTechnique(TerrainTechnique* terrainTechnique); + template void setTerrainTechnique(const osg::ref_ptr& terrainTechnique) { setTerrainTechnique(terrainTechnique.get()); } + /** Get the TerrainTechnique*/ TerrainTechnique* getTerrainTechnique() { return _terrainTechnique.get(); } @@ -113,6 +115,8 @@ class OSGTERRAIN_EXPORT TerrainTile : public osg::Group * The locator takes non-dimensional s,t coordinates into the X,Y,Z world coords and back.*/ void setLocator(Locator* locator) { _locator = locator; } + template void setLocator(const osg::ref_ptr& locator) { setLocator(locator.get()); } + /** Get the coordinate frame locator of the terrain node.*/ Locator* getLocator() { return _locator.get(); } @@ -122,6 +126,8 @@ class OSGTERRAIN_EXPORT TerrainTile : public osg::Group /** Set the layer to use to define the elevations of the terrain.*/ void setElevationLayer(Layer* layer); + template void setElevationLayer(const osg::ref_ptr& layer) { setElevationLayer(layer.get()); } + /** Get the layer to use to define the elevations of the terrain.*/ Layer* getElevationLayer() { return _elevationLayer.get(); } @@ -132,6 +138,8 @@ class OSGTERRAIN_EXPORT TerrainTile : public osg::Group /** Set a color layer with specified layer number.*/ void setColorLayer(unsigned int i, Layer* layer); + template void setColorLayer(unsigned int i, const osg::ref_ptr& layer) { setColorLayer(i, layer.get()); } + /** Get color layer with specified layer number.*/ Layer* getColorLayer(unsigned int i) { return i<_colorLayers.size() ? _colorLayers[i].get() : 0; } @@ -139,7 +147,7 @@ class OSGTERRAIN_EXPORT TerrainTile : public osg::Group const Layer* getColorLayer(unsigned int i) const { return i<_colorLayers.size() ? _colorLayers[i].get() : 0; } /** Get the number of colour layers.*/ - unsigned int getNumColorLayers() const { return static_cast(_colorLayers.size()); } + unsigned int getNumColorLayers() const { return _colorLayers.size(); } /** Set hint to whether the TerrainTechnique should create per vertex normals for lighting purposes.*/ diff --git a/include/osgText/Font b/include/osgText/Font index 6ca770749f7..b14e723c836 100644 --- a/include/osgText/Font +++ b/include/osgText/Font @@ -28,6 +28,7 @@ namespace osgText { // forward declare Font class Font; +#ifdef OSG_PROVIDE_READFILE /** Read a font from specified file. The filename may contain a path. * It will search for the font file in the following places in this order: * - In the current directory @@ -51,6 +52,7 @@ extern OSGTEXT_EXPORT Font* readFontFile(const std::string& filename, const osgD /** read a font from specified stream.*/ extern OSGTEXT_EXPORT Font* readFontStream(std::istream& stream, const osgDB::Options* userOptions = 0); +#endif extern OSGTEXT_EXPORT osg::ref_ptr readRefFontFile(const std::string& filename, const osgDB::Options* userOptions = 0); diff --git a/include/osgText/Font3D b/include/osgText/Font3D index 8d9d05a9d3a..c3d550cba35 100644 --- a/include/osgText/Font3D +++ b/include/osgText/Font3D @@ -20,6 +20,7 @@ namespace osgText { typedef Font Font3D; +#ifdef OSG_PROVIDE_READFILE /** deprecated, use readFontFile() instead.*/ inline Font* readFont3DFile(const std::string& filename, const osgDB::ReaderWriter::Options* userOptions = 0) { @@ -31,6 +32,7 @@ inline Font* readFont3DStream(std::istream& stream, const osgDB::ReaderWriter::O { return readFontStream(stream, userOptions); } +#endif /** deprecated, use readRefFontFile() instead.*/ inline osg::ref_ptr readRefFont3DFile(const std::string& filename, const osgDB::ReaderWriter::Options* userOptions = 0) diff --git a/include/osgText/Text b/include/osgText/Text index df041455274..3c7b5a58ad1 100644 --- a/include/osgText/Text +++ b/include/osgText/Text @@ -313,15 +313,17 @@ public: osg::buffered_object _transformedBackdropCoords[8]; ColorCoords _colorCoords; - osg::ref_ptr _quadIndices; + osg::ref_ptr _quadIndices; void updateQuadIndices(); GlyphQuads(); + GlyphQuads(const GlyphQuads& gq); + void initGlyphQuads(); void initGPUBufferObjects(); - Glyphs getGlyphs() { return _glyphs; } - const Glyphs getGlyphs() const { return _glyphs; } + Glyphs& getGlyphs() { return _glyphs; } + const Glyphs& getGlyphs() const { return _glyphs; } Coords2& getCoords() { return _coords; } const Coords2& getCoords() const { return _coords; } @@ -334,6 +336,18 @@ public: LineNumbers& getLineNumbers() { return _lineNumbers; } const LineNumbers& getLineNumbers() const { return _lineNumbers; } + + /** Resize any per context GLObject buffers to specified size. */ + void resizeGLObjectBuffers(unsigned int maxSize); + + /** If State is non-zero, this function releases OpenGL objects for + * the specified graphics context. Otherwise, releases OpenGL objexts + * for all graphics contexts. */ + void releaseGLObjects(osg::State* state=0) const; + + private: + + GlyphQuads& operator = (const GlyphQuads&) { return *this; } }; typedef std::map,GlyphQuads> TextureGlyphQuadMap; diff --git a/include/osgUtil/Optimizer b/include/osgUtil/Optimizer index 7fbf20a1965..a6ce889ce7e 100644 --- a/include/osgUtil/Optimizer +++ b/include/osgUtil/Optimizer @@ -122,10 +122,14 @@ class OSGUTIL_EXPORT Optimizer * visitors, specified by the OptimizationOptions.*/ void optimize(osg::Node* node); + template void optimize(const osg::ref_ptr& node) { optimize(node.get()); } + /** Traverse the node and its subgraph with a series of optimization * visitors, specified by the OptimizationOptions.*/ virtual void optimize(osg::Node* node, unsigned int options); + template void optimize(const osg::ref_ptr& node, unsigned int options) { optimize(node.get(), options); } + /** Callback for customizing what operations are permitted on objects in the scene graph.*/ struct IsOperationPermissibleForObjectCallback : public osg::Referenced diff --git a/include/osgUtil/UpdateVisitor b/include/osgUtil/UpdateVisitor index ed4a627033b..ac8b3ef137c 100644 --- a/include/osgUtil/UpdateVisitor +++ b/include/osgUtil/UpdateVisitor @@ -55,12 +55,11 @@ class OSGUTIL_EXPORT UpdateVisitor : public osg::NodeVisitor { osg::Drawable::UpdateCallback* drawable_callback = dynamic_cast(callback); osg::NodeCallback* node_callback = dynamic_cast(callback); - osg::CallbackObject* callback_object = dynamic_cast(callback); if (drawable_callback) drawable_callback->update(this,&drawable); if (node_callback) (*node_callback)(&drawable, this); - if ((!drawable_callback && !node_callback) || callback_object) callback_object->run(&drawable, this); + if (!drawable_callback && !node_callback) callback->run(&drawable, this); } handle_callbacks(drawable.getStateSet()); diff --git a/include/osgViewer/View b/include/osgViewer/View index 8d17aff38bb..07ef9ce8899 100644 --- a/include/osgViewer/View +++ b/include/osgViewer/View @@ -103,6 +103,8 @@ class OSGVIEWER_EXPORT View : public osg::View, public osgGA::GUIActionAdapter /** Set the scene graph that the View will use.*/ virtual void setSceneData(osg::Node* node); + template void setSceneData(const osg::ref_ptr& node) { setSceneData(node.get()); } + /** Get the View's scene graph.*/ osg::Node* getSceneData() { return _scene.valid() ? _scene->getSceneData() : 0; } @@ -113,6 +115,8 @@ class OSGVIEWER_EXPORT View : public osg::View, public osgGA::GUIActionAdapter /** Set the View's database pager.*/ void setDatabasePager(osgDB::DatabasePager* dp); + template void setDatabasePager(const osg::ref_ptr& dp) { setDatabasePager(dp.get()); } + /** Get the View's database pager.*/ osgDB::DatabasePager* getDatabasePager(); @@ -123,6 +127,8 @@ class OSGVIEWER_EXPORT View : public osg::View, public osgGA::GUIActionAdapter /** Set the View's image pager.*/ void setImagePager(osgDB::ImagePager* ip); + template void setImagePager(const osg::ref_ptr& ip) { setImagePager(ip.get()); } + /** Get the View's image pager.*/ osgDB::ImagePager* getImagePager(); @@ -134,9 +140,13 @@ class OSGVIEWER_EXPORT View : public osg::View, public osgGA::GUIActionAdapter * The Device is polled on each new frame via it's Device::checkEvents() method and any events generated then collected via Device::getEventQueue()*/ void addDevice(osgGA::Device* eventSource); + template void addDevice(const osg::ref_ptr& eventSource) { addDevice(eventSource.get()); } + /** Remove a Device. /*/ void removeDevice(osgGA::Device* eventSource); + template void removeDevice(const osg::ref_ptr& eventSource) { removeDevice(eventSource.get()); } + typedef std::vector< osg::ref_ptr > Devices; Devices& getDevices() { return _eventSources; } @@ -146,6 +156,8 @@ class OSGVIEWER_EXPORT View : public osg::View, public osgGA::GUIActionAdapter /* Set the EventQueue that the View uses to integrate external non window related events.*/ void setEventQueue(osgGA::EventQueue* eventQueue) { _eventQueue = eventQueue; } + template void setEventQueue(const osg::ref_ptr& eventQueue) { setEventQueue(eventQueue.get()); } + /* Get the View's EventQueue.*/ osgGA::EventQueue* getEventQueue() { return _eventQueue.get(); } @@ -156,6 +168,8 @@ class OSGVIEWER_EXPORT View : public osg::View, public osgGA::GUIActionAdapter * The parameter resetPosition determines whether manipulator is set to its home position.*/ void setCameraManipulator(osgGA::CameraManipulator* manipulator, bool resetPosition = true); + template void setCameraManipulator(const osg::ref_ptr& manipulator, bool resetPosition = true) { setCameraManipulator(manipulator.get(), resetPosition); } + /** Get the View's CameraManipulator.*/ osgGA::CameraManipulator* getCameraManipulator() { return _cameraManipulator.get(); } @@ -172,9 +186,13 @@ class OSGVIEWER_EXPORT View : public osg::View, public osgGA::GUIActionAdapter /** Add an EventHandler that adds handling of events to the View.*/ void addEventHandler(osgGA::EventHandler* eventHandler); + template void addEventHandler(const osg::ref_ptr& eventHandler) { addEventHandler(eventHandler.get()); } + /** Remove an EventHandler from View.*/ void removeEventHandler(osgGA::EventHandler* eventHandler); + template void removeEventHandler(const osg::ref_ptr& eventHandler) { removeEventHandler(eventHandler.get()); } + /** Get the View's list of EventHandlers.*/ EventHandlers& getEventHandlers() { return _eventHandlers; } @@ -197,6 +215,8 @@ class OSGVIEWER_EXPORT View : public osg::View, public osgGA::GUIActionAdapter /** Set the DisplaySettings object associated with this view.*/ void setDisplaySettings(osg::DisplaySettings* ds) { _displaySettings = ds; } + template void setDisplaySettings(const osg::ref_ptr& ds) { setDisplaySettings(ds.get()); } + /** Set the DisplaySettings object associated with this view.*/ osg::DisplaySettings* getDisplaySettings() { return _displaySettings.get(); } @@ -220,6 +240,8 @@ class OSGVIEWER_EXPORT View : public osg::View, public osgGA::GUIActionAdapter /** Apply a viewer configuration to set up Cameras and Windowing. */ void apply(ViewConfig* config); + template void apply(const osg::ref_ptr& config) { apply(config.get()); } + ViewConfig* getLastAppliedViewConfig() { return _lastAppliedViewConfig.get(); } const ViewConfig* getLastAppliedViewConfig() const { return _lastAppliedViewConfig.get(); } @@ -254,6 +276,7 @@ class OSGVIEWER_EXPORT View : public osg::View, public osgGA::GUIActionAdapter /** Return true if this view contains a specified camera.*/ bool containsCamera(const osg::Camera* camera) const; + template bool containsCamera(const osg::ref_ptr& camera) const { return containsCamera(camera.get()); } /** deprecated. */ const osg::Camera* getCameraContainingPosition(float x, float y, float& local_x, float& local_y) const; diff --git a/include/osgViewer/Viewer b/include/osgViewer/Viewer index 8928d35b7bf..b02d98cea5a 100644 --- a/include/osgViewer/Viewer +++ b/include/osgViewer/Viewer @@ -64,6 +64,8 @@ class OSGVIEWER_EXPORT Viewer : public ViewerBase, public osgViewer::View virtual void setStartTick(osg::Timer_t tick); void setReferenceTime(double time=0.0); + using osgViewer::View::setSceneData; + /** Set the sene graph data that viewer with view.*/ virtual void setSceneData(osg::Node* node); diff --git a/include/osgViewer/ViewerBase b/include/osgViewer/ViewerBase index f1e743c8b73..e221e958182 100644 --- a/include/osgViewer/ViewerBase +++ b/include/osgViewer/ViewerBase @@ -335,6 +335,12 @@ class OSGVIEWER_EXPORT ViewerBase : public virtual osg::Object osg::ref_ptr _incrementalCompileOperation; osg::observer_ptr _currentContext; + + private: + + // Define private copy constructor + // otherwsie VS2015 will construct it's own which will call the private copy operator from osg::Object resulting in an compile error. + ViewerBase& operator = (const ViewerBase&) { return *this; } }; } diff --git a/include/osgViewer/api/X11/PixelBufferX11 b/include/osgViewer/api/X11/PixelBufferX11 index e4555a674dd..19806c148c9 100644 --- a/include/osgViewer/api/X11/PixelBufferX11 +++ b/include/osgViewer/api/X11/PixelBufferX11 @@ -83,6 +83,19 @@ class OSGVIEWER_EXPORT PixelBufferX11 : public osg::GraphicsContext, public osgV bool _realized; bool _useGLX1_3; + bool _useSGIX; + +#ifdef GLX_SGIX_pbuffer + typedef Pbuffer ( *GLXCreateGLXPbufferSGIX_FuncPtr) (Display *dpy, GLXFBConfig config, unsigned int, unsigned height, int* attrib_list); + typedef void ( *GLXDestroyGLXPbufferSGIX_FuncPtr) (Display *dpy, Pbuffer pbuf); + typedef int ( *GLXQueryGLXPbufferSGIX_FuncCPtr) (Display *dpy, Pbuffer pbuf, int attribute, unsigned int *value); + typedef GLXFBConfig ( *GLXGetFBConfigFromVisualSGIX_FuncPtr) (Display *dpy, XVisualInfo *vis); + + GLXCreateGLXPbufferSGIX_FuncPtr _glXCreateGLXPbufferSGIX; + GLXDestroyGLXPbufferSGIX_FuncPtr _glXDestroyGLXPbufferSGIX; + GLXQueryGLXPbufferSGIX_FuncCPtr _glXQueryGLXPbufferSGIX; + GLXGetFBConfigFromVisualSGIX_FuncPtr _glXGetFBConfigFromVisualSGIX; +#endif }; } diff --git a/include/osgVolume/Layer b/include/osgVolume/Layer index c3fd08d4aab..567b7636139 100644 --- a/include/osgVolume/Layer +++ b/include/osgVolume/Layer @@ -71,6 +71,9 @@ class OSGVOLUME_EXPORT Layer : public osg::Object virtual const std::string& getFileName() const { return _filename; } void setLocator(Locator* locator) { _locator = locator; } + + template void setLocator(const osg::ref_ptr& locator) { setLocator(locator.get()); } + Locator* getLocator() { return _locator.get(); } const Locator* getLocator() const { return _locator.get(); } @@ -99,6 +102,8 @@ class OSGVOLUME_EXPORT Layer : public osg::Object /** Set the Property (or Properties via the CompositeProperty) that informs the VolumeTechnique how this layer should be rendered.*/ void setProperty(Property* property) { _property = property; } + template void setProperty(const osg::ref_ptr& p) { setProperty(p.get()); } + /** Get the Property that informs the VolumeTechnique how this layer should be rendered.*/ Property* getProperty() { return _property.get(); } @@ -108,6 +113,7 @@ class OSGVOLUME_EXPORT Layer : public osg::Object /** Add a property, automatically creating a CompositePorperty if one isn't already assigned.*/ void addProperty(Property* property); + template void addProperty(const osg::ref_ptr& p) { addProperty(p.get()); } /** Specify whether ImageLayer requires update traversal. */ virtual bool requiresUpdateTraversal() const { return false; } @@ -156,6 +162,8 @@ class OSGVOLUME_EXPORT ImageLayer : public Layer void setImage(osg::Image* image); + template void setImage(const osg::ref_ptr& image) { setImage(image.get()); } + /** Return image associated with layer. */ virtual osg::Image* getImage() { return _image.get(); } @@ -217,11 +225,17 @@ class OSGVOLUME_EXPORT CompositeLayer : public Layer const std::string& getFileName(unsigned int i) const { return _layers[i].layer.valid() ? _layers[i].layer->getFileName() : _layers[i].filename; } void setLayer(unsigned int i, Layer* layer) { if (i>=_layers.size()) _layers.resize(i+1); _layers[i].layer = layer; } + + template void setLayer(unsigned int i, const osg::ref_ptr& layer) { setLayer(i, layer.get()); } + Layer* getLayer(unsigned int i) { return i<_layers.size() ? _layers[i].layer.get() : 0; } + const Layer* getLayer(unsigned int i) const { return i<_layers.size() ? _layers[i].layer.get() : 0; } void addLayer(Layer* layer) { _layers.push_back(NameLayer(layer->getFileName(),layer)); } + template void addLayer(const osg::ref_ptr& layer) { addLayer(layer.get()); } + void removeLayer(unsigned int i) { _layers.erase(_layers.begin()+i); } unsigned int getNumLayers() const { return _layers.size(); } diff --git a/include/osgVolume/Locator b/include/osgVolume/Locator index e57135983a0..7014c98f8e2 100644 --- a/include/osgVolume/Locator +++ b/include/osgVolume/Locator @@ -67,6 +67,12 @@ class OSGVOLUME_EXPORT Locator : public osg::Object bool computeLocalBounds(osg::Vec3d& bottomLeft, osg::Vec3d& topRight) const; bool computeLocalBounds(Locator& source, osg::Vec3d& bottomLeft, osg::Vec3d& topRight) const; + /** Return true if the axis of the Locator are inverted requiring the faces of any cubes used from rendering to be flipped to ensure the correct front/back face is used.*/ + bool inverted() const; + + /** apply the appropriate FrontFace setting to provided StateSet to ensure that the rendering of hull of the volume is the correct orientation.*/ + void applyAppropriateFrontFace(osg::StateSet* ss) const; + /** Callback interface for enabling the monitoring of changes to the Locator.*/ class LocatorCallback : virtual public osg::Object @@ -83,6 +89,9 @@ class OSGVOLUME_EXPORT Locator : public osg::Object }; void addCallback(LocatorCallback* callback); + template void addCallback(const osg::ref_ptr& callback) { addCallback(callback.get()); } + + void removeCallback(LocatorCallback* callback); typedef std::vector< osg::ref_ptr > LocatorCallbacks; diff --git a/include/osgVolume/Property b/include/osgVolume/Property index c749b94a0d6..70ad136ce6f 100644 --- a/include/osgVolume/Property +++ b/include/osgVolume/Property @@ -126,12 +126,16 @@ class OSGVOLUME_EXPORT CompositeProperty : public Property void setProperty(unsigned int i, Property* property) { if (i>=_properties.size()) _properties.resize(i+1); _properties[i] = property; } + template void setProperty(unsigned int i, const osg::ref_ptr& p) { setProperty(i, p.get()); } + Property* getProperty(unsigned int i) { return i<_properties.size() ? _properties[i].get() : 0; } const Property* getProperty(unsigned int i) const { return i<_properties.size() ? _properties[i].get() : 0; } void addProperty(Property* property) { _properties.push_back(property); dirty(); } + template void addProperty(const osg::ref_ptr& p) { addProperty(p.get()); } + void removeProperty(unsigned int i) { _properties.erase(_properties.begin()+i); } unsigned int getNumProperties() const { return _properties.size(); } diff --git a/include/osgWidget/Frame b/include/osgWidget/Frame index ad8d3509cc0..01b897780bf 100644 --- a/include/osgWidget/Frame +++ b/include/osgWidget/Frame @@ -175,6 +175,18 @@ class OSGWIDGET_EXPORT Frame: public Table Frame* = 0 ); + template + static Frame* createSimpleFrameWithSingleTexture( + const std::string& name, + const osg::ref_ptr& image, + point_type width, + point_type height, + unsigned int flags = 0, + Frame* exFrame = 0) + { + return Frame::createSimpleFrameWithSingleTexture(name, image.get(), width, height, flags, exFrame); + } + static Frame* createSimpleFrameFromTheme( const std::string&, osg::Image*, @@ -184,6 +196,18 @@ class OSGWIDGET_EXPORT Frame: public Table Frame* = 0 ); + template + static Frame* createSimpleFrameFromTheme( + const std::string& name, + const osg::ref_ptr& image, + point_type width, + point_type height, + unsigned int flags = 0, + Frame* exFrame = 0) + { + return Frame::createSimpleFrameFromTheme(name, image.get(), width, height, flags, exFrame); + } + void createSimpleFrame(point_type cw, point_type ch, point_type w, point_type h) { createSimpleFrame(_name, cw, ch, w, h, 0, this); diff --git a/include/osgWidget/Widget b/include/osgWidget/Widget index 54d90667885..5c2d3d96290 100644 --- a/include/osgWidget/Widget +++ b/include/osgWidget/Widget @@ -129,6 +129,10 @@ public: void setTexCoordWrapVertical (); bool setImage (osg::Image*, bool = false, bool = false); + + template bool setImage(const osg::ref_ptr& image, bool f1 = false, bool f2 = false) { return setImage(image.get(), f1, f2); } + + bool setImage (const std::string&, bool = false, bool = false); bool setTexture (osg::Texture*, bool = false, bool = false); diff --git a/src/OpenThreads/pthreads/CMakeLists.txt b/src/OpenThreads/pthreads/CMakeLists.txt index 56213b68011..5c2f2812174 100644 --- a/src/OpenThreads/pthreads/CMakeLists.txt +++ b/src/OpenThreads/pthreads/CMakeLists.txt @@ -33,6 +33,9 @@ ELSE() ADD_DEFINITIONS(-DHAVE_PTHREAD_CANCEL) ADD_DEFINITIONS(-DHAVE_PTHREAD_SETCANCELSTATE) + SET(CMAKE_REQUIRED_LIBRARIES_SAFE "${CMAKE_REQUIRED_LIBRARIES}") + SET(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) + CHECK_FUNCTION_EXISTS(pthread_yield HAVE_PTHREAD_YIELD) IF(HAVE_PTHREAD_YIELD) ADD_DEFINITIONS(-DHAVE_PTHREAD_YIELD) @@ -43,6 +46,7 @@ ELSE() CHECK_LIBRARY_EXISTS(rt sched_yield "" HAVE_SCHED_YIELD) IF(HAVE_SCHED_YIELD) SET(CMAKE_THREAD_LIBS_INIT "${CMAKE_THREAD_LIBS_INIT} -lrt") + SET(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES_SAFE} ${CMAKE_THREAD_LIBS_INIT}) ENDIF() ENDIF() IF(HAVE_SCHED_YIELD) @@ -110,9 +114,6 @@ ELSE() ENDIF() ENDIF() - SET(CMAKE_REQUIRED_LIBRARIES_SAFE "${CMAKE_REQUIRED_LIBRARIES}") - SET(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) - ADD_LIBRARY(${LIB_NAME} ${OPENTHREADS_USER_DEFINED_DYNAMIC_OR_STATIC} ${TARGET_H} diff --git a/src/OpenThreads/pthreads/PThread.cpp b/src/OpenThreads/pthreads/PThread.cpp index 72f18991f5f..965514a23fa 100644 --- a/src/OpenThreads/pthreads/PThread.cpp +++ b/src/OpenThreads/pthreads/PThread.cpp @@ -43,8 +43,10 @@ #endif #if defined (__FreeBSD__) || defined (__APPLE__) || defined (__MACH__) #include +#if !defined (__GNU__) #include #endif +#endif #if defined(__ANDROID__) #ifndef PAGE_SIZE @@ -636,6 +638,12 @@ bool Thread::isRunning() // int Thread::start() { + PThreadPrivateData *pd = static_cast (_prvData); + if (pd->isRunning()) + { + return 0; + } + int status; pthread_attr_t thread_attr; @@ -645,8 +653,6 @@ int Thread::start() { return status; } - PThreadPrivateData *pd = static_cast (_prvData); - //------------------------------------------------------------------------- // Set the stack size if requested, but not less than a platform reasonable // value. @@ -1012,7 +1018,7 @@ int Thread::microSleep(unsigned int microsec) // int OpenThreads::GetNumberOfProcessors() { -#if defined(__linux__) +#if defined(__linux__) || defined(__GNU__) long ret = sysconf(_SC_NPROCESSORS_ONLN); if (ret == -1) return 0; diff --git a/src/OpenThreads/qt/CMakeLists.txt b/src/OpenThreads/qt/CMakeLists.txt index 29c8ff6f5d6..7b3de3b4ab0 100644 --- a/src/OpenThreads/qt/CMakeLists.txt +++ b/src/OpenThreads/qt/CMakeLists.txt @@ -71,5 +71,11 @@ INSTALL( DESTINATION include/OpenThreads COMPONENT libopenthreads-dev ) - +if(MSVC) + INSTALL( + FILES ${CMAKE_CURRENT_BINARY_DIR}/OpenThreads${CMAKE_BUILD_POSTFIX}.pdb + DESTINATION bin + COMPONENT libopenthreads + ) +endif() #commented out# INCLUDE(ModuleInstall OPTIONAL) diff --git a/src/OpenThreads/win32/Win32Thread.cpp b/src/OpenThreads/win32/Win32Thread.cpp index 9ade67eb7b1..3444b6b2b27 100644 --- a/src/OpenThreads/win32/Win32Thread.cpp +++ b/src/OpenThreads/win32/Win32Thread.cpp @@ -336,6 +336,11 @@ bool Thread::isRunning() { int Thread::start() { Win32ThreadPrivateData *pd = static_cast (_prvData); + if (pd->isRunning) + { + return 0; + } + //------------------------------------------------------------------------- // Prohibit the stack size from being changed. // (bb 5/13/2005) it actually doesn't matter. diff --git a/src/osg/BufferObject.cpp b/src/osg/BufferObject.cpp index f2338697026..5d5f24d5787 100644 --- a/src/osg/BufferObject.cpp +++ b/src/osg/BufferObject.cpp @@ -188,11 +188,13 @@ void GLBufferObject::compileBuffer() { OSG_INFO<<"newTotalSize="<glDeleteBuffers(1, &_glObjectID); @@ -1130,7 +1132,7 @@ void BufferObject::resizeGLObjectBuffers(unsigned int maxSize) void BufferObject::releaseGLObjects(State* state) const { - OSG_INFO<<"BufferObject::releaseGLObjects("<getContextID(); @@ -1286,7 +1288,7 @@ void BufferData::resizeGLObjectBuffers(unsigned int maxSize) void BufferData::releaseGLObjects(State* state) const { - OSG_INFO<<"BufferData::releaseGLObjects("<releaseGLObjects(state); @@ -1395,7 +1397,7 @@ PixelBufferObject::PixelBufferObject(osg::Image* image): setTarget(GL_PIXEL_UNPACK_BUFFER_ARB); setUsage(GL_STREAM_DRAW_ARB); - OSG_INFO<<"Constructing PixelBufferObject for image="< #include - +#include + #cmakedefine OSG_GL1_AVAILABLE #cmakedefine OSG_GL2_AVAILABLE #cmakedefine OSG_GL3_AVAILABLE @@ -29,6 +30,8 @@ #cmakedefine OSG_GL_VERTEX_FUNCS_AVAILABLE #cmakedefine OSG_GL_VERTEX_ARRAY_FUNCS_AVAILABLE #cmakedefine OSG_GL_FIXED_FUNCTION_AVAILABLE +#cmakedefine GL_HEADER_HAS_GLINT64 +#cmakedefine GL_HEADER_HAS_GLUINT64 #define OSG_GL1_FEATURES @OSG_GL1_FEATURES@ #define OSG_GL2_FEATURES @OSG_GL2_FEATURES@ @@ -37,6 +40,7 @@ #define OSG_GLES2_FEATURES @OSG_GLES2_FEATURES@ #define OSG_GLES3_FEATURES @OSG_GLES3_FEATURES@ + #ifndef WIN32 // Required for compatibility with glext.h sytle function definitions of @@ -93,7 +97,7 @@ #endif // XXX This is from Win32's - #if !defined(_WCHAR_T_DEFINED) && !(defined(__GNUC__)&&((__GNUC__ == 3)||(__GNUC__ == 4))) + #if !defined(_WCHAR_T_DEFINED) && !(defined(__GNUC__)&&(__GNUC__ > 2)) typedef unsigned short wchar_t; #define _WCHAR_T_DEFINED #endif @@ -115,14 +119,12 @@ #endif // GL_APIENTRY -#if !defined(GL_VERSION_3_1) - #ifdef _WIN32 - typedef __int64 GLint64; - typedef unsigned __int64 GLuint64; - #else - typedef long long int GLint64; - typedef unsigned long long int GLuint64; - #endif +#ifndef GL_HEADER_HAS_GLINT64 + typedef int64_t GLint64; +#endif + +#ifndef GL_HEADER_HAS_GLUINT64 + typedef uint64_t GLuint64; #endif #ifdef OSG_GL_MATRICES_AVAILABLE diff --git a/src/osg/GLExtensions.cpp b/src/osg/GLExtensions.cpp index 82939aef72f..48524c8e16d 100644 --- a/src/osg/GLExtensions.cpp +++ b/src/osg/GLExtensions.cpp @@ -807,7 +807,7 @@ GLExtensions::GLExtensions(unsigned int contextID) isTextureFilterAnisotropicSupported = isGLExtensionSupported(contextID,"GL_EXT_texture_filter_anisotropic"); isTextureSwizzleSupported = isGLExtensionSupported(contextID,"GL_ARB_texture_swizzle"); isTextureCompressionARBSupported = builtInSupport || isGLExtensionOrVersionSupported(contextID,"GL_ARB_texture_compression", 1.3f); - isTextureCompressionS3TCSupported = isGLExtensionSupported(contextID,"GL_EXT_texture_compression_s3tc"); + isTextureCompressionS3TCSupported = isGLExtensionSupported(contextID,"GL_EXT_texture_compression_s3tc") || isGLExtensionSupported(contextID, "GL_S3_s3tc"); isTextureCompressionPVRTC2BPPSupported = isGLExtensionSupported(contextID,"GL_IMG_texture_compression_pvrtc"); isTextureCompressionPVRTC4BPPSupported = isTextureCompressionPVRTC2BPPSupported;//covered by same extension isTextureCompressionETCSupported = isGLExtensionSupported(contextID,"GL_OES_compressed_ETC1_RGB8_texture"); @@ -824,7 +824,10 @@ GLExtensions::GLExtensions(unsigned int contextID) isGLExtensionOrVersionSupported(contextID,"GL_SGIS_texture_edge_clamp", 1.2f); - isTextureBorderClampSupported = OSG_GL3_FEATURES || ((OSG_GL1_FEATURES || OSG_GL2_FEATURES) && isGLExtensionOrVersionSupported(contextID,"GL_ARB_texture_border_clamp", 1.3f)); + isTextureBorderClampSupported = OSG_GL3_FEATURES || + ((OSG_GL1_FEATURES || OSG_GL2_FEATURES) && isGLExtensionOrVersionSupported(contextID,"GL_ARB_texture_border_clamp", 1.3f)) || + (OSG_GLES2_FEATURES && isGLExtensionSupported(contextID,"GL_EXT_texture_border_clamp")); + isGenerateMipMapSupported = builtInSupport || isGLExtensionOrVersionSupported(contextID,"GL_SGIS_generate_mipmap", 1.4f); preferGenerateMipmapSGISForPowerOfTwo = (radeonHardwareDetected||fireGLHardwareDetected) ? false : true; isTextureMultisampledSupported = isGLExtensionSupported(contextID,"GL_ARB_texture_multisample"); @@ -1033,7 +1036,7 @@ GLExtensions::GLExtensions(unsigned int contextID) glFramebufferRenderbuffer != 0 && glGenerateMipmap != 0 && glGetRenderbufferParameteriv != 0 && - ( OSG_GLES1_FEATURES || isGLExtensionOrVersionSupported(contextID, "GL_EXT_framebuffer_object",3.0f) ); + ( OSG_GLES2_FEATURES || OSG_GLES1_FEATURES || isGLExtensionOrVersionSupported(contextID, "GL_EXT_framebuffer_object",3.0f) ); isPackedDepthStencilSupported = OSG_GL3_FEATURES || diff --git a/src/osg/Geometry.cpp b/src/osg/Geometry.cpp index 36e167200c5..fe57a9eeebd 100644 --- a/src/osg/Geometry.cpp +++ b/src/osg/Geometry.cpp @@ -62,13 +62,14 @@ Geometry::Geometry(const Geometry& geometry,const CopyOp& copyop): _vertexAttribList.push_back(copyop(vitr->get())); } - if ((copyop.getCopyFlags() & osg::CopyOp::DEEP_COPY_ARRAYS)) + if ((copyop.getCopyFlags() & osg::CopyOp::DEEP_COPY_ARRAYS) || (copyop.getCopyFlags() & osg::CopyOp::DEEP_COPY_PRIMITIVES)) { 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); + // Geometry to assign these, we'll do this by changing the cached value to false then re-enabling. + // note do not use setUseVertexBufferObjects(false) as it might modify Arrays that we have not deep-copied. + _useVertexBufferObjects = false; setUseVertexBufferObjects(true); } } @@ -201,7 +202,7 @@ void Geometry::setTexCoordArrayList(const ArrayList& arrayList) itr != _texCoordList.end(); ++itr) { - addVertexBufferObjectIfRequired(itr->get()); + if (itr->get()) addVertexBufferObjectIfRequired(itr->get()); } } } @@ -244,7 +245,7 @@ void Geometry::setVertexAttribArrayList(const ArrayList& arrayList) itr != _vertexAttribList.end(); ++itr) { - addVertexBufferObjectIfRequired(itr->get()); + if (itr->get()) addVertexBufferObjectIfRequired(itr->get()); } } } @@ -261,7 +262,8 @@ bool Geometry::addPrimitiveSet(PrimitiveSet* primitiveset) dirtyBound(); return true; } - OSG_WARN<<"Warning: invalid index i or primitiveset passed to osg::Geometry::addPrimitiveSet(i,primitiveset), ignoring call."<getBinding()==Array::BIND_PER_VERTEX) { if (!array->getVertexBufferObject()) { @@ -1041,7 +1043,7 @@ Geometry* osg::createTexturedQuadGeometry(const Vec3& corner,const Vec3& widthVe geom->setNormalArray(normals, osg::Array::BIND_OVERALL); -#if defined(OSG_GLES1_AVAILABLE) || !defined(OSG_GLES2_AVAILABLE) +#if defined(OSG_GLES1_AVAILABLE) || defined(OSG_GLES2_AVAILABLE) DrawElementsUByte* elems = new DrawElementsUByte(PrimitiveSet::TRIANGLES); elems->push_back(0); elems->push_back(1); @@ -1502,11 +1504,11 @@ void Geometry::fixDeprecatedData() // we start processing the primitive sets. int target_vindex = 0; int source_pindex = -1; // equals primitiveNum - for(PrimitiveSetList::iterator itr = _primitives.begin(); - itr != _primitives.end(); - ++itr) + for(PrimitiveSetList::iterator prim_itr = _primitives.begin(); + prim_itr != _primitives.end(); + ++prim_itr) { - osg::PrimitiveSet* primitiveset = itr->get(); + osg::PrimitiveSet* primitiveset = prim_itr->get(); GLenum mode=primitiveset->getMode(); unsigned int primLength; diff --git a/src/osg/GraphicsContext.cpp b/src/osg/GraphicsContext.cpp index 1d4c25bc1f5..08343bbbe44 100644 --- a/src/osg/GraphicsContext.cpp +++ b/src/osg/GraphicsContext.cpp @@ -564,6 +564,8 @@ void GraphicsContext::close(bool callCloseImplementation) osg::deleteAllGLObjects(_state->getContextID()); + osg::flushAllDeletedGLObjects(_state->getContextID()); + OSG_INFO<<"Done delete of GL objects"<(image->data()), osg::Image::NO_DELETE, image->getPacking()); + + setMipmapLevels(image->getMipmapLevels()); } void ImageSequence::applyLoopingMode() diff --git a/src/osg/ImageUtils.cpp b/src/osg/ImageUtils.cpp index 78b5a056490..6131630f630 100644 --- a/src/osg/ImageUtils.cpp +++ b/src/osg/ImageUtils.cpp @@ -561,13 +561,13 @@ static void fillSpotLightImage(unsigned char* ptr, const osg::Vec4& centerColour float mid = (float(size)-1.0f)*0.5f; float div = 2.0f/float(size); - for(unsigned int r=0;rdata(0,r,0); - for(unsigned int c=0;c #include #include +#include using namespace osg; @@ -34,6 +35,8 @@ LightModel::~LightModel() { } +#ifdef OSG_GL_FIXED_FUNCTION_AVAILABLE + // need to define if gl.h version < 1.2. #ifndef GL_LIGHT_MODEL_COLOR_CONTROL #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8 @@ -47,10 +50,8 @@ LightModel::~LightModel() #define GL_SEPARATE_SPECULAR_COLOR 0x81FA #endif - -void LightModel::apply(State&) const +void LightModel::apply(State& state) const { -#ifdef OSG_GL_FIXED_FUNCTION_AVAILABLE #ifdef OSG_GLES1_AVAILABLE #define glLightModeli glLightModelx @@ -58,8 +59,7 @@ void LightModel::apply(State&) const glLightModelfv(GL_LIGHT_MODEL_AMBIENT,_ambient.ptr()); - static bool s_separateSpecularSupported = strncmp((const char*)glGetString(GL_VERSION),"1.2",3)>=0; - if (s_separateSpecularSupported) + if (state.get()->glVersion>=1.2) { if (_colorControl==SEPARATE_SPECULAR_COLOR) { @@ -76,8 +76,14 @@ void LightModel::apply(State&) const #endif glLightModeli(GL_LIGHT_MODEL_TWO_SIDE,_twoSided); +} + #else + +void LightModel::apply(State&) const +{ OSG_NOTICE<<"Warning: LightModel::apply(State&) - not supported."<0; sweep--) { double sm = fabs(OffD[X])+fabs(OffD[Y])+fabs(OffD[Z]); if (sm==0.0) break; - for (i=Z; i>=X; i--) { + for (int i=Z; i>=X; i--) { int p = nxt[i]; int q = nxt[p]; fabsOffDi = fabs(OffD[i]); g = 100.0*fabsOffDi; @@ -421,7 +420,7 @@ namespace MatrixDecomposition OffDq = OffD[q]; OffD[q] -= s*(OffD[p] + tau*OffD[q]); OffD[p] += s*(OffDq - tau*OffD[p]); - for (j=Z; j>=X; j--) { + for (int j=Z; j>=X; j--) { a = U[j][p]; b = U[j][q]; U[j][p] -= s*(b + tau*a); U[j][q] += s*(a - tau*b); @@ -452,7 +451,7 @@ namespace MatrixDecomposition Quat p = q0001; double ka[4]; - int i, turn = -1; + int turn = -1; ka[X] = k->x; ka[Y] = k->y; ka[Z] = k->z; if (ka[X]==ka[Y]) { @@ -482,7 +481,7 @@ namespace MatrixDecomposition mag[2] = (double)q.y*q.z+(double)q.x*q.w; bool neg[3]; - for (i=0; i<3; i++) + for (int i=0; i<3; i++) { neg[i] = (mag[i]<0.0); if (neg[i]) mag[i] = -mag[i]; @@ -516,7 +515,7 @@ namespace MatrixDecomposition bool neg[4]; double all, big, two; qa[0] = q.x; qa[1] = q.y; qa[2] = q.z; qa[3] = q.w; - for (i=0; i<4; i++) { + for (int i=0; i<4; i++) { pa[i] = 0.0; neg[i] = (qa[i]<0.0); if (neg[i]) qa[i] = -qa[i]; @@ -547,7 +546,7 @@ namespace MatrixDecomposition big = qa[hi]; if (all>two) { if (all>big) {/*all*/ - {int i; for (i=0; i<4; i++) pa[i] = sgn(neg[i], 0.5);} + {for (int i=0; i<4; i++) pa[i] = sgn(neg[i], 0.5);} cycle(ka,par); } else {/*big*/ pa[hi] = sgn(neg[hi],1.0);} diff --git a/src/osg/OperationThread.cpp b/src/osg/OperationThread.cpp index 389931736e1..aec1f98f282 100644 --- a/src/osg/OperationThread.cpp +++ b/src/osg/OperationThread.cpp @@ -22,6 +22,7 @@ using namespace OpenThreads; struct BlockOperation : public Operation, public Block { BlockOperation(): + osg::Referenced(true), Operation("Block",false) { reset(); diff --git a/src/osg/PrimitiveSet.cpp b/src/osg/PrimitiveSet.cpp index 9bb9fb7be12..3379a68edd0 100644 --- a/src/osg/PrimitiveSet.cpp +++ b/src/osg/PrimitiveSet.cpp @@ -117,7 +117,8 @@ void DrawArrayLengths::draw(State& state, bool) const itr!=end(); ++itr) { - glDrawArrays(mode,first,*itr); + if (_numInstances>=1) state.glDrawArraysInstanced(mode,first,*itr,_numInstances); + else glDrawArrays(mode,first,*itr); first += *itr; } diff --git a/src/osg/Program.cpp b/src/osg/Program.cpp index 6014f9e0093..e0e89ceb018 100644 --- a/src/osg/Program.cpp +++ b/src/osg/Program.cpp @@ -776,26 +776,42 @@ void Program::PerContextProgram::linkProgram(osg::State& state) if (!_loadedBinary) { - // Detach removed shaders - for( unsigned int i=0; i < _shadersToDetach.size(); ++i ) + const GLsizei shaderMaxCount = 20; + GLsizei shadersCount; + GLuint shaderObjectHandle[shaderMaxCount]; + _extensions->glGetAttachedShaders(_glProgramHandle, shaderMaxCount, &shadersCount, shaderObjectHandle); + + typedef std::map ShaderSet; + ShaderSet shadersRequired; + + for(GLsizei i=0; igetPCS(state); - if (pcs) _extensions->glDetachShader( _glProgramHandle, pcs->getHandle() ); + shadersRequired[shaderObjectHandle[i]]--; } - } - _shadersToDetach.clear(); - if (!_loadedBinary) - { - // Attach new shaders - for( unsigned int i=0; i < _shadersToAttach.size(); ++i ) + for(unsigned int i=0; i < getProgram()->getNumShaders(); ++i) { - Shader::PerContextShader* pcs = _shadersToAttach[i]->getPCS(state); - if (pcs) _extensions->glAttachShader( _glProgramHandle, pcs->getHandle() ); + const Shader* shader = getProgram()->getShader( i ); + Shader::PerContextShader* pcs = shader->getPCS(state); + if (pcs) shadersRequired[ pcs->getHandle() ]++; } - } - //state.checkGLErrors("After attaching shaders."); + for(ShaderSet::iterator itr = shadersRequired.begin(); + itr != shadersRequired.end(); + ++itr) + { + if (itr->second>0) + { + _extensions->glAttachShader( _glProgramHandle, itr->first ); + } + else if (itr->second<0) + { + _extensions->glDetachShader( _glProgramHandle, itr->first ); + } + } + + } + _shadersToDetach.clear(); _shadersToAttach.clear(); _uniformInfoMap.clear(); @@ -849,12 +865,12 @@ void Program::PerContextProgram::linkProgram(osg::State& state) if( ! _isLinked ) { - OSG_WARN << "glLinkProgram \""<< _program->getName() << "\" FAILED" << std::endl; + OSG_NOTICE << "glLinkProgram "<getName() << "\" FAILED" << std::endl; std::string infoLog; if( getInfoLog(infoLog) ) { - OSG_WARN << "Program \""<< _program->getName() << "\" " + OSG_NOTICE << "Program \""<< _program->getName() << "\" " "infolog:\n" << infoLog << std::endl; } diff --git a/src/osg/Shader.cpp b/src/osg/Shader.cpp index d3101e79ef1..e4410ea0450 100644 --- a/src/osg/Shader.cpp +++ b/src/osg/Shader.cpp @@ -19,6 +19,7 @@ * Holger Helmich 2010-10-21 */ +#include #include #include #include @@ -33,8 +34,75 @@ #include #include -#include -#include +namespace osg +{ + +template +inline std::string::size_type find_first(const std::string& str, const M& match, std::string::size_type startpos, std::string::size_type endpos=std::string::npos) +{ + std::string::size_type endp = (endpos!=std::string::npos) ? endpos : str.size(); + + while(startpos=8 && source.compare(start_of_line, 8, "#version")==0) { versionLine = source.substr(start_of_line, end_of_line-start_of_line+1); - if (source[source.size()-1]!='\n') source.push_back('\n'); + if (versionLine[versionLine.size()-1]!='\n') versionLine.push_back('\n'); source.insert(start_of_line, "// following version spec has been automatically reassigned to start of source list: "); @@ -729,20 +799,20 @@ void Shader::PerContextShader::detachShader(GLuint program) const void Shader::_parseShaderDefines(const std::string& str, ShaderDefines& defines) { - OSG_NOTICE<<"Shader::_parseShaderDefines("<second->releaseGLObjects(state); + } + + for(ShaderMainMap::const_iterator itr = _shaderMainMap.begin(); + itr != _shaderMainMap.end(); + ++itr) + { + itr->second->releaseGLObjects(state); + } } osg::Program* ShaderComposer::getOrCreateProgram(const ShaderComponents& shaderComponents) @@ -105,11 +116,21 @@ osg::Program* ShaderComposer::getOrCreateProgram(const ShaderComponents& shaderC addShaderToProgram(program.get(), vertexShaders); } + if (!tessControlShaders.empty()) + { + addShaderToProgram(program.get(), tessControlShaders); + } + if (!geometryShaders.empty()) { addShaderToProgram(program.get(), geometryShaders); } + if (!tessEvaluationShaders.empty()) + { + addShaderToProgram(program.get(), tessEvaluationShaders); + } + if (!fragmentShaders.empty()) { addShaderToProgram(program.get(), fragmentShaders); diff --git a/src/osg/State.cpp b/src/osg/State.cpp index 27329136f4c..37ae3295c94 100644 --- a/src/osg/State.cpp +++ b/src/osg/State.cpp @@ -19,6 +19,7 @@ #include #include +#include #ifndef GL_MAX_TEXTURE_COORDS #define GL_MAX_TEXTURE_COORDS 0x8871 @@ -78,6 +79,10 @@ State::State(): { _checkGLErrors = ONCE_PER_ATTRIBUTE; } + else if(str && (strcmp(str, "OFF") == 0 || strcmp(str, "off") == 0)) + { + _checkGLErrors = NEVER_CHECK_GL_ERRORS; + } _currentActiveTextureUnit=0; _currentClientActiveTextureUnit=0; @@ -134,8 +139,12 @@ State::~State() // delete the GLExtensions object associated with this osg::State. if (_glExtensions) { - GLExtensions::Set(_contextID, 0); _glExtensions = 0; + GLExtensions* glExtensions = GLExtensions::Get(_contextID, false); + if (glExtensions && glExtensions->referenceCount() == 1) { + // the only reference left to the extension is in the static map itself, so we clean it up now + GLExtensions::Set(_contextID, 0); + } } //_texCoordArrayList.clear(); @@ -143,6 +152,95 @@ State::~State() //_vertexAttribArrayList.clear(); } +void State::initializeExtensionProcs() +{ + if (_extensionProcsInitialized) return; + + const char* vendor = (const char*) glGetString( GL_VENDOR ); + if (vendor) + { + std::string str_vendor(vendor); + std::replace(str_vendor.begin(), str_vendor.end(), ' ', '_'); + OSG_INFO<<"GL_VENDOR = ["<= 2.0 || osg::isGLExtensionSupported(_contextID, "GL_ARB_vertex_shader") || OSG_GLES2_FEATURES || OSG_GL3_FEATURES) + { + glGetIntegerv(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS,&_glMaxTextureUnits); + #ifdef OSG_GL_FIXED_FUNCTION_AVAILABLE + glGetIntegerv(GL_MAX_TEXTURE_COORDS, &_glMaxTextureCoords); + #else + _glMaxTextureCoords = _glMaxTextureUnits; + #endif + } + else if ( osg::getGLVersionNumber() >= 1.3 || + osg::isGLExtensionSupported(_contextID,"GL_ARB_multitexture") || + osg::isGLExtensionSupported(_contextID,"GL_EXT_multitexture") || + OSG_GLES1_FEATURES) + { + GLint maxTextureUnits = 0; + glGetIntegerv(GL_MAX_TEXTURE_UNITS,&maxTextureUnits); + _glMaxTextureUnits = maxTextureUnits; + _glMaxTextureCoords = maxTextureUnits; + } + else + { + _glMaxTextureUnits = 1; + _glMaxTextureCoords = 1; + } + + if (_glExtensions->isARBTimerQuerySupported) + { + const GLubyte* renderer = glGetString(GL_RENDERER); + std::string rendererString = renderer ? (const char*)renderer : ""; + if (rendererString.find("Radeon")!=std::string::npos || rendererString.find("RADEON")!=std::string::npos || rendererString.find("FirePro")!=std::string::npos) + { + // AMD/ATI drivers are producing an invalid enumerate error on the + // glGetQueryiv(GL_TIMESTAMP, GL_QUERY_COUNTER_BITS_ARB, &bits); + // call so work around it by assuming 64 bits for counter. + setTimestampBits(64); + //setTimestampBits(0); + } + else + { + GLint bits = 0; + _glExtensions->glGetQueryiv(GL_TIMESTAMP, GL_QUERY_COUNTER_BITS_ARB, &bits); + setTimestampBits(bits); + } + } + + + _extensionProcsInitialized = true; + + if (_graphicsCostEstimator.valid()) + { + RenderInfo renderInfo(this,0); + _graphicsCostEstimator->calibrate(renderInfo); + } +} + void State::releaseGLObjects() { // release any GL objects held by the shader composer @@ -871,9 +969,9 @@ void State::resetVertexAttributeAlias(bool compactAliasing, unsigned int numText if (compactAliasing) { unsigned int slot = 0; - setUpVertexAttribAlias(_vertexAlias, slot++, "gl_Vertex","osg_Vertex","attribute vec4 "); - setUpVertexAttribAlias(_normalAlias, slot++, "gl_Normal","osg_Normal","attribute vec3 "); - setUpVertexAttribAlias(_colorAlias, slot++, "gl_Color","osg_Color","attribute vec4 "); + setUpVertexAttribAlias(_vertexAlias, slot++, "gl_Vertex","osg_Vertex","vec4 "); + setUpVertexAttribAlias(_normalAlias, slot++, "gl_Normal","osg_Normal","vec3 "); + setUpVertexAttribAlias(_colorAlias, slot++, "gl_Color","osg_Color","vec4 "); _texCoordAliasList.resize(numTextureUnits); for(unsigned int i=0; i<_texCoordAliasList.size(); i++) @@ -883,20 +981,20 @@ void State::resetVertexAttributeAlias(bool compactAliasing, unsigned int numText gl_MultiTexCoord<<"gl_MultiTexCoord"<= 2.0 || osg::isGLExtensionSupported(_contextID, "GL_ARB_vertex_shader") || OSG_GLES2_FEATURES || OSG_GL3_FEATURES) - { - glGetIntegerv(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS,&_glMaxTextureUnits); - #ifdef OSG_GL_FIXED_FUNCTION_AVAILABLE - glGetIntegerv(GL_MAX_TEXTURE_COORDS, &_glMaxTextureCoords); - #else - _glMaxTextureCoords = _glMaxTextureUnits; - #endif - } - else if ( osg::getGLVersionNumber() >= 1.3 || - osg::isGLExtensionSupported(_contextID,"GL_ARB_multitexture") || - osg::isGLExtensionSupported(_contextID,"GL_EXT_multitexture") || - OSG_GLES1_FEATURES) - { - GLint maxTextureUnits = 0; - glGetIntegerv(GL_MAX_TEXTURE_UNITS,&maxTextureUnits); - _glMaxTextureUnits = maxTextureUnits; - _glMaxTextureCoords = maxTextureUnits; - } - else - { - _glMaxTextureUnits = 1; - _glMaxTextureCoords = 1; - } - - if (_glExtensions->isARBTimerQuerySupported) - { - const GLubyte* renderer = glGetString(GL_RENDERER); - std::string rendererString = renderer ? (const char*)renderer : ""; - if (rendererString.find("Radeon")!=std::string::npos || rendererString.find("RADEON")!=std::string::npos || rendererString.find("FirePro")!=std::string::npos) - { - // AMD/ATI drivers are producing an invalid enumerate error on the - // glGetQueryiv(GL_TIMESTAMP, GL_QUERY_COUNTER_BITS_ARB, &bits); - // call so work around it by assuming 64 bits for counter. - setTimestampBits(64); - //setTimestampBits(0); - } - else - { - GLint bits = 0; - _glExtensions->glGetQueryiv(GL_TIMESTAMP, GL_QUERY_COUNTER_BITS_ARB, &bits); - setTimestampBits(bits); - } - } - - - _extensionProcsInitialized = true; - - if (_graphicsCostEstimator.valid()) - { - RenderInfo renderInfo(this,0); - _graphicsCostEstimator->calibrate(renderInfo); - } -} - bool State::setClientActiveTextureUnit( unsigned int unit ) { if (unit!=_currentClientActiveTextureUnit) @@ -1418,11 +1437,11 @@ namespace State_Utils return replacedStr; } - void replaceAndInsertDeclaration(std::string& source, std::string::size_type declPos, const std::string& originalStr, const std::string& newStr, const std::string& declarationPrefix) + void replaceAndInsertDeclaration(std::string& source, std::string::size_type declPos, const std::string& originalStr, const std::string& newStr, const std::string& qualifier, const std::string& declarationPrefix) { if (replace(source, originalStr, newStr)) { - source.insert(declPos, declarationPrefix + newStr + std::string(";\n")); + source.insert(declPos, qualifier + declarationPrefix + newStr + std::string(";\n")); } } } @@ -1433,11 +1452,19 @@ bool State::convertVertexShaderSourceToOsgBuiltIns(std::string& source) const OSG_INFO<<"++Before Converted source "<= 130) attributeQualifier = "in "; // found the string, now find the next linefeed and set the insertion point after it. declPos = source.find( '\n', declPos ); declPos = declPos != std::string::npos ? declPos+1 : source.length(); @@ -1453,23 +1480,23 @@ bool State::convertVertexShaderSourceToOsgBuiltIns(std::string& source) const State_Utils::replace(source, "ftransform()", "gl_ModelViewProjectionMatrix * gl_Vertex"); // replace built in uniform - State_Utils::replaceAndInsertDeclaration(source, declPos, "gl_ModelViewMatrix", "osg_ModelViewMatrix", "uniform mat4 "); - State_Utils::replaceAndInsertDeclaration(source, declPos, "gl_ModelViewProjectionMatrix", "osg_ModelViewProjectionMatrix", "uniform mat4 "); - State_Utils::replaceAndInsertDeclaration(source, declPos, "gl_ProjectionMatrix", "osg_ProjectionMatrix", "uniform mat4 "); - State_Utils::replaceAndInsertDeclaration(source, declPos, "gl_NormalMatrix", "osg_NormalMatrix", "uniform mat3 "); + State_Utils::replaceAndInsertDeclaration(source, declPos, "gl_ModelViewMatrix", "osg_ModelViewMatrix", "uniform ", "mat4 "); + State_Utils::replaceAndInsertDeclaration(source, declPos, "gl_ModelViewProjectionMatrix", "osg_ModelViewProjectionMatrix", "uniform ", "mat4 "); + State_Utils::replaceAndInsertDeclaration(source, declPos, "gl_ProjectionMatrix", "osg_ProjectionMatrix", "uniform ", "mat4 "); + State_Utils::replaceAndInsertDeclaration(source, declPos, "gl_NormalMatrix", "osg_NormalMatrix", "uniform ", "mat3 "); } if (_useVertexAttributeAliasing) { - State_Utils::replaceAndInsertDeclaration(source, declPos, _vertexAlias._glName, _vertexAlias._osgName, _vertexAlias._declaration); - State_Utils::replaceAndInsertDeclaration(source, declPos, _normalAlias._glName, _normalAlias._osgName, _normalAlias._declaration); - State_Utils::replaceAndInsertDeclaration(source, declPos, _colorAlias._glName, _colorAlias._osgName, _colorAlias._declaration); - State_Utils::replaceAndInsertDeclaration(source, declPos, _secondaryColorAlias._glName, _secondaryColorAlias._osgName, _secondaryColorAlias._declaration); - State_Utils::replaceAndInsertDeclaration(source, declPos, _fogCoordAlias._glName, _fogCoordAlias._osgName, _fogCoordAlias._declaration); + State_Utils::replaceAndInsertDeclaration(source, declPos, _vertexAlias._glName, _vertexAlias._osgName, attributeQualifier, _vertexAlias._declaration); + State_Utils::replaceAndInsertDeclaration(source, declPos, _normalAlias._glName, _normalAlias._osgName, attributeQualifier, _normalAlias._declaration); + State_Utils::replaceAndInsertDeclaration(source, declPos, _colorAlias._glName, _colorAlias._osgName, attributeQualifier, _colorAlias._declaration); + State_Utils::replaceAndInsertDeclaration(source, declPos, _secondaryColorAlias._glName, _secondaryColorAlias._osgName, attributeQualifier, _secondaryColorAlias._declaration); + State_Utils::replaceAndInsertDeclaration(source, declPos, _fogCoordAlias._glName, _fogCoordAlias._osgName, attributeQualifier, _fogCoordAlias._declaration); for (size_t i=0; i<_texCoordAliasList.size(); i++) { const VertexAttribAlias& texCoordAlias = _texCoordAliasList[i]; - State_Utils::replaceAndInsertDeclaration(source, declPos, texCoordAlias._glName, texCoordAlias._osgName, texCoordAlias._declaration); + State_Utils::replaceAndInsertDeclaration(source, declPos, texCoordAlias._glName, texCoordAlias._osgName, attributeQualifier, texCoordAlias._declaration); } } @@ -1701,7 +1728,6 @@ void State::print(std::ostream& fout) const #if 0 GraphicsContext* _graphicsContext; unsigned int _contextID; - bool _shaderCompositionEnabled; bool _shaderCompositionDirty; osg::ref_ptr _shaderComposer; @@ -1802,29 +1828,28 @@ void State::frameCompleted() bool State::DefineMap::updateCurrentDefines() { - if (changed) + if (!changed) return false; + + currentDefines.clear(); + + for(DefineStackMap::const_iterator itr = map.begin(); + itr != map.end(); + ++itr) { - currentDefines.clear(); - for(DefineStackMap::const_iterator itr = map.begin(); - itr != map.end(); - ++itr) + const DefineStack::DefineVec& dv = itr->second.defineVec; + if (!dv.empty()) { - const DefineStack::DefineVec& dv = itr->second.defineVec; - if (!dv.empty()) + const StateSet::DefinePair& dp = dv.back(); + if (dp.second & osg::StateAttribute::ON) { - const StateSet::DefinePair& dp = dv.back(); - if (dp.second & osg::StateAttribute::ON) - { - currentDefines[itr->first] = dp; - } + currentDefines[itr->first] = dp; } } - return true; - } - else - { - return false; } + + changed = false; + + return true; } std::string State::getDefineString(const osg::ShaderDefines& shaderDefines) @@ -1847,16 +1872,16 @@ std::string State::getDefineString(const osg::ShaderDefines& shaderDefines) const StateSet::DefinePair& dp = cd_itr->second; shaderDefineStr += "#define "; shaderDefineStr += cd_itr->first; - if (dp.first.empty()) + if (!dp.first.empty()) { - shaderDefineStr += "\n"; - } - else - { - shaderDefineStr += " "; + if (dp.first[0]!='(') shaderDefineStr += " "; shaderDefineStr += dp.first; - shaderDefineStr += "\n"; } +#ifdef WIN32 + shaderDefineStr += "\r\n"; +#else + shaderDefineStr += "\n"; +#endif ++sd_itr; ++cd_itr; diff --git a/src/osg/StateAttribute.cpp b/src/osg/StateAttribute.cpp index 158a07a0009..3e4dfa1d61d 100644 --- a/src/osg/StateAttribute.cpp +++ b/src/osg/StateAttribute.cpp @@ -44,7 +44,7 @@ void StateAttribute::removeParent(osg::StateSet* object) void StateAttribute::setUpdateCallback(StateAttributeCallback* uc) { - OSG_INFO<<"StateAttribute::Setting Update callbacks"<setNumChildrenRequiringUpdateTraversal((*itr)->getNumChildrenRequiringUpdateTraversal()+delta); } } @@ -71,7 +67,7 @@ void StateAttribute::setUpdateCallback(StateAttributeCallback* uc) void StateAttribute::setEventCallback(StateAttributeCallback* ec) { - OSG_INFO<<"StateAttribute::Setting Event callbacks"<rhs._uniformList.size()) return 1; - // check render bin details + if (_defineList.size()rhs._defineList.size()) return 1; + + + // check render bin details if ( _binMode < rhs._binMode ) return -1; else if ( _binMode > rhs._binMode ) return 1; @@ -487,6 +491,28 @@ int StateSet::compare(const StateSet& rhs,bool compareAttributeContents) const } else if (rhs_uniform_itr == rhs._uniformList.end()) return 1; + + // check defines. + DefineList::const_iterator lhs_define_itr = _defineList.begin(); + DefineList::const_iterator rhs_define_itr = rhs._defineList.begin(); + while (lhs_define_itr!=_defineList.end() && rhs_define_itr!=rhs._defineList.end()) + { + if (lhs_define_itr->firstfirst) return -1; + else if (rhs_define_itr->firstfirst) return 1; + if (lhs_define_itr->second.firstsecond.first) return -1; + else if (rhs_define_itr->second.firstsecond.first) return 1; + if (lhs_define_itr->second.secondsecond.second) return -1; + else if (rhs_define_itr->second.secondsecond.second) return 1; + ++lhs_define_itr; + ++rhs_define_itr; + } + if (lhs_define_itr==_defineList.end()) + { + if (rhs_define_itr!=rhs._defineList.end()) return -1; + } + else if (rhs_define_itr == rhs._defineList.end()) return 1; + + return 0; } @@ -1270,7 +1296,7 @@ void StateSet::setTextureAttributeAndModes(unsigned int unit,StateAttribute *att OSG_NOTICE<<"Warning: non texture attribute '"<className()<<"' passed to setTextureAttributeAndModes(unit,attr,value), "<glTexStorage2D(target, numMipmapLevels, sizedInternalFormat, width, height); + if (getTextureTarget()==GL_TEXTURE_CUBE_MAP) + { + if (target==GL_TEXTURE_CUBE_MAP_POSITIVE_X) + { + extensions->glTexStorage2D(GL_TEXTURE_CUBE_MAP, numMipmapLevels, sizedInternalFormat, width, height); + } + } + else + { + extensions->glTexStorage2D(target, numMipmapLevels, sizedInternalFormat, width, height); + } if( !compressed_image ) { diff --git a/src/osg/Texture1D.cpp b/src/osg/Texture1D.cpp index 9971b06630f..e4bf3cf7782 100644 --- a/src/osg/Texture1D.cpp +++ b/src/osg/Texture1D.cpp @@ -172,10 +172,10 @@ void Texture1D::apply(State& state) const } else if (_image.valid() && getModifiedCount(contextID) != _image->getModifiedCount()) { - applyTexImage1D(GL_TEXTURE_1D,_image.get(),state, _textureWidth, _numMipmapLevels); - // update the modified count to show that it is up to date. getModifiedCount(contextID) = _image->getModifiedCount(); + + applyTexImage1D(GL_TEXTURE_1D,_image.get(),state, _textureWidth, _numMipmapLevels); } } @@ -210,13 +210,13 @@ void Texture1D::apply(State& state) const applyTexParameters(GL_TEXTURE_1D,state); + // update the modified count to show that it is upto date. + getModifiedCount(contextID) = _image->getModifiedCount(); + applyTexImage1D(GL_TEXTURE_1D,_image.get(),state, _textureWidth, _numMipmapLevels); textureObject->setAllocated(_numMipmapLevels,_internalFormat,_textureWidth,1,1,0); - // update the modified count to show that it is upto date. - getModifiedCount(contextID) = _image->getModifiedCount(); - _textureObjectBuffer[contextID] = textureObject; // unref image data? diff --git a/src/osg/Texture2D.cpp b/src/osg/Texture2D.cpp index cea45af088e..25d38f153e1 100644 --- a/src/osg/Texture2D.cpp +++ b/src/osg/Texture2D.cpp @@ -205,12 +205,11 @@ void Texture2D::apply(State& state) const } else if (_image.valid() && getModifiedCount(contextID) != _image->getModifiedCount()) { - applyTexImage2D_subload(state,GL_TEXTURE_2D,_image.get(), - _textureWidth, _textureHeight, _internalFormat, _numMipmapLevels); - // update the modified tag to show that it is up to date. getModifiedCount(contextID) = _image->getModifiedCount(); + applyTexImage2D_subload(state,GL_TEXTURE_2D,_image.get(), + _textureWidth, _textureHeight, _internalFormat, _numMipmapLevels); } else if (_readPBuffer.valid()) { @@ -226,6 +225,8 @@ void Texture2D::apply(State& state) const applyTexParameters(GL_TEXTURE_2D,state); + if (_image.valid()) getModifiedCount(contextID) = _image->getModifiedCount(); + _subloadCallback->load(*this,state); textureObject->setAllocated(_numMipmapLevels,_internalFormat,_textureWidth,_textureHeight,1,_borderWidth); @@ -237,7 +238,6 @@ void Texture2D::apply(State& state) const //glBindTexture( GL_TEXTURE_2D, handle ); // update the modified tag to show that it is up to date. - if (_image.valid()) getModifiedCount(contextID) = _image->getModifiedCount(); } else if (_image.valid() && _image->data()) { @@ -257,6 +257,9 @@ void Texture2D::apply(State& state) const applyTexParameters(GL_TEXTURE_2D,state); + // update the modified tag to show that it is up to date. + getModifiedCount(contextID) = image->getModifiedCount(); + if (textureObject->isAllocated() && image->supportsTextureSubloading()) { //OSG_NOTICE<<"Reusing texture object"<setAllocated(true); } - // update the modified tag to show that it is up to date. - getModifiedCount(contextID) = image->getModifiedCount(); - // unref image data? if (isSafeToUnrefImageData(state) && image->getDataVariance()==STATIC) { @@ -315,7 +315,7 @@ void Texture2D::apply(State& state) const glBindTexture( GL_TEXTURE_2D, 0 ); } - // if texture object is now valid and we have to allocate mipmap levels, then + // if texture object is now valid and we have to allocate mipmap levels, then if (textureObject != 0 && _texMipmapGenerationDirtyList[contextID]) { generateMipmap(state); diff --git a/src/osg/Texture2DArray.cpp b/src/osg/Texture2DArray.cpp index cb308e3a7f2..dbf7085485e 100644 --- a/src/osg/Texture2DArray.cpp +++ b/src/osg/Texture2DArray.cpp @@ -301,8 +301,8 @@ void Texture2DArray::apply(State& state) const { if (getModifiedCount(n,contextID) != image->getModifiedCount()) { - applyTexImage2DArray_subload(state, image, n, _textureWidth, _textureHeight, image->r(), _internalFormat, _numMipmapLevels); getModifiedCount(n,contextID) = image->getModifiedCount(); + applyTexImage2DArray_subload(state, image, n, _textureWidth, _textureHeight, image->r(), _internalFormat, _numMipmapLevels); } n += image->r(); } @@ -384,8 +384,8 @@ void Texture2DArray::apply(State& state) const { if (getModifiedCount(n,contextID) != image->getModifiedCount()) { - applyTexImage2DArray_subload(state, image, n, _textureWidth, _textureHeight, image->r(), _internalFormat, _numMipmapLevels); getModifiedCount(n,contextID) = image->getModifiedCount(); + applyTexImage2DArray_subload(state, image, n, _textureWidth, _textureHeight, image->r(), _internalFormat, _numMipmapLevels); } n += image->r(); } diff --git a/src/osg/Texture3D.cpp b/src/osg/Texture3D.cpp index 9d23494a5a1..08851413e54 100644 --- a/src/osg/Texture3D.cpp +++ b/src/osg/Texture3D.cpp @@ -253,12 +253,12 @@ void Texture3D::apply(State& state) const } else if (_image.get() && getModifiedCount(contextID) != _image->getModifiedCount()) { - computeRequiredTextureDimensions(state,*_image,_textureWidth, _textureHeight, _textureDepth,_numMipmapLevels); - - applyTexImage3D(GL_TEXTURE_3D,_image.get(),state, _textureWidth, _textureHeight, _textureDepth,_numMipmapLevels); - // update the modified count to show that it is up to date. getModifiedCount(contextID) = _image->getModifiedCount(); + + computeRequiredTextureDimensions(state,*_image,_textureWidth, _textureHeight, _textureDepth,_numMipmapLevels); + + applyTexImage3D(GL_TEXTURE_3D,_image.get(),state, _textureWidth, _textureHeight, _textureDepth,_numMipmapLevels); } } @@ -295,6 +295,8 @@ void Texture3D::apply(State& state) const textureObject->bind(); + // update the modified count to show that it is up to date. + getModifiedCount(contextID) = _image->getModifiedCount(); applyTexParameters(GL_TEXTURE_3D,state); @@ -302,9 +304,6 @@ void Texture3D::apply(State& state) const textureObject->setAllocated(_numMipmapLevels,_internalFormat,_textureWidth,_textureHeight,_textureDepth,0); - // update the modified count to show that it is up to date. - getModifiedCount(contextID) = _image->getModifiedCount(); - // unref image data? if (isSafeToUnrefImageData(state) && _image->getDataVariance()==STATIC) { diff --git a/src/osg/TextureBuffer.cpp b/src/osg/TextureBuffer.cpp index 04c319f88c3..b57d50108d5 100644 --- a/src/osg/TextureBuffer.cpp +++ b/src/osg/TextureBuffer.cpp @@ -112,11 +112,12 @@ void TextureBuffer::apply(State& state) const { if (_image.valid() && getModifiedCount(contextID) != _image->getModifiedCount()) { + _modifiedCount[contextID] = _image->getModifiedCount(); + computeInternalFormat(); textureBufferObject->bindBuffer(GL_TEXTURE_BUFFER); textureBufferObject->bufferSubData(_image.get() ); textureBufferObject->unbindBuffer(GL_TEXTURE_BUFFER); - _modifiedCount[contextID] = _image->getModifiedCount(); } textureObject->bind(); @@ -153,6 +154,9 @@ void TextureBuffer::apply(State& state) const computeInternalFormat(); _textureWidth = _image->s(); + + _modifiedCount[contextID] = _image->getModifiedCount(); + textureBufferObject->bindBuffer(GL_TEXTURE_BUFFER); textureBufferObject->bufferData( _image.get() ); textureObject->setAllocated(true); @@ -161,7 +165,6 @@ void TextureBuffer::apply(State& state) const textureObject->bind(); textureBufferObject->texBuffer(_internalFormat); - _modifiedCount[contextID] = _image->getModifiedCount(); } else { diff --git a/src/osg/TextureCubeMap.cpp b/src/osg/TextureCubeMap.cpp index c750ddcf6a6..a425498755c 100644 --- a/src/osg/TextureCubeMap.cpp +++ b/src/osg/TextureCubeMap.cpp @@ -250,8 +250,8 @@ void TextureCubeMap::apply(State& state) const const osg::Image* image = _images[n].get(); if (image && getModifiedCount((Face)n,contextID) != image->getModifiedCount()) { - applyTexImage2D_subload( state, faceTarget[n], _images[n].get(), _textureWidth, _textureHeight, _internalFormat, _numMipmapLevels); getModifiedCount((Face)n,contextID) = image->getModifiedCount(); + applyTexImage2D_subload( state, faceTarget[n], _images[n].get(), _textureWidth, _textureHeight, _internalFormat, _numMipmapLevels); } } } @@ -301,6 +301,7 @@ void TextureCubeMap::apply(State& state) const const osg::Image* image = _images[n].get(); if (image) { + getModifiedCount((Face)n,contextID) = image->getModifiedCount(); if (textureObject->isAllocated()) { applyTexImage2D_subload( state, faceTarget[n], image, _textureWidth, _textureHeight, _internalFormat, _numMipmapLevels); @@ -309,7 +310,6 @@ void TextureCubeMap::apply(State& state) const { applyTexImage2D_load( state, faceTarget[n], image, _textureWidth, _textureHeight, _numMipmapLevels); } - getModifiedCount((Face)n,contextID) = image->getModifiedCount(); } diff --git a/src/osg/TextureRectangle.cpp b/src/osg/TextureRectangle.cpp index ef167a1ae5c..79ded252b8b 100644 --- a/src/osg/TextureRectangle.cpp +++ b/src/osg/TextureRectangle.cpp @@ -209,10 +209,10 @@ void TextureRectangle::apply(State& state) const } else if (_image.valid() && getModifiedCount(contextID) != _image->getModifiedCount()) { - applyTexImage_subload(GL_TEXTURE_RECTANGLE, _image.get(), state, _textureWidth, _textureHeight, _internalFormat); - // update the modified count to show that it is up to date. getModifiedCount(contextID) = _image->getModifiedCount(); + + applyTexImage_subload(GL_TEXTURE_RECTANGLE, _image.get(), state, _textureWidth, _textureHeight, _internalFormat); } } else if (_subloadCallback.valid()) @@ -392,7 +392,6 @@ void TextureRectangle::applyTexImage_subload(GLenum target, Image* image, State& const unsigned int contextID = state.getContextID(); const GLExtensions* extensions = state.get(); - // update the modified count to show that it is up to date. getModifiedCount(contextID) = image->getModifiedCount(); diff --git a/src/osg/Uniform.cpp b/src/osg/Uniform.cpp index 7136a83f607..2fa4e635359 100644 --- a/src/osg/Uniform.cpp +++ b/src/osg/Uniform.cpp @@ -412,17 +412,17 @@ const char* Uniform::getTypename( Type t ) case INT_SAMPLER_BUFFER: return "isamplerBuffer"; case INT_SAMPLER_2D_RECT: return "isampler2DRect"; - case UNSIGNED_INT_SAMPLER_1D: return "usample1D"; - case UNSIGNED_INT_SAMPLER_2D: return "usample2D"; - case UNSIGNED_INT_SAMPLER_3D: return "usample3D"; - case UNSIGNED_INT_SAMPLER_CUBE: return "usampleCube"; - case UNSIGNED_INT_SAMPLER_1D_ARRAY: return "usample1DArray"; - case UNSIGNED_INT_SAMPLER_2D_ARRAY: return "usample2DArray"; - case UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY: return "usampleCubeMapArray"; - case UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE: return "usample2DMS"; - case UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY: return "usample2DMSArray"; - case UNSIGNED_INT_SAMPLER_BUFFER: return "usampleBuffer"; - case UNSIGNED_INT_SAMPLER_2D_RECT: return "usample2DRect"; + case UNSIGNED_INT_SAMPLER_1D: return "usampler1D"; + case UNSIGNED_INT_SAMPLER_2D: return "usampler2D"; + case UNSIGNED_INT_SAMPLER_3D: return "usampler3D"; + case UNSIGNED_INT_SAMPLER_CUBE: return "usamplerCube"; + case UNSIGNED_INT_SAMPLER_1D_ARRAY: return "usampler1DArray"; + case UNSIGNED_INT_SAMPLER_2D_ARRAY: return "usampler2DArray"; + case UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY: return "usamplerCubeMapArray"; + case UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE: return "usampler2DMS"; + case UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY: return "usampler2DMSArray"; + case UNSIGNED_INT_SAMPLER_BUFFER: return "usamplerBuffer"; + case UNSIGNED_INT_SAMPLER_2D_RECT: return "usampler2DRect"; case IMAGE_1D: return "image1D"; case IMAGE_2D: return "image2D"; diff --git a/src/osg/glu/libutil/mipmap.cpp b/src/osg/glu/libutil/mipmap.cpp index 62232b80805..87e3280669f 100644 --- a/src/osg/glu/libutil/mipmap.cpp +++ b/src/osg/glu/libutil/mipmap.cpp @@ -5557,13 +5557,11 @@ static void empty_image(const PixelStorageModes *psm, * Decimation of packed pixel types *-------------------------------------------------------------------------- */ -static void extract332(int isSwap, +static void extract332(int /*isSwap*/, const void *packedPixel, GLfloat extractComponents[]) { GLubyte ubyte= *(const GLubyte *)packedPixel; - isSwap= isSwap; /* turn off warnings */ - /* 11100000 == 0xe0 */ /* 00011100 == 0x1c */ /* 00000011 == 0x03 */ @@ -5593,13 +5591,11 @@ static void shove332(const GLfloat shoveComponents[], ((GLubyte)((shoveComponents[2] * 3)+0.5) ) & 0x03; } /* shove332() */ -static void extract233rev(int isSwap, +static void extract233rev(int /*isSwap*/, const void *packedPixel, GLfloat extractComponents[]) { GLubyte ubyte= *(const GLubyte *)packedPixel; - isSwap= isSwap; /* turn off warnings */ - /* 0000,0111 == 0x07 */ /* 0011,1000 == 0x38 */ /* 1100,0000 == 0xC0 */ @@ -8559,10 +8555,8 @@ GLint GLAPIENTRY gluBuild3DMipmaps(GLTexImage3DProc gluTexImage3D, data); } /* gluBuild3DMipmaps() */ -static GLdouble extractUbyte(int isSwap, const void *ubyte) +static GLdouble extractUbyte(int /*isSwap*/, const void *ubyte) { - isSwap= isSwap; /* turn off warnings */ - return (GLdouble)(*((const GLubyte *)ubyte)); } /* extractUbyte() */ @@ -8573,10 +8567,8 @@ static void shoveUbyte(GLdouble value, int index, void *data) ((GLubyte *)data)[index]= (GLubyte)value; } /* shoveUbyte() */ -static GLdouble extractSbyte(int isSwap, const void *sbyte) +static GLdouble extractSbyte(int /*isSwap*/, const void *sbyte) { - isSwap= isSwap; /* turn off warnings */ - return (GLdouble)(*((const GLbyte *)sbyte)); } /* extractSbyte() */ diff --git a/src/osgDB/ConvertBase64.cpp b/src/osgDB/ConvertBase64.cpp index cbd1ae62d81..50befdf66d3 100644 --- a/src/osgDB/ConvertBase64.cpp +++ b/src/osgDB/ConvertBase64.cpp @@ -317,8 +317,9 @@ namespace osgDB } // Allocate memory for use with osg::Image - char* allocated_out = new char[stream_out.tellp()]; - memcpy(allocated_out, stream_out.str().c_str(), stream_out.tellp()); + const std::string str = stream_out.str(); + char* allocated_out = new char[str.size()]; + memcpy(allocated_out, str.c_str(), str.size()); return allocated_out; } diff --git a/src/osgDB/DatabasePager.cpp b/src/osgDB/DatabasePager.cpp index b963332958c..b677da2f35b 100644 --- a/src/osgDB/DatabasePager.cpp +++ b/src/osgDB/DatabasePager.cpp @@ -1236,6 +1236,8 @@ osg::ref_ptr& DatabasePager::prototype() return s_DatabasePager; } +OSG_INIT_SINGLETON_PROXY(ProxyInitDatabasePager, DatabasePager::prototype()) + DatabasePager* DatabasePager::create() { return DatabasePager::prototype().valid() ? @@ -1528,8 +1530,6 @@ void DatabasePager::requestNodeFile(const std::string& fileName, osg::NodePath& if (!_startThreadCalled) { - _startThreadCalled = true; - _done = false; OSG_INFO<<"DatabasePager::startThread()"<getNumOfHttpDatabaseThreadsHint()); } + _startThreadCalled = true; + _done = false; + for(DatabaseThreadList::const_iterator dt_itr = _databaseThreads.begin(); dt_itr != _databaseThreads.end(); ++dt_itr) diff --git a/src/osgDB/FileCache.cpp b/src/osgDB/FileCache.cpp index 36ab81a45d2..22f43b88e86 100644 --- a/src/osgDB/FileCache.cpp +++ b/src/osgDB/FileCache.cpp @@ -343,7 +343,7 @@ bool FileCache::loadDatabaseRevisionsForFile(const std::string& originalFileName if (!cacheFileName.empty() && osgDB::fileExists(cacheFileName)) { OSG_INFO<<" found revisions file in local cache, now loading it"< object = osgDB::readObjectFile(cacheFileName); + osg::ref_ptr object = osgDB::readRefObjectFile(cacheFileName); dr_local = dynamic_cast(object.get()); if (dr_local) { @@ -357,7 +357,7 @@ bool FileCache::loadDatabaseRevisionsForFile(const std::string& originalFileName } // now load revision file from remote server - osg::ref_ptr object = osgDB::readObjectFile(revisionsFileName+".curl"); + osg::ref_ptr object = osgDB::readRefObjectFile(revisionsFileName+".curl"); osg::ref_ptr dr_remote = dynamic_cast(object.get()); if (dr_remote.valid()) @@ -463,7 +463,7 @@ FileList* FileCache::readFileList(const std::string& originalFileName) const std::string cacheFileListName = createCacheFileName(originalFileName); if (!cacheFileListName.empty() && osgDB::fileExists(cacheFileListName)) { - osg::ref_ptr object = osgDB::readObjectFile(cacheFileListName); + osg::ref_ptr object = osgDB::readRefObjectFile(cacheFileListName); fileList = dynamic_cast(object.get()); if (fileList) OSG_INFO<<" loadeded FileList from local cache "<getName()< object = osgDB::readRefObjectFile(originalFileName+".curl"); fileList = dynamic_cast(object.get()); if (fileList) { diff --git a/src/osgDB/FileNameUtils.cpp b/src/osgDB/FileNameUtils.cpp index cb2685cef0c..39b4f5406ed 100644 --- a/src/osgDB/FileNameUtils.cpp +++ b/src/osgDB/FileNameUtils.cpp @@ -30,6 +30,10 @@ using std::tolower; #endif +#if defined(__GNU__) && !defined(PATH_MAX) +#define PATH_MAX 4096 +#endif + using namespace std; static const char * const PATH_SEPARATORS = "/\\"; @@ -436,6 +440,7 @@ bool osgDB::isAbsolutePath(const std::string& path) { if (path[0] == '/') return true; // Now test for Windows root if (path.length()<2) return false; + if (path[0] == '\\' && path[1] == '\\') return true; return path[1] == ':'; // We should check that path[0] is a letter, but as ':' is invalid in paths in other cases, that's not a problem. } diff --git a/src/osgDB/ImagePager.cpp b/src/osgDB/ImagePager.cpp index 603b0141fdd..be8a379ef20 100644 --- a/src/osgDB/ImagePager.cpp +++ b/src/osgDB/ImagePager.cpp @@ -211,7 +211,7 @@ void ImagePager::ImageThread::run() if (imageRequest.valid()) { // OSG_NOTICE<<"doing readImageFile("<_fileName<<") index to assign = "<_attachmentIndex< image = osgDB::readImageFile(imageRequest->_fileName, imageRequest->_readOptions.get()); + osg::ref_ptr image = osgDB::readRefImageFile(imageRequest->_fileName, imageRequest->_readOptions.get()); if (image.valid()) { // OSG_NOTICE<<" successful readImageFile("<_fileName<<") index to assign = "<_attachmentIndex<(const_cast(options)); - return osgDB::readImageFile(fileName, readOptions); + return osgDB::readRefImageFile(fileName, readOptions).release(); } void ImagePager::requestImageFile(const std::string& fileName, osg::Object* attachmentPoint, int attachmentIndex, double timeToMergeBy, const osg::FrameStamp* /*framestamp*/, osg::ref_ptr& imageRequest, const osg::Referenced* options) { - osgDB::Options* readOptions = dynamic_cast(const_cast(options)); if (!readOptions) { diff --git a/src/osgDB/Input.cpp b/src/osgDB/Input.cpp index 12edf968642..8dc3235c72d 100644 --- a/src/osgDB/Input.cpp +++ b/src/osgDB/Input.cpp @@ -87,7 +87,7 @@ osg::Node* Input::readNode() osg::Object* Input::readObject(const std::string& fileName) { - return readObjectFile(fileName,_options.get()); + return readRefObjectFile(fileName,_options.get()).release(); } osg::Shader* Input::readShader() @@ -97,17 +97,17 @@ osg::Shader* Input::readShader() osg::Image* Input::readImage(const std::string& fileName) { - return readImageFile(fileName,_options.get()); + return readRefImageFile(fileName,_options.get()).release(); } osg::Node* Input::readNode(const std::string& fileName) { - return readNodeFile(fileName,_options.get()); + return readRefNodeFile(fileName,_options.get()).release(); } osg::Shader* Input::readShader(const std::string& fileName) { - return readShaderFile(fileName,_options.get()); + return readRefShaderFile(fileName,_options.get()).release(); } bool Input::read(Parameter value1) diff --git a/src/osgDB/ObjectCache.cpp b/src/osgDB/ObjectCache.cpp index 8779711e246..11ca07c3a88 100644 --- a/src/osgDB/ObjectCache.cpp +++ b/src/osgDB/ObjectCache.cpp @@ -12,9 +12,30 @@ */ #include +#include using namespace osgDB; +bool ObjectCache::ClassComp::operator() (const ObjectCache::FileNameOptionsPair& lhs, const ObjectCache::FileNameOptionsPair& rhs) +{ + // check if filename are the same + if (lhs.first < rhs.first) return true; + if (rhs.first < lhs.first) return false; + + // check if Options pointers are the same. + if (lhs.second == rhs.second) return false; + + // need to compare Options pointers + if (lhs.second.valid() && rhs.second.valid()) + { + // lhs & rhs have valid Options objects + return *lhs.second < *rhs.second; + } + + // finally use pointer comparison, expecting at least one will be NULL pointer + return lhs.second < rhs.second; +} + //////////////////////////////////////////////////////////////////////////////////////////// // // ObjectCache @@ -39,34 +60,48 @@ void ObjectCache::addObjectCache(ObjectCache* objectCache) OpenThreads::ScopedLock lock1(_objectCacheMutex); OpenThreads::ScopedLock lock2(objectCache->_objectCacheMutex); - // OSG_NOTICE<<"Inserting objects to main ObjectCache "<_objectCache.size()<_objectCache.size()<_objectCache.begin(), objectCache->_objectCache.end()); } -void ObjectCache::addEntryToObjectCache(const std::string& filename, osg::Object* object, double timestamp) +void ObjectCache::addEntryToObjectCache(const std::string& filename, osg::Object* object, double timestamp, const Options *options) { OpenThreads::ScopedLock lock(_objectCacheMutex); - _objectCache[filename]=ObjectTimeStampPair(object,timestamp); + _objectCache[FileNameOptionsPair(filename, osg::clone(options))] = ObjectTimeStampPair(object,timestamp); + OSG_DEBUG<<"Adding "<getOptionString() : "")<<"' to ObjectCache "< lock(_objectCacheMutex); - ObjectCacheMap::iterator itr = _objectCache.find(fileName); - if (itr!=_objectCache.end()) return itr->second.first.get(); + ObjectCacheMap::iterator itr = _objectCache.find(FileNameOptionsPair(fileName, options)); + if (itr!=_objectCache.end()) + { + osg::ref_ptr o = itr->first.second; + if (o.valid()) + OSG_DEBUG<<"Found "<getOptionString()<< "' in ObjectCache "<second.first.get(); + } else return 0; } -osg::ref_ptr ObjectCache::getRefFromObjectCache(const std::string& fileName) +osg::ref_ptr ObjectCache::getRefFromObjectCache(const std::string& fileName, const Options *options) { OpenThreads::ScopedLock lock(_objectCacheMutex); - ObjectCacheMap::iterator itr = _objectCache.find(fileName); + ObjectCacheMap::iterator itr; + itr = _objectCache.find(FileNameOptionsPair(fileName, options)); if (itr!=_objectCache.end()) { - // OSG_NOTICE<<"Found "<second.first; + osg::ref_ptr o = itr->first.second; + if (o.valid()) + OSG_DEBUG<<"Found "<getOptionString()<< "' in ObjectCache "<second.first.get(); } else return 0; } @@ -108,10 +143,10 @@ void ObjectCache::removeExpiredObjectsInCache(double expiryTime) } } -void ObjectCache::removeFromObjectCache(const std::string& fileName) +void ObjectCache::removeFromObjectCache(const std::string& fileName, const Options *options) { OpenThreads::ScopedLock lock(_objectCacheMutex); - ObjectCacheMap::iterator itr = _objectCache.find(fileName); + ObjectCacheMap::iterator itr = _objectCache.find(FileNameOptionsPair(fileName, options)); if (itr!=_objectCache.end()) _objectCache.erase(itr); } diff --git a/src/osgDB/Options.cpp b/src/osgDB/Options.cpp index 1b963b80132..1841fcaf2f6 100644 --- a/src/osgDB/Options.cpp +++ b/src/osgDB/Options.cpp @@ -56,3 +56,17 @@ void Options::parsePluginStringData(const std::string& str, char separator1, cha } } } + +bool Options::operator <(const Options &rhs) const +{ + // TODO add better compare + //OSG_DEBUG << "comparing <'" << _str << "' with '" << rhs._str << "'" << std::endl; + return _str.compare(rhs._str) < 0; +} + +bool Options::operator ==(const Options &rhs) const +{ + // TODO add better compare + //OSG_DEBUG << "comparing == '" << _str << "' with '" << rhs._str << "'" << std::endl; + return _str.compare(rhs._str) == 0; +} diff --git a/src/osgDB/OutputStream.cpp b/src/osgDB/OutputStream.cpp index 993f3c20990..4aac1ca6e30 100644 --- a/src/osgDB/OutputStream.cpp +++ b/src/osgDB/OutputStream.cpp @@ -18,7 +18,7 @@ #include #include #include -#include +#include #include #include @@ -559,7 +559,7 @@ void OutputStream::writeImage( const osg::Image* img ) if ( isBinary() ) { std::string fullPath = osgDB::findDataFile( img->getFileName() ); - std::ifstream infile( fullPath.c_str(), std::ios::in|std::ios::binary ); + osgDB::ifstream infile( fullPath.c_str(), std::ios::in|std::ios::binary ); if ( infile ) { infile.seekg( 0, std::ios::end ); diff --git a/src/osgDB/PluginQuery.cpp b/src/osgDB/PluginQuery.cpp index 650bfe8f84b..f9e6e909b34 100644 --- a/src/osgDB/PluginQuery.cpp +++ b/src/osgDB/PluginQuery.cpp @@ -80,6 +80,7 @@ bool osgDB::queryPlugin(const std::string& fileName, ReaderWriterInfoList& infoL rwi->protocols = rw->supportedProtocols(); rwi->extensions = rw->supportedExtensions(); rwi->options = rw->supportedOptions(); + rwi->environment = rw->supportedEnvironment(); rwi->features = rw->supportedFeatures(); infoList.push_back(rwi.get()); @@ -151,6 +152,13 @@ bool osgDB::outputPluginDetails(std::ostream& out, const std::string& fileName) if (fdm_itr->first.length()>longestOptionLength) longestOptionLength = fdm_itr->first.length(); } + for(fdm_itr = info.environment.begin(); + fdm_itr != info.environment.end(); + ++fdm_itr) + { + if (fdm_itr->first.length()>longestOptionLength) longestOptionLength = fdm_itr->first.length(); + } + unsigned int padLength = longestOptionLength+4; for(fdm_itr = info.protocols.begin(); @@ -173,6 +181,13 @@ bool osgDB::outputPluginDetails(std::ostream& out, const std::string& fileName) { out<<" options : "<first, padLength)<second<first, padLength)<second<readObject(filename,options); @@ -75,14 +76,82 @@ Node* osgDB::readNodeFile(const std::string& filename,const Options* options) Node* osgDB::readNodeFiles(std::vector& fileList,const Options* options) { - typedef std::vector NodeList; + return readRefNodeFiles(fileList, options).release(); +} + +Node* osgDB::readNodeFiles(osg::ArgumentParser& arguments,const Options* options) +{ + return readRefNodeFiles(arguments, options).release(); +} + + +Script* osgDB::readScriptFile(const std::string& filename,const Options* options) +{ + ReaderWriter::ReadResult rr = Registry::instance()->readScript(filename,options); + if (rr.validScript()) return rr.takeScript(); + if (rr.error()) OSG_WARN << rr.message() << std::endl; + return NULL; +} +#endif + +osg::ref_ptr osgDB::readRefObjectFile(const std::string& filename,const Options* options) +{ + ReaderWriter::ReadResult rr = Registry::instance()->readObject(filename,options); + if (rr.validObject()) return osg::ref_ptr(rr.getObject()); + if (rr.error()) OSG_WARN << rr.message() << std::endl; + return NULL; +} + +osg::ref_ptr osgDB::readRefImageFile(const std::string& filename,const Options* options) +{ + ReaderWriter::ReadResult rr = Registry::instance()->readImage(filename,options); + if (rr.validImage()) return osg::ref_ptr(rr.getImage()); + if (rr.error()) OSG_WARN << rr.message() << std::endl; + return NULL; +} + +osg::ref_ptr osgDB::readRefShaderFile(const std::string& filename,const Options* options) +{ + ReaderWriter::ReadResult rr = Registry::instance()->readShader(filename,options); + if (rr.validShader()) return osg::ref_ptr(rr.getShader()); + if (rr.error()) OSG_WARN << rr.message() << std::endl; + return NULL; +} + +osg::ref_ptr osgDB::readRefHeightFieldFile(const std::string& filename,const Options* options) +{ + ReaderWriter::ReadResult rr = Registry::instance()->readHeightField(filename,options); + if (rr.validHeightField()) return osg::ref_ptr(rr.getHeightField()); + if (rr.error()) OSG_WARN << rr.message() << std::endl; + return NULL; +} + +osg::ref_ptr osgDB::readRefNodeFile(const std::string& filename,const Options* options) +{ + ReaderWriter::ReadResult rr = Registry::instance()->readNode(filename,options); + if (rr.validNode()) return osg::ref_ptr(rr.getNode()); + if (rr.error()) OSG_WARN << rr.message() << std::endl; + return NULL; +} + +osg::ref_ptr osgDB::readRefScriptFile(const std::string& filename,const Options* options) +{ + ReaderWriter::ReadResult rr = Registry::instance()->readScript(filename,options); + if (rr.validScript()) return osg::ref_ptr(rr.getScript()); + if (rr.error()) OSG_WARN << rr.message() << std::endl; + return NULL; +} + +osg::ref_ptr osgDB::readRefNodeFiles(std::vector& fileList,const Options* options) +{ + typedef std::vector< osg::ref_ptr > NodeList; NodeList nodeList; for(std::vector::iterator itr=fileList.begin(); itr!=fileList.end(); ++itr) { - osg::Node *node = osgDB::readNodeFile( *itr , options ); + osg::ref_ptr node = osgDB::readRefNodeFile( *itr , options ); if( node != (osg::Node *)0L ) { @@ -103,7 +172,7 @@ Node* osgDB::readNodeFiles(std::vector& fileList,const Options* opt } else // size >1 { - osg::Group* group = new osg::Group; + osg::ref_ptr group = new osg::Group; for(NodeList::iterator itr=nodeList.begin(); itr!=nodeList.end(); ++itr) @@ -116,7 +185,7 @@ Node* osgDB::readNodeFiles(std::vector& fileList,const Options* opt } -Node* osgDB::readNodeFiles(osg::ArgumentParser& arguments,const Options* options) +osg::ref_ptr osgDB::readRefNodeFiles(osg::ArgumentParser& arguments,const Options* options) { typedef std::vector< osg::ref_ptr > NodeList; @@ -131,7 +200,7 @@ Node* osgDB::readNodeFiles(osg::ArgumentParser& arguments,const Options* options while (arguments.read("--image",filename)) { - osg::ref_ptr image = readImageFile(filename.c_str(), options); + osg::ref_ptr image = readRefImageFile(filename.c_str(), options); if (image.valid()) { osg::Geode* geode = osg::createGeodeForImage(image.get()); @@ -149,7 +218,7 @@ Node* osgDB::readNodeFiles(osg::ArgumentParser& arguments,const Options* options while (arguments.read("--movie",filename)) { - osg::ref_ptr image = readImageFile(filename.c_str(), options); + osg::ref_ptr image = readRefImageFile(filename.c_str(), options); osg::ref_ptr imageStream = dynamic_cast(image.get()); if (imageStream.valid()) { @@ -200,11 +269,11 @@ Node* osgDB::readNodeFiles(osg::ArgumentParser& arguments,const Options* options while (arguments.read("--dem",filename)) { - osg::HeightField* hf = readHeightFieldFile(filename.c_str(), options); + osg::ref_ptr hf = readRefHeightFieldFile(filename.c_str(), options); if (hf) { - osg::Geode* geode = new osg::Geode; - geode->addDrawable(new osg::ShapeDrawable(hf)); + osg::ref_ptr geode = new osg::Geode; + geode->addDrawable(new osg::ShapeDrawable(hf.get())); nodeList.push_back(geode); } } @@ -215,7 +284,7 @@ Node* osgDB::readNodeFiles(osg::ArgumentParser& arguments,const Options* options if (!arguments.isOption(pos)) { // not an option so assume string is a filename. - osg::Node *node = osgDB::readNodeFile( arguments[pos], options); + osg::ref_ptr node = osgDB::readRefNodeFile( arguments[pos], options); if(node) { @@ -237,73 +306,15 @@ Node* osgDB::readNodeFiles(osg::ArgumentParser& arguments,const Options* options } else // size >1 { - osg::Group* group = new osg::Group; + osg::ref_ptr group = new osg::Group; for(NodeList::iterator itr=nodeList.begin(); itr!=nodeList.end(); ++itr) { - group->addChild((*itr).get()); + group->addChild(*itr); } return group; } } - - -Script* osgDB::readScriptFile(const std::string& filename,const Options* options) -{ - ReaderWriter::ReadResult rr = Registry::instance()->readScript(filename,options); - if (rr.validScript()) return rr.takeScript(); - if (rr.error()) OSG_WARN << rr.message() << std::endl; - return NULL; -} - - -osg::ref_ptr osgDB::readRefObjectFile(const std::string& filename,const Options* options) -{ - ReaderWriter::ReadResult rr = Registry::instance()->readObject(filename,options); - if (rr.validObject()) return osg::ref_ptr(rr.getObject()); - if (rr.error()) OSG_WARN << rr.message() << std::endl; - return NULL; -} - -osg::ref_ptr osgDB::readRefImageFile(const std::string& filename,const Options* options) -{ - ReaderWriter::ReadResult rr = Registry::instance()->readImage(filename,options); - if (rr.validImage()) return osg::ref_ptr(rr.getImage()); - if (rr.error()) OSG_WARN << rr.message() << std::endl; - return NULL; -} - -osg::ref_ptr osgDB::readRefShaderFile(const std::string& filename,const Options* options) -{ - ReaderWriter::ReadResult rr = Registry::instance()->readShader(filename,options); - if (rr.validShader()) return osg::ref_ptr(rr.getShader()); - if (rr.error()) OSG_WARN << rr.message() << std::endl; - return NULL; -} - -osg::ref_ptr osgDB::readRefHeightFieldFile(const std::string& filename,const Options* options) -{ - ReaderWriter::ReadResult rr = Registry::instance()->readHeightField(filename,options); - if (rr.validHeightField()) return osg::ref_ptr(rr.getHeightField()); - if (rr.error()) OSG_WARN << rr.message() << std::endl; - return NULL; -} - -osg::ref_ptr osgDB::readRefNodeFile(const std::string& filename,const Options* options) -{ - ReaderWriter::ReadResult rr = Registry::instance()->readNode(filename,options); - if (rr.validNode()) return osg::ref_ptr(rr.getNode()); - if (rr.error()) OSG_WARN << rr.message() << std::endl; - return NULL; -} - -osg::ref_ptr osgDB::readRefScriptFile(const std::string& filename,const Options* options) -{ - ReaderWriter::ReadResult rr = Registry::instance()->readScript(filename,options); - if (rr.validScript()) return osg::ref_ptr(rr.getScript()); - if (rr.error()) OSG_WARN << rr.message() << std::endl; - return NULL; -} diff --git a/src/osgDB/ReaderWriter.cpp b/src/osgDB/ReaderWriter.cpp index 2c4d5ce57ce..03b459a3ed2 100644 --- a/src/osgDB/ReaderWriter.cpp +++ b/src/osgDB/ReaderWriter.cpp @@ -68,6 +68,11 @@ void ReaderWriter::supportsOption(const std::string& fmt, const std::string& des _supportedOptions[fmt] = description; } +void ReaderWriter::supportsEnvironment(const std::string& fmt, const std::string& description) +{ + _supportedEnvironment[fmt] = description; +} + ReaderWriter::Features ReaderWriter::supportedFeatures() const { int features = FEATURE_NONE; diff --git a/src/osgDB/Registry.cpp b/src/osgDB/Registry.cpp index 14a8d047625..d54580e5ad4 100644 --- a/src/osgDB/Registry.cpp +++ b/src/osgDB/Registry.cpp @@ -214,6 +214,8 @@ Registry* Registry::instance(bool erase) return s_registry.get(); // will return NULL on erase } +OSG_INIT_SINGLETON_PROXY(ProxyInitRegistry, Registry::instance()) + // definition of the Registry Registry::Registry() @@ -305,6 +307,13 @@ Registry::Registry() addFileExtensionAlias("vert", "glsl"); addFileExtensionAlias("frag", "glsl"); addFileExtensionAlias("geom", "glsl"); + addFileExtensionAlias("compute", "glsl"); + addFileExtensionAlias("vs", "glsl"); + addFileExtensionAlias("fs", "glsl"); + addFileExtensionAlias("gs", "glsl"); + addFileExtensionAlias("cs", "glsl"); + addFileExtensionAlias("tctrl", "glsl"); + addFileExtensionAlias("teval", "glsl"); addFileExtensionAlias("js", "V8"); @@ -1258,9 +1267,9 @@ ReaderWriter::ReadResult Registry::readImplementation(const ReadFunctor& readFun if (useObjectCache) { // search for entry in the object cache. - osg::ref_ptr object = optionsCache ? optionsCache->getRefFromObjectCache(file) : 0; + osg::ref_ptr object = optionsCache ? optionsCache->getRefFromObjectCache(file, options) : 0; - if (!object && _objectCache.valid()) object = _objectCache->getRefFromObjectCache(file); + if (!object && _objectCache.valid()) object = _objectCache->getRefFromObjectCache(file, options); if (object.valid()) { @@ -1272,7 +1281,7 @@ ReaderWriter::ReadResult Registry::readImplementation(const ReadFunctor& readFun if (rr.validObject()) { // search AGAIN for entry in the object cache. - object = _objectCache->getRefFromObjectCache(file); + object = _objectCache->getRefFromObjectCache(file, options); if (object.valid()) { if (readFunctor.isValid(object.get())) return ReaderWriter::ReadResult(object.get(), ReaderWriter::ReadResult::FILE_LOADED_FROM_CACHE); @@ -1283,8 +1292,8 @@ ReaderWriter::ReadResult Registry::readImplementation(const ReadFunctor& readFun } // update cache with new entry. - if (optionsCache) optionsCache->addEntryToObjectCache(file, rr.getObject(), 0.0); - else if (_objectCache.valid()) _objectCache->addEntryToObjectCache(file, rr.getObject(), 0.0); + if (optionsCache) optionsCache->addEntryToObjectCache(file, rr.getObject(), 0.0, options); + else if (_objectCache.valid()) _objectCache->addEntryToObjectCache(file, rr.getObject(), 0.0, options); } else { @@ -1664,19 +1673,19 @@ ReaderWriter::WriteResult Registry::writeScriptImplementation(const Script& imag return result; } -void Registry::addEntryToObjectCache(const std::string& filename, osg::Object* object, double timestamp) +void Registry::addEntryToObjectCache(const std::string& filename, osg::Object* object, double timestamp, Options *options) { - if (_objectCache.valid()) _objectCache->addEntryToObjectCache(filename, object, timestamp); + if (_objectCache.valid()) _objectCache->addEntryToObjectCache(filename, object, timestamp, options); } -osg::Object* Registry::getFromObjectCache(const std::string& filename) +osg::Object* Registry::getFromObjectCache(const std::string& filename, Options *options) { - return _objectCache.valid() ? _objectCache->getFromObjectCache(filename) : 0; + return _objectCache.valid() ? _objectCache->getFromObjectCache(filename, options) : 0; } -osg::ref_ptr Registry::getRefFromObjectCache(const std::string& filename) +osg::ref_ptr Registry::getRefFromObjectCache(const std::string& filename, Options *options) { - return _objectCache.valid() ? _objectCache->getRefFromObjectCache(filename) : 0; + return _objectCache.valid() ? _objectCache->getRefFromObjectCache(filename, options) : 0; } void Registry::updateTimeStampOfObjectsInCacheWithExternalReferences(const osg::FrameStamp& frameStamp) @@ -1690,9 +1699,9 @@ void Registry::removeExpiredObjectsInCache(const osg::FrameStamp& frameStamp) if (_objectCache.valid()) _objectCache->removeExpiredObjectsInCache(expiryTime); } -void Registry::removeFromObjectCache(const std::string& filename) +void Registry::removeFromObjectCache(const std::string& filename, Options *options) { - if (_objectCache.valid()) _objectCache->removeFromObjectCache(filename); + if (_objectCache.valid()) _objectCache->removeFromObjectCache(filename, options); } void Registry::clearObjectCache() diff --git a/src/osgFX/BumpMapping.cpp b/src/osgFX/BumpMapping.cpp index b3ac89fb928..3659d6ce549 100644 --- a/src/osgFX/BumpMapping.cpp +++ b/src/osgFX/BumpMapping.cpp @@ -258,10 +258,10 @@ namespace "ATTRIB v18 = vertex.normal;" "ATTRIB v16 = vertex.position;" "PARAM s259[4] = { state.matrix.mvp };" - "PARAM s18 = state.light[0].position;" - "PARAM s77 = state.lightprod[0].specular;" + "PARAM s18 = state.light["<<_lightnum<<"].position;" + "PARAM s77 = state.lightprod["<<_lightnum<<"].specular;" "PARAM s4 = state.material.shininess;" - "PARAM s75 = state.lightprod[0].ambient;" + "PARAM s75 = state.lightprod["<<_lightnum<<"].ambient;" "PARAM s223[4] = { state.matrix.modelview };" "PARAM c0[4] = { program.local[0..3] };" " MOV result.texcoord[" << freeunit << "].xyz, s75.xyzx;" @@ -626,7 +626,7 @@ void BumpMapping::setUpDemo() // set up diffuse texture if (!_diffuse_tex.valid()) { _diffuse_tex = new osg::Texture2D; - _diffuse_tex->setImage(osgDB::readImageFile("Images/whitemetal_diffuse.jpg")); + _diffuse_tex->setImage(osgDB::readRefImageFile("Images/whitemetal_diffuse.jpg")); _diffuse_tex->setFilter(osg::Texture::MIN_FILTER, osg::Texture::LINEAR_MIPMAP_LINEAR); _diffuse_tex->setFilter(osg::Texture::MAG_FILTER, osg::Texture::LINEAR); _diffuse_tex->setWrap(osg::Texture::WRAP_S, osg::Texture::REPEAT); @@ -637,7 +637,7 @@ void BumpMapping::setUpDemo() // set up normal map texture if (!_normal_tex.valid()) { _normal_tex = new osg::Texture2D; - _normal_tex->setImage(osgDB::readImageFile("Images/whitemetal_normal.jpg")); + _normal_tex->setImage(osgDB::readRefImageFile("Images/whitemetal_normal.jpg")); _normal_tex->setFilter(osg::Texture::MIN_FILTER, osg::Texture::LINEAR_MIPMAP_LINEAR); _normal_tex->setFilter(osg::Texture::MAG_FILTER, osg::Texture::LINEAR); _normal_tex->setWrap(osg::Texture::WRAP_S, osg::Texture::REPEAT); diff --git a/src/osgFX/Cartoon.cpp b/src/osgFX/Cartoon.cpp index 0e57f2575c7..6cf15db02e1 100644 --- a/src/osgFX/Cartoon.cpp +++ b/src/osgFX/Cartoon.cpp @@ -179,15 +179,23 @@ namespace { // implement pass #1 (solid surfaces) { - const char * vert_source = - "const vec3 LightPosition = vec3( 0.0, 2.0, 4.0 );" - "varying float CartoonTexCoord;" - "void main( void )" - "{" - "vec3 eye_space_normal = normalize(gl_NormalMatrix * gl_Normal);" - "CartoonTexCoord = max(0.0, dot(normalize(LightPosition), eye_space_normal));" - "gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;" - "}"; + std::ostringstream vert_source; + vert_source << + "varying float CartoonTexCoord;\n" + "void main( void )\n" + "{\n" + " vec4 LightPosition = gl_LightSource["<<_lightnum<<"].position;\n" + " vec3 LightDirection;\n" + " if (LightPosition[3]!=0.0) { \n" + " vec4 eye_space_position = gl_ModelViewMatrix * gl_Vertex;\n" + " LightDirection = (LightPosition.xyz-eye_space_position.xyz);\n" + " } else {\n" + " LightDirection = LightPosition.xyz;\n" + " }\n" + " vec3 eye_space_normal = normalize(gl_NormalMatrix * gl_Normal);\n" + " CartoonTexCoord = max(0.0, dot(normalize(LightDirection), eye_space_normal));\n" + " gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;\n" + "}\n"; const char * frag_source = "uniform sampler1D CartoonTexUnit;" @@ -205,7 +213,7 @@ namespace ss->setAttributeAndModes(polyoffset.get(), osg::StateAttribute::OVERRIDE|osg::StateAttribute::ON); osg::ref_ptr program = new osg::Program; - program->addShader( new osg::Shader( osg::Shader::VERTEX, vert_source ) ); + program->addShader( new osg::Shader( osg::Shader::VERTEX, vert_source.str() ) ); program->addShader( new osg::Shader( osg::Shader::FRAGMENT, frag_source ) ); ss->addUniform( new osg::Uniform("CartoonTexUnit", 0)); diff --git a/src/osgManipulator/Dragger.cpp b/src/osgManipulator/Dragger.cpp index 55e8a19fef0..22b006b56b3 100644 --- a/src/osgManipulator/Dragger.cpp +++ b/src/osgManipulator/Dragger.cpp @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include @@ -198,6 +199,27 @@ Dragger::~Dragger() { } +bool Dragger::inverted() const +{ + osg::Vec3d xAxis(_matrix(0,0), _matrix(1,0), _matrix(2,0)); + osg::Vec3d yAxis(_matrix(0,1), _matrix(1,1), _matrix(2,1)); + osg::Vec3d zAxis(_matrix(0,2), _matrix(1,2), _matrix(2,2)); + double volume = (xAxis^yAxis)*zAxis; + return volume<0.0; +} + +void Dragger::applyAppropriateFrontFace(osg::StateSet* ss) const +{ + osg::StateAttribute* sa = ss->getAttribute(osg::StateAttribute::FRONTFACE); + osg::FrontFace* ff = dynamic_cast(sa); + if (!ff) + { + ff = new osg::FrontFace; + ss->setAttribute(ff); + } + ff->setMode( inverted() ? osg::FrontFace::CLOCKWISE : osg::FrontFace::COUNTER_CLOCKWISE); +} + void Dragger::setHandleEvents(bool flag) { if (_handleEvents == flag) return; diff --git a/src/osgParticle/ConnectedParticleSystem.cpp b/src/osgParticle/ConnectedParticleSystem.cpp index 30a4c53728f..923315c8c37 100644 --- a/src/osgParticle/ConnectedParticleSystem.cpp +++ b/src/osgParticle/ConnectedParticleSystem.cpp @@ -147,8 +147,7 @@ void ConnectedParticleSystem::drawImplementation(osg::RenderInfo& renderInfo) co const Particle* nextParticle = (particle->getNextParticle() != Particle::INVALID_INDEX) ? &_particles[particle->getNextParticle()] : 0; if (nextParticle) { - const osg::Vec3& nextPos = nextParticle->getPosition(); - osg::Vec3 startDelta = nextPos-pos; + osg::Vec3 startDelta = nextParticle->getPosition()-pos; startDelta.normalize(); float distance2 = 0.0; @@ -158,8 +157,7 @@ void ConnectedParticleSystem::drawImplementation(osg::RenderInfo& renderInfo) co ++i) { nextParticle = &_particles[nextParticle->getNextParticle()]; - const osg::Vec3& nextPos = nextParticle->getPosition(); - osg::Vec3 delta = nextPos-pos; + osg::Vec3 delta = nextParticle->getPosition()-pos; distance2 = (delta^startDelta).length2(); } } @@ -187,8 +185,8 @@ void ConnectedParticleSystem::drawImplementation(osg::RenderInfo& renderInfo) co if (nextParticle) { - const osg::Vec3& nextPos = nextParticle->getPosition(); - osg::Vec3 startDelta = nextPos-pos; + osg::Vec3 startDelta = nextParticle->getPosition()-pos; + delta = startDelta; startDelta.normalize(); float distance2 = 0.0; @@ -198,12 +196,10 @@ void ConnectedParticleSystem::drawImplementation(osg::RenderInfo& renderInfo) co ++i) { nextParticle = &_particles[nextParticle->getNextParticle()]; - const osg::Vec3& nextPos = nextParticle->getPosition(); - delta = nextPos-pos; + delta = nextParticle->getPosition()-pos; distance2 = (delta^startDelta).length2(); } - delta = nextPos-pos; } osg::Vec3 normal( delta ^ (pos-eyeLocal)); diff --git a/src/osgParticle/ParticleProcessor.cpp b/src/osgParticle/ParticleProcessor.cpp index 0f2a8622bb2..19ed2f859be 100644 --- a/src/osgParticle/ParticleProcessor.cpp +++ b/src/osgParticle/ParticleProcessor.cpp @@ -99,10 +99,12 @@ void osgParticle::ParticleProcessor::traverse(osg::NodeVisitor& nv) _currentTime += t - _t0; // process only if the particle system is not frozen/culled + // We need to allow at least 2 frames difference, because the particle system's lastFrameNumber + // is updated in the draw thread which may not have completed yet. if (alive && _enabled && !_ps->isFrozen() && - ((_ps->getLastFrameNumber()+1) >= (nv.getFrameStamp()->getFrameNumber()) || !_ps->getFreezeOnCull())) + (!_ps->getFreezeOnCull() || ((nv.getFrameStamp()->getFrameNumber()-_ps->getLastFrameNumber()) <= 2)) ) { // initialize matrix flags _need_ltw_matrix = true; diff --git a/src/osgParticle/ParticleSystem.cpp b/src/osgParticle/ParticleSystem.cpp index 3e84bb79cc0..0b05952eab9 100644 --- a/src/osgParticle/ParticleSystem.cpp +++ b/src/osgParticle/ParticleSystem.cpp @@ -249,7 +249,7 @@ void osgParticle::ParticleSystem::setDefaultAttributes(const std::string& textur if (!texturefile.empty()) { osg::Texture2D *texture = new osg::Texture2D; - texture->setImage(osgDB::readImageFile(texturefile)); + texture->setImage(osgDB::readRefImageFile(texturefile)); texture->setFilter(osg::Texture2D::MIN_FILTER, osg::Texture2D::LINEAR); texture->setFilter(osg::Texture2D::MAG_FILTER, osg::Texture2D::LINEAR); texture->setWrap(osg::Texture2D::WRAP_S, osg::Texture2D::MIRROR); @@ -292,7 +292,7 @@ void osgParticle::ParticleSystem::setDefaultAttributesUsingShaders(const std::st if (!texturefile.empty()) { osg::Texture2D *texture = new osg::Texture2D; - texture->setImage(osgDB::readImageFile(texturefile)); + texture->setImage(osgDB::readRefImageFile(texturefile)); texture->setFilter(osg::Texture2D::MIN_FILTER, osg::Texture2D::LINEAR); texture->setFilter(osg::Texture2D::MAG_FILTER, osg::Texture2D::LINEAR); texture->setWrap(osg::Texture2D::WRAP_S, osg::Texture2D::MIRROR); diff --git a/src/osgParticle/ParticleSystemUpdater.cpp b/src/osgParticle/ParticleSystemUpdater.cpp index 1c826e870d9..84dc9d23439 100644 --- a/src/osgParticle/ParticleSystemUpdater.cpp +++ b/src/osgParticle/ParticleSystemUpdater.cpp @@ -41,7 +41,10 @@ void osgParticle::ParticleSystemUpdater::traverse(osg::NodeVisitor& nv) ParticleSystem::ScopedWriteLock lock(*(ps->getReadWriteMutex())); - if (!ps->isFrozen() && (ps->getLastFrameNumber() >= (nv.getFrameStamp()->getFrameNumber() - 1) || !ps->getFreezeOnCull())) + // We need to allow at least 2 frames difference, because the particle system's lastFrameNumber + // is updated in the draw thread which may not have completed yet. + if (!ps->isFrozen() && + (!ps->getFreezeOnCull() || ((nv.getFrameStamp()->getFrameNumber()-ps->getLastFrameNumber()) <= 2)) ) { ps->update(t - _t0, nv); } diff --git a/src/osgPlugins/3ds/ReaderWriter3DS.cpp b/src/osgPlugins/3ds/ReaderWriter3DS.cpp index 71867d8edb9..3149a7ca4d9 100644 --- a/src/osgPlugins/3ds/ReaderWriter3DS.cpp +++ b/src/osgPlugins/3ds/ReaderWriter3DS.cpp @@ -1340,7 +1340,7 @@ ReaderWriter3DS::StateSetInfo ReaderWriter3DS::ReaderObject::createStateSet(Lib3 // rebuild the texture with alpha channel (rescale according to map amount) for (int i=0, j=0; isetImage(osg_image->s(),osg_image->t(),osg_image->r(), GL_RGBA, GL_RGBA, GL_UNSIGNED_BYTE, img_data, osg::Image::USE_NEW_DELETE); opacity_map->setImage(osg_image.get()); diff --git a/src/osgPlugins/3ds/WriterNodeVisitor.cpp b/src/osgPlugins/3ds/WriterNodeVisitor.cpp index 7d760c8b8d8..dc62589a9ac 100644 --- a/src/osgPlugins/3ds/WriterNodeVisitor.cpp +++ b/src/osgPlugins/3ds/WriterNodeVisitor.cpp @@ -136,7 +136,6 @@ class PrimitiveIndexWriter : public osg::PrimitiveIndexFunctor _listTriangles(listTriangles), _hasNormalCoords(geo->getNormalArray() != NULL), _hasTexCoords(geo->getTexCoordArray(0) != NULL), - _geo(geo), _lastFaceIndex(0), _material(material) { @@ -288,7 +287,6 @@ class PrimitiveIndexWriter : public osg::PrimitiveIndexFunctor GLenum _modeCache; std::vector _indexCache; bool _hasNormalCoords, _hasTexCoords; - osg::Geometry* _geo; unsigned int _lastFaceIndex; unsigned int _material; }; diff --git a/src/osgPlugins/CMakeLists.txt b/src/osgPlugins/CMakeLists.txt index 151f49b0e0e..f2ca656c3ec 100644 --- a/src/osgPlugins/CMakeLists.txt +++ b/src/osgPlugins/CMakeLists.txt @@ -266,7 +266,7 @@ ADD_SUBDIRECTORY(osc) ADD_SUBDIRECTORY(trk) ADD_SUBDIRECTORY(tf) -IF(Boost_INCLUDE_DIR AND LIBLAS_FOUND) +IF(LIBLAS_FOUND) ADD_SUBDIRECTORY(las) ENDIF() diff --git a/src/osgPlugins/Inventor/ConvertFromInventor.cpp b/src/osgPlugins/Inventor/ConvertFromInventor.cpp index b77c3e6b7f1..9d202a62ca1 100644 --- a/src/osgPlugins/Inventor/ConvertFromInventor.cpp +++ b/src/osgPlugins/Inventor/ConvertFromInventor.cpp @@ -1088,7 +1088,7 @@ static osgDB::ReaderWriter::Options* createOptions() static osg::Image* loadImage(const char *fileName, osgDB::ReaderWriter::Options *options) { - osg::ref_ptr osgImage = osgDB::readImageFile(fileName, options); + osg::ref_ptr osgImage = osgDB::readRefImageFile(fileName, options); if (!osgImage) { diff --git a/src/osgPlugins/OpenFlight/FltExportVisitor.cpp b/src/osgPlugins/OpenFlight/FltExportVisitor.cpp index 7b794708301..04fecda4dcc 100644 --- a/src/osgPlugins/OpenFlight/FltExportVisitor.cpp +++ b/src/osgPlugins/OpenFlight/FltExportVisitor.cpp @@ -68,7 +68,7 @@ FltExportVisitor::FltExportVisitor( DataOutputStream* dos, _dos( *dos ), _materialPalette( new MaterialPaletteManager( *fltOpt ) ), _texturePalette( new TexturePaletteManager( *this, *fltOpt ) ), - _lightSourcePalette( new LightSourcePaletteManager( *fltOpt ) ), + _lightSourcePalette( new LightSourcePaletteManager( ) ), _vertexPalette( new VertexPaletteManager( *fltOpt ) ), _firstNode( true ) { diff --git a/src/osgPlugins/OpenFlight/GeometryRecords.cpp b/src/osgPlugins/OpenFlight/GeometryRecords.cpp index 575d3faebf4..8006d0c3c4a 100644 --- a/src/osgPlugins/OpenFlight/GeometryRecords.cpp +++ b/src/osgPlugins/OpenFlight/GeometryRecords.cpp @@ -362,7 +362,7 @@ class Face : public PrimaryRecord int materialIndex = in.readInt16(-1); int16 surface = in.readInt16(); int16 feature = in.readInt16(); - /*int32 IRMaterial =*/ in.readInt32(-1); + int32 IRMaterial = in.readInt32(); _transparency = in.readUInt16(0); // version > 13 /*uint8 influenceLOD =*/ in.readUInt8(); @@ -457,6 +457,12 @@ class Face : public PrimaryRecord _geometry->setUserValue("", IRColor); } + // IR Material ID (IRM) + if (document.getPreserveNonOsgAttrsAsUserData() && 0 != IRMaterial) + { + _geometry->setUserValue("", IRMaterial); + } + // surface (SMC) if (document.getPreserveNonOsgAttrsAsUserData() && 0 != surface) { diff --git a/src/osgPlugins/OpenFlight/LightSourcePaletteManager.cpp b/src/osgPlugins/OpenFlight/LightSourcePaletteManager.cpp index 6d4f3a9cd84..0cf1571a2e7 100644 --- a/src/osgPlugins/OpenFlight/LightSourcePaletteManager.cpp +++ b/src/osgPlugins/OpenFlight/LightSourcePaletteManager.cpp @@ -28,10 +28,8 @@ namespace flt { -LightSourcePaletteManager::LightSourcePaletteManager( ExportOptions& fltOpt ) - : _currIndex( -1 ), - _fltOpt( fltOpt ) - +LightSourcePaletteManager::LightSourcePaletteManager() + : _currIndex( -1 ) { // TODO: Pay attention to the version here(?) } diff --git a/src/osgPlugins/OpenFlight/LightSourcePaletteManager.h b/src/osgPlugins/OpenFlight/LightSourcePaletteManager.h index 1e4fc767d60..24f028ff835 100644 --- a/src/osgPlugins/OpenFlight/LightSourcePaletteManager.h +++ b/src/osgPlugins/OpenFlight/LightSourcePaletteManager.h @@ -36,7 +36,7 @@ class DataOutputStream; class LightSourcePaletteManager { public: - LightSourcePaletteManager( ExportOptions& fltOpt ); + LightSourcePaletteManager(); // Add a light to the palette and auto-assign it the next available index int add(osg::Light const* light); @@ -64,9 +64,6 @@ class LightSourcePaletteManager typedef std::map LightPalette; LightPalette _lightPalette; - - ExportOptions& _fltOpt; - protected: LightSourcePaletteManager& operator = (const LightSourcePaletteManager&) { return *this; } diff --git a/src/osgPlugins/OpenFlight/PaletteRecords.cpp b/src/osgPlugins/OpenFlight/PaletteRecords.cpp index 0afcdaf9126..659736a4e8f 100644 --- a/src/osgPlugins/OpenFlight/PaletteRecords.cpp +++ b/src/osgPlugins/OpenFlight/PaletteRecords.cpp @@ -220,7 +220,15 @@ class MaterialPalette : public Record material->setDiffuse (osg::Material::FRONT_AND_BACK,osg::Vec4(diffuse,alpha)); material->setSpecular(osg::Material::FRONT_AND_BACK,osg::Vec4(specular,alpha)); material->setEmission(osg::Material::FRONT_AND_BACK,osg::Vec4(emissive,alpha)); - material->setShininess(osg::Material::FRONT_AND_BACK,shininess); + + if (shininess>=0.0f) + { + material->setShininess(osg::Material::FRONT_AND_BACK,shininess); + } + else + { + OSG_INFO<<"Warning: OpenFlight shininess value out of range: "<setDiffuse (osg::Material::FRONT_AND_BACK,osg::Vec4(diffuse,alpha)); material->setSpecular(osg::Material::FRONT_AND_BACK,osg::Vec4(specular,alpha)); material->setEmission(osg::Material::FRONT_AND_BACK,osg::Vec4(emissive,alpha)); - material->setShininess(osg::Material::FRONT_AND_BACK,shininess); + + if (shininess>=0.0f) + { + material->setShininess(osg::Material::FRONT_AND_BACK,shininess); + } + else + { + OSG_INFO<<"Warning: OpenFlight shininess value out of range: "< attr = dynamic_cast(osgDB::readObjectFile(attrname,document.getOptions())); + osg::ref_ptr attr = osgDB::readRefFile(attrname,document.getOptions()); if (attr.valid()) { // Wrap mode @@ -883,7 +899,7 @@ class ShaderPalette : public Record std::string vertexProgramFilePath = osgDB::findDataFile(vertexProgramFilename,document.getOptions()); if (!vertexProgramFilePath.empty()) { - osg::Shader* vertexShader = osg::Shader::readShaderFile(osg::Shader::VERTEX, vertexProgramFilePath); + osg::ref_ptr vertexShader = osgDB::readRefShaderFile(osg::Shader::VERTEX, vertexProgramFilePath); if (vertexShader) program->addShader( vertexShader ); } @@ -897,7 +913,7 @@ class ShaderPalette : public Record std::string fragmentProgramFilePath = osgDB::findDataFile(fragmentProgramFilename,document.getOptions()); if (!fragmentProgramFilePath.empty()) { - osg::Shader* fragmentShader = osg::Shader::readShaderFile(osg::Shader::FRAGMENT, fragmentProgramFilePath); + osg::ref_ptr fragmentShader = osgDB::readRefShaderFile(osg::Shader::FRAGMENT, fragmentProgramFilePath); if (fragmentShader) program->addShader( fragmentShader ); } diff --git a/src/osgPlugins/OpenFlight/PrimaryRecords.cpp b/src/osgPlugins/OpenFlight/PrimaryRecords.cpp index 4c72d7f335f..8e8594a7a51 100644 --- a/src/osgPlugins/OpenFlight/PrimaryRecords.cpp +++ b/src/osgPlugins/OpenFlight/PrimaryRecords.cpp @@ -952,14 +952,15 @@ class Object : public PrimaryRecord if (_parent.valid()) { // LODs adds an empty child group so it is safe to remove this object record. - if (typeid(*_parent)==typeid(flt::LevelOfDetail)) + PrimaryRecord* parent = _parent.get(); + if (typeid(parent)==typeid(flt::LevelOfDetail)) return true; - if (typeid(*_parent)==typeid(flt::OldLevelOfDetail)) + if (typeid(parent)==typeid(flt::OldLevelOfDetail)) return true; // If parent is a Group record we have to check for animation. - Group* parentGroup = dynamic_cast(_parent.get()); + Group* parentGroup = dynamic_cast(parent); if (parentGroup && !parentGroup->hasAnimation()) return true; } diff --git a/src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp b/src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp index 8a76f50a74f..912b3f4d8c4 100644 --- a/src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp +++ b/src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp @@ -12,7 +12,7 @@ */ // -// OpenFlight� loader for OpenSceneGraph +// OpenFlight loader for OpenSceneGraph // // Copyright (C) 2005-2007 Brede Johansen // @@ -174,7 +174,7 @@ class ReadExternalsVisitor : public osg::NodeVisitor std::string filename = node.getFileName(pos); // read external - osg::ref_ptr external = osgDB::readNodeFile(filename,_options.get()); + osg::ref_ptr external = osgDB::readRefNodeFile(filename,_options.get()); if (external.valid()) { if (_cloneExternalReferences) @@ -374,8 +374,8 @@ class FLTReaderWriter : public ReaderWriter document.setUseTextureAlphaForTransparancyBinning(options->getOptionString().find("noTextureAlphaForTransparancyBinning")==std::string::npos); OSG_DEBUG << readerMsg << "noTextureAlphaForTransparancyBinning=" << !document.getUseTextureAlphaForTransparancyBinning() << std::endl; - document.setReadObjectRecordData(options->getOptionString().find("readObjectRecordData")==std::string::npos); - OSG_DEBUG << readerMsg << "readObjectRecordData=" << !document.getReadObjectRecordData() << std::endl; + document.setReadObjectRecordData(options->getOptionString().find("readObjectRecordData")!=std::string::npos); + OSG_DEBUG << readerMsg << "readObjectRecordData=" << document.getReadObjectRecordData() << std::endl; document.setPreserveNonOsgAttrsAsUserData((options->getOptionString().find("preserveNonOsgAttrsAsUserData")!=std::string::npos)); OSG_DEBUG << readerMsg << "preserveNonOsgAttrsAsUserData=" << document.getPreserveNonOsgAttrsAsUserData() << std::endl; diff --git a/src/osgPlugins/OpenFlight/Record.cpp b/src/osgPlugins/OpenFlight/Record.cpp index a1e339ac922..0bc1cbc8d41 100644 --- a/src/osgPlugins/OpenFlight/Record.cpp +++ b/src/osgPlugins/OpenFlight/Record.cpp @@ -12,7 +12,7 @@ */ // -// OpenFlight loader for OpenSceneGraph +// OpenFlight loader for OpenSceneGraph // // Copyright (C) 2005-2007 Brede Johansen // @@ -84,14 +84,6 @@ void flt::insertMatrixTransform(osg::Node& node, const osg::Matrix& matrix, int osg::ref_ptr ref = &node; osg::Node::ParentList parents = node.getParents(); - // Disconnect node from parents. - for (osg::Node::ParentList::iterator itr=parents.begin(); - itr!=parents.end(); - ++itr) - { - (*itr)->removeChild(&node); - } - // Start without transformation if replication. osg::Matrix accumulatedMatrix = (numberOfReplications > 0)? osg::Matrix::identity() : matrix; @@ -106,7 +98,7 @@ void flt::insertMatrixTransform(osg::Node& node, const osg::Matrix& matrix, int itr!=parents.end(); ++itr) { - (*itr)->addChild(transform.get()); + (*itr)->replaceChild(&node, transform.get()); } // Make primary a child of matrix transform. diff --git a/src/osgPlugins/OpenFlight/expPrimaryRecords.cpp b/src/osgPlugins/OpenFlight/expPrimaryRecords.cpp index f46d1732213..9aa1f407444 100644 --- a/src/osgPlugins/OpenFlight/expPrimaryRecords.cpp +++ b/src/osgPlugins/OpenFlight/expPrimaryRecords.cpp @@ -163,10 +163,10 @@ FltExportVisitor::writeHeader( const std::string& headerName ) // Group flags static const unsigned int FORWARD_ANIM = 0x80000000u >> 1; static const unsigned int SWING_ANIM = 0x80000000u >> 2; -static const unsigned int BOUND_BOX_FOLLOW = 0x80000000u >> 3; -static const unsigned int FREEZE_BOUND_BOX = 0x80000000u >> 4; -static const unsigned int DEFAULT_PARENT = 0x80000000u >> 5; -static const unsigned int BACKWARD_ANIM = 0x80000000u >> 6; +//static const unsigned int BOUND_BOX_FOLLOW = 0x80000000u >> 3; +//static const unsigned int FREEZE_BOUND_BOX = 0x80000000u >> 4; +//static const unsigned int DEFAULT_PARENT = 0x80000000u >> 5; +//static const unsigned int BACKWARD_ANIM = 0x80000000u >> 6; // @@ -402,8 +402,8 @@ FltExportVisitor::writeDegreeOfFreedom( const osgSim::DOFTransform* dof ) static const unsigned long COLOR_PALETTE_OVERRIDE = 0x80000000u >> 0; static const unsigned long MATERIAL_PALETTE_OVERRIDE = 0x80000000u >> 1; static const unsigned long TEXTURE_PALETTE_OVERRIDE = 0x80000000u >> 2; -static const unsigned long LINE_STYLE_PALETTE_OVERRIDE = 0x80000000u >> 3; -static const unsigned long SOUND_PALETTE_OVERRIDE = 0x80000000u >> 4; +//static const unsigned long LINE_STYLE_PALETTE_OVERRIDE = 0x80000000u >> 3; +//static const unsigned long SOUND_PALETTE_OVERRIDE = 0x80000000u >> 4; static const unsigned long LIGHT_SOURCE_PALETTE_OVERRIDE = 0x80000000u >> 5; static const unsigned long LIGHT_POINT_PALETTE_OVERRIDE = 0x80000000u >> 6; static const unsigned long SHADER_PALETTE_OVERRIDE = 0x80000000u >> 7; diff --git a/src/osgPlugins/bsp/VBSPEntity.cpp b/src/osgPlugins/bsp/VBSPEntity.cpp index 8127f146da6..443d12e5576 100644 --- a/src/osgPlugins/bsp/VBSPEntity.cpp +++ b/src/osgPlugins/bsp/VBSPEntity.cpp @@ -518,7 +518,7 @@ ref_ptr VBSPEntity::createModelGeometry() ref_ptr entityGroup; // Try to load the model - modelNode = osgDB::readNodeFile(entity_model); + modelNode = osgDB::readRefNodeFile(entity_model); if (modelNode.valid()) { // Create a group and add the model to it diff --git a/src/osgPlugins/bsp/VBSPReader.cpp b/src/osgPlugins/bsp/VBSPReader.cpp index 8db6607f2f0..df60ded4051 100644 --- a/src/osgPlugins/bsp/VBSPReader.cpp +++ b/src/osgPlugins/bsp/VBSPReader.cpp @@ -1094,7 +1094,7 @@ void VBSPReader::createScene() // Load the prop's model propModel = bsp_data->getStaticPropModel(staticProp.prop_type); - propNode = osgDB::readNodeFile(propModel); + propNode = osgDB::readRefNodeFile(propModel); // If we loaded the prop correctly, add it to the scene if (propNode.valid()) diff --git a/src/osgPlugins/curl/ReaderWriterCURL.cpp b/src/osgPlugins/curl/ReaderWriterCURL.cpp index c682a76c50a..85cf2aa0323 100644 --- a/src/osgPlugins/curl/ReaderWriterCURL.cpp +++ b/src/osgPlugins/curl/ReaderWriterCURL.cpp @@ -381,10 +381,11 @@ ReaderWriterCURL::ReaderWriterCURL() supportsExtension("curl","Pseudo file extension, used to select curl plugin."); supportsExtension("*","Passes all read files to other plugins to handle actual model loading."); - supportsOption("OSG_CURL_PROXY","Specify the http proxy."); - supportsOption("OSG_CURL_PROXYPORT","Specify the http proxy port."); - supportsOption("OSG_CURL_CONNECTTIMEOUT","Specify the connection timeout duration in seconds [default = 0 = not set]."); - supportsOption("OSG_CURL_TIMEOUT","Specify the timeout duration of the whole transfer in seconds [default = 0 = not set]."); + + supportsEnvironment("OSG_CURL_PROXY","Specify the http proxy."); + supportsEnvironment("OSG_CURL_PROXYPORT","Specify the http proxy port."); + supportsEnvironment("OSG_CURL_CONNECTTIMEOUT","Specify the connection timeout duration in seconds [default = 0 = not set]."); + supportsEnvironment("OSG_CURL_TIMEOUT","Specify the timeout duration of the whole transfer in seconds [default = 0 = not set]."); } ReaderWriterCURL::~ReaderWriterCURL() diff --git a/src/osgPlugins/dae/daeRMaterials.cpp b/src/osgPlugins/dae/daeRMaterials.cpp index 59c16a59957..158ca35efd7 100644 --- a/src/osgPlugins/dae/daeRMaterials.cpp +++ b/src/osgPlugins/dae/daeRMaterials.cpp @@ -39,7 +39,7 @@ using namespace ColladaDOM141; #endif template -void daeReader::getTransparencyCounts(daeDatabase* database, int& zero, int& one) const +void daeReader::getTransparencyCounts(daeDatabase* database, int& transparentCount, int& opaqueCount) const { std::vector constantVec; database->typeLookup(constantVec); @@ -51,7 +51,7 @@ void daeReader::getTransparencyCounts(daeDatabase* database, int& zero, int& one domFx_opaque_enum opaque = pTransparent->getOpaque(); if (opaque == FX_OPAQUE_ENUM_RGB_ZERO) { - ++one; + ++opaqueCount; continue; } } @@ -77,11 +77,11 @@ void daeReader::getTransparencyCounts(daeDatabase* database, int& zero, int& one if (transparency < 0.01f) { - ++zero; + ++transparentCount; } else if (transparency > 0.99f) { - ++one; + ++opaqueCount; } } @@ -91,13 +91,13 @@ void daeReader::getTransparencyCounts(daeDatabase* database, int& zero, int& one bool daeReader::findInvertTransparency(daeDatabase* database) const { - int zero = 0, one = 0; - getTransparencyCounts(database, zero, one); - getTransparencyCounts(database, zero, one); - getTransparencyCounts(database, zero, one); - getTransparencyCounts(database, zero, one); + int transparentCount = 0, opaqueCount = 0; + getTransparencyCounts(database, transparentCount, opaqueCount); + getTransparencyCounts(database, transparentCount, opaqueCount); + getTransparencyCounts(database, transparentCount, opaqueCount); + getTransparencyCounts(database, transparentCount, opaqueCount); - return zero > one; + return transparentCount > opaqueCount; } // diff --git a/src/osgPlugins/dicom/CMakeLists.txt b/src/osgPlugins/dicom/CMakeLists.txt index 55c2a57ffd6..5932fa1aa11 100644 --- a/src/osgPlugins/dicom/CMakeLists.txt +++ b/src/osgPlugins/dicom/CMakeLists.txt @@ -10,7 +10,7 @@ IF (DCMTK_FOUND) ADD_DEFINITIONS(-DUSE_DCMTK) IF (WIN32) - SET(TARGET_EXTERNAL_LIBRARIES wsock32.lib) + SET(TARGET_EXTERNAL_LIBRARIES wsock32.lib ws2_32.lib) ENDIF() ELSEIF(ITK_FOUND) @@ -29,7 +29,7 @@ ENDIF() SET(TARGET_ADDED_LIBRARIES osgVolume ) IF(CMAKE_COMPILER_IS_GNUCXX) - # Remove -pedantic flag as it barfs on ffmoeg headers + # Remove -pedantic flag as it barfs on ffmpeg headers STRING(REGEX REPLACE "-pedantic" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") ENDIF() diff --git a/src/osgPlugins/dxf/dxfReader.cpp b/src/osgPlugins/dxf/dxfReader.cpp index 9a8c9ceb6a9..bce713b7251 100644 --- a/src/osgPlugins/dxf/dxfReader.cpp +++ b/src/osgPlugins/dxf/dxfReader.cpp @@ -85,7 +85,7 @@ bool readerText::success(bool inSuccess, string type) bool readerText::getTrimmedLine(std::ifstream& f) { - static string line = ""; + std::string line; if (getline(f, line, _delim)) { ++_lineCount; _str.clear(); diff --git a/src/osgPlugins/fbx/ReaderWriterFBX.h b/src/osgPlugins/fbx/ReaderWriterFBX.h index c5dbf5fc278..99853470c46 100644 --- a/src/osgPlugins/fbx/ReaderWriterFBX.h +++ b/src/osgPlugins/fbx/ReaderWriterFBX.h @@ -8,7 +8,7 @@ /////////////////////////////////////////////////////////////////////////// // OSG reader plugin for the ".fbx" format. // See http://www.autodesk.com/fbx -// This plugin requires the FBX SDK version 2013.3 or 2014.1 +// This plugin requires the FBX SDK version 2013.3 or 2014.1 or later #if FBXSDK_VERSION_MAJOR < 2013 || (FBXSDK_VERSION_MAJOR == 2013 && FBXSDK_VERSION_MINOR < 3) #error Wrong FBX SDK version diff --git a/src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp b/src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp index 12f8b65dae6..88a277f5ebf 100644 --- a/src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp +++ b/src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp @@ -62,7 +62,7 @@ FbxMaterialToOsgStateSet::convert(const FbxSurfaceMaterial* pFbxMat) if (transparentColor[0] < 1.0 || transparentColor[1] < 1.0 || transparentColor[2] < 1.0) { transparencyColorFactor = transparentColor[0]*0.30 + transparentColor[1]*0.59 + transparentColor[2]*0.11; useTransparencyColorFactor = true; - } + } int lNbTex = lOpacityProperty.GetSrcObjectCount(); for (int lTextureIndex = 0; lTextureIndex < lNbTex; lTextureIndex++) @@ -187,7 +187,7 @@ FbxMaterialToOsgStateSet::convert(const FbxSurfaceMaterial* pFbxMat) static_cast(color[1] * factor), static_cast(color[2] * factor), 1.0f)); - // Since Maya and 3D studio Max stores their glossiness values in exponential format (2^(log2(x)) + // Since Maya and 3D studio Max stores their glossiness values in exponential format (2^(log2(x)) // We need to linearize to values between 0-100 and then scale to values between 0-128. // Glossiness values above 100 will result in shininess larger than 128.0 and will be clamped double shininess = (64.0 * log (pFbxPhong->Shininess.Get())) / (5.0 * log(2.0)); @@ -226,9 +226,9 @@ FbxMaterialToOsgStateSet::fbxTextureToOsgTexture(const FbxFileTexture* fbx) // Warning: fbx->GetRelativeFileName() is relative TO EXECUTION DIR // fbx->GetFileName() is as stored initially in the FBX - if ((pImage = osgDB::readImageFile(osgDB::concatPaths(_dir, fbx->GetFileName()), _options)) || // First try "export dir/name" - (pImage = osgDB::readImageFile(fbx->GetFileName(), _options)) || // Then try "name" (if absolute) - (pImage = osgDB::readImageFile(osgDB::concatPaths(_dir, fbx->GetRelativeFileName()), _options))) // Else try "current dir/name" + if ((pImage = osgDB::readRefImageFile(osgDB::concatPaths(_dir, fbx->GetFileName()), _options)) || // First try "export dir/name" + (pImage = osgDB::readRefImageFile(fbx->GetFileName(), _options)) || // Then try "name" (if absolute) + (pImage = osgDB::readRefImageFile(osgDB::concatPaths(_dir, fbx->GetRelativeFileName()), _options))) // Else try "current dir/name" { osg::ref_ptr pOsgTex = new osg::Texture2D; pOsgTex->setImage(pImage.get()); diff --git a/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp b/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp index 665c68f5fc1..636bddd2546 100644 --- a/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp +++ b/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp @@ -227,8 +227,7 @@ printf("### CONVERTING from sample format %s TO %s\n\t\tFROM %d TO %d channels\n if (avcodec_open2(m_context, p_codec, NULL) < 0) throw std::runtime_error("avcodec_open() failed"); - m_context->get_buffer = avcodec_default_get_buffer; - m_context->release_buffer = avcodec_default_release_buffer; + m_context->get_buffer2 = avcodec_default_get_buffer2; } diff --git a/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp b/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp index 9375657aab6..083d3dbf544 100644 --- a/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp +++ b/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp @@ -71,7 +71,7 @@ void FFmpegDecoderVideo::open(AVStream * const stream) findAspectRatio(); // Find out whether we support Alpha channel - m_alpha_channel = (m_context->pix_fmt == PIX_FMT_YUVA420P); + m_alpha_channel = (m_context->pix_fmt == AV_PIX_FMT_YUVA420P); // Find out the framerate #if LIBAVCODEC_VERSION_MAJOR >= 56 @@ -95,20 +95,19 @@ void FFmpegDecoderVideo::open(AVStream * const stream) throw std::runtime_error("avcodec_open() failed"); // Allocate video frame - m_frame.reset(avcodec_alloc_frame()); + m_frame.reset(av_frame_alloc()); // Allocate converted RGB frame - m_frame_rgba.reset(avcodec_alloc_frame()); - m_buffer_rgba[0].resize(avpicture_get_size(PIX_FMT_RGB24, width(), height())); + m_frame_rgba.reset(av_frame_alloc()); + m_buffer_rgba[0].resize(avpicture_get_size(AV_PIX_FMT_RGB24, width(), height())); m_buffer_rgba[1].resize(m_buffer_rgba[0].size()); // Assign appropriate parts of the buffer to image planes in m_frame_rgba - avpicture_fill((AVPicture *) (m_frame_rgba).get(), &(m_buffer_rgba[0])[0], PIX_FMT_RGB24, width(), height()); + avpicture_fill((AVPicture *) (m_frame_rgba).get(), &(m_buffer_rgba[0])[0], AV_PIX_FMT_RGB24, width(), height()); // Override get_buffer()/release_buffer() from codec context in order to retrieve the PTS of each frame. m_context->opaque = this; - m_context->get_buffer = getBuffer; - m_context->release_buffer = releaseBuffer; + m_context->get_buffer2 = getBuffer; } @@ -267,8 +266,8 @@ int FFmpegDecoderVideo::convert(AVPicture *dst, int dst_pix_fmt, AVPicture *src, #ifdef USE_SWSCALE if (m_swscale_ctx==0) { - m_swscale_ctx = sws_getContext(src_width, src_height, (PixelFormat) src_pix_fmt, - src_width, src_height, (PixelFormat) dst_pix_fmt, + m_swscale_ctx = sws_getContext(src_width, src_height, (AVPixelFormat) src_pix_fmt, + src_width, src_height, (AVPixelFormat) dst_pix_fmt, /*SWS_BILINEAR*/ SWS_BICUBIC, NULL, NULL, NULL); } @@ -315,14 +314,14 @@ void FFmpegDecoderVideo::publishFrame(const double delay, bool audio_disabled) AVPicture * const dst = (AVPicture *) m_frame_rgba.get(); // Assign appropriate parts of the buffer to image planes in m_frame_rgba - avpicture_fill((AVPicture *) (m_frame_rgba).get(), &(m_buffer_rgba[m_writeBuffer])[0], PIX_FMT_RGB24, width(), height()); + avpicture_fill((AVPicture *) (m_frame_rgba).get(), &(m_buffer_rgba[m_writeBuffer])[0], AV_PIX_FMT_RGB24, width(), height()); // Convert YUVA420p (i.e. YUV420p plus alpha channel) using our own routine - if (m_context->pix_fmt == PIX_FMT_YUVA420P) + if (m_context->pix_fmt == AV_PIX_FMT_YUVA420P) yuva420pToRgba(dst, src, width(), height()); else - convert(dst, PIX_FMT_RGB24, src, m_context->pix_fmt, width(), height()); + convert(dst, AV_PIX_FMT_RGB24, src, m_context->pix_fmt, width(), height()); // Wait 'delay' seconds before publishing the picture. int i_delay = static_cast(delay * 1000000 + 0.5); @@ -349,7 +348,7 @@ void FFmpegDecoderVideo::publishFrame(const double delay, bool audio_disabled) void FFmpegDecoderVideo::yuva420pToRgba(AVPicture * const dst, AVPicture * const src, int width, int height) { - convert(dst, PIX_FMT_RGB24, src, m_context->pix_fmt, width, height); + convert(dst, AV_PIX_FMT_RGB24, src, m_context->pix_fmt, width, height); const size_t bpp = 4; @@ -367,31 +366,28 @@ void FFmpegDecoderVideo::yuva420pToRgba(AVPicture * const dst, AVPicture * const } } - - -int FFmpegDecoderVideo::getBuffer(AVCodecContext * const context, AVFrame * const picture) +int FFmpegDecoderVideo::getBuffer(AVCodecContext * const context, AVFrame * const picture, int flags) { + AVBufferRef *ref; const FFmpegDecoderVideo * const this_ = reinterpret_cast(context->opaque); - const int result = avcodec_default_get_buffer(context, picture); + const int result = avcodec_default_get_buffer2(context, picture, flags); int64_t * p_pts = reinterpret_cast( av_malloc(sizeof(int64_t)) ); *p_pts = this_->m_packet_pts; picture->opaque = p_pts; + ref = av_buffer_create((uint8_t *)picture->opaque, sizeof(int64_t), FFmpegDecoderVideo::freeBuffer, picture->buf[0], flags); + picture->buf[0] = ref; + return result; } - - -void FFmpegDecoderVideo::releaseBuffer(AVCodecContext * const context, AVFrame * const picture) +void FFmpegDecoderVideo::freeBuffer(void *opaque, uint8_t *data) { - if (picture != 0) - av_freep(&picture->opaque); - - avcodec_default_release_buffer(context, picture); + AVBufferRef *ref = (AVBufferRef *)opaque; + av_buffer_unref(&ref); + av_free(data); } - - } // namespace osgFFmpeg diff --git a/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp b/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp index 7883b177c90..778c1a9b8cb 100644 --- a/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp +++ b/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp @@ -94,8 +94,8 @@ class FFmpegDecoderVideo : public OpenThreads::Thread int src_pix_fmt, int src_width, int src_height); - static int getBuffer(AVCodecContext * context, AVFrame * picture); - static void releaseBuffer(AVCodecContext * context, AVFrame * picture); + static int getBuffer(AVCodecContext * context, AVFrame * picture, int flags); + static void freeBuffer(void * opaque, uint8_t *data); PacketQueue & m_packets; FFmpegClocks & m_clocks; diff --git a/src/osgPlugins/ffmpeg/FFmpegParameters.cpp b/src/osgPlugins/ffmpeg/FFmpegParameters.cpp index 288e4405262..5915ab850bc 100644 --- a/src/osgPlugins/ffmpeg/FFmpegParameters.cpp +++ b/src/osgPlugins/ffmpeg/FFmpegParameters.cpp @@ -19,7 +19,7 @@ extern "C" #include } -inline PixelFormat osg_av_get_pix_fmt(const char *name) { return av_get_pix_fmt(name); } +inline AVPixelFormat osg_av_get_pix_fmt(const char *name) { return av_get_pix_fmt(name); } namespace osgFFmpeg { diff --git a/src/osgPlugins/freetype/FreeTypeFont.cpp b/src/osgPlugins/freetype/FreeTypeFont.cpp index eded9a976b3..df5e8272d86 100644 --- a/src/osgPlugins/freetype/FreeTypeFont.cpp +++ b/src/osgPlugins/freetype/FreeTypeFont.cpp @@ -36,7 +36,8 @@ struct Char3DInfo _maxX(-FLT_MAX), _minX(FLT_MAX), _minY(FLT_MAX), - _coord_scale(1.0/64.0) + _coord_scale(1.0/64.0), + _reverseFill(false) { _geometry->setVertexArray(_verts.get()); } @@ -49,6 +50,17 @@ struct Char3DInfo { if (_currentPrimitiveSet.valid() && _currentPrimitiveSet->size()>1) { + if (_reverseFill) + { + for ( int near = 0, far = _currentPrimitiveSet->size() - 1; + near < far; + near++, far--) + { + std::swap((*_currentPrimitiveSet)[near], + (*_currentPrimitiveSet)[far]); + } + } + _geometry->addPrimitiveSet( _currentPrimitiveSet.get() ); } _currentPrimitiveSet = 0; @@ -168,7 +180,7 @@ struct Char3DInfo double _minX; double _minY; double _coord_scale; - + bool _reverseFill; }; @@ -432,7 +444,7 @@ osgText::Glyph3D * FreeTypeFont::getGlyph3D(unsigned int charcode) } } - FT_Error error = FT_Load_Char( _face, charindex, FT_LOAD_DEFAULT|_flags ); + FT_Error error = FT_Load_Char( _face, charindex, FT_LOAD_DEFAULT | FT_LOAD_NO_HINTING | _flags ); if (error) { OSG_WARN << "FT_Load_Char(...) error 0x"<(length)]; fontstream.read(reinterpret_cast(buffer), length); if (!fontstream || (static_cast(fontstream.gcount()) != length)) { diff --git a/src/osgPlugins/freetype/ReaderWriterFreeType.cpp b/src/osgPlugins/freetype/ReaderWriterFreeType.cpp index c31de8d4507..bdb8f7cf337 100644 --- a/src/osgPlugins/freetype/ReaderWriterFreeType.cpp +++ b/src/osgPlugins/freetype/ReaderWriterFreeType.cpp @@ -20,6 +20,7 @@ class ReaderWriterFreeType : public osgDB::ReaderWriter supportsExtension("fon","Windows bitmap fonts format"); supportsExtension("fnt","Windows bitmap fonts format"); supportsExtension("text3d","use 3D Font instead of 2D Font"); + supportsExtension("woff","web open font format"); supportsOption("monochrome","Select monochrome font."); } diff --git a/src/osgPlugins/gdal/ReaderWriterGDAL.cpp b/src/osgPlugins/gdal/ReaderWriterGDAL.cpp index 1d41c903dae..30b046dbe0a 100644 --- a/src/osgPlugins/gdal/ReaderWriterGDAL.cpp +++ b/src/osgPlugins/gdal/ReaderWriterGDAL.cpp @@ -256,7 +256,7 @@ class ReaderWriterGDAL : public osgDB::ReaderWriter int internalFormat = GL_LUMINANCE; unsigned int pixelFormat = GL_LUMINANCE; unsigned int dataType = 0; - unsigned int numBytesPerPixel = 0; + unsigned int numBytesPerComponent = 0; GDALDataType targetGDALType = GDT_Byte; @@ -327,14 +327,14 @@ class ReaderWriterGDAL : public osgDB::ReaderWriter targetGDALType = band->GetRasterDataType(); switch(band->GetRasterDataType()) { - case(GDT_Byte): dataType = GL_UNSIGNED_BYTE; numBytesPerPixel = 1; break; - case(GDT_UInt16): dataType = GL_UNSIGNED_SHORT; numBytesPerPixel = 2; break; - case(GDT_Int16): dataType = GL_SHORT; numBytesPerPixel = 2; break; - case(GDT_UInt32): dataType = GL_UNSIGNED_INT; numBytesPerPixel = 4; break; - case(GDT_Int32): dataType = GL_INT; numBytesPerPixel = 4; break; - case(GDT_Float32): dataType = GL_FLOAT; numBytesPerPixel = 4; break; - case(GDT_Float64): dataType = GL_DOUBLE; numBytesPerPixel = 8; break; // not handled - default: dataType = 0; numBytesPerPixel = 0; break; // not handled + case(GDT_Byte): dataType = GL_UNSIGNED_BYTE; numBytesPerComponent = 1; break; + case(GDT_UInt16): dataType = GL_UNSIGNED_SHORT; numBytesPerComponent = 2; break; + case(GDT_Int16): dataType = GL_SHORT; numBytesPerComponent = 2; break; + case(GDT_UInt32): dataType = GL_UNSIGNED_INT; numBytesPerComponent = 4; break; + case(GDT_Int32): dataType = GL_INT; numBytesPerComponent = 4; break; + case(GDT_Float32): dataType = GL_FLOAT; numBytesPerComponent = 4; break; + case(GDT_Float64): dataType = GL_DOUBLE; numBytesPerComponent = 8; break; // not handled + default: dataType = 0; numBytesPerComponent = 0; break; // not handled } } } @@ -348,7 +348,7 @@ class ReaderWriterGDAL : public osgDB::ReaderWriter if (dataType==0) { dataType = GL_UNSIGNED_BYTE; - numBytesPerPixel = 1; + numBytesPerComponent = 1; targetGDALType = GDT_Byte; } @@ -360,7 +360,7 @@ class ReaderWriterGDAL : public osgDB::ReaderWriter { // RGBA - int pixelSpace=4*numBytesPerPixel; + int pixelSpace=4*numBytesPerComponent; int lineSpace=destWidth * pixelSpace; imageData = new unsigned char[destWidth * destHeight * pixelSpace]; @@ -370,16 +370,16 @@ class ReaderWriterGDAL : public osgDB::ReaderWriter OSG_INFO << "reading RGBA"<RasterIO(GF_Read,windowX,windowY,windowWidth,windowHeight,(void*)(imageData+0),destWidth,destHeight,targetGDALType,pixelSpace,lineSpace); - bandGreen->RasterIO(GF_Read,windowX,windowY,windowWidth,windowHeight,(void*)(imageData+1),destWidth,destHeight,targetGDALType,pixelSpace,lineSpace); - bandBlue->RasterIO(GF_Read,windowX,windowY,windowWidth,windowHeight,(void*)(imageData+2),destWidth,destHeight,targetGDALType,pixelSpace,lineSpace); - bandAlpha->RasterIO(GF_Read,windowX,windowY,windowWidth,windowHeight,(void*)(imageData+3),destWidth,destHeight,targetGDALType,pixelSpace,lineSpace); + bandGreen->RasterIO(GF_Read,windowX,windowY,windowWidth,windowHeight,(void*)(imageData+1*numBytesPerComponent),destWidth,destHeight,targetGDALType,pixelSpace,lineSpace); + bandBlue->RasterIO(GF_Read,windowX,windowY,windowWidth,windowHeight,(void*)(imageData+2*numBytesPerComponent),destWidth,destHeight,targetGDALType,pixelSpace,lineSpace); + bandAlpha->RasterIO(GF_Read,windowX,windowY,windowWidth,windowHeight,(void*)(imageData+3*numBytesPerComponent),destWidth,destHeight,targetGDALType,pixelSpace,lineSpace); } else { // RGB - int pixelSpace=3*numBytesPerPixel; + int pixelSpace=3*numBytesPerComponent; int lineSpace=destWidth * pixelSpace; imageData = new unsigned char[destWidth * destHeight * pixelSpace]; @@ -389,8 +389,8 @@ class ReaderWriterGDAL : public osgDB::ReaderWriter OSG_INFO << "reading RGB"<RasterIO(GF_Read,windowX,windowY,windowWidth,windowHeight,(void*)(imageData+0),destWidth,destHeight,targetGDALType,pixelSpace,lineSpace); - bandGreen->RasterIO(GF_Read,windowX,windowY,windowWidth,windowHeight,(void*)(imageData+1),destWidth,destHeight,targetGDALType,pixelSpace,lineSpace); - bandBlue->RasterIO(GF_Read,windowX,windowY,windowWidth,windowHeight,(void*)(imageData+2),destWidth,destHeight,targetGDALType,pixelSpace,lineSpace); + bandGreen->RasterIO(GF_Read,windowX,windowY,windowWidth,windowHeight,(void*)(imageData+1*numBytesPerComponent),destWidth,destHeight,targetGDALType,pixelSpace,lineSpace); + bandBlue->RasterIO(GF_Read,windowX,windowY,windowWidth,windowHeight,(void*)(imageData+2*numBytesPerComponent),destWidth,destHeight,targetGDALType,pixelSpace,lineSpace); } } @@ -399,7 +399,7 @@ class ReaderWriterGDAL : public osgDB::ReaderWriter if (bandAlpha) { // Luminance alpha - int pixelSpace=2*numBytesPerPixel; + int pixelSpace=2*numBytesPerComponent; int lineSpace=destWidth * pixelSpace; imageData = new unsigned char[destWidth * destHeight * pixelSpace]; @@ -414,7 +414,7 @@ class ReaderWriterGDAL : public osgDB::ReaderWriter else { // Luminance map - int pixelSpace=1*numBytesPerPixel; + int pixelSpace=1*numBytesPerComponent; int lineSpace=destWidth * pixelSpace; imageData = new unsigned char[destWidth * destHeight * pixelSpace]; @@ -429,7 +429,7 @@ class ReaderWriterGDAL : public osgDB::ReaderWriter else if (bandAlpha) { // alpha map - int pixelSpace=1*numBytesPerPixel; + int pixelSpace=1*numBytesPerComponent; int lineSpace=destWidth * pixelSpace; imageData = new unsigned char[destWidth * destHeight * pixelSpace]; @@ -444,7 +444,7 @@ class ReaderWriterGDAL : public osgDB::ReaderWriter else if (bandPalette) { // Paletted map - int pixelSpace=1*numBytesPerPixel; + int pixelSpace=1*numBytesPerComponent; int lineSpace=destWidth * pixelSpace; unsigned char *rawImageData; @@ -454,7 +454,7 @@ class ReaderWriterGDAL : public osgDB::ReaderWriter internalFormat = GL_RGBA; OSG_INFO << "reading palette"<RasterIO(GF_Read,windowX,windowY,windowWidth,windowHeight,(void*)(rawImageData),destWidth,destHeight,targetGDALType,pixelSpace,lineSpace); diff --git a/src/osgPlugins/gles/ReaderWriterGLES.cpp b/src/osgPlugins/gles/ReaderWriterGLES.cpp index df56f71f7ce..2c713338288 100644 --- a/src/osgPlugins/gles/ReaderWriterGLES.cpp +++ b/src/osgPlugins/gles/ReaderWriterGLES.cpp @@ -133,7 +133,7 @@ class ReaderWriterGLES : public osgDB::ReaderWriter return ReadResult::FILE_NOT_HANDLED; // recursively load the subfile. - osg::ref_ptr node = osgDB::readNodeFile( realName, options ); + osg::ref_ptr node = osgDB::readRefNodeFile( realName, options ); if( !node ) { // propagate the read failure upwards diff --git a/src/osgPlugins/gles/forsythtriangleorderoptimizer.cpp b/src/osgPlugins/gles/forsythtriangleorderoptimizer.cpp index cee46222815..f184c5ba9f4 100644 --- a/src/osgPlugins/gles/forsythtriangleorderoptimizer.cpp +++ b/src/osgPlugins/gles/forsythtriangleorderoptimizer.cpp @@ -1,5 +1,5 @@ //----------------------------------------------------------------------------- -// This is an implementation of Tom Forsyth's "Linear-Speed Vertex Cache +// This is an implementation of Tom Forsyth's "Linear-Speed Vertex Cache // Optimization" algorithm as described here: // http://home.comcast.net/~tom_forsyth/papers/fast_vert_cache_opt.html // @@ -9,7 +9,7 @@ // THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT -// SHALL ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER +// SHALL ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER // LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR // IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. //----------------------------------------------------------------------------- @@ -42,6 +42,7 @@ namespace Forsyth namespace { +#if 0 // code for computing vertex score was taken, as much as possible // directly from the original publication. float ComputeVertexCacheScore(int cachePosition, int vertexCacheSize) @@ -77,6 +78,7 @@ namespace Forsyth return score; } +#endif float ComputeVertexValenceScore(unsigned int numActiveFaces) { @@ -100,6 +102,7 @@ namespace Forsyth float s_vertexCacheScores[kMaxVertexCacheSize+1][kMaxVertexCacheSize]; float s_vertexValenceScores[kMaxPrecomputedVertexValenceScores]; +#if 0 bool ComputeVertexScores() { for (int cacheSize=0; cacheSize<=kMaxVertexCacheSize; ++cacheSize) @@ -118,6 +121,7 @@ namespace Forsyth return true; } bool s_vertexScoresComputed = ComputeVertexScores(); +#endif // inline float FindVertexCacheScore(unsigned int cachePosition, unsigned int maxSizeVertexCache) // { @@ -131,7 +135,7 @@ namespace Forsyth float FindVertexScore(unsigned int numActiveFaces, unsigned int cachePosition, unsigned int vertexCacheSize) { - assert(s_vertexScoresComputed); +// assert(s_vertexScoresComputed); if ( numActiveFaces == 0 ) { diff --git a/src/osgPlugins/glsl/ReaderWriterGLSL.cpp b/src/osgPlugins/glsl/ReaderWriterGLSL.cpp index 8a34e61a0aa..dccaa3cf5a2 100644 --- a/src/osgPlugins/glsl/ReaderWriterGLSL.cpp +++ b/src/osgPlugins/glsl/ReaderWriterGLSL.cpp @@ -18,12 +18,16 @@ class ReaderWriterGLSL : public osgDB::ReaderWriter { supportsExtension("gl","OpenGL Shader Language format"); supportsExtension("frag","OpenGL Shader Language format"); + supportsExtension("fs","OpenGL Shader Language format"); supportsExtension("vert","OpenGL Shader Language format"); + supportsExtension("vs","OpenGL Shader Language format"); supportsExtension("geom","OpenGL Shader Language format"); + supportsExtension("gs","OpenGL Shader Language format"); supportsExtension("glsl","OpenGL Shader Language format"); supportsExtension("tctrl","OpenGL Shader Language format"); supportsExtension("teval","OpenGL Shader Language format"); supportsExtension("compute","OpenGL Shader Language format"); + supportsExtension("cs","OpenGL Shader Language format"); } virtual const char* className() const { return "GLSL Shader Reader"; } @@ -57,7 +61,7 @@ class ReaderWriterGLSL : public osgDB::ReaderWriter const std::string filename = code.substr( pos2 + 1, pos3 - pos2 - 1 ); - osg::ref_ptr innerShader = osgDB::readShaderFile( shader->getType(), filename, options ); + osg::ref_ptr innerShader = osgDB::readRefShaderFile( shader->getType(), filename, options ); if ( !innerShader.valid() ) { @@ -126,12 +130,12 @@ class ReaderWriterGLSL : public osgDB::ReaderWriter if (shader->getType() == osg::Shader::UNDEFINED) { // set type based on filename extension, where possible - if (ext == "frag") shader->setType(osg::Shader::FRAGMENT); - if (ext == "vert") shader->setType(osg::Shader::VERTEX); - if (ext == "geom") shader->setType(osg::Shader::GEOMETRY); + if (ext == "frag" || ext == "fs") shader->setType(osg::Shader::FRAGMENT); + if (ext == "vert" || ext == "vs" ) shader->setType(osg::Shader::VERTEX); + if (ext == "geom" || ext == "geom") shader->setType(osg::Shader::GEOMETRY); if (ext == "tctrl") shader->setType(osg::Shader::TESSCONTROL); if (ext == "teval") shader->setType(osg::Shader::TESSEVALUATION); - if (ext == "compute") shader->setType(osg::Shader::COMPUTE); + if (ext == "compute" || ext == "cs") shader->setType(osg::Shader::COMPUTE); } } return rr; diff --git a/src/osgPlugins/imageio/ReaderWriterImageIO.cpp b/src/osgPlugins/imageio/ReaderWriterImageIO.cpp index 1ded6047bf1..44f08784959 100644 --- a/src/osgPlugins/imageio/ReaderWriterImageIO.cpp +++ b/src/osgPlugins/imageio/ReaderWriterImageIO.cpp @@ -35,7 +35,7 @@ // Used because CGDataProviderCreate became deprecated in 10.5 #include - +#include #include #include #include @@ -252,183 +252,222 @@ CGImageRef CreateCGImageFromFile(const char* the_path) return image_ref; } -/* Once we have our image (CGImageRef), we need to get it into an osg::Image */ -osg::Image* CreateOSGImageFromCGImage(CGImageRef image_ref) +namespace { - /* This code is adapted from Apple's Documentation found here: - * http://developer.apple.com/documentation/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/index.html - * Listing 9-4Using a Quartz image as a texture source. - * Unfortunately, this guide doesn't show what to do about - * non-RGBA image formats so I'm making the rest up - * (and it's probably all wrong). - */ - - size_t the_width = CGImageGetWidth(image_ref); - size_t the_height = CGImageGetHeight(image_ref); - CGRect the_rect = {{0.0f, 0.0f}, {static_cast(the_width), static_cast(the_height)}}; - - size_t bits_per_pixel = CGImageGetBitsPerPixel(image_ref); - size_t bytes_per_row = CGImageGetBytesPerRow(image_ref); -// size_t bits_per_component = CGImageGetBitsPerComponent(image_ref); - size_t bits_per_component = 8; - - CGImageAlphaInfo alpha_info = CGImageGetAlphaInfo(image_ref); + template + void consume4(size_t width, size_t height, T* src_data, size_t src_stride, T* dst_data) + { + T* dst_data_ptr = dst_data; + for (int y = height - 1; y >= 0; y--) // flip y + { + T* src_data_ptr = src_data + y*src_stride; + + for (int x = 0; x < width; x++) + { +#if OSG_GLES2_FEATURES + *dst_data_ptr++ = *src_data_ptr++; // red + *dst_data_ptr++ = *src_data_ptr++; // green + *dst_data_ptr++ = *src_data_ptr++; // blue +#else + unsigned char r = *src_data_ptr++; + unsigned char g = *src_data_ptr++; + unsigned char b = *src_data_ptr++; - GLint internal_format; - GLenum pixel_format; - GLenum data_type; + *dst_data_ptr++ = b; // blue + *dst_data_ptr++ = g; // green + *dst_data_ptr++ = r; // red +#endif + *dst_data_ptr++ = *src_data_ptr++; // alpha + } + } + } + + template + void consume3(size_t width, size_t height, T* src_data, size_t src_stride, T* dst_data) + { + T* dst_data_ptr = dst_data; + for (int y = height - 1; y >= 0; y--) // flip y + { + T* src_data_ptr = src_data + y*src_stride; + + for (int x = 0; x < width; x++) + { +#if OSG_GLES2_FEATURES + *dst_data_ptr++ = *src_data_ptr++; // red + *dst_data_ptr++ = *src_data_ptr++; // green + *dst_data_ptr++ = *src_data_ptr++; // blue +#else + unsigned char r = *src_data_ptr++; + unsigned char g = *src_data_ptr++; + unsigned char b = *src_data_ptr++; - void* image_data = calloc(the_width * 4, the_height); + *dst_data_ptr++ = b; // blue + *dst_data_ptr++ = g; // green + *dst_data_ptr++ = r; // red +#endif + } + } + } + + template + void consume2(size_t width, size_t height, T* src_data, size_t src_stride, T* dst_data) + { + T* dst_data_ptr = dst_data; + for (int y = height - 1; y >= 0; y--) // flip y + { + T* src_data_ptr = src_data + y*src_stride; + + for (int x = 0; x < width; x++) + { + *dst_data_ptr++ = *src_data_ptr++; // red (luminance) + *dst_data_ptr++ = *src_data_ptr++; // green (alpha) + } + } + } + + template + void consume1(size_t width, size_t height, T* src_data, size_t src_stride, T* dst_data) + { + T* dst_data_ptr = dst_data; + for (int y = height - 1; y >= 0; y--) // flip y + { + T* src_data_ptr = src_data + y*src_stride; + + for (int x = 0; x < width; x++) + *dst_data_ptr++ = *src_data_ptr++; // red + } + } + + template + bool consume(size_t channels, size_t width, size_t height, T* src_data, size_t src_stride, T* dst_data) + { + if (channels == 4) + { + consume4(width, height, src_data, src_stride, dst_data); + return true; + } + else if (channels == 3) + { + consume3(width, height, src_data, src_stride, dst_data); + return true; + } + else if (channels == 2) + { + consume2(width, height, src_data, src_stride, dst_data); + return true; + } + else if (channels == 1) + { + consume1(width, height, src_data, src_stride, dst_data); + return true; + } + + return false; + } +}// anonymous namespace - CGColorSpaceRef color_space; - CGBitmapInfo bitmap_info = CGImageGetBitmapInfo(image_ref); - switch(bits_per_pixel) - { - // Drat, if 8-bit, how do you distinguish - // between a 256 color GIF, a LUMINANCE map - // or an ALPHA map? - case 8: - { - // I probably did the formats all wrong for this case, - // especially the ALPHA case. - if(kCGImageAlphaNone == alpha_info) - { - /* - internal_format = GL_LUMINANCE; - pixel_format = GL_LUMINANCE; - */ - internal_format = GL_RGBA8; - pixel_format = GL_BGRA_EXT; - data_type = GL_UNSIGNED_INT_8_8_8_8_REV; - - bytes_per_row = the_width*4; -// color_space = CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB); - color_space = CGColorSpaceCreateDeviceRGB(); -// bitmap_info = kCGImageAlphaPremultipliedFirst; -#if __BIG_ENDIAN__ - bitmap_info = kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Big; /* XRGB Big Endian */ +/* Once we have our image (CGImageRef), we need to get it into an osg::Image */ +// TODO: GL3 core profile +osg::Image* CreateOSGImageFromCGImage(CGImageRef image_ref) +{ + size_t src_width = CGImageGetWidth(image_ref); + size_t src_height = CGImageGetHeight(image_ref); + size_t src_bits_per_pixel = CGImageGetBitsPerPixel(image_ref); + size_t src_bytes_per_row = CGImageGetBytesPerRow(image_ref); + size_t src_bits_per_component = CGImageGetBitsPerComponent(image_ref); + CGImageAlphaInfo src_alpha_info = CGImageGetAlphaInfo(image_ref); +// CGBitmapInfo src_bitmap_info = CGImageGetBitmapInfo(image_ref); + + CFDataRef rawData = CGDataProviderCopyData(CGImageGetDataProvider(image_ref)); + const UInt8* src_data = CFDataGetBytePtr(rawData); + + size_t channels = src_bits_per_pixel/src_bits_per_component; + uint8_t* image_data = new uint8_t[int(src_width*src_height*channels*(src_bits_per_component/8.0))]; + + size_t stride = src_bytes_per_row*(8.0/src_bits_per_component); + + // Suppose 4 channels + GLenum type = GL_UNSIGNED_BYTE; + GLint internal_format = GL_RGBA; + GLenum pixel_format = GL_BGRA; // Should be faster than RGBA on x86 + + if (channels == 3) + { + internal_format = GL_RGB; + pixel_format = GL_BGR; + } + else if (channels == 2) + { +#if defined(OSG_GL3_AVAILABLE) && !defined(OSG_GL2_AVAILABLE) && !defined(OSG_GL1_AVAILABLE) + internal_format = GL_RG; // GL_RG8 + pixel_format = GL_RG; #else - bitmap_info = kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Little; /* XRGB Little Endian */ + internal_format = GL_LUMINANCE_ALPHA; + pixel_format = GL_LUMINANCE_ALPHA; #endif - } - else - { - internal_format = GL_ALPHA; - pixel_format = GL_ALPHA; - data_type = GL_UNSIGNED_BYTE; - // bytes_per_row = the_width; -// color_space = CGColorSpaceCreateWithName(kCGColorSpaceGenericGray); - color_space = CGColorSpaceCreateDeviceGray(); - } - - break; - } - case 24: - { - internal_format = GL_RGBA8; - pixel_format = GL_BGRA_EXT; - data_type = GL_UNSIGNED_INT_8_8_8_8_REV; - bytes_per_row = the_width*4; -// color_space = CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB); - color_space = CGColorSpaceCreateDeviceRGB(); -// bitmap_info = kCGImageAlphaNone; -#if __BIG_ENDIAN__ - bitmap_info = kCGImageAlphaNoneSkipFirst | kCGBitmapByteOrder32Big; /* XRGB Big Endian */ + } + else if (channels == 1) + { +#if defined(OSG_GL3_AVAILABLE) && !defined(OSG_GL2_AVAILABLE) && !defined(OSG_GL1_AVAILABLE) + internal_format = GL_RED; // GL_R8 + pixel_format = GL_RED; #else - bitmap_info = kCGImageAlphaNoneSkipFirst | kCGBitmapByteOrder32Little; /* XRGB Little Endian */ + if (src_alpha_info == kCGImageAlphaOnly) + { + internal_format = GL_ALPHA; + pixel_format = GL_ALPHA; + } + else + { + internal_format = GL_LUMINANCE; + pixel_format = GL_LUMINANCE; + } #endif - break; - } - // - // Tatsuhiro Nishioka - // 16 bpp grayscale (8 bit white and 8 bit alpha) causes invalid argument combination - // in CGBitmapContextCreate. - // I guess it is safer to handle 16 bit grayscale image as 32-bit RGBA image. - // It works at least on FlightGear - // - case 16: - case 32: - case 48: - case 64: - { - - internal_format = GL_RGBA8; - pixel_format = GL_BGRA_EXT; - data_type = GL_UNSIGNED_INT_8_8_8_8_REV; - - bytes_per_row = the_width*4; -// color_space = CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB); - color_space = CGColorSpaceCreateDeviceRGB(); -// bitmap_info = kCGImageAlphaPremultipliedFirst; + } -#if __BIG_ENDIAN__ - bitmap_info = kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Big; /* XRGB Big Endian */ -#else - bitmap_info = kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Little; /* XRGB Little Endian */ +#if OSG_GLES2_FEATURES + pixel_format = internal_format; // Needed by spec #endif - break; - } - default: - { - // OSG_WARN << "Unknown file type in " << fileName.c_str() << " with " << origDepth << std::endl; - return NULL; - break; - } - - } - - - // Sets up a context to be drawn to with image_data as the area to be drawn to - CGContextRef bitmap_context = CGBitmapContextCreate( - image_data, - the_width, - the_height, - bits_per_component, - bytes_per_row, - color_space, - bitmap_info - ); - - CGContextTranslateCTM(bitmap_context, 0, the_height); - CGContextScaleCTM(bitmap_context, 1.0, -1.0); - // Draws the image into the context's image_data - CGContextDrawImage(bitmap_context, the_rect, image_ref); - - CGContextRelease(bitmap_context); - - if (!image_data) - return NULL; - - // alpha is premultiplied with rgba, undo it - - vImage_Buffer vb; - vb.data = image_data; - vb.height = the_height; - vb.width = the_width; - vb.rowBytes = the_width * 4; - vImageUnpremultiplyData_RGBA8888(&vb, &vb, 0); - - // changing it to GL_UNSIGNED_BYTE seems working, but I'm not sure if this is a right way. - // - data_type = GL_UNSIGNED_BYTE; - osg::Image* osg_image = new osg::Image; - - osg_image->setImage( - the_width, - the_height, - 1, - internal_format, - pixel_format, - data_type, - (unsigned char*)image_data, - osg::Image::USE_MALLOC_FREE // Assumption: osg_image takes ownership of image_data and will free - ); - - return osg_image; - - + bool readSuccess = false; + if (src_bits_per_component == 8) + { + uint8_t* src_data_cast = (uint8_t*)(src_data); + uint8_t* dst_data = image_data; + readSuccess = consume(channels, src_width, src_height, src_data_cast, stride, dst_data); + } + else if (src_bits_per_component == 16) + { + type = GL_UNSIGNED_SHORT; + uint16_t* src_data_cast = (uint16_t*)(src_data); + uint16_t* dst_data = (uint16_t*)image_data; + readSuccess = consume(channels, src_width, src_height, src_data_cast, stride, dst_data); + + } + else if (src_bits_per_component == 32) + { + type = GL_FLOAT; + float* src_data_cast = (float*)(src_data); + float* dst_data = (float*)image_data; + readSuccess = consume(channels, src_width, src_height, src_data_cast, stride, dst_data); + } + + CFRelease(rawData); + + if (!readSuccess) + { + OSG_WARN << "Can't load image (via imageio plugin): Unsupported number of channels"; + delete[] image_data; + + return NULL; + } + + osg::Image* osg_image = new osg::Image; + osg_image->setImage(src_width, src_height, 1, internal_format, pixel_format, + type, image_data, osg::Image::USE_NEW_DELETE); + + return osg_image; } /************************************************************** ***** End Support functions for reading (stream and file) ***** diff --git a/src/osgPlugins/ive/DataInputStream.cpp b/src/osgPlugins/ive/DataInputStream.cpp index 167f78b9def..fc296c056ab 100644 --- a/src/osgPlugins/ive/DataInputStream.cpp +++ b/src/osgPlugins/ive/DataInputStream.cpp @@ -292,7 +292,7 @@ bool DataInputStream::uncompress(std::istream& fin, std::string& destination) co #endif bool DataInputStream::readBool(){ - char c; + char c=0; _istream->read(&c, CHARSIZE); if (_istream->rdstate() & _istream->failbit) @@ -304,7 +304,7 @@ bool DataInputStream::readBool(){ } char DataInputStream::readChar(){ - char c; + char c=0; _istream->read(&c, CHARSIZE); if (_istream->rdstate() & _istream->failbit) @@ -316,7 +316,7 @@ char DataInputStream::readChar(){ } unsigned char DataInputStream::readUChar(){ - unsigned char c; + unsigned char c=0; _istream->read((char*)&c, CHARSIZE); if (_istream->rdstate() & _istream->failbit) @@ -328,7 +328,7 @@ unsigned char DataInputStream::readUChar(){ } unsigned short DataInputStream::readUShort(){ - unsigned short s; + unsigned short s=0; _istream->read((char*)&s, SHORTSIZE); if (_istream->rdstate() & _istream->failbit) throwException("DataInputStream::readUShort(): Failed to read unsigned short value."); @@ -341,7 +341,7 @@ unsigned short DataInputStream::readUShort(){ } unsigned int DataInputStream::readUInt(){ - unsigned int s; + unsigned int s=0; _istream->read((char*)&s, INTSIZE); if (_istream->rdstate() & _istream->failbit) @@ -359,15 +359,11 @@ int DataInputStream::readInt(){ _peeking = false; return _peekValue; } - int i; + int i=0; _istream->read((char*)&i, INTSIZE); - // comment out for time being as this check seems to eroneously cause a - // premature exit when reading .ive files under OSX!#?:! - // Robet Osfield, September 12th 2003. - // if (_istream->rdstate() & _istream->failbit) - // throwException("DataInputStream::readInt(): Failed to read int value."); - + if (_istream->rdstate() & _istream->failbit) + throwException("DataInputStream::readInt(): Failed to read int value."); if (_byteswap) osg::swapBytes((char *)&i,INTSIZE) ; @@ -391,7 +387,7 @@ int DataInputStream::peekInt(){ } float DataInputStream::readFloat(){ - float f; + float f=0.0f; _istream->read((char*)&f, FLOATSIZE); if (_istream->rdstate() & _istream->failbit) throwException("DataInputStream::readFloat(): Failed to read float value."); @@ -403,7 +399,7 @@ float DataInputStream::readFloat(){ } long DataInputStream::readLong(){ - long l; + long l=0; _istream->read((char*)&l, LONGSIZE); if (_istream->rdstate() & _istream->failbit) throwException("DataInputStream::readLong(): Failed to read long value."); @@ -415,7 +411,7 @@ long DataInputStream::readLong(){ } unsigned long DataInputStream::readULong(){ - unsigned long l; + unsigned long l=0; _istream->read((char*)&l, LONGSIZE); if (_istream->rdstate() & _istream->failbit) throwException("DataInputStream::readULong(): Failed to read unsigned long value."); @@ -429,7 +425,7 @@ unsigned long DataInputStream::readULong(){ double DataInputStream::readDouble() { - double d; + double d=0.0; _istream->read((char*)&d, DOUBLESIZE); if (_istream->rdstate() & _istream->failbit) throwException("DataInputStream::readDouble(): Failed to read double value."); @@ -1918,7 +1914,7 @@ osgTerrain::Layer* DataInputStream::readLayer() else if (layerid==IVEPROXYLAYER) { std::string filename = readString(); - osg::ref_ptr object = osgDB::readObjectFile(filename+".gdal"); + osg::ref_ptr object = osgDB::readRefObjectFile(filename+".gdal"); osgTerrain::ProxyLayer* proxyLayer = dynamic_cast(object.get()); osg::ref_ptr locator = readLocator(); diff --git a/src/osgPlugins/ive/HeightFieldLayer.cpp b/src/osgPlugins/ive/HeightFieldLayer.cpp index 2f0b6645b68..874b02c2b35 100644 --- a/src/osgPlugins/ive/HeightFieldLayer.cpp +++ b/src/osgPlugins/ive/HeightFieldLayer.cpp @@ -107,7 +107,7 @@ void HeightFieldLayer::read(DataInputStream* in) if (in->getVersion()>=VERSION_0035) { - osg::HeightField* hf = new osg::HeightField; + osg::ref_ptr hf = new osg::HeightField; // Read HeightField's properties //setColor(in->readVec4()); @@ -128,13 +128,13 @@ void HeightFieldLayer::read(DataInputStream* in) in->readPackedFloatArray(hf->getFloatArray()); } - setHeightField(hf); + setHeightField(hf.get()); } else { - osg::Shape* shape = in->readShape(); - setHeightField(dynamic_cast(shape)); + osg::ref_ptr shape = in->readShape(); + setHeightField(dynamic_cast(shape.get())); } } @@ -143,7 +143,8 @@ void HeightFieldLayer::read(DataInputStream* in) std::string filename = in->readString(); setFileName(filename); - setHeightField(osgDB::readHeightFieldFile(filename,in->getOptions())); + osg::ref_ptr hf = osgDB::readRefHeightFieldFile(filename,in->getOptions()); + if (hf) setHeightField(hf.get()); } } diff --git a/src/osgPlugins/ive/Layer.cpp b/src/osgPlugins/ive/Layer.cpp index 079164ddc54..ab00c98426a 100644 --- a/src/osgPlugins/ive/Layer.cpp +++ b/src/osgPlugins/ive/Layer.cpp @@ -190,8 +190,7 @@ osgTerrain::Layer* LayerHelper::readLayer(DataInputStream* in) else if (id==IVEPROXYLAYER) { std::string filename = in->readString(); - osg::ref_ptr object = osgDB::readObjectFile(filename+".gdal"); - osgTerrain::ProxyLayer* proxyLayer = dynamic_cast(object.get()); + osg::ref_ptr proxyLayer = osgDB::readRefFile(filename+".gdal"); osg::ref_ptr locator = readLocator(in); unsigned int minLevel = in->readUInt(); @@ -205,7 +204,7 @@ osgTerrain::Layer* LayerHelper::readLayer(DataInputStream* in) proxyLayer->setMaxLevel(maxLevel); } - return proxyLayer; + return proxyLayer.release(); } return new osgTerrain::ImageLayer; diff --git a/src/osgPlugins/ive/ProxyNode.cpp b/src/osgPlugins/ive/ProxyNode.cpp index cba0bab3d6e..181a4331cd5 100644 --- a/src/osgPlugins/ive/ProxyNode.cpp +++ b/src/osgPlugins/ive/ProxyNode.cpp @@ -205,7 +205,7 @@ void ProxyNode::read(DataInputStream* in) { osgDB::FilePathList& fpl = ((osgDB::ReaderWriter::Options*)in->getOptions())->getDatabasePathList(); fpl.push_front( fpl.empty() ? osgDB::getFilePath(getFileName(i)) : fpl.front()+'/'+ osgDB::getFilePath(getFileName(i))); - osg::Node *node = osgDB::readNodeFile(getFileName(i), in->getOptions()); + osg::ref_ptr node = osgDB::readRefNodeFile(getFileName(i), in->getOptions()); fpl.pop_front(); if(node) diff --git a/src/osgPlugins/logo/ReaderWriterLOGO.cpp b/src/osgPlugins/logo/ReaderWriterLOGO.cpp index 0f4a7c21566..06749241904 100644 --- a/src/osgPlugins/logo/ReaderWriterLOGO.cpp +++ b/src/osgPlugins/logo/ReaderWriterLOGO.cpp @@ -321,7 +321,7 @@ class LOGOReaderWriter : public osgDB::ReaderWriter if( ld->hasLogos() ) geode->addDrawable( ld ); - geode->setCullingActive(false); + ld->setCullingActive(false); return geode; } }; diff --git a/src/osgPlugins/lua/LuaScriptEngine.cpp b/src/osgPlugins/lua/LuaScriptEngine.cpp index 916fe03f499..93dcabd6b71 100644 --- a/src/osgPlugins/lua/LuaScriptEngine.cpp +++ b/src/osgPlugins/lua/LuaScriptEngine.cpp @@ -140,7 +140,7 @@ static int getContainerProperty(lua_State * _lua) osgDB::VectorBaseSerializer* vs = dynamic_cast(bs); if (vs) { - const void* dataPtr = vs->getElement(*object, index); + const void* dataPtr = vs->getElement(*object, (unsigned int) index); if (dataPtr) { SerializerScratchPad valuesp(vs->getElementType(), dataPtr, vs->getElementSize()); @@ -191,7 +191,7 @@ static int setContainerProperty(lua_State* _lua) SerializerScratchPad ssp; lse->getDataFromStack(&ssp, vs->getElementType(), 3); { - vs->setElement(*object, index, ssp.data); + vs->setElement(*object, (unsigned int) index, ssp.data); } } return 0; @@ -1767,7 +1767,7 @@ static int readObjectFile(lua_State * _lua) if (n==1 && lua_type(_lua, 1)==LUA_TSTRING) { std::string filename = lua_tostring(_lua, 1); - osg::ref_ptr object = osgDB::readObjectFile(filename); + osg::ref_ptr object = osgDB::readRefObjectFile(filename); if (object.valid()) { lse->pushObject(object.get()); @@ -1785,7 +1785,7 @@ static int readImageFile(lua_State * _lua) if (n==1 && lua_type(_lua, 1)==LUA_TSTRING) { std::string filename = lua_tostring(_lua, 1); - osg::ref_ptr image = osgDB::readImageFile(filename); + osg::ref_ptr image = osgDB::readRefImageFile(filename); if (image.valid()) { lse->pushObject(image.get()); @@ -1803,7 +1803,7 @@ static int readNodeFile(lua_State * _lua) if (n==1 && lua_type(_lua, 1)==LUA_TSTRING) { std::string filename = lua_tostring(_lua, 1); - osg::ref_ptr node = osgDB::readNodeFile(filename); + osg::ref_ptr node = osgDB::readRefNodeFile(filename); if (node.valid()) { lse->pushObject(node.get()); @@ -3808,7 +3808,7 @@ void LuaScriptEngine::pushValue(const osg::Matrixf& value) const { for(unsigned int c=0; c<4; ++c) { - lua_pushnumber(_lua, r*4+c); lua_pushinteger(_lua, value(r,c)); lua_settable(_lua, -3); + lua_pushnumber(_lua, r*4+c); lua_pushinteger(_lua, (lua_Integer) value(r,c)); lua_settable(_lua, -3); } } } diff --git a/src/osgPlugins/lwo/old_Lwo2.cpp b/src/osgPlugins/lwo/old_Lwo2.cpp index 088cce365ec..ef061538f1d 100644 --- a/src/osgPlugins/lwo/old_Lwo2.cpp +++ b/src/osgPlugins/lwo/old_Lwo2.cpp @@ -43,6 +43,43 @@ #include "old_Lwo2Layer.h" #include "lwo2read.h" +// makes 4-byte integer tag from four chars +// used in IFF standard + +unsigned long make_id(const char* tag) +{ + unsigned long result = 0; + for (unsigned int i = 0; i < strlen(tag) && i < 4; i++) + { + result <<= 8; + result += int(tag[i]); + } + return result; +} + +const unsigned long tag_FORM = make_id("FORM"); +const unsigned long tag_LWO2 = make_id("LWO2"); +const unsigned long tag_LAYR = make_id("LAYR"); +const unsigned long tag_TAGS = make_id("TAGS"); +const unsigned long tag_PNTS = make_id("PNTS"); +const unsigned long tag_VMAP = make_id("VMAP"); +const unsigned long tag_VMAD = make_id("VMAD"); +const unsigned long tag_TXUV = make_id("TXUV"); +const unsigned long tag_POLS = make_id("POLS"); +const unsigned long tag_FACE = make_id("FACE"); +const unsigned long tag_PTAG = make_id("PTAG"); +const unsigned long tag_SURF = make_id("SURF"); +const unsigned long tag_CLIP = make_id("CLIP"); +const unsigned long tag_BLOK = make_id("BLOK"); +const unsigned long tag_IMAP = make_id("IMAP"); +const unsigned long tag_IMAG = make_id("IMAG"); +const unsigned long tag_COLR = make_id("COLR"); + +#if 0 +const unsigned long tag_STIL = make_id("STIL"); +const unsigned long tag_TMAP = make_id("TMAP"); +#endif + Lwo2::Lwo2(): _current_layer(0), _successfully_read(false) @@ -771,17 +808,3 @@ Lwo2::_generate_statesets_from_surfaces() surface->state_set = state_set; } } - -// makes 4-byte integer tag from four chars -// used in IFF standard - -unsigned long make_id(const char* tag) -{ - unsigned long result = 0; - for (unsigned int i = 0; i < strlen(tag) && i < 4; i++) - { - result <<= 8; - result += int(tag[i]); - } - return result; -} diff --git a/src/osgPlugins/lwo/old_Lwo2.h b/src/osgPlugins/lwo/old_Lwo2.h index f1f76e18533..94c9101823c 100644 --- a/src/osgPlugins/lwo/old_Lwo2.h +++ b/src/osgPlugins/lwo/old_Lwo2.h @@ -92,29 +92,4 @@ class Lwo2 void _generate_statesets_from_surfaces(); }; -// makes 4-byte integer tag from four chars -// used in IFF standard - -unsigned long make_id(const char* tag); - -const unsigned long tag_FORM = make_id("FORM"); -const unsigned long tag_LWO2 = make_id("LWO2"); -const unsigned long tag_LAYR = make_id("LAYR"); -const unsigned long tag_TAGS = make_id("TAGS"); -const unsigned long tag_PNTS = make_id("PNTS"); -const unsigned long tag_VMAP = make_id("VMAP"); -const unsigned long tag_VMAD = make_id("VMAD"); -const unsigned long tag_TXUV = make_id("TXUV"); -const unsigned long tag_POLS = make_id("POLS"); -const unsigned long tag_FACE = make_id("FACE"); -const unsigned long tag_PTAG = make_id("PTAG"); -const unsigned long tag_SURF = make_id("SURF"); -const unsigned long tag_CLIP = make_id("CLIP"); -const unsigned long tag_STIL = make_id("STIL"); -const unsigned long tag_BLOK = make_id("BLOK"); -const unsigned long tag_IMAP = make_id("IMAP"); -const unsigned long tag_TMAP = make_id("TMAP"); -const unsigned long tag_IMAG = make_id("IMAG"); -const unsigned long tag_COLR = make_id("COLR"); - #endif diff --git a/src/osgPlugins/lws/SceneLoader.cpp b/src/osgPlugins/lws/SceneLoader.cpp index a1fea9fe8b0..a3ecdbda048 100644 --- a/src/osgPlugins/lws/SceneLoader.cpp +++ b/src/osgPlugins/lws/SceneLoader.cpp @@ -107,7 +107,7 @@ osg::Group *SceneLoader::load(const std::string &filename, const osgDB::ReaderWr std::getline(ifs, field); version_ = atoi(field.c_str()); - + std::string identifier; while (ifs >> identifier) { @@ -256,7 +256,7 @@ bool SceneLoader::parse_block(const std::string &name, const std::string &data) OSG_NOTICE << "Loading object \"" << filename << "\"" << std::endl; - objnode = dynamic_cast(osgDB::readNodeFile(filename)); + objnode = osgDB::readRefFile(filename); if (!objnode.valid()) return false; objects_[filename] = objnode; diff --git a/src/osgPlugins/normals/ReaderWriterNormals.cpp b/src/osgPlugins/normals/ReaderWriterNormals.cpp index 58f6e69d41e..a3a88f19409 100644 --- a/src/osgPlugins/normals/ReaderWriterNormals.cpp +++ b/src/osgPlugins/normals/ReaderWriterNormals.cpp @@ -77,7 +77,7 @@ class NormalsReader: public osgDB::ReaderWriter std::string nodeName = osgDB::getNameLessExtension( fileName ); if( !nodeName.empty() ) { - osg::ref_ptr node = osgDB::readNodeFile( nodeName ); + osg::ref_ptr node = osgDB::readRefNodeFile( nodeName ); if( node.valid() ) { osg::ref_ptr group = new osg::Group; diff --git a/src/osgPlugins/nvtt/CMakeLists.txt b/src/osgPlugins/nvtt/CMakeLists.txt index 4a91eadc86b..4fc58b4ae5b 100644 --- a/src/osgPlugins/nvtt/CMakeLists.txt +++ b/src/osgPlugins/nvtt/CMakeLists.txt @@ -5,7 +5,7 @@ SET(TARGET_SRC NVTTImageProcessor.cpp ) -SET(TARGET_LIBRARIES_VARS NVTT_LIBRARY) +SET(TARGET_EXTERNAL_LIBRARIES ${TARGET_EXTERNAL_LIBRARIES} ${NVTT_LIBRARIES}) #### end var setup ### SETUP_PLUGIN(nvtt) diff --git a/src/osgPlugins/obj/OBJWriterNodeVisitor.cpp b/src/osgPlugins/obj/OBJWriterNodeVisitor.cpp index 0bc397b6c76..3603e636a1d 100644 --- a/src/osgPlugins/obj/OBJWriterNodeVisitor.cpp +++ b/src/osgPlugins/obj/OBJWriterNodeVisitor.cpp @@ -370,7 +370,7 @@ void ObjPrimitiveIndexWriter::drawArrays(GLenum mode,GLint first,GLsizei count) for(GLsizei i=0;igetDiffuse(osg::Material::FRONT); ambient = mat->getAmbient(osg::Material::FRONT); specular = mat->getSpecular(osg::Material::FRONT); + shininess = mat->getShininess(osg::Material::FRONT)*1000.0f/128.0f; } if (tex) { @@ -440,6 +442,8 @@ std::ostream& operator<<(std::ostream& fout, const OBJWriterNodeVisitor::OBJMate fout << " " << "Ka " << mat.ambient << std::endl; fout << " " << "Kd " << mat.diffuse << std::endl; fout << " " << "Ks " << mat.specular << std::endl; + if (mat.shininess != -1) + fout << " " << "Ns " << mat.shininess<< std::endl; if(!mat.image.empty()) fout << " " << "map_Kd " << mat.image << std::endl; @@ -545,27 +549,27 @@ void OBJWriterNodeVisitor::processGeometry(osg::Geometry* geo, osg::Matrix& m) { } -void OBJWriterNodeVisitor::apply( osg::Geode &node ) +void OBJWriterNodeVisitor::apply(osg::Geometry& geometry) { + osg::Matrix m = osg::computeLocalToWorld(getNodePath()); + + pushStateSet(geometry.getStateSet()); + + processGeometry(&geometry,m); + popStateSet(geometry.getStateSet()); +} + +void OBJWriterNodeVisitor::apply( osg::Geode &node ) +{ pushStateSet(node.getStateSet()); _nameStack.push_back(node.getName()); - osg::Matrix m = osg::computeLocalToWorld(getNodePath()); unsigned int count = node.getNumDrawables(); for ( unsigned int i = 0; i < count; i++ ) { - osg::Geometry *g = node.getDrawable( i )->asGeometry(); - if ( g != NULL ) - { - pushStateSet(g->getStateSet()); - - processGeometry(g,m); - - popStateSet(g->getStateSet()); - } + node.getDrawable( i )->accept(*this); } - popStateSet(node.getStateSet()); _nameStack.pop_back(); } diff --git a/src/osgPlugins/obj/OBJWriterNodeVisitor.h b/src/osgPlugins/obj/OBJWriterNodeVisitor.h index eb62b078f40..574effe17e9 100644 --- a/src/osgPlugins/obj/OBJWriterNodeVisitor.h +++ b/src/osgPlugins/obj/OBJWriterNodeVisitor.h @@ -65,23 +65,20 @@ class OBJWriterNodeVisitor: public osg::NodeVisitor { } } - virtual void apply(osg::Geode &node); + virtual void apply(osg::Geometry & geometry); + virtual void apply(osg::Geode & node); - virtual void apply(osg::Group &node) + virtual void apply(osg::Group & node) { + pushStateSet(node.getStateSet()); + _nameStack.push_back( node.getName().empty() ? node.className() : node.getName() ); _fout << std::endl; _fout << "g " << getUniqueName() << std::endl; osg::NodeVisitor::traverse( node ); - _nameStack.pop_back(); - } - void traverse (osg::Node &node) - { - pushStateSet(node.getStateSet()); - - osg::NodeVisitor::traverse( node ); + _nameStack.pop_back(); popStateSet(node.getStateSet()); } @@ -119,6 +116,7 @@ class OBJWriterNodeVisitor: public osg::NodeVisitor { OBJMaterial(osg::Material* mat, osg::Texture* tex); osg::Vec4 diffuse, ambient, specular; + float shininess; std::string image; std::string name; }; diff --git a/src/osgPlugins/obj/ReaderWriterOBJ.cpp b/src/osgPlugins/obj/ReaderWriterOBJ.cpp index 39d7a1ecebc..99964c5c78c 100644 --- a/src/osgPlugins/obj/ReaderWriterOBJ.cpp +++ b/src/osgPlugins/obj/ReaderWriterOBJ.cpp @@ -71,6 +71,7 @@ class ReaderWriterOBJ : public osgDB::ReaderWriter supportsOption("BUMP=", "Set texture unit for bumpmap texture"); supportsOption("DISPLACEMENT=", "Set texture unit for displacement texture"); supportsOption("REFLECTION=", "Set texture unit for reflection texture"); + supportsOption("NsIfNotPresent=", "set specular exponent if not present"); } @@ -133,7 +134,8 @@ class ReaderWriterOBJ : public osgDB::ReaderWriter protected: - struct ObjOptionsStruct { + class ObjOptionsStruct { + public: bool rotate; bool noTesselateLargePolygons; bool noTriStripPolygons; @@ -144,6 +146,18 @@ class ReaderWriterOBJ : public osgDB::ReaderWriter // otherwise overriden typedef std::vector< std::pair > TextureAllocationMap; TextureAllocationMap textureUnitAllocation; + int specularExponent; + + ObjOptionsStruct() + { + rotate = true; + noTesselateLargePolygons = false; + noTriStripPolygons = false; + generateFacetNormals = false; + fixBlackMaterials = true; + noReverseFaces = false; + specularExponent = -1; + } }; typedef std::map< std::string, osg::ref_ptr > MaterialToStateSetMap; @@ -333,12 +347,13 @@ void ReaderWriterOBJ::buildMaterialToStateSetMap(obj::Model& model, MaterialToSt osg_material->setDiffuse(osg::Material::FRONT_AND_BACK,material.diffuse); osg_material->setEmission(osg::Material::FRONT_AND_BACK,material.emissive); - if (material.illum == 2) { + if (material.illum >= 2) { osg_material->setSpecular(osg::Material::FRONT_AND_BACK,material.specular); } else { osg_material->setSpecular(osg::Material::FRONT_AND_BACK, osg::Vec4(0,0,0,1)); } - osg_material->setShininess(osg::Material::FRONT_AND_BACK,(material.Ns/1000.0f)*128.0f ); // note OBJ shiniess is 0..1000. + int ns = material.Ns != -1 ? material.Ns : localOptions.specularExponent != -1 ? localOptions.specularExponent : 0; + osg_material->setShininess(osg::Material::FRONT_AND_BACK,(ns/1000.0f)*128.0f ); // note OBJ shiniess is 0..1000. if (material.ambient[3]!=1.0 || material.diffuse[3]!=1.0 || @@ -820,12 +835,6 @@ osg::Node* ReaderWriterOBJ::convertModelToSceneGraph(obj::Model& model, ObjOptio ReaderWriterOBJ::ObjOptionsStruct ReaderWriterOBJ::parseOptions(const osgDB::ReaderWriter::Options* options) const { ObjOptionsStruct localOptions; - localOptions.rotate = true; - localOptions.noTesselateLargePolygons = false; - localOptions.noTriStripPolygons = false; - localOptions.generateFacetNormals = false; - localOptions.fixBlackMaterials = true; - localOptions.noReverseFaces = false; if (options!=NULL) { @@ -868,6 +877,11 @@ ReaderWriterOBJ::ObjOptionsStruct ReaderWriterOBJ::parseOptions(const osgDB::Rea { localOptions.noReverseFaces = true; } + else if (pre_equals == "NsIfNotPresent") + { + int value = atoi(post_equals.c_str()); + localOptions.specularExponent = value ; + } else if (post_equals.length()>0) { obj::Material::Map::TextureMapType type = obj::Material::Map::UNKNOWN; diff --git a/src/osgPlugins/obj/obj.h b/src/osgPlugins/obj/obj.h index b100ac88dac..9d79c533a83 100644 --- a/src/osgPlugins/obj/obj.h +++ b/src/osgPlugins/obj/obj.h @@ -43,7 +43,7 @@ class Material illum(2), Tf(0.0f,0.0f,0.0f,1.0f), Ni(0), - Ns(0), + Ns(-1), // textureReflection(false), alpha(1.0f) {} diff --git a/src/osgPlugins/osc/CMakeLists.txt b/src/osgPlugins/osc/CMakeLists.txt index 6bf61277ce0..0529e17e570 100644 --- a/src/osgPlugins/osc/CMakeLists.txt +++ b/src/osgPlugins/osc/CMakeLists.txt @@ -35,7 +35,7 @@ if(WIN32 AND NOT ANDROID) ip/win32/NetworkingUtils.cpp ip/win32/UdpSocket.cpp ) - SET(TARGET_EXTERNAL_LIBRARIES "${TARGET_EXTERNAL_LIBRARIES};Ws2_32.lib;winmm") + SET(TARGET_EXTERNAL_LIBRARIES "${TARGET_EXTERNAL_LIBRARIES};ws2_32.lib;winmm") ELSE() SET(TARGET_SRC ${TARGET_SRC} diff --git a/src/osgPlugins/osc/OscReceivingDevice.cpp b/src/osgPlugins/osc/OscReceivingDevice.cpp index b9c8045e91e..4b6cbb73b5d 100644 --- a/src/osgPlugins/osc/OscReceivingDevice.cpp +++ b/src/osgPlugins/osc/OscReceivingDevice.cpp @@ -424,8 +424,6 @@ class KeyPressAndReleaseRequestHandler : public OscReceivingDevice::RequestHandl { out << getRequestPath() << "(int keycode): send KEY_DOWN and KEY_UP"; } -private: - bool _handleKeyPress; }; diff --git a/src/osgPlugins/osc/osc/OscHostEndianness.h b/src/osgPlugins/osc/osc/OscHostEndianness.h index 3720ea63f70..fe135f46b5d 100644 --- a/src/osgPlugins/osc/osc/OscHostEndianness.h +++ b/src/osgPlugins/osc/osc/OscHostEndianness.h @@ -54,18 +54,26 @@ #if defined(__GLIBC__) || defined(__ANDROID__) || defined(__CYGWIN__) #include #if (__BYTE_ORDER == __LITTLE_ENDIAN) - #define __LITTLE_ENDIAN__ + #ifndef __LITTLE_ENDIAN__ + #define __LITTLE_ENDIAN__ + #endif #elif (__BYTE_ORDER == __BIG_ENDIAN) - #define __BIG_ENDIAN__ + #ifndef __BIG_ENDIAN__ + #define __BIG_ENDIAN__ + #endif #else #error Unknown machine endianness detected. #endif #elif defined(__FreeBSD__) #include #if (_BYTE_ORDER == _LITTLE_ENDIAN) - #define __LITTLE_ENDIAN__ + #ifndef __LITTLE_ENDIAN__ + #define __LITTLE_ENDIAN__ + #endif #elif (_BYTE_ORDER == _BIG_ENDIAN) - #define __BIG_ENDIAN__ + #ifndef __BIG_ENDIAN__ + #define __BIG_ENDIAN__ + #endif #else #error Unknown machine endianness detected. #endif diff --git a/src/osgPlugins/osc/osc/OscOutboundPacketStream.cpp b/src/osgPlugins/osc/osc/OscOutboundPacketStream.cpp index fd324a5c616..0dc7df7124c 100644 --- a/src/osgPlugins/osc/osc/OscOutboundPacketStream.cpp +++ b/src/osgPlugins/osc/osc/OscOutboundPacketStream.cpp @@ -1,31 +1,31 @@ /* - oscpack -- Open Sound Control packet manipulation library - http://www.audiomulch.com/~rossb/oscpack - - Copyright (c) 2004-2005 Ross Bencina - - Permission is hereby granted, free of charge, to any person obtaining - a copy of this software and associated documentation files - (the "Software"), to deal in the Software without restriction, - including without limitation the rights to use, copy, modify, merge, - publish, distribute, sublicense, and/or sell copies of the Software, - and to permit persons to whom the Software is furnished to do so, - subject to the following conditions: - - The above copyright notice and this permission notice shall be - included in all copies or substantial portions of the Software. - - Any person wishing to distribute modifications to the Software is - requested to send the modifications to the original developer so that - they can be incorporated into the canonical version. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. - IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR - ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF - CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION - WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + oscpack -- Open Sound Control packet manipulation library + http://www.audiomulch.com/~rossb/oscpack + + Copyright (c) 2004-2005 Ross Bencina + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + Any person wishing to distribute modifications to the Software is + requested to send the modifications to the original developer so that + they can be incorporated into the canonical version. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR + ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF + CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #include "OscOutboundPacketStream.h" @@ -129,8 +129,8 @@ static void FromUInt64( char *p, uint64 x ) #endif } - -static inline long RoundUp4( long x ) +template +T RoundUp4( T x ) { return ((x-1) & (~0x03L)) + 4; } @@ -188,13 +188,11 @@ void OutboundPacketStream::EndElement( char *endPtr ) // while building an element, an offset to the containing element's // size slot is stored in the elements size slot (or a ptr to data_ // if there is no containing element). We retrieve that here - uint32 *previousElementSizePtr = - (uint32*)(data_ + *reinterpret_cast(elementSizePtr_)); + uint32 *previousElementSizePtr = (uint32*)(data_ + *reinterpret_cast(elementSizePtr_)); // then we store the element size in the slot, note that the element // size does not include the size slot, hence the - 4 below. - uint32 elementSize = - (endPtr - reinterpret_cast(elementSizePtr_)) - 4; + uint32 elementSize = static_cast (endPtr - reinterpret_cast(elementSizePtr_)) - 4; FromUInt32( reinterpret_cast(elementSizePtr_), elementSize ); // finally, we reset the element size ptr to the containing element @@ -221,8 +219,7 @@ void OutboundPacketStream::CheckForAvailableBundleSpace() void OutboundPacketStream::CheckForAvailableMessageSpace( const char *addressPattern ) { // plus 4 for at least four bytes of type tag - unsigned long required = Size() + ((ElementSizeSlotRequired())?4:0) - + RoundUp4(strlen(addressPattern) + 1) + 4; + unsigned long required = Size() + ((ElementSizeSlotRequired()) ? 4 : 0) + RoundUp4(static_cast(strlen(addressPattern)) + 1) + 4; if( required > Capacity() ) throw OutOfBufferMemoryException(); @@ -232,8 +229,7 @@ void OutboundPacketStream::CheckForAvailableMessageSpace( const char *addressPat void OutboundPacketStream::CheckForAvailableArgumentSpace( long argumentLength ) { // plus three for extra type tag, comma and null terminator - unsigned long required = (argumentCurrent_ - data_) + argumentLength - + RoundUp4( (end_ - typeTagsCurrent_) + 3 ); + unsigned long required = static_cast((argumentCurrent_ - data_) + argumentLength + RoundUp4( (end_ - typeTagsCurrent_) + 3 )); if( required > Capacity() ) throw OutOfBufferMemoryException(); @@ -252,17 +248,17 @@ void OutboundPacketStream::Clear() unsigned int OutboundPacketStream::Capacity() const { - return end_ - data_; + return static_cast(end_ - data_); } unsigned int OutboundPacketStream::Size() const { - unsigned int result = argumentCurrent_ - data_; + unsigned int result = static_cast(argumentCurrent_ - data_); if( IsMessageInProgress() ){ // account for the length of the type tag string. the total type tag // includes an initial comma, plus at least one terminating \0 - result += RoundUp4( (end_ - typeTagsCurrent_) + 2 ); + result += static_cast(RoundUp4((end_ - typeTagsCurrent_) + 2)); } return result; @@ -337,7 +333,7 @@ OutboundPacketStream& OutboundPacketStream::operator<<( const BeginMessage& rhs messageCursor_ = BeginElement( messageCursor_ ); strcpy( messageCursor_, rhs.addressPattern ); - unsigned long rhsLength = strlen(rhs.addressPattern); + unsigned long rhsLength = static_cast(strlen(rhs.addressPattern)); messageCursor_ += rhsLength + 1; // zero pad to 4-byte boundary @@ -363,7 +359,7 @@ OutboundPacketStream& OutboundPacketStream::operator<<( const MessageTerminator& if( !IsMessageInProgress() ) throw MessageNotInProgressException(); - int typeTagsCount = end_ - typeTagsCurrent_; + int typeTagsCount = static_cast(end_ - typeTagsCurrent_); if( typeTagsCount ){ @@ -373,7 +369,7 @@ OutboundPacketStream& OutboundPacketStream::operator<<( const MessageTerminator& // slot size includes comma and null terminator int typeTagSlotSize = RoundUp4( typeTagsCount + 2 ); - uint32 argumentsSize = argumentCurrent_ - messageCursor_; + uint32 argumentsSize = static_cast(argumentCurrent_ - messageCursor_); memmove( messageCursor_ + typeTagSlotSize, messageCursor_, argumentsSize ); @@ -575,11 +571,11 @@ OutboundPacketStream& OutboundPacketStream::operator<<( double rhs ) OutboundPacketStream& OutboundPacketStream::operator<<( const char *rhs ) { - CheckForAvailableArgumentSpace( RoundUp4(strlen(rhs) + 1) ); + CheckForAvailableArgumentSpace(static_cast(RoundUp4(strlen(rhs) + 1))); *(--typeTagsCurrent_) = STRING_TYPE_TAG; strcpy( argumentCurrent_, rhs ); - unsigned long rhsLength = strlen(rhs); + unsigned long rhsLength = static_cast(strlen(rhs)); argumentCurrent_ += rhsLength + 1; // zero pad to 4-byte boundary @@ -595,11 +591,11 @@ OutboundPacketStream& OutboundPacketStream::operator<<( const char *rhs ) OutboundPacketStream& OutboundPacketStream::operator<<( const Symbol& rhs ) { - CheckForAvailableArgumentSpace( RoundUp4(strlen(rhs) + 1) ); + CheckForAvailableArgumentSpace(static_cast(RoundUp4(strlen(rhs) + 1))); *(--typeTagsCurrent_) = SYMBOL_TYPE_TAG; strcpy( argumentCurrent_, rhs ); - unsigned long rhsLength = strlen(rhs); + unsigned long rhsLength = static_cast(strlen(rhs)); argumentCurrent_ += rhsLength + 1; // zero pad to 4-byte boundary diff --git a/src/osgPlugins/osg/ReaderWriterOSG2.cpp b/src/osgPlugins/osg/ReaderWriterOSG2.cpp index d5d26dbb364..52d0ffb671d 100644 --- a/src/osgPlugins/osg/ReaderWriterOSG2.cpp +++ b/src/osgPlugins/osg/ReaderWriterOSG2.cpp @@ -201,7 +201,7 @@ class ReaderWriterOSG2 : public osgDB::ReaderWriter } is.decompress(); CATCH_EXCEPTION(is); - osg::Object* obj = is.readObject(); CATCH_EXCEPTION(is); + osg::ref_ptr obj = is.readObject(); CATCH_EXCEPTION(is); return obj; } @@ -231,7 +231,7 @@ class ReaderWriterOSG2 : public osgDB::ReaderWriter } is.decompress(); CATCH_EXCEPTION(is); - osg::Image* image = is.readImage(); CATCH_EXCEPTION(is); + osg::ref_ptr image = is.readImage(); CATCH_EXCEPTION(is); return image; } @@ -262,7 +262,7 @@ class ReaderWriterOSG2 : public osgDB::ReaderWriter } is.decompress(); CATCH_EXCEPTION(is); - osg::Node* node = dynamic_cast(is.readObject()); CATCH_EXCEPTION(is); + osg::ref_ptr node = is.readObjectOfType(); CATCH_EXCEPTION(is); if ( !node ) return ReadResult::FILE_NOT_HANDLED; return node; } diff --git a/src/osgPlugins/osga/OSGA_Archive.h b/src/osgPlugins/osga/OSGA_Archive.h index 43512723bcf..354c95037ca 100644 --- a/src/osgPlugins/osga/OSGA_Archive.h +++ b/src/osgPlugins/osga/OSGA_Archive.h @@ -94,8 +94,8 @@ class OSGA_Archive : public osgDB::Archive typedef __int64 pos_type; typedef __int64 size_type; #else - typedef unsigned long long pos_type; - typedef unsigned long long size_type; + typedef long long pos_type; + typedef long long size_type; #endif typedef std::pair PositionSizePair; diff --git a/src/osgPlugins/osgjs/JSON_Objects b/src/osgPlugins/osgjs/JSON_Objects index 351b582938b..3977f6d3b1f 100644 --- a/src/osgPlugins/osgjs/JSON_Objects +++ b/src/osgPlugins/osgjs/JSON_Objects @@ -10,6 +10,7 @@ #include #include #include +#include #include #include @@ -18,21 +19,6 @@ #include "json_stream" -#ifdef WIN32 - #if defined(__MINGW32__) || (!defined(_MSC_VER) || _MSC_VER<1600) - typedef unsigned __int8 uint8_t; - typedef unsigned __int16 uint16_t; - typedef unsigned __int32 uint32_t; - typedef signed __int8 int8_t; - typedef signed __int16 int16_t; - typedef signed __int32 int32_t; - #else - #include - #endif -#else - #include -#endif - class WriteVisitor; struct Vec5 diff --git a/src/osgPlugins/osgjs/ReaderWriterJSON.cpp b/src/osgPlugins/osgjs/ReaderWriterJSON.cpp index ad514c7a02a..21960cf8cef 100644 --- a/src/osgPlugins/osgjs/ReaderWriterJSON.cpp +++ b/src/osgPlugins/osgjs/ReaderWriterJSON.cpp @@ -231,7 +231,7 @@ osgDB::ReaderWriter::ReadResult ReaderWriterJSON::readNode(const std::string& fi fileName = osgDB::findDataFile( fileName, options ); if (fileName.empty()) return ReadResult::FILE_NOT_FOUND; - osg::Node *node = osgDB::readNodeFile( fileName, options ); + osg::ref_ptr node = osgDB::readRefNodeFile( fileName, options ); if (!node) return ReadResult::FILE_NOT_HANDLED; diff --git a/src/osgPlugins/osgjs/WriteVisitor.cpp b/src/osgPlugins/osgjs/WriteVisitor.cpp index 9f2b3c7fd13..9f7dc310953 100644 --- a/src/osgPlugins/osgjs/WriteVisitor.cpp +++ b/src/osgPlugins/osgjs/WriteVisitor.cpp @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -225,7 +226,7 @@ JSONObject* createImage(osg::Image* image, bool inlineImages, int maxTextureDime // no image file so use this inline name image and create a file std::stringstream ss; ss << osgDB::getFilePath(baseName) << osgDB::getNativePathSeparator(); - ss << (long int)image << ".inline_conv_generated.png"; // write the pointer location + ss << (int64_t)image << ".inline_conv_generated.png"; // write the pointer location std::string filename = ss.str(); if (osgDB::writeImageFile(*image, filename)) { image->setFileName(filename); @@ -656,7 +657,7 @@ JSONObject* WriteVisitor::createJSONPagedLOD(osg::PagedLOD *plod) ss << i; std::string str = ss.str(); // We need to convert first from osg format to osgjs format. - osg::ref_ptr n = osgDB::readNodeFile(plod->getFileName(i)+".gles"); + osg::ref_ptr n = osgDB::readRefNodeFile(plod->getFileName(i)+".gles"); if (n) { std::string filename(osgDB::getStrippedName(plod->getFileName(i))+".osgjs"); diff --git a/src/osgPlugins/osgjs/json_stream b/src/osgPlugins/osgjs/json_stream index 9c812100c04..77d7b0beda1 100644 --- a/src/osgPlugins/osgjs/json_stream +++ b/src/osgPlugins/osgjs/json_stream @@ -28,17 +28,18 @@ #include -using namespace std; - // A simple class wrapping ofstream calls to enable generic cleaning of json data. // Especially 'standard' json should: // * have utf-8 encoded string // * disallow some control characters // * does not support inf or nan values -#if defined(WIN32) && !defined(__MINGW32__) && (!defined(_MSC_VER) || _MSC_VER<=1600) -inline int isfinite( double x ) { return _finite( x ); } -inline int isinf( double x ) { return !_finite( x ) && !_isnan( x ); } +#if defined(WIN32) && !defined(__MINGW32__) && (!defined(_MSC_VER) || _MSC_VER<=1700) +namespace std +{ + inline int isfinite( double x ) { return _finite( x ); } + inline int isinf( double x ) { return !_finite( x ) && !_isnan( x ); } +} #endif @@ -91,11 +92,11 @@ class json_stream : public osgDB::ofstream { } double to_valid_float(const double d) { - if(isfinite(d)) { + if(std::isfinite(d)) { return d; } else { - if(isinf(d)) { + if(std::isinf(d)) { return std::numeric_limits::max(); } // no much way to do better than replace invalid float NaN by 0 diff --git a/src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp b/src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp index afbb2007198..7d6cdbdcfa2 100644 --- a/src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp +++ b/src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp @@ -91,7 +91,7 @@ class sgReaderWriterOSGTGZ : public osgDB::ReaderWriter std::string file_ext = osgDB::getLowerCaseFileExtension(*itr); if (osgDB::equalCaseInsensitive(file_ext,"osg")) { - osg::Node *node = osgDB::readNodeFile( *itr, local_options.get() ); + osg::ref_ptr node = osgDB::readRefNodeFile( *itr, local_options.get() ); grp->addChild( node ); } } diff --git a/src/osgPlugins/p3d/ReaderWriterP3D.cpp b/src/osgPlugins/p3d/ReaderWriterP3D.cpp index dd01e10b642..aa1c663fb18 100644 --- a/src/osgPlugins/p3d/ReaderWriterP3D.cpp +++ b/src/osgPlugins/p3d/ReaderWriterP3D.cpp @@ -1370,7 +1370,7 @@ void ReaderWriterP3DXML::parseVolume(osgPresentation::SlideShowConstructor& cons std::string vs; if (getProperty(cur, "vs", vs) || getProperty(cur, "VolumeSettings", vs)) { - volumeData.volumeSettings = osgDB::readFile(vs); + volumeData.volumeSettings = osgDB::readRefFile(vs); if (volumeData.volumeSettings.valid()) { OSG_NOTICE<<"VolumeSetting read "<(transferFunctionFile); + volumeData.transferFunction = osgDB::readRefFile(transferFunctionFile); } if (getTrimmedProperty(cur, "tf-255", transferFunctionFile)) { - volumeData.transferFunction = osgDB::readFile(transferFunctionFile); + volumeData.transferFunction = osgDB::readRefFile(transferFunctionFile); } if (getProperty(cur, "options", volumeData.options)) {} @@ -2567,7 +2567,7 @@ void ReaderWriterP3DXML::parseRunScriptFile(osgPresentation::SlideShowConstructo std::string function = ""; getProperty(cur, "function", function); - osg::ref_ptr script = osgDB::readFile(cur->getTrimmedContents()); + osg::ref_ptr script = osgDB::readRefFile(cur->getTrimmedContents()); if (script.valid()) { osg::ScriptEngine* se = constructor.getOrCreateScriptEngine(script->getLanguage()); diff --git a/src/osgPlugins/ply/vertexData.cpp b/src/osgPlugins/ply/vertexData.cpp index a7440611644..faeca766b82 100644 --- a/src/osgPlugins/ply/vertexData.cpp +++ b/src/osgPlugins/ply/vertexData.cpp @@ -18,6 +18,10 @@ #include #include #include +#include +#include +#include +#include using namespace std; using namespace ply; @@ -35,6 +39,7 @@ VertexData::VertexData() _diffuse = NULL; _ambient = NULL; _specular = NULL; + _texcoord = NULL; } @@ -66,6 +71,8 @@ void VertexData::readVertices( PlyFile* file, const int nVertices, unsigned char specular_blue; float specular_coeff; float specular_power; + float texture_u; + float texture_v; } vertex; PlyProperty vertexProps[] = @@ -74,8 +81,8 @@ void VertexData::readVertices( PlyFile* file, const int nVertices, { "y", PLY_FLOAT, PLY_FLOAT, offsetof( _Vertex, y ), 0, 0, 0, 0 }, { "z", PLY_FLOAT, PLY_FLOAT, offsetof( _Vertex, z ), 0, 0, 0, 0 }, { "nx", PLY_FLOAT, PLY_FLOAT, offsetof( _Vertex, nx ), 0, 0, 0, 0 }, - { "ny", PLY_FLOAT, PLY_FLOAT, offsetof( _Vertex, ny ), 0, 0, 0, 0 }, - { "nz", PLY_FLOAT, PLY_FLOAT, offsetof( _Vertex, nz ), 0, 0, 0, 0 }, + { "ny", PLY_FLOAT, PLY_FLOAT, offsetof(_Vertex, ny), 0, 0, 0, 0 }, + { "nz", PLY_FLOAT, PLY_FLOAT, offsetof(_Vertex, nz), 0, 0, 0, 0 }, { "red", PLY_UCHAR, PLY_UCHAR, offsetof( _Vertex, red ), 0, 0, 0, 0 }, { "green", PLY_UCHAR, PLY_UCHAR, offsetof( _Vertex, green ), 0, 0, 0, 0 }, { "blue", PLY_UCHAR, PLY_UCHAR, offsetof( _Vertex, blue ), 0, 0, 0, 0 }, @@ -91,6 +98,8 @@ void VertexData::readVertices( PlyFile* file, const int nVertices, { "specular_blue", PLY_UCHAR, PLY_UCHAR, offsetof( _Vertex, specular_blue ), 0, 0, 0, 0 }, { "specular_coeff", PLY_FLOAT, PLY_FLOAT, offsetof( _Vertex, specular_coeff ), 0, 0, 0, 0 }, { "specular_power", PLY_FLOAT, PLY_FLOAT, offsetof( _Vertex, specular_power ), 0, 0, 0, 0 }, + { "texture_u", PLY_FLOAT, PLY_FLOAT, offsetof(_Vertex, texture_u), 0, 0, 0, 0 }, + { "texture_v", PLY_FLOAT, PLY_FLOAT, offsetof(_Vertex, texture_v), 0, 0, 0, 0 }, }; // use all 6 properties when reading colors, only the first 3 otherwise @@ -120,6 +129,10 @@ void VertexData::readVertices( PlyFile* file, const int nVertices, for( int i = 16; i < 21; ++i ) ply_get_property( file, "vertex", &vertexProps[i] ); + if (fields & TEXCOORD) + for (int i = 21; i < 23; ++i) + ply_get_property(file, "vertex", &vertexProps[i]); + // check whether array is valid otherwise allocate the space if(!_vertices.valid()) _vertices = new osg::Vec3Array; @@ -154,6 +167,11 @@ void VertexData::readVertices( PlyFile* file, const int nVertices, if(!_specular.valid()) _specular = new osg::Vec4Array; } + if (fields & TEXCOORD) + { + if (!_texcoord.valid()) + _texcoord = new osg::Vec2Array; + } // read in the vertices for( int i = 0; i < nVertices; ++i ) @@ -186,6 +204,8 @@ void VertexData::readVertices( PlyFile* file, const int nVertices, _specular->push_back( osg::Vec4( (unsigned int) vertex.specular_red / 255.0, (unsigned int) vertex.specular_green / 255.0 , (unsigned int) vertex.specular_blue / 255.0, 1.0 ) ); + if (fields & TEXCOORD) + _texcoord->push_back(osg::Vec2(vertex.texture_u,vertex.texture_v)); } } @@ -208,38 +228,41 @@ void VertexData::readTriangles( PlyFile* file, const int nFaces ) ply_get_property( file, "face", &faceProps[0] ); - //triangles.clear(); - //triangles.reserve( nFaces ); if(!_triangles.valid()) - _triangles = new osg::DrawElementsUInt(osg::PrimitiveSet::TRIANGLES, 0); + _triangles = new osg::DrawElementsUInt(osg::PrimitiveSet::TRIANGLES); + if(!_quads.valid()) - _quads = new osg::DrawElementsUInt(osg::PrimitiveSet::QUADS, 0); + _quads = new osg::DrawElementsUInt(osg::PrimitiveSet::QUADS); + + const char NUM_VERTICES_TRIANGLE(3); + const char NUM_VERTICES_QUAD(4); // read the faces, reversing the reading direction if _invertFaces is true for( int i = 0 ; i < nFaces; i++ ) { + // initialize face values + face.nVertices = 0; + face.vertices = 0; + ply_get_element( file, static_cast< void* >( &face ) ); - MESHASSERT( face.vertices != 0 ); - if( (unsigned int)(face.nVertices) > 4 ) + if (face.vertices) { + if (face.nVertices == NUM_VERTICES_TRIANGLE || face.nVertices == NUM_VERTICES_QUAD) + { + unsigned short index; + for(int j = 0 ; j < face.nVertices ; j++) + { + index = ( _invertFaces ? face.nVertices - 1 - j : j ); + if(face.nVertices == 4) + _quads->push_back(face.vertices[index]); + else + _triangles->push_back(face.vertices[index]); + } + } + // free the memory that was allocated by ply_get_element free( face.vertices ); - throw MeshException( "Error reading PLY file. Encountered a " - "face which does not have three or four vertices." ); } - - unsigned short index; - for(int j = 0 ; j < face.nVertices ; j++) - { - index = ( _invertFaces ? face.nVertices - 1 - j : j ); - if(face.nVertices == 4) - _quads->push_back(face.vertices[index]); - else - _triangles->push_back(face.vertices[index]); - } - - // free the memory that was allocated by ply_get_element - free( face.vertices ); } } @@ -288,13 +311,47 @@ osg::Node* VertexData::readPlyFile( const char* filename, const bool ignoreColor MESHINFO << filename << ": " << nPlyElems << " elements, file type = " << fileType << ", version = " << version << endl; #endif - + char *textureFile = NULL; for( int i = 0; i < nComments; i++ ) { if( equal_strings( comments[i], "modified by flipply" ) ) { _invertFaces = true; } + if (strncmp(comments[i], "TextureFile",11)==0) + { + textureFile = comments[i]+12; + char * path = new char[strlen(const_cast(filename)) + 1 + strlen(comments[i])]; + if (textureFile[0] == '\\' || textureFile[0] == '/' || textureFile[1] == ':') + { + // texture filename is absolute + strcpy(path, textureFile); + } + else + { + // texture filename is relative + // add directory of ply file + strcpy(path, const_cast(filename)); + char *pp = path + strlen(path); + while (pp >= path) + { + if (*pp == '\\' || *pp == '/') + { + pp++; + *pp = '\0'; + break; + } + pp--; + } + if (pp == path - 1) + { + pp++; + *pp = '\0'; + } + strcat(path, textureFile); + } + textureFile = path; + } } for( int i = 0; i < nPlyElems; ++i ) @@ -327,10 +384,10 @@ osg::Node* VertexData::readPlyFile( const char* filename, const bool ignoreColor // if the string is vertex means vertex data is started if( equal_strings( elemNames[i], "vertex" ) ) { - int fields = NONE; + int fields = NONE; // determine if the file stores vertex colors for( int j = 0; j < nProps; ++j ) - { + { // if the string have the red means color info is there if( equal_strings( props[j]->name, "x" ) ) fields |= XYZ; @@ -344,15 +401,19 @@ osg::Node* VertexData::readPlyFile( const char* filename, const bool ignoreColor fields |= AMBIENT; if( equal_strings( props[j]->name, "diffuse_red" ) ) fields |= DIFFUSE; - if( equal_strings( props[j]->name, "specular_red" ) ) + if (equal_strings(props[j]->name, "specular_red")) fields |= SPECULAR; - } + if (equal_strings(props[j]->name, "texture_u")) + fields |= TEXCOORD; + if (equal_strings(props[j]->name, "texture_v")) + fields |= TEXCOORD; + } if( ignoreColors ) - { - fields &= ~(XYZ | NORMALS); - MESHINFO << "Colors in PLY file ignored per request." << endl; - } + { + fields &= ~(XYZ | NORMALS); + MESHINFO << "Colors in PLY file ignored per request." << endl; + } try { // Read vertices and store in a std::vector array @@ -360,7 +421,7 @@ osg::Node* VertexData::readPlyFile( const char* filename, const bool ignoreColor // Check whether all vertices are loaded or not MESHASSERT( _vertices->size() == static_cast< size_t >( nElems ) ); - // Check if all the optional elements were read or not + // Check if all the optional elements were read or not if( fields & NORMALS ) { MESHASSERT( _normals->size() == static_cast< size_t >( nElems ) ); @@ -377,9 +438,13 @@ osg::Node* VertexData::readPlyFile( const char* filename, const bool ignoreColor { MESHASSERT( _diffuse->size() == static_cast< size_t >( nElems ) ); } - if( fields & SPECULAR ) + if (fields & SPECULAR) + { + MESHASSERT(_specular->size() == static_cast< size_t >(nElems)); + } + if (fields & TEXCOORD) { - MESHASSERT( _specular->size() == static_cast< size_t >( nElems ) ); + MESHASSERT(_texcoord->size() == static_cast< size_t >(nElems)); } result = true; @@ -459,9 +524,9 @@ osg::Node* VertexData::readPlyFile( const char* filename, const bool ignoreColor geom->addPrimitiveSet(new osg::DrawArrays(GL_POINTS, 0, _vertices->size())); - // Apply the colours to the model; at the moment this is a - // kludge because we only use one kind and apply them all the - // same way. Also, the priority order is completely arbitrary + // Apply the colours to the model; at the moment this is a + // kludge because we only use one kind and apply them all the + // same way. Also, the priority order is completely arbitrary if(_colors.valid()) { @@ -475,10 +540,14 @@ osg::Node* VertexData::readPlyFile( const char* filename, const bool ignoreColor { geom->setColorArray(_diffuse.get(), osg::Array::BIND_PER_VERTEX ); } - else if(_specular.valid()) + else if(_specular.valid()) { geom->setColorArray(_specular.get(), osg::Array::BIND_PER_VERTEX ); } + else if (_texcoord.valid()) + { + geom->setTexCoordArray(0, _texcoord.get()); + } // If the model has normals, add them to the geometry if(_normals.valid()) @@ -494,11 +563,26 @@ osg::Node* VertexData::readPlyFile( const char* filename, const bool ignoreColor // set flage true to activate the vertex buffer object of drawable geom->setUseVertexBufferObjects(true); + osg::Image *image = NULL; + if (textureFile && (image = osgDB::readImageFile(textureFile)) != NULL) + { + osg::Texture2D *texture = new osg::Texture2D; + texture->setImage(image); + texture->setResizeNonPowerOfTwoHint(false); + + osg::TexEnv *texenv = new osg::TexEnv; + texenv->setMode(osg::TexEnv::REPLACE); + + osg::StateSet *stateset = geom->getOrCreateStateSet(); + stateset->setTextureAttributeAndModes(0, texture, osg::StateAttribute::ON); + stateset->setTextureAttribute(0, texenv); + delete[] textureFile; + } osg::Geode* geode = new osg::Geode; geode->addDrawable(geom); return geode; - } + } return NULL; } diff --git a/src/osgPlugins/ply/vertexData.h b/src/osgPlugins/ply/vertexData.h index dec0a663a3c..e2cd3a64665 100644 --- a/src/osgPlugins/ply/vertexData.h +++ b/src/osgPlugins/ply/vertexData.h @@ -55,7 +55,8 @@ namespace ply AMBIENT = 8, DIFFUSE = 16, SPECULAR = 32, - RGBA = 64 + RGBA = 64, + TEXCOORD = 128 }; // Function which reads all the vertices and colors if color info is @@ -75,6 +76,7 @@ namespace ply osg::ref_ptr _ambient; osg::ref_ptr _diffuse; osg::ref_ptr _specular; + osg::ref_ptr _texcoord; // Normals in osg format osg::ref_ptr _normals; diff --git a/src/osgPlugins/png/ReaderWriterPNG.cpp b/src/osgPlugins/png/ReaderWriterPNG.cpp index 83c1ab89339..e9741298ecb 100644 --- a/src/osgPlugins/png/ReaderWriterPNG.cpp +++ b/src/osgPlugins/png/ReaderWriterPNG.cpp @@ -209,10 +209,10 @@ class ReaderWriterPNG : public osgDB::ReaderWriter pinfo->Depth = depth; } - OSG_INFO<<"width="<8 && getCpuByteOrder()==osg::LittleEndian) diff --git a/src/osgPlugins/revisions/ReaderWriterRevisions.cpp b/src/osgPlugins/revisions/ReaderWriterRevisions.cpp index 859f2db345c..2dac02fbfa6 100644 --- a/src/osgPlugins/revisions/ReaderWriterRevisions.cpp +++ b/src/osgPlugins/revisions/ReaderWriterRevisions.cpp @@ -114,8 +114,7 @@ class ReaderWriterRevisions : public osgDB::ReaderWriter { std::string complete_path = osgDB::concatPaths(revisions_path, filename); OSG_INFO<<" complete_path="< object = osgDB::readObjectFile(complete_path, options); - fileList = dynamic_cast(object.get()); + fileList = osgDB::readRefFile(complete_path, options); } if (!fileList) diff --git a/src/osgPlugins/rot/ReaderWriterROT.cpp b/src/osgPlugins/rot/ReaderWriterROT.cpp index f61fb385dfe..cf4d20399ff 100644 --- a/src/osgPlugins/rot/ReaderWriterROT.cpp +++ b/src/osgPlugins/rot/ReaderWriterROT.cpp @@ -139,7 +139,7 @@ class ReaderWriterROT : public osgDB::ReaderWriter } // recursively load the subfile. - osg::Node *node = osgDB::readNodeFile( subFileName, options ); + osg::ref_ptr node = osgDB::readRefNodeFile( subFileName, options ); if( !node ) { // propagate the read failure upwards @@ -147,7 +147,7 @@ class ReaderWriterROT : public osgDB::ReaderWriter return ReadResult::FILE_NOT_HANDLED; } - osg::MatrixTransform *xform = new osg::MatrixTransform; + osg::ref_ptr xform = new osg::MatrixTransform; xform->setDataVariance( osg::Object::STATIC ); xform->setMatrix( osg::Matrix::rotate( osg::DegreesToRadians( rx ), osg::Vec3( 1, 0, 0 ), diff --git a/src/osgPlugins/scale/ReaderWriterSCALE.cpp b/src/osgPlugins/scale/ReaderWriterSCALE.cpp index 247c828564b..6b4da131d0e 100644 --- a/src/osgPlugins/scale/ReaderWriterSCALE.cpp +++ b/src/osgPlugins/scale/ReaderWriterSCALE.cpp @@ -152,7 +152,7 @@ class ReaderWriterSCALE : public osgDB::ReaderWriter } // recursively load the subfile. - osg::Node *node = osgDB::readNodeFile( subFileName, options ); + osg::ref_ptr node = osgDB::readRefNodeFile( subFileName, options ); if( !node ) { // propagate the read failure upwards @@ -160,7 +160,7 @@ class ReaderWriterSCALE : public osgDB::ReaderWriter return ReadResult::FILE_NOT_HANDLED; } - osg::MatrixTransform *xform = new osg::MatrixTransform; + osg::ref_ptr xform = new osg::MatrixTransform; xform->setDataVariance( osg::Object::STATIC ); xform->setMatrix( osg::Matrix::scale( sx, sy, sz ) ); xform->addChild( node ); diff --git a/src/osgPlugins/shadow/ReaderWriterOsgShadow.cpp b/src/osgPlugins/shadow/ReaderWriterOsgShadow.cpp index a72e51119a7..723c219ee80 100644 --- a/src/osgPlugins/shadow/ReaderWriterOsgShadow.cpp +++ b/src/osgPlugins/shadow/ReaderWriterOsgShadow.cpp @@ -121,7 +121,7 @@ class ReaderWriterOsgShadow : public osgDB::ReaderWriter if (!technique) technique = new osgShadow::ShadowVolume; // recursively load the subfile. - osg::Node *node = osgDB::readNodeFile( subFileName, options ); + osg::ref_ptr node = osgDB::readRefNodeFile( subFileName, options ); if( !node ) { // propagate the read failure upwards @@ -130,7 +130,7 @@ class ReaderWriterOsgShadow : public osgDB::ReaderWriter } osgShadow::ShadowedScene* shadowedScene = new osgShadow::ShadowedScene; - shadowedScene->setShadowTechnique(technique.get()); + shadowedScene->setShadowTechnique(technique); shadowedScene->addChild( node ); return shadowedScene; } diff --git a/src/osgPlugins/shp/ESRIShape.cpp b/src/osgPlugins/shp/ESRIShape.cpp index 8ffd4dcd43d..f5ece532f2c 100644 --- a/src/osgPlugins/shp/ESRIShape.cpp +++ b/src/osgPlugins/shp/ESRIShape.cpp @@ -810,7 +810,7 @@ bool PointZ::read( int fd ) return false; // Sometimes, M field is not supplied - if( rh.contentLength >= 18 ) + if( rh.contentLength*2 >= 18 ) if( readVal( fd, m, LittleEndian ) == false ) return false; diff --git a/src/osgPlugins/stl/ReaderWriterSTL.cpp b/src/osgPlugins/stl/ReaderWriterSTL.cpp index 947f30072ef..b951609b6bb 100644 --- a/src/osgPlugins/stl/ReaderWriterSTL.cpp +++ b/src/osgPlugins/stl/ReaderWriterSTL.cpp @@ -25,6 +25,7 @@ #include #include +#include #include #include @@ -43,23 +44,6 @@ #include #include - - -#if defined(_WIN32) && !defined(__MINGW32__) && (!defined(_MSC_VER) || _MSC_VER<1600) - -typedef unsigned __int8 uint8_t; -typedef unsigned __int16 uint16_t; -typedef unsigned __int32 uint32_t; -typedef signed __int8 int8_t; -typedef signed __int16 int16_t; -typedef signed __int32 int32_t; - -#else - -#include - -#endif - #include struct STLOptionsStruct { diff --git a/src/osgPlugins/terrain/ReaderWriterOsgTerrain.cpp b/src/osgPlugins/terrain/ReaderWriterOsgTerrain.cpp index 1ddd972dfd6..ce83dc1d9c7 100644 --- a/src/osgPlugins/terrain/ReaderWriterOsgTerrain.cpp +++ b/src/osgPlugins/terrain/ReaderWriterOsgTerrain.cpp @@ -83,7 +83,7 @@ class ReaderWriterTerrain : public osgDB::ReaderWriter if (fr.matchSequence("file %s") || fr.matchSequence("file %w") ) { - osg::Node* node = osgDB::readNodeFile(fr[1].getStr()); + osg::ref_ptr node = osgDB::readRefNodeFile(fr[1].getStr()); if (node) group->addChild(node); @@ -94,7 +94,7 @@ class ReaderWriterTerrain : public osgDB::ReaderWriter osg::ref_ptr node = fr.readNode(); if (node.valid()) { - group->addChild(node.get()); + group->addChild(node); itrAdvanced = true; } @@ -105,7 +105,7 @@ class ReaderWriterTerrain : public osgDB::ReaderWriter } } - if (group->getNumChildren()>0) return group.release(); + if (group->getNumChildren()>0) return group; else return 0; } diff --git a/src/osgPlugins/tga/ReaderWriterTGA.cpp b/src/osgPlugins/tga/ReaderWriterTGA.cpp index 5c2f11f0f18..bcc8404f474 100644 --- a/src/osgPlugins/tga/ReaderWriterTGA.cpp +++ b/src/osgPlugins/tga/ReaderWriterTGA.cpp @@ -491,16 +491,17 @@ class ReaderWriterTGA : public osgDB::ReaderWriter int t = height_ret; int r = 1; - int internalFormat = numComponents_ret; - unsigned int pixelFormat = numComponents_ret == 1 ? GL_LUMINANCE : - numComponents_ret == 2 ? GL_LUMINANCE_ALPHA : - numComponents_ret == 3 ? GL_RGB : - numComponents_ret == 4 ? GL_RGBA : (GLenum)-1; + numComponents_ret == 2 ? GL_LUMINANCE_ALPHA : + numComponents_ret == 3 ? GL_RGB : + numComponents_ret == 4 ? GL_RGBA : (GLenum)-1; + + int internalFormat = pixelFormat; unsigned int dataType = GL_UNSIGNED_BYTE; + osg::Image* pOsgImage = new osg::Image; pOsgImage->setImage(s,t,r, internalFormat, diff --git a/src/osgPlugins/tgz/ReaderWriterTGZ.cpp b/src/osgPlugins/tgz/ReaderWriterTGZ.cpp index dcfaf207bb0..4972c61725a 100644 --- a/src/osgPlugins/tgz/ReaderWriterTGZ.cpp +++ b/src/osgPlugins/tgz/ReaderWriterTGZ.cpp @@ -113,8 +113,8 @@ class ReaderWriterTGZ : public osgDB::ReaderWriter *itr!=std::string(".") && *itr!=std::string("..")) { - osg::Node *node = osgDB::readNodeFile(*itr, local_options.get()); - grp->addChild( node ); + osg::ref_ptr node = osgDB::readRefNodeFile(*itr, local_options.get()); + if (node) grp->addChild( node ); } } @@ -136,7 +136,7 @@ class ReaderWriterTGZ : public osgDB::ReaderWriter return ReadResult::FILE_NOT_HANDLED; } - return grp.get(); + return grp; } diff --git a/src/osgPlugins/tiff/ReaderWriterTIFF.cpp b/src/osgPlugins/tiff/ReaderWriterTIFF.cpp index a6f7f3fd1cb..36e220d24c8 100644 --- a/src/osgPlugins/tiff/ReaderWriterTIFF.cpp +++ b/src/osgPlugins/tiff/ReaderWriterTIFF.cpp @@ -852,6 +852,9 @@ class ReaderWriterTIFF : public osgDB::ReaderWriter else if (compressTypeOpt == "jpeg") { compressionType = COMPRESSION_JPEG; } + else if (compressTypeOpt == "none") { + compressionType = COMPRESSION_NONE; + } } } } @@ -883,10 +886,12 @@ class ReaderWriterTIFF : public osgDB::ReaderWriter case GL_DEPTH_COMPONENT: case GL_LUMINANCE: case GL_ALPHA: + case GL_RED: photometric = PHOTOMETRIC_MINISBLACK; samplesPerPixel = 1; break; case GL_LUMINANCE_ALPHA: + case GL_RG: photometric = PHOTOMETRIC_MINISBLACK; samplesPerPixel = 2; break; @@ -903,16 +908,22 @@ class ReaderWriterTIFF : public osgDB::ReaderWriter break; } + uint32 rowsperstrip = 0; + switch(img.getDataType()){ case GL_FLOAT: TIFFSetField(image, TIFFTAG_SAMPLEFORMAT, SAMPLEFORMAT_IEEEFP); - TIFFSetField(image, TIFFTAG_ROWSPERSTRIP, 1); + rowsperstrip = 1; bitsPerSample = 32; break; case GL_SHORT: TIFFSetField(image, TIFFTAG_SAMPLEFORMAT, SAMPLEFORMAT_INT); bitsPerSample = 16; break; + case GL_UNSIGNED_SHORT: + TIFFSetField(image, TIFFTAG_SAMPLEFORMAT, SAMPLEFORMAT_UINT); + bitsPerSample = 16; + break; default: bitsPerSample = 8; break; @@ -926,9 +937,9 @@ class ReaderWriterTIFF : public osgDB::ReaderWriter TIFFSetField(image, TIFFTAG_COMPRESSION, compressionType); TIFFSetField(image, TIFFTAG_FILLORDER, FILLORDER_MSB2LSB); TIFFSetField(image, TIFFTAG_PLANARCONFIG, PLANARCONFIG_CONTIG); - - //uint32 rowsperstrip = TIFFDefaultStripSize(image, -1); - //TIFFSetField(image, TIFFTAG_ROWSPERSTRIP, rowsperstrip); + + if (rowsperstrip==0) rowsperstrip = TIFFDefaultStripSize(image, 0); + TIFFSetField(image, TIFFTAG_ROWSPERSTRIP, rowsperstrip); // Write the information to the file for(int i = 0; i < img.t(); ++i) { diff --git a/src/osgPlugins/trans/ReaderWriterTRANS.cpp b/src/osgPlugins/trans/ReaderWriterTRANS.cpp index c130044cb71..0195c62b96e 100644 --- a/src/osgPlugins/trans/ReaderWriterTRANS.cpp +++ b/src/osgPlugins/trans/ReaderWriterTRANS.cpp @@ -139,7 +139,7 @@ class ReaderWriterTRANS : public osgDB::ReaderWriter } // recursively load the subfile. - osg::Node *node = osgDB::readNodeFile( subFileName, options ); + osg::ref_ptr node = osgDB::readRefNodeFile( subFileName, options ); if( !node ) { // propagate the read failure upwards @@ -147,7 +147,7 @@ class ReaderWriterTRANS : public osgDB::ReaderWriter return ReadResult::FILE_NOT_HANDLED; } - osg::MatrixTransform *xform = new osg::MatrixTransform; + osg::ref_ptr xform = new osg::MatrixTransform; xform->setDataVariance( osg::Object::STATIC ); xform->setMatrix( osg::Matrix::translate( tx, ty, tz ) ); xform->addChild( node ); diff --git a/src/osgPlugins/trk/ReaderWriterTRK.cpp b/src/osgPlugins/trk/ReaderWriterTRK.cpp index e0d82ce4b27..dcd0d2f14ad 100644 --- a/src/osgPlugins/trk/ReaderWriterTRK.cpp +++ b/src/osgPlugins/trk/ReaderWriterTRK.cpp @@ -169,7 +169,7 @@ struct AssignDirectionColour osg::ref_ptr stateset = geometry->getOrCreateStateSet(); osg::ref_ptr program = new osg::Program; - osg::ref_ptr vertexShader = osgDB::readShaderFile(osg::Shader::VERTEX, vertexShaderFile); + osg::ref_ptr vertexShader = osgDB::readRefShaderFile(osg::Shader::VERTEX, vertexShaderFile); if (!vertexShader) { vertexShader = new osg::Shader(osg::Shader::VERTEX, vert_shader_str); diff --git a/src/osgPlugins/txp/ReaderWriterTXP.h b/src/osgPlugins/txp/ReaderWriterTXP.h index 17ca4a5f23e..78d4dc400c7 100644 --- a/src/osgPlugins/txp/ReaderWriterTXP.h +++ b/src/osgPlugins/txp/ReaderWriterTXP.h @@ -57,6 +57,7 @@ class ReaderWriterTXP : public osgDB::ReaderWriter ReaderWriterTXP() { supportsExtension("txp","Terrapage txp format"); + supportsEnvironment("OSG_TXP_DEFAULT_MAX_ANISOTROPY", "default value to use when setting up textures"); } virtual const char* className() const diff --git a/src/osgPlugins/txp/TXPArchive.cpp b/src/osgPlugins/txp/TXPArchive.cpp index 3fa00f25e77..8af552efd7d 100644 --- a/src/osgPlugins/txp/TXPArchive.cpp +++ b/src/osgPlugins/txp/TXPArchive.cpp @@ -434,7 +434,7 @@ bool TXPArchive::loadModel(int ix) mod->GetName(name,1023); // Load the model. It's probably not TerraPage - osg::Node *osg_model = osgDB::readNodeFile( name ); + osg::ref_ptr osg_model = osgDB::readRefNodeFile( name ); if ( !osg_model ) { OSG_WARN << "TrPageArchive::LoadModels() error: " @@ -642,9 +642,8 @@ bool TXPArchive::loadTextStyles() continue; std::string fontfilename = fontmap[*fontName]; - if ( !fontfilename.length() ) - fontfilename = "arial.ttf"; - osg::ref_ptr< osgText::Font > font = osgText::readFontFile(fontfilename); + if ( !fontfilename.length() ) fontfilename = "arial.ttf"; + osg::ref_ptr< osgText::Font > font = osgText::readRefFontFile(fontfilename); _fonts[itr->first] = font; diff --git a/src/osgPlugins/vrml/ConvertToVRML.cpp b/src/osgPlugins/vrml/ConvertToVRML.cpp index 7440b1d65d9..4ada5d0e66e 100644 --- a/src/osgPlugins/vrml/ConvertToVRML.cpp +++ b/src/osgPlugins/vrml/ConvertToVRML.cpp @@ -845,7 +845,7 @@ void ToVRML::findTextureName(osg::Texture2D* tex, std::string& name, bool& alrea std::string::size_type pos = nameInput.find_last_of("."); std::string ext = nameInput.substr(pos, nameInput.length() - pos); - osg::ref_ptr < osg::Image > imgIn = osgDB::readImageFile(nameInput); + osg::ref_ptr < osg::Image > imgIn = osgDB::readRefImageFile(nameInput); if (!imgIn.valid()) { osg::notify(osg::ALWAYS) << "WARNING: couldn't read texture named: -" << nameOri << "- use default one instead -" << _defaultImage->getFileName() << "-" << std::endl; tex->setImage(_defaultImage.get()); diff --git a/src/osgPlugins/xine/ReaderWriterXine.cpp b/src/osgPlugins/xine/ReaderWriterXine.cpp index 5d8fa8011d8..08729d55a0a 100644 --- a/src/osgPlugins/xine/ReaderWriterXine.cpp +++ b/src/osgPlugins/xine/ReaderWriterXine.cpp @@ -306,6 +306,8 @@ class ReaderWriterXine : public osgDB::ReaderWriter supportsExtension("wmv",""); supportsExtension("xine","Xine plugin Pseduo plugin"); + supportsEnvironment("OSG_XINE_AUDIO_DRIVER", "name of default audio driver to use"); + _xine = xine_new(); const char* user_home = xine_get_homedir(); diff --git a/src/osgPlugins/zip/ZipArchive.cpp b/src/osgPlugins/zip/ZipArchive.cpp index d4d1d8aea43..8123a9b816e 100644 --- a/src/osgPlugins/zip/ZipArchive.cpp +++ b/src/osgPlugins/zip/ZipArchive.cpp @@ -121,11 +121,11 @@ bool ZipArchive::open(const std::string& file, ArchiveStatus status, const osgDB if ( !_zipLoaded ) // double-check avoids race condition { std::string ext = osgDB::getLowerCaseFileExtension(file); - if (!acceptsExtension(ext)) return osgDB::ReaderWriter::ReadResult::FILE_NOT_HANDLED; + if (!acceptsExtension(ext)) return false; // save the filename + password so other threads can open the file _filename = osgDB::findDataFile( file, options ); - if (_filename.empty()) return osgDB::ReaderWriter::ReadResult::FILE_NOT_FOUND; + if (_filename.empty()) return false; _password = ReadPassword(options); @@ -641,7 +641,7 @@ ZipArchive::getDataNoLock() const { data._zipHandle = OpenZip( _filename.c_str(), _password.c_str() ); } - else if ( _membuffer.empty() ) + else if ( !_membuffer.empty() ) { data._zipHandle = OpenZip( (void*)_membuffer.c_str(), _membuffer.length(), _password.c_str() ); } diff --git a/src/osgPresentation/Cursor.cpp b/src/osgPresentation/Cursor.cpp index 733f9438c6e..e0f605c9af6 100644 --- a/src/osgPresentation/Cursor.cpp +++ b/src/osgPresentation/Cursor.cpp @@ -77,7 +77,7 @@ void Cursor::initializeCursor() osg::ref_ptr geode = new osg::Geode; - osg::ref_ptr image = osgDB::readImageFile(osgDB::findDataFile(_filename)); + osg::ref_ptr image = osgDB::readRefImageFile(osgDB::findDataFile(_filename)); osg::ref_ptr texture = (image.valid()) ? new osg::Texture2D(image.get()) : 0; // full cursor diff --git a/src/osgPresentation/SlideShowConstructor.cpp b/src/osgPresentation/SlideShowConstructor.cpp index ca7461d749a..d192f7052f0 100644 --- a/src/osgPresentation/SlideShowConstructor.cpp +++ b/src/osgPresentation/SlideShowConstructor.cpp @@ -321,7 +321,7 @@ void SlideShowConstructor::addScriptEngine(const std::string& scriptEngineName) OSG_NOTICE<<"Script engine "< scriptEngine = osgDB::readFile(std::string("ScriptEngine.")+scriptEngineName); + osg::ref_ptr scriptEngine = osgDB::readRefFile(std::string("ScriptEngine.")+scriptEngineName); if (scriptEngine.valid()) { _scriptEngines[scriptEngineName] = scriptEngine; @@ -340,7 +340,7 @@ void SlideShowConstructor::addScriptEngine(const std::string& scriptEngineName) void SlideShowConstructor::addScriptFile(const std::string& name, const std::string& filename) { OSG_NOTICE<<"addScriptFile() name="< loadedImage = osgDB::readImageFile(*itr, options.get()); + osg::ref_ptr loadedImage = osgDB::readRefImageFile(*itr, options.get()); if (loadedImage.valid()) { OSG_INFO<<"Loaded image "<<*itr<addImageFile(*itr); if (firstLoad) { - osg::ref_ptr loadedImage = osgDB::readImageFile(*itr, options.get()); + osg::ref_ptr loadedImage = osgDB::readRefImageFile(*itr, options.get()); if (loadedImage.valid()) { imageSequence->addImage(loadedImage.get()); @@ -1732,7 +1732,7 @@ void SlideShowConstructor::addGraph(const std::string& contents, const PositionD } else { - osg::ref_ptr model = osgDB::readNodeFile(filename, _options.get()); + osg::ref_ptr model = osgDB::readRefNodeFile(filename, _options.get()); if (!model) return; dotFileName = tmpDirectory+osgDB::getStrippedName(filename)+std::string(".dot"); @@ -1823,7 +1823,7 @@ osg::Image* SlideShowConstructor::addInteractiveImage(const std::string& filenam options->setOptionString(imageData.options); } - osg::Image* image = osgDB::readImageFile(filename, options.get()); + osg::ref_ptr image = osgDB::readRefImageFile(filename, options.get()); OSG_INFO<<"addInteractiveImage("< handler = new osgViewer::InteractiveImageHandler(image); + osg::ref_ptr handler = new osgViewer::InteractiveImageHandler(image.get()); pictureQuad->setEventCallback(handler.get()); pictureQuad->setCullCallback(handler.get()); @@ -1939,7 +1939,7 @@ osg::Image* SlideShowConstructor::addInteractiveImage(const std::string& filenam addToCurrentLayer(subgraph); - osgWidget::PdfImage* pdfImage = dynamic_cast(image); + osgWidget::PdfImage* pdfImage = dynamic_cast(image.get()); if (pdfImage && imageData.page>=0) { getOrCreateLayerAttributes(_currentLayer.get())->addEnterCallback(new SetPageCallback(pdfImage, imageData.page)); @@ -1959,7 +1959,7 @@ osg::Image* SlideShowConstructor::addInteractiveImage(const std::string& filenam if (scriptData.hasScripts()) addScriptsToNode(scriptData, subgraph); - return image; + return image.release(); } std::string SlideShowConstructor::findFileAndRecordPath(const std::string& filename) @@ -2070,7 +2070,7 @@ void SlideShowConstructor::addModel(const std::string& filename, const PositionD } else { - subgraph = osgDB::readNodeFile(filename, options.get()); + subgraph = osgDB::readRefNodeFile(filename, options.get()); if (subgraph) recordOptionsFilePath(options.get()); } @@ -2682,7 +2682,7 @@ void SlideShowConstructor::addVolume(const std::string& filename, const Position itr != filenames.end(); ++itr) { - osg::ref_ptr loadedImage = osgDB::readImageFile(*itr, options.get()); + osg::ref_ptr loadedImage = osgDB::readRefImageFile(*itr, options.get()); if (loadedImage.valid()) { images.push_back(loadedImage.get()); @@ -2702,26 +2702,26 @@ void SlideShowConstructor::addVolume(const std::string& filename, const Position if (fileType == osgDB::DIRECTORY) { - image = osgDB::readImageFile(foundFile+".dicom", options.get()); + image = osgDB::readRefImageFile(foundFile+".dicom", options.get()); } else if (fileType == osgDB::REGULAR_FILE) { std::string ext = osgDB::getFileExtension(foundFile); if (ext=="osg" || ext=="ive" || ext=="osgx" || ext=="osgb" || ext=="osgt") { - osg::ref_ptr obj = osgDB::readObjectFile(foundFile); + osg::ref_ptr obj = osgDB::readRefObjectFile(foundFile); image = dynamic_cast(obj.get()); volume = dynamic_cast(obj.get()); } else { - image = osgDB::readImageFile( foundFile, options.get() ); + image = osgDB::readRefImageFile( foundFile, options.get() ); } } else { // not found image, so fallback to plugins/callbacks to find the model. - image = osgDB::readImageFile( filename, options.get() ); + image = osgDB::readRefImageFile( filename, options.get() ); if (image) recordOptionsFilePath(options.get() ); } } @@ -3056,7 +3056,7 @@ void SlideShowConstructor::addVolume(const std::string& filename, const Position if (!volumeData.hull.empty()) { - osg::ref_ptr hull = osgDB::readNodeFile(volumeData.hull, _options.get()); + osg::ref_ptr hull = osgDB::readRefNodeFile(volumeData.hull, _options.get()); if (hull.valid()) { hull = decorateSubgraphForPositionAndAnimation(hull.get(), volumeData.hullPositionData); @@ -3100,7 +3100,7 @@ void SlideShowConstructor::addVolume(const std::string& filename, const Position #if 1 - osgUI::Widget* widget = vs.valid() ? osgDB::readFile("ui/VolumeSettings.lua") : 0; + osg::ref_ptr widget = vs.valid() ? osgDB::readRefFile("ui/VolumeSettings.lua") : 0; if (widget) { OSG_NOTICE<<"Adding widget"< animationMaterial = 0; if (!positionData.animation_material_filename.empty()) { @@ -3186,8 +3186,7 @@ osg::Node* SlideShowConstructor::attachMaterialAnimation(osg::Node* model, const } } #else - osg::ref_ptr object = osgDB::readObjectFile(positionData.animation_material_filename, _options.get()); - animationMaterial = dynamic_cast(object.get()); + animationMaterial = osgDB::readRefFile(positionData.animation_material_filename, _options.get()); #endif } @@ -3214,7 +3213,7 @@ osg::Node* SlideShowConstructor::attachMaterialAnimation(osg::Node* model, const { animationMaterial->setLoopMode(positionData.animation_material_loop_mode); - AnimationMaterialCallback* animationMaterialCallback = new AnimationMaterialCallback(animationMaterial); + AnimationMaterialCallback* animationMaterialCallback = new AnimationMaterialCallback(animationMaterial.get()); animationMaterialCallback->setTimeOffset(positionData.animation_material_time_offset); animationMaterialCallback->setTimeMultiplier(positionData.animation_material_time_multiplier); @@ -3243,7 +3242,7 @@ osg::AnimationPathCallback* SlideShowConstructor::getAnimationPathCallback(const osg::ref_ptr options = _options.valid() ? _options->cloneOptions() : new osgDB::Options; options->setObjectCacheHint(osgDB::Options::CACHE_NONE); - osg::ref_ptr object = osgDB::readObjectFile(positionData.path, options.get()); + osg::ref_ptr object = osgDB::readRefObjectFile(positionData.path, options.get()); osg::AnimationPath* animation = dynamic_cast(object.get()); if (animation) { diff --git a/src/osgQt/GraphicsWindowQt.cpp b/src/osgQt/GraphicsWindowQt.cpp index d2abca275ff..b21a2ad2e85 100644 --- a/src/osgQt/GraphicsWindowQt.cpp +++ b/src/osgQt/GraphicsWindowQt.cpp @@ -15,6 +15,7 @@ #include #include #include +#include #if (QT_VERSION>=QT_VERSION_CHECK(4, 6, 0)) # define USE_GESTURES @@ -119,18 +120,24 @@ static QtKeyboardMap s_QtKeyboardMap; /// The object responsible for the scene re-rendering. class HeartBeat : public QObject { public: -int _timerId; -osg::Timer _lastFrameStartTime; -osg::observer_ptr< osgViewer::ViewerBase > _viewer; - -HeartBeat(); -virtual ~HeartBeat(); -void init( osgViewer::ViewerBase *viewer ); -void stopTimer(); -void timerEvent( QTimerEvent *event ); + int _timerId; + osg::Timer _lastFrameStartTime; + osg::observer_ptr< osgViewer::ViewerBase > _viewer; + + virtual ~HeartBeat(); + + void init( osgViewer::ViewerBase *viewer ); + void stopTimer(); + void timerEvent( QTimerEvent *event ); + + static HeartBeat* instance(); +private: + HeartBeat(); + + static QPointer heartBeat; }; -static HeartBeat heartBeat; +QPointer HeartBeat::heartBeat; #if (QT_VERSION < QT_VERSION_CHECK(5, 2, 0)) #define GETDEVICEPIXELRATIO() 1.0 @@ -955,7 +962,7 @@ void osgQt::initQtWindowingSystem() void osgQt::setViewer( osgViewer::ViewerBase *viewer ) { - heartBeat.init( viewer ); + HeartBeat::instance()->init( viewer ); } @@ -971,6 +978,14 @@ HeartBeat::~HeartBeat() stopTimer(); } +HeartBeat* HeartBeat::instance() +{ + if (!heartBeat) + { + heartBeat = new HeartBeat(); + } + return heartBeat; +} void HeartBeat::stopTimer() { @@ -1000,7 +1015,7 @@ void HeartBeat::init( osgViewer::ViewerBase *viewer ) } -void HeartBeat::timerEvent( QTimerEvent */*event*/ ) +void HeartBeat::timerEvent( QTimerEvent * /*event*/ ) { osg::ref_ptr< osgViewer::ViewerBase > viewer; if( !_viewer.lock( viewer ) ) diff --git a/src/osgShadow/ConvexPolyhedron.cpp b/src/osgShadow/ConvexPolyhedron.cpp index 403b3fafcbc..a261a4c3091 100644 --- a/src/osgShadow/ConvexPolyhedron.cpp +++ b/src/osgShadow/ConvexPolyhedron.cpp @@ -77,9 +77,8 @@ using namespace osgShadow; const osg::Matrix & ConvexPolyhedron::defaultMatrix = *(osg::Matrix*)NULL; static const double epsi = pow( 2.0, -20.0 ); //circa 8 times float prec(~2^-23) static const double plane_hull_tolerance = 1.0e-5; -static const double point_plane_tolerance = 0; -static const double point_point_tolerance = 0; -static const double point_point_equivalence = 0; +static const double point_plane_tolerance = 0.0; +static const double point_point_equivalence = 0.; // Tim Moore modifications for GCC 4.3 August 15, 2008 // they correspond to Adrian Egli tweaks for VS 7.3 on August 19, 2008 diff --git a/src/osgShadow/DebugShadowMap.cpp b/src/osgShadow/DebugShadowMap.cpp index ea57a39bfa7..26f00ff19dc 100644 --- a/src/osgShadow/DebugShadowMap.cpp +++ b/src/osgShadow/DebugShadowMap.cpp @@ -225,7 +225,8 @@ void DebugShadowMap::ViewData::setDebugPolytope { if( !getDebugDraw() ) return; - if( &polytope == NULL ) { // delete + const ConvexPolyhedron* polytope_ptr = &polytope; + if( polytope_ptr == NULL ) { // delete PolytopeGeometry & pg = _polytopeGeometryMap[ std::string( name ) ]; for( unsigned int i = 0; i < VECTOR_LENGTH( pg._geometry ) ; i++ ) { diff --git a/src/osgShadow/OccluderGeometry.cpp b/src/osgShadow/OccluderGeometry.cpp index aac9f4f4f0d..9a5d3dc1217 100644 --- a/src/osgShadow/OccluderGeometry.cpp +++ b/src/osgShadow/OccluderGeometry.cpp @@ -787,8 +787,6 @@ void OccluderGeometry::computeShadowVolumeGeometry(const osg::Vec4& lightpos, Sh UIntList silhouetteIndices; computeLightDirectionSilhouetteEdges(lightdirection, silhouetteIndices); - osg::Vec3 offset( lightdirection*5.0f ); - float directionScale = 1.0f / basePlane.dotProductNormal(lightdirection); for(UIntList::iterator itr = silhouetteIndices.begin(); diff --git a/src/osgShadow/ShadowMap.cpp b/src/osgShadow/ShadowMap.cpp index dbdbd9c7d9c..585a9a72465 100644 --- a/src/osgShadow/ShadowMap.cpp +++ b/src/osgShadow/ShadowMap.cpp @@ -60,16 +60,6 @@ static const char fragmentShaderSource_withBaseTexture[] = ////////////////////////////////////////////////////////////////// // fragment shader // -static const char fragmentShaderSource_debugHUD_texcoord[] = - "uniform sampler2D osgShadow_shadowTexture; \n" - " \n" - "void main(void) \n" - "{ \n" - " vec4 texCoord = gl_TexCoord[1].xyzw; \n" - " float value = texCoord.z / texCoord.w; \n" - " gl_FragColor = vec4( value, value, value, 1.0 ); \n" - "} \n"; - static const char fragmentShaderSource_debugHUD[] = "uniform sampler2D osgShadow_shadowTexture; \n" " \n" diff --git a/src/osgSim/ElevationSlice.cpp b/src/osgSim/ElevationSlice.cpp index 59b78050130..4057bf8c2d1 100644 --- a/src/osgSim/ElevationSlice.cpp +++ b/src/osgSim/ElevationSlice.cpp @@ -460,7 +460,7 @@ struct LineConstructor for(SegmentSet::iterator itr = _segments.begin(); itr != _segments.end(); - ++itr) + ) // itr increment is done manually at end of loop { SegmentSet::iterator nextItr = itr; ++nextItr; @@ -1060,6 +1060,9 @@ struct LineConstructor classification = ((itr != _segments.end()) && (nextItr != _segments.end())) ? itr->compare(*nextItr) : Segment::UNCLASSIFIED; } + + // increment iterator it it's not already at end of container. + if (itr!=_segments.end()) ++itr; } } diff --git a/src/osgSim/LineOfSight.cpp b/src/osgSim/LineOfSight.cpp index 48b6f735e09..b8a58a1aa3c 100644 --- a/src/osgSim/LineOfSight.cpp +++ b/src/osgSim/LineOfSight.cpp @@ -50,7 +50,7 @@ osg::Node* DatabaseCacheReadCallback::readNodeFile(const std::string& filename) } // now load the file. - osg::ref_ptr node = osgDB::readNodeFile(filename); + osg::ref_ptr node = osgDB::readRefNodeFile(filename); // insert into the cache. if (node.valid()) diff --git a/src/osgSim/ScalarBar.cpp b/src/osgSim/ScalarBar.cpp index 8e52fb0d982..e225c1fef58 100644 --- a/src/osgSim/ScalarBar.cpp +++ b/src/osgSim/ScalarBar.cpp @@ -205,7 +205,7 @@ void ScalarBar::createDrawables() float characterSize = _textProperties._characterSize; if(characterSize == 0) characterSize = _width * 0.03f; - osgText::Font* font = osgText::readFontFile(_textProperties._fontFile.c_str()); + osg::ref_ptr font = osgText::readRefFontFile(_textProperties._fontFile.c_str()); std::vector texts(_numLabels); // We'll need to collect pointers to these for later float labelIncr = (_numLabels>0) ? (_stc->getMax()-_stc->getMin())/(_numLabels-1) : 0.0f; diff --git a/src/osgSim/ScalarsToColors.cpp b/src/osgSim/ScalarsToColors.cpp index 3bbef6a51dc..52e095fd436 100644 --- a/src/osgSim/ScalarsToColors.cpp +++ b/src/osgSim/ScalarsToColors.cpp @@ -9,7 +9,7 @@ ScalarsToColors::ScalarsToColors(float scalarMin, float scalarMax): _min(scalarM osg::Vec4 ScalarsToColors::getColor(float scalar) const { if(scalar<_min) return osg::Vec4(0.0f,0.0f,0.0f,0.0f); - if(scalar>_max) return osg::Vec4(0.0f,0.0f,0.0f,0.0f); + if(scalar>_max) return osg::Vec4(1.0f,1.0f,1.0f,1.0f); float c = (_min+scalar)/(_max-_min); return osg::Vec4(c,c,c,1.0); diff --git a/src/osgSim/Sector.cpp b/src/osgSim/Sector.cpp index 7ddc7cef33b..029e2ce9be6 100644 --- a/src/osgSim/Sector.cpp +++ b/src/osgSim/Sector.cpp @@ -218,14 +218,17 @@ float ConeSector::operator() (const osg::Vec3& eyeLocal) const // // DirectionalSector // -DirectionalSector::DirectionalSector(const osg::Vec3& direction,float horizLobeAngle, float vertLobeAngle, float lobeRollAngle, float fadeAngle): +DirectionalSector::DirectionalSector(const osg::Vec3& direction, float horizLobeAngle, float vertLobeAngle, float lobeRollAngle, float fadeAngle): Sector() { - setDirection(direction); - setHorizLobeAngle(horizLobeAngle); - setVertLobeAngle(vertLobeAngle); - setLobeRollAngle(lobeRollAngle); + _direction = direction; + _cosHorizAngle = cos(horizLobeAngle*0.5); + _cosVertAngle = cos(vertLobeAngle*0.5); + _rollAngle = lobeRollAngle; + setFadeAngle(fadeAngle); + + computeMatrix(); } void DirectionalSector::computeMatrix() diff --git a/src/osgSim/ShapeAttribute.cpp b/src/osgSim/ShapeAttribute.cpp index c18f70cd849..753322d5e2c 100644 --- a/src/osgSim/ShapeAttribute.cpp +++ b/src/osgSim/ShapeAttribute.cpp @@ -135,11 +135,13 @@ int ShapeAttribute::compare(const osgSim::ShapeAttribute& sa) const { if (_string& nptr) const { - if(typeid(*nptr)==_t) + const osg::Node* ptr = nptr.get(); + if(typeid(*ptr)==_t) { osg::Drawable* drawable = nptr->asDrawable(); osg::StateSet* ss = drawable->getOrCreateStateSet(); @@ -919,7 +920,8 @@ struct DeactivateTransparencyOnType void operator()(osg::ref_ptr& nptr) const { - if(typeid(*nptr)==_t) + const osg::Node* ptr = nptr.get(); + if(typeid(*ptr)==_t) { osg::Drawable* drawable = nptr->asDrawable(); osg::StateSet* ss = drawable->getOrCreateStateSet(); diff --git a/src/osgTerrain/GeometryPool.cpp b/src/osgTerrain/GeometryPool.cpp index a06e3c87f37..6e68bb469db 100644 --- a/src/osgTerrain/GeometryPool.cpp +++ b/src/osgTerrain/GeometryPool.cpp @@ -601,21 +601,21 @@ osg::ref_ptr GeometryPool::getOrCreateProgram(LayerTypes& layerTyp _programMap[layerTypes] = program; // add shader that provides the lighting functions - program->addShader(osgDB::readShaderFile("shaders/lighting.vert")); + { + #include "shaders/lighting_vert.cpp" + program->addShader(osgDB::readRefShaderFileWithFallback(osg::Shader::VERTEX, "shaders/lighting.vert", lighting_vert)); + } // OSG_NOTICE<<") creating new Program "< shader = osgDB::readShaderFileWithFallback(osg::Shader::VERTEX, "shaders/terrain_displacement_mapping.vert", terrain_displacement_mapping_vert); - - program->addShader(shader.get()); + program->addShader(osgDB::readRefShaderFileWithFallback(osg::Shader::VERTEX, "shaders/terrain_displacement_mapping.vert", terrain_displacement_mapping_vert)); } { #include "shaders/terrain_displacement_mapping_geom.cpp" - osg::ref_ptr shader = osgDB::readShaderFileWithFallback(osg::Shader::GEOMETRY, "shaders/terrain_displacement_mapping.geom", terrain_displacement_mapping_geom); - program->addShader(shader.get()); + program->addShader(osgDB::readRefShaderFileWithFallback(osg::Shader::GEOMETRY, "shaders/terrain_displacement_mapping.geom", terrain_displacement_mapping_geom)); program->setParameter( GL_GEOMETRY_VERTICES_OUT, 4 ); program->setParameter( GL_GEOMETRY_INPUT_TYPE, GL_LINES_ADJACENCY ); @@ -629,13 +629,7 @@ osg::ref_ptr GeometryPool::getOrCreateProgram(LayerTypes& layerTyp { #include "shaders/terrain_displacement_mapping_frag.cpp" - osg::ref_ptr shader = osgDB::readShaderFileWithFallback(osg::Shader::FRAGMENT, "shaders/terrain_displacement_mapping.frag", terrain_displacement_mapping_frag); - - if (shader.valid()) - { - program->addShader(shader.get()); - } - + program->addShader(osgDB::readRefShaderFileWithFallback(osg::Shader::FRAGMENT, "shaders/terrain_displacement_mapping.frag", terrain_displacement_mapping_frag)); } return program; diff --git a/src/osgTerrain/GeometryTechnique.cpp b/src/osgTerrain/GeometryTechnique.cpp index 53044979afa..0ea9a60999e 100644 --- a/src/osgTerrain/GeometryTechnique.cpp +++ b/src/osgTerrain/GeometryTechnique.cpp @@ -329,11 +329,11 @@ class VertexNormalGenerator osg::Vec3 zero(0.0f,0.0f,0.0f); if (left_valid) { - dx = center-left; + dx += center-left; } if (right_valid) { - dx = right-center; + dx += right-center; } if (bottom_valid) { @@ -907,7 +907,7 @@ void GeometryTechnique::generateGeometry(BufferData& buffer, Locator* masterLoca if (left_tile.valid()) { - if (!(left_tile->getTerrainTechnique()->containsNeighbour(_terrainTile))) + if (left_tile->getTerrainTechnique()==0 || !(left_tile->getTerrainTechnique()->containsNeighbour(_terrainTile))) { int dirtyMask = left_tile->getDirtyMask() | TerrainTile::LEFT_EDGE_DIRTY; if (updateNeighboursImmediately) left_tile->init(dirtyMask, true); @@ -916,7 +916,7 @@ void GeometryTechnique::generateGeometry(BufferData& buffer, Locator* masterLoca } if (right_tile.valid()) { - if (!(right_tile->getTerrainTechnique()->containsNeighbour(_terrainTile))) + if (right_tile->getTerrainTechnique()==0 || !(right_tile->getTerrainTechnique()->containsNeighbour(_terrainTile))) { int dirtyMask = right_tile->getDirtyMask() | TerrainTile::RIGHT_EDGE_DIRTY; if (updateNeighboursImmediately) right_tile->init(dirtyMask, true); @@ -925,7 +925,7 @@ void GeometryTechnique::generateGeometry(BufferData& buffer, Locator* masterLoca } if (top_tile.valid()) { - if (!(top_tile->getTerrainTechnique()->containsNeighbour(_terrainTile))) + if (top_tile->getTerrainTechnique()==0 || !(top_tile->getTerrainTechnique()->containsNeighbour(_terrainTile))) { int dirtyMask = top_tile->getDirtyMask() | TerrainTile::TOP_EDGE_DIRTY; if (updateNeighboursImmediately) top_tile->init(dirtyMask, true); @@ -935,7 +935,7 @@ void GeometryTechnique::generateGeometry(BufferData& buffer, Locator* masterLoca if (bottom_tile.valid()) { - if (!(bottom_tile->getTerrainTechnique()->containsNeighbour(_terrainTile))) + if (bottom_tile->getTerrainTechnique()==0 || !(bottom_tile->getTerrainTechnique()->containsNeighbour(_terrainTile))) { int dirtyMask = bottom_tile->getDirtyMask() | TerrainTile::BOTTOM_EDGE_DIRTY; if (updateNeighboursImmediately) bottom_tile->init(dirtyMask, true); @@ -986,7 +986,6 @@ void GeometryTechnique::generateGeometry(BufferData& buffer, Locator* masterLoca #endif } - osg::ref_ptr skirtVectors = new osg::Vec3Array((*VNG._normals)); VNG.computeNormals(); @@ -994,7 +993,7 @@ void GeometryTechnique::generateGeometry(BufferData& buffer, Locator* masterLoca // populate the primitive data // bool swapOrientation = !(masterLocator->orientationOpenGL()); - bool smallTile = numVertices <= 16384; + bool smallTile = numVertices < 65536; // OSG_NOTICE<<"smallTile = "<init(dirtyMask, assumeMultiThreaded); + _terrainTechnique->init(dirtyMask|getDirtyMask(), assumeMultiThreaded); } } @@ -189,8 +189,6 @@ void TerrainTile::setTerrainTechnique(TerrainTechnique* terrainTechnique) { if (_terrainTechnique == terrainTechnique) return; - int dirtyDelta = (_dirtyMask==NOT_DIRTY) ? 0 : -1; - if (_terrainTechnique.valid()) { _terrainTechnique->setTerrainTile(0); @@ -201,11 +199,9 @@ void TerrainTile::setTerrainTechnique(TerrainTechnique* terrainTechnique) if (_terrainTechnique.valid()) { _terrainTechnique->setTerrainTile(this); - ++dirtyDelta; - } - if (dirtyDelta>0) setDirtyMask(ALL_DIRTY); - else if (dirtyDelta<0) setDirtyMask(NOT_DIRTY); + setDirtyMask(ALL_DIRTY); + } } void TerrainTile::setDirtyMask(int dirtyMask) @@ -218,14 +214,6 @@ void TerrainTile::setDirtyMask(int dirtyMask) if (_dirtyMask!=NOT_DIRTY) dirtyDelta += 1; -#if 0 - if (dirtyDelta>0) - { - // need to signal that we need an update - if (_terrain) _terrain->updateTerrainTileOnNextFrame(this); - } -#else - // setNumChildrenRequeingUpdateTraversal() isn't thread safe so should avoid using it. if (dirtyDelta>0) { @@ -235,7 +223,6 @@ void TerrainTile::setDirtyMask(int dirtyMask) { setNumChildrenRequiringUpdateTraversal(getNumChildrenRequiringUpdateTraversal()-1); } -#endif } @@ -305,7 +292,7 @@ bool WhiteListTileLoadedCallback::readImageLayer(osgTerrain::ImageLayer* imageLa { if (layerAcceptable(imageLayer->getSetName())) { - osg::ref_ptr image = osgDB::readImageFile(imageLayer->getFileName(), options); + osg::ref_ptr image = osgDB::readRefImageFile(imageLayer->getFileName(), options); imageLayer->setImage(image.get()); } } @@ -324,10 +311,10 @@ void WhiteListTileLoadedCallback::loaded(osgTerrain::TerrainTile* tile, const os for(unsigned int i=0; igetNumColorLayers(); ++i) { osgTerrain::Layer* layer = tile->getColorLayer(i); - osgTerrain::ImageLayer* imageLayer = dynamic_cast(layer); - if (imageLayer) + osgTerrain::ImageLayer* color_imageLayer = dynamic_cast(layer); + if (color_imageLayer) { - readImageLayer(imageLayer, options); + readImageLayer(color_imageLayer, options); continue; } @@ -372,12 +359,12 @@ void WhiteListTileLoadedCallback::loaded(osgTerrain::TerrainTile* tile, const os for(unsigned int i=0; igetNumColorLayers(); ++i) { osgTerrain::Layer* layer = tile->getColorLayer(i); - osgTerrain::ImageLayer* imageLayer = dynamic_cast(layer); - if (imageLayer) + osgTerrain::ImageLayer* color_imageLayer = dynamic_cast(layer); + if (color_imageLayer) { - if (imageLayer->getImage()!=0) + if (color_imageLayer->getImage()!=0) { - validLayer = imageLayer; + validLayer = color_imageLayer; } continue; } @@ -417,10 +404,10 @@ void WhiteListTileLoadedCallback::loaded(osgTerrain::TerrainTile* tile, const os for(unsigned int i=0; igetNumColorLayers(); ++i) { osgTerrain::Layer* layer = tile->getColorLayer(i); - osgTerrain::ImageLayer* imageLayer = dynamic_cast(layer); - if (imageLayer) + osgTerrain::ImageLayer* color_imageLayer = dynamic_cast(layer); + if (color_imageLayer) { - if (imageLayer->getImage()==0) + if (color_imageLayer->getImage()==0) { tile->setColorLayer(i, validLayer); break; diff --git a/src/osgTerrain/shaders/lighting_vert.cpp b/src/osgTerrain/shaders/lighting_vert.cpp new file mode 100644 index 00000000000..a0ac0f8ac24 --- /dev/null +++ b/src/osgTerrain/shaders/lighting_vert.cpp @@ -0,0 +1,25 @@ +char lighting_vert[] = "#pragma requires(LIGHTING)\n" + "\n" + "void directionalLight( int lightNum, vec3 normal, inout vec4 color )\n" + "{\n" + " vec3 n = normalize(gl_NormalMatrix * normal);\n" + "\n" + " float NdotL = dot( n, normalize(gl_LightSource[lightNum].position.xyz) );\n" + " NdotL = max( 0.0, NdotL );\n" + "\n" + " float NdotHV = dot( n, gl_LightSource[lightNum].halfVector.xyz );\n" + " NdotHV = max( 0.0, NdotHV );\n" + "#if 1\n" + " color *= gl_LightSource[lightNum].ambient +\n" + " gl_LightSource[lightNum].diffuse * NdotL;\n" + "#else\n" + " color *= gl_FrontLightModelProduct.sceneColor +\n" + " gl_FrontLightProduct[lightNum].ambient +\n" + " gl_FrontLightProduct[lightNum].diffuse * NdotL;\n" + "#endif\n" + "#if 0\n" + " if ( NdotL * NdotHV > 0.0 )\n" + " color += gl_FrontLightProduct[lightNum].specular * pow( NdotHV, gl_FrontMaterial.shininess );\n" + "#endif\n" + "}\n" + "\n"; diff --git a/src/osgTerrain/shaders/terrain_displacement_mapping_vert.cpp b/src/osgTerrain/shaders/terrain_displacement_mapping_vert.cpp index b3b0ce5d901..a052d4dc14d 100644 --- a/src/osgTerrain/shaders/terrain_displacement_mapping_vert.cpp +++ b/src/osgTerrain/shaders/terrain_displacement_mapping_vert.cpp @@ -125,5 +125,5 @@ char terrain_displacement_mapping_vert[] = "#version 120\n" " vec3 position = gl_Vertex.xyz + gl_Normal.xyz * height_center;\n" " gl_Position = gl_ModelViewProjectionMatrix * vec4(position,1.0);\n" "\n" - "};\n" + "}\n" "\n"; diff --git a/src/osgText/Font.cpp b/src/osgText/Font.cpp index 2426ffdd5a2..6eca7196dba 100644 --- a/src/osgText/Font.cpp +++ b/src/osgText/Font.cpp @@ -34,6 +34,13 @@ using namespace std; static osg::ApplicationUsageProxy Font_e0(osg::ApplicationUsage::ENVIRONMENTAL_VARIABLE,"OSG_TEXT_INCREMENTAL_SUBLOADING ","ON | OFF"); +#if (!defined(OSG_GLES2_AVAILABLE) && !defined(OSG_GLES3_AVAILABLE)) + #define GLSL_VERSION_STR "330 core" + #define GLYPH_CMP "r" +#else + #define GLSL_VERSION_STR "300 es" + #define GLYPH_CMP "a" +#endif osg::ref_ptr& Font::getDefaultFont() { @@ -107,6 +114,7 @@ std::string osgText::findFontFile(const std::string& str) return std::string(); } +#ifdef OSG_PROVIDE_READFILE osgText::Font* osgText::readFontFile(const std::string& filename, const osgDB::ReaderWriter::Options* userOptions) { if (filename.empty()) return 0; @@ -167,6 +175,7 @@ osgText::Font* osgText::readFontStream(std::istream& stream, const osgDB::Reader if (object && object->referenceCount()==0) object->unref(); return 0; } +#endif osg::ref_ptr osgText::readRefFontFile(const std::string& filename, const osgDB::ReaderWriter::Options* userOptions) { @@ -238,7 +247,109 @@ Font::Font(FontImplementation* implementation): _texenv = new osg::TexEnv; _stateset = new osg::StateSet; + _stateset->setRenderingHint(osg::StateSet::TRANSPARENT_BIN); + _stateset->setMode(GL_LIGHTING, osg::StateAttribute::OFF); + _stateset->setMode(GL_BLEND, osg::StateAttribute::ON); + +#if defined(OSG_GL_FIXED_FUNCTION_AVAILABLE) + + OSG_INFO<<"Font::Font() Fixed function pipeline"<setTextureMode(0, GL_TEXTURE_2D, osg::StateAttribute::ON); +#endif + +#if defined(OSG_GL3_AVAILABLE) || defined(OSG_GLES3_AVAILABLE) + { + + OSG_INFO<<"Font::Font() Setting up GL3 compatible shaders"<=0.0) color = vertexColor * vec4(1.0, 1.0, 1.0, texture(glyphTexture, texCoord)." GLYPH_CMP ");\n" + " else color = vertexColor;\n" + "}\n" + }; + + osg::ref_ptr program = new osg::Program; + program->addShader(new osg::Shader(osg::Shader::VERTEX, gl3_TextVertexShader)); + program->addShader(new osg::Shader(osg::Shader::FRAGMENT, gl3_TextFragmentShader)); + _stateset->setAttributeAndModes(program.get()); + _stateset->addUniform(new osg::Uniform("glyphTexture", 0)); + + } +#elif defined(OSG_GL2_AVAILABLE) || defined(OSG_GLES2_AVAILABLE) + { + OSG_INFO<<"Font::Font() Setting up GL2 compatible shaders"<=0.0) gl_FragColor = vertexColor * vec4(1.0, 1.0, 1.0, texture2D(glyphTexture, texCoord).a);\n" + " else gl_FragColor = vertexColor;\n" + "}\n" + }; + + osg::ref_ptr program = new osg::Program; + program->addShader(new osg::Shader(osg::Shader::VERTEX, gl2_TextVertexShader)); + program->addShader(new osg::Shader(osg::Shader::FRAGMENT, gl2_TextFragmentShader)); + _stateset->setAttributeAndModes(program.get()); + _stateset->addUniform(new osg::Uniform("glyphTexture", 0)); + + } +#endif char *ptr; if( (ptr = getenv("OSG_MAX_TEXTURE_SIZE")) != 0) diff --git a/src/osgText/Glyph.cpp b/src/osgText/Glyph.cpp index 27566ff4afb..2d433d56673 100644 --- a/src/osgText/Glyph.cpp +++ b/src/osgText/Glyph.cpp @@ -373,6 +373,7 @@ void GlyphTexture::apply(osg::State& state) const glyphsWereSubloading.clear(); glPixelStorei(GL_UNPACK_ALIGNMENT,1); + glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, getFilter(osg::Texture::MIN_FILTER)); #if !defined(OSG_GLES1_AVAILABLE) && !defined(OSG_GLES2_AVAILABLE) glPixelStorei(GL_UNPACK_ROW_LENGTH,getTextureWidth()); @@ -517,6 +518,10 @@ void Glyph::subload() const #if !defined(OSG_GLES1_AVAILABLE) && !defined(OSG_GLES2_AVAILABLE) glPixelStorei(GL_UNPACK_ROW_LENGTH,getRowLength()); #endif + if (_texture) + glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, _texture->getFilter(osg::Texture::MIN_FILTER)); + else + glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR); glTexSubImage2D(GL_TEXTURE_2D,0, _texturePosX,_texturePosY, diff --git a/src/osgText/Text.cpp b/src/osgText/Text.cpp index c6a123b5f96..94be42c7dfb 100644 --- a/src/osgText/Text.cpp +++ b/src/osgText/Text.cpp @@ -723,8 +723,17 @@ void Text::computePositions(unsigned int contextID) const ++titr) { GlyphQuads& glyphquad = titr->second; + //OSG_NOTICE<<"Text::computePositions("<size(); i += 4) + } + + if (numCoords>=16384 && _quadIndices->getType()!=osg::PrimitiveSet::DrawElementsUIntPrimitiveType) { - _quadIndices->push_back(i); - _quadIndices->push_back(i + 1); - _quadIndices->push_back(i + 3); + // if we need more indices + _quadIndices = new DrawElementsUInt(PrimitiveSet::TRIANGLES); + } - _quadIndices->push_back(i + 1); - _quadIndices->push_back(i + 2); - _quadIndices->push_back(i + 3); + _quadIndices->resizeElements(numIndices); + + unsigned int vi=0; + for (unsigned int i = 0; i < numCoords; i += 4) + { + _quadIndices->setElement(vi++, i); + _quadIndices->setElement(vi++, i + 1); + _quadIndices->setElement(vi++, i + 3); + + _quadIndices->setElement(vi++, i + 1); + _quadIndices->setElement(vi++, i + 2); + _quadIndices->setElement(vi++, i + 3); } } @@ -2073,17 +2137,60 @@ void Text::GlyphQuads::initGPUBufferObjects() _colorCoords->setVertexBufferObject(vbo); for (size_t i = 0; i < _transformedCoords.size(); i++) { - _transformedCoords[i]->setBinding(osg::Array::BIND_PER_VERTEX); - _transformedCoords[i]->setVertexBufferObject(vbo); + if (_transformedCoords[i].valid()) + { + _transformedCoords[i]->setBinding(osg::Array::BIND_PER_VERTEX); + _transformedCoords[i]->setVertexBufferObject(vbo); + } } for (int j = 0; j < 8; j++) { for (size_t i = 0; i < _transformedBackdropCoords[j].size(); i++) { - _transformedBackdropCoords[j][i]->setBinding(osg::Array::BIND_PER_VERTEX); - _transformedBackdropCoords[j][i]->setVertexBufferObject(vbo); + if (_transformedBackdropCoords[j][i].valid()) + { + _transformedBackdropCoords[j][i]->setBinding(osg::Array::BIND_PER_VERTEX); + _transformedBackdropCoords[j][i]->setVertexBufferObject(vbo); + } } } _quadIndices->setElementBufferObject(new osg::ElementBufferObject()); } + + +void Text::GlyphQuads::resizeGLObjectBuffers(unsigned int maxSize) +{ + _transformedCoords.resize(maxSize); + + for (int j = 0; j < 8; j++) + { + for (size_t i = 0; i < _transformedBackdropCoords[j].size(); i++) + { + if (_transformedBackdropCoords[j][i].valid()) + { + _transformedBackdropCoords[j][i]->resizeGLObjectBuffers(maxSize); + } + } + } + + _quadIndices->resizeGLObjectBuffers(maxSize); + + initGPUBufferObjects(); +} + +void Text::GlyphQuads::releaseGLObjects(osg::State* state) const +{ + for (int j = 0; j < 8; j++) + { + for (size_t i = 0; i < _transformedBackdropCoords[j].size(); i++) + { + if (_transformedBackdropCoords[j][i].valid()) + { + _transformedBackdropCoords[j][i]->releaseGLObjects(state); + } + } + } + + _quadIndices->releaseGLObjects(state); +} diff --git a/src/osgText/Text3D.cpp b/src/osgText/Text3D.cpp index 71f8f13c450..85a9aa1d212 100644 --- a/src/osgText/Text3D.cpp +++ b/src/osgText/Text3D.cpp @@ -493,6 +493,10 @@ void Text3D::drawImplementation(osg::RenderInfo& renderInfo) const // ** apply this new modelview matrix state.applyModelViewMatrix(modelview); + // if we are using osg::Program which requires OSG's generated uniforms to track + // modelview and projection matrices then apply them now. + if (state.getUseModelViewAndProjectionUniforms()) state.applyModelViewAndProjectionUniformsIfRequired(); + osg::GLBeginEndAdapter& gl = (state.getGLBeginEndAdapter()); if (_drawMode & BOUNDINGBOX) @@ -583,6 +587,10 @@ void Text3D::drawImplementation(osg::RenderInfo& renderInfo) const // restore the previous modelview matrix state.applyModelViewMatrix(previous); + + // if we are using osg::Program which requires OSG's generated uniforms to track + // modelview and projection matrices then apply them now. + if (state.getUseModelViewAndProjectionUniforms()) state.applyModelViewAndProjectionUniformsIfRequired(); } void Text3D::renderPerGlyph(osg::State & state) const @@ -613,6 +621,10 @@ void Text3D::renderPerGlyph(osg::State & state) const matrix.preMultTranslate(osg::Vec3d(it->_position.x(), it->_position.y(), it->_position.z())); state.applyModelViewMatrix(matrix); + // if we are using osg::Program which requires OSG's generated uniforms to track + // modelview and projection matrices then apply them now. + if (state.getUseModelViewAndProjectionUniforms()) state.applyModelViewAndProjectionUniformsIfRequired(); + state.lazyDisablingOfVertexAttributes(); // ** apply the vertex array @@ -688,6 +700,10 @@ void Text3D::renderPerFace(osg::State & state) const matrix.preMultTranslate(osg::Vec3d(it->_position.x(), it->_position.y(), it->_position.z())); state.applyModelViewMatrix(matrix); + // if we are using osg::Program which requires OSG's generated uniforms to track + // modelview and projection matrices then apply them now. + if (state.getUseModelViewAndProjectionUniforms()) state.applyModelViewAndProjectionUniformsIfRequired(); + state.setVertexPointer(it->_glyphGeometry->getVertexArray()); state.setNormalPointer(it->_glyphGeometry->getNormalArray()); @@ -713,6 +729,10 @@ void Text3D::renderPerFace(osg::State & state) const matrix.preMultTranslate(osg::Vec3d(it->_position.x(), it->_position.y(), it->_position.z())); state.applyModelViewMatrix(matrix); + // if we are using osg::Program which requires OSG's generated uniforms to track + // modelview and projection matrices then apply them now. + if (state.getUseModelViewAndProjectionUniforms()) state.applyModelViewAndProjectionUniformsIfRequired(); + state.setVertexPointer(it->_glyphGeometry->getVertexArray()); state.setNormalPointer(it->_glyphGeometry->getNormalArray()); @@ -746,6 +766,10 @@ void Text3D::renderPerFace(osg::State & state) const matrix.preMultTranslate(osg::Vec3d(it->_position.x(), it->_position.y(), it->_position.z())); state.applyModelViewMatrix(matrix); + // if we are using osg::Program which requires OSG's generated uniforms to track + // modelview and projection matrices then apply them now. + if (state.getUseModelViewAndProjectionUniforms()) state.applyModelViewAndProjectionUniformsIfRequired(); + state.setVertexPointer(it->_glyphGeometry->getVertexArray()); state.setNormalPointer(it->_glyphGeometry->getNormalArray()); diff --git a/src/osgUI/Style.cpp b/src/osgUI/Style.cpp index 2b80ae4b7fa..1a36a4f5c92 100644 --- a/src/osgUI/Style.cpp +++ b/src/osgUI/Style.cpp @@ -259,7 +259,7 @@ osg::Node* Style::createText(const osg::BoundingBox& extents, const AlignmentSet osg::Node* Style::createIcon(const osg::BoundingBox& extents, const std::string& filename, const osg::Vec4& color) { - osg::ref_ptr object = osgDB::readObjectFile(filename); + osg::ref_ptr object = osgDB::readRefObjectFile(filename); if (!object) { //OSG_NOTICE<<"Warning: Style::createIcon(.., "<cull( this, &drawable, &_renderInfo ) == true ) return; } + else + { + drawable.getCullCallback()->run(&drawable,this); + } } - if (!getNodePath().empty() && getNodePath().back()->isCullingActive() && isCulled(bb)) return; + if (drawable.isCullingActive() && isCulled(bb)) return; if (_computeNearFar && bb.valid()) @@ -1368,6 +1372,8 @@ class RenderStageCache : public osg::Object, public osg::Observer { public: + typedef std::map > RenderStageMap; + RenderStageCache() {} RenderStageCache(const RenderStageCache&, const osg::CopyOp&) {} virtual ~RenderStageCache() @@ -1386,28 +1392,46 @@ class RenderStageCache : public osg::Object, public osg::Observer { osg::Referenced* ref = reinterpret_cast(object); osgUtil::CullVisitor* cv = dynamic_cast(ref); + OpenThreads::ScopedLock lock(_mutex); + RenderStageMap::iterator itr = _renderStageMap.find(cv); if (itr!=_renderStageMap.end()) { - _renderStageMap.erase(cv); + _renderStageMap.erase(itr); } } void setRenderStage(CullVisitor* cv, RenderStage* rs) { OpenThreads::ScopedLock lock(_mutex); - _renderStageMap[cv] = rs; - cv->addObserver(this); + RenderStageMap::iterator itr = _renderStageMap.find(cv); + if (itr==_renderStageMap.end()) + { + _renderStageMap[cv] = rs; + cv->addObserver(this); + } + else + { + itr->second = rs; + } + } RenderStage* getRenderStage(osgUtil::CullVisitor* cv) { OpenThreads::ScopedLock lock(_mutex); - return _renderStageMap[cv].get(); + RenderStageMap::iterator itr = _renderStageMap.find(cv); + if (itr!=_renderStageMap.end()) + { + return itr->second.get(); + } + else + { + return 0; + } } - typedef std::map > RenderStageMap; /** Resize any per context GLObject buffers to specified size. */ virtual void resizeGLObjectBuffers(unsigned int maxSize) @@ -1600,27 +1624,8 @@ void CullVisitor::apply(osg::Camera& camera) rtts->setClearDepth(camera.getClearDepth()); rtts->setClearAccum(camera.getClearAccum()); rtts->setClearStencil(camera.getClearStencil()); - rtts->setClearMask(camera.getClearMask()); - - - // set up the background color and clear mask. - if (camera.getInheritanceMask() & CLEAR_COLOR) - { - rtts->setClearColor(previous_stage->getClearColor()); - } - else - { - rtts->setClearColor(camera.getClearColor()); - } - if (camera.getInheritanceMask() & CLEAR_MASK) - { - rtts->setClearMask(previous_stage->getClearMask()); - } - else - { - rtts->setClearMask(camera.getClearMask()); - } - + rtts->setClearMask((camera.getInheritanceMask() & CLEAR_MASK) ? previous_stage->getClearMask() : camera.getClearMask()); + rtts->setClearColor((camera.getInheritanceMask() & CLEAR_COLOR) ? previous_stage->getClearColor() : camera.getClearColor()); // set the color mask. osg::ColorMask* colorMask = camera.getColorMask()!=0 ? camera.getColorMask() : previous_stage->getColorMask(); diff --git a/src/osgUtil/DelaunayTriangulator.cpp b/src/osgUtil/DelaunayTriangulator.cpp index 56a1ecc6f0c..b4539ebef4a 100644 --- a/src/osgUtil/DelaunayTriangulator.cpp +++ b/src/osgUtil/DelaunayTriangulator.cpp @@ -993,7 +993,7 @@ bool DelaunayTriangulator::triangulate() { e1=titr->c(); e2=titr->a(); } - else if (icut==3) + else { e1=titr->a(); e2=titr->b(); } diff --git a/src/osgUtil/GLObjectsVisitor.cpp b/src/osgUtil/GLObjectsVisitor.cpp index dce01090ec5..3731cfd34f5 100644 --- a/src/osgUtil/GLObjectsVisitor.cpp +++ b/src/osgUtil/GLObjectsVisitor.cpp @@ -181,12 +181,14 @@ void GLObjectsVisitor::apply(osg::StateSet& stateset) // GLObjectsOperation::GLObjectsOperation(GLObjectsVisitor::Mode mode): + osg::Referenced(true), osg::GraphicsOperation("GLObjectOperation",false), _mode(mode) { } GLObjectsOperation::GLObjectsOperation(osg::Node* subgraph, GLObjectsVisitor::Mode mode): + osg::Referenced(true), osg::GraphicsOperation("GLObjectOperation",false), _subgraph(subgraph), _mode(mode) diff --git a/src/osgUtil/IncrementalCompileOperation.cpp b/src/osgUtil/IncrementalCompileOperation.cpp index 122cf6d6edf..f969b4576b8 100644 --- a/src/osgUtil/IncrementalCompileOperation.cpp +++ b/src/osgUtil/IncrementalCompileOperation.cpp @@ -77,7 +77,7 @@ void StateToCompile::apply(osg::Drawable& drawable) _drawablesHandled.insert(&drawable); - if (_markerObject.get()!=drawable.getUserData()) + if (!_markerObject || _markerObject.get()!=drawable.getUserData()) { if (drawable.getDataVariance()!=osg::Object::STATIC) { @@ -114,7 +114,7 @@ void StateToCompile::apply(osg::Drawable& drawable) } // mark the drawable as visited - if (drawable.getUserData()==0) drawable.setUserData(_markerObject.get()); + if (_markerObject.valid() && drawable.getUserData()==0) drawable.setUserData(_markerObject.get()); } } @@ -125,15 +125,15 @@ void StateToCompile::apply(osg::StateSet& stateset) _statesetsHandled.insert(&stateset); if ((_mode & GLObjectsVisitor::COMPILE_STATE_ATTRIBUTES)!=0 && - _markerObject.get()!=stateset.getUserData()) + (!_markerObject || _markerObject.get()!=stateset.getUserData())) { osg::Program* program = dynamic_cast(stateset.getAttribute(osg::StateAttribute::PROGRAM)); - if (program && _markerObject.get()!=program->getUserData()) + if (program && (!_markerObject || _markerObject.get()!=program->getUserData())) { _programs.insert(program); // mark the stateset as visited - if (program->getUserData()==0) program->setUserData(_markerObject.get()); + if (_markerObject.valid() && program->getUserData()==0) program->setUserData(_markerObject.get()); } const osg::StateSet::TextureAttributeList& tal = stateset.getTextureAttributeList(); @@ -159,14 +159,14 @@ void StateToCompile::apply(osg::StateSet& stateset) } // mark the stateset as visited - if (stateset.getUserData()==0) stateset.setUserData(_markerObject.get()); + if (_markerObject.valid() && stateset.getUserData()==0) stateset.setUserData(_markerObject.get()); } } void StateToCompile::apply(osg::Texture& texture) { // don't make any changes if Texture already processed - if (_markerObject.get()==texture.getUserData()) return; + if (_markerObject.valid() && _markerObject.get()==texture.getUserData()) return; if (_assignPBOToImages) { @@ -213,7 +213,7 @@ void StateToCompile::apply(osg::Texture& texture) } } - if (texture.getUserData()==0) texture.setUserData(_markerObject.get()); + if (_markerObject.valid() && texture.getUserData()==0) texture.setUserData(_markerObject.get()); _textures.insert(&texture); } @@ -297,7 +297,7 @@ double IncrementalCompileOperation::CompileProgramOp::estimatedTimeForCompile(Co bool IncrementalCompileOperation::CompileProgramOp::compile(CompileInfo& compileInfo) { //OSG_NOTICE<<"CompileProgramOp::compile(..)"<apply(*compileInfo.getState()); + _program->compileGLObjects(*compileInfo.getState()); return true; } @@ -332,7 +332,7 @@ double IncrementalCompileOperation::CompileList::estimatedTimeForCompile(Compile { double estimateTime = 0.0; for(CompileOps::const_iterator itr = _compileOps.begin(); - itr != _compileOps.begin(); + itr != _compileOps.end(); ++itr) { estimateTime += (*itr)->estimatedTimeForCompile(compileInfo); @@ -445,6 +445,7 @@ bool IncrementalCompileOperation::CompileSet::compile(CompileInfo& compileInfo) // IncrementalCompileOperation // IncrementalCompileOperation::IncrementalCompileOperation(): + osg::Referenced(true), osg::GraphicsOperation("IncrementalCompileOperation",true), _flushTimeRatio(0.5), _conservativeTimeRatio(0.5), diff --git a/src/osgUtil/Optimizer.cpp b/src/osgUtil/Optimizer.cpp index ecfef09b5d3..f12b0deb855 100644 --- a/src/osgUtil/Optimizer.cpp +++ b/src/osgUtil/Optimizer.cpp @@ -1563,11 +1563,12 @@ void Optimizer::CombineLODsVisitor::apply(osg::LOD& lod) { for(unsigned int i=0;iasGroup()); + _groupList.insert(parent->asGroup()); } } } diff --git a/src/osgUtil/RenderStage.cpp b/src/osgUtil/RenderStage.cpp index c34657dfc6b..a1fae308c85 100644 --- a/src/osgUtil/RenderStage.cpp +++ b/src/osgUtil/RenderStage.cpp @@ -1122,6 +1122,7 @@ void RenderStage::drawInner(osg::RenderInfo& renderInfo,RenderLeaf*& previous, b struct DrawInnerOperation : public osg::Operation { DrawInnerOperation(RenderStage* stage, osg::RenderInfo& renderInfo) : + osg::Referenced(true), osg::Operation("DrawInnerStage",false), _stage(stage), _renderInfo(renderInfo) {} diff --git a/src/osgUtil/SceneView.cpp b/src/osgUtil/SceneView.cpp index f757913ec73..3ea078c1328 100644 --- a/src/osgUtil/SceneView.cpp +++ b/src/osgUtil/SceneView.cpp @@ -50,24 +50,6 @@ static const GLubyte patternVertEven[] = { 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55}; -static const GLubyte patternVertOdd[] = { - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA}; - static const GLubyte patternHorzEven[] = { 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, diff --git a/src/osgUtil/ShaderGen.cpp b/src/osgUtil/ShaderGen.cpp index dbcc19eeb91..25329f83ccd 100644 --- a/src/osgUtil/ShaderGen.cpp +++ b/src/osgUtil/ShaderGen.cpp @@ -116,27 +116,37 @@ osg::StateSet *ShaderGenCache::createStateSet(int stateMask) const osg::Program *program = new osg::Program; stateSet->setAttribute(program); - std::ostringstream vert; - std::ostringstream frag; + std::ostringstream vert_frag; + + vert_frag << "// ShaderGen shader\n"; + vert_frag << "#ifdef GL_ES\n" + " precision highp float;\n" + "#endif\n"; // write varyings if ((stateMask & LIGHTING) && !(stateMask & NORMAL_MAP)) { - vert << "varying vec3 normalDir;\n"; + vert_frag << "varying vec3 normalDir;\n"; } if (stateMask & (LIGHTING | NORMAL_MAP)) { - vert << "varying vec3 lightDir;\n"; + vert_frag << "varying vec3 lightDir;\n"; } if (stateMask & (LIGHTING | NORMAL_MAP | FOG)) { - vert << "varying vec3 viewDir;\n"; + vert_frag << "varying vec3 viewDir;\n"; } - // copy varying to fragment shader - frag << vert.str(); + vert_frag << "varying vec4 vertexColor;\n"; + + std::ostringstream vert; + std::ostringstream frag; + + // copy varying to vertex ad fragment shader + vert << vert_frag.str(); + frag << vert_frag.str(); // write uniforms and attributes int unit = 0; @@ -185,6 +195,7 @@ osg::StateSet *ShaderGenCache::createStateSet(int stateMask) const " lightDir.y = dot(dir, b);\n"\ " lightDir.z = dot(dir, n);\n"; } +#if !OSG_GLES2_FEATURES && !OSG_GLES3_FEATURES && !OSG_GL2_FEATURES else if (stateMask & LIGHTING) { vert << @@ -201,11 +212,12 @@ osg::StateSet *ShaderGenCache::createStateSet(int stateMask) const { vert << " viewDir = -vec3(gl_ModelViewMatrix * gl_Vertex);\n"\ - " gl_FrontColor = gl_Color;\n"; + " vertexColor = gl_Color;\n"; } +#endif else { - vert << " gl_FrontColor = gl_Color;\n"; + vert << " vertexColor = gl_Color;\n"; } vert << "}\n"; @@ -216,11 +228,11 @@ osg::StateSet *ShaderGenCache::createStateSet(int stateMask) const if (stateMask & DIFFUSE_MAP) { - frag << " vec4 base = texture2D(diffuseMap, gl_TexCoord[0].st);\n"; + frag << " vec4 base = vertexColor * texture2D(diffuseMap, gl_TexCoord[0].st);\n"; } else { - frag << " vec4 base = vec4(1.0);\n"; + frag << " vec4 base = vertexColor;\n"; } if (stateMask & NORMAL_MAP) @@ -228,6 +240,7 @@ osg::StateSet *ShaderGenCache::createStateSet(int stateMask) const frag << " vec3 normalDir = texture2D(normalMap, gl_TexCoord[0].st).xyz*2.0-1.0;\n"; } +#if !OSG_GLES2_FEATURES && !OSG_GLES3_FEATURES && !OSG_GL2_FEATURES if (stateMask & (LIGHTING | NORMAL_MAP)) { frag << @@ -247,15 +260,13 @@ osg::StateSet *ShaderGenCache::createStateSet(int stateMask) const " }\n"; } else +#endif { frag << " vec4 color = base;\n"; } - if (!(stateMask & LIGHTING)) - { - frag << " color *= gl_Color;\n"; - } +#if !OSG_GLES2_FEATURES && !OSG_GLES3_FEATURES && !OSG_GL2_FEATURES if (stateMask & FOG) { frag << @@ -263,6 +274,7 @@ osg::StateSet *ShaderGenCache::createStateSet(int stateMask) const " float f = exp2(-1.442695*gl_Fog.density*gl_Fog.density*d2);\n"\ " color.rgb = mix(gl_Fog.color.rgb, color.rgb, clamp(f, 0.0, 1.0));\n"; } +#endif frag << " gl_FragColor = color;\n"; frag << "}\n"; diff --git a/src/osgUtil/SmoothingVisitor.cpp b/src/osgUtil/SmoothingVisitor.cpp index cf0693bfcd8..4b0cfa111fb 100644 --- a/src/osgUtil/SmoothingVisitor.cpp +++ b/src/osgUtil/SmoothingVisitor.cpp @@ -657,14 +657,16 @@ static void smooth_new(osg::Geometry& geom, double creaseAngle) // fsef.listProblemVertices(); fsef.updateGeometry(); + vertices = dynamic_cast(geom.getVertexArray()); + normals = dynamic_cast(geom.getNormalArray()); osg::TriangleIndexFunctor stif2; if (stif2.set(vertices, normals)) { // accumulate all the normals - geom.accept(stif); + geom.accept(stif2); // normalize the normals - stif.normalize(); + stif2.normalize(); } } diff --git a/src/osgUtil/TangentSpaceGenerator.cpp b/src/osgUtil/TangentSpaceGenerator.cpp index c82bffbfb82..027e8be8a9a 100644 --- a/src/osgUtil/TangentSpaceGenerator.cpp +++ b/src/osgUtil/TangentSpaceGenerator.cpp @@ -12,8 +12,8 @@ TangentSpaceGenerator::TangentSpaceGenerator() N_(new osg::Vec4Array) { T_->setBinding(osg::Array::BIND_PER_VERTEX); T_->setNormalize(false); - B_->setBinding(osg::Array::BIND_PER_VERTEX); T_->setNormalize(false); - N_->setBinding(osg::Array::BIND_PER_VERTEX); T_->setNormalize(false); + B_->setBinding(osg::Array::BIND_PER_VERTEX); B_->setNormalize(false); + N_->setBinding(osg::Array::BIND_PER_VERTEX); N_->setNormalize(false); } TangentSpaceGenerator::TangentSpaceGenerator(const TangentSpaceGenerator ©, const osg::CopyOp ©op) @@ -281,107 +281,74 @@ void TangentSpaceGenerator::compute(osg::PrimitiveSet *pset, OSG_WARN << "Warning: TangentSpaceGenerator: texture coord array must be Vec2Array, Vec3Array or Vec4Array" << std::endl; } - if(nx){ - osg::Vec3 V, T1, T2, T3, B1, B2, B3; - - V = osg::Vec3(P2.x() - P1.x(), uv2.x() - uv1.x(), uv2.y() - uv1.y()) ^ - osg::Vec3(P3.x() - P1.x(), uv3.x() - uv1.x(), uv3.y() - uv1.y()); - if (V.x() != 0) { - V.normalize(); - T1.x() += -V.y() / V.x(); - B1.x() += -V.z() / V.x(); - T2.x() += -V.y() / V.x(); - B2.x() += -V.z() / V.x(); - T3.x() += -V.y() / V.x(); - B3.x() += -V.z() / V.x(); - } + osg::Vec3 V, T1, T2, T3, B1, B2, B3; - V = osg::Vec3(P2.y() - P1.y(), uv2.x() - uv1.x(), uv2.y() - uv1.y()) ^ - osg::Vec3(P3.y() - P1.y(), uv3.x() - uv1.x(), uv3.y() - uv1.y()); - if (V.x() != 0) { - V.normalize(); - T1.y() += -V.y() / V.x(); - B1.y() += -V.z() / V.x(); - T2.y() += -V.y() / V.x(); - B2.y() += -V.z() / V.x(); - T3.y() += -V.y() / V.x(); - B3.y() += -V.z() / V.x(); - } + // no normal per vertex use the one by face + if (!nx) { + N1 = (P2 - P1) ^ (P3 - P1); + N2 = N1; + N3 = N1; + } - V = osg::Vec3(P2.z() - P1.z(), uv2.x() - uv1.x(), uv2.y() - uv1.y()) ^ - osg::Vec3(P3.z() - P1.z(), uv3.x() - uv1.x(), uv3.y() - uv1.y()); - if (V.x() != 0) { - V.normalize(); - T1.z() += -V.y() / V.x(); - B1.z() += -V.z() / V.x(); - T2.z() += -V.y() / V.x(); - B2.z() += -V.z() / V.x(); - T3.z() += -V.y() / V.x(); - B3.z() += -V.z() / V.x(); - } + V = osg::Vec3(P2.x() - P1.x(), uv2.x() - uv1.x(), uv2.y() - uv1.y()) ^ + osg::Vec3(P3.x() - P1.x(), uv3.x() - uv1.x(), uv3.y() - uv1.y()); + if (V.x() != 0) { + V.normalize(); + T1.x() += -V.y() / V.x(); + B1.x() += -V.z() / V.x(); + T2.x() += -V.y() / V.x(); + B2.x() += -V.z() / V.x(); + T3.x() += -V.y() / V.x(); + B3.x() += -V.z() / V.x(); + } - osg::Vec3 tempvec; - tempvec = N1 ^ T1; - (*T_)[iA] = osg::Vec4(tempvec ^ N1, 0); - tempvec = B1 ^ N1; - (*B_)[iA] = osg::Vec4(N1 ^ tempvec, 0); - tempvec = N2 ^ T2; - (*T_)[iB] = osg::Vec4(tempvec ^ N2, 0); - tempvec = B2 ^ N2; - (*B_)[iB] = osg::Vec4(N2 ^ tempvec, 0); - tempvec = N3 ^ T3; - (*T_)[iC] = osg::Vec4(tempvec ^ N3, 0); - tempvec = B3 ^ N3; - (*B_)[iC] = osg::Vec4(N3 ^ tempvec, 0); - - (*N_)[iA] += osg::Vec4(N1, 0); - (*N_)[iB] += osg::Vec4(N2, 0); - (*N_)[iC] += osg::Vec4(N3, 0); + V = osg::Vec3(P2.y() - P1.y(), uv2.x() - uv1.x(), uv2.y() - uv1.y()) ^ + osg::Vec3(P3.y() - P1.y(), uv3.x() - uv1.x(), uv3.y() - uv1.y()); + if (V.x() != 0) { + V.normalize(); + T1.y() += -V.y() / V.x(); + B1.y() += -V.z() / V.x(); + T2.y() += -V.y() / V.x(); + B2.y() += -V.z() / V.x(); + T3.y() += -V.y() / V.x(); + B3.y() += -V.z() / V.x(); } - else{ - osg::Vec3 face_normal = (P2 - P1) ^ (P3 - P1); - - osg::Vec3 V; - - V = osg::Vec3(P2.x() - P1.x(), uv2.x() - uv1.x(), uv2.y() - uv1.y()) ^ - osg::Vec3(P3.x() - P1.x(), uv3.x() - uv1.x(), uv3.y() - uv1.y()); - if (V.x() != 0) { - V.normalize(); - (*T_)[iA].x() += -V.y() / V.x(); - (*B_)[iA].x() += -V.z() / V.x(); - (*T_)[iB].x() += -V.y() / V.x(); - (*B_)[iB].x() += -V.z() / V.x(); - (*T_)[iC].x() += -V.y() / V.x(); - (*B_)[iC].x() += -V.z() / V.x(); - } - V = osg::Vec3(P2.y() - P1.y(), uv2.x() - uv1.x(), uv2.y() - uv1.y()) ^ - osg::Vec3(P3.y() - P1.y(), uv3.x() - uv1.x(), uv3.y() - uv1.y()); - if (V.x() != 0) { - V.normalize(); - (*T_)[iA].y() += -V.y() / V.x(); - (*B_)[iA].y() += -V.z() / V.x(); - (*T_)[iB].y() += -V.y() / V.x(); - (*B_)[iB].y() += -V.z() / V.x(); - (*T_)[iC].y() += -V.y() / V.x(); - (*B_)[iC].y() += -V.z() / V.x(); - } + V = osg::Vec3(P2.z() - P1.z(), uv2.x() - uv1.x(), uv2.y() - uv1.y()) ^ + osg::Vec3(P3.z() - P1.z(), uv3.x() - uv1.x(), uv3.y() - uv1.y()); + if (V.x() != 0) { + V.normalize(); + T1.z() += -V.y() / V.x(); + B1.z() += -V.z() / V.x(); + T2.z() += -V.y() / V.x(); + B2.z() += -V.z() / V.x(); + T3.z() += -V.y() / V.x(); + B3.z() += -V.z() / V.x(); + } - V = osg::Vec3(P2.z() - P1.z(), uv2.x() - uv1.x(), uv2.y() - uv1.y()) ^ - osg::Vec3(P3.z() - P1.z(), uv3.x() - uv1.x(), uv3.y() - uv1.y()); - if (V.x() != 0) { - V.normalize(); - (*T_)[iA].z() += -V.y() / V.x(); - (*B_)[iA].z() += -V.z() / V.x(); - (*T_)[iB].z() += -V.y() / V.x(); - (*B_)[iB].z() += -V.z() / V.x(); - (*T_)[iC].z() += -V.y() / V.x(); - (*B_)[iC].z() += -V.z() / V.x(); - } + osg::Vec3 tempvec; + + tempvec = N1 ^ T1; + (*T_)[iA] += osg::Vec4(tempvec ^ N1, 0); + + tempvec = B1 ^ N1; + (*B_)[iA] += osg::Vec4(N1 ^ tempvec, 0); + + tempvec = N2 ^ T2; + (*T_)[iB] += osg::Vec4(tempvec ^ N2, 0); + + tempvec = B2 ^ N2; + (*B_)[iB] += osg::Vec4(N2 ^ tempvec, 0); + + tempvec = N3 ^ T3; + (*T_)[iC] += osg::Vec4(tempvec ^ N3, 0); + + tempvec = B3 ^ N3; + (*B_)[iC] += osg::Vec4(N3 ^ tempvec, 0); + + (*N_)[iA] += osg::Vec4(N1, 0); + (*N_)[iB] += osg::Vec4(N2, 0); + (*N_)[iC] += osg::Vec4(N3, 0); - (*N_)[iA] += osg::Vec4(face_normal, 0); - (*N_)[iB] += osg::Vec4(face_normal, 0); - (*N_)[iC] += osg::Vec4(face_normal, 0); - } } diff --git a/src/osgViewer/CMakeLists.txt b/src/osgViewer/CMakeLists.txt index 4f09e88224c..8c09c129a35 100644 --- a/src/osgViewer/CMakeLists.txt +++ b/src/osgViewer/CMakeLists.txt @@ -8,6 +8,10 @@ ENDIF() SET(LIB_NAME osgViewer) SET(HEADER_PATH ${OpenSceneGraph_SOURCE_DIR}/include/${LIB_NAME}) + +FILE(GLOB CONFIG_HEADER_FILES ${HEADER_PATH}/config/*) +FILE(GLOB CONFIG_SOURCE_FILES config/*.cpp) + SET(TARGET_H ${HEADER_PATH}/CompositeViewer ${HEADER_PATH}/Export @@ -22,10 +26,8 @@ SET(TARGET_H ${HEADER_PATH}/ViewerEventHandlers ) -FILE(GLOB LIB_COMMON_FILES config/*.cpp) - SET(LIB_COMMON_FILES - ${LIB_COMMON_FILES} + ${CONFIG_SOURCE_FILES} CompositeViewer.cpp GraphicsWindow.cpp HelpHandler.cpp @@ -47,8 +49,8 @@ SET(LIB_EXTRA_LIBS) IF(WIN32 AND NOT ANDROID) # - # Enable workaround for OpenGL driver issues when used in multithreaded/multiscreen with NVidia drivers on Windows XP - # For example: osgviewer dumptruck.osg was showing total garbage (screen looked like shattered, splashed hedgehog) + # Enable workaround for OpenGL driver issues when used in multithreaded/multiscreen with NVidia drivers on Windows XP + # For example: osgviewer dumptruck.osg was showing total garbage (screen looked like shattered, splashed hedgehog) # There were also serious issues with render to texture cameras. # Workaround repeats makeCurrentContext call as it was found that this causes the problems to dissapear. # @@ -63,13 +65,13 @@ IF(WIN32 AND NOT ANDROID) ${HEADER_PATH}/api/Win32/GraphicsWindowWin32 ${HEADER_PATH}/api/Win32/PixelBufferWin32 ) - - SET(LIB_COMMON_FILES ${LIB_COMMON_FILES} + + SET(LIB_COMMON_FILES ${LIB_COMMON_FILES} GraphicsWindowWin32.cpp PixelBufferWin32.cpp ) ELSE() - IF(APPLE AND NOT ANDROID) + IF(APPLE AND NOT ANDROID) IF(OSG_BUILD_PLATFORM_IPHONE OR OSG_BUILD_PLATFORM_IPHONE_SIMULATOR) SET(OSG_WINDOWING_SYSTEM "IOS" CACHE STRING "Windowing system type for graphics window creation, options only IOS.") @@ -93,15 +95,15 @@ ELSE() ENDIF() IF(${OSG_WINDOWING_SYSTEM} STREQUAL "Cocoa") - ADD_DEFINITIONS(-DUSE_DARWIN_COCOA_IMPLEMENTATION) - + ADD_DEFINITIONS(-DUSE_DARWIN_COCOA_IMPLEMENTATION) + IF(OSG_COMPILE_FRAMEWORKS) - SET(LIB_COMMON_FILES ${LIB_COMMON_FILES} + SET(LIB_COMMON_FILES ${LIB_COMMON_FILES} ${HEADER_PATH}/api/Cocoa/GraphicsHandleCocoa ${HEADER_PATH}/api/Cocoa/GraphicsWindowCocoa ${HEADER_PATH}/api/Cocoa/PixelBufferCocoa ) - SET_PROPERTY(SOURCE ${HEADER_PATH}/api/Cocoa/GraphicsHandleCocoa PROPERTY MACOSX_PACKAGE_LOCATION Headers/api/Cocoa) + SET_PROPERTY(SOURCE ${HEADER_PATH}/api/Cocoa/GraphicsHandleCocoa PROPERTY MACOSX_PACKAGE_LOCATION Headers/api/Cocoa) SET_PROPERTY(SOURCE ${HEADER_PATH}/api/Cocoa/GraphicsWindowCocoa PROPERTY MACOSX_PACKAGE_LOCATION Headers/api/Cocoa) SET_PROPERTY(SOURCE ${HEADER_PATH}/api/Cocoa/PixelBufferCocoa PROPERTY MACOSX_PACKAGE_LOCATION Headers/api/Cocoa) ELSE() @@ -110,9 +112,9 @@ ELSE() ${HEADER_PATH}/api/Cocoa/GraphicsWindowCocoa ${HEADER_PATH}/api/Cocoa/PixelBufferCocoa ) - ENDIF() - - SET(LIB_COMMON_FILES ${LIB_COMMON_FILES} + ENDIF() + + SET(LIB_COMMON_FILES ${LIB_COMMON_FILES} GraphicsWindowCocoa.mm DarwinUtils.h DarwinUtils.mm @@ -121,15 +123,15 @@ ELSE() SET(LIB_EXTRA_LIBS ${COCOA_LIBRARY} ${LIB_EXTRA_LIBS}) ELSEIF(${OSG_WINDOWING_SYSTEM} STREQUAL "Carbon") - ADD_DEFINITIONS(-DUSE_DARWIN_CARBON_IMPLEMENTATION) - + ADD_DEFINITIONS(-DUSE_DARWIN_CARBON_IMPLEMENTATION) + IF(OSG_COMPILE_FRAMEWORKS) - SET(LIB_COMMON_FILES ${LIB_COMMON_FILES} + SET(LIB_COMMON_FILES ${LIB_COMMON_FILES} ${HEADER_PATH}/api/Carbon/GraphicsHandleCarbon ${HEADER_PATH}/api/Carbon/GraphicsWindowCarbon ${HEADER_PATH}/api/Carbon/PixelBufferCarbon ) - SET_PROPERTY(SOURCE ${HEADER_PATH}/api/Carbon/GraphicsHandleCarbon PROPERTY MACOSX_PACKAGE_LOCATION Headers/api/Carbon) + SET_PROPERTY(SOURCE ${HEADER_PATH}/api/Carbon/GraphicsHandleCarbon PROPERTY MACOSX_PACKAGE_LOCATION Headers/api/Carbon) SET_PROPERTY(SOURCE ${HEADER_PATH}/api/Carbon/GraphicsWindowCarbon PROPERTY MACOSX_PACKAGE_LOCATION Headers/api/Carbon) SET_PROPERTY(SOURCE ${HEADER_PATH}/api/Carbon/PixelBufferCarbon PROPERTY MACOSX_PACKAGE_LOCATION Headers/api/Carbon) ELSE() @@ -140,7 +142,7 @@ ELSE() ) ENDIF() - SET(LIB_COMMON_FILES ${LIB_COMMON_FILES} + SET(LIB_COMMON_FILES ${LIB_COMMON_FILES} GraphicsWindowCarbon.cpp DarwinUtils.h DarwinUtils.mm @@ -151,10 +153,10 @@ ELSE() ELSEIF(${OSG_WINDOWING_SYSTEM} STREQUAL "IOS") - ADD_DEFINITIONS(-DUSE_IOS_IMPLEMENTATION) - + ADD_DEFINITIONS(-DUSE_IOS_IMPLEMENTATION) + IF(OSG_COMPILE_FRAMEWORKS) - SET(LIB_COMMON_FILES ${LIB_COMMON_FILES} + SET(LIB_COMMON_FILES ${LIB_COMMON_FILES} ${HEADER_PATH}/api/IOS/GraphicsWindowIOS ) @@ -164,9 +166,9 @@ ELSE() ${HEADER_PATH}/api/IOS/GraphicsWindowIOS #${HEADER_PATH}/api/IOS/PixelBufferIOS ) - ENDIF() - - SET(LIB_COMMON_FILES ${LIB_COMMON_FILES} + ENDIF() + + SET(LIB_COMMON_FILES ${LIB_COMMON_FILES} GraphicsWindowIOS.mm IOSUtils.h IOSUtils.mm @@ -179,9 +181,9 @@ ELSE() INCLUDE(FindPkgConfig OPTIONAL) IF(PKG_CONFIG_FOUND) PKG_CHECK_MODULES(XRANDR xrandr) - IF(XRANDR_FOUND) + IF(XRANDR_FOUND) OPTION(OSGVIEWER_USE_XRANDR "Set to ON to enable Xrandr support for GraphicsWindowX11." ON) - ELSE() + ELSE() SET(OSGVIEWER_USE_XRANDR OFF) ENDIF() ELSE() @@ -194,11 +196,11 @@ ELSE() ${HEADER_PATH}/api/X11/PixelBufferX11 ) - SET(LIB_COMMON_FILES ${LIB_COMMON_FILES} - GraphicsWindowX11.cpp + SET(LIB_COMMON_FILES ${LIB_COMMON_FILES} + GraphicsWindowX11.cpp PixelBufferX11.cpp ) - + IF(OSGVIEWER_USE_XRANDR) ADD_DEFINITIONS(-DOSGVIEWER_USE_XRANDR) SET(LIB_PRIVATE_HEADERS ${LIB_PRIVATE_HEADERS} ${XRANDR_INCLUDE_DIRS} ) @@ -247,7 +249,7 @@ SET(TARGET_SRC ) -SET(TARGET_LIBRARIES +SET(TARGET_LIBRARIES osgGA osgText osgDB @@ -266,12 +268,12 @@ SETUP_LIBRARY(${LIB_NAME}) # install these headers manually since setup_library and moduleinstall # wouldn't keep the structure, e.g. api/X11/xyz.h -FOREACH(HEADERFILE ${TARGET_H_NO_MODULE_INSTALL}) +FOREACH(HEADERFILE ${TARGET_H_NO_MODULE_INSTALL} ${CONFIG_HEADER_FILES}) # get relative path to graphics system dependant header FILE(RELATIVE_PATH REL_INCLUDEFILE ${HEADER_PATH} ${HEADERFILE}) GET_FILENAME_COMPONENT(REL_INCLUDE_PATH ${REL_INCLUDEFILE} PATH) - INSTALL(FILES ${HEADERFILE} + INSTALL(FILES ${HEADERFILE} DESTINATION ${INSTALL_INCDIR}/${LIB_NAME}/${REL_INCLUDE_PATH} COMPONENT libopenscenegraph-dev ) diff --git a/src/osgViewer/CompositeViewer.cpp b/src/osgViewer/CompositeViewer.cpp index 9d21a09c7ac..17f48f2ab24 100644 --- a/src/osgViewer/CompositeViewer.cpp +++ b/src/osgViewer/CompositeViewer.cpp @@ -135,7 +135,7 @@ CompositeViewer::~CompositeViewer() bool CompositeViewer::readConfiguration(const std::string& filename) { OSG_NOTICE<<"CompositeViewer::readConfiguration("< obj = osgDB::readObjectFile(filename); + osg::ref_ptr obj = osgDB::readRefObjectFile(filename); osgViewer::View * view = dynamic_cast(obj.get()); if (view) { @@ -255,14 +255,18 @@ bool CompositeViewer::checkNeedToDoFrame() osgViewer::View* view = itr->get(); if (view) { - // If the database pager is going to update the scene the render flag is - // set so that the updates show up + // check if the database pager needs to update the scene if (view->getDatabasePager()->requiresUpdateSceneGraph() || view->getDatabasePager()->getRequestsInProgress()) return true; - // if there update callbacks then we need to do frame. + // check if there are camera update callbacks if (view->getCamera()->getUpdateCallback()) return true; - if (view->getSceneData()!=0 && view->getSceneData()->getNumChildrenRequiringUpdateTraversal()>0) return true; + + // check if there are node update callbacks + if (view->getSceneData() != 0) + { + if (view->getSceneData()->getUpdateCallback() || (view->getSceneData()->getNumChildrenRequiringUpdateTraversal()>0) ) return true; + } } } @@ -639,14 +643,15 @@ void CompositeViewer::realize() } - startThreading(); - // initialize the global timer to be relative to the current time. osg::Timer::instance()->setStartTick(); // pass on the start tick to all the associated eventqueues setStartTick(osg::Timer::instance()->getStartTick()); + // configure threading. + setUpThreading(); + if (osg::DisplaySettings::instance()->getCompileContextsHint()) { int numProcessors = OpenThreads::GetNumberOfProcessors(); @@ -821,7 +826,7 @@ void CompositeViewer::generateSlavePointerData(osg::Camera* camera, osgGA::GUIEv } else if (tcm) { - OSG_NOTICE<<" Slave has matched texture cubemap"<second._texture.get()<<", "<second._face<second._texture.get()<<", "<second._face< event = view->getEventQueue()->frame( getFrameStamp()->getReferenceTime() ); - + if (!_previousEvent || _previousEvent->getNumPointerData()<2) { generatePointerData(*event); @@ -1123,7 +1128,7 @@ void CompositeViewer::eventTraversal() reprojectPointerData(*_previousEvent, *event); } } - + view->getEventQueue()->takeEvents(viewEventsMap[view], cutOffTime); } @@ -1204,13 +1209,13 @@ void CompositeViewer::eventTraversal() osg::NodeVisitor::TraversalMode tm = _eventVisitor->getTraversalMode(); _eventVisitor->setTraversalMode(osg::NodeVisitor::TRAVERSE_NONE); - if (view->getCamera() && view->getCamera()->getEventCallback()) view->getCamera()->accept(*_eventVisitor); + if (view->getCamera()) view->getCamera()->accept(*_eventVisitor); for(unsigned int i=0; igetNumSlaves(); ++i) { osg::View::Slave& slave = view->getSlave(i); osg::Camera* camera = view->getSlave(i)._camera.get(); - if (camera && slave._useMastersSceneData && camera->getEventCallback()) + if (camera && slave._useMastersSceneData) { camera->accept(*_eventVisitor); } @@ -1338,13 +1343,13 @@ void CompositeViewer::updateTraversal() osg::NodeVisitor::TraversalMode tm = _updateVisitor->getTraversalMode(); _updateVisitor->setTraversalMode(osg::NodeVisitor::TRAVERSE_NONE); - if (view->getCamera() && view->getCamera()->getUpdateCallback()) view->getCamera()->accept(*_updateVisitor); + if (view->getCamera()) view->getCamera()->accept(*_updateVisitor); for(unsigned int i=0; igetNumSlaves(); ++i) { osg::View::Slave& slave = view->getSlave(i); osg::Camera* camera = slave._camera.get(); - if (camera && slave._useMastersSceneData && camera->getUpdateCallback()) + if (camera && slave._useMastersSceneData) { camera->accept(*_updateVisitor); } diff --git a/src/osgViewer/GraphicsWindowIOS.mm b/src/osgViewer/GraphicsWindowIOS.mm index 5bca620b577..0636a6d5f1c 100644 --- a/src/osgViewer/GraphicsWindowIOS.mm +++ b/src/osgViewer/GraphicsWindowIOS.mm @@ -10,7 +10,7 @@ #import #else #import - #if defined(OSG_GLES3_FEATURES) + #if OSG_GLES3_FEATURES #import #endif @@ -432,9 +432,17 @@ - (BOOL)createFramebuffer { glBindFramebufferOES(GL_FRAMEBUFFER_OES, _msaaFramebuffer); glBindRenderbufferOES(GL_RENDERBUFFER_OES, _msaaRenderBuffer); - // Samples is the amount of pixels the MSAA buffer uses to make one pixel on the render // buffer. Use a small number like 2 for the 3G and below and 4 or more for newer models + // Samples is the amount of pixels the MSAA buffer uses to make one pixel on the render + // buffer. Use a small number like 2 for the 3G and below and 4 or more for newer models + // NOTE: Formats of draw and read buffers must be identical + + GLenum internalFormat = GL_RGB5_A1_OES; +# if OSG_GLES3_FEATURES + if ([_context API] == kEAGLRenderingAPIOpenGLES3) + internalFormat = GL_RGBA8_OES; +# endif - glRenderbufferStorageMultisampleAPPLE(GL_RENDERBUFFER_OES, _win->getTraits()->samples, GL_RGB5_A1_OES, _backingWidth, _backingHeight); + glRenderbufferStorageMultisampleAPPLE(GL_RENDERBUFFER_OES, _win->getTraits()->samples, internalFormat, _backingWidth, _backingHeight); glFramebufferRenderbufferOES(GL_FRAMEBUFFER_OES, GL_COLOR_ATTACHMENT0_OES, GL_RENDERBUFFER_OES, _msaaRenderBuffer); glGenRenderbuffersOES(1, &_msaaDepthBuffer); @@ -507,64 +515,68 @@ - (void)swapBuffers { #if defined(__IPHONE_4_0) && (__IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_4_0) - if(_msaaFramebuffer) - { - glBindFramebufferOES(GL_FRAMEBUFFER_OES, _msaaFramebuffer); - + if (_msaaFramebuffer) { + // Resolve the contents from the multisampling buffer into the resolve (view) buffer glBindFramebufferOES(GL_READ_FRAMEBUFFER_APPLE, _msaaFramebuffer); glBindFramebufferOES(GL_DRAW_FRAMEBUFFER_APPLE, _viewFramebuffer); - glResolveMultisampleFramebufferAPPLE(); - - GLenum attachments[] = {GL_DEPTH_ATTACHMENT_OES, GL_COLOR_ATTACHMENT0_OES}; - #ifdef OSG_GLES3_FEATURES - switch ([_context API]) - { - case kEAGLRenderingAPIOpenGLES3: - glBlitFramebuffer(0, 0, _backingWidth, _backingHeight, - 0, 0, _backingWidth, _backingHeight, - GL_COLOR_BUFFER_BIT, GL_LINEAR); - glInvalidateFramebuffer(GL_READ_FRAMEBUFFER_APPLE, 2, attachments); - break; - - default: - glResolveMultisampleFramebufferAPPLE(); - glDiscardFramebufferEXT(GL_READ_FRAMEBUFFER_APPLE, 2, attachments); - break; - } - #else - glDiscardFramebufferEXT(GL_READ_FRAMEBUFFER_APPLE, 2, attachments); - #endif +# if OSG_GLES3_FEATURES + if ([_context API] == kEAGLRenderingAPIOpenGLES3) { + glBlitFramebuffer(0, 0, _backingWidth, _backingHeight, + 0, 0, _backingWidth, _backingHeight, + GL_COLOR_BUFFER_BIT, GL_LINEAR); + } + else + glResolveMultisampleFramebufferAPPLE(); +# else + glResolveMultisampleFramebufferAPPLE(); +# endif } #endif - - //swap buffers (sort of i think?) + // Present Results step glBindRenderbufferOES(GL_RENDERBUFFER_OES, _viewRenderbuffer); - - //display render in context [_context presentRenderbuffer:GL_RENDERBUFFER_OES]; - //re bind the frame buffer for next frames renders - glBindFramebufferOES(GL_FRAMEBUFFER_OES, _viewFramebuffer); - #if defined(__IPHONE_4_0) && (__IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_4_0) - if (_msaaFramebuffer) - glBindFramebufferOES(GL_FRAMEBUFFER_OES, _msaaFramebuffer);; + if (_msaaFramebuffer) { + // Invalidate (discard) step (must be after present step) + GLenum attachments[] = {GL_DEPTH_ATTACHMENT_OES, GL_COLOR_ATTACHMENT0_OES}; +# if OSG_GLES3_FEATURES + if ([_context API] == kEAGLRenderingAPIOpenGLES3) + glInvalidateFramebuffer(GL_READ_FRAMEBUFFER_APPLE, 2, attachments); + else + glDiscardFramebufferEXT(GL_READ_FRAMEBUFFER_APPLE, 2, attachments); +# else + glDiscardFramebufferEXT(GL_READ_FRAMEBUFFER_APPLE, 2, attachments); +# endif + } #endif + + [self bindFrameBuffer]; } // //bind view buffer as current for new render pass // - (void)bindFrameBuffer { - - //bind the frame buffer - glBindFramebufferOES(GL_FRAMEBUFFER_OES, _viewFramebuffer); - #if defined(__IPHONE_4_0) && (__IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_4_0) - if (_msaaFramebuffer) - glBindFramebufferOES(GL_READ_FRAMEBUFFER_APPLE, _msaaFramebuffer); + if (_msaaFramebuffer) { +# if OSG_GLES3_FEATURES + if ([_context API] == kEAGLRenderingAPIOpenGLES3) { + glBindFramebufferOES(GL_DRAW_FRAMEBUFFER_APPLE, _msaaFramebuffer); + glBindFramebufferOES(GL_READ_FRAMEBUFFER_APPLE, _viewFramebuffer); + } + else + glBindFramebufferOES(GL_FRAMEBUFFER_OES, _msaaFramebuffer); +# else + glBindFramebufferOES(GL_FRAMEBUFFER_OES, _msaaFramebuffer); +# endif + } + else + glBindFramebufferOES(GL_FRAMEBUFFER_OES, _viewFramebuffer); +#else + glBindFramebufferOES(GL_FRAMEBUFFER_OES, _viewFramebuffer); #endif } @@ -1016,7 +1028,7 @@ - (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)interf _updateContext = false; } //i think we also want to bind the frame buffer here - //[_view bindFrameBuffer]; +// [_view bindFrameBuffer]; return true; } diff --git a/src/osgViewer/GraphicsWindowWin32.cpp b/src/osgViewer/GraphicsWindowWin32.cpp index 167a9b02652..594f9609630 100644 --- a/src/osgViewer/GraphicsWindowWin32.cpp +++ b/src/osgViewer/GraphicsWindowWin32.cpp @@ -1210,7 +1210,6 @@ void GraphicsWindowWin32::init() if (_initialized) return; // getEventQueue()->setCurrentEventState(osgGA::GUIEventAdapter::getAccumulatedEventState().get()); - WindowData *windowData = _traits.valid() ? dynamic_cast(_traits->inheritedWindowData.get()) : 0; HWND windowHandle = windowData ? windowData->_hwnd : 0; @@ -1222,20 +1221,21 @@ void GraphicsWindowWin32::init() _initialized = _ownsWindow ? createWindow() : setWindow(windowHandle); _valid = _initialized; - int windowX = 0, windowY = 0, windowWidth = 0, windowHeight = 0; - if (_traits.valid()) - { - windowX = _traits->x; - windowY = _traits->y; - windowWidth = _traits->width; - windowHeight = _traits->height; - } - if (areWindowDimensionsChanged(_hwnd, _screenOriginX, _screenOriginY, windowX, windowY, windowWidth, windowHeight)) + if (_ownsWindow) { - resized(windowX, windowY, windowWidth, windowHeight); + int windowX = _traits->x; + int windowY = _traits->y; + int windowWidth = _traits->width; + int windowHeight = _traits->height; + + if (areWindowDimensionsChanged(_hwnd, _screenOriginX, _screenOriginY, windowX, windowY, windowWidth, windowHeight)) + { + resized(windowX, windowY, windowWidth, windowHeight); + } } + // make sure the event queue has the correct window rectangle size and input range getEventQueue()->syncWindowRectangleWithGraphicsContext(); @@ -2273,7 +2273,7 @@ void GraphicsWindowWin32::setCursorImpl( MouseCursor mouseCursor ) _currentCursor = newCursor; _traits->useCursor = (_currentCursor != NULL) && (_mouseCursor != NoCursor); - + PostMessage(_hwnd, WM_SETCURSOR, 0, 0); } } @@ -2933,4 +2933,3 @@ void GraphicsWindowWin32::raiseWindow() SetWindowPos(_hwnd, HWND_NOTOPMOST, _traits->x, _traits->y, _traits->width, _traits->height, SWP_NOMOVE|SWP_NOSIZE); } - diff --git a/src/osgViewer/GraphicsWindowX11.cpp b/src/osgViewer/GraphicsWindowX11.cpp index fcad95f97a4..b0d622ccdd2 100644 --- a/src/osgViewer/GraphicsWindowX11.cpp +++ b/src/osgViewer/GraphicsWindowX11.cpp @@ -738,7 +738,14 @@ void GraphicsWindowX11::init() EGLConfig eglConfig = 0; - #if defined(OSG_GLES2_AVAILABLE) + #if defined(OSG_GLES3_AVAILABLE) + + #ifndef EGL_OPENGL_ES3_BIT + #define EGL_OPENGL_ES3_BIT 0x00000040 + #endif + #define OSG_EGL_OPENGL_TARGET_BIT EGL_OPENGL_ES3_BIT + + #elif defined(OSG_GLES2_AVAILABLE) #define OSG_EGL_OPENGL_TARGET_BIT EGL_OPENGL_ES2_BIT #else #define OSG_EGL_OPENGL_TARGET_BIT EGL_OPENGL_ES_BIT @@ -1220,6 +1227,7 @@ bool GraphicsWindowX11::checkEvents() int windowY = _traits->y; int windowWidth = _traits->width; int windowHeight = _traits->height; + bool needNewWindowSize = false; Time firstEventTime = 0; @@ -1275,6 +1283,7 @@ bool GraphicsWindowX11::checkEvents() windowWidth = ev.xconfigure.width; windowHeight = ev.xconfigure.height; } + needNewWindowSize = true; break; } @@ -1294,6 +1303,7 @@ bool GraphicsWindowX11::checkEvents() windowWidth = watt.width; windowHeight = watt.height; } + needNewWindowSize = true; break; } @@ -1552,6 +1562,7 @@ bool GraphicsWindowX11::checkEvents() // get window geometry relative to root window/screen + if (needNewWindowSize) { XWindowAttributes watt; Window child_return; diff --git a/src/osgViewer/Keystone.cpp b/src/osgViewer/Keystone.cpp index 8a68a5c45a0..acdda8c6dee 100644 --- a/src/osgViewer/Keystone.cpp +++ b/src/osgViewer/Keystone.cpp @@ -573,7 +573,7 @@ bool Keystone::loadKeystoneFiles(osg::DisplaySettings* ds) ++itr) { const std::string& filename = *itr; - osg::ref_ptr keystone = osgDB::readFile(filename); + osg::ref_ptr keystone = osgDB::readRefFile(filename); if (keystone.valid()) { keystone->setUserValue("filename",filename); diff --git a/src/osgViewer/PixelBufferX11.cpp b/src/osgViewer/PixelBufferX11.cpp index c835828db70..5e7f9b280cc 100644 --- a/src/osgViewer/PixelBufferX11.cpp +++ b/src/osgViewer/PixelBufferX11.cpp @@ -32,8 +32,15 @@ PixelBufferX11::PixelBufferX11(osg::GraphicsContext::Traits* traits) _visualInfo(0), _initialized(false), _realized(false), - _useGLX1_3(false) -{ + _useGLX1_3(false), + _useSGIX(false) +#ifdef GLX_SGIX_pbuffer + ,_glXCreateGLXPbufferSGIX(NULL), + _glXDestroyGLXPbufferSGIX(NULL), + _glXQueryGLXPbufferSGIX(NULL), + _glXGetFBConfigFromVisualSGIX(NULL) +#endif + { _traits = traits; init(); @@ -174,13 +181,27 @@ void PixelBufferX11::init() haveGLX1_3 = true; } -#if defined(GLX_VERSION_1_1) +#if defined(GLX_VERSION_1_1) && defined(GLX_SGIX_pbuffer) // We need at least GLX 1.1 for glXQueryExtensionsString if (!haveGLX1_3 && 1 <= minor) { const char *extensions = glXQueryExtensionsString(_display, screen); haveSGIX_pbuffer = osg::isExtensionInExtensionString("GLX_SGIX_pbuffer", extensions) && osg::isExtensionInExtensionString("GLX_SGIX_fbconfig", extensions); + + if (haveSGIX_pbuffer) + { + osg::setGLExtensionFuncPtr(_glXCreateGLXPbufferSGIX, "glXDestroyGLXPbufferSGIX"); + osg::setGLExtensionFuncPtr(_glXDestroyGLXPbufferSGIX, "glXDestroyGLXPbufferSGIX"); + osg::setGLExtensionFuncPtr(_glXQueryGLXPbufferSGIX, "glXDestroyGLXPbufferSGIX"); + osg::setGLExtensionFuncPtr(_glXGetFBConfigFromVisualSGIX, "glXGetFBConfigFromVisualSGIX"); + if (_glXCreateGLXPbufferSGIX == NULL || + _glXDestroyGLXPbufferSGIX == NULL || + _glXQueryGLXPbufferSGIX == NULL || + _glXGetFBConfigFromVisualSGIX == NULL) { + haveSGIX_pbuffer = false; + } + } } #endif @@ -283,7 +304,7 @@ void PixelBufferX11::init() // If we still have no pbuffer but a capable display with the SGIX extension, try to use that if (!_pbuffer && haveSGIX_pbuffer) { - GLXFBConfigSGIX fbconfig = glXGetFBConfigFromVisualSGIX( _display, _visualInfo ); + GLXFBConfigSGIX fbconfig = _glXGetFBConfigFromVisualSGIX( _display, _visualInfo ); typedef std::vector AttributeList; AttributeList attributes; @@ -291,14 +312,15 @@ void PixelBufferX11::init() attributes.push_back( GL_TRUE ); attributes.push_back( 0L ); - _pbuffer = glXCreateGLXPbufferSGIX(_display, fbconfig, _traits->width, _traits->height, &attributes.front() ); + _pbuffer = _glXCreateGLXPbufferSGIX(_display, fbconfig, _traits->width, _traits->height, &attributes.front() ); if (_pbuffer) { + _useSGIX = true; int iWidth = 0; int iHeight = 0; - glXQueryGLXPbufferSGIX(_display, _pbuffer, GLX_WIDTH_SGIX , (unsigned int *)&iWidth); - glXQueryGLXPbufferSGIX(_display, _pbuffer, GLX_HEIGHT_SGIX, (unsigned int *)&iHeight); - + _glXQueryGLXPbufferSGIX(_display, _pbuffer, GLX_WIDTH_SGIX , (unsigned int *)&iWidth); + _glXQueryGLXPbufferSGIX(_display, _pbuffer, GLX_HEIGHT_SGIX, (unsigned int *)&iHeight); + if (_traits->width != iWidth || _traits->height != iHeight) { OSG_NOTICE << "PixelBufferX11::init(), SGIX_pbuffer created with different size then requsted" << std::endl; @@ -351,7 +373,10 @@ void PixelBufferX11::closeImplementation() else { #ifdef GLX_SGIX_pbuffer - glXDestroyGLXPbufferSGIX(_display, _pbuffer); + if (_useSGIX) + { + _glXDestroyGLXPbufferSGIX(_display, _pbuffer); + } #endif } } diff --git a/src/osgViewer/Renderer.cpp b/src/osgViewer/Renderer.cpp index b322810e1a9..68467de7c47 100644 --- a/src/osgViewer/Renderer.cpp +++ b/src/osgViewer/Renderer.cpp @@ -228,11 +228,12 @@ void ARBQuerySupport::checkQuery(osg::Stats* stats, osg::State* state, // If the high bits on any of the timestamp bits are // different then the counters may have wrapped. const int hiShift = (tbits - 1); - const GLuint64 hiMask = 1 << hiShift; + const GLuint64 one = 1; + const GLuint64 hiMask = one << hiShift; const GLuint64 sum = (beginTimestamp >> hiShift) + (endTimestamp >> hiShift) + (gpuTimestamp >> hiShift); if (sum == 1 || sum == 2) { - const GLuint64 wrapAdd = 1 << tbits; + const GLuint64 wrapAdd = one << tbits; // Counter wrapped between begin and end? if (beginTimestamp > endTimestamp) { @@ -352,6 +353,7 @@ static OpenThreads::ReentrantMutex s_drawSerializerMutex; // // Renderer Renderer::Renderer(osg::Camera* camera): + osg::Referenced(true), osg::GraphicsOperation("Renderer",true), _camera(camera), _done(false), @@ -367,6 +369,10 @@ Renderer::Renderer(osg::Camera* camera): _sceneView[0] = new osgUtil::SceneView; _sceneView[1] = new osgUtil::SceneView; + // each SceneView to have their own FrameStamp to avoid thread conflicts with the Viewer's main FrameStamp + _sceneView[0]->setFrameStamp(new osg::FrameStamp()); + _sceneView[1]->setFrameStamp(new osg::FrameStamp()); + osg::Camera* masterCamera = _camera->getView() ? _camera->getView()->getCamera() : camera; osg::StateSet* global_stateset = 0; @@ -527,7 +533,15 @@ void Renderer::updateSceneView(osgUtil::SceneView* sceneView) osgDB::ImagePager* imagePager = view ? view->getImagePager() : 0; sceneView->getCullVisitor()->setImageRequestHandler(imagePager); - sceneView->setFrameStamp(view ? view->getFrameStamp() : state->getFrameStamp()); + + if (view && view->getFrameStamp()) + { + (*const_cast(sceneView->getFrameStamp())) = *(view->getFrameStamp()); + } + else if (state->getFrameStamp()) + { + (*const_cast(sceneView->getFrameStamp())) = *(state->getFrameStamp()); + } osg::DisplaySettings* ds = _camera->getDisplaySettings() ? _camera->getDisplaySettings() : ((view &&view->getDisplaySettings()) ? view->getDisplaySettings() : osg::DisplaySettings::instance().get()); @@ -626,8 +640,7 @@ void Renderer::cull() if (view) sceneView->setFusionDistance(view->getFusionDistanceMode(), view->getFusionDistanceValue()); osg::Stats* stats = sceneView->getCamera()->getStats(); - osg::State* state = sceneView->getState(); - const osg::FrameStamp* fs = state->getFrameStamp(); + const osg::FrameStamp* fs = sceneView->getFrameStamp(); unsigned int frameNumber = fs ? fs->getFrameNumber() : 0; // do cull traversal @@ -639,6 +652,7 @@ void Renderer::cull() osg::Timer_t afterCullTick = osg::Timer::instance()->tick(); #if 0 + osg::State* state = sceneView->getState(); if (sceneView->getDynamicObjectCount()==0 && state->getDynamicObjectRenderingCompletedCallback()) { // OSG_NOTICE<<"Completed in cull"<getOrCreateStateSet()->setGlobalDefaults(); _camera->setRenderer(new Renderer(_camera.get())); _camera->setProjectionResizePolicy(osg::Camera::FIXED); + +#if defined(OSG_GL3_AVAILABLE) || defined(OSG_GLES3_AVAILABLE) + { + OSG_NOTICE<<"StatsHandler::StatsHandler() Setting up GL3 compatible shaders"< program = new osg::Program; + program->addShader(new osg::Shader(osg::Shader::VERTEX, gl3_StatsVertexShader)); + program->addShader(new osg::Shader(osg::Shader::FRAGMENT, gl3_StatsFragmentShader)); + _camera->getOrCreateStateSet()->setAttributeAndModes(program.get()); + } +#elif defined(OSG_GL2_AVAILABLE) || defined(OSG_GLES2_AVAILABLE) + { + + OSG_NOTICE<<"StatsHandler::StatsHandler() Setting up GL2 compatible shaders"< program = new osg::Program; + program->addShader(new osg::Shader(osg::Shader::VERTEX, gl2_StatsVertexShader)); + program->addShader(new osg::Shader(osg::Shader::FRAGMENT, gl2_StatsFragmentShader)); + _camera->getOrCreateStateSet()->setAttributeAndModes(program.get()); + } +#else + { + OSG_INFO<<"StatsHandler::StatsHandler() Fixed pipeline"<getCameras(cameras); } bool StatsHandler::handle(const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& aa) @@ -76,7 +171,7 @@ bool StatsHandler::handle(const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdap { if (ea.getKey()==_keyEventTogglesOnScreenStats) { - if (viewer->getViewerStats()) + if (viewer && viewer->getViewerStats()) { if (!_initialized) { @@ -89,7 +184,7 @@ bool StatsHandler::handle(const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdap if (_statsType==LAST) _statsType = NO_STATS; osgViewer::ViewerBase::Cameras cameras; - viewer->getCameras(cameras); + collectWhichCamerasToRenderStatsFor(viewer, cameras); switch(_statsType) { @@ -194,7 +289,7 @@ bool StatsHandler::handle(const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdap } if (ea.getKey()==_keyEventPrintsOutStats) { - if (viewer->getViewerStats()) + if (viewer && viewer->getViewerStats()) { OSG_NOTICE< StatsList; @@ -234,6 +329,7 @@ bool StatsHandler::handle(const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdap } return true; } + break; } case(osgGA::GUIEventAdapter::RESIZE): setWindowSize(ea.getWindowWidth(), ea.getWindowHeight()); @@ -653,6 +749,7 @@ struct BlockDrawCallback : public virtual osg::Drawable::DrawCallback unsigned int vi = 0; double beginValue, endValue; + double minWidth = .0002; for(int i = startFrame; i <= endFrame; ++i) { if (_stats->getAttribute( i, _beginName, beginValue) && @@ -661,12 +758,14 @@ struct BlockDrawCallback : public virtual osg::Drawable::DrawCallback (*vertices)[vi++].x() = _xPos + (beginValue - referenceTime) * _statsHandler->getBlockMultiplier(); (*vertices)[vi++].x() = _xPos + (beginValue - referenceTime) * _statsHandler->getBlockMultiplier(); (*vertices)[vi++].x() = _xPos + (endValue - referenceTime) * _statsHandler->getBlockMultiplier(); + + + if (endValue - beginValue < minWidth) endValue = beginValue + minWidth; (*vertices)[vi++].x() = _xPos + (endValue - referenceTime) * _statsHandler->getBlockMultiplier(); } } - osg::DrawArrays* drawArrays = static_cast(geom->getPrimitiveSet(0)); - drawArrays->setCount(vi); + vertices->dirty(); drawable->drawImplementation(renderInfo); } @@ -743,33 +842,41 @@ struct StatsGraph : public osg::MatrixTransform const osg::Vec4& color, float max, const std::string& nameBegin, const std::string& nameEnd = "") { setUseDisplayList(false); + setDataVariance(osg::Object::DYNAMIC); + + osg::ref_ptr vbo = new osg::VertexBufferObject; + vbo->setUsage(GL_DYNAMIC_DRAW); + vbo->getProfile()._size = (width)*12; - setVertexArray(new osg::Vec3Array); + osg::ref_ptr vertices = new osg::Vec3Array; + vertices->setBufferObject(vbo.get()); + vertices->reserve(width); + + setVertexArray(vertices.get()); osg::Vec4Array* colors = new osg::Vec4Array; colors->push_back(color); setColorArray(colors, osg::Array::BIND_OVERALL); - setDrawCallback(new GraphUpdateCallback(pos, width, height, viewerStats, stats, max, nameBegin, nameEnd)); + addPrimitiveSet(new osg::DrawArrays(GL_LINE_STRIP, 0, 0)); + + setDrawCallback(new GraphUpdateCallback(this, pos, width, height, viewerStats, stats, max, nameBegin, nameEnd)); } }; struct GraphUpdateCallback : public osg::Drawable::DrawCallback { - GraphUpdateCallback(const osg::Vec3& pos, float width, float height, osg::Stats* viewerStats, osg::Stats* stats, + GraphUpdateCallback(osg::Geometry* geometry, const osg::Vec3& pos, float width, float height, osg::Stats* viewerStats, osg::Stats* stats, float max, const std::string& nameBegin, const std::string& nameEnd = "") : _pos(pos), _width((unsigned int)width), _height((unsigned int)height), _curX(0), _viewerStats(viewerStats), _stats(stats), _max(max), _nameBegin(nameBegin), _nameEnd(nameEnd) { + _vertices = dynamic_cast(geometry->getVertexArray()); + _drawArrays = dynamic_cast(geometry->getPrimitiveSet(0)); } virtual void drawImplementation(osg::RenderInfo& renderInfo,const osg::Drawable* drawable) const { - osg::Geometry* geometry = const_cast(drawable->asGeometry()); - if (!geometry) return; - osg::Vec3Array* vertices = dynamic_cast(geometry->getVertexArray()); - if (!vertices) return; - unsigned int frameNumber = renderInfo.getState()->getFrameStamp()->getFrameNumber(); // Get stats @@ -797,24 +904,18 @@ struct StatsGraph : public osg::MatrixTransform // Add new vertex for this frame. value = osg::clampTo(value, 0.0, double(_max)); - vertices->push_back(osg::Vec3(float(_curX), float(_height) / _max * value, 0)); + _vertices->push_back(osg::Vec3(float(_curX), float(_height) / _max * value, 0)); // One vertex per pixel in X. - int excedent = vertices->size() - _width; + int excedent = _vertices->size() - _width; if (excedent > 0) { - vertices->erase(vertices->begin(), vertices->begin() + excedent); + _vertices->erase(_vertices->begin(), _vertices->begin() + excedent); } - // Create primitive set if none exists. - if (geometry->getNumPrimitiveSets() == 0) - geometry->addPrimitiveSet(new osg::DrawArrays(GL_LINE_STRIP, 0, 0)); - // Update primitive set. - osg::DrawArrays* drawArrays = dynamic_cast(geometry->getPrimitiveSet(0)); - if (!drawArrays) return; - drawArrays->setFirst(0); - drawArrays->setCount(vertices->size()); + _drawArrays->setFirst(0); + _drawArrays->setCount(_vertices->size()); // Make the graph scroll when there is enough data. // Note: We check the frame number so that even if we have @@ -825,24 +926,25 @@ struct StatsGraph : public osg::MatrixTransform { // We know the exact layout of this part of the scene // graph, so this is OK... - osg::MatrixTransform* transform = - geometry->getParent(0)->getParent(0)->asTransform()->asMatrixTransform(); + osg::MatrixTransform* transform = const_cast(drawable->getParent(0)->getParent(0)->asTransform()->asMatrixTransform()); if (transform) { //osg::Matrix matrix = transform->getMatrix(); //matrix.setTrans(-(*vertices)[0].x(), matrix.getTrans().y(), matrix.getTrans().z()); - transform->setMatrix(osg::Matrix::translate(_pos + osg::Vec3(-(*vertices)[0].x(), 0, 0))); + transform->setMatrix(osg::Matrix::translate(_pos + osg::Vec3(-(*_vertices)[0].x(), 0, 0))); } } + _vertices->dirty(); + _curX++; GraphUpdateCallback::_frameNumber = frameNumber; - geometry->dirtyBound(); - drawable->drawImplementation(renderInfo); } + osg::ref_ptr _vertices; + osg::ref_ptr _drawArrays; const osg::Vec3 _pos; const unsigned int _width; const unsigned int _height; @@ -864,24 +966,34 @@ osg::Geometry* StatsHandler::createGeometry(const osg::Vec3& pos, float height, osg::Geometry* geometry = new osg::Geometry; geometry->setUseDisplayList(false); + geometry->setDataVariance(osg::Object::DYNAMIC); osg::Vec3Array* vertices = new osg::Vec3Array; geometry->setVertexArray(vertices); vertices->reserve(numBlocks*4); + osg::DrawElementsUShort* primitives = new osg::DrawElementsUShort(GL_TRIANGLES); for(unsigned int i=0; isize(); vertices->push_back(pos+osg::Vec3(i*20, height, 0.0)); vertices->push_back(pos+osg::Vec3(i*20, 0.0, 0.0)); vertices->push_back(pos+osg::Vec3(i*20+10.0, 0.0, 0.0)); vertices->push_back(pos+osg::Vec3(i*20+10.0, height, 0.0)); + + primitives->push_back(vi); + primitives->push_back(vi+1); + primitives->push_back(vi+2); + primitives->push_back(vi); + primitives->push_back(vi+2); + primitives->push_back(vi+3); } osg::Vec4Array* colours = new osg::Vec4Array; colours->push_back(colour); geometry->setColorArray(colours, osg::Array::BIND_OVERALL); - geometry->addPrimitiveSet(new osg::DrawArrays(GL_QUADS, 0, numBlocks*4)); + geometry->addPrimitiveSet(primitives); return geometry; } @@ -923,6 +1035,8 @@ struct FrameMarkerDrawCallback : public virtual osg::Drawable::DrawCallback } } + vertices->dirty(); + drawable->drawImplementation(renderInfo); } @@ -1019,6 +1133,7 @@ osg::Geometry* StatsHandler::createFrameMarkers(const osg::Vec3& pos, float heig osg::Geometry* geometry = new osg::Geometry; geometry->setUseDisplayList(false); + geometry->setDataVariance(osg::Object::DYNAMIC); osg::Vec3Array* vertices = new osg::Vec3Array; geometry->setVertexArray(vertices); @@ -1044,6 +1159,7 @@ osg::Geometry* StatsHandler::createTick(const osg::Vec3& pos, float height, cons osg::Geometry* geometry = new osg::Geometry; geometry->setUseDisplayList(false); + geometry->setDataVariance(osg::Object::DYNAMIC); osg::Vec3Array* vertices = new osg::Vec3Array; geometry->setVertexArray(vertices); @@ -1081,7 +1197,7 @@ void StatsHandler::setUpScene(osgViewer::ViewerBase* viewer) // collect all the relevant cameras ViewerBase::Cameras validCameras; - viewer->getCameras(validCameras); + collectWhichCamerasToRenderStatsFor(viewer, validCameras); ViewerBase::Cameras cameras; for(ViewerBase::Cameras::iterator itr = validCameras.begin(); @@ -1145,8 +1261,14 @@ void StatsHandler::setUpScene(osgViewer::ViewerBase* viewer) frameRateLabel->setFont(_font); frameRateLabel->setCharacterSize(_characterSize); frameRateLabel->setPosition(pos); +#ifdef _DEBUG + osg::Vec4 colorDFR(1.0f, 0.0f, 0.0f, 1.0f); + frameRateLabel->setColor(colorDFR); + frameRateLabel->setText("DEBUG Frame Rate: "); +#else + frameRateLabel->setColor(colorFR); frameRateLabel->setText("Frame Rate: "); - +#endif pos.x() = frameRateLabel->getBoundingBox().xMax(); osg::ref_ptr frameRateValue = new osgText::Text; @@ -1157,6 +1279,7 @@ void StatsHandler::setUpScene(osgViewer::ViewerBase* viewer) frameRateValue->setCharacterSize(_characterSize); frameRateValue->setPosition(pos); frameRateValue->setText("0.0"); + frameRateValue->setDataVariance(osg::Object::DYNAMIC); frameRateValue->setDrawCallback(new AveragedValueTextDrawCallback(viewer->getViewerStats(),"Frame rate",-1, true, 1.0)); @@ -1355,6 +1478,7 @@ void StatsHandler::setUpScene(osgViewer::ViewerBase* viewer) averageValue->setCharacterSize(_characterSize); averageValue->setPosition(pos); averageValue->setText("1000"); + averageValue->setDataVariance(osg::Object::DYNAMIC); pos.x() = averageValue->getBoundingBox().xMax() + 2.0f*_characterSize; @@ -1378,6 +1502,7 @@ void StatsHandler::setUpScene(osgViewer::ViewerBase* viewer) minValue->setCharacterSize(_characterSize); minValue->setPosition(pos); minValue->setText("1000"); + minValue->setDataVariance(osg::Object::DYNAMIC); pos.x() = minValue->getBoundingBox().xMax() + 2.0f*_characterSize; @@ -1400,6 +1525,8 @@ void StatsHandler::setUpScene(osgViewer::ViewerBase* viewer) maxValue->setCharacterSize(_characterSize); maxValue->setPosition(pos); maxValue->setText("1000"); + maxValue->setDataVariance(osg::Object::DYNAMIC); + pos.x() = maxValue->getBoundingBox().xMax(); @@ -1422,6 +1549,8 @@ void StatsHandler::setUpScene(osgViewer::ViewerBase* viewer) requestList->setCharacterSize(_characterSize); requestList->setPosition(pos); requestList->setText("0"); + requestList->setDataVariance(osg::Object::DYNAMIC); + pos.x() = requestList->getBoundingBox().xMax() + 2.0f*_characterSize;; @@ -1444,6 +1573,8 @@ void StatsHandler::setUpScene(osgViewer::ViewerBase* viewer) compileList->setCharacterSize(_characterSize); compileList->setPosition(pos); compileList->setText("0"); + compileList->setDataVariance(osg::Object::DYNAMIC); + pos.x() = maxLabel->getBoundingBox().xMax(); @@ -1528,6 +1659,7 @@ void StatsHandler::setUpScene(osgViewer::ViewerBase* viewer) camStatsText->setCharacterSize(_characterSize); camStatsText->setPosition(pos); camStatsText->setText(""); + camStatsText->setDataVariance(osg::Object::DYNAMIC); camStatsText->setDrawCallback(new CameraSceneStatsTextDrawCallback(*citr, cameraCounter)); // Move camera block to the right @@ -1601,6 +1733,7 @@ void StatsHandler::setUpScene(osgViewer::ViewerBase* viewer) text->setFont(_font); text->setCharacterSize(_characterSize); text->setPosition(pos); + text->setDataVariance(osg::Object::DYNAMIC); text->setDrawCallback(new ViewSceneStatsTextDrawCallback(*it, viewCounter)); pos.x() += 10 * _characterSize + 2 * backgroundMargin + backgroundSpacing; @@ -1634,6 +1767,7 @@ void StatsHandler::createTimeStatsLine(const std::string& lineLabel, value->setCharacterSize(_characterSize); value->setPosition(pos); value->setText("0.0"); + value->setDataVariance(osg::Object::DYNAMIC); if (!timeTakenName.empty()) { diff --git a/src/osgViewer/View.cpp b/src/osgViewer/View.cpp index b555e9201be..a3a5b8173db 100644 --- a/src/osgViewer/View.cpp +++ b/src/osgViewer/View.cpp @@ -1311,23 +1311,6 @@ static const GLubyte patternVertEven[] = { 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55}; -static const GLubyte patternVertOdd[] = { - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, - 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA}; static const GLubyte patternHorzEven[] = { 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, diff --git a/src/osgViewer/Viewer.cpp b/src/osgViewer/Viewer.cpp index ab4adb867c0..87957b1b0ec 100644 --- a/src/osgViewer/Viewer.cpp +++ b/src/osgViewer/Viewer.cpp @@ -165,7 +165,7 @@ Viewer::Viewer(osg::ArgumentParser& arguments) std::string intensityMapFilename; while (arguments.read("--im",intensityMapFilename)) {} - osg::ref_ptr intensityMap = intensityMapFilename.empty() ? 0 : osgDB::readImageFile(intensityMapFilename); + osg::ref_ptr intensityMap = intensityMapFilename.empty() ? 0 : osgDB::readRefImageFile(intensityMapFilename); if (screenNum<0) screenNum = 0; @@ -297,7 +297,7 @@ bool Viewer::readConfiguration(const std::string& filename) { OSG_INFO<<"Viewer::readConfiguration("< object = osgDB::readObjectFile(filename); + osg::ref_ptr object = osgDB::readRefObjectFile(filename); if (!object) { //OSG_NOTICE<<"Error: Unable to load configuration file \""<className()<configure(*this); //osgDB::writeObjectFile(*config,"test.osgt"); @@ -358,22 +358,26 @@ bool Viewer::isRealized() const bool Viewer::checkNeedToDoFrame() { + // check if any event handler has prompted a redraw if (_requestRedraw) return true; if (_requestContinousUpdate) return true; + // check if the database pager needs to update the scene + if (getDatabasePager()->requiresUpdateSceneGraph() || getDatabasePager()->getRequestsInProgress()) return true; - // If the database pager is going to update the scene the render flag is - // set so that the updates show up - if(getDatabasePager()->requiresUpdateSceneGraph() || getDatabasePager()->getRequestsInProgress()) return true; - - // if there update callbacks then we need to do frame. + // check if there are camera update callbacks if (_camera->getUpdateCallback()) return true; - if (getSceneData()!=0 && getSceneData()->getNumChildrenRequiringUpdateTraversal()>0) return true; + + // check if there are node update callbacks + if (getSceneData() != 0) + { + if (getSceneData()->getUpdateCallback() || (getSceneData()->getNumChildrenRequiringUpdateTraversal()>0) ) return true; + } // check if events are available and need processing if (checkEvents()) return true; - // now check if any of the event handles have prompted a redraw. + // and check again if any event handler has prompted a redraw if (_requestRedraw) return true; if (_requestContinousUpdate) return true; @@ -587,6 +591,7 @@ void Viewer::realize() // pass on the start tick to all the associated event queues setStartTick(osg::Timer::instance()->getStartTick()); + // configure threading. setUpThreading(); if (osg::DisplaySettings::instance()->getCompileContextsHint()) @@ -754,7 +759,7 @@ void Viewer::generateSlavePointerData(osg::Camera* camera, osgGA::GUIEventAdapte } else if (tcm) { - OSG_NOTICE<<" Slave has matched texture cubemap"<second._texture.get()<<", "<second._face<second._texture.get()<<", "<second._face< event = _eventQueue->frame( getFrameStamp()->getReferenceTime() ); - + if (!eventState || eventState->getNumPointerData()<2) { generatePointerData(*event); @@ -995,7 +1000,7 @@ void Viewer::eventTraversal() reprojectPointerData(*eventState, *event); } } - + // OSG_NOTICE<<"mouseEventState Xmin = "<getXmin()<<" Ymin="<getYmin()<<" xMax="<getXmax()<<" Ymax="<getYmax()<takeEvents(events, cutOffTime); @@ -1066,13 +1071,13 @@ void Viewer::eventTraversal() osg::NodeVisitor::TraversalMode tm = _eventVisitor->getTraversalMode(); _eventVisitor->setTraversalMode(osg::NodeVisitor::TRAVERSE_NONE); - if (_camera.valid() && _camera->getEventCallback()) _camera->accept(*_eventVisitor); + if (_camera.valid()) _camera->accept(*_eventVisitor); for(unsigned int i=0; igetEventCallback()) + if (camera && slave._useMastersSceneData) { camera->accept(*_eventVisitor); } @@ -1172,13 +1177,13 @@ void Viewer::updateTraversal() osg::NodeVisitor::TraversalMode tm = _updateVisitor->getTraversalMode(); _updateVisitor->setTraversalMode(osg::NodeVisitor::TRAVERSE_NONE); - if (_camera.valid() && _camera->getUpdateCallback()) _camera->accept(*_updateVisitor); + if (_camera.valid()) _camera->accept(*_updateVisitor); for(unsigned int i=0; igetUpdateCallback()) + if (camera && slave._useMastersSceneData) { camera->accept(*_updateVisitor); } diff --git a/src/osgViewer/ViewerBase.cpp b/src/osgViewer/ViewerBase.cpp index 425ee82ddfa..1860f96563e 100644 --- a/src/osgViewer/ViewerBase.cpp +++ b/src/osgViewer/ViewerBase.cpp @@ -40,23 +40,6 @@ static osg::ApplicationUsageProxy ViewerBase_e5(osg::ApplicationUsage::ENVIRONME using namespace osgViewer; - -struct InitRegistry -{ - InitRegistry() - { - osgDB::Registry::instance(); - } - - ~InitRegistry() - { - osgDB::DatabasePager::prototype() = 0; - osgDB::Registry::instance(true); - } -}; - -static InitRegistry s_InitRegistry; - ViewerBase::ViewerBase(): osg::Object(true) { @@ -177,6 +160,17 @@ void ViewerBase::setUpThreading() Scenes scenes; getScenes(scenes); + + for(Scenes::iterator scitr = scenes.begin(); + scitr != scenes.end(); + ++scitr) + { + if ((*scitr)->getSceneData()) + { + // update the scene graph so that it has enough GL object buffer memory for the graphics contexts that will be using it. + (*scitr)->getSceneData()->resizeGLObjectBuffers(osg::DisplaySettings::instance()->getMaxNumberOfGraphicsContexts()); + } + } } } } diff --git a/src/osgViewer/ViewerEventHandlers.cpp b/src/osgViewer/ViewerEventHandlers.cpp index 9159788bc22..41e02e1bc63 100644 --- a/src/osgViewer/ViewerEventHandlers.cpp +++ b/src/osgViewer/ViewerEventHandlers.cpp @@ -721,8 +721,8 @@ bool InteractiveImageHandler::mousePosition(osgViewer::View* view, osg::NodeVisi if (!view) return false; if (_fullscreen) { - x = ea.getX(); - y = ea.getY(); + x = (int) ea.getX(); + y = (int) ea.getY(); return true; } diff --git a/src/osgVolume/Locator.cpp b/src/osgVolume/Locator.cpp index d6061d9a1b1..982fbad80ca 100644 --- a/src/osgVolume/Locator.cpp +++ b/src/osgVolume/Locator.cpp @@ -14,6 +14,7 @@ #include #include #include +#include #include @@ -223,6 +224,28 @@ void Locator::locatorModified() } +bool Locator::inverted() const +{ + osg::Vec3d xAxis(_transform(0,0), _transform(1,0), _transform(2,0)); + osg::Vec3d yAxis(_transform(0,1), _transform(1,1), _transform(2,1)); + osg::Vec3d zAxis(_transform(0,2), _transform(1,2), _transform(2,2)); + double volume = (xAxis^yAxis)*zAxis; + return volume<0.0; +} + +void Locator::applyAppropriateFrontFace(osg::StateSet* ss) const +{ + osg::StateAttribute* sa = ss->getAttribute(osg::StateAttribute::FRONTFACE); + osg::FrontFace* ff = dynamic_cast(sa); + if (!ff) + { + ff = new osg::FrontFace; + ss->setAttribute(ff); + } + ff->setMode( inverted() ? osg::FrontFace::CLOCKWISE : osg::FrontFace::COUNTER_CLOCKWISE); +} + + ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // TransformLocatorCallback @@ -233,7 +256,12 @@ TransformLocatorCallback::TransformLocatorCallback(osg::MatrixTransform* transfo void TransformLocatorCallback::locatorModified(Locator* locator) { - if (_transform.valid()) _transform->setMatrix(locator->getTransform()); + if (_transform.valid()) + { + locator->applyAppropriateFrontFace(_transform->getOrCreateStateSet()); + + _transform->setMatrix(locator->getTransform()); + } } diff --git a/src/osgVolume/MultipassTechnique.cpp b/src/osgVolume/MultipassTechnique.cpp index 450847bd028..37c597fbda0 100644 --- a/src/osgVolume/MultipassTechnique.cpp +++ b/src/osgVolume/MultipassTechnique.cpp @@ -497,6 +497,7 @@ void MultipassTechnique::init() { geometryMatrix = masterLocator->getTransform(); _transform->setMatrix(geometryMatrix); + masterLocator->applyAppropriateFrontFace(_transform->getOrCreateStateSet()); masterLocator->addCallback(new TransformLocatorCallback(_transform.get())); } diff --git a/src/osgVolume/RayTracedTechnique.cpp b/src/osgVolume/RayTracedTechnique.cpp index f014f3ab957..e3cc659b5c7 100644 --- a/src/osgVolume/RayTracedTechnique.cpp +++ b/src/osgVolume/RayTracedTechnique.cpp @@ -134,6 +134,7 @@ void RayTracedTechnique::init() { geometryMatrix = masterLocator->getTransform(); _transform->setMatrix(geometryMatrix); + masterLocator->applyAppropriateFrontFace(_transform->getOrCreateStateSet()); masterLocator->addCallback(new TransformLocatorCallback(_transform.get())); } diff --git a/src/osgVolume/Shaders/volume_frag.cpp b/src/osgVolume/Shaders/volume_frag.cpp index c53bb7855ec..0dc54a573f0 100644 --- a/src/osgVolume/Shaders/volume_frag.cpp +++ b/src/osgVolume/Shaders/volume_frag.cpp @@ -1,4 +1,8 @@ -char volume_frag[] = "uniform sampler3D baseTexture;\n" +char volume_frag[] = "#version 110\n" + "\n" + "#pragma import_defines(NVIDIA_Corporation)\n" + "\n" + "uniform sampler3D baseTexture;\n" "uniform float SampleDensityValue;\n" "uniform float TransparencyValue;\n" "uniform float AlphaFuncValue;\n" @@ -9,7 +13,8 @@ char volume_frag[] = "uniform sampler3D baseTexture;\n" "varying vec4 baseColor;\n" "\n" "void main(void)\n" - "{ \n" + "{\n" + "\n" " vec4 t0 = vertexPos;\n" " vec4 te = cameraPos;\n" "\n" @@ -61,19 +66,22 @@ char volume_frag[] = "uniform sampler3D baseTexture;\n" " t0 = t0 * texgen;\n" " te = te * texgen;\n" "\n" + " const float min_iteratrions = 2.0;\n" " const float max_iteratrions = 2048.0;\n" + "\n" " float num_iterations = ceil(length((te-t0).xyz)/SampleDensityValue);\n" - " if (num_iterations<2.0) num_iterations = 2.0;\n" "\n" - " if (num_iterations>max_iteratrions) \n" - " {\n" - " num_iterations = max_iteratrions;\n" - " }\n" + " if (num_iterationsmax_iteratrions) num_iterations = max_iteratrions;\n" + " #ifdef NVIDIA_Corporation\n" + " // Recent NVidia drivers have a bug in length() where it throws nan for some values of input into length() so catch these\n" + " else if (num_iterations!=num_iterations) num_iterations = max_iteratrions;\n" + " #endif\n" "\n" - " vec3 deltaTexCoord=(te-t0).xyz/float(num_iterations-1.0);\n" + " vec3 deltaTexCoord=(te-t0).xyz/(num_iterations-1.0);\n" " vec3 texcoord = t0.xyz;\n" "\n" - " vec4 fragColor = vec4(0.0, 0.0, 0.0, 0.0); \n" + " vec4 fragColor = vec4(0.0, 0.0, 0.0, 0.0);\n" " while(num_iterations>0.0)\n" " {\n" " vec4 color = texture3D( baseTexture, texcoord);\n" @@ -88,7 +96,7 @@ char volume_frag[] = "uniform sampler3D baseTexture;\n" " {\n" " fragColor = color;\n" " }\n" - " texcoord += deltaTexCoord; \n" + " texcoord += deltaTexCoord;\n" "\n" " --num_iterations;\n" " }\n" @@ -99,7 +107,6 @@ char volume_frag[] = "uniform sampler3D baseTexture;\n" " fragColor *= baseColor;\n" "\n" " if (fragColor.wmax_iteratrions) \n" - " {\n" - " num_iterations = max_iteratrions;\n" - " }\n" + " if (num_iterationsmax_iteratrions) num_iterations = max_iteratrions;\n" + " #ifdef NVIDIA_Corporation\n" + " // Recent NVidia drivers have a bug in length() where it throws nan for some values of input into length() so catch these\n" + " else if (num_iterations!=num_iterations) num_iterations = max_iteratrions;\n" + " #endif\n" "\n" " vec3 deltaTexCoord=(t0-te).xyz/float(num_iterations-1.0);\n" " vec3 texcoord = te.xyz;\n" "\n" " vec4 previousColor = texture3D( baseTexture, texcoord);\n" - " \n" + "\n" " float normalSampleDistance = 1.0/512.0;\n" " vec3 deltaX = vec3(normalSampleDistance, 0.0, 0.0);\n" " vec3 deltaY = vec3(0.0, normalSampleDistance, 0.0);\n" " vec3 deltaZ = vec3(0.0, 0.0, normalSampleDistance);\n" - " \n" + "\n" " while(num_iterations>0.0)\n" " {\n" " vec4 color = texture3D( baseTexture, texcoord);\n" @@ -90,7 +97,7 @@ char volume_iso_frag[] = "uniform sampler3D baseTexture;\n" " {\n" " float r = (IsoSurfaceValue-color.a)/(previousColor.a-color.a);\n" " texcoord = texcoord - r*deltaTexCoord;\n" - " \n" + "\n" " float a = color.a;\n" " float px = texture3D( baseTexture, texcoord + deltaX).a;\n" " float py = texture3D( baseTexture, texcoord + deltaY).a;\n" @@ -99,7 +106,7 @@ char volume_iso_frag[] = "uniform sampler3D baseTexture;\n" " float nx = texture3D( baseTexture, texcoord - deltaX).a;\n" " float ny = texture3D( baseTexture, texcoord - deltaY).a;\n" " float nz = texture3D( baseTexture, texcoord - deltaZ).a;\n" - " \n" + "\n" " vec3 grad = vec3(px-nx, py-ny, pz-nz);\n" " if (grad.x!=0.0 || grad.y!=0.0 || grad.z!=0.0)\n" " {\n" @@ -117,13 +124,13 @@ char volume_iso_frag[] = "uniform sampler3D baseTexture;\n" " color *= baseColor;\n" "\n" " gl_FragColor = color;\n" - " \n" + "\n" " return;\n" " }\n" - " \n" + "\n" " previousColor = color;\n" - " \n" - " texcoord += deltaTexCoord; \n" + "\n" + " texcoord += deltaTexCoord;\n" "\n" " --num_iterations;\n" " }\n" diff --git a/src/osgVolume/Shaders/volume_lit_frag.cpp b/src/osgVolume/Shaders/volume_lit_frag.cpp index 9dcc15a4e3c..ef1ecc1d9d9 100644 --- a/src/osgVolume/Shaders/volume_lit_frag.cpp +++ b/src/osgVolume/Shaders/volume_lit_frag.cpp @@ -1,4 +1,8 @@ -char volume_lit_frag[] = "uniform sampler3D baseTexture;\n" +char volume_lit_frag[] = "#version 110\n" + "\n" + "#pragma import_defines(NVIDIA_Corporation)\n" + "\n" + "uniform sampler3D baseTexture;\n" "uniform float SampleDensityValue;\n" "uniform float TransparencyValue;\n" "uniform float AlphaFuncValue;\n" @@ -10,7 +14,7 @@ char volume_lit_frag[] = "uniform sampler3D baseTexture;\n" "varying vec4 baseColor;\n" "\n" "void main(void)\n" - "{ \n" + "{\n" " vec4 t0 = vertexPos;\n" " vec4 te = cameraPos;\n" "\n" @@ -62,14 +66,17 @@ char volume_lit_frag[] = "uniform sampler3D baseTexture;\n" " t0 = t0 * texgen;\n" " te = te * texgen;\n" "\n" + " const float min_iteratrions = 2.0;\n" " const float max_iteratrions = 2048.0;\n" + "\n" " float num_iterations = ceil(length((te-t0).xyz)/SampleDensityValue);\n" - " if (num_iterations<2.0) num_iterations = 2.0;\n" "\n" - " if (num_iterations>max_iteratrions) \n" - " {\n" - " num_iterations = max_iteratrions;\n" - " }\n" + " if (num_iterationsmax_iteratrions) num_iterations = max_iteratrions;\n" + " #ifdef NVIDIA_Corporation\n" + " // Recent NVidia drivers have a bug in length() where it throws nan for some values of input into length() so catch these\n" + " else if (num_iterations!=num_iterations) num_iterations = max_iteratrions;\n" + " #endif\n" "\n" " vec3 deltaTexCoord=(te-t0).xyz/float(num_iterations-1.0);\n" " vec3 texcoord = t0.xyz;\n" @@ -79,7 +86,7 @@ char volume_lit_frag[] = "uniform sampler3D baseTexture;\n" " vec3 deltaY = vec3(0.0, normalSampleDistance, 0.0);\n" " vec3 deltaZ = vec3(0.0, 0.0, normalSampleDistance);\n" "\n" - " vec4 fragColor = vec4(0.0, 0.0, 0.0, 0.0); \n" + " vec4 fragColor = vec4(0.0, 0.0, 0.0, 0.0);\n" " while(num_iterations>0.0)\n" " {\n" " vec4 color = texture3D( baseTexture, texcoord);\n" @@ -115,18 +122,17 @@ char volume_lit_frag[] = "uniform sampler3D baseTexture;\n" " {\n" " fragColor = color;\n" " }\n" - " texcoord += deltaTexCoord; \n" + " texcoord += deltaTexCoord;\n" "\n" " --num_iterations;\n" " }\n" "\n" " fragColor.w *= TransparencyValue;\n" - " if (fragColor.w>1.0) fragColor.w = 1.0; \n" + " if (fragColor.w>1.0) fragColor.w = 1.0;\n" "\n" " fragColor *= baseColor;\n" "\n" " if (fragColor.wmax_iteratrions) \n" - " {\n" - " num_iterations = max_iteratrions;\n" - " }\n" + " if (num_iterationsmax_iteratrions) num_iterations = max_iteratrions;\n" + " #ifdef NVIDIA_Corporation\n" + " // Recent NVidia drivers have a bug in length() where it throws nan for some values of input into length() so catch these\n" + " else if (num_iterations!=num_iterations) num_iterations = max_iteratrions;\n" + " #endif\n" "\n" " vec3 deltaTexCoord=(te-t0).xyz/float(num_iterations-1.0);\n" " vec3 texcoord = t0.xyz;\n" @@ -86,7 +93,7 @@ char volume_lit_tf_frag[] = "uniform sampler3D baseTexture;\n" " vec3 deltaY = vec3(0.0, normalSampleDistance, 0.0);\n" " vec3 deltaZ = vec3(0.0, 0.0, normalSampleDistance);\n" "\n" - " vec4 fragColor = vec4(0.0, 0.0, 0.0, 0.0); \n" + " vec4 fragColor = vec4(0.0, 0.0, 0.0, 0.0);\n" " while(num_iterations>0.0)\n" " {\n" " float v = texture3D( baseTexture, texcoord).a * tfScale + tfOffset;\n" @@ -112,7 +119,6 @@ char volume_lit_tf_frag[] = "uniform sampler3D baseTexture;\n" " color.z *= lightScale;\n" " }\n" "\n" - "\n" " float r = color[3]*TransparencyValue;\n" " if (r>AlphaFuncValue)\n" " {\n" @@ -124,16 +130,16 @@ char volume_lit_tf_frag[] = "uniform sampler3D baseTexture;\n" " {\n" " fragColor = color;\n" " }\n" - " texcoord += deltaTexCoord; \n" + " texcoord += deltaTexCoord;\n" "\n" " --num_iterations;\n" " }\n" "\n" " fragColor.w *= TransparencyValue;\n" "\n" - " if (fragColor.w>1.0) fragColor.w = 1.0; \n" + " if (fragColor.w>1.0) fragColor.w = 1.0;\n" " if (fragColor.wmax_iteratrions) \n" - " {\n" - " num_iterations = max_iteratrions;\n" - " }\n" + " if (num_iterationsmax_iteratrions) num_iterations = max_iteratrions;\n" + " #ifdef NVIDIA_Corporation\n" + " // Recent NVidia drivers have a bug in length() where it throws nan for some values of input into length() so catch these\n" + " else if (num_iterations!=num_iterations) num_iterations = max_iteratrions;\n" + " #endif\n" "\n" " vec3 deltaTexCoord=(te-t0).xyz/float(num_iterations-1.0);\n" " vec3 texcoord = t0.xyz;\n" "\n" - " vec4 fragColor = vec4(0.0, 0.0, 0.0, 0.0); \n" + " vec4 fragColor = vec4(0.0, 0.0, 0.0, 0.0);\n" " while(num_iterations>0.0)\n" " {\n" " vec4 color = texture3D( baseTexture, texcoord);\n" @@ -81,18 +88,17 @@ char volume_mip_frag[] = "uniform sampler3D baseTexture;\n" " {\n" " fragColor = color;\n" " }\n" - " texcoord += deltaTexCoord; \n" + " texcoord += deltaTexCoord;\n" "\n" " --num_iterations;\n" " }\n" "\n" " fragColor.w *= TransparencyValue;\n" - " if (fragColor.w>1.0) fragColor.w = 1.0; \n" + " if (fragColor.w>1.0) fragColor.w = 1.0;\n" "\n" " fragColor *= baseColor;\n" "\n" " if (fragColor.wmax_iteratrions) \n" - " {\n" - " num_iterations = max_iteratrions;\n" - " }\n" + " if (num_iterationsmax_iteratrions) num_iterations = max_iteratrions;\n" + " #ifdef NVIDIA_Corporation\n" + " // Recent NVidia drivers have a bug in length() where it throws nan for some values of input into length() so catch these\n" + " else if (num_iterations!=num_iterations) num_iterations = max_iteratrions;\n" + " #endif\n" "\n" " vec3 deltaTexCoord=(te-t0).xyz/float(num_iterations-1.0);\n" " vec3 texcoord = t0.xyz;\n" "\n" - " vec4 fragColor = vec4(0.0, 0.0, 0.0, 0.0); \n" + " vec4 fragColor = vec4(0.0, 0.0, 0.0, 0.0);\n" " while(num_iterations>0.0)\n" " {\n" " float v = texture3D( baseTexture, texcoord).a * tfScale + tfOffset;\n" @@ -95,7 +102,7 @@ char volume_tf_frag[] = "uniform sampler3D baseTexture;\n" " {\n" " fragColor = color;\n" " }\n" - " texcoord += deltaTexCoord; \n" + " texcoord += deltaTexCoord;\n" "\n" " --num_iterations;\n" " }\n" @@ -106,7 +113,6 @@ char volume_tf_frag[] = "uniform sampler3D baseTexture;\n" " fragColor *= baseColor;\n" "\n" " if (fragColor.wmax_iteratrions)\n" - " {\n" - " num_iterations = max_iteratrions;\n" - " }\n" + " if (num_iterationsmax_iteratrions) num_iterations = max_iteratrions;\n" + " #ifdef NVIDIA_Corporation\n" + " // Recent NVidia drivers have a bug in length() where it throws nan for some values of input into length() so catch these\n" + " else if (num_iterations!=num_iterations) num_iterations = max_iteratrions;\n" + " #endif\n" "\n" " vec3 deltaTexCoord=(t0-te).xyz/float(num_iterations-1.0);\n" " vec3 texcoord = te.xyz;\n" @@ -134,6 +141,5 @@ char volume_tf_iso_frag[] = "uniform sampler3D baseTexture;\n" "\n" " // we didn't find an intersection so just discard fragment\n" " discard;\n" - "\n" "}\n" "\n"; diff --git a/src/osgVolume/Shaders/volume_tf_mip_frag.cpp b/src/osgVolume/Shaders/volume_tf_mip_frag.cpp index 4fc50b798f8..91290dfbd3e 100644 --- a/src/osgVolume/Shaders/volume_tf_mip_frag.cpp +++ b/src/osgVolume/Shaders/volume_tf_mip_frag.cpp @@ -1,4 +1,8 @@ -char volume_tf_mip_frag[] = "uniform sampler3D baseTexture;\n" +char volume_tf_mip_frag[] = "#version 110\n" + "\n" + "#pragma import_defines(NVIDIA_Corporation)\n" + "\n" + "uniform sampler3D baseTexture;\n" "\n" "uniform sampler1D tfTexture;\n" "uniform float tfScale;\n" @@ -66,14 +70,17 @@ char volume_tf_mip_frag[] = "uniform sampler3D baseTexture;\n" " t0 = t0 * texgen;\n" " te = te * texgen;\n" "\n" + " const float min_iteratrions = 2.0;\n" " const float max_iteratrions = 2048.0;\n" + "\n" " float num_iterations = ceil(length((te-t0).xyz)/SampleDensityValue);\n" - " if (num_iterations<2.0) num_iterations = 2.0;\n" "\n" - " if (num_iterations>max_iteratrions)\n" - " {\n" - " num_iterations = max_iteratrions;\n" - " }\n" + " if (num_iterationsmax_iteratrions) num_iterations = max_iteratrions;\n" + " #ifdef NVIDIA_Corporation\n" + " // Recent NVidia drivers have a bug in length() where it throws nan for some values of input into length() so catch these\n" + " else if (num_iterations!=num_iterations) num_iterations = max_iteratrions;\n" + " #endif\n" "\n" " vec3 deltaTexCoord=(te-t0).xyz/float(num_iterations-1.0);\n" " vec3 texcoord = t0.xyz;\n" diff --git a/src/osgVolume/Volume.cpp b/src/osgVolume/Volume.cpp index 6880cfed810..ec8df10389e 100644 --- a/src/osgVolume/Volume.cpp +++ b/src/osgVolume/Volume.cpp @@ -51,9 +51,7 @@ VolumeTile* Volume::getVolumeTile(const TileID& tileID) OpenThreads::ScopedLock lock(_mutex); VolumeTileMap::iterator itr = _volumeTileMap.find(tileID); - if (itr != _volumeTileMap.end()) return 0; - - return itr->second; + return (itr != _volumeTileMap.end()) ? itr->second : 0; } const VolumeTile* Volume::getVolumeTile(const TileID& tileID) const @@ -61,9 +59,7 @@ const VolumeTile* Volume::getVolumeTile(const TileID& tileID) const OpenThreads::ScopedLock lock(_mutex); VolumeTileMap::const_iterator itr = _volumeTileMap.find(tileID); - if (itr != _volumeTileMap.end()) return 0; - - return itr->second; + return (itr != _volumeTileMap.end()) ? itr->second : 0; } void Volume::dirtyRegisteredVolumeTiles() diff --git a/src/osgWidget/Browser.cpp b/src/osgWidget/Browser.cpp index aeafa7ca7d7..50433620b73 100644 --- a/src/osgWidget/Browser.cpp +++ b/src/osgWidget/Browser.cpp @@ -105,7 +105,7 @@ bool Browser::assign(BrowserImage* browserImage, const GeometryHints& hints) bool Browser::open(const std::string& hostname, const GeometryHints& hints) { - osg::ref_ptr image = osgDB::readImageFile(hostname+".gecko"); + osg::ref_ptr image = osgDB::readRefImageFile(hostname+".gecko"); return assign(dynamic_cast(image.get()), hints); } diff --git a/src/osgWidget/CMakeLists.txt b/src/osgWidget/CMakeLists.txt index c1716c21be2..f5ef1391b13 100644 --- a/src/osgWidget/CMakeLists.txt +++ b/src/osgWidget/CMakeLists.txt @@ -40,7 +40,6 @@ SET(TARGET_SRC PdfReader.cpp VncClient.cpp Canvas.cpp - CMakeLists.txt Frame.cpp Input.cpp Label.cpp diff --git a/src/osgWidget/PdfReader.cpp b/src/osgWidget/PdfReader.cpp index b1a7661baac..759d5159c9b 100644 --- a/src/osgWidget/PdfReader.cpp +++ b/src/osgWidget/PdfReader.cpp @@ -67,7 +67,7 @@ bool PdfReader::assign(PdfImage* pdfImage, const GeometryHints& hints) osg::StateAttribute::ON); osg::ref_ptr iih = new osgViewer::InteractiveImageHandler(_pdfImage.get()); - + pictureQuad->setEventCallback(iih.get()); pictureQuad->setCullCallback(iih.get()); @@ -78,7 +78,7 @@ bool PdfReader::assign(PdfImage* pdfImage, const GeometryHints& hints) bool PdfReader::open(const std::string& filename, const GeometryHints& hints) { - osg::ref_ptr image = osgDB::readImageFile(filename); + osg::ref_ptr image = osgDB::readRefImageFile(filename); return assign(dynamic_cast(image.get()), hints); } diff --git a/src/osgWidget/VncClient.cpp b/src/osgWidget/VncClient.cpp index 116da8a855b..51552d6770e 100644 --- a/src/osgWidget/VncClient.cpp +++ b/src/osgWidget/VncClient.cpp @@ -62,7 +62,7 @@ bool VncClient::assign(VncImage* vncImage, const GeometryHints& hints) osg::StateAttribute::ON); osg::ref_ptr iih = new osgViewer::InteractiveImageHandler(_vncImage.get()); - + pictureQuad->setEventCallback(iih.get()); pictureQuad->setCullCallback(iih.get()); @@ -73,7 +73,7 @@ bool VncClient::assign(VncImage* vncImage, const GeometryHints& hints) bool VncClient::connect(const std::string& hostname, const GeometryHints& hints) { - osg::ref_ptr image = osgDB::readImageFile(hostname+".vnc"); + osg::ref_ptr image = osgDB::readRefImageFile(hostname+".vnc"); return assign(dynamic_cast(image.get()), hints); } diff --git a/src/osgWidget/Widget.cpp b/src/osgWidget/Widget.cpp index 279bd69a5fc..b49303fc8e7 100644 --- a/src/osgWidget/Widget.cpp +++ b/src/osgWidget/Widget.cpp @@ -339,7 +339,8 @@ bool Widget::setImage(const std::string& filePath, bool setTexCoords, bool useTe return false; } - return setImage(osgDB::readImageFile(filePath), setTexCoords, useTextRect); + osg::ref_ptr image = osgDB::readRefImageFile(filePath); + return setImage(image.get(), setTexCoords, useTextRect); } bool Widget::setTexture(osg::Texture* texture, bool setTexCoords, bool useTextRect) { diff --git a/src/osgWidget/Window.cpp b/src/osgWidget/Window.cpp index 4181d707496..b004fadd48f 100644 --- a/src/osgWidget/Window.cpp +++ b/src/osgWidget/Window.cpp @@ -758,25 +758,28 @@ bool Window::setFirstFocusable() { return false; } -bool Window::setNextFocusable() { +bool Window::setNextFocusable() +{ WidgetList focusList; if(!getFocusList(focusList)) return false; - WidgetList::iterator w = focusList.begin(); - // TODO: This needs to be a more complicated object, since the focus may be // in a child Window instead of a Widget. - unsigned int focusedIndex = 0; - - for(unsigned int i = 0; w != focusList.end(); w++, i++) if(*w == _focused) { - focusedIndex = i; - - break; + WidgetList::iterator witr; + for(witr = focusList.begin(); + witr != focusList.end(); + ++witr) + { + if (*witr==_focused) + { + // found current focused widget, move to next widget the one we want to focus on + ++witr; + break; + } } - if(focusedIndex < focusList.size() - 1) _setFocused((++w)->get()); - + if (witr!=focusList.end()) _setFocused(witr->get()); else _setFocused(focusList.front().get()); return true; diff --git a/src/osgWrappers/deprecated-dotosg/osg/ImageSequence.cpp b/src/osgWrappers/deprecated-dotosg/osg/ImageSequence.cpp index a93b59a77e5..c9681174309 100644 --- a/src/osgWrappers/deprecated-dotosg/osg/ImageSequence.cpp +++ b/src/osgWrappers/deprecated-dotosg/osg/ImageSequence.cpp @@ -27,7 +27,25 @@ bool ImageSequence_readLocalData(Object& obj, Input& fr) ImageSequence& is = static_cast(obj); + double timeMultiplier; + if (fr.read("TimeMultiplier", timeMultiplier)) + { + is.setTimeMultiplier(timeMultiplier); + } + std::string modeStr; + if (fr.read("LoopingMode",modeStr)) + { + if (modeStr=="NO_LOOPING") + { + is.setLoopingMode(osg::ImageSequence::NO_LOOPING); + } + else if (modeStr=="LOOPING") + { + is.setLoopingMode(osg::ImageSequence::LOOPING); + } + } + if (fr.read("Mode",modeStr)) { if (modeStr=="PRE_LOAD_ALL_IMAGES") @@ -101,6 +119,18 @@ bool ImageSequence_writeLocalData(const Object& obj, Output& fw) // no current image writing code here // as it is all handled by osg::Registry::writeImage() via plugins. + fw.indent()<<"TimeMultiplier "<(obj); - if (!(&nc)) return false; + NodeCallback* nc = dynamic_cast(&obj); + if (!nc) return false; bool itrAdvanced = false; NodeCallback* ncc = fr.readObjectOfType(); if (ncc) { - nc.setNestedCallback(ncc); + nc->setNestedCallback(ncc); itrAdvanced = true; } diff --git a/src/osgWrappers/deprecated-dotosg/osg/ProxyNode.cpp b/src/osgWrappers/deprecated-dotosg/osg/ProxyNode.cpp index 5c3317d722d..8db72b9c17f 100644 --- a/src/osgWrappers/deprecated-dotosg/osg/ProxyNode.cpp +++ b/src/osgWrappers/deprecated-dotosg/osg/ProxyNode.cpp @@ -147,7 +147,7 @@ bool ProxyNode_readLocalData(Object& obj, Input& fr) { osgDB::FilePathList& fpl = ((osgDB::ReaderWriter::Options*)fr.getOptions())->getDatabasePathList(); fpl.push_front( fpl.empty() ? osgDB::getFilePath(proxyNode.getFileName(i)) : fpl.front()+'/'+ osgDB::getFilePath(proxyNode.getFileName(i))); - osg::Node *node = osgDB::readNodeFile(proxyNode.getFileName(i), fr.getOptions()); + osg::ref_ptr node = osgDB::readRefNodeFile(proxyNode.getFileName(i), fr.getOptions()); fpl.pop_front(); if(node) { diff --git a/src/osgWrappers/deprecated-dotosg/osg/Shader.cpp b/src/osgWrappers/deprecated-dotosg/osg/Shader.cpp index 43451a5ca4a..8ea9d5a492a 100644 --- a/src/osgWrappers/deprecated-dotosg/osg/Shader.cpp +++ b/src/osgWrappers/deprecated-dotosg/osg/Shader.cpp @@ -46,7 +46,7 @@ bool Shader_readLocalData(Object& obj, Input& fr) if (fr.matchSequence("file %w") || fr.matchSequence("file %s") ) { - osg::ref_ptr s = osgDB::readShaderFile(fr[1].getStr(), fr.getOptions()); + osg::ref_ptr s = osgDB::readRefShaderFile(fr[1].getStr(), fr.getOptions()); if(s.get()) shader.setShaderSource(s->getShaderSource()); else diff --git a/src/osgWrappers/deprecated-dotosg/osg/Texture1D.cpp b/src/osgWrappers/deprecated-dotosg/osg/Texture1D.cpp index 2561ffcce2e..018b95b08ec 100644 --- a/src/osgWrappers/deprecated-dotosg/osg/Texture1D.cpp +++ b/src/osgWrappers/deprecated-dotosg/osg/Texture1D.cpp @@ -41,7 +41,7 @@ bool Texture1D_readLocalData(Object& obj, Input& fr) if (fr[0].matchWord("file") && fr[1].isString()) { std::string filename = fr[1].getStr(); - Image* image = fr.readImage(filename.c_str()); + osg::ref_ptr image = fr.readImage(filename.c_str()); if (image) { // name will have already been set by the image plugin, @@ -57,7 +57,7 @@ bool Texture1D_readLocalData(Object& obj, Input& fr) if (fr[0].matchWord("ImageSequence") || fr[0].matchWord("Image")) { - osg::Image* image = fr.readImage(); + osg::ref_ptr image = fr.readImage(); if (image) texture.setImage(image); } diff --git a/src/osgWrappers/deprecated-dotosg/osg/Texture2D.cpp b/src/osgWrappers/deprecated-dotosg/osg/Texture2D.cpp index ead96e47f07..4b00cfdcc77 100644 --- a/src/osgWrappers/deprecated-dotosg/osg/Texture2D.cpp +++ b/src/osgWrappers/deprecated-dotosg/osg/Texture2D.cpp @@ -50,7 +50,7 @@ bool Texture2D_readLocalData(Object& obj, Input& fr) if (fr[0].matchWord("file") && fr[1].isString()) { std::string filename = fr[1].getStr(); - Image* image = fr.readImage(filename.c_str()); + osg::ref_ptr image = fr.readImage(filename.c_str()); if (image) { // name will have already been set by the image plugin, @@ -66,7 +66,7 @@ bool Texture2D_readLocalData(Object& obj, Input& fr) if (fr[0].matchWord("ImageSequence") || fr[0].matchWord("Image")) { - osg::Image* image = fr.readImage(); + osg::ref_ptr image = fr.readImage(); if (image) texture.setImage(image); } diff --git a/src/osgWrappers/deprecated-dotosg/osg/Texture2DArray.cpp b/src/osgWrappers/deprecated-dotosg/osg/Texture2DArray.cpp new file mode 100644 index 00000000000..73e356b895f --- /dev/null +++ b/src/osgWrappers/deprecated-dotosg/osg/Texture2DArray.cpp @@ -0,0 +1,109 @@ +#include "osg/Texture2DArray" +#include "osg/ImageSequence" + +#include "osgDB/Registry" +#include "osgDB/Input" +#include "osgDB/Output" +#include "osgDB/WriteFile" + +using namespace osg; +using namespace osgDB; + +// forward declare functions to use later. +bool Texture2DArray_readLocalData(Object& obj, Input& fr); +bool Texture2DArray_writeLocalData(const Object& obj, Output& fw); + +// register the read and write functions with the osgDB::Registry. +REGISTER_DOTOSGWRAPPER(Texture2DArray) + ( + new osg::Texture2DArray, + "Texture2DArray", + "Object StateAttribute Texture2DArray TextureBase", + &Texture2DArray_readLocalData, + &Texture2DArray_writeLocalData + ); + +bool Texture2DArray_readLocalData(Object& obj, Input& fr) +{ + bool iteratorAdvanced = false; + int index = 0; + GLint textureW = 0; + GLint textureH = 0; + bool matched=true; + + Texture2DArray& texture = static_cast(obj); + + while (matched && (fr[0].matchWord("file") || fr[0].matchWord("ImageSequence") || fr[0].matchWord("Image"))) + { + matched = false; + osg::ref_ptr image; + if (fr[0].matchWord("file") && fr[1].isString()) + { + std::string filename = fr[1].getStr(); + image = fr.readImage(filename.c_str()); + fr += 2; + iteratorAdvanced = true; + matched = true; + } + else if (fr[0].matchWord("ImageSequence") || fr[0].matchWord("Image")) + { + image = fr.readImage(); + fr += 1; + iteratorAdvanced = true; + matched = true; + } + + if(image) + { + if(textureW == 0) //if first image,save size + { + textureW = image->s(); + textureH = image->t(); + } + else if(textureW != image->s() || + textureH != image->t()) + { + //scale to match size of first image. + image->scaleImage(textureW,textureH,1); + } + texture.setImage(index,image); + } + index++; + } + return iteratorAdvanced; +} + +bool Texture2DArray_writeLocalData(const Object& obj, Output& fw) +{ + const Texture2DArray& ta = static_cast(obj); + + for(size_t i = 0; i < ta.getNumImages();i++) + { + const Image* image = ta.getImage(i); + if(image) + { + const osg::ImageSequence* is = dynamic_cast(image); + if (is) + { + fw.writeObject(*is); + } + else + { + std::string fileName = image->getFileName(); + if (fw.getOutputTextureFiles()) + { + if (fileName.empty()) + { + fileName = fw.getTextureFileNameForOutput(); + } + osgDB::writeImageFile(*image, fileName); + } + if (!fileName.empty()) + { + fw.indent() << "file "< image = fr.readImage(filename.c_str()); if (image) { // name will have already been set by the image plugin, @@ -57,7 +57,7 @@ bool Texture3D_readLocalData(Object& obj, Input& fr) if (fr[0].matchWord("ImageSequence") || fr[0].matchWord("Image")) { - osg::Image* image = fr.readImage(); + osg::ref_ptr image = fr.readImage(); if (image) texture.setImage(image); } diff --git a/src/osgWrappers/deprecated-dotosg/osg/TextureCubeMap.cpp b/src/osgWrappers/deprecated-dotosg/osg/TextureCubeMap.cpp index 9dbc981eb43..402f6341eb4 100644 --- a/src/osgWrappers/deprecated-dotosg/osg/TextureCubeMap.cpp +++ b/src/osgWrappers/deprecated-dotosg/osg/TextureCubeMap.cpp @@ -38,8 +38,8 @@ REGISTER_DOTOSGWRAPPER(TextureCubeMap) } \ else if (fr[2].isString())\ { \ - Image* image = fr.readImage(fr[2].getStr());\ - if (image) texture.setImage(osg::TextureCubeMap::FACE,image);\ + osg::ref_ptr image = fr.readImage(fr[2].getStr());\ + if (image) texture.setImage(osg::TextureCubeMap::FACE,image.get());\ fr += 3;\ iteratorAdvanced = true; \ matched = true;\ diff --git a/src/osgWrappers/deprecated-dotosg/osg/TextureRectangle.cpp b/src/osgWrappers/deprecated-dotosg/osg/TextureRectangle.cpp index ba7710a3c97..0c040f1eb00 100644 --- a/src/osgWrappers/deprecated-dotosg/osg/TextureRectangle.cpp +++ b/src/osgWrappers/deprecated-dotosg/osg/TextureRectangle.cpp @@ -41,7 +41,7 @@ bool TextureRectangle_readLocalData(Object& obj, Input& fr) if (fr[0].matchWord("file") && fr[1].isString()) { std::string filename = fr[1].getStr(); - Image* image = fr.readImage(filename.c_str()); + osg::ref_ptr image = fr.readImage(filename.c_str()); if (image) { // name will have already been set by the image plugin, @@ -57,7 +57,7 @@ bool TextureRectangle_readLocalData(Object& obj, Input& fr) if (fr[0].matchWord("ImageSequence") || fr[0].matchWord("Image")) { - osg::Image* image = fr.readImage(); + osg::ref_ptr image = fr.readImage(); if (image) texture.setImage(image); } diff --git a/src/osgWrappers/deprecated-dotosg/osgFX/IO_AnisotropicLighting.cpp b/src/osgWrappers/deprecated-dotosg/osgFX/IO_AnisotropicLighting.cpp index e503ce5f57d..e7f4e3b93da 100644 --- a/src/osgWrappers/deprecated-dotosg/osgFX/IO_AnisotropicLighting.cpp +++ b/src/osgWrappers/deprecated-dotosg/osgFX/IO_AnisotropicLighting.cpp @@ -31,9 +31,9 @@ bool AnisotropicLighting_readLocalData(osg::Object &obj, osgDB::Input &fr) } if (fr[0].matchWord("lightingMapFileName") && fr[1].isString()) { - osg::Image *lmap = fr.readImage(fr[1].getStr()); + osg::ref_ptr lmap = fr.readImage(fr[1].getStr()); if (lmap) { - myobj.setLightingMap(lmap); + myobj.setLightingMap(lmap.get()); } fr += 2; itAdvanced = true; diff --git a/src/osgWrappers/deprecated-dotosg/osgTerrain/HeightFieldLayer.cpp b/src/osgWrappers/deprecated-dotosg/osgTerrain/HeightFieldLayer.cpp index 478887f63b4..abd9f4a29a4 100644 --- a/src/osgWrappers/deprecated-dotosg/osgTerrain/HeightFieldLayer.cpp +++ b/src/osgWrappers/deprecated-dotosg/osgTerrain/HeightFieldLayer.cpp @@ -38,7 +38,7 @@ bool HeightFieldLayer_readLocalData(osg::Object& obj, osgDB::Input &fr) osgTerrain::extractSetNameAndFileName(fr[1].getStr(),setname, filename); if (!filename.empty()) { - osg::ref_ptr hf = osgDB::readHeightFieldFile(filename); + osg::ref_ptr hf = osgDB::readRefHeightFieldFile(filename); if (hf.valid()) { layer.setName(setname); diff --git a/src/osgWrappers/deprecated-dotosg/osgTerrain/TerrainTile.cpp b/src/osgWrappers/deprecated-dotosg/osgTerrain/TerrainTile.cpp index e1a29a7a77c..4f2db111353 100644 --- a/src/osgWrappers/deprecated-dotosg/osgTerrain/TerrainTile.cpp +++ b/src/osgWrappers/deprecated-dotosg/osgTerrain/TerrainTile.cpp @@ -143,7 +143,7 @@ bool TerrainTile_readLocalData(osg::Object& obj, osgDB::Input &fr) if (fr.matchSequence("ProxyFile %s") || fr.matchSequence("ProxyFile %w") ) { - osg::ref_ptr image = osgDB::readObjectFile(std::string(fr[1].getStr())+".gdal"); + osg::ref_ptr image = osgDB::readRefObjectFile(std::string(fr[1].getStr())+".gdal"); osgTerrain::ProxyLayer* proxyLayer = dynamic_cast(image.get()); if (proxyLayer) { diff --git a/src/osgWrappers/serializers/osg/Camera.cpp b/src/osgWrappers/serializers/osg/Camera.cpp index 4d6ca4c3af1..1338b7388f2 100644 --- a/src/osgWrappers/serializers/osg/Camera.cpp +++ b/src/osgWrappers/serializers/osg/Camera.cpp @@ -54,12 +54,12 @@ static osg::Camera::Attachment readBufferAttachment( osgDB::InputStream& is ) else if ( type==1 ) { is >> is.PROPERTY("Image"); - attachment._image = dynamic_cast( is.readObject() ); + attachment._image = is.readObjectOfType(); } else if ( type==2 ) { is >> is.PROPERTY("Texture"); - attachment._texture = dynamic_cast( is.readObject() ); + attachment._texture = is.readObjectOfType(); is >> is.PROPERTY("Level") >> attachment._level; is >> is.PROPERTY("Face") >> attachment._face; is >> is.PROPERTY("MipMapGeneration") >> attachment._mipMapGeneration; @@ -235,15 +235,15 @@ REGISTER_OBJECT_WRAPPER( Camera, ADD_ENUM_VALUE( DISABLE_ASSOCIATED_INHERITANCE_MASK_BIT ); ADD_ENUM_VALUE( DO_NOT_MODIFY_INHERITANCE_MASK ); END_ENUM_SERIALIZER(); - + BEGIN_INT_BITFLAGS_SERIALIZER(InheritanceMask, osg::Camera::ALL_VARIABLES); ADD_BITFLAG_VALUE(COMPUTE_NEAR_FAR_MODE, osg::Camera::COMPUTE_NEAR_FAR_MODE); ADD_BITFLAG_VALUE(CULLING_MODE, osg::Camera::CULLING_MODE); ADD_BITFLAG_VALUE(LOD_SCALE, osg::Camera::LOD_SCALE); ADD_BITFLAG_VALUE(SMALL_FEATURE_CULLING_PIXEL_SIZE, osg::Camera::SMALL_FEATURE_CULLING_PIXEL_SIZE); ADD_BITFLAG_VALUE(CLAMP_PROJECTION_MATRIX_CALLBACK, osg::Camera::CLAMP_PROJECTION_MATRIX_CALLBACK); - ADD_BITFLAG_VALUE(NEAR_FAR_RATIO, osg::Camera::NEAR_FAR_RATIO); - ADD_BITFLAG_VALUE(IMPOSTOR_ACTIVE, osg::Camera::IMPOSTOR_ACTIVE); + ADD_BITFLAG_VALUE(NEAR_FAR_RATIO, osg::Camera::NEAR_FAR_RATIO); + ADD_BITFLAG_VALUE(IMPOSTOR_ACTIVE, osg::Camera::IMPOSTOR_ACTIVE); ADD_BITFLAG_VALUE(DEPTH_SORT_IMPOSTOR_SPRITES, osg::Camera::DEPTH_SORT_IMPOSTOR_SPRITES); ADD_BITFLAG_VALUE(IMPOSTOR_PIXEL_ERROR_THRESHOLD, osg::Camera::IMPOSTOR_PIXEL_ERROR_THRESHOLD); ADD_BITFLAG_VALUE(NUM_FRAMES_TO_KEEP_IMPOSTORS_SPRITES, osg::Camera::NUM_FRAMES_TO_KEEP_IMPOSTORS_SPRITES); @@ -261,8 +261,8 @@ REGISTER_OBJECT_WRAPPER( Camera, END_BITFLAGS_SERIALIZER(); //ALL_VARIABLES - + } - - + + } diff --git a/src/osgWrappers/serializers/osg/CompositeShape.cpp b/src/osgWrappers/serializers/osg/CompositeShape.cpp index 9cb3e6bb770..758b70f1202 100644 --- a/src/osgWrappers/serializers/osg/CompositeShape.cpp +++ b/src/osgWrappers/serializers/osg/CompositeShape.cpp @@ -13,7 +13,7 @@ static bool readChildren( osgDB::InputStream& is, osg::CompositeShape& shape ) unsigned int size = 0; is >> size >> is.BEGIN_BRACKET; for ( unsigned int i=0; i( is.readObject() ); + osg::ref_ptr child = is.readObjectOfType(); if ( child ) shape.addChild( child ); } is >> is.END_BRACKET; diff --git a/src/osgWrappers/serializers/osg/Geode.cpp b/src/osgWrappers/serializers/osg/Geode.cpp index e9f3c3ee999..252de6b0f12 100644 --- a/src/osgWrappers/serializers/osg/Geode.cpp +++ b/src/osgWrappers/serializers/osg/Geode.cpp @@ -15,7 +15,7 @@ static bool readDrawables( osgDB::InputStream& is, osg::Geode& node ) unsigned int size = 0; is >> size >> is.BEGIN_BRACKET; for ( unsigned int i=0; i( is.readObject() ); + osg::ref_ptr drawable = is.readObjectOfType(); if ( drawable ) { node.addDrawable( drawable ); diff --git a/src/osgWrappers/serializers/osg/HeightField.cpp b/src/osgWrappers/serializers/osg/HeightField.cpp index ce64e301e05..bc740944125 100644 --- a/src/osgWrappers/serializers/osg/HeightField.cpp +++ b/src/osgWrappers/serializers/osg/HeightField.cpp @@ -31,17 +31,18 @@ static bool checkHeights( const osg::HeightField& shape ) static bool readHeights( osgDB::InputStream& is, osg::HeightField& shape ) { - osg::FloatArray* array = dynamic_cast( is.readArray() ); - if ( array ) + osg::ref_ptr array = is.readArray(); + osg::FloatArray* farray = dynamic_cast( array.get() ); + if ( farray ) { unsigned int numCols = shape.getNumColumns(), numRows = shape.getNumRows(); - if ( array->size()size()> is.BEGIN_BRACKET; for ( unsigned int i=0; i( is.readObject() ); + osg::ref_ptr img = is.readImage(); if ( img ) image.addImage( img ); } is >> is.END_BRACKET; diff --git a/src/osgWrappers/serializers/osg/Object.cpp b/src/osgWrappers/serializers/osg/Object.cpp index d2a068807a5..ee7f2b63742 100644 --- a/src/osgWrappers/serializers/osg/Object.cpp +++ b/src/osgWrappers/serializers/osg/Object.cpp @@ -14,7 +14,7 @@ static bool checkUserData( const osg::Object& obj ) static bool readUserData( osgDB::InputStream& is, osg::Object& obj ) { is >> is.BEGIN_BRACKET; - osg::Object* object = is.readObject(); + osg::ref_ptr object = is.readObject(); if(object) obj.setUserData(object); is >> is.END_BRACKET; return true; @@ -29,7 +29,7 @@ static bool writeUserData( osgDB::OutputStream& os, const osg::Object& obj ) } REGISTER_OBJECT_WRAPPER( Object, - /*new osg::Object*/NULL, + new osg::DummyObject, osg::Object, "osg::Object" ) { diff --git a/src/osgWrappers/serializers/osg/PagedLOD.cpp b/src/osgWrappers/serializers/osg/PagedLOD.cpp index e74c9e65893..9bd8b1b734a 100644 --- a/src/osgWrappers/serializers/osg/PagedLOD.cpp +++ b/src/osgWrappers/serializers/osg/PagedLOD.cpp @@ -102,7 +102,7 @@ static bool readChildren( osgDB::InputStream& is, osg::PagedLOD& node ) is >> is.BEGIN_BRACKET; for ( unsigned int i=0; i( is.readObject() ); + osg::ref_ptr child = is.readObjectOfType(); if ( child ) node.addChild( child ); } is >> is.END_BRACKET; diff --git a/src/osgWrappers/serializers/osg/Program.cpp b/src/osgWrappers/serializers/osg/Program.cpp index d884bd98c75..d00096d5c66 100644 --- a/src/osgWrappers/serializers/osg/Program.cpp +++ b/src/osgWrappers/serializers/osg/Program.cpp @@ -58,7 +58,7 @@ static bool readShaders( osgDB::InputStream& is, osg::Program& attr ) unsigned int size = is.readSize(); is >> is.BEGIN_BRACKET; for ( unsigned int i=0; i( is.readObject() ); + osg::ref_ptr shader = is.readObjectOfType(); if ( shader ) attr.addShader( shader ); } is >> is.END_BRACKET; diff --git a/src/osgWrappers/serializers/osg/ProxyNode.cpp b/src/osgWrappers/serializers/osg/ProxyNode.cpp index 1c6542e388a..5ed6b868a78 100644 --- a/src/osgWrappers/serializers/osg/ProxyNode.cpp +++ b/src/osgWrappers/serializers/osg/ProxyNode.cpp @@ -50,7 +50,7 @@ static bool readChildren( osgDB::InputStream& is, osg::ProxyNode& node ) is >> is.BEGIN_BRACKET; for ( unsigned int i=0; i( is.readObject() ); + osg::ref_ptr child = is.readObjectOfType(); if ( child ) node.addChild( child ); } is >> is.END_BRACKET; @@ -117,7 +117,7 @@ struct ProxyNodeFinishedObjectReadCallback : public osgDB::FinishedObjectReadCal { osgDB::FilePathList& fpl = ((osgDB::ReaderWriter::Options*)is.getOptions())->getDatabasePathList(); fpl.push_front( fpl.empty() ? osgDB::getFilePath(proxyNode.getFileName(i)) : fpl.front()+'/'+ osgDB::getFilePath(proxyNode.getFileName(i))); - osg::Node* node = osgDB::readNodeFile(proxyNode.getFileName(i), is.getOptions()); + osg::ref_ptr node = osgDB::readRefNodeFile(proxyNode.getFileName(i), is.getOptions()); fpl.pop_front(); if(node) proxyNode.insertChild(i, node); diff --git a/src/osgWrappers/serializers/osg/StateSet.cpp b/src/osgWrappers/serializers/osg/StateSet.cpp index ff891b61556..8a94d187587 100644 --- a/src/osgWrappers/serializers/osg/StateSet.cpp +++ b/src/osgWrappers/serializers/osg/StateSet.cpp @@ -46,7 +46,7 @@ static void readAttributes( osgDB::InputStream& is, osg::StateSet::AttributeList is >> is.BEGIN_BRACKET; for ( unsigned int i=0; i( is.readObject() ); + osg::ref_ptr sa = is.readObjectOfType(); is >> is.PROPERTY("Value"); int value = readValue( is ); if ( sa ) @@ -144,7 +144,7 @@ static bool readAttributeList( osgDB::InputStream& is, osg::StateSet& ss ) for ( osg::StateSet::AttributeList::iterator itr=attrs.begin(); itr!=attrs.end(); ++itr ) { - ss.setAttribute( itr->second.first.get(), itr->second.second ); + ss.setAttribute( itr->second.first, itr->second.second ); } return true; } @@ -211,7 +211,7 @@ static bool readTextureAttributeList( osgDB::InputStream& is, osg::StateSet& ss for ( osg::StateSet::AttributeList::iterator itr=attrs.begin(); itr!=attrs.end(); ++itr ) { - ss.setTextureAttribute( i, itr->second.first.get(), itr->second.second ); + ss.setTextureAttribute( i, itr->second.first, itr->second.second ); } attrs.clear(); } @@ -244,7 +244,7 @@ static bool readUniformList( osgDB::InputStream& is, osg::StateSet& ss ) unsigned int size = is.readSize(); is >> is.BEGIN_BRACKET; for ( unsigned int i=0; i( is.readObject() ); + osg::ref_ptr uniform = is.readObjectOfType(); is >> is.PROPERTY("Value"); int value = readValue( is ); if ( uniform ) diff --git a/src/osgWrappers/serializers/osg/Texture2DArray.cpp b/src/osgWrappers/serializers/osg/Texture2DArray.cpp index e351aff9404..f704559df3d 100644 --- a/src/osgWrappers/serializers/osg/Texture2DArray.cpp +++ b/src/osgWrappers/serializers/osg/Texture2DArray.cpp @@ -13,7 +13,7 @@ static bool readImages( osgDB::InputStream& is, osg::Texture2DArray& tex ) unsigned int size = 0; is >> size >> is.BEGIN_BRACKET; for ( unsigned int i=0; i image = is.readImage(); if ( image ) tex.setImage( i, image ); } is >> is.END_BRACKET; diff --git a/src/osgWrappers/serializers/osg/TriangleMesh.cpp b/src/osgWrappers/serializers/osg/TriangleMesh.cpp index 7a8f21fbb03..4a5652973d1 100644 --- a/src/osgWrappers/serializers/osg/TriangleMesh.cpp +++ b/src/osgWrappers/serializers/osg/TriangleMesh.cpp @@ -8,7 +8,8 @@ return shape.get##PROP()!=NULL; \ } \ static bool read##PROP(osgDB::InputStream& is, osg::TriangleMesh& shape) { \ - shape.set##PROP( dynamic_cast(is.readArray()) ); \ + osg::ref_ptr array = is.readArray(); \ + shape.set##PROP( dynamic_cast(array.get()) ); \ return true; \ } \ static bool write##PROP(osgDB::OutputStream& os, const osg::TriangleMesh& shape) { \ diff --git a/src/osgWrappers/serializers/osg/Uniform.cpp b/src/osgWrappers/serializers/osg/Uniform.cpp index b42278b4b4e..37d531fd2fd 100644 --- a/src/osgWrappers/serializers/osg/Uniform.cpp +++ b/src/osgWrappers/serializers/osg/Uniform.cpp @@ -13,17 +13,17 @@ static bool readElements( osgDB::InputStream& is, osg::Uniform& uniform ) bool hasArray; is >> hasArray; if ( hasArray ) { - osg::Array* array = is.readArray(); + osg::ref_ptr array = is.readArray(); switch ( array->getType() ) { case osg::Array::FloatArrayType: - uniform.setArray( static_cast(array) ); break; + uniform.setArray( static_cast(array.get()) ); break; case osg::Array::DoubleArrayType: - uniform.setArray( static_cast(array) ); break; + uniform.setArray( static_cast(array.get()) ); break; case osg::Array::IntArrayType: - uniform.setArray( static_cast(array) ); break; + uniform.setArray( static_cast(array.get()) ); break; case osg::Array::UIntArrayType: - uniform.setArray( static_cast(array) ); break; + uniform.setArray( static_cast(array.get()) ); break; default: break; } } diff --git a/src/osgWrappers/serializers/osg/UserDataContainer.cpp b/src/osgWrappers/serializers/osg/UserDataContainer.cpp index 2f011c1cacf..250500f7993 100644 --- a/src/osgWrappers/serializers/osg/UserDataContainer.cpp +++ b/src/osgWrappers/serializers/osg/UserDataContainer.cpp @@ -12,7 +12,7 @@ static bool checkUDC_UserData( const osg::DefaultUserDataContainer& udc ) static bool readUDC_UserData( osgDB::InputStream& is, osg::DefaultUserDataContainer& udc ) { is >> is.BEGIN_BRACKET; - osg::Object* object = is.readObject(); + osg::ref_ptr object = is.readObject(); if(object) udc.setUserData(object); is >> is.END_BRACKET; return true; @@ -70,7 +70,7 @@ static bool readUDC_UserObjects( osgDB::InputStream& is, osg::DefaultUserDataCon unsigned int size = is.readSize(); is >> is.BEGIN_BRACKET; for( unsigned int i=0; i read_object = is.readObject(); if (read_object) udc.addUserObject( read_object ); } is >> is.END_BRACKET; diff --git a/src/osgWrappers/serializers/osgAnimation/LibraryWrapper.cpp b/src/osgWrappers/serializers/osgAnimation/LibraryWrapper.cpp index 1a793647d0b..237d17b1f16 100644 --- a/src/osgWrappers/serializers/osgAnimation/LibraryWrapper.cpp +++ b/src/osgWrappers/serializers/osgAnimation/LibraryWrapper.cpp @@ -30,7 +30,9 @@ USE_SERIALIZER_WRAPPER(osgAnimation_UpdateMorphGeometry) USE_SERIALIZER_WRAPPER(osgAnimation_UpdateRigGeometry) USE_SERIALIZER_WRAPPER(osgAnimation_UpdateFloatUniform) USE_SERIALIZER_WRAPPER(osgAnimation_UpdateMatrixfUniform) +USE_SERIALIZER_WRAPPER(osgAnimation_UpdateVec2fUniform) USE_SERIALIZER_WRAPPER(osgAnimation_UpdateVec3fUniform) +USE_SERIALIZER_WRAPPER(osgAnimation_UpdateVec4fUniform) extern "C" void wrapper_serializer_library_osgAnimation(void) {} diff --git a/src/osgWrappers/serializers/osgAnimation/UpdateMatrixTransform.cpp b/src/osgWrappers/serializers/osgAnimation/UpdateMatrixTransform.cpp index 4c78bc52e67..4e6f6c67f89 100644 --- a/src/osgWrappers/serializers/osgAnimation/UpdateMatrixTransform.cpp +++ b/src/osgWrappers/serializers/osgAnimation/UpdateMatrixTransform.cpp @@ -17,9 +17,8 @@ static bool readStackedTransforms( osgDB::InputStream& is, osgAnimation::UpdateM unsigned int size = is.readSize(); is >> is.BEGIN_BRACKET; for ( unsigned int i=0; i( is.readObject() ); - if ( element ) transform.push_back( element ); + osg::ref_ptr element = is.readObjectOfType(); + if ( element ) transform.push_back( element.get() ); } is >> is.END_BRACKET; return true; diff --git a/src/osgWrappers/serializers/osgAnimation/UpdateVec2fUniform.cpp b/src/osgWrappers/serializers/osgAnimation/UpdateVec2fUniform.cpp new file mode 100644 index 00000000000..b5ff16f7875 --- /dev/null +++ b/src/osgWrappers/serializers/osgAnimation/UpdateVec2fUniform.cpp @@ -0,0 +1,17 @@ +#undef OBJECT_CAST +#define OBJECT_CAST dynamic_cast + +#include +#include +#include +#include + +REGISTER_OBJECT_WRAPPER( osgAnimation_UpdateVec2fUniform, + new osgAnimation::UpdateVec2fUniform, + osgAnimation::UpdateVec2fUniform, + "osg::Object osg::Callback osg::UniformCallback osgAnimation::UpdateVec2fUniform" ) +{ +} + +#undef OBJECT_CAST +#define OBJECT_CAST static_cast diff --git a/src/osgWrappers/serializers/osgAnimation/UpdateVec4fUniform.cpp b/src/osgWrappers/serializers/osgAnimation/UpdateVec4fUniform.cpp new file mode 100644 index 00000000000..1e3de64d7ac --- /dev/null +++ b/src/osgWrappers/serializers/osgAnimation/UpdateVec4fUniform.cpp @@ -0,0 +1,17 @@ +#undef OBJECT_CAST +#define OBJECT_CAST dynamic_cast + +#include +#include +#include +#include + +REGISTER_OBJECT_WRAPPER( osgAnimation_UpdateVec4fUniform, + new osgAnimation::UpdateVec4fUniform, + osgAnimation::UpdateVec4fUniform, + "osg::Object osg::Callback osg::UniformCallback osgAnimation::UpdateVec4fUniform" ) +{ +} + +#undef OBJECT_CAST +#define OBJECT_CAST static_cast diff --git a/src/osgWrappers/serializers/osgFX/AnisotropicLighting.cpp b/src/osgWrappers/serializers/osgFX/AnisotropicLighting.cpp index 4fb8d2785dd..38f622c708a 100644 --- a/src/osgWrappers/serializers/osgFX/AnisotropicLighting.cpp +++ b/src/osgWrappers/serializers/osgFX/AnisotropicLighting.cpp @@ -13,7 +13,8 @@ static bool checkLightingMap( const osgFX::AnisotropicLighting& effect ) static bool readLightingMap( osgDB::InputStream& is, osgFX::AnisotropicLighting& effect ) { std::string fileName; is.readWrappedString( fileName ); - effect.setLightingMap( osgDB::readImageFile(fileName) ); + osg::ref_ptr image = osgDB::readRefImageFile(fileName, is.getOptions()); + effect.setLightingMap( image.get() ); return true; } diff --git a/src/osgWrappers/serializers/osgManipulator/CompositeDragger.cpp b/src/osgWrappers/serializers/osgManipulator/CompositeDragger.cpp index dded9d1ac77..b15883380ac 100644 --- a/src/osgWrappers/serializers/osgManipulator/CompositeDragger.cpp +++ b/src/osgWrappers/serializers/osgManipulator/CompositeDragger.cpp @@ -13,7 +13,7 @@ static bool readDraggers( osgDB::InputStream& is, osgManipulator::CompositeDragg unsigned int size = 0; is >> size >> is.BEGIN_BRACKET; for ( unsigned int i=0; i( is.readObject() ); + osg::ref_ptr child = is.readObjectOfType(); if ( child ) dragger.addDragger( child ); } is >> is.END_BRACKET; diff --git a/src/osgWrappers/serializers/osgManipulator/Dragger.cpp b/src/osgWrappers/serializers/osgManipulator/Dragger.cpp index ded8e1fa72b..d2516123922 100644 --- a/src/osgWrappers/serializers/osgManipulator/Dragger.cpp +++ b/src/osgWrappers/serializers/osgManipulator/Dragger.cpp @@ -18,8 +18,8 @@ static bool readTransformUpdating( osgDB::InputStream& is, osgManipulator::Dragg std::string name; is >> name >> is.BEGIN_BRACKET; if ( name=="DraggerTransformCallback" ) { - osg::MatrixTransform* transform = dynamic_cast( is.readObject() ); - if ( transform ) dragger.addTransformUpdating( transform ); + osg::ref_ptr transform = is.readObjectOfType(); + if ( transform ) dragger.addTransformUpdating( transform.get() ); } is >> is.END_BRACKET; } diff --git a/src/osgWrappers/serializers/osgManipulator/Scale1DDragger.cpp b/src/osgWrappers/serializers/osgManipulator/Scale1DDragger.cpp index e78aa5c9248..d7365abccf4 100644 --- a/src/osgWrappers/serializers/osgManipulator/Scale1DDragger.cpp +++ b/src/osgWrappers/serializers/osgManipulator/Scale1DDragger.cpp @@ -7,7 +7,7 @@ static bool check##PROP( const osgManipulator::Scale1DDragger& dragger ) \ { return dragger.get##PROP()!=NULL; } \ static bool read##PROP( osgDB::InputStream& is, osgManipulator::Scale1DDragger& dragger ) { \ - osg::Node* node = dynamic_cast( is.readObject() ); \ + osg::ref_ptr node = is.readObjectOfType(); \ if ( node ) dragger.set##PROP( *node ); return true; \ } \ static bool write##PROP( osgDB::OutputStream& os, const osgManipulator::Scale1DDragger& dragger ) { \ diff --git a/src/osgWrappers/serializers/osgManipulator/Scale2DDragger.cpp b/src/osgWrappers/serializers/osgManipulator/Scale2DDragger.cpp index 7a1e14c396f..fa011c8b9b5 100644 --- a/src/osgWrappers/serializers/osgManipulator/Scale2DDragger.cpp +++ b/src/osgWrappers/serializers/osgManipulator/Scale2DDragger.cpp @@ -7,7 +7,7 @@ static bool check##PROP( const osgManipulator::Scale2DDragger& dragger ) \ { return dragger.get##PROP()!=NULL; } \ static bool read##PROP( osgDB::InputStream& is, osgManipulator::Scale2DDragger& dragger ) { \ - osg::Node* node = dynamic_cast( is.readObject() ); \ + osg::ref_ptr node = is.readObjectOfType(); \ if ( node ) dragger.set##PROP( *node ); return true; \ } \ static bool write##PROP( osgDB::OutputStream& os, const osgManipulator::Scale2DDragger& dragger ) { \ diff --git a/src/osgWrappers/serializers/osgParticle/CompositePlacer.cpp b/src/osgWrappers/serializers/osgParticle/CompositePlacer.cpp index c0bd0b7f41d..2b48a88953f 100644 --- a/src/osgWrappers/serializers/osgParticle/CompositePlacer.cpp +++ b/src/osgWrappers/serializers/osgParticle/CompositePlacer.cpp @@ -13,8 +13,8 @@ static bool readPlacers( osgDB::InputStream& is, osgParticle::CompositePlacer& c unsigned int size = 0; is >> size >> is.BEGIN_BRACKET; for ( unsigned int i=0; i( is.readObject() ); - if ( p ) cp.addPlacer( p ); + osg::ref_ptr p = is.readObjectOfType(); + if ( p ) cp.addPlacer( p.get() ); } is >> is.END_BRACKET; return true; diff --git a/src/osgWrappers/serializers/osgParticle/ModularProgram.cpp b/src/osgWrappers/serializers/osgParticle/ModularProgram.cpp index d5a8d111042..3c4812934b1 100644 --- a/src/osgWrappers/serializers/osgParticle/ModularProgram.cpp +++ b/src/osgWrappers/serializers/osgParticle/ModularProgram.cpp @@ -13,8 +13,8 @@ static bool readOperators( osgDB::InputStream& is, osgParticle::ModularProgram& unsigned int size = 0; is >> size >> is.BEGIN_BRACKET; for ( unsigned int i=0; i( is.readObject() ); - if ( op ) prog.addOperator( op ); + osg::ref_ptr op = is.readObjectOfType(); + if ( op ) prog.addOperator( op.get() ); } is >> is.END_BRACKET; return true; diff --git a/src/osgWrappers/serializers/osgParticle/Particle.cpp b/src/osgWrappers/serializers/osgParticle/Particle.cpp index 91733f9fbdb..b179f76febe 100644 --- a/src/osgWrappers/serializers/osgParticle/Particle.cpp +++ b/src/osgWrappers/serializers/osgParticle/Particle.cpp @@ -35,21 +35,21 @@ bool readParticle( osgDB::InputStream& is, osgParticle::Particle& p ) if ( hasInterpolator ) { is >> is.BEGIN_BRACKET; - p.setSizeInterpolator( static_cast(is.readObject()) ); + p.setSizeInterpolator( is.readObjectOfType() ); is >> is.END_BRACKET; } is >> is.PROPERTY("AlphaInterpolator") >> hasInterpolator; if ( hasInterpolator ) { is >> is.BEGIN_BRACKET; - p.setAlphaInterpolator( static_cast(is.readObject()) ); + p.setAlphaInterpolator( is.readObjectOfType() ); is >> is.END_BRACKET; } is >> is.PROPERTY("ColorInterpolator") >> hasInterpolator; if ( hasInterpolator ) { is >> is.BEGIN_BRACKET; - p.setColorInterpolator( static_cast(is.readObject()) ); + p.setColorInterpolator( is.readObjectOfType() ); is >> is.END_BRACKET; } @@ -73,7 +73,7 @@ bool readParticle( osgDB::InputStream& is, osgParticle::Particle& p ) if ( hasObject ) { is >> is.BEGIN_BRACKET; - p.setDrawable( dynamic_cast(is.readObject()) ); + p.setDrawable( is.readObjectOfType() ); is >> is.END_BRACKET; } diff --git a/src/osgWrappers/serializers/osgParticle/ParticleEffect.cpp b/src/osgWrappers/serializers/osgParticle/ParticleEffect.cpp index 804abae6f21..e3a9d16b512 100644 --- a/src/osgWrappers/serializers/osgParticle/ParticleEffect.cpp +++ b/src/osgWrappers/serializers/osgParticle/ParticleEffect.cpp @@ -13,7 +13,8 @@ static bool readParticleSystem( osgDB::InputStream& is, osgParticle::ParticleEff { is >> is.BEGIN_BRACKET; effect.setUseLocalParticleSystem( false ); - effect.setParticleSystem( static_cast(is.readObject()) ); + osg::ref_ptr ps = is.readObjectOfType(); + effect.setParticleSystem( ps.get() ); is >> is.END_BRACKET; return true; } diff --git a/src/osgWrappers/serializers/osgParticle/ParticleSystemUpdater.cpp b/src/osgWrappers/serializers/osgParticle/ParticleSystemUpdater.cpp index 9a263e03854..04fd53dc824 100644 --- a/src/osgWrappers/serializers/osgParticle/ParticleSystemUpdater.cpp +++ b/src/osgWrappers/serializers/osgParticle/ParticleSystemUpdater.cpp @@ -13,8 +13,8 @@ static bool readParticleSystems( osgDB::InputStream& is, osgParticle::ParticleSy unsigned int size = 0; is >> size >> is.BEGIN_BRACKET; for ( unsigned int i=0; i( is.readObject() ); - if ( ps ) updater.addParticleSystem( ps ); + osg::ref_ptr ps = is.readObjectOfType(); + if ( ps ) updater.addParticleSystem( ps.get() ); } is >> is.END_BRACKET; return true; diff --git a/src/osgWrappers/serializers/osgSim/LightPointNode.cpp b/src/osgWrappers/serializers/osgSim/LightPointNode.cpp index 75f62e7d041..4c725aae6cb 100644 --- a/src/osgWrappers/serializers/osgSim/LightPointNode.cpp +++ b/src/osgWrappers/serializers/osgSim/LightPointNode.cpp @@ -26,14 +26,14 @@ static bool readLightPointList( osgDB::InputStream& is, osgSim::LightPointNode& if ( hasObject ) { is >> is.BEGIN_BRACKET; - pt._sector = dynamic_cast( is.readObject() ); + pt._sector = is.readObjectOfType(); is >> is.END_BRACKET; } hasObject = false; is >> is.PROPERTY("BlinkSequence") >> hasObject; if ( hasObject ) { is >> is.BEGIN_BRACKET; - pt._blinkSequence = dynamic_cast( is.readObject() ); + pt._blinkSequence = is.readObjectOfType(); is >> is.END_BRACKET; } is >> is.END_BRACKET; diff --git a/src/osgWrappers/serializers/osgTerrain/CompositeLayer.cpp b/src/osgWrappers/serializers/osgTerrain/CompositeLayer.cpp index efa6e2cfc39..591c3325713 100644 --- a/src/osgWrappers/serializers/osgTerrain/CompositeLayer.cpp +++ b/src/osgWrappers/serializers/osgTerrain/CompositeLayer.cpp @@ -17,7 +17,7 @@ static bool readLayers( osgDB::InputStream& is, osgTerrain::CompositeLayer& laye is >> type; if ( type=="Object" ) { - osgTerrain::Layer* child = dynamic_cast( is.readObject() ); + osg::ref_ptr child = is.readObjectOfType(); if ( child ) layer.addLayer( child ); } else if ( type=="File" ) diff --git a/src/osgWrappers/serializers/osgTerrain/TerrainTile.cpp b/src/osgWrappers/serializers/osgTerrain/TerrainTile.cpp index 2cdcacacb6e..58bc0006390 100644 --- a/src/osgWrappers/serializers/osgTerrain/TerrainTile.cpp +++ b/src/osgWrappers/serializers/osgTerrain/TerrainTile.cpp @@ -36,7 +36,7 @@ static bool readColorLayers( osgDB::InputStream& is, osgTerrain::TerrainTile& ti for ( unsigned int i=0; i> is.PROPERTY("Layer") >> layerNum; - osgTerrain::Layer* layer = dynamic_cast( is.readObject() ); + osg::ref_ptr layer = is.readObjectOfType(); if ( layer ) tile.setColorLayer( layerNum, layer ); } is >> is.END_BRACKET; diff --git a/src/osgWrappers/serializers/osgText/TextBase.cpp b/src/osgWrappers/serializers/osgText/TextBase.cpp index eb78ccac7e4..3885461e6e8 100644 --- a/src/osgWrappers/serializers/osgText/TextBase.cpp +++ b/src/osgWrappers/serializers/osgText/TextBase.cpp @@ -12,7 +12,8 @@ static bool checkFont( const osgText::TextBase& text ) static bool readFont( osgDB::InputStream& is, osgText::TextBase& text ) { std::string fontName; is.readWrappedString( fontName ); - text.setFont( osgText::readFontFile(fontName) ); + osg::ref_ptr font = osgText::readRefFontFile(fontName); + text.setFont( font ); return true; } @@ -77,11 +78,12 @@ static bool readText( osgDB::InputStream& is, osgText::TextBase& text ) } else { - osg::UIntArray* array = dynamic_cast( is.readArray() ); - if ( array ) + osg::ref_ptr array = is.readArray(); + osg::UIntArray* uiarray = dynamic_cast( array.get() ); + if ( uiarray ) { osgText::String string; - for ( osg::UIntArray::iterator itr=array->begin(); itr!=array->end(); ++itr ) + for ( osg::UIntArray::iterator itr=uiarray->begin(); itr!=uiarray->end(); ++itr ) { string.push_back( *itr ); } diff --git a/src/osgWrappers/serializers/osgVolume/CompositeLayer.cpp b/src/osgWrappers/serializers/osgVolume/CompositeLayer.cpp index f97712b2354..d6d20b805ed 100644 --- a/src/osgWrappers/serializers/osgVolume/CompositeLayer.cpp +++ b/src/osgWrappers/serializers/osgVolume/CompositeLayer.cpp @@ -13,7 +13,7 @@ static bool readLayers( osgDB::InputStream& is, osgVolume::CompositeLayer& layer unsigned int size = 0; is >> size >> is.BEGIN_BRACKET; for ( unsigned int i=0; i( is.readObject() ); + osg::ref_ptr child = is.readObjectOfType(); if ( child ) layer.addLayer( child ); } is >> is.END_BRACKET; diff --git a/src/osgWrappers/serializers/osgVolume/CompositeProperty.cpp b/src/osgWrappers/serializers/osgVolume/CompositeProperty.cpp index b61ec7ca4a5..7d5aab323ef 100644 --- a/src/osgWrappers/serializers/osgVolume/CompositeProperty.cpp +++ b/src/osgWrappers/serializers/osgVolume/CompositeProperty.cpp @@ -13,7 +13,7 @@ static bool readProperties( osgDB::InputStream& is, osgVolume::CompositeProperty unsigned int size = 0; is >> size >> is.BEGIN_BRACKET; for ( unsigned int i=0; i( is.readObject() ); + osg::ref_ptr child = is.readObjectOfType(); if ( child ) prop.addProperty( child ); } is >> is.END_BRACKET; diff --git a/src/osgWrappers/serializers/osgVolume/Locator.cpp b/src/osgWrappers/serializers/osgVolume/Locator.cpp index 1ec24b0d509..d14183ca6c9 100644 --- a/src/osgWrappers/serializers/osgVolume/Locator.cpp +++ b/src/osgWrappers/serializers/osgVolume/Locator.cpp @@ -13,8 +13,7 @@ static bool readLocatorCallbacks( osgDB::InputStream& is, osgVolume::Locator& lo unsigned int size = is.readSize(); is >> is.BEGIN_BRACKET; for ( unsigned int i=0; i( is.readObject() ); + osg::ref_ptr cb = is.readObjectOfType(); if ( cb ) locator.addCallback( cb ); } is >> is.END_BRACKET;