Commit Graph

1884 Commits

Author SHA1 Message Date
Robert Osfield
22546b8085 Added support for multiple graphics context to osg::VertexProgram and osg::Impostor 2003-04-10 12:11:40 +00:00
Robert Osfield
0dd724e8b7 Changed the '-c' commandline option to '-m' to avoid overlapp with -c
used for config files.
2003-04-10 10:21:20 +00:00
Robert Osfield
5c88b5ff8b Fix to the CameraGroup::setViewByMarix usage. 2003-04-10 10:16:39 +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
0a68608bc4 From Brede, added
if (cv->getComputeNearFarMode() != osgUtil::CullVisitor::DO_NOT_COMPUTE_NEAR_FAR)
to protect
  cv->updateCalculatedNearFar(matrix,_bbox);
call to avoid inapporpriate near/far warnings.
2003-04-10 08:25:30 +00:00
Robert Osfield
2166f9b701 Fixes to the Impostor implementation. 2003-04-09 21:53:09 +00:00
Robert Osfield
3dc180f3fd From Romano, ' ' now sets pause to false. 2003-04-09 13:29:12 +00:00
Robert Osfield
eb995684fb Added using namespace std; 2003-04-09 11:45:41 +00:00
Robert Osfield
2e87dcd804 Added desciptions to all the demos. 2003-04-09 11:44:32 +00:00
Robert Osfield
38cccb696b Added environmental variable usage to OsgCameraGroup. 2003-04-09 10:51:13 +00:00
Robert Osfield
692283100c Added support for osg::Node::get/setNodeMask() into .osg format. 2003-04-09 10:30:24 +00:00
Robert Osfield
ca4b558994 Made the AnimationPathManipulator::home() reset the timming of the
animation path so that the timing always starts at the begining of the loop.
2003-04-09 10:26:50 +00:00
Robert Osfield
2c030170ff Added a setting of OsgCameraGroup::_applicateUsage to
ApplicationUsage::instance() by default.
2003-04-09 10:13:07 +00:00
Robert Osfield
2061b1bdd3 Fixed warning. 2003-04-09 10:11:56 +00:00
Robert Osfield
e377424752 Added fallback in RenderBin::createRenderBin(const std::string& binName) which
return a new RenderBin when the no prototype is found with className of binName.
2003-04-09 10:10:57 +00:00
Robert Osfield
b02917e7a2 Fixed type of osg::ApplicationUsage::set/getApplictionName(), updated
demos accordingly.

Made OsgCameraGroup set the _applicationUsage to the
osg::ApplicationUsage::instance() when no ArgumentParser is supplied.

Added export to osgProducer::ViewerEventAdapter.
2003-04-09 08:20:08 +00:00
Robert Osfield
1e689ae57a Added support for key modifiers to osgProducer::EventAdapter. 2003-04-08 20:39:47 +00:00
Robert Osfield
c3fd384eb1 From Romano José Magacho da Silva, added 'p' toggle to animation path
manipulator to allow animations to be paused and resumed.

Added frame rate stats which are output on each repetition of the path.
2003-04-08 20:06:37 +00:00
Robert Osfield
06e773cefb Fixed warning. 2003-04-08 20:05:00 +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
afef5ad2fa Set the static mouse position values in osgProducer::EventAdater to the same
value as warp pointer to ensure that the now roll is encountered on warping
of the pointer.
2003-04-08 13:53:28 +00:00
Robert Osfield
5f8411ac5c Changed the KeySwichCameraManipulator::setNode() so it set all camera's
attached to it.
2003-04-08 13:10:47 +00:00
Robert Osfield
cbd0fad400 Convert dsp's to use dos endings. 2003-04-08 10:59:08 +00:00
Robert Osfield
4fd2352afa Cleaned up some warnings and added :
LINKARGS += -Wl,multiply_defined -Wl,suppress

To GNUmakefile for the OSX build.
2003-04-08 10:17:44 +00:00
Robert Osfield
0d45181aff Removed the output of command line usage when no arguments are passed since
this example doens't need paramters.
2003-04-08 09:48:02 +00:00
Robert Osfield
6f859366e9 Added Producer to the dependcies in osgwindows. 2003-04-08 09:44:21 +00:00
Robert Osfield
559f5f93e5 Added an osg::absolute template function into osg/Math. 2003-04-08 09:42:03 +00:00
Robert Osfield
18ab95a294 Added support for snaping screen images from osgProducer::Viewer apps. 2003-04-07 19:19:01 +00:00
Robert Osfield
e04b36b467 Fixes to dds plugin from Rune. 2003-04-07 15:11:29 +00:00
Robert Osfield
6a178f76c4 Set the hardware mip map generation to false in TextureCubeMap since this
extension is not implemented when texture cube mapping.
2003-04-07 15:07:45 +00:00
Robert Osfield
564077643f Set the fusion distance ratio to 1/300.0f to compensate for the coords
of the hang gliding database being so small, this allow the scene to be
viewed in stereo and still look a convincing size.
2003-04-07 14:57:18 +00:00
Robert Osfield
7af174fadb From Ulrich Hertlien, new osg::TextureRectangle class. 2003-04-07 13:20:53 +00:00
Robert Osfield
9f0fa75484 Added support for unref image data after apply in the osg::Texture*
classes.  Only unref's after all graphics context have been applied.
2003-04-07 12:51:00 +00:00
Robert Osfield
0df1b28672 Added osgwindows example which sets up and Producer::CameraConfig up
and uses that to create multiple windows.
2003-04-07 10:20:34 +00:00
Robert Osfield
7e58786b11 Moved the modified tag's from osg::Texture into the osg::Texture1D,2D,3D and
CubeMap classes.
2003-04-07 09:46:06 +00:00
Robert Osfield
98f691f693 Added if (!_kbmcb) to handle the case where the keyboard mouse callback
is pre set.
2003-04-06 21:46:48 +00:00
Robert Osfield
49a28660dc Added the usage report to the examples for when no arguments are passed
to the examples.
2003-04-06 21:32:44 +00:00
Robert Osfield
908164d58a Fixed for new implemention osg OsgCameraGroup::setView(). 2003-04-06 18:18:52 +00:00
Robert Osfield
e60ddd4916 Fixed setView to work with new OsgCameraGroup::setView 2003-04-06 13:29:02 +00:00
Robert Osfield
8a3b81f00d Fixed handling of pixel and internal images formats. 2003-04-06 10:07:44 +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
79fd5786d8 Fixed manipulator to work correctly with new osgGA::GUIEventAdapter
code.
2003-04-05 20:02:42 +00:00
Robert Osfield
5dbe1f0d0b Added Images/ infront of dog_left and dog_right images. 2003-04-05 19:54:51 +00:00
Robert Osfield
75b591e70b Added a couple ability of offset the images relative to each other
horizontally and vertically to allow better comenstation for mismatched
imagery.
2003-04-05 19:40:18 +00:00
Robert Osfield
cac6642de5 Improvements to the handling of warp pointer call on start up. 2003-04-05 07:19:40 +00:00
Robert Osfield
c6e3cb044b Fixed the drive manipulator so its height is now 1.5m and the buffer size if
2.0m.
2003-04-05 07:11:07 +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
fb49e5a60f Removal of trailing \ from end of couple lines in cygwin path. 2003-04-04 15:22:25 +00:00
Robert Osfield
e9e0b4304d Improved support for toggle between full screen and non fullscreen in
the osgProducer::Viewer.
2003-04-04 11:06:09 +00:00