Robert Osfield
691a49d0fa
From Paul Melis, fixes to spelling mistakes/typos.
2007-07-11 15:51:17 +00:00
Robert Osfield
7f0b3144ea
Added checking of GUIEventAdpter::getHandled().
2007-07-03 13:26:48 +00:00
Robert Osfield
4979a0ac41
Added handling of when mouse delta is too high, indicating a inconsitency in the
...
the events. These changes prevent irratic high speed spinning when releasing the
mouse point in a different screen from when the mouse event started.
2007-06-15 10:12:57 +00:00
Robert Osfield
10235ad0b4
Fixed null pointer derefence bug
2007-06-15 09:29:23 +00:00
Robert Osfield
1625360b63
Fixed versioning
2007-06-13 10:12:55 +00:00
Robert Osfield
aa970f2a30
Changed the throw dection time to 0.02
2007-06-12 09:55:40 +00:00
Robert Osfield
2532b5f06e
Improved the detection of throwing of the mouse.
2007-06-09 17:58:37 +00:00
Robert Osfield
4b73712f51
Added automatic stopping of animation when home() is called
2007-06-07 12:23:21 +00:00
Robert Osfield
27173bdf73
Changed debug message to INFO
2007-05-25 10:13:36 +00:00
Robert Osfield
e3747b1004
From Rafa Giatan and Robert Osfield, added support for User defined events, by adding
...
UserData to Events.
2007-05-19 13:39:55 +00:00
Robert Osfield
217e8d6f35
Added osgUtil into lib list
2007-05-03 14:47:52 +00:00
Robert Osfield
3809d0dad0
Moved the OpenThreads link locally to each lib
2007-05-03 10:06:38 +00:00
Robert Osfield
f242570269
Unified the setup of version numbers so that they all are based on the version
...
number setup in the include/osg/Version header file.
2007-04-22 20:19:43 +00:00
Robert Osfield
68a6882d04
Bumbped the version number up to 1.9, in preperation for using odd release numbers
...
for development releases, odd versions for stable releases.
2007-04-16 06:03:22 +00:00
Robert Osfield
2e6ee4bb39
Removed old gmake and VisualStudio build files
2007-04-10 13:10:25 +00:00
Robert Osfield
db6f07f1d6
Ran dos2unx of CMakeLists.txt files
2007-03-08 15:31:36 +00:00
Robert Osfield
f50ed9667a
From Eric Wing and others, first cut of CMake build support
2007-03-04 13:05:33 +00:00
Robert Osfield
7f8f4e331a
Completed changes to osgManipulator to make it more flexible w.r.t viewer usage, and
...
ported osgmanipulator example across of osgViewer
2007-02-26 13:01:17 +00:00
Robert Osfield
a01cade782
Added setHandled/getHandled to osgGA::GUIEventAdapter
2007-01-24 12:21:29 +00:00
Robert Osfield
055abec7a3
Added osg::StateSet* parameter to constructor to make it more convinient to set
...
up the StateSetManipulator and moved the initialization of locally cached states
into the handle method to ensure a representative version of the StateSet is captured
2007-01-23 16:26:15 +00:00
Robert Osfield
ab2d9520a6
Fixed the setWindowSize so that it sets the input range to 0,0,width,height rather
...
than x,y,x+width,y+height as mouse coordinates move relative to the window, not the
screens origin.
2007-01-11 14:53:34 +00:00
Robert Osfield
c4279bd5f1
Ported following examples to osgViewer:
...
osgparticleeffects
osgphotoalbum
osgpick
osgpoints
osgpointsprite
osgprecipitation
osgprerender
osgprerendercubemap
osgreflect
osgscalarbar
osgscribe
osgsequence
osgplanets
2007-01-10 13:52:22 +00:00
Robert Osfield
16d1c00a3d
Changed the return types of makeCurrent to bool, and added a bool GraphicsContext::releaseContext method
...
along with implementations in osgViewer.
2007-01-08 19:29:59 +00:00
Robert Osfield
7155f7d1b0
Various work on osgViewer library, including warp point and graphics window resize support
2007-01-01 18:20:10 +00:00
Robert Osfield
84d22f9999
Added new adapter methods to EventQueue to allow the time value of the
...
event to be specified.
2006-12-26 17:37:58 +00:00
Robert Osfield
2255771b74
Further work osgViewer::Viewer and related classes.
2006-12-20 21:13:29 +00:00
Robert Osfield
c289cdca57
Thanks to Björn Hein for spotting mistakes in EventQueue.cpp and StateSetManipulator, now fixed by Robert Osfield. Problems were:
...
"StateSetManipulator.cpp (rev 1.12, l. 85): cyclePolygonMode() is called but
no aa.requestRedraw() afterwards. Is this intended?
EventQueue.cpp (rev 1.8): in keyRelease & keyPressed KEY_Alt_R was mapped to
MODKEY_LEFT_ALT"
2006-11-06 13:22:57 +00:00
Robert Osfield
e0f395fd07
Moved SimpleViewer and GraphicsWindow into their own osgViewer library, updated simpleviewer examples to reflect this change
2006-11-02 12:27:15 +00:00
Robert Osfield
22b15d6473
Added -losgDB to fix OSX build
2006-10-13 14:00:08 +00:00
Robert Osfield
f95a913daa
Removed osgGA::GUIEventHandlerVisitor and osgGA::SetSceneVistor classes/headers as
...
this classes weren't being actively used the distribution, effectively being noops.
2006-10-06 09:54:45 +00:00
Robert Osfield
632df7f3ff
Added osgGA::GraphicsWindow base class that derives from osg::GraphicsContext but
...
adds default overrides its pure virtue methods, and an EventQueue.
2006-10-05 10:06:19 +00:00
Robert Osfield
e0599f652e
Added releaseGLObjects to NodeCallbacks, Drawable::DrawCallbacks and wired up
...
osgProducer to use it when doing cleanup_frame.
2006-10-02 15:38:31 +00:00
Robert Osfield
ba7d27c9b2
From Chris Hanson, "These changes break out the implementation of the fill/wireframe/point, texture,
...
lighting and backface culling settings from the event handling code in StatesetManipulator
into public methods. The event handler now calls the public methods. This allows user code
to invoke this same functionality from non-keyboard event inputs without clashing with the
keyboard-invoked functionality."
From Robert Osfield, tweaks to the above to kepp the coding style the same as the rest of the OSG, also
made getPolygonMode() const, and updated the wrappers.
2006-10-01 19:19:31 +00:00
Robert Osfield
c173eb49bc
Added check to init to prevent crash when no camera manipulator is supplied.
2006-09-30 13:41:01 +00:00
Robert Osfield
f1cc4d77e7
Added preliminary DatabasePager support.
2006-09-29 18:47:20 +00:00
Robert Osfield
5c0eb0b013
Added bare bones osgGA::SimpleViewer class to help simplify OSG setup when embedding the OSG
...
into existing GUI applications, and for one one a single camera, single window is required.
2006-09-25 16:25:53 +00:00
Robert Osfield
87a221445e
Updated version numbers of the up comming 1.2 release
2006-08-31 20:54:28 +00:00
Robert Osfield
132f9ead45
Updated version number for 1.1.1 release
2006-08-12 08:29:16 +00:00
Robert Osfield
ad2b719dc0
Added osg:: to Referenced() to fix IRIX build.
2006-08-11 21:39:41 +00:00
Robert Osfield
564ee34f76
Added Matrix*::getRotate()/setRotate(Quat), deprecating Matrix*::get(Quat&), Matrix*::set(Quat&)
2006-07-31 17:31:21 +00:00
Robert Osfield
c0c5e73ff9
From Michael Polak, double click fixes/additions
2006-07-27 12:32:40 +00:00
Robert Osfield
f1c2694c17
Updated copyright years.
2006-07-18 15:21:48 +00:00
Robert Osfield
88609a5eee
Updated version numbers for 1.1 release
2006-07-06 10:28:12 +00:00
Robert Osfield
e7d9e91525
From Stephan Huber,
...
"attached you'll find some modifications to Producer, osgGA and
osgProducer to enable Mac OS X support for
+ scrollwheels,
+ mightymouse-srollballs
+ new tracking-pads with scroll feature
+ tablet-support (pressure, proximity and pointertype) (Wacom only tested)
I think there was a bug in the windows-implementation of scroll-wheel
support (wrong order of ScrollingMotion-enum, casting problem) which is
fixed now.
The scrollwheel-code is a bit klunky across platforms, some devices on
OS X can report an absolute delta in pixel-coordinates not only the
direction, so for now there is scrollingMotion (which describes the
direction) and scrolldeltax and scrolldeltay. I decided to leave the
scrollingmotion-stuff to not break old code relying on this."
2006-07-04 14:18:44 +00:00
Don BURNS
585f1d0f68
Fixed a cut-n-paste error in the ground intersects.
2006-04-21 17:16:49 +00:00
Robert Osfield
85edf40fcb
Added createEvent() convinience method.
2006-03-15 15:49:21 +00:00
Robert Osfield
d43dbaeadd
Build fixes
2006-03-14 13:18:21 +00:00
Robert Osfield
1a16d6d6b0
Added an EventQueue directly into osgProducer::Viewer.
2006-03-13 13:19:37 +00:00
Robert Osfield
fa5ff9d169
Added EventQueue.
2006-03-08 15:40:02 +00:00
Robert Osfield
dbbabf87c6
Converted osgGA::GUIEventAdapter into a concrete class capable of respresenting
...
keyboard and mouse events.
Added osgGA::EventQueue class to support a thread safe event queue and adaption
of keyboard and mouse events.
Removed osgProducer::EventAdapter as GUIEventAdapter replaces it.
Adapted osgProducer and examples to work with the new changes to osgGA.
2006-03-08 14:09:47 +00:00
Robert Osfield
abed6b7951
Ported NodeTrackCallback and NodeTrackManipulator across to use oberserver_ptr
...
instead of RefNodePath.
Removed now redundent RefNodePath.
2006-02-27 19:49:47 +00:00
Don BURNS
37be1d9259
Fixed a bug spotted in UFOManipulator where a Vec3's 4th component was
...
being inspected (ip[3]).
2006-02-09 19:31:05 +00:00
Robert Osfield
0347895c96
Fixed typo in comments and onscreen help.
2005-12-09 20:03:04 +00:00
Robert Osfield
27ad107378
Added new Node::getParentalNodePaths() method.
...
Added better handling in computeIntersections(..) of nodes that are internal
to the scene graph, correctly accounting for the accumulated transforms.
Changed the EventVisitor so that it only traveses active children rather than
all children.
Updated wrappers.
2005-12-07 15:29:29 +00:00
Robert Osfield
34953f7dec
From Gideon May, fixed typo in docs.
2005-12-06 10:26:48 +00:00
Robert Osfield
b15b677cc3
From Mikkel Gjøl, addition of paramter set/get methods to osgGA::*Manipulators,
...
change of ' ' to GUIEventAdapter::KEY_Space, fix to url in Matrix_implementation.cpp.
Syntax fixes by Robert Osfield to above submission fix inconsistencies with normal
OSG coding style.
2005-11-17 11:03:20 +00:00
Robert Osfield
9d8fd69fa9
Change the KeySwitchMatrixManipulator so that it two sets of getMatrixManipulator
...
methods, two that takes an index,two that takes a key value. Updated the ViewEventHandler
so the it now uses the getMatrixManipulatorWithIndex() method to avoid previous ambiguity.
2005-11-14 11:00:36 +00:00
Robert Osfield
e5685bc1ac
Added s/getMaxNumOfTextureUnits control to osgGA::StateSetManipulator, and set the default to 4.
2005-11-11 14:22:57 +00:00
Robert Osfield
258425d649
Bumped the version numbers up to 1.0 in preparation for 1.0-rc1.
2005-11-09 10:49:56 +00:00
Robert Osfield
7b1b3b6ace
Added copyright notices.
2005-10-24 10:53:01 +00:00
Robert Osfield
48c83869c6
Fixed VisitorType of EventVisitor
2005-09-05 13:23:27 +00:00
Robert Osfield
9394e224f4
Tweaked flight manipulator pitch sensitivity.
2005-08-22 13:03:23 +00:00
Robert Osfield
72a59527f5
From Marco Jez, added setEventHandled() and getEventHandled() to osgGA::EventVisitor.
2005-07-27 09:37:26 +00:00
Robert Osfield
0d8e38f9ee
Tweaks for better OSX paging support, 6 and 9 keys for control drive manipulator
...
up and down looking, and removed redundent API from osg::Geometry.
2005-07-07 14:14:38 +00:00
Robert Osfield
72488d274f
Added support for equalizing the normals along tile boundaries.
2005-07-02 08:11:55 +00:00
Robert Osfield
1dd553ed0e
Bumped version numbers to 0.9.9 in rediness for 0.9.9 release.
2005-05-16 17:17:53 +00:00
Robert Osfield
428608e781
Warning fixes for IRIX
2005-05-16 15:51:57 +00:00
Robert Osfield
a6e8378a72
Removed debug info
2005-05-08 19:21:43 +00:00
Robert Osfield
bba76cfa31
From Tree, removed dependency on Producer
2005-04-22 14:40:06 +00:00
Robert Osfield
678b22ce83
Updated Copyright notices to 1998-2005.
2005-04-14 21:41:28 +00:00
Robert Osfield
a2974de978
Moved the istream and ostream support from Vec* and Matrix* into a seperate io_utils file.
2005-04-08 09:01:23 +00:00
Don BURNS
ed0f780321
Removed annoying "Can't find the ground" message
2005-04-04 18:07:27 +00:00
Robert Osfield
9de5dc38f1
Made the ground intersection warning just output to INFO level.
2005-03-25 11:06:44 +00:00
Robert Osfield
476a83bb9c
Added MatrixManipulator::s/getIntersectTraversalMask(uint) to allow control
...
of which subgraphs should be used in intersection calculations. Updated
Terrain,Drive and UFO manipulator to use this new flag.
2005-03-22 21:06:06 +00:00
Don BURNS
5d10547ac5
Added getCameraByName method to viewer and home(double currentTime) to
...
MatrixManipulator, UFO, Trackball and ANimation manipulator.
2005-03-20 23:57:17 +00:00
Robert Osfield
dd4427d1e3
Made the can't find ground intersection message only appear as INFO.
2005-03-18 02:45:02 +00:00
Don BURNS
c332d1f751
Chagned osg::Matrix to osg::Matrixd
2005-03-13 05:02:02 +00:00
Don BURNS
4904c20889
Added M_PI definition for winders
2005-03-12 15:57:44 +00:00
Don BURNS
fce7f24347
Added a few things to osgProducer::Viewer to support UFO manipulator and
...
cleaned up UFOManipulator.
2005-03-12 05:31:26 +00:00
Don BURNS
e001d4ddd6
Added the 'H' - home to usage message
2005-03-11 17:46:34 +00:00
Don BURNS
a7ac8f5992
Added UFO manipulator
2005-03-11 06:09:16 +00:00
Robert Osfield
ce68304f90
Improved support GUIEventHandler's being node event callbacks.
2005-02-25 23:02:23 +00:00
Robert Osfield
0f61af08bd
Added support for new event visitor type into osgGA and osgProducer::Viewer,
...
and event callback into Drawable.
2005-02-25 14:02:48 +00:00
Robert Osfield
10c3f934f1
Added support for control the pitch of the drive manipulator via the
...
up and down cursor keys.
2005-02-22 19:19:50 +00:00
Robert Osfield
89236b46fd
From Mason Menninger, addition of setTrackballSize() parameter.
2005-01-22 16:55:48 +00:00
Don BURNS
1771cdbcc7
Update version numbers in files
2004-12-04 23:38:24 +00:00
Robert Osfield
fae2416584
Added debugging messages to setTrackerNode
2004-11-02 17:04:06 +00:00
Robert Osfield
bb7c423849
Updates to NodeTrackerManipulator.cpp
2004-10-14 20:35:55 +00:00
Robert Osfield
e4f22c72bd
Fixed the home position.
2004-10-14 12:10:10 +00:00
Robert Osfield
792a7fe0d5
Improvements to the NodeTrackManipulator and osgsimulation example
2004-10-14 10:38:29 +00:00
Robert Osfield
cecaec4ed8
From Sohey Yamamoto, added support for GL_TEXTURE_FILTER_CONTROL/GL_TEXTURE_LOD_BIAS.
2004-10-13 19:52:39 +00:00
Robert Osfield
3f0e4ea99a
Small tweaks to the calculateMovement method.
2004-10-13 13:40:05 +00:00
Robert Osfield
23d518be6e
Fixed precision of center computation.
2004-10-13 11:56:09 +00:00
Robert Osfield
7e5c87de6a
Changed the version strings to use OpenSceneGaph rather than "Open Scene Graph"
2004-09-27 12:07:34 +00:00
Robert Osfield
790da0776a
Made the computeLocalToWorld etc method to use const NodePath's parameters.
2004-09-09 15:14:33 +00:00
Robert Osfield
46c830cc12
Added missing setTrackerMode(TrackerMode)
2004-09-07 06:59:19 +00:00
Robert Osfield
da5fa4cbcd
Added bool paramter to MatrixManipulator::setHomePosition(,,,bool) to allow
...
the autocomputehomeposition to be controlled.
2004-09-01 10:18:46 +00:00
Robert Osfield
1da72da167
Simplified the TrackMode options
2004-08-31 14:21:46 +00:00
Robert Osfield
08017daf37
Added rescale of quaternion in Matrix::set(Quat), a copy operation in osg::Quat and
...
extra tracking options in NodeTrackerManipulator.
2004-08-31 09:20:31 +00:00
Robert Osfield
6578655ff3
Added trackmode support for handling rotation of tracked node
2004-08-30 18:53:44 +00:00