1. openscenegraph
  2. osg

Commits

Author Commit Message Date Builds
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Luc Frauciel, "In 3ds plugin, asGeometry() is used on a drawable but the resulting pointer is not tested for nullity. It leads to a crash when writing osgText::Text or Shapes"
rob...@16af8721-9629-0410-8352-f15c8da7e697
From David Callu, "I found a bug in osg::Program. in osg::Program::PerContextProgram : typedef std::vector<UniformModifiedCountPair> LastAppliedUniformList; should be typedef std::map<unsigned int, UniformModifiedCountPair> LastAppliedUniformList; Intel driver can use index uniform value > 200000. With a std::vector, this index uniform value generate an out of memory error Nothing in OpenGL or GLSL specification define index uniform value rule…
rob...@16af8721-9629-0410-8352-f15c8da7e697
Removed redudent spaces at ends of lines
rob...@16af8721-9629-0410-8352-f15c8da7e697
Updated ChangeLog and AUTHORS for dev release
rob...@16af8721-9629-0410-8352-f15c8da7e697
Improved the handling of endian swap of osg::Array
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Glenn Waldron, "Attached are modifications to ZipArchive to make it safe for mutli-threaded access. Here's a summary: * Uses a separate ZIP file handle per thread * Maintains a single shared (read-only) index, created the first time through * Stress-tested with the DatabasePager using 24 threads under osgEarth I also updated the member variables to use OSG's leading-underscore convention."
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Guillaume Millet, "When using the texture Atlas builder, it will convert from REPEAT to CLAMP all textures using only texcoord between [-0.001 1.001] to give a chance to create an Atlas. If the atlas creation failed for other reason (texture size, only one compatible texture, ...) the texture remain modified in CLAMP mode. But if you use texcoords between [0.0 1.0] using CLAMP mode instead REPEAT it is not safe because you will have a blend to the border color at extremities. If we want to have exactly the same rendering after changing mode from REPEAT to CLAMP we should use the CLAMP_TO_EDGE mode instead of CLAMP to avoid blending to border color at extremities. Please find as attachment the proposed patch against…
rob...@16af8721-9629-0410-8352-f15c8da7e697
Added build problem with using float Matrix.
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Thomas Hogarth, build fix for IOS build
rob...@16af8721-9629-0410-8352-f15c8da7e697
Added fin.imbue(std::locale::classic()); to avoid problems with parsing of .obj files
rob...@16af8721-9629-0410-8352-f15c8da7e697
Added s/getByteSwap to teh InputStreamOperator base class and use of this method in the InputStream::start(InputStreamOperator*) method to ensure the bytes are swapped consistently.
rob...@16af8721-9629-0410-8352-f15c8da7e697
Added support for using glGenerateMipmap instead of GL_GENERATE_MIPMAP_SGIS on GLES2
rob...@16af8721-9629-0410-8352-f15c8da7e697
Added support for checking the possible endian reversal the OSG_HEADER_LOW and OSG_HEADER_HIGH when reading binary files written out from systems that have a different endian to the system reading it.
rob...@16af8721-9629-0410-8352-f15c8da7e697
Cleaned up CMake warning
rob...@16af8721-9629-0410-8352-f15c8da7e697
Moved the state.applyTextureMode(0,GL_TEXTURE_2D,osg::StateAttribute::ON); into the #if defined(OSG_GL_FIXED_FUNCTION_AVAILABLE) block to solve problems under GLES and GL3.x/GL4.x
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Mathieu Marache, "I was trying to play with the configuratiion files from the data but couldn't load them with osgviewer's -c CLI switch, this correction should make the alias work :-) "
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Sergey Polischuk, "In and Out control points were computed incorrectly for some animation channels with cubic bezier interpolation"
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Miha Ravsel, "While trying to create my custom serializer class, i created some dummy data which accidentally popped-up bug in InputStream readObjectFields function. Bug description: Let's say we have class A namespace Bug { class A : public osg::Object { public: //... typedef std::vector<osg::ref_ptr<A> > AList; protected: AList _alist; //... } } REGISTER_OBJECT_WRAPPER( A, new Bug::A, Bug::A, "osg::Object Bug::A" ) { ADD_LIST_SERIALIZER(A,Bug::A::AList); } Bug: We cre…
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Paul Martz, "The attached fixes a few issues that are present when ref_ptr implicit casting is disabled."
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Olaf Flebbe, "Macos X cleanup: I added AFAIK proper defaults for several Macos X Version API targets. * In order to determine which defaults to apply, consult the CMAKE_OSX_SYSROOT variable pointing to the used SDK, not the pure existence of an SDK. * Defaults are now: 10.7: Support Intel 32 and 64 Bit Cocoa with imageio picture reader 10.6 + 10.5: Support Cocoa with imageio on Intel and PowerPC 10.4: Carbon, Quicktime and PowerPC Now OSG compiles out of the box for MacOSX 10.7. , tested with …
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Chris Denham, "ReaderWriter3DS smoothing group handling corrections"
rob...@16af8721-9629-0410-8352-f15c8da7e697
Fixed warnings
rob...@16af8721-9629-0410-8352-f15c8da7e697
Fixed erroneous use #if !defined(OSG_GLES1_FEATURES) && !defined(OSG_GLES2_FEATURES) which should have been #if !defined(OSG_GLES1_AVAILABLE) && !defined(OSG_GLES2_AVAILABLE)
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Luc Frauciel, "When dae plugin is used with daeUseSequencedTextureUnitsoption, the transparency processing is done with the wrong texture unit I've remplaced the unused parameter diffuseColorName by the diffuseTextureUnit effectively used."
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Alexander Sinditskiy, "Fix loading small monochrome bmp images"
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Dietmar Funck, "in order to use a customized database thread it's necessary to use a customized database pager, which creates such customized database threads, too. I think the best way to achieve this is to overwrite the DatabasePager::addDatabaseThread() method within the customized database pager. However this method is not 'virtual' yet, so I propose to make the method 'virtual'."
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Farshid Lashkari, "I've attached a small optimization to osgDB::Registry::removeExpiredObjectsInCache that removes the expired items while iterating over the cache, instead of saving to a temporary vector and then removing."
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Riccardo Corsi, Added passing of EventVisitor pointer to event handlers.
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Riccardo Corsi, "please find attached a small patch for HDR plugin, which simply set by default the internal pixel format to GL_RGB32F_ARB where appropriate. In the current version there's a comment saying that the plugin set it to GL_RGB8 (even when reading from float) to support old graphics cards, but the comment dates back to 2004... What's more I believe that it's correct to expect a floating texture format if you're loading an hdr image. It was quite troublesome for us to discover why our background image wasn't showing hdr data... In case you a…
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Johannes Baeurele, "The osg::Image class now contains a 'supportsTextureSubloading()' method that is used inside the Texture2D::apply method. For now it only checks for the etc1 format in which case it returns 'false'. All other formats lead to a return value of 'true'. Without the change the application does not work properly. First I get the notification that an OpenGL error occured. After some more of this error messages I see broken textures on the screen. With the changes attached to this message my application works as intended." Note from Robert Osfield, changed the Image::supportsTextureSubloading() to be const and to be implemented in the .cpp rather th…
  1. Prev
  2. Next