2008-05-30 21:08 +0000 [r8393] robert: * Added version check on FIND_PACKAGE(PkgConfig) to attempt to fix build with older versions of CMake 2008-05-30 20:15 +0000 [r8392] robert: * Added applyMaskAction(CLEAR_COLOR) to Camera::setClearColor() to enable proper inheritance 2008-05-30 17:03 +0000 [r8391] robert: * Updated ChangeLog 2008-05-30 16:53 +0000 [r8390] robert: * From Jean-Sebastien Guay, "This is a fix for the warning we've been discussing on osg-users. CMake 2.6.0 allows quotes to be unescaped in strings in ADD_DEFINITIONS statements, where we had to escape them before (CMake 2.4.x). Setting CMake policy CMP0005 to OLD removes the warning for 2.6.0, and the quotes are still escaped, so it still works with 2.4.x. " 2008-05-30 12:59 +0000 [r8389] robert: * From Luc Frauciel, Added support for osgTerrain::ValidDataOperator. From Robert Osfield, added versioning to the above. 2008-05-30 11:44 +0000 [r8387-8388] robert: * Updated packgage number for 2.5.1 developer release * Fixed cirular reference in DatabaseRequest 2008-05-29 13:54 +0000 [r8386] robert: * Moved enum to public scope and rebuilt wrappers to fix wrapper build error 2008-05-29 11:45 +0000 [r8385] robert: * Added code to catch erroneous Dof axis settings 2008-05-29 11:13 +0000 [r8384] robert: * Improved the NaN depth detection within CullVisitor and debug output. 2008-05-29 11:09 +0000 [r8383] robert: * Improved the NaN error detection and reporting. 2008-05-28 17:56 +0000 [r8382] robert: * Added catch for NaN depth values 2008-05-28 16:14 +0000 [r8381] robert: * From Wojiech Lewandowski, Workaround for wglMakeCurrent bug in NVidia drivers by calling wglMakeCurrent twice. This bug has been reported to NVidia, confirmed and fixed by NVidia but awaits verifiaction and release if a driver which fixes this bug. 2008-05-28 14:37 +0000 [r8380] robert: * Updated wrappers 2008-05-28 14:11 +0000 [r8379] robert: * From Adrian Egli, improvements to ParallelSplitShadowMap implementation 2008-05-28 13:51 +0000 [r8378] robert: * From Thibault Genessay, "The PNG plugin crashes when you try to read a malformed file (attached is an example). This can happen in circumstances that are not manageable by the OSG itself (e.g. 3rd party buggy program) but one would expect the plugin to be able to recover by returning ReadResult::ERROR_IN_READING_FILE. libpng provides two callbacks for warnings and errors - those are currently unused. By default, they point to function that call exit() or something similar (the default error callback never returns). This patch registers the callbacks using libpng's mechanisms, makes the warning callback emit an osg::notify(osg::WARN) message and the error callback throw an error. The reading process is enclosed in a try...catch block. Upon error, the memory is freed and ReadResult::ERROR_IN_READING_FILE is returned. " 2008-05-28 13:45 +0000 [r8377] robert: * From Thibault Genessay, "On Windows, when setting a cursor through osgViewer::GraphicsWindow::setCursor() the new cursor type is recorded but not applied until windows sends another WM_SETCURSOR message. This delays the application of the cursor to the next mouse event. The attached file fixes this by setting the new cursor with a call to ::SetCursor() immediately. " 2008-05-28 13:01 +0000 [r8376] robert: * From Michael Platings, "Yes it's definitely a driver problem - I submitted a bug report to nvidia 6 months ago and the issue is still "in progress". I've given up waiting for them! Platform - various Intel Windows XP SP2 PCs with various nvidia cards including GeForce 8800 GTS and Quadro FX 4500, and various driver versions including the latest WHQL 175.16. I investigated your concerns about glGenerateMipmapEXT being slower than GL_GENERATE_MIPMAP_SGIS, and for power-of-two textures, to my surprise it is. For a 512*512 texture, glGenerateMipmapEXT takes on average 10ms, while GL_GENERATE_MIPMAP_SGIS takes on average 6ms. Therefore I have modified the code to only use glGenerateMipmapEXT if the texture has a non-power-of-two width or height. I am resubmitting all the files previously submitted (only "Texture.cpp" has significant changes since my previous submission, I've also replaced tabs with spaces in "Texture"). " 2008-05-28 12:49 +0000 [r8375] robert: * From Mathieu Marache, first post: "I had the problem that debug and release version of the plugins had the same name under linux. These minors modification to Registry and the CMake support files enable to have both Release and Debug version of the plugins to coexist and be found by there respective runtimes." follow up post: "I've gone ahead and added a preprocessor directive with the editable CMAKE_DEBUG_POSTFIX. I modified Registry.cpp to take this new preprocessor directive called OSG_DEBUG_POSTFIX while looking for libraries in Debug mode for the windows (msvc) and the linux platforms. MinGW, cygwin and Apple are still left out this proposal." Notes from Robert Osfield, completed the work in change d entries to use OSG_DEBUG_POSTFIX 2008-05-28 11:58 +0000 [r8374] robert: * Updated wrappers 2008-05-28 11:19 +0000 [r8373] robert: * From Michael Platings, "On nvidia cards mipmap generation for non-power-of-two textures with GL_GENERATE_MIPMAP_SGIS is very slow (over half a second for a 720*576 texture). However, glGenerateMipmapEXT() performs well (16ms for the same texture), so I have modified the attached files to use Texture::generateMipmap() if glGenerateMipmapEXT is supported, instead of enabling & disabling GL_GENERATE_MIPMAP_SGIS." Notes, from Robert Osfield, I've tested the out of the previous path using GL_GENERATE_MIPMAP_SGIS and non power of two textures on NVidia 7800GT and Nvidia linux drivers with the image size 720x576 and only get compile times of 56ms, so the above half second speed looks to be a driver bug. With Muchael's changes the cost goes done to less than 5ms, so it's certainly an effective change, even given that Michael's poor expereiences with GL_GENERATE_MIP_SGIS do look to be a driver bug. 2008-05-27 20:53 +0000 [r8372] robert: * From Brad Anderegg, "This submission fixes two bugs and helps some performance problems we have been having with txp databases. The first bug is that the terrain tiles will page out to a lower LOD when they are right in front of you. The issue appears to be with the blacklisting heuristic which forces a tile to LOD 1, commenting out the usage of blacklisting with the LOD Nodes fixes our problem. This code change was made to line 29 of TXPPageLOD.cpp. The second bug we were experiencing is that the database reader options never make it through to the archive loader. The use case for us appeared when the FID codes for the terrain were no longer on the materials. As it turns out the archive was being created twice, once by TXPNode and once by the ReaderWriterTXP on getArchive() so the options never actually got set on the archive that was being loaded. The fix is to first create the archive by calling getArchive on the ReaderWriterTXP, which stores it in a map for reference later, and then passing that archive into the TXPNode for it to set its internal member. With this code change we only create one archive (not sure what creating two did) and our options flags get set properly on the database. The changes made are in TXPNode.h line 72 where the TXPArchive is now passed in. In the TXPNode.cpp the loadArchive(TXPArchive*) was changed to have the default behavior if NULL is passed in, if an archive is passed in then it does not load it since all the loading is done in the ReaderWriterTXP::getArchive(). The only other place that loadArchive is called is in TXPIO.cpp where a modification was made to pass in NULL which will have the same behavior as it used to. The last change is the little block of code starting on line 57 of ReaderWriterTXP.cpp, this was changed so that it first calls getArchive() which caches the archives in a map does some loading stuff and returns a pointer to it which is then passed in as a parameter to TXPNode::loadArchive(). The performance changes were made to TXPParser.cpp line 163 where we use to osgUtil::Optimizer on the node before passing it off, and on line 1456 we changed the geometry to use display lists. These small changes actually made drastic performance increases for us, as much as 1000% on certain laptops. As far as testing goes, we have tested these changes with at least 5 txp databases on a variety of different computers including Mac OS and Linux. The base version used is 2.4." 2008-05-27 17:42 +0000 [r8371] robert: * From Cedric Pinson, "By default it's the normal behaviour, it means it's "d" extension for debug library and executable. But if you want to change that you can. The reason is if you want to build an application that use a library that use openscenegraph you have to build the full chain in debug or in release. On windows you have no choice, but on linux you can link with both version without rebuilding everything ... The patch consist only to change the line on one line SET(CMAKE_DEBUG_POSTFIX "d") with SET(CMAKE_DEBUG_POSTFIX "d" CACHE STRING "add a postfix, usually d on windows")" 2008-05-27 17:32 +0000 [r8370] robert: * From Lars Nilson, bug fix to Sector::computeMatrix() 2008-05-27 16:32 +0000 [r8369] robert: * Added handling of \ within srings by using \\ 2008-05-27 15:42 +0000 [r8368] robert: * Updated wrappers 2008-05-27 15:30 +0000 [r8366-8367] robert: * Reorginized the TerrainTile/TerrainTechnique dirty mechanism so that TerrainTile now holds the dirty flag and enables/disables event traversal in response dirty being set/unset. This allows terrain to be automatically updated in response to Terrain scale and sample ratio changes. * Introduced a TerrainHandler that adjust the sameple ratio and vertical scale of terrain interactively using the 'r','R' and 'v','V' keys respecitvely. 2008-05-27 13:11 +0000 [r8365] robert: * From John Vidar Larring, "Added vertical scale as a property of osgTerrain::Terrain. Lets you configure vertical scale when initializing the terrain model. E.g: osgTerrain::Terrain* terrain = findTopMostNodeOfType(model.get()); if (!terrain) { terrain = new osgTerrain::Terrain; terrain->addChild(model.get()); terrain->setVerticalScale(2.0f); model = terrain; } viewerWindow->setSceneData(model.get()); " 2008-05-27 12:07 +0000 [r8363-8364] robert: * Updated version numbers in prep for 2.5.1 release * From Gino van den Bergen, "I've refactored the single ReadedWriterVRML2.cpp into multiple files. The reason for doing this was to break up the horribly long function osg::ref_ptr ReaderWriterVRML2::convertFromVRML(openvrml::node *obj) The fixes are: * Added the source's parent directory as search directory for image files. * The material properties are now set in the stateset of the Geode rather than the Geometry. This will allow geometries to be reused with different material properties in future updates. NB: I planned for a caching scheme in which multiple occurences of the same primitive (e.g., Cylinders with radius 0.8 and height 1.2), would use the same Geometry object. Unfortunately, my planning moved me to other areas, but I might still finish the caching scheme in a quiet hour. For the time being I decided it would be a good thing to already submit my current changes. " 2008-05-27 11:13 +0000 [r8362] robert: * From Mathias Froehlich, "Included a fix for my past pbuffer change. The version test fo 'need at least glx 1.1' was broken, even if no implementation had yet a chance to trigger that :) Attached a fix for that broken test. Based on rev 8358" 2008-05-27 11:07 +0000 [r8361] robert: * From Andrew Bettison, "Problem: the LineStipple pattern when read from an OSG node file is always 0xFFFF, even though specified otherwise in the OSG file. Cause: possibly a copy/paste typo in src/osgPlugins/osg/LineStipple.cc, line 61: if (fr[0].matchWord("functionMask") && fr[1].getUInt(mask)) Solution: change to: if (fr[0].matchWord("pattern") && fr[1].getUInt(mask))" 2008-05-27 11:04 +0000 [r8360] robert: * From Stephane Lamoliatte, "Here is a patch that fix the strange bug describe on the osg-user group. Finally it seems to not come from the empty geode. The origin of the problem seems to be the uniform initialization during the building of the program which call a glUseProgram. If your scene never display the node that contains the shader and if there is no other shader on the scene, this "glUseProgram" is the only one that is called during your simulation. So, this shader is applied on all the scene. I fix this bug by switching off the shader (by calling glUseProgram(0) ) during the compilation of a state which does not contain the shader. " 2008-05-27 10:50 +0000 [r8359] robert: * From Wang Rui, "I have just done some changes on the classic osgdb_gif plugin (based on OSG 2.5.0). I wish our developers may use the newly written GIF reading plugin to attach animate GIF files as textures now! In my opinion, a GIF is much smaller than AVI and MOVs, and much more efficient sometimes. Changes includes: 1. A new GifImageStream class (inherit from osg::ImageStream and OpenThreads::Thread) have already been added to implement different operations of a GIF movie, such like playing, pausing, rewinding, setting time and so on. 2. Some small changes to decode_row() and gif_read_stream(), which make the transparency of GIF images correctly. 3. Just a few changes to the ReaderWriterGIF::readGIFStream() function, which ensure that animate GIFs are loaded by GifImageStream (and the function returns GifImageStream objects) and static GIFs unchanged (still use the old method and returns osg::Image objects!). Attachments are the cpp file and an animate GIF file for further test. Just rebuild the osgdb_gif project and use osgviewer or osgmovie to view it. The plugin has been tested on Windows and Arch Linux." 2008-05-26 22:36 +0000 [r8357-8358] robert: * From Philip Lowman, post 1: "Here is a collection of changes which should fix issues building the OSG with CMake 2.6.0 (along with some other changes) CMakeLists.txt: * Set CMP0003 to supress warning about linking against -lpthread (which is a non-absolute library location). (CMake 2.6.x fix) * Modified the WIN32_USE_MP and a couple of other Visual Studio specific flags to be in an IF(MSVC) block (minor tweak to reduce exposing this stuff on MinGW builds) * Includes my second set of glu tesselator autodetection changes that you seemed to want but haven't committed yet. src/OpenThreads/pthreads/CMakeLists.txt: * Eliminates warning when compiling on Linux about spaces in link line (CMake 2.6.x fix) CMakeModules/OsgMacroUtils.cmake: * Tweaks to make the macros behave properly under CMake 2.6.0 (doesn't change behavior under CMake 2.4.x) CMakeModules/Find3rdPartyDependencies.cmake: * Adds the NO_DEFAULT_PATH option to all of the search options so that things in C:\Program Files\OpenSceneGraph aren't accidently picked up during configure time and instead only things in the "3rdParty" folder are discovered. (general bugfix) " post 2: "Ok, hold the presses. I just discovered that for some odd reason the osgdb_* plugins under Linux aren't getting put under the osgPlugins-2.5.0 folder. Not exactly sure why this broke, the folder was there, just empty. I'll have to look into it this evening." post 3: "Fixed, was caused by the switch to CMAKE_LIBRARY_OUTPUT_DIRECTORY and some code in osgPlugins/CMakeLists.txt that effectively overrides LIBRARY_OUTPUT_PATH on non-MSVC compilers to dump the plugins in the plugins folder. I tweaked it to override CMAKE_LIBRARY_OUTPUT_DIRECTORY as well. Seems to work fine." * From Paul Martz, "When exporting a DrawArrays PrimitiveSet, the DAE plugin computes an incorrect nbVerticesPerPoly if the first index is not zero. The issue can be reproduced easily with: osgconv cessna.osg cessna.dae Examination of the resulting .dae file reveals several out-of-range tristrip indices; viewing the .dae file in osgviewer causes a crash when OSG tries to lookup those indices. Attached resolves this issue." 2008-05-26 21:53 +0000 [r8356] robert: * From Art Tevs, "I've attached a patch for the Texture2DArray which solves problems of loading image data into the texture array. So here are a small description: - Solves issues of loading image data into the texture memory - Print a warning if images are of different dimensions or have different internal formats (GL specification requires images to be the same) Patch is tested and seems to work fine. It shouldn't break any other functionality. It should go into include/osg and src/osg " 2008-05-26 21:44 +0000 [r8355] robert: * Fixed copyright notice typo 2008-05-26 21:33 +0000 [r8353-8354] robert: * From Paul Martz, "The attached code changes StateSet::merge() so that it copies RenderBin data such as the rendering hint and RenderBin details from rhs into "this", only if "this" has RenderBin mode set to INHERIT. It replaces a comment by you indicating something along these lines should be done. To me, this seems like the right thing to do." * From Gino, "According to the 1.4.1 COLLADA spec (2nd ed) the standard behavior for fx_sampler_wrap_common is as follows CLAMP ->GL_CLAMP_TO_EDGE NONE->GL_CLAMP_TO_BORDER The current 2.5.0 daePlugin assumes the following binding CLAMP ->GL_CLAMP NONE->GL_REPEAT Notably the GL_CLAMP binding will result in visible black seams on input files that use otherwise matching textures. Replacing GL_CLAMP by GL_CLAMP_TO_EDGE solves this problem. I've updated both the read and write functions. " 2008-05-26 21:18 +0000 [r8352] robert: * From Philip Lowman, "I changed the test name to be a little easier to understand and defaulted Linux & Windows builds to false and to skip the compile check as you desired. " 2008-05-26 21:10 +0000 [r8350-8351] robert: * Updated wrappers * 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" 2008-05-26 21:04 +0000 [r8349] robert: * From Colin McDonald, "I had to tighten a declaration in OpenFlight/FltWriteResult.h, as the Solaris SunStudio 11 compiler was being picky and wouldn't compile." 2008-05-26 20:46 +0000 [r8348] robert: * Added debug block to output the location of the master camera for each View in a Viewer. 2008-05-26 17:30 +0000 [r8347] robert: * Added continuous recording of the animation path to the RecordAnimationPathHandler 2008-05-26 16:25 +0000 [r8346] robert: * Introduce --pbuffer-only width height option, and added fps reporting to stats output 2008-05-26 15:41 +0000 [r8345] robert: * Added basic --pbuffer width height support 2008-05-26 14:30 +0000 [r8344] robert: * Added better stats reporting 2008-05-26 12:01 +0000 [r8342-8343] robert: * Added feedback of pixel format chosen for read back * Added automatic selection of the pixel type according to the window type 2008-05-26 11:53 +0000 [r8341] robert: * Added option for doing triple buffering, and set the default read format to GL_RGBA 2008-05-25 22:06 +0000 [r8340] robert: * Switch to using an inital draw callback when use --start-frame 2008-05-25 21:52 +0000 [r8339] robert: * Added option for setting whether the front or back buffer should be read using --front and --back command line options. 2008-05-25 21:35 +0000 [r8338] robert: * Added option for controlling whether the front buffer is read at the start of the frame or the back buffer at the end of the frame. 2008-05-25 11:21 +0000 [r8337] robert: * Added check for pkg-config so that build only use related package checks when it's supported 2008-05-24 11:05 +0000 [r8336] robert: * Added #define's for PixelBufferObject extensions. Added docs for Camera::DrawCallback 2008-05-24 09:24 +0000 [r8335] robert: * Added RenderStage::setClear*() methods from Camera::getClear*() sources 2008-05-24 08:13 +0000 [r8334] robert: * Changed default format to GL_BGR 2008-05-23 16:26 +0000 [r8333] robert: * Added single buffered and double buffered PBO support, and --no-pbo, --single-pbo and --double-pbo command line parameters 2008-05-22 17:50 +0000 [r8332] robert: * Added basic glReadPixels code 2008-05-22 15:43 +0000 [r8331] robert: * Added camera final callback attachment code. 2008-05-22 13:11 +0000 [r8329-8330] robert: * Fixed name of source file * Added new osgscreencapture example folder, implementation to follow 2008-05-22 12:38 +0000 [r8328] robert: * Reorginaized the DatabaseQueue's to avoid warnings under Windows 2008-05-22 11:21 +0000 [r8327] robert: * Fixed warning by adding in missing return 2008-05-22 08:31 +0000 [r8326] robert: * Checking in missed header 2008-05-21 21:09 +0000 [r8325] robert: * Refactored DatabasePager and related classes to introduce support for multi-threaded paging, where the Pager manages threads of reading local and http files via seperate threads. This makes it possible to smoothly browse large databases where parts of the data are locally cached while others are on a remote server. Previously with this type of dataset the pager would stall all paging while http requests were being served, even when parts of the models are still loadable virtue of being in the local cache. Also as part of the refactoring the DatabaseRequest are now stored in the ProxyNode/PagedLOD nodes to facilitate quite updating in the cull traversal, with the new code avoiding mutex locks and searches. Previous on big databases the overhead involved in make database requests could accumulate to a point where it'd cause the cull traversal to break frame. The overhead now is negligable. Finally OSG_FILE_CACHE support has been moved from the curl plugin into the DatabasePager. Eventually this functionality will be moved out into osgDB for more general usage. 2008-05-20 09:28 +0000 [r8324] robert: * Moved the compile to after the updateSceneView 2008-05-14 20:22 +0000 [r8323] robert: * Updated wrappers 2008-05-14 17:03 +0000 [r8322] robert: * Introduced preliminary support for asynchronous file read requests, ReaderWriter::ReadResult now has a FILE_REQUEST enum. ReaderWriter::Options now has a s/getAsynchronousFileReadHint() parameter methods. libcurl based plugin now detects enabing of the AsynchronousFileReadHint, but as yet does not handle async requests - handling everything syncronously. DatabasePager now by default will enable AsynchronousFileReadHint for http based file requests 2008-05-14 14:59 +0000 [r8321] robert: * Moved the cache file writing into StreamObject so that the cache file is only created once data is being read. 2008-05-14 13:16 +0000 [r8320] robert: * Introduced a thread safe map which manages a single EasyCurl object per thread. 2008-05-14 12:47 +0000 [r8319] robert: * Refactor curl usage so that a new EasyCurl class wraps up the curl handle and reading from curl. 2008-05-13 18:28 +0000 [r8318] robert: * Fixed lat/long ordering 2008-05-13 17:27 +0000 [r8317] robert: * Added support for -e level minX minY maxX maxY extents controls 2008-05-13 14:08 +0000 [r8316] robert: * Added --file-cache directoryname command line option support to readNodeFiles(ArgumentParser&) to make it easier to specify a local file cache, in place of the default OSG_FILE_CACHE env var. 2008-05-13 12:36 +0000 [r8315] robert: * Further work on computing of lat/long range of PagedLOD subgraphs 2008-05-13 10:56 +0000 [r8314] robert: * From Steven Thomas, "Subject: Collada fix There was a problem converting a file to Collada by using osgconv like this: osgconv file.osg file.dae You would get an error message: I/O error : Permission denied I/O error : Permission denied error : xmlNewTextWriterFilename : out of memory! Error: daeLIBXMLPlugin::write(file://cessna.dae) failed Warning: Error in writing to "cessna.dae". This was due to some bad URI processing code in the Collada plugin. The attached file fixes this by using the Collada DOM's URI processing functions. After this change the file will convert successfully in the local directory. " 2008-05-12 16:59 +0000 [r8313] robert: * Added signal handling code, and prelimary lat/long computation 2008-05-12 15:42 +0000 [r8312] robert: * Added missing getBound() method 2008-05-12 12:16 +0000 [r8309-8310] robert: * Update ChangeLog and wrappers for 2.5.0 dev release * Updated AUTHORS for 2.5.0 release 2008-05-12 11:39 +0000 [r8308] robert: * From Mathias Froehlich, Fixed FrameBufferObject attachement code to handle cases where no texture or image is attached 2008-05-12 11:01 +0000 [r8307] robert: * Updated version number for 2.5.0 dev release 2008-05-12 10:55 +0000 [r8306] robert: * From Eric Sokolowski and Robert Osfield, moved command line option usage setup from osgviewer example into osg::ArgumentParser and osgViewer::Viewer to make them more universally available. 2008-05-12 10:18 +0000 [r8304-8305] robert: * 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" * From Mathias Froehlich, fixed typo 2008-05-11 14:26 +0000 [r8303] robert: * Added CARIO_FOUND into svg plugins checks 2008-05-11 14:23 +0000 [r8302] robert: * From Miguel Escriva, Here you will find a SVG Image Reader. It renders a SVG file as an osg::Image using cairo and rsvg. 2008-05-10 17:25 +0000 [r8300-8301] robert: * From Paul Martz, "This change adds support for osg::Billboards to the OpenFlight exporter. It might seem odd that the change actually removes the stub apply(Billboard&) method, but it turns out Billboards are easily supported in subordinate routines of the existing apply(Geode&) method with s dynamic_cast, so there's no need for a separate apply(Billboard&)." * From Paul Martz, "Another round of plugin enhancements. 3DC: Output now uses osg::notify. JPEG: Now returns correct error code for empty input file. FreeType: Prevent possible crash if Options is NULL." 2008-05-10 17:04 +0000 [r8299] robert: * Moved compile setup from osgViewer::ViewerBase into osgViewer::Renderer to avoid threading issues associated with compile running in a parallel with update/cull on the first frame. Also added automatic recompile when a new SceneData is applied to a View. 2008-05-09 17:22 +0000 [r8298] robert: * Added --file-cache command line option to compliment -c 2008-05-09 17:08 +0000 [r8297] robert: * Initial cut of file cache population app 2008-05-09 11:54 +0000 [r8296] robert: * From Art Trevs, set the _geometryVerticesOut to default to 1 as a workaround for OpenGL driver bug that incorrectly reports a warning when value is 0. 2008-05-09 11:27 +0000 [r8295] robert: * From Paul Martz, "Attached are some minor plugin fixes. PNM, RGB, and JPEG would all crash if attempting to read an empty file, and FLT would go into an infinite loop. All are fixed with this change. I also fixed some return values for a couple of these, changing FILE_NOT_HANDLED to ERROR_IN_READING_FILE where appropriate." 2008-05-09 10:27 +0000 [r8294] robert: * From Jeremy Moles, fixed window resize problem 2008-05-08 17:02 +0000 [r8293] robert: * Added missing check against handling invalid bounding sphere's 2008-05-08 16:48 +0000 [r8291-8292] robert: * From Eric Sokolowsky, "I found one compilation error in OSG 2.4 in the Inventor plugin, where one node (SoTextureCoordinate3) was assumed to be available in all versions of Inventor but is actually only available in Coin. The use of the node is now protected by #ifdef __COIN__ constructs. The attachment is based on OSG 2.4, not SVN." * From Melchior Franz, "In KDE I switch desktops with Super-Tab, and occasionally I get an excess Tab key report when switching back to an OSG application (usually FlightGear :-). Although KDE has consumed the Tab, it's sometimes still in the XKeymapEvent's key_vector, and followed by a Tab KeyRelease event. Avoid this artifact by - asking for a "fresh" keymap (via XQueryKeymap()), rather than using the unreliable(?) XKeymapEvent's key_vector, and by - flushing all key events on focus-in (to avoid the KeyRelease) After Super-press, Tab-press, Super-release, Tab-release (note the wrong release order!) I still get an extra Tab event. But this is not surprising and not exactly wrong either. Also it's hard to avoid, as we can't see what happened to the keyboard before we regained focus. Files changed: src/osgViewer/GraphicsWindowX11.cpp include/osgViewer/api/X11/GraphicsWindowX11" 2008-05-08 16:39 +0000 [r8290] robert: * From Jeremy Moles, osgviewerGTK example 2008-05-08 15:17 +0000 [r8289] robert: * From Sebastien Messerschmidt, "attached you'll find a patch for the shp-plugin. I've spotted huge memory leaks int ShapeParser and fixed them. Also, there was a missing destructor (PolygonM) and a missing member initialization (PolygonZ) Would be nice if someone could test the changes. To release the memory just if no reading error happened (and therefore the arrays would be valid) I've added an macro to release and reset the pointers at once. I'm not using macros myself very often as I don't like them, but I think it doesn't hurt in this code. " 2008-05-08 15:14 +0000 [r8288] robert: * Updated ChangeLog and osgversion to catch Raymond de Vries name correctly 2008-05-08 14:00 +0000 [r8287] robert: * From Raymond de Vries, "This fix tests the right variable before it is allocated. Fortunately, until now it tested another variable (_particleSizeUniform, which is, at that moment, not allocated as well) and everything went ok. So it does not fix a crash or so, it is a matter of correct code. Line 353 is changed from if (!_particleSizeUniform) to if (!_particleColorUniform) " 2008-05-08 13:56 +0000 [r8286] robert: * From Paul Martz, "As I discovered prior to the 2.4 release, the FLT export geometry backend was using some old turn-on code, originally written just to enable other development but not intended for actual release. Sadly, my OSG training commitments prevented me from fixing this prior to 2.4. In essence, the FLT exporter was emitting a full set of Mesh records each time it encountered a PrimitiveSet. Attached is a fix. The code now emits the Mesh set up records, then iterates over all PrimitiveSets and emits a Mesh Primitive record per PrimitiveSet. It also loops over PrimitiveSets twice, first writing Face records according to the mode, the writing Mesh records (again according to the mode). The final change included here is support for GL_POINTS as single-vertex Face records. Billboards are still to come." 2008-05-08 13:46 +0000 [r8285] robert: * Updated wrappers 2008-05-08 13:22 +0000 [r8284] robert: * From Roland Smeenk, "Small typo and implementation fix for setInitialDrawCallback." 2008-05-08 12:55 +0000 [r8283] robert: * From Philip Lowman, "Attached is a patch to the toplevel CMakeLists.txt which adds an automated test for OSG_GLU_TESS_CALLBACK_TRIPLEDOT. This should help ease initial configuration on OS X systems." 2008-05-08 12:36 +0000 [r8282] robert: * From Garrett Potts and Robert Osfield, changes to build against Collada DOM 2.x 2008-05-08 09:16 +0000 [r8281] robert: * Updated the doxygen docs to explain the deprecated status of SceneView 2008-05-07 17:06 +0000 [r8280] robert: * Commented out checking of DISPLAY env var 2008-05-07 14:32 +0000 [r8278-8279] robert: * Updated wrappers * From Bob Kuehne, Added doxygen docs clarification of ReadResult enum values 2008-05-07 14:24 +0000 [r8277] robert: * From Donald Cipperly, "This is a fix to eliminate >> errors in VS 7.1" 2008-05-07 14:17 +0000 [r8276] robert: * From Miguel Escriva, "Attached to this mail you will find some files to work with the Philips WOWvx displays. It's implemented in the same way that 3D Spherical Display and Panoramic Spherical Display. You can test it running: osgviewer --wowvx-20 cow.osg osgviewer --wowvx-42 cow.osg depending on the size of your Philips WOWvx display (20" or 42") Other arguments you can use to control the 3D effect are: --wow-content This value defines the kind of content that can be: 0: No depth 1: Signage 2: Movie 3: CGI 4: Still --wow-factor Percentage of the display recommended depth value. Default 64, Range [0-255] --wow-offset Amount of range behind the screen. Default 128, Range [0-255] 0: Range is shifted in the direction of the viewer. 128: Range is equally divided in front and behind the screen. 255: Range is shifted away from the viewer. " 2008-05-07 13:49 +0000 [r8275] robert: * From Terry Welsh, fixed typo of getEnd() 2008-05-07 13:46 +0000 [r8274] robert: * From Jeremy Moles,"Here's a small example I us to test text rendering in osgWidget; I figured it might be helpful to folks in OSG who need to do the same. " 2008-05-07 13:42 +0000 [r8273] robert: * From Farshid Lashkari, "I've added hardware mipmap support to Texture3D." 2008-05-07 11:59 +0000 [r8272] robert: * Added doxygen comments for attach 2008-04-26 11:13 +0000 [r8238] robert: * Updated package numbers for OSG-2.4, OT-2.2.1 release 2008-04-25 13:10 +0000 [r8229] robert: * Update AUTHORS file for 2.4 release 2008-04-25 12:58 +0000 [r8228] robert: * Updated ChangeLog for 2.4 release 2008-04-25 12:40 +0000 [r8227] robert: * Update NEWS and README to 2.4 stable release 2008-04-25 09:46 +0000 [r8225] robert: * Updated Version number for 2.4 stable release 2008-04-25 09:35 +0000 [r8224] robert: * From Stephane Lamoliatte, "Here is the fix of a very little typed error in BoundingBox : I replace "doulbe" by "double"." 2008-04-25 08:34 +0000 [r8222] robert: * Added cast to avoid warning 2008-04-24 16:50 +0000 [r8218-8220] robert: * Updated date of 2.4 release * Updated AUTHORS file for release * Updated ChangeLog for 2.3.11 release 2008-04-24 16:24 +0000 [r8217] robert: * From Wojchiech Lewandowski, add missing setDataVariance(DYNAMIC) and extra event handlers 2008-04-24 14:46 +0000 [r8213] robert: * From Colin Dunlop, added alias for .live to quicktime plugin mapping. 2008-04-24 11:34 +0000 [r8211] robert: * Reverted the changes for ill fated tweaks for Apple build 2008-04-24 10:09 +0000 [r8210] robert: * From Mattias Helsing, "I just made Find3rdPartyDependencies search for curllib if it can't find libcurl. Mike's 3rdParty only has curllib. I realize now that the in appended file I have earlier removed searching for freetype219 since I have it but it will break the build of osg." 2008-04-23 21:07 +0000 [r8205-8206] robert: * Updated authors file for 2.3.11 release * Updated ChangeLog 2008-04-23 20:54 +0000 [r8202] robert: * Updated version number 2.3.11 2008-04-23 20:50 +0000 [r8200-8201] robert: * Refactored the inclusion of the headers in the ADD_LIBRARY so that they aren't added under OSX. * Removed the mutable from the _image variable 2008-04-23 14:10 +0000 [r8195] robert: * Added mutex to object creation to avoid a race condition when using threaded multiple graphics context 2008-04-22 14:31 +0000 [r8193] robert: * Added return. 2008-04-22 14:15 +0000 [r8192] robert: * From Stephan Huber, "the support for the new mightymouse and new touchpads was incomplete in GraphicsWindowCarbon. Attached is a fixed version." 2008-04-22 13:00 +0000 [r8191] robert: * Updated AUTHORS file 2008-04-22 12:52 +0000 [r8189] robert: * Updated ChangeLog, NEWS and READE for 2.3.10 pre release of 2.4. 2008-04-22 11:47 +0000 [r8188] robert: * Updated version number for 2.3.10 dev release 2008-04-22 11:41 +0000 [r8186-8187] robert: * Updated wrappers * Removed hardware down sampling hack from GeoemtryTechnique and replaced with Terrain::g/setSampleRatio() usage. 2008-04-22 10:10 +0000 [r8185] robert: * Updated authors 2008-04-22 09:43 +0000 [r8184] robert: * Fixed name 2008-04-21 16:31 +0000 [r8152] robert: * Updated NEWS for 2.4 release 2008-04-21 14:51 +0000 [r8151] robert: * 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 2008-04-18 16:21 +0000 [r8144-8145] robert: * Updated AUTHORS file for release * Updated ChangeLog 2008-04-18 15:52 +0000 [r8143] robert: * Updated date on readem 2008-04-18 15:01 +0000 [r8142] robert: * Updated wrappers 2008-04-18 14:57 +0000 [r8141] robert: * Added support for COLOR_BUFFER entries up to 15 2008-04-18 14:51 +0000 [r8140] robert: * Updated BufferComponent enum to list COLOR_BUFFERi entries up to 15. 2008-04-18 14:33 +0000 [r8139] robert: * Fixed bug in FBO colour attachement code 2008-04-18 14:14 +0000 [r8138] robert: * Added optional compiled in debugging output to CullVisitor::apply(osg::Camera&) 2008-04-18 13:57 +0000 [r8137] robert: * Added write(ostream&) method to allow one to print out the current state 2008-04-18 13:25 +0000 [r8136] robert: * Changed the FrameBufferObject::setAttachment() methods so it now use osg::Camera::BufferComponent to enable it to distinguish between MRT and non MRT paths 2008-04-18 11:09 +0000 [r8135] robert: * Introduce OSG_GL_ERROR_CHECKING env var checking to osg::State constructor so that you can enable fine grained check via env vars o.e. export OSG_GL_ERROR_CHECKING=ONCE_PER_ATTRIBUTE 2008-04-17 15:30 +0000 [r8132] robert: * From Stephan Huber, "attached you'll find a refactored and improved quicktime-plugin. I moved all code related to the image-loading, swizzling etc into an extra class. The quicktime plugin supports now reading and writing images from/to streams and the code is less cluttered than previous versions. I removed QTtexture.h/.cpp and added QTImportExport.h/.cpp. I updated the CMake-files, I hope they are alright. I used the submitted code in my own apps since two months or so and it seems pretty stable, but as always the migration to the osg-quicktime plugin may have introduced new bugs, so perfect for developer release :)" 2008-04-17 11:12 +0000 [r8127] robert: * From John Shue, build fix for QT 3.x 2008-04-17 09:04 +0000 [r8122] shuber: * updated XCode project 2008-04-16 18:13 +0000 [r8121] robert: * Added new computation of time to allocate to flushing deleted and compiling OpenGL objects per frame. 2008-04-16 15:23 +0000 [r8118-8119] robert: * 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. " * Updated version number for nex dev release 2008-04-16 10:01 +0000 [r8107] robert: * From Jason Beverage, cursor inheritance support 2008-04-15 20:27 +0000 [r8105] robert: * Updated AUTHORS.txt for release 2008-04-15 20:16 +0000 [r8104] robert: * Updated ChangeLog 2008-04-15 19:46 +0000 [r8103] robert: * From Jason Beverage, "The following changes fix the flickering issue I'm seeing when trying to externally manage my cursor in Win32. If you set the cursor to InheritCursor, GraphicsWindowWin32 ignores WM_SETCURSOR and assumes you will set the cursor yourself." 2008-04-15 19:36 +0000 [r8102] robert: * From Art Trevs, moved multile render targets support from RenderStage into FrameBufferObject. From Robert Osfield, refactored the FrameBufferObejcts::_drawBuffers set up so that its done within the setAttachment method to avoid potential threading/execution order issues. 2008-04-15 12:52 +0000 [r8099] robert: * Updated wrappers 2008-04-15 11:50 +0000 [r8096] robert: * From Tim Moore, compile fix for gcc 4.3 2008-04-14 10:38 +0000 [r8095] robert: * Added docs explaining units 2008-04-13 19:31 +0000 [r8094] robert: * Added subdivision of Goedes 2008-04-13 14:32 +0000 [r8092-8093] robert: * 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) { .." * From Paul Martz, added osgocclussionquery and osgthirdpersonview examples 2008-04-12 10:02 +0000 [r8091] robert: * Changed bias parameter to scale 2008-04-11 14:52 +0000 [r8090] robert: * Updadated authors file for dev release 2008-04-11 14:43 +0000 [r8089] robert: * Updated wrappers, and version numbers in prep for next release 2008-04-11 14:33 +0000 [r8088] robert: * Fixed J.P. Delports name 2008-04-11 14:14 +0000 [r8087] robert: * Added --unit entry for controlling which texture unit the overlay works on. 2008-04-11 13:43 +0000 [r8086] robert: * From Paul Martz,"Several misc changes, but the major fixes include: * Support for Vec4ubArray for color data * Support for material transparency Thanks to Neil Hughes, Jason Daly, yourself, and others for testing and reporting issues." 2008-04-11 13:28 +0000 [r8085] robert: * From Philipp Machler, "We have extended the support for Wacom Tablet devices: - Mac OS X - not only pressure, but tilt and z-rotation is supported now " 2008-04-11 13:04 +0000 [r8083-8084] robert: * Added reference to osgstereomatch example to osgmultiplerendertargets. Added usage example use OpenSceneGraph-Data/Images examples * From Sherman Wilcox, "Here is a patch for cmakelists.txt to add support for the /MP option in Microsoft compilers as discussed in osg-users. There is now an advanced option called WIN32_USE_MP (which defaults to OFF) that will enable the /MP switch for all builds. I tucked this code block safely within a IF(WIN32) branch." 2008-04-11 11:58 +0000 [r8082] robert: * From Jose Delport, a MRT example implementing stereo matching. 2008-04-11 11:19 +0000 [r8080] robert: * Updated wrappers 2008-04-11 11:10 +0000 [r8079] robert: * From Melchior Franz, "The GUIEventAdapter header file had KeySymbols for the super and hyper keys defined already, but these modifiers were missing in GUIEventAdapter::ModKeyMask, and the EventQueue ingored them as well. The attached diff/archive adds the missing parts for Super/Hyper modifier key support. I'm aware that this might not be supported on all systems/keyboards out of the box, but decided to submit it anyway because: - developers are aware of differences between input devices (Some mice have scroll wheels, others don't. Some have five or more buttons, some have only one. Some keyboards don't have numpads, some have AltGr, some don't etc.) - even if someone relies on Hyper/Super in distributed software, this is easy to fix and doesn't create lock-in conditions - while the names Hyper/Super may only be common on X11, they are just symbol names and not OS-specific - even though some systems might not offer these additional modifiers by default, it's likely that all of them have at least 8 modifier levels internally, so it should only be a matter of OS configuration to make them work - having super/hyper available is useful to offer a user ways to define local key definitions that are safe from collisions with predefined "official" key assignments" 2008-04-11 10:58 +0000 [r8078] robert: * From Sherman Wilcox, "Modified the cmakelists.txt file for the curl plugin so the proper linker directories are set in Win32. The old cmakelists.txt would set the lib release folder for debug builds as well. This should correct that." 2008-04-11 10:31 +0000 [r8076-8077] robert: * From Colin McDonald, fixed typo. * From Benoit Laniel, "I use mingw to cross-compile openscenegraph to win32. However, linux filesystem is case-sensitive. Here are the modifications needed to make the compiler happy. These are only some include lines rewritten (Io.h to io.h, Windows.h to windows.h etc.) for version 2.3.7." 2008-04-11 10:16 +0000 [r8074] robert: * From Bob Kuehne, "1) add simplifier command "--simplifier .5" to reduce complexity 2) complementarily add a "--overallNormal" to replace per-vert/per-facet normals with an overall. simplifier doesn't work in certain cases without less complex normals. this gets that done. 3) add env var output with full verbose output so people realize it's active when the app is run - i see this all the time in training where people run osgconv, with unintended data transformations due to osgUtil:;Optimzer, for example" 2008-04-11 10:10 +0000 [r8073] robert: * Added --mouse option to enable mouse tracking, and fixed bug in assumption that nv is not null. 2008-04-03 18:36 +0000 [r8038] robert: * Introduced CMake build option for compiling double or float versions of osg::BoundingSphere and osg::BoundingBox. Introduced code in BoundgingSphere, BoundingBox, ProxyNode and LOD to utilise the above settings. Added Matrix::value_type, Plane::value_type, BoundingSphere::value_type and BoundingBox::value_type command line options that report where the types of floats or doubles. 2008-04-03 18:06 +0000 [r8037] robert: * From Colin McDonald, "The X11WindowingSystemInterface in osgViewer/GraphicsWindowX11.cpp unconditionally sets the X11 error handler routine, replacing anything that was previously set. This is a bit unfriendly, as the X11 error handler is a global attribute which the application, or the GUI toolkit being used, may well have set itself. So I have modified X11WindowingSystemInterface to only replace the error handler if it is the default i.e. if the application has not set it." 2008-04-03 10:26 +0000 [r8033] robert: * From Mattias Helsing, "While using the dds plugin (via osgdem) it was able to write 24bit images with BGR order but not read them. My 2-liner fixed it for me but it may be that someone with more knowledge of the plugin want to insert more pixel formats in the reading part of the plugin." 2008-04-02 17:08 +0000 [r8032] robert: * From Jose Delport, added support for MRT via glDrawBuffers 2008-04-02 13:57 +0000 [r8030-8031] robert: * 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. * Updated to reflect new COLOR_BUFFER0 value 2008-04-02 13:48 +0000 [r8028-8029] robert: * From Jose Delport, introduced osgmultiplerendertargets example * Changed the Camera::BufferComponent::COLOR_BUFFER0 from being equal to COLOR_BUFFER to being COLOR_BUFFER+1 to enable differentation between non MRT and MRT paths. 2008-04-02 11:28 +0000 [r8027] robert: * From Jose Delport, typo fixes 2008-04-01 17:22 +0000 [r8025] robert: * Updated ChangeLog, osgversion and AUTHOR.txt for 2.3.7 dev release 2008-04-01 14:52 +0000 [r8024] robert: * Removed svn:externals property 2008-04-01 14:28 +0000 [r8023] robert: * Updated data for 2.3.7 dev release 2008-04-01 11:03 +0000 [r8022] robert: * Updated OpenThreads version to 2.2.1 with the switch of sources/svn:externals from OpenThreads to OpenSceneGraph. 2008-04-01 10:49 +0000 [r8020] robert: * Moved OpenThreads directly into OpenSceneGraph/trunk rather than being introduced via svn:externals. This change has been done to make it easier for OpenSceneGraph users to check out the svn via https without any conflicts introduced with a http externals. 2008-04-01 10:33 +0000 [r8019] robert: * Updated version numbers for 2.3.7 dev release 2008-04-01 10:11 +0000 [r8018] robert: * From Paul Martz, "Two changes: - Handle DrawArrays first/count correctly (fixes problem reported by Jason Daly) - Display warning if non-Geometry Drawable is encountered." 2008-04-01 10:00 +0000 [r8017] robert: * From Tatsuhiro Nishioka and Stephan Huber, bug fixes and enhancement of cursor suppoort. 2008-03-31 16:23 +0000 [r8016] robert: * Added checks for a valid scene graph before doing various ops on it. 2008-03-31 14:00 +0000 [r8015] robert: * From Andy Skinner, build fix for Solaris 2008-03-31 11:44 +0000 [r8014] robert: * Added Camera::s/getClearAccum, s/getClearStencil and s/getClearDepth. 2008-03-31 09:43 +0000 [r8013] robert: * Updated wrappers 2008-03-29 09:59 +0000 [r8011] robert: * From Sherman Wilcox with a little reorganisation from Robert Osfield, added test for 0 sized subloads, ignoring them to prevent a divide by zero error occuring on some buggy drivers. 2008-03-28 19:56 +0000 [r8010] robert: * From Paul Martz, "Some small changes and code cleanup. Biggest change is an improvement to the WriteResult return." 2008-03-28 18:42 +0000 [r8009] robert: * Set Texture::setMaxAnisotropy() to 16.0f for better quality terrain when looking at shallow angle. 2008-03-28 17:53 +0000 [r8008] robert: * Improved the error capture and reporting 2008-03-28 15:52 +0000 [r8007] robert: * Rewrote the DatabasePager::removeExpiredSubgraphs(double) routine as it as not expiring subgraphs quick enough to enable reasonable load balancing. New version isn't perfect and will need further work, but does at least reduce the memory footprint by as much as half on test paths on big databases. The rewritten method no longer uses the the MaximumNumOfRemovedChildPagedLODs and MinimumNumOfInactivePagedLODs variables so these and associated methods for accessing them have been removed. - /** Set the maximum number of PagedLOD child to remove per frame */ - void setMaximumNumOfRemovedChildPagedLODs(unsigned int number) { _maximumNumOfRemovedChildPagedLODs = number; } - - /** Get the maximum number of PagedLOD child to remove per frame */ - unsigned int getMaximumNumOfRemovedChildPagedLODs() const { return _maximumNumOfRemovedChildPagedLODs; } - - /** Set the minimum number of inactive PagedLOD child to keep */ - void setMinimumNumOfInactivePagedLODs(unsigned int number) { _minimumNumOfInactivePagedLODs = number; } - - /** Get the minimum number of inactive PagedLOD child to keep */ - unsigned int getMinimumNumOfInactivePagedLODs() const { return _minimumNumOfInactivePagedLODs; } 2008-03-28 15:31 +0000 [r8006] robert: * Introduced mutex into Terrain node to manage the tile system data structures 2008-03-28 15:28 +0000 [r8005] robert: * Reordered set up of scene and event handlers to prevent warning 2008-03-28 13:22 +0000 [r8004] robert: * Removed old lower case versions 2008-03-28 12:44 +0000 [r8003] robert: * From Paul Martz, "Here's the mods to the OpenFlight plugin to support FLT export. The ZIP file contains the new .cpp/h files as well as existing files that I modified. Changes to existing files: ReaderWriter.cpp -- to support writeNode() of course. ReaderWriterATTR.cpp -- to support writeObject -- we write .attr files for textures, if they don't already exist. AttrData.cpp/.h -- Minor fixes. CMakeLists.txt -- to include the new files in the build." From Robert Osfield, port to non Windows platforms just required fixing of header capitilization errors that windows lets through the net due to having a case insensitive file system. 2008-03-27 13:21 +0000 [r8002] robert: * Removed TileSystem class, and added support for TerrainTile's automatically registering and unregistering themseles with the enclosing Terrain node. 2008-03-27 11:56 +0000 [r8000-8001] robert: * Added wrapper for TerrainTile * Renamed osgTerrain::TerrainSystem to osgTerrain::Terrain 2008-03-27 10:55 +0000 [r7999] robert: * Renamed Terrain to TerrainTile 2008-03-26 20:06 +0000 [r7998] robert: * Introduce TerrainSystem node which decorates a complete terrain model made up of Terrain tiles. 2008-03-26 20:03 +0000 [r7996-7997] robert: * 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." * From Carlo Comporesi, adding support of finding libcurl in 3rd party dependencies 2008-03-25 15:21 +0000 [r7995] robert: * From Tomas Hnilica, " Attached is modified source of AdapterWidget.cpp file from osgviewerQT example. Original was token today from SVN - trunk. (2.3.6). --mdi option needs to be set to run MDI version. Few notes: - tested on Windows box (Win XP) - using QT4 - I was not able to execute the example with QOSGWidget - had same error like described in [osg-users] "fate error using QOSGWidget in develop release 2.3.0" thread from Shuxing Xiao, 2008-01-08. - problems are described in source -- And Later post: The problem of keypress events was solved by QT community, attached is repaired AdapterWidget.cpp file. In the AdapterWidget class constructor following line was added: setFocusPolicy(Qt::ClickFocus); Scene disappearing by resizing to minimum still needs to be fixed..." 2008-03-25 13:14 +0000 [r7994] robert: * Moved include of c headers to top, and remove using std::strlen in an attempt to solve gcc4.3 compile problems 2008-03-25 13:06 +0000 [r7993] robert: * Added limits.h to try and avoid gcc 4.3 compile problems 2008-03-25 13:01 +0000 [r7992] robert: * Added #include to fix gcc 4.3 build problem 2008-03-25 12:26 +0000 [r7991] robert: * Fixed LessGeode operator. 2008-03-25 11:50 +0000 [r7990] robert: * From Wojciech Leandowski, "I removed few lines of code that were setting Threading mode and Screen mode. I believe they are now not neccessary because the same does osgViewer::Viewer argument parser. In fact argument list does not contain these args after they were parsed by osgViewer::Viewer constructor. I also allowed myself to add ThreadingHandler to the example." 2008-03-24 18:06 +0000 [r7989] robert: * Added sampling down to 32x32 mesh for 64x64 height fields as a workaround to memory consumption issues with high res whole earth paged databases. 2008-03-24 18:03 +0000 [r7988] robert: * Added mutex to prevent multiple cull threads changing the MultiTextureControl at one time. 2008-03-24 10:53 +0000 [r7987] robert: * Added full range of cameras manipulators to osgmultitexturecontrol example 2008-03-23 18:28 +0000 [r7986] robert: * Added < and > key bindings to allow the speed to be animation speed to be increased or decreased. 2008-03-21 18:35 +0000 [r7985] robert: * Added preliminary file cache support. Enabled by setting the OSG_FILE_CACHE variable. 2008-03-21 18:31 +0000 [r7984] robert: * Added missing break; at end of each case entry. 2008-03-21 15:43 +0000 [r7983] robert: * Fixed push/popping of filepath, removed verbose debug messages 2008-03-21 13:20 +0000 [r7982] robert: * Added better detection and error reporting of files without proper server address 2008-03-21 13:08 +0000 [r7981] robert: * Added initial cut of libcurl based plugin 2008-03-20 10:24 +0000 [r7979] robert: * Updated date for 2.4.6 release 2008-03-19 21:05 +0000 [r7978] robert: * From Melchoir Franz, "osgViewer toggled the NumLock state correctly when pressing the NumLock key, but it didn't pick up the initial state. So, if NumLock was on for the OS at startup (LED on), it was still off for OSG. And the first keypress turned the LED off, and NumLock on for OSG. The attached fix picks up the state on every FocusIn, just like it was done in the last commits for CapsLock. The difference is, that the NumLock mask isn't standardized (e.g. 0x10 for Linux, and 0x80 for AIX), so we have to do a reverse lookup (::rescanModifierMapping()). Note that I could not reproduce the problem on my system, but someone else confirmed it twice on his, and the patch fixed it for him. Changed files: ./include/osgViewer/api/X11/GraphicsWindowX11 ./src/osgViewer/GraphicsWindowX11.cpp " 2008-03-19 17:11 +0000 [r7976-7977] robert: * Update AUTHOR file * Updated version and ChangeLog for 2.3.6 dev release. 2008-03-19 12:30 +0000 [r7975] robert: * Updated wrappers 2008-03-19 12:09 +0000 [r7974] robert: * From Sebastian Messerschimdt, Added polygon offset controls 2008-03-19 11:41 +0000 [r7971-7973] robert: * Updated wrappers * 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&) * Introduced InheritanceMaskActionOnAttributeSetting member to CullSettings, and associated applyMaskAction method that is now used in all CullSettings::set*() methods, which by default helps disable the inheritance mask associated with settings that are made locally. 2008-03-18 17:44 +0000 [r7970] robert: * Set the CullSettings::InhertianceMask to 0x0 as temporary measure till we work out the best scheme to use w.r.t inhertiance of CullSettins. 2008-03-18 15:48 +0000 [r7969] robert: * Updated wrappers 2008-03-18 15:37 +0000 [r7968] robert: * To osg::AutoTransform added support for MinimumScale, MaximumScale and AutoScaleTransitionWidth parameters and a new scheme for computing the scaling when using autoscale that introduces smooth transitions to the scaling of the subgraph so that it looks more natural. 2008-03-18 10:45 +0000 [r7967] robert: * Added example code showing how to set the minimum and maximum scales 2008-03-18 09:17 +0000 [r7966] robert: * Added ObjectRecordData to include list 2008-03-17 15:22 +0000 [r7965] robert: * Added minimum and maximum scale support to osg::AutoTransform 2008-03-17 12:23 +0000 [r7964] robert: * Fixed moving model bug where the moving model code was looking for a transform with DataVariance set to DYNAMIC, but the scene graph set up code was leaving the setting to default to STATIC. Fix involved setting DataVariance on moving transoforms to DYNAMIC. 2008-03-17 12:13 +0000 [r7961-7963] robert: * Updated wrappers * Added doxygen docs * 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. 2008-03-17 10:29 +0000 [r7960] robert: * Added fire effect, enabled by --fire command line option. The new fire effect has been introduced to reproduce the scaling of paricle effects 2008-03-15 19:27 +0000 [r7959] robert: * Added better error reporting 2008-03-14 16:51 +0000 [r7957] robert: * From Paul Melis, "typo fix : NVidea -> NVidia (including option --Nvidea)" 2008-03-14 16:24 +0000 [r7956] robert: * Update ChangeLog and AUTHORS.txt file for 2.3.5 release 2008-03-14 15:33 +0000 [r7953-7955] robert: * Updated wrappers * Added utilty script for cleaning up build files/directories. * Fixed indenting 2008-03-14 15:13 +0000 [r7952] robert: * From Melchior Franz, "Attached is a fix for remaining problems in capslock handling: It sets osgGA's keymask when restoring keys on FocusIn, according to the state values of XKeyEvent and XCrossingEvent. (These are the only source for X11's current capslock state that avoids pulling in the XKB extension.) " 2008-03-14 15:00 +0000 [r7951] robert: * Missing checkin 2008-03-14 14:35 +0000 [r7950] robert: * Added iostream include 2008-03-14 13:21 +0000 [r7949] robert: * 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. 2008-03-14 12:03 +0000 [r7948] robert: * Converted static const unsigned int definitio to enum. 2008-03-14 11:53 +0000 [r7947] robert: * Updated version/author type fixes, authors, readme and changelog for 2.3.5 dev release 2008-03-14 11:07 +0000 [r7944-7946] robert: * Updated wrappers * Improved the indenting * Changed the const get(), operator*() and operator->() methods to return non const T versions 2008-03-14 11:01 +0000 [r7943] robert: * From Andy Skinner, build fix for Solaris 2008-03-13 19:48 +0000 [r7942] robert: * Fixed doc comment 2008-03-13 19:44 +0000 [r7941] robert: * Removed gl and glu prefixes from SceneGraphBuilder methods to avoid problems under Solaris 2008-03-13 16:40 +0000 [r7939-7940] robert: * 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." * From Jose Delport, "attached is a version of osgunittests that does not give false alarms for the case where q1 = -q2. The output of 'osgunittests quat' is now much cleaner. " 2008-03-13 16:22 +0000 [r7938] robert: * From Paul Melis, "Here is an updated osgviewerWX example to bring it more in line with the other GUI toolkit examples. It now takes a model file as command-line argument (complaining if there isn't one), and its startup window size is now actually applied (it used to be too small). I tested this with a unicode-build of wxWidgets, as that is the recommended build type on Linux with GTK. I'm pretty sure this version of the example will work for the ANSI build as well, but I have no way of testing." 2008-03-13 16:18 +0000 [r7937] robert: * From Melchoir Franz, "ac3d.cpp does currently strip everything but the file name in "texture" paths. This is to drop absolute paths that some 3d editors export (even AC3D itself!). But this also strips directories of relative paths, which is wrong and contradicts the ac3d reference implementation. (The reference implementation doesn't strip anything, though, and so takes the absolute paths as they are. Definitely not what we want.) The attached solution checks absolute paths and only strips those: (1) A:\\foo\\bar.png -> bar.png (as before) (2) /foo/bar.png -> bar.png (as before) (3) foo/bar.png -> foo/bar.png (new) (4) ../foo/bar.png -> ../foo/bar.png (new) " 2008-03-13 16:12 +0000 [r7936] robert: * From Melchoir Franz, Caps lock support under X11 2008-03-13 16:05 +0000 [r7934-7935] robert: * Added double versions of intersect methods * Updated wrappers 2008-03-13 15:23 +0000 [r7932-7933] robert: * From Andy Skinner, "I've taken this another step, to use value_type inside the intersect calls. I did choose to use sqrt() instead of sqrtf()." * From Paul Martz, files for adding ObjectRecordData support into OpenFlight 2008-03-13 14:09 +0000 [r7931] robert: * From Paul Martz, "The attached preserves OpenFlight Object record data as UserData in the osg::Group corresponding to the Object record. The files are: include/osgSim/ObjectRecordData -- The new class. Derives from Object to support .osg IO. src/osgPlugins/OpenFlight/PrimaryRecords.cpp -- Reads data into that class. src/osgPlugins/osgSim/IO_ObjectRecordData.cpp -- .osg IO support." From Robert Osfield, made the OpenFlight read object record data optional via the -O readObjectRecordData ReaderWriter option. 2008-03-13 13:44 +0000 [r7929-7930] robert: * Added support for assigning state to created drawables, implemented gluDisk. * From Alberto Luaces, "Here I send minor corrections to the text output by the osgforest example when building its graphs. The message "Creating billboard based forest" appears four times regardless of the actual type of the graph being built. " 2008-03-12 20:20 +0000 [r7928] robert: * Updated wrappers 2008-03-12 20:15 +0000 [r7926-7927] robert: * Added extra constructors * Added proper implementations of OpenGL 1.0 calls to OSG object representation methods in SceneGraphBuilder. 2008-03-12 15:28 +0000 [r7925] robert: * Fixed bug in output of ProxyLayer's MinLevel/MaxLevel 2008-03-11 13:29 +0000 [r7924] robert: * Added default implementations of new SceneGraphBuilder class 2008-03-11 13:23 +0000 [r7923] robert: * From Mathias Froehlich, "it appears to me that sun CC cannot use static functions from template functions. The attached change is required to make it compile with sun CC." 2008-03-11 13:19 +0000 [r7922] robert: * From Jose Delport, added support for finding and using GDAL 1.5 2008-03-11 12:10 +0000 [r7921] robert: * Added extra event handlers to make viewer more functional 2008-03-10 20:30 +0000 [r7920] robert: * Added commandline help options 2008-03-05 13:54 +0000 [r7919] robert: * From Andreas Ekstrand and Lars Nilsson, fix for reading Texture Attribute file 2008-03-05 12:05 +0000 [r7918] robert: * Updated wrappers 2008-03-05 11:52 +0000 [r7917] robert: * From Atr Trevs, added missinging initializers 2008-03-05 11:33 +0000 [r7916] robert: * From Jean-Sebastien Guay, "I changed osgGA::StateSetManipulator to mirror the osgViewer::StatsHandler and other handlers which allow you to change the key(s) you would press to get them to do something. Pretty simple change but useful in our context and possibly in others too." 2008-03-04 17:57 +0000 [r7915] robert: * From Jean-Sebastien Guay, " The problem can be reproduced by simply changing the osgpick example to use a CompositeViewer with a single view initialized using setUpViewAcrossAllScreens(). I have attached a modified osgpick.cpp so you can test it out quickly (please don't check this file in though :-) ) The eventState is then incorrect and picking does not work. The only changes are in CompositeViewer.cpp (eventTraversal() method), and fix the problem for me. " 2008-03-04 16:39 +0000 [r7914] robert: * From Colin McDonald, "Attached is an updated to osgViewer::PixelBufferWin32. The win32 pbuffer implementation returned an error unless both the WGL_ARB_pbuffer and the WGL_ARB_render_texture functions were present. This was too restrictive, as a pbuffer can usefully be created without render-to-texture, e.g. for use with glReadPixels. The osg 1.2/Producer pbuffers worked without RTT, and osgUtil::RenderStage has all the code to handle both RTT and non-RTT pbuffers, doing a read and copy in the latter case. With these changes I have successfully tested the osgprerender example on a graphics card which supports RTT, and one which doesn't. Plus tested in my own application. In order to aid diagnostics I have also added more function status return checks, and associated error messages. I have included the win32 error text in all error messages output. And there were some errors with multi-threaded handling of "bind to texture" and a temporary window context which I have corrected. These is one (pre-existing) problem with multi-threaded use of pbuffers in osgViewer & osgprerender, which I have not been able to fix. A win32 device context (HDC) can only be destroyed from the thread that created it. The pbuffers for pre-render cameras are created in osgUtil::RenderStage::runCameraSetUp, from the draw thread. But closeImplementation is normally invoked from the destructor in the main application thread. With the additional error messages I have added, osgprerender will now output a couple of warnings from osgViewer::PixelBufferWin32::closeImplementation() at exit, after running multi-threaded on windows. I think that is a good thing, to highlight the problem. I looked into fixing it in osgViewer::Renderer & osgUtil::RenderStage, but it was too involved for me. My own application requirements are only single-threaded. Unrelated fix - an uninitialised variable in osg::GraphicsThread::FlushDeletedGLObjectsOperation(). " 2008-03-04 16:22 +0000 [r7913] robert: * From Wojciech Lewandowski, "Attached is modified osgShadow::ShadowMap. I changed following things: 1: Shadow map camera sets ABSOLUTE_RF_INHERIT_VIEWPOINT refernce frame. 2: Light Direction by matrix multiplications replaced with transform3x3 multiplication. 3: I made DebugingHUD functional by adding special draw callback. Former version was simply drawing pale square. 4: I was tempted to make 4 th change but decided to not do it. Instead I put it whith #if VIEW_DEPNDENT_TEXGEN. If you decide you may let it go. When objects are not centered at 0,0,0 coord but in some distant location (for example at surface of earth ellipsoid) shadow texgen suffers from inadequate precision of float matrices. I changed that by premultiplying Texgen matrix (using OSG double matrices) with inverse modelview and applying it later with ModelView identity matrix. This tweak may be appropriate for OverlayNode texgen as well. I left former version because I suspect that this change will make osgShadow::ShadowMap view dependant. Currently texgen matrix remains the same no matter what View displays it. With my change it wuld be different for each view. This touches the subject of View Dependent Shadow Techniques that J-S asked recently." 2008-03-04 16:03 +0000 [r7912] robert: * Refactored the way that the camera settings are inhertied 2008-03-04 15:29 +0000 [r7911] robert: * From Art Trevs, "in the current implementation of the FrameBufferObject there is a bug. The header file do specify something like this: FrameBufferAttachment(Texture3D* target, int zoffset, int level = 0); However in the .cpp file we have: FrameBufferAttachment::FrameBufferAttachment(Texture3D* target, int level, int zoffset) Which means that the meaning of level and zoffset is interchanged. The file with the corrected line is attached. Should go into src/osg/ " 2008-03-04 15:10 +0000 [r7910] robert: * From Philip Lowman, "A missing _WIN32_WINNT declaration causes MinGW compilation to fail when reaching FileNameUtils.cpp and the Windows 2000 function GetLongPathName() is called." 2008-03-04 14:19 +0000 [r7909] robert: * From Jean-Sebastien Guay and Robert Osfield, added optional --CompositeViewer path into osgpick to illustrate how to do picking in both viewers and as unit test for picking. 2008-03-04 14:04 +0000 [r7908] robert: * From Art Trevs, add support for saving external shader files. From Robert Osfield, adding missing member variable initializes and Output::getShaderFileNameForOutput() implementation 2008-03-04 13:30 +0000 [r7907] robert: * From Paul Martz, a third person view CompositeViewer example 2008-03-04 11:53 +0000 [r7904-7906] robert: * Change the setViewAsLookAt method to use Vec3d rather than Vec3 for better precision * 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. * Removed single threaded setting 2008-03-03 18:12 +0000 [r7903] robert: * Implemented fade between layers using MultiTextureControl node 2008-03-03 14:17 +0000 [r7902] robert: * Added beginings of new osgmultitexturecontrol example 2008-03-01 13:42 +0000 [r7900-7901] robert: * Updated wrappers * Added OSG_EXPORT 2008-03-01 12:50 +0000 [r7899] robert: * Fixed typo 2008-03-01 12:29 +0000 [r7898] robert: * Fixed naming 2008-02-29 16:09 +0000 [r7897] robert: * Disabled the resizing of Camera's with FBO's 2008-02-29 15:25 +0000 [r7896] robert: * Added Camera::g/setIntialDrawCallback and g/setFinalDrawCallback(), and added screen snapshot example code to osghud. 2008-02-28 20:02 +0000 [r7895] robert: * Added LODScaleHandler 2008-02-28 18:08 +0000 [r7894] robert: * Added OSG_EXPIRY_DELAY env var option. 2008-02-28 17:59 +0000 [r7893] robert: * Moved the delete operations to before of the compile operations to ensure that delete operations don't get pushed out by allocations 2008-02-28 10:56 +0000 [r7892] robert: * From He Sicong, "fixed shader calculation of ray tracing" 2008-02-27 12:11 +0000 [r7891] robert: * From Wojciech Lewandowski and Robert Osfield, Support from LightPointNode::s/getPointSprite parameter. 2008-02-27 11:46 +0000 [r7888-7890] robert: * 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." * From Paul Martz, fixed get/set methods API * Added debug message to track cache usage 2008-02-25 17:30 +0000 [r7887] robert: * From Melchior Franz, fixed handling of modified keys when entering/leaving window 2008-02-25 16:50 +0000 [r7886] robert: * From Franz Melchior, "When switching virtual desktops or minimizing a window, keys remain in pressed state after revealing, even if they are no longer pressed on the keyboard. This can have bad effects, especially if the stuck keys are modifier keys. One has to press and release the stuck keys again to reset the wrong state. The fix keeps track of all key presses and releases. On FocusOut and UnmapNotify it releases all keys that are in pressed state, and on KeymapNotify (following a FocusIn), it sets the currently pressed keys again. To avoid confusion in the OSG-using application normal keys are always reported released /before/ and pressed /after/ modifier keys. As current key states are returned as char[32] keymap by XQueryKeymap and XKeymapEvent, this format is also used to recognize modifier keys and for maintaining the current internal key state. Functions to set/clear/query bits in such a keymap are added. The patch was extensively tested with osgkeyboard and FlightGear under KDE and fvwm2. It was not tested on a Xinerama setup or with multiple windows, but as _eventDisplay is used throughout, there should be no problems. The patch also makes the following changes: - removes old and obsolete handling of modifier keys in ::adaptKey(). This wasn't only unused, but also wrong (and for that reason commented out in revision 7066). The modifier states are actually handled in ./src/osgGA/EventQueue.cpp (EventQueue::keyPress/keyRelease). - fixes some spelling" 2008-02-25 16:26 +0000 [r7885] robert: * From Emmanuel Roche, "I'm joining two zip files to this mail for the modified sources and include files of osgIntrospection. The modifications I made are very small but they are absolutely usefull to use osgIntrospection with visual studio 7.1 or 8 in debug modes. This should also solve other minor common problems (converter memory leak, virtual destructor for PropertyInfo, etc...). I choosed two function names : Reflection::uninitialize() and Type::reset(), this can of course be changed if someone has a better idea... I made the changes against OSG 2.2.0 public release. I tested the result with VS 7.1, VS 7.1 SP1, VS 8.0 SP1 and AQTime 5.0 on Windows XP SP2... All 4 seem to agree : they detected memory leaks before and don't anymore. Sorry I haven't take the time to test that on linux but the changes are so small I doubt there could be a problem... I let you check that on your side :-). I hope this will help making OSG an even more wonderfull library." 2008-02-25 16:05 +0000 [r7884] robert: * From Stephan Huber, "I missed a refactoring of the handling of modifier-keys, so they did not work on OS X. Attached you'll find the missing implementation for OS X." 2008-02-25 15:09 +0000 [r7881-7883] robert: * From Paul Martz, "This change adds "GL_NORMALIZE" and "GL_RESCALE_NORMAL" to .osg IO in place of the hex equivalents." * Updated wrappers * From Robert Osfield and Carlo Camporesi, took submission from Carlo for adding LoadingExternalReferenceMode to ProxyNode and extended it to include a wider range of options, also completed implementation 2008-02-25 14:27 +0000 [r7880] robert: * Changed method parameter to use const & 2008-02-25 14:15 +0000 [r7879] robert: * From Wojciech Lewandowski, "----1---- Attached is a fixed version of OverlayNode.cpp. I fixed CustomPolytope::cut( osg::Plane ) method. Bug was apparent in such scenario: Let P1 be some random frustum polytope Let P2 be the polytope that was created from P1 bounding box (P2 contains P1 entirely) Then ignoring precision errors: P1.cut( P2 ) == P2.cut( P1 ) == P1. But this condition was not always met. Cut failed when some of the polytope reference points happened to lie exactly on some intersecting planes in both P1 & P2 (plane distance was = 0). I only use CustomPolytope for my shadowing stuff so I did not test how this affects rest of OverlayNode.cpp. ----2---- Also attached is a minor precision improvement for osg::Plane intersect method (double version). ----3---- I have also one observation regarding osg::Plane - There are two intersect vertices methods (float and double flavour): inline int intersect(const std::vector& vertices) const inline int intersect(const std::vector& vertices) const I guess osg::Plane won't compile when someone changes default vec3 typedef to vec3d. Shouldn't the first method be changed to use vec3f explicitly ? Ie: inline int intersect(const std::vector& vertices) const" 2008-02-25 13:25 +0000 [r7878] robert: * From Glenn Waldron, "As you may recall, we discussed adding ReaderWriter::readObject() overrides to all the image plugins in order to facilitate future archive support. Attached are the necessary modifications. I tested JPEG, but not all the others... the code is identical though. Note that the DDS plugin already contained the readObject() implementations." 2008-02-25 13:17 +0000 [r7876-7877] robert: * From Wojciech Lawandowski, "Fixed EllipsoidModel::computeLocalUpVector to use Vec3d instead of Vec3 for normal computation. Its really small issue, maybe not even worth submitting ;-). But one never knows when inadequate precision hits him. " * Updated wrappers 2008-02-25 13:07 +0000 [r7875] robert: * Reverted back to previous version of osgtext 2008-02-25 12:54 +0000 [r7874] robert: * Refactored the mutex usage in osgText and freetype plugin to prevent multi-thread crash 2008-02-22 18:38 +0000 [r7873] robert: * From Mathias Froehlich, "I have extended the X11 pbuffer code to use either the complete set of glx 1.3 pbuffer functions or exactly ask for the extensions we need to call the apropriate glx extension functions for and around pbuffers extensions. The glx 1.3 version of this functios are prefered. If this is not pressent we are looking for the glx extensions and check for them. Prevously we just used some mix of the glx 1.3 functions or the extension functions without making sure that this extension is present. " 2008-02-22 11:52 +0000 [r7872] robert: * Refactored osgTerrain so that the interface for setting up layer is more straight forward, and added support into GeometryTechnique for handling multiple layers 2008-02-20 12:34 +0000 [r7871] robert: * Added TextureUnit entry to osg::TransferFunction and osgTerrain::Layer 2008-02-19 16:02 +0000 [r7870] robert: * Removed erroneous ; 2008-02-19 12:26 +0000 [r7869] robert: * Changed the updating of the contextID so that the DisplaySetting::MaxNumberOfGrapicsContexts() is updated on each new graphics context creation, in keeping with how osgProducer used to do things. 2008-02-19 11:30 +0000 [r7868] robert: * Refactor the rendering code to not use iterators, instead using indices as means of avoiding using < and += on STL iterators that have shown to be problematic under Windows 2008-02-19 09:49 +0000 [r7867] robert: * From Philip Lowman, workaround for gcc 3.2.3 bug 2008-02-18 15:30 +0000 [r7866] robert: * From Stephan Huber, "Attached you'll find some enhancements by Adrian Egli and me for the carbon-implementation of GraphicsWindow. Now you can use an AGLDrawable in conjunction with osgViewer/osgCompositeViewer." Changes from Robert Osfield, changed std::cout to osg::notify(osg::INFO) 2008-02-18 15:26 +0000 [r7865] robert: * From Rene Molenaar, "Using commandline build system nmake on windows does not work. This is caused by the OSG_MSVC_VERSIONED_DLL hack. there are hard-coded paths to place the dll's in the bin /dir that normally would go in the lib/config (release/debug) dirs. Nmake has different locations for the files (no config dir). fix: change the macro's in OsgMacroUtils.cmake for the IF(NOT MSVC_IDE) situation. Libs go in lib/, and DLLs and executables go in bin/ To accopmplish this for MSVC_IDE the targets get a "../../bin" prefix, for nmake this should be "../bin" (because there are no config folders). This fix mimics the behaviour of the MSCV_IDE (visual studio) build system when building with nmake. Note: A change in the main CMakeLists.txt creates the needed plugin directory in the binary dir. see included files for the changes: r7885fix-v2/CMakeModules/OsgMacroUtils.cmake r7885fix-v2/osgWrappers/CMakeLists.txt r7885fix-v2/CMakeLists.txt The behaviour of visual studio projects (and other build systems) remain unchanged. Tested building and installing with nmake and visual studio 8 debug and release. " 2008-02-18 15:17 +0000 [r7864] robert: * From Bob Kuehne, "Subject: obj material parse fix this fix strips whitespace off externally referenced material files. fixes a bug where the obj listed something like: mtllib FR_PARIS_ESPACE_UNESCO_S.MTL and then that caused failures in the load later: FindFileInPath() : trying /Users/rpk/Downloads/ FR_PARIS_ESPACE_UNESCO_S.MTL ... this fix simply strips whitespace around that filename before passing it on to the remainder of the loader." Changes from Robert Osfield, change std::cout to osg::notify(osg::INFO) 2008-02-18 15:10 +0000 [r7863] robert: * From Thibault Genessay, "On Dec 16 you introduced a fix to remove internal use of ref_ptr<>'s. It contained a bug that would cause freed memory to be written again. Specifically, in FreeTypeLibrary::~FreeTypeLibrary(), calling font->setImplementation(0); deletes the content pointed to by the fontImplementation pointer, while the line the immediately follows tries to access it. My fix is to make the second instruction part of an else clause rather than always executed. This way, the fontImplementation->_facade = 0 instruction is only executed when the font implementation is not set to 0 before (although I have no idea what it is here for and if this code path is ever followed, since I don't know the plugin's internals very well). Attached is the modified FreeTypeLibrary.cpp file." 2008-02-18 15:02 +0000 [r7862] robert: * Updated wrappers 2008-02-18 14:51 +0000 [r7861] robert: * Introduced typedef vec_type and value_type into LineSemgment class to allow easier switching between double and float versions. 2008-02-18 14:14 +0000 [r7860] robert: * From Bob Kuehne, build fix for OSX/gcc 4.0.1 2008-02-18 13:52 +0000 [r7859] robert: * From Brede Johansen, "Here's a fix to the changes regarding the new dispose() function. The last primary node inside a push-pop level would not get the dispose() call. This would result in information from some ancillary records, like the matrix (transform), being lost. Changes are made to the latest version in the repository. Thanks to Terry for the help to find and fix the bug and test the changes." 2008-02-18 13:47 +0000 [r7858] robert: * From Bryan Thrall, "moved the prints to a higher notify level (DEBUG_FP) so they are only printed at the most verbose level." 2008-02-18 13:44 +0000 [r7857] robert: * From Paul Martz, "Attached is a modification to OcclusionQueryNode. The copy constructor was failing to initialize all member variables. This change resolves the issue. Thanks to Doug McCorkle for testing and finding the bug." 2008-02-15 14:09 +0000 [r7856] robert: * Changed constructors to take const pointers 2008-01-29 22:14 +0000 [r7854] robert: * Update AUTHORS list for release 2008-01-29 21:34 +0000 [r7853] robert: * Updated logs for release 2008-01-29 20:45 +0000 [r7852] robert: * Updated wrappers 2008-01-29 12:24 +0000 [r7851] robert: * Reorganized the static vector used for buffering extensions to prevent an crash on exit. 2008-01-29 10:28 +0000 [r7850] robert: * Updated versions for OSG-2.3.4 release 2008-01-28 20:54 +0000 [r7848-7849] robert: * From Mike Weiblen, "1) best practices suggest that values passed by-reference should be initialized. 2) explanatory comments are handy when available as notify() messages." * From Mike Weiblen, "an aesthetic enhancement for displaying important version information." 2008-01-28 20:31 +0000 [r7847] robert: * From Roger James, "A small fix for compiling with OSG_USE_FLOAT_MATRIX" 2008-01-28 20:27 +0000 [r7846] robert: * From Rainer Oder, removed duplicate conditional 2008-01-28 19:54 +0000 [r7845] robert: * Fixed BUILD_REF_DOCS_SEARCHENGINE conditional 2008-01-28 19:42 +0000 [r7844] robert: * Added explict casts to double to prevent VS compiler error 2008-01-28 18:29 +0000 [r7843] robert: * From Jean-Christophe Lombardo and Robert Osfield, added BUILD_REF_DOCS_SEARCHENGINE and BUILD_REF_DOCS_TAGFILE options for being doxygen docs. 2008-01-28 17:00 +0000 [r7842] robert: * From Glen Waldon, "This change patches ReaderWriterOSGA.cpp so that it passes along the ReaderWriter::Options to files loaded from inside the archive. Previously it was discarding them. example: osgviewer -O noLoadExternalReferenceFiles archive.osga" 2008-01-28 16:38 +0000 [r7841] robert: * From Stephan Huber, added support for double click event for OSX. 2008-01-28 16:13 +0000 [r7840] robert: * From Cedric Pinson, "default white behaviour : osgviewerd -e ogr yourFile randomize color by feature: osgviewerd -e ogr -O UseRandomColorByFeature yourFile" 2008-01-28 15:41 +0000 [r7838] robert: * Added projectorMatrix parameter support to *SphericalDisplay setup functions and .view, this allows one to flip, rotate, or turn up side the position of the projector. Note, projector at base of display is the default. 2008-01-28 15:36 +0000 [r7837] robert: * Added include RenderLeaf to make sure #define's are defined correctly 2008-01-26 20:03 +0000 [r7836] shuber: * From Stephan Huber: updated XCode project 2008-01-24 10:04 +0000 [r7835] robert: * Removed duplicate declaration of DeleteHandlerPointer 2008-01-22 11:13 +0000 [r7833] robert: * Updated ChangeLog, Authors and readme for 2.3.3 release 2008-01-22 10:28 +0000 [r7832] robert: * Added missing checks for null pointers 2008-01-21 18:06 +0000 [r7831] robert: * From Jean-Sebastien Guay, notes on how to enable syntax highlighting in VS. 2008-01-21 17:04 +0000 [r7830] robert: * Fixed debug build of Inventor plugin 2008-01-21 14:42 +0000 [r7828-7829] robert: * 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." * Introduced BUILD_REFERENCE_DOCS option to make it a bit clearer how to enable and build the DoxygenDocs 2008-01-21 12:01 +0000 [r7826-7827] robert: * 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 " * Fixed Geometry::removePrimitiveSet method so that it no longer emits a warning when removing 0 elements form an empty primtive set list. 2008-01-21 11:47 +0000 [r7825] robert: * From Mike Weiblen, restructured GL2Extensions so that they now live in their own GL2Extensions.cpp file rather than in Program.cpp 2008-01-21 11:40 +0000 [r7821-7824] robert: * Updated version number for 2.3.3 release * Updated wrappers * Fixed debugged code path and set the minimum number of display lists to retain in cache to the same amount as the number of textures * Removed redundental vertex buffer object flush methods 2008-01-21 11:27 +0000 [r7820] robert: * Moved useful elements of the old VisualStudio directory into a new PlatformSpecifics/Windows directory 2008-01-19 18:26 +0000 [r7818-7819] robert: * Added thread safe debugging checking of allocation/deallocations * Added use of ref_ptr<> throughout geometry setup code to prevent memory leaks 2008-01-19 13:41 +0000 [r7817] robert: * Added debugging messages to help monitor expiry of inactive children. Debug messages current #if 0'd out, but added now for future tests when required. 2008-01-19 13:31 +0000 [r7816] robert: * Disabled the default enabling of update traversal on osgTerrain::Terrain as this was preventing PagedLOD subgraphs from expiring inactive subgraphs 2008-01-18 21:29 +0000 [r7815] robert: * Updated wrappers 2008-01-18 21:08 +0000 [r7813-7814] robert: * Removed erroneous const in method parameter * From Andy Skinner, build fixes for Solaris. 2008-01-18 21:01 +0000 [r7812] robert: * Moved the setting of _clipPlaneNum from the {} body to the intializer list to avoid reading from an unitialized variable. 2008-01-18 20:55 +0000 [r7811] robert: * From Paul Martz, Hi Robert -- "as you and J-S and I have been discussing on osg-users, this submission changes the clamp mode for the fake white texture applied to non-textured geometry. CLAMP_TO_EDGE will keep the geometry a consistent color across the entire texture coordinate range." 2008-01-18 16:36 +0000 [r7810] robert: * Added support for rendering skirts into osgTerrain::GeometryTechinque 2008-01-18 09:17 +0000 [r7809] robert: * Added getNumOperationsInQueue() method 2008-01-17 22:26 +0000 [r7807-7808] robert: * Commented out debug message * Added computation of skirt height for osgTerrain::Terrain height fields. 2008-01-17 17:10 +0000 [r7806] robert: * Added call to ClusterCullingCallback to determine if the Terrain node is culled by cluster culling. 2008-01-17 16:41 +0000 [r7805] robert: * Added Node to Terrain serialization 2008-01-17 15:37 +0000 [r7804] robert: * Fixed the computation of terrain bounding volume so that it properly accounts for elevation layers 2008-01-16 15:05 +0000 [r7803] robert: * Changed the Texture clamp mode to CLAMP_TO_EDGE 2008-01-14 14:53 +0000 [r7801-7802] robert: * Updated wrappers * Refactor osgTerrain::ProxyLayer so that it is now a pure Proxy, defering implementations to an Implementation rather than a subclass of ProxyLayer. Updating the osgTerrain and GDAL plugins to comply with this refactor. 2008-01-14 13:14 +0000 [r7800] robert: * Added back in checks for various verions of gdal 2008-01-14 12:14 +0000 [r7798] robert: * Updated AUTHORS file and osgversion for 2.3.2 release 2008-01-14 11:44 +0000 [r7797] robert: * Added geometry shader extension supported check to geometry shader parameter calls 2008-01-14 11:30 +0000 [r7796] robert: * 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." 2008-01-14 11:22 +0000 [r7795] robert: * Updated ChangeLog, date and version number for 2.6.2 release 2008-01-14 11:07 +0000 [r7794] robert: * Updated wrappers 2008-01-14 10:14 +0000 [r7793] robert: * From Daniel Stien, "When removing a child from a osg::Group, childRemoved is called after the node has already been erased from the node list, causing childRemoved to be performed on the consecutive node. Lines 180 and 182 are swapped in the attached Group.cpp. " 2008-01-11 12:16 +0000 [r7792] robert: * From Adrian Egli, made the getHandled() functionality consistent with the rest of the osgGA::MatrixManipulators 2008-01-10 11:08 +0000 [r7791] robert: * From Jean-Sebastien Guay, added OSGUTIL_EXPORT for Windows build 2008-01-10 11:02 +0000 [r7790] robert: * From Paul Martz, "his pretty much wraps up the OcclusionQueryNode work. I might make some additional modifications if testing reveals any issues, otherwise it's ready for 2.4." 2008-01-09 21:17 +0000 [r7789] robert: * Indentation/bracket fixes and change of default size 2008-01-09 21:00 +0000 [r7788] robert: * Simplified the image reading/writing 2008-01-09 16:56 +0000 [r7787] robert: * Adding missing files 2008-01-09 16:35 +0000 [r7786] robert: * Added support for reading and writing osgTerrain objects 2008-01-09 14:22 +0000 [r7785] robert: * Added setting of UpdateVisitor's FrameStamp and TraversalNumber in updateTraversal() 2008-01-09 11:42 +0000 [r7784] robert: * From Mike Weiblen, build fix for VS8. 2008-01-08 23:20 +0000 [r7783] ewing: * Updates to resync Xcode project with current state of repository. Added several missing plugins (e.g. osgdb_osgShadow, osgdb_osgViewer, osgdb_Terrain). Added dependency information hoping that the Xcode 3 parallel target building will work now. 2008-01-08 18:13 +0000 [r7782] robert: * From Colin McDonald, build fixes for Solaris. 2008-01-08 17:18 +0000 [r7781] robert: * From Jean-Sebastien Guay, Warning fixes 2008-01-08 16:09 +0000 [r7780] robert: * Added support for reading and writing the Terrain's Locator 2008-01-08 15:20 +0000 [r7779] robert: * Added writing and reading of inlined HeightField 2008-01-08 14:38 +0000 [r7777-7778] robert: * Removed non standard and redundent /*EOF*/ * Updated wrappers 2008-01-08 14:29 +0000 [r7776] robert: * From Mike Weiblen, support for geometry shaders, and osgeometryshaders example to demonstrate them. 2008-01-08 14:22 +0000 [r7775] robert: * Fixed warning 2008-01-08 13:56 +0000 [r7774] robert: * Added support for MinLevel and MaxLevel for ProxyLayer 2008-01-08 13:24 +0000 [r7772-7773] robert: * 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. * Removed debug info 2008-01-08 13:10 +0000 [r7771] robert: * Reorganised the .osg support for osgTerrain NodeKit to make it more extensible 2008-01-07 09:47 +0000 [r7770] robert: * Added OSGUTIL_EXPORTs 2008-01-06 17:53 +0000 [r7769] robert: * Added missing #include 2008-01-06 10:52 +0000 [r7768] robert: * Added exports for Windows build 2008-01-04 20:03 +0000 [r7767] robert: * Fixed date 2008-01-04 20:00 +0000 [r7766] robert: * From Eric Wing, "Attached are a few Find modules with updates. Among other things, they contain better support for environmental variables to pre-empt the autodection default search path order which is very helpful for people who do automated builds. (I recommend that the remaining modules consider adding the same system to make things consistent and easier for those people that want to do the automated builds.) The CMAKE_PREFIX_PATH has also been added to help people. I don't recommend adding this to the other modules because it looks like CMake agreed with my idea and will be adding the support in 2.6. So when that ships, people will get it for free. (In the meantime, my modules that do have it, it can be used.) Finally, I've submitted all of these modules to official CMake plus more so they will be in the next version of CMake. It looks like I may need to sort some compatibility issues out with the KDE people who seem to have conflicting modules, but this is unrelated to the updates submitted here as OSG already has these conflicts. I figured I would just sync OSG up with my current/best versions. Also of note, I added the large batch of Findosg*.cmake modules to CMake so people building against OpenSceneGraph can use these without writing their own. I wasn't sure if I should submit them here or not since they are for building against OSG and not for building OSG itself. So they are not included. " 2008-01-04 15:33 +0000 [r7764-7765] robert: * 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" * From Paul Martz, "Correction to size of reserved filed in .attr file, Spec says "149*4" bytes, not "149"" 2008-01-04 15:15 +0000 [r7763] robert: * Updated wrappers 2008-01-04 13:57 +0000 [r7762] robert: * Added catch for handling cases where undefined settings for dislayNum and screenNum are used 2008-01-04 12:03 +0000 [r7759-7760] robert: * Updated data on readme * Updated AUTHORS file for 2.3.1 release 2008-01-04 11:45 +0000 [r7757-7758] robert: * Updated version number for 2.3.1 release * Updated logs for 2.3.1 releae 2008-01-04 11:26 +0000 [r7756] robert: * From Brede Johansen, support for contiuation records. 2008-01-04 11:14 +0000 [r7755] robert: * From Paul Martz, completion of .ive and .osg support for OcclusionQueryNode 2007-12-26 22:00 +0000 [r7754] robert: * From Paul Martz, "The osgocclusionquery example contained some duplicate code that was also in the core OSG occlusion query code. This change removes the need for that." 2007-12-26 21:43 +0000 [r7753] robert: * Updated wrappers 2007-12-26 21:39 +0000 [r7751-7752] robert: * From David Callu, further work in support of shapefile support in VirtualPlanetBuilder * Suppressed reflection of problem templates/typedefs 2007-12-25 21:11 +0000 [r7750] robert: * Replaced values.h with float.h is avoid Windows compile issues 2007-12-24 15:37 +0000 [r7749] robert: * Updated wrappers 2007-12-24 15:32 +0000 [r7748] robert: * Fom Brede Johansen, "I have added the OSGPL license to the OpenFlight source files" 2007-12-24 15:19 +0000 [r7747] robert: * From Sid Byce, fixes for compiling with gcc 4.3 2007-12-24 14:47 +0000 [r7745-7746] robert: * From Rafa Gaitan, "I have corrected some includes of the quicktime plugin from Quicktime/Quicktime.h to QuickTime/QuickTime.h. MacOsX filesystem is normally case insensitive, but in my case I changed that option and the quicktime headers were not found. Now compiles fine and on case insesitive file systems should work correctly too. " * From Jason Daly, "I'm still having a problem with SWING animations on sequences. Here's the fix again, merged with this morning's svn (including the other Sequence fixes from J-S)." 2007-12-24 12:56 +0000 [r7744] robert: * Based on Suggestions from "Harald A" fixed CMake setup of Doxygen docs 2007-12-23 18:15 +0000 [r7743] robert: * Convert osgText and freetype plugin across to keeping the font size as state that is passed into the getGlyph and getKerning methods rather than a current state of the font itself. 2007-12-23 13:45 +0000 [r7742] robert: * Moved Font code across to using FontSizePair internally and on Font methods, but still using original implemetations. 2007-12-23 13:18 +0000 [r7741] robert: * Renamed osgText::Font::SizePair to osgText::FontSizePair in prep for use this more widely within osgText/freetype plugin. Added support for inserting loading models into --mt multithreaded implementation. 2007-12-23 13:08 +0000 [r7740] robert: * Fixed indentation 2007-12-21 17:56 +0000 [r7739] robert: * From Jean-Sebastien Guay, added new version of feetype into search list 2007-12-21 17:33 +0000 [r7738] robert: * Added copyright notice and tweaked genwrapper 2007-12-21 17:26 +0000 [r7737] robert: * Updated wrappers 2007-12-21 16:18 +0000 [r7736] robert: * From Paul Martz, "added include to prevent VS8 compile error" 2007-12-21 15:54 +0000 [r7735] robert: * Removed OperationArrayFunctor for wrappers to avoid compile errors assocaited with them 2007-12-21 15:46 +0000 [r7734] robert: * Removed inappropriate inline 2007-12-21 15:04 +0000 [r7733] robert: * Updated wrappers 2007-12-21 14:49 +0000 [r7732] robert: * From Paul Martz, .osg support for OcclusionQueryNode 2007-12-21 14:45 +0000 [r7731] robert: * From Paul Martz, Introduced osg::OcclusionQueryNode with support for OpenGL occlusion query extension 2007-12-21 14:21 +0000 [r7730] robert: * From Bryan Thrall, "UFOManipulator ignores any attached CoordinateFrameCallback; the attached files fix this (based on 2.2 release). " 2007-12-21 14:16 +0000 [r7729] robert: * From Mathias Froehlich, "Something to extend the texture subloading blacklist. ... we have problems with that on solaris." 2007-12-21 14:13 +0000 [r7728] robert: * From John Kelso,"Attached is the ive reader/writer for the 2.x version of the osg::Sequence node. " 2007-12-21 13:32 +0000 [r7726-7727] robert: * From Jeremy Moles, "Here is a implementation of setScreeResolution and setScreenRefreshRate for systems support Xrandr. The include CMakeFile makes this optional, and turns it OFF by default, in which case any person trying to use these functions under Linux will be instructed to build osgViewer w/ Xrandr support. " * Added return 2007-12-21 13:18 +0000 [r7725] robert: * From Jean-Sebastien Guay, "When using osg::Sequence you can stop the sequence by setting the mode to STOP. Subsequently, you can restart it from the beginning by setting the mode to START. This does not work as expected. The _now time is not updated while the mode is STOP, which causes the items in the sequence to flash by very quickly when the mode is set to START. For example, if the mode was set to STOP and left that way for 30 seconds, and there are 10 items in the sequence, when the mode is set to START all the items will flash by (in 3 loops) while the _now time catches up with the real time, and then the sequence will go on at the rate it should. This is a simple fix for that, which updates the _now time regardless of the mode the sequence is in." 2007-12-21 13:07 +0000 [r7724] robert: * From David Callu, various classes in support of VirtualPlanetBuilder 2007-12-21 12:36 +0000 [r7723] robert: * From David Callue, added support for reading/writing Vec*dArray to .ive plugin 2007-12-20 17:30 +0000 [r7722] robert: * Updated wrappers 2007-12-20 15:51 +0000 [r7720-7721] robert: * Added support for min to max level ranges for Layers in support of VirtualPlanetBuilder usage of this. * Added an optional use of doubles for computing error metrics to help investigate precision issues seen in VPB when working with small segments of geographic data. 2007-12-20 15:40 +0000 [r7719] robert: * Reset the the _lineSpacing to 0.0f to fix the line spacing when word wrapping takes place 2007-12-20 14:40 +0000 [r7718] robert: * From Wojciech Lewandowski, "By complete coincidence I just have read an old OSG submission mail related to bugfixes in osg::Polytope.setToUnitFrustum and setToBoundingBox It was sent at beginning of december. I read it when purging my Thrash emails and found it there this because it was wrongly classified as SPAM. What stroke me in this email was the fact that there was once an error in Polytope class. Since I adopted CustomPolytope (osgSim OverlayNode.cpp) for my minimal shadow area computations I checked my code for this error. And I found it in CustomPolytope::setToUnitFrustum method. CustomPolytope::setToBoundingBox seemed OK. So I went back to the origin and fixed this error in OverlayNode.cpp as well. I have not tested it in OverlayNode though (I don't know how) so please look at this carefully. But it seems to work fine with my shadow calculations." 2007-12-20 10:48 +0000 [r7717] robert: * Reorder includes in an attempt to avoid compile problems under Cygwin. 2007-12-17 21:52 +0000 [r7715] robert: * Updated AUTHORS files 2007-12-17 21:35 +0000 [r7714] robert: * Updated ChangeLog for 2.3.0 release 2007-12-17 21:08 +0000 [r7713] robert: * Updated version number for 2.3.0 dev release 2007-12-17 18:38 +0000 [r7711] robert: * From Paul Obermeier, "Please find enclosed the following 2 bug fixes: File osgShadow/Version.cpp, Line 25: const char* osgShaodowGetLibraryName() should be: const char* osgShadowGetLibraryName() File CMakeModules/OsgMacroUtils.cmake, Line 224: SET_TARGET_PROPERTIES(${TARGET_TARGETNAME} PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) should be: SET_TARGET_PROPERTIES(${TARGET_TARGETNAME} PROPERTIES DEBUG_POSTFIX "${CMAKE_DEBUG_POSTFIX}") Otherwise setting CMAKE_DEBUG_POSTFIX to an empty string instead of "d" in the main CMakeLists.txt does not work under Linux. " 2007-12-17 17:43 +0000 [r7710] robert: * From David Cullu, added various mathematical operators 2007-12-17 10:24 +0000 [r7708-7709] robert: * From Stephan Huber, "attached you'll find an updated carbon-implementation, which implements the missing functionality for setWindowName and useCursor " * Updated wrappers 2007-12-17 09:58 +0000 [r7707] robert: * From Wojiech Leandowski, "I earlier wrote about my hassles with archives under Windows. I implemented 64 bit binary compatible OSGA archive reader/writer using mixed stdio/iostream calls. But during this work I learned that it can be made in much simpler way. Attached is result of this new attempt. I hope its appropriate for inclusion into OSG codebase. It was compiled and tested with latest SVN OSG, Windows XP 32 bit and Windows Vista business 64 bit. OSG was built using VS 2005 Express SP1 for 32 bit environment and VS 2005 Std for 64 bit. --- Solution description (there were two problems involved): --- Problem 1: implicit conversions beetween file positions and 32 bit int. This could be considered a MS compiler bug because this 32 bit int was additionally implicitly converted to/from 64 bit. As far as I know compiler is allowed to make only one implict conversion (but maybe this rule does not refer to simple types). Its actually possible to address OSGA files above 4 GiB range using 32 bit windows iostreams. MS Iostreams in practice offer the same level of functionality as stdio functions. There are functions fsetpos and fgetpos in stdio lib which use 64 bit file pointers (fpos_t). These functions are internally called by seekp( streampos ), seekg( streampos ), tellp(), and tellg() methods. So its also possible to change and retrieve file postions using iostream calls. But the problem lies in implicit handling of streampos type. streampos type is actually a template class used as seekp, seekg parameter and returnd from tellp, tellg. Its capable of storing 64 bit file pointers. But streampos can be also converted to/from simple type streamoff. It has proper constructor and cast operator. In Win 32 environment streamoff is defined as long (~32 bit int). So when seekp, and tellp arent used with exact streampos objects but OSGA_Archive::pos_type complier makes implicit casts to 32 bit int types loosing important bits of information. So above problem could be easily handled by making conversion calls explicit. My code defines 2 functions used to convert back and forth beetwen 64 bit OSGA_Archive::pos_type and std::streampos objects: OSGA_Archive::pos_type ARCHIVE_POS( const std::streampos & pos ); std::streampos STREAM_POS( OSGA_Archive::pos_type & pos ); Rest of the OSGA implementation code was modified to call these conversions explicitly with seekp, seekg, tellp, tellg. --- Problem 2: seekp and seekg have two variants. Only one of these variants is actually 64 bit proof. When I solved my first problem and made use of explicit streampos conversion functions, OSGA archive was able to read my example 11 GiB archive. But there were still problems with write and append. I found that the reason for this was pair of seekp( 0, std::ios_base::end ) and tellp() calls. It turned out that use of seekp, seekg( offset, direction ) function variants was setting file pos pointer to EOF when file was larger than 4GiB. But I noticed that one arg seekp, seekg ( streampos ) versions worked correctly. So the solution was to change OSGA write logic a little, and replace seekp( offset, direction ) with seekp( absolute_pos ) calls. I achieved this by modifing IndexBlock write method to record and restore file pos after IndexBlock was written. This modification has the effect that put pointer is generally kept at the end of file, so there is no need to repostion to the end before writing the files. This allowed me to get rid of those problematic seekp( 0, std::ios_base::end ) calls. There was one place where I could not easily get rid of seekp( 0, std::ios_base::end ). It was situation where existing OSGA was opened for appending. I resolved this by computing file length by finding max position from index block and file block endings. Then I replaced former seekp( 0, std::ios_base::end ) with seekp( STREAM_POS( found_file_length ). --- Description of these changes may sound bit hacky but in practice these were fairly simple and straightforward modifications. I hope they pass your review. There is one complex preprocessor condition which I based on few lines taken from boost positioning.hpp. Boost licence does allow such reproduction. In case of problems this condition may be easily simplified to windows only implementation. " 2007-12-16 17:57 +0000 [r7706] robert: * From Jean-Sebastien Guay, "Some clients at my new job noticed that picking did not work with the osg::Capsule subclass of osg::Shape in an osg::ShapeDrawable. Other shapes worked fine. So I have fixed this. Code attached. My modification is in the PrimitiveShapeVisitor, and is based on the DrawShapeVisitor - I added methods called createCylinderBody and createHalfSphere, and used them in apply(Cylinder&) and apply(Capsule&). In my testing they work fine, tested even with transforms and moving around the scene. " 2007-12-16 17:53 +0000 [r7705] robert: * Added check to make set up a sequencegroup only happen when required. 2007-12-16 17:46 +0000 [r7704] robert: * From Wojciech Lewandowski, "osgSim::BlinkSequence has sequenceGroup unitialized by default (=NULL ref_ptr). By looking at the code I figured out that unset sequenceGroup is completely correct and thus allowed. But writing BlinkSequence with empty sequence group caused a crash when IVE was accessing baseTime from NULL address. Atttached is a fix for this situation. " 2007-12-16 17:41 +0000 [r7703] robert: * From Wojiech Lewandowski, "There was a bug in ShadowMap camera view matrix computation. View matrix was wrong when light was directional and shadowed scene was not centered at zero coord. I fixed that and also modified cast distance to much smaller value. With former range it was possible to generate shadows with lowest LODs. " 2007-12-16 17:33 +0000 [r7702] robert: * Fixed HeightField coordinates set up 2007-12-16 17:01 +0000 [r7701] robert: * Added intializers. 2007-12-16 16:18 +0000 [r7700] robert: * Added support for automatically setting the coordinate system of a shapefile by reading associate .prj file 2007-12-16 13:29 +0000 [r7699] robert: * Added parsing of parameters to Viewer constructor. 2007-12-16 13:25 +0000 [r7698] robert: * Added StateSetManipulator for testing purposes, and fixed typo 2007-12-16 13:20 +0000 [r7697] robert: * Removed used of ref_ptr<>'s internally to avoid ciricular calls on destruction. 2007-12-16 12:36 +0000 [r7696] robert: * Added initilizers of variables to FreeTypeFont3D constructors. Removed unused FreeTypeFontBase class 2007-12-15 17:16 +0000 [r7693-7695] robert: * Fixed handling of DISPLAY variable, and mapped the rest of Producer config settings * Commented out rendendent warnings * commented out rendudent warning 2007-12-15 15:22 +0000 [r7690-7692] robert: * Added setting of ambient bias uniform * Added separate unform variable to keep track of abmient contribution. * Tweaked the abmient lighting contribution so that the OpenGL vertex lighting has the ambient light source switched off, and use the fragment shader to add this contribution back in. 2007-12-14 17:40 +0000 [r7689] robert: * Refectored the loading of Locator out into its own separate file 2007-12-13 17:51 +0000 [r7688] robert: * Added Locator::s/getTransformScaledByResolution(bool) to assist with VPB integration 2007-12-13 16:06 +0000 [r7687] robert: * Warning fixes 2007-12-13 15:24 +0000 [r7685-7686] robert: * From Andy Skinner, build fixes for Solaris * Convert tabs to four spaces 2007-12-13 14:26 +0000 [r7684] robert: * Fixed memory leak 2007-12-13 14:16 +0000 [r7683] robert: * Updated the shapefile attribute IO so that its more streamlined. 2007-12-13 12:30 +0000 [r7682] robert: * Added copy operator to ShapeAttribute to prevent problems when assigned them or use within a vector 2007-12-12 17:59 +0000 [r7681] robert: * Added a osgViewer::setSceneData(ref_ptr) method. 2007-12-12 17:48 +0000 [r7680] robert: * Added new setFont(ref_ptr<>) variants to Text and Text3D 2007-12-12 17:04 +0000 [r7679] robert: * From Serge Lages, introduce readRef*File() methods which pass back ref_ptr<> rather than C pointers. 2007-12-12 16:56 +0000 [r7677-7678] robert: * Updated copyright notices * From Andy Skinner, build fixes for Solaris. 2007-12-12 11:57 +0000 [r7676] robert: * Added std:: infront of sort call 2007-12-12 10:47 +0000 [r7675] robert: * Added const to operators. 2007-12-12 10:35 +0000 [r7674] robert: * Added std:: in front of find enties 2007-12-12 09:48 +0000 [r7673] robert: * From Serge Lages, "Here is a new modification to CMake adding an option (OSG_MSVC_GENERATE_PLUGINS_AND_WRAPPERS_MANIFESTS) to specify if we want to generate or not the manifest files under VS8 for the plugins and the wrappers. It seems that the manifests are needed if we try to load dynamically a core OSG dll." 2007-12-12 09:45 +0000 [r7672] robert: * From Paul Martz, "Function declaration returns a bool, function body was returning a pointer. Changed body to return (pointer != NULL)." 2007-12-11 17:19 +0000 [r7671] robert: * From Cyril Brulebois, removed redundent typedef. 2007-12-11 17:01 +0000 [r7670] robert: * Updated wrappers 2007-12-11 16:42 +0000 [r7669] robert: * From Brede Johnansen, support for continuation records. 2007-12-11 16:34 +0000 [r7668] robert: * From Karl Heijdenberg, moved set/getFrameStamp() from osgViewer::View to osg::View. 2007-12-11 15:55 +0000 [r7667] robert: * From Mike Garrity, "There was an on again/off again thread on OSG users about creating subclasses of osg::Array that referenced data stored an application's internal data structures. I took a stab at implementing that and ran into a couple of downcasts in Geometry.cpp. Enclosed is my take at fixing those along with a simple example of how to do this." 2007-12-11 14:48 +0000 [r7666] robert: * Added missing copyright notices 2007-12-11 14:39 +0000 [r7665] robert: * From Mathias Froehlich, "Attached is a change to the PBuffer initialsation code that checks for the GLX version before issuing commands that require GLX-1.3. This prevents a crash with open source drivers on linux. " 2007-12-11 14:06 +0000 [r7664] robert: * From Roger James, "The changes are as follows:- 1. DAE object no longer held onto by plugin. 2. Filename to URI conversion now handled internally by plugin. 2. User can supply an external DAE object for use by the plugin. 3. User can supply a std:string object for the plugin to return the URI of the document just processed. 4. User can supply a std::string to receive the unit name information from the document just read in. (e.g. meters, inches, etc.) 5. User can supply a float to receive the metric conversion factor from the document just read in. 6. User can supply an enum to receive the up axis orientation information from the document just read in. 7. Material transparency can be both read and written. 8. User can supply an experimental GoogleMode option on output. The plugin will try to emulate the way Sketchup specifies transparency (i.e. the inverse of what it should be!). I am still struggling to get GE to understand transparency, anyone know what it expects? 9. Rudimentary support for Collada effect parameters (newparam, setparam, param) on input. Basic nVidia FX Composer dae documents can now be read. " 2007-12-11 12:35 +0000 [r7662-7663] robert: * Updated wrappers * From Tim More, "This submission tries to optimize redundant compilation of StateSets and Drawables in the DatabasePager. The practical effects of these are to greatly reduce startup time and the time to load an individual scenery tile in FlightGear. - From my log message: Minimize the number of StateSets and drawables that are compiled by checking if they have already been compiled or will be elminated by the SharedStateManager. Move the sorting of the dataToCompile queue out of compileGLObjects into the man pager run function. Change the SharedStateManager to use maps instead of vectors." 2007-12-11 11:57 +0000 [r7660-7661] robert: * From Joseph Steel, "he change is to initializeExtensionProcs() to verify the version of the OpenGL implementation before attempting to get the MaxTextureCoords parameter." * From Mathias Froelich, "I have cleaned up the state set handling of the osg::ClipNode. Previously the complete StateSet was cleared, even the non clipping releted state attributes and modes in this stateset on a call to setLocalSetateSetModes. With this change only those modes/attributes are changed that need to be changed. That is, if a clip plane is removed from the ClipNode, only this assiciated mode is removed from the state set, instead of throwing away the whole state set. In this way we have less surprising results if the state set of a clip node is used for more state than just the clip state. " 2007-12-11 11:42 +0000 [r7659] robert: * From Mathias Froechlich, "I have extended the StateSet api with a StateSet::removeAssociatedModes(const StateAttribute*) and a StateSet::removeAssociatedTextureModes(unsigned, const StateAttribute*) call. These funktions are just missing for a complete api IMO." 2007-12-11 11:37 +0000 [r7658] robert: * From Alberto Luaces, "it seems that include/osgParticle/BoxPlacer was created from the SectorPlacer file. The code works well but the SectorPlacer comments stayed in the new file. I have altered those comments so they now contain valid information for the BoxPlacer class and the doxygen generated documentation is correct. " 2007-12-11 11:21 +0000 [r7657] robert: * From Per Fahlberg, "Attached is a fix allowing removal of shaders from a program after it is first compiled. It will also allow new shaders to be attached after the program is first compiled." 2007-12-10 20:56 +0000 [r7656] robert: * From Sherman Wilcox, "In ESRIShapeParser.cpp, wasn't closing the file handle. Added: if(fd) { close(fd); fd = 0; } to the constructor." 2007-12-10 20:36 +0000 [r7653-7655] robert: * From Eric Wing, "For osgviewerCocoa, a very simple change to allow toggling between fullscreen mode and back between views. (To activate, double click on the view to toggle.) It demonstrates/uses the new one-liner fullscreen method introduced in Leopard. Code will still compile and run in pre-Leopard (thanks to Obj-C dynamic/late binding), but code path is treated as a no-op in those cases." * Updated wrappers * From Richard Schmidt, fix on ordering to be standard OpenGL way. 2007-12-10 20:30 +0000 [r7651-7652] robert: * From Richard Schmidt, "attached you will find a set of small fixes and features. CullVisitor/SceneView: *Feature: This version supports multiple clearnodes in the graph, one per renderstage. Text: *Feature: Performance Enhancement when calling SetBackdropColor Material: *Fix: OpenGL calls are now made according to the OpenGL Standard " * From Ulrich Hertlein, "attached are some fixes and tweaks I made to the .obj loader: - Material class contained both 'shininess' and 'Ns' member variables - 'Ns' and 'Ni' are initialized to 0 ('Ni' is unused at the moment) - only 'Ns' was read from .mtl file but 'shininess' was used for osg::Material - 'illum' was read from .mtl file but never used; it is now used as follows -- illum==0 -> no osg::Material created/attached therefore no lighting -- illum==1 -> osg::Material specular is set to black -- illum==2 (default) -> specular read from .mtl file is used - 'map_Kd' and 'map_Ks' may contain additional arguments (e.g. '-s 1 1 1'), these are now skipped over and the texture filename is properly extracted " 2007-12-10 19:51 +0000 [r7649-7650] robert: * From David Callu, IO support for Text3D * From David Callu, Text3D 2007-12-10 17:30 +0000 [r7648] robert: * From Roland Smeenk, "Attached you will find a large set of small typo fixes (mainly in the comments)." 2007-12-10 16:21 +0000 [r7647] robert: * Updated wrappers 2007-12-10 16:14 +0000 [r7646] robert: * Added osgViewerGetVersion() usage to force Windows to link osgViewer. 2007-12-10 15:15 +0000 [r7645] robert: * From David Callu, added support of 3D text to osgText and associated plugins. 2007-12-10 12:45 +0000 [r7644] robert: * From David Callu, added support for automatically reading associate dbase files 2007-12-10 12:00 +0000 [r7643] robert: * Char char[] to char* with new allocation. 2007-12-10 11:34 +0000 [r7642] robert: * Refactored record allocation to fix build errors under Windows. 2007-12-10 11:20 +0000 [r7641] robert: * Added export macro for windows build 2007-12-10 10:16 +0000 [r7640] robert: * Added include to fix compile errors under gcc 4.3 2007-12-09 16:38 +0000 [r7639] robert: * From Gustavo Wagner, fixed bugs in reading M records from shapefile 2007-12-09 16:29 +0000 [r7638] robert: * From Gino van den Bergen, "I've added the following features to the OSG VRML plugin: * Support for Box, Sphere, Cone, and Cylinder. These nodes are converted to osg::Geometry conform the VRML97 spec. * Backface culling is enabled/disabled according to the "solid" flag for geometries that are converted from IndexFaceSets. * PROTO instances can now be used for "appearance" and "geometry" fields in a Shape node. The file ReaderWriterVRML2.cpp is adapted for the latest stable public release: http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.2.0 The changes where needed for being able to read VRML file which are output by VMD (http://www.ks.uiuc.edu/Research/vmd/). A sample VRML file is enclosed in this submission. The plugin has been tested against a number of VRML samples that include texturing. The texturing is found to be VRML97 compliant for all added geometry nodes. " 2007-12-09 16:23 +0000 [r7637] robert: * Removed redundent OpenFlightOptimizer 2007-12-09 16:14 +0000 [r7636] robert: * From Ralf Karn, fixed "invalid enumerant" warning on TEXTURE_2D_ARRAY_EXT initialization 2007-12-09 16:06 +0000 [r7635] robert: * From Mihai Radu, "After someone asked for a fix for non-textured object appearing black with the shader for textured objects. This works very well in cases where there could be a mix of textured and non-textured objects in the scene, and it makes the initialization more robust. The idea is from PSSM, to add a 1pixel texture to the main rendering as to provide white for any objects missing textures." 2007-12-09 16:01 +0000 [r7634] robert: * Updated wrappers 2007-12-09 15:43 +0000 [r7633] robert: * From David Callu, added DBase attribute support for shapefiles 2007-12-09 14:54 +0000 [r7632] robert: * Updated wrappers 2007-12-09 12:19 +0000 [r7631] robert: * From Aderian Egli, changed the window dimension clamping code to work independantly for width and height. 2007-12-08 17:10 +0000 [r7630] robert: * From Mario Guimaraes, "Currently, in the StateSet::merge method, the rhs state attributes and modes are not merged into the lhs state when the rhs is PROTECTED. The changes I'm providing here address this problem." 2007-12-08 17:04 +0000 [r7629] robert: * From Serge Lages, "Hi Robert, You were right about the CMAKE_MODULE_LINKER_FLAGS option for CMake, so here is a modification allowing to not generate the manifest files for the plugins making them a lot more easy to redistribute. I have also made the same modification to the wrappers as they are also put into the osgPlugin folder when generated. " 2007-12-08 17:00 +0000 [r7628] robert: * from Paul Matz, "Understood. Well, I think it's reasonable to assume that the non-env var case is the more tested case, and therefore it is correct to set _supportsVertexBufferObjects to the same value as _fastPath. So here's a change that does the same thing for the env var case." 2007-12-08 16:52 +0000 [r7627] robert: * From Jeremy Moles, Anders Backman and Robert Osfield, both Jeremy and Anders added static build support as an option, but one was for Unix and one for Windowsm, but the two mods were also inconsitent in naming and implementation. I have had a bash at merging them both, but don't know yet if these changes will work yet on either configuration... user testing will tell... 2007-12-08 16:37 +0000 [r7626] robert: * From Peter Hrenka, "Due to popular demand I would like to submit this enhanced version of PolytopeIntersector. New features of PolytopeIntersector : * Dimension mask: The user may specify the dimensions of the primitives to be tested. Checking polytope-triangle and polytope-quad intersections is rather slow so this can be turned off. * Reference plane: The resulting intersections are sorted by the distance to this plane. New memebers of PolytopeIntersector::Intersection : * distance: Distance of localIntersectionPoint to the reference plane * maxDistance: Maximum distance of all intersectionPoints to the reference plane. * intersectionPoints: The points intersecting the planes of the polytope or points completely inside the polytope. * localIntersectionPoint: arithmetic mean of all intersection points * primitiveIndex: Index of the primitive that intersected I added some more output to the example osgkeyboardmouse." 2007-12-08 15:46 +0000 [r7625] robert: * From David Cullu and Robert Osfield, David addded a new style of OSG integration with QT by sublcassing from QTWidget and using osgViewer to create the graphics context, Robert added integration of this codes with the original AdapterWidget implementation still available by default. The new implementation can be accessed by running: osgviewerQT cow.osg --QOSGWidget 2007-12-08 15:32 +0000 [r7624] robert: * From Daniel Larimer, "There was a error with QTUtils.h when compiling on HFS case-sensitive file system. The #include line needs to be replaced with #include to avoid compile problems on some systems. 2007-12-07 13:28 +0000 [r7617] robert: * From Tony Horrobin, "Attached is a small fix for the openflight loader with regard to road segment and construction records. It just uses the id field to set the name of the osg node as with other types." 2007-12-07 13:19 +0000 [r7616] robert: * From Paul Martz, minor typo fixes in notify messages 2007-12-06 17:53 +0000 [r7615] robert: * From Bob Kuehne, added extra event handlers 2007-12-06 17:44 +0000 [r7614] robert: * From Farshid Lashkari, "The bmp writer crashes in certain cases. It happens when the computed size of the image data is greater than the actual image size. This causes the memcpy call to go out of the array bounds. I modified the code so that it copies the data during the iteration, instead of memcpy'ing. This fixes the problems i was having. If you are curious, the writer was crashing when trying to write an RGB image that was 2050 x 1280. You might be able to reproduce it by allocating an empty image of that size and writing it to a file." 2007-12-06 17:41 +0000 [r7613] robert: * From Hautio Jari, "Current version of GraphicsWindowWin32 allows resize to zero height window. This breaks rendering in for example MFC SDI applications and in MFC MDI applications if user resizes the window so that client area has zero height. Current safeguard for minimized window: LRESULT GraphicsWindowWin32::handleNativeWindowingEvent( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam ) ... ///////////////// case WM_MOVE : case WM_SIZE : ///////////////// ... if (clientRect.bottom==0 && clientRect.right==0) ... does not cover this situation. In these situations clientRect.bottom = 0 and clientRect.right > 0. Quick fix to this is relax condition: if (clientRect.bottom==0 || clientRect.right==0) Modified file is attached. Tested with osgviewerMFC from 2.2.0 release (Windows XP sp2) Before fix: - execute from command line osgviewerMFC.exe cow.osg. - the cow is rendered nicely. - resize window to zero height by dragging from bottom border upwards. - resize window back to original height - just blue screen, no cow After fix: - execute from command line osgviewerMFC.exe cow.osg. - the cow is rendered nicely. - resize window to zero height by dragging from bottom border upwards. - resize window back to original height - the cow is where it is supposed to be. " 2007-12-06 17:31 +0000 [r7611-7612] robert: * From Serge Lages, "Here are some modifications to the DatabasePager, with the possibility to : - Get or set the target number of PagedLOD children to remove per frame. - Get or set the minimum number of inactive PagedLOD to keep. Corresponding environment variables have been added too. The default values reproduce the previous DatabasePager behavior." * From Cedric Pinson, fixes for toggle fullscreen on gnome desktop 2007-12-06 17:07 +0000 [r7610] robert: * From Mathias Froehlich, "n examples/osgfadetext/CMakeLists.txt osgSim as dependency is missing." 2007-12-06 17:03 +0000 [r7608-7609] robert: * From Mathias Froehlich, "Add missing includes. Fails on hp-ux." * From Mathias Froehlich, "Attached is a changed version of osgunittests.cpp. The __FUNCTION__ macro/string value is not portable. Instead the functions name is just put into the string." 2007-12-06 16:50 +0000 [r7607] robert: * From Wojiech Leandowski, fixed the hardwiring of archive extensions to 4 charaters 2007-12-06 10:04 +0000 [r7606] robert: * Fixed crash in cfg by rearranging the code blocks so the codes that use the graphics context are only called when a graphics context is successfully aquired. 2007-12-06 09:22 +0000 [r7605] robert: * From Ulrich Hertlein, added osgViewer dependency for OSX build 2007-12-05 18:32 +0000 [r7604] robert: * Changed WIN32 guard to _WIN32_IMPLEMENTATION to attempt to avoid Win32 build error 2007-12-05 11:29 +0000 [r7603] robert: * Removed debugging line. 2007-12-05 11:23 +0000 [r7602] robert: * From Cedric Pinson, first cut at Producer .cfg camera configuration file support. 2007-12-04 14:46 +0000 [r7597-7601] robert: * Added support for new double Vec*Array classes in various functors. * 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" * Added support for double Vec*Array objects * Added double Vec*Array support * Added testPolytope entry 2007-12-01 15:30 +0000 [r7596] robert: * Fixed the Polytop::setFrustum and setBoundingBox method 2007-11-21 10:18 +0000 [r7595] robert: * Added a check against the makeCurrent() return type to make sure that OpenGL calls are only made if the makeCurrent() is successful. 2007-11-17 11:50 +0000 [r7594] robert: * From Colin Dunlop, add --devices support. 2007-11-13 17:03 +0000 [r7593] robert: * Added support for filename only setup of CompositeLayer on reading/writing. 2007-11-10 03:43 +0000 [r7592] ewing: * Added missing files for qt plugin 2007-11-09 20:04 +0000 [r7591] ewing: * For osgdb_freetype: Ugh. Another fix for the cycle problem. It seems that the SDKROOT didn't necessarily solve the problem, but there were some unneeded library dependencies that weren't in my test fork which allowed my test to work, but caused SVN to fail. I have removed some of the excess libraries and it seems to build without the Q&A fix. 2007-11-09 13:16 +0000 [r7590] ewing: * OpenThreads Version header was mistakenly in Resources. osg Texture2DArray header was mistakenly in Resources. 2007-11-09 02:21 +0000 [r7589] ewing: * Lots of Leopard information added. 2007-11-08 10:30 +0000 [r7588] robert: * From Colin Dunlop, added missing header (note from Robert Osfield, this submission was extracted from an inline submission so may be prone to errors). 2007-11-08 10:30 +0000 [r7587] ewing: * For Leopard freetype, path is $(SDKROOT)/usr/X11/lib not X11R6. 2007-11-06 12:07 +0000 [r7586] robert: * From Colin Dunlop, add live video stream support 2007-11-04 16:08 +0000 [r7585] robert: * Added support for setting volume in xine plugin, manual adjustment of volume in osgmove example, and clamping to 0 to 1.0 range in quicktime plugin 2007-11-04 15:21 +0000 [r7584] robert: * Changed the include definition so that it works under Cygwin. 2007-11-03 10:32 +0000 [r7583] robert: * Fixed bug in addSlave 2007-10-31 12:55 +0000 [r7581-7582] robert: * Changed the spherical display intensity map set up to use colours rather than a second texture unit. * Added getColor method to allow easy reading of individual pixels. 2007-10-31 11:06 +0000 [r7580] robert: * Fixed wrap mode for panoramic display. 2007-10-30 14:17 +0000 [r7579] robert: * Changed debug message from NOTICE to INFO. 2007-10-29 00:36 +0000 [r7578] ewing: * Fix for freetype plugin to be aware of SDKs (i.e. use SDKROOT). 2007-10-25 09:00 +0000 [r7577] robert: * Fixed the capitilization of the osgdb_osgfx plugin 2007-10-19 09:58 +0000 [r7576] robert: * Fixed errors is setup of VBO/EBO's. 2007-10-19 08:42 +0000 [r7575] robert: * Fix for setting scene data after slaves have been added. 2007-10-19 08:39 +0000 [r7574] robert: * Fixed getOrCreateVertexBufferObject(). 2007-10-17 19:01 +0000 [r7573] robert: * Removed redundent X11/Intrinsic include 2007-10-16 19:04 +0000 [r7570-7572] robert: * Added flv to accepted list video format for the quicktime and xine-lib plugins * Added flv to accepted list of formats * Added flv to the list of accepted movie types 2007-10-05 11:48 +0000 [r7569] ewing: * Forgot to bump version numbers to 2.2.0. 2007-10-05 11:28 +0000 [r7568] ewing: * Needed to remove dead header from precompiled header file. Minor fixes to readme. 2007-10-05 10:46 +0000 [r7567] robert: * From Mathias Froehlich, "since we patched our hp to an other patchlevel, I need the following to include/osg/Texture" 2007-10-05 09:10 +0000 [r7566] robert: * From Andy Skinner, build fixes for Solaris. 2007-10-05 09:03 +0000 [r7565] robert: * Changed the threading model to single threaded. 2007-10-04 11:24 +0000 [r7563] robert: * Updated ChangeLog for 2.2 release 2007-10-04 11:20 +0000 [r7561] robert: * Added asView() method to GUIActionAdapter to help out with .NET wrappers. Updated wrappers 2007-10-04 10:05 +0000 [r7558] robert: * Updated version for 2.2 release 2007-10-04 08:54 +0000 [r7556] robert: * From Trajce Nikolov, added support for extract a region for geospatial imagery 2007-10-03 23:44 +0000 [r7554] robert: * Updated ChangeLog, NEWS and AUTHORS file for 2.1.15 release 2007-10-03 23:27 +0000 [r7553] robert: * Updated version for 2.1.15 dev release 2007-10-03 23:03 +0000 [r7551-7552] robert: * 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." * 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 2007-10-03 21:12 +0000 [r7550] shuber: * updated XCode projects 2007-10-03 20:21 +0000 [r7549] robert: * Added GLU_TESS_CALLBACK_TRIPLEDOT path into include/osg/GLU and enabled this for AIX as reading the old paths this was required. This looks like it is needed under Xcode build as well. 2007-10-03 19:54 +0000 [r7548] robert: * Removed double return error 2007-10-03 12:49 +0000 [r7545-7546] robert: * Updated version, authors and change log for the 2.1.14 release * From Mahai Radu, improvements to handling of spotlights 2007-10-03 12:04 +0000 [r7544] robert: * Refactored the plugin and library naming to fix Cygwin plugin loaded issues. 2007-10-03 10:38 +0000 [r7542-7543] robert: * Added preliminary press release * From Alberto Luaces, build fix for Cygwin. 2007-10-03 08:34 +0000 [r7541] robert: * Added return 0 to fix warning 2007-10-02 21:45 +0000 [r7539-7540] robert: * Updated wrappers * From Mihair Radu, "Most of the additions are small utility methods: - set the resolution of the shadow map; it calls dirty() to re-initialize at next update - keep a list of Shader objects to use instead of the default ones, if the list is empty, the default shaders are used - explicitly create the Uniform variables, so that subsequent additions that require more Uniforms can put them in a central place - set a Light or LightSource to use explicitly for shadow casting, allows multiple lights in the scene, with one casting shadows There are two additions that do not ( yet ) function correctly, but in the present usage they do not interfere with the regular usage of the techique: - support for using spotlights, it's using Light.spotCutoff to determine if it's a spot-light and not point-light, there is an error in the setup of either the shadow camera or the texgen, most likely due to the direction of the spotlight, since the position is being used just like in point or directional lights. - creation of a debugHUD the hud is created properly, ( the example included shows it ), but it displays only white, there has been some discussion of displaying the shadow map, but I could not find it, the addition of a simple fragment shader with the appropriate color transform should get this going." 2007-10-02 21:28 +0000 [r7535-7538] robert: * Updated wrappers * 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. * Updated to reflect new CompositeViewer threading models * Merged the threading set up and rendering code from Viewer and CompositeViewer into ViewerBase to allow CompositeViewer to inherit the same theading models previously just supported by osgViewer::Viewer 2007-10-02 20:56 +0000 [r7532-7534] robert: * Changed the search for Qt version to prevent problems when having both Qt3 and Qt4 installed on one machine. * 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. * Changed the GLU_TESS_CALLBACK in an attempt to avoid compile problems under OSX. 2007-10-02 20:45 +0000 [r7531] robert: * From Andy Skinner, changes the library linkage to just include osg and OpenThreads 2007-10-01 15:11 +0000 [r7530] robert: * Removed redundent malloc. 2007-10-01 11:02 +0000 [r7528] robert: * From David Callu, various fixes for window inheritance 2007-10-01 10:23 +0000 [r7525-7526] robert: * Updated AUTHORS for 2.1.13 release * Updated Version number for 2.1.13 and updated ChangeLog. 2007-10-01 09:41 +0000 [r7522] robert: * Changed requestWarpPointer to use _eventDislay to avoid crash in osghanglide example due to async usage. 2007-10-01 08:50 +0000 [r7521] robert: * Removed log2 and replaced the places where is was used with a new Image::computeNumberOfMipmapLevels method. 2007-09-30 20:16 +0000 [r7520] shuber: * updated XCode-projects 2007-09-30 19:56 +0000 [r7519] robert: * Updated wrappers 2007-09-30 19:53 +0000 [r7518] robert: * From Paul Martz, "here's the osgDB::Registry changes to add Options to the read*File() interface. As we discussed, this preserves the old interface for backwards compatibility. osgconv also changed to use the new Registry::writeNode() interface. No other applications or examples were affected." 2007-09-30 19:39 +0000 [r7517] robert: * Updated wrappers 2007-09-30 19:27 +0000 [r7516] robert: * Added support for CompositeViewer to WindowSizeHandler, ThreadingHandler, RecordCameraPathManipulator and HelpHandler. 2007-09-30 19:15 +0000 [r7515] robert: * Changed HelpHandler so it supports use with CompositeViewer and Viewer 2007-09-30 18:43 +0000 [r7513-7514] robert: * Added hdwriter to CMake build * From David Spilling, "Please find attached an extension of the Radiance HDR (RGBE) image reader to support writing. The options are intended to match the existing read options. By default it will only write RGB32F format; if the "RAW" option is selected, it will output 8 bit RGBA as "raw" RGBE. Note also that the writer inserts a flipVertical(); although the RGBE format, according to spec, should support top-to-bottom or bottom-to-top ordering, no software I've found, including that from the formats originator, actually respects this." 2007-09-30 18:33 +0000 [r7512] robert: * From Jan Peciva, "I am submitting improved Inventor (iv) writer. List of changes: - added support for Billboards and LOD - improved Material handling " 2007-09-30 16:24 +0000 [r7511] shuber: * updated xcode-projects 2007-09-30 15:24 +0000 [r7510] robert: * Updated wrappers 2007-09-30 15:07 +0000 [r7508-7509] robert: * Updated wrappers * From Dan Minor, "osgText::Text does not currently have a getAxisAlignment method. The attached code adds this, along with a member variable to keep track of the setting. It is based on the latest subversion version, and was tested by creating a new text object with the same axis alignment as an existing one (e.g. new_text->setAxisAlignment(old_text->getAxisAlignment()); )." From Robert Osfield, " I originally didn't add a getAxisAlignment() as all setAxisAlignment does is set the Rotation member variable, and potentially one could apply user defined Rotation setting after the setAxisAlignment() which would bring it out of sync with the setAxisAlignment. Rather than reject your submission on the ground of potentially getting out of sync and therefore misleading users I've added a USED_DEFINED_ROTATION to AxisAlignment enum, and set this in the serRotation and then override this setting of _axisAlignment in the setAxisAlingment method. I've also removed the lazy updating optimization you've added to the top of setAxisAlignment to avoid potential problems as well." 2007-09-30 11:37 +0000 [r7507] robert: * Moved ViewerBase class out into its own header and source file. Improved the support for stats collection in CompositeViewer/StatsHandler. 2007-09-29 16:46 +0000 [r7506] robert: * Refactor Viewer/CompositeViewer so the both inherit from the a ViewerBase class 2007-09-29 11:41 +0000 [r7505] robert: * From Stephan Huber, add basic support for CompositeViewer in StatsHandler 2007-09-29 11:12 +0000 [r7504] robert: * From Mattias Linde, "Nice, this almost gets the job done, one way communication into the plugin is possible. I've done some additional small modification regarding constness in ReaderWriter and added mutable on _pluginData so passing data back would be possible too. Have updated the collada plugin (ReaderWriterDAE.cpp) to use the map to handle options and have attached the changes. The stuff in daeReader.h and daeWriter.h are just cosmetic changes to get rid of a warning." 2007-09-28 13:42 +0000 [r7503] robert: * Fixed SphericalDisplay set up codes to properly manage display host/num 2007-09-28 13:38 +0000 [r7501-7502] robert: * From Mathias Froehlich, "I had a chance to look into the remote display problems. The screen resolution was queried for the wrong display." * From Mattias Linde, "I've attached a modified ReaderWriter header which has some additions to osgDB::ReaderWriter::Options to handle PluginData." 2007-09-28 08:53 +0000 [r7499-7500] robert: * 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." * Added record path manipulator 2007-09-27 13:49 +0000 [r7498] robert: * Changed across to using a GraphicsOperation as the base class for the RealizeOperation. 2007-09-27 12:47 +0000 [r7497] robert: * From Adrian Egli, "update the PSSM, i did some bug fixes and added new features to move the camera virtual against the view direction by applaying a simple distance factor (a), which is calculated camera eye - camera center distance. and we can move the "light camera" against the light direction (b). (a) some objects behind the camera can cast shadow (b) object aboive the camera can cast shadow then i fixed the shadow map orientation, now screen x coordinate alinged which improve the quality" 2007-09-27 12:15 +0000 [r7496] robert: * From Mathias Froehlich, compile fix for HP-UX without large file support 2007-09-27 10:47 +0000 [r7495] robert: * From Mathias Froehlich, "Some more file that needs some adjustment because of missing member templates in suns stl." 2007-09-27 10:42 +0000 [r7494] robert: * Changed copy constrcutor to a default constrcutor and std::copy to avoid problems with dodge Sun compiler. 2007-09-27 10:22 +0000 [r7492] robert: * Added support for selecting internal texture format via the internalFormat entry in the .osg file 2007-09-26 16:17 +0000 [r7491] shuber: * updated XCode project-files 2007-09-26 14:44 +0000 [r7490] robert: * From Jean-Sebastien Guay, "Attached you will find an expanded FindOpenVRML.cmake file, as well as a fixed CMakeLists.txt file for the VRML plugin ." 2007-09-26 14:31 +0000 [r7489] robert: * Updated wrappers 2007-09-26 14:02 +0000 [r7488] robert: * Added IntensityMap reading in .view files 2007-09-26 11:32 +0000 [r7486] robert: * Tweaked the wrapping of osgViewer::Scene to fix build problems 2007-09-26 10:58 +0000 [r7485] robert: * From Stephan Huber, "attached you'll find a first implementation for the obj-plugin to write obj-files. It is not feature complete but usable. Known issues: * not all materials are handled correctly (especially when using osg::StateAttribute::OVERRIDE), not all properties are supported * could not test point and lines, all of my programs which are capable to read obj-files only import triangle-meshes. * only simple texture-handling" 2007-09-26 10:46 +0000 [r7484] robert: * Added suprression of the reflection of osgViewer::Scene to avoid build issues associated with the class. 2007-09-26 09:59 +0000 [r7483] robert: * Updated wrappers 2007-09-26 09:50 +0000 [r7482] robert: * From David Callu, adding support for GraphicsWindowX11 window inhertance and setWindowName() method. 2007-09-25 19:14 +0000 [r7481] robert: * Added support for intensityMap and fix naming of --panoramic-sd and --3d-sd command line arguments 2007-09-25 17:02 +0000 [r7479-7480] robert: * Added --flip argument docs. * Added --flip option to allow one to flip the source data about the x axis. 2007-09-25 15:01 +0000 [r7477] robert: * Removed all dome distortion correction code as this is now part of the core osgViewer. Added viewer mode where movies are made fullscreen. One can use the old interactive camera mode by using --interactive parameter on the command line. 2007-09-25 13:51 +0000 [r7475] robert: * Preliminary PanoramicSphericalScreen support 2007-09-25 12:34 +0000 [r7473] robert: * Added --major/minor/path-number support 2007-09-25 11:26 +0000 [r7472] robert: * Fixed version number 2007-09-25 10:18 +0000 [r7471] robert: * Added thread unit test to test the create, start and destruction of threads 2007-09-24 16:34 +0000 [r7466] robert: * Updated Version and AUTHORS for 2.1.12 dev release 2007-09-24 16:30 +0000 [r7464-7465] robert: * Renamed packaging directory to pkgconfig * Updated ChangeLog for release 2007-09-24 16:25 +0000 [r7463] robert: * Updated wrappers 2007-09-24 15:24 +0000 [r7462] robert: * From Adrian Egli, further work on PSSM implementation. 2007-09-24 10:36 +0000 [r7460] robert: * From Alberto Luaces, fixed typo of valid() in warning message 2007-09-24 10:31 +0000 [r7459] robert: * Changed iterator name to avoid warning 2007-09-24 09:39 +0000 [r7458] robert: * From Mirko Viviani, "attacched you'll find the updated xcode project for OpenSceneGraph 2.1.11. The one supplied in the archive does not build due to some missing file references." 2007-09-24 09:35 +0000 [r7457] robert: * 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." 2007-09-24 09:26 +0000 [r7456] robert: * 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;" 2007-09-24 09:05 +0000 [r7455] robert: * Made ReaderWriter and ReaderWriter::Options use thread safe ref counting. 2007-09-22 17:39 +0000 [r7454] robert: * Improved the handling of OSG_CONFIG_FILE support. 2007-09-22 16:50 +0000 [r7453] robert: * From David Callu, added getOrCreateScene method, made contractors protected. From Robert Osfield, made getOrCreateScene protected and made View a friend of Scene to all it to construct Scene objects itself. 2007-09-22 16:46 +0000 [r7452] robert: * From Adrian Egli, update to ParallelSplitShadowMap. 2007-09-22 13:06 +0000 [r7451] robert: * Added EXPORT 2007-09-21 19:43 +0000 [r7450] robert: * From David Callu, added findSlaveIndexForCamera method 2007-09-21 19:04 +0000 [r7449] robert: * Added return 2007-09-21 15:34 +0000 [r7448] robert: * Added support for basic viewer configuration files 2007-09-21 13:30 +0000 [r7447] robert: * Further steps towards reading coniguration files. 2007-09-21 09:02 +0000 [r7446] robert: * From Luc Frauciel, "A few improvements to osgstereoimage: - When using a large numbrer of files, the command line was too long; Added a -files option that allow to store filenames in a file (one file per line) - Added some more intuitive key bindings for controls (left, right, + , -) - Set the texture wrapping to CLAMP_TO_EDGE (it's cleaner now) " 2007-09-20 10:14 +0000 [r7444-7445] robert: * Updated wrappers * From Anders Backman, added bias and texture size methods. From Robert Osfield, tweaks to the above for method parameters and indenting. 2007-09-19 16:53 +0000 [r7443] robert: * Added supoort for OSG_WRITE_OUT_DEFAULT_VALUES env var 2007-09-19 15:29 +0000 [r7442] robert: * Added support for bool in ArgumentParser::Parameter. Added support for using Input::read(...) methods using ArgumentParser::Paramter to adapter to multiple paramter types. 2007-09-19 11:56 +0000 [r7441] robert: * From Adrian Egli, ParallelSplitShadowMap implmentation. Changes by Robert Osfield - CMakeLists.txt and name change to ParallelSplitShadowMap. 2007-09-19 10:14 +0000 [r7440] robert: * Changed the simplifier so that it produces deterministic results, no longer using memory pointers for sorting. 2007-09-19 09:00 +0000 [r7439] robert: * Removed check for shaders/overlay_perspective_main.vert 2007-09-18 16:00 +0000 [r7438] robert: * Commented out herror() as its not called anywhere in the code. 2007-09-17 09:33 +0000 [r7436] robert: * Updated ChangeLog, AUTHORS and README for 2.1.11 release 2007-09-17 09:26 +0000 [r7435] robert: * Updated version numbers for 2.1.11 dev release 2007-09-16 17:48 +0000 [r7431-7434] robert: * Fixed Locator::setTransform method so it takes a const Matrixd&, and improved the setting of Locator in the gdal plugin. * Setting for new option for hinting whether to write out default values * Added option for controlling whether output code should write out default values * Fixed warning 2007-09-16 07:55 +0000 [r7429] robert: * From Loic Dachary, pkg_config files 2007-09-15 17:40 +0000 [r7428] robert: * Introduced the use of a ReentrantMutex to avoid problems with findFontFile. 2007-09-15 17:36 +0000 [r7427] robert: * From David Spilling, "Given no replies to my recent "does anybody use the DDS writer" query, I was emboldened to submit this very small patch. The bitmasks for RGBA and RGB have been modified in the writer portion of the code (line 765 onwards). This is now consistent with what the DDS plugin reads. In terms of testing, note that many 3rd party applications erroneously ignore the bitmasks in the file, and assume a BGRA order." 2007-09-14 11:26 +0000 [r7426] robert: * Updated wrappers 2007-09-14 11:06 +0000 [r7425] robert: * From Andy Skinner, added support for ot-soversion-OpenThreads.dll dll naming under Windows 2007-09-14 11:02 +0000 [r7421-7423] robert: * Updated wrappers * Added TemplateRegisterDotOsgWrapperProxy. * Ran conversion of tabs to four spaces 2007-09-14 10:44 +0000 [r7420] robert: * Introduce GUIEventHandler::handleWithCheckAgainstIgnoreHandledEventsMask() methods to help make it easier to get event handles to ingore events that have already been handled. 2007-09-14 10:26 +0000 [r7419] robert: * From Ole-Morten Duesund, added IgnoreUsedEventsMask. 2007-09-14 10:00 +0000 [r7418] robert: * Added _hudText->setDataVariance(osg::Object::DYNAMIC); to prevent from the text being updated at the same time as being rendered. 2007-09-13 11:00 +0000 [r7416] robert: * Fix for build error during aggressive warning build 2007-09-13 10:42 +0000 [r7415] robert: * Fixed warning in wrappers 2007-09-13 10:38 +0000 [r7414] robert: * Fixed warnigns 2007-09-13 10:33 +0000 [r7412-7413] robert: * Updated wrappers and READEME * From Paul Martsz, changed the Texture clamping mode to CLAMP_TO_EDGE 2007-09-13 10:21 +0000 [r7410-7411] robert: * From Blake Williams, warning fixes * Add static_cast to fix warning. 2007-09-13 10:16 +0000 [r7408-7409] robert: * Removed unncessary typedefs * Fixed warnings of casting void* by refactoring the type and extensiosn setup. 2007-09-13 10:10 +0000 [r7407] robert: * Fixed uint/int comparison warning. 2007-09-13 09:30 +0000 [r7406] robert: * Created two PixelBufferX11::closeImplementation() one the real implementation and a second non op one for GLX <1.3. 2007-09-12 17:01 +0000 [r7404-7405] robert: * Added preliminary handling of cases where GLX version < 1.3 * Removed debug messages 2007-09-12 16:28 +0000 [r7403] robert: * Moved the linking of OpenThreads from osgversion/CMakeLists.txt into applications/CMakeLists.txt 2007-09-12 16:20 +0000 [r7402] robert: * Rejigged the casting to avoid warnings under Windows 2007-09-12 10:43 +0000 [r7400] robert: * Updated version, ChangeLog and AUTHORS file for 2.1.10 release 2007-09-12 10:04 +0000 [r7399] robert: * From Jan Peciva, build fix 2007-09-11 20:54 +0000 [r7397] robert: * Added log2(int) and log2(uint) methods 2007-09-11 20:24 +0000 [r7396] robert: * Removed int version of log2 to avoid possible errors in assuming log2(10) should ~= log2(10.0) 2007-09-11 17:10 +0000 [r7394-7395] robert: * Added OpenThreads to target libraries * From Art Tevs, Added log2 function. 2007-09-11 16:59 +0000 [r7392-7393] robert: * From Art Tevs, build fix. * Replaced allocateMipmap code with warning message as mipmaps aren't support for TextureRectangle. 2007-09-11 13:47 +0000 [r7391] robert: * Removed the output num_children from Group .osg output and removed the output of "DataVaraince UNSPECIFIED" as this is redundent considering the default value is UNSPECIFIED. 2007-09-11 13:42 +0000 [r7389-7390] robert: * Updated wrappers * From Mathias Froenlich, "have a problem with the SunOS CC. It does not like that the prototype of ClipNode::setStateSetModes() differs from implementation of that function in the constness of the second parameter. On SunOS it compiles fine, but I get link errors when the variant that is declared in the header is referenced. The attached src/osg/ClipNode.cpp file removes the const qualifier from the implementation to match exactly the prototype in the header file. The file is based on revision 7386 as of today. " 2007-09-11 13:34 +0000 [r7387-7388] robert: * From Art Trevs, "File Changes: - GL2Extensions, Program and Program.cpp Features: - Support for fragment output binding. (e.g. You can now specify in the fragment shader varying out vec3 fragOut; fragOut = vec3(1,0,1); to write to the fragOut variable. In your program you call glBindFragDataLocation(program, 1, "fragOut") to bind the fragOut variable with the MRT 1 - GL_COLOR_ATTACHMENT1_EXT) - new methods Program::add/removeBindFragDataLocation Program::getFragDataBindingList " * Seperated out GeometryTechnique .osg support. 2007-09-11 12:28 +0000 [r7386] robert: * Changed the isTextureIntegerSupported method so that it no longer has the EXT entry in it for forward compatability reasons. 2007-09-11 12:04 +0000 [r7385] robert: * From Art Trevs, "Features of the patch are: - Implementation of integer textures as in EXT_texture_integer - setBorderColor(Vec4) changed to setBorderColor(Vec4d) to pass double values as border color. (Probably we have to provide an overloading function to still support Vec4f ?) - new method Texture::getInternalFormatType() added. Gives information if the internal format normalized, float, signed integer or unsigned integer. Can help people to write better code ;-) " Futher changes to this submission by Robert Osfield, changed the dirty mipmap flag into a buffer_value<> vector to ensure safe handling of multiple contexts. 2007-09-11 10:16 +0000 [r7384] robert: * From Rafa Giatan, "Changed int to GLsizei in the input parameter of the method osg::Texture2DArray::applyTexImage2DArray_subload inside Texture2DArray (lines 214 and 257), Otherwise it gives a compile error on MacOSX." 2007-09-11 10:10 +0000 [r7383] robert: * From Mike Wittman and Robert Osfield, added support for SO_VERSION number in runtime version info. Added checks for OpenThreads version. 2007-09-10 16:06 +0000 [r7380] robert: * Maded versioning under Windows the default. 2007-09-10 15:19 +0000 [r7379] robert: * Intoduced a new setGLExtensions template method to do a copy of void* pointer to local function pointer to avoid compiler warnings related to case void*. Moved various OSG classes across to using setGLExtensions instead of getGLExtensions, and changed them to use typedef declarations in the headers rather than casts in the .cpp. Updated wrappers 2007-09-08 07:21 +0000 [r7378] robert: * Flesh out a bit more of the view IO support 2007-09-08 07:04 +0000 [r7377] robert: * Fixed typo 2007-09-07 15:03 +0000 [r7375] robert: * From David Callu, warning fixes 2007-09-07 13:54 +0000 [r7374] robert: * Removed warning type not support by gcc 4.1.x 2007-09-07 13:37 +0000 [r7373] robert: * Updated wrappers for new Texture2DArray class 2007-09-07 13:25 +0000 [r7372] robert: * Moved defined from Texture2DArray into Texture 2007-09-07 11:21 +0000 [r7371] robert: * From Art Tevs, "A new texture class Texture2DArray derived from Texture extends the osg to support the new EXT_texture_array extensions. Texture arrays provides a feature for people interesting in GPGPU programming. Faetures and changes: - Full support for layered 2D textures. - New uniform types were added (sampler2DArray) - FrameBufferObject implementation were changed to support attaching of 2D array textures to the framebuffer - StateSet was slightly changed to support texture arrays. NOTE: array textures can not be used in fixed function pipeline. Thus using the layered texture as a statemode for a Drawable produce invalid enumerant OpenGL errors. - Image class was extended to support handling of array textures Tests: I have used this class as a new feature of my application. It works for me without problems (Note: Texture arrays were introduced only for shading languages and not for fixed function pipelines!!!). RTT with Texture2DArray works, as I have tested them as texture targets for a camera with 6 layers/faces (i.e. replacement for cube maps). I am using the array textures in shader programming. Array textures can be attached to the FBO and used as input and as output." 2007-09-07 10:50 +0000 [r7370] robert: * From Daniel Sjolie, "I patched the zip plugin to make use of my favorite zip/pack-application for windows if it is installed in the standard location..." 2007-09-07 10:15 +0000 [r7369] robert: * From Guillaume Millet, "Please find in attachment a small improvement to the pfb plugin CmakeLists.txt and to the FindPerformer.cmake module. Under Windows libs are: libpf.lib (we need to add the lib prefix) and libpfdu-util.lib (libpfdu and libpfutil are compiled into one lib) We need to add PFROOT to the search path for libs and includes (default environment variable for Performer path) And at last we need to put PFROOT/include and PFROOT/include/Performer as include dir for compiling." 2007-09-07 09:53 +0000 [r7368] robert: * From Maria Ten, fix lat/long usage. 2007-09-07 09:49 +0000 [r7367] robert: * From Mattias Linde, "Have made the updates now. Added a std::map for easy lookup if a visual node is targeted by a rigid body which is the reason why the .h-file was changed too. So now there'll be Group as often as possible, otherwise PostitionAttitudeTransform." 2007-09-06 08:23 +0000 [r7366] robert: * Added osg lib 2007-09-05 17:12 +0000 [r7365] robert: * From David Callu, improved consistency of Version strings and add version support for osgIntrospection and osgManipulator. 2007-09-05 17:03 +0000 [r7364] robert: * Changed tabs to four spaces to make merges more straight forward 2007-09-05 16:47 +0000 [r7363] robert: * Added automatic removal of .qt extension that allows one to automatically select the quicktime plugin. 2007-09-05 16:36 +0000 [r7362] robert: * Added setting of locator source 2007-09-05 14:15 +0000 [r7361] robert: * Added option to Locator to help specify here the locator value was defined from. Update wrappers and Gdal plugin to use this new parameter 2007-09-04 14:00 +0000 [r7360] robert: * Improved Terrain IO 2007-09-04 12:38 +0000 [r7359] robert: * Added mutex to DefaultFont::instance(). 2007-09-04 12:32 +0000 [r7358] robert: * Added mutex into osgText::Font::GlphTexture to marshel adding to and reading from glyph list 2007-09-04 09:00 +0000 [r7357] robert: * Rearrange _stateset member variable to avoid compile warning 2007-09-03 16:04 +0000 [r7354-7355] robert: * Updated AUTHORS and README to 2.1.9 dev release * Updated ChangeLog 2007-09-03 15:47 +0000 [r7353] robert: * Updated wrappers 2007-09-03 15:43 +0000 [r7352] robert: * From Sherman Wilcox, added extension checking support for compressed texture subloading. 2007-09-03 15:22 +0000 [r7351] robert: * From Jan Peciva, build fix 2007-09-03 14:05 +0000 [r7350] robert: * Updated version number for 2.1.9 dev release 2007-09-03 13:59 +0000 [r7349] robert: * From Jan Peciva, improvement to the FindInventor. 2007-09-03 13:52 +0000 [r7348] robert: * From Jan Peciva, Added write support into Inventor plugin. Note from Robert Osfield. A couple of lines of code in ConvertToInventor.cpp would not compile under g++ 4.1.2, so rather than hold back the dev release till this is resolved I've optional compiled out the problem section. The #define DISABLE_PROBLEM_COMPILE_SECTIONS is used to compile out the problem section, this define is add via the CMakeLists.txt file. 2007-09-03 12:27 +0000 [r7346] robert: * Added osgdepthpeeling example 2007-09-03 10:12 +0000 [r7345] robert: * 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." 2007-09-03 10:04 +0000 [r7344] robert: * 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... :-) 2007-09-03 09:56 +0000 [r7342-7343] robert: * 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. * Fixed spacing. 2007-09-03 09:50 +0000 [r7341] robert: * From Sherman Wilcox, "I modified texturerectangle.cpp to address this issue. I used a DXT5 DDS file to test the change." 2007-09-03 09:47 +0000 [r7340] robert: * Updated wrapper 2007-09-03 09:43 +0000 [r7339] robert: * Added default contructors to Operation 2007-09-02 22:31 +0000 [r7338] robert: * Fixed cancel loop. 2007-09-01 16:56 +0000 [r7337] robert: * Added convinience methods for setting up 3d spherical displays. 2007-09-01 15:24 +0000 [r7336] robert: * Changed Font's mutex to become a static mutex shared between all instances of Font. This ensures single threaded access of the freetype plugin. 2007-08-31 20:30 +0000 [r7335] robert: * Changed mutex reference to a mutex pointer to avoid problems with wrappers 2007-08-31 20:21 +0000 [r7334] robert: * Updated wrappers 2007-08-31 20:16 +0000 [r7332-7333] robert: * To solve creations with multi-threaded creation of text, added mutex to Font, and use of this mutex in Text, and added mutex to the reading of fonts. * Added mutex locking add addParents/removeParents in Drawable, Node and StateSet. 2007-08-31 18:56 +0000 [r7331] robert: * Added mutex to protect the readFontFile calls 2007-08-31 16:59 +0000 [r7329] robert: * Added support for running multiple text generation threads 2007-08-31 16:05 +0000 [r7328] robert: * Changed RenderLeaf and StateGraph so that they use ref_ptr<> by default for Drawable and StateSet. 2007-08-31 15:49 +0000 [r7327] robert: * From Luigi Calori, fixed Windows install of wrappers 2007-08-31 12:14 +0000 [r7326] robert: * Added export for Windows build 2007-08-31 11:04 +0000 [r7325] robert: * From Luigi Calori, added support for Win32 versioning/new buid placement. 2007-08-30 19:26 +0000 [r7324] robert: * Further work on osgTerrain::Locator and GDAL plugin 2007-08-30 12:18 +0000 [r7323] robert: * From Luigi Calori, add osgText to geo plugin build 2007-08-30 10:41 +0000 [r7322] robert: * From Luigi Calori, introduction of versioning of dll's and placement of dll and plugins into bin directory during build. 2007-08-30 10:17 +0000 [r7320-7321] robert: * Updated wrappers * Further refinement of ProxyLayer API 2007-08-29 16:29 +0000 [r7317] robert: * Further work on new ProxyLayer 2007-08-29 12:18 +0000 [r7316] robert: * Added ProxyLayer support into osgTerrain plugin 2007-08-29 11:51 +0000 [r7315] robert: * Added support for post fixing filenames with .gdal to force use of gdal plugin. 2007-08-29 10:52 +0000 [r7314] robert: * Added preliminary ProxLayer and DataSetLayer in GDAL plugin to aid integration of GDAL reading into osgTerrain. 2007-08-28 16:12 +0000 [r7313] robert: * Changed the error code reporting to use hex to match up with freetype headers 2007-08-28 15:35 +0000 [r7311-7312] robert: * Improved formatting. * Removed the OSG_INCLUDE 2007-08-28 15:31 +0000 [r7310] robert: * Tweeked settings 2007-08-28 14:02 +0000 [r7309] robert: * Added multi-threaded test path 2007-08-27 16:59 +0000 [r7308] robert: * Replaced CartesianLocator and EllipsoidLocator by a single general purpose Locator class 2007-08-27 13:33 +0000 [r7307] robert: * From Brandon Hamm, changed WxWindows example to use double buffering 2007-08-27 13:29 +0000 [r7306] robert: * Added support for controlling the draw order on Cameras on each GraphcisContext via the Camera::setRenderOrder parameters 2007-08-27 10:37 +0000 [r7304] robert: * Updated ChangeLog and AUTHORS file for release 2007-08-27 10:29 +0000 [r7302-7303] robert: * Updated date on READEME * Updated version numbers for 2.1.8 dev release 2007-08-27 10:00 +0000 [r7301] robert: * Cleaned up the getRotate implementation selection using #defines, and made the COMPILE_getRotate_David_Spillings_Mk1 the default. 2007-08-27 09:51 +0000 [r7300] robert: * From David Spilling, tweaked quat tests to reproduce getRotate errors. 2007-08-26 10:27 +0000 [r7299] robert: * From Jan Ciger, warning fixes 2007-08-26 10:24 +0000 [r7298] robert: * From Jean-Sebastien Guay, fixed comment 2007-08-26 10:19 +0000 [r7297] robert: * Added dynamic_cast and extra doc commented just to force the use of symbol from osgViewer so that it links properly and pulls in the platform specific GraphcisWindow* implementation. 2007-08-26 09:59 +0000 [r7296] robert: * Change char* to const char* to fix warnings 2007-08-26 09:46 +0000 [r7294-7295] robert: * Updated wrappers, and change Renderer so that private: to proteccted:. * Updated links 2007-08-24 19:16 +0000 [r7292-7293] robert: * Changed debug comments to output to notify level and tweaked the handling of the .terrain file. * 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 2007-08-24 18:48 +0000 [r7291] robert: * Added writing out of Terrain, Layer and Locators, and reading in of .terrain string. 2007-08-24 16:16 +0000 [r7290] robert: * Set the debug out to info notification level 2007-08-24 16:12 +0000 [r7288-7289] robert: * Added better handling of OSG_TEXT_INCREMENTAL_SUBLOADING env var. * Added default disabling of incremental subload for ATI cards. 2007-08-24 14:00 +0000 [r7287] robert: * Added support for setting DatabasePager thread priority via OSG_DATABASE_PAGER_PRIORITY. 2007-08-24 13:33 +0000 [r7286] robert: * Cleaned up the thread priority management in DatabasePager and added support for paging stats. 2007-08-24 10:58 +0000 [r7285] robert: * Added setting of block into the ThreadSafeQueue's contructor. 2007-08-24 09:45 +0000 [r7284] robert: * Disable the escape sets done on the viewer 2007-08-24 09:42 +0000 [r7283] robert: * From Mario Valle, osgviewerWX: "To make the example compile using a wx build non UNICODE based. Tested on Linux with wxGTK 2.8.4" osgviewerFOX: "Added removeChore() call in the FOX_OSG_MDIView destructor to get rid of a Trace/BPT trap error on exit on Linux. BTW this is suggested also in the FOX documentation." 2007-08-23 16:56 +0000 [r7282] robert: * Made plugin build names lowercase 2007-08-23 16:33 +0000 [r7281] robert: * Changed the plugin name to openflight instead of OpenFlight to avoid problems with osgDB looking for just lower case plugin names 2007-08-23 15:36 +0000 [r7279] robert: * Updated for 2.1.7 dev release 2007-08-23 14:35 +0000 [r7278] robert: * From Stephan Huber, fix for crash on exit 2007-08-23 14:31 +0000 [r7277] robert: * From Galen Faidley," Please find attached the modifications to get the new checkerboard stereo format to work. It's a good thing I tested these on a TV before submitting them since I did indeed have a bug. One thing I did not test was to see how this would work in windowed mode. Does the interlaced stereo code have support for 'absolute' positions? For example a given pixel on the screen is always shown in a given eye no matter where the graphics context is placed? " 2007-08-23 14:10 +0000 [r7276] robert: * From Jean-Sebastien Guay,"As discussed yesterday on the osg-users list, I have altered src/osgDB/FileUtils.cpp to implement the official Windows DLL search order as described on the page http://msdn2.microsoft.com/en-us/library/ms682586.aspx . As mentioned, the search order is now: 1. The directory from which the application loaded. 2. The system directory. (C:\Windows\System32 by default, gotten using the GetSystemDirectory function) 3. The 16-bit system directory. (C:\Windows\System by default, gotten by adding "\System" to the path gotten in the next step...) 4. The Windows directory. (C:\Windows by default, gotten using the GetWindowsDirectory function) 5. The current directory. (".") 6. The directories that are listed in the PATH environment variable. (as before) The first four directories are obtained using Win32 API calls, so they should work correctly even on non-standard Windows installs. The changes are well commented and should be clear, even to someone not familiar with the Win32 API. I have tested in a few scenarios and it works as expected. Serge Lages has also tested the changes and confirmed they worked as described. I have not had any other reports though (positive or negative). I also fixed the issue with a trailing semicolon on the PATH adding an empty string to the end of the search paths, as this was an inconsistent side effect rather than a desirable effect. This change will take effect on other platforms as well, but since it tests for an empty string in the last item added to the search paths, it should have no adverse effect. " 2007-08-23 11:06 +0000 [r7275] robert: * Updated wrappers 2007-08-23 11:00 +0000 [r7274] robert: * Addd control for serializing draw dispatch. 2007-08-22 19:31 +0000 [r7273] robert: * From Jean-Sebastien Guay, "After a bit more testing, it was still not 100% robust, so this fix will bring the change in line with what is done on other OSes (Linux) and works in all tested cases. For reference, this was tested with: osgviewer .wrl (file in current directory) osgviewer \.wrl (file in child directory, relative) osgviewer .\\.wrl (file in child directory, specify current) osgviewer :\\.wrl (absolute path) " 2007-08-22 19:26 +0000 [r7272] robert: * Updated wrappers 2007-08-22 17:18 +0000 [r7270-7271] robert: * Updated wrappers * Refactored the implementation of cull/draw for DrawThreadPerContex and CullThreadPerCameraDrawThreadPerContex and added an experimental draw serialization. 2007-08-22 14:32 +0000 [r7269] ewing: * Documentation updates. 2007-08-22 12:33 +0000 [r7268] robert: * Updated wrappers 2007-08-22 12:21 +0000 [r7267] robert: * Cleaned up the thread setup and fixed the CullThreadPerCameraDrawThreadPerContext path 2007-08-22 12:14 +0000 [r7266] robert: * Added thread safe ref/unref by default. 2007-08-22 11:04 +0000 [r7265] ewing: * Fixes to DMG script to reflect removal of GDAL and external OpenThreads. Support for OpenSceneGraph-Data repo aside OpenSceneGraph repo. Added background image support to DMG. Pre-laid-out .DS_Store included. 2007-08-22 10:56 +0000 [r7264] ewing: * Removed missing shadow examples from Xcode project. 2007-08-22 10:34 +0000 [r7263] robert: * Set main scene graph elements to use thread safe ref/unref by default 2007-08-22 09:50 +0000 [r7256-7262] robert: * Cleaned up copy constructor and switched on thread safe ref/unref. * Added debug ENFORCE_THREADSAFE paths into osg::Referenced, these are off by default. * Simplified the thread set up. * Added thread safe ref/unref * Added debug message to destructor * Added setting of thread safe ref/unref. * Added default setting of use of thread safe ref/unref. 2007-08-22 09:05 +0000 [r7255] robert: * Changed ReadFileCallback and WriteFileCallback to use virtual inhertinace. 2007-08-21 09:32 +0000 [r7254] robert: * Added missing clear() implementation 2007-08-20 13:09 +0000 [r7253] robert: * Fixed the install path of plugins under Windows. 2007-08-20 10:15 +0000 [r7250-7251] robert: * Updated README date * Updated AUTHORS file for 2.1.6 release 2007-08-20 10:06 +0000 [r7249] robert: * Updated ChangeLog 2007-08-20 09:28 +0000 [r7247-7248] robert: * Updated version number for 2.1.6 release and updated wrappers * Removed Makefile as this is autogenerated. 2007-08-19 19:22 +0000 [r7246] robert: * From Antione Hue and Robert Osfield, moved prepend in front of lib entry. 2007-08-17 16:10 +0000 [r7245] robert: * Fixed zfar setting 2007-08-17 09:37 +0000 [r7244] robert: * Changed ++_modifedCount cases to dirty(). 2007-08-16 18:49 +0000 [r7243] robert: * Changed the tolower of the file extension into the plugin name construction code. Added support for CompositeLayer. 2007-08-16 15:29 +0000 [r7242] robert: * Updated wrappers 2007-08-16 14:13 +0000 [r7241] robert: * From Maria Ten, "I divide the init method of the geometrytechnique in submethods to made more easy the inheritance between the user and osg-class. This is a first step to add more functions in osgTerrain. Maybe the subdivision of the method have to be in the terraintechnique because is the base class of GeometryTechnique. If Robert or anyone think that this is better i change this class too." 2007-08-15 15:11 +0000 [r7240] robert: * From Jan Ciger, "I am attaching a little hack from Jean-Sebastien Guay which allows absolute paths to work on Windows." 2007-08-15 15:07 +0000 [r7239] robert: * From Stephan Huber, "the softshadowmap-implementation does not compile on os x, to be more precise, the shader does not compile on os x because of some type-conflicts ala "can not convert from const int to const float" So I changed the offending lines to force the type of the vars. It works now on OS X (albeit very slowly, 3fps on a 7300), perhaps you find the changes useful. Note: perhaps there is a better way in shaders to cast/convert from int to float and viceversa." 2007-08-15 15:03 +0000 [r7238] robert: * From Brede Johansen, "The attached file updates the framestamp and traversal number of the updatevisitor in osgViewer::Viewer. The bug prevented DOF animations because osgSim::DOFTransform checks the traversal number before doing any updates." 2007-08-14 17:13 +0000 [r7237] robert: * Changed the plugin name to lower case to be consistent with the way that osgDB::Registry searches for only lower case plugin names. 2007-08-14 17:04 +0000 [r7236] robert: * Added string to keyword map parser. 2007-08-14 13:08 +0000 [r7235] shuber: * From Stephan Huber: updating the XCode-project-files 2007-08-14 12:47 +0000 [r7234] robert: * Added Ben van Basten to list of authors. 2007-08-14 08:41 +0000 [r7233] robert: * Replaced uint with unsigned int 2007-08-13 14:02 +0000 [r7232] robert: * Removed osgdepthshadow and osgshadowtexture from build list 2007-08-13 11:59 +0000 [r7230] robert: * Updated ChangeLog, AUTHORS and README files 2007-08-13 11:45 +0000 [r7229] robert: * Updated version for 2.1.5 dev release 2007-08-13 10:31 +0000 [r7228] robert: * From Luc Frauciel, "I've done 2 main modifications : 1) added texture->setResizeNonPowerOfTwoHint(false); when loading an image. It speeds up by 10 the loading of large images. 2) added a --disk option : only a filelist is read, images are only loaded when needed. It allows to handle very large set of very large images that would not fit in memory. Nothing change when the option is not set." 2007-08-13 10:27 +0000 [r7227] robert: * From Jan Ciger, "I am attaching an improved version of the OpenVRML plugin. It still uses OpenVRML 0.14.3 and is without the Boost dependency. The changes: - - Fixed loading of textures and normals when no corresponding indices are specified. It uses vertex indices now, compliant with the VRML spec. - - Added colour per vertex support. - - Added group node support. - - Changed the code to use osg::ref_ptr instead of naked pointers to avoid memory leaks. - - Fixed breakage for loading files specified by relative path." 2007-08-13 10:20 +0000 [r7225-7226] robert: * From J.P. Delport, fix of GDAL location search * From Brad Christiansen, "I added the ability to set the render target implementaion on the osgSim::OverlayNode. The attached changes were made against the 2.0 release." 2007-08-13 09:13 +0000 [r7224] robert: * Added gdal/gdal.h to header search path, and gdal1.4.1 to the lib search path. 2007-08-12 13:30 +0000 [r7223] robert: * Updated wrappers 2007-08-12 13:18 +0000 [r7221-7222] robert: * Added getStart()/getEnd() * From Jean-Sebastien Guay, "adds osgUtil::LineSegmentIntersector::setStart(osg::Vec3d) and setEnd(osg::Vec3d)." 2007-08-12 13:10 +0000 [r7220] robert: * Removed now redundent osgshadowtexture and osgdepthshadow examples 2007-08-12 12:15 +0000 [r7217-7219] robert: * Added support for SoftShadowMap into osgshadow example * Added fix for typo of name in submission * From Bruno Hebelin, "I have adapted to osgShadow the soft shadow map technique described in "Efficient Soft-Edged Shadows Using Pixel Shader Branching" by Yury Uralsky, Chapter 17 of GPU Gems 2 (Matt Pharr ed. Addison-Wesley). Here is my code in attachment: basically, it works in the same way as osgShadow/ShadowMap (core code is copied from it) but implements a specific GLSL shader for the soft rendering of penumbra. I have tested it under Linux with a NVidia graphic card, but there should be no dependency on platform nor on the graphics driver (as far as they support GLSL 2). Screenshots attached show the current results (frame rate bound to v-sync, but the shader takes actually not much time)." 2007-08-11 17:44 +0000 [r7216] robert: * Added preprending of osgPlugins-version to plugin names 2007-08-11 14:49 +0000 [r7215] robert: * Added DisplaySetting::s/getCompileContextHint() and use of this hint in osgViewer::Viewer/CompositeViewer. Removed the CustomViewer in osgterrain example as the above now removes the need for it. 2007-08-11 12:43 +0000 [r7214] robert: * Refactored the use of the MasterOperation so that it now gets attached to the Viewer via the new Viewer::addUpdateOperation() method, rather than need a custom Viewer::updateTraversal(). 2007-08-11 10:28 +0000 [r7213] robert: * Added support for an update OperationQueue to Viewer and CompositeViewer to allow asyncrnous adding of operations to be added to the view to be done during syncronous updateTraversal(). This feature can be used for doing things like merging subgraphs that have been loaded in a background thread. 2007-08-10 17:44 +0000 [r7212] robert: * Updated wrappers 2007-08-10 10:58 +0000 [r7210-7211] robert: * Updated wrappers * Added View::setDatabasePager(..) 2007-08-10 10:52 +0000 [r7209] robert: * Refactored the way the Scene is used in Viewer and CompositeViewer to ensure that only on Scene exists per scene graph. 2007-08-09 08:19 +0000 [r7208] robert: * Compile fix 2007-08-09 08:15 +0000 [r7207] robert: * Removed now redundent ReaderWriterTerrain.cpp 2007-08-08 09:12 +0000 [r7206] robert: * Updated wrappers 2007-08-08 08:10 +0000 [r7205] robert: * Added new statc prototype() and create() methods to CullVisitor and DatabasePager to allow overriding of the default implementations 2007-08-08 05:59 +0000 [r7204] robert: * Removed unneeeded includes 2007-08-07 22:56 +0000 [r7203] robert: * Updated wrappers 2007-08-07 22:31 +0000 [r7202] robert: * Updated CMakeLists.txt to reflect renaming of TerrainNode. 2007-08-07 19:53 +0000 [r7201] robert: * Renamed osgTerrain::TerrainNode to osgTerrain::Terrain and introduced basic .osg read support for osgTerrain::Terrain. 2007-08-07 15:51 +0000 [r7200] robert: * Removed TerrainNode.cpp from CMakeLists.txt 2007-08-07 15:30 +0000 [r7199] robert: * Added preliminary shell of osgTerrain plugin 2007-08-07 14:49 +0000 [r7198] robert: * 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 ?" 2007-08-07 10:37 +0000 [r7197] robert: * Re-introduceed GDAL plugin 2007-08-07 10:33 +0000 [r7195-7196] robert: * Re-introduced GDAL plugin. * Added preliminary code to allow build specification of glu tesscallback with ... parameter 2007-08-07 08:18 +0000 [r7194] robert: * From Andy Skinner, The attached file adds #include to GraphicsContext.cpp, so that it compiles with the solaris compiler we use. 2007-08-06 11:52 +0000 [r7191-7192] robert: * Updated README * Updated ChangeLog, and AUTHORS file for release 2007-08-06 11:24 +0000 [r7190] robert: * Updated version numbers for release 2007-08-06 09:28 +0000 [r7189] robert: * Changed debug message to INFO level 2007-08-05 17:06 +0000 [r7188] robert: * Added support for enabling the stencil buffer when horizontal and vertical split stereo are used. 2007-08-05 14:59 +0000 [r7187] robert: * 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." 2007-08-05 14:51 +0000 [r7186] robert: * From Andy Skinner, fixes for avoiding warnings about mixing c and c++ versions of c libs. 2007-08-04 17:04 +0000 [r7185] robert: * Disable the selection of CullPerCameraDrawPerContext until I am able to fix this threading model 2007-08-04 10:30 +0000 [r7184] robert: * From John Shue, "Recent changes to sockstream.cpp and sockinet.cpp to better deal with various operating system differences between socklen_t and int have broken the FreeBSD build. Change was to add __FreeBSD__ to the list of defines that are checked." 2007-08-03 16:08 +0000 [r7183] robert: * Updated wrappers 2007-08-03 14:50 +0000 [r7182] robert: * Added perlimnary support for reading the DISPLAY variable. 2007-08-02 16:23 +0000 [r7181] robert: * Changed the projection matrix resize policy. 2007-08-02 12:36 +0000 [r7180] robert: * From Martin Lavery, XCode updates for the new Renderer class 2007-08-02 12:27 +0000 [r7179] robert: * Added return 0; 2007-08-02 11:02 +0000 [r7178] robert: * Introduce new osgViewer::Renderer class for implementing of the rendering of cameras in viewers 2007-08-02 08:50 +0000 [r7177] robert: * Added save and restoring of the cull mask to Camera handling code 2007-07-31 17:28 +0000 [r7176] robert: * From Andy Skinner,adding c includes to avoid problems with mixing c and c++ versions of c functions. 2007-07-30 16:02 +0000 [r7174] robert: * Updated AUTHORS file for release 2007-07-30 15:56 +0000 [r7173] robert: * Updated ChangeLog for release 2007-07-30 15:25 +0000 [r7172] robert: * Updated version number for 2.1.3 dev release 2007-07-30 10:52 +0000 [r7171] robert: * Ported across Viewer's to use osgUtil::GLObjectOperation, added second option in GLObjectOperation to handle cases when no subgraph is registered, in these case the code now compile all Camera subgraphs. 2007-07-28 10:44 +0000 [r7170] robert: * From Andy Skinner, adding C includes to avoid issues when mixing C and C++ standard includes 2007-07-28 10:28 +0000 [r7169] robert: * Introduce Camera::s/getRenderer(). 2007-07-27 17:16 +0000 [r7167-7168] robert: * 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 " * From Bryan Thrall, added copying of boundingbox callback to copy constructor. 2007-07-27 17:07 +0000 [r7166] robert: * From Stephan Huber, added reset of _currentContext when graphics context is closed. 2007-07-27 16:48 +0000 [r7165] robert: * From Stephan Huber, "attached you'll find a fix for the dead locks when closing a window under OS X." 2007-07-27 15:26 +0000 [r7164] robert: * Updated svn::externals 2007-07-26 19:31 +0000 [r7163] robert: * From Thibault Genessay, "Attached is an unitialized variable fix I spotted with Purify. The _currentCursor (of type HCURSOR) member of the graphics window was not properly initialized, causing potential problems if setCursor() was called before anything else set it." 2007-07-25 10:12 +0000 [r7162] robert: * From Parag Chaudhur, "In daeRMaterials.cpp in the COLLADA plugin, in the processTexture function, Lines 519-522 of the source file: The "delete [] path" appears before the "osg::notify", causing the data pointed to by "filename" to be deleted before access causing an access violation. ... I have put a comment on line 521 where I have moved the "delete []path" below. " 2007-07-24 14:52 +0000 [r7158] robert: * Updated AUTHORS 2007-07-24 14:47 +0000 [r7157] robert: * Updated ChangeLog 2007-07-24 14:43 +0000 [r7156] robert: * Updated version for dev release 2007-07-24 14:30 +0000 [r7155] robert: * Fixed warning 2007-07-24 14:02 +0000 [r7154] robert: * From Alexandre Amalric, Fox example From Robert Osfield, CMake build support for FOX example 2007-07-23 20:37 +0000 [r7152] robert: * From Michael Hartman, "Here is an update for the closing issue with the example osgviewerMFC where the MFC rendering thread would not exit before the application and the thread would be left running in the background and the user would have to use TaskManager to kill the process. Changes: MFC_OSG.cpp: Removed pixelformatdesciptor from the class initialization. Used setInheritedWindowPixelFormat to true so it will setup the pixelformat for the window. Added class destructor code. MFC_OSG.h: Removed the ref_ptr on osgViewer::Viewer MFC_OSG_MDIViewer.cpp: Changed the OnDestroy function code. Added WaitforSingleObject with thread handle for the MFC render handle. MFC_OSG_MDIView.h: Added class variable for MFC Render Thread Handle for use with the WaitforSingleObject. " 2007-07-23 20:10 +0000 [r7150-7151] robert: * From Andy Skinner, addition of standard c library includes to avoid issues with using STLport on some platforms. * Converted tabs to four spaces 2007-07-23 18:19 +0000 [r7149] robert: * Updated wrappers 2007-07-23 18:13 +0000 [r7148] robert: * From Mathias Froehlich, compile fix for OSX. 2007-07-23 16:42 +0000 [r7147] robert: * Added FlushDeletedGLObjectsOperation. 2007-07-22 20:33 +0000 [r7146] robert: * Added support for using the CompileContext to do GL object deletion. 2007-07-21 20:11 +0000 [r7144] robert: * Converted usleep call to OpenThreads::Thread::microSleep() to avoid VS build problems 2007-07-19 18:59 +0000 [r7143] robert: * Added reset it to set block correctly before use. 2007-07-19 17:02 +0000 [r7142] robert: * Improved the filtering of changes to master file to prevent using reading from files that are still under going changes. 2007-07-19 16:42 +0000 [r7141] robert: * Updated wrappers 2007-07-19 15:24 +0000 [r7140] robert: * Added osg::RefBlockCount subclassed from the new OpenThreads::BlockCount and used it into osgterrain example 2007-07-19 12:09 +0000 [r7138] robert: * Added support for using multiple load threads as a thread pool used by the MasterOperation 2007-07-18 16:48 +0000 [r7137] robert: * Added setting of ThreadSafeRefUnref to true. 2007-07-18 16:17 +0000 [r7135-7136] robert: * 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. * Commented out debug messages 2007-07-18 14:54 +0000 [r7134] robert: * Added call to State::initializeExtensionsProcs() to prevent crashes before these variables are initialized. 2007-07-18 09:05 +0000 [r7133] robert: * Added missing export symbol. 2007-07-17 17:36 +0000 [r7132] robert: * Added traverse method implementation into GeometryTechnique. 2007-07-17 16:18 +0000 [r7131] robert: * Merged the new master operation/operation thread code with older standard terrain set up code. 2007-07-17 10:54 +0000 [r7130] robert: * Fixed GraphcicsContext::getMaxContextID so it properly returns the current max contextID. Fixed the osgviewer's compile context code to account for the above fix. Added compile context support into osgterrain example. 2007-07-17 09:15 +0000 [r7129] robert: * Fixed typo 2007-07-16 21:39 +0000 [r7128] robert: * Work in progress on support for dynamically reading a master file in a background thread 2007-07-16 17:40 +0000 [r7127] robert: * Added MasterOperation to do file querry and loading and background thread. 2007-07-16 15:47 +0000 [r7126] robert: * Added custom colour support to TransferFunction setup. 2007-07-16 15:13 +0000 [r7125] robert: * Improvements to the .terrain file support 2007-07-16 12:37 +0000 [r7124] robert: * First steps at provide a .terrain file format to experiment with file definitions of terrain subgraphs 2007-07-14 17:16 +0000 [r7123] robert: * Updated wrappers 2007-07-14 17:07 +0000 [r7122] robert: * Added support into osg::RenderInfo for a stack of Cameras that allow querries of which camera is currently active to be querried from within the draw traversal. 2007-07-14 09:17 +0000 [r7121] robert: * Changed BarrierOperation so that it isn't limited to jut working within GraphicsContexts. 2007-07-13 19:24 +0000 [r7119-7120] robert: * Converted Operations to GraphicsOperations where apporpriate. * Removed all the plugins BUILD_OSG_* options as these just get in the way of browsing standard CMake options. 2007-07-13 17:25 +0000 [r7118] robert: * Introduce GraphicsOperation subclass from osg::Operation, and osgUtil::GLObjectOperation for compiling subgraphs. 2007-07-13 11:49 +0000 [r7117] robert: * Updated wrappers 2007-07-13 11:42 +0000 [r7115-7116] robert: * 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." * From Mathias Froehlich, "This change makes the net plugin compile on hp-ux. It tries to unify some partly ugly ifdefs in the socket classes. The change is also tested on a solaris 8, irix 6.5 and suse 9.0 machine." 2007-07-13 11:31 +0000 [r7114] robert: * Added setCurrentEventState method 2007-07-13 11:22 +0000 [r7113] robert: * Updated wrappers 2007-07-13 11:17 +0000 [r7112] robert: * Introduced new GUIEventAdatper singleton for sharing the current state between multiple GraphicsWindows, this singleton is accessable via GUIEventEvent::getAccumulatedEventState(). Added use of this new singleton in GraphicsWindow* implementations. Added WindowSizeHandler to osgkeyboard to help with debugging of event state between windows. 2007-07-12 20:12 +0000 [r7110-7111] robert: * 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. * Fixed spelling of cartesian. 2007-07-12 16:37 +0000 [r7109] robert: * From Martin Lavery, updates to Xcode projects 2007-07-12 15:54 +0000 [r7108] robert: * Renamed include/osg/OperationsThread to OperationThread. Created a new GraphicsThread subclass from OperationThread which allows the GraphicsContext specific calls to be moved out of the base OperationThread class. Updated the rest of the OSG to respect these changes. 2007-07-12 12:15 +0000 [r7107] robert: * Renamed OperationsThread to OperationThread and add two way link between OperationQueue and OperationThread 2007-07-12 09:03 +0000 [r7106] robert: * From Martin Lavery, Update to Packaging files for Xcode build 2007-07-12 08:29 +0000 [r7105] robert: * Added better description of TransferFunction. 2007-07-11 16:06 +0000 [r7102-7103] robert: * Updated wrappers * Fixed typo 2007-07-11 15:51 +0000 [r7100-7101] robert: * From Paul Melis, fixes to spelling mistakes/typos. * Updated version number in prep for 2.1.1 dev release 2007-07-11 15:30 +0000 [r7099] robert: * From Andre Garneau, minor warning fixes 2007-07-11 14:16 +0000 [r7098] robert: * Added support for --sky-light and headlight with local position at 0,0,0 2007-07-11 13:48 +0000 [r7097] robert: * Added setting of the Scene's FrameStamp on each CompositeViewer::updateTraversal() call to fix animation path issue. 2007-07-11 09:00 +0000 [r7096] robert: * From Martin Lavery, update of Xcode projects to meet the latest SVN revision 2007-07-10 19:29 +0000 [r7095] robert: * Added OperationsThread 2007-07-10 17:36 +0000 [r7093-7094] robert: * Added test code path which stress tests new thread pool support in OperationsThread * Wired up OperationsThread to use the new OperationQueue and thereby support thread pooling where multiple OperationsThreads share a single OperationsQueue 2007-07-09 19:04 +0000 [r7092] robert: * Separated OperationsThread out from the GraphicsThread header and introduced new OperationQueue class. 2007-07-09 15:02 +0000 [r7091] robert: * Fixed unitialized variables. 2007-07-09 11:37 +0000 [r7088] robert: * Updated ChangeLog, osgversion and AUTHORS.txt for 2.1 dev release 2007-07-09 11:05 +0000 [r7085-7087] robert: * Updated version number for 2.1.0 dev release * Added OpertionQueue * Added OperationQueue class for future work on support thread pools that share a single OpeationQueue. 2007-07-09 10:48 +0000 [r7083-7084] robert: * Updated wrappers * Improved the consistency of setting of rotation and auto rotate modes in setAxisAlingment method 2007-07-09 10:12 +0000 [r7082] robert: * Fixed missinged intialization of the _threadsRunning variable. 2007-07-07 16:05 +0000 [r7081] robert: * From Jean-Sebastien Guay and Jan Ciger, added search path can improved handling of backslashes/forward slashes 2007-07-06 20:00 +0000 [r7080] robert: * Updared wrappers 2007-07-06 16:54 +0000 [r7079] robert: * Added include of DeleteHandler 2007-07-06 16:47 +0000 [r7078] robert: * Added dirty count support to osgTerrain::Layer clases. Added LayerHandler to osgterrain example that modifies the layers in response to pressing the 's' and 'q' keys 2007-07-06 14:07 +0000 [r7077] robert: * From Jea-Sebastien Guay and Robert Osfield, build fixes for Windows 2007-07-06 13:54 +0000 [r7076] robert: * From Rudolf Wiedemann, "I need to link OpenSceneGraph statically to my application, so I completed the new registration of the plugin-readerwriters ("REGISTER_OSGPLUGIN") according to your osgstaticviewer-example (see attachment, based on today's svn)." 2007-07-06 13:33 +0000 [r7075] robert: * From Brede Johansen, "Attached is a fix that returns a default color (white) if an invalid index to the color palette is used." 2007-07-06 13:08 +0000 [r7074] robert: * Added include/osg/GLObjects + .cpp which provide osg::flush*DeletedGLObjects() methods. Added and cleaned up DeleteHandler calls in osgViewer to help avoid crashes on exit. Changed DatabasePager across to dynamically checcking osg::getCompileContext(..) Updated wrappers. 2007-07-06 09:06 +0000 [r7073] robert: * Added #include 2007-07-05 18:41 +0000 [r7072] robert: * Updated wrappers. 2007-07-05 18:33 +0000 [r7068-7071] robert: * Added support for managing a CompileContext. Rearranged the DeleteHandler::flushAll call. * Added debug messages to catch key modified state * Improved the computation of the side vector * Improved the mapping of update and cull traversal 2007-07-05 10:57 +0000 [r7067] robert: * From Adndre Garneau, "Attached is a fix to prevent a cursor being shown in graphics windows when traits specify that none should be used (a recent change forced a left-pointer cursor as the default). " 2007-07-05 10:51 +0000 [r7066] robert: * Commented out "fix" that explictly sets the key modifier state as this change actually broke the key modifier state management. 2007-07-03 17:32 +0000 [r7065] robert: * From Thibault Genessay, "You'll find attached a fix for the comments of the osgwindows example. It fixes a typo in the comments which is quite disturbing for newbies trying to learn using the source (twice 'left' instead of 'left' and 'right'). I've also added a little offset to the windows' positions so that their decoration falls inside the desktop and we can manipulate them - it looks a bit less "made out of wood"." 2007-07-03 13:26 +0000 [r7064] robert: * Added checking of GUIEventAdpter::getHandled(). 2007-07-03 10:00 +0000 [r7063] robert: * From Roger James, added GL_NORMALIZE mode to scaled models 2007-07-02 13:17 +0000 [r7061-7062] robert: * Changed the way that computeNearFar is computed to avoid inconsistencies when in stereo mode * Updated wrappers 2007-07-02 12:43 +0000 [r7060] robert: * From Csaba Halasz, support reading "monochrome" option string and use of monocrhome FreetType support 2007-07-02 12:30 +0000 [r7059] robert: * From Csaba Halasz and Robert Osfield, support for passing in ReaderWriter::Options object into readFontFile 2007-06-30 16:19 +0000 [r7058] robert: * From Mike Connell, "This is a tiny fix for win32. The current code takes the mouse cursor position and adds it to the window (left,top) position, and sends the mouse cursor there. But this doesn't take into account the window decoration. The new code converts the given (x,y) coordinates from the client area coordinate system to the screen instead using ClientToScreen. I think this is the natural windows way to do it. Tested on XP with osgviewer " Note from Robet Osfield, made a few changes to layout to make it more consistent with the rest of the OSG and used #if 0 instead if (0) blocks. 2007-06-30 15:40 +0000 [r7057] robert: * From Stephan Huber, "attached you'll find a small fix for the 3ds-plugin, so 3ds-files exported from cinema 4d are imported correctly. It's not cinema's fault, because the 3ds-files show up correctly in 3dStudio Max." 2007-06-30 14:30 +0000 [r7053-7056] robert: * Updated wrappers * Added s/getUsage() method * Added balancing of stack size on entry/exit from rendering nested camera. * Added debug path that creates the viewer on the heap. 2007-06-30 14:21 +0000 [r7052] robert: * From David Callu, " Found in the join file the fix for the bug found by Rafa. Problem : osgIntrospection::Value grp(new osg::Group); osgIntrospection::ValueList vlcall; vlcall.push_back(osgIntrospection::Value("toto")); const osgIntrospection::MethodInfo *m = grp->getType.getCompatibleMethod("setName", vlcall, true); if (m) { m->invoke(grp, vlcall); // ** SEGFAULT here } Algorithm explanation : The "invoke" method try to convert "grp", which reflect an "osg::Group*", in a "osgIntrospection::Value", which reflect a "osg::Node*". This because the "setName(const char *)" method found by "grp->getType.getCompatibleMethod" is an "osg::Object" type method. When osgIntrospection do this conversion it try : - to found a "osgIntrospection::Converter" to convert from "osg::Group*" to "osg::Node*" - to found a chain of "osgIntrospection::Converter" to convert from "osg::Group*" to "one or many type" to "osg::Node*" - to converte an Enum to int or unsigned int - to convert the value in its "value string representation", then converte this string in the destination value Else it throw a "TypeConversionException". Bug : 1) When osgIntrospection try to found a chain of "osgIntrospection::Converter" It could do any downcast or (Type to SuperType) or upcast (SuperType to Type). This mean the the chain could be : osg::Group to osg::Transform to osg::Camera to osg::CullSettings to osg::CullStack to osg::CollectOccludersVisitor to osg::NodeVisitor to osg::Referenced to osg::Object During the convertion with this chain, A METTRE failed and the pointer in "grp" is set NULL. But the "grp" is always a valid "osgIntrospection::Value" and so, osgIntrospection accept the conversion. Then it try to use this pointer to call the "setName" function. And Bing SEGFAULT. 2) In "bool Reflection::accum_conv_path( ... )" the convection path isn't accumulate in the recursive loop. this cause multi request of a conversion path, and a slowdown in the conversion algorithm. 3) Use of the last conversion way in a conversion from pointer to pointer this mean you can do this : "osg::Node*" to " value string representation" to "osg::Material*" What a bad thing !!! Solution : 1) Introduce the concept of dynamic_cast and static_cast. now, to do a conversion, osgIntrospection does this : - to found a "osgIntrospection::Converter" to convert from "osg::Group*" to "osg::Node*" - to found a chain of "osgIntrospection::Converter" to convert from "osg::Group*" to "one or many type" to "osg::Node*" only with static_cast, downcast (Type to SuperType) - to found, if the source and the destination are two pointer, a chain of "osgIntrospection::Converter" to convert from "osg::Group*" to "one or many type" to "osg::Node*" only with dynamic_cast, upcast (SuperType to Type) - to convert an Enum to int or to unsigned int - to convert the value in its "value string representation", then convert this string in the destination value Else it throw a "TypeConversionException". Add the "enum CastType" to distinguish the static_cast or dynamic_cast converter. Add file OpenSceneGraph/include/osgIntrospection/CastType 2) add a line to accumulate converter in converter Path. 3) add a line to check if source and destination are pointer. " 2007-06-30 09:27 +0000 [r7051] robert: * From Sherman Wilcox, added check for Drawable cull callbck into apply(Billboard) 2007-06-30 07:09 +0000 [r7050] robert: * Removed the old references to files now removed 2007-06-29 17:01 +0000 [r7049] robert: * Added Point::Extension::isPointSpriteCoordOriginSupported() method 2007-06-29 16:37 +0000 [r7048] robert: * From Sherman Wilcox, added serach for freetype234 2007-06-29 16:10 +0000 [r7045-7047] robert: * From Paul Martz, "Attached is src/osg/CMakeLists.txt. Adding TemplatePrimitiveFunctor to the source code list for the project. This makes this header file show up in the VS IDE as part of this project, and therefore facilitates IDE searching of project-related files, as well as making other tasks easier." * Fixed indenting to use 4 spaces instead of tabs * From Jan Ciger, "I am attaching a fix for the COLLADA plugin on non-windows systems. The COLLADA modules STLDatabase, LIBXMLPlugin and stdErrPlugin are statically included in the main COLLADA library on Linux and shouldn't be linked separately - those libraries do not exist in the default Linux build and the compilation will fail. Second issue - the current version of the COLLADA plugin (both current HEAD in Subversion and the one in stable 2.0) do not work right with the stable COLLADA DOM 1.4.1. I am getting the following error: " 2007-06-29 16:00 +0000 [r7044] robert: * From Roger James, bug fix to counting of number geode with drawables 2007-06-28 20:56 +0000 [r7043] robert: * From Brad Colbert, get/setVolume methods 2007-06-28 14:19 +0000 [r7042] robert: * From Brad Colbert with ammendments by Robert Osfield, add set/getVolume support 2007-06-28 12:59 +0000 [r7041] robert: * From Trajce Nikolov, fixes to pbuffer setup 2007-06-28 09:51 +0000 [r7040] robert: * From Nikolaus Hanekamp, added support for osg::Multisample 2007-06-27 20:44 +0000 [r7039] robert: * From Stephan Huber, "attached you'll find a first implementation of pbuffer-support for os x. I used osgprerender --pbuffer to test the carbon-implementation, for now it works :) " 2007-06-27 20:36 +0000 [r7037-7038] robert: * From Paul Melis, "Here is a list of fixes to misspelled APIs. Unfortunately, more than one of these are public APIs and therefore will break linkage to existing shared libraries." Note from Robert Osfield, updated wrappers. * Added temporary reset of the RenderLeaf pointer for any internal calls to other graphics contexts. 2007-06-27 19:51 +0000 [r7036] ewing: * Minor build fixes. Changed/fixed GraphicsWindowCarbon to go into api/Carbon instead of just api/ 2007-06-27 17:01 +0000 [r7034] robert: * From Andy Skinner, fixed return value. 2007-06-27 11:14 +0000 [r7033] robert: * Updated wrappers 2007-06-27 10:37 +0000 [r7032] robert: * From Rajce Nickolov, improvements to PixelBufferWin32 and GraphicsWindowWin32 2007-06-27 10:12 +0000 [r7031] robert: * Added texture format into Traits. 2007-06-27 09:44 +0000 [r7030] robert: * Fixed target setting bug in PixelBuffer RTT set up. 2007-06-26 17:12 +0000 [r7029] robert: * Added missing cmake macros 2007-06-26 11:31 +0000 [r7028] robert: * Reverted to using non silhouette computation. 2007-06-25 13:48 +0000 [r7027] robert: * Changed the RTT Camera so that it doesn't automatically recompute the near and far planes 2007-06-25 11:32 +0000 [r7026] robert: * From Trajce Nickolov, improvements to PixelBufferWin32. 2007-06-25 08:35 +0000 [r7025] robert: * Set the eol style on CMake .txt files to native 2007-06-24 10:55 +0000 [r7024] robert: * Updated wrappers 2007-06-24 10:18 +0000 [r7023] robert: * From Trajce Nikolov, PixelBufferWin32 implementation 2007-06-23 21:55 +0000 [r7021-7022] robert: * Simplified decoration code and added support for reading Traits::supportsResize * Set the Traits::supportsResize flag to true in default constructor. 2007-06-23 11:24 +0000 [r7019-7020] robert: * Reorder the setProjectionMatrix.. mathod * Added setting of the Camera's projection matrix to fit the windowing aspect ratio. 2007-06-22 14:48 +0000 [r7017-7018] robert: * Added optional set up of pbuffers for background compilation of the OpenGL objects when database paging. * Added ability to compile OpenGL objects via pbuffers in the DatabasePager/Viewer 2007-06-21 16:14 +0000 [r7016] robert: * Added explicit setting of updateText to have DYNAMIC data variance. 2007-06-21 11:20 +0000 [r7014] robert: * From Trajce Nikolov, windows build fixes 2007-06-20 12:34 +0000 [r7013] robert: * Added dummy init method 2007-06-20 12:29 +0000 [r7012] robert: * Added placeholder for PixelBufferWin32 2007-06-20 12:01 +0000 [r7008-7011] robert: * Corrected graphics context creation message * Added code of support for contouring shaders * Updated wrappers * Completed implementation of PixelBufferX11. 2007-06-19 17:12 +0000 [r7007] robert: * Added beginnings of osgViewer::PixelBufferX11 2007-06-19 16:19 +0000 [r7006] robert: * Added passing of arguments into constructor. 2007-06-19 09:16 +0000 [r7005] robert: * Removed OSGVIEWER_EXPORT 2007-06-18 12:10 +0000 [r7003] robert: * Added use of GLSL filters 2007-06-15 17:47 +0000 [r7002] robert: * From Martin Lavery, Updates to Packages 2007-06-15 16:17 +0000 [r6999] robert: * Updated ChangeLog 2007-06-15 16:08 +0000 [r6998] robert: * Fixed namespace 2007-06-15 14:57 +0000 [r6997] robert: * Added default values for ambientBias 2007-06-15 14:26 +0000 [r6996] robert: * From Martin Lavery, Update to Packaging 2007-06-15 14:02 +0000 [r6995] robert: * Removed now redundent file 2007-06-15 13:43 +0000 [r6994] robert: * For Win32 added BUILD_MFC_EXAMPLE option, default to OFF to try and avoid issues with users without MFC installed. --This line, and 2007-06-15 13:12 +0000 [r6993] robert: * Fixed handling of cases when no matrix is attached to intersections 2007-06-15 12:59 +0000 [r6991] robert: * Added ShadowMap::s/getAmbientBias, updated NEWS and wrappers 2007-06-15 12:48 +0000 [r6990] robert: * Updated README. 2007-06-15 12:41 +0000 [r6989] robert: * Changed the version format. 2007-06-15 10:15 +0000 [r6987-6988] robert: * Updated version numbers for 2.0 release * Added handling of when mouse delta is too high, indicating a inconsitency in the the events. These changes prevent irratic high speed spinning when releasing the mouse point in a different screen from when the mouse event started. 2007-06-15 09:29 +0000 [r6986] robert: * Fixed null pointer derefence bug 2007-06-15 08:36 +0000 [r6985] robert: * Addded missing namespace 2007-06-14 22:22 +0000 [r6984] robert: * From Martin Lavery, Packaging Update 2007-06-14 21:03 +0000 [r6983] robert: * Updated wrappers 2007-06-14 20:58 +0000 [r6981] robert: * Included shaders directly into source, added support for toggle lighting on/off 2007-06-14 20:49 +0000 [r6979-6980] robert: * From Martin Lavery, Packaging Updates * From Martin Lavery, Packaging Updates 2007-06-14 20:22 +0000 [r6978] robert: * From Martin Lavery, Install script for the Xcode build 2007-06-14 19:17 +0000 [r6977] robert: * Fixed typo 2007-06-14 16:09 +0000 [r6975] robert: * From Martin Lavery, Fix to packaging 2007-06-14 15:51 +0000 [r6974] robert: * From Martin Lavery, addition of Packaging directory 2007-06-13 21:15 +0000 [r6971] robert: * Updated wrapers, changelog, README and AUTHORS files for 1.9.9 release 2007-06-13 21:00 +0000 [r6970] robert: * Updated wrappers and Version numbers for 1.9.9 release 2007-06-13 20:56 +0000 [r6969] robert: * From Paul Mellis, "Here's an updated README.txt with a few spelling and grammer mistakes fixed. I changed the wording slightly here and there. Hope you don't mind me fiddling with this one... " 2007-06-13 20:52 +0000 [r6968] robert: * Added ability to set the keyboard bindings in the RecordaAnimationPathHandler 2007-06-13 20:34 +0000 [r6967] robert: * From Jeremy Moles & Robert Osfield, Added support for playback of animation paths using 'Z' key 2007-06-13 19:54 +0000 [r6965-6966] robert: * Added clear() * Added new shader support 2007-06-13 19:44 +0000 [r6964] robert: * From John Shue, fixed typo in CMakeLists.txt 2007-06-13 15:32 +0000 [r6962] robert: * Added passing of arugments into viewer constructor 2007-06-13 14:42 +0000 [r6961] robert: * Removed SunOS hack as it didn't work.. 2007-06-13 14:05 +0000 [r6960] robert: * Wired up new shaders 2007-06-13 13:41 +0000 [r6958] robert: * Added better handling of 0,0,0 values 2007-06-13 11:09 +0000 [r6957] robert: * Added OSG_SCREEN and OSG_WINDOW env var checking in the Viewer::realize() 2007-06-13 10:45 +0000 [r6956] robert: * Updated wrappers 2007-06-13 10:38 +0000 [r6955] robert: * Added osgViewer::View::setUpViewInWindow(...) method and command line option into osgViewer::Viewer to allow you to specify the window dimentions and screen for the window on startup. 2007-06-13 10:31 +0000 [r6954] robert: * From Martin Lavery, osgShadow plugin added to Xcode project. 2007-06-13 10:12 +0000 [r6953] robert: * Fixed versioning 2007-06-13 09:56 +0000 [r6952] robert: * Removed ParallelSplitShadowMap as its currently a non op. 2007-06-13 08:56 +0000 [r6951] robert: * Added -lrt in for SunOS build 2007-06-12 19:46 +0000 [r6950] robert: * Updated wrappers 2007-06-12 18:58 +0000 [r6948-6949] robert: * Added StatsHandler * Refactored the dome correction code to support movie flipping. 2007-06-12 16:55 +0000 [r6947] robert: * Added Image::g/setOrigin to help movie plugins tell applications that the imagery is not the usual OpenGL BOTTOM_LEFT orientation, but with the origin TOP_LEFT. This allows geometry setup code to flip the t tex coord to render the movie the correct way up. 2007-06-12 15:57 +0000 [r6946] robert: * Added in QT4 keyboard event adaption 2007-06-12 15:52 +0000 [r6945] robert: * UPdated wrappers 2007-06-12 15:38 +0000 [r6944] robert: * From Stephan Huber, "while porting my own code to the new osgViewer I discover more and more bugs in the Carbon-implementation of GraphicsWindow, so here's another fix for setWindowDecorationImplementation, now updates the titlebar-height, and fixes some display-issues when switching the decoration on/off. " 2007-06-12 15:32 +0000 [r6943] robert: * Moved the className, libraryName and isSameAs into public. 2007-06-12 14:43 +0000 [r6942] robert: * Changed _data to _movieData to avoid possible confusion 2007-06-12 14:20 +0000 [r6941] robert: * From Martin Lavery and Robert Osfield, Updated examples to use a variation of the MIT License 2007-06-12 11:31 +0000 [r6940] robert: * From Martin Lavery, fix to Xcode Resources 2007-06-12 10:37 +0000 [r6939] robert: * From Martin Lavery, Fix of OpenSceneGraph-Data linking 2007-06-12 10:19 +0000 [r6938] robert: * Build fixes for QT4 2007-06-12 09:55 +0000 [r6937] robert: * Changed the throw dection time to 0.02 2007-06-12 08:30 +0000 [r6934-6936] robert: * Work in progress on perspective view dependant codes * Added screen number, and flip support into dome correction codes. * From Stephan Huber, "the computation of the windowtitlebar-height was wrong, attached you'll find a fixed version for GraphicsWindowCarbon.cpp " 2007-06-10 20:46 +0000 [r6933] robert: * Added support for specifying external overlay file. 2007-06-10 20:12 +0000 [r6932] robert: * Updated wrappers 2007-06-10 19:53 +0000 [r6931] robert: * From Stephan Huber and Robert Osfield, Stephan: "attached you'll find some modifications to the GraphicsWindow-class and their platform-dependant implementations. The problem: setWindowRectangle and setWindowDecoration do not update the traits-object, so, if you call setWindowRectangle on a not-realized-window it will open with another size when realized later. getWindowRectangle reports possible wrong sizes if setWindowRectangle called before. My solution: split the implementation in two parts: GraphicsWindow::setWindowRectangle will update its traits-object and call afterwards the virtual method setWindowRectangleImplementation (which is implemented by the derived platformspecific classess). For setWindowDecoration I am useing a similar mechanism. I hope you'll find the submission useful, the Win32 and X11 changes are not tested but should work." Changes to this made by Robert are call of resized in setWindowRectangle instead of setting of Traits, and use of a bool return type. 2007-06-10 19:22 +0000 [r6930] robert: * From Vladimir Shabanov, "osg::Image::isImageTranslucent() now handles GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV and GL_HALF_FLOAT_NV pixel formats." 2007-06-10 19:18 +0000 [r6929] robert: * From Vladimir Shabanov, "DDS plugin now works with these formats: R3G3B2, R5G6B5, A1R5G5B5, X1R5G5B5, A4R4G4B4, X4R4G4B4, R8G8B8 (now without swaping of red and blue), A8R8G8B8 (also w/o swapping), X8R8G8B8, A8B8G8R8, X8B8G8R8, A2R10G10B10, A2B10G10R10, L4A4 (not work on my machine), L16A16, L16, A16B16G16R16, A16B16G16R16F, Q16W16V16U16, R32F, R16F and A32B32G32R32F. And these ones are correctly detected, but prints "unsupported" using osg::notify(osg::WARN) and are not loaded: A8R3G3B2, G16R16, G16R16F, G32R32F and CxV8U8. Also added checking of not supported DDPF_BUMPDUDV (V8U8, V16U16, Q8W8U8L8, A2W10U10V10 etc.) and DDPF_BUMPLUMINANCE (L6V5U5, X8L8V8U8, etc.) pixel formats. Mipmap handling is slightly modified and now support all additional formats. " 2007-06-10 18:17 +0000 [r6928] robert: * From Olaf Flebbe, "support current zlib and libpng library names for win32 3rdParty builds." 2007-06-10 09:51 +0000 [r6927] robert: * Improved the set up of static build, added freetype plugin to plugins that support static usage 2007-06-09 19:18 +0000 [r6926] robert: * Added default file in case no file arguments are provided. Changed to use standard ThreadingHandler by default. 2007-06-09 17:58 +0000 [r6925] robert: * Improved the detection of throwing of the mouse. 2007-06-09 10:18 +0000 [r6924] robert: * Updated wrappers 2007-06-09 10:07 +0000 [r6922-6923] robert: * Removed the command line parameters form the examples that now have a default file built into them. * Added DisplaySettings to osg::Camera, and support into osg::View for initializing the Camera to the DisplaySettings ScreenWidth/Height/Distance. Added support for dual screen horizontal split stereo. 2007-06-08 20:11 +0000 [r6921] robert: * Added debug code path that prints out font details. 2007-06-08 16:47 +0000 [r6919] robert: * From Eric Wing, interface files 2007-06-08 16:05 +0000 [r6917-6918] robert: * Removed empty directory * Removed empty directory 2007-06-08 15:37 +0000 [r6916] robert: * From Martin Lavery and Robert Osfield, added fallbacks for when now command line args are provided. 2007-06-08 15:29 +0000 [r6914] robert: * Added fallback for when no command line args are provied. 2007-06-08 15:11 +0000 [r6913] robert: * Added default file when no command line options are supplied. 2007-06-08 15:06 +0000 [r6911-6912] robert: * Added fallback for when no command line args are passed in. * From Martin Lavery, Linking of example Data files for the Xcode Projects 2007-06-08 12:16 +0000 [r6908-6910] robert: * Removed command line args for examples ported across to not need them. * Added default command line arg * Added default file load to avoid the need for command line option. 2007-06-08 11:04 +0000 [r6907] robert: * From Stephan Huber, "attached you'll find a new GraphicsWindowCarbon-header and .cpp, the changes I made: + put a warning in the console if a nonexistant screen is requested + add getters for the aglcontext and pixelformat -- I need access to them in my own code. " 2007-06-08 10:58 +0000 [r6906] robert: * From Jason Daly, "We have a few OpenFlight files that used to display properly with the old loader, but appear very, very wrong with the new one. I traced the problem to the handling of the palette override flags in the external reference records. The current behavior for handling the palette override flags for external references has different offsets for different OpenFlight version (2 bytes for 14.2-15.1 and 4 bytes for 15.2 and later). However, I believe this behavior is incorrect. I know that the original 14.2 OpenFlight spec (dated April 1995) specifies 2 bytes between the filename and the override flags, and the 15.4 and later specs specify 4 bytes. However, I also found a 14.2.4 OpenFlight spec (dated January 1996) that changes the specification to 4 bytes. Also, the databases in question were created using an old IRIX version of MultiGen II, which wrote OpenFlight 14.2 files natively. These files also have 4 bytes between the filename and flags. Furthermore, these databases have always worked properly under earlier versions of OSG, under Performer, and in every MultiGen product we've used. This leads me to believe that the original 14.2 spec was incorrect (the 14.2.4 spec corrected this error), and there should be 4 bytes between the filename and flags for all OpenFlight files version 14.2 and later. The attached fix modifies the OpenFlight loader to behave in this way." 2007-06-08 10:43 +0000 [r6903-6905] robert: * From Eric Wing, build fix * From Eric Wing, build fix * Updated wrappers 2007-06-08 10:22 +0000 [r6902] robert: * From Jason Daly, "This changes the handling of textures in the OpenFlight loader. Currently, if the texture attribute file doesn't explicitly specify an internal format, the loader will force it to use GL_RGB, which keeps translucent textures (eg. GL_RGBA textures) from showing up properly. This patch changes the default behavior to simply use the image's format instead of forcing a particular format." 2007-06-08 10:16 +0000 [r6901] robert: * From Eric Wing, "So, something strange happened to the repo and some of this project's files got messed up, most notiably the Nib and also the Localized strings file. I didn't notice the latter until now so Martin is missing this file. Anyway, the attached tar contains all new versions of all the necessary files. There are cleanups and fixes to a lot of things. Martin did a good job porting the thing to osg::Viewer so most of the code changes I made address other areas. Two things I noticed in the new port you might want to consider as feedback. First, there might be a bug with osgViewer when the view size goes to 0. If you play with the splitviews in this program and shrink the view until it is closed, and then re-expand it, the model doesn't come back, not even after a home() call. SimpleViewer didn't have this problem. Second, a more minor thing, this program has a take-screenshot--and-copy-to-clipboard feature via Cmd-C (or Menu item). I achieve this by using osg::Camera to render to an FBO and then copy the contents to Cocoa. To insert the camera, I manipulate the scenegraph so I can get the camera node in and out. I end up calling setSceneData at the end of eveything to restore everything to the original state before I started mucking with the scenegraph. This unfortunately, triggers a home() reset. So in this particular case, it make Copy look like it's changing the scene. The old SimpleViewer had the same problem, but I was able to work around it by directly invoking the underlying SceneView's setSceneData so the home() mechanism was bypassed. The viewer design seems to protect this data more carefully so the bypass trick won't work. My feedback is that maybe a flag or extra parameter can be introduced so a reset is not triggered if not desired. I have checked in a ton of Xcode fixes for the entire build process in general so once this piece gets checked in, hopefully everything will build cleanly." 2007-06-08 10:11 +0000 [r6900] robert: * From Mike Wittman, "This change to genwrapper and osgIntrospection gives access to the declaring file for a given type via the new member function osgIntrospection::Type::getDeclaringFile. This information is useful in order to know what header to include when auto-generating wrappers for a given type. During the C# wrapper generator development I've been keeping the declaring file configuration state up-to-date manually with changes to OSG, and it's proven to require substantial effort. So it would be extremely valuable to get this change in before 2.0 to reduce maintenance during the lifetime of the release. It'll also be equally useful to others looking to create wrapper generators using osgIntrospection. This is a fairly simple change and was tested with a fresh rebuild of the entire suite of osgWrapper libraries, so it should be relatively low risk (fingers crossed)." 2007-06-08 09:45 +0000 [r6899] robert: * Added clean up of the view before destruction of the window 2007-06-08 09:17 +0000 [r6898] robert: * Added const get*Matrix() methods 2007-06-08 05:03 +0000 [r6897] ewing: * Changed the version to 2.0.0 in the Info.plist in anticipation of the official release. I don't know what the OpenThreads version number will be, so that has been left alone. 2007-06-08 04:57 +0000 [r6896] ewing: * Lots of various fixes to Xcode project. - Adding missing header files and making sure they are marked public. - Support to copy headers in Viewer/api into the proper location in framework - Internalized OpenThreads build so cross-project dependency is not needed. Can now delete copy of OpenThreads project. Frameworks use native Xcode linking mechanism. Plugins/Examples still use explicit -framework OpenThreads. Could potentially be problem is old OpenThreads is on the system. This can be changed to use native mechanism too, but requires some patience because it is tedious to change. - Lots of fixes to osgViewerCocoa (something got messed up pretty badly...files are missing from repo). Another submission will need to readd these files back. 2007-06-07 21:43 +0000 [r6895] shuber: * Stephan Huber: fixed deploy-build for osgViewer 2007-06-07 21:07 +0000 [r6894] robert: * Updated wrappers 2007-06-07 20:26 +0000 [r6893] robert: * Commented out the Scene Stats entry as its not implemented yet. 2007-06-07 20:22 +0000 [r6892] robert: * From Martin Lavery, StatsHandler added to the ViewerCocoa example 2007-06-07 13:49 +0000 [r6890-6891] robert: * From Martin Lavery, update of *.nib files * From Martin Lavery, update of *.nib files 2007-06-07 13:44 +0000 [r6889] robert: * From Martin Lavery, update of *.nib files 2007-06-07 13:31 +0000 [r6888] robert: * From Martin Lavery, update of *.nib files 2007-06-07 13:25 +0000 [r6887] robert: * From Martin Lavery, update of *.nib files 2007-06-07 12:55 +0000 [r6886] robert: * From Martin Lavery, port of ViewerCocoa and updates to Xcode projects 2007-06-07 12:47 +0000 [r6884-6885] robert: * Removed the old SimpleView version of the Cocoa example * Removed now not need SimpleViewer 2007-06-07 12:23 +0000 [r6883] robert: * Added automatic stopping of animation when home() is called 2007-06-07 12:05 +0000 [r6882] robert: * From Per Fahlberg, "To get the pfb (Performer) plugin to compile I had to remove some of the libraries listed under TARGET_EXTERNAL_LIBRARIES. The removed libraries are not needed when linking the plugin, they are loaded during runtime by Performer. The modified file is attached." 2007-06-07 11:19 +0000 [r6881] robert: * Introduced a destruct method to help clean up the Registry. 2007-06-07 11:06 +0000 [r6879-6880] robert: * Revert the signOrZero cade path in the getRotate() to fix bugs. * Added support for using quat_scaled sx sy sz for testing getting quats from scaled matrices. Removed broken Matrixd/quat test 2007-06-07 09:58 +0000 [r6878] robert: * Added View::home() method and updated wrappers 2007-06-07 09:24 +0000 [r6877] robert: * Removed redundent files 2007-06-07 08:52 +0000 [r6876] robert: * Updated wrappers 2007-06-06 21:57 +0000 [r6873] robert: * Updated ChangeLog, AUTHORES and README to 1.9.8 release 2007-06-06 21:43 +0000 [r6872] robert: * Updated version numbers for release 2007-06-06 17:01 +0000 [r6866] robert: * Revert the setting of SingleThreaded under Windows in suggestBestThreadingModel() 2007-06-06 16:27 +0000 [r6865] robert: * Added #include 2007-06-06 16:23 +0000 [r6864] robert: * Fixed includes 2007-06-06 15:22 +0000 [r6863] robert: * From Ulrich Hertlein, "on my MacOS X/cmake setup the zlib plugin isn't built by default. This may be because zlib.h is installed in /opt/local/include on my system (courtesy of DarwinPorts). I've added a CMakeModule to look for zlib.h and the library in various places. The files are attached." 2007-06-06 14:51 +0000 [r6862] robert: * Fixed includes 2007-06-06 13:45 +0000 [r6861] robert: * From Martin Lavery, Updates to Xcode project 2007-06-06 11:34 +0000 [r6860] robert: * From Roger James, "These fix a couple of problems in the ac3d writer. 1. Number of child node of the world object set incorrectly in when scene contains shape drawables. 2. Incorrect handling of line primitives." 2007-06-06 11:28 +0000 [r6859] robert: * From Olaf Flebbe, "an implementation of GraphicsWindow::setCursor for WIN32." 2007-06-06 11:21 +0000 [r6858] robert: * Moved HelpHandler and StatsHandler classes into ViewerEventHandlers header, removed HelpHandler and StatsHandler headers 2007-06-06 11:10 +0000 [r6857] robert: * Updated wrappers 2007-06-06 10:58 +0000 [r6855-6856] robert: * Moved SimpleViewer from osgViewer into the osgviewerCocoa example directory as this is the only place in the OSG that now relies upon SimpleViewer. * Added support for passing in ArgumentParser in Viewer and CompositeViewer constructor 2007-06-06 08:59 +0000 [r6854] robert: * From Marin Lavery and Robert Osfield, XCode build fixes 2007-06-05 20:42 +0000 [r6853] robert: * From Martin Lavery, XCode build fixes 2007-06-05 19:44 +0000 [r6850-6852] robert: * Renamed osgmultiplecameras to osgcompositeviewer * Renamed osgmultiplecamrea to osgcompositeviewer * Added CompositeViewer support into FLTK example 2007-06-05 19:36 +0000 [r6849] shuber: * from Stephan Huber: fixed build path for OpenThreads, so osg builds cleanly 2007-06-05 19:10 +0000 [r6848] robert: * Added support for CompositeViewer 2007-06-05 17:19 +0000 [r6846-6847] robert: * Improved the wording of CMake instructions * From Martin Lavery, build fixes fo latest file additions 2007-06-05 14:37 +0000 [r6845] robert: * Change interator to const_iterator to try and avoid Solaris build failure 2007-06-05 11:18 +0000 [r6844] robert: * From Per Fahlberg, "added use of the internal format specified in the OpenFlight format attr files." 2007-06-05 08:46 +0000 [r6843] robert: * Removed const to try and avoid Sun compiler error 2007-06-05 08:30 +0000 [r6842] robert: * Removed redundent comma 2007-06-04 21:32 +0000 [r6838-6839] robert: * Updated READEME * Updated ChangeLog and AUTHORS.txt for 1.9.7 release 2007-06-04 21:02 +0000 [r6837] robert: * Introduce OSG_BUILD_APPLICATION_BUNDLES option for OSX, defaulting to OFF. 2007-06-04 20:32 +0000 [r6836] robert: * From Jeremy Moles and Rbert Osfeild, added extra details about CMake build options. 2007-06-04 19:33 +0000 [r6835] robert: * Removed setting of font resolutions and added control of threading, with the default theading set to SingleThreading to avoid crashes associated with non thread safe sections of osgFX - the need to be fixed!!! 2007-06-04 17:11 +0000 [r6834] robert: * Added control of threading model, setting default to SingleThreaded to avoid crash associated with mixing useCursor(false) and multi-threading. 2007-06-04 16:20 +0000 [r6833] robert: * Updated version for 1.9.7 release 2007-06-04 15:11 +0000 [r6832] robert: * Fixed stray control character 2007-06-04 15:05 +0000 [r6831] robert: * Warning fix 2007-06-04 14:47 +0000 [r6829-6830] robert: * Cleaned up example * From Martin Lavery and Robert Osfield, ported fltk example to osgViewer::Viewer 2007-06-04 13:45 +0000 [r6828] robert: * Added local FindFLTK.cmake to avoid problems with FLTK no being found by standard CMake FindFLTK.cmake. 2007-06-04 11:47 +0000 [r6827] robert: * From Roger James, "Here are my fixes for transparency in the Collada DAE reader." 2007-06-04 11:14 +0000 [r6826] robert: * From Martin Lavery and Robert Osfield, added use of hardwarded value kCGLCEMPEngine to fix build failure on slightly older versions of OSX. 2007-06-04 10:56 +0000 [r6825] robert: * Updated wrappers 2007-06-04 10:47 +0000 [r6824] robert: * Added osg::Hint class 2007-06-04 08:38 +0000 [r6823] robert: * Fixed spelling of Receives 2007-06-03 10:00 +0000 [r6822] robert: * Updated wrappers 2007-06-03 09:34 +0000 [r6821] robert: * Added Viewer::setUpViewerAsEmbeddedInWindow convinience method 2007-06-03 09:11 +0000 [r6819-6820] robert: * Removed osgsimple example * Merged the osgviewerQT3 and QT4 examples into a single osgviewerQT example, and ported across from SimpleViewer to using Viewer 2007-06-03 08:58 +0000 [r6818] robert: * Changed external library specication 2007-06-02 16:23 +0000 [r6817] robert: * Ported across from SimpleViewer to using Viewer 2007-06-02 16:01 +0000 [r6816] robert: * Ported QT3 example across to use osgViewer::Viewer, and made it possible to use the same source for both QT3 and QT4 2007-06-02 15:31 +0000 [r6815] robert: * Added osgViewer::GraphicsWindowEmbedded and ported GLUT, SDL and WX examples across from SimpleViewer to Viewer. 2007-06-02 12:03 +0000 [r6814] robert: * Ported GLUT example to using osgViewer::Viewer rather than SimpleViewer by using a local GraphicsWindowEmbedded class to help the adaption. 2007-06-01 22:41 +0000 [r6813] robert: * Renamed all osgsimpleviewer* files to osgviewer* 2007-06-01 22:33 +0000 [r6812] robert: * Renamed osgsimpleviewer* examples to osgviewer* in prep for replacement of SimpleViewer by Viewer 2007-06-01 22:28 +0000 [r6811] robert: * updated wrapper 2007-06-01 21:38 +0000 [r6810] robert: * From J.P Delport, "attached find an updated osgunittests.cpp that allows for the testing of the matrix.getRotate() function when a matrix contains a scale as well as a rotation. The scale can optionally be switched off, see the top of testQuatFromMatrix(). As expected, all the current methods for mat to quat conversion fail these new tests. When the scale is omitted, mk2 of getRotate with sign instead of signOrZero passes, as well as mk1. " 2007-06-01 21:33 +0000 [r6809] robert: * From Maria Ten, "The constructor method of the EllipsoidLocator of osgTerrain assumes that the terrain is always the Earth planet. I changed the constructor method to accept the Equator radius and the Polar radius like parameters. By default, it assumes the Earth radius for the EllipsoidLocator. I added a setEllipsoidModel method, too. Now, we are developing some libraries for a GIS applicacion, and our libraries can visualize terrains of planets like Mars. I think that is a interesting change." 2007-06-01 21:28 +0000 [r6808] robert: * From Michael Hartman, "CMakeLists.txt: Changed this back to setup_example since WIN32 flag is now supported. MFC_OSG.h: Added flag to indicate when the rendering thread has exited. MFC_OSG.cpp: Code modifications to support rendering flag thread exit. MFC_OSG_MDIView.cpp: Change to OnDestroy function to wait until we get render thread exit flag is true before we close the window. Main Exit Process: User presses escape button Viewer captures escape button and stops threading etc. Viewer sets Done when shutdown is complete MFC Render Thread monitors viewer->done for true MFC Render Thread exits while loop and sets MFC Done flag MFC View Window monitors MFC Done flag and then closes/destroys the window " 2007-06-01 19:53 +0000 [r6807] robert: * Updated wrappers 2007-06-01 19:45 +0000 [r6804-6806] robert: * From Wojciech Lewandowski, "I did few tests to see whether adding PreDraw callback would help us with SPI problems when using Viewer. Results were positive so I decided to give it a try and ask you to verify and maybe merge with existing codebase. I added _preDrawCallback member and neccessary access methods plus modified osgUtil RenderStage.cpp to invoke it before all drawInner calls are made. I tried to maintain symmetry with postDrawCallback but you know better where is a proper place for this call ;-) " * Updates to OverlayData * From Mathias Froelich, "have done an interface to change the mouse cursor in the X11 graphics window. The win32 implementation is still in its original shape since I have no win32 implementation available. I have chosen the enum approach for the first cut. That is benefitial since the user does not need to track creation of mouse cursors for different windows and displays in presence of multiple viewer windows. The default set of available mouse shapes is the same set that was available with glut. That set served many OpenGL applications well, so the hope is that this is enough. Even though, that implementation is still extensible: I have digged out the way SDL defines new mouse cursors and added a still documented out function prototype in the GraphicsWindow that can be used to extend the current implemtation for arbitrary mouse shapes. That is not implemented yet. I hope that somebody with a win32 test system can catch up that implementation on win32." 2007-06-01 19:21 +0000 [r6802-6803] robert: * Removed setViewUpOnScreen settings * From Stephan Huber, "attached you'll find the modified ImageStream and a small fix for QuicktimeImageStream to disable debug-logging :)" 2007-06-01 19:10 +0000 [r6801] robert: * From Mike Wittman, "Just found another issue building the C# wrappers: the osgTerrain ValidDataOperator file uses osg::Vec2, osg::Vec3, and osg::Vec4, but does not include their headers. The file with the relevant includes is attached. " 2007-06-01 19:01 +0000 [r6799-6800] robert: * Removed the debug message for the ortho path. * Improved the handling of the -p path option 2007-06-01 18:27 +0000 [r6798] robert: * Work in progress on shaders support 2007-06-01 16:14 +0000 [r6797] robert: * From Paul Martz, added Win32 export 2007-06-01 11:21 +0000 [r6796] robert: * Added recording of camera paths 2007-06-01 10:42 +0000 [r6794-6795] robert: * Changed name of AnimationPathHandler to RecordCameraPathHandler * From Jeremy Moles, new event handler to record the camera path. A few small tweaks by Robert Osfield to make it more consistent with the old osgProducer::Viewer behavior. 2007-05-30 17:56 +0000 [r6793] robert: * Improved taper ratio computation 2007-05-30 16:36 +0000 [r6792] robert: * Added set up of overlay stateset 2007-05-30 14:18 +0000 [r6791] robert: * Added trapezodial fitting code 2007-05-30 09:25 +0000 [r6790] robert: * Fixed case of when view==NULL 2007-05-29 18:39 +0000 [r6789] ewing: * Stephan Huber: Adding missing Xcode project file. 2007-05-29 14:19 +0000 [r6788] shuber: * From Stephan Huber, updated OpenThreads-XCode-project files 2007-05-29 13:28 +0000 [r6787] robert: * Added support for specifying which screen number to place the window 2007-05-29 10:31 +0000 [r6786] robert: * 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." 2007-05-29 10:01 +0000 [r6784] robert: * From Olaf Flebbe, "recently I discovered that the freetype plugin does not work, because CMake doesn't recognize it properly on windows. 1) the header detection on a directory "freetype" fails, it seems to need a filename: "ft2build.h" actually works. 2) the 3rdparty I am supplying for FlightGear contains freetype-2.3.4. I added the correct library naming for this particular release. I double-checked my directory layout with the 3rdparty supplied by other OSG contributors." 2007-05-29 09:57 +0000 [r6783] robert: * From Olar Flebbe, "Visual Studio 2005 triggered a small glitch in UnittestFramework.cpp Do not derefence it2 if it is at end()." 2007-05-29 07:25 +0000 [r6782] robert: * Changed SHORT_NAMES = NO to SHORT_NAMES = YES to avoid crappy Windows problems 2007-05-28 15:44 +0000 [r6779] robert: * Added --object, --ortho and --persp OverlayNode options 2007-05-28 15:27 +0000 [r6778] robert: * Fixed handle on non ellipsoid models 2007-05-28 15:17 +0000 [r6777] robert: * Improved the accuracy of the overlaynode settings 2007-05-28 13:56 +0000 [r6776] robert: * Added project down to base implementation. 2007-05-28 10:48 +0000 [r6773] robert: * Updated ChangeLog and AUTHORS.txt for 1.9.6 release 2007-05-28 10:17 +0000 [r6772] robert: * Updated version number, wrappers and readme for release 2007-05-28 10:14 +0000 [r6771] robert: * From Frauciel Luc, "Added support for other pointers than mouses by using a nearpoint and farpoint instead of mousex,mousey + Camera (see Dragger and Dragger.cpp). The major modification concern the LineProjector class in Projector.cpp. The intersection was previously done in window space, I've modified it to compute it in object space." 2007-05-28 09:30 +0000 [r6770] robert: * Removed old ProgrammingGuide as this is now replaced by the proper Quick Start Guide. 2007-05-27 19:35 +0000 [r6769] robert: * Updated wrappers 2007-05-27 18:18 +0000 [r6768] robert: * Updated wrappers 2007-05-27 17:29 +0000 [r6767] robert: * Added camera event callback support into osgViewer 2007-05-27 15:24 +0000 [r6766] robert: * Updated calling of master camera's update callback 2007-05-27 14:52 +0000 [r6764-6765] robert: * Added testing to see if camera allows events before automatically attaching a trackball manipulator * Added option for using the different overlay techniques. 2007-05-26 16:02 +0000 [r6763] robert: * Updated wrappers 2007-05-26 15:55 +0000 [r6762] robert: * Added a basic configure script to allow the setting of Release build by default. 2007-05-26 15:49 +0000 [r6760-6761] robert: * Fixes to help C# binding dev. * From Blake Williams, "I discovered why the \u2013CompositeViewer option for the osghud example does not work. The run() function adds a camera manipulator to each view that does not have one assigned, which causes the view with the HUD camera to point somewhere other than where it should. I just added a check before a new default camera manipulator is added to ensure that the view allows event focus before a camera manipulator is added." 2007-05-26 15:42 +0000 [r6759] robert: * From Charles Cole, "Attached are mods to the OpenFlight plug-in to help further implement the specification. With these mods, blink sequences are now created for flashing light point nodes, either palletized (v.15.8 and later) or non-palletized (15.7 and earlier). Thanks to Brede for his implementation of the palletized light point nodes. There is still work to do on adding the capability to properly handle light point system nodes, but this does add some capability that did not previously exist. So, I wanted to at least submit this and I will hopefully provide the additional capability in the near future. I've tested the code modifications with Visual Studio 2005. I don't have the means to test any other operating system, but I would suspect that there shouldn't be any issue (famous last words). I used the test files that I uploaded to the users forum to test the changes. In addition to the added capability, I changed the light point node radius to the "actualPixelSize" value in the file. Previously, the radius was set to half the actual pixel size (see LightPointRecords.cpp). Not sure why this was the case. But, it was brought to my attention by a co-worker who created the OpenFlight files and was testing them with different viewers. If there's some history for setting the radius to half the size, then this change can be omitted." 2007-05-26 15:17 +0000 [r6758] robert: * Added exclude of svn directories. 2007-05-25 19:35 +0000 [r6757] robert: * From Charles Cole, "he attached code implements the LightPointSystem class to allow for the OpenFlight plug-in to read and handle light point system nodes. The behavior is very similar to the old plug-in in that a MultiSwitch node is created to handle the "enabled" flag bit set in the node record. The code also reverts the changes for the actualPixelSize as mentioned above. And lastly, the code requires the previously submitted changes for the plug-in. As for the other changes, I've tested the code with Visual Studio 2005 and the files that I posted in the users forum. With all of the submitted changes, the OpenFlight plug-in should now be capable of loading files with light point system nodes and the use of palletized light points and non-palletized light points. " 2007-05-25 19:32 +0000 [r6756] robert: * Comment out the setting of single threading. 2007-05-25 16:00 +0000 [r6754-6755] robert: * Added s/getOverlayBaseHeight methods * Added some debug message to the set/getWindowSystemInterface function 2007-05-25 15:27 +0000 [r6751-6753] robert: * Introduce C entry point support for plugin setup for better static build support * Added C entry point graphicswindow_X11() to help with static build support * Added osgstaticviewer example to demonstrate how to put a static lib built viewer 2007-05-25 13:15 +0000 [r6750] robert: * From Luigi Calori, build fixes for Win32 build osg WxWidgets example 2007-05-25 10:14 +0000 [r6748-6749] robert: * Implemnet clampping of ovleray polytope to base plane * Changed debug message to INFO 2007-05-24 16:11 +0000 [r6747] robert: * From Colin McDonald, "The writeImage method in ReaderWriterPNM.cpp had an error checking the accepted file extensions, so that once the plugin was loaded in the Registry it would grab any image file write request, regardless of the file extension. This was a particular problem if it was statically loaded." 2007-05-24 14:20 +0000 [r6746] robert: * Improved the polytope cutting and project calculation 2007-05-24 10:15 +0000 [r6745] robert: * From Peter Hrenka, fixes regarding line-strips and -loops. 2007-05-24 09:49 +0000 [r6744] robert: * From Olaf, "there are more dubious calls to istream::readsome instead of istream::read. IMHO it does make no sense here and potentially breaks this plugin." 2007-05-24 08:51 +0000 [r6743] robert: * From Serge Lages, support for install api directories, with tweaks from Robert Osfield 2007-05-23 19:30 +0000 [r6742] robert: * Fixed brackets 2007-05-23 19:25 +0000 [r6741] robert: * Added automatic building of plugins as static when dynamic build is switch off. 2007-05-23 15:24 +0000 [r6740] robert: * From Anders Backman, add -DJAS_WIN_MSVC_BUILD for Win32 build 2007-05-23 15:14 +0000 [r6739] robert: * Made the local shaders definitions static const char to avoid multiple definiations 2007-05-23 14:55 +0000 [r6738] robert: * Added insertion of center point into object polytope 2007-05-23 13:26 +0000 [r6737] robert: * Added angular sorting of the points on the plane intersecting the cut plane. 2007-05-23 12:35 +0000 [r6736] robert: * Updated wrappers 2007-05-23 12:21 +0000 [r6735] robert: * Added platform specific GraphicsWindow* headers to public headers listings 2007-05-23 11:05 +0000 [r6734] robert: * From Peter Hrenka, (note from Robert Osfield, renamed GenericPrimitiveFunctor mention below to TemplatePrimitiveFunctor). "Since we desperately needed a means for picking Lines and Points I implemented (hopefully!) proper geometrical tests for the PolytopeIntersector. First of all I implemented a new "GenericPrimiteFunctor" which is basically an extended copy TriangleFunctor which also handles Points, Lines and Quads through suitable overloads of operator(). I would have liked to call it "PrimitiveFunctor" but that name was already used... I used a template method to remove redundancy in the drawElements method overloads. If you know of platforms where this will not work I can change it to the style used in TriangleFunctor. In PolytopeIntersector.cpp I implemented a "PolytopePrimitiveIntersector" which provides the needed overloads for Points, Lines, Triangles and Quads to the GenericPrimitiveFunctor. This is then used in the intersect method of PolytopeIntersector. Implementation summary: - Points: Check distance to all planes - Lines: Check distance of both ends against each plane. If both are outside -> line is out If both are in -> continue checking One is in, one is out -> compute intersection point (candidate) Then check all candidates against all other polytope planes. The remaining candidates are the proper intersection points of the line with the polytope. - Triangles: Perform Line-Checks for all edges of the triangle as above. If there is an proper intersection -> done. In the case where there are more than 2 polytope plane to check against we have to check for the case where the triangle encloses the polytope. In that case the intersection lines of the polytope planes are computed and checked against the triangle. - Quads: handled as two triangles. This is implementation is certainly not the fastest. There are certainly ways and strategies to improve it. I also enabled the code for PolytopeIntersector in osgkeyboardmouse and added keybindings to switch the type of intersector ('p') and the picking coordinate system ('c') on the fly. Since the PolytopeIntersector does not have a canonical ordering for its intersections (as opposed to the LineSegementIntersector) I chaged the implementation to toggle all hit geometries. I tested the functionality with osgkeyboardmouse and several models and it seems to work for polygonal models. Special nodes such as billboards do not work. The next thing on my todo-list is to implement a an improved Intersection-Structure for the PolytopeIntersector. We need to know which primitives where hit (and where). " 2007-05-23 10:57 +0000 [r6733] robert: * Added debug timing code 2007-05-22 15:17 +0000 [r6732] robert: * Added _firstTimeToInitEyePoint = true to the setAutoRotateMode to force the AutoTransform to recompute its position on next frame. 2007-05-22 14:00 +0000 [r6731] robert: * From Roger James, "Here is a small fix for the ac3d plugin geode.cpp. The fix is entirely localised to ac3d::Geode::OutputTriangleStripDARR. It resolves an issue when processing a DrawArrayLengths with multiple lengths where the vertex indices were incorrect for all but the first chunk." 2007-05-22 13:48 +0000 [r6730] robert: * Changed the way the the InputRange is adjusted on the event state to fix bugs related to picking 2007-05-22 09:32 +0000 [r6729] robert: * Added osg::Camera::ProjectionResizePolicy enum and associated methods for controlling how the field of view is adjust on window resizes. 2007-05-21 18:46 +0000 [r6728] robert: * Added extra checks to make sure that graphics operations arn't done on no longer valid graphics contexts 2007-05-21 18:17 +0000 [r6727] robert: * Fixed Viewer::checkWindowStatus() to work correctly when running single threaded 2007-05-21 13:15 +0000 [r6725] robert: * Reverting Luigi's addition of argv[1] as it breaks the build. 2007-05-21 12:34 +0000 [r6722] robert: * Updated readme 2007-05-21 12:30 +0000 [r6716-6718] robert: * From Luigi Calori, changed hardwired "cow.osg" paramter to argv[1] * Converted tabs to 4 spaces * Updated version file for 1.9.5 release 2007-05-21 11:49 +0000 [r6715] robert: * Fixed const method type 2007-05-21 09:27 +0000 [r6714] robert: * Updated version numbers for 1.9.5 release 2007-05-21 09:18 +0000 [r6713] robert: * Updated ChangeLog 2007-05-21 08:01 +0000 [r6712] robert: * From Olaf Flebbe, "FlightGear/OSG on Windows did not load the Texture Fonts. 1) TXF Fonts are binary. 2) Do not rely on the result of istream::readsome if buffer _is_ empty and no data have been read before." 2007-05-21 07:54 +0000 [r6711] robert: * Added static build support to export macros 2007-05-21 06:57 +0000 [r6710] robert: * Added istream:imbue(std::locale::classic()) setting to prevent non classic locals from being used when the .osg plugin reads and writes. 2007-05-20 17:38 +0000 [r6709] robert: * Introduced VERSION and SOVERSION'ing of libraries. 2007-05-20 13:42 +0000 [r6706] robert: * 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. " 2007-05-20 12:29 +0000 [r6705] robert: * Added support for version of the osgPlugins directory, which now gets versioned according to the OpenSceneGraph/CMakeLists.txt and the include/osg/Version settings. These changes mean that the 1.9.5 release will have a libs/osgPlugins-1.9.5 directory. 2007-05-20 11:45 +0000 [r6704] robert: * Added support for SG_USE_FLOAT_MATRIX and OSG_USE_FLOAT_PLANE in CMake build and include/osg/Matrix and include/osg/Plane. 2007-05-20 11:13 +0000 [r6703] robert: * Fixed build error under float matrix build 2007-05-20 09:55 +0000 [r6702] robert: * From Lugi Calori, added control of lib postfix. 2007-05-19 14:00 +0000 [r6701] robert: * 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." 2007-05-19 13:43 +0000 [r6700] robert: * Various additions to better support view dependent overlay node, and updated wrappers 2007-05-19 13:39 +0000 [r6698-6699] robert: * From Rafa Giatan and Robert Osfield, added support for User defined events, by adding UserData to Events. * Made the near far ratio lower to allow one to be near the terrain before clipping comes in to effect 2007-05-19 12:27 +0000 [r6697] robert: * From Michael Hartman, "I have made a small change to the osgviewerMFC application that resolved most of my home computer issues. It seams that my home computer needed to have the pixel format set with PFD_DOUBLEBUFFER. Also, with the cmake ability you are free to remove the MFC_OSG_MDI.vcproj file. " 2007-05-19 12:16 +0000 [r6696] robert: * From Lugi Calori, fix for Win32 build of osgsimpleviewerWX 2007-05-19 07:08 +0000 [r6695] robert: * In Drawable::releaseGLObjects() replaced glDeleteLists with Drawable::deleteDisplayList(..) to prevent inappropriate OpenGL deletion when current thread does have required grpahics contxt 2007-05-18 11:22 +0000 [r6694] robert: * Updated wrappers 2007-05-18 10:33 +0000 [r6693] robert: * Added support for tracking the CoordinateSystemNode path, and passing this on to camera manipulators. 2007-05-18 09:49 +0000 [r6692] robert: * Added range of CameranManipulators to allow us to navigate the scene freely 2007-05-18 09:43 +0000 [r6691] robert: * Added -f/--fixed option to allow use to freeze the animation of the cessna. 2007-05-17 19:58 +0000 [r6690] robert: * Added support for View::setFustionDistance(..) 2007-05-17 15:39 +0000 [r6689] robert: * Improved view dependent camera positioning 2007-05-17 13:20 +0000 [r6688] robert: * Added saving and restoring of the near/far planes during Camera setup 2007-05-17 11:55 +0000 [r6687] robert: * From Serge Lages, "Here is a modified GraphicsWindowWin32.cpp which handle double click events. I've modified the file submitted yesterday by Andre and not the current SVN version." 2007-05-17 11:48 +0000 [r6686] robert: * From David Callu, "I have added the uninstall command at the end of the first file, and the configuration file template use by the command is the second file. The command use the cmake_install.cmake file which list all file installed by the install target. this issue come from the CMake FAQ" 2007-05-17 11:04 +0000 [r6685] robert: * From Michael Hartman, "I have gone in and created a CMakeList.txt file for osgviewerMFC application. Below is the changes made to the included files. The examples CMakeList.txt file was not included but the code change needed for osgviewerMFC inclusion is listed below. CMakeList.txt: This is a little different than other example cmakelist.txt files in that I could not use the setup_example macro. I had to go in and extract out the important parts of the macro and inline them in the CMakeList.txt file so that I could add the WIN32 declaration into the ADD_EXECUTABLE() statement. In the future the setup_example macro might be modified to support osgviewerMFC but this is special case so you might not want to muddy the water for one example. MFC_OSG.h: This file had some small changes: From: #include To: #include Also added two new function declarations Void PreFrameUpdate(void); Void PostFrameUpdate(void); MFC_OSG.cpp: This file changed only in that I am explicitly showing the viewer run loop and added the two new functions in the MFC_OSG.h file. " 2007-05-17 10:59 +0000 [r6684] robert: * From Andre Garneau, warnings fixes fo VC++ 2007-05-17 10:33 +0000 [r6683] robert: * From Andre Garneau,"Please find attached changes to have the GraphicsWindowWin32 class selectively set the pixel format for windows that are inherited, following some discussions on the mailing list last week. This is implemented through a new traits flag (setInheritedWindowPixelFormat) with a default state of false (to avoid breaking existing applications). When set to true, the pixel format of the inherited window will be set according to the traits specifications. " 2007-05-16 19:19 +0000 [r6682] robert: * Futher work on view dependent OverlayNode 2007-05-16 14:22 +0000 [r6681] robert: * Refactored the internals of OverlayNode 2007-05-16 11:32 +0000 [r6680] robert: * Added code for computing the frustum dimensions in local coords to the overlay node 2007-05-15 19:45 +0000 [r6679] robert: * From Mathias Froehlich, "This is an other small update for the ac3d loader: - It avoids attaching texture coordinates if there is not texture attached. - It uses DrawArrayLengths instead of multiple DrawElements." 2007-05-15 19:32 +0000 [r6678] robert: * From Blasius Czink, "when creating windows with decorations (titlebar) the mouse position should be adjusted." 2007-05-15 19:25 +0000 [r6677] robert: * From Laurens Voerman, "Attached is a version of src\osgViewer\GraphicsWindowWin32.cpp that allows to render in software. (maybe also in hardware w/o wglChoosePixelFormatARB)" 2007-05-15 17:04 +0000 [r6675-6676] robert: * Added code to better compute the view frustum that is appropriate for a traversed subgraph. * Changed back to use find Qt3 and Qt4 separately to avoid QT error reports 2007-05-15 14:55 +0000 [r6673-6674] robert: * From John Kelso, Added support for new Sequence options. From Robert Osfield, updated the above changes to the .ive loader so that the new addition were tested against the IVE version number * Added -n/--no-overlay option 2007-05-15 11:31 +0000 [r6672] robert: * From Mathieu Marache, "I tried the latest developper release 1.9.4 and found that I hadn't the osgsimpleviewerQt4 example in my Visual studio solutions... After looking into it it seems that you cannot have both Qt3 and Qt4 enabled. After modifying the root CMakeLists.txt to use : FIND_PACKAGE(Qt) which should ask you to choose betwwen Qt3 and Qt4 if you have both instead of : FIND_PACKAGE(Qt3) FIND_PACKAGE(Qt4) I had the project generated. But then due to the way CMake handles Qt4 I had to modify osgsimpleviewerQt4's CMakeLists.txt to have the binary link with QtOpengl4. " 2007-05-15 11:25 +0000 [r6670-6671] robert: * 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 " * Futher work on new view dependent overlay node 2007-05-14 20:23 +0000 [r6669] robert: * Set up new view dependent overlay technique control methods 2007-05-14 17:01 +0000 [r6668] robert: * Added include of GraphicsWindow to fix wrapper build error 2007-05-14 16:17 +0000 [r6664-6667] robert: * Removed redundent comment '.' * Fixed parameter name * Clean up comments and rebuilt wrappers. Added extra event handlers to osgsimulator example * Replaced TARGET_ADD_LIBRARIES to TARGET_EXTERNAL_LIBRARIES for WxWidgets to avoid debug issues 2007-05-14 15:16 +0000 [r6663] robert: * Renamed ViewerEventHandler to ViewerEventHandlers 2007-05-14 15:07 +0000 [r6662] robert: * Renamed the ScreenHandler to WindowSizeHandler, fixed the code style to be conform more to the rest of the OSG, and moved the osgviewer across to using the event handlers in osgViewer. 2007-05-14 14:41 +0000 [r6661] robert: * From Serge Lages, "Here is a ViewerEventHandler file with a collection of helper handlers for osgViewer. Most of the code is from the osgviewer application, I have took the fullscreen handler and the threading one, and I have just added a fonctionality to be able to change the screen resolution in windowed mode." 2007-05-14 14:36 +0000 [r6660] robert: * Changed tabs to four spaces 2007-05-14 09:43 +0000 [r6657] robert: * Updated authors file 2007-05-14 09:33 +0000 [r6656] robert: * Updated wrappers and version numbers for 1.9.4 dev release 2007-05-13 09:54 +0000 [r6655] robert: * Added TerrainNode::init() and s/getTreatBoundariesToValidDataAsDefaultValue flag. 2007-05-11 20:16 +0000 [r6654] robert: * Added include 2007-05-11 19:28 +0000 [r6652-6653] robert: * Updated wrappers * Added new areThreadsRunning() method to Viewer and CompositeViewer. Added removeView(View*) method to CompositeViewer Added stopping/starting of threads in addView/removeView 2007-05-11 18:25 +0000 [r6651] robert: * Added ValidDataOperator base class and NoDataValue and ValidRange subclasses, and support for it in osgTerrain::Layer and GeometryTechniqnue. 2007-05-11 13:45 +0000 [r6649-6650] robert: * From Uwe Woessner, fixed handling of read/draw buffer in vertical interlaced stereo * UPdated wrappers 2007-05-11 12:46 +0000 [r6648] robert: * Fixed CMake support for osgsimpleviewWX 2007-05-11 12:12 +0000 [r6647] robert: * From Doug McCorkle, removed pfdb from link line 2007-05-11 09:07 +0000 [r6645-6646] robert: * From Gian Lorenzetto, osgsimpleviewWX example, CMake support added by Robert Osfield * Updated wrappers 2007-05-11 08:30 +0000 [r6644] robert: * From Brad Colbert, removed inappropriate rewind on non looping code path. 2007-05-11 08:19 +0000 [r6643] robert: * 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." 2007-05-10 18:07 +0000 [r6641-6642] robert: * Added supoort for transforming layers by an offset and scale * Removed rendundent const 2007-05-10 12:49 +0000 [r6640] robert: * Added automatic detection of alpha values, switching on blending when alpah!=1.0 2007-05-10 12:33 +0000 [r6639] robert: * Added automatic enabling of blending when alpha value != 1.0 occur in the color or transfer function data. 2007-05-10 11:36 +0000 [r6638] robert: * From Daniel Sjolie, build fix for Windows 2007-05-10 10:52 +0000 [r6637] robert: * Added getHWND, getHDC and getWGLContext methods 2007-05-10 08:20 +0000 [r6636] robert: * Added checks against Options to osga plugin to ensure archives are only cached when requested, cleaned up the Registry::openArchiveImplementation function. 2007-05-09 13:05 +0000 [r6635] robert: * Commented out debug messages 2007-05-09 12:08 +0000 [r6634] robert: * Updated wrappers 2007-05-09 11:11 +0000 [r6633] robert: * From John Kelso, "Attached are updates of src/osg/Sequence.spp and include/osg/Sequence. I've taken _sbegin/_send/_ubegin/_uend and _step our of the include file and made them local variables in whatever method might need them. I got rid of the _recalculate method as it was only getting used in one place. I also found a cut/paste bug in setMode's START case." Note from Robert Osfield, Also includes some guards against crashes that was occuring in this new code when handling empty Sequences. 2007-05-09 10:42 +0000 [r6631-6632] robert: * Set default texture size back to 1024x1204 * Added GL_MAX_TEXTURE_SIZE check and use of OSG_MAX_TEXTURE_SIZE env var to help hint to osgText that the native OpenGL implementation only supports textures up to a given size. 2007-05-09 10:31 +0000 [r6630] robert: * Added use of OSG_MAX_TEXTURE_SIZE for clamping texture sizes. 2007-05-09 10:01 +0000 [r6629] robert: * From Mike Weiblen, with mods of using references by Robert Osfield for efficiency. Submission notes from Mike: "By repurpose, I'm creating a new plugin that uses much of the .osg fileformat, but with some changes. Specifically, I'm creating a ".osgfs" plugin, which represents the scenegraph hierarchy as a filesystem of nested subdirectories and individual files for each node, rather than nested braces with everything in a single monolithic file. I intend to incorporate file alteration monitor events to watch the filesystem for modifications and automatically reload. The problem I'm running into is osgDB is too tightly coupled to the .osg format. osgDB::Output::writeObject() contains literal .osg format-specific strings like "{" to represent the Object hierarchy at too low a semantic level. I propose using virtual methods; my plugin can then derive from osgDB::Output and represent Object hiearchy differently. " 2007-05-09 09:43 +0000 [r6628] robert: * From Alan Harris, "Registry and Archive ~~~~~~~~~~~~~~~~~~~~~~~~~ This is a simple change to permit databases other than those named "*.osga" to be used. It is hardcoded in read() at present. It is non-critical and does not affect existing program functionality. Registry and Registry.cpp ~~~~~~~~~~~~~~~~~~~~~~~~~ Added a new typedef: typedef std::vector< std::string> ArchiveExtensionList; a list of extensions: ArchiveExtensionList _archiveExtList; and an "add" method: addArchiveExtension(const std::string ext) This is initialised by adding "osga" in Registry() and used in Registry::read() where the list is searched for the extension used. Archive.cpp ~~~~~~~~~~~ This submission is a little more tentative. openArchive() is modified to automatically add the filename extension to the Registry extension list. " 2007-05-09 09:26 +0000 [r6627] robert: * Added signOrZero template method, and to Matrix_implementation.cpp usage of this method in the get(Quat&) code. 2007-05-09 07:54 +0000 [r6626] robert: * Added imageData block initialized to 0 for first construction of GlyphTexture 2007-05-08 15:32 +0000 [r6625] robert: * Further work on dome correction 2007-05-08 12:18 +0000 [r6624] robert: * Firt cut at full dome correction of wrap around movies and imagery 2007-05-08 10:02 +0000 [r6623] robert: * Added CullSettings inheritance mask for LIGHTING_MODE and LIGHT 2007-05-07 22:07 +0000 [r6622] robert: * Added s/getLightingMode and s/getLight to osg::View to allow control of the viewers global light source. 2007-05-07 19:48 +0000 [r6621] robert: * Added missing HelpHandler::reset() implementation 2007-05-07 07:58 +0000 [r6616] robert: * Updated ChangeLog and AUTHORS.txt for release 2007-05-07 07:51 +0000 [r6615] robert: * Updated version numbers for 1.9.3 release, combined INSTALL.txt and README.txt 2007-05-05 17:05 +0000 [r6613-6614] robert: * Added extra external libs * Added extra libs to COLLADA plugin, but still need to set LD_LIBRARY to libs even though they are static!?#!? 2007-05-05 16:24 +0000 [r6612] robert: * Added preliminary Performer plugin support, note, still missing are a range of Performer database libs that will be required. 2007-05-05 16:11 +0000 [r6611] robert: * Added OpenVRML support 2007-05-05 15:36 +0000 [r6610] robert: * Added CMake support for pnm plugin 2007-05-05 08:22 +0000 [r6609] robert: * Added support for normals plugin 2007-05-05 08:18 +0000 [r6608] robert: * Added ToPortToCmake.txt to record what modules need port to CMake. 2007-05-04 19:17 +0000 [r6607] robert: * Added first cut a Xine support 2007-05-04 14:25 +0000 [r6606] robert: * Added first cut of Cmake COLLADA support 2007-05-04 13:41 +0000 [r6605] robert: * Added COLLADA CMAkeLists.txt, doesn't work yet as we done yet have a FindCOLLADA.cmake but it is a start 2007-05-04 13:20 +0000 [r6604] robert: * Added support for jp2 plugin 2007-05-04 12:06 +0000 [r6602-6603] robert: * Removed margin * 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 2007-05-04 08:48 +0000 [r6601] robert: * From Luigi Calori, Win32 build fix 2007-05-04 08:45 +0000 [r6600] robert: * From Mathias Froehlich, "Attached is a change that does no longer set the render bin details in nodes other than drawables. I guess that this way I am sure to not introduce hierarchical render bins in loaded models." 2007-05-04 08:40 +0000 [r6599] robert: * From David Callu, fixed incorrect array usage. 2007-05-03 16:23 +0000 [r6598] robert: * Added CartizianLocator 2007-05-03 15:21 +0000 [r6597] robert: * Updated wrappers 2007-05-03 14:51 +0000 [r6596] robert: * Added return *this to operator = 2007-05-03 14:47 +0000 [r6595] robert: * Added osgUtil into lib list 2007-05-03 11:11 +0000 [r6594] robert: * Added virtual orientationOpenGL() method into osgTerrain::Locator. 2007-05-03 10:10 +0000 [r6593] robert: * Added OpenThreads to TARGET_COMMON_LIBRARIES 2007-05-03 10:06 +0000 [r6592] robert: * Moved the OpenThreads link locally to each lib 2007-05-03 08:50 +0000 [r6591] robert: * Added support for setting OpenThreads_SOURCE_DIR to help the install of OpenThreads headers 2007-05-02 19:57 +0000 [r6589] robert: * Added OpenThreads wrappers 2007-05-02 18:07 +0000 [r6588] robert: * Added CMake support for local OpenThreads build 2007-05-02 16:36 +0000 [r6586] robert: * Added svn:externals for include/OpenThreads and src/OpenThreads 2007-05-02 13:58 +0000 [r6583] robert: * Introduced new tesslation technique that adjusts the triangulation so that the diagonal goes between the corners with least vertical deviation. 2007-05-01 18:03 +0000 [r6582] robert: * Further perfomrmance optimizations and clean up on new VBO/EBO/PBO API. 2007-05-01 09:29 +0000 [r6581] robert: * Cleaned up the optional code paths in new VBO code 2007-05-01 07:31 +0000 [r6580] robert: * Updated wrappers 2007-05-01 06:40 +0000 [r6579] robert: * Added direct links to the CMake build pages 2007-05-01 06:28 +0000 [r6578] robert: * Moved VBO switching code into inline methods into osg::State to speed performance 2007-04-30 22:12 +0000 [r6577] ewing: * Fixes to resync Xcode project with current tree. flt files are missing. I'm not sure if it was intentionally removed from the project, so I left the everything in place, but removed the target from the build aggregate targets so it doesn't get in the way of the build system. Added back osgTerrain to the project (don't know who deleted those). SDL's aggregate target is also missing. 2007-04-30 15:10 +0000 [r6576] robert: * Added initalization of _startTick to CompositeViewer 2007-04-30 14:49 +0000 [r6575] robert: * From Jeremy Moles, fixed missing intialization of _startTick member variable. 2007-04-30 12:18 +0000 [r6574] robert: * Implementated new dirty buffer mechansim for BufferObjects to make it more efficient 2007-04-30 09:47 +0000 [r6573] robert: * Added TerrainNode::setColorFilter(layerNum,Filter) to allow developers to set what type of texture filter to use, either LINEAER and NEAREST. 2007-04-30 08:37 +0000 [r6570] robert: * Updated ChangeLog and AUTHORS file 2007-04-30 08:31 +0000 [r6569] robert: * Updated version number for 1.9.2 dev release 2007-04-29 20:19 +0000 [r6568] robert: * Updated wrappers 2007-04-29 20:13 +0000 [r6567] robert: * Added temporary code (but comment out) for testing VBO performance 2007-04-29 20:10 +0000 [r6566] robert: * Added a MatrixTransform set up to provide a local origin for better precision. 2007-04-29 08:12 +0000 [r6565] robert: * Further work on new VertexBufferObject/ElementsBufferObject support 2007-04-27 17:03 +0000 [r6564] robert: * Added back in osg::Geometry path 2007-04-27 14:52 +0000 [r6563] robert: * Further work on the new VBO support 2007-04-27 10:29 +0000 [r6562] robert: * From Eric Wing, " Here are more changes for the CMake scripts: - I removed CMAKE_INSTALL_PREFIX in FindOpenThreads as a follow up to the discussion thread. - I introduced an experimental CMAKE_PREFIX_PATH to replace it. - I added CMAKE_PREFIX_PATH, CMAKE_INCLUDE_PATH, and CMAKE_LIBRARY_PATH to the CMake GUI so users can enter values there instead of in the environment. - I added OPENSCENEGRAPH_*_VERSION variables (MAJOR, MINOR, PATCH). These should be kept up-to-date with the real version numbers. Mac bundles like to have version information so users can find out the version they are running through standard About panels and also automated system reporters for troubleshooting/bug tracking. In theory, this information could be used for library versioning. We should do the same for OpenThreads, but I forgot about it. - I added some Mac Info.plist stuff (which uses the version information). " 2007-04-27 09:49 +0000 [r6561] robert: * Fixed tabbing 2007-04-26 16:50 +0000 [r6559-6560] robert: * Added using of VertexBufferObject and ElementsBufferObject classes * Further work VertexBufferObject and ElementsBufferObject classes 2007-04-26 08:26 +0000 [r6558] robert: * Updated wrappers 2007-04-26 08:11 +0000 [r6557] robert: * From Brad Colbert, "Added a new method to ImageStream called getLength that is used to return the length of the stream. Implemented the virtual methods in QuicktimeImageStream, (getLength, getReferenceTime, setTimeMultiplier), to return valid value for each. " 2007-04-26 08:07 +0000 [r6556] robert: * From Eric Wing, Added quicktime CMakeLists.txt 2007-04-25 18:50 +0000 [r6555] robert: * Added VertexBufferObject and ElementBufferObject class interfaces, and wired up osg::Array and osg::DrawElements* to these respectively. Updated wrappers 2007-04-25 15:32 +0000 [r6554] robert: * Added --static and --vbo options to allow the user to toggle on/off dynamic updating of geometry and use of vertex buffer objects. 2007-04-25 10:32 +0000 [r6552-6553] robert: * Updated wrappers * Cleaned up numToTop method 2007-04-25 10:12 +0000 [r6551] robert: * From Martin Aumueller, fixed unused parameter warnings 2007-04-25 09:32 +0000 [r6550] robert: * From Martin Aumueller, " a collegue of mine noticed that on Windows and X11 the modifier state (such as Alt or Ctrl) would be applied one key press too late: e.g. press & hold Alt, press a, release Alt, press a, press a would generate the key sequence a, Alt-a, a instead of Alt-a, a, a. The problem is also present on Carbon. Moving the call to setModKeyMask in front of the call to keyPress fixed it for me on Carbon and X11. I suppose that this will fix the problem for Windows as well." 2007-04-25 09:21 +0000 [r6549] robert: * From Eric Wing, "These enhancements make it much easier to control which libraries get found by FIND_ using environmental variables. The problem with the old script was that CMake searches what it considers system paths first. This makes it difficult to override in the case where you might have a stable version in /usr/local, but are trying to build a bleeding edge release in the non-standard location /bleeding-edge. I went to the CMake mailing list hoping to find a good solution to this. Unfortunately, there isn't one, and I have to do something rather bone-headed in the Find module. Basically, I have to run FIND_ twice: once with default search paths turned off and my environmental variables listed, and again with standard search paths reenabled. At least it works. I also added a few more environmental variables, specifically: OPENTHREADS_INCLUDE_DIR OPENTHREADS_LIBRARY_DIR These two variables address the shortcoming of OPENTHREADS_DIR in the case where the include path and library path don't share a common parent. Put all this together, and you can setup an automated shell script or Microsoft .bat file to configure and build your application in an automated step. You still should be able to use the key CMake variables like CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH to find things, but it will occur after the environmental paths are searched. The reason for this is that the OPENTHREADS_INCLUDE_DIR and OPENTHREADS_LIBRARY_DIR are more specific. This prevents the accidental ordering problem where you might use CMAKE_INCLUDE_PATH to find some other component like GLUT, but didn't want to accidentally include an older version of OpenThreads located in the same area. As the ultimate override, you can still pass -DVAR=value arguments to cmake and it will take these above all else. However, it's safer for people to not use these in case we modify the script and change the variable names. Finally, I'm wondering if we can kill the ${CMAKE_INSTALL_PREFIX} searches in the Find module. As I've said before, this is kind of a hack and the variable wasn't really intended to be used in this way. And I just got bitten by it in some bad corner cases. The problem is that if you don't explicitly set the ${CMAKE_INSTALL_PREFIX}, CMake sets a default value for it (such as /usr/local). The problem is that /usr/local may not be the place you want searched. If you wait to set the ${CMAKE_INSTALL_PREFIX} in the ccmake GUI, then FIND_ is already run once on ${CMAKE_INSTALL_PREFIX=/usr/local. If you were planning to change the value in the GUI, it's too late if you had a stuff in /usr/local because FIND_ already found something and won't change the value when you reconfigure since it is already set. You will have to manually change the value yourself. Furthermore, as another problem example, on the Mac, /Library/Frameworks is supposed to be searched before /usr/local, but ${CMAKE_INSTALL_PREFIX} kept causing stuff in /usr/local to be hit first which took me a really long time to understand how this was happenning. The work around is that I must push the ${CMAKE_INSTALL_PREFIX} search to the very end as not to conflict with anything else. But I think it would be much better if we removed it entirely. And with so many different environmental variables at our disposal, I don't think we need this one: (Checked by CMake automatically:) CMAKE_INCLUDE_PATH CMAKE_SYSTEM_INCLUDE_PATH CMAKE_LIBRARY_PATH CMAKE_SYSTEM_LIBRARY_PATH PATH LIB (Checked by us:) OPENTHREADS_INCLUDE_DIR OPENTHREADS_LIBRARY_DIR OPENTHREADS_DIR OSG_INCLUDE_DIR OSG_LIBRARY_DIR OSG_DIR " 2007-04-25 09:16 +0000 [r6547-6548] robert: * From Eric Wing, "lwo must link to osgFX or undefined symbols ensue." * From Eric Wing, "I made a mistake in my IF() checks for FOO_CONFIG_HAS_BEEN_RUN_BEFORE. I was using ${FOO_CONFIG_HAS_BEEN_RUN_BEFORE} instead of just FOO_HAS_BEEN_RUN_BEFORE. In this case, it happened to work out to still be correct, but in general it shouldn't have the ${}. (I really hate this syntax.)" 2007-04-24 19:08 +0000 [r6545] robert: * From Jeremy Moles, Added check for image transluceny to image loaded code, placing the image quad into the transparent bin for images with alpha values. 2007-04-24 19:03 +0000 [r6544] robert: * From Martin Aumueller, "the new Inventor plugin needs some changes in order to compile against OpenInventor. Just as in the pre-r6419 I used the COIN_BASIC_H define in order to discriminate between the two versions of Inventor. Additionally, I had to change the CMakeLists.txt to use the proper include path. " 2007-04-24 13:12 +0000 [r6542-6543] robert: * From Jan Peciva, "I was working on a new version of Inventor plugin. It was inspired by the need to get correct and high quality conversion, so I verified the plugin on complex models and made number of serious fixes: - the geometry is not two times on the output file (!) - SoVRMLImageTexture: VRML texture support was rewritten according to Inventor programming practices, since it does not worked correctly on many models (Anyway, thanks for Gerrick Bivins to introduce it.) - osg::ref wrong usage related crash fixed - code cleaning and texture code overhaul - LOD fixes - appended README.txt with all the contributors I was able to get from SVN logs" * Added CMake support for lwo plugin. 2007-04-24 12:59 +0000 [r6541] robert: * Added compile path support for XINE, Inventor and LibXML 2007-04-23 20:21 +0000 [r6536] robert: * Updated version to 1.9.1 2007-04-22 21:54 +0000 [r6520-6521] robert: * Updated AUTHORS file for 1.9 developer release * Updated ChangeLog 2007-04-22 21:40 +0000 [r6519] robert: * Added --version-number support 2007-04-22 21:18 +0000 [r6518] robert: * 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." 2007-04-22 20:19 +0000 [r6514] robert: * Unified the setup of version numbers so that they all are based on the version number setup in the include/osg/Version header file. 2007-04-21 12:29 +0000 [r6513] robert: * Added osgSim dependency to txp plugin 2007-04-21 11:24 +0000 [r6512] robert: * Added include directory to get txp plugin building 2007-04-20 16:17 +0000 [r6510-6511] robert: * Added support for sorting the graphics contexts so that the first context/window returned from Viewer::getContexts/getWindows will be the left most window on the lowest screen number. Added ability for StatsHandler and HelpHandler to support end users setting their Camera's graphics context. * Added delay between sequential threading model changes to prevent the system from locking up with 'm' is held down, which previous would cause the threading model to be thrashed. 2007-04-16 19:40 +0000 [r6509] robert: * 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." 2007-04-16 19:34 +0000 [r6508] robert: * Implement basic TerrainGeometry code 2007-04-16 18:33 +0000 [r6507] robert: * Added logo and txp CMakeLists.txt files. The txp build is temporarily commented out while the build is fixed. 2007-04-16 12:21 +0000 [r6504-6506] robert: * Updated wrappers * Cleaned up state management code * Fixed bug associated with complex RenderBin setup. 2007-04-16 06:03 +0000 [r6503] robert: * Bumbped the version number up to 1.9, in preperation for using odd release numbers for development releases, odd versions for stable releases. 2007-04-15 20:53 +0000 [r6502] robert: * Fixed choice of display 2007-04-15 12:09 +0000 [r6501] robert: * Updatged ChangeLog using svn2log, osgversion to handle new SVN based ChangeLog, and updated AUTHORS.txt 2007-04-14 08:31 +0000 [r6500] robert: * Added an #include and extern "C" around X11ErrorHandling to prevent Solaris build errros 2007-04-13 19:28 +0000 [r6498-6499] robert: * Added some debugging * Updated wrappers 2007-04-13 14:54 +0000 [r6496-6497] robert: * Added fullscreen toggle event handler * Added usleep's to avoid X11 errors when doing X11 calls to close to changes in window size or decoration. 2007-04-13 14:23 +0000 [r6495] robert: * Added setWindowRectangle implementation for GraphicsWindowWin32, and place holder for setWindowRectangle implementation for GraphicsWindowCarbon. 2007-04-13 13:28 +0000 [r6494] robert: * Updated wrappers 2007-04-13 13:22 +0000 [r6493] robert: * Added s/getWindowRectangle to GraphicsWindow and implementation in GraphicsWindowX11 2007-04-13 13:19 +0000 [r6492] robert: * Changed hitItr to be a const_iterator. 2007-04-13 10:14 +0000 [r6491] robert: * From Eric Wing, "I added a warning message for Mac users about the Universal Binary problem." 2007-04-12 17:30 +0000 [r6489] robert: * Fixed variable name dereference 2007-04-12 10:14 +0000 [r6487] robert: * Added different cmake version requirements across platforms 2007-04-12 10:06 +0000 [r6486] robert: * From Eric Wing, "Adding back missing search paths in FindOpenThreads.cmake. Also fixed a bug regarding when to set the debug version. It waited until both include and library were set, but it shouldn't wait on include. Also added a fix to the optional warning flags." 2007-04-12 09:59 +0000 [r6484] robert: * Added SETUP_COMMANDLINE_APPLICATION and SETUP_COMMANDLINE_EXAMPLE macros 2007-04-12 09:33 +0000 [r6481-6483] robert: * 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?" * Updated wrappers * From Mike Wittman, fix to CopyOp&. 2007-04-12 09:18 +0000 [r6480] robert: * From Eric Wing, "Minor robustness fix to osgsimpleviewerCocoa." 2007-04-11 17:39 +0000 [r6479] robert: * Prep work on new TerrainGeometry Drawable which supports selective display list/VBO's usage. Updated wrappers 2007-04-11 11:20 +0000 [r6477-6478] robert: * Changed the parameter handling so that it supports left to right inheritance of settings * Added support for multiple colour layers, and fixed handling of elevation and colour layers having different locator 2007-04-11 08:35 +0000 [r6474-6475] robert: * 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. " * Removed tabs 2007-04-10 13:58 +0000 [r6472] robert: * Removed old GNUmakefile.inst files 2007-04-10 13:23 +0000 [r6471] robert: * Updated INSTALL and README to refect new Cmake build 2007-04-10 13:15 +0000 [r6470] robert: * Removed the bin and lib directories as these are now built automatically by CMake. 2007-04-10 13:12 +0000 [r6468-6469] robert: * Removed more of the old VisualStudio build system * Removed old gmake and VisualStudio build files 2007-04-10 12:11 +0000 [r6466] robert: * Updated to refect new incldue/osgViewer/Win32 directory for GraphicsWindowWin32 2007-04-10 11:09 +0000 [r6465] robert: * Updated wrapper to honour move of GraphicsWindow* include/osgViewer/api/ 2007-04-10 11:03 +0000 [r6464] robert: * Create new incliude/osgViewer/api directory to hold platform specific classes such as GraphicsWindow implementations. Moved GraphicsWindowWin32,X11 and Carbon into their api/Win32, api/X11 and api/Carbon directories. 2007-04-06 19:51 +0000 [r6463] robert: * Fixed the handle of triangle fan. 2007-04-06 19:38 +0000 [r6462] robert: * Added extra check to prevent calling frame() when the window has been closed. 2007-04-06 15:36 +0000 [r6460-6461] robert: * From Eric Wing, pedantic warning fixes * Updated wrappers 2007-04-06 15:13 +0000 [r6459] robert: * From Eric Wing, pedantic warning fixes 2007-04-06 14:40 +0000 [r6456-6458] robert: * From Laurens Voerman, "I've added the code to set up quad_stereo properly. I have tested with WinXP / VC8, stereo is working. I also added code to set sampleBuffers and samples. These cannot yet be properly set, tested (windows only ) by changing _numMultiSamples in DisplaySettings::setDefaults() and recompiling." * 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." * From Laurens Voerman, "attached is OpenSceneGraph\src\osgViewer\GraphicsWindowWin32.cpp I've added the code to get the osgViewer working on windows displays with less than 32 bit color. Only tested with 16 bit color." 2007-04-06 14:33 +0000 [r6455] robert: * Add setting of ShadowVolumeGeometry draw mode 2007-04-05 20:27 +0000 [r6454] robert: * Set default ShadeModel back to SMOOTH 2007-04-05 16:12 +0000 [r6453] robert: * Added constructor argument to ShadeModel 2007-04-05 15:04 +0000 [r6452] robert: * Commented out superfluous debug messages 2007-04-05 14:56 +0000 [r6451] robert: * Added better handling of colour layer/elevation layer/transfer function combinations and use of 16bit luminance format for colour layers used as input to transfer functions 2007-04-04 09:07 +0000 [r6450] robert: * Added support for flushing buffer objects 2007-04-04 08:09 +0000 [r6449] robert: * From Paul Martz, added osgViewer headers to VS syntax highlighting. 2007-04-04 08:06 +0000 [r6446-6448] robert: * Removed OpenThreads reference * Updated wrappers * From Mike Wittman, C# build fixes 2007-04-03 19:42 +0000 [r6445] robert: * From Andy Skinner, warning fix for Windows 64-bit build 2007-04-03 19:18 +0000 [r6444] robert: * Added assignment of hieghts texture coords 2007-04-03 15:39 +0000 [r6443] robert: * Preliminary work on TransferFunction support 2007-04-03 11:04 +0000 [r6442] robert: * From Eric Wing, adding message w.r.t debug OpenThreads library for when its not available. 2007-04-02 13:06 +0000 [r6441] robert: * Added setValue method and osg::Image setup to osg::TransferFunction1D, and setup of TransferFunction1D into osgterrain example. 2007-04-01 11:19 +0000 [r6440] robert: * Added support for texture layer. 2007-03-30 15:16 +0000 [r6439] robert: * Added debugging code 2007-03-30 14:57 +0000 [r6437-6438] robert: * Added support for reading values from an ImageLayer, and building of the elevation data in GeometryTechnique. * Added support 16bit intensity formats 2007-03-29 19:42 +0000 [r6435-6436] robert: * 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 * Fixed missing initializer in Options constrctor 2007-03-29 15:41 +0000 [r6434] robert: * Removed the using to avoid VS 7.1 build problem 2007-03-29 14:45 +0000 [r6433] robert: * Added creation of basic geoemtry to test Locator and extents 2007-03-29 12:41 +0000 [r6432] robert: * Updated wrappers 2007-03-29 10:56 +0000 [r6430] robert: * From Eric Wing, added handling of CMAKE_THREAD_LIBS_INIT 2007-03-29 10:13 +0000 [r6428] robert: * Added missing return value 2007-03-29 09:29 +0000 [r6427] robert: * From Eric Wing, "Added the conditionals for SDLMain." 2007-03-28 16:28 +0000 [r6426] robert: * Added support for compute the extents on local NDC coordiantes of the elevation and colour layers 2007-03-28 15:05 +0000 [r6425] robert: * From Mike Wittman, "Here is a change to the .cpp file to fix it by disambiguating the cull invocation." 2007-03-28 14:50 +0000 [r6423-6424] robert: * Removed the Found OpenThreads message * Removed the d during debug build of wrappers on non MSVC platforms 2007-03-28 11:30 +0000 [r6422] robert: * Removed deprecated drawImplementation(State&) method from Drawable and Drawable::DrawCallback 2007-03-28 08:53 +0000 [r6420-6421] robert: * From Martin Amueller, Add libosgGA and libosgText for OSX build * Replaced the X11 Window by Carbon WindowRef in the WindowData structure. 2007-03-28 08:43 +0000 [r6419] robert: * 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 2007-03-28 07:34 +0000 [r6418] robert: * From Luigi Calori, added Find3rdPartyDependencies.cmake 2007-03-27 21:44 +0000 [r6417] robert: * 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" 2007-03-27 19:39 +0000 [r6416] robert: * Updated wrappers 2007-03-27 19:27 +0000 [r6415] robert: * Add computeBound support to TerrainNode and Layer. 2007-03-27 16:05 +0000 [r6414] robert: * Removed the flt plugin from OpenSceneGraph/trunk, this project can now be found in the deprecated directory. 2007-03-27 16:01 +0000 [r6413] robert: * Rearranged the traversal and initialization of TerrainTechnique 2007-03-27 11:23 +0000 [r6410] robert: * Added EllipsoidLocator. 2007-03-27 08:43 +0000 [r6409] robert: * Added #include for non Win32/Mingw build 2007-03-27 08:40 +0000 [r6408] robert: * Added -lgdi32 to CYGWIN path 2007-03-26 19:38 +0000 [r6407] robert: * Fixed header files specification 2007-03-26 19:24 +0000 [r6406] robert: * Added return false; to default implementations of convert functions 2007-03-26 16:32 +0000 [r6405] robert: * Added GeometryTechnique 2007-03-26 16:28 +0000 [r6404] robert: * Removed WindowData parameter from init(). 2007-03-26 15:52 +0000 [r6403] robert: * Added Locator and layer setting to osgterrain example 2007-03-26 13:02 +0000 [r6401-6402] robert: * From Luigi Calori, "when we link against something that comes out from a Find... we ususally have a variable available like OPENTHREADS_LIBRARY, so I' ve set up a macro that uses the variable name expanded for linking, and test if a variable ${LINK_VAR_NAME}_DEBUG like OPENTHREADS_LIBRARY_DEBUG exists and in case uses it for linking in debug mode. I' ve also set up FindOpenThreads to set up these variables. I had to edit the core libraries CMakeLists to add the calls to the macros used. I' ve tested under MSVC" * 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." 2007-03-26 09:48 +0000 [r6400] robert: * Changed the external library specification to use TARGET_EXTERNAL_LIBRARIES 2007-03-25 11:47 +0000 [r6399] robert: * Removed OpenThreads from the list of TARGET_COMMON_LIBRARIES to prevent double linking of OpenThreadsd and OpenThreads during debug build. 2007-03-23 17:37 +0000 [r6398] robert: * From Mike Wittman, "This change fixes a couple bugs in the osgIntrospection protected function support. I missed adding the protected/public specifier on a couple recursive invocations, so those functions are not currently returning protected functions for base classes when they should." 2007-03-23 17:27 +0000 [r6397] robert: * From Mike Wittman, remove redundent const from in front of unsigned int. From Robert Osfield, updated wrappers 2007-03-23 10:11 +0000 [r6396] robert: * Added missing StencilTwoSided header 2007-03-23 08:53 +0000 [r6395] robert: * Added automatic creation of lib bin and lib/osgPlugins 2007-03-22 15:39 +0000 [r6393] robert: * Added osgPlugins as a temporary work around for keeping cmake build compiling plugins 2007-03-22 14:45 +0000 [r6391-6392] robert: * Added CMake build suppport for osgsimpleviewerQT4 * Added CMake QT3, FLTK and osgintrospection example build support. 2007-03-22 14:06 +0000 [r6390] robert: * Added CMake build support for GLUT and SDL examples 2007-03-22 13:38 +0000 [r6388-6389] robert: * From Eric Wing, added ${MATH_LIB} to osg CMakeLists.txt and definition of this to m under unix * Updated the header list 2007-03-22 12:58 +0000 [r6387] robert: * Fixed link name 2007-03-21 17:18 +0000 [r6386] robert: * Added ImageLayer, ArrayLayer and HeightFieldLayer classes 2007-03-21 16:34 +0000 [r6385] robert: * Added GeometryTechinque to osgTerrain. Added usage of GeometryTechnique into osgterrain example Added --width and --height command line options to osgdistortion to allow users to control the window size. 2007-03-21 09:42 +0000 [r6384] robert: * Removed erroneous entry of GNUmakefile 2007-03-20 17:07 +0000 [r6383] robert: * Added osg:: to computeLocalToWorld to fix build under VS7. 2007-03-20 11:19 +0000 [r6382] robert: * From Luigi Calori, clean up CMakeLists.txt 2007-03-20 09:50 +0000 [r6381] robert: * From Philip Lowman, added support for Inventor 2007-03-19 19:05 +0000 [r6380] robert: * From Andreas Goebel, build fix 2007-03-19 17:24 +0000 [r6379] robert: * Moved the TARGET_NAME setting into the OsgMacroUtils.cmake. 2007-03-19 17:18 +0000 [r6378] robert: * Moved the TARGET_NAME setting into the SETUP_APPLICATION/EXAMPLE macro 2007-03-19 14:10 +0000 [r6377] robert: * Added CMake support for txf, osgViewer and osgShadow plugins 2007-03-19 13:26 +0000 [r6376] robert: * Ran dos2unix on CMakeLists.txt files. 2007-03-19 12:30 +0000 [r6375] robert: * From Luigi Calori, move to using local CMakeLists.txt files and explicit file lists. From Robert Osfield, small ammendments of the above to seperate example and application installs, and fix the osgPlugins install directory. 2007-03-19 11:47 +0000 [r6374] robert: * Updated wrappers 2007-03-19 11:35 +0000 [r6373] robert: * From Andreas Goebel, add -lgdi to GNUmakefile 2007-03-19 11:25 +0000 [r6372] robert: * Further work on TerrainNode 2007-03-19 10:54 +0000 [r6371] robert: * Build fixes 2007-03-19 10:38 +0000 [r6370] robert: * Further work on osgterrain example 2007-03-18 11:04 +0000 [r6369] robert: * Removed now redundent method 2007-03-16 14:28 +0000 [r6367-6368] robert: * From David Callu, " bug: Lost the functionality to find the real type pointed by a pointer. Ex: a osg::Node pointer point on a osg::Group, if I look for information on the pointer type, the introspection say it is a "osg::Node*". But if I want information on the pointed type, the introspection must return the "osg::Group". This bug come from the osgIntrospection::Value::Ptr_instance_box::ptype() function. In the original version, this function use the member "Instance_base *inst_" like this : typeof(*static_cast *>(inst_)->_data) But in the new version, this function use the template argument "T": typeof(typename remove_pointer::type) This is a good meta-programming use, but here we need a dynamic request. Moreover the "typeof" macro define in "Reflection" header accept only a type in parameter with the new version. fix: Add the macro "typeofvalue" in "Reflection" header which accept a value or a type in parameter. Restore original code in osgIntrospection::Value::Ptr_instance_box::ptype() function. " * Updated wrappers 2007-03-16 13:22 +0000 [r6366] robert: * Added WindowData structures to GraphicsWindowX11,Win32 and Carbon to help support GraphicsWindow inheriting their window handles from an external toolkit 2007-03-16 10:02 +0000 [r6365] robert: * From Per Fahlberg, "To get the latest OSG to build under IRIX with the MIPSpro compiler I had to add -LANG:libc_in_namespace_std=OFF to DEF in the makedefs file. The modified file is attached." 2007-03-15 13:17 +0000 [r6363] robert: * From Philip Lowman, added gdi32 entry fro Mingw build 2007-03-14 12:59 +0000 [r6362] robert: * Name fixes 2007-03-14 12:43 +0000 [r6360-6361] robert: * Added osgterrain example * Added osgterrain to build 2007-03-14 12:31 +0000 [r6359] robert: * Updated wrappers 2007-03-14 12:00 +0000 [r6358] robert: * Added class shells for osgTerrain::Locator and osgTerrain::Layer classes 2007-03-14 11:24 +0000 [r6357] robert: * Renamed HeightFieldNode and HeightFieldRenderer to TerrainNode and TerrainTechnique respectively 2007-03-14 10:02 +0000 [r6356] robert: * Changed typeid(CullVisitor) check to dynamic_cast 2007-03-13 20:09 +0000 [r6355] robert: * Fixed spacing of message 2007-03-13 20:06 +0000 [r6354] robert: * Added lib64 to search path for OpenThreads 2007-03-13 12:25 +0000 [r6352] robert: * From Mathieu Narache, build fixes for IRIX64 2007-03-13 11:58 +0000 [r6351] robert: * Fixed gif plugin entry so that it uses GIFLIB_ rather than GIF to match it up to the CMakeModels/FindGIFLIB.cmake entry 2007-03-13 08:18 +0000 [r6350] robert: * Checked in missing implementation of cleanSceneGraph. 2007-03-12 21:23 +0000 [r6349] robert: * Changed the lib and executable local build so that they all go in bin and lib respectively. 2007-03-12 21:13 +0000 [r6348] robert: * Added IF(BUILD_OSG_WRAPPERS) arouind osgintrospection example 2007-03-12 12:46 +0000 [r6346] robert: * Fixed install paths of wrappers and plugins 2007-03-12 12:14 +0000 [r6344-6345] robert: * Removed GDAL references * Removed GDAL references 2007-03-12 11:49 +0000 [r6342-6343] robert: * Cleaned up the ordering of the code component compilation * Fixed osgTerrain CMakeLists.txt so it didn't include DataSet or GDAL references 2007-03-12 08:32 +0000 [r6341] robert: * From Luigi Calori, fixes for building wrappers with lib prefix. 2007-03-11 13:23 +0000 [r6339-6340] robert: * Renamed the follow plugins to facilitate CMake build lib3ds -> 3ds ac3d -> ac directx -> x ESRIShape -> shp * Moved introspection build into optional compile section 2007-03-11 13:15 +0000 [r6338] robert: * Changed the output directory for wrappers to osgPlugins and the name to osgwrapper_ to make it consitent with the previous places used for wrappers. Note, the wrappers still compile to libosgwarapper_, this will need fixing. 2007-03-11 11:48 +0000 [r6337] robert: * Added inheritedWindowData member variable to Traits. 2007-03-10 17:29 +0000 [r6336] robert: * From Bob Kuehne, fix for AGL build of osgViewer 2007-03-10 12:27 +0000 [r6335] robert: * Updated wrappers 2007-03-10 11:56 +0000 [r6334] robert: * Correct TransferFunction entry. 2007-03-10 11:53 +0000 [r6333] robert: * Added preliminary work on osg::TransferFunction 2007-03-10 11:38 +0000 [r6331-6332] robert: * Updated wrappers * From Luigi Calori, CMakeLists.txt support for wrappers 2007-03-09 16:25 +0000 [r6330] robert: * From Luigi Calori, "Here are some fix for building plugin net and installing .lib under lib under WIndows + some setting (commented) coming from previous build setup" 2007-03-09 14:54 +0000 [r6328-6329] robert: * From Luigi Calori, improvements to handling of install under Unix * Commenting out Matrix_implementation.cpp entry to avoid it being installed. 2007-03-09 13:47 +0000 [r6327] robert: * 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 2007-03-09 09:08 +0000 [r6324-6325] robert: * Setting of binary/exe path moved to root CMakeLists.txt * Ran dos2unix 2007-03-08 21:19 +0000 [r6323] robert: * From Luigi Calori, fixed build of freetype and zlib. 2007-03-08 15:33 +0000 [r6320-6322] robert: * From Lugi Calori, tweaks to macros and addition of CMAKE_INSTALL_PREFIX to FindOpenThreads * Ran dos2unx of CMakeLists.txt files * From Luigi Calori, added support macro based build of plugins 2007-03-06 12:03 +0000 [r6314-6316] robert: * Added application CMakeLists. * From Luigi Calori, quick hack to make example compile in source. * Changed _pixel_x and _pixel_y to be floats 2007-03-06 11:20 +0000 [r6313] robert: * Added support for 4,7,12,16 bit luminance and intensity formats 2007-03-05 17:46 +0000 [r6312] robert: * Updated wrappers 2007-03-05 17:34 +0000 [r6311] robert: * From Mike Wittman, " noticed that some type references of osg::Drawable::AttributeFunctor, osg::Drawable::ConstAttributeFunctor, and osg::StateAttribute::ModeUsage in osg and osgSim were not being properly reflected in osgIntrospection. This appears to be due to Doxygen not handling nested types from superclasses if they're not qualified when referenced in subclasses. These changes add the necessary superclass type qualification so that Doxygen now recognizes the references." 2007-03-05 13:27 +0000 [r6309] robert: * From Luigi Calori, added marco support 2007-03-05 12:11 +0000 [r6307-6308] robert: * Added missing files * Added missing files 2007-03-04 13:05 +0000 [r6303-6306] robert: * From Eric Wing and others, first cut of CMake build support * From Mike Wittman, updated project to reflect new additions to osgIntrospection * Fixed command line parameter reporting * From Mike Wittman, updates to support new protected method support 2007-03-02 16:14 +0000 [r6301] robert: * Added proper maths for distortion correction of pufferfish dome. 2007-03-01 13:41 +0000 [r6297] robert: * Changed the index value to 0 of the token vector, wheras original the 1 was used, the later causing a crash when only one token was available. Also clean up #if #else #endif block to help make the code more readable and maintainable. This bug and fix was found by Anders Backman, but final implementation done by Robert Osfield. 2007-03-01 12:10 +0000 [r6296] robert: * From David Gurhrie, "Here is the updated txp loader code that we modified before to store some of the material codes in the userdata field. It now takes an option string to enable adding the extra data and doesn't add it by default." 2007-03-01 11:58 +0000 [r6295] robert: * Updated wrappers 2007-03-01 11:54 +0000 [r6294] robert: * From Mike Wittman, added protected function support 2007-03-01 10:43 +0000 [r6293] robert: * From Jean-Sebastien Guay, fix Windows build by adding space in where previous editing had removed it. 2007-03-01 09:19 +0000 [r6292] robert: * Added osgShadow to dependencies of osgdepthshadow example 2007-02-28 12:15 +0000 [r6291] robert: * Ran cleanup to fix tabs 2007-02-28 11:18 +0000 [r6290] robert: * Added support for direction lights to ShadowTexture 2007-02-28 11:12 +0000 [r6289] robert: * From Mihai Radu, Added support for directional lights to ShadowMap 2007-02-28 10:10 +0000 [r6287-6288] robert: * Added mention of LODScale in docs * From Paul Martz, updated the LOD documentation 2007-02-27 21:31 +0000 [r6286] robert: * Added osgTerrain into default build of wrappers 2007-02-27 21:18 +0000 [r6284-6285] robert: * Further clean up for refernces to osgTerrain/DataSet * Removed osgdem as its now part of the VirtualPlanetBuilder project 2007-02-27 21:12 +0000 [r6283] robert: * Moved include/osgTerrain/DataSet/.cpp, gdal plugin and osgdem out into the VirtualPlaneBuilder project. Updated examples to remove DataSet/GDAL dependency. Updated wrappers 2007-02-27 14:09 +0000 [r6282] robert: * Ammend the references to ReentrantMutex and ReadWriteMutex to related to their move to OpenThreads 2007-02-27 13:16 +0000 [r6281] robert: * Moved osgProducer and osgproducerviewer out into their own repository. Clean up the source for remaining references to osgProducer/Producer. 2007-02-27 11:51 +0000 [r6280] robert: * Added --label and --subscript options to allow us to create custom logos 2007-02-26 14:36 +0000 [r6278] robert: * Fixed auto rotate to screen so that it handles scales in to the parental path 2007-02-26 13:01 +0000 [r6277] robert: * Completed changes to osgManipulator to make it more flexible w.r.t viewer usage, and ported osgmanipulator example across of osgViewer 2007-02-26 11:23 +0000 [r6276] robert: * Removed ReentrantMutex 2007-02-25 20:05 +0000 [r6275] robert: * Further work on add serialization support for osgViewer configurations 2007-02-25 19:59 +0000 [r6274] robert: * Added new osgViewer plugin to help with serializing in/out of viewer configurtions 2007-02-24 19:54 +0000 [r6273] robert: * Set propset in .dsp to fix eol to CRLF 2007-02-24 19:51 +0000 [r6272] robert: * Set svn::eol style to CRLF 2007-02-24 09:04 +0000 [r6271] robert: * Added makefile 2007-02-23 21:06 +0000 [r6270] robert: * Used Mike Wittman suggestion from setting CRLF on .dsp files 2007-02-23 16:31 +0000 [r6267] robert: * Moved Block, ReentrantMutex and ReadWriteMutex into OpenThreads. 2007-02-23 12:14 +0000 [r6265] robert: * Updated wrappers 2007-02-23 11:53 +0000 [r6262-6264] robert: * Added bool View::Slave::_useMastersSceneData to help manage HUD's and RTT cameras that are embedded in the Viewer's View * Added new --Viewer and --CompositeViewer for implementation of HUDs * Clean up the handling of views without camera manipulators, and cameras that don't allow camera focus 2007-02-22 16:42 +0000 [r6261] robert: * Implement basic full dome correction with projecto pointing upwards and at center of dome. 2007-02-22 11:17 +0000 [r6260] robert: * Moved distortion mesh creation out into seperate function 2007-02-22 10:56 +0000 [r6259] robert: * Removed the compile objects in init in the SceneView::setDefaults() setup. 2007-02-22 10:31 +0000 [r6258] robert: * Fixed calculation of inverted coordindates 2007-02-22 09:16 +0000 [r6257] robert: * Added STATIC_OBJECT_DETECTION optimizer pass to OpenFlight plugin 2007-02-21 21:20 +0000 [r6256] robert: * 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". 2007-02-21 20:47 +0000 [r6255] robert: * Removed debugging info 2007-02-21 20:38 +0000 [r6254] robert: * Added the default setting of the SceneView's camera onto the RenderStage to allow SceneView to automatically support FBO, PBuffers, image and texture copies and Camera post draw callbacks 2007-02-21 19:41 +0000 [r6252-6253] robert: * Added ability to discount Camera's that arn't appropriate for event focus * Wired up RTT cubemap cameras and simple distortion mesh. 2007-02-21 19:06 +0000 [r6251] robert: * Added Camera::s/getAllowsEventFocus() method to allow osgViewer to have non interfactive cameras such as RTT ones 2007-02-21 15:15 +0000 [r6250] robert: * 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." 2007-02-21 14:17 +0000 [r6249] robert: * Removed debug messages 2007-02-21 13:48 +0000 [r6248] robert: * 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. 2007-02-21 11:46 +0000 [r6247] robert: * Removed GL_TEXTURE_RECTANGLE_NV entries 2007-02-20 21:06 +0000 [r6245] robert: * Further work on dome RTT 2007-02-20 20:56 +0000 [r6244] robert: * Fixed inheritance check for copying clear colour to slave cameras 2007-02-20 16:46 +0000 [r6243] robert: * Added inhertCullSettings before SceneView::cull() calls 2007-02-20 11:44 +0000 [r6242] robert: * Added beginings of full dome correction support, starting with 6 slave camera configuration. 2007-02-20 09:48 +0000 [r6240-6241] robert: * Added missing \ to end osgGA entry * Added osgViewer and osgShadow to the wrapper build directories 2007-02-19 20:57 +0000 [r6239] robert: * Added g/setUpdateVistor method 2007-02-19 16:59 +0000 [r6238] robert: * Added command line arguments descriptions 2007-02-19 16:45 +0000 [r6237] robert: * Added -1, -2 and -3 model creation options to osgshadow example. 2007-02-19 15:42 +0000 [r6236] robert: * Updated wrappers 2007-02-19 15:26 +0000 [r6235] robert: * Added support for ShadowTexture and ShadowMap to osgshadow example 2007-02-19 14:21 +0000 [r6233-6234] robert: * Added option to use osgShadow::ShadowMap technique * Implemented basic ShadowMap technique 2007-02-19 12:13 +0000 [r6232] robert: * Moved CameraCullCallback into ShadowTechnique scope to make it more resusable between various Techniques 2007-02-18 15:24 +0000 [r6231] robert: * Wired up the texgen to complete the first iteration of ShadowTexture effect 2007-02-18 14:21 +0000 [r6230] robert: * From Andre Garneau: * Fix for the aspect ratio not being properly set when screens have different aspect ratios. * Minor fix for makeCurrentImplementation being called directly instead of makeCurrent() causing the owning thread pointer not being tracked * Fix for osglauncher so that it sets its update text regions to DYNAMIC to prevent multi-threading issues. 2007-02-17 17:16 +0000 [r6229] robert: * Added basic set up of the RTT camera. 2007-02-17 14:37 +0000 [r6228] robert: * From Paul Martz, "Add GL_TEXTURE_RECTANGLE to list of acceptable texture modes" 2007-02-16 17:45 +0000 [r6227] robert: * Fixed genwrapper so that it handles .svn directories, updated wrappers 2007-02-16 17:35 +0000 [r6225-6226] robert: * Updated wrappers * Added new osg::ComputeBoundsVisitor 2007-02-16 16:37 +0000 [r6224] robert: * Added pushViewport/popViewport to CullVisitor::apply(Camera&) 2007-02-16 15:29 +0000 [r6223] robert: * Updated wrappers 2007-02-16 15:17 +0000 [r6222] robert: * From Roland Smeenk, "ClipNode contains a method getClipPlaneList that should actually be called setClipPlaneList." 2007-02-16 15:14 +0000 [r6221] robert: * Fixed typo 2007-02-16 13:33 +0000 [r6220] robert: * From Stephan Huber, "I added a bool to GraphicsContext::Traits to indicate wether to use the multithreaded-opengl-engine on os x or not. I set its default to false, perhaps other os x users can test this setting with their data/apps, to see if we can enable it by default. I changed also the borderless-window-type, so expos?works correctly." 2007-02-16 13:17 +0000 [r6219] robert: * Removed debugging readImageFile, and done further work on RTT setup. 2007-02-16 10:20 +0000 [r6216-6217] robert: * Fleshed out a bit more of the ShadowTexture implementation * Added osgShadow::ShadowTexture set up 2007-02-16 06:39 +0000 [r6215] robert: * Added enabling of the stencil buffer when setting up ShadowVolume path 2007-02-16 06:11 +0000 [r6214] robert: * From Eric Wing, updates to XCode projects and introduction of two SDL OSX files to the osgsimpleviewerSDL example 2007-02-16 05:46 +0000 [r6213] robert: * Fixed typo that was breaking the build 2007-02-15 22:28 +0000 [r6212] robert: * 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 2007-02-15 17:31 +0000 [r6211] robert: * Added .osg support for osgShadow NodeKit 2007-02-15 17:25 +0000 [r6210] robert: * Added support for using the scenes light source setting to set up the ShadowVolume's effect light parameters 2007-02-15 15:06 +0000 [r6208-6209] robert: * Addd an #ifdef _WIN32 to force SingleThreaded usage under Windows when no threading model is specified. * 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." 2007-02-15 14:53 +0000 [r6207] robert: * Reorganised the text comments so that they are shorter length, and hopefully will avoid VS2003's silly text string limits when compiling osgIntrospection wrappers 2007-02-15 14:47 +0000 [r6206] robert: * Twaaked comments 2007-02-15 14:04 +0000 [r6205] robert: * From André Garneau, Win32 build fixes 2007-02-15 12:24 +0000 [r6204] robert: * Added context sharing support. 2007-02-15 12:11 +0000 [r6203] robert: * Fixed handling of warp pointer for when its called at startup and the event queue isn't yet initialized the window range. 2007-02-15 10:25 +0000 [r6202] robert: * Removed inappropriate Stats:: prefix 2007-02-15 09:31 +0000 [r6201] robert: * Fixed warnings 2007-02-15 09:17 +0000 [r6200] robert: * Added extra spaces between <> template declarations 2007-02-15 08:29 +0000 [r6198-6199] robert: * Updated wrappers * Removed setFrameStamp 2007-02-15 01:45 +0000 [r6197] robert: * Added checks into Viewer set up of Camera stats so that stats are reused if already present. Added use of ref_ptr into StatsHandler's callbacks 2007-02-15 01:23 +0000 [r6196] robert: * Improved the update of the shadow volume. 2007-02-15 00:53 +0000 [r6195] robert: * Removed extrandous Stats:: prefix 2007-02-14 20:44 +0000 [r6194] robert: * Added support for osg::State::DynamicObjectCount into the RTT codes 2007-02-14 20:14 +0000 [r6193] robert: * Added support for sharing context to GraphicsWindowX11 2007-02-14 17:28 +0000 [r6192] robert: * Added getState()->setGraphicsContext(this); to the various GrpahicsWindow implementations 2007-02-14 16:29 +0000 [r6191] robert: * Renenabled the toggling on the CullPerCameraDrawPerContext threading model in the thread event handler. 2007-02-14 16:24 +0000 [r6190] robert: * Added use of Mutex into osg::Stats to better handle multi-threaded usage 2007-02-14 16:16 +0000 [r6189] robert: * Changed the initialized osg Drager:::PointerInfo::hitIter to prevent compile problems under Windows 2007-02-14 15:25 +0000 [r6188] robert: * From Michael Platings, "I was getting a 0 byte memory leak reported when loading 3ds files, so I've changed line 196 from: viewport->layout.viewL=(Lib3dsView*)calloc(sizeof(Lib3dsView),views); to: viewport->layout.viewL= views ? (Lib3dsView*)calloc(sizeof(Lib3dsView),views) : 0;" 2007-02-14 14:58 +0000 [r6187] robert: * Changed the report of lack of WGL_SWAP_METHOD_ARB so that it is INFO rather than WARN. 2007-02-14 14:53 +0000 [r6186] robert: * From Stephan Huber, "attached you'll find an update for the XCode-project. I added the osgShadow as a framework and osgManipulator as a framework, (and the corresponding examples) I removed (hopefully) all references to osg-/Producer where necessary, and some minor stuff." 2007-02-14 14:36 +0000 [r6185] robert: * Added OSG_RUN_FRAME_COUNT env var which enables a limited run of specified frame numbers when Viewer::run is called. 2007-02-14 13:18 +0000 [r6184] robert: * Introduced new osg::Object::DataVariance type of UNSPECIFIED, and changed the deafult values of DataVariance to UNSPECIFIED to all types. 2007-02-14 12:42 +0000 [r6182-6183] robert: * Set the DataVariance of updating text to DYNAMIC * From Jean-Sebastien Guay, fixed path. 2007-02-14 12:00 +0000 [r6181] robert: * Removed debugging run method. 2007-02-14 11:24 +0000 [r6180] robert: * Added computeDataVariance method into osg::Object and implementations in Drawable and StateSet, and calling of osgUtil::StaticObjectDetectionVisitor in osgViewer::Viewer 2007-02-14 11:21 +0000 [r6179] robert: * From Mike Wittman, added spaces into < > macros 2007-02-13 22:39 +0000 [r6178] robert: * Fixed warning 2007-02-13 22:24 +0000 [r6176-6177] robert: * Fixed warnings * Fixed warning 2007-02-13 22:16 +0000 [r6175] robert: * Fixed warnings. 2007-02-13 20:32 +0000 [r6171] robert: * Added -losgText to example that used osgViewer but didn't previously include -losgText 2007-02-13 17:39 +0000 [r6170] robert: * Changed the DeleteHandler so by default it doesn't cache objects 2007-02-13 16:03 +0000 [r6169] robert: * Added OSG_THREADING environmental variable to osgViewer::Viewer::suggestBestThreadingModel 2007-02-13 15:57 +0000 [r6168] robert: * Reduced the RTT texture size to 256x256 to make setup quicker 2007-02-13 15:24 +0000 [r6167] robert: * From John Shue, "Modified OpenSceneGraph/Make/makedefs to add -pipe gcc command line option to FreeBSD build." 2007-02-13 14:42 +0000 [r6166] robert: * Added support for ColorMask to .ive plugin 2007-02-13 14:19 +0000 [r6165] robert: * From Brede Johansen, "Geometry.cpp Make sure number of normals match number of vertices when lit or vertex-normal pairs are separated when geometries are merged by the optimizer. Ancillary.cpp Improved support for multitexture effect field and use texture environment from .attr file. PaletteRecords.cpp Use search path when looking for shader files. PrimaryRecords.cpp Added preset uniforms "TextureUnit0", "TextureUnit1", "TextureUnit2" and "TextureUnit3" for GLSL shaders." 2007-02-13 13:58 +0000 [r6164] robert: * From Eric Wing, "Here are some updates for osgsimpleviewerCocoa. New features and enhancements: - Shared OpenGL contexts - Multithreaded OpenGL Engine support - Localizable string support - Offscreen rendering (to framebuffer object) for: - Copy/Paste (to image) support - Drag-and-drop (as source image) support - Print to Printer/PDF - Dock minimization picture - More robust initializer handling - Fix to better handle hardware surfaces in NSScrollViews/NSSplitViews - Use of respondsToSelector and instancesRespondToSelector to demonstrate runtime feature checking to provide access to newer features while still compiling on and supporting legacy versions The new file "Localizable.strings" needs to be placed inside the English.lproj directory." 2007-02-13 13:47 +0000 [r6163] robert: * Added support for osg::Stencil into .ive 2007-02-13 12:17 +0000 [r6162] robert: * From Ulrich Hertlein, added support for osg::BlendColor to .ive format. 2007-02-13 12:11 +0000 [r6161] robert: * Added support for osg::BlendColor to .osg plugin 2007-02-13 11:32 +0000 [r6160] robert: * Added setDataVariance(DYNAMIC) to the scores text entires to prevent the DrawThreadPerContext for crashing due to double buffering of dynamic data. 2007-02-13 09:38 +0000 [r6159] robert: * Changed the BlendFunction StateSet to DYNAMIC 2007-02-13 09:33 +0000 [r6158] robert: * From Mike Wittman, support for reference parameters 2007-02-13 09:27 +0000 [r6157] robert: * Added setDataVariance(DYNAMIC) to _inputText to prevent problems when running in DrawThreadPerContext threading model. 2007-02-12 18:02 +0000 [r6155-6156] robert: * Updated wrappers * From Mike Wittman, "Here is the next in the series of changes I'm making to OSG introspection to support the attributes needed for C# bindings. This change adds virtual/pure virtual attributes to MethodInfo and an explicit attribute to ConstructorInfo using the implementation strategy that David Callu recommended a few months back (thanks David!). This change updates both genwrapper and osgIntrospection, and assumes the osgIntrospection reference support that's still pending in your submission queue." 2007-02-12 17:14 +0000 [r6154] robert: * From Mike Wittman, "These changes add support for reflection of reference and const reference type representations via osgIntrospection::Type. This covers just the static type information; the dynamic behavior via Type::createInstance/Type::InvokeMethod should not be affected." 2007-02-12 15:59 +0000 [r6153] robert: * Updated wrappers 2007-02-12 13:51 +0000 [r6152] robert: * Added automatic scaling and translation of help to make sure it always fits on screen 2007-02-12 13:39 +0000 [r6151] robert: * Added osgViewer::HelpHandler 2007-02-11 22:01 +0000 [r6150] robert: * Updated wrappers 2007-02-11 21:24 +0000 [r6149] robert: * Incresed the resolution of the trackball dragger geometry 2007-02-11 21:12 +0000 [r6148] robert: * Changed osgManipulator::Dragger::handle(..) method to use a nested PointerInfo class to encapsulate the pixel coords, SceneView and picking operations in prep for making the code more general purpose, and less reliant on classes like osgUtil::SceneView and osgUtil::IntersectVisitor. 2007-02-11 15:42 +0000 [r6146-6147] robert: * Added osgText to dependency of osgmanipualator example. * Fixed Producer lib entry 2007-02-11 12:23 +0000 [r6144-6145] robert: * Updated wrappers * Changed the osg::Shape related projectors so that they used pointers rather than references. 2007-02-11 10:33 +0000 [r6143] robert: * From Vivek Rajan, new osgManipulator library, with a few minor tweaks and rename for osgDragger to osgManipulator for build by Robert Osfield. Vivek's email to osg-submissions: "I'm happy to release the osgdragger nodekit to the OSG community. I implemented the nodekit for my company, Fugro-Jason Inc., and they have kindly agreed to open source it. The nodekit contains a few draggers but it should be easy to build new draggers on top of it. The design of the nodekit is based on a SIGGRAPH 2002 course - "Design and Implementation of Direct Manipulation in 3D". You can find the course notes at http://www.pauliface.com/Sigg02/index.html. Reading pages 20 - 29 of the course notes should give you a fair understanding of how the nodekit works. The source code also contains an example of how to use the draggers." 2007-02-10 18:01 +0000 [r6142] robert: * From Vivek Rajan, MatrixDecomposition implementaion, adapted by Robert Osfield to be part of osg::Matrixf and osg::Matrixd classes. 2007-02-09 21:31 +0000 [r6141] robert: * Cleaned up osgshadow example so that it now relies upon osgShadow for its shadow implementation 2007-02-09 16:31 +0000 [r6140] robert: * From Carlo Camporesi, "In attach there is a little bug fix to net plugin. The modify allow the plugin to accept url with port number in this way: http://"address ":"portnumber"/ " 2007-02-09 16:27 +0000 [r6139] robert: * Updated wrappers 2007-02-09 16:03 +0000 [r6138] robert: * Moved the basic ShadowVolume code into osgShadow 2007-02-09 14:54 +0000 [r6137] robert: * From Yefei He, " I wrote a class derived from CopyOp that preserves the multi-parent structure of scene graphs. I only considered the case of DEEP_COPY_NODES, but it is sufficient for me. It is not the most elegant way -- I used a map to list all the already cloned nodes with multiple parents, to be looked up whenever such a node is revisited. The good part is, it works." From Robert Osfield, fixed build problems under Linux 64 due to use of int's to store Node* in internal maps used in above custom CopyOp. Added ref_ptr<> usage to main to prevent memory leaks 2007-02-09 14:35 +0000 [r6136] robert: * From Joakim Simmonsson, fixed inconsistent newlines 2007-02-09 14:21 +0000 [r6135] robert: * From Paul Martz, "Make DelaunayTriangulator less verbose - It was outputting a non-warning with notify level set to WARN; changed it to INFO to make it less verbose." 2007-02-09 13:51 +0000 [r6134] robert: * Changed GraphicsWindowX11 so that it creates two Display* connextions to the Xserver, one for the graphics thread, one for the main thread that querries events 2007-02-09 13:36 +0000 [r6133] robert: * Added #if #else #endif blocks to Viewer::realize() and run() for the purposes of testing 2007-02-09 12:08 +0000 [r6132] robert: * Removed debug message 2007-02-08 22:36 +0000 [r6131] robert: * 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." 2007-02-08 22:31 +0000 [r6130] robert: * From Brian Keener, fixes for Cygwin filename handling 2007-02-08 20:30 +0000 [r6129] robert: * 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)." 2007-02-08 20:27 +0000 [r6128] robert: * Updated wrappers 2007-02-08 19:34 +0000 [r6127] robert: * Further work on osgShadow::ShadowTechnique API 2007-02-08 17:23 +0000 [r6126] robert: * Flesh out more of basic ShadowTechnique and ShadowedScene API. 2007-02-08 15:47 +0000 [r6125] robert: * Fixed the FlattenStaticTransform visitor so that it excludes subgraphs that contain PagedLOD nodes 2007-02-08 15:01 +0000 [r6123-6124] robert: * Cleaned up readString * Fixed return in readString. 2007-02-08 12:47 +0000 [r6122] robert: * Added the threading model to stats 2007-02-08 12:24 +0000 [r6119-6121] robert: * Added threading model option to command line parameters * Added check in setThreadingModel so that it only sets up threading if the viewer is realized * Fixed setThreadModel method so that is doesn't try to set up threading unless the viewer is realized 2007-02-08 12:14 +0000 [r6118] robert: * Updated the handling of closing of windows 2007-02-08 11:30 +0000 [r6117] robert: * Added better clean up of paramters on X display in GraphicsWindowX11:closeImplementation 2007-02-08 11:26 +0000 [r6115-6116] robert: * From Stefan Eilemann, addd more extensive XErrorHandler output * Added setting of the DatabasePager's affinity. 2007-02-08 10:46 +0000 [r6114] robert: * From Donn Mielcarek, "We generated some bad ive files in our database. In some of the files, the function readInt() would return a 0 size. While linux will happily continue on, creating 0 sized arrays, Windows immediately blows up, with sparks sometimes flying out the side of the machine! I added a simple check for zero size in each of the functions that allocates arrays based on the size variable, and I thought I'd pass it along. Now the program will not die if it encounters an ive file with bad data." 2007-02-07 21:56 +0000 [r6113] robert: * Updated wrappers 2007-02-07 21:48 +0000 [r6112] robert: * Changed the setting of need to traverse during the update traverse so it is only enabled when animation is switched on. 2007-02-07 21:16 +0000 [r6110] robert: * Disabled the toggling to ThreadModel CullThreadPerCameraDrawThreadPerContext 2007-02-07 16:32 +0000 [r6109] robert: * 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. 2007-02-07 16:27 +0000 [r6108] robert: * Set the DataVariance to DYNAIMC for the StateSet of with the dynamically updating Uniform 2007-02-07 14:53 +0000 [r6107] robert: * Fixed bug in AutoTransform::accept() that was related to the accept() method checking the nodemask as it should. 2007-02-06 20:03 +0000 [r6106] robert: * From Stephan Huber, "thomas kirk schrieb: > I put this at the end of realizeImplementation; someone with better knowledge > of Carbon programming may see a more appropriate place for the call. I moved your code into the ctor of the OSXCarbonWindowingSystemInterface so it get called only once. Can you test it again, if it works on your side? I also disabled multithreaded-rendering because it slowed down the rendering on my machine by a factor of 3. Perhaps we can make it optional to test it on other machines. I had some problems implementing pbuffer-support for os x and stopped it for now until I have more time to investigate the issues. " 2007-02-06 17:34 +0000 [r6105] robert: * From André Garneau, "Attached is an improved Win32 keyboard handler that should now map key events similarly to the X11 implementation: * Key event handler now reports left or right SHIFT, CTRL and ALT key variants on key press and release events." 2007-02-06 17:01 +0000 [r6103-6104] robert: * From Stefan Eileman, fixes for OSX gmake build to allow AGL or X11 implementation of osgViewer * Updated wrappers 2007-02-06 16:23 +0000 [r6102] robert: * Re-enabled processor affinity 2007-02-06 14:38 +0000 [r6101] robert: * Added new Viewer threading model options 2007-02-06 14:20 +0000 [r6099-6100] robert: * Updated wrappers * Clean up getDrawable() method 2007-02-06 13:44 +0000 [r6098] robert: * Fixed Suse9.3 build problem due to different handling Quat copy constuctor 2007-02-06 11:03 +0000 [r6097] robert: * Further work on support for ThreadPerCamera, and improved the efficiency of SingleThraeded 2007-02-05 14:56 +0000 [r6095] robert: * Tweak API and updated wrappers to get wrappers to build 2007-02-05 13:44 +0000 [r6094] robert: * Added Camera's s/getCameraThread() and updated wrappers 2007-02-05 12:13 +0000 [r6093] robert: * Updated wrappers 2007-02-05 11:48 +0000 [r6092] robert: * From Gordon Tomlinson, "I have attached the 3 files we had to change to fix a proble we were seeing with using Symbol Fonts // GT: fix for symbol fonts (i.e. the Webdings font) as the wrong character are being // returned, for symbol fonts in windows (FT_ENCONDING_MS_SYMBOL in freetype) the correct // values are from 0xF000 to 0xF0FF not from 0x000 to 0x00FF (0 to 255) as you would expect. // becuase Microsoft uses a private field for its symbol fonts ........ " 2007-02-05 11:14 +0000 [r6091] robert: * From Brede Johansen, "I have made some changes to support light sources in the new OpenFlight loader." 2007-02-05 10:48 +0000 [r6090] robert: * From Brede Johansen, added OSG_EXPORT to DeleteHandler for windows build 2007-02-05 10:44 +0000 [r6089] robert: * From Paul Martz, "Here's my changes to Registry to allow extension alias mapping via a config file. I also attached a sample file that tests the parsing, but this is just FYI and not for inclusion in CVS. To set up extension aliases using a config file, an app calls: osgDB::Registry::instance()->readPluginAliasConfigurationFile(), passing in the file name as the parameter. (Of course this should be done before loading any files whose names depend on the mapping.) osgDB will search for the file using OSG_FILE_PATH. The file should contain a line for each mapping, with the "map" extension first, followed by a space or tab, then the plugin identifier. For example, a file containing this line: flt OpenFlight would map the ".flt" extension to the OpenFlight plugin." 2007-02-02 22:30 +0000 [r6088] robert: * Convert GraphicsThread/GraphicsOperation to more generic OperationsThread/Operation. This paves the way to running cull traversals in seperate threads. Updated wrappers 2007-02-02 16:51 +0000 [r6087] robert: * From Eric Sokolowski, added support for the new Text line spacing parameter to the .osg and .ive formats. 2007-02-02 12:41 +0000 [r6086] robert: * Added a concrete osg::DeleteHandler implementation which provides support for retain objects for several frames before deleting them. Also added RenderStageCache into CullVistor.cpp that is used for handling RTT osg::Camera's that are being used in double buffered SceneView usage. 2007-02-01 11:07 +0000 [r6084-6085] robert: * Improved the toggling on/off of thrading modes * Moved the init traversal from cull() to the draw() to prevent graphics context calls being made during the cull traversal - something that breaks the ThreadPerCamera model in osgViewer 2007-01-31 22:24 +0000 [r6083] robert: * Further work on new threading model. 2007-01-31 11:12 +0000 [r6082] robert: * Removed old #if #else #end block 2007-01-30 17:38 +0000 [r6081] robert: * Refactored the ViewerRenderingOperation so that the timer querry code is in a separate ViewerQuerySupport class 2007-01-30 17:12 +0000 [r6080] robert: * Added display listing of ShadowVolume 2007-01-30 15:37 +0000 [r6079] robert: * Added automatic aspect ratio adjustmeent to View::setUpViewAcrossAllScreens() and setUpViewOnSingleScreen. 2007-01-30 14:47 +0000 [r6078] robert: * Updated wrappers 2007-01-30 14:32 +0000 [r6077] robert: * From Eric Sokolwsky, "osgText is a useful node kit, but when longer paragraphs are displayed on the screen, it looks more aesthetically pleasing to have a larger gap between lines than is given by default. I added a new parameter, lineSpacing, in the Text class to allow the line spacing to be adjustable by the application. The default value is 0 meaning there is no extra spacing given. The value should be given as a percentage of the character height. A good value for longer paragraphs is 0.25 (25%) or more." 2007-01-30 14:18 +0000 [r6076] robert: * 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." 2007-01-30 13:48 +0000 [r6075] robert: * Added support for compute average stats attributes in inverse space to improve the quality of frame rate reporting. 2007-01-30 12:09 +0000 [r6074] robert: * Disabled the alternating directions of drawing of state sorted render leaves as it was interferring with anaglyphic stereo used in the osgstereimage example. 2007-01-30 11:47 +0000 [r6073] robert: * Updated wrappers 2007-01-30 11:40 +0000 [r6072] robert: * Added Stats::collectStats(string,bool) controls, getAveragedAttribute methods into osg::Stats class, and related support into osgViewer::Viewer and osgViewer::StatsHandler. Added lazy updating of text in StatsHandler HUD to minimize the impact of slow text updating on observed frame rates. 2007-01-30 09:55 +0000 [r6071] robert: * 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. 2007-01-29 22:59 +0000 [r6070] robert: * Made _useMainThreadForRenderingalTraversal(false) 2007-01-29 22:44 +0000 [r6069] robert: * 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 2007-01-28 17:32 +0000 [r6068] robert: * Added very simple relaxing of traits by dividing required red, green, blue, alpha and depth by 2. 2007-01-28 17:12 +0000 [r6066-6067] robert: * Added use of Viewe Realize graphics operation. * Added set/getRealizeOperation() to Viewer and CompositeViewer 2007-01-28 09:53 +0000 [r6065] robert: * Updated wrappers 2007-01-28 09:30 +0000 [r6064] robert: * From Vlad Danciu, fixed leaf depth sort functor 2007-01-28 09:17 +0000 [r6063] robert: * From Mike Wittman, "This file removes the virtual destructor of osgText::String. It seemed wrong that osgText::String should have a vtable since it is treated like a value type, and any subclasses containing additional data would effectively be subject to slicing during standard usage. This stuck out as an anomaly when classifying the OSG types for C# bindings." 2007-01-27 17:57 +0000 [r6062] robert: * Added osg::PolygonMode to local StateSet to protect it from being affected by stateset manipulator. 2007-01-27 17:52 +0000 [r6061] robert: * Updated wrappers 2007-01-27 14:27 +0000 [r6059-6060] robert: * Added access methods to PositionStateContainer * Added light source. 2007-01-27 12:54 +0000 [r6057-6058] robert: * Further work on shadow CullCallback * Added _sorted flag into RenderBin to prevent a bin being sorted twice in one frame 2007-01-27 11:13 +0000 [r6056] robert: * Changed osgUtil::RenderBin and osg::State to allow nesting of StateSet's associated with RenderBin's. 2007-01-26 21:22 +0000 [r6055] robert: * Further work on building the rendering back end from the intial traversal of the scene graph 2007-01-26 16:08 +0000 [r6054] robert: * Added Program pointer to help with uniform apply. 2007-01-26 09:44 +0000 [r6053] robert: * Added custom callback to capture RenderBins 2007-01-25 12:16 +0000 [r6052] robert: * #ifdef'd out the artifical simulation time code 2007-01-25 12:02 +0000 [r6051] robert: * Added osg::FrameStamp::set/getSimulationTime(). Added setting of osg_SimulationTime and osg_DeltaSimulationTime to the uniforms set by SceneView Added frame(double simulationTime) and advance(double simulationTime) parameters to osgViewer::SimpleViewer, Vewer and CompositeViewer. Updated various examples and Nodes to use SimulationTime where appropriate. 2007-01-25 10:02 +0000 [r6050] robert: * From Gordon Tomlinson, fixes to BoundingSphere::expandBy(BoundingSphere&) 2007-01-24 12:59 +0000 [r6049] robert: * Updated wrappers 2007-01-24 12:35 +0000 [r6048] robert: * From Martin Spott, "To enable osgviewer to link on Solaris added -lmtsk as SunOS/SunStudio implements some threading stuff in libmtsk." 2007-01-24 12:28 +0000 [r6047] robert: * Added support for GUIEventAdapter::setHandled 2007-01-24 12:21 +0000 [r6046] robert: * Added setHandled/getHandled to osgGA::GUIEventAdapter 2007-01-24 11:18 +0000 [r6045] robert: * Added ability to generate various cube faces for testing and switch handler to toggle between different models. 2007-01-24 10:02 +0000 [r6044] robert: * From André Garneau, " * Setup proper pixel format for ATI boards (removal of WGL_SWAP_METHOD_ARB specification from the requested pixel format since unsupported by the ATI driver) * Fix to create sample OpenGL window on the proper display device. This is the temporary window used to choose the desired pixel format. In the previous version, this window was always created on the primary display device, even though it had potentially different pixel formats compared to the target display device containing the window to be created. * Implementation of WindowingSystemInterface::setScreenResolution() method * Implementation of WindowingSystemInterface::setScreenRefreshRate() method * Implementation of GraphicsWindow::requestWarpPointer() method * Implementation of GraphicsWindow::useCursor() method and associated trait support. This can be used in two ways; first, when the graphics trait requested indicates that no cursor should be present, a new cursor-less window class is used to create the window. When a cursor-enabled window creation is requested, another window class is used. After creation of a window, it is also possible to toggle the cursor state by using the GraphicsWindow::useCursor method. * The way the mouse behaves is now compatible with the behaviour seen on X11; i.e. when pressing a mouse button, the window where the pointer is located will capture the mouse input and release it only after the button has been released. This results in all mouse movement events being dispatched to the window where the button was pressed initially until it is released. This improves the interaction with graphics windows. * Preparation work has been done to support the ability of moving a window from one screen to another screen and recreating its rendering context when this happens. This has been tested with a mix of NVIDIA and ATI cards and works properly. For the moment being, this feature is commented out due to changes in the core OSG libraries that have been done but need to be submitted later this week for approval by Robert. Upcoming features * Support for moving windows from one screen to another screen seamlessly * Ability to set the window (i.e. the application itself creates the rendering window and passes it to the GraphicsWindowWin32 class) * Other miscellaneous items" --------------------------------------------------- 2007-01-23 17:42 +0000 [r6043] robert: * Added cube test model. 2007-01-23 17:29 +0000 [r6042] robert: * changed build order so that osgText gets built before osgViewer 2007-01-23 16:32 +0000 [r6041] robert: * Fixed tabbing 2007-01-23 16:28 +0000 [r6038-6040] robert: * Updated wrappers * Commented out the default saving of models * Added osg::StateSet* parameter to constructor to make it more convinient to set up the StateSetManipulator and moved the initialization of locally cached states into the handle method to ensure a representative version of the StateSet is captured 2007-01-23 16:02 +0000 [r6037] robert: * Added #define of GL_QUERY_RESULT and GL_QUERY_RESULT_AVAILABLE 2007-01-23 15:51 +0000 [r6036] robert: * Added single screen option 2007-01-23 14:43 +0000 [r6035] robert: * Added command line help 2007-01-23 14:10 +0000 [r6034] robert: * Added delete selected object using delete and back space key, and added save option 2007-01-23 13:54 +0000 [r6033] robert: * Adde osgText dependency to osgViewer 2007-01-23 13:28 +0000 [r6032] robert: * Made stats bars transparent and improved positioning 2007-01-23 13:16 +0000 [r6031] robert: * Made two sided stencil the default 2007-01-23 12:10 +0000 [r6030] robert: * Added stats and range of keyboard mouse handling to osgshadow example 2007-01-23 11:56 +0000 [r6029] robert: * Added ability to customize the keys used to control stats 2007-01-23 11:01 +0000 [r6028] robert: * Moved StatsHandler into its own seperate header/source in osgViewer. 2007-01-23 10:38 +0000 [r6027] robert: * Added ticks to stats display 2007-01-22 21:16 +0000 [r6026] robert: * Further work on GPU stats 2007-01-22 17:39 +0000 [r6025] robert: * Further work on stats 2007-01-22 13:13 +0000 [r6024] robert: * Added camera stats 2007-01-22 11:22 +0000 [r6023] robert: * Improvements to stats 2007-01-22 09:28 +0000 [r6022] robert: * 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." 2007-01-21 20:41 +0000 [r6021] robert: * Further work on stats 2007-01-21 18:46 +0000 [r6020] robert: * Added osgproducerviewer, in the form of orignal Producer based osgviewer, leaving the new osgViewer based osgviewer focused on just osgViewer functionality. 2007-01-21 18:34 +0000 [r6019] robert: * Changed the camera with focus code to only accept cameras with valid views as ones that can recieve focus. 2007-01-21 18:24 +0000 [r6018] robert: * Initial on screen stats support 2007-01-21 11:18 +0000 [r6017] robert: * Removed gl includes 2007-01-20 09:48 +0000 [r6016] robert: * Updated wrappers 2007-01-20 09:44 +0000 [r6015] robert: * Fixed the output of texture files 2007-01-20 09:03 +0000 [r6014] robert: * Added OSG_EXPORT to Stats to fix Windows build 2007-01-19 20:25 +0000 [r6013] robert: * Added stats for update, event and rendering traversals 2007-01-19 19:53 +0000 [r6012] robert: * Added new osg::Stats class for collecting frame stats of different sorts. Added s/getStats() to osg::View and osg::Camera. Added population of View::getStats() with frame stats in osgViewer/Viewer. Added Basic StatsHandler to osgviewer example. 2007-01-19 14:41 +0000 [r6011] robert: * Added EXT_timer_query support 2007-01-18 22:32 +0000 [r6010] robert: * 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. 2007-01-18 17:00 +0000 [r6009] robert: * Added support for stencil GL_INCR_WRAP and GL_DECR_WRAP operations 2007-01-18 09:56 +0000 [r6008] robert: * 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." 2007-01-18 09:03 +0000 [r6007] robert: * Build fix for Win32 2007-01-17 21:11 +0000 [r6006] robert: * Added extra methods WindowSystemInterface for controlling frame rate and resolution, and adde useCursor flag. 2007-01-17 15:59 +0000 [r6005] robert: * 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. 2007-01-17 14:40 +0000 [r6004] robert: * From André Garneau, threading bug fixes - moving scoped statics out of scope to be global statics 2007-01-17 14:21 +0000 [r6003] robert: * From André Garneau, Implementation osg GraphicsWindowWin32 2007-01-16 22:10 +0000 [r6002] robert: * Updaed wrappers 2007-01-16 22:00 +0000 [r6001] robert: * Removed the automatic registration of GraphicsContextImplementation. 2007-01-16 21:40 +0000 [r6000] robert: * Fixed compile warning 2007-01-16 19:18 +0000 [r5999] robert: * Cleaned up CompositeViewer interface and added event traversal of views 2007-01-16 17:10 +0000 [r5997-5998] robert: * Added PickHandler to osgmultiplecameras examples * Added debug messages 2007-01-16 16:02 +0000 [r5995-5996] robert: * Reverted the FlightManipulator usage * Further work on CompositeViewer 2007-01-16 15:05 +0000 [r5994] robert: * Added mouseWarped call into View::requestWarpPointer 2007-01-16 14:15 +0000 [r5992-5993] robert: * Further work on event handling in CompositeViewer * Added extra view combinations too commandline 2007-01-16 08:56 +0000 [r5991] robert: * Work on CompositeViewer and related calsses to implement viewers with multiple views 2007-01-15 16:12 +0000 [r5990] robert: * Updated wrappers 2007-01-15 16:09 +0000 [r5989] robert: * Improved handling of intersection computations on datasets with multiple cameras 2007-01-15 14:46 +0000 [r5988] robert: * Added FramStamp into osgViewer::Viewer and added ability to handle setSceneData during during the application running. 2007-01-15 11:44 +0000 [r5987] robert: * Added terrain manipulator. 2007-01-15 10:11 +0000 [r5986] robert: * From Brede Johansen, "The OpenFlight loader already have a caching mechanism for externals. The cache works for nested externals but is cleared before the master flight file is returned. I implemented texture caching using the same mechanism." 2007-01-15 09:56 +0000 [r5985] robert: * From Paul Martz and Geoff Michel, Paul updated Geoff's bug fixes to DelaunaryTraingulator.cpp to reflect recent tessellator spelling changes 2007-01-15 09:30 +0000 [r5984] robert: * Added setting of the update visitors' traversal number 2007-01-15 09:14 +0000 [r5983] robert: * Reverted the experimental shader code 2007-01-14 20:23 +0000 [r5982] robert: * Added releaseContext to end of GraphicsThread::run() 2007-01-12 22:07 +0000 [r5981] robert: * From Riccardo Corsi, "this should be the final version of the qt-plugin ported to windows and cleaned up to avoid crashes on exit. Stephan and I tested it on Mac and Win. Just a couple of notes: * the plugin is able to load both regular 2D images and movie stream. There is a #define QT_HANDLE_IMAGES_ALSO mechanism to indicate whether to use it for images or not. This is defined by default on Mac only, to avoid conflicts with the standard windows plugins. See comments on QTUtils.h * de-initialization of quicktime before exit is now left to an observer, which calls exitQuicktime() when last media loaded with the plugin is released. This prevent a crash on exit without need of any extra call external to the plugin." 2007-01-12 22:01 +0000 [r5980] robert: * Added explicit to ParticleEffect constructors 2007-01-12 21:44 +0000 [r5979] robert: * From Tom Jolley, "There was some unnecessary creation and deletion of Particle objects in include/osgParticle/ParticleSystem. I replaced Particle(ptemplate? *ptemplate: _def_ptemp) with ptemplate? *ptemplate: _def_ptemp in a couple of places. This should make particle creation and reuse go a little faster without all that memory allocation and copying." 2007-01-12 21:33 +0000 [r5978] robert: * From Stephan Huber, "New features: + Multi-display-support + automatic hiding of the menubar/dock if one of the windows intersects the menubar/dock Bugfixes: + event-handling was done by the first opened window, other windows did not receive events -- fixed + mouse-coordinates were absolute, now they are relative to the window. known bugs: + windows with decoration and in fullscreen-size are moved by the system a little bit, so that the titlebar is accessible/visible. So if you want real fullscreen-windows, don't decorate the window :) I updated the XCode-project-file so all ported examples are linked against osgViewer." 2007-01-12 21:05 +0000 [r5977] robert: * Added Viewer::setEndBarrierPosition method, change Viewer::setKeySetsDone(int) to setKeyEventSetDone(int), added support for toggling threading model and end barrier position into osgviewer 2007-01-12 19:09 +0000 [r5976] robert: * Moved the signalBeginFrame to the start of the rendering traversal. 2007-01-12 15:08 +0000 [r5975] robert: * Added support for animation path manipulator to osgViewer path 2007-01-12 14:45 +0000 [r5974] robert: * Add manually sync of the EventQueue's startTick with the osg::Timer::startTick 2007-01-12 12:10 +0000 [r5973] robert: * Added a default StateSet to osg::View's master Camera. Wired up osgViewer::Viewer so that the master Camera's StateSet is passed to osgUtil::SceneView to use as its global StateSet. 2007-01-12 11:38 +0000 [r5972] robert: * Added osgGA Trackball, Flight and Drive camera manipulators, and StateSetManipulator to the osgViewer path in osgviewer 2007-01-12 10:28 +0000 [r5969-5971] robert: * Implement a GraphicsOperation to test extension availability * Fixed comment * Added osgViewer path into osgviewer, old osgProducer version remains accessible via --osgProducer command line option 2007-01-11 17:15 +0000 [r5968] robert: * Ported osgmotionblurr across to osgViewer 2007-01-11 17:00 +0000 [r5966-5967] robert: * Added setting of DisplaySettings * Added stencil buffer setting 2007-01-11 15:54 +0000 [r5964-5965] robert: * Updated wrappers * Added #include 2007-01-11 15:48 +0000 [r5963] robert: * Removed examples: osgcameragroup osgsimpleviewerProducer osgsimplepager 2007-01-11 15:19 +0000 [r5962] robert: * Ported following examples to osgViewer: osgteapot osgtessellate osgtext osgtexture1D osgtexture2D osgtexture3D osgtexturerectangle osgvertexprogram osgvolume osgwindows osgsimple osgkeyboardmouse 2007-01-11 14:53 +0000 [r5961] robert: * Fixed the setWindowSize so that it sets the input range to 0,0,width,height rather than x,y,x+width,y+height as mouse coordinates move relative to the window, not the screens origin. 2007-01-11 12:06 +0000 [r5960] robert: * Added DisplaySettings support into osgViewer::Viewer 2007-01-11 11:47 +0000 [r5959] robert: * Ported follow examples to osgViewer: osgshape osgsimplifier osgsimulation osgslice osgspacewarp osgspheresegment osgspotlight osgstereoimage 2007-01-11 10:35 +0000 [r5958] robert: * Added support for setThreadSafeRefUnref into TexGenNode 2007-01-11 10:21 +0000 [r5957] robert: * Added setThreadSafeRefUnref, resizeGLObjectBuffers and releaseGLObjects to OverlayNode 2007-01-10 21:05 +0000 [r5956] robert: * Ported following examples to osgViewer: osgshaders osgshaderterrain osgshadow osgshadowtexture 2007-01-10 14:56 +0000 [r5955] robert: * Ported osgconv and osgdem across to osgViewer 2007-01-10 13:52 +0000 [r5954] robert: * Ported following examples to osgViewer: osgparticleeffects osgphotoalbum osgpick osgpoints osgpointsprite osgprecipitation osgprerender osgprerendercubemap osgreflect osgscalarbar osgscribe osgsequence osgplanets 2007-01-10 10:40 +0000 [r5953] robert: * Added support for vertex ratios into LineSegmentIntersector. 2007-01-10 10:09 +0000 [r5952] robert: * Added View::computeIntersection implementation for a node withing a scene graph. 2007-01-09 17:35 +0000 [r5951] robert: * Added View::computeIntersections methods 2007-01-09 14:35 +0000 [r5950] robert: * From Jan Ciger, Tolga Abaci, Bruno Herbelin : OpenVRML 0.14.3 based .wrl/VRML plugin 2007-01-09 11:42 +0000 [r5949] robert: * From Geoff Michel, "New delaunay triangulator attached. I hadn't realised that the erase() method was not erase (first, last) but erase (first, one after the last one you want deleted). This made a big difference; however some of the edges of the terrain were not included as edges in the terrain so I increased the size of the supertriangle, which works but reduces accuracy due to the larger range of coordinates in the supertriangle. (A larger supertriangle forces the triangles using supertriangle vertices to be long and thin, making the triangulation fit the convex hull of the terrain.) The loss of accuracy should not affect 'normal' users with terrains that are roughly square (say up to 100:1 aspect ratio) and where the Z range is comparable to the X-Y range. Retested with Pauls data, amalric's strange polygon constraint and the standard test constraints. I also added 2 tests for routines with a NULL argument passed to them (no-one would usually pass a NULL pointer to these routines unless - as I did in testing- you remove some of the constraints but still pass their pointer to the routine). And I removed 3 tests for triangles which are already removed when generating the geometry. NB Paul - the previous delaunay triangulator fails under VS8 IF it has any constraints as it attempts to use some vertices that have already been deleted when applying the constraints to edges. Under VS6 and less rigorous compilers it works as the deleted vertices are still in the points stl::Vector; however any added vertices would replace one of the supertriangle vertices with non-disastrous but wrong results." Note, merged with latest name changes in CVS. 2007-01-09 10:06 +0000 [r5948] robert: * From Stephan Huber, GraphicsWindowCarbon implementation 2007-01-09 09:16 +0000 [r5946-5947] robert: * Changed osgparticle's osgProducer dependency to osgViewer * Fixed typo 2007-01-08 22:54 +0000 [r5945] robert: * Build fixes 2007-01-08 22:44 +0000 [r5944] robert: * Removed reference to Producer 2007-01-08 22:40 +0000 [r5943] robert: * Removed debug messages 2007-01-08 21:57 +0000 [r5941-5942] robert: * Fixed comment * Added genwrapper.conf to OSG CVS 2007-01-08 21:29 +0000 [r5940] robert: * From Paul Martz, speeling fixes for Tessellator/Tessellation. 2007-01-08 21:19 +0000 [r5939] robert: * Tessellator name changes 2007-01-08 20:46 +0000 [r5938] robert: * Improved resizeGLObjectBuffers support 2007-01-08 20:40 +0000 [r5937] robert: * Improved the handling a releaseGLObjects() and add setThreadSafeRefUnref and resizeGLObjectsBuffers methods 2007-01-08 19:58 +0000 [r5936] robert: * Added releaseContextImplementation method 2007-01-08 19:33 +0000 [r5935] robert: * Updated wrappers 2007-01-08 19:29 +0000 [r5934] robert: * Changed the return types of makeCurrent to bool, and added a bool GraphicsContext::releaseContext method along with implementations in osgViewer. 2007-01-08 16:20 +0000 [r5933] robert: * Added GraphicsContext::ResizedCallback and GraphicsContext::resizedImplementation. Added message on non implementation of GraphicsContext::valid(). Added prelimary GraphicsContext clean up support. 2007-01-08 14:12 +0000 [r5932] robert: * Added Tessellator 2007-01-08 13:28 +0000 [r5931] robert: * Fixed spelling of Tessellator in comment 2007-01-08 12:04 +0000 [r5930] robert: * From Mathias Fröhlich, txf plugin for reading .txf textured texture files. 2007-01-08 11:37 +0000 [r5929] robert: * Updated wrappers 2007-01-08 11:23 +0000 [r5928] robert: * From Paul Martz and Robert Osfield, renamed include/osgUtil/Tesselator and associated classes/references to Tessellator etc. 2007-01-08 10:00 +0000 [r5927] robert: * Ported following examples to osgViewer: osggeodemo osggeometry osghud osgimpostor osgkeyboard osglauncher osglight osglightpoint osglogicop osglogo osgmovie osgmultiplecameras osgmultitexture osgoccluder osgparametric osgparticle 2007-01-07 20:52 +0000 [r5926] robert: * From Stephan Huber, updated Xcode projects for changes to examples ported over to osgViewer 2007-01-07 17:29 +0000 [r5925] robert: * From André Garneau, added export to StatsVisitor 2007-01-07 10:00 +0000 [r5924] robert: * Added setThreadSafeRefUnref to LightSource 2007-01-06 21:35 +0000 [r5923] robert: * Ported osgcopy, osgcubemap, osgdelaunay, osgdepthpartion, osgdistortion, osgfadetext, osgforest and osgfxbrowser to osgViewer 2007-01-06 21:06 +0000 [r5922] robert: * Added View::setUpViewOnSingleScreen(uint) method to help set up view on a single full screen window 2007-01-05 21:23 +0000 [r5921] robert: * Add trackball manipulator usage 2007-01-05 21:19 +0000 [r5920] robert: * Ported osgcluster to osgViewer. 2007-01-05 20:28 +0000 [r5919] robert: * Fixed genwrapper to add include of osg/Camera. 2007-01-05 17:21 +0000 [r5918] robert: * Updated wrappers 2007-01-05 16:48 +0000 [r5916-5917] robert: * Simplified the nameing of updateTraversal etc methods * Cleaned up graphics window setup and added clear graphics window to single window, multiple camera setup. 2007-01-05 16:24 +0000 [r5915] robert: * Ported osgcegui across to osgViewer 2007-01-05 16:19 +0000 [r5914] robert: * Ported osgcallback to osgViewer 2007-01-05 16:13 +0000 [r5913] robert: * Ported osgbluemarble to osgViewer 2007-01-05 16:00 +0000 [r5912] robert: * Ported osgblendequation across to osgViewer 2007-01-05 15:54 +0000 [r5910-5911] robert: * Ported osgbillboard over to osgViewer * Simplified the osganimate and osgautotransform mains, removing most or all of the argument parser code. 2007-01-05 15:32 +0000 [r5908-5909] robert: * Fixed aspect ratio. * Cleaned up the GraphicsWindow setup 2007-01-05 15:24 +0000 [r5907] robert: * 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 2007-01-05 14:57 +0000 [r5905-5906] robert: * Replace osgProducer reference by osgViewer * Moved osgautotransform across to osgViewer 2007-01-05 14:50 +0000 [r5903-5904] robert: * Converted osganimate projects across to osgViewer * Converted osganimate example to osgViewer 2007-01-05 13:16 +0000 [r5901-5902] robert: * Added int return type of Viewer::run(). * Made the custom window set up a runtime option 2007-01-05 13:06 +0000 [r5900] robert: * Tweaked comments 2007-01-05 13:01 +0000 [r5899] robert: * Added a workaround for computing the time of an event. 2007-01-05 12:22 +0000 [r5898] robert: * Removed commented out checkEvents calls 2007-01-05 10:59 +0000 [r5897] robert: * Added Viewer::isRealized() and run() methods to make it easier to set up and run a viewer, taking care of realized() calls if not already done, and assigning trackball manipulator if not already assigned. 2007-01-05 09:55 +0000 [r5896] robert: * Removed inappropriate comment about normal orientation. 2007-01-04 21:58 +0000 [r5895] robert: * Changed compile paths into runtime selected paths using command line parameters 2007-01-04 21:51 +0000 [r5893-5894] robert: * Removed now redundent calls to set up view * Moved the set of GraphicsContext RenderingOperations into Viewer. 2007-01-04 21:35 +0000 [r5892] robert: * In Viewer::realize() added default fallback of calling setUpViewAcrossAllScreens() when no windows have previously been set up. 2007-01-04 21:28 +0000 [r5891] robert: * Added Viewer::setKeySetsDone(int) to allow developers to specify which key should set done and cause the main loop to exit. 2007-01-04 21:18 +0000 [r5889-5890] robert: * Removed the setting of thread safe ref/unref and max number of graphics contexts as this is now done automatically by osgViewer::Viewer * Changed debug messages to INFO 2007-01-04 21:14 +0000 [r5888] robert: * Changed the ReadWriteMutex to use standard OpenThreads::Mutex to fix crashes in osgcatch. 2007-01-04 20:50 +0000 [r5886-5887] robert: * Added mutex to lock of ReentrantMutex * Fixed compile warning 2007-01-04 16:49 +0000 [r5884-5885] robert: * Made Refernced::setThreadSafeReferenceCounting(bool) a virtual then overrode this in various scene graph classes to ensure that the scene graph gets updated as well as the objects that the initialial call is made from. * Fixed warnings 2007-01-04 14:34 +0000 [r5883] robert: * Added glXDestryContext to help clean up OpenGL. 2007-01-04 14:11 +0000 [r5882] robert: * 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. 2007-01-04 11:49 +0000 [r5881] robert: * Added support for starting and stopping osgViewer::Viewer threading and automatic handling of windows being closed. 2007-01-03 23:00 +0000 [r5880] robert: * Added catch of window close 2007-01-03 19:11 +0000 [r5879] robert: * From Paul Martz, added export to fix Windows build 2007-01-03 17:26 +0000 [r5877-5878] robert: * Added setting of default backgroud colour of View's master colour to be consistent with the previous default colour used by SceneView * Removed setting of master camera colour 2007-01-03 16:32 +0000 [r5875] robert: * Changed the View's master camera projection matrix setting so that it is consistent with osgProducer::Viewer default setting. 2007-01-03 16:06 +0000 [r5874] robert: * Improved the robustness of thread start and cancellation 2007-01-02 20:26 +0000 [r5873] robert: * Fixed the COPY_OP( Array, DEEP_COPY_ARRAYS); entry. 2007-01-02 17:39 +0000 [r5872] robert: * Added support for different threading models in osgViewer::Viewer 2007-01-02 13:02 +0000 [r5871] robert: * 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. 2007-01-02 12:50 +0000 [r5870] robert: * Added support for getting all windows and hiding the cursor 2007-01-02 12:19 +0000 [r5869] robert: * Switched off lighting in osgcatch. 2007-01-02 12:03 +0000 [r5868] robert: * Changed default multi-screen setup to set up for a flat wall configuration 2007-01-02 10:31 +0000 [r5867] robert: * Fixed version function names and comment strings 2007-01-02 10:11 +0000 [r5866] robert: * Added missing init() implementation 2007-01-02 09:54 +0000 [r5865] robert: * Fixed path to osgViewer wrapper 2007-01-01 20:01 +0000 [r5864] robert: * Added mouseWarped update 2007-01-01 18:20 +0000 [r5863] robert: * Various work on osgViewer library, including warp point and graphics window resize support 2006-12-28 08:21 +0000 [r5862] robert: * Removed GraphicsWindowProxy 2006-12-28 08:16 +0000 [r5861] robert: * Removed osgViewer::GraphicsWindowProxy as its was causing wrapper compile problems and also no longer has a key role in osgViewer. 2006-12-27 23:32 +0000 [r5860] robert: * Updated wrappers 2006-12-27 23:19 +0000 [r5858-5859] robert: * Updated wrappers * Tweaks from using a ReadWriteMutex& to a ReadWriteMutex* parameter to avoid problems with osgIntrospection generation. 2006-12-27 20:23 +0000 [r5857] robert: * Improved handling of window input ranges for single window apps 2006-12-27 16:44 +0000 [r5856] robert: * Removed old hack to disable multi-threaded cameras when particle systems are present, this is no longer required as osgParticle has now been made thread safe. 2006-12-27 16:40 +0000 [r5855] robert: * Added an osgDB::ReadWriteMutex to help manage the ability to have serialize write to objects but allow multiple threads to read at once in a read only way. 2006-12-27 15:15 +0000 [r5854] robert: * Updated to reflect changes to osgGA::EventQueue. 2006-12-27 15:05 +0000 [r5852-5853] robert: * Replaced the osgProducer dependencies by osgViewer for osgcatch and osghangglide examples * Added GraphicsWindowWin32 and GraphicsWindowCocoa classes, curently not implmented, but added as a placeholder for members of the community to step forward and implement. 2006-12-26 20:26 +0000 [r5851] robert: * Ported osghangglider example to usg osgViewer 2006-12-26 17:38 +0000 [r5847-5850] robert: * Various tweaks to keep in sync with new changes to osg::Timer and osgGA::EventQueue * Added new adapter methods to EventQueue to allow the time value of the event to be specified. * Aded new convinience methods to osg::Timer - s/getStartTick and time_s(), time_m() etc to help get time reletive the new start tick. * Ported osgcatch to use osgViewer 2006-12-24 16:40 +0000 [r5846] robert: * Unified the osg::GraphicsThread::Operation and osg::GraphicsContext::Operation classes as osg::GraphicsOperation. Unpdated parts of OSG depending upon these. Added a virtaul bool valid() method to osg::GraphicsContext to allow apps to test whether a valid graphis context has been created or not. 2006-12-22 21:53 +0000 [r5844-5845] robert: * Added support for sample and sampleBuffers to osg::GraphicsContext::Traits and cleaned up the Traits naming * Added mutexes to ParticleProcessor and ParticleSystemUpdater to improve the thread safety of osgParticle 2006-12-22 17:46 +0000 [r5843] robert: * Implemented perliminary multi-threading support in osgViewer::Viewer 2006-12-22 16:49 +0000 [r5841-5842] robert: * Replaced osgProducer dependency by osgViewer * Removed now redundent OSG_EXPORT to solve build problems under Windows 2006-12-22 08:42 +0000 [r5840] robert: * Removed Vec3.cpp and UnitTestFramework.cpp as these files now live in examples/osgunittests 2006-12-21 17:23 +0000 [r5839] robert: * Added basic support for DatabasePager into osgViewer::Viewer 2006-12-21 16:56 +0000 [r5838] robert: * Moved rendering support into GraphisContext, osgViewer::Viewer/View, and added frame stamp updating and update traversal to osgViewer::Scene/Viewer. Updated osgcamera example to use new Viewer API calls instead of using local rendering calls. 2006-12-21 12:24 +0000 [r5837] robert: * Cleaned up the includes in the GraphicsWindowX11 header 2006-12-21 12:19 +0000 [r5836] robert: * Moved the implementation of GraphicsWindowX11 from the head into the src/osgViewer directory. 2006-12-21 11:20 +0000 [r5835] robert: * Improved the handling of moving the mouse pointer across screens, and add grab focus support that honours where the mouse pointer was originally. 2006-12-21 09:01 +0000 [r5834] robert: * Removed erroneous double GraphicsContext:: 2006-12-21 08:54 +0000 [r5833] robert: * Fixed path 2006-12-20 21:13 +0000 [r5832] robert: * Further work osgViewer::Viewer and related classes. 2006-12-19 17:40 +0000 [r5831] robert: * From Roger James, "Here is the version of daeWMaterials.cpp with fixes for case insensitive path names on Windows. Nobody has complained to me about them since I posted them on the users list last week." 2006-12-19 17:30 +0000 [r5830] robert: * From Mathias Fröhlich, "I have a small update to the 'non convex polygon detection' in the ac3d loader that is used to tell if tesselation is required or if we will better leave a polygon as is. It is still not perfect but catches some more cases." 2006-12-19 17:16 +0000 [r5829] robert: * From Paul Martz, "minor code comment cleaup/rewording" 2006-12-19 17:06 +0000 [r5828] robert: * Moved UnitTestFramework from core osg lib into osgunittests example 2006-12-19 16:47 +0000 [r5825-5827] robert: * Updated wrappers * Added Copyright notice * Added support for traversal mask into ElevationSlice, HeightAboveTerrain and LineOfSight classes 2006-12-19 16:12 +0000 [r5824] robert: * Added osgViewer::Viewer / osgViewer::GraphicsWindowsX11 usage. 2006-12-19 16:00 +0000 [r5823] robert: * Added initial GraphicsWindowX11 implementation, and fleshed out more of the osgViewer and osg::GraphicsContext/osg::View infrastructure. 2006-12-17 20:49 +0000 [r5822] robert: * Added support WindowingSystemInterface for querring the number of screens, the screen size and creating GraphicsContexts. 2006-12-15 17:27 +0000 [r5821] robert: * Added ViewPoint support into NodeVistor/CullStack/CullVisitor/LOD/PagedLOD etc to facilate management of LOD settings for RTT cameras. 2006-12-14 21:15 +0000 [r5820] robert: * From Brede Johansen, "New option "cloneExternalReferences" for OpenFlight plugin" 2006-12-14 16:13 +0000 [r5819] robert: * 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); " 2006-12-14 14:44 +0000 [r5818] robert: * From Andy Skinnder, warning fix 2006-12-13 21:15 +0000 [r5817] robert: * Removed debug output files 2006-12-13 17:39 +0000 [r5816] robert: * Commented out debug messages 2006-12-13 16:41 +0000 [r5815] robert: * Further improvements to handling of multiple z values 2006-12-12 21:48 +0000 [r5814] robert: * Improvements to handling of multiple z value regions 2006-12-07 22:20 +0000 [r5813] robert: * Improved the filtering of overlapping and vertical line segments 2006-12-07 15:48 +0000 [r5812] robert: * Fixed copyright notice 2006-12-07 10:16 +0000 [r5811] robert: * From Luigi Calori, "In order to effectively use --image-ext and to add -O "plugin options", some fix to osgdem.cpp and osgTerrain/DataSet.cpp These mods should allow to build terrains controlling jpeg compressed imagery embedded in ive files, using something like: osgdemd --image-ext jpeg --RGB_24 -O "JPEG_QUALITY 20 compressImageData" ......." 2006-12-07 10:09 +0000 [r5810] robert: * From Geoff Michel, "I was getting triangulations with the previous delaunay triangulator, but it seems I may have been picking up the wrong coordinates or an old version of my test file (that version is OK when no coordinates lie outside the 'terrain' zone). This version is much stricter about memory handling and insertion of extra points." 2006-12-06 21:39 +0000 [r5809] robert: * From Gerrick Bivins, fixed newly introduced texture setup bug. 2006-12-06 21:29 +0000 [r5808] robert: * Improved the handling of overlapping line segments. 2006-12-06 15:18 +0000 [r5807] robert: * From Riccardo Corsi, add VS6.0 project file for new quicktime windows port 2006-12-06 14:17 +0000 [r5806] robert: * From Rick Pingry, "n my application I am walking through the scene graph looking for nodes of a specific name. I noticed there were times when some of the nodes were not named what I had expected. Upon reviewing the code, I noticed this was happening when there was a forward reference to a parented object. The existing code uses a map with object ID's. The original code only applied the name to a node for a new ID only if the node did not already exist in the map. The problem was that there was another part of the code (when a parent was forward declared) that also created the node with the ID in the map, but it did not know its name. I simply made sure that the name was set regardless of whether or not the node was already in the map. " 2006-12-05 22:10 +0000 [r5805] robert: * Updated wrappers 2006-12-05 20:30 +0000 [r5804] robert: * Checked in remaining element from Brede Johansen changes for clmapToEdge reader option. 2006-12-05 17:30 +0000 [r5803] robert: * From Stephan Huber, "minor bugfixes for the quicktime-plugin" 2006-12-05 17:27 +0000 [r5802] robert: * From Gerrick Bivins, "Changes: --merged with fixes for texture coordinates(is this in CVS/SVN already)? --changed above mentioned fix output level from osg::NOTIFY to osg::DEBUG_INFO --added support for VRML97 ImageTextures. --changed pointers to ref_pointers where possible. --added format (method separated by "//////") for easier reading." 2006-12-05 17:10 +0000 [r5801] robert: * From Roger James,"I have had another go at the windows specific file name handling in daeWMaterials.cpp. I think I have arrived at a temporary compromise. I have decided to just normalise the drive letter part of file names for the time being and also ensure that names of the format x:/xxxxx are treated as absolute paths. This will cover a lot of cases. I have raised a bug against collada which hopefully should resolve some others. However there are some pathological cases which I have commented on in the code, these will probably never work properly unless there is a significant rewrite of the daeURI functionality. Hopefully they are rare." 2006-12-05 16:45 +0000 [r5800] robert: * From Rein Kadijk, "While displaying a certain scene, OsgEdit crashed in ProxyNode::traverse() in file OSG_OP_OT-1.2\OpenSceneGraph\src\osg\proxynode.cpp. It turned out that nv.getDatabaseRequestHandler() returned NULL; using this pointer to call one of DatabaseRequestHandler's methods is of course illegal. I patched it by adding: if (nv.getDatabaseRequestHandler())" From Robert Osfield, reordered the addition of the nv.getDatabaseRequestHandler() check to allow the default traverse() to be called when no database handling is attached to the visitor. 2006-12-05 16:29 +0000 [r5799] robert: * From Stephan Huber and Riccardo Corsi, port of QuickTime plugin to Windows 2006-12-05 15:41 +0000 [r5798] robert: * Added use of typedef to help clean up the readability a little and replaced a copy list with a reference. 2006-12-05 15:31 +0000 [r5797] robert: * From Sylvain Marie, "changed raw pointers to smart pointers in the dxfBlock, dxfTables and dxfSection classes, so their members data are correctly deleted. - changed some methods signatures to pass arguments by reference instead of by value. The performance and memory usage are enhanced (the reader was clogging the heap when reading some large DXF files) The updated files have been compiled and tested with a variety of DXF files on XP with VS2003, but the changes should not disturb any other compiler." 2006-12-05 14:58 +0000 [r5796] robert: * From Chris McGlone, "PlygonZ copy constructor: added allocation and copying of zarray" 2006-12-05 14:50 +0000 [r5795] robert: * From Bryan Thrall, "Currently, the DatabasePager always loads requested Nodes using the default Registry Options object, but it would be useful to be able to request loading with a different Options object. The attached files allow you to do that (based off the OSG 1.2 source). For example, I'm implementing a loader that requires context information when it pages in subgraphs, which becomes significantly complicated when multiple scenegraphs are requesting subgraph loads with different contexts (the loader needs to know which context to use, and the Registry Options needs to be carefully managed so the context settings don't clobber each other, especially in multithreaded situations). Being able to pass an Options instance along with the Node request resolves this problem." 2006-12-05 14:28 +0000 [r5794] robert: * From Brede Johansen, "added a new reader option to replace the texture wrap mode CLAMP with CLAMP_TO_EDGE." 2006-12-05 13:06 +0000 [r5793] robert: * Updated wrappers 2006-12-05 12:58 +0000 [r5792] robert: * Added more accurate computation of local height above sea level in the plane intersections routines 2006-12-04 17:31 +0000 [r5791] robert: * Improved the calculation of distance around the globe within the ElevationSlice routine. 2006-12-04 12:36 +0000 [r5790] robert: * Added preliminary support for generating distance, height lists for ElevationSlice. 2006-12-03 12:52 +0000 [r5789] robert: * Cleaned up debugging info. 2006-12-03 11:44 +0000 [r5788] robert: * Added copying of plane to surface intersections in the osgUtil::PlaneIntersector class, and update wrappers. 2006-12-03 11:09 +0000 [r5787] robert: * Added osgSim to osgintersection dependency list. 2006-12-01 15:19 +0000 [r5786] robert: * Added support for placing a base in the scene to shadow against 2006-11-30 18:42 +0000 [r5785] robert: * Fixed typo and updated wrappers 2006-11-30 18:33 +0000 [r5784] robert: * Improved the edge normal computation 2006-11-30 16:55 +0000 [r5783] robert: * Checked in new .plists' 2006-11-30 16:30 +0000 [r5782] robert: * Basic shadow volume alogirthm implemented in example. 2006-11-30 12:05 +0000 [r5780-5781] robert: * Added dynamic updating of light position and multi-pass addition of ambient and diffuse lighting * Fixed shadow volume geometry handling of direcitonal lights 2006-11-30 10:29 +0000 [r5779] robert: * Added movement of the light source to test performance of update the shadow volumes 2006-11-29 22:00 +0000 [r5778] robert: * Added handling of loops 2006-11-29 21:43 +0000 [r5777] robert: * Added plane to triangle intersections and segment combining, work still not complete though. 2006-11-29 20:10 +0000 [r5776] robert: * From Per Fahlberg, added support for writing 16-bit rgb images 2006-11-29 14:33 +0000 [r5775] robert: * Updated wrappers 2006-11-29 14:21 +0000 [r5774] robert: * Further work on PlaneIntersector 2006-11-29 11:00 +0000 [r5773] robert: * Added dummy virtual method implementations 2006-11-29 10:51 +0000 [r5772] robert: * Cleaned up inheritance 2006-11-29 09:18 +0000 [r5771] robert: * Ran unix2dos to get rid of unix line ending 2006-11-28 20:45 +0000 [r5770] robert: * Still required for backwards compatibility 2006-11-28 20:37 +0000 [r5768-5769] robert: * Updated wrappers * Fixed build errors in osgViewer 2006-11-28 19:25 +0000 [r5767] robert: * From Zach Deedler, added missing IntersectionVisitor 2006-11-28 16:50 +0000 [r5765-5766] robert: * Removed redundent wrapper * Updated wrappers 2006-11-28 16:30 +0000 [r5764] robert: * Moved osgUtil::PolytopeIntersector, osgUtil::PlaneIntersector and osgUtil::LineSegmentIntersector out from include/osgUtil/IntersecionVisitor into their own seperate files. 2006-11-28 16:00 +0000 [r5763] robert: * Added support for float or double osg::Plane, and the default osg::Plane to double. Performance tests on big models did not indicate any performance penalty in using doubles over floats, so the move to doubles should mainly impact precision improvements for whole earth databases. Also made improvements to osgUtil::PlaneIntersector and osgSim::ElevationSlice classes 2006-11-28 11:10 +0000 [r5762] robert: * Fixed fade text memory consumption bug which was due to new RenderInfo being created local to RenderStage and passed on to rendering code which populated the RenderInfo UserData, but without the restoring the new UserData to the main RenderInfo. The local RenderInfo UserData is now passed back to the main RenderInfo. 2006-11-28 10:31 +0000 [r5761] robert: * Removed the now redundent dateUtils.h file. 2006-11-28 09:14 +0000 [r5760] robert: * Added missing Camera.h and removed redundent CameraNode.h 2006-11-27 20:25 +0000 [r5759] robert: * Added beginnings of osgUtil::PlaneIntersector and osgSim::ElevationSlice 2006-11-27 16:25 +0000 [r5758] robert: * Added QWidget style constructor parameters 2006-11-27 14:52 +0000 [r5757] robert: * Renamed osg::CameraNode to osg::Camera, cleaned up osg::View. Added beginnings of new osgViewer::Scene,View,Viewer,CompositeViewer and GraphicsWindowProxy files. 2006-11-27 11:25 +0000 [r5756] robert: * From Mauricio Hofmam, added support for reading images from all osg::CameraNode attachments in RenderStage. 2006-11-27 09:23 +0000 [r5755] robert: * From André Garneau, "The file submitted includes a fix to properly support DDS textures compressed under the DXT-1 format when they contain alpha information. Under this mode, each 4x4 texel block can selectively use an alpha component or none. When alpha-enabled blocks are present, this is not reported in the DDPF_ALPHAPIXELS bit in the pixel format flags causing the reader-writer to report the file as a 3-components file (GL_COMPRESSED_RGB_S3TC_DXT1_EXT). The fix requires looking at each 4x4 texel block to detect the presence of 1-bit alpha encoding. When such a block is found, the internal & pixel formats are reported as GL_COMPRESSED_RGBA_S3TC_DXT1_EXT instead. See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/Opaque_and_1_Bit_Alpha_Textures.asp for more information." 2006-11-26 22:27 +0000 [r5754] robert: * Removed check from objectDeleted(void*) method as this was not catching cases where the registered ptr was different from the deleted ptr - something that can happen with multiple inheritance. 2006-11-26 14:17 +0000 [r5753] robert: * Missed check of changes to the RemoveRedundentNodesVisitor 2006-11-24 21:19 +0000 [r5752] robert: * Added extra checks to RemoveRedendentVisitor to catch Groups that may only have one child, but also have StateSet's etc and thefore not suitable for removal. 2006-11-24 21:10 +0000 [r5751] robert: * Added isIdentity() method 2006-11-24 17:20 +0000 [r5750] robert: * Improved handling of bounding polytope 2006-11-24 11:37 +0000 [r5749] robert: * Added support for positional lights into computeShadowVolumeGeometry code and cleaned up OccluderGeometry interface. 2006-11-23 21:32 +0000 [r5748] robert: * Improved the ShadowVolumeGeometry orientations. 2006-11-23 17:29 +0000 [r5747] robert: * Add compute of tight bounding box to enable better placement of the base plane. 2006-11-23 16:55 +0000 [r5746] robert: * First cut at generating the ShadowVolumeGeometry 2006-11-23 11:22 +0000 [r5745] robert: * Added basic silhoette detection 2006-11-22 21:11 +0000 [r5743-5744] robert: * From Roger James, "fixes mostly related to texture handling." * From Paul Martz, add OSG_FILE_PATH to end of setting of OSG_FILE_PATH to preserve any previous settings 2006-11-22 20:52 +0000 [r5742] robert: * From Paul de Repentigny, "When calling osgdem with argument "--image-ext", the application just returns after loading the proper ReaderWriter for the given extension." Fix was to remove the erroenous return. 2006-11-22 20:47 +0000 [r5741] robert: * From Sylvan Marie, "I attached my revised dxfEntity.cpp file from the DXF plugin with the 2 following improvements: - When all unsupported entities (SOLIDS, TEXT, ...) have been filtered out from a block, dxfInsert::drawScene() was crashing because it assumed that the block was not empty. It now returns silently so the other blocks can still be imported. - The DXF reader assumed all vertices were read first, then the face indices. But, from the DXF "documentation" (www.autodesk.com/dxf) : "Polyface meshes created with the PFACE command are always generated with all the vertex coordinate entities first, followed by the face definition entities. The code within AutoCAD that processes polyface meshes requires this ordering. Programs that generate polyface meshes in DXF should generate all the vertices then all the faces. However, programs that read polyface meshes from DXF should be tolerant of odd vertex and face ordering." So now the importer ignores the posted number of vertices and face indices, and uses the size of the lists instead." 2006-11-22 20:39 +0000 [r5740] robert: * From Farshid Lashkari, Added missing initialization of the _scaleByTextureRectangleSize variable in two of its constructors. 2006-11-22 15:38 +0000 [r5739] robert: * Added removeNullTriangles() method to help removed triangles with coincedent corners. 2006-11-22 09:10 +0000 [r5738] robert: * Added new HeightAboveTerrain.cpp LineOfSight.cpp wrapper files 2006-11-21 16:59 +0000 [r5736-5737] robert: * Added compute and visualization of triangle and vertex normals * Replaced the setTextureUnit(0) call in State::reset() with code that just sets the member variables without requiring a graphics context. 2006-11-21 16:16 +0000 [r5734-5735] robert: * Added removeDuplicates function * Reordered methods to make associated functions clearer. 2006-11-21 14:42 +0000 [r5733] robert: * 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. 2006-11-20 21:48 +0000 [r5732] robert: * Added nested files 2006-11-20 12:25 +0000 [r5731] robert: * Added -losgFX 2006-11-20 10:12 +0000 [r5730] robert: * Added missing LGPL section to LICENSE.txt 2006-11-17 20:45 +0000 [r5729] robert: * Rearranged the #ifdef's to prevent compile problems under NVidia 2.1 OGL drivers 2006-11-17 16:25 +0000 [r5727-5728] robert: * From Eric Wing, updates to Xcode projects * From Eric Wing, new ogsimpleviewCocoa example. 2006-11-17 14:51 +0000 [r5726] robert: * Added missing PointSprite files 2006-11-16 17:35 +0000 [r5725] robert: * From Farshid Lashkari, "Attached is a patch that adds the new coordOriginMode to the .osg reader/writer for PointSprites." 2006-11-16 16:42 +0000 [r5724] robert: * From Frashid Lashkari, added support for PointSprites to .ive 2006-11-16 16:25 +0000 [r5723] robert: * From Michael Platings, Fixed Geometry cloning of the texture coordinates and vertex attributes. 2006-11-15 20:29 +0000 [r5721] robert: * Added alpha test setting 2006-11-15 20:24 +0000 [r5719-5720] robert: * Fixed comment * Updated wrappers 2006-11-15 11:21 +0000 [r5718] robert: * From Eric Wing, add version check for use of automatic resizeing 2006-11-15 10:08 +0000 [r5717] robert: * From Mathias Froehlich, replaced assert with notify() error message. 2006-11-14 19:29 +0000 [r5716] robert: * Added note about license or file, and link to specs. 2006-11-14 19:19 +0000 [r5714-5715] robert: * Removed redundent osgac3.h file. * From Mathias Fröhlich, fixed order of setting of texture image. 2006-11-14 17:24 +0000 [r5713] robert: * Updated wrappers 2006-11-14 16:59 +0000 [r5712] robert: * 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. 2006-11-14 16:37 +0000 [r5711] robert: * From Mathias Froehlich, "Improovments: - does proper edge detection with the crease angle given in the ac file - the reader is much more verbose in case of broken files - no more static variables - std::stream based - much faster, up to a factor of 50 for a polygonal test model - if the file contains polygonal surfaces the loaded geometry is still polygonal as long as the polygons are convex. Concave polygons are still tesselated. Rationale: If the user needs triangular models he can throw away that extra information with the osgUtil::Optimizer himself. But the read step preserves as much extra information that is contained in the file as possible. Also the polygonal models look a bit smoother than the triangular ones. - a huge cleanup - the basic parsing logic from the original ac3d developer is untouched - the writer part is untouched The tarball contains a replacement for the src/osgPlugins/ac3d directory that is based on the current CVS (2006-11-13). I have tested that loader with a osgconv foo.ac /tmp/xx.ive on everyfoo. ac file I could find (~200 from flightgear and the object database). I also run my flightgear development with that loader -> here I see the models. I run valgrind testcases on some selected models." 2006-11-14 15:06 +0000 [r5710] robert: * Added osgViewer depdendency to osgintersection, osgGLUT* examples 2006-11-14 12:55 +0000 [r5709] robert: * From Jason Beverage, "I ran though the sample data that Gert provided earlier today and tracked down the problem. The xoffset in readHeightField and readImage were being applied even in projected coordinate systems. This patch should fix the issue." 2006-11-14 12:51 +0000 [r5707-5708] robert: * Further migration to using RenderInfo * From Stephan Huber, Follows is required to prevent unidented cloning of shared arrays : "I added some calls to isOperationPermissibleForObject() so I can permit the flattten-pass with my specialized objects in my own code." 2006-11-14 12:29 +0000 [r5706] robert: * From Farshid Lashkari, "This patch adds a CoordOriginMode to the osg::PointSprite attribute. The mode needs to be changed to LOWER_LEFT when rendering point sprites to pbuffers or FBOs, otherwise the points will be transformed on the CPU." 2006-11-14 12:16 +0000 [r5705] robert: * Added support for handling osg::ShapeDrawable style drawables in OccluderGeoemtry. 2006-11-14 09:54 +0000 [r5704] robert: * Added check against null SceneData to prevent crash with empty models 2006-11-11 21:30 +0000 [r5703] robert: * Further work on OccluderGeometry 2006-11-10 15:25 +0000 [r5702] robert: * From John Kelso, add support for default frame time for children of a Sequence node 2006-11-10 15:07 +0000 [r5701] robert: * Further work on osgShadow::GeometryOccluder 2006-11-08 11:49 +0000 [r5700] robert: * Updated wrappers 2006-11-08 10:00 +0000 [r5699] robert: * From Eric Wing, updates to Xcode project for new osgViewer library 2006-11-08 09:50 +0000 [r5698] robert: * From Eric Wing, change osgGA::SimpleViewer to osgViewer::Viewer. From Robert Osfield, added -losgViewer & -losgGA to makefiles. 2006-11-07 17:00 +0000 [r5696-5697] robert: * Added better handling of writeNode operations that arn't successful. * Fixed the writeNode function so it was properly return FILE_NOT_HANDLED, fixing a big with it writing out an empty .flt file. 2006-11-07 14:26 +0000 [r5695] robert: * Updated wrappers 2006-11-07 13:48 +0000 [r5694] robert: * 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. 2006-11-07 13:43 +0000 [r5693] robert: * Added initial cut of osgShadow::OccluderGeometry 2006-11-07 13:26 +0000 [r5692] robert: * Changed debug output from NOTICE to INFO 2006-11-07 13:00 +0000 [r5691] robert: * From Tery Welsh, added support for inheriting all CameraNode CullSettings and then restoring the original values. 2006-11-07 12:08 +0000 [r5690] robert: * Removed debug comment. 2006-11-07 12:02 +0000 [r5689] robert: * From Mathias Froehlich, workaround fix for problematic run length encoded RGB files. Robert Osfield ammend workaround to support multi-byte colour channels. 2006-11-06 13:22 +0000 [r5688] robert: * Thanks to Björn Hein for spotting mistakes in EventQueue.cpp and StateSetManipulator, now fixed by Robert Osfield. Problems were: "StateSetManipulator.cpp (rev 1.12, l. 85): cyclePolygonMode() is called but no aa.requestRedraw() afterwards. Is this intended? EventQueue.cpp (rev 1.8): in keyRelease & keyPressed KEY_Alt_R was mapped to MODKEY_LEFT_ALT" 2006-11-03 14:07 +0000 [r5687] robert: * Added osgViewer library to build list 2006-11-02 18:58 +0000 [r5686] robert: * Added IntersectionVisitor to wrappers 2006-11-02 17:07 +0000 [r5684-5685] robert: * Added IntersectionVisitor to osgUtil project * Added convinience constructors to help support picking with the new osgUtil::Intersector classes. 2006-11-02 15:50 +0000 [r5683] robert: * Added basic PolytopeIntersector functionality based on checking vertices against polytopes. 2006-11-02 15:40 +0000 [r5682] robert: * Renamed osgviewer.dsp to osgviewerapplication.dsp and fixed directory name of osgsimpleviewerProducer 2006-11-02 15:22 +0000 [r5681] robert: * Fixed bug in Polytope::contains(const std::vector& vertices) which resulted in false positives. 2006-11-02 12:32 +0000 [r5680] robert: * Updated wrappers 2006-11-02 12:27 +0000 [r5679] robert: * Moved SimpleViewer and GraphicsWindow into their own osgViewer library, updated simpleviewer examples to reflect this change 2006-11-02 12:17 +0000 [r5678] robert: * Added prelimnary work on PolytopeIntersector. 2006-11-01 17:18 +0000 [r5677] robert: * Improved handling of projected coords in new intersection classes 2006-11-01 14:41 +0000 [r5676] robert: * Added support for osgUtil::Intersectors being in WINDOW, PROJECTION, VIEW or MODEL coordinates 2006-10-31 12:59 +0000 [r5675] robert: * Implemented HeightAboveTerrain and added usage into osgintersection 2006-10-31 08:41 +0000 [r5674] robert: * Added LineOfSight and HeightAboveTerrain classes 2006-10-30 20:29 +0000 [r5673] robert: * Added osgSim::LineOfSight and osgSim::HeightAboveTerrain classes 2006-10-30 12:39 +0000 [r5672] robert: * Updated wrappers 2006-10-30 12:28 +0000 [r5671] robert: * From Per Fahlberg, "Attached is a fix to get the proper normals on an md2 model, actually the way it was before would sometimes lead to a crash since it was attaching the wrong array to the geometry..." 2006-10-30 12:23 +0000 [r5670] robert: * From Vladimir Shabanov, "The DDS plugin didn't correctly read mipmapped A8L8 textures. I've attached a small fix for this. Cause: uncompressed mipmap handling was done only for RGB pixel format. Fix: added condition for handling alpha and luminance formats too." 2006-10-30 12:19 +0000 [r5669] robert: * From Michael Henheffer, "There's a problem with OverlayNodes where the texture will not display if continuous updating is set to false. The problem was being caused by the camera update call never being made if continuous updating was not set to true. This fix adds a flag that is set when dirtyOverlayTexture() is called and checked in the update visitor section of the traversal to determine if the camera should be updated. I tested the fix by making some changes to the osgAnimate example program so it has continuous updating off and calls dirtyOverlayTexture for each frame. The overlay texture now displays properly." 2006-10-30 12:14 +0000 [r5668] robert: * From Edgar Ellis, " method may not take the node into consideration when computing its bound. In this case of: switch->insertChild(0, child, false); switch->insertChild(1, child, true); child will not be used in computeBound, but will be drawn. Solution: Changed compute bound to loop over children using an index instead of an iterator. This behaviour matches that of the traverse method." ----------------------------------------------- 2006-10-30 12:05 +0000 [r5667] robert: * From Michael Henheffer, "Bug: The reader would crash when trying to load a .tif image that contained an 8-bit color map. The crash occured at line 545: remap_row(currPtr, inbuf, w, red, green, blue); Cause: The code was trying to write past the end of the buffer while doing this remapping. The size of the buffer is determined based on the value of 'format', which was 1 in this case since bitspersample is 8(indicating a 8-bit color map). The buffer should have been created 3 times as large since that 8-bit value is indexing a 24-bit color. Fix: I've put in an if statement to set format to 3 if 'photometric' indicates the tif contains a palette as the output data will always be 24-bit color data in this case." 2006-10-30 11:55 +0000 [r5666] robert: * From Mathieu Marache, fixed osgsimpleviewerQt4 so that it uses the correction options 2006-10-30 11:00 +0000 [r5665] robert: * Added handling of geometry indices offset when merging geometries with indices 2006-10-27 15:11 +0000 [r5664] robert: * Added osgUtil::IntersectorGroup to handle groups of osgUtil::Intersectors 2006-10-26 16:52 +0000 [r5663] robert: * From Andrew Lorino and Robert Osfield, Improvements to the handling of texture paths 2006-10-26 16:03 +0000 [r5661-5662] robert: * Added beginings of new osgUtil::IntersectionVisitor and osgintersection class * Updatd wrappers 2006-10-24 16:24 +0000 [r5660] robert: * Tweaked doxygen docs. 2006-10-24 09:45 +0000 [r5659] robert: * Updated wrappers 2006-10-24 09:06 +0000 [r5658] robert: * Added FadeText::setFadeSpeed and made internal data structures protected. 2006-10-23 15:29 +0000 [r5657] robert: * Changed the dependency list to use -losg -losgDB instead of OSG_LIBS 2006-10-21 21:06 +0000 [r5656] robert: * Fixed OSX x86 endian issue in Quicktime movie plugin. 2006-10-17 15:17 +0000 [r5655] robert: * From David Callu: " the main problem is the wrapper generation: The PropertyInfo class use MethodInfo class to access to the value. When the property are define with the I_Property* macro, the MethodInfo use by the property to have access to the value are instancied in the I_Property* macro, but there are already instantied by the I_Method* macro before secondary problem: - the function used by the property could no be customized in the genwrapper.conf file - an array property can't insert a value - the std::map reflector (and indexedProperty in general) haven't remove method - about the help in wrapper ... why not ... solution : To use the function define by the I_Method, I add a MethodInfo variable in the I_Method0 macro old macro : #define I_Method0(ret, fn) (\ params.clear(),\ addMethod(new osgIntrospection::TypedMethodIn fo0(qualifyName(#fn), &reflected_type::fn, params))) new macro : #define I_Method0(ret, fn, signature, briefHelp, detailedHelp) \ params.clear(); \ osgIntrospection::MethodInfo* signature = addMethod(new osgIntrospection::TypedMethodInfo0(qualifyName(#fn), &reflected_type::fn, params, briefHelp, detailedHelp)); sink(signature) the osgIntrospection::MethodInfo* signature is used by the I_Property macro to define the MethodInfo that it use so for I_Property macro : old macro : #define I_PropertyWithReturnType(t, n, r) \ cap=addProperty(new osgIntrospection::PropertyInfo(osgIntrospection::Reflection::getType(typeid(reflected_type)), osgIntrospection::Reflection::getType(typeid(t)), #n, \ I_Method0(t, get##n), \ I_Method1(r, set##n, IN, t, value))) new macro: #define I_SimpleProperty(t, n, get, set) \ get, \ set)) The genwrapper has been modified in this way. The method signature is define by the prototype of the method For example, the "const char* libraryName();" have "__C5_char_P1__libraryName" for signature solution for secondary problem: The genwrapper accept new tokens in the configuration to custumize the property. The new PropertyInserter and the CustomPropertyInsertAttribute class has been defined The PropertyRemover has been added to the StdMapReflector The _briefHelp and _detailedHelp variable has been added in PropertyInfo, MethodInfo and ContructorInfo class modification: I have modify the genwrapper files Configuration.cpp Configuration.h add some tokens to custumize the property Doxyfile.template add the comment in the output xml genwrapper.conf customize some property in osg::Geometry RegistryBuilder.h RegistryBuilder.cpp add the process_help function (to extract help from xml) TypeRegister.cpp TypeRegister.h optimize the property detection TypeDesc.h TypeDesc.cpp modify FunctionDesc and PropertyDesc WrapperGenerator.h WrapperGenerator.cpp modify the output I also modify the fallowing osgIntrospection files: include/osgIntrospection/Attributes add the PropertyInserter and the CustomPropertyInsertAttribute class include/osgIntrospection/ConstructorInfo add the _briefHelp and _detailedHelp variable in the ConstructorInfo class add access function for the two new variables (_briefHelp and _detailedHelp) modify the constructor to define the two new variables (_briefHelp and _detailedHelp) include/osgIntrospection/MethodInfo add the _briefHelp and _detailedHelp variable in the MethodInfo class add access function for the two new variables (_briefHelp and _detailedHelp) modify the constructor to define the two new variables (_briefHelp and _detailedHelp) include/osgIntrospection/PropertyInfo add the _briefHelp and _detailedHelp variable in the PropertyInfo class add access function for the two new variables (_briefHelp and _detailedHelp) modify the constructor to define the two new variables (_briefHelp and _detailedHelp) include/osgIntrospection/ReflectionMacro remove unused I_Property* macro modify all I_Method macro to accept the help string modify all I_Method macro to define a MethodInfo signature include/osgIntrospection/Reflector add the PropertyInserter in StdVectorReflector and StdListReflector add the PropertyRemover in the StdMapReflector include/osgIntrospection/StaticMethodInfo modify all StaticMethodInfo* to accept the help in parameter include/osgIntrospection/TypedMethodInfo modify all TypedMethodInfo* to accept the help in parameter include/osgIntrospection/TypedConstructorInfo modify all TypedConstructorInfo* to accept the help in parameter include/osgIntrospection/Type add the _briefHelp and _detailedHelp variable in the Type class " 2006-10-17 12:29 +0000 [r5654] robert: * Changed name osg osgshadow example.dsp to avoid MS conflicts 2006-10-17 11:28 +0000 [r5653] robert: * Added osgshadow example 2006-10-15 11:56 +0000 [r5652] robert: * Ported FLTK example across to using GraphicsWindow 2006-10-15 11:39 +0000 [r5651] robert: * Ported across to using GraphicsWindow. 2006-10-14 21:50 +0000 [r5650] robert: * From Chuck Seberion, added support reading ARB float format textures. 2006-10-14 21:47 +0000 [r5649] robert: * From Terry Welsh, mplemented POINT_ROT_EYE. 2006-10-14 10:16 +0000 [r5648] robert: * From Paul de Repentigny, fix for dvide by zero crash under windows when toggle full screen in ogviewer. From Robert Osfield, tweak to the fix to add comment describing the extra check, and addition of check against width, and change to ==0 rather than <= 0. 2006-10-14 10:07 +0000 [r5647] robert: * Fixed texture coordinates of cylinder ends. 2006-10-13 14:00 +0000 [r5646] robert: * Added -losgDB to fix OSX build 2006-10-07 11:57 +0000 [r5645] robert: * Added dae (COLLADA) plugin to OpenSceneGraph.dsw workspace. 2006-10-07 11:53 +0000 [r5644] robert: * Added project files for the osgsimpleviewerFLTK,GLUT,Producer,QT3,QT4 and SDL examples 2006-10-06 14:46 +0000 [r5642-5643] robert: * Fixed OSGSHADOW_LIBRARY define * Fixed library name 2006-10-06 14:16 +0000 [r5641] robert: * First cut at class interfaces and stubs for implementations for the new osgShadow NodeKit 2006-10-06 13:04 +0000 [r5640] robert: * From Brede Johansen, "Here's a patch discussed in the thread "OpenFlight Loader Discarding Material" on the osg-user mailing list." 2006-10-06 11:02 +0000 [r5639] robert: * Updated wrappers 2006-10-06 09:54 +0000 [r5638] robert: * Removed osgGA::GUIEventHandlerVisitor and osgGA::SetSceneVistor classes/headers as this classes weren't being actively used the distribution, effectively being noops. 2006-10-06 06:58 +0000 [r5637] robert: * Added workaround for NVidia driver bug into SceneView::init() to prevent the extensions string being initialized within a display list. 2006-10-05 14:32 +0000 [r5636] robert: * Removed deprecated GUIEventHandler method 2006-10-05 10:59 +0000 [r5634-5635] robert: * Renamed variable * Refactored osgsimpleviewerQT4 to implement a GraphicsWindowQT, and then use multiple inheritance to build the final SimpleViewerQT. 2006-10-05 10:07 +0000 [r5632-5633] robert: * Added a path with an experiemental GraphicsContexProducer implementation, and a test of mulitple inheritance. * Added osgGA::GraphicsWindow base class that derives from osg::GraphicsContext but adds default overrides its pure virtue methods, and an EventQueue. 2006-10-04 09:11 +0000 [r5631] robert: * Added osgGA depedency. 2006-10-03 20:42 +0000 [r5630] robert: * Removed the redundent relaseGLObjects() method declerations 2006-10-03 20:20 +0000 [r5629] robert: * From John Aughey, "Attached is the Optimizer.cpp file that has the fix to duplicate vertex and normal arrays if there is more than one reference to the data. This fixes the problem where the transforms are applied to the same vertex array multiple times if that vertex array is re-used within the model. " 2006-10-03 19:55 +0000 [r5628] robert: * From John Aughey, "The id name of nodes are not being set in the daeReader::processNode method. The names are retained in most of the other osg::Nodes that are created. In this case, I have an external modeler creating models, and the name of component nodes are used to give that subtree different characteristics." 2006-10-03 12:46 +0000 [r5627] robert: * Added osgDB to dependency of osgGA 2006-10-03 11:14 +0000 [r5626] robert: * Fixed bug related to clean up of text fonts. 2006-10-03 09:55 +0000 [r5625] robert: * From Brede Johansen, "This submission adds multitexture support for detecting translucent images used to enable alpha blending. Mesh was syncronized with featureset from Face record." 2006-10-03 09:39 +0000 [r5624] robert: * From Brede Johansen, "I think some nitpicking is required. The loop duration was added in OpenFlight version 15.8. With the attached changes the flasher unit on the spinnercar and the character_anim model from the Creator gallery behaves." 2006-10-02 15:59 +0000 [r5623] robert: * From Colin McDonald, "I've included render bin checks in the StateSet::compare function, because without them the Optimizer can incorrectly eliminate (otherwise identical) StateSets from different render bins." 2006-10-02 15:38 +0000 [r5622] robert: * Added releaseGLObjects to NodeCallbacks, Drawable::DrawCallbacks and wired up osgProducer to use it when doing cleanup_frame. 2006-10-02 15:09 +0000 [r5621] robert: * From Paul Martz, Bug fix for sequence node direction, It examines the number of children in the Group record destructor, so that the total duration of the sequence matches the specified loopDuration field. 2006-10-02 14:11 +0000 [r5620] robert: * From Farshid Lashkari, "Here is the patch we discussed previously about adding a flag to CullSettings which allows CameraNode to inherit the clear color." 2006-10-02 13:40 +0000 [r5619] robert: * From Farshid Lashkari, "The ColorControl of osg::LightModel is never applied because it incorrectly checks for a valid OpenGL version. Instead of checking if the current version is exactly 1.2, it will check if the version is greater than 1.2." 2006-10-02 13:24 +0000 [r5618] robert: * From Per Fahlberg, "Attached is a fix for loading the same file multiple times with the COLLADA plugin. dae->load will not return DAE_OK the second time a model is loaded, so a second check for DAE_ERR_COLLECTION_ALREADY_EXISTS has been added." 2006-10-02 13:11 +0000 [r5617] robert: * From Edgar Ellis, "Changed return type of osg::equivalent methods from float/double to bool. " 2006-10-02 13:07 +0000 [r5616] robert: * From Andreas Ekstrand, "Attached is a small bug fix in the DW plugin. The texture application matrix is read into a double matrix called mx, it was declared as 3x2, it's now fixed to 3x3." 2006-10-02 11:47 +0000 [r5615] robert: * Added SERIALIZER to ReaderWriterDAE to make sure initialization is thread safe. 2006-10-02 11:38 +0000 [r5614] robert: * From Andreas Ekstrand, "Attached is a modified ReaderWriterDAE.cpp which creates the one and only DAE instance when it's first needed instead of in the constructor. This fixes the problem with osgdb_dae.dll not being loaded due to unwanted ordering of global initialization. This fix and the previous fix of the COLLADA plugin might be unnecessary with the latest COLLADA DOM, but since many of us will probably still use the older version of the DOM, I guess it's better this way. " 2006-10-02 11:34 +0000 [r5613] robert: * From Andreas Ekstrand, "It seems my changes to ESRIShape.dsp (to create an osgdb_shp.dll rather than an osgdb_ESRI.dll) were overwritten by later commits to this file. Here are the changes again, made from the latest version of ESRIShape.dsp." 2006-10-02 11:26 +0000 [r5612] robert: * From Farshid Lashkari, "There was a bug in ParticleSystem where the bounds is not properly flagged as computed when there is only 1 particle. Attached is the fix." 2006-10-01 19:19 +0000 [r5611] robert: * From Chris Hanson, "These changes break out the implementation of the fill/wireframe/point, texture, lighting and backface culling settings from the event handling code in StatesetManipulator into public methods. The event handler now calls the public methods. This allows user code to invoke this same functionality from non-keyboard event inputs without clashing with the keyboard-invoked functionality." From Robert Osfield, tweaks to the above to kepp the coding style the same as the rest of the OSG, also made getPolygonMode() const, and updated the wrappers. 2006-10-01 19:09 +0000 [r5610] robert: * From Brede Johansen, "I have added "billboardCenter" as a reader option to use the center of a billboard as the pivot point." 2006-10-01 19:00 +0000 [r5609] robert: * From Colin McDonald, "I have corrected a byte swapping problem in the new OpenFlight plugin. It was only reading floats & doubles correctly on little endian systems, which require byte swapping, and not on big endian systems which don't require any swapping." 2006-10-01 16:14 +0000 [r5606-5608] robert: * Added GLUT based osgsimpleviewerGLUT example * Added Producer based osgsimplerviewerProducer example * Added FLTK example app - osgsimpleviewerFLTK. 2006-10-01 13:26 +0000 [r5605] robert: * Added osgsimpleviewerQT4 example 2006-10-01 11:08 +0000 [r5604] robert: * Refactored the SDL example so that the event conversion in done is a seperate method. 2006-09-30 20:06 +0000 [r5601-5603] robert: * Added a based SDL viewer - osgsimpleviewerSDL * Updated wrappers * Cleaned up build and indenting 2006-09-30 16:30 +0000 [r5598-5600] robert: * Various clean ups to comments * Added SimpleViewer * Added osgsimpleviewerQT3 example 2006-09-30 14:12 +0000 [r5596-5597] robert: * Moved osgGLUTsimple and osgGLUTkeyboardmouse across to using osgGA::SimpleViewer * Added subclassing from osg::Referenced to allow the SimpleViewer to be safely managed on the heap. 2006-09-30 13:41 +0000 [r5595] robert: * Added check to init to prevent crash when no camera manipulator is supplied. 2006-09-29 21:44 +0000 [r5594] robert: * Added false to setWindowRectangle() call as the InputRange is already set correctly. 2006-09-29 18:47 +0000 [r5593] robert: * Added preliminary DatabasePager support. 2006-09-25 16:25 +0000 [r5592] robert: * Added bare bones osgGA::SimpleViewer class to help simplify OSG setup when embedding the OSG into existing GUI applications, and for one one a single camera, single window is required. 2006-09-21 15:09 +0000 [r5591] robert: * Updated wrappers 2006-09-21 11:26 +0000 [r5590] robert: * From Eric Wing, updated to Xcode projects 2006-09-21 10:38 +0000 [r5587] robert: * 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." 2006-09-21 10:01 +0000 [r5586] robert: * From Farshid Lashkari, added function for querring whether a mode is a texture related mode or not. 2006-09-21 09:50 +0000 [r5585] robert: * From Loic Dachary, renamed _mips to of_mips to prevent compile problem under MIIPS 2006-09-21 09:24 +0000 [r5584] robert: * Rationalized on the number of libs required. 2006-09-21 08:56 +0000 [r5583] robert: * Removed use osg OSG_LIBS, changing to just -losg and -losgDB. 2006-09-20 15:48 +0000 [r5582] robert: * Updated positions of the text labels to make them move obvious on start up 2006-09-20 13:41 +0000 [r5580-5581] robert: * Added missining initialization of _radius in constructors * Added use of ClusterCullingCallback 2006-09-20 12:58 +0000 [r5579] robert: * Created stress test of fade text labelling 2006-09-20 10:36 +0000 [r5578] robert: * Updates for fade text to work properly, but only in perspetive views at present. 2006-09-19 22:57 +0000 [r5577] robert: * Further work on fade text. 2006-09-19 20:19 +0000 [r5576] robert: * Further work on osgText::FadeText implementation. 2006-09-19 13:54 +0000 [r5575] robert: * Fixed reading/writing of non C string osg::Text::String's. 2006-09-18 21:03 +0000 [r5574] robert: * Added osgfadetext example to VS projects 2006-09-18 20:54 +0000 [r5573] robert: * 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). 2006-09-15 13:11 +0000 [r5572] robert: * From Per Fahlberg, "I've fixed the dae plugin so it is only using one instance of the DAE. The crashes seen earlier are gone, it is now possible to read multiple .dae files and converting both to and from .dae files." 2006-09-15 10:21 +0000 [r5571] robert: * Added a _threadHoldingMutex = 0; to ReentrantMutex::unlock() to avoid a potential bug with the mutex being aquired by two threads. 2006-09-13 16:38 +0000 [r5569] robert: * Returning revion number to 0 to signify CVS version 2006-09-13 14:55 +0000 [r5567] robert: * Added extra comment explaining where state reset() should be called. 2006-09-13 14:00 +0000 [r5566] robert: * From Eric Wing, updates to OSX build notes. 2006-09-13 13:50 +0000 [r5565] robert: * Fixed GPU stats display bug. 2006-09-13 13:33 +0000 [r5564] robert: * Correct HP's AIX to IBM's AIX. 2006-09-12 19:15 +0000 [r5562] robert: * Updated version for 1.2 release 2006-09-12 19:09 +0000 [r5559] robert: * Updated ChangeLog for 1.2 release 2006-09-12 15:21 +0000 [r5558] robert: * Fixed the drawArrays() method checking of _drawArrayPtr 2006-09-12 12:35 +0000 [r5557] robert: * Added a check for zero length line segment in bool LineSegment::intersect(const BoundingSphere& bs,float& r1,float& r2) const. 2006-09-12 10:52 +0000 [r5556] robert: * Updated ChangeLog fro 1.2 release 2006-09-12 10:46 +0000 [r5555] robert: * Updated AUTHORS file for 1.2 release 2006-09-12 09:28 +0000 [r5553-5554] robert: * Updated NEWS for 1.2 release * Revised the osg::ClampColor API to allow vertex, fragment and read color clamping to be applied together. 2006-09-08 20:08 +0000 [r5551] robert: * From Bryan Thrall, fix to Optimizer::MergeGeometryVisitor so that it checks the permissable operation status on Drawables. 2006-09-08 14:31 +0000 [r5550] robert: * Updated ChangeLog and AUTHORS file for 1.2 release 2006-09-08 13:24 +0000 [r5549] robert: * Cleaned up NEWS for 1.2 release 2006-09-08 10:46 +0000 [r5548] robert: * From Eric Wing, updated to Xcode projects 2006-09-08 10:07 +0000 [r5544-5545] robert: * Added link to website for build docs. * From Mike Wittman, perl script to help remain project files for dumb VisualStudio 6.0 limitations. 2006-09-07 10:41 +0000 [r5543] robert: * From Mike Weiblen, added missing export to fix osgTerrain wrapper linking under VS 2006-09-06 20:11 +0000 [r5542] robert: * Updated osgTerrain wrapper project file with gdal dependencies. 2006-09-06 14:10 +0000 [r5541] robert: * Tweak to NEWS 2006-09-06 13:53 +0000 [r5540] robert: * Made get methods const 2006-09-06 09:46 +0000 [r5539] robert: * From Brede Johansen, "The previous submission didn't handle Objects with transforms. The attached file corrects this. I also removed the multitexture macro for the Object record. Only Face and Mesh records are valid targets." 2006-09-05 20:18 +0000 [r5537] robert: * From Eric Wing, updates to Xcode projects 2006-09-05 17:15 +0000 [r5535] robert: * Removed reference to Sony in COLLADA news entry. 2006-09-05 15:22 +0000 [r5534] robert: * Updated NEWS, AUTHORS file and osgversion for the 1.2-rc1 2006-09-05 15:09 +0000 [r5533] robert: * Updated ChangeLog 2006-09-05 09:51 +0000 [r5532] robert: * From Mike Weiblen, build fixes for Windows. 2006-09-05 09:13 +0000 [r5531] robert: * Updated to compile against changes to osgTerrain 2006-09-05 08:56 +0000 [r5530] robert: * Updated wrappers 2006-09-05 08:46 +0000 [r5528-5529] robert: * From Paul Martz, warning fixes for Cygwin. * From Brede Johansen, "I have added an optimization to the OpenFlight plugin. By default it ignores the Object records if it's safe to do so. The reader option preserveObject prevents this optimization. I have also removed the flat shading attribute set by the Object record. This flag is only intended for the "Calculate Shading" operation in Creator." 2006-09-04 20:43 +0000 [r5527] robert: * Added support for imagery and DEM's that wrap around the dateline, this required two passes over the copying of imagery and DEM's to the destination graphs, once for the original position, and once for the wrap around 360 degrees on or before. Also fixed the GeospationExtents constructor that was setting the _max to DBL_MIN rather than -DBL_MAX. This bug causesd the y axis to be computed incorrectly. 2006-09-04 13:35 +0000 [r5526] robert: * Missing part of Farshid Laskari's submission relating to CameraNode RenderOrder. 2006-09-04 13:22 +0000 [r5525] robert: * Updated wrappers 2006-09-04 13:15 +0000 [r5524] robert: * From Farshid Lashkari, "I've made some changes to osg which I think make it easier to control the render order of CameraNode's. Instead of using the built-in orders (PRE_RENDER, POST_RENDER, NESTED_RENDER), you can specify an integer order. Values less than zero are pre rendered in order. Values greater than zero are post rendered in order. And a value of 0 is equivalent to NESTED_RENDER. The changes should be fully backward compatible. Also, I changed the RenderStageList type from a vector to a list because I needed to be able to insert values anywhere in the list. The reason I made these changes was because I wanted to be able to set the render order of a CameraNode at runtime without having to reorder it in the scenegraph." and later in the final submission message (relating to what has been finally been merged) : "I've rethought my implementation and came up with something a little better. The setRenderOrder will continue to take an enum, but will have an optional orderNum parameter which can be both positive and negative. I think this method is more intuitive and flexible." 2006-09-04 12:52 +0000 [r5523] robert: * Cleaned up the texture setup code. 2006-09-04 12:46 +0000 [r5522] robert: * Added osg::TexMat::s/getScaleByTextureRectangleSize feature that allows one to use the osg::TexMat to automatically scale non dimensional tex coordinats to the size of the last texture rectangle applied. 2006-09-04 06:51 +0000 [r5521] robert: * From Farshid Lashkari, removed debug message being written to the console. 2006-09-04 06:47 +0000 [r5520] robert: * Removed typedef TypeList from osgintrospection 2006-09-02 14:27 +0000 [r5519] robert: * Added setting of position.w to 1.0 and removed zscale hack. 2006-09-01 13:34 +0000 [r5518] robert: * Updated wrappers 2006-09-01 13:22 +0000 [r5517] robert: * From David Callu, add reflection of std::wstring in the DefaultReflector 2006-09-01 12:52 +0000 [r5516] robert: * From David Callu, "bug fix to reflect the wchar_t in Value and Value.cpp I add the toWString() function. in Type and Type.cpp I just add two function to get a map of propertyList and a map of methodList i need this map in my editor a i think it's could be util to put this functionnality in osgIntrospection, 2006-09-01 12:46 +0000 [r5515] robert: * Removed the String inhertiance from osg::Referenced. 2006-08-31 20:55 +0000 [r5513-5514] robert: * Updated Version number for 1.2 release * Updated version numbers of the up comming 1.2 release 2006-08-31 20:48 +0000 [r5512] robert: * From Eric Wing, "Attached is a change for GLExtensions.cpp that allows OS X to use dlopen/dlsym instead of NS*Symbol* functions for 10.3 or later. The latter is now deprecated. I'm not completely sure how to test the changes. But I compiled these new changes in and ran the osgvertexprogram and osgshaders examples and they seemed to display the same results as before. With respect to the use of dlopen and dlsym, I was uncertain if the usage should look like Sun or FreeBSD (or something else). Apple's man pages discourage the use of RTLD_DEFAULT so I avoided the FreeBSD implementation and copied the Sun implementation. I'm not sure if this is correct/ideal or not." 2006-08-31 20:26 +0000 [r5511] robert: * Updated NEWS for 1.2 release and added COLLADA plugin 2006-08-31 15:47 +0000 [r5510] robert: * Fixed typo on OSG_PROCESSOR_AFFINITY env var. 2006-08-31 15:39 +0000 [r5509] robert: * Fixed TextureAtlasVisitor bug where repeating textures were incorrectly assigned as non repeating. 2006-08-31 13:53 +0000 [r5508] robert: * Changed the external file writing to use the DatabasePathList for its path rather than the original files path. 2006-08-31 10:37 +0000 [r5507] robert: * Updated wrappers 2006-08-31 10:10 +0000 [r5505-5506] robert: * Made the inheritance of osg::Object in the DrawCallback to be virtual. * Added support for CameraNode's PostDrawCallback. 2006-08-30 19:33 +0000 [r5504] robert: * Added GPU stats to NEWS list 2006-08-30 19:21 +0000 [r5503] robert: * Updated NEWS for rc2 2006-08-30 16:33 +0000 [r5502] robert: * To TextureAtlasBuilder add copying of border pixels into margins to help improve quality of lower mipmap levels. 2006-08-30 13:50 +0000 [r5501] robert: * From Mike Wittman, changed release build options to reduce binary bloat. 2006-08-30 09:32 +0000 [r5497] robert: * In TextureAtlasVisitor code added catch for textures that have some geometry with texcoords within 0 to 1.0, but others others out of the 0 to 1 range, these textures are automatically rejected from consideration for adding to a texture atlas. 2006-08-29 15:05 +0000 [r5496] robert: * To the TextureAtlasBuilder added detection of instance where a single drawable has multiple textures on the same texture unit inherited down to it from above. 2006-08-29 12:31 +0000 [r5494] robert: * Updated wrappers 2006-08-29 11:25 +0000 [r5493] robert: * Added GPU stats 2006-08-29 06:58 +0000 [r5492] robert: * Added TexMat(Matrix) constructor. 2006-08-29 00:10 +0000 [r5491] don: * Fixed a crash in removeInternalTriangles() for models without normals. 2006-08-28 19:37 +0000 [r5490] robert: * Added TexEnv object into Font and apply this in Text::drawImplementation to make sure that a valid TexEnv is applied 2006-08-28 19:07 +0000 [r5487-5489] robert: * From Roger James, improved mapping of AC3D lighting model to OSG * Added support for logging StateSet usage in StatsVisitor. * Added env var docs 2006-08-28 19:01 +0000 [r5486] robert: * 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." 2006-08-28 15:46 +0000 [r5485] robert: * Futher work on TextureAtlasBuilder/Visitor, now functioning enough to deploy on real models. 2006-08-28 10:49 +0000 [r5483-5484] robert: * Updated wrappers * Further work on TextureAlasBuilder and TextureAtlasVisitor. 2006-08-26 21:38 +0000 [r5482] robert: * Further work of TextureAtlasBuilder 2006-08-25 16:31 +0000 [r5480-5481] robert: * Updated wrappers * Further work on new TextureAtlasBuilder. 2006-08-25 15:53 +0000 [r5479] robert: * Checking in first cut of new osgUtil::Optimizer::TextureAtlasBuilder class for building texture atlas for sets of images or textures. 2006-08-25 15:49 +0000 [r5478] robert: * Added missing setDataType and setPacking functions 2006-08-25 14:54 +0000 [r5476-5477] robert: * Added const version of getReadPBuffer() * Fixed const correctness of get shadow functions 2006-08-25 09:03 +0000 [r5475] robert: * Updated wrappers 2006-08-25 08:48 +0000 [r5474] robert: * From Farshid Lashkari, "I was experiencing hard crashes of my application when using PBO's on machines that don't support PBO's. I think osg incorrectly checks if PBO's are supported. I added a new method to the BufferObject::Extensions class which returns if the "GL_ARB_pixel_buffer_object" string is supported. This fixes the problem on my end. Machines without PBO support will continue to work and machines with PBO support will still be able to use it." 2006-08-25 08:42 +0000 [r5473] robert: * From Eric Wing, updates to Xcode project 2006-08-24 20:16 +0000 [r5471-5472] robert: * From David Guthrie, "I know there are 50,000 changes to osg/Math for OSX a day, but I think it can be simplified quite a bit. The old code includes for pre-10.2 and anything using something other than g++ 4 and then uses std::isnan. For the most current version, it leaves out cmath and uses isnan(). std::isnan and cmath work for the current version, so I just made it include cmath if __APPLE__ is defined and removed the ifdef between versions of OS X for isnan related things. This way the code is all the same, and it's not fragile to someone including prior to including osg/Math." * Simplified swap bytes code to make it more efficient. 2006-08-24 16:33 +0000 [r5470] robert: * Add error message report to catch attempts to flip mipmap images. 2006-08-24 13:16 +0000 [r5469] robert: * Fixed COLLDADA plugin name and remove osgmove example 2006-08-23 15:25 +0000 [r5468] robert: * From Sebastien Grignard, fix to writing of dds files, write the source data directly rather using a series of memcpy. 2006-08-23 15:11 +0000 [r5467] robert: * From Jeremy Moles, fixed typos 2006-08-23 14:17 +0000 [r5466] robert: * From Daniel Larimer, fix for OSX 10.4 when gcc != 4 2006-08-23 13:32 +0000 [r5465] robert: * From Andrew Lorino and Mike Weiblen, COLLADA 1.4.1 ReaderWriter, kindly developed and donated by Sony Computer Entertainment Inc. US R&D. 2006-08-23 13:18 +0000 [r5463-5464] robert: * Added sizeof(short int) * Tweaks to osglogo to allow you to export alpha blended screenshots 2006-08-22 19:10 +0000 [r5462] don: * Added osgUtil::Tesselator for SHapeType Polygon to handle concave polygons. 2006-08-22 13:07 +0000 [r5461] robert: * From Vaclav Bilek, "The purpose of this change is to suppress "re-reading" of osg::ProxyNodes ( in OF external references) after the OF file is loaded. The change do conditional execution of already existing code. I use this for optimized preprocessing of large databases what can not be loaded in one pass because of memory limits." 2006-08-22 12:49 +0000 [r5459-5460] robert: * From Gary Quinn, updated to take account of new bin directory structure. * From Joran Jessurun, updated to look for lib/win32. 2006-08-22 12:33 +0000 [r5458] robert: * Changed the default implementation of backdrop text to DEPTH_RANGE and tweaked the depth range values to minimize the depth rage witout causing z fighting on osgtext example. 2006-08-22 10:23 +0000 [r5457] robert: * From Eric Wing, fix for compute of the bounding box when handling outline/backdrop text. 2006-08-21 21:09 +0000 [r5456] robert: * From Eric Wing, compile fix for OSX 2006-08-21 21:00 +0000 [r5455] robert: * From Eric Wing, updates to Xcode projects 2006-08-21 20:29 +0000 [r5454] robert: * Added comments on the meaning of button value 2006-08-21 15:07 +0000 [r5453] robert: * Fixed 64 bit support 2006-08-14 19:42 +0000 [r5452] robert: * 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. 2006-08-14 11:03 +0000 [r5451] robert: * Ran dos2unix to fix inconsistent line endings 2006-08-14 07:59 +0000 [r5450] robert: * 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." 2006-08-13 20:12 +0000 [r5448] robert: * Updated ChangeLog for 1.1.1 release 2006-08-13 08:40 +0000 [r5447] robert: * Updated ChangeLog, NEWS, osgversion and AUTHORS.txt for 1.1.1 release 2006-08-13 08:24 +0000 [r5446] robert: * Changed the texture wrap mode to repeat 2006-08-13 07:37 +0000 [r5445] robert: * From Chuck Sembroski, fixes for IRIX 2006-08-12 18:19 +0000 [r5442] robert: * Moved reset to 0 of _createReuseMatrixIndex from CullVistor.cpp to CullStack.cpp so that CullStack::reset works correctly for all subclasses - fixing a memory consumption issue with occluders 2006-08-12 08:29 +0000 [r5441] robert: * Updated version number for 1.1.1 release 2006-08-12 07:59 +0000 [r5440] robert: * Updated ChangelLog and AUTHORS file 2006-08-12 07:43 +0000 [r5439] robert: * Removed Xcode 1.x projects 2006-08-11 21:48 +0000 [r5438] robert: * From Radu Mihai, removed osgfbo and osgpbuffer projects 2006-08-11 21:39 +0000 [r5437] robert: * Added osg:: to Referenced() to fix IRIX build. 2006-08-11 19:56 +0000 [r5436] don: * removed CRLF and replaced with LF in ReaderWriteNET.cpp 2006-08-11 18:23 +0000 [r5434-5435] robert: * Updated wrappers * Fixed if (numProcessors>1), was originally >= 2006-08-11 17:39 +0000 [r5433] don: * Added comments to support use of Proxy in the .net plugin. 2006-08-11 17:34 +0000 [r5432] don: * Submission by Carlo Camporesi - Added Proxy support to .net loader 2006-08-11 16:03 +0000 [r5431] robert: * Fixed value of FLATTEN_BILLBOARDS enum. 2006-08-11 13:06 +0000 [r5430] robert: * Added file search path to ESRI reader. 2006-08-11 12:53 +0000 [r5429] robert: * Fixed bug in Group::setChild relating to the accounting for OccluderNode. 2006-08-11 12:39 +0000 [r5428] robert: * Moved the OpenThreads::GetNumberOfProcessors() inside the if (_enableProcessAffinitHint) block to avoid slowing down init of apps that don't require procesor affinity. 2006-08-11 11:05 +0000 [r5426-5427] robert: * Fixed pbuffer usage cross multiple graphics contexts * Updated NEWS for rc1 2006-08-11 09:50 +0000 [r5425] robert: * Updated AUTHORS file 2006-08-11 09:30 +0000 [r5424] robert: * Removed osgfbo and osgpbuffer examples 2006-08-11 09:13 +0000 [r5423] robert: * Updated NEWS 2006-08-10 20:50 +0000 [r5421] robert: * From Mike Wittman, perl script to assist W64 support. 2006-08-10 20:32 +0000 [r5420] robert: * From Mike Wittman, support for VS 64bit build 2006-08-10 15:53 +0000 [r5418] robert: * Moved all platform specific processor out of osgProducer and into OpenThreads 2006-08-10 13:12 +0000 [r5416] robert: * From Laurens Voerman, " osgPlugins\pfb\ConvertFromPerformer.cpp Added support for PFSTATE_ALPHAFUNC PFSTATE_ALPHAREF Improved handling of PFTR_NO_OCCLUDE I have tested this with WIN32 performer 3.1 and 3.2.2 and linux OpenGL Performer 3.1.1" ------------------------------------------------ 2006-08-10 12:13 +0000 [r5415] robert: * From Martijn Kragtwijk, added example text for showing osgText::Text::CharacterSizeMode in action. 2006-08-10 11:08 +0000 [r5414] robert: * Added write ppn support, use -O ascii to select ascii ppn output, otherwise binary is chosen. Fixed crash when erroneous pnm files were read. Added -O flip option. 2006-08-10 08:45 +0000 [r5412] robert: * From Daniel Larimer, "Apple updated their developer tools again and broke the __isnanf and __isnand methods... replacing them with a call to isnan(v) seems to work on both Xcode 2.3 and 2.4" 2006-08-10 06:43 +0000 [r5411] robert: * Addd a setNodeMaskOverride(0xffffffff) to cope with models that are hiding subgraphs that still need to be accounted for when optimizer. 2006-08-10 06:20 +0000 [r5410] robert: * Commented out the _textBB contribution of outline/backdrops to fix bounding box problem. 2006-08-09 13:02 +0000 [r5409] robert: * Removed referecens to the deprecate UByte4 2006-08-09 12:56 +0000 [r5408] robert: * Added Vec4ub and removed UByte4 2006-08-09 10:09 +0000 [r5407] robert: * Added nan dectecion and error reporting 2006-08-08 16:08 +0000 [r5406] robert: * Added TESSELATE_GEOMETRY to Optimizer pass to fix z fighting issues. 2006-08-08 14:57 +0000 [r5405] robert: * Added extra defined(CPU_SET) to try and get round RH8 compile problems. 2006-08-08 11:59 +0000 [r5404] robert: * Fixed backColor implementation for LightPointAppearancePalette. 2006-08-08 11:27 +0000 [r5401-5403] robert: * Added support for --affinity command line option for switch on procesor affinity where supported, * First pass at updating NEWS for the up comming 1.1.1 release * From Paul Martz, "This change causes the new OpenFlight plugin to behave as the old plugin by returning the database origin latitude/longitude (extracted from the header record) as userData of the top-level scene graph node." 2006-08-08 10:41 +0000 [r5400] robert: * Fixed the positioning of the graphical stats bars so that they don't overlap the stats text 2006-08-06 16:49 +0000 [r5399] robert: * Added preliminary support for process affinity support under Linux. 2006-08-06 16:42 +0000 [r5398] robert: * Removed debugging code. 2006-08-05 20:39 +0000 [r5396-5397] robert: * Added fix to code catching error results ReadResult's to first instance of checking the value of ReadResult. * 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. 2006-08-05 16:57 +0000 [r5395] robert: * Added code to reproduce Text outline bounding box compute bug. 2006-08-05 11:12 +0000 [r5394] robert: * Added disable vertex arrays. 2006-08-05 10:16 +0000 [r5393] robert: * Added osgcegui example 2006-08-04 13:17 +0000 [r5392] robert: * From Uwe Woessner, implementated by Robert Osfield, Fixed vertex attribute bug, changed _vertexAttribList[unit] -> _vertexAttribList[index] 2006-08-03 19:14 +0000 [r5391] robert: * Added if search for the current databaseRequest in the _fileRequestList to handle cases when the request is moved back in the list, or when the _fileRequestList is cleared by an asyncronous call to DatabasePager::clear(). 2006-08-03 16:04 +0000 [r5390] robert: * Updated wrappers 2006-08-03 15:57 +0000 [r5389] robert: * Fixed RenderToTexture bug which occured when the viewport dimensions where different than the texture being written to. 2006-08-03 14:03 +0000 [r5388] robert: * Removed debug code 2006-08-03 13:35 +0000 [r5387] robert: * Changed: static TextureGLModeSet s_textureGLModeSet; To: static TextureGLModeSet& getTextureGLModeSet() { static TextureGLModeSet s_textureGLModeSet; return s_textureGLModeSet; } to prevent static initialization problems under static builds. 2006-08-03 13:12 +0000 [r5386] robert: * Added OSG_TEXT_INCREMENTAL_SUBLOADING ON/OFF env var check to osgText::Font to optional disable the incremental subloading. 2006-08-02 21:09 +0000 [r5385] robert: * Updated wrappers 2006-08-02 21:05 +0000 [r5383-5384] robert: * Reworked the state management within osgText::Text and osgText::Font so that it only applies textures locally rather than whole StateSet. * Added missing include 2006-08-02 19:56 +0000 [r5381-5382] robert: * tweaked comment. * Added viewer.cleanup_frame() to all examples. 2006-08-02 16:14 +0000 [r5379-5380] robert: * 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. * Added cleanup_frame to prevent crashes on exit. 2006-08-02 15:41 +0000 [r5378] robert: * Reworked the TextureObjectManager singleton so that it no longer reconstructed itself once deleted, and added checks to against a null manager to prevent calling code crashing. 2006-08-02 11:36 +0000 [r5377] robert: * Fixed crash due on multipipe systems due by moving the local camera update code from the cull into the update traversal. 2006-08-02 10:43 +0000 [r5375] robert: * From Daniel Trstenjak, build fixes for Hpux 11.11, Irix 6.5, Solaris 8 and Aix 2006-08-01 13:08 +0000 [r5374] robert: * Fixed doubleButtonPress. 2006-08-01 10:27 +0000 [r5373] robert: * Changed the viewer.setUpViewer(..) from default to just ESCAPE_SETS_DONE. 2006-07-31 20:56 +0000 [r5372] robert: * From Jason Beverage, "I've attached fixes to DataSet that should fix the problems that Maya was seeing yesterday. The issue was that the new interpolation code I submitted didn't use the SourceData's georef, it was assuming that the GDALDataSet had a proper geo-ref. I've made the getInterpolatedValue method a member of SourceData and now it uses the georef the SourceData's georef. I also forward declared the GDALRasterBand class in the DataSet header." 2006-07-31 17:31 +0000 [r5371] robert: * Added Matrix*::getRotate()/setRotate(Quat), deprecating Matrix*::get(Quat&), Matrix*::set(Quat&) 2006-07-31 14:49 +0000 [r5370] robert: * Tweaked the invert() method to avoid silly OSX warnings. 2006-07-29 16:47 +0000 [r5369] robert: * Fixed multi-threaded/multi-pipe crash when primitive stats where output in osgProducer::Viewer's stats. 2006-07-28 13:48 +0000 [r5368] robert: * Updated osgunittests with a matrix invert unit test, and added a conditional calling of invert_4x4 or invert_4x3 depending on the the right hand column of the matrix. Updated wrappers 2006-07-27 16:41 +0000 [r5367] robert: * From Jason Beverage, "This patch should fix Gert's problem that he posted on osg-users. I downloaded the sample he posted, reproduced the error, and added an additional check to make sure the GDAL window size was valid. Now his example works fine. Changes made against current CVS. " 2006-07-27 15:23 +0000 [r5366] robert: * 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..." 2006-07-27 12:32 +0000 [r5365] robert: * From Michael Polak, double click fixes/additions 2006-07-27 11:58 +0000 [r5364] robert: * From Eric Wing, add outline to help text to make it easier to read on different coloured backgrounds 2006-07-27 11:25 +0000 [r5361-5363] robert: * Remove ERSIShape directory. * 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." * Added #define snprintf _snprintf for Win32 build 2006-07-27 11:14 +0000 [r5359-5360] robert: * From David Spilling, fix to Matrix::get(Quat&) * From J.P. Delport, added units tests to pick up on erroneous Matrix::get(Quat&) computation. 2006-07-26 15:29 +0000 [r5358] robert: * Cleaned up per context buffers support 2006-07-26 15:19 +0000 [r5357] robert: * Added osgprecipitation to runexamples list. 2006-07-25 20:43 +0000 [r5356] robert: * Force SingelThreaded usage due to use of osgParticle. 2006-07-25 13:52 +0000 [r5355] robert: * Fixed auto rotate bug. 2006-07-19 21:49 +0000 [r5354] robert: * Set release number back to 0 after release 2006-07-19 21:11 +0000 [r5351] robert: * Updated ChangedLog and READE for the 1.1 release 2006-07-19 20:56 +0000 [r5350] robert: * For cases where the RenderBin has its own StateSet do a popAllStateSets() to ensure that the state is completely ready for the RenderBin's StateSet to be at the bottom. 2006-07-19 19:49 +0000 [r5349] robert: * UPdated wrappers 2006-07-19 19:45 +0000 [r5348] robert: * Fixed error in enum, completely perplexed how the error got in... 2006-07-19 17:39 +0000 [r5347] don: * Fixed HEIGHEST misspelling to HIGHEST 2006-07-19 15:20 +0000 [r5346] robert: * Reverted to LODScale keyboard adjustment 2006-07-19 15:10 +0000 [r5345] robert: * Warning fixes 2006-07-19 15:07 +0000 [r5344] robert: * Warning fix 2006-07-19 14:46 +0000 [r5343] robert: * Added extra initializes 2006-07-19 14:30 +0000 [r5342] robert: * Added dummy initializers to avoid warning 2006-07-19 14:04 +0000 [r5341] robert: * Added reset of the event windowSize 2006-07-19 13:02 +0000 [r5340] robert: * Added mutexes to RealizeCallbaks 2006-07-19 12:58 +0000 [r5339] robert: * Added scene handler init to custom realize callback 2006-07-19 12:35 +0000 [r5338] robert: * Moved sync to before the keyboard mouse startThread to try to avoid some threading issue on start up of some apps. 2006-07-19 11:25 +0000 [r5337] robert: * Fixed handling of back colour. 2006-07-19 08:39 +0000 [r5336] robert: * Changed code creating LightPoint on heap to use the stack. 2006-07-18 21:00 +0000 [r5333-5334] robert: * Updated ChangeLog for rc3. * Add clause to clean up AUTHORS.txt 2006-07-18 20:53 +0000 [r5331-5332] robert: * Updated wrappers * Updated wrappers 2006-07-18 20:17 +0000 [r5330] robert: * Moved the moveToRootStateGraph(,) from RenderStage::drawImplemenation() to RenderBin::drawImplementation(); 2006-07-18 19:26 +0000 [r5329] robert: * From Eric Wing, fix for VC6 support 2006-07-18 15:21 +0000 [r5328] robert: * Updated copyright years. 2006-07-18 15:11 +0000 [r5327] robert: * Added additional command line docs 2006-07-18 13:37 +0000 [r5326] robert: * Updated commandline docs 2006-07-18 13:24 +0000 [r5322] robert: * Updated version for the release 2006-07-18 13:17 +0000 [r5321] robert: * Updated ChangeLog and authors file. 2006-07-18 13:05 +0000 [r5319-5320] robert: * From Farshid Lashakari, fixed popStateSet. * Reduced the verbosity of debug info. 2006-07-18 12:48 +0000 [r5318] robert: * Updated wrappers 2006-07-18 12:24 +0000 [r5317] robert: * From Eric Wing, add alternate backdrop implementations. From Robert Osfield, updated naming and copy constructor methods. 2006-07-18 11:42 +0000 [r5316] robert: * Updated wrappers 2006-07-18 11:03 +0000 [r5315] robert: * Added Optimizer::FlattenBillboardsVisitor. 2006-07-17 16:36 +0000 [r5314] robert: * From Terrex, improvements to handling of layers w.r.t PolygonOffset 2006-07-17 13:16 +0000 [r5312] robert: * Removed the usage of setenv to avoid portability issues. 2006-07-17 11:43 +0000 [r5311] robert: * Change Unit to Units to keep consistent with OpenGL naming. 2006-07-17 11:37 +0000 [r5309-5310] robert: * Added *,/,+ and - keyboard controls for toggling PolygonOffset factor and units * Added getNumLayers method 2006-07-17 10:25 +0000 [r5307-5308] robert: * Increased the unit multiplier to 3 to avoid z fighting. * Changed the Radeon defaults to 1, 128 for the factor and unit mulitpliers respectively. 2006-07-14 21:02 +0000 [r5305] robert: * Updated osgversion and AUTHORS.txt for release 2006-07-14 20:50 +0000 [r5304] robert: * Updated ChangeLog for the release 2006-07-14 20:46 +0000 [r5303] robert: * Updated news for rc2. 2006-07-14 18:40 +0000 [r5301-5302] robert: * From Brede Johansen, patch to make osgconv.cpp compile on VC 2005. * Updated to officially deprecate VS6.0 support. 2006-07-14 18:20 +0000 [r5300] robert: * Added optional compilation of setenv code 2006-07-14 14:38 +0000 [r5299] robert: * Implemented Radeon workaround for polygonoffset 2006-07-14 14:08 +0000 [r5298] robert: * Added s/getFactorMultiplier(), s/getUnitMultiplier(), areUnitAndMultipliersSet() and setFactorAndUnitMultipliersUsingBestGuessForDriver() static methods to osg::PolygonOffset to help implement workarounds for lack of portablity of settings between different hardware. 2006-07-14 14:04 +0000 [r5297] robert: * Removed the default loading of bluemarble.ive 2006-07-14 11:34 +0000 [r5296] robert: * Fixed popStateSet 2006-07-14 11:29 +0000 [r5295] robert: * Removed debug info 2006-07-14 11:04 +0000 [r5294] robert: * Speeded up merge geometry 2006-07-13 20:50 +0000 [r5293] robert: * Typo fixes 2006-07-13 20:42 +0000 [r5292] robert: * Optimized the MERGE_GEODES pass 2006-07-13 19:42 +0000 [r5291] robert: * Updated ChangeLog 2006-07-13 15:56 +0000 [r5290] robert: * Updated wrappers 2006-07-13 15:25 +0000 [r5289] robert: * Added StatsVisitor to include/osg/Statistics, and usage of it in osgUtil::Optimizer. Added --optimize option to osgconv 2006-07-13 14:58 +0000 [r5288] robert: * Added share duplicates traversal to optimizer call 2006-07-13 13:00 +0000 [r5287] robert: * Fixed Trajce Nikolov name reversal. 2006-07-13 11:46 +0000 [r5286] robert: * Fixed Statistics::reset() method to include a reset of all member variables 2006-07-13 09:12 +0000 [r5285] robert: * Fixed typos. 2006-07-13 09:01 +0000 [r5284] robert: * Fixed management of Text's StateSet so that it works correctly when the DefaultFont is active. 2006-07-12 20:59 +0000 [r5283] robert: * Updated NEWS 2006-07-12 09:50 +0000 [r5282] robert: * From Vincent Vivanloc, Removed commas from end of enum lists, and removed semi-colon from end of namespace. 2006-07-12 09:40 +0000 [r5281] robert: * 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." 2006-07-11 21:53 +0000 [r5280] robert: * Removed StateSet::ENCLOSE_RENDERBIN_DETAILS since it is rendendent, and implemented the OVERRIDE_RENDERBIN_DETAILS. 2006-07-11 14:24 +0000 [r5279] robert: * From Brede Johansen, "Here's a small patch to BlendFunc::setFunction(source,destination) to make it consistent with the constructor and prevent the BlendFuncSeparate path being called. This patch fixed the artifact with the osgpointsprite demo on ATI cards reported by Mike Weiblen." 2006-07-11 10:34 +0000 [r5277-5278] robert: * 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." * Added preciption effects to NEWS 2006-07-11 09:06 +0000 [r5276] robert: * Updates osgversion and AUTHORS.txt for typo. 2006-07-06 20:44 +0000 [r5273-5274] robert: * Updated AUTHORS.txt and ChangeLog for 1.1-rc1 * Tweak for VS6.0 build 2006-07-06 15:47 +0000 [r5272] robert: * Fixed scoping for for loop varaible for VS6.0 build. 2006-07-06 15:00 +0000 [r5271] robert: * Tweaks to try and fix VS6.0 problems. 2006-07-06 14:50 +0000 [r5270] robert: * Removed explict definition of osgUtil::Optimizer::StateVisitor to attempt to get round VS 6.0 cruddiness. 2006-07-06 14:43 +0000 [r5269] robert: * Tweaked for loop variaible definition. 2006-07-06 14:36 +0000 [r5268] robert: * Updated NEWS and ChangeLog 2006-07-06 14:14 +0000 [r5267] robert: * From Eric Sokolowsky, "If a texture is used that is not a multiple of four, and compression was requested through the texture's internal format, the texture's internal format reverts to a non-compressed type and a NOTICE is given. At present, compressed textures must have a multiple of four in each dimension." 2006-07-06 14:10 +0000 [r5266] robert: * Updated wrappers 2006-07-06 14:02 +0000 [r5265] robert: * From Eric Sokolowsky, "Attached is some fixes for Image::readImageFromCurrentTexture. It was failing when used with a new Image object (some of the fields were not set before they were used, and some were set to the wrong values). A new optional parameter was added to give the desired data type, which defaults to GL_UNSIGNED_BYTE, so programs should only need a recompile to work properly." 2006-07-06 13:06 +0000 [r5264] robert: * Fixed typo and unpdated AUTHORS file 2006-07-06 11:40 +0000 [r5263] robert: * Added setting of name from the .obj goup name and object names. 2006-07-06 11:33 +0000 [r5261-5262] robert: * Removed redundent debug message. * Add "hack" fix for black materials being exported from Maya. 2006-07-06 11:08 +0000 [r5260] robert: * Tweaked osgversion to catch typos and updates AUTHORS.txt 2006-07-06 10:39 +0000 [r5259] robert: * Updated ChangeLog and AUTHORS.txt for release 2006-07-06 10:28 +0000 [r5257-5258] robert: * Updated version numbers for 1.1 release * Tweaked polygon offset 2006-07-06 09:11 +0000 [r5256] robert: * From Eric Wing, updaetes to Xcode projects 2006-07-06 08:36 +0000 [r5255] robert: * From Vivek Rajan, "Rotated text in SCREEN_COORDS was looking a little squished especially in orthographic projection. Performing the rotation before the scaling fixed the problem. I've attached Text.cpp with the fix." From Robert Osfield, in keeping with Vivek's change moved the auto rotate to screen befor the scale as well. 2006-07-05 21:52 +0000 [r5254] robert: * 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." 2006-07-05 21:12 +0000 [r5252-5253] robert: * Updated AUTHORS file * Fixed typo. 2006-07-05 20:56 +0000 [r5251] robert: * From Brede Johansen, "Changed ">" to ">=" when testing for version 16.1 or later." 2006-07-05 13:44 +0000 [r5250] robert: * From Eric Sokolowsky, "There is code in Image.cpp that calculates the size of a compressed image based on the internal format. There is similar code in the Texture class but it does not account for the ARB types. I modified the Texture class implementation to show a warning when an incomplete internal format is used to calculate the image size." 2006-07-05 13:31 +0000 [r5249] robert: * Added mutex to the test context. 2006-07-05 13:18 +0000 [r5248] robert: * Added vertex program hack to get round apparent NVidia bug when handling vertex texture read. 2006-07-05 12:54 +0000 [r5246-5247] robert: * Updated AUTHORS file * More fixes for typos 2006-07-05 10:48 +0000 [r5244-5245] robert: * Updated AUTHORS file * Updated osgversion to correct for ChangeLog typos. 2006-07-05 10:29 +0000 [r5243] robert: * Updated ChangeLog. 2006-07-05 10:24 +0000 [r5241-5242] robert: * Updated NEWS. * First steps towards updating NEWS for 1.1 release 2006-07-05 09:52 +0000 [r5240] robert: * Fixed warnings 2006-07-05 08:59 +0000 [r5239] robert: * From Markus Trenkwalder, "Mingws gcc includes a file called types.h which in turn defines _TYPES_H_. types.h in the directx plugin defines the same include guard. I've renamed the guard name in this file to _DX_TYPES_H_. Now the plugin compile in mingw too." 2006-07-05 08:55 +0000 [r5238] robert: * From Brede Johansen, renaned FLT_preserveFace to preserveFace 2006-07-04 19:58 +0000 [r5237] robert: * Changed parameter name from osberver_ptr to observer. 2006-07-04 19:54 +0000 [r5236] robert: * From Paul Martz, "Previously, the new OpenFlight plugin only allowed ext ref models to use their own palettes. With this change, parent models can override child model palettes with the parent palettes. These changes are made against very current CVS (just updated about 1/2 hour ago, eliminated conflicts, and retested before this posting). To regurgitate what I did: A new class, ParentPools (public osg::Referenced), is created when an ext ref record is parsed, and it is populated with any parent model pools that should override the child model pools (according to bits in the ext ref record). The ParentPools object is then set as UserData on the ProxyNode corresponding to the ext ref. When the ReadExternalsVisitor hits the ProxyNode, it takes its UserData and sets it as UserData in the Options parameter to the osgDB::ReadNode call, which then read the ext ref model. In the course of parsing the Options string, ReaderWriterFLT also looks at the Options UserData and sets the parent pools in the Document class accordingly. When palette records are encountered while loading a file, they are ignored if the corresponding pool was set by the parent. Thanks to Brede for consulting with me on the implementation. " 2006-07-04 14:37 +0000 [r5235] robert: * Updated wrappers. 2006-07-04 14:18 +0000 [r5234] robert: * From Stephan Huber, "attached you'll find some modifications to Producer, osgGA and osgProducer to enable Mac OS X support for + scrollwheels, + mightymouse-srollballs + new tracking-pads with scroll feature + tablet-support (pressure, proximity and pointertype) (Wacom only tested) I think there was a bug in the windows-implementation of scroll-wheel support (wrong order of ScrollingMotion-enum, casting problem) which is fixed now. The scrollwheel-code is a bit klunky across platforms, some devices on OS X can report an absolute delta in pixel-coordinates not only the direction, so for now there is scrollingMotion (which describes the direction) and scrolldeltax and scrolldeltay. I decided to leave the scrollingmotion-stuff to not break old code relying on this." 2006-07-04 13:56 +0000 [r5232-5233] robert: * Updated wrappers. * Change osgText so that the Text drawable now can have its own StateSet that users can assign to it without it being overriden. If none is assigned externally it now uses a StateSet associated wit the Font assigned to the Text. 2006-07-04 13:33 +0000 [r5231] robert: * From Brede Johansen, "The attached file corrects two small typos in MultiSwitch.cpp. The local "values" reference and the "_values" member attribute are of different types but both are vectors so the size() operator happily compiles. A renaming of _values to _masks or similar may be a more future proof solution but the submission only removes the underscore in two places. The switch_1701.flt model part of the Creator gallery revealed this bug." 2006-07-04 12:57 +0000 [r5230] robert: * Fix to Registry::read(ReadFunctor) to better handle reporting of errors 2006-07-04 11:24 +0000 [r5229] robert: * Fixed warnings. 2006-07-04 10:55 +0000 [r5228] robert: * Warning fix. 2006-07-04 10:52 +0000 [r5227] robert: * Warning fix 2006-07-04 09:46 +0000 [r5226] robert: * fixed warning and add a few extra tests 2006-07-04 09:18 +0000 [r5225] robert: * From Roland Smeenk, Added missing initialization to zero of the _carryOver value in default and copy constructor. 2006-07-04 09:13 +0000 [r5224] robert: * From Ulrich Hertlein, updates to DirectX loader 2006-07-03 20:28 +0000 [r5223] robert: * From Brede Johansen, set the default value of texture wrap mode to REPEAT to fix problem with database without .attr files. 2006-07-03 16:31 +0000 [r5222] robert: * Fixed a couple of warnings. 2006-07-03 16:21 +0000 [r5221] robert: * Fixed orientation and lighting of model. 2006-07-03 15:21 +0000 [r5220] robert: * Removed template methods that were break VS6.0 build. 2006-07-03 13:53 +0000 [r5219] robert: * Added a performace test section to osgunitests, currently just does basic C/C++ tests. 2006-07-03 10:47 +0000 [r5218] robert: * Added merge geodes and geometries optimizer call 2006-07-03 09:26 +0000 [r5217] robert: * From Eric Sokolowski, "Added the ability to read and write images directly in the ive plugin, through the osgDB::readImageFile and osgDB::writeImageFile functions. This is useful for storing compressed textures on disk for rapid playback for animations." 2006-07-03 09:22 +0000 [r5216] robert: * From Michael Platings, added support for blend seperates to .ive and .osg 2006-06-30 13:50 +0000 [r5213-5215] robert: * Updated wrappers. * From Michael Platings, added support for glBlendFuncSeperate. * From Eric Sokolowsky, made a couple of methods static. 2006-06-29 19:38 +0000 [r5212] robert: * From David Callu, compile fix for gcc 4.1 2006-06-29 15:57 +0000 [r5211] robert: * Added support for RenderBin's have a local top level StateSet. This is now used by default in the depth sorted bin. 2006-06-29 11:57 +0000 [r5210] robert: * Updated wrappers 2006-06-29 11:00 +0000 [r5209] robert: * Updated wrappers. 2006-06-29 10:19 +0000 [r5207-5208] robert: * Updated wrappers * Changed _WIN32 to _MSC_VER 2006-06-29 10:06 +0000 [r5206] robert: * From Eric Wing, updates to QuickTime plugin 2006-06-29 09:34 +0000 [r5205] robert: * Form Brede Johansen, move from istrstream to istringstream. From Robert Osfield, remapped Paul Martz's changes to Pools.h and PaletteRecords.cpp w.r.t texturePatternIndex being a in16, and converted a char* string to a std::string. 2006-06-29 08:08 +0000 [r5204] robert: * Changed unsinged int to GLuint for OSX compile fix. 2006-06-28 20:38 +0000 [r5203] robert: * Changed unsigned int to GLuint for OSX build. 2006-06-28 14:36 +0000 [r5202] robert: * Change internal variables across to being GLuint. 2006-06-28 11:37 +0000 [r5201] robert: * From Eric Wing, updates to Xcode projects 2006-06-28 11:27 +0000 [r5200] robert: * From Eric Wing, updates to Xcode projects 2006-06-28 10:22 +0000 [r5196] robert: * Made the new OpenFlight plugin the default. 2006-06-28 10:00 +0000 [r5195] robert: * Added a setRadius into the screen space LOD. 2006-06-28 07:17 +0000 [r5194] robert: * From Martin Naylor, build fix for windows. 2006-06-28 07:14 +0000 [r5193] robert: * Removed old #include entries. 2006-06-27 20:13 +0000 [r5192] robert: * Added setting of the CameraConfig:TheradModelDirective 2006-06-27 13:09 +0000 [r5191] robert: * From Eric Wing, added support for outline/shadow and colour gradient effects. 2006-06-27 12:08 +0000 [r5189-5190] robert: * 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 * From Eric Wing, added support for outline/shadow and colour gradient effects. 2006-06-27 10:07 +0000 [r5188] robert: * From Terrex and Andrew Sampsom and Don Tidrow and Robert Osfield, email comments from Andew Sampson, "I've contacted Terrex, and obtained the 2.2 version of their trpage library. The library included a fork of OSG 0.9.8's txp plugin, modified to load 2.1+ txp DBs. I've done the work of incorporating the changes made to OSG's txp plugin since 0.9.8 into Terrex's fork. The forked version is now up-to-date with the changes made to OSG 0.9.9 and 1.0. Terrex made a lot of changes (especially differences in whitespace), so the diff between the forked version and OSG 1.0's txp plugin is yucky. I did my best, but keep in mind that this is the result of a 4-way merge (kinda... terrex-0.9.8, stock-0.9.8, stock-0.9.9, stock-1.0). I really want to see this forked version merged back into the main OSG branch. The new features offered by this version of the plugin (2.1+ support, variable LOD support, bug fixes) are worth the trouble." -- Don Tidrow then took this code and added his work. -- Robert Osfield then fixed all the warnings that abound in the trpage code base. 2006-06-26 20:45 +0000 [r5185-5187] robert: * Replaced ref_ptr<>:take with ref_ptr<>:release, and added handling of removeal of ref_ptr<> operator >. * Added DeleteHandler flush call. * From Tyge Løvset, ref_ptr<> template constructor, operators and associated functions. From Robert Osfield, tweaks and fixes to the above, also removed the deprecated take() method. 2006-06-26 20:35 +0000 [r5184] robert: * Added a functional DeleteHandler. 2006-06-26 15:18 +0000 [r5183] robert: * Fixed crash on osgconv --compressed cow.osg cow.ive 2006-06-26 10:57 +0000 [r5182] robert: * Changed GLunit usage to unsigned int. 2006-06-26 10:39 +0000 [r5181] robert: * From Andreas Ekstrand, fix for Windows 2006-06-26 09:56 +0000 [r5180] robert: * From Leandro Motta Barros, documentation additions to PrimitiveSet & TriangleFunctor. 2006-06-26 09:30 +0000 [r5179] robert: * From Philipp Siemoleit, There are some group codes (i.e. "62") which are interpreted as dxfDataType::SHORT. That's right because the dxf-specification defines "16 bit integer" as the type for the corresponding value. But readerBase::readGroup() calls readValue(std::ifstream&, unsigned short). I changed readValue(std::ifstream&, unsigned short) to readValue(std::ifstream&, short). I found no group code at the dxf-specs which needs a "16 bit unsigned integer" value. So the readValue(std::ifstream&, unsigned short) function is obsolete - right? 2006-06-26 09:18 +0000 [r5178] robert: * From David Fries, Reset only the RenderLeaf objects used in the last frame as given by the _currentReuseRenderLeafIndex instead of resetting all leaves which can be very time consuming. 2006-06-26 09:09 +0000 [r5177] robert: * From Martin Naylor, added osgGA dependency to osgkeyboardmouse 2006-06-16 09:28 +0000 [r5175] robert: * Fixed typo. 2006-06-12 14:04 +0000 [r5174] robert: * Added pick handler. 2006-06-12 11:32 +0000 [r5173] robert: * Revamped osgkeyboardmouse to use the osgGA. 2006-06-12 09:57 +0000 [r5172] robert: * From Mathew May, FreeBSD build fixes. 2006-06-08 15:27 +0000 [r5169] robert: * Martin Spindler, new osg::ClampColor state attribute. 2006-06-08 14:32 +0000 [r5168] robert: * From Paul Martz, added support to textured light points into osgSim and OpenFlight loader, as part of the OpenFlight v16.0 spec. 2006-06-08 13:34 +0000 [r5167] robert: * From Matt Green, fix to handling of centering of multi-line text entries. 2006-06-08 12:09 +0000 [r5165-5166] robert: * From Paul Martz, clean up of comments. * From Mike Weiblen, reverted shaders changes due to lack of hardware/driver support 2006-06-08 11:58 +0000 [r5163-5164] robert: * 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. * From Paul Martz, fixed incorrect filename in project file 2006-06-08 11:39 +0000 [r5162] robert: * With direction from Paul Melis, fixed bug in CopySharedSubgraphsVisitor which prevented it being applied. Also fix inappropriate comment. 2006-06-08 11:22 +0000 [r5161] robert: * From Joan Abadie: patch fixes : "osgDB::makeDirectory doesn't work on win32 when using full path name like : "d:/demo" it tryes a mkdir("d:")." 2006-06-08 11:19 +0000 [r5159-5160] robert: * Added setting of default colour. * added SphereSegment test code segment, commented out at pressent. 2006-06-05 16:25 +0000 [r5157-5158] robert: * Added missing clip against maximum azimuth. * Added extra SphereSegment intersection tests. 2006-06-05 16:06 +0000 [r5156] robert: * Improved stats sizing in presense of wide screens. 2006-05-29 09:08 +0000 [r5155] robert: * Reverted changes from revision 1.4, as they look like a temporary hack not intended to be merged. 2006-05-26 15:19 +0000 [r5154] robert: * From Jason Baverage, support for interpolating DEM data from GDAL to the positions required for the current tile. 2006-05-23 19:03 +0000 [r5153] robert: * Ran dos2unix of files 2006-05-22 19:30 +0000 [r5152] robert: * Cleaned up the OpenGL error reporting. 2006-05-16 21:32 +0000 [r5151] robert: * Updated wrappers. 2006-05-16 21:20 +0000 [r5150] robert: * Minor tweaks of ints to unsigned ints 2006-05-16 21:00 +0000 [r5148-5149] robert: * From Mike Weiblen, futher work on Uniform array support. * From Mike Weiblen, support for new Uniform arrays. From Robert Osfield, refactor of above with original code to ensure backwards compatibility. 2006-05-16 10:21 +0000 [r5147] robert: * Compile fixes for OSX 2006-05-15 15:46 +0000 [r5146] robert: * From Mike Weiblen, support GLSL uniform arrays. A couple of tweaks and fixes from Robert Osfield. 2006-05-15 13:22 +0000 [r5145] robert: * 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." 2006-05-15 13:13 +0000 [r5143-5144] robert: * Replaced BoundingBox with GeospatialExtents. * From Jason Baverage, A dded GeospatialExtents bounding box class which used doubles in place of the original usage of osg::BoundingBox. Added path for computing interpolation elevation data being read from GDAL. 2006-05-15 11:56 +0000 [r5142] robert: * From Eric Wing, removed trailing commans from enum lists. 2006-05-15 11:53 +0000 [r5141] robert: * From Eric Wing, compile fix for OSX. 2006-05-15 11:48 +0000 [r5140] robert: * From Daniel Trastenjak, added checking of binding modes to ensure that changes are only applied when the binding mode changes, thereby avoiding uncessary calls to dirtyDisplayList. Note, from Robert Osfield, moved bodies of set*Binding() into Geometry.cpp to avoid clutter in the header. 2006-05-15 11:38 +0000 [r5139] robert: * From Adrian Egli, added std::ifstream::binary qualifier to ifstream usage. 2006-05-15 11:27 +0000 [r5138] robert: * From Paul Martz, "add support for the v16.0 "Add" texture environment and "mirrored repeat" wrap mode." 2006-05-15 11:22 +0000 [r5137] robert: * Changed instances of setCoord(const Vec3) to setCoord(const Vec3&) style. 2006-05-15 11:18 +0000 [r5136] robert: * From Brede Johansen, "- Replaced some member attributes with local variables in Face record. - Multitexture support in Vertex class. - Renamed VertexList to VertexListRecord (VertexList is now a Vertex array) - new Mesh (with reserved field at offset 12, thanks to Paul Martz) - new LocalVertexPool - new MeshPrimitive - Use ProxyNode for externals. - Local cache for externals" 2006-05-15 09:55 +0000 [r5135] robert: * Added VisualStudio project for Quake3 BSP plugin 2006-05-15 09:46 +0000 [r5134] robert: * From Carlos García and Paul Baker, Port of Paul Baker's Quake3 BSP loader to OSG by Carlos García. Added Quake3 BSP plugin. 2006-05-09 09:47 +0000 [r5133] robert: * From Farshid Lashkari, "The drawInner() method of osgUtil::RenderStage ignores the checkForGLErrors flag of the osg::State object. The attatched file fixes this." 2006-05-09 09:42 +0000 [r5132] robert: * From Tree, build fixes for JavaOSG build. 2006-05-09 09:35 +0000 [r5131] robert: * From Farshid Lashari, round funciton. 2006-05-09 09:13 +0000 [r5129-5130] robert: * Removed redundent variable declaration. * From Farshid Lashkari, "The setScale(Vec3) method of osg::AutoTransform does not dirty the matrix. The fix is attached." 2006-05-04 19:39 +0000 [r5128] robert: * Updated wrappers 2006-05-04 19:36 +0000 [r5127] robert: * Added removeChild(unsigned int, unsigned int) back in for backward compatibility. 2006-05-04 19:15 +0000 [r5126] robert: * Fixed expire of children to work with the new Group::removeChildren method. 2006-05-02 15:52 +0000 [r5125] robert: * Added selective support for thread safe ref/unref such that the rendering backend now doesn't use thread safe ref counting where multi-buffering exists. This reduces the overhead of multi-threading. 2006-05-02 09:50 +0000 [r5123-5124] robert: * Updated wrappers. * Fixed docs on GL_SCALE_NORMAL 2006-05-02 09:45 +0000 [r5122] robert: * Reorganised the Group::removeChild and Geode::removeDrawable methods so that removeChild(Node*), removeChild(uint) and equivilant Geode methods are now inline methods, not designed to be overriden, and seperated out the multiple remove method to be called removeChildren(uint, uint) which is now the only virtual method. There removeChildren is now the method to override in subclasses. This reorganisation requires some call code to be rename removeChild usage to removeChildren. 2006-05-02 09:18 +0000 [r5121] robert: * Fixed popping of state frustum. 2006-05-01 16:20 +0000 [r5120] robert: * From Colin MacDonald, fixed handling of an adding a graphics context after the creating of the osgText::Text. 2006-05-01 16:13 +0000 [r5118-5119] robert: * Ran dos2unix. * From Eric Wing, updated precompiled header list in new project file template. 2006-05-01 16:05 +0000 [r5117] robert: * From Eric Wing, removed trailing semi colonds from namespace end bracket. 2006-05-01 14:51 +0000 [r5116] robert: * From Mathew May, FreeBSD support for AMD64. 2006-04-28 10:48 +0000 [r5114] robert: * Added catch for thread model w.r.t new PrecipitationEffect not being sensitive to threading issues. 2006-04-25 13:50 +0000 [r5113] robert: * UPdated wrappers 2006-04-25 12:56 +0000 [r5112] robert: * Added UseFarLineSegments option 2006-04-25 12:39 +0000 [r5111] robert: * Implemented seemless update of precipitation properties. 2006-04-25 09:00 +0000 [r5110] robert: * Reset the default number of graphics context to 1. 2006-04-24 21:48 +0000 [r5109] robert: * Moved LessFunctor into header. 2006-04-24 16:21 +0000 [r5108] robert: * Moved PrecipitationParameters directly into PrecipitationEffect. 2006-04-24 11:24 +0000 [r5107] robert: * Added depth sorting of cells. 2006-04-24 10:32 +0000 [r5106] robert: * Added near/far compute. 2006-04-24 09:35 +0000 [r5105] robert: * Added osgParticle dependency to osgPrecipitation example. 2006-04-24 08:37 +0000 [r5104] robert: * Added osgUtil to the osgParticle dependencies. 2006-04-24 06:36 +0000 [r5103] robert: * Added support for wind. 2006-04-22 15:08 +0000 [r5101-5102] robert: * Moved PrecipitationEffect node into osgParticle. * Decreased notify level of debug message. 2006-04-22 06:33 +0000 [r5100] robert: * Moved PrecipitationDrawable into PrecipitationEffect. 2006-04-21 19:39 +0000 [r5099] robert: * Added new precipitation nodes. 2006-04-21 17:16 +0000 [r5098] don: * Fixed a cut-n-paste error in the ground intersects. 2006-04-19 19:00 +0000 [r5097] robert: * Fixed mouse scroll mapping. 2006-04-19 13:04 +0000 [r5096] robert: * Convertered shaders across to using modelview matrix instead of uniforms. 2006-04-17 19:10 +0000 [r5095] robert: * Standardised the bin number of the particle effects 2006-04-17 13:25 +0000 [r5094] robert: * Added setting of the FrameStamp on the RenderStage's local GraphicsContext to keep it in sync with the calling graphics context. 2006-04-14 16:44 +0000 [r5093] robert: * Added inline shaders so that the tha example can be run from any directory. 2006-04-14 15:03 +0000 [r5092] robert: * Further tweaks to settings to improve performance at mid intensity ranges 2006-04-14 14:24 +0000 [r5091] robert: * Refined the default settings for rain and snow to achieve better framerates. 2006-04-14 11:04 +0000 [r5090] robert: * Added fog parameters settings. 2006-04-14 08:28 +0000 [r5089] robert: * From Ben Discoe, added missing drawable->dirtyDisplayList(). 2006-04-13 20:21 +0000 [r5088] robert: * Added --numberOfParticles, --numberOfCellsX, --numberOfCellsY, --numberOfCellsZ, --boundingBox, --fogEnd and --fogDensity controls 2006-04-13 19:05 +0000 [r5087] robert: * Added command line options and various speed improvements. 2006-04-12 11:59 +0000 [r5086] robert: * Implement positioning of cells via vertex attribute. 2006-04-12 09:42 +0000 [r5085] robert: * 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. 2006-04-11 19:56 +0000 [r5084] robert: * Added support for LOD's with transistion between quads and point rendering. 2006-04-11 13:22 +0000 [r5083] robert: * Added support for point sprite particle effects. 2006-04-11 10:53 +0000 [r5082] robert: * Added point and line paths. 2006-04-11 08:44 +0000 [r5081] robert: * Added setting of the DisplaySettings::setMaxNumberOfGraphicsContext() to the number of contexts required by Producer. 2006-04-10 15:45 +0000 [r5080] robert: * From Martin Naylor, osgprecipitation project file. 2006-04-07 19:54 +0000 [r5079] robert: * Added mipmap generation. 2006-04-07 18:24 +0000 [r5078] robert: * Added quad based rain effect 2006-04-06 14:06 +0000 [r5077] robert: * From Brede Johansen, added MergeGeode visitor to osgUtil::Optimizer. 2006-04-05 15:13 +0000 [r5076] robert: * Added beginings osgprecipitation example. 2006-04-04 23:22 +0000 [r5075] don: * Fixed a bug in the DelaunayTriangulator uniquify points method. Was always skipping the first point. 2006-04-04 14:10 +0000 [r5074] robert: * Added missing .js file. 2006-04-04 13:47 +0000 [r5073] robert: * From Joran Jessurun and Chris Hanson, Visual Studio Static build support. 2006-04-04 13:20 +0000 [r5071] robert: * Updated wrappers. 2006-04-04 12:58 +0000 [r5069] robert: * Converted SceneHandlerList to use Producer::ref_ptr<> 2006-04-04 12:53 +0000 [r5068] robert: * From Eric Wing, XCode project files. 2006-04-03 19:14 +0000 [r5067] robert: * #if'd out use of barrier for stats collection. 2006-04-03 18:25 +0000 [r5066] robert: * Temporary fix for hang in stats when multi-threaded. 2006-03-31 01:37 +0000 [r5065] don: * Don Tidrow's ifdef for MingW 2006-03-30 10:20 +0000 [r5064] robert: * Build fixes to cope with changes to Producer/osgProducer. 2006-03-29 23:32 +0000 [r5063] don: * Updates to osgProducer to bring it up to speed with changes in Producer 2006-03-28 16:08 +0000 [r5062] robert: * From Mike Weiblen, changes to internal help class in prep for array uniform support. Small tweaks for build under Linux from Robert Osfield. 2006-03-28 14:45 +0000 [r5061] robert: * From Glenn Waldrom, addition of .ive support for PriorityOffset and PriorityScale. 2006-03-28 10:45 +0000 [r5060] robert: * From Eric Sokolosky, added help for PRODUCER_CAMERA_BLOCK_ON_VSYNC 2006-03-28 10:28 +0000 [r5059] robert: * From Mike Weiblen, added support for new OSG_IMAGE_FILE_NAME env var for setting the default name to use when writing out captured images from the viewer. 2006-03-27 20:30 +0000 [r5058] robert: * Updated ChangeLog. 2006-03-18 07:07 +0000 [r5057] robert: * From Farshid Lasharki, added IO suppoty fo osgParticle::ConstantRateContour 2006-03-17 22:25 +0000 [r5054-5056] robert: * Updated wrappers. * Added exports. * From Keith Steffen, changed instance of sun to sun_geode to avoid Solaris10 build issue with it defining "sun"?#! 2006-03-17 14:05 +0000 [r5053] robert: * From Farshid Lashkari, Added ability to read/write the texture tile settings of osgParticle::Particle to .osg files. 2006-03-17 11:28 +0000 [r5052] robert: * From Sohey Yamamoto, fixed eroneous CHECK_BLACK_LISTED_MODES enum value, changing 0xA0 to 0x100 2006-03-15 15:49 +0000 [r5051] robert: * Added createEvent() convinience method. 2006-03-15 12:26 +0000 [r5049-5050] robert: * Added comment on the meaning of the matrix paramter in the computeIntersections methods. * Added moving sphere segment intersections. 2006-03-15 11:21 +0000 [r5048] robert: * From Martin Naylor, build fix for Win32. 2006-03-15 10:36 +0000 [r5047] robert: * From Martin Naylor, added ESRIShape.dsp project 2006-03-14 13:18 +0000 [r5046] robert: * Build fixes 2006-03-14 09:33 +0000 [r5045] robert: * Added 21 as the version number of xine video plugin to allow it work with latest versions of xine. 2006-03-14 09:23 +0000 [r5044] robert: * From Martin Naylor, added normals VS project 2006-03-13 21:29 +0000 [r5043] robert: * From Farshid Lashkari, "The following patch adds a multisample option to the osg::DisplaySettings class. OsgCameraGroup will now read the setting from the DisplaySettings instead of hardcoding the value. I added the following commandline option to be able to set the multisample value: --samples One thing to note, OsgCameraGroup would previously check if the computer is an SGI and set multisample to 4. I retained this check in DisplaySettings to be backwards compatible." 2006-03-13 21:20 +0000 [r5042] robert: * From Andrew Sampson, "The terravista terrain generation tool can insert references to external model files into a terrapage tile. It unfortunately does not update the bounding sphere of that tile to include the extents of the external model. This means that if a large model (such as an airfield model) is attached to a tile, the model will disappear when the tile is off-screen (outside the view volume), even though the model is on-screen." 2006-03-13 13:19 +0000 [r5041] robert: * Added an EventQueue directly into osgProducer::Viewer. 2006-03-09 15:16 +0000 [r5040] robert: * Checked in the genwrapper generated Export.cpp. This does seem to be an eroneously built file though since Export.cpp doesn't appear in the other plugins... I have checked it in here to keep the builds running, there isn't actually any useful body in the Export.cpp. 2006-03-09 13:02 +0000 [r5039] robert: * Ran dos2unix on new OpenFlight files. 2006-03-08 21:38 +0000 [r5038] robert: * From Brede Johansen, new OpenFlight plugin!!!!! By default the original flt plugin is still used, to select at runtime the new plugin set the env OSG_OPEN_FLIGHT_PLUGIN=new 2006-03-08 16:11 +0000 [r5037] robert: * From Bob Kuehne, added osg::getGlVersion() and fixed a minor typo in Texture3D. 2006-03-08 15:40 +0000 [r5036] robert: * Added EventQueue. 2006-03-08 15:30 +0000 [r5035] robert: * From Farshid Lashkari, "A while back the behaviour of extension alias' was modified so that the user can override existing alias'. The change allowed for circular references, so the createLibraryNameForExtension would get caught in an endless loop. The following fix will catch circular references." 2006-03-08 15:26 +0000 [r5034] robert: * From Farshid Lashkari, "I noticed that sometimes when a particle emitter is re-enabled, a few particles will appear at the location it was disabled at. The problem is that the previous local to world matrix is not being updated while it is disabled. I modified the particle processor so that it will set the dirty flag for the previous local to world matrix when the processor is skipped for a frame, since the value will no longer be relevant." 2006-03-08 15:16 +0000 [r5033] robert: * From Roger James, "1. Fixed a problem with the caching of textures when the associated image file was not in the current working directory. In this case the texture object was being placed in the cache with the short filename, but was looked up with the full path. 2. Fixed a problem with the caching of textures when CACHE_IMAGES was enabled. This caused a conflict is the names used to cache the image and texture objects. 3. Fixed a problem where AC3D generates surfaces with duplicate vertex indices. 4. Removed what I believe are redundant calls to the tesselator. 5. Added a couple of asserts which should fire in debug mode if my assumptions about 4. are incorrect. 6. Removed obviously unused code. (Stuff that was commented or ifdeffed out.)" Note, from Robert Osfield, changed the asserts to if () report error using notify so we can catch errors in both optimized and debug builds, but without crashing. 2006-03-08 14:09 +0000 [r5032] robert: * Converted osgGA::GUIEventAdapter into a concrete class capable of respresenting keyboard and mouse events. Added osgGA::EventQueue class to support a thread safe event queue and adaption of keyboard and mouse events. Removed osgProducer::EventAdapter as GUIEventAdapter replaces it. Adapted osgProducer and examples to work with the new changes to osgGA. 2006-03-07 18:26 +0000 [r5031] don: * Improved the GET protocol for the http socket. By adding Connection: close the server sends a EOF immediately after the data, improving performance because readers are not left waiting for EOF. 2006-03-05 20:46 +0000 [r5030] robert: * Began work on making EventVisitor capable of adapting events directly. 2006-03-02 20:39 +0000 [r5029] robert: * From Farshid Lashkari, support for writing to istream for the the TIFF plugin and support for controlling PNG compression level via the the ReaderWriter::Option string "PNG_COMPRESSION " 2006-03-02 20:31 +0000 [r5028] robert: * Added automatic toggling between png and jpeg when compressImageData option is used. Jpeg is used to compress RGB data only, the just of the formats are passed on to the png plugin. 2006-03-02 15:26 +0000 [r5027] robert: * From Robert Swain, compile fix for debian unstable. 2006-03-02 14:58 +0000 [r5025] robert: * From Farshid Lashakari, support for png write. 2006-03-01 10:17 +0000 [r5024] robert: * From Farshid Lashkari, "I've attached another modified version of the IVE loader which supports compressing the image data. The option to compress the data is "compressImageData". Currently it uses the jpeg plugin to write the image. Maybe we could add an option that allows the user to specify which image format to use. The jpeg writer supports specifying the quality of the jpeg, so you could use the following command line to convert the skydome.osg model to IVE using 50% jpeg quality: osgconv -O "compressImageData JPEG_QUALITY 50" skydome.osg skydome.ive" 2006-02-28 21:18 +0000 [r5023] robert: * Added TextureRectangle.cpp 2006-02-28 20:10 +0000 [r5022] robert: * Compile fix. 2006-02-28 19:46 +0000 [r5021] robert: * From Brede Johansen, added missing array handling into Geometry::accept(AttributeFunctor& af) and Geometry::accept(ConstAttributeFunctor& af). 2006-02-28 19:36 +0000 [r5020] robert: * Further clean up of RefNodePath references. 2006-02-28 19:12 +0000 [r5019] robert: * Updated wrappers. 2006-02-28 18:54 +0000 [r5018] robert: * Fixes to removed dependency on RefNodePath. 2006-02-27 19:51 +0000 [r5015-5017] robert: * Updated wrappers. * Ported NodeTrackCallback and NodeTrackManipulator across to use oberserver_ptr instead of RefNodePath. Removed now redundent RefNodePath. * Added support in osg::computeWorldToLocal and compteLocalToWorld functions for automatically stripping any absolute or root CameraNode's from the NodePaths. Added osg::Node::getWorldMatrices() convinience method. 2006-02-27 19:44 +0000 [r5014] robert: * Added new observer_ptr templated smart pointer to allow one to retain pointers to objects but have the pointer reset to null if that object is deleted. 2006-02-26 17:45 +0000 [r5013] robert: * From Farshid Lashkari, "I've made some changes to the IVE loader which will add the capability of saving image files inside the IVE file. Currently, only the raw image data is saved into the file. If your model uses jpg images as textures then this will cause your file size to increase. I've added an option that will embed the original image file into the IVE file. The IVE file will then attempt to read the image from memory. Since most image loaders support reading from memory, this shouldn't be a problem. To use this new feature the user must specify the option "includeImageFileInIVEFile" when converting to IVE. I tested this out on the "skydome.osg" model that comes with OSG. Using the old method, the IVE file size would be 785 KB, with the new method it is only 42 KB. Also, I've added the support for TextureRectangle's to the IVE reader/writer." 2006-02-24 13:57 +0000 [r5011-5012] robert: * Added debugging code to help pick out instablilities in osgParticle. Debugging code now commented out. * Added clamping of the wind force contribution to acceletion of particle so that the de-acceleration never exceed the actual wind vector itself. 2006-02-23 20:37 +0000 [r5010] robert: * Completed .osg support for ClusterCullingCallback. 2006-02-23 16:47 +0000 [r5009] robert: * Disabled the running of tristripping and smoothing from within the Simplifier. 2006-02-23 12:41 +0000 [r5007-5008] robert: * From Gordon Tomlinson, spelling fixes. * Fixed function name call. 2006-02-22 20:51 +0000 [r5006] robert: * Fixed getBound() comment. 2006-02-22 19:28 +0000 [r5005] robert: * Updated wrappers. 2006-02-22 19:14 +0000 [r5004] robert: * Fixed typo of Validity. 2006-02-22 16:05 +0000 [r5003] robert: * From Thom Carlo, with tweak from Robert Osfield, removed the setting of the outline colour (the emission part of material) during setup of the Carton effects for the second pass. 2006-02-22 14:35 +0000 [r5002] robert: * Fixed documentation. 2006-02-22 14:31 +0000 [r5001] robert: * Added support for OpenGL mode black listing to provide better support for extension checking and invalidation of OpenGL modes associated with extensions. 2006-02-21 21:29 +0000 [r4999-5000] robert: * Added ClusterCullingCallback.cpp * Added initial cut of ClusterCullingCallback .osg support. 2006-02-21 14:34 +0000 [r4998] robert: * From Gordon Tomlinson, spelling fixes. 2006-02-21 13:55 +0000 [r4997] robert: * From Gordon Tomlinson, VS2005 Syntax highling regonition. 2006-02-21 13:51 +0000 [r4996] robert: * 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." 2006-02-21 12:39 +0000 [r4995] robert: * From Trajce Nikolov, "small fix for the flt loader - the back color of the bidirectional light points" 2006-02-20 21:05 +0000 [r4994] robert: * From Ulrich Hertlein, spelling corrections and a few Doxgen comments. 2006-02-20 20:06 +0000 [r4993] robert: * From Eric Sokolowsky, "There was a problem with the PNG plugin when it encounters an image that is less than 8 bits per pixel (this can happen with greyscale or paletted images). It was a pretty simple problem to fix." 2006-02-20 19:13 +0000 [r4992] robert: * From Nathan Monteleone, addition of AutoTransform support. 2006-02-20 16:50 +0000 [r4991] robert: * Moved the intialization variable reset to end of the init funciton to avoid multi-thread initialization from producing different results. 2006-02-20 16:20 +0000 [r4990] robert: * From Ed Ralston, "According to the OSX Developer Documentation, CFRelease cannot be called with a NULL argument. This patch prevents osgDB::FileUtils from doing this." 2006-02-20 15:46 +0000 [r4989] robert: * Added missing swap byte operations to readVec*sArray() methods. 2006-02-20 15:32 +0000 [r4988] robert: * From Daniel Larimer, fixed error is swap byte code handling vector 2006-02-20 15:25 +0000 [r4987] robert: * From Markus Trenkwalder, "when building debug libs in mingw the .dll.a files are not copied to the lib/MINGW(32) folder. The makefiles in the attached zip should fix this." 2006-02-09 19:31 +0000 [r4986] don: * Fixed a bug spotted in UFOManipulator where a Vec3's 4th component was being inspected (ip[3]). 2006-02-09 12:20 +0000 [r4985] robert: * Added BlenColour(Vec4) constructor and updated wrappers. 2006-02-08 23:41 +0000 [r4984] don: * Added a filter to the Delaunay Triangulator to insure that incoming points are unique in the X and Y components. 2006-02-06 20:36 +0000 [r4983] robert: * Added s/getDoTriStrip and s/getSmoothing method. 2006-02-06 19:41 +0000 [r4981-4982] don: * Added normals and ESRIshape directories to makedirdefs * Added 'normals' pseudoloader 2006-02-06 19:16 +0000 [r4980] robert: * Improved default settings, re-enambled smoothing and tri stripping of sampled data. 2006-02-06 17:12 +0000 [r4979] robert: * Added support for up sampling by dividing longest edges. 2006-02-05 21:53 +0000 [r4978] robert: * From David Guthrie, OSX marco reworking to better handling different OSX versions. 2006-02-04 21:25 +0000 [r4977] robert: * From Edmond Gheury, fixe and bug in the PrimitiveShapeVisitor. 2006-02-04 21:20 +0000 [r4976] robert: * 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" 2006-02-04 21:12 +0000 [r4975] robert: * From Brad Anderegg, add _frameNumber and associated code to ensure that particles only get updated once per frame. 2006-02-04 21:06 +0000 [r4974] robert: * From Chris Hanson, added get methods for size of file request and data to compile lists. 2006-01-24 17:43 +0000 [r4972] don: * Changes to zip and tgz plug-ins to allow for use of TEMP variable on Windows. Submitted by Zach Deedler 2006-01-24 12:02 +0000 [r4971] robert: * cleaned up clampNearNar code. 2006-01-23 20:38 +0000 [r4970] robert: * Improved the env var reporting to avoid the overlong lines. 2006-01-23 20:16 +0000 [r4969] robert: * Added explanation of --no-terrain-simplification 2006-01-21 13:02 +0000 [r4968] robert: * Updated wrappers. 2006-01-18 12:16 +0000 [r4966-4967] robert: * From Marco Jez, adding osgDB::findDataFile() usage. * 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 2006-01-18 12:03 +0000 [r4965] robert: * From Maya Leonard, ERSIShape VS project file, and compile fixes for Win32. 2006-01-18 11:45 +0000 [r4964] robert: * From Marco Jez, addition of glw extension checking under Windows, and tweaks to BlendEquation and RenderStage to correct the extensions being tested. 2006-01-17 17:04 +0000 [r4963] robert: * From Zbigniew Sroczynski, fix for handling of paths with spaces. 2006-01-17 15:18 +0000 [r4959-4960] robert: * Added new BoxPlacer files. * From Zach Deedler, addition of osgParticle/BoxSpacer. 2006-01-16 17:05 +0000 [r4957-4958] robert: * Improved handling of clean up of osg::Program/osg::Shader on closing of a graphis context. * Fixed indenting. 2006-01-12 22:43 +0000 [r4956] robert: * Added support for tracking mouse movement and computing the intersection of the mouse position into texture coords. 2006-01-03 16:52 +0000 [r4955] robert: * Added ability to write out the selected parts of the scene graph. 2006-01-03 10:44 +0000 [r4954] robert: * Moved the body of the FBOExtensions::instance() to the .cpp and added bool to control whether that an FBOExtensions structure can be created if missing. 2006-01-02 12:03 +0000 [r4953] robert: * Standardised compile code to use _maximumNumOfObjectsToCompilePerFrame. 2005-12-23 10:59 +0000 [r4951-4952] robert: * Ported picking across to using PickVisitor. * Added setting of the parent path on the new PickVisitor. 2005-12-22 14:06 +0000 [r4950] robert: * Seperated out the view and model matrices in IntersectVisitor to allow handling of world coordinates better when using PickVisitor. 2005-12-21 10:32 +0000 [r4949] robert: * Added support for an externally referenced shader file, via the keyword combinations file "shader.vert" OR file shader.vert. 2005-12-20 09:29 +0000 [r4948] robert: * Removed "if (mapExt!=toExt)" from alias map assignement to allow aliases to be overriden for all cases. 2005-12-20 09:13 +0000 [r4947] robert: * From Farshid Lashkari, compile fix 2005-12-19 15:05 +0000 [r4946] robert: * Added check against the validity of the _inverse matrix pointer. 2005-12-19 14:48 +0000 [r4945] robert: * From Ali Botorabi, adding of osg::Depth support in .ive format. 2005-12-19 13:57 +0000 [r4944] robert: * Added debugging info for future reference (currently commented out.) 2005-12-19 13:40 +0000 [r4943] robert: * Added transform of the eye point into local coordinates to properly account for transforms within the scene graph. 2005-12-19 12:00 +0000 [r4942] robert: * Fixed computeWindowMatrix so that it properly accounts for x,y position of the viewport. 2005-12-19 11:18 +0000 [r4941] robert: * From Eric Wing, made getLineCount() const. 2005-12-18 16:06 +0000 [r4940] robert: * Improved handling of clamping of projection matrix for scenes with close to zero depth range. 2005-12-16 17:01 +0000 [r4939] robert: * Fixed null matrix op. 2005-12-16 16:27 +0000 [r4938] robert: * Fixed handling of absolute transforms in IntersectVisitor. 2005-12-16 14:53 +0000 [r4937] robert: * Fixed typo in text string. 2005-12-16 11:04 +0000 [r4936] robert: * Added back in Switch::removeChild(Node*) 2005-12-15 20:56 +0000 [r4935] robert: * Added proper catch of Paul de Repentinguy name 2005-12-15 19:38 +0000 [r4934] robert: * Updated wrappers. 2005-12-15 17:14 +0000 [r4933] robert: * Improved stats handling, and fixed a couple of stats bugs. 2005-12-15 16:30 +0000 [r4932] robert: * From Jason Beverage, added option to control whether simplification of tiles is done during osgdem builds. 2005-12-15 16:24 +0000 [r4931] robert: * From Matthew May, fixes for threading problems under FreeBSD build. 2005-12-15 15:50 +0000 [r4929] robert: * Removed Switch::removedChild(Node*) as the Group::removeChild(Node*) implementation should be sufficient, as it calls the virtual removeChild(uint,uint). 2005-12-15 15:36 +0000 [r4928] robert: * From Paul de Repentigny, ciyple fo fixes for the DXF reader. 2005-12-15 15:25 +0000 [r4927] robert: * From Yefei He, fix to QUAD_STRIP stats. 2005-12-09 22:53 +0000 [r4925] robert: * Updated version/revision for 1.0.0 release. 2005-12-09 20:17 +0000 [r4921] robert: * Updated NEWS and AUTHORS files for the release. 2005-12-09 20:10 +0000 [r4920] robert: * Updated ChangeLog for 1.0 release. 2005-12-09 20:03 +0000 [r4919] robert: * Fixed typo in comments and onscreen help. 2005-12-09 19:54 +0000 [r4918] robert: * Fixed the text to match the implementation. 2005-12-09 19:34 +0000 [r4917] robert: * From Thom DeCarlo, changed of ?= to = in Cygwin/minw options for INST_LOCATION. 2005-12-09 19:14 +0000 [r4916] robert: * From Simon Julier, library reordering for compiling osgTerrain under cygwin. 2005-12-09 16:00 +0000 [r4915] robert: * Changed constructors to use unsigned int to get round VS6.0 + wrapper problems. 2005-12-09 15:05 +0000 [r4914] robert: * From Simon Julier, fix for .exe extension under Mingw/Cygwin. 2005-12-09 14:52 +0000 [r4913] robert: * Build fix for VS6.0 in the template constructors 2005-12-09 11:22 +0000 [r4912] robert: * From Eric Wing, added missing removeChildren method. 2005-12-09 09:38 +0000 [r4911] robert: * From Eric Sokolosky, add setting of _cameraRequiresSetUp in constructor to avoid uninitialized variable. 2005-12-08 22:12 +0000 [r4909] robert: * Updated NEWS. 2005-12-08 20:32 +0000 [r4908] robert: * From Paul Martz, changed Vec3 to Vec3d to ensure that the lazy evaluation of computeBound work properly. 2005-12-08 14:08 +0000 [r4907] robert: * From Simon Julier, fixed typo of unknown. 2005-12-08 12:02 +0000 [r4905] robert: * Updated AUTHORS and ChangeLog for rc9. 2005-12-08 11:53 +0000 [r4904] robert: * Updated NEWS from wiki ammendments. 2005-12-08 11:37 +0000 [r4903] robert: * From Simon Julier, build fixes for Cygwin/mingw 2005-12-08 11:01 +0000 [r4900] robert: * Added support for pre and post relative transforms on cameranode. 2005-12-08 10:06 +0000 [r4899] robert: * 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. 2005-12-08 10:03 +0000 [r4898] robert: * Changed s/getGdalDataset() methods to use void* to avoid introspeciton wrapping problems. 2005-12-08 08:57 +0000 [r4897] robert: * From Eric Wing, fix to comment. 2005-12-07 15:29 +0000 [r4895-4896] robert: * 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. * 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 2005-12-07 12:29 +0000 [r4894] robert: * Updated NEWS for release 2005-12-07 11:38 +0000 [r4892-4893] robert: * From Eric Wing, fixed typo induced bug. * Added Camera::isRenderToTextureCamera() method, and improved support in PickVisitor and IntersectVisitor for CameraNode, including the ignoring of render to texture cameras, such that HUD's etc are still intersected against. 2005-12-07 10:25 +0000 [r4891] robert: * Moved PickVistor into osgUtil 2005-12-07 09:48 +0000 [r4890] robert: * Enabled thread safe counting by default. 2005-12-06 21:59 +0000 [r4889] robert: * Improved the PickVisitor to make it more flexible and robust. 2005-12-06 12:07 +0000 [r4888] robert: * Removed osgdemeter example from distribution because it no longer compiles, and Demeter itself nolonger compiles, osgdemeter has now been moved to the community section of openscenegraph.org. 2005-12-06 11:24 +0000 [r4887] robert: * 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. 2005-12-06 10:26 +0000 [r4886] robert: * From Gideon May, fixed typo in docs. 2005-12-06 10:18 +0000 [r4884-4885] robert: * From Farshid Lashkari, removed second redundent dirtyDisplayList() call. * From Louis Hamilton, fix to LightPoint's under 64 bit build, changing longs to ints in colour conversion code. 2005-12-05 20:11 +0000 [r4883] robert: * Changed debug message to INFO. 2005-12-05 10:24 +0000 [r4881-4882] robert: * Attempt at build fixes for IRIX. * Removed the closeLibraries call from the registry singleton desctuction. 2005-12-05 10:08 +0000 [r4880] robert: * From Geoff Michel, Fix to prevent Producer::Trackball being set up with a negative radius. 2005-12-04 20:08 +0000 [r4879] robert: * Fixed tabbing. 2005-12-03 15:12 +0000 [r4878] robert: * Added OSG_EXPORT to PrimitiveSet. 2005-12-03 00:03 +0000 [r4877] robert: * Moved the body of the getNumPrimitives() into the .cpp. 2005-12-02 12:30 +0000 [r4875] robert: * Updated ChangeLog, AUTHTORS.txt and osgversion for next release candidate. 2005-12-02 12:10 +0000 [r4874] robert: * Fixed typos in NEWS, improved formating. 2005-12-02 11:59 +0000 [r4873] robert: * Updated NEWS with quotes. 2005-12-02 09:57 +0000 [r4872] robert: * Added a static_cast to get round IRIX64 build problem. 2005-12-02 00:25 +0000 [r4871] robert: * From Marco Jez, hack/fix for VS compile/link problems related to STL containers. 2005-12-02 00:21 +0000 [r4870] robert: * Updated NEWS 2005-12-01 16:44 +0000 [r4868-4869] robert: * Updated NEWS * Added comments. 2005-12-01 14:37 +0000 [r4867] robert: * From Ali Botorabi, fixed the setDefault() fallback to properly handle the case when no scene view light is requested. 2005-12-01 14:09 +0000 [r4866] robert: * Added TestSupportCallback to properly handle querry of OpenGL support of vertex texturing in GLSL. 2005-12-01 13:38 +0000 [r4864] robert: * From Thom DeCarlo, build fix for Cygwin. 2005-12-01 13:19 +0000 [r4863] robert: * From Geoff Michel, fixed the handling of zfar values of 0.0. 2005-11-30 15:30 +0000 [r4862] robert: * Updated NEWS. 2005-11-29 22:29 +0000 [r4860] robert: * Updated changed log for 1.0-rc7. 2005-11-29 18:38 +0000 [r4856] robert: * Added default opening of the file as a binary file, and once the type is confirmed then close and reopen as an ascii as required. This is done to get round problems under Windows. Also made the running of the SmoothingVisitor optional, now use -O smooth to make the loader run the osgUtil::SmoothingVisitor over the model. 2005-11-29 14:20 +0000 [r4855] robert: * Updated ChangeLog, osgversion.cpp and AUTHORS.txt for 1.0-rc6. 2005-11-29 14:07 +0000 [r4854] robert: * Updated NEWS with second draft of press release. 2005-11-29 12:09 +0000 [r4853] robert: * Added CameraBarrierCallback so that multi-thread multi-cameras are synconized correctly when do stats collection. 2005-11-29 11:39 +0000 [r4852] robert: * From Eric Wing, fixes for "warning: converting of negative value '-0x00000000000000001' to 'unsigned int'" 2005-11-29 08:59 +0000 [r4851] robert: * Switched off the VBO usage in osgparametric as it was tripping up ATI and 3DLabs drivers. 2005-11-28 20:08 +0000 [r4850] robert: * Added temporary ref_ptr to prevent the _image going out of scope due to another thread complete the texture::apply() while the present texture::apply() is still running. 2005-11-28 10:58 +0000 [r4849] robert: * Fixed warning. 2005-11-28 09:15 +0000 [r4848] robert: * From Gideon May, port to OSX of GLUT examples. 2005-11-27 15:32 +0000 [r4847] robert: * From Geoff Michel, fix for the scaling of the random number generation. 2005-11-25 20:23 +0000 [r4846] robert: * Updated ChangeLog and authors file. 2005-11-25 19:18 +0000 [r4845] robert: * From John Donovan, typo fixes. 2005-11-25 14:58 +0000 [r4844] robert: * Added disable of spurious VS6.0 warning. 2005-11-25 13:45 +0000 [r4843] robert: * Fixed docs of setImage. 2005-11-25 12:31 +0000 [r4842] robert: * Added releaseGLObjects to PrimitiveSet. 2005-11-25 10:32 +0000 [r4841] robert: * Fixed typo of dxf. 2005-11-24 19:53 +0000 [r4840] robert: * Lightened by the ambientBias term. 2005-11-24 15:18 +0000 [r4838-4839] robert: * Added FBO deletion support, and better FBO querry and fallback mechansim in RenderStage. * Changed the VS template export block to just compile when VS verion >= 1300 (VS.NET onwards.) 2005-11-24 10:28 +0000 [r4837] robert: * Changed the default value of Texture::_resizeNonPowerOfTwoHint to true, to improve the backwards compatibility of peformance on systems that have OpenGL2.0 drivers but without hardware that can't handle non power of two textures. 2005-11-24 10:14 +0000 [r4836] robert: * Added automatic setting of thread safe reference counting when multi-threaded cameras are used. 2005-11-23 16:32 +0000 [r4834] robert: * Changed CameraNode::getDataChangeMutex() to be a pointer rather than a reference to get around osgIntrospeciton build problem with the OpenThreads::Mutex copy constructor being private. 2005-11-23 16:24 +0000 [r4833] robert: * Updated AUTHORES, ChangeLog, NEWS and version number for 1.0-rc6 2005-11-23 15:25 +0000 [r4832] robert: * Changed the linux implement of getGLExtensionFuncPtr to querry for glXGetProcAddressARB and then use this if its available, otherwise fallback to the original dlsym usage. 2005-11-23 13:44 +0000 [r4831] robert: * Added multi-buffering of the CameraNode::_renderingCache to help cope with multiple graphis context usages. 2005-11-23 12:16 +0000 [r4830] robert: * Fixed mistmatch of ReadFileCallback type. 2005-11-23 10:16 +0000 [r4828-4829] robert: * Moved getGLExtensionFuncPtr implementation into the .cpp to make it easier to change it implementation without forcing a complete recompile. * From Marco Jez, typo fix if GL extension name. 2005-11-22 21:14 +0000 [r4827] robert: * Simplified the TangentSpaceGenerator so that is automatically converts any models with indices to one without indices and then runs the tangent space generation code on the result. 2005-11-22 14:35 +0000 [r4826] robert: * From Markus Trenkwalder, fixed placment of libs in mingw build. 2005-11-22 13:56 +0000 [r4825] robert: * Added missing dirtyDisplayList call into osg::Geometry::set calls. 2005-11-22 13:14 +0000 [r4824] robert: * Added DatabasePager::s/getDrawablePolicy() to allow the way that the display list/VBO settings are applied to loaded databases. 2005-11-22 10:26 +0000 [r4823] robert: * Added check against LODScale being zero, and fixed the search for the maximum LOD range in the pixel size range fallback. 2005-11-22 10:08 +0000 [r4822] robert: * From Chris Hanson, add LODScale support to pixel based LOD range selection. 2005-11-22 09:57 +0000 [r4821] robert: * From Jason Daly, (with small tweak by Robert Osfield) fix for Prorgram::removeShader(Shader*) so that it properly remove the shader and its entry in the _shaderList. 2005-11-22 09:51 +0000 [r4820] robert: * From Eric Wing, warning fixes for gcc4.0/OSX. 2005-11-22 09:47 +0000 [r4819] robert: * From Marco Jez, fix for wchar_t being redefined. 2005-11-21 16:29 +0000 [r4817] robert: * Updated NEWS 2005-11-21 16:15 +0000 [r4816] robert: * Updated ChangeLog and authors file. 2005-11-21 13:51 +0000 [r4815] robert: * 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 2005-11-20 22:07 +0000 [r4813-4814] robert: * Replaced asserts with notification of error. * From Donn Mielcarek, added support Materials being declared globally. 2005-11-19 12:18 +0000 [r4812] robert: * Updated ChangeLog, osgversion and AUTHORS file. 2005-11-18 17:04 +0000 [r4811] robert: * Added the ability for osgParticle::ParticleEffect to switch off the automatic setup. Normally the automatic setup is useful, but in the case of the .osg support this automatic update was forcing premature loading of imagery that wasn't necessarily, and can lead to reports of looking for files that arn't present. 2005-11-18 15:00 +0000 [r4810] robert: * Added s/getCenter and s/getRotation methods, and updated wrapper. 2005-11-18 14:49 +0000 [r4808-4809] robert: * From Toshiyuki Takeahei, addition of s/getDistance() methods * The OpenFlight plugin was crashing with pre 15.6 .flt files that contained light points. This was due to the mismatch is size and fiels in the LightPointRecord before 15.6 and after it, the OSG's flt plugin was assuming just 15.6 record structure. As a temporary solution I have disabled the processing of light point records on .flt file version before 15.6, this allows these files to be loaded safely, but without light points. 2005-11-18 10:03 +0000 [r4807] robert: * From Andrew Reyonolds : changed the endian conversion code to work on a temporary rather then on a flt structure to prevent repeated conversion of the same value, something that led to eroneously large light point string sizes. 2005-11-18 09:52 +0000 [r4806] robert: * From Rodger James, changed the Win32 static library compilation support to use OSG_LIBRARY_STATIC to avoid problems with building libs when not required. 2005-11-17 20:22 +0000 [r4805] robert: * Replaced tabs with spaces in examples. 2005-11-17 17:45 +0000 [r4803-4804] robert: * Updated wrappers. * Convert tabs to spaces. 2005-11-17 15:18 +0000 [r4802] robert: * From Toshiyuki Takahei, added #pragam to avoid build problem with special characters. From Robert Osfield, added #if _MSC_VER to restrict pragma usage to just VisualStudio, and added comment explaining all the extra parsing code in osgversion. 2005-11-17 15:03 +0000 [r4801] robert: * Replaced tabs with spaces. 2005-11-17 13:35 +0000 [r4800] robert: * Coverted tabs to space in core libraries. 2005-11-17 11:27 +0000 [r4799] robert: * From Toshiyuki Takahei, fixed order intialiation problem in Viewer::selectCameraManipulator(..). 2005-11-17 11:22 +0000 [r4798] robert: * From Mike Weiblen, "fix for another one of those GLSL syntax errors that slip thru the nvidia compiler. gl_TexCoord[] is an array of vec4, and must be reduced to a vec2 for use with texture2D()" 2005-11-17 11:13 +0000 [r4797] robert: * From Eric Sokolosky, for Cygwin and Minw sections changed definition of INST_SHARE so that it is based on INST_LOCATION, providing the same default as before but also allow it to be override by env vars when required. 2005-11-17 11:09 +0000 [r4796] robert: * From Eric Sokolosky, made spacing more consistent. 2005-11-17 11:03 +0000 [r4795] robert: * From Mikkel Gjøl, addition of paramter set/get methods to osgGA::*Manipulators, change of ' ' to GUIEventAdapter::KEY_Space, fix to url in Matrix_implementation.cpp. Syntax fixes by Robert Osfield to above submission fix inconsistencies with normal OSG coding style. 2005-11-17 09:57 +0000 [r4794] robert: * Improved handling of core OSG being compile with float Matrices. 2005-11-17 09:20 +0000 [r4793] robert: * Added (_data || rhs._data) extra qualify to Image::compare is data equal test. 2005-11-16 21:08 +0000 [r4792] robert: * Removed redundent copyop. 2005-11-16 20:27 +0000 [r4791] robert: * Ran dos2unix on makefile. 2005-11-16 16:35 +0000 [r4790] robert: * Started experimenting with sections and table of contents. 2005-11-16 16:30 +0000 [r4789] robert: * Converted remaining osg::Matrix usage to osg::Matrixd. 2005-11-16 12:14 +0000 [r4787] robert: * Updated changelog and authors file. 2005-11-16 12:07 +0000 [r4786] robert: * Fixed typo entry. 2005-11-16 09:28 +0000 [r4785] robert: * From Mike Weiblen, support for ARB_texture_rectangle extension name. 2005-11-15 22:18 +0000 [r4784] robert: * From Joakim Simonsson/Robert Osfield. Fixed line endings. 2005-11-15 22:14 +0000 [r4783] robert: * Did a unix2dos and trimmed end of file of rendundent newlines. 2005-11-15 22:07 +0000 [r4780] robert: * Added proper descriptions of examples in place of the copy and paste description. 2005-11-15 21:47 +0000 [r4779] robert: * From Eric Wing, compile fixes. 2005-11-15 21:24 +0000 [r4778] robert: * From Gideon May, "I've added an alias for the new mpeg 4 format used by quicktime and podcasts." 2005-11-15 18:31 +0000 [r4777] robert: * From Sean Spicer, compile fixes for Intel compiler. 2005-11-15 16:15 +0000 [r4776] robert: * From Joakim Simonsson, updated VS handling of extensionless headers to be consistent with 1.0 release of OSG 2005-11-15 16:06 +0000 [r4775] robert: * Fixed typo of Jason. 2005-11-15 15:07 +0000 [r4773-4774] robert: * Updated authors list from osgversion -r ChangeLog output. * Updated the output of the contributors list. 2005-11-15 14:25 +0000 [r4772] robert: * Added catch of erase of the last element of heap. 2005-11-15 11:43 +0000 [r4771] robert: * From Marco Jez, warning fixes. 2005-11-15 11:39 +0000 [r4770] robert: * Warning fixes. 2005-11-15 11:23 +0000 [r4769] robert: * Warning fix. 2005-11-15 10:05 +0000 [r4768] robert: * Added remapping of Drew's fullname. 2005-11-15 08:56 +0000 [r4767] robert: * From Mike Weiblen, switched off lighting of points to make them clearer 2005-11-15 08:43 +0000 [r4766] robert: * Warning fix. 2005-11-14 21:40 +0000 [r4765] robert: * Fixed handling of initials. 2005-11-14 20:54 +0000 [r4764] robert: * Added typo correction for "Jolley". 2005-11-14 20:51 +0000 [r4763] robert: * Added more typo catches. 2005-11-14 17:21 +0000 [r4762] robert: * Further improvements to the name filtering. 2005-11-14 17:15 +0000 [r4761] robert: * Improved handling on special characters in names 2005-11-14 17:07 +0000 [r4760] robert: * Added support for mining the ChangeLog for a list of contributors. 2005-11-14 13:34 +0000 [r4759] robert: * Updated changelog. 2005-11-14 12:49 +0000 [r4758] robert: * Fixed warnings in geo plugin 2005-11-14 11:14 +0000 [r4757] robert: * Updated package version to 1.0,0 2005-11-14 11:08 +0000 [r4756] robert: * From Toshiyuki Takehei, typo fix of getTrackerMode(). 2005-11-14 11:00 +0000 [r4755] robert: * Change the KeySwitchMatrixManipulator so that it two sets of getMatrixManipulator methods, two that takes an index,two that takes a key value. Updated the ViewEventHandler so the it now uses the getMatrixManipulatorWithIndex() method to avoid previous ambiguity. 2005-11-14 09:31 +0000 [r4754] robert: * 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." 2005-11-12 21:29 +0000 [r4752] robert: * From Geoff Michel, geo plugin updated to for latest updates in .geo format. 2005-11-12 13:38 +0000 [r4751] robert: * Added support for ConnectedParticleSystem. 2005-11-12 13:27 +0000 [r4750] robert: * Added .osg support for osgParticle::SmokeTrailEffect 2005-11-11 19:29 +0000 [r4749] robert: * Updated ChangeLog 2005-11-11 17:00 +0000 [r4748] robert: * Added scene stats support to osgProducer::ViewerEventHandler. 2005-11-11 14:22 +0000 [r4747] robert: * Added s/getMaxNumOfTextureUnits control to osgGA::StateSetManipulator, and set the default to 4. 2005-11-11 12:45 +0000 [r4746] robert: * Fixes for VS6.0 build. 2005-11-11 08:45 +0000 [r4743] robert: * From Markus Trenkwalder, fix for Mingw build 2005-11-10 20:56 +0000 [r4741] robert: * From Marco Jez, compile for a syntax error problem. 2005-11-10 20:20 +0000 [r4740] robert: * Added /Zm200 to loads of project to try and salavage something from VS6.0 being such a bog awful compiler. 2005-11-10 20:04 +0000 [r4739] robert: * Fixes for VS6.0 2005-11-10 19:32 +0000 [r4738] robert: * Fixes for dumb VS6.0 compiler 2005-11-10 19:16 +0000 [r4737] robert: * Fixes for VS6.0 2005-11-10 17:24 +0000 [r4736] robert: * Compile fixes for VS6.0. 2005-11-10 16:47 +0000 [r4735] robert: * From Markus Trenkwalder, added freetype-config support to Mingw section. 2005-11-10 15:52 +0000 [r4734] robert: * Added osgshaderterrain and osgparametric to runexamples.bat 2005-11-10 15:27 +0000 [r4732-4733] robert: * Updated wrappers * Added better control for cancel GraphicsThreads. 2005-11-10 14:41 +0000 [r4731] robert: * Ran unix2dos on OpenSceneGraph.dsw 2005-11-10 11:56 +0000 [r4730] robert: * Fixed typo of CoordinateSystem. 2005-11-10 11:39 +0000 [r4729] robert: * Addd OsgSceneHandler::s/getCleanUpOnNextFrame() and support for it in the draw() method, when CleanUpOnNextFrame is enabled the next frame simple deleted OpenGL objects without doing any draw traversal. 2005-11-10 10:29 +0000 [r4728] robert: * Added checks against the values returned from dynamic_cast<>'s. 2005-11-10 09:42 +0000 [r4727] robert: * Compile fixes for VS7.1 2005-11-09 22:09 +0000 [r4725-4726] don: * small change to test osg-cvs.... * Small modification to change 2004 to 2005 in README.txt (this is mostly a test of osg-cvs) 2005-11-09 20:30 +0000 [r4723] robert: * Updated wrappers 2005-11-09 20:26 +0000 [r4721-4722] robert: * 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. * Added a s/getState() to osgTerrain::DataSet to allow better integration with applications. 2005-11-09 17:20 +0000 [r4719-4720] robert: * Added some docs on command line options. * Added writing of commandline options in getFormatedString when there is no description string. 2005-11-09 17:08 +0000 [r4717-4718] robert: * Moved the blink sequence light points down so they are visible in the default camera position. * Changed the NO_ROTATION label so it is aligned with the XZ plane to make it easier to see. 2005-11-09 15:27 +0000 [r4716] robert: * Quick updates to NEWS. 2005-11-09 15:19 +0000 [r4715] robert: * Updated ChangeLog 2005-11-09 15:14 +0000 [r4713-4714] robert: * Updated wrappers. * Added the support in AnimationPathCallback for taking a pivot, axis and rotation rate paramters in its constructor to allow it to be used to create rotations around a point. This provides the same interface and functionality as osgUtil::TransformCallback but has the advantage and AnimationPathCallback is fully supported by the .osg and .ive file formats. 2005-11-09 13:39 +0000 [r4711-4712] robert: * Updated the runexamples.bat to include glsl_mandelbrot.osg and glsl_julia.osg references * Reduced the size of the "oversized" cessna.osg 2005-11-09 13:26 +0000 [r4710] robert: * Added a test of isRealized to requestWrapPointer to prevent a deadlock condition occur when a wap pointer is done before a window is realized. 2005-11-09 13:18 +0000 [r4709] robert: * Update texture file names to reflect new files in OpenSceneGraph-Data distribution. 2005-11-09 11:59 +0000 [r4708] robert: * Added dxf VS6.0 project 2005-11-09 10:49 +0000 [r4707] robert: * Bumped the version numbers up to 1.0 in preparation for 1.0-rc1. 2005-11-09 10:41 +0000 [r4706] robert: * Fixed warnings. 2005-11-09 10:37 +0000 [r4705] robert: * Fixed compile warning. 2005-11-09 09:30 +0000 [r4704] robert: * Updated the bin number to be 100 for the logo overlay to force it to draw later. 2005-11-08 16:41 +0000 [r4703] robert: * Added .ive support for osg::Texture SourceFormat and SourceType 2005-11-08 16:22 +0000 [r4702] robert: * Added support for SourceType and SourceFormat to .osg. 2005-11-08 16:02 +0000 [r4701] robert: * Updated wrappers. 2005-11-08 15:52 +0000 [r4700] robert: * From Brad Colbert/Robert Osfield: added s/getSourceFormat and s/getSourceType to osg::Texture along with support for this Texture1D, 2D, 3D, TextureCubeMap and TextureRectangle. The new SourceFormat and SourceType parameters are only used when no osg::Image is assigned to an osg::Texture, and main use is for render to texture effects. Added support for --hdr option in osgprerender, which utilises the new Texture::setSourceFormat/Type() methods. 2005-11-08 14:03 +0000 [r4699] robert: * Updated wrappers 2005-11-08 13:51 +0000 [r4698] robert: * From Colin McDonald, fixed image size calculation in getTotalSizeInBytesIncludingMipmaps(), added checks on success of opening files for writing in the .ive plugin. 2005-11-08 11:46 +0000 [r4697] robert: * 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. 2005-11-08 09:36 +0000 [r4696] robert: * Changed the occluder traversal so that checks the children of the SceneView's Cameara rather than starting at the camera itself. 2005-11-07 16:52 +0000 [r4695] robert: * Renamed VisualStudio.dsw to OpenSceneGraph.dsw 2005-11-07 16:48 +0000 [r4694] robert: * Improved the handling of CameraNode and viewers with projection matrices contained NaN's. 2005-11-07 15:46 +0000 [r4692-4693] robert: * From Bob Kuehne, proper c++ cast instead of c-cast for ApplicationUsage * From Steve Lunsford, added psuedo event dispatch to init within selectCameraManipulator to force the new minpulator to update correctly. 2005-11-07 14:42 +0000 [r4691] robert: * 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. 2005-11-07 13:54 +0000 [r4690] robert: * From Marco Jez, Added an unregister of the GraphicsContextImplement on unload. 2005-11-07 12:41 +0000 [r4689] robert: * From David Spilling, fix for typo of OVERRIDE. 2005-11-07 11:14 +0000 [r4688] robert: * From Gideon May, compile fixes for OSX. 2005-11-07 11:09 +0000 [r4687] robert: * From Norman Vine, "Cygwin uses unix style path separators" 2005-11-07 11:05 +0000 [r4686] robert: * 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." 2005-11-07 10:29 +0000 [r4685] robert: * From Ruben (with a few addition/changes from Robert), fixed the commandline of the osgsimplifier example. It now reads --ratio and --max-error. --------------------------------------------------- 2005-11-04 19:00 +0000 [r4684] robert: * Added extra debugging checks on FBO's 2005-11-04 12:08 +0000 [r4683] robert: * Improved support for texture subload/render to texture in various Texture classes and RenderStage. 2005-11-03 21:35 +0000 [r4682] robert: * Improvements to CameraNode IO support, now handles render to texture. 2005-11-03 19:20 +0000 [r4681] robert: * Changed the CameraNode read/write code to use Transform as its parent. 2005-11-03 17:12 +0000 [r4680] robert: * Removed debugging message 2005-11-03 17:08 +0000 [r4679] robert: * Further work on osg::CameraNode support. 2005-11-03 15:59 +0000 [r4678] robert: * Further work on added IO support from CameraNode. 2005-11-03 12:25 +0000 [r4677] robert: * Completed osg::CameraView support in .osg and .ive formats. 2005-11-03 10:59 +0000 [r4673-4674] robert: * Added env var docs on OSG_MAX_TEXTURE_SIZE * Added --help-env option. 2005-11-03 10:18 +0000 [r4671-4672] robert: * Updated wrappers * Added initial CameraNode and CameraView stups for the .ive loader 2005-11-03 10:01 +0000 [r4670] robert: * From Eric Sokolowsky, added writeEnvironmentSettings to help report what OSG centric environment variables are used. 2005-11-03 09:03 +0000 [r4669] robert: * Added CameraNode.cpp and CameraView.cpp 2005-11-02 19:52 +0000 [r4668] robert: * Inital work on adding .osg support for CameraNode and CameraView. 2005-11-02 19:35 +0000 [r4667] robert: * Updated wrappers. 2005-11-02 19:15 +0000 [r4665-4666] robert: * Added request for accumulator buffer. * Added support in DisplaySettings and OscCameraGroup for requesting accumulator buffer. 2005-11-02 16:20 +0000 [r4664] robert: * From Alan Ott, added support for palletted imagery. 2005-11-02 15:56 +0000 [r4663] robert: * From Brede Johnasen, changed wrap mode to CLAMP_TO_EDGE to avoid edges being seen when zoomed into the reflectio map. 2005-11-02 15:23 +0000 [r4662] robert: * 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. 2005-11-02 14:24 +0000 [r4660-4661] robert: * From Marco Jez, added Image/ path to image files to help find them from the OpenSceneGraph-Data directory. * From Marco Jez, moved the rear view camera's viewport to the bottom left of window to accomdate a greater range of display sizes. From Robert Osfield, made the background colour of the intersted camera a scaled down verson of the main background colour to make it more obvious. 2005-11-02 12:22 +0000 [r4659] robert: * Added a setSupportsDisplayList(false) to constructor to prevent end users enabling display lists, something that can break the osgText's managment of state. 2005-11-02 11:55 +0000 [r4658] robert: * Fixed setCameraRequiresSetUp so it properly uses the bool passed to it. 2005-11-02 11:33 +0000 [r4657] robert: * Added doc comment and removed redundent inline keyword 2005-11-02 10:57 +0000 [r4655-4656] robert: * From Farshid Lashkari, "I need the ability to check for a font file without actually loading the font object. I've modified font.h/cpp of osgText so that it exports the findFontFile function." * From Marco Jez, commented out debuggin message. 2005-11-02 10:49 +0000 [r4654] robert: * Added static orthoNormal function to match equivilant in Matrixd 2005-11-02 10:45 +0000 [r4653] robert: * From Colin McDonald, "Fix for missing class name qualifier on the orthoNormal function." 2005-11-02 10:29 +0000 [r4651-4652] robert: * From Colin McDonald, "Fixes for some duplicate global symbol definitions in the plugins, which cause errors when creating a statically linked executable." * Fixed compile warning 2005-11-01 20:16 +0000 [r4650] robert: * Changed the error number reporting to be reported as hex. 2005-11-01 19:32 +0000 [r4648-4649] robert: * Added an image negation callback to the render to image. Added commandline docs for the new --image and --texture-rectangle options. * Removed the double call to the camera post draw callback. 2005-11-01 17:07 +0000 [r4647] robert: * Added usage of image copy and modification. 2005-11-01 15:39 +0000 [r4646] robert: * Set the draw and read buffer to GL_NONE when using FBO's, thereby avoid invalid enumrates being generated. 2005-11-01 15:23 +0000 [r4645] robert: * Improved handling of osg::Image copying. 2005-11-01 11:18 +0000 [r4644] robert: * From Brad Colbert, Added checking for a NULL return string rom gluErrorString (with slight reformating of this by Robert Osfield.) 2005-11-01 11:00 +0000 [r4643] robert: * Updated wrappers 2005-11-01 10:42 +0000 [r4642] robert: * Added RenderTargetFallback option into osg::CameraNode. 2005-10-31 16:40 +0000 [r4641] robert: * From Steve Lunsford, "Attached is a copy of TXPNode.cpp with the repaired computeBounds call. I discovered that TXPNodes were being culled out prematurely because the loaded sub-tiles resulted in a computed bounds that was smaller than the extents indicated in the archive. I think this fix should be fine. I can't think of any reason why we would want to use anything other than the archive extents." 2005-10-31 14:48 +0000 [r4640] robert: * Added default setting of _threading_model to ThreadPerCamera when multiple cameras are present, and SingleThreaded when a single camera is being used. 2005-10-31 11:43 +0000 [r4639] robert: * From Brede Johansen, "some tweaks to the osgSim lightpoints. - The first change is to start fadeing a lightpoint just before the maximum distance of a light is reached. - The second change is to start fading a lightpoint when pixelSize is less than _minPixelSize instead of 1.0." 2005-10-29 11:29 +0000 [r4638] robert: * Updated wrappers. 2005-10-29 10:04 +0000 [r4637] robert: * Added catch for NULL return from glGetString( GL_VERSION ); 2005-10-29 09:52 +0000 [r4636] robert: * Updated wrappers. 2005-10-28 18:39 +0000 [r4634-4635] robert: * 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). * Fixed env var docs for sharing graphics contexts. 2005-10-28 14:02 +0000 [r4633] robert: * Added warning message for when no file is loaded. 2005-10-28 13:18 +0000 [r4632] robert: * From Ravi Mathur, "Here is an update to BlendEquation that adds checking for the SGIX_blend_alpha_minmax and EXT_blend_logic_op extensions. It is tested with the osgblendequation example. If the extensions are not supported, a WARN level notification is generated." 2005-10-28 13:11 +0000 [r4631] robert: * Moved SceneView across to use an osg::CameraNode to store the projection and view matrices, the viewport, the clear colour and the subgraph needing rendered. This is done transparently so all existing functionality will behave as before. What it does add is the ability to set a SceneView directly by a single osg::CameraNode when required. 2005-10-28 10:33 +0000 [r4630] robert: * Changed debug message from NOTICE to INFO level of notification 2005-10-28 10:11 +0000 [r4629] robert: * Added command line option --overlay to turn on the use of an OverlayNode. 2005-10-28 09:20 +0000 [r4628] robert: * Updated wrappers. 2005-10-28 08:35 +0000 [r4627] robert: * From Mike Weiblen, added check to make sure that vertex texture was supported in the OpenGL driver. 2005-10-27 13:53 +0000 [r4626] robert: * Added option to osgdepthpartion for loading the model specified on the commandline. 2005-10-27 11:15 +0000 [r4625] robert: * Added documentation line about 32 being the maximum permitted number of line segmenets 2005-10-27 11:11 +0000 [r4624] robert: * Added error message to report when too many line segments are added to an IntersectVisitor. 2005-10-27 10:48 +0000 [r4623] robert: * Added support for tracking the directory of the output file whilst still maintaining local file references within this directory. 2005-10-27 09:38 +0000 [r4621-4622] robert: * 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." * From Geoff Michel, update to osgdelaunday. 2005-10-26 20:30 +0000 [r4620] robert: * From Don Tidrow, bug fix to setOutputTextureFiles(bool). 2005-10-26 20:22 +0000 [r4619] robert: * Added friend declarations of nested classes to prevent compile problems under VS6.0 2005-10-26 20:00 +0000 [r4618] robert: * Changed the minimum tile image size to be 4x4 to avoid problems in mipmap generation that was occuring at sizes of 2x2, seemingly somewhere in the OpenGL driver. 2005-10-26 16:02 +0000 [r4617] robert: * From Bob Kuehne, "changed two set methods (setFocalLength,setFieldOfView) to perform assignment." 2005-10-26 09:22 +0000 [r4616] robert: * From Geoff Michel, compile fixes for VS6.0 2005-10-25 18:34 +0000 [r4615] robert: * Updated wrappers 2005-10-25 15:49 +0000 [r4614] robert: * Added command line support for the interlaced stereo modes. 2005-10-25 15:43 +0000 [r4613] robert: * From Farshid Lashkari & Robert Osfield: Added support for VERTICAL_INTERLACE and HORIZONTAL_INTERLACE stereo modes use the stencil buffer. 2005-10-25 14:01 +0000 [r4612] robert: * Updated wrappers. 2005-10-25 13:28 +0000 [r4611] robert: * From Geoff Michel, added support for constrain delaunay triangultion, and osgdelaunay example. 2005-10-25 13:24 +0000 [r4610] robert: * Added check against glGetString(GL_VERSION) returning NULL. 2005-10-25 10:30 +0000 [r4608-4609] robert: * Added missing projects * Added osgcatch project 2005-10-25 10:12 +0000 [r4607] robert: * Added missing projects. 2005-10-25 09:54 +0000 [r4606] robert: * From Markus Trenkwalder, added meanigful return types in Registry::read(const ReadFunctor& readFunctor) for ERROR_IN_READING_FILE and FILE_NOT_FOUND cases. 2005-10-25 09:49 +0000 [r4605] robert: * Added protected destructors. 2005-10-25 09:43 +0000 [r4604] robert: * From Don Tidrow, removed unncessary includes. 2005-10-25 09:23 +0000 [r4603] robert: * From Brede Johansen, changed osg_InverseViewMatrix to osg_ViewMatrixInverse to bring into line with OpenGL shader languague conventions. From Robert Osfield, changed the SceneView::ActiveUnforms enum to from INVERSE_VIEW_MATRIX_UNIFORM VIEW_MATRIX_INVERSE_UNIFORM to be convistent with the above change. 2005-10-24 18:51 +0000 [r4602] robert: * Changes to fix divide by 0 warning under VS. 2005-10-24 13:49 +0000 [r4600-4601] robert: * Updated wrappers. * Fixed compile warnings. 2005-10-24 11:46 +0000 [r4598-4599] robert: * From Mike Weiblen, "some fixes for OSG_OPTIMIZER envar parsing and help display" * From Marco Jez, added missing example project files. 2005-10-24 11:37 +0000 [r4596-4597] robert: * From Tony Horrobin: "This is a small fix for flt2osg.[cpp|h] that handles old style road segments ( from Multigen II w/road tools on IRIX ) in the same way as the newer road constructions. ie create a group and do a nested traversal. This makes roads appear in older format files where there was previously a gap. This actually works properly with the paths which are marked as hidden in the openflight database." * From Don Tidrow, "I discovered that externally-referenced models in the TXP format didn't get positioned correctly when the TXP database was built using the 'tile-offset' mode. I've included a tarball with what I believe are the needed changes - they work for the sample databases I have available, but not all conditions have been tested. I've set things up such that these changes shouldn't affect 'normal' txp databases." 2005-10-24 11:25 +0000 [r4595] robert: * Warning fixes for Win32 build. 2005-10-24 10:53 +0000 [r4593-4594] robert: * Added copyright notices. * Added beginnings of Programming Guide, and NodeTrackerCallback. 2005-10-14 21:40 +0000 [r4591-4592] robert: * From Farshid Lashkari, compile fix for VS 2002. * From Brede Johansen, fixed INVERSE_VIEW_MATRIX_UNIFORM enum value. 2005-10-14 09:29 +0000 [r4590] robert: * From Farshid Laskari, changed the compute of the text bounding box to include the spaces. 2005-10-13 12:51 +0000 [r4589] robert: * Renamed osgUtil::RenderGraph to osgUtil::StateGraph 2005-10-13 10:29 +0000 [r4588] robert: * Changed the "Cessna" text so that it is sized according to OBJECT_COORDS rather than SCREEN_COORDS as the later was causing problems with the pixel size based LOD selection. 2005-10-13 08:18 +0000 [r4587] robert: * Updated wrappers. 2005-10-13 08:07 +0000 [r4585-4586] robert: * Added Producer.lib to osgdepthpartion project file * Added PRODUCER_INSTALLED=yes make options to the unix build system, not defining PRODUCER_INSTALLED=yes or setting it to another value than yes (i.e no) will result in the osgProducer library, OSG applications and demos not being built. PRODUCER_INSTALLED=yes is the default. 2005-10-12 18:42 +0000 [r4584] robert: * Added SmokeTrailEffect which renders created particles as single quad or line strip, in the case of the quad strip the strip is aligned to the be orthogonal with the eye point. 2005-10-11 09:47 +0000 [r4583] robert: * Added new shell of new class ConnectedParticleSystem, which will be used for managing connect particle system for the purpose of doing missile trails etc. 2005-10-10 10:10 +0000 [r4582] robert: * From Ravi Mathur, osgdepthpartition example program. 2005-10-10 09:17 +0000 [r4581] robert: * From Alberto Jaspe, added double precision interpolation method 2005-10-07 07:46 +0000 [r4580] robert: * Added into CVS missing PolgonMode files. 2005-10-06 20:02 +0000 [r4579] robert: * Improved the UpdateCameraAndTexGenCallback so it properly handles rotation and translations within the reflector nodepath. 2005-10-06 15:43 +0000 [r4577-4578] robert: * From Brede Johansen, added support for PolygonMode into .ive format. * Changed the fallback code to use the result form the realize() call, removed the code path from running a PBuffer as a seperate graphics context (this was found to be slower than running single threaded so its not worth the extra complexity). 2005-10-06 13:31 +0000 [r4576] robert: * Added env var reporting for the OSG_CAMERA_THREADING and OSG_SHARE_GRAPHICS_CONTEXTS env vars. 2005-10-06 13:20 +0000 [r4575] robert: * Added catch for disabling ThreadPerCamera when contexts are shared. 2005-10-06 11:26 +0000 [r4574] robert: * Improved the fallback mechanism from FBO, down to PBuffer_RTT down to PBuffer down to frame buffer. 2005-10-05 16:21 +0000 [r4573] robert: * Moved the testing and setting up of FBO/Pbuffer extension from CullVisitor to support into RenderStage to allow better fallback implementations. 2005-10-05 09:48 +0000 [r4572] robert: * Added support for CameraView into NodeVistor, and support for CameraNode and CameraView into the AnimationPathCallback so you can now animate both via animation paths. 2005-10-04 18:50 +0000 [r4571] robert: * Added code paths for PBuffer RTT support. 2005-10-04 13:41 +0000 [r4570] robert: * Added osg::CameraView to help application/modellers position their cameras in scenes. Note, CameraView is *not* a camera, it isn't an active object, but a passive one that camera must track each frame to following the path of the CameraView. 2005-10-03 19:37 +0000 [r4569] robert: * From Keith Steffen, fixed bug in StateSet::clear() where parents of texture attributes where not being reset correctly due to incorrect ordering of _textureAttributeList.clear(). 2005-10-03 19:33 +0000 [r4568] robert: * From MFM, Added FreeBSD specific implementation for getGLExtensionFuncPtr using dlsym(RTLD_DEFAULT, xxx) 2005-10-03 19:24 +0000 [r4567] robert: * Added a couple of (double) casts for VS7 build. 2005-10-03 19:18 +0000 [r4566] robert: * Added closing of loops. 2005-10-03 16:13 +0000 [r4565] robert: * Added fusing of ends of lines 2005-10-03 13:19 +0000 [r4564] robert: * Improved handling of convex azim ranges. 2005-10-01 19:28 +0000 [r4562-4563] robert: * Added test cases for SphereSegment intersection code. * Added a dirtyDisplayList() to the setColor() and setTesselationHint() methods. 2005-10-01 12:23 +0000 [r4561] robert: * Adding handling of case of convex azimuth side ways of sphere segment. 2005-09-30 19:36 +0000 [r4560] robert: * Changed the line intersection algorithm to computer full line intersections then trim down to size by intersecting with the sphere segmenet sufaces 2005-09-29 15:55 +0000 [r4559] robert: * Fix to intersection code. 2005-09-29 13:07 +0000 [r4558] robert: * Updated wrappers. 2005-09-29 13:00 +0000 [r4557] robert: * From Marco Jez, fix for gcc build. 2005-09-29 10:25 +0000 [r4556] robert: * Fixed typo of Primitive 2005-09-29 10:22 +0000 [r4555] robert: * Added setOverlayClearColor and setTexEnvMode and automatic set up of TexEnv. 2005-09-29 09:49 +0000 [r4554] robert: * From Marco Jez, added fallback to TextureCubeMap subloading that calls load when mipmaps are required, but non are present. 2005-09-29 09:36 +0000 [r4553] robert: * Fixed typo of CameraNode::setRenderTargetImplementation(..) 2005-09-28 16:05 +0000 [r4552] robert: * From Volker Walkiewicz (with tweaks from Robert Osfield): Fix to the update of the error metrics on the edges in the simplification mesh that are affected by an edge collapse. Addition of 'n' and 'p' keyboard control in osgsimplifier example to allow users to control the sample ratio manually. 2005-09-28 14:18 +0000 [r4551] robert: * From Marco Jez, "Problems fixed: 1. type converters created automatically by the I_BaseType macro use static_cast<> even for base-to-derived conversions. dynamic_cast<> should be used instead. 2. as a consequence of the above fix, I_BaseType must now differentiate between polymorphic and non-polymorphic base classes, because the latter can't be dynamic_cast'd to derived classes. Some template magic (see is_polymorphic<> in ReflectionMacros) is used to detect polymorphism at compile time (I'm NOT sure it works on all platforms as it's partly implementation-dependent. Please test!). 3. predefined custom property getters/setters/counters/etc. (as those defined for STL containers) only work on Value objects that contain non-pointer instances. This was an unwanted restriction that no longer exists. Wrappers will need to be recompiled. This is a good time to give them a fresh update with genwrapper. NOTE: fix #1 should get rid of those crashes and strange behaviours that some users noticed while using osgIntrospection through osgTcl or in their own code." 2005-09-28 14:05 +0000 [r4550] robert: * From Chris Hanson, "The following files are drop-in replacements for the include/*/Export files to permit building statically linked osg libraries under Win32." 2005-09-28 13:55 +0000 [r4547-4548] robert: * From Leandro Motta Barros: fixed type of ATTRIBUTE_* * From A. Botorabi, "slightly modified osgUtil's TangentSpaceGenerator class to allow the option for using or not using geom's indices for tangent space vectors generation. now, Ruben's code is also used (it was disabled before). in order to keep backward compatibility, the compute method behaves as before in default case." 2005-09-28 13:45 +0000 [r4546] robert: * From Joran Jessurun, comments explaining font search rules 2005-09-28 13:39 +0000 [r4545] robert: * From Joran Jessurun, added font search fallbck that strips the leading path from the font file and then looks again. 2005-09-28 13:33 +0000 [r4544] robert: * From Chris Hanson: Spelling fixes in include/osg/LOD Negated priority in PagedLOD when using _rangeMode==PIXEL_SIZE_ON_SCREEN Added clampedPixelSize() methods to CullStack and CullingSet to return fabs()ed values. Changed LOD and PagedLOD ::traverse to use clampedPixelSize() methods. 2005-09-27 20:28 +0000 [r4543] robert: * Added degugging methods. 2005-09-27 14:48 +0000 [r4542] robert: * From Don Tidrow, Added support for locally referenced origins. 2005-09-27 12:15 +0000 [r4541] robert: * Various improvements to the sphere segment intersection code. 2005-09-26 11:24 +0000 [r4539-4540] robert: * Set the defaul clear colour to 0,0,0,0. * Added TexEnv DECAL mode. 2005-09-25 20:41 +0000 [r4538] robert: * From Mike Weiblen, fixes from VS 7.1 build. 2005-09-24 16:11 +0000 [r4537] don: * Brede's changes for limited morphed vertex support. These changes allow a model with morphed vertecies to load correctly with LOD switches, but does not implement the vertex morphing. 2005-09-24 14:53 +0000 [r4536] robert: * Improvements to the clipping of polygons at boundary edges. 2005-09-21 14:38 +0000 [r4535] robert: * Further work on intersection code. 2005-09-19 19:49 +0000 [r4534] robert: * Added multiple intersect triangle visualization for testing purposes. 2005-09-19 15:33 +0000 [r4533] robert: * From Mike Weiblen: support for OSGHANGGLIDE_REVERSE_CONTROLS env which reverses the pitch and roll control to account from Mike's "unique" way of flying hang gliders :-) 2005-09-19 15:28 +0000 [r4532] robert: * From Ravi Mathur, added extension checks for point sprite support. From Robert Osfield, tweaks of the above to use osg::buffer_object and a local struct to store initialized to help with multi-thread and out of order context usage. 2005-09-19 14:07 +0000 [r4531] robert: * Added support for "-O OutputTextureFiles" options string in .osg plugin to allow texture files to be written out when writing out a .osg file. 2005-09-19 13:15 +0000 [r4530] robert: * Added countMultipleIntersections to help with debugging. 2005-09-17 18:50 +0000 [r4529] robert: * Improved the region classifaction of the intersection code. 2005-09-16 14:52 +0000 [r4528] robert: * Improved accuracy of spheresegment to mesh intersections uses mathematical models of surface geometry. 2005-09-16 09:28 +0000 [r4527] robert: * Added Azimuth and Elevation intersector functors. 2005-09-15 20:55 +0000 [r4526] robert: * Changed destinationRowDelta and destination_pixelSpace to int's, solving a memory corruption crash under 64 bit build. 2005-09-15 20:03 +0000 [r4525] robert: * Added line connectivity code. 2005-09-15 09:03 +0000 [r4524] robert: * Moved copyLeavesFromRenderGraphListToRenderLeafList into public. 2005-09-12 19:42 +0000 [r4523] robert: * Added querry of video size during open() call and associated allocImage to ensure that the imagestream passed back is of a valid size. 2005-09-11 19:12 +0000 [r4522] robert: * From Henrique Bucher, add check against null light entry in LightPool. 2005-09-11 19:08 +0000 [r4521] robert: * From Farshid Lashkari, append "\fonts" to end of windows font search path. 2005-09-11 19:05 +0000 [r4520] robert: * From Sondra Iverson, "The options to rewind/restart and to toggle looping in the osgmovie example have been implemented. " 2005-09-11 19:02 +0000 [r4518-4519] robert: * converted hardware tabs to spaces. * From Sonda Iverson, fix for repeated pause/unpause toggleing in Xine plugin 2005-09-10 13:07 +0000 [r4517] robert: * From Joran Jessurun, fix to let the Viewer::computeNearFarPoints function work correctly when used with multiple camera's on one render surface. 2005-09-10 12:51 +0000 [r4515-4516] robert: * Removed some debugging messages * Added more intersection testing code. 2005-09-09 20:26 +0000 [r4514] don: * Added initial ESRIShape file loader. Untabbed and formated LOGO loader. Removed extraneous noise from NET loader 2005-09-09 15:42 +0000 [r4513] robert: * Removed duplicate typedef. 2005-09-09 11:13 +0000 [r4512] robert: * 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. 2005-09-08 18:56 +0000 [r4511] robert: * Added PolytopeVisitor to SphereSegment.cpp to help cull down to only drawables that intersect with the frustum of the SphereSegment. PolytopeVisitor may eventually be pulled out to be more generally used along the lines of osgUtil::IntersectVisitor. 2005-09-08 13:10 +0000 [r4510] robert: * Added initial interface for computing intersections between sphere segments and terrain. 2005-09-07 16:18 +0000 [r4509] robert: * Added support for cullable state, that uses a polytope to define the extents of objects that will be influenced by it. 2005-09-06 20:28 +0000 [r4508] robert: * Added a grid of lines into the OverlaySubgraph to demonstate use the OverlayNode for applying general drawing onto terrain. 2005-09-06 19:54 +0000 [r4507] robert: * Added s/getContinousUpdate(bool) method to OverlayNode. 2005-09-06 15:48 +0000 [r4506] robert: * Added osgSim::OverlayNode to osganimate and osgspheresegment examples, and added support for setting texture size hint and coping with scene graphs with CoordinateSystemNode in them. 2005-09-05 13:27 +0000 [r4504-4505] robert: * Changed #if * Added checking of EventVisitor type 2005-09-05 13:23 +0000 [r4503] robert: * Fixed VisitorType of EventVisitor 2005-09-05 13:19 +0000 [r4502] robert: * Added event handler to shader code so that alphaCuttOff, transparency and sampleDensity are controlled via 'a', 't' and 'd' respectively. 2005-09-05 10:40 +0000 [r4501] robert: * Integrated shaders into source. 2005-09-05 09:14 +0000 [r4500] robert: * Added all sides of the shader cube 2005-09-05 07:48 +0000 [r4499] robert: * Added preliminary GLSL shader path for volume rendering. 2005-09-04 11:17 +0000 [r4498] robert: * Standardised the Vec* class interfaces, and added num_components enum to aid generic programming. 2005-09-04 06:36 +0000 [r4497] robert: * Added support in osgTerrain/osgdem for setting the image format to use when writing tiles out to disk 2005-09-03 20:56 +0000 [r4495-4496] robert: * Changed red()/green()/blue()/alpha() to r()/g()/b()/a() for greater consistency across Vec* classes and with OpenGL Shander Lanaguage. * Added release() to all GraphicsOperations in GraphicsThread. 2005-09-02 20:06 +0000 [r4494] robert: * Added commandline arguments for controlling number of cameras through to the windowing library to use. 2005-09-02 13:10 +0000 [r4493] robert: * Added clean up class to help improve the exit of GraphicsThread 2005-09-02 10:35 +0000 [r4492] robert: * Renamed osgUtil::RenderStageLighting osgUtil::PositionalStateContainer 2005-09-01 19:55 +0000 [r4491] robert: * Removed redundent code. 2005-09-01 19:12 +0000 [r4490] robert: * Fixed typo 2005-09-01 06:19 +0000 [r4489] robert: * Added osgcamera projects 2005-08-31 20:39 +0000 [r4488] robert: * Removed circular reference of osg::CameraNode, fixing memory leak. Added a auto exit after a maximum number of frames are completed. 2005-08-31 15:04 +0000 [r4487] robert: * Added osgSim::OverlayNode setup in osgsimulation, and added preliminary test code to the osgSim::OverlayNode to test osgsimulation/the architecture. 2005-08-31 13:43 +0000 [r4486] robert: * Set number of cameras to 3. 2005-08-31 12:56 +0000 [r4485] robert: * Added graphics context pointer to osg::Texture in prep for support for Pbuffer Render To Texture. 2005-08-31 12:49 +0000 [r4484] robert: * Disable the glFinishBarrierOp usage as glFinish was spin locking the CPU :-| 2005-08-31 10:55 +0000 [r4483] robert: * Seperated out the cull and draw traversals into their own operations, and added a glFinishBarrierOp which can be placed between the cull and the draw or after swap. 2005-08-31 09:21 +0000 [r4482] robert: * Add comments explain how example works. 2005-08-30 22:28 +0000 [r4481] robert: * Added support for GrapicsOpeations that are reused each frame, cleaned up osgcamera example. 2005-08-30 19:20 +0000 [r4479-4480] robert: * Compile fix. * From Colin McDonald, fix for big endian systems 2005-08-30 19:03 +0000 [r4478] robert: * 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. 2005-08-30 14:41 +0000 [r4477] robert: * Clean up and fixes to GraphicThread class, and osgcamera example. 2005-08-30 09:33 +0000 [r4476] robert: * From Norman Vine, fixed small typo. 2005-08-29 20:38 +0000 [r4475] robert: * Fixed reading and writng of data. 2005-08-29 20:16 +0000 [r4474] robert: * Added scratch pad reset. 2005-08-29 19:57 +0000 [r4473] robert: * Implement a scratch pad for writing and read data to, to solve issue between running a master and slave on a mix of 32bit and 64bit. 2005-08-29 14:05 +0000 [r4472] robert: * Improved support for keyboard/mouse events in osgcluster. 2005-08-29 12:25 +0000 [r4471] robert: * Added extra debug info. 2005-08-29 12:05 +0000 [r4470] robert: * Added extra access methods on osgProducer::KeyboardMouseCallback, and added support for reading and writing keyboard/mouse events in osgcluster. 2005-08-28 19:07 +0000 [r4469] robert: * Disabled the pbuffer graphics thread. 2005-08-28 15:49 +0000 [r4468] robert: * From Marco Jez, fixed typo of OverlayNode.cpp. 2005-08-26 20:01 +0000 [r4467] robert: * Added OveralyNode into VS project file, and fleshed out more code in the OveralyNode implementation. 2005-08-26 14:00 +0000 [r4466] robert: * Added beginings of new OverlayNode, for managing a render to texture which is then used to overaly other parts of the scene such as terrain. 2005-08-26 13:26 +0000 [r4465] robert: * Added --num-components option. 2005-08-26 08:48 +0000 [r4464] robert: * From Farshid Lashkari, fixed warnings. 2005-08-25 19:23 +0000 [r4463] robert: * From Farshid Lashkari, added istream support to JPEG plugin. 2005-08-25 18:18 +0000 [r4462] don: * made removeExpiredSubgraphs virtual. 2005-08-25 17:53 +0000 [r4461] robert: * From Eric Sokolowsky, warning fixes for g++ 4.0 under Fedora Core 4. 2005-08-25 14:37 +0000 [r4460] robert: * From Farshid Lashkari, Support for reading TIF images from stream, and support from reading and writing RGB image to/from stream. 2005-08-25 14:12 +0000 [r4459] robert: * Added support for rapid movement of the emitter, with particle now seeding between the position of the emitter in the previous frame and the new position in the new frame, the number of particles added also scales up to compensate for this movement. 2005-08-24 19:21 +0000 [r4457-4458] robert: * Removed old commented out code. * From Domenico Mangieri, added constructor. 2005-08-24 11:53 +0000 [r4456] robert: * From Gordon Tomlinson: " This fixes some crashing issues I was having with certain FLT files that only had partial colour palettes Which are typically found in older 14.x files and file converted through Polytrans or Deep exploration etc. The code that grabs the color entries in ConvertFromFLT::visitColorPalette was assuming that there were full palettes always coming in and stepping was out of bounds in certain cases (not all) and thus crashing with access violations etc, Although the normal from Creator is to have 1024 or 512 entries , this is not a really requirement of the format, just the way Creator creates its default palettes etc. Code changed to look at the number of entries and use just those and fills in any missing entries with a default white colour" 2005-08-24 10:48 +0000 [r4455] robert: * From Farshid Lashari, added support for reading from std::istream's to the BMP, GIF, PNG and TGA image plugins 2005-08-22 15:13 +0000 [r4454] robert: * From Geoff Michel, added normal definition for tesselation 2005-08-22 14:13 +0000 [r4453] robert: * From Carlo Camporesi, fixed .ive handling of character height and aspect ratio. 2005-08-22 14:07 +0000 [r4452] robert: * From Domenico Mangieri: "I've added a Plane constructor which accepts a normal and a point. I also removed calculateUpperLowerBBCorners() from the Plane(const Vec3& v1, const Vec3& v2, const Vec3& v3) since the constructor is using the function set(const Vec3& v1, const Vec3& v2, const Vec3& v3) which already computes the upper and lower bounding box." 2005-08-22 13:58 +0000 [r4451] robert: * From Domenico Mangieri, addded some missing const qualifiers in osgUtil::SceneView. 2005-08-22 13:54 +0000 [r4450] robert: * From Fabio Mierlo, "I add a new option in the HDR Reader. The RAW option store the RGBE values into a Image, to use this option you need to decode the RGBE value in the frag- ment shader. Follow the cube map glsl decoder: vec4 textureCubeRGBE( uniform samplerCube sampler, vec3 coords ) { ivec4 rgbe = textureCube( sampler, coords ) * 255. + 0.5; float e = rgbe.a - ( 128 + 8 ); return vec4( rgbe.rgb * exp2( e ), 1.0 ); } This option is usefull for who have a outdate hardware like FX cards and want to do cool things. Finally this patch is need by a new HDR Rendering example that I will put on the Wiki." 2005-08-22 13:45 +0000 [r4449] robert: * From Joseph Winston, "Corrected displayed comment about the text size to match the actual text size." 2005-08-22 13:03 +0000 [r4448] robert: * Tweaked flight manipulator pitch sensitivity. 2005-08-21 15:32 +0000 [r4447] robert: * Added OSG_EXPORT to GrephicsThread and fixed typo in osg.dsp. 2005-08-20 08:59 +0000 [r4446] robert: * Further work on GraphicsContext/GraphicsThread 2005-08-20 08:20 +0000 [r4445] robert: * From Joseph Winston, removed #include 2005-08-18 20:35 +0000 [r4443-4444] robert: * Added GraphicsThread class * Added GraphicsThread to project file 2005-08-18 20:17 +0000 [r4442] robert: * Various updates to support the new GraphicsThread class. 2005-08-18 09:36 +0000 [r4441] robert: * Added beginings of GraphicsThread class 2005-08-18 08:37 +0000 [r4440] robert: * Implemented more SceneView operations in main as a move to try and replace SceneView usage in this example. 2005-08-17 16:13 +0000 [r4439] robert: * Replaced osgUtil::SceneView usage by osg::CameraNode 2005-08-17 10:12 +0000 [r4438] robert: * Merged RenderToTextureStage functionality into RenderStage 2005-08-17 08:50 +0000 [r4437] robert: * Fix compile under x64_32. 2005-08-17 07:27 +0000 [r4436] robert: * Disabled assembly code for x64_64 paths. 2005-08-16 13:29 +0000 [r4435] robert: * 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. 2005-08-15 13:54 +0000 [r4434] robert: * Added osgshaderterrain example. 2005-08-09 14:13 +0000 [r4433] robert: * Added base texture support. 2005-08-09 10:48 +0000 [r4430-4432] robert: * Added getStartTick() acess method * Added getDisplayList access method * Fixed indenting and typo 2005-08-09 09:11 +0000 [r4429] robert: * Added GLSL shader pathway into osgforest. 2005-08-06 19:19 +0000 [r4426-4428] robert: * Added setting up of Producer::VisualChooser. * Change the frame reference time so that it uses the same time as the KeyboardMouseCallback. * Set the double buffer off when setting up pbuffers. 2005-08-06 04:33 +0000 [r4425] robert: * Added blend shadow fragment shader 2005-07-30 18:44 +0000 [r4424] robert: * Added setStateSet(0) to destructors to force the problem clean up of attached StateSets. 2005-07-27 13:38 +0000 [r4423] robert: * From Pavel Moloshtan, setting of the cull traversal mask which visiting camera subgraphs. (with small tweak from Robert Osfield to remove compile warnings.) 2005-07-27 11:27 +0000 [r4422] robert: * Further work on trying to get glGenerateMipMapEXT working in conjunction with frame buffer objects. Still don't work under Linux yet through :-| 2005-07-27 09:37 +0000 [r4421] robert: * From Marco Jez, added setEventHandled() and getEventHandled() to osgGA::EventVisitor. 2005-07-26 21:07 +0000 [r4420] robert: * From Jeremy Bell, "My patch is a slight refactoring of the mac specific code in Registry.cpp and FileUtils.cpp, specifically around the library and resource file path initilialization methods. This patch cleans up a lot of the mac specific code by moving repeated code into separate local functions in FileUtils.cpp that are only compiled on mac builds. It also adds one function to the API, appendPlatformSpecificResourceFilePaths in FileUtils. This function will mirror the already existing appendPlatformSpecificLibraryFilePaths except for resource file paths. Currently this function is empty except when built on the mac, in which case it will add the application bundle's internal Resources folder and the bundle's parent folder. Previously this code was implemented as a separate mac specific #ifdef block in Registry.cpp around the initDataFilePathList method. However, it now is implemented in appendPlatformSpecificResourceFilePaths in FileUtils.cpp and the initDataFilePathList method is now the same on all platforms. This patch should behave the same as before on non-mac platforms. This patch already includes the fix that Eric mentioned earlier. This patch is based off of the 0.99 release code. I have tested this patch using the following testing scheme: Make a proper bundled application. While Run from the Finder: Test that it finds plugins in its internal plugins path. Test that it finds resources in its internal resources path. Test that it finds resources in the bundle's parent directory Test that it finds plugins in the user's Application Support Directory Test that it finds plugins in the system's Application Support Directory Test that it finds plugins in the Network Application Support Directory Check the plugin and resource path lists after they have been initialized to see if they are in the correct order While Run from the command line (both from it's parent directory and from inside the /Contents/MacOS directory) and repeat the above tests. Check that it also finds plugins and resources within the paths defined by various environment variables. Now, Make an application that is NOT bundled/command line only Test that it does NOT try to look in an internal bundle plugin/resource directory for plugins or resources. Test that it finds plugins/resources in the paths defined by the environment variables. " 2005-07-26 20:31 +0000 [r4419] robert: * From Eric Wing, fix to be able to handle "spacial" characters under OSX. 2005-07-26 16:05 +0000 [r4418] robert: * From Brede Johansen, fix to the isImageTranslucent() method. 2005-07-26 15:49 +0000 [r4417] robert: * From Fabio Mierlo, removed cast from float to RGB8, to allow native float imagery to be correctly importated from HDR files. From Robert Osfield, tweaked the above to allow the original casting to RGB8 as an options switched on by a osgDB::ReaderWriter::Options string with a value of "RGB8". 2005-07-25 16:12 +0000 [r4416] robert: * Perliminary support for glGenerateMinMapEXT. 2005-07-25 14:28 +0000 [r4415] robert: * Added handling of automatic setting up of the contextID. 2005-07-25 13:05 +0000 [r4414] robert: * Added support for TextureCubeMap into osgUtil::RenderToTextureStage. 2005-07-24 20:31 +0000 [r4413] robert: * Added post draw callback to osg::CameraNode/osgUtil::RenderToTextureStage. Added support for Texture1D, 2D, 3D and TextureRectangle into osgUtil::RenderToTextureStage. 2005-07-24 11:06 +0000 [r4412] robert: * Port Impostor across to use the new osg::CameraNode. 2005-07-23 19:08 +0000 [r4410-4411] robert: * Updated wrappers. * Added osg::CameraNode to ImpostorSprite in prep for moving across to using camera node in pre rendering of impostors. 2005-07-23 15:21 +0000 [r4409] robert: * Attached ImpostorSpriteManager to the CullVisitor. 2005-07-22 16:25 +0000 [r4408] robert: * Renabled impostor support using old style RenderToTextureStage setup. 2005-07-22 09:31 +0000 [r4407] robert: * Added glSissor suppor via new osg::Scissor class. Added .osg support for osg::Scissor. Added .ive support for osg::Viewport and osg::Scissor. 2005-07-22 08:21 +0000 [r4406] robert: * Added missing typedef 2005-07-21 20:45 +0000 [r4405] robert: * Fixed compile error. 2005-07-21 19:37 +0000 [r4404] robert: * Added GraphicsContextImplementation 2005-07-21 19:27 +0000 [r4403] robert: * Implemented the beginings of the osgProducer::GraphicsContexImplementation. Added options into osgprerender for controlling how to do the pre rendering i.e. --fbo, --pbuffer, --fb --window, and also added the option for controlling the window size with --width and --height. 2005-07-21 08:43 +0000 [r4402] robert: * Checked in graphics context. 2005-07-20 19:42 +0000 [r4401] robert: * From Marco Jez (with tweaks by Robert Osfield) : clean up of inheritance from std::vector<> classes 2005-07-20 15:55 +0000 [r4400] robert: * Added new osg::GraphicsContext base class 2005-07-20 14:31 +0000 [r4399] robert: * Removed osgIntrospection wrappers 2005-07-20 08:03 +0000 [r4398] robert: * Updated wrappers 2005-07-19 20:40 +0000 [r4397] robert: * Added wrapper projects and updates of autogenerated wrappers. 2005-07-19 20:01 +0000 [r4396] robert: * Added support for multiple colour buffers into osg::CameraNode/osgUtil::CullVisitor 2005-07-19 16:30 +0000 [r4395] robert: * Ported all the render to texture examples across to using the new osg::CameraNode. Added support for texture cube maps in FBO + CameraNode. 2005-07-15 21:47 +0000 [r4394] robert: * Updated wrappers 2005-07-15 19:24 +0000 [r4393] robert: * Added return 1. 2005-07-15 16:26 +0000 [r4392] robert: * Added .osg suppot for new alignment modes 2005-07-15 16:22 +0000 [r4391] robert: * From Yuri Vilmanis, improved multi-line justifaction support and new alignment modes 2005-07-15 14:41 +0000 [r4390] robert: * Renamed Byte2,3,4 and Short2,3,4 and UByte4 to use the Vec*b, Vec*s and Vec4ub form 2005-07-15 10:48 +0000 [r4389] robert: * From Brede Johansen, fixed range check 2005-07-15 09:56 +0000 [r4388] robert: * Fixed bug in ProxyNode write out where non existant children were written out. 2005-07-15 08:32 +0000 [r4386-4387] robert: * Added reference frame to TexGenNode * Cleaned up osghud and osgprerender examples 2005-07-14 21:04 +0000 [r4385] robert: * Updates 2005-07-14 20:32 +0000 [r4384] robert: * Fix PagedLOD::addChild(,,) so that they allocate the correct size of range data. 2005-07-14 13:21 +0000 [r4383] robert: * Added back in the call to drawPreRenderStages() as this shouldn't interfere with the stereo code in SceneView as RenderStage should automatically only allow themselves to be draw on per frame. 2005-07-14 10:34 +0000 [r4382] robert: * Removed the set culling active flag setting 2005-07-14 10:27 +0000 [r4381] robert: * From Mike Weiblen, addiding of Program::validateProgram and osg::isNotifyEnabled() method 2005-07-14 10:18 +0000 [r4379-4380] robert: * Changed osgpagedlod example to convert LOD nodes into PagedLOD ones. * Added missing copy _referenceFrame in copy constructor 2005-07-10 14:50 +0000 [r4378] robert: * Ported osgshadow across to using new osg::CameraNode 2005-07-09 14:35 +0000 [r4377] robert: * Ported osgdistortion example across to using osg::CameraNode. 2005-07-09 09:56 +0000 [r4376] robert: * From Paul Martz, fix to memory leak of StateSet's 2005-07-08 19:45 +0000 [r4375] robert: * From Jason Beverage, fix to setting of grey band. 2005-07-08 19:33 +0000 [r4374] robert: * From Tom Jolly, added setPulse 2005-07-08 14:46 +0000 [r4373] robert: * From Marco Jez, added missing method implementations to CameraNode and added check to ensure FBO extension is support to RenderToTextureStage. 2005-07-07 14:14 +0000 [r4372] robert: * Tweaks for better OSX paging support, 6 and 9 keys for control drive manipulator up and down looking, and removed redundent API from osg::Geometry. 2005-07-05 15:57 +0000 [r4371] robert: * 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. 2005-07-03 19:58 +0000 [r4370] robert: * Changed notice to be an info message 2005-07-02 08:11 +0000 [r4369] robert: * Added support for equalizing the normals along tile boundaries. 2005-07-01 09:10 +0000 [r4368] robert: * Added support for point sprites 2005-06-30 09:08 +0000 [r4367] robert: * Added tri sripping and support for outputing files. 2005-06-30 07:59 +0000 [r4366] robert: * Romoved redudent gdal link 2005-06-29 15:52 +0000 [r4365] robert: * Added smoothing and tri strip pass. 2005-06-29 10:23 +0000 [r4363-4364] robert: * Added support nesting the parameter specification within a [x,y,z] block and float parameters * From Colin McDonald, build fix for Solaris 2005-06-28 17:53 +0000 [r4362] robert: * From Mike Weiblen, icon file. 2005-06-28 09:34 +0000 [r4361] robert: * From Mike Weiblen, "some polish for 1.0: centralizes the icon resource definition and adjusts all app and example projects to use that single defn. The various existing resources.rc files should be deleted." 2005-06-27 14:28 +0000 [r4360] robert: * Added / and * controls of the distance attentuations of the point size extension 2005-06-27 08:54 +0000 [r4359] robert: * Added missing dirtyBound(). 2005-06-24 20:19 +0000 [r4358] robert: * From David Spilling, fixed the incircle test so it handles colinear points. 2005-06-24 19:50 +0000 [r4357] robert: * From Colin McDonald, "On fixing the pointer access I discovered that reading osga archives containing ive files went into a cpu loop. This turned out to be a problem with proxy_streambuf on Solaris. Public methods in the Solaris streambuf standard library implementation rely on the gptr() being set, which proxy_streambuf was not doing. So I have modified proxy_streambuf to set the input sequence pointers, and have also aligned it more with the standard library streambuf implementation where all input is through underflow(), not uflow() which merely calls underflow() and advances the pointer." From Robert Osfield, change from using pointer cast and assignment to using a templated _write and _read method to avoid pointer aliasing to 2/4/8 byte boundaries that some computer system may produce. These changes where inspried by Colin McDonalds change to using memcpy, these changes weren't merged as memcpy is not as clear in naming as _read, _write and memcpy will incurr a function call just for copy a uint. 2005-06-24 15:39 +0000 [r4356] robert: * From Colin McDonald: "Some makedefs fixes for Solaris: For multithreaded applications the -mt option must be specified on both the compile and link steps, to ensure correct behaviour. According to the Sun compiler documentation it sets REENTRANT flags in the system header files, and links the -lthread library in the correct order. When compiling shared libraries the -KPIC option should be specified. Although Solaris will handle shared libraries without position-independent code there is a performance penalty. The linker reference manual says: 'If a shared object is built from code that is not position-independent, the text segment will usually require a large number of relocations to be performed at runtime. Although the runtime linker is equipped to handle this, the system overhead this creates can cause serious performance degradation'." 2005-06-24 15:34 +0000 [r4355] robert: * From Martijn Kragtwijk: "I ran into the same problems as Karl Martensson (http://openscenegraph.org/archiver/osg-users/2005-June/0575.html); after switching children of a Switch node off and on again, they become unpickable. This issue occurs first in 0.9.9, with 0.9.8 everything is fine. My fix involves calling dirtyBound() every time the on/off-values of the Switch are changed" 2005-06-24 15:30 +0000 [r4354] robert: * From David Guthrie, "The call NSLookupAndBindSymbol was changed to NSLookupSymbolInModule. The former call would lookup the named symbol NOT in the current dynamic library, but in the entire running program while the call NSLookupSymbolInModule, takes the handle to the library the symbol should be found in. This means the current code will fail if one loads multiple bundles at runtime and attempts to load the same named symbol from each one." 2005-06-24 15:15 +0000 [r4353] robert: * Moved the working createPagedLODScene() implemention into createScene() method replacing the original flaky code. 2005-06-22 11:26 +0000 [r4352] robert: * From Mike Weiblen, fixes to shaders to correct modification of varying types 2005-06-22 11:02 +0000 [r4350-4351] robert: * Disabled NPO2T on GeforceFX. * Added experimental OpenGL shader path for positioning of trees (doens't work yet though..) 2005-06-21 16:10 +0000 [r4349] robert: * Added option for terrain texturing. 2005-06-21 15:24 +0000 [r4348] robert: * Added matrix and simple vertex shader paths. 2005-06-21 15:13 +0000 [r4347] robert: * Combined uniforms. 2005-06-21 12:12 +0000 [r4346] robert: * Tweaked the vertex program. 2005-06-20 21:10 +0000 [r4345] robert: * Added very simply osgparametric example which uses an OpenGL shader program to create an animated parametric surface. 2005-06-20 10:38 +0000 [r4343-4344] robert: * From Tom Jolly, added method for getting the number of frames. * From Mike Weiblen, " - adjustments to improve namespacing on VS - clarify compilation status message" 2005-06-20 10:28 +0000 [r4342] robert: * From Andreas Jochens (submitted by Loic Dachary), addintion of forward declare of class Progam; to fix compile problem under gcc4.0/amd64/debian unstable. 2005-06-20 10:16 +0000 [r4341] robert: * From Mike Weiblen, added OSG_EXPORT to FrameBufferObject files. 2005-06-16 14:01 +0000 [r4340] robert: * Further FBO support work. 2005-06-16 13:53 +0000 [r4339] robert: * From Pavel Moloshtan, added support of Drawable::Extensions::glDeleteQueries() 2005-06-16 11:45 +0000 [r4337-4338] robert: * Added copyright notices. * Moved FBO support from osgfbo example into core osg. 2005-06-15 20:06 +0000 [r4335-4336] robert: * Futher work on FBO support * Added automatic creation of texture when size is set but not osg::Image is assigned. This is useful for FBO usage. 2005-06-15 11:49 +0000 [r4334] robert: * From David Guthrie, " In the constructor in removes any options beginning with "-psn" from argv on OSX by calling the "remove" method. When a .app run is created in OSX, which is required to get a fully functioning UI application, the OSX finder passes a -psn_XXXX option to the application where the XXXX refers to a unique process number. An example option would be "- psn_0_37617665". The argument parser was choking on this option in all the osg example applications." 2005-06-15 10:59 +0000 [r4333] robert: * Added osgmultiplecameras example and support for pre/post multiplaction. 2005-06-14 20:51 +0000 [r4332] robert: * Work on the RenderToTexture usage of the new osg::CameraNode. Both osghud and osgprerender now ported across to osg::CameraNode. 2005-06-14 13:16 +0000 [r4331] robert: * Added osg::CameraNode. 2005-06-14 09:12 +0000 [r4330] robert: * Removed reference to non existant AVI plugin 2005-06-14 08:48 +0000 [r4329] robert: * Fixed position of glBindBuffer. 2005-06-13 20:03 +0000 [r4328] robert: * Fixed with the reprojection so that it doesn't promote all source data to RGBA, but only does this for RGB data. 2005-06-13 11:14 +0000 [r4327] robert: * From Ken Sewell, fixed for x86_64 build. 2005-06-09 19:02 +0000 [r4326] robert: * From Marco Jez, added project files for osgfbo example. 2005-06-09 11:53 +0000 [r4325] robert: * Fixed makefiles 2005-06-09 11:08 +0000 [r4324] robert: * From Marco Jez, added example that uses FBO extension to do prerendering. 2005-06-09 09:27 +0000 [r4323] robert: * Added \n to end of a couple shader source lines. 2005-06-09 08:29 +0000 [r4322] robert: * Added texture2D shader source 2005-06-08 15:57 +0000 [r4321] robert: * Added experiment GLSL fragment shader to clip out dark areas of videos. 2005-06-08 13:20 +0000 [r4320] robert: * Updated wrappers. 2005-06-08 13:16 +0000 [r4319] robert: * Moved the set/getName() support from osg::Node etc into the osg::Obejct base class 2005-06-08 10:39 +0000 [r4317-4318] robert: * Added sizeof(std::string) test to osgunittests * From Mike Weiblen, added GLSL datatypes mat2 and mat3 to osg::Uniform, with .osg and .ive support 2005-06-08 08:33 +0000 [r4316] robert: * From Mike Weiblen, "modified .rot pseudoloader plugin so rotation order actually matches the embedded documentation" 2005-06-06 10:18 +0000 [r4315] robert: * From Mathia Walker: bug fix to LOD ranges in TXP plugin to avoid cracks: "I took a closer look at the conditional code in SeamFinder::seamReplacement(). Because _info.minRange is a double and lod->getMinRange(0) is a float, the difference will be calculated with double precision. If _info.minRange is cast as a float it is exactly the same value as lod->getMinRange(0) and the difference is exactly zero. So if you change if((fabs(_info.minRange-lod->getMinRange(0))<0.001)&&(fabs(_info.lod0Range-lod->getMaxRange(0))<0.001)) to if((fabs((float)_info.minRange-lod->getMinRange(0))<0.001)&&(fabs((float)_info.lod0Range-lod->getMaxRange(0))<0.001)) it works a lot better." 2005-06-05 18:41 +0000 [r4313-4314] robert: * Changed VisualStudio 7.0 reference to 7.x * From Adam Richard, fixed typos + explanation how to use project files. 2005-05-31 06:21 +0000 [r4312] robert: * From Tim Daust, "I fixed the getScale functions in matrixf and matrixd. It was returning the values of the diagonal of the matrix, which only returns the scale if there is not a rotation. I fixed this by returning the length of the vectors that form the basis. I also added a function to orthonormalize the rotation component of the matrix. I seem to always run into situations where non uniform (or even uniform) scale complicate my calculations, and I thought other members of the community could use this function as well." 2005-05-31 05:48 +0000 [r4309-4311] robert: * Small fixes to NEWS * Changed char* to const char* * From Tom Jolly, fixes to the mapping of the billboard rotate mode. 2005-05-31 05:37 +0000 [r4308] robert: * Added ability to toggle on/off the pre compile of OpenGL objects in the DatabasePager via the setDoPreCompile(bool) method or via the env var OSG_DO_PRE_COMPILE=ON or OFF. 2005-05-30 16:15 +0000 [r4307] robert: * Added support for reading: OSG_MINIMUM_COMPILE_TIME_PER_FRAME and OSG_MAXIMUM_OBJECTS_TO_COMPILE_PER_FRAME environmental variable during the initialization of the DatabasePager to allow apps to be tweaked for best database pager behavior. 2005-05-26 14:38 +0000 [r4306] robert: * Reverted release number to 0 (development version). 2005-05-26 13:56 +0000 [r4305] robert: * From James French, fix for multiple definitionwhen compiling osg + plugins into monolithic dll. 2005-05-25 20:02 +0000 [r4303] robert: * Updated Version numbers for release. UPdated wrappers. 2005-05-25 17:19 +0000 [r4302] robert: * From Blake Williams, fix for VS8.0 build 2005-05-25 16:42 +0000 [r4301] robert: * Renamed ExplosionDebriEffect to ExplosionDebrisEffect 2005-05-25 15:35 +0000 [r4299-4300] robert: * Updated change log. From Fredric Marmond, changed unsigned int to unsigned long to avoid compile errors under 64 bit compile. * Added file to osgkeyboardmouse invokation. 2005-05-25 11:45 +0000 [r4298] robert: * Updated doxgen docs. 2005-05-25 09:50 +0000 [r4296-4297] robert: * Changd unsigned int's to unsigned char* to fix gcc3.4 64 bit issues. * Updated NEWS 2005-05-24 20:45 +0000 [r4295] robert: * Updated NEWS 2005-05-24 18:57 +0000 [r4294] robert: * Added pragma to remove warnings under VS.8.0 2005-05-24 15:34 +0000 [r4291] robert: * Updates to clean up wrapper generation, and to update wrappers 2005-05-24 15:23 +0000 [r4290] robert: * Did a dos2unix on all files 2005-05-24 10:46 +0000 [r4289] robert: * Added check for an empty compile lists. 2005-05-24 10:37 +0000 [r4288] robert: * Added re-entrent mutex to serialize access to OpenFlight plugin to prevent any multi-threaded issues. 2005-05-23 11:27 +0000 [r4286] robert: * Updated changelog 2005-05-23 11:18 +0000 [r4285] robert: * Added new examples to runexamples 2005-05-23 11:00 +0000 [r4284] robert: * Updated news. 2005-05-22 20:30 +0000 [r4283] robert: * Changed .png files to .jpg to help save space in OpenSceneGraph-Data. 2005-05-22 20:19 +0000 [r4282] robert: * Added scoring, welcome page, you've lost and you've won pages. 2005-05-21 21:19 +0000 [r4281] robert: * Added support for multiple levels, and exit on lose of all lives or on finishng the highest level. 2005-05-21 12:57 +0000 [r4280] robert: * Updates to osgcatch game to allow different types of falling objects 2005-05-21 09:55 +0000 [r4279] robert: * Maded debugging output write out at INFO level 2005-05-20 22:15 +0000 [r4278] robert: * Tweaked wrappers by hand to get them to compile 2005-05-20 21:12 +0000 [r4277] robert: * Updated wrappers. 2005-05-20 21:01 +0000 [r4274] robert: * Fixed doxygen comments. 2005-05-20 18:35 +0000 [r4273] robert: * Removed references to removed files. 2005-05-20 15:45 +0000 [r4272] robert: * Reworking to avoid compile issues under VS6.0. 2005-05-20 11:35 +0000 [r4270-4271] robert: * Removed remaining references to old DX writer. * Removed long unused and out of date DX writer plugin from distribution, will now be placed on the wiki just in case its needed. 2005-05-20 06:39 +0000 [r4269] robert: * Added env var report. 2005-05-19 21:42 +0000 [r4268] robert: * From Martin Aumueller, fixed copy and paste error on getActiveUniforms(). 2005-05-19 15:17 +0000 [r4267] robert: * Added support for setting the default render bin sort mode via the env OSG_DEFAULT_BIN_SORT_MODE variable or via or RenderBin::setDefaultRenderBinSortMode() method. 2005-05-19 09:22 +0000 [r4266] robert: * From Alberto Farre, added support for caching of ProxyNode children. 2005-05-18 21:45 +0000 [r4265] don: * Fixed fullscreen toggle in ViewerEventHandler that assumed the first RenderSurface was a window (not a pbuffer). 2005-05-18 21:34 +0000 [r4264] don: * PBuffer example revamped to use a normal CameraConfig for setting up the PBuffer and main cameras, and a PBufferTexture2D for the texture, rather than a subload callback 2005-05-18 21:31 +0000 [r4263] robert: * Updated NEWS, ChangeLog and runexamples.bat. 2005-05-18 21:17 +0000 [r4262] robert: * Updated wrappers. 2005-05-18 19:55 +0000 [r4261] robert: * Added s/getClearMask() support to osg::ClearNode, osgUtil::SceneView and the .osg plugin. 2005-05-18 19:04 +0000 [r4260] robert: * 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. 2005-05-18 18:43 +0000 [r4259] robert: * 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." 2005-05-18 18:31 +0000 [r4258] robert: * Fixed copy and paste mistakes in setEventCallback methods 2005-05-17 20:12 +0000 [r4257] robert: * Added RADEON as render type for disabling mipmapped NPO2T 2005-05-17 15:00 +0000 [r4255] robert: * Cleaned up in prep for release. 2005-05-17 14:25 +0000 [r4254] robert: * Improved the handling of data attached to proxy nodes 2005-05-17 13:50 +0000 [r4252-4253] robert: * Changed the default behavior to not writing out proxynode children. * Improved the handling of writing out of proxy node files. 2005-05-17 13:34 +0000 [r4251] robert: * 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. 2005-05-17 13:24 +0000 [r4250] robert: * Added destructor to fix Cygwin build problem. 2005-05-17 11:11 +0000 [r4249] robert: * Updated wrappers. 2005-05-17 11:00 +0000 [r4248] robert: * Added differentiation between Non power of two textures when mip mapped vs when not mipped mapped to get round the issue of incomplete support under ATI cards. 2005-05-17 09:53 +0000 [r4247] robert: * Removed old GeoSet backward compatibility code since its now redudent. 2005-05-17 09:06 +0000 [r4246] robert: * From Thom DeCarlo, build fixes for Cygwin. 2005-05-16 18:24 +0000 [r4245] robert: * Fixed name. 2005-05-16 17:37 +0000 [r4244] robert: * Update to NEWS w.r.t contributors 2005-05-16 17:17 +0000 [r4243] robert: * Bumped version numbers to 0.9.9 in rediness for 0.9.9 release. 2005-05-16 16:50 +0000 [r4242] robert: * Updated NEWS and ChangeLog in prep for release 2005-05-16 15:51 +0000 [r4240-4241] robert: * Warning fixes for IRIX * Updated wrappers 2005-05-16 14:27 +0000 [r4239] robert: * Changed the getHitList and getNumHits methods to take const osg::LineSegment* as a parameter. 2005-05-16 14:09 +0000 [r4238] robert: * Workaround for Mipspro compiler bug. 2005-05-16 11:22 +0000 [r4237] robert: * Updated wrappers. 2005-05-16 11:18 +0000 [r4236] robert: * Fixed method signatures. 2005-05-16 10:12 +0000 [r4235] robert: * Added osgUtil osgDB osgFX osgText osgTerrain osgGA osgProducer to the list of wrapper libraries. 2005-05-16 09:41 +0000 [r4234] robert: * Updated wrappers 2005-05-15 20:32 +0000 [r4232-4233] robert: * From Marco Jez, fixes to/and for osgIntrospection. * Moved computeBounds into public scope. 2005-05-15 05:47 +0000 [r4231] robert: * From John Grant, added getDrawableList() const. 2005-05-14 18:57 +0000 [r4230] robert: * From Marco Jez, added export symbols. 2005-05-14 14:31 +0000 [r4229] robert: * From Marco Jez, change of Doxygen docs name of class from UFOManipulator to osgGA::UFOManipulator, done to avoid automated wrapper issues. 2005-05-13 21:39 +0000 [r4227-4228] robert: * Yet another using namespace osg to try and work out the spat betwen MipsPro and VS.6.0. * From Tom Jolly, removing trailing comma for last entries in enums to fix IRIX compile warnings. 2005-05-13 14:54 +0000 [r4226] robert: * From Mike Weiblen, updated project files to link to new 3rdParty libs 2005-05-13 14:36 +0000 [r4225] robert: * Updated wrappers. 2005-05-13 13:29 +0000 [r4224] robert: * Moved BaseOptimizerVisitor out of Optimizer into osgUtil namespace to try and get round MipsPro compile problems. 2005-05-13 12:06 +0000 [r4223] robert: * Refinement of includes to help IRIX build 2005-05-13 11:11 +0000 [r4222] robert: * Cross platform build fixes. 2005-05-13 09:52 +0000 [r4220] robert: * Added #include "dxfBlock.h" 2005-05-13 09:05 +0000 [r4218] robert: * Added /Zm200 2005-05-13 08:54 +0000 [r4217] robert: * Removed unused function. 2005-05-12 20:59 +0000 [r4216] robert: * From Mike Weiblen, Added queries of compilation state to Shader (for symmetry with Program's link state queries) 2005-05-12 20:46 +0000 [r4214] robert: * fixed warning. 2005-05-12 20:35 +0000 [r4210] robert: * From Jan Ciger, gcc 4.0 compile fix. 2005-05-12 20:06 +0000 [r4208-4209] robert: * Updated wrappers. * Fixed pairing of write and read of Matrixd 2005-05-12 19:14 +0000 [r4207] robert: * From Mike Weiblen, osgpbuffer now needs to link w/ Producer (fixed .dsp file attached) 2005-05-12 19:05 +0000 [r4206] robert: * Added missing Uniform(Matrixd) constructor implementation 2005-05-12 15:51 +0000 [r4204] robert: * From Alberto Farre, "ConvertFromFLT::addMultiTexture makes ENDIAN conversion for SMultiTexture struct attributes. When an flt object is multi-instantiated y should be done just first time, because SMultiTexture struct is always the same, currently is being done for each instance. Attached file fix the problem but perhaps a more clean fix would be making ENDIAN conversion at writing attributes time instead of at reading time. " 2005-05-12 14:48 +0000 [r4203] robert: * Added IO support for new intialBound and callbacks to .osg, and initialBound to .ive 2005-05-12 14:03 +0000 [r4202] robert: * Added new Node/Drawable::s/getInitialBound and Node/Drawable::s/getComputeBoundCallback methods and reimplement computeBound so that it passes back a bounding volume rather than modifying the local one. 2005-05-12 08:58 +0000 [r4201] robert: * Added setTextureFileName method. 2005-05-12 08:54 +0000 [r4200] robert: * Added clear of lazy uniform updating structure on relink, also added debug output of shader being compiled. 2005-05-12 07:47 +0000 [r4199] robert: * Moved OpenGL2 definitions from Uniform header to GL2Extensions 2005-05-11 21:36 +0000 [r4198] robert: * Updated wrappers. 2005-05-11 21:06 +0000 [r4197] robert: * Added missing required includes 2005-05-11 20:37 +0000 [r4196] robert: * Compile fix. 2005-05-11 20:05 +0000 [r4195] robert: * Updated wrappers 2005-05-11 19:59 +0000 [r4194] robert: * Moved GL2Extensions back out of Program and into its own header file. 2005-05-11 19:34 +0000 [r4192-4193] robert: * 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." * Changed the info log so that it output to INFO on success, to WARN when an error has occured. 2005-05-11 19:14 +0000 [r4190] robert: * From Nathan Monteleone, rewrote the osgpbuffer example so that it uses Producer xplatform support for pbuffer instead of Win32 specific pathways as support before. (with a few code tweaks to simplfy the code, by Robert Osfield). 2005-05-11 16:05 +0000 [r4189] robert: * Added .osg support for new ParticleEffect::s/getDefaultParticleTemplate. 2005-05-11 15:26 +0000 [r4188] robert: * Added support for setting the texture filename and more fine control over the particle template used in ParticleEffects 2005-05-11 13:40 +0000 [r4186-4187] robert: * Fixed compile warning. * Completed GLSL support in .ive 2005-05-11 11:42 +0000 [r4184-4185] robert: * Further work on GLSL support in .ive * Cleaned up API of BindAttributeLocation, added deletion of shader objects. 2005-05-10 20:20 +0000 [r4183] robert: * Put in place the class to implement GLSL support in .ive 2005-05-10 18:21 +0000 [r4182] robert: * Moved the infolog to the error handling block and upping its notification level to WARN to provide better feedback on failure with needing to use DEBUG notification level. 2005-05-10 16:13 +0000 [r4181] robert: * Added tab to space converted to .obj plugin 2005-05-10 13:56 +0000 [r4180] robert: * Added support for PROTECTED and OVERRIDE to uniforms. 2005-05-10 10:01 +0000 [r4179] robert: * From Farshid Lashkari, bumped IVE version number to 9, and added support in Texture for _borderWidth _useHardwareMipMapGeneration _unrefImageDataAfterApply _clientStorageHint _resizeNonPowerOfTwoHint 2005-05-10 09:07 +0000 [r4178] robert: * Changed -ne to $LINK_ECHO_OPTION to fix cross platform compile issues 2005-05-10 08:07 +0000 [r4177] robert: * From Farshid Lashkari, and non power of two resize hint support to .osg ascii 2005-05-09 15:29 +0000 [r4176] robert: * Added code to prevent ProxyNode's from been "flattened" by osgUtil::Optimizer::FlattenStaticTransforms. 2005-05-09 13:09 +0000 [r4175] robert: * Removed deprecated API in preparation for 0.9.9 release. 2005-05-09 10:17 +0000 [r4174] robert: * Added osgUtil, osgDB, osgFX, osgParticle, osgSim, osgTerrain, osgGA and osgProducer to osgWrappers directory. Enabled the build of osgWrappers/osg, osgWrappers/osgPartile and osgWrappers/osgSim, but not osgUtil, osgDB, osgFX, osgTerrain, osgGA and osgProducer due to compile errors. I am assuming that these compilers are fixable so I'm checked all the source code so that members of the community can help fix them. 2005-05-08 19:21 +0000 [r4173] robert: * Removed debug info 2005-05-08 18:37 +0000 [r4172] robert: * Updated osgWrappers. 2005-05-08 15:24 +0000 [r4171] robert: * Added missing copy of _stereo 2005-05-07 20:47 +0000 [r4170] robert: * Added more comprehensive releaseGLObjects(State*=0) throughout Nodes, Drawables,StateSet, and osgDB::Registry. Added cleanup_frame() from to osgProducer::OsgCamerGroup to help with proper clean of OpenGL objects before exit, and modified osgviewer, osghangglider, osgwindows examples to do the extra frame call to cleanup_frame() before exit. 2005-05-07 09:17 +0000 [r4169] robert: * From Tim Daoust/Robert Osfield, added Font::releaseGLobjects(State*state=0) to facilate clean up of scene when a graphics context is deleted/reused. 2005-05-06 19:44 +0000 [r4168] robert: * Added handling of sharing of graphics context data which is now supported by Producer. You can get the osgProducer::Viewer to share graphics contexts by using the env var OSG_SHARE_GRAPHICS_CONTEXTS set to ON or OFF i.e. setenv OSG_SHARE_GRAPHICS_CONTEXTS ON 2005-05-06 17:43 +0000 [r4167] robert: * Added X11 include and lib paths to find freetype under OSX. 2005-05-06 14:28 +0000 [r4166] robert: * Made OSX default to using single threaded keyboard mouse. 2005-05-06 14:07 +0000 [r4165] robert: * Made USE_AGL=yes the default under OSX. 2005-05-06 10:32 +0000 [r4164] robert: * Added osg_DeltaFrameTime uniform to default set. 2005-05-06 09:58 +0000 [r4163] robert: * From Mike Weiblen, further work on GLSL support 2005-05-06 09:04 +0000 [r4162] robert: * From Farshid Lashkari, support for non power of two extension. 2005-05-05 21:21 +0000 [r4161] robert: * Fix for OSX build across both Tiger and 10.3.x 2005-05-05 20:05 +0000 [r4160] robert: * Removed rgb alias for Quicktime mapping since the Quicktime is not reliable at loading all rgb files that the standard OSG rgb reader can read. 2005-05-05 19:46 +0000 [r4159] robert: * Changed check() method name to checkConsistency() to avoid perculiar OSX Tiger build error. 2005-05-05 14:03 +0000 [r4158] robert: * Removed the defaulting to setting the camera threading model to MultiThreaded, instead leave it to Producer's defaults. 2005-05-05 12:30 +0000 [r4157] robert: * Added support for osg_FrameNumber, osg_FrameTime, osg_ViewMatrix, osg_InverseViewMatrix into SceneView, controlled via a setActiveUniforms(.) method. 2005-05-05 09:18 +0000 [r4156] robert: * From Farshid Lashkari, added Texture::Extension support for non power of two extension. 2005-05-04 11:38 +0000 [r4155] robert: * Fix for Tiger build 2005-05-04 09:11 +0000 [r4153] robert: * Fixed bug where the Optimizer::StateVisitor was trying to optimize non existant StateSet's. 2005-05-03 22:02 +0000 [r4152] robert: * Updated wrappers 2005-05-03 21:53 +0000 [r4151] robert: * 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." 2005-05-03 21:49 +0000 [r4149-4150] robert: * Removed the default compile of single threaded KeyboardMouse * Added support for lazy state updating of uniforms. 2005-05-03 16:34 +0000 [r4148] robert: * From Bob Kuehne, OSX 10.4 fix. 2005-05-03 14:31 +0000 [r4147] robert: * From Bob Kuehne, fixes for OSX 10.4 build. 2005-05-03 10:09 +0000 [r4146] robert: * Updated wrappers 2005-05-03 06:23 +0000 [r4145] robert: * Removed Impostor.cpp 2005-05-02 20:00 +0000 [r4144] robert: * Fixed TIFF readers handling of interleaved data 2005-05-02 19:42 +0000 [r4143] robert: * Improvements to the repojection code so that it can generate RGBA reprojected data. 2005-05-02 14:16 +0000 [r4142] robert: * Added support for generating RGBA, RGBA-16 and RGBA-compressed texture databases 2005-05-02 13:00 +0000 [r4141] robert: * Added support for reading from RGBA source textures 2005-05-02 10:18 +0000 [r4140] robert: * Added support for optimization of Uniforms 2005-05-02 09:57 +0000 [r4139] robert: * Improved the handling of update/event callbacks on Drawable and Geodes 2005-05-02 09:34 +0000 [r4138] robert: * From Mike Weiblen, added \n newlines to inline shader program strings. From Robert Osfield, changed tabs to spaces. 2005-05-01 21:33 +0000 [r4137] robert: * Moved Impostor from osg to osgSim .osg plugin 2005-05-01 20:56 +0000 [r4136] robert: * Added include for OSX build 2005-05-01 19:48 +0000 [r4135] robert: * Moved osg::Impostor to osgSim::Impostor, as Impostor isn't a core feature. 2005-05-01 10:34 +0000 [r4134] robert: * From Don Tidrow, spelling fixes 2005-04-30 15:16 +0000 [r4133] robert: * Added RemoveLoadedProxyNodes pass to Optimizer, set on by default at present. 2005-04-30 13:54 +0000 [r4132] robert: * From Geoff Michel : ac3d loader - better sharing of states between objects and Roger James' bug fix for missing normals. Tesselator.cpp - faster processing of polygon tesselation for single triangles (which dont need to be tesselated) osgtesselate.cpp - added wrap for texture so that appearance is as originally. Default texture behaviour has changed to clamp." 2005-04-30 07:25 +0000 [r4130-4131] robert: * Combine LOD fixed properly this time :) * fixed combined LOD bug 2005-04-30 07:02 +0000 [r4129] robert: * From Mike Weiblen, Progra/Shader fixes 2005-04-29 20:57 +0000 [r4127-4128] robert: * Updated wrappers * Added support for controlling the frequency of checking for OpenGL errors via: enum CheckForGLErrors { /** NEVER_CHECK_GL_ERRORS hints that OpenGL need not be checked for, this is the fastest option since checking for errors does incurr a small overhead.*/ NEVER_CHECK_GL_ERRORS, /** ONCE_PER_FRAME means that OpenGl errors will be checked for once per frame, the overhead is still small, but at least OpenGL errors that are occurring will be caught, the reporting isn't fine grained enough for debugging purposes.*/ ONCE_PER_FRAME, /** ONCE_PER_ATTRIBUTE means that OpenGL errors will be checked for after every attribute is applied, allow errors to be directly associated with particular operations which makes debugging much easier.*/ ONCE_PER_ATTRIBUTE }; /** Set whether and how often OpenGL errors should be checked for.*/ void setCheckForGLErrors(CheckForGLErrors check) { _checkGLErrors = check; } /** Get whether and how often OpenGL errors should be checked for.*/ CheckForGLErrors getCheckForGLErrors() const { return _checkGLErrors; } 2005-04-29 18:51 +0000 [r4126] robert: * VS.7.1 linker warning fix 2005-04-29 13:30 +0000 [r4125] robert: * Commented out notify messages to prevent crash under OSX at start up. 2005-04-29 11:22 +0000 [r4123-4124] robert: * Compile fix * Moved osgIntrospection across to standard OSG coding style. 2005-04-29 10:06 +0000 [r4122] robert: * Added Copyright 2005-04-29 09:47 +0000 [r4121] robert: * Moved osgParticle across to standard OSG coding style. 2005-04-29 06:32 +0000 [r4119-4120] robert: * Coding style update * Moved to standard OSG coding style. 2005-04-28 19:50 +0000 [r4118] robert: * Reduced the verboseness of the notifaction messages 2005-04-28 19:41 +0000 [r4117] robert: * Fixed the Mingw settings for GDAL_LIBS (was written as GDAL_LIB which wasn't being picked up as the GNUmakefiles were looking for GDAL_LIBS). 2005-04-28 19:24 +0000 [r4116] robert: * Changed the default texture size to 512x512 to reduce the number of textures required when rendering text. 2005-04-28 19:08 +0000 [r4115] robert: * Removed old LUMINANCE_ALPHA code pathways since they are no longer used. 2005-04-28 18:55 +0000 [r4114] robert: * Added proper handling of freeing of font implememtation either when unloading the freetype plugin or deleting osgText::Font first. 2005-04-28 12:45 +0000 [r4113] robert: * Added version number #define's 2005-04-28 05:58 +0000 [r4112] robert: * Added check to see if autoTransformCache had been initialized before using it in the computeBound. 2005-04-28 05:21 +0000 [r4111] robert: * From Farshid Lashkari, removed redundent fusion distance calculations from computeRightEyeProjectionImplementation and computeLeftEyeProjectionImplementation methods. 2005-04-28 05:15 +0000 [r4109-4110] robert: * From Marco Jez, changed = to ?= in COMPILE_INTROSPECTION line * From Marco Jez, converted line endings to unix. 2005-04-28 05:08 +0000 [r4108] robert: * From Marco Jez, added -ne option echo usage to fix stdout/stderr redirection error under Mingw. 2005-04-26 20:35 +0000 [r4107] robert: * From Ruben, fix for PIV executation by disabling MMXEXT selection. 2005-04-26 19:34 +0000 [r4106] robert: * From Brede Johansen, tweaks to emitter classes to make them more extensible. 2005-04-26 18:55 +0000 [r4105] robert: * Added $(GL_LIBS) to link line to get things linking ok under OSX. 2005-04-26 14:29 +0000 [r4104] robert: * Updated wrappers. 2005-04-26 13:15 +0000 [r4102] robert: * 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. 2005-04-26 11:20 +0000 [r4101] robert: * Added #include for VS.NET build 2005-04-26 09:58 +0000 [r4100] robert: * Added support notification of Drawable parents of StateSet that event/update callbacks have been called. 2005-04-26 07:49 +0000 [r4099] robert: * From Vivek Rajan, "osg::Text was getting stretched when the CharacterSizeMode was set to SCREEN_COORDS and the SceneView's projection matrix was set to an Ortho2D matrix (sceneView->setProjectionMatrixAsOrtho2D(-1,1,-1,1)). Computing the pixel size separately vertically and horizontally, and setting the scaling factors appropriately based on that fixed the problem." 2005-04-25 20:46 +0000 [r4098] robert: * Updated wrappers using Marco Jez's genwrapper utility. 2005-04-25 20:34 +0000 [r4097] robert: * From Mike Weiblen, added support for --clear-color r,g,b,a and --clear-color r,g,b to osgProducer::Viewer. 2005-04-25 14:28 +0000 [r4096] robert: * Reduced the verbosness of debugging messages 2005-04-25 13:37 +0000 [r4094] robert: * Futher work on supporting update and event callbacks in StateSet, Uniform and StateAttribute 2005-04-25 13:27 +0000 [r4093] robert: * Added SINGLE_THREADED_KEYBOARDMOUSE pathway as a means of testing exit issues. 2005-04-25 11:05 +0000 [r4092] robert: * Futher work on adding event and update callbacks to StateSet, Uniform and StateAttributes 2005-04-24 21:04 +0000 [r4091] robert: * Added ParentList's into StateSet, Uniform and StateAttribute in preparation for providing update and event handling. 2005-04-24 19:30 +0000 [r4090] robert: * Added THREAD_ infront of PRIORITY_MIN settings to reflect changes to OpentThreads 2005-04-23 16:09 +0000 [r4088] robert: * Added MergeGeometryVisitor::setTargetMaximumNumberOfVertices(uint); 2005-04-23 10:45 +0000 [r4087] robert: * Removed the use of the post swap callback 2005-04-23 10:41 +0000 [r4086] robert: * Added missing bodes of Uniform::operator = and setEvent/UpdateCallback in StateSet. 2005-04-23 10:31 +0000 [r4085] robert: * Added support for using TextureRectangle in --move support in readNodeFile 2005-04-22 22:45 +0000 [r4084] robert: * Preliminary steps to adding update and event callbacks to StateSet, StateAttribute and Uniform. 2005-04-22 20:56 +0000 [r4083] robert: * From Brede Johansen, tweaked refraction and fresnel coefficients for a better visual effect. 2005-04-22 15:44 +0000 [r4080-4082] robert: * Improved handling of unsupported formats * Improved handling of unsupported file formats. * Improved handling of invalid imagery in BufferObject 2005-04-22 14:40 +0000 [r4078-4079] robert: * Removed unusaged methods * From Tree, removed dependency on Producer 2005-04-22 13:47 +0000 [r4077] robert: * Removed ViewPoint.h and .cpp from the ive plugin 2005-04-22 13:32 +0000 [r4076] robert: * Cleaned up the xine plugin to better handle unsupported video files. 2005-04-22 07:13 +0000 [r4074] robert: * From Mike Weiblen, added support for samplers and mat4 to .osg 2005-04-21 21:07 +0000 [r4072-4073] robert: * Added initialize of version number * From Garrat Potts, fixed face memory leak in FreTypeFont destructor. 2005-04-20 19:53 +0000 [r4071] robert: * Small tweaks 2005-04-20 18:50 +0000 [r4070] robert: * From Mike Weiblen, removed Uniform not quite ready notice, and added .h files into osgshaders project file. 2005-04-20 14:51 +0000 [r4069] robert: * Removed the enabling of the point smooth mode. 2005-04-20 12:32 +0000 [r4068] robert: * From Brede Johnansen, adding support for EXT, ARB and GL version 1.4 point parameters. 2005-04-20 09:55 +0000 [r4067] robert: * Removed increment of the cursor position by the bearing value in the compute last character code as this should not be used when moving the cursor. 2005-04-20 08:51 +0000 [r4066] robert: * Commented out support for the -m option for inserting 3d models in a terrain database, as this feature isn't yet supported by osgTerrain. 2005-04-19 07:37 +0000 [r4065] robert: * From Reinhard Sainitzer, bug fix, added missing break; 2005-04-18 18:23 +0000 [r4064] robert: * Removed eroneous /dv1 flag (should have been /vd1, but it this is default anway so can safely remove entirely). 2005-04-18 13:36 +0000 [r4063] robert: * Further work on uniforms support in .osg 2005-04-18 13:29 +0000 [r4062] robert: * Added more complete support for writing out data of Uniforms 2005-04-18 12:34 +0000 [r4061] robert: * Added next stage of support for osg::Uniform in .osg plugin 2005-04-18 09:17 +0000 [r4060] robert: * Removed mpeg plugin from CVS, now moved to the Community section of openscenegraph.org as a seperate project. 2005-04-17 19:14 +0000 [r4058] robert: * Fixed typo in testLookAt debug info. 2005-04-17 19:10 +0000 [r4057] robert: * Fixed warnings. 2005-04-17 11:35 +0000 [r4056] robert: * Changed the animation on default to false, so things only move if you ask them to. 2005-04-17 11:30 +0000 [r4055] robert: * From Marco Jez, osgWrappers updates to latest changes in core osg. 2005-04-17 10:41 +0000 [r4054] robert: * Moved istream/ostream includes out of Vec3f, and reimpleted osg::Matrix*::compare. 2005-04-17 09:41 +0000 [r4053] robert: * From Tony Horrobin, fix for VS6.0 2005-04-16 17:44 +0000 [r4052] robert: * From Marco Jez, added operator >> for Plane and Quat to io_utils, and added OSG_EXPORT to PerContextProgram. 2005-04-16 10:18 +0000 [r4051] robert: * Fixed wrapping of text string to allow internal "" strings 2005-04-16 10:11 +0000 [r4050] robert: * From Mike Weiblen,added debug info to osg::Program and changed shader uniform names to avoid conflict with built in functions 2005-04-16 04:00 +0000 [r4049] don: * CHanged line 101 in PageLOD.cpp to read if ( in->getVersion() >= VERSION_0006 ) { setDatabasePath(in->readString()); } instead of if ( in->getVersion() > VERSION_0006 ) { setDatabasePath(in->readString()); } Seems DatabasePath _is_ present in ive files of version 6. 2005-04-15 20:59 +0000 [r4048] robert: * Moved Plane and Quat << operators into the io_utils headers 2005-04-15 20:44 +0000 [r4047] robert: * Added dxf to the list of projects 2005-04-15 20:39 +0000 [r4046] robert: * From Paul de Repentinguy, DXF loader plugin. Ported to Linux by Robert Osfield. 2005-04-15 20:11 +0000 [r4045] robert: * From Joran Jessurun, Added setting of original node mask to flatten transforms 2005-04-15 20:05 +0000 [r4044] robert: * Added setValue and setSwitchSet methods 2005-04-15 18:28 +0000 [r4043] robert: * From Mike Weiblen, fix for Win32 build 2005-04-15 10:15 +0000 [r4042] robert: * Removed link reference to osgGL2 in doxygen file, added osgIntrospection 2005-04-15 10:09 +0000 [r4041] robert: * Changed all instances of /vd0 to /vd1 2005-04-15 09:56 +0000 [r4040] robert: * In the ldexp(,) call removed the /256.0f by replacing it with a -8 on the exponent. 2005-04-15 08:35 +0000 [r4039] robert: * Removed osgGL2 from CVS, osgGL2 now can be found on the Community/NodeKits section on the OSG website. 2005-04-14 21:41 +0000 [r4038] robert: * Updated Copyright notices to 1998-2005. 2005-04-14 20:34 +0000 [r4037] robert: * Changed uint for unsigned int. 2005-04-14 20:14 +0000 [r4036] robert: * Uniforms open for business :) 2005-04-14 20:05 +0000 [r4035] robert: * Fixed getUniformLocation and getAttribLocation methods 2005-04-14 15:53 +0000 [r4034] robert: * Removed setProgram from osg::StateSet as Program works just fine right now as a standard osg::StateAttribute and set in a StateSet with setAttribute. 2005-04-14 11:28 +0000 [r4033] robert: * Preparation for moving osgGL2 out of the core OSG into its own seperate distribution. 2005-04-14 08:00 +0000 [r4032] robert: * From Mike Weiblen, fixed copy and paste error in new osgshaders.cpp example. 2005-04-14 07:55 +0000 [r4031] robert: * From Joson Daly, fix for forward/backward/swing animation handling both 15.8 and versions prior to 15.8, and... " Here's another fix for OpenFlight. The symptom was that ATTR files were not being read correctly, and the TexEnv on a texture that should have been set to DECAL was instead defaulting to MODULATE. The cause is that the ATTR reader cannot tell by itself what version it's reading (the version information isn't present in the ATTR files), and instead relies on the ReaderWriter::Options passed in to get the OpenFlight version. My change clones the current ReaderWriter::Options and prepends the appropriate FLT_VER option before the ReaderWriterATTR object is called. I also made the parsing of the FLT_VER string and value more robust in the ReaderWriterATTR itself. I think I commented things OK, but let me know if you need me to explain anything." 2005-04-13 18:19 +0000 [r4030] robert: * From Terry Welsh, added copy texture support to TextureRectangle 2005-04-13 14:31 +0000 [r4029] robert: * Added applying of all parents uniforms 2005-04-13 14:12 +0000 [r4028] robert: * Added basic support for applying uniforms to programs, non lazy state updating is yet applied though. 2005-04-13 12:00 +0000 [r4027] robert: * Work in progress on shader language uniform support 2005-04-12 19:28 +0000 [r4026] robert: * Added #if block for swith between imagery 2005-04-12 19:17 +0000 [r4025] robert: * Fixed bug 2005-04-12 08:59 +0000 [r4024] robert: * Added inline to float convertComponent(,) 2005-04-12 08:55 +0000 [r4023] robert: * From Olaf Flebbe, change from powf to ldexp. 2005-04-11 17:14 +0000 [r4021] robert: * Renamed SG_LIBRARY and SG_EXPORT macro's to OSG_LIBRARY and OSG_EXPORT 2005-04-11 15:40 +0000 [r4020] robert: * Changed optimization flag to -O instead of -O2 to aid compile speed. 2005-04-11 15:22 +0000 [r4019] robert: * From Olaf Flebbe, compile fix for Sun. 2005-04-11 15:17 +0000 [r4018] robert: * Moved #include from header into .cpp to clean up build. 2005-04-11 15:01 +0000 [r4017] robert: * Build fix 2005-04-11 10:12 +0000 [r4016] robert: * Fixed warning, and sorted entries in GNUmakefile 2005-04-11 08:15 +0000 [r4015] robert: * Added friend class PerContextProgram; 2005-04-11 07:51 +0000 [r4014] robert: * From Olaf Flebbe, Fixed cross platform compile error 2005-04-10 21:26 +0000 [r4012-4013] robert: * From Randall Hopper, fixed typo of setRedMask. * Further work on kiddies game. 2005-04-09 11:17 +0000 [r4011] robert: * Fixed typo 2005-04-08 19:40 +0000 [r4010] robert: * From Mike Weiblen, osgGLUTsimple and osgGLUTkeyboardmouse examples 2005-04-08 19:39 +0000 [r4009] don: * Added check for _last_of for fileName and merged all definitions for socklen_t to one line. 2005-04-08 19:29 +0000 [r4008] robert: * From Marco Jez, updates to reflect new osgIntrospection API 2005-04-08 18:46 +0000 [r4007] robert: * From Stephan Huber, changed fixed string sizes for dynamically allocated ones in OSX file system gets. 2005-04-08 14:44 +0000 [r4006] robert: * From James French, a tweak with fix a compile problem related to STLport. 2005-04-08 14:11 +0000 [r4003-4005] robert: * From Olad Flebbe, compile fix for HP-UX. * Moved UByte4 i/ostream support into io_utils. * From James French, fix to header guard 2005-04-08 13:52 +0000 [r4002] robert: * 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. 2005-04-08 13:10 +0000 [r4001] robert: * From Mike Weiblen, updates to GL Shadler Language support 2005-04-08 13:06 +0000 [r4000] robert: * From Carlo Camporesi, add support for text into .ive plugin, tweak by Robert Osfield to allow font names to be exported correctly with extension 2005-04-08 12:22 +0000 [r3999] robert: * Added #include 2005-04-08 10:32 +0000 [r3998] robert: * Added #include 2005-04-08 09:59 +0000 [r3997] robert: * Added #include 2005-04-08 09:55 +0000 [r3996] robert: * Reverted back to not test version of osgsimulation 2005-04-08 09:51 +0000 [r3995] robert: * Added #include 2005-04-08 09:45 +0000 [r3994] robert: * Added #include 2005-04-08 09:36 +0000 [r3993] robert: * Added #include 2005-04-08 09:18 +0000 [r3992] robert: * Added #include 2005-04-08 09:14 +0000 [r3990-3991] robert: * Added io_utils include * Added osg/io_utils include 2005-04-08 09:01 +0000 [r3988] robert: * Moved the istream and ostream support from Vec* and Matrix* into a seperate io_utils file. 2005-04-07 21:28 +0000 [r3987] robert: * Added iostream operators 2005-04-07 20:28 +0000 [r3986] robert: * From Olaf Flebbe, removed supporios BufferObject:: 2005-04-07 20:23 +0000 [r3985] robert: * From Mike Weiblen, "adds sourcefiles for beginnings of .osg fileformat i/o support > - enhancemens to core GLSL classes to support file i/o" 2005-04-07 20:20 +0000 [r3984] robert: * From Mike Weiblen, ported osgshaders example from osgGL2 to core osg based. 2005-04-07 20:08 +0000 [r3982-3983] robert: * Warning fixes by Mike Weiblen + Robert Osfield * From Marco Jez, .dsp updates 2005-04-07 20:00 +0000 [r3981] robert: * From Marco Jez, improvements to osgIntrospection, and new automatically generated osgWrappers/osg set. 2005-04-07 17:15 +0000 [r3980] don: * Set PagedLOD::removeExpiredSubgraph() to be virtual 2005-04-07 16:09 +0000 [r3979] robert: * Fix to compute coordinate frame callback so that it can handle scaled coordinate frames, rescaling as required. 2005-04-07 15:27 +0000 [r3978] robert: * Fixed the MatrixTransform(Matrix&) constructor so that it correct sets _inverseDirty = true; 2005-04-07 13:49 +0000 [r3977] robert: * Introduced a flight path that goes around the earth going into the north and sound hemisphere's with heading and roll adjustment. 2005-04-07 10:55 +0000 [r3976] robert: * Fixed sort of sources so that the layer number is taken into account. 2005-04-07 10:19 +0000 [r3975] robert: * Fixed layer and levels handling in reprojection of source imagery. 2005-04-06 20:54 +0000 [r3974] robert: * Beginnings of litte kiddies game example, written in collaboration with my 5 year old daughter who is the game designer and artist on this little task :) 2005-04-05 19:08 +0000 [r3973] don: * Rolled in Olaf's changes for HP-UX build 2005-04-04 20:25 +0000 [r3970] robert: * Renamed _A and _B to make them more meanigful 2005-04-04 18:07 +0000 [r3969] don: * Removed annoying "Can't find the ground" message 2005-04-04 16:06 +0000 [r3968] robert: * Fixed output of MultiTextureControl. 2005-04-04 15:23 +0000 [r3967] robert: * Added layer support 2005-04-04 13:50 +0000 [r3965-3966] robert: * From Marco Jez, updates to osgIntrospection. * Made osgIntrospection an optional compile 2005-04-04 13:22 +0000 [r3964] robert: * Fixed comment 2005-04-04 12:24 +0000 [r3963] robert: * Fixes for VS6.0 build 2005-04-04 11:47 +0000 [r3962] robert: * From Carlo Camporesi,fixed for loop bug 2005-04-04 11:42 +0000 [r3961] robert: * Added missing makefiles 2005-04-04 11:22 +0000 [r3960] robert: * From Alberto Farre, nested files bug fix. 2005-04-04 11:18 +0000 [r3959] robert: * From Alberto Farre: "Here there are fixes for several flt loader problems. First one was an small bug when root database was an empty string we got a database path "/" instead of "./". Second one is more complex. Flt loader works in two passes, first one reads flt database and second one builds osg scenegraph. Special care must be taken for properly tracking database path as nested files are entered. Because textures are loaded in second pass, mentioned care should be taken once again. I wrote time ago a piece of code and I placed it in both files fltFile.cpp and flt2osg.cpp. After a long period offline I have seen the portion of code at flt2osg was missing, I just made some tests and I could see it is still required. Finally, I have seen that pool.cpp always try to make IMAGE cache instead of reading what Options says. Aditonally, I recently wrote an osg change, now it has external references "a la flt" what is called osg::ProxyNode. As part of the change now flt loader builds external references as ProxyNodes. I made the same mistake like pool.cpp and always made ARCHIVE cache instead of see what Options says, it has also been fixed." 2005-04-04 10:08 +0000 [r3957-3958] robert: * From Mike Weiblen, updates to Shander Language support * Added FluidProgram 2005-04-04 09:22 +0000 [r3956] robert: * From Mike Weiblen (VisualStudio.dsw changes done by hand by Robert), fixes to VS project files 2005-04-04 08:47 +0000 [r3955] robert: * Added osgparticleeffects example 2005-04-04 07:54 +0000 [r3954] robert: * Improved ParticleEffects 2005-03-26 10:04 +0000 [r3953] robert: * From Farshid Laskari, addiition of FrontFace support to .ive 2005-03-25 11:17 +0000 [r3952] robert: * From Waltice (don't have full name at time of submission), added support for 16bit tiff files 2005-03-25 11:07 +0000 [r3950-3951] robert: * Added State::getActiveUnit and usage of it in the glTexCopyImage*() implementations * Made the ground intersection warning just output to INFO level. 2005-03-24 09:37 +0000 [r3948] robert: * From Mike Weiblen, "updates for GLSL core integration: Code compiles and runs on win32. Basic functionality of Program and Shader in place. Program derived from StateAttribute. Uniform value propagation is not yet functional (in development) Includes some patches by Nathan Cournia. includes example testcase to demo use of new classes." 2005-03-23 21:00 +0000 [r3947] robert: * From Marco Jez, fixed constness of data return type 2005-03-23 20:48 +0000 [r3946] robert: * From Randall Hopper, with small order tweak from Robert and addition to GNUmakefile.inst, added $(GDAL_LIBS) to fix build under FreeBSD. 2005-03-23 20:38 +0000 [r3945] robert: * From Mike Weiblen: change paths to .cpp files from "examples" to "applications" 2005-03-23 20:35 +0000 [r3942-3944] robert: * Fixed indenting. * From Mike Weiblen: "Fix for VS7.1 warning C4715: not all control paths return a value" * From Mike Weiblen, " Move update of shader values after shader rebuild opportunity, to ensure uniform state of shaders is consistent" 2005-03-23 17:05 +0000 [r3941] robert: * Added extra controls for ParticleEffects. 2005-03-23 10:46 +0000 [r3940] robert: * Fixed the scaling in pixelSize computation and the autoscale usage of it. 2005-03-23 10:41 +0000 [r3939] robert: * Removed multiple inheritance from TechniqueEventHandler. 2005-03-23 08:30 +0000 [r3938] robert: * Commented out the if (!node->getName().empty()) return false; in isOperationPermissibleImplementation() 2005-03-22 21:06 +0000 [r3937] robert: * 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. 2005-03-22 20:26 +0000 [r3936] robert: * Moved ParticleSystemUpdater into ParticleEffect nodes to simplify usage of nodes. 2005-03-22 17:00 +0000 [r3935] robert: * Fixed the double transform of ParticleEffects 2005-03-22 12:11 +0000 [r3934] robert: * Updated sphere segment example to use original osgsimulation source, adding in terrain, moving models and particle effects. 2005-03-22 12:04 +0000 [r3933] robert: * Corrected orientation of aeroplane and direction of rotation around earth. 2005-03-21 00:33 +0000 [r3932] don: * Added getCameraByName method to viewer 2005-03-20 23:57 +0000 [r3931] don: * Added getCameraByName method to viewer and home(double currentTime) to MatrixManipulator, UFO, Trackball and ANimation manipulator. 2005-03-20 23:29 +0000 [r3930] don: * Updated some visual studio files for the new applications. 2005-03-20 21:43 +0000 [r3929] don: * Added (for real this time) application project files for visual studio 2005-03-18 11:21 +0000 [r3928] robert: * Added support for handling transparent geometries and textures. 2005-03-18 11:07 +0000 [r3927] robert: * Moved osgarchive, osgconv, osgdem, osgversion and osgviewer .dsp's to applications folder. 2005-03-18 10:46 +0000 [r3925-3926] robert: * Moved COMPILE_EXAMPLES ?= no to top of Make/dependencies to make it more clear, and removed the application programs fully from the examples list * Removed the redundent subclassing from osg::NodeVisitor in examples event handlers 2005-03-18 10:27 +0000 [r3924] robert: * updates to reflect changes to StateAttribute::Types 2005-03-18 10:00 +0000 [r3923] robert: * From Alberto Farre, fixes to ProxyNode. 2005-03-18 09:48 +0000 [r3922] robert: * From Marco Jez, added OSGNVEXT_ prefex to StateAttribute enums. 2005-03-18 09:37 +0000 [r3921] robert: * 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." 2005-03-18 02:45 +0000 [r3917-3920] robert: * Improvements to the handling of textures and texture coords. * Made the can't find ground intersection message only appear as INFO. * Added support for a new IsOperationPermissibleForObjectCallback in osgUtil::Optimizer. * Made supports(..) methods use support(const ...) 2005-03-18 01:51 +0000 [r3916] don: * Randal Hopper fix to GNUmakefile for osgsimulation. 2005-03-17 19:32 +0000 [r3915] robert: * Added extra controls into osgDB::DatabasePager for customizing how much time is allocated to compiling and deleting OpenGL objects, also added support into osgProducer::OsgSceneHandler.cpp for these new parameters. The new cotrols are: DatabasePager::s/getTargetFrameRate(..) DatabasePager::s/getMinimumTimeAvailableForGLCompileAndDeletePerFrame() DatabasePager::s/getMaximumNumOfObjectsToCompilePerFrame() 2005-03-17 18:29 +0000 [r3914] don: * Removed redundant examples, that have been moved to the applications directory 2005-03-17 14:40 +0000 [r3913] robert: * Added guard to texture image to avoid seg fault when dealing with incomplete databases. 2005-03-17 10:24 +0000 [r3912] robert: * Added check against node.getName() into isNodeEmpty(Node&) method so that nodes with names arn't assumed to be empty. 2005-03-17 08:54 +0000 [r3911] robert: * Added if (image ..) check to prevent seg fault on imcomplete models 2005-03-16 20:44 +0000 [r3910] robert: * Added --addMissingColours / --addMissingColor support into osgconv which provides a mechansim for adding in a white colour where none previously existed. This solves the problem that exists on some databases where no colour is present, causing the colour to be inherited randomly. 2005-03-16 14:48 +0000 [r3909] robert: * From Mike Weiblen, added UFOManipulator to osgGA project file. 2005-03-16 14:14 +0000 [r3908] robert: * Added --smooth option to osgconv 2005-03-16 14:09 +0000 [r3907] robert: * Removed applications from examples list 2005-03-14 09:28 +0000 [r3906] robert: * Changed tabs to four spaces 2005-03-14 09:13 +0000 [r3905] robert: * From Marco Jez, fix for data corruption bug in TypedMethodInfo*::invoke() 2005-03-13 21:22 +0000 [r3904] robert: * Added guard to osgdem build 2005-03-13 17:51 +0000 [r3903] don: * Added GNUmakefile for the new applications directory 2005-03-13 17:26 +0000 [r3902] robert: * Added osgGL2 to .ive list of dependencies 2005-03-13 05:02 +0000 [r3901] don: * Chagned osg::Matrix to osg::Matrixd 2005-03-13 01:47 +0000 [r3900] don: * Added applications directory. Copied (not moved) osgarchive osgconv osgdem osgversion osgviewer into applications directory. Leaving them in the examples directory as well, for now. Made examples optional via the make COMPILE_EXAMPLES=yes option Added static lib and static plugin build support. 2005-03-12 15:57 +0000 [r3899] don: * Added M_PI definition for winders 2005-03-12 05:31 +0000 [r3898] don: * Added a few things to osgProducer::Viewer to support UFO manipulator and cleaned up UFOManipulator. 2005-03-11 20:29 +0000 [r3897] robert: * Added support for set/getUniform and set/getProgram into osg::StateSet. 2005-03-11 20:19 +0000 [r3896] robert: * Fixed old handle(..) method call parameters 2005-03-11 17:48 +0000 [r3893-3895] don: * Added methods getCameraManipulatorNameList() and selectCameraManipulatorByName(). * Added the 'H' - home to usage message * Changed class name to UFO instead of UFOManipulator to conform to the other manipulators 2005-03-11 09:53 +0000 [r3892] robert: * Improvements to handling smoothing 2005-03-11 06:10 +0000 [r3889-3891] don: * Added UFO Manipulator to Viewer * Added UFOManipulator to Viewer * Added UFO manipulator 2005-03-10 11:11 +0000 [r3888] robert: * Added null pointer check to avoid crash 2005-03-09 22:01 +0000 [r3887] robert: * Added support for writing base layer 0 texture into texture layer 1 and above to use as a background. 2005-03-09 20:40 +0000 [r3886] robert: * Improvements to MultiTextureControl and texture layer handling in osgTerrain::DataSet. 2005-03-09 16:54 +0000 [r3885] robert: * Added osgFX::MultiTextureControl node for managing blending between different texture layers. 2005-03-08 16:51 +0000 [r3884] robert: * Added basic multiple texture layer support into osgTerrain::DataSet. 2005-03-07 22:02 +0000 [r3883] robert: * First steps to adding support for multiple texture layers. 2005-03-07 17:25 +0000 [r3882] robert: * From Ruben, added handling of vertex indices. Note from Robert. New codes produces errors when running osgfxbrowser cow.osg so I have elected to keep the original implementation of compute_basis_vectors around and as the default compile to keep the CVS version working. Ruben's new version of compute_basis_vectors has to be explicitly compiled in by toggling an #if 1 block to #if 0. 2005-03-07 14:38 +0000 [r3881] robert: * Sebastien Grignard, fixed getMember methods to properly use const type. 2005-03-07 14:30 +0000 [r3880] robert: * From Marco Jez, improved Texture2D and Image handling of compare(). 2005-03-07 14:27 +0000 [r3879] robert: * Added ProxyNode.h 2005-03-07 14:16 +0000 [r3877-3878] robert: * Added support for event callbacks * From Sebastien Grignard, added support for reading and writing callbacks 2005-03-07 14:06 +0000 [r3876] robert: * From Alberto Farre, addition of ProxyNode, with support in .osg, .ive and .flt loaders 2005-03-07 12:32 +0000 [r3875] robert: * Fixed tabbing. 2005-03-07 12:14 +0000 [r3874] robert: * 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." 2005-03-07 12:05 +0000 [r3872-3873] robert: * From Mike Weiblen, warning fix for VS7.1 * Added the use of pixel buffer object in ImageStream so that it is only compiled in on non OSX platforms. 2005-03-07 11:58 +0000 [r3871] robert: * Added looping 2005-03-03 12:40 +0000 [r3870] robert: * Added checking for video file via normal file path checking and handling of .xine extension as a special case for XINE style filenames. 2005-03-03 12:35 +0000 [r3868-3869] robert: * Added video aliases to xine plugin * Added improved handling of center justificaion of multiline text 2005-03-03 12:25 +0000 [r3867] robert: * Added EDventVisitor reference 2005-03-02 15:06 +0000 [r3866] don: * In osg::isGLUExtensionSupported, fixed gluGetString to call GLU_EXTENSIONS rather than GL_EXTENSIONS. 2005-02-26 21:44 +0000 [r3865] robert: * From Paul Melis, fixed typo of setFunctionMask. 2005-02-25 23:02 +0000 [r3863-3864] robert: * Improved support GUIEventHandler's being node event callbacks. * Added event callback to Optizimer isNodeEmpty function 2005-02-25 14:02 +0000 [r3862] robert: * Added support for new event visitor type into osgGA and osgProducer::Viewer, and event callback into Drawable. 2005-02-25 11:26 +0000 [r3861] robert: * Added reference to avifile based plugin. 2005-02-25 08:38 +0000 [r3860] robert: * New simplified timer implementation. 2005-02-24 17:07 +0000 [r3859] robert: * Added pause, rewind and play support into xine plugin. 2005-02-24 13:33 +0000 [r3858] robert: * From Mike Weiblen, adding prelimimnary GL Shader Language support into core OSG lib. with renaming and reordering by Robert Osfield, 2005-02-23 12:50 +0000 [r3857] robert: * Made Referenced::ref() and unref() inline methods. 2005-02-22 20:56 +0000 [r3856] robert: * 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. 2005-02-22 20:25 +0000 [r3855] robert: * 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; 2005-02-22 19:19 +0000 [r3854] robert: * Added support for control the pitch of the drive manipulator via the up and down cursor keys. 2005-02-22 14:42 +0000 [r3853] robert: * Added size of Mutex. 2005-02-22 13:34 +0000 [r3852] robert: * Added improved PBO support. 2005-02-22 11:55 +0000 [r3851] robert: * Fixes from Marco Jez. 2005-02-22 10:16 +0000 [r3850] robert: * From Igor Kravtchenko, add #define's for OpenGL float internal texture formats. 2005-02-22 10:08 +0000 [r3849] robert: * Changed the Switch::addChild(Node*) behavior so it doesn't override the any pre-exisitng _values value. 2005-02-21 17:02 +0000 [r3848] robert: * Added support for interpolating low res source data onto higher res destination tiles. 2005-02-15 09:37 +0000 [r3847] robert: * Tweak to comment. 2005-02-14 15:17 +0000 [r3846] robert: * From Alberto Farre, fix to nested OpenFlight file problem. 2005-02-13 18:10 +0000 [r3845] robert: * Made conversion use BGRA. 2005-02-13 16:35 +0000 [r3844] robert: * Added usage of the new xine_register_plugins() call. 2005-02-13 15:07 +0000 [r3843] robert: * Disable the MMX usage 2005-02-12 19:47 +0000 [r3842] robert: * Remerged Tugkan's fix to flatten static transforms. 2005-02-12 16:49 +0000 [r3841] robert: * Put spaitalize groups to end. 2005-02-12 16:24 +0000 [r3840] robert: * From Tugkan Calapoglu, bug fix to FLATTEN_STATIC_TRANSFORMS. Small tweak of the code to make the comparison against Identity matrix clearer. 2005-02-11 20:43 +0000 [r3839] robert: * Added --prune-StateSet option into osgconv for bottleneck testing. 2005-02-11 17:22 +0000 [r3838] robert: * Fixed spatial groups. 2005-02-11 16:43 +0000 [r3837] robert: * Added support for fixing transprency on objects that should have been placed in the opaque bin. 2005-02-11 10:09 +0000 [r3836] robert: * From Sebastien Grignard, fixed memory leak where header and databuffers wern't deleted. 2005-02-11 10:00 +0000 [r3833-3835] robert: * Added support into passing the ReaderWriter::Options structure onto readImageFile * Removed debugging messages * Added new utilities for handling different '/' and '\' entries. 2005-02-10 21:30 +0000 [r3832] robert: * Removed redundent _nodePath entry. 2005-02-10 21:18 +0000 [r3831] robert: * From Chris Xennon, add support for billboard intersections + fix to addLineSegments. Small addition from Robert Osfield of setLODSelectionMode(..) to control the LOD selection behavior. 2005-02-10 20:38 +0000 [r3830] robert: * From Igor Kravtchenko, new HDR plugin. 2005-02-10 20:21 +0000 [r3829] robert: * warning fix 2005-02-10 20:14 +0000 [r3828] robert: * Put pixel buffer define's into their own block. 2005-02-10 15:53 +0000 [r3826-3827] robert: * Fixed the pixelFormat to be RGBA. * Implemented the osg::Image::isImagTranslucent function. 2005-02-09 16:18 +0000 [r3825] robert: * Changed the mpeg plugin to read movies the original way up rather than the OpenGL way up to keep them consistent with the xine and quicktime movie codes 2005-02-09 15:31 +0000 [r3824] robert: * Created local XineImageStream class to ensure xine streams are cleaned up correctly. 2005-02-09 14:27 +0000 [r3823] robert: * Added setting of the filename 2005-02-09 13:22 +0000 [r3822] robert: * Added getenv OSG_XINE_AUDIO_DRIVER to xine plugin to allow users to set what the default audio to use 2005-02-09 12:29 +0000 [r3821] robert: * Commented out the debug messages, added back in the audio into the xine plugin 2005-02-09 11:30 +0000 [r3820] robert: * Added vertical offset to multiple movies instances 2005-02-09 10:39 +0000 [r3819] robert: * 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. 2005-02-07 20:45 +0000 [r3817-3818] robert: * Removed the repeated entry of HiehgtFieldNode in include list * From Paul Melis, fixed the setFrameStatsMode() method 2005-02-07 17:28 +0000 [r3816] robert: * Added the full set of buffer object methods 2005-02-07 15:00 +0000 [r3815] robert: * Temporarily added xine video_out_rgb xine-plugin inline to the OSG's xine plugin 2005-02-06 10:14 +0000 [r3814] robert: * Changed the LightSource::setReferenceFrame() read code so that it doesn't enable the culling active flag if its was already set to false. 2005-02-04 20:36 +0000 [r3812] robert: * Turned off lighting. 2005-02-04 19:34 +0000 [r3811] robert: * Added prototype xine movie plugin. 2005-02-04 03:58 +0000 [r3810] don: * Updated IRIX dist generation file for IRIX binaries 2005-02-03 13:10 +0000 [r3809] robert: * Change unsigned long to unsigned int to avoid 64/32 bit problems. 2005-02-02 22:13 +0000 [r3808] don: * Added Viewport State Attribute to .osg reader/writer 2005-02-02 15:08 +0000 [r3807] robert: * From, Leandro Motta Barros, Doxygen comments. Ammendments by Robert Osfield, a few comment rewrites to better reflect API functionality/usage. 2005-02-01 22:36 +0000 [r3806] robert: * Added support for modulating alpha values 2005-02-01 15:03 +0000 [r3805] robert: * Removed debugging messages. 2005-02-01 13:19 +0000 [r3804] robert: * Added support for OSG_CAMERA_THREADING env variable which is set to "SingleThreaded" will ensure that OsgCameraGroup runs singe threaded. 2005-02-01 10:38 +0000 [r3803] robert: * Added support for internalTextureMode 2005-02-01 09:38 +0000 [r3802] robert: * Added conversion of dataType to GL_UNSIGNED in raw data reading path. 2005-02-01 09:02 +0000 [r3799-3801] robert: * Added code for rescaling images. * Added red, green, blue and alpha values. * Added support for 8 parameters. 2005-01-31 20:09 +0000 [r3798] robert: * Added support for raw image formats 2005-01-28 17:24 +0000 [r3797] robert: * Removed include of Producer/RenderSurface 2005-01-28 16:09 +0000 [r3796] robert: * From Tree, removed redundent "inline"s 2005-01-28 11:01 +0000 [r3795] robert: * Added definitation for GL_COMPRESSED_* tokens for case where early OpenGL headers don't provide them. 2005-01-27 20:26 +0000 [r3794] robert: * Moved the template function into the global namespace. 2005-01-27 20:18 +0000 [r3793] robert: * Fixes to osg::Image's handling of compressed formats. 2005-01-27 15:54 +0000 [r3792] robert: * Fixes for Win32 build 2005-01-27 14:54 +0000 [r3791] robert: * Added /Zm 200 option to avoid heap problems 2005-01-27 14:39 +0000 [r3790] robert: * From Nicolas Brodu, new faster osg::Quat::makeRotate(Vec3d,Vec3d) implmentation. From Robert Osfield, modes to osg::Quat to keep the original implmentation around as makeRotate_original(,) and added tests into osgunittest to test the new methods provide equivilant results to the original implemementation. The orignal implementation will be removed once the new method is more widely tested. 2005-01-27 13:23 +0000 [r3789] robert: * From Chris Hanson, minor tweaks to docs on getDescriptions. 2005-01-27 13:15 +0000 [r3788] robert: * From Leandro Motta Barros, doxygen comments 2005-01-27 11:18 +0000 [r3786-3787] robert: * Changed template instances to template * Fixed tabbing. 2005-01-27 11:10 +0000 [r3785] robert: * Changed Font::setSize to Font::setFontResolution 2005-01-25 22:15 +0000 [r3784] robert: * From Donn Mielcarek, change of long and unsigned long to int32 and uint32 to avoid 32bit vs 64bit issues. 2005-01-22 16:55 +0000 [r3783] robert: * From Mason Menninger, addition of setTrackballSize() parameter. 2005-01-22 15:41 +0000 [r3782] robert: * From Leandro Motta Barros, Doxygen comments for OsgCameraGroup and Viewer. With a few small ammendments/additions from Robert Osfield. 2005-01-21 21:00 +0000 [r3781] robert: * From Yuzhong Shen, removed repeated statements in Hit operator =. 2005-01-21 19:33 +0000 [r3777-3780] robert: * From Kevin Moiule, rewrote PNM plugin to handle grayscale PNM images. * build fix * From Tree, add get methods * Change dhte CullSettings to be correct to new changes in osgProducer 2005-01-21 19:21 +0000 [r3776] robert: * Fixed the input/output handling of ReferenceFrame values to be RELATIVE and ABSOLUTE rather than long original names. 2005-01-21 19:15 +0000 [r3775] robert: * From Tugkan Calapoglu, bugfix to prevents reloading already loaded images. 2005-01-12 15:37 +0000 [r3773] robert: * From Rainer Oder, with additions from Robert. osgslice example which generates a 3d volume from a source geometry model. 2005-01-12 10:32 +0000 [r3772] robert: * From Fredrick Mammond, fix to 64 bit build. 2005-01-09 19:30 +0000 [r3771] robert: * Added setImageReadFormat and setImageReadDataType methods to RenderToTextureStage to allow customization of what format/data type to read such as reading from the depth buffer etc. 2005-01-08 10:21 +0000 [r3770] robert: * Tweaked the #define's of GL_ALPHA_MIN_SGIX and GL_ALPHA_MAX_SGIX to ensure compilation across OGL drivers. 2005-01-07 20:36 +0000 [r3769] robert: * From Per Fahlberg, support for 16bit imagery. 2005-01-07 20:24 +0000 [r3768] robert: * From Kevin Moule, fix to memory overwrite error. 2005-01-07 20:01 +0000 [r3767] robert: * From Tree, change to naming of plugins when building OSG with Java to avoid conflicts. 2005-01-07 19:00 +0000 [r3766] robert: * From Tree, moved GL_ #define's out of osg namespaces 2005-01-07 14:31 +0000 [r3765] robert: * Fixed crash in osgUtl::Simplifier which was due to an dereference of an empty array. 2005-01-05 17:14 +0000 [r3764] robert: * Cleaned up the types. 2005-01-05 16:16 +0000 [r3763] robert: * From Fredric Mammond, fix for build using full extension checked mechansim 2005-01-03 16:42 +0000 [r3761-3762] robert: * From Fredric Mammond, addid osgblendequation and osglogicop examples. * From Fredric Mammond, added new osg::BlendEquation state attribute wrapping up glBlendEquation. 2005-01-03 13:49 +0000 [r3760] robert: * From Marco Jez, fixed handling of loading of relative file paths. 2005-01-03 12:27 +0000 [r3759] robert: * Added stripping of trailing spaces to readline call to fix problems associated with eroneous spaces hanging around at ends of lines causing string matching problems 2005-01-03 11:20 +0000 [r3758] robert: * Added check against ac as extension. 2004-12-17 22:31 +0000 [r3757] don: * Changed INST_LOCATION = to INST_LOCATION ?= 2004-12-17 20:51 +0000 [r3756] don: * Added computeBound to osg::Switch, which now checks to see if a child is enabled before computing its bound. 2004-12-17 01:06 +0000 [r3755] robert: * Property API clean to smooth the task of generating wrappers. 2004-12-16 06:15 +0000 [r3754] robert: * Provisional lists for what are likely to, and not likely to have wrappers automatically generated easily 2004-12-15 04:49 +0000 [r3753] robert: * Added missing files 2004-12-14 03:12 +0000 [r3752] robert: * Removed redundent cont qualification 2004-12-14 01:38 +0000 [r3751] robert: * From Fredric Marmond, fix to gcc3.4 build 2004-12-13 04:54 +0000 [r3750] robert: * From Frederic Marmond, add osg::LogicOp for support for glLogicOp. 2004-12-13 02:39 +0000 [r3749] robert: * From Marco, fixes to osgIntrospection and related libs 2004-12-13 01:07 +0000 [r3747-3748] robert: * Teaks to API to make it easier to generate wrappers automatically * Fixed project name 2004-12-12 22:27 +0000 [r3746] robert: * Changed RELATIVE_RF to ABSOLUTE_RF to fix bug introduced when naming was changed from RELATIVE_TO_ABSOLUTE to new convention 2004-12-10 03:37 +0000 [r3745] robert: * Added extra set methods to match get's to make then symetric proporties 2004-12-09 05:29 +0000 [r3743-3744] robert: * Added Make support for new osgIntrospecxtion libs * Added Marco Jez's osgIntrospection + osgWrapper libs with osgintrospection example 2004-12-09 00:02 +0000 [r3742] don: * added 'sh' to command line to ensure that the script runs regardless of permissions 2004-12-08 19:45 +0000 [r3741] don: * Update of IVe version files 2004-12-07 00:42 +0000 [r3740] don: * Spelling errors fixed by Brede Johansen 2004-12-06 19:32 +0000 [r3739] don: * Changed the strcmp() to use std::string instead. 2004-12-05 00:16 +0000 [r3738] don: * Post-tag revision variable change 2004-12-05 00:03 +0000 [r3736] don: * CHanged version in makedefs for - 2 revision 2004-12-04 23:59 +0000 [r3735] don: * 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. 2004-12-04 23:38 +0000 [r3734] don: * Update version numbers in files 2004-12-02 21:50 +0000 [r3729-3731] don: * Post release adjustment of revision * Added tagrules for 'make tag' convenience Updated makedefs for release/revision 2004-12-02 21:28 +0000 [r3728] don: * fixed CameraPacket to allocate on the heap instead of the stack, which was causing crashes. 2004-12-02 17:44 +0000 [r3727] don: * Memory leak spotted and fixed by Sebastien Grignard 2004-11-30 18:13 +0000 [r3726] don: * Added Mike's submission to Authors 2004-11-29 18:59 +0000 [r3725] don: * Added pragma to shut VS 6 up. 2004-11-29 05:47 +0000 [r3724] don: * Small clean up of commented code 2004-11-29 05:32 +0000 [r3723] don: * Comprimise for Visual Studio 6 by using 'using namespace OpenThreads'. 2004-11-29 03:05 +0000 [r3722] don: * Fixes for SOlaris build 2004-11-29 01:12 +0000 [r3721] don: * Fixes for IRIX build 2004-11-28 23:49 +0000 [r3720] don: * Changes for IRIX build 2004-11-28 17:11 +0000 [r3719] don: * Added visual studio files for osgspotlight example (Mike Weiblen) Updated NEWS.txt for release 2004-11-27 20:35 +0000 [r3718] don: * Fixed osgDB:: prefix for Windows build 2004-11-27 19:23 +0000 [r3717] don: * Added Marco's fix for data path for the .ive plugin 2004-11-27 19:20 +0000 [r3716] don: * Fixed bug in .net loader. Added hostname to file fetch. 2004-11-27 17:06 +0000 [r3715] don: * Fixed reference to install instructions 2004-11-26 21:35 +0000 [r3714] robert: * Added missing OSG_SCREEN_WIDTH docs 2004-11-26 21:14 +0000 [r3713] robert: * Updates news for release 2004-11-26 20:46 +0000 [r3712] robert: * Updates to ChangeLog and doxygen file 2004-11-26 19:27 +0000 [r3711] robert: * Added /Zm200 to avoid heap size problems under VS6.0 2004-11-26 16:01 +0000 [r3709-3710] robert: * Addd high level introductory docs for all the libs * Clean up doxygen files for release 2004-11-25 15:57 +0000 [r3708] robert: * Added /Zm200 to avoid VS 6.0 dump arse compile errors 2004-11-25 15:09 +0000 [r3707] robert: * Fixed caching of archives 2004-11-25 13:59 +0000 [r3706] robert: * Reordered the core libraries to try and get round compile order problems under VisualStudio 6.0 2004-11-25 09:51 +0000 [r3705] robert: * Added LFS support to gcc linux build 2004-11-24 21:39 +0000 [r3704] robert: * cleaned up debug info 2004-11-24 21:10 +0000 [r3703] robert: * updated NEWS and ChangeLog 2004-11-24 19:41 +0000 [r3702] robert: * Clean up of output 2004-11-24 19:10 +0000 [r3701] robert: * from Mike Weiblen, added wrap mode to planet texture to avoid black seam, and add option of specifying the texture to use in osgshape. 2004-11-24 15:41 +0000 [r3700] robert: * Fixed typo in acceptsExtension 2004-11-24 06:57 +0000 [r3699] robert: * Moved the initPeformer to the constructor to avoid const issues when compiling 2004-11-23 23:47 +0000 [r3697-3698] robert: * Fixed VS.NET warnings * Fixed recursive call 2004-11-23 17:07 +0000 [r3696] robert: * From Fabien Dachicourt, bug fix to addChild(node,value) 2004-11-23 16:52 +0000 [r3695] robert: * From John Shue, reordering of tiffio.h to avoid compile error. 2004-11-23 15:29 +0000 [r3694] robert: * Made read/write methods in ReaderWriter all const to facilate multi-threading 2004-11-23 12:57 +0000 [r3693] robert: * Tripped out experiemental threadSafe_ methods in ReaderWriter 2004-11-23 10:46 +0000 [r3692] robert: * Added support for local relative paths 2004-11-22 23:54 +0000 [r3691] robert: * Moved plugins across to using ReaderWriter::Options* for search paths in addition to standard osgDB::DataFilePaths 2004-11-22 14:49 +0000 [r3690] robert: * Removed the cache hints from registery placing them wholly into ReaderWriter's responsibility. 2004-11-22 14:10 +0000 [r3689] robert: * Moved Registry::CacheHintOptions into ReaderWriter::Options 2004-11-22 13:58 +0000 [r3688] robert: * From Rainer Oder, improvements to planet motions 2004-11-20 13:35 +0000 [r3687] robert: * Changed ReaderWriter::Options to derive from osg::Object to add clone() ability. 2004-11-20 12:08 +0000 [r3686] robert: * Added support for pixel based LOD's and set the default priority scale to 1.0 2004-11-20 11:48 +0000 [r3683-3685] robert: * Added support for pixel range to PagedLOD * Fixed indentation. * From Johan Nouvel, added support for range mode 2004-11-20 10:36 +0000 [r3682] robert: * From John Shue, fix for FreeBSD. 2004-11-19 20:05 +0000 [r3679] robert: * Added _lockCount>0 check to lock,unlock and trylock to make sure that it is set properly on first time entry. 2004-11-19 09:02 +0000 [r3678] robert: * Removed notify from destructor wait for cancel loop. 2004-11-19 08:47 +0000 [r3677] robert: * Added std:: infront of getline calls 2004-11-18 22:43 +0000 [r3676] robert: * Made the permissions executable 2004-11-18 22:14 +0000 [r3673-3675] robert: * Updated ChangedLog and NEWS * Removed the public open methods * Added all core libraries 2004-11-18 21:53 +0000 [r3672] robert: * Added osgText dependency to osglauncher. 2004-11-18 20:20 +0000 [r3671] robert: * Added dsp's for osglauncher and osgplanets. 2004-11-18 16:25 +0000 [r3670] robert: * Removed old and used FileUtils_Mac.cpp 2004-11-18 16:21 +0000 [r3668-3669] robert: * Added osglancher and osgplanets to example set. * Changed debugging info to use osg::notify 2004-11-18 15:10 +0000 [r3667] robert: * Added write to file and use of clearnode 2004-11-18 15:01 +0000 [r3666] robert: * Increased accuracy of animation path, moved main to end. 2004-11-18 14:43 +0000 [r3665] robert: * Changed Solarsystem to SolarSystem. 2004-11-18 13:46 +0000 [r3664] robert: * Added a search for the config file, and defaulting to osg.conf 2004-11-18 13:34 +0000 [r3663] robert: * Changed path to imagery from Images/SolarSystem to SolarSystem. 2004-11-18 12:07 +0000 [r3662] robert: * Added friend usage for inner classes to try and get round compile problems under Solaris. 2004-11-18 11:53 +0000 [r3661] robert: * Added check for extension. 2004-11-18 11:21 +0000 [r3660] robert: * Fixed writeImage. 2004-11-18 10:08 +0000 [r3659] robert: * From Vivek Rajan, fixes to Solaris build. 2004-11-18 09:19 +0000 [r3658] robert: * Altered the path for Cygwin to set the _ticksPerSecond to the correct value. 2004-11-18 09:09 +0000 [r3657] robert: * From Stephane Simon, compile fix for VS, change struct to class in forward declaration. 2004-11-17 20:01 +0000 [r3656] robert: * From Rainer Oder, updates to osglauncher. 2004-11-17 19:31 +0000 [r3655] robert: * Changed the dependencies file to use ?= instead of = to allow env vars to override local settings. 2004-11-17 14:56 +0000 [r3653] robert: * From Thom DeCarlo, fixes for Cygwin build 2004-11-17 14:25 +0000 [r3652] robert: * Made a few of the public methods virtual, and moved more of the class methods to protected scope. 2004-11-17 13:04 +0000 [r3650-3651] robert: * Removed remaining old docs. * Removed doc++ docs from distrubtion. 2004-11-17 13:00 +0000 [r3648-3649] robert: * Removed mind maps docs * Moved the main documentation onto the wiki website, and removed from the OpenSceneGraph distribution 2004-11-16 16:04 +0000 [r3647] robert: * Fixed typo of ReadObjectFunctor. 2004-11-16 15:36 +0000 [r3646] robert: * Adde another friend to remove final VS6.0 compile problem. 2004-11-16 14:35 +0000 [r3645] robert: * Attempted fix for VS6.0 compile problems 2004-11-16 14:21 +0000 [r3643-3644] robert: * Removed debug info as it was causing VS6.0 compile problem * From David Spilling, fix for VS6.0 build. 2004-11-16 14:10 +0000 [r3642] robert: * Made the inner helper classes friend to try and get round VS6.0 problems 2004-11-16 12:40 +0000 [r3641] robert: * Added using namespace osgDB to try and resolve some of the VS6.0 problems. 2004-11-16 09:09 +0000 [r3640] robert: * Added osgText dependency to osgsequence app 2004-11-16 09:03 +0000 [r3639] robert: * From Loic Dachary, changes to Timer for PowerPC support, with small re-arrangement by Robert Osfield to make tick() code block mode readable. 2004-11-15 19:53 +0000 [r3637] robert: * From Loic Dachary, added pk-config file. 2004-11-15 19:46 +0000 [r3634-3636] robert: * Added support for serialization of calls to ReaderWriter plugins. * Added -pipe to gcc build under Linux * From osgplaents, updates to more of the solar systems planets. 2004-11-15 13:08 +0000 [r3633] robert: * Added ReentrantMutex 2004-11-15 13:02 +0000 [r3632] robert: * From Tree, fixes for Java bindings 2004-11-15 12:05 +0000 [r3630-3631] robert: * Added osgspotlight to example set. * From Ulrich Hertlien, improved osgsequence example 2004-11-15 11:57 +0000 [r3629] robert: * Added osgDB::ReentrantMutex is prep for making osgDB::Registry single threaded. 2004-11-14 21:08 +0000 [r3627] robert: * From Loic Dachary, added getFileName method 2004-11-14 20:00 +0000 [r3626] robert: * Added Cygwin to #define stat64 stat path. 2004-11-14 17:02 +0000 [r3624] robert: * Added COMPILE_OSG_OP_OT_WITH_SONAMES is YES guard around soname settings. 2004-11-14 16:36 +0000 [r3623] robert: * Added sonames support under Linux/gcc 2004-11-14 10:41 +0000 [r3622] robert: * 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. 2004-11-13 22:04 +0000 [r3621] don: * PowerPC fix for Timer by Guillaume Morin 2004-11-13 21:42 +0000 [r3620] robert: * Fixed warnings. 2004-11-13 21:39 +0000 [r3619] robert: * Added support for opening an istream archive 2004-11-13 16:21 +0000 [r3618] robert: * Added prelimarny support for reading archives via the .net plugin 2004-11-13 16:18 +0000 [r3617] robert: * Fixed the passing of the parsed server name/server file when handling files via the .net plugin 2004-11-13 10:24 +0000 [r3616] robert: * Fixed openArchive so that it only enforces the checking of the archive's existance when in READ mode. 2004-11-12 21:07 +0000 [r3615] robert: * Remove unistd.h include 2004-11-12 16:36 +0000 [r3614] robert: * Added --image and --dem documentation to command line parameters 2004-11-12 15:39 +0000 [r3613] robert: * Rotated scene to face the viewer 2004-11-12 14:49 +0000 [r3612] robert: * From Ulrich Heirtlein, added STL plugin 2004-11-12 08:55 +0000 [r3611] robert: * Improvements to support for archives 2004-11-11 22:26 +0000 [r3610] robert: * From Stephane Simon, added missing OSGDB_EXPORT to osgDB::openArchive functions 2004-11-11 16:05 +0000 [r3608-3609] robert: * Added write to ostream to ReaderWriterDDS * Fixed file extraction. 2004-11-11 13:22 +0000 [r3607] robert: * Moved the .osga implementation into the src/osgPlugins/osga plugin and made osgDB::Archive a pure virtual base class. 2004-11-10 22:11 +0000 [r3606] robert: * Fixed uninitialized variable. 2004-11-10 21:52 +0000 [r3605] robert: * Set the pos_type and size_type explictly to 8 byte types. 2004-11-10 21:47 +0000 [r3604] robert: * Added debugging info for swapped endian values 2004-11-10 21:38 +0000 [r3603] robert: * Fixes to endian handling. 2004-11-10 21:31 +0000 [r3602] robert: * Removed duplicated swap bytes 2004-11-10 21:28 +0000 [r3601] robert: * Added sizeof tests of istream::pos_type and off_type to osgunittests. Added debuggin messages to endian handling code in Archive::open(). 2004-11-10 21:18 +0000 [r3600] robert: * Added check for endianess of .osga archives 2004-11-10 16:56 +0000 [r3599] don: * More cleanups for CYGWIN from Norman Vine 2004-11-10 16:40 +0000 [r3598] robert: * Added new osga plugin for reading OSG native archives 2004-11-10 16:37 +0000 [r3597] robert: * Commented out some redundent debuggin info. 2004-11-10 13:47 +0000 [r3596] robert: * Moved the ReadFunctor to protected section. 2004-11-10 13:03 +0000 [r3595] robert: * Added support for master file and clean up Archive API. 2004-11-10 10:57 +0000 [r3594] robert: * Removed the explicit setting for convert to geocentric when setting --bluemarlbe-west, --bluemarble-east and --whole-globe. 2004-11-10 09:56 +0000 [r3593] robert: * From Mike Weiblen, fix to the state leakage. 2004-11-09 16:50 +0000 [r3591-3592] robert: * Added explicit setting of the precision to allow .osg files to be used succsefully. * Fixed tabbing 2004-11-09 15:12 +0000 [r3590] robert: * 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. 2004-11-09 15:01 +0000 [r3589] robert: * Added rainer's changes for adding billboard glow around sun. 2004-11-09 14:18 +0000 [r3588] robert: * Added support of archiving into osgTerrain::DataSet and osgdem. 2004-11-09 07:34 +0000 [r3587] don: * Fixes to the .net plugin for Cygwin, submitted by Norman Vine 2004-11-08 20:44 +0000 [r3586] robert: * Fixed the compute of PagedLOD ranges for non geocentric datasets 2004-11-08 19:56 +0000 [r3585] robert: * Added resolutionSensitivityScale of 0.9 into the DataSet::createDestinationGraph() to prevent overly conservative subdivision of data. 2004-11-08 17:12 +0000 [r3584] robert: * Added public access to VertexProgram's LocalParamters and added .osg support for these. 2004-11-08 16:39 +0000 [r3582-3583] robert: * From Stephane ???, fixes for VS.NET build * 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. 2004-11-08 16:11 +0000 [r3581] robert: * Updates to osgDB::Archive support, and refactoring of implementation of reading files in Registry to faciliate the new archiving support. 2004-11-07 21:17 +0000 [r3580] robert: * Added support for openArchive into osgDB 2004-11-07 12:13 +0000 [r3579] robert: * Fixed insertion of files into an existing archive 2004-11-06 21:21 +0000 [r3578] robert: * Removed un-needed setCullActive(false) 2004-11-06 21:18 +0000 [r3577] robert: * Further work on osgDB::Archive 2004-11-06 10:18 +0000 [r3576] robert: * Made fix to the setReferenceFrame method to properly disable culling when reference frame is ABSOLUTE. 2004-11-04 21:11 +0000 [r3575] robert: * Disabled culling on the aboslute transform to fix bug culling of hud. 2004-11-04 20:25 +0000 [r3574] robert: * Added a clear() into the RefNodePath operator = (NodePath) method. 2004-11-04 15:32 +0000 [r3573] robert: * From Morné Pistorius, fixes for VisualStudio7.0 2004-11-02 21:04 +0000 [r3572] robert: * Improved handling of uflow and underflow() in proxy_streambuf, and change unsigned char* to char* to avoid stoooopid VS6.0 compile errors 2004-11-02 17:05 +0000 [r3570-3571] robert: * Added prelimanary prox stream buffer to fake the ending of file. * Added debugging messages to setTrackerNode 2004-11-02 14:05 +0000 [r3569] robert: * Fixed missing write of image tiles. 2004-11-02 11:10 +0000 [r3568] robert: * Removed the font cache from the FreeType plugin, moving the support across to osgDB::Registry. 2004-11-01 18:29 +0000 [r3567] robert: * Removed referecence to the old c2 wiki. 2004-11-01 16:16 +0000 [r3565-3566] robert: * Commented out settings of TexEnvCombine alpha values * From Tree chagenes required for Java Wrappers 2004-11-01 10:04 +0000 [r3564] robert: * Added handling of endian in DrawElementsUShort/UInt implementations 2004-10-29 18:24 +0000 [r3563] robert: * Added useage of TexEnvCombine 2004-10-29 15:42 +0000 [r3562] robert: * Added multi-textured city illumination 2004-10-28 22:29 +0000 [r3559-3561] don: * Test done. * Directory write test to new CVS * Silly little temporary file to test CVS writes to the new server 2004-10-28 19:09 +0000 [r3558] robert: * Fixed support for NodeTrackerManipulator. 2004-10-28 14:27 +0000 [r3557] robert: * Added support for listing contents of archive 2004-10-28 13:40 +0000 [r3556] robert: * From Anders Backman, unit tests to test matrix to quat compute. 2004-10-28 13:26 +0000 [r3555] robert: * From Tom Jolley, Added a new enum POINT_ROT_WORLD_Z_AXIS and a new section in computeMatrix for this enum. With a small tweak from Robert Osfield to set _cacheMode. 2004-10-28 13:04 +0000 [r3553-3554] robert: * Added return type to addFileReference(). * Added return value to getFileReferences() 2004-10-28 12:16 +0000 [r3552] robert: * Updates to osgDB::Archive, and IVE plugin to support usage via the Archive. 2004-10-28 09:38 +0000 [r3551] robert: * Updates for Rainer, and with a few changes by Robert. 2004-10-28 08:57 +0000 [r3550] robert: * Removed direct dependency on GDAL 2004-10-28 07:00 +0000 [r3549] robert: * Removed gdal_priv.h from include/osgTerrain/DataSet to remove the external dependency on GDAL. 2004-10-27 14:09 +0000 [r3548] robert: * Added IndexBlock inner class to osgDB::Archive 2004-10-27 08:39 +0000 [r3547] robert: * Added setCullingActive false to the absolute transform. 2004-10-26 18:36 +0000 [r3546] robert: * Fixed make files. 2004-10-26 18:29 +0000 [r3545] robert: * Updates to osgDB::Archive 2004-10-26 18:20 +0000 [r3544] robert: * Removed GDAL reference 2004-10-26 18:11 +0000 [r3543] robert: * Removed the _initVisitor traversal for update() to prevent OpenGL being called at the wrong time. 2004-10-26 15:31 +0000 [r3542] don: * Removed link to X11 2004-10-26 10:31 +0000 [r3541] robert: * Made the className() const 2004-10-26 10:27 +0000 [r3539-3540] robert: * Updates to the osgarchive application * Made ReaderWriter::className const 2004-10-25 20:08 +0000 [r3537-3538] don: * oops. Mistaken check-in of local dependencies file * Oops. mistaken check in of overly modified makerules 2004-10-25 20:04 +0000 [r3536] don: * Small change by Eric Sokolowsky to change TIFF_LIBS to TIFF_LIB for Mac build 2004-10-25 19:16 +0000 [r3534-3535] robert: * From Tree, fixes for Java bindings * Added new osgDB::Archive class, and osgarchive example. These are both very early beginnings so do not function yet. 2004-10-25 18:46 +0000 [r3533] robert: * Fixed typo. 2004-10-25 18:23 +0000 [r3532] robert: * From Rainer, updates to osgplanet. 2004-10-25 18:08 +0000 [r3531] don: * Small warning fix by Marco. 2004-10-25 17:41 +0000 [r3530] robert: * Made getHomePosition const. 2004-10-24 21:05 +0000 [r3529] don: * Namespaced Rect and Frame to osgfxbrowser::Rect/Frame, as this was causing a namespace collision with CGL 2004-10-24 20:04 +0000 [r3528] robert: * Changed ABSOLUTE and RELATIVE to ABSOLUTE_RF and RELATIVE_RF to avoid stooppid Win32 #define 2004-10-24 17:50 +0000 [r3527] robert: * From Fred Mammond, fixes for x86_64 build 2004-10-24 14:42 +0000 [r3526] robert: * From Geoff Michel, speeling and typo fixes in osgUtil 2004-10-24 14:31 +0000 [r3524-3525] robert: * fixes to tabs * From Pavel Moloshtan, speed improvments in reading and writing index arrays 2004-10-24 14:24 +0000 [r3522-3523] robert: * Added osgDB::Archive * From Rainer Oder, updates to osgplanets 2004-10-24 14:19 +0000 [r3521] robert: * From Eric Sokolowsky, support for 2 channel tiff images 2004-10-24 13:51 +0000 [r3520] robert: * Added s/getEventCallback support into osg::Node, and an EVENT_VISITOR type into NodeVisitor. 2004-10-24 06:12 +0000 [r3519] don: * don - Comment in makedirdefs was causing Mac build to stop short of building all plugins 2004-10-24 05:50 +0000 [r3518] don: * don - Small changes to support Mac OSX CGL build small unused variable warning fix. 2004-10-22 21:01 +0000 [r3517] don: * Added default: case for both switch() statements 2004-10-22 19:26 +0000 [r3516] robert: * Changed the ReferenceFrame enums to be RELEATIVE and ABSOLUTE, and deprecated the RELATIVE_TO_ABSOLUTE and RELATIVE_TO_PARENTS. 2004-10-22 18:47 +0000 [r3515] robert: * Compile fixes 2004-10-22 16:39 +0000 [r3514] robert: * Added Rainer's initial osgplanets example. 2004-10-21 09:36 +0000 [r3512-3513] robert: * 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. * Checked in commented out gz plugin, will comment back in later once it is fully checked in 2004-10-19 13:52 +0000 [r3511] robert: * Move the setting of the camera horizontal field of view to after the realize() to avoid the CameraGroup's Lens be set when its NULL. 2004-10-19 09:29 +0000 [r3510] robert: * From Alan Purvis, with enum name tweaks from Robert Osfield. Addition of support for turing on/off the usage of vertex buffer objects. 2004-10-18 18:59 +0000 [r3508-3509] robert: * From Frank Lichtenheld, compile fix to Linux powerpc build. * Fixed OsgCameraGroup::setLODScale so that it now uses the local CullSettings objects. 2004-10-18 18:36 +0000 [r3507] robert: * From Bob Kuehne, addition of Vec3f(Vec2f,float) and Vec3d(Vec2d,double) constructors. 2004-10-18 18:31 +0000 [r3506] robert: * Added support for hardware generated mipmaps into Textre2D::copy*() methods. 2004-10-18 14:51 +0000 [r3505] robert: * From Marco Jez, "makes the LWS loader store LWO object names as node names, for easier recognition and retrieval by scene graph visitors. With this fix, each PositionAttitudeTransform node that corresponds to an entry in the LWS file carries the name of the loaded object plus the layer number (for example, "objects/myobj.lwo.2")." 2004-10-18 14:46 +0000 [r3504] robert: * From Yuzhong Shen, fix to the image dimensions passed to allocImage in Image::copySubImage 2004-10-18 14:42 +0000 [r3503] robert: * From Sohey Yamamoto, addition of TexEnvFilter support. 2004-10-17 06:14 +0000 [r3502] don: * Fix for minor compile error (internal error) for VS7. 2004-10-15 20:13 +0000 [r3501] don: * Fixed small typo. 2004-10-15 10:35 +0000 [r3500] robert: * Added osgNV enum Types 2004-10-15 09:53 +0000 [r3499] robert: * Changed fstream to ifstream 2004-10-15 09:10 +0000 [r3498] robert: * Added docs 2004-10-14 20:35 +0000 [r3497] robert: * Updates to NodeTrackerManipulator.cpp 2004-10-14 12:10 +0000 [r3496] robert: * Fixed the home position. 2004-10-14 10:38 +0000 [r3495] robert: * Improvements to the NodeTrackManipulator and osgsimulation example 2004-10-13 19:52 +0000 [r3494] robert: * From Sohey Yamamoto, added support for GL_TEXTURE_FILTER_CONTROL/GL_TEXTURE_LOD_BIAS. 2004-10-13 19:10 +0000 [r3493] robert: * From David Spilling, with small format and variable rename by Robert Osfield. 2004-10-13 14:13 +0000 [r3492] robert: * Added population and access of the ReaderWriter::Options::s/getDatabasePath() to enable paged database to accessed without setting file paths explictly 2004-10-13 13:40 +0000 [r3490-3491] robert: * Small tweaks to the calculateMovement method. * Increased the size of the inserted model so that it can be seen more easily, 2004-10-13 11:56 +0000 [r3489] robert: * Fixed precision of center computation. 2004-10-13 11:15 +0000 [r3488] robert: * 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. 2004-10-12 09:54 +0000 [r3487] robert: * Added CullingSettngs::s/getInheritanceMask() and inheritCullSettings(,) method. 2004-10-12 09:00 +0000 [r3486] robert: * Added a direct call to the osgUtil::Optimizer in GeoSetBuilder.cpp so that the resultant geomety would be more efficiently packed. 2004-10-12 07:54 +0000 [r3485] robert: * From Sondra Iverson, with mods by Robert Osfield. Support for copying texenv from the source StateSet when multi-texturing. 2004-10-10 18:18 +0000 [r3484] robert: * Fixed copy and past erro in getFontWidth. 2004-10-09 15:00 +0000 [r3483] don: * Added fix for MAC for FileUtils.cpp: stat64 is not present on Mac. 2004-10-08 09:18 +0000 [r3482] robert: * Changed StaetAttribute::Type so it is an enum list rather than a unsigned int. 2004-10-07 10:03 +0000 [r3481] robert: * From Sondra Iversion "Loading a single model from an externally referenced file is a standard option for OpenFlight and is specified by including the modelname in angle brackets, such as: filename. The attached code identifies and handles this case." 2004-10-07 09:40 +0000 [r3480] robert: * Added new clear, removeAttribute, removeMode, removeTextureAttribute and removeTextureMode method and deprecated the setToInherit equivilants. 2004-10-06 20:32 +0000 [r3479] robert: * 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. 2004-10-06 19:19 +0000 [r3478] robert: * From Jason Daly, fix to multi-texturing/detail texture handling. 2004-10-06 15:15 +0000 [r3477] robert: * Added support for http reading into the readObject, readImage and readHeightField methods complimenting the previously checked in readNode supoort. 2004-10-06 14:44 +0000 [r3476] robert: * Generalised the .net plugin so it could handle object, image, heightfield and node file reads. 2004-10-06 13:11 +0000 [r3473-3475] robert: * Added support for parsing http:// names and mapping automatically to use the .net plugin * Added passing on of Options object * Added support for readNode(istream,Options*) into OBJ to allow loading over the internet 2004-10-06 12:02 +0000 [r3472] robert: * Replaced #ifndef GL_TEXTURE_3D by GL_TEXTRE_BINDING_3D as the former was a copy and paste error. 2004-10-06 09:31 +0000 [r3471] robert: * 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 2004-10-05 19:12 +0000 [r3470] robert: * Added s/getCullSettings to OsgCameraGroup 2004-10-05 15:08 +0000 [r3469] robert: * Added ability to alter the verbosity of the notify messages with the running of osgTerrain::DataSet via a static s/getNotifyOffset(int) method. 2004-10-05 09:53 +0000 [r3468] robert: * Added support to osgProducer::Viewer for forcing an early exit form applications and recording an image on exit. 2004-10-05 07:08 +0000 [r3467] robert: * Changed _stat64 to _stati64 2004-10-04 14:21 +0000 [r3466] robert: * Moved the SceneView to local to the contruction/destruction of the RenderSurface 2004-10-03 19:49 +0000 [r3465] robert: * Checked in #define mapping of stat64 to _stat64 to fix Windows build 2004-10-03 08:50 +0000 [r3464] robert: * Solution of fileExists support for > 2Gb files from Ken Sewell, applied by Robert Osfield. 2004-10-03 08:36 +0000 [r3463] robert: * Added missing _texAttrListMap.clear(); into reset() 2004-10-01 23:18 +0000 [r3462] robert: * Added new osgspotlight demo 2004-10-01 22:05 +0000 [r3461] robert: * From Lewis Harmon, fixes to the Node and NodeCallback constructors. 2004-10-01 18:32 +0000 [r3460] robert: * Changed the argument parser to accept strings that start with a - as being valid strings. 2004-10-01 15:49 +0000 [r3456-3459] robert: * From Rainer Oder, new osglauncher application. * Added setPlanesFromMatrix method * Added new setPlanesFromMatrix method * Updated to use new TexGen method 2004-10-01 09:40 +0000 [r3454-3455] robert: * From Tree, moved apply's from protected to public to support Java wrappers * Added define of GL_TEXTURE_BINDING_3D for systems with OpenGL1.2 compliant headers 2004-10-01 09:19 +0000 [r3453] robert: * From Marco Jez, added more examples to runexamples.bat 2004-10-01 07:39 +0000 [r3452] robert: * Added support for write to ostream into .osg plugin 2004-09-30 19:36 +0000 [r3451] robert: * Experimentation with new timing code. 2004-09-30 14:54 +0000 [r3450] robert: * Removed debugging messages 2004-09-30 13:36 +0000 [r3449] robert: * Checked in support for cleaning up and then restart a new graphics windows once the first one has been closed down. 2004-09-30 12:10 +0000 [r3448] robert: * Fixed newly introduced compressed mipmnap error. 2004-09-30 09:10 +0000 [r3447] robert: * Added proper handling of 3d texture compression 2004-09-29 19:10 +0000 [r3446] robert: * Added support for ClipPlane, ClipNode, TexGenNode to .ive 2004-09-29 15:00 +0000 [r3445] robert: * Added Texture3D reference 2004-09-29 14:31 +0000 [r3444] robert: * Added Texture3D implementation. 2004-09-29 10:01 +0000 [r3443] robert: * Preliminary steps to support for compressed 3D textures. 2004-09-29 08:07 +0000 [r3441-3442] robert: * Added extra dependencies to osgsimulation example * Removed makeDir referecnes 2004-09-28 09:14 +0000 [r3440] robert: * From Tree, changes to better support Java binding generation 2004-09-28 08:39 +0000 [r3439] robert: * Added a mutex and _numFramesActive count to track multiview usages of the DatabasePager. 2004-09-28 07:15 +0000 [r3438] robert: * From Brad Christiansen, fix expandBy(const BoundingSphere&) method to properly handle the instance of when the two bounding sphere's have a coincident center. 2004-09-27 14:15 +0000 [r3436] robert: * 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(); 2004-09-27 12:07 +0000 [r3435] robert: * Changed the version strings to use OpenSceneGaph rather than "Open Scene Graph" 2004-09-27 10:42 +0000 [r3434] robert: * Changed the pruning of database requests so that the frame number need not be identical to pass, a delta of 1 is now pemssible 2004-09-26 19:01 +0000 [r3433] robert: * Removed erroneous casts that would have been causing uneccessary copying. 2004-09-26 18:39 +0000 [r3432] robert: * From Geoff Michel, typos and spelling fixes. 2004-09-26 10:27 +0000 [r3431] robert: * From Mike Weiblen, partial fix for OpenGL error generation under NVidia drivers. 2004-09-23 20:13 +0000 [r3430] robert: * Fixed typo 2004-09-23 20:07 +0000 [r3429] robert: * Fixed typo. 2004-09-23 20:01 +0000 [r3428] robert: * Added releaseAllGLObjects() convinience method. 2004-09-23 18:50 +0000 [r3427] robert: * Clean up of new DatabasePager code, and change of osgProducer so that DatabasePager support is now integrated into the OsgSceneHandler. 2004-09-23 16:05 +0000 [r3426] don: * Fixed warnings 2004-09-23 12:27 +0000 [r3425] robert: * Updates for better DatabasePager peformance w.r.t constant frame rates. 2004-09-22 09:28 +0000 [r3424] robert: * Added a extra debugging comment 2004-09-21 21:33 +0000 [r3423] robert: * Updated to DatabasePager support 2004-09-21 17:26 +0000 [r3422] robert: * Various improvements to database paing. 2004-09-20 17:42 +0000 [r3420-3421] don: * removed makeDir.h * Removed temporary makeDir files and call in ReaderWriterNet.cpp 2004-09-19 20:09 +0000 [r3419] robert: * Added clear(), setDatabasePagerThreadPause() and setAcceptNewDatabaseRequests() methods and new local implementation of cancel(). 2004-09-19 19:03 +0000 [r3418] robert: * Removed unused variable. 2004-09-19 18:34 +0000 [r3417] robert: * Added reference to GL_LIBS 2004-09-18 19:28 +0000 [r3415-3416] robert: * Various improvements to the DatabasePager with the aim to achieve constant framerates and minimizing memory consumption. * Removed reference to ComputeTransformCallback 2004-09-15 19:14 +0000 [r3414] robert: * From Sebastien Grignard, add writing out/reading in of drawable components of a ShapeDrawable. From Robert, add versioning of the above change to allow old files to still work. 2004-09-15 19:10 +0000 [r3412-3413] robert: * More spelling & top fixes. * From Geoff Michel, typo and spelling fixes 2004-09-15 15:09 +0000 [r3411] robert: * Added usage of std::vector<> and ref_ptr<>'s to avoid memory leaks 2004-09-14 15:05 +0000 [r3409-3410] robert: * Commented out osg::noitfy usage under OSX since this was causing a crash on start up * Added GDAL check to compile of osgsimulation 2004-09-13 17:19 +0000 [r3408] robert: * Fix of tabbing and typo 2004-09-13 16:10 +0000 [r3407] robert: * From Paul Martz, typo and spelling fixes 2004-09-13 15:17 +0000 [r3406] robert: * Fixed comments 2004-09-13 15:14 +0000 [r3405] robert: * From Eric Hammil, typo and spelling fixes 2004-09-13 14:33 +0000 [r3404] robert: * From George Papagiannakis, added extra Quat length to catch case where length is zero. 2004-09-13 13:53 +0000 [r3403] robert: * Improved the handling of building/writing generated databases, and the fixed transition distances on the lower levels of geocentric databases. 2004-09-11 03:00 +0000 [r3402] robert: * Added a deleteTextureObject after the creation of the compressed textures 2004-09-10 17:49 +0000 [r3401] robert: * Added missing LightModel.h and .cpp from Stansilav. 2004-09-10 13:31 +0000 [r3400] robert: * Added convinience methods. 2004-09-10 08:26 +0000 [r3399] robert: * Made update, cull and draw callbacks virtual to allow custom Drawable's to there own specific extensions for handling callbacks 2004-09-09 15:14 +0000 [r3398] robert: * Made the computeLocalToWorld etc method to use const NodePath's parameters. 2004-09-09 13:18 +0000 [r3397] robert: * Added osg::RefNodePath class for handling node paths. 2004-09-09 13:07 +0000 [r3396] robert: * From Stanislav Blinov, addition of LightModel support for .ive format. 2004-09-09 09:03 +0000 [r3395] robert: * Fixed write of normalmap. 2004-09-09 08:54 +0000 [r3394] robert: * Change the warnigns about a fail getLibraryHandle to be INFO rather than WARN. 2004-09-09 08:18 +0000 [r3393] robert: * From Martin Aumueller, added ref() and unref() to Inventor node handling. 2004-09-08 18:14 +0000 [r3392] robert: * Fixed keyword used for setting the database name. 2004-09-08 15:14 +0000 [r3391] robert: * Quick fix to crash in TXPNode. 2004-09-07 14:34 +0000 [r3390] robert: * Changed usage of assert() to throw. 2004-09-07 10:45 +0000 [r3389] robert: * Added a size check on heap_array::Adjust(size_t i) to prevent access errors. 2004-09-07 10:31 +0000 [r3388] robert: * From Paul Martz, removed redundent paramaters in clampArray4LEQUAL. 2004-09-07 10:09 +0000 [r3386-3387] robert: * Changed the wrap mode from CLAMP to CLAMP_TO_EDGE * From Paul Martz, typos and spelling fixes 2004-09-07 06:59 +0000 [r3385] robert: * Added missing setTrackerMode(TrackerMode) 2004-09-06 18:20 +0000 [r3384] robert: * Added mutex to access to the Registry::_objectCache. 2004-09-06 14:59 +0000 [r3382-3383] robert: * From Joakim Simonsson, add s/getHPROrder method * Added docs for max size commandline params. 2004-09-06 14:30 +0000 [r3381] robert: * From Marco Jez, added missing TexGenNode constructor. 2004-09-04 09:22 +0000 [r3380] robert: * Updates to controlling maximum texture size 2004-09-03 15:42 +0000 [r3379] robert: * Added commandline support for Size and texcoord Multipliers 2004-09-03 15:05 +0000 [r3378] robert: * Added setConstantColorAsLightDirection & getConstantColorAsLightDirection methods to make it more convinient to set up DOT3 register combiners. 2004-09-03 10:02 +0000 [r3377] robert: * Added handling of RGBA to normal map computation 2004-09-02 20:42 +0000 [r3376] don: * Fixed .net plugin errors on Mac 2004-09-02 19:10 +0000 [r3375] robert: * From Geoff Michel, typo and spelling fixes 2004-09-02 18:19 +0000 [r3373-3374] robert: * Added Sequence back in with correct Permission, and with Geoff Michel's spelling corrections. * Temporary removal of Sequence to try and get around permissions problem with it. 2004-09-02 10:01 +0000 [r3372] robert: * Added usage of carbon pathway in appendPlatformSpecificLibraryFilePaths. 2004-09-02 07:44 +0000 [r3371] robert: * Added comments from Eric 2004-09-02 03:52 +0000 [r3370] don: * Fixed a mis-definition of INSTBIN and INSTLIB 2004-09-01 17:18 +0000 [r3369] robert: * From Geoff Michel, removed mem_ptr reference as it no longer exists 2004-09-01 15:14 +0000 [r3368] robert: * From Uwe Woessner 2004-09-01 14:49 +0000 [r3367] robert: * Added Don's new osgDB::makeDirectory() code FileUtils. 2004-09-01 11:05 +0000 [r3366] robert: * Removed reference to old CmdLineArgs class 2004-09-01 10:45 +0000 [r3365] robert: * From Jeoen den Dekker, changed eroneous tcoords[ci][0] to tcoords[ci][1] 2004-09-01 10:41 +0000 [r3364] robert: * 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 2004-09-01 10:18 +0000 [r3363] robert: * Added bool paramter to MatrixManipulator::setHomePosition(,,,bool) to allow the autocomputehomeposition to be controlled. 2004-09-01 09:54 +0000 [r3362] robert: * From Marco Jez, added new osgmotionblur example 2004-09-01 09:48 +0000 [r3361] robert: * From Eric Sokolsky, add support for recording default values for env vars 2004-09-01 09:10 +0000 [r3360] robert: * Added crude #ifdef COIN_BASIC_H around ::REPLACE usage as this is only available under Coing 2004-09-01 09:00 +0000 [r3358-3359] robert: * Added support for CONSTANT_COLOR and ONE_MINUS_CONSTANT_COLOR into .osg * From Sondra Iverson, adding of CONSTANT_COLOR and ONE_MINUS_CONSTANT_COLOR options 2004-09-01 08:49 +0000 [r3357] robert: * From Marco Jez, addition of new interal texture formats to osg/Texture and Image.cpp 2004-09-01 08:34 +0000 [r3356] robert: * From Brede Johhansen, fixed copy and paste bug where in getInverse(..) methods 2004-09-01 08:15 +0000 [r3355] robert: * From Paul Martz, typos and spelling fixes. 2004-08-31 21:18 +0000 [r3354] don: * small change for Visual Studio compile 2004-08-31 21:06 +0000 [r3353] don: * Added Visual Studio files for osgPlugin net 2004-08-31 20:49 +0000 [r3352] don: * added makeDir - temporary UNIX only 2004-08-31 20:26 +0000 [r3351] don: * Fixes (hopefully) for windows and other platforms... 2004-08-31 14:49 +0000 [r3349-3350] robert: * From Geoff Michel, typo and spelling fixes. * Added support for spherical texture mapping and better file search support for meterial files. 2004-08-31 14:21 +0000 [r3348] robert: * Simplified the TrackMode options 2004-08-31 14:08 +0000 [r3347] robert: * From Geoff Michel, spelling and typo fixes. 2004-08-31 13:19 +0000 [r3346] robert: * From Sébastien Kuntz, spelling and typo fixes 2004-08-31 09:20 +0000 [r3345] robert: * Added rescale of quaternion in Matrix::set(Quat), a copy operation in osg::Quat and extra tracking options in NodeTrackerManipulator. 2004-08-31 01:12 +0000 [r3344] don: * Added cache_mode option to Net plugin 2004-08-30 18:53 +0000 [r3342-3343] robert: * Added trackmode support for handling rotation of tracked node * Fixed the Matrix::get(Quat&) method 2004-08-30 10:03 +0000 [r3340] robert: * Remamed TrackerManipulator to NodeTrackerManipulator 2004-08-30 01:15 +0000 [r3339] don: * 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. 2004-08-29 15:09 +0000 [r3338] robert: * Added handling of $ comment line, and 'g' empty group name 2004-08-29 00:57 +0000 [r3337] don: * Added two options to the .net loader: hostname= - Specify the host to connect to to retreive files server_prefix= - Specify a prefix to each file indicating a directory for the server to look into Also, the .net server now does not require a file to have the .net suffix. ALl this together now means that you can do this: osgviewer -e net -O "hostname=openscenegraph.org server_prefix=BlueMarble" earth.ive And view the whole earth streamed from a server. 2004-08-28 23:04 +0000 [r3336] don: * Changes for IRIX build and fix to build system 2004-08-28 07:25 +0000 [r3334] don: * Added the .net plug-in. This allows the reading of files by specifying :file..net for example: osgviewer osgcvs.no-ip.com:OSGModels/cow.osg.net 2004-08-27 16:52 +0000 [r3333] robert: * Fix of OSX build 2004-08-27 16:19 +0000 [r3331] robert: * Fix for OSX build. 2004-08-27 16:14 +0000 [r3330] robert: * Added a new osgDB::appendPlatformSpecificLibraryFilePaths() method to FileUtils.cpp Includes a new OSX code from Eric Wing 2004-08-27 14:56 +0000 [r3329] robert: * Added .tif extension to handled extension list 2004-08-27 12:04 +0000 [r3328] robert: * Removed eroneous cancel() and join() from the DatabasePager::run() method. 2004-08-27 08:03 +0000 [r3326-3327] robert: * Added handling of short (<=4 points) polygons as tri fans and the rest as polygons which are tesselated, to improve load and build time, yet still resselating the large polygons that need it. * Added handling of DrawArrayLengths PrimitiveSet. 2004-08-26 16:20 +0000 [r3325] robert: * Improvements to handling of winding of polygons. 2004-08-26 14:52 +0000 [r3324] robert: * Removed debugging output. 2004-08-26 14:33 +0000 [r3323] robert: * Rewrite of OBJ parser + converter to OSG 2004-08-26 06:41 +0000 [r3322] robert: * Fixed getHomePosition 2004-08-24 21:35 +0000 [r3321] don: * Robert must've forgotten to set VERSION_REVISION back to 0 after tagging the release 2004-08-24 18:27 +0000 [r3320] robert: * Removed "interlace" debugging message 2004-08-24 18:23 +0000 [r3319] robert: * Changed the AnimationPathCallback::reset() to reset the _firstTime to DBL_MAX so that it resets on the next update traversal. 2004-08-24 13:25 +0000 [r3318] robert: * Added support for looping mode 2004-08-24 12:55 +0000 [r3317] robert: * Added s/getLoopingMode() to ImageStream and MPEG plugin 2004-08-24 11:00 +0000 [r3315-3316] robert: * Removed HoveManipulator * Updated docs 2004-08-24 08:43 +0000 [r3314] robert: * Made the command buffer have 20 elements in it to protect against wrapping around. 2004-08-24 07:29 +0000 [r3313] robert: * Changed --compress to --compressed in commandline docs 2004-08-23 20:29 +0000 [r3312] don: * Fixed error for when screen width * 0.75 is greater than screen height for compute of window size when coming from fullscreen when 'f' key is pushed. 2004-08-23 17:17 +0000 [r3311] don: * Fixed assumption that the users's screen is 1280x1024 when toggling full screen with the 'f' key. 2004-08-23 14:08 +0000 [r3310] robert: * Fixed link to download page 2004-08-23 08:44 +0000 [r3309] robert: * Added protection to prevent crashes on calls when no data is set up 2004-08-23 08:31 +0000 [r3308] robert: * Changed the write help option to just output commandline options. 2004-08-23 07:25 +0000 [r3307] robert: * Updated docs to point to correct 3rd party binaries 2004-08-21 17:29 +0000 [r3306] don: * Added back in the -s (scale) argument to osgconv, which was dropped in the last revision. 2004-08-20 09:46 +0000 [r3305] robert: * From Don Tidrow, fixes to comments. 2004-08-18 10:07 +0000 [r3303] robert: * Bumped up the revision number to 2 for the 0.9.7-2 release 2004-08-18 09:34 +0000 [r3302] robert: * Set date for 0.9.7-2 release 2004-08-18 06:06 +0000 [r3301] robert: * Rejigged the __int* definitions to try and get round Mingw compile errors 2004-08-17 19:42 +0000 [r3300] robert: * From Bruce Clay, fixes for VS6.0 build. 2004-08-17 18:57 +0000 [r3298-3299] robert: * From David Fries, added getBinNum() method * Changed sizeof(..) references to 1,2,4 respectively. 2004-08-17 08:14 +0000 [r3296] robert: * Updated changelog 2004-08-17 07:58 +0000 [r3295] robert: * From David Fries, "I added code to also check the local up vector, but only if one of the rotation modes is selected, because autoscale isn't affected by the camera rotations. " 2004-08-17 07:44 +0000 [r3293-3294] robert: * Changed the "flip" keyword to "dds_flip" * Updated docs for second rev of 0.9.7 2004-08-17 06:15 +0000 [r3292] robert: * Removed computeMipMaps call 2004-08-16 21:14 +0000 [r3291] robert: * Added support for "flip" option string, which if present flips incoming images about the vertical axis. Accessed via -O flip on the commandline. 2004-08-16 21:03 +0000 [r3290] robert: * Added a handling of different hex long long handling for VS and non VS. 2004-08-16 20:57 +0000 [r3289] robert: * Added support in Image::flipVertical for flipping mipmapped imagery and for flipping compressed imagery. 2004-08-16 16:43 +0000 [r3288] robert: * Fixed _MSC_VAR reference 2004-08-16 15:45 +0000 [r3286-3287] robert: * Added dxtctool.h/.cpp * Added fxtctool in prep for adding compressed imagery swap 2004-08-16 14:21 +0000 [r3285] robert: * Cleaned up output level of debugging messages 2004-08-16 14:03 +0000 [r3284] robert: * Fix to order of materials 2004-08-16 13:54 +0000 [r3283] robert: * From Michael Gronager, addition of NodeCallback support in .osg format. 2004-08-16 13:17 +0000 [r3282] robert: * Improvements to the handling of OBJ files 2004-08-16 08:58 +0000 [r3280-3281] robert: * Disabled the culling on the DistortionNode. * Disabled the culling for clear node. 2004-08-16 08:32 +0000 [r3279] robert: * Changed the length multiple to be 2x the bounding sphere radius 2004-08-16 07:29 +0000 [r3278] robert: * From Michael Gronager, fix to an orientation bug. 2004-08-14 15:42 +0000 [r3277] don: * P*E*G*O*U*T Sound. Spelling fixes. 2004-08-13 15:48 +0000 [r3276] robert: * Added news for release 0.9.7-2 2004-08-13 15:29 +0000 [r3275] robert: * Updates for 0.9.7-2 release 2004-08-13 14:42 +0000 [r3274] robert: * 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. 2004-08-13 14:09 +0000 [r3273] robert: * Updated docs. 2004-08-13 13:46 +0000 [r3272] robert: * Added docs for CacheObjectHints 2004-08-13 13:27 +0000 [r3271] robert: * Removed redundent include/ReadFile call 2004-08-13 12:38 +0000 [r3270] robert: * Changed the "Reading a byte swapped file" message to info level. 2004-08-13 12:05 +0000 [r3269] robert: * Fix for VS6.0 build 2004-08-13 10:50 +0000 [r3267-3268] robert: * Added #include required for X-platform build. * Removed inappropriate #ifdefs 2004-08-13 10:46 +0000 [r3266] robert: * Fixes for OSX. 2004-08-11 08:25 +0000 [r3265] robert: * From Ben Discoe, build fix for float version of Matrix. 2004-08-10 18:31 +0000 [r3264] robert: * Changed the database pager run message to only output at an info level 2004-08-10 13:30 +0000 [r3263] robert: * Updated to include reference to osgdem 2004-08-10 13:19 +0000 [r3262] robert: * Added osgdem quick usage guide 2004-08-09 15:12 +0000 [r3257] robert: * Set revision number back to 0. 2004-08-09 15:08 +0000 [r3255] robert: * Set version to 0.9.7-1 2004-08-09 13:58 +0000 [r3254] robert: * Updated NEWS 2004-08-07 19:08 +0000 [r3253] robert: * Changed binding warnings to be reported as info rather than as warnings. 2004-08-07 09:42 +0000 [r3252] robert: * Added the ability to set the global stateset, as use this RenderStageLighting 2004-08-06 19:55 +0000 [r3251] robert: * From Bob Kuehne, change the FREETYPE_INCLUDE and _LIB to hardcoded version to avoid reliance on freetype-config. 2004-08-06 09:38 +0000 [r3248-3250] robert: * Fix for Mingw from Norman Vine. * Updated NEWS * From Bob Kuehne, adding of SDKPATH to OSX build 2004-08-06 08:56 +0000 [r3247] robert: * Added support for the "precision " options string 2004-08-06 08:34 +0000 [r3246] robert: * Updated docs 2004-08-06 08:22 +0000 [r3245] robert: * Added support for osg::AutoTransform::setAutoRotateMode(AutoRotateMode) deprecating the previous setAutoRotateToScreen(). Added support for ROTATE_TO_CAMERA mode. Cleaned up the autotransform demo to use a sensible number of labels 2004-08-06 06:53 +0000 [r3244] robert: * Updated docs 2004-08-06 05:28 +0000 [r3243] robert: * Typo fixes from Geoff Michel 2004-08-06 05:25 +0000 [r3242] robert: * From Bruce Clay, Build fixes for Win32 VS6.0 2004-08-05 15:15 +0000 [r3240-3241] robert: * From Jay Zuckerman, fixes to AutoTransform so that it includes checking of previous position value. * From Marco Jez, updates to work with latest StateAttrbiute::compileGLObjects method 2004-08-05 15:02 +0000 [r3239] robert: * From Marco Jez, commented out info debugging messages 2004-08-05 13:41 +0000 [r3237] robert: * From Marco Jez, VS.NET warning fixes. 2004-08-05 12:47 +0000 [r3236] robert: * Changed the popProjectionMatrix so that it didn't allow modification on the near and far values when clamping the projection matrix. 2004-08-05 10:01 +0000 [r3235] robert: * Added s/getClearColor and deprecated s/getBackgroundColor(). Re-implemented setClearColor so that it passes on its value to Camera::setClearColor(), and changed OsgSceneHandler to use the Camera::getClearColor() on each new frame to ensure that it reflects the settings of the camera correctly. 2004-08-05 08:02 +0000 [r3234] robert: * Set version numbers for 0.9.7 release 2004-08-04 10:22 +0000 [r3233] robert: * Added GDAL to dependencies list 2004-08-04 10:03 +0000 [r3232] robert: * Cleaned up the gdal-config usage to work with gdal-1.1.9 2004-08-04 09:20 +0000 [r3231] robert: * Added support for setting custom dependencies 2004-08-04 08:27 +0000 [r3230] robert: * From Norman Vine (with small tweaks by Robert Osfield), build fixes for Cygwin 2004-08-04 07:14 +0000 [r3229] robert: * From Brede Johansen, fixes for Win32 build 2004-08-04 06:57 +0000 [r3228] robert: * From Don Tidrow, build fix for Peformer 2004-08-03 19:01 +0000 [r3225-3227] robert: * Brief update of news. * Fixed tabbing * Added test for quat multiplication ordering. 2004-08-03 18:06 +0000 [r3224] robert: * From Pavel Moloshtan, fix to Image copy constructor so that it used the correct size of image including mipmaps. 2004-08-03 12:38 +0000 [r3223] robert: * Added include of scoped lock 2004-08-03 11:01 +0000 [r3222] robert: * Better macro support for switching on/off use of mutex 2004-08-03 07:31 +0000 [r3221] robert: * 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. 2004-08-02 15:56 +0000 [r3220] robert: * Fixed warnings 2004-08-02 15:52 +0000 [r3219] robert: * Fixed warning 2004-08-02 14:52 +0000 [r3217-3218] robert: * Fixed warnigns * Fixed warnings 2004-08-02 14:42 +0000 [r3216] robert: * Removed warings 2004-08-02 13:57 +0000 [r3215] robert: * Fixed warnings 2004-08-02 12:19 +0000 [r3214] robert: * Made the member variables in RenderStage and RenderBin protected 2004-08-02 09:30 +0000 [r3213] robert: * Added glReadBuffer after each instance of glDrawBuffer to ensure that the any reads are done to the appropriate buffer. 2004-08-02 09:11 +0000 [r3212] robert: * From Norman Vine, fixes for Mingw 2004-08-02 07:25 +0000 [r3210-3211] robert: * 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)." * Added osgtesselate example 2004-08-01 10:36 +0000 [r3209] robert: * From Geoff Michel, new osgtesselate example, and new features in osgUtil::Tesselator. 2004-08-01 08:26 +0000 [r3208] robert: * Build fixes for gcc 3.4.1 support 2004-08-01 04:10 +0000 [r3207] robert: * Removed old iv plugin 2004-08-01 04:06 +0000 [r3206] robert: * Added PROFILER support under Linux for gprof and FunctionCheck 2004-07-30 15:44 +0000 [r3205] robert: * Added beginnings of new TrackballManipulator 2004-07-29 14:24 +0000 [r3204] robert: * Added osgText to makefile 2004-07-29 10:13 +0000 [r3203] robert: * Added detection and disabling of flattening of static transforms which a LightPointNode exists in the scene graph. 2004-07-28 19:56 +0000 [r3202] robert: * Fixed compare(ProgramObject) and added UniformeValue::compare and ShaderObject::compare to support proper sorting of shaders. 2004-07-28 12:38 +0000 [r3201] robert: * Replaced GL_PACK_ROW_LENGTH by GL_UNPACK_ROW_LENGTH 2004-07-28 12:29 +0000 [r3199-3200] robert: * From Corbin Holtz, addition of GDAL_INCLUDE and GDAL_LIB env vars for setting a non standard location of GDAL * Added initializer for _videoWriteData and _rows pointers 2004-07-28 10:26 +0000 [r3197-3198] robert: * Commented out debugging messages * Fixed the flatten static transform visitor so that it checks to see if a drawable can be flattened or not. 2004-07-28 08:28 +0000 [r3196] robert: * Added double buffer of video imagery so that the OpenGL never reads as Mpeg writes 2004-07-28 07:24 +0000 [r3195] robert: * From David Fries, divide by zero fix on text with a pixel size of 0.0 2004-07-27 15:14 +0000 [r3194] robert: * Made the static mutex a pointer to a static mutex to get round a exit problem on deletion of the plugin. 2004-07-27 13:32 +0000 [r3193] robert: * Clean up of debugging messages 2004-07-27 13:24 +0000 [r3192] robert: * Fixed unref image so it only unref's when images are STATIC 2004-07-27 10:23 +0000 [r3191] robert: * Changes to fix multiple thread start. 2004-07-27 10:11 +0000 [r3190] robert: * Added support s/getImage(uint i) and getNumImages(). 2004-07-27 09:04 +0000 [r3189] robert: * Fixed double thread start problem. 2004-07-26 19:40 +0000 [r3188] robert: * Made the handling of types more consistent 2004-07-26 14:25 +0000 [r3183] robert: * Added setting of block_on_vsync of both CameraGroup and all the Camera's that it contains. 2004-07-25 18:46 +0000 [r3182] robert: * Changed value_type back to being a float. 2004-07-23 10:03 +0000 [r3181] robert: * From Mike Weiblen, updates to dsp to improveme formatting and include OpenThreads 2004-07-23 09:49 +0000 [r3180] robert: * Fixed iddle update. 2004-07-23 09:15 +0000 [r3179] robert: * Added ImageStream::quit(bool) for exiting from video threads, and added clean up to OsgCameGroup to quit movie threads automatically. 2004-07-23 04:03 +0000 [r3178] robert: * Made doc comments more relevant. 2004-07-22 18:34 +0000 [r3177] robert: * Added support for OSG_OPTIMIZER="OFF" 2004-07-22 15:41 +0000 [r3176] robert: * Fixed build 2004-07-22 15:11 +0000 [r3175] robert: * Added more usage mutex to serialize access to Quicktime. 2004-07-22 12:10 +0000 [r3174] robert: * Added support for compressing textures to osgconv, can be accessed by running --compressed when outputting to a .ive file. 2004-07-22 11:59 +0000 [r3173] robert: * Added support texture compression in osgconv 2004-07-22 07:41 +0000 [r3172] robert: * Changed _valueAnisotropy from bool to float. 2004-07-21 19:16 +0000 [r3169-3171] robert: * Added preliminary support for thread safety in various delete GLobjects code * Added missing tex env mode * Replaced STOPPED by PAUSED. 2004-07-21 19:04 +0000 [r3165-3168] robert: * From Mike Weiblen, VS formated .dsw * Removed the stop method, replacing it by pause * Removed the stop method * Removed stop method, as it overlaps the pause method. 2004-07-21 10:01 +0000 [r3164] robert: * Clean up of thread handling. 2004-07-21 08:55 +0000 [r3163] robert: * Double intersections distance for intersects. 2004-07-20 18:50 +0000 [r3162] robert: * From Geoff Michel, fixes. 2004-07-20 10:17 +0000 [r3161] robert: * Added SceneView::Options for SceneView::setDefaults(options) and OsgCameraGroup::setRealizeSceneViewOptions(options) to allow better control of what functionality is compiled in by default. 2004-07-20 07:46 +0000 [r3160] robert: * From Bob Kuehne, add usage of version number to differentiate between rev's of the LOD. 2004-07-20 05:37 +0000 [r3157-3159] robert: * Added support for releasing GLObjects, and renamed DisplayListVisitor the GLObjectVisitor to better fit its function, and added support for releasing objects as well as compiling them. * From Eric Sokolosky, added INVENTOR_INCLUDE and INVENTOR_LIB vars. * Added OpenThreads mutex to protect ref()/unref(). 2004-07-19 18:56 +0000 [r3156] robert: * Fixed the position of text so it is drawn ontop of the quads. 2004-07-19 18:47 +0000 [r3155] robert: * From Mike Weiblen, "When launched, it creates a commandline shell that is fully configured to support running OSG apps from the source tree filesystems." 2004-07-19 18:35 +0000 [r3154] robert: * From Geoff Michel, fix for handling of texture filenames enclosed in quotes. 2004-07-19 14:34 +0000 [r3153] robert: * 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. 2004-07-19 09:39 +0000 [r3152] robert: * Lowered level of debugging message 2004-07-19 09:03 +0000 [r3151] robert: * Added support for --tile-image-size , --tile-terrain-size and --comment command line options into osgTerrain::DataSet + osgdem. 2004-07-17 10:38 +0000 [r3150] robert: * From Mike Weiblen, switched of alpha test on anisotropic effect, due to missing write of colour. 2004-07-17 10:33 +0000 [r3149] robert: * From Mike Weiblen, updates to the psuedo loaders to add documentation. 2004-07-12 21:32 +0000 [r3148] robert: * Fixed the computePosition so it find intersections more easily. 2004-07-12 19:54 +0000 [r3147] robert: * Added support for matix manipulator setHomePosition(,,) 2004-07-12 17:30 +0000 [r3146] robert: * Removed enabling of use client stage storage hint. 2004-07-12 13:20 +0000 [r3145] robert: * Added OPTIMIZER_TEXTURE_SETTINGS pass to Optimizer, which enables unref image data after apply, client storage hint. 2004-07-12 13:13 +0000 [r3144] robert: * Added debugging message, currently commented out. 2004-07-12 10:23 +0000 [r3143] robert: * Added unref image data on apply automatically to all textures being loaded. 2004-07-12 09:43 +0000 [r3142] robert: * Reduced the pan sensitive on the trackball 2004-07-12 09:17 +0000 [r3141] robert: * Reduced the sensitivity of the pan. 2004-07-12 01:01 +0000 [r3140] robert: * Added a more flexible variable on the textured quad generation function 2004-07-11 23:07 +0000 [r3139] robert: * Made debugging message write to osg::INFO instead of osg::NOTICE 2004-07-11 21:46 +0000 [r3138] robert: * Added CLUSTER_CULLING mask to CullSettings, and modified the ClusterCullingCallback to use the mask to see if cluster culling is enabled or disabled. 2004-07-11 16:38 +0000 [r3137] robert: * Added ability to control the number of slices and the amount of the volume clipped. 2004-07-09 20:58 +0000 [r3136] robert: * Fixed cluster culling. 2004-07-09 15:42 +0000 [r3134-3135] robert: * Compiles fixes for VS.6.0 * VS.NET Warning fixes from Stephane 2004-07-09 15:33 +0000 [r3133] robert: * Added osgText to dependency list of osgsimulation example 2004-07-09 15:26 +0000 [r3130-3132] robert: * Changed std::min definition to osg::minimum to avoid STOOOPID MS conficts. * Clean up of commandline options * Improvements to the handling of coordinate system nodes 2004-07-09 12:14 +0000 [r3129] robert: * Clean up of debugging information. 2004-07-09 08:22 +0000 [r3128] robert: * 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" 2004-07-08 22:28 +0000 [r3127] robert: * Added new coputeActiveCooridnateSystemNodePath method 2004-07-08 22:12 +0000 [r3124-3126] robert: * Replaced the custom MyTexGen class with a standard TexGen, and utilised the new RenderStage addPositionedTextureAtribute method. * Made the local storage of a StateAttribute* be a ref_ptr<> * Made the constructor's default value for _lightingMode be NO_SCENEVIEW_LIGHT 2004-07-07 15:05 +0000 [r3123] robert: * Added lighting and materials to volume subgraph 2004-07-07 13:19 +0000 [r3122] robert: * From Vasily Radostev, fixed Billboard compute near/far bug due to typo of bbCornerFar. 2004-07-07 11:29 +0000 [r3120-3121] robert: * Added automatic scaling of the minimum distance to cope with models of small dimensions. * Added automatic setting of the verical scale when the destination coordinate system is geographic (i.e. lats and longs.). 2004-07-07 09:04 +0000 [r3119] robert: * Added support for automatically computing the local skirt orientation 2004-07-06 15:10 +0000 [r3118] robert: * Added mutex to image stream thread to serialize calls to Quicktime. 2004-07-06 13:00 +0000 [r3117] robert: * From Geoff Michel, replaced used C style FILE with iostream. 2004-07-06 12:32 +0000 [r3116] robert: * Removed debugging message 2004-07-06 12:15 +0000 [r3114-3115] robert: * Fixed warning. * Changed the default mipmapping mode to record the mipmaps in the images in the generated databases. 2004-07-06 06:13 +0000 [r3113] robert: * Added GL_TEXTURE_DEPTH #define for Win32 build 2004-07-06 06:05 +0000 [r3112] robert: * Fixed build after Image change 2004-07-05 21:46 +0000 [r3111] robert: * Added dealloc or previous image data into readImageFromTexture 2004-07-05 21:09 +0000 [r3110] robert: * Added suppor for copying mipmaps of compressed textures 2004-07-05 16:21 +0000 [r3109] don: * Changed internal formatt on jpeg loader to be GL_RGB, GL_RGBA, etc. rather than numComponents. 2004-07-05 09:04 +0000 [r3108] robert: * From Ulrich Hertlein, added check for detailRatio<=0.0 2004-07-05 07:42 +0000 [r3107] robert: * Fixed missing member variable initialized varaibles 2004-07-02 14:46 +0000 [r3104-3106] robert: * Change the light in LightSource from a generic osg::StateAttribute to a osg::Light. * Added setFunction and setReferenceValue method * Added normal setting to slice planes 2004-07-01 14:30 +0000 [r3101-3103] robert: * Clean up of osgvolume * Added osgvolume * 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. 2004-07-01 14:22 +0000 [r3100] robert: * Fixed indenting 2004-07-01 13:53 +0000 [r3099] robert: * Moved the radius parameter from PageLOD into LOD. 2004-06-30 19:07 +0000 [r3098] robert: * Added support for using pixel size control of LOD levels. 2004-06-30 14:43 +0000 [r3097] robert: * Maded the image filename handling more consistent. 2004-06-30 14:37 +0000 [r3096] robert: * Completed support for "--levels min max" option where the levels that a source imager or DEM contributes to. 2004-06-30 09:02 +0000 [r3095] robert: * Fixed handling of PROCTED/OVERRIDE 2004-06-30 07:26 +0000 [r3094] robert: * Changed const int to #define for VS6.0 build 2004-06-29 15:04 +0000 [r3093] robert: * From Pavel Moloshtan, added support for storing primitive sets in VBO's 2004-06-29 14:58 +0000 [r3092] robert: * Improved the handling of normal lighting 2004-06-29 13:59 +0000 [r3091] robert: * Added osgvolume example 2004-06-29 08:03 +0000 [r3090] robert: * Fixed parsing of internalTextureFormat. 2004-06-28 22:09 +0000 [r3089] robert: * Re-organised Texture::computeInternalFormatWithImage() to avoid testing for extensions when not required. 2004-06-28 21:39 +0000 [r3088] robert: * Fixed warnings. 2004-06-28 20:47 +0000 [r3087] robert: * From Matt Burke, typo fix on getMinimumDistance(). 2004-06-28 15:09 +0000 [r3086] robert: * Added .osg support for new TexGenNode 2004-06-28 14:18 +0000 [r3085] robert: * Fixed warning 2004-06-28 13:18 +0000 [r3083-3084] robert: * From Michael Logan, build fix for Performer plugin * From Michael Gronager, added support for alpha channel in writing of BMP images 2004-06-28 12:52 +0000 [r3082] robert: * From Eric Sokolowsky. Added missing blend modes into .osg reading and writing and fixed typo. 2004-06-28 10:00 +0000 [r3081] robert: * From Terry Welsh, added support for reading and writing osg::FragmentProgram local parameters. 2004-06-28 09:05 +0000 [r3080] robert: * From Bob Kuehne, add additional check in osgconv to handles modules that don't load gracefully. 2004-06-17 15:07 +0000 [r3079] robert: * Added handling of GL_INTENSITY in osg::Image::computeNumComponents() 2004-06-17 14:39 +0000 [r3078] robert: * Added first stage of support for "--levels min max" in osgdem/osgTerrain where this option controls which levels that an associated imager or DEM contributes to the final model. 2004-06-17 14:02 +0000 [r3077] robert: * Added support for setting texture units in the new TexGenNode. 2004-06-16 15:05 +0000 [r3076] robert: * From Loic Dachary, added missing copy contructor operations. 2004-06-16 06:02 +0000 [r3075] robert: * From David Fries, small treak to debugging output. 2004-06-15 12:31 +0000 [r3074] robert: * Added include of osg/ClusterCullingCallback 2004-06-15 12:26 +0000 [r3073] robert: * Added Marco's AutoTransform.cpp 2004-06-14 20:14 +0000 [r3069-3072] robert: * Fixed deprecated #idef * From Marco Jez, implemented I/O support for the AutoTransform node. * Fixed #ifdef USE_DEPRECATED_API * Improved precision of AnimationPath IO. 2004-06-14 19:34 +0000 [r3066-3068] robert: * Changed Billboard::g/setPos(..) to g/setPosition(..). * Fixed tabbing. * Added extra constructor to make it more convinient to create AlphaFunc. 2004-06-14 19:20 +0000 [r3064-3065] robert: * Tweaked comments. * Removed old UserData comment which was non longer relevant. 2004-06-14 19:14 +0000 [r3063] robert: * Fixed typos. 2004-06-14 19:11 +0000 [r3062] robert: * Added new TexGenNode class for positioning tex gens. 2004-06-11 21:27 +0000 [r3061] robert: * Fixed handling of skylight and headlight options in osgProducer::Viewer. 2004-06-11 21:05 +0000 [r3059-3060] robert: * Added better debugging messages for verify bindings. * Changed the color binding to better reflect the settings in the OpenFlight file. 2004-06-11 21:00 +0000 [r3057-3058] robert: * Added further checks for _node validity. * Added checks against null to prevent crashes when the terrain manipulator is set up before a node has been attached. 2004-06-11 14:49 +0000 [r3056] robert: * Added missing setColorBinding() into ConvertFromFLT::setMeshColors(). 2004-06-10 15:43 +0000 [r3055] robert: * From Troy Yee, fixes to handling meshes. From Robert Osfield, replaced assert(0)'s with error messages. 2004-06-10 05:27 +0000 [r3054] robert: * Added CluserCullingCallback 2004-06-09 20:18 +0000 [r3053] robert: * Compile fix w.r.t new CoordinateSystemNode. 2004-06-09 16:28 +0000 [r3052] robert: * 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. 2004-06-09 15:11 +0000 [r3051] robert: * Added CoordinateSystemNode::set(const CoordinateSystemNode&) method to conviniently set up a coordindate system. 2004-06-09 15:06 +0000 [r3050] robert: * Added proper mapping of format and coordinate system. 2004-06-09 15:00 +0000 [r3049] robert: * Added CoordinateSystem::s/getFormat(). 2004-06-09 13:06 +0000 [r3048] robert: * Cleaned up float vs double types in Vec*d and Vec2f classes 2004-06-09 10:03 +0000 [r3047] robert: * Added --o_cs, --o_wkt and --o_wkt_file commandline options. 2004-06-08 14:30 +0000 [r3046] robert: * Improved the precision of animation paths. 2004-06-08 13:58 +0000 [r3045] robert: * Added options for controlling mipmapping and aniso-tropic filtering. 2004-06-08 12:31 +0000 [r3044] robert: * Updates to FlightManipulator 2004-06-08 09:29 +0000 [r3043] robert: * From Boris Bralo, reimplementation of dereference_less functor to use two input types, to attempt to avoid VC compile problems and redundent copies of ref_ptr<>. 2004-06-08 07:32 +0000 [r3042] robert: * Updates to the terrain manipulator. 2004-06-07 15:05 +0000 [r3041] robert: * Moved the osg::ClusterCullingCallback into into own header and source file. 2004-06-07 14:49 +0000 [r3040] robert: * Changed the terrain manipulator so the intersection ray is only computed near to the current center point during panning. 2004-06-07 12:53 +0000 [r3039] robert: * Added sphere segment to osgsimulator. 2004-06-06 14:28 +0000 [r3038] robert: * Added --RGB_16, --RGB_24 and --compressed options. 2004-06-04 16:32 +0000 [r3037] robert: * Fixed the Vec*d class so there have value_type set to double. 2004-06-04 12:27 +0000 [r3036] robert: * Added haveAppliedAttribute to allow draw callbacks to get access to the current active lights. 2004-06-04 11:35 +0000 [r3035] robert: * Add clamping to 0..1 bounds for each of the r,g,b,a components in the CubeMapGenerator::set_pixel() method. 2004-06-04 10:05 +0000 [r3034] robert: * Added check to Quat::makeRotate(,,,) to catch zero lengh axis. 2004-06-04 08:40 +0000 [r3033] robert: * From Ulrich Hertlein & Iskander Prins, added rotation of skydown on fixed handling of updating one image per frame. 2004-06-04 08:24 +0000 [r3032] robert: * From Terry Welsh, added checks to incoming Geometry for existance of normals, and if they are present use these to compute the tanget and binormals vectors perpendicular to existing normals. 2004-06-04 08:13 +0000 [r3031] robert: * From Max Behensky, fixes to the computation of the number of primitives 2004-06-03 20:06 +0000 [r3030] robert: * Fixed spelling of Equivalent. 2004-06-03 10:16 +0000 [r3029] robert: * Added handling of case when only one colour is used. 2004-06-03 10:10 +0000 [r3028] robert: * Added support for a single color in a ColorRange 2004-06-03 09:36 +0000 [r3027] robert: * Added room for tail of text. 2004-06-02 14:16 +0000 [r3024-3026] robert: * Added handling of skirt ratio, and extra docs on commandline args * Added DataSet::s/getSkirtRatio() method to allow control of how deep to make the skirts around tiles. * Added derived reqiestRedraw() and requestContinueUpdate() methods for debugging purposes. 2004-06-02 12:37 +0000 [r3023] robert: * 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. 2004-05-26 00:27 +0000 [r3021-3022] robert: * Fixed setCoordinateFrame method * Made the drive and flight manipulators more sensitive to de/acceleration 2004-05-25 20:40 +0000 [r3019-3020] robert: * From George Tarantilils, add missing handling of alpha channel. * Changed screen grab filename back to a saved_image.jpg 2004-05-25 20:35 +0000 [r3018] robert: * Updated clampProjectionMatrix methods 2004-05-25 16:10 +0000 [r3017] robert: * From George Tarantilis, fixes to DDS size computations. From Robert Osfield, addition of constructors for internal DDS structures. 2004-05-25 14:32 +0000 [r3016] robert: * Updates the movie support 2004-05-25 07:40 +0000 [r3015] robert: * Added better handling of clamping of projection matrix 2004-05-24 19:50 +0000 [r3014] robert: * From Alberto Farre, fixes to the computation of sizes 2004-05-20 23:25 +0000 [r3013] robert: * Made improvements to the handling of small rotations in Quat and TerrainManipulator 2004-05-20 22:20 +0000 [r3012] robert: * Added HUD scalar bar. 2004-05-20 13:54 +0000 [r3011] robert: * Fixed warnigs on VS. 2004-05-20 12:57 +0000 [r3010] robert: * Improved support for new double Vec* classes 2004-05-20 10:42 +0000 [r3009] robert: * Fixed typo of Vec3f to Vec2f 2004-05-20 10:15 +0000 [r3008] robert: * Added Vec2d, Vec3d and Vec4d classes, and remapped Vec2, Vec3 and Vec4 to Vec2f, Vec3f an Vec4f respectively, with typedef's to the from Vec* to Vec*f. 2004-05-19 09:17 +0000 [r3007] robert: * Added GL_SCALE_NORMAL define to get round compilation against GL1.1 headers 2004-05-19 09:12 +0000 [r3006] robert: * Added GL_RESCALE_NORMAL to allow compilation with GL1.1 headers 2004-05-17 22:22 +0000 [r3004] robert: * Changed how the rotation and panning are managed, therby improving the handling of the center point going over a pole. 2004-05-17 15:50 +0000 [r3003] robert: * Improved the panning support, and added s/getRotationMode(..) to allow users flip between a trackball rotation style and an azim,elevation style. 2004-05-17 13:20 +0000 [r3002] robert: * From Bob Kuehne, more general checks for existance of extensions. 2004-05-17 12:08 +0000 [r3001] robert: * Improved the pan controls on the terrain manipulator 2004-05-17 10:21 +0000 [r3000] robert: * From Ruben, fix for gcc 3.4 build 2004-05-17 02:48 +0000 [r2999] don: * Added an optional argument for doing model orientations in osgconv using degrees and axis rather than two vectors. 2004-05-15 08:42 +0000 [r2997] robert: * From Mike Weiblen, further updates to add relative paths to OpenThreads/Producer. 2004-05-14 14:43 +0000 [r2996] robert: * Fixed error of headers having ..\..\src\ path instaead of ..\..\include\ 2004-05-13 22:09 +0000 [r2995] robert: * Added the beginings of new osgParticle Explosion, Fire and SmokeEffects. Added support for generation explosion, fire and smoke effects in osgsimulation 2004-05-13 22:06 +0000 [r2993-2994] robert: * Revert the computeNearFar mode to using bounding volumes as default. * From Mike Weiblen, added hardwired include and lib paths to OpenThreads and Priducer directories that are assumed to site alongside the OpenSceneGraph library being built. 2004-05-13 13:37 +0000 [r2992] robert: * From Bruce Clay, cross platform implemention of fileType(..) 2004-05-13 08:11 +0000 [r2991] robert: * From Donny Cipperly, completed Windows support for fileType() 2004-05-12 20:31 +0000 [r2990] robert: * Fixes for FreeBSD 2004-05-12 14:22 +0000 [r2989] robert: * From Frank Lindeman, compile fix for VS to get round limitation is VS when handling templated methods. 2004-05-12 10:45 +0000 [r2987] robert: * From Eric Sokolowsky, fixed problems in PNG plugin for handling paletted images which contain alpha values. 2004-05-11 20:44 +0000 [r2984] robert: * From Eric Sokolosky, with further additions from Robert, added support for RGBA TIFF files 2004-05-10 20:01 +0000 [r2982] robert: * From Bruce Clay, modify template copy method to avoid VS6.0 compile errors. 2004-05-10 16:17 +0000 [r2981] robert: * Changed &D to use define to keep things compiling under VS6.0 2004-05-10 14:53 +0000 [r2980] robert: * Made GDAL_INSTALLED default to no 2004-05-10 13:56 +0000 [r2979] robert: * Removed eroneous return statement. 2004-05-09 07:06 +0000 [r2977] robert: * From Joran Jessurun, "I needed to be able to set the quality of the saved jpeg images. I could not find a way to do this in OSG. Therefore I implemented this by adding an option called: JPEG_QUALITY to the JPEG reader/writer. To parse the options string I use the same method as used in the LWO reader/writer. " 2004-05-09 06:29 +0000 [r2976] robert: * From Mike Weiblen, Fixes for Win32 build 2004-05-08 22:18 +0000 [r2975] robert: * From Corbin Holtz, "I have completed my mods to the OpenFlight loader (modified files are attached): * Light point strings using the REPLICATE opcode should now be supported (>=15.6?) * Directional lights should now work as in Performer using a viewing frustrum defined by a direction vector, horizontal angular width, vertical angular width, and roll angle about the direction vector. The current directional light implementation had some bad assumptions which caused problems with direction vectors not on the XY plane. * IVE and OSG reader/writers were updated as appropriate" 2004-05-08 21:33 +0000 [r2974] robert: * From Paul Martz, "Changes to provide rudimentary support for OF 15.8 light point animation palettes. This change also includes light point palette override support for external references. This is the last of my code changes to support OF 15.8 in the flt loader. Barring bugs, of course, knock on wood. The gist of the animation palette code is to create ref_ptr'd osgSim::BlinkSequence objects for each palette entry, and then pass them on to osgSim::LightPoint for any OpenFlight light points that reference that palette entry. This should be conservative of memory (not that I expect the animation palette to be extremely large)." 2004-05-08 18:41 +0000 [r2973] don: * Ooops... previous fix didn't work, corrected. 2004-05-08 18:37 +0000 [r2972] don: * Fixed a define for __sgi. Irix does not allow dlsym(0L, ...) without calling dlopen() first, just like __sun 2004-05-08 06:35 +0000 [r2971] robert: * From Ken Sewel, added osgDB::fileType(filename) method and usage of this new function in osgdem to automatcally handle directories as part of the regular -d and -t options. 2004-05-08 06:13 +0000 [r2970] robert: * Did a unix2dos and checked in trans.dsp 2004-05-07 21:08 +0000 [r2969] robert: * Changed scale.dsp etc instance to rot.dsp etc. 2004-05-07 19:58 +0000 [r2968] robert: * From Yefei Hi, replaced windows specific function with sprintf to afford better cross platform portability. 2004-05-07 19:55 +0000 [r2967] robert: * From Marco Jez, replacement of local mutex lock/unlock with ScopedLock. 2004-05-07 15:18 +0000 [r2966] robert: * From Mike Weiblen, added new rot, scale and trans pseudo loaders. 2004-05-07 14:51 +0000 [r2965] robert: * 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.) 2004-05-07 14:44 +0000 [r2964] robert: * Fixed tabbing to be all four spaced tabs 2004-05-07 14:33 +0000 [r2963] robert: * From Julian, fix to handling of multi-textures 2004-05-07 13:43 +0000 [r2962] robert: * Added support for osgDB::ReaderWriter::ReadResult::FILE_LOADED_FROM_CACHE 2004-05-07 12:41 +0000 [r2960-2961] robert: * 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) * Added GL_TEXTURE_RECTANGLE define 2004-05-07 11:28 +0000 [r2959] robert: * From Bob Kuehne, added getting of the max number of texture units in the Texture::Extension object 2004-05-07 11:18 +0000 [r2958] robert: * Changed debug info level 2004-05-07 11:10 +0000 [r2956-2957] robert: * Changed notify level of debuggin message from NOTICE to INFO * From Don Tidrow, changed cerr usage to osg::notify() 2004-05-06 12:57 +0000 [r2955] robert: * From Geof Michel, fix to osgFX. 2004-05-06 12:30 +0000 [r2954] robert: * *** empty log message *** 2004-05-06 11:01 +0000 [r2952-2953] robert: * Added new TerrainManipulator to osgGA, and new callback for getting the CoordinateFrame for a given X,Y,Z location. * 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. 2004-05-06 10:54 +0000 [r2951] robert: * Fixed computeLocalTransform to generate correct orientation of local coordinate frame. 2004-05-05 19:56 +0000 [r2950] robert: * Moved isCulled check inside the CullVisitor::apply(Projection&) to just before traverse rather than at the begining of the method. 2004-05-05 14:54 +0000 [r2949] robert: * Compile fixes for that pitful excuse for a C++ compiler that is VS6.0 2004-05-05 09:16 +0000 [r2948] robert: * Added support for reading environmental varables in CullSettings. 2004-05-05 05:17 +0000 [r2947] robert: * Increased the sampling of upper most tiles when doing a geocentric projection 2004-05-04 18:15 +0000 [r2945-2946] robert: * Added gdal_i.lib to osgdem project dependencies. * Added osgTerrain to dependency list of osgdem 2004-05-04 14:02 +0000 [r2944] robert: * Improved the cluster culling computation so that it now accounts for the local elevations. 2004-05-04 13:58 +0000 [r2943] robert: * Changed notify level on several debugging messages from WARN to INFO. 2004-05-04 09:55 +0000 [r2942] robert: * Fixed typo of OSGTERRAIN 2004-05-04 07:24 +0000 [r2941] robert: * Fixed typo of osgTerrain 2004-05-03 20:43 +0000 [r2939-2940] robert: * Added osgTerrain and osgdem project files * 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. 2004-05-03 13:09 +0000 [r2938] robert: * Changed the gdal plugin to link to the gdal_i.lib dll stub library 2004-05-03 12:46 +0000 [r2937] robert: * Added CoordinateSystemNode and EllipsoidModel .h/.cpp's files to project files 2004-05-03 12:04 +0000 [r2936] robert: * 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. 2004-05-03 07:42 +0000 [r2935] robert: * Fixed compile error 2004-05-02 21:50 +0000 [r2934] robert: * 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. 2004-05-02 15:45 +0000 [r2932-2933] robert: * 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. * Made the generation of QUADS for strip with the length of 4 an option. 2004-05-02 14:04 +0000 [r2930-2931] robert: * Added support for settings scale the elevation of geometry * Changed the default near far calculation mode so that it uses the fine grained computation of near/far. 2004-05-02 13:35 +0000 [r2929] robert: * Temporary fix for handling grey scale images as texture source. 2004-04-30 15:35 +0000 [r2928] robert: * 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. 2004-04-30 09:04 +0000 [r2927] robert: * Added getKeyManipMap() method 2004-04-29 22:23 +0000 [r2919-2926] robert: * Updated to build against the move from osgTerrain::CoordinateSystem to osg::CoordinateSystemNode. * Added Support for cluster culling. Removed osgTerrain::CoordinateSystem which is now replaced by osg::CoordinateSystemNode. * Added support for fine grained computation of the near plane, by taking into account individual primitives culled against the view frustum. Added better support for computing the near far for billboards. * Added support for tracking a user specified CoordinateSystemNode for the CoordinateFrame to use in the camera manipulation * Added support for handling a user define CoordinateFrame in the flight and trackball manipulators with API access via the MatrixManipulator base class * Added osg::CoordinateSystemNode * Added missing billboard drawable dirtyBound() * Fix for VS7.0 build from Mike Weiblen 2004-04-29 21:57 +0000 [r2918] robert: * Warnings fix for VS7.0 from Mike Weiblen 2004-04-29 21:38 +0000 [r2917] robert: * Fixed an iterator invalidation bug. (thanks to Per Månsson for tracking down the bug) 2004-04-29 15:57 +0000 [r2916] robert: * Added missing dirtyBound() to billboard section of flatten static transforms 2004-04-28 15:07 +0000 [r2915] robert: * Changed M_PI to osg::PI. 2004-04-27 19:09 +0000 [r2914] robert: * Made s/getBackgroundColor() deprecated, and add in new s/getClearColor() to replace it. 2004-04-23 14:47 +0000 [r2913] robert: * Added extra parameter policy enum 2004-04-22 21:51 +0000 [r2911-2912] robert: * Added a guard on the simplification of already low res tiles so that they won't be over simplified. * 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. 2004-04-22 13:36 +0000 [r2910] robert: * Added support for protecting points from being simplified. Added back in support for generation of skirts in osgTerrain::DataSet. 2004-04-22 10:47 +0000 [r2908-2909] robert: * 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. * Added update() method to enable the ScaleBar to be updated after changes to attached classes. 2004-04-22 08:04 +0000 [r2907] robert: * Added pathway in code for override the colour of the wireframe scribe 2004-04-21 13:20 +0000 [r2906] robert: * Added searching of the filepath. 2004-04-21 11:06 +0000 [r2905] robert: * Added back in tri stripping of tiles 2004-04-21 10:40 +0000 [r2904] robert: * Changed the edge collapse to accept edges with more than two connected triangles. 2004-04-20 09:46 +0000 [r2903] robert: * Added project files for osgsimplifier example. 2004-04-20 09:36 +0000 [r2902] robert: * 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 2004-04-19 23:08 +0000 [r2901] robert: * Added support for using the error metric to guide the simplficiation process 2004-04-19 20:44 +0000 [r2900] robert: * Changed the scoping for for variables to fix VS6.0 compile. 2004-04-19 20:06 +0000 [r2899] robert: * Added support for detecting edge collapses which will overturn the local triangles. 2004-04-18 16:15 +0000 [r2898] robert: * Added osgsimplifier example. 2004-04-18 14:12 +0000 [r2897] robert: * Changed std::cout to osg::notify 2004-04-18 14:02 +0000 [r2896] robert: * Changed std::cout to osg::notify 2004-04-18 13:44 +0000 [r2895] robert: * From Marco Jez, "fixes a bug that prevented mipmaps in images from being read correctly (the call to setImage() clears the previously filled _mipmapData vector)." 2004-04-17 22:50 +0000 [r2894] robert: * Further work on Simplifer support for compute error metric 2004-04-17 20:27 +0000 [r2893] robert: * Changed TriangleSet::iterator to const_iterator to fix build under VS.NET. 2004-04-17 16:02 +0000 [r2892] robert: * Further work on simplifier edge collapse code 2004-04-16 22:50 +0000 [r2891] robert: * From Don Tidrow, changed "setupGLExtenions()" to "setupGLExtensions()" in Texture and Texture.cpp 2004-04-16 22:07 +0000 [r2890] robert: * Fixed incorrecting sizing of background tex coords 2004-04-16 10:05 +0000 [r2889] robert: * From Bob Kuehne, updated extension/version checking for border clamp extension. 2004-04-15 09:37 +0000 [r2888] robert: * Added tests for the consistency of points, edges and triangles. 2004-04-14 11:56 +0000 [r2886] robert: * Fixed typo in makefile 2004-04-14 08:58 +0000 [r2885] robert: * From Garret Potts, added -losgUtil to libs linked to osgTerrain 2004-04-13 16:03 +0000 [r2884] robert: * Fixed bogus read*Implementation calls in ReadFileCallback. 2004-04-13 15:59 +0000 [r2883] robert: * Added support for removing triangles and associated edge and points from the EdgeCollapse object. 2004-04-13 14:39 +0000 [r2882] robert: * Added support for copy all per vertex attributes to and from the edge collapse object. 2004-04-12 21:30 +0000 [r2880-2881] robert: * Commented out call to osgUtil::Simplifier as this utility is not yet functional * Further work on the new osgUtil::Simplifier. 2004-04-12 13:36 +0000 [r2879] robert: * Changed the optimization of flat tiles so that it creates a flat 8x8 height field rather than a flat 2x2 height field. This allows geocentric warping of the tiles without obvious flat regions. 2004-04-11 21:21 +0000 [r2878] robert: * From Eric Wing, clean ups for OSX support. 2004-04-10 16:11 +0000 [r2877] robert: * 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. 2004-04-10 11:30 +0000 [r2875] robert: * From Paul Martz, added support for OpenFlight15.8 LightPointSystems 2004-04-09 08:20 +0000 [r2874] robert: * Renamed MyTriangleOperator to CollectTriangleOperator. 2004-04-08 11:27 +0000 [r2873] robert: * Added beginning of new osgUtil::Simplifier 2004-04-07 18:38 +0000 [r2872] robert: * Added an alteranive code path for the fallback for handling opaque texture blending. 2004-04-07 08:57 +0000 [r2871] robert: * From Paul Martz, changes to better support OpenFlight 15.8 2004-04-06 20:15 +0000 [r2870] robert: * Fixed comments on the OBJ coords system 2004-04-06 16:01 +0000 [r2869] robert: * Fixes from Per Månsson for Win32 build 2004-04-05 21:27 +0000 [r2868] robert: * Added --wtk_file option 2004-04-05 15:58 +0000 [r2867] robert: * Re-enabled normal generation on tiles. 2004-04-05 15:46 +0000 [r2866] robert: * Commented out scale setting when source DEM is in lat+longs. 2004-04-05 15:39 +0000 [r2865] robert: * 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. 2004-04-05 09:00 +0000 [r2864] robert: * From Nathan Cournia, fix to = operator, was eroneous written as an == operator. 2004-04-04 15:33 +0000 [r2863] robert: * Prelimary work on adding support for local tile transforms 2004-04-02 15:55 +0000 [r2862] robert: * Added support for generating compressed textures 2004-04-02 15:45 +0000 [r2861] robert: * From Bob Kuehne, reworked code to use a marco instead of duplicated code, done as measure for reducing the risk of copy and paste errors. 2004-04-02 15:23 +0000 [r2860] robert: * Fixed computeImageResolution so that the computed num of columns and rows of the destination image are clamped to the nearest power of two equal or above the required resolution. 2004-04-01 15:00 +0000 [r2859] robert: * Changed default cut of ratio to be smaller, to reduce the resolution of tiles selected. 2004-04-01 13:09 +0000 [r2858] robert: * Added scaling of the PagedLOD range to be relative to the radius of children. 2004-04-01 11:03 +0000 [r2856-2857] robert: * Added support for --geocentric option to allow users to specify that the output database should by in geocentric coordinates. * Cleaned up handling of geocentric coords 2004-04-01 07:49 +0000 [r2855] robert: * Changed the comment to make it clear what axis change is implementated. 2004-03-31 22:31 +0000 [r2854] robert: * Added preliminary support for converting datasets into geocentric coords 2004-03-31 15:50 +0000 [r2853] robert: * Added osgTerrain::EllipsodeTransform helper class for converting to and from lat, long, height to geocentric X,Y,Z and back. 2004-03-31 09:20 +0000 [r2852] robert: * Clean up freeing of no longer required tiles 2004-03-31 08:52 +0000 [r2851] robert: * From David Fries, add init() call to SphereSegment constructor, and new get methods for draw mask and color. 2004-03-30 22:06 +0000 [r2850] robert: * Added back in tri stripping of geometry tiles 2004-03-30 22:02 +0000 [r2849] robert: * 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. 2004-03-30 21:13 +0000 [r2848] robert: * Fixed the boundary equalization 2004-03-30 19:15 +0000 [r2847] robert: * Added debugging for detecting problems in boundary equalization 2004-03-29 22:26 +0000 [r2846] robert: * Added normal generation in polygonal tile generation, and add --wtk option for setting coord systems in osgdem 2004-03-29 14:40 +0000 [r2845] robert: * Added support for generating polygonal tiles 2004-03-29 12:28 +0000 [r2843-2844] robert: * Fixed the handling begin()/vertex()/end() sequences in TriangleIndexFunctor. * Added extra check against a null vertex array to prevent a crash when tri stripping an empty geometry. 2004-03-29 10:45 +0000 [r2842] robert: * Groundwork for adding support for polygonal tiles 2004-03-29 10:24 +0000 [r2841] robert: * 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 2004-03-29 09:32 +0000 [r2840] robert: * Fixed handling of FOURCC_DXT1 pixel format. 2004-03-26 11:04 +0000 [r2839] robert: * Added support for recording the animation paths relative to an 0.0 start time. 2004-03-26 10:48 +0000 [r2838] robert: * Added empty() method as a convinience method for setting checking whether an animation path contains any control points 2004-03-25 18:34 +0000 [r2837] don: * Applied Norman Vine's changes for Cygwin/Mingw 2004-03-21 12:17 +0000 [r2836] robert: * Added TextureType and GeometryType parameters to DataSet. These will be used to control what type of database is generated. 2004-03-20 18:32 +0000 [r2835] robert: * Implemented support for overriding the coordinate system and geo transform using in generate of databases. 2004-03-20 17:21 +0000 [r2834] robert: * From Paul Martz, code change to make the flt loader pass its light point intensity value in to osgSim::LightPoint. 2004-03-19 22:20 +0000 [r2833] robert: * Added support for setting the geoTransform to use in source data. 2004-03-19 22:03 +0000 [r2831-2832] robert: * Improved the argument handling. * 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. 2004-03-19 09:18 +0000 [r2830] robert: * Moved the LineSegment destructor from the header to the source to avoid compilation problems under MingW. 2004-03-18 21:39 +0000 [r2829] robert: * Added defaults for the geotransform when none exists. 2004-03-17 20:34 +0000 [r2827-2828] robert: * 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." * From Marco Jez, updates to osgParticle, with integration of changes from Tom Jolly. 2004-03-17 20:04 +0000 [r2825-2826] robert: * Added support for writing out to .ive * Added the setting of the _internalTextureFormat from within osg::Image. 2004-03-17 17:04 +0000 [r2824] robert: * Completed support for the majority of osg::Shape. 2004-03-17 16:11 +0000 [r2823] robert: * Added prelimary shape support to .ive plugin 2004-03-17 08:15 +0000 [r2822] robert: * From Paul Martz, added (non-meters) unit scaling to the flt plugin failed to set the scaling of external references. 2004-03-16 21:03 +0000 [r2821] robert: * Added better handling of number of graphic context size changes. 2004-03-16 16:54 +0000 [r2820] robert: * Added support for generation of PagedLOD databases in osgTerrain::DataSet 2004-03-16 16:10 +0000 [r2819] robert: * From Joran Jessurun, fixed "borderColor" typo. 2004-03-16 09:40 +0000 [r2818] robert: * Set JASPER_INSTALLED to no 2004-03-15 15:47 +0000 [r2817] robert: * Added support for controlling the type of destiation database to create into osgTerrain::DataSet. 2004-03-14 21:54 +0000 [r2816] robert: * Added PrimitiveIndexFunctor for better support of TriangleIndexFunctor 2004-03-14 15:40 +0000 [r2815] robert: * 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. 2004-03-14 15:26 +0000 [r2814] robert: * From Paul Martz, "I've added support for indexed light points and the light point appearance palette to the OpenFlight loader. Both are 15.8 features. I also added parsing/comments regarding other things that have changed for v15.8." 2004-03-14 15:08 +0000 [r2813] robert: * From Marco Jez, added support NVidia extension to imager formats. 2004-03-13 16:29 +0000 [r2812] robert: * Moved the destructor block->release to after the cancel(). 2004-03-13 12:36 +0000 [r2811] robert: * Added setting of pivot point in AnimationPathCallback 2004-03-12 21:04 +0000 [r2810] robert: * Added some basic event handler. 2004-03-12 20:23 +0000 [r2809] robert: * Cleaned up osgmovie example so it no longer depends upon LibMpeg3, just using readImageFile instead. 2004-03-12 16:54 +0000 [r2808] robert: * Added the setting of the source data type in the reproject function, and disabled the automatic build of overviews. 2004-03-11 22:04 +0000 [r2807] robert: * Changed the coordinate system option to --o_cs 2004-03-11 16:14 +0000 [r2806] robert: * Moved osgTerrain::DataSet from the osgdem example into osgTerrain. Added various improvements. 2004-03-11 14:34 +0000 [r2804-2805] robert: * Replaced eronous GL_TEXTURE_2D instances with GL_TEXTURE_3D and GL_TEXTURE_RECTANGLE_NV respectively. * From Bob Kuehne, fixed eroneous use of GL_TEXTURE_2D token in texture object manager usage 2004-03-11 09:04 +0000 [r2803] robert: * Fixed normal orientation 2004-03-10 15:41 +0000 [r2802] robert: * Ported mpeg plugin across to use OpenThreads instead of pthreads. 2004-03-09 23:00 +0000 [r2801] robert: * From Paul Martz, fix to the scaling of light points in flt plugin. 2004-03-09 21:33 +0000 [r2800] robert: * 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. 2004-03-09 15:39 +0000 [r2799] robert: * Fixed mpeg plugin entry 2004-03-09 15:00 +0000 [r2795-2798] robert: * Added MPEG plugin * Added TextureRectangle(Image*) contructor. * Added float s, float t parameters to createTexturedGeometry function * Fixed compile warning 2004-03-09 14:00 +0000 [r2794] robert: * Removed redundent ImageStream.h 2004-03-09 09:42 +0000 [r2793] robert: * Preliminary work on general support of video textures. 2004-03-08 17:13 +0000 [r2792] robert: * Added support for APPLE_client_storage to TextureRectange 2004-03-08 17:09 +0000 [r2791] robert: * Added support for APPLE_client_storage of textures. 2004-03-08 11:53 +0000 [r2790] robert: * Clean up of headers. 2004-03-08 11:41 +0000 [r2789] robert: * Added osgGA::TrackballManipulator::g/setMinimumZoomScale() method. 2004-03-08 11:02 +0000 [r2788] robert: * From Bob Kuehne, change on __DARWIN_OSX__ define to __APPLE__ 2004-03-07 21:03 +0000 [r2787] robert: * Added #include for Win32 build 2004-03-07 14:21 +0000 [r2785-2786] robert: * Clean up of headers. * From Geof Michel, bug fix to handling of Materials 2004-03-07 14:14 +0000 [r2784] robert: * Changed cerr to osg::notify(osg::WARN) 2004-03-06 15:03 +0000 [r2783] robert: * From Paul Marz : "Input.h, Input.cpp -- Here's where support for reading the continuation record goes. I added a new function to read a continued record body. I added code in the existing ReadRecord routine to peek ahead for a CONTINUATION_OP if the current record could possibly be continued. opcodes.h -- Besides adding the opcode for CONTINUATION_OP, I also added new 15.8 opcodes. I labeled opcodes as "ignored" if I could easily discern that our loader wasn't doing anything with them. For historical reasons, I added all obsolete opcodes, prefixed with "OBS_". LocalVertexPoolRecord.h, LocalVertexPoolRecord.cpp -- This is one of three types of records that can be continued with a CONTINUATION_OP record. I removed all invalid assertions that assumed the record length would always be less than 65535. I replaced the "vertex size" calculation with a more efficient method based on caching the size from attribute bits, rather than taking the length of the record and dividing it by numVerts (which would have been incorrect if the record had been continued)." 2004-03-06 14:38 +0000 [r2781-2782] robert: * Added osg.ico back in again to test out cvs's assignment of keyword substitution. * Temporarily removed osg.ico 2004-03-06 14:13 +0000 [r2780] robert: * Changed cout/cerr to osg::notify(). 2004-03-05 20:07 +0000 [r2779] robert: * From Boris Bralo, Added std:: in front of getline. 2004-03-05 15:44 +0000 [r2778] robert: * From Marco Jez, on behalf of Farshid Lashkari. Details from Marco's email: "I've just received an addition to osgParticle from Farshid Lashkari. It enhances the generation of texture coordinates on particles so that animated textures can be used, with the current frame of animation being computed from each particle's current age. Clients just have to call Particle::setTextureTile() and specify the number of horizontal and vertical tiles that make the animation up in the texture image." 2004-03-04 18:35 +0000 [r2777] robert: * From Paul Martz/Robert Osfield. Addition of initializers in AttrData to prevent bugs due to uninitialized memory references. 2004-03-04 16:38 +0000 [r2776] robert: * From Paul Martz, fix to the byte swapping of the version number 2004-03-04 14:33 +0000 [r2774-2775] robert: * From Bob Kuehne, added support for FragmentProgram and VertexProgram into .ive * Removed redundent getAssociatedModes() 2004-03-03 15:38 +0000 [r2773] robert: * Changed StateAttribute::getAssociatedModes(std::vector&) across to StateAttribute::getModeUsage(StateAttribute::ModeUsage&). 2004-03-03 13:27 +0000 [r2772] robert: * Removed include where possible, replacing with istream or ostream and changing std::cout/cerr to osg::notify(). 2004-03-03 11:17 +0000 [r2771] robert: * From Ruben, Added osgpointsprite examples. 2004-03-02 22:36 +0000 [r2770] robert: * From Ruben, addition of osg::PointSprite and osgpointsprite example. 2004-03-02 21:37 +0000 [r2769] robert: * From David Fries, changed the Win32 Timer init code across to using QueryPerformanceCounter to avoid inaccurate and slow original Sleep based code. 2004-03-02 20:35 +0000 [r2767-2768] robert: * Added support for osg::Capsule into .osg format. * From David Jung, added support for osg::Capsule shape 2004-03-02 20:05 +0000 [r2766] robert: * From Marco Jez, fix to circular reference which was causing a crash. 2004-03-02 16:57 +0000 [r2765] robert: * From Mike Weiblen, updated osg.ico file. 2004-03-02 16:53 +0000 [r2764] robert: * From Brede Johansen, added support for incrementing animation of DOFTransform w.r.t. time rather than frame number. 2004-03-02 16:12 +0000 [r2763] robert: * From Paul Martz, with a couple of mods by Robert Osfield: "Changes to return the lat/long origin of an OpenFlight model as userData of the root node object." 2004-03-02 15:37 +0000 [r2762] robert: * From Paul Martz: "These two files fix the alignment bug in the flt plugin header parsing, which I posted about on Saturday. They go in the flt plugin directory. The fix is to memcpy the data read from the flt file into individual fields in our Header struct, then replace the raw (packed) data block with our header struct. This avoids the alignment problem entirely, and all fields now contain valid data." 2004-03-02 15:27 +0000 [r2760-2761] robert: * From Brad Christiansen: added _matrixDirty=true to AutoTransform::setPosition(..) method. From Robert Osfield, probagated this change to other AutoTransform set methods. * Fixed warning message 2004-03-01 09:15 +0000 [r2759] robert: * Build fixes 2004-02-26 18:33 +0000 [r2757] don: * Changed OsgCameraGroup to check for the Producer::RenderSurface::defaultWindowName rather than the hard coded string 2004-02-24 12:04 +0000 [r2755] robert: * Warning fix 2004-02-22 11:58 +0000 [r2754] robert: * Added scale parameter into PositionAttitudeTransform. Added pivotPoint parameter into AnimationPathCallack. 2004-02-21 16:59 +0000 [r2751-2753] robert: * Changed the Timer class to default to using the standard clock under Linux to prevent Timer problems occur under Linux32 on the Athlon64. * Made the FRAME event handling in the various MatrixManipulators return false from the handle method to prevent frame events from being eaten. * Added AnimationPathCallback::s/getTimeOffset and s/getTimeMultiplier() methods. 2004-02-20 20:47 +0000 [r2750] robert: * Added missing _pause(false) into AnimationPathCallback default contructor. 2004-02-20 20:10 +0000 [r2749] robert: * Added missing initialization in the AnimationPathCallback constructor. 2004-02-20 11:51 +0000 [r2748] robert: * Added Material::operator = 2004-02-19 10:10 +0000 [r2747] robert: * Fixed typo in inline docs on the default value of the clear stencil value 2004-02-18 21:40 +0000 [r2746] robert: * Added support for osg::LineWidth into ive format 2004-02-17 09:46 +0000 [r2745] robert: * 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. 2004-02-16 15:27 +0000 [r2744] robert: * Removed redundent byte swap on _version 2004-02-12 18:40 +0000 [r2743] don: * Submission by Paul Martz for doing units conversions on flight files. 2004-02-12 12:53 +0000 [r2742] robert: * Changed _X & _Y varaibles to _tileX & _tileY 2004-02-12 01:42 +0000 [r2741] robert: * From Shane Arnott, added drawing of "split" 2004-02-12 01:15 +0000 [r2740] robert: * Improved osgSim::SphereSegmenet's handling of transparancy. 2004-02-11 12:06 +0000 [r2739] robert: * Added support for draw back then front faces of the osg::Sphere shape 2004-02-11 10:19 +0000 [r2737-2738] robert: * From Brad Christiansen, fix to enable AutoTransform to keep track of window size/perspective changes * Added defined(__x86_64__) to force X86-64 build to use standard clock 2004-02-10 12:36 +0000 [r2736] robert: * Made getViewport(...) const. 2004-02-10 10:07 +0000 [r2735] robert: * From David Fries, added _frameTime copying into copy constructor of osg::Sequence 2004-02-09 22:56 +0000 [r2734] robert: * From Ronny Krueger: In RenderStage.cpp removed erroneous else statement. In ShapeDrawable.cpp's PrimitiveShapeVisitor::apply(const Box& box) fixed order of the last face. 2004-02-09 10:14 +0000 [r2733] robert: * Added new TriangleIndexFunctor. 2004-02-07 19:36 +0000 [r2732] robert: * Removed slideshow3D from runexamples.bat 2004-02-05 21:23 +0000 [r2731] robert: * From Eric Hammil, addition of /Zm200's to keep things compiling under VS6 2004-02-05 12:11 +0000 [r2730] robert: * Fixed the className() defintations to be const 2004-02-05 11:53 +0000 [r2729] robert: * Changed fonts to lower case. 2004-02-05 11:39 +0000 [r2728] robert: * From Nick, Improved support for 3D labels. 2004-02-05 10:50 +0000 [r2727] robert: * From Tom Jolly, Fixes to osgSim::BlinkSequence to enable proper saving and loading. 2004-02-05 10:15 +0000 [r2726] robert: * Fixed warning in Tesselation w.r.t unhandled cases in switch statement 2004-02-05 10:10 +0000 [r2725] robert: * Removed slideshow3D from list of example apps, and rejigged makedefs handling of the QUICK_TIME 2004-02-05 09:24 +0000 [r2724] robert: * Removed DRAWIN_QUICKTIME definition 2004-02-04 13:21 +0000 [r2721-2723] robert: * Removed slideshow3D from project file. * Removed slideshow3D project file * Removed slideshow3D example source code, since it being moved to a seperate distribution. 2004-02-04 11:03 +0000 [r2720] robert: * Added virtual destructor to LightPointDrawable 2004-02-04 09:30 +0000 [r2719] robert: * From Brad Christaiansen, added check for projection matrix changing in screen coord character size mode. 2004-02-03 22:46 +0000 [r2718] robert: * Changes to help differentiate between OSX using Quicktime vs not using quicktime, from Eric Sokolosky and Robert Osfield. 2004-02-03 21:08 +0000 [r2717] robert: * Added rounding to nearest power of two in tile image size 2004-02-03 19:07 +0000 [r2716] robert: * Added dynamic_cast into SceneView::init() method to properly check for class type before doing setState(). 2004-02-03 16:51 +0000 [r2715] robert: * Added support for better merging of height fields which ignores NoData values. Fixed various problems with handing of coordinates systems. Added support for halving levels in x and y respectively, in addition to the previous divide in both x and y at the same time, which allows long line/short tall regions to be handled better. 2004-02-02 17:16 +0000 [r2714] robert: * From Eric Sokolosky, change to use X_INC in GNUmakefile to allow compiling on systems with X installed in a non standard place. 2004-02-02 16:55 +0000 [r2713] robert: * Moved the InitVisitor::setState() into the SceneView::init() method to make sure that it always has the correct State object at the of the init. 2004-02-02 08:55 +0000 [r2712] robert: * Added atan2f to the list of #define's into include/osg/Math. 2004-02-01 17:21 +0000 [r2708-2711] robert: * 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. * Changed the osgviewer example to use the osg::Timer::instance instead a loca instance. * 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 .." * Increased expiry delay from 1 second to 30 seconds 2004-02-01 16:13 +0000 [r2707] robert: * Fixed the PagedLOD::removeExpiredChildren() so it only removes the high res child that has expired and no more. 2004-02-01 15:40 +0000 [r2706] robert: * Fixed GL_COMPRESSED_RGB_S3TC_DXT1_EXT pathway so both pixel and internal formats are the same. 2004-02-01 10:27 +0000 [r2705] robert: * Improvements to the merging of source image datasets into the destination tiles which ensure that gaps don't appear. Made the elevation properly scaled relative to the having the x & y in degrees. 2004-01-31 21:27 +0000 [r2704] robert: * Fixed second pathway for computing HeightField bounding box. 2004-01-31 20:45 +0000 [r2703] robert: * Fixed HeightField compute bounding box implementation. 2004-01-31 11:34 +0000 [r2702] robert: * Added AnimationPathCallback::getAnimationTime() method 2004-01-30 21:17 +0000 [r2700-2701] robert: * Fixed another typo :) * Fixed misspelling of dependencies 2004-01-30 21:11 +0000 [r2697-2699] robert: * Added new dependancies file which contains a list of libraries that various OSG modules depend upon, these can be set as installed or not. The makedirdefs now uses this to configure which modules to compile. * Added osg:: infront of State in Draw callback to make the callback work when copy and pasting it in user code. * Added new osgspacewarp example which demonstrates how to create a star field which becomes lines as one accelerates, similar to the effect seen in star trek's warp drive. 2004-01-30 16:12 +0000 [r2696] robert: * From Bob Keuhne, warning fixes under OSX 2004-01-30 15:54 +0000 [r2694-2695] robert: * Added osgText dependancy to the TXP plugin * Added Windows icon 2004-01-30 14:06 +0000 [r2693] robert: * Added osgmovie example, derived from Ulrich Hertlien's original videotex example, and brought up to date. 2004-01-30 13:53 +0000 [r2691-2692] robert: * Changed the snap image filename to save_image.jpg taking advantage of the new JPEG writing support. * From Stephane, added support for writing JPEG images. 2004-01-29 20:14 +0000 [r2690] robert: * Fixed the clampProjectionMatrix method so it doesn't modify the input znar and zfar, by avoid the use of float/double&. 2004-01-29 17:09 +0000 [r2689] don: * Adde Texture1D to .dsp file 2004-01-29 15:47 +0000 [r2687-2688] robert: * Attempts to fix compile problems under IRIX due to namespace problems. * Improved support for handling externally set projections 2004-01-29 11:16 +0000 [r2686] robert: * From Pavel Moloshtan, add support to osg::Texture files for GL_ARB_shadow_ambinet support 2004-01-29 10:44 +0000 [r2685] robert: * Added double's as parameters to _clampProjectionMatrix() template function to cure compile problems 2004-01-28 22:23 +0000 [r2684] don: * Fixed WIREFRAME_CLOSED swap in flt loader. submitted by Andreas Ekstrand 2004-01-28 20:17 +0000 [r2683] robert: * Made the thread priority outwith the frame PRIORITY_MIN 2004-01-28 14:44 +0000 [r2682] robert: * Adding scaling of skirt. 2004-01-28 10:53 +0000 [r2681] robert: * From Mike Weiblen, icons for osgviewer under Windows. The osgviewer changes effectively provides template for making icons for all the examples. 2004-01-28 10:49 +0000 [r2680] robert: * Added support for CullVisitor::clampProjectionMatrixCallback 2004-01-27 22:45 +0000 [r2679] don: * Added 1D texture support to .ive plugin. (Fixed a couple of misspellings as well). 2004-01-27 21:29 +0000 [r2678] robert: * Added support for osg::Texture::setBorderWidth(). 2004-01-27 14:49 +0000 [r2675-2677] robert: * Fixed problems with the DatabasePager free of texture objects and display list before they are finished with. * Added className() method to GlyphTexture for debugging purposes. * Added operator = implementations to template classes. 2004-01-27 11:50 +0000 [r2674] robert: * 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. 2004-01-26 14:52 +0000 [r2672-2673] robert: * Re-enabled the unref image of texture apply, since the bug of disappearing textures was due to a bug in DatabasePager. * Set the delete of expired subgraphs in the database thread to false, to prevent problems with osgText. Will need to solve the dirtyTextureObject issue. 2004-01-26 13:55 +0000 [r2671] robert: * Removed Texture unref on apply. 2004-01-26 09:01 +0000 [r2670] robert: * Fix to computation of size of texture in presense of compressed textures + mipaplevels<=1 2004-01-25 13:52 +0000 [r2669] robert: * From Nick, added Text support. 2004-01-24 20:50 +0000 [r2668] robert: * Removed redundent , from enum. 2004-01-24 09:41 +0000 [r2667] robert: * Added release of file request block in the DatabasePager destructor. 2004-01-23 21:47 +0000 [r2666] robert: * Added proper handling of the rotation of billboards about an artbitary axis. Note, this code while mathermatically is not optimal, and will need to reviewed in the future to optimize it. 2004-01-23 16:29 +0000 [r2665] robert: * Added rotation of billboard normal into flattern transform Optimizer pass. 2004-01-23 16:09 +0000 [r2664] robert: * Made getLookAt() etc methods const 2004-01-23 13:38 +0000 [r2663] robert: * Fixed the handling of the Producer Fovy so that it accounts for Producer now using degrees in set and get methods 2004-01-23 13:25 +0000 [r2662] robert: * From Romano Magacho, fixes to handle the subloading from Image when the internal format changes requiring a rebuild of the texture object. 2004-01-23 12:06 +0000 [r2661] robert: * Reverted by hand osgshadowtexture 2004-01-22 14:24 +0000 [r2660] robert: * Added support for copying tex coord data directly from prpgGeometry. 2004-01-22 12:28 +0000 [r2659] robert: * Added report of LOD scale 2004-01-22 12:21 +0000 [r2658] robert: * Added setLODScale into TileMapper traversal 2004-01-22 11:33 +0000 [r2657] robert: * Added back in handling of non seam children in seam subgraphs, now uses a seperate group to enclose both the seam and the non seam children. 2004-01-22 10:55 +0000 [r2656] robert: * From Nick, addition of pruning to remove redundent local materials. 2004-01-22 10:43 +0000 [r2654-2655] robert: * 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. * Added controls over the datatbase pager threading priority during and outwith the frame. 2004-01-21 20:38 +0000 [r2653] robert: * Added _activeSwitchSet(sw._activeSwitchSet) into the copy constructor. 2004-01-21 19:13 +0000 [r2652] robert: * Commented back in osg::Material settings 2004-01-21 17:26 +0000 [r2651] robert: * Added new mechanism for handling Seams. 2004-01-20 10:02 +0000 [r2650] robert: * Build fix. 2004-01-19 15:55 +0000 [r2649] robert: * Upates from Nick. 2004-01-19 11:02 +0000 [r2647-2648] robert: * Added support for osg::Texture::setUnRefImageDataAfterApply(true) into all objects osg::Textures the TXP plugin creates. * Fixed bug in logic in areAllTextureObjectsLoaded() which was producing the exact opposite result to what it should have been generating. 2004-01-18 21:59 +0000 [r2646] robert: * 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. 2004-01-16 16:39 +0000 [r2645] robert: * Improvements to generation of terrain and texture'd LOD'd destination datasets 2004-01-15 21:07 +0000 [r2644] robert: * Added automatic generation of LOD levels with destination graph 2004-01-14 15:14 +0000 [r2643] robert: * Clean ups of floats & .0f's 2004-01-13 16:07 +0000 [r2642] robert: * Fixed #undef's 2004-01-13 10:30 +0000 [r2641] robert: * From Daved Ergo, patch for handling group names better 2004-01-13 09:47 +0000 [r2639-2640] robert: * Fixed typo's of ImpostorSprite * Fixed for Win32 build 2004-01-12 22:03 +0000 [r2638] robert: * Added support for automatic subdivision of the destination graph 2004-01-12 14:22 +0000 [r2636-2637] robert: * Introduce new Matrix::invert() implementation from Ravi Mathur, with tweaks by Robert Osfield. * Fixed compile warning 2004-01-12 13:53 +0000 [r2635] robert: * Changed of _firstTime intial values of 0 to DBL_MAX. 2004-01-11 21:33 +0000 [r2634] robert: * Improvements from Pavel. 2004-01-10 21:29 +0000 [r2633] robert: * Added support for controlling the LODScale via '*' and '+' keys in osgProducer::Viewer. 2004-01-10 20:58 +0000 [r2632] robert: * Fixed consolodateRequireResolutions() methods 2004-01-10 17:13 +0000 [r2631] robert: * From Alberto Farre, added osgDB::SharedStateManager. Also a couple of ammendments by Robert Osfield, adding get/setSharedStateManager() methods into osgDB::Registry, and clean up fixes in SharedStateManager for the StateSet arrays. 2004-01-10 09:10 +0000 [r2630] robert: * Did a to_unix on all the LWS files include GNUmakefile. 2004-01-09 20:33 +0000 [r2629] robert: * Standardised on using value_type in most methods in Matrixd & Matrixf interfaces and Matrix_implementation.cpp. 2004-01-09 14:07 +0000 [r2628] robert: * From Romano Magacho, add group->setName() to flattening of static transforms 2004-01-09 13:35 +0000 [r2627] robert: * Fixed to TXP plugin from Nick. 2004-01-08 21:39 +0000 [r2626] robert: * Fixes from Geoff. 2004-01-08 21:04 +0000 [r2625] robert: * Made the default settings of Quat 0,0,0,1 to represent a zero rotation. 2004-01-07 20:58 +0000 [r2624] robert: * Moved the default light to be from the sky. 2004-01-07 19:57 +0000 [r2623] robert: * Fixed TXPPagedLOD.h/.cpp typos. 2004-01-07 14:14 +0000 [r2622] robert: * Fixed tabs to be four spaces. 2004-01-07 14:10 +0000 [r2621] robert: * From Nick, updates to TXP plugin to handle differences in LOD levels between adjacent tiles. 2004-01-07 12:38 +0000 [r2618-2620] robert: * Added osgsimplepager example program * Removed redundent DatabasePager pointer. * Added DatabasePager::setUseFrameBlock(bool) method 2004-01-07 08:43 +0000 [r2617] robert: * Removed eroneous CreateShadowedScene.cpp/.h from .dsp 2004-01-07 08:39 +0000 [r2616] robert: * Moaved PagedLOD::PerRangeData implementaton into .cpp and add missing return *this to copy operator. 2004-01-07 08:36 +0000 [r2615] robert: * Fixed ending of .dsp 2004-01-06 21:18 +0000 [r2614] robert: * Simplified the API for using the DatabasePager, by providing a single DatabasePager::updateSceneGraph(..) method, and added a ref_ptr<> into osDB::Registry for managing a single DatabasePager in a centralised way. 2004-01-06 15:56 +0000 [r2613] robert: * Added osgdistortion examples .dsp 2004-01-06 14:37 +0000 [r2612] robert: * Fixed comments 2004-01-06 14:09 +0000 [r2611] robert: * Added code to the DatagbasePager::removeExpiredSubgraphs() that update the osgDB::Registry cache. 2004-01-06 12:27 +0000 [r2610] robert: * Merged changes from Cobin Holtz for support of "noUnitsConversion" via the ReaderWriter::Options string. 2004-01-06 08:38 +0000 [r2609] robert: * From Nick, increased info.radius by x 1.3 to avoid culling 2004-01-05 20:51 +0000 [r2608] robert: * Added code to scale the priority by the offset and scale. 2004-01-05 20:45 +0000 [r2607] robert: * Added support for priority offset and scale into PagedLOD. 2004-01-05 19:04 +0000 [r2606] robert: * #if 0'd out code for switch off seam generation. 2004-01-05 15:40 +0000 [r2605] robert: * Compile fixes for Win32 2004-01-05 15:34 +0000 [r2604] robert: * Fixed .dsp 2004-01-05 14:17 +0000 [r2603] robert: * Renamed osgshadowtexture.dsp to osgdepthshadow.dsp 2004-01-05 13:40 +0000 [r2602] robert: * Added support into osgProducer::Viewer for flushing and compiling GL objects via a Producer post swap callback. 2004-01-05 09:34 +0000 [r2601] robert: * From Pavel Moloshtan, osgdepthshadow example 2004-01-04 22:28 +0000 [r2600] robert: * Experiments at fixing seam handling. 2004-01-04 12:37 +0000 [r2599] robert: * Fixed osgFX::Validator::compare(..) so that it checked for the correct StateAttribute type before comparing member variables. Fixed docs typo in Material 2004-01-03 22:52 +0000 [r2598] don: * Oops. Fixed glaring memory leak in main loop of osgsimple 2004-01-03 20:32 +0000 [r2597] robert: * From Marco Jez, new Light Wave Scene loader 2004-01-03 15:20 +0000 [r2596] robert: * From Marco Jez, updates to the LWO loader. 2004-01-03 09:06 +0000 [r2595] robert: * Updates to osgGL2 from Mike Weiblen 2004-01-02 20:44 +0000 [r2594] robert: * Fixed getFogCoord methods 2004-01-02 17:30 +0000 [r2593] robert: * Updates to TXP plugin from Nick. 2004-01-02 17:06 +0000 [r2592] robert: * Added "&& oitr->second.first->referenceCount()<=1" check to removeExpiredObjectsInCache so that it only expires objects in the cache that have no external reference. 2004-01-02 11:31 +0000 [r2591] robert: * Updates to the AUTHORS file from Rune. 2003-12-27 22:17 +0000 [r2589-2590] robert: * Added osgdistortion demo. * From Geof Michel, addition of TESSELATE_GEOMETRY pass. 2003-12-27 15:57 +0000 [r2588] robert: * Removed TXPIO.h 2003-12-27 13:46 +0000 [r2587] robert: * From Geoff Michel, added tesselate pass to Optimizer and added handling of per primitve color to osgUtil::Tesselator. 2003-12-27 11:30 +0000 [r2586] robert: * From Rommano Silva, admendments to Texture::computeRequiredTextureDimensions so that it takes into account the current mip map settings. 2003-12-26 16:45 +0000 [r2585] robert: * Fixed osgFX::Scribe so that is handled setting of colour and line width correctly, by setting up the Materiail and LineWidth attributes within the Scribe constructor. 2003-12-24 19:28 +0000 [r2584] robert: * Fixes for VS6.0 2003-12-24 17:20 +0000 [r2582-2583] robert: * Removed redundent osgcameragroup * Fixed typo of TileMap - now corrected to TileMapper 2003-12-24 00:14 +0000 [r2580-2581] robert: * Fixed typos in error reporting * Build fixes for VS6.0 2003-12-24 00:07 +0000 [r2579] robert: * Added osgphotoalbum project 2003-12-23 23:55 +0000 [r2578] robert: * Added support for a photo archive. 2003-12-23 13:02 +0000 [r2577] robert: * Updates from Nick. Added support for OSG_TXP_DEFAULT_MAX_ANISOTROPY to override the default make anistropy in textures. 2003-12-23 12:10 +0000 [r2576] robert: * removed osg:: 2003-12-23 09:18 +0000 [r2575] robert: * Removed osg:: from NodeVisitor and Group base class calls 2003-12-22 21:05 +0000 [r2574] robert: * Added beginings of PhotoArchive for storing and loading a set of photos from an archive. 2003-12-22 14:48 +0000 [r2573] robert: * Added max texture anisotropy of 4. 2003-12-22 14:05 +0000 [r2572] robert: * Updates from Nick. 2003-12-22 07:26 +0000 [r2571] robert: * Moved TileMapper code out into its own file and made it a signleton 2003-12-22 06:27 +0000 [r2570] robert: * From Trajce Nikolov, port of TXP plugin across to a pure PagedLOD based pager, with a little assistance from Robert Osfield. 2003-12-21 23:02 +0000 [r2569] robert: * Fixed memory leak and utilised DrawArrayLengths in place of multiple DrawArray calls. 2003-12-21 13:11 +0000 [r2568] robert: * Added extra clampProjectionMatrix methods to handle both Matrixd and Matrixf pathways. 2003-12-20 23:25 +0000 [r2567] robert: * Fixed PagedLOD's handling of distances beyond the furthest range. 2003-12-20 14:25 +0000 [r2563-2566] robert: * Added support for placing pictures of backs and fronts of pages. * 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. * *** empty log message *** * Added Mode parameter to constructor. 2003-12-19 23:14 +0000 [r2562] robert: * Added support for reading and writing UserData from objects. 2003-12-19 22:55 +0000 [r2561] robert: * Added support for tagging the required resolutions from the source data. 2003-12-19 22:34 +0000 [r2560] robert: * Added swap bytes methods. 2003-12-19 22:21 +0000 [r2559] robert: * From Corbin Holtz, support for endian testing and bytes swapping. With mods from Robert to use include/osg/Endian 2003-12-19 10:52 +0000 [r2558] robert: * Added _ARB to GL_COMPARE_R_TO_TEXTURE 2003-12-18 20:53 +0000 [r2557] robert: * Changed inline docs for readPixels to say "read pixels from current frame buffer" 2003-12-18 16:15 +0000 [r2556] robert: * Added definition of GL_DEPTH_TEXTURE_MODE_ARB 2003-12-18 12:20 +0000 [r2555] robert: * Changed the ArrayData constructor to use copyop for copying arrays, instead of by default doing cloning. 2003-12-18 10:57 +0000 [r2554] robert: * Fixed s/getCreateBackFace(bool on) methds so that use used the correct variable. 2003-12-18 09:56 +0000 [r2553] robert: * Fixed typo in comments. 2003-12-17 23:19 +0000 [r2552] robert: * From Bob Kuehne, build fixes for OSX. 2003-12-17 19:26 +0000 [r2551] robert: * From Pavel Moloshtan, added GL_ARB_shadow_support to osg::Texture. 2003-12-17 17:05 +0000 [r2549-2550] robert: * From Pavel Molishtan, Fixed comparision of _t plane. * Added support for tracing the resolutions that are required by the destination data. 2003-12-17 10:05 +0000 [r2547-2548] robert: * From Jeremy Bell, made SHARED = -dynamic for OSX. * Added VS projects for osgkeyboardmouse and osgsimple examples. 2003-12-17 00:58 +0000 [r2546] robert: * Added -losgGL2 to link line. 2003-12-16 23:43 +0000 [r2545] robert: * From Marco Jez, fixes to osgFX so that effects are compiled correctly. Fixed title name of osgkeyboardmouse example. 2003-12-16 19:21 +0000 [r2544] robert: * Added osgUtil dependancy to lib3ds plugin 2003-12-16 08:56 +0000 [r2543] robert: * 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. 2003-12-15 23:23 +0000 [r2541-2542] robert: * Added support for updating the SceneView projection matrix from the values of near and far computed during the cull traversal. * Changed the default wrap modes from REPEAT to CLAMP since CLAMP is the OpenGL default value. 2003-12-15 16:46 +0000 [r2540] robert: * 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. 2003-12-15 16:40 +0000 [r2539] robert: * Added gemetry of photo album and page turning animation. 2003-12-15 08:54 +0000 [r2538] robert: * Added test against MultiSwitch in Optimizer to prevent switch children being removed. 2003-12-13 22:15 +0000 [r2537] robert: * Fixed paramter name from being fileName to file. 2003-12-13 22:07 +0000 [r2536] robert: * From Jeremy Bell, add -losgText to fix OSX compile. 2003-12-13 16:41 +0000 [r2535] robert: * Added TriStripVisitor usage. 2003-12-13 16:36 +0000 [r2534] robert: * From Michael Gronager, with updates from Robert Osfield, to add support for Registry::closeAllLibrary and forced Registry destruction via Registry::instance(true). 2003-12-13 15:33 +0000 [r2533] robert: * From Eric Sokolosky, fixed broken handling of palatted textures. 2003-12-12 20:33 +0000 [r2532] robert: * Fixed typo of s/getUpdateVisitor(). 2003-12-12 17:23 +0000 [r2531] robert: * Fixed flatten static transform 2003-12-12 16:34 +0000 [r2530] robert: * Removed comments, and move the tri stipper slightly later in the code to apply it on all geometries. 2003-12-12 15:22 +0000 [r2529] robert: * Updates from Geof Michel. 2003-12-12 13:53 +0000 [r2528] robert: * Made progress reports use osg::notify(osg::INFO) instread of std::cout 2003-12-12 13:24 +0000 [r2527] robert: * Fixed merging of geometry code. 2003-12-11 23:33 +0000 [r2526] robert: * Renamed PermissableOptions to setPermissableOptimizations. 2003-12-11 23:26 +0000 [r2525] robert: * 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; } 2003-12-11 16:46 +0000 [r2524] robert: * Added _maximumNumberOfActiveOccluders variable to CollectOccludersVisitor(), to limit the maximum number of occluders used in the cull traversal, default is now 10. Added set/getCollectOccluderVisitor() method into SceneView to allow control of the the settings of the CollectOccluderVisitor. 2003-12-10 16:50 +0000 [r2523] robert: * Added environmental variable for setting the height of the drive manipulator. 2003-12-10 15:24 +0000 [r2521-2522] robert: * Added a special AvailablerReaderWriterIterator class to handle the task of iterating through the list of available reader writer, whilst handling cases where the list itself changes size during iteration through the list. Previous size changes during iteration was cause invalid iterators, which in turn was causing a crash. * Added proper handling of unhandled file return type. 2003-12-10 11:40 +0000 [r2520] robert: * Improved the management of errors reported from ReaderWriters, and cleaned up the reporting of errors in DynamicLibrary. 2003-12-10 10:49 +0000 [r2519] robert: * Added support for using DrawArrays when indices are in ascending order, and increment 1 at a time. 2003-12-09 22:29 +0000 [r2518] robert: * Improvements to the TriStripVisitor such that it now groups 4 point tri strips together as quads. 2003-12-09 14:07 +0000 [r2516-2517] robert: * Removed osg::Transform::ComputeTransformCallback from osg::Transform. Updated various dependant files to reimplemt callbacks as Transform subclasses. * Added support for new PagedLOD Radius and NumChildrenThatCannorBeExpired variables to .osg and .ive support. 2003-12-09 12:11 +0000 [r2510-2515] robert: * Added new example osgphotoalbum. * Reverted back to non exception based JPEG plugin. * 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; } * Added get() method to ReaderWriterProxy class to allow the readerwriter to be obtained once its constructed. * Addition of Mode mode=MODULATE constructor. * Fixes for optional compile of GL_LUMINANCE_ALPHA and GL_ALPHA texture usage in fonts. Default to GL_ALPHA. 2003-12-09 11:31 +0000 [r2509] robert: * Moved osgText across to create GL_ALPHA textures instead of GL_LUMINANCE_ALPHA 2003-12-09 11:20 +0000 [r2507-2508] robert: * From Pavel Moloshtan, extension support for ARB_occlusion_querry * From Mike Wieblen, tweak to GL2 shader 2003-12-09 10:42 +0000 [r2506] robert: * From Tree, tweaks to the coord generation to improve text alignment. 2003-12-09 10:38 +0000 [r2505] robert: * From Johan Nouvel, support for AnimationPathCallback values in .osg file. Includes a small modication to ensure that code works shared animation paths, by RO. 2003-12-09 09:25 +0000 [r2504] robert: * From Eric Sokolosky, OSX uses DYLD_LIBRARY_PATH for initial library search path instead of LD_LIBRARY_PATH. 2003-12-09 09:03 +0000 [r2503] robert: * Aded FileUtils include. 2003-12-08 19:25 +0000 [r2502] robert: * Added commented out lines for setting orange blue anaglyphic stereo. The analgyphic block really needs to have the color mask set up optionally, this is something to configure in the future. 2003-12-08 11:24 +0000 [r2501] robert: * 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. 2003-12-07 20:58 +0000 [r2500] robert: * Added check against null being passed into std::string constructor. 2003-12-05 22:42 +0000 [r2499] robert: * Changed the minium tri strip length to 2 rather than 0. 2003-12-05 14:39 +0000 [r2497-2498] robert: * Added code for combining adjacent static MatrixTransforms * Fixes for Win32 build. 2003-12-05 13:58 +0000 [r2496] robert: * Fixes for Windows build. 2003-12-05 13:26 +0000 [r2495] robert: * Removed DOFTransform. 2003-12-05 09:22 +0000 [r2494] robert: * Added a cast (Array*) to get round VS.NET compiler error. 2003-12-04 17:14 +0000 [r2493] robert: * Added support for expanding index'd attributes from within osgUtil:TriStripVisitor. 2003-12-04 09:43 +0000 [r2492] robert: * Added optional TraversalMask paramter to computeIntersections() methods. 2003-12-03 21:45 +0000 [r2491] robert: * Implemented duplicate removal code into TriStripVisitor and added an extra pass to doing tri stripping in the osgUtil::Optimzer. Added validity checks into osg::TexEnvCombine to catch eronous enumarant values. Improved the efficient of CullingSet's handling of new transforms. Added a copy shared subgraphs and subdivision code into osgUtil::Optimizer. 2003-12-03 21:28 +0000 [r2490] robert: * Made removedExpiredChildren() virtual. 2003-12-02 21:38 +0000 [r2488-2489] robert: * Suggestion from Tree, changed tex coord scaling against textureWidth/Height rather than textureWidth-1 etc. * From Rune, Added catch for erroneous size specification in .dds file. 2003-12-01 14:31 +0000 [r2487] robert: * From Pavel Moloshton, addition of AlphaFunc support to .ive. 2003-12-01 10:28 +0000 [r2486] robert: * Added a spatializer into osgUtil to create a balanced quad/oct tree. 2003-11-28 22:39 +0000 [r2485] robert: * 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() 2003-11-28 14:37 +0000 [r2484] robert: * From Geoff Michel, updates to GEO plugin. 2003-11-28 14:26 +0000 [r2483] robert: * Updates to osgdem. 2003-11-28 13:41 +0000 [r2482] robert: * From Qing Shen, addition of computeIntsect methods which take a node pointer to intersect with rather than assume the viewer's scene pointer. 2003-11-27 22:53 +0000 [r2481] robert: * From Rune Schmidt Jensen, support for osgSim::VisibilityGroup in the .ive loader and support for node masks. 2003-11-27 22:06 +0000 [r2480] robert: * Standardised the tabbing so that 4 spaces are used instead of hardware tabs. 2003-11-27 16:23 +0000 [r2479] robert: * From Michael Gronager, osgSim::VisibilityGroup 2003-11-27 15:13 +0000 [r2478] robert: * Updates to osgdem + BoundingBox to support graph iterators 2003-11-27 13:31 +0000 [r2477] robert: * From Nikolaus Hanekamp, Fixes to lightpoint code 2003-11-27 13:25 +0000 [r2476] robert: * 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. 2003-11-26 16:56 +0000 [r2475] robert: * Addition of light point. 2003-11-26 16:43 +0000 [r2474] robert: * Warning fix from Romano 2003-11-26 13:21 +0000 [r2473] robert: * Added a f after 2.0 definitions in atan2 to get round stupid MS errors. 2003-11-26 11:33 +0000 [r2472] robert: * Removed DOFTransform. 2003-11-26 11:01 +0000 [r2471] robert: * Changed SG_EXPORT to OSGSIM_EXPORT. 2003-11-26 08:37 +0000 [r2470] robert: * Added missing DOFTransform and MultiSwitch implementations 2003-11-25 19:43 +0000 [r2468-2469] robert: * Checked in support for osgTerrain in Make/makedirdefs * Early development work on osgTerrain. 2003-11-25 19:25 +0000 [r2466-2467] robert: * Disabled the build of osgTerrain, until its checked in. * Added OSGSIM_EXPORT to scalarbar::printer 2003-11-25 19:06 +0000 [r2465] robert: * Added missing DOFTransform.cpp 2003-11-25 16:28 +0000 [r2464] robert: * Added suport for osgSim::MultiSwitch to .ive plugin 2003-11-25 16:07 +0000 [r2463] robert: * Tweaked MultiSwitch IO 2003-11-25 15:58 +0000 [r2462] robert: * Added osgSim::MultiSwitch and support for it in the OpenFlight and .osg plugins 2003-11-25 14:38 +0000 [r2461] robert: * Added support for TexMat to .ive plugin 2003-11-25 14:11 +0000 [r2460] robert: * Moved osg::DOFTransform to osgSim::DOFTransform. Fixed crash associated with .osg files which contain empty description fields. From Sondra Inverson, added support to .ive plugin for osgSim::DOFTransform. 2003-11-25 11:40 +0000 [r2459] robert: * Work in progress on osgdem example and osgTerrain::DataSet class 2003-11-25 11:06 +0000 [r2457-2458] robert: * Fixed type of unrecognized * Moved the unrecognized options check to after loaded 2003-11-25 10:57 +0000 [r2448-2456] robert: * Tweaks for debugging output * Added intersect method. * Added read(string,float,float,float,float) method * Reorganised posstion of getViewMatrix*() methods. * From Eric Hammil, support for compute the dimensions when the file specified size is zero. * Changed error message to something more meaningful * Increased the prevision of outputing the height field parameters * Added support for case insenstive file searches. * From Trajce Nicklov, support for GeneralMatrix record 2003-11-25 10:32 +0000 [r2447] robert: * From Alberto Farre, added support for nesting of files. 2003-11-25 10:20 +0000 [r2446] robert: * From Michael Morrison, added support for the OpenFlight BSPRecord, simply mapping it to a Group. 2003-11-25 09:23 +0000 [r2445] robert: * Updated links to mailing list 2003-11-25 09:04 +0000 [r2444] robert: * Added support for case insenstive searches of the filepaths. 2003-11-24 10:01 +0000 [r2443] robert: * Changed the shadow colour so that it is now controlled via the emissive light material rather than ambient, this allows it to bypass any of the osg::Light values and control the resulting shadow colour more directly. 2003-11-21 20:21 +0000 [r2442] robert: * Removed the ScalarBar:: from the from of the ScalarPrinter::printScalar() calls. 2003-11-21 19:33 +0000 [r2441] robert: * From John Tan, support for offset and scale tex coords via TexMat. 2003-11-21 16:30 +0000 [r2440] robert: * From Stephan Huber, clean up of QTexture.cpp's scaling code and additions of handling of different extensions in ReaderWriterQT.cpp 2003-11-21 16:19 +0000 [r2439] robert: * Removed newline from top of header 2003-11-21 14:30 +0000 [r2438] robert: * 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. 2003-11-21 14:17 +0000 [r2437] robert: * Changed the main to create a Group and then add the loaded scene and HUD scene into this. This has been done to rework code nearer to what Stephan Huber used to get round a crash under OSX when a model was passed in. This crash suggest a problem in dynamic_cast<> perhaps? 2003-11-21 13:45 +0000 [r2436] robert: * From Romano J M Silva, changed osg::Texture2D::copyTexImage2D so that it uses the _internalFormat for the texture format to read rather than default to GL_RGBA. From Robert Osfield, changed the osg::Texture2D::copyTexImage2D and copyTexSubImage code so that it set the _internalFormat to GL_RGBA if is is zero. 2003-11-20 12:03 +0000 [r2435] robert: * Added the missing insertChild(index,child) and insertChild(index,child,value) into osg::Switch. 2003-11-20 11:07 +0000 [r2434] robert: * Changed the freetype plugin so it keeps its own ref_ptr to fonts that it creates, rather than have osgText::Font::readFontFile() use the osgDB::Registry object cache. This has been done to prevent problems when users flush the object cache, which was causing a dangling pointer. 2003-11-19 20:30 +0000 [r2433] robert: * Changed libgdal.lib to gdal.lib 2003-11-14 13:39 +0000 [r2432] robert: * From Ruben, added support for nested update and cull callbacks. 2003-11-14 09:25 +0000 [r2431] robert: * Changed the credit from NVidia's NvTriStrip to Tanguy Faure's traingulation code. 2003-11-13 15:45 +0000 [r2430] robert: * From Tom Jolly, Fix to handling of triangle fans. 2003-11-12 19:05 +0000 [r2429] robert: * Added usage of object cache + fixed handling of projection matrix. 2003-11-12 15:03 +0000 [r2428] robert: * Fixed setting of OSG_SPLIT_STEREO_AUTO_ADJUST_ASPECT_RATIO value. 2003-11-12 10:13 +0000 [r2427] robert: * Moved the getTime to inside the locked part of the add events. 2003-11-11 16:30 +0000 [r2426] robert: * From Tom Jolly, fixed incorrect setTexCoordIndices to setColorIndices. Added support for triangle fan primitives. 2003-11-11 08:52 +0000 [r2425] robert: * From Dean Iversion, fix to the ReaderWriter::Options management in Pool.cpp 2003-11-07 09:00 +0000 [r2424] robert: * Made getWidth and getHeight const. 2003-11-06 22:06 +0000 [r2423] robert: * From Sondra Iverson: small optimization to ParticleSystem.cpp moving sqrtf out of inner loop. fix of copy and past error changing erronous cullTimes to drawTimes. 2003-11-06 21:58 +0000 [r2422] robert: * Added Producer.lib into the dependancy list. 2003-11-06 13:44 +0000 [r2421] robert: * From David Ergo, patch for setting the shininess strength of the specular material, 2003-11-06 04:08 +0000 [r2420] don: * Fixed loading of dynamic libraries with dlopen if the library is in the current directory 2003-11-05 10:24 +0000 [r2419] robert: * Added code to load the bluemarble.ive database instead of the texture mapped sphere for the earth model in the logo. 2003-11-05 04:58 +0000 [r2417-2418] don: * MIssing check for ptr == NULL at line 227 in Registry.cpp * Small bug in DynamicLibrary.cpp ptr was not being checked for NULL 2003-11-05 04:51 +0000 [r2416] don: * Changed versioning for make rpms 2003-11-04 22:00 +0000 [r2415] robert: * Added TextureObjectManager constructor. 2003-11-04 19:26 +0000 [r2414] robert: * Made all positioning transform DYNAMIC to avoid the osgUtil::Optimizer flattening them. Flattening of static transforms was affecting the PagedLOD nodes. 2003-11-04 16:38 +0000 [r2413] robert: * 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. 2003-11-04 15:07 +0000 [r2412] robert: * 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. 2003-11-04 13:40 +0000 [r2411] robert: * Added osgText::Text::getTextureGlyphQuadMap(). 2003-11-03 23:26 +0000 [r2410] robert: * Fixed positioning of images. 2003-11-03 23:22 +0000 [r2409] robert: * Fixed positioing of text. 2003-11-03 23:13 +0000 [r2408] robert: * Updated to slideshow3D to support animation + pausing of animation. Updated associated osg/osgUtil classes that provide animation pausing. 2003-11-02 20:10 +0000 [r2407] robert: * Merged fixes from Geof Michel. 2003-10-31 10:11 +0000 [r2406] robert: * Renamed _mips to _mipMapKernel 2003-10-30 16:22 +0000 [r2405] robert: * Added support for float to the slideshow3D .xml format to allow the time for autostepping between layers/slides. Moved the tiles accross to the left hands side by default. 2003-10-30 00:10 +0000 [r2404] robert: * Changed the wrap mode from CLAMP to CLAMP_TO_EDGE to avoid artifacts under OSX. 2003-10-29 23:10 +0000 [r2403] robert: * Added support for 565 textures to osgbluemarble. Added a osg::Image::scaleImage() version which allows the datatype to be varied. 2003-10-29 22:47 +0000 [r2402] robert: * Added option for 565 16bit textures. 2003-10-29 19:22 +0000 [r2401] robert: * Added copying of reference to the main CullVisitor's DatabaseRequestHandler over to the left/right eye CullVisitor to ensure that the database works in stereo. 2003-10-29 16:45 +0000 [r2400] robert: * Commented out verbose debugging messages. 2003-10-29 14:59 +0000 [r2399] robert: * Added -e -w -o and -l options to the osgbluemarble example. 2003-10-29 11:11 +0000 [r2398] robert: * Updates for osgdem. Including new read/writeHeightField() methods. 2003-10-29 10:41 +0000 [r2397] robert: * Fixed PNG plugin so it handles endianess correctly, and alpha/grey scale textures. 2003-10-27 16:07 +0000 [r2395] robert: * *** empty log message *** 2003-10-27 10:29 +0000 [r2394] robert: * Added a check into osg::Sequence::traverse() against an empty sequence, so that a non existant child is not traversed. 2003-10-22 13:39 +0000 [r2393] robert: * Fixed error when handling mulltiple non per vertex vertex attributes during rendering. 2003-10-20 21:31 +0000 [r2392] robert: * Added ImageOptions to osgDB. 2003-10-20 20:17 +0000 [r2391] robert: * Added Producer and OpenThreads to linkline. 2003-10-20 09:01 +0000 [r2390] robert: * Fixed print on scalar bar example. 2003-10-19 11:46 +0000 [r2389] robert: * From Trajce Nikolov, support for use of PagedLOD in the txp plugin. 2003-10-17 15:26 +0000 [r2387-2388] robert: * Added support for generating compressed textures in osgbluemarble. * Michael Gronager's changes for supporting the in memory gz archiving. 2003-10-17 14:40 +0000 [r2386] robert: * From Marco Jez, Fix to the bumping mapping effect. 2003-10-17 10:28 +0000 [r2379-2385] robert: * Changed the warnings about unhandled op codes to NOTICE instead or WARN * Set default values for datatype & pixelformat. * Made = opeator const. * Added SceneView::s/getDrawBufferValue(GLenum) to allow customization of what glDrawBuffer() value is set on each frame. * From Eric Hammil, fix for bmp image size. * From Michael Gronenger, updates to JP2 plugin. * Adding clamping of the tree textures. 2003-10-12 15:20 +0000 [r2378] robert: * From Geoff Michel & Roger James,revised AC3D loader - accepted the improvement from Roger James for texture mapping, and developed his writer until it actually writes most geometries (no text or osgFX nodes of course). 2003-10-12 14:51 +0000 [r2377] robert: * Moved Producer::Block temporarily into osgDB to ensure that osgDB isn't dependent on Producer. 2003-10-12 12:13 +0000 [r2376] robert: * Improvements to the DatabasePager 2003-10-10 19:25 +0000 [r2375] robert: * Improvements to DatabasePager 2003-10-10 12:56 +0000 [r2373-2374] robert: * Added ClusterCullingCallback to ive. * Udates to Drawable + IVE plugin with support for new ClusterCullingCallack. Improvement to osgbluemarble. 2003-10-10 11:12 +0000 [r2372] robert: * Fix for 64bit build. 2003-10-10 09:41 +0000 [r2371] robert: * Fixed the setting of the offset so that it convert degrees to radians. Added setting of FOV, however, it doesn't yet function, will need to look into Producer to work out why. 2003-10-09 20:56 +0000 [r2370] robert: * Fix for 64bit build. 2003-10-09 20:50 +0000 [r2369] robert: * Fixed missing osg:: 2003-10-09 14:55 +0000 [r2368] robert: * Added DrawElementsUByte to ive plugin. 2003-10-09 10:44 +0000 [r2367] robert: * Converted the animation path file reading code to use std::ifstream rather than C style file so that it can handle configurable types better - fixing a bug associated with reading animation paths with the new osg::Quat defaulting to doubles. 2003-10-09 09:48 +0000 [r2366] robert: * Added protection to the DatabasePager::requestNodeFile()'s call to startThread to ensure that only one startThread is every issued. 2003-10-08 21:29 +0000 [r2365] robert: * 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. 2003-10-08 14:24 +0000 [r2364] robert: * Added ImageOptions for use with the GDAL plugin 2003-10-08 14:08 +0000 [r2363] robert: * Added osgbluemarble data 2003-10-08 13:09 +0000 [r2362] robert: * Added new GDAL plugin and osgbluemarble example to demonstrate how to create PagedLOD'd databases using GDAL. 2003-10-07 18:41 +0000 [r2361] robert: * From Rune Schmidt Jensen, bug fix to reading of osg::Quat's 2003-10-06 10:03 +0000 [r2358] robert: * Added -losgGL2 to link line for OSX. 2003-10-06 08:53 +0000 [r2357] robert: * Added -losgGL2 2003-10-06 08:01 +0000 [r2356] robert: * Commented out gdal temporarily from the list of plugins to compile. 2003-10-05 16:16 +0000 [r2355] robert: * Changed the texture search path mechanism to better utlise the OSG's search file path mechansim. 2003-10-05 11:42 +0000 [r2354] robert: * From Mike Weiblen, added support for OpenGL SL to osgFX::Cartoon. 2003-10-05 11:34 +0000 [r2353] robert: * Added VS.dsp updates for Mike Weiblen's updates to osgGL2/osgshaders 2003-10-05 11:30 +0000 [r2352] robert: * From Mike Weiblen, updates to osgGL2 to support Uniform values 2003-10-03 16:29 +0000 [r2349-2350] robert: * From Jason Ballenger, fix for ArgumentParser::getApplicationName() * Updated NEWS 2003-10-03 09:00 +0000 [r2348] robert: * Added Producer.lib and OpenThreadsWin32.lib to link lines. 2003-10-02 19:09 +0000 [r2347] robert: * Fixes to project files. 2003-10-02 14:46 +0000 [r2343-2346] robert: * Returned revision number to 0, for main development work * Updated the revsion number to 2, for the 0.9.6-2 release. * Updated ChangeLog for release. 2003-10-02 14:28 +0000 [r2342] robert: * Updated docs for 0.9.6-2 release 2003-10-02 14:11 +0000 [r2341] robert: * Updated NEWS Added support for inline/nonlining of texture cube maps. 2003-10-02 13:26 +0000 [r2340] robert: * Added osgDB::Registry::s/getUseObjectCacheHint() 2003-10-01 21:59 +0000 [r2339] robert: * Added a check against opaque textures, when detected turn the material white as per specs for 3ds. 2003-10-01 20:48 +0000 [r2338] robert: * Added osgcameragroup to the Windows apps list. 2003-10-01 20:41 +0000 [r2337] robert: * Removed afterescher reference from runexamples.bat. 2003-10-01 15:56 +0000 [r2336] robert: * Introduced new DisplaySettings::set/getDisplayType() and environemtal variables to and command line arguments to set it. Added support for using the DisplaySettings::getDisplayType() to detect use of a Head Mounted Display when doing stereo so that the asymtric frustum can be switched off. 2003-10-01 13:12 +0000 [r2335] robert: * Added addEntryToObjectCache method to osgDB::Registry 2003-10-01 09:46 +0000 [r2334] robert: * Rewrote the osgtexturerectangle and osgprerendercubemap 2003-10-01 09:18 +0000 [r2333] robert: * From Tree, added missing setTextureData method. 2003-09-30 21:30 +0000 [r2332] robert: * Removed debugging comments. 2003-09-30 19:42 +0000 [r2331] robert: * Add /Zm200 option to osg library, 2003-09-30 19:24 +0000 [r2330] robert: * Added osgText dependancy to the osgforest project. 2003-09-30 19:09 +0000 [r2329] robert: * Changed std::vector<>::at to []. 2003-09-30 15:50 +0000 [r2328] robert: * Added text hud instructions. 2003-09-30 13:48 +0000 [r2327] robert: * Added quad tree support into osgforest 2003-09-29 14:42 +0000 [r2326] robert: * Fixed DriveManipulator::init(,) method so that used a Matrix::set(Quat) rather than the inappropriate usage Matrix::get(Quat). 2003-09-29 14:07 +0000 [r2325] robert: * Fixed the Geometry::verifyBindings && computeCorrectBindingsAndArraySizes so they correctly check the indices and array elements. 2003-09-29 13:35 +0000 [r2324] robert: * Made osg::Quat support either float or double internal representation, defaulting to double. Generalised the osgDB::Field so that its getFloat() method can be used with either doubles or floats governed by the type passed in - this helps support either float/double Quat and Matrix classes seemlessly. 2003-09-29 13:14 +0000 [r2323] robert: * Added getPerspective() method to Matrix* and SceneView 2003-09-29 08:03 +0000 [r2322] robert: * From Clay Fowler, fixes to osgdemeter so that the whole terrain model can be visualised at once. 2003-09-28 10:15 +0000 [r2321] robert: * Added equals operator to CUllingSet. Update AUTHORS file. Change tabs to 4 spaces in ive/TextureCubeMap.cpp 2003-09-28 09:34 +0000 [r2320] robert: * Added a using namespace osgGA to keep things compiling under MipsPro + VS6.0 at them same time. 2003-09-28 09:23 +0000 [r2319] robert: * Fixed nameing of getAllocationMode() 2003-09-26 20:14 +0000 [r2318] robert: * Changed std::vector<>::at(i) array access usage to straight [i] to keep things compiling on gcc 2.x serious 2003-09-26 16:02 +0000 [r2317] robert: * From Michael Gronager, jp2 plugin for reading and writing JPEG2000 files. 2003-09-26 11:20 +0000 [r2316] robert: * Improves to CullStack. From M.Grngr. options support for f=switching off internal imagery in .ive files 2003-09-25 21:54 +0000 [r2315] robert: * Added the beginnings of a new osgforest example. Added support into osg::TriangleFunctor for specifying whether the vertices being generates are temporary or not. 2003-09-24 18:54 +0000 [r2313-2314] robert: * Added a local osg::State to the pbuffer implementation. * Made the calling of drawable update callbacks always happen when a geode is traversed in the update traversal. 2003-09-24 15:54 +0000 [r2312] robert: * 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. 2003-09-23 14:42 +0000 [r2311] robert: * From Tom Jolly, added support for TexEnv to pfb plugin. 2003-09-22 21:22 +0000 [r2310] robert: * From Bob Kuehne, added extra include for freetype to find it on OSX. 2003-09-22 17:09 +0000 [r2309] robert: * Changed reference to osgPluins/GNUmakefile to Make/makedirdefs 2003-09-22 09:13 +0000 [r2308] robert: * Renamed instance of variables called format to pixelFormat to make a clearer distinction between pixelFormat and internalTextureFormat. 2003-09-17 15:48 +0000 [r2307] robert: * Added osgUtil to dependencies of the obj plugin. 2003-09-17 12:04 +0000 [r2306] robert: * 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. 2003-09-16 22:26 +0000 [r2305] robert: * Updated release data of 0.9.6 from 15th to 16th. 2003-09-16 21:26 +0000 [r2301-2302] robert: * Updated Make/makedefs version number to 0.9.6-1. * Updated version numbers and ChangeLog for the release. 2003-09-16 19:56 +0000 [r2297-2300] robert: * Warning fixes for Win32. * 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. * Fixes for .osg output of UByte4 values, and added missing template contructor to DrawElementsUShort. * Improved the tesselation of obj surfaces so that rendering performance is significantly improved. 2003-09-16 11:54 +0000 [r2296] robert: * Moved a local new StateSet into cull callback as a ref_ptr to prevent memory leaks. 2003-09-16 11:22 +0000 [r2295] robert: * Warning fixes for VS .NET. 2003-09-16 09:54 +0000 [r2294] robert: * Added support for per vertex colors. 2003-09-16 08:10 +0000 [r2293] robert: * Added inlucde to trPageArchive to get round IRIX build problem. 2003-09-15 22:13 +0000 [r2291] robert: * Changed a couple of int64's back to int32. 2003-09-15 21:43 +0000 [r2290] robert: * 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. 2003-09-15 15:03 +0000 [r2289] robert: * From Julian Ortiz, fix to OpenFlight loader so that it handlers OpenFlight switches in a more appropriate way. 2003-09-15 13:54 +0000 [r2288] robert: * Added support for correct sizing of the created presentation w.r.t the size of the scene, a default home position, handling of field in the slideshow xml file, and support for stereo image pairs. 2003-09-15 10:17 +0000 [r2287] robert: * Updates ChangeLog and NEWS for the 0.9.6 release. 2003-09-15 10:12 +0000 [r2286] robert: * Fixes for warnings under VS.NET from Marco Jez. 2003-09-15 08:34 +0000 [r2284-2285] robert: * Updated NEWS date to 15th September 2003, for 0.9.6 release. * Fixed warnings in geo plugin. 2003-09-14 22:49 +0000 [r2282-2283] robert: * From Geoff Michel, updated geo plugin to support latest rev of Geo Modeller's file format. * Forom yne Schmidt Jansen, added support for osgSim into ive plugin. 2003-09-14 22:11 +0000 [r2281] robert: * Added support for conrolling point size into slideshow3D. 2003-09-13 16:48 +0000 [r2280] robert: * Added commandline usage docs. 2003-09-13 16:43 +0000 [r2279] robert: * Changed the FREETYPE_LIB under Cygwin from ft freetype2 to freetype 2003-09-13 15:59 +0000 [r2278] robert: * Fixed the OBJ loader so that it shares all duplicate state, improving the load time and rendering performance significantly. 2003-09-12 21:15 +0000 [r2276-2277] robert: * Updated change log for release. * Changed std::size_t to unsigned int to attempt to fix IRIX build problem. 2003-09-12 21:05 +0000 [r2275] robert: * From Norman Vine, fixes for Cygwin and Mingw builds. 2003-09-12 19:17 +0000 [r2272] robert: * Work around for OSX errors when reading .ive files. 2003-09-12 18:49 +0000 [r2271] robert: * Changed OSGUTIL_LIBRARY to OSGFX_LIBRARY 2003-09-12 15:29 +0000 [r2270] robert: * Added verbode debugging option to dataoutputstream and datainputstream to help invstigation into crash under OSX when reading .ive files. 2003-09-12 13:58 +0000 [r2269] robert: * Rebuild osgFX plugin by hand to fix dependancy problems that some Win32 users are experiencing. 2003-09-12 13:20 +0000 [r2268] robert: * Commented out various osg::notify() calls that were causing crashes under OSX during initialization. 2003-09-12 13:02 +0000 [r2267] robert: * Added #ifdef IVE_CATCH_EXCEPTIONS to allow catching of exceptions to be turned off for debugging purposes. 2003-09-12 09:48 +0000 [r2266] robert: * Updated NEWS file for the release. 2003-09-12 08:45 +0000 [r2264] robert: * From Sebastien Kuntz, added support for external refernces to vertex/fragment program files. 2003-09-11 09:44 +0000 [r2263] robert: * Clean ups for the release. 2003-09-10 23:18 +0000 [r2262] robert: * Added applyProjectionMatrix(0); & applyModelViewMatrix(0); into osg::State::popAllStateSets(), removed some debugging output. 2003-09-10 21:30 +0000 [r2260] robert: * Fixed unix line ending. 2003-09-10 21:22 +0000 [r2259] robert: * 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. 2003-09-10 20:43 +0000 [r2258] robert: * Fixed state inheritance from the stats overlay onto the rest of the scene. 2003-09-10 20:24 +0000 [r2257] robert: * Added -I/sw/include to Make/makedefs 2003-09-10 19:55 +0000 [r2256] robert: * Addeed LIBXML2_INCLUDE defined to Make/makedefs to handle non standard placement of libxml2 in OSX. 2003-09-10 19:25 +0000 [r2255] robert: * Changed OsgCameraGroup so that it shares osg::State between Producer::Camera's which share the same Producer::RenderSurface. Added support for more colors in slideshow3D's constructor code. 2003-09-10 14:43 +0000 [r2254] robert: * Fix warning under Win32. 2003-09-10 13:25 +0000 [r2252] robert: * Added /Zm200. 2003-09-10 12:38 +0000 [r2251] robert: * Fixes for osgFX. 2003-09-10 12:26 +0000 [r2250] robert: * Added -losgText into txp plugin's GNUmakefile for OSX build. 2003-09-10 12:04 +0000 [r2249] robert: * Added -losgText for OSX build. 2003-09-10 11:21 +0000 [r2248] robert: * From Marco Jez, moved color matrix IO code across to using Marix.h so it handles float's double's properly. 2003-09-10 11:18 +0000 [r2247] robert: * Added osgText and osgDB to the list of dependencies for OSX build. 2003-09-10 08:35 +0000 [r2246] robert: * Updated docs for release. 2003-09-09 22:18 +0000 [r2245] robert: * Cleaned up handling of vertex arrays in osg::Geometry. Added support for vertex attribute arrays in .osg and .ive. 2003-09-09 11:54 +0000 [r2244] robert: * Updates to osgFX, from Marco Jez, to map Effect across to being derived from osg::Group rather than from osg::Node. 2003-09-09 10:09 +0000 [r2243] robert: * Made writeMatrix/readMatrix use doubles exclusively. 2003-09-09 08:56 +0000 [r2242] robert: * Updated docs for release. Added OSG_USE_DOUBLE_MARTRICES define into include/osg/Matrix to make it more convinient to switch between single and double matrices. 2003-09-08 10:51 +0000 [r2241] robert: * Updated NEWS/AUTHORS + html docs for release. 2003-09-08 08:44 +0000 [r2240] robert: * Added call to handle_cull_callbacks_and_traverse(node) to CullVisitor::apply(Geode&) to enable cull callbacks to function on geode's. 2003-09-07 14:18 +0000 [r2239] robert: * From Boris Bralo, addition of support for osgSim::LightPoint's into TXP plugin. 2003-09-06 11:07 +0000 [r2238] robert: * Fixes from Marco. 2003-09-05 22:37 +0000 [r2235-2236] robert: * Removed eroneous reference to Matrix_implementaion.cpp. * Added new Matrixf and Matrixd implementations. Made Matrix be a typedef to either Matrixf or Matrixd. Defaults to Matrixf. Converted the osgGA::MatrixManipulators and osgProducer::Viewer/OsgCameraGroup across to using exclusively Matrixd for internal computations and passing betwen Manipulators, Producer and SceneView. Note, SceneView still uses Matrix internally so will depend on what is set as the default in include/osg/Matrix. Added the ability to osgProducer::setDone/getDone(), kept done() as the method that the viewer main loop uses for detecting the exit condition. 2003-09-05 20:52 +0000 [r2234] robert: * Added set and get methods for Matrixd and Matrixf. 2003-09-05 20:48 +0000 [r2233] robert: * Added support for Matrixd and Matrixf implementations, with the default Matrix typedef's to either Matrixd or Matrixf. 2003-09-04 19:45 +0000 [r2232] robert: * Moved testCancel() to end of loop as per TXP pager code. 2003-09-04 19:37 +0000 [r2231] robert: * Added testCancel() to DatabasePager::run() loop. 2003-09-04 08:50 +0000 [r2230] robert: * Build Fixes for IRIX. 2003-09-03 18:17 +0000 [r2229] robert: * Fix for IRIX build. 2003-09-03 10:47 +0000 [r2228] robert: * Added a Matrix::value_type typedef'd trait into osg::Matrix, defaulting its value to float, and converted the internal code across to use value_type. This allows Matrix to be converted to use double's simply by change the definition of value_type. Added Matrix::glLoadlMatrix and Matrix::glMultMatrix() to help encapsulate the changes between float and double matrix usage. Updated code that uses Matrix so it doesn't assume float or double matrices. 2003-09-03 08:14 +0000 [r2227] robert: * Fixes for IRIX build. 2003-09-03 07:39 +0000 [r2226] robert: * Removed old DatabasePager.cpp from osgProducer. 2003-09-02 21:53 +0000 [r2225] robert: * Added Inventor plugin, submitted by Sean Spicer, Written by Vivek (c) Magic-Earth. To compile in do a setenv/export USE_COIN or USE_INVENTOR. 2003-09-02 20:39 +0000 [r2224] robert: * Merged changed to osgParticle from Marco Jez, the changes are (quoted from email from Marco) "Most relevant news: 1) particle systems now have the "freezeOnCull" property set to false by default. Since it is an optimization, and using it may cause some unwanted behaviors if not handled properly, it makes more sense to turn it off by default. 2) new "LINE" shape mode which uses GL_LINES to draw line segments that point to the direction of motion. 3) particles can now have a rotation angle and angular velocity. 4) new AngularAccelOperator applies angular acceleration to particles. 5) particle processors such as emitters and programs can have a "start", "end" and "reset" time coordinate. For example, an emitter may be instructed to start emitting particles only after a certain time, stop after another amount of time and then start again. Update (2) is from Gideon May. Updates (3) to (5) are from Douglas A. Pouk." 2003-09-02 20:06 +0000 [r2223] robert: * Commented out calc near/far debugging messages. 2003-09-02 20:03 +0000 [r2222] robert: * Added test of sizeof(types) - run osgunittests sizeof. 2003-09-02 17:19 +0000 [r2221] robert: * Made Matrix a typedef to Matrixf, and converted the old Matrix to Matrixf, as part of prep for supporting both Matrixf (float) and Matrixd (double). Added osg::Matrixf::glLoadMatrix() and osg::Matrixf::glMultiMatrix() methods and changed corresponding usage of glLoad/MultMatrixf() calls across to use these methods. Again prep for support Matrixd. Fixes for VisualStudio 6.0 compile. 2003-09-02 17:16 +0000 [r2220] robert: * Converted eroneous writeLong/readInt boolean entries used writeBool/readBool. 2003-09-02 10:27 +0000 [r2219] robert: * Fixes for IRIX build + to_unix on txp plugin files. 2003-09-01 21:53 +0000 [r2218] robert: * Support for BumpMapping added by Marco Jez. 2003-09-01 19:43 +0000 [r2217] robert: * Updates from Marco:sgfxbrowser.cpp (added specular component to scene light) and AnisotropicLighting.cpp (workaround for a multiple-context issue). 2003-09-01 15:49 +0000 [r2215-2216] robert: * Win32 fixes. * Fixes for Win32. 2003-09-01 11:23 +0000 [r2214] robert: * Added a call to disable all vertex attrib arrays when none are present on an osg::Geometry. 2003-09-01 09:36 +0000 [r2213] robert: * From Neil Salter, added osgSim::SphereSegment and osgSim::ScalarBar, and osgspheresegment and osgscalarbar, and osgsimulation examples. 2003-08-31 22:17 +0000 [r2210-2211] robert: * Converted cout's to notify's. * From Alberto Farre, fixes to the file path handling of internally referenced files. 2003-08-31 22:08 +0000 [r2209] robert: * Added experiment Tempated fast path implemenation, #if 0 out right now. 2003-08-31 21:23 +0000 [r2208] robert: * From Tree, updated syntax highlighting. 2003-08-31 21:13 +0000 [r2207] robert: * Converted cout's messages to use notify. 2003-08-29 23:04 +0000 [r2206] robert: * Added s/getCullVistorLeft/Right(), s/getRenderStageLeft/Right(), s/getRenderGraphLeft/Right() methods. 2003-08-29 22:05 +0000 [r2203-2204] robert: * From Alberto Farre, added support for both / and \ slashes in path utility functions. * Added an explicit check for file extension so that only .jpg and .jpeg files are loaded with the JPEG plugin, thus avoid a crash which was occuring when it was passed non JPEG files. 2003-08-29 21:52 +0000 [r2202] robert: * Added fonts/ in front of arial.ttf. 2003-08-28 21:40 +0000 [r2195] robert: * 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. 2003-08-28 12:49 +0000 [r2192-2193] robert: * Removed double line spacing in ExternalReference code. * Added a PushAndPopFilePath usage to the internal flt file references. 2003-08-27 14:13 +0000 [r2191] robert: * From Marco Jez, tangent space generator. 2003-08-27 13:09 +0000 [r2190] robert: * Added /Zm200 for VS6.0 build. 2003-08-27 10:34 +0000 [r2189] robert: * Added /Zm200 define to .dsp's to avoid compile errors under VisualStudio6.0. 2003-08-27 10:22 +0000 [r2188] robert: * Added KeyboardMouseCallback::shutdown() support. 2003-08-27 08:54 +0000 [r2187] robert: * Added Performer plugin .dsp 2003-08-27 00:39 +0000 [r2186] robert: * Fixed CullVisitor::popProjectionMatrix() handling of othorgraphic near and far values. 2003-08-26 22:09 +0000 [r2185] robert: * Added missing osgFX files. 2003-08-26 21:17 +0000 [r2184] robert: * Added osgFX - Marco Jez's special effects nodekit. 2003-08-26 15:49 +0000 [r2183] robert: * Moved the keyboardmouse startThread into the Viewer::realize() method. 2003-08-26 08:02 +0000 [r2182] robert: * Added set/getDatabasePager() method. 2003-08-25 22:50 +0000 [r2180] robert: * Added check for :: in wrapper name when writing out to .osg, so that if a namaspace:: exists in the wrapper name then one isn't created for it by default. 2003-08-25 14:04 +0000 [r2178-2179] robert: * Updated NEWS for 0.9.6 release. * Added osgProducer:: in front of KeyboardMouseCallback. 2003-08-25 13:31 +0000 [r2177] robert: * Removed suplerfluous inline from setInitialViewMatrix(). 2003-08-25 13:06 +0000 [r2176] robert: * Added getInitialInverseViewMatrix() to osg::State. 2003-08-25 11:37 +0000 [r2174] robert: * Added support for loading nodekits/plugins to resolve associates when reading .osg files. 2003-08-23 20:48 +0000 [r2173] robert: * Add osg_ref to osgProducer::Viewer to ensuer that the keyboard mousr desctructor is being called correctly. 2003-08-21 19:23 +0000 [r2166] robert: * Made getLibrary public. 2003-08-21 14:26 +0000 [r2165] robert: * Compile/Warnings fixes. 2003-08-21 09:52 +0000 [r2163-2164] robert: * Moved OpenThreads::Threads::Yield() calls across to new OpenThreads::Threads::YieldCurrentThread() naming. * From Marco Jez, improvement to the handling of coordinates frame in CubeMapGenerator. 2003-08-20 12:52 +0000 [r2160-2162] robert: * Added explicit calls cancel and wait until thread and no longer running to the DatabasePager and TXP pager. * Renamed instances of Click to Tick for consistency. * 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. 2003-08-20 10:38 +0000 [r2159] robert: * Added osg::setGLExtensionDisableString && osg::getGLExtensionDisableString() functions the GLExtensions file, and made the isGLExtensionSupported() function use the extension disable string when extension are querried. 2003-08-20 07:36 +0000 [r2158] robert: * Moved the delete of expired subgraphs to the database thread to improve the stability of the frame rate. 2003-08-19 19:46 +0000 [r2157] robert: * Fixes to the database paging. 2003-08-19 14:05 +0000 [r2155] robert: * Fixed typo of getNumMatrixManipulators(). 2003-08-19 13:01 +0000 [r2154] robert: * Removed inappropriate static_cast<>. 2003-08-18 19:51 +0000 [r2153] robert: * Changed applyTextParamaters() to set the wrap modes : GL_TEXTURE_WRAP_S for all texture targets. GL_TEXTURE_WRAP_T for all texture targets except GL_TEXRTURE_1D GL_TEXTURE_WRAP_R for only GL_TEXTURE_3D And changed the defaults to OpenGL defaults of GL_REPEAT. 2003-08-18 19:36 +0000 [r2152] robert: * Added applyTexImage_subload() implemention into TextureRectangle class to provide automatic support for texture subloading. 2003-08-18 15:14 +0000 [r2150-2151] robert: * Changed private to protected to allow Timer to be subclassed more easily. * Added getSecondsPerClick() method to Timer. 2003-08-18 10:58 +0000 [r2149] robert: * Added X_INC into the Make/makedefs and changed the *GNUmakefile* to use it. 2003-08-18 09:24 +0000 [r2148] robert: * Fixes for Java build. 2003-08-16 20:42 +0000 [r2147] robert: * Fixes to Cygwin/Mingw makedefs. Converted unix line endinges to dos line endings in various VS project files. 2003-08-16 18:52 +0000 [r2146] don: * Added check for byte swapping when writing RGB files so rgb files can be created on big endian machines 2003-08-15 09:44 +0000 [r2145] robert: * Did a to_dos on examples, plugins and core libs. 2003-08-15 09:38 +0000 [r2144] robert: * Changed cout's to notufy(INFO). 2003-08-14 00:05 +0000 [r2143] robert: * Removed the deprecated NodeVisitor::getLocalToWorld/WorldToLocal methods as this are replaced by the osg::computeLocalToWorld/WorldToLocal() functions found in osg/Transform. Made the ReleaseTextureAndDisplayListsVisitor a public nested class of osgDB::DatabasePager to allow it to be used in the TXP plugin, and added usage of this visitor to the TXP plugin to make sure that textures and display lists are released during the update thread. 2003-08-12 23:36 +0000 [r2142] robert: * Added -lOpenThreads to the IRIX OTHER_LIBS definition. 2003-08-12 23:06 +0000 [r2141] robert: * Fixed capitalization of QTtexture.h 2003-08-12 10:15 +0000 [r2140] robert: * Fixed DrawVertex/DrawColors access of null arrays errors. 2003-08-09 00:46 +0000 [r2139] robert: * Added s/getFastPathHint(). 2003-08-08 14:41 +0000 [r2138] don: * updates makedefs and makerules for Mac OSX submitted by Bob Kuehne 2003-08-08 00:36 +0000 [r2137] robert: * Added support for clampping the near and far values in othrographic projection. Fixed the handling of anaglyphic/stereo state in SceneView::draw(). 2003-08-08 00:21 +0000 [r2135-2136] robert: * 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. * Added convience constructor. 2003-08-04 22:03 +0000 [r2129] robert: * Fixed computeFastPathsUsed() so that it includes a check for the presence of _vertexIndices and disables fast paths in this case. 2003-08-04 21:09 +0000 [r2128] robert: * From Romano Magacho. add osg:: to Referenced() calls for IRIX build. 2003-08-04 21:04 +0000 [r2127] robert: * From Gideon May, added 'd' to end of osgdb_osgSim.lib for debug build. 2003-08-04 16:26 +0000 [r2126] don: * Removed a couple of stray PRODUCER_LIB_DIR definitions in the examples 2003-08-03 02:59 +0000 [r2124] robert: * Fixed VC6 for scoping problem in ive plugin. 2003-08-03 00:24 +0000 [r2123] robert: * From Romano Magacho, fix for compile problem under IRIX. 2003-07-26 23:44 +0000 [r2122] robert: * Post release revision change. 2003-07-26 23:06 +0000 [r2120] robert: * Updated dependencies. 2003-07-26 22:44 +0000 [r2119] don: * Small typo 2003-07-26 22:32 +0000 [r2118] robert: * Typos fixed. 2003-07-26 21:06 +0000 [r2117] robert: * Updated changelog for release. 2003-07-26 21:01 +0000 [r2116] robert: * Updated NEWS for release. 2003-07-26 19:08 +0000 [r2115] robert: * Updated NEWS 2003-07-26 18:57 +0000 [r2114] robert: * Fixed warning in jpeg loader by replacing longjmp with throw/catch. 2003-07-26 14:15 +0000 [r2113] robert: * Fixed long jump warning. CV: ---------------------------------------------------------------------- 2003-07-26 04:51 +0000 [r2112] robert: * Added openthreads to list of dependencies.: 2003-07-26 04:25 +0000 [r2111] robert: * Fixed warnings. 2003-07-26 01:02 +0000 [r2110] don: * Fixes to makedefs/makedirdefs ordering in some makefiles, and conditional build for osgslideshow on Sun 2003-07-26 00:12 +0000 [r2109] don: * Removed command line definitions of OSG_VERSION and OSG_RELEASE 2003-07-25 23:49 +0000 [r2108] don: * Removed references to PRODUCER_INCLUDE_DIR and PRODUCER_LIB_DIR in the local makefiles. Small change in txp loader for sun build 2003-07-24 06:13 +0000 [r2107] robert: * Fixed warnings. 2003-07-24 06:09 +0000 [r2104-2106] robert: * Fixed warning. * Fixed warning, which was actually a bug, sometimes you've just gotta love pedantic warnings. * Fix warnings. 2003-07-23 21:32 +0000 [r2103] robert: * Removed all references to sleep/usleep. 2003-07-23 21:18 +0000 [r2102] robert: * Moved t->testCancel() to end of loop. Changed a sleep() to a Yield. Removed debugging messages. 2003-07-23 21:03 +0000 [r2101] robert: * From Gideon, update to the PolygonOffset for the background quad. 2003-07-23 20:57 +0000 [r2097-2100] robert: * Added makefile. * Made the fine grained checking of GL errors off by default. * From Romano José Magacho da Silva, extension checking for NV_occlusion_query extension. * From Sean, fix for Sun windows extension checking. 2003-07-23 20:38 +0000 [r2096] robert: * Fixes to paths and dependancies. 2003-07-23 19:08 +0000 [r2095] don: * Added conditionals to find OpenThreads include and library directories if not installed 2003-07-23 18:32 +0000 [r2094] robert: * Fixes for Win32 build. 2003-07-23 18:25 +0000 [r2093] robert: * Fixed typo of SlideShowContructor.cpp 2003-07-23 15:52 +0000 [r2092] robert: * Added support for PagedLOD node into .ive format and added support for Enabled texture object reuse by setting an expiry delay in the TextureObjectManager of 10 seconds - done for both osgDB::DatabasePager and TXP plugin. 2003-07-23 15:12 +0000 [r2091] robert: * Added control of auto option into slideshow3D 2003-07-23 15:00 +0000 [r2089-2090] robert: * Fixed typo's slideshow3D * Fixed blending mode on stats output. 2003-07-23 14:06 +0000 [r2088] robert: * From Gideon May, added support for osgSim into .osg file format. 2003-07-23 13:34 +0000 [r2087] robert: * Merged changes from Nicklov Trajce and Boris Bralo. 2003-07-23 12:06 +0000 [r2086] robert: * Updated docs to reflect new data direcory. 2003-07-23 11:45 +0000 [r2085] robert: * Warning fixes from Gideon May. 2003-07-23 11:37 +0000 [r2084] robert: * Added slideshow3D.dsp. 2003-07-23 11:27 +0000 [r2083] robert: * Updated doc++ documentation. 2003-07-23 10:11 +0000 [r2082] robert: * Fixed osgslideshow3D to slideshow3D 2003-07-23 09:27 +0000 [r2079] robert: * Added slideshow3D to the examples list under VisualStudio. Partially updated the NEWS.txt. 2003-07-23 08:54 +0000 [r2078] robert: * Bumped up version numbers in preperation for the 0.9.5 release. 2003-07-23 08:48 +0000 [r2077] robert: * Made the keyboard mouse callback a ref_ptr<> managed object to fix ref count problem. 2003-07-23 08:18 +0000 [r2075] robert: * Added check to allocateImage() so that if the pixel size wouldn't be computed unless valid _data already existed on the object. 2003-07-22 21:03 +0000 [r2073] robert: * Added support for osg::State::s/getInitialViewMatrix(); Added slideshow3D examples to the runexamples.bat. Fixed DatabasePager to work with the latest OpenThreads. 2003-07-22 15:35 +0000 [r2071] robert: * Updates to the slideshow3D app. 2003-07-22 12:48 +0000 [r2070] robert: * Made BlinkSequence subclass from osg::Object. 2003-07-22 12:39 +0000 [r2069] robert: * Added XML support and slideshow constructor to slideshow3D example, now renamed from the previous osgslideshow. 2003-07-22 10:33 +0000 [r2068] robert: * Changed the Sector classes so they are derive from osg::Object to allow them to be shared objects with the .osg support. 2003-07-22 08:42 +0000 [r2059] robert: * Added Images/ infront of lz.rgb path. 2003-07-21 18:36 +0000 [r2057] robert: * From Marco, updates to osgDB and .osg plugin to better handle reading of objects of specified types. 2003-07-21 15:51 +0000 [r2056] robert: * Added yield call to database paging main loop. 2003-07-21 15:26 +0000 [r2055] robert: * Fixed osgDB plugin. 2003-07-21 11:54 +0000 [r2054] robert: * Removed old link. 2003-07-21 10:39 +0000 [r2053] robert: * Added missing DatabasePager. 2003-07-21 10:11 +0000 [r2052] robert: * Added -lOpenThreads to the OSX defines. 2003-07-21 08:19 +0000 [r2051] robert: * Moved DatabasePager into from osgProducer into osgDB. This means that osgDB is now dependant on OpenThreads. 2003-07-20 00:51 +0000 [r2050] don: * Integrated OpenThreads and brought dsps up to snuff on Win32 2003-07-19 17:55 +0000 [r2049] don: * Small bug in instrules 2003-07-19 17:46 +0000 [r2048] don: * passing $(MAKE) into instexamplesrc script to shut the religious fanatics on the mailing list up. 2003-07-19 00:18 +0000 [r2047] don: * Updated OSG to use OpenThreads. Moved any references to OpenThread to OpenThreads and removed any dependency on Producer threads, Mutexes, etc. 2003-07-17 06:43 +0000 [r2042] robert: * From Romano Jose Magacho da Silva, added osg:FragmentProgram. From Robert, add .osg support for FragmentProgram. 2003-07-16 22:26 +0000 [r2041] robert: * From Ruben, added support for vertex program in .osg loader. 2003-07-16 22:15 +0000 [r2040] robert: * Added setProjectionMatrix*(), setViewMatrix*() and get*() methods to osgUtil::SceneView. 2003-07-16 20:14 +0000 [r2039] robert: * 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... 2003-07-16 13:17 +0000 [r2038] robert: * Rejigged the management of state in the stats and help drawing so that it used StateSet's rather than straight OpenGL calls. 2003-07-16 09:52 +0000 [r2037] robert: * Improvements to the handling of deletion of OpenGL rendering objets such as display lists and textures object such that they can be deleted according to an available amount of time given to do deletes. 2003-07-15 21:19 +0000 [r2036] robert: * 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. 2003-07-15 20:23 +0000 [r2035] robert: * Fixed case of OSGL2_EXPORT define in project file. 2003-07-15 18:52 +0000 [r2034] robert: * Added extern + export's to global functions. 2003-07-15 18:19 +0000 [r2033] robert: * Added missing osg:: infront of Referenced() contructor. 2003-07-15 16:22 +0000 [r2031-2032] robert: * Moved PROGRAMOBJECT definition into StateAttribute. * Fix for compile oddities on an Octane with old zlib headers hanging around, change is non intrusive. 2003-07-15 15:49 +0000 [r2030] robert: * Added osgGL2 to workspace file. 2003-07-15 13:46 +0000 [r2029] robert: * Moved osg::Statistics to osgUtil::Statistics and merged addition to it fro Pavel Moloshtan. 2003-07-15 11:49 +0000 [r2028] robert: * Changed the SceneView::setModelViewMatrix() methods across to being setViewMatrix(). The old RefMatrix methods for setModelViewMatrix() and setProjectMatrix() have been removed to keep the API as minimal as possible. 2003-07-15 10:45 +0000 [r2027] robert: * From Mike Weiblen's osgGL2 node kit which support the latest OpenGL 2.0 extensions. 2003-07-15 09:39 +0000 [r2026] robert: * From Bart Gallet, updates to VisualStudo .dsp's to keep things compiling under Windows. 2003-07-15 08:17 +0000 [r2025] robert: * From Gideon May, added typedef T element_type; To ref_ptr<> to make it compatible with the boost ref_ptr<> implemenations. 2003-07-15 07:53 +0000 [r2024] robert: * Compile fixes. 2003-07-14 19:12 +0000 [r2023] robert: * Attempt to fix compile error caused by recent change in osg::Texture. 2003-07-14 14:42 +0000 [r2022] robert: * Added support for texture object manager, which provides an automatic mechansim for reusing deleted textures. 2003-07-11 22:05 +0000 [r2021] robert: * warning fixes for IRIX. 2003-07-11 18:46 +0000 [r2020] don: * included for SGI compilation of Timer header file 2003-07-10 15:23 +0000 [r2019] robert: * Added dataToMergeList into checks for active subgraphs. 2003-07-10 14:53 +0000 [r2018] robert: * Added default constructor implemention to LOD and PagedLOD. Added verbose messages to DatabasePager. 2003-07-10 13:48 +0000 [r2017] robert: * Fix to accomodate function name change in osgDB::Registry. 2003-07-10 13:35 +0000 [r2016] robert: * From Michael Gronger, addition of ReaderWriter* Registry::getReaderWriterForExtension(const std::string& ext). Also removed copy constructor and = operator from Ouput as it was produce spurious warnings under gcc 3.3. 2003-07-10 13:18 +0000 [r2015] robert: * From Tree, fixes for text bounding box initialization. 2003-07-10 13:11 +0000 [r2014] robert: * From Eric Sokolosky, insertChild(). 2003-07-10 11:10 +0000 [r2013] robert: * Updates to the DatabasePager code to include support for compiling texture objects and display lists before merging loaded subgraphs with the main scene graph. 2003-07-10 08:05 +0000 [r2012] robert: * From Bob Kuehne, Fixed typo. 2003-07-10 07:51 +0000 [r2011] robert: * Fixed typo. 2003-07-09 19:48 +0000 [r2010] robert: * Further updates to the DatabasePager. 2003-07-09 14:55 +0000 [r2009] robert: * Improvements to the DatabasePager and PagedLOD class adding support for deleting expuired children in the database thread. 2003-07-09 07:41 +0000 [r2008] robert: * Added #include to DatabasePager.cpp. 2003-07-08 14:44 +0000 [r2007] robert: * Added osg::PagedLOD and osgProducer::DatabasePager class, and linked up osgProducer::Viewer to manage the pager. 2003-07-07 08:01 +0000 [r2006] robert: * Tweaked osg::Geometry's VBO code so that it should not call VBO when the extension is not supported. 2003-07-05 19:49 +0000 [r2005] robert: * Added missing setUseVertexBufferObject(). 2003-07-05 19:08 +0000 [r2004] robert: * Integrated various fixes from users. 2003-07-02 01:56 +0000 [r2003] don: * Fixed glBindBufferARB to extensions->glBindBuffer() 2003-06-30 06:41 +0000 [r2002] robert: * Added an osg:: infront of the Object() copy constructor call to AttrData. 2003-06-29 21:53 +0000 [r2001] robert: * Added support for chunking the point data clouds into 10,000 point chunks to better optimize the VBO and AGP needs. 2003-06-29 21:41 +0000 [r2000] robert: * Added support for the ARB_vertex_buffer_object into osg::Geometry. 2003-06-28 17:35 +0000 [r1999] don: * fixed makeinnosetup 2003-06-27 21:41 +0000 [r1998] don: * Updates to makeinnosetup to work a bit smoother 2003-06-27 21:01 +0000 [r1997] don: * Change some wording in help.sh and added makeinnosetup 2003-06-27 14:33 +0000 [r1995-1996] robert: * Added #include * Added #include 2003-06-26 16:21 +0000 [r1994] robert: * From Tree, updates to osgText and freetype plugin to support are kerning paramter. 2003-06-25 22:11 +0000 [r1993] robert: * Addition of text to default presentation. 2003-06-25 10:39 +0000 [r1992] robert: * Fixed from Pavel for the stats in RenderBin.cpp 2003-06-25 10:30 +0000 [r1991] robert: * Updated NEWS. Added AttrData.h to flt.dsp Removed redundent (and duplicate definition of RenderBinPrototypeList and its associated static) from the RenderBin header. 2003-06-25 10:12 +0000 [r1990] robert: * From Julia Oritz Rojas, support for detail textures. 2003-06-25 08:58 +0000 [r1989] robert: * From Ulrich Hertlein, added support for TextureRectangle to .osg format. 2003-06-25 08:50 +0000 [r1988] robert: * Spotted by Norman Vine - fixed typo in intersect visitor. 2003-06-25 07:59 +0000 [r1987] robert: * Test of cvs. 2003-06-25 07:50 +0000 [r1986] robert: * Added TessellationHints. 2003-06-24 22:11 +0000 [r1985] robert: * Added missing file. 2003-06-24 21:57 +0000 [r1984] robert: * Additions since the CVS back up was made. 2003-06-24 15:40 +0000 [r1982-1983] don: * *** empty log message *** * Updating 5/27/03 backup with 6/20/03 tarball 2003-06-24 15:36 +0000 [r1981] don: * Update of 5/27/03 backup with 6/20/03 tarball 2003-05-27 17:04 +0000 [r1980] robert: * Converted dos to unix file endings. 2003-05-27 11:03 +0000 [r1978-1979] robert: * Added support for scaling the projection in vertical and horizontal split stereo modes. * Reverted recent changes so the set(Matrix&) method. 2003-05-26 15:00 +0000 [r1977] robert: * Adjustments to the horizontal and vertical split stereo code for better handling of aspect ratio. 2003-05-26 11:02 +0000 [r1976] robert: * Added missing std:: 2003-05-26 10:05 +0000 [r1975] robert: * Added 3dc plugin for reading Arias 3D point clouds. 2003-05-26 09:29 +0000 [r1973-1974] robert: * Moved the GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB into its own #ifndef block to help with OSX support. * Adding support using istream and ostream with the reader writers. 2003-05-25 21:06 +0000 [r1972] robert: * Added mention of DYLD_BIND_AT_LAUNCH to OSX docs. 2003-05-25 16:08 +0000 [r1971] robert: * From Geoff Michel, conversion from GeoSet to Geometry. 2003-05-24 14:42 +0000 [r1970] robert: * Removed export macro. 2003-05-24 14:26 +0000 [r1969] robert: * Added missing std:: 2003-05-23 19:51 +0000 [r1968] robert: * Added ive reader/writer - from Rune Schmidt Jensen/Michael Gronager 2003-05-22 15:29 +0000 [r1967] robert: * Fixes to the Optimizer's handling of merging of osg::Geometry 2003-05-22 14:02 +0000 [r1966] robert: * Removed occurances of SG_EXPORT. 2003-05-22 11:09 +0000 [r1965] robert: * Convert Performer plugin across to generate osg::Geometry directly. 2003-05-22 08:40 +0000 [r1964] robert: * Added syntax highlighting for VisualStudio7.1 from Joseph Steel. 2003-05-21 21:32 +0000 [r1963] robert: * Improved the handling of scaled matrices in the Quat::set(Matrix&) method. 2003-05-21 16:33 +0000 [r1962] robert: * Removed the _state.reset() call as it was doing OpenGL calls outside of the thread with the graphics context. 2003-05-21 14:34 +0000 [r1961] robert: * Added GeoSet to osgconv. 2003-05-21 12:15 +0000 [r1960] robert: * Removed osg::GeoSet for core osg lib and osgPlugin. Commented out OpenDX plugin as its still based on GeoSet. Added support for loading and converting GeoSet into the osgconv example. 2003-05-20 20:45 +0000 [r1959] robert: * Added usage of the InputRectangle into setting up of the EventAdapter. 2003-05-20 19:48 +0000 [r1958] robert: * Removed spurious editing file. 2003-05-20 14:05 +0000 [r1957] robert: * Added osgtexturerectangle example from Ulrich Hertlein. 2003-05-20 13:21 +0000 [r1956] robert: * Fixes to the handling of mouse coords after changes in the default behavior of Producer. 2003-05-20 11:01 +0000 [r1955] robert: * Added setProjectMatrix(const Matrix&) and setModelViewMatrix(const Matrix&) methods. 2003-05-20 08:57 +0000 [r1954] robert: * Removed redundent write_usage function. 2003-05-20 08:47 +0000 [r1953] robert: * Changed the fusion distance update code to use OsgCameraGroup::setDistanceDistance() rather than going through the SceneView's by hand. This should ensure that values are kept consistent betwen OsgCameraGroup and SceneView's. 2003-05-20 08:43 +0000 [r1952] robert: * Fixed manipulator. 2003-05-20 08:09 +0000 [r1951] robert: * Removed the now redundent osg::Camera. 2003-05-19 20:18 +0000 [r1950] robert: * Removed all KeySwitchCameraManipulator class, replacing it with the KeySwitchMatrixManipulator 2003-05-19 15:15 +0000 [r1949] robert: * Removed remaining dependancies on osg::Camera. 2003-05-17 13:15 +0000 [r1948] robert: * Removed redundent const 2003-05-17 09:03 +0000 [r1947] robert: * Renamed png pnm 2003-05-17 08:36 +0000 [r1946] robert: * Removed superfluous const 2003-05-14 16:07 +0000 [r1945] don: * Small operation precedence bug fixed in Text.cpp 2003-05-09 13:07 +0000 [r1944] robert: * Updates to the handling of vertex attributes. 2003-05-08 15:13 +0000 [r1943] robert: * Add osgUtil as a dependancy of osgText 2003-05-08 14:02 +0000 [r1942] robert: * Memory leak fixes from Joseph Steel. 2003-05-07 15:26 +0000 [r1941] robert: * Added UserData to NodeVisitor. 2003-05-07 13:13 +0000 [r1940] robert: * From Romano José Magacho da Silva, support for vertex attributes in vertex program. 2003-05-07 11:13 +0000 [r1939] robert: * From Eric Sokolowsky, support for mouse scroll wheel in osgGA/osgProducer. 2003-05-07 09:35 +0000 [r1938] robert: * Changed the CullVisitor::popProjection() so that it doesn't adjust orthorgraphic projection matrices. 2003-05-06 18:04 +0000 [r1937] robert: * Aded extra constructors to BlendFunc and Depth to help set them up convieniently. Added a background quad to osghud. 2003-05-06 13:13 +0000 [r1936] robert: * Added support for multibuffering of tex coordinates. 2003-05-05 14:30 +0000 [r1935] robert: * Fixed accept(PrimitiveFunctor&) so it uses the transform coords correctly. 2003-05-02 18:24 +0000 [r1934] robert: * Fixed build. 2003-05-01 21:06 +0000 [r1933] robert: * Addd support for maximum screen text size into osgText when auto scale to screen is active. Added osgautotransform demo. 2003-05-01 19:56 +0000 [r1932] robert: * Added set/getNearFarRatio() to CullVisitor. 2003-05-01 08:51 +0000 [r1931] robert: * Remved exit(). 2003-04-30 15:40 +0000 [r1929-1930] robert: * From Eric Sokolowsky - pnm (ppm, pgm, pbm) plugin * Cleanup of the API. 2003-04-30 11:41 +0000 [r1927-1928] robert: * Reverted the test of setAutoScaleToScreen. * Added support for automatic scaling of text to screen coords. Optimized the text implementation to provide better speed, especially by using the alignement to screen option. Deprecated the Text::setFontSize(,) method, which is now being replaced by setFontResolution(,) Fixed typos in Texture*.cpp. Removed old deprecated methods from osg headers. 2003-04-29 14:24 +0000 [r1926] robert: * From Ben, promoted floats to doubles to produce better stability in the invert method. 2003-04-29 00:55 +0000 [r1925] don: * set glDrawBuffer( GL_BACK ) in SceneView::draw() when not drawing in stereo mode. Without this, we end up drawing to the wrong buffer when toggling stereo off. 2003-04-28 12:57 +0000 [r1923] robert: * Updated NEWS. 2003-04-28 11:37 +0000 [r1922] robert: * Updates to the introduction.html. Added support for new alignment modes in osgtext. 2003-04-27 19:23 +0000 [r1921] robert: * Fixed typo of Fturue! 2003-04-27 10:58 +0000 [r1920] robert: * From Tree, addition of ; after MACRO_'s to help with Java port. From Tree + Robert, Addition of LEFT_BASE_LINE,RIGHT_BASE_LINE,CENTER_BASE_LINE Alignment options in Text. 2003-04-25 19:53 +0000 [r1919] robert: * Updates to introducution. 2003-04-25 13:52 +0000 [r1918] robert: * Updated index.html 2003-04-25 13:47 +0000 [r1917] robert: * Added support for gather information on which vertices have been intersected with. 2003-04-24 20:41 +0000 [r1916] don: * A few minor mods to introduction.html 2003-04-24 19:54 +0000 [r1915] robert: * Updates to the introduction.html documentaition. 2003-04-24 13:45 +0000 [r1912-1914] robert: * Typo fix. * cout -> notify. * Updates to docs. 2003-04-23 10:12 +0000 [r1911] robert: * From Romano, updated LANDEXT.DAT and new highlight.reg file for syntax highlighting under Windows. 2003-04-23 09:59 +0000 [r1910] robert: * Added check for camera's sharing the same RenderSurface, if so switches off multi-threading of cull and draw. 2003-04-19 09:53 +0000 [r1908] robert: * Changed the data link to OpenSceneGraph-Data-0.9.3.tar.gz since we won't be updating it for the release. 2003-04-19 09:35 +0000 [r1907] robert: * Updated ChangeLog for the release. 2003-04-19 09:09 +0000 [r1906] robert: * Updated NEWS for the release date. Tweaked the text sizes in osglogo. 2003-04-19 06:57 +0000 [r1905] robert: * Mannually computes the mipmap levels to ensure correct loading of dds images which arn't square. 2003-04-18 21:44 +0000 [r1904] robert: * Changed the ordering of the picking intersections. 2003-04-18 19:46 +0000 [r1903] robert: * Fixes to BlendFunc - adding missing ZERO handling. Improved handling of alpha values in DXT1 compression. 2003-04-18 15:59 +0000 [r1902] robert: * Updated NEWS for the release. Fixed warnings. 2003-04-18 10:10 +0000 [r1901] robert: * Removed various assert() instances since these were causing crashes. From Alberto, changed the use of the DynGeoSet to it was querried on demand rather than used as a pointer which was originally being invalidate before use. 2003-04-18 08:17 +0000 [r1900] robert: * Added a realize callback for setting up the pbuffer so that it definately has a valid graphics context. 2003-04-17 16:22 +0000 [r1899] robert: * Added doc++ documentation. 2003-04-17 15:57 +0000 [r1898] robert: * Added setting of the RenderSurface name to the application name. 2003-04-17 15:27 +0000 [r1897] robert: * Moved #include from Viewer to OsgCameraGroup. 2003-04-17 13:57 +0000 [r1896] robert: * Added an alternate compile path for Windows in the toggle of fullscreen for the first time. 2003-04-17 13:36 +0000 [r1895] robert: * Changed the maxx initializiation to use (*points)[last_valid_index].x(); 2003-04-17 11:14 +0000 [r1894] robert: * Moved the managing of frame stamp from osgProducer::Viewer into osgProducer::OsgCamaraGroup. Added setting of trackball in osgcameragroup so its starts in the correct place for different models. 2003-04-17 06:52 +0000 [r1893] robert: * Added OSGUTIL_EXPORT to front of DelaunayTriangulator class. 2003-04-16 23:09 +0000 [r1892] don: * InputRectangle converted to RenderSurface->get()... 2003-04-16 21:16 +0000 [r1891] don: * Changed Rect('s to Rectangle('s 2003-04-16 20:02 +0000 [r1890] robert: * Added support for set/getColor to ShapeDrawable. 2003-04-16 19:21 +0000 [r1888-1889] robert: * From Marco Jez, added DelaunayTriangulator class. * Changed near and far instances into near_point, far_point to avoid problems with Win32 build. 2003-04-16 15:14 +0000 [r1887] robert: * Moved the PickVisitor from osgUtil into the implementation of osgProducer::Viewer. Removed methods in PickVisitor which wern't being used by osgProducer::Viewer. This has been done because the PickVisitor interface and implementation weren't ready for general usage. 2003-04-16 14:22 +0000 [r1886] robert: * Renamed computeNearFar to computeNearFarPoints. 2003-04-16 14:17 +0000 [r1885] robert: * Added convinence methods to osgProducer::Viewer: /** compute, from normalized mouse coords, for sepecified Camera, the pixel coords relative to that Camera's RenderSurface.*/ bool computePixelCoords(float x,float y,unsigned int cameraNum,float& pixel_x,float& pixel_y); /** compute, from normalized mouse coords, for sepecified Camera, the near and far points in worlds coords.*/ bool computeNearFar(float x,float y,unsigned int cameraNum,osg::Vec3& near, osg::Vec3& far); /** compute, from normalized mouse coords, for sepecified Camera, intersections with the scene.*/ bool computeIntersections(float x,float y,unsigned int cameraNum,osgUtil::IntersectVisitor::HitList& hits); /** compute, from normalized mouse coords, for all Cameras, intersections with the scene.*/ bool computeIntersections(float x,float y,osgUtil::IntersectVisitor::HitList& hits); 2003-04-16 12:46 +0000 [r1884] robert: * Add a check for the result to writeNodeFile(). 2003-04-16 09:22 +0000 [r1883] robert: * Changed OsgSceneHandler so it re-uses osgUtil::SceneView project and modelview matrices. Changed the osgpick demo so that it uses the OsgSceneHandler's projection and modelview matrices where possible. 2003-04-15 20:54 +0000 [r1882] robert: * Added support for multiple cameras into osgpick. 2003-04-15 14:29 +0000 [r1881] robert: * Changed the linking to Producer for debug builds so that producerd.lib is linked against. 2003-04-15 09:33 +0000 [r1879-1880] robert: * From Brede, Fixed the ordering of the znear and zfar. * From Romano, extra methods/variables for controlling tesselation. 2003-04-14 19:39 +0000 [r1878] robert: * Added -I/usr/X11R6/include to osgProducer and all the examples GNUMakefiles. From Bob, mods to GNUMakefile and Make/makedefs for the extra includes for freetype. 2003-04-14 18:53 +0000 [r1877] robert: * Added using namespace Producer to get round namespace issue with CameraGroup call. 2003-04-14 18:49 +0000 [r1876] robert: * Updated osgstereoimage and osgimpostor to handle the new default orientation of normalized mouse coords. 2003-04-14 15:44 +0000 [r1875] robert: * Updates to the osgpick code. Updates to osgGA::CameraManipulors. 2003-04-14 15:03 +0000 [r1873-1874] robert: * Tweak to the debug output. * Added extra debugging details to help track down IRIX64 & Solaris64 problems. 2003-04-14 13:23 +0000 [r1871-1872] robert: * Improved the handling of Producer's no dimensional mouse coords. * Addd new computeLocalToWorld(NodePath) etc methods. 2003-04-14 08:16 +0000 [r1870] robert: * Changed push back to a += to try and fix compile on hopeless OSX g++ version. 2003-04-13 14:12 +0000 [r1869] robert: * Updated dependancies with link to Producer web page. 2003-04-13 13:26 +0000 [r1868] robert: * Added Geoff Michel's osgpick and osgUtil::PickVisitor code. 2003-04-13 12:02 +0000 [r1867] robert: * From Michael Gronager, changed apply(Sequence) to cast to an Group rather than a Switch which was a bug. 2003-04-12 10:24 +0000 [r1866] robert: * Removed references to glut32.lib. 2003-04-11 18:57 +0000 [r1865] robert: * Convertex a std::copy() into a for loop to get round compile problems under OSX. 2003-04-11 15:34 +0000 [r1863-1864] robert: * Clean of doc++ directories. * Changed the uint arrays to GLuint to keep OSX build compiling. 2003-04-11 10:37 +0000 [r1862] robert: * Fixes to documentions to refelect the move from osgGLUT to osgProducer. 2003-04-11 10:04 +0000 [r1861] robert: * Updated the version numbers to 0.9.4 2003-04-11 10:00 +0000 [r1860] robert: * Added afterescher back into the example list in runexamples.bat. Added osgSim and osgText into the geo/GNUmakefile LIBS. 2003-04-11 09:54 +0000 [r1859] robert: * From Romano, added support in osg::VertexProgram for deleting the flushed vertex programs. 2003-04-11 07:18 +0000 [r1858] robert: * Added guards around Geo plugin to prevent it from being built under OSX, Solaris and IRIX as it breaks the OSX build and doesn't handle Endian issues. 2003-04-11 06:50 +0000 [r1857] robert: * Added std:: infront of cout instances. 2003-04-10 19:32 +0000 [r1856] robert: * Added tests for presense of extensions to osgcubemap, osgvertexproram and osgmultitexture examples. Added osg::VertexProgram::Extensions class to better handle multiple graphics context vertex program extensions. 2003-04-10 15:23 +0000 [r1855] robert: * Moved the osgcameragroup example across to being just based on osgProducer::OsgCameraGroup with no usage of osgGA manipulators. Removed redundent files from osgProducer. 2003-04-10 13:41 +0000 [r1854] robert: * Added support for modifying the osg::Texture*:Extensions stuctures. Added an example modifying osg::Texture::Extensions to osgtext. Optionally compiled out by default. 2003-04-10 12:55 +0000 [r1853] robert: * Added usage of Producer::CameraGroup::isValidForRendering() to the Viewer::done() implemention so apps automatically close if one of the windows is killed. 2003-04-10 12:11 +0000 [r1852] robert: * Added support for multiple graphics context to osg::VertexProgram and osg::Impostor 2003-04-10 10:21 +0000 [r1851] robert: * Changed the '-c' commandline option to '-m' to avoid overlapp with -c used for config files. 2003-04-10 10:16 +0000 [r1850] robert: * Fix to the CameraGroup::setViewByMarix usage. 2003-04-10 10:02 +0000 [r1849] robert: * Fixed Viewer and OsgCameraGroup classes so that work properly with the Prodicer::setViewByMatrix calls. 2003-04-10 08:25 +0000 [r1848] robert: * From Brede, added if (cv->getComputeNearFarMode() != osgUtil::CullVisitor::DO_NOT_COMPUTE_NEAR_FAR) to protect cv->updateCalculatedNearFar(matrix,_bbox); call to avoid inapporpriate near/far warnings. 2003-04-09 21:53 +0000 [r1847] robert: * Fixes to the Impostor implementation. 2003-04-09 13:29 +0000 [r1846] robert: * From Romano, ' ' now sets pause to false. 2003-04-09 11:45 +0000 [r1844-1845] robert: * Added using namespace std; * Added desciptions to all the demos. 2003-04-09 10:51 +0000 [r1843] robert: * Added environmental variable usage to OsgCameraGroup. 2003-04-09 10:30 +0000 [r1842] robert: * Added support for osg::Node::get/setNodeMask() into .osg format. 2003-04-09 10:26 +0000 [r1841] robert: * Made the AnimationPathManipulator::home() reset the timming of the animation path so that the timing always starts at the begining of the loop. 2003-04-09 10:13 +0000 [r1838-1840] robert: * Added a setting of OsgCameraGroup::_applicateUsage to ApplicationUsage::instance() by default. * Fixed warning. * Added fallback in RenderBin::createRenderBin(const std::string& binName) which return a new RenderBin when the no prototype is found with className of binName. 2003-04-09 08:20 +0000 [r1837] robert: * Fixed type of osg::ApplicationUsage::set/getApplictionName(), updated demos accordingly. Made OsgCameraGroup set the _applicationUsage to the osg::ApplicationUsage::instance() when no ArgumentParser is supplied. Added export to osgProducer::ViewerEventAdapter. 2003-04-08 20:39 +0000 [r1836] robert: * Added support for key modifiers to osgProducer::EventAdapter. 2003-04-08 20:06 +0000 [r1834-1835] robert: * From Romano José Magacho da Silva, added 'p' toggle to animation path manipulator to allow animations to be paused and resumed. Added frame rate stats which are output on each repetition of the path. * Fixed warning. 2003-04-08 15:47 +0000 [r1833] robert: * Added support for Viewer::setViewer::setView so that the internal old style osg::Camera and camera manipulators are updated correctly. 2003-04-08 15:18 +0000 [r1832] robert: * Changed the Viewer::realize() calls across to not using the threading paramter leaving it up to the Viewer to specify the mode (which by default is MultiThreaded). Added a check for the presence of osgParticle systems so that threading is disabled in this case. 2003-04-08 13:53 +0000 [r1831] robert: * Set the static mouse position values in osgProducer::EventAdater to the same value as warp pointer to ensure that the now roll is encountered on warping of the pointer. 2003-04-08 13:10 +0000 [r1830] robert: * Changed the KeySwichCameraManipulator::setNode() so it set all camera's attached to it. 2003-04-08 10:59 +0000 [r1829] robert: * Convert dsp's to use dos endings. 2003-04-08 10:17 +0000 [r1828] robert: * Cleaned up some warnings and added : LINKARGS += -Wl,multiply_defined -Wl,suppress To GNUmakefile for the OSX build. 2003-04-08 09:48 +0000 [r1827] robert: * Removed the output of command line usage when no arguments are passed since this example doens't need paramters. 2003-04-08 09:44 +0000 [r1825-1826] robert: * Added Producer to the dependcies in osgwindows. * Added an osg::absolute template function into osg/Math. 2003-04-07 19:19 +0000 [r1824] robert: * Added support for snaping screen images from osgProducer::Viewer apps. 2003-04-07 15:11 +0000 [r1823] robert: * Fixes to dds plugin from Rune. 2003-04-07 15:07 +0000 [r1822] robert: * Set the hardware mip map generation to false in TextureCubeMap since this extension is not implemented when texture cube mapping. 2003-04-07 14:57 +0000 [r1821] robert: * Set the fusion distance ratio to 1/300.0f to compensate for the coords of the hang gliding database being so small, this allow the scene to be viewed in stereo and still look a convincing size. 2003-04-07 13:20 +0000 [r1820] robert: * From Ulrich Hertlien, new osg::TextureRectangle class. 2003-04-07 12:51 +0000 [r1819] robert: * Added support for unref image data after apply in the osg::Texture* classes. Only unref's after all graphics context have been applied. 2003-04-07 10:20 +0000 [r1818] robert: * Added osgwindows example which sets up and Producer::CameraConfig up and uses that to create multiple windows. 2003-04-07 09:46 +0000 [r1817] robert: * Moved the modified tag's from osg::Texture into the osg::Texture1D,2D,3D and CubeMap classes. 2003-04-06 21:46 +0000 [r1816] robert: * Added if (!_kbmcb) to handle the case where the keyboard mouse callback is pre set. 2003-04-06 21:32 +0000 [r1815] robert: * Added the usage report to the examples for when no arguments are passed to the examples. 2003-04-06 18:18 +0000 [r1814] robert: * Fixed for new implemention osg OsgCameraGroup::setView(). 2003-04-06 13:29 +0000 [r1813] robert: * Fixed setView to work with new OsgCameraGroup::setView 2003-04-06 10:07 +0000 [r1812] robert: * Fixed handling of pixel and internal images formats. 2003-04-05 22:24 +0000 [r1811] robert: * Added support for recording animation paths in the osgProducer::Viewer. 2003-04-05 20:02 +0000 [r1810] robert: * Fixed manipulator to work correctly with new osgGA::GUIEventAdapter code. 2003-04-05 19:54 +0000 [r1809] robert: * Added Images/ infront of dog_left and dog_right images. 2003-04-05 19:40 +0000 [r1808] robert: * Added a couple ability of offset the images relative to each other horizontally and vertically to allow better comenstation for mismatched imagery. 2003-04-05 07:19 +0000 [r1807] robert: * Improvements to the handling of warp pointer call on start up. 2003-04-05 07:11 +0000 [r1806] robert: * Fixed the drive manipulator so its height is now 1.5m and the buffer size if 2.0m. 2003-04-04 19:10 +0000 [r1805] robert: * Implemented support for float x and y mouse positions, and normalization of mouse coords in osgGA::GUIEventAdapter, and ported osgGA camera manaipulators to use the new normalized values. Moved osgProducer across to tracking the window dimensions and ensure that the internals values in osgProducer::EventAdapter are kept consistent. Moved the warp pointer in Viewer across to using KeyboardMouse::positionPointer(). 2003-04-04 15:22 +0000 [r1804] robert: * Removal of trailing \ from end of couple lines in cygwin path. 2003-04-04 11:06 +0000 [r1803] robert: * Improved support for toggle between full screen and non fullscreen in the osgProducer::Viewer. 2003-04-04 08:39 +0000 [r1802] robert: * Added code to set the colour of each geometry to white to prevent colours from the text being inherited. 2003-04-03 21:00 +0000 [r1801] robert: * Suported for mip mapping added by Rune. 2003-04-03 14:12 +0000 [r1800] robert: * Fixes to the multipipe initialization. 2003-04-03 08:14 +0000 [r1799] don: * Changes to fix compiles on Mac OS X 2003-04-03 07:37 +0000 [r1798] robert: * Fixes for Win32 - removed second copy constructor from protected section in ReaderWriterLOGO.cpp, and add osgText as a dependancy to osgtexture3D example app. 2003-04-03 07:31 +0000 [r1797] robert: * Added osgText dependancy to osgtexture2D demo. 2003-04-02 20:43 +0000 [r1796] robert: * Added GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB etc to the Texture header to allow compilation across platforms. 2003-04-02 19:41 +0000 [r1795] robert: * Fixes to the dds plugin. 2003-04-02 18:26 +0000 [r1794] robert: * From Rune Schmidt Jensen - new dds loader. 2003-04-02 14:54 +0000 [r1793] robert: * Removed OSX override override of PLUGIN_DIRS. 2003-04-02 11:57 +0000 [r1792] robert: * Changed colour of anisotropic text in osgtexture2D example. Removed the save test.osg call in osgkeyboard. 2003-04-02 10:50 +0000 [r1791] robert: * Added support for min pixel size, max pixel size and max visable distance to osgSim::LightPointNode, the max pixel size from was originally in osg::LightPoint. Added additional get/set methods to osg::LightPointNode. Increased the compute pixel size by a ratio 1.41 (sqrtf(2)) to correlate the computed size with the actual size seen on screen. 2003-04-02 08:22 +0000 [r1790] robert: * Added prefix's to ApplicationUsageProxy's and made them static to help prevent problems under OSX. 2003-04-01 20:52 +0000 [r1789] robert: * Fixed std::string usage so that std::string::size_type is used where appropriate. 2003-04-01 20:32 +0000 [r1788] robert: * Fixes to osg::Texture's handling of anisotropy updating and hardware generate mip mapping. Added switching off generate mip map from osgText::Font.cpp. Changed savedmodel.osg to saved_model.osg in ViewerEventHandler. 2003-04-01 18:50 +0000 [r1787] robert: * Changed unsigned int to std::string::size_type. 2003-04-01 18:42 +0000 [r1785-1786] robert: * Added convinience constructor. * Added futher debugging messages to track down the x86-64 crash. 2003-04-01 18:35 +0000 [r1784] robert: * Used notify for reporting the keypressing to the commandline. 2003-04-01 16:00 +0000 [r1783] robert: * New osgtexture2D example code. 2003-04-01 15:13 +0000 [r1782] robert: * Moved the logo plugins from the osgPlugins/logos directory to osgPlugins/logo to make it consistent with the naming of the plugin. 2003-04-01 15:08 +0000 [r1781] robert: * Bug spotted and fix by Sébastien Kuntz. Changed < to <= on Geometry.cpp, in removePrimitiveSet(), if( i+numElementsToRemove<_primitives.size() ) 2003-04-01 13:16 +0000 [r1780] robert: * From Macro Jez, fixes to logo plugin under VS. 2003-04-01 12:00 +0000 [r1779] robert: * Updated NEWS. Removed writing of test.osg from osgstereoimage. 2003-04-01 11:55 +0000 [r1777-1778] robert: * Added timer code to the init in OsgCameraGroup. Made the stats view 20 frames rather than 6. * Cleaned up the reset of the vertex arrays in osg::State. 2003-04-01 11:49 +0000 [r1776] robert: * Improved handling of subloading. Removed the rescalling of images in osg::Image during texture apply, moving the rescale so it is locally calculated. This solves an outstanding threading problem which occured by multiple draw threads all tried to rescale the same image at one time. Made osg::Image ptr in osg::Texture2D non mutable as it is no longer modified during apply. 2003-04-01 11:38 +0000 [r1775] robert: * From Marco, fix to the path of the osgPlugin logo. 2003-04-01 08:47 +0000 [r1774] robert: * Added extra debugging messages into the ArgumentParser::reportRemainingOptionsAsUnrecognized(ErrorSeverity severity) method to help track down a crash under x86-64. 2003-03-31 21:41 +0000 [r1773] robert: * Implemented load and subload methods in osg::Texture/Texture2D. 2003-03-31 12:48 +0000 [r1772] robert: * Made the default transparent bin be bin number 10 rather than 1 to allow more bins between it and the default opaque bin of 0. Added a check for compressed image format in osg::Texture. 2003-03-31 11:25 +0000 [r1771] robert: * Adding reseting of the array pointers to the dirty methods. 2003-03-30 11:10 +0000 [r1770] robert: * Removed closeLibrary reference for osgtext as this was causing problems with the osgtext help. 2003-03-29 22:07 +0000 [r1769] robert: * Change the className() functions from non const to const to be consistent with the osg::Object definition. 2003-03-28 10:04 +0000 [r1768] robert: * Added Escape to the help list. Changed the help key from '?' to 'h' 2003-03-27 18:56 +0000 [r1767] robert: * Moved demo references acros to being example references. 2003-03-27 18:42 +0000 [r1766] don: * Fixed installation of demo source from src/Demos to examples 2003-03-27 17:20 +0000 [r1763-1765] robert: * Changed private to protected. * Fixed typo. * Added -losgGA to keep things compiling across platforms. 2003-03-27 14:39 +0000 [r1762] robert: * Improved stats. 2003-03-27 13:51 +0000 [r1761] robert: * Added -osgText to GNUMakefiles. 2003-03-27 10:58 +0000 [r1760] robert: * Changed the background pixel colour to white, but kept the alpha value zero. This has been done to improve the quality of the mip mapping of text. 2003-03-27 10:54 +0000 [r1759] robert: * Updates to utilise the new Producer keyboard bindings. 2003-03-26 20:11 +0000 [r1758] robert: * Added osgText dependency to osgProducer lib. 2003-03-26 16:48 +0000 [r1757] robert: * Improved the stats reporting. 2003-03-26 12:50 +0000 [r1756] robert: * Added help support for display help on screen to osgProducer::Viewer. 2003-03-25 15:48 +0000 [r1755] robert: * Tweak the tex coords of fonts slightly to avoid cut off of text. 2003-03-25 15:45 +0000 [r1754] robert: * Fixed axis alignment bug in text, which occured what text was placed on the XZ or YZ planes. 2003-03-25 15:13 +0000 [r1753] robert: * Added a ViewerEventHandler which manages full screen, file write, and help output to osgProducer. Removed FullSreenEventHandler as it is now superseeded by ViewerEventHandler. 2003-03-25 13:57 +0000 [r1752] robert: * Added osgkeyboard to the ./runexamples.bat. Made osgstereoimage exit when non files have been loaded. Added non const getText() method. 2003-03-25 13:01 +0000 [r1751] robert: * Spotted by Brede - missing ! 2003-03-25 12:44 +0000 [r1749-1750] robert: * Added text input field to the osgkeyboard demo. * Added back into the win32 build of KeyboardMouseCallback the check against VK_ESCAPE. 2003-03-25 11:28 +0000 [r1748] robert: * Added futher keys to complete the keyboard. 2003-03-25 10:05 +0000 [r1747] robert: * Added a viewer.sync to the end of all the demos. Removed the Win32 remapping of keycodes from the osgProducer::EventAdapter. 2003-03-24 23:12 +0000 [r1746] robert: * Added osgText dependency to osgkeyboard demo. 2003-03-24 23:02 +0000 [r1745] don: * changes to makedefs to support AMD 64 bit 2003-03-24 21:17 +0000 [r1744] robert: * Added new osgkeyboad example. 2003-03-24 15:21 +0000 [r1743] robert: * Fixed typo. 2003-03-24 15:13 +0000 [r1742] robert: * Added support for remapping of Win32 key symbols to osgGA::GUIEventAdpater::KeySymbols. 2003-03-24 13:43 +0000 [r1741] robert: * Added osgGA::GUIEventAdapter::KeySymbol enumate list, which is a remapping of the X settings. Added a pass through of X11 sybmbols from Producer to osgGA::GUIEventAdapter::KeySymbol in the osgProducer::EventAdapter. 2003-03-24 09:37 +0000 [r1740] robert: * Redid logo dsp. 2003-03-24 08:42 +0000 [r1739] robert: * Made the osgGA::GUIEventHandler sublassed from osg::Object as a virtual inheritence to allow handler to also be used as node callbacks. Fix to UpdateVisitor to make the visitation of Drawable more consistent with the way that nodes are traversed. 2003-03-23 20:39 +0000 [r1737-1738] robert: * Added Producer.lib to osgstereoimage demo. * Converted to windows endings. 2003-03-22 20:35 +0000 [r1736] robert: * Revamp of the osgstereoimage demo to provide a presentation tool for up comming "In Your Face" shows held at the Glasgow Science Center. 2003-03-22 09:48 +0000 [r1735] robert: * Added a traverseGeode method to the UpdateVisitor which contains the traversal code for both the nodes traversal and the drawables the geode contains. 2003-03-21 22:32 +0000 [r1734] robert: * Added using namespace osg and removed osg:: from CopyOp's as this was causing problems with VisualStudio's scoping bug. 2003-03-21 08:30 +0000 [r1733] robert: * Added Prodcuer.lib and PThread*.lib to the osgcluster example. 2003-03-20 22:13 +0000 [r1732] robert: * Duplicated the handling of 64 bit linux builds for ia64 and x86_64 and placed them under the seperate paths for Intel vs GNU compilers. 2003-03-20 21:26 +0000 [r1731] robert: * Added -m64 -DARCH64 option to Linux 64 bit build. 2003-03-20 20:38 +0000 [r1730] robert: * Add osg:: infront of CopyOp instances. 2003-03-20 17:24 +0000 [r1729] robert: * Added overide of the SceneHandler::clear() making it a no-op. Will revisit this implemention later. 2003-03-20 17:00 +0000 [r1728] robert: * Updates to osgProducer and osgstereoimage for stereo support. Changed the default distance from the scene of the home position of the trackball and flight manipulators. 2003-03-20 14:07 +0000 [r1727] robert: * Added support for setting up VisualChoose with destination alpha, stencil and quad buffers attributes from DisplaySettings values. 2003-03-20 08:58 +0000 [r1726] robert: * Changed the shadow texture implemention to use CLAMP_TO_BORDER for the WRAP_S and _T modes. Also set the border colour to 1,1,1,1 to ensure problem blending. 2003-03-20 08:46 +0000 [r1725] don: * Somehow the logo plugin got left out of the windows build. Adding it back in. (Needed for BMV) 2003-03-20 08:43 +0000 [r1724] robert: * Added missing setInterleavedArray( InterleaveArrayType format, float *ia, GLuint *iai ) method. 2003-03-19 21:46 +0000 [r1723] robert: * Added Endian test header to the core osg, and add use of the new getCpuByteOrder test in LightPointDrawable. 2003-03-19 21:14 +0000 [r1722] robert: * Added getCameraManipulator(unsigned int) method. 2003-03-19 15:57 +0000 [r1721] robert: * Added sync at the end of the main loop to prevent seg fault on exit. 2003-03-19 15:49 +0000 [r1720] robert: * First pass fix at implementing requestWarpPointer. 2003-03-19 15:37 +0000 [r1719] don: * Adjusted date format for versionrules 2003-03-19 14:27 +0000 [r1718] robert: * Addd a full screen toggle event handler to osgProducer & its viewer base class. 2003-03-19 12:06 +0000 [r1717] robert: * Added a realize callback to the OsgCameraGroup. Move osgtexture3D across to using the new realize callback for creating its textures. 2003-03-19 10:28 +0000 [r1716] robert: * Fixed crash in osgoccluder which was calling setUpViewer and the osgProducer/Viewer was assuming that the update was always set. 2003-03-19 02:31 +0000 [r1715] don: * Fixed a globalState setting order in OsgCameraGroup::realize() 2003-03-18 20:27 +0000 [r1714] robert: * Chaned the OsgCameraGroup so that its scene handler list used ref_ptr<> for robustly managing memory. 2003-03-18 20:10 +0000 [r1713] robert: * Added a clear of allocated Records and the cache's in flt::Registry to prevent memory leaks and unneccesary references to model models remaining beyond the scope of the loader. 2003-03-18 20:02 +0000 [r1712] don: * Set VERSION_RELEASE back to 3, replaced guards in include/osg/Verson to OSG_VERSION_ with trailing underscore 2003-03-18 19:42 +0000 [r1711] robert: * From Tree, added SG_EXPORT to the inner classes for Java binding work. 2003-03-18 18:40 +0000 [r1710] don: * Added support for versioning to the build system 2003-03-18 09:29 +0000 [r1709] robert: * From Tree, ushort renamed GLushort 2003-03-17 22:53 +0000 [r1708] robert: * Implemented a object cache in osgDB::Registry. 2003-03-17 20:08 +0000 [r1707] robert: * Added inc and links for local Producer. 2003-03-17 09:51 +0000 [r1706] robert: * break from osgcluster main loop added for when the master send a killed messsage to slaves. 2003-03-16 22:00 +0000 [r1704-1705] robert: * Fixes for new beta release of VS.NET * Fixes to osgcluster demo as new Producer based example. Added extra pragrma remove a warning about float to int cast under VS.NET. 2003-03-15 20:41 +0000 [r1703] robert: * Removed the GNUMakefile for the old Demos directory. 2003-03-15 20:20 +0000 [r1702] robert: * Removed osgGLUT and Demos/*. Integrated Marco's updated examples/*/*.dsp's. 2003-03-15 16:41 +0000 [r1701] robert: * Added osgpbuffer example source. 2003-03-15 09:20 +0000 [r1700] robert: * Added VisualStudio .dsp's for the new osgProducer based examples. 2003-03-15 08:01 +0000 [r1699] don: * Added -losgGA to all GNUmakefiles in examples. Added one std:: in front of an endl in osgunittests.cpp 2003-03-14 21:01 +0000 [r1698] robert: * Moved code across to use the new ArgumentParser. 2003-03-14 20:35 +0000 [r1697] robert: * Ported osgGLUT based src/Demos across to being osgProducer based, and placed them in the new examples/ directory. 2003-03-14 10:49 +0000 [r1696] robert: * Ported all glut based demos across to using the new osg::ArgumentParser. 2003-03-14 09:28 +0000 [r1695] robert: * The wrong file name was being used readFontFile. 2003-03-14 02:29 +0000 [r1694] don: * Removed the building of the osgTXP library so the build system builds only the plugin. Building both the plugin and the library causes a race condition during parallel makes. 2003-03-13 14:29 +0000 [r1693] robert: * Reverted Don's changed of sqrtf to sqrt. Don't understand why the change was required, suggest a problem elsewhere which should be fixed, *not* by modification of Vec2. 2003-03-13 09:22 +0000 [r1692] robert: * From Gabor Dorka, Added d to /MDd option for debug build of osgText. 2003-03-13 06:22 +0000 [r1691] don: * Fixes for Mac OS X 2003-03-13 02:53 +0000 [r1690] don: * Various changes to the BUILD system: o Object files now go in subdirectories named $(OS)$(ARCH).Opt and $(OS)$(ARCH).Debug for OS's that support both architectures. eg. Linux32.Opt and Linux32.Debug o Libraries links are now placed in lib/$(OS)$(ARCH) eg. lib/Linux32/ o Binaries are now placed in bin/$(OS)$(ARCH) eg. bin/Linux32 o 'make install' and 'make instlinks' now place files/links in /usr/local/{include,lib,share/OpenSceneGraph} by default on most systems (Solaris still goes in /opt/OpenSceneGraph). Rather than having the somwehat confusing INST_SYS_PREFIX and INST_SHARE_PREFX, you can override these with just INST_LOCATION For example, make INST_LOCATION=/usr will place files at /usr/include, /usr/lib, /usr/share/OpenSceneGraph. 2003-03-12 21:02 +0000 [r1689] robert: * Changed the GNUMakefile for the osgproducer demo to use INC += instead of CXXFLAGS. 2003-03-12 20:10 +0000 [r1688] don: * Removed osgPlugins from lib, which is now built on the fly 2003-03-12 15:36 +0000 [r1687] robert: * Fix from Gabor for proper casting of char's to unsigned ints be setting up the osgText::String. 2003-03-12 14:01 +0000 [r1686] robert: * Moved the platform specific directory defs out of makedefs into makediredefs, and have standardised onto single instances where possible. 2003-03-12 13:54 +0000 [r1685] robert: * Added 'w' toggle to StateSetManipulator to toggle between filled, line and point polygon drawing modes. 2003-03-12 12:17 +0000 [r1684] robert: * Changed std::min to osg::minimum. 2003-03-12 11:50 +0000 [r1683] robert: * Added -losgText 2003-03-12 11:36 +0000 [r1682] robert: * Added missing osghud Makefile. 2003-03-12 10:39 +0000 [r1681] don: * 1) Replaced all Makefile* with GNUmakefile*. 2) Changed Makedepend system to make individual dependency files, which should save time rebuilding dependencies by limiting the regeneration of dependency file for only modified source files. 2003-03-12 09:45 +0000 [r1680] robert: * Added (unsigned int) cast to the call to osg::minimum. 2003-03-11 21:53 +0000 [r1679] robert: * Added setBound() method to Drawable. 2003-03-11 21:42 +0000 [r1678] robert: * Added missing osg:: to StateAttribute. 2003-03-11 15:25 +0000 [r1677] robert: * Added support for AbortRendering flag pointer in osg::State which is used by osgUtil::RenderLeaf to test if any abort state has been set, if so it doesn't do any further drawing. The osgProducer::Viewer has been set up to set the osg::State's it manages with their AbortRendering flag pointers set to the osgProducer::Viewer::_done memeber varaible. Now when escape is pressed the rendering is aborted early. 2003-03-11 13:30 +0000 [r1676] robert: * Bug fixes to osgText to handle the osgUtil::Optimizer being used on a scene graph containing text. Fixed warning in MD2 plugin. 2003-03-11 13:24 +0000 [r1675] robert: * Added missing osgDB:: to writeArray() usage. 2003-03-10 16:40 +0000 [r1674] robert: * Improvements to the Text .osg support. 2003-03-10 12:06 +0000 [r1673] robert: * Addded new osgProducer based osgreflect demo. 2003-03-10 11:59 +0000 [r1671-1672] robert: * Moved the RenderLeaf implementatation across to always applying matrices before state, which fixes problem that can occur with state that needs the current model view or projection matrices. Changes osgreflect so that it uses ClipNode rather than clip plane, thereby fixing the problems which occur when the above is applied. Create a new osgProducer version of the original GLUT based version. * Marged new getLibaryMethod added by Daniel. 2003-03-10 09:15 +0000 [r1670] robert: * Moved the remain inline osg::Font methods into Font.cpp to avoid problems with the impossibly stupid visual studio compilers. 2003-03-08 21:39 +0000 [r1669] robert: * Fixed examples/osghud and osgtext Makefile's to include osgText. 2003-03-08 09:51 +0000 [r1668] robert: * Removed the OSGTEXT_EXPORT symbol from FontImplementation to avoid problems under VisualStudio. 2003-03-07 21:05 +0000 [r1667] robert: * Fixes for IRIX build. 2003-03-07 09:04 +0000 [r1666] robert: * From Daniel Sjolie, support for light source. 2003-03-07 08:52 +0000 [r1665] robert: * Fix to comment record and longID length using both inbedded null's and rec length to determine the length of a string. 2003-03-06 21:35 +0000 [r1664] robert: * Added maximum width and maximum height limits to the osgText::Text which automatically wraps text which goes beyond these limits. 2003-03-06 19:41 +0000 [r1663] robert: * Reverted the changes to ref_ptr<> for implicit cast to pointer. 2003-03-06 17:11 +0000 [r1662] robert: * Changed the osgText::Font implementation so it used a facade us abstract away the actual implemention. This has been done so that when a freetype font is created the implementation can unloaded when the freetype plugin is unloaded without breaking the main font. Also add image margin around founds to prevent any image boundaries appearing. 2003-03-06 13:45 +0000 [r1661] robert: * Reverted the ref_ptr<> implementation to prior implicit cast operator via commenting out// #define AUTOMATIC_CAST_TO_POINTER. 2003-03-06 11:18 +0000 [r1660] robert: * Renamed Text::TextString String. 2003-03-06 10:38 +0000 [r1658-1659] robert: * Fixed the setInterleavedArray call. * Add #ifndef's around the comparison operator's against const T* now that the implicit cast operator has been added. 2003-03-05 21:05 +0000 [r1655-1657] robert: * Added osgText::String implementation to better handle decoding of encoded text. * Added implicit cast to T* to ref_ptr<>. * Made the State::setInterleavedArrays method use a const GLvoid*. 2003-03-05 20:18 +0000 [r1654] robert: * Fix for non standard compiliant Forte compilers. 2003-03-05 19:31 +0000 [r1653] don: * added directives for intel compilers 2003-03-05 14:02 +0000 [r1652] robert: * Fixes for Win32 build. 2003-03-05 12:28 +0000 [r1651] robert: * Updates to the GLUT and Producer text demo. Fix to text to better handle unsetting of vertex arrays. 2003-03-05 09:56 +0000 [r1650] robert: * Added md2 plugin from Vladimir Vukicevic. 2003-03-05 09:08 +0000 [r1649] robert: * Updates to Text for Sun Forte compilers. 2003-03-04 19:52 +0000 [r1648] robert: * Added std:: infront of cout references. 2003-03-04 17:14 +0000 [r1647] robert: * Updates to the new osgtext example and fix to the friend usage. 2003-03-04 15:47 +0000 [r1646] robert: * Added support for using the generate mip map extension within osgText. 2003-03-04 14:25 +0000 [r1645] robert: * Added osgProducer project to larget list. 2003-03-04 14:17 +0000 [r1644] robert: * Added osgProducer project file. 2003-03-04 12:34 +0000 [r1643] robert: * Further improvements to osgText and the freetype plugin, handling different font sizes better and plugin removal safely. 2003-03-04 09:08 +0000 [r1642] robert: * Renamed "libunfreetype.lib" to "freetype.lib" 2003-03-03 22:47 +0000 [r1641] robert: * Added examples/osghud - a osgProducer port of the old osghud demo. 2003-03-03 22:18 +0000 [r1640] robert: * Updates osghud demo. Compile fixes for VisualStudio6.0 because its a hideous pile of junk and can't compile its way out of a paper bag. 2003-03-03 20:28 +0000 [r1639] robert: * Fix for warning under Windows. 2003-03-03 20:24 +0000 [r1638] robert: * Typo fix. 2003-03-03 20:12 +0000 [r1637] robert: * Compile fixes to osgText. 2003-03-03 16:42 +0000 [r1636] robert: * Added search path to osgText::readFontFile. 2003-03-03 16:12 +0000 [r1635] robert: * Changed the ownership of Glyph's so that GlyphTexture's own a reference to Glyph's as well as Font's so keeping the Font valid even after the Font itself has been desctructed. 2003-03-03 15:36 +0000 [r1634] robert: * Fixes to osgText for default parameter. 2003-03-03 11:04 +0000 [r1632-1633] robert: * Fixes for the new osg::Image::setImage() parameter, from Ulrich Hertlein. * Updates to the quicktime plugin from Bob Kuehne. 2003-03-03 10:20 +0000 [r1631] robert: * Added project file for new freetype plugin. 2003-03-03 09:37 +0000 [r1630] robert: * Added support for computing bounds of text. 2003-03-02 21:05 +0000 [r1629] robert: * First cut of new osgText implementation. 2003-02-27 08:43 +0000 [r1628] robert: * Changed incorrect instance "TRUE" to "FALSE" to match DepthMask state. 2003-02-27 08:38 +0000 [r1627] robert: * Changed the title of the ReaderWriter, removing the "Default" word as its no longer appropriate. 2003-02-25 21:00 +0000 [r1626] robert: * Added using namespace Producer to get round scoping issues associated with trying to support VS6 and the rest of the compiler world. 2003-02-25 12:28 +0000 [r1625] robert: * Renamed osgProducer::CameraGroup and SceneHandler to OsgCameraGroup and OsgSceneHandler to avoid the namespace bug under VS6. Removed the osgproducer demo (its now been replaced by examples/osgviewer.) 2003-02-25 11:56 +0000 [r1624] robert: * Added osg::Image::AllocationMode enum and associated set/get methods. osg::Image::setImage has also been modified to require the AllocationMode mode to be passed to it so that it knows how to delete the data once the image goes out of scope. Port the image plugins across to specify the new AllocationMode, and converted them across to using new/delete in place of malloc/free. 2003-02-24 12:02 +0000 [r1623] robert: * Implemented an osg::minimum and osg::maximum template functions to replace the std::min/max functions previously used in parts of the osg, since the std::min/max methods do not seem implemented under IRIX. 2003-02-23 17:01 +0000 [r1622] robert: * Ported osgstereoimage to use osgProducer, added it to the examples directory. Added a osgProducer::CameraGroup::getSceneHanderList() methods. 2003-02-23 15:50 +0000 [r1621] robert: * Fixes to try and keep OSX and Win32 compiling with the new usage of std::max. 2003-02-21 20:22 +0000 [r1620] robert: * Added #include to keep OSX build compiling. Reverted the mymax implementation to std::max, hopefully this should be ok now that we have standardised on non native STL under VisualStudio. 2003-02-21 14:05 +0000 [r1619] robert: * Added examples directory, a place for all new OSG demo code. Added osgcameragroup, osgviewer, osgtext, osgconv to the new examples directory. 2003-02-20 21:58 +0000 [r1618] robert: * Added std:: infront of cout. 2003-02-20 21:52 +0000 [r1617] robert: * Changed the license details across to OSGPL instead of GPL. 2003-02-19 21:37 +0000 [r1616] robert: * Added missing std:: infront of string usage. 2003-02-19 11:32 +0000 [r1615] robert: * Added check into the application usage list of command line args for unrecognized options to prevent unprocessed, but valid options being classed as unrecognized. 2003-02-19 10:43 +0000 [r1614] robert: * Added keyboard mouse binding usage to the osg::ApplicationUsage and osgGA::GUIEventHandler and its subclasses. 2003-02-18 21:58 +0000 [r1613] robert: * Completed first pass at providing commandline option usage via the new osg::ArgumentPareser and osg::ApplicationUsage classes. The osgproducer demo has been implemented using these new mechansims. 2003-02-18 21:10 +0000 [r1612] robert: * Made the osg::ApplicationUsage forward declared. Added include of ostream to ArgumentParser header. 2003-02-18 19:45 +0000 [r1611] don: * std::cout replaced cout 2003-02-18 16:36 +0000 [r1610] robert: * Added new osg::ApplicationUsage and osg::ArgumentParser to help streamline application/example developement. 2003-02-18 14:00 +0000 [r1609] robert: * Removed non implemented method convertWideString(const char* text) from header 2003-02-18 11:33 +0000 [r1608] robert: * Added reference to Group in the RegisterDotOsgWrapperProxy. 2003-02-18 10:50 +0000 [r1607] robert: * Added missing ; 2003-02-18 09:12 +0000 [r1606] robert: * Removed linking to osgGLUT/GLUT in the osgconv program. 2003-02-15 19:51 +0000 [r1605] robert: * Fixes to RenderToTextureStage to account for the cull/draw traversal no longer using reference counting of statesets. Moved last uint reference over to unsigned int. 2003-02-14 22:32 +0000 [r1604] robert: * Moved osghanglide back to pure osgGLUT based, removing osgProducer pathways. 2003-02-14 20:27 +0000 [r1603] robert: * More work on uint -> unsigned int. 2003-02-14 19:47 +0000 [r1602] robert: * MOre work on uint -> unsigned int. 2003-02-14 16:52 +0000 [r1601] robert: * Renamed futher uint/ushort instances. 2003-02-14 11:41 +0000 [r1600] robert: * Removed last of the uint references. 2003-02-13 15:37 +0000 [r1599] robert: * Added support for ClipNode in the .osg plugin. 2003-02-13 15:16 +0000 [r1598] robert: * From Geoff Michel, updates to the Geo plugin. Removed osg::uint reference form the pfb plugin. 2003-02-12 19:20 +0000 [r1597] robert: * Removed include/osg/Types header defining osg::ubyte, osg::ushort etc. Changed any reference to these in the distribution across to using unsigned char, unsigned short etc. This has been done to keep the OSG code more opaque to what types are. 2003-02-12 14:39 +0000 [r1596] robert: * Merged linkage changes from Duncan Cavens to help the OSG osgtext and osghud demo's build cleanly even when a previous version of the OSG is installed. 2003-02-12 12:02 +0000 [r1595] robert: * From Norman Vine, updates to TXP plugin so that the Cygwin build uses pthreads. 2003-02-12 10:10 +0000 [r1594] robert: * Add if (!textureStateSet) return check to replace assert() to prevent crashes when multi-texture layers don't exist. 2003-02-12 09:52 +0000 [r1593] robert: * Added if (!null) guard around description strings. 2003-02-11 19:23 +0000 [r1592] don: * From Tom Jolley: I was converting a pfb file to osg and had trouble with a missing image library. I added -all in front of -limage where PFLIBS is defined in Make/makedefs to solve my problem. 2003-02-11 15:54 +0000 [r1591] robert: * Made the Professional services subscript optional - use "osglogo ps" to enable it. 2003-02-11 12:37 +0000 [r1590] robert: * Clean up of the logo demo. 2003-02-10 22:15 +0000 [r1589] don: * Used INC instead of CXXFLAGS GVS: ---------------------------------------------------------------------- 2003-02-10 16:48 +0000 [r1588] robert: * Removed the osg::notify() calls from the RenderBin prototype construction to avoid problems under OSX with construction/deletion of std::cout/cerr. 2003-02-10 15:16 +0000 [r1587] robert: * From Geoff Michel, updates to the Geo loader including handling of .geo files from the rc1 of the GEO modeller. 2003-02-10 15:01 +0000 [r1586] robert: * From Tree, added support for using wchar_t strings with osg::Text/EncodedText. 2003-02-10 14:47 +0000 [r1585] robert: * Updates from Ulrich for sharing of textures. 2003-02-10 14:31 +0000 [r1584] robert: * Rename of INSTALL to INSTALL.txt, etc. to help OSX case insentivity issues. 2003-02-10 14:23 +0000 [r1583] robert: * Changed int to GLint for OSX build. 2003-02-10 13:58 +0000 [r1582] robert: * Minor fixes to ReaderWriter and Paragraph to help work with use of Doxygen. Fix to CullVisior to handle the new no referenced counted cull and draw traversal. 2003-02-05 23:13 +0000 [r1581] don: * Right, em.... fixed eh.. problem with destruction of RenderBin prototype list 2003-01-31 23:46 +0000 [r1580] robert: * Fixed infinite loop in osgProducer::CameraGroup::advance(). 2003-01-31 00:44 +0000 [r1579] robert: * Port of osghangglide to use osg producer. Default build still uses GLUT. 2003-01-30 23:02 +0000 [r1578] robert: * Added FrameStats support into osgProducer lib, and removed them from the osgproducer demo. Removed the producer config files osgproducer demo. Added a search the osgDB::DataFilePath for the producer config file. 2003-01-30 21:46 +0000 [r1577] robert: * Fix for endianess of colour set up of RGBA values. 2003-01-30 16:11 +0000 [r1576] robert: * Fixed warning in osgText Added getBound() to begining of osgProducer::CameraGroup::frame() to ensure that the parallel cull traversals don't all do a getBound(). Added osgProducer::CameraGroup::getTopMostSceneData() convinience method. 2003-01-30 01:31 +0000 [r1575] robert: * From Max, fixes to UniCode support for bitmap fonts. 2003-01-30 00:34 +0000 [r1574] robert: * Fixes to osgprerender and osgshadow scene for new cull and draw implemention without use of ref counting. New StatsEventHandler for osgprerender demo to add keyboard control of stats output. 2003-01-29 17:24 +0000 [r1573] robert: * Fixed CullVisitor::getDistanceFromEyePoint so that withLODScale is handled correctly. 2003-01-29 17:16 +0000 [r1572] robert: * Fixes for multipipe support. Addition of FrameStatsHandler to osgproducer demo to add frame stats. 2003-01-27 20:40 +0000 [r1571] don: * Fixes to osgProducer for IRIX build. 2003-01-25 00:14 +0000 [r1569] robert: * Final changes for release. 2003-01-24 23:59 +0000 [r1568] robert: * Addition for osgSim docs. 2003-01-24 23:36 +0000 [r1567] robert: * Updates docs for release. 2003-01-24 22:40 +0000 [r1566] robert: * Updates NEWS file with date of release. 2003-01-24 16:57 +0000 [r1565] robert: * Removed the inline declarations of several method implementations. 2003-01-24 15:33 +0000 [r1564] robert: * Changed the /MDd switch to /MD to remove a warning. 2003-01-24 15:12 +0000 [r1563] robert: * Added an #ifdef to osgGLUT/Window.cpp to handle the case of compiling against older versions of GLUT. 2003-01-24 12:39 +0000 [r1562] robert: * Changes to try and placate the Sun Forte compiler. 2003-01-24 10:22 +0000 [r1561] robert: * Removd the linking to the debug version of the freetype lib as this won't be included in the new OsgWin32Dependances.zip file. 2003-01-24 09:47 +0000 [r1559-1560] robert: * Added osgvertexprogram to the demo list. * Udpated the freetype 2.1.3 linked to by the osgText.dsp 2003-01-24 09:37 +0000 [r1555-1558] robert: * Added support for osg::Transform::asMatrixTransform, asPositionAttitudeTransform and as DOFTransform. * Changed the setUpViewer so it takes unisigned int to make it easier to do OR'ing of the various enumerates when passing in paramters (avoids a warning). * Fixed the formating of the Matrix output. * Added an #ifdef check around the glutSpecialUpFunc to help compile unde old version of GLUT. 2003-01-24 09:11 +0000 [r1554] robert: * Fix for impostors bug where image insert were visible, this was down to a double call to RenderStage::drawPreRenderStage(). The call to it in RenderStage inside the draw() method has been removed, leaving on the call in SceneView. 2003-01-23 22:12 +0000 [r1553] robert: * Changed the template insert(,,) method for a std::copy() implemention as it seems that the Sun Forte compiler can't handle member templates! 2003-01-23 15:12 +0000 [r1552] robert: * Added extra checks in the removal of rendundent nodes code so that description fields etc are checked. 2003-01-23 14:46 +0000 [r1551] robert: * Fix to handling of comment records and longid's. 2003-01-23 12:18 +0000 [r1550] robert: * Changed the image directory refered to in billboard demo. Updates NEWS. Changed the line endings in TextureCubeMap to unix endings. 2003-01-23 12:07 +0000 [r1549] robert: * Tweaking of the osgvertexprogram tex matrix settings. 2003-01-23 10:11 +0000 [r1548] robert: * Fixed Win32 compile problem. 2003-01-23 09:58 +0000 [r1547] robert: * Removed COPYING file as it is now replaced by the LICENSE file. 2003-01-23 08:39 +0000 [r1545-1546] robert: * Fixed typo of APPLY_MATICES_BEFORE_STATE. * Removed eroneous std:: from the from of DisplayListVector. 2003-01-22 23:40 +0000 [r1544] robert: * From Ulrich, change to the pflib includes for Performer under Linux to solve problem loading pf datasets. 2003-01-22 23:35 +0000 [r1541-1543] robert: * Added a couple more #defines for the texture cube maps that one can use. * Added support for a -c option. * Changed the implementation of the texture objects and display list to delete caches so that they use a std::vector<> swap on the internal data structures when ready to delete to minimize the amount of time that a race condition condition can happen. 2003-01-22 20:48 +0000 [r1540] robert: * Vertex program update from Brede. 2003-01-22 19:17 +0000 [r1539] robert: * Updated version numbers to 0.9.3 2003-01-22 16:49 +0000 [r1538] robert: * Fixed compute bound code which was applying offset first then rotating, rather than rotating first then offset. 2003-01-22 16:17 +0000 [r1537] robert: * Fixed handling of rotations reading from .osg of osg::Shapes. 2003-01-22 15:44 +0000 [r1536] robert: * From Daniel Sjölie, support for controlling which viewports are focusable i.e. recive mouse/keyboard events. 2003-01-22 15:30 +0000 [r1535] robert: * Clean up to the osgProducer lib and demo. 2003-01-22 12:50 +0000 [r1534] robert: * Fixed remove transform code to work with the new extra paramter require by osgUtil::Optimizer. 2003-01-22 12:25 +0000 [r1533] robert: * Changed the decal=true setting to decal=false to make sure that textured models come out lit ok. The makes the assumption that colour values on the objects and realistic, if they arn't then decal texture can produce better results.. 2003-01-22 12:06 +0000 [r1532] robert: * Fixed an Optimizer crash where if the top most node of a model was a static transform it would crash when this root was deleted. Have fixed by recognising this node as one not to remove and set it to identity instead. 2003-01-21 21:02 +0000 [r1531] robert: * Changed the local header includes from <> to "" to help the OSG compile. 2003-01-21 19:37 +0000 [r1530] robert: * Removed debugging messages. 2003-01-21 16:45 +0000 [r1529] robert: * Added new Copyright/License notice to header and source files. 2003-01-21 16:40 +0000 [r1528] robert: * Made the pre rendering texture using glCopySubImage rather than copy to image and then copy to texture, as the later was no longer working due to texture->apply ordering. 2003-01-21 16:02 +0000 [r1527] robert: * Added gaurds around alpha function value to catch erroneous values before they are passed on to the OSG. 2003-01-21 13:22 +0000 [r1526] robert: * Made a new osgproducer demo based on the new osgProducer::Viewer class. Kept the old camera group version around for future reference. 2003-01-21 13:14 +0000 [r1525] robert: * Added new osgProducer::Viewer class for putting together simple producer based viewers very quickly. 2003-01-21 09:09 +0000 [r1524] robert: * From Joseph Steel, addition of texture filter modes to txp plugin. 2003-01-20 20:40 +0000 [r1523] robert: * Made the drawable::compile(State&) method const and the DisplayListVisitor to compile even when dislay list is off. This has been done to allow subclasses of Drawable handle their own compile implementation, such as used by text. 2003-01-20 20:33 +0000 [r1522] robert: * Improvements to osgProducer lib, in particular adding a mutex lock to the init() call in SceneView to prevent init running multi-threaded. 2003-01-20 20:28 +0000 [r1521] robert: * Improvements to the handling of multiple graphics contexts. Still needs alot of work, but at least it isn't crashes in trivial cases right now. 2003-01-20 14:08 +0000 [r1519-1520] robert: * Removed the ReaderWriterFLY.cpp for the project as its no longer used. * Removed the ReaderWriterFLY demo since it was causing OSX builds to crash when running the osghangglide demo. 2003-01-20 12:41 +0000 [r1517-1518] robert: * Added the new standard copyright notice. * Added the OpenSceneGraph Public License which is a based on the WxWindows license which inturn is a modified LGPL. 2003-01-20 11:54 +0000 [r1515-1516] robert: * Clean up to the osgproducer demo. * Fixed bug in the flight and drive manipulators where they would uncontrollably shrink down to a tiny window size when one rezized the window. 2003-01-20 11:07 +0000 [r1514] robert: * Fixed osglogo demo so that is correctly set up the colour of the background. 2003-01-20 11:02 +0000 [r1513] robert: * Made the setting of default glNormal and glColor values an compile option via #ifdef USE_DEFAULT_NORMAL and USE_DEFAULT_COLOR defines respectively. 2003-01-20 10:41 +0000 [r1512] robert: * Updates from Pavel. 1. Storing color of geometry in ColorArray e.g. its don't work when lighting off. 2. Detecting of alpha channel and automatically enabling blending. 2003-01-20 09:56 +0000 [r1511] robert: * Update the ReaderWriterATTR file so that it used the definitions that Joseph Steel obtained from MPI. Removed the unique child check from the flt::PrimRecord and osg::Group, this allows more flexibility when specifing nodes, and is faster.. 2003-01-20 09:09 +0000 [r1510] robert: * From Ruben, updates to the IV/VRML1 loader to handler large datasets. 2003-01-20 08:58 +0000 [r1509] robert: * Updates to osgProducer, moving the implementation of CameraGroup and SceneHandler into the source directory. 2003-01-19 15:28 +0000 [r1508] robert: * Added osg::State::dirtyAllModes() and dirtyAllAttributes() methods. 2003-01-18 22:07 +0000 [r1507] robert: * Improvements to the osgProducer lib to better handle Producer's normalized coord system. Addition of ReadCameraConfigFile and WriteCameraConfigFile as a tempory measure for implementing local a C++ read/write of the Producer::CameraConfig, this will be removed once these implementations or similar have been moved to Producer. 2003-01-18 10:17 +0000 [r1506] robert: * Updated the KeyboardMouseCallback so this it takes into account the the new passiveMouseMotion support in Producer. 2003-01-18 09:44 +0000 [r1505] robert: * From Eric Sokolowsky, Fix for IRIX build, adding typename into the graph_array to allow the compiler to leave instation of typedefs until required. 2003-01-17 20:27 +0000 [r1504] robert: * Added comment about osgProducer to the NEWS. 2003-01-17 20:05 +0000 [r1503] robert: * Added KeyboardMouse::allowContinousMouseMotionUpdate(), but commented out right now as Producer crashes when you use it.. 2003-01-17 18:34 +0000 [r1502] robert: * Added osgProducer library to the distribution. Cleaned up the osgproducer demo, and made it work with the new osgProducer lib. 2003-01-17 16:00 +0000 [r1501] robert: * Removed the addition of 0 to the add of the encoded text vector as it is now redundent having added support for the begin,end range into FTFont. 2003-01-17 15:01 +0000 [r1500] robert: * Fixed a bug on the handling of empty EncodedText. 2003-01-17 14:12 +0000 [r1497-1499] robert: * Further improvements to the osgproducer demo. * Added new getCurrentCamaeraManipulator(), and removed and debugging message. * Removed the osg::Referenced::createCount() and deleteCount() methods and associated variables which were only compiled in on debug build. These optional methods/static vars were causingproblems when mixing debug and release builds. 2003-01-17 13:34 +0000 [r1496] robert: * Integated the trackball manipulator with the osgproducer demo. 2003-01-17 11:26 +0000 [r1495] robert: * Added ProducerEventCallback class to manager the conversion of producer events into GUIEventAdapter versions. 2003-01-16 19:27 +0000 [r1494] robert: * Added DOUBLECLICK EventType to GUIEventAdapter. 2003-01-16 16:37 +0000 [r1493] robert: * Added support for ReferenceFrame into osg::LightSource, modified the .osg plugin and cull visitor to account for this change. 2003-01-16 12:39 +0000 [r1492] robert: * Added support for frame stamping each frame. 2003-01-16 12:18 +0000 [r1491] robert: * Updates to clean up the demo. 2003-01-15 21:54 +0000 [r1490] don: * Added gstabs+ to DBGF in Linux in makedefs 2003-01-15 20:57 +0000 [r1489] robert: * Warning fix for Win32. 2003-01-15 20:53 +0000 [r1488] robert: * Added #include simply to include the #pragma's for disabling the daft VisualStudio warnings. 2003-01-15 20:50 +0000 [r1487] robert: * Made the osgDB::ParamterOutput class so that it is purely defined in terms of the header, and therefore not requiring to be exported. Updated the MUSE_READ_ME.txt to include mention of syntax highlighting. 2003-01-15 19:23 +0000 [r1486] robert: * Updates to the osgproducer demo. 2003-01-15 15:44 +0000 [r1485] robert: * Removed the -> methods from the arc class to prevent stupid warnings under VisualStudio6.0. 2003-01-15 15:24 +0000 [r1484] robert: * First cut and a demo which uses Open Producer for windowing. 2003-01-15 13:17 +0000 [r1483] robert: * Attempts to fix more of the *stupid* errors in the VisualStudio6.0 compiler. 2003-01-15 11:33 +0000 [r1482] robert: * Patch from Joseph Steel, added missing check for the mipmap usage. 2003-01-15 11:29 +0000 [r1481] robert: * Removed the template versions of the PrimitiveSet constructors as this was causing problem under VisualStudio6.0. 2003-01-14 19:12 +0000 [r1480] robert: * Fix for win32. 2003-01-14 16:39 +0000 [r1479] robert: * Fixes for Win32 build. 2003-01-14 14:25 +0000 [r1478] robert: * From Daniel Sjölie, updates to the GUIEventAdapter and GLUTEventAdapter to handle key and key down, modifiers and funcion keys. 2003-01-14 14:21 +0000 [r1477] robert: * Added an compile in option of applying the matrices before state in the RenderLeaf apply method. This order is intended to help support of vertex programming, but unfortunately breaks the osgreflect demo so the original ordering is kept by default. 2003-01-14 14:00 +0000 [r1476] robert: * Submission from Joseph Stell, added LoadModels to TerrapageNode. 2003-01-14 12:36 +0000 [r1475] robert: * Fixed typo. 2003-01-14 10:54 +0000 [r1474] robert: * Replaced the NVTriStrip code with tri_stripper written by Tanguy Fautré. 2003-01-13 20:14 +0000 [r1473] robert: * Typo fix if USE_HOME_POSITION. 2003-01-13 14:56 +0000 [r1472] robert: * Added handling of the case when length is -1, allowing the code to just test against characters being zero, rather than against length, which is now only done when a valid value of length (i.e >=0) is passed in. 2003-01-13 14:11 +0000 [r1471] robert: * Clean up to the cross platform support in DirectX plugin. 2003-01-13 14:05 +0000 [r1470] robert: * Fixes to osgText to handle std::string correctly. 2003-01-13 10:39 +0000 [r1469] robert: * Added missing _bbox.init() to ShapeDrawable.cpp. 2003-01-11 20:56 +0000 [r1468] don: * ReaderWriterDirectX.cpp needed some std::'s 2003-01-11 20:43 +0000 [r1467] robert: * From Ulrich, fixes to double to float conversion warnings under Windows. 2003-01-11 12:50 +0000 [r1466] robert: * Moved some in inline methods in ParamterOutput into the new ParamterOutput.cpp file to clean up the interface. 2003-01-10 17:06 +0000 [r1465] robert: * Updates from Ulrich. 2003-01-10 16:56 +0000 [r1464] robert: * Added missing header for new matric reading and writing methods. 2003-01-10 09:25 +0000 [r1463] robert: * Made the more of the OSG's referenced object desctructors protected to ensure that they arn't created on the stack inappropriately. Split the implemention of Matrix up so that it is a simple no referenced counted class and can be safefly created on the stack. To support referenced counting a seperate subclass now exists, this is RefMatrix which inherits from both Matrix and Object. 2003-01-09 18:41 +0000 [r1462] robert: * Fixed typo. 2003-01-09 16:13 +0000 [r1461] robert: * Added #ifndef GL_TEXTURE_WRAP_S #define block to keep things compiling on old drivers. 2003-01-09 11:48 +0000 [r1460] robert: * Fixed typo. 2003-01-09 10:06 +0000 [r1459] robert: * Added setting of the R wrap paramter to applyTexParamters(). 2003-01-08 22:52 +0000 [r1458] robert: * From Ulrich Hertlein, DirectX .x model loader plugin. 2003-01-08 16:37 +0000 [r1457] robert: * Fix to case statement from Tree. 2003-01-08 16:33 +0000 [r1455-1456] robert: * Added Shape.cpp to cvs resposity. Shape.cpp adds support for the various osg::Shape in the .osg file format. * Cleaned up the code for the animation flags of the group record. 2003-01-08 15:22 +0000 [r1454] robert: * From Tree, support for encoded text added into osgText. 2003-01-08 14:32 +0000 [r1453] robert: * Added support for reading and writing Sphere, Box, Cone, Cylinder and Grid shapes. 2003-01-07 16:29 +0000 [r1452] robert: * Added support for sharing arrays in the .osg format for osg::Geometry. Fixed the osgUtil::Optimizater so it takes into account sharing of arrays when deciding whether an geometry can be merged or not. 2003-01-06 23:19 +0000 [r1451] robert: * Fixes for Irix64 build. 2003-01-06 16:42 +0000 [r1450] robert: * Removed the osg::LightPoint::OPAQUE option, and implemented the ADDTIVE blending option. 2003-01-06 13:45 +0000 [r1449] robert: * Fixed headers guard typo in LightPoint. Updated the NEW files. 2003-01-04 20:45 +0000 [r1445-1448] robert: * Added new ARB vertex program state attribute and demo program, sent in my Brede Johansen. * Fixed small typo. * Added usage info in -O option. * Fixed options code. 2003-01-03 21:42 +0000 [r1444] robert: * Removed the dual inheritance from the AnimationPathCallback, moving the NodeVisitor implemention into the .cpp. Small tweak to the lighpoint drawable implmenentation to improve the additive blending and state resotoration. 2003-01-02 20:10 +0000 [r1443] robert: * Added a AnimationPathCallback which can update both a MatrixTransform and a PositionAttitudeTransform, removed the equivialnt callbacks once found in these transform classes. Changed the NodeCallback class so its derived from osg::Object instead of osg::Referenced to allow it to be saved out in the .osg format. Added support for Update and Cull callbacks into the .osg file format. Added support for AnimationPathCallback into the .osg file format. 2002-12-21 19:41 +0000 [r1442] robert: * Updates the terrapage to try and make it thread "safer" when used with the OSG. 2002-12-21 11:30 +0000 [r1441] robert: * Turned display lists off in the osg::Geomety created by the terrapage loader, this is done because terrapage will dynamic page in and out geometry so we don't want to keep creating and deleting display lists. 2002-12-20 10:48 +0000 [r1440] robert: * Tweaked the colours in the logo. 2002-12-20 09:47 +0000 [r1439] robert: * From March Jez, updated the osgSim.dsp with the addition of /Op option to enable VS.NET to compile with crashes. 2002-12-20 09:43 +0000 [r1438] robert: * Renamed the app method update. 2002-12-19 19:50 +0000 [r1436-1437] don: * Update for ia64 * update for ia64 2002-12-19 15:55 +0000 [r1435] robert: * Renamed all instance of AppCallback/AppVisitor to UpdateCallback/UpdateVisitor inline with the decision to rename the "app phase" the "update phase". 2002-12-19 10:32 +0000 [r1434] robert: * Changed the remaining #include <> to #include "" to get things compiling under VS. 2002-12-18 11:43 +0000 [r1433] robert: * Removed the reference of Sequence from Switch. 2002-12-18 10:17 +0000 [r1432] robert: * Removed the osg:: from the front of the Group::computeBound() method to keep things compiling under Windows. 2002-12-18 09:50 +0000 [r1431] robert: * Changed the <*.h> to "*.h> in the terrapage plugin to get it compile under Windows. 2002-12-17 17:22 +0000 [r1430] robert: * From Daniel Sjölie, support for reading comment records into description fields. 2002-12-17 16:07 +0000 [r1429] robert: * Moved the include/osgTXP back into src/osgPlugins/txp as a seperate include directory is no longer required. Removed the osgtxp demo as it is no longer required. 2002-12-17 15:41 +0000 [r1428] robert: * Added txp::TerrapageNode to the txp plugin, and implemented the node so that it automatically assign handles the updates of eye points and database merges. 2002-12-16 21:39 +0000 [r1427] robert: * Added a few more comments on the DeleteHandler. Changed the friend struct DeleteHandler to friend class DeleteHandler. 2002-12-16 19:39 +0000 [r1426] don: * Fixed a scope issue for 3.2 compiler for friend declarattion, l ine 39 in include/osg/Referenced 2002-12-16 17:00 +0000 [r1423-1425] robert: * Moved TriangleFunctor from Drawable into its own header file. * Removed the redundent export symbol. * Removed MemoryManager. 2002-12-16 14:52 +0000 [r1422] robert: * Fix for a warning. 2002-12-16 14:12 +0000 [r1421] robert: * Removed reference to osg/MemoryManager. 2002-12-16 13:46 +0000 [r1419-1420] robert: * Renamed osgtests.bat to rundemos.bat and moved it into the root directory. * Removed the memory manager. 2002-12-16 13:40 +0000 [r1418] robert: * Converted the instance of osgNew and osgDelete back to new and delete as part of depecating the include/osg/MemoryManager 2002-12-16 13:27 +0000 [r1417] robert: * Redone the project files for osgpbuffer and osgtxp to get it to work under VisualStudio. 2002-12-16 13:14 +0000 [r1416] robert: * Fixed the traverse method so it calls Transform::traverse() instead of MatrixTransform::traverse() which was recursive.. 2002-12-16 10:28 +0000 [r1413-1415] robert: * Added seperate Referenced.cpp implementation. * 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. * Integrated further updates from Geoff on the Geo loader. 2002-12-16 10:05 +0000 [r1412] robert: * Changed the std::hex and std::dec to hex and dec to get it compile under VisualStudio, and added a using namespace std to keep it compiling on all other compilers! 2002-12-16 09:55 +0000 [r1411] robert: * Added supported for setting animation path on MatrixTransform's. 2002-12-16 00:33 +0000 [r1410] don: * Uncommented fix for returning to non-stereo from stereo to get color mask back to normal. 2002-12-15 22:42 +0000 [r1409] robert: * Updates the details on the plans for Open Procuder and osgSim. 2002-12-15 09:57 +0000 [r1408] robert: * Fixes to txp plugin for Windows. 2002-12-14 07:55 +0000 [r1407] robert: * Disabled the MemoryManager in all builds since it isn't yet thread safe. 2002-12-14 06:42 +0000 [r1406] robert: * Added a check for extension of a filename to the gif loader, since it looks like the isn't reconginizing rgb files as not being gif. 2002-12-13 20:33 +0000 [r1405] don: * Added TrPageViewer.[h,cpp] to Demos/osgtxp (moved from the plugin directory) and modified Makefile accordingly 2002-12-13 20:29 +0000 [r1403-1404] don: * Moved TrpageViewer.h to Demos/src/osgtxp * Move TrPageViewer.cpp to src/Demos/osgtxp 2002-12-13 19:41 +0000 [r1402] robert: * Merged fixes to warnings in geo plugin from Geoff. 2002-12-13 16:05 +0000 [r1401] robert: * Fixes for txp plugin. 2002-12-12 11:36 +0000 [r1399-1400] robert: * Added the axis alignment into the Outline and Texture fonts drawing. * Turned lighting off for whole of logo. 2002-12-12 11:25 +0000 [r1398] robert: * Changed the osglogo demo to use arial texured font. 2002-12-12 10:03 +0000 [r1397] robert: * Changed the colour of the text to be the same as the OpenGL logo. 2002-12-11 22:39 +0000 [r1396] robert: * Removed redundent std:: 2002-12-11 19:49 +0000 [r1395] robert: * Converted the file to unix file endings. 2002-12-11 16:27 +0000 [r1393-1394] robert: * Removed erroneous character from end of file. * Added the afteresher.geo demo to osgtest.bat and debugtests.bat. Converted the osgtxp demo to use straight string comparison instead of case sensitive string comparion to help cross platform portability. 2002-12-11 16:14 +0000 [r1392] robert: * Added osgSim to the dependancy list of the geo plugin. 2002-12-11 14:30 +0000 [r1391] robert: * Removed the duplicate file out from the GEO plugin. Changed the osglogo to reference a jpeg instead of a tiff one. 2002-12-11 14:24 +0000 [r1390] robert: * Added code to the path to the executable, adding it into the libary and data file paths. 2002-12-11 10:07 +0000 [r1389] robert: * Fixes for Win32. 2002-12-11 10:03 +0000 [r1388] robert: * Added space in bettern /D "OSGTXP_LIBRARY" and /YX to fix a compile problem under VisualStudio. 2002-12-10 21:18 +0000 [r1387] robert: * Fixes from IRIX build from Bob Kuehne. 2002-12-10 20:26 +0000 [r1386] robert: * From Ulrich Hertlien, fix for new changes in osg::Switch interface. Small clean to changes by Robert. 2002-12-10 20:00 +0000 [r1383-1385] robert: * Updates from Geoff Michel to geo loader and demo. * From Micheal Gronager, fix to osg::Quat::getRotate(..) to handle zero rotations. Port of Sequence to subclass directly from osg::Group. * Updates to the light points support to improve the control of the blending of light points with their background. 2002-12-10 17:57 +0000 [r1382] don: * Fixed endif placement for SunOS build 2002-12-09 21:03 +0000 [r1381] robert: * Added setting of the current texture unit into the applyTextureAttribute() method. 2002-12-09 09:26 +0000 [r1380] robert: * Changed cout to notify. 2002-12-09 06:00 +0000 [r1379] don: * fixed small typo (forgot std::) 2002-12-08 19:45 +0000 [r1378] robert: * Fixes for VisualStudio build of txp plugin. 2002-12-08 17:22 +0000 [r1377] robert: * Modifed the .attr loaders handling if TX_BILINEAR minification filter so that it remaps it to LINEAR_MIPMAP_LINEAR to get round image quality issue of some OpenFlight databases. 2002-12-07 21:20 +0000 [r1375-1376] robert: * Tweaks the light points blend function. * Updated the Switch, Sequence and Group classes so that they all used a similar style removeChild() mechansim. Made the old style osg::Switch::setValue() method deprecated. 2002-12-07 06:59 +0000 [r1374] don: * Cleanin' up after Robert's spelling ...er ... challenges. 2002-12-06 19:56 +0000 [r1373] don: * Typo png was npg 2002-12-06 19:03 +0000 [r1372] robert: * From Tree, added support for accept(PrimitiveFunctor) into osg::Text. Currently implemention is overly simple, but will do until rewrite. 2002-12-06 11:16 +0000 [r1371] robert: * Added checking of parents against switch and sequence into the RemoveRendundentNodeVisitor to prevent breaking of the orinal order of the nodes. 2002-12-06 09:44 +0000 [r1368-1370] robert: * From Tree, mods to help support the creation of Java bindings. * Updated NEWS * Update from Norman Vine for Cygin gcc3.2 support. 2002-12-06 09:20 +0000 [r1366-1367] robert: * Updates to the osglogo demo adding colour to the sides of the cube. * Fixes from Norman Vine for Cygwin support. 2002-12-05 15:21 +0000 [r1365] robert: * Updates to the osglogo demo. 2002-12-05 14:30 +0000 [r1364] robert: * Added Brede Johansen's osgpbuffer demo, currently only runs under Windows, requires the equivilant glx support to be added. 2002-12-05 12:43 +0000 [r1363] robert: * Norman Vine's changes for gcc 3.2 under Cygwin, moving of SG_EXPORT to after the extern declaration. 2002-12-05 12:13 +0000 [r1362] robert: * Added osglogo to test scripts. 2002-12-05 12:04 +0000 [r1361] robert: * Added first pass at a new logo, this time generated by a osglogo demo. 2002-12-05 12:01 +0000 [r1360] robert: * Added support for setting the axis which the text should be aligned along. 2002-12-04 17:34 +0000 [r1359] robert: * Fixes for Cywin gcc3.x build in GL and Math headers. Fix for VS build in osgshadowtexture. 2002-12-04 13:26 +0000 [r1358] robert: * Removed the osg:: from the from of the osg::TexGen::apply() call. 2002-12-03 17:20 +0000 [r1357] robert: * Made the callback class uses virtual inheritance of osg::Referenced to ensure that a single class can be used for two different types of callbacks whithout incurring issues of multiple ref counts and ref()/unref() methods existing. 2002-12-03 10:19 +0000 [r1356] robert: * Fixed the ifeq ($(OS),SunOS) so it was correctly on its own seperate line, and complimented by the required endif 2002-12-02 19:37 +0000 [r1355] don: * updated difference between forte compilers and gnu compilers on Solaris 2002-11-29 22:10 +0000 [r1354] don: * Modified Files: include/osgTXP/trPagePageManager.h src/Demos/osgtxp/osgtxp.cpp Added Files: VisualStudio/Demos/osgtxp/osgtxp.dsp 2002-11-29 16:14 +0000 [r1353] don: * Fixes to txp loader 2002-11-27 05:29 +0000 [r1352] don: * Made LIB's dependent on PLUGINS for directories where both are built 2002-11-25 16:57 +0000 [r1351] robert: * Added comment for future reference about the validity of using delete in the demo code... should really by using ref_ptr<> etc. 2002-11-25 16:40 +0000 [r1348-1350] robert: * Added check of translucency of an image via osg::Image::isImageTranslucent(). * Added implementation of isImageTranslucent method. * Added isImageTransulacent() method. 2002-11-25 16:30 +0000 [r1347] robert: * Added extra check to the freeing of memory. 2002-11-25 16:13 +0000 [r1346] robert: * Fixes for OSX build from Stephan Huber. 2002-11-24 21:36 +0000 [r1345] don: * Added Paging TerraPage loader and osgTXP library. 2002-11-24 00:23 +0000 [r1344] don: * Forced GLPixmapGlyph color to white rather than using glGetCurrentColor 2002-11-23 05:16 +0000 [r1343] don: * Freetype 2.1 and later align bitmap pitch on boundaries of 2 bytes. It is therefore necessary to use glPixelStorei(..,UNPACK_..., 2). There is an #if() statement that allows the continued use of freetype 2.0 (Rh 7.x), as well as accomodating newer releases. 2002-11-22 17:36 +0000 [r1342] don: * Merged in Joseph Steel's updates to rgb plugin 2002-11-22 09:46 +0000 [r1341] robert: * Warning fixes. 2002-11-22 08:23 +0000 [r1340] robert: * Adjusted tabbing. 2002-11-22 08:05 +0000 [r1339] robert: * Added d to the end of the dll name for the debug build of the ac3d loader. 2002-11-22 05:00 +0000 [r1338] don: * Fixes for IRIX build 2002-11-21 20:28 +0000 [r1337] don: * Fixed std:: prefix and reinitialized variable for gcc 3.2 2002-11-21 16:08 +0000 [r1336] robert: * Added use of ref_ptr<> for the replaced node in osg::Group::replaceChild(,) to prevent it being deleted while it was still being used with the body of the method. Added mention of the shadow texture demo. 2002-11-21 15:35 +0000 [r1335] robert: * Moved the shadow creation code into a seperate CreateShadowedScene header and source, and exposed just the basic createShadowedScene function in the header. 2002-11-21 14:54 +0000 [r1334] robert: * Clean up of the shadow texture code... 2002-11-21 14:38 +0000 [r1333] robert: * Added shadow texture demo .dsp under the correct name! 2002-11-21 13:25 +0000 [r1332] robert: * Fixed the updating of projection matrix so that is done in eye coordinates. 2002-11-21 09:07 +0000 [r1331] robert: * Added osg::Geometry::setPrimtiveSet,removePrimtiiveSet, insertPrimitiveSet and getPrimitiveSetIndex(). Renamed osg::Group::findChildNum(..) to getChildIndex(). Renamed osg::Geode::findDrawableNum(..) to getDrawableIndex(). 2002-11-21 07:53 +0000 [r1330] robert: * Fix for compile problems under IRIX. 2002-11-20 15:51 +0000 [r1329] robert: * First pass at shadow textures. 2002-11-20 14:40 +0000 [r1328] robert: * Moved the code to create StateSet around textures into flt::Pool::getTexture so that the code associated with loading textures is done is just one place. 2002-11-20 07:46 +0000 [r1326-1327] robert: * Fixed the texture apply method which was broken yesterday, the new code wasn't checking for the validity of _image before doing checks on it. This breaks when render to texture is used as there is no image to check against... Added osgshadowtexture demo source. Demos still in development, so don't expect any shadows yet... * Fixed the references osgSim project file. Added the osgshadowtexture demo project file. 2002-11-19 12:48 +0000 [r1325] robert: * Added handling of image dirty after a textyre has been bound, the texture is now updated when the image is dirty. 2002-11-19 12:26 +0000 [r1322-1324] robert: * Updated OSX defs to compile osgSim and osglightpoint * Added osglightpoint to the demo list. * Added visual workspace files for osgSim nodekit and osglightpoint demo. 2002-11-19 10:57 +0000 [r1320-1321] robert: * Added osgSim library which encapulsulates light points. Added osglightpoint demo. * Moved Drawable across to using osg::buffered_value. Added new osg::State::setInterleavedArray() method. Added new osg::Group::setNode(uint,Node*) method. Cleaned up and fixed the osg::Texture's handling of dirtyTextureParamters(). 2002-11-18 16:14 +0000 [r1319] robert: * Added setDrawable(uint,Drawable*) method. 2002-11-14 15:30 +0000 [r1318] robert: * From Jason Daly, fix for long file names on sequence nodes. 2002-11-14 09:03 +0000 [r1317] robert: * Updated the plugins so they do the extension checking with a non case sensitive comparison. 2002-11-13 13:04 +0000 [r1315] robert: * Updated NEWS and ChangeLog for the release. 2002-11-13 12:42 +0000 [r1314] robert: * Updates to docs for release 2002-11-13 11:09 +0000 [r1313] robert: * Added State::computeSecondaryColorSupported() & computeFogCoordSupported(). Updated NEWS. 2002-11-13 10:23 +0000 [r1312] robert: * Small improvement to the computation of the pixel size vector. 2002-11-12 15:50 +0000 [r1311] robert: * Fixed ansisotropic scaling problem with pixel scaling/small feature culling. 2002-11-12 13:51 +0000 [r1310] robert: * Fixed bug in stats where overdraw would be reported incorrectly. 2002-11-12 13:37 +0000 [r1308-1309] robert: * Removed debugging messages. * Fixed bug in osg::Transform's computation of a its bounding sphere, where it was erroneously using the y axis for the z axis test. 2002-11-12 10:22 +0000 [r1307] robert: * Added LEFT_EYE and RIGHT_EYE stereo to osg::DisplaySettings/osgUtil::SceneView Renamed LODBias to LODScale. 2002-11-11 20:18 +0000 [r1306] don: * Fixed a const/non-const inconsistency in NodeVisitor.cpp Fixed a blank namespace issue in UnitTestFramework.cpp 2002-11-11 16:11 +0000 [r1305] robert: * Fixes to typo of *Dirty() 2002-11-11 09:06 +0000 [r1304] robert: * Added missing demos and libs into the darwin defines. 2002-11-11 09:01 +0000 [r1303] robert: * Added a getBound() to the SceneView::app() to make sure the bounding volume is updated well before the cull traversal which can be multithreaded. 2002-11-11 08:52 +0000 [r1302] robert: * Fixed bug in osg::Node::isCullingActive(). Rnabled the automatic selection of the animation path if one is specified on the commandline in sgv. 2002-11-11 08:08 +0000 [r1301] robert: * Updates to news. 2002-11-11 08:05 +0000 [r1298-1300] robert: * Updates to doc * Fixes for MING build * Fixes to const paramter types. 2002-11-11 07:20 +0000 [r1297] robert: * *** empty log message *** 2002-11-11 07:12 +0000 [r1296] robert: * Added osgText to dependancy list of geo plugin. 2002-11-08 15:56 +0000 [r1295] robert: * Fixes to build in VS7.0 2002-11-08 14:24 +0000 [r1294] robert: * Added newly generated html files. 2002-11-08 14:15 +0000 [r1293] robert: * Checking in updates to documentition for the 0.9.2 release. 2002-11-08 14:03 +0000 [r1292] robert: * Removed deprecated API 2002-11-08 12:58 +0000 [r1289-1291] robert: * Updates version numbers to 0.9.2 * Updates to GEO loader from Geoff Michel. * Minor warning fix. 2002-11-08 12:26 +0000 [r1288] robert: * Added #define DARWIN_OSX_PRE_10_2 and related #ifdef checks to cope with backwards compatiblity with versions of OSX before 10.2. 2002-11-08 11:00 +0000 [r1287] robert: * Added GL_LIBS to the osgText/Makefile for OSX build. Fixed typo in IntersectVisitor. Fixed warnings in osgimpsotor demo. 2002-11-08 10:25 +0000 [r1286] robert: * Updates to Math for OSX build. Added 3dmodelworld.com to the data source directory. Fixed compile problem under VC6.0 in osgimpostor. 2002-11-08 08:51 +0000 [r1285] robert: * Fixes for VisualStudio6.0 build. 2002-11-08 08:45 +0000 [r1284] robert: * Removed the usage report from sgv when it fails to load a file. 2002-11-08 08:34 +0000 [r1283] robert: * Converted usage of GLuint to usigned int, in hope that it will get round the warnings generated under OSX. 2002-11-08 08:12 +0000 [r1281-1282] robert: * Commented back in LIBS into Makefile for OSX build. * Fixes for VisualStudio build and OSX build. 2002-11-08 08:00 +0000 [r1280] robert: * Added TestManipulator into osgimpostor project file. 2002-11-07 16:08 +0000 [r1279] robert: * Compile fix from Duvan Cope. 2002-11-07 15:45 +0000 [r1278] robert: * Commented out the selection of the animation path manipulator since it was somehow disabling culling?!? 2002-11-07 15:13 +0000 [r1277] robert: * Titled the view in osganimate and added the title into osgimpostor. 2002-11-07 14:44 +0000 [r1276] robert: * Renamed Primitive:: to PrimitiveSet. 2002-11-07 14:29 +0000 [r1275] robert: * Commented out the USE_DEPRECATED_API define. 2002-11-07 14:13 +0000 [r1274] robert: * Intergrated Martin Kada's impostor test program with the old test program. 2002-11-07 13:56 +0000 [r1273] robert: * Added Geoff Michel's new osggeomdemo program which allows control of geo models via the mouse. 2002-11-07 13:47 +0000 [r1272] robert: * Updates to GEO loader from Geoff Michel. 2002-11-07 08:49 +0000 [r1270-1271] robert: * Added shape drawable into dot osg plugin. * Fix for build under Linux. 2002-11-06 23:00 +0000 [r1269] don: * Oops... experiment gon awry in makerules. This works for Solaris, but not Linux, evidently. The goal was to do a dependency update on only files that had changed, since Solaris is so gawdawful slow at doing CC -xM 2002-11-06 18:39 +0000 [r1268] don: * Changed a couple of const/non-const discrpancies between header and source for TexGen. Removed external library dependencies in plugin makefiles 2002-11-06 16:04 +0000 [r1267] robert: * Fix for backwards compatibility. 2002-11-06 15:43 +0000 [r1266] robert: * Name change and const change of Drawable::drawImmediateMode(State&) to Drawable::drawImplementation(State&) const. Various updates to the rest of the OSG to accomodate this. 2002-11-06 11:15 +0000 [r1265] robert: * Added in default value of _timeScale. 2002-11-06 10:46 +0000 [r1264] robert: * Renamed ProceduralGeometry to ShapeDrawable to better reflect its current purpose. 2002-11-06 10:24 +0000 [r1263] robert: * Added support for recording camera animation paths in osgGLUT::Viewer, and fixed the osgGA::AnimationPathManipulator to handle it. Added a new Drawable::ConstAttributeFunctor and make the accept(PrimitiveFunctor) be a const method so can disallows modification. Added Drawable::supports(...) methods for each of the AttributeFunctor, ConstAttributeFunctor and PrimitiveFunctor so that programs can querry whether it is possible to use functors with that object type. 2002-11-05 07:50 +0000 [r1262] robert: * From Jason Daly, fix for 14.2 color records in versions of OpenFlight files. 2002-11-04 15:33 +0000 [r1261] robert: * From Stephan Huber, fix for OSX build. 2002-11-04 10:37 +0000 [r1260] robert: * Added std:: in front of string. 2002-11-04 09:08 +0000 [r1258-1259] robert: * From Ulrich Hertlien, added ReaderWriter::Options to the osgconv and pfb plugin so that all the pfi files can be converted to rgb be the plugin. * Fixed warning under Visual.NET 2002-11-04 08:40 +0000 [r1257] robert: * Added in guard to png loader so that it only accepts png files. This has been added since the png loader itself doesn't not seem robust enough at detecting non png files. Added a tab in to the flt code to make it more obvious what is happening in the flow of the code. 2002-11-04 08:35 +0000 [r1256] robert: * Added back in the missing flt.dsp. 2002-11-01 15:12 +0000 [r1254-1255] robert: * Added support for primitive functor into the new osg::ProceduralGeometry class * Futher fixes for VisualStudio.NET compilation. 2002-11-01 14:16 +0000 [r1253] robert: * Michael Gronage fix for aspect ratio in split stereo. 2002-11-01 12:48 +0000 [r1252] robert: * Fixed VisualStudio7.0 compile error related to an std::vector<>::iterator no longer being a pointer, fixed by using a &(*itr). 2002-11-01 12:40 +0000 [r1251] robert: * Added missing Shape and ProceduralGeometry references in the osg project file. 2002-11-01 12:20 +0000 [r1250] robert: * Futher updates to shapes support. 2002-11-01 12:11 +0000 [r1249] robert: * Added handled of invlid drawable bounding boxes. 2002-11-01 10:39 +0000 [r1248] robert: * Added export to the height field class. 2002-11-01 10:25 +0000 [r1247] robert: * Updates to Shape support. 2002-10-31 15:24 +0000 [r1246] robert: * Added a dirtyBound & diryDisplayList to the geometry merge operation in the Optimizer to fix a bug where the bouding volumes where being invildated. 2002-10-31 12:51 +0000 [r1245] robert: * From Geoff Michel, added AC3D .ac and GEO .geo loaders. 2002-10-31 10:36 +0000 [r1243-1244] robert: * Added osg::Grid shape class, and added an example of its use into the hang glide demo. * Yefei He's updates to Pool and flt2osg to use lazy loading of textures from a texture pallette. 2002-10-30 13:27 +0000 [r1242] robert: * Added first cut of new primtive shapes support. 2002-10-30 12:58 +0000 [r1240-1241] robert: * Removal of more redundent const base types. * Updated osgText .osg support so that it handles text via the osgDB::Outpur::wrapString() method. 2002-10-30 10:07 +0000 [r1239] robert: * Fixed addChild(node,value) so that it resizes using the _newChildDefaultValue rather than the add child value, then sets the child's value to value. 2002-10-28 12:55 +0000 [r1238] robert: * Updated the handling of string in the .osg reading and writing so that it handles the use of " quotes inside the string. 2002-10-28 09:43 +0000 [r1237] robert: * Removed the remapping of special keys to keyboard events. 2002-10-25 12:29 +0000 [r1236] robert: * From Gideon May, fixes to remain const base type instances in headers. 2002-10-25 09:34 +0000 [r1235] robert: * Updated the min and mag filter modes to be more appropriate, still some of the FLT modes havn't been mapped across as its is not obvious how to map them to OpenGL/OSG. 2002-10-24 20:49 +0000 [r1234] don: * changed unsigned int's to unsigned longs so 64 bit build would work. 2002-10-24 20:45 +0000 [r1233] don: * Added ARCH64 def for 64 bit builds 2002-10-24 15:24 +0000 [r1232] don: * FIxed set_new_handler to std::set_new_handler 2002-10-23 07:46 +0000 [r1231] robert: * Fix from Don Tidrow for bug when moving between RenderGraph when popping back up to common parents. 2002-10-21 15:09 +0000 [r1230] robert: * Changed the nameing of iterators to prevent clashes with VisualStudio's dumb compiler. 2002-10-21 13:03 +0000 [r1228-1229] robert: * Fixed spelling mistake in comment. * Changed the private: to protected: to allow easier extension. 2002-10-18 12:47 +0000 [r1227] robert: * Merged Pavel's updates to LWO2 for handle multiple texture layers. 2002-10-18 12:26 +0000 [r1225-1226] robert: * Added default colour and normal definition to the Geometry draw to prevent state inheritance of these attributes from causing problems of Geometry which arn't fully defined. * Added extension checking to the rgb and bmp write of images. 2002-10-17 21:25 +0000 [r1224] don: * USE_MM was not defined for IRIX 2002-10-17 13:48 +0000 [r1223] robert: * Renamed the RenderBin::sort_local to sortImplementation(), draw_local to drawImplementation() and added a new RenderBin::DrawCallback(). Added osgcubemap to the Make/ test scripts. 2002-10-17 11:59 +0000 [r1222] robert: * Fixed memory allocation. 2002-10-17 11:50 +0000 [r1221] robert: * Checked in fix for std::hex for dumb arsed compilers. 2002-10-17 11:39 +0000 [r1220] robert: * Fixed compile error under Windows. 2002-10-17 10:04 +0000 [r1219] robert: * Fixed error in #ifdef GL_SECONDARY_COLOR... CV: ---------------------------------------------------------------------- 2002-10-15 19:10 +0000 [r1218] don: * Changed std::malloc to new in src/osgUtil/CubeMapGenerator.cpp 2002-10-14 21:10 +0000 [r1217] don: * Fixed cstdlib to stdlib.h for IRIX in src/osgUtil/CubeMapGeneragortor.cpp 2002-10-10 20:04 +0000 [r1216] robert: * Fixes from Macro. 2002-10-10 18:02 +0000 [r1215] robert: * Added missing .cpp's. 2002-10-10 14:58 +0000 [r1214] robert: * Fixed the names of the ControlPoint parameters so they weren't capitals, to avoid the clash with the parameter type itself. Addd a PER_PRIMTIIVE_SET handling to the existing PER_PRIMTIIVE code, this code is still flacky though and needs a rewrite as it doens't handle all attributes or the full consequences of per primitive and per primitive set bindings. 2002-10-10 13:06 +0000 [r1213] robert: * Added a little more info into the State contextID docs. 2002-10-10 12:44 +0000 [r1212] robert: * Added Macro's new cube map generation classes and osgcubemap demo. 2002-10-10 09:42 +0000 [r1211] robert: * Maded the "flt::Registry::getPrototype: Unkown opcode:" message a INFO level notify message rather than a NOTICE. 2002-10-10 09:39 +0000 [r1210] robert: * Made the warning about a mis-matching in the number of children in a switch a INFO level notify message rather than a WARN. 2002-10-10 09:29 +0000 [r1209] robert: * Added remapping of special keys to be handle like a convential key press. 2002-10-10 09:00 +0000 [r1208] robert: * From Gabor Dorka, Fixes to memory leaks. 2002-10-09 15:43 +0000 [r1206-1207] robert: * Fixes to smoothing visitor and tesselator to handle indexed Geometry. * Changed the default value of StandardOrientation to true, to fix orientation problems which commonly occur with png files. Leaves the quesition of how to set this value automatically. 2002-10-08 16:02 +0000 [r1205] robert: * Fixed bug in osg::LOD::addChild() which was forcing all ranges to be identical values. 2002-10-08 14:10 +0000 [r1204] robert: * Fixed a bug in the Optimizer where BIND_PER_PRIMITIVE_SET primitives where being eroneously merged. Added missing support for reading geometry indices from the .osg format. Added handling of geometry indices into the primitive functor in osg::Geometry. Moved the method implementions of AnimationPathManipulator into src/osgGA and added extra convinience methods for setting the manipulator with an hand built AnimationPath. FCVS: VisualStudio/osgPlugins/iv/iv.dsp 2002-10-08 08:39 +0000 [r1202-1203] don: * osgdb_osg loader had more issues with const/non-const discrepancies on Solaris. Modified Geoset.cpp and Point.cpp * Solaris didn't like filebuf. Using old FILE 2002-10-08 07:39 +0000 [r1201] don: * Added AnimationPathManipulator to osgGA and modified sgv to use it. 2002-10-08 05:41 +0000 [r1200] don: * Fixed some inconsistencies between header files and function definitions where the header file declared a parameter non-const, but the function definition expected a const. The Solaris linker was coming up with undefined symbols. 2002-10-07 21:23 +0000 [r1199] robert: * Added extra convinience methods to LOD - addChild(child,min,max). Added osganimate to test scripts. 2002-10-07 20:17 +0000 [r1198] robert: * Fixes to Switch so that it defaults to adding children switched on, and adds a flag to control whether children and added as true or false. 2002-10-07 20:01 +0000 [r1197] robert: * Set the default values for scale to 1,1,1. This fixes the bug obsevered when using AnimationPath with MatrixTransform without setting the scale value of the osg::AnimationPath::ControlPoint's. 2002-10-07 19:51 +0000 [r1196] robert: * Added new osganimate demo which demonstrate the osg::AnimationPath in action. Added extra parameters to the AnimationPath callbacks to allow finer control. 2002-10-07 11:06 +0000 [r1195] robert: * Added missing osg::TextureCubeMap::getAssociatedMode(). 2002-10-07 10:02 +0000 [r1194] robert: * Added code to Viewer::addViewport(..) to force the sharing of a single osg::State object between viewports. 2002-10-07 09:41 +0000 [r1193] robert: * From Daneil Sjölie - modifications to the support of custom GUIEventHandlers in osgGLUT 2002-10-06 20:33 +0000 [r1192] robert: * Converted osg::LOD from used n+1 successive ranges to n min/max ranges, one min/max pair per child. Converted the rest of the OSG to use the new osg::LOD node. 2002-10-04 16:40 +0000 [r1191] robert: * Fixes for Win32 build. 2002-10-04 14:50 +0000 [r1190] robert: * Implemented OpenFlight style switches so that each child of a switch can now be individually turned on or off. Moved the OpenFlight code across to use the new scheme, removing the old hack of using node masks to achieve the same end result. 2002-10-04 13:53 +0000 [r1189] robert: * Changed the include of MatrixTransform to Transform. 2002-10-02 15:28 +0000 [r1188] robert: * Added osgteapot demo to show how to implement custom Drawables to wrap up OpenGL code. 2002-10-02 13:16 +0000 [r1187] robert: * Added back in the old osg::Geometry::addPrimitive(..) methods for backwards compatibility and have placed them within a #ifdef USE_DEPREACATED_API block. 2002-10-02 13:12 +0000 [r1186] robert: * Moved the new osg::IndexedGeometry class over the top of the the existing osg::Geometry class, and removed the temporary IndexedGeometry. Port the rest of the OSG across to account for the change in method calls - osg::Geometry::addPrimitive(..) becomes osg::addPrimitiveSet(..) 2002-09-30 18:12 +0000 [r1184-1185] robert: * Removed inappropriate inline keyword from getOrCreateStateSet(). * Added setActiveTextureUnit(0) to State::reset(). 2002-09-30 16:50 +0000 [r1183] robert: * Added traverse the AnimationPath callbacks. 2002-09-30 13:30 +0000 [r1182] robert: * Added support for per primitive bindings in osg::IndexedGeometry. Added a convertToIndexedGeometry() method to GeoSet to allow datasets with per primitive bindings to be be mapped to across to osg::IndexedGeometry for testing purposes. 2002-09-29 17:55 +0000 [r1181] robert: * From Macro, added a setActiveTextureUnit(0) to osg::Text::drawImmediateMode() to prevent the wrong OpenGL mode being used. 2002-09-29 12:33 +0000 [r1180] robert: * From Daniel, Fixes for warnings under Win32. 2002-09-28 19:09 +0000 [r1179] robert: * Fixes to IndexedGeometry.cpp to repair bugs introduced with Win32 build fixes.S 2002-09-28 07:47 +0000 [r1178] robert: * Added a dirtyAllVertexArrays() to State::reset(). 2002-09-28 07:43 +0000 [r1177] robert: * Fixes for Win32 build. 2002-09-27 19:04 +0000 [r1175-1176] robert: * Fix build after change in GLExtensions. * Fixes to IndexGeometry for Win32 build. 2002-09-27 17:47 +0000 [r1174] robert: * Improvements to IndexedGeometry. 2002-09-26 15:26 +0000 [r1173] robert: * Futher work on the IndexedGeometry class. Indexed coordinates should now work. 2002-09-24 20:14 +0000 [r1172] robert: * Changed the linux linking of -lgif to -lungif. Fixed a typo in the Images name. 2002-09-24 20:04 +0000 [r1171] robert: * Changed the image file so that use the Images/ prefix to help locate the files within the OpenSceneGraph-Data directory. 2002-09-24 19:41 +0000 [r1170] robert: * Removed redundent / -------------------------------------------------------------------- 2002-09-22 07:09 +0000 [r1169] robert: * Renamed Primitive to PrimitiveSet. 2002-09-20 15:55 +0000 [r1167-1168] robert: * From Gideon, support for tracking the number of objects constructed and deleted, only compiled in when unit tests are compiled in. * From Ulrich Hertlien, supported add to textures in the .lwo format. 2002-09-20 14:51 +0000 [r1166] robert: * Renamed osg::Primitive to osg::PrimitiveSet which better reflect what it encapsulates. Added new osg::IndexGeometry implemention, *not* complete yet. Changed the rest of the OSG to handle the renaming og Primitive to PrimitiveSet. 2002-09-20 14:48 +0000 [r1165] robert: * From Daniel, changed setEventHandler to addEventHandler. 2002-09-19 10:30 +0000 [r1164] robert: * Added PolygonStipple class from Mike, with mods from Robert to make data management local. 2002-09-19 09:52 +0000 [r1163] robert: * Made the calls to the drawing of the pre rendering stages exclit, using a seperate method in RenderStage and associated calls in sceneView.cpp. This fixes problems when doing stereo and prerender at the same time. 2002-09-19 09:05 +0000 [r1162] robert: * Fixed copy constructor so that the _stage member variable was set to this correctly. 2002-09-18 16:10 +0000 [r1161] robert: * Fix the sceondary color code. 2002-09-18 16:05 +0000 [r1160] robert: * Added missing isCompressedInternalFormat() method. 2002-09-18 15:59 +0000 [r1159] robert: * Fixed mispelling of SEPARATION. 2002-09-18 14:57 +0000 [r1158] robert: * Simplified the depth calculation code in CullVisitor so that it always computes the depth of all drawables, so that it is always safe for RenderBin sort routines can use these values directly. Add an example of a RenderBin::SortCallback to sgv.cpp. 2002-09-18 11:11 +0000 [r1157] robert: * From Daniel Sjölie - added support for multitexured flt files. 2002-09-17 15:47 +0000 [r1156] robert: * Improved the sort callback support in osgUtil::RenderBin, and removed the now rendundent DepthSortedBin class. 2002-09-16 20:58 +0000 [r1155] robert: * Further work on multiple context extensions. 2002-09-16 10:55 +0000 [r1154] robert: * Commented out the call to combine LOD's in the optimizer as it was causing problems in some flt datasets. 2002-09-14 10:38 +0000 [r1153] robert: * Updates the osg::Texture3D::Extensions interface to support the standardisation of extensions supported across multiple graphics contexts. 2002-09-13 13:50 +0000 [r1152] robert: * Added dirty methods for vertex arrays to better support external OpenGL code which modifies the OpenGL state and needs to tell the osg::State about it to ensure that the OSG doesn't make any errors during lazy state updating. 2002-09-12 20:30 +0000 [r1151] robert: * From Pavel Moloshtan, fixes for Mingw32 build. 2002-09-12 19:59 +0000 [r1150] robert: * Added opengl32.lib and glu32.lib links to osgGLUT.dsp 2002-09-12 15:34 +0000 [r1149] robert: * Added asGroup() and asTransform() methods to osg::Node to downcast nodes to these types without requiring an expensive dynamic_cast<>. Also added asGeometry() to osg::Drawable for the same reasons. 2002-09-12 14:29 +0000 [r1148] don: * Fixed setFusionDistance 2002-09-12 13:23 +0000 [r1147] robert: * From Brede Johansen - Fixes to osg::Plane::valid and added a new set method. From Stephan Huber - Compilation fix to Texture.cpp for OSX. From Don Tidrow - added dirtyBound() to osgText::Text::setPosition 2002-09-09 04:40 +0000 [r1146] don: * Added ability to accept '.tif' files (as well as '.tiff') and printed notify() on error 2002-09-05 15:45 +0000 [r1145] robert: * Improvements to osg::Texture3D::Extensions code. 2002-09-05 15:13 +0000 [r1144] don: * For Solaris, /usr/local/lib dependencies now compile static libraries. This reduces the dependencies for binary installs. ALso rearranged the SunOS gnu and Forte compiler sections to be more generic 2002-09-05 11:42 +0000 [r1143] robert: * Added new buffered_value template class which encapsulates a std::vector but initializes the array to the number of graphics contexts, and automatically expands the array when indices outside the current size are required. Added new osg::Texture::Extensions nested class to handle extensions on a per context basis. 2002-09-04 10:51 +0000 [r1141-1142] robert: * From Ulrich Hertlein, check for max 3d texture size into the osgtexture demo. * Added support for setting the fusion distance directly in SceneView, defaults to the original behavior of using the values from the Camera if attached. 2002-09-04 08:14 +0000 [r1140] robert: * Added support for multiple graphics contexts to osg::Texture and its subclasses. 2002-09-04 01:15 +0000 [r1139] don: * Added setting colormask to SceneView on every frame to allow toggling between stereo on and off in Anaglyphic mode. 2002-09-03 20:12 +0000 [r1138] robert: * Fixes to the LWO to better handle 3 and 4 vertex polygons. Added an extra pass into the Optimizer's merging of geometry primitives so it convertex 3 and 4 vertex polygons into triangles and quads respectively. 2002-09-03 19:25 +0000 [r1137] robert: * Removed const from the evaluateLODChild(,,) callback method. 2002-09-03 14:42 +0000 [r1136] robert: * Removed the temporary commenting out of the Optimizer, which was done for debugging purposes. 2002-09-03 13:04 +0000 [r1135] robert: * Fixed LWO2 ReaderWriter problem which was down to an the compiler reodering the evaluation of a Vec3 paramter. 2002-09-03 09:50 +0000 [r1134] robert: * Fixed and unmatched malloc/free pair, which was previously doing a mallco/delete. 2002-09-02 12:31 +0000 [r1133] robert: * Converted the instances of const built in types being returned from methods and passed as paramters into straight forward non const built in types, i.e. const bool foogbar(const int) becomes bool foobar(int). 2002-08-31 09:59 +0000 [r1132] robert: * From Yfei He, added in missing RoadConstruction handler. 2002-08-31 09:51 +0000 [r1131] robert: * Bug fix from Tom Jolly, which adds a check aginst a delete of gl textures in FTGLTextureFont destructor to prevent a NULL be passed to glDeleteTextures. This solves the crash on exit of osghud/osgtext. 2002-08-31 06:04 +0000 [r1130] don: * Added the script to make IRIX distribution packages (via 'inst'). 2002-08-30 19:45 +0000 [r1128] robert: * Renamed osg::Statistics::addOpaque to addDrawable to better reflect its current function. 2002-08-30 16:17 +0000 [r1127] robert: * Updates to windows build docs. Merge fixes for OSX from bob. Added checking for impostor sprites into stats. 2002-08-30 15:32 +0000 [r1126] robert: * Fixes to Math for MacOSX build. Converted TextureCubeMap to unix file endings. 2002-08-30 15:17 +0000 [r1125] robert: * Update LANDEXT.DAT to contain all the latest core OSG files. 2002-08-30 15:07 +0000 [r1124] robert: * Fixed the flatten static transform visitor. 2002-08-30 13:38 +0000 [r1123] robert: * Added std:: infront of ends references. 2002-08-30 07:17 +0000 [r1122] robert: * Removed the OSG_COMPILE_UNIT_TESTS define from the OSX build to avoid issues with the missing 2002-08-30 01:34 +0000 [r1121] don: * Some small clean ups and editorializing of the NEWS file. 2002-08-29 20:41 +0000 [r1120] robert: * Fixed the numerical accuracy problems in the Drive and Flight Manipulators. 2002-08-29 16:38 +0000 [r1119] robert: * Fixed numerical accuracy problem in Trackball manipulator. 2002-08-29 14:48 +0000 [r1118] robert: * Updated change log. 2002-08-29 14:41 +0000 [r1116-1117] robert: * Removed html files which relate to now removed API. * Added new autogenerated .html files 2002-08-29 14:29 +0000 [r1115] robert: * Updated docs. 2002-08-29 14:05 +0000 [r1114] robert: * Updated the NEWS to release the new release. 2002-08-29 11:02 +0000 [r1113] robert: * Renamed the ConvexPlaner* classes to ConvexPlanar* and changed all the various classes that reference it. Added MUST_READ_ME.txt to the VisualStudio directory. 2002-08-29 08:39 +0000 [r1112] robert: * Added SG_EXPORT. 2002-08-29 03:49 +0000 [r1111] don: * Blast it, Don... You should rebuild before you check things in! 2002-08-29 03:22 +0000 [r1110] don: * Fixed 69 occurance of 'Seperate' misspelling (should be 'Separate') 2002-08-28 21:40 +0000 [r1109] robert: * Changed instances of new across to use osgNew to help debugging, and fixed an unitialized variable in Sequence. 2002-08-28 19:46 +0000 [r1108] robert: * Fixed the optimized library name of the osgText plugin. 2002-08-28 18:49 +0000 [r1107] robert: * Updated the version numbers to reflect the upcomming release 0.9.1. 2002-08-28 18:38 +0000 [r1106] robert: * Fixes to Win32 build. 2002-08-28 17:37 +0000 [r1105] robert: * Added std:: infront of cout and endl. 2002-08-28 16:59 +0000 [r1104] robert: * Fixes for Win32 build. 2002-08-28 16:25 +0000 [r1103] robert: * Fixed unitialized variable in the MyTextureSubloadCallback. 2002-08-28 16:17 +0000 [r1102] robert: * Added fixes to UnitTestFramework to get it compiling under Windows. 2002-08-28 15:44 +0000 [r1101] robert: * Warning fixes for Windwos 2002-08-28 15:35 +0000 [r1100] robert: * Fixed typo on osgunittests project name. 2002-08-28 15:28 +0000 [r1099] robert: * Removed deprecated code from the distribution. Added .osg support for Texture1D and Texture3D. 2002-08-28 14:28 +0000 [r1096-1098] robert: * Added -I{THISDIR} into the iv Makefile. * Updates, from Neil Salter, to comments etc to osgGA which add better explanations of how each of the classes operates. * Added Neil Salter's osgUtx library into the distribution, have put all the orignal seperate headers and source into include/osg/UnitTestFrameWork and src/osg/UnitTestFramework.cpp respectively. I have done this to keep the include and source directories focused on the scene graph rather than the test framework. Have added a very simple unit test to Vec3.cpp, which are optionally compiled in with the OSG_COMPILE_UNIT_TESTS define, which is only currently defined in debug builds under unix. It should be fine to add it in under Windows project files as well. Finally, a new demo app osgunittests runs the tests and reports success or failure of the tests. 2002-08-27 21:01 +0000 [r1095] robert: * Commented out the #define TEXTURE_USE_DEPRECATED_API from includ/osg/Texture which forces the use of a typedef Texture2D Texture; in place of the orignal texure implementation. 2002-08-27 20:54 +0000 [r1094] robert: * Added code to write byte/int/float arrays out with 8 values per line by default, rather than 1 per line as before. 2002-08-27 20:18 +0000 [r1093] robert: * Added support for DOFTransforms into .osg format, and add pivot point support to the PositionAttitudeTransform .osg support. Removed a double light reference in the osglight demo. 2002-08-27 15:46 +0000 [r1091-1092] robert: * Added support for reading and writing osg::PositionAttitudeTransform. * Fixed bug in the Light reading code. 2002-08-27 14:02 +0000 [r1089-1090] robert: * Added proper osgtexture1D demo - this demo uses a 1D texture to dynamically contour the scene. * From Marco, fix to include/GL to clean up warnigns in Windows builds. 2002-08-27 10:06 +0000 [r1088] robert: * Added osgtexture3D demo, renamed osgtexture demo to osgtexture2D, and have added osgtexture1D demo which currently is simply copy of osgtexture2D. I will be modifying it to do 1D texturing next. Fixed a bug in osg::Texture3D relating to checking of existance of texturing. Merged some fixes to the pfb loader from Ulrich Hertlein. 2002-08-26 20:11 +0000 [r1087] robert: * Fixed typo of _texParametersDirty. 2002-08-26 19:35 +0000 [r1086] robert: * Removed #ifdef hacks to remove optimization with VS6.0's STL. VS6.0 STL is now no longer supported! 2002-08-26 15:02 +0000 [r1085] robert: * Moved the #define GL_DOT3_RGB_ARB's into their own #ifndef GL_ARB_texture_env_dot3 block. 2002-08-26 13:04 +0000 [r1084] robert: * Moved #define's for OpenGL1.2 image formats into the include/osg/Image header to allow compilation of the rgb plugin under Windows with its 1.1 OGL headers. Added float.h to Math's compile path for VS7 compilation. 2002-08-26 12:34 +0000 [r1083] robert: * Made the sort callback's sort method pure virtual. 2002-08-26 12:28 +0000 [r1082] robert: * Removed redundent parameter in sort() callback which was never being used. 2002-08-26 10:30 +0000 [r1081] robert: * Added #include to include/osg/glut for Windows build. 2002-08-26 10:24 +0000 [r1080] robert: * Updated Texture3D to use extension checking to get the relevant 3d texturing extensions. 2002-08-26 03:15 +0000 [r1079] don: * Added writer to RGB plugin 2002-08-25 15:31 +0000 [r1078] robert: * Converted code dependant on osg::Texture across to its replacement osg::Texture2D. 2002-08-25 11:00 +0000 [r1077] robert: * Fixes for Win32 build 2002-08-24 21:12 +0000 [r1074-1076] robert: * Added guard to prevent VS7 builds using the #defines for cosf etc. * Added brief items to NEWS in prep for the 0.9.1 release. * Added support for the texture_env_dot3 extension. 2002-08-24 19:39 +0000 [r1073] robert: * Added new osg::TextureBase, osg::Texture1D, osg::Texture2D, and osg::Texture3D classes, and changed osg::Texture and osg::TextureCubeMap so that they now derive from osg::TextureBase. 2002-08-24 19:35 +0000 [r1072] robert: * Clean up of include/osg/GL and include/osg/GLExtensions for better support of Windows build. 2002-08-23 00:43 +0000 [r1071] don: * Modifed osgGLUT viewer and messages in SGV to allow for start up in full screen mode. 2002-08-22 17:36 +0000 [r1070] don: * Fixed a dependency order 2002-08-22 09:19 +0000 [r1069] robert: * Added calling of the LightSource and ClipNode as Group by the NodeVisitor and fixed the CullVisitor and Optimizer to take account of this. 2002-08-22 08:14 +0000 [r1068] robert: * Fixed the osg::Transform::coompute*() methods so the were using the _referenceFrame correctly, as previously they were doing the exact opposite from what they should have been doing. 2002-08-21 20:42 +0000 [r1067] robert: * From Stephan Huber, "I found a small bug in QTtexture.c: the code fails, when the image-files don't reside on the boot-partition. I replaced the offending function by a cleaner one.". 2002-08-20 22:43 +0000 [r1066] robert: * Moved the include from the State header into State.cpp, and added it into other files which now required it. 2002-08-20 18:00 +0000 [r1065] robert: * Added IO Support for TexEnvCombine state attribute. 2002-08-20 14:15 +0000 [r1063-1064] robert: * Added support for the tex_env_add and tex_env_crossbar extensions. * Fixes to new osgText and osgParticle project files. 2002-08-20 12:29 +0000 [r1062] robert: * Added the definition of GL_FOG_COORDINATE_SOURCE to Fog.cpp. Added #include to the GLExtensions header. 2002-08-20 11:27 +0000 [r1061] robert: * Moved the IO support for the osgText and osgParticle libraries into seperate plugin libraries. 2002-08-20 10:26 +0000 [r1060] robert: * Added a error message for when OSG_NOTIFY_LEVEL is not set correctly. 2002-08-20 10:14 +0000 [r1059] robert: * Merged fixes to the osg::GLExtensions function pointer code from Stefan Huber, and a fix to osg::State's secondary color code from Bob Kuehne. Moved the body of the getGLExtensionFuncPtr() into the header to help out support for Windows mapping of different OpenGL extensions function ptr per dll. 2002-08-20 10:08 +0000 [r1058] robert: * A FogCoordinateSource set/get methods to osg::Fog which correspond to the FogCoord support added to osg::Geometry. Added suppot for these new parameters to the .osg plugin. 2002-08-20 08:14 +0000 [r1057] robert: * Reordered the string comparions so that DEBUG_INFO comes before INFO, since the find op will find INFO in a DEBUG_INFO string, and hence report the wrong notify level. 2002-08-19 19:53 +0000 [r1056] robert: * Added default values to the TexEnvCombine constructor. 2002-08-19 15:14 +0000 [r1055] robert: * Added missing include/osg/ClearNode 2002-08-19 15:11 +0000 [r1054] robert: * Added new osg::TexEnvCombine state attribute. 2002-08-19 11:42 +0000 [r1053] robert: * Renamed the osg::EarthSky to osg::ClearNode to make it more obvious what role it has play and make it more relevant to non vis-sim applications. 2002-08-19 08:35 +0000 [r1052] robert: * Moved "unsigned int i" from for(.. to just before it, and removed subsequent ones to get the VisualStudio compiler working once more. 2002-08-18 14:42 +0000 [r1051] robert: * Added DOFTransform, MatrixTransform and PositionAttitudeTransform to NodeVisitor. Added osg::Matrix/Quat::makeRotate(angle1,axis1,angle2,axis2,angle3,axis3) and osg::Matrix::rotate(angle1,axis1,angle2,axis2,angle3,axis3) method. Made osg::Matrix/Quat::makeRotate(heading,pitch,roll) and osg::Matrix::rotate(heading,pitch,roll) all deprecated API. Fixed the Quat*Quat & Quat*=Quat multiplication methods so that they multiplied in the correct order - they were reversed originally due to the Quat code being based on code example which used the v' = M v ordering, rather than the OSG's v' = v M ordering. 2002-08-18 11:16 +0000 [r1050] robert: * Added check to disable color binding when the secondary colour extension doesn't exist. 2002-08-17 07:34 +0000 [r1049] robert: * Fixed typo in #define of UBYTE4 2002-08-16 15:14 +0000 [r1048] robert: * Added Texuture::SubloadCallback example into the osgprerender demo to illustrate how to use it. Changed the ImpostorSprite to use LINEAR,LINEAR for min and mag filters for the impostor texture. 2002-08-16 13:33 +0000 [r1047] robert: * Added new osg::Texture::SubloadCallback, and getNumMipmapLevels() to osg::Texture and osg::Image. This additions are design to make texture subloading more flexible. 2002-08-16 10:56 +0000 [r1046] robert: * Fixes from Ulrich Hertlein to get the pfb plugin compiling with using any deprecated API. 2002-08-15 20:27 +0000 [r1044-1045] robert: * Supported added for secondary color & fog coords to osg::Geometry and osg::State. * From Perry, support for color added to the MeshPrimtive/LocalVertexPool code. 2002-08-15 15:04 +0000 [r1043] robert: * Removed the getData() from MeshRecord and the dummy SMesh record, this allow the FaceRecord base class to directly provide the datatype. 2002-08-15 14:09 +0000 [r1042] robert: * Added a using namespace std; and removed std:: from from std::hex and std::dec. 2002-08-15 13:04 +0000 [r1041] robert: * Added a virtual keyword into the getData() overrided methods. 2002-08-15 11:25 +0000 [r1040] robert: * Submission from Perry Miller for support of OpenFlight15.7's local vertex pool and mesh primitives. Converted Perry's code to work with the osg::Geometry instead of osg::GeoSet. 2002-08-14 20:56 +0000 [r1039] robert: * Added SG_EXPORT to PositionAttitudeTransform and MatrixTransform. 2002-08-14 09:30 +0000 [r1038] robert: * Commented out the #define USE_DEPRECATED_API. 2002-08-13 18:29 +0000 [r1037] don: * Added some comments 2002-08-13 15:31 +0000 [r1036] robert: * Futher improvements and fixes to osg::AnimationPath, and the osglight demo to show it action. 2002-08-13 13:22 +0000 [r1035] robert: * Made improvements to osg::AnimationPath, added osg::PositionAttitudeTransform::AnimationPathCallback which us an app callback which uses an AnimationPath to specify the new positions of the transform. Added AnimationPath code to osglight to animate the positional light. Added CullVisitor::setCullingMode() code into SceneView so that SceneView's CullingMode is now properly passed onto CullVisitor. Note, this work had been done before, but must has been lost in a merge. Umm... 2002-08-13 09:35 +0000 [r1034] robert: * Fixed uninitialized _sortMode. 2002-08-12 17:40 +0000 [r1033] robert: * Added new s/getPivotPoint() support to osg::PositionAttitudeTransform. Modified the osglight demo to use an AppCallback and a PositionAttitudeTransform to animate the loaded model. 2002-08-12 13:42 +0000 [r1032] robert: * Updates to DOFTransform so that its overrides the traverse() and compute*() methods rather than depending upon callbacks for animating and compute matrices. Merged the put/inverseput code between Sasa's and Ferndinand's DOF code. From Bora Utka, Added support to osg::Sequence/OpenFlight AnimNode to the flt plugin. 2002-08-12 13:37 +0000 [r1031] robert: * attempt to fix read only status of Sequence.cpp. 2002-08-11 21:26 +0000 [r1030] robert: * Removed dependency of the new osg::DOFTransform and osg::Sequence Node's on osgUtil by implementing a NodeVisitor::VisitorType enum, and associated g/setVisitorType. This allows callbacks to querry the visitor/traversal type without doing down cast's to specific visitor subclasses such as osgUtil::AppVisitor/CullVisitor. 2002-08-11 10:32 +0000 [r1029] robert: * Temporarily commented out the flat staic transforms visitor since it was causing problems with the new DOFTransform class. 2002-08-09 19:51 +0000 [r1028] robert: * Submission for Gideon May, fixes for spacing in various osgText files. 2002-08-09 16:27 +0000 [r1027] robert: * Fixed the X and Y axis rotation billboards so that now rotate correctly. Rewrote the osgbillboard demo so that it creates a point rotatated billbaord and X,Y and Z axis billboards to both test and demonstrate this types of billboards in action. 2002-08-08 21:36 +0000 [r1026] robert: * Fixes for IRIX 32bit timmer on O2. From Tom Jolley. 2002-08-08 15:10 +0000 [r1024-1025] robert: * Fixed warning related to where _increasingFlags is an unsigned short and 0xffffff is being truncated, spotted by Tom Jolly. * Removed inline definition from front of setMaxAnisotropy method. 2002-08-08 13:45 +0000 [r1023] robert: * Fixed typos, sent in by Warren Macchi. 2002-08-08 13:41 +0000 [r1022] robert: * Fixed bug related to switching on/off culling modes. Patch from Nikolaus Hanekamp. 2002-08-08 11:27 +0000 [r1021] robert: * Changed the Geometry::setVertexArray and GeoSet::setCoords so that they call dirtyBound() instead of reseting the local bound flag, this ensures the updates are propagated upwards through into the parents. 2002-08-08 11:01 +0000 [r1020] robert: * Fixed the shininess factor in 3ds plugin. 2002-08-07 15:52 +0000 [r1019] robert: * Changed the support for anisotropic filtering in osg::Texture so that it is now controlled via the setMaxAnisotropy(float) method, and is set up independently for the mag filter mode, which it previously was done. 2002-08-07 10:10 +0000 [r1017-1018] robert: * Renamed osgsequence.cpp to osgsequence.dsp, as it was clearly a typo... * Fixed type of DOFTransform.cpp 2002-08-06 17:07 +0000 [r1016] robert: * Added shells for DOFTransform and PositionAttitudeTransform to the .osg loader, still need to fill in the saving and loading of paramters. Went through the distribution remove old API usage. 2002-08-06 10:37 +0000 [r1015] robert: * Changed the default value of _animationOn to true. 2002-08-06 10:07 +0000 [r1014] robert: * Fixed typo in comment. 2002-08-06 10:04 +0000 [r1013] robert: * Adde getViewFrustum() to camera. 2002-08-05 15:07 +0000 [r1012] robert: * Added new osg::DOFTransform node from Sasa Bistrovic, designed to mirror the OpenFlight DOF transform nodes. 2002-08-05 13:29 +0000 [r1011] robert: * Added support for PROTECTED modes into the .osg reading and writing. 2002-08-05 13:12 +0000 [r1010] robert: * Added an example of the use of the PROTECTED modes and attributes into the osgreflect demo so that toggling texturing on or off won't affect the mirror planes texturing. 2002-08-05 12:52 +0000 [r1009] robert: * Fixed compile errors under IRIX. 2002-08-05 12:40 +0000 [r1008] robert: * Added support to StateAttribute/State to support PROTECTED flag for modes and attributes so that they cannot be overriden from above via the OVERRIDE flag. This is useful for things like manipulators that have handles display in the scene, you might want to prevent their state being affected by other overriding of light, wireframe modes etc. 2002-08-04 21:11 +0000 [r1007] robert: * Fix to iv/vrml loader so that it correctly passes back the right ReadResult and checks the validity of the file extension being passed to the plugin. Removed main.cpp * .h moving all its functionality into readerwriter.cpp. 2002-08-04 20:51 +0000 [r1006] robert: * Changed the error reporting so that it directs it all via osg::notify, and only uses the INFO level for reporting that the file to load is not recognised. Also add check for LWO2 loading so that it returns FILE_NOT_HANDLED message correctly. 2002-08-04 20:34 +0000 [r1005] robert: * From Ruben Lopez, updates to VRML/IV loader. From Ben Discoe, corrections to comments in osg::Transform From Alberto Barbati, Lazy evaluation of inverse matrix in osg::MatrixTransfrom 2002-08-03 19:42 +0000 [r1004] robert: * Added Sequence.cpp to osg plugin workspace file. 2002-08-03 19:37 +0000 [r1003] robert: * Changed the copy constructor of for _light mem var to use a dynamic_cast. 2002-08-03 18:11 +0000 [r1002] robert: * Integrated Ulrich Hertlien's osg::Sequence node, and osgsequence demo, and support for osg::Sequence in the pfb loader. 2002-08-03 18:03 +0000 [r1001] robert: * Changed the range max and min members variables to maximum and minimum to prevent collision with windows min and max macros. 2002-08-03 16:49 +0000 [r999-1000] robert: * Added support for a sort callback in RenderBin. * Fixed comments. 2002-08-03 16:37 +0000 [r998] robert: * Added cout's of the view frustum to the aid debugging, these cout's are now commented out, and are just left in so that they may be used to double check things in future. 2002-08-02 19:11 +0000 [r997] robert: * Fix for Win32 build 2002-08-02 15:14 +0000 [r996] robert: * Added missing _nodePath.clear() and _segHitList.clear() to InteresectVisitor::reset(). 2002-07-31 15:16 +0000 [r995] robert: * Updates to iv/vrml loader from Ruben. 2002-07-30 10:08 +0000 [r994] robert: * Updates to the iv loader from Ruben - conversion from GeoSet to Geoemetry. 2002-07-29 21:29 +0000 [r993] robert: * Forced the use of non mip mapped texture during subloading in the osgprerender demo. 2002-07-29 11:02 +0000 [r992] robert: * Removed default value from constructor. 2002-07-29 00:04 +0000 [r991] robert: * Fixes to the new texture subloading methods. 2002-07-28 23:28 +0000 [r989-990] robert: * Checked in new methods for setting up texture subloading, these allow the user to control which parts on an image are subloaded from, and how big the initial texture is. * Checked in Pavel's updates for non texured surfaces. 2002-07-28 21:25 +0000 [r988] robert: * Added set/getUnrefImageOnApply() methods and associated flag and code in Texture::apply() to set the _image to 0 on apply. Note, this will only work when you have a single graphics context, as with multiple graphics contexts one can't delete the image after the first apply, as there will be more than one texture object to update. 2002-07-28 21:15 +0000 [r987] robert: * Checked in Marco's commented out #defines/rejigged struct names to get things compiling under Windows, will need to check this in future as it may change with regeneration of parser files with lex/yacc. 2002-07-28 12:52 +0000 [r986] robert: * Chagned the initiliazation of iterators, sent in by Alberto Barbati. 2002-07-28 12:49 +0000 [r985] robert: * Fixes to NodeCallback and RenderBin from Alberto Barbati. 2002-07-27 21:35 +0000 [r984] robert: * Fixes to the inventor/vrml loader. 2002-07-27 10:34 +0000 [r983] robert: * From Macro, removal of use of display lists during double pass rendering of particles. 2002-07-27 10:25 +0000 [r981-982] robert: * Fix for Windows * Fixes for Win32 build. 2002-07-27 10:09 +0000 [r980] robert: * Added return value to addViewport. 2002-07-26 18:46 +0000 [r979] robert: * Added missing osg:: from various references to osg::Objectf 2002-07-26 16:33 +0000 [r978] robert: * Added support for LWO2, send in by Pavel Moloshtan. 2002-07-26 16:02 +0000 [r977] robert: * Added project file for inventor plugin. 2002-07-26 15:37 +0000 [r976] robert: * Added Ruben Lopez's Inventor/VRML 1.0 loader. 2002-07-26 12:49 +0000 [r975] robert: * Change Geometry paramter name to lower case geometry. 2002-07-25 22:08 +0000 [r974] robert: * From Ferdinand Cornelissen - Futher updates to the DOF code. 2002-07-25 21:58 +0000 [r973] robert: * Added missing return statement to if() block in Matrix::mult code. Bug spotted by Ray Conner. 2002-07-25 21:50 +0000 [r972] robert: * Fixes to Doxygen files from Neil. Removed unused set/getReportMode() methods and member variables from IntersectVisitor. Added deep copy construction of Geometry objects. 2002-07-25 21:45 +0000 [r971] robert: * Changed > operator to < and swapped sides of expression, to enable compilation across compilers. 2002-07-25 16:15 +0000 [r970] robert: * Fix to geometry combiner which wasn't check the overall color array values in the lessGeometry functor. 2002-07-25 15:25 +0000 [r969] robert: * Fix to DOF Record from Sasa Bistroviae. 2002-07-25 15:21 +0000 [r968] robert: * Fix for colors in old flt models from Brede. 2002-07-25 14:42 +0000 [r967] robert: * Removed double quotes from around the : DBGF = -g -DOSG_USE_MEMORY_MANAGER As this was breaking the build. 2002-07-24 16:29 +0000 [r966] robert: * Implemented the DOF handling more cleanly, as per OpenFlight15.7 docs. 2002-07-23 18:44 +0000 [r965] robert: * Added missing std:: to endl; 2002-07-23 15:48 +0000 [r963-964] robert: * Added the missing _primtives from the copy constructor list. * Added fog toggling to Viewer.cpp, 'y' reduces fog density, 'Y' increases fog density. 2002-07-23 15:01 +0000 [r962] robert: * Mods for HP-UX port. 2002-07-23 14:35 +0000 [r961] robert: * Added mode checking into StateSet to try and catch non texture OpenGL modes which have been applied to the texture modes and visa-versa. 2002-07-23 13:30 +0000 [r960] robert: * Support added for Gnu C++ under Solaris. 2002-07-23 10:48 +0000 [r959] robert: * Checked in Tino Schwarze's port to HP-UX. 2002-07-22 16:01 +0000 [r958] robert: * Updates to osgParticle form Macro. 2002-07-22 13:05 +0000 [r957] robert: * Merged changed to osgParticle from Macro, these add the ability to orientate the particles to predefined axis. 2002-07-22 12:41 +0000 [r956] robert: * Fixed more uninitialized variables and two potential memory leaks. 2002-07-21 20:34 +0000 [r955] robert: * Fixed various uninitiliazed variables. 2002-07-21 10:44 +0000 [r954] robert: * Added default construction values for various member variables to fix report uninitialized variables. 2002-07-21 10:04 +0000 [r953] robert: * Futher work on ensuring that all datatypes are initilizaed in OSG objects. 2002-07-21 01:29 +0000 [r952] robert: * Futher changes to remove unitialized variables/reordering of initialization to prevent unitialized warnings. 2002-07-20 23:54 +0000 [r951] robert: * Various fixes to constructors to ensure that all variables are initialized. 2002-07-20 22:44 +0000 [r950] robert: * Added missing default values to State constructor. 2002-07-20 22:40 +0000 [r949] robert: * Added default values for FrameStamp.cpp constructor. 2002-07-20 22:36 +0000 [r947-948] robert: * Removed the rendundent variables in the ConvexPlanerPolygon as these were unused and unitialized. * Added new debugging switch checkOnAllocations which is now on by default when compiling with debug build (under UNIX) and can be turned on or off with the OSG_MM_CHECK_ON_ALLOCATIONS environmental variable. 2002-07-20 21:37 +0000 [r946] robert: * Added some extra checks for memory initialization into the osg::MemoryManager, this is turned off by default, even in debug build. However you can turn it on by setting the OSG_MM_CHECK_FOR_UNINITIALIZED 2002-07-20 18:27 +0000 [r945] robert: * Umm... these should have already been commited, not sure why cvs has just popped these ones up... 2002-07-20 16:24 +0000 [r944] don: * Added logo plugin 2002-07-20 15:01 +0000 [r942-943] robert: * Fixed the char[] array length to fully encompass the strings bring written to them. * Fixed the glTessCallback type to GLU_TESS_ERROR_DATA. 2002-07-19 15:49 +0000 [r940] robert: * Small bug fix to osg::BoundingBox::expandBy(x,y,z). Updated ChangeLog and NEWS for the release. 2002-07-19 15:03 +0000 [r939] robert: * Removed debugging cout's. 2002-07-19 14:52 +0000 [r938] robert: * Updated Doyxgen files. 2002-07-19 14:19 +0000 [r937] robert: * Updates to the Geometry to add more access methods, and updates to Optimizer to add the new merge primtives option. 2002-07-19 13:49 +0000 [r936] robert: * Added primitve merging into the osg::Geometry optimizer. 2002-07-19 12:51 +0000 [r935] robert: * Removed the cow.osg paramter for the osgparticle cow.osg in the test scripts 2002-07-19 10:18 +0000 [r934] robert: * Added MatrixTransform.cpp. 2002-07-19 09:10 +0000 [r933] robert: * Changed the "reflect.rgb" path to "Images/reflect.rgb" to the help find the file required. 2002-07-18 22:35 +0000 [r931-932] robert: * Updates NEWS file for 0.9.0 release. Added default computeBound() implementation to osg::Drawable which uses a PrimtiveFunctor to compute the bounding box in a generic way, that will work for all Drawable subclasses that implement the accept(PrimitiveFunctor&). * Added osgoccluder to test scripts. 2002-07-18 19:54 +0000 [r929-930] robert: * Moved the 't' operation on texture modes across to use the new StateSet::setTextureMode methods, this enables 't' to work once more! * Updated docs ready for the release. 2002-07-18 19:41 +0000 [r928] robert: * Moved get/setUserData from osg::Node into its superclass osg::Object to allow other subclasses to add their own custom data. 2002-07-18 15:36 +0000 [r927] robert: * Rewrote the osg::Drawable::AttributeFunctor and PrimtiveFunctor to make them more consistent with each other. This does mean an API change, so dependanct code in the OSG has been updated accordingly. 2002-07-18 15:28 +0000 [r926] robert: * From Randall Hopper, warning fixes for IRIX. 2002-07-18 15:25 +0000 [r925] robert: * From Brede Johansen, fix the TexturePaletteRecord::endian() to handle old flt versions (11, 12 & 13). 2002-07-18 14:29 +0000 [r924] robert: * From Brede Johansen "I have found one bug in the ConvertFromFLT::visitFace() function. In the early days of the Flight format, before the LightPoint record existed they used face records with a light (-point) attribute." 2002-07-18 14:20 +0000 [r923] robert: * Rewrote osg:Statistics so that it is PrimitiveFunctor as is now completely decoupled from osg::Drawable. The Drawable::getStats() virtual method no longer exists. Updated the Viewer to use the osg::Statistics incarnation and reformated stats to clean it up. 2002-07-18 10:55 +0000 [r922] robert: * Added code into osg::LightSource so it correctly computes its bounding sphere, taking into account any subgraph below, and the light itself if it is not a infinite light. 2002-07-18 10:49 +0000 [r921] robert: * Updated the test scripts to include cube mapping example and osglight demo. 2002-07-18 10:41 +0000 [r920] robert: * Removed repeated return transform in the visitDOF method. 2002-07-18 10:38 +0000 [r919] robert: * Added support for .sgi alias extension to the .rgb plugin. 2002-07-18 10:06 +0000 [r918] robert: * Fixed warnings. 2002-07-18 09:55 +0000 [r917] robert: * Converted the osg::Material::set/getShininess option to use the standard OpenGL range of 0.0 to 128.0 instead of the previous normalised shiniess range. This brings it inline with the way the rest of the OSG uses a 1 to 1 mapping to OpenGL. Converted the various loaders to use the new range, which is almost all cases was simply removing the /128.0f which was required before! 2002-07-18 09:17 +0000 [r916] robert: * Added const to LessGeometry functor to fix Win32 build. 2002-07-18 00:55 +0000 [r914-915] robert: * Fixed spelling mistake. * Various fixes to the flt loader, and knock on changes to the osgUtil::Optimizer to better support removal of seperate osg::Geometry instances where they share the same state and bindings. 2002-07-17 16:24 +0000 [r913] robert: * Changed from a -> to *() when using the object pointed to by a reverse iterator, to fix problems with build under VS6/STLport. 2002-07-17 12:21 +0000 [r912] robert: * Fix for Win32 build. 2002-07-17 10:00 +0000 [r911] robert: * Several items of work related to adding a manual creation of occluders option to the osgoccluder demo. First the osgGA classes have been generalised a little to better support new GUIEventHandler subclasses. Second osgGLUT has a new option for registering a user defined event handler, the allows the application to add externally extra options to the osgGLUT viewer. Third, the osgoccluder demo now works in two modes. The original create four occluder sides to wrap an loaded model, the second an interactive mode which allows the users to add occluders to the model by pointing to points and pressing 'a' to add a point, the 'e' to end the occluder polygon, polygons must be convex, planer and be defined in an anitclockwise order. To start the osgoccluder in this mode one simple runs it with the '-c' option. Run osgoccluder with no parameter to get a list of options. 2002-07-16 20:07 +0000 [r910] robert: * Updated docs and added osgGA 2002-07-16 19:21 +0000 [r907-909] robert: * Updates from Bob Kuehne and Kristopher Bixler to remove the fink dependency from the MacOSX build. * Fix to DOF Record from Sasa Bistrovic * Added SpotExponent to the spot light. 2002-07-16 18:56 +0000 [r906] robert: * Removed repeat line from Makefile. 2002-07-16 15:43 +0000 [r905] robert: * Bumped up the version numbers to 0.9.0 to reflect the upcomming release. 2002-07-16 15:28 +0000 [r904] robert: * Rewrote the apply_imp template method so that it takes an initialization paramater. 2002-07-16 15:13 +0000 [r902-903] robert: * Fixes for MacOSX build from Bob Kuehne. * Added the beginings of an osglight demo. 2002-07-16 11:33 +0000 [r901] robert: * Added TextureCubeMap.cpp to the .osg plugin Makefile. 2002-07-16 10:20 +0000 [r900] robert: * Fixed the new TemplateArray desctructor. 2002-07-16 10:16 +0000 [r899] robert: * Added protected destrcutor to TemplateArray. 2002-07-15 22:23 +0000 [r898] robert: * Added support to osgUtil::Tesselator to insert extra vertices and other attributes into an osg::Geometry node. Uses the new osg::ArrayVisitor. Converted the osg plugin Geometry support to use the new UByte4 class. 2002-07-15 22:18 +0000 [r897] robert: * Added osg::UByte4 class, which can be used to represent packed colors. Changed osg::UByte4Array across to use the new osg::UByte4 class rather than a GLuint as do previously. Cleaned up some of the paramters in osg::Vec4. 2002-07-15 13:39 +0000 [r896] robert: * Removed the second texture from the prerender demo so as not over complicate the final image. 2002-07-15 13:20 +0000 [r895] robert: * Fixed the orientation of the osgreflect demo so that the reflection plane is orientated towards the viewer. Changed the lightmodel ambient level to 0.1,0.1,0.1 instead of 0.0, so that a small amount of ambient lighting is available to render back surfaces. The osgreflect and osgprerender suffered unexpected behaviors because of no lighting on the backfaces. 2002-07-15 13:14 +0000 [r893-894] robert: * Added a MatrixTransform to tilt the osgreflect demo so that the reflection plane is seen clearly. * Fixed the optimization of the orientation conversion. 2002-07-15 11:44 +0000 [r892] robert: * Fixed memory leak in FieldReaderIterator.cpp. Updated the Make/osgtests.bat and Make/debugtests.bat scripts. 2002-07-15 10:53 +0000 [r890-891] robert: * Renamed hangglide to osghangglide * Removed the old hangglide directory. 2002-07-15 10:45 +0000 [r888-889] robert: * Renamed osghangglide demo. * Renamed the hangglide demo osghangglide to make it consistent with the rest of the demos. 2002-07-15 10:03 +0000 [r887] robert: * Added State::disableTexCoordPointersAboveAndIncluding( unit ) method so that all unsed texture units can be turned off simply within Drawables such as Geometry and GeoSet. This can be used to prevent bleed of arrays from one object to the next - which can cause crashes. 2002-07-15 04:42 +0000 [r886] don: * Changes for Sunos 2002-07-14 21:49 +0000 [r885] don: * Added Logos loader 2002-07-14 20:51 +0000 [r884] robert: * Fixed unused variable `osg::StateSet *osgStateSet' warning 2002-07-14 20:48 +0000 [r883] robert: * Added Drawable::AppCallback example and fixed a warning. 2002-07-14 20:32 +0000 [r882] robert: * Tweaked the color and aspect ratio settings of the pre rendering bin. 2002-07-14 16:26 +0000 [r881] robert: * Fixed computeNearFar bug in CullVisitor::apply(Billboard&). 2002-07-14 10:46 +0000 [r880] robert: * Fixes to read/write of MatrixTransform/Transform. 2002-07-14 08:35 +0000 [r879] robert: * Copy and Paste bug where an for() loop was repeated within itself, which was introduced when moving across to use osg::Geometry. 2002-07-13 21:17 +0000 [r878] robert: * Fixed various warnings which were appearing under MacOSX. 2002-07-13 20:31 +0000 [r877] robert: * Conveted GeoSet to use the new state::set*Pointer/disable*Pointer methods to keep the current state valid. 2002-07-13 14:16 +0000 [r876] robert: * Support added for multitextured TXP files, sent in by Boris Bralo. 2002-07-13 02:46 +0000 [r875] don: * put a typedef in public area of class for sun compilers 2002-07-12 21:45 +0000 [r872-874] robert: * Added missing MatrixTransform.cpp file * added glutInit to osgparticle demo to fix crash under MacOSX. * Added second texture to osgprerender demo to test out multitexture in osg::Geometry, it works!! 2002-07-12 21:08 +0000 [r871] robert: * Added MatrixTransform header and source. 2002-07-12 19:50 +0000 [r870] robert: * Changed the osgmultitexture demo so that it uses a TexEnv::BLEND mode with a colour. This lightens the resultant models. 2002-07-12 18:14 +0000 [r868-869] robert: * Added using namespace osgUtil to get round IRIX/Windows compiler differences. * Ported distribution across to use the new osg::MatrixTransform and osg::BlendFunc class instead of osg::Transform and osg::Transparancy respectively. 2002-07-12 14:25 +0000 [r867] robert: * Have added a #define USE_DEPRECATED_API to include/osg/Export, and various osg header and source files to optional compile in deprecated parts of the OSG API. Have renamed osg::Transparency osg::BlendFunc to bring it in line with the rest of the OSG's StateAttribute classes which are named after their OpenGL counterparts. include/osg/Transparency still exists and is simply a typedef to BlendFunc and is enclosed in a #ifdef USE_DEPRECTATED_API block. The matrix methods in the osg::Transform class have been moved/replicated in a osg::MatrixTransform sublcass from osg::Transform. The old matrix functionality is still present in the osg::Transform class but is guard by #ifdef USG_DEPRECATED_API blocks. One should now think of osg::Transform as being a Transform Node base class. MatrixTransform has all the functionality of the original Transform class, so should be used instead. 2002-07-12 13:00 +0000 [r866] robert: * Fix, sent in by Macro Jez, to the set of the camera with the computed near and far plane, so that it is only updated when _computeNearFar != CullVisitor::DO_NOT_COMPUTE_NEAR_FAR. 2002-07-12 10:30 +0000 [r865] robert: * Added blend color to osg::TexEnv 2002-07-12 09:16 +0000 [r864] robert: * Fixed indenting. 2002-07-12 08:48 +0000 [r863] robert: * Addition of RoadRecords from Yefei He. 2002-07-11 23:30 +0000 [r862] don: * added -lpthread to the link line for Linux builds. Seems Red Hat 7.3 turns up undefined symbols without it. 2002-07-11 21:08 +0000 [r861] robert: * Fixes for Win32 build 2002-07-11 18:33 +0000 [r859-860] robert: * Added Makefile for osgmultitexture demos. * Added #define for GL_TEXTURE0_ARB 2002-07-11 16:12 +0000 [r858] robert: * Added support for multitexturing to osg::State and added osgmultitexture demo which adds as spherical environment map using texture 1 to any model. 2002-07-11 14:32 +0000 [r857] robert: * Moved the code referencing osg::BoundingBox::isValid() and osg::BoundingSphere::isValid() across to use the valid() methods, the later being more consitent with other classes such as osg::ref_ptr<>. 2002-07-11 12:57 +0000 [r856] robert: * Fixes for win32 build 2002-07-11 11:36 +0000 [r855] robert: * Fixes for Win32 build 2002-07-11 11:33 +0000 [r854] robert: * Fixed bug in disabledTexCoordPointer where a '>' was being used where it should have been a '>='. 2002-07-11 11:08 +0000 [r853] robert: * Fixed the pathname for the osgprerender demo. 2002-07-11 08:28 +0000 [r852] robert: * changed unsigned int/short/char* references to GLuint,GLushort,GLubyte respectively. 2002-07-10 22:38 +0000 [r851] robert: * Updates for new use of GLushort instead of osg::ushort in GeoSet index pointer. 2002-07-10 22:33 +0000 [r850] robert: * Tidied up the types in osg::GeoSet so that the index pointers use GLushort and GLuint to get round compile issues under MacOSX. 2002-07-10 20:30 +0000 [r849] robert: * Updates to osg::Drawable::AppCallback and osgprerender demo. 2002-07-10 15:35 +0000 [r848] robert: * Added app callback to Drawable. 2002-07-10 13:33 +0000 [r847] robert: * Updates to osgprerender to support use of rendering to an image, rather then just a texture. 2002-07-10 11:26 +0000 [r846] robert: * Rejigged the line endings. 2002-07-10 11:22 +0000 [r845] robert: * Ported all the demos and loaders across to use the new multitexturing API. 2002-07-10 09:32 +0000 [r844] robert: * Added Yefei He's RoadRecords to the flt loader, these records will be ignored by the loader, but will allow the loader to skip over them and continue reading the rest of the file correctly. 2002-07-10 09:14 +0000 [r843] robert: * Updates from Macro to support the new multitexture API, and improve bounding box computation. 2002-07-10 09:04 +0000 [r842] robert: * Added setCurrentRenderBin() method. 2002-07-09 19:23 +0000 [r841] robert: * Implemented more code for the new osgprerender demo. 2002-07-09 13:31 +0000 [r840] robert: * Updates to the osgprerender code. Still doesn't do anything interesting yet.. 2002-07-09 13:17 +0000 [r839] robert: * Added new demo osgprerender to demonstrate how to prerender a scene and use the result in the main rendering for special effects. 2002-07-09 10:33 +0000 [r838] robert: * Warnings fixes for IRIX - there was a missing "const" in the sameKindAs(.) method. 2002-07-09 10:23 +0000 [r837] robert: * Fixes for IRIX build. 2002-07-09 09:35 +0000 [r836] robert: * Implemented most of the changes required for supporting multitexturing in the osg::State/osg::StateSet/osg::StateAttribute and related classes. 2002-07-08 09:42 +0000 [r835] robert: * Added Mike Connell to authors list. 2002-07-07 22:12 +0000 [r834] robert: * Added comment to reflect Clay Fowlers findings on getting VS to compile without the Vector wrapper classes. 2002-07-07 22:08 +0000 [r833] robert: * Added winsock32 libs to osgcluster demo. 2002-07-07 20:16 +0000 [r832] robert: * Rehashed the osgcluster project file to see if it solves the failure under windows. 2002-07-07 17:42 +0000 [r830-831] robert: * Fixes for Windows build. * Added include to __DARWIN_OSX__ build. 2002-07-07 17:30 +0000 [r829] robert: * Did a to_dos on osgcluster.dsp since it was original saved with unix file endings. 2002-07-07 14:40 +0000 [r828] robert: * Work on supporting multitexturing in State/StateSet/StateAttribute/Geoemtry. 2002-07-04 18:47 +0000 [r827] robert: * Added VisualStudio files for Win32 port of osgcluster demo. 2002-07-04 18:41 +0000 [r826] robert: * Added support for Win32 broadcast and recience over lan. Changes sent in by Michael Gronager. 2002-07-04 14:49 +0000 [r825] robert: * Used typedef's for std::vector<>'s used inside DrawElements implementations. Added deperecated comment to osg::GeoSet header. 2002-07-04 14:23 +0000 [r824] robert: * Added osgGA to the MIGNW makedefs. 2002-07-04 09:49 +0000 [r823] robert: * Fixed the TriangleFunctor QUAD_STRIP code so that it produces consistent results. 2002-07-03 20:33 +0000 [r822] robert: * Spotted by Neil Salter - missing transform. in the Transform copy operator. 2002-07-03 11:16 +0000 [r821] robert: * Added osgUtil dependency to the flt project. 2002-07-02 19:53 +0000 [r820] robert: * Reimplemted the osgUtil::SceneView::setCalcNearFar() functionality to bring it inline with the CullStack/CullVisitor implementation. Also added the setSmallFeatureCullingPixelSize() method and wired them up inside SceneView.cpp so they set the corresponding CullVisitor paramters. Intergrated pfImage copying change in the Performer plugin, submission sent in by Ulrich Hertlein 2002-07-02 15:01 +0000 [r819] don: * -n32 and -64 entries were reversed in makedefs 2002-07-02 06:28 +0000 [r818] don: * osgcallback required fixes for new osg::Drawable::CullCallback 2002-07-02 06:22 +0000 [r817] don: * Added support for CullVisitor to contain a osg::State. This used when cull Callbacks require the contextID for doing operations on texture objects, for example. Modified CullVisitor SceneView and Drawable 2002-07-01 14:40 +0000 [r816] don: * More 64 bit build specifics in IRIX makedefs file 2002-07-01 14:20 +0000 [r815] don: * Removed -ldl from makedefs for IRIX 2002-06-28 22:42 +0000 [r814] robert: * Rewrote the osgUtil::Tesselator so that it is easier to use, and can also easily retesselate osg::Primitive::POLYGONS found in Geometry objects. Added calls to the tesselate to the lwo and flt loaders. 2002-06-28 20:54 +0000 [r813] robert: * A couple fixes to remove Performer runtime warnings. 2002-06-28 16:25 +0000 [r812] robert: * Fixes from Ulrich Hertlein to build of pfb plugin. Small mods to these by Robert. 2002-06-28 14:42 +0000 [r811] robert: * Added to the osggeometry demo. 2002-06-28 11:11 +0000 [r810] robert: * Rewriting the osggeomtry demo to illustrate more primitive types. 2002-06-28 08:47 +0000 [r809] robert: * Removed commas from the end of enum lists. 2002-06-28 08:36 +0000 [r808] robert: * Change =0 to osg::Vec2Array::iterator() in .obj loader to get round warnings under gcc3.0.x 2002-06-27 20:29 +0000 [r807] robert: * Ported the flt plugin across to use osg::Geometry, it still uses a GeoSet internally, and I will remove this after some futher work. 2002-06-27 15:18 +0000 [r806] robert: * Added SG_EXPORT which was missing. 2002-06-27 13:15 +0000 [r805] robert: * Converted the template DrawElements primitive class into three seperate non templated classes - UByteDrawElements, UShortDrawElements, UIntDrawElements. 2002-06-27 10:50 +0000 [r804] robert: * Moved the AttributeArray and Primitive classes into their own header and source files. 2002-06-27 09:56 +0000 [r803] robert: * Removed the test aginst a iterator as a bool. 2002-06-26 21:11 +0000 [r800-802] robert: * Added comment to explain #ifdefs for member templates. * Added #idef to Export to add check for support for member templates. * Ported LWO loader across to use osg::Geometry. Work not quite complete, as we need to retesselate any concave polygons that can exists in these datasets. 2002-06-26 17:48 +0000 [r799] robert: * Added templated constructor to TemplateArray & DrawElements template to handle VisualStudio7.0 build. Ported 3DS across to use osg::Geometry instead of osg::GeoSet. 2002-06-26 14:34 +0000 [r798] robert: * Ported pfb, txp and obj loaders across to use osg::Geometry. 2002-06-26 10:28 +0000 [r797] robert: * Ported various demos and support classes over to use the new osg::Geometry class thus removing dependancy on osg::Geoset from most of the OSG, only loaders left to port now. 2002-06-25 20:47 +0000 [r796] robert: * Fixes for Cygwin build from Norman Vine. 2002-06-25 20:36 +0000 [r795] robert: * Fix to Quat::slerp so that it interpolates along the shortest path. 2002-06-25 20:27 +0000 [r794] robert: * Added osg::Drawable::PrimitiveFunctor and TriangleFunctor subclass for querrying the primitive data inside Drawables. Moved various support classes over from being osg::GeoSet based to osg::Geometry based. 2002-06-24 21:44 +0000 [r793] robert: * Fixed osgText::Text::DrawModeType::ALIGNEMENT spelling mistake, now is ALIGNMENT. 2002-06-24 21:37 +0000 [r792] robert: * Checked in .osg support for the new osg::Geometry class. 2002-06-24 12:53 +0000 [r791] robert: * Added required std:: to front of endl to fix Win32 build. 2002-06-23 21:43 +0000 [r790] robert: * Added conversion to osg::GeoSet::converToGeometry() utility to help the migration to and testing of the new osg::Geometry class. 2002-06-22 15:46 +0000 [r789] robert: * Compile Fixes for Win32. 2002-06-21 19:24 +0000 [r788] robert: * Temporarily removed the references to multi-texturing calls. 2002-06-21 16:45 +0000 [r787] robert: * Added new osggeometry demo to test the work on the new osg::Geometry Drawable. 2002-06-21 15:14 +0000 [r786] robert: * Bug fix to the size calculation of bmp images, changed both the reading and writing of images. 2002-06-21 07:48 +0000 [r785] robert: * Fixed constructor for TemplateArray(const TemplateArray& t,const CopyOp& copyop). 2002-06-20 19:54 +0000 [r784] robert: * Addd new experimental osg::Geometry Drawable which will eventually replace GeoSet. Currently doesn't draw anything, and is very much in the early design stages. 2002-06-20 18:17 +0000 [r783] robert: * Mods to MemoryManager to make the optimized build produce dummy implementations for all the public functions found in the header, this should prevent problems when not compiling in the MemoryManager under IRIX 64 build. 2002-06-19 20:38 +0000 [r782] robert: * Fixed incorrect naming of ConvexPlanerOccluder. 2002-06-19 18:45 +0000 [r781] robert: * Added support for reading the new OSG_MAX_TEXTURE_SIZE environmental variable inside the osg::Image::ensureValidSizeForTexturing() method. The smallest of GL_MAX_TEXTURE_SIZE and OSG_MAX_TEXTURE_SIZE is used for the final max texture size. This new env. var. allows users to deliberate cap the size of their textures so they can test whether their models are limited by texture memory. If reducing the max texture size increases performance then you are limited by texture memory! 2002-06-19 16:06 +0000 [r780] robert: * Added support for reading and writing OccluderNode's to the .osg file format. 2002-06-19 15:18 +0000 [r779] robert: * Added computation of the bounding volume of osg::OccluderNodes. Added support for osg::BoundingSphere::expandBy*(osg::BoundingBox) and have added osg::BoundingSphere/Box::valid() which deprecates isValid(), this is to be more consistent with other classes in the OSG. 2002-06-19 10:19 +0000 [r778] robert: * Added support for occlusion of holes in occluders, and cleaned up the interface to ShadowVolumeOccluders. 2002-06-19 08:34 +0000 [r777] robert: * Changed the osg::LightSource so its Light attribute is now generalised to be a StateAttribute. This allows alternative implementations of Lights other than the standard osg::Light. 2002-06-18 22:35 +0000 [r776] robert: * Added support for occluders occluding other occluders, which helps reduce the number of occluder that will be used in cull traversal to only the ones that will be effective. Note. Holes in occluders arn't handled in this occluder occlusion test, will implement this later. 2002-06-18 10:18 +0000 [r775] robert: * Clean ups for the Windows build. 2002-06-18 09:09 +0000 [r774] robert: * Added the length argument to a std::string argument, under Linux it compiled with the default value npos, under Windows it broke the build, add the npost excpilicity should get round this difference in implementation. 2002-06-17 21:50 +0000 [r773] robert: * Rewrote the FileUtils support for data and library file paths, moving the storage of the path lists into osgDB::Registry, and changed the data structor from a char* to a std::deque. Changed a names of couple of the convinience functions in osgDB/FileUtils to better reflect the two public FilePathList's - DataFilePathList and the LibraryFilePathList. Added support into the osgDB::Registry::readNode/Image/Object methods for pushing and popping the path of the current file being loaded. 2002-06-17 09:10 +0000 [r772] robert: * Fixes to the occluder culling code to properly disable occluders to prevent self occlusion. 2002-06-15 20:57 +0000 [r771] robert: * Fixes for Visual .NET and Mingw builds, and fix MacOSX notify() crash. 2002-06-15 12:14 +0000 [r770] robert: * Added computation of occluders volume scaled relative to the frustum volume, all volumes computed in eye coords. 2002-06-14 16:28 +0000 [r769] robert: * Added computation of the occluders volume, scale it to a ratio of the frustum. 2002-06-14 14:50 +0000 [r768] robert: * Added occluder hole test code into the osgoccluder demo. The code works, but I've commented it out right now as the Geode physically representing the occluder doesn't yet have a hole in it - just a cosmetic thing. 2002-06-14 13:49 +0000 [r767] robert: * Refined the CollectOccluderVisitor so that it checks the subgraph below a node contains occluders before traversing. 2002-06-14 11:27 +0000 [r766] robert: * Improvements to the plane clipping code. 2002-06-14 08:45 +0000 [r765] robert: * Further updates to the occlusion culling code, also adding missing OccludeNode file the .osg plugin. 2002-06-13 23:46 +0000 [r764] robert: * Further work on occlusion culling. 2002-06-13 19:39 +0000 [r763] don: * removed the use of gettimeofday for 32 bit architectures... 2002-06-13 19:34 +0000 [r762] robert: * Added #include so that it will compile properly regardless of include order. 2002-06-13 19:10 +0000 [r761] robert: * Added -osgGA to the Makefile list. 2002-06-13 18:27 +0000 [r760] robert: * Merge Randall's changes. 2002-06-13 16:21 +0000 [r759] robert: * Further work on Occlusion Culling. Most of work is complete, just debugging required now. 2002-06-12 16:23 +0000 [r758] robert: * Removed inappropriate inline keyword which was breaking the IRIX build. 2002-06-12 15:43 +0000 [r757] robert: * IRIX build fix. 2002-06-12 14:57 +0000 [r756] robert: * Changes for MacOSX build, send in by Bob Kuehne. 2002-06-12 14:46 +0000 [r755] robert: * Fixed the osgDB::getFilePath, osgDB::getSimpleFileName() and osgDB::getStrippedName() so that they check for both unix style '/' and windows style '\' slashes in file names. 2002-06-12 13:54 +0000 [r754] robert: * Fix for renaming of ShadowOccluderVolume to ShadowVolumeOccluder. 2002-06-12 09:22 +0000 [r753] robert: * Further work on occludision code. 2002-06-11 19:52 +0000 [r752] robert: * A little more work on Occlusion culling. 2002-06-11 18:41 +0000 [r751] robert: * Checked in Macro Jez's additions to osgText to support .osg IO make it a fully functioning NodeKit. Also reimplement notify() to try an prevent a crash which has been caused by to objects in notify.cpp being initiliazed twice, the second time the auto_ptr holding the dev/null ofstream was being initilized to 0. 2002-06-10 13:50 +0000 [r750] robert: * Added osg::CollectOccludersVisitor which is a helper class for finding active occluder in the view frustum, to be used as pre cull traversal. 2002-06-10 11:21 +0000 [r749] robert: * Created new helper class osg::CullStack to handle the accumulation of projection, modelview and culling sets, to be used during travesal of the scene graph, such as the cull traversal. 2002-06-09 13:10 +0000 [r748] robert: * Checked in migration from osgUtil based GUIAdapter code to Neil Salter's osgGA (Gui Abstraction). This may break users code, but all it should require to fix the builds should be a change from osgUtil::CameraManipulator (etc) to osgGA::CameraManipulator and include Calendar 2002-05-22 12:19 +0000 [r704] robert: * Removed the usage of memory manager from the debug windows build. 2002-05-22 12:01 +0000 [r703] robert: * Added osgUtil::CullVisitor::getCurentRenderGraph() and getRootRenderGraph() methods which replace getRenderGraph(). Small changing of order of push/pop of StateSet's in SceneView to clean things up. 2002-05-22 10:04 +0000 [r702] robert: * Changed the public osg::State::applyMode() and applyAttribute methods so that they dirty the associated state, this helps keep the OpenGL state valid once out of local drawing routines. 2002-05-22 08:50 +0000 [r701] robert: * Updates for Doxygen and osgGA headers from Neil. 2002-05-21 19:34 +0000 [r700] robert: * Typo and grammer fixes to introduction.html from Neil Salter. 2002-05-21 09:16 +0000 [r699] robert: * Renamed osg::State::getCurrentMode/Attribute(..) to getLastAppliedMode/Attribute() to make it more consistent with the internal workings of osg::State. 2002-05-21 08:59 +0000 [r698] robert: * Added osg::State::getCurrentMode and osg::State::getCurrentAttribute(). Aded osg::clampAbove(..) and osg::clampBelow() template functions to include/osg/Math. 2002-05-21 00:58 +0000 [r697] don: * Modified instrules so that the functionality of instlinks is that system links are not made to point to links, rather the real files. So links installed on a system are pointing to platform specific files rather than links that may be pointing to files of the wrong platform type. 2002-05-18 08:39 +0000 [r694-696] robert: * Various API updates to suppor light points developments better, but should also benifit other extensions to rendering. * Made trilinear filtering the default mode for osg::Texture's. * Modified the setting of min and mag texture filter modes to produce higher quality mip maps. 2002-05-15 19:58 +0000 [r693] robert: * Fixed problem with orhographic projections due to a bug in CullVisitor where it automatically resets the near and far to the values calculated during cull traversal. The maths for converting the computed far and near into clip coordinates was wrong, fixed this and the problem goes away. 2002-05-15 11:27 +0000 [r692] robert: * Exposed the CullVisitor::setComputeNearFarMode 2002-05-14 10:20 +0000 [r691] robert: * Fixes to new flipVertical/flipHorizontal. 2002-05-14 09:34 +0000 [r690] robert: * Added osg::Image::flipHorziontal and flipVertical, submitted by Brede Johansen. 2002-05-13 21:19 +0000 [r689] robert: * Added new template versions of a commonly used maths functions. 2002-05-13 07:30 +0000 [r688] robert: * Reverted change to use decal flag. 2002-05-10 19:30 +0000 [r687] robert: * Added image plugin library defs for IRIX, submission from Randall Hopper. 2002-05-10 15:42 +0000 [r686] robert: * Fix for finding windows fonts. 2002-05-09 22:48 +0000 [r685] don: * Small std::cout fix 2002-05-09 19:02 +0000 [r684] robert: * Fix compile problems with osgGA under Windows. 2002-05-09 18:59 +0000 [r683] robert: * Added pixelSize method to CullVisitor, and converted small feature culling to use the pixelSize method instead of a ratio of radius to distance from eye point. setSmallFeatureCullingPixelSize() method has also been added to provide the user with finer control of small featyre culling. 2002-05-09 10:31 +0000 [r682] robert: * Added new osgGA - GUI Adapter library submitted by Neil Salter. This will replace the current GUI adapter code inside osgUtil. 2002-05-08 07:32 +0000 [r681] robert: * Addded missing ClipNode references to osg.dsp. 2002-05-07 11:44 +0000 [r680] robert: * Fixed osg::Camera::getModelViewMatrix() so that it handles the EYE_TO_MODEL transform correctly. Fixed warning in ClipNode.cpp. 2002-05-07 11:12 +0000 [r679] robert: * Support added for OpenFlight switch nodes, submission from Brede Johansen. 2002-05-07 11:08 +0000 [r678] robert: * Added default values in the constructors of Vec2,Vec3,Vec4 and Quat default constructors. 2002-05-07 02:51 +0000 [r677] don: * Fixed rpath nonsense in makedefs for Irix 2002-05-03 22:47 +0000 [r676] robert: * Added osg::Node::getValidStateSet(). 2002-05-03 16:47 +0000 [r675] robert: * Added support for the managing the StateSet above a LightSource node, and made it an osg::Group so that it can be used a decorator above a scene. Added osgclip demo to the test suite. 2002-05-02 22:02 +0000 [r674] robert: * Made osg::Viewport::getViewport(..) const. 2002-05-02 00:14 +0000 [r673] robert: * dded osg::ClipNode class for managing OpenGL clipping planes, and osgclip demo. 2002-04-26 16:01 +0000 [r671] robert: * Updated the AUTHORS file to mention the original authors of the terrapage loader. 2002-04-26 15:21 +0000 [r670] don: * Testing .dsp and .dsw as binary files 2002-04-26 13:49 +0000 [r668] robert: * Added mention of MemoryManager to NEWS file. 2002-04-26 13:45 +0000 [r667] robert: * Updated docs. Fix to pfb Makefile for missing $. 2002-04-26 12:06 +0000 [r666] robert: * Fix for CisualStudio6.0 build. 2002-04-26 08:25 +0000 [r665] robert: * Fixed remaining MAX_PATH usuage, replacing it with the new DX_MAX_PATH, this should solve compile problems under VisualStudio .NET. 2002-04-26 08:16 +0000 [r664] robert: * Qarning fixes, and updated the date in NEWS to reflect todays release of 0.8.45 2002-04-25 22:09 +0000 [r662-663] robert: * Fixes for IRIX build. Fix for a warning under VisualStudio.NET. * Cygwin build fixes. 2002-04-25 21:31 +0000 [r661] robert: * Fix for window build. 2002-04-25 15:54 +0000 [r660] don: * Added small blurb for Solaris... 2002-04-25 13:26 +0000 [r659] robert: * Ran the spell checker through the new documentation. 2002-04-25 12:35 +0000 [r658] robert: * Updated change log for 0.8.45 release. 2002-04-25 11:37 +0000 [r657] robert: * Added to the .plan. 2002-04-25 11:30 +0000 [r655-656] robert: * Fixes to .obj plugin from gideon. * Added Bob to the AUTHORS list for his efforts on MacOSX. 2002-04-25 10:46 +0000 [r654] robert: * A more verbose version of the test script, using each and more memleaks.log to print out progress and report any memory leaks which have been logged. The later will only occur with a debug build. The use of echo and more makes this version osgtest.bat not portable to windows unfortuntately. 2002-04-25 10:14 +0000 [r653] robert: * Added another bullet point to the plan. 2002-04-25 10:10 +0000 [r651-652] robert: * Removed these old files that do little in the context of the current OpenSceneGraph disitribution apart from clogs things up! * Add doc/plan.html and links to it from the rest of the docs. 2002-04-25 08:54 +0000 [r650] robert: * Fixed compile problem under VisualStudio. 2002-04-25 07:47 +0000 [r649] robert: * Fixed relative path for image. 2002-04-25 07:29 +0000 [r648] robert: * Updated demos documentation. 2002-04-25 06:27 +0000 [r647] robert: * Fixed spellings in introduction.html, and update osgtext and osgviews images. 2002-04-25 05:43 +0000 [r645-646] robert: * Added back in as binary file. * Temporily removing to change it to a binary file. 2002-04-24 20:57 +0000 [r644] robert: * Merged Bob's changes for MacOSX build. This change is simply the addition of GLUT_LIB to the link line. This change should be removed once we fixed the OSG_LIBS so that it doens't include osgGLUT, however, I'll leave this for another day... 2002-04-24 20:36 +0000 [r643] robert: * Fix for MacOSX build, making sure that the compresed tex image is defined on all builds by removing the #ifdef's but then changing the name used in the typedef so it doesn't collide with local implementations. 2002-04-24 20:32 +0000 [r642] robert: * Updated doc++ docs once more. 2002-04-24 20:24 +0000 [r641] robert: * Removed CullViewState from the distribution, moved CullViewState::CullingMode into CullVisitor, and then removed all references to CullViewState from other parts of the scene graph. 2002-04-24 20:13 +0000 [r640] robert: * Updateds doc++ documention. 2002-04-24 20:04 +0000 [r639] robert: * Changes for Mac OSX build, sent in by Bob Kuehne 2002-04-24 14:52 +0000 [r638] robert: * Removed the use of __FUNCTION__ from MemoryManager to remove problems with VisualStudio .NET compile. Added support for OSG_NOTIFY_LEVEL and OSG_FILE_PATH into the relevant getenv routines. This compliments the exisiting OSGNOTIFYLEVEL & OSGFILEPATH which are deprecated but still supported. The OSG_ version are more consistent with the rest of the env variables used in the OSG. 2002-04-24 14:14 +0000 [r637] robert: * Updates to the documentation. 2002-04-24 13:08 +0000 [r636] robert: * Moved doc/OpenSceneGraphBanner_Distribution.jpg to doc/images/ to tidy up the doc directory. 2002-04-24 13:05 +0000 [r635] robert: * Futher work on documentation - added seperate context.html, a new demos.html directory and moved the previous doc/index.html to doc/documentation.html. 2002-04-24 08:50 +0000 [r634] robert: * Fix for the Cygwin build related to the new FileUtils_Unix not using the Windows PATH environmental variable for searching for libraries. Sent in by Norman Vine. Reoder of the makedefs/makedirdefs to fix Mac OSX compilation. Sent in by Bob Kuehne. 2002-04-23 22:04 +0000 [r633] robert: * Updated the docs on compiling under Windows. 2002-04-23 15:05 +0000 [r632] robert: * Added OSG_USE_MEMORY_MANAGER to Windows debug build 2002-04-23 15:01 +0000 [r631] robert: * Fixed compilation problem associated wirh moving FileUtils source out into seperate files. 2002-04-23 14:58 +0000 [r630] robert: * Fixed ordering of paramters in osg::Image constructor to remove warning. 2002-04-23 13:59 +0000 [r629] robert: * Seperated out the platform specific implementions of the file search/access routines - we now have FileUtils_Windows.cpp, FileUtils_Mac.cpp and FileUtils_Unix.cpp. The FileUtils_Mac.cpp is based on code submitted by Josh Portway and add uses the carbon API for searching for files. 2002-04-23 13:12 +0000 [r628] robert: * Addtional details on the OpenSceneGraph and support. 2002-04-23 11:03 +0000 [r626-627] robert: * Changed the Windows gauard around so that it only works for VisualStudio and not Cygwin/Mingw. * Added a pragma to get round a VisualStudio warning that I couldn't fix in any easy way. 2002-04-23 10:55 +0000 [r625] robert: * Added an imageList.clear() to osgbillboard so that its memory would be cleared before entering the viewer main loop, this removes memorymanager a reported memory leak due to the viewer using exit() which bypasses the clean up on main itself. Added an osgNew to the ReaderWriterRGB.cpp to aid detected of tracking of memory leaks. 2002-04-23 10:34 +0000 [r624] robert: * Fixed compile problems under VisualStudio w.r.t the new additions for precompiled mipmaps. Changed std::size_t to unsigned int. 2002-04-23 09:06 +0000 [r623] robert: * Replaced texture compression extension define so that its #ifndef guard used GL_ARB_texture_compression as natured intended. 2002-04-23 08:40 +0000 [r622] robert: * Updated ChangeLog in preperation for the 0.8.45 release. 2002-04-23 08:34 +0000 [r621] robert: * Added to the NEWS file. 2002-04-23 08:29 +0000 [r620] robert: * Fixed warning in swapBytes, simple addded unsigned to the int loop count, since sizeof() is always an unsigned int. 2002-04-22 23:54 +0000 [r619] don: * Impleneted byte swap for use between machines with different endians. 2002-04-22 21:45 +0000 [r618] don: * Fixed couple of small errors caught by Solaris compiler 2002-04-22 21:18 +0000 [r617] robert: * A couple of API additions to osg::ClippingVolume, osg::Matrix and osg::Plane sent in by Mike Connell. 2002-04-22 21:13 +0000 [r616] robert: * Integrated submission from Boris Bralo: Supported added for precompiled mip maps stored in osg::Image, and read by osg::Texture. Updates to TerraPage loader for support of compressed texture images and precompiled mip maps. 2002-04-22 19:41 +0000 [r615] robert: * Added code in hangglide to move the earth sky around with the eye point, use osg::Transform::ComputeTransformCallback. 2002-04-22 14:54 +0000 [r614] robert: * Added support for compute the near and far planes and then applying to the current projection matrix into CullVisitor itself. Similar code to support this has been moved out of SceneView completely. Added Matrix:: infront of the definition of the static osg::Matrix::inverse(Matrix) method which was missing. 2002-04-22 09:55 +0000 [r613] robert: * Slight changes to FAQ to make a little more relevant, it really needs a total re-write though. 2002-04-22 09:50 +0000 [r612] robert: * Added test script which runs all the demos in the OSG to make sure they run ok. User has to verify they are correct visually. 2002-04-22 09:37 +0000 [r611] robert: * Cleaned up the handling of the Viewport with osg::SceneView/RenderStage and CullVisitor so that the Viewport is now managed as part as the global stateset so that it can be pushed and popped like the rest of state without problems. This makes it easier to have multiple viewports within one scene graph. 2002-04-22 09:31 +0000 [r610] robert: * Fixes the .mlt loading from Ben Discoe. 2002-04-21 22:05 +0000 [r609] robert: * Updated TODO list. Converted AnimationPath so it is now subclassed from osg::Transform::ComputeTransfromCallback() so that it can be directly attached to the scene to move objects about. Changed the osg::SateSet::setGlobalDefaults() so that is sets GL_DEPTH_TEST to ON. Added guards and creation of default helper classes in osgGLUT::Viewer and osgUtil::SceneView so that sensible defaults are used when no settings are used of osg::State/StateSet,osgUtil::RenderStage/RenderGraph/CullVisitor. 2002-04-21 21:53 +0000 [r608] robert: * A second try at commit these updates to docs. 2002-04-21 10:12 +0000 [r606-607] robert: * Fixes to spelling mistakes in NEWS file. * Updated Versions, and NEWS file to reflect impending release of 0.8.45. 2002-04-21 09:51 +0000 [r605] robert: * Updates to docs. 2002-04-20 20:35 +0000 [r604] robert: * Updated the docs. 2002-04-20 15:49 +0000 [r603] robert: * Reorginising the docs so that data source, dependencies and installation istrucions sit in the doc directory as html files. 2002-04-19 19:55 +0000 [r602] robert: * Changed the implementation of osg::Quat::makeRotate(heading,pitch,roll) so that it conforms to the OpenFlight convention of euler angles. Added documentation into Matrix and Quat to reflect this. Added so test code to osgcube for stress testing memory allocation and deallocation. Commented out the registering of app and cull callbacks in osghud. 2002-04-19 16:22 +0000 [r600-601] robert: * Fixes for Max OSX build from Bob Kuehne. * updated the introduction.html, still not complete but getting there. No edited for typo's yet :-) 2002-04-19 16:00 +0000 [r599] don: * Fixed an assignment that should have been a test 2002-04-19 15:34 +0000 [r598] don: * Updated some files sent by Boris Bralo for the txp loader. 2002-04-19 15:02 +0000 [r596-597] don: * Fixed small typo in src/osgUtil/RenderStage.cpp * Added Bob K's fix 2002-04-18 23:30 +0000 [r595] don: * Fixed small typo in SceneView::setDefaults(). 2002-04-18 21:29 +0000 [r594] robert: * Added introduction html file. 2002-04-18 16:40 +0000 [r593] robert: * Updated stereo documentation to include details about horizontal and vertical split stereo. 2002-04-18 16:08 +0000 [r592] don: * Changed make makeosx to make 2002-04-18 15:37 +0000 [r591] don: * changed LIBEXT to LIB_EXT for Darwin 2002-04-18 15:16 +0000 [r590] don: * Added -lXi to the Linux X_LIBS 2002-04-18 10:38 +0000 [r589] robert: * Fixed VisualStudio .NET warnings in TXP plugin. 2002-04-18 09:57 +0000 [r588] robert: * Fixed memory leak in FTGL associated with the function of gluTesselate. Fixed a warnings in the DW plugin. 2002-04-17 20:04 +0000 [r587] robert: * Warning fixes for VisualStudio 2002-04-17 14:18 +0000 [r586] robert: * Fixed type in location of redhat glu patch. 2002-04-17 11:36 +0000 [r585] robert: * Fixes for warnings under VisualStudio 2002-04-17 11:29 +0000 [r584] robert: * Added a gset->computeNumVertices() which was missing, this was causing models to disappear after application of tri stripping. 2002-04-17 09:48 +0000 [r583] robert: * Changed the osg::Billboard comution so that it get passed in the current modelview matrix rathan than an identity matrix, this matrix is then modified locally. Changed the osg::Matrix set methods so they are inline. Added a few useful comments to MemoryManager.cpp to help people understand the assert's better. 2002-04-16 21:39 +0000 [r582] don: * Changed Linux makedepend flag from -MM to -M 2002-04-16 21:08 +0000 [r581] robert: * Fixed the seveal hunderd warnings in TerraPage loader! 2002-04-16 15:44 +0000 [r580] robert: * Fix to TXP plugin to handle to new osg::Image method naming. 2002-04-16 15:31 +0000 [r579] robert: * Added clearing of seperation band between horizontal/vertical split stereo areas. 2002-04-16 15:21 +0000 [r578] don: * Added makedirdefs via a request from Bob Kheune. This allows us to edit the DIRS cruft in a single file in the Make directory instead of having to edit multiple files. Also edited Makefiles that needed to include this file. Also cleaned up txp loader to compile with SunOS. This needs to be retested on other platforms. 2002-04-16 14:57 +0000 [r577] robert: * Added osg::Image::setPixelFormat(..) and setInternalTextureFormat(), and renamed osg::Image::pixelFormat(), internalTextureFormat(),dataType() to osg::Image::getPixelFormat() etc. These changes are to bring it more into line with the style of the rest of the OSG. Updated the rest of the distribution to take account for these names changes. 2002-04-16 14:09 +0000 [r576] robert: * Purge on warnings under Linux. 2002-04-16 11:41 +0000 [r575] robert: * Removed the cached matrices from osg::Camera, so that osg::Camrea::getModelViewMatrix() and osg::Camera::getProjectionMatrix() are calculated on the fly. Removed various redudent methods, including the project and unproject methods which are better supported within osgUtil::SceneView. Added a computeWindowMatrix() method to Viewport, to make it easier to construct a MV*P*W matrix for converting local coords into screen coords and visa versa. Converted SceneView and CullVisitor to use this new method. 2002-04-16 11:36 +0000 [r574] robert: * Updates to the flt plugin from Brede Johansen. 2002-04-16 08:01 +0000 [r573] robert: * Warnings fix. 2002-04-16 05:29 +0000 [r572] don: * Fixed some boo-boos in makerpms for building demo source files... 2002-04-16 04:13 +0000 [r571] don: * Fixed Solaris 'make distribution' for demo source. 2002-04-16 03:24 +0000 [r570] don: * fixed a few problems that didn't work right with installing demo source on platforms other than Solaris. 2002-04-15 21:48 +0000 [r569] robert: * Compile fixes for IRIX, submitted by Randall Hopper. 2002-04-15 21:03 +0000 [r568] robert: * Added support for OSG_USE_MEMORY_MANAGER into Windows build. 2002-04-15 19:12 +0000 [r567] robert: * Added Makefile.inst which was not added ealier with the check in osghud. 2002-04-15 14:45 +0000 [r566] don: * Added Daniel Sjölie's request to use a default complier (CXX) in makedefs. Doing this only for Linux 2002-04-15 14:29 +0000 [r565] robert: * Fixed error in project w.r.t name of source file. 2002-04-15 14:21 +0000 [r564] robert: * Renamed Demos/osgtext/osgtext.dsp back to Demos/osgtext/osgtextdemo.dsp 2002-04-15 13:15 +0000 [r563] robert: * Added CullCallbacks to osg::Node, and osgUtil::CullVisitor. 2002-04-15 11:03 +0000 [r562] robert: * Added osghud, a head up display demo. 2002-04-15 10:59 +0000 [r561] robert: * Fixes to warning in Win32 build 2002-04-15 08:51 +0000 [r560] robert: * Fixed the copying of LongIDRecord's strings in flt plugin so it now uses the record length-4, to create the string. Also Removed some in appropriate comments from LongIDRecord, since they were obvious and hang over of a copy and paste job on the code. 2002-04-15 08:09 +0000 [r559] robert: * Fixed display problem with the HUD in osgtext which was caused by the new mods to SceneView not honouring the z near/far calculation flag. 2002-04-14 22:21 +0000 [r558] robert: * Added support for specificing the eye mapping and seperation between the horizontal and veritical split stereo modes. Renamed osg::Image::ensureDimensionArePowerOfTwo() to osg::Image::ensureValidSizeForTexturing(). 2002-04-14 20:30 +0000 [r557] robert: * Used a faster method for checking for power of 2 on the image dimensions and did a check on forcing 16bits textures in osg::Texture (which speeds things up on the Umea model which is performance bound by texture memory.), the later check is now commented out. 2002-04-14 13:41 +0000 [r556] robert: * Fixes to osg::Image::createImage(..), and addition of code to Viewer.cpp to support output of screen snapshot via 'O'. 2002-04-14 12:54 +0000 [r554-555] robert: * Addition of write .bmp to the BMP plugin. * Fix for crash in SceneView introduced when ungarded use of _dispalySettings pointer was added, a if (valid) guard has been added to solve the problem. 2002-04-13 22:19 +0000 [r553] robert: * Clean up for VisualStudio build 2002-04-13 18:53 +0000 [r552] robert: * Added a space into the project name because it was confusing VisualStudio. 2002-04-13 18:45 +0000 [r551] robert: * Further changes to VisualStudio.dsw for dependancies. 2002-04-13 11:36 +0000 [r550] robert: * Added dependanices into osgPlugins. 2002-04-13 11:08 +0000 [r549] robert: * Fixed compile problem related to missing includes (a result of removing include of Camera..) 2002-04-13 10:29 +0000 [r548] robert: * Added dependancies to Demos. 2002-04-13 10:18 +0000 [r547] robert: * Saved workspace from VisualStudio to follow up on missing demo dependancies 2002-04-13 09:28 +0000 [r546] robert: * Added Core infront of the names of the project dependancies. 2002-04-12 18:06 +0000 [r545] robert: * Further work on cleaning up SceneView and Camera, in particular moving strereo support out of Camera and into SceneView. Also enabled the option to set the projection and modelview matrices directly on SceneView thereby removing the dependance on osg::Camrea to control the view of the scene. 2002-04-12 14:05 +0000 [r544] robert: * Fixes for Win32 build. 2002-04-12 13:06 +0000 [r543] robert: * Futher updates to VisualStudio files, adding osgstereoimage and osgversion in particular. 2002-04-12 12:51 +0000 [r542] robert: * Added "Core " infront of the osg, osgDB, osgUtil, osgText, and osgGLUT libraries in the Visual Studio workspace/project files. 2002-04-12 12:15 +0000 [r541] robert: * Renamed the osgtext demo project to reflect the name. 2002-04-12 11:57 +0000 [r540] robert: * Added "Demo " and "osgPlugin " infront of all demo and plugin project names to help differentiate them within VisualStudio. 2002-04-12 10:24 +0000 [r539] robert: * Attempt to add osgPlugin infront of the 3ds name to force VisualStudio to present it as plugin in the browser. 2002-04-12 10:12 +0000 [r538] robert: * Reorganised the names of libraries and Demos to make it clear what is what. 2002-04-12 09:53 +0000 [r537] robert: * Fixes for Win32 build 2002-04-12 09:25 +0000 [r535-536] robert: * Removed double reference of osgtexture * Removed Metroweks files since they wern't being used, and were not up to date. An attempt at using Metrowerks for MacOSX build failed, and we have Cywgin/Mingwin VisualStudio for windows so there is little need for it. 2002-04-12 08:01 +0000 [r534] robert: * Removed dangling references to NewCullVisitor from osgUtil.dsp. 2002-04-12 06:18 +0000 [r533] don: * Solaris PKG distribution now makes a shar (self-extracting shell archived) changed makepgk to do this. Changed another one of those pesky cout = std::cout in CullVisitor.cpp 2002-04-12 05:09 +0000 [r532] don: * added 'make cleandepend' to build system. 2002-04-12 05:06 +0000 [r531] don: * Added the 'make cleandepend' target to the build system. 2002-04-11 23:20 +0000 [r530] robert: * Added DataVariance enum and set/get fields to osg::Object to help identify which objects have values that vary over the lifetime of the object (DYNAMIC) and ones that do not vary (STATIC). Removed the equivalent code in osg::Transform, StateSet and StateAttribute, as these are now encompassed by the new DataVariance field. Removed MatrixMode enum from Matrix, and associated fields/parameters from osg::Transfrom and osg::NodeVisitor, since MatrixMode was not providing any useful functionality, but made the interface more complex (MatrixMode was an experimental API) Added ReferenceFrame field to osg::Transform which allows users to specify transforms that are relative to their parents (the default, and previous behavior) or absolute reference frame, which can be used for HUD's, camera relative light sources etc etc. Note, the view frustum culling for absolute Transform are disabled, and all their parents up to the root are also automatically have view frustum culling disabled. However, once passed an absolute Transform node culling will return to its default state of on, so you can still cull underneath an absolute transform, its only the culling above which is disabled. 2002-04-11 17:15 +0000 [r528-529] robert: * Added several new methods to osg::Image to help keep track of memory and added osg::Image::readPixels to encapsulate glReadPixels. Reordering of includes in include/osg/Fog and include/osg/Light to remove silly warnings under Visual Studio. * Patch to ReadWriter3DS from Mike Connel. 2002-04-11 16:05 +0000 [r527] don: * Backed out bad addition of NewCUllVisitor 2002-04-11 15:54 +0000 [r526] don: * Somehow, cvs forgot to check in a modified Makefile with NewCullVisitor added to it... Hm.. anyway this fixes it. 2002-04-11 13:53 +0000 [r525] robert: * Fix for Win32 build. 2002-04-11 09:16 +0000 [r524] robert: * Changed the comments for Clay Fowlwer about the GLU patch for RedHat7.2 to reflect the new position of the tarball and its new name. 2002-04-11 08:24 +0000 [r523] robert: * Fixed refrences to NewCullVisitor which has now been mapped onto CullVisitor. 2002-04-10 22:10 +0000 [r522] robert: * Copied NewCullVisitor over top of CullVisitor and then removed NewCullVisitor. Added some defines to Image in prep for writing code to determine how big a pixel is. 2002-04-10 21:51 +0000 [r521] robert: * Added new osg::DrawPixels class with encapsulates glDrawPixels as and osg::Drawable. Added osg::Image::readPixels to osg::Image. Made osg::LightSource to default to cullActive set to false to that LightSource nodes don't get culled by default. 2002-04-10 14:34 +0000 [r519-520] don: * Added placeholder .README file to the PKG directory to keep CVS from removing the directory on an update. * Removed big honkin' SUN PKG files from cvs distribution. 2002-04-10 01:29 +0000 [r518] don: * Added (previously omitted) libpng, libjpeg, libtiff, libgif to makedefs in the Linux section 2002-04-09 22:54 +0000 [r517] don: * Fixed makedepend to do the right thing. 2002-04-09 21:46 +0000 [r516] robert: * Added setProjectionMatrix and setModelViewMatrix() methods to osg::SceneView, and associated member variables. I have not linked them up to the cull traversal yet, but this will be the next task. 2002-04-09 16:09 +0000 [r515] robert: * Further work on removing Camera references from NewCullVisitor and releted classes, this work paves the way for making osg::Camera an optional extra rather than a requirement for rendering. 2002-04-09 15:51 +0000 [r514] don: * Checking in all Makefile.inst in src/Demos/*. These are the Makefiles that get installed rather than the build Makefiles. 2002-04-09 14:55 +0000 [r513] don: * Added pkgadd distribution for Solaris. Added a cleaner way to install demo source so that installed versions use a simplified makedefs/makerules. Small fix to get osgText to compile with Solaris CC. Constructor declared with a non-const argument, but implemented with const argument. 2002-04-08 16:50 +0000 [r512] don: * Added -lstdc++ to begining of LIBS on link line.. ?? 2002-04-08 16:25 +0000 [r511] don: * Put quotes around "DBGF" for multi argument 2002-04-08 08:23 +0000 [r509-510] robert: * Changed a char* into const char* to fix Solaris build. * Fix for VisualStudio's lack of auto_ptr::reset. 2002-04-07 17:47 +0000 [r508] don: * Added a stop gap fix for cygwin build. Previous experiements were creating library and plugin files that looked like system library and system files which would have deleted original files on a 'make install'. Cygwin is not tested yet, but this needed to get fixed before a cygwin user wiped out his system library files. 2002-04-06 09:24 +0000 [r507] robert: * Updates to Makefile to reflect recent .cpp additions such as TextureCubeMap, MemoryManager etc. 2002-04-05 02:49 +0000 [r506] don: * Fixed a small oversight in the previous bug fix. in GeoSet::computeBound() _numcoords is NOT necesarily _cindex._size. 2002-04-05 01:52 +0000 [r505] don: * Edited INSTALL for new make and installation procedures. Checking in a fix for Norman Vine Added helprules and help.sh for a long-winded help message if you 'make help'. 2002-04-04 18:01 +0000 [r504] don: * Added Norman Vine's changes for CYGWIN builds Added distrules and makerpms for building RPM distributions Removed old RedHatRPM distribution build directory Added new dist/RPM directory and placed temporary .spec files (these are generated by Make/makerpms and are not intended for stand-alone use, but they keep the directory warm and CVS happy) 2002-04-04 00:30 +0000 [r503] don: * Fixed a small bug in compute bound that caused it to come up with the wrong number if the coord array was indexed, and containing bogus (unindexed, yet in-line) numbers. 2002-04-03 17:53 +0000 [r502] don: * Cleaned up in stallation directives 2002-04-03 17:42 +0000 [r501] don: * Reinstated Norman Vine's TARGET_BASENAME variable in the makefiles and added prefixes and suffixes to libs and plugins. ALl this to accomodate cygwin... Also added INST_SYS_PREFIX and INST_SHARE_PREFIX for installation, as well as "standardizing" the install locations for the various platforms. 2002-04-02 06:58 +0000 [r500] don: * Oops forgot to add makedefs and makerules 2002-04-02 06:44 +0000 [r499] don: * The new order for building OSG. All Makefiles are replaced and the Make directory is left with four files only : makedefs makerules makedirrules instrules These work for all platforms supported so far, which include : Linux Irix Solaris MacOSX Cygwin FreeBSD 2002-04-02 06:27 +0000 [r498] don: * Folded in Bob Kuehne's changes for Mac OSX to makedefs and makerules 2002-04-01 15:37 +0000 [r497] don: * Added cleanlite rules to makerules.new 2002-04-01 04:54 +0000 [r496] don: * *** empty log message *** 2002-04-01 03:39 +0000 [r495] don: * Completed and tested instrules.new 2002-03-31 16:43 +0000 [r494] don: * Added more to instrules and makedefs.new Folded in Randall Hopper's changes for FreeBSD 2002-03-31 16:40 +0000 [r493] robert: * Added new osg::Projection node, and osgUtil::NewCullVisitor which are work in progress for the new support for controlling the projection matrix from within the scene graph. Also Added osg::State::getClippingVolume(), getProjectionMatrix() and getModelViewMatrix() with allows drawables to access the current projection, and model view matrices and the view frustum in local coords to the drawable. 2002-03-31 09:54 +0000 [r492] robert: * Removed reference to malloc.h, replacing by stdlib.h instead. 2002-03-30 21:20 +0000 [r491] robert: * Warnings fixes, submitted by Randall Hopper. 2002-03-30 15:13 +0000 [r490] robert: * Fix for Cygwin build. 2002-03-29 17:26 +0000 [r489] robert: * Move the applying of Projection and ModelView matrices into osg::State so that it now maintains references to the last applied matrices, automatically doing lazy state updating. This simplifies the various places in the OSG which were previously doing the applying, add paves the way for managing the projection matrix within the scene graph. Remove MemoryAdapter and mem_ptr as they arn't being used, and can potentially confuse users by their existance. 2002-03-29 12:23 +0000 [r487-488] robert: * Converted from dos file endings to unix. * Fixes for dos endings in MemoryManager.cpp, and compile fix for osgText for Cygwin. 2002-03-29 06:54 +0000 [r486] don: * Added new install rules for makefiles and updated makedefs and makerules... more to come 2002-03-28 23:06 +0000 [r485] robert: * Fixes for IRIX build. 2002-03-28 07:29 +0000 [r484] don: * Couple a fixes in makedefs and makerules 2002-03-28 06:35 +0000 [r483] don: * Added Norman Vines fixeds for cygwin 2002-03-27 23:04 +0000 [r482] robert: * A compile fix to the new Texture subload changes. 2002-03-27 22:51 +0000 [r481] robert: * Added support for setting the texture subload width and height within osg::Texture. The values default to 0, and in this state they are sizes of the glTexSubImage2D are taken from the source image size. This allows the previous setup with no settings for subload size to work as before. 2002-03-27 16:31 +0000 [r480] robert: * Futher updates to MemoryManager, fixed memory leak in osgconv. 2002-03-27 14:56 +0000 [r479] robert: * Updates to various files, replacing delete calls with osgDelete so that greater debugging info can be gleaned. 2002-03-27 10:52 +0000 [r478] robert: * Added support for VERTICAL_SPILT and HORIZONTAL_SPLIT stereo modes. 2002-03-27 06:09 +0000 [r477] don: * Update to makeefs/makerules 2002-03-27 00:55 +0000 [r476] don: * update to makedefs.new makerules.new 2002-03-26 23:52 +0000 [r475] robert: * Added support for osg::MemoryManager which is based upon Paul Nettle's memory manager published at flipcode.com. This can be turned on with the OSG_USE_MEMORY_MANGER option which then uses custom global new and delete operators as well as provide osgNew and osgDelete macro's which add ability to log line and file from which calls are made. Updated osg,osgUtil,osgDB,osgText and osgPlugins/osg to use osgNew/osgDelete, and fixed memory leaks highlighted by the new memory manager. 2002-03-26 21:26 +0000 [r473-474] don: * Adding makedirrrules to Make directory * Temporarily adding makedefs.new and makerules.new to keep them separate from current makedefs/makerules files. Will eventually remove all makedefs.* and makerules.* and replace only makedefs and makerules with makedefs.new and makedefs.new 2002-03-25 23:18 +0000 [r472] robert: * Added osg::MemoryManger which is currently based on Paul Nettle's memory manager published at flipcode. I havn't adopted Paul's macro's for new/delete etc, but use osg prefixed versions instead to allow greater flexiblity in handling include ordering. Have fixed a couple of new/delete[] problems which existed as a result. To use the MemoryManager to track memory usage simply add -DOSG_USE_MEMEORY_TRACKING to the compile line. Have yet to move the osg from using new to osgNew, will do this next. 2002-03-25 23:13 +0000 [r471] robert: * Added missing osgstereoimage.dsp 2002-03-25 19:04 +0000 [r470] robert: * Fixes for MacOSX build. 2002-03-23 21:30 +0000 [r468-469] robert: * Fixed warning in DisplaySettings.cpp * Moved the exit on escape into Window, and added a virtual free method on both Window an Viewer to clean up the windows, this is now called before exit is finally called, ensure that more more memroy is clean up prior to exit. 2002-03-23 10:55 +0000 [r467] robert: * Added GL_TEXTURE_3D definition for those with gl.h headers which don't contain it. 2002-03-21 15:46 +0000 [r466] robert: * Added missing TextureCubeMap.cpp to cvs. 2002-03-21 12:36 +0000 [r465] robert: * Renamed have_applied_mode, have_applied_attribute, apply_mode, apply_attribute to haveAppliedMode, haveAppliedAttribute, applyMode, applyAttribute to make it more consistent with the general OSG name convetion. 2002-03-21 12:00 +0000 [r463-464] robert: * Added osg:State:have_applied_mode(mode) and have_applied_attribute(type) to make it easier to specify which modes and attributes have been modified without the user requiring to know to what value, or to have an equivilant attribute to pass to the have_applied_attribute method. The original have_applied(mode) and have_applied(attribute) methods have been renamed have_applied_mode(), have_applied_attribute() as this was required to prevent the mode and type values colliding during compile (it was causing a compile error when the method names were the same.) * _cullMaskRight was not being initialized in the constructor which was resulting in some sporadic problems when running stereo - occoasionally the right eye view wouldn't appear! 2002-03-21 07:50 +0000 [r462] don: * Modified files reflect small changes to work with Sun OS port.... Removed redundant README file in osgviews... was a copy of sgv/README. 2002-03-20 22:39 +0000 [r461] robert: * Added osg::TextureCubeMap which encapsulates OpenGL's cube texture mapping. 2002-03-20 14:03 +0000 [r460] robert: * Added a Referenced::unref_nodelete() method which unreferences but does not delete the object even if its count goes to 0 or below. This should only be called in special circumstances, the ReaderWriter::ReadResult being one of them. This new method has allowed the problem of objects being multiple referenced on return from readNodeFile() & readImageFile(). 2002-03-20 11:24 +0000 [r458-459] robert: * Updates to Texture and TextureCubeMap to clean up the code so they share much more of the core texture setup code. This largely invloved paramterizing the applyImmediateMode, which has also been rename applyTexImage to reflect its functionality better. * Added the fallback of intersecting with the a drawables bounding box, if the drawable isn't a GeoSet and hence supported by the IntersectVisitor's GeoSet primitive intersections code. 2002-03-18 23:10 +0000 [r457] robert: * Added osg::TextureCubeMap. submission from Brede Johansen. 2002-03-18 22:03 +0000 [r456] robert: * Fixed the MS version number check in Optiizer.cpp. Fixes to memory handling in ReaderWriterDW.cpp. Submissions from Geoff Michel. 2002-03-18 21:56 +0000 [r455] don: * Changes required for SUN Solaris port... 2002-03-17 18:44 +0000 [r454] robert: * Added new osgstereoimage demo which loads two stero paired images to create a 3D via of photographed scene. 2002-03-14 23:19 +0000 [r453] robert: * Fix of a delete char array so it used delete []. 2002-03-14 20:29 +0000 [r452] don: * Fixed a problem for finding MIPS 64 bit libraries. Was seaching for LD_LIBRARYN32_PATH instead of LD_LIBRARY64_PATH 2002-03-14 17:34 +0000 [r451] robert: * Integrated various changes worked on at the Glasgow Science Center. Changes include change the CameraManipulators so they work with double for time instead of float. Also added support for DataType to osg::StateAttribute and StateSet so that they can be set to either STATIC or DYNAMIC, this allows the optimizer to know whether that an attribute can be optimized or not. 2002-03-14 16:42 +0000 [r450] robert: * Added a TextureCallback which cycles through various filter modes, used in testing new glTextParamters update functionality. I have commented out the call to attaching of the callback so osgtexture outwardly behaves as before. The code lies dormant just incase we need to use it for testing in the future. 2002-03-14 16:01 +0000 [r449] robert: * Changed Texture so that is use lazy updating on texture paramters (Filter/Wrap) mode by using a _texParamtersDirty flag in combination with an applyTexParamters(State&) method which does the paramters setting in one tidy bundle. This new implementations replaces the CompileFlags submitted yesterday. Simplified NodeCallback by remove osg::NodeCallback::Requirements as they are no longer needed. Fixed comments in Drawable. Put guards around cosf definations so that they are only used under Win32/Mac. Fixed warning in CullVisitor. 2002-03-14 15:26 +0000 [r448] robert: * Fix to handling of big/little endian in trpage_readbuf sent in by Randall Hopper, and a waning fix. 2002-03-14 00:07 +0000 [r447] don: * Fixed compile flags in Texture 2002-03-13 22:44 +0000 [r446] don: * Fixed DrawCallback in Drawable and added CullCallback to Drawable Cull Visitor now checks for a Drawable's CullCallback and calls it if it exists. It then prunes based on the return value (bool) of the cull callback. 2002-03-09 10:54 +0000 [r441-445] robert: * Support added for pivot points, submission from Mike Connel. * Fixed setWindowWidth call to account for width and height correctly. * TXP plugin updates from Boris Bralo. * TXP plugin changes submitted by Boris Bralo. * TXP plugin update from Boris Bralo. 2002-03-04 01:37 +0000 [r440] robert: * Added file extension guard to .obj reader plugin. 2002-03-03 22:31 +0000 [r439] robert: * Added support for seperate traversal masks for standard, left and right cull traversals. This allows one to create seperate rendering for left and right eyes when doing stereo. 2002-03-02 09:24 +0000 [r438] robert: * Added a GL vesion number check to LightModel, and small typo fix in Registry. 2002-03-01 09:29 +0000 [r435-437] robert: * Added getInverse implementation to AnimationPath, and added #if guard to Optimizer.cpp to all compilation on state optimizer when using VS7. * Fixes to osgText to improve robustness when running multithreaded multipipe apps. * Updates to the clamp to border support in osg::Texture. 2002-02-28 00:11 +0000 [r434] robert: * Added support for setting the maximum number of graphics contexts that the OSG has to maintian. 2002-02-27 22:12 +0000 [r433] robert: * Added an using namespace osg to fix a MipsPro7.3 build error. 2002-02-27 22:04 +0000 [r432] robert: * Updated AUTHORS file with Boris' email address. 2002-02-27 22:00 +0000 [r430-431] robert: * Integrated support for GL_CLAMP_TO_BORDER_ARB extension to osg::Texture, submitted by Sasa Bistrovic. * Fixes to DW loader, submitted by Geoff Michel. 2002-02-27 00:58 +0000 [r429] robert: * Added new osg::AnimationPath which is contaner for a set of key frames for defining an animation path. To be used with osg::Transform etc. 2002-02-26 20:01 +0000 [r428] robert: * Added makeRotate(heading,pitch,roll) to Quat in prep for new classes for animation paths. 2002-02-25 23:14 +0000 [r427] robert: * Added LightModel.cpp's to Codewarrior files and added definiations for pre gl version 1.2 headers lack of support for color control. 2002-02-25 22:46 +0000 [r426] robert: * Added support for glLightModel functionality via osg::LightModel. 2002-02-24 23:03 +0000 [r424] robert: * Updated docs, ChangLog and NEW for patched version of 0.8.44. 2002-02-24 22:39 +0000 [r423] robert: * Added LineStipple to mcp file. 2002-02-24 20:55 +0000 [r422] robert: * Added support for glLineStipple via osg::LineStipple state attribute. 2002-02-24 20:21 +0000 [r421] robert: * Removed Metrowerks.mcp as it has not been kept up to date since October, the new OpenSceneGraph.mcp replaces it. 2002-02-24 16:49 +0000 [r420] robert: * Integrated fixes to the detailed depth calculation in the CullVisitor from Sasa, and fix to the IntersectVisitor's management of path from Sean. 2002-02-23 00:16 +0000 [r419] robert: * Updates to Windows Codwarrior file 2002-02-22 23:40 +0000 [r417-418] robert: * updates for Win32 Codewarrior build * Fix for win32 Codewarrior build 2002-02-22 17:12 +0000 [r416] robert: * Add support for Metrowerks Codewarrior build under Windows. 2002-02-19 18:59 +0000 [r414] robert: * fixed txp build name problem - was overwriting .osg plugin. 2002-02-18 23:01 +0000 [r413] robert: * Fixed stereo implementation. 2002-02-18 21:52 +0000 [r412] robert: * Fixes to Win32 build of new DX writer plugin. 2002-02-18 20:48 +0000 [r410-411] robert: * Comment w.r.t OpenDX plugin updated. * Added OpenDX writer from Randall Hopper. 2002-02-14 13:26 +0000 [r409] robert: * Beginings of reimplementation of stereo support in scene view. Work not complete yet. 2002-02-14 12:55 +0000 [r408] robert: * updated the options for the txp plugin. 2002-02-14 12:51 +0000 [r407] robert: * Removed osgWX workspace files. 2002-02-14 11:06 +0000 [r406] robert: * Fixed impostor bug introduced when new modelview matrix was moved entirely within the cull traversal/draw traversal. The impostor code has been adapted to the new convention. 2002-02-13 22:56 +0000 [r403-405] robert: * Updated the makefiles to all have the #!gmake reference to force IRIX compilation using gmake rather than pmake or smake. This gets round issues with exporting OSGHOME. * 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. * Fixed the fabsf define which was eroneous mapped to sqrtf, due to the copy and paste antipattern no doubt. 2002-02-13 00:13 +0000 [r402] robert: * Fixed problems with intersection visitor coupled with the viewer. 2002-02-13 00:00 +0000 [r401] robert: * Added sgv -stereo cessna.osg to make test list. 2002-02-12 23:49 +0000 [r400] robert: * Added a set of test runs to the makefiles and demos. The demos now have titles relevenat to their function. 2002-02-12 22:51 +0000 [r399] robert: * Updates for IRIX build, and docs updates. 2002-02-12 22:35 +0000 [r398] robert: * Removed references to osgWX from the doc++ directory. 2002-02-12 08:23 +0000 [r397] robert: * Updates to Transform and CullVistor to support new getLocalToWorldMatrix methods. 2002-02-11 23:24 +0000 [r396] robert: * Updates to Transform handling in CullVisitor, in prep for moving camera modelview and projection into Transform nodes. 2002-02-11 22:53 +0000 [r395] robert: * Clean up of TXP plugin for IRIX build. 2002-02-11 19:51 +0000 [r394] robert: * Cleand up the root Makefile. Moved CullVisitor/RenderStage/RenderStageLighting across to managing lights entirely within RenderStageLighting, and changed the management of modelview matrices so that RenderLeaf now stores the absolute modelview matrix, rather than a model matrix as done previously. The later allows RenderLeaf's to do a glLoadMatrix rather than a glPushMatrix/glMultMatrix/glPopMatrix. 2002-02-11 15:09 +0000 [r393] robert: * Fixed Linux hang of the TXP loader by overriding the default -O2 optimization level which appears to cause the code to hang, -O works fine for some strange reason, I havn't found any direct problems in the code. This may be compiler bug or a code bug, the bug may go away in later versions of GNUC++, the problem currently occurs under GCC2.96. 2002-02-11 12:51 +0000 [r392] robert: * Applied fix to transparancy in flt loader. 2002-02-11 03:26 +0000 [r391] robert: * Fixed the date on the release. 2002-02-11 02:38 +0000 [r389] robert: * Updated changelog for release. 2002-02-11 02:34 +0000 [r388] robert: * Fixed a make install error on the plugins related to the old definitions for plugin names hanging around despite being deprecated. These definiations confused the make install/make instclean so it tried to link a non existant library. Have removed old definitions and everything intalls properly once more:-) 2002-02-11 01:02 +0000 [r386] robert: * Updated changelog. 2002-02-11 00:51 +0000 [r384] robert: * Did a make docs, in prep for the 0.8.44 release. 2002-02-11 00:42 +0000 [r382-383] robert: * Added missing doc++ generated .html files. * Updated Stats code, sent in by Geof Michel. 2002-02-11 00:23 +0000 [r381] robert: * Clean up INSTALL notes. 2002-02-10 23:19 +0000 [r380] robert: * Updateds NEWS for the 0.8.44 release. Change the osg::NodeVisitor::getLocalToWorldMatrix() / getWorldToLocalMatrix() methods so it do not initilize the matrix being passed to them, and assume the the users has already initiliazed them appropriately, such as to take account of camera positions. 2002-02-10 22:35 +0000 [r379] robert: * Implemented NodeVisitor's getLocalToWorldMatrix and getWorldToLocalMatrix to allow users to querry the current accumulated matrix state within the scene graph. 2002-02-10 20:05 +0000 [r378] robert: * Disbalbed a dumb warning in Windows build via a #pragma. 2002-02-10 17:16 +0000 [r377] robert: * Fixed a bug in the drive manipulator which was due to it using the local coords of the intersection point with the scene rather than the world coord value for that point. The code now uses osgUtil::Hit::getWorldIntersectionPoint() method for getting the world coords. Added support for getWorldIntersectionPoint to Viewer.cpp. Put and #ifdef around the setting of the default display list visitor so it nolonger sets in under IRIX. This is a world around to the IR graphics imbending lighting info into display lists, if the display lists are created before state is set up it produces lighting artifacts such as flickering. Remove the the default display list init visitor removes these problems, display lists are then built on the fly and drawables a drawn for the first time. 2002-02-10 11:17 +0000 [r376] robert: * Fixes for MacOSX build. 2002-02-10 10:42 +0000 [r375] robert: * Fixes to TXP loader for Cygwin and Ming builds. 2002-02-09 22:29 +0000 [r374] robert: * Fixed the osgUtil::Optimizer::FlattenStaticTransformVisitor so that it does not flatten drawables which have double references to them, but only one reference with a static transform on it. This case can't be flattened but this wasn't picked up. The code now detects the case correctly. 2002-02-09 21:29 +0000 [r373] robert: * Updates to BMP loader from Geoff Michel. 2002-02-09 19:46 +0000 [r372] robert: * Added std:: infront of string refrences to solve compile problems under gcc 3.0.3. Also converted to unix file endings so other the windows style files. 2002-02-09 14:29 +0000 [r371] robert: * Updates to docs and fixes to a few warnings. 2002-02-09 10:54 +0000 [r370] robert: * Updated docs. 2002-02-09 10:50 +0000 [r369] robert: * Fix to BMP loader. 2002-02-09 10:24 +0000 [r368] robert: * Fixes for cygwin and mingw builds. 2002-02-08 23:07 +0000 [r366-367] robert: * Removed further wxsgv files. * Removed osgWX and wxsgv from the repositry as it is intend to keep the core distribution clean from GUI examples, these instead should live in the bazaar. This can better accomodate the many different types of viewer that users are developming. 2002-02-08 22:55 +0000 [r365] robert: * Added support for parents to Drawables. Bumped up version numbers in prep for 0.8.44. 2002-02-08 09:30 +0000 [r364] robert: * Fixes for IRIX and Boris Bralo's TerraPage loader. 2002-02-07 08:07 +0000 [r363] robert: * Fixed teh setDrawCallback so that it now calls dirtyDisplayList() instead of dirtyBound. 2002-02-07 01:17 +0000 [r361-362] robert: * Fix for Win32 build. * Various investigations into culling errors w.r.t matrix inversion resulted in the conclusion that the osg::Matrix::inverse was broken, have lifted a new implementation from sgl and it seems to work fine. Will need further testing but looks good. 2002-02-07 01:12 +0000 [r359-360] robert: * Fix for the handling of lighting in the DW loader. * Added a check to the destructor of Referenced so that it detects referenced objects that are deleted whilest still having a positive _refCount, such as when a object has been deleted on the stack, yet other references still exist for it. Have put the desctructor implementation in Object.cpp to avoid adding yet another file with only a couple of lines of code in. 2002-02-07 01:07 +0000 [r357-358] robert: * Added callbacks to allow users to modify the underlying functionality of LOD, Billboard and Drawabel objects. * Added extensions code submitted by Yefrei. 2002-02-06 08:57 +0000 [r356] robert: * Compile fixes. 2002-02-05 21:54 +0000 [r355] robert: * Have taken a few more steps towards support for view dependant transformations by adding a ComputeTransformCallback to osg::Transform, and have now removed the recently added AutoTransform since it is nolonger required. Have also updated CullVisitor to account for the new ways for tracking transformation matrices in the scene. 2002-02-05 21:51 +0000 [r354] robert: * Have removed the old lazy initialization of Matrix since it was causing bugs and adding checks to many mothods which in the end slow it down more than not intilizing the code! The code is now simpler, more robust and faster:-) 2002-02-05 10:49 +0000 [r353] robert: * Added comment to flt2osg's handling of osg::Material setup w.r.t osg::Material::_colorMode. 2002-02-03 22:32 +0000 [r352] don: * added shademodel to TARGET_INCLUDE_FILES 2002-02-03 20:57 +0000 [r351] robert: * Added beginings of new AutoTransform class. 2002-02-03 19:18 +0000 [r350] robert: * Fixes for GCC 3.0.3 build. 2002-02-03 12:33 +0000 [r349] robert: * Removed the trailing ; after namespace {...} declariations in headers which was being picked as a warning under Codewarrior. 2002-02-03 11:38 +0000 [r347-348] robert: * Added first cut at new AutoTransform node which will be used for generating Transform's during the cull traversal such as for earth/sky etc. * Updates for Borland compilation. 2002-02-02 20:07 +0000 [r346] robert: * Added defined( __BCPLUSPLUS__) to windows export code segments. 2002-02-02 19:49 +0000 [r345] robert: * Fixed a copy and paste error which was causing compile problems under Windows, due to a incorrect comparison of objects of different types. 2002-02-02 10:52 +0000 [r344] robert: * Typo fixed in the header guard. 2002-01-30 19:59 +0000 [r343] robert: * Fixed clone(CopyOp&) and cloneType() methods which were out of sync with the new style clone operations. 2002-01-30 18:59 +0000 [r342] robert: * Fixes for Windows build 2002-01-30 16:24 +0000 [r341] robert: * Fixes for Windows build. 2002-01-30 15:27 +0000 [r340] robert: * Removed the M_PI defines from include/osg/Math and have use a const double osg::PI etc in its place. 2002-01-30 15:02 +0000 [r337-339] robert: * Changes for Borland C++ compiler changes. * Added osgbillboard project files to the VisualStudio workspace. * Added osgbillboard demo. The code is main a copy of osgtexture right now, my plan to do change it to make it a better demo of the different types of billboard that one can do. 2002-01-30 14:37 +0000 [r336] robert: * Removed a Makedepend that didn't belong! 2002-01-30 13:15 +0000 [r335] robert: * Fixed the rotation direction of the POINT_ROT_* modes, this was broken by earlier fixes to the osg::Matrix. 2002-01-30 12:09 +0000 [r334] robert: * Made the LineSegment destructor protected to force users to create segments on the stack thus ensure that they arn't created locally and have their memory deleted incorrectly. Also updated the IntersectVisitor so that it no used osg::ref_ptr<> internally for storing all data. Have also move the IntersectState helper class to inside the IntersectVisitor which simplifies the external interface to the class. 2002-01-29 20:25 +0000 [r333] robert: * Fixes for windows build. 2002-01-29 14:20 +0000 [r332] robert: * Removed the now rendundent DeepCopy and ShallowCopy files. 2002-01-29 14:04 +0000 [r331] robert: * Moved all references to osg::Cloner to osg::CopyOp. 2002-01-29 12:55 +0000 [r330] robert: * Fixed the header guard, which was using the name define as FileUtils. Problem spotted by Terry Welsh. 2002-01-29 12:52 +0000 [r329] robert: * Have add new osg::CopyOp which replaces last nights osg::Cloner, the new class now combines Cloner and DeepCopy into one class. Cloner and DeepCopy will be removed in next commit. Also have added osgcopy app to Demos which shows how the CopyOp have be subclassed to create users own specific handling of copying. Have fixed copy constructor problems in GeoSet which fix the deep copy problem experienced yesterday. 2002-01-28 21:49 +0000 [r328] robert: * A couple of fixes to DeepCopy Cloner. 2002-01-28 21:17 +0000 [r327] robert: * Added support for shallow and deep copy of nodes, drawables and state, via a copy constructor which takes an optional Cloner object, and the old osg::Object::clone() has changed so that it now requires a Cloner as paramter. This is passed on to the copy constructor to help control the shallow vs deep copying. The old functionality of clone() which was clone of type has been renamed to cloneType(). Updated all of the OSG to work with these new conventions, implemention all the required copy constructors etc. A couple of areas will do shallow copies by design, a couple of other still need to be updated to do either shallow or deep. Neither of the shallow or deep copy operations have been tested yet, only the old functionality of the OSG has been checked so far, such running the viewer on various demo datasets. Also fixed a problem in osg::Optimize::RemoveRendundentNodesVisitor which was not checking that Group didn't have have any attached StateSet's, Callbacks or UserData. These checks have now been added, which fixes a bug which was revealled by the new osgscribe demo, this related to removal of group acting as state decorator. method 2002-01-27 20:28 +0000 [r326] robert: * Added stateset->setMode(GL_LIGHTING,osg::StateAttribute::OVERRIDE_ON); to scribbed subgraph so that lighting is always on, this is needed since glMaterial is only active when lighting is enabled. 2002-01-26 20:03 +0000 [r325] robert: * Added VisualStudio workspace files for new osgscribe demo. 2002-01-26 19:48 +0000 [r324] robert: * Added new osgscribe demo which demostrates how to create a wireframe overlay of a model. 2002-01-26 14:13 +0000 [r323] robert: * Fixed the LOD center and range code that so that the values are now multiple by the _unitScale to compenstate for different scales in the flt model. This _unitScale had already been applied to the geometry data. Integrated new defaults for the texturing wrap mode, for when now .attr file is supplied with a flt file. 2002-01-23 22:15 +0000 [r322] robert: * Have made osg::Transform more extensible via additions of new getLocalToWorldMatrix() and getWorldToLocalMatrix(), computeLocalToWorld() and computeWorldToLocal() methods. Have updated the CullVisitor, IntersectVisitor and Optimizer to use the new osg::Transform::getLocalToWorldMatrix() which has the same functionality as the old getMatrix() but is now supports subclasses of osg::Transform transparently. Have added osg::PositionAttitudeTransform as subclass of osg::Transform which manages the transform as position and attitude via a Vec3 and Quat respectively. 2002-01-23 15:42 +0000 [r321] robert: * Updates to osg::Transform to allow it subclassed more easily. 2002-01-23 15:28 +0000 [r320] robert: * Fixed problem with Optimzer::removeRedundentNodesVisitor which was removing the correct redundent groups but for groups which had a single child it was was not using replaceChild to rettach the child to its parents. It was using parent->removeChild(group)...parent->addChild(child); which was allow the child to be attached in a different place than the original group, this broke LOD code. Have used removeChild instead which solves the LOD problem. 2002-01-23 12:04 +0000 [r319] robert: * Changed the ordering of applying OpenGL modes and attributes back to the original modes first then attributes since the it was cause a display bug on some datesets. It seems that the modes needs enabling before glMaterial's take affect, at least on the NVidia drivers under Windows and Linux. The OpenGL reference guide doesn't mention any dependancy so I'm not sure what the official line is. Some other OpenGl attribute and modes need to be applied in that order according to the blue book, however, drivers, at least the NVidia drivers seem require the opposite. This may raise the spectra of before and after mode applies, but this will require extra support in osg::State and osg::StateAttribute, and would have to be handled on a per attribute basis, and possibly different of each platform. Yuck. 2002-01-22 19:30 +0000 [r318] robert: * Fixed FlattenStaticTransformVisitor bug which related to incorrect handling of objects which were transformed by multiple matrices at one time - this cannot be handled in the flattening process (since we only have one piece of geometry to transform). This visitor now handles this case by disabling flattening of any objects and transforms associated in this way. 2002-01-22 12:03 +0000 [r317] robert: * Temporily commented out the call to the FlatternStaticTransformVisitor to prevent a bug in handling instance nodes. Will be commented back in once the bug has been solved. 2002-01-22 11:03 +0000 [r315-316] robert: * Updated AUTHORS file to reflect recent submission. * Added support for node instances to Open Flight loader. Submitted by Yefei He. 2002-01-20 19:30 +0000 [r314] robert: * Fixes to Windows compile. 2002-01-20 16:24 +0000 [r313] robert: * Updates to help compilation under gcc 3.03. 2002-01-19 22:11 +0000 [r312] robert: * Converted osgUtil::GUIEventAdapter::MouseButtonMask from LEFT_BUTTON etc to LEFT_MOUSE_BUTTON etc, to prevent classes with #define of LEFT_BUTTON.. when including certain MS Windows headers. Arhsh Snarfff.. 2002-01-19 20:34 +0000 [r311] robert: * Fixed the handling of non transparent billboards, since it was not taking into account any accumulated transforms inherited from above. 2002-01-18 22:36 +0000 [r309-310] robert: * UPdates to CullVisitor so that it keeps in sync with the new method paramter change in osg::Billboard. Removed in instance of an object being passed () brackets, have removed the brackets to avoid an amiguity with the compiler intepreting it as a function. * Changes to fix compilation problems on the Sparc. GeoSet.cpp simply remove rendundent code that had already been commented out. 2002-01-18 22:25 +0000 [r308] robert: * Added support for multiple graphics contexts, submission from Max Rhiener. Alas changed the indenting to use 4 spaces instead of tabs, this irons out differences when working under Windows and Unix, keeping the identing consistent. 2002-01-18 22:15 +0000 [r307] robert: * First steps to updating the calcTransform function in Billboard to fix z axis contraint on rotation axis. 2002-01-18 19:00 +0000 [r306] robert: * Fixed copy constructor which was copying a matrix to unitialized memory. 2002-01-18 14:12 +0000 [r304-305] robert: * Removed the global scope operators for the isnan(..) etc calls to fix compilation under some compiler combinations. * Made the osg::Timer::tick() method a const method. 2002-01-18 10:26 +0000 [r303] robert: * Fixed typo in comment, reference to BoundingSphere has been changed to BoundingBox. Typo spotted by Gial Paolo Lorenzetto. 2002-01-17 22:41 +0000 [r301-302] robert: * Fixed ENALBE_ALL_CULLING spelling mistake, have changed it to ENABLE_ALL_CULLING. * Added support for glutSpecialFunc, glutSpaceballMotion, glutSpaceballRotate and glutSpaceballRotate into osgGLUT::Window base class. 2002-01-16 21:23 +0000 [r298-300] robert: * Reversed the ordering of setting of OpenGL modes and attributes, so that attributes are now set first, then modes. This is keep consistent with the setting of glColorMaterial and glEnable(GL_COLOR_MATERIAL) as specfied in OpenGL documentation. * Changed the enum Types { ... } so that in no longer explicitly sets the values, leaving C++ to ensire that values are unque and insequence. * Fixes to makefiles which have become a bit unhinged after MacOS X integration. 2002-01-16 21:12 +0000 [r297] robert: * Added support for billboard in OpenFlight loader. Submission from Nikolaus Hanekamp. 2002-01-16 12:29 +0000 [r296] robert: * Submission from Sean Spicer which adds Make/makedefs.irix.std.64 which compiles the OSG as 64bit. Small changes by Robert to accomodate recent MacOSX makefile changes. 2002-01-16 12:08 +0000 [r295] robert: * Changes to Make/makerules.* and Make/makedefs.* to accomodate MacOSX's need to treat plugins and shared libraries seperately. 2002-01-16 12:05 +0000 [r293-294] robert: * Integrated the changes to osgPlugin/Makefile's for MacOSX port. * Changed hardwired char[1024] arrays to char[FILEUTILS_MAX_PATH_LENGTH] and defined the value to be 2048, this should avoid problems with path lengths which have been overflowing the 1024 limit (Sasa report this bug). The real solution is to use std::string throught FileUtils, but this will have to wait for another day. 2002-01-16 10:41 +0000 [r292] robert: * Added quicktime plugin (for Mac's only), submitted by Phil Atkin. 2002-01-16 10:36 +0000 [r291] robert: * First batch of changes required for MacOS X build. Orignal submission from Phil Atkin, merged by Robert Osfield. 2002-01-15 23:21 +0000 [r290] robert: * Changed the use of std::vector<..>.begin() to &vector<..>.front() in code from passing the vector contents to the GeoSet::setPrimLengths(..) etc. methods. This has been done to fix the compile under the MS .NET compiler which has changed the definiation of the std::vector<..>::iterator to a class rather than a pointer. 2002-01-15 19:54 +0000 [r289] robert: * Fix to osgDB::getStrippedName(..) so that handles the case of file without an extension. 2002-01-15 15:49 +0000 [r288] robert: * Added '# LIBS += -limage' and explanation in comments to pfb Makefile, submitted by Randall Hooper. 2002-01-15 12:13 +0000 [r287] robert: * Added the set of GL_TEXTURE_GEN_S and _T to code converting pfTexGen to osg::TexGen. This is try and fix a bug in handling tex gen datasets such as sj_texgen.pfb. 2002-01-15 11:05 +0000 [r286] robert: * New ajustAspectRatio (ADJUST_NODE) mode added to osg::Camera to fix issue with integration with vrjuggler, submitted by Allen Bierbaum. 2002-01-12 21:49 +0000 [r285] robert: * Missing _attachedTransformMode in osg::Camera constructor, fix submitted by Ben Discoe. 2002-01-05 16:19 +0000 [r283-284] robert: * Change TOP to OSGHOME in makefiles. * Moved the setting of camera fusion distance mode into the handle method so that it is updated on everyframe to ensure that switching between Drive/Flight and Trackball happens seemlessly. 2002-01-04 20:44 +0000 [r281-282] robert: * Renamed the TOP variable in the Makefiles to OSGHOME. * Added a guard to osg::LOD::evaluate so that it returns -1 if the range matched does not have a corresponding child to relate to. This can happen if a user creates more than n+1 ranges, where n is the number of LOD children. 2002-01-04 17:35 +0000 [r279-280] robert: * Added osg::ShadeModel state attribute which encapsulates glShadeModel. * Fixed a bug in writing of line strips and line loops to the .osg file. 2002-01-04 13:14 +0000 [r278] robert: * Fixed multiple deletion of shared indecies in GeoSet destructor. 2002-01-03 23:28 +0000 [r277] robert: * Futher Makefile updates for Cygwin support - from Norman Vine. 2002-01-03 23:19 +0000 [r276] robert: * Makefile changes to support Cywin port - submission from Norman Vine, updates to fix case problems under unix by Robert. 2002-01-03 21:34 +0000 [r275] robert: * Updates for Cygwin port, from Norman Vine. 2002-01-03 19:28 +0000 [r274] robert: * Small source code changes for Cygwin port of OSG. 2002-01-02 17:01 +0000 [r272] robert: * Updates in preperation for the third attempt at the 0.8.43 release. 2002-01-02 15:42 +0000 [r271] robert: * Updates from Randall Hopper to fix build under IRIX. 2002-01-02 11:03 +0000 [r270] robert: * A small bug fix to the matrix dump function (it was primtiing out 5 columns instead of four). Added support for multiplying mesh geometry by the matrix attached to the Lib3dsMesh structure, however this produces disjointed models so have to the default mode to bypass this multiplication code. Will need to revisit this in the future. 2002-01-02 10:59 +0000 [r269] robert: * Commented out the smoothing of FLAT_TRIANGLE_STRIP and FLAT_TRIANGLE_FAN since it was causes problems with any color list which were attached. 2002-01-02 10:53 +0000 [r268] robert: * Moved the glShadeModel(FLAT/SMOOTH) outside of the primtitive inner loop to reduce the amount state changes incurred when using FLAT_ primtives. 2002-01-02 10:49 +0000 [r267] robert: * Fixed the orientation of for_each_triangle cases for QUAD and QUAD_STRIP. 2001-12-31 23:21 +0000 [r266] robert: * Removed the variables which were duplicated in osgGLUT::Viewer and osgGLUT::Window, standardising on the Window ones, and therefore removing an unitialized variable that had been introduced. This caused a crash under WindowsXP due to send invalid values to glutReshapeWindow. 2001-12-31 23:16 +0000 [r265] robert: * Added a more detailed explanation of how LOD's work. 2001-12-31 00:04 +0000 [r263] robert: * Updates to NEWS for date of release, and added include/osg/DisplaySettings and include/osg/LineWidth to the src/osg/Makefile. 2001-12-30 20:48 +0000 [r261] robert: * Final update of ChangeLog for the 0.8.43 release. 2001-12-30 20:03 +0000 [r260] robert: * Added osg::GeoSet::FLAT_TRIANGLE_FAN to the list if primitive handled by the for_each_triangle template function. 2001-12-30 19:04 +0000 [r259] robert: * Added /usr/local/lib to the s_default_dso_path search path for plugins. 2001-12-30 17:13 +0000 [r258] robert: * Made the output message related to not registering a camera manipulator with the GLUT Viewer output as INFO rather than as a NOTICE. This suppress this message which was appearing on some of the demos all the time, even though are quite reasonable default behaviour is used. 2001-12-30 16:59 +0000 [r256-257] robert: * Added references to sgv -stereo and sgv -stencil to the notes of running the demos. * Updated the default home position of so that a better view of the scene is seen. 2001-12-30 15:24 +0000 [r255] robert: * Moved the old by hand ChangeLog to ChangeLog.preCVS and then ran cvs2cl.pl to automatically generate the new ChangeLog. 2001-12-30 15:12 +0000 [r254] robert: * Did a make docs, in preperation for 0.8.43 release. 2001-12-30 15:01 +0000 [r252-253] robert: * Compilation fix to pfb plugin, sent in by Ulrich Hertlein. * Added a comment in Windows section on INSTALL notes such that it now recommends that you build all the libs. 2001-12-29 20:53 +0000 [r251] robert: * Added .README to prevent CVS from deleting the empty bin directory when checking out copies. This was a problem with the nightly tarballs. 2001-12-29 14:27 +0000 [r250] robert: * Added comment to osg::Transform w.r.t use of GL_NORMALIZE when using scaling Transforms. 2001-12-29 12:28 +0000 [r249] robert: * Updates form Randall Hopper for the FreeBSD build 2001-12-27 20:06 +0000 [r248] robert: * Made inline documentation on the Values enum clearer w.r.t the function of OVERRIDE_ON and OVERRIDE_OFF. 2001-12-26 20:55 +0000 [r247] robert: * Added more details about using stereo with the OSG, in particular the role of the camera manipulators and the fusion distance. 2001-12-24 23:34 +0000 [r246] robert: * Updated doc++ references so that CVS knows about all the newly generated files. 2001-12-24 23:28 +0000 [r245] robert: * Updated the index.html to include references to the new osgText library and demo app. 2001-12-24 23:14 +0000 [r244] robert: * Removed references to redundent environmental variables. 2001-12-24 21:56 +0000 [r243] robert: * Did a make docs. 2001-12-24 21:34 +0000 [r242] robert: * Fixed the osg::Light so that it requires the user to explicitly define which OpenGL light is being operated on, and also now relies upong the standard osg::State handling of OpenGL modes to switch on the appropriate lights. The previous static counter mechansim for the light number was causing a redundent light to be created when the osg plugin created the first osg::Light to use a prototype for other osg::Light's to be cloned from in the .osg plugin execution. The static count mechanism also prevent the lights modes being controlled independantly from the setting of the light paramters themselves. This meant that a light once created was global, and couldn't be turned off locally via the OSG's support for OpenGL mode enabling/disabling. This has been overcome with the new implementation, the user has complete flexiblity of when and where to use the different lights at their disposal. 2001-12-24 19:06 +0000 [r241] robert: * Updated the osgGLUT::Viewer to subclass from osgGLUT::Window as has been intended since the development of osgGLUT::Window. 2001-12-24 15:12 +0000 [r240] robert: * updates for windows build 2001-12-24 14:12 +0000 [r239] robert: * Various clean ups for the release. 2001-12-22 22:30 +0000 [r238] robert: * Updates to keep things compiling under Windows. Also cleaned up the new stereo.html docs. 2001-12-22 21:35 +0000 [r237] robert: * Added beginnings on documentation for stereo support, the stereo.html needs to be re-edited in a html editor before it becomes readable though.. 2001-12-22 14:55 +0000 [r236] robert: * Updated usage messages to include new stereo and stencil commandline options. 2001-12-21 22:48 +0000 [r235] robert: * Further work on improving stereo support in the OSG. Renamed the osg::VisualsSettings to osg::DisplaySettings, and osgUtil::VisualsRequirementsVisitor to osgUtil::DisplayRequirementsVisitor. Added support for OSG_SCREEN_HEIGHT into osg::DisplaySettings, and added a DisplaySettings* to the constructors of osg::SceneView and osg::Camera. 2001-12-21 13:07 +0000 [r234] robert: * Updates to the support for stereo in osg::Camera, osgUtil::SceneView and the CameraManipulators. 2001-12-20 20:48 +0000 [r233] robert: * Added support for glLineWidth via an osg::LineWidth StateAttribute. 2001-12-20 16:35 +0000 [r231-232] robert: * Updates to the camera code related to stereo, adding fusion distance. * Added check for null models be returned form osgDB::readNodeFiles(..) to prevent execution when no models have been loaded. 2001-12-20 12:12 +0000 [r230] robert: * Updates to flt loading of light points, from Brede Johansen. 2001-12-19 15:20 +0000 [r229] robert: * Updates to Stereo code. 2001-12-19 10:29 +0000 [r228] robert: * Updated the demos to support the new commandline handling of stereo and convinience functios for loading libs and files. 2001-12-19 08:49 +0000 [r227] robert: * Added check for GL_ARB_imaging extension to osg;:ColorMatrix 2001-12-19 01:10 +0000 [r226] robert: * Compilation fixes under for Windows 2001-12-19 00:38 +0000 [r225] robert: * Adding support for controlling visual settings via environmental variables and command line paramters. Including support for stereo and stencil buffer. 2001-12-18 11:28 +0000 [r224] robert: * Added range checking to osg::Camera::adjustAspectRatio to catch invalid values being passed to Camera. Invalid values were occuring when iconising the Windows GLUT based OSG demos. 2001-12-18 10:46 +0000 [r223] robert: * Fixed compilation problems in flt plugin under Windows, and removed usage of the default GeoSet::AtttributeDeleteFunctor from the DynGeoSet since it handled the memory deletion iteself via STL containers. 2001-12-17 21:13 +0000 [r222] robert: * Changed the default field of Y to 45 degrees, as this is probably a better default than 30 degrees (what it was temproarily) or the 90 degrees that it was originally. 2001-12-17 17:34 +0000 [r221] don: * Fixed IRIX compile issues with the flt loader. ReaderWriterATTR.cpp had a variable "mips" defined, which is predefined for the IRIX preprocessor. Changed this to _mips. FltFile.cpp had a class and transient variable defined within the scope of member function FltFile::readExternals(), which was causing the IRIX 7.3 compiles to hork. Moved the class definition to outside of the member function scope. 2001-12-17 16:21 +0000 [r220] don: * Fixed IRIX build. Required some namespace fixes and include and link directives in the Makefiles 2001-12-17 15:05 +0000 [r219] robert: * Updated the Optimzer::FatternStaticTransform visit so by default it ignores all dynamic transforms, previously it flattened dynamic transforms as well. 2001-12-17 09:29 +0000 [r218] robert: * Added std:: infront of endl to ensure compilation under Windows. 2001-12-16 22:20 +0000 [r217] robert: * Integrated detailed near clipping plane calculation into osgUtil::CullVisitor, submitted by Sasa Bistroviae. 2001-12-16 16:30 +0000 [r216] robert: * From John Davis, a little addition to the Windows version of the osg::Timer constructor such that a static variable is used to force the constructor to check the number of clock cycles per second once, this means that multiple timers can now be created with incurring a the 1 second delay used for timming the clock speed every time the constructor is called. 2001-12-15 22:44 +0000 [r215] robert: * Updated version numbers to 0.8.43 in prep for the impending release. 2001-12-15 22:41 +0000 [r214] robert: * Added comments on how to set up STLport under Windows and IRIX. 2001-12-15 16:56 +0000 [r213] robert: * Renamed osg::Matric::makeIdent() to osg::Matrix::makeIdentity() to make it consistent with the rest of the osg::Matrix naming. Updated OSG distribution to account for new name. Added support for the STATIC/DYNAMIC osg::Transform::Type to the .osg ASCII reader/writer plugin and the flt reader plugin. Removed the non cost version of osg::Transform::getMatrix() as this could by pass the dirty mechinism. 2001-12-15 10:00 +0000 [r212] robert: * updates for windows build. 2001-12-14 23:18 +0000 [r211] robert: * Fixes to Windows build in liu of the move to using just std::streams. 2001-12-14 21:49 +0000 [r210] robert: * Updated OSG so that the old OSG_USE_IO_DOT_H has be removed from all headers that used it, all references to the Standard C++ stream classes use the std::ostream etc convention, all references to "using namespace std" and "using namespace std::ostream etc" have been removed. 2001-12-14 18:06 +0000 [r209] robert: * Updatedwidley used includes to remove most of the float/double warnings generated when compiling under Windows with STLport. 2001-12-14 16:15 +0000 [r208] robert: * Don haved accidentally removed the reference to osg.dsp from the .dsw file, breakin the Windows build. 2001-12-14 15:37 +0000 [r207] don: * Removed ^M from Makefile 2001-12-14 15:16 +0000 [r206] don: * Appeased poor MS VisualStudio by adding the ^M's to all .dsw and .dsp files. 2001-12-14 15:10 +0000 [r205] don: * Fixed newline/cr problem 2001-12-14 14:25 +0000 [r204] robert: * Fixed problem with incorrect combining of some LOD's derived from flt databases. Problem related to the order of the removal of redudent groups and LOD combining, the LOD combining only working properly if done first. 2001-12-14 10:47 +0000 [r203] robert: * Fixes for Win32 build related to changes in using namespace std. 2001-12-14 10:02 +0000 [r202] robert: * Removed all references to using namespace std to help solve compilation problems under Windows and IRIX. Also integrated small change to lib3ds from Drew for IRIX compilation. 2001-12-12 20:29 +0000 [r201] robert: * Made the following name changes to Matrix and Quat to clean them up and make the functionality clear given the name. This will break user code unfortunately so please be away of the following mapping. osg::Matrix::makeTrans(..)?\026 -> osg::Matrix::makeTranslate(..) osg::Matrix::makeRot(..)?\026 -> osg::Matrix::makeRotate(..) osg::Matrix::trans(..)?\026 -> osg::Matrix::translate(..) osg::Quat::makeRot(..)?\026 -> osg::Quat::makeRotate(..) Also updated the rest of the OSG distribution to use the new names, and have removed the old deprecated Matrix methods too. 2001-12-12 15:09 +0000 [r200] robert: * Fixed problems with osg::Matrix::makeRot(from,to) and osg::Quat::makeRot(from,to) so that they both use the same implementation (the Quat code now) and the code has been corrected to work from and to vectors which directly opposite to one another. 2001-12-12 12:55 +0000 [r199] robert: * Fixed problem with loading interleaved arrays in the .osg loader, and corrected a spelling mistake in osg::GeoSet. 2001-12-12 05:09 +0000 [r198] don: * Added translation and scaling to osgconv 2001-12-11 17:00 +0000 [r197] don: * Fixed Matrix::rotate( Vec3 from, Vec3 to); was using to X from to derive axis, which causes a left-handed rotation. Fixed to from X to. 2001-12-11 16:00 +0000 [r196] robert: * Fixed compilation problems under Windows due to changes in using std::ostream etc. 2001-12-11 11:22 +0000 [r194-195] robert: * Removed the 'using namespace std' and replaced with more specific 'using std::ostream' this should help prevent polution of the global namespace with std when including these osg include files. * Added :Referenced() to the osg::Camera(..) copy constructor to prevent a warning under Linux. 2001-12-09 03:46 +0000 [r193] don: * *** empty log message *** 2001-12-04 22:57 +0000 [r192] robert: * Added support for automatic deletion of osg::GeoSet's attributes, via a default AttributeDeleteFunctor which uses delete []. Users can create their own handlers for the attribute memory to override this default behavior. Fixed a typo in ReaderWriterOBJ.cpp. 2001-12-04 20:38 +0000 [r191] robert: * Various files which should have been checked in earlier but were missed... VisualStudio files for flt loader, and header files or Image and Texture for new osg::Texture::CLAMP_TO_EDGE and osg::Image::dirty. 2001-12-04 19:41 +0000 [r190] robert: * Updates to the flt loader, from Brede Johansen. 2001-12-04 16:03 +0000 [r189] robert: * Integrated Brede Johansen's updates to flt loader. 2001-12-04 15:56 +0000 [r188] robert: * Made a output message output as osg::DEBUG only. 2001-12-04 12:34 +0000 [r187] robert: * Commented out the code to force sgv to use ANAGLYPHIC_STEREO as this should not be the default, will add options to do this later. 2001-12-04 12:31 +0000 [r186] robert: * Improved support for anaglyphic stereo. Integrated texture CLAMP_TO_EDGE, submitted by Ulrich Hertlein. 2001-12-02 22:20 +0000 [r185] robert: * Beginings of support for quad bufferd, red/green, and slit screen stereo. 2001-12-02 08:59 +0000 [r184] don: * Corrected a small booboo in preprocessor guard for header file in GLU and added Matrix::identity() to Matrix 2001-11-30 20:53 +0000 [r183] robert: * Fixed bug in osg::StateSet::merge(..) where the containers were being iterated from begin() to begin() rather than begin() to end(). 2001-11-21 15:53 +0000 [r182] don: * Small fix for preprocessor _MP symbol clash with MFC. 2001-11-19 13:14 +0000 [r181] robert: * Made the Warning font file not found message consistent with other file not found messages. 2001-11-19 11:52 +0000 [r180] robert: * Added DLL export to the internal classes in osgUtil::Optimize so that the internal classes can be used directly by client applications. 2001-11-19 10:40 +0000 [r179] robert: * Added warning report for when a font file cannot be found. 2001-11-18 21:31 +0000 [r178] robert: * Added osg::Image::dirtyImage() and setModifiedTag() to allow external updating of the image modified flag to be used in conjunction with texture subloading. 2001-11-15 11:59 +0000 [r177] robert: * Move the call to the manipulators before the scene app traversal to that any changes to the scene graph, such as adding an app callback can be seen by during the same frame. 2001-11-14 15:53 +0000 [r175-176] robert: * Fixes for windows compilation * Fixed compilation problem under Wndows 2001-11-14 15:32 +0000 [r174] robert: * Fixed compilation problem under Wndows 2001-11-14 14:10 +0000 [r172-173] robert: * Added osgUtil::TransformCallback to help with rigid body animation. * Fixes for IRIX build. Updates to the osg::Transform, adding preMult and postMult methods and deprecating the old preRotate,preTranslate,preScale. Updated the rest of the OSG so that it nolonger uses the deprecated osg::Transform nodes. Renamed osgUtil::SceneView::setGlobalState() to osgUtil::SceneView::setGlobalStateSet() so that the name reflects its functionality better. Updated osgGLUT::Viewer etc to cope with new name change. 2001-11-12 10:04 +0000 [r171] robert: * Added new files to cvs. 2001-11-12 10:00 +0000 [r170] robert: * Added src/osg/NodeCallback.cpp. 2001-11-11 22:32 +0000 [r169] robert: * Fixed compilation error in src/osgDB/FileUtils.cpp. Added support for nested NodeCallbacks, allowing them to be chained together so that multiple operations can be applied. 2001-11-10 15:46 +0000 [r168] robert: * Fixed osgUtil::Optimizer::FlatternStaticTransformsVisitor so that the apply(osg::LOD) scaled the ranges in addition to transform the center point and children. 2001-11-10 13:36 +0000 [r167] robert: * Fixed bug related to osgUtil::Optimizer::FlatternStaticTransform::Visitor's apply(Billboard& ) method which was apply the accumulated transform to the billbaord geometry when it should have been applying the matrix without the transform component. 2001-11-09 15:06 +0000 [r166] robert: * Added osgText::Paragraph which is a subclass from Geode which composes a list of text drawables as a paragraph block, handles breaking of text into individual lines automatically. Changed the osg::Node::setUserData so that the data type has to be an osg::Referenced, and removes the dependancy on osg::MemoryAdapter. I have done this since it simplifies the OSG side of the interface and makes it less like that the user might abuse the memory managment of the data. It does however mean that user data will have by subclassed from Referenced, and therefor may require users to have their own adapter to do this. However, this little nuasance is worth the extra cleaness and robustness afforded by going the osg::Referenced route. 2001-11-09 15:01 +0000 [r165] robert: * Fixed the findFileFile routine which had been broken by a fix of a dlopen problem - './' was added to all files which which directly found without requiring a search path rather than just locally found files, this broke file loads which had wern't local but had a valid path. I have moved the './' work around to inside fileDSO and made it only apply to Linux as I presume this is all it was needed for. Don? 2001-11-08 13:50 +0000 [r164] robert: * Fixed the IntersectVisitor which was broken by a recent patch to catch parallel line and traingle combinations. 2001-11-07 12:42 +0000 [r163] robert: * Added a dirtyBound() to osgUtil::Optimizer. Corrected mispelling of alignment is osg::Text and the osgtext demo. Added guards for divide bu zero's to osg::IntersectVisitor. 2001-11-06 11:36 +0000 [r162] robert: * Fixed inlcude/BoundingBox to compile under Windows. 2001-11-06 11:07 +0000 [r161] robert: * Fixed inlcude/Math to compile under Windows. 2001-11-06 10:34 +0000 [r160] robert: * Added methods to support isNaN,isInfinte and valid to osg::Vec* and osg::Math, and added a guard to IntersectVisitor which uses these new methods to prevent invalid segments being added. 2001-11-04 19:29 +0000 [r159] robert: * Integrated updates to stats sent in my Geoff Michel. 2001-11-02 21:20 +0000 [r158] don: * Fixed findFileInPath to prepend ./ if file is in local directory. This was needed by dlopen() for dso's in the current directory 2001-11-02 20:11 +0000 [r157] robert: * Updates to Makefiles to include osgText. Also a couple of undefined methods in osgText::Text have been added. 2001-11-02 12:26 +0000 [r156] robert: * Updated index.html with dependacy info about the new osgText library. Modified osg/Drawable::draw(..) so that it uses display list COMPILE rather than COMPILE_AND_EXECUTE to solve performance problems under NVidia drivers. The old behavior is still available by comments out a #define. Fixed the default compilation list src/osgPlugins/Makefile so that it compiles by defalt png and gif. 2001-11-01 16:35 +0000 [r155] robert: * Updates to the flt loader from Brede Johansen. 2001-11-01 15:13 +0000 [r154] robert: * Updates to osgText to fix a crash on ikart.tff font available under Linux, the bug was related to texel padding of the height not be accounted for in texture size calculation, but was used during populating the image data causing a mismatch. 2001-10-31 22:35 +0000 [r153] robert: * Added missing config.h file to src/osgPlugins/lib3ds. 2001-10-31 20:04 +0000 [r152] robert: * Added a bool paramter to osg::StateSet::compare(const StateSet& rhs,bool compareAttributeContents=false) const; to allow it to use different comparison schemes, now it can use checking for pointer equality (the default) or attribute contexts. This has been added to assist optimization of databases within the flt loader, but also could be useful for other operations too. 2001-10-31 18:33 +0000 [r151] robert: * Updated the lib3ds plugin with the new 1.1 version of lib3ds. 2001-10-31 12:27 +0000 [r150] robert: * Update to osgText to get things compiling under Windows. 2001-10-31 11:41 +0000 [r149] robert: * Update osgText.dsp to define FTGL_STATICLIBRARY to prevent it compiling the as a seperate library and producing linkage warnings. 2001-10-31 10:20 +0000 [r148] robert: * Updated the FTGL implemention in osgText to FTFL1.1. 2001-10-30 19:23 +0000 [r147] robert: * Further updates to the ReaderWriter support in osgDB, and a fix to a small warning in Matrix.cpp. 2001-10-30 14:20 +0000 [r146] robert: * Added support for ReadResult and WriteResult to the osgDB::ReaderWriter to allo plugins to pass back more information about the success or failure of a file load. All plugins have been updated to the new convention. 2001-10-29 19:29 +0000 [r145] robert: * Changed a #define ... (GLenum) 0x84fe to 0x84FE to fix problems under MacOS9 build. 2001-10-29 12:22 +0000 [r144] robert: * Ran to_unix over src/Demos/osgtext/main.cpp to try and fix some return type problems reported under Windows. 2001-10-29 12:19 +0000 [r143] robert: * Added missing src/osgText/Version.cpp file. 2001-10-25 01:11 +0000 [r142] bryan: * Imposter.cpp added to the project 2001-10-25 00:49 +0000 [r141] bryan: * Changed the int to a GLint because of the differences within mac/win32/linux versions of gl.h. 2001-10-25 00:45 +0000 [r140] bryan: * sgv is almost working 2001-10-24 23:15 +0000 [r139] robert: * Completed work on osgText compilation under Win32. We now have fonts under Wndows and Linux :-) 2001-10-24 22:29 +0000 [r138] robert: * Updates to the visual studio files for osgText. 2001-10-24 19:48 +0000 [r137] robert: * Updates of osgDB/FileUtils to fix compilation problems under Win32 2001-10-24 13:46 +0000 [r136] robert: * Updates to osgText. 2001-10-24 12:53 +0000 [r135] robert: * Updates to osgText and osgDB so that the loading of text fonts can use osgDB::findFile() to locate font files from the OSGFILEPATH environmental variable. 2001-10-24 09:41 +0000 [r134] robert: * Updated FTGL version to 1.0 and removed a couple of warnings in the osgText demo. 2001-10-24 09:08 +0000 [r133] robert: * Updated the osgText implemention, now works under Linux. 2001-10-23 23:23 +0000 [r132] don: * Added stat.c 2001-10-23 23:15 +0000 [r131] don: * One last change needed to makedefs.linux to sync Linux and Irix pfb loader 2001-10-23 23:10 +0000 [r130] don: * Fixed pfb loader functionality for IRIX 2001-10-23 22:59 +0000 [r129] don: * Fixed pfb loader so that it works for both Linux and IRix with dynamic libraries, and provides support to load (almost) all that Performer loads. 2001-10-23 22:28 +0000 [r128] robert: * Further work on getting osgText compiling. 2001-10-23 22:12 +0000 [r125-127] robert: * Removed old .cc versions of FT font code. * Adding in new .cpp versions of FT font code. * Updates to the new osgText library to get it to compile under Linux. 2001-10-23 20:04 +0000 [r124] robert: * Converted FTGL files from mac style return to unix style. 2001-10-23 19:51 +0000 [r123] robert: * First past integrat of Max Rhiener work on wrapping FTGL to create osgText library and demo. 2001-10-23 15:55 +0000 [r122] robert: * Added new osgGLUT::Window base class which is very basic right now, all it does is bring up a GLUT window and provide virtual functions from which users should subclass to add functionality. 2001-10-22 22:02 +0000 [r121] robert: * Integrated Geoff Michel's updates to Stats code, whilest move all text rendering back in the viewer from the Statistics header. Added a osg::State::captureCurrentState(StateSet&) method and a copy constructor to osg::StateSet. 2001-10-21 21:27 +0000 [r120] robert: * Moved all #include "osg/.." references to #include to aid port to MacOS. 2001-10-20 20:26 +0000 [r119] robert: * Added support for an osgUtil::SceneView::init() traversal which is called once per scene view. The user can attach a NodeVisitor to do init for them, or leave it to the default which is to use the osgUtil::DisplayListVisitor which compiles all display lists and texture objects. The init traversal is called automatically by the first call to either app() or cull(), so should not be called by user code during initialization. This ensures that a valid graphics context has been established before OpenGL is initialized. osgUtil::DisplayListVisitor has also been updated to use a bit mask for options, and the addition of compilation of texture objects (via StateAttribute::compile) has also been added. 2001-10-20 09:48 +0000 [r118] robert: * Added #ifdef to Performer ReaderWriterPFB so that pfdLoadFile is used under IRIX and pfdLoadFile_pfb is used under Linux. 2001-10-19 15:53 +0000 [r117] robert: * Removed Lighting.cpp from repository, it is nolonger used and was just hanging around erroneously. 2001-10-19 15:30 +0000 [r116] robert: * Updated the osgUtil::Optimize so that the call to Optimize::StateVisitor is #ifdef out under Win32 and STL port isn't being used. This prevents crashes due to MS's flacky STL implementation. 2001-10-19 14:22 +0000 [r115] robert: * Added osgUtil::Optimizer which contains four visitor each designed for doing different types of optimization on the scene graph - state optimization, flattening static transforms, combining LOD's and removing redundent groups. The new Optimizer replaces the once seperate OptimizerStateVisitor. 2001-10-19 12:56 +0000 [r114] robert: * Added support for specifying whether view frustum and small feature culling should be applied to a node or its child with the new osg::Node::setCullingActive() flag. A mechanism has been implemented so that if child has its culling disabled then their parents, all the way up to the root are also have their culling implicitly disabled. The osg::CullVisitor has updated to take account of both the explicit control via setCullingActive and the implicit culling disabling through children being disabled. This feature is useful for nodes which don't have a bounding volume to cull against, earth sky implementations and light sources. The default osg::Node::_cullingActive is true, i.e. culling is enabled by default. 2001-10-17 22:17 +0000 [r112] don: * Fixed static libraries in madefs.linux and error in ReaderWriterPFB.cpp 2001-10-16 22:30 +0000 [r111] bryan: * Update the tree to my version of the project file (I thought it was already in) - Hang glide demo works - sgv is still being fixed 2001-10-16 21:47 +0000 [r110] robert: * Reverted Bryan's changes to FrameStamp w.r.t std::tm structure which doesn't compile under Win32 and IRIX. Will need to find another solution. 2001-10-16 21:32 +0000 [r109] bryan: * This was the old project file. It's no longer used. 2001-10-16 20:56 +0000 [r108] bryan: * *** empty log message *** 2001-10-16 18:39 +0000 [r107] robert: * Fixes for IRIX build - submitted by Randall Hopper. 2001-10-16 16:48 +0000 [r106] robert: * Fixes for Win32 compilation. 2001-10-16 15:03 +0000 [r105] robert: * Fixed then normal smoothing function in the .3ds loader and the osgUtil::SmoothingVisitor so that unused normals at left at 0,0,0 insead of being normalized, which results in (nan,nan,nan). 2001-10-16 14:24 +0000 [r104] robert: * Completed implementation of a the new CombineLODsVisitor, ideal for use with the .flt loader. Code is stuff currently in sgv, but will be moved out once more testing has been done. 2001-10-16 10:04 +0000 [r102-103] robert: * Added support for transforming LOD and Billboard centers to the OrientationConverter and the flattenTransformVisitor in sgv. * Modified Veiewer.cpp so that when toggling the light with 'l' the light can be overrided to off and overrided to on, previoulsy it only overrided to off. 2001-10-16 08:24 +0000 [r101] robert: * Fixed problem caused by ReaderWriterPFB::writeNode(..) not ensuring that the file extension was .pfb. Have added a check. 2001-10-16 03:59 +0000 [r100] don: * added float *() operator to Vec{2,3,4} so we can pass Vec3's directly to OpenGL glVertex?fv(). 2001-10-15 15:50 +0000 [r99] robert: * Fixes for compilation under IRIX, submitted by Randal Hopper, with mods from Robert. 2001-10-15 14:29 +0000 [r98] robert: * Made the new global state attribute instances in osg::State use osg:ref_ptr to automatically handle the memory deletion. 2001-10-15 14:07 +0000 [r97] robert: * Added support for automatic creation of global StateAttributes to osg::State, these global attributes are created by cloning any attributes which are applied during rendering, the clone in a shallow copy, which will set up default valus for that attribute. This should prevent attribute bleed from one stateset to the next when the global StateSet doesn't contain an attribute used within the scene graph. 2001-10-15 11:18 +0000 [r96] robert: * Fixed rotations to account to the fixes made to Quat and Matrix related to right hand rule rotation. 2001-10-15 08:40 +0000 [r95] robert: * The writeImage/Object/Node methods in the .osg and .pfb reader/writer didn't have the new ReaderWriter::Options* structure passed to them, which meant the the virtual functions didn't bind with the new base class methods and wern't called on a write. 2001-10-15 03:32 +0000 [r94] don: * Updated pfb loader to load pfb files into osg. Still broken for loading osg files into Performer, however. 2001-10-14 17:54 +0000 [r93] robert: * Added osgDB::ReaderWriter::Options class to the ReaderWriter base class, support for settings options in osgDB::Registry, and added the paramter to all of the reaader/writer plugins. The Options structure by default has an string attached for packing basic options, however, it also can be subclassed to encapsulate any users defined option data. In the later case both the client code *and* the plugin need to be aware of subclass, the plugin will need to use dynamic_cast<> to assertain its type. 2001-10-14 16:56 +0000 [r91-92] robert: * Added OrientationConverter.cpp to the VisualStudio project files for osgconv. * Changed the OrientationConverter.cpp's to have consitent captilization as its associated header file. 2001-10-14 14:23 +0000 [r89-90] robert: * Fixed TransformFunctor code so that it now uses the inverse of the transformation matrix to transform the normal. * Fixed a bug in Matrix::invert(..) which did not set full_realised=true, so that one Matrices which had not previously be initialized we're erronously initialized later in the code resetting it to identity. 2001-10-14 09:58 +0000 [r87-88] robert: * Added osg::StateSet::merge(const StateSet& rhs) merges merges the modes and attributes of rhs into 'this' stateset. * Fixed the Flight and Drive manipulators to work with the updated Matrix::rotate code. 2001-10-14 06:01 +0000 [r86] don: * Fixed a small boo-boo in definition of bit masks in include/osg/Drawable Fixed incorrect normal conversions for osgconv. 2001-10-14 05:33 +0000 [r85] don: * Mr. O added fancy, shmanzy C++ code, but broke normal transform functionality Fixed. 2001-10-14 05:14 +0000 [r84] don: * Quick 'n dirty fix to TrackballManipulator to get the rotations doing the right things after the Quat fixes. 2001-10-14 04:50 +0000 [r83] don: * Cleaned up some 'make clobber' issues in root Makefile 2001-10-14 04:28 +0000 [r82] don: * Quaternions were assigning inverted values during conversion to matricies. This is probably due to an error on the gamasutra web page demonstrating this. It caused left-handed rotations rather than right handed rotations. Should be fixed now. 2001-10-13 11:16 +0000 [r81] robert: * Changed the naming and calling convention of the new Drawable::AttributeFunctor and have updated GeoSet to use mutable values for the _numverts etc, allowing osg::GeoSet::computeNumVerts() to be a const operation. osg::GeoSet::getNumVerts is now a const once more, so avoiding compilation problems. Also chaned the new osgconv orientation code to use a Drawable::AttributeFunctor so it can work on other Drawables other than just GeoSets. 2001-10-13 09:48 +0000 [r80] don: * Added Mr. Osfields dynamic_cast<> and test for validity test. 2001-10-13 08:34 +0000 [r78-79] don: * backed out right-handed coordinate transform for makeRot(vec3,vec3) in Quat.cpp * A few more clean ups 2001-10-13 07:41 +0000 [r77] don: * Cleaned up the usage message 2001-10-13 07:24 +0000 [r76] don: * Updated osgconv to be able to handle orientation swapping. 2001-10-13 06:23 +0000 [r74-75] don: * Changed some routines to produce right-handed rotations. * checking files in to move development location 2001-10-13 01:28 +0000 [r73] don: * Removed personal note in Matrix header file 2001-10-12 20:06 +0000 [r71-72] robert: * Added support for the new AttributeUpdateFunctors. * Added != method to Vec2,Vec3,Vec4 and did further work on the AttributeUpdateFunctors. 2001-10-12 17:45 +0000 [r70] don: * Added include/osg/Math to Makefile TARGET_INCLUDE_FILES and fixed references to _mat in ConvertToPerformer.cpp 2001-10-10 20:20 +0000 [r69] robert: * Added support for DYNAMIC/STATIC osg::Transform types and added new osg::Drawable::getStats and supportsAttributeUpdate(..) and applyAttributeUpdate(...) methods which will be to enable hooks into Drawable subclasses. 2001-10-10 14:38 +0000 [r68] robert: * Fixed spelling of osg::GeoSet::getNumInterleavedIndices, was missing a 'n'! 2001-10-09 21:55 +0000 [r67] robert: * Fixed a crash when opening an erroneous test file (reopen.bmp). 2001-10-09 20:22 +0000 [r66] robert: * Updated to fix build problems under MSVC. 2001-10-09 20:09 +0000 [r65] robert: * Updated MSVC Workspace files to fix build problems. 2001-10-09 20:03 +0000 [r64] robert: * Updated MSVC Workspace files to fix build problems. 2001-10-09 14:18 +0000 [r63] robert: * Merged Ben Discoe's clean up of the MSVC files. 2001-10-09 11:58 +0000 [r62] robert: * Merged updates to BMP plugin from Geoff Michel. Also modified a little of the code to fix a crash under Linux, Robert Osfield 2001-10-08 19:01 +0000 [r61] robert: * Put the makedefs.linux back to default to optimize. 2001-10-08 15:54 +0000 [r60] robert: * Fixed a recently introduced crash in the flt plugin which was happen when a std::string was be be set with NULL char*. Also added support for stripping the filename from its original path, inside the osgDB::findFile function. 2001-10-08 08:35 +0000 [r59] robert: * Added support for using osgDB::fineFile into the .flt plugin. 2001-10-07 20:10 +0000 [r58] robert: * Merged Geoff Michel's udpdates to bmp plugin, and fixed a double fclose bug which was causing a seg fault under Linux. 2001-10-06 20:29 +0000 [r57] robert: * Added a osg::DegreesToRadians() and osg::RadiansToDegrees() method to osg/Math, updated the ReaderWriterBMP.cpp (mods sent in my Geoff Michel) and moved the osgUtil::Statistics to osg::Statistics in preperation to adding it to the the Drawable base class. 2001-10-05 19:55 +0000 [r56] robert: * Added bmp plugin files, bmp plguin written by Geoff Michel 2001-10-05 10:39 +0000 [r54-55] robert: * Added bmp osgPlugin, written by Geoff Michel. * Fixed a bug in osg::Image::ensureDimensionsArePowerOfTwo() which only scaled dimensions if *both* axis wern't a power of two, have fixed it to rescale if either of the axis arn't a power to two. 2001-10-05 01:27 +0000 [r53] bryan: * *** empty log message *** 2001-10-04 16:49 +0000 [r52] robert: * Added the Copyright message to the top of osgWX, with Ben Disoe's name as he wrote all the code. 2001-10-04 15:12 +0000 [r51] robert: * Added a copyright notice to all core headers, which all begin with //C++ header to help scripts and editors pick up the fact that the file is a header file. 2001-10-04 14:39 +0000 [r50] robert: * Changed the ordering of comparing modes and attributes in osg::StateAttribute::compare() as part of an investigration into state sorting. 2001-10-04 14:35 +0000 [r49] robert: * Added an implemention of basic state sorting to the RenderBin, but have commented out the sort operation as Peformance benifit is currently negligable, will need to improve on the sort functor to see real benifits. 2001-10-04 14:25 +0000 [r48] robert: * Added extra precision to the app,cull and draw timings in the Viewer. 2001-10-04 14:20 +0000 [r47] robert: * Removed some notify which were only used for debugging of the camera class and are now redudent. 2001-10-04 14:10 +0000 [r46] robert: * Changed the numeric ordering of StateAttributes Types, as part of an investigation into state sorting. 2001-10-03 21:44 +0000 [r45] robert: * Integrated changes for MacOSX, submitted by Phil Atkin, with small mods by Robert Osfield to maintain compatability under Linux. 2001-10-03 07:56 +0000 [r44] robert: * Added missing EarthSky.cpp file to osg plguin. 2001-10-02 15:59 +0000 [r43] robert: * Added include/osg/EarthSky and src/osg/EarthSky to cvs. Also move osg across to using radians for angular paramters by default. By defining USE_DEGREES_INTERNALLY you can get the OSG to revert to the old style degrees. This later feature is deprecated and only meant for helping comptability in the interim. 2001-10-02 11:36 +0000 [r42] robert: * Added osg::EarthSky node to the core osg library, and added support for it into osgUtil::SceneView, osg::CullVisitor, osgPlugin/osg and updated the hangglide demo to use the new earth sky node. 2001-10-01 23:02 +0000 [r41] robert: * Added support for osg::StateSet comparison operators and using this new feature added support in osgUtil::OptimizeStateVisitor for removing duplicate StateSet's from the scene graph, previously only duplicated StateAttributes we're removed. 2001-10-01 12:06 +0000 [r40] robert: * Integrated a bug fix to osg::TexMat from Geoff Michel which adds a glMatrixMode( GL_MODELVIEW ); after the setting of the texture matrix. Previously the texture matrix mode could run into normal model view matrix operations which were assuming the defaul of GL_MODELVIEW. 2001-10-01 11:15 +0000 [r39] robert: * Made spelling corrections, the spelling mistakes picked up by a script written by Neil Salter. script 2001-09-30 20:41 +0000 [r38] robert: * Interegrated changes to Timer from Neil Salter to fix compilation problems which had been introduced by doing #include's within the osg namespace. 2001-09-29 18:34 +0000 [r37] robert: * Added setAttributeAndModes(new Depth,StateAttribute::ON); to the StateSet::setGlobalDefault() so that the correct default for the glDepthFunc etc are set up for scene graphs, and allows override of these value which risk of inheriting state on to the rest of the scene graph. This has allowed the hangglide demo to be simplified since it now doesn't need to set the global Depth instance itself. 2001-09-29 09:37 +0000 [r36] robert: * Modified the Matrix multiple method added by Don so it is safer and added comments explaining why it shouldn't be needed as other more efficient methods should be doing the work for us. Also added Matrix::ensureRealized() to support the lazy initialization of Matrix, whilest keeping the implementation robust so that external calls to Matrix which get values do so on an initialized matrix. 2001-09-29 02:48 +0000 [r35] don: * Added operator * (Matrix &) to Matrix (header) and operator [] to reference matrix elements. 2001-09-28 20:10 +0000 [r34] robert: * Made spelling corrections to osg include files, spelling mistakes detected by a script written by Neil Salter which analyses comments for mistakes. 2001-09-28 19:36 +0000 [r33] don: * Cleaned up inst rules a bit... 2001-09-28 16:56 +0000 [r32] robert: * *** empty log message *** 2001-09-28 12:36 +0000 [r31] robert: * *** empty log message *** 2001-09-27 16:34 +0000 [r30] robert: * *** empty log message *** 2001-09-27 09:44 +0000 [r29] robert: * *** empty log message *** 2001-09-26 12:23 +0000 [r28] anonymous: * *** empty log message *** 2001-09-25 17:56 +0000 [r27] robert: * *** empty log message *** 2001-09-22 02:42 +0000 [r26] don: * Synch with 20010921 2001-09-22 02:04 +0000 [r25] don: * Added files to keep cvs from removing empty directories lib and lib/osgPlugins 2001-09-20 01:07 +0000 [r24] don: * Added place holder README files to lib/README and lib/osgUtil/README so empty directories will not be removed by CVS 2001-09-20 00:59 +0000 [r23] don: * Removed Makedepend files 2001-09-20 00:48 +0000 [r21-22] don: * Addec binary files with -kb * Removed should be binary entries. Well r-add with -kb 2001-09-20 00:07 +0000 [r19-20] don: * Added ico files with -kb flag * Trying to clean up binary commits 2001-09-19 23:56 +0000 [r17-18] don: * Added these with the -kb flag now. * Cleaning up binary commits - oops 2001-09-19 23:52 +0000 [r16] don: * 1) new implementation of the osg::Matrix class. Note details below. 2) cleaned up osg::Timer, still in progress. My intent has been to pave the way for support for other OS's. 3) new osg::FrameStamp class which has a frame number, reference time for each frame to be app, culled and drawn. The FrameStamp also can be passed to other machines (i.e. cluster) and the FrameStamp can be used with the slaves own app,cull and draw. I've also added the beginings of a calander time data to the FrameStamp to allow time or day and year to be used in setting up position of sun/moon etc. etc. 4) The osg::State now has contains a pointer to the last applied osg::Camera and the current osg::FrameStamp, so that drawables can use both pieces of information for creating effects such CLOD, earth/sky etc. The osg::NodeVisitor also now allows you to attach a FrameStamp to support syncronization of actions on the scene graph. 2001-09-19 23:46 +0000 [r15] don: * o Added osgUtil::StateOptimizeVisitor which traversing the scene graph and builds up a map of all StateAttributes and StateSets and then removes the duplicates. This promotes state sharing throughout the scene graph which inturn can significantly improve performance thanks to reduced state changing. Particularily effective on datasets where a great deal of duplicated state exists. o Added pure virtual compare(const osg::StateAttribute&) method to osg::StateAttribute, and implemented it in all the subclasses from StateAttribute. Added <,== & != operator on StateAttribute and Matrix to support new StateOptimizeVisitor. o Added META_Object, META_Node and META_StateAttribute macros to Object, Node and StateAttribute respectively which define the standard pure virtual methods such as clone, className & isSameKindAs. Changed all the appropriate header files to use these macro's rather define them in each header, these cleans up the headers considerably. o Corrected the implementation of osg::Light::getType so it correctly uses a unique type for each of the OpenGL lights (GL_LIGHT0.. GL_LIGHT7 relates to osg::StateAttriburte::LIGHT_0..LIGHT_7. o Changed the definition of osg::StateStateAttribute::Type to is now a unsigned int rather than an enum, and have changed the name of the previous Type enum list to be Types. This makes it more consistent with the difination of values found in StateAttribute and also easier to extend with having to cast to an enum. o From Pail Fredrikson, updated Maitrx.new implemention which uses the same matrix orientation as the original Matrix implemention. 2001-09-19 23:41 +0000 [r14] don: * o Updated Metrowerks files for MacOS. They aren't 100% there yet, but getting there. o First cut of osgcluster demo. Very simple beginings. Alas I only one PC here so I can't test it in its current guise. o New support for NodeCallbacks, via AppCallback attached to osg::Node's, and a default osgUtil::AppVisitor which calls them on each frame. o Support for traversal masks in osg::NodeVisitor, osg::Node which allows nodes to be switched on or off via a bit mask. o Suppport for traversal number (frame number) and reference time into osg::NodeVisitor to handle syncronization of app and cull traversals. This also assist clustering as traversal number master to slaves. 2001-09-19 23:21 +0000 [r13] don: * 0.8.42 sync 2001-09-19 21:51 +0000 [r12] don: * Removed files.... synching witn 0.8.42 2001-09-19 21:41 +0000 [r11] don: * And yet more clean up synch with 0.8.42 2001-09-19 21:19 +0000 [r10] don: * More clean up for synch with 0.8.42 2001-09-19 21:10 +0000 [r8-9] don: * Added acompole more * Added a bunch of files synched with 0.8.42 2001-01-12 17:34 +0000 [r7] don: * Removed Makedepend for osg repository. No Makedepends should be in the repository 2001-01-10 17:19 +0000 [r6] don: * Fixed the findDSO error which excluded PATH on win32 and LD_LIBRARY_PATH in UNIX. 2001-01-10 16:32 +0000 [r2] don: * Initial revision 2001-01-10 16:32 +0000 [r1] anonymous: * New repository initialized by cvs2svn.