Commit Graph

6051 Commits

Author SHA1 Message Date
Robert Osfield
8e20956511 Changed the camera with focus code to only accept cameras with valid views
as ones that can recieve focus.
2007-01-21 18:34:26 +00:00
Robert Osfield
b47ef11d74 Initial on screen stats support 2007-01-21 18:24:54 +00:00
Robert Osfield
d3ce4825d8 Removed gl includes 2007-01-21 11:18:07 +00:00
Robert Osfield
2e7e114aba Updated wrappers 2007-01-20 09:48:50 +00:00
Robert Osfield
f5d425cd11 Fixed the output of texture files 2007-01-20 09:44:05 +00:00
Robert Osfield
15a3972be0 Added OSG_EXPORT to Stats to fix Windows build 2007-01-20 09:03:58 +00:00
Robert Osfield
41a0226a8f Added stats for update, event and rendering traversals 2007-01-19 20:25:17 +00:00
Robert Osfield
f0e2404541 Added new osg::Stats class for collecting frame stats of different sorts.
Added s/getStats() to osg::View and osg::Camera.
Added population of View::getStats() with frame stats in osgViewer/Viewer.
Added Basic StatsHandler to osgviewer example.
2007-01-19 19:53:23 +00:00
Robert Osfield
a90206bcbb Added EXT_timer_query support 2007-01-19 14:41:29 +00:00
Robert Osfield
ccc8a922a6 Added osg::StencilTwoSided state attribute to wrap up the stencil_two_sided extension.
Added path in osgShadow work for using StencilTwoSided to accelerate shadow volume rendering.
2007-01-18 22:32:18 +00:00
Robert Osfield
ba9e355550 Added support for stencil GL_INCR_WRAP and GL_DECR_WRAP operations 2007-01-18 17:00:42 +00:00
Robert Osfield
d60d04c8c4 From André Garneau, "Attached is a fix in the GraphicsWindowWin32 class to allow the following usage pattern to work properly; create window, delete window, create window, etc. In all the tests I made I was always creating-deleting and then shutting down the application so this pattern was untested. The osgtexture3d & osgsimulation examples were also using this pattern so would not work. They are working fine now." 2007-01-18 09:56:23 +00:00
Robert Osfield
fdc5ebc900 Build fix for Win32 2007-01-18 09:03:08 +00:00
Robert Osfield
552293eb03 Added extra methods WindowSystemInterface for controlling frame rate and resolution, and adde useCursor flag. 2007-01-17 21:11:57 +00:00
Robert Osfield
3ebc5efe05 From Joakim Simonsson, added osgDB::concateFile and osgDB::getRealPath.
Tweaks by Robert Osfield - Moved methods to FileNameUtils, added unix
implementation of getRealPath add extern and OSGDB_EXPORT to function declarations.
2007-01-17 15:59:29 +00:00
Robert Osfield
d63b351137 From André Garneau, threading bug fixes - moving scoped statics out of scope to be global statics 2007-01-17 14:40:03 +00:00
Robert Osfield
3ce53da0e1 From André Garneau, Implementation osg GraphicsWindowWin32 2007-01-17 14:21:18 +00:00
Robert Osfield
65e1a5cda3 Updaed wrappers 2007-01-16 22:10:52 +00:00
Robert Osfield
578a5a3b9b Removed the automatic registration of GraphicsContextImplementation. 2007-01-16 22:00:56 +00:00
Robert Osfield
19a5682c33 Fixed compile warning 2007-01-16 21:40:43 +00:00
Robert Osfield
6cf85cb953 Cleaned up CompositeViewer interface and added event traversal of views 2007-01-16 19:18:32 +00:00
Robert Osfield
b71f613b77 Added PickHandler to osgmultiplecameras examples 2007-01-16 17:10:15 +00:00
Robert Osfield
dad3deec38 Added debug messages 2007-01-16 17:08:47 +00:00
Robert Osfield
91a4b0b71d Reverted the FlightManipulator usage 2007-01-16 16:02:08 +00:00
Robert Osfield
1ee2af9f41 Further work on CompositeViewer 2007-01-16 16:01:01 +00:00
Robert Osfield
0b40a6fc82 Added mouseWarped call into View::requestWarpPointer 2007-01-16 15:05:44 +00:00
Robert Osfield
46b9c19fb5 Further work on event handling in CompositeViewer 2007-01-16 14:15:49 +00:00
Robert Osfield
c7211f41ec Added extra view combinations too commandline 2007-01-16 14:13:00 +00:00
Robert Osfield
0873a8cea0 Work on CompositeViewer and related calsses to implement viewers with multiple views 2007-01-16 08:56:33 +00:00
Robert Osfield
6fda4a927a Updated wrappers 2007-01-15 16:12:34 +00:00
Robert Osfield
91968a9bec Improved handling of intersection computations on datasets with multiple cameras 2007-01-15 16:09:32 +00:00
Robert Osfield
b06dbda224 Added FramStamp into osgViewer::Viewer and added ability to handle setSceneData
during during the application running.
2007-01-15 14:46:16 +00:00
Robert Osfield
4b97e30d22 Added terrain manipulator. 2007-01-15 11:44:38 +00:00
Robert Osfield
3cb9af0dd6 From Brede Johansen, "The OpenFlight loader already have a caching mechanism for externals.
The cache works for nested externals but is cleared before the master
flight file is returned.  I implemented texture caching using the same
mechanism."
2007-01-15 10:11:23 +00:00
Robert Osfield
c53b597795 From Paul Martz and Geoff Michel, Paul updated Geoff's bug fixes to DelaunaryTraingulator.cpp to reflect recent tessellator spelling changes 2007-01-15 09:56:36 +00:00
Robert Osfield
0d8efac569 Added setting of the update visitors' traversal number 2007-01-15 09:30:48 +00:00
Robert Osfield
45822caed4 Reverted the experimental shader code 2007-01-15 09:14:36 +00:00
Robert Osfield
09cef410ec Added releaseContext to end of GraphicsThread::run() 2007-01-14 20:23:47 +00:00
Robert Osfield
35ec6cee40 From Riccardo Corsi, "this should be the final version of the qt-plugin ported to windows and cleaned up to avoid crashes on exit.
Stephan and I tested it on Mac and Win.
Just a couple of notes:

    * the plugin is able to load both regular 2D images and movie stream. There is a #define QT_HANDLE_IMAGES_ALSO mechanism to indicate whether to use it for images or not. This is defined by default on Mac only, to avoid conflicts with the standard windows plugins. See comments on QTUtils.h

    * de-initialization of quicktime before exit is now left to an observer, which calls exitQuicktime() when last media loaded with the plugin is released. This prevent a crash on exit without need of any extra call external to the plugin."
2007-01-12 22:07:33 +00:00
Robert Osfield
b992451586 Added explicit to ParticleEffect constructors 2007-01-12 22:01:56 +00:00
Robert Osfield
007cc9f4ac From Tom Jolley, "There was some unnecessary creation and deletion of Particle objects in
include/osgParticle/ParticleSystem.  I replaced

   Particle(ptemplate? *ptemplate: _def_ptemp)

with

   ptemplate? *ptemplate: _def_ptemp

in a couple of places.  This should make particle creation and reuse go
a little faster without all that memory allocation and copying."
2007-01-12 21:44:28 +00:00
Robert Osfield
785fd5c0d9 From Stephan Huber, "New features:
+ Multi-display-support
+ automatic hiding of the menubar/dock if one of the windows intersects
the menubar/dock

Bugfixes:
+ event-handling was done by the first opened window, other windows did
not receive events -- fixed
+ mouse-coordinates were absolute, now they are relative to the window.

known bugs:
+ windows with decoration and in fullscreen-size are moved by the system
a little bit, so that the titlebar is accessible/visible. So if you want
real fullscreen-windows, don't decorate the window :)

I updated the XCode-project-file so all ported examples are linked
against osgViewer."
2007-01-12 21:33:19 +00:00
Robert Osfield
694b304c00 Added Viewer::setEndBarrierPosition method, change Viewer::setKeySetsDone(int) to setKeyEventSetDone(int),
added support for toggling threading model and end barrier position into osgviewer
2007-01-12 21:05:39 +00:00
Robert Osfield
5a515914bc Moved the signalBeginFrame to the start of the rendering traversal. 2007-01-12 19:09:24 +00:00
Robert Osfield
c2416e48c1 Added support for animation path manipulator to osgViewer path 2007-01-12 15:08:45 +00:00
Robert Osfield
509ac7fb1a Add manually sync of the EventQueue's startTick with the osg::Timer::startTick 2007-01-12 14:45:10 +00:00
Robert Osfield
5c78d06dad Added a default StateSet to osg::View's master Camera. Wired up osgViewer::Viewer so
that the master Camera's StateSet is passed to osgUtil::SceneView to use as its global StateSet.
2007-01-12 12:10:06 +00:00
Robert Osfield
5c030413f3 Added osgGA Trackball, Flight and Drive camera manipulators, and StateSetManipulator to the osgViewer path in osgviewer 2007-01-12 11:38:24 +00:00
Robert Osfield
f405848380 Implement a GraphicsOperation to test extension availability 2007-01-12 10:28:36 +00:00
Robert Osfield
4d494c0014 Fixed comment 2007-01-12 10:28:06 +00:00