Robert Osfield
68c7a47388
Added support to osgProducer::Viewer for forcing an early exit form applications
...
and recording an image on exit.
2004-10-05 09:53:36 +00:00
Robert Osfield
6a48a3ffe7
Added osg::RefNodePath class for handling node paths.
2004-09-09 13:18:45 +00:00
Robert Osfield
b790fa59a8
Added beginnings of new TrackballManipulator
2004-07-30 15:44:59 +00:00
Robert Osfield
8d325c24ff
Added new coputeActiveCooridnateSystemNodePath method
2004-07-08 22:28:15 +00:00
Robert Osfield
344beecede
Added derived reqiestRedraw() and requestContinueUpdate() methods for
...
debugging purposes.
2004-06-02 14:13:11 +00:00
Robert Osfield
47dd0ece28
Added new TerrainManipulator to osgGA, and new callback for getting the
...
CoordinateFrame for a given X,Y,Z location.
2004-05-06 11:01:16 +00:00
Robert Osfield
b7746ff56e
Added support for automatically finding CoordinateSystemNode's in the
...
scene graph and then using them to set up the CoordinateFrame used
by the camera manipulators.
2004-05-03 12:04:25 +00:00
Robert Osfield
522ffca03c
Added support for tracking a user specified CoordinateSystemNode for the
...
CoordinateFrame to use in the camera manipulation
2004-04-29 22:19:57 +00:00
Robert Osfield
a48460c27c
Added support for recording the animation paths relative to an 0.0 start
...
time.
2004-03-26 11:04:37 +00:00
Robert Osfield
4c95f0db1f
Fixed typo of s/getUpdateVisitor().
2003-12-12 20:33:36 +00:00
Robert Osfield
f9fcffd9cd
Added optional TraversalMask paramter to computeIntersections() methods.
2003-12-04 09:43:34 +00:00
Robert Osfield
4f71f1becd
From Qing Shen, addition of computeIntsect methods which take a
...
node pointer to intersect with rather than assume the viewer's scene pointer.
2003-11-28 13:41:10 +00:00
Robert Osfield
54a8ea33ce
Added support to slideshow3D for -s commandline option allow the size of
...
the display to be specified.
Also implementaited some code for display position and speed info in
osgProducer::Viewer, not fully implemented yet.
2003-11-04 16:38:10 +00:00
Robert Osfield
5b93250eb0
Added support for Matrixd and Matrixf implementations, with the default
...
Matrix typedef's to either Matrixd or Matrixf.
2003-09-05 20:48:42 +00:00
Robert Osfield
4924cd9ceb
Added osgProducer:: in front of KeyboardMouseCallback.
2003-08-25 14:03:49 +00:00
Robert Osfield
db9b6d10c6
Add osg_ref<Producer::KeyboardMouse> to osgProducer::Viewer to ensuer that
...
the keyboard mousr desctructor is being called correctly.
2003-08-23 20:48:36 +00:00
Robert Osfield
c2eabe1d4b
Added osg::PagedLOD and osgProducer::DatabasePager class, and linked up osgProducer::Viewer
...
to manage the pager.
2003-07-08 14:44:00 +00:00
Don BURNS
15f88f35b2
*** empty log message ***
2003-06-24 15:40:09 +00:00
Robert Osfield
940ce67133
Removed remaining dependancies on osg::Camera.
2003-05-19 15:15:17 +00:00
Robert Osfield
9329717aa0
Moved #include <osg/Timer> from Viewer to OsgCameraGroup.
2003-04-17 15:27:17 +00:00
Robert Osfield
fd262554ac
Moved the managing of frame stamp from osgProducer::Viewer into
...
osgProducer::OsgCamaraGroup.
Added setting of trackball in osgcameragroup so its starts in the
correct place for different models.
2003-04-17 11:14:25 +00:00
Robert Osfield
2e659c9ebf
Renamed computeNearFar to computeNearFarPoints.
2003-04-16 14:22:36 +00:00
Robert Osfield
904aceec22
Added convinence methods to osgProducer::Viewer:
...
/** compute, from normalized mouse coords, for sepecified Camera, the pixel coords relative to that Camera's RenderSurface.*/
bool computePixelCoords(float x,float y,unsigned int cameraNum,float& pixel_x,float& pixel_y);
/** compute, from normalized mouse coords, for sepecified Camera, the near and far points in worlds coords.*/
bool computeNearFar(float x,float y,unsigned int cameraNum,osg::Vec3& near, osg::Vec3& far);
/** compute, from normalized mouse coords, for sepecified Camera, intersections with the scene.*/
bool computeIntersections(float x,float y,unsigned int cameraNum,osgUtil::IntersectVisitor::HitList& hits);
/** compute, from normalized mouse coords, for all Cameras, intersections with the scene.*/
bool computeIntersections(float x,float y,osgUtil::IntersectVisitor::HitList& hits);
2003-04-16 14:17:49 +00:00
Robert Osfield
fc4a2ab191
Added support for multiple cameras into osgpick.
2003-04-15 20:54:10 +00:00
Robert Osfield
bc4fd5b051
Added usage of Producer::CameraGroup::isValidForRendering() to the Viewer::done()
...
implemention so apps automatically close if one of the windows is killed.
2003-04-10 12:55:48 +00:00
Robert Osfield
e1e54570cb
Fixed Viewer and OsgCameraGroup classes so that work properly with the
...
Prodicer::setViewByMatrix calls.
2003-04-10 10:02:24 +00:00
Robert Osfield
8a3d731739
Added support for Viewer::setViewer::setView so that the internal old
...
style osg::Camera and camera manipulators are updated correctly.
2003-04-08 15:47:45 +00:00
Robert Osfield
e928bca4c9
Changed the Viewer::realize() calls across to not using the threading paramter
...
leaving it up to the Viewer to specify the mode (which by default is MultiThreaded).
Added a check for the presence of osgParticle systems so that threading is
disabled in this case.
2003-04-08 15:18:45 +00:00
Robert Osfield
c7a7bd03cb
Added support for recording animation paths in the osgProducer::Viewer.
2003-04-05 22:24:48 +00:00
Robert Osfield
169bf25f77
Implemented support for float x and y mouse positions, and normalization of
...
mouse coords in osgGA::GUIEventAdapter, and ported osgGA camera manaipulators
to use the new normalized values.
Moved osgProducer across to tracking the window dimensions and ensure that the
internals values in osgProducer::EventAdapter are kept consistent. Moved
the warp pointer in Viewer across to using KeyboardMouse::positionPointer().
2003-04-04 19:10:37 +00:00
Robert Osfield
0c60d14c00
Added a ViewerEventHandler which manages full screen, file write, and help
...
output to osgProducer. Removed FullSreenEventHandler as it is now superseeded
by ViewerEventHandler.
2003-03-25 15:13:20 +00:00
Robert Osfield
426e301c48
Addd a full screen toggle event handler to osgProducer & its viewer base
...
class.
2003-03-19 14:27:05 +00:00
Robert Osfield
2f74b2cf7c
Renamed osgProducer::CameraGroup and SceneHandler to OsgCameraGroup and
...
OsgSceneHandler to avoid the namespace bug under VS6.
Removed the osgproducer demo (its now been replaced by examples/osgviewer.)
2003-02-25 12:28:16 +00:00
Robert Osfield
3b429134cb
Added examples directory, a place for all new OSG demo code.
...
Added osgcameragroup, osgviewer, osgtext, osgconv to the new examples directory.
2003-02-21 14:05:39 +00:00
Robert Osfield
0d3f78350a
Added keyboard mouse binding usage to the osg::ApplicationUsage and
...
osgGA::GUIEventHandler and its subclasses.
2003-02-19 10:43:02 +00:00
Robert Osfield
c10d5f2d6f
Added new osg::ApplicationUsage and osg::ArgumentParser to help streamline
...
application/example developement.
2003-02-18 16:36:42 +00:00
Robert Osfield
4c4735a586
Added FrameStats support into osgProducer lib, and removed them from the
...
osgproducer demo.
Removed the producer config files osgproducer demo.
Added a search the osgDB::DataFilePath for the producer config file.
2003-01-30 23:02:32 +00:00
Robert Osfield
1ce53fcfba
Changed the setUpViewer so it takes unisigned int to make it easier to
...
do OR'ing of the various enumerates when passing in paramters (avoids a
warning).
2003-01-24 09:37:11 +00:00
Robert Osfield
6fd27a4b59
Clean up to the osgProducer lib and demo.
2003-01-22 15:30:17 +00:00
Robert Osfield
128be070ba
Added new osgProducer::Viewer class for putting together simple producer
...
based viewers very quickly.
2003-01-21 13:14:29 +00:00