| | 1 | 2008-06-20 11:16 +0000 [r8473] robert: |
| | 2 | |
| | 3 | * From Mathias Froehlich, made the include of bin directory for |
| | 4 | include/OpenThreads/Config only used when doing out of source |
| | 5 | builds |
| | 6 | |
| | 7 | 2008-06-20 11:11 +0000 [r8472] robert: |
| | 8 | |
| | 9 | * Updated version numbers for dev releases |
| | 10 | |
| | 11 | 2008-06-20 10:46 +0000 [r8471] robert: |
| | 12 | |
| | 13 | * From Mathias Froehlich, "Fixes a compile of |
| | 14 | src/osgSim/ShapeAttribute.cpp on suse 10.2." |
| | 15 | |
| | 16 | 2008-06-20 09:46 +0000 [r8470] robert: |
| | 17 | |
| | 18 | * From Melchior Franz, fixed typo on variable name |
| | 19 | |
| | 20 | 2008-06-20 09:42 +0000 [r8469] robert: |
| | 21 | |
| | 22 | * From Mathias Froehlich, add search path to enable out of source |
| | 23 | builds to find include/OpenThreads/Config. |
| | 24 | |
| | 25 | 2008-06-19 20:42 +0000 [r8468] robert: |
| | 26 | |
| | 27 | * Updated wrappers |
| | 28 | |
| | 29 | 2008-06-19 20:38 +0000 [r8467] robert: |
| | 30 | |
| | 31 | * From Neil Groves, "I have taken the liberty of updating a few |
| | 32 | files so that there is no longer any derivation from std::vector. |
| | 33 | I have done this by adding a new file osg/MixinVector and by |
| | 34 | updating only two others: osg/PrimitiveSet and osg/Array. You |
| | 35 | will notice that this actually removes what is acknowledged as a |
| | 36 | \u2018hack\u2019 in osg/PrimitiveSet. With the original code I |
| | 37 | did manage to find memory leaks with some compiler options on VC |
| | 38 | 8 and 9, as well as Intel compiler. I determined the leak |
| | 39 | existence by instrumenting the destructor code, and by use of a |
| | 40 | garbage collector as a leak detector (in a similar manner to the |
| | 41 | Firefox project). Hence in contrast to what I said originally, it |
| | 42 | is exhibiting symptoms on at least some platforms. Since I am |
| | 43 | trying to be a good OSG citizen I got out my editor and started |
| | 44 | hacking! I have built and tested on Linux (Ubuntu) with GCC 4.x |
| | 45 | and Windows VC 8 SP1. It appears that nothing is broken, and that |
| | 46 | I\u2019m using less memory J" |
| | 47 | |
| | 48 | 2008-06-19 17:35 +0000 [r8466] robert: |
| | 49 | |
| | 50 | * From Mathieu Marache, "submission for inclusion to support mpg |
| | 51 | and avi files when using the quicktime plugin on windows" |
| | 52 | |
| | 53 | 2008-06-19 17:30 +0000 [r8465] robert: |
| | 54 | |
| | 55 | * From Mathias Froehlich, added support for using |
| | 56 | OpenThreads::Atomic for thread safe ref/unref. |
| | 57 | |
| | 58 | 2008-06-19 14:57 +0000 [r8464] robert: |
| | 59 | |
| | 60 | * from Andrew Bettison, LineStipple support for .ive |
| | 61 | |
| | 62 | 2008-06-19 14:45 +0000 [r8463] robert: |
| | 63 | |
| | 64 | * From Adrian Egli, "Improvements to the PSSM implementation" |
| | 65 | |
| | 66 | 2008-06-19 14:35 +0000 [r8462] robert: |
| | 67 | |
| | 68 | * From Rudolf Weidemann, "in the OpenFlight format materials can |
| | 69 | have editable names. In the OSG OpenFlight plugin these names are |
| | 70 | ignored when reading, and empty strings are written. As we need |
| | 71 | these names in the OSG scene graph by our application, I changed |
| | 72 | the plugin code, so the names are now stored in class |
| | 73 | "osg::Material" (derived from "osg::Object") by |
| | 74 | material->setName(); (see "PaletteRecords.cpp, line 195) when |
| | 75 | reading the file, and written to file by dos.writeString( |
| | 76 | m.Material->getName(), 12 ); (see MaterialPaletteManager.cpp, |
| | 77 | line 80). As these names otherwise get lost when reading an |
| | 78 | OpenFlight file and writing it again e.g. by osgconv example.flt |
| | 79 | converted_example.flt these changes make the plugin more |
| | 80 | complete. The changes were made to OSG revision 8425, and were |
| | 81 | tested by osgconv example.flt converted_example.flt comparing the |
| | 82 | material palettes of both files inside Multigen Creator." |
| | 83 | |
| | 84 | 2008-06-19 14:29 +0000 [r8461] robert: |
| | 85 | |
| | 86 | * From Farshid Lashkari, "I noticed some problems when setting up |
| | 87 | CameraNodes that inherit viewport settings in stereo mode. It |
| | 88 | seems that the SceneView::cull() method will pass the full size |
| | 89 | viewport to the left/right cullvisitors, instead of the modified |
| | 90 | stereo viewport. I made quite a few changes to SceneView to fix |
| | 91 | the issue. The SceneView::cullStage() method will now receive the |
| | 92 | viewport as an argument, instead of using the global viewport. |
| | 93 | The SceneView::cull() method will pass the modifed viewport to |
| | 94 | cullStage when rendering in stereo. There are 2 new private |
| | 95 | methods computeLeftEyeViewport() and computeRightEyeViewport() |
| | 96 | that will compute the stereo viewports. I also modified the |
| | 97 | draw() function so it applies the correct viewport to the |
| | 98 | prerender stages. These changes are only necessary for |
| | 99 | horizontal/vertical split stereo." |
| | 100 | |
| | 101 | 2008-06-19 14:14 +0000 [r8460] robert: |
| | 102 | |
| | 103 | * From Andrew Bettison, "Attached are changes for |
| | 104 | src/osgPlugins/ive (version 2.4.0) that implement LineStipple |
| | 105 | read/write support for the ive file format." |
| | 106 | |
| | 107 | 2008-06-19 13:49 +0000 [r8459] robert: |
| | 108 | |
| | 109 | * From Paul Melis, "Here is a reworked version of the osgviewerWX |
| | 110 | example. It changes the GraphicsWindowWX to only inherit from |
| | 111 | osgViewer::GraphicsWindow and adds a standalone widget, called |
| | 112 | OSGCanvas, that derives from wxGLCanvas. This solves a problem |
| | 113 | with the GraphicsWindowWX instance being destructed twice (see |
| | 114 | "Crash in osgviewerWX" of June 12th on osg-users). At program |
| | 115 | exit, the main frame deletes all of its children widgets and |
| | 116 | therefore calls GraphicsWindowWX's destructor, bypassing OSG's |
| | 117 | reference counting. The GraphicsWindowWX instance is then later |
| | 118 | destructed a second time when the reference held by osg::Camera |
| | 119 | goes to zero. This bug isn't exposed by the example directly, but |
| | 120 | if people are going to use the example as a basis (like the |
| | 121 | poster in the mentioned thread) they very likely will run into |
| | 122 | this problem. " |
| | 123 | |
| | 124 | 2008-06-19 13:28 +0000 [r8458] robert: |
| | 125 | |
| | 126 | * Updated wrappers to fix OpenThreads::Atomic build issues. |
| | 127 | |
| | 128 | 2008-06-19 12:02 +0000 [r8457] robert: |
| | 129 | |
| | 130 | * From Michael Platings, fixed typo error in renderbin assignment |
| | 131 | |
| | 132 | 2008-06-19 11:58 +0000 [r8456] robert: |
| | 133 | |
| | 134 | * In Program::PerContextProgram changed const Uniform* to |
| | 135 | osg::ref_ptr<const Uniform*> to avoid the possibility of a |
| | 136 | uniform being deleted and another being created and assigned at |
| | 137 | the same address which previously confused the uniform tracking |
| | 138 | code and introduced a bug. |
| | 139 | |
| | 140 | 2008-06-19 11:09 +0000 [r8455] robert: |
| | 141 | |
| | 142 | * From Michael Platings and Robert Osfield, added support for |
| | 143 | controlling, via StateSet::setNestedRenderBin(bool) whether the |
| | 144 | new RenderBin should be nested with the existing RenderBin, or be |
| | 145 | nested with the enclosing RenderStage. |
| | 146 | |
| | 147 | 2008-06-18 20:27 +0000 [r8453-8454] robert: |
| | 148 | |
| | 149 | * Updated wrappers |
| | 150 | |
| | 151 | * From Michael Platings, implemented check against max number of |
| | 152 | supported samples to ensure that the number of samples is safely |
| | 153 | capped to what the hardware is capable of, avoiding GL errors and |
| | 154 | graceful fallback |
| | 155 | |
| | 156 | 2008-06-18 20:17 +0000 [r8452] robert: |
| | 157 | |
| | 158 | * From Liang Aibin: "1. Location: |
| | 159 | <OSG_SOURCE_ROOT>\src\osgPlugins\osg\Fog.cpp Reason: ".osg" |
| | 160 | writter plugins output incorrected string for osg::Fog's Mode. |
| | 161 | How to Fix: Line 138 in Fog.cpp: case(Fog::LINEAR): return |
| | 162 | "NERVER"; Change to: case(Fog::LINEAR): return "LINEAR"; 2. |
| | 163 | Location: <OSG_SOURCE_ROOT>\src\osgPlugins\ive\ Reason: ".ive" |
| | 164 | writter plugins missing to process "osg::Fog". How to Fix: (1). |
| | 165 | Line 86 in ReadWrite.h: Add: #define IVEFOG 0x00001133 (2). In |
| | 166 | CMakeLists.txt "SET(TARGET_SRC" section Add: Fog.cpp |
| | 167 | "SET(TARGET_H" section Add: Fog.h (3). In DataInputStream.cpp |
| | 168 | Line 54,Add: #include "Fog.h" Line 1185,Add: else if(attributeID |
| | 169 | == IVEFOG){ attribute = new osg::Fog(); |
| | 170 | ((ive::Fog*)(attribute))->read(this); } (4). In |
| | 171 | DataOutputStream.cpp Line 57,Add: #include "Fog.h" Line 832,Add: |
| | 172 | // This is a Fog else if(dynamic_cast<const |
| | 173 | osg::Fog*>(attribute)){ ((ive::Fog*)(attribute))->write(this); } |
| | 174 | (5). Add newly created ive::Fog Object in Fog.h and Fog.cpp. " |
| | 175 | |
| | 176 | 2008-06-18 16:46 +0000 [r8450-8451] robert: |
| | 177 | |
| | 178 | * Updated wrappers |
| | 179 | |
| | 180 | * Added a wrapString(const char*) which automatically handles null |
| | 181 | strings. |
| | 182 | |
| | 183 | 2008-06-18 16:28 +0000 [r8449] robert: |
| | 184 | |
| | 185 | * Convert string handling to use strdup and free rather then |
| | 186 | awkward new char[] code paths |
| | 187 | |
| | 188 | 2008-06-18 14:21 +0000 [r8448] robert: |
| | 189 | |
| | 190 | * Added --fbo-samples value and --color-samples value command line |
| | 191 | paramters for enabling fbo multisampling |
| | 192 | |
| | 193 | 2008-06-18 14:09 +0000 [r8447] robert: |
| | 194 | |
| | 195 | * From Michael Platings and Paul Palumbo, multi-sample FBO support |
| | 196 | |
| | 197 | 2008-06-18 12:01 +0000 [r8446] robert: |
| | 198 | |
| | 199 | * From Jean-Sebastien Guay, "When copying a node that had uniforms |
| | 200 | on it, the copy constructor of osg::Uniform would not copy the |
| | 201 | array of the original uniform (either _intArray or _floatArray) |
| | 202 | because none had been allocated and the copy constructor checks |
| | 203 | that *both* this's array and rhs's array are valid. I added a |
| | 204 | call to allocateDataArray() if rhs has (at least) one valid |
| | 205 | array, which should allocate the right array according to the |
| | 206 | type. Since the type was copied from rhs, it should create the |
| | 207 | same array as rhs has, so then it should copy the data in the |
| | 208 | following lines. " |
| | 209 | |
| | 210 | 2008-06-18 11:56 +0000 [r8445] robert: |
| | 211 | |
| | 212 | * From Bob Kuehne, "added multi-texture support (alpha/trans |
| | 213 | images)" |
| | 214 | |
| | 215 | 2008-06-18 11:51 +0000 [r8444] robert: |
| | 216 | |
| | 217 | * Updated wrappers |
| | 218 | |
| | 219 | 2008-06-18 11:13 +0000 [r8443] robert: |
| | 220 | |
| | 221 | * From Bob Kuehne, "this submission extends the |
| | 222 | osgViewer::RecordCameraPathHandler to have an optionally-enabled |
| | 223 | auto-incrementing filename. default behavior is still the same, |
| | 224 | but there's one new method to enable autoincrementing filenames." |
| | 225 | From Robert Osfield, modified the above so that the number |
| | 226 | increments come after the filename rather than before. |
| | 227 | |
| | 228 | 2008-06-18 10:51 +0000 [r8442] robert: |
| | 229 | |
| | 230 | * From Gino van den Bergen, "Added support for vrml primitive |
| | 231 | caching" |
| | 232 | |
| | 233 | 2008-06-18 10:46 +0000 [r8441] robert: |
| | 234 | |
| | 235 | * From David Callu, "fixed bounding box bug" |
| | 236 | |
| | 237 | 2008-06-17 17:43 +0000 [r8440] robert: |
| | 238 | |
| | 239 | * From Mathias Froehlich, OpenThreads::Atomic support |
| | 240 | |
| | 241 | 2008-06-16 20:22 +0000 [r8439] robert: |
| | 242 | |
| | 243 | * Added overriding of CullSettings::inheritCullSettings() into |
| | 244 | osg::Camera to properly inherit the clear colour. |
| | 245 | |
| | 246 | 2008-06-16 16:06 +0000 [r8438] robert: |
| | 247 | |
| | 248 | * Changed class to struct |
| | 249 | |
| | 250 | 2008-06-16 13:20 +0000 [r8437] robert: |
| | 251 | |
| | 252 | * Added mutex to serialize access to the trpager |
| | 253 | |
| | 254 | 2008-06-16 09:32 +0000 [r8436] robert: |
| | 255 | |
| | 256 | * Checking in missing header changes |
| | 257 | |
| | 258 | 2008-06-12 16:33 +0000 [r8434] robert: |
| | 259 | |
| | 260 | * Refactored the management of the request queues so that the |
| | 261 | appropraite mutex is locked when DatabaseRequest objects are |
| | 262 | modified |
| | 263 | |
| | 264 | 2008-06-06 19:57 +0000 [r8425] robert: |
| | 265 | |
| | 266 | * Updated wrappers, authors and readme for 2.5.2 dev release |
| | 267 | |
| | 268 | 2008-06-06 19:41 +0000 [r8424] robert: |
| | 269 | |
| | 270 | * Updated ChangeLog |
| | 271 | |