Robert Osfield
38b7380294
Fixes to Windows compile.
2002-01-20 19:30:16 +00:00
Robert Osfield
cf66502fe5
Converted osgUtil::GUIEventAdapter::MouseButtonMask from LEFT_BUTTON etc to
...
LEFT_MOUSE_BUTTON etc, to prevent classes with #define of LEFT_BUTTON.. when
including certain MS Windows headers. Arhsh Snarfff..
2002-01-19 22:11:05 +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
1fb8f9cb86
First batch of changes required for MacOS X build. Orignal submission from
...
Phil Atkin, merged by Robert Osfield.
2002-01-16 10:36:20 +00:00
Robert Osfield
42fd25c613
Renamed the TOP variable in the Makefiles to OSGHOME.
2002-01-04 20:44:41 +00:00
Robert Osfield
4ea7de39c6
Added osg::ShadeModel state attribute which encapsulates glShadeModel.
2002-01-04 17:35:54 +00:00
Robert Osfield
75fe0a6a7f
Makefile changes to support Cywin port - submission from Norman Vine, updates
...
to fix case problems under unix by Robert.
2002-01-03 23:19:18 +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
e65e389989
Made the output message related to not registering a camera manipulator
...
with the GLUT Viewer output as INFO rather than as a NOTICE. This suppress
this message which was appearing on some of the demos all the time, even
though are quite reasonable default behaviour is used.
2001-12-30 17:13:40 +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
0721f0a818
Updated the demos to support the new commandline handling of stereo and
...
convinience functios for loading libs and files.
2001-12-19 10:29:18 +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
3952a3484b
Updated version numbers to 0.8.43 in prep for the impending release.
2001-12-15 22:44:32 +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
34a4c18a26
Beginings of support for quad bufferd, red/green, and slit screen stereo.
2001-12-02 22:20:46 +00:00
Robert Osfield
3ff4fb6b50
Move the call to the manipulators before the scene app traversal to that
...
any changes to the scene graph, such as adding an app callback can be
seen by during the same frame.
2001-11-15 11:59:52 +00:00
Robert Osfield
a434abafd7
Fixes for IRIX build.
...
Updates to the osg::Transform, adding preMult and postMult methods and
deprecating the old preRotate,preTranslate,preScale.
Updated the rest of the OSG so that it nolonger uses the deprecated
osg::Transform nodes.
Renamed osgUtil::SceneView::setGlobalState() to
osgUtil::SceneView::setGlobalStateSet() so that the name reflects its
functionality better. Updated osgGLUT::Viewer etc to cope with new
name change.
2001-11-14 14:09:07 +00:00
Robert Osfield
b45aa55555
Integrated updates to stats sent in my Geoff Michel.
2001-11-04 19:29:20 +00:00
Robert Osfield
06abf2266b
Updates to Makefiles to include osgText.
...
Also a couple of undefined methods in osgText::Text have been added.
2001-11-02 20:11:37 +00:00
Bryan THRALL
b0e1b21f5b
Changed the int to a GLint because of the differences within mac/win32/linux versions of gl.h.
2001-10-25 00:49:28 +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
aac507e119
Moved all #include "osg/.." references to #include <osg/..> to aid port to
...
MacOS.
2001-10-21 21:27:40 +00:00
Bryan THRALL
a203a1b127
*** empty log message ***
2001-10-16 20:56:46 +00:00
Robert Osfield
659f7ad1ab
Modified Veiewer.cpp so that when toggling the light with 'l' the light can
...
be overrided to off and overrided to on, previoulsy it only overrided to off.
2001-10-16 10:03:19 +00:00
Robert Osfield
59077fed15
Added support for automatic creation of global StateAttributes to osg::State,
...
these global attributes are created by cloning any attributes which are
applied during rendering, the clone in a shallow copy, which will set up
default valus for that attribute. This should prevent attribute bleed
from one stateset to the next when the global StateSet doesn't contain
an attribute used within the scene graph.
2001-10-15 14:07:54 +00:00
Robert Osfield
3da57d6d22
Added a osg::DegreesToRadians() and osg::RadiansToDegrees() method to osg/Math,
...
updated the ReaderWriterBMP.cpp (mods sent in my Geoff Michel) and
moved the osgUtil::Statistics to osg::Statistics in preperation to adding it
to the the Drawable base class.
2001-10-06 20:29:42 +00:00
Robert Osfield
c614c2f622
Added extra precision to the app,cull and draw timings in the Viewer.
2001-10-04 14:25:50 +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
Don BURNS
7ae58df42a
Synch with 20010921
2001-09-22 02:42:08 +00:00
Don BURNS
b5eb0a1137
Removed Makedepend files
2001-09-20 00:59:26 +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