Robert Osfield
59caf4a48e
Fixed build with no automatic ref_ptr<> conversion
2013-10-01 19:34:21 +00:00
Robert Osfield
898c716841
Added osgPresentation::Show node and implementations with basic property reporting for various internal nodes of presentation graph
2013-09-10 09:23:30 +00:00
Robert Osfield
7050c59cae
Initial cut of Audio/Volume/Movie/Image presentation objects
2013-09-06 09:35:56 +00:00
Robert Osfield
73250601f0
Added missing Model.cpp
2013-09-05 08:22:27 +00:00
Robert Osfield
856ec46467
Added PrintProperties visitor
2013-09-04 16:25:18 +00:00
Robert Osfield
ccf7bbdb50
Added PrintPropertiesAction to osgPresentation
2013-09-04 15:39:17 +00:00
Robert Osfield
9f5e131203
Added Action class NodeVisitor that supports osgPresentation nodes.
2013-09-04 10:33:11 +00:00
Robert Osfield
3c106e4dd7
Added test for osgPresentatation::Group::getSupportedProperties()
2013-09-03 15:50:28 +00:00
Robert Osfield
fdfe3210ce
Added beginings of Text implementation
2013-09-03 10:17:06 +00:00
Robert Osfield
820ba45fab
Added Audio, Image, Movie, Model and Volume class to osgPresentation.
2013-09-01 17:24:35 +00:00
Robert Osfield
11685a3e0c
Removed debug messages
2013-08-22 12:37:49 +00:00
Robert Osfield
db449b9e09
Added warning when model file has not be found
2013-08-22 10:09:21 +00:00
Robert Osfield
464628b5c4
Reduced debug message level, and added a notify message for when an image isn't loaded
2013-08-22 10:05:29 +00:00
Robert Osfield
c678fed113
Added initial classes for present3D refactor
2013-08-21 19:54:03 +00:00
Robert Osfield
4e3715d4bb
Moved old osgPresentation source files to osgPresentation/deprecated subdirectory.
2013-08-18 18:10:39 +00:00
Robert Osfield
93ebfd6217
Added translucent version of cushion which isn't depth tested to enable one to see the cursor even when it's behind other objects
2013-08-08 17:21:20 +00:00
Robert Osfield
82401defc7
Added osgPresentation::Cursor class to wrap up 3D cursor in the scene functionality
2013-08-08 16:49:33 +00:00
Robert Osfield
097aedf23c
From David Callu, warning fixes and removal of spaces at end of lines.
2013-06-28 12:00:43 +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
8ed0780967
Added .get()'s to fix compilation when ref_ptr<> type conversion is disabled
2013-02-05 18:22:46 +00:00
Robert Osfield
5339864c17
Added handling of movies into Timeout
2013-01-30 11:31:27 +00:00
Robert Osfield
f5bd6b0487
Added disabling of the traversal of the Timeout in update when the timout is not displayed and disabled traversal by the SlideEventHandler.
2013-01-30 10:49:18 +00:00
Robert Osfield
366fcbf59b
From Stephan Huber, "As I have not all referenced image-data, SlideShowConstructor crashed on my end. Attached is a fix for that crash."
2013-01-30 10:21:45 +00:00
Robert Osfield
390b546389
Added debug message for Timout
2013-01-25 10:24:11 +00:00
Robert Osfield
e7e517f2d0
Added <display_broadcast_event> and <dismiss_broadcast_event> support to <timeout> to allow the different timeout statges to be broadcast.
2013-01-17 13:51:52 +00:00
Robert Osfield
7129fce278
Changed the defaults of the Timeout to be DBL_MAX by default.
2013-01-17 11:57:18 +00:00
Robert Osfield
dd189f22e5
Completed <timeout> support, to use it with p3d use it along the lines:
...
<slide>
<layer>
<paragraph>Test</paragraph>
<timeout>
<idle_duration_before_timeout>3.0</idle_duration_before_timeout>
<idle_duration_before_action>5.0</idle_duration_before_action>
<key_starts_timeout_display>A</key_starts_timeout_display>
<key_dismiss_timeout_display>S</key_dismiss_timeout_display>
<key_run_action>D</key_run_action>
<timeout_jump slide="0" layer="1"></timeout_jump>
<timeout_event>w</timeout_event>
<timeout_broadcast_event>t</timeout_broadcast_event>
<image width="0.5">Images/lz.rgb</image>
</timeout>
</layer>
<layer>
<model>cow.osg</model>
</layer>
</slide>
2013-01-17 11:48:20 +00:00
Robert Osfield
1fcadcf514
Added support for <timeout_jump> to Timeout support.
2013-01-17 09:51:15 +00:00
Robert Osfield
b8b8365c06
Implemented basic Timeout display and timing codes
2013-01-16 16:13:30 +00:00
Robert Osfield
81008c24df
Added shell of Timeout class
2013-01-15 11:31:44 +00:00
Robert Osfield
93334e7df0
Added movie volume animation control to <image> and <stereo_image> tags to be used in the form:
...
<slide>
<properties>
<property name="volume" type="float">0.20</property>
</properties>
<property_animation>
<key_frame time="0.0">
<property name="volume" type="float">0.0</property>
</key_frame>
<key_frame time="2.0">
<property name="volume" type="float">1.0</property>
</key_frame>
<key_frame time="10.0">
<property name="volume" type="float">1.0</property>
</key_frame>
<key_frame time="12.0">
<property name="volume" type="float">0.0</property>
</key_frame>
</property_animation>
<layer>
<image volume="$volume" looping="ON">big_buck_bunny_1080p_stereo.ogg</image>
</layer>
</slide>
2013-01-11 11:30:44 +00:00
Robert Osfield
4f8847dd50
Added support for <image delay="time" stop="time"> properties that works in conjunction with the start="time" property support checked in in previous submission,
...
together these control the delay, start position and stop position of movies.
2013-01-10 19:55:50 +00:00
Robert Osfield
e569671d13
Added support for <image "start=10"> property that tells a video to start specificied number of sections into a video.
2013-01-10 14:37:52 +00:00
Robert Osfield
7cc88c6e06
Added case for FORWARD_EVENT to address warning
2013-01-08 10:21:13 +00:00
Robert Osfield
e76e3a7b1b
From 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.
"
2013-01-07 12:17:26 +00:00
Robert Osfield
6d0e1bd50b
Added region="$xmin $ymin $zmin $xmax $ymax $zmax" support to <model> tag, along with animation support via the <property_animation> support.
2012-12-20 12:14:53 +00:00
Robert Osfield
c15d07caa1
Added 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).
2012-12-17 15:58:57 +00:00
Robert Osfield
8df5440a26
Added naming of root of presentation and used this in the setup of the position of the camera.
2012-12-07 13:59:57 +00:00
Robert Osfield
aa3634979a
From 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.
2012-12-07 10:19:05 +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
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
3e32d9c8af
Fixed crash when no CameraManipulator is assigned to the viewer
2012-11-30 20:03:31 +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
42529ca415
Added preliminary support for <property_animation>
2012-11-27 15:09:44 +00:00
Robert Osfield
8b30807ef1
From Paul Martz, build fixes
2012-11-19 11:25:52 +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
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
933baf5db4
Changed COLOUR to COLOR to be consistent with OpenGL spelling
2012-11-13 13:32:01 +00:00