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
5d9bf9f4d5
Added virtual pause() method into osg::AudioSink to support pausing of a movie thread and it's associated audio.
...
Updated osgmovie plugin to use the pause support.
2010-01-07 14:35:17 +00:00
Robert Osfield
3ef770a9ff
From Rafa Gaitan, "Current ffmpeg plugin didn't support pause and seek, I have added this
...
functionality and I also modified osgmovie example to support "seek"."
Note from Robert Osfield, changes osgmovie to use '>' for the seek as '+' was already used in a separate submission that had been merged.
2009-11-20 14:31:11 +00:00
Robert Osfield
e15006b194
From Cedric Pinson, "here an update of osgmovie example with the following features:
...
- play and pause now stop and play all streams given in the command line
(not only the first)
- add key + - to increase decrease the speed of all streams
- add key o to display all stream frame rate
"
2009-11-20 10:54:39 +00:00
Robert Osfield
41b6c4dde8
Rearranged static SDL callback so that it's after the SDL.h header.
2009-05-13 08:40:10 +00:00
Robert Osfield
0de08dad28
Removed SDL header
2009-05-12 16:26:07 +00:00
Robert Osfield
9c5498376c
Re-ordered SDL class to try and avoid OSX issues with _main.
2009-05-12 13:24:08 +00:00
Robert Osfield
e179ecc69d
Attempt to fix OSX missing _main symbol error
2009-05-12 12:27:54 +00:00
Robert Osfield
f1053c52dc
Warning fixes
2009-03-13 11:06:12 +00:00
Robert Osfield
1211fd1120
Changed audio playing so that it only happens for a single movie to avoid
...
problems with audio stalling.
2009-03-11 18:13:58 +00:00
Robert Osfield
73cffacf09
Added docs on getPixelAspectRatio and corrected usage of getPixelAspection in osgmovie.cpp
2009-03-11 17:57:33 +00:00
Robert Osfield
5233a716c8
Added handling of Image::isImageTranslucent(), when it is enabling blending.
...
Added handling of Image::getPixelAspectRatio() in geometry sizing.
Added scaling of the projection matrix to ensure that aspect ratio is honoured with running in fullscreen mode
2009-03-11 15:43:13 +00:00
Robert Osfield
97e987a9d9
Added SDL audio path
2009-03-03 20:59:16 +00:00
Robert Osfield
b678c8ca85
Added SDL audio support for reading from ffmpeg movies
2009-03-03 17:37:48 +00:00
Robert Osfield
e035decd95
Introduce FFmpegAudioStream implementation
2009-03-03 16:51:01 +00:00
Robert Osfield
1e886ce539
From Paul Melis, "While trying out the osgbrowser example (where I had forgotten to update
...
LD_LIBRARY_PATH so the XUL libs would be found) I noticed that although
the gecko plugin was found it could not be loaded. But this did not
trigger any visible warning/error message (at least not without INFO
notify level). Would you mind if we change the notify level for a
dlerror() to WARNING? This will also make it more explicit for the case
when a plugin isn't actually found, which seems to come up a lot for
novice users (e.g. no freetype on win32, so no freetype plugin, etc).
Also, the current error message is misleading ("Warning: Could not FIND
plugin to ...") because the it's not always a case of not finding the
plugin. I slightly enhanced the situation of not finding a plugin versus
finding it but not being able to load it.
Here's also a few fixes to some of the examples:
- osgfont: make usage help line more in line with the actual behaviour
- osgcompositeviewer: complain when no model file was provided
- osgmovie: don't include quicktime-dependent feature on Linux
- osgocclussionquery: comment addition (as I was surprised that lines
were being drawn in a function called createRandomTriangles())"
2009-02-08 15:56:35 +00:00
Robert Osfield
734463fcc7
Warning fixes
2009-02-03 15:28:53 +00:00
Robert Osfield
9b1445d5b9
Fixed warnings
2008-12-18 13:56:30 +00:00
Robert Osfield
239c18eddb
Removed redundent static ImageStream pointer
2008-11-05 16:06:25 +00:00
Robert Osfield
b5474780c3
Change the GLSL textureRec and texture2D parameters to use .st to make sure they only use 2D coords.
...
Add setResizeNonPowerOfTwoHint to false for Texture2D.
2008-09-16 09:31:29 +00:00
Robert Osfield
b6292f4537
Fixed the name of _playToggle
2008-08-15 13:07:04 +00:00
Robert Osfield
66c2add024
Improved position when multiple videos are provided
2008-07-22 15:58:40 +00:00
Robert Osfield
22edadcdf3
Added --mouse option to enable mouse tracking, and fixed bug in assumption
...
that nv is not null.
2008-04-11 10:10:40 +00:00
Robert Osfield
f4afa427a7
From Roland Smeenk, "Attached you will find a large set of small typo fixes (mainly in the comments)."
2007-12-10 17:30:18 +00:00
Robert Osfield
b112e15b13
From Bob Kuehne, added extra event handlers
2007-12-06 17:53:22 +00:00
Robert Osfield
ca9b2dc7db
From Colin Dunlop, add --devices support.
2007-11-17 11:50:13 +00:00
Robert Osfield
2e2ddba49e
Added support for setting volume in xine plugin, manual adjustment of volume
...
in osgmove example, and clamping to 0 to 1.0 range in quicktime plugin
2007-11-04 16:08:05 +00:00
Robert Osfield
501b3241c6
Added --flip argument docs.
2007-09-25 17:02:22 +00:00
Robert Osfield
61d0bc4eaf
Added --flip option to allow one to flip the source data about the x axis.
2007-09-25 17:01:16 +00:00
Robert Osfield
b8ddf1f786
Removed all dome distortion correction code as this is now part of the core osgViewer.
...
Added viewer mode where movies are made fullscreen. One can use the old interactive
camera mode by using --interactive parameter on the command line.
2007-09-25 15:01:11 +00:00
Robert Osfield
43eacc4cbc
Preliminary PanoramicSphericalScreen support
2007-09-25 13:51:03 +00:00
Robert Osfield
89f30eb6cc
Added StatsHandler
2007-06-12 18:58:32 +00:00
Robert Osfield
ade144ab0a
Refactored the dome correction code to support movie flipping.
2007-06-12 18:56:52 +00:00
Robert Osfield
a7a0e2c4d3
Added Image::g/setOrigin to help movie plugins tell applications that the imagery
...
is not the usual OpenGL BOTTOM_LEFT orientation, but with the origin TOP_LEFT. This
allows geometry setup code to flip the t tex coord to render the movie the correct way up.
2007-06-12 16:55:44 +00:00
Robert Osfield
cc0f1cb0fe
From Martin Lavery and Robert Osfield, Updated examples to use a variation of the MIT License
2007-06-12 14:20:16 +00:00
Robert Osfield
f64e8b2a96
Added screen number, and flip support into dome correction codes.
2007-06-12 08:29:32 +00:00
Robert Osfield
2d0fd3a645
Further work on dome correction
2007-05-08 15:32:35 +00:00
Robert Osfield
00e1af1902
Firt cut at full dome correction of wrap around movies and imagery
2007-05-08 12:18:57 +00:00
Robert Osfield
c5082cb85c
Added support for vertex ratios into LineSegmentIntersector.
2007-01-10 10:40:12 +00:00
Robert Osfield
4d4b342e97
Added View::computeIntersections methods
2007-01-09 17:35:46 +00:00
Robert Osfield
dfb21cb81a
Ported following examples to osgViewer:
...
osggeodemo
osggeometry
osghud
osgimpostor
osgkeyboard
osglauncher
osglight
osglightpoint
osglogicop
osglogo
osgmovie
osgmultiplecameras
osgmultitexture
osgoccluder
osgparametric
osgparticle
2007-01-08 10:00:16 +00:00
Robert Osfield
d40e12a27b
Removed deprecated GUIEventHandler method
2006-10-05 14:32:39 +00:00
Robert Osfield
41a4aa1548
Added viewer.cleanup_frame() to all examples.
2006-08-02 19:55:03 +00:00
Robert Osfield
e4e95a1d60
Added support for tracking mouse movement and computing the intersection of the mouse position
...
into texture coords.
2006-01-12 22:43:36 +00:00
Robert Osfield
4eb5b0d715
Added proper descriptions of examples in place of the copy and paste description.
2005-11-15 22:07:54 +00:00
Robert Osfield
91f5b9b04e
Fixes for VS6.0 build.
2005-11-11 12:45:59 +00:00
Robert Osfield
435e4b828c
Fixes for dumb VS6.0 compiler
2005-11-10 19:32:37 +00:00
Robert Osfield
e2361865fc
From Sondra Iverson, "The options to rewind/restart and to toggle looping in the osgmovie
...
example have been implemented. "
2005-09-11 19:05:30 +00:00
Robert Osfield
96eb0b71c6
Added \n to end of a couple shader source lines.
2005-06-09 09:27:43 +00:00
Robert Osfield
119b528711
Added texture2D shader source
2005-06-09 08:29:22 +00:00