Robert Osfield
482581feb0
Added support for setting the left/right cull masks
2013-05-16 15:52:29 +00:00
Robert Osfield
6926cec135
Changed the default of OSG_SPLIT_STEREO_AUTO_ADJUST_ASPECT_RATIO to OFF
2013-05-16 14:51:07 +00:00
Robert Osfield
f54f4e40ed
Fixed stereo offsets of HORIZONTAL_SPLIT and VERTICAL_SPLIT stereo modes
2013-05-16 14:11:23 +00:00
Robert Osfield
6cb26321a9
Reverted back to changes before experiements with ViewConfig
2013-05-16 14:07:35 +00:00
Robert Osfield
79ec0e863d
Cleaned up the WoWVxDisplay command line parsing
2013-05-16 10:28:01 +00:00
Robert Osfield
3b6c2b636a
Renamed osgViewer::Config osgViewer::ViewConfig and moved it's declaration into include/osgViewer.
2013-05-16 10:11:06 +00:00
Robert Osfield
e3ed763c15
Added WoWVxDisplay view config
2013-05-16 09:08:27 +00:00
Robert Osfield
625821a91a
Created a dedicated include/osgViewer/config and src/osgViewer/config directories to place all the Config classes.
2013-05-15 16:15:38 +00:00
Robert Osfield
9552567cd4
Added support for osgViewer::Config in osgViewer::Viewer command line parsing
2013-05-15 12:50:38 +00:00
Robert Osfield
bcbaaefa02
Introduced osgViewer::Config base class and beginnigs of various Config implementations.
...
Introduced osgViewer serializers plugin for serialization support for osgViewer::Config implementations and Keystone
2013-05-15 11:31:49 +00:00
Robert Osfield
07499f6658
From Lionel Lagarde, "When a function do:
...
OSG_DEBUG << "Hello world!\n";
the underlying stream is not automatically flushed. It is flushed
if endl is queued instead of \n:
OSG_DEBUG << "Hello world!" << std::endl;
The notify macros do:
stream->setCurrentSeverity(severity);
return *stream;
So, if a function do:
OSG_DEBUG << "This is a debug message\n";
OSG_NOTICE << "This is a notice message" << std::endl;
the debug message will be classified as a notice message.
It is a problem when the application uses a NotifyHandler. The notify
method of the handler is called with:
severity = NOTICE
message = "This is a debug message\nThis is a notice message"
The attached Notify.cpp contains an automatic flush of the stream when
the current severity changes.
"
2013-05-14 16:23:53 +00:00
Robert Osfield
c238a7cca2
From Michael Kapelko, "The provided patch (against SVN revision 13380) adds missing constness to returning calls (without it the user code does not compile)."
2013-05-14 16:18:41 +00:00
Robert Osfield
0b2c3a9ddb
From Farshid Lashkari, "The tga image loader was not properly reading in 16-bit images. Fix is attached."
2013-05-14 16:15:01 +00:00
Robert Osfield
1a683e2f83
From Ulrich Hertlein, "Attached is a patch that introduces 'static_cast<unsigned int>' on some instances where
...
the code returns '.size()' of a std::vector. This caused some warnings when using clang++
on OS X."
2013-05-14 16:12:21 +00:00
Robert Osfield
93eb471d99
Updated ChangeLog
2013-05-14 13:35:10 +00:00
Robert Osfield
f1d5ba4278
Updated version after dev release
2013-05-14 13:34:54 +00:00
Robert Osfield
191cf8f5aa
Added OSGUTIL_EXPORT for Windows build
2013-05-13 13:12:13 +00:00
Robert Osfield
1b599fc5ae
Updated version number for dev release
2013-05-13 12:08:05 +00:00
Robert Osfield
127f3f6396
Updated ChangeLog for dev release
2013-05-13 11:59:34 +00:00
Robert Osfield
7b9cace094
Updated links to svn repository
2013-05-13 11:51:44 +00:00
Robert Osfield
01e8287b7d
Fixed build for when automatic type conversion isn't enabled for ref_ptr<>
2013-05-13 11:02:40 +00:00
Robert Osfield
9249a59db2
Fixed the render order to the Render To Texture cameras used in stereo keystoning.
2013-05-13 09:53:54 +00:00
Robert Osfield
e9388d5ad8
Improved the use of the Keystone's defined in the DisplaySettings object.
2013-05-13 09:49:54 +00:00
Robert Osfield
4e34cadee2
Added to Viewer::realize() automatic setup using Keystone when available and enabled, and when no other window setup has been selected.
2013-05-13 09:18:37 +00:00
Robert Osfield
9402efe38e
Added DisplaySettings::KeystoneHint flag that can be set via --keystone-on and --keystone-off command line parameters, and the OSG_KEYSTONE env var
2013-05-10 17:59:07 +00:00
Robert Osfield
5dd07e4d1c
Added keystone file handling
2013-05-10 16:06:10 +00:00
Robert Osfield
9eb5465ff5
Added --keystone <filename> command line support into DisplaySettings, and added OSG_KEYSTONE_FILES env var support into osg::DisplaySettings.
2013-05-10 11:56:09 +00:00
Robert Osfield
9c1c34d765
Moved Keystone support from osgkeystone example into osgViewer::View
2013-05-10 10:00:38 +00:00
Robert Osfield
e545627571
Moved Keystone class into osgViewer library.
2013-05-09 15:18:14 +00:00
Robert Osfield
046c3fca7a
Cleaned up event handler and namespaces in prep for integrating keystone functionality into osgViewer
2013-05-07 14:43:36 +00:00
Robert Osfield
8810d27f7c
Added keystone support for left eye, right eye and quad buffer stereo
2013-05-07 13:34:47 +00:00
Robert Osfield
9bb4ed08e1
Added keystone setup to vertical split stereo suport and cleaned up the horizontal split stereo code
2013-05-07 11:13:50 +00:00
Robert Osfield
f30160a5a4
Commented out debug output
2013-05-03 20:12:15 +00:00
Robert Osfield
668d351765
Introduced new scheme for handling mouse events with osgViewer. The new scheme enables robust event handling even when using distortion correction render to texture Cameras.
2013-05-03 19:26:27 +00:00
Robert Osfield
63088ab63e
As a test of new repository updated date in README.txt
2013-04-26 10:00:16 +00:00
Robert Osfield
a2615388db
Refactored Keystone setup as a step toward integrating Keystone correction with stereo
2013-04-18 17:02:57 +00:00
Robert Osfield
adea6c9329
Implemented stereo support into osgkeystone as a testbed for moving stereo support from SceneView into osgViewer
2013-04-18 09:47:28 +00:00
Robert Osfield
65f23ba9af
Implemented initial cut of anaglyphic stereo
2013-04-17 11:04:12 +00:00
Robert Osfield
5ce1ba67fb
Changed point to osg::ref_ptr<> to prevent memory leaks.
2013-04-16 09:26:40 +00:00
Robert Osfield
34a6b38983
Preperation for adding stereo support direclty into osgViewer.
2013-04-15 14:21:32 +00:00
Robert Osfield
bc288d23dc
Added support for enable/disabling the keystone editing using the Ctrl-g key to toggle the UI and grid on/off.
2013-04-12 13:01:51 +00:00
Robert Osfield
efbf05cd59
Moved keystone event handler onto the keystone distortion Camera.
2013-04-12 09:05:11 +00:00
Robert Osfield
835a80ae90
Refactoed the grid rendering so that it's now implemented as part of the distortion mesh pass, leaving the main scene graph alone.
2013-04-12 08:52:21 +00:00
Robert Osfield
f79d89e0ce
Add support for a finer grained mesh on the distortion mesh for higher quality results.
2013-04-11 17:12:32 +00:00
Robert Osfield
7ff4be954b
Moved the keystone geometry computation into a Keystone::compute3DPositions(..) method
2013-04-11 16:07:49 +00:00
Robert Osfield
830d21471b
Removed old experimental keystone code to clean up the example
2013-04-10 16:36:49 +00:00
Robert Osfield
18d14065a5
Changed the way that the keystone geometry is calculated.
2013-03-28 10:46:24 +00:00
Robert Osfield
3cccecb79d
Added keypad control of corner points
2013-03-27 16:29:01 +00:00
Robert Osfield
6a4741cf54
Moved local variable into local scope to avoid it being created when not used.
2013-03-26 17:03:22 +00:00
Robert Osfield
b1c342c027
Introduced shearing of the image
2013-03-26 16:47:52 +00:00