Robert Osfield
e725f30d81
Updated wrappers
2007-09-24 16:25:55 +00:00
Robert Osfield
d11d5b819a
From Adrian Egli, further work on PSSM implementation.
2007-09-24 15:24:23 +00:00
Robert Osfield
9f3783929a
Changed iterator name to avoid warning
2007-09-24 10:31:35 +00:00
Robert Osfield
0726624a86
From Jose Delport: "have been using the new VIEW_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY mode
...
of the OverlayNode.
I change the overlay subgraph dynamically and when I remove all the
subgraph nodes that is inside the current main camera FOV (others
outside still exist), the overlay texture does not update because of the
early return in the traversal. I then get a kind of ghost texture moving
around the terrain.
The attached file fixed the problem for me, but I'm not sure if it is
the best way to address the problem."
2007-09-24 09:35:59 +00:00
Robert Osfield
bd68958877
From Art Tevs, "Following
...
two lines has to be included into the Image.cpp in the
computeNumComponents(...) method:
case(GL_RGBA16F_ARB): return 4;
case(GL_RGBA32F_ARB): return 4;"
2007-09-24 09:26:21 +00:00
Robert Osfield
54c579fcae
Improved the handling of OSG_CONFIG_FILE support.
2007-09-22 17:39:15 +00:00
Robert Osfield
da70320707
From David Callu, added getOrCreateScene method, made contractors protected.
...
From Robert Osfield, made getOrCreateScene protected and made View a friend
of Scene to all it to construct Scene objects itself.
2007-09-22 16:50:45 +00:00
Robert Osfield
82b0f004e9
From Adrian Egli, update to ParallelSplitShadowMap.
2007-09-22 16:46:38 +00:00
Robert Osfield
5c36fbb18f
From David Callu, added findSlaveIndexForCamera method
2007-09-21 19:43:06 +00:00
Robert Osfield
6630dcf15c
Added return
2007-09-21 19:04:02 +00:00
Robert Osfield
3bfaee3654
Added support for basic viewer configuration files
2007-09-21 15:34:25 +00:00
Robert Osfield
ece7b57df2
Further steps towards reading coniguration files.
2007-09-21 13:30:33 +00:00
Robert Osfield
1e128aed1d
Updated wrappers
2007-09-20 10:14:08 +00:00
Robert Osfield
55a9ea19d7
From Anders Backman, added bias and texture size methods.
...
From Robert Osfield, tweaks to the above for method parameters and indenting.
2007-09-20 10:12:58 +00:00
Robert Osfield
5fb9673382
Added supoort for OSG_WRITE_OUT_DEFAULT_VALUES env var
2007-09-19 16:53:40 +00:00
Robert Osfield
7ea3632dfc
Added support for bool in ArgumentParser::Parameter.
...
Added support for using Input::read(...) methods using ArgumentParser::Paramter
to adapter to multiple paramter types.
2007-09-19 15:29:57 +00:00
Robert Osfield
cf69352873
From Adrian Egli, ParallelSplitShadowMap implmentation.
...
Changes by Robert Osfield - CMakeLists.txt and name change to ParallelSplitShadowMap.
2007-09-19 11:56:44 +00:00
Robert Osfield
1f7b27f851
Changed the simplifier so that it produces deterministic results, no longer
...
using memory pointers for sorting.
2007-09-19 10:14:52 +00:00
Robert Osfield
8bc8b6b5e9
Removed check for shaders/overlay_perspective_main.vert
2007-09-19 09:00:05 +00:00
Robert Osfield
c8fd1e4627
Commented out herror() as its not called anywhere in the code.
2007-09-18 16:00:21 +00:00
Robert Osfield
ae5883dd23
Fixed Locator::setTransform method so it takes a const Matrixd&, and improved
...
the setting of Locator in the gdal plugin.
2007-09-16 17:48:07 +00:00
Robert Osfield
41dc911166
Setting for new option for hinting whether to write out default values
2007-09-16 17:46:33 +00:00
Robert Osfield
c583dbe3c5
Fixed warning
2007-09-16 17:43:00 +00:00
Robert Osfield
e19f23021f
Introduced the use of a ReentrantMutex to avoid problems with findFontFile.
2007-09-15 17:40:08 +00:00
Robert Osfield
e433762105
From David Spilling, "Given no replies to my recent "does anybody use the DDS writer" query, I was emboldened to submit this very small patch. The bitmasks for RGBA and RGB have been modified in the writer portion of the code (line 765 onwards). This is now consistent with what the DDS plugin reads. In terms of testing, note that many 3rd party applications erroneously ignore the bitmasks in the file, and assume a BGRA order."
2007-09-15 17:36:03 +00:00
Robert Osfield
8051c48e56
Updated wrappers
2007-09-14 11:26:23 +00:00
Robert Osfield
97b66b877d
Updated wrappers
2007-09-14 11:02:06 +00:00
Robert Osfield
d5cc0e966f
Introduce GUIEventHandler::handleWithCheckAgainstIgnoreHandledEventsMask() methods
...
to help make it easier to get event handles to ingore events that have already been handled.
2007-09-14 10:44:46 +00:00
Robert Osfield
d6e24c0dc2
Fix for build error during aggressive warning build
2007-09-13 11:00:12 +00:00
Robert Osfield
86ab5a2392
Fixed warning in wrappers
2007-09-13 10:42:26 +00:00
Robert Osfield
0b39152321
Fixed warnigns
2007-09-13 10:38:38 +00:00
Robert Osfield
c88bcc4506
Updated wrappers and READEME
2007-09-13 10:33:10 +00:00
Robert Osfield
5caf64e5c7
From Paul Martsz, changed the Texture clamping mode to CLAMP_TO_EDGE
2007-09-13 10:32:05 +00:00
Robert Osfield
eac9831723
Add static_cast to fix warning.
2007-09-13 10:21:18 +00:00
Robert Osfield
34af300957
Removed unncessary typedefs
2007-09-13 10:16:19 +00:00
Robert Osfield
0c5d6da793
Fixed warnings of casting void* by refactoring the type and extensiosn setup.
2007-09-13 10:15:48 +00:00
Robert Osfield
b2fe3d475b
Fixed uint/int comparison warning.
2007-09-13 10:10:35 +00:00
Robert Osfield
0f135d6d35
Created two PixelBufferX11::closeImplementation() one the real implementation and
...
a second non op one for GLX <1.3.
2007-09-13 09:30:30 +00:00
Robert Osfield
45e98d5f18
Added preliminary handling of cases where GLX version < 1.3
2007-09-12 17:01:47 +00:00
Robert Osfield
23945bb506
Removed debug messages
2007-09-12 17:01:09 +00:00
Robert Osfield
0137047429
From Jan Peciva, build fix
2007-09-12 10:04:36 +00:00
Robert Osfield
041afdc303
Replaced allocateMipmap code with warning message as mipmaps aren't support for TextureRectangle.
2007-09-11 16:56:21 +00:00
Robert Osfield
66cc306f18
Removed the output num_children from Group .osg output and
...
removed the output of "DataVaraince UNSPECIFIED" as this is redundent
considering the default value is UNSPECIFIED.
2007-09-11 13:47:06 +00:00
Robert Osfield
9819217136
Updated wrappers
2007-09-11 13:42:23 +00:00
Robert Osfield
291d253161
From Mathias Froenlich, "have a problem with the SunOS CC.
...
It does not like that the prototype of ClipNode::setStateSetModes() differs
from implementation of that function in the constness of the second
parameter.
On SunOS it compiles fine, but I get link errors when the variant that is
declared in the header is referenced.
The attached src/osg/ClipNode.cpp file removes the const qualifier from the
implementation to match exactly the prototype in the header file.
The file is based on revision 7386 as of today.
"
2007-09-11 13:39:55 +00:00
Robert Osfield
175c3ce806
From Art Trevs, "File Changes:
...
- GL2Extensions, Program and Program.cpp
Features:
- Support for fragment output binding. (e.g. You can now specify in the fragment shader varying out vec3 fragOut; fragOut = vec3(1,0,1); to write to the fragOut variable. In your program you call glBindFragDataLocation(program, 1, "fragOut") to bind the fragOut variable with the MRT 1 - GL_COLOR_ATTACHMENT1_EXT)
- new methods Program::add/removeBindFragDataLocation Program::getFragDataBindingList
"
2007-09-11 13:34:41 +00:00
Robert Osfield
884b3b7aa2
Seperated out GeometryTechnique .osg support.
2007-09-11 13:32:46 +00:00
Robert Osfield
c51e893ba4
Changed the isTextureIntegerSupported method so that it no longer has the EXT entry in it
...
for forward compatability reasons.
2007-09-11 12:28:03 +00:00
Robert Osfield
5e83ae4821
From Art Trevs, "Features of the patch are:
...
- Implementation of integer textures as in EXT_texture_integer
- setBorderColor(Vec4) changed to setBorderColor(Vec4d) to pass double values
as border color. (Probably we have to provide an overloading function to
still support Vec4f ?)
- new method Texture::getInternalFormatType() added. Gives information if the
internal format normalized, float, signed integer or unsigned integer. Can
help people to write better code ;-)
"
Futher changes to this submission by Robert Osfield, changed the dirty mipmap
flag into a buffer_value<> vector to ensure safe handling of multiple contexts.
2007-09-11 12:04:58 +00:00
Robert Osfield
98763cc4c5
From Rafa Giatan, "Changed int to GLsizei in the input parameter of the method
...
osg::Texture2DArray::applyTexImage2DArray_subload inside
Texture2DArray (lines 214 and 257), Otherwise it gives a compile
error on MacOSX."
2007-09-11 10:16:21 +00:00