Mon, 28 Aug 2017 17:34:51 +0100
Checked in by : Robert Osfield
Build fix

Mon, 28 Aug 2017 16:55:52 +0100
Checked in by : Robert Osfield
Added back in 3.4.0 release entry

Mon, 28 Aug 2017 14:34:39 +0200
Checked in by : Denys Koch
Fix flawed BoundingSphere inequality operator

Mon, 28 Aug 2017 15:36:31 +0100
Checked in by : Robert Osfield
Updates for 3.4.1 stable release

Thu, 24 Aug 2017 17:49:34 +0100
Checked in by : Robert Osfield
Updated rc number to 3 or 3.4.1-rc3

Thu, 24 Aug 2017 17:45:48 +0100
Checked in by : Robert Osfield
Updated READE and ChangeLog

Wed, 23 Aug 2017 15:26:07 +0100
Checked in by : Robert Osfield
Fixed underflow issue

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.

Tue, 22 Aug 2017 12:19:40 +0100
Checked in by : Robert Osfield
Updated RC number to 2 for 3.4.1-rc2

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

Tue, 22 Aug 2017 09:05:27 +0100
Checked in by : Robert Osfield
Updated ChangeLog

Tue, 22 Aug 2017 09:04:49 +0100
Checked in by : Robert Osfield
Added catch for controbutors list

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

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.

Mon, 21 Aug 2017 15:06:31 +0100
Checked in by : Robert Osfield
Added handling of CPACK and automatically generated package files

Fri, 18 Aug 2017 16:26:12 +0100
Checked in by : Robert Osfield
Removed unneccessary DrawArrays->setCount() that was causing a crash.

Fri, 18 Aug 2017 16:11:29 +0100
Checked in by : Robert Osfield
Merged addition of "" around variablesfrom master.

Fri, 18 Aug 2017 16:01:31 +0100
Checked in by : Raymond de Vries
Fix for better picking up 3rd party dependencies

Fri, 18 Aug 2017 08:08:28 +0100
Checked in by : Robert Osfield
Fixed iterator comparison.

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

Tue, 15 Aug 2017 15:42:22 +0100
Checked in by : Uwe Woessner
Extension to the PLY plugin to read files with textures.

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

Sun, 30 Jul 2017 20:00:12 +0300
Checked in by : konstantin.matveyev
[*] osgDB::OutputStream fix

Sun, 30 Jul 2017 19:55:56 +0300
Checked in by : konstantin.matveyev
[+] Two classes added: osgAnimation::UpdateVec2fUniform, osgAnimation::UpdateVec4fUniform

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

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

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)

Sun, 30 Jul 2017 19:58:56 +0300
Checked in by : konstantin.matveyev
[*] osgViewer::GraphicsWindowIOS fixes

Mon, 31 Jul 2017 12:44:47 +0100
Checked in by : Robert Osfield
Fixed indectation

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

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

Fri, 28 Jul 2017 17:57:02 +0100
Checked in by : Robert Osfield
Updated AUTHORS and CHangeLog for 3.4.1-rc1

Fri, 28 Jul 2017 17:43:34 +0100
Checked in by : Robert Osfield
Updated 3.4 branch to 3.4.1-rc1 version

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.

This avoids the need for /FORCE:MULTIPLE linker option with MSVC.

Thu, 27 Jul 2017 10:43:33 +0100
Checked in by : Robert Osfield
Adopted FindFreetype.cmake from master

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.

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.

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.

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

Fri, 21 Jul 2017 13:12:38 +0200
Checked in by : Sebastian Messerschmidt
FIX: missing change in ENDIF

Fri, 21 Jul 2017 11:06:22 +0200
Checked in by : Sebastian Messerschmidt
FIX: <CMake> attempting to install pdb-files for static targets caused failing INSTALL

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");


Tue, 20 Jun 2017 09:35:49 +0100
Checked in by : Robert Osfield
Pulled in .gitignore from master

Tue, 16 May 2017 15:40:10 +0100
Checked in by : Robert Osfield
Backported GLES compatible shaders into ShaderGen

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

Mon, 29 May 2017 12:20:31 +0100
Checked in by : Robert Osfield
Added TimeMultiplier and LoopingMode to ImageSequence .osg serializer

Thu, 25 May 2017 13:29:42 +0100
Checked in by : Robert Osfield
Improved the DrawElements selction

Thu, 25 May 2017 10:53:00 +0100
Checked in by : Robert Osfield
Added handlng of Text with large number of characters

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.

Tue, 16 May 2017 12:32:41 +0100
Checked in by : Robert Osfield
Addded a GLES2 compatible osgmovie shader

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…

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.

Mon, 24 Apr 2017 10:38:02 +0100
Checked in by : Alexander Roan
GLExtenstions: fix checking of isFrameBufferObjectSupported flag for GLES2

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

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

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

Tue, 21 Feb 2017 21:55:05 +0100
Checked in by : Nico Kruithof
Fixed typoosg_ModeViewMatrix -> osg_ModelViewMatrix


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

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.

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

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

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.

Fri, 20 Jan 2017 17:31:09 +0000
Checked in by : Robert Osfield
Quitened down verbose debug messages

Fri, 20 Jan 2017 17:06:55 +0000
Checked in by : Robert Osfield
Quietened down some verbose debug messages

Thu, 19 Jan 2017 15:56:17 +0000
Checked in by : Robert Osfield
Fixed indentation of comment

Wed, 4 Jan 2017 12:55:15 +0000
Checked in by : Robert Osfield
Fixed unitialized variable access to premature calling of computeMatrix().

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"

Wed, 21 Dec 2016 17:02:05 +0000
Checked in by : Robert Osfield
From Torben Dannhauer, build updates for NVTT.

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

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."

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.

Without this fix, the plugin will only read one PointZ feature even if multiple features exist."


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

Mon, 31 Oct 2016 16:11:20 +0000
Checked in by : Robert Osfield
Fixed handling of #define's that are used as functions

Wed, 30 Nov 2016 17:15:06 +0000
Checked in by : Robert Osfield
Added GL_EXT_texture_border_clamp support for GLES

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.

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

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.

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

Fri, 11 Nov 2016 13:54:15 +0000
Checked in by : Robert Osfield
Fixed handling of Locator's with negative extents

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.

Wed, 12 Oct 2016 17:23:19 +0100
Checked in by : Robert Osfield
Changed appending of \n to be to the version line.

Mon, 10 Oct 2016 11:21:28 +0100
Checked in by : Robert Osfield
From Torben Dannhauer, added freetype27 (2.7) to search list

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

Thu, 6 Oct 2016 14:21:07 +0200
Checked in by : Laurens Voerman
fix bug in SmoothingVisitor tripped by bunny.ply

Thu, 22 Sep 2016 14:33:03 +0100
Checked in by : Robert Osfield
Replaced local static usage to avoid threading and mulit-context issues

Wed, 10 Aug 2016 14:12:27 +0100
Checked in by : Anish Thomas
GLSL 1.3 support for vertex-attrib aliasing

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.

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

Sun, 31 Jul 2016 14:00:30 +0100
Checked in by : Robert Osfield
Added FT_LOAD_NO_HINTING

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.


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

Sun, 19 Jun 2016 21:07:37 +0700
Checked in by : Thao Le
corrected syntax error in src/osgPlugins/fbx/ReaderWriterFBX.cpp

Fri, 10 Jun 2016 12:44:26 +0100
Checked in by : Robert Osfield
Fixed invalidated iterator bug pick up by Coverity.

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

Thu, 9 Jun 2016 14:10:02 +0100
Checked in by : Mathieu MARACHE
Build fix for VS.

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."

Thu, 9 Jun 2016 11:41:14 +0100
Checked in by : Robert Osfield
Fixed "Using invalid iterator" bug in getTile() methods, detected by Covertity.

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();

Wed, 1 Jun 2016 12:49:55 +0100
Checked in by : Robert Osfield
Fixed missing "

Wed, 1 Jun 2016 11:41:10 +0100
Checked in by : Robert Osfield
Added macosx10.11 to the list of supported OSX SDK's

Wed, 1 Jun 2016 11:25:31 +0100
Checked in by : Robert Osfield
Added in extra search paths for FBX

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

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

Tue, 12 Feb 2013 13:09:00 +0100
Checked in by : Ralf Habacker
Install msvc debug files along with the binaries

Tue, 31 May 2016 16:14:51 +0100
Checked in by : Ralf Habacker
Fixed bug not detecting unc pathes in osgDB::isAbsolutePath()

Tue, 31 May 2016 12:58:57 +0100
Checked in by : Alberto Luaces
defines for building on Hurd and BSD kernels

Tue, 31 May 2016 11:27:30 +0100
Checked in by : Pjotr Svetachov
small optimization to the osgb/t serializers.

Mon, 30 May 2016 13:43:09 +0100
Checked in by : Jannik Heller
Fixed typo of method name

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 <UA:IRM>

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."


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.


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.

Fri, 6 May 2016 19:55:04 +0100
Checked in by : Robert Osfield
Added GLES3 path for setting up with EGL

Fri, 6 May 2016 17:49:01 +0100
Checked in by : Robert Osfield
Added 3.4 press release to NEWS.txt

Wed, 27 Apr 2016 08:40:35 +0100
Checked in by : Robert Osfield
Added non const releaseGLObjects(osg::State* state) for backwards compatibility

Thu, 21 Apr 2016 14:07:22 +0100
Checked in by : Robert Osfield
Fixed copy _readBuffer bug.

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.

Thu, 14 Apr 2016 17:46:27 +0100
Checked in by : Robert Osfield
From Vladimir Chebaev, fixed handling of outline orientiation

Thu, 14 Apr 2016 17:46:27 +0100
Checked in by : Robert Osfield
From Vladimir Chebaev, fixed handling of outline orientiation

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(..)

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

Thu, 31 Mar 2016 17:52:29 +0100
Checked in by : Robert Osfield
added assignment of mipmap levels from source image.

Thu, 31 Mar 2016 17:52:29 +0100
Checked in by : Robert Osfield
From Sherman Wilcox, added assignment of mipmap levels from source image.

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 '"<<attribute->className()<<"' passed to setTextureAttributeAndModes(unit,attr,value), "<<std::endl;
            OSG_NOTICE<<"         assuming setAttributeAndModes(attr,value) instead."<<std::endl;
            OSG_NOTICE<<"         please change calling code to use appropriate call."<<std::endl;
            setAttribute(attribute,value);

As per the warning message it should be calling setAttributeAndModes(attribute,value); ."


Wed, 2 Mar 2016 09:18:26 +0000
Checked in by : Robert Osfield
From Joe Thompson, "OpenSceneGraph cannot be built with Visual Studio 2008. The file osg-OpenSceneGraph-3.4.0\include\osg\Types typedefs int8_t, int16_t, int32_t and int64_t These are typedefed as signed __intX in several other places. With VS2008, this causes an error "int8_t redifined, different basic types" Explicitly declaring them signed fixes the error."

Tue, 1 Mar 2016 20:37:07 +0000
Checked in by : Robert Osfield
Updated ChangeLog

Tue, 1 Mar 2016 20:34:18 +0000
Checked in by : Robert Osfield
Removed redundent CMake vars

Tue, 1 Mar 2016 20:24:19 +0000
Checked in by : Robert Osfield
Fixed the make tag-run and branch-run

Tue, 1 Mar 2016 19:54:36 +0000
Checked in by : Robert Osfield
Updated AUTHORS and ChangeLog

Tue, 1 Mar 2016 19:44:32 +0000
Checked in by : Robert Osfield
Refactored the make tag-test, tag-run, branch-test, branch-run and ChangeLog features of the CMakeLists build system so it now supports working off git instead of subversion

Tue, 1 Mar 2016 11:45:20 +0000
Checked in by : Robert Osfield
Within the #pragmatic shader composition code added platform specific line endings for WIN32 vs all other platforms to "\r\n" and "\n" respectively.

Mon, 29 Feb 2016 15:57:01 +0000
Checked in by : Robert Osfield
Merged improved parsing of #pragma from master.

Wed, 24 Feb 2016 16:00:12 +0000
Checked in by : Robert Osfield
Fixed debug build

Tue, 23 Feb 2016 10:12:31 +0000
Checked in by : Robert Osfield
From Jannik Heller, osgParticle freeze on cull fix, ammended by Robert Osfield to make if statements a little more readable.

Mon, 22 Feb 2016 09:19:51 +0000
Checked in by : Robert Osfield
From Anish Thomas, "Underflow bug in BufferObject pool usage"

Fri, 19 Feb 2016 15:01:27 +0000
Checked in by : Robert Osfield
From Bjorn Blissing, "I stumbled upon a strange ifdef-case inside Geometry.cppCurrently the code looks like this:

Code:
    DrawElementsUByte* elems = new DrawElementsUByte(PrimitiveSet::TRIANGLES);
    elems->push_back(0);
    elems->push_back(1);
    elems->push_back(2);

    elems->push_back(2);
    elems->push_back(3);
    elems->push_back(0);
    geom->addPrimitiveSet(elems);
    geom->addPrimitiveSet(new DrawArrays(PrimitiveSet::QUADS,0,4));

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.
"


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

To enable recent versions of the DOM to be found in their new install locations.


Thu, 18 Feb 2016 19:53:36 +0000
Checked in by : Robert Osfield
Updated the AuthenticationDetails::HttpAuthentication enum to reflect current libcurl values

Thu, 18 Feb 2016 10:57:19 +0000
Checked in by : Robert Osfield
Replaced (long int) with more portable (GLint64)

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."

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)."

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.

Wed, 17 Feb 2016 17:36:10 +0000
Checked in by : Robert Osfield
Fixed warning

Wed, 17 Feb 2016 17:08:07 +0000
Checked in by : Robert Osfield
Commented out unused functions and variable.

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.

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.


Mon, 25 Jan 2016 19:38:44 +0000
Checked in by : Robert Osfield
Added .gitignore to queiten down git status reports

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.


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."

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."

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

Thu, 21 Jan 2016 08:32:57 +0000
Checked in by : Robert Osfield
Fixed typo View::setImagePager(..) template method

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. "

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.

Tue, 19 Jan 2016 15:39:46 +0000
Checked in by : Robert Osfield
From Ravi Mathur, OSX/Clang 7.0.0 build fix

Mon, 14 Dec 2015 17:59:45 +0000
Checked in by : Robert Osfield
From Wojciech Lewandowski, Visual Studio 2008 compatibility fixTwo fixed files:

osgPlugins/osgjs/JSON_Objects
osgPlugins/stl/ReaderWriterSTL.cpp.

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 <osg/Types> header. Errors were caused by minor differences in signed int definitions. I just removed own definitions and added include<osg/Types> instead. It solves the problem and makes the code clearer now.


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


Mon, 23 Nov 2015 11:45:01 +0000
Checked in by : Robert Osfield
Added support for copying include/osgViewer/config headers on make install.

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


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


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


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


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


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


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:

    bool addChild(Node* child); // old method which can only be used with a Node*

    tempalte<class T> bool addChild(const osg::ref_ptr<T>& child) { return addChild(child.get()); } // adapter template method

These changes together cover 149 modified files, so it's a large submission. This extent of changes are warrent to make use of the Object Cache
and multi-threaded loaded more robust.



git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15165 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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


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:

    if ((copyop.getCopyFlags() & osg::CopyOp::DEEP_COPY_ARRAYS))
    {
        if (_useVertexBufferObjects)
        {
            // copying of arrays doesn't set up buffer objects so we'll need to force
            // Geometry to assign these, we'll do this by switching off VBO's then renabling them.
            setUseVertexBufferObjects(false);
            setUseVertexBufferObjects(true);
        }
    }

Toggling the vertex buffer objects off then on again actually touches not only the arrays controlled by DEEP_COPY_ARRAYS, but also the PrimitiveSets which are controlled by DEEP_COPY_PRIMITIVES. This means if the user has copyflags of only DEEP_COPY_ARRAYS, we are modifying arrays that belong to the original const Geometry& we are copying from. I believe this shouldn't be allowed to happen because we are using a const& specifier for the original Geometry.

In my case the osgUtil::IncrementalCompileOperation was trying to compile the geometry, while in the main thread a clone operation toggled the VBO's off and on, a crash ensues.

In the attached patch, you will find a more efficient handling of VBO's in the osg::Geometry copy constructor, so that only the Arrays that were actually deep copied have their VBO assigned, and no changes are made to Arrays that already had a valid VBO assigned. In addition, the DEEP_COPY_PRIMITIVES flag is now honored so that VBO's are set up correctly should a user copy a Geometry with only that flag.
"


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15128 16af8721-9629-0410-8352-f15c8da7e697


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)

This bug is present since svn rev 8663 (just before 2.6.0 release)


attached is a zip with the files:

OpenSceneGraph\include\osgDB\ImagePager



This file is valid for svn branch and stable 3.2 and 3.4
branches 2.6 - 3.0 have the same bug, but other differences in the file."


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15126 16af8721-9629-0410-8352-f15c8da7e697


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

due to different handling of the extentions in osg 3.4 and up.

attached is a zip with the files:

OpenSceneGraph\applications\osgconv\osgconv.cpp



This file is valid for svn branch and stable3.4."




git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15123 16af8721-9629-0410-8352-f15c8da7e697


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;

    dirtyDisplayList();

    if (_useVertexBufferObjects)
    {
        for(ArrayList::iterator itr = _vertexAttribList.begin();
            itr != _vertexAttribList.end();
            ++itr)
        {
if(itr->get())//ADDED
            addVertexBufferObjectIfRequired(itr->get());
        }
    }
}
"

and

"The bug i ran into is a crash reading osgt Geometry with null vertexattribs.
The only thing i added is a not nul check on array passed to setVertexAttribArrayList."




git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15122 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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.

 

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."




git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15042 16af8721-9629-0410-8352-f15c8da7e697


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


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


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.

I also needed to remove quotes from this line in order for headers to be found:

set(FREETYPE_INCLUDE_DIRS "${FREETYPE_DIR}/include
${FREETYPE_DIR}/include/freetype/config")

Assuming this script worked in the past, it seems like cmake behavior
may have changed at some point. I'm using cmake version 2.8.12.2."


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15037 16af8721-9629-0410-8352-f15c8da7e697


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.

"glxinfo | grep s3tc" gives:
    GL_S3_s3tc

Note, if I install the package "libtxc-dxtn-s2tc0", I get in addition:

glxinfo | grep s3tc
    GL_EXT_texture_compression_s3tc
    GL_S3_s3tc

However, S3TC compressed textures worked correctly within the OSG even without libtxc-dxtn-s2tc0 installed.

I'm not sure what the differences between these extensions are, but based on the description at https://www.opengl.org/registry/specs/S3/s3tc.txt I would assume that both will work for OSG's purposes. The attached patch changes isTextureCompressionS3TCSupported() to accept either extension."



git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15034 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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


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

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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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."

CMakeModules/FindGStreamer.cmake


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@14983 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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().


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@14945 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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.

This at least provides a proper error message rather than a crash, while we are working on better fixes for the problem."


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14918 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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


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

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.

"


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14908 16af8721-9629-0410-8352-f15c8da7e697


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


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."


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14905 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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


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


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


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


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


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


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


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."


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14890 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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.


Please see archive in the attachment.


PS
DEEP_COPY_UNIFORMS works for me.
"
Note from Robert Osfield, added typedef UniformCallback Callback for backwards compatibility.



git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14885 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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.

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);
                }
                ...
         }"
         


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14879 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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()))

to

Code:
if (_cameraRequiresSetUp || (_camera.valid() && _cameraAttachmentMapModifiedCount!=_camera->getAttachmentMapModifiedCount()))
"


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14873 16af8721-9629-0410-8352-f15c8da7e697


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


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.


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14871 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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.

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."



git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14854 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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.

"


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14831 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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
        };

        /** 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);



git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14811 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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


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


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


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


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


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


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


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:

osg:
Unsupported associated class osg::UpdateCallback (osg_Drawable_UpdateCallback);
ComputeBoundingBoxCallback

osgAnimation:
Unsupported wrapper class osgAnimation::RigComputeBoundingBoxCallback
"


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14795 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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

USE_SERIALIZER_WRAPPER(Callback)
"



git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14786 16af8721-9629-0410-8352-f15c8da7e697


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


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.

Tested with Visual Studio Express 2013 on 64bit windows 7"


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14782 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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"


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14776 16af8721-9629-0410-8352-f15c8da7e697


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.


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14775 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


This line of code caused that whenever only GL_COLOR_BUFFER_BIT bit was written and on value read GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT was restored instead of GL_COLOR_BUFFER_BIT only.

//GLbitfield mask = 0; //this resolves the issue same as in camera
Also same bit-wise comparison bug was also present in write method.
-------------------------------------------------------------------------------------

As you can see there are total 3 bit mask serializers in OSG and all 3 had bugs so I decided to add ADD_BITFLAGS_SERIALIZER and replace USER serializers in osg::Camera, osg::ClearNode and osgText::TextBase. I have made sure that bitflags serializer does not break backwards-compatibility since it uses same code as user serializer does in all 3 cases. (see tester.cpp on how compatibility test was performed)"



git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14752 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14747 16af8721-9629-0410-8352-f15c8da7e697


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


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."


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14744 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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).

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."



git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14720 16af8721-9629-0410-8352-f15c8da7e697


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")

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."


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14719 16af8721-9629-0410-8352-f15c8da7e697


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


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


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.


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14716 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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.


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14692 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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


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


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


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


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


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


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


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.
"

" It seems that libav does not have a channels attribute in AVFrame structure. This new version should do."


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14676 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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

  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.
"


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14654 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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


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


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


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


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.


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14640 16af8721-9629-0410-8352-f15c8da7e697


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.




git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14639 16af8721-9629-0410-8352-f15c8da7e697


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.


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14638 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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."


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14613 16af8721-9629-0410-8352-f15c8da7e697


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


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


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

  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.


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14609 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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.


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14604 16af8721-9629-0410-8352-f15c8da7e697


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


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"


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14602 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


Thu, 4 Dec 2014 16:28:32 +0000
Checked in by : Robert Osfield
Moved old GL2Extensions::Get(..) usage across to new osg::State::get<GL2Extensions>() usagegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14567 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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.


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14560 16af8721-9629-0410-8352-f15c8da7e697


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


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.


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14557 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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)

   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.
"


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14527 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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/

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.
"


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14522 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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:

    mkdir build_android_static_gles2 && cd build_android_static_gles2
    cmake .. -DANDROID_NDK=<path-to-the-android-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=<path-to-the-install-path> #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."


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14514 16af8721-9629-0410-8352-f15c8da7e697


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


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


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."


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14508 16af8721-9629-0410-8352-f15c8da7e697


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


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


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."


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14503 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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


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


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


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


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.

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/trunk@14484 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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


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


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


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


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."


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14471 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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


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


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


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.

Run osgterrain example with --shader command line option to select displacement mapping shader approach.



git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14458 16af8721-9629-0410-8352-f15c8da7e697


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


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.

One can also use the --sync command line option for application that pass on command line options to the osg::DisplaySettings::instance().


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14456 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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


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


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


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


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.


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14440 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


Mon, 25 Aug 2014 13:43:11 +0000
Checked in by : Robert Osfield
Changed StateSet::ParentList from vector<Object*> to vector<Node*> to reflect that Drawable is now a Node.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14420 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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


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


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


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).

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."



git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14407 16af8721-9629-0410-8352-f15c8da7e697


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:


Code:
fbo_ext->glBlitFramebuffer(
0, 0, static_cast<GLint>(_viewport->width()), static_cast<GLint>(_viewport->height()),
0, 0, static_cast<GLint>(_viewport->width()), static_cast<GLint>(_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<GLint>(_viewport->x()), static_cast<GLint>(_viewport->y()),
static_cast<GLint>(_viewport->width()) + static_cast<GLint>(_viewport->x()), static_cast<GLint>(_viewport->height()) + static_cast<GLint>(_viewport->y()),
static_cast<GLint>(_viewport->x()), static_cast<GLint>(_viewport->y()),
static_cast<GLint>(_viewport->width()) + static_cast<GLint>(_viewport->x()), static_cast<GLint>(_viewport->height()) + static_cast<GLint>(_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.



git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14405 16af8721-9629-0410-8352-f15c8da7e697


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."


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14403 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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.


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14396 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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.


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14377 16af8721-9629-0410-8352-f15c8da7e697


Mon, 21 Jul 2014 16:36:47 +0000
Checked in by : Robert Osfield
Centralized the calling of #include <stdint.h> and VS fallback into include/osg/Types headergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14376 16af8721-9629-0410-8352-f15c8da7e697


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


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


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=...)
==============================================================================

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.
"


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14372 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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'


attached a zipped version of include\osgViewer\ViewerEventHandlers"


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14343 16af8721-9629-0410-8352-f15c8da7e697


Tue, 1 Jul 2014 07:31:46 +0000
Checked in by : Robert Osfield
Added #include <stdint.h> 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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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"

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."



git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14300 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


Thu, 26 Jun 2014 10:05:53 +0000
Checked in by : Robert Osfield
From Laurens Voerman, "while testing databasepager stuff I noticed that the various loaders (osg/ive/osgx) do not pass the current options to the imagePager, therefore the images cannot be found if not in the global OSG_FILE_PATH. Attached is a fix, containing modified versions ofFrom Robert Osfield, add check to only apply Options object when a valid Option object is assigned.


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14290 16af8721-9629-0410-8352-f15c8da7e697


Thu, 26 Jun 2014 09:38:56 +0000
Checked in by : Robert Osfield
From Farshid Lashkari, "I've attached a small fix for the ply loader to support Windows style line endings when reading the header."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14288 16af8721-9629-0410-8352-f15c8da7e697


Thu, 26 Jun 2014 09:33:56 +0000
Checked in by : Robert Osfield
From Aurelien Albert, "This submission fix all my problems with reading / writing "osgb" files inside "osga" archive with final archive size > 2 Go, with Windows OS (didn't tested with Linux)"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14287 16af8721-9629-0410-8352-f15c8da7e697


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".

In attachment the modified file, based on osg 3.2.0
ricky


<code>
if(fileExists(simpleFileName))
{
    OSG_DEBUG << "FindFileInPath(" << filename << "): returning " <<
filename << std::endl;
    return simpleFileName;
}
</code>
"


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14285 16af8721-9629-0410-8352-f15c8da7e697


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.

I've added an option to preserve originals materials names, with the assurance of unique material names are preserved."


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14283 16af8721-9629-0410-8352-f15c8da7e697


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


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


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.


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14277 16af8721-9629-0410-8352-f15c8da7e697


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


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

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"



git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14275 16af8721-9629-0410-8352-f15c8da7e697


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."


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14273 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


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


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

Here is a fix, using "std::streampos" standard type for stream positions up to 64bits.
"


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14261 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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


Thu, 12 Jun 2014 14:05:28 +0000
Checked in by : Robert Osfield
Added frame support to ComboBox.Improved the alingment support for text


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14252 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


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


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




git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14247 16af8721-9629-0410-8352-f15c8da7e697


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


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


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


Wed, 4 Jun 2014 08:59:31 +0000
Checked in by : Robert Osfield
Updated shaders from OpenSceneGraph-Data sources

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.

Tue, 3 Jun 2014 09:52:55 +0000
Checked in by : Robert Osfield
Reverted change of Node::ParentList from being a vector<Node*> back to a vector<Group*>

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

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.

Mon, 2 Jun 2014 08:13:39 +0000
Checked in by : Robert Osfield
From Roni Zanolli, build fix for iPhone

Fri, 30 May 2014 16:44:36 +0000
Checked in by : Robert Osfield
Implemented basic frame graphic

Thu, 29 May 2014 15:21:42 +0000
Checked in by : Robert Osfield
Futher work on ComboBox/Popup

Thu, 29 May 2014 10:51:26 +0000
Checked in by : Robert Osfield
Added beginnings of ComboBox popup functionality.

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

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.

Tue, 27 May 2014 14:14:51 +0000
Checked in by : Robert Osfield
Improved handling of text

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

Mon, 26 May 2014 16:27:33 +0000
Checked in by : Robert Osfield
Implemented Widger::Visible and Enabled usage

Mon, 26 May 2014 16:15:33 +0000
Checked in by : Robert Osfield
Added Visible and Enalbed properties to Widget

Mon, 26 May 2014 16:15:12 +0000
Checked in by : Robert Osfield
Fixed missing initilaizer

Mon, 26 May 2014 15:58:18 +0000
Checked in by : Robert Osfield
Added item serializer

Fri, 23 May 2014 18:59:16 +0000
Checked in by : Robert Osfield
Implemented clipping of widget to the widgets extents.

Fri, 23 May 2014 15:00:49 +0000
Checked in by : Robert Osfield
Implemented scheme for making sure nested widgest overdraw parent widgets graphics

Fri, 23 May 2014 15:00:09 +0000
Checked in by : Robert Osfield
Added wrappers for open and close methods

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

Wed, 21 May 2014 16:15:02 +0000
Checked in by : Robert Osfield
Addd method implementation in serializers

Wed, 21 May 2014 10:17:31 +0000
Checked in by : Robert Osfield
Fixed handling of traverse

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.

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

Wed, 21 May 2014 09:06:17 +0000
Checked in by : Robert Osfield
Renamed callbacks to avoid overlap with Node callbacks

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.



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."



Tue, 20 May 2014 08:35:39 +0000
Checked in by : Robert Osfield
Improved the handling of updating of text

Tue, 20 May 2014 08:35:19 +0000
Checked in by : Robert Osfield
Added shell of Popup class

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.

Mon, 19 May 2014 10:11:50 +0000
Checked in by : Robert Osfield
Add shell of Dialog class

Mon, 19 May 2014 09:30:36 +0000
Checked in by : Robert Osfield
Added handling of up/down key to ComboBox

Fri, 16 May 2014 19:24:58 +0000
Checked in by : Robert Osfield
Added initial cut of ComboBox

Fri, 16 May 2014 10:38:40 +0000
Checked in by : Robert Osfield
Added initial shell of PushButton implementation

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

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."

Thu, 15 May 2014 14:45:28 +0000
Checked in by : Robert Osfield
From Pjotr Svetachov, build fixes for VisualStudio

Thu, 15 May 2014 13:34:50 +0000
Checked in by : Robert Osfield
Added osgGA dependency

Thu, 15 May 2014 13:22:47 +0000
Checked in by : Robert Osfield
Placed the #include<osg/Node> within #ifdef OSG_USE_BOUND to prevent unncessary inclusion of Node header when OSG_USE_BOUND is false.

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.



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

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

Wed, 14 May 2014 16:00:08 +0000
Checked in by : Robert Osfield
Cleaned up code

Wed, 14 May 2014 10:19:43 +0000
Checked in by : Robert Osfield


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.

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

- 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.
"



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.

Tue, 6 May 2014 16:38:57 +0000
Checked in by : Robert Osfield
Replaced obsolete __linux usage.

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."

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."

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"

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<unsigned>(pd->stackSize),ThreadPrivateActions::StartThread,static_cast<void *>(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<unsigned>(pd->stackSize),ThreadPrivateActions::StartThread,static_cast<void *>(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."



Thu, 1 May 2014 15:50:14 +0000
Checked in by : Robert Osfield
From Stephan Huber, fix for OSX build

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

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. "

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).

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.
"



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. :) )"

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."

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.

Files:
 - "CMakeLists.txt" is the top-level file.
 - FindGLCORE.cmake" and "OsgMacroUtils.cmake" go in CMakeModules.
"



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."

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.
"



Mon, 28 Apr 2014 11:53:58 +0000
Checked in by : Robert Osfield
Fixed type error

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."



Fri, 25 Apr 2014 08:56:53 +0000
Checked in by : Robert Osfield
Reordered the configuiration file blocks to make it more understandable

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

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."

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."

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:

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.

"



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.
"



Thu, 24 Apr 2014 10:38:58 +0000
Checked in by : Robert Osfield
Fixed reference invalidation bug.

Thu, 24 Apr 2014 07:22:55 +0000
Checked in by : Robert Osfield
Fixed typo in OPENSCENEGRAPH_OPENGL_HEADER name

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

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

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:

  ./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.




Mon, 14 Apr 2014 16:16:08 +0000
Checked in by : Robert Osfield
Fixed comment

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.

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

- FindFBX.cmake: add support for latest fbx sdk ( 2014.2 )"



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.

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

Tue, 8 Apr 2014 17:45:21 +0000
Checked in by : Robert Osfield
Updated ChangeLog and fixed Contributors list

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"



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."



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."

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."

Mon, 7 Apr 2014 15:04:34 +0000
Checked in by : Robert Osfield
Fixed build when using of double BoundingBox/BoundingSphere

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.

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."



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)).
>

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!
"



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."

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
"



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.

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.
"



Fri, 4 Apr 2014 11:25:51 +0000
Checked in by : Robert Osfield
Fixed iso surface shaders

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

Tue, 1 Apr 2014 18:33:02 +0000
Checked in by : Robert Osfield
Fixed handling of volume tiles with a region.

Thu, 27 Mar 2014 12:47:44 +0000
Checked in by : Robert Osfield
Added cube and hull rendering support

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.

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.

Mon, 17 Mar 2014 15:54:52 +0000
Checked in by : Robert Osfield
Added support for animating volume hulls.

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“

So fonts should work on iOS when loaded remotely, even when a local file is available and with the resthttp-plugin serving the presentation.
"



Thu, 13 Mar 2014 13:59:34 +0000
Checked in by : Robert Osfield
From Stephan Huber, fix for building lua plugin from local source

Thu, 13 Mar 2014 10:28:18 +0000
Checked in by : Robert Osfield
Added support for directly invoking scripts using <run-script> and <run-script-file> to enable scripts to interact with each other.

Wed, 12 Mar 2014 11:01:09 +0000
Checked in by : Robert Osfield
Improved support for passing events between scripts and Present3D application

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

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.

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.



Thu, 6 Mar 2014 10:27:26 +0000
Checked in by : Robert Osfield
Added support for osg::Image to the lua plugin.

Tue, 4 Mar 2014 13:36:13 +0000
Checked in by : Robert Osfield
Implement add, set and get methods for StateSet.

Tue, 4 Mar 2014 13:35:27 +0000
Checked in by : Robert Osfield
Relaxed the handling of Image objects

Tue, 4 Mar 2014 13:34:23 +0000
Checked in by : Robert Osfield
Fixed handling of OverrideValue

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.

Thu, 27 Feb 2014 10:02:55 +0000
Checked in by : Robert Osfield
Added MapReverseIterator implementation.

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.

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.

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.

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.

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.

Added missing properties to PrimitiveSet serializers



Thu, 13 Feb 2014 11:01:36 +0000
Checked in by : Robert Osfield
Added inital cut of PrimitiveSetSet wrappers to scripting

Wed, 12 Feb 2014 18:10:52 +0000
Checked in by : Robert Osfield
Added full range of Array subclasses to wrappers

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.

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.

Tue, 11 Feb 2014 18:07:37 +0000
Checked in by : Robert Osfield
Improved support for setting/getting properties via the osg::UserDataContainer.

Tue, 11 Feb 2014 10:56:51 +0000
Checked in by : Robert Osfield
Quitened down debug messages

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

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

Mon, 10 Feb 2014 16:44:13 +0000
Checked in by : Robert Osfield
Added support for serailizing and scripting BoundingBox and BoundingSphere objects

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.

Fixed handling of boolean values in the Lua plugin




Sat, 8 Feb 2014 10:39:20 +0000
Checked in by : Robert Osfield
Added support for enum's in the Lua script integration

Sat, 8 Feb 2014 10:38:51 +0000
Checked in by : Robert Osfield
Fixed export

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




Fri, 7 Feb 2014 10:46:16 +0000
Checked in by : Robert Osfield
Added initial Widget wrapper

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.

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

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.

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.

Wed, 5 Feb 2014 11:07:03 +0000
Checked in by : Robert Osfield
Added support for a <hull> tag that can be used within <volume> tag.

Wed, 5 Feb 2014 11:04:29 +0000
Checked in by : Robert Osfield
Improved the white space trimming

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.



Tue, 4 Feb 2014 16:46:33 +0000
Checked in by : Robert Osfield
Added test code for nesting a <hull> within a volume tag.

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

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.

Fri, 31 Jan 2014 19:18:18 +0000
Checked in by : Robert Osfield
Replaced C cast to long with a static_cast<const void*>() to avoid a build error under Mingw 64.

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.

Renamed ScriptCallback to ScriptNodeCallback to avoid possibly confusion between osg::CallbackObject and the ScriptNodeCallback.




Wed, 29 Jan 2014 11:01:24 +0000
Checked in by : Robert Osfield
Updated ChangeLog

Tue, 28 Jan 2014 16:49:20 +0000
Checked in by : Robert Osfield
From Kristofer Tingdahl, made method virtual

Tue, 28 Jan 2014 16:48:47 +0000
Checked in by : Robert Osfield
Fixed MingW build's handling of debug d postfix.

Tue, 28 Jan 2014 15:28:17 +0000
Checked in by : Robert Osfield
Removed the invocation of gcc on all platforms

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.





Mon, 27 Jan 2014 15:43:36 +0000
Checked in by : Robert Osfield
Removed unimplemented method

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

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"



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).

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."




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."

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"

Fri, 24 Jan 2014 16:24:59 +0000
Checked in by : Robert Osfield
From Torben Dannhauer, VisualStudio 2013 build fixes

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."



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."

Fri, 24 Jan 2014 15:40:18 +0000
Checked in by : Robert Osfield
Fixed warnings

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.

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.

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

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"

Thu, 23 Jan 2014 19:55:37 +0000
Checked in by : Robert Osfield
Fixed warnings

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.

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.




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.

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.
"



Thu, 23 Jan 2014 10:56:17 +0000
Checked in by : Robert Osfield
Removed debug message

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

Thu, 23 Jan 2014 10:11:15 +0000
Checked in by : Robert Osfield
Cleaned up debug message.

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.

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.

Thu, 23 Jan 2014 07:59:46 +0000
Checked in by : Robert Osfield
Added GL_TEXTURE_2D_MULTISAMPLE to texture mode list.

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.

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:

   <Slide> and <slide> will be treated the same
   <bgcolor>WHITE</bgcolor> and <bgcolor>White</bgcolor> will be treated the same
   <text alignment="TOP_LEFT"</text> and <text alignment="top left"</text>,  <text alignment="TopLeft"</text> will all be treated the same




Wed, 22 Jan 2014 11:25:54 +0000
Checked in by : Robert Osfield
Added support for sampleRatio and sampleRatioWhenMoving <volume> properties

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

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.

Tue, 21 Jan 2014 18:31:20 +0000
Checked in by : Robert Osfield
Build fixes for when ref_ptr<> has no auto type conversion

Tue, 21 Jan 2014 17:27:21 +0000
Checked in by : Robert Osfield
Fixed build error

Tue, 21 Jan 2014 17:00:56 +0000
Checked in by : Robert Osfield
Fixed build error due to typo.

Mon, 20 Jan 2014 17:23:11 +0000
Checked in by : Robert Osfield
Integrated multipass volume rendering shaders from OpenSceneGraph-Data

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.

Mon, 20 Jan 2014 16:21:24 +0000
Checked in by : Robert Osfield
Removed nolonger used code paths

Mon, 20 Jan 2014 15:54:48 +0000
Checked in by : Robert Osfield
Disable depth test for rendering of hull backface

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."

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.



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.



Fri, 17 Jan 2014 18:20:39 +0000
Checked in by : Robert Osfield
Fixed warning

Fri, 17 Jan 2014 18:20:28 +0000
Checked in by : Robert Osfield
From Stephan Huber, fix for OSX build issue

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:

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)
"



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 <osgViewer/Viewer> 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.
 "



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."

Fri, 17 Jan 2014 12:40:58 +0000
Checked in by : Robert Osfield
Fixed handling of background colours.

Thu, 16 Jan 2014 17:26:35 +0000
Checked in by : Robert Osfield
Removed old redundent TexGen usage.

Thu, 16 Jan 2014 17:17:37 +0000
Checked in by : Robert Osfield
Added hull="hul-filename" property support to <volume> tag that can used thus:        <layer>
            <volume renderer="MultiPass" hull="cow.osgt.0,-2,-4.trans.50,50,50.scale">CardiacCT</volume>
        </layer>




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

Thu, 9 Jan 2014 11:13:09 +0000
Checked in by : Robert Osfield
From Paul Martz, build fix for Windows GL3 build

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

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<>.

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."

Wed, 8 Jan 2014 10:31:36 +0000
Checked in by : Robert Osfield
Removed more odd characters

Wed, 8 Jan 2014 10:28:24 +0000
Checked in by : Robert Osfield
Removed more odd characters

Wed, 8 Jan 2014 10:24:43 +0000
Checked in by : Robert Osfield
Removed odd characters

Wed, 8 Jan 2014 10:16:39 +0000
Checked in by : Robert Osfield
Moved destructor to protected

Tue, 7 Jan 2014 19:06:44 +0000
Checked in by : Robert Osfield
Refined the GLint64 definitions

Tue, 7 Jan 2014 18:32:45 +0000
Checked in by : Robert Osfield
Removed duplicated instances of GLint64EXT declarations

Tue, 7 Jan 2014 16:43:07 +0000
Checked in by : Robert Osfield
Removed execute properties via svn propdel svn:executable file

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."

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

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."

Tue, 7 Jan 2014 11:01:32 +0000
Checked in by : Robert Osfield
Added State::getMaxTextureCoords() and State::getMaxTextureUnits() inline methods.

Mon, 6 Jan 2014 17:19:21 +0000
Checked in by : Robert Osfield
Added support for Switch::set/getValue()

Mon, 6 Jan 2014 16:58:07 +0000
Checked in by : Robert Osfield
Added Group::setChild(..) and Geode::setDrawable(..) MethodObjects

Mon, 6 Jan 2014 15:46:36 +0000
Checked in by : Robert Osfield
Removed the prototype MethodObject classes

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.

Added addChild/removeChild() etc to Group.cpp, and addDrawable/removeDrawable() etc. to Geode.cpp serializers.



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.

Fri, 3 Jan 2014 14:36:58 +0000
Checked in by : Robert Osfield
Fixed build of V8 and Python plugins

Wed, 25 Dec 2013 17:36:32 +0000
Checked in by : Robert Osfield
Preliminary support for wrapping methods in the lua script plugin.

Fri, 20 Dec 2013 09:57:35 +0000
Checked in by : Robert Osfield
Added <switch> tag to .p3d to allow one to provide multiple ways to render children within a layer.

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 <file> argument has become mandatory after the -f option.Hence, moc will complain when osg throws in a -f without anything after it. Hence I propose removing the -f on Qt5 builds. I have tested building without -f on both qt520 and qt511, and that works well.

The attached src/osgQt/CMakeLists.txt that can be patched into 3.2 safely. For the trunk, I would consider dropping the check on the version, and simply remove the option on qt5. I have tested that on qt5.1.1, and that worked fine. Question is however if it works on qt5.0. Probably it does, so the question is simplicity of CMakeList.txt vs safety."



Thu, 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.

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:

  "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.

"



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 <env> 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:

<click_to_event forward_to_devices="true">0x72</click_to_event>
"



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.
"



Thu, 19 Dec 2013 10:02:16 +0000
Checked in by : Robert Osfield
Implemented support for calling scripts from with Present3D.

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":  <volume renderer="MultiPass">MyVolumeData</volume>




Tue, 17 Dec 2013 10:52:50 +0000
Checked in by : Robert Osfield
Added experimental image 3d downsample function.

Mon, 16 Dec 2013 11:28:10 +0000
Checked in by : Robert Osfield
Removed the unused Texture::Extensions::numTextureUnits()

Fri, 13 Dec 2013 12:38:01 +0000
Checked in by : Robert Osfield
Implemented ability to switch between different shaders with new MultipassTechnique

Thu, 12 Dec 2013 09:53:24 +0000
Checked in by : Robert Osfield
Added SampleRatioWhenMoving property and support to new osgVolume::MultipassTechnique.

Thu, 12 Dec 2013 09:51:30 +0000
Checked in by : Robert Osfield
Applied unquie CullVisitor::Identifier rather than reusing the cloned one.

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

Wed, 11 Dec 2013 12:00:27 +0000
Checked in by : Robert Osfield
Added initial support for 1D transfer functions to MultipassTechnique

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.

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

Mon, 9 Dec 2013 10:39:01 +0000
Checked in by : Robert Osfield
Improvements to new MultipassTechnique

Fri, 6 Dec 2013 19:31:12 +0000
Checked in by : Robert Osfield
Further work on new MultipassTechnique/VolumeScene.

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.

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

Tue, 26 Nov 2013 10:38:35 +0000
Checked in by : Robert Osfield
Replaced readShaderFile() usage to readRefShaderFile()

Mon, 25 Nov 2013 17:36:17 +0000
Checked in by : Robert Osfield
Added initial render to texture functionality into osgVolume::VolumeScene

Fri, 22 Nov 2013 10:27:15 +0000
Checked in by : Robert Osfield
Warning fixes

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.

Fri, 22 Nov 2013 09:38:50 +0000
Checked in by : Robert Osfield
Removed trailing spaces, added missing return to last lines

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.

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"



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.

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.
"



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.

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.
"



Thu, 21 Nov 2013 11:02:08 +0000
Checked in by : Robert Osfield
Converted std::max to osg::maximum to fix VS2013 build error

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.

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
"



Mon, 18 Nov 2013 13:31:44 +0000
Checked in by : Robert Osfield
From Stephan Huber, compile fix for OpenGL ES on iOS.

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

Mon, 18 Nov 2013 12:46:00 +0000
Checked in by : Robert Osfield
Added panning and zooming functionality to transfer function UI prototype code.

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

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.




Tue, 12 Nov 2013 14:21:00 +0000
Checked in by : Robert Osfield
Restored the rescaleToZeroToOneRange() to address rendering issues.

Mon, 11 Nov 2013 10:55:51 +0000
Checked in by : Robert Osfield
Removed unused variables

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. "

Fri, 8 Nov 2013 12:26:14 +0000
Checked in by : Robert Osfield
Added support for assinging and display transfer functions

Fri, 8 Nov 2013 12:25:35 +0000
Checked in by : Robert Osfield
Quietened down debug messages

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.

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

Wed, 6 Nov 2013 09:50:16 +0000
Checked in by : Robert Osfield
Re-enabled the disable of the transfer function

Wed, 6 Nov 2013 09:49:51 +0000
Checked in by : Robert Osfield
Fixed handling of web cams

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

Wed, 6 Nov 2013 09:20:35 +0000
Checked in by : Robert Osfield
Restructed the call to avformat_open_input to provide more information.

Tue, 5 Nov 2013 15:23:32 +0000
Checked in by : Robert Osfield
Fixed typo

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."

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.

Mon, 28 Oct 2013 12:03:55 +0000
Checked in by : Robert Osfield
From Likasz Izebski, "added support for etc2/eac compression"

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.

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.



Fri, 25 Oct 2013 14:46:37 +0000
Checked in by : Robert Osfield
Remoed -fpermissive

Fri, 25 Oct 2013 09:02:39 +0000
Checked in by : Robert Osfield
Fixed warning

Thu, 24 Oct 2013 20:22:13 +0000
Checked in by : Robert Osfield
Fixed warning

Thu, 24 Oct 2013 19:56:04 +0000
Checked in by : Robert Osfield
Removed depreated glib call

Thu, 24 Oct 2013 19:32:00 +0000
Checked in by : Robert Osfield
Fixed FileInfo self intialization bug

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

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)"

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.

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

Wed, 23 Oct 2013 16:17:26 +0000
Checked in by : Robert Osfield
Added support for Group::addChild/setChild/getChild/getNumChildren.

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.

Added assignment of the DisplaySettings to the WindowSystemInterface in Viewer/ComppsiteViewer::realize().



Tue, 22 Oct 2013 18:58:15 +0000
Checked in by : Robert Osfield
Preliminary remapping of internalFormat for GL3 core profile

Tue, 22 Oct 2013 16:28:20 +0000
Checked in by : Robert Osfield
Fixed warnings

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."



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."



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

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

Mon, 21 Oct 2013 09:54:41 +0000
Checked in by : Robert Osfield
Build fixes for clang

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."

Fri, 18 Oct 2013 08:37:18 +0000
Checked in by : Robert Osfield
From Vladimir Chebeav, fix for removal of nested callbacks

Fri, 18 Oct 2013 07:55:26 +0000
Checked in by : Robert Osfield
From  Konstantin Matveyev, "Multiple light fix in FBX-importer"

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."

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."

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.

Thu, 17 Oct 2013 14:02:15 +0000
Checked in by : Robert Osfield
From Stephan Huber, build fix

Thu, 10 Oct 2013 20:43:03 +0000
Checked in by : Robert Osfield
Added set/get to the ImageSerializer and removed some redudent comments

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."

Thu, 10 Oct 2013 14:45:57 +0000
Checked in by : Robert Osfield
From Laurens Voerman, compile fix for VisualStudio

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."

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.

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.

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“
"



Mon, 7 Oct 2013 09:33:46 +0000
Checked in by : Robert Osfield
Cleaned up line endings

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.

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()

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.

Fri, 4 Oct 2013 16:29:45 +0000
Checked in by : Robert Osfield
Added createObject() interface

Fri, 4 Oct 2013 16:28:49 +0000
Checked in by : Robert Osfield
Updated version number after 3.3.0 dev release

Thu, 3 Oct 2013 16:20:29 +0000
Checked in by : Robert Osfield
Fixed errors in Contributors list

Thu, 3 Oct 2013 08:45:57 +0000
Checked in by : Robert Osfield
From Jan Peciva, RayIntersector implementation

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.

I've modified the ObjectWrapper class to defer the prototype object
creation until if & when actually required."



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."



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

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);
                 }

                 geom->setNormalArray(perVertexNormals.get(),
osg::Array::BIND_PER_VERTEX);
"



Tue, 1 Oct 2013 19:34:21 +0000
Checked in by : Robert Osfield
Fixed build with no automatic ref_ptr<> conversion

Tue, 1 Oct 2013 19:31:48 +0000
Checked in by : Robert Osfield
Updated AUTHORS files

Tue, 1 Oct 2013 19:00:02 +0000
Checked in by : Robert Osfield
Updated ChangeLog in prep for dev release

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.

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."



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."

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:

«
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<Stuff,OtherStuff> 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.
»
"



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).

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)."



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."



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

Finally in OSXAvFoundationCoreVideoTexture.cpp the include OSXAVFoundationVideo.H was updated to OSXAVFoundationVideo.h"



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."

Mon, 30 Sep 2013 10:28:14 +0000
Checked in by : Robert Osfield


Fri, 27 Sep 2013 18:43:35 +0000
Checked in by : Robert Osfield
Unified Vec/Plane/Quat handling code.

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.

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

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.



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

Tue, 24 Sep 2013 08:56:47 +0000
Checked in by : Robert Osfield
Removed redundent spaces

Mon, 23 Sep 2013 14:10:36 +0000
Checked in by : Robert Osfield
Added test for osgGA::GUIEventAdapter

Fri, 20 Sep 2013 15:43:24 +0000
Checked in by : Robert Osfield
Removed unnceccesary setNumChildrenRequiringUpdateTraversal from VolumeTile constructor.

Fri, 20 Sep 2013 10:44:24 +0000
Checked in by : Robert Osfield
Added initial cut of white and black lists

Fri, 20 Sep 2013 10:25:23 +0000
Checked in by : Robert Osfield
Added compoundClassName() convinience method to standardize the generation of the compoundClassName.

Fri, 20 Sep 2013 10:04:50 +0000
Checked in by : Robert Osfield
Added type maps to help with querrying supported type names

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.

Thu, 19 Sep 2013 16:18:20 +0000
Checked in by : Robert Osfield
Removed unneccessary return

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



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]
"



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".

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

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"



Mon, 9 Sep 2013 14:58:25 +0000
Checked in by : Robert Osfield
From Colin Cochran, OES support for point sprites

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. "

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"

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."

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

2> Added header files to "Plugins osg" project, so visual studio can find the source of
   OSG_WARN <<  "AsciiInputIterator::readProperty(): Unmatched property "
"




Fri, 6 Sep 2013 09:35:56 +0000
Checked in by : Robert Osfield
Initial cut of Audio/Volume/Movie/Image presentation objects

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.

In osg/Uniform.cpp the compiler complains that base_class is unknown
unless I add a class name qualifier.

Not a build fix, but I spotted a typo in osgUtil/SceneView."



Thu, 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."

Thu, 5 Sep 2013 10:04:56 +0000
Checked in by : Robert Osfield
Fixed warnings

Thu, 5 Sep 2013 08:42:00 +0000
Checked in by : Robert Osfield
From Alberto Luaces, "current versions of ffmpeg render «url_feof» macro as obsolete.  The fix is very simple and it is contained in the attached file."

Thu, 5 Sep 2013 08:22:27 +0000
Checked in by : Robert Osfield
Added missing Model.cpp

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

Wed, 4 Sep 2013 16:25:18 +0000
Checked in by : Robert Osfield
Added PrintProperties visitor

Wed, 4 Sep 2013 15:39:17 +0000
Checked in by : Robert Osfield
Added PrintPropertiesAction to osgPresentation

Wed, 4 Sep 2013 10:33:11 +0000
Checked in by : Robert Osfield
Added Action class NodeVisitor that supports osgPresentation nodes.

Tue, 3 Sep 2013 15:50:28 +0000
Checked in by : Robert Osfield
Added test for osgPresentatation::Group::getSupportedProperties()

Tue, 3 Sep 2013 10:17:06 +0000
Checked in by : Robert Osfield
Added beginings of Text implementation

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."

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.

Mon, 2 Sep 2013 09:12:24 +0000
Checked in by : Robert Osfield
Fixed double copy in StackedTransform copy constructor

Mon, 2 Sep 2013 08:29:09 +0000
Checked in by : Robert Osfield
Added IO test for new osgPresentation nodes

Sun, 1 Sep 2013 17:24:35 +0000
Checked in by : Robert Osfield
Added Audio, Image, Movie, Model and Volume class to osgPresentation.

Fri, 23 Aug 2013 16:47:27 +0000
Checked in by : Robert Osfield
Fixed build

Fri, 23 Aug 2013 11:42:52 +0000
Checked in by : Robert Osfield
Added color property to FontData parsing

Thu, 22 Aug 2013 13:39:36 +0000
Checked in by : Robert Osfield
Quitened down debug message

Thu, 22 Aug 2013 12:37:49 +0000
Checked in by : Robert Osfield
Removed debug messages

Thu, 22 Aug 2013 12:07:55 +0000
Checked in by : Robert Osfield
Quitened down debug message

Thu, 22 Aug 2013 11:18:45 +0000
Checked in by : Robert Osfield
Quitened down debug message

Thu, 22 Aug 2013 10:09:21 +0000
Checked in by : Robert Osfield
Added warning when model file has not be found

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

Thu, 22 Aug 2013 07:49:22 +0000
Checked in by : Robert Osfield
Added test for serializers and fixed serializers

Wed, 21 Aug 2013 19:54:03 +0000
Checked in by : Robert Osfield
Added initial classes for present3D refactor

Sun, 18 Aug 2013 18:10:39 +0000
Checked in by : Robert Osfield
Moved old osgPresentation source files to osgPresentation/deprecated subdirectory.

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

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.



Fri, 9 Aug 2013 11:00:55 +0000
Checked in by : Robert Osfield
Removed CameraNode reference

Fri, 9 Aug 2013 07:46:22 +0000
Checked in by : Robert Osfield
Removed unused includes

Fri, 9 Aug 2013 07:38:32 +0000
Checked in by : Robert Osfield
Removed old cursor code

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

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

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.



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."



Thu, 1 Aug 2013 17:38:34 +0000
Checked in by : Robert Osfield
Added missing initializer for _epsilon

Thu, 1 Aug 2013 11:25:02 +0000
Checked in by : Robert Osfield
From Anish Thomas, added catch for to an empty DrawElementsUInt creation.

Thu, 1 Aug 2013 10:38:02 +0000
Checked in by : Robert Osfield
Updated ChangeLog and AUTHORS file

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."

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


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."




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)."

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.

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

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"

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."

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.

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.

Tue, 30 Jul 2013 06:36:49 +0000
Checked in by : Robert Osfield
Removed trailing spaces

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

Wed, 24 Jul 2013 17:30:46 +0000
Checked in by : Robert Osfield
Changed default of serialize draw to off

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.

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

Wed, 24 Jul 2013 12:51:13 +0000
Checked in by : Robert Osfield
Updated NEWS from OSG-3.2 branch

Wed, 24 Jul 2013 12:48:59 +0000
Checked in by : Robert Osfield
Fixed warning

Wed, 24 Jul 2013 12:25:18 +0000
Checked in by : Robert Osfield
Updated SO version for post 3.2 era.

Wed, 24 Jul 2013 12:17:06 +0000
Checked in by : Robert Osfield
Added getCallbacks() methods

Tue, 23 Jul 2013 18:11:35 +0000
Checked in by : Robert Osfield
From Rocco Martino, build fix for compiling against ffmpeg/trunk

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

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(..)

Tue, 23 Jul 2013 09:54:25 +0000
Checked in by : Robert Osfield
Fixed crash when open(..) returns an error.

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).
"




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."

Mon, 22 Jul 2013 10:15:59 +0000
Checked in by : Robert Osfield
Added FRAME_BUFFER_OBJECT enum

Mon, 22 Jul 2013 10:15:44 +0000
Checked in by : Robert Osfield
Updated OpenThreads version

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

"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."




Fri, 19 Jul 2013 20:59:09 +0000
Checked in by : Robert Osfield
Added default setting of BIND_PER_VERTEX when applying Geometry::setTexCoordArray()

Fri, 19 Jul 2013 17:00:24 +0000
Checked in by : Robert Osfield
Updated OpenThreads version to be in sync with OSG version

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

Fri, 19 Jul 2013 14:07:17 +0000
Checked in by : Robert Osfield
Updated AUTHORS file for new 3.2 branch

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

Fri, 19 Jul 2013 10:31:45 +0000
Checked in by : Robert Osfield
Update ChangeLog and AUTHORS files for 3.1.10 dev release

Fri, 19 Jul 2013 10:17:26 +0000
Checked in by : Robert Osfield
Updater version for 3.1.10 dev release

Fri, 19 Jul 2013 10:11:42 +0000
Checked in by : Robert Osfield
Removed #if 0 #endif block

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.

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."

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."

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()





Thu, 18 Jul 2013 20:17:48 +0000
Checked in by : Robert Osfield
Added a dirty() call to Image::setData(..)

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.

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.
"



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."

Tue, 2 Jul 2013 19:24:10 +0000
Checked in by : Robert Osfield
Updated AUTHORS and ChangeLog for 3.1.9 dev release

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."

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)

modified file (OpenSceneGraph\src\osgPlugins\ive\Geometry.cpp) attached  in Zip"



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

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)"



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.

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.

Here is a modified version of this class, which add some "virtual" method to allow easy subclassing."



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."

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.




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."



Mon, 1 Jul 2013 12:16:32 +0000
Checked in by : Robert Osfield
Updated AUTHORS, ChangeLog for dev release

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.

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."



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"

Mon, 1 Jul 2013 09:09:49 +0000
Checked in by : Robert Osfield
Fixed debug build compile problem

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.

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. "

Fri, 28 Jun 2013 14:47:02 +0000
Checked in by : Robert Osfield
From Alberto Luaces, "Documentation for -p and --speed options in osgviewer"

Fri, 28 Jun 2013 14:38:45 +0000
Checked in by : Robert Osfield
From Marcel Pursche, fixed checking of destination dimensions in osg::copyImage.

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());
}

if (in->getVersion() >= VERSION_0045)
{
   setLoadExternalReferenceFiles( (osg::ProxyNode::LoadingExternalReferenceMode)in->readInt() );
}
"



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"

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)

adding a space before /* fixes the problem
        void removeClient(osg::Object * /*client*/) { --_numClients; }
"



Fri, 28 Jun 2013 14:07:31 +0000
Checked in by : Robert Osfield
Fixed handling of DISPLAY=127.0.0.1:2 usage.

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 :

- 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.
"




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.

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.

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.
"



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);

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

Fri, 28 Jun 2013 08:11:46 +0000
Checked in by : Robert Osfield


Thu, 27 Jun 2013 17:37:03 +0000
Checked in by : Robert Osfield
From David Callu, "Added Vec3ub, Vec3us, Vec4us, Vec2ub and Vec2us classes"

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
"



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.

Thu, 27 Jun 2013 14:46:16 +0000
Checked in by : Robert Osfield
Replaced deprecatated osg::Geometry::get*Binding() calls.

Thu, 27 Jun 2013 13:37:26 +0000
Checked in by : Robert Osfield
Added Geometry::containsDeprecatedData() / fixDeprecatedData()

Thu, 27 Jun 2013 10:58:26 +0000
Checked in by : Robert Osfield
Removed deprecated usage of osg::Geometry::get*Binding()

Thu, 27 Jun 2013 09:59:33 +0000
Checked in by : Robert Osfield
Replaced deprecated osg::Geometry::set*Binding() usage.

Thu, 27 Jun 2013 09:54:45 +0000
Checked in by : Robert Osfield
Replaced deprecated osg::Geometry::set*Binding() usage

Thu, 27 Jun 2013 09:54:12 +0000
Checked in by : Robert Osfield
Replaced deprecated osg::Geometry::set*Binding() usage.

Thu, 27 Jun 2013 08:44:15 +0000
Checked in by : Robert Osfield
Replaced deprecated osg::Geometry::set*Binding() usage

Thu, 27 Jun 2013 08:30:51 +0000
Checked in by : Robert Osfield
Replaced deprecated Geometry::set*Binding()

Wed, 26 Jun 2013 18:06:09 +0000
Checked in by : Robert Osfield
Replaced deprecated Geometry::set*Binding() usage

Wed, 26 Jun 2013 17:58:57 +0000
Checked in by : Robert Osfield
Removed deprecated Geometry::set*Binding() usage

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.

Wed, 26 Jun 2013 17:45:19 +0000
Checked in by : Robert Osfield
Replaced deprecated osg::Geometry::set*Binding() usage

Wed, 26 Jun 2013 17:44:30 +0000
Checked in by : Robert Osfield
Replaced deprecated osg::Geometry::set*Binding() calls.

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."

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.

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)"



Wed, 26 Jun 2013 12:59:40 +0000
Checked in by : Robert Osfield
Removed unused methods

Wed, 26 Jun 2013 12:33:40 +0000
Checked in by : Robert Osfield
Removed spaces from end of line

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

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."





Wed, 26 Jun 2013 08:53:56 +0000
Checked in by : Robert Osfield
Removed Geometry::fixDeprecatedData() as it won't work on const Geometry

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."

Tue, 25 Jun 2013 16:19:00 +0000
Checked in by : Robert Osfield
Removed #include<osg/Notify> as it's nolonger required in the header

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.

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:

- 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.





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."




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"

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."



Mon, 24 Jun 2013 12:30:08 +0000
Checked in by : Robert Osfield
Updatd SO_VERSION to reflect changes in ABI from merging submissions.

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 <osg/Notify>" inside the "osg" namespace, in inlude/osg/Geometry. "

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."



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."

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."



Mon, 24 Jun 2013 11:03:59 +0000
Checked in by : Robert Osfield
Convert usage to use const versions of containers

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)

See https://github.com/openscenegraph/osg/pull/8 for patch details
Patch: https://github.com/openscenegraph/osg/pull/8/files"



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. "

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."

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;

         // 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!"



Mon, 24 Jun 2013 09:02:32 +0000
Checked in by : Robert Osfield
Introduced typedef's to make the code more readble and maintanable

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 {

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."



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."



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.

"



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."

Fri, 21 Jun 2013 19:35:56 +0000
Checked in by : Robert Osfield
Updated version number after dev release

Fri, 21 Jun 2013 19:35:26 +0000
Checked in by : Robert Osfield
Removed spaces from end of lines

Fri, 21 Jun 2013 14:37:35 +0000
Checked in by : Robert Osfield
Fixed author name error introduced by xxdiff

Fri, 21 Jun 2013 14:30:45 +0000
Checked in by : Robert Osfield
Reapplied AUTHORS changes

Fri, 21 Jun 2013 14:29:00 +0000
Checked in by : Robert Osfield
Update ChangeLog and AUTHORS.txt for release

Fri, 21 Jun 2013 14:17:42 +0000
Checked in by : Robert Osfield
Removed unneccessary handling of BIND_PER_PRIMITIVE on output code

Fri, 21 Jun 2013 13:59:18 +0000
Checked in by : Robert Osfield
From Pjotr Svetachov, introduced use of osg::observer_ptr<osg::Camera> in place of osg::Camera*

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."

Fri, 21 Jun 2013 12:10:44 +0000
Checked in by : Robert Osfield
From Laurens Voerman, build fix

Fri, 21 Jun 2013 10:59:03 +0000
Checked in by : Robert Osfield
Build fixes for new osg::Geometry

Fri, 21 Jun 2013 10:14:18 +0000
Checked in by : Robert Osfield
Converted osg::Geometry::ArrayData usage across to osg::Array.

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."

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.

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

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)

Fri, 21 Jun 2013 09:40:43 +0000
Checked in by : Robert Osfield
Removed spaces at ends of lines

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.

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."




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."

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."

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."

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.

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

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()

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."

Thu, 20 Jun 2013 10:59:00 +0000
Checked in by : Robert Osfield
Commented out verbose debug messages for shader composition

Thu, 20 Jun 2013 10:42:24 +0000
Checked in by : Robert Osfield
Updated ChangeLog and AUTHORS file

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.

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."



Thu, 20 Jun 2013 09:30:31 +0000
Checked in by : Robert Osfield
From Jan Ciger, compilation fix for Qt 5.0.2

Thu, 20 Jun 2013 09:27:50 +0000
Checked in by : Robert Osfield
From Laurens Voerman, build fix for VS.

Wed, 19 Jun 2013 17:28:28 +0000
Checked in by : Robert Osfield
Removed svn:executable property.

Wed, 19 Jun 2013 17:26:59 +0000
Checked in by : Robert Osfield
Removed svn:executable property

Wed, 19 Jun 2013 17:25:55 +0000
Checked in by : Robert Osfield
Removed svn:executable property.

Wed, 19 Jun 2013 16:24:59 +0000
Checked in by : Robert Osfield
Cleaned up usage of BIND_PER_PRIMITIVE where possible.

Wed, 19 Jun 2013 12:32:40 +0000
Checked in by : Robert Osfield
From Magnus Kessler, typo fixes to doxygen docs and comments

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(-)

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"



Wed, 19 Jun 2013 12:27:28 +0000
Checked in by : Robert Osfield
Converted tabs to four spaces

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 <QtGui/qopengles2ext.h>
# 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 "



Wed, 19 Jun 2013 10:56:31 +0000
Checked in by : Robert Osfield
Build fixes for new deprecated osg::Geometry functions

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.

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

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.

Tue, 18 Jun 2013 15:54:38 +0000
Checked in by : Robert Osfield
Removed BIND_PER_PRIMITIVE reference

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

Tue, 18 Jun 2013 14:52:26 +0000
Checked in by : Robert Osfield
Changed header guard back to original, and removed deprecated enum

Tue, 18 Jun 2013 14:22:43 +0000
Checked in by : Robert Osfield
Fixed order of binding.

Tue, 18 Jun 2013 11:49:03 +0000
Checked in by : Robert Osfield
Removed experiment GeometryNew as it's no longer required.

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.



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

Wed, 12 Jun 2013 12:49:18 +0000
Checked in by : Robert Osfield
From Martin Naylor, replace osgDB::fstream with an osgDB::open() call.

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.

Tue, 11 Jun 2013 10:49:57 +0000
Checked in by : Robert Osfield
Fixed indentation

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

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

Mon, 10 Jun 2013 10:37:08 +0000
Checked in by : Robert Osfield
Fixed remove and add callback so they properly handle nested callbacks

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);"



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."

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.

Wed, 5 Jun 2013 07:55:05 +0000
Checked in by : Robert Osfield
Reorder member variables to ensure better packing in memory.

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



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.

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.

Tue, 4 Jun 2013 14:43:19 +0000
Checked in by : Robert Osfield
Removed now redundent osggeodemo

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.

Tue, 4 Jun 2013 10:06:19 +0000
Checked in by : Robert Osfield
Cleaned up BIND_PER_PRIMITIVE and array indice usage

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.

Tue, 4 Jun 2013 09:29:37 +0000
Checked in by : Robert Osfield
Removed deprecated usage of osg::Geometry indices and BIND_PER_PRIMITIVE

Mon, 3 Jun 2013 15:10:53 +0000
Checked in by : Robert Osfield
From Aurelien Albert, Added support for texture swizzle.

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

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."

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."

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 "

Mon, 3 Jun 2013 13:13:18 +0000
Checked in by : Robert Osfield
Added Vec*b, Vec4ub, Vec*s, Vec*i, Vec*ui serializers

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

Mon, 3 Jun 2013 11:38:20 +0000
Checked in by : Robert Osfield
From Art Tevs, int and uint Vec classes

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."

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

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)
"



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'. "

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."

Tue, 28 May 2013 19:16:59 +0000
Checked in by : Robert Osfield
Renamed PanoramicSphericalDisplay.cpp to fix a typo

Tue, 28 May 2013 16:39:48 +0000
Checked in by : Robert Osfield
Updated ChangeLog and Contributors list

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

This seems to indicate that the check for alpha should be against the opacity map. I've attached the updated file.

"



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)."

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.





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.

Tue, 28 May 2013 14:40:36 +0000
Checked in by : Robert Osfield
Fixed date typo

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.

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."



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.

Tue, 28 May 2013 11:47:08 +0000
Checked in by : Robert Osfield
From Sukender, "Added ".dds" file deletion on writing failure."

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."

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."

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.




Tue, 28 May 2013 10:46:47 +0000
Checked in by : Robert Osfield
Fixed the computation of the spot light direction.

Tue, 28 May 2013 09:20:48 +0000
Checked in by : Robert Osfield
Fixed View::setUpViewInWindow() parameter

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

Mon, 27 May 2013 09:10:18 +0000
Checked in by : Robert Osfield
Updated AUTHORS file

Mon, 27 May 2013 09:07:53 +0000
Checked in by : Robert Osfield
Updated AUTHORS file

Mon, 27 May 2013 09:05:14 +0000
Checked in by : Robert Osfield
Updated ChangeLog and AUTHORS file

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

Shoudlnt that be GL_RGBA32F_ARB as defined in texture header?

Attached is the easy fix :)."



Mon, 27 May 2013 08:10:42 +0000
Checked in by : Robert Osfield
Moved quad buffer definitions into include/osg/Camera

Sun, 26 May 2013 10:44:11 +0000
Checked in by : Robert Osfield
Updated AUTHORS file

Sun, 26 May 2013 10:27:07 +0000
Checked in by : Robert Osfield
Updated ChangeLog

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."

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.

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. "

Fri, 24 May 2013 09:43:08 +0000
Checked in by : Robert Osfield
Removed redudent code

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



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.

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.

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."

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.

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.

Wed, 22 May 2013 15:48:42 +0000
Checked in by : Robert Osfield
Quitened down debug messages

Wed, 22 May 2013 13:16:44 +0000
Checked in by : Robert Osfield
Removed debug messages

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.

Attached is a fix for src/osgPlugins/vnc/CMakeLists.txt"



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."

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."




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. "

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

    /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"



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."



Tue, 21 May 2013 10:22:54 +0000
Checked in by : Robert Osfield
From Valeriy Dubov, fix for Android build under OSX

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."

Tue, 21 May 2013 09:44:26 +0000
Checked in by : Robert Osfield
Added use of SingleWindow for when only one screen is used

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.

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

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

Thu, 16 May 2013 15:52:29 +0000
Checked in by : Robert Osfield
Added support for setting the left/right cull masks

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

Thu, 16 May 2013 14:11:23 +0000
Checked in by : Robert Osfield
Fixed stereo offsets of HORIZONTAL_SPLIT and VERTICAL_SPLIT stereo modes

Thu, 16 May 2013 14:07:35 +0000
Checked in by : Robert Osfield
Reverted back to changes before experiements with ViewConfig

Thu, 16 May 2013 10:28:01 +0000
Checked in by : Robert Osfield
Cleaned up the WoWVxDisplay command line parsing

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.

Thu, 16 May 2013 09:08:27 +0000
Checked in by : Robert Osfield
Added WoWVxDisplay view config

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.

Wed, 15 May 2013 12:50:38 +0000
Checked in by : Robert Osfield
Added support for osgViewer::Config in osgViewer::Viewer command line parsing

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

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";

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.

"



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)."

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."

Tue, 14 May 2013 16:12:21 +0000
Checked in by : Robert Osfield
From Ulrich Hertlein, "Attached is a patch that introduces 'static_cast<unsigned int>' on some instances where the code returns '.size()' of a std::vector.  This caused some warnings when using clang++ on OS X."

Tue, 14 May 2013 13:35:10 +0000
Checked in by : Robert Osfield
Updated ChangeLog

Tue, 14 May 2013 13:34:54 +0000
Checked in by : Robert Osfield
Updated version after dev release

Mon, 13 May 2013 13:12:13 +0000
Checked in by : Robert Osfield
Added OSGUTIL_EXPORT for Windows build

Mon, 13 May 2013 12:08:05 +0000
Checked in by : Robert Osfield
Updated version number for dev release

Mon, 13 May 2013 11:59:34 +0000
Checked in by : Robert Osfield
Updated ChangeLog for dev release

Mon, 13 May 2013 11:51:44 +0000
Checked in by : Robert Osfield
Updated links to svn repository

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<>

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.

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.

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.

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

Fri, 10 May 2013 16:06:10 +0000
Checked in by : Robert Osfield
Added keystone file handling

Fri, 10 May 2013 11:56:09 +0000
Checked in by : Robert Osfield
Added --keystone <filename> command line support into DisplaySettings, and added OSG_KEYSTONE_FILES env var support into osg::DisplaySettings.

Fri, 10 May 2013 10:00:38 +0000
Checked in by : Robert Osfield
Moved Keystone support from osgkeystone example into osgViewer::View

Thu, 9 May 2013 15:18:14 +0000
Checked in by : Robert Osfield
Moved Keystone class into osgViewer library.

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

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

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

Fri, 3 May 2013 20:12:15 +0000
Checked in by : Robert Osfield
Commented out debug output

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.

Fri, 26 Apr 2013 10:00:16 +0000
Checked in by : Robert Osfield
As a test of new repository updated date in README.txt

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

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

Wed, 17 Apr 2013 11:04:12 +0000
Checked in by : Robert Osfield
Implemented initial cut of anaglyphic stereo

Tue, 16 Apr 2013 09:26:40 +0000
Checked in by : Robert Osfield
Changed point to osg::ref_ptr<> to prevent memory leaks.

Mon, 15 Apr 2013 14:21:32 +0000
Checked in by : Robert Osfield
Preperation for adding stereo support direclty into osgViewer.

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.

Fri, 12 Apr 2013 09:05:11 +0000
Checked in by : Robert Osfield
Moved keystone event handler onto the keystone distortion Camera.

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.

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.

Thu, 11 Apr 2013 16:07:49 +0000
Checked in by : Robert Osfield
Moved the keystone geometry computation into a Keystone::compute3DPositions(..) method

Wed, 10 Apr 2013 16:36:49 +0000
Checked in by : Robert Osfield
Removed old experimental keystone code to clean up the example

Thu, 28 Mar 2013 10:46:24 +0000
Checked in by : Robert Osfield
Changed the way that the keystone geometry is calculated.

Wed, 27 Mar 2013 16:29:01 +0000
Checked in by : Robert Osfield
Added keypad control of corner points

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.

Tue, 26 Mar 2013 16:47:52 +0000
Checked in by : Robert Osfield
Introduced shearing of the image

Tue, 26 Mar 2013 11:00:05 +0000
Checked in by : Robert Osfield
Improved the setup of the keystone distortion correction mesh.

Thu, 21 Mar 2013 16:42:09 +0000
Checked in by : Robert Osfield
Updated developer release number

Thu, 21 Mar 2013 16:22:30 +0000
Checked in by : Robert Osfield
Added check against isVertexBufferObjectSupported() in set*Pointer() methods

Thu, 21 Mar 2013 11:35:21 +0000
Checked in by : Robert Osfield
Added keystone grid to aid editing

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.

Tue, 19 Mar 2013 16:43:27 +0000
Checked in by : Robert Osfield
Improve corner point tracking/keystone computation

Tue, 19 Mar 2013 12:44:03 +0000
Checked in by : Robert Osfield
Added event handle for interactive setting of keystone variables

Fri, 15 Mar 2013 17:35:43 +0000
Checked in by : Robert Osfield
Experiments with modifying the projection matrix to provide keystoning.

Thu, 14 Mar 2013 16:24:22 +0000
Checked in by : Robert Osfield
Initial skeleton of new osgkeystone example

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."



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)
{
}


  Lacking this causes _bbox to be uninitialized after LOD changes when paged databases refer to shared subgraphs.

"



Wed, 13 Feb 2013 16:29:03 +0000
Checked in by : Robert Osfield
From Lukasz Izdebski,"added support for gl_SampleMaski."

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.

This is discussed in this thread[1].
The solution is to add <uses-sdk android:minSdkVersion="8" /> 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. "



Tue, 12 Feb 2013 15:44:52 +0000
Checked in by : Robert Osfield
From Jordi Torres, Android build fix

Tue, 12 Feb 2013 15:40:21 +0000
Checked in by : Robert Osfield
From Jordi Torres, fix for Android build

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

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

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)
"



Thu, 7 Feb 2013 11:10:24 +0000
Checked in by : Robert Osfield
From Lukasz Izdebski , "I added  write and read numInstances in PrimitiveSet."

Thu, 7 Feb 2013 11:08:34 +0000
Checked in by : Robert Osfield
Updated SO version in prep for serialization foramt change

Thu, 7 Feb 2013 08:46:44 +0000
Checked in by : Robert Osfield
Updated AUTHORS list

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:

- 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
}




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
----

M    include/osg/State



Wed, 6 Feb 2013 14:49:48 +0000
Checked in by : Robert Osfield
Added TODO note about RGB -> RGBA

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

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."



Wed, 6 Feb 2013 12:02:05 +0000
Checked in by : Robert Osfield
Simplified include/osg/Math to use Standard C++ maths headers - <cmath> and <cfloat>

Wed, 6 Feb 2013 11:16:29 +0000
Checked in by : Robert Osfield
Fixed warning

Wed, 6 Feb 2013 09:20:10 +0000
Checked in by : Robert Osfield
From Stephan Huber, fixed for Windows 64bit build

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

Mon, 4 Feb 2013 16:25:52 +0000
Checked in by : Robert Osfield
Updated ChangeLog

Mon, 4 Feb 2013 14:42:44 +0000
Checked in by : Robert Osfield
Updated version number after 3.1.4 developer release

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. "

Mon, 4 Feb 2013 13:28:05 +0000
Checked in by : Robert Osfield
Fixed warning

Mon, 4 Feb 2013 13:27:46 +0000
Checked in by : Robert Osfield
Fixed warnings

Mon, 4 Feb 2013 13:11:13 +0000
Checked in by : Robert Osfield
Fixed warning

Mon, 4 Feb 2013 12:50:51 +0000
Checked in by : Robert Osfield
Fixed warning and converted tabs to four spaces

Mon, 4 Feb 2013 12:38:08 +0000
Checked in by : Robert Osfield
Fixed warnings

Mon, 4 Feb 2013 12:01:26 +0000
Checked in by : Robert Osfield
Fixed warning

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

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.

Wed, 30 Jan 2013 11:31:27 +0000
Checked in by : Robert Osfield
Added handling of movies into Timeout

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.

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.

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."

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."



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). "

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)

It also added a search for libtiff to Apple builds mainly for use with osg earth."



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.

Compute shader information can be found at "http://www.opengl.org/registry/specs/ARB/compute_shader.txt"
"




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."

Fri, 25 Jan 2013 10:36:42 +0000
Checked in by : Robert Osfield
Fixed compile warning

Fri, 25 Jan 2013 10:24:11 +0000
Checked in by : Robert Osfield
Added debug message for Timout

Thu, 24 Jan 2013 18:48:34 +0000
Checked in by : Robert Osfield
Fixed usage of META_NodeVisitor so it doesn't include ""

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"

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."

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."

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

Wed, 23 Jan 2013 15:54:20 +0000
Checked in by : Robert Osfield
From Lionel Lagarde, fixed typo bug

Wed, 23 Jan 2013 11:50:45 +0000
Checked in by : Robert Osfield
Removed redundent code block

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."

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."



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')."

Tue, 22 Jan 2013 16:13:59 +0000
Checked in by : Robert Osfield
Added <template_layer name="layerbase_1"> and <layer inherit="layerbase_1"> functionality to .p3d functionality.

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.

Fri, 18 Jan 2013 17:11:49 +0000
Checked in by : Robert Osfield
Added Options support to ImageSequence LOAD_* functionality

Fri, 18 Jan 2013 16:30:55 +0000
Checked in by : Robert Osfield
Update SO_VERSION to reflect new API changes

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.

Thu, 17 Jan 2013 13:51:52 +0000
Checked in by : Robert Osfield
Added <display_broadcast_event> and <dismiss_broadcast_event> support to <timeout> to allow the different timeout statges to be broadcast.

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.

Thu, 17 Jan 2013 11:48:20 +0000
Checked in by : Robert Osfield
Completed <timeout> support, to use it with p3d use it along the lines:<slide>
    <layer>
        <paragraph>Test</paragraph>
        <timeout>
            <idle_duration_before_timeout>3.0</idle_duration_before_timeout>
            <idle_duration_before_action>5.0</idle_duration_before_action>
            <key_starts_timeout_display>A</key_starts_timeout_display>
            <key_dismiss_timeout_display>S</key_dismiss_timeout_display>
            <key_run_action>D</key_run_action>
            <timeout_jump slide="0" layer="1"></timeout_jump>
            <timeout_event>w</timeout_event>
            <timeout_broadcast_event>t</timeout_broadcast_event>
            <image width="0.5">Images/lz.rgb</image>
        </timeout>
    </layer>
    <layer>
        <model>cow.osg</model>
    </layer>
</slide>




Thu, 17 Jan 2013 09:51:15 +0000
Checked in by : Robert Osfield
Added support for <timeout_jump> to Timeout support.

Wed, 16 Jan 2013 16:13:30 +0000
Checked in by : Robert Osfield
Implemented basic Timeout display and timing codes

Tue, 15 Jan 2013 11:31:44 +0000
Checked in by : Robert Osfield
Added shell of Timeout class

Fri, 11 Jan 2013 11:30:44 +0000
Checked in by : Robert Osfield
Added movie volume animation control to <image> and <stereo_image> tags to be used in the form:    <slide>
        <properties>
            <property name="volume" type="float">0.20</property>
        </properties>

        <property_animation>
            <key_frame time="0.0">
                <property name="volume" type="float">0.0</property>
            </key_frame>
            <key_frame time="2.0">
                <property name="volume" type="float">1.0</property>
            </key_frame>
            <key_frame time="10.0">
                <property name="volume" type="float">1.0</property>
            </key_frame>
            <key_frame time="12.0">
                <property name="volume" type="float">0.0</property>
            </key_frame>
        </property_animation>

        <layer>
              <image volume="$volume" looping="ON">big_buck_bunny_1080p_stereo.ogg</image>
       </layer>
    </slide>




Thu, 10 Jan 2013 19:55:50 +0000
Checked in by : Robert Osfield
Added support for <image delay="time" stop="time"> 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.

Thu, 10 Jan 2013 14:37:52 +0000
Checked in by : Robert Osfield
Added support for <image "start=10"> property that tells a video to start specificied number of sections into a video.

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.

"



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.

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.

Tue, 8 Jan 2013 10:21:13 +0000
Checked in by : Robert Osfield
Added case for FORWARD_EVENT to address warning

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());

"data" method is unknow for std::vector with VS2008

I've replaced it with :

    _document = _dae->openFromMemory(fileURI, &buffer[0]);
"



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.

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."



Thu, 20 Dec 2012 16:16:07 +0000
Checked in by : Robert Osfield
Made UpdateVisitor::TravesalMode default to TRAVERSE_ACTIVE_CHILDREN

Thu, 20 Dec 2012 12:14:53 +0000
Checked in by : Robert Osfield
Added region="$xmin $ymin $zmin $xmax $ymax $zmax" support to <model> tag, along with animation support via the <property_animation> support.

Wed, 19 Dec 2012 17:14:29 +0000
Checked in by : Robert Osfield
Removed lighting of trk lines

Wed, 19 Dec 2012 12:38:17 +0000
Checked in by : Robert Osfield
Changed the colour calculation and added gl_ClipVertex to enable clipping.

Tue, 18 Dec 2012 11:20:20 +0000
Checked in by : Robert Osfield
Removed erroneous region setting

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. "



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).

Sun, 16 Dec 2012 17:10:37 +0000
Checked in by : Robert Osfield
Added handling of aspect ratio for vertical/horizontal split stereo.

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"



Fri, 14 Dec 2012 16:30:28 +0000
Checked in by : Robert Osfield
Updated SO version

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.

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



Thu, 13 Dec 2012 16:23:38 +0000
Checked in by : Robert Osfield
Added colouring and lighting of track using shader

Tue, 11 Dec 2012 17:45:20 +0000
Checked in by : Robert Osfield
Fixed handling of image colour space conversion when pixel format changes

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.

Tue, 11 Dec 2012 10:44:00 +0000
Checked in by : Robert Osfield
Disabled lighting and set the colour to white

Tue, 11 Dec 2012 09:55:48 +0000
Checked in by : Robert Osfield
First cut of generating lines from .trk data

Mon, 10 Dec 2012 11:11:19 +0000
Checked in by : Robert Osfield
Added setting of the fusion distance.

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.

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

I refactored parts the p3d-plugin, the curl-plugin and parts of Registry and ReaderWriter. Currently the p3d-plugin tries to open all remote files with the help of the curl-plugin.

I added a new method to Registry called getReaderWriterForProtocolAndExtension. which will return a ReaderWriter which is capable in handling the remote file for the given protocol and extension. If no readerwriter is found for the given extension, a list is built of all readerwriters supporting the given protocol and this list is checked for support of wildcards (extension = "*"). If anything matches it get returned.

I added this principle also to the Registry, so now it's possible to register a generic ReaderWriter which can handle all filetypes for a given protocol, similar what curl is doing. All you have to do is to load the plugin at startup. The curl-fallback is still in place.

With these changes it is now possible to reference a movie inside a presentation without a server-address, read the presentation (with curl) and stream the movie with the correct plugin (e.g. QTKit)

"



Fri, 7 Dec 2012 19:04:49 +0000
Checked in by : Robert Osfield
Added template swapBytes method

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.

Fri, 7 Dec 2012 12:47:42 +0000
Checked in by : Robert Osfield
Fixed handling of window size/projection matrix

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.

Thu, 6 Dec 2012 19:09:17 +0000
Checked in by : Robert Osfield
Intial shell of .trk plugin

Thu, 6 Dec 2012 18:12:00 +0000
Checked in by : Robert Osfield
From Stephan Huber, build fix

Thu, 6 Dec 2012 14:42:36 +0000
Checked in by : Robert Osfield
Added default value for initialization of port number

Thu, 6 Dec 2012 11:36:35 +0000
Checked in by : Robert Osfield
Fixed typo

Thu, 6 Dec 2012 11:36:13 +0000
Checked in by : Robert Osfield
Added creation of directory path for ouput if one is required

Thu, 6 Dec 2012 08:02:08 +0000
Checked in by : Robert Osfield
From Stephan Huber, ZerConfDevice plugin for Windows and Apple

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"

Wed, 5 Dec 2012 11:41:27 +0000
Checked in by : Robert Osfield
Added --screen-distance <distance>, --screen-height <height> and --screen-width <width> command line support and associated settings to the configuration file.

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.

Tue, 4 Dec 2012 19:02:45 +0000
Checked in by : Robert Osfield
Fixed default camera position

Tue, 4 Dec 2012 18:51:21 +0000
Checked in by : Robert Osfield
Changed the -w and -h options to --width and --height respectively.

Tue, 4 Dec 2012 18:30:33 +0000
Checked in by : Robert Osfield
Cleaned up command line usage

Tue, 4 Dec 2012 18:28:28 +0000
Checked in by : Robert Osfield
Tidied up command line docs.

Tue, 4 Dec 2012 18:21:53 +0000
Checked in by : Robert Osfield
Tidied up CaptureSettings and added command line docs

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
  



Tue, 4 Dec 2012 09:11:17 +0000
Checked in by : Robert Osfield
Added missing break;

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."



Mon, 3 Dec 2012 11:31:13 +0000
Checked in by : Robert Osfield
Renamed souce file

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."

Mon, 3 Dec 2012 09:50:41 +0000
Checked in by : Robert Osfield
Fixed error in Unfiform set method

Mon, 3 Dec 2012 09:35:12 +0000
Checked in by : Robert Osfield
Added include of osc plugin directory to help with Windows build

Sun, 2 Dec 2012 11:45:57 +0000
Checked in by : Robert Osfield
From Wang Rui, build fix

Fri, 30 Nov 2012 20:03:31 +0000
Checked in by : Robert Osfield
Fixed crash when no CameraManipulator is assigned to the viewer

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 <click_to_event> functionality.

Fri, 30 Nov 2012 15:43:31 +0000
Checked in by : Robert Osfield
Added support for pausing and restart the property_animation.

Fri, 30 Nov 2012 14:21:45 +0000
Checked in by : Robert Osfield
Added xml defined property/property animation to .p3d format for <volume> propeties:   alpha="$alphaname"
   cutoff="$cutoffname"
   region="$minx $miny $minz $maxx $maxy $maxz"
   sampleDensity="$densityname"
   sampleDensityWhenMoving="$densityname"
   



Wed, 28 Nov 2012 13:28:20 +0000
Checked in by : Robert Osfield
From Stephan Huber, New OscSendingDevice and OscReceivingDevice classes

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.

Tue, 27 Nov 2012 16:00:43 +0000
Checked in by : Robert Osfield
Added support for <properties> tag for <presentation>, <slide> and <layer> scope to compliment the scope of <property_animation>

Tue, 27 Nov 2012 15:09:44 +0000
Checked in by : Robert Osfield
Added preliminary support for <property_animation>

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. "

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

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

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.

Wed, 21 Nov 2012 15:19:58 +0000
Checked in by : Robert Osfield
From Stephan Huber, further work on osc plugin

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

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

Tue, 20 Nov 2012 18:41:30 +0000
Checked in by : Robert Osfield
From Paul Martz, fix for Windows build

Tue, 20 Nov 2012 13:01:57 +0000
Checked in by : Robert Osfield
From Stephan Huber, added missing windows dependency

Tue, 20 Nov 2012 10:37:42 +0000
Checked in by : Robert Osfield
Added ws2_32 library to Win32 build

Mon, 19 Nov 2012 11:25:52 +0000
Checked in by : Robert Osfield
From Paul Martz, build fixes

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.

Fri, 16 Nov 2012 15:40:41 +0000
Checked in by : Robert Osfield
Added first cut implememtation of PropertyAnimation class

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.

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".

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.

Tue, 13 Nov 2012 14:22:37 +0000
Checked in by : Robert Osfield
Added support for <image blending="ON" or blending="OFF"> to allow user definition of when to enable OpenGL blending for an image or not.

Tue, 13 Nov 2012 13:52:33 +0000
Checked in by : Robert Osfield
From Stephan Huber, fixed warning

Tue, 13 Nov 2012 13:32:01 +0000
Checked in by : Robert Osfield
Changed COLOUR to COLOR to be consistent with OpenGL spelling

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 <volume> tag

Tue, 13 Nov 2012 11:45:20 +0000
Checked in by : Robert Osfield
Added first step to adding pruning of expired image requests.

Tue, 13 Nov 2012 11:20:36 +0000
Checked in by : Robert Osfield
From Stephan Huber, introduced syncornization of osgGA::Device

Mon, 12 Nov 2012 16:46:08 +0000
Checked in by : Robert Osfield
Cleaned up reported of events and added assigned of <volume> tag region properities when using the wildcard definition of the volume.

Mon, 12 Nov 2012 15:26:30 +0000
Checked in by : Robert Osfield
Added osgframerenderer example

Mon, 12 Nov 2012 10:36:21 +0000
Checked in by : Robert Osfield
Changed the default settings to fix a jump problems

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

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 <key_to_run> and <key_to_jump> tags.

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.

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.

I attached fix for this issue."



Thu, 8 Nov 2012 15:45:23 +0000
Checked in by : Robert Osfield
Added support for <imagesequence interaction_mode="USE_MOUSE_Y_POSITION">

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.

Thu, 8 Nov 2012 14:15:59 +0000
Checked in by : Robert Osfield
Added check to avoid doing update when the imagesequence is empty.

Thu, 8 Nov 2012 11:19:31 +0000
Checked in by : Robert Osfield
Refactored ImageSequence to better handle random access usage.

Tue, 6 Nov 2012 17:49:32 +0000
Checked in by : Robert Osfield
Tweaked casts/types to fix build under Linux

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

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

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)"

Mon, 5 Nov 2012 12:21:34 +0000
Checked in by : Robert Osfield
Quitened down debug output

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

Mon, 5 Nov 2012 09:36:00 +0000
Checked in by : Robert Osfield
Added static cast to float to avoid compile error under MSV

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.

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."




Thu, 1 Nov 2012 16:11:13 +0000
Checked in by : Robert Osfield
Changed the PropertyEventCallback to only respond to mouse releated events.

Thu, 1 Nov 2012 14:29:26 +0000
Checked in by : Robert Osfield


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.

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

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.

Mon, 29 Oct 2012 15:58:02 +0000
Checked in by : Robert Osfield
Intial work towards support an interaction <imagesequence> tag in Present3D.

Fri, 26 Oct 2012 15:31:18 +0000
Checked in by : Robert Osfield
From Luc Frauciel, "Compile Fix - KTX plugin with Visual Studio, <stdint.h>not defined under MSVC"

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

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.

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.
"



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.

Added support for osgGA::Device to osgViewer.

Added sdl plugin to provides very basic joystick osgGA::Device integration.





Mon, 22 Oct 2012 16:21:04 +0000
Checked in by : Robert Osfield
Added mutex lock to Uniform::addParent()/removeParent().

Fri, 12 Oct 2012 14:51:08 +0000
Checked in by : Robert Osfield
Added serializers for osgGA

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

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.



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. :-)"

Mon, 8 Oct 2012 16:12:59 +0000
Checked in by : Robert Osfield
Added a static_cast to avoid build issues under Windows

Mon, 8 Oct 2012 16:03:16 +0000
Checked in by : Robert Osfield
Fixed warning

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);

I replaced it with :

    b[1] = (uint8_t)((w & 0xFF00) >> 8);

And it compiles fine
"



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."



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

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



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/

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)
"



Fri, 5 Oct 2012 16:31:23 +0000
Checked in by : Robert Osfield
Made TouchData and osg::Object to aid with serialization.

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.

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.

Fri, 5 Oct 2012 10:07:09 +0000
Checked in by : Robert Osfield
Added set methods to assist with serialization support

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."

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.

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.

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."



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.

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"



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."

Tue, 25 Sep 2012 11:04:11 +0000
Checked in by : Robert Osfield
Changed dispatch to virtual

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."

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."



Thu, 20 Sep 2012 14:03:47 +0000
Checked in by : Robert Osfield
From Luc Frauciel, Added sRGB FrameBuffer string

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&).

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.
"



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.

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."



Thu, 20 Sep 2012 11:14:10 +0000
Checked in by : Robert Osfield
Added ReadQueue::size() method to help with debugging.

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.



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.

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()

Mon, 10 Sep 2012 08:24:49 +0000
Checked in by : Robert Osfield
Updated version after 3.1.3 dev release

Fri, 7 Sep 2012 17:04:31 +0000
Checked in by : Robert Osfield
Updated ChangeLog for 3.1.3 dev release

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. "

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.

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

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."

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.

- 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.




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]

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
"



Thu, 6 Sep 2012 10:32:07 +0000
Checked in by : Robert Osfield
From Fredric Bouvier, fix to CMake build selection of FLTK

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<GraphicsContext> to prevent dangling pointer issues.

Wed, 5 Sep 2012 13:51:34 +0000
Checked in by : Robert Osfield
Fixed inappropriate comment

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.

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.

"



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.""



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."



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

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.

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"

Wed, 5 Sep 2012 08:42:14 +0000
Checked in by : Robert Osfield
Added deprecated note to indices entry.

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

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. "

Mon, 3 Sep 2012 09:08:16 +0000
Checked in by : Robert Osfield
Adjusted the #define's to help GLES2 build

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<std::string>& fileList,const Options* options) in file ReadFile.cpp line 85:    osg::Node *node = osgDB::readNodeFile( *itr , Registry::instance()->getOptions() );    It should be:    osg::Node *node = osgDB::readNodeFile( *itr , options );"

Fri, 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.

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."

Fri, 24 Aug 2012 15:05:03 +0000
Checked in by : Robert Osfield
From Johannes Scholz, fix for writing out of hexidecimal numbers

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



Wed, 22 Aug 2012 16:39:47 +0000
Checked in by : Robert Osfield
Fixed typo

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.

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 <double> in the osgshadow example.

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.

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.

Fri, 3 Aug 2012 15:23:44 +0000
Checked in by : Robert Osfield
Removed the erronous creation of a local ShadowSettings object

Tue, 24 Jul 2012 09:05:04 +0000
Checked in by : Robert Osfield
Added FireGL to prefernce list for use glGenerateMipMap

Mon, 23 Jul 2012 08:15:57 +0000
Checked in by : Robert Osfield
Fixed build

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.

Wed, 11 Jul 2012 14:36:14 +0000
Checked in by : Robert Osfield
Fixed indentation

Wed, 11 Jul 2012 08:39:11 +0000
Checked in by : Robert Osfield
Fixed parameter default value to avoid warning

Tue, 10 Jul 2012 16:20:32 +0000
Checked in by : Robert Osfield
Replaced use of now deprecated methods.

Tue, 10 Jul 2012 16:11:40 +0000
Checked in by : Robert Osfield
Enabled the use the getReceivesShadowTraversalMask().

Tue, 10 Jul 2012 16:11:15 +0000
Checked in by : Robert Osfield
Changed settings of masks to use ShadowSettings.

Tue, 10 Jul 2012 15:50:46 +0000
Checked in by : Robert Osfield
Moved mask settings into ShadowSettings

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.

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.

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

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.

Sat, 16 Jun 2012 09:08:05 +0000
Checked in by : Robert Osfield
Fixed spelling of FileNameComparator

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.

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

Tue, 12 Jun 2012 18:29:03 +0000
Checked in by : Robert Osfield
Enabled 6 ImageThreads in the ImagePager

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.

Mon, 11 Jun 2012 19:54:07 +0000
Checked in by : Robert Osfield
Added support for setting the <image> 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.

Fri, 8 Jun 2012 10:26:23 +0000
Checked in by : Robert Osfield
Added ImageStream support to <image> and <stereo_image> tags in .p3d

Fri, 8 Jun 2012 04:18:28 +0000
Checked in by : Robert Osfield
Added osg::ImageSequence support into osgPresentation::SlideShowConstructor and the associated <image> tag in .p3d.

Thu, 7 Jun 2012 10:08:42 +0000
Checked in by : Robert Osfield
Added --fps support

Thu, 31 May 2012 14:45:24 +0000
Checked in by : Robert Osfield
Added typdef for Win32

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."

Fri, 25 May 2012 15:32:51 +0000
Checked in by : Robert Osfield
Added Dragger::get/setActivationMouseButtonMask(uint).

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);

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."



Thu, 24 May 2012 18:15:44 +0000
Checked in by : Robert Osfield
From Jaap Gas, added missing break, and missing removeDraggerCallback.

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.

Wed, 2 May 2012 14:13:29 +0000
Checked in by : Robert Osfield
Removed trailing spaces

Wed, 2 May 2012 13:58:34 +0000
Checked in by : Robert Osfield
Fixed for including cmath before osg/Math.

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.

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

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."

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."

Fri, 20 Apr 2012 09:40:29 +0000
Checked in by : Robert Osfield
Ran dos2unx on file

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"

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.

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

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.

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."



Thu, 19 Apr 2012 10:10:26 +0000
Checked in by : Robert Osfield
Added missing getUniformBlocks implmentation

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."

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.

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."

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.

So I assume this is a threading issue because of the data variance missing
in some of the text node setups in the example.
"



Wed, 18 Apr 2012 09:50:23 +0000
Checked in by : Robert Osfield
Updated version number

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."

Fri, 6 Apr 2012 10:42:17 +0000
Checked in by : Robert Osfield
From Ulrich Hertlein, Fix for MatrixTemplate compile errors

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."

Fri, 30 Mar 2012 17:08:21 +0000
Checked in by : Robert Osfield
Update AUTHORS for release

Fri, 30 Mar 2012 16:58:24 +0000
Checked in by : Robert Osfield
Updated ChangeLog for dev release

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.

Thu, 29 Mar 2012 15:08:15 +0000
Checked in by : Robert Osfield
From Magnus Kessler, typo and documentation fixes

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."

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"

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

add example that use AtomicCounterBuffer and show rendering order of fragments,
original idea from geeks3d.com."



Thu, 29 Mar 2012 08:27:21 +0000
Checked in by : Robert Osfield
Added int packing parameter to Image::readPixels(..)

Fri, 23 Mar 2012 16:09:30 +0000
Checked in by : Robert Osfield
Removed trailing spaces

Fri, 23 Mar 2012 11:32:10 +0000
Checked in by : Robert Osfield
Updated ChangeLog and AUTHORS for 3.1.2 dev release

Fri, 23 Mar 2012 11:20:17 +0000
Checked in by : Robert Osfield
Fixed potential memory leak

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

-> 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
"



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);

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)).
"



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.

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")

...

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."



Wed, 21 Mar 2012 17:36:20 +0000
Checked in by : Robert Osfield
Ran script to remove trailing spaces and tabs

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.

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"

Wed, 21 Mar 2012 11:36:54 +0000
Checked in by : Robert Osfield
Added Traits::getContextVersion(uint,uint)

Wed, 21 Mar 2012 11:26:09 +0000
Checked in by : Robert Osfield
Updated version number

Tue, 20 Mar 2012 12:01:02 +0000
Checked in by : Robert Osfield
Removed inappropriate warning

Tue, 20 Mar 2012 11:18:45 +0000
Checked in by : Robert Osfield
Replaced && with & to address error in handling bitmask

Mon, 19 Mar 2012 09:49:41 +0000
Checked in by : Robert Osfield
From Lukasz Izdebski, Added StencilTwoSided support to ive plugin

Fri, 16 Mar 2012 13:22:20 +0000
Checked in by : Robert Osfield
Fixed the order of setting of CenterMode

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.

"



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().

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

Fri, 9 Mar 2012 13:16:39 +0000
Checked in by : Robert Osfield
Updated ChangeLog and AUTHORS file for 3.1.1 dev release

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.
"



Thu, 8 Mar 2012 16:33:44 +0000
Checked in by : Robert Osfield
Updated version number for 3.1.1 dev release

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."

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 ;-)

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 ."



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.
"



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."

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"

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.
"



Tue, 6 Mar 2012 10:06:00 +0000
Checked in by : Robert Osfield
Added RotateCylinderDragger and RotateSphereDragger to list of manipulators for testing purposes

Mon, 5 Mar 2012 14:17:01 +0000
Checked in by : Robert Osfield
From Paul Martz, "Just a minor update and typo fix. "

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

Tested with osg plugin, FME (Safe software), Autodesk DWG TrueView
"



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"

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 :

typedef std::vector<UniformModifiedCountPair> LastAppliedUniformList;
should be
typedef std::map<unsigned int, UniformModifiedCountPair> 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."



Thu, 1 Mar 2012 10:14:55 +0000
Checked in by : Robert Osfield
Removed redudent spaces at ends of lines

Wed, 29 Feb 2012 14:01:44 +0000
Checked in by : Robert Osfield
Updated ChangeLog and AUTHORS for dev release

Wed, 29 Feb 2012 10:22:56 +0000
Checked in by : Robert Osfield
Improved the handling of endian swap of osg::Array

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

I also updated the member variables to use OSG's leading-underscore convention."



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.

Please find as attachment the proposed patch against latest svn version.
"



Tue, 28 Feb 2012 11:37:09 +0000
Checked in by : Robert Osfield
Added build problem with using float Matrix.

Tue, 28 Feb 2012 10:21:21 +0000
Checked in by : Robert Osfield
From Thomas Hogarth, build fix for IOS build

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

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.

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

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.

Fri, 24 Feb 2012 10:56:48 +0000
Checked in by : Robert Osfield
Cleaned up CMake warning

Thu, 23 Feb 2012 17:51:40 +0000
Checked in by : Robert Osfield
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




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 :-) "

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"

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<osg::ref_ptr<A> > 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.
"



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."

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.

* 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."



Tue, 21 Feb 2012 11:13:25 +0000
Checked in by : Robert Osfield
From Chris Denham, "ReaderWriter3DS smoothing group handling corrections"

Tue, 21 Feb 2012 10:42:59 +0000
Checked in by : Robert Osfield
Fixed warnings

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)

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."

Mon, 20 Feb 2012 12:36:53 +0000
Checked in by : Robert Osfield
From Alexander Sinditskiy, "Fix loading small monochrome bmp images"

Mon, 20 Feb 2012 12:33:17 +0000
Checked in by : Robert Osfield
From Dietmar Funck, "in order to use a customized database thread it's necessary to use a customized database pager, which creates such customized database threads, too. I think the best way to achieve this is to overwrite the DatabasePager::addDatabaseThread() method within the customized database pager. However this method is not 'virtual' yet, so I propose to make the method 'virtual'."

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."

Mon, 20 Feb 2012 12:18:50 +0000
Checked in by : Robert Osfield
From Riccardo Corsi, Added passing of EventVisitor pointer to event handlers.

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...

In case you accept the submission, I've removed the comment as it would be misleading to leave it there."



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."

Note from Robert Osfield, changed the Image::supportsTextureSubloading() to be const and to be implemented in the .cpp rather than inline.



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."



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. "

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.

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)"



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."



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."



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

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).
"



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.

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."



Thu, 9 Feb 2012 17:45:23 +0000
Checked in by : Robert Osfield
Updated ChangeLog, AUTHORS and Contriburos.cpp files

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?

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.
"



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():
        }
    }

-    _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);
 }

"



Thu, 9 Feb 2012 15:51:20 +0000
Checked in by : Robert Osfield
From Paul Martz, a simple GL3 example

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."



Thu, 9 Feb 2012 14:40:07 +0000
Checked in by : Robert Osfield
From Colin McDonald, fix for Solaris build.

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)"



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.

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.

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);
       }"



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.
"

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.




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."

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."

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).

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."





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."

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.

Tue, 7 Feb 2012 12:37:48 +0000
Checked in by : Robert Osfield
From Alexander Irion, "Added missing format GL_ALPHA to Image::computeFormatDataType()."

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."

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."

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."

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.

---
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."



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."

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. "

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.

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."





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));



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). "

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."

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."

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. "

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."



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."



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"."

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. "

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 "

Mon, 6 Feb 2012 12:29:29 +0000
Checked in by : Robert Osfield
Fixed indendation and line endings

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."



Mon, 6 Feb 2012 12:05:36 +0000
Checked in by : Robert Osfield
Fixed silly compiler warning that was being produced in error.

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."

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.

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"



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.

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"



Fri, 3 Feb 2012 11:10:17 +0000
Checked in by : Robert Osfield
Improved handling of archives

Fri, 3 Feb 2012 11:09:45 +0000
Checked in by : Robert Osfield
From Terry Welsh, improved support for handling archives

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.

The attached tweak makes GraphicsContext::close a bit less brutal for
shared contexts.  I have also changed a misleading diagnostic message.
"



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 "

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.

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.

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.

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.

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

Fri, 27 Jan 2012 09:49:06 +0000
Checked in by : Robert Osfield
From Kristofer Tingdahl, Added missing core OSG libraries.

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"

Thu, 26 Jan 2012 14:26:59 +0000
Checked in by : Robert Osfield
Quietend down debug message

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.

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."



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."



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."

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"



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.

Tue, 24 Jan 2012 17:57:01 +0000
Checked in by : Robert Osfield
Made the cursor state protected.

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.

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."



Tue, 24 Jan 2012 17:47:04 +0000
Checked in by : Robert Osfield
Fixed indentation and spaces at ends of lines.

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."

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.

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.

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.

Tue, 24 Jan 2012 15:44:58 +0000
Checked in by : Robert Osfield
Fixed compile error

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.

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.




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.

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().




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."



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.

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."

Mon, 2 Jan 2012 16:38:01 +0000
Checked in by : Robert Osfield
From Chris Denham, Implementation of write functions in CURL plugin

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."

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. "





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();


void Terrain::dirtyRegisteredTiles(int dirtyMask)
 SETS LOCK    OpenThreads::ScopedLock<OpenThreads::Mutex> 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<OpenThreads::Mutex> lock(_mutex);
******* PROBLEM - since lock has already been set! ********


The suggested fix submitted changes from using Mutex to ReentrantMutex.
"



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.

So you can now easily "hide" some objects from manipulators."



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."

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."

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]."

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."

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."

Fri, 23 Dec 2011 16:14:51 +0000
Checked in by : Robert Osfield
From Ulrich Hertlein, typo fixes

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.

Mon, 19 Dec 2011 16:18:18 +0000
Checked in by : Robert Osfield
Removed inappropriate static usage

Mon, 19 Dec 2011 09:37:57 +0000
Checked in by : Robert Osfield
Moved the createSpotLightImage function into include/osg/ImageUtils

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.

Tue, 13 Dec 2011 21:14:33 +0000
Checked in by : Robert Osfield
Moved osgshaders example across to use the new osgUtil::PerlinNoise example

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.

Wed, 30 Nov 2011 19:14:14 +0000
Checked in by : Robert Osfield
Fixed build under Tiny Core.

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.

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.

Tue, 22 Nov 2011 21:55:30 +0000
Checked in by : Robert Osfield
Added prelimanary support for parallel split shadow maps into ViewDependentShadowMap.

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 "

Fri, 18 Nov 2011 08:15:36 +0000
Checked in by : Robert Osfield
Fixed indentation

Thu, 17 Nov 2011 18:45:18 +0000
Checked in by : Robert Osfield
Added .get() to fix build

Fri, 11 Nov 2011 10:36:17 +0000
Checked in by : Robert Osfield
Updated built in volume shaders to honour the osg::Matierial setting

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.

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.



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.

Fri, 4 Nov 2011 12:50:05 +0000
Checked in by : Robert Osfield
Implement presentation update feature that reloads the presentation on pressing 'u'.

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.

Fri, 4 Nov 2011 12:45:32 +0000
Checked in by : Robert Osfield
Improved handling of resetting of the EventQueue::startTick().

Fri, 4 Nov 2011 12:44:01 +0000
Checked in by : Robert Osfield
Added removeFromObjectCache method.

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.

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.

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."

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.

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

Tue, 1 Nov 2011 10:30:18 +0000
Checked in by : Robert Osfield
Fixed the use DCM_SeriesDescription

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.

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.

Fri, 28 Oct 2011 11:00:55 +0000
Checked in by : Robert Osfield
Changed the notification level to INFO.

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.

Fri, 28 Oct 2011 10:36:29 +0000
Checked in by : Robert Osfield
Changed the default for SampleBuffers to be 1 when set.

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.

Fri, 28 Oct 2011 09:11:21 +0000
Checked in by : Robert Osfield
Changed the default depth to 24.

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

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.




Thu, 27 Oct 2011 09:24:34 +0000
Checked in by : Robert Osfield
Added support for ignore returns as white space.

Thu, 27 Oct 2011 08:34:53 +0000
Checked in by : Robert Osfield
Added support for American spelling of swap and add supportOptions(..) documentation for the new options.

Wed, 26 Oct 2011 14:25:56 +0000
Checked in by : Robert Osfield
Added support into the .p3d format for specifying the osgDB::Options::OptionString via the <tag options="value">.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.





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 :  <vnc password="mypassword">hostname</vnc>

Wed, 26 Oct 2011 12:29:38 +0000
Checked in by : Robert Osfield
Added password support into osgvnc example and vnc plugin

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.

Tue, 25 Oct 2011 15:55:33 +0000
Checked in by : Robert Osfield
Added support for 32bit depth buffer

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.

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.

Mon, 24 Oct 2011 11:09:35 +0000
Checked in by : Robert Osfield
Fixed handling of slide with no layers.

Sat, 22 Oct 2011 09:02:18 +0000
Checked in by : Robert Osfield
Fixed build of StreamOperator

Fri, 21 Oct 2011 15:39:51 +0000
Checked in by : Robert Osfield
Fixed handling of Vec3dArray in GLBeginEdnAdapter/ArrayDispatchers.

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 <volume> tag to allow presentations to flip the imagery

Fri, 21 Oct 2011 10:59:42 +0000
Checked in by : Robert Osfield
Added flipDepth() method

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.

Thu, 20 Oct 2011 16:49:08 +0000
Checked in by : Robert Osfield
Fixed handling of reading/writing of osgVolume::VolumeTile tiles

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.

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.

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

Thu, 20 Oct 2011 09:23:26 +0000
Checked in by : Robert Osfield
Improved handling of recent Cmake versions

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.

Mon, 17 Oct 2011 15:39:46 +0000
Checked in by : Robert Osfield
Fixed typo

Mon, 17 Oct 2011 14:41:49 +0000
Checked in by : Robert Osfield
Improvements to the compute near/far

Mon, 17 Oct 2011 14:40:29 +0000
Checked in by : Robert Osfield
Improvements to osgShadow::ViewDependentShadowMap and ShadowSettings

Mon, 17 Oct 2011 11:12:05 +0000
Checked in by : Robert Osfield
Quitened down debug message

Mon, 17 Oct 2011 10:25:28 +0000
Checked in by : Robert Osfield
From Jean-Sebastien Guay, add --mapres size option to ViewDependentShadowMap settings.

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.

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.

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

Mon, 3 Oct 2011 14:56:38 +0000
Checked in by : Robert Osfield
Fixed handling of ShadowSetting LightNum

Mon, 3 Oct 2011 10:36:18 +0000
Checked in by : Robert Osfield
Added Font::getVertical(float& ascender, float& descender) methods.

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.

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.

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.

Tue, 20 Sep 2011 10:59:18 +0000
Checked in by : Robert Osfield
Added better error reporting and handling when <key> tag contents are not valid.

Tue, 20 Sep 2011 10:01:07 +0000
Checked in by : Robert Osfield
Added handling of <!DOCTYPE...> tag and "" options.

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."

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."



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:

"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"



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.

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.

Wed, 14 Sep 2011 10:45:11 +0000
Checked in by : Robert Osfield
Fixed memory leak

Wed, 14 Sep 2011 10:22:04 +0000
Checked in by : Robert Osfield
Added missing forward declaration

Wed, 14 Sep 2011 10:02:11 +0000
Checked in by : Robert Osfield
Added asCamera() methods into osg::Camera and osg::Node

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
"

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
"






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."



Tue, 13 Sep 2011 13:33:41 +0000
Checked in by : Robert Osfield
From Jean-Sebastien Guay, removed unneccessary BUILD_QT_EXAMPLES cmake option

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. "

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."

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."



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."

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."

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)."

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."

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."

Tue, 13 Sep 2011 09:17:21 +0000
Checked in by : Robert Osfield
Reverted Paul Idstein warning fix as this was breaking the build

Mon, 12 Sep 2011 16:24:08 +0000
Checked in by : Robert Osfield
From Ulrich Hertlein, Added some error checks and memory cleanup.

Mon, 12 Sep 2011 16:20:45 +0000
Checked in by : Robert Osfield
From Stephan Huber, fixed build for OSX 10.6 and earlier

Mon, 12 Sep 2011 16:17:33 +0000
Checked in by : Robert Osfield
From Johannes Baeuerle, opptimization of ES support of osg/BufferObject

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; }"



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"

Mon, 12 Sep 2011 12:14:17 +0000
Checked in by : Robert Osfield
From Magnus Kessler, documentation fixes

Mon, 12 Sep 2011 12:04:46 +0000
Checked in by : Robert Osfield
Improved the clarity of doxygen comments

Mon, 12 Sep 2011 11:51:14 +0000
Checked in by : Robert Osfield
Fixed typos in the documentation

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."

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"




Mon, 12 Sep 2011 11:24:52 +0000
Checked in by : Robert Osfield
From Bob Kuehne, build fix for OSX 10.7 SDK.

Mon, 12 Sep 2011 11:24:24 +0000
Checked in by : Robert Osfield
From Paul Idstein, warning fixes for OSX 10.7

Mon, 12 Sep 2011 10:52:16 +0000
Checked in by : Robert Osfield
From Magnus Kessler, typo fixes

Mon, 12 Sep 2011 10:47:59 +0000
Checked in by : Robert Osfield
From Wang Rui, "I've encountered a strange problem that osgviewerMFC doesn't work well with the StatsHandler. When the 's' key is pressed, the rendering window will be halted. I tried solving the problem by commenting a line in CMFC_OSG_MDIView::OnKeyDown() and it seems to work now.Another improvement here is to use a thread class derived from
OpenThreads to replace the old _beginthread(). It helps a lot in
keeping a high frame rate when you open more than one MDI child
windows. And the application using OpenThreads in my opinion will be
more compatible and portable."



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.

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<int> value(....);  container->addUserObject(value);"

Wed, 7 Sep 2011 20:05:25 +0000
Checked in by : Robert Osfield
Added handling the ShadowSettings::LightNum for selecting which light to use.

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.

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.

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.

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.

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

Tue, 6 Sep 2011 11:11:38 +0000
Checked in by : Robert Osfield
Fixed the heights of the trees and houses

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.

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.

Mon, 5 Sep 2011 12:27:20 +0000
Checked in by : Robert Osfield
Replaced use of ShapeDrawable with osgTerrain for the terrain tile

Fri, 2 Sep 2011 10:16:16 +0000
Checked in by : Robert Osfield
Added s/getTextureSize() method for setting the shadow map texture size.

Fri, 2 Sep 2011 07:46:08 +0000
Checked in by : Robert Osfield
Disabled the use of the ReceivesShadowTraversalMask() mask

Thu, 1 Sep 2011 18:49:33 +0000
Checked in by : Robert Osfield
Added test line for COMPUTE_NEAR_USING_PRIMITIVES

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.

Mon, 29 Aug 2011 16:01:02 +0000
Checked in by : Robert Osfield
From Tony Horrobin, build fix

Mon, 29 Aug 2011 10:26:05 +0000
Checked in by : Robert Osfield
Added fallback base texture

Mon, 29 Aug 2011 09:59:47 +0000
Checked in by : Robert Osfield
Added support for setting the MinimumShadowMapNearFarRatio.

Fri, 26 Aug 2011 15:40:09 +0000
Checked in by : Robert Osfield
Fixed bug in computaton of the min/max x/z ratios.

Fri, 26 Aug 2011 15:36:33 +0000
Checked in by : Robert Osfield
Added names to models to help with debugging.

Fri, 26 Aug 2011 10:52:25 +0000
Checked in by : Robert Osfield
Added releaseGLObjects/resizeGLObjectBuffers support

Thu, 25 Aug 2011 17:21:38 +0000
Checked in by : Robert Osfield
Improved the handling of depth partitioning and orthographic datasets

Thu, 25 Aug 2011 15:39:09 +0000
Checked in by : Robert Osfield
Added event handling for toggling on/off the light source animation.

Wed, 24 Aug 2011 19:38:58 +0000
Checked in by : Robert Osfield
Added support for user defined setting of the shadow texture unit

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.

Wed, 24 Aug 2011 12:32:03 +0000
Checked in by : Robert Osfield
Imorovements to the new perspective/lispsm style shadow implementation.

Wed, 24 Aug 2011 12:31:35 +0000
Checked in by : Robert Osfield
Quitened down and fixed warning

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

Fri, 19 Aug 2011 10:43:38 +0000
Checked in by : Robert Osfield
Improved the LispSM computation

Fri, 19 Aug 2011 10:43:15 +0000
Checked in by : Robert Osfield
Changed the local variable near/far type

Wed, 17 Aug 2011 17:06:55 +0000
Checked in by : Robert Osfield
Added back in control of the backface culling.

Wed, 17 Aug 2011 16:09:17 +0000
Checked in by : Robert Osfield
intermin check-in of work on new LispSM implementation

Mon, 15 Aug 2011 14:37:16 +0000
Checked in by : Robert Osfield
Added missing assignement of _simulationTime.

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. "

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.

Fri, 12 Aug 2011 14:53:40 +0000
Checked in by : Robert Osfield
Implemented first pass at shaders for new ViewDepedentShadow map class

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.

Tue, 9 Aug 2011 15:20:25 +0000
Checked in by : Robert Osfield
Changed RTT Camera to use depth.

Tue, 9 Aug 2011 13:39:57 +0000
Checked in by : Robert Osfield
Implemented caching of Camera, Texture and TexGen

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.

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.

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

Sun, 7 Aug 2011 15:51:54 +0000
Checked in by : Robert Osfield
Preliminary work on new ViewDependentShadowMap base class

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.

Fri, 29 Jul 2011 07:42:55 +0000
Checked in by : Robert Osfield
Fixed comment on end barrier position.

Thu, 28 Jul 2011 16:40:28 +0000
Checked in by : Robert Osfield
Improved handling of the scaling of dicom imagery.

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.

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.



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."

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."

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.

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).

This leads to an invalid enum error, when GL_TEXTURE_BORDER_COLOR is tried to set.
"



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.

Thu, 21 Jul 2011 09:55:03 +0000
Checked in by : Robert Osfield
Fixed typo

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.
"



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. "

Wed, 20 Jul 2011 10:17:19 +0000
Checked in by : Robert Osfield
From Claus Scheiblauer, fixed handling of horizontal mouse wheel events.

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.

Mon, 18 Jul 2011 12:41:22 +0000
Checked in by : Robert Osfield
Added doxygen comments explaining read file callback functionality.

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.

Sun, 17 Jul 2011 16:24:47 +0000
Checked in by : Robert Osfield
From Alberto Luacas, typo fixes

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.

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. "

Fri, 15 Jul 2011 10:22:44 +0000
Checked in by : Cedric Pinson
Fix crash in osgAnimation when keyframe container are empty

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"

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."

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),
                                                                          ^"



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."

Fri, 15 Jul 2011 08:16:58 +0000
Checked in by : Robert Osfield
Converted tabs to four spaces

Tue, 28 Jun 2011 07:54:00 +0000
Checked in by : Robert Osfield
Merged the OSG-3.0 branch versions of into svn/trunk.

Tue, 28 Jun 2011 07:23:52 +0000
Checked in by : Robert Osfield
Added #if lib curl version check around #include <curl/types.h> as this header was deprecated and now removed entirely from libcurl-7.21.7.

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."

Mon, 27 Jun 2011 21:33:38 +0000
Checked in by : Robert Osfield
Tweaked the comments

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.

Mon, 27 Jun 2011 15:43:33 +0000
Checked in by : Robert Osfield
Updated NEWS and fixed typo in Contributors.

Mon, 27 Jun 2011 10:20:37 +0000
Checked in by : Robert Osfield
Fixed typo

Mon, 27 Jun 2011 10:19:44 +0000
Checked in by : Robert Osfield
Improved the setContextID doxygen comment.

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."

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.

Sat, 25 Jun 2011 07:07:16 +0000
Checked in by : Robert Osfield
Tightened up float usage.

Fri, 24 Jun 2011 19:17:25 +0000
Checked in by : Robert Osfield
Tightened up the float/double usage

Fri, 24 Jun 2011 16:15:47 +0000
Checked in by : Robert Osfield
Removed redundent assert and associated variables to fix warnings.

Fri, 24 Jun 2011 15:04:16 +0000
Checked in by : Robert Osfield
Implemented missing writeShader

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.

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.

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"

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"

Fri, 24 Jun 2011 08:05:54 +0000
Checked in by : Robert Osfield
Added operator ==, != and < to fix VS build

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)

/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)




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<osgSim::ShapeAttribute>? 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<unsigned int, std::allocator<unsigned int> >)’:
/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."

Fri, 17 Jun 2011 09:02:22 +0000
Checked in by : Robert Osfield
Updated version number of 3.0.0-rc1

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

Fri, 17 Jun 2011 08:42:54 +0000
Checked in by : Robert Osfield
Refined the version checking

Fri, 17 Jun 2011 08:41:56 +0000
Checked in by : Robert Osfield
Build fix

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."

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."

Fri, 17 Jun 2011 06:22:01 +0000
Checked in by : Robert Osfield
Fixed warning

Fri, 17 Jun 2011 06:09:25 +0000
Checked in by : Robert Osfield
Fixed warnings

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())

Thu, 16 Jun 2011 18:43:58 +0000
Checked in by : Robert Osfield
Fixed warnings.

Thu, 16 Jun 2011 18:25:46 +0000
Checked in by : Robert Osfield
Added support for new InternalTextureFormatModes

Thu, 16 Jun 2011 18:12:55 +0000
Checked in by : Robert Osfield
Added wider file extension support to ExternalFileWriter::generateObjectName

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."

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:

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."



Thu, 16 Jun 2011 15:57:40 +0000
Checked in by : Robert Osfield
Windows warning fixes

Thu, 16 Jun 2011 13:00:28 +0000
Checked in by : Robert Osfield
Fixed indentation issues

Thu, 16 Jun 2011 10:05:49 +0000
Checked in by : Robert Osfield
Improved indentation.

Thu, 16 Jun 2011 08:59:48 +0000
Checked in by : Robert Osfield
Replaced tabs with four spaces

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"

Wed, 15 Jun 2011 18:31:11 +0000
Checked in by : Robert Osfield
Improved the handling of compiling vs flushing deleted objects

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.

Wed, 15 Jun 2011 09:36:34 +0000
Checked in by : Robert Osfield
Fixed blitting of FBO's with multiple render targets.

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.

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."



Tue, 14 Jun 2011 16:54:20 +0000
Checked in by : Robert Osfield
Replaced .osg with .osgt file usage

Tue, 14 Jun 2011 16:50:40 +0000
Checked in by : Robert Osfield
Improved the handling of command line parameters

Tue, 14 Jun 2011 15:55:36 +0000
Checked in by : Robert Osfield
Updated version

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.

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.

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.

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."

Tue, 14 Jun 2011 09:11:58 +0000
Checked in by : Robert Osfield
Removed executable permission.

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."

Mon, 13 Jun 2011 15:20:48 +0000
Checked in by : Robert Osfield
Fixed wild card search when wild card filename includes a path.

Mon, 13 Jun 2011 08:52:11 +0000
Checked in by : Robert Osfield
From Jeremy Moles, fixed style == operator.

Mon, 13 Jun 2011 08:45:25 +0000
Checked in by : Robert Osfield
From Stephan Huber, build fix for IOS

Fri, 10 Jun 2011 11:42:02 +0000
Checked in by : Robert Osfield
Added handling of s/gUserValue() directly on a UserDataContainer.

Thu, 9 Jun 2011 14:20:46 +0000
Checked in by : Robert Osfield
Updated ChangeLog and AUTHORS file for 2.9.16 dev release

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.

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.




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



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"

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. "

Thu, 9 Jun 2011 10:48:19 +0000
Checked in by : Robert Osfield
Changed the defaults volume setting to not enable the SampleDensityWhenMoving property.

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.

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 <volume> tag.



Wed, 8 Jun 2011 09:28:59 +0000
Checked in by : Robert Osfield
Removed OSG_EXPORT

Wed, 8 Jun 2011 09:24:50 +0000
Checked in by : Robert Osfield
Introduced a less conservative near ratio.

Wed, 8 Jun 2011 09:24:29 +0000
Checked in by : Robert Osfield
Simplified the osgdepthpartion example to use the osgView::View::setUpDepthPartition(..) feature

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.

Tue, 7 Jun 2011 16:17:35 +0000
Checked in by : Robert Osfield
Added support for .osgt, .osgb and .osgx plugins to osgvolume example

Tue, 7 Jun 2011 15:33:35 +0000
Checked in by : Robert Osfield
Updated ChangeLog and AUTHORS file for release

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. "

Tue, 7 Jun 2011 14:26:13 +0000
Checked in by : Robert Osfield
From Mathias Froehlich, build fixes for legacy unix systems

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.

Tue, 7 Jun 2011 09:28:38 +0000
Checked in by : Robert Osfield
Added the return of the index position of the added UserObject

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.

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. "

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

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

Fri, 3 Jun 2011 15:58:36 +0000
Checked in by : Robert Osfield
Added support for --tf-255 transfer function files

Fri, 3 Jun 2011 13:47:59 +0000
Checked in by : Robert Osfield
Added support for using the sampleDensityWhenMoving tag with all techniques

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

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

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

Thu, 2 Jun 2011 22:05:10 +0000
Checked in by : Robert Osfield
Added support for new osg::Object user objects.

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.



Thu, 2 Jun 2011 21:32:03 +0000
Checked in by : Robert Osfield
Updated version

Thu, 2 Jun 2011 20:38:13 +0000
Checked in by : Robert Osfield
Added ref_ptr<> usage to avoid possible memory leak.

Thu, 2 Jun 2011 14:42:21 +0000
Checked in by : Robert Osfield
Updated version and so number for next dev release

Mon, 30 May 2011 15:43:18 +0000
Checked in by : Robert Osfield
Updated AUTHORS and ChangeLog for 2.9.15 dev release

Mon, 30 May 2011 13:02:13 +0000
Checked in by : Robert Osfield
From Dimi Christop, build fix for RHEL 4.

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.

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.

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. "

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."

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.

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.



Fri, 27 May 2011 11:18:44 +0000
Checked in by : Robert Osfield
Fixed indentation

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.

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.
"



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.



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."

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."

Fri, 27 May 2011 08:22:16 +0000
Checked in by : Robert Osfield
Reverted Bryce Eldrige submission.

Thu, 26 May 2011 16:52:08 +0000
Checked in by : Robert Osfield
Form Jorge Ciges, improved GL version detection code.

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."

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.

Existing behavior (PACKBITS compression, DPI tags left at default) is preserved if the options string is not set.
"



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(..).

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."

"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)"





Thu, 26 May 2011 16:13:04 +0000
Checked in by : Robert Osfield
Fixed indentation

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.

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:

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"



Wed, 25 May 2011 09:34:53 +0000
Checked in by : Robert Osfield
Updated ChangeLog

Wed, 25 May 2011 09:34:02 +0000
Checked in by : Robert Osfield
From Olaf Flebbe, fixes for OSX AGL build

Wed, 25 May 2011 09:13:26 +0000
Checked in by : Robert Osfield
Removed now redundent local implementation of getDirectoryContexts()

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:

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"




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"




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.
...


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.




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.




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.




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.




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.

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.




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.




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.




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.




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.




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.




Tue, 24 May 2011 10:08:40 +0000
Checked in by : Robert Osfield
Fixed build error

Mon, 23 May 2011 16:58:49 +0000
Checked in by : Robert Osfield
Removed unused numX, numY member variables, and added initializer for firstHeaderWrite.

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.

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

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."

Tue, 17 May 2011 09:21:32 +0000
Checked in by : Robert Osfield
From Wang Rui, added close button hint

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. "

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

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.





Mon, 16 May 2011 09:17:30 +0000
Checked in by : Robert Osfield
Renamed example from osgviewerQtContext to osgviewerQt.

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

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




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

--

From Robert Osfield, added back in getGraphWidget() method for backwards compatibility.




Mon, 16 May 2011 08:59:10 +0000
Checked in by : Robert Osfield
Fixed traling spaces

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.

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.





Sun, 15 May 2011 08:27:04 +0000
Checked in by : Robert Osfield
From Wang Rui, build fix

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.

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.

Fri, 13 May 2011 11:20:48 +0000
Checked in by : Robert Osfield
Improved the size, advance and bearing settings

Thu, 12 May 2011 18:52:18 +0000
Checked in by : Robert Osfield
Warning and build fixes

Thu, 12 May 2011 18:40:18 +0000
Checked in by : Robert Osfield
Added newline to end of file

Thu, 12 May 2011 14:07:15 +0000
Checked in by : Robert Osfield
From Sukender, ported across to use the new osgDB::ExternalFileWriter

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.

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."

Thu, 12 May 2011 13:08:02 +0000
Checked in by : Robert Osfield
Removed unused parameter

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."



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.

attached you will find the correct CMakeLists.txt
"



Thu, 12 May 2011 10:28:47 +0000
Checked in by : Robert Osfield
Removed redundent method

Thu, 12 May 2011 10:10:49 +0000
Checked in by : Robert Osfield
Added setting of size.

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.




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.




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.




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.




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.

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.




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.

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.




Sun, 8 May 2011 12:06:25 +0000
Checked in by : Robert Osfield
Updated version number to 2.9.15 after dev release

Sun, 8 May 2011 11:57:53 +0000
Checked in by : Robert Osfield
Updated AUTHORS for 2.9.14 dev release

Sun, 8 May 2011 11:56:23 +0000
Checked in by : Robert Osfield
Update ChangeLog

Fri, 6 May 2011 16:46:13 +0000
Checked in by : Robert Osfield
Added osg::ref_ptr<osgDB::Archive> osgDB::Registry::getRefFromArchiveCache() and osg::ref_ptr<osgDB::Object> osgDB::Registry::getRefFromObjectCache().

Fri, 6 May 2011 12:32:23 +0000
Checked in by : Robert Osfield
Removed trailing spaces

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.




Fri, 6 May 2011 12:30:21 +0000
Checked in by : Robert Osfield
Moved constructor implementation into .cpp

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.




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.




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.




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.




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.

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.




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.




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.




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.




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.




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.

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.




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.

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.




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.

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.




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]

"_dwobj::~_dwobj()" uses delete on "obj.fc1" which is an array. It should be deleted with operator delete[]. [show details]




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.

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.




Fri, 6 May 2011 09:26:14 +0000
Checked in by : Robert Osfield
Updated SO version number for dev release

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.




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.

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.




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.

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.




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.




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.

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.




Fri, 6 May 2011 09:00:46 +0000
Checked in by : Robert Osfield
Fixed build problem

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: "<temporary>.basic_string("");".




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".




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.




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




Thu, 5 May 2011 11:31:12 +0000
Checked in by : Robert Osfield
Fixed warning

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".




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.

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.




Thu, 5 May 2011 10:28:34 +0000
Checked in by : Robert Osfield
Fixed typo

Wed, 4 May 2011 16:36:35 +0000
Checked in by : Robert Osfield
From Mathias Froehlich, build fix for gcc 4.6

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."



Wed, 4 May 2011 09:53:11 +0000
Checked in by : Robert Osfield
Removed unncessary references to FREETYPE

Wed, 4 May 2011 09:48:10 +0000
Checked in by : Robert Osfield
From Michael Platings, fix for build with cmake 2.6.x

Tue, 3 May 2011 12:43:00 +0000
Checked in by : Robert Osfield
Added OSGVIEWER_EXPORT

Tue, 3 May 2011 10:14:34 +0000
Checked in by : Robert Osfield
Added missing break;

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."

Tue, 3 May 2011 09:11:04 +0000
Checked in by : Michael PLATINGS
Updated to use FBX SDK 2012.1

Fri, 29 Apr 2011 16:50:45 +0000
Checked in by : Robert Osfield
Improved the handling of different combinations of slashes and dirNames.

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;

       /** 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




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.

Fri, 29 Apr 2011 09:16:47 +0000
Checked in by : Robert Osfield
Update ChangeLog

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 <struct osg::NodeCallback *>(nc->clone(this))" can return null.
Assigning null: "first" = "dynamic_cast <struct osg::NodeCallback *>(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.




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".

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.




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.

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.




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".

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.




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.




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.

CID 11564: Unsigned compared against 0 (NO_EFFECT)
This less-than-zero comparison of an unsigned value is never true. "cpunum < 0U".





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.



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.



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.




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.

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.




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.




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.

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 "<storage from new>" 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]




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]".




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.

CID 11586: Resource leak (RESOURCE_LEAK)
Calling allocation function "operator new(unsigned long long)".
Variable "<storage from new>" 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 "<storage from new>" is not freed or pointed-to in function "osg::ElementBufferObject::ElementBufferObject()". [show details]
Assigning: "ebo" = storage returned from "new osg::ElementBufferObject".




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.




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.




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".

Tue, 26 Apr 2011 15:24:21 +0000
Checked in by : Robert Osfield
Updated version after 2.9.13 dev release

Tue, 26 Apr 2011 14:55:19 +0000
Checked in by : Robert Osfield
Updated ChangeLog and AUTHORS for 2.9.13 dev release

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"

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".
"



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."

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/<system> are again installed under
include/osgViewer/api/<system>

Works in recent ubuntu with cmake-2.8.4 and msvc2010 with cmake-2.8.2"



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.

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."



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..."



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.

In my situation, this prevents a GL 3.x context from being created.
"



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.

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
"



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)) {...}

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)) {...}
"



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{

                    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.
"



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.

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.



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.

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"

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."



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."

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.
"



Tue, 19 Apr 2011 11:46:05 +0000
Checked in by : Robert Osfield
Removed spaces from end of lines

Tue, 19 Apr 2011 11:40:22 +0000
Checked in by : Robert Osfield
Ran svn propset -R svn:eol-style native . on the OpenSceneGraph

Tue, 19 Apr 2011 09:54:14 +0000
Checked in by : Robert Osfield
Improved the handling of unitialized bounding box

Tue, 19 Apr 2011 09:53:34 +0000
Checked in by : Robert Osfield
Cleaned up example

Mon, 18 Apr 2011 12:58:28 +0000
Checked in by : Robert Osfield
Updated SO version number

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.

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."

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

fit to 80 columns. This avoids difficult to read line breaks added by the
terminal program itself."



Thu, 14 Apr 2011 15:22:43 +0000
Checked in by : Robert Osfield
Cleaned up DXT1 support

Thu, 14 Apr 2011 15:21:53 +0000
Checked in by : Robert Osfield
Added IF (WIN32) around OSG_USE_UTF8_FILENAME

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.");

And set the default not to modify and detect the RGB or RGBA pixel format for DXT images.





Thu, 14 Apr 2011 09:16:09 +0000
Checked in by : Robert Osfield
Added setting of the internal texture format

Wed, 13 Apr 2011 19:28:30 +0000
Checked in by : Robert Osfield
quitened down debug output

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.

Wed, 13 Apr 2011 10:44:36 +0000
Checked in by : Robert Osfield
Added handling of DXT1 in osg::Image::isImageTranslucent()

Mon, 11 Apr 2011 19:11:25 +0000
Checked in by : Robert Osfield
Added support for explitly requesting DXT1a and DXT1c compression

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."



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.

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.





Wed, 23 Mar 2011 14:01:58 +0000
Checked in by : Robert Osfield
Added m4v as a handled movie file extension

Mon, 21 Mar 2011 21:28:35 +0000
Checked in by : Robert Osfield
Added dciimage library to DCMTK libs

Mon, 21 Mar 2011 21:28:02 +0000
Checked in by : Robert Osfield
Improved handling of RGB data.

Sat, 19 Mar 2011 16:25:01 +0000
Checked in by : Robert Osfield
Added .get() to fix build

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

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

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.

         <volume sampleDensityWhenMoving="0.01">CardiacCT</volume>

To switch the feature off set the value to 0, i.e.

         <volume sampleDensityWhenMoving="0">CardiacCT</volume>




Thu, 17 Mar 2011 15:37:39 +0000
Checked in by : Robert Osfield
Added SampleDensityWhenMovingProperty to control LOD property of osgVolume.

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.

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.

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.

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.

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"

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."




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

Tue, 15 Mar 2011 19:54:57 +0000
Checked in by : Robert Osfield
Added support hud property for title, bullets and paragraph tags

Tue, 15 Mar 2011 14:04:50 +0000
Checked in by : Robert Osfield
From Sukender, "Fixed a case where getUniqueName() does not work properly"

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

Tue, 15 Mar 2011 13:53:59 +0000
Checked in by : Robert Osfield
Added checked against GL version number for enabled _isTexture3DSupported.

Tue, 15 Mar 2011 13:40:13 +0000
Checked in by : Robert Osfield
Fixed warning

Tue, 15 Mar 2011 13:30:27 +0000
Checked in by : Robert Osfield
Added OSG_EXPORT to declaration of View::Slave.

Tue, 15 Mar 2011 12:48:40 +0000
Checked in by : Robert Osfield
Re-enabled the fallback compute of bounding volume.

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

Mon, 14 Mar 2011 21:36:32 +0000
Checked in by : Robert Osfield
Implemented billboard="on" option for image, bullet and paragraph tags

Mon, 14 Mar 2011 11:29:08 +0000
Checked in by : Robert Osfield
Added support for placing comments at end of each line.

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. "

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".

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.

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)."

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."

Fri, 11 Mar 2011 11:20:30 +0000
Checked in by : Robert Osfield
Fixed the case insenstive search under unices

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)"

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.

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 '/'.
"



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). "

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."

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."

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."

Wed, 9 Mar 2011 17:35:30 +0000
Checked in by : Robert Osfield
Quitened down timing stats

Wed, 9 Mar 2011 16:30:48 +0000
Checked in by : Robert Osfield
From Johannes Baeuerle, fix for memory leak

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"




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. "

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 <osg/Config> 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."



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"

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]

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"





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.

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."



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

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.
"



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."

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."

Wed, 9 Mar 2011 11:06:36 +0000
Checked in by : Robert Osfield
Updated versions for next OSG dev release

Wed, 9 Mar 2011 10:35:00 +0000
Checked in by : Robert Osfield
Changed the use of a viewer thread to be off by default because it was causing the application to crash when any users input was recieved

Tue, 8 Mar 2011 17:05:29 +0000
Checked in by : Robert Osfield
Fixed error in X11 string name

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=<path_to_android_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."




Tue, 8 Mar 2011 15:31:49 +0000
Checked in by : Robert Osfield
Fixed indentation

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. "

Mon, 7 Mar 2011 14:42:47 +0000
Checked in by : Robert Osfield
Added comments

Mon, 7 Mar 2011 13:45:58 +0000
Checked in by : Robert Osfield
Changed all .c++ to .cpp's

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.

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.

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);

        /** Convenience method for setting up multiple slave cameras that depth partition each of the view's active cameras.*/
        bool setUpDepthPartition(DepthPartitionSettings* dsp=0);




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.

Wed, 2 Mar 2011 16:40:36 +0000
Checked in by : Robert Osfield
Build fix

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

Wed, 2 Mar 2011 16:09:50 +0000
Checked in by : Robert Osfield
Implemented first cut of more flexible depth partitioning code.

Tue, 1 Mar 2011 16:21:38 +0000
Checked in by : Robert Osfield
Fixed typo

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.

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.

Tue, 1 Mar 2011 14:48:48 +0000
Checked in by : Robert Osfield
Added support for an View::Slave::UpdateSlaveCallback

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.

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.

Thu, 24 Feb 2011 11:54:44 +0000
Checked in by : Robert Osfield
Removed TrapezoidalShadowMap due to discovery of patent on algorithm.

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

Wed, 23 Feb 2011 16:49:38 +0000
Checked in by : Robert Osfield
Fixed typo

Wed, 23 Feb 2011 16:46:34 +0000
Checked in by : Robert Osfield
From Wojciech Lewandowski, intial cut at new TrapezoidalShadowMap ShadowTechnique

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

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.

Wed, 23 Feb 2011 13:56:41 +0000
Checked in by : Robert Osfield
Added support for negative --xMultipler, --yMultiple and --zMultiplier values

Wed, 23 Feb 2011 12:48:17 +0000
Checked in by : Robert Osfield
Added support for positive values of --xMultiple <float> --yMultiplier <float> and --zMultiplier <float>

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

Wed, 23 Feb 2011 11:43:30 +0000
Checked in by : Robert Osfield
Added error reporting for old options

Wed, 23 Feb 2011 11:28:43 +0000
Checked in by : Robert Osfield
Added -n option

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

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.

Tue, 22 Feb 2011 11:59:51 +0000
Checked in by : Robert Osfield
Added support for GL_BGR and GL_BGRA pixel formats

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.

Mon, 21 Feb 2011 12:29:13 +0000
Checked in by : Robert Osfield
Added computePositions() call to Text3D::resizeGLObjectsBuffers(uint)

Mon, 21 Feb 2011 10:02:53 +0000
Checked in by : Robert Osfield
Added missing Terrain.h reference

Sun, 20 Feb 2011 09:57:07 +0000
Checked in by : Robert Osfield
Fixed build of various LiSPSM algorithms

Sun, 20 Feb 2011 09:55:20 +0000
Checked in by : Robert Osfield
Added --fov and --light-pos and --light-dir command line parameters

Fri, 18 Feb 2011 11:04:01 +0000
Checked in by : Michael PLATINGS
Disabled the RGB components of the opacity texture

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

        - 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."



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."

Mon, 14 Feb 2011 16:05:33 +0000
Checked in by : Robert Osfield
Added copyop parameter to cloneOptions() method

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."

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."

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. "

Mon, 14 Feb 2011 15:01:56 +0000
Checked in by : Robert Osfield
Moved ProgramBinary into osg::Program scope

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").
"

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).
"



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.

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."



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.

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."



Mon, 14 Feb 2011 12:55:44 +0000
Checked in by : Robert Osfield
Set debug message to INFO

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.

Mon, 14 Feb 2011 12:14:36 +0000
Checked in by : Robert Osfield
Fixed typo

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.

Fri, 11 Feb 2011 11:08:00 +0000
Checked in by : Robert Osfield
Update ChangeLog

Fri, 11 Feb 2011 09:18:36 +0000
Checked in by : Robert Osfield
Added check against the NodePath being empty.

Thu, 10 Feb 2011 14:24:39 +0000
Checked in by : Robert Osfield
Tweak to output details

Thu, 10 Feb 2011 14:09:04 +0000
Checked in by : Robert Osfield
Updated AUTHORS and Contributors.cpp files

Thu, 10 Feb 2011 12:23:18 +0000
Checked in by : Robert Osfield
From Martin von Gagern, build fix for latest ffmpeg changes

Tue, 8 Feb 2011 14:36:15 +0000
Checked in by : Robert Osfield
Added const

Mon, 7 Feb 2011 14:19:58 +0000
Checked in by : Robert Osfield
Implementated experimental reuse of PBO's after download

Fri, 4 Feb 2011 12:43:00 +0000
Checked in by : Robert Osfield
Added support for enabling the assignment of PixelBufferObjects to loaded Images to aid the download of images to the GPU. Feature can be enabled/disabled (default) by setting the env :   OSG_ASSIGN_PBO_TO_IMAGES  to ON or OFF



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.

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.

Thu, 3 Feb 2011 14:27:50 +0000
Checked in by : Robert Osfield
Added call to GraphicsCostEstimator::calibrate.

Thu, 3 Feb 2011 12:42:23 +0000
Checked in by : Robert Osfield
Moved GraphicsCostEstimator ref pointer into osg::State

Thu, 3 Feb 2011 12:22:09 +0000
Checked in by : Robert Osfield
Moved GraphicsCostEstimator from osgUtil into core OSG library

Wed, 2 Feb 2011 17:23:12 +0000
Checked in by : Robert Osfield
From Jean-Sebastien Guay, build fix

Wed, 2 Feb 2011 16:44:21 +0000
Checked in by : Michael PLATINGS
Updated information about the FBX SDK version

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."

Tue, 1 Feb 2011 12:18:47 +0000
Checked in by : Robert Osfield
Fixed the setting of the Drawable modes

Tue, 1 Feb 2011 12:18:22 +0000
Checked in by : Robert Osfield
Added experimental timing and PBO usage into ICO+GCE classes

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.

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/*/*

Mon, 31 Jan 2011 11:35:50 +0000
Checked in by : Robert Osfield
svn propset svn:keywords "Author Date Id Revision" include/OpenThreads/*

Mon, 31 Jan 2011 10:41:17 +0000
Checked in by : Robert Osfield
Set eol-style to native.

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

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."



Fri, 28 Jan 2011 12:34:49 +0000
Checked in by : Robert Osfield
Fixed size of default font

Fri, 28 Jan 2011 11:07:51 +0000
Checked in by : Robert Osfield
From Per Fahlberg, warning fixes

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"

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'
...

The attached file fixes this."



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."

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"

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.
"



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.

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."




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

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"



Thu, 27 Jan 2011 09:41:37 +0000
Checked in by : Robert Osfield
Removed the executable property from source files

Wed, 26 Jan 2011 18:47:55 +0000
Checked in by : Robert Osfield
Implement first pass at texture compile estimation

Wed, 26 Jan 2011 16:47:40 +0000
Checked in by : Robert Osfield
Replaced CompileStats with GraphicsCostEstimator

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."

Wed, 26 Jan 2011 16:45:36 +0000
Checked in by : Robert Osfield
From Mathias Froehlich, build fix for Solaris

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. :-) "

Wed, 26 Jan 2011 12:51:46 +0000
Checked in by : Robert Osfield
Moved GraphicsCostEstimator into osgUtil.

Wed, 26 Jan 2011 12:07:56 +0000
Checked in by : Robert Osfield
Implemented first pass at geometry cost estimation.

Tue, 25 Jan 2011 16:48:53 +0000
Checked in by : Robert Osfield
Fixed warnings

Tue, 25 Jan 2011 11:11:47 +0000
Checked in by : Robert Osfield
Further work on GraphicsCostEstimator classes

Mon, 24 Jan 2011 21:12:25 +0000
Checked in by : Robert Osfield
From Mathias Froehlich, build fixes

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.

Mon, 24 Jan 2011 11:45:45 +0000
Checked in by : Cedric Pinson
From Michael Platings, Fix animation duration when adding channel to animation

Fri, 21 Jan 2011 14:11:22 +0000
Checked in by : Robert Osfield
Added #include to fix build

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.

I did "



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)

Fri, 21 Jan 2011 11:46:15 +0000
Checked in by : Robert Osfield
From Sukender, getPathRelative() method.

Thu, 20 Jan 2011 12:34:41 +0000
Checked in by : Robert Osfield
Added export to see if it address Mingw link problems

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<OpenThreads::Mutex> 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)
"



Thu, 20 Jan 2011 12:27:51 +0000
Checked in by : Robert Osfield
From Per Fahlberg, warning fixes

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.)

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)."



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:

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."



Wed, 19 Jan 2011 10:38:39 +0000
Checked in by : Robert Osfield
From Sukender, normalized option names

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"

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 &)"

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."

Wed, 19 Jan 2011 09:34:26 +0000
Checked in by : Robert Osfield
From Sukender and Robert Osfield, clean up of options

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:

#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.
"



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.

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.

Tue, 18 Jan 2011 09:54:47 +0000
Checked in by : Robert Osfield
Build fix

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.

Mon, 17 Jan 2011 09:10:14 +0000
Checked in by : Robert Osfield
Added getNum methods

Sat, 15 Jan 2011 18:12:19 +0000
Checked in by : Robert Osfield
First steps on the path to integrating ImageProcessor

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".

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)"

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.

You may turn on the feature with the new --fixedDraggerSize argument:

# osgmanipulator.exe --fixedDraggerSize --dragger TranslateAxisDragger
cessna.osg
"



Fri, 14 Jan 2011 12:03:37 +0000
Checked in by : Robert Osfield
From Sukender, "TIFF plugin now outputs messages coming from libtiff. "

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"

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

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."

Thu, 13 Jan 2011 18:49:12 +0000
Checked in by : Robert Osfield
Updated so version number

Thu, 13 Jan 2011 18:05:59 +0000
Checked in by : Robert Osfield
From Tim Moore, added missing ImageProcessor header reference

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.



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.

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.




Wed, 12 Jan 2011 17:39:35 +0000
Checked in by : Robert Osfield
Fixed comment

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."

Tue, 11 Jan 2011 17:29:11 +0000
Checked in by : Robert Osfield
Changed dos endings to unix line endings

Tue, 11 Jan 2011 17:23:22 +0000
Checked in by : Robert Osfield
From Mikhail Izmestev, "Current osgManipulator::AntiSquishCallback stops update traversal of childrens."

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."



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."



Tue, 11 Jan 2011 17:05:24 +0000
Checked in by : Robert Osfield
Changed debug messages to INFO

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.

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.

"



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."

Tue, 11 Jan 2011 16:18:49 +0000
Checked in by : Robert Osfield
From Guy Volckaert, warning fixes

Tue, 11 Jan 2011 11:39:50 +0000
Checked in by : Robert Osfield
Added more flexible testing of Text3D

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.

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.

Wed, 5 Jan 2011 11:43:37 +0000
Checked in by : Robert Osfield
Added check for invalid face size to prevent a crash

Tue, 4 Jan 2011 10:21:50 +0000
Checked in by : Robert Osfield
Added extra checks to osg::Geometry::verifyArrays(std::ostream&)

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.



Fri, 24 Dec 2010 19:47:31 +0000
Checked in by : Robert Osfield
Added iterator include

Fri, 24 Dec 2010 19:19:48 +0000
Checked in by : Robert Osfield
Refactored IncrementalCompileOperation to make it more flexible.

Thu, 23 Dec 2010 13:11:15 +0000
Checked in by : Robert Osfield
Fixed warnings

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

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."

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."

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<T> in a function taking a T* when building without the implicit conversion."

Wed, 22 Dec 2010 20:11:05 +0000
Checked in by : Robert Osfield
Converted FrameStamp::g/setFrameNumber from int to uint

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.

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.

Tue, 21 Dec 2010 10:23:31 +0000
Checked in by : Robert Osfield
Improved indentation to make it more readable and consistent with OSG.

Tue, 21 Dec 2010 09:36:03 +0000
Checked in by : Robert Osfield
Cleaned up the frame number increment.

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...

Instead, we have this:
 UV for vertex 0, layer 1
 UV for vertex 1, layer 1
  ...etc...
 UV for vertex 0, layer 2
 UV for vertex 1, layer 2
  ...etc..."




Mon, 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)

·        lines (simple line clip—replace the external point)

·        quadrilaterals (call operator() for triangles twice)"




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."



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

Mon, 20 Dec 2010 12:03:56 +0000
Checked in by : Robert Osfield
Fixed memory leak by introducing use of ref_ptr<>

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)

tries to use null pointer when model is not provided.
I added simple comment in attached file."





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 .

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."

Fri, 17 Dec 2010 13:43:41 +0000
Checked in by : Robert Osfield
From Tim Moore, fix for race conditions in takeOrGenerate() methods

Fri, 17 Dec 2010 11:46:42 +0000
Checked in by : Robert Osfield
Fixed warnings

Fri, 17 Dec 2010 11:19:29 +0000
Checked in by : Robert Osfield
Added --speed <ratio> command line parameter to osgviewer to enable control of the speed that animation paths are played back at.

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.

Wed, 15 Dec 2010 19:44:29 +0000
Checked in by : Robert Osfield
Fixed the size computation

Wed, 15 Dec 2010 16:30:48 +0000
Checked in by : Robert Osfield
Removed no longer used static member variables

Wed, 15 Dec 2010 12:34:16 +0000
Checked in by : Robert Osfield
Improvements to GLBufferObject and TextureObject pools

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.

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.

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.

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.

Tue, 14 Dec 2010 15:28:31 +0000
Checked in by : Robert Osfield
Removed redundent MinimumNumberOfTextureObjectsToRetainInCache static variable

Tue, 14 Dec 2010 14:32:16 +0000
Checked in by : Robert Osfield
Improved the parsing of output filename

Tue, 14 Dec 2010 13:43:32 +0000
Checked in by : Robert Osfield
Added GLBufferObjectManager::reportStats()

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.

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."




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.

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:

./osgposter --output-poster --poster output.bmp --tilesize 800 600
--finalsize 8000 6000 cow.osg --inactive --camera-eye 0 0 20
"



Mon, 13 Dec 2010 17:54:27 +0000
Checked in by : Robert Osfield
Renamed osgviewerQtContext to osgviewerQt, and removed deprecated examples from CMakeLists.txt

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

Mon, 13 Dec 2010 17:50:00 +0000
Checked in by : Robert Osfield
Moved osgbrowser into svn/trunk.

Mon, 13 Dec 2010 17:49:37 +0000
Checked in by : Robert Osfield
Move osgcegui into deprecated

Mon, 13 Dec 2010 17:37:42 +0000
Checked in by : Robert Osfield
Have moved FindXUL.cmake to deprecated

Mon, 13 Dec 2010 17:36:02 +0000
Checked in by : Robert Osfield
Have moved gecko plugin to deprecated

Mon, 13 Dec 2010 17:09:31 +0000
Checked in by : Robert Osfield
Added resizeGLObjectBuffers(uint) and relaseGLObjects(State*) to BufferData.

Mon, 13 Dec 2010 16:25:50 +0000
Checked in by : Robert Osfield
Moved GraphicsWindowQt from osgviewerQtContext into osgQt.

Mon, 13 Dec 2010 13:41:42 +0000
Checked in by : Robert Osfield
Fixed warnings

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.

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
 "



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.

* the registry releases gl objects of the shared state manager
 "



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.

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.
"



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."

Sun, 12 Dec 2010 10:00:57 +0000
Checked in by : Robert Osfield
Added TODO notes

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

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"

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."

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. "

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."



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. "

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

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."



Fri, 10 Dec 2010 15:27:19 +0000
Checked in by : Robert Osfield
Refactor of DatabasePage/IncrementalCompileOperation to use the IncrementalCompileOperator for compiling objects

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

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

Wed, 8 Dec 2010 11:01:37 +0000
Checked in by : Robert Osfield
Updated version number for 2.9.11 dev release

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. "

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

Wed, 8 Dec 2010 09:52:58 +0000
Checked in by : Robert Osfield
Fixes for benign threading memory contentions.

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

Fri, 3 Dec 2010 19:04:50 +0000
Checked in by : Robert Osfield
Updated ChangeLog and AUTHORS for release

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());

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.
"



Fri, 3 Dec 2010 17:20:32 +0000
Checked in by : Robert Osfield
Removed redundent call.

Fri, 3 Dec 2010 14:24:23 +0000
Checked in by : Robert Osfield
Commented out debug message

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

Thu, 2 Dec 2010 14:20:52 +0000
Checked in by : Robert Osfield
From Ulrich Hertlein, "Attached; here's a summary of the changes: - CMakeLists.txt -- don't look for GL when compiling for iOS (device or simulator), look for OGLES instead -- use architecture i386 for simulator -- removed iphoneos-version-min for simulator- examples/osgviewerIPhone/CMakeLists.txt
-- added build dependencies for osgdb_osg, osgdb_freetype, osgdb_imageio
-- added framework QuartzCore link dependency

- src/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++

"



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."




Thu, 2 Dec 2010 14:01:54 +0000
Checked in by : Robert Osfield
Ran dos2unix to fix line endings

Thu, 2 Dec 2010 13:53:10 +0000
Checked in by : Robert Osfield
From Brad Christiansen, commented out debug messages

Thu, 2 Dec 2010 09:39:31 +0000
Checked in by : Robert Osfield
Removed redudent makeCurrentImplementation() that was causing a crash in osgscreencapture.

Wed, 1 Dec 2010 20:14:34 +0000
Checked in by : Robert Osfield
Updated AUTHORS and Contributors.cpp to reflect new ChangeLog correctly

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:"



Wed, 1 Dec 2010 14:03:10 +0000
Checked in by : Robert Osfield
Updated ChangeLog

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."

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."

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

Tue, 30 Nov 2010 12:34:06 +0000
Checked in by : Robert Osfield
Added passing of existingObj parameter

Tue, 30 Nov 2010 11:34:33 +0000
Checked in by : Robert Osfield
From Stephan Huber, compile fix for iOS

Tue, 30 Nov 2010 09:26:18 +0000
Checked in by : Robert Osfield
From Ulrich Hertlein and Stephan Huber, improves to iOS build

Tue, 30 Nov 2010 08:12:06 +0000
Checked in by : Robert Osfield
From Wang Rui, Compile fixes

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;

* 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."





Mon, 29 Nov 2010 09:32:43 +0000
Checked in by : Robert Osfield
Removed deperecated variables that are no longer used.

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

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.




Fri, 26 Nov 2010 17:37:42 +0000
Checked in by : Robert Osfield
From Katharina Plugge, fix for regression in handling of multitexturing.

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

Fri, 26 Nov 2010 17:32:10 +0000
Checked in by : Robert Osfield
Updated ChangeLog

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.

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."

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."

Fri, 26 Nov 2010 12:22:06 +0000
Checked in by : Robert Osfield
Removed debug messages

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"



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"





Thu, 25 Nov 2010 13:00:24 +0000
Checked in by : Robert Osfield
From Tim Moore, fix to stats timing

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.

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. "

Thu, 25 Nov 2010 11:59:33 +0000
Checked in by : Robert Osfield
From Magnus Kessler, "applications/osgconv: fix typo in tool optionstransprent -> transparent"



Thu, 25 Nov 2010 11:40:09 +0000
Checked in by : Robert Osfield
Removed default assignement of GeometryTechnique as the TerrainTechniquePrototype.

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."



Wed, 24 Nov 2010 20:20:57 +0000
Checked in by : Robert Osfield
From Jean-Sebastien Guay, build fixes for windows.

Wed, 24 Nov 2010 17:01:09 +0000
Checked in by : Robert Osfield
Added workaround for AMD/ATI driver bug

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.""



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."

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

Tue, 23 Nov 2010 14:50:31 +0000
Checked in by : Robert Osfield
From Holger Helmich, Tessellation shader support

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.


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.
"



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

Mon, 22 Nov 2010 19:18:00 +0000
Checked in by : Robert Osfield
Fixed typo

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."

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."

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.

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 )"




Mon, 22 Nov 2010 15:52:20 +0000
Checked in by : Robert Osfield
Fixed indentation

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."

Mon, 22 Nov 2010 11:22:03 +0000
Checked in by : Robert Osfield
Fixed typo of commercial

Mon, 22 Nov 2010 10:41:04 +0000
Checked in by : Robert Osfield
From Hartwig Wiesmann, fix to font search path under OSX.

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."

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.
"



Fri, 19 Nov 2010 18:07:17 +0000
Checked in by : Robert Osfield
From Sukender, fix for precision of Plane::asVec4()

Fri, 19 Nov 2010 17:47:53 +0000
Checked in by : Robert Osfield
Commented out debug output

Fri, 19 Nov 2010 17:47:30 +0000
Checked in by : Robert Osfield
Update SOVERSION

Fri, 19 Nov 2010 09:57:56 +0000
Checked in by : Robert Osfield
Update Text wrappers to handle new Color member

Fri, 19 Nov 2010 09:57:34 +0000
Checked in by : Robert Osfield
Updated SO version to reflect changes in API of osgText

Thu, 18 Nov 2010 17:59:55 +0000
Checked in by : Robert Osfield
Moved text color into TextBase, added support for colour into Text3D

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.

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.

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

Wed, 17 Nov 2010 10:19:25 +0000
Checked in by : Robert Osfield
Added texture pool handler to print out results from texture pool

Wed, 17 Nov 2010 10:16:45 +0000
Checked in by : Robert Osfield
Added quite size test.

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}"

Fri, 12 Nov 2010 11:04:53 +0000
Checked in by : Robert Osfield
Fixed warnings

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.

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.

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.

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.
"



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."

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."

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.




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."



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.

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

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."

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).

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
"




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.

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

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.
"



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.

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."



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.

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."



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.

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).

  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.
"



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. "

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. "

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
"



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."

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

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."



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."

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.

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. "



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.
"



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)."

Thu, 4 Nov 2010 11:05:47 +0000
Checked in by : Robert Osfield
From David Callu, fix in FrameBufferObject when using Texture2Darray and GeometryShader.

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. "

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:

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""



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"

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:

- 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.

"



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. "

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

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.
"



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."

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.

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. "

Tue, 2 Nov 2010 11:27:38 +0000
Checked in by : Robert Osfield
Fixed function name

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.
"



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.

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."

Mon, 1 Nov 2010 17:02:48 +0000
Checked in by : Robert Osfield
From Sukender, fix for incorrect for loop test.

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.

- 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.



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.

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.

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. "

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.

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
"



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."

Fri, 29 Oct 2010 09:35:54 +0000
Checked in by : Robert Osfield


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

Fri, 29 Oct 2010 08:31:54 +0000
Checked in by : Robert Osfield
Fixed warning

Thu, 28 Oct 2010 15:52:52 +0000
Checked in by : Robert Osfield
Commented out unused ElapsedTimer

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.

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.

Thu, 28 Oct 2010 14:01:47 +0000
Checked in by : Robert Osfield
Added handling of vertex buffer objects into osg::Geometry copy constructor.

Thu, 28 Oct 2010 14:01:10 +0000
Checked in by : Robert Osfield
Improved code style consistency

Thu, 28 Oct 2010 14:00:25 +0000
Checked in by : Robert Osfield
Quitened down debug messages

Wed, 27 Oct 2010 13:49:16 +0000
Checked in by : Robert Osfield
Fixed getEnableDepthWrites() naming.

Tue, 26 Oct 2010 14:59:12 +0000
Checked in by : Robert Osfield
Added command line options:--tristripper
--no-tristripper
--smoother
--no-smoother

--remove-duplicate-vertices / --rdv
--optimize-vertex-cache / --ovc
--optimize-vertex-order / --ovo




Mon, 25 Oct 2010 13:42:01 +0000
Checked in by : Robert Osfield
Added number of primitive sets to on screen stats

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.



Fri, 22 Oct 2010 16:44:52 +0000
Checked in by : Robert Osfield
Added StateSetManipulator usage

Fri, 22 Oct 2010 16:35:28 +0000
Checked in by : Robert Osfield
Added support for enable VBO's and doing simplification.

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

Fri, 22 Oct 2010 12:19:22 +0000
Checked in by : Robert Osfield
Added paging support to osganalysis example

Thu, 21 Oct 2010 16:29:23 +0000
Checked in by : Robert Osfield
Integrated IncementalCompileOperation into DatabasePager.Improved various facilities in IncrementalCompileOperation.



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.

Thu, 14 Oct 2010 18:16:03 +0000
Checked in by : Robert Osfield
Introduction of IncrementalCompileOperation support to DatabasePager.

Thu, 14 Oct 2010 13:35:36 +0000
Checked in by : Robert Osfield
Introduced SubloadCallback::generatdTextureObject() method.

Thu, 14 Oct 2010 12:20:51 +0000
Checked in by : Robert Osfield
From Wang Rui, warning fix.

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

Thu, 14 Oct 2010 09:31:09 +0000
Checked in by : Robert Osfield
From Wang Rui, QT based OpenThreads implementation

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.




Sat, 9 Oct 2010 11:51:24 +0000
Checked in by : Robert Osfield
Changed the _ARB cube map defines to non ARB versions.

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

Fri, 8 Oct 2010 18:53:16 +0000
Checked in by : Robert Osfield
Tempory fix for regression due to remove of glPushAttrib/glPopAttrib

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.

Fri, 8 Oct 2010 17:13:59 +0000
Checked in by : Robert Osfield
Build fixes for GLES1, GLES2 and GL3

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.

Thu, 7 Oct 2010 11:53:28 +0000
Checked in by : Robert Osfield
Introduced osg namespace to new local GLU functions

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.

Wed, 6 Oct 2010 19:09:48 +0000
Checked in by : Robert Osfield
Added #define GL_PROXY_TEXTURE_3D

Wed, 6 Oct 2010 18:51:53 +0000
Checked in by : Robert Osfield
Fixed warning

Wed, 6 Oct 2010 18:37:43 +0000
Checked in by : Robert Osfield
Changed tabs to 8 spaces

Wed, 6 Oct 2010 18:34:36 +0000
Checked in by : Robert Osfield
From Jean-Sebastien Guay and Robert Osfield, build fix for Windows

Wed, 6 Oct 2010 18:29:23 +0000
Checked in by : Robert Osfield
Added #define for Windows build

Wed, 6 Oct 2010 17:19:01 +0000
Checked in by : Robert Osfield
Added #define GLAPIENTRY to attempt to resolve some Windows build issues

Wed, 6 Oct 2010 16:36:30 +0000
Checked in by : Robert Osfield
Added #define's and local include<osg/Image> to fix Windows GL 1.1 build against

Wed, 6 Oct 2010 16:29:16 +0000
Checked in by : Robert Osfield
From Jean-Sebasien Guay, fix windows compile error

Wed, 6 Oct 2010 15:33:43 +0000
Checked in by : Robert Osfield
Removed gluois.h reference

Wed, 6 Oct 2010 15:14:01 +0000
Checked in by : Robert Osfield
Removed usage gluos.h and redundent gluint.h

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.



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.




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."

Mon, 4 Oct 2010 11:24:54 +0000
Checked in by : Robert Osfield
Added glMultMatrixf path for GLES1

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

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.

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.
"



Fri, 1 Oct 2010 17:07:27 +0000
Checked in by : Robert Osfield


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."

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.  "

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". "

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."

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."

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

Thu, 30 Sep 2010 09:40:48 +0000
Checked in by : Robert Osfield
From Stephan Huber, fixed build under OSX 10.5.

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 &quot; 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."



Wed, 29 Sep 2010 13:21:34 +0000
Checked in by : Robert Osfield
Fixed Text3D's handling of character aspect ratio.

Wed, 29 Sep 2010 12:45:35 +0000
Checked in by : Robert Osfield
Moved handling of character aspect ratio into osgText::Style.

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.

Wed, 29 Sep 2010 11:34:55 +0000
Checked in by : Robert Osfield
Moved set/getFont from Text/Text3D into TextBase

Wed, 29 Sep 2010 11:09:32 +0000
Checked in by : Robert Osfield
Removed getScale() parameter from osgText::Font

Wed, 29 Sep 2010 10:54:53 +0000
Checked in by : Robert Osfield
Fixed type of numberical constant

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.

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.

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.

Sun, 26 Sep 2010 11:02:03 +0000
Checked in by : Robert Osfield
Added include<osg/Geode> to fix compile error

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."

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."



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 >>. "

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

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



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

Wed, 22 Sep 2010 09:50:07 +0000
Checked in by : Robert Osfield
Added deprecated notices.

Tue, 21 Sep 2010 11:40:50 +0000
Checked in by : Robert Osfield
Updated ChangeLog and AUTHORS file for 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. "

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."

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.

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

/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).
"



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'"

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.

Fri, 17 Sep 2010 14:26:27 +0000
Checked in by : Robert Osfield
Updated ChangeLog, AUTHORS for 2.9.9 dev release

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

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.

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."

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."

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)."

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 ;)"



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.

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.




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:

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<osg::Geode> geode = new osg::Geode;
geode->addDrawable(geom0);
geode->addDrawable(geom1);

std::stringstream buffer;

// write node
osg::ref_ptr<osgDB::Options> 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.
"



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

Wed, 15 Sep 2010 13:04:35 +0000
Checked in by : Robert Osfield
Fixed warning

Wed, 15 Sep 2010 12:50:16 +0000
Checked in by : Robert Osfield
From Magnus Kessler, "Fix a small typo in present3D usage string"

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."

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."

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."

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."



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.




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.

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."



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.

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.

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.
"



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.
 "



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.

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.
"



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:<code>
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'
</code>

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.

"



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.

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:

[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.
"



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."



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."

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)."

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.

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.
"



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."

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. "

Thu, 9 Sep 2010 09:05:33 +0000
Checked in by : Robert Osfield
Added version check for av_lockmgr_register support.

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.

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.




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.

Wed, 8 Sep 2010 10:46:49 +0000
Checked in by : Robert Osfield
Added support for honouring PrimitiveSet names in new smoothing algorithm

Wed, 8 Sep 2010 08:09:01 +0000
Checked in by : Robert Osfield
From Jean-Sebastien Guay, build fixes for Windows

Tue, 7 Sep 2010 19:55:41 +0000
Checked in by : Robert Osfield
Removed files that have been moved into osgText.

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.

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.



Mon, 6 Sep 2010 15:43:59 +0000
Checked in by : Robert Osfield
Further work on new 3D text support

Fri, 3 Sep 2010 15:03:42 +0000
Checked in by : Robert Osfield
Added basic wiring up of TextTechnique to 3D glyph code

Fri, 3 Sep 2010 09:10:27 +0000
Checked in by : Robert Osfield
Removed now redundent Font3D files

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

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



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);




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.

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.

Wed, 25 Aug 2010 11:07:30 +0000
Checked in by : Robert Osfield
Cleaned up main and introduced --samples <num>, --flat, --smooth command line controls.Add StatsHandler to viewer to enable review of different settings on number vertices/triangles.



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).

Tue, 24 Aug 2010 16:08:50 +0000
Checked in by : Robert Osfield
Implemented the shell geometry code

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

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.

Fri, 20 Aug 2010 10:24:06 +0000
Checked in by : Robert Osfield
Fixed bug in handling large osg::Geometry.

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.

Wed, 18 Aug 2010 11:14:58 +0000
Checked in by : Robert Osfield
Improved the detection of problem vetices and associated triangles

Tue, 17 Aug 2010 19:48:19 +0000
Checked in by : Robert Osfield
Fixed indentation

Tue, 17 Aug 2010 19:48:07 +0000
Checked in by : Robert Osfield
Implemented basic duplication of points that sit on sharp edges.

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.

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


Tue, 17 Aug 2010 13:10:18 +0000
Checked in by : Robert Osfield
Added support for RGTC1 and RGTC2 enums

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

"



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. "

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."

Mon, 16 Aug 2010 14:24:12 +0000
Checked in by : Robert Osfield
Added material setName.

Mon, 16 Aug 2010 14:14:03 +0000
Checked in by : Robert Osfield
Added support for USE_RGBT1_COMPRESSION and USE_RGBT2_COMPRESSION

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."

Mon, 16 Aug 2010 11:03:24 +0000
Checked in by : Robert Osfield
Changed setTransformation(eye, center, up) paramter ordering to match gluLookAt conventions.

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."

Mon, 16 Aug 2010 09:35:59 +0000
Checked in by : Robert Osfield
From Alexander Wiebel, "Documentation of PrimitiveSet"

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

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."




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.

Mon, 9 Aug 2010 16:14:25 +0000
Checked in by : Robert Osfield
Cleaned up the inline methods

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. "

Sun, 8 Aug 2010 15:44:03 +0000
Checked in by : Robert Osfield
Removed the erroneous subclassing from osg::Observer

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."

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;"



Wed, 4 Aug 2010 08:35:49 +0000
Checked in by : Cedric Pinson
From Rob Smith, makes hardware skinning use of the existing stateset

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."

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

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."



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

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."



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);

whereas it should read

                   ^^^
 parameters.filter_mag = getFilterMode(sampler->getMagfilter()->
    getValue(), false);
"



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 <iterator>. This is a very common fix when using 2010 due to changes in Microsoft STL. "

Sat, 31 Jul 2010 09:21:50 +0000
Checked in by : Robert Osfield
Fixed build

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.

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.
"



Sat, 31 Jul 2010 09:03:04 +0000
Checked in by : Robert Osfield
From Ryan Kawicki, fixed indentation

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:

"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."



Sat, 31 Jul 2010 08:56:44 +0000
Checked in by : Robert Osfield
Added output of triangles at problem vertices

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.

Fri, 30 Jul 2010 16:06:22 +0000
Checked in by : Robert Osfield
Changed emit() to emitParticles() to avoid collision with Qt.

Thu, 29 Jul 2010 16:09:49 +0000
Checked in by : Robert Osfield
From Wang Rui, fixes to handling of indentation.

Mon, 26 Jul 2010 11:12:45 +0000
Checked in by : Robert Osfield
Added bevel geometry

Mon, 26 Jul 2010 11:06:45 +0000
Checked in by : Robert Osfield
Clean up boudnary code

Mon, 26 Jul 2010 08:41:05 +0000
Checked in by : Robert Osfield
Added a os<<std::endl; to work around a problem with the ascii serializers doing a negative seek that eats characters

Wed, 21 Jul 2010 17:34:28 +0000
Checked in by : Michael PLATINGS
From Sukender: polygon tessellation

Tue, 20 Jul 2010 10:46:27 +0000
Checked in by : Robert Osfield
Implemented boundary polygon creation based on the refined boundary segments

Mon, 19 Jul 2010 20:34:15 +0000
Checked in by : Robert Osfield
Added boundary bisector computation, bisector intersection thickness and segment removal.

Sat, 17 Jul 2010 12:03:17 +0000
Checked in by : Robert Osfield
Added computeIntersectionPoint and computeBisectorNormal functions

Thu, 15 Jul 2010 11:32:31 +0000
Checked in by : Robert Osfield
Added handling of duplicate vertices

Thu, 15 Jul 2010 11:31:07 +0000
Checked in by : Robert Osfield
Fixed duplicate vertices in Font3D outline generation

Wed, 14 Jul 2010 18:50:41 +0000
Checked in by : Robert Osfield
Added raw primitive and vertex data into the osgText::Font3D and FreeTypePlugin to aid development of new 3D text functionality.Added new test for original 3D text support and new experimental code for exploring approaches to new 3D text support.



Mon, 12 Jul 2010 11:30:15 +0000
Checked in by : Robert Osfield
From Mathias Froehlich, "I have now put together what I have for the order independent transparency or short oit. This rendering technique is also known as depth peeling.Attached is the example that makes depth peeling work with the fixed function
pipeline. Ok, this is 'old fashioned' but required for our use case that
still has to work on older UNIX OpenGL implementations as well as together
with a whole existing application making use of the fixed function pipeline.
I can imagine to add support for shaders when we have that shader composition
framework where we can add a second depth test in a generic way.

This does *not* implement the dual depth peeling described in a paper from the
ETH Zurich.

This example could serve as a test case for the feature that you can on the
fly remove pre render cameras that you made work a few time ago.
It is also a test case for the new TraversalOrderBin that is used to composite
the depth layers in the correct blend order.
This example also stresses your new texture object cache since you can change
some parameters for the oit implementation at runtime.

You can just load any model with osgoit and see how it works.
Use the usual help key to see what you can change.

There is already an osgdepthpeeling example that I could not really make sense
of up to now. So I just made something new without touching what I do not
understand."



Sat, 10 Jul 2010 17:14:59 +0000
Checked in by : Robert Osfield
Added debug State::print(std::ostream&) method and extra debug messages in ShaderComposer and ShaderAttribute.Added better shader composition testing in the osgshadercomposition example.



Sat, 10 Jul 2010 10:07:59 +0000
Checked in by : Robert Osfield
From Pierre Bourdin, "just a small typo in debug messages of Viewer.cpp..."

Sat, 10 Jul 2010 09:56:06 +0000
Checked in by : Robert Osfield
From Michael Platings, "Autodesk have re-released 2011.3 of the FBX SDK with Visual Studio 2010 support ( http://images.autodesk.com/adsk/files/fbx20113_fbxsdk_win_static.exe ). I've attached an updated FindFBX.cmake that supports this latest version but also retains support for FBX 2011.2 for those who don't want to update."

Thu, 8 Jul 2010 10:56:34 +0000
Checked in by : Robert Osfield
From Wang Rui, "I've found a minor bug in the cmake script of src/osgPresentation when testing the osgIntrospection project. It missed the Export header file and thus will not install this file while 'make install'. Add a line to the LIB_PUBLIC_HEADERS variable will fix the issue."

Thu, 8 Jul 2010 10:51:37 +0000
Checked in by : Robert Osfield
From Jean-Sebastien Guay and Martin Scheffler, "First are Martin's changes: * Added support for floating windows and context menus in QMDIAreas. * Protected the size (_width and _height) by a mutex to prevent threading problems.Then my own:
* Made sure the embedded widget's size follows the graphicsView's size at all times so that window resizes will resize the widget as expected in fullscreen mode."




Wed, 7 Jul 2010 11:02:15 +0000
Checked in by : Robert Osfield
Added some debugging to investigate issue of global default ShaderAttribute not being automatically assigned.

Tue, 6 Jul 2010 12:19:26 +0000
Checked in by : Robert Osfield
Added compile/release and resize of GL objects to ShaderAttribute.Removed the StateAttribute::compose() method.

Fixed the default type value in ShaderAttribute



Tue, 6 Jul 2010 10:55:54 +0000
Checked in by : Robert Osfield
Added support for passing on uniforms from StateAttribute

Mon, 5 Jul 2010 16:32:58 +0000
Checked in by : Robert Osfield
Added basic code injection fields to osg::Shader, creation of main shader to ShaderComposer and collection of ShaderComponent to osg::State. Also added very basic shader set up in osgshadecomposition example.

Fri, 2 Jul 2010 14:18:59 +0000
Checked in by : Robert Osfield
Implement basic cache in ShadeComposer

Fri, 2 Jul 2010 12:04:20 +0000
Checked in by : Robert Osfield
Added basic ShaderComponent class and beginnings osgshadercomposition example

Mon, 28 Jun 2010 17:27:56 +0000
Checked in by : Robert Osfield
From Stephan Huber, fixed typo.

Mon, 28 Jun 2010 09:52:18 +0000
Checked in by : Robert Osfield
Added skipping of newlines in AsciiStreamOperator.h

Mon, 28 Jun 2010 08:27:30 +0000
Checked in by : Robert Osfield
From Wang Rui, "A solution for serialziers to call static functions at the end of reading/writing is to use a user serializer. The serialziers/osgManipulator/Draggers.cpp uses a DefaultGeometry serializer to run setupDefaultGeometry() once the reading process is finished, and this can also be applied to load the TerrainTileCallback.I've attached the modified serializer/osgTerrain/TerrainTile.cpp for tracing and solving current problem."



Mon, 28 Jun 2010 08:24:53 +0000
Checked in by : Robert Osfield
From Brad Christiansen, "The small change I have made (against this morning's trunk) enables subclasses to register and unregister windows via protected methods. I need this access as I have a subclass that handles some of the oddities of mixing a native OpenGL window with Java's windowing system. I doubt there will be much general benefit of the modification but it should also not be harmful in any way to others."

Mon, 28 Jun 2010 08:20:59 +0000
Checked in by : Robert Osfield
From Torben Dannhauer, "I have extended the attached zipped file to recognize some more filenames and versions. I added support to find libxml2 in the 3rdparty package if available.Now this file can find all libraries from the 32/64bit VS2008sp1 dependency package except collada. I will add that later.
"



Sat, 26 Jun 2010 09:55:18 +0000
Checked in by : Robert Osfield
Checked in missing source file.

Thu, 24 Jun 2010 17:15:27 +0000
Checked in by : Robert Osfield
Added beginnings of shader composition with the shells of the ShaderComposer and ShaderAttribute classes.  This aren't functional yet, but a useful placeholders for future fucntionality.

Thu, 24 Jun 2010 15:43:33 +0000
Checked in by : Robert Osfield
Fixed typo

Thu, 24 Jun 2010 14:03:51 +0000
Checked in by : Robert Osfield
Renamed osgshadercompositor to osgvirtualprogram.

Wed, 23 Jun 2010 14:38:49 +0000
Checked in by : Robert Osfield
From Magnus Kessler, "FFmpeg headers need __STDC_CONSTANT_MACROS defined before stdint.h is loaded. The file FFmpegHeaders.hpp sets this definition. However, if stdint.h is already included through other files, it won't take any effect.Include FFmpeg headers as early as possible in order to avoid stdint.h being
included on other paths.
"



Wed, 23 Jun 2010 14:18:42 +0000
Checked in by : Robert Osfield
Removed osgIntrospection and added osgQt to doxygen files

Wed, 23 Jun 2010 13:28:19 +0000
Checked in by : Robert Osfield
Removed osgIntrospection as it's now available as a seperate osgIntrospection project that can be checked out thus: svn co http://www.openscenegraph.org/svn/osg/osgIntrospection osgIntrospection




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()."



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.

2. New .pc file for osgQt, also created only if that library is actually
compiled.
"



Mon, 21 Jun 2010 15:09:07 +0000
Checked in by : Robert Osfield
Moved Xcode project out into OpenSceneGraph/deprecated

Mon, 21 Jun 2010 14:42:18 +0000
Checked in by : Robert Osfield
Implement support for compound name only entries in CompositeLayer

Mon, 21 Jun 2010 10:33:46 +0000
Checked in by : Robert Osfield
Updated version number for next dev release

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."

Fri, 18 Jun 2010 16:07:55 +0000
Checked in by : Robert Osfield
Updated ChangeLog and AUTHORS file for 2.9.8 release

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."

Fri, 18 Jun 2010 15:46:10 +0000
Checked in by : Robert Osfield
Updated AUTHORS

Fri, 18 Jun 2010 15:16:20 +0000
Checked in by : Robert Osfield
Updated ChangeLog

Fri, 18 Jun 2010 14:53:58 +0000
Checked in by : Robert Osfield
Added checks against windows being realized before doing warp pointer

Fri, 18 Jun 2010 09:48:55 +0000
Checked in by : Robert Osfield
#if 0'd out debugging timing code for detecting deadlocks

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

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 <iterator> 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.
"



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."

Tue, 15 Jun 2010 09:09:38 +0000
Checked in by : Michael PLATINGS
Changed _strnicmp to strncasecmp for non-Windows builds

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."





Mon, 14 Jun 2010 16:30:43 +0000
Checked in by : Robert Osfield
From Luc Frauciel, added extra test case accessible via -t 7.

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

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."

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.
"



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."



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."

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.

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.

Fri, 11 Jun 2010 09:39:03 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 9 Jun 2010 15:05:34 +0000
Checked in by : Robert Osfield
Removed debug messages

Wed, 9 Jun 2010 13:54:08 +0000
Checked in by : Robert Osfield
Fixed reading of wrapped strings that contain multiple " within the string

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

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.

Wed, 9 Jun 2010 11:24:22 +0000
Checked in by : Robert Osfield
Added missing loadWrappers

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(). "

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.


Tue, 8 Jun 2010 17:32:36 +0000
Checked in by : Michael PLATINGS
Added support for Euler angles and step/linear/cubic-bezier interpolation.

Tue, 8 Jun 2010 11:53:28 +0000
Checked in by : Robert Osfield
Added ref_ptr<> to avoid memory leak

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.

Mon, 7 Jun 2010 15:25:18 +0000
Checked in by : Michael PLATINGS
Added more NURBS types to triangulate.

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.

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.

Mon, 7 Jun 2010 08:36:08 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode project

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.


Fri, 4 Jun 2010 11:04:15 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode project

Thu, 3 Jun 2010 16:24:25 +0000
Checked in by : Robert Osfield
Fixed double registeration bug.

Thu, 3 Jun 2010 16:02:01 +0000
Checked in by : Robert Osfield
Fixed permissions

Thu, 3 Jun 2010 16:01:25 +0000
Checked in by : Robert Osfield
Fixed permissions

Thu, 3 Jun 2010 16:00:28 +0000
Checked in by : Robert Osfield
Removed redundent makefiles

Thu, 3 Jun 2010 15:09:06 +0000
Checked in by : Robert Osfield
Fixed permissions

Thu, 3 Jun 2010 15:07:21 +0000
Checked in by : Robert Osfield
Fixed permissions

Thu, 3 Jun 2010 15:04:58 +0000
Checked in by : Robert Osfield
Fixed permissions

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.

Wed, 2 Jun 2010 18:09:34 +0000
Checked in by : Robert Osfield
Added #include <QtWebKit/QtWebKit>

Wed, 2 Jun 2010 15:07:27 +0000
Checked in by : Robert Osfield
Added check for presence of extension.

Wed, 2 Jun 2010 13:29:42 +0000
Checked in by : Robert Osfield
Removed glFramebufferTexture from list of required extension function

Wed, 2 Jun 2010 12:14:10 +0000
Checked in by : Robert Osfield
Updated wrappers to handle the new ref_ptr<T>::ref_ptr(observer_ptr<T>&> constructor.

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

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"

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 );

it works also for cubemap textures and 2d texture arrays
"



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

Tue, 1 Jun 2010 13:32:12 +0000
Checked in by : Robert Osfield
Added newline to fix warnings

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.
"



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()."



Tue, 1 Jun 2010 11:23:04 +0000
Checked in by : Robert Osfield
Removed unneccessary QWebKit includes

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."

Tue, 1 Jun 2010 09:21:42 +0000
Checked in by : Robert Osfield
From Tim Moore, fixed typo and removed redundent include

Mon, 31 May 2010 17:16:45 +0000
Checked in by : Robert Osfield
Updated wrappers

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'."

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"



Mon, 31 May 2010 15:51:59 +0000
Checked in by : Robert Osfield
Added support for a wider range of gpx files

Fri, 28 May 2010 17:17:34 +0000
Checked in by : Robert Osfield
Added OSG_DEBUG_DP macro

Fri, 28 May 2010 17:17:09 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 17:16:49 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 17:15:47 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 17:14:58 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 17:14:29 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 17:14:11 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 17:13:41 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 17:13:20 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 17:12:55 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 17:12:14 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 17:11:35 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 17:11:14 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 17:10:57 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 17:10:27 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 17:10:06 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 17:09:36 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 17:09:15 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 17:08:30 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 17:08:10 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 17:07:44 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 17:07:24 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 17:07:01 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 17:06:35 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 17:06:10 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 17:05:46 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:54:45 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:54:08 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:53:46 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:52:45 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:51:18 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:50:45 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:50:29 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:49:45 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:49:23 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:48:31 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:48:05 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:47:42 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:45:32 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:44:28 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:44:08 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:42:57 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:42:24 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:41:53 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:41:37 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:39:42 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:39:08 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:38:19 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:38:00 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:37:40 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:37:10 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:32:51 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:32:06 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:31:38 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:31:17 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:30:58 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:30:36 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:29:53 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:28:58 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:28:18 +0000
Checked in by : Robert Osfield
Converted osg::notify to use info

Fri, 28 May 2010 16:27:37 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO

Fri, 28 May 2010 16:27:02 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:26:24 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:25:41 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:24:04 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO

Fri, 28 May 2010 16:22:02 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:10:24 +0000
Checked in by : Robert Osfield
Conversion of osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:09:29 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:08:15 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:07:34 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO

Fri, 28 May 2010 16:07:09 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:06:15 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:05:47 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:04:56 +0000
Checked in by : Robert Osfield
Convertex osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:04:19 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:03:38 +0000
Checked in by : Robert Osfield
Conversion of osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:03:14 +0000
Checked in by : Robert Osfield
Converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 16:00:45 +0000
Checked in by : Robert Osfield
converted osg::notify to OSG_INFO etc.

Fri, 28 May 2010 15:56:43 +0000
Checked in by : Robert Osfield
conversion of osg::notify to OSG_INFO etc.

Fri, 28 May 2010 15:53:32 +0000
Checked in by : Robert Osfield
Conversion of osg::notify to OSG_INFO.

Fri, 28 May 2010 15:52:45 +0000
Checked in by : Robert Osfield
Conversion of osg::notify to OSG_INFO etc.

Fri, 28 May 2010 15:51:00 +0000
Checked in by : Robert Osfield
Conversion of osg::notify to OSG_INFO etc.

Fri, 28 May 2010 15:47:52 +0000
Checked in by : Robert Osfield
Convesion of osg::notify to OSG_INFO etc.

Fri, 28 May 2010 09:12:07 +0000
Checked in by : Robert Osfield
Changed debug info to use DEBUG_INFO

Fri, 28 May 2010 08:57:48 +0000
Checked in by : Robert Osfield
Changed the ref_ptr<T> observer_ptr<>::lock() method to be bool observer_ptr<>::lock(ref_ptr<T>&) to avoid the temporary ref_ptr<>'s being created and destroyed on the stack along with the associated ref/unref() operations

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

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

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)"

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

Thu, 27 May 2010 13:58:46 +0000
Checked in by : Robert Osfield
Moved across to using more flexible dirtyMark when dirtying tiles

Wed, 26 May 2010 16:10:16 +0000
Checked in by : Robert Osfield
Re-enabled boundary equalization support.

Wed, 26 May 2010 08:34:15 +0000
Checked in by : Robert Osfield
Fixed warnings

Tue, 25 May 2010 17:02:22 +0000
Checked in by : Robert Osfield
Fixed 3 space indenting

Tue, 25 May 2010 17:02:11 +0000
Checked in by : Robert Osfield
Fixed 3 space indenting in headers.

Tue, 25 May 2010 16:27:21 +0000
Checked in by : Robert Osfield
Updated wrappers

Tue, 25 May 2010 15:52:11 +0000
Checked in by : Robert Osfield
Removed export

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.
"

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.




Mon, 24 May 2010 14:16:31 +0000
Checked in by : Robert Osfield
Quitened down debug output

Mon, 24 May 2010 09:44:38 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Fri, 21 May 2010 09:56:59 +0000
Checked in by : Robert Osfield
From Wojciech Lewandowski, "Reading and Writing of Texture2DArrays for IVE format."

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 ;-)  "

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.

Fri, 21 May 2010 09:00:19 +0000
Checked in by : Robert Osfield
Fixed warning

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. "

Thu, 20 May 2010 17:00:10 +0000
Checked in by : Robert Osfield
From Terry Welsh, added missing static_cast in Referenced.cpp

Thu, 20 May 2010 15:25:40 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Wed, 19 May 2010 16:43:37 +0000
Checked in by : Robert Osfield
From Alok Priyadarshi, build fix for gcc.

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

Wed, 19 May 2010 13:14:57 +0000
Checked in by : Robert Osfield
From Tim Moore, fix for deadlock

Wed, 19 May 2010 08:22:10 +0000
Checked in by : Robert Osfield
Fixed warning

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."

Tue, 18 May 2010 18:01:02 +0000
Checked in by : Robert Osfield
From Tim Moore, typo fix.

Tue, 18 May 2010 17:58:35 +0000
Checked in by : Robert Osfield
Fixed typo

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.

Tue, 18 May 2010 11:00:06 +0000
Checked in by : Robert Osfield
From Wang Rui, serializers for osgSim and osgVolume

Tue, 18 May 2010 10:12:30 +0000
Checked in by : Robert Osfield
Fixed typos in method names

Mon, 17 May 2010 18:37:32 +0000
Checked in by : Robert Osfield
Updated wrappers

Mon, 17 May 2010 14:43:41 +0000
Checked in by : Robert Osfield
From Tim Moore, improved doxygen comments

Mon, 17 May 2010 14:21:53 +0000
Checked in by : Robert Osfield
Removed signalUnreffed interface

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.

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

Fri, 14 May 2010 19:47:50 +0000
Checked in by : Robert Osfield
From Alok Priyadarshi, support for statically linking to GLES2.lib

Fri, 14 May 2010 12:24:13 +0000
Checked in by : Robert Osfield
Refactored Observer/ObserverNodePath and DatabasePager to improve their robustness.

Fri, 14 May 2010 12:14:14 +0000
Checked in by : Robert Osfield
From Tim Moore, new more robust observer_ptr<> implementation

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."

Thu, 13 May 2010 10:01:07 +0000
Checked in by : Robert Osfield
From Gunter Huber, fixes for better GLES2 support

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:

# osgconv cow.osg cow.osgb -O SchemaData

It will record all serializer properties used in the scene graph, at
the beginning of the generated file. And when osgviewer and user
applications is going to read the osgb file, the inbuilt data will be
automatically read and applied first, to keep backwards compatibility
partly. This will not affect osgb files generated with older versions.
"



Wed, 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.

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.

Wed, 12 May 2010 11:58:01 +0000
Checked in by : Robert Osfield
Improved the indentation/replaced tabs

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."

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."

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().



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.

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

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'

Fri, 30 Apr 2010 20:04:25 +0000
Checked in by : Robert Osfield
updated wrappers

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

Fri, 30 Apr 2010 19:41:56 +0000
Checked in by : Robert Osfield
Added proper support for writing out Xml graph

Fri, 30 Apr 2010 19:41:24 +0000
Checked in by : Robert Osfield
Fixed warnings

Fri, 30 Apr 2010 15:51:38 +0000
Checked in by : Robert Osfield
Added beginnings of spell checking support

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. :)

Some unfinished functionalities: inheritedWindowData, sharedContext, and more tests needed."



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.

Fri, 30 Apr 2010 10:52:24 +0000
Checked in by : Robert Osfield
Added free of _visualInfo if it's already been allocated

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.

Fri, 30 Apr 2010 10:50:17 +0000
Checked in by : Robert Osfield
Added support for using dot graphs directly in the <graph></graph> token

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) ...

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."



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."

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.

Wed, 28 Apr 2010 22:08:48 +0000
Checked in by : Robert Osfield
Updated wrappers

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."

Wed, 28 Apr 2010 21:10:29 +0000
Checked in by : Robert Osfield
Fixed typo

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."

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."

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."



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)"

Wed, 28 Apr 2010 18:53:34 +0000
Checked in by : Robert Osfield
Added support for passing options to the .dot plugin

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

Wed, 28 Apr 2010 17:29:31 +0000
Checked in by : Robert Osfield
Introduced the use of ref_ptr<> in read show methods

Wed, 28 Apr 2010 17:18:01 +0000
Checked in by : Robert Osfield
Removed redundent files

Wed, 28 Apr 2010 14:56:38 +0000
Checked in by : Robert Osfield
Added support for using graphviz dot for graphics visualization via <graph>filename</graph> token.

Wed, 28 Apr 2010 14:55:42 +0000
Checked in by : Robert Osfield
Fixed typo

Wed, 28 Apr 2010 14:55:07 +0000
Checked in by : Robert Osfield
Added colours and different style to drawable and statesets

Wed, 28 Apr 2010 14:05:47 +0000
Checked in by : Michael PLATINGS
No longer removes redundant nodes because node structure may be important.

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.

Mon, 26 Apr 2010 10:07:49 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated xcode-project

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.

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());

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.
"



Fri, 23 Apr 2010 08:58:57 +0000
Checked in by : Robert Osfield
Fixed warnings

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."

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).

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."





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."

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."

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"

Thu, 22 Apr 2010 11:20:31 +0000
Checked in by : Robert Osfield
Updated ChangeLog, and AUTHORS files

Thu, 22 Apr 2010 10:13:05 +0000
Checked in by : Robert Osfield
From Tim Moore, added check to whether validConfigs is empty.

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.

Thu, 22 Apr 2010 07:32:11 +0000
Checked in by : Robert Osfield
From Torben Dannhauer, fixed typo

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.

Wed, 21 Apr 2010 16:44:38 +0000
Checked in by : Robert Osfield
Changed "Sorted" label to "Sorted Drawables"

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."

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/<debug or
release> 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.
"



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."

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.

Tue, 20 Apr 2010 11:38:38 +0000
Checked in by : Robert Osfield
Replaced tabs with four spaces

Tue, 20 Apr 2010 11:34:19 +0000
Checked in by : Robert Osfield
UPdated wrappers

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."

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."

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

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. "

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."

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)."

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."

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.

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."



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."

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."

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.

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?"



Mon, 19 Apr 2010 09:39:39 +0000
Checked in by : Robert Osfield
From Paul Martz, fixes for static build

Mon, 19 Apr 2010 08:41:00 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode project

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.

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.
"



Thu, 15 Apr 2010 18:38:32 +0000
Checked in by : Robert Osfield
Ran dos2unix on header files

Thu, 15 Apr 2010 18:38:03 +0000
Checked in by : Robert Osfield
Ran dos2unix on lib3ds files

Thu, 15 Apr 2010 12:51:41 +0000
Checked in by : Robert Osfield
From J.P. Delport, Fix for invalid iterator dereference in DatabasePager.

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."



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."



Thu, 15 Apr 2010 11:41:37 +0000
Checked in by : Robert Osfield
From Chris Hanson, build fixes for Solaris-64

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

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

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

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.

Wed, 14 Apr 2010 10:43:16 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Tue, 13 Apr 2010 14:50:31 +0000
Checked in by : Michael PLATINGS
Added support for double precision geometry

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.

Tue, 13 Apr 2010 09:42:53 +0000
Checked in by : Robert Osfield
Fixed warnings

Tue, 13 Apr 2010 09:42:36 +0000
Checked in by : Robert Osfield
updated wrappers

Mon, 12 Apr 2010 16:35:15 +0000
Checked in by : Michael PLATINGS
osgAnimation now stores times as doubles

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)

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.





Sat, 3 Apr 2010 16:26:32 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Added Terrain support to .ive.





Thu, 1 Apr 2010 21:18:39 +0000
Checked in by : Robert Osfield
Removed getNeighbours() method to avoid problems with introspection wrappers

Thu, 1 Apr 2010 21:15:17 +0000
Checked in by : Robert Osfield
Removed TerrainNeightbours class from wrapping to avoid associated build errors

Thu, 1 Apr 2010 21:06:56 +0000
Checked in by : Robert Osfield
Added support for boundary equalization to GeometryTechnique

Thu, 1 Apr 2010 21:04:36 +0000
Checked in by : Robert Osfield
Added window size event handler

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.

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."

Fri, 26 Mar 2010 11:07:43 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Thu, 25 Mar 2010 20:20:10 +0000
Checked in by : Cedric Pinson
Fix compile issue t = fmod(t, (float)_duration);

Thu, 25 Mar 2010 17:50:29 +0000
Checked in by : Cedric Pinson
Change time type from float to double in osgAnimation

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.

Fixed a bug with texture repeat being applied to the wrong texture dimension.

Added handling for IndexedLineSet geometries."



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. "

Thu, 25 Mar 2010 14:12:28 +0000
Checked in by : Robert Osfield
Fixed warning

Thu, 25 Mar 2010 11:11:35 +0000
Checked in by : Robert Osfield
Introduced the use of linear interpolation of evelvations when sampling

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.

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.

Tue, 23 Mar 2010 12:41:02 +0000
Checked in by : Robert Osfield
Updated wrappers

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."

Mon, 22 Mar 2010 14:32:19 +0000
Checked in by : Robert Osfield
Changed private: to protected: to fix build issue under OSX

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."



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."



Mon, 22 Mar 2010 10:43:45 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated xcode-project

Sat, 20 Mar 2010 09:45:59 +0000
Checked in by : Robert Osfield
From Ulrich Hertlein, changed init() call to _init().

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.

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

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.

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.

Fri, 19 Mar 2010 16:30:56 +0000
Checked in by : Robert Osfield
Renamed source file

Fri, 19 Mar 2010 14:55:35 +0000
Checked in by : Robert Osfield
Renamed osgterrain to osgthreadedterrain to better reflect it's functionality.

Fri, 19 Mar 2010 10:19:41 +0000
Checked in by : Michael PLATINGS
Fixed an infinite loop when loading a malformed file.

Thu, 18 Mar 2010 19:02:12 +0000
Checked in by : Michael PLATINGS
Workaround for models with inverted transparency

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

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.





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.

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"



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)."

Wed, 17 Mar 2010 11:35:52 +0000
Checked in by : Robert Osfield
disabled timing debug info

Wed, 17 Mar 2010 10:33:48 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode project

Tue, 16 Mar 2010 18:53:42 +0000
Checked in by : Robert Osfield
Updated wrappers

Tue, 16 Mar 2010 18:44:27 +0000
Checked in by : Robert Osfield
Updated various serialization support for .osg, .osgt/b/x and .ive.

Tue, 16 Mar 2010 18:43:59 +0000
Checked in by : Robert Osfield
Added BlendingPolicy support into osgTerrain::Terrain.

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.

Mon, 15 Mar 2010 20:09:23 +0000
Checked in by : Robert Osfield
Fixed recursive call due to missing _

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.

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.
"



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."



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();

       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. "



Mon, 15 Mar 2010 10:32:29 +0000
Checked in by : Robert Osfield
Updated wrappers

Mon, 15 Mar 2010 10:32:03 +0000
Checked in by : Robert Osfield
Refactored Texture::Extensions to simplify it and make it more efficient.

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.

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.

Fri, 12 Mar 2010 09:32:23 +0000
Checked in by : Robert Osfield
Added initializer

Fri, 12 Mar 2010 09:10:12 +0000
Checked in by : Robert Osfield
Changed ssize_t to int to fix windows build error

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."

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)"

Thu, 11 Mar 2010 16:46:01 +0000
Checked in by : Robert Osfield
Clean up of initialization of statics/use of getenv

Thu, 11 Mar 2010 14:48:54 +0000
Checked in by : Robert Osfield
Added export for PerContextShader.

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.

Thu, 11 Mar 2010 10:17:50 +0000
Checked in by : Robert Osfield
Fixed warning

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. "

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."

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."

Wed, 10 Mar 2010 16:31:15 +0000
Checked in by : Robert Osfield
Updated version

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

"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."




Wed, 10 Mar 2010 14:44:12 +0000
Checked in by : Robert Osfield
Updated wrappers

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

Wed, 10 Mar 2010 14:28:18 +0000
Checked in by : Robert Osfield
From Vincent Bourdier, addition of out of memory read result.

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

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.
"



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.

"



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.

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. "

Wed, 10 Mar 2010 12:13:31 +0000
Checked in by : Robert Osfield
Added tests of various FileNameUtils functions, tests invoked by osgunittests filenames

Wed, 10 Mar 2010 12:04:14 +0000
Checked in by : Robert Osfield
Refactored the find_last_of to simplify it.

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."

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.

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.

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...




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)"

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

Tue, 9 Mar 2010 15:16:58 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: fixed xcode project again

Mon, 8 Mar 2010 10:20:14 +0000
Checked in by : Robert Osfield
Added extra ffmpeg version check

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."

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.

The change is based on rev 11161."



Fri, 5 Mar 2010 16:07:12 +0000
Checked in by : Robert Osfield
Fixed warning

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.

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."

Fri, 5 Mar 2010 15:36:32 +0000
Checked in by : Robert Osfield
Replaced find_first_of with find

Fri, 5 Mar 2010 15:17:26 +0000
Checked in by : Robert Osfield
Replaced find_first_of with find.

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."



Fri, 5 Mar 2010 15:08:03 +0000
Checked in by : Robert Osfield
Fixes for warning from qt headers

Fri, 5 Mar 2010 15:07:11 +0000
Checked in by : Robert Osfield
Removed files that are now part of osgQt

Fri, 5 Mar 2010 15:05:28 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode project

Fri, 5 Mar 2010 15:04:36 +0000
Checked in by : Robert Osfield
Fixed warnings

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.



Fri, 5 Mar 2010 12:53:08 +0000
Checked in by : Robert Osfield
Updated version and soversion numbers

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"



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



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.

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.

Fri, 5 Mar 2010 10:58:47 +0000
Checked in by : Robert Osfield
Fixed warning

Fri, 5 Mar 2010 10:50:50 +0000
Checked in by : Robert Osfield
Fixed warning

Fri, 5 Mar 2010 10:48:34 +0000
Checked in by : Robert Osfield
Fixed warning

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."



Thu, 4 Mar 2010 17:01:33 +0000
Checked in by : Michael PLATINGS
Added BlendFunc for transparent materials

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.

Thu, 4 Mar 2010 13:03:18 +0000
Checked in by : Robert Osfield
Fixed warnings

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).

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."

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.

Thu, 4 Mar 2010 12:18:04 +0000
Checked in by : Robert Osfield
Added Export for new osgQt lib

Thu, 4 Mar 2010 12:15:35 +0000
Checked in by : Robert Osfield
Moved QWebViewImage and QGraphicsViewAdapter into new osgQt utility library.

Thu, 4 Mar 2010 12:14:39 +0000
Checked in by : Robert Osfield
Removed now redundent call to register PagedLODs

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

Wed, 3 Mar 2010 17:24:04 +0000
Checked in by : Robert Osfield
Ran dos2unix of files to fix issues with file endings

Wed, 3 Mar 2010 16:40:19 +0000
Checked in by : Robert Osfield
Refactored DatabasePager so that it nolonger takes ref_ptr<PagedLOD>, 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.

Wed, 3 Mar 2010 16:37:45 +0000
Checked in by : Robert Osfield
Fixed warning

Wed, 3 Mar 2010 16:14:04 +0000
Checked in by : Michael PLATINGS


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?)"



Tue, 2 Mar 2010 18:18:06 +0000
Checked in by : Michael PLATINGS


Mon, 1 Mar 2010 13:10:58 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

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.

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). "



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."



Fri, 26 Feb 2010 21:31:13 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 26 Feb 2010 16:02:20 +0000
Checked in by : Robert Osfield
updated wrappers

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

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.




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];

This makes it easy to use a capture device without knowing it's name. Attached is the whole file against rev 11044"



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."

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.




Fri, 26 Feb 2010 14:36:23 +0000
Checked in by : Robert Osfield
Updated wrappers

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."




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,<index>)".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.




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,<index>)".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."




Fri, 26 Feb 2010 09:40:11 +0000
Checked in by : Robert Osfield
From Chris Hanson, comment fix

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."

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."




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."

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).

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."



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:

-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."



Thu, 25 Feb 2010 18:03:14 +0000
Checked in by : Robert Osfield
From Chris Hanson, comment fix.

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"

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."

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.
"



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)."




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."

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. "

Wed, 24 Feb 2010 10:52:51 +0000
Checked in by : Michael PLATINGS


Wed, 24 Feb 2010 10:25:50 +0000
Checked in by : Michael PLATINGS


Wed, 24 Feb 2010 10:12:11 +0000
Checked in by : Michael PLATINGS


Wed, 24 Feb 2010 10:02:14 +0000
Checked in by : Michael PLATINGS


Mon, 22 Feb 2010 17:41:35 +0000
Checked in by : Robert Osfield
Added an empty() method

Mon, 22 Feb 2010 10:43:22 +0000
Checked in by : Robert Osfield
Updated authors file

Mon, 22 Feb 2010 10:36:55 +0000
Checked in by : Robert Osfield
Updated wrappers

Mon, 22 Feb 2010 10:10:08 +0000
Checked in by : Robert Osfield
Fixed STDINT_INCLUDE path

Mon, 22 Feb 2010 09:50:37 +0000
Checked in by : Robert Osfield
From Trajce Nicklov, fixes to warnings

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

Mon, 22 Feb 2010 08:39:33 +0000
Checked in by : Robert Osfield
Added missing _ptr = rp._ptr to constructor.

Sat, 20 Feb 2010 17:36:55 +0000
Checked in by : Robert Osfield
Converted View across to use ObserverNodePath.

Fri, 19 Feb 2010 21:03:33 +0000
Checked in by : Robert Osfield
Build fixes for GLES2

Fri, 19 Feb 2010 20:58:46 +0000
Checked in by : Robert Osfield
Fixed GLES1/GLES2 build

Fri, 19 Feb 2010 20:43:58 +0000
Checked in by : Robert Osfield
Added include of osg/FrameBufferObject to fix GLES1/GLES2 build issue

Fri, 19 Feb 2010 20:40:41 +0000
Checked in by : Robert Osfield
Build fix for GLES1 and GLES2

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.

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

Fri, 19 Feb 2010 20:11:14 +0000
Checked in by : Robert Osfield
Added #include <osg/Notify>, convert osg::notify usage to OSG_NOTICE

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.

Fri, 19 Feb 2010 19:00:48 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 19 Feb 2010 18:56:21 +0000
Checked in by : Robert Osfield
Removed the uncessary subclassing from osg::Object as this base class is already pullled via ViewerBase

Fri, 19 Feb 2010 16:04:33 +0000
Checked in by : Robert Osfield
Added mutex lock to destructor.

Fri, 19 Feb 2010 15:41:42 +0000
Checked in by : Robert Osfield
Replaced local mutex with getObserverMutex().

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."

Fri, 19 Feb 2010 14:05:49 +0000
Checked in by : Robert Osfield
Removed no longer defined methods and updated wrappers

Fri, 19 Feb 2010 09:32:15 +0000
Checked in by : Robert Osfield
Updated contributors list for 2.9.7 release

Fri, 19 Feb 2010 09:21:00 +0000
Checked in by : Robert Osfield
Updated ChangeLog

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.

Thu, 18 Feb 2010 22:53:15 +0000
Checked in by : Robert Osfield
Added newline.

Thu, 18 Feb 2010 22:20:11 +0000
Checked in by : Robert Osfield
From Mourad Boufarguine, fixed typo.

Thu, 18 Feb 2010 22:17:50 +0000
Checked in by : Robert Osfield
Updated wrappers

Thu, 18 Feb 2010 22:17:35 +0000
Checked in by : Robert Osfield
Updated wrappers

Thu, 18 Feb 2010 21:24:42 +0000
Checked in by : Robert Osfield
Updated version number of OpenThreads to reflect recent changes

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.

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.




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



Thu, 18 Feb 2010 21:17:36 +0000
Checked in by : Robert Osfield
Added className() to assist with debugging

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.

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.

Thu, 18 Feb 2010 09:00:37 +0000
Checked in by : Robert Osfield
Added new setNodePathTo() method

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



Tue, 16 Feb 2010 17:38:49 +0000
Checked in by : Robert Osfield
Added className() implementation to help wiht debugging.

Tue, 16 Feb 2010 14:05:49 +0000
Checked in by : Robert Osfield
Fixed crash

Tue, 16 Feb 2010 11:10:49 +0000
Checked in by : Robert Osfield
Threads safety fixes based on suggestions from Tim Moore.

Tue, 16 Feb 2010 08:53:56 +0000
Checked in by : Robert Osfield
Updated wrappers

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

Mon, 15 Feb 2010 20:15:43 +0000
Checked in by : Robert Osfield
Upadted wrappers

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

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.

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<T> observer_ptr<T>::lock() method for robust access to an observed object.  This
makes observer_ptr<> more equivilant to boosts weak_ptr.



Mon, 15 Feb 2010 11:36:05 +0000
Checked in by : Robert Osfield
Added osg:: qualifyer to OSG_NOTIFY macro

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.




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"

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."



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})

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."



Thu, 11 Feb 2010 11:06:12 +0000
Checked in by : Robert Osfield
Fixed the rotation of normals

Thu, 11 Feb 2010 09:13:33 +0000
Checked in by : Robert Osfield
Added futher use of readSize/writeSize.

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.

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.

Wed, 10 Feb 2010 16:23:27 +0000
Checked in by : Robert Osfield
Fixed automatic loading of plugins

Wed, 10 Feb 2010 15:18:20 +0000
Checked in by : Robert Osfield
Changed NOTIFY to OSG_NOTIFY

Wed, 10 Feb 2010 12:48:21 +0000
Checked in by : Robert Osfield
Fixed typo

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

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.

Tue, 9 Feb 2010 19:30:52 +0000
Checked in by : Robert Osfield
Added enabling of threadsafe ref/unref in FileCache.

Tue, 9 Feb 2010 18:24:37 +0000
Checked in by : Robert Osfield
Converted osg::notify usage to NOTIFY

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.

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.

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."

Wed, 3 Feb 2010 09:35:36 +0000
Checked in by : Robert Osfield
Added #define for GL3 build

Wed, 3 Feb 2010 09:35:05 +0000
Checked in by : Robert Osfield
Added #defines for GL3 build

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.

Tue, 2 Feb 2010 11:02:42 +0000
Checked in by : Robert Osfield
Fixed indentation.

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

Sun, 31 Jan 2010 18:23:35 +0000
Checked in by : Robert Osfield
From Jan Peciva, improvements to Inventor find operation

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.

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."



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

Wed, 27 Jan 2010 15:00:01 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 27 Jan 2010 13:12:49 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 27 Jan 2010 13:12:26 +0000
Checked in by : Robert Osfield
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...

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.
"



Tue, 26 Jan 2010 17:07:11 +0000
Checked in by : Robert Osfield
Updated wrappers

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 <iWidth> and <iHeight>,
>                                  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."



Tue, 26 Jan 2010 16:59:17 +0000
Checked in by : Robert Osfield
From Trajce Nikolov, various improvements of the workings of osgWidget::Input.

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

Tue, 26 Jan 2010 16:48:55 +0000
Checked in by : Robert Osfield
Added .get() to fix build

Tue, 26 Jan 2010 16:41:53 +0000
Checked in by : Robert Osfield
Updated wrappers

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.
"



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

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})
"



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);

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).
"



Tue, 26 Jan 2010 14:57:44 +0000
Checked in by : Robert Osfield
Removal of redundant spaces at ends of lines

Tue, 26 Jan 2010 14:54:46 +0000
Checked in by : Robert Osfield
updated wrappers

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.




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)"



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)

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."



Tue, 26 Jan 2010 10:37:38 +0000
Checked in by : Robert Osfield
Changed doxygen comments to signal deprecation of this old IO classes

Mon, 25 Jan 2010 18:08:15 +0000
Checked in by : Robert Osfield
Removed inapprorpiate OSGDB_EXPORT

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.

Mon, 25 Jan 2010 15:25:16 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Mon, 25 Jan 2010 12:48:25 +0000
Checked in by : Robert Osfield
Removed deprecated classes

Mon, 25 Jan 2010 11:40:18 +0000
Checked in by : Robert Osfield
Added back in StreamOperation with executation bit disabled

Mon, 25 Jan 2010 11:39:42 +0000
Checked in by : Robert Osfield
Temporily removed StreamOperation as it had execution bit enable for it.

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.

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.

Fri, 22 Jan 2010 20:35:11 +0000
Checked in by : Robert Osfield
Seting the notifcation level of debug message to INFO.

Fri, 22 Jan 2010 16:13:28 +0000
Checked in by : Robert Osfield
Reverted fixes for Mingw as they break OSX build

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.



Thu, 21 Jan 2010 16:26:48 +0000
Checked in by : Robert Osfield
Added extra export for windows build

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

Thu, 21 Jan 2010 13:17:51 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode project

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.

Thu, 21 Jan 2010 09:25:45 +0000
Checked in by : Robert Osfield
From Wang Rui, added exports for windows build

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



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

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

Tue, 19 Jan 2010 12:36:57 +0000
Checked in by : Robert Osfield
Added CmakeList.txt for new wrapper plugins

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

Tue, 19 Jan 2010 12:24:55 +0000
Checked in by : Robert Osfield
Inserted /introspection/ into path of osgIntrospection wrappers

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

Tue, 19 Jan 2010 09:54:42 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode projects

Mon, 18 Jan 2010 20:49:40 +0000
Checked in by : Robert Osfield
Added introspection directory

Mon, 18 Jan 2010 19:56:16 +0000
Checked in by : Robert Osfield
Regenerated introspection wrappers in their new location

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

Mon, 18 Jan 2010 16:39:12 +0000
Checked in by : Robert Osfield
Added #include <stdio.h> for Mingw build

Mon, 18 Jan 2010 16:38:07 +0000
Checked in by : Robert Osfield
Restructure the includes of freetype

Mon, 18 Jan 2010 14:27:20 +0000
Checked in by : Robert Osfield
From Jean-Sebastien Guay, build fixes for Mingw

Mon, 18 Jan 2010 13:00:41 +0000
Checked in by : Robert Osfield
Updated wrappers

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."

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.

Thu, 14 Jan 2010 15:15:42 +0000
Checked in by : Robert Osfield
Added setting of the charcode during construction of osgText::Font::Glyph()

Thu, 14 Jan 2010 15:15:08 +0000
Checked in by : Robert Osfield
Updated so version

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

Wed, 13 Jan 2010 18:50:17 +0000
Checked in by : Robert Osfield
Updated wrappers and supported shadow texture formats

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.

Wed, 13 Jan 2010 14:57:02 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Wed, 13 Jan 2010 13:31:03 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 13 Jan 2010 13:30:45 +0000
Checked in by : Robert Osfield
Changed get methods to new style ones.

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:

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.




Wed, 13 Jan 2010 13:09:48 +0000
Checked in by : Robert Osfield
Added missing .get()'s

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<>

Wed, 13 Jan 2010 10:46:40 +0000
Checked in by : Robert Osfield
From Sukender, warning fix.

Tue, 12 Jan 2010 11:12:06 +0000
Checked in by : Robert Osfield
Convert dos line endings

Tue, 12 Jan 2010 10:00:24 +0000
Checked in by : Robert Osfield
Updated wrappers

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 <tag prop="..." ... /> 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 <tag ... /> 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."



Mon, 11 Jan 2010 17:27:09 +0000
Checked in by : Robert Osfield
Added missing .get()

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.

Mon, 11 Jan 2010 16:03:13 +0000
Checked in by : Robert Osfield
Added desctructor with jas_cleanup().

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)"

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")."

Fri, 8 Jan 2010 11:47:31 +0000
Checked in by : Robert Osfield
Updated wrappers

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.
"



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. "

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
"



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. "

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)
"

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.



Fri, 8 Jan 2010 10:12:02 +0000
Checked in by : Robert Osfield
Added newline at end of file to fix warning

Thu, 7 Jan 2010 19:13:40 +0000
Checked in by : Robert Osfield
Fixed writing out of ATOM.

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

Thu, 7 Jan 2010 17:36:44 +0000
Checked in by : Robert Osfield
From Jean-Sebastien Guay, fixed handling of < tag /> xml syntax

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."

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)

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.
"



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.



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.

Thu, 7 Jan 2010 10:01:26 +0000
Checked in by : Robert Osfield
Fixed warnings

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)."

Thu, 7 Jan 2010 09:43:54 +0000
Checked in by : Robert Osfield
Imporoved spacing

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(..)

Wed, 6 Jan 2010 15:43:06 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 6 Jan 2010 10:41:14 +0000
Checked in by : Robert Osfield
Fixed type of index to int.

Tue, 5 Jan 2010 20:03:02 +0000
Checked in by : Robert Osfield
Replaced nullptr with isNullPointer

Tue, 5 Jan 2010 11:15:17 +0000
Checked in by : Robert Osfield
Updated wrappers

Tue, 5 Jan 2010 11:15:03 +0000
Checked in by : Robert Osfield
Added support for call root Camera CullCallbacks

Tue, 5 Jan 2010 11:10:21 +0000
Checked in by : Robert Osfield
Fixed indentation

Tue, 5 Jan 2010 11:09:18 +0000
Checked in by : Robert Osfield
Added set/getDistance() method

Mon, 4 Jan 2010 15:54:57 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode-project

Tue, 22 Dec 2009 14:09:46 +0000
Checked in by : Cedric Pinson
From Cedric Pinson, remove unused file Skinning, cleanup file Timeline.cpp

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.

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!

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."



Wed, 16 Dec 2009 12:17:45 +0000
Checked in by : Robert Osfield
Removed old texture object manage code.

Tue, 15 Dec 2009 17:25:12 +0000
Checked in by : Robert Osfield
From Sukender, warning fix

Tue, 15 Dec 2009 15:55:24 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode-project

Tue, 15 Dec 2009 14:45:33 +0000
Checked in by : Robert Osfield
Fixed compile warnings

Tue, 15 Dec 2009 14:44:12 +0000
Checked in by : Robert Osfield
Fixed compile warnings

Tue, 15 Dec 2009 14:40:06 +0000
Checked in by : Robert Osfield
Fixed warning

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.

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

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)"

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

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

Mon, 14 Dec 2009 12:50:57 +0000
Checked in by : Robert Osfield
Added checked against QT webkit being available

Mon, 14 Dec 2009 12:49:59 +0000
Checked in by : Robert Osfield
Fixed warnings

Thu, 10 Dec 2009 17:52:40 +0000
Checked in by : Robert Osfield
From Stephan Huber, "attached you'll find the missing GraphicsHandleCocoa-implementation."

Thu, 10 Dec 2009 12:58:05 +0000
Checked in by : Robert Osfield
Updated ChangeLog and README.txt for 2.9.6 dev release

Thu, 10 Dec 2009 12:14:24 +0000
Checked in by : Robert Osfield
Updated AUTHORS file for 2.9.6 dev release

Thu, 10 Dec 2009 12:13:13 +0000
Checked in by : Robert Osfield
Updated Contributors list to workaround typos in ChangeLog

Thu, 10 Dec 2009 11:46:44 +0000
Checked in by : Robert Osfield
Updated ChangeLog

Thu, 10 Dec 2009 11:30:51 +0000
Checked in by : Robert Osfield
Updated wrappers

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."

Thu, 10 Dec 2009 11:16:41 +0000
Checked in by : Robert Osfield
Fixed bug in positioning of 3d text characters

Wed, 9 Dec 2009 23:42:29 +0000
Checked in by : Cedric Pinson
From Cedric Pinson, add missing file

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

Wed, 9 Dec 2009 14:34:24 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 9 Dec 2009 13:55:10 +0000
Checked in by : Robert Osfield
Fixed support for compiling VBO's

Wed, 9 Dec 2009 13:51:02 +0000
Checked in by : Robert Osfield
Added a Geometry::compileGLObjects() to handle compilation of VBO + EBO's.

Wed, 9 Dec 2009 13:13:02 +0000
Checked in by : Robert Osfield
From Ulrich Hertlein, removed email address

Wed, 9 Dec 2009 10:18:13 +0000
Checked in by : Robert Osfield
From Ulrich Hertlein, .osg support for osgFX::Outline

Wed, 9 Dec 2009 09:37:19 +0000
Checked in by : Robert Osfield
Compile fixes for GLES

Wed, 9 Dec 2009 09:36:08 +0000
Checked in by : Robert Osfield
From Robert Milharcic, added missing OSGFX_EXPORT

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."

Tue, 8 Dec 2009 17:41:18 +0000
Checked in by : Robert Osfield
From Thomas Halgarth, mods for Iphone GL headers

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.

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."

Tue, 8 Dec 2009 16:58:21 +0000
Checked in by : Robert Osfield
Fixed typo

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.




Tue, 8 Dec 2009 15:39:04 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Tue, 8 Dec 2009 14:40:36 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode project

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.

Mon, 7 Dec 2009 16:45:33 +0000
Checked in by : Robert Osfield
Re-order the setting of the VBO's

Mon, 7 Dec 2009 12:35:33 +0000
Checked in by : Robert Osfield
Converted tabs to four spaces

Sat, 5 Dec 2009 10:13:43 +0000
Checked in by : Robert Osfield
Updated wrappers

Sat, 5 Dec 2009 10:02:04 +0000
Checked in by : Robert Osfield
Removed unimplemented updateGraph method

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.

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.

"



Fri, 4 Dec 2009 17:24:27 +0000
Checked in by : Robert Osfield
Converted tabs to four space

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."




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."

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 :?"

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."

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."

Wed, 2 Dec 2009 12:37:45 +0000
Checked in by : Robert Osfield
Quitened down debug info

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 :

  osggpx myterrainmodel.ive -t mytrack.gpx





Tue, 1 Dec 2009 19:40:29 +0000
Checked in by : Robert Osfield
Quiten down debugging message

Mon, 30 Nov 2009 13:44:41 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 27 Nov 2009 18:14:27 +0000
Checked in by : Robert Osfield
Attempted compile fix.

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."



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."



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"...

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.""



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:

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"



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."

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.

I have attached a fix to osgDB/FileUtils.cpp based on version 2.9.5 svn revision 10374
"



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."



Fri, 27 Nov 2009 11:48:21 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 27 Nov 2009 11:43:18 +0000
Checked in by : Robert Osfield
Implement deleteAllTextureObject/BufferObjects functionality.Cleaned up warnings.



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

Thu, 26 Nov 2009 10:12:38 +0000
Checked in by : Robert Osfield
Added check for Geometry pointer being valid

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

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.




Wed, 25 Nov 2009 16:20:25 +0000
Checked in by : Robert Osfield
Added support for repeating viewer construction

Wed, 25 Nov 2009 11:31:52 +0000
Checked in by : Robert Osfield
From Sergey Leontyev, example for testing of DatabasePaging and CompositeView usage

Tue, 24 Nov 2009 15:26:54 +0000
Checked in by : Robert Osfield
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. "

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

"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."




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;"

Tue, 24 Nov 2009 14:20:59 +0000
Checked in by : Robert Osfield
Updated wrappers

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."

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.

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."

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.



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."



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."

Mon, 23 Nov 2009 09:54:28 +0000
Checked in by : Robert Osfield
Updated version

Mon, 23 Nov 2009 09:53:08 +0000
Checked in by : Robert Osfield
From Paul Martz, typo fixes

Sun, 22 Nov 2009 17:27:13 +0000
Checked in by : Robert Osfield
Added missing createContextImplementation().

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.

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.




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<std::string>&) 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<std::string>&) 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.

"



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

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:

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.
 "



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.




Fri, 20 Nov 2009 14:15:42 +0000
Checked in by : Robert Osfield
Updated wrappers

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."

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.

I join the fixed file."



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."

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.
 "

Note from Robert Osfield, changed this submission to use an std::set<Viewport*> rather than an std::vector<> as it keeps the code a bit cleaner and more compact.



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.

I am attaching a patch I made to fix this problem."



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"

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.

//Sample program.  Run against an osgEarth or VPB database based on osgTerrain.
#include <osgDB/ReadFile>
#include <osgViewer/Viewer>

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<osg::Node> 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;
}"



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."

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 "

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:

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.
"



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."



Fri, 20 Nov 2009 09:05:06 +0000
Checked in by : Robert Osfield
Added #include <osg/MatrixTransform>

Fri, 20 Nov 2009 09:03:02 +0000
Checked in by : Robert Osfield
From Jan Ciger, removal of declaration of now undefined method.

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."



Thu, 19 Nov 2009 17:27:21 +0000
Checked in by : Robert Osfield
From Lilin Xiong, added missing OSG_EXPORT

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.

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.
"



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."

Thu, 19 Nov 2009 17:17:24 +0000
Checked in by : Robert Osfield
Fixed tabs

Thu, 19 Nov 2009 16:53:29 +0000
Checked in by : Robert Osfield
Fixed spacing

Thu, 19 Nov 2009 16:45:35 +0000
Checked in by : Robert Osfield
From Nico Krulthof, remove double qualifier of ReaderWriterQT constructor/destructor.

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.

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.

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.



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."



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.

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."



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.


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.
"



Thu, 19 Nov 2009 11:54:15 +0000
Checked in by : Robert Osfield
Fixed spaces at ends of lines

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"

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."



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."

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"

Thu, 19 Nov 2009 10:47:42 +0000
Checked in by : Robert Osfield
Fixed build

Thu, 19 Nov 2009 10:12:00 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

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)."




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

Wed, 18 Nov 2009 16:24:01 +0000
Checked in by : Robert Osfield
Moved the set of include/osg/Version into Cmake

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".



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."



Wed, 18 Nov 2009 12:50:03 +0000
Checked in by : Robert Osfield
Fixed primCount default value

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 ..."

Wed, 18 Nov 2009 11:26:00 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 18 Nov 2009 11:25:28 +0000
Checked in by : Robert Osfield
Added osg::ShaderBinary::readShaderBinaryFile(..) static method

Tue, 17 Nov 2009 15:54:20 +0000
Checked in by : Robert Osfield
Moved across to use OSG_FIXED_FUNCTION_AVAILABLE

Tue, 17 Nov 2009 14:06:07 +0000
Checked in by : Robert Osfield
<iterator>, <stdlib.h> and <ctype.h> includes required for QNX compiler

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

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.

Tue, 17 Nov 2009 11:36:32 +0000
Checked in by : Robert Osfield
Removed usage of throw

Mon, 16 Nov 2009 17:50:33 +0000
Checked in by : Robert Osfield
Fixed Shader constructor

Mon, 16 Nov 2009 16:09:50 +0000
Checked in by : Robert Osfield
Replaced catch usage

Mon, 16 Nov 2009 15:47:32 +0000
Checked in by : Robert Osfield
Removed catch

Mon, 16 Nov 2009 15:17:57 +0000
Checked in by : Robert Osfield
Removed throw.

Mon, 16 Nov 2009 14:58:31 +0000
Checked in by : Robert Osfield
Removed throw.

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.

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.

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 <osg/MatrixTransform> to fix it "

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.



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

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.



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

Fri, 13 Nov 2009 10:03:02 +0000
Checked in by : Robert Osfield
From Paul Martz, osgViewer Win32 GL3 context creation support

Fri, 13 Nov 2009 09:56:47 +0000
Checked in by : Robert Osfield
Added missing export

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.

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.

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().



Thu, 12 Nov 2009 12:19:09 +0000
Checked in by : Robert Osfield
Introdced usage of State::drawQuads

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.

Thu, 12 Nov 2009 12:14:01 +0000
Checked in by : Robert Osfield
Fixed winding of GL_QUADS mapping

Thu, 12 Nov 2009 12:07:13 +0000
Checked in by : Robert Osfield
Improved compatibility with GLES2

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.

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.




Wed, 11 Nov 2009 12:04:06 +0000
Checked in by : Robert Osfield
From Paul Martz, enabled packed_depth_stencil support for GL3

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.

Tue, 10 Nov 2009 19:16:36 +0000
Checked in by : Robert Osfield
Added OSG_GLES2_FEATURES and OSG_GL3_FEATURES usage where appropriate

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.

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




Tue, 10 Nov 2009 14:59:42 +0000
Checked in by : Robert Osfield
Removed debug message

Tue, 10 Nov 2009 14:31:16 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode project

Tue, 10 Nov 2009 12:03:03 +0000
Checked in by : Robert Osfield
Changed default enabling of vertex attribute mapping

Tue, 10 Nov 2009 12:02:40 +0000
Checked in by : Robert Osfield
Removed redundant include of GLU

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

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.

Tue, 10 Nov 2009 11:34:57 +0000
Checked in by : Robert Osfield
Added the default usage of ShaderGenVisitor to help with GLES2 testing.

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

Tue, 10 Nov 2009 11:28:21 +0000
Checked in by : Robert Osfield
Added disabling of modes that aren't supported with GLES2

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

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




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.

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

Fri, 6 Nov 2009 16:09:16 +0000
Checked in by : Robert Osfield
Fixed build

Fri, 6 Nov 2009 13:53:16 +0000
Checked in by : Robert Osfield
Added dlsymb settting for QNX

Fri, 6 Nov 2009 10:38:22 +0000
Checked in by : Robert Osfield
Cleaned up the EGL context config set up.

Fri, 6 Nov 2009 10:31:03 +0000
Checked in by : Robert Osfield
Added EGL error checking and changed the egl context configuration settings

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

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



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

Wed, 4 Nov 2009 12:14:57 +0000
Checked in by : Robert Osfield
Changed notify to output warnings and normally messages to std::out

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

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

Tue, 3 Nov 2009 16:49:13 +0000
Checked in by : Robert Osfield
Disabled osgteaport for GLES1, GLES2 and GL3 builds

Tue, 3 Nov 2009 16:48:48 +0000
Checked in by : Robert Osfield
Replaced glColor4fv call with osg::State::Color(..)

Tue, 3 Nov 2009 16:34:54 +0000
Checked in by : Robert Osfield
From Paul Martz, changes for compiling against OpenGL 3.x

Tue, 3 Nov 2009 15:22:14 +0000
Checked in by : Robert Osfield
Disabled the build of plugins that aren't supported under GLES.

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.





Sun, 1 Nov 2009 09:51:26 +0000
Checked in by : Robert Osfield
Disable the default LightModel for GLES1 and GLES2 targets

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



Sat, 31 Oct 2009 14:44:43 +0000
Checked in by : Robert Osfield
Fixed compile problem due to name change of getGLXContext to getContext

Fri, 30 Oct 2009 17:16:50 +0000
Checked in by : Robert Osfield
Fixed build under GLES2

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.



Fri, 30 Oct 2009 15:16:44 +0000
Checked in by : Robert Osfield
Fixed for GLES1 build

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

Thu, 29 Oct 2009 09:54:52 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode projects

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.

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

Tue, 27 Oct 2009 19:17:38 +0000
Checked in by : Robert Osfield
Fixed build aginst GLES1 and GLES2

Tue, 27 Oct 2009 18:07:12 +0000
Checked in by : Robert Osfield
Fixed build on OpenGLES-1.1 and OpenGLES-2.0 targets

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

Tue, 27 Oct 2009 10:51:20 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: added missing #define

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

Sun, 25 Oct 2009 11:46:11 +0000
Checked in by : Robert Osfield
Updated wrappers

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

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

Fri, 23 Oct 2009 16:51:45 +0000
Checked in by : Robert Osfield
Added includes for OpenGL ES1 and ES2.

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



Fri, 23 Oct 2009 12:28:10 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 23 Oct 2009 12:24:22 +0000
Checked in by : Robert Osfield
Fixed bug in dispatching per primitive attributes

Fri, 23 Oct 2009 12:22:18 +0000
Checked in by : Robert Osfield
Added support for Vec4ubArray colour arrays

Fri, 23 Oct 2009 09:24:44 +0000
Checked in by : Robert Osfield
Fixed handling of Geometry::_internalOptimizedGeometry in the Geometry::drawImplementation(..)

Fri, 23 Oct 2009 08:21:57 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode project, sensible default config-file

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....

Thu, 22 Oct 2009 12:56:41 +0000
Checked in by : Robert Osfield
Fixed typo and updated wrappers

Thu, 22 Oct 2009 12:41:48 +0000
Checked in by : Robert Osfield
From Stephan Huber, compile fix to OSX.

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

Thu, 22 Oct 2009 12:04:26 +0000
Checked in by : Robert Osfield
Removed, now inappropriate, references to glBegin/glEnd.

Thu, 22 Oct 2009 12:03:36 +0000
Checked in by : Robert Osfield
Updated wrappers

Thu, 22 Oct 2009 12:01:06 +0000
Checked in by : Robert Osfield
From Cedric Pinson, new StateAttributeCallback replacing StateAttribute::Callback

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. "

Thu, 22 Oct 2009 10:29:43 +0000
Checked in by : Robert Osfield
Removed old and now redundent code paths

Thu, 22 Oct 2009 09:08:42 +0000
Checked in by : Robert Osfield
Updated wrappers

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

Thu, 22 Oct 2009 08:28:43 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode project

Wed, 21 Oct 2009 16:42:12 +0000
Checked in by : Robert Osfield
Added Translatef, Scalef, Rotatef methods, and fixed Color4f method.

Wed, 21 Oct 2009 16:41:41 +0000
Checked in by : Robert Osfield
Removed redundent spaces

Wed, 21 Oct 2009 16:40:45 +0000
Checked in by : Robert Osfield
Removed remaining glBegin/glEnd usage

Wed, 21 Oct 2009 16:31:37 +0000
Checked in by : Robert Osfield
Conveted osgText across to using GLBeginEndAdapter instead og glBegin/glEnd

Wed, 21 Oct 2009 16:16:31 +0000
Checked in by : Robert Osfield
Converted all glBegin/glEnd code across to using osg::GLBeginEndAdapter

Wed, 21 Oct 2009 15:48:11 +0000
Checked in by : Robert Osfield
Added stats handler to track performance effects of new GLBeginEndAdapter usage

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

Wed, 21 Oct 2009 14:14:22 +0000
Checked in by : Robert Osfield
Added stats handler

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

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

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.

Tue, 20 Oct 2009 22:14:59 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Tue, 20 Oct 2009 13:15:01 +0000
Checked in by : Robert Osfield
Fixed typo of osg_ModelViewMatrix

Mon, 19 Oct 2009 11:06:53 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode project

Mon, 19 Oct 2009 08:58:52 +0000
Checked in by : Robert Osfield
Fixed computation of osg_NormalMatrix

Sat, 17 Oct 2009 19:22:14 +0000
Checked in by : Robert Osfield
Added support for multitexturing and vertex attributes to GLBeginEndAdapter

Sat, 17 Oct 2009 11:14:03 +0000
Checked in by : Robert Osfield
Fixed VS warning

Fri, 16 Oct 2009 18:50:42 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 16 Oct 2009 17:22:20 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 16 Oct 2009 16:26:27 +0000
Checked in by : Robert Osfield
Ported osg::Geometry across to supporting the aliasing of vertex, color and normal  etc. calls to Vertex Attributes.Added support for automatic aliasing of vertex, normal, color etc. arrays to Vertex Attribute equivelants.

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.



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

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."



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.

Sat, 10 Oct 2009 11:28:42 +0000
Checked in by : Robert Osfield
Updated ChangeLog, wrappers and Contributors lists

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.
"



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. "

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."

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."

Sat, 10 Oct 2009 10:54:33 +0000
Checked in by : Robert Osfield
Updated wrappers

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."



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."

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."

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."

Sat, 10 Oct 2009 09:44:40 +0000
Checked in by : Robert Osfield
To fix warning removed unncessary , from end to enum list.

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. "

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."

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."

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."



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"

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."

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.

Fri, 9 Oct 2009 10:39:55 +0000
Checked in by : Robert Osfield
Added use of binding of vertex attributes to names

Thu, 8 Oct 2009 16:23:40 +0000
Checked in by : Robert Osfield
Added remapping of gl_ and ftransform() variables to osg_ equivalents.

Thu, 8 Oct 2009 15:58:23 +0000
Checked in by : Robert Osfield
Implemented remapping of gl_ builtins vertex attributes to osg_ equivlants.

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.

Thu, 8 Oct 2009 14:13:49 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode project

Thu, 8 Oct 2009 13:33:41 +0000
Checked in by : Robert Osfield
Fixed vertex attribute access bug

Thu, 8 Oct 2009 10:44:01 +0000
Checked in by : Robert Osfield
Quitened down debug messages

Thu, 8 Oct 2009 09:27:54 +0000
Checked in by : Robert Osfield
Cleaned up the #define's for when GLU is not available

Thu, 8 Oct 2009 07:54:37 +0000
Checked in by : Robert Osfield
Fixed warning

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.





Wed, 7 Oct 2009 18:50:01 +0000
Checked in by : Robert Osfield
Fixed handling of rescale of image

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().

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

Wed, 7 Oct 2009 09:39:45 +0000
Checked in by : Robert Osfield
Fixed warnigns

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




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.

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

Sun, 4 Oct 2009 08:52:01 +0000
Checked in by : Robert Osfield
Added missing export

Sat, 3 Oct 2009 15:10:13 +0000
Checked in by : Robert Osfield
Removed erroneous inclusion of extra GLBufferObjectManager qualifier that broke Windows build

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.

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

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.

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

Sun, 27 Sep 2009 15:14:57 +0000
Checked in by : Robert Osfield
Added handling of resetting of the texture object format

Sun, 27 Sep 2009 14:38:38 +0000
Checked in by : Robert Osfield
Added status collection to full range of texture classes

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

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.



Fri, 25 Sep 2009 18:03:49 +0000
Checked in by : Robert Osfield
Fixed warning

Thu, 24 Sep 2009 10:11:32 +0000
Checked in by : Robert Osfield
Added return at end of to fix warning

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

Wed, 23 Sep 2009 14:54:13 +0000
Checked in by : Robert Osfield
Moved setting of TexturePoolSize into State.

Wed, 23 Sep 2009 13:51:20 +0000
Checked in by : Robert Osfield
Introduced memory pool size management

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.

Sun, 20 Sep 2009 09:26:26 +0000
Checked in by : Robert Osfield
Change win32 external library to wsock32.lib

Sat, 19 Sep 2009 09:18:42 +0000
Checked in by : Robert Osfield
Added Ws2_32.lib to link of dicom plugin under Win32

Thu, 17 Sep 2009 13:40:53 +0000
Checked in by : Robert Osfield
Introduced new osgQtBrowser example.

Mon, 14 Sep 2009 16:07:27 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 11 Sep 2009 13:08:49 +0000
Checked in by : Robert Osfield
Fixed bug in interpolation of colour values

Thu, 10 Sep 2009 16:39:05 +0000
Checked in by : Robert Osfield
Added tf-255 option to volume tag

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

Wed, 9 Sep 2009 15:22:04 +0000
Checked in by : Robert Osfield
Added reset of the ImageDetails values of TexelOffset and TexelScale.

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

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

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

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<osg::Quat>::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, 8 Sep 2009 15:36:44 +0000
Checked in by : Robert Osfield
Tweaked debugging info

Tue, 8 Sep 2009 15:36:28 +0000
Checked in by : Robert Osfield
Fixed the set up of osgVolume::ImageLayer scale and offset.

Mon, 7 Sep 2009 12:51:00 +0000
Checked in by : Robert Osfield
Added filter for .filename files

Mon, 7 Sep 2009 12:21:03 +0000
Checked in by : Stephan Maximilian HUBER
updated XCode project

Mon, 7 Sep 2009 10:54:08 +0000
Checked in by : Robert Osfield
Updated volume setup code to use the new ImageDetails structure.

Mon, 7 Sep 2009 10:50:48 +0000
Checked in by : Robert Osfield
Added check for null masterLocator

Mon, 7 Sep 2009 08:30:54 +0000
Checked in by : Robert Osfield
Fixed assingment of layerLocator

Fri, 4 Sep 2009 09:11:49 +0000
Checked in by : Robert Osfield
Fixed empty lines

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

Thu, 3 Sep 2009 13:40:50 +0000
Checked in by : Robert Osfield
Renamed the osgVolume::Layer/ImageDetails parameters RescaleIntercept and RescaleSlope to more general TexelOffset and TexelScale, and changed type to Vec4.Refactored the transfer function set up in RayTracedTechnique to prepare for new scale and offset uniforms.

Updated wrappers



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

Mon, 31 Aug 2009 15:10:38 +0000
Checked in by : Robert Osfield
Updated wrappers

Mon, 31 Aug 2009 10:37:44 +0000
Checked in by : Cedric Pinson
From Cedric Pinson, add missing files

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

Thu, 27 Aug 2009 19:25:23 +0000
Checked in by : Robert Osfield
Fixed the compute of the extents/bounding sphere

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"




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

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

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

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."

Fri, 21 Aug 2009 13:55:03 +0000
Checked in by : Robert Osfield
Fixed osgAnimation wrappers

Fri, 21 Aug 2009 12:53:23 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 21 Aug 2009 11:31:10 +0000
Checked in by : Robert Osfield
From Magnus Kessler, "At the end of the void function osg::Animation::TemplateStepInterpolator::getValue the code tries to return the result rather than assigning it to the result parameter reference.The following patch fixes this."



Fri, 21 Aug 2009 10:18:46 +0000
Checked in by : Robert Osfield
Fixed handling of double precision bounding sphere type.

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."

Fri, 21 Aug 2009 09:43:41 +0000
Checked in by : Robert Osfield
From Wojciech Lewandowski, part of the FBO attachment submission

Fri, 21 Aug 2009 09:42:54 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

#define FORCE_COLOR_ATTACHMENT  1
#define FORCE_DEPTH_ATTACHMENT  1





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"

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"

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"

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."

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 <stdlib.h> header.  This breaks the build on my Solaris setup.Rather than adding the missing <stdlib.h> 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."



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



Thu, 20 Aug 2009 14:20:55 +0000
Checked in by : Robert Osfield
Improved the custom cursor code and release and compute settings

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.

Wed, 19 Aug 2009 15:36:46 +0000
Checked in by : Robert Osfield
Fixed typo

Wed, 19 Aug 2009 15:36:23 +0000
Checked in by : Robert Osfield
Added support for trimming the contents of parsed Xml graph

Tue, 18 Aug 2009 13:38:17 +0000
Checked in by : Robert Osfield
Added tabs to treatment as white space to skyWhiteSpace()

Mon, 17 Aug 2009 16:07:04 +0000
Checked in by : Robert Osfield
Added check for space in option name parsing

Mon, 17 Aug 2009 15:46:22 +0000
Checked in by : Robert Osfield
Added support for the TabBoxTrackballDragger

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.

Mon, 17 Aug 2009 15:24:15 +0000
Checked in by : Robert Osfield
Updated wrappers

Mon, 17 Aug 2009 15:22:01 +0000
Checked in by : Robert Osfield
Moved static string initialization into singleton method

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

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

Thu, 6 Aug 2009 10:06:20 +0000
Checked in by : Robert Osfield
Fixed custom cursor support

Wed, 5 Aug 2009 17:01:50 +0000
Checked in by : Robert Osfield
Added support for selecting the TabBoxTrackballDragger using dragger="trackball-box"

Wed, 5 Aug 2009 16:02:44 +0000
Checked in by : Robert Osfield
Introduced TabBoxTrackballDragger

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"

and

    technique="light" or technique="isosurface" or technique="iso" or technique="mip"

and

    tf="transferfunctionfile.tf"

i.e.

         <volume dragger="box">CardiacCT</volume>
         <volume tf="colour.tf">CardiacCT</volume>
         <volume technique="isosurface">CardiacCT</volume>




Wed, 5 Aug 2009 12:51:10 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Tue, 4 Aug 2009 16:19:28 +0000
Checked in by : Robert Osfield
Updated the Present3D version number

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

Tue, 28 Jul 2009 06:00:23 +0000
Checked in by : Robert Osfield
Tweak of NodeMask docs

Tue, 28 Jul 2009 06:00:03 +0000
Checked in by : Robert Osfield
From Terry Welsh, .osg and .ive support for new Text boxes

Mon, 27 Jul 2009 15:39:27 +0000
Checked in by : Robert Osfield
Fixed bug in handling of stereo image pairs

Fri, 24 Jul 2009 15:55:50 +0000
Checked in by : Robert Osfield
Updated wrappers

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

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."



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."

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.

While I was at it I tightened up the values applied with DEPTH_RANGE
and POLYGON_OFFSET, not just for drawing the bounding box but also for
drawing backdrop text (these values must be coupled since the bounding
box has to be drawn deeper in Z than the backdrop text).  The values
in use before seemed like overkill and I was seeing some z-clipping
with my background scenery in the case of DEPTH_RANGE.  If there was a
good reason for the large values please let me know...."



Fri, 24 Jul 2009 14:45:44 +0000
Checked in by : Robert Osfield
From Chris Hanson, typo and comment clean ups

Fri, 24 Jul 2009 14:45:09 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

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

Thu, 23 Jul 2009 15:25:11 +0000
Checked in by : Stephan Maximilian HUBER
updated XCode project

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

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."

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."

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."

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.

Thu, 16 Jul 2009 11:48:08 +0000
Checked in by : Robert Osfield
Fixed build

Thu, 16 Jul 2009 11:35:59 +0000
Checked in by : Robert Osfield
Fixed build.

Thu, 16 Jul 2009 11:26:14 +0000
Checked in by : Robert Osfield
Added .get() to fix build

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."

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. "

Note from Robert Osfield, tweaked Colin's changes to that it use != DYNAMIC as the the test rather than == STATIC.




Thu, 16 Jul 2009 10:56:16 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Thu, 16 Jul 2009 10:13:13 +0000
Checked in by : Robert Osfield
Updated Contributors mapping

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

Wed, 15 Jul 2009 20:52:51 +0000
Checked in by : Cedric Pinson
From Cedric Pinson, add accessors to osgAnimation ActionCallback

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

Wed, 15 Jul 2009 15:28:19 +0000
Checked in by : Robert Osfield
Quitened down debug info.

Tue, 14 Jul 2009 13:32:06 +0000
Checked in by : Robert Osfield
Cleaned up indenting

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.

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."

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.



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.

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.

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.





Tue, 14 Jul 2009 10:35:53 +0000
Checked in by : Robert Osfield
Quitened down debug messages

Tue, 14 Jul 2009 10:04:18 +0000
Checked in by : Robert Osfield
Fixed the handling of compressed files

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."

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. "

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

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,
       <logic error here>
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)
       <sets the trap>
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"



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. "

Sun, 12 Jul 2009 15:44:57 +0000
Checked in by : Robert Osfield
Reverted erronous check-in (which was r10454)

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.



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.

 



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.

Fri, 3 Jul 2009 10:33:51 +0000
Checked in by : Robert Osfield
Updated version numbers for 2.9.6 release

Fri, 3 Jul 2009 10:27:58 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 3 Jul 2009 05:54:27 +0000
Checked in by : Robert Osfield
Added TrackballDragger code path

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

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.

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

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

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.

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."

Wed, 1 Jul 2009 14:50:08 +0000
Checked in by : Robert Osfield
Removed old references to CommandManager

Wed, 1 Jul 2009 14:49:30 +0000
Checked in by : Robert Osfield
Added constructor and destructor body

Wed, 1 Jul 2009 14:04:46 +0000
Checked in by : Robert Osfield
Added osgGA to the dependency list

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

   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.




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

Tue, 30 Jun 2009 13:00:58 +0000
Checked in by : Robert Osfield
Simplified Command and CommandManager

Tue, 30 Jun 2009 12:41:59 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode project, included osgPresentation

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

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.

Tue, 30 Jun 2009 07:33:16 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

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.

Fri, 26 Jun 2009 16:39:44 +0000
Checked in by : Robert Osfield
Added search in /usr/local/dicom for dcmtk.

Fri, 26 Jun 2009 08:16:03 +0000
Checked in by : Robert Osfield
Fixed warning

Fri, 26 Jun 2009 08:14:09 +0000
Checked in by : Robert Osfield
Fixed warning

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.

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.

Now when things are thrown they maintain a rate very close to what was
happening when the mouse button was released."



Thu, 25 Jun 2009 18:03:30 +0000
Checked in by : Robert Osfield
Fixed library definition

Thu, 25 Jun 2009 16:12:58 +0000
Checked in by : Robert Osfield
From Stephan Huber, fixes to Cocoa support

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.
"



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

Thu, 25 Jun 2009 13:31:48 +0000
Checked in by : Robert Osfield
Converted tabs to spaces

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."

Thu, 25 Jun 2009 13:13:54 +0000
Checked in by : Robert Osfield
From Mathias Froehlich, "put texturemanager into osg namespace."

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."

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."

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."



Thu, 25 Jun 2009 08:53:28 +0000
Checked in by : Robert Osfield
Added osgFX depedency

Thu, 25 Jun 2009 08:52:23 +0000
Checked in by : Robert Osfield
Added osgVolume dependency

Thu, 25 Jun 2009 08:23:21 +0000
Checked in by : Robert Osfield
Added export

Thu, 25 Jun 2009 07:42:10 +0000
Checked in by : Robert Osfield
Added CMakeLists.txt for osgPresentation

Wed, 24 Jun 2009 17:37:59 +0000
Checked in by : Robert Osfield
Added use of REGISTER_OGRPLUGIN to enable static linking of plugins

Wed, 24 Jun 2009 17:34:30 +0000
Checked in by : Robert Osfield
Added ffmpeg and pdf to static build

Wed, 24 Jun 2009 17:33:01 +0000
Checked in by : Robert Osfield
Added support for static compilation of pdf plugin

Wed, 24 Jun 2009 16:45:55 +0000
Checked in by : Robert Osfield
Fixed non windows path

Wed, 24 Jun 2009 16:14:53 +0000
Checked in by : Robert Osfield
Renamed the temporary application name of present3D-osg to present3D.

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.

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

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

Tue, 23 Jun 2009 12:59:01 +0000
Checked in by : Cedric Pinson
From Cedric Pinson, Fix clone operation for osgAnimation::Animation

Tue, 23 Jun 2009 11:33:59 +0000
Checked in by : Robert Osfield
Fixed warning

Tue, 23 Jun 2009 10:53:55 +0000
Checked in by : Robert Osfield
Added explict search for stdint.h

Mon, 22 Jun 2009 18:04:36 +0000
Checked in by : Cedric Pinson
From Cedric Pinson, fix clone for UpdateTransform

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

Mon, 22 Jun 2009 16:02:38 +0000
Checked in by : Robert Osfield
Fixed swap size

Mon, 22 Jun 2009 14:24:59 +0000
Checked in by : Cedric Pinson
From Cedric Pinson, fix constructors for cloning osgAnimation objects

Mon, 22 Jun 2009 13:08:06 +0000
Checked in by : Robert Osfield
Updated authors for 2.9.5 release

Mon, 22 Jun 2009 12:46:51 +0000
Checked in by : Robert Osfield
Update ChangeLog and contributors

Sun, 21 Jun 2009 17:28:59 +0000
Checked in by : Robert Osfield
Added mutex lock to iniGLNames to prevent threading problems during initialization

Sat, 20 Jun 2009 17:03:38 +0000
Checked in by : Robert Osfield
Added support for initial cut of static build of Present3D.

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.

The fix is very simple. Instead of calling computePositions() in TextBase::setAlignment(), it calls computeGlyphRepresentation(). I've attached the modified TextBase.cpp."



Sat, 20 Jun 2009 08:18:58 +0000
Checked in by : Robert Osfield
Updated wrappers

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

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."



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

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

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."



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)

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."



Fri, 19 Jun 2009 11:31:15 +0000
Checked in by : Robert Osfield
From Don Liech, Qt/OSG integration example

Fri, 19 Jun 2009 11:16:24 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 19 Jun 2009 11:04:48 +0000
Checked in by : Robert Osfield
Added append() method

Fri, 19 Jun 2009 11:00:33 +0000
Checked in by : Robert Osfield
Added clears to various vectors being passed in to get*() methods.

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()."

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.

Thu, 18 Jun 2009 08:29:20 +0000
Checked in by : Robert Osfield
Added exports

Thu, 18 Jun 2009 08:22:24 +0000
Checked in by : Robert Osfield
Updated wrappers

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."

this fix places the cornertabs back in the corners.
(the manipulator does not make sense otherwise)."



Wed, 17 Jun 2009 16:54:39 +0000
Checked in by : Robert Osfield
Replaced forward declarations

Wed, 17 Jun 2009 16:54:12 +0000
Checked in by : Robert Osfield
Added ".added", ".modified" and ".removed" alias to .revisions plugin

Wed, 17 Jun 2009 15:12:58 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 17 Jun 2009 15:12:50 +0000
Checked in by : Robert Osfield
Made method names consistent with each other

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 <cmath>, but on Cygwin only std::isnan
is defined that way. I changed it to <math.h> 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."



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.

Wed, 17 Jun 2009 08:56:11 +0000
Checked in by : Robert Osfield
Fixed error in DisplaySettings::setNumOfHttpDatabaseThreadsHint

Tue, 16 Jun 2009 13:02:33 +0000
Checked in by : Robert Osfield
Updated wrappers

Tue, 16 Jun 2009 12:32:02 +0000
Checked in by : Cedric Pinson
From Cedric Pinson, Fix osgAnimation warning and errors

Tue, 16 Jun 2009 12:22:36 +0000
Checked in by : Cedric Pinson
From Cedric Pinson, Fix osgAnimation warning and errors for Bone.cpp

Tue, 16 Jun 2009 10:20:41 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode project

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

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

Fri, 12 Jun 2009 10:37:42 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Based on rev 10332."



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.

These changes don't affect the normal osgViewer usage pattern."



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."

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!"

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

Fri, 12 Jun 2009 09:11:37 +0000
Checked in by : Robert Osfield
Updated ChangeLog

Thu, 11 Jun 2009 15:13:04 +0000
Checked in by : Robert Osfield
Fixed copy constructor

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.

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).

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).
"



Tue, 9 Jun 2009 08:43:13 +0000
Checked in by : Robert Osfield
From Gustav Happalahti, fixed filename usage

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.

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.





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)

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!"




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."

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

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.

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

Mon, 8 Jun 2009 12:44:23 +0000
Checked in by : Robert Osfield
Fixed doc message

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."

Mon, 8 Jun 2009 10:54:16 +0000
Checked in by : Robert Osfield
Fixed warning

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.

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.



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.

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

Fri, 5 Jun 2009 10:42:53 +0000
Checked in by : Robert Osfield
Fixed warning

Thu, 4 Jun 2009 14:37:02 +0000
Checked in by : Robert Osfield
Updated wrappers

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

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

Tue, 2 Jun 2009 16:54:34 +0000
Checked in by : Robert Osfield
Implemented DatabasePath in DatabaseBase revision classes

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.

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.

Mon, 1 Jun 2009 11:22:42 +0000
Checked in by : Robert Osfield
From Wojciech Lewandowski, Fixed handling of empty Program.

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."

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")."

Sat, 30 May 2009 07:39:59 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 29 May 2009 18:24:47 +0000
Checked in by : Robert Osfield
Added revisions plugin in support of paged database revisions.

Fri, 29 May 2009 09:39:17 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode project

Fri, 29 May 2009 08:46:58 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 29 May 2009 08:24:52 +0000
Checked in by : Robert Osfield
Ran dos2unx of files

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

Thu, 28 May 2009 16:46:11 +0000
Checked in by : Robert Osfield
Fixed warning

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."

Thu, 28 May 2009 14:12:03 +0000
Checked in by : Robert Osfield
Fixed unitialized variable

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."

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."

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

Thu, 28 May 2009 13:26:06 +0000
Checked in by : Robert Osfield
Fixed warnings

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.

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."



Thu, 28 May 2009 08:25:18 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 27 May 2009 13:02:01 +0000
Checked in by : Robert Osfield
Renamed application osgvirtualprogram to osgshadercompostior to better reflect it function

Wed, 27 May 2009 13:00:58 +0000
Checked in by : Robert Osfield
Renamed osgvirtualprogram to osgshadercompositor to better reflect it's function

Wed, 27 May 2009 12:11:41 +0000
Checked in by : Robert Osfield
Fixed glStencilMask setting.

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.

Wed, 27 May 2009 09:45:46 +0000
Checked in by : Robert Osfield
Fixed warning

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."

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."

Tue, 26 May 2009 10:10:11 +0000
Checked in by : Robert Osfield
Fixed warnings

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.

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.

Mon, 25 May 2009 12:07:34 +0000
Checked in by : Robert Osfield
Updated wrappers

Mon, 25 May 2009 12:04:29 +0000
Checked in by : Robert Osfield
Changed Status enums to ActionStatus and TimelineStatus to avoid X11 problems

Mon, 25 May 2009 11:16:54 +0000
Checked in by : Robert Osfield
Added initializer of ParticleSystemUpdater::_frameNumber

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. "

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.

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."



Fri, 22 May 2009 08:31:58 +0000
Checked in by : Robert Osfield
From Alberto Luacas, added new pkg-cofig files

Fri, 22 May 2009 07:52:25 +0000
Checked in by : Robert Osfield
From Alberto Luacas, separate pkg-config .pc files

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.

Thu, 21 May 2009 08:37:04 +0000
Checked in by : Robert Osfield
Added a default value to avoid warning

Wed, 20 May 2009 12:14:45 +0000
Checked in by : Robert Osfield
Fixed warnings

Wed, 20 May 2009 12:06:57 +0000
Checked in by : Robert Osfield
Fixed warnings

Wed, 20 May 2009 11:14:27 +0000
Checked in by : Robert Osfield
Updated wrappers

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

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.

Tue, 19 May 2009 16:12:27 +0000
Checked in by : Stephan Maximilian HUBER
updated XCode-project

Tue, 19 May 2009 15:11:49 +0000
Checked in by : Robert Osfield
Fixed typo

Tue, 19 May 2009 15:10:41 +0000
Checked in by : Robert Osfield
Updated wrappers

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."

Tue, 19 May 2009 12:25:54 +0000
Checked in by : Robert Osfield
Attempt to fix Cygwin build failure

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

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."

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. "

Tue, 19 May 2009 10:42:49 +0000
Checked in by : Robert Osfield
From Stephan Huber, replaced #include <malloc.h> with #include <stdlib.h> to fix build under OSX

Tue, 19 May 2009 10:35:50 +0000
Checked in by : Stephan Maximilian HUBER
updated XCode-project

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).

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

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"



Mon, 18 May 2009 13:01:25 +0000
Checked in by : Robert Osfield
Quietened down debug messages

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."



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 <<std::endl). Standard streams std::cout and std::cerr are no longer used although by default StandardNotifyHandler is a message sink. Custom notification handler can be set with osg::setNotifyHandler(NotifyHandler *) function.Two implementations of NotifyHandler are currently available:
- StandardNotifyHandler, calls fputs(message, stderr) for severity <= WARN and fputs(message, stdout) for severity > 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())"




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:

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.
"



Mon, 18 May 2009 10:28:14 +0000
Checked in by : Robert Osfield
Minor tweaks to avoid warnings when generating wrappers/doxygen documentation

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

Mon, 18 May 2009 09:34:17 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 15 May 2009 15:49:10 +0000
Checked in by : Robert Osfield
From Jean-Sebastien Guay, build fixes form Windows

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

Fri, 15 May 2009 12:31:23 +0000
Checked in by : Robert Osfield
Removed debugging code block

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. 



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?"



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.

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.
"



Thu, 14 May 2009 16:06:34 +0000
Checked in by : Robert Osfield
Added setting of full filename to options as "filename" entry.

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.
"



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:

+ 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"



Thu, 14 May 2009 13:40:02 +0000
Checked in by : Robert Osfield
Integrated support for relative paths, and http hosted presentations

Thu, 14 May 2009 13:30:25 +0000
Checked in by : Robert Osfield
Replaced tabs with spaces

Thu, 14 May 2009 13:16:05 +0000
Checked in by : Robert Osfield
Changed tabs to spaces

Thu, 14 May 2009 13:10:18 +0000
Checked in by : Robert Osfield
Changed debug message to INFO notication level

Thu, 14 May 2009 13:05:32 +0000
Checked in by : Robert Osfield
Added support for read the various animaton materials/paths from http

Thu, 14 May 2009 09:44:55 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

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.

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

Wed, 13 May 2009 19:44:27 +0000
Checked in by : Robert Osfield
Added support for Object, Image, HeightField and Shaders in FileCache

Wed, 13 May 2009 15:05:23 +0000
Checked in by : Robert Osfield
Fixed handling of space after = in options set up.

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.

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."



Tue, 12 May 2009 16:26:07 +0000
Checked in by : Robert Osfield
Removed SDL header

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.

Tue, 12 May 2009 12:27:54 +0000
Checked in by : Robert Osfield
Attempt to fix OSX missing _main symbol error

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

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.

Tue, 12 May 2009 08:56:45 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode project to reflect current trunk

Tue, 12 May 2009 05:58:31 +0000
Checked in by : Robert Osfield
Added return to end of file to prevent warning

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

Mon, 11 May 2009 16:38:59 +0000
Checked in by : Robert Osfield
Updated wrappers

Mon, 11 May 2009 16:38:40 +0000
Checked in by : Robert Osfield
Moved ReadFile/WriteFile/FindFile/FileLocationCallbacks from include/osg/Options into their own Callbacks header/source file.

Mon, 11 May 2009 14:11:35 +0000
Checked in by : Robert Osfield
Commented out debug messages

Mon, 11 May 2009 13:03:20 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode project to reflect current trunk

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.

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.




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

Sat, 9 May 2009 08:54:38 +0000
Checked in by : Robert Osfield
Moved Options copy constructor to .cpp

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.

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




Fri, 8 May 2009 12:53:11 +0000
Checked in by : Robert Osfield
Removed redudent check against frustum.getCurrentMask()

Fri, 8 May 2009 12:38:05 +0000
Checked in by : Robert Osfield
Changed 0 initializer to InheritCursor

Fri, 8 May 2009 12:34:06 +0000
Checked in by : Robert Osfield
Added osgGA and osgText to dependency list

Fri, 8 May 2009 12:32:00 +0000
Checked in by : Robert Osfield
Added osgText dependency

Fri, 8 May 2009 09:29:40 +0000
Checked in by : Robert Osfield
Cleaned up set up of SDL.

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.




Fri, 8 May 2009 07:50:09 +0000
Checked in by : Robert Osfield
Fixed unitialized variable

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.

Thu, 7 May 2009 18:32:36 +0000
Checked in by : Robert Osfield
Moved property code from ImageLayer into Layer where it belongs

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.

Thu, 7 May 2009 14:53:21 +0000
Checked in by : Robert Osfield
Fixed handling of resize of ABSOLUTE_RF slave cameras

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 :

- 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"




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.
"



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 ..."

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.

//------------- 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());
  }
}
"



Thu, 7 May 2009 12:55:07 +0000
Checked in by : Robert Osfield
From Michael Platings, added VisualStidio specific option for disabling iterator checking.

Thu, 7 May 2009 09:40:43 +0000
Checked in by : Robert Osfield
Fixed typo of POPPLER_LIBRARY_DIRS

Thu, 7 May 2009 09:16:50 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode project to reflect current trunk

Thu, 7 May 2009 09:07:34 +0000
Checked in by : Robert Osfield
Added support for osgVolume::TransferFunctionProperty

Wed, 6 May 2009 13:47:08 +0000
Checked in by : Robert Osfield
Added .ive reading/writing support for osgVolume::Property classes

Tue, 5 May 2009 18:34:44 +0000
Checked in by : Robert Osfield
Added initial cut at support for osgVolume in .ive format.

Tue, 5 May 2009 12:46:06 +0000
Checked in by : Robert Osfield
Changed debug message from NOTICE to INFO

Tue, 5 May 2009 12:18:24 +0000
Checked in by : Robert Osfield
Fixed support for reading imagery relative to the .osg being loaded

Tue, 5 May 2009 11:05:17 +0000
Checked in by : Robert Osfield
Added checks to prevent crash when no imagery is applied

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

Tue, 5 May 2009 10:27:59 +0000
Checked in by : Robert Osfield
Added selection of first slide

Sun, 3 May 2009 18:51:13 +0000
Checked in by : Robert Osfield
Warning fixes

Sat, 2 May 2009 07:50:37 +0000
Checked in by : Robert Osfield
Warning fixes

Fri, 1 May 2009 10:24:51 +0000
Checked in by : Robert Osfield
Added export for windows build

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



#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."






Fri, 1 May 2009 08:20:26 +0000
Checked in by : Robert Osfield
Fixed warning + bug

Fri, 1 May 2009 08:10:56 +0000
Checked in by : Robert Osfield
Added ws2_32 dependency

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.

Thu, 30 Apr 2009 08:50:43 +0000
Checked in by : Robert Osfield
Added support for reading from streams

Thu, 30 Apr 2009 08:27:07 +0000
Checked in by : Robert Osfield
Build fixes

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

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.




Tue, 28 Apr 2009 15:50:05 +0000
Checked in by : Robert Osfield
Added osgFX to dependencies

Tue, 28 Apr 2009 15:48:56 +0000
Checked in by : Robert Osfield
Added osgViewer as a dependency

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



Tue, 28 Apr 2009 14:03:02 +0000
Checked in by : Robert Osfield
Reorganised placement of classes associated with scene graph.Warning clean up.



Tue, 28 Apr 2009 11:57:51 +0000
Checked in by : Robert Osfield
Moved present3D from own repository into core OSG.

Mon, 27 Apr 2009 16:32:24 +0000
Checked in by : Robert Osfield
Fixed typo

Mon, 27 Apr 2009 15:45:52 +0000
Checked in by : Robert Osfield
Added detection of active alpha channel.

Mon, 27 Apr 2009 13:54:22 +0000
Checked in by : Robert Osfield
Further improvements in p3d plugin

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.

Mon, 27 Apr 2009 06:26:41 +0000
Checked in by : Robert Osfield
Attempt to fix mingw warnings

Sat, 25 Apr 2009 21:44:38 +0000
Checked in by : Robert Osfield
Fixed warning

Fri, 24 Apr 2009 20:37:33 +0000
Checked in by : Robert Osfield
Updated ChangeLog and AUTHORS for 2.9.4 dev release

Fri, 24 Apr 2009 20:14:42 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 24 Apr 2009 18:37:36 +0000
Checked in by : Robert Osfield
Added checking of need to update.

Fri, 24 Apr 2009 17:51:23 +0000
Checked in by : Robert Osfield
Added suggestion of IntersectionVisitor instead.

Fri, 24 Apr 2009 17:49:34 +0000
Checked in by : Robert Osfield
Changed doxygen docs to say deprecated

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

Fri, 24 Apr 2009 11:53:01 +0000
Checked in by : Robert Osfield
Updated ChangeLog

Fri, 24 Apr 2009 11:23:33 +0000
Checked in by : Robert Osfield
Updated wrappers

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."

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)."



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

Thu, 23 Apr 2009 13:42:24 +0000
Checked in by : Robert Osfield
Warning fixes

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.

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

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

Wed, 22 Apr 2009 16:50:50 +0000
Checked in by : Robert Osfield
Fixed warning

Wed, 22 Apr 2009 16:47:07 +0000
Checked in by : Robert Osfield
Warning fixes

Wed, 22 Apr 2009 16:42:16 +0000
Checked in by : Robert Osfield
Warning fixes

Wed, 22 Apr 2009 16:41:58 +0000
Checked in by : Robert Osfield
Warning fix

Wed, 22 Apr 2009 16:33:24 +0000
Checked in by : Robert Osfield
Updated version numbers in prep for 2.9.4 dev release

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.



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'."

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."

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. "

Wed, 22 Apr 2009 12:52:22 +0000
Checked in by : Robert Osfield
From Chris Hanson, spelling and grammer fixes

Wed, 22 Apr 2009 11:22:08 +0000
Checked in by : Robert Osfield
Added hand cursor implementation

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."

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

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.)"



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

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."

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."

Wed, 22 Apr 2009 10:46:12 +0000
Checked in by : Robert Osfield
Changed parameter for T* to const T*.

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."

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."

Tue, 21 Apr 2009 12:02:15 +0000
Checked in by : Robert Osfield
Updated wrappers

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."

Tue, 21 Apr 2009 10:46:45 +0000
Checked in by : Robert Osfield
From Chris Hanson,  "Fixed case of morphTarget argument in Doxygen comments."

Tue, 21 Apr 2009 10:13:19 +0000
Checked in by : Robert Osfield
Fixed handling of case of no graphics contexts being assigned

Mon, 20 Apr 2009 19:05:59 +0000
Checked in by : Robert Osfield
Removed #ifdef WIN32 around #include <errno.h> to fix build under Mandrake build.

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

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

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

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. "

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



Sat, 11 Apr 2009 07:12:54 +0000
Checked in by : Robert Osfield
Updated ChangeLog and AUTHORS for 2.9.3 dev release

Sat, 11 Apr 2009 06:25:28 +0000
Checked in by : Robert Osfield
updated wrappers

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.

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

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

Fri, 10 Apr 2009 11:19:34 +0000
Checked in by : Robert Osfield
Fixed build error by replacing M_PI with osg::PI.

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

Fri, 10 Apr 2009 10:07:13 +0000
Checked in by : Robert Osfield
Added typedef and updated wrappers

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) ."

Fri, 10 Apr 2009 09:37:44 +0000
Checked in by : Robert Osfield
From J.P. Delport, tweak to fix spelling and grammer

Fri, 10 Apr 2009 09:16:37 +0000
Checked in by : Robert Osfield
From Santosh Gaikwad, warning fixes

Thu, 9 Apr 2009 18:27:11 +0000
Checked in by : Robert Osfield
Added ply entry

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."

"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."




Thu, 9 Apr 2009 16:40:22 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode project to reflect current trunk

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.




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"

Thu, 9 Apr 2009 15:55:18 +0000
Checked in by : Robert Osfield
Updated wrappers

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."

Thu, 9 Apr 2009 15:33:28 +0000
Checked in by : Robert Osfield
Converted tabs to four spaces

Thu, 9 Apr 2009 14:41:11 +0000
Checked in by : Robert Osfield
From Paul Martz, typo fix

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.

(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")."



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. "

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."



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.

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"
"



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

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."



Thu, 9 Apr 2009 09:23:45 +0000
Checked in by : Robert Osfield
From Philip Lowman, clean up of CMake files

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. "

Wed, 8 Apr 2009 14:08:16 +0000
Checked in by : Robert Osfield
From Cory Riddell, fix for aspect ratio

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"

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."

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:

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 :-)"



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."

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

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.

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."

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.

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."



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

Wed, 8 Apr 2009 10:32:19 +0000
Checked in by : Robert Osfield
From Martin Beckett, added mouse wheel support

Tue, 7 Apr 2009 10:13:54 +0000
Checked in by : Robert Osfield
Added better handling of use of VBO's in compileGLObjects()

Tue, 7 Apr 2009 10:12:59 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Tue, 7 Apr 2009 08:40:49 +0000
Checked in by : Cedric Pinson
From Serge Lages, Elastic added to EaseMotion

Mon, 6 Apr 2009 12:28:02 +0000
Checked in by : Robert Osfield
Added disabling of mipmapping for non power of two textures

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

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

Fri, 3 Apr 2009 09:54:15 +0000
Checked in by : Robert Osfield
Tweaks to shader to fix warnings on with ATI drivers

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

Mon, 30 Mar 2009 09:55:40 +0000
Checked in by : Robert Osfield
Added shader to convert images into greyscale when rendering in anaglyphic

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.

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.



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

Tue, 24 Mar 2009 23:17:05 +0000
Checked in by : Robert Osfield
Added support for image streams

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).

I've also added Matroska video to the list of supported extensions"



Mon, 23 Mar 2009 20:47:18 +0000
Checked in by : Robert Osfield
Updated AUTHORS.txt for 2.9.2 dev release

Mon, 23 Mar 2009 20:44:57 +0000
Checked in by : Robert Osfield
Updated ChangeLog for 2.9.2 dev release

Mon, 23 Mar 2009 20:25:51 +0000
Checked in by : Robert Osfield
From Aric Aumann, fixed handling of null texture coordinates

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.

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"



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."

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."

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 "

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."

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. "

Mon, 23 Mar 2009 16:13:42 +0000
Checked in by : Robert Osfield
From Michale Platings, "Minor change to include ReaderWriterDAE.h"

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"

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."



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!)"

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.

IF(${OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX} STREQUAL "quicktime")
was changed to
IF(OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX STREQUAL "quicktime")
"



Mon, 23 Mar 2009 15:48:19 +0000
Checked in by : Robert Osfield
From David Callu, clean up of FindFFmpeg include paths

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."

Mon, 23 Mar 2009 15:38:30 +0000
Checked in by : Robert Osfield
Cleaned up interface

Mon, 23 Mar 2009 15:38:03 +0000
Checked in by : Robert Osfield
Updated wrapper conf to avoid generating wrappers for PrintVisitor

Mon, 23 Mar 2009 15:21:31 +0000
Checked in by : Robert Osfield
Bumped version numbers in prep for 2.7.2 dev release

Mon, 23 Mar 2009 15:10:36 +0000
Checked in by : Robert Osfield
Added ShaderGen wrapper

Mon, 23 Mar 2009 15:04:33 +0000
Checked in by : Robert Osfield
Removed PrintVisitor as it was causing problems with wrapper building.

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."

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)

To view fixed function pipeline files and paged databases simply run >osgshadergen myfile.osg"



Thu, 19 Mar 2009 11:36:54 +0000
Checked in by : Robert Osfield
UPdated wrappers

Thu, 19 Mar 2009 11:11:51 +0000
Checked in by : Robert Osfield
Inroduced simple PrintVisitor class for helping debug scene graph structures

Thu, 19 Mar 2009 10:56:38 +0000
Checked in by : Robert Osfield
Fixed spacing

Thu, 19 Mar 2009 10:55:51 +0000
Checked in by : Robert Osfield
Added compressed to list of supported options

Thu, 19 Mar 2009 10:55:29 +0000
Checked in by : Robert Osfield
Added debug message (commented out for now.)

Thu, 19 Mar 2009 10:27:24 +0000
Checked in by : Robert Osfield
Added osgTerrain::Terrain support to the .osg format

Sat, 14 Mar 2009 15:40:41 +0000
Checked in by : Robert Osfield
From Adrian Egli, build fix for Win32 FFmpeg

Fri, 13 Mar 2009 15:56:19 +0000
Checked in by : Robert Osfield
From Stephan Huber, clean up of Quicktime plugin

Fri, 13 Mar 2009 13:25:00 +0000
Checked in by : Robert Osfield
Update AUTHORS file

Fri, 13 Mar 2009 11:56:16 +0000
Checked in by : Robert Osfield
Updated ChangeLog

Fri, 13 Mar 2009 11:06:12 +0000
Checked in by : Robert Osfield
Warning fixes

Fri, 13 Mar 2009 11:01:11 +0000
Checked in by : Robert Osfield
Fixed for division by zero issue.

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 :) )."

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})

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."



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."



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.

Thu, 12 Mar 2009 17:12:48 +0000
Checked in by : Robert Osfield
Updated wrappers

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



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.

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<OpenThreads::Mutex> lock(_lockCountMutex);
++_lockCount;
return 0;
 
4.)
int result = Mutex::lock();
if (result==0)
{
OpenThreads::ScopedLock<OpenThreads::Mutex> 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."



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.

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

Wed, 11 Mar 2009 17:39:08 +0000
Checked in by : Robert Osfield
changed debug info to output to INFO instaed of NOTICE.

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

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()




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.

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:

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)"



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.

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."



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."

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

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).

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());
}"



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.

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."

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()),

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)."



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.

Wed, 11 Mar 2009 10:34:29 +0000
Checked in by : Robert Osfield
Converted tabs to four spaces

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."

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."



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

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."




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.



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.



Tue, 10 Mar 2009 17:13:51 +0000
Checked in by : Robert Osfield
quitened down debug info

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

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.

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"




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.

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
"



Tue, 10 Mar 2009 13:46:55 +0000
Checked in by : Robert Osfield
Added copyright + fixed typo

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.

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'."




Tue, 10 Mar 2009 11:14:56 +0000
Checked in by : Robert Osfield
From Martin Spott, compile fixes for IBM AIX.

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.

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.
"



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.

Tue, 10 Mar 2009 10:13:20 +0000
Checked in by : Robert Osfield
From Stephan Huber, support for Cocoa windowing under OSX.

Mon, 9 Mar 2009 23:11:23 +0000
Checked in by : Robert Osfield
Fixed osgWrappers for osgAnimation library

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

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
"



Mon, 9 Mar 2009 16:53:57 +0000
Checked in by : Robert Osfield
Tweaked API to get wrappers to build

Mon, 9 Mar 2009 16:17:57 +0000
Checked in by : Robert Osfield
Updated wrappers

Mon, 9 Mar 2009 14:56:20 +0000
Checked in by : Robert Osfield
Further work on IncrementalCompileOperation

Sun, 8 Mar 2009 16:48:48 +0000
Checked in by : Robert Osfield
Fixed thread exit problems

Sun, 8 Mar 2009 12:00:36 +0000
Checked in by : Robert Osfield
Preliminary work on general purpose incremental compile support in osgViewer.

Thu, 5 Mar 2009 15:31:03 +0000
Checked in by : Robert Osfield
Updated wrappers and dev release version numbers

Thu, 5 Mar 2009 14:33:21 +0000
Checked in by : Robert Osfield
Cleaned up FindFFmpeg.cmake

Thu, 5 Mar 2009 10:57:54 +0000
Checked in by : Robert Osfield
Added quick proof of concept for live video streaming under linux

Wed, 4 Mar 2009 16:35:08 +0000
Checked in by : Robert Osfield
Added search for headers in ffmpeg directory

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.

Wed, 4 Mar 2009 16:15:05 +0000
Checked in by : Robert Osfield
Fixed indentation

Wed, 4 Mar 2009 16:03:28 +0000
Checked in by : Robert Osfield
Removed boost reference and cleaned up debug output

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.



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.

Wed, 4 Mar 2009 11:59:15 +0000
Checked in by : Robert Osfield
Fixes to non swscale code path

Wed, 4 Mar 2009 11:46:34 +0000
Checked in by : Robert Osfield
Fixed img_convert usage

Wed, 4 Mar 2009 11:06:34 +0000
Checked in by : Robert Osfield
Removed reference to OpenAL plugin

Wed, 4 Mar 2009 11:05:55 +0000
Checked in by : Robert Osfield
Added support for using libswscale

Tue, 3 Mar 2009 20:59:16 +0000
Checked in by : Robert Osfield
Added SDL audio path

Tue, 3 Mar 2009 20:49:46 +0000
Checked in by : Robert Osfield
Improved the clean up ordering

Tue, 3 Mar 2009 17:37:48 +0000
Checked in by : Robert Osfield
Added SDL audio support for reading from ffmpeg movies

Tue, 3 Mar 2009 17:28:50 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated xcode project, added AudioStream to project

Tue, 3 Mar 2009 16:51:01 +0000
Checked in by : Robert Osfield
Introduce FFmpegAudioStream implementation

Tue, 3 Mar 2009 14:59:04 +0000
Checked in by : Robert Osfield
Removed redudent export

Tue, 3 Mar 2009 11:52:26 +0000
Checked in by : Robert Osfield
Added LINK_DIRECTORIES

Tue, 3 Mar 2009 11:25:31 +0000
Checked in by : Robert Osfield
Fixed include list

Tue, 3 Mar 2009 10:53:26 +0000
Checked in by : Robert Osfield
From Ulrich Hertlein, build fixes for OSX.

Tue, 3 Mar 2009 09:50:43 +0000
Checked in by : Robert Osfield
Added ffmpeg to include search paths

Tue, 3 Mar 2009 09:49:53 +0000
Checked in by : Robert Osfield
Added ogg to accepted formats

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.

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."

Mon, 2 Mar 2009 09:56:39 +0000
Checked in by : Robert Osfield
From Petr Salinger, fix for build under GNU/kFreeBSD.

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

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

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."



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.

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 ;)"






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"



Thu, 26 Feb 2009 10:48:04 +0000
Checked in by : Robert Osfield
Addded setting of FREETYPE_INCLUDE_DIRS to Find3rdPartyDependencies.cmake

Wed, 25 Feb 2009 20:52:34 +0000
Checked in by : Robert Osfield
Tweaks to handle more modern version of ffmpeg compiled form source.

Wed, 25 Feb 2009 16:05:12 +0000
Checked in by : Robert Osfield
Added Cmake support for new ffmpeg plugin

Wed, 25 Feb 2009 16:04:48 +0000
Checked in by : Robert Osfield
From Tanguy Fautre (Aris Technologies), ffmpeg plugin

Mon, 23 Feb 2009 10:50:42 +0000
Checked in by : Robert Osfield
Updated version info for 2.9.0 release

Mon, 23 Feb 2009 10:41:16 +0000
Checked in by : Robert Osfield
Updated ChangeLog for 2.9.0 dev release

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.

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."

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."

Fri, 20 Feb 2009 13:58:44 +0000
Checked in by : Robert Osfield
Added VisualStudio versioning info to plugins

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"



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."



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. "



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.

Thu, 19 Feb 2009 17:34:35 +0000
Checked in by : Robert Osfield
Fixed bug in checking if numRead values.

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."



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."



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)."

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/
"



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.

Wed, 11 Feb 2009 20:26:06 +0000
Checked in by : Robert Osfield
Fixed typo

Wed, 11 Feb 2009 20:02:45 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 11 Feb 2009 19:55:11 +0000
Checked in by : Robert Osfield
Updated wrappers to works with doxygen 1.5.8 output.

Wed, 11 Feb 2009 17:21:36 +0000
Checked in by : Robert Osfield
Disabled the use of aggressive warnings under OSX as the default.

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).

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?
"



Wed, 11 Feb 2009 13:33:40 +0000
Checked in by : Robert Osfield
From Sukender, changed doxygen verbosity to quite

Wed, 11 Feb 2009 12:10:52 +0000
Checked in by : Robert Osfield
Added brackets around (unsigned int) to avoid IRIX compile error.

Wed, 11 Feb 2009 10:41:55 +0000
Checked in by : Robert Osfield
Fixes for doxgen warnings

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."



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




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




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

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. "

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




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

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."

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. "



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.

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"

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



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<Mutext>

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. "

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




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:

   svn merge -r 9725:9726 http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.8




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

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

Mon, 9 Feb 2009 11:13:37 +0000
Checked in by : Robert Osfield
Removed redundent #pragma

Mon, 9 Feb 2009 10:00:06 +0000
Checked in by : Robert Osfield
Updated wrappers

Mon, 9 Feb 2009 09:41:56 +0000
Checked in by : Robert Osfield
From Cedric Pinson, removed virtual inheritance from osgAnimation::Animation

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.

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())"



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

Fri, 6 Feb 2009 15:49:21 +0000
Checked in by : Robert Osfield
Bumped version number of svn/trunk to 2.9.0

Fri, 6 Feb 2009 15:39:44 +0000
Checked in by : Robert Osfield
Added a couple more pragma's to resolve final Windows warnings

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

Fri, 6 Feb 2009 15:17:49 +0000
Checked in by : Robert Osfield
From Gary Quinn, spelling fixes

Fri, 6 Feb 2009 14:19:14 +0000
Checked in by : Robert Osfield
Fixed path to version resource input file

Fri, 6 Feb 2009 14:13:40 +0000
Checked in by : Robert Osfield
From Gary Quin + Robert Osfield, clean up of old batch file

Fri, 6 Feb 2009 12:15:15 +0000
Checked in by : Robert Osfield
Fixed data copy bug

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.
[...]"




Fri, 6 Feb 2009 08:46:02 +0000
Checked in by : Robert Osfield
Added support for VS versioning of OpenThreads

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"

Thu, 5 Feb 2009 14:56:39 +0000
Checked in by : Robert Osfield
Changed version to only be run for Visual Studio

Thu, 5 Feb 2009 14:55:17 +0000
Checked in by : Robert Osfield
From Sherman Wilcox, added VS versioning information into libs

Thu, 5 Feb 2009 14:54:42 +0000
Checked in by : Robert Osfield
Added exports, and moved constructors into .cpp.

Thu, 5 Feb 2009 14:42:29 +0000
Checked in by : Robert Osfield
Added initializer and fixed indentation

Thu, 5 Feb 2009 14:35:46 +0000
Checked in by : Robert Osfield
Suppress gcc warnings emitted by external headers

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."



Thu, 5 Feb 2009 12:03:19 +0000
Checked in by : Robert Osfield
Warning fixes

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

Thu, 5 Feb 2009 10:14:49 +0000
Checked in by : Robert Osfield
From Jean-Sebastien Guay, warning fixes

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

Wed, 4 Feb 2009 13:51:12 +0000
Checked in by : Robert Osfield
Form Paul Melis, spelling fixes

Wed, 4 Feb 2009 12:59:44 +0000
Checked in by : Robert Osfield
Set the release candidate to 1.

Wed, 4 Feb 2009 12:54:18 +0000
Checked in by : Robert Osfield
Updated news to keep in sync with online news entry

Wed, 4 Feb 2009 12:50:26 +0000
Checked in by : Robert Osfield
Updated AUTHORS file for 2.8 branch.

Wed, 4 Feb 2009 12:31:33 +0000
Checked in by : Robert Osfield
Updated NEWS and README for 2.8 branch

Wed, 4 Feb 2009 11:35:24 +0000
Checked in by : Robert Osfield
Fixed the constness of osg::Image* pointer

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.

Tue, 3 Feb 2009 20:26:26 +0000
Checked in by : Robert Osfield
Clean up warning disable code

Tue, 3 Feb 2009 20:17:24 +0000
Checked in by : Robert Osfield
Disabled warning

Tue, 3 Feb 2009 17:14:34 +0000
Checked in by : Robert Osfield
Fixed warning

Tue, 3 Feb 2009 17:11:54 +0000
Checked in by : Robert Osfield
Fixed warning

Tue, 3 Feb 2009 15:28:53 +0000
Checked in by : Robert Osfield
Warning fixes

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

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

Tue, 3 Feb 2009 11:07:13 +0000
Checked in by : Robert Osfield
Fixed warning

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.

Tue, 3 Feb 2009 11:04:37 +0000
Checked in by : Robert Osfield
Added explict initialization of osg::Object contstructor to fix warning

Mon, 2 Feb 2009 20:42:33 +0000
Checked in by : Robert Osfield
Updated wrappers

Mon, 2 Feb 2009 20:35:19 +0000
Checked in by : Robert Osfield
Warnings fixes for VS.

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

Mon, 2 Feb 2009 18:55:08 +0000
Checked in by : Robert Osfield
From Cedric Pinson, warning fix.

Mon, 2 Feb 2009 17:46:16 +0000
Checked in by : Robert Osfield
Added initializer for local Quat definition

Mon, 2 Feb 2009 17:32:34 +0000
Checked in by : Robert Osfield
Added explict intializiers of base classes

Mon, 2 Feb 2009 17:16:02 +0000
Checked in by : Robert Osfield
Added /lib64 to search paths.

Mon, 2 Feb 2009 17:15:40 +0000
Checked in by : Robert Osfield
Improved handling of stats projection size

Mon, 2 Feb 2009 16:56:46 +0000
Checked in by : Robert Osfield
From Stephan Huber, build fix for OSX XCode build

Mon, 2 Feb 2009 15:04:53 +0000
Checked in by : Robert Osfield
Fixed version

Mon, 2 Feb 2009 14:55:51 +0000
Checked in by : Robert Osfield
Updated OpenThreads and OpenSceneGraph version ready for OSG-2.8 branch.

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."

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."

Mon, 2 Feb 2009 14:43:27 +0000
Checked in by : Robert Osfield
Refactored osg::TransferFunction1D to use an std::map internally which is kept in sync with the actual osg::Image that is passed to the GPU.Added .osg support for osg::TransferFunction1D.

Updated wrappers



Mon, 2 Feb 2009 09:23:28 +0000
Checked in by : Robert Osfield
From Sukender, add check against NULL parameter value

Sun, 1 Feb 2009 12:38:55 +0000
Checked in by : Robert Osfield
Ground work for full .osg support for osg::TransferFunction*

Sat, 31 Jan 2009 21:46:27 +0000
Checked in by : Robert Osfield
Updated NEWS

Sat, 31 Jan 2009 21:46:16 +0000
Checked in by : Robert Osfield
Added initial placeholder for .osg support for osgVolume::TransferFunctionProperty

Sat, 31 Jan 2009 21:45:47 +0000
Checked in by : Robert Osfield
Fixed handling of TransferFunctionProperty.

Sat, 31 Jan 2009 10:21:36 +0000
Checked in by : Robert Osfield
Rejigged the Xrandr include

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

Fri, 30 Jan 2009 17:10:27 +0000
Checked in by : Robert Osfield
Updated iso surface shaders

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

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. "

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 "

Fri, 30 Jan 2009 13:05:07 +0000
Checked in by : Robert Osfield
Update AUTHORS for release

Fri, 30 Jan 2009 12:17:59 +0000
Checked in by : Robert Osfield
Updated ChangeLog for 2.7.9 release

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

Fri, 30 Jan 2009 11:40:19 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 30 Jan 2009 10:55:28 +0000
Checked in by : Robert Osfield
Fixed warnings, updated NEWS

Thu, 29 Jan 2009 20:40:56 +0000
Checked in by : Robert Osfield
Added support for osgVolume::ProperyAdjustmentCallback

Thu, 29 Jan 2009 20:34:22 +0000
Checked in by : Robert Osfield
Added support for osgVolume::Property classes

Thu, 29 Jan 2009 17:19:47 +0000
Checked in by : Robert Osfield
Fixed handling of files with event callbacks on them.

Thu, 29 Jan 2009 16:38:46 +0000
Checked in by : Robert Osfield
From Jean-Sebastien Guay, added missing windows socket library

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.

Thu, 29 Jan 2009 15:32:43 +0000
Checked in by : Robert Osfield
Update ChangeLog

Thu, 29 Jan 2009 15:07:57 +0000
Checked in by : Robert Osfield
Updated news

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

Thu, 29 Jan 2009 14:35:15 +0000
Checked in by : Robert Osfield
Added CMakeLists.txt for osgcluster

Thu, 29 Jan 2009 14:00:59 +0000
Checked in by : Robert Osfield
First cut of NEWS for 2.8 release

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

Thu, 29 Jan 2009 13:17:48 +0000
Checked in by : Robert Osfield
Added osgcluster example into build system

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."



Thu, 29 Jan 2009 11:03:38 +0000
Checked in by : Robert Osfield
Fixed warning

Thu, 29 Jan 2009 10:43:11 +0000
Checked in by : Robert Osfield
Revised the message about install path.

Thu, 29 Jan 2009 10:22:52 +0000
Checked in by : Robert Osfield
Added missing entry in build for AnimationManager.cpp

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.

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.

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.



Wed, 28 Jan 2009 16:48:10 +0000
Checked in by : Robert Osfield
Removed old shader files

Wed, 28 Jan 2009 16:44:46 +0000
Checked in by : Robert Osfield
Removed comments.

Wed, 28 Jan 2009 15:23:18 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 28 Jan 2009 15:15:19 +0000
Checked in by : Robert Osfield
Moved push/popCulling set it public scope.

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"

Wed, 28 Jan 2009 12:55:38 +0000
Checked in by : Robert Osfield
From Mathias Froehlich, fixed typo.

Wed, 28 Jan 2009 12:51:47 +0000
Checked in by : Robert Osfield
Fixed warnings

Wed, 28 Jan 2009 12:45:05 +0000
Checked in by : Robert Osfield
Fixed of warnings

Wed, 28 Jan 2009 12:28:04 +0000
Checked in by : Robert Osfield
Fixed warnings

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.

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. "

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.

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



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
<same-as-above>. 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."



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."



Wed, 28 Jan 2009 09:26:44 +0000
Checked in by : Robert Osfield
From Paul Melis, remove redundent spaces

Wed, 28 Jan 2009 09:24:06 +0000
Checked in by : Robert Osfield
From Paul Melis, removed redundent spacing.

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

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:

  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."



Wed, 28 Jan 2009 09:06:46 +0000
Checked in by : Robert Osfield
Added back in intializers for RenderSurface.

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.

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."

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."

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. "

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.

Tue, 27 Jan 2009 13:23:20 +0000
Checked in by : Robert Osfield
Refactored the view stats.

Tue, 27 Jan 2009 09:09:48 +0000
Checked in by : Robert Osfield
Commented out debug message

Mon, 26 Jan 2009 21:23:09 +0000
Checked in by : Robert Osfield
Ported onscreen camera stats across to using thread safe stats collection

Mon, 26 Jan 2009 19:22:27 +0000
Checked in by : Robert Osfield
Added passing of command line args to cmake

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.

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<Program::PerContextProgram> 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.

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

Mon, 26 Jan 2009 10:52:16 +0000
Checked in by : Robert Osfield
Updated wrappers

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."

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.

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"

Fri, 23 Jan 2009 23:04:18 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode project

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."

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.

Fri, 23 Jan 2009 15:12:26 +0000
Checked in by : Robert Osfield
Warning fixes for VS, and removal of associated warning disables

Fri, 23 Jan 2009 15:02:04 +0000
Checked in by : Robert Osfield
Added workaround for silly posix read deprecation warning under VS.

Fri, 23 Jan 2009 14:00:49 +0000
Checked in by : Robert Osfield
Removed unneccesary warning disables

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.

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."



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())"
  



Fri, 23 Jan 2009 09:22:31 +0000
Checked in by : Robert Osfield
Upped notification level of timing stats

Wed, 21 Jan 2009 19:28:46 +0000
Checked in by : Robert Osfield
Updated wrappers

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

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
"



Wed, 21 Jan 2009 19:01:26 +0000
Checked in by : Robert Osfield
Fixed compile errors for when ref_ptr<> auto conversion is disabled

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 <bind_vertex_input> elements.
""



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.
"



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.

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.

If a plugin is already in memory, say the PNG plugin for example, then a call to readImageFile("http://server.com/image.png") will return FILE_NOT_FOUND because osgDB::findDataFile will not be able to locate the file.  So the Registry::read method is returning before the CURL plugin is given a chance to download the file.

I've made a few changes to the Registry to not return FILE_NOT_FOUND if the filename contains a URL that fix the issue."



Wed, 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"

Wed, 21 Jan 2009 14:27:58 +0000
Checked in by : Robert Osfield
Renamed ShaderTechnique to RayTracedTechnique

Wed, 21 Jan 2009 12:06:13 +0000
Checked in by : Robert Osfield
Cleaned up osgvolume

Wed, 21 Jan 2009 11:46:03 +0000
Checked in by : Robert Osfield
Introduced the ability to switch between different visual properties in osgVolume

Tue, 20 Jan 2009 17:53:06 +0000
Checked in by : Robert Osfield
Updated wrappers

Tue, 20 Jan 2009 17:41:45 +0000
Checked in by : Robert Osfield
Moved PropertyAdjustmentCallback from osgvolume.cpp into osgVolume.Updated lighting shaders.



Tue, 20 Jan 2009 15:30:30 +0000
Checked in by : Robert Osfield
Removed redundent shader files

Tue, 20 Jan 2009 15:29:32 +0000
Checked in by : Robert Osfield
Added lighting based shaders

Tue, 20 Jan 2009 15:06:44 +0000
Checked in by : Robert Osfield
Added event key variables

Tue, 20 Jan 2009 13:50:57 +0000
Checked in by : Robert Osfield
Added support for SampleDensityProperty and TransparencyProperty

Tue, 20 Jan 2009 12:39:26 +0000
Checked in by : Robert Osfield
Added AlphaFunc support into osgVolume::AlphaFuncProperty.

Tue, 20 Jan 2009 11:34:15 +0000
Checked in by : Robert Osfield
Fixed compile error when using ITK

Sat, 17 Jan 2009 17:23:47 +0000
Checked in by : Robert Osfield
Updated event callback to be able to update iso surface value.

Sat, 17 Jan 2009 17:23:17 +0000
Checked in by : Robert Osfield
Updated Uniform name for controlling IsoSurfaceValue

Sat, 17 Jan 2009 16:00:39 +0000
Checked in by : Robert Osfield
Updated wrappers

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.



Fri, 16 Jan 2009 16:21:54 +0000
Checked in by : Robert Osfield
Completed firt pass implementation FixedFunction and ShaderTechnique.

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

Fri, 16 Jan 2009 10:34:58 +0000
Checked in by : Robert Osfield
Added default use of osgVolume::ShaderTechnique

Fri, 16 Jan 2009 10:23:17 +0000
Checked in by : Robert Osfield
Introduced ImageLayer computeMinMax + rescaling methods, and use of rescaleToZeroToOneRange by default.

Thu, 15 Jan 2009 15:57:04 +0000
Checked in by : Robert Osfield
Introduce osgVolume::PropertVisitor, and IsoSurface, MaximumImageProjection, Ligting and AlphaFunc Properties

Thu, 15 Jan 2009 10:44:52 +0000
Checked in by : Robert Osfield
Removal of rendundant characters from Camera and Camera.cpp.Updated wrappers



Thu, 15 Jan 2009 10:36:04 +0000
Checked in by : Robert Osfield
From Rudolf Wiedemann, "attached is the osg::Camera class (based on revision 9493), where methods  getProjectionMatrixAsOrtho()  getProjectionMatrixAsFrustum()  getProjectionMatrixAsPerspective()  getViewMatrixAsLookAt() (2x) are now const, as they only call const methods of osg::Matrixf/d. "

Wed, 14 Jan 2009 20:43:21 +0000
Checked in by : Robert Osfield
Changed setVolumeTechnique to setVolumeTechniquePrototype()

Wed, 14 Jan 2009 20:38:12 +0000
Checked in by : Robert Osfield
Added VolumeTechnique to Volume

Wed, 14 Jan 2009 20:32:06 +0000
Checked in by : Robert Osfield
Added osgVolume .osg plugin

Wed, 14 Jan 2009 15:16:29 +0000
Checked in by : Robert Osfield
Introduced osgVolume::Property, CompositePropery and TransferFunctionPropety classes

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."

Tue, 13 Jan 2009 17:51:45 +0000
Checked in by : Robert Osfield
Integrated state setup code from osgvolume.cpp example into ShaderTechnique path.

Tue, 13 Jan 2009 17:20:32 +0000
Checked in by : Robert Osfield
Introduced class interfaces for FixedFunctionTechnique and ShaderTechnique volume rendering techniques.

Tue, 13 Jan 2009 10:15:04 +0000
Checked in by : Robert Osfield
Added ZLIB_FOUND to dicom qualification

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.



Mon, 12 Jan 2009 17:41:25 +0000
Checked in by : Robert Osfield
Added test message

Mon, 12 Jan 2009 16:37:38 +0000
Checked in by : Robert Osfield
Further tweak to include paths

Mon, 12 Jan 2009 16:10:40 +0000
Checked in by : Robert Osfield
Restructured the include paths

Mon, 12 Jan 2009 13:12:04 +0000
Checked in by : Robert Osfield
Changed to use ref_ptr<> for scene model to avoid crash

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
<package>-<osgversion>-<platform>-<arch>[-compiler]-<configuration>.tar.gz,
ex. libopenscenegraph-2.7.9-Linux-i386-Release.tar.gz,
libopenthreads-dev-2.7.9-win32-x86-vc80sp1-Debug.tar.gz

* targets (projects in msvs) are generated for each specified
component, a target that packages everything that is installed
(openscenegraph-all) and there's a target for running all other
packaging targets (Package ALL on msvs, package_ALL in unix
makefiles).

* It is possible to set the compiler in ccmake (cmake-gui, whatever you use)

* the top folder in packages is the same for all packages (OpenSceneGraph-x.y)

* the packaging support is limited with cmake-2.6.0 and not as
dynamic. With cmake-2.6.1 and later building the gdal plugin (for
example) will create a package_libopenscenegraph-gdal target. With
cmake-2.6.0 only the ones that are always built (libopenscenegraph,
libopenscenegraph-dev, openscenegraph, libopenthreads,
libopenthreads-dev

* i found a better way to decide whether cpack is available to guard
the BUiLD_OSG_PACKAGES option"



Fri, 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

* 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."




Fri, 9 Jan 2009 15:57:14 +0000
Checked in by : Robert Osfield
Fixed warning

Fri, 9 Jan 2009 15:55:25 +0000
Checked in by : Robert Osfield
Fixed warnings

Fri, 9 Jan 2009 15:25:34 +0000
Checked in by : Robert Osfield
Updated version number for next dev release

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

Fri, 9 Jan 2009 15:11:15 +0000
Checked in by : Robert Osfield
Fix of warning reported on CDash

Fri, 9 Jan 2009 15:09:39 +0000
Checked in by : Robert Osfield
Fixed warnings reported on CDash

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."

Fri, 9 Jan 2009 12:17:40 +0000
Checked in by : Robert Osfield
From Andy Skinner, fixes for Solaris build

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"

Thu, 8 Jan 2009 12:47:20 +0000
Checked in by : Robert Osfield
Added missing *.

Thu, 8 Jan 2009 11:35:57 +0000
Checked in by : Robert Osfield
Commented out the warning disabling block

Thu, 8 Jan 2009 11:28:04 +0000
Checked in by : Robert Osfield
From Mattias Helsing, added back in missing wd entries.

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

For apple we first required min cmake version 2.6.0 and then had code
warning about using 2.4.x"



Thu, 8 Jan 2009 11:19:21 +0000
Checked in by : Robert Osfield
Added checked from the ARG version of glDraw*Instanced().

Thu, 8 Jan 2009 11:18:54 +0000
Checked in by : Robert Osfield
Removed inappropriate file

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."

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."

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.

Wed, 7 Jan 2009 15:35:28 +0000
Checked in by : Robert Osfield
Fixed assingment operator

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.

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

Wed, 7 Jan 2009 13:16:38 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 7 Jan 2009 12:27:45 +0000
Checked in by : Robert Osfield
Fixed warnings

Wed, 7 Jan 2009 11:24:47 +0000
Checked in by : Robert Osfield
Fixed warnings

Wed, 7 Jan 2009 10:32:59 +0000
Checked in by : Robert Osfield
Fixed warnings

Wed, 7 Jan 2009 09:49:49 +0000
Checked in by : Robert Osfield
Added a protected = operator

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

Tue, 6 Jan 2009 19:08:34 +0000
Checked in by : Robert Osfield
Updated path to reflect where the new button images are located.

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.

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.
"



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."



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

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.

 "



Tue, 6 Jan 2009 15:41:29 +0000
Checked in by : Robert Osfield
Updated wrappers

Tue, 6 Jan 2009 15:11:54 +0000
Checked in by : Robert Osfield
From Paul Martz, example demonstating new draw instanced primitive funcitonality.

Tue, 6 Jan 2009 14:55:49 +0000
Checked in by : Robert Osfield
Added support for primitive instancing

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.

Mon, 5 Jan 2009 17:52:41 +0000
Checked in by : Robert Osfield
From Don Leich, build fix for OSX.

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."



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

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?"



Mon, 5 Jan 2009 12:21:58 +0000
Checked in by : Robert Osfield
Updated wrappers

Mon, 5 Jan 2009 11:58:08 +0000
Checked in by : Robert Osfield
From Paul Martz, Correction to Timer method comment.

Mon, 5 Jan 2009 11:31:38 +0000
Checked in by : Robert Osfield
From Cedric Pinson, added non const getText() method

Mon, 5 Jan 2009 11:26:26 +0000
Checked in by : Robert Osfield
Introduced osgVolume::Layer and Locator classes mirrroring similar classes in osgTerrain.

Mon, 5 Jan 2009 10:13:04 +0000
Checked in by : Robert Osfield
Change the aggressive warning level under VS to /W3

Wed, 24 Dec 2008 11:05:22 +0000
Checked in by : Robert Osfield
Fixed warning

Wed, 24 Dec 2008 10:30:21 +0000
Checked in by : Robert Osfield
Fixed warnings

Mon, 22 Dec 2008 21:17:03 +0000
Checked in by : Robert Osfield
Made aggressive warnings the default.

Mon, 22 Dec 2008 21:16:40 +0000
Checked in by : Robert Osfield
Fixed warnings

Mon, 22 Dec 2008 18:30:52 +0000
Checked in by : Robert Osfield
Build fix

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."



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

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."

Sat, 20 Dec 2008 20:55:21 +0000
Checked in by : Robert Osfield
Renamed osgVolume::Brick to osgVolume::VolumeTile

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.

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.

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"



Sat, 20 Dec 2008 12:52:16 +0000
Checked in by : Robert Osfield
Added OPTIONAL into INCLUDE(FindPkgConfig)

Fri, 19 Dec 2008 19:04:45 +0000
Checked in by : Robert Osfield
Updated ChangeLog for 2.7.8 dev release

Fri, 19 Dec 2008 18:37:23 +0000
Checked in by : Robert Osfield
Added osgversion into dynamic build path

Fri, 19 Dec 2008 18:02:18 +0000
Checked in by : Robert Osfield
Removed debug message

Fri, 19 Dec 2008 17:50:58 +0000
Checked in by : Robert Osfield
Moved main setSceneData methods in osgViewer::View::setSceneData()

Fri, 19 Dec 2008 17:15:56 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

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.""



Fri, 19 Dec 2008 16:59:10 +0000
Checked in by : Robert Osfield
Fixed warning

Fri, 19 Dec 2008 16:35:45 +0000
Checked in by : Robert Osfield
Fixed compile error during debug build

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
  



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

Fri, 19 Dec 2008 15:29:59 +0000
Checked in by : Robert Osfield
Added ClipNode::set/getReferenceFrame();

Fri, 19 Dec 2008 14:30:03 +0000
Checked in by : Robert Osfield
Removed MATH_LIBRARY and FREETYPE library reference.

Fri, 19 Dec 2008 12:58:50 +0000
Checked in by : Robert Osfield
Fixed warning & error

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.

Fri, 19 Dec 2008 12:46:21 +0000
Checked in by : Robert Osfield
Fixed warning

Fri, 19 Dec 2008 12:29:18 +0000
Checked in by : Robert Osfield
Fixed warning

Fri, 19 Dec 2008 12:28:53 +0000
Checked in by : Robert Osfield
Added StandardShadowMap to list to test cases

Fri, 19 Dec 2008 11:36:26 +0000
Checked in by : Robert Osfield
Updated wrappers

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). "

Fri, 19 Dec 2008 10:20:23 +0000
Checked in by : Robert Osfield
Updated wrappers

Thu, 18 Dec 2008 17:40:13 +0000
Checked in by : Robert Osfield
Fixed typo

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."

Thu, 18 Dec 2008 17:01:21 +0000
Checked in by : Robert Osfield
Refactored the handling of particle rotation

Thu, 18 Dec 2008 16:10:12 +0000
Checked in by : Robert Osfield
Fixed warnings

Thu, 18 Dec 2008 15:49:44 +0000
Checked in by : Robert Osfield
Fixed warnings

Thu, 18 Dec 2008 14:18:22 +0000
Checked in by : Robert Osfield
Added MATH_LIBRARY to link list

Thu, 18 Dec 2008 13:56:30 +0000
Checked in by : Robert Osfield
Fixed warnings

Thu, 18 Dec 2008 13:23:48 +0000
Checked in by : Robert Osfield
Fixed warnings

Thu, 18 Dec 2008 12:29:17 +0000
Checked in by : Robert Osfield
Fixed warning

Thu, 18 Dec 2008 12:27:34 +0000
Checked in by : Robert Osfield
Quitened down debug messages

Thu, 18 Dec 2008 12:26:14 +0000
Checked in by : Robert Osfield
Fixed warnings

Thu, 18 Dec 2008 12:25:51 +0000
Checked in by : Robert Osfield
Quitened down debug message

Thu, 18 Dec 2008 11:54:34 +0000
Checked in by : Robert Osfield
Fixed warnings

Thu, 18 Dec 2008 11:06:57 +0000
Checked in by : Robert Osfield
Fixed warnings

Wed, 17 Dec 2008 22:52:36 +0000
Checked in by : Robert Osfield
Improved the effectiveness of the new max target number PageLOD's

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."



Wed, 17 Dec 2008 17:11:13 +0000
Checked in by : Robert Osfield
Fixed warnings

Wed, 17 Dec 2008 16:58:23 +0000
Checked in by : Robert Osfield
Fixed inactive PagedLOD removal code

Wed, 17 Dec 2008 16:13:23 +0000
Checked in by : Robert Osfield
Fixed warnings

Wed, 17 Dec 2008 16:02:42 +0000
Checked in by : Robert Osfield
Fixed warnings

Wed, 17 Dec 2008 15:36:59 +0000
Checked in by : Robert Osfield
Fixed warnings

Wed, 17 Dec 2008 15:32:35 +0000
Checked in by : Robert Osfield
Fixed warnings

Wed, 17 Dec 2008 14:56:40 +0000
Checked in by : Robert Osfield
Fixed warnings

Wed, 17 Dec 2008 13:14:17 +0000
Checked in by : Robert Osfield
Warning fixes

Wed, 17 Dec 2008 12:13:15 +0000
Checked in by : Robert Osfield
Introduce NodeVisitor::className and libraryName()

Wed, 17 Dec 2008 11:00:16 +0000
Checked in by : Robert Osfield
Warning fixes

Wed, 17 Dec 2008 10:34:09 +0000
Checked in by : Robert Osfield
From Sekender, fixed warnins

Wed, 17 Dec 2008 10:33:39 +0000
Checked in by : Robert Osfield
Fixed warnings

Wed, 17 Dec 2008 10:01:52 +0000
Checked in by : Robert Osfield
From Jean-Sebastien Guay, added missing export

Tue, 16 Dec 2008 21:16:06 +0000
Checked in by : Robert Osfield
Updated wrappers

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

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).



Tue, 16 Dec 2008 19:49:09 +0000
Checked in by : Robert Osfield
From Bob Kuehne, build fixes.

Tue, 16 Dec 2008 16:36:33 +0000
Checked in by : Robert Osfield
Updated version numbers for 2.8.8 dev release

Tue, 16 Dec 2008 15:58:42 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Thus this patch based on rev 9358 removes that additional unlock in the win32
mutex implementations destructor."



Tue, 16 Dec 2008 15:08:04 +0000
Checked in by : Robert Osfield
From Sukender and Robert Osfield, introduced GraphicsContext::ScreenSettings & WindowingSystemInterface::enumerateScreenSettings.

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). "

Tue, 16 Dec 2008 12:23:30 +0000
Checked in by : Robert Osfield
Fixed warnings

Tue, 16 Dec 2008 12:20:19 +0000
Checked in by : Robert Osfield
Fixed warnings

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 <builddir>/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"




Mon, 15 Dec 2008 22:18:40 +0000
Checked in by : Robert Osfield
Added support for a Terrain::s/getTerrainTechniquePrototype()

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.

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."



Mon, 15 Dec 2008 20:32:15 +0000
Checked in by : Robert Osfield
Limited the static build to just osversion and osgstaticviewer

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.



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."

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).


This fixes the overwriting issue that I showed in my posting
"Bug in VertexBufferObject::compileBuffer" on OSG-Users.
"



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.

Mon, 15 Dec 2008 16:10:26 +0000
Checked in by : Robert Osfield
Added deprecated messages to get/set methods of outgoing expiry schemes.

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.

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"



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.

Set DatabasePager DoPreCompile to OFF by default.




Mon, 15 Dec 2008 12:16:31 +0000
Checked in by : Robert Osfield
Removed buildMipmaps method that had no implementation.

Fri, 12 Dec 2008 22:28:22 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode project

Fri, 12 Dec 2008 19:19:01 +0000
Checked in by : Robert Osfield
Updated AUTHORS and READER for 2.7.7 dev release

Fri, 12 Dec 2008 19:12:38 +0000
Checked in by : Robert Osfield
Updated change log

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

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

Fri, 12 Dec 2008 14:16:11 +0000
Checked in by : Robert Osfield
Updated wrappers

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."

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.).

I have temporariliy uploaded some examples to
http://www.openscenegraph.org/projects/osg/wiki/Community/People/MattiasHelsing

If this submission makes it into svn we can develop it to generate
rpms, installers for windows and mac (I know at least J-S don't like
these but there may be others who do ;) and even DEBs (not sure if we
can make them "ubuntu-ready" but they eventually may - at least we
could put a deb on the website)"



Fri, 12 Dec 2008 10:20:05 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 12 Dec 2008 10:19:19 +0000
Checked in by : Robert Osfield
Updated version number for 2.7.7 release

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. "

Wed, 10 Dec 2008 17:08:21 +0000
Checked in by : Robert Osfield
Cleaned up layout

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.

Wed, 10 Dec 2008 15:01:49 +0000
Checked in by : Robert Osfield
Removed #if 0'd out reference to osgDB

Wed, 10 Dec 2008 12:50:40 +0000
Checked in by : Robert Osfield
Fixed link line

Wed, 10 Dec 2008 11:12:37 +0000
Checked in by : Robert Osfield
Refactored computeIntersections() float x,float y, const osg::NodePath& nodePath.

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)."

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 ) )."



Wed, 10 Dec 2008 09:34:45 +0000
Checked in by : Robert Osfield
Added return

Tue, 9 Dec 2008 16:43:38 +0000
Checked in by : Robert Osfield
From Sukender, added missing inline keywords

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.

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.

Tue, 9 Dec 2008 09:26:51 +0000
Checked in by : Robert Osfield
Added support for setting background colour of Pdf document.

Tue, 9 Dec 2008 09:25:12 +0000
Checked in by : Robert Osfield
Added setImageToColour function

Tue, 9 Dec 2008 09:24:47 +0000
Checked in by : Robert Osfield
Added asSwitch and asGeode convinience methods to Node

Sun, 7 Dec 2008 17:37:26 +0000
Checked in by : Robert Osfield
Added ability to customize keyboard events for controlling osgWidget::PdfImage/PdfReader

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.



Sat, 6 Dec 2008 11:03:32 +0000
Checked in by : Robert Osfield
Fixed build problem

Fri, 5 Dec 2008 16:41:12 +0000
Checked in by : Robert Osfield
Added GL_ABGR_EXT to fix windows build

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

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);

/** 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."



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)

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."



Tue, 2 Dec 2008 10:42:58 +0000
Checked in by : Robert Osfield
Revised the DYNAMIC vs STATIC library setup of COLLADA.

Tue, 2 Dec 2008 09:00:53 +0000
Checked in by : Robert Osfield
From Jean-Sebastien Guay, build fix

Mon, 1 Dec 2008 15:46:50 +0000
Checked in by : Robert Osfield
Fixed wrappers

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.

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."



Mon, 1 Dec 2008 13:47:48 +0000
Checked in by : Robert Osfield
Updated wrappers

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:

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.
"



Mon, 1 Dec 2008 11:19:11 +0000
Checked in by : Robert Osfield
Added OpenThreads to link lists

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

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.

Also attached are some typo fixes for CMakeModules.

Cheers,"



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."

Sat, 29 Nov 2008 12:16:04 +0000
Checked in by : Robert Osfield
Updated ChangeLog, and AUTHORS lists for 2.7.6 dev release

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.

Sat, 29 Nov 2008 11:10:56 +0000
Checked in by : Robert Osfield
Fixed build for when ref_ptr<> impicit cast is not built

Fri, 28 Nov 2008 17:18:08 +0000
Checked in by : Robert Osfield
Removed cmath include as it was causing build problems under Cgwin

Fri, 28 Nov 2008 14:37:58 +0000
Checked in by : Robert Osfield
Added new examples

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



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



Fri, 28 Nov 2008 14:35:47 +0000
Checked in by : Robert Osfield
Updated wrappers

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.




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.




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"

Thu, 27 Nov 2008 17:30:14 +0000
Checked in by : Robert Osfield
Updated SO version number for 2.5.6 release

Thu, 27 Nov 2008 17:29:12 +0000
Checked in by : Robert Osfield
Updated ChangeLog

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

Thu, 27 Nov 2008 14:05:30 +0000
Checked in by : Robert Osfield
Changed unsigned long to unsigned int to avoid 64bit portability issue.

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."

Thu, 27 Nov 2008 09:36:35 +0000
Checked in by : Robert Osfield
Enabled the build of exr plugin

Thu, 27 Nov 2008 09:36:18 +0000
Checked in by : Robert Osfield
Build fixes

Thu, 27 Nov 2008 09:33:06 +0000
Checked in by : Robert Osfield
Removed the use of = operator.

Wed, 26 Nov 2008 16:40:01 +0000
Checked in by : Robert Osfield
Updated wrappers

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. "

Wed, 26 Nov 2008 16:00:27 +0000
Checked in by : Robert Osfield
added workaround of compile issues with templated version of BoundingBox

Wed, 26 Nov 2008 13:18:54 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 26 Nov 2008 12:50:12 +0000
Checked in by : Robert Osfield
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<osg::Node*>(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?"



Wed, 26 Nov 2008 12:35:49 +0000
Checked in by : Robert Osfield
Added searching for OpenEXR

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.

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.




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."



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.

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."



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.

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



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."

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

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

Tue, 25 Nov 2008 14:40:02 +0000
Checked in by : Robert Osfield
Updated wrappers

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

Tue, 25 Nov 2008 14:15:55 +0000
Checked in by : Robert Osfield
Added support for unsigned int uniforms

Tue, 25 Nov 2008 14:15:35 +0000
Checked in by : Robert Osfield
From Ferdi Smit, added support for unsigned int typed uniforms

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()."

Tue, 25 Nov 2008 12:22:33 +0000
Checked in by : Robert Osfield
Fixed warning and some unitialized variables.

Tue, 25 Nov 2008 11:09:40 +0000
Checked in by : Robert Osfield
Fixed warning

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.

There is also new example with using multisampled FBO."



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.

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
"



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."

Mon, 24 Nov 2008 16:09:43 +0000
Checked in by : Robert Osfield
From Alberto Luaces, removed #include <cmath> as it was cause a build problem under Cygwin.

Mon, 24 Nov 2008 16:02:20 +0000
Checked in by : Robert Osfield
Improved the set of the master + slave cameras

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."

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"
 



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 <extra>
+Read and write of osg::Node description data in <extra>
+Plugin option "NoExtras" to prevent writing of <extra> 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 <scale>, <rotate>, <translate>, <lookat>, <matrix>, <skew> 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 <extra> to more closely mimic the intended lighting"



Mon, 24 Nov 2008 13:50:28 +0000
Checked in by : Robert Osfield
Replaced usage atof to asciiToFloat.

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

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."

This plugin has been integrated with the pre-exisiting bsp plugin.





Mon, 24 Nov 2008 10:28:19 +0000
Checked in by : Robert Osfield
Renamig of files in prep of merge of valve bsp support

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."

Mon, 24 Nov 2008 10:13:27 +0000
Checked in by : Robert Osfield
Updated wrappers

Sun, 23 Nov 2008 17:28:13 +0000
Checked in by : Robert Osfield
Added mechnism for tracking when a VncImage is inactive or not.

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.

Sun, 23 Nov 2008 11:35:43 +0000
Checked in by : Robert Osfield
Introduce osg::asciiToDouble/asciiToFloat function.

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.

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.
"




Sun, 23 Nov 2008 09:57:41 +0000
Checked in by : Robert Osfield
From Paul Martz, added missing export

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

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.

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:

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.
"



Fri, 21 Nov 2008 17:44:16 +0000
Checked in by : Robert Osfield
Added handling of View::LightingMode

Fri, 21 Nov 2008 17:10:41 +0000
Checked in by : Robert Osfield
Build fix

Fri, 21 Nov 2008 16:09:28 +0000
Checked in by : Robert Osfield
Added exports

Fri, 21 Nov 2008 13:23:55 +0000
Checked in by : Robert Osfield
From David Spilling, better support for multitexture in obj loader.

Fri, 21 Nov 2008 12:38:22 +0000
Checked in by : Robert Osfield
From Jaromir Vitek, osgpackeddepthstencil example as a test case.

Fri, 21 Nov 2008 12:31:28 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

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."

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."

Fri, 21 Nov 2008 12:05:03 +0000
Checked in by : Robert Osfield
From Joakim Simonsson, fixed warning.

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,"

Small code tweaks by Robert Osfield to streamline the code.



Fri, 21 Nov 2008 11:27:11 +0000
Checked in by : Robert Osfield
Updated wrappers

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."

Fri, 21 Nov 2008 11:09:11 +0000
Checked in by : Robert Osfield
Replaced tabs

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.

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."

Thu, 20 Nov 2008 13:07:21 +0000
Checked in by : Robert Osfield
Added readNodeFile support the gecko plugin.

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

Thu, 20 Nov 2008 11:47:38 +0000
Checked in by : Robert Osfield
Updated wrappers

Thu, 20 Nov 2008 11:28:20 +0000
Checked in by : Robert Osfield
Clean up osgbrowser after moving browser implementation into gecko plugin

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

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.

Wed, 19 Nov 2008 17:16:29 +0000
Checked in by : Robert Osfield
Moved Browser.h and Browser.cpp from osgbrowser into osgWidget.

Wed, 19 Nov 2008 17:04:02 +0000
Checked in by : Robert Osfield
Added XUL_DIR searching

Wed, 19 Nov 2008 17:02:45 +0000
Checked in by : Robert Osfield
Fixed component directory path handling.

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.

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.

Tue, 18 Nov 2008 17:20:45 +0000
Checked in by : Robert Osfield
Removed debug output

Tue, 18 Nov 2008 15:18:34 +0000
Checked in by : Robert Osfield
Added optional bool keep to BarrierOperation to make it more resuable

Tue, 18 Nov 2008 14:46:02 +0000
Checked in by : Robert Osfield
Moved update functionality into from UBrowserImage into update.

Tue, 18 Nov 2008 13:36:47 +0000
Checked in by : Robert Osfield
Added support for running all ubrowser operataions in a background thread.

Mon, 17 Nov 2008 19:15:12 +0000
Checked in by : Robert Osfield
Fixed key mapping

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.

Mon, 17 Nov 2008 15:53:04 +0000
Checked in by : Robert Osfield
Removed dependency on GLUT.

Mon, 17 Nov 2008 15:49:24 +0000
Checked in by : Robert Osfield
Ported example to using OSG objects for rendering rather than GLUT

Mon, 17 Nov 2008 10:36:55 +0000
Checked in by : Robert Osfield
Introduced xulrunner extensions from llmozlib2, and got things working under linux

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."




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.

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.

Fri, 14 Nov 2008 18:15:12 +0000
Checked in by : Robert Osfield
Removed reduncent #includes

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."

Fri, 14 Nov 2008 16:54:07 +0000
Checked in by : Robert Osfield
Added GTK and GLUT guards to osgbrowser include

Fri, 14 Nov 2008 16:48:07 +0000
Checked in by : Robert Osfield
Further work on experiment llmozlib/geko based embedded web browser

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.

Thu, 13 Nov 2008 10:49:33 +0000
Checked in by : Robert Osfield
Updated version number in prep for 2.5.6 dev release

Wed, 12 Nov 2008 22:54:12 +0000
Checked in by : Robert Osfield
Moved Poppler-glib check into root CMakeList.txt

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

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.

Wed, 12 Nov 2008 14:20:15 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Tue, 11 Nov 2008 17:59:35 +0000
Checked in by : Robert Osfield
Improved naming

Tue, 11 Nov 2008 17:30:11 +0000
Checked in by : Robert Osfield
Tweaked comment

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.

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

Tue, 11 Nov 2008 16:59:12 +0000
Checked in by : Robert Osfield
Removed the redundent prepending of application name.

Tue, 11 Nov 2008 16:21:04 +0000
Checked in by : Robert Osfield
Added timing stats

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

Tue, 11 Nov 2008 15:00:29 +0000
Checked in by : Robert Osfield
Added --delay <microseconds> option that is run between each OpenGL object apply, defaults to 0

Tue, 11 Nov 2008 12:50:51 +0000
Checked in by : Robert Osfield
Added support for fbo testing.

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.

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).

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.

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

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."

Sat, 8 Nov 2008 17:53:51 +0000
Checked in by : Robert Osfield
From Jean-Sebastien Guay, replaced M_PI with osg::PI.

Fri, 7 Nov 2008 18:02:05 +0000
Checked in by : Robert Osfield
Updated ChangeLog for 2.7.5 release

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.

Fri, 7 Nov 2008 17:23:55 +0000
Checked in by : Robert Osfield
Fixed typo

Fri, 7 Nov 2008 17:07:43 +0000
Checked in by : Robert Osfield
Fixed build under gcc 4.3.2

Fri, 7 Nov 2008 16:26:46 +0000
Checked in by : Robert Osfield
Updated ChangeLog and version number for 2.7.5 release

Fri, 7 Nov 2008 16:14:49 +0000
Checked in by : Robert Osfield
Removed fstream for wrapper due to problems with wrapping.

Fri, 7 Nov 2008 16:03:37 +0000
Checked in by : Robert Osfield
Removed due to problems with build

Fri, 7 Nov 2008 15:38:40 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Fri, 7 Nov 2008 15:01:15 +0000
Checked in by : Robert Osfield
Converted tabs to four spaces

Fri, 7 Nov 2008 13:18:40 +0000
Checked in by : Robert Osfield
From Tim Moore, removed redundent forward declartion of BoundingBox and BoundingSphere

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"

Thu, 6 Nov 2008 16:48:55 +0000
Checked in by : Robert Osfield
Changed to using stdio.h.

Thu, 6 Nov 2008 14:56:31 +0000
Checked in by : Robert Osfield
Updated wrappers

Thu, 6 Nov 2008 14:46:11 +0000
Checked in by : Robert Osfield
Fixed constness of getTexture/getRenderBuffer() const and added non cost version.

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."

Thu, 6 Nov 2008 14:17:12 +0000
Checked in by : Robert Osfield
From Kyle Centers, removed redundent check to _currentContext.valid().

Thu, 6 Nov 2008 14:04:26 +0000
Checked in by : Robert Osfield
From Csaba Halasz, adding missing export directives

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"

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. "

Thu, 6 Nov 2008 13:38:11 +0000
Checked in by : Robert Osfield
Fixed IntersectionVisitor::accept(Camera) handling of relative Cameras.

Thu, 6 Nov 2008 13:36:25 +0000
Checked in by : Robert Osfield
From Chris Denham, added transform to cube to test picking fixes

Wed, 5 Nov 2008 16:06:25 +0000
Checked in by : Robert Osfield
Removed redundent static ImageStream pointer

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.

Wed, 5 Nov 2008 15:04:38 +0000
Checked in by : Robert Osfield
Added --replace-rgb-with-luminance option

Wed, 5 Nov 2008 15:04:11 +0000
Checked in by : Robert Osfield
Added support for different pixel formats and datatypes in copyImage() method

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.

Wed, 5 Nov 2008 10:29:45 +0000
Checked in by : Robert Osfield
Added extra data types info to debug message

Wed, 5 Nov 2008 10:27:49 +0000
Checked in by : Robert Osfield
Added Thread::Init() to CurrentThread

Tue, 4 Nov 2008 16:31:47 +0000
Checked in by : Robert Osfield
Compiled fix for gcc 4.3.2

Tue, 4 Nov 2008 12:57:30 +0000
Checked in by : Robert Osfield
Fixed --images commandline parsing

Mon, 3 Nov 2008 16:55:06 +0000
Checked in by : Robert Osfield
Added GPL copyright notice

Mon, 3 Nov 2008 16:31:44 +0000
Checked in by : Robert Osfield
Added handling of texture matrices and texture rectangles in InteractiveImageHandler

Mon, 3 Nov 2008 15:58:02 +0000
Checked in by : Robert Osfield
Refactored osgvnc example to utilise the new vnc plugin

Mon, 3 Nov 2008 15:57:21 +0000
Checked in by : Robert Osfield
Added vnc plugin.

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.

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




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

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.

Fri, 31 Oct 2008 16:48:19 +0000
Checked in by : Robert Osfield
Wrapped up the various client streaming methods + thread into VncImage classes.

Fri, 31 Oct 2008 13:59:32 +0000
Checked in by : Robert Osfield
Implemented keyboard and mouse dispatch from vnc client to vnc server.

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.

Thu, 30 Oct 2008 13:05:08 +0000
Checked in by : Robert Osfield
Removed renduent osgDB::Registry DatabasePager methods

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

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)."

Wed, 29 Oct 2008 11:15:33 +0000
Checked in by : Robert Osfield
Warning fixes

Wed, 29 Oct 2008 11:09:08 +0000
Checked in by : Robert Osfield
Added missing implementations

Wed, 29 Oct 2008 10:56:40 +0000
Checked in by : Robert Osfield
Updated ChangeLog and AUTHORS.txt for 2.7.4 release

Wed, 29 Oct 2008 10:38:55 +0000
Checked in by : Robert Osfield
Updated wrappers

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




Wed, 29 Oct 2008 10:12:02 +0000
Checked in by : Robert Osfield
From James Moliere, fixed display of axis

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.



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

Mon, 27 Oct 2008 17:42:04 +0000
Checked in by : Robert Osfield
Added --help-env docs for OSG_MAX_PAGEDLOD

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.

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.  "

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.

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.

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 ):

Line 423 in file expPrimaryRecords.cpp has to be changed from

const ParentPools* pp = static_cast<const ParentPools*>(proxy.getUserData() );

to

const ParentPools* pp = dynamic_cast<const ParentPools*>(proxy.getUserData() );
"



Mon, 27 Oct 2008 13:09:43 +0000
Checked in by : Robert Osfield
Various warning fixes

Mon, 27 Oct 2008 11:49:31 +0000
Checked in by : Robert Osfield
Updated wrappers

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."

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:

"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.
"




Mon, 27 Oct 2008 10:40:13 +0000
Checked in by : Robert Osfield
Fixed positioning of wings

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."

Mon, 27 Oct 2008 09:44:49 +0000
Checked in by : Robert Osfield
From Alberto Lucas, fixed typo

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.

Sun, 26 Oct 2008 22:21:09 +0000
Checked in by : Robert Osfield
Improved the error reporting

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.

- 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



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."

Fri, 24 Oct 2008 10:02:13 +0000
Checked in by : Robert Osfield
Fixed typo

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

Fri, 24 Oct 2008 09:49:55 +0000
Checked in by : Robert Osfield
Changed timing stats to osg::INFO level

Fri, 24 Oct 2008 08:09:36 +0000
Checked in by : Robert Osfield
Removed debugging test.

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.



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.

In the COLLADA 1.4.1 specification (found at
http://www.khronos.org/collada/) it is specified that
"The <rotate> 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.
"



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."

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."

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. "

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.

Tue, 21 Oct 2008 09:50:07 +0000
Checked in by : Robert Osfield
Updated wrappers

Mon, 20 Oct 2008 16:24:57 +0000
Checked in by : Robert Osfield
Introduce osgDB::FileCache, and updated osgfilecache and DatabasePager to use it.

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.

Fri, 17 Oct 2008 09:16:02 +0000
Checked in by : Robert Osfield
From Paul Melis, fixed typo

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 );
///////////////////////////////////////"



Tue, 14 Oct 2008 17:20:58 +0000
Checked in by : Robert Osfield
Changed erroneous ZLIB_INCLUDE_DIRS to ZLIB_INCLUDE_DIR

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.

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."



Tue, 14 Oct 2008 16:44:14 +0000
Checked in by : Robert Osfield
Converted M_PI* usage across to osg::PI

Tue, 14 Oct 2008 16:35:03 +0000
Checked in by : Robert Osfield
From Ricard Schmidt, dot writer plugin.

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."

Tue, 14 Oct 2008 15:10:10 +0000
Checked in by : Robert Osfield
Removed geomoflife_frag.cpp experiement from CMakeList.txt file

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

Tue, 14 Oct 2008 14:37:11 +0000
Checked in by : Robert Osfield
Added zlib support to curl and ive plugins

Tue, 14 Oct 2008 14:36:24 +0000
Checked in by : Robert Osfield
Added debug timing code

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.

Tue, 14 Oct 2008 14:25:54 +0000
Checked in by : Robert Osfield
UPdated version numbers

Fri, 10 Oct 2008 12:01:54 +0000
Checked in by : Robert Osfield
Moved compress/uncompress code across to using gzip compatible methods

Thu, 9 Oct 2008 18:46:49 +0000
Checked in by : Robert Osfield
Added initial cut of gz compress/uncompress plugin

Thu, 9 Oct 2008 17:02:16 +0000
Checked in by : Robert Osfield
Initial cut of zlib based compress/uncompress plugin

Thu, 9 Oct 2008 13:16:49 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode-project, added osgVolume-lib

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

Wed, 8 Oct 2008 13:19:16 +0000
Checked in by : Robert Osfield
Updated date

Wed, 8 Oct 2008 13:18:14 +0000
Checked in by : Robert Osfield
Updated ChangeLog and AUTHORS.txt for 2.7.3 dev release

Wed, 8 Oct 2008 12:54:45 +0000
Checked in by : Robert Osfield
Updated wrappers

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

Wed, 8 Oct 2008 11:30:18 +0000
Checked in by : Robert Osfield
Added Texture1D(Image*) and Texture3D(Image*) constructors

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.

Wed, 8 Oct 2008 10:10:34 +0000
Checked in by : Robert Osfield
From Mathias Froehlich, fixes for HP-UX, SGI and Solaris build

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

Tue, 7 Oct 2008 15:58:07 +0000
Checked in by : Robert Osfield
Made line graph solid (alpha = 1.0)

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.

Tue, 7 Oct 2008 15:21:12 +0000
Checked in by : Robert Osfield
Added osgText to link line

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.

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. "

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.

Tue, 7 Oct 2008 14:25:09 +0000
Checked in by : Robert Osfield
Updated wrappers

Tue, 7 Oct 2008 14:19:28 +0000
Checked in by : Robert Osfield
Replaced IntersectVisitor usage with IntersectionVisitor

Tue, 7 Oct 2008 14:01:14 +0000
Checked in by : Robert Osfield
Replaced usage of depreacted IntersectVisitor with IntersectionVisitor

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.

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."



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. "

Tue, 7 Oct 2008 12:31:42 +0000
Checked in by : Robert Osfield
From Mathias Froehlich, build fixes

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.

Mon, 6 Oct 2008 17:15:16 +0000
Checked in by : Robert Osfield
Updated wrappers

Mon, 6 Oct 2008 17:03:32 +0000
Checked in by : Robert Osfield
Improved the ImageSequence::setLength() settting.

Mon, 6 Oct 2008 17:02:56 +0000
Checked in by : Robert Osfield
Updated to reflect changes in NodeVistor::ImageRequestHandler.

Mon, 6 Oct 2008 17:02:20 +0000
Checked in by : Robert Osfield
Refactored ImageSequence to provided a cleaner and more robust implementation

Mon, 6 Oct 2008 14:18:27 +0000
Checked in by : Robert Osfield
From Wojciech Lewandowski, build fixes for handling Matrix::value_type == float

Mon, 6 Oct 2008 14:15:27 +0000
Checked in by : Robert Osfield
Ran dos2unix

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. "

Mon, 6 Oct 2008 08:58:50 +0000
Checked in by : Robert Osfield
Converted tabs to four spaces

Mon, 6 Oct 2008 08:53:54 +0000
Checked in by : Robert Osfield
Ran dos2unix on headers

Mon, 6 Oct 2008 08:53:25 +0000
Checked in by : Robert Osfield
Ran dos2unix on new shadow implemenations

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()."

Fri, 3 Oct 2008 16:57:01 +0000
Checked in by : Robert Osfield
Added include <osg/Config> to take advantage of OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION

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

Fri, 3 Oct 2008 15:15:33 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

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.




Fri, 3 Oct 2008 13:38:55 +0000
Checked in by : Robert Osfield
Compile fix required when using ref_ptr<> implicit output conversion

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.

Fri, 3 Oct 2008 11:04:23 +0000
Checked in by : Robert Osfield
From Bryan Thrall, fixed typos in exception strings.

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"

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<osg::Node> node) to work for osg::ref_ptr<osg::Group>, osg::ref_ptr<osg::Geode> 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."



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:

    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.

"



Fri, 3 Oct 2008 09:19:53 +0000
Checked in by : Robert Osfield
From Stephan Huber, removed now redundent setEventQueue method

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.""



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."



Fri, 3 Oct 2008 08:33:17 +0000
Checked in by : Robert Osfield
Added missing dirtyBound() calls

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

Mon, 29 Sep 2008 18:30:17 +0000
Checked in by : Robert Osfield
Updated shaders

Mon, 29 Sep 2008 17:00:38 +0000
Checked in by : Robert Osfield
Improved the dicom plugins handling of different slice positions

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

Mon, 29 Sep 2008 11:00:42 +0000
Checked in by : Robert Osfield
From Mathieu Marache, support for CDash

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

A quick review of the code revealed a piece of code that was clearly wrong, possibly due to a copy-and-paste error.

 "



Mon, 29 Sep 2008 10:56:42 +0000
Checked in by : Robert Osfield
Added support for using ImageSequence to animate volumes

Sun, 28 Sep 2008 15:16:13 +0000
Checked in by : Robert Osfield
Improved the isosurface shaders, and mde GLSL usage the default

Fri, 26 Sep 2008 15:47:31 +0000
Checked in by : Robert Osfield
Improved GLSL isosurface support when using a transfer function

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.

Fri, 26 Sep 2008 13:51:49 +0000
Checked in by : Robert Osfield
Added docs for read-threads <numthreads> command line options

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

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

Fri, 26 Sep 2008 11:19:59 +0000
Checked in by : Robert Osfield
From Mathias Froehlich, "for the rand functions stdlib.h is required ..."

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."



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."

Thu, 25 Sep 2008 15:20:20 +0000
Checked in by : Robert Osfield
From Mathieu Marache, added support for CDash

Thu, 25 Sep 2008 15:19:42 +0000
Checked in by : Robert Osfield
Removed unused methods

Thu, 25 Sep 2008 15:04:05 +0000
Checked in by : Robert Osfield
Updated wrappers

Thu, 25 Sep 2008 14:41:27 +0000
Checked in by : Robert Osfield
Added osg2cpp example into build

Thu, 25 Sep 2008 14:41:06 +0000
Checked in by : Robert Osfield
Added convinience methods for parse shader source files

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.

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

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

Wed, 24 Sep 2008 16:03:47 +0000
Checked in by : Robert Osfield
From Jean-Sebastian Guay, fixed windows build

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

Wed, 24 Sep 2008 15:59:55 +0000
Checked in by : Robert Osfield
Added 3gp extension alias for quicktime

Wed, 24 Sep 2008 10:45:15 +0000
Checked in by : Robert Osfield
Added shader based transfer function, enabled via --gpu-tf

Wed, 24 Sep 2008 10:20:23 +0000
Checked in by : Robert Osfield
Fixed transfer function parsing

Tue, 23 Sep 2008 17:29:28 +0000
Checked in by : Robert Osfield
Added mutex usage to protect access to plugin and readerwriter containers

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.

Tue, 23 Sep 2008 13:58:49 +0000
Checked in by : Robert Osfield
Added read-threads <numThreads> command line and read thread test back end

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).

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

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

Mon, 22 Sep 2008 16:17:28 +0000
Checked in by : Robert Osfield
Fixed typo

Mon, 22 Sep 2008 15:56:22 +0000
Checked in by : Robert Osfield
Added stats handler

Mon, 22 Sep 2008 15:01:25 +0000
Checked in by : Robert Osfield
From Ulrich Hertlein, fixes for OSX build

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

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

Mon, 22 Sep 2008 14:46:54 +0000
Checked in by : Robert Osfield
Added getExtensionIncludingDot to provide more efficient handling of extensions

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

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.

Sun, 21 Sep 2008 11:12:31 +0000
Checked in by : Robert Osfield
Added Volume wrappers, and updated terrain wrappers

Sun, 21 Sep 2008 11:05:03 +0000
Checked in by : Robert Osfield
Create initial class placeholders for main volume rendering classes

Sat, 20 Sep 2008 15:43:38 +0000
Checked in by : Robert Osfield
Change TileID::layer to TileID::level

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

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.

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."



Fri, 19 Sep 2008 19:51:57 +0000
Checked in by : Robert Osfield
Added wrapper support for new osgShadow classes

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.

Thu, 18 Sep 2008 16:48:21 +0000
Checked in by : Robert Osfield
Updated ChangeLog

Thu, 18 Sep 2008 16:03:34 +0000
Checked in by : Robert Osfield
Added Serializer wrappers

Thu, 18 Sep 2008 15:50:22 +0000
Checked in by : Robert Osfield
Moved Serializer header from VPB into osgDB.

Thu, 18 Sep 2008 15:44:21 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

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."

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."

Thu, 18 Sep 2008 13:54:22 +0000
Checked in by : Robert Osfield
Updated wrappers

Thu, 18 Sep 2008 13:54:13 +0000
Checked in by : Robert Osfield
From Alan Dickinson, change methods to virtual.

Thu, 18 Sep 2008 13:18:12 +0000
Checked in by : Robert Osfield
From John Argentieri, added missing  _stripTextureFilePath( false ) initializer.

Thu, 18 Sep 2008 13:09:21 +0000
Checked in by : Robert Osfield
From Chris Denham, added missing ccopy of polyOffset in copy constructor

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);

_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.
"




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
>
>





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

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 ..."

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. "

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



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.



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 <infile> <outfile> "

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.
}


// 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."



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.

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
"




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:

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."



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

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

"



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 "

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()<rhs->getRenderOrder()) return true;
       if (rhs->getRenderOrder()<lhs->getRenderOrder()) return false;
--->    return lhs->getRenderOrderNum()<lhs->getRenderOrderNum();
              ^^^                      ^^^
   }
};

Corrected code attached."





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 !

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.
"



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

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."



Wed, 17 Sep 2008 17:07:52 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Depending on the transform nodes in the scenegraph this change gives a
noticable improovement.
For example the osgforest code using the MatrixTransform is about 20% slower
than the same codepath using the PositionAttitudeTransform instead of the
MatrixTransform with this patch applied.

If I remember right, the sse type optimizations did *not* provide a factor 4
improovement. Also these changes are totally independent of any cpu or
instruction set architecture. So I would prefer to have this current kind of
change instead of some hand coded and cpu dependent assembly stuff. If we
need that hand tuned stuff, these can go on top of this changes which must
provide than hand optimized additional variants for the specialized versions
to give a even better result in the end.

An other change included here is a change to rotation matrix from quaterion
code. There is a sqrt call which couold be optimized away. Since we divide in
effect by sqrt(length)*sqrt(length) which is just length ...
"



Wed, 17 Sep 2008 14:23:25 +0000
Checked in by : Robert Osfield
Updated osgwidget examples to use the new osg::clone() methods

Wed, 17 Sep 2008 14:23:05 +0000
Checked in by : Robert Osfield
Updated wrappers of osgWidget

Wed, 17 Sep 2008 14:21:47 +0000
Checked in by : Robert Osfield
Tweaks to facilitate osgWrapper build

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.

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

Tue, 16 Sep 2008 18:41:13 +0000
Checked in by : Robert Osfield
Added osgVolume to docs and wrappers

Tue, 16 Sep 2008 15:32:23 +0000
Checked in by : Robert Osfield
Introduced beginings of osgVolume NodeKit.

Tue, 16 Sep 2008 15:31:47 +0000
Checked in by : Robert Osfield
Complted the first pass at the DCMTK based dicom loader

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.



Mon, 15 Sep 2008 19:59:12 +0000
Checked in by : Robert Osfield
Added optional usage of DCMTK in the dicom plugin

Mon, 15 Sep 2008 11:27:30 +0000
Checked in by : Robert Osfield
From Ralf Habacker, removed redundent SwitchLayer::clear()

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

Sat, 13 Sep 2008 13:38:06 +0000
Checked in by : Robert Osfield
Added reading of whole directories of images

Sat, 13 Sep 2008 09:09:51 +0000
Checked in by : Robert Osfield
Introduced TransferFunction1D::assign(ValueMap&).

Fri, 12 Sep 2008 15:41:30 +0000
Checked in by : Robert Osfield
Removed use of ints and reading from gl_FragColor in shader

Thu, 11 Sep 2008 16:11:51 +0000
Checked in by : Robert Osfield
Updated version numbers in prep for up comming dev release

Thu, 11 Sep 2008 16:06:37 +0000
Checked in by : Robert Osfield
Added an svn update into the make ChangeLog entry.

Thu, 11 Sep 2008 16:01:17 +0000
Checked in by : Robert Osfield
Updated wrappers

Thu, 11 Sep 2008 14:28:42 +0000
Checked in by : Robert Osfield
Refinements to SwitchLayer and WhiteListTileLoadedCallback

Thu, 11 Sep 2008 14:27:50 +0000
Checked in by : Robert Osfield
Added support for SwitchLayer into GeometryTechnique

Thu, 11 Sep 2008 13:21:58 +0000
Checked in by : Robert Osfield
Introduced osgTerrain::WhiteListTileLoadedCallback for the management of options terrain layers

Thu, 11 Sep 2008 10:40:48 +0000
Checked in by : Robert Osfield
First cut of WhiteListTileLoadedCallback

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

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.

Wed, 10 Sep 2008 18:11:54 +0000
Checked in by : Robert Osfield
Introduced TerrainTile::TileLoadedCallback

Wed, 10 Sep 2008 16:17:17 +0000
Checked in by : Robert Osfield
Removed unneccessary compound name usage

Wed, 10 Sep 2008 11:38:49 +0000
Checked in by : Robert Osfield
Removed debugging output

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.

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.

Wed, 10 Sep 2008 11:27:00 +0000
Checked in by : Robert Osfield
Added playing of the imagesequence on creation of the imagesequence

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.

Thu, 4 Sep 2008 17:30:56 +0000
Checked in by : Robert Osfield
Fix for when looping is is disabled

Thu, 4 Sep 2008 14:23:29 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode-project

Tue, 2 Sep 2008 16:13:54 +0000
Checked in by : Robert Osfield
Added acceptance of .ogv extensions in xine-lib plugin

Tue, 2 Sep 2008 12:55:26 +0000
Checked in by : Robert Osfield
Added setSetName/getSetName() methods

Mon, 1 Sep 2008 16:28:02 +0000
Checked in by : Robert Osfield
Update ChangeLog

Mon, 1 Sep 2008 15:29:22 +0000
Checked in by : Robert Osfield
Replaced uint with unsigned int

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

Mon, 1 Sep 2008 14:05:40 +0000
Checked in by : Robert Osfield
Updated wrappers

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

Mon, 1 Sep 2008 10:49:22 +0000
Checked in by : Robert Osfield
Updated wrappers

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

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."

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. "

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

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. "

Mon, 1 Sep 2008 09:57:35 +0000
Checked in by : Robert Osfield
Build fixes for Windows

Fri, 29 Aug 2008 09:28:28 +0000
Checked in by : Robert Osfield
Added CompositeLayer::addLayer(setname,filename) convinience function

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."

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.

Thu, 28 Aug 2008 09:43:00 +0000
Checked in by : Robert Osfield
Converted AutoTransform to use doubles.

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

Tue, 26 Aug 2008 17:40:04 +0000
Checked in by : Robert Osfield
Improved the GLSL implementation.

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

Tue, 26 Aug 2008 12:05:24 +0000
Checked in by : Robert Osfield
Added wrapper build target for generating the osgWrappers

Tue, 26 Aug 2008 09:39:45 +0000
Checked in by : Robert Osfield
Added provisional block in computePositions()

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

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

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:

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."



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.

Mon, 25 Aug 2008 15:37:48 +0000
Checked in by : Robert Osfield
From Liang Aibin, removed redundent spaces

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.

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.



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. "

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."

Mon, 25 Aug 2008 11:37:53 +0000
Checked in by : Robert Osfield
Added testing of max texture size using a realize operation

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

Mon, 25 Aug 2008 10:38:07 +0000
Checked in by : Robert Osfield
Removed debug info

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

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

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.

Fri, 22 Aug 2008 16:37:56 +0000
Checked in by : Robert Osfield
Added warning message

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.

Tue, 19 Aug 2008 17:41:55 +0000
Checked in by : Robert Osfield
Added checked against an empty _kdNodes list before commensing with intersection

Mon, 18 Aug 2008 15:08:04 +0000
Checked in by : Robert Osfield
Added --mip command line option which enables Maximum Intensity Projection filtering

Mon, 18 Aug 2008 15:06:41 +0000
Checked in by : Robert Osfield
Added .ive support for BlendEquation

Mon, 18 Aug 2008 14:49:16 +0000
Checked in by : Robert Osfield
Added BlendEquation .osg support

Mon, 18 Aug 2008 12:39:18 +0000
Checked in by : Robert Osfield
Updated AUTHORS file for 2.7.0 release

Mon, 18 Aug 2008 11:55:17 +0000
Checked in by : Robert Osfield
Updated ChangeLog for 2.7.0 release

Mon, 18 Aug 2008 11:48:07 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

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<Canvas>(obj,style,c);

 "



Mon, 18 Aug 2008 11:17:44 +0000
Checked in by : Robert Osfield
Ran fixtabs to enforce four space tabs

Mon, 18 Aug 2008 11:00:40 +0000
Checked in by : Robert Osfield
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.

 "



Mon, 18 Aug 2008 10:47:43 +0000
Checked in by : Robert Osfield
Removed todo entry

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.

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. "




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."



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. "

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."



Fri, 15 Aug 2008 17:26:06 +0000
Checked in by : Robert Osfield
Updated version numbers in prep for next dev release

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."



Fri, 15 Aug 2008 17:18:10 +0000
Checked in by : Robert Osfield
Added support for geometry shader attributes

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.



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().

Fri, 15 Aug 2008 13:07:04 +0000
Checked in by : Robert Osfield
Fixed the name of _playToggle

Fri, 15 Aug 2008 13:06:18 +0000
Checked in by : Robert Osfield
Updated wrappers

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

Thu, 14 Aug 2008 16:29:12 +0000
Checked in by : Robert Osfield
Added initial looping and pause play support

Thu, 14 Aug 2008 16:28:45 +0000
Checked in by : Robert Osfield
Added event handler to toggling looping and play/pause

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

Tue, 5 Aug 2008 20:05:25 +0000
Checked in by : Robert Osfield
From Eric Sokolowski, added OSX release notes to READEME

Tue, 5 Aug 2008 20:05:07 +0000
Checked in by : Robert Osfield
Added osgWidget to doc building

Tue, 5 Aug 2008 19:17:09 +0000
Checked in by : Robert Osfield
Improved the doxygen docs over the various namespaces

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

Tue, 5 Aug 2008 15:27:37 +0000
Checked in by : Robert Osfield
Merged from OpenSceneGraph-2.6 branch

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

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"

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 .



Mon, 4 Aug 2008 20:48:46 +0000
Checked in by : Robert Osfield
Added -losgWidget to the list of libs

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."

Mon, 4 Aug 2008 15:09:16 +0000
Checked in by : Robert Osfield
Updated AUTHORS file

Mon, 4 Aug 2008 15:08:39 +0000
Checked in by : Robert Osfield
Updated ChangeLog

Mon, 4 Aug 2008 15:08:24 +0000
Checked in by : Robert Osfield
Updated news for 2.6.0 release rc2

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.

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.

Mon, 4 Aug 2008 12:27:22 +0000
Checked in by : Robert Osfield
Removed debug info

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!""



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.

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.

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 .

Sun, 3 Aug 2008 16:48:12 +0000
Checked in by : Robert Osfield
Moved bb expansion out of loop.

Fri, 25 Jul 2008 21:09:37 +0000
Checked in by : Robert Osfield
Updated ChangeLog and AUTHORS.txt file for relese candidate

Fri, 25 Jul 2008 21:01:57 +0000
Checked in by : Robert Osfield
Updated version numbers to 2.6.0

Fri, 25 Jul 2008 21:00:12 +0000
Checked in by : Robert Osfield
Updated REAME and NEWS for 2.6 branch

Fri, 25 Jul 2008 20:50:59 +0000
Checked in by : Robert Osfield
Updated wrappers

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

Fri, 25 Jul 2008 20:49:17 +0000
Checked in by : Robert Osfield
Added PluginQuery function to wrappers

Fri, 25 Jul 2008 20:04:41 +0000
Checked in by : Robert Osfield
Added OSGPL Copyright notices

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.

Fri, 25 Jul 2008 19:53:18 +0000
Checked in by : Robert Osfield
Added include to help wrapper building

Fri, 25 Jul 2008 18:44:13 +0000
Checked in by : Robert Osfield
Improved handling of PAGE_AND_RETAIN_IMAGES

Fri, 25 Jul 2008 17:42:37 +0000
Checked in by : Robert Osfield
Reverted back to using std::list<std::String>

Fri, 25 Jul 2008 16:23:00 +0000
Checked in by : Robert Osfield
Added Mode support

Fri, 25 Jul 2008 16:11:51 +0000
Checked in by : Robert Osfield
Updated wrappers, and further refined the ImageSequence API

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/

Attached is a patch that should fix spacey filenames and optional texture scale/offset.  I have tested it with files I have that I modified to contain spaces in the texture filenames."



Fri, 25 Jul 2008 15:38:12 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode-project

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

Fri, 25 Jul 2008 10:18:36 +0000
Checked in by : Robert Osfield
Moved PluginQuery from osgconv into osgDB

Fri, 25 Jul 2008 10:18:14 +0000
Checked in by : Robert Osfield
Added extension docs

Fri, 25 Jul 2008 09:46:05 +0000
Checked in by : Robert Osfield
Added option docs

Thu, 24 Jul 2008 17:38:50 +0000
Checked in by : Robert Osfield
Added missing returns

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."

Thu, 24 Jul 2008 12:48:25 +0000
Checked in by : Robert Osfield
Updated wrappers

Thu, 24 Jul 2008 12:47:55 +0000
Checked in by : Robert Osfield
Added getCurrentCamera/getCurrentRenderStage methods

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.

Thu, 24 Jul 2008 12:06:05 +0000
Checked in by : Robert Osfield
Improved the feedback for when a plugin isn't available.

Thu, 24 Jul 2008 12:01:45 +0000
Checked in by : Robert Osfield
Added supportOptions() entry docs

Thu, 24 Jul 2008 12:01:23 +0000
Checked in by : Robert Osfield
Added --format extname and --plugin pluginname extensions, and improved formating

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)



Wed, 23 Jul 2008 22:19:37 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 23 Jul 2008 22:19:29 +0000
Checked in by : Robert Osfield
Refactored OverlayData so that its possible to subclass OverlayNode/OverlayData.

Wed, 23 Jul 2008 21:52:03 +0000
Checked in by : Robert Osfield
Added wrappers

Wed, 23 Jul 2008 21:49:07 +0000
Checked in by : Robert Osfield
Moved helper classes into Protected section

Wed, 23 Jul 2008 21:25:09 +0000
Checked in by : Robert Osfield
From Paul Martz, typo fixes

Wed, 23 Jul 2008 19:06:14 +0000
Checked in by : Robert Osfield
Applied filename fix suggested by Andrew Bettison.

Wed, 23 Jul 2008 19:04:46 +0000
Checked in by : Robert Osfield
Implemented ImagePager internals

Wed, 23 Jul 2008 15:42:02 +0000
Checked in by : Robert Osfield
Fixed unitialized variable

Tue, 22 Jul 2008 20:20:16 +0000
Checked in by : Robert Osfield
Further work on ImageSequence

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.

Tue, 22 Jul 2008 15:58:40 +0000
Checked in by : Robert Osfield
Improved position when multiple videos are provided

Tue, 22 Jul 2008 15:21:24 +0000
Checked in by : Robert Osfield
Updated wrappers

Tue, 22 Jul 2008 14:47:59 +0000
Checked in by : Robert Osfield
Fixed handling of TextureCubeMap's with mipmapped/ImageSequence/PBO's.

Tue, 22 Jul 2008 12:40:02 +0000
Checked in by : Robert Osfield
Added ImageSequence IO support in Texture classes

Tue, 22 Jul 2008 12:28:46 +0000
Checked in by : Robert Osfield
Added support for ImageSequence to all Texture classes

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.

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..."

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



Mon, 21 Jul 2008 22:38:11 +0000
Checked in by : Robert Osfield
Removed the reducent non const get methods

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")));

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.

"



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

The errors belong all to a INLINE function definition. Find attached my
modified version."



Mon, 21 Jul 2008 21:17:05 +0000
Checked in by : Robert Osfield
From Mario Valle, signed/unsgined warning fix

Mon, 21 Jul 2008 21:00:57 +0000
Checked in by : Robert Osfield
Further work on osg::ImageSequence/osgDB::ImagePager

Mon, 21 Jul 2008 20:44:37 +0000
Checked in by : Robert Osfield
Upated version number for dev release

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)

Mon, 21 Jul 2008 17:45:28 +0000
Checked in by : Robert Osfield
Added call to OpenThreads::Thread::cancel();

Mon, 21 Jul 2008 17:39:55 +0000
Checked in by : Robert Osfield
Updated wrappers

Mon, 21 Jul 2008 17:28:22 +0000
Checked in by : Robert Osfield
Added basic image sequencing

Mon, 21 Jul 2008 17:27:59 +0000
Checked in by : Robert Osfield
Added non const getAuthenticationMap().

Mon, 21 Jul 2008 16:17:41 +0000
Checked in by : Robert Osfield
Moved the if (!buffer) check to infront of the memory initialization

Mon, 21 Jul 2008 15:05:08 +0000
Checked in by : Robert Osfield
Added --login <url> <username> <password> http authentication.

Mon, 21 Jul 2008 15:04:19 +0000
Checked in by : Robert Osfield
Added --login url username password http authentication option

Mon, 21 Jul 2008 10:57:06 +0000
Checked in by : Robert Osfield
Initial cut of osgimagesequence example

Mon, 21 Jul 2008 10:48:14 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode-project

Mon, 21 Jul 2008 10:10:01 +0000
Checked in by : Robert Osfield
Added ImagePager first cut, and updated wrappers

Mon, 21 Jul 2008 09:55:15 +0000
Checked in by : Robert Osfield
Added first cut of ImageStream IO wrapper

Mon, 21 Jul 2008 09:47:39 +0000
Checked in by : Robert Osfield
First cut of osgDB::ImagePager for updating osg::ImageSequence

Mon, 21 Jul 2008 09:46:53 +0000
Checked in by : Robert Osfield
First cut of osg::ImageSequence class

Fri, 18 Jul 2008 21:17:35 +0000
Checked in by : Robert Osfield
From Adrain Elgi, added osgGA to link list

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.

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

Thu, 17 Jul 2008 14:25:04 +0000
Checked in by : Robert Osfield
Updated version and AUTHORS.txt for 2.5.5 release

Thu, 17 Jul 2008 14:18:59 +0000
Checked in by : Robert Osfield
Updated ChangeLog for 2.5.5 release

Thu, 17 Jul 2008 14:13:13 +0000
Checked in by : Robert Osfield
Updated wrappers

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
"



Thu, 17 Jul 2008 13:32:47 +0000
Checked in by : Robert Osfield
Updated ChangeLog

Thu, 17 Jul 2008 13:23:43 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode project

Thu, 17 Jul 2008 12:26:42 +0000
Checked in by : Robert Osfield
Updated wrappers

Thu, 17 Jul 2008 12:13:04 +0000
Checked in by : Robert Osfield
Moved AuthenticalMap/AuthenticationDetails out in their own files

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

Wed, 16 Jul 2008 19:07:01 +0000
Checked in by : Robert Osfield
Removed net plugin for Xcode projects

Wed, 16 Jul 2008 16:19:54 +0000
Checked in by : Robert Osfield
Moved .net plugin out into Deprecated section of osg svn repostitory

Wed, 16 Jul 2008 16:19:19 +0000
Checked in by : Robert Osfield
Fixed path to font

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.

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.

Wed, 16 Jul 2008 15:58:51 +0000
Checked in by : Robert Osfield
Cleaned up the updateStateSet code

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

Wed, 16 Jul 2008 13:29:35 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 16 Jul 2008 13:26:06 +0000
Checked in by : Robert Osfield
Changed int's to unsigned int's to avoid warnings

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.)

Wed, 16 Jul 2008 12:53:58 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode-project, included osgWidget-Framework

Wed, 16 Jul 2008 11:40:01 +0000
Checked in by : Robert Osfield
Removed a division by precomputing the associated values

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

Tue, 15 Jul 2008 22:13:35 +0000
Checked in by : Robert Osfield
Added osgWidget wrappers

Tue, 15 Jul 2008 22:03:59 +0000
Checked in by : Robert Osfield
Converted tabs to four spaces

Tue, 15 Jul 2008 21:28:22 +0000
Checked in by : Robert Osfield
Fixed typo

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.

Tue, 15 Jul 2008 19:42:49 +0000
Checked in by : Robert Osfield
Fixed name of lib

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

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."

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

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

Tue, 15 Jul 2008 19:23:48 +0000
Checked in by : Robert Osfield
Removed now redundent example

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.  "

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."

Tue, 15 Jul 2008 18:12:17 +0000
Checked in by : Robert Osfield
Fixed typo

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




Tue, 15 Jul 2008 14:24:46 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Tue, 15 Jul 2008 14:15:42 +0000
Checked in by : Robert Osfield
Renamed Archive::ArchiveStatus to ReaderWriter::ArchiveStatus

Tue, 15 Jul 2008 10:45:07 +0000
Checked in by : Robert Osfield
Updated wrappers

Tue, 15 Jul 2008 09:55:33 +0000
Checked in by : Robert Osfield
Missing check-ins

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

Mon, 14 Jul 2008 20:11:37 +0000
Checked in by : Robert Osfield
Added missing ac3d supportsExtensions() constructor

Mon, 14 Jul 2008 08:48:49 +0000
Checked in by : Robert Osfield
Added initial cut at plugin query code

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

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

Sun, 13 Jul 2008 12:34:06 +0000
Checked in by : Robert Osfield
From Paul Martz, removed uneccessary libraries from link line

Sat, 12 Jul 2008 17:44:51 +0000
Checked in by : Robert Osfield
Updated date for 2.5.4 release

Sat, 12 Jul 2008 17:30:17 +0000
Checked in by : Robert Osfield
Added an OSG_EXPORT

Sat, 12 Jul 2008 16:11:14 +0000
Checked in by : Robert Osfield
Updated Authors for dev release

Sat, 12 Jul 2008 15:29:30 +0000
Checked in by : Robert Osfield
Updated ChangeLog for dev release

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:

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"



Sat, 12 Jul 2008 11:19:25 +0000
Checked in by : Robert Osfield
Cleaned up osgkdtree example

Fri, 11 Jul 2008 20:01:12 +0000
Checked in by : Robert Osfield
Updated version numbers for dev release

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."

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."

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.
 "




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."




Fri, 11 Jul 2008 17:41:50 +0000
Checked in by : Robert Osfield
From Joakim Simmonsson, fixed various spelling typos in comments

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. "

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

Fri, 11 Jul 2008 16:51:11 +0000
Checked in by : Robert Osfield
Updated KdTree code to refect new cleaned up API

Fri, 11 Jul 2008 16:50:43 +0000
Checked in by : Robert Osfield
Tweaked the KdTree intersection performance testing code block

Fri, 11 Jul 2008 16:48:55 +0000
Checked in by : Robert Osfield
Updated wrappers

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

Thu, 10 Jul 2008 15:50:10 +0000
Checked in by : Robert Osfield
Streamlined KdTree implementation

Wed, 9 Jul 2008 19:43:02 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 9 Jul 2008 19:42:15 +0000
Checked in by : Robert Osfield
Cleaned up KdTree implementation

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

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.

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

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.

Wed, 9 Jul 2008 12:37:59 +0000
Checked in by : Robert Osfield
Updated wrappers

Tue, 8 Jul 2008 18:02:09 +0000
Checked in by : Robert Osfield
Fixed set method

Tue, 8 Jul 2008 17:35:10 +0000
Checked in by : Robert Osfield
Added optional control of whether to use KdTrees for intersections

Mon, 7 Jul 2008 20:27:56 +0000
Checked in by : Robert Osfield
Implement hierachy culling in KdTree::intersect(..)

Mon, 7 Jul 2008 14:27:58 +0000
Checked in by : Robert Osfield
Improved the handling of KdTree intersections

Mon, 7 Jul 2008 13:21:37 +0000
Checked in by : Robert Osfield
Implemented intial KdTree triangle intersection code, but without culling implemented

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.

Mon, 7 Jul 2008 09:40:30 +0000
Checked in by : Robert Osfield
Changed types to avoid warnings under Windows

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.




Sun, 6 Jul 2008 12:14:19 +0000
Checked in by : Robert Osfield
Moved KdTree build code into osg::KdTree

Sat, 5 Jul 2008 17:29:07 +0000
Checked in by : Robert Osfield
Added handling of co-incident start and end points.

Sat, 5 Jul 2008 16:39:28 +0000
Checked in by : Robert Osfield
Ported intersection code to use new osgUtil::LineSegmentIntersector/IntersectionVisitor.

Fri, 4 Jul 2008 19:16:19 +0000
Checked in by : Robert Osfield
Converted TerrainManipulator to use osgUtil::InterectionVisitor rather than the old IntersectVisitor

Fri, 4 Jul 2008 17:02:02 +0000
Checked in by : Robert Osfield
Added KdTree intersection support into LineSegmentIntersector

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.

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

Thu, 3 Jul 2008 17:18:14 +0000
Checked in by : Robert Osfield
Introduced bounding boxes to KDLeaf and KDNode structs

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.

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"



Thu, 3 Jul 2008 14:59:07 +0000
Checked in by : Robert Osfield
From Mario Valle, removed extraneous spaces

Thu, 3 Jul 2008 11:23:44 +0000
Checked in by : Robert Osfield
Added header guards

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.

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."

Thu, 3 Jul 2008 10:24:20 +0000
Checked in by : Robert Osfield
Implement an experiemental triangle kdtree building support

Thu, 3 Jul 2008 10:03:06 +0000
Checked in by : Robert Osfield
Set the DataVariance on FadeText to DYNAMIC to reflect their nature

Wed, 2 Jul 2008 10:00:09 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 2 Jul 2008 09:25:08 +0000
Checked in by : Robert Osfield
Introduced support for UNSCPECIFIED and STATIC DataVariance of StateSet/Textures

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."

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."



Tue, 1 Jul 2008 13:56:02 +0000
Checked in by : Robert Osfield
Added Vec3Array arrange pointer to avoid dynamic cast

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 ..."

Mon, 30 Jun 2008 16:53:06 +0000
Checked in by : Robert Osfield
Added guards against FBO not being supported/setup

Sun, 29 Jun 2008 13:41:07 +0000
Checked in by : Robert Osfield
Updated README date for 2.5.3 dev release

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.

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

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.

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.

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.
"



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.

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<>.

Fri, 27 Jun 2008 11:47:06 +0000
Checked in by : Stephan Maximilian HUBER
from Stephan Huber: updated XCode project

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. "

Thu, 26 Jun 2008 19:51:24 +0000
Checked in by : Robert Osfield
Updated authors and osgversion

Thu, 26 Jun 2008 19:47:00 +0000
Checked in by : Robert Osfield
Updated ChangeLog

Thu, 26 Jun 2008 19:21:54 +0000
Checked in by : Robert Osfield
Updated wrappers

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.
 "



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."



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.



Thu, 26 Jun 2008 15:06:44 +0000
Checked in by : Robert Osfield
From Mathias Froehlich, updated CMakeLists.txt to build the Atomic.cpp

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.

Thu, 26 Jun 2008 13:08:24 +0000
Checked in by : Robert Osfield
From Eric Sokolowski, Cmake support for osgviewerCocoa

Thu, 26 Jun 2008 12:08:37 +0000
Checked in by : Robert Osfield
From Mathias Froehlich, build fixes for various unices

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

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."



Mon, 23 Jun 2008 15:11:37 +0000
Checked in by : Robert Osfield
Fixed pedantic warning

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. "

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

The error was in compiling osgDB/Registry.cpp
"



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.

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)"



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

Sat, 21 Jun 2008 17:56:38 +0000
Checked in by : Robert Osfield
Quietened down debug info

Sat, 21 Jun 2008 17:50:58 +0000
Checked in by : Robert Osfield
Added support for X11's overrideRedirect functionality

Sat, 21 Jun 2008 11:34:01 +0000
Checked in by : Robert Osfield
Converted tabs to four spaces

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

Fri, 20 Jun 2008 19:51:21 +0000
Checked in by : Robert Osfield
Updated ChangeLog

Fri, 20 Jun 2008 17:32:27 +0000
Checked in by : Robert Osfield
From Terry Welsh, added missing MixinVector header

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.

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.

Fri, 20 Jun 2008 15:49:15 +0000
Checked in by : Robert Osfield
Updated ChangeLog

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

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.



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

Fri, 20 Jun 2008 11:11:47 +0000
Checked in by : Robert Osfield
Updated version numbers for dev releases

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."

Fri, 20 Jun 2008 09:46:45 +0000
Checked in by : Robert Osfield
From Melchior Franz, fixed typo on variable name

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.

Thu, 19 Jun 2008 20:42:10 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

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"





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"

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.

Thu, 19 Jun 2008 14:57:36 +0000
Checked in by : Robert Osfield
from Andrew Bettison, LineStipple support for .ive

Thu, 19 Jun 2008 14:45:54 +0000
Checked in by : Robert Osfield
From Adrian Egli, "Improvements to the PSSM implementation"

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).

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."



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."



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."

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. "

Thu, 19 Jun 2008 13:28:33 +0000
Checked in by : Robert Osfield
Updated wrappers to fix OpenThreads::Atomic build issues.

Thu, 19 Jun 2008 12:02:20 +0000
Checked in by : Robert Osfield
From Michael Platings, fixed typo error in renderbin assignment

Thu, 19 Jun 2008 11:58:34 +0000
Checked in by : Robert Osfield
In Program::PerContextProgram changed const Uniform* to osg::ref_ptr<const Uniform*> 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.

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.

Wed, 18 Jun 2008 20:27:06 +0000
Checked in by : Robert Osfield
Updated wrappers

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: <OSG_SOURCE_ROOT>\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: <OSG_SOURCE_ROOT>\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<const osg::Fog*>(attribute)){
                            ((ive::Fog*)(attribute))->write(this);
                        }
   (5). Add newly created ive::Fog Object in Fog.h and Fog.cpp.
"



Wed, 18 Jun 2008 16:46:38 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 18 Jun 2008 16:45:21 +0000
Checked in by : Robert Osfield
Added a wrapString(const char*) which automatically handles null strings.

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

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

Wed, 18 Jun 2008 14:09:11 +0000
Checked in by : Robert Osfield
From Michael Platings and Paul Palumbo, multi-sample FBO support

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.
"



Wed, 18 Jun 2008 11:56:50 +0000
Checked in by : Robert Osfield
From Bob Kuehne, "added multi-texture support (alpha/trans images)"

Wed, 18 Jun 2008 11:51:22 +0000
Checked in by : Robert Osfield
Updated wrappers

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.



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

Fri, 6 Jun 2008 19:41:28 +0000
Checked in by : Robert Osfield
Updated ChangeLog

Fri, 6 Jun 2008 17:45:33 +0000
Checked in by : Robert Osfield
Updated versions for 2.5.2 dev release

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. "

Fri, 6 Jun 2008 16:41:24 +0000
Checked in by : Robert Osfield
From Stephane Lamoliatte, "fix to reading of DatabasePath property"

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."



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."

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."

Fri, 6 Jun 2008 14:10:20 +0000
Checked in by : Robert Osfield
Cleaned up implementation to only use simple structure

Fri, 6 Jun 2008 13:21:57 +0000
Checked in by : Robert Osfield
Renamed _rendergraph to _stateGraph to better reflect its function

Fri, 6 Jun 2008 13:21:27 +0000
Checked in by : Robert Osfield
Introduce a lower overhead data structure for leaves.

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.

Fri, 6 Jun 2008 09:08:16 +0000
Checked in by : Robert Osfield
Quitened down the release context message

Fri, 6 Jun 2008 08:42:37 +0000
Checked in by : Robert Osfield
Added OSGDB_EXPORT

Thu, 5 Jun 2008 18:52:29 +0000
Checked in by : Robert Osfield
Added timing code

Thu, 5 Jun 2008 17:28:06 +0000
Checked in by : Robert Osfield
Basic implementation of kdtree generation based on vertices

Thu, 5 Jun 2008 13:46:19 +0000
Checked in by : Robert Osfield
Added accep(Shape&)

Wed, 4 Jun 2008 17:59:39 +0000
Checked in by : Robert Osfield
Further work on fleshing out basic classes

Wed, 4 Jun 2008 16:53:17 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Tue, 3 Jun 2008 17:29:27 +0000
Checked in by : Robert Osfield
Fleshed out some basic kd-tree data structures.

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.

Tue, 3 Jun 2008 15:49:59 +0000
Checked in by : Robert Osfield
Added missing updateBlock()

Tue, 3 Jun 2008 13:07:40 +0000
Checked in by : Robert Osfield
From Mario Valle, fixed warnings

Tue, 3 Jun 2008 13:06:54 +0000
Checked in by : Robert Osfield
Ran merge to get rid of tabs

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.

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()

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.

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.

Fri, 30 May 2008 21:23:49 +0000
Checked in by : Robert Osfield
Updated authors and version file for 2.5.1 dev release

Fri, 30 May 2008 21:12:44 +0000
Checked in by : Robert Osfield
Updated ChangeLog

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

Fri, 30 May 2008 20:15:31 +0000
Checked in by : Robert Osfield
Added applyMaskAction(CLEAR_COLOR) to Camera::setClearColor() to enable proper inheritance

Fri, 30 May 2008 17:03:32 +0000
Checked in by : Robert Osfield
Updated ChangeLog

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. "

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.



Fri, 30 May 2008 11:44:06 +0000
Checked in by : Robert Osfield
Updated packgage number for 2.5.1 developer release

Fri, 30 May 2008 11:43:04 +0000
Checked in by : Robert Osfield
Fixed cirular reference in DatabaseRequest

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

Thu, 29 May 2008 11:45:31 +0000
Checked in by : Robert Osfield
Added code to catch erroneous Dof axis settings

Thu, 29 May 2008 11:13:29 +0000
Checked in by : Robert Osfield
Improved the NaN depth detection within CullVisitor and debug output.

Thu, 29 May 2008 11:09:56 +0000
Checked in by : Robert Osfield
Improved the NaN error detection and reporting.

Wed, 28 May 2008 17:56:22 +0000
Checked in by : Robert Osfield
Added catch for NaN depth values

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.



Wed, 28 May 2008 14:37:50 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 28 May 2008 14:11:22 +0000
Checked in by : Robert Osfield
From Adrian Egli, improvements to ParallelSplitShadowMap implementation

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.
" 



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.
"



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.

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").
"



Wed, 28 May 2008 12:49:47 +0000
Checked in by : Robert Osfield
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




Wed, 28 May 2008 11:58:46 +0000
Checked in by : Robert Osfield
Updated wrappers

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.




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.

 

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."



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")"



Tue, 27 May 2008 17:32:26 +0000
Checked in by : Robert Osfield
From Lars Nilson, bug fix to Sector::computeMatrix()

Tue, 27 May 2008 16:32:17 +0000
Checked in by : Robert Osfield
Added handling of \ within srings by using \\

Tue, 27 May 2008 15:42:40 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

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.

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<osgTerrain::Terrain>(model.get());
  if (!terrain)
  {
      terrain = new osgTerrain::Terrain;
      terrain->addChild(model.get());
      terrain->setVerticalScale(2.0f);
      model = terrain;
  }
  viewerWindow->setSceneData(model.get());
"



Tue, 27 May 2008 12:07:58 +0000
Checked in by : Robert Osfield
Updated version numbers in prep for 2.5.1 release

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<osg::Node> 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.
 "



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"



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))

Solution: change to:
  if (fr[0].matchWord("pattern") && fr[1].getUInt(mask))"



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.
"



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."



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)

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."





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."



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)


Patch is tested and seems to work fine. It shouldn't break any other functionality. It should go into include/osg and src/osg
"



Mon, 26 May 2008 21:44:14 +0000
Checked in by : Robert Osfield
Fixed copyright notice typo

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."



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

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.
"



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. "

Mon, 26 May 2008 21:10:10 +0000
Checked in by : Robert Osfield
Updated wrappers

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"

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."

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.

Mon, 26 May 2008 17:30:43 +0000
Checked in by : Robert Osfield
Added continuous recording of the animation path to the RecordAnimationPathHandler

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

Mon, 26 May 2008 15:41:54 +0000
Checked in by : Robert Osfield
Added basic --pbuffer width height support

Mon, 26 May 2008 14:30:48 +0000
Checked in by : Robert Osfield
Added better stats reporting

Mon, 26 May 2008 12:01:24 +0000
Checked in by : Robert Osfield
Added feedback of pixel format chosen for read back

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

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

Sun, 25 May 2008 22:06:41 +0000
Checked in by : Robert Osfield
Switch to using an inital draw callback when use --start-frame

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.

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.

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

Sat, 24 May 2008 11:05:10 +0000
Checked in by : Robert Osfield
Added #define's for PixelBufferObject extensions.Added docs for Camera::DrawCallback



Sat, 24 May 2008 09:24:37 +0000
Checked in by : Robert Osfield
Added RenderStage::setClear*() methods from Camera::getClear*() sources

Sat, 24 May 2008 08:13:55 +0000
Checked in by : Robert Osfield
Changed default format to GL_BGR

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

Thu, 22 May 2008 17:50:22 +0000
Checked in by : Robert Osfield
Added basic glReadPixels code

Thu, 22 May 2008 15:43:01 +0000
Checked in by : Robert Osfield
Added camera final callback attachment code.

Thu, 22 May 2008 13:11:23 +0000
Checked in by : Robert Osfield
Fixed name of source file

Thu, 22 May 2008 13:10:40 +0000
Checked in by : Robert Osfield
Added new osgscreencapture example folder, implementation to follow

Thu, 22 May 2008 12:38:36 +0000
Checked in by : Robert Osfield
Reorginaized the DatabaseQueue's to avoid warnings under Windows

Thu, 22 May 2008 11:21:04 +0000
Checked in by : Robert Osfield
Fixed warning by adding in missing return

Thu, 22 May 2008 08:31:56 +0000
Checked in by : Robert Osfield
Checking in missed header

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.

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.   




Tue, 20 May 2008 09:28:44 +0000
Checked in by : Robert Osfield
Moved the compile to after the updateSceneView

Wed, 14 May 2008 20:22:01 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

  libcurl based plugin now detects enabing of the AsynchronousFileReadHint, but
  as yet does not handle async requests - handling everything syncronously.
  
  DatabasePager now by default will enable AsynchronousFileReadHint for http
  based file requests
  



Wed, 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.

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.

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.

Tue, 13 May 2008 18:28:26 +0000
Checked in by : Robert Osfield
Fixed lat/long ordering

Tue, 13 May 2008 17:27:29 +0000
Checked in by : Robert Osfield
Added support for -e level minX minY maxX maxY extents controls

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.

Tue, 13 May 2008 12:36:39 +0000
Checked in by : Robert Osfield
Further work on computing of lat/long range of PagedLOD subgraphs

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

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.
"



Mon, 12 May 2008 16:59:04 +0000
Checked in by : Robert Osfield
Added signal handling code, and prelimary lat/long computation

Mon, 12 May 2008 15:42:20 +0000
Checked in by : Robert Osfield
Added missing getBound() method

Mon, 12 May 2008 12:16:58 +0000
Checked in by : Robert Osfield
Update ChangeLog and wrappers for 2.5.0 dev release

Mon, 12 May 2008 12:16:14 +0000
Checked in by : Robert Osfield
Updated AUTHORS for 2.5.0 release

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

Mon, 12 May 2008 11:01:54 +0000
Checked in by : Robert Osfield
Updated version number for 2.5.0 dev release

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.

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"



Mon, 12 May 2008 10:16:40 +0000
Checked in by : Robert Osfield
From Mathias Froehlich, fixed typo

Sun, 11 May 2008 14:26:27 +0000
Checked in by : Robert Osfield
Added CARIO_FOUND into svg plugins checks

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.

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&)."



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."



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.



Fri, 9 May 2008 17:22:49 +0000
Checked in by : Robert Osfield
Added --file-cache command line option to compliment -c

Fri, 9 May 2008 17:08:31 +0000
Checked in by : Robert Osfield
Initial cut of file cache population app

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.

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."



Fri, 9 May 2008 10:27:59 +0000
Checked in by : Robert Osfield
From Jeremy Moles, fixed window resize problem

Thu, 8 May 2008 17:02:08 +0000
Checked in by : Robert Osfield
Added missing check against handling invalid bounding sphere's

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."

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)

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"



Thu, 8 May 2008 16:39:10 +0000
Checked in by : Robert Osfield
From Jeremy Moles, osgviewerGTK example

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.

"



Thu, 8 May 2008 15:14:13 +0000
Checked in by : Robert Osfield
Updated ChangeLog and osgversion to catch Raymond de Vries name correctly

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

if (!_particleSizeUniform)

to

if (!_particleColorUniform)
" 



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."



Thu, 8 May 2008 13:46:58 +0000
Checked in by : Robert Osfield
Updated wrappers

Thu, 8 May 2008 13:22:52 +0000
Checked in by : Robert Osfield
From Roland Smeenk, "Small typo and implementation fix for setInitialDrawCallback."

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."

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

Thu, 8 May 2008 09:16:24 +0000
Checked in by : Robert Osfield
Updated the doxygen docs to explain the deprecated status of SceneView

Wed, 7 May 2008 17:06:36 +0000
Checked in by : Robert Osfield
Commented out checking of DISPLAY env var

Wed, 7 May 2008 14:32:39 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 7 May 2008 14:30:58 +0000
Checked in by : Robert Osfield
From Bob Kuehne, Added doxygen docs clarification of ReadResult enum values

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"

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.

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 <value>
   This value defines the kind of content that can be:
      0: No depth
      1: Signage
      2: Movie
      3: CGI
      4: Still

--wow-factor <value>
   Percentage of the display recommended depth value. Default 64, Range [0-255]

--wow-offset <value>
   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.
      "



Wed, 7 May 2008 13:49:32 +0000
Checked in by : Robert Osfield
From Terry Welsh, fixed typo of getEnd()

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. "

Wed, 7 May 2008 13:42:29 +0000
Checked in by : Robert Osfield
From Farshid Lashkari, "I've added hardware mipmap support to Texture3D."

Wed, 7 May 2008 11:59:15 +0000
Checked in by : Robert Osfield
Added doxygen comments for attach

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

Fri, 25 Apr 2008 13:10:05 +0000
Checked in by : Robert Osfield
Update AUTHORS file for 2.4 release

Fri, 25 Apr 2008 12:58:07 +0000
Checked in by : Robert Osfield
Updated ChangeLog for 2.4 release

Fri, 25 Apr 2008 12:40:14 +0000
Checked in by : Robert Osfield
Update NEWS and README to 2.4 stable release

Fri, 25 Apr 2008 09:46:25 +0000
Checked in by : Robert Osfield
Updated Version number for 2.4 stable release

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"."

Fri, 25 Apr 2008 08:34:54 +0000
Checked in by : Robert Osfield
Added cast to avoid warning

Thu, 24 Apr 2008 16:50:17 +0000
Checked in by : Robert Osfield
Updated date of 2.4 release

Thu, 24 Apr 2008 16:49:52 +0000
Checked in by : Robert Osfield
Updated AUTHORS file for release

Thu, 24 Apr 2008 16:48:59 +0000
Checked in by : Robert Osfield
Updated ChangeLog for 2.3.11 release

Thu, 24 Apr 2008 16:24:16 +0000
Checked in by : Robert Osfield
From Wojchiech Lewandowski, add missing setDataVariance(DYNAMIC) and extra event handlers

Thu, 24 Apr 2008 14:46:21 +0000
Checked in by : Robert Osfield
From Colin Dunlop, added alias for .live to quicktime plugin mapping.

Thu, 24 Apr 2008 11:34:43 +0000
Checked in by : Robert Osfield
Reverted the changes for ill fated tweaks for Apple build

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."



Wed, 23 Apr 2008 21:07:54 +0000
Checked in by : Robert Osfield
Updated authors file for 2.3.11 release

Wed, 23 Apr 2008 21:07:16 +0000
Checked in by : Robert Osfield
Updated ChangeLog

Wed, 23 Apr 2008 20:54:28 +0000
Checked in by : Robert Osfield
Updated version number 2.3.11

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.

Wed, 23 Apr 2008 20:49:19 +0000
Checked in by : Robert Osfield
Removed the mutable from the _image variable

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

Tue, 22 Apr 2008 14:31:30 +0000
Checked in by : Robert Osfield
Added return.

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."

Tue, 22 Apr 2008 13:00:52 +0000
Checked in by : Robert Osfield
Updated AUTHORS file

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.

Tue, 22 Apr 2008 11:47:17 +0000
Checked in by : Robert Osfield
Updated version number for 2.3.10 dev release

Tue, 22 Apr 2008 11:41:03 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Tue, 22 Apr 2008 10:10:24 +0000
Checked in by : Robert Osfield
Updated authors

Tue, 22 Apr 2008 09:43:55 +0000
Checked in by : Robert Osfield
Fixed name

Mon, 21 Apr 2008 16:31:54 +0000
Checked in by : Robert Osfield
Updated NEWS for 2.4 release

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

Fri, 18 Apr 2008 16:21:12 +0000
Checked in by : Robert Osfield
Updated AUTHORS file for release

Fri, 18 Apr 2008 16:20:08 +0000
Checked in by : Robert Osfield
Updated ChangeLog

Fri, 18 Apr 2008 15:52:14 +0000
Checked in by : Robert Osfield
Updated date on readem

Fri, 18 Apr 2008 15:01:49 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 18 Apr 2008 14:57:43 +0000
Checked in by : Robert Osfield
Added support for COLOR_BUFFER entries up to 15

Fri, 18 Apr 2008 14:51:21 +0000
Checked in by : Robert Osfield
Updated BufferComponent enum to list COLOR_BUFFERi entries up to 15.

Fri, 18 Apr 2008 14:33:14 +0000
Checked in by : Robert Osfield
Fixed bug in FBO colour attachement code

Fri, 18 Apr 2008 14:14:33 +0000
Checked in by : Robert Osfield
Added optional compiled in debugging output to CullVisitor::apply(osg::Camera&)

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

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

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
 
 



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 :)"



Thu, 17 Apr 2008 11:12:21 +0000
Checked in by : Robert Osfield
From John Shue, build fix for QT 3.x

Thu, 17 Apr 2008 09:04:29 +0000
Checked in by : Stephan Maximilian HUBER
updated XCode project

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.

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,

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. 
"



Wed, 16 Apr 2008 15:22:03 +0000
Checked in by : Robert Osfield
Updated version number for nex dev release

Wed, 16 Apr 2008 10:01:16 +0000
Checked in by : Robert Osfield
From Jason Beverage, cursor inheritance support

Tue, 15 Apr 2008 20:27:49 +0000
Checked in by : Robert Osfield
Updated AUTHORS.txt for release

Tue, 15 Apr 2008 20:16:57 +0000
Checked in by : Robert Osfield
Updated ChangeLog

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."

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.



Tue, 15 Apr 2008 12:52:47 +0000
Checked in by : Robert Osfield
Updated wrappers

Tue, 15 Apr 2008 11:50:34 +0000
Checked in by : Robert Osfield
From Tim Moore, compile fix for gcc 4.3

Mon, 14 Apr 2008 10:38:37 +0000
Checked in by : Robert Osfield
Added docs explaining units

Sun, 13 Apr 2008 19:31:09 +0000
Checked in by : Robert Osfield
Added subdivision of Goedes

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;
       }

       if (itr!=_text.end())
       {
           // skip over spaces and return.
           while (*itr==' ') ++itr;                // New
           if (*itr=='\n') ++itr;
       }

       // move to new line.
       switch(_layout)
       {
       .."



Sun, 13 Apr 2008 14:29:22 +0000
Checked in by : Robert Osfield
From Paul Martz, added osgocclussionquery and osgthirdpersonview examples

Sat, 12 Apr 2008 10:02:28 +0000
Checked in by : Robert Osfield
Changed bias parameter to scale

Fri, 11 Apr 2008 14:52:35 +0000
Checked in by : Robert Osfield
Updadated authors file for dev release

Fri, 11 Apr 2008 14:43:22 +0000
Checked in by : Robert Osfield
Updated wrappers, and version numbers in prep for next release

Fri, 11 Apr 2008 14:33:24 +0000
Checked in by : Robert Osfield
Fixed J.P. Delports name

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.

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."



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
"



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



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."

Fri, 11 Apr 2008 11:58:27 +0000
Checked in by : Robert Osfield
From Jose Delport, a MRT example implementing stereo matching.

Fri, 11 Apr 2008 11:19:58 +0000
Checked in by : Robert Osfield
Updated wrappers

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.


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"



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."

Fri, 11 Apr 2008 10:31:49 +0000
Checked in by : Robert Osfield
From Colin McDonald, fixed typo.

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."

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"

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.

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.

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.





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."



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."

Wed, 2 Apr 2008 17:08:40 +0000
Checked in by : Robert Osfield
From Jose Delport, added support for MRT via glDrawBuffers

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.




Wed, 2 Apr 2008 13:55:50 +0000
Checked in by : Robert Osfield
Updated to reflect new COLOR_BUFFER0 value

Wed, 2 Apr 2008 13:48:41 +0000
Checked in by : Robert Osfield
From Jose Delport, introduced osgmultiplerendertargets example

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.

Wed, 2 Apr 2008 11:28:10 +0000
Checked in by : Robert Osfield
From Jose Delport, typo fixes

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

Tue, 1 Apr 2008 14:52:49 +0000
Checked in by : Robert Osfield
Removed svn:externals property

Tue, 1 Apr 2008 14:28:55 +0000
Checked in by : Robert Osfield
Updated data for 2.3.7 dev release

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.

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.




Tue, 1 Apr 2008 10:33:01 +0000
Checked in by : Robert Osfield
Updated version numbers for 2.3.7 dev release

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."

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.

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.

Mon, 31 Mar 2008 14:00:42 +0000
Checked in by : Robert Osfield
From Andy Skinner, build fix for Solaris

Mon, 31 Mar 2008 11:44:31 +0000
Checked in by : Robert Osfield
Added Camera::s/getClearAccum, s/getClearStencil and s/getClearDepth.

Mon, 31 Mar 2008 09:43:14 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

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."

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.

Fri, 28 Mar 2008 17:53:58 +0000
Checked in by : Robert Osfield
Improved the error capture and reporting

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.

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; }




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

Fri, 28 Mar 2008 15:28:03 +0000
Checked in by : Robert Osfield
Reordered set up of scene and event handlers to prevent warning

Fri, 28 Mar 2008 13:22:30 +0000
Checked in by : Robert Osfield
Removed old lower case versions

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.
 



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.

Thu, 27 Mar 2008 11:56:35 +0000
Checked in by : Robert Osfield
Added wrapper for TerrainTile

Thu, 27 Mar 2008 11:55:03 +0000
Checked in by : Robert Osfield
Renamed osgTerrain::TerrainSystem to osgTerrain::Terrain

Thu, 27 Mar 2008 10:55:39 +0000
Checked in by : Robert Osfield
Renamed Terrain to TerrainTile

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.

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."

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

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

--

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..."



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

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

Tue, 25 Mar 2008 13:01:40 +0000
Checked in by : Robert Osfield
Added #include<memory> to fix gcc 4.3 build problem

Tue, 25 Mar 2008 12:26:43 +0000
Checked in by : Robert Osfield
Fixed LessGeode operator.

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."



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.

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.

Mon, 24 Mar 2008 10:53:14 +0000
Checked in by : Robert Osfield
Added full range of cameras manipulators to osgmultitexturecontrol example

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.

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.

Fri, 21 Mar 2008 18:31:56 +0000
Checked in by : Robert Osfield
Added missing break; at end of each case entry.

Fri, 21 Mar 2008 15:43:53 +0000
Checked in by : Robert Osfield
Fixed push/popping of filepath, removed verbose debug messages

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

Fri, 21 Mar 2008 13:08:02 +0000
Checked in by : Robert Osfield
Added initial cut of libcurl based plugin

Thu, 20 Mar 2008 10:24:26 +0000
Checked in by : Robert Osfield
Updated date for 2.4.6 release

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.

Changed files:
 ./include/osgViewer/api/X11/GraphicsWindowX11
 ./src/osgViewer/GraphicsWindowX11.cpp

"



Wed, 19 Mar 2008 17:11:20 +0000
Checked in by : Robert Osfield
Update AUTHOR file

Wed, 19 Mar 2008 17:10:38 +0000
Checked in by : Robert Osfield
Updated version and ChangeLog for 2.3.6 dev release.

Wed, 19 Mar 2008 12:30:50 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 19 Mar 2008 12:09:20 +0000
Checked in by : Robert Osfield
From Sebastian Messerschimdt, Added polygon offset controls

Wed, 19 Mar 2008 11:41:37 +0000
Checked in by : Robert Osfield
Updated wrappers

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&)

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.

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.

Tue, 18 Mar 2008 15:48:48 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

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

Tue, 18 Mar 2008 09:17:52 +0000
Checked in by : Robert Osfield
Added ObjectRecordData to include list

Mon, 17 Mar 2008 15:22:03 +0000
Checked in by : Robert Osfield
Added minimum and maximum scale support to osg::AutoTransform

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.

Mon, 17 Mar 2008 12:13:20 +0000
Checked in by : Robert Osfield
Updated wrappers

Mon, 17 Mar 2008 12:11:39 +0000
Checked in by : Robert Osfield
Added doxygen docs

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.

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

Sat, 15 Mar 2008 19:27:35 +0000
Checked in by : Robert Osfield
Added better error reporting

Fri, 14 Mar 2008 16:51:39 +0000
Checked in by : Robert Osfield
From Paul Melis, "typo fix : NVidea -> NVidia (including option --Nvidea)"

Fri, 14 Mar 2008 16:24:36 +0000
Checked in by : Robert Osfield
Update ChangeLog and AUTHORS.txt file for 2.3.5 release

Fri, 14 Mar 2008 15:33:59 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 14 Mar 2008 15:33:47 +0000
Checked in by : Robert Osfield
Added utilty script for cleaning up build files/directories.

Fri, 14 Mar 2008 15:32:56 +0000
Checked in by : Robert Osfield
Fixed indenting

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.) "

Fri, 14 Mar 2008 15:00:37 +0000
Checked in by : Robert Osfield
Missing checkin

Fri, 14 Mar 2008 14:35:15 +0000
Checked in by : Robert Osfield
Added iostream include

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.

Fri, 14 Mar 2008 12:03:11 +0000
Checked in by : Robert Osfield
Converted static const unsigned int definitio to enum.

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

Fri, 14 Mar 2008 11:07:03 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 14 Mar 2008 11:06:54 +0000
Checked in by : Robert Osfield
Improved the indenting

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

Fri, 14 Mar 2008 11:01:54 +0000
Checked in by : Robert Osfield
From Andy Skinner, build fix for Solaris

Thu, 13 Mar 2008 19:48:16 +0000
Checked in by : Robert Osfield
Fixed doc comment

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

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".

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."



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. "

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."

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:

 (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)

"



Thu, 13 Mar 2008 16:12:46 +0000
Checked in by : Robert Osfield
From Melchoir Franz, Caps lock support under X11

Thu, 13 Mar 2008 16:05:40 +0000
Checked in by : Robert Osfield
Added double versions of intersect methods

Thu, 13 Mar 2008 16:05:20 +0000
Checked in by : Robert Osfield
Updated wrappers

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()."

Thu, 13 Mar 2008 15:21:34 +0000
Checked in by : Robert Osfield
From Paul Martz, files for adding ObjectRecordData support into OpenFlight

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."

From Robert Osfield, made the OpenFlight read object record data optional via the -O readObjectRecordData ReaderWriter option.



Thu, 13 Mar 2008 13:44:34 +0000
Checked in by : Robert Osfield
Added support for assigning state to created drawables, implemented gluDisk.

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. "

Wed, 12 Mar 2008 20:20:55 +0000
Checked in by : Robert Osfield
Updated wrappers

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

Tue, 11 Mar 2008 13:29:12 +0000
Checked in by : Robert Osfield
Added default implementations of new SceneGraphBuilder class

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

Tue, 11 Mar 2008 12:10:09 +0000
Checked in by : Robert Osfield
Added extra event handlers to make viewer more functional

Mon, 10 Mar 2008 20:30:56 +0000
Checked in by : Robert Osfield
Added commandline help options

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

Wed, 5 Mar 2008 12:05:55 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 5 Mar 2008 11:52:56 +0000
Checked in by : Robert Osfield
From Atr Trevs, added missinging initializers

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."

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. "

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.

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().
"



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

Sat, 1 Mar 2008 13:42:07 +0000
Checked in by : Robert Osfield
Updated wrappers

Sat, 1 Mar 2008 13:40:57 +0000
Checked in by : Robert Osfield
Added OSG_EXPORT

Sat, 1 Mar 2008 12:50:54 +0000
Checked in by : Robert Osfield
Fixed typo

Sat, 1 Mar 2008 12:29:49 +0000
Checked in by : Robert Osfield
Fixed naming

Fri, 29 Feb 2008 16:09:48 +0000
Checked in by : Robert Osfield
Disabled the resizing of Camera's with FBO's

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.

Thu, 28 Feb 2008 20:02:43 +0000
Checked in by : Robert Osfield
Added LODScaleHandler

Thu, 28 Feb 2008 18:08:32 +0000
Checked in by : Robert Osfield
Added OSG_EXPIRY_DELAY env var option.

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

Thu, 28 Feb 2008 10:56:03 +0000
Checked in by : Robert Osfield
From He Sicong, "fixed shader calculation of ray tracing"

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.

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."

Wed, 27 Feb 2008 11:43:58 +0000
Checked in by : Robert Osfield
From Paul Martz, fixed get/set methods API

Wed, 27 Feb 2008 11:43:06 +0000
Checked in by : Robert Osfield
Added debug message to track cache usage

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

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."

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."

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<Vec3>& vertices) const
inline int intersect(const std::vector<Vec3d>& 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<Vec3f>& vertices) const"



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."

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. "

Mon, 25 Feb 2008 13:16:36 +0000
Checked in by : Robert Osfield
Updated wrappers

Mon, 25 Feb 2008 13:07:37 +0000
Checked in by : Robert Osfield
Reverted back to previous version of osgtext

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

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. "

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

Wed, 20 Feb 2008 12:34:13 +0000
Checked in by : Robert Osfield
Added TextureUnit entry to osg::TransferFunction and osgTerrain::Layer

Tue, 19 Feb 2008 16:02:03 +0000
Checked in by : Robert Osfield
Removed erroneous ;

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.

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

Tue, 19 Feb 2008 09:49:12 +0000
Checked in by : Robert Osfield
From Philip Lowman, workaround for gcc 3.2.3 bug

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)




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).

 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.
 "



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

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)



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).

Attached is the modified FreeTypeLibrary.cpp file."



Mon, 18 Feb 2008 15:02:01 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Mon, 18 Feb 2008 14:14:08 +0000
Checked in by : Robert Osfield
From Bob Kuehne, build fix for OSX/gcc 4.0.1

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.

Thanks to Terry for the help to find and fix the bug and test the changes."



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."

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."

Fri, 15 Feb 2008 14:09:44 +0000
Checked in by : Robert Osfield
Changed constructors to take const pointers

Tue, 29 Jan 2008 22:14:26 +0000
Checked in by : Robert Osfield
Update AUTHORS list for release

Tue, 29 Jan 2008 21:34:38 +0000
Checked in by : Robert Osfield
Updated logs for release

Tue, 29 Jan 2008 20:45:51 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Tue, 29 Jan 2008 10:28:56 +0000
Checked in by : Robert Osfield
Updated versions for OSG-2.3.4 release

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."

Mon, 28 Jan 2008 20:52:31 +0000
Checked in by : Robert Osfield
From Mike Weiblen, "an aesthetic enhancement for displaying important version information."

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"

Mon, 28 Jan 2008 20:27:33 +0000
Checked in by : Robert Osfield
From Rainer Oder, removed duplicate conditional

Mon, 28 Jan 2008 19:54:27 +0000
Checked in by : Robert Osfield
Fixed BUILD_REF_DOCS_SEARCHENGINE conditional

Mon, 28 Jan 2008 19:42:16 +0000
Checked in by : Robert Osfield
Added explict casts to double to prevent VS compiler error

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.

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"




Mon, 28 Jan 2008 16:38:39 +0000
Checked in by : Robert Osfield
From Stephan Huber, added support for double click event for OSX.

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"

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.

Mon, 28 Jan 2008 15:36:28 +0000
Checked in by : Robert Osfield
Added include RenderLeaf to make sure #define's are defined correctly

Sat, 26 Jan 2008 20:03:12 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updated XCode project

Thu, 24 Jan 2008 10:04:33 +0000
Checked in by : Robert Osfield
Removed duplicate declaration of DeleteHandlerPointer

Tue, 22 Jan 2008 11:13:07 +0000
Checked in by : Robert Osfield
Updated ChangeLog, Authors and readme for 2.3.3 release

Tue, 22 Jan 2008 10:28:48 +0000
Checked in by : Robert Osfield
Added missing checks for null pointers

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.

Mon, 21 Jan 2008 17:04:33 +0000
Checked in by : Robert Osfield
Fixed debug build of Inventor plugin

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."

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

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
"



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.

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

Mon, 21 Jan 2008 11:40:27 +0000
Checked in by : Robert Osfield
Updated version number for 2.3.3 release

Mon, 21 Jan 2008 11:39:00 +0000
Checked in by : Robert Osfield
Updated wrappers

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

Mon, 21 Jan 2008 11:36:54 +0000
Checked in by : Robert Osfield
Removed redundental vertex buffer object flush methods

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

Sat, 19 Jan 2008 18:26:41 +0000
Checked in by : Robert Osfield
Added thread safe debugging checking of allocation/deallocations

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

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.

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

Fri, 18 Jan 2008 21:29:00 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 18 Jan 2008 21:08:42 +0000
Checked in by : Robert Osfield
Removed erroneous const in method parameter

Fri, 18 Jan 2008 21:07:03 +0000
Checked in by : Robert Osfield
From Andy Skinner, build fixes for Solaris.

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.

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."

Fri, 18 Jan 2008 16:36:05 +0000
Checked in by : Robert Osfield
Added support for rendering skirts into osgTerrain::GeometryTechinque

Fri, 18 Jan 2008 09:17:32 +0000
Checked in by : Robert Osfield
Added getNumOperationsInQueue() method

Thu, 17 Jan 2008 22:26:29 +0000
Checked in by : Robert Osfield
Commented out debug message

Thu, 17 Jan 2008 22:25:41 +0000
Checked in by : Robert Osfield
Added computation of skirt height for osgTerrain::Terrain height fields.

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.

Thu, 17 Jan 2008 16:41:46 +0000
Checked in by : Robert Osfield
Added Node to Terrain serialization

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

Wed, 16 Jan 2008 15:05:04 +0000
Checked in by : Robert Osfield
Changed the Texture clamp mode to CLAMP_TO_EDGE

Mon, 14 Jan 2008 14:53:57 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Mon, 14 Jan 2008 13:14:38 +0000
Checked in by : Robert Osfield
Added back in checks for various verions of gdal

Mon, 14 Jan 2008 12:14:38 +0000
Checked in by : Robert Osfield
Updated AUTHORS file and osgversion for 2.3.2 release

Mon, 14 Jan 2008 11:44:04 +0000
Checked in by : Robert Osfield
Added geometry shader extension supported check to geometry shader parameter calls

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."

Mon, 14 Jan 2008 11:22:23 +0000
Checked in by : Robert Osfield
Updated ChangeLog, date and version number for 2.6.2 release

Mon, 14 Jan 2008 11:07:30 +0000
Checked in by : Robert Osfield
Updated wrappers

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.
"



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

Thu, 10 Jan 2008 11:08:11 +0000
Checked in by : Robert Osfield
From Jean-Sebastien Guay, added OSGUTIL_EXPORT for Windows build

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."

Wed, 9 Jan 2008 21:17:10 +0000
Checked in by : Robert Osfield
Indentation/bracket fixes and change of default size

Wed, 9 Jan 2008 21:00:38 +0000
Checked in by : Robert Osfield
Simplified the image reading/writing

Wed, 9 Jan 2008 16:56:31 +0000
Checked in by : Robert Osfield
Adding missing files

Wed, 9 Jan 2008 16:35:55 +0000
Checked in by : Robert Osfield
Added support for reading and writing osgTerrain objects

Wed, 9 Jan 2008 14:22:44 +0000
Checked in by : Robert Osfield
Added setting of UpdateVisitor's FrameStamp and TraversalNumber in updateTraversal()

Wed, 9 Jan 2008 11:42:19 +0000
Checked in by : Robert Osfield
From Mike Weiblen, build fix for VS8.

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).

Added dependency information hoping that the Xcode 3 parallel target building will work now.


Tue, 8 Jan 2008 18:13:06 +0000
Checked in by : Robert Osfield
From Colin McDonald, build fixes for Solaris.

Tue, 8 Jan 2008 17:18:11 +0000
Checked in by : Robert Osfield
From Jean-Sebastien Guay, Warning fixes

Tue, 8 Jan 2008 16:09:01 +0000
Checked in by : Robert Osfield
Added support for reading and writing the Terrain's Locator

Tue, 8 Jan 2008 15:20:02 +0000
Checked in by : Robert Osfield
Added writing and reading of inlined HeightField

Tue, 8 Jan 2008 14:38:58 +0000
Checked in by : Robert Osfield
Removed non standard and redundent /*EOF*/

Tue, 8 Jan 2008 14:37:09 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Tue, 8 Jan 2008 14:22:59 +0000
Checked in by : Robert Osfield
Fixed warning

Tue, 8 Jan 2008 13:56:21 +0000
Checked in by : Robert Osfield
Added support for MinLevel and MaxLevel for ProxyLayer

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.

Tue, 8 Jan 2008 13:22:55 +0000
Checked in by : Robert Osfield
Removed debug info

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

Mon, 7 Jan 2008 09:47:36 +0000
Checked in by : Robert Osfield
Added OSGUTIL_EXPORTs

Sun, 6 Jan 2008 17:53:21 +0000
Checked in by : Robert Osfield
Added missing #include <osgUtil/Export>

Sun, 6 Jan 2008 10:52:23 +0000
Checked in by : Robert Osfield
Added exports for Windows build

Fri, 4 Jan 2008 20:03:35 +0000
Checked in by : Robert Osfield
Fixed date

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.)

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.
"



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"

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""

Fri, 4 Jan 2008 15:15:48 +0000
Checked in by : Robert Osfield
Updated wrappers

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

Fri, 4 Jan 2008 12:03:54 +0000
Checked in by : Robert Osfield
Updated data on readme

Fri, 4 Jan 2008 12:03:24 +0000
Checked in by : Robert Osfield
Updated AUTHORS file for 2.3.1 release

Fri, 4 Jan 2008 11:45:25 +0000
Checked in by : Robert Osfield
Updated version number for 2.3.1 release

Fri, 4 Jan 2008 11:44:35 +0000
Checked in by : Robert Osfield
Updated logs for 2.3.1 releae

Fri, 4 Jan 2008 11:26:21 +0000
Checked in by : Robert Osfield
From Brede Johansen, support for contiuation records.

Fri, 4 Jan 2008 11:14:11 +0000
Checked in by : Robert Osfield
From Paul Martz, completion of .ive and .osg support for OcclusionQueryNode

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."

Wed, 26 Dec 2007 21:43:10 +0000
Checked in by : Robert Osfield
Updated wrappers

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

Wed, 26 Dec 2007 21:38:11 +0000
Checked in by : Robert Osfield
Suppressed reflection of problem templates/typedefs

Tue, 25 Dec 2007 21:11:27 +0000
Checked in by : Robert Osfield
Replaced values.h with float.h is avoid Windows compile issues

Mon, 24 Dec 2007 15:37:15 +0000
Checked in by : Robert Osfield
Updated wrappers

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"

Mon, 24 Dec 2007 15:19:52 +0000
Checked in by : Robert Osfield
From Sid Byce, fixes for compiling with gcc 4.3

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. "

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)."

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

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.

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.

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.



Sun, 23 Dec 2007 13:08:14 +0000
Checked in by : Robert Osfield
Fixed indentation

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

Fri, 21 Dec 2007 17:33:00 +0000
Checked in by : Robert Osfield
Added copyright notice and tweaked genwrapper

Fri, 21 Dec 2007 17:26:19 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 21 Dec 2007 16:18:54 +0000
Checked in by : Robert Osfield
From Paul Martz, "added include<alogrithm> to prevent VS8 compile error"

Fri, 21 Dec 2007 15:54:14 +0000
Checked in by : Robert Osfield
Removed OperationArrayFunctor for wrappers to avoid compile errors assocaited with them

Fri, 21 Dec 2007 15:46:50 +0000
Checked in by : Robert Osfield
Removed inappropriate inline

Fri, 21 Dec 2007 15:04:56 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 21 Dec 2007 14:49:49 +0000
Checked in by : Robert Osfield
From Paul Martz, .osg support for OcclusionQueryNode

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

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). "

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."

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. "

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. "

Fri, 21 Dec 2007 13:31:25 +0000
Checked in by : Robert Osfield
Added return

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.

This is a simple fix for that, which updates the _now time regardless
of the mode the sequence is in."



Fri, 21 Dec 2007 13:07:54 +0000
Checked in by : Robert Osfield
From David Callu, various classes in support of VirtualPlanetBuilder

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

Thu, 20 Dec 2007 17:30:31 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

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.

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

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.

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."



Thu, 20 Dec 2007 10:48:23 +0000
Checked in by : Robert Osfield
Reorder includes in an attempt to avoid compile problems under Cygwin.

Mon, 17 Dec 2007 21:52:29 +0000
Checked in by : Robert Osfield
Updated AUTHORS files

Mon, 17 Dec 2007 21:35:33 +0000
Checked in by : Robert Osfield
Updated ChangeLog for 2.3.0 release

Mon, 17 Dec 2007 21:08:52 +0000
Checked in by : Robert Osfield
Updated version number for 2.3.0 dev release

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})

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

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).

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.
"



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.

Sun, 16 Dec 2007 12:36:52 +0000
Checked in by : Robert Osfield
Added initilizers of variables to FreeTypeFont3D constructors.Removed unused FreeTypeFontBase class



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

Sat, 15 Dec 2007 17:15:19 +0000
Checked in by : Robert Osfield
Commented out rendendent warnings

Sat, 15 Dec 2007 17:15:05 +0000
Checked in by : Robert Osfield
commented out rendudent warning

Sat, 15 Dec 2007 15:22:00 +0000
Checked in by : Robert Osfield
Added setting of ambient bias uniform

Sat, 15 Dec 2007 15:19:18 +0000
Checked in by : Robert Osfield
Added separate unform variable to keep track of abmient contribution.

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.

Fri, 14 Dec 2007 17:40:11 +0000
Checked in by : Robert Osfield
Refectored the loading of Locator out into its own separate file

Thu, 13 Dec 2007 17:51:43 +0000
Checked in by : Robert Osfield
Added Locator::s/getTransformScaledByResolution(bool) to assist with VPB integration

Thu, 13 Dec 2007 16:06:02 +0000
Checked in by : Robert Osfield
Warning fixes

Thu, 13 Dec 2007 15:24:42 +0000
Checked in by : Robert Osfield
From Andy Skinner, build fixes for Solaris

Thu, 13 Dec 2007 15:23:21 +0000
Checked in by : Robert Osfield
Convert tabs to four spaces

Thu, 13 Dec 2007 14:26:03 +0000
Checked in by : Robert Osfield
Fixed memory leak

Thu, 13 Dec 2007 14:16:51 +0000
Checked in by : Robert Osfield
Updated the shapefile attribute IO so that its more streamlined.

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

Wed, 12 Dec 2007 17:59:06 +0000
Checked in by : Robert Osfield
Added a osgViewer::setSceneData(ref_ptr<Node>) method.

Wed, 12 Dec 2007 17:48:20 +0000
Checked in by : Robert Osfield
Added new setFont(ref_ptr<>) variants to Text and Text3D

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.

Wed, 12 Dec 2007 16:56:28 +0000
Checked in by : Robert Osfield
Updated copyright notices

Wed, 12 Dec 2007 16:55:13 +0000
Checked in by : Robert Osfield
From Andy Skinner, build fixes for Solaris.

Wed, 12 Dec 2007 11:57:03 +0000
Checked in by : Robert Osfield
Added std:: infront of sort call

Wed, 12 Dec 2007 10:47:58 +0000
Checked in by : Robert Osfield
Added const to operators.

Wed, 12 Dec 2007 10:35:47 +0000
Checked in by : Robert Osfield
Added std:: in front of find enties

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."

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)."

Tue, 11 Dec 2007 17:19:40 +0000
Checked in by : Robert Osfield
From Cyril Brulebois, removed redundent typedef.

Tue, 11 Dec 2007 17:01:53 +0000
Checked in by : Robert Osfield
Updated wrappers

Tue, 11 Dec 2007 16:42:10 +0000
Checked in by : Robert Osfield
From Brede Johnansen, support for continuation records.

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.

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."

Tue, 11 Dec 2007 14:48:51 +0000
Checked in by : Robert Osfield
Added missing copyright notices

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.
"



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.

"



Tue, 11 Dec 2007 12:35:10 +0000
Checked in by : Robert Osfield
Updated wrappers

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:

   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."
   



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."

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.
"



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*)

and a

StateSet::removeAssociatedTextureModes(unsigned, const StateAttribute*)

call. These funktions are just missing for a complete api IMO."



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."



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."

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;
   }


to the constructor."




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."

Mon, 10 Dec 2007 20:35:50 +0000
Checked in by : Robert Osfield
Updated wrappers

Mon, 10 Dec 2007 20:33:22 +0000
Checked in by : Robert Osfield
From Richard Schmidt, fix on ordering to be standard OpenGL way.

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:

*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

"



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 "

Mon, 10 Dec 2007 19:51:33 +0000
Checked in by : Robert Osfield
From David Callu, IO support for Text3D

Mon, 10 Dec 2007 19:49:17 +0000
Checked in by : Robert Osfield
From David Callu, Text3D

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)."

Mon, 10 Dec 2007 16:21:13 +0000
Checked in by : Robert Osfield
Updated wrappers

Mon, 10 Dec 2007 16:14:21 +0000
Checked in by : Robert Osfield
Added osgViewerGetVersion() usage to force Windows to link osgViewer.

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.

Mon, 10 Dec 2007 12:45:16 +0000
Checked in by : Robert Osfield
From David Callu, added support for automatically reading associate dbase files

Mon, 10 Dec 2007 12:00:09 +0000
Checked in by : Robert Osfield
Char char[] to char* with new allocation.

Mon, 10 Dec 2007 11:34:00 +0000
Checked in by : Robert Osfield
Refactored record allocation to fix build errors under Windows.

Mon, 10 Dec 2007 11:20:22 +0000
Checked in by : Robert Osfield
Added export macro for windows build

Mon, 10 Dec 2007 10:16:13 +0000
Checked in by : Robert Osfield
Added include<string.h> to fix compile errors under gcc 4.3

Sun, 9 Dec 2007 16:38:33 +0000
Checked in by : Robert Osfield
From Gustavo Wagner, fixed bugs in reading M records from shapefile

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:

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.
"



Sun, 9 Dec 2007 16:23:19 +0000
Checked in by : Robert Osfield
Removed redundent OpenFlightOptimizer

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

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."

Sun, 9 Dec 2007 16:01:29 +0000
Checked in by : Robert Osfield
Updated wrappers

Sun, 9 Dec 2007 15:43:49 +0000
Checked in by : Robert Osfield
From David Callu, added DBase attribute support for shapefiles

Sun, 9 Dec 2007 14:54:02 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

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."

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.
"



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."

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...




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 :

* 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."



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
  




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<Quicktime/Quicktime.h> line needs to be replaced with #include<QuickTime/QuickTime.h"

Sat, 8 Dec 2007 15:27:29 +0000
Checked in by : Robert Osfield
From Neil Hughes, "Please find attached a replacement for the 3DS pluggin's ReaderWriter3DS.cpp file. This contains a minor fix (one line added) to ensure that the OSG Material structure is given the name of the material definition within a loaded 3DS file. "

Sat, 8 Dec 2007 15:08:32 +0000
Checked in by : Robert Osfield
From Donald Cipperly, Fixed memory leak in computeIntersections

Sat, 8 Dec 2007 15:04:47 +0000
Checked in by : Robert Osfield
From Jeremy Moles, "This extra call to SDL_VideoSetMode() prevents my viewport from getting all wonky when I resize the SDL window. I'm not sure if this bug has always existed or not, but according to the SDL documentation this operation should be safe regardless, and doesn't not introduce the need for extra memory management (that is: there is no need to "cleanup" the old screen variable, that is all handled by SDL for us). "

Sat, 8 Dec 2007 13:29:31 +0000
Checked in by : Robert Osfield
From Robert Osfield and Richard Schmidt, made fixes inspired by an original submission from Richard which highlighted problems with Light, ClipPlane and Hint usage in osg::State's usage of cloneType and reassignment of target/num in StateSet/these StateAttributes.

Sat, 8 Dec 2007 12:12:05 +0000
Checked in by : Robert Osfield
From David Callu, added IO_FluidProgram implementation.

Fri, 7 Dec 2007 13:42:14 +0000
Checked in by : Robert Osfield
Added an #include<assert.h> to avoid compile problems on some systems.

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."



Fri, 7 Dec 2007 13:19:53 +0000
Checked in by : Robert Osfield
From Paul Martz, minor typo fixes in notify messages

Thu, 6 Dec 2007 17:53:22 +0000
Checked in by : Robert Osfield
From Bob Kuehne, added extra event handlers

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."



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)
...

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.
"



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.

Corresponding environment variables have been added too.
The default values reproduce the previous DatabasePager behavior."




Thu, 6 Dec 2007 17:28:29 +0000
Checked in by : Robert Osfield
From Cedric Pinson, fixes for toggle fullscreen on gnome desktop

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."

Thu, 6 Dec 2007 17:03:47 +0000
Checked in by : Robert Osfield
From Mathias Froehlich, "Add missing includes. Fails on hp-ux."

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."

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

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.

Thu, 6 Dec 2007 09:22:41 +0000
Checked in by : Robert Osfield
From Ulrich Hertlein, added osgViewer dependency for OSX build

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

Wed, 5 Dec 2007 11:29:58 +0000
Checked in by : Robert Osfield
Removed debugging line.

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.

Tue, 4 Dec 2007 14:46:46 +0000
Checked in by : Robert Osfield
Added support for new double Vec*Array classes in various functors.

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.

  osgviewer myshapefile.shf -O "double"
  



Tue, 4 Dec 2007 14:44:49 +0000
Checked in by : Robert Osfield
Added support for double Vec*Array objects

Tue, 4 Dec 2007 14:44:21 +0000
Checked in by : Robert Osfield
Added double Vec*Array support

Tue, 4 Dec 2007 14:43:14 +0000
Checked in by : Robert Osfield
Added testPolytope entry

Sat, 1 Dec 2007 15:30:35 +0000
Checked in by : Robert Osfield
Fixed the Polytop::setFrustum and setBoundingBox method

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.

Sat, 17 Nov 2007 11:50:13 +0000
Checked in by : Robert Osfield
From Colin Dunlop, add --devices support.

Tue, 13 Nov 2007 17:03:36 +0000
Checked in by : Robert Osfield
Added support for filename only setup of CompositeLayer on reading/writing.

Sat, 10 Nov 2007 03:43:23 +0000
Checked in by : Eric WING
Added missing files for qt plugin

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.

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.


Fri, 9 Nov 2007 02:21:16 +0000
Checked in by : Eric WING
Lots of Leopard information added.

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).

Thu, 8 Nov 2007 10:30:06 +0000
Checked in by : Eric WING
For Leopard freetype, path is $(SDKROOT)/usr/X11/lib not X11R6.

Tue, 6 Nov 2007 12:07:23 +0000
Checked in by : Robert Osfield
From Colin Dunlop, add live video stream support

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

Sun, 4 Nov 2007 15:21:48 +0000
Checked in by : Robert Osfield
Changed the include definition so that it works under Cygwin.

Sat, 3 Nov 2007 10:32:18 +0000
Checked in by : Robert Osfield
Fixed bug in addSlave

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.

Wed, 31 Oct 2007 12:55:15 +0000
Checked in by : Robert Osfield
Added getColor method to allow easy reading of individual pixels.

Wed, 31 Oct 2007 11:06:33 +0000
Checked in by : Robert Osfield
Fixed wrap mode for panoramic display.

Tue, 30 Oct 2007 14:17:34 +0000
Checked in by : Robert Osfield
Changed debug message from NOTICE to INFO.

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).

Thu, 25 Oct 2007 09:00:25 +0000
Checked in by : Robert Osfield
Fixed the capitilization of the osgdb_osgfx plugin

Fri, 19 Oct 2007 09:58:11 +0000
Checked in by : Robert Osfield
Fixed errors is setup of VBO/EBO's.

Fri, 19 Oct 2007 08:42:44 +0000
Checked in by : Robert Osfield
Fix for setting scene data after slaves have been added.

Fri, 19 Oct 2007 08:39:07 +0000
Checked in by : Robert Osfield
Fixed getOrCreateVertexBufferObject().

Wed, 17 Oct 2007 19:01:18 +0000
Checked in by : Robert Osfield
Removed redundent X11/Intrinsic include

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

Tue, 16 Oct 2007 19:03:43 +0000
Checked in by : Robert Osfield
Added flv to accepted list of formats

Tue, 16 Oct 2007 19:01:25 +0000
Checked in by : Robert Osfield
Added flv to the list of accepted movie types

Fri, 5 Oct 2007 11:48:41 +0000
Checked in by : Eric WING
Forgot to bump version numbers to 2.2.0.

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.

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.

Fri, 5 Oct 2007 09:03:51 +0000
Checked in by : Robert Osfield
Changed the threading model to single threaded.

Thu, 4 Oct 2007 11:24:09 +0000
Checked in by : Robert Osfield
Updated ChangeLog for 2.2 release

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

Thu, 4 Oct 2007 10:05:20 +0000
Checked in by : Robert Osfield
Updated version for 2.2 release

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

Wed, 3 Oct 2007 23:44:24 +0000
Checked in by : Robert Osfield
Updated ChangeLog, NEWS and AUTHORS file for 2.1.15 release

Wed, 3 Oct 2007 23:27:59 +0000
Checked in by : Robert Osfield
Updated version for 2.1.15 dev release

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."

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.

  cmake . -DDDEFAULT_GLU_TESS_CALLBACK_TRIPLEDOT=ON
  



Wed, 3 Oct 2007 21:12:32 +0000
Checked in by : Stephan Maximilian HUBER
updated XCode projects

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.

Wed, 3 Oct 2007 19:54:30 +0000
Checked in by : Robert Osfield
Removed double return error

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

Wed, 3 Oct 2007 12:48:23 +0000
Checked in by : Robert Osfield
From Mahai Radu, improvements to handling of spotlights

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.

Wed, 3 Oct 2007 10:38:26 +0000
Checked in by : Robert Osfield
Added preliminary press release

Wed, 3 Oct 2007 10:36:59 +0000
Checked in by : Robert Osfield
From Alberto Luaces, build fix for Cygwin.

Wed, 3 Oct 2007 08:34:51 +0000
Checked in by : Robert Osfield
Added return 0 to fix warning

Tue, 2 Oct 2007 21:45:55 +0000
Checked in by : Robert Osfield
Updated wrappers

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."




Tue, 2 Oct 2007 21:28:27 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Tue, 2 Oct 2007 21:24:23 +0000
Checked in by : Robert Osfield
Updated to reflect new CompositeViewer threading models

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

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.

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.

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.

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

Mon, 1 Oct 2007 15:11:54 +0000
Checked in by : Robert Osfield
Removed redundent malloc.

Mon, 1 Oct 2007 11:02:02 +0000
Checked in by : Robert Osfield
From David Callu, various fixes for window inheritance

Mon, 1 Oct 2007 10:23:11 +0000
Checked in by : Robert Osfield
Updated AUTHORS for 2.1.13 release

Mon, 1 Oct 2007 10:21:52 +0000
Checked in by : Robert Osfield
Updated Version number for 2.1.13 and updated ChangeLog.

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.

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.

Sun, 30 Sep 2007 20:16:49 +0000
Checked in by : Stephan Maximilian HUBER
updated XCode-projects

Sun, 30 Sep 2007 19:56:46 +0000
Checked in by : Robert Osfield
Updated wrappers

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."




Sun, 30 Sep 2007 19:39:36 +0000
Checked in by : Robert Osfield
Updated wrappers

Sun, 30 Sep 2007 19:27:31 +0000
Checked in by : Robert Osfield
Added support for CompositeViewer to WindowSizeHandler, ThreadingHandler, RecordCameraPathManipulator and HelpHandler.

Sun, 30 Sep 2007 19:15:32 +0000
Checked in by : Robert Osfield
Changed HelpHandler so it supports use with CompositeViewer and Viewer

Sun, 30 Sep 2007 18:43:42 +0000
Checked in by : Robert Osfield
Added hdwriter to CMake build

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."




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
"




Sun, 30 Sep 2007 16:24:00 +0000
Checked in by : Stephan Maximilian HUBER
updated xcode-projects

Sun, 30 Sep 2007 15:24:43 +0000
Checked in by : Robert Osfield
Updated wrappers

Sun, 30 Sep 2007 15:07:17 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

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."




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.



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

Sat, 29 Sep 2007 11:41:57 +0000
Checked in by : Robert Osfield
From Stephan Huber, add basic support for CompositeViewer in StatsHandler

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.

The stuff in daeReader.h and daeWriter.h are just cosmetic changes to get rid of a warning."




Fri, 28 Sep 2007 13:42:41 +0000
Checked in by : Robert Osfield
Fixed SphericalDisplay set up codes to properly manage display host/num

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."

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."

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."

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."







Fri, 28 Sep 2007 08:52:00 +0000
Checked in by : Robert Osfield
Added record path manipulator

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.

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

then i fixed the shadow map orientation, now screen x coordinate alinged which improve the quality"




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

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."

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.

Thu, 27 Sep 2007 10:22:09 +0000
Checked in by : Robert Osfield
Added support for selecting internal texture format via the internalFormat <numbits> entry in the .osg file

Wed, 26 Sep 2007 16:17:46 +0000
Checked in by : Stephan Maximilian HUBER
updated XCode project-files

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 ."

Wed, 26 Sep 2007 14:31:10 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 26 Sep 2007 14:02:40 +0000
Checked in by : Robert Osfield
Added IntensityMap reading in .view files

Wed, 26 Sep 2007 11:32:51 +0000
Checked in by : Robert Osfield
Tweaked the wrapping of osgViewer::Scene to fix build problems

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"




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.

Wed, 26 Sep 2007 09:59:59 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

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

Tue, 25 Sep 2007 17:02:22 +0000
Checked in by : Robert Osfield
Added --flip argument docs.

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.

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.



Tue, 25 Sep 2007 13:51:03 +0000
Checked in by : Robert Osfield
Preliminary PanoramicSphericalScreen support

Tue, 25 Sep 2007 12:34:01 +0000
Checked in by : Robert Osfield
Added --major/minor/path-number support

Tue, 25 Sep 2007 11:26:16 +0000
Checked in by : Robert Osfield
Fixed version number

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

Mon, 24 Sep 2007 16:34:28 +0000
Checked in by : Robert Osfield
Updated Version and AUTHORS for 2.1.12 dev release

Mon, 24 Sep 2007 16:30:59 +0000
Checked in by : Robert Osfield
Renamed packaging directory to pkgconfig

Mon, 24 Sep 2007 16:28:58 +0000
Checked in by : Robert Osfield
Updated ChangeLog for release

Mon, 24 Sep 2007 16:25:55 +0000
Checked in by : Robert Osfield
Updated wrappers

Mon, 24 Sep 2007 15:24:23 +0000
Checked in by : Robert Osfield
From Adrian Egli, further work on PSSM implementation.

Mon, 24 Sep 2007 10:36:39 +0000
Checked in by : Robert Osfield
From Alberto Luaces, fixed typo of valid() in warning message

Mon, 24 Sep 2007 10:31:35 +0000
Checked in by : Robert Osfield
Changed iterator name to avoid warning

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."

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.

The attached file fixed the problem for me, but I'm not sure if it is
the best way to address the problem."



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;"



Mon, 24 Sep 2007 09:05:42 +0000
Checked in by : Robert Osfield
Made ReaderWriter and ReaderWriter::Options use thread safe ref counting.

Sat, 22 Sep 2007 17:39:15 +0000
Checked in by : Robert Osfield
Improved the handling of OSG_CONFIG_FILE support.

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.



Sat, 22 Sep 2007 16:46:38 +0000
Checked in by : Robert Osfield
From Adrian Egli, update to ParallelSplitShadowMap.

Sat, 22 Sep 2007 13:06:07 +0000
Checked in by : Robert Osfield
Added EXPORT

Fri, 21 Sep 2007 19:43:06 +0000
Checked in by : Robert Osfield
From David Callu, added findSlaveIndexForCamera method

Fri, 21 Sep 2007 19:04:02 +0000
Checked in by : Robert Osfield
Added return

Fri, 21 Sep 2007 15:34:25 +0000
Checked in by : Robert Osfield
Added support for basic viewer configuration files

Fri, 21 Sep 2007 13:30:33 +0000
Checked in by : Robert Osfield
Further steps towards reading coniguration files.

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) "

Thu, 20 Sep 2007 10:14:08 +0000
Checked in by : Robert Osfield
Updated wrappers

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.



Wed, 19 Sep 2007 16:53:40 +0000
Checked in by : Robert Osfield
Added supoort for OSG_WRITE_OUT_DEFAULT_VALUES env var

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.



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.



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.

Wed, 19 Sep 2007 09:00:05 +0000
Checked in by : Robert Osfield
Removed check for shaders/overlay_perspective_main.vert

Tue, 18 Sep 2007 16:00:21 +0000
Checked in by : Robert Osfield
Commented out herror() as its not called anywhere in the code.

Mon, 17 Sep 2007 09:33:00 +0000
Checked in by : Robert Osfield
Updated ChangeLog, AUTHORS and README for 2.1.11 release

Mon, 17 Sep 2007 09:26:02 +0000
Checked in by : Robert Osfield
Updated version numbers for 2.1.11 dev release

Sun, 16 Sep 2007 17:48:07 +0000
Checked in by : Robert Osfield
Fixed Locator::setTransform method so it takes a const Matrixd&, and improved the setting of Locator in the gdal plugin.

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

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

Sun, 16 Sep 2007 17:43:00 +0000
Checked in by : Robert Osfield
Fixed warning

Sun, 16 Sep 2007 07:55:58 +0000
Checked in by : Robert Osfield
From Loic Dachary, pkg_config files

Sat, 15 Sep 2007 17:40:08 +0000
Checked in by : Robert Osfield
Introduced the use of a ReentrantMutex to avoid problems with findFontFile.

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."

Fri, 14 Sep 2007 11:26:23 +0000
Checked in by : Robert Osfield
Updated wrappers

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

Fri, 14 Sep 2007 11:02:06 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 14 Sep 2007 11:01:48 +0000
Checked in by : Robert Osfield
Added TemplateRegisterDotOsgWrapperProxy.

Fri, 14 Sep 2007 11:00:32 +0000
Checked in by : Robert Osfield
Ran conversion of tabs to four spaces

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.

Fri, 14 Sep 2007 10:26:14 +0000
Checked in by : Robert Osfield
From Ole-Morten Duesund, added IgnoreUsedEventsMask.

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.

Thu, 13 Sep 2007 11:00:12 +0000
Checked in by : Robert Osfield
Fix for build error during aggressive warning build

Thu, 13 Sep 2007 10:42:26 +0000
Checked in by : Robert Osfield
Fixed warning in wrappers

Thu, 13 Sep 2007 10:38:38 +0000
Checked in by : Robert Osfield
Fixed warnigns

Thu, 13 Sep 2007 10:33:10 +0000
Checked in by : Robert Osfield
Updated wrappers and READEME

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

Thu, 13 Sep 2007 10:21:47 +0000
Checked in by : Robert Osfield
From Blake Williams, warning fixes

Thu, 13 Sep 2007 10:21:18 +0000
Checked in by : Robert Osfield
Add static_cast to fix warning.

Thu, 13 Sep 2007 10:16:19 +0000
Checked in by : Robert Osfield
Removed unncessary typedefs

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.

Thu, 13 Sep 2007 10:10:35 +0000
Checked in by : Robert Osfield
Fixed uint/int comparison warning.

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.

Wed, 12 Sep 2007 17:01:47 +0000
Checked in by : Robert Osfield
Added preliminary handling of cases where GLX version < 1.3

Wed, 12 Sep 2007 17:01:09 +0000
Checked in by : Robert Osfield
Removed debug messages

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

Wed, 12 Sep 2007 16:20:40 +0000
Checked in by : Robert Osfield
Rejigged the casting to avoid warnings under Windows

Wed, 12 Sep 2007 10:43:49 +0000
Checked in by : Robert Osfield
Updated version, ChangeLog and AUTHORS file for 2.1.10 release

Wed, 12 Sep 2007 10:04:36 +0000
Checked in by : Robert Osfield
From Jan Peciva, build fix

Tue, 11 Sep 2007 20:54:39 +0000
Checked in by : Robert Osfield
Added log2(int) and log2(uint) methods

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)

Tue, 11 Sep 2007 17:10:24 +0000
Checked in by : Robert Osfield
Added OpenThreads to target libraries

Tue, 11 Sep 2007 17:08:06 +0000
Checked in by : Robert Osfield
From Art Tevs, Added log2 function.

Tue, 11 Sep 2007 16:59:19 +0000
Checked in by : Robert Osfield
From Art Tevs, build fix.

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.

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.

Tue, 11 Sep 2007 13:42:23 +0000
Checked in by : Robert Osfield
Updated wrappers

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.
"



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)

- new methods Program::add/removeBindFragDataLocation Program::getFragDataBindingList

"



Tue, 11 Sep 2007 13:32:46 +0000
Checked in by : Robert Osfield
Seperated out GeometryTechnique .osg support.

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.

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

- 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.





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."

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.

Mon, 10 Sep 2007 16:06:23 +0000
Checked in by : Robert Osfield
Maded versioning under Windows the default.

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.

Updated wrappers



Sat, 8 Sep 2007 07:21:12 +0000
Checked in by : Robert Osfield
Flesh out a bit more of the view IO support

Sat, 8 Sep 2007 07:04:27 +0000
Checked in by : Robert Osfield
Fixed typo

Fri, 7 Sep 2007 15:03:56 +0000
Checked in by : Robert Osfield
From David Callu, warning fixes

Fri, 7 Sep 2007 13:54:32 +0000
Checked in by : Robert Osfield
Removed warning type not support by gcc 4.1.x

Fri, 7 Sep 2007 13:37:28 +0000
Checked in by : Robert Osfield
Updated wrappers for new Texture2DArray class

Fri, 7 Sep 2007 13:25:28 +0000
Checked in by : Robert Osfield
Moved defined from Texture2DArray into Texture

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.


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."




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..."

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."



Fri, 7 Sep 2007 09:53:40 +0000
Checked in by : Robert Osfield
From Maria Ten, fix lat/long usage.

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."

Thu, 6 Sep 2007 08:23:21 +0000
Checked in by : Robert Osfield
Added osg lib

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.

Wed, 5 Sep 2007 17:03:43 +0000
Checked in by : Robert Osfield
Changed tabs to four spaces to make merges more straight forward

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.

Wed, 5 Sep 2007 16:36:36 +0000
Checked in by : Robert Osfield
Added setting of locator source

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




Tue, 4 Sep 2007 14:00:27 +0000
Checked in by : Robert Osfield
Improved Terrain IO

Tue, 4 Sep 2007 12:38:42 +0000
Checked in by : Robert Osfield
Added mutex to DefaultFont::instance().

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

Tue, 4 Sep 2007 09:00:38 +0000
Checked in by : Robert Osfield
Rearrange _stateset member variable to avoid compile warning

Mon, 3 Sep 2007 16:04:13 +0000
Checked in by : Robert Osfield
Updated AUTHORS and README to 2.1.9 dev release

Mon, 3 Sep 2007 16:02:00 +0000
Checked in by : Robert Osfield
Updated ChangeLog

Mon, 3 Sep 2007 15:47:28 +0000
Checked in by : Robert Osfield
Updated wrappers

Mon, 3 Sep 2007 15:43:58 +0000
Checked in by : Robert Osfield
From Sherman Wilcox, added extension checking support for compressed texture subloading.

Mon, 3 Sep 2007 15:22:23 +0000
Checked in by : Robert Osfield
From Jan Peciva, build fix

Mon, 3 Sep 2007 14:05:24 +0000
Checked in by : Robert Osfield
Updated version number for 2.1.9 dev release

Mon, 3 Sep 2007 13:59:25 +0000
Checked in by : Robert Osfield
From Jan Peciva, improvement to the FindInventor.

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.




Mon, 3 Sep 2007 12:27:37 +0000
Checked in by : Robert Osfield
Added osgdepthpeeling example

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."



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."

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... :-)





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.





Mon, 3 Sep 2007 09:54:24 +0000
Checked in by : Robert Osfield
Fixed spacing.

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."

Mon, 3 Sep 2007 09:47:43 +0000
Checked in by : Robert Osfield
Updated wrapper

Mon, 3 Sep 2007 09:43:33 +0000
Checked in by : Robert Osfield
Added default contructors to Operation

Sun, 2 Sep 2007 22:31:09 +0000
Checked in by : Robert Osfield
Fixed cancel loop.

Sat, 1 Sep 2007 16:56:53 +0000
Checked in by : Robert Osfield
Added convinience methods for setting up 3d spherical displays.

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.

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

Fri, 31 Aug 2007 20:21:45 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Fri, 31 Aug 2007 20:14:36 +0000
Checked in by : Robert Osfield
Added mutex locking add addParents/removeParents in Drawable, Node and StateSet.

Fri, 31 Aug 2007 18:56:22 +0000
Checked in by : Robert Osfield
Added mutex to protect the readFontFile calls

Fri, 31 Aug 2007 16:59:32 +0000
Checked in by : Robert Osfield
Added support for running multiple text generation threads

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.

Fri, 31 Aug 2007 15:49:17 +0000
Checked in by : Robert Osfield
From Luigi Calori, fixed Windows install of wrappers

Fri, 31 Aug 2007 12:14:39 +0000
Checked in by : Robert Osfield
Added export for Windows build

Fri, 31 Aug 2007 11:04:06 +0000
Checked in by : Robert Osfield
From Luigi Calori, added support for Win32 versioning/new buid placement.

Thu, 30 Aug 2007 19:26:52 +0000
Checked in by : Robert Osfield
Further work on osgTerrain::Locator and GDAL plugin

Thu, 30 Aug 2007 12:18:45 +0000
Checked in by : Robert Osfield
From Luigi Calori, add osgText to geo plugin build

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.

Thu, 30 Aug 2007 10:17:34 +0000
Checked in by : Robert Osfield
Updated wrappers

Thu, 30 Aug 2007 10:15:35 +0000
Checked in by : Robert Osfield
Further refinement of ProxyLayer API

Wed, 29 Aug 2007 16:29:05 +0000
Checked in by : Robert Osfield
Further work on new ProxyLayer

Wed, 29 Aug 2007 12:18:41 +0000
Checked in by : Robert Osfield
Added ProxyLayer support into osgTerrain plugin

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.

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.

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

Tue, 28 Aug 2007 15:35:24 +0000
Checked in by : Robert Osfield
Improved formatting.

Tue, 28 Aug 2007 15:35:09 +0000
Checked in by : Robert Osfield
Removed the OSG_INCLUDE

Tue, 28 Aug 2007 15:31:43 +0000
Checked in by : Robert Osfield
Tweeked settings

Tue, 28 Aug 2007 14:02:16 +0000
Checked in by : Robert Osfield
Added multi-threaded test path

Mon, 27 Aug 2007 16:59:51 +0000
Checked in by : Robert Osfield
Replaced CartesianLocator and EllipsoidLocator by a single general purpose Locator class

Mon, 27 Aug 2007 13:33:58 +0000
Checked in by : Robert Osfield
From Brandon Hamm, changed WxWindows example to use double buffering

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

Mon, 27 Aug 2007 10:37:08 +0000
Checked in by : Robert Osfield
Updated ChangeLog and AUTHORS file for release

Mon, 27 Aug 2007 10:29:22 +0000
Checked in by : Robert Osfield
Updated date on READEME

Mon, 27 Aug 2007 10:28:47 +0000
Checked in by : Robert Osfield
Updated version numbers for 2.1.8 dev release

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.

Mon, 27 Aug 2007 09:51:24 +0000
Checked in by : Robert Osfield
From David Spilling, tweaked quat tests to reproduce getRotate errors.

Sun, 26 Aug 2007 10:27:31 +0000
Checked in by : Robert Osfield
From Jan Ciger, warning fixes

Sun, 26 Aug 2007 10:24:18 +0000
Checked in by : Robert Osfield
From Jean-Sebastien Guay, fixed comment

Sun, 26 Aug 2007 10:19:12 +0000
Checked in by : Robert Osfield
Added dynamic_cast<GraphicsWindow> 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.

Sun, 26 Aug 2007 09:59:39 +0000
Checked in by : Robert Osfield
Change char* to const char* to fix warnings

Sun, 26 Aug 2007 09:46:49 +0000
Checked in by : Robert Osfield
Updated wrappers, and change Renderer so that private: to proteccted:.

Sun, 26 Aug 2007 09:45:35 +0000
Checked in by : Robert Osfield
Updated links

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.

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





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.

Fri, 24 Aug 2007 16:16:08 +0000
Checked in by : Robert Osfield
Set the debug out to info notification level

Fri, 24 Aug 2007 16:12:22 +0000
Checked in by : Robert Osfield
Added better handling of OSG_TEXT_INCREMENTAL_SUBLOADING env var.

Fri, 24 Aug 2007 16:10:43 +0000
Checked in by : Robert Osfield
Added default disabling of incremental subload for ATI cards.

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.

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.

Fri, 24 Aug 2007 10:58:08 +0000
Checked in by : Robert Osfield
Added setting of block into the ThreadSafeQueue's contructor.

Fri, 24 Aug 2007 09:45:11 +0000
Checked in by : Robert Osfield
Disable the escape sets done on the viewer

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"

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."




Thu, 23 Aug 2007 16:56:06 +0000
Checked in by : Robert Osfield
Made plugin build names lowercase

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

Thu, 23 Aug 2007 15:36:45 +0000
Checked in by : Robert Osfield
Updated for 2.1.7 dev release

Thu, 23 Aug 2007 14:35:04 +0000
Checked in by : Robert Osfield
From Stephan Huber, fix for crash on exit

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? "

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.

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.
"



Thu, 23 Aug 2007 11:06:16 +0000
Checked in by : Robert Osfield
Updated wrappers

Thu, 23 Aug 2007 11:00:12 +0000
Checked in by : Robert Osfield
Addd control for serializing draw dispatch.

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:

osgviewer <file>.wrl                (file in current directory)
osgviewer <dir>\<file>.wrl          (file in child directory, relative)
osgviewer .\<dir>\<file>.wrl        (file in child directory, specify current)
osgviewer <drive>:\<dir>\<file>.wrl (absolute path)
"



Wed, 22 Aug 2007 19:26:25 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 22 Aug 2007 17:18:27 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Wed, 22 Aug 2007 14:32:06 +0000
Checked in by : Eric WING
Documentation updates.

Wed, 22 Aug 2007 12:33:39 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 22 Aug 2007 12:21:01 +0000
Checked in by : Robert Osfield
Cleaned up the thread setup and fixed the CullThreadPerCameraDrawThreadPerContext path

Wed, 22 Aug 2007 12:14:15 +0000
Checked in by : Robert Osfield
Added thread safe ref/unref by default.

Wed, 22 Aug 2007 11:04:43 +0000
Checked in by : Eric WING
Fixes to DMG script to reflect removal of GDAL and external OpenThreads.Support for OpenSceneGraph-Data repo aside OpenSceneGraph repo.

Added background image support to DMG. Pre-laid-out .DS_Store included.




Wed, 22 Aug 2007 10:56:20 +0000
Checked in by : Eric WING
Removed missing shadow examples from Xcode project.

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

Wed, 22 Aug 2007 09:50:09 +0000
Checked in by : Robert Osfield
Cleaned up copy constructor and switched on thread safe ref/unref.

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.

Wed, 22 Aug 2007 09:46:38 +0000
Checked in by : Robert Osfield
Simplified the thread set up.

Wed, 22 Aug 2007 09:45:20 +0000
Checked in by : Robert Osfield
Added thread safe ref/unref

Wed, 22 Aug 2007 09:44:55 +0000
Checked in by : Robert Osfield
Added debug message to destructor

Wed, 22 Aug 2007 09:43:24 +0000
Checked in by : Robert Osfield
Added setting of thread safe ref/unref.

Wed, 22 Aug 2007 09:42:27 +0000
Checked in by : Robert Osfield
Added default setting of use of thread safe ref/unref.

Wed, 22 Aug 2007 09:05:34 +0000
Checked in by : Robert Osfield
Changed ReadFileCallback and WriteFileCallback to use virtual inhertinace.

Tue, 21 Aug 2007 09:32:16 +0000
Checked in by : Robert Osfield
Added missing clear() implementation

Mon, 20 Aug 2007 13:09:10 +0000
Checked in by : Robert Osfield
Fixed the install path of plugins under Windows.

Mon, 20 Aug 2007 10:15:07 +0000
Checked in by : Robert Osfield
Updated README date

Mon, 20 Aug 2007 10:14:33 +0000
Checked in by : Robert Osfield
Updated AUTHORS file for 2.1.6 release

Mon, 20 Aug 2007 10:06:36 +0000
Checked in by : Robert Osfield
Updated ChangeLog

Mon, 20 Aug 2007 09:28:03 +0000
Checked in by : Robert Osfield
Updated version number for 2.1.6 release and updated wrappers

Mon, 20 Aug 2007 09:27:31 +0000
Checked in by : Robert Osfield
Removed Makefile as this is autogenerated.

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.

Fri, 17 Aug 2007 16:10:45 +0000
Checked in by : Robert Osfield
Fixed zfar setting

Fri, 17 Aug 2007 09:37:49 +0000
Checked in by : Robert Osfield
Changed ++_modifedCount cases to dirty().

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.



Thu, 16 Aug 2007 15:29:50 +0000
Checked in by : Robert Osfield
Updated wrappers

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."

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."

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."




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."



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.

Tue, 14 Aug 2007 17:04:27 +0000
Checked in by : Robert Osfield
Added string to keyword map parser.

Tue, 14 Aug 2007 13:08:15 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber: updating the XCode-project-files

Tue, 14 Aug 2007 12:47:26 +0000
Checked in by : Robert Osfield
Added Ben van Basten to list of authors.

Tue, 14 Aug 2007 08:41:43 +0000
Checked in by : Robert Osfield
Replaced uint with unsigned int

Mon, 13 Aug 2007 14:02:16 +0000
Checked in by : Robert Osfield
Removed osgdepthshadow and osgshadowtexture from build list

Mon, 13 Aug 2007 11:59:19 +0000
Checked in by : Robert Osfield
Updated ChangeLog, AUTHORS and README files

Mon, 13 Aug 2007 11:45:20 +0000
Checked in by : Robert Osfield
Updated version for 2.1.5 dev release

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."

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."





Mon, 13 Aug 2007 10:20:14 +0000
Checked in by : Robert Osfield
From J.P. Delport, fix of GDAL location search

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."

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.

Sun, 12 Aug 2007 13:30:00 +0000
Checked in by : Robert Osfield
Updated wrappers

Sun, 12 Aug 2007 13:18:50 +0000
Checked in by : Robert Osfield
Added getStart()/getEnd()

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)."

Sun, 12 Aug 2007 13:10:07 +0000
Checked in by : Robert Osfield
Removed now redundent osgshadowtexture and osgdepthshadow examples

Sun, 12 Aug 2007 12:15:21 +0000
Checked in by : Robert Osfield
Added support for SoftShadowMap into osgshadow example

Sun, 12 Aug 2007 12:15:01 +0000
Checked in by : Robert Osfield
Added fix for typo of name in submission

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).

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)."





Sat, 11 Aug 2007 17:44:06 +0000
Checked in by : Robert Osfield
Added preprending of osgPlugins-version to plugin names

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.





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().

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.



Fri, 10 Aug 2007 17:44:54 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 10 Aug 2007 10:58:25 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 10 Aug 2007 10:57:00 +0000
Checked in by : Robert Osfield
Added View::setDatabasePager(..)

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.

Thu, 9 Aug 2007 08:19:58 +0000
Checked in by : Robert Osfield
Compile fix

Thu, 9 Aug 2007 08:15:38 +0000
Checked in by : Robert Osfield
Removed now redundent ReaderWriterTerrain.cpp

Wed, 8 Aug 2007 09:12:02 +0000
Checked in by : Robert Osfield
Updated wrappers

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

Wed, 8 Aug 2007 05:59:01 +0000
Checked in by : Robert Osfield
Removed unneeeded includes

Tue, 7 Aug 2007 22:56:09 +0000
Checked in by : Robert Osfield
Updated wrappers

Tue, 7 Aug 2007 22:31:43 +0000
Checked in by : Robert Osfield
Updated CMakeLists.txt to reflect renaming of TerrainNode.

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.

Tue, 7 Aug 2007 15:51:49 +0000
Checked in by : Robert Osfield
Removed TerrainNode.cpp from CMakeLists.txt

Tue, 7 Aug 2007 15:30:05 +0000
Checked in by : Robert Osfield
Added preliminary shell of osgTerrain plugin

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 ?"

Tue, 7 Aug 2007 10:37:42 +0000
Checked in by : Robert Osfield
Re-introduceed GDAL plugin

Tue, 7 Aug 2007 10:33:25 +0000
Checked in by : Robert Osfield
Re-introduced GDAL plugin.

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

Tue, 7 Aug 2007 08:18:15 +0000
Checked in by : Robert Osfield
From Andy Skinner, The attached file adds #include <stdlib.h> to GraphicsContext.cpp, so that it compiles with the solaris compiler we use.

Mon, 6 Aug 2007 11:52:04 +0000
Checked in by : Robert Osfield
Updated README

Mon, 6 Aug 2007 11:50:40 +0000
Checked in by : Robert Osfield
Updated ChangeLog, and AUTHORS file for release

Mon, 6 Aug 2007 11:24:53 +0000
Checked in by : Robert Osfield
Updated version numbers for release

Mon, 6 Aug 2007 09:28:28 +0000
Checked in by : Robert Osfield
Changed debug message to INFO level

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.

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."

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.

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

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."

Fri, 3 Aug 2007 16:08:36 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 3 Aug 2007 14:50:58 +0000
Checked in by : Robert Osfield
Added perlimnary support for reading the DISPLAY variable.

Thu, 2 Aug 2007 16:23:40 +0000
Checked in by : Robert Osfield
Changed the projection matrix resize policy.

Thu, 2 Aug 2007 12:36:03 +0000
Checked in by : Robert Osfield
From Martin Lavery, XCode updates for the new Renderer class

Thu, 2 Aug 2007 12:27:09 +0000
Checked in by : Robert Osfield
Added return 0;

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

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

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.

Mon, 30 Jul 2007 16:02:03 +0000
Checked in by : Robert Osfield
Updated AUTHORS file for release

Mon, 30 Jul 2007 15:56:52 +0000
Checked in by : Robert Osfield
Updated ChangeLog for release

Mon, 30 Jul 2007 15:25:21 +0000
Checked in by : Robert Osfield
Updated version number for 2.1.3 dev release

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.

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

Sat, 28 Jul 2007 10:28:40 +0000
Checked in by : Robert Osfield
Introduce Camera::s/getRenderer().

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*
    

    files joint :

        OpenSceneGraph/include/osgIntrospection/Reflector       // modified file
        OpenSceneGraph/src/osgIntrospection/Reflector.cpp      // modified file

"



Fri, 27 Jul 2007 17:14:51 +0000
Checked in by : Robert Osfield
From Bryan Thrall, added copying of boundingbox callback to copy constructor.

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.

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."

Fri, 27 Jul 2007 15:26:43 +0000
Checked in by : Robert Osfield
Updated svn::externals

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."

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.

...

I have put a comment on
line 521 where I have moved the "delete []path" below.
"




Tue, 24 Jul 2007 14:52:51 +0000
Checked in by : Robert Osfield
Updated AUTHORS

Tue, 24 Jul 2007 14:47:41 +0000
Checked in by : Robert Osfield
Updated ChangeLog

Tue, 24 Jul 2007 14:43:46 +0000
Checked in by : Robert Osfield
Updated version for dev release

Tue, 24 Jul 2007 14:30:31 +0000
Checked in by : Robert Osfield
Fixed warning

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




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:

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.
"
 



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.

Mon, 23 Jul 2007 20:08:16 +0000
Checked in by : Robert Osfield
Converted tabs to four spaces

Mon, 23 Jul 2007 18:19:02 +0000
Checked in by : Robert Osfield
Updated wrappers

Mon, 23 Jul 2007 18:13:16 +0000
Checked in by : Robert Osfield
From Mathias Froehlich, compile fix for OSX.

Mon, 23 Jul 2007 16:42:25 +0000
Checked in by : Robert Osfield
Added FlushDeletedGLObjectsOperation.

Sun, 22 Jul 2007 20:33:20 +0000
Checked in by : Robert Osfield
Added support for using the CompileContext to do GL object deletion.

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

Thu, 19 Jul 2007 18:59:20 +0000
Checked in by : Robert Osfield
Added reset it to set block correctly before use.

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.

Thu, 19 Jul 2007 16:42:36 +0000
Checked in by : Robert Osfield
Updated wrappers

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

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

Wed, 18 Jul 2007 16:48:25 +0000
Checked in by : Robert Osfield
Added setting of ThreadSafeRefUnref to true.

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.

Wed, 18 Jul 2007 16:14:59 +0000
Checked in by : Robert Osfield
Commented out debug messages

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.

Wed, 18 Jul 2007 09:05:11 +0000
Checked in by : Robert Osfield
Added missing export symbol.

Tue, 17 Jul 2007 17:36:44 +0000
Checked in by : Robert Osfield
Added traverse method implementation into GeometryTechnique.

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.

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.

Added compile context support into osgterrain example.



Tue, 17 Jul 2007 09:15:08 +0000
Checked in by : Robert Osfield
Fixed typo

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

Mon, 16 Jul 2007 17:40:38 +0000
Checked in by : Robert Osfield
Added MasterOperation to do file querry and loading and background thread.

Mon, 16 Jul 2007 15:47:42 +0000
Checked in by : Robert Osfield
Added custom colour support to TransferFunction setup.

Mon, 16 Jul 2007 15:13:47 +0000
Checked in by : Robert Osfield
Improvements to the .terrain file support

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

Sat, 14 Jul 2007 17:16:09 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

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.

Fri, 13 Jul 2007 19:24:50 +0000
Checked in by : Robert Osfield
Converted Operations to GraphicsOperations where apporpriate.

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.

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.

Fri, 13 Jul 2007 11:49:16 +0000
Checked in by : Robert Osfield
Updated wrappers

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."

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."

Fri, 13 Jul 2007 11:31:56 +0000
Checked in by : Robert Osfield
Added setCurrentEventState method

Fri, 13 Jul 2007 11:22:44 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Added WindowSizeHandler to osgkeyboard to help with debugging of event state
between windows.



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.

Thu, 12 Jul 2007 20:10:56 +0000
Checked in by : Robert Osfield
Fixed spelling of cartesian.

Thu, 12 Jul 2007 16:37:06 +0000
Checked in by : Robert Osfield
From Martin Lavery, updates to Xcode projects

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.

Updated the rest of the OSG to respect these changes.



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

Thu, 12 Jul 2007 09:03:43 +0000
Checked in by : Robert Osfield
From Martin Lavery, Update to Packaging files for Xcode build

Thu, 12 Jul 2007 08:29:39 +0000
Checked in by : Robert Osfield
Added better description of TransferFunction.

Wed, 11 Jul 2007 16:06:24 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 11 Jul 2007 16:06:04 +0000
Checked in by : Robert Osfield
Fixed typo

Wed, 11 Jul 2007 15:51:17 +0000
Checked in by : Robert Osfield
From Paul Melis, fixes to spelling mistakes/typos.

Wed, 11 Jul 2007 15:50:05 +0000
Checked in by : Robert Osfield
Updated version number in prep for 2.1.1 dev release

Wed, 11 Jul 2007 15:30:14 +0000
Checked in by : Robert Osfield
From Andre Garneau, minor warning fixes

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

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.

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

Tue, 10 Jul 2007 19:29:11 +0000
Checked in by : Robert Osfield
Added OperationsThread

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

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

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.

Mon, 9 Jul 2007 15:02:03 +0000
Checked in by : Robert Osfield
Fixed unitialized variables.

Mon, 9 Jul 2007 11:37:06 +0000
Checked in by : Robert Osfield
Updated ChangeLog, osgversion and AUTHORS.txt for 2.1 dev release

Mon, 9 Jul 2007 11:05:24 +0000
Checked in by : Robert Osfield
Updated version number for 2.1.0 dev release

Mon, 9 Jul 2007 11:05:04 +0000
Checked in by : Robert Osfield
Added OpertionQueue

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.

Mon, 9 Jul 2007 10:48:32 +0000
Checked in by : Robert Osfield
Updated wrappers

Mon, 9 Jul 2007 10:47:06 +0000
Checked in by : Robert Osfield
Improved the consistency of setting of rotation and auto rotate modes in setAxisAlingment method

Mon, 9 Jul 2007 10:12:37 +0000
Checked in by : Robert Osfield
Fixed missinged intialization of the _threadsRunning variable.

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

Fri, 6 Jul 2007 20:00:11 +0000
Checked in by : Robert Osfield
Updared wrappers

Fri, 6 Jul 2007 16:54:45 +0000
Checked in by : Robert Osfield
Added include of DeleteHandler

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



Fri, 6 Jul 2007 14:07:59 +0000
Checked in by : Robert Osfield
From Jea-Sebastien Guay and Robert Osfield, build fixes for Windows

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)."

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."

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.

Changed DatabasePager across to dynamically checcking osg::getCompileContext(..)

Updated wrappers.



Fri, 6 Jul 2007 09:06:37 +0000
Checked in by : Robert Osfield
Added #include<algorithm>

Thu, 5 Jul 2007 18:41:54 +0000
Checked in by : Robert Osfield
Updated wrappers.

Thu, 5 Jul 2007 18:33:20 +0000
Checked in by : Robert Osfield
Added support for managing a CompileContext.  Rearranged the DeleteHandler::flushAll call.

Thu, 5 Jul 2007 18:32:12 +0000
Checked in by : Robert Osfield
Added debug messages to catch key modified state

Thu, 5 Jul 2007 18:30:57 +0000
Checked in by : Robert Osfield
Improved the computation of the side vector

Thu, 5 Jul 2007 18:30:20 +0000
Checked in by : Robert Osfield
Improved the mapping of update and cull traversal

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). "

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.

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"."

Tue, 3 Jul 2007 13:26:48 +0000
Checked in by : Robert Osfield
Added checking of GUIEventAdpter::getHandled().

Tue, 3 Jul 2007 10:00:41 +0000
Checked in by : Robert Osfield
From Roger James, added GL_NORMALIZE mode to scaled models

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

Mon, 2 Jul 2007 13:16:54 +0000
Checked in by : Robert Osfield
Updated wrappers

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

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

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.

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.



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."

Sat, 30 Jun 2007 14:30:55 +0000
Checked in by : Robert Osfield
Updated wrappers

Sat, 30 Jun 2007 14:30:44 +0000
Checked in by : Robert Osfield
Added s/getUsage() method

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.

Sat, 30 Jun 2007 14:28:24 +0000
Checked in by : Robert Osfield
Added debug path that creates the viewer on the heap.

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.


    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.
"



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)

Sat, 30 Jun 2007 07:09:30 +0000
Checked in by : Robert Osfield
Removed the old references to files now removed

Fri, 29 Jun 2007 17:01:37 +0000
Checked in by : Robert Osfield
Added Point::Extension::isPointSpriteCoordOriginSupported() method

Fri, 29 Jun 2007 16:37:11 +0000
Checked in by : Robert Osfield
From Sherman Wilcox, added serach for freetype234

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."

Fri, 29 Jun 2007 16:09:12 +0000
Checked in by : Robert Osfield
Fixed indenting to use 4 spaces instead of tabs

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:
"



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

Thu, 28 Jun 2007 20:56:56 +0000
Checked in by : Robert Osfield
From Brad Colbert, get/setVolume methods

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

Thu, 28 Jun 2007 12:59:04 +0000
Checked in by : Robert Osfield
From Trajce Nikolov, fixes to pbuffer setup

Thu, 28 Jun 2007 09:51:47 +0000
Checked in by : Robert Osfield
From Nikolaus Hanekamp, added support for osg::Multisample

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 :)
"



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.



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.

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/

Wed, 27 Jun 2007 17:01:54 +0000
Checked in by : Robert Osfield
From Andy Skinner, fixed return value.

Wed, 27 Jun 2007 11:14:40 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 27 Jun 2007 10:37:30 +0000
Checked in by : Robert Osfield
From Rajce Nickolov, improvements to PixelBufferWin32 and GraphicsWindowWin32

Wed, 27 Jun 2007 10:12:10 +0000
Checked in by : Robert Osfield
Added texture format into Traits.

Wed, 27 Jun 2007 09:44:35 +0000
Checked in by : Robert Osfield
Fixed target setting bug in PixelBuffer RTT set up.

Tue, 26 Jun 2007 17:12:48 +0000
Checked in by : Robert Osfield
Added missing cmake macros

Tue, 26 Jun 2007 11:31:39 +0000
Checked in by : Robert Osfield
Reverted to using non silhouette computation.

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

Mon, 25 Jun 2007 11:32:19 +0000
Checked in by : Robert Osfield
From Trajce Nickolov, improvements to PixelBufferWin32.

Mon, 25 Jun 2007 08:35:06 +0000
Checked in by : Robert Osfield
Set the eol style on CMake .txt files to native

Sun, 24 Jun 2007 10:55:43 +0000
Checked in by : Robert Osfield
Updated wrappers

Sun, 24 Jun 2007 10:18:54 +0000
Checked in by : Robert Osfield
From Trajce Nikolov, PixelBufferWin32 implementation

Sat, 23 Jun 2007 21:55:35 +0000
Checked in by : Robert Osfield
Simplified decoration code and added support for reading Traits::supportsResize

Sat, 23 Jun 2007 21:54:56 +0000
Checked in by : Robert Osfield
Set the Traits::supportsResize flag to true in default constructor.

Sat, 23 Jun 2007 11:24:00 +0000
Checked in by : Robert Osfield
Reorder the setProjectionMatrix.. mathod

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.

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.

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

Thu, 21 Jun 2007 16:14:54 +0000
Checked in by : Robert Osfield
Added explicit setting of updateText to have DYNAMIC data variance.

Thu, 21 Jun 2007 11:20:54 +0000
Checked in by : Robert Osfield
From Trajce Nikolov, windows build fixes

Wed, 20 Jun 2007 12:34:37 +0000
Checked in by : Robert Osfield
Added dummy init method

Wed, 20 Jun 2007 12:29:19 +0000
Checked in by : Robert Osfield
Added placeholder for PixelBufferWin32

Wed, 20 Jun 2007 12:01:14 +0000
Checked in by : Robert Osfield
Corrected graphics context creation message

Wed, 20 Jun 2007 12:00:29 +0000
Checked in by : Robert Osfield
Added code of support for contouring shaders

Wed, 20 Jun 2007 11:59:53 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 20 Jun 2007 11:59:27 +0000
Checked in by : Robert Osfield
Completed implementation of PixelBufferX11.

Tue, 19 Jun 2007 17:12:05 +0000
Checked in by : Robert Osfield
Added beginnings of osgViewer::PixelBufferX11

Tue, 19 Jun 2007 16:19:34 +0000
Checked in by : Robert Osfield
Added passing of arguments into constructor.

Tue, 19 Jun 2007 09:16:36 +0000
Checked in by : Robert Osfield
Removed OSGVIEWER_EXPORT

Mon, 18 Jun 2007 12:10:46 +0000
Checked in by : Robert Osfield
Added use of GLSL filters

Fri, 15 Jun 2007 17:47:16 +0000
Checked in by : Robert Osfield
From Martin Lavery, Updates to Packages

Fri, 15 Jun 2007 16:17:33 +0000
Checked in by : Robert Osfield
Updated ChangeLog

Fri, 15 Jun 2007 16:08:33 +0000
Checked in by : Robert Osfield
Fixed namespace

Fri, 15 Jun 2007 14:57:17 +0000
Checked in by : Robert Osfield
Added default values for ambientBias

Fri, 15 Jun 2007 14:26:10 +0000
Checked in by : Robert Osfield
From Martin Lavery, Update to Packaging

Fri, 15 Jun 2007 14:02:55 +0000
Checked in by : Robert Osfield
Removed now redundent file

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

Fri, 15 Jun 2007 13:12:46 +0000
Checked in by : Robert Osfield
Fixed handling of cases when no matrix is attached to intersections

Fri, 15 Jun 2007 12:59:22 +0000
Checked in by : Robert Osfield
Added ShadowMap::s/getAmbientBias, updated NEWS and wrappers

Fri, 15 Jun 2007 12:48:31 +0000
Checked in by : Robert Osfield
Updated README.

Fri, 15 Jun 2007 12:41:46 +0000
Checked in by : Robert Osfield
Changed the version format.

Fri, 15 Jun 2007 10:15:54 +0000
Checked in by : Robert Osfield
Updated version numbers for 2.0 release

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.

Fri, 15 Jun 2007 09:29:23 +0000
Checked in by : Robert Osfield
Fixed null pointer derefence bug

Fri, 15 Jun 2007 08:36:35 +0000
Checked in by : Robert Osfield
Addded missing namespace

Thu, 14 Jun 2007 22:22:54 +0000
Checked in by : Robert Osfield
From Martin Lavery, Packaging Update

Thu, 14 Jun 2007 21:03:38 +0000
Checked in by : Robert Osfield
Updated wrappers

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

Thu, 14 Jun 2007 20:49:53 +0000
Checked in by : Robert Osfield
From Martin Lavery, Packaging Updates

Thu, 14 Jun 2007 20:48:02 +0000
Checked in by : Robert Osfield
From Martin Lavery, Packaging Updates

Thu, 14 Jun 2007 20:22:52 +0000
Checked in by : Robert Osfield
From Martin Lavery, Install script for the Xcode build

Thu, 14 Jun 2007 19:17:31 +0000
Checked in by : Robert Osfield
Fixed typo

Thu, 14 Jun 2007 16:09:35 +0000
Checked in by : Robert Osfield
From Martin Lavery, Fix to packaging

Thu, 14 Jun 2007 15:51:02 +0000
Checked in by : Robert Osfield
From Martin Lavery, addition of Packaging directory

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

Wed, 13 Jun 2007 21:00:28 +0000
Checked in by : Robert Osfield
Updated wrappers and Version numbers for 1.9.9 release

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..."



Wed, 13 Jun 2007 20:52:07 +0000
Checked in by : Robert Osfield
Added ability to set the keyboard bindings in the RecordaAnimationPathHandler

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

Wed, 13 Jun 2007 19:54:00 +0000
Checked in by : Robert Osfield
Added clear()

Wed, 13 Jun 2007 19:53:48 +0000
Checked in by : Robert Osfield
Added new shader support

Wed, 13 Jun 2007 19:44:56 +0000
Checked in by : Robert Osfield
From John Shue, fixed typo in CMakeLists.txt

Wed, 13 Jun 2007 15:32:17 +0000
Checked in by : Robert Osfield
Added passing of arugments into viewer constructor

Wed, 13 Jun 2007 14:42:35 +0000
Checked in by : Robert Osfield
Removed SunOS hack as it didn't work..

Wed, 13 Jun 2007 14:05:21 +0000
Checked in by : Robert Osfield
Wired up new shaders

Wed, 13 Jun 2007 13:41:23 +0000
Checked in by : Robert Osfield
Added better handling of 0,0,0 values

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()

Wed, 13 Jun 2007 10:45:36 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Wed, 13 Jun 2007 10:31:32 +0000
Checked in by : Robert Osfield
From Martin Lavery, osgShadow plugin added to Xcode project.

Wed, 13 Jun 2007 10:12:55 +0000
Checked in by : Robert Osfield
Fixed versioning

Wed, 13 Jun 2007 09:56:12 +0000
Checked in by : Robert Osfield
Removed ParallelSplitShadowMap as its currently a non op.

Wed, 13 Jun 2007 08:56:29 +0000
Checked in by : Robert Osfield
Added -lrt in for SunOS build

Tue, 12 Jun 2007 19:46:56 +0000
Checked in by : Robert Osfield
Updated wrappers

Tue, 12 Jun 2007 18:58:32 +0000
Checked in by : Robert Osfield
Added StatsHandler

Tue, 12 Jun 2007 18:56:52 +0000
Checked in by : Robert Osfield
Refactored the dome correction code to support movie flipping.

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.

Tue, 12 Jun 2007 15:57:26 +0000
Checked in by : Robert Osfield
Added in QT4 keyboard event adaption

Tue, 12 Jun 2007 15:52:13 +0000
Checked in by : Robert Osfield
UPdated wrappers

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. "

Tue, 12 Jun 2007 15:32:04 +0000
Checked in by : Robert Osfield
Moved the className, libraryName and isSameAs into public.

Tue, 12 Jun 2007 14:43:26 +0000
Checked in by : Robert Osfield
Changed _data to _movieData to avoid possible confusion

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

Tue, 12 Jun 2007 11:31:21 +0000
Checked in by : Robert Osfield
From Martin Lavery, fix to Xcode Resources

Tue, 12 Jun 2007 10:37:12 +0000
Checked in by : Robert Osfield
From Martin Lavery, Fix of OpenSceneGraph-Data linking

Tue, 12 Jun 2007 10:19:27 +0000
Checked in by : Robert Osfield
Build fixes for QT4

Tue, 12 Jun 2007 09:55:40 +0000
Checked in by : Robert Osfield
Changed the throw dection time to 0.02

Tue, 12 Jun 2007 08:30:41 +0000
Checked in by : Robert Osfield
Work in progress on perspective view dependant codes

Tue, 12 Jun 2007 08:29:32 +0000
Checked in by : Robert Osfield
Added screen number, and flip support into dome correction codes.

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 "

Sun, 10 Jun 2007 20:46:53 +0000
Checked in by : Robert Osfield
Added support for specifying external overlay file.

Sun, 10 Jun 2007 20:12:47 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

The problem:
setWindowRectangle and setWindowDecoration do not update the
traits-object, so, if you call setWindowRectangle on a
not-realized-window it will open with another size when realized later.
getWindowRectangle reports possible wrong sizes if setWindowRectangle
called before.

My solution:
split the implementation in two parts:
GraphicsWindow::setWindowRectangle will update its traits-object and
call afterwards the virtual method setWindowRectangleImplementation
(which is implemented by the derived platformspecific classess). For
setWindowDecoration I am useing a similar mechanism.

I hope you'll find the submission useful, the Win32 and X11 changes are
not tested but should work."

Changes to this made by Robert are call of resized in setWindowRectangle 
instead of setting of Traits, and use of a bool return type.





Sun, 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."

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.

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.
"



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."

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

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.

Sat, 9 Jun 2007 17:58:37 +0000
Checked in by : Robert Osfield
Improved the detection of throwing of the mouse.

Sat, 9 Jun 2007 10:18:28 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

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.

Fri, 8 Jun 2007 20:11:50 +0000
Checked in by : Robert Osfield
Added debug code path that prints out font details.

Fri, 8 Jun 2007 16:47:18 +0000
Checked in by : Robert Osfield
From Eric Wing, interface files

Fri, 8 Jun 2007 16:05:30 +0000
Checked in by : Robert Osfield
Removed empty directory

Fri, 8 Jun 2007 16:05:13 +0000
Checked in by : Robert Osfield
Removed empty directory

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.

Fri, 8 Jun 2007 15:29:04 +0000
Checked in by : Robert Osfield
Added fallback for when no command line args are provied.

Fri, 8 Jun 2007 15:11:04 +0000
Checked in by : Robert Osfield
Added default file when no command line options are supplied.

Fri, 8 Jun 2007 15:06:08 +0000
Checked in by : Robert Osfield
Added fallback for when no command line args are passed in.

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

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.

Fri, 8 Jun 2007 12:15:16 +0000
Checked in by : Robert Osfield
Added default command line arg

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.

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.
"



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.

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."



Fri, 8 Jun 2007 10:43:26 +0000
Checked in by : Robert Osfield
From Eric Wing, build fix

Fri, 8 Jun 2007 10:43:01 +0000
Checked in by : Robert Osfield
From Eric Wing, build fix

Fri, 8 Jun 2007 10:42:52 +0000
Checked in by : Robert Osfield
Updated wrappers

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."



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.

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."




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.

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)."





Fri, 8 Jun 2007 09:45:11 +0000
Checked in by : Robert Osfield
Added clean up of the view before destruction of the window

Fri, 8 Jun 2007 09:17:42 +0000
Checked in by : Robert Osfield
Added const get*Matrix() methods

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.

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.

- 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.






Thu, 7 Jun 2007 21:43:27 +0000
Checked in by : Stephan Maximilian HUBER
Stephan Huber: fixed deploy-build for osgViewer

Thu, 7 Jun 2007 21:07:30 +0000
Checked in by : Robert Osfield
Updated wrappers

Thu, 7 Jun 2007 20:26:29 +0000
Checked in by : Robert Osfield
Commented out the Scene Stats entry as its not implemented yet.

Thu, 7 Jun 2007 20:22:45 +0000
Checked in by : Robert Osfield
From Martin Lavery, StatsHandler added to the ViewerCocoa example

Thu, 7 Jun 2007 13:49:30 +0000
Checked in by : Robert Osfield
From Martin Lavery, update of *.nib files

Thu, 7 Jun 2007 13:48:15 +0000
Checked in by : Robert Osfield
From Martin Lavery, update of *.nib files

Thu, 7 Jun 2007 13:44:35 +0000
Checked in by : Robert Osfield
From Martin Lavery, update of *.nib files

Thu, 7 Jun 2007 13:31:50 +0000
Checked in by : Robert Osfield
From Martin Lavery, update of *.nib files

Thu, 7 Jun 2007 13:25:34 +0000
Checked in by : Robert Osfield
From Martin Lavery, update of *.nib files

Thu, 7 Jun 2007 12:55:19 +0000
Checked in by : Robert Osfield
From Martin Lavery, port of ViewerCocoa and updates to Xcode projects

Thu, 7 Jun 2007 12:47:56 +0000
Checked in by : Robert Osfield
Removed the old SimpleView version of the Cocoa example

Thu, 7 Jun 2007 12:46:09 +0000
Checked in by : Robert Osfield
Removed now not need SimpleViewer

Thu, 7 Jun 2007 12:23:21 +0000
Checked in by : Robert Osfield
Added automatic stopping of animation when home() is called

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."

Thu, 7 Jun 2007 11:19:02 +0000
Checked in by : Robert Osfield
Introduced a destruct method to help clean up the Registry.

Thu, 7 Jun 2007 11:06:40 +0000
Checked in by : Robert Osfield
Revert the signOrZero cade path in the getRotate() to fix bugs.

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

Thu, 7 Jun 2007 09:58:49 +0000
Checked in by : Robert Osfield
Added View::home() method and updated wrappers

Thu, 7 Jun 2007 09:24:46 +0000
Checked in by : Robert Osfield
Removed redundent files

Thu, 7 Jun 2007 08:52:51 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 6 Jun 2007 21:57:57 +0000
Checked in by : Robert Osfield
Updated ChangeLog, AUTHORES and README to 1.9.8 release

Wed, 6 Jun 2007 21:43:38 +0000
Checked in by : Robert Osfield
Updated version numbers for release

Wed, 6 Jun 2007 17:01:37 +0000
Checked in by : Robert Osfield
Revert the setting of SingleThreaded under Windows in suggestBestThreadingModel()

Wed, 6 Jun 2007 16:27:00 +0000
Checked in by : Robert Osfield
Added #include<osg/Geometry>

Wed, 6 Jun 2007 16:23:20 +0000
Checked in by : Robert Osfield
Fixed includes

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."

Wed, 6 Jun 2007 14:51:08 +0000
Checked in by : Robert Osfield
Fixed includes

Wed, 6 Jun 2007 13:45:50 +0000
Checked in by : Robert Osfield
From Martin Lavery, Updates to Xcode project

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.

2. Incorrect handling of line primitives."



Wed, 6 Jun 2007 11:28:44 +0000
Checked in by : Robert Osfield
From Olaf Flebbe, "an implementation of GraphicsWindow::setCursor for WIN32."

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

Wed, 6 Jun 2007 11:10:44 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Wed, 6 Jun 2007 10:57:02 +0000
Checked in by : Robert Osfield
Added support for passing in ArgumentParser in Viewer and CompositeViewer constructor

Wed, 6 Jun 2007 08:59:22 +0000
Checked in by : Robert Osfield
From Marin Lavery and Robert Osfield, XCode build fixes

Tue, 5 Jun 2007 20:42:43 +0000
Checked in by : Robert Osfield
From Martin Lavery, XCode build fixes

Tue, 5 Jun 2007 19:44:11 +0000
Checked in by : Robert Osfield
Renamed osgmultiplecameras to osgcompositeviewer

Tue, 5 Jun 2007 19:41:22 +0000
Checked in by : Robert Osfield
Renamed osgmultiplecamrea to osgcompositeviewer

Tue, 5 Jun 2007 19:40:07 +0000
Checked in by : Robert Osfield
Added CompositeViewer support into FLTK example

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

Tue, 5 Jun 2007 19:10:18 +0000
Checked in by : Robert Osfield
Added support for CompositeViewer

Tue, 5 Jun 2007 17:19:30 +0000
Checked in by : Robert Osfield
Improved the wording of CMake instructions

Tue, 5 Jun 2007 17:18:27 +0000
Checked in by : Robert Osfield
From Martin Lavery, build fixes fo latest file additions

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

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."

Tue, 5 Jun 2007 08:46:32 +0000
Checked in by : Robert Osfield
Removed const to try and avoid Sun compiler error

Tue, 5 Jun 2007 08:30:24 +0000
Checked in by : Robert Osfield
Removed redundent comma

Mon, 4 Jun 2007 21:32:15 +0000
Checked in by : Robert Osfield
Updated READEME

Mon, 4 Jun 2007 21:31:17 +0000
Checked in by : Robert Osfield
Updated ChangeLog and AUTHORS.txt for 1.9.7 release

Mon, 4 Jun 2007 21:02:15 +0000
Checked in by : Robert Osfield
Introduce OSG_BUILD_APPLICATION_BUNDLES option for OSX, defaulting to OFF.

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.

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!!!

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.

Mon, 4 Jun 2007 16:20:24 +0000
Checked in by : Robert Osfield
Updated version for 1.9.7 release

Mon, 4 Jun 2007 15:11:46 +0000
Checked in by : Robert Osfield
Fixed stray control character

Mon, 4 Jun 2007 15:05:59 +0000
Checked in by : Robert Osfield
Warning fix

Mon, 4 Jun 2007 14:47:16 +0000
Checked in by : Robert Osfield
Cleaned up example

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

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.

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."

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.

Mon, 4 Jun 2007 10:56:01 +0000
Checked in by : Robert Osfield
Updated wrappers

Mon, 4 Jun 2007 10:47:15 +0000
Checked in by : Robert Osfield
Added osg::Hint class

Mon, 4 Jun 2007 08:38:11 +0000
Checked in by : Robert Osfield
Fixed spelling of Receives

Sun, 3 Jun 2007 10:00:09 +0000
Checked in by : Robert Osfield
Updated wrappers

Sun, 3 Jun 2007 09:34:28 +0000
Checked in by : Robert Osfield
Added Viewer::setUpViewerAsEmbeddedInWindow convinience method

Sun, 3 Jun 2007 09:11:41 +0000
Checked in by : Robert Osfield
Removed osgsimple example

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

Sun, 3 Jun 2007 08:58:32 +0000
Checked in by : Robert Osfield
Changed external library specication

Sat, 2 Jun 2007 16:23:07 +0000
Checked in by : Robert Osfield
Ported across from SimpleViewer to using Viewer

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

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.

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.

Fri, 1 Jun 2007 22:41:11 +0000
Checked in by : Robert Osfield
Renamed all osgsimpleviewer* files to osgviewer*

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

Fri, 1 Jun 2007 22:28:03 +0000
Checked in by : Robert Osfield
updated wrapper

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().

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.
"



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."



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.

 

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

"



Fri, 1 Jun 2007 19:53:14 +0000
Checked in by : Robert Osfield
Updated wrappers

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 ;-)
"



Fri, 1 Jun 2007 19:44:09 +0000
Checked in by : Robert Osfield
Updates to OverlayData

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.

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."



Fri, 1 Jun 2007 19:21:41 +0000
Checked in by : Robert Osfield
Removed setViewUpOnScreen settings

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 :)"

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."



Fri, 1 Jun 2007 19:01:23 +0000
Checked in by : Robert Osfield
Removed the debug message for the ortho path.

Fri, 1 Jun 2007 19:01:06 +0000
Checked in by : Robert Osfield
Improved the handling of the -p path option

Fri, 1 Jun 2007 18:27:08 +0000
Checked in by : Robert Osfield
Work in progress on shaders support

Fri, 1 Jun 2007 16:14:47 +0000
Checked in by : Robert Osfield
From Paul Martz, added Win32 export

Fri, 1 Jun 2007 11:21:57 +0000
Checked in by : Robert Osfield
Added recording of camera paths

Fri, 1 Jun 2007 10:42:24 +0000
Checked in by : Robert Osfield
Changed name of AnimationPathHandler to RecordCameraPathHandler

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.

Wed, 30 May 2007 17:56:43 +0000
Checked in by : Robert Osfield
Improved taper ratio computation

Wed, 30 May 2007 16:36:47 +0000
Checked in by : Robert Osfield
Added set up of overlay stateset

Wed, 30 May 2007 14:18:33 +0000
Checked in by : Robert Osfield
Added trapezodial fitting code

Wed, 30 May 2007 09:25:01 +0000
Checked in by : Robert Osfield
Fixed case of when view==NULL

Tue, 29 May 2007 18:39:27 +0000
Checked in by : Eric WING
Stephan Huber: Adding missing Xcode project file.

Tue, 29 May 2007 14:19:42 +0000
Checked in by : Stephan Maximilian HUBER
From Stephan Huber, updated OpenThreads-XCode-project files

Tue, 29 May 2007 13:28:40 +0000
Checked in by : Robert Osfield
Added support for specifying which screen number to place the window

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....

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."




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.

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."




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()."





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

Mon, 28 May 2007 15:44:37 +0000
Checked in by : Robert Osfield
Added --object, --ortho and --persp OverlayNode options

Mon, 28 May 2007 15:27:21 +0000
Checked in by : Robert Osfield
Fixed handle on non ellipsoid models

Mon, 28 May 2007 15:17:27 +0000
Checked in by : Robert Osfield
Improved the accuracy of the overlaynode settings

Mon, 28 May 2007 13:56:26 +0000
Checked in by : Robert Osfield
Added project down to base implementation.

Mon, 28 May 2007 10:48:04 +0000
Checked in by : Robert Osfield
Updated ChangeLog and AUTHORS.txt for 1.9.6 release

Mon, 28 May 2007 10:17:52 +0000
Checked in by : Robert Osfield
Updated version number, wrappers and readme for release

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."

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.

Sun, 27 May 2007 19:35:50 +0000
Checked in by : Robert Osfield
Updated wrappers

Sun, 27 May 2007 18:18:17 +0000
Checked in by : Robert Osfield
Updated wrappers

Sun, 27 May 2007 17:29:29 +0000
Checked in by : Robert Osfield
Added camera event callback support into osgViewer

Sun, 27 May 2007 15:24:41 +0000
Checked in by : Robert Osfield
Updated calling of master camera's update callback

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

Sun, 27 May 2007 14:49:58 +0000
Checked in by : Robert Osfield
Added option for using the different overlay techniques.

Sat, 26 May 2007 16:02:28 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Sat, 26 May 2007 15:49:35 +0000
Checked in by : Robert Osfield
Fixes to help C# binding dev.

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."

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.

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."



Sat, 26 May 2007 15:17:14 +0000
Checked in by : Robert Osfield
Added exclude of svn directories.

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.

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.
"




Fri, 25 May 2007 19:32:15 +0000
Checked in by : Robert Osfield
Comment out the setting of single threading.

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

Wed, 23 May 2007 14:55:59 +0000
Checked in by : Robert Osfield
Added insertion of center point into object polytope

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.

Wed, 23 May 2007 12:35:37 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 23 May 2007 12:21:20 +0000
Checked in by : Robert Osfield
Added platform specific GraphicsWindow* headers to public headers listings

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.

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).

"



Wed, 23 May 2007 10:57:46 +0000
Checked in by : Robert Osfield
Added debug timing code

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.

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."



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

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.

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

Mon, 21 May 2007 18:17:54 +0000
Checked in by : Robert Osfield
Fixed Viewer::checkWindowStatus() to work correctly when running single threaded

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.

Mon, 21 May 2007 12:34:03 +0000
Checked in by : Robert Osfield
Updated readme

Mon, 21 May 2007 12:30:14 +0000
Checked in by : Robert Osfield
From Luigi Calori, changed hardwired "cow.osg" paramter to argv[1]

Mon, 21 May 2007 12:28:25 +0000
Checked in by : Robert Osfield
Converted tabs to 4 spaces

Mon, 21 May 2007 12:26:38 +0000
Checked in by : Robert Osfield
Updated version file for 1.9.5 release

Mon, 21 May 2007 11:49:37 +0000
Checked in by : Robert Osfield
Fixed const method type

Mon, 21 May 2007 09:27:01 +0000
Checked in by : Robert Osfield
Updated version numbers for 1.9.5 release

Mon, 21 May 2007 09:18:23 +0000
Checked in by : Robert Osfield
Updated ChangeLog

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."




Mon, 21 May 2007 07:54:01 +0000
Checked in by : Robert Osfield
Added static build support to export macros

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.

Sun, 20 May 2007 17:38:11 +0000
Checked in by : Robert Osfield
Introduced VERSION and SOVERSION'ing of libraries.

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.

There seems to be  a bug regarding multiple threads and closing windows,
see my other mail on osg-users.
"



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.

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.

Sun, 20 May 2007 11:13:18 +0000
Checked in by : Robert Osfield
Fixed build error under float matrix build

Sun, 20 May 2007 09:55:34 +0000
Checked in by : Robert Osfield
From Lugi Calori, added control of lib postfix.

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.

This has some benefits:

+ no gaps when looping audio
+ simplified code

Attached you'll find the modified files, hope you'll find them useful."




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

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.

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

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.
"



Sat, 19 May 2007 12:16:06 +0000
Checked in by : Robert Osfield
From Lugi Calori, fix for Win32 build of osgsimpleviewerWX

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

Fri, 18 May 2007 11:22:56 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

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

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.

Thu, 17 May 2007 19:58:57 +0000
Checked in by : Robert Osfield
Added support for View::setFustionDistance(..)

Thu, 17 May 2007 15:39:33 +0000
Checked in by : Robert Osfield
Improved view dependent camera positioning

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

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."

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"




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.

 

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 <osgViewer/GraphicsWindowWin32>

To:   #include <osgViewer/api/win32/GraphicsWindowWin32>

 

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.

 

"



Thu, 17 May 2007 10:59:05 +0000
Checked in by : Robert Osfield
From Andre Garneau, warnings fixes fo VC++

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.
"



Wed, 16 May 2007 19:19:43 +0000
Checked in by : Robert Osfield
Futher work on view dependent OverlayNode

Wed, 16 May 2007 14:22:10 +0000
Checked in by : Robert Osfield
Refactored the internals of OverlayNode

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

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."

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."

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)"

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.

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

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

Tue, 15 May 2007 14:53:58 +0000
Checked in by : Robert Osfield
Added -n/--no-overlay option

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

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. "



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:

http://www.opengl.org/sdk/docs/man/xhtml/glClientActiveTexture.xml
http://www.opengl.org/sdk/docs/man/xhtml/glActiveTexture.xml
"



Tue, 15 May 2007 11:22:25 +0000
Checked in by : Robert Osfield
Futher work on new view dependent overlay node

Mon, 14 May 2007 20:23:10 +0000
Checked in by : Robert Osfield
Set up new view dependent overlay technique control methods

Mon, 14 May 2007 17:01:07 +0000
Checked in by : Robert Osfield
Added include of GraphicsWindow to fix wrapper build error

Mon, 14 May 2007 16:17:16 +0000
Checked in by : Robert Osfield
Removed redundent comment '.'

Mon, 14 May 2007 16:16:22 +0000
Checked in by : Robert Osfield
Fixed parameter name

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



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

Mon, 14 May 2007 15:16:26 +0000
Checked in by : Robert Osfield
Renamed ViewerEventHandler to ViewerEventHandlers

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.

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."

Mon, 14 May 2007 14:36:03 +0000
Checked in by : Robert Osfield
Changed tabs to four spaces

Mon, 14 May 2007 09:43:48 +0000
Checked in by : Robert Osfield
Updated authors file

Mon, 14 May 2007 09:33:32 +0000
Checked in by : Robert Osfield
Updated wrappers and version numbers for 1.9.4 dev release

Sun, 13 May 2007 09:54:51 +0000
Checked in by : Robert Osfield
Added TerrainNode::init() and s/getTreatBoundariesToValidDataAsDefaultValue flag.

Fri, 11 May 2007 20:16:52 +0000
Checked in by : Robert Osfield
Added include

Fri, 11 May 2007 19:28:41 +0000
Checked in by : Robert Osfield
Updated wrappers

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

Added stopping/starting of threads in addView/removeView



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.

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

Fri, 11 May 2007 13:43:00 +0000
Checked in by : Robert Osfield
UPdated wrappers

Fri, 11 May 2007 12:46:38 +0000
Checked in by : Robert Osfield
Fixed CMake support for osgsimpleviewWX

Fri, 11 May 2007 12:12:55 +0000
Checked in by : Robert Osfield
From Doug McCorkle, removed pfdb from link line

Fri, 11 May 2007 09:07:00 +0000
Checked in by : Robert Osfield
From Gian Lorenzetto, osgsimpleviewWX example, CMake support added by Robert Osfield

Fri, 11 May 2007 09:05:59 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 11 May 2007 08:30:20 +0000
Checked in by : Robert Osfield
From Brad Colbert, removed inappropriate rewind on non looping code path.

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."

Thu, 10 May 2007 18:07:54 +0000
Checked in by : Robert Osfield
Added supoort for transforming layers by an offset and scale

Thu, 10 May 2007 18:07:15 +0000
Checked in by : Robert Osfield
Removed rendundent const

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

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.

Thu, 10 May 2007 11:36:53 +0000
Checked in by : Robert Osfield
From Daniel Sjolie, build fix for Windows

Thu, 10 May 2007 10:52:35 +0000
Checked in by : Robert Osfield
Added getHWND, getHDC and getWGLContext methods

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.

Wed, 9 May 2007 13:05:19 +0000
Checked in by : Robert Osfield
Commented out debug messages

Wed, 9 May 2007 12:08:30 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

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.




Wed, 9 May 2007 10:42:56 +0000
Checked in by : Robert Osfield
Set default texture size back to 1024x1204

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.

Wed, 9 May 2007 10:31:06 +0000
Checked in by : Robert Osfield
Added use of OSG_MAX_TEXTURE_SIZE for clamping texture sizes.

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.
"




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.

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.
"



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.

Wed, 9 May 2007 07:54:32 +0000
Checked in by : Robert Osfield
Added imageData block initialized to 0 for first construction of GlyphTexture

Tue, 8 May 2007 15:32:35 +0000
Checked in by : Robert Osfield
Further work on dome correction

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

Tue, 8 May 2007 10:02:07 +0000
Checked in by : Robert Osfield
Added CullSettings inheritance mask for LIGHTING_MODE and LIGHT

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.

Mon, 7 May 2007 19:48:46 +0000
Checked in by : Robert Osfield
Added missing HelpHandler::reset() implementation

Mon, 7 May 2007 07:58:12 +0000
Checked in by : Robert Osfield
Updated ChangeLog and AUTHORS.txt for release

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

Sat, 5 May 2007 17:05:07 +0000
Checked in by : Robert Osfield
Added extra external libs

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!?#!?

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.

Sat, 5 May 2007 16:11:30 +0000
Checked in by : Robert Osfield
Added OpenVRML support

Sat, 5 May 2007 15:36:03 +0000
Checked in by : Robert Osfield
Added CMake support for pnm plugin

Sat, 5 May 2007 08:22:06 +0000
Checked in by : Robert Osfield
Added support for normals plugin

Sat, 5 May 2007 08:18:04 +0000
Checked in by : Robert Osfield
Added ToPortToCmake.txt to record what modules need port to CMake.

Fri, 4 May 2007 19:17:49 +0000
Checked in by : Robert Osfield
Added first cut a Xine support

Fri, 4 May 2007 14:25:02 +0000
Checked in by : Robert Osfield
Added first cut of Cmake COLLADA support

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

Fri, 4 May 2007 13:20:48 +0000
Checked in by : Robert Osfield
Added support for jp2 plugin

Fri, 4 May 2007 12:06:31 +0000
Checked in by : Robert Osfield
Removed margin

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

Fri, 4 May 2007 08:48:59 +0000
Checked in by : Robert Osfield
From Luigi Calori, Win32 build fix

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."

Fri, 4 May 2007 08:40:20 +0000
Checked in by : Robert Osfield
From David Callu, fixed incorrect array usage.

Thu, 3 May 2007 16:23:19 +0000
Checked in by : Robert Osfield
Added CartizianLocator

Thu, 3 May 2007 15:21:30 +0000
Checked in by : Robert Osfield
Updated wrappers

Thu, 3 May 2007 14:51:02 +0000
Checked in by : Robert Osfield
Added return *this to operator =

Thu, 3 May 2007 14:47:52 +0000
Checked in by : Robert Osfield
Added osgUtil into lib list

Thu, 3 May 2007 11:11:03 +0000
Checked in by : Robert Osfield
Added virtual orientationOpenGL() method into osgTerrain::Locator.

Thu, 3 May 2007 10:10:23 +0000
Checked in by : Robert Osfield
Added OpenThreads to TARGET_COMMON_LIBRARIES

Thu, 3 May 2007 10:06:38 +0000
Checked in by : Robert Osfield
Moved the OpenThreads link locally to each lib

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

Wed, 2 May 2007 19:57:05 +0000
Checked in by : Robert Osfield
Added OpenThreads wrappers

Wed, 2 May 2007 18:07:41 +0000
Checked in by : Robert Osfield
Added CMake support for local OpenThreads build

Wed, 2 May 2007 16:36:56 +0000
Checked in by : Robert Osfield
Added svn:externals for include/OpenThreads and src/OpenThreads

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.

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.

Tue, 1 May 2007 09:29:30 +0000
Checked in by : Robert Osfield
Cleaned up the optional code paths in new VBO code

Tue, 1 May 2007 07:31:30 +0000
Checked in by : Robert Osfield
Updated wrappers

Tue, 1 May 2007 06:40:26 +0000
Checked in by : Robert Osfield
Added direct links to the CMake build pages

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

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.

Mon, 30 Apr 2007 15:10:57 +0000
Checked in by : Robert Osfield
Added initalization of _startTick to CompositeViewer

Mon, 30 Apr 2007 14:49:05 +0000
Checked in by : Robert Osfield
From Jeremy Moles, fixed missing intialization of _startTick member variable.

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

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.

Mon, 30 Apr 2007 08:37:46 +0000
Checked in by : Robert Osfield
Updated ChangeLog and AUTHORS file

Mon, 30 Apr 2007 08:31:25 +0000
Checked in by : Robert Osfield
Updated version number for 1.9.2 dev release

Sun, 29 Apr 2007 20:19:12 +0000
Checked in by : Robert Osfield
Updated wrappers

Sun, 29 Apr 2007 20:13:53 +0000
Checked in by : Robert Osfield
Added temporary code (but comment out) for testing VBO performance

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.

Sun, 29 Apr 2007 08:12:29 +0000
Checked in by : Robert Osfield
Further work on new VertexBufferObject/ElementsBufferObject support

Fri, 27 Apr 2007 17:03:06 +0000
Checked in by : Robert Osfield
Added back in osg::Geometry path

Fri, 27 Apr 2007 14:52:30 +0000
Checked in by : Robert Osfield
Further work on the new VBO support

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.

- 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).

"



Fri, 27 Apr 2007 09:49:28 +0000
Checked in by : Robert Osfield
Fixed tabbing

Thu, 26 Apr 2007 16:50:35 +0000
Checked in by : Robert Osfield
Added using of VertexBufferObject and ElementsBufferObject classes

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."



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.

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
"



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

Sun, 22 Apr 2007 21:40:46 +0000
Checked in by : Robert Osfield
Added --version-number support

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."

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.

Sat, 21 Apr 2007 12:29:39 +0000
Checked in by : Robert Osfield
Added osgSim dependency to txp plugin

Sat, 21 Apr 2007 11:24:26 +0000
Checked in by : Robert Osfield
Added include directory to get txp plugin building

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.



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.

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."

Mon, 16 Apr 2007 19:34:25 +0000
Checked in by : Robert Osfield
Implement basic TerrainGeometry code

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.

Mon, 16 Apr 2007 12:21:07 +0000
Checked in by : Robert Osfield
Updated wrappers

Mon, 16 Apr 2007 12:20:42 +0000
Checked in by : Robert Osfield
Cleaned up state management code

Mon, 16 Apr 2007 12:18:56 +0000
Checked in by : Robert Osfield
Fixed bug associated with complex RenderBin setup.

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.

Sun, 15 Apr 2007 20:53:09 +0000
Checked in by : Robert Osfield
Fixed choice of display

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

Sat, 14 Apr 2007 08:31:40 +0000
Checked in by : Robert Osfield
Added an #include<unistd.h> and extern "C" around X11ErrorHandling to prevent Solaris build errros

Fri, 13 Apr 2007 19:28:22 +0000
Checked in by : Robert Osfield
Added some debugging

Fri, 13 Apr 2007 19:28:11 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 13 Apr 2007 14:54:41 +0000
Checked in by : Robert Osfield
Added fullscreen toggle event handler

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.

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.

Fri, 13 Apr 2007 13:28:10 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 13 Apr 2007 13:22:52 +0000
Checked in by : Robert Osfield
Added s/getWindowRectangle to GraphicsWindow and implementation in GraphicsWindowX11

Fri, 13 Apr 2007 13:19:29 +0000
Checked in by : Robert Osfield
Changed hitItr to be a const_iterator.

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."

Thu, 12 Apr 2007 17:30:06 +0000
Checked in by : Robert Osfield
Fixed variable name dereference

Thu, 12 Apr 2007 10:14:10 +0000
Checked in by : Robert Osfield
Added different cmake version requirements across platforms

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."




Thu, 12 Apr 2007 09:59:34 +0000
Checked in by : Robert Osfield
Added SETUP_COMMANDLINE_APPLICATION and SETUP_COMMANDLINE_EXAMPLE macros

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?"




Thu, 12 Apr 2007 09:32:48 +0000
Checked in by : Robert Osfield
Updated wrappers

Thu, 12 Apr 2007 09:32:34 +0000
Checked in by : Robert Osfield
From Mike Wittman, fix to CopyOp&.

Thu, 12 Apr 2007 09:18:40 +0000
Checked in by : Robert Osfield
From Eric Wing, "Minor robustness fix to osgsimpleviewerCocoa."

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



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

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

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.

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.
"




Wed, 11 Apr 2007 08:33:40 +0000
Checked in by : Robert Osfield
Removed tabs

Tue, 10 Apr 2007 13:58:18 +0000
Checked in by : Robert Osfield
Removed old GNUmakefile.inst files

Tue, 10 Apr 2007 13:23:32 +0000
Checked in by : Robert Osfield
Updated INSTALL and README to refect new Cmake build

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.

Tue, 10 Apr 2007 13:12:58 +0000
Checked in by : Robert Osfield
Removed more of the old VisualStudio build system

Tue, 10 Apr 2007 13:10:25 +0000
Checked in by : Robert Osfield
Removed old gmake and VisualStudio build files

Tue, 10 Apr 2007 12:11:16 +0000
Checked in by : Robert Osfield
Updated to refect new incldue/osgViewer/Win32 directory for GraphicsWindowWin32

Tue, 10 Apr 2007 11:09:38 +0000
Checked in by : Robert Osfield
Updated wrapper to honour move of GraphicsWindow* include/osgViewer/api/

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.



Fri, 6 Apr 2007 19:51:20 +0000
Checked in by : Robert Osfield
Fixed the handle of triangle fan.

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.

Fri, 6 Apr 2007 15:36:13 +0000
Checked in by : Robert Osfield
From Eric Wing, pedantic warning fixes

Fri, 6 Apr 2007 15:35:27 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 6 Apr 2007 15:13:02 +0000
Checked in by : Robert Osfield
From Eric Wing, pedantic warning fixes

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."

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."





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."

Fri, 6 Apr 2007 14:33:55 +0000
Checked in by : Robert Osfield
Add setting of ShadowVolumeGeometry draw mode

Thu, 5 Apr 2007 20:27:02 +0000
Checked in by : Robert Osfield
Set default ShadeModel back to SMOOTH

Thu, 5 Apr 2007 16:12:10 +0000
Checked in by : Robert Osfield
Added constructor argument to ShadeModel

Thu, 5 Apr 2007 15:04:05 +0000
Checked in by : Robert Osfield
Commented out superfluous debug messages

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

Wed, 4 Apr 2007 09:07:46 +0000
Checked in by : Robert Osfield
Added support for flushing buffer objects

Wed, 4 Apr 2007 08:09:24 +0000
Checked in by : Robert Osfield
From Paul Martz, added osgViewer headers to VS syntax highlighting.

Wed, 4 Apr 2007 08:06:22 +0000
Checked in by : Robert Osfield
Removed OpenThreads reference

Wed, 4 Apr 2007 08:05:45 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 4 Apr 2007 08:05:23 +0000
Checked in by : Robert Osfield
From Mike Wittman, C# build fixes

Tue, 3 Apr 2007 19:42:43 +0000
Checked in by : Robert Osfield
From Andy Skinner, warning fix for Windows 64-bit build

Tue, 3 Apr 2007 19:18:20 +0000
Checked in by : Robert Osfield
Added assignment of hieghts texture coords

Tue, 3 Apr 2007 15:39:05 +0000
Checked in by : Robert Osfield
Preliminary work on TransferFunction support

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.

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.

Sun, 1 Apr 2007 11:19:46 +0000
Checked in by : Robert Osfield
Added support for texture layer.

Fri, 30 Mar 2007 15:16:29 +0000
Checked in by : Robert Osfield
Added debugging code

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.

Fri, 30 Mar 2007 14:57:01 +0000
Checked in by : Robert Osfield
Added support 16bit intensity formats

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.  

Updated wrappers



Thu, 29 Mar 2007 19:39:20 +0000
Checked in by : Robert Osfield
Fixed missing initializer in Options constrctor

Thu, 29 Mar 2007 15:41:59 +0000
Checked in by : Robert Osfield
Removed the using to avoid VS 7.1 build problem

Thu, 29 Mar 2007 14:45:35 +0000
Checked in by : Robert Osfield
Added creation of basic geoemtry to test Locator and extents

Thu, 29 Mar 2007 12:41:18 +0000
Checked in by : Robert Osfield
Updated wrappers

Thu, 29 Mar 2007 10:56:07 +0000
Checked in by : Robert Osfield
From Eric Wing, added handling of CMAKE_THREAD_LIBS_INIT

Thu, 29 Mar 2007 10:13:36 +0000
Checked in by : Robert Osfield
Added missing return value

Thu, 29 Mar 2007 09:29:26 +0000
Checked in by : Robert Osfield
From Eric Wing, "Added the conditionals for SDLMain."

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

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."

Wed, 28 Mar 2007 14:50:58 +0000
Checked in by : Robert Osfield
Removed the Found OpenThreads message

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

Wed, 28 Mar 2007 11:30:38 +0000
Checked in by : Robert Osfield
Removed deprecated drawImplementation(State&) method from Drawable and Drawable::DrawCallback

Wed, 28 Mar 2007 08:53:18 +0000
Checked in by : Robert Osfield
From Martin Amueller, Add libosgGA and libosgText for OSX build

Wed, 28 Mar 2007 08:52:44 +0000
Checked in by : Robert Osfield
Replaced the X11 Window by Carbon WindowRef in the WindowData structure.

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:

#ifdef COIN_SOCALLBACKACTION_H
    #define USE_COIN 1
#endif






Wed, 28 Mar 2007 07:34:46 +0000
Checked in by : Robert Osfield
From Luigi Calori, added Find3rdPartyDependencies.cmake

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"

Tue, 27 Mar 2007 19:39:00 +0000
Checked in by : Robert Osfield
Updated wrappers

Tue, 27 Mar 2007 19:27:36 +0000
Checked in by : Robert Osfield
Add computeBound support to TerrainNode and Layer.

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.

Tue, 27 Mar 2007 16:01:01 +0000
Checked in by : Robert Osfield
Rearranged the traversal and initialization of TerrainTechnique

Tue, 27 Mar 2007 11:23:57 +0000
Checked in by : Robert Osfield
Added EllipsoidLocator.

Tue, 27 Mar 2007 08:43:59 +0000
Checked in by : Robert Osfield
Added #include <unistd.h> for non Win32/Mingw build

Tue, 27 Mar 2007 08:40:25 +0000
Checked in by : Robert Osfield
Added -lgdi32 to CYGWIN path

Mon, 26 Mar 2007 19:38:04 +0000
Checked in by : Robert Osfield
Fixed header files specification

Mon, 26 Mar 2007 19:24:18 +0000
Checked in by : Robert Osfield
Added return false; to default implementations of convert functions

Mon, 26 Mar 2007 16:32:31 +0000
Checked in by : Robert Osfield
Added GeometryTechnique

Mon, 26 Mar 2007 16:28:26 +0000
Checked in by : Robert Osfield
Removed WindowData parameter from init().

Mon, 26 Mar 2007 15:52:22 +0000
Checked in by : Robert Osfield
Added Locator and layer setting to osgterrain example

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 <LINK_VAR_NAME>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"

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."

Mon, 26 Mar 2007 09:48:02 +0000
Checked in by : Robert Osfield
Changed the external library specification to use TARGET_EXTERNAL_LIBRARIES

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.

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."

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

Fri, 23 Mar 2007 10:11:09 +0000
Checked in by : Robert Osfield
Added missing StencilTwoSided header

Fri, 23 Mar 2007 08:53:06 +0000
Checked in by : Robert Osfield
Added automatic creation of lib bin and lib/osgPlugins

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

Thu, 22 Mar 2007 14:45:13 +0000
Checked in by : Robert Osfield
Added CMake build suppport for osgsimpleviewerQT4

Thu, 22 Mar 2007 14:44:05 +0000
Checked in by : Robert Osfield
Added CMake QT3, FLTK and osgintrospection example build support.

Thu, 22 Mar 2007 14:06:27 +0000
Checked in by : Robert Osfield
Added CMake build support for GLUT and SDL examples

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

Thu, 22 Mar 2007 13:37:47 +0000
Checked in by : Robert Osfield
Updated the header list

Thu, 22 Mar 2007 12:58:01 +0000
Checked in by : Robert Osfield
Fixed link name

Wed, 21 Mar 2007 17:18:53 +0000
Checked in by : Robert Osfield
Added ImageLayer, ArrayLayer and HeightFieldLayer classes

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. 




Wed, 21 Mar 2007 09:42:14 +0000
Checked in by : Robert Osfield
Removed erroneous entry of GNUmakefile

Tue, 20 Mar 2007 17:07:37 +0000
Checked in by : Robert Osfield
Added osg:: to computeLocalToWorld to fix build under VS7.

Tue, 20 Mar 2007 11:19:00 +0000
Checked in by : Robert Osfield
From Luigi Calori, clean up CMakeLists.txt

Tue, 20 Mar 2007 09:50:24 +0000
Checked in by : Robert Osfield
From Philip Lowman, added support for Inventor

Mon, 19 Mar 2007 19:05:18 +0000
Checked in by : Robert Osfield
From Andreas Goebel, build fix

Mon, 19 Mar 2007 17:24:19 +0000
Checked in by : Robert Osfield
Moved the TARGET_NAME setting into the OsgMacroUtils.cmake.

Mon, 19 Mar 2007 17:18:59 +0000
Checked in by : Robert Osfield
Moved the TARGET_NAME setting into the SETUP_APPLICATION/EXAMPLE macro

Mon, 19 Mar 2007 14:10:12 +0000
Checked in by : Robert Osfield
Added CMake support for txf, osgViewer and osgShadow plugins

Mon, 19 Mar 2007 13:26:34 +0000
Checked in by : Robert Osfield
Ran dos2unix on CMakeLists.txt files.

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.



Mon, 19 Mar 2007 11:47:49 +0000
Checked in by : Robert Osfield
Updated wrappers

Mon, 19 Mar 2007 11:35:36 +0000
Checked in by : Robert Osfield
From Andreas Goebel, add -lgdi to GNUmakefile

Mon, 19 Mar 2007 11:25:41 +0000
Checked in by : Robert Osfield
Further work on TerrainNode

Mon, 19 Mar 2007 10:54:39 +0000
Checked in by : Robert Osfield
Build fixes

Mon, 19 Mar 2007 10:38:44 +0000
Checked in by : Robert Osfield
Further work on osgterrain example

Sun, 18 Mar 2007 11:04:12 +0000
Checked in by : Robert Osfield
Removed now redundent method

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<Instance<T> *>(inst_)->_data)

   But in the new version, this function use the template argument "T":
      typeof(typename remove_pointer<T>::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.
"



Fri, 16 Mar 2007 14:27:30 +0000
Checked in by : Robert Osfield
Updated wrappers

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

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."

Thu, 15 Mar 2007 13:17:05 +0000
Checked in by : Robert Osfield
From Philip Lowman, added gdi32 entry fro Mingw build

Wed, 14 Mar 2007 12:59:06 +0000
Checked in by : Robert Osfield
Name fixes

Wed, 14 Mar 2007 12:43:29 +0000
Checked in by : Robert Osfield
Added osgterrain example

Wed, 14 Mar 2007 12:42:21 +0000
Checked in by : Robert Osfield
Added osgterrain to build

Wed, 14 Mar 2007 12:31:53 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 14 Mar 2007 12:00:54 +0000
Checked in by : Robert Osfield
Added class shells for osgTerrain::Locator and osgTerrain::Layer classes

Wed, 14 Mar 2007 11:24:04 +0000
Checked in by : Robert Osfield
Renamed HeightFieldNode and HeightFieldRenderer to TerrainNode and TerrainTechnique respectively

Wed, 14 Mar 2007 10:02:45 +0000
Checked in by : Robert Osfield
Changed typeid(CullVisitor) check to dynamic_cast

Tue, 13 Mar 2007 20:09:21 +0000
Checked in by : Robert Osfield
Fixed spacing of message

Tue, 13 Mar 2007 20:06:01 +0000
Checked in by : Robert Osfield
Added lib64 to search path for OpenThreads

Tue, 13 Mar 2007 12:25:30 +0000
Checked in by : Robert Osfield
From Mathieu Narache, build fixes for IRIX64

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

Tue, 13 Mar 2007 08:18:13 +0000
Checked in by : Robert Osfield
Checked in missing implementation of cleanSceneGraph.

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.

Mon, 12 Mar 2007 21:13:15 +0000
Checked in by : Robert Osfield
Added IF(BUILD_OSG_WRAPPERS) arouind osgintrospection example

Mon, 12 Mar 2007 12:46:36 +0000
Checked in by : Robert Osfield
Fixed install paths of wrappers and plugins

Mon, 12 Mar 2007 12:14:20 +0000
Checked in by : Robert Osfield
Removed GDAL references

Mon, 12 Mar 2007 12:13:52 +0000
Checked in by : Robert Osfield
Removed GDAL references

Mon, 12 Mar 2007 11:49:10 +0000
Checked in by : Robert Osfield
Cleaned up the ordering of the code component compilation

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

Mon, 12 Mar 2007 08:32:56 +0000
Checked in by : Robert Osfield
From Luigi Calori, fixes for building wrappers with lib prefix.

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




Sun, 11 Mar 2007 13:21:48 +0000
Checked in by : Robert Osfield
Moved introspection build into optional compile section

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.



Sun, 11 Mar 2007 11:48:03 +0000
Checked in by : Robert Osfield
Added inheritedWindowData member variable to Traits.

Sat, 10 Mar 2007 17:29:32 +0000
Checked in by : Robert Osfield
From Bob Kuehne, fix for AGL build of osgViewer

Sat, 10 Mar 2007 12:27:01 +0000
Checked in by : Robert Osfield
Updated wrappers

Sat, 10 Mar 2007 11:56:34 +0000
Checked in by : Robert Osfield
Correct TransferFunction entry.

Sat, 10 Mar 2007 11:53:31 +0000
Checked in by : Robert Osfield
Added preliminary work on osg::TransferFunction

Sat, 10 Mar 2007 11:38:26 +0000
Checked in by : Robert Osfield
Updated wrappers

Sat, 10 Mar 2007 11:38:13 +0000
Checked in by : Robert Osfield
From Luigi Calori, CMakeLists.txt support for wrappers

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"

Fri, 9 Mar 2007 14:54:41 +0000
Checked in by : Robert Osfield
From Luigi Calori, improvements to handling of install under Unix

Fri, 9 Mar 2007 14:54:01 +0000
Checked in by : Robert Osfield
Commenting out Matrix_implementation.cpp entry to avoid it being installed.

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.

Removed the GDAL checks in the examples/CMakeLists.txt





Fri, 9 Mar 2007 09:08:32 +0000
Checked in by : Robert Osfield
Setting of binary/exe path moved to root CMakeLists.txt

Fri, 9 Mar 2007 09:07:05 +0000
Checked in by : Robert Osfield
Ran dos2unix

Thu, 8 Mar 2007 21:19:27 +0000
Checked in by : Robert Osfield
From Luigi Calori, fixed build of freetype and zlib.

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

Thu, 8 Mar 2007 15:31:36 +0000
Checked in by : Robert Osfield
Ran dos2unx of CMakeLists.txt files

Thu, 8 Mar 2007 15:29:53 +0000
Checked in by : Robert Osfield
From Luigi Calori, added support macro based build of plugins

Tue, 6 Mar 2007 12:03:33 +0000
Checked in by : Robert Osfield
Added application CMakeLists.

Tue, 6 Mar 2007 12:02:59 +0000
Checked in by : Robert Osfield
From Luigi Calori, quick hack to make example compile in source.

Tue, 6 Mar 2007 12:01:55 +0000
Checked in by : Robert Osfield
Changed _pixel_x and _pixel_y to be floats

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

Mon, 5 Mar 2007 17:46:50 +0000
Checked in by : Robert Osfield
Updated wrappers

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."





Mon, 5 Mar 2007 13:27:55 +0000
Checked in by : Robert Osfield
From Luigi Calori, added marco support

Mon, 5 Mar 2007 12:11:15 +0000
Checked in by : Robert Osfield
Added missing files

Mon, 5 Mar 2007 12:09:42 +0000
Checked in by : Robert Osfield
Added missing files

Sun, 4 Mar 2007 13:05:33 +0000
Checked in by : Robert Osfield
From Eric Wing and others, first cut of CMake build support

Sun, 4 Mar 2007 13:04:56 +0000
Checked in by : Robert Osfield
From Mike Wittman, updated project to reflect new additions to osgIntrospection

Sun, 4 Mar 2007 13:04:12 +0000
Checked in by : Robert Osfield
Fixed command line parameter reporting

Sun, 4 Mar 2007 13:03:47 +0000
Checked in by : Robert Osfield
From Mike Wittman, updates to support new protected method support

Fri, 2 Mar 2007 16:14:44 +0000
Checked in by : Robert Osfield
Added proper maths for distortion correction of pufferfish dome.

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.

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."

Thu, 1 Mar 2007 11:58:36 +0000
Checked in by : Robert Osfield
Updated wrappers

Thu, 1 Mar 2007 11:54:30 +0000
Checked in by : Robert Osfield
From Mike Wittman, added protected function support

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.

Thu, 1 Mar 2007 09:19:36 +0000
Checked in by : Robert Osfield
Added osgShadow to dependencies of osgdepthshadow example

Wed, 28 Feb 2007 12:15:01 +0000
Checked in by : Robert Osfield
Ran cleanup to fix tabs

Wed, 28 Feb 2007 11:18:43 +0000
Checked in by : Robert Osfield
Added support for direction lights to ShadowTexture

Wed, 28 Feb 2007 11:12:51 +0000
Checked in by : Robert Osfield
From Mihai Radu, Added support for directional lights to ShadowMap

Wed, 28 Feb 2007 10:10:21 +0000
Checked in by : Robert Osfield
Added mention of LODScale in docs

Wed, 28 Feb 2007 10:08:45 +0000
Checked in by : Robert Osfield
From Paul Martz, updated the LOD documentation

Tue, 27 Feb 2007 21:31:45 +0000
Checked in by : Robert Osfield
Added osgTerrain into default build of wrappers

Tue, 27 Feb 2007 21:18:37 +0000
Checked in by : Robert Osfield
Further clean up for refernces to osgTerrain/DataSet

Tue, 27 Feb 2007 21:16:23 +0000
Checked in by : Robert Osfield
Removed osgdem as its now part of the VirtualPlanetBuilder project

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.

Updated wrappers




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

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.



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

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

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

Mon, 26 Feb 2007 11:23:55 +0000
Checked in by : Robert Osfield
Removed ReentrantMutex

Sun, 25 Feb 2007 20:05:23 +0000
Checked in by : Robert Osfield
Further work on add serialization support for osgViewer configurations

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

Sat, 24 Feb 2007 19:54:39 +0000
Checked in by : Robert Osfield
Set propset in .dsp to fix eol to CRLF

Sat, 24 Feb 2007 19:51:21 +0000
Checked in by : Robert Osfield
Set svn::eol style to CRLF

Sat, 24 Feb 2007 09:04:27 +0000
Checked in by : Robert Osfield
Added makefile

Fri, 23 Feb 2007 21:06:17 +0000
Checked in by : Robert Osfield
Used Mike Wittman suggestion from setting CRLF on .dsp files

Fri, 23 Feb 2007 16:31:34 +0000
Checked in by : Robert Osfield
Moved Block, ReentrantMutex and ReadWriteMutex into OpenThreads.

Fri, 23 Feb 2007 12:14:52 +0000
Checked in by : Robert Osfield
Updated wrappers

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

Fri, 23 Feb 2007 11:52:28 +0000
Checked in by : Robert Osfield
Added new --Viewer and --CompositeViewer for implementation of HUDs

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

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.

Thu, 22 Feb 2007 11:17:45 +0000
Checked in by : Robert Osfield
Moved distortion mesh creation out into seperate function

Thu, 22 Feb 2007 10:56:36 +0000
Checked in by : Robert Osfield
Removed the compile objects in init in the SceneView::setDefaults() setup.

Thu, 22 Feb 2007 10:31:09 +0000
Checked in by : Robert Osfield
Fixed calculation of inverted coordindates

Thu, 22 Feb 2007 09:16:54 +0000
Checked in by : Robert Osfield
Added STATIC_OBJECT_DETECTION optimizer pass to OpenFlight plugin

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".

Wed, 21 Feb 2007 20:47:32 +0000
Checked in by : Robert Osfield
Removed debugging info

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

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

Wed, 21 Feb 2007 19:41:03 +0000
Checked in by : Robert Osfield
Wired up RTT cubemap cameras and simple distortion mesh.

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

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."

Wed, 21 Feb 2007 14:17:15 +0000
Checked in by : Robert Osfield
Removed debug messages

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.

Wed, 21 Feb 2007 11:46:49 +0000
Checked in by : Robert Osfield
Removed GL_TEXTURE_RECTANGLE_NV entries

Tue, 20 Feb 2007 21:06:24 +0000
Checked in by : Robert Osfield
Further work on dome RTT

Tue, 20 Feb 2007 20:56:03 +0000
Checked in by : Robert Osfield
Fixed inheritance check for copying clear colour to slave cameras

Tue, 20 Feb 2007 16:46:53 +0000
Checked in by : Robert Osfield
Added inhertCullSettings before SceneView::cull() calls

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.

Tue, 20 Feb 2007 09:48:59 +0000
Checked in by : Robert Osfield
Added missing \ to end osgGA entry

Tue, 20 Feb 2007 09:48:04 +0000
Checked in by : Robert Osfield
Added osgViewer and osgShadow to the wrapper build directories

Mon, 19 Feb 2007 20:57:08 +0000
Checked in by : Robert Osfield
Added g/setUpdateVistor method

Mon, 19 Feb 2007 16:59:52 +0000
Checked in by : Robert Osfield
Added command line arguments descriptions

Mon, 19 Feb 2007 16:45:42 +0000
Checked in by : Robert Osfield
Added -1, -2 and -3 model creation options to osgshadow example.

Mon, 19 Feb 2007 15:42:32 +0000
Checked in by : Robert Osfield
Updated wrappers

Mon, 19 Feb 2007 15:26:14 +0000
Checked in by : Robert Osfield
Added support for ShadowTexture and ShadowMap to osgshadow example

Mon, 19 Feb 2007 14:21:01 +0000
Checked in by : Robert Osfield
Added option to use osgShadow::ShadowMap technique

Mon, 19 Feb 2007 14:20:18 +0000
Checked in by : Robert Osfield
Implemented basic ShadowMap technique

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

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

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.

Sat, 17 Feb 2007 17:16:13 +0000
Checked in by : Robert Osfield
Added basic set up of the RTT camera.

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"

Fri, 16 Feb 2007 17:45:53 +0000
Checked in by : Robert Osfield
Fixed genwrapper so that it handles .svn directories, updated wrappers

Fri, 16 Feb 2007 17:35:52 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 16 Feb 2007 17:34:34 +0000
Checked in by : Robert Osfield
Added new osg::ComputeBoundsVisitor

Fri, 16 Feb 2007 16:37:16 +0000
Checked in by : Robert Osfield
Added pushViewport/popViewport to CullVisitor::apply(Camera&)

Fri, 16 Feb 2007 15:29:47 +0000
Checked in by : Robert Osfield
Updated wrappers

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."

Fri, 16 Feb 2007 15:14:16 +0000
Checked in by : Robert Osfield
Fixed typo

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."




Fri, 16 Feb 2007 13:17:04 +0000
Checked in by : Robert Osfield
Removed debugging readImageFile, and done further work on RTT setup.

Fri, 16 Feb 2007 10:20:10 +0000
Checked in by : Robert Osfield
Fleshed out a bit more of the ShadowTexture implementation

Fri, 16 Feb 2007 10:19:15 +0000
Checked in by : Robert Osfield
Added osgShadow::ShadowTexture set up

Fri, 16 Feb 2007 06:39:23 +0000
Checked in by : Robert Osfield
Added enabling of the stencil buffer when setting up ShadowVolume path

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

Fri, 16 Feb 2007 05:46:50 +0000
Checked in by : Robert Osfield
Fixed typo that was breaking the build

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

Or to ShadowVolume rechnique specifically:

  osgviewer cow.osg.sv.shadow



Thu, 15 Feb 2007 17:31:30 +0000
Checked in by : Robert Osfield
Added .osg support for osgShadow NodeKit

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

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.

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."

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

Thu, 15 Feb 2007 14:47:06 +0000
Checked in by : Robert Osfield
Twaaked comments

Thu, 15 Feb 2007 14:04:22 +0000
Checked in by : Robert Osfield
From André Garneau, Win32 build fixes

Thu, 15 Feb 2007 12:24:04 +0000
Checked in by : Robert Osfield
Added context sharing support.

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.

Thu, 15 Feb 2007 10:25:11 +0000
Checked in by : Robert Osfield
Removed inappropriate Stats:: prefix

Thu, 15 Feb 2007 09:31:00 +0000
Checked in by : Robert Osfield
Fixed warnings

Thu, 15 Feb 2007 09:17:03 +0000
Checked in by : Robert Osfield
Added extra spaces between <> template declarations

Thu, 15 Feb 2007 08:29:27 +0000
Checked in by : Robert Osfield
Updated wrappers

Thu, 15 Feb 2007 08:29:09 +0000
Checked in by : Robert Osfield
Removed setFrameStamp

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<osg::Stats> into StatsHandler's callbacks



Thu, 15 Feb 2007 01:23:00 +0000
Checked in by : Robert Osfield
Improved the update of the shadow volume.

Thu, 15 Feb 2007 00:53:52 +0000
Checked in by : Robert Osfield
Removed extrandous Stats:: prefix

Wed, 14 Feb 2007 20:44:17 +0000
Checked in by : Robert Osfield
Added support for osg::State::DynamicObjectCount into the RTT codes

Wed, 14 Feb 2007 20:14:45 +0000
Checked in by : Robert Osfield
Added support for sharing context to GraphicsWindowX11

Wed, 14 Feb 2007 17:28:33 +0000
Checked in by : Robert Osfield
Added getState()->setGraphicsContext(this); to the various GrpahicsWindow implementations

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.

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

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

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);

to:

viewport->layout.viewL= views ?
(Lib3dsView*)calloc(sizeof(Lib3dsView),views) : 0;"



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.

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."



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.

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.

Wed, 14 Feb 2007 12:42:10 +0000
Checked in by : Robert Osfield
Set the DataVariance of updating text to DYNAMIC

Wed, 14 Feb 2007 12:40:45 +0000
Checked in by : Robert Osfield
From Jean-Sebastien Guay, fixed path.

Wed, 14 Feb 2007 12:00:33 +0000
Checked in by : Robert Osfield
Removed debugging run method.

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

Wed, 14 Feb 2007 11:21:41 +0000
Checked in by : Robert Osfield
From Mike Wittman, added spaces into  < > macros

Tue, 13 Feb 2007 22:39:59 +0000
Checked in by : Robert Osfield
Fixed warning

Tue, 13 Feb 2007 22:24:51 +0000
Checked in by : Robert Osfield
Fixed warnings

Tue, 13 Feb 2007 22:22:35 +0000
Checked in by : Robert Osfield
Fixed warning

Tue, 13 Feb 2007 22:16:18 +0000
Checked in by : Robert Osfield
Fixed warnings.

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

Tue, 13 Feb 2007 17:39:42 +0000
Checked in by : Robert Osfield
Changed the DeleteHandler so by default it doesn't cache objects

Tue, 13 Feb 2007 16:03:35 +0000
Checked in by : Robert Osfield
Added OSG_THREADING environmental variable to osgViewer::Viewer::suggestBestThreadingModel

Tue, 13 Feb 2007 15:57:01 +0000
Checked in by : Robert Osfield
Reduced the RTT texture size to 256x256 to make setup quicker

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."

Tue, 13 Feb 2007 14:42:00 +0000
Checked in by : Robert Osfield
Added support for ColorMask to .ive plugin

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.

PaletteRecords.cpp
Use search path when looking for shader files.

PrimaryRecords.cpp
Added preset uniforms "TextureUnit0", "TextureUnit1", "TextureUnit2"
and "TextureUnit3" for GLSL shaders."



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."



Tue, 13 Feb 2007 13:47:37 +0000
Checked in by : Robert Osfield
Added support for osg::Stencil into .ive

Tue, 13 Feb 2007 12:17:33 +0000
Checked in by : Robert Osfield
From Ulrich Hertlein, added support for osg::BlendColor to .ive format.

Tue, 13 Feb 2007 12:11:32 +0000
Checked in by : Robert Osfield
Added support for osg::BlendColor to .osg plugin

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.

Tue, 13 Feb 2007 09:38:07 +0000
Checked in by : Robert Osfield
Changed the BlendFunction StateSet to DYNAMIC

Tue, 13 Feb 2007 09:33:35 +0000
Checked in by : Robert Osfield
From Mike Wittman, support for reference parameters

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.

Mon, 12 Feb 2007 18:02:15 +0000
Checked in by : Robert Osfield
Updated wrappers

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."

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."

Mon, 12 Feb 2007 15:59:53 +0000
Checked in by : Robert Osfield
Updated wrappers

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

Mon, 12 Feb 2007 13:39:18 +0000
Checked in by : Robert Osfield
Added osgViewer::HelpHandler

Sun, 11 Feb 2007 22:01:57 +0000
Checked in by : Robert Osfield
Updated wrappers

Sun, 11 Feb 2007 21:24:38 +0000
Checked in by : Robert Osfield
Incresed the resolution of the trackball dragger geometry

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.

Sun, 11 Feb 2007 15:42:55 +0000
Checked in by : Robert Osfield
Added osgText to dependency of osgmanipualator example.

Sun, 11 Feb 2007 15:41:47 +0000
Checked in by : Robert Osfield
Fixed Producer lib entry

Sun, 11 Feb 2007 12:23:19 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

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.

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."



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.

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

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"/
"



Fri, 9 Feb 2007 16:27:43 +0000
Checked in by : Robert Osfield
Updated wrappers

Fri, 9 Feb 2007 16:03:29 +0000
Checked in by : Robert Osfield
Moved the basic ShadowVolume code into osgShadow

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



Fri, 9 Feb 2007 14:35:43 +0000
Checked in by : Robert Osfield
From Joakim Simmonsson, fixed inconsistent newlines

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."

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

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

Fri, 9 Feb 2007 12:08:46 +0000
Checked in by : Robert Osfield
Removed debug message

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."



Thu, 8 Feb 2007 22:31:02 +0000
Checked in by : Robert Osfield
From Brian Keener, fixes for Cygwin filename handling

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)."

Thu, 8 Feb 2007 20:27:02 +0000
Checked in by : Robert Osfield
Updated wrappers

Thu, 8 Feb 2007 19:34:38 +0000
Checked in by : Robert Osfield
Further work on osgShadow::ShadowTechnique API

Thu, 8 Feb 2007 17:23:40 +0000
Checked in by : Robert Osfield
Flesh out more of basic ShadowTechnique and ShadowedScene API.

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

Thu, 8 Feb 2007 15:01:27 +0000
Checked in by : Robert Osfield
Cleaned up readString

Thu, 8 Feb 2007 14:59:20 +0000
Checked in by : Robert Osfield
Fixed return in readString.

Thu, 8 Feb 2007 12:47:35 +0000
Checked in by : Robert Osfield
Added the threading model to stats

Thu, 8 Feb 2007 12:24:33 +0000
Checked in by : Robert Osfield
Added threading model option to command line parameters

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

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

Thu, 8 Feb 2007 12:14:26 +0000
Checked in by : Robert Osfield
Updated the handling of closing of windows

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

Thu, 8 Feb 2007 11:26:04 +0000
Checked in by : Robert Osfield
From Stefan Eilemann, addd more extensive XErrorHandler output

Thu, 8 Feb 2007 11:24:29 +0000
Checked in by : Robert Osfield
Added setting of the DatabasePager's affinity.

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."



Wed, 7 Feb 2007 21:56:36 +0000
Checked in by : Robert Osfield
Updated wrappers

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.

Wed, 7 Feb 2007 21:16:22 +0000
Checked in by : Robert Osfield
Disabled the toggling to ThreadModel CullThreadPerCameraDrawThreadPerContext

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.

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

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.

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?

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.
"



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."



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

Tue, 6 Feb 2007 17:00:20 +0000
Checked in by : Robert Osfield
Updated wrappers

Tue, 6 Feb 2007 16:23:19 +0000
Checked in by : Robert Osfield
Re-enabled processor affinity

Tue, 6 Feb 2007 14:38:08 +0000
Checked in by : Robert Osfield
Added new Viewer threading model options

Tue, 6 Feb 2007 14:20:21 +0000
Checked in by : Robert Osfield
Updated wrappers

Tue, 6 Feb 2007 14:20:04 +0000
Checked in by : Robert Osfield
Clean up getDrawable() method

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

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

Mon, 5 Feb 2007 14:56:41 +0000
Checked in by : Robert Osfield
Tweak API and updated wrappers to get wrappers to build

Mon, 5 Feb 2007 13:44:16 +0000
Checked in by : Robert Osfield
Added Camera's s/getCameraThread() and updated wrappers

Mon, 5 Feb 2007 12:13:52 +0000
Checked in by : Robert Osfield
Updated wrappers

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 ........
 "



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."

Mon, 5 Feb 2007 10:48:20 +0000
Checked in by : Robert Osfield
From Brede Johansen, added OSG_EXPORT to DeleteHandler for windows build

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.

The file should contain a line for each mapping, with the "map" extension first, followed by a space or tab, then the plugin identifier. For example, a file containing this line:

flt OpenFlight

would map the ".flt" extension to the OpenFlight plugin."



Fri, 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



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.

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.

Thu, 1 Feb 2007 11:07:53 +0000
Checked in by : Robert Osfield
Improved the toggling on/off of thrading modes

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

Wed, 31 Jan 2007 22:24:20 +0000
Checked in by : Robert Osfield
Further work on new threading model.

Wed, 31 Jan 2007 11:12:58 +0000
Checked in by : Robert Osfield
Removed old #if #else #end block

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

Tue, 30 Jan 2007 17:12:33 +0000
Checked in by : Robert Osfield
Added display listing of ShadowVolume

Tue, 30 Jan 2007 15:37:30 +0000
Checked in by : Robert Osfield
Added automatic aspect ratio adjustmeent to View::setUpViewAcrossAllScreens() and setUpViewOnSingleScreen.

Tue, 30 Jan 2007 14:47:13 +0000
Checked in by : Robert Osfield
Updated wrappers

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."

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."



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.

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.

Tue, 30 Jan 2007 11:47:44 +0000
Checked in by : Robert Osfield
Updated wrappers

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.



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.

Mon, 29 Jan 2007 22:59:04 +0000
Checked in by : Robert Osfield
Made _useMainThreadForRenderingalTraversal(false)

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

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.

Sun, 28 Jan 2007 17:12:57 +0000
Checked in by : Robert Osfield
Added use of Viewe Realize graphics operation.

Sun, 28 Jan 2007 17:11:21 +0000
Checked in by : Robert Osfield
Added set/getRealizeOperation() to Viewer and CompositeViewer

Sun, 28 Jan 2007 09:53:02 +0000
Checked in by : Robert Osfield
Updated wrappers

Sun, 28 Jan 2007 09:30:11 +0000
Checked in by : Robert Osfield
From Vlad Danciu, fixed leaf depth sort functor

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."

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.

Sat, 27 Jan 2007 17:52:11 +0000
Checked in by : Robert Osfield
Updated wrappers

Sat, 27 Jan 2007 14:27:54 +0000
Checked in by : Robert Osfield
Added access methods to PositionStateContainer

Sat, 27 Jan 2007 14:27:29 +0000
Checked in by : Robert Osfield
Added light source.

Sat, 27 Jan 2007 12:54:58 +0000
Checked in by : Robert Osfield
Further work on shadow CullCallback

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

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.

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

Fri, 26 Jan 2007 16:08:52 +0000
Checked in by : Robert Osfield
Added Program pointer to help with uniform apply.

Fri, 26 Jan 2007 09:44:49 +0000
Checked in by : Robert Osfield
Added custom callback to capture RenderBins

Thu, 25 Jan 2007 12:16:38 +0000
Checked in by : Robert Osfield
#ifdef'd out the artifical simulation time code

Thu, 25 Jan 2007 12:02:51 +0000
Checked in by : Robert Osfield
Added osg::FrameStamp::set/getSimulationTime().Added setting of osg_SimulationTime and osg_DeltaSimulationTime to the uniforms set by SceneView

Added frame(double simulationTime) and advance(double simulationTime) parameters to
osgViewer::SimpleViewer, Vewer and CompositeViewer.

Updated various examples and Nodes to use SimulationTime where appropriate.



Thu, 25 Jan 2007 10:02:20 +0000
Checked in by : Robert Osfield
From Gordon Tomlinson, fixes to BoundingSphere::expandBy(BoundingSphere&)

Wed, 24 Jan 2007 12:59:11 +0000
Checked in by : Robert Osfield
Updated wrappers

Wed, 24 Jan 2007 12:35:29 +0000
Checked in by : Robert Osfield
From Martin Spott, "To enable osgviewer to link on Solaris added -lmtsk as SunOS/SunStudio implements some threading stuff in libmtsk."

Wed, 24 Jan 2007 12:28:18 +0000
Checked in by : Robert Osfield
Added support for GUIEventAdapter::setHandled

Wed, 24 Jan 2007 12:21:29 +0000
Checked in by : Robert Osfield
Added setHandled/getHandled to osgGA::GUIEventAdapter

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.

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)

    * 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"

---------------------------------------------------



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 <iostream>

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<Vec3>& 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<reflected_type, ret >(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<reflected_type, ret >(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 <cmath> 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 <cmath> 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 <osg/TexEnv>

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 <string> 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 <vector.h> 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 <num>

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 <level>"

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<short>

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 <map_name> <texunit>



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<std::streampos> 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<osg::Image> 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 <num> 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 <osgUtil/RenderToTexture>

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 <float>

and

   OSG_MAXIMUM_OBJECTS_TO_COMPILE_PER_FRAME <int>

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<osg/AlphaFunc> 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 <algorithm> 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 <osg/State> 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 <algorithm>

Fri, 8 Apr 2005 10:32:10 +0000
Checked in by : Robert Osfield
Added #include <osg/io_utils>

Fri, 8 Apr 2005 09:59:40 +0000
Checked in by : Robert Osfield
Added #include <osg/io_utils>

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 <osg/io_utils>

Fri, 8 Apr 2005 09:45:06 +0000
Checked in by : Robert Osfield
Added #include <osg/io_utils>

Fri, 8 Apr 2005 09:36:42 +0000
Checked in by : Robert Osfield
Added #include <osg/io_utils>

Fri, 8 Apr 2005 09:18:15 +0000
Checked in by : Robert Osfield
Added #include <osg/io_utils>

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<class> instances to template<typename>

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<modelname>.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<T, CmpT>::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=<hostname>  - Specify the host to connect to to retreive files   server_prefix=<directory> - 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 <host>:file.<ext>.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<typeinfo> 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 <value>" 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 <size>, --tile-terrain-size <size> and --comment <string> 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 <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 <string>

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 <memory> 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<GLMode>&) across to StateAttribute::getModeUsage(StateAttribute::ModeUsage&).

Wed, 3 Mar 2004 13:27:21 +0000
Checked in by : Robert Osfield
Removed include <iostream> 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<DisplayListiVisitor> 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<Font> 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 <duration>float</duration> 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<osgSim/LightPointNode> 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 <ratio> 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<Producer::KeyboardMouse> 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 <sys/types.h> 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 <unistd.h> 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 <TextureRectangle>

Fri, 27 Jun 2003 14:33:13 +0000
Checked in by : Robert Osfield
Added #include<TextureRectangle>

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 <osg/Timer> 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<algorithm> 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 <osg/Export> 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 <sstream>

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 <stdlib.h> 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<osg/GLExtensions> 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<string> 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<StateAttribute*>.

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<unistd.h> 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 <osg/ref_ptr> 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 <osgUtil/CameraManipulator (etc) to osgGA/CameraManipulator and the extra dependency of the link line.

Sat, 8 Jun 2002 19:58:05 +0000
Checked in by : Robert Osfield
More more occlusion culling.

Fri, 7 Jun 2002 20:03:08 +0000
Checked in by : Robert Osfield
Added osgoccluder demo, it creates a single quad occluder, but the culling code is not complete yet, so it won't actually do any occlusion culling, the demo is here so I can test the evolving occlusion culling code.

Fri, 7 Jun 2002 14:54:33 +0000
Checked in by : Don BURNS
#ifdefed out cstdlib for irix

Fri, 7 Jun 2002 13:57:20 +0000
Checked in by : Robert Osfield
Added default IntersectVisitor::_hitReportingMode to be ONLY_NEAREST_HIT.

Fri, 7 Jun 2002 11:32:18 +0000
Checked in by : Robert Osfield
Fixed a couple of problems with the NodeKit support.

Fri, 7 Jun 2002 10:03:49 +0000
Checked in by : Robert Osfield
Added support for NodeKits to the osgDB::Registry.  Object names in .osg files which have the library::class syntax will automatically invoke the dynamic loading of either a nodekit or database plugin.

Thu, 6 Jun 2002 14:00:15 +0000
Checked in by : Robert Osfield
Fixed crash in loading osg files which have object types which arn't recognized.

Thu, 6 Jun 2002 13:25:36 +0000
Checked in by : Robert Osfield
Addd libraryName() method to osg::Object in preperation for the osgDB support for node kits plugins.

Wed, 5 Jun 2002 16:11:57 +0000
Checked in by : Robert Osfield
Removed out of date comment on calling dirtyTransform() which no longer exist in osg::Camera.

Wed, 5 Jun 2002 16:00:23 +0000
Checked in by : Robert Osfield
Renamed the osgparticle demo so that it wouldn't clash with the osgParticle library.

Wed, 5 Jun 2002 14:14:32 +0000
Checked in by : Robert Osfield
Fixed compile problems under VisualStudio6.0

Wed, 5 Jun 2002 13:51:14 +0000
Checked in by : Robert Osfield
Added OSGPARTICLE_LIBRARY define.

Wed, 5 Jun 2002 13:11:26 +0000
Checked in by : Robert Osfield
Another try at fixing wayward VisualStudio.dsw file.

Wed, 5 Jun 2002 13:06:44 +0000
Checked in by : Robert Osfield
Fixed typo.

Wed, 5 Jun 2002 13:00:31 +0000
Checked in by : Robert Osfield
Updated VisualStudio files for osgParticle.

Wed, 5 Jun 2002 12:44:55 +0000
Checked in by : Robert Osfield
Checked in osgParticle, writtten by Marco Jez.

Wed, 5 Jun 2002 12:35:59 +0000
Checked in by : Robert Osfield
Updated docs.

Wed, 5 Jun 2002 09:39:04 +0000
Checked in by : Robert Osfield
Added new osg::OccluderNode which subclasses from osg::Group, and will provide hooks for adding ConvexPlanerOccluders to the scene.

Tue, 4 Jun 2002 15:56:41 +0000
Checked in by : Robert Osfield
Futher refinement of the new CullingSet support.

Tue, 4 Jun 2002 15:21:24 +0000
Checked in by : Robert Osfield
Further work on moving culling functionality from CullVisitor into CullingSet, in preperation for occlusion culling.

Mon, 3 Jun 2002 18:38:40 +0000
Checked in by : Robert Osfield
Fix to CullVisitor::popCullingSet().

Mon, 3 Jun 2002 17:54:04 +0000
Checked in by : Robert Osfield
Warning fix for Windows

Mon, 3 Jun 2002 17:49:28 +0000
Checked in by : Robert Osfield
Updates to shadow occlusion culling code.

Mon, 3 Jun 2002 15:39:41 +0000
Checked in by : Robert Osfield
Additions for the support for ConvexPlaneOccluder. Work still underway.

Mon, 3 Jun 2002 11:16:58 +0000
Checked in by : Robert Osfield
Did a to_dos on all the VisualStudio project files, and changed them to use the cvs admin -ko and each file to prevent keyword expansion.

Mon, 3 Jun 2002 10:44:18 +0000
Checked in by : Robert Osfield
Changed the ReadResult handling in readNode so that it better handled the case when a plugin hasn't been found to load a plugin.

Mon, 3 Jun 2002 10:40:53 +0000
Checked in by : Robert Osfield
Changed file endings to dos.

Wed, 29 May 2002 19:34:01 +0000
Checked in by : Robert Osfield
Fixes for warnings under VisualStudio

Wed, 29 May 2002 16:15:10 +0000
Checked in by : Robert Osfield
Fix for IRIX build.

Wed, 29 May 2002 16:05:14 +0000
Checked in by : Robert Osfield
Changed the endings to dos.

Tue, 28 May 2002 23:43:22 +0000
Checked in by : Robert Osfield
Added new osgcallback demo, and updated small API changes to improve the flexiblity of callbacks.Added beginings of convex planer occlusions culling.



Tue, 28 May 2002 16:11:49 +0000
Checked in by : Robert Osfield
Added pragma to disable warning under VisualStudio.NET.

Tue, 28 May 2002 15:17:45 +0000
Checked in by : Robert Osfield
Fixed bug in the Use mechansim in Registry.cpp, sumbitted by Macro Jez.

Tue, 28 May 2002 14:33:13 +0000
Checked in by : Robert Osfield
Adde osgText::Text::setColor/getColor so that osg::Material's need not be attached to set the text color.

Tue, 28 May 2002 13:06:32 +0000
Checked in by : Robert Osfield
Added Norman Vine to the authors list for his work on the Cygwin port.

Tue, 28 May 2002 11:40:37 +0000
Checked in by : Robert Osfield
Changes for Cygwin build, sent in by Norman Vine.

Tue, 28 May 2002 11:39:51 +0000
Checked in by : Robert Osfield
Changed the method of expanding of the near and far planes in CullVisitor::popProjectionMatrix so that it better handled models of zero thickness orthogonal to the viewing direction.

Tue, 28 May 2002 10:24:43 +0000
Checked in by : Robert Osfield
Various updates to operations related to cull traversal.

Mon, 27 May 2002 06:37:51 +0000
Checked in by : Robert Osfield
Removed , from end of enum.

Sat, 25 May 2002 09:30:38 +0000
Checked in by : Robert Osfield
Fixed crash associated with searching in an empty filepath.

Thu, 23 May 2002 15:38:03 +0000
Checked in by : Robert Osfield
Added the patched verions VisualStudio's langext.dat file, which can be used to replace VisualStudio standard one, this enabled VS to reconginse OSG header files as C++ files.

Thu, 23 May 2002 15:35:12 +0000
Checked in by : Robert Osfield
Fixed a bug in the Optimizer::RemoveDuplicateNodesVisitor which was prevent removal of node which could have been removed.Added so extra convinience methods to ClippingVolume and utilized them in the
CullVisitor to push and pop only culling planes that are active.



Wed, 22 May 2002 19:58:43 +0000
Checked in by : Don BURNS
Fixed spelling error Calander -> 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 <osg/..> 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.
