Ralf Habacker
6eaf2f5781
Install msvc debug files along with the binaries
2016-05-31 17:02:11 +01:00
Ralf Habacker
e536d8e601
Fixed bug not detecting unc pathes in osgDB::isAbsolutePath()
2016-05-31 16:17:15 +01:00
Alberto Luaces
af9d8889c8
defines for building on Hurd and BSD kernels
2016-05-31 12:59:48 +01:00
Pjotr Svetachov
a4c9cac2a8
small optimization to the osgb/t serializers.
2016-05-31 11:28:27 +01:00
Jannik Heller
5c46d9de3e
Fixed typo of method name
2016-05-30 13:43:09 +01:00
Tony Vasile
8d08b75e19
OpenFlight-plugin with Surface Material Codes. There is one additional field that may be required by an existing application in addition to the IR Code is the IR Material. I have a small fix to include the IR Material as the User Value <UA:IRM>
2016-05-30 12:42:06 +01:00
Robert Osfield
6ec5d80b0d
From Wee See, "attached a small submission, which makes the option "readObjectRecordData" of OpenFlight-plugin working like documented in the Knowledge Base of OSG (52-using-the-openflight-plugin).
...
Actually, if the option "readObjectRecordData" is set, ObjectRecordData will not be read and set.
With this submission, if the option "readObjectRecordData" is set, ObjectRecordData will be read and set."
2016-05-26 18:07:46 +01:00
Robert Osfield
f48b5a3fdb
From Philippe Renon and Robert Osfield, osgViewer::Viewer::checkNeedToDoFrame should return true when only the root node has an update callback.
...
Note, from Robert, I took Philippe modifications to Viewer.cpp and reformated them slightly to avoid a double check against getSceneData()!=0 and then rolled
the changes out to CompositeViewer::checkNeedToDoFrame() to ensure that both implementations work the same.
2016-05-26 17:51:35 +01:00
Robert Osfield
7bcc5d861e
Fixed RenderStageCache's handling of Observer functionality that was causing a crashing on exit in osgoit and osgprerender examples.
2016-05-24 20:49:01 +01:00
Robert Osfield
933b8cdbaf
Added GLES3 path for setting up with EGL
2016-05-06 19:55:04 +01:00
Robert Osfield
7200e38fce
Added 3.4 press release to NEWS.txt
2016-05-06 17:53:27 +01:00
Robert Osfield
4a1f033dbe
Added non const releaseGLObjects(osg::State* state) for backwards compatibility
2016-04-27 08:40:35 +01:00
Robert Osfield
ec19ee9655
Fixed copy _readBuffer bug.
2016-04-21 14:08:20 +01:00
Robert Osfield
653af27d02
Fixed ShaderComposer::releaseGLObjects(State*) const method as it's const was missing.
...
Rewrote the ShaderComposer::releaseGLObjects() const method to pass on the releaseGLObjects() calls to any associated Program or Shader objects.
2016-04-18 20:49:02 +01:00
Robert Osfield
29ce4f616d
From Vladimir Chebaev, fixed handling of outline orientiation
2016-04-14 18:08:52 +01:00
Robert Osfield
f39cc7b6f1
From Vladimir Chebaev, fixed handling of outline orientiation
2016-04-14 18:01:58 +01:00
Robert Osfield
879a8bd020
Changed the default value paramter to be consistent with the non templated version of StateSet::setTextureAttributeAndModes(..)
2016-04-01 11:47:02 +01:00
Robert Osfield
ccb06f003a
Merge branch 'OpenSceneGraph-3.4' of https://github.com/openscenegraph/OpenSceneGraph into OpenSceneGraph-3.4
2016-03-31 19:26:51 +01:00
Robert Osfield
79fa48c984
added assignment of mipmap levels from source image.
2016-03-31 19:26:08 +01:00
Robert Osfield
47022a1bf0
From Sherman Wilcox, added assignment of mipmap levels from source image.
2016-03-31 18:58:45 +01:00
Robert Osfield
926cffb2ee
From Jannik Heller, Wrong function call in setTextureAttributeAndModes
...
"From I think that this piece of code in StateSet::setTextureAttributeAndModes is a copy&paste mistake:
OSG_NOTICE<<"Warning: non texture attribute '"<<attribute->className()<<"' passed to setTextureAttributeAndModes(unit,attr,value), "<<std::endl;
OSG_NOTICE<<" assuming setAttributeAndModes(attr,value) instead."<<std::endl;
OSG_NOTICE<<" please change calling code to use appropriate call."<<std::endl;
setAttribute(attribute,value);
As per the warning message it should be calling setAttributeAndModes(attribute,value); ."
2016-03-11 16:48:19 +00:00
Robert Osfield
f044bc6b45
From Joe Thompson, "OpenSceneGraph cannot be built with Visual Studio 2008.
...
The file osg-OpenSceneGraph-3.4.0\include\osg\Types
typedefs int8_t, int16_t, int32_t and int64_t
These are typedefed as signed __intX in several other places.
With VS2008, this causes an error "int8_t redifined, different basic types"
Explicitly declaring them signed fixes the error."
2016-03-02 09:21:15 +00:00
Robert Osfield
ac8bbb9d1e
Updated ChangeLog
2016-03-01 20:37:07 +00:00
Robert Osfield
db24f7f09d
Removed redundent CMake vars
2016-03-01 20:34:18 +00:00
Robert Osfield
520b6c24f6
Fixed the make tag-run and branch-run
2016-03-01 20:33:21 +00:00
Robert Osfield
244cec821e
Updated AUTHORS and ChangeLog
2016-03-01 19:54:36 +00:00
Robert Osfield
ba309bf38b
Refactored the make tag-test, tag-run, branch-test, branch-run and ChangeLog features of the CMakeLists build system so it now supports working off git instead of subversion
2016-03-01 19:50:05 +00:00
Robert Osfield
60a7b8ce02
Within the #pragmatic shader composition code added platform specific line endings for WIN32 vs all other platforms to "\r\n" and "\n" respectively.
2016-03-01 11:47:33 +00:00
Robert Osfield
3a15c66290
Merged improved parsing of #pragma from master.
2016-02-29 15:57:01 +00:00
Robert Osfield
577d161303
Fixed debug build
2016-02-24 16:00:12 +00:00
Robert Osfield
6011bc4307
From Jannik Heller, osgParticle freeze on cull fix, ammended by Robert Osfield to make if statements a little more readable.
2016-02-23 10:14:21 +00:00
Robert Osfield
40caedc7cd
From Anish Thomas, "Underflow bug in BufferObject pool usage"
2016-02-22 09:22:06 +00:00
Robert Osfield
4371512dd2
From Bjorn Blissing, "I stumbled upon a strange ifdef-case inside Geometry.cpp
...
Currently the code looks like this:
Code:
DrawElementsUByte* elems = new DrawElementsUByte(PrimitiveSet::TRIANGLES);
elems->push_back(0);
elems->push_back(1);
elems->push_back(2);
elems->push_back(2);
elems->push_back(3);
elems->push_back(0);
geom->addPrimitiveSet(elems);
geom->addPrimitiveSet(new DrawArrays(PrimitiveSet::QUADS,0,4));
The second condition looked really strange (note the ! sign), and results in pretty much all code paths uses the first code. The correct version should probably be that only people with GLES1 or GLES2 should use GL_TRIANGLES to simulate quads. And all others should use the native support for GL_QUADS.
"
2016-02-19 15:04:14 +00:00
Robert Osfield
9132d98785
To the COLLADA_INCLUDE_DIR search paths added the directories:
...
/usr/local/include/collada-dom2.4
/usr/local/include/collada-dom2.2
/opt/local/include/collada-dom2.4
/opt/local/include/collada-dom2.2
/usr/include/collada-dom2.4
/usr/include/collada-dom2.2
To enable recent versions of the DOM to be found in their new install locations.
2016-02-19 12:21:36 +00:00
Robert Osfield
47c531cc37
Updated the AuthenticationDetails::HttpAuthentication enum to reflect current libcurl values
2016-02-18 19:55:58 +00:00
Robert Osfield
4704621c39
Replaced (long int) with more portable (GLint64)
2016-02-18 10:58:26 +00:00
Robert Osfield
0244b234ca
From Tony Vasile, "This is a fix for the handling of OpenFlight files with switches whose children have a transformation matrix on them. It may break other things and I have only tested this with one of my models."
2016-02-18 10:07:29 +00:00
Robert Osfield
09fd75dcf4
From Mourad Boufarguine, "This submission fixes typos in Uniform::getTypename() method in Uniform.cpp (missing "r" in usampler names)."
2016-02-18 09:28:33 +00:00
Robert Osfield
c3d45732a1
Renamed zero and one to transparentCount and opaqueCount to avoid confusion in their meaning and usage.
2016-02-18 08:59:26 +00:00
Robert Osfield
89f74b1a56
Fixed warning
2016-02-17 17:36:10 +00:00
Robert Osfield
6089257d3c
Commented out unused functions and variable.
2016-02-17 17:08:07 +00:00
Robert Osfield
97336b89ac
Introduced a separate GLuint64 one variable to get around a 32bit build timer issue under Windows.
2016-02-17 16:03:26 +00:00
Robert Osfield
229b833a5a
Fixed check against Drawable::isCullingActive().
...
Removed old code intended to check the Geode parent of a Drawable to see if it's CullingActive is true as this was broken by the change osg::Drawable being derived from osg::Node rather than osg::Object.
2016-01-27 10:10:01 +00:00
Robert Osfield
7ae1421864
Added .gitignore to queiten down git status reports
2016-01-25 19:44:58 +00:00
Robert Osfield
bf1aa5088e
Revert "From Jannik Heller and Robert Osfield, introduced ReadResult/WriteResult::statusMessage() method that creates a std::string from the stutus value and message string."
...
as this submission was meant for the master only, not the binary compatible 3.4 branch.
This reverts commit df97a18a5754ed39ac43044ad9557e8409790ff3.
2016-01-25 12:18:32 +00:00
Robert Osfield
e798db04c8
From John Farrier, "Best I can tell, there is an enumeration for NEVER_CHECK_GL_ERRORS in CheckForGLErrors, defined in State. State.cpp does check to see if you want MORE error checking, but there is no way to turn OFF error checking. This change allows disabling of OpenGL error checking."
2016-01-25 10:49:23 +00:00
Robert Osfield
adbadd66be
From Patrick Neary, "In ShaderComposer::getOrCreateProgram(), tesselation control and evaluation shaders are processed but not added to the shader program."
2016-01-25 10:26:52 +00:00
Robert Osfield
bd0cf5e47d
Changed the prototype from NULL to osg::DummyObject to address a bug in reading .osgt + .osgx where an image is written out but fails to read the file causes subsequent parts of the file to be mis-read
2016-01-22 10:14:35 +00:00
Robert Osfield
7239050c5b
Fixed typo View::setImagePager(..) template method
2016-01-21 08:32:57 +00:00
Robert Osfield
55bb474c3b
From Jannik Heller, "This submission fixes a bug introduced in commit 5b17e3bc2a
"Introduced CMake option OSG_PROVIDE_READFILE option...". The added overload for StateSet::setAttributeAndModes was ignoring the mode setting.
...
"
2016-01-20 14:24:06 +00:00