Changeset 8310

Show
Ignore:
Timestamp:
05/12/08 14:16:58
Author:
robert
Message:

Update ChangeLog? and wrappers for 2.5.0 dev release

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • OpenSceneGraph/trunk/ChangeLog

    r8288 r8310  
     12008-05-12 11:39 +0000 [r8308]  robert: 
     2 
     3        * From Mathias Froehlich, Fixed FrameBufferObject attachement code 
     4          to handle cases where no texture or image is attached 
     5 
     62008-05-12 11:01 +0000 [r8307]  robert: 
     7 
     8        * Updated version number for 2.5.0 dev release 
     9 
     102008-05-12 10:55 +0000 [r8306]  robert: 
     11 
     12        * From Eric Sokolowski and Robert Osfield, moved command line 
     13          option usage setup from osgviewer example into 
     14          osg::ArgumentParser and osgViewer::Viewer to make them more 
     15          universally available. 
     16 
     172008-05-12 10:18 +0000 [r8304-8305]  robert: 
     18 
     19        * From Bob Kuehne, "* add easy multiple texture targets support for 
     20          obj by refactoring texture load into it's own method. * use new 
     21          method from step 1 to load 'map_opacity' textures from .mtl 
     22          files" 
     23 
     24        * From Mathias Froehlich, fixed typo 
     25 
     262008-05-11 14:26 +0000 [r8303]  robert: 
     27 
     28        * Added CARIO_FOUND into svg plugins checks 
     29 
     302008-05-11 14:23 +0000 [r8302]  robert: 
     31 
     32        * From Miguel Escriva, Here you will find a SVG Image Reader. It 
     33          renders a SVG file as an osg::Image using cairo and rsvg. 
     34 
     352008-05-10 17:25 +0000 [r8300-8301]  robert: 
     36 
     37        * From Paul Martz, "This change adds support for osg::Billboards to 
     38          the OpenFlight exporter. It might seem odd that the change 
     39          actually removes the stub apply(Billboard&) method, but it turns 
     40          out Billboards are easily supported in subordinate routines of 
     41          the existing apply(Geode&) method with s dynamic_cast, so there's 
     42          no need for a separate apply(Billboard&)." 
     43 
     44        * From Paul Martz, "Another round of plugin enhancements. 3DC: 
     45          Output now uses osg::notify. JPEG: Now returns correct error code 
     46          for empty input file. FreeType: Prevent possible crash if Options 
     47          is NULL." 
     48 
     492008-05-10 17:04 +0000 [r8299]  robert: 
     50 
     51        * Moved compile setup from osgViewer::ViewerBase into 
     52          osgViewer::Renderer to avoid threading issues associated with 
     53          compile running in a parallel with update/cull on the first 
     54          frame. Also added automatic recompile when a new SceneData is 
     55          applied to a View. 
     56 
     572008-05-09 17:22 +0000 [r8298]  robert: 
     58 
     59        * Added --file-cache command line option to compliment -c 
     60 
     612008-05-09 17:08 +0000 [r8297]  robert: 
     62 
     63        * Initial cut of file cache population app 
     64 
     652008-05-09 11:54 +0000 [r8296]  robert: 
     66 
     67        * From Art Trevs, set the _geometryVerticesOut to default to 1 as a 
     68          workaround for OpenGL driver bug that incorrectly reports a 
     69          warning when value is 0. 
     70 
     712008-05-09 11:27 +0000 [r8295]  robert: 
     72 
     73        * From Paul Martz, "Attached are some minor plugin fixes. PNM, RGB, 
     74          and JPEG would all crash if attempting to read an empty file, and 
     75          FLT would go into an infinite loop. All are fixed with this 
     76          change. I also fixed some return values for a couple of these, 
     77          changing FILE_NOT_HANDLED to ERROR_IN_READING_FILE where 
     78          appropriate." 
     79 
     802008-05-09 10:27 +0000 [r8294]  robert: 
     81 
     82        * From Jeremy Moles, fixed window resize problem 
     83 
     842008-05-08 17:02 +0000 [r8293]  robert: 
     85 
     86        * Added missing check against handling invalid bounding sphere's 
     87 
     882008-05-08 16:48 +0000 [r8291-8292]  robert: 
     89 
     90        * From Eric Sokolowsky, "I found one compilation error in OSG 2.4 
     91          in the Inventor plugin, where one node (SoTextureCoordinate3) was 
     92          assumed to be available in all versions of Inventor but is 
     93          actually only available in Coin. The use of the node is now 
     94          protected by #ifdef __COIN__ constructs. The attachment is based 
     95          on OSG 2.4, not SVN." 
     96 
     97        * From Melchior Franz, "In KDE I switch desktops with Super-Tab, 
     98          and occasionally I get an excess Tab key report when switching 
     99          back to an OSG application (usually FlightGear :-). Although KDE 
     100          has consumed the Tab, it's sometimes still in the XKeymapEvent's 
     101          key_vector, and followed by a Tab KeyRelease event. Avoid this 
     102          artifact by - asking for a "fresh" keymap (via XQueryKeymap()), 
     103          rather than using the unreliable(?) XKeymapEvent's key_vector, 
     104          and by - flushing all key events on focus-in (to avoid the 
     105          KeyRelease) After Super-press, Tab-press, Super-release, 
     106          Tab-release (note the wrong release order!) I still get an extra 
     107          Tab event. But this is not surprising and not exactly wrong 
     108          either. Also it's hard to avoid, as we can't see what happened to 
     109          the keyboard before we regained focus. Files changed: 
     110          src/osgViewer/GraphicsWindowX11.cpp 
     111          include/osgViewer/api/X11/GraphicsWindowX11" 
     112 
     1132008-05-08 16:39 +0000 [r8290]  robert: 
     114 
     115        * From Jeremy Moles, osgviewerGTK example 
     116 
     1172008-05-08 15:17 +0000 [r8289]  robert: 
     118 
     119        * From Sebastien Messerschmidt, "attached you'll find a patch for 
     120          the shp-plugin. I've spotted huge memory leaks int ShapeParser 
     121          and fixed them. Also, there was a missing destructor (PolygonM) 
     122          and a missing member initialization (PolygonZ) Would be nice if 
     123          someone could test the changes. To release the memory just if no 
     124          reading error happened (and therefore the arrays would be valid) 
     125          I've added an macro to release and reset the pointers at once. 
     126          I'm not using macros myself very often as I don't like them, but 
     127          I think it doesn't hurt in this code. " 
     128 
     1292008-05-08 15:14 +0000 [r8288]  robert: 
     130 
     131        * Updated ChangeLog and osgversion to catch Raymond de Vries name 
     132          correctly 
     133 
    11342008-05-08 14:00 +0000 [r8287]  robert: 
    2135 
  • OpenSceneGraph/trunk/src/osgWrappers/osg/ApplicationUsage.cpp

    r7654 r8310  
    2525BEGIN_ENUM_REFLECTOR(osg::ApplicationUsage::Type) 
    2626        I_DeclaringFile("osg/ApplicationUsage"); 
     27        I_EnumLabel(osg::ApplicationUsage::NO_HELP); 
    2728        I_EnumLabel(osg::ApplicationUsage::COMMAND_LINE_OPTION); 
    2829        I_EnumLabel(osg::ApplicationUsage::ENVIRONMENTAL_VARIABLE); 
    2930        I_EnumLabel(osg::ApplicationUsage::KEYBOARD_MOUSE_BINDING); 
     31        I_EnumLabel(osg::ApplicationUsage::HELP_ALL); 
    3032END_REFLECTOR 
    3133 
  • OpenSceneGraph/trunk/src/osgWrappers/osg/ArgumentParser.cpp

    r7654 r8310  
    221221                              "Write error messages to the given ostream, if at or above the given severity. ", 
    222222                              ""); 
     223        I_Method0(osg::ApplicationUsage::Type, readHelpType, 
     224                  Properties::NON_VIRTUAL, 
     225                  __ApplicationUsage_Type__readHelpType, 
     226                  "This convinience method handles help requests on the command line. ", 
     227                  "Return the type(s) of help requested. The return value of this function is suitable for passing into getApplicationUsage()->write(). If ApplicationUsage::NO_HELP is returned then no help commandline option was found on the command line. "); 
    223228        I_StaticMethod1(bool, isOption, IN, const char *, str, 
    224229                        __bool__isOption__C5_char_P1_S, 
  • OpenSceneGraph/trunk/src/osgWrappers/osgViewer/Renderer.cpp

    r8121 r8310  
    126126                  Properties::VIRTUAL, 
    127127                  __void__cull_draw, 
     128                  "", 
     129                  ""); 
     130        I_Method0(void, compile, 
     131                  Properties::VIRTUAL, 
     132                  __void__compile, 
     133                  "", 
     134                  ""); 
     135        I_Method1(void, setCompileOnNextDraw, IN, bool, flag, 
     136                  Properties::NON_VIRTUAL, 
     137                  __void__setCompileOnNextDraw__bool, 
     138                  "", 
     139                  ""); 
     140        I_Method0(bool, getCompileOnNextDraw, 
     141                  Properties::NON_VIRTUAL, 
     142                  __bool__getCompileOnNextDraw, 
    128143                  "", 
    129144                  ""); 
     
    185200                           "", 
    186201                           ""); 
     202        I_SimpleProperty(bool, CompileOnNextDraw,  
     203                         __bool__getCompileOnNextDraw,  
     204                         __void__setCompileOnNextDraw__bool); 
    187205        I_SimpleProperty(double, ConservativeTimeRatio,  
    188206                         __double__getConservativeTimeRatio,