7cc88c6e06Added case for FORWARD_EVENT to address warning
Robert Osfield
2013-01-08 10:21:13 +00:00
da2efd5febFrom Aurelien Albert, "I get a compile error on Windows VS2008 wih new DAE plugin, here is a fix :
Robert Osfield
2013-01-07 15:03:22 +00:00
04ae78ac9bAdded support for --show-cursor and --hide-cursor command line options, and P3D_SHOW_CURSOR env var that can be set to YES or NO.
Robert Osfield
2013-01-07 12:41:16 +00:00
e76e3a7b1bFrom Stephan Huber, "* osgGA: fixed a small bug regarding emulating mouse-events from touch-events * resthttp/osc: encapsulate RequestHandler-classes in their own namespaces to prevent class-name-lookup-errors in the debugger/code (had some weird crashes) * QTKit: fixed a compile-bug for gcc and blocks * osgPresentation: click_to_* will fire on RELEASE, only if the drawable received a PUSH beforehand * p3d/osgPresentation: implemented "forward_mouse_event_to_device"-tag, which will forward mouse-events to all registered devices of a viewer, if an intersection occurs. The mouse-coordinates get reprojected * present3d: all devices get registered with the viewer * osgViewer: only devices which are capable of receiving events are queried for new events. * GraphicWindowIOS: added a flag to GraphicWindowIOS::WindowData to set up a retained backing buffer (defaults to false) This will enable read-back of the render-buffer with glReadPixels even after the renderbuffer got presented * curl: added an optimized check for file-existance, now only the headers are requested and checked, instead of reading the whole file and handle it with a ReaderWriter * p3d: fixed a bug, where the existence of a local file may prevent the remote loading of a file with the same name.
Robert Osfield
2013-01-07 12:17:26 +00:00
521625b343Made UpdateVisitor::TravesalMode default to TRAVERSE_ACTIVE_CHILDREN
Robert Osfield
2012-12-20 16:16:07 +00:00
6d0e1bd50bAdded region="$xmin $ymin $zmin $xmax $ymax $zmax" support to <model> tag, along with animation support via the <property_animation> support.
Robert Osfield
2012-12-20 12:14:53 +00:00
0aef0c2f20Removed lighting of trk lines
Robert Osfield
2012-12-19 17:14:29 +00:00
16e54a00fbChanged the colour calculation and added gl_ClipVertex to enable clipping.
Robert Osfield
2012-12-19 12:38:17 +00:00
9f0906984bRemoved erroneous region setting
Robert Osfield
2012-12-18 11:20:20 +00:00
634f597febFrom Juergen Rensen, "This is a fix for the latest SVN version (rev 13269). The ‘destroyFrameBuffer’ method in ‘GraphicsWindowIOS.mm’ had ‘glDeleteFramebuffersOES’ calls for the stencil buffer, MSAA render buffer and MSAA depth buffer instead of ‘glDeleteRenderbuffersOES’. The fix changes the mismatched calls to ‘glDeleteRenderbuffersOES’.
Robert Osfield
2012-12-18 09:49:01 +00:00
c15d07caa1Added support for RGBA colour buffer in osgframerenderer using the --rgba command line option (--rgb selects the standard non colour frame buffer which is the default).
Robert Osfield
2012-12-17 15:58:57 +00:00
f7bee82e99Added handling of aspect ratio for vertical/horizontal split stereo.
Robert Osfield
2012-12-16 17:10:37 +00:00
d200ef90a7From Stephan Hunber, "* now you can create a transparent opengl-view (see GraphicWindowIOS::WindowData) * changes of the view's bound are reported via osg's event-system more reliably
Robert Osfield
2012-12-14 16:31:07 +00:00
4a0ce866c0Updated SO version
Robert Osfield
2012-12-14 16:30:28 +00:00
32c0bc3b39From Lionel Lagarde, "Here is a correction on the PixelBufferObject getter methods of Image.
Robert Osfield
2012-12-13 17:35:27 +00:00
c4b83d2b0cAdded colouring and lighting of track using shader
Robert Osfield
2012-12-13 16:23:38 +00:00
a00c5e3a20Fixed handling of image colour space conversion when pixel format changes
Robert Osfield
2012-12-11 17:45:20 +00:00
68c1360c96Added automatic conversion of RGB to RGBA when doing REPLACE_ALPHA_WITH_LUMINANCE colour space conversion.
Robert Osfield
2012-12-11 17:27:22 +00:00
d86849fc35Disabled lighting and set the colour to white
Robert Osfield
2012-12-11 10:44:00 +00:00
84d8eeb7cbFirst cut of generating lines from .trk data
Robert Osfield
2012-12-11 09:55:48 +00:00
e57e6c5409Added setting of the fusion distance.
Robert Osfield
2012-12-10 11:11:19 +00:00
8d999a07cfAdded --flip and --no-flip command line options to enable/disable a vertical flip of the captured image before writing out to disk.
Robert Osfield
2012-12-08 16:11:00 +00:00
22868bce4fFrom Stephan Huber, "attached you'll find a zip containing some bug-fixes and some refactored + new code.
Robert Osfield
2012-12-07 19:05:47 +00:00
e64d5e5ecaAdded template swapBytes method
Robert Osfield
2012-12-07 19:04:49 +00:00
8df5440a26Added naming of root of presentation and used this in the setup of the position of the camera.
Robert Osfield
2012-12-07 13:59:57 +00:00
ccdca3d9bfFixed handling of window size/projection matrix
Robert Osfield
2012-12-07 12:47:42 +00:00
aa3634979aFrom Stephan Huber, attached is a fix for the bug of present3D not loading fonts across http. I pass SlideShowConstructor's options-object to readFontFile when constructing any text-objects so freetype can pick up the font-data from the curl-plugin. It works fine now on my end.
Robert Osfield
2012-12-07 10:19:05 +00:00
363633a81dIntial shell of .trk plugin
Robert Osfield
2012-12-06 19:09:17 +00:00
6fa6de8593From Stephan Huber, build fix
Robert Osfield
2012-12-06 18:12:00 +00:00
9ebf35cf05Added default value for initialization of port number
Robert Osfield
2012-12-06 14:42:36 +00:00
d4c9ecf370Fixed typo
Robert Osfield
2012-12-06 11:36:35 +00:00
66a11037aeAdded creation of directory path for ouput if one is required
Robert Osfield
2012-12-06 11:36:13 +00:00
4cb5d59d35From Stephan Huber, ZerConfDevice plugin for Windows and Apple
Robert Osfield
2012-12-06 08:02:08 +00:00
eed71f647dFrom 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"
Robert Osfield
2012-12-05 17:15:53 +00:00
ce0f928f6fAdded --screen-distance <distance>, --screen-height <height> and --screen-width <width> command line support and associated settings to the configuration file.
Robert Osfield
2012-12-05 11:41:27 +00:00
5a88734598Moved the expansion of the key codes into ApplicationUsage so that help is only generated for non zero keycodes.
Robert Osfield
2012-12-05 10:13:51 +00:00
ea00708026Fixed default camera position
Robert Osfield
2012-12-04 19:02:45 +00:00
761229f8f4Changed the -w and -h options to --width and --height respectively.
Robert Osfield
2012-12-04 18:51:21 +00:00
32cffe2094Cleaned up command line usage
Robert Osfield
2012-12-04 18:30:33 +00:00
b4af638af9Tidied up command line docs.
Robert Osfield
2012-12-04 18:28:28 +00:00
9363aa5a89Tidied up CaptureSettings and added command line docs
Robert Osfield
2012-12-04 18:21:53 +00:00
b6d19d1052Added CameraProperty and associated command line parameters for controlling camera position and animation.
Robert Osfield
2012-12-04 12:47:46 +00:00
cbf6745da5Added missing break;
Robert Osfield
2012-12-04 09:11:17 +00:00
24c612a2bdFrom 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.
Robert Osfield
2012-12-03 16:49:47 +00:00
35d17d4654Renamed souce file
Robert Osfield
2012-12-03 11:31:13 +00:00
7d947d79ffFrom 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."
Robert Osfield
2012-12-03 10:10:46 +00:00
e4a42fa65cFixed error in Unfiform set method
Robert Osfield
2012-12-03 09:50:41 +00:00
e6141b984dAdded include of osc plugin directory to help with Windows build
Robert Osfield
2012-12-03 09:35:12 +00:00
9a2f7c7d8eFrom Wang Rui, build fix
Robert Osfield
2012-12-02 11:45:57 +00:00
3e32d9c8afFixed crash when no CameraManipulator is assigned to the viewer
Robert Osfield
2012-11-30 20:03:31 +00:00
d831f1b538Added support for 0x and numeric defintion of keys to be used with <click_to_event> functionality.
Robert Osfield
2012-11-30 16:52:59 +00:00
6eb3b2f091Added support for pausing and restart the property_animation.
Robert Osfield
2012-11-30 15:43:31 +00:00
236e75b2beAdded xml defined property/property animation to .p3d format for <volume> propeties:
Robert Osfield
2012-11-30 14:21:45 +00:00
7ffde8abceFrom Stephan Huber, New OscSendingDevice and OscReceivingDevice classes
Robert Osfield
2012-11-28 13:28:20 +00:00
8b231ba8e3From 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.
Robert Osfield
2012-11-28 10:43:58 +00:00
694e603d15Added support for <properties> tag for <presentation>, <slide> and <layer> scope to compliment the scope of <property_animation>
Robert Osfield
2012-11-27 16:00:43 +00:00
42529ca415Added preliminary support for <property_animation>
Robert Osfield
2012-11-27 15:09:44 +00:00
a31d603f9aFrom 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. "
Robert Osfield
2012-11-22 15:13:46 +00:00
1f50f23f86Simplified CMakeLists and adjusted OscHostEndianness to automatically detect the endian at compile time
Robert Osfield
2012-11-22 11:55:38 +00:00
9ef448c7b1From Stephan Huber, updates to explictly set the HOST Endian using Cmake
Robert Osfield
2012-11-22 11:47:03 +00:00
56bc0b14bcAdded explict handling of osg::Image, osg::HeightField, osg::Shader and osg::Node when doing writes to the archive.
Robert Osfield
2012-11-22 09:49:24 +00:00
f0b3a47735From Stephan Huber, further work on osc plugin
Robert Osfield
2012-11-21 15:19:58 +00:00
4b4327aaaeMoved static for local to global scope in Uniform.cpp and removed the local static usage in Registry.cpp
Robert Osfield
2012-11-21 14:27:54 +00:00
3a67eefd9fRefactored osgDB::Input::readObjectOfType to use a template, and updated associated wrappers to avoid using local static's
Robert Osfield
2012-11-21 13:38:11 +00:00
ea9e13a0c6From Paul Martz, fix for Windows build
Robert Osfield
2012-11-20 18:41:30 +00:00
7e67ac7a34From Stephan Huber, added missing windows dependency
Robert Osfield
2012-11-20 13:01:57 +00:00
f3e9967f47Added ws2_32 library to Win32 build
Robert Osfield
2012-11-20 10:37:42 +00:00
8b30807ef1From Paul Martz, build fixes
Robert Osfield
2012-11-19 11:25:52 +00:00
e2ee774705Frm Stephan Huber, osc plugin that supports send and recieving events via UDP packets.
Robert Osfield
2012-11-19 10:48:37 +00:00
c005e6997cAdded first cut implememtation of PropertyAnimation class
Robert Osfield
2012-11-16 15:40:41 +00:00
10c43a3052Moved PropertyManager related classes out from SlideEventHandler into their own dedicated header/source file.
Robert Osfield
2012-11-15 12:11:19 +00:00
c48335baf7Added support for P3D_UPDATE env var for setting the UpdateVisitor::TRAVERSAL_MODE. Accepted settings are "active", "Active", "ACTIVE", or "all", "All", "ALL".
Robert Osfield
2012-11-13 16:15:20 +00:00
e70ece8f10Added --update-active and --update-all command line options that set the UpdateVisitor::TraversalMode to TRAVERSE_ACTIVE_CHILDREN and TRAVERSE_ALL_CHILDREN respecively.
Robert Osfield
2012-11-13 15:26:06 +00:00
057f8a8b3bAdded support for <image blending="ON" or blending="OFF"> to allow user definition of when to enable OpenGL blending for an image or not.
Robert Osfield
2012-11-13 14:22:37 +00:00
0c02ef358fFrom Stephan Huber, fixed warning
Robert Osfield
2012-11-13 13:52:33 +00:00
933baf5db4Changed COLOUR to COLOR to be consistent with OpenGL spelling
Robert Osfield
2012-11-13 13:32:01 +00:00
92975a01fdMoved 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
Robert Osfield
2012-11-13 13:16:10 +00:00
e72af02c2bAdded first step to adding pruning of expired image requests.
Robert Osfield
2012-11-13 11:45:20 +00:00
ad1cec1b2eFrom Stephan Huber, introduced syncornization of osgGA::Device
Robert Osfield
2012-11-13 11:20:36 +00:00
bf4daf11ffCleaned up reported of events and added assigned of <volume> tag region properities when using the wildcard definition of the volume.
Robert Osfield
2012-11-12 16:46:08 +00:00
79ae9cd8a3Added osgframerenderer example
Robert Osfield
2012-11-12 15:26:30 +00:00
e9a7b2a6e5Changed the default settings to fix a jump problems
Robert Osfield
2012-11-12 10:36:21 +00:00
e8b86dc4ecAdded missing files in support of key_jump and key_run tags
Robert Osfield
2012-11-10 12:12:24 +00:00
ff476e9c15Added support for naming slides and layers with slide_name and layer_name properties respectively. Added support for creating events based on key presses using a <key_to_run> and <key_to_jump> tags.
Robert Osfield
2012-11-09 21:32:54 +00:00
fd4126dc59Added Node::getName() and getUserDataContainer() to check to see if an node can be removed or not.
Robert Osfield
2012-11-09 21:23:42 +00:00
36f6ef7242From Alexander Sinditskiy, "I found issue with capturing mouse buttons. This issue can be reproduced: 1. Create osgViewer window, 2. Push right&left mouse buttons on the osgViewer window, 3. Move mouse out of window, and release right&left mouse buttons.
Robert Osfield
2012-11-08 17:19:51 +00:00
1b871a822dAdded support for <imagesequence interaction_mode="USE_MOUSE_Y_POSITION">
Robert Osfield
2012-11-08 15:45:23 +00:00
b6c6885a97Changed the way the mouse position is update to handle the remote device control.
Robert Osfield
2012-11-08 15:28:24 +00:00
b51bbaa406Added check to avoid doing update when the imagesequence is empty.
Robert Osfield
2012-11-08 14:15:59 +00:00
014f13f774Refactored ImageSequence to better handle random access usage.
Robert Osfield
2012-11-08 11:19:31 +00:00
17b372ec38Tweaked casts/types to fix build under Linux
Robert Osfield
2012-11-06 17:49:32 +00:00
679956e79aAdded f qualifer to 1.0 to fix build problem under MSVS
Robert Osfield
2012-11-06 14:25:28 +00:00
4fa32ee0b8From Stephan Huber, improved performance by using native apple functions for flipping image
Robert Osfield
2012-11-06 11:18:33 +00:00
f09b9576c6From Stephan Huber, "Attached you'll find a fix for the image-io-plugin to handle out-of-memory situations more gracefully as before (don't crash)"
Robert Osfield
2012-11-05 17:22:34 +00:00
7cb6e103f4Quitened down debug output
Robert Osfield
2012-11-05 12:21:34 +00:00
d7ce523529From Stephan Huber, updated to debug output to RestHttpDevice and tweaks to ImageIO and QTKit plugins
Robert Osfield
2012-11-05 12:03:50 +00:00
18d66619b0Added static cast to float to avoid compile error under MSV
Robert Osfield
2012-11-05 09:36:00 +00:00
e45bdb60d7From David Longest, "When drawing, a transform with an absolute reference frame will ignore the calculated model / view matrices up to that point. The IntersectionVisitor would instead keep the view matrices calculated up to that point even though the Transform class will throw out the calculated model matrix via “computeLocalToWorldMatrix.”
Robert Osfield
2012-11-01 18:06:46 +00:00
2e1f90f7e8Changed the PropertyEventCallback to only respond to mouse releated events.
Robert Osfield
2012-11-01 16:11:13 +00:00
9271b53c56
Robert Osfield
2012-11-01 14:29:26 +00:00