Robert Osfield
84d2d01163
Added support for osg::MemoryManager which is based upon Paul Nettle's
...
memory manager published at flipcode.com. This can be turned on
with the OSG_USE_MEMORY_MANGER option which then uses custom global
new and delete operators as well as provide osgNew and osgDelete macro's
which add ability to log line and file from which calls are made.
Updated osg,osgUtil,osgDB,osgText and osgPlugins/osg to use osgNew/osgDelete,
and fixed memory leaks highlighted by the new memory manager.
2002-03-26 23:52:52 +00:00
Robert Osfield
f50c5f7a5e
Moved the exit on escape into Window, and added a virtual free method on both
...
Window an Viewer to clean up the windows, this is now called before exit is
finally called, ensure that more more memroy is clean up prior to exit.
2002-03-23 21:28:25 +00:00
Don BURNS
eb0587b5fb
Changes required for SUN Solaris port...
2002-03-18 21:56:00 +00:00
Robert Osfield
c49c62ee15
Integrated various changes worked on at the Glasgow Science Center. Changes
...
include change the CameraManipulators so they work with double for time
instead of float. Also added support for DataType to osg::StateAttribute
and StateSet so that they can be set to either STATIC or DYNAMIC, this
allows the optimizer to know whether that an attribute can be optimized
or not.
2002-03-14 17:34:08 +00:00
Robert Osfield
e21af2adce
Added support for glLightModel functionality via osg::LightModel.
2002-02-25 22:46:38 +00:00
Robert Osfield
00e91eec1d
Add support for Metrowerks Codewarrior build under Windows.
2002-02-22 17:12:10 +00:00
Robert Osfield
4abfdb1ebd
Added OpenDX writer from Randall Hopper.
2002-02-18 20:46:47 +00:00
Robert Osfield
4c5fcd3f61
Fixes for IRIX and Boris Bralo's TerraPage loader.
2002-02-08 09:30:02 +00:00
Robert Osfield
c1283c23e8
Removed the trailing ; after namespace {...} declariations in headers
...
which was being picked as a warning under Codewarrior.
2002-02-03 12:33:41 +00:00
Robert Osfield
0c63a4b65d
Added defined( __BCPLUSPLUS__) to windows export code segments.
2002-02-02 20:07:59 +00:00
Robert Osfield
97df94db7e
Typo fixed in the header guard.
2002-02-02 10:52:30 +00:00
Robert Osfield
06e0310314
Added support for glutSpecialFunc, glutSpaceballMotion, glutSpaceballRotate and
...
glutSpaceballRotate into osgGLUT::Window base class.
2002-01-17 22:40:16 +00:00
Robert Osfield
e3ad8a87ee
Updates for Cygwin port, from Norman Vine.
2002-01-03 21:34:57 +00:00
Robert Osfield
c518d69013
Removed the variables which were duplicated in osgGLUT::Viewer and
...
osgGLUT::Window, standardising on the Window ones, and therefore removing
an unitialized variable that had been introduced. This caused a crash
under WindowsXP due to send invalid values to glutReshapeWindow.
2001-12-31 23:21:16 +00:00
Robert Osfield
a6d329b812
Updated the osgGLUT::Viewer to subclass from osgGLUT::Window as has been
...
intended since the development of osgGLUT::Window.
2001-12-24 19:06:49 +00:00
Robert Osfield
19c99dc94c
Further work on improving stereo support in the OSG.
...
Renamed the osg::VisualsSettings to osg::DisplaySettings, and
osgUtil::VisualsRequirementsVisitor to osgUtil::DisplayRequirementsVisitor.
Added support for OSG_SCREEN_HEIGHT into osg::DisplaySettings, and added
a DisplaySettings* to the constructors of osg::SceneView and osg::Camera.
2001-12-21 22:48:19 +00:00
Robert Osfield
296865e250
Adding support for controlling visual settings via environmental variables
...
and command line paramters. Including support for stereo and stencil buffer.
2001-12-19 00:38:23 +00:00
Robert Osfield
478274ae7d
Fixes to Windows build in liu of the move to using just std::streams.
2001-12-14 23:18:28 +00:00
Robert Osfield
b1f478e5d2
Updated OSG so that the old OSG_USE_IO_DOT_H has be removed from all headers
...
that used it, all references to the Standard C++ stream classes use the
std::ostream etc convention, all references to "using namespace std" and
"using namespace std::ostream etc" have been removed.
2001-12-14 21:49:04 +00:00
Robert Osfield
6070a9e1b1
Updatedwidley used includes to remove most of the float/double warnings
...
generated when compiling under Windows with STLport.
2001-12-14 18:06:34 +00:00
Robert Osfield
a4e4d4fa7c
Removed all references to using namespace std to help solve compilation problems
...
under Windows and IRIX.
Also integrated small change to lib3ds from Drew for IRIX compilation.
2001-12-14 10:02:27 +00:00
Robert Osfield
63bb05e6fd
Added new osgGLUT::Window base class which is very basic right now, all it does
...
is bring up a GLUT window and provide virtual functions from which users should
subclass to add functionality.
2001-10-23 15:55:01 +00:00
Robert Osfield
25c8b05914
Integrated Geoff Michel's updates to Stats code, whilest move all text rendering
...
back in the viewer from the Statistics header.
Added a osg::State::captureCurrentState(StateSet&) method and a copy constructor
to osg::StateSet.
2001-10-22 22:02:47 +00:00
Robert Osfield
9917b6500d
Added a copyright notice to all core headers, which all begin with
...
//C++ header to help scripts and editors pick up the fact that the
file is a header file.
2001-10-04 15:12:57 +00:00
Robert Osfield
2c6e85442b
Integrated changes for MacOSX, submitted by Phil Atkin, with small mods by
...
Robert Osfield to maintain compatability under Linux.
2001-10-03 21:44:07 +00:00
Robert Osfield
57fd2b4bcb
*** empty log message ***
2001-09-28 12:36:40 +00:00
Don BURNS
7ae58df42a
Synch with 20010921
2001-09-22 02:42:08 +00:00
Don BURNS
e8f256a59d
Added a bunch of files synched with 0.8.42
2001-09-19 21:08:56 +00:00
Don BURNS
70208ebc06
Initial revision
2001-01-10 16:32:10 +00:00