Robert Osfield
1df542c119
Andre Garneau, three fixes in one submissions:
...
"This is a fix for the issue reported by Anders a week ago (see \u201c[osg-users] BUG?: mouse coordinate changes after window move\u201d discussion thread on Sept. 20). The issue was that the initial implementation added a few months back was not converting the window coordinates to client-area coordinates resulting in a slight offset each time a decorated window was moved (caused by the window border). This was also causing windows to move out of their assigned screen."
and
"Attached is a fix for the taskbar repaint issue that occurs when a graphics window is toggled from full-screen mode to windowed mode (as identified by Gert van Maren a couple of weeks ago).
Also included is a fix derived from the \u201cEvents from the past\u201d discussion thread that took place on July 11."
2007-09-28 08:53:34 +00:00
Robert Osfield
6df0110d0c
From Adrian Egli, "update the PSSM, i did some bug fixes and added new features to move the camera virtual against the view direction by applaying a simple distance factor (a), which is calculated camera eye - camera center distance. and we can move the "light camera" against the light direction (b).
...
(a) some objects behind the camera can cast shadow
(b) object aboive the camera can cast shadow
then i fixed the shadow map orientation, now screen x coordinate alinged which improve the quality"
2007-09-27 12:47:34 +00:00
Robert Osfield
63789c81b9
From Mathias Froehlich, compile fix for HP-UX without large file support
2007-09-27 12:15:39 +00:00
Robert Osfield
b23316838a
From Mathias Froehlich, "Some more file that needs some adjustment because of missing member templates
...
in suns stl."
2007-09-27 10:47:15 +00:00
Robert Osfield
5e504026a5
Changed copy constrcutor to a default constrcutor and std::copy to avoid
...
problems with dodge Sun compiler.
2007-09-27 10:42:56 +00:00
Robert Osfield
308bb5a797
Added support for selecting internal texture format via the internalFormat <numbits> entry in the .osg file
2007-09-27 10:22:09 +00:00
Robert Osfield
5c007029ae
From Jean-Sebastien Guay, "Attached you will find an expanded FindOpenVRML.cmake file, as well as a fixed CMakeLists.txt file for the VRML plugin ."
2007-09-26 14:44:22 +00:00
Robert Osfield
af498b6e1f
Updated wrappers
2007-09-26 14:31:10 +00:00
Robert Osfield
2640fd1456
Added IntensityMap reading in .view files
2007-09-26 14:02:40 +00:00
Robert Osfield
dcd7fd837f
Tweaked the wrapping of osgViewer::Scene to fix build problems
2007-09-26 11:32:51 +00:00
Robert Osfield
bfbc73785a
From Stephan Huber, "attached you'll find a first implementation for the obj-plugin to write
...
obj-files. It is not feature complete but usable.
Known issues:
* not all materials are handled correctly (especially when using
osg::StateAttribute::OVERRIDE), not all properties are supported
* could not test point and lines, all of my programs which are capable
to read obj-files only import triangle-meshes.
* only simple texture-handling"
2007-09-26 10:58:29 +00:00
Robert Osfield
1e9b4f7855
Added suprression of the reflection of osgViewer::Scene to avoid build
...
issues associated with the class.
2007-09-26 10:46:30 +00:00
Robert Osfield
92092d6996
Updated wrappers
2007-09-26 09:59:59 +00:00
Robert Osfield
18ad07160d
From David Callu, adding support for GraphicsWindowX11 window inhertance and
...
setWindowName() method.
2007-09-26 09:50:32 +00:00
Robert Osfield
d743eb2d95
Added support for intensityMap and fix naming of --panoramic-sd and --3d-sd command line arguments
2007-09-25 19:14:29 +00:00
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