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
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
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
9f0906984b
Removed erroneous region setting
2012-12-18 11:20:20 +00:00
Robert Osfield
9a2f7c7d8e
From Wang Rui, build fix
2012-12-02 11:45:57 +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
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
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
e9a7b2a6e5
Changed the default settings to fix a jump problems
2012-11-12 10:36:21 +00:00
Robert Osfield
e8b86dc4ec
Added missing files in support of key_jump and key_run tags
2012-11-10 12:12:24 +00:00
Robert Osfield
ff476e9c15
Added 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.
2012-11-09 21:32:54 +00:00
Robert Osfield
1b871a822d
Added support for <imagesequence interaction_mode="USE_MOUSE_Y_POSITION">
2012-11-08 15:45:23 +00:00
Robert Osfield
a6f3e0af78
Added event and update callbacks to pass up changes to the mouse position to the ImageSequence::seek() to control which images is selected based on mouse x position
2012-10-31 16:07:23 +00:00
Robert Osfield
d879cd7715
Intial work towards support an interaction <imagesequence> tag in Present3D.
2012-10-29 15:58:02 +00:00
Robert Osfield
2faeaf553b
Added support for setting the <image> paging_mode property to PRE_LOAD_ALL_IMAGES, PAGE_AND_RETAIN_IMAGES or PAGE_AND_DICARD_IMAGE for osg::ImageStream,
...
with PAGE_AND_DICARD_IMAGE set as the default.
2012-06-11 19:54:07 +00:00
Robert Osfield
c39ee015d6
Added ImageStream support to <image> and <stereo_image> tags in .p3d
2012-06-08 10:26:23 +00:00
Robert Osfield
5d3cb4f754
Added osg::ImageSequence support into osgPresentation::SlideShowConstructor and the associated <image> tag in .p3d.
2012-06-08 04:18:28 +00:00
Robert Osfield
14a563dc9f
Ran script to remove trailing spaces and tabs
2012-03-21 17:36:20 +00:00
Robert Osfield
6aa6e9a38c
Refactored the click_to_run implementation to avoid bug associated with running the first click_to_run entry in a layer when
...
subsequent click to run's are called.
2012-01-24 14:27:17 +00:00
Robert Osfield
693d79c638
Implement presentation update feature that reloads the presentation on pressing 'u'.
2011-11-04 12:50:05 +00:00
Robert Osfield
881078289d
Added support into the .p3d format for specifying the osgDB::Options::OptionString via the <tag options="value">.
...
Added support into .vnc plugin for passing in the keywords "swap", "RGB", "RGBA", "BGR", "BGRA" as OptionString values to allow .p3d presentations to control
whether the pixelformat should be swapped or set to a specific format.
2011-10-26 14:25:56 +00:00
Robert Osfield
5d26d16fd3
Added password support into present3D's vnc support via the tag usage : <vnc password="mypassword">hostname</vnc>
2011-10-26 12:48:57 +00:00
Robert Osfield
9ac24c8e5d
Changed the defaults volume setting to not enable the SampleDensityWhenMoving property.
2011-06-09 10:48:19 +00:00
Robert Osfield
6b67320190
Added support for new SampleDensityWhenMovingProperty into .p3d format, with it default to 0.02.
...
One can override this value via the sampleDensityWhenMoving="value" property in the volume tag, i.e.
<volume sampleDensityWhenMoving="0.01">CardiacCT</volume>
To switch the feature off set the value to 0, i.e.
<volume sampleDensityWhenMoving="0">CardiacCT</volume>
2011-03-17 17:33:02 +00:00
Robert Osfield
256da4879e
Added hud and billboard support to image, stereo_image, pdf, browser and vnc image placement
2011-03-16 10:51:42 +00:00
Robert Osfield
f2ce2f19a9
Added support hud property for title, bullets and paragraph tags
2011-03-15 19:54:57 +00:00
Robert Osfield
52ff51e0eb
Implemented billboard="on" option for image, bullet and paragraph tags
2011-03-14 21:36:32 +00:00
Robert Osfield
d3d0859b4c
From Piotr Gwiazdowski, "So there's config setting OSG_DISABLE_MSVC_WARNINGS which should
...
disable pragmas that turn off specific warnings for MSVC.
Unfortunately it's presence is only checked in osg/Export header,
making other Export headers disable warnings no matter what, which is
kind of incoherent.
My fix adds #include <osg/Config> to every Export header. I've also
unified checking whether to disable warnings to current osg/Export
way:
#if defined(_MSC_VER) && defined(OSG_DISABLE_MSVC_WARNINGS).
Attachment contains all changed Export files in their original locations."
2011-03-09 14:15:04 +00:00
Robert Osfield
410b4fd109
Converted FrameStamp::g/setFrameNumber from int to uint
2010-12-22 20:11:05 +00:00
Robert Osfield
8b8ca09ab1
Added support for passing options to the .dot plugin
2010-04-28 18:53:34 +00:00
Robert Osfield
dbbe73304a
Added support for using graphviz dot for graphics visualization via <graph>filename</graph> token.
2010-04-28 14:56:38 +00:00
Robert Osfield
86f491e649
Replaced use of unsigned int/enum mask combinations with int/enum mask combinations to avoid the need for casting enums to unsigned ints,
...
and to avoid associated warnings.
Update wrappers to reflect these changes.
2010-03-05 12:55:08 +00:00
Robert Osfield
88474271e3
From Fabien Lavignotte, "In order to compile on Windows with Wrappers ON, some exports are still missing on osgPresentation::AnimationMaterialCallback and osgUtil::IncrementalCompileOperation::CompileSet."
2010-02-19 14:30:01 +00:00
Robert Osfield
b7cabac990
From Mathias Froechlich, "Attached the collected fixes I needed to compile with all of them.
...
Most notable the __hpux define stuff. The __hpux__ variant seems to be not
defined which resulted in a compile error at this time. Consequently I have
replaced all occurances of __hpux__ with __hpux. And huge surprise: now osg
plugins are found and loaded correctly ...
The next notable one is the MSVC_IDE fix which makes the nmake Makefiles cmake
generator target behave like the ide one. Showed up because I started to do
scripted builds with nmake instead of devenv...
The rest is the usual bunch of stuff that just happens during normal
coding ..."
2009-11-18 12:15:29 +00:00
Robert Osfield
d17d7159a1
Ported osgUtil, osgDB, osgGA, NodeKits and plugins to compile against OpenGL ES 1.1 and OpenGL ES 2.0.
2009-10-28 20:31:57 +00:00
Robert Osfield
ca78f3a6bc
Added support to .p3d format's volume tag for the properties:
...
region="xmin ymin zmin xmax ymax zmax"
alpha="float_value"
cutoff="float_value"
sampleDenstiy="float_value"
2009-08-27 16:42:47 +00:00
Robert Osfield
93996e6133
Added support for volume tags with properties:
...
dragger="box" or dragger="trackball"
and
technique="light" or technique="isosurface" or technique="iso" or technique="mip"
and
tf="transferfunctionfile.tf"
i.e.
<volume dragger="box">CardiacCT</volume>
<volume tf="colour.tf">CardiacCT</volume>
<volume technique="isosurface">CardiacCT</volume>
2009-08-05 14:37:56 +00:00
Robert Osfield
e30e4df30c
Introduced event handling directly into osgManipulator::Dragger to allow it be used with a global event handler passing in events.
2009-06-29 21:32:10 +00:00