Robert Osfield
fee5bc9f8c
From Michael Hartman, "Here is an update for the closing issue with the example osgviewerMFC where the MFC rendering thread would not exit before the application and the thread would be left running in the background and the user would have to use TaskManager to kill the process.
...
Changes:
MFC_OSG.cpp:
Removed pixelformatdesciptor from the class initialization.
Used setInheritedWindowPixelFormat to true so it will setup the pixelformat for the window.
Added class destructor code.
MFC_OSG.h:
Removed the ref_ptr on osgViewer::Viewer
MFC_OSG_MDIViewer.cpp:
Changed the OnDestroy function code.
Added WaitforSingleObject with thread handle for the MFC render handle.
MFC_OSG_MDIView.h:
Added class variable for MFC Render Thread Handle for use with the WaitforSingleObject.
"
2007-07-23 20:37:49 +00:00
Robert Osfield
9394238720
From Andy Skinner, addition of standard c library includes to avoid issues with using STLport on some platforms.
2007-07-23 20:10:13 +00:00
Robert Osfield
952e644016
Converted tabs to four spaces
2007-07-23 20:08:16 +00:00
Robert Osfield
3740052c23
Updated wrappers
2007-07-23 18:19:02 +00:00
Robert Osfield
4a0a45ad92
From Mathias Froehlich, compile fix for OSX.
2007-07-23 18:13:16 +00:00
Robert Osfield
3eae87854b
Added FlushDeletedGLObjectsOperation.
2007-07-23 16:42:25 +00:00
Robert Osfield
ff267d1ad6
Added support for using the CompileContext to do GL object deletion.
2007-07-22 20:33:20 +00:00
Robert Osfield
14fcf4f8b3
Converted usleep call to OpenThreads::Thread::microSleep() to avoid VS build problems
2007-07-21 20:11:16 +00:00
Robert Osfield
a4433e9af4
Added reset it to set block correctly before use.
2007-07-19 18:59:20 +00:00
Robert Osfield
1ed0e0a861
Improved the filtering of changes to master file to prevent using reading from
...
files that are still under going changes.
2007-07-19 17:02:37 +00:00
Robert Osfield
e8eec312a1
Updated wrappers
2007-07-19 16:42:36 +00:00
Robert Osfield
c3adce3ef4
Added osg::RefBlockCount subclassed from the new OpenThreads::BlockCount and used it into osgterrain example
2007-07-19 15:24:11 +00:00
Robert Osfield
fb1a34a8c5
Added support for using multiple load threads as a thread pool used by the MasterOperation
2007-07-19 12:09:25 +00:00
Robert Osfield
5ec2969330
Added setting of ThreadSafeRefUnref to true.
2007-07-18 16:48:25 +00:00
Robert Osfield
035f49c0b3
Refactored the viewer setup code to use a CustomViewer subclass of Viewer which
...
wraps up the set up of compile contexts and merging of changes.
2007-07-18 16:17:06 +00:00
Robert Osfield
8c60ea437f
Commented out debug messages
2007-07-18 16:14:59 +00:00
Robert Osfield
de69a4a3d8
Added call to State::initializeExtensionsProcs() to prevent crashes before
...
these variables are initialized.
2007-07-18 14:54:27 +00:00
Robert Osfield
da95b907f1
Added missing export symbol.
2007-07-18 09:05:11 +00:00
Robert Osfield
51e07f1e66
Added traverse method implementation into GeometryTechnique.
2007-07-17 17:36:44 +00:00
Robert Osfield
ea5ca995e3
Merged the new master operation/operation thread code with older standard
...
terrain set up code.
2007-07-17 16:18:13 +00:00
Robert Osfield
04c1dee7a2
Fixed GraphcicsContext::getMaxContextID so it properly returns the current max contextID.
...
Fixed the osgviewer's compile context code to account for the above fix.
Added compile context support into osgterrain example.
2007-07-17 10:54:17 +00:00
Robert Osfield
610a76b210
Fixed typo
2007-07-17 09:15:08 +00:00
Robert Osfield
b132aed217
Work in progress on support for dynamically reading a master file in a background thread
2007-07-16 21:39:30 +00:00
Robert Osfield
e40d346fbb
Added MasterOperation to do file querry and loading and background thread.
2007-07-16 17:40:38 +00:00
Robert Osfield
166ac4a7d3
Added custom colour support to TransferFunction setup.
2007-07-16 15:47:42 +00:00
Robert Osfield
d4aaa31549
Improvements to the .terrain file support
2007-07-16 15:13:47 +00:00
Robert Osfield
f9fab3c3b0
First steps at provide a .terrain file format to experiment with file
...
definitions of terrain subgraphs
2007-07-16 12:37:39 +00:00
Robert Osfield
06ad036da1
Updated wrappers
2007-07-14 17:16:09 +00:00
Robert Osfield
1f0edca631
Added support into osg::RenderInfo for a stack of Cameras that allow querries
...
of which camera is currently active to be querried from within the draw traversal.
2007-07-14 17:07:59 +00:00
Robert Osfield
af19e71024
Changed BarrierOperation so that it isn't limited to jut working within GraphicsContexts.
2007-07-14 09:17:18 +00:00
Robert Osfield
f7ce35c5ee
Converted Operations to GraphicsOperations where apporpriate.
2007-07-13 19:24:50 +00:00
Robert Osfield
0a58c6e280
Removed all the plugins BUILD_OSG_* options as these just get in the way of
...
browsing standard CMake options.
2007-07-13 19:22:09 +00:00
Robert Osfield
a28588a84c
Introduce GraphicsOperation subclass from osg::Operation, and osgUtil::GLObjectOperation
...
for compiling subgraphs.
2007-07-13 17:25:35 +00:00
Robert Osfield
65156475f6
Updated wrappers
2007-07-13 11:49:16 +00:00
Robert Osfield
ee470f2445
From Mathias Froehlich, "This patch removes the X11/Xmu/WinUtil.h header from GraphicsWindowX11.cpp.
...
That one is not used and appears not to be present on every platform we
compile on."
2007-07-13 11:42:02 +00:00
Robert Osfield
b1f943cef8
From Mathias Froehlich, "This change makes the net plugin compile on hp-ux.
...
It tries to unify some partly ugly ifdefs in the socket classes.
The change is also tested on a solaris 8, irix 6.5 and suse 9.0 machine."
2007-07-13 11:39:40 +00:00
Robert Osfield
6831940851
Added setCurrentEventState method
2007-07-13 11:31:56 +00:00
Robert Osfield
14ab33cc29
Updated wrappers
2007-07-13 11:22:44 +00:00
Robert Osfield
b2535d55c6
Introduced new GUIEventAdatper singleton for sharing the current state between
...
multiple GraphicsWindows, this singleton is accessable via GUIEventEvent::getAccumulatedEventState().
Added use of this new singleton in GraphicsWindow* implementations.
Added WindowSizeHandler to osgkeyboard to help with debugging of event state
between windows.
2007-07-13 11:17:41 +00:00
Robert Osfield
03749d5e34
Removed redundent TerrainGeometry classes, and adding double buffer of
...
internal data within GeometryTechinque in prep for support multi-threaded
set up and rendering of terrain.
2007-07-12 20:12:38 +00:00
Robert Osfield
92ffe6f74a
Fixed spelling of cartesian.
2007-07-12 20:10:56 +00:00
Robert Osfield
f753ff6a5a
From Martin Lavery, updates to Xcode projects
2007-07-12 16:37:06 +00:00
Robert Osfield
ecf0b58a19
Renamed include/osg/OperationsThread to OperationThread.
...
Created a new GraphicsThread subclass from OperationThread which allows the
GraphicsContext specific calls to be moved out of the base OperationThread class.
Updated the rest of the OSG to respect these changes.
2007-07-12 15:54:45 +00:00
Robert Osfield
4d7e8b12ae
Renamed OperationsThread to OperationThread and add two way link between OperationQueue and OperationThread
2007-07-12 12:15:42 +00:00
Robert Osfield
751c638015
From Martin Lavery, Update to Packaging files for Xcode build
2007-07-12 09:03:43 +00:00
Robert Osfield
4ed9940e71
Added better description of TransferFunction.
2007-07-12 08:29:39 +00:00
Robert Osfield
35435c3146
Updated wrappers
2007-07-11 16:06:24 +00:00
Robert Osfield
095da72020
Fixed typo
2007-07-11 16:06:04 +00:00
Robert Osfield
691a49d0fa
From Paul Melis, fixes to spelling mistakes/typos.
2007-07-11 15:51:17 +00:00
Robert Osfield
55f3b67dbb
Updated version number in prep for 2.1.1 dev release
2007-07-11 15:50:05 +00:00