Robert Osfield
4cb5d59d35
From Stephan Huber, ZerConfDevice plugin for Windows and Apple
2012-12-06 08:02:08 +00:00
Robert Osfield
eed71f647d
From Stephan Huber, "* imageio: removed ReaderWriterImageIO_IOS.cpp, refactored ReaderWriterImageIO to work on OS X and IOS
...
* avfoundation: added support for IOS (CoreVideo-support is still in development, works only for SDK >= 6.0, set IPHONE_SDKVER in cMake accordingly)
* zeroconf: added ZeroConf-device-plugin (Mac/Win only, linux implementation missing) to advertise and discover services via ZeroConf/Bonjour, on windows you'll need the Bonjour SDK from Apple
* osgosc: modified the example to demonstrate the usage of the ZeroConf-plugin (start the example with the command-line-argument --zeroconf)
* SlideShowConstructor: enable/disable CoreVideo via a environment variable (P3D_ENABLE_CORE_VIDEO)
* RestHttp: mouse-motion-events get interpolated
* RestHttp: unhandled http-requests get sent as an user-event to the event-queue, all arguments get attached as user-values to the event
* modified some CMakeModules to work correctly when compiling for IOS
* fixed a compile-error for IOS in GraphicsWindowIOS
* some minor bugfixes"
2012-12-05 17:15:53 +00:00
Robert Osfield
ce0f928f6f
Added --screen-distance <distance>, --screen-height <height> and --screen-width <width> command line support and associated settings to the configuration file.
2012-12-05 11:41:27 +00:00
Robert Osfield
5a88734598
Moved the expansion of the key codes into ApplicationUsage so that help is only generated for non zero keycodes.
2012-12-05 10:13:51 +00:00
Robert Osfield
ea00708026
Fixed default camera position
2012-12-04 19:02:45 +00:00
Robert Osfield
761229f8f4
Changed the -w and -h options to --width and --height respectively.
2012-12-04 18:51:21 +00:00
Robert Osfield
32cffe2094
Cleaned up command line usage
2012-12-04 18:30:33 +00:00
Robert Osfield
b4af638af9
Tidied up command line docs.
2012-12-04 18:28:28 +00:00
Robert Osfield
9363aa5a89
Tidied up CaptureSettings and added command line docs
2012-12-04 18:21:53 +00:00
Robert Osfield
b6d19d1052
Added CameraProperty and associated command line parameters for controlling camera position and animation.
...
--center x y z
--eye x y z
--up x y z
--rotation-center x y z
--rotation-axis x y z
--rotation-speed degreesPerSecond
2012-12-04 12:47:46 +00:00
Robert Osfield
cbf6745da5
Added missing break;
2012-12-04 09:11:17 +00:00
Robert Osfield
24c612a2bd
From Stephan Huber, "I've found a bug in SlideShowConstructor::findFileAndRecordPath which does return an empty string if the file was not found, and this empty string got added to the fileNames-vector, so the curl-plugin tried to load only an empty file-name, the directory-prefix. I fixed findFileAndRecordPath, so it returns the unmodified filename, which can then be loaded by the curl-plugin. Please review my fix, as I am not sure if it has any side effects, as I know the code not that well.
...
The file includes another small compile-fix when using float-matrices."
2012-12-03 16:49:47 +00:00
Robert Osfield
35d17d4654
Renamed souce file
2012-12-03 11:31:13 +00:00
Robert Osfield
7d947d79ff
From Wang Rui, "I've found a very covert bug in current VDSM implementation. It makes the computation of positional texgen incorrect if the shadow scene is under one or more child cameras with view/proj offsets. Using current stage instead will fix it."
2012-12-03 10:10:46 +00:00
Robert Osfield
e4a42fa65c
Fixed error in Unfiform set method
2012-12-03 09:50:41 +00:00
Robert Osfield
e6141b984d
Added include of osc plugin directory to help with Windows build
2012-12-03 09:35:12 +00:00
Robert Osfield
9a2f7c7d8e
From Wang Rui, build fix
2012-12-02 11:45:57 +00:00
Robert Osfield
3e32d9c8af
Fixed crash when no CameraManipulator is assigned to the viewer
2012-11-30 20:03:31 +00:00
Robert Osfield
d831f1b538
Added support for 0x and numeric defintion of keys to be used with <click_to_event> functionality.
2012-11-30 16:52:59 +00:00
Robert Osfield
6eb3b2f091
Added support for pausing and restart the property_animation.
2012-11-30 15:43:31 +00:00
Robert Osfield
236e75b2be
Added xml defined property/property animation to .p3d format for <volume> propeties:
...
alpha="$alphaname"
cutoff="$cutoffname"
region="$minx $miny $minz $maxx $maxy $maxz"
sampleDensity="$densityname"
sampleDensityWhenMoving="$densityname"
2012-11-30 14:21:45 +00:00
Robert Osfield
7ffde8abce
From Stephan Huber, New OscSendingDevice and OscReceivingDevice classes
2012-11-28 13:28:20 +00:00
Robert Osfield
8b231ba8e3
From Stephan Huber, added event sending support into osgGA::Device along with implementation on this into the osc plugin. Added osgoscdevice example to demonstate this in action.
2012-11-28 10:43:58 +00:00
Robert Osfield
694e603d15
Added support for <properties> tag for <presentation>, <slide> and <layer> scope to compliment the scope of <property_animation>
2012-11-27 16:00:43 +00:00
Robert Osfield
42529ca415
Added preliminary support for <property_animation>
2012-11-27 15:09:44 +00:00
Robert Osfield
a31d603f9a
From Stephan Huber, "Attached you'll find a new ImageSequence.cpp which will fix an issue I had when moving the mouse cursor over the left window-border, as the index becomes negative. And I added a UdpSocket.cpp-file with more debuggin-output via some sprinkled printf-calls. "
2012-11-22 15:13:46 +00:00
Robert Osfield
1f50f23f86
Simplified CMakeLists and adjusted OscHostEndianness to automatically detect the endian at compile time
2012-11-22 11:55:38 +00:00
Robert Osfield
9ef448c7b1
From Stephan Huber, updates to explictly set the HOST Endian using Cmake
2012-11-22 11:47:03 +00:00
Robert Osfield
56bc0b14bc
Added explict handling of osg::Image, osg::HeightField, osg::Shader and osg::Node when doing writes to the archive.
2012-11-22 09:49:24 +00:00
Robert Osfield
f0b3a47735
From Stephan Huber, further work on osc plugin
2012-11-21 15:19:58 +00:00
Robert Osfield
4b4327aaae
Moved static for local to global scope in Uniform.cpp and removed the local static usage in Registry.cpp
2012-11-21 14:27:54 +00:00
Robert Osfield
3a67eefd9f
Refactored osgDB::Input::readObjectOfType to use a template, and updated associated wrappers to avoid using local static's
2012-11-21 13:38:11 +00:00
Robert Osfield
ea9e13a0c6
From Paul Martz, fix for Windows build
2012-11-20 18:41:30 +00:00
Robert Osfield
7e67ac7a34
From Stephan Huber, added missing windows dependency
2012-11-20 13:01:57 +00:00
Robert Osfield
f3e9967f47
Added ws2_32 library to Win32 build
2012-11-20 10:37:42 +00:00
Robert Osfield
8b30807ef1
From Paul Martz, build fixes
2012-11-19 11:25:52 +00:00
Robert Osfield
e2ee774705
Frm Stephan Huber, osc plugin that supports send and recieving events via UDP packets.
2012-11-19 10:48:37 +00:00
Robert Osfield
c005e6997c
Added first cut implememtation of PropertyAnimation class
2012-11-16 15:40:41 +00:00
Robert Osfield
10c43a3052
Moved PropertyManager related classes out from SlideEventHandler into their own dedicated header/source file.
2012-11-15 12:11:19 +00:00
Robert Osfield
c48335baf7
Added support for P3D_UPDATE env var for setting the UpdateVisitor::TRAVERSAL_MODE. Accepted settings are "active", "Active", "ACTIVE", or "all", "All", "ALL".
2012-11-13 16:15:20 +00:00
Robert Osfield
e70ece8f10
Added --update-active and --update-all command line options that set the UpdateVisitor::TraversalMode to TRAVERSE_ACTIVE_CHILDREN and TRAVERSE_ALL_CHILDREN respecively.
2012-11-13 15:26:06 +00:00
Robert Osfield
057f8a8b3b
Added support for <image blending="ON" or blending="OFF"> to allow user definition of when to enable OpenGL blending for an image or not.
2012-11-13 14:22:37 +00:00
Robert Osfield
0c02ef358f
From Stephan Huber, fixed warning
2012-11-13 13:52:33 +00:00
Robert Osfield
933baf5db4
Changed COLOUR to COLOR to be consistent with OpenGL spelling
2012-11-13 13:32:01 +00:00
Robert Osfield
92975a01fd
Moved colour space conversion of volumes from the osgvolume example into osg/ImageUtils and added support for colorSpaceConversion="MODULATE_ALPHA_BY_LUMINANCE","MODULATE_ALPHA_BY_COLOUR","REPLACE_ALPHA_WITH_LUMINANCE" and "REPLACE_RGB_WITH_LUMINANCE" to .p3d <volume> tag
2012-11-13 13:16:10 +00:00
Robert Osfield
e72af02c2b
Added first step to adding pruning of expired image requests.
2012-11-13 11:45:20 +00:00
Robert Osfield
ad1cec1b2e
From Stephan Huber, introduced syncornization of osgGA::Device
2012-11-13 11:20:36 +00:00
Robert Osfield
bf4daf11ff
Cleaned up reported of events and added assigned of <volume> tag region properities when using the wildcard definition of the volume.
2012-11-12 16:46:08 +00:00
Robert Osfield
79ae9cd8a3
Added osgframerenderer example
2012-11-12 15:26:30 +00:00
Robert Osfield
e9a7b2a6e5
Changed the default settings to fix a jump problems
2012-11-12 10:36:21 +00:00