Permalink
Commits on Mar 24, 2009
  1. @robertosfield
  2. @robertosfield

    From Ulrich Hertlein, "I got the following type error from gcc 4.0.1 …

    …on OS X 10.5.6:
    
    /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp: In member function \u2018int osgFFmpeg::FFmpegDecoderVideo::convert(AVPicture*, int, AVPicture*, int, int, int)\u2019:
    /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp:245: error: invalid conversion from \u2018int\u2019 to \u2018PixelFormat\u2019
    /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp:245: error:   initializing argument 3 of \u2018SwsContext* sws_getContext(int, int, PixelFormat, int, int, PixelFormat, int, SwsFilter*, SwsFilter*, double*)\u2019
    
    It expects 'src_pix_fmt' and 'dst_pix_fmt' to be of type 'PixelFormat' rather than int. The attached cast fixes this (for me).
    
    I've also added Matroska video to the list of supported extensions"
    robertosfield committed Mar 24, 2009
Commits on Mar 23, 2009
  1. @robertosfield
  2. @robertosfield
  3. @robertosfield
  4. @robertosfield

    From Luc Frauciel, You'll find attached a modification in ive plugin …

    …for POLYGONSTIPPLE read/write.
    robertosfield committed Mar 23, 2009
  5. @robertosfield

    From Wang Rui, "Attached is a very small fix for the ffmpeg plugin, t…

    …o build it without compiling errors on MSVC. The ffmpeg win32 pre-built tarball is downloaded at http://ffmpeg.arrozcru.org/builds/. Tested on Windows XP SP3 and Visual Studio 9, but don't know if it still workable for Unix and Mac users. :)
    
     
    Please look at the .diff files for details. I have already enjoyed the latest Chinese *big* movie "Red Cliff" with the fixed ffmpeg plugin and osgmovie. :D"
    robertosfield committed Mar 23, 2009
  6. @robertosfield

    From Csaba Halasz, "I have modified FltExportVisitor to use _MSC_VER …

    …instead of _WIN32 in
    
    the condition around a #pragma warning that is specific to visual
    studio as _WIN32 is also defined for mingw compile but the #pragma is
    not applicable there."
    robertosfield committed Mar 23, 2009
  7. @robertosfield

    From Csaba Halasz, "IIRC the C++ standard says members will be initia…

    …lized in declaration
    
    order, and not in the order they are listed in the constructor. To
    avoid possible trouble, gcc warns about this. Attached modification
    fixes the initializer order to silence this warning."
    robertosfield committed Mar 23, 2009
  8. @robertosfield
  9. @robertosfield

    From Csaba Halasz, "I have removed some unnecessary semicolons that m…

    …ingw build warns about."
    robertosfield committed Mar 23, 2009
  10. @robertosfield

    From Eric Sokolowsky, "The attached Registry.cpp fixes OSG under OSX …

    …when a library suffix string is used, as is selected by default with cmake.
    
    "
    robertosfield committed Mar 23, 2009
  11. @robertosfield
  12. @robertosfield

    From Michael Platings, "I've changed this file so CMake automatically…

    … chooses the correct directories & libs out of vc8,vc9,mac,mingw
    
    Tested with Visual Studio 9 2008"
    robertosfield committed Mar 23, 2009
  13. @robertosfield

    From Roland Smeenk, "Here's a small simplification of the osganimatio…

    …nmorph example. Only one morphtarget needs to be added to the MorphGeometry since it already has a base geometry. The animation will morph between the base geometry and the first target.
    
    "
    robertosfield committed Mar 23, 2009
  14. @robertosfield

    From Philip Lowman, "Mainly removing comments like "This file is auto…

    …matically generated" (glad that never happened!)"
    robertosfield committed Mar 23, 2009
  15. @robertosfield

    From Philip Lowman, "Here's the promised cleanup of the OSG's CMakeLi…

    …sts.txt files for the src/ folder. I'll submit the others separately.
    
    Also, there was also a small bug in osgDB's CMakeLists.txt that was causing an error when I tested with CMake 2.4.4.
    
    IF(${OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX} STREQUAL "quicktime")
    was changed to
    IF(OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX STREQUAL "quicktime")
    "
    robertosfield committed Mar 23, 2009
  16. @robertosfield
  17. @robertosfield

    From Csaba Halasz, "here is another division by zero fix, this should…

    … be simpler ;)
    
    It caused problem if the stats display was popped up before the pager
    had anything to do."
    robertosfield committed Mar 23, 2009
  18. @robertosfield

    Cleaned up interface

    robertosfield committed Mar 23, 2009
  19. @robertosfield
  20. @robertosfield
  21. @robertosfield

    Added ShaderGen wrapper

    robertosfield committed Mar 23, 2009
  22. @robertosfield
  23. @robertosfield

    From Eric Sokolowsky, "osgviewer (and all other OSG-based utilities) …

    …fails to provide help for the OSG_NOTIFY_LEVEL environment variable. This submission fixes that problem."
    robertosfield committed Mar 23, 2009
  24. @robertosfield

    From Maciej Krol, "As promised to Roland I assembled simple shader ge…

    …nerator. ShaderGenVisitor converts accumulated fixed function pipeline state sets to ones with shader programs. Generated state sets are attached to geometries and stored in ShaderGenCache for reuse.
    
    Very simple cases of state configuration are supported (all the ones I really need):
    - single per pixel not attenuated non spot light source ON/OFF
    - exp2 fog ON/OFF
    - diffuse texture in rgb + optional specular gloss in alpha (Texture unit 0) ON/OFF
    - normal map texture (Texture unit 1 and Tangent in VertexAttribArray 6) ON/OFF
    - blending and alpha testing (not in shader pipeline)
    
    To view fixed function pipeline files and paged databases simply run >osgshadergen myfile.osg"
    robertosfield committed Mar 23, 2009
Commits on Mar 19, 2009
  1. @robertosfield

    UPdated wrappers

    robertosfield committed Mar 19, 2009
  2. @robertosfield
  3. @robertosfield

    Fixed spacing

    robertosfield committed Mar 19, 2009
  4. @robertosfield
  5. @robertosfield
  6. @robertosfield
Commits on Mar 14, 2009
  1. @robertosfield
Commits on Mar 13, 2009
  1. @robertosfield
  2. @robertosfield

    Update AUTHORS file

    robertosfield committed Mar 13, 2009