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
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
fd4126dc59
Added Node::getName() and getUserDataContainer() to check to see if an node can be removed or not.
2012-11-09 21:23:42 +00:00
Robert Osfield
36f6ef7242
From 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.
osgViewer window handle only first mouse release, as result window thinks that we did not released second mouse button.
I attached fix for this issue."
2012-11-08 17:19:51 +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
b6c6885a97
Changed the way the mouse position is update to handle the remote device control.
2012-11-08 15:28:24 +00:00
Robert Osfield
b51bbaa406
Added check to avoid doing update when the imagesequence is empty.
2012-11-08 14:15:59 +00:00
Robert Osfield
014f13f774
Refactored ImageSequence to better handle random access usage.
2012-11-08 11:19:31 +00:00
Robert Osfield
17b372ec38
Tweaked casts/types to fix build under Linux
2012-11-06 17:49:32 +00:00
Robert Osfield
679956e79a
Added f qualifer to 1.0 to fix build problem under MSVS
2012-11-06 14:25:28 +00:00
Robert Osfield
4fa32ee0b8
From Stephan Huber, improved performance by using native apple functions for flipping image
2012-11-06 11:18:33 +00:00
Robert Osfield
f09b9576c6
From 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)"
2012-11-05 17:22:34 +00:00
Robert Osfield
7cb6e103f4
Quitened down debug output
2012-11-05 12:21:34 +00:00
Robert Osfield
d7ce523529
From Stephan Huber, updated to debug output to RestHttpDevice and tweaks to ImageIO and QTKit plugins
2012-11-05 12:03:50 +00:00
Robert Osfield
18d66619b0
Added static cast to float to avoid compile error under MSV
2012-11-05 09:36:00 +00:00
Robert Osfield
e45bdb60d7
From 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.”
The change I made will push an identity matrix as the view matrix when running into a transform
with an absolute reference frame and will pop the matrix off after the traverse.
To test this, I created a camera with a perspective view and added a transform with some geometry
in it. Afterwards, I set the transform’s reference frame to ABSOLUTE_RF and spun the camera around
using the trackball manipulator. When trying to pick with a LineSegmentIntersector, it would not
pick the geometry in the transform with the reference frame set to ABSOLUTE_RF."
2012-11-01 18:06:46 +00:00
Robert Osfield
2e1f90f7e8
Changed the PropertyEventCallback to only respond to mouse releated events.
2012-11-01 16:11:13 +00:00
Robert Osfield
9271b53c56
2012-11-01 14:29:26 +00:00
Robert Osfield
98e9f187b3
Added reading of the P3D_DEVICE env var for setting up the --device entry.
2012-10-31 17:06:29 +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