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 Er