Robert Osfield
d9bd6c977e
From Michael Platings, "Hi Bob, thanks for the CMake fixes. I'm not sure what the purpose of the capitalisation changes was so I've reverted that (a) to make diff-ing easier and (b) because all-caps is consistent with all the other OSG CMake files. Aside from that the changes seem fine.
...
I don't understand the changes to ReaderWriterFBX.cpp - (i) strings.h isn't a standard header, (ii) the ISO-conformant form is _strnicmp (with the underscore). Does the existing code not compile for you? If not we'll have to do some #ifdef nastiness."
2010-06-15 09:14:20 +00:00
Michael PLATINGS
0c7a4fdedc
Changed _strnicmp to strncasecmp for non-Windows builds
2010-06-15 09:09:38 +00:00
Robert Osfield
d58d417159
From Tan Dunning and Jan Peciva, Jan's email : "I created a new submission, based on Tan's two changes, including further naming functionality that includes:
...
- geode and geometry naming
- shaders and osg::Program name
as these nodes did not receive names before. Some code cleaning included as well."
2010-06-14 16:41:32 +00:00
Robert Osfield
6fe084df3b
Introduced the use of atan2 in place of asin/acos for reliability and simplicity
2010-06-14 16:27:35 +00:00
Robert Osfield
f5f6821120
From Laurens Voerman, "while debugging a file loader I noticed a missed check here."
2010-06-14 15:58:26 +00:00
Robert Osfield
205edcf297
From Jean-Sebastien Guay, "Currently, if a GraphicsWindowWin32 is created with traits->useCursor = false, it still shows the cursor. An app must call gw->useCursor(false) after having created the context as a workaround, but I think what we ask for in the traits should be honored... Attached is a simple fix for this.
...
I have no idea when this stopped working. It worked before in our 2.6.0-based apps but after the upgrade to 2.8.3 it doesn't anymore.
"
2010-06-14 15:28:58 +00:00
Robert Osfield
f2f085bc3f
From Stephan Huber, "the IncrementalCompileOperation-class throws away compiled compile-sets,
...
when no compileCompletedCallback is set. Attached you'll find a simple
fix for this bug."
2010-06-14 15:22:35 +00:00
Robert Osfield
d1a3350af0
From Jan Peciva, change information about failed shader compilation/linking/validation to OSG_WARN.
2010-06-14 15:21:50 +00:00
Robert Osfield
da60a3c615
From Jan Peciva, additional comments, and standarisation of throw and handling of mouse wheel.
2010-06-14 15:20:47 +00:00
Robert Osfield
7f7cc83f3f
Updated wrappers
2010-06-11 09:39:03 +00:00
Robert Osfield
8828d31c2e
Removed debug messages
2010-06-09 15:05:34 +00:00
Robert Osfield
ae88d9467c
Fixed reading of wrapped strings that contain multiple " within the string
2010-06-09 13:54:08 +00:00
Cedric Pinson
50979d2447
From Michael Platings
...
I attach a simple fix that makes osgAnimation animations loop correctly when their duration is different from the original duration.
2010-06-09 13:08:49 +00:00
Robert Osfield
9262015d11
Added missing loadWrappers
2010-06-09 11:24:22 +00:00
Michael PLATINGS
5ea4a8c0f3
From Alessandro Terenzi: previously the plugin ignored UV scaling values eventually stored in the FBX file, now they are read and set for each supported texture map (not considering reflection maps).
...
From Michael Platings: fixed UVs for files that don't explicitly reference the name of a UV channel.
2010-06-09 09:12:20 +00:00
Michael PLATINGS
82ea9597e5
Added support for Euler angles and step/linear/cubic-bezier interpolation.
2010-06-08 17:32:36 +00:00
Robert Osfield
b81b167131
Added ref_ptr<> to avoid memory leak
2010-06-08 11:53:28 +00:00
Robert Osfield
86a0aaf7f3
Added insertion of children found by the CountPagedLODsVisitor into the childrenRemoved list to make sure that they are caught
...
and then removed correctly from the PagedLODLists.
2010-06-07 17:08:53 +00:00
Michael PLATINGS
4e42d9e89a
Added more NURBS types to triangulate.
2010-06-07 15:25:18 +00:00
Robert Osfield
1d401f2333
Added size() and swap() methods to provide a thread safe way to keep track of size of a RequestQueue/ReadQueue.
2010-06-07 11:28:25 +00:00
Robert Osfield
bcebc9a23f
Added removeNodes method to prune any nodes that are going to be deleted from the PagedLODLists.
2010-06-07 09:05:58 +00:00
Michael PLATINGS
359b6b480d
From Alessandro Terenzi: modifications for supporting opacity, reflective and emissive maps beyond the already supported diffuse map in the FBX plugin.
...
A problem with transparency has also been fixed: objects were transparent wrt themselves but were opaque wrt to other objects.
Finally I added the support for "mixing factors" of diffuse, reflective and opacity textures/values.
From Michael Platings: added "LightmapTextures" plugin option that changes the way textures are interpreted so Alessandro's models appear correctly. Also refactored to put many functions in one class to avoid passing around too many arguments to functions.
2010-06-04 19:50:32 +00:00
Robert Osfield
768f466365
Fixed double registeration bug.
2010-06-03 16:24:25 +00:00
Robert Osfield
634e55eee3
Fixed permissions
2010-06-03 16:02:01 +00:00
Robert Osfield
bca82dffcd
Fixed permissions
2010-06-03 16:01:25 +00:00
Robert Osfield
c3bc3e5394
Removed redundent makefiles
2010-06-03 16:00:28 +00:00
Robert Osfield
980078f534
Fixed permissions
2010-06-03 15:09:06 +00:00
Robert Osfield
2ea6aa050e
Refactored the PagedLODList implementation so that it's now done via a base class that enables different implementations to be easily tried. Initial concrete PagedLODList is the SetBasedPagedLODList.
2010-06-03 14:14:40 +00:00
Robert Osfield
bac4cfe3d5
Added check for presence of extension.
2010-06-02 15:07:27 +00:00
Robert Osfield
2846f31c50
Removed glFramebufferTexture from list of required extension function
2010-06-02 13:29:42 +00:00
Robert Osfield
da0ddc35e6
Updated wrappers to handle the new ref_ptr<T>::ref_ptr(observer_ptr<T>&> constructor.
2010-06-02 12:14:10 +00:00
Robert Osfield
7f7f1f7d0e
Changed types from unsigned int to int's to address warnings, and changed the extension requirements so the GLES2 builds with FBO's where supported
2010-06-01 18:20:38 +00:00
Robert Osfield
32e8f6adc3
From Michael Platings, "MorphGeometry fix: this fixes a crash found by Alessandro Terenzi"
2010-06-01 15:20:30 +00:00
Robert Osfield
656a1b6da5
From Frederic Bouvier, "here is my proposal. It is supposed to be used like this :
...
osg::Camera* c = createCamera();
c->attach( osg::Camera::COLOR_BUFFER0, texture3d, 0,
osg::Camera::FACE_CONTROLLED_BY_GEOMETRY_SHADER );
it works also for cubemap textures and 2d texture arrays
"
2010-06-01 14:12:03 +00:00
Robert Osfield
4a047f2a82
From Michael Platings, introduced osg::State::applyModelViewMaitrx(const osg::Matrix& matrix) method and associated osg::State::_modelViewCache to enable osgText::Text3D to be refactored in away that avoids creating/destroying matrices
2010-06-01 13:33:58 +00:00
Robert Osfield
c05330089d
From Mathias Froehlich, "While tracking some valgrind problems in flightgear, I found a remaining off by
...
one error in the rgb loader.
Previously we limited the current line to the image with + 1. With that change
it is correctly limited to the width of the image.
Also flightgear seems to run nice with that change.
"
2010-06-01 11:51:37 +00:00
Robert Osfield
054d5606fb
From Tim Moore, "This is a patch that allows a ref_ptr to be constructed using an observer_ptr argument, which is locked. This is shorthand for declaring the ref_ptr and then passing it to observer_ptr::lock().
...
"
2010-06-01 11:28:04 +00:00
Robert Osfield
36f4faef95
Updated wrappers
2010-05-31 17:16:45 +00:00
Robert Osfield
975b95dd33
From Torben Dannhauer, "I added radial fog functionality be using the OpenGL extension 'GL_NV_fog_distance'."
2010-05-31 16:53:41 +00:00
Robert Osfield
df57965a34
From Xin Li, "use std::list::splice to replace std::list::insert and std::list::clear
...
it may use the constant time to move all the items in the '_eventQueue' to 'events', and reduce the mutex holding time"
2010-05-31 15:52:25 +00:00
Robert Osfield
6369210dc0
Converted osg::notify to OSG_INFO etc.
2010-05-28 17:17:09 +00:00
Robert Osfield
f0e499adfe
Converted osg::notify to OSG_INFO etc.
2010-05-28 17:16:49 +00:00
Robert Osfield
3593bad3f3
Converted osg::notify to OSG_INFO etc.
2010-05-28 17:15:47 +00:00
Robert Osfield
02266d0af3
Converted osg::notify to OSG_INFO etc.
2010-05-28 17:14:58 +00:00
Robert Osfield
5d5b6c0e8e
Converted osg::notify to OSG_INFO etc.
2010-05-28 17:14:29 +00:00
Robert Osfield
afa735d83a
Converted osg::notify to OSG_INFO etc.
2010-05-28 17:14:11 +00:00
Robert Osfield
005b2cdb86
Converted osg::notify to OSG_INFO etc.
2010-05-28 17:13:41 +00:00
Robert Osfield
666f8edce0
Converted osg::notify to OSG_INFO etc.
2010-05-28 17:13:20 +00:00
Robert Osfield
d413714dd0
Converted osg::notify to OSG_INFO etc.
2010-05-28 17:12:55 +00:00
Robert Osfield
1f17cae284
Converted osg::notify to OSG_INFO etc.
2010-05-28 17:12:14 +00:00