1. openscenegraph
  2. osg

Commits

Author Commit Message Date Builds
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Kim Bale, "The application description for osg2cpp was cut and pasted from osgconv and not changed. I've added a more relevant description."
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Martin Lambers, "It adds a new ReaderWriter plugin for the GTA file format (http://gta.nongnu.org). This allows to read and write floating point image data. Unlike other formats, GTA also allows very good compression ratios for floating point data. The compression method can be selected with the COMPRESSION option of the plugin. "
rob...@16af8721-9629-0410-8352-f15c8da7e697
Added usage of OSG_CPP_EXCEPTIONS_AVAILABLE for plugins that use std::exceptions.
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Stephan Huber, " Here's another small submission for IOS, which adds unique ids to the touchpoints, so the ids stay the same during a touch-sequence. (and some minor code enhancements)"
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Colin McDonald, "Upgrading to OpenSceneGraph 3.0.1, texture mip mapping stopped working on some junk low-end graphics cards which I still have to support. They worked ok with osg 2.8 and earlier. The problem turned out to be with gl proxy textures, which are unreliable on those devices. Proxy textures are used by the glu mipmap build routines to determine if a texture size is supported. The external glu library had a nice fallback behaviour, so that if proxy textures didn't work then the mipmap texture was still created. But in the work on the new embedded glu routines that fallback beha…
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Domenico Mangieri, "Implementation for MoveRight and MoveUp methods in FirstPersonManipulator is missing. I'm using the manipulator, so I added it."
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Stephan Huber, attached you'll find a compile fix for the new introduced rowlength-feature on IOS/OpenGL ES builds
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Luc Frauciel, "osgUtil Tessellator : beginTessellation() made virtual to allow configuration of tessellation: The initialisation of glu low level tessellator is done in osgUtil::Tessellator::beginTessellation() This function is not virtual, preventing any customization of the tesselation. In particular, there in an option in glu tesselator that force the generated primitives to be triangles and that I'd like to use (GLU_TESS_EDGE_FLAG). "
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Torben Dannhauer, "Modification to osgfilecache: Now source data can also be local.: find attached my modifications to osgfilecache. It now allows also the caching of LOCAL terrain databases. In combination with the extends and level cmd parameter it allows to extract parts of terrain databases and write it in a new "Sub database". I also modified osgDB::FileCache to create correct filenames if the data source is local."
rob...@16af8721-9629-0410-8352-f15c8da7e697
Updated ChangeLog, AUTHORS and Contriburos.cpp files
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Martin von Gagern, "The xine osg plugin won't compile against xine-lib-1.2.0: OpenSceneGraph-3.0.1/src/osgPlugins/xine/video_out_rgb.c:2772:25: error: ?video_driver_class_t? has no member named ?get_identifier? OpenSceneGraph-3.0.1/src/osgPlugins/xine/video_out_rgb.c:2773:25: error: ?video_driver_class_t? has no member named ?get_description? This has been reported on Gentoo: https://bugs.gentoo.org/397643 The relevant commit to the xine-lib repository is http://anonscm.de…
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Olaf Flebbe, "there are two ocurrences where pointer to bool is mixed with bool. Fixes warnings on MacOSX with llvm. diff --git a/src/osg/State.cpp b/src/osg/State.cpp index 0b88d63..2137bbd 100644 --- a/src/osg/State.cpp +++ b/src/osg/State.cpp @@ -109,7 +109,7 @@ State::State(): } } - _abortRenderingPtr = false; + _abortRenderingPtr = NULL; _checkGLErrors = ONCE_PER_FRAME; @@ -689,7 +689,7 @@ bool State::getLastAppliedTextureMode(unsigned int unit,Stat const StateAttribute* State::ge…
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Paul Martz, a simple GL3 example
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Colin McDonald, "The bounding box returned by getBound() for Text which is not auto-rotated (e.g. HUD text) is not always correct, because it doesn't take account of the base line offsets added by the various alignment options such as CENTER_TOP, CENTER_BOTTOM etc. The attached src/osgText/TextBase.cpp fixes the problem."
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Colin McDonald, fix for Solaris build.
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Filip Arlet,"I ran into problem with osg::Text _BASE_LINE alignment. It didn't account line spacing. Btw. same problem in 3D text Changed _offset from: -_characterHeight*(_lineCount-1) to: -_characterHeight*(1.0 + _lineSpacing)*(_lineCount-1)"
rob...@16af8721-9629-0410-8352-f15c8da7e697
Added back in support for checking the current working directory by default, but now do the check after the Options and Registry DataFilePathLists have been checked, which will allow users to better control over where files are searched for.
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Chris Denham, "This is a submission to fix a problem with use of mode GL_RESCALE_NORMAL for geometries below a scaling transform which is not equal in X, Y & Z components. In this case, the 'slow' method of mode GL_NORMALIZE should be used to perform the normalization. I have attached a correction to daeRTransforms.cpp based on trunk at [12892] which corrects this problem. This is the changed section: Code: if (scale.x() == scale.y() && scale.y() == scale.z()) { // This mode may be quicker than GL_NORMALIZE, but ONLY works if x, y & z components of scale are the same. ss->setMode(GL_RESCALE_NORMAL, osg::StateAttribute::ON|os…
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Thorsten Brehm, "attached update changes OSG's src/osgDB/Registry.cpp, so it doesn't (accidentally) resolve relative paths against the current working directory when searching for resources. So far, such paths were always resolved against the cwd first. I guess the previous behaviour of giving the cwd precedence over any path configured in the "database path list" (osgDB::Options) wasn't intentional. Otherwise, if it was intentional after all, it'd be good to add another feature instead, to make this configurable - e.g. a flag in osgDB::Options to disable this, if an application doesn't want the cwd being considered. " Note from Robert Osfield, …
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Hartmut Seichter, "attached a revised CMakeLists.txt file for Android that avoids the problems with a ARM gcc bug that appears in the NDK. It only overrides the optimization level for one file. As it resides only in the cfg parser this should not have side effects on performance."
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Paul Martz, "This change clarifies the description for OSG_GL_VERTEX_ARRAY_FUNCS_AVAILABLE."
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Leandro Motto Barros, "I've made a few changes to osgUtil::PolytopeIntersector so that it actually uses double precision floating point numbers everywhere (as long as OSG_USE_FLOAT_PLANE is not defined). I needed double precision intersections in a project I am working on. These changes fixed the problems I was having -- this is all testing I have done. Notice that I have changed osgUtil::PolytopeIntersector::Interse…
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Claus Scheiblauer, "in GraphicsWindowQt.cpp the GLWidget::keyReleaseEvent was implemented slightly different to the GLWidget::keyPressEvent, which caused the cursor keys values to be not correctly mapped from an QKeyEvent value to an osg key value when releasing a cursor key."
rob...@16af8721-9629-0410-8352-f15c8da7e697
Fixed build issues when compile with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF.
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Alexander Irion, "Added missing format GL_ALPHA to Image::computeFormatDataType()."
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Johannes Baeuerle, "The first problem is wrong value of the block size of etc1 textures in the getCompressedSize call in Texture.cpp. With the current block size of 16 the target application crashes with a GL_INVALID_VALUE. The reason is that the calculated size passed to OpenGL does not match the size of the passed data(data pointer,texture width,texture height,spec of etc1). With a block size of 8 in the getCompressedSize call this error dissapears."
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Nico Kruithof, "I found that Collada wasn't found correctly with visual studio 2010."
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Marius Kintel, "GraphicsWindowQt::WindowData no longer requires the parent widget of a graphics window to be of type GLWidget."
rob...@16af8721-9629-0410-8352-f15c8da7e697
From David Fries, "Of the two ways to use the Tessellator object, only retessellatePolygons was applying the winding and boundary option. Moved the gluTessProperty calls into beginTessellation(). There's a comment typo fix, removing an unused VertexPointList typedef, and allocates one _tobj instead of one per tesellation. Protections were added to check that _tobj was allocated in the few remaining places it wasn't being checked. --- On a side note, I would like to avoid the 'new Vec3d' in Tessellator::addVertex for each call to gluTessVertex(tess, location, data). The RedBook leaves it a…
rob...@16af8721-9629-0410-8352-f15c8da7e697
From Lionel Lagarde, "The setNormal method of osg::Billboard has side effects (it calls updateCache and update the normal to Z rotation matrix). When cloning billboards, copying the normal vector is not enough. In the correction, the copy constructor calls setNormal to update the internal members."
  1. Prev
  2. Next